@burdenoff/microfe-coolandlovely 2026.625.1 → 2026.625.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coolandlovely/pages/HomePage.js +263 -258
- package/dist/coolandlovely/pages/HomePage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +67 -61
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminDashboard.js +79 -45
- package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +39 -33
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +227 -222
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminProfilePage.js +65 -60
- package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +235 -230
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/CartManagementPage.js +268 -263
- package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/UserManagementPage.js +268 -263
- package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +92 -84
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +257 -252
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +587 -548
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +171 -166
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +219 -211
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +671 -670
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +515 -514
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +244 -246
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/common/HelpSupportPage.js +96 -96
- package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/coolandlovely/pages/common/NotificationCenterPage.js +50 -44
- package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/coolandlovely/pages/common/SettingsPage.js +745 -736
- package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +394 -357
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CartDetailPage.js +179 -176
- package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +215 -204
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CheckoutPage.js +212 -215
- package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CustomerDashboard.js +438 -396
- package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +525 -488
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +522 -513
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/FavoritesPage.js +86 -76
- package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +118 -109
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +312 -275
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +82 -76
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/ReviewsPage.js +83 -73
- package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +61 -55
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +293 -255
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +238 -232
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +61 -55
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorDashboard.js +356 -320
- package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +107 -101
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +170 -137
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +386 -381
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +359 -322
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerDashboard.js +574 -537
- package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +81 -76
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +82 -77
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +78 -73
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +3 -3
|
@@ -2,11 +2,12 @@ import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
|
|
|
2
2
|
import { cn as t } from "../../utils/cn.js";
|
|
3
3
|
import { PageLayout as n } from "../../components/PageLayout.js";
|
|
4
4
|
import { useState as r } from "react";
|
|
5
|
-
import { ArrowLeft as i, Bell as a, Database as o, Globe as s, HardDrive as c, Lock as l, Mail as u, Plug as d, Save as f, Server as p,
|
|
6
|
-
import { jsx as
|
|
5
|
+
import { ArrowLeft as i, Bell as a, Database as o, Globe as s, HardDrive as c, Lock as l, Mail as u, Plug as d, Save as f, Server as p, Settings as m, Shield as h, Smartphone as g } from "lucide-react";
|
|
6
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
7
|
+
import { EmphasisPanel as y, PagePurpose as b } from "@burdenoff/fe-libs/ui";
|
|
7
8
|
//#region src/coolandlovely/pages/admin/AdminSettingsPage.tsx
|
|
8
|
-
function
|
|
9
|
-
let { navigateTo:
|
|
9
|
+
function x() {
|
|
10
|
+
let { navigateTo: x } = e(), [S, C] = r(!1), [w, T] = r("general"), [E, D] = r({
|
|
10
11
|
general: {
|
|
11
12
|
siteName: "CoolAndLovely",
|
|
12
13
|
siteUrl: "https://coolandlovely.com",
|
|
@@ -45,18 +46,18 @@ function v() {
|
|
|
45
46
|
paymentGateway: "razorpay",
|
|
46
47
|
analyticsService: "google"
|
|
47
48
|
}
|
|
48
|
-
}),
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
49
|
+
}), O = async () => {
|
|
50
|
+
C(!0), await new Promise((e) => setTimeout(e, 1e3)), alert("Settings saved successfully"), C(!1);
|
|
51
|
+
}, k = (e, t, n) => {
|
|
52
|
+
D((r) => ({
|
|
52
53
|
...r,
|
|
53
54
|
[e]: {
|
|
54
55
|
...r[e],
|
|
55
56
|
[t]: n
|
|
56
57
|
}
|
|
57
58
|
}));
|
|
58
|
-
},
|
|
59
|
-
|
|
59
|
+
}, A = (e, t, n, r) => {
|
|
60
|
+
D((i) => ({
|
|
60
61
|
...i,
|
|
61
62
|
[e]: {
|
|
62
63
|
...i[e],
|
|
@@ -66,7 +67,7 @@ function v() {
|
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
}));
|
|
69
|
-
},
|
|
70
|
+
}, j = [
|
|
70
71
|
{
|
|
71
72
|
id: "general",
|
|
72
73
|
label: "General",
|
|
@@ -75,7 +76,7 @@ function v() {
|
|
|
75
76
|
{
|
|
76
77
|
id: "security",
|
|
77
78
|
label: "Security",
|
|
78
|
-
icon:
|
|
79
|
+
icon: h
|
|
79
80
|
},
|
|
80
81
|
{
|
|
81
82
|
id: "notifications",
|
|
@@ -92,69 +93,73 @@ function v() {
|
|
|
92
93
|
label: "Integrations",
|
|
93
94
|
icon: d
|
|
94
95
|
}
|
|
95
|
-
],
|
|
96
|
-
return /* @__PURE__ */
|
|
96
|
+
], M = "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]", N = "block text-sm font-medium text-text-secondary mb-2";
|
|
97
|
+
return /* @__PURE__ */ v(n, {
|
|
97
98
|
title: "System Settings",
|
|
98
99
|
description: "Configure platform-wide settings and policies",
|
|
99
|
-
actions: /* @__PURE__ */
|
|
100
|
+
actions: /* @__PURE__ */ v("div", {
|
|
100
101
|
className: "flex items-center gap-2",
|
|
101
|
-
children: [/* @__PURE__ */
|
|
102
|
+
children: [/* @__PURE__ */ v("button", {
|
|
102
103
|
type: "button",
|
|
103
|
-
onClick: () =>
|
|
104
|
+
onClick: () => x("/admin"),
|
|
104
105
|
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
105
|
-
children: [/* @__PURE__ */
|
|
106
|
-
}), /* @__PURE__ */
|
|
106
|
+
children: [/* @__PURE__ */ _(i, { className: "h-4 w-4" }), " Back"]
|
|
107
|
+
}), /* @__PURE__ */ v("button", {
|
|
107
108
|
type: "button",
|
|
108
|
-
onClick:
|
|
109
|
-
disabled:
|
|
109
|
+
onClick: O,
|
|
110
|
+
disabled: S,
|
|
110
111
|
className: "flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
|
|
111
112
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ _(f, { className: "h-4 w-4" }),
|
|
113
114
|
" ",
|
|
114
|
-
|
|
115
|
+
S ? "Saving..." : "Save Settings"
|
|
115
116
|
]
|
|
116
117
|
})]
|
|
117
118
|
}),
|
|
118
|
-
children: /* @__PURE__ */ _(
|
|
119
|
+
children: [/* @__PURE__ */ _(b, {
|
|
120
|
+
className: "mb-6",
|
|
121
|
+
icon: /* @__PURE__ */ _(m, { className: "h-4 w-4" }),
|
|
122
|
+
children: "The master switches for the whole platform. Configure general settings, security policies, notifications, database options and integrations in one place — changes here affect every user and business, so review carefully before you save."
|
|
123
|
+
}), /* @__PURE__ */ v("div", {
|
|
119
124
|
className: "flex flex-col lg:flex-row gap-6",
|
|
120
125
|
children: [
|
|
121
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ _("div", {
|
|
122
127
|
className: "lg:hidden",
|
|
123
|
-
children: /* @__PURE__ */
|
|
128
|
+
children: /* @__PURE__ */ _("div", {
|
|
124
129
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 mb-4",
|
|
125
|
-
children: /* @__PURE__ */
|
|
130
|
+
children: /* @__PURE__ */ _("div", {
|
|
126
131
|
className: "grid grid-cols-2 sm:grid-cols-3 gap-2",
|
|
127
|
-
children:
|
|
132
|
+
children: j.map((e) => {
|
|
128
133
|
let n = e.icon;
|
|
129
|
-
return /* @__PURE__ */
|
|
134
|
+
return /* @__PURE__ */ v("button", {
|
|
130
135
|
type: "button",
|
|
131
|
-
onClick: () =>
|
|
132
|
-
className: t("flex items-center justify-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
|
|
133
|
-
children: [/* @__PURE__ */
|
|
136
|
+
onClick: () => T(e.id),
|
|
137
|
+
className: t("flex items-center justify-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors", w === e.id ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-primary hover:bg-bg-sunken/80"),
|
|
138
|
+
children: [/* @__PURE__ */ _(n, { className: "h-4 w-4" }), /* @__PURE__ */ _("span", { children: e.label })]
|
|
134
139
|
}, e.id);
|
|
135
140
|
})
|
|
136
141
|
})
|
|
137
142
|
})
|
|
138
143
|
}),
|
|
139
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ _("div", {
|
|
140
145
|
className: "hidden lg:block lg:w-64 lg:shrink-0",
|
|
141
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ v("div", {
|
|
142
147
|
className: "rounded-lg border border-border-subtle bg-bg-surface sticky top-24",
|
|
143
|
-
children: [/* @__PURE__ */
|
|
148
|
+
children: [/* @__PURE__ */ _("div", {
|
|
144
149
|
className: "p-4 border-b border-border-subtle",
|
|
145
|
-
children: /* @__PURE__ */
|
|
150
|
+
children: /* @__PURE__ */ _("h2", {
|
|
146
151
|
className: "font-semibold text-text-primary",
|
|
147
152
|
children: "Settings"
|
|
148
153
|
})
|
|
149
|
-
}), /* @__PURE__ */
|
|
154
|
+
}), /* @__PURE__ */ _("nav", {
|
|
150
155
|
className: "p-2",
|
|
151
|
-
children:
|
|
156
|
+
children: j.map((e) => {
|
|
152
157
|
let n = e.icon;
|
|
153
|
-
return /* @__PURE__ */
|
|
158
|
+
return /* @__PURE__ */ v("button", {
|
|
154
159
|
type: "button",
|
|
155
|
-
onClick: () =>
|
|
156
|
-
className: t("w-full text-left px-3 py-2 rounded-lg mb-1 flex items-center gap-3 transition-colors",
|
|
157
|
-
children: [/* @__PURE__ */
|
|
160
|
+
onClick: () => T(e.id),
|
|
161
|
+
className: t("w-full text-left px-3 py-2 rounded-lg mb-1 flex items-center gap-3 transition-colors", w === e.id ? "bg-action-primary-bg/10 text-primary font-medium" : "text-text-primary hover:bg-bg-sunken"),
|
|
162
|
+
children: [/* @__PURE__ */ _(n, { className: "h-4 w-4" }), /* @__PURE__ */ _("span", {
|
|
158
163
|
className: "text-sm",
|
|
159
164
|
children: e.label
|
|
160
165
|
})]
|
|
@@ -163,125 +168,125 @@ function v() {
|
|
|
163
168
|
})]
|
|
164
169
|
})
|
|
165
170
|
}),
|
|
166
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ _("div", {
|
|
167
172
|
className: "flex-1 min-w-0",
|
|
168
|
-
children: /* @__PURE__ */
|
|
169
|
-
className: "
|
|
173
|
+
children: /* @__PURE__ */ v(y, {
|
|
174
|
+
className: "p-6",
|
|
170
175
|
children: [
|
|
171
|
-
|
|
176
|
+
w === "general" && /* @__PURE__ */ v("div", {
|
|
172
177
|
className: "space-y-6",
|
|
173
178
|
children: [
|
|
174
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ v("div", {
|
|
175
180
|
className: "flex items-center gap-2 mb-2",
|
|
176
|
-
children: [/* @__PURE__ */
|
|
181
|
+
children: [/* @__PURE__ */ _(s, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ _("h3", {
|
|
177
182
|
className: "text-lg font-semibold text-text-primary",
|
|
178
183
|
children: "General Settings"
|
|
179
184
|
})]
|
|
180
185
|
}),
|
|
181
|
-
/* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ v("div", {
|
|
182
187
|
className: "grid grid-cols-1 md:grid-cols-2 gap-6",
|
|
183
188
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
className:
|
|
189
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
190
|
+
className: N,
|
|
186
191
|
children: "Site Name"
|
|
187
|
-
}), /* @__PURE__ */
|
|
192
|
+
}), /* @__PURE__ */ _("input", {
|
|
188
193
|
type: "text",
|
|
189
|
-
value:
|
|
190
|
-
onChange: (e) =>
|
|
191
|
-
className:
|
|
194
|
+
value: E.general.siteName,
|
|
195
|
+
onChange: (e) => k("general", "siteName", e.target.value),
|
|
196
|
+
className: M
|
|
192
197
|
})] }),
|
|
193
|
-
/* @__PURE__ */
|
|
194
|
-
className:
|
|
198
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
199
|
+
className: N,
|
|
195
200
|
children: "Site URL"
|
|
196
|
-
}), /* @__PURE__ */
|
|
201
|
+
}), /* @__PURE__ */ _("input", {
|
|
197
202
|
type: "text",
|
|
198
|
-
value:
|
|
199
|
-
onChange: (e) =>
|
|
200
|
-
className:
|
|
203
|
+
value: E.general.siteUrl,
|
|
204
|
+
onChange: (e) => k("general", "siteUrl", e.target.value),
|
|
205
|
+
className: M
|
|
201
206
|
})] }),
|
|
202
|
-
/* @__PURE__ */
|
|
203
|
-
className:
|
|
207
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
208
|
+
className: N,
|
|
204
209
|
children: "Timezone"
|
|
205
|
-
}), /* @__PURE__ */
|
|
206
|
-
value:
|
|
207
|
-
onChange: (e) =>
|
|
208
|
-
className:
|
|
210
|
+
}), /* @__PURE__ */ v("select", {
|
|
211
|
+
value: E.general.timezone,
|
|
212
|
+
onChange: (e) => k("general", "timezone", e.target.value),
|
|
213
|
+
className: M,
|
|
209
214
|
children: [
|
|
210
|
-
/* @__PURE__ */
|
|
215
|
+
/* @__PURE__ */ _("option", {
|
|
211
216
|
value: "Asia/Kolkata",
|
|
212
217
|
children: "Asia/Kolkata (IST)"
|
|
213
218
|
}),
|
|
214
|
-
/* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ _("option", {
|
|
215
220
|
value: "UTC",
|
|
216
221
|
children: "UTC"
|
|
217
222
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
223
|
+
/* @__PURE__ */ _("option", {
|
|
219
224
|
value: "America/New_York",
|
|
220
225
|
children: "America/New_York (EST)"
|
|
221
226
|
})
|
|
222
227
|
]
|
|
223
228
|
})] }),
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
className:
|
|
229
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
230
|
+
className: N,
|
|
226
231
|
children: "Currency"
|
|
227
|
-
}), /* @__PURE__ */
|
|
228
|
-
value:
|
|
229
|
-
onChange: (e) =>
|
|
230
|
-
className:
|
|
232
|
+
}), /* @__PURE__ */ v("select", {
|
|
233
|
+
value: E.general.currency,
|
|
234
|
+
onChange: (e) => k("general", "currency", e.target.value),
|
|
235
|
+
className: M,
|
|
231
236
|
children: [
|
|
232
|
-
/* @__PURE__ */
|
|
237
|
+
/* @__PURE__ */ _("option", {
|
|
233
238
|
value: "INR",
|
|
234
239
|
children: "Indian Rupee (INR)"
|
|
235
240
|
}),
|
|
236
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ _("option", {
|
|
237
242
|
value: "USD",
|
|
238
243
|
children: "US Dollar (USD)"
|
|
239
244
|
}),
|
|
240
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ _("option", {
|
|
241
246
|
value: "EUR",
|
|
242
247
|
children: "Euro (EUR)"
|
|
243
248
|
})
|
|
244
249
|
]
|
|
245
250
|
})] }),
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
className:
|
|
251
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
252
|
+
className: N,
|
|
248
253
|
children: "Language"
|
|
249
|
-
}), /* @__PURE__ */
|
|
250
|
-
value:
|
|
251
|
-
onChange: (e) =>
|
|
252
|
-
className:
|
|
254
|
+
}), /* @__PURE__ */ v("select", {
|
|
255
|
+
value: E.general.language,
|
|
256
|
+
onChange: (e) => k("general", "language", e.target.value),
|
|
257
|
+
className: M,
|
|
253
258
|
children: [
|
|
254
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ _("option", {
|
|
255
260
|
value: "en",
|
|
256
261
|
children: "English"
|
|
257
262
|
}),
|
|
258
|
-
/* @__PURE__ */
|
|
263
|
+
/* @__PURE__ */ _("option", {
|
|
259
264
|
value: "hi",
|
|
260
265
|
children: "Hindi"
|
|
261
266
|
}),
|
|
262
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ _("option", {
|
|
263
268
|
value: "ta",
|
|
264
269
|
children: "Tamil"
|
|
265
270
|
})
|
|
266
271
|
]
|
|
267
272
|
})] }),
|
|
268
|
-
/* @__PURE__ */
|
|
269
|
-
className:
|
|
273
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
274
|
+
className: N,
|
|
270
275
|
children: "Date Format"
|
|
271
|
-
}), /* @__PURE__ */
|
|
272
|
-
value:
|
|
273
|
-
onChange: (e) =>
|
|
274
|
-
className:
|
|
276
|
+
}), /* @__PURE__ */ v("select", {
|
|
277
|
+
value: E.general.dateFormat,
|
|
278
|
+
onChange: (e) => k("general", "dateFormat", e.target.value),
|
|
279
|
+
className: M,
|
|
275
280
|
children: [
|
|
276
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__PURE__ */ _("option", {
|
|
277
282
|
value: "DD/MM/YYYY",
|
|
278
283
|
children: "DD/MM/YYYY"
|
|
279
284
|
}),
|
|
280
|
-
/* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ _("option", {
|
|
281
286
|
value: "MM/DD/YYYY",
|
|
282
287
|
children: "MM/DD/YYYY"
|
|
283
288
|
}),
|
|
284
|
-
/* @__PURE__ */
|
|
289
|
+
/* @__PURE__ */ _("option", {
|
|
285
290
|
value: "YYYY-MM-DD",
|
|
286
291
|
children: "YYYY-MM-DD"
|
|
287
292
|
})
|
|
@@ -289,106 +294,106 @@ function v() {
|
|
|
289
294
|
})] })
|
|
290
295
|
]
|
|
291
296
|
}),
|
|
292
|
-
/* @__PURE__ */
|
|
297
|
+
/* @__PURE__ */ v("label", {
|
|
293
298
|
className: "flex items-center gap-2 mt-4",
|
|
294
|
-
children: [/* @__PURE__ */
|
|
299
|
+
children: [/* @__PURE__ */ _("input", {
|
|
295
300
|
type: "checkbox",
|
|
296
|
-
checked:
|
|
297
|
-
onChange: (e) =>
|
|
301
|
+
checked: E.general.maintenanceMode,
|
|
302
|
+
onChange: (e) => k("general", "maintenanceMode", e.target.checked),
|
|
298
303
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
299
|
-
}), /* @__PURE__ */
|
|
304
|
+
}), /* @__PURE__ */ _("span", {
|
|
300
305
|
className: "text-sm text-text-primary",
|
|
301
306
|
children: "Enable Maintenance Mode"
|
|
302
307
|
})]
|
|
303
308
|
})
|
|
304
309
|
]
|
|
305
310
|
}),
|
|
306
|
-
|
|
311
|
+
w === "security" && /* @__PURE__ */ v("div", {
|
|
307
312
|
className: "space-y-6",
|
|
308
313
|
children: [
|
|
309
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ v("div", {
|
|
310
315
|
className: "flex items-center gap-2 mb-2",
|
|
311
|
-
children: [/* @__PURE__ */
|
|
316
|
+
children: [/* @__PURE__ */ _(l, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ _("h3", {
|
|
312
317
|
className: "text-lg font-semibold text-text-primary",
|
|
313
318
|
children: "Security Settings"
|
|
314
319
|
})]
|
|
315
320
|
}),
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
/* @__PURE__ */
|
|
321
|
+
/* @__PURE__ */ v("div", { children: [
|
|
322
|
+
/* @__PURE__ */ _("h4", {
|
|
318
323
|
className: "font-medium text-text-primary mb-4",
|
|
319
324
|
children: "Password Policy"
|
|
320
325
|
}),
|
|
321
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ v("div", {
|
|
322
327
|
className: "grid grid-cols-1 md:grid-cols-2 gap-6",
|
|
323
|
-
children: [/* @__PURE__ */
|
|
324
|
-
className:
|
|
328
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
329
|
+
className: N,
|
|
325
330
|
children: "Minimum Length"
|
|
326
|
-
}), /* @__PURE__ */
|
|
331
|
+
}), /* @__PURE__ */ _("input", {
|
|
327
332
|
type: "number",
|
|
328
|
-
value:
|
|
329
|
-
onChange: (e) =>
|
|
333
|
+
value: E.security.passwordPolicy.minLength,
|
|
334
|
+
onChange: (e) => A("security", "passwordPolicy", "minLength", parseInt(e.target.value)),
|
|
330
335
|
min: 6,
|
|
331
336
|
max: 50,
|
|
332
|
-
className:
|
|
333
|
-
})] }), /* @__PURE__ */
|
|
334
|
-
className:
|
|
337
|
+
className: M
|
|
338
|
+
})] }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
339
|
+
className: N,
|
|
335
340
|
children: "Session Timeout (minutes)"
|
|
336
|
-
}), /* @__PURE__ */
|
|
341
|
+
}), /* @__PURE__ */ _("input", {
|
|
337
342
|
type: "number",
|
|
338
|
-
value:
|
|
339
|
-
onChange: (e) =>
|
|
343
|
+
value: E.security.sessionTimeout,
|
|
344
|
+
onChange: (e) => k("security", "sessionTimeout", parseInt(e.target.value)),
|
|
340
345
|
min: 15,
|
|
341
346
|
max: 480,
|
|
342
|
-
className:
|
|
347
|
+
className: M
|
|
343
348
|
})] })]
|
|
344
349
|
}),
|
|
345
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ v("div", {
|
|
346
351
|
className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mt-4",
|
|
347
352
|
children: [
|
|
348
|
-
/* @__PURE__ */
|
|
353
|
+
/* @__PURE__ */ v("label", {
|
|
349
354
|
className: "flex items-center gap-2",
|
|
350
|
-
children: [/* @__PURE__ */
|
|
355
|
+
children: [/* @__PURE__ */ _("input", {
|
|
351
356
|
type: "checkbox",
|
|
352
|
-
checked:
|
|
353
|
-
onChange: (e) =>
|
|
357
|
+
checked: E.security.passwordPolicy.requireUppercase,
|
|
358
|
+
onChange: (e) => A("security", "passwordPolicy", "requireUppercase", e.target.checked),
|
|
354
359
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
355
|
-
}), /* @__PURE__ */
|
|
360
|
+
}), /* @__PURE__ */ _("span", {
|
|
356
361
|
className: "text-sm text-text-primary",
|
|
357
362
|
children: "Require Uppercase"
|
|
358
363
|
})]
|
|
359
364
|
}),
|
|
360
|
-
/* @__PURE__ */
|
|
365
|
+
/* @__PURE__ */ v("label", {
|
|
361
366
|
className: "flex items-center gap-2",
|
|
362
|
-
children: [/* @__PURE__ */
|
|
367
|
+
children: [/* @__PURE__ */ _("input", {
|
|
363
368
|
type: "checkbox",
|
|
364
|
-
checked:
|
|
365
|
-
onChange: (e) =>
|
|
369
|
+
checked: E.security.passwordPolicy.requireNumbers,
|
|
370
|
+
onChange: (e) => A("security", "passwordPolicy", "requireNumbers", e.target.checked),
|
|
366
371
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
367
|
-
}), /* @__PURE__ */
|
|
372
|
+
}), /* @__PURE__ */ _("span", {
|
|
368
373
|
className: "text-sm text-text-primary",
|
|
369
374
|
children: "Require Numbers"
|
|
370
375
|
})]
|
|
371
376
|
}),
|
|
372
|
-
/* @__PURE__ */
|
|
377
|
+
/* @__PURE__ */ v("label", {
|
|
373
378
|
className: "flex items-center gap-2",
|
|
374
|
-
children: [/* @__PURE__ */
|
|
379
|
+
children: [/* @__PURE__ */ _("input", {
|
|
375
380
|
type: "checkbox",
|
|
376
|
-
checked:
|
|
377
|
-
onChange: (e) =>
|
|
381
|
+
checked: E.security.passwordPolicy.requireSymbols,
|
|
382
|
+
onChange: (e) => A("security", "passwordPolicy", "requireSymbols", e.target.checked),
|
|
378
383
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
379
|
-
}), /* @__PURE__ */
|
|
384
|
+
}), /* @__PURE__ */ _("span", {
|
|
380
385
|
className: "text-sm text-text-primary",
|
|
381
386
|
children: "Require Symbols"
|
|
382
387
|
})]
|
|
383
388
|
}),
|
|
384
|
-
/* @__PURE__ */
|
|
389
|
+
/* @__PURE__ */ v("label", {
|
|
385
390
|
className: "flex items-center gap-2",
|
|
386
|
-
children: [/* @__PURE__ */
|
|
391
|
+
children: [/* @__PURE__ */ _("input", {
|
|
387
392
|
type: "checkbox",
|
|
388
|
-
checked:
|
|
389
|
-
onChange: (e) =>
|
|
393
|
+
checked: E.security.twoFactorAuth,
|
|
394
|
+
onChange: (e) => k("security", "twoFactorAuth", e.target.checked),
|
|
390
395
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
391
|
-
}), /* @__PURE__ */
|
|
396
|
+
}), /* @__PURE__ */ _("span", {
|
|
392
397
|
className: "text-sm text-text-primary",
|
|
393
398
|
children: "Two-Factor Auth"
|
|
394
399
|
})]
|
|
@@ -396,28 +401,28 @@ function v() {
|
|
|
396
401
|
]
|
|
397
402
|
})
|
|
398
403
|
] }),
|
|
399
|
-
/* @__PURE__ */
|
|
400
|
-
className:
|
|
404
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
405
|
+
className: N,
|
|
401
406
|
children: "Max Login Attempts"
|
|
402
|
-
}), /* @__PURE__ */
|
|
407
|
+
}), /* @__PURE__ */ _("input", {
|
|
403
408
|
type: "number",
|
|
404
|
-
value:
|
|
405
|
-
onChange: (e) =>
|
|
409
|
+
value: E.security.maxLoginAttempts,
|
|
410
|
+
onChange: (e) => k("security", "maxLoginAttempts", parseInt(e.target.value)),
|
|
406
411
|
min: 1,
|
|
407
412
|
max: 20,
|
|
408
|
-
className: t(
|
|
413
|
+
className: t(M, "max-w-xs")
|
|
409
414
|
})] })
|
|
410
415
|
]
|
|
411
416
|
}),
|
|
412
|
-
|
|
417
|
+
w === "notifications" && /* @__PURE__ */ v("div", {
|
|
413
418
|
className: "space-y-6",
|
|
414
|
-
children: [/* @__PURE__ */
|
|
419
|
+
children: [/* @__PURE__ */ v("div", {
|
|
415
420
|
className: "flex items-center gap-2 mb-2",
|
|
416
|
-
children: [/* @__PURE__ */
|
|
421
|
+
children: [/* @__PURE__ */ _(a, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ _("h3", {
|
|
417
422
|
className: "text-lg font-semibold text-text-primary",
|
|
418
423
|
children: "Notification Settings"
|
|
419
424
|
})]
|
|
420
|
-
}), /* @__PURE__ */
|
|
425
|
+
}), /* @__PURE__ */ _("div", {
|
|
421
426
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
422
427
|
children: [
|
|
423
428
|
{
|
|
@@ -428,12 +433,12 @@ function v() {
|
|
|
428
433
|
{
|
|
429
434
|
key: "smsNotifications",
|
|
430
435
|
label: "SMS Notifications",
|
|
431
|
-
icon:
|
|
436
|
+
icon: g
|
|
432
437
|
},
|
|
433
438
|
{
|
|
434
439
|
key: "adminAlerts",
|
|
435
440
|
label: "Admin Alerts",
|
|
436
|
-
icon:
|
|
441
|
+
icon: h
|
|
437
442
|
},
|
|
438
443
|
{
|
|
439
444
|
key: "systemAlerts",
|
|
@@ -442,17 +447,17 @@ function v() {
|
|
|
442
447
|
}
|
|
443
448
|
].map((e) => {
|
|
444
449
|
let t = e.icon;
|
|
445
|
-
return /* @__PURE__ */
|
|
450
|
+
return /* @__PURE__ */ v("label", {
|
|
446
451
|
className: "flex items-center gap-3 rounded-lg border border-border-subtle p-4 cursor-pointer hover:bg-accent/50 transition-colors",
|
|
447
452
|
children: [
|
|
448
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ _("input", {
|
|
449
454
|
type: "checkbox",
|
|
450
|
-
checked:
|
|
451
|
-
onChange: (t) =>
|
|
455
|
+
checked: E.notifications[e.key],
|
|
456
|
+
onChange: (t) => k("notifications", e.key, t.target.checked),
|
|
452
457
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
453
458
|
}),
|
|
454
|
-
/* @__PURE__ */
|
|
455
|
-
/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ _(t, { className: "h-5 w-5 text-text-secondary" }),
|
|
460
|
+
/* @__PURE__ */ _("span", {
|
|
456
461
|
className: "text-sm font-medium text-text-primary",
|
|
457
462
|
children: e.label
|
|
458
463
|
})
|
|
@@ -461,173 +466,173 @@ function v() {
|
|
|
461
466
|
})
|
|
462
467
|
})]
|
|
463
468
|
}),
|
|
464
|
-
|
|
469
|
+
w === "database" && /* @__PURE__ */ v("div", {
|
|
465
470
|
className: "space-y-6",
|
|
466
471
|
children: [
|
|
467
|
-
/* @__PURE__ */
|
|
472
|
+
/* @__PURE__ */ v("div", {
|
|
468
473
|
className: "flex items-center gap-2 mb-2",
|
|
469
|
-
children: [/* @__PURE__ */
|
|
474
|
+
children: [/* @__PURE__ */ _(c, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ _("h3", {
|
|
470
475
|
className: "text-lg font-semibold text-text-primary",
|
|
471
476
|
children: "Database Settings"
|
|
472
477
|
})]
|
|
473
478
|
}),
|
|
474
|
-
/* @__PURE__ */
|
|
479
|
+
/* @__PURE__ */ v("div", {
|
|
475
480
|
className: "grid grid-cols-1 md:grid-cols-2 gap-6",
|
|
476
|
-
children: [/* @__PURE__ */
|
|
477
|
-
className:
|
|
481
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
482
|
+
className: N,
|
|
478
483
|
children: "Backup Frequency"
|
|
479
|
-
}), /* @__PURE__ */
|
|
480
|
-
value:
|
|
481
|
-
onChange: (e) =>
|
|
482
|
-
className:
|
|
484
|
+
}), /* @__PURE__ */ v("select", {
|
|
485
|
+
value: E.database.backupFrequency,
|
|
486
|
+
onChange: (e) => k("database", "backupFrequency", e.target.value),
|
|
487
|
+
className: M,
|
|
483
488
|
children: [
|
|
484
|
-
/* @__PURE__ */
|
|
489
|
+
/* @__PURE__ */ _("option", {
|
|
485
490
|
value: "hourly",
|
|
486
491
|
children: "Hourly"
|
|
487
492
|
}),
|
|
488
|
-
/* @__PURE__ */
|
|
493
|
+
/* @__PURE__ */ _("option", {
|
|
489
494
|
value: "daily",
|
|
490
495
|
children: "Daily"
|
|
491
496
|
}),
|
|
492
|
-
/* @__PURE__ */
|
|
497
|
+
/* @__PURE__ */ _("option", {
|
|
493
498
|
value: "weekly",
|
|
494
499
|
children: "Weekly"
|
|
495
500
|
}),
|
|
496
|
-
/* @__PURE__ */
|
|
501
|
+
/* @__PURE__ */ _("option", {
|
|
497
502
|
value: "monthly",
|
|
498
503
|
children: "Monthly"
|
|
499
504
|
})
|
|
500
505
|
]
|
|
501
|
-
})] }), /* @__PURE__ */
|
|
502
|
-
className:
|
|
506
|
+
})] }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
507
|
+
className: N,
|
|
503
508
|
children: "Retention Period (days)"
|
|
504
|
-
}), /* @__PURE__ */
|
|
509
|
+
}), /* @__PURE__ */ _("input", {
|
|
505
510
|
type: "number",
|
|
506
|
-
value:
|
|
507
|
-
onChange: (e) =>
|
|
511
|
+
value: E.database.retentionPeriod,
|
|
512
|
+
onChange: (e) => k("database", "retentionPeriod", parseInt(e.target.value)),
|
|
508
513
|
min: 7,
|
|
509
514
|
max: 365,
|
|
510
|
-
className:
|
|
515
|
+
className: M
|
|
511
516
|
})] })]
|
|
512
517
|
}),
|
|
513
|
-
/* @__PURE__ */
|
|
518
|
+
/* @__PURE__ */ v("label", {
|
|
514
519
|
className: "flex items-center gap-2",
|
|
515
|
-
children: [/* @__PURE__ */
|
|
520
|
+
children: [/* @__PURE__ */ _("input", {
|
|
516
521
|
type: "checkbox",
|
|
517
|
-
checked:
|
|
518
|
-
onChange: (e) =>
|
|
522
|
+
checked: E.database.autoBackup,
|
|
523
|
+
onChange: (e) => k("database", "autoBackup", e.target.checked),
|
|
519
524
|
className: "rounded border-border-subtle text-primary focus:ring-primary"
|
|
520
|
-
}), /* @__PURE__ */
|
|
525
|
+
}), /* @__PURE__ */ _("span", {
|
|
521
526
|
className: "text-sm text-text-primary",
|
|
522
527
|
children: "Enable Auto Backup"
|
|
523
528
|
})]
|
|
524
529
|
}),
|
|
525
|
-
/* @__PURE__ */
|
|
530
|
+
/* @__PURE__ */ v("div", {
|
|
526
531
|
className: "rounded-lg bg-bg-sunken p-4",
|
|
527
|
-
children: [/* @__PURE__ */
|
|
532
|
+
children: [/* @__PURE__ */ _("p", {
|
|
528
533
|
className: "text-sm text-text-secondary",
|
|
529
534
|
children: "Last Backup"
|
|
530
|
-
}), /* @__PURE__ */
|
|
535
|
+
}), /* @__PURE__ */ _("p", {
|
|
531
536
|
className: "text-sm font-medium text-text-primary",
|
|
532
|
-
children: new Date(
|
|
537
|
+
children: new Date(E.database.lastBackup).toLocaleString("en-IN")
|
|
533
538
|
})]
|
|
534
539
|
})
|
|
535
540
|
]
|
|
536
541
|
}),
|
|
537
|
-
|
|
542
|
+
w === "integrations" && /* @__PURE__ */ v("div", {
|
|
538
543
|
className: "space-y-6",
|
|
539
|
-
children: [/* @__PURE__ */
|
|
544
|
+
children: [/* @__PURE__ */ v("div", {
|
|
540
545
|
className: "flex items-center gap-2 mb-2",
|
|
541
|
-
children: [/* @__PURE__ */
|
|
546
|
+
children: [/* @__PURE__ */ _(d, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ _("h3", {
|
|
542
547
|
className: "text-lg font-semibold text-text-primary",
|
|
543
548
|
children: "Integrations"
|
|
544
549
|
})]
|
|
545
|
-
}), /* @__PURE__ */
|
|
550
|
+
}), /* @__PURE__ */ v("div", {
|
|
546
551
|
className: "grid grid-cols-1 md:grid-cols-2 gap-6",
|
|
547
552
|
children: [
|
|
548
|
-
/* @__PURE__ */
|
|
549
|
-
className:
|
|
553
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
554
|
+
className: N,
|
|
550
555
|
children: "Email Service"
|
|
551
|
-
}), /* @__PURE__ */
|
|
552
|
-
value:
|
|
553
|
-
onChange: (e) =>
|
|
554
|
-
className:
|
|
556
|
+
}), /* @__PURE__ */ v("select", {
|
|
557
|
+
value: E.integrations.emailService,
|
|
558
|
+
onChange: (e) => k("integrations", "emailService", e.target.value),
|
|
559
|
+
className: M,
|
|
555
560
|
children: [
|
|
556
|
-
/* @__PURE__ */
|
|
561
|
+
/* @__PURE__ */ _("option", {
|
|
557
562
|
value: "sendgrid",
|
|
558
563
|
children: "SendGrid"
|
|
559
564
|
}),
|
|
560
|
-
/* @__PURE__ */
|
|
565
|
+
/* @__PURE__ */ _("option", {
|
|
561
566
|
value: "ses",
|
|
562
567
|
children: "AWS SES"
|
|
563
568
|
}),
|
|
564
|
-
/* @__PURE__ */
|
|
569
|
+
/* @__PURE__ */ _("option", {
|
|
565
570
|
value: "mailgun",
|
|
566
571
|
children: "Mailgun"
|
|
567
572
|
})
|
|
568
573
|
]
|
|
569
574
|
})] }),
|
|
570
|
-
/* @__PURE__ */
|
|
571
|
-
className:
|
|
575
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
576
|
+
className: N,
|
|
572
577
|
children: "SMS Service"
|
|
573
|
-
}), /* @__PURE__ */
|
|
574
|
-
value:
|
|
575
|
-
onChange: (e) =>
|
|
576
|
-
className:
|
|
578
|
+
}), /* @__PURE__ */ v("select", {
|
|
579
|
+
value: E.integrations.smsService,
|
|
580
|
+
onChange: (e) => k("integrations", "smsService", e.target.value),
|
|
581
|
+
className: M,
|
|
577
582
|
children: [
|
|
578
|
-
/* @__PURE__ */
|
|
583
|
+
/* @__PURE__ */ _("option", {
|
|
579
584
|
value: "twilio",
|
|
580
585
|
children: "Twilio"
|
|
581
586
|
}),
|
|
582
|
-
/* @__PURE__ */
|
|
587
|
+
/* @__PURE__ */ _("option", {
|
|
583
588
|
value: "msg91",
|
|
584
589
|
children: "MSG91"
|
|
585
590
|
}),
|
|
586
|
-
/* @__PURE__ */
|
|
591
|
+
/* @__PURE__ */ _("option", {
|
|
587
592
|
value: "sns",
|
|
588
593
|
children: "AWS SNS"
|
|
589
594
|
})
|
|
590
595
|
]
|
|
591
596
|
})] }),
|
|
592
|
-
/* @__PURE__ */
|
|
593
|
-
className:
|
|
597
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
598
|
+
className: N,
|
|
594
599
|
children: "Payment Gateway"
|
|
595
|
-
}), /* @__PURE__ */
|
|
596
|
-
value:
|
|
597
|
-
onChange: (e) =>
|
|
598
|
-
className:
|
|
600
|
+
}), /* @__PURE__ */ v("select", {
|
|
601
|
+
value: E.integrations.paymentGateway,
|
|
602
|
+
onChange: (e) => k("integrations", "paymentGateway", e.target.value),
|
|
603
|
+
className: M,
|
|
599
604
|
children: [
|
|
600
|
-
/* @__PURE__ */
|
|
605
|
+
/* @__PURE__ */ _("option", {
|
|
601
606
|
value: "razorpay",
|
|
602
607
|
children: "Razorpay"
|
|
603
608
|
}),
|
|
604
|
-
/* @__PURE__ */
|
|
609
|
+
/* @__PURE__ */ _("option", {
|
|
605
610
|
value: "stripe",
|
|
606
611
|
children: "Stripe"
|
|
607
612
|
}),
|
|
608
|
-
/* @__PURE__ */
|
|
613
|
+
/* @__PURE__ */ _("option", {
|
|
609
614
|
value: "paytm",
|
|
610
615
|
children: "Paytm"
|
|
611
616
|
})
|
|
612
617
|
]
|
|
613
618
|
})] }),
|
|
614
|
-
/* @__PURE__ */
|
|
615
|
-
className:
|
|
619
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
|
|
620
|
+
className: N,
|
|
616
621
|
children: "Analytics Service"
|
|
617
|
-
}), /* @__PURE__ */
|
|
618
|
-
value:
|
|
619
|
-
onChange: (e) =>
|
|
620
|
-
className:
|
|
622
|
+
}), /* @__PURE__ */ v("select", {
|
|
623
|
+
value: E.integrations.analyticsService,
|
|
624
|
+
onChange: (e) => k("integrations", "analyticsService", e.target.value),
|
|
625
|
+
className: M,
|
|
621
626
|
children: [
|
|
622
|
-
/* @__PURE__ */
|
|
627
|
+
/* @__PURE__ */ _("option", {
|
|
623
628
|
value: "google",
|
|
624
629
|
children: "Google Analytics"
|
|
625
630
|
}),
|
|
626
|
-
/* @__PURE__ */
|
|
631
|
+
/* @__PURE__ */ _("option", {
|
|
627
632
|
value: "mixpanel",
|
|
628
633
|
children: "Mixpanel"
|
|
629
634
|
}),
|
|
630
|
-
/* @__PURE__ */
|
|
635
|
+
/* @__PURE__ */ _("option", {
|
|
631
636
|
value: "amplitude",
|
|
632
637
|
children: "Amplitude"
|
|
633
638
|
})
|
|
@@ -640,10 +645,10 @@ function v() {
|
|
|
640
645
|
})
|
|
641
646
|
})
|
|
642
647
|
]
|
|
643
|
-
})
|
|
648
|
+
})]
|
|
644
649
|
});
|
|
645
650
|
}
|
|
646
651
|
//#endregion
|
|
647
|
-
export {
|
|
652
|
+
export { x as AdminSettingsPage };
|
|
648
653
|
|
|
649
654
|
//# sourceMappingURL=AdminSettingsPage.js.map
|