| @@ -1,8 +1,8 @@ | ||
| 1 | -import { t as useQueryClient, r as reactExports, u as useQuery, v as useMutation, j as jsxRuntimeExports, bh as Send, k as FileText, M as MessageCircle, U as Users, V as ExternalLink, br as Settings2, a5 as React, aF as Info, bS as KeyRound, g as CircleUser, bz as ShieldCheck, ar as Clock, D as Loader2, aV as Save, aD as CheckCircle2, b6 as XCircle, bu as EyeOff, aQ as Eye, w as Webhook, aA as Check, aG as Copy, z as ArrowLeft, Z as Zap, x as ChevronDown, bs as Code, aw as Plus, bB as Pencil, bG as History, aN as Trash2, R as RotateCcw } from "../../../dist/js/react-vendor-zODANjVp.js"; | |
| 2 | -import { a as apiClient, u as useToast, _ as __, s as sprintf } from "../../../dist/js/index-zauBMzvd.js"; | |
| 3 | -import { P as PageHeader, C as Card, d as CardContent, f as CardHeader, g as CardTitle, h as CardDescription, B as Button, w as Label, I as Input, t as CardFooter, S as Select, a5 as Table, a6 as TableHeader, a7 as TableRow, a8 as TableHead, a9 as TableBody, aa as TableCell, e as Badge, W as Pagination, k as ConfirmationDialog, M as Modal, A as Alert } from "./app.js"; | |
| 4 | -import { M as ModulePageSkeleton, a as ModuleFormSkeleton } from "../../../dist/js/module-skeleton-7zwRYol6.js"; | |
| 1 | +import { v as useQueryClient, r as reactExports, u as useQuery, w as useMutation, j as jsxRuntimeExports, bk as Send, k as FileText, M as MessageCircle, U as Users, X as ExternalLink, bv as Settings2, a6 as React, aG as Info, bW as KeyRound, g as CircleUser, bD as ShieldCheck, as as Clock, E as Loader2, aW as Save, aE as CheckCircle2, b9 as XCircle, by as EyeOff, aR as Eye, x as Webhook, aB as Check, aH as Copy, D as ArrowLeft, Z as Zap, y as ChevronDown, bw as Code, ax as Plus, bF as Pencil, bK as History, aO as Trash2, R as RotateCcw } from "../../../dist/js/react-vendor-CithbthY.js"; | |
| 2 | +import { a as apiClient, u as useToast, _ as __, I as Input, g as todayYmd, s as sprintf } from "../../../dist/js/index-Dec_weLB.js"; | |
| 3 | +import { P as PageHeader, C as Card, d as CardContent, f as CardHeader, g as CardTitle, h as CardDescription, B as Button, s as Label, E as CardFooter, S as Select, a9 as Table, aa as TableHeader, ab as TableRow, ac as TableHead, ad as TableBody, ae as TableCell, e as Badge, _ as Pagination, k as ConfirmationDialog, M as Modal, A as Alert } from "./app.js"; | |
| 4 | +import { M as ModulePageSkeleton, a as ModuleFormSkeleton } from "../../../dist/js/module-skeleton-CpoAoviJ.js"; | |
| 5 | 5 | const whatsappApi = { |
| 6 | 6 | getMeta: () => apiClient.get("/whatsapp/meta"), |
| 7 | 7 | getSettings: () => apiClient.get("/whatsapp/settings"), |
| 8 | 8 | updateSettings: (patch) => apiClient.put("/whatsapp/settings", { settings: patch }), |
| @@ -2065,9 +2065,9 @@ | ||
| 2065 | 2065 | const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" }); |
| 2066 | 2066 | const url = URL.createObjectURL(blob); |
| 2067 | 2067 | const a = document.createElement("a"); |
| 2068 | 2068 | a.href = url; |
| 2069 | - a.download = `whatsapp-opt-ins-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.csv`; | |
| 2069 | + a.download = `whatsapp-opt-ins-${todayYmd()}.csv`; | |
| 2070 | 2070 | document.body.appendChild(a); |
| 2071 | 2071 | a.click(); |
| 2072 | 2072 | document.body.removeChild(a); |
| 2073 | 2073 | URL.revokeObjectURL(url); |