@splpi/estore-shared-components 0.0.1 → 0.0.3
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/README.md +1 -0
- package/dist/index.d.mts +8 -12
- package/dist/index.d.ts +8 -12
- package/dist/index.js +524 -311
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +513 -288
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -227,8 +227,7 @@ var STANDARD_ICON_BUTTON_STYLES = {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
-
// src/NewSaleForm/ui/
|
|
231
|
-
import { useState } from "react";
|
|
230
|
+
// src/NewSaleForm/ui/FloatingLabelInput.tsx
|
|
232
231
|
import {
|
|
233
232
|
Box,
|
|
234
233
|
Field,
|
|
@@ -236,6 +235,7 @@ import {
|
|
|
236
235
|
defineStyle,
|
|
237
236
|
useControllableState
|
|
238
237
|
} from "@chakra-ui/react";
|
|
238
|
+
import { useState } from "react";
|
|
239
239
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
240
240
|
var FloatingLabelInput = (props) => {
|
|
241
241
|
const { label, onValueChange, value, defaultValue = "", ...rest } = props;
|
|
@@ -251,6 +251,14 @@ var FloatingLabelInput = (props) => {
|
|
|
251
251
|
Input,
|
|
252
252
|
{
|
|
253
253
|
...rest,
|
|
254
|
+
h: "12",
|
|
255
|
+
pt: shouldFloat ? "5" : "2",
|
|
256
|
+
pb: "1",
|
|
257
|
+
fontSize: "sm",
|
|
258
|
+
fontWeight: "semibold",
|
|
259
|
+
borderWidth: "1.5px",
|
|
260
|
+
borderRadius: "lg",
|
|
261
|
+
_placeholder: { color: "transparent" },
|
|
254
262
|
onFocus: (e) => {
|
|
255
263
|
props.onFocus?.(e);
|
|
256
264
|
setFocused(true);
|
|
@@ -271,22 +279,28 @@ var FloatingLabelInput = (props) => {
|
|
|
271
279
|
] });
|
|
272
280
|
};
|
|
273
281
|
var floatingStyles = defineStyle({
|
|
282
|
+
/* placeholder state — vertically centred inside the input */
|
|
274
283
|
pos: "absolute",
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
top: "2.5",
|
|
284
|
+
top: "50%",
|
|
285
|
+
transform: "translateY(-50%)",
|
|
278
286
|
insetStart: "3",
|
|
287
|
+
fontSize: "sm",
|
|
279
288
|
fontWeight: "normal",
|
|
289
|
+
color: "gray.400",
|
|
290
|
+
bg: "bg",
|
|
291
|
+
px: "0.5",
|
|
280
292
|
pointerEvents: "none",
|
|
281
|
-
transition: "
|
|
282
|
-
|
|
293
|
+
transition: "top 0.15s ease, font-size 0.15s ease, color 0.15s ease, transform 0.15s ease",
|
|
294
|
+
/* floated state — sits above the border, clearly a label */
|
|
283
295
|
"&[data-float]": {
|
|
284
|
-
top: "-
|
|
285
|
-
|
|
286
|
-
|
|
296
|
+
top: "-2",
|
|
297
|
+
transform: "translateY(0)",
|
|
298
|
+
fontSize: "xs",
|
|
299
|
+
fontWeight: "medium",
|
|
300
|
+
color: "gray.400",
|
|
301
|
+
insetStart: "2.5"
|
|
287
302
|
}
|
|
288
303
|
});
|
|
289
|
-
var floating_label_input_default = FloatingLabelInput;
|
|
290
304
|
|
|
291
305
|
// src/NewSaleForm/LifePlanApplication1.tsx
|
|
292
306
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -399,7 +413,7 @@ var LifePlanApplication1 = ({
|
|
|
399
413
|
}
|
|
400
414
|
) }),
|
|
401
415
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
402
|
-
|
|
416
|
+
FloatingLabelInput,
|
|
403
417
|
{
|
|
404
418
|
id: "idNumber",
|
|
405
419
|
type: "text",
|
|
@@ -409,7 +423,7 @@ var LifePlanApplication1 = ({
|
|
|
409
423
|
}
|
|
410
424
|
) }),
|
|
411
425
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
412
|
-
|
|
426
|
+
FloatingLabelInput,
|
|
413
427
|
{
|
|
414
428
|
id: "lastName",
|
|
415
429
|
type: "text",
|
|
@@ -419,7 +433,7 @@ var LifePlanApplication1 = ({
|
|
|
419
433
|
}
|
|
420
434
|
) }),
|
|
421
435
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
422
|
-
|
|
436
|
+
FloatingLabelInput,
|
|
423
437
|
{
|
|
424
438
|
id: "firstName",
|
|
425
439
|
type: "text",
|
|
@@ -429,7 +443,7 @@ var LifePlanApplication1 = ({
|
|
|
429
443
|
}
|
|
430
444
|
) }),
|
|
431
445
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
432
|
-
|
|
446
|
+
FloatingLabelInput,
|
|
433
447
|
{
|
|
434
448
|
id: "middleName",
|
|
435
449
|
type: "text",
|
|
@@ -439,7 +453,7 @@ var LifePlanApplication1 = ({
|
|
|
439
453
|
}
|
|
440
454
|
) }),
|
|
441
455
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
442
|
-
|
|
456
|
+
FloatingLabelInput,
|
|
443
457
|
{
|
|
444
458
|
id: "suffix",
|
|
445
459
|
type: "text",
|
|
@@ -465,7 +479,7 @@ var LifePlanApplication1 = ({
|
|
|
465
479
|
/* @__PURE__ */ jsx2(Input2, { id: "dateOfNeutralization", type: "date" })
|
|
466
480
|
] }),
|
|
467
481
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
468
|
-
|
|
482
|
+
FloatingLabelInput,
|
|
469
483
|
{
|
|
470
484
|
id: "height",
|
|
471
485
|
label: "Height (ft)",
|
|
@@ -477,7 +491,7 @@ var LifePlanApplication1 = ({
|
|
|
477
491
|
}
|
|
478
492
|
) }),
|
|
479
493
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
480
|
-
|
|
494
|
+
FloatingLabelInput,
|
|
481
495
|
{
|
|
482
496
|
id: "weight",
|
|
483
497
|
label: "Weight (lbs)",
|
|
@@ -526,7 +540,7 @@ var LifePlanApplication1 = ({
|
|
|
526
540
|
}
|
|
527
541
|
) }),
|
|
528
542
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
529
|
-
|
|
543
|
+
FloatingLabelInput,
|
|
530
544
|
{
|
|
531
545
|
id: "nationality",
|
|
532
546
|
type: "text",
|
|
@@ -536,7 +550,7 @@ var LifePlanApplication1 = ({
|
|
|
536
550
|
}
|
|
537
551
|
) }),
|
|
538
552
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
539
|
-
|
|
553
|
+
FloatingLabelInput,
|
|
540
554
|
{
|
|
541
555
|
id: "mobileNumber",
|
|
542
556
|
type: "text",
|
|
@@ -546,7 +560,7 @@ var LifePlanApplication1 = ({
|
|
|
546
560
|
}
|
|
547
561
|
) }),
|
|
548
562
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
549
|
-
|
|
563
|
+
FloatingLabelInput,
|
|
550
564
|
{
|
|
551
565
|
id: "landlineNumber",
|
|
552
566
|
type: "text",
|
|
@@ -559,7 +573,7 @@ var LifePlanApplication1 = ({
|
|
|
559
573
|
}
|
|
560
574
|
) }),
|
|
561
575
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
562
|
-
|
|
576
|
+
FloatingLabelInput,
|
|
563
577
|
{
|
|
564
578
|
id: "email",
|
|
565
579
|
type: "email",
|
|
@@ -569,7 +583,7 @@ var LifePlanApplication1 = ({
|
|
|
569
583
|
}
|
|
570
584
|
) }),
|
|
571
585
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
572
|
-
|
|
586
|
+
FloatingLabelInput,
|
|
573
587
|
{
|
|
574
588
|
id: "mailingAddress",
|
|
575
589
|
type: "text",
|
|
@@ -579,7 +593,7 @@ var LifePlanApplication1 = ({
|
|
|
579
593
|
}
|
|
580
594
|
) }),
|
|
581
595
|
/* @__PURE__ */ jsx2(Field2.Root, { children: /* @__PURE__ */ jsx2(
|
|
582
|
-
|
|
596
|
+
FloatingLabelInput,
|
|
583
597
|
{
|
|
584
598
|
id: "insurability",
|
|
585
599
|
type: "text",
|
|
@@ -900,7 +914,7 @@ var LifePlanApplication2 = ({
|
|
|
900
914
|
}
|
|
901
915
|
) }),
|
|
902
916
|
/* @__PURE__ */ jsx3(Field3.Root, { children: /* @__PURE__ */ jsx3(
|
|
903
|
-
|
|
917
|
+
FloatingLabelInput,
|
|
904
918
|
{
|
|
905
919
|
id: "street",
|
|
906
920
|
label: "Street",
|
|
@@ -909,7 +923,7 @@ var LifePlanApplication2 = ({
|
|
|
909
923
|
}
|
|
910
924
|
) }),
|
|
911
925
|
/* @__PURE__ */ jsx3(Field3.Root, { children: /* @__PURE__ */ jsx3(
|
|
912
|
-
|
|
926
|
+
FloatingLabelInput,
|
|
913
927
|
{
|
|
914
928
|
id: "lotNumber",
|
|
915
929
|
label: "Lot #",
|
|
@@ -925,13 +939,13 @@ var LifePlanApplication2_default = LifePlanApplication2;
|
|
|
925
939
|
|
|
926
940
|
// src/NewSaleForm/LifePlanApplication3.tsx
|
|
927
941
|
import { Box as Box3, Field as Field4, SimpleGrid as SimpleGrid2, VStack as VStack2 } from "@chakra-ui/react";
|
|
928
|
-
import
|
|
942
|
+
import React from "react";
|
|
929
943
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
930
944
|
var LifePlanApplication3 = ({
|
|
931
945
|
initialData,
|
|
932
946
|
onUpdate
|
|
933
947
|
}) => {
|
|
934
|
-
const [formData, setFormData] =
|
|
948
|
+
const [formData, setFormData] = React.useState({
|
|
935
949
|
occupation: initialData?.occupation ?? "Software Engineer",
|
|
936
950
|
employerName: initialData?.employerName ?? "ABC Technologies Inc.",
|
|
937
951
|
employmentStatus: initialData?.employmentStatus ?? "Regular",
|
|
@@ -1309,7 +1323,7 @@ var Beneficiary = ({ onUpdate }) => {
|
|
|
1309
1323
|
children: [
|
|
1310
1324
|
/* @__PURE__ */ jsxs6(Field5.Root, { children: [
|
|
1311
1325
|
/* @__PURE__ */ jsx6(
|
|
1312
|
-
|
|
1326
|
+
FloatingLabelInput,
|
|
1313
1327
|
{
|
|
1314
1328
|
id: "firstName",
|
|
1315
1329
|
type: "text",
|
|
@@ -1325,7 +1339,7 @@ var Beneficiary = ({ onUpdate }) => {
|
|
|
1325
1339
|
] }),
|
|
1326
1340
|
/* @__PURE__ */ jsxs6(Field5.Root, { children: [
|
|
1327
1341
|
/* @__PURE__ */ jsx6(
|
|
1328
|
-
|
|
1342
|
+
FloatingLabelInput,
|
|
1329
1343
|
{
|
|
1330
1344
|
id: "lastName",
|
|
1331
1345
|
type: "text",
|
|
@@ -1341,7 +1355,7 @@ var Beneficiary = ({ onUpdate }) => {
|
|
|
1341
1355
|
] }),
|
|
1342
1356
|
/* @__PURE__ */ jsxs6(Field5.Root, { children: [
|
|
1343
1357
|
/* @__PURE__ */ jsx6(
|
|
1344
|
-
|
|
1358
|
+
FloatingLabelInput,
|
|
1345
1359
|
{
|
|
1346
1360
|
id: "middleInitial",
|
|
1347
1361
|
type: "text",
|
|
@@ -1360,7 +1374,7 @@ var Beneficiary = ({ onUpdate }) => {
|
|
|
1360
1374
|
),
|
|
1361
1375
|
/* @__PURE__ */ jsxs6(Field5.Root, { children: [
|
|
1362
1376
|
/* @__PURE__ */ jsx6(
|
|
1363
|
-
|
|
1377
|
+
FloatingLabelInput,
|
|
1364
1378
|
{
|
|
1365
1379
|
id: "address",
|
|
1366
1380
|
type: "text",
|
|
@@ -3167,8 +3181,8 @@ var LifePlanApplicationStepWrapper = () => {
|
|
|
3167
3181
|
};
|
|
3168
3182
|
var LifePlanApplicationStepWrapper_default = LifePlanApplicationStepWrapper;
|
|
3169
3183
|
|
|
3170
|
-
// src/
|
|
3171
|
-
import
|
|
3184
|
+
// src/Generic/BottomQuickActions.tsx
|
|
3185
|
+
import React5 from "react";
|
|
3172
3186
|
import {
|
|
3173
3187
|
Box as Box15,
|
|
3174
3188
|
Drawer,
|
|
@@ -3211,7 +3225,7 @@ var BRAND_COLORS = {
|
|
|
3211
3225
|
paleGold: "#FFF48E"
|
|
3212
3226
|
};
|
|
3213
3227
|
|
|
3214
|
-
// src/
|
|
3228
|
+
// src/Generic/BottomQuickActions.tsx
|
|
3215
3229
|
import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3216
3230
|
var SHEET_BG = BRAND_COLORS.white;
|
|
3217
3231
|
var DRAG_COLOR = BRAND_COLORS.neutralBorder;
|
|
@@ -3229,7 +3243,7 @@ var SUBTITLE_COLOR = BRAND_COLORS.grey;
|
|
|
3229
3243
|
var LABEL_COLOR = BRAND_COLORS.neutralText;
|
|
3230
3244
|
var DESC_COLOR = BRAND_COLORS.grey;
|
|
3231
3245
|
var CHEVRON_COLOR = BRAND_COLORS.ashWhite;
|
|
3232
|
-
var QuickActionsHeaderCard =
|
|
3246
|
+
var QuickActionsHeaderCard = React5.memo(
|
|
3233
3247
|
({
|
|
3234
3248
|
initials,
|
|
3235
3249
|
avatarBg = AVATAR_DEFAULT_BG,
|
|
@@ -3305,7 +3319,7 @@ var QuickActionsHeaderCard = React6.memo(
|
|
|
3305
3319
|
var ITEM_TRANSITION = {
|
|
3306
3320
|
transition: "background 0.15s ease, transform 0.1s ease"
|
|
3307
3321
|
};
|
|
3308
|
-
var ActionItem =
|
|
3322
|
+
var ActionItem = React5.memo(({ action }) => {
|
|
3309
3323
|
const iconBg = action.iconBg ?? DEFAULT_ICON_BG;
|
|
3310
3324
|
const iconColor = action.iconColor ?? DEFAULT_ICON_COLOR;
|
|
3311
3325
|
const inner = /* @__PURE__ */ jsxs15(
|
|
@@ -3494,22 +3508,233 @@ var BottomQuickActions = ({
|
|
|
3494
3508
|
};
|
|
3495
3509
|
var BottomQuickActions_default = BottomQuickActions;
|
|
3496
3510
|
|
|
3511
|
+
// src/Generic/NotifyInstall.tsx
|
|
3512
|
+
import { useEffect as useEffect8, useState as useState13 } from "react";
|
|
3513
|
+
import {
|
|
3514
|
+
Dialog as Dialog3,
|
|
3515
|
+
Button as Button3,
|
|
3516
|
+
Text as Text9,
|
|
3517
|
+
VStack as VStack8,
|
|
3518
|
+
HStack as HStack5,
|
|
3519
|
+
Box as Box16,
|
|
3520
|
+
Flex as Flex9,
|
|
3521
|
+
Heading,
|
|
3522
|
+
Icon as Icon5,
|
|
3523
|
+
Portal as Portal5,
|
|
3524
|
+
CloseButton as CloseButton4
|
|
3525
|
+
} from "@chakra-ui/react";
|
|
3526
|
+
import { FiDownload, FiPlusSquare, FiShare } from "react-icons/fi";
|
|
3527
|
+
|
|
3528
|
+
// src/hooks/useNotifyInstall.ts
|
|
3529
|
+
import { useEffect as useEffect7, useState as useState12 } from "react";
|
|
3530
|
+
function useNotifyInstall() {
|
|
3531
|
+
const [isInstalled, setIsInstalled] = useState12(false);
|
|
3532
|
+
const [isMobile, setIsMobile] = useState12(false);
|
|
3533
|
+
const [installPrompt, setInstallPrompt] = useState12(null);
|
|
3534
|
+
useEffect7(() => {
|
|
3535
|
+
const mobile = /Android|iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
3536
|
+
setIsMobile(mobile);
|
|
3537
|
+
const installed = window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === true;
|
|
3538
|
+
setIsInstalled(installed);
|
|
3539
|
+
const handler = (event) => {
|
|
3540
|
+
event.preventDefault();
|
|
3541
|
+
setInstallPrompt(event);
|
|
3542
|
+
};
|
|
3543
|
+
window.addEventListener("beforeinstallprompt", handler);
|
|
3544
|
+
return () => {
|
|
3545
|
+
window.removeEventListener("beforeinstallprompt", handler);
|
|
3546
|
+
};
|
|
3547
|
+
}, []);
|
|
3548
|
+
const install = async () => {
|
|
3549
|
+
if (!installPrompt) return;
|
|
3550
|
+
installPrompt.prompt();
|
|
3551
|
+
const result = await installPrompt.userChoice;
|
|
3552
|
+
if (result.outcome === "accepted") {
|
|
3553
|
+
setIsInstalled(true);
|
|
3554
|
+
}
|
|
3555
|
+
setInstallPrompt(null);
|
|
3556
|
+
};
|
|
3557
|
+
return {
|
|
3558
|
+
isInstalled,
|
|
3559
|
+
isMobile,
|
|
3560
|
+
canInstall: !!installPrompt,
|
|
3561
|
+
install
|
|
3562
|
+
};
|
|
3563
|
+
}
|
|
3564
|
+
|
|
3565
|
+
// src/Generic/NotifyInstall.tsx
|
|
3566
|
+
import { Fragment as Fragment3, jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
3567
|
+
var STEPS = [
|
|
3568
|
+
{
|
|
3569
|
+
icon: FiShare,
|
|
3570
|
+
label: "Tap the browser menu or Share button"
|
|
3571
|
+
},
|
|
3572
|
+
{
|
|
3573
|
+
icon: FiPlusSquare,
|
|
3574
|
+
label: 'Choose "Add to Home Screen"'
|
|
3575
|
+
}
|
|
3576
|
+
];
|
|
3577
|
+
var INSTALL_DIALOG_DISMISSED_KEY = "estore-install-dialog-dismissed";
|
|
3578
|
+
function NotifyInstall({
|
|
3579
|
+
children
|
|
3580
|
+
}) {
|
|
3581
|
+
const { isInstalled, isMobile, canInstall, install } = useNotifyInstall();
|
|
3582
|
+
const [isDismissed, setIsDismissed] = useState13(false);
|
|
3583
|
+
useEffect8(() => {
|
|
3584
|
+
const wasDismissed = localStorage.getItem(INSTALL_DIALOG_DISMISSED_KEY);
|
|
3585
|
+
setIsDismissed(wasDismissed === "true");
|
|
3586
|
+
}, []);
|
|
3587
|
+
const handleClose = () => {
|
|
3588
|
+
localStorage.setItem(INSTALL_DIALOG_DISMISSED_KEY, "true");
|
|
3589
|
+
setIsDismissed(true);
|
|
3590
|
+
};
|
|
3591
|
+
const isOpen = !isInstalled && isMobile && !isDismissed;
|
|
3592
|
+
if (!isOpen) {
|
|
3593
|
+
return children;
|
|
3594
|
+
}
|
|
3595
|
+
return /* @__PURE__ */ jsxs16(Fragment3, { children: [
|
|
3596
|
+
children,
|
|
3597
|
+
/* @__PURE__ */ jsx19(
|
|
3598
|
+
Dialog3.Root,
|
|
3599
|
+
{
|
|
3600
|
+
open: isOpen,
|
|
3601
|
+
onOpenChange: (details) => {
|
|
3602
|
+
if (!details.open) {
|
|
3603
|
+
handleClose();
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
placement: "center",
|
|
3607
|
+
motionPreset: "slide-in-bottom",
|
|
3608
|
+
children: /* @__PURE__ */ jsxs16(Portal5, { children: [
|
|
3609
|
+
/* @__PURE__ */ jsx19(Dialog3.Backdrop, { bg: "blackAlpha.600", backdropFilter: "blur(2px)" }),
|
|
3610
|
+
/* @__PURE__ */ jsx19(
|
|
3611
|
+
Dialog3.Positioner,
|
|
3612
|
+
{
|
|
3613
|
+
p: { base: 0, sm: 4 },
|
|
3614
|
+
alignItems: { base: "flex-end", sm: "center" },
|
|
3615
|
+
children: /* @__PURE__ */ jsxs16(
|
|
3616
|
+
Dialog3.Content,
|
|
3617
|
+
{
|
|
3618
|
+
w: "xl",
|
|
3619
|
+
maxW: { base: "full", sm: "sm" },
|
|
3620
|
+
borderRadius: { base: "2xl 2xl 0 0", sm: "2xl" },
|
|
3621
|
+
overflow: "hidden",
|
|
3622
|
+
boxShadow: "2xl",
|
|
3623
|
+
m: 0,
|
|
3624
|
+
children: [
|
|
3625
|
+
/* @__PURE__ */ jsx19(Dialog3.Body, { px: { base: 6, sm: 8 }, py: { base: 8, sm: 10 }, children: /* @__PURE__ */ jsxs16(VStack8, { gap: 6, textAlign: "center", children: [
|
|
3626
|
+
/* @__PURE__ */ jsx19(
|
|
3627
|
+
Flex9,
|
|
3628
|
+
{
|
|
3629
|
+
boxSize: { base: 16, sm: 20 },
|
|
3630
|
+
align: "center",
|
|
3631
|
+
justify: "center",
|
|
3632
|
+
rounded: "2xl",
|
|
3633
|
+
bg: "green.50",
|
|
3634
|
+
color: "green.600",
|
|
3635
|
+
shadow: "sm",
|
|
3636
|
+
children: /* @__PURE__ */ jsx19(Icon5, { as: FiDownload, boxSize: { base: 8, sm: 9 } })
|
|
3637
|
+
}
|
|
3638
|
+
),
|
|
3639
|
+
/* @__PURE__ */ jsxs16(VStack8, { gap: 2, children: [
|
|
3640
|
+
/* @__PURE__ */ jsx19(
|
|
3641
|
+
Heading,
|
|
3642
|
+
{
|
|
3643
|
+
fontSize: { base: "lg", sm: "xl" },
|
|
3644
|
+
fontWeight: "bold",
|
|
3645
|
+
color: "gray.900",
|
|
3646
|
+
children: "Install St. Peter eStore"
|
|
3647
|
+
}
|
|
3648
|
+
),
|
|
3649
|
+
/* @__PURE__ */ jsx19(
|
|
3650
|
+
Text9,
|
|
3651
|
+
{
|
|
3652
|
+
fontSize: { base: "sm", sm: "md" },
|
|
3653
|
+
color: "gray.600",
|
|
3654
|
+
lineHeight: "tall",
|
|
3655
|
+
children: "Add the app to your home screen for a faster, app-like experience before continuing."
|
|
3656
|
+
}
|
|
3657
|
+
)
|
|
3658
|
+
] }),
|
|
3659
|
+
canInstall ? /* @__PURE__ */ jsxs16(
|
|
3660
|
+
Button3,
|
|
3661
|
+
{
|
|
3662
|
+
onClick: install,
|
|
3663
|
+
colorPalette: "green",
|
|
3664
|
+
size: "lg",
|
|
3665
|
+
w: "full",
|
|
3666
|
+
rounded: "xl",
|
|
3667
|
+
children: [
|
|
3668
|
+
/* @__PURE__ */ jsx19(Icon5, { as: FiDownload }),
|
|
3669
|
+
"Add to Home Screen"
|
|
3670
|
+
]
|
|
3671
|
+
}
|
|
3672
|
+
) : /* @__PURE__ */ jsx19(
|
|
3673
|
+
Box16,
|
|
3674
|
+
{
|
|
3675
|
+
w: "full",
|
|
3676
|
+
bg: "gray.50",
|
|
3677
|
+
borderWidth: "1px",
|
|
3678
|
+
borderColor: "gray.100",
|
|
3679
|
+
rounded: "xl",
|
|
3680
|
+
p: 4,
|
|
3681
|
+
children: /* @__PURE__ */ jsx19(VStack8, { gap: 4, align: "stretch", children: STEPS.map((step, index) => /* @__PURE__ */ jsxs16(HStack5, { gap: 3, align: "center", children: [
|
|
3682
|
+
/* @__PURE__ */ jsx19(
|
|
3683
|
+
Flex9,
|
|
3684
|
+
{
|
|
3685
|
+
boxSize: 9,
|
|
3686
|
+
flexShrink: 0,
|
|
3687
|
+
align: "center",
|
|
3688
|
+
justify: "center",
|
|
3689
|
+
rounded: "lg",
|
|
3690
|
+
bg: "white",
|
|
3691
|
+
borderWidth: "1px",
|
|
3692
|
+
borderColor: "gray.200",
|
|
3693
|
+
color: "green.600",
|
|
3694
|
+
children: /* @__PURE__ */ jsx19(Icon5, { as: step.icon, boxSize: 4 })
|
|
3695
|
+
}
|
|
3696
|
+
),
|
|
3697
|
+
/* @__PURE__ */ jsx19(
|
|
3698
|
+
Text9,
|
|
3699
|
+
{
|
|
3700
|
+
fontSize: "sm",
|
|
3701
|
+
color: "gray.700",
|
|
3702
|
+
textAlign: "left",
|
|
3703
|
+
children: step.label
|
|
3704
|
+
}
|
|
3705
|
+
)
|
|
3706
|
+
] }, index)) })
|
|
3707
|
+
}
|
|
3708
|
+
)
|
|
3709
|
+
] }) }),
|
|
3710
|
+
/* @__PURE__ */ jsx19(Dialog3.CloseTrigger, { asChild: true, children: /* @__PURE__ */ jsx19(CloseButton4, { size: "sm", onClick: handleClose }) })
|
|
3711
|
+
]
|
|
3712
|
+
}
|
|
3713
|
+
)
|
|
3714
|
+
}
|
|
3715
|
+
)
|
|
3716
|
+
] })
|
|
3717
|
+
}
|
|
3718
|
+
)
|
|
3719
|
+
] });
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3497
3722
|
// src/UserProfile/UserProfile.tsx
|
|
3498
|
-
import { useEffect as
|
|
3723
|
+
import { useEffect as useEffect9, useMemo, useState as useState14 } from "react";
|
|
3499
3724
|
import {
|
|
3500
3725
|
Avatar,
|
|
3501
3726
|
Badge as Badge2,
|
|
3502
|
-
Box as
|
|
3503
|
-
Button as
|
|
3504
|
-
Flex as
|
|
3505
|
-
HStack as
|
|
3727
|
+
Box as Box17,
|
|
3728
|
+
Button as Button4,
|
|
3729
|
+
Flex as Flex10,
|
|
3730
|
+
HStack as HStack6,
|
|
3506
3731
|
IconButton as IconButton3,
|
|
3507
3732
|
Input as Input4,
|
|
3508
3733
|
InputGroup,
|
|
3509
3734
|
Separator as Separator4,
|
|
3510
|
-
Text as
|
|
3735
|
+
Text as Text10,
|
|
3511
3736
|
useBreakpointValue as useBreakpointValue2,
|
|
3512
|
-
VStack as
|
|
3737
|
+
VStack as VStack9
|
|
3513
3738
|
} from "@chakra-ui/react";
|
|
3514
3739
|
import {
|
|
3515
3740
|
RiDashboardFill,
|
|
@@ -3553,7 +3778,7 @@ import { LiaHandHoldingUsdSolid } from "react-icons/lia";
|
|
|
3553
3778
|
import { FaHandHoldingUsd } from "react-icons/fa";
|
|
3554
3779
|
import { MdManageAccounts, MdOutlineManageAccounts } from "react-icons/md";
|
|
3555
3780
|
import { IoLeaf, IoLeafOutline } from "react-icons/io5";
|
|
3556
|
-
import { Fragment as
|
|
3781
|
+
import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3557
3782
|
var NAVBAR_STORAGE_KEY = "profile-navbar-quick-items";
|
|
3558
3783
|
var FONT_SIZE_STORAGE_KEY = "profile-font-size-pref";
|
|
3559
3784
|
var DEFAULT_NAV_HREFS = ["/", "/plans", "/pay-my-plan", "/claims"];
|
|
@@ -3851,28 +4076,28 @@ function ReusableProfile({
|
|
|
3851
4076
|
onTwoFactorChange,
|
|
3852
4077
|
onToast = noopToast
|
|
3853
4078
|
}) {
|
|
3854
|
-
const [profileView, setProfileView] =
|
|
3855
|
-
const [fallbackColorMode, setFallbackColorMode] =
|
|
4079
|
+
const [profileView, setProfileView] = useState14("main");
|
|
4080
|
+
const [fallbackColorMode, setFallbackColorMode] = useState14("light");
|
|
3856
4081
|
const colorMode = controlledColorMode ?? fallbackColorMode;
|
|
3857
|
-
const [fontSize, setFontSizeLocal] =
|
|
3858
|
-
const [quickNavHrefs, setQuickNavHrefs] =
|
|
3859
|
-
const [replacingIdx, setReplacingIdx] =
|
|
3860
|
-
const [editName, setEditName] =
|
|
3861
|
-
const [editLoading, setEditLoading] =
|
|
3862
|
-
const [currentPw, setCurrentPw] =
|
|
3863
|
-
const [newPw, setNewPw] =
|
|
3864
|
-
const [confirmPw, setConfirmPw] =
|
|
3865
|
-
const [showCurrentPw, setShowCurrentPw] =
|
|
3866
|
-
const [showNewPw, setShowNewPw] =
|
|
3867
|
-
const [showConfirmPw, setShowConfirmPw] =
|
|
3868
|
-
const [pwLoading, setPwLoading] =
|
|
3869
|
-
const [twoFactorEnabled, setTwoFactorEnabled] =
|
|
4082
|
+
const [fontSize, setFontSizeLocal] = useState14("md");
|
|
4083
|
+
const [quickNavHrefs, setQuickNavHrefs] = useState14(initialQuickNavHrefs);
|
|
4084
|
+
const [replacingIdx, setReplacingIdx] = useState14(null);
|
|
4085
|
+
const [editName, setEditName] = useState14(user.displayName);
|
|
4086
|
+
const [editLoading, setEditLoading] = useState14(false);
|
|
4087
|
+
const [currentPw, setCurrentPw] = useState14("");
|
|
4088
|
+
const [newPw, setNewPw] = useState14("");
|
|
4089
|
+
const [confirmPw, setConfirmPw] = useState14("");
|
|
4090
|
+
const [showCurrentPw, setShowCurrentPw] = useState14(false);
|
|
4091
|
+
const [showNewPw, setShowNewPw] = useState14(false);
|
|
4092
|
+
const [showConfirmPw, setShowConfirmPw] = useState14(false);
|
|
4093
|
+
const [pwLoading, setPwLoading] = useState14(false);
|
|
4094
|
+
const [twoFactorEnabled, setTwoFactorEnabled] = useState14(
|
|
3870
4095
|
initialTwoFactorEnabled
|
|
3871
4096
|
);
|
|
3872
|
-
const [isMounted, setIsMounted] =
|
|
4097
|
+
const [isMounted, setIsMounted] = useState14(false);
|
|
3873
4098
|
const isDesktopRaw = useBreakpointValue2({ base: false, md: true });
|
|
3874
4099
|
const isDesktop = isMounted ? isDesktopRaw ?? false : false;
|
|
3875
|
-
|
|
4100
|
+
useEffect9(() => {
|
|
3876
4101
|
setIsMounted(true);
|
|
3877
4102
|
if (!enableLocalStorage || typeof window === "undefined") return;
|
|
3878
4103
|
setFontSizeLocal(localStorage.getItem(FONT_SIZE_STORAGE_KEY) ?? "md");
|
|
@@ -3883,7 +4108,7 @@ function ReusableProfile({
|
|
|
3883
4108
|
setQuickNavHrefs(initialQuickNavHrefs);
|
|
3884
4109
|
}
|
|
3885
4110
|
}, [enableLocalStorage, initialQuickNavHrefs, storageKey]);
|
|
3886
|
-
|
|
4111
|
+
useEffect9(() => {
|
|
3887
4112
|
setEditName(user.displayName);
|
|
3888
4113
|
}, [user.displayName]);
|
|
3889
4114
|
const availableOptions = useMemo(
|
|
@@ -4014,9 +4239,9 @@ function ReusableProfile({
|
|
|
4014
4239
|
}
|
|
4015
4240
|
};
|
|
4016
4241
|
const roleLabel = user.role ? ROLE_LABELS[user.role] ?? user.role : "";
|
|
4017
|
-
const mainContent = /* @__PURE__ */
|
|
4018
|
-
/* @__PURE__ */
|
|
4019
|
-
|
|
4242
|
+
const mainContent = /* @__PURE__ */ jsxs17(Fragment4, { children: [
|
|
4243
|
+
/* @__PURE__ */ jsxs17(
|
|
4244
|
+
Box17,
|
|
4020
4245
|
{
|
|
4021
4246
|
bg: "var(--chakra-colors-primary)",
|
|
4022
4247
|
pt: 12,
|
|
@@ -4024,7 +4249,7 @@ function ReusableProfile({
|
|
|
4024
4249
|
px: 4,
|
|
4025
4250
|
textAlign: "center",
|
|
4026
4251
|
children: [
|
|
4027
|
-
/* @__PURE__ */
|
|
4252
|
+
/* @__PURE__ */ jsxs17(
|
|
4028
4253
|
Avatar.Root,
|
|
4029
4254
|
{
|
|
4030
4255
|
size: "2xl",
|
|
@@ -4032,13 +4257,13 @@ function ReusableProfile({
|
|
|
4032
4257
|
mb: 4,
|
|
4033
4258
|
colorPalette: pickPalette(user.displayName || "U"),
|
|
4034
4259
|
children: [
|
|
4035
|
-
user.avatarSrc && /* @__PURE__ */
|
|
4036
|
-
/* @__PURE__ */
|
|
4260
|
+
user.avatarSrc && /* @__PURE__ */ jsx20(Avatar.Image, { src: user.avatarSrc, alt: user.displayName }),
|
|
4261
|
+
/* @__PURE__ */ jsx20(Avatar.Fallback, { name: user.displayName })
|
|
4037
4262
|
]
|
|
4038
4263
|
}
|
|
4039
4264
|
),
|
|
4040
|
-
/* @__PURE__ */
|
|
4041
|
-
|
|
4265
|
+
/* @__PURE__ */ jsx20(
|
|
4266
|
+
Text10,
|
|
4042
4267
|
{
|
|
4043
4268
|
color: "white",
|
|
4044
4269
|
fontWeight: "bold",
|
|
@@ -4048,8 +4273,8 @@ function ReusableProfile({
|
|
|
4048
4273
|
children: user.displayName
|
|
4049
4274
|
}
|
|
4050
4275
|
),
|
|
4051
|
-
user.email && /* @__PURE__ */
|
|
4052
|
-
roleLabel && /* @__PURE__ */
|
|
4276
|
+
user.email && /* @__PURE__ */ jsx20(Text10, { color: "rgba(255,255,255,0.75)", fontSize: "sm", mb: 2, children: user.email }),
|
|
4277
|
+
roleLabel && /* @__PURE__ */ jsx20(Box17, { display: "inline-flex", children: /* @__PURE__ */ jsx20(
|
|
4053
4278
|
Badge2,
|
|
4054
4279
|
{
|
|
4055
4280
|
bg: "rgba(255,255,255,0.15)",
|
|
@@ -4066,9 +4291,9 @@ function ReusableProfile({
|
|
|
4066
4291
|
]
|
|
4067
4292
|
}
|
|
4068
4293
|
),
|
|
4069
|
-
/* @__PURE__ */
|
|
4070
|
-
/* @__PURE__ */
|
|
4071
|
-
|
|
4294
|
+
/* @__PURE__ */ jsxs17(Box17, { px: 4, pt: 5, pb: 1, children: [
|
|
4295
|
+
/* @__PURE__ */ jsx20(
|
|
4296
|
+
Text10,
|
|
4072
4297
|
{
|
|
4073
4298
|
fontSize: "xs",
|
|
4074
4299
|
fontWeight: "bold",
|
|
@@ -4079,8 +4304,8 @@ function ReusableProfile({
|
|
|
4079
4304
|
children: "Account"
|
|
4080
4305
|
}
|
|
4081
4306
|
),
|
|
4082
|
-
/* @__PURE__ */
|
|
4083
|
-
|
|
4307
|
+
/* @__PURE__ */ jsx20(
|
|
4308
|
+
Box17,
|
|
4084
4309
|
{
|
|
4085
4310
|
as: "button",
|
|
4086
4311
|
w: "full",
|
|
@@ -4088,8 +4313,8 @@ function ReusableProfile({
|
|
|
4088
4313
|
_hover: { opacity: 0.7 },
|
|
4089
4314
|
transition: "opacity 0.15s",
|
|
4090
4315
|
onClick: () => setProfileView("edit-account"),
|
|
4091
|
-
children: /* @__PURE__ */
|
|
4092
|
-
|
|
4316
|
+
children: /* @__PURE__ */ jsxs17(
|
|
4317
|
+
Flex10,
|
|
4093
4318
|
{
|
|
4094
4319
|
justify: "space-between",
|
|
4095
4320
|
align: "center",
|
|
@@ -4098,9 +4323,9 @@ function ReusableProfile({
|
|
|
4098
4323
|
borderRadius: "lg",
|
|
4099
4324
|
bg: isDesktop && profileView === "edit-account" ? "gray.100" : void 0,
|
|
4100
4325
|
children: [
|
|
4101
|
-
/* @__PURE__ */
|
|
4102
|
-
/* @__PURE__ */
|
|
4103
|
-
|
|
4326
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4327
|
+
/* @__PURE__ */ jsx20(
|
|
4328
|
+
Box17,
|
|
4104
4329
|
{
|
|
4105
4330
|
w: "38px",
|
|
4106
4331
|
h: "38px",
|
|
@@ -4111,23 +4336,23 @@ function ReusableProfile({
|
|
|
4111
4336
|
justifyContent: "center",
|
|
4112
4337
|
color: "gray.600",
|
|
4113
4338
|
flexShrink: 0,
|
|
4114
|
-
children: /* @__PURE__ */
|
|
4339
|
+
children: /* @__PURE__ */ jsx20(LuUser, { size: 16 })
|
|
4115
4340
|
}
|
|
4116
4341
|
),
|
|
4117
|
-
/* @__PURE__ */
|
|
4118
|
-
/* @__PURE__ */
|
|
4119
|
-
/* @__PURE__ */
|
|
4342
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4343
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "semibold", children: "Edit Account" }),
|
|
4344
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: "gray.500", children: "Update your display name and contact details" })
|
|
4120
4345
|
] })
|
|
4121
4346
|
] }),
|
|
4122
|
-
/* @__PURE__ */
|
|
4347
|
+
/* @__PURE__ */ jsx20(LuChevronRight3, { size: 16, color: "var(--chakra-colors-gray-400)" })
|
|
4123
4348
|
]
|
|
4124
4349
|
}
|
|
4125
4350
|
)
|
|
4126
4351
|
}
|
|
4127
4352
|
),
|
|
4128
|
-
/* @__PURE__ */
|
|
4129
|
-
/* @__PURE__ */
|
|
4130
|
-
|
|
4353
|
+
/* @__PURE__ */ jsx20(Separator4, {}),
|
|
4354
|
+
/* @__PURE__ */ jsx20(
|
|
4355
|
+
Box17,
|
|
4131
4356
|
{
|
|
4132
4357
|
as: "button",
|
|
4133
4358
|
w: "full",
|
|
@@ -4138,8 +4363,8 @@ function ReusableProfile({
|
|
|
4138
4363
|
resetPasswordForm();
|
|
4139
4364
|
setProfileView("change-password");
|
|
4140
4365
|
},
|
|
4141
|
-
children: /* @__PURE__ */
|
|
4142
|
-
|
|
4366
|
+
children: /* @__PURE__ */ jsxs17(
|
|
4367
|
+
Flex10,
|
|
4143
4368
|
{
|
|
4144
4369
|
justify: "space-between",
|
|
4145
4370
|
align: "center",
|
|
@@ -4148,9 +4373,9 @@ function ReusableProfile({
|
|
|
4148
4373
|
borderRadius: "lg",
|
|
4149
4374
|
bg: isDesktop && profileView === "change-password" ? "gray.100" : void 0,
|
|
4150
4375
|
children: [
|
|
4151
|
-
/* @__PURE__ */
|
|
4152
|
-
/* @__PURE__ */
|
|
4153
|
-
|
|
4376
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4377
|
+
/* @__PURE__ */ jsx20(
|
|
4378
|
+
Box17,
|
|
4154
4379
|
{
|
|
4155
4380
|
w: "38px",
|
|
4156
4381
|
h: "38px",
|
|
@@ -4161,25 +4386,25 @@ function ReusableProfile({
|
|
|
4161
4386
|
justifyContent: "center",
|
|
4162
4387
|
color: "gray.600",
|
|
4163
4388
|
flexShrink: 0,
|
|
4164
|
-
children: /* @__PURE__ */
|
|
4389
|
+
children: /* @__PURE__ */ jsx20(LuLock, { size: 16 })
|
|
4165
4390
|
}
|
|
4166
4391
|
),
|
|
4167
|
-
/* @__PURE__ */
|
|
4168
|
-
/* @__PURE__ */
|
|
4169
|
-
/* @__PURE__ */
|
|
4392
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4393
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "semibold", children: "Change Password" }),
|
|
4394
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: "gray.500", children: "Test locally through the callback prop" })
|
|
4170
4395
|
] })
|
|
4171
4396
|
] }),
|
|
4172
|
-
/* @__PURE__ */
|
|
4397
|
+
/* @__PURE__ */ jsx20(LuChevronRight3, { size: 16, color: "var(--chakra-colors-gray-400)" })
|
|
4173
4398
|
]
|
|
4174
4399
|
}
|
|
4175
4400
|
)
|
|
4176
4401
|
}
|
|
4177
4402
|
),
|
|
4178
|
-
/* @__PURE__ */
|
|
4179
|
-
/* @__PURE__ */
|
|
4180
|
-
/* @__PURE__ */
|
|
4181
|
-
/* @__PURE__ */
|
|
4182
|
-
|
|
4403
|
+
/* @__PURE__ */ jsx20(Separator4, {}),
|
|
4404
|
+
/* @__PURE__ */ jsxs17(Flex10, { justify: "space-between", align: "center", py: 3, children: [
|
|
4405
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4406
|
+
/* @__PURE__ */ jsx20(
|
|
4407
|
+
Box17,
|
|
4183
4408
|
{
|
|
4184
4409
|
w: "38px",
|
|
4185
4410
|
h: "38px",
|
|
@@ -4190,16 +4415,16 @@ function ReusableProfile({
|
|
|
4190
4415
|
justifyContent: "center",
|
|
4191
4416
|
color: "gray.600",
|
|
4192
4417
|
flexShrink: 0,
|
|
4193
|
-
children: /* @__PURE__ */
|
|
4418
|
+
children: /* @__PURE__ */ jsx20(LuShield, { size: 16 })
|
|
4194
4419
|
}
|
|
4195
4420
|
),
|
|
4196
|
-
/* @__PURE__ */
|
|
4197
|
-
/* @__PURE__ */
|
|
4198
|
-
/* @__PURE__ */
|
|
4421
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4422
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "semibold", children: "Two Factor Authentication" }),
|
|
4423
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: "gray.500", children: twoFactorEnabled ? "Enabled" : "Disabled" })
|
|
4199
4424
|
] })
|
|
4200
4425
|
] }),
|
|
4201
|
-
/* @__PURE__ */
|
|
4202
|
-
|
|
4426
|
+
/* @__PURE__ */ jsx20(
|
|
4427
|
+
Box17,
|
|
4203
4428
|
{
|
|
4204
4429
|
role: "switch",
|
|
4205
4430
|
"aria-checked": twoFactorEnabled,
|
|
@@ -4221,8 +4446,8 @@ function ReusableProfile({
|
|
|
4221
4446
|
cursor: "pointer",
|
|
4222
4447
|
flexShrink: 0,
|
|
4223
4448
|
outline: "none",
|
|
4224
|
-
children: /* @__PURE__ */
|
|
4225
|
-
|
|
4449
|
+
children: /* @__PURE__ */ jsx20(
|
|
4450
|
+
Box17,
|
|
4226
4451
|
{
|
|
4227
4452
|
position: "absolute",
|
|
4228
4453
|
top: "3px",
|
|
@@ -4239,9 +4464,9 @@ function ReusableProfile({
|
|
|
4239
4464
|
)
|
|
4240
4465
|
] })
|
|
4241
4466
|
] }),
|
|
4242
|
-
/* @__PURE__ */
|
|
4243
|
-
/* @__PURE__ */
|
|
4244
|
-
|
|
4467
|
+
/* @__PURE__ */ jsxs17(Box17, { px: 4, pt: 4, pb: 2, children: [
|
|
4468
|
+
/* @__PURE__ */ jsx20(
|
|
4469
|
+
Text10,
|
|
4245
4470
|
{
|
|
4246
4471
|
fontSize: "xs",
|
|
4247
4472
|
fontWeight: "bold",
|
|
@@ -4252,10 +4477,10 @@ function ReusableProfile({
|
|
|
4252
4477
|
children: "Preferences"
|
|
4253
4478
|
}
|
|
4254
4479
|
),
|
|
4255
|
-
/* @__PURE__ */
|
|
4256
|
-
/* @__PURE__ */
|
|
4257
|
-
/* @__PURE__ */
|
|
4258
|
-
|
|
4480
|
+
/* @__PURE__ */ jsxs17(Flex10, { justify: "space-between", align: "center", py: 3, children: [
|
|
4481
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4482
|
+
/* @__PURE__ */ jsx20(
|
|
4483
|
+
Box17,
|
|
4259
4484
|
{
|
|
4260
4485
|
w: "38px",
|
|
4261
4486
|
h: "38px",
|
|
@@ -4266,18 +4491,18 @@ function ReusableProfile({
|
|
|
4266
4491
|
justifyContent: "center",
|
|
4267
4492
|
color: "gray.600",
|
|
4268
4493
|
flexShrink: 0,
|
|
4269
|
-
children: colorMode === "dark" ? /* @__PURE__ */
|
|
4494
|
+
children: colorMode === "dark" ? /* @__PURE__ */ jsx20(LuMoon, { size: 16 }) : /* @__PURE__ */ jsx20(LuSun, { size: 16 })
|
|
4270
4495
|
}
|
|
4271
4496
|
),
|
|
4272
|
-
/* @__PURE__ */
|
|
4273
|
-
/* @__PURE__ */
|
|
4274
|
-
/* @__PURE__ */
|
|
4497
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4498
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "semibold", children: "Appearance" }),
|
|
4499
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: "gray.500", children: colorMode === "light" ? "Light mode" : "Dark mode" })
|
|
4275
4500
|
] })
|
|
4276
4501
|
] }),
|
|
4277
|
-
/* @__PURE__ */
|
|
4502
|
+
/* @__PURE__ */ jsx20(HStack6, { gap: 1.5, children: ["light", "dark"].map((mode) => {
|
|
4278
4503
|
const isActive = colorMode === mode;
|
|
4279
|
-
return /* @__PURE__ */
|
|
4280
|
-
|
|
4504
|
+
return /* @__PURE__ */ jsxs17(
|
|
4505
|
+
Button4,
|
|
4281
4506
|
{
|
|
4282
4507
|
size: "sm",
|
|
4283
4508
|
variant: "outline",
|
|
@@ -4292,9 +4517,9 @@ function ReusableProfile({
|
|
|
4292
4517
|
},
|
|
4293
4518
|
onClick: () => handleColorMode(mode),
|
|
4294
4519
|
children: [
|
|
4295
|
-
mode === "light" ? /* @__PURE__ */
|
|
4296
|
-
/* @__PURE__ */
|
|
4297
|
-
|
|
4520
|
+
mode === "light" ? /* @__PURE__ */ jsx20(LuSun, { size: 13 }) : /* @__PURE__ */ jsx20(LuMoon, { size: 13 }),
|
|
4521
|
+
/* @__PURE__ */ jsx20(
|
|
4522
|
+
Text10,
|
|
4298
4523
|
{
|
|
4299
4524
|
fontSize: "xs",
|
|
4300
4525
|
textTransform: "capitalize",
|
|
@@ -4308,11 +4533,11 @@ function ReusableProfile({
|
|
|
4308
4533
|
);
|
|
4309
4534
|
}) })
|
|
4310
4535
|
] }),
|
|
4311
|
-
/* @__PURE__ */
|
|
4312
|
-
/* @__PURE__ */
|
|
4313
|
-
/* @__PURE__ */
|
|
4314
|
-
/* @__PURE__ */
|
|
4315
|
-
|
|
4536
|
+
/* @__PURE__ */ jsx20(Separator4, {}),
|
|
4537
|
+
/* @__PURE__ */ jsxs17(Flex10, { justify: "space-between", align: "center", py: 3, children: [
|
|
4538
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4539
|
+
/* @__PURE__ */ jsx20(
|
|
4540
|
+
Box17,
|
|
4316
4541
|
{
|
|
4317
4542
|
w: "38px",
|
|
4318
4543
|
h: "38px",
|
|
@@ -4328,15 +4553,15 @@ function ReusableProfile({
|
|
|
4328
4553
|
children: "A"
|
|
4329
4554
|
}
|
|
4330
4555
|
),
|
|
4331
|
-
/* @__PURE__ */
|
|
4332
|
-
/* @__PURE__ */
|
|
4333
|
-
/* @__PURE__ */
|
|
4556
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4557
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "semibold", children: "Text Size" }),
|
|
4558
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: "gray.500", children: fontSizeLabel })
|
|
4334
4559
|
] })
|
|
4335
4560
|
] }),
|
|
4336
|
-
/* @__PURE__ */
|
|
4561
|
+
/* @__PURE__ */ jsx20(HStack6, { gap: 1, children: FONT_SIZES.map((option) => {
|
|
4337
4562
|
const isActive = fontSize === option.value;
|
|
4338
|
-
return /* @__PURE__ */
|
|
4339
|
-
|
|
4563
|
+
return /* @__PURE__ */ jsx20(
|
|
4564
|
+
Button4,
|
|
4340
4565
|
{
|
|
4341
4566
|
size: "sm",
|
|
4342
4567
|
variant: "outline",
|
|
@@ -4351,8 +4576,8 @@ function ReusableProfile({
|
|
|
4351
4576
|
},
|
|
4352
4577
|
onClick: () => handleFontSize(option.value),
|
|
4353
4578
|
title: option.title,
|
|
4354
|
-
children: /* @__PURE__ */
|
|
4355
|
-
|
|
4579
|
+
children: /* @__PURE__ */ jsx20(
|
|
4580
|
+
Text10,
|
|
4356
4581
|
{
|
|
4357
4582
|
fontWeight: isActive ? "bold" : "normal",
|
|
4358
4583
|
style: { fontSize: `${option.scale * 13}px` },
|
|
@@ -4364,9 +4589,9 @@ function ReusableProfile({
|
|
|
4364
4589
|
);
|
|
4365
4590
|
}) })
|
|
4366
4591
|
] }),
|
|
4367
|
-
/* @__PURE__ */
|
|
4368
|
-
/* @__PURE__ */
|
|
4369
|
-
|
|
4592
|
+
/* @__PURE__ */ jsx20(Separator4, {}),
|
|
4593
|
+
/* @__PURE__ */ jsx20(
|
|
4594
|
+
Box17,
|
|
4370
4595
|
{
|
|
4371
4596
|
as: "button",
|
|
4372
4597
|
w: "full",
|
|
@@ -4374,10 +4599,10 @@ function ReusableProfile({
|
|
|
4374
4599
|
_hover: { opacity: 0.7 },
|
|
4375
4600
|
transition: "opacity 0.15s",
|
|
4376
4601
|
onClick: () => setProfileView("navbar-customize"),
|
|
4377
|
-
children: /* @__PURE__ */
|
|
4378
|
-
/* @__PURE__ */
|
|
4379
|
-
/* @__PURE__ */
|
|
4380
|
-
|
|
4602
|
+
children: /* @__PURE__ */ jsxs17(Flex10, { justify: "space-between", align: "center", py: 3, children: [
|
|
4603
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4604
|
+
/* @__PURE__ */ jsx20(
|
|
4605
|
+
Box17,
|
|
4381
4606
|
{
|
|
4382
4607
|
w: "38px",
|
|
4383
4608
|
h: "38px",
|
|
@@ -4388,12 +4613,12 @@ function ReusableProfile({
|
|
|
4388
4613
|
justifyContent: "center",
|
|
4389
4614
|
color: "gray.600",
|
|
4390
4615
|
flexShrink: 0,
|
|
4391
|
-
children: /* @__PURE__ */
|
|
4616
|
+
children: /* @__PURE__ */ jsx20(LuArrowLeftRight, { size: 16 })
|
|
4392
4617
|
}
|
|
4393
4618
|
),
|
|
4394
|
-
/* @__PURE__ */
|
|
4395
|
-
/* @__PURE__ */
|
|
4396
|
-
/* @__PURE__ */
|
|
4619
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4620
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "semibold", children: "Quick Navigation" }),
|
|
4621
|
+
/* @__PURE__ */ jsxs17(Text10, { fontSize: "xs", color: "gray.500", children: [
|
|
4397
4622
|
quickNavHrefs.length,
|
|
4398
4623
|
" of ",
|
|
4399
4624
|
maxQuickNavItems,
|
|
@@ -4401,13 +4626,13 @@ function ReusableProfile({
|
|
|
4401
4626
|
] })
|
|
4402
4627
|
] })
|
|
4403
4628
|
] }),
|
|
4404
|
-
/* @__PURE__ */
|
|
4629
|
+
/* @__PURE__ */ jsx20(LuChevronRight3, { size: 16, color: "var(--chakra-colors-gray-400)" })
|
|
4405
4630
|
] })
|
|
4406
4631
|
}
|
|
4407
4632
|
)
|
|
4408
4633
|
] }),
|
|
4409
|
-
/* @__PURE__ */
|
|
4410
|
-
|
|
4634
|
+
/* @__PURE__ */ jsx20(Box17, { px: 4, pt: 4, pb: 10, children: /* @__PURE__ */ jsx20(VStack9, { gap: 2.5, children: /* @__PURE__ */ jsx20(
|
|
4635
|
+
Button4,
|
|
4411
4636
|
{
|
|
4412
4637
|
w: "full",
|
|
4413
4638
|
variant: "outline",
|
|
@@ -4419,9 +4644,9 @@ function ReusableProfile({
|
|
|
4419
4644
|
}
|
|
4420
4645
|
) }) })
|
|
4421
4646
|
] });
|
|
4422
|
-
const editAccountContent = /* @__PURE__ */
|
|
4423
|
-
/* @__PURE__ */
|
|
4424
|
-
/* @__PURE__ */
|
|
4647
|
+
const editAccountContent = /* @__PURE__ */ jsxs17(Fragment4, { children: [
|
|
4648
|
+
/* @__PURE__ */ jsx20(Box17, { px: 4, pt: 4, pb: 3, borderBottomWidth: "1px", borderColor: "gray.200", children: /* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 2, pr: 10, children: [
|
|
4649
|
+
/* @__PURE__ */ jsx20(
|
|
4425
4650
|
IconButton3,
|
|
4426
4651
|
{
|
|
4427
4652
|
size: "sm",
|
|
@@ -4429,19 +4654,19 @@ function ReusableProfile({
|
|
|
4429
4654
|
"aria-label": "Back",
|
|
4430
4655
|
color: "gray.600",
|
|
4431
4656
|
onClick: () => setProfileView("main"),
|
|
4432
|
-
children: /* @__PURE__ */
|
|
4657
|
+
children: /* @__PURE__ */ jsx20(LuChevronLeft2, {})
|
|
4433
4658
|
}
|
|
4434
4659
|
),
|
|
4435
|
-
/* @__PURE__ */
|
|
4660
|
+
/* @__PURE__ */ jsx20(Text10, { fontWeight: "bold", fontSize: "md", children: "Edit Account" })
|
|
4436
4661
|
] }) }),
|
|
4437
|
-
/* @__PURE__ */
|
|
4438
|
-
user.avatarSrc && /* @__PURE__ */
|
|
4439
|
-
/* @__PURE__ */
|
|
4662
|
+
/* @__PURE__ */ jsx20(Box17, { textAlign: "center", pt: 5, pb: 4, children: /* @__PURE__ */ jsxs17(Avatar.Root, { size: "xl", mx: "auto", mb: 1, children: [
|
|
4663
|
+
user.avatarSrc && /* @__PURE__ */ jsx20(Avatar.Image, { src: user.avatarSrc, alt: editName }),
|
|
4664
|
+
/* @__PURE__ */ jsx20(Avatar.Fallback, { name: editName })
|
|
4440
4665
|
] }) }),
|
|
4441
|
-
/* @__PURE__ */
|
|
4442
|
-
/* @__PURE__ */
|
|
4443
|
-
/* @__PURE__ */
|
|
4444
|
-
/* @__PURE__ */
|
|
4666
|
+
/* @__PURE__ */ jsxs17(VStack9, { gap: 4, px: 4, pb: 10, align: "stretch", children: [
|
|
4667
|
+
/* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4668
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", fontWeight: "semibold", color: "gray.500", mb: 1.5, children: "Display Name" }),
|
|
4669
|
+
/* @__PURE__ */ jsx20(
|
|
4445
4670
|
Input4,
|
|
4446
4671
|
{
|
|
4447
4672
|
value: editName,
|
|
@@ -4451,9 +4676,9 @@ function ReusableProfile({
|
|
|
4451
4676
|
}
|
|
4452
4677
|
)
|
|
4453
4678
|
] }),
|
|
4454
|
-
/* @__PURE__ */
|
|
4455
|
-
/* @__PURE__ */
|
|
4456
|
-
/* @__PURE__ */
|
|
4679
|
+
/* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4680
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", fontWeight: "semibold", color: "gray.500", mb: 1.5, children: "Email" }),
|
|
4681
|
+
/* @__PURE__ */ jsx20(
|
|
4457
4682
|
Input4,
|
|
4458
4683
|
{
|
|
4459
4684
|
value: user.email ?? "",
|
|
@@ -4464,9 +4689,9 @@ function ReusableProfile({
|
|
|
4464
4689
|
}
|
|
4465
4690
|
)
|
|
4466
4691
|
] }),
|
|
4467
|
-
/* @__PURE__ */
|
|
4468
|
-
/* @__PURE__ */
|
|
4469
|
-
/* @__PURE__ */
|
|
4692
|
+
/* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4693
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", fontWeight: "semibold", color: "gray.500", mb: 1.5, children: "Mobile Number" }),
|
|
4694
|
+
/* @__PURE__ */ jsx20(
|
|
4470
4695
|
Input4,
|
|
4471
4696
|
{
|
|
4472
4697
|
value: user.mobileNumber ?? "",
|
|
@@ -4477,8 +4702,8 @@ function ReusableProfile({
|
|
|
4477
4702
|
}
|
|
4478
4703
|
)
|
|
4479
4704
|
] }),
|
|
4480
|
-
/* @__PURE__ */
|
|
4481
|
-
|
|
4705
|
+
/* @__PURE__ */ jsx20(
|
|
4706
|
+
Button4,
|
|
4482
4707
|
{
|
|
4483
4708
|
w: "full",
|
|
4484
4709
|
mt: 2,
|
|
@@ -4492,9 +4717,9 @@ function ReusableProfile({
|
|
|
4492
4717
|
)
|
|
4493
4718
|
] })
|
|
4494
4719
|
] });
|
|
4495
|
-
const changePasswordContent = /* @__PURE__ */
|
|
4496
|
-
/* @__PURE__ */
|
|
4497
|
-
/* @__PURE__ */
|
|
4720
|
+
const changePasswordContent = /* @__PURE__ */ jsxs17(Fragment4, { children: [
|
|
4721
|
+
/* @__PURE__ */ jsx20(Box17, { px: 4, pt: 4, pb: 3, borderBottomWidth: "1px", borderColor: "gray.200", children: /* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 2, pr: 10, children: [
|
|
4722
|
+
/* @__PURE__ */ jsx20(
|
|
4498
4723
|
IconButton3,
|
|
4499
4724
|
{
|
|
4500
4725
|
size: "sm",
|
|
@@ -4502,18 +4727,18 @@ function ReusableProfile({
|
|
|
4502
4727
|
"aria-label": "Back",
|
|
4503
4728
|
color: "gray.600",
|
|
4504
4729
|
onClick: () => setProfileView("main"),
|
|
4505
|
-
children: /* @__PURE__ */
|
|
4730
|
+
children: /* @__PURE__ */ jsx20(LuChevronLeft2, {})
|
|
4506
4731
|
}
|
|
4507
4732
|
),
|
|
4508
|
-
/* @__PURE__ */
|
|
4733
|
+
/* @__PURE__ */ jsx20(Text10, { fontWeight: "bold", fontSize: "md", children: "Change Password" })
|
|
4509
4734
|
] }) }),
|
|
4510
|
-
/* @__PURE__ */
|
|
4511
|
-
/* @__PURE__ */
|
|
4512
|
-
/* @__PURE__ */
|
|
4513
|
-
/* @__PURE__ */
|
|
4735
|
+
/* @__PURE__ */ jsxs17(VStack9, { gap: 5, px: 4, pt: 6, pb: 10, children: [
|
|
4736
|
+
/* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4737
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", fontWeight: "semibold", color: "gray.500", mb: 1.5, children: "Current Password" }),
|
|
4738
|
+
/* @__PURE__ */ jsx20(
|
|
4514
4739
|
InputGroup,
|
|
4515
4740
|
{
|
|
4516
|
-
endElement: /* @__PURE__ */
|
|
4741
|
+
endElement: /* @__PURE__ */ jsx20(
|
|
4517
4742
|
IconButton3,
|
|
4518
4743
|
{
|
|
4519
4744
|
size: "xs",
|
|
@@ -4521,10 +4746,10 @@ function ReusableProfile({
|
|
|
4521
4746
|
color: "gray.500",
|
|
4522
4747
|
"aria-label": "Toggle current password visibility",
|
|
4523
4748
|
onClick: () => setShowCurrentPw(!showCurrentPw),
|
|
4524
|
-
children: showCurrentPw ? /* @__PURE__ */
|
|
4749
|
+
children: showCurrentPw ? /* @__PURE__ */ jsx20(LuEyeOff, { size: 15 }) : /* @__PURE__ */ jsx20(LuEye, { size: 15 })
|
|
4525
4750
|
}
|
|
4526
4751
|
),
|
|
4527
|
-
children: /* @__PURE__ */
|
|
4752
|
+
children: /* @__PURE__ */ jsx20(
|
|
4528
4753
|
Input4,
|
|
4529
4754
|
{
|
|
4530
4755
|
type: showCurrentPw ? "text" : "password",
|
|
@@ -4537,12 +4762,12 @@ function ReusableProfile({
|
|
|
4537
4762
|
}
|
|
4538
4763
|
)
|
|
4539
4764
|
] }),
|
|
4540
|
-
/* @__PURE__ */
|
|
4541
|
-
/* @__PURE__ */
|
|
4542
|
-
/* @__PURE__ */
|
|
4765
|
+
/* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4766
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", fontWeight: "semibold", color: "gray.500", mb: 1.5, children: "New Password" }),
|
|
4767
|
+
/* @__PURE__ */ jsx20(
|
|
4543
4768
|
InputGroup,
|
|
4544
4769
|
{
|
|
4545
|
-
endElement: /* @__PURE__ */
|
|
4770
|
+
endElement: /* @__PURE__ */ jsx20(
|
|
4546
4771
|
IconButton3,
|
|
4547
4772
|
{
|
|
4548
4773
|
size: "xs",
|
|
@@ -4550,10 +4775,10 @@ function ReusableProfile({
|
|
|
4550
4775
|
color: "gray.500",
|
|
4551
4776
|
"aria-label": "Toggle new password visibility",
|
|
4552
4777
|
onClick: () => setShowNewPw(!showNewPw),
|
|
4553
|
-
children: showNewPw ? /* @__PURE__ */
|
|
4778
|
+
children: showNewPw ? /* @__PURE__ */ jsx20(LuEyeOff, { size: 15 }) : /* @__PURE__ */ jsx20(LuEye, { size: 15 })
|
|
4554
4779
|
}
|
|
4555
4780
|
),
|
|
4556
|
-
children: /* @__PURE__ */
|
|
4781
|
+
children: /* @__PURE__ */ jsx20(
|
|
4557
4782
|
Input4,
|
|
4558
4783
|
{
|
|
4559
4784
|
type: showNewPw ? "text" : "password",
|
|
@@ -4565,9 +4790,9 @@ function ReusableProfile({
|
|
|
4565
4790
|
)
|
|
4566
4791
|
}
|
|
4567
4792
|
),
|
|
4568
|
-
newPw && /* @__PURE__ */
|
|
4569
|
-
/* @__PURE__ */
|
|
4570
|
-
|
|
4793
|
+
newPw && /* @__PURE__ */ jsxs17(Box17, { mt: 2, children: [
|
|
4794
|
+
/* @__PURE__ */ jsx20(Flex10, { gap: 1, mb: 1, children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ jsx20(
|
|
4795
|
+
Box17,
|
|
4571
4796
|
{
|
|
4572
4797
|
flex: 1,
|
|
4573
4798
|
h: "3px",
|
|
@@ -4577,15 +4802,15 @@ function ReusableProfile({
|
|
|
4577
4802
|
},
|
|
4578
4803
|
i
|
|
4579
4804
|
)) }),
|
|
4580
|
-
/* @__PURE__ */
|
|
4805
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: pwMeta.color, fontWeight: "medium", children: pwMeta.label })
|
|
4581
4806
|
] })
|
|
4582
4807
|
] }),
|
|
4583
|
-
/* @__PURE__ */
|
|
4584
|
-
/* @__PURE__ */
|
|
4585
|
-
/* @__PURE__ */
|
|
4808
|
+
/* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4809
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "xs", fontWeight: "semibold", color: "gray.500", mb: 1.5, children: "Confirm New Password" }),
|
|
4810
|
+
/* @__PURE__ */ jsx20(
|
|
4586
4811
|
InputGroup,
|
|
4587
4812
|
{
|
|
4588
|
-
endElement: /* @__PURE__ */
|
|
4813
|
+
endElement: /* @__PURE__ */ jsx20(
|
|
4589
4814
|
IconButton3,
|
|
4590
4815
|
{
|
|
4591
4816
|
size: "xs",
|
|
@@ -4593,10 +4818,10 @@ function ReusableProfile({
|
|
|
4593
4818
|
color: "gray.500",
|
|
4594
4819
|
"aria-label": "Toggle confirm password visibility",
|
|
4595
4820
|
onClick: () => setShowConfirmPw(!showConfirmPw),
|
|
4596
|
-
children: showConfirmPw ? /* @__PURE__ */
|
|
4821
|
+
children: showConfirmPw ? /* @__PURE__ */ jsx20(LuEyeOff, { size: 15 }) : /* @__PURE__ */ jsx20(LuEye, { size: 15 })
|
|
4597
4822
|
}
|
|
4598
4823
|
),
|
|
4599
|
-
children: /* @__PURE__ */
|
|
4824
|
+
children: /* @__PURE__ */ jsx20(
|
|
4600
4825
|
Input4,
|
|
4601
4826
|
{
|
|
4602
4827
|
type: showConfirmPw ? "text" : "password",
|
|
@@ -4608,10 +4833,10 @@ function ReusableProfile({
|
|
|
4608
4833
|
)
|
|
4609
4834
|
}
|
|
4610
4835
|
),
|
|
4611
|
-
confirmPw && confirmPw !== newPw && /* @__PURE__ */
|
|
4836
|
+
confirmPw && confirmPw !== newPw && /* @__PURE__ */ jsx20(Text10, { fontSize: "xs", color: "red.500", mt: 1, children: "Passwords do not match" })
|
|
4612
4837
|
] }),
|
|
4613
|
-
/* @__PURE__ */
|
|
4614
|
-
|
|
4838
|
+
/* @__PURE__ */ jsx20(
|
|
4839
|
+
Button4,
|
|
4615
4840
|
{
|
|
4616
4841
|
w: "full",
|
|
4617
4842
|
mt: 1,
|
|
@@ -4626,9 +4851,9 @@ function ReusableProfile({
|
|
|
4626
4851
|
)
|
|
4627
4852
|
] })
|
|
4628
4853
|
] });
|
|
4629
|
-
const navbarCustomizeContent = /* @__PURE__ */
|
|
4630
|
-
/* @__PURE__ */
|
|
4631
|
-
|
|
4854
|
+
const navbarCustomizeContent = /* @__PURE__ */ jsxs17(Fragment4, { children: [
|
|
4855
|
+
/* @__PURE__ */ jsx20(
|
|
4856
|
+
Box17,
|
|
4632
4857
|
{
|
|
4633
4858
|
px: 4,
|
|
4634
4859
|
pt: 4,
|
|
@@ -4639,8 +4864,8 @@ function ReusableProfile({
|
|
|
4639
4864
|
top: 0,
|
|
4640
4865
|
bg: "bg",
|
|
4641
4866
|
zIndex: 1,
|
|
4642
|
-
children: /* @__PURE__ */
|
|
4643
|
-
/* @__PURE__ */
|
|
4867
|
+
children: /* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 2, pr: 10, children: [
|
|
4868
|
+
/* @__PURE__ */ jsx20(
|
|
4644
4869
|
IconButton3,
|
|
4645
4870
|
{
|
|
4646
4871
|
size: "sm",
|
|
@@ -4651,12 +4876,12 @@ function ReusableProfile({
|
|
|
4651
4876
|
setReplacingIdx(null);
|
|
4652
4877
|
setProfileView("main");
|
|
4653
4878
|
},
|
|
4654
|
-
children: /* @__PURE__ */
|
|
4879
|
+
children: /* @__PURE__ */ jsx20(LuChevronLeft2, {})
|
|
4655
4880
|
}
|
|
4656
4881
|
),
|
|
4657
|
-
/* @__PURE__ */
|
|
4658
|
-
/* @__PURE__ */
|
|
4659
|
-
/* @__PURE__ */
|
|
4882
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4883
|
+
/* @__PURE__ */ jsx20(Text10, { fontWeight: "bold", fontSize: "md", children: "Quick Navigation" }),
|
|
4884
|
+
/* @__PURE__ */ jsxs17(Text10, { fontSize: "xs", color: "gray.500", children: [
|
|
4660
4885
|
"Choose up to ",
|
|
4661
4886
|
maxQuickNavItems,
|
|
4662
4887
|
" shortcuts for the bottom bar"
|
|
@@ -4665,10 +4890,10 @@ function ReusableProfile({
|
|
|
4665
4890
|
] })
|
|
4666
4891
|
}
|
|
4667
4892
|
),
|
|
4668
|
-
/* @__PURE__ */
|
|
4669
|
-
/* @__PURE__ */
|
|
4670
|
-
/* @__PURE__ */
|
|
4671
|
-
|
|
4893
|
+
/* @__PURE__ */ jsxs17(Box17, { px: 4, pt: 5, pb: 2, children: [
|
|
4894
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", justify: "space-between", mb: 3, children: [
|
|
4895
|
+
/* @__PURE__ */ jsx20(
|
|
4896
|
+
Text10,
|
|
4672
4897
|
{
|
|
4673
4898
|
fontSize: "xs",
|
|
4674
4899
|
fontWeight: "bold",
|
|
@@ -4678,8 +4903,8 @@ function ReusableProfile({
|
|
|
4678
4903
|
children: "Pinned"
|
|
4679
4904
|
}
|
|
4680
4905
|
),
|
|
4681
|
-
/* @__PURE__ */
|
|
4682
|
-
|
|
4906
|
+
/* @__PURE__ */ jsxs17(
|
|
4907
|
+
Text10,
|
|
4683
4908
|
{
|
|
4684
4909
|
fontSize: "xs",
|
|
4685
4910
|
color: quickNavHrefs.length >= maxQuickNavItems ? "orange.500" : "gray.400",
|
|
@@ -4692,8 +4917,8 @@ function ReusableProfile({
|
|
|
4692
4917
|
}
|
|
4693
4918
|
)
|
|
4694
4919
|
] }),
|
|
4695
|
-
quickNavHrefs.length === 0 ? /* @__PURE__ */
|
|
4696
|
-
|
|
4920
|
+
quickNavHrefs.length === 0 ? /* @__PURE__ */ jsx20(
|
|
4921
|
+
Flex10,
|
|
4697
4922
|
{
|
|
4698
4923
|
align: "center",
|
|
4699
4924
|
justify: "center",
|
|
@@ -4702,18 +4927,18 @@ function ReusableProfile({
|
|
|
4702
4927
|
borderWidth: "1px",
|
|
4703
4928
|
borderStyle: "dashed",
|
|
4704
4929
|
borderColor: "gray.200",
|
|
4705
|
-
children: /* @__PURE__ */
|
|
4930
|
+
children: /* @__PURE__ */ jsx20(Text10, { fontSize: "sm", color: "gray.400", children: "No items pinned \u2014 add from below" })
|
|
4706
4931
|
}
|
|
4707
|
-
) : /* @__PURE__ */
|
|
4932
|
+
) : /* @__PURE__ */ jsx20(VStack9, { gap: 0, children: quickNavHrefs.map((href, idx) => {
|
|
4708
4933
|
const option = availableOptions.find((item) => item.key === href);
|
|
4709
4934
|
if (!option) return null;
|
|
4710
4935
|
const ItemIcon = option.Icon;
|
|
4711
4936
|
const isFirst = idx === 0;
|
|
4712
4937
|
const isLast = idx === quickNavHrefs.length - 1;
|
|
4713
4938
|
const isReplacing = replacingIdx === idx;
|
|
4714
|
-
return /* @__PURE__ */
|
|
4715
|
-
/* @__PURE__ */
|
|
4716
|
-
|
|
4939
|
+
return /* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
4940
|
+
/* @__PURE__ */ jsxs17(
|
|
4941
|
+
Flex10,
|
|
4717
4942
|
{
|
|
4718
4943
|
justify: "space-between",
|
|
4719
4944
|
align: "center",
|
|
@@ -4725,9 +4950,9 @@ function ReusableProfile({
|
|
|
4725
4950
|
borderColor: isReplacing ? "orange.200" : void 0,
|
|
4726
4951
|
transition: "all 0.15s",
|
|
4727
4952
|
children: [
|
|
4728
|
-
/* @__PURE__ */
|
|
4729
|
-
/* @__PURE__ */
|
|
4730
|
-
|
|
4953
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
4954
|
+
/* @__PURE__ */ jsx20(
|
|
4955
|
+
Box17,
|
|
4731
4956
|
{
|
|
4732
4957
|
w: "36px",
|
|
4733
4958
|
h: "36px",
|
|
@@ -4738,13 +4963,13 @@ function ReusableProfile({
|
|
|
4738
4963
|
justifyContent: "center",
|
|
4739
4964
|
color: "white",
|
|
4740
4965
|
flexShrink: 0,
|
|
4741
|
-
children: /* @__PURE__ */
|
|
4966
|
+
children: /* @__PURE__ */ jsx20(ItemIcon, { size: 15 })
|
|
4742
4967
|
}
|
|
4743
4968
|
),
|
|
4744
|
-
/* @__PURE__ */
|
|
4745
|
-
/* @__PURE__ */
|
|
4746
|
-
isReplacing && /* @__PURE__ */
|
|
4747
|
-
|
|
4969
|
+
/* @__PURE__ */ jsxs17(Box17, { children: [
|
|
4970
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", fontWeight: "medium", children: option.title }),
|
|
4971
|
+
isReplacing && /* @__PURE__ */ jsx20(
|
|
4972
|
+
Text10,
|
|
4748
4973
|
{
|
|
4749
4974
|
fontSize: "xs",
|
|
4750
4975
|
color: "orange.500",
|
|
@@ -4754,8 +4979,8 @@ function ReusableProfile({
|
|
|
4754
4979
|
)
|
|
4755
4980
|
] })
|
|
4756
4981
|
] }),
|
|
4757
|
-
/* @__PURE__ */
|
|
4758
|
-
/* @__PURE__ */
|
|
4982
|
+
/* @__PURE__ */ jsxs17(HStack6, { gap: 0.5, children: [
|
|
4983
|
+
/* @__PURE__ */ jsx20(
|
|
4759
4984
|
IconButton3,
|
|
4760
4985
|
{
|
|
4761
4986
|
size: "xs",
|
|
@@ -4764,10 +4989,10 @@ function ReusableProfile({
|
|
|
4764
4989
|
color: "gray.500",
|
|
4765
4990
|
disabled: isFirst || isReplacing,
|
|
4766
4991
|
onClick: () => moveNavItem(idx, -1),
|
|
4767
|
-
children: /* @__PURE__ */
|
|
4992
|
+
children: /* @__PURE__ */ jsx20(LuChevronUp3, { size: 14 })
|
|
4768
4993
|
}
|
|
4769
4994
|
),
|
|
4770
|
-
/* @__PURE__ */
|
|
4995
|
+
/* @__PURE__ */ jsx20(
|
|
4771
4996
|
IconButton3,
|
|
4772
4997
|
{
|
|
4773
4998
|
size: "xs",
|
|
@@ -4776,10 +5001,10 @@ function ReusableProfile({
|
|
|
4776
5001
|
color: "gray.500",
|
|
4777
5002
|
disabled: isLast || isReplacing,
|
|
4778
5003
|
onClick: () => moveNavItem(idx, 1),
|
|
4779
|
-
children: /* @__PURE__ */
|
|
5004
|
+
children: /* @__PURE__ */ jsx20(LuChevronDown3, { size: 14 })
|
|
4780
5005
|
}
|
|
4781
5006
|
),
|
|
4782
|
-
/* @__PURE__ */
|
|
5007
|
+
/* @__PURE__ */ jsx20(
|
|
4783
5008
|
IconButton3,
|
|
4784
5009
|
{
|
|
4785
5010
|
size: "xs",
|
|
@@ -4789,10 +5014,10 @@ function ReusableProfile({
|
|
|
4789
5014
|
color: isReplacing ? "white" : "gray.500",
|
|
4790
5015
|
_hover: { bg: isReplacing ? "orange.500" : "gray.100" },
|
|
4791
5016
|
onClick: () => setReplacingIdx(isReplacing ? null : idx),
|
|
4792
|
-
children: /* @__PURE__ */
|
|
5017
|
+
children: /* @__PURE__ */ jsx20(LuArrowLeftRight, { size: 13 })
|
|
4793
5018
|
}
|
|
4794
5019
|
),
|
|
4795
|
-
/* @__PURE__ */
|
|
5020
|
+
/* @__PURE__ */ jsx20(
|
|
4796
5021
|
IconButton3,
|
|
4797
5022
|
{
|
|
4798
5023
|
size: "xs",
|
|
@@ -4802,23 +5027,23 @@ function ReusableProfile({
|
|
|
4802
5027
|
_hover: { bg: "red.50" },
|
|
4803
5028
|
disabled: isReplacing,
|
|
4804
5029
|
onClick: () => removeNavItem(href),
|
|
4805
|
-
children: /* @__PURE__ */
|
|
5030
|
+
children: /* @__PURE__ */ jsx20(LuX, { size: 14 })
|
|
4806
5031
|
}
|
|
4807
5032
|
)
|
|
4808
5033
|
] })
|
|
4809
5034
|
]
|
|
4810
5035
|
}
|
|
4811
5036
|
),
|
|
4812
|
-
!isLast && /* @__PURE__ */
|
|
5037
|
+
!isLast && /* @__PURE__ */ jsx20(Separator4, {})
|
|
4813
5038
|
] }, href);
|
|
4814
5039
|
}) })
|
|
4815
5040
|
] }),
|
|
4816
|
-
/* @__PURE__ */
|
|
4817
|
-
/* @__PURE__ */
|
|
4818
|
-
/* @__PURE__ */
|
|
4819
|
-
replacingIdx !== null ? /* @__PURE__ */
|
|
4820
|
-
/* @__PURE__ */
|
|
4821
|
-
|
|
5041
|
+
/* @__PURE__ */ jsx20(Separator4, { mx: 4, my: 1 }),
|
|
5042
|
+
/* @__PURE__ */ jsxs17(Box17, { px: 4, pt: 4, pb: 10, children: [
|
|
5043
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", justify: "space-between", mb: 3, children: [
|
|
5044
|
+
replacingIdx !== null ? /* @__PURE__ */ jsxs17(Box17, { children: [
|
|
5045
|
+
/* @__PURE__ */ jsx20(
|
|
5046
|
+
Text10,
|
|
4822
5047
|
{
|
|
4823
5048
|
fontSize: "xs",
|
|
4824
5049
|
fontWeight: "bold",
|
|
@@ -4828,15 +5053,15 @@ function ReusableProfile({
|
|
|
4828
5053
|
children: "Select Replacement"
|
|
4829
5054
|
}
|
|
4830
5055
|
),
|
|
4831
|
-
/* @__PURE__ */
|
|
5056
|
+
/* @__PURE__ */ jsxs17(Text10, { fontSize: "xs", color: "gray.500", mt: 0.5, children: [
|
|
4832
5057
|
'for "',
|
|
4833
5058
|
availableOptions.find(
|
|
4834
5059
|
(item) => item.key === quickNavHrefs[replacingIdx]
|
|
4835
5060
|
)?.title,
|
|
4836
5061
|
'"'
|
|
4837
5062
|
] })
|
|
4838
|
-
] }) : /* @__PURE__ */
|
|
4839
|
-
|
|
5063
|
+
] }) : /* @__PURE__ */ jsx20(
|
|
5064
|
+
Text10,
|
|
4840
5065
|
{
|
|
4841
5066
|
fontSize: "xs",
|
|
4842
5067
|
fontWeight: "bold",
|
|
@@ -4846,8 +5071,8 @@ function ReusableProfile({
|
|
|
4846
5071
|
children: "Available"
|
|
4847
5072
|
}
|
|
4848
5073
|
),
|
|
4849
|
-
replacingIdx !== null && /* @__PURE__ */
|
|
4850
|
-
|
|
5074
|
+
replacingIdx !== null && /* @__PURE__ */ jsx20(
|
|
5075
|
+
Button4,
|
|
4851
5076
|
{
|
|
4852
5077
|
size: "xs",
|
|
4853
5078
|
variant: "ghost",
|
|
@@ -4857,17 +5082,17 @@ function ReusableProfile({
|
|
|
4857
5082
|
}
|
|
4858
5083
|
)
|
|
4859
5084
|
] }),
|
|
4860
|
-
unpinnedOptions.length === 0 ? /* @__PURE__ */
|
|
5085
|
+
unpinnedOptions.length === 0 ? /* @__PURE__ */ jsx20(Text10, { fontSize: "sm", color: "gray.400", py: 3, textAlign: "center", children: "All available items are pinned" }) : /* @__PURE__ */ jsx20(VStack9, { gap: 0, children: unpinnedOptions.map((option, idx) => {
|
|
4861
5086
|
const ItemIcon = option.Icon;
|
|
4862
5087
|
const isLast = idx === unpinnedOptions.length - 1;
|
|
4863
5088
|
const isReplacingMode = replacingIdx !== null;
|
|
4864
5089
|
const canAdd = quickNavHrefs.length < maxQuickNavItems;
|
|
4865
5090
|
const actionEnabled = isReplacingMode || canAdd;
|
|
4866
|
-
return /* @__PURE__ */
|
|
4867
|
-
/* @__PURE__ */
|
|
4868
|
-
/* @__PURE__ */
|
|
4869
|
-
/* @__PURE__ */
|
|
4870
|
-
|
|
5091
|
+
return /* @__PURE__ */ jsxs17(Box17, { w: "full", children: [
|
|
5092
|
+
/* @__PURE__ */ jsxs17(Flex10, { justify: "space-between", align: "center", py: 2.5, children: [
|
|
5093
|
+
/* @__PURE__ */ jsxs17(Flex10, { align: "center", gap: 3, children: [
|
|
5094
|
+
/* @__PURE__ */ jsx20(
|
|
5095
|
+
Box17,
|
|
4871
5096
|
{
|
|
4872
5097
|
w: "36px",
|
|
4873
5098
|
h: "36px",
|
|
@@ -4878,11 +5103,11 @@ function ReusableProfile({
|
|
|
4878
5103
|
justifyContent: "center",
|
|
4879
5104
|
color: isReplacingMode ? "orange.500" : "gray.500",
|
|
4880
5105
|
flexShrink: 0,
|
|
4881
|
-
children: /* @__PURE__ */
|
|
5106
|
+
children: /* @__PURE__ */ jsx20(ItemIcon, { size: 15 })
|
|
4882
5107
|
}
|
|
4883
5108
|
),
|
|
4884
|
-
/* @__PURE__ */
|
|
4885
|
-
|
|
5109
|
+
/* @__PURE__ */ jsx20(
|
|
5110
|
+
Text10,
|
|
4886
5111
|
{
|
|
4887
5112
|
fontSize: "sm",
|
|
4888
5113
|
fontWeight: "medium",
|
|
@@ -4891,7 +5116,7 @@ function ReusableProfile({
|
|
|
4891
5116
|
}
|
|
4892
5117
|
)
|
|
4893
5118
|
] }),
|
|
4894
|
-
isReplacingMode ? /* @__PURE__ */
|
|
5119
|
+
isReplacingMode ? /* @__PURE__ */ jsx20(
|
|
4895
5120
|
IconButton3,
|
|
4896
5121
|
{
|
|
4897
5122
|
size: "xs",
|
|
@@ -4901,9 +5126,9 @@ function ReusableProfile({
|
|
|
4901
5126
|
color: "orange.500",
|
|
4902
5127
|
_hover: { bg: "orange.50" },
|
|
4903
5128
|
onClick: () => replaceNavItem(replacingIdx, option.key),
|
|
4904
|
-
children: /* @__PURE__ */
|
|
5129
|
+
children: /* @__PURE__ */ jsx20(LuArrowLeftRight, { size: 13 })
|
|
4905
5130
|
}
|
|
4906
|
-
) : /* @__PURE__ */
|
|
5131
|
+
) : /* @__PURE__ */ jsx20(
|
|
4907
5132
|
IconButton3,
|
|
4908
5133
|
{
|
|
4909
5134
|
size: "xs",
|
|
@@ -4914,19 +5139,19 @@ function ReusableProfile({
|
|
|
4914
5139
|
color: canAdd ? "var(--chakra-colors-primary)" : "gray.300",
|
|
4915
5140
|
_hover: { bg: canAdd ? "blue.50" : "transparent" },
|
|
4916
5141
|
onClick: () => addNavItem(option.key),
|
|
4917
|
-
children: /* @__PURE__ */
|
|
5142
|
+
children: /* @__PURE__ */ jsx20(LuPlus, { size: 13 })
|
|
4918
5143
|
}
|
|
4919
5144
|
)
|
|
4920
5145
|
] }),
|
|
4921
|
-
!isLast && /* @__PURE__ */
|
|
5146
|
+
!isLast && /* @__PURE__ */ jsx20(Separator4, {})
|
|
4922
5147
|
] }, option.key);
|
|
4923
5148
|
}) })
|
|
4924
5149
|
] })
|
|
4925
5150
|
] });
|
|
4926
5151
|
const subViewContent = profileView === "edit-account" ? editAccountContent : profileView === "change-password" ? changePasswordContent : profileView === "navbar-customize" ? navbarCustomizeContent : null;
|
|
4927
5152
|
if (isDesktop) {
|
|
4928
|
-
return /* @__PURE__ */
|
|
4929
|
-
|
|
5153
|
+
return /* @__PURE__ */ jsxs17(
|
|
5154
|
+
Flex10,
|
|
4930
5155
|
{
|
|
4931
5156
|
maxW: "6xl",
|
|
4932
5157
|
mx: "auto",
|
|
@@ -4936,8 +5161,8 @@ function ReusableProfile({
|
|
|
4936
5161
|
p: { md: 6, lg: 8 },
|
|
4937
5162
|
align: "start",
|
|
4938
5163
|
children: [
|
|
4939
|
-
/* @__PURE__ */
|
|
4940
|
-
|
|
5164
|
+
/* @__PURE__ */ jsx20(
|
|
5165
|
+
Box17,
|
|
4941
5166
|
{
|
|
4942
5167
|
w: { md: "300px", lg: "340px" },
|
|
4943
5168
|
flexShrink: 0,
|
|
@@ -4951,8 +5176,8 @@ function ReusableProfile({
|
|
|
4951
5176
|
children: mainContent
|
|
4952
5177
|
}
|
|
4953
5178
|
),
|
|
4954
|
-
/* @__PURE__ */
|
|
4955
|
-
|
|
5179
|
+
/* @__PURE__ */ jsx20(
|
|
5180
|
+
Box17,
|
|
4956
5181
|
{
|
|
4957
5182
|
flex: "1",
|
|
4958
5183
|
minW: 0,
|
|
@@ -4962,8 +5187,8 @@ function ReusableProfile({
|
|
|
4962
5187
|
overflow: "hidden",
|
|
4963
5188
|
bg: "bg",
|
|
4964
5189
|
minH: "540px",
|
|
4965
|
-
children: subViewContent ?? /* @__PURE__ */
|
|
4966
|
-
|
|
5190
|
+
children: subViewContent ?? /* @__PURE__ */ jsxs17(
|
|
5191
|
+
Flex10,
|
|
4967
5192
|
{
|
|
4968
5193
|
direction: "column",
|
|
4969
5194
|
align: "center",
|
|
@@ -4973,8 +5198,8 @@ function ReusableProfile({
|
|
|
4973
5198
|
textAlign: "center",
|
|
4974
5199
|
color: "gray.400",
|
|
4975
5200
|
children: [
|
|
4976
|
-
/* @__PURE__ */
|
|
4977
|
-
|
|
5201
|
+
/* @__PURE__ */ jsx20(
|
|
5202
|
+
Box17,
|
|
4978
5203
|
{
|
|
4979
5204
|
w: "56px",
|
|
4980
5205
|
h: "56px",
|
|
@@ -4984,10 +5209,10 @@ function ReusableProfile({
|
|
|
4984
5209
|
alignItems: "center",
|
|
4985
5210
|
justifyContent: "center",
|
|
4986
5211
|
mb: 4,
|
|
4987
|
-
children: /* @__PURE__ */
|
|
5212
|
+
children: /* @__PURE__ */ jsx20(LuUser, { size: 24 })
|
|
4988
5213
|
}
|
|
4989
5214
|
),
|
|
4990
|
-
/* @__PURE__ */
|
|
5215
|
+
/* @__PURE__ */ jsx20(Text10, { fontSize: "sm", mt: 1, maxW: "280px", children: "Choose Edit Account, Change Password, or Quick Navigation from the menu to update your details here." })
|
|
4991
5216
|
]
|
|
4992
5217
|
}
|
|
4993
5218
|
)
|
|
@@ -4997,19 +5222,19 @@ function ReusableProfile({
|
|
|
4997
5222
|
}
|
|
4998
5223
|
);
|
|
4999
5224
|
}
|
|
5000
|
-
return /* @__PURE__ */
|
|
5225
|
+
return /* @__PURE__ */ jsx20(Box17, { maxW: "480px", mx: "auto", w: "full", minH: "100%", bg: "bg", children: profileView === "main" ? mainContent : subViewContent });
|
|
5001
5226
|
}
|
|
5002
5227
|
var UserProfile_default = ReusableProfile;
|
|
5003
5228
|
export {
|
|
5004
5229
|
beneficiary_default as Beneficiary,
|
|
5005
5230
|
BottomQuickActions_default as BottomQuickActions,
|
|
5006
|
-
floating_label_input_default as FloatingLabelInput,
|
|
5007
5231
|
HealthDeclaration_default as HealthDeclaration,
|
|
5008
5232
|
LifePlanApplication1_default as LifePlanApplication1,
|
|
5009
5233
|
LifePlanApplication2_default as LifePlanApplication2,
|
|
5010
5234
|
LifePlanApplication3_default as LifePlanApplication3,
|
|
5011
5235
|
LifePlanApplicationFormWrapper_default as LifePlanApplicationFormWrapper,
|
|
5012
5236
|
LifePlanApplicationStepWrapper_default as LifePlanApplicationStepWrapper,
|
|
5237
|
+
NotifyInstall,
|
|
5013
5238
|
SharedLifePlanApplication_default as SharedLifePlanApplication,
|
|
5014
5239
|
UserProfile_default as UserProfile,
|
|
5015
5240
|
createEmptyApplicationData,
|