feat(dashboard, i18n): enhance agent dashboard and localization support

Updated the agent dashboard to include new metrics for today's bets and payouts, improving visibility for users. Enhanced localization files with additional hints and labels for better user experience across English, Nepali, and Chinese. Introduced new functions for formatting business dates and improved the handling of analytics permissions in the dashboard components.
This commit is contained in:
2026-06-16 14:18:58 +08:00
parent a4454a54a4
commit d4cf4ff436
17 changed files with 534 additions and 415 deletions

View File

@@ -34,19 +34,6 @@ export const REPORT_UI_TO_JOB_TYPE: Record<ReportUiKey, string> = {
admin_audit: "audit_operation_report",
};
/** Report types with full server-side export (POST /admin/report-jobs). */
export const REPORT_UI_SERVER_FULL_EXPORT = new Set<ReportUiKey>([
"draw_profit",
"daily_profit",
"player_win_loss",
"player_transfer",
"hot_number_risk",
"play_dimension",
"sold_out_number",
"rebate_commission",
"admin_audit",
]);
export function buildReportJobParameters(
key: ReportUiKey,
filters: ReportFilterSnapshot,