@mieweb/ui 0.8.0-dev.7 → 0.8.0-dev.9
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/CsvBlock-HMAZ7YK5.cjs +15 -0
- package/dist/{CsvBlock-OTFG3PYZ.cjs.map → CsvBlock-HMAZ7YK5.cjs.map} +1 -1
- package/dist/CsvBlock-RPGHFTVD.js +6 -0
- package/dist/{CsvBlock-PUSTBQ5B.js.map → CsvBlock-RPGHFTVD.js.map} +1 -1
- package/dist/SurveyBlock-ID55AT3R.js +6 -0
- package/dist/{SurveyBlock-JLHS3YQD.js.map → SurveyBlock-ID55AT3R.js.map} +1 -1
- package/dist/SurveyBlock-K6HKI7AD.cjs +15 -0
- package/dist/{SurveyBlock-M2ZRTGVJ.cjs.map → SurveyBlock-K6HKI7AD.cjs.map} +1 -1
- package/dist/{chunk-RZJXCI53.js → chunk-22CYDCXA.js} +3 -3
- package/dist/{chunk-RZJXCI53.js.map → chunk-22CYDCXA.js.map} +1 -1
- package/dist/{chunk-OTQ72WX3.js → chunk-2BPIVWAK.js} +3 -3
- package/dist/{chunk-OTQ72WX3.js.map → chunk-2BPIVWAK.js.map} +1 -1
- package/dist/{chunk-6EWJGRC3.js → chunk-3JWAABYI.js} +6 -6
- package/dist/chunk-3JWAABYI.js.map +1 -0
- package/dist/{chunk-4GCF2ITV.cjs → chunk-4J4FDVPS.cjs} +20 -2
- package/dist/chunk-4J4FDVPS.cjs.map +1 -0
- package/dist/{chunk-5J5PEUUA.js → chunk-4KFVGIY6.js} +4 -4
- package/dist/{chunk-5J5PEUUA.js.map → chunk-4KFVGIY6.js.map} +1 -1
- package/dist/{chunk-DWRYYTWT.js → chunk-4KZIXV2J.js} +3 -3
- package/dist/{chunk-DWRYYTWT.js.map → chunk-4KZIXV2J.js.map} +1 -1
- package/dist/{chunk-WIYQI35R.cjs → chunk-4SIGL6QC.cjs} +4 -4
- package/dist/{chunk-WIYQI35R.cjs.map → chunk-4SIGL6QC.cjs.map} +1 -1
- package/dist/{chunk-XK424JFB.cjs → chunk-5EKRH4KE.cjs} +6 -6
- package/dist/chunk-5EKRH4KE.cjs.map +1 -0
- package/dist/{chunk-7LJTW7KF.cjs → chunk-7SFGEE4M.cjs} +5 -5
- package/dist/{chunk-7LJTW7KF.cjs.map → chunk-7SFGEE4M.cjs.map} +1 -1
- package/dist/{chunk-QMKYJ4AT.cjs → chunk-ABTO4RD6.cjs} +3 -3
- package/dist/{chunk-QMKYJ4AT.cjs.map → chunk-ABTO4RD6.cjs.map} +1 -1
- package/dist/{chunk-TQZPYDUL.cjs → chunk-AGYNCPJ2.cjs} +8 -8
- package/dist/{chunk-TQZPYDUL.cjs.map → chunk-AGYNCPJ2.cjs.map} +1 -1
- package/dist/{chunk-JQQABHDN.js → chunk-CAN3A3DC.js} +4 -4
- package/dist/{chunk-JQQABHDN.js.map → chunk-CAN3A3DC.js.map} +1 -1
- package/dist/{chunk-DX64KLSN.js → chunk-CLQUCPV6.js} +4 -4
- package/dist/{chunk-DX64KLSN.js.map → chunk-CLQUCPV6.js.map} +1 -1
- package/dist/{chunk-DJ4JPFWI.js → chunk-CLRWVJOD.js} +3 -3
- package/dist/{chunk-DJ4JPFWI.js.map → chunk-CLRWVJOD.js.map} +1 -1
- package/dist/{chunk-DCBMTFLE.js → chunk-HZ4MBUC3.js} +3 -3
- package/dist/{chunk-DCBMTFLE.js.map → chunk-HZ4MBUC3.js.map} +1 -1
- package/dist/{chunk-U3JU6BI5.cjs → chunk-JEIW7BSV.cjs} +3 -3
- package/dist/{chunk-U3JU6BI5.cjs.map → chunk-JEIW7BSV.cjs.map} +1 -1
- package/dist/{chunk-4CUFXCC5.cjs → chunk-JIU6CVPF.cjs} +3 -3
- package/dist/{chunk-4CUFXCC5.cjs.map → chunk-JIU6CVPF.cjs.map} +1 -1
- package/dist/{chunk-QOJ4V7YX.cjs → chunk-JMZF7ZHF.cjs} +3 -3
- package/dist/{chunk-QOJ4V7YX.cjs.map → chunk-JMZF7ZHF.cjs.map} +1 -1
- package/dist/{chunk-AHUYW673.js → chunk-K52C5UBS.js} +3 -3
- package/dist/{chunk-AHUYW673.js.map → chunk-K52C5UBS.js.map} +1 -1
- package/dist/{chunk-CQFDS7XJ.js → chunk-MUUB35XB.js} +6 -6
- package/dist/chunk-MUUB35XB.js.map +1 -0
- package/dist/{chunk-YMHOF6WA.cjs → chunk-MYAU2ZUC.cjs} +3 -3
- package/dist/{chunk-YMHOF6WA.cjs.map → chunk-MYAU2ZUC.cjs.map} +1 -1
- package/dist/{chunk-2SSAAE3I.cjs → chunk-NFKX6QJP.cjs} +3 -3
- package/dist/{chunk-2SSAAE3I.cjs.map → chunk-NFKX6QJP.cjs.map} +1 -1
- package/dist/{chunk-EPQPUFS6.cjs → chunk-NYJIXR4Y.cjs} +6 -6
- package/dist/chunk-NYJIXR4Y.cjs.map +1 -0
- package/dist/{chunk-ZZJ4ZVYR.cjs → chunk-PJ6CC53R.cjs} +3 -3
- package/dist/{chunk-ZZJ4ZVYR.cjs.map → chunk-PJ6CC53R.cjs.map} +1 -1
- package/dist/{chunk-N3Y43KOB.js → chunk-Q4NRKKIW.js} +11 -4
- package/dist/chunk-Q4NRKKIW.js.map +1 -0
- package/dist/{chunk-K4S4FAYX.cjs → chunk-SNSA6NWD.cjs} +4 -4
- package/dist/{chunk-K4S4FAYX.cjs.map → chunk-SNSA6NWD.cjs.map} +1 -1
- package/dist/{chunk-5U6GETAW.js → chunk-TQDZLRIE.js} +3 -3
- package/dist/chunk-TQDZLRIE.js.map +1 -0
- package/dist/{chunk-SVZ4MQVQ.js → chunk-UBOVDAD7.js} +3 -3
- package/dist/{chunk-SVZ4MQVQ.js.map → chunk-UBOVDAD7.js.map} +1 -1
- package/dist/{chunk-H7QSGFMZ.cjs → chunk-VKNCQIVN.cjs} +11 -4
- package/dist/chunk-VKNCQIVN.cjs.map +1 -0
- package/dist/{chunk-XO3WLK65.js → chunk-VVDE4CHU.js} +3 -3
- package/dist/{chunk-XO3WLK65.js.map → chunk-VVDE4CHU.js.map} +1 -1
- package/dist/{chunk-XS35KPBZ.cjs → chunk-WIAQQNFU.cjs} +4 -4
- package/dist/{chunk-XS35KPBZ.cjs.map → chunk-WIAQQNFU.cjs.map} +1 -1
- package/dist/{chunk-DWCYEPTT.js → chunk-XNU4NTVE.js} +3 -3
- package/dist/{chunk-DWCYEPTT.js.map → chunk-XNU4NTVE.js.map} +1 -1
- package/dist/{chunk-FF235PKY.cjs → chunk-XWZEECEX.cjs} +3 -3
- package/dist/chunk-XWZEECEX.cjs.map +1 -0
- package/dist/{chunk-IGLVKTXA.js → chunk-ZJ5KAZLW.js} +20 -2
- package/dist/chunk-ZJ5KAZLW.js.map +1 -0
- package/dist/components/Alert/index.cjs +5 -5
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Autocomplete/index.cjs +2 -2
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Avatar/index.cjs +5 -5
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +4 -4
- package/dist/components/CountryCodeDropdown/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +8 -8
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/FloatingWindow/index.cjs +3 -3
- package/dist/components/FloatingWindow/index.js +1 -1
- package/dist/components/Markdown/index.cjs +9 -9
- package/dist/components/Markdown/index.js +3 -3
- package/dist/components/MediaEditor/index.cjs +7 -7
- package/dist/components/MediaEditor/index.js +2 -2
- package/dist/components/QuickAction/index.cjs +6 -6
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/RichTextEditor/index.cjs +5 -5
- package/dist/components/RichTextEditor/index.js +2 -2
- package/dist/components/Slider/index.cjs +5 -5
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +20 -20
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +9 -9
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +2 -2
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.js +2 -2
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/esheet.cjs +4 -4
- package/dist/esheet.js +1 -1
- package/dist/index.cjs +432 -409
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -9
- package/dist/index.d.ts +35 -9
- package/dist/index.js +278 -256
- package/dist/index.js.map +1 -1
- package/dist/styles/init.css +25 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/CsvBlock-OTFG3PYZ.cjs +0 -15
- package/dist/CsvBlock-PUSTBQ5B.js +0 -6
- package/dist/SurveyBlock-JLHS3YQD.js +0 -6
- package/dist/SurveyBlock-M2ZRTGVJ.cjs +0 -15
- package/dist/chunk-4GCF2ITV.cjs.map +0 -1
- package/dist/chunk-5U6GETAW.js.map +0 -1
- package/dist/chunk-6EWJGRC3.js.map +0 -1
- package/dist/chunk-CQFDS7XJ.js.map +0 -1
- package/dist/chunk-EPQPUFS6.cjs.map +0 -1
- package/dist/chunk-FF235PKY.cjs.map +0 -1
- package/dist/chunk-H7QSGFMZ.cjs.map +0 -1
- package/dist/chunk-IGLVKTXA.js.map +0 -1
- package/dist/chunk-N3Y43KOB.js.map +0 -1
- package/dist/chunk-XK424JFB.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -20,11 +20,11 @@ var chunkZJCPW6MS_cjs = require('./chunk-ZJCPW6MS.cjs');
|
|
|
20
20
|
var chunkAHHFFXJR_cjs = require('./chunk-AHHFFXJR.cjs');
|
|
21
21
|
var chunk7RV6CAP6_cjs = require('./chunk-7RV6CAP6.cjs');
|
|
22
22
|
var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunkWIAQQNFU_cjs = require('./chunk-WIAQQNFU.cjs');
|
|
24
24
|
var chunkD6UXVOPS_cjs = require('./chunk-D6UXVOPS.cjs');
|
|
25
25
|
var chunkZONEAWPR_cjs = require('./chunk-ZONEAWPR.cjs');
|
|
26
26
|
var chunkIJYTASQQ_cjs = require('./chunk-IJYTASQQ.cjs');
|
|
27
|
-
var
|
|
27
|
+
var chunkAGYNCPJ2_cjs = require('./chunk-AGYNCPJ2.cjs');
|
|
28
28
|
var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
|
|
29
29
|
var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
|
|
30
30
|
var chunk5JZIDILK_cjs = require('./chunk-5JZIDILK.cjs');
|
|
@@ -33,29 +33,29 @@ var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
|
|
|
33
33
|
var chunk4AE2L6AO_cjs = require('./chunk-4AE2L6AO.cjs');
|
|
34
34
|
var chunkGQVL2JKQ_cjs = require('./chunk-GQVL2JKQ.cjs');
|
|
35
35
|
var chunkVPIYTQCV_cjs = require('./chunk-VPIYTQCV.cjs');
|
|
36
|
-
var
|
|
36
|
+
var chunkXWZEECEX_cjs = require('./chunk-XWZEECEX.cjs');
|
|
37
37
|
var chunk5MXO6PEV_cjs = require('./chunk-5MXO6PEV.cjs');
|
|
38
38
|
var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
|
|
39
39
|
var chunkJR4QIU54_cjs = require('./chunk-JR4QIU54.cjs');
|
|
40
40
|
var chunk3SHLOF4V_cjs = require('./chunk-3SHLOF4V.cjs');
|
|
41
|
-
var
|
|
41
|
+
var chunk4SIGL6QC_cjs = require('./chunk-4SIGL6QC.cjs');
|
|
42
42
|
var chunkFN6VHMLM_cjs = require('./chunk-FN6VHMLM.cjs');
|
|
43
43
|
var chunkP3JEMF6E_cjs = require('./chunk-P3JEMF6E.cjs');
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var chunkJIU6CVPF_cjs = require('./chunk-JIU6CVPF.cjs');
|
|
45
|
+
var chunkSNSA6NWD_cjs = require('./chunk-SNSA6NWD.cjs');
|
|
46
46
|
var chunkYIXTGWT4_cjs = require('./chunk-YIXTGWT4.cjs');
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var chunk7SFGEE4M_cjs = require('./chunk-7SFGEE4M.cjs');
|
|
48
|
+
var chunkMYAU2ZUC_cjs = require('./chunk-MYAU2ZUC.cjs');
|
|
49
49
|
require('./chunk-GLXTVCHN.cjs');
|
|
50
50
|
var chunkJP5SGIXA_cjs = require('./chunk-JP5SGIXA.cjs');
|
|
51
51
|
var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
|
|
52
|
-
var
|
|
52
|
+
var chunkABTO4RD6_cjs = require('./chunk-ABTO4RD6.cjs');
|
|
53
53
|
var chunkYVIH26FG_cjs = require('./chunk-YVIH26FG.cjs');
|
|
54
54
|
var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
|
|
55
55
|
var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
|
|
56
|
-
var
|
|
56
|
+
var chunkJMZF7ZHF_cjs = require('./chunk-JMZF7ZHF.cjs');
|
|
57
57
|
var chunkZO4L6C2Y_cjs = require('./chunk-ZO4L6C2Y.cjs');
|
|
58
|
-
var
|
|
58
|
+
var chunkVKNCQIVN_cjs = require('./chunk-VKNCQIVN.cjs');
|
|
59
59
|
var chunk3TXOFAXP_cjs = require('./chunk-3TXOFAXP.cjs');
|
|
60
60
|
require('./chunk-VBWRH4UW.cjs');
|
|
61
61
|
var chunkI2ECTLON_cjs = require('./chunk-I2ECTLON.cjs');
|
|
@@ -64,16 +64,16 @@ var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
|
|
|
64
64
|
var chunkN5O47VGS_cjs = require('./chunk-N5O47VGS.cjs');
|
|
65
65
|
var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
|
|
66
66
|
var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
|
|
67
|
-
var
|
|
67
|
+
var chunk4J4FDVPS_cjs = require('./chunk-4J4FDVPS.cjs');
|
|
68
68
|
var chunkHK3AMH3Q_cjs = require('./chunk-HK3AMH3Q.cjs');
|
|
69
|
-
var
|
|
69
|
+
var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
|
|
70
70
|
var chunkTVLZZI5Q_cjs = require('./chunk-TVLZZI5Q.cjs');
|
|
71
|
-
var
|
|
71
|
+
var chunkPJ6CC53R_cjs = require('./chunk-PJ6CC53R.cjs');
|
|
72
72
|
var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
|
|
73
|
-
var
|
|
74
|
-
var
|
|
73
|
+
var chunkNFKX6QJP_cjs = require('./chunk-NFKX6QJP.cjs');
|
|
74
|
+
var chunkJEIW7BSV_cjs = require('./chunk-JEIW7BSV.cjs');
|
|
75
75
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
76
|
-
var
|
|
76
|
+
var chunk5EKRH4KE_cjs = require('./chunk-5EKRH4KE.cjs');
|
|
77
77
|
var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
|
|
78
78
|
var chunkWWJIW2IH_cjs = require('./chunk-WWJIW2IH.cjs');
|
|
79
79
|
var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
|
|
@@ -458,7 +458,7 @@ function AddContactModal({
|
|
|
458
458
|
size: "sm",
|
|
459
459
|
onClick: handleAddCustomField,
|
|
460
460
|
children: [
|
|
461
|
-
/* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { className: "
|
|
461
|
+
/* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { className: "me-1 h-4 w-4" }),
|
|
462
462
|
"Add Field"
|
|
463
463
|
]
|
|
464
464
|
}
|
|
@@ -511,7 +511,7 @@ function AddContactModal({
|
|
|
511
511
|
}
|
|
512
512
|
),
|
|
513
513
|
/* @__PURE__ */ jsxRuntime.jsx(chunkRDGRKYQ5_cjs.Button, { type: "submit", disabled: isSaving, children: isSaving ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
514
|
-
/* @__PURE__ */ jsxRuntime.jsx(SpinnerIcon2, { className: "
|
|
514
|
+
/* @__PURE__ */ jsxRuntime.jsx(SpinnerIcon2, { className: "me-2 h-4 w-4 animate-spin" }),
|
|
515
515
|
"Saving..."
|
|
516
516
|
] }) : "Save Contact" })
|
|
517
517
|
] })
|
|
@@ -713,7 +713,7 @@ function AdditionalFields({
|
|
|
713
713
|
"data-slot": "additional-fields-header",
|
|
714
714
|
onClick: () => setIsExpanded(!isExpanded),
|
|
715
715
|
className: chunkS5RVSXDV_cjs.cn(
|
|
716
|
-
"flex w-full items-center gap-2 text-
|
|
716
|
+
"flex w-full items-center gap-2 text-start text-sm font-medium",
|
|
717
717
|
"text-gray-700 hover:text-gray-900",
|
|
718
718
|
"dark:text-gray-300 dark:hover:text-gray-100",
|
|
719
719
|
"transition-colors"
|
|
@@ -731,7 +731,7 @@ function AdditionalFields({
|
|
|
731
731
|
)
|
|
732
732
|
}
|
|
733
733
|
),
|
|
734
|
-
value.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300
|
|
734
|
+
value.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300 ms-1 rounded-full px-2 py-0.5 text-xs", children: value.length })
|
|
735
735
|
]
|
|
736
736
|
}
|
|
737
737
|
),
|
|
@@ -1403,7 +1403,7 @@ function AIEmptyState({
|
|
|
1403
1403
|
{
|
|
1404
1404
|
"data-slot": "ai-empty-state-icon",
|
|
1405
1405
|
className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
|
|
1406
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1406
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
|
|
1407
1407
|
}
|
|
1408
1408
|
);
|
|
1409
1409
|
const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
|
|
@@ -1516,7 +1516,7 @@ function AIChat({
|
|
|
1516
1516
|
{
|
|
1517
1517
|
"data-slot": "ai-chat-header-icon",
|
|
1518
1518
|
className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
|
|
1519
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1519
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "sm" })
|
|
1520
1520
|
}
|
|
1521
1521
|
),
|
|
1522
1522
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -1546,7 +1546,7 @@ function AIChat({
|
|
|
1546
1546
|
className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
|
|
1547
1547
|
title: "Clear chat",
|
|
1548
1548
|
"aria-label": "Clear chat",
|
|
1549
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1549
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.RefreshIcon, {})
|
|
1550
1550
|
}
|
|
1551
1551
|
),
|
|
1552
1552
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1557,7 +1557,7 @@ function AIChat({
|
|
|
1557
1557
|
className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
|
|
1558
1558
|
title: "Close chat",
|
|
1559
1559
|
"aria-label": "Close chat",
|
|
1560
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1560
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.CloseIcon, {})
|
|
1561
1561
|
}
|
|
1562
1562
|
)
|
|
1563
1563
|
] })
|
|
@@ -1577,7 +1577,7 @@ function AIChat({
|
|
|
1577
1577
|
onSuggestionSelect: handleSuggestionSelect
|
|
1578
1578
|
}
|
|
1579
1579
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1580
|
-
|
|
1580
|
+
chunkWIAQQNFU_cjs.AIMessageDisplay,
|
|
1581
1581
|
{
|
|
1582
1582
|
message,
|
|
1583
1583
|
userName,
|
|
@@ -1636,6 +1636,126 @@ function AIChat({
|
|
|
1636
1636
|
}
|
|
1637
1637
|
);
|
|
1638
1638
|
}
|
|
1639
|
+
var ToastContext = React13.createContext(null);
|
|
1640
|
+
var toastIdCounter = 0;
|
|
1641
|
+
function generateToastId() {
|
|
1642
|
+
return `toast-${++toastIdCounter}-${Date.now()}`;
|
|
1643
|
+
}
|
|
1644
|
+
function ToastProvider({
|
|
1645
|
+
children,
|
|
1646
|
+
maxToasts = 5,
|
|
1647
|
+
defaultDuration = 5e3,
|
|
1648
|
+
position = "bottom-end"
|
|
1649
|
+
}) {
|
|
1650
|
+
const [toasts, setToasts] = React13.useState([]);
|
|
1651
|
+
const dismiss = React13.useCallback((id) => {
|
|
1652
|
+
setToasts((prev) => {
|
|
1653
|
+
const toast2 = prev.find((t) => t.id === id);
|
|
1654
|
+
if (toast2?.onDismiss) {
|
|
1655
|
+
toast2.onDismiss();
|
|
1656
|
+
}
|
|
1657
|
+
return prev.filter((t) => t.id !== id);
|
|
1658
|
+
});
|
|
1659
|
+
}, []);
|
|
1660
|
+
const dismissAll = React13.useCallback(() => {
|
|
1661
|
+
setToasts((prev) => {
|
|
1662
|
+
prev.forEach((t) => t.onDismiss?.());
|
|
1663
|
+
return [];
|
|
1664
|
+
});
|
|
1665
|
+
}, []);
|
|
1666
|
+
const toast = React13.useCallback(
|
|
1667
|
+
(options) => {
|
|
1668
|
+
const id = generateToastId();
|
|
1669
|
+
const duration = options.duration ?? defaultDuration;
|
|
1670
|
+
const newToast = {
|
|
1671
|
+
...options,
|
|
1672
|
+
id,
|
|
1673
|
+
variant: options.variant ?? "info",
|
|
1674
|
+
dismissible: options.dismissible ?? true,
|
|
1675
|
+
duration
|
|
1676
|
+
};
|
|
1677
|
+
setToasts((prev) => {
|
|
1678
|
+
const updated = [...prev, newToast];
|
|
1679
|
+
if (updated.length > maxToasts) {
|
|
1680
|
+
const removed = updated.slice(0, updated.length - maxToasts);
|
|
1681
|
+
removed.forEach((t) => t.onDismiss?.());
|
|
1682
|
+
return updated.slice(-maxToasts);
|
|
1683
|
+
}
|
|
1684
|
+
return updated;
|
|
1685
|
+
});
|
|
1686
|
+
if (duration > 0) {
|
|
1687
|
+
setTimeout(() => dismiss(id), duration);
|
|
1688
|
+
}
|
|
1689
|
+
return id;
|
|
1690
|
+
},
|
|
1691
|
+
[maxToasts, defaultDuration, dismiss]
|
|
1692
|
+
);
|
|
1693
|
+
const success = React13.useCallback(
|
|
1694
|
+
(message, options) => {
|
|
1695
|
+
return toast({ ...options, message, variant: "success" });
|
|
1696
|
+
},
|
|
1697
|
+
[toast]
|
|
1698
|
+
);
|
|
1699
|
+
const error = React13.useCallback(
|
|
1700
|
+
(message, options) => {
|
|
1701
|
+
return toast({
|
|
1702
|
+
...options,
|
|
1703
|
+
message,
|
|
1704
|
+
variant: "error",
|
|
1705
|
+
duration: options?.duration ?? 7e3
|
|
1706
|
+
// Errors stay longer by default
|
|
1707
|
+
});
|
|
1708
|
+
},
|
|
1709
|
+
[toast]
|
|
1710
|
+
);
|
|
1711
|
+
const warning = React13.useCallback(
|
|
1712
|
+
(message, options) => {
|
|
1713
|
+
return toast({ ...options, message, variant: "warning" });
|
|
1714
|
+
},
|
|
1715
|
+
[toast]
|
|
1716
|
+
);
|
|
1717
|
+
const info = React13.useCallback(
|
|
1718
|
+
(message, options) => {
|
|
1719
|
+
return toast({ ...options, message, variant: "info" });
|
|
1720
|
+
},
|
|
1721
|
+
[toast]
|
|
1722
|
+
);
|
|
1723
|
+
const contextValue = React13.useMemo(
|
|
1724
|
+
() => ({
|
|
1725
|
+
toasts,
|
|
1726
|
+
position,
|
|
1727
|
+
toast,
|
|
1728
|
+
success,
|
|
1729
|
+
error,
|
|
1730
|
+
warning,
|
|
1731
|
+
info,
|
|
1732
|
+
dismiss,
|
|
1733
|
+
dismissAll
|
|
1734
|
+
}),
|
|
1735
|
+
[
|
|
1736
|
+
toasts,
|
|
1737
|
+
position,
|
|
1738
|
+
toast,
|
|
1739
|
+
success,
|
|
1740
|
+
error,
|
|
1741
|
+
warning,
|
|
1742
|
+
info,
|
|
1743
|
+
dismiss,
|
|
1744
|
+
dismissAll
|
|
1745
|
+
]
|
|
1746
|
+
);
|
|
1747
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ToastContext.Provider, { value: contextValue, children });
|
|
1748
|
+
}
|
|
1749
|
+
function useToast() {
|
|
1750
|
+
const context = React13.useContext(ToastContext);
|
|
1751
|
+
if (!context) {
|
|
1752
|
+
throw new Error("useToast must be used within a ToastProvider");
|
|
1753
|
+
}
|
|
1754
|
+
return context;
|
|
1755
|
+
}
|
|
1756
|
+
function useOptionalToast() {
|
|
1757
|
+
return React13.useContext(ToastContext);
|
|
1758
|
+
}
|
|
1639
1759
|
var CheckIcon = () => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1640
1760
|
"svg",
|
|
1641
1761
|
{
|
|
@@ -1767,7 +1887,7 @@ function Toast({
|
|
|
1767
1887
|
className: chunkS5RVSXDV_cjs.cn(
|
|
1768
1888
|
"flex items-start gap-3 rounded-lg border p-4 shadow-lg",
|
|
1769
1889
|
"max-w-[420px] min-w-[300px]",
|
|
1770
|
-
"animate-slide-in-right",
|
|
1890
|
+
"animate-slide-in-right rtl:animate-slide-in-left",
|
|
1771
1891
|
styles.container
|
|
1772
1892
|
),
|
|
1773
1893
|
children: [
|
|
@@ -1800,18 +1920,25 @@ function Toast({
|
|
|
1800
1920
|
);
|
|
1801
1921
|
}
|
|
1802
1922
|
var positionStyles = {
|
|
1803
|
-
"top-
|
|
1923
|
+
"top-start": "top-4 start-4 items-start",
|
|
1804
1924
|
"top-center": "top-4 left-1/2 -translate-x-1/2 items-center",
|
|
1805
|
-
"top-
|
|
1806
|
-
"bottom-
|
|
1925
|
+
"top-end": "top-4 end-4 items-end",
|
|
1926
|
+
"bottom-start": "bottom-4 start-4 items-start",
|
|
1807
1927
|
"bottom-center": "bottom-4 left-1/2 -translate-x-1/2 items-center",
|
|
1808
|
-
"bottom-
|
|
1928
|
+
"bottom-end": "bottom-4 end-4 items-end",
|
|
1929
|
+
// Deprecated physical aliases for the logical positions above.
|
|
1930
|
+
"top-left": "top-4 start-4 items-start",
|
|
1931
|
+
"top-right": "top-4 end-4 items-end",
|
|
1932
|
+
"bottom-left": "bottom-4 start-4 items-start",
|
|
1933
|
+
"bottom-right": "bottom-4 end-4 items-end"
|
|
1809
1934
|
};
|
|
1810
1935
|
function ToastContainer({
|
|
1811
1936
|
toasts,
|
|
1812
|
-
position
|
|
1937
|
+
position,
|
|
1813
1938
|
onDismiss
|
|
1814
1939
|
}) {
|
|
1940
|
+
const context = useOptionalToast();
|
|
1941
|
+
const resolvedPosition = position ?? context?.position ?? "bottom-end";
|
|
1815
1942
|
if (toasts.length === 0) return null;
|
|
1816
1943
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1817
1944
|
"div",
|
|
@@ -1819,7 +1946,7 @@ function ToastContainer({
|
|
|
1819
1946
|
"data-slot": "toast-container",
|
|
1820
1947
|
className: chunkS5RVSXDV_cjs.cn(
|
|
1821
1948
|
"pointer-events-none fixed z-50 flex flex-col gap-2",
|
|
1822
|
-
positionStyles[
|
|
1949
|
+
positionStyles[resolvedPosition]
|
|
1823
1950
|
),
|
|
1824
1951
|
"aria-live": "polite",
|
|
1825
1952
|
"aria-atomic": "true",
|
|
@@ -1827,111 +1954,6 @@ function ToastContainer({
|
|
|
1827
1954
|
}
|
|
1828
1955
|
);
|
|
1829
1956
|
}
|
|
1830
|
-
var ToastContext = React13.createContext(null);
|
|
1831
|
-
var toastIdCounter = 0;
|
|
1832
|
-
function generateToastId() {
|
|
1833
|
-
return `toast-${++toastIdCounter}-${Date.now()}`;
|
|
1834
|
-
}
|
|
1835
|
-
function ToastProvider({
|
|
1836
|
-
children,
|
|
1837
|
-
maxToasts = 5,
|
|
1838
|
-
defaultDuration = 5e3
|
|
1839
|
-
}) {
|
|
1840
|
-
const [toasts, setToasts] = React13.useState([]);
|
|
1841
|
-
const dismiss = React13.useCallback((id) => {
|
|
1842
|
-
setToasts((prev) => {
|
|
1843
|
-
const toast2 = prev.find((t) => t.id === id);
|
|
1844
|
-
if (toast2?.onDismiss) {
|
|
1845
|
-
toast2.onDismiss();
|
|
1846
|
-
}
|
|
1847
|
-
return prev.filter((t) => t.id !== id);
|
|
1848
|
-
});
|
|
1849
|
-
}, []);
|
|
1850
|
-
const dismissAll = React13.useCallback(() => {
|
|
1851
|
-
setToasts((prev) => {
|
|
1852
|
-
prev.forEach((t) => t.onDismiss?.());
|
|
1853
|
-
return [];
|
|
1854
|
-
});
|
|
1855
|
-
}, []);
|
|
1856
|
-
const toast = React13.useCallback(
|
|
1857
|
-
(options) => {
|
|
1858
|
-
const id = generateToastId();
|
|
1859
|
-
const duration = options.duration ?? defaultDuration;
|
|
1860
|
-
const newToast = {
|
|
1861
|
-
...options,
|
|
1862
|
-
id,
|
|
1863
|
-
variant: options.variant ?? "info",
|
|
1864
|
-
dismissible: options.dismissible ?? true,
|
|
1865
|
-
duration
|
|
1866
|
-
};
|
|
1867
|
-
setToasts((prev) => {
|
|
1868
|
-
const updated = [...prev, newToast];
|
|
1869
|
-
if (updated.length > maxToasts) {
|
|
1870
|
-
const removed = updated.slice(0, updated.length - maxToasts);
|
|
1871
|
-
removed.forEach((t) => t.onDismiss?.());
|
|
1872
|
-
return updated.slice(-maxToasts);
|
|
1873
|
-
}
|
|
1874
|
-
return updated;
|
|
1875
|
-
});
|
|
1876
|
-
if (duration > 0) {
|
|
1877
|
-
setTimeout(() => dismiss(id), duration);
|
|
1878
|
-
}
|
|
1879
|
-
return id;
|
|
1880
|
-
},
|
|
1881
|
-
[maxToasts, defaultDuration, dismiss]
|
|
1882
|
-
);
|
|
1883
|
-
const success = React13.useCallback(
|
|
1884
|
-
(message, options) => {
|
|
1885
|
-
return toast({ ...options, message, variant: "success" });
|
|
1886
|
-
},
|
|
1887
|
-
[toast]
|
|
1888
|
-
);
|
|
1889
|
-
const error = React13.useCallback(
|
|
1890
|
-
(message, options) => {
|
|
1891
|
-
return toast({
|
|
1892
|
-
...options,
|
|
1893
|
-
message,
|
|
1894
|
-
variant: "error",
|
|
1895
|
-
duration: options?.duration ?? 7e3
|
|
1896
|
-
// Errors stay longer by default
|
|
1897
|
-
});
|
|
1898
|
-
},
|
|
1899
|
-
[toast]
|
|
1900
|
-
);
|
|
1901
|
-
const warning = React13.useCallback(
|
|
1902
|
-
(message, options) => {
|
|
1903
|
-
return toast({ ...options, message, variant: "warning" });
|
|
1904
|
-
},
|
|
1905
|
-
[toast]
|
|
1906
|
-
);
|
|
1907
|
-
const info = React13.useCallback(
|
|
1908
|
-
(message, options) => {
|
|
1909
|
-
return toast({ ...options, message, variant: "info" });
|
|
1910
|
-
},
|
|
1911
|
-
[toast]
|
|
1912
|
-
);
|
|
1913
|
-
const contextValue = React13.useMemo(
|
|
1914
|
-
() => ({
|
|
1915
|
-
toasts,
|
|
1916
|
-
toast,
|
|
1917
|
-
success,
|
|
1918
|
-
error,
|
|
1919
|
-
warning,
|
|
1920
|
-
info,
|
|
1921
|
-
dismiss,
|
|
1922
|
-
dismissAll
|
|
1923
|
-
}),
|
|
1924
|
-
[toasts, toast, success, error, warning, info, dismiss, dismissAll]
|
|
1925
|
-
);
|
|
1926
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ToastContext.Provider, { value: contextValue, children });
|
|
1927
|
-
}
|
|
1928
|
-
function useToast() {
|
|
1929
|
-
const context = React13.useContext(ToastContext);
|
|
1930
|
-
if (!context) {
|
|
1931
|
-
throw new Error("useToast must be used within a ToastProvider");
|
|
1932
|
-
}
|
|
1933
|
-
return context;
|
|
1934
|
-
}
|
|
1935
1957
|
var MENU_OFFSET_PX = 6;
|
|
1936
1958
|
var MENU_MAX_HEIGHT_PX = 320;
|
|
1937
1959
|
function optionKey(option) {
|
|
@@ -2664,7 +2686,7 @@ function OzwellChat({
|
|
|
2664
2686
|
children: [
|
|
2665
2687
|
(thinking?.enabled || showMessagesNav) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border bg-card text-foreground flex items-center justify-between gap-2 border-b px-2.5 py-[7px] text-xs font-semibold", children: [
|
|
2666
2688
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 items-center gap-1.5", children: thinking?.enabled && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2667
|
-
|
|
2689
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
2668
2690
|
{
|
|
2669
2691
|
open: thinkingMenuOpen,
|
|
2670
2692
|
onOpenChange: setThinkingMenuOpen,
|
|
@@ -2685,8 +2707,8 @@ function OzwellChat({
|
|
|
2685
2707
|
]
|
|
2686
2708
|
}
|
|
2687
2709
|
),
|
|
2688
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2689
|
-
|
|
2710
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkJMZF7ZHF_cjs.DropdownContent, { className: "p-1.5", children: THINKING_OPTIONS.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2711
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
2690
2712
|
{
|
|
2691
2713
|
searchText: `${option.label} ${option.description}`,
|
|
2692
2714
|
onClick: () => {
|
|
@@ -2726,7 +2748,7 @@ function OzwellChat({
|
|
|
2726
2748
|
}
|
|
2727
2749
|
) }),
|
|
2728
2750
|
showMessagesNav && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2729
|
-
|
|
2751
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
2730
2752
|
{
|
|
2731
2753
|
open: messagesMenuOpen,
|
|
2732
2754
|
onOpenChange: setMessagesMenuOpen,
|
|
@@ -2746,8 +2768,8 @@ function OzwellChat({
|
|
|
2746
2768
|
children: "Messages"
|
|
2747
2769
|
}
|
|
2748
2770
|
),
|
|
2749
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2750
|
-
|
|
2771
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkJMZF7ZHF_cjs.DropdownContent, { className: "max-h-60 overflow-y-auto p-1.5", children: userMessageItems.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2772
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
2751
2773
|
{
|
|
2752
2774
|
searchText: item.text,
|
|
2753
2775
|
onClick: () => scrollToMessage(item.chatIndex),
|
|
@@ -3261,7 +3283,7 @@ function OzwellSettingsMenu({
|
|
|
3261
3283
|
fn?.();
|
|
3262
3284
|
};
|
|
3263
3285
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3264
|
-
|
|
3286
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
3265
3287
|
{
|
|
3266
3288
|
trigger,
|
|
3267
3289
|
open,
|
|
@@ -3278,8 +3300,8 @@ function OzwellSettingsMenu({
|
|
|
3278
3300
|
onScroll: updateHasMore,
|
|
3279
3301
|
className: "max-h-[392px] overflow-x-hidden overflow-y-auto",
|
|
3280
3302
|
children: [
|
|
3281
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3282
|
-
onManageVoices && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3303
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJMZF7ZHF_cjs.DropdownHeader, { title: "\u2699 Ozwell settings" }),
|
|
3304
|
+
onManageVoices && /* @__PURE__ */ jsxRuntime.jsx(chunkJMZF7ZHF_cjs.DropdownItem, { onClick: act(onManageVoices), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3283
3305
|
ItemLabel,
|
|
3284
3306
|
{
|
|
3285
3307
|
label: "Your voice",
|
|
@@ -5376,7 +5398,7 @@ function AIChatTrigger({
|
|
|
5376
5398
|
children: badge > 9 ? "9+" : badge
|
|
5377
5399
|
}
|
|
5378
5400
|
),
|
|
5379
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5401
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "lg" })
|
|
5380
5402
|
]
|
|
5381
5403
|
}
|
|
5382
5404
|
);
|
|
@@ -6952,7 +6974,7 @@ function ReconciliationProposalRow({
|
|
|
6952
6974
|
children: [
|
|
6953
6975
|
/* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
|
|
6954
6976
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6955
|
-
|
|
6977
|
+
chunkWIAQQNFU_cjs.SparklesIcon,
|
|
6956
6978
|
{
|
|
6957
6979
|
size: "sm",
|
|
6958
6980
|
className: "text-primary-700 dark:text-primary-400"
|
|
@@ -7008,7 +7030,7 @@ function SourcePill({ source }) {
|
|
|
7008
7030
|
"text-muted-foreground"
|
|
7009
7031
|
),
|
|
7010
7032
|
children: [
|
|
7011
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7033
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "sm" }) }),
|
|
7012
7034
|
source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7013
7035
|
"img",
|
|
7014
7036
|
{
|
|
@@ -7959,8 +7981,8 @@ function ConcernRow({
|
|
|
7959
7981
|
]
|
|
7960
7982
|
}
|
|
7961
7983
|
),
|
|
7962
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7963
|
-
|
|
7984
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunk5EKRH4KE_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7985
|
+
chunk5EKRH4KE_cjs.RowIconButton,
|
|
7964
7986
|
{
|
|
7965
7987
|
label: ACTION_META[action].label,
|
|
7966
7988
|
icon: ACTION_META[action].icon,
|
|
@@ -8389,13 +8411,13 @@ function OrderRow({
|
|
|
8389
8411
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8390
8412
|
/* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
|
|
8391
8413
|
interactive && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8392
|
-
|
|
8414
|
+
chunk5EKRH4KE_cjs.RowActionToolbar,
|
|
8393
8415
|
{
|
|
8394
8416
|
label: `Actions for ${order.display}`,
|
|
8395
8417
|
group: "order",
|
|
8396
8418
|
children: [
|
|
8397
8419
|
canEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8398
|
-
|
|
8420
|
+
chunk5EKRH4KE_cjs.RowIconButton,
|
|
8399
8421
|
{
|
|
8400
8422
|
label: "Edit",
|
|
8401
8423
|
icon: chunkPAM5UUBL_cjs.Pencil,
|
|
@@ -8406,7 +8428,7 @@ function OrderRow({
|
|
|
8406
8428
|
(controls?.moveWithin || controls?.moveToProblem && controls.targets.some(
|
|
8407
8429
|
(t) => t.concernId !== order.concernId
|
|
8408
8430
|
)) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8409
|
-
|
|
8431
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
8410
8432
|
{
|
|
8411
8433
|
open: menuOpen,
|
|
8412
8434
|
onOpenChange: setMenuOpen,
|
|
@@ -8424,7 +8446,7 @@ function OrderRow({
|
|
|
8424
8446
|
children: [
|
|
8425
8447
|
controls?.moveWithin && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8426
8448
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8427
|
-
|
|
8449
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
8428
8450
|
{
|
|
8429
8451
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ChevronUp, { size: 14 }),
|
|
8430
8452
|
onClick: pick(() => controls.moveWithin?.(order, -1)),
|
|
@@ -8432,7 +8454,7 @@ function OrderRow({
|
|
|
8432
8454
|
}
|
|
8433
8455
|
),
|
|
8434
8456
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8435
|
-
|
|
8457
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
8436
8458
|
{
|
|
8437
8459
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ChevronDown, { size: 14 }),
|
|
8438
8460
|
onClick: pick(() => controls.moveWithin?.(order, 1)),
|
|
@@ -8443,9 +8465,9 @@ function OrderRow({
|
|
|
8443
8465
|
controls?.moveToProblem && controls.targets.some(
|
|
8444
8466
|
(t) => t.concernId !== order.concernId
|
|
8445
8467
|
) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8446
|
-
controls.moveWithin && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8468
|
+
controls.moveWithin && /* @__PURE__ */ jsxRuntime.jsx(chunkJMZF7ZHF_cjs.DropdownSeparator, {}),
|
|
8447
8469
|
controls.targets.filter((t) => t.concernId !== order.concernId).map((t) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8448
|
-
|
|
8470
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
8449
8471
|
{
|
|
8450
8472
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Link, { size: 14 }),
|
|
8451
8473
|
onClick: pick(
|
|
@@ -8463,7 +8485,7 @@ function OrderRow({
|
|
|
8463
8485
|
}
|
|
8464
8486
|
),
|
|
8465
8487
|
controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8466
|
-
|
|
8488
|
+
chunk5EKRH4KE_cjs.RowIconButton,
|
|
8467
8489
|
{
|
|
8468
8490
|
label: "Remove",
|
|
8469
8491
|
icon: chunkPAM5UUBL_cjs.Trash2,
|
|
@@ -8632,7 +8654,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8632
8654
|
null
|
|
8633
8655
|
);
|
|
8634
8656
|
const [announcement, setAnnouncement] = chunkYVPC65ZJ_cjs.useLiveAnnouncement();
|
|
8635
|
-
const ambientCodeLookup =
|
|
8657
|
+
const ambientCodeLookup = chunk5EKRH4KE_cjs.useCodeLookupConfig();
|
|
8636
8658
|
const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
|
|
8637
8659
|
const concernById = React13__namespace.useMemo(
|
|
8638
8660
|
() => new Map(concerns.map((c) => [c.concernId, c])),
|
|
@@ -8887,7 +8909,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8887
8909
|
assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
|
|
8888
8910
|
/* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
|
|
8889
8911
|
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8890
|
-
|
|
8912
|
+
chunk5EKRH4KE_cjs.RowActionToolbar,
|
|
8891
8913
|
{
|
|
8892
8914
|
label: `Actions for ${assertion.text}`,
|
|
8893
8915
|
align: "top",
|
|
@@ -8897,7 +8919,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8897
8919
|
if (action === "add-order" && !onAddOrder && !onAction)
|
|
8898
8920
|
return null;
|
|
8899
8921
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8900
|
-
|
|
8922
|
+
chunk5EKRH4KE_cjs.RowIconButton,
|
|
8901
8923
|
{
|
|
8902
8924
|
label: meta.label,
|
|
8903
8925
|
icon: meta.icon,
|
|
@@ -9218,7 +9240,7 @@ function AuthDialog({
|
|
|
9218
9240
|
{
|
|
9219
9241
|
type: "button",
|
|
9220
9242
|
onClick: onClose,
|
|
9221
|
-
className: "text-muted-foreground absolute
|
|
9243
|
+
className: "text-muted-foreground absolute end-4 top-4 rounded-full p-1 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-700 dark:hover:text-gray-300",
|
|
9222
9244
|
"aria-label": "Close",
|
|
9223
9245
|
children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon2, { className: "h-5 w-5" })
|
|
9224
9246
|
}
|
|
@@ -9445,7 +9467,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9445
9467
|
onChange: (e) => setPassword(e.target.value),
|
|
9446
9468
|
required: true,
|
|
9447
9469
|
autoComplete: "current-password",
|
|
9448
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9470
|
+
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
|
|
9449
9471
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9450
9472
|
}
|
|
9451
9473
|
),
|
|
@@ -9454,7 +9476,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9454
9476
|
{
|
|
9455
9477
|
type: "button",
|
|
9456
9478
|
onClick: () => setShowPassword(!showPassword),
|
|
9457
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9479
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9458
9480
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9459
9481
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9460
9482
|
}
|
|
@@ -9470,7 +9492,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9470
9492
|
className: "text-primary-800 focus:ring-primary-500 rounded border-gray-300"
|
|
9471
9493
|
}
|
|
9472
9494
|
),
|
|
9473
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
9495
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground ms-2 text-sm", children: "Remember me" })
|
|
9474
9496
|
] }),
|
|
9475
9497
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9476
9498
|
"button",
|
|
@@ -9554,7 +9576,7 @@ function SignupForm({
|
|
|
9554
9576
|
required: true,
|
|
9555
9577
|
autoComplete: "new-password",
|
|
9556
9578
|
minLength: 8,
|
|
9557
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9579
|
+
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
|
|
9558
9580
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9559
9581
|
}
|
|
9560
9582
|
),
|
|
@@ -9563,7 +9585,7 @@ function SignupForm({
|
|
|
9563
9585
|
{
|
|
9564
9586
|
type: "button",
|
|
9565
9587
|
onClick: () => setShowPassword(!showPassword),
|
|
9566
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9588
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9567
9589
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9568
9590
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9569
9591
|
}
|
|
@@ -9608,7 +9630,7 @@ function SignupForm({
|
|
|
9608
9630
|
className: "text-primary-800 focus:ring-primary-500 mt-0.5 rounded border-gray-300"
|
|
9609
9631
|
}
|
|
9610
9632
|
),
|
|
9611
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
9633
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ms-2 text-sm", children: [
|
|
9612
9634
|
"I agree to the",
|
|
9613
9635
|
" ",
|
|
9614
9636
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -9733,7 +9755,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
9733
9755
|
required: true,
|
|
9734
9756
|
autoComplete: "new-password",
|
|
9735
9757
|
minLength: 8,
|
|
9736
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9758
|
+
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
|
|
9737
9759
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9738
9760
|
}
|
|
9739
9761
|
),
|
|
@@ -9742,7 +9764,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
9742
9764
|
{
|
|
9743
9765
|
type: "button",
|
|
9744
9766
|
onClick: () => setShowPassword(!showPassword),
|
|
9745
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9767
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9746
9768
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9747
9769
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9748
9770
|
}
|
|
@@ -11653,7 +11675,7 @@ function BusinessHoursDaysEditor({
|
|
|
11653
11675
|
),
|
|
11654
11676
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
11655
11677
|
hours.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11656
|
-
|
|
11678
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
11657
11679
|
{
|
|
11658
11680
|
placement: "bottom-end",
|
|
11659
11681
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -11672,7 +11694,7 @@ function BusinessHoursDaysEditor({
|
|
|
11672
11694
|
),
|
|
11673
11695
|
children: [
|
|
11674
11696
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11675
|
-
|
|
11697
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
11676
11698
|
{
|
|
11677
11699
|
onClick: () => handleCopyToAll(dayIndex),
|
|
11678
11700
|
disabled,
|
|
@@ -11680,7 +11702,7 @@ function BusinessHoursDaysEditor({
|
|
|
11680
11702
|
}
|
|
11681
11703
|
),
|
|
11682
11704
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11683
|
-
|
|
11705
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
11684
11706
|
{
|
|
11685
11707
|
onClick: () => handleCopyToWeekdays(dayIndex),
|
|
11686
11708
|
disabled,
|
|
@@ -12555,7 +12577,7 @@ function ConditionEditor({
|
|
|
12555
12577
|
"data-testid": dataTestId
|
|
12556
12578
|
}) {
|
|
12557
12579
|
const prior = concern ? currentAssertion(concern) : void 0;
|
|
12558
|
-
const ambientCodeLookup =
|
|
12580
|
+
const ambientCodeLookup = chunk5EKRH4KE_cjs.useCodeLookupConfig();
|
|
12559
12581
|
const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
|
|
12560
12582
|
const [text, setText] = React13__namespace.useState("");
|
|
12561
12583
|
const [coding, setCoding] = React13__namespace.useState([]);
|
|
@@ -13907,7 +13929,7 @@ function CommandPalette({
|
|
|
13907
13929
|
"data-slot": "command-palette-search",
|
|
13908
13930
|
className: "relative border-b border-gray-200 dark:border-gray-700",
|
|
13909
13931
|
children: [
|
|
13910
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground absolute top-1/2
|
|
13932
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground absolute start-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon2, {}) }),
|
|
13911
13933
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13912
13934
|
"input",
|
|
13913
13935
|
{
|
|
@@ -13920,7 +13942,7 @@ function CommandPalette({
|
|
|
13920
13942
|
autoFocus: true,
|
|
13921
13943
|
"data-testid": `${testId}-input`,
|
|
13922
13944
|
className: chunkS5RVSXDV_cjs.cn(
|
|
13923
|
-
"w-full bg-transparent py-4
|
|
13945
|
+
"w-full bg-transparent py-4 ps-12 pe-12 text-base",
|
|
13924
13946
|
"focus:outline-none dark:text-white dark:placeholder-gray-400"
|
|
13925
13947
|
)
|
|
13926
13948
|
}
|
|
@@ -13930,12 +13952,12 @@ function CommandPalette({
|
|
|
13930
13952
|
{
|
|
13931
13953
|
onClick: () => setQuery(""),
|
|
13932
13954
|
"data-testid": `${testId}-clear`,
|
|
13933
|
-
className: "text-muted-foreground absolute top-1/2
|
|
13955
|
+
className: "text-muted-foreground absolute end-12 top-1/2 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
|
|
13934
13956
|
"aria-label": "Clear search",
|
|
13935
13957
|
children: /* @__PURE__ */ jsxRuntime.jsx(XIcon3, {})
|
|
13936
13958
|
}
|
|
13937
13959
|
),
|
|
13938
|
-
isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-primary-800 absolute top-1/2
|
|
13960
|
+
isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-primary-800 absolute end-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(SpinnerIcon3, {}) })
|
|
13939
13961
|
]
|
|
13940
13962
|
}
|
|
13941
13963
|
),
|
|
@@ -14010,7 +14032,7 @@ function CommandPalette({
|
|
|
14010
14032
|
"span",
|
|
14011
14033
|
{
|
|
14012
14034
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14013
|
-
"
|
|
14035
|
+
"me-2 inline-block h-4 w-4 align-middle",
|
|
14014
14036
|
categoryInfo.colorClass
|
|
14015
14037
|
),
|
|
14016
14038
|
children: categoryInfo.icon
|
|
@@ -14060,7 +14082,7 @@ function CommandPalette({
|
|
|
14060
14082
|
onMouseEnter: () => setSelectedIndex(currentIndex),
|
|
14061
14083
|
disabled: item.disabled,
|
|
14062
14084
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14063
|
-
"flex w-full items-start gap-3 px-4 py-3 text-
|
|
14085
|
+
"flex w-full items-start gap-3 px-4 py-3 text-start transition-colors",
|
|
14064
14086
|
isSelected ? "bg-primary-50 dark:bg-primary-900/20" : "hover:bg-gray-50 dark:hover:bg-gray-700/50",
|
|
14065
14087
|
item.disabled && "cursor-not-allowed opacity-50"
|
|
14066
14088
|
),
|
|
@@ -14116,9 +14138,9 @@ function CommandPalette({
|
|
|
14116
14138
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
14117
14139
|
/* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u2191\u2193" }),
|
|
14118
14140
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "navigate" }),
|
|
14119
|
-
/* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "
|
|
14141
|
+
/* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "ms-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u21B5" }),
|
|
14120
14142
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "select" }),
|
|
14121
|
-
/* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "
|
|
14143
|
+
/* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "ms-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "esc" }),
|
|
14122
14144
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "close" })
|
|
14123
14145
|
] }),
|
|
14124
14146
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
@@ -14156,7 +14178,7 @@ function CommandPaletteTrigger({
|
|
|
14156
14178
|
),
|
|
14157
14179
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14158
14180
|
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon2, {}),
|
|
14159
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-
|
|
14181
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 text-start whitespace-nowrap", children: placeholder }),
|
|
14160
14182
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14161
14183
|
"kbd",
|
|
14162
14184
|
{
|
|
@@ -14229,7 +14251,7 @@ function ConnectionStatusOverlay({
|
|
|
14229
14251
|
{
|
|
14230
14252
|
"data-slot": "connection-overlay-card",
|
|
14231
14253
|
className: chunkS5RVSXDV_cjs.cn(cardVariants2({ animate })),
|
|
14232
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-
|
|
14254
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
|
|
14233
14255
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(ConnectionIcon, { status: connection.status, className: "h-12 w-12" }) }),
|
|
14234
14256
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "connection-overlay-content", className: "flex-1", children: [
|
|
14235
14257
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-gray-700 dark:text-gray-300", children: displayMessage }),
|
|
@@ -14282,7 +14304,7 @@ function UpdateAvailableOverlay({
|
|
|
14282
14304
|
{
|
|
14283
14305
|
"data-slot": "update-overlay-card",
|
|
14284
14306
|
className: chunkS5RVSXDV_cjs.cn(cardVariants2({ animate: true })),
|
|
14285
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-
|
|
14307
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
|
|
14286
14308
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0", children: logoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
14287
14309
|
"img",
|
|
14288
14310
|
{
|
|
@@ -14381,7 +14403,7 @@ function ConnectionStatusBar({
|
|
|
14381
14403
|
"aria-live": "polite",
|
|
14382
14404
|
"data-slot": "connection-bar",
|
|
14383
14405
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14384
|
-
"fixed
|
|
14406
|
+
"fixed start-0 end-0 z-40 px-4 py-2",
|
|
14385
14407
|
position === "top" ? "top-0" : "bottom-0",
|
|
14386
14408
|
isConnecting ? "bg-warning-500 text-warning-900" : "bg-destructive-700 text-white",
|
|
14387
14409
|
className
|
|
@@ -14712,7 +14734,7 @@ function RowActionMenu({
|
|
|
14712
14734
|
role: "menuitem",
|
|
14713
14735
|
type: "button",
|
|
14714
14736
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14715
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
14737
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
14716
14738
|
"transition-colors duration-100",
|
|
14717
14739
|
action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14718
14740
|
),
|
|
@@ -14784,7 +14806,7 @@ function HoverMenu({
|
|
|
14784
14806
|
{
|
|
14785
14807
|
"data-slot": "count-badge-menu-scroll",
|
|
14786
14808
|
className: "max-h-[240px] min-h-0 overflow-y-auto",
|
|
14787
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full text-
|
|
14809
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full text-start text-xs", children: [
|
|
14788
14810
|
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "border-b border-neutral-100 dark:border-neutral-700", children: [
|
|
14789
14811
|
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "#" }),
|
|
14790
14812
|
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "Label" }),
|
|
@@ -14877,14 +14899,14 @@ function ViewModalActions({
|
|
|
14877
14899
|
"aria-expanded": shareOpen,
|
|
14878
14900
|
"aria-haspopup": "menu",
|
|
14879
14901
|
children: [
|
|
14880
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Share, { size: 14, className: "
|
|
14902
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Share, { size: 14, className: "me-1.5" }),
|
|
14881
14903
|
"Share",
|
|
14882
14904
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14883
14905
|
chunkPAM5UUBL_cjs.ChevronDown,
|
|
14884
14906
|
{
|
|
14885
14907
|
size: 12,
|
|
14886
14908
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14887
|
-
"
|
|
14909
|
+
"ms-1 transition-transform duration-150",
|
|
14888
14910
|
shareOpen && "rotate-180"
|
|
14889
14911
|
)
|
|
14890
14912
|
}
|
|
@@ -14911,7 +14933,7 @@ function ViewModalActions({
|
|
|
14911
14933
|
role: "menuitem",
|
|
14912
14934
|
type: "button",
|
|
14913
14935
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14914
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
14936
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14915
14937
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14916
14938
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14917
14939
|
),
|
|
@@ -14931,7 +14953,7 @@ function ViewModalActions({
|
|
|
14931
14953
|
role: "menuitem",
|
|
14932
14954
|
type: "button",
|
|
14933
14955
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14934
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
14956
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14935
14957
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14936
14958
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14937
14959
|
),
|
|
@@ -14951,7 +14973,7 @@ function ViewModalActions({
|
|
|
14951
14973
|
role: "menuitem",
|
|
14952
14974
|
type: "button",
|
|
14953
14975
|
className: chunkS5RVSXDV_cjs.cn(
|
|
14954
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
14976
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14955
14977
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14956
14978
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14957
14979
|
),
|
|
@@ -14980,7 +15002,7 @@ function ViewModalActions({
|
|
|
14980
15002
|
size: "sm",
|
|
14981
15003
|
onClick: () => console.warn("Export", viewTarget),
|
|
14982
15004
|
children: [
|
|
14983
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Download, { size: 14, className: "
|
|
15005
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Download, { size: 14, className: "me-1.5" }),
|
|
14984
15006
|
"Export"
|
|
14985
15007
|
]
|
|
14986
15008
|
}
|
|
@@ -14992,7 +15014,7 @@ function ViewModalActions({
|
|
|
14992
15014
|
size: "sm",
|
|
14993
15015
|
onClick: () => console.warn("Open in chart", viewTarget),
|
|
14994
15016
|
children: [
|
|
14995
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ExternalLink, { size: 14, className: "
|
|
15017
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ExternalLink, { size: 14, className: "me-1.5" }),
|
|
14996
15018
|
"Open in Chart"
|
|
14997
15019
|
]
|
|
14998
15020
|
}
|
|
@@ -15462,7 +15484,7 @@ function CountryDropdown({
|
|
|
15462
15484
|
...props
|
|
15463
15485
|
}) {
|
|
15464
15486
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15465
|
-
|
|
15487
|
+
chunkABTO4RD6_cjs.CountryDropdownBase,
|
|
15466
15488
|
{
|
|
15467
15489
|
...props,
|
|
15468
15490
|
"aria-label": ariaLabel,
|
|
@@ -15476,10 +15498,13 @@ var bannerVariants = classVarianceAuthority.cva(
|
|
|
15476
15498
|
{
|
|
15477
15499
|
variants: {
|
|
15478
15500
|
position: {
|
|
15479
|
-
bottom: "bottom-0
|
|
15480
|
-
top: "top-0
|
|
15481
|
-
"bottom-
|
|
15482
|
-
"bottom-
|
|
15501
|
+
bottom: "bottom-0 start-0 end-0",
|
|
15502
|
+
top: "top-0 start-0 end-0",
|
|
15503
|
+
"bottom-start": "bottom-4 start-4 max-w-md",
|
|
15504
|
+
"bottom-end": "bottom-4 end-4 max-w-md",
|
|
15505
|
+
// Deprecated physical aliases for the logical positions above.
|
|
15506
|
+
"bottom-left": "bottom-4 start-4 max-w-md",
|
|
15507
|
+
"bottom-right": "bottom-4 end-4 max-w-md"
|
|
15483
15508
|
},
|
|
15484
15509
|
variant: {
|
|
15485
15510
|
default: "bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 shadow-lg",
|
|
@@ -15669,7 +15694,7 @@ function CompactCookieBanner({
|
|
|
15669
15694
|
"aria-label": "Cookie consent",
|
|
15670
15695
|
"data-slot": "compact-cookie-banner",
|
|
15671
15696
|
className: chunkS5RVSXDV_cjs.cn(
|
|
15672
|
-
"fixed
|
|
15697
|
+
"fixed start-4 end-4 bottom-4 md:start-auto md:end-4 md:max-w-sm",
|
|
15673
15698
|
"z-50 rounded-lg bg-gray-900 p-4 text-white shadow-xl",
|
|
15674
15699
|
className
|
|
15675
15700
|
),
|
|
@@ -16214,7 +16239,7 @@ var DashboardWidget = React13__namespace.forwardRef(
|
|
|
16214
16239
|
"data-slot": "dashboard-widget-header",
|
|
16215
16240
|
className: chunkS5RVSXDV_cjs.cn(
|
|
16216
16241
|
"border-border flex flex-row items-center justify-between gap-2 border-b px-4 py-3 pb-3",
|
|
16217
|
-
accent && "
|
|
16242
|
+
accent && "ps-6"
|
|
16218
16243
|
),
|
|
16219
16244
|
children: [
|
|
16220
16245
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -16258,7 +16283,7 @@ var DashboardWidget = React13__namespace.forwardRef(
|
|
|
16258
16283
|
chunkMJWFNV3L_cjs.CardContent,
|
|
16259
16284
|
{
|
|
16260
16285
|
"data-slot": "dashboard-widget-body",
|
|
16261
|
-
className: chunkS5RVSXDV_cjs.cn("px-4 py-3", accent && "
|
|
16286
|
+
className: chunkS5RVSXDV_cjs.cn("px-4 py-3", accent && "ps-6"),
|
|
16262
16287
|
children
|
|
16263
16288
|
}
|
|
16264
16289
|
),
|
|
@@ -16266,7 +16291,7 @@ var DashboardWidget = React13__namespace.forwardRef(
|
|
|
16266
16291
|
"div",
|
|
16267
16292
|
{
|
|
16268
16293
|
"data-slot": "dashboard-widget-footer",
|
|
16269
|
-
className: chunkS5RVSXDV_cjs.cn("border-border border-t px-4 py-2", accent && "
|
|
16294
|
+
className: chunkS5RVSXDV_cjs.cn("border-border border-t px-4 py-2", accent && "ps-6"),
|
|
16270
16295
|
children: footer
|
|
16271
16296
|
}
|
|
16272
16297
|
)
|
|
@@ -16358,7 +16383,7 @@ function DashboardWidgetTableInner({
|
|
|
16358
16383
|
{
|
|
16359
16384
|
className: chunkS5RVSXDV_cjs.cn(
|
|
16360
16385
|
"px-4 text-xs",
|
|
16361
|
-
col.align === "right" && "text-
|
|
16386
|
+
col.align === "right" && "text-end",
|
|
16362
16387
|
col.align === "center" && "text-center",
|
|
16363
16388
|
col.className
|
|
16364
16389
|
),
|
|
@@ -16381,7 +16406,7 @@ function DashboardWidgetTableInner({
|
|
|
16381
16406
|
{
|
|
16382
16407
|
className: chunkS5RVSXDV_cjs.cn(
|
|
16383
16408
|
"px-4 py-2 text-sm",
|
|
16384
|
-
col.align === "right" && "text-
|
|
16409
|
+
col.align === "right" && "text-end",
|
|
16385
16410
|
col.align === "center" && "text-center",
|
|
16386
16411
|
col.className
|
|
16387
16412
|
),
|
|
@@ -16389,7 +16414,7 @@ function DashboardWidgetTableInner({
|
|
|
16389
16414
|
},
|
|
16390
16415
|
col.key
|
|
16391
16416
|
)),
|
|
16392
|
-
actions && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { className: "w-0 px-2 py-2 text-
|
|
16417
|
+
actions && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { className: "w-0 px-2 py-2 text-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16393
16418
|
WidgetRowActionMenu,
|
|
16394
16419
|
{
|
|
16395
16420
|
row,
|
|
@@ -16491,7 +16516,7 @@ function WidgetRowActionMenu({
|
|
|
16491
16516
|
role: "menuitem",
|
|
16492
16517
|
type: "button",
|
|
16493
16518
|
className: chunkS5RVSXDV_cjs.cn(
|
|
16494
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
16519
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
16495
16520
|
"transition-colors duration-100",
|
|
16496
16521
|
action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
16497
16522
|
),
|
|
@@ -16553,7 +16578,7 @@ var DashboardWidgetActions = React13__namespace.forwardRef(({ className, actions
|
|
|
16553
16578
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: action.label })
|
|
16554
16579
|
] });
|
|
16555
16580
|
const sharedClasses = chunkS5RVSXDV_cjs.cn(
|
|
16556
|
-
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-
|
|
16581
|
+
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-start transition-colors",
|
|
16557
16582
|
"hover:bg-muted/60 hover:border-primary-200 dark:hover:border-primary-800",
|
|
16558
16583
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
16559
16584
|
action.disabled && "opacity-50 cursor-not-allowed pointer-events-none"
|
|
@@ -16595,7 +16620,7 @@ var DashboardWidgetDataCards = React13__namespace.forwardRef(({ className, items
|
|
|
16595
16620
|
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: item.label }),
|
|
16596
16621
|
/* @__PURE__ */ jsxRuntime.jsxs("dd", { className: "text-foreground mt-0.5 text-sm font-semibold", children: [
|
|
16597
16622
|
item.value,
|
|
16598
|
-
item.unit && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
16623
|
+
item.unit && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground ms-0.5 text-xs font-normal", children: item.unit })
|
|
16599
16624
|
] })
|
|
16600
16625
|
] }, `${item.label}-${i}`)) }),
|
|
16601
16626
|
footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border text-muted-foreground flex items-center gap-2 border-t pt-2 text-xs", children: footer })
|
|
@@ -17368,7 +17393,7 @@ function DateRangeFilter({
|
|
|
17368
17393
|
onChange(range, presetKey);
|
|
17369
17394
|
};
|
|
17370
17395
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17371
|
-
|
|
17396
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
17372
17397
|
{
|
|
17373
17398
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant, size: "md", className, children: [
|
|
17374
17399
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "me-2 h-4 w-4" }),
|
|
@@ -17378,7 +17403,7 @@ function DateRangeFilter({
|
|
|
17378
17403
|
className: "w-56",
|
|
17379
17404
|
"data-slot": "date-range-filter",
|
|
17380
17405
|
children: finalPresets.map((preset) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
17381
|
-
|
|
17406
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
17382
17407
|
{
|
|
17383
17408
|
onClick: () => handlePresetSelect(preset.key),
|
|
17384
17409
|
className: chunkS5RVSXDV_cjs.cn(
|
|
@@ -18244,10 +18269,10 @@ function CameraViewfinder({
|
|
|
18244
18269
|
}
|
|
18245
18270
|
function PermissionDeniedMessage({ onRetry }) {
|
|
18246
18271
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center justify-center gap-4 py-8", children: [
|
|
18247
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18272
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkNYJIXR4Y_cjs.Alert, { variant: "warning", className: "w-full", children: [
|
|
18248
18273
|
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.AlertCircle, { className: "h-5 w-5" }),
|
|
18249
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18250
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18274
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertTitle, { children: "Camera access denied" }),
|
|
18275
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: "Please allow camera access in your browser settings to use this feature. You may need to refresh the page after changing permissions." })
|
|
18251
18276
|
] }),
|
|
18252
18277
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
|
|
18253
18278
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: "To enable camera access:" }),
|
|
@@ -18261,10 +18286,10 @@ function PermissionDeniedMessage({ onRetry }) {
|
|
|
18261
18286
|
] });
|
|
18262
18287
|
}
|
|
18263
18288
|
function CameraUnavailableMessage() {
|
|
18264
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center justify-center gap-4 py-8", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18289
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center justify-center gap-4 py-8", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkNYJIXR4Y_cjs.Alert, { variant: "danger", children: [
|
|
18265
18290
|
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.AlertCircle, { className: "h-5 w-5" }),
|
|
18266
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18267
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18291
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertTitle, { children: "Camera unavailable" }),
|
|
18292
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: "No camera was detected on this device. Please ensure your camera is connected and not in use by another application." })
|
|
18268
18293
|
] }) });
|
|
18269
18294
|
}
|
|
18270
18295
|
function PhotoPreview({
|
|
@@ -18773,10 +18798,10 @@ function DocumentScanner({
|
|
|
18773
18798
|
}
|
|
18774
18799
|
if (state === "error") {
|
|
18775
18800
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-4 py-8", children: [
|
|
18776
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18801
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkNYJIXR4Y_cjs.Alert, { variant: "danger", className: "w-full", children: [
|
|
18777
18802
|
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.AlertCircle, { className: "h-5 w-5" }),
|
|
18778
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18779
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18803
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertTitle, { children: "Processing failed" }),
|
|
18804
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: error })
|
|
18780
18805
|
] }),
|
|
18781
18806
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-3", children: [
|
|
18782
18807
|
/* @__PURE__ */ jsxRuntime.jsx(chunkRDGRKYQ5_cjs.Button, { variant: "secondary", onClick: handleClearAll, children: "Start over" }),
|
|
@@ -18795,15 +18820,15 @@ function DocumentScanner({
|
|
|
18795
18820
|
}
|
|
18796
18821
|
),
|
|
18797
18822
|
validationErrors.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18798
|
-
|
|
18823
|
+
chunkNYJIXR4Y_cjs.Alert,
|
|
18799
18824
|
{
|
|
18800
18825
|
variant: "warning",
|
|
18801
18826
|
dismissible: true,
|
|
18802
18827
|
onDismiss: () => setValidationErrors([]),
|
|
18803
18828
|
children: [
|
|
18804
18829
|
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.AlertCircle, { className: "h-5 w-5" }),
|
|
18805
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18806
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18830
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertTitle, { children: "Some files were not added" }),
|
|
18831
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-2 list-inside list-disc space-y-1", children: validationErrors.map((err, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "text-sm", children: [
|
|
18807
18832
|
/* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
|
|
18808
18833
|
err.file.name,
|
|
18809
18834
|
":"
|
|
@@ -18937,15 +18962,15 @@ function DocumentScanner({
|
|
|
18937
18962
|
] })
|
|
18938
18963
|
] }),
|
|
18939
18964
|
validationErrors.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18940
|
-
|
|
18965
|
+
chunkNYJIXR4Y_cjs.Alert,
|
|
18941
18966
|
{
|
|
18942
18967
|
variant: "warning",
|
|
18943
18968
|
dismissible: true,
|
|
18944
18969
|
onDismiss: () => setValidationErrors([]),
|
|
18945
18970
|
children: [
|
|
18946
18971
|
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.AlertCircle, { className: "h-5 w-5" }),
|
|
18947
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18948
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18972
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertTitle, { children: "Invalid files" }),
|
|
18973
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-2 list-inside list-disc space-y-1", children: validationErrors.map((err, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "text-sm", children: [
|
|
18949
18974
|
/* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
|
|
18950
18975
|
err.file.name,
|
|
18951
18976
|
":"
|
|
@@ -20556,7 +20581,7 @@ function EditUserRoleModal({
|
|
|
20556
20581
|
"svg",
|
|
20557
20582
|
{
|
|
20558
20583
|
"aria-hidden": "true",
|
|
20559
|
-
className: "
|
|
20584
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20560
20585
|
fill: "none",
|
|
20561
20586
|
viewBox: "0 0 24 24",
|
|
20562
20587
|
children: [
|
|
@@ -21098,7 +21123,7 @@ function EmployeeProfileCard({
|
|
|
21098
21123
|
children: [
|
|
21099
21124
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative mb-3", "data-slot": "employee-card-avatar", children: [
|
|
21100
21125
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21101
|
-
|
|
21126
|
+
chunkJEIW7BSV_cjs.Avatar,
|
|
21102
21127
|
{
|
|
21103
21128
|
src: employee.photoUrl,
|
|
21104
21129
|
alt: fullName,
|
|
@@ -21123,7 +21148,7 @@ function EmployeeProfileCard({
|
|
|
21123
21148
|
{
|
|
21124
21149
|
type: "button",
|
|
21125
21150
|
onClick: () => fileInputRef.current?.click(),
|
|
21126
|
-
className: "bg-primary-800 hover:bg-primary-900 absolute
|
|
21151
|
+
className: "bg-primary-800 hover:bg-primary-900 absolute end-0 bottom-0 rounded-full p-1.5 text-white shadow-md transition-colors",
|
|
21127
21152
|
"aria-label": "Edit photo",
|
|
21128
21153
|
"data-slot": "employee-card-photo-edit",
|
|
21129
21154
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Edit2, { className: "h-3 w-3" })
|
|
@@ -21502,7 +21527,7 @@ function EmployerContactCard({
|
|
|
21502
21527
|
onClick: () => onContactClick?.(contact),
|
|
21503
21528
|
onKeyDown: (e) => e.key === "Enter" && onContactClick?.(contact),
|
|
21504
21529
|
children: [
|
|
21505
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21530
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJEIW7BSV_cjs.Avatar, { name: contact.name, size: "sm" }),
|
|
21506
21531
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
21507
21532
|
"div",
|
|
21508
21533
|
{
|
|
@@ -22121,7 +22146,7 @@ function EmployerView({
|
|
|
22121
22146
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardContent, { children: (() => {
|
|
22122
22147
|
const primary = employer.contacts.find((c) => c.isPrimary) || employer.contacts[0];
|
|
22123
22148
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
22124
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22149
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJEIW7BSV_cjs.Avatar, { name: primary.name, size: "md" }),
|
|
22125
22150
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
22126
22151
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: primary.name }),
|
|
22127
22152
|
primary.role && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: primary.role }),
|
|
@@ -22219,7 +22244,7 @@ function EmployerView({
|
|
|
22219
22244
|
className: "flex items-center justify-between rounded-lg bg-gray-50 p-3 dark:bg-gray-800",
|
|
22220
22245
|
children: [
|
|
22221
22246
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
22222
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22247
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJEIW7BSV_cjs.Avatar, { name: contact.name, size: "sm" }),
|
|
22223
22248
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
22224
22249
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
22225
22250
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: contact.name }),
|
|
@@ -22761,7 +22786,7 @@ function ServerErrorPage({
|
|
|
22761
22786
|
showErrorDetails && errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22762
22787
|
"div",
|
|
22763
22788
|
{
|
|
22764
|
-
className: "mt-4 max-w-2xl text-
|
|
22789
|
+
className: "mt-4 max-w-2xl text-start",
|
|
22765
22790
|
"data-slot": "error-page-details",
|
|
22766
22791
|
children: /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "rounded-lg bg-gray-100 p-4 dark:bg-gray-800", children: [
|
|
22767
22792
|
/* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-300", children: "Error Details" }),
|
|
@@ -23286,7 +23311,7 @@ function FileManager({
|
|
|
23286
23311
|
chunkIJYTASQQ_cjs.TableCell,
|
|
23287
23312
|
{
|
|
23288
23313
|
"data-slot": "file-manager-actions",
|
|
23289
|
-
className: "text-
|
|
23314
|
+
className: "text-end",
|
|
23290
23315
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23291
23316
|
FileRowActionMenu,
|
|
23292
23317
|
{
|
|
@@ -23441,7 +23466,7 @@ function FileRowActionMenu({
|
|
|
23441
23466
|
role: "menuitem",
|
|
23442
23467
|
type: "button",
|
|
23443
23468
|
className: chunkS5RVSXDV_cjs.cn(
|
|
23444
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
23469
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
23445
23470
|
"transition-colors duration-100",
|
|
23446
23471
|
action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
23447
23472
|
),
|
|
@@ -23810,7 +23835,7 @@ function HelpSupportPanel({
|
|
|
23810
23835
|
"svg",
|
|
23811
23836
|
{
|
|
23812
23837
|
"aria-hidden": "true",
|
|
23813
|
-
className: "
|
|
23838
|
+
className: "me-2 h-4 w-4",
|
|
23814
23839
|
fill: "none",
|
|
23815
23840
|
stroke: "currentColor",
|
|
23816
23841
|
viewBox: "0 0 24 24",
|
|
@@ -23834,7 +23859,7 @@ function HelpSupportPanel({
|
|
|
23834
23859
|
"svg",
|
|
23835
23860
|
{
|
|
23836
23861
|
"aria-hidden": "true",
|
|
23837
|
-
className: "
|
|
23862
|
+
className: "me-2 h-4 w-4",
|
|
23838
23863
|
fill: "none",
|
|
23839
23864
|
stroke: "currentColor",
|
|
23840
23865
|
viewBox: "0 0 24 24",
|
|
@@ -23877,7 +23902,7 @@ function HelpSupportPanel({
|
|
|
23877
23902
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23878
23903
|
"button",
|
|
23879
23904
|
{
|
|
23880
|
-
className: "flex w-full items-center justify-between px-4 py-3 text-
|
|
23905
|
+
className: "flex w-full items-center justify-between px-4 py-3 text-start transition-colors hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
23881
23906
|
onClick: () => setExpandedFaq(
|
|
23882
23907
|
expandedFaq === faq.id ? null : faq.id
|
|
23883
23908
|
),
|
|
@@ -24535,10 +24560,10 @@ function InventoryManager({
|
|
|
24535
24560
|
/* @__PURE__ */ jsxRuntime.jsx("hr", { className: "border-border mb-4" }),
|
|
24536
24561
|
logEntries.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full", children: [
|
|
24537
24562
|
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "border-border border-b", children: [
|
|
24538
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24539
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24540
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24541
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24563
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
24564
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "User" }),
|
|
24565
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Change" }),
|
|
24566
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground py-2 text-end text-xs font-medium tracking-wider uppercase", children: "Quantity" })
|
|
24542
24567
|
] }) }),
|
|
24543
24568
|
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "divide-border/50 divide-y", children: logEntries.map((entry) => /* @__PURE__ */ jsxRuntime.jsxs(React13__namespace.Fragment, { children: [
|
|
24544
24569
|
/* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
@@ -24552,7 +24577,7 @@ function InventoryManager({
|
|
|
24552
24577
|
),
|
|
24553
24578
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.createdBy.name }),
|
|
24554
24579
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.type === "credit" ? "Added" : "Removed" }),
|
|
24555
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "py-2 text-
|
|
24580
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "py-2 text-end text-sm", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24556
24581
|
"span",
|
|
24557
24582
|
{
|
|
24558
24583
|
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-700 dark:text-green-400" : "text-red-700 dark:text-red-400"}`,
|
|
@@ -24599,7 +24624,7 @@ function InventoryManager({
|
|
|
24599
24624
|
}
|
|
24600
24625
|
) })
|
|
24601
24626
|
] }),
|
|
24602
|
-
entry.memo && /* @__PURE__ */ jsxRuntime.jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 4, className: "px-2 py-1 text-
|
|
24627
|
+
entry.memo && /* @__PURE__ */ jsxRuntime.jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 4, className: "px-2 py-1 text-end", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground text-xs italic", children: [
|
|
24603
24628
|
"Memo: ",
|
|
24604
24629
|
entry.memo
|
|
24605
24630
|
] }) }) })
|
|
@@ -24647,13 +24672,13 @@ function InventoryManager({
|
|
|
24647
24672
|
{
|
|
24648
24673
|
type: "button",
|
|
24649
24674
|
onClick: () => setUpdateType("debit"),
|
|
24650
|
-
className: `rounded-
|
|
24675
|
+
className: `rounded-s-md border px-4 py-2 text-sm font-medium transition-colors ${updateType === "debit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
|
|
24651
24676
|
children: [
|
|
24652
24677
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24653
24678
|
"svg",
|
|
24654
24679
|
{
|
|
24655
24680
|
"aria-hidden": "true",
|
|
24656
|
-
className: "
|
|
24681
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24657
24682
|
fill: "none",
|
|
24658
24683
|
viewBox: "0 0 24 24",
|
|
24659
24684
|
stroke: "currentColor",
|
|
@@ -24677,13 +24702,13 @@ function InventoryManager({
|
|
|
24677
24702
|
{
|
|
24678
24703
|
type: "button",
|
|
24679
24704
|
onClick: () => setUpdateType("credit"),
|
|
24680
|
-
className: `rounded-
|
|
24705
|
+
className: `rounded-e-md border-e border-t border-b px-4 py-2 text-sm font-medium transition-colors ${updateType === "credit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
|
|
24681
24706
|
children: [
|
|
24682
24707
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24683
24708
|
"svg",
|
|
24684
24709
|
{
|
|
24685
24710
|
"aria-hidden": "true",
|
|
24686
|
-
className: "
|
|
24711
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24687
24712
|
fill: "none",
|
|
24688
24713
|
viewBox: "0 0 24 24",
|
|
24689
24714
|
stroke: "currentColor",
|
|
@@ -24976,7 +25001,7 @@ function InviteUserModal({
|
|
|
24976
25001
|
"svg",
|
|
24977
25002
|
{
|
|
24978
25003
|
"aria-hidden": "true",
|
|
24979
|
-
className: "
|
|
25004
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
24980
25005
|
"data-slot": "invite-user-spinner",
|
|
24981
25006
|
fill: "none",
|
|
24982
25007
|
viewBox: "0 0 24 24",
|
|
@@ -26058,7 +26083,7 @@ var DEFAULT_LANGUAGES = [
|
|
|
26058
26083
|
{ code: "hi", name: "\u0939\u093F\u0928\u094D\u0926\u0940", englishName: "Hindi", flag: "\u{1F1EE}\u{1F1F3}" },
|
|
26059
26084
|
{ code: "ru", name: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", englishName: "Russian", flag: "\u{1F1F7}\u{1F1FA}" }
|
|
26060
26085
|
];
|
|
26061
|
-
var selectorVariants = classVarianceAuthority.cva("relative inline-block text-
|
|
26086
|
+
var selectorVariants = classVarianceAuthority.cva("relative inline-block text-start", {
|
|
26062
26087
|
variants: {
|
|
26063
26088
|
size: {
|
|
26064
26089
|
sm: "",
|
|
@@ -26235,7 +26260,7 @@ function LanguageSelectorNative({
|
|
|
26235
26260
|
disabled,
|
|
26236
26261
|
"aria-label": label,
|
|
26237
26262
|
className: chunkS5RVSXDV_cjs.cn(
|
|
26238
|
-
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
26263
|
+
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2 pe-8 text-sm",
|
|
26239
26264
|
"focus:border-primary-500 focus:ring-primary-500 text-gray-700 focus:ring-2 focus:outline-none",
|
|
26240
26265
|
"dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200",
|
|
26241
26266
|
disabled && "cursor-not-allowed opacity-50",
|
|
@@ -26250,7 +26275,7 @@ function LanguageSelectorNative({
|
|
|
26250
26275
|
]
|
|
26251
26276
|
}
|
|
26252
26277
|
),
|
|
26253
|
-
/* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon2, { className: "pointer-events-none absolute top-1/2
|
|
26278
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon2, { className: "pointer-events-none absolute end-2 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400" })
|
|
26254
26279
|
] });
|
|
26255
26280
|
}
|
|
26256
26281
|
function LanguageSelectorInline({
|
|
@@ -26280,13 +26305,13 @@ function LanguageSelectorInline({
|
|
|
26280
26305
|
"data-slot": "language-selector-inline-option",
|
|
26281
26306
|
className: chunkS5RVSXDV_cjs.cn(
|
|
26282
26307
|
"px-3 py-1.5 text-sm transition-colors",
|
|
26283
|
-
index === 0 && "rounded-
|
|
26284
|
-
index === languages.length - 1 && "rounded-
|
|
26285
|
-
index > 0 && "border-
|
|
26308
|
+
index === 0 && "rounded-s-lg",
|
|
26309
|
+
index === languages.length - 1 && "rounded-e-lg",
|
|
26310
|
+
index > 0 && "border-s border-gray-200 dark:border-gray-700",
|
|
26286
26311
|
language.code === value ? "bg-primary-800 text-white" : "bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"
|
|
26287
26312
|
),
|
|
26288
26313
|
children: [
|
|
26289
|
-
showFlags && language.flag && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "
|
|
26314
|
+
showFlags && language.flag && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "me-1", children: language.flag }),
|
|
26290
26315
|
language.code.toUpperCase()
|
|
26291
26316
|
]
|
|
26292
26317
|
},
|
|
@@ -26419,7 +26444,7 @@ function LoadingBar({
|
|
|
26419
26444
|
showPercentage && !isIndeterminate && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26420
26445
|
"p",
|
|
26421
26446
|
{
|
|
26422
|
-
className: "text-muted-foreground mt-1 text-
|
|
26447
|
+
className: "text-muted-foreground mt-1 text-end text-sm",
|
|
26423
26448
|
"data-slot": "loading-bar-percentage",
|
|
26424
26449
|
children: [
|
|
26425
26450
|
Math.round(progress),
|
|
@@ -26859,7 +26884,7 @@ function NotificationCenter({
|
|
|
26859
26884
|
className: "flex gap-3",
|
|
26860
26885
|
children: [
|
|
26861
26886
|
notification.senderAvatar || notification.senderName ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
26862
|
-
|
|
26887
|
+
chunkJEIW7BSV_cjs.Avatar,
|
|
26863
26888
|
{
|
|
26864
26889
|
src: notification.senderAvatar,
|
|
26865
26890
|
name: notification.senderName,
|
|
@@ -27077,7 +27102,7 @@ function OnboardingWizard({
|
|
|
27077
27102
|
className: "container mx-auto flex flex-1 flex-col p-4",
|
|
27078
27103
|
"data-slot": "onboarding-content",
|
|
27079
27104
|
children: [
|
|
27080
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27105
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.Alert, { variant: "danger", className: "mb-4", children: error }),
|
|
27081
27106
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: currentStepData?.content }),
|
|
27082
27107
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
27083
27108
|
"div",
|
|
@@ -27420,7 +27445,7 @@ function OrderCard({
|
|
|
27420
27445
|
] }),
|
|
27421
27446
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27422
27447
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27423
|
-
|
|
27448
|
+
chunkJEIW7BSV_cjs.Avatar,
|
|
27424
27449
|
{
|
|
27425
27450
|
name: `${employee.firstName} ${employee.lastName}`,
|
|
27426
27451
|
size: "sm"
|
|
@@ -28375,7 +28400,7 @@ var defaultOrderTabs = [
|
|
|
28375
28400
|
{ id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
|
|
28376
28401
|
];
|
|
28377
28402
|
function orderToMedication(order) {
|
|
28378
|
-
const sig = order.detail ?
|
|
28403
|
+
const sig = order.detail ? chunk5EKRH4KE_cjs.parseSig(order.detail) : void 0;
|
|
28379
28404
|
return {
|
|
28380
28405
|
id: order.orderId,
|
|
28381
28406
|
name: order.display,
|
|
@@ -28383,7 +28408,7 @@ function orderToMedication(order) {
|
|
|
28383
28408
|
status: "unreconciled",
|
|
28384
28409
|
indication: order.indication,
|
|
28385
28410
|
pharmacyNotes: order.notes,
|
|
28386
|
-
...
|
|
28411
|
+
...chunk5EKRH4KE_cjs.labelToMedicationFields(order.display),
|
|
28387
28412
|
...sig && {
|
|
28388
28413
|
route: sig.route,
|
|
28389
28414
|
frequency: sig.frequency,
|
|
@@ -28454,7 +28479,7 @@ function BaseOrderEditor({
|
|
|
28454
28479
|
onSave
|
|
28455
28480
|
}) {
|
|
28456
28481
|
const config = TYPE_CONFIG[type];
|
|
28457
|
-
const ambientCodeLookup =
|
|
28482
|
+
const ambientCodeLookup = chunk5EKRH4KE_cjs.useCodeLookupConfig();
|
|
28458
28483
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
28459
28484
|
const [draft, setDraft] = React13__namespace.useState(
|
|
28460
28485
|
() => order ?? {
|
|
@@ -28653,7 +28678,7 @@ function OrderEditor({
|
|
|
28653
28678
|
display: ""
|
|
28654
28679
|
};
|
|
28655
28680
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28656
|
-
|
|
28681
|
+
chunk5EKRH4KE_cjs.MedicationEditor,
|
|
28657
28682
|
{
|
|
28658
28683
|
open,
|
|
28659
28684
|
medication: order ? orderToMedication(order) : void 0,
|
|
@@ -29540,7 +29565,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
29540
29565
|
}
|
|
29541
29566
|
),
|
|
29542
29567
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29543
|
-
|
|
29568
|
+
chunkJEIW7BSV_cjs.Avatar,
|
|
29544
29569
|
{
|
|
29545
29570
|
name: formatFullName(patient.name),
|
|
29546
29571
|
src: patient.photo,
|
|
@@ -30821,11 +30846,11 @@ function PendingClaimsTable({
|
|
|
30821
30846
|
children: [
|
|
30822
30847
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxRuntime.jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
|
|
30823
30848
|
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
30824
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30825
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30826
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30849
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
|
|
30850
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Role" }),
|
|
30851
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
|
|
30827
30852
|
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
30828
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30853
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Actions" })
|
|
30829
30854
|
] }) }),
|
|
30830
30855
|
/* @__PURE__ */ jsxRuntime.jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30831
30856
|
"tr",
|
|
@@ -30834,7 +30859,7 @@ function PendingClaimsTable({
|
|
|
30834
30859
|
className: "bg-white dark:bg-gray-900",
|
|
30835
30860
|
children: [
|
|
30836
30861
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
30837
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30862
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJEIW7BSV_cjs.Avatar, { name: claim.claimantName, size: "sm" }),
|
|
30838
30863
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
30839
30864
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: claim.claimantName }),
|
|
30840
30865
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: claim.claimantEmail })
|
|
@@ -30843,7 +30868,7 @@ function PendingClaimsTable({
|
|
|
30843
30868
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: claim.claimantRole || "Not specified" }) }),
|
|
30844
30869
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
|
|
30845
30870
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(claim.status), children: claim.status }) }),
|
|
30846
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4 text-
|
|
30871
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "px-4 py-4 text-end", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
30847
30872
|
onViewDetails && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30848
30873
|
chunkRDGRKYQ5_cjs.Button,
|
|
30849
30874
|
{
|
|
@@ -30893,7 +30918,7 @@ function PendingClaimsTable({
|
|
|
30893
30918
|
children: [
|
|
30894
30919
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
30895
30920
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
30896
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30921
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJEIW7BSV_cjs.Avatar, { name: claim.claimantName, size: "sm" }),
|
|
30897
30922
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
30898
30923
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: claim.claimantName }),
|
|
30899
30924
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: claim.claimantEmail })
|
|
@@ -30969,7 +30994,7 @@ function PermissionItem({
|
|
|
30969
30994
|
});
|
|
30970
30995
|
}
|
|
30971
30996
|
};
|
|
30972
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS5RVSXDV_cjs.cn("py-1", level > 0 && "
|
|
30997
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS5RVSXDV_cjs.cn("py-1", level > 0 && "ms-4"), "data-slot": "perm-item", children: [
|
|
30973
30998
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-slot": "perm-item-row", children: [
|
|
30974
30999
|
hasChildren && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30975
31000
|
"button",
|
|
@@ -31115,13 +31140,13 @@ function PermissionsEditor({
|
|
|
31115
31140
|
]
|
|
31116
31141
|
}
|
|
31117
31142
|
),
|
|
31118
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4
|
|
31143
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4 ps-2", "data-slot": "perm-groups", children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
31119
31144
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
31120
31145
|
"button",
|
|
31121
31146
|
{
|
|
31122
31147
|
type: "button",
|
|
31123
31148
|
onClick: () => toggleGroup(group.id),
|
|
31124
|
-
className: "hover:bg-muted/50 -
|
|
31149
|
+
className: "hover:bg-muted/50 -ms-2 flex w-full items-center gap-2 rounded py-2 ps-2 text-start",
|
|
31125
31150
|
"data-slot": "perm-group-header",
|
|
31126
31151
|
children: [
|
|
31127
31152
|
expandedGroups.has(group.id) ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "text-muted-foreground h-4 w-4" }),
|
|
@@ -31132,7 +31157,7 @@ function PermissionsEditor({
|
|
|
31132
31157
|
expandedGroups.has(group.id) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31133
31158
|
"div",
|
|
31134
31159
|
{
|
|
31135
|
-
className: "mt-2
|
|
31160
|
+
className: "ms-6 mt-2 border-s ps-4",
|
|
31136
31161
|
"data-slot": "perm-group-list",
|
|
31137
31162
|
children: group.permissions.map((permission) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31138
31163
|
PermissionItem,
|
|
@@ -31184,7 +31209,7 @@ function PermissionsEditor({
|
|
|
31184
31209
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31185
31210
|
"div",
|
|
31186
31211
|
{
|
|
31187
|
-
className: "max-h-60 space-y-2 overflow-y-auto
|
|
31212
|
+
className: "max-h-60 space-y-2 overflow-y-auto ps-2",
|
|
31188
31213
|
"data-slot": "perm-employer-list",
|
|
31189
31214
|
children: employers.map((employer) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31190
31215
|
"div",
|
|
@@ -31211,7 +31236,7 @@ function PermissionsEditor({
|
|
|
31211
31236
|
employer.address && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31212
31237
|
"span",
|
|
31213
31238
|
{
|
|
31214
|
-
className: "text-muted-foreground
|
|
31239
|
+
className: "text-muted-foreground ms-2",
|
|
31215
31240
|
"data-slot": "perm-employer-addr",
|
|
31216
31241
|
children: [
|
|
31217
31242
|
"| ",
|
|
@@ -31309,7 +31334,7 @@ function RelevanceControl({
|
|
|
31309
31334
|
{
|
|
31310
31335
|
role: "toolbar",
|
|
31311
31336
|
"aria-label": `Relevance for ${labelPrefix}`,
|
|
31312
|
-
onKeyDown:
|
|
31337
|
+
onKeyDown: chunk5EKRH4KE_cjs.toolbarKeyNav,
|
|
31313
31338
|
className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
|
|
31314
31339
|
children: RELEVANCE_ORDER.map((relevance) => {
|
|
31315
31340
|
const active = value === relevance;
|
|
@@ -31610,7 +31635,7 @@ function ProductVersion({
|
|
|
31610
31635
|
name,
|
|
31611
31636
|
" ",
|
|
31612
31637
|
versionDisplay,
|
|
31613
|
-
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "
|
|
31638
|
+
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ms-1", children: [
|
|
31614
31639
|
"(",
|
|
31615
31640
|
build,
|
|
31616
31641
|
")"
|
|
@@ -35715,7 +35740,7 @@ function RowActionsMenu({
|
|
|
35715
35740
|
const showRemove = onRemove && !isCurrentUser;
|
|
35716
35741
|
const needsSeparator = (showResend || onEditRole) && showRemove;
|
|
35717
35742
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35718
|
-
|
|
35743
|
+
chunkJMZF7ZHF_cjs.Dropdown,
|
|
35719
35744
|
{
|
|
35720
35745
|
trigger: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35721
35746
|
chunkRDGRKYQ5_cjs.Button,
|
|
@@ -35731,7 +35756,7 @@ function RowActionsMenu({
|
|
|
35731
35756
|
placement: "bottom-end",
|
|
35732
35757
|
children: [
|
|
35733
35758
|
showResend && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35734
|
-
|
|
35759
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
35735
35760
|
{
|
|
35736
35761
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Send, { size: 14 }),
|
|
35737
35762
|
onClick: () => onResendInvite?.(user),
|
|
@@ -35739,16 +35764,16 @@ function RowActionsMenu({
|
|
|
35739
35764
|
}
|
|
35740
35765
|
),
|
|
35741
35766
|
onEditRole && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35742
|
-
|
|
35767
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
35743
35768
|
{
|
|
35744
35769
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Pencil, { size: 14 }),
|
|
35745
35770
|
onClick: () => onEditRole(user),
|
|
35746
35771
|
children: "Edit Role"
|
|
35747
35772
|
}
|
|
35748
35773
|
),
|
|
35749
|
-
needsSeparator && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35774
|
+
needsSeparator && /* @__PURE__ */ jsxRuntime.jsx(chunkJMZF7ZHF_cjs.DropdownSeparator, {}),
|
|
35750
35775
|
showRemove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35751
|
-
|
|
35776
|
+
chunkJMZF7ZHF_cjs.DropdownItem,
|
|
35752
35777
|
{
|
|
35753
35778
|
variant: "danger",
|
|
35754
35779
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Trash2, { size: 14 }),
|
|
@@ -35843,7 +35868,7 @@ function ProviderUsersTable({
|
|
|
35843
35868
|
const isPending = user.status === "pending";
|
|
35844
35869
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkIJYTASQQ_cjs.TableRow, { children: [
|
|
35845
35870
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
35846
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35871
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJEIW7BSV_cjs.Avatar, { src: user.avatarUrl, name: user.name, size: "sm" }),
|
|
35847
35872
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
35848
35873
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35849
35874
|
user.name,
|
|
@@ -35911,11 +35936,11 @@ function QuickLinksCard({
|
|
|
35911
35936
|
"span",
|
|
35912
35937
|
{
|
|
35913
35938
|
"data-slot": "quick-links-icon",
|
|
35914
|
-
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "
|
|
35939
|
+
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "me-3"} `,
|
|
35915
35940
|
children: link.icon
|
|
35916
35941
|
}
|
|
35917
35942
|
),
|
|
35918
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-
|
|
35943
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-start", children: [
|
|
35919
35944
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground block text-sm font-medium", children: link.label }),
|
|
35920
35945
|
link.description && layout !== "grid" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35921
35946
|
"span",
|
|
@@ -35930,7 +35955,7 @@ function QuickLinksCard({
|
|
|
35930
35955
|
"span",
|
|
35931
35956
|
{
|
|
35932
35957
|
"data-slot": "quick-links-badge",
|
|
35933
|
-
className: "bg-primary/10
|
|
35958
|
+
className: "bg-primary/10 ms-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-900)] dark:text-[var(--mieweb-primary-400)]",
|
|
35934
35959
|
children: link.badge
|
|
35935
35960
|
}
|
|
35936
35961
|
),
|
|
@@ -36577,7 +36602,7 @@ function RejectionModal({
|
|
|
36577
36602
|
showDetails && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "rejection-modal-details", children: [
|
|
36578
36603
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "text-foreground mb-1 block text-sm font-medium", children: [
|
|
36579
36604
|
detailsLabel,
|
|
36580
|
-
needsDetails && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive
|
|
36605
|
+
needsDetails && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive ms-1", children: "*" })
|
|
36581
36606
|
] }),
|
|
36582
36607
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36583
36608
|
"textarea",
|
|
@@ -36615,7 +36640,7 @@ function RejectionModal({
|
|
|
36615
36640
|
"svg",
|
|
36616
36641
|
{
|
|
36617
36642
|
"aria-hidden": "true",
|
|
36618
|
-
className: "
|
|
36643
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
36619
36644
|
fill: "none",
|
|
36620
36645
|
viewBox: "0 0 24 24",
|
|
36621
36646
|
children: [
|
|
@@ -36787,7 +36812,7 @@ function ReportDashboard({
|
|
|
36787
36812
|
"svg",
|
|
36788
36813
|
{
|
|
36789
36814
|
"aria-hidden": "true",
|
|
36790
|
-
className: "
|
|
36815
|
+
className: "me-2 h-4 w-4",
|
|
36791
36816
|
fill: "none",
|
|
36792
36817
|
stroke: "currentColor",
|
|
36793
36818
|
viewBox: "0 0 24 24",
|
|
@@ -41511,7 +41536,7 @@ function FooterLinkSection({
|
|
|
41511
41536
|
),
|
|
41512
41537
|
children: [
|
|
41513
41538
|
link.label,
|
|
41514
|
-
link.external && /* @__PURE__ */ jsxRuntime.jsx(ExternalLinkIcon, { className: "
|
|
41539
|
+
link.external && /* @__PURE__ */ jsxRuntime.jsx(ExternalLinkIcon, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41515
41540
|
]
|
|
41516
41541
|
}
|
|
41517
41542
|
) }, link.href)) })
|
|
@@ -41818,7 +41843,7 @@ function SimpleFooter({
|
|
|
41818
41843
|
variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
41819
41844
|
className
|
|
41820
41845
|
),
|
|
41821
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-
|
|
41846
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-start", children: [
|
|
41822
41847
|
/* @__PURE__ */ jsxRuntime.jsx(CopyrightText, { companyName, variant }),
|
|
41823
41848
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-center gap-4 sm:justify-end", children: [
|
|
41824
41849
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -41956,7 +41981,7 @@ function NavLinks({
|
|
|
41956
41981
|
),
|
|
41957
41982
|
children: [
|
|
41958
41983
|
link.label,
|
|
41959
|
-
link.external && /* @__PURE__ */ jsxRuntime.jsx(ExternalLinkIcon2, { className: "
|
|
41984
|
+
link.external && /* @__PURE__ */ jsxRuntime.jsx(ExternalLinkIcon2, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41960
41985
|
]
|
|
41961
41986
|
},
|
|
41962
41987
|
link.href
|
|
@@ -42142,7 +42167,7 @@ function UserMenu({
|
|
|
42142
42167
|
"div",
|
|
42143
42168
|
{
|
|
42144
42169
|
"data-slot": "site-header-user-dropdown",
|
|
42145
|
-
className: "absolute
|
|
42170
|
+
className: "absolute end-0 z-50 mt-2 w-56 rounded-lg bg-white shadow-lg ring-1 ring-black/5 dark:bg-gray-800 dark:ring-white/10",
|
|
42146
42171
|
children: [
|
|
42147
42172
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
|
|
42148
42173
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
|
|
@@ -42170,7 +42195,7 @@ function UserMenu({
|
|
|
42170
42195
|
setIsOpen(false);
|
|
42171
42196
|
},
|
|
42172
42197
|
className: chunkS5RVSXDV_cjs.cn(
|
|
42173
|
-
"flex w-full items-center gap-2 px-4 py-2 text-
|
|
42198
|
+
"flex w-full items-center gap-2 px-4 py-2 text-start text-sm",
|
|
42174
42199
|
index === defaultItems.length - 1 && onLogout ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700"
|
|
42175
42200
|
),
|
|
42176
42201
|
children: [
|
|
@@ -42235,7 +42260,7 @@ function MobileMenuPanel({
|
|
|
42235
42260
|
"div",
|
|
42236
42261
|
{
|
|
42237
42262
|
className: chunkS5RVSXDV_cjs.cn(
|
|
42238
|
-
"fixed
|
|
42263
|
+
"fixed end-0 top-0 bottom-0 z-50 w-80 max-w-full bg-white shadow-xl md:hidden dark:bg-gray-900",
|
|
42239
42264
|
className
|
|
42240
42265
|
),
|
|
42241
42266
|
children: [
|
|
@@ -42267,7 +42292,7 @@ function MobileMenuPanel({
|
|
|
42267
42292
|
},
|
|
42268
42293
|
link.href
|
|
42269
42294
|
)) }),
|
|
42270
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute
|
|
42295
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 p-4 dark:border-gray-700", children: user ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
|
|
42271
42296
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 px-2", children: [
|
|
42272
42297
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-primary-100 text-primary-900 dark:bg-primary-900/30 dark:text-primary-400 flex h-10 w-10 items-center justify-center rounded-full font-medium", children: user.name.split(" ").map((w) => w[0]).join("").slice(0, 2) }),
|
|
42273
42298
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -42318,22 +42343,19 @@ function MobileMenuPanel({
|
|
|
42318
42343
|
)
|
|
42319
42344
|
] });
|
|
42320
42345
|
}
|
|
42321
|
-
var headerVariants3 = classVarianceAuthority.cva(
|
|
42322
|
-
|
|
42323
|
-
|
|
42324
|
-
|
|
42325
|
-
|
|
42326
|
-
|
|
42327
|
-
|
|
42328
|
-
transparent: "bg-transparent",
|
|
42329
|
-
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
42330
|
-
}
|
|
42331
|
-
},
|
|
42332
|
-
defaultVariants: {
|
|
42333
|
-
variant: "primary"
|
|
42346
|
+
var headerVariants3 = classVarianceAuthority.cva("fixed top-0 start-0 end-0 z-40 transition-colors", {
|
|
42347
|
+
variants: {
|
|
42348
|
+
variant: {
|
|
42349
|
+
primary: "bg-primary-800",
|
|
42350
|
+
white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
|
|
42351
|
+
transparent: "bg-transparent",
|
|
42352
|
+
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
42334
42353
|
}
|
|
42354
|
+
},
|
|
42355
|
+
defaultVariants: {
|
|
42356
|
+
variant: "primary"
|
|
42335
42357
|
}
|
|
42336
|
-
);
|
|
42358
|
+
});
|
|
42337
42359
|
function SiteHeader({
|
|
42338
42360
|
logo = {},
|
|
42339
42361
|
links = [],
|
|
@@ -42465,7 +42487,7 @@ function CompactHeader({
|
|
|
42465
42487
|
{
|
|
42466
42488
|
"data-slot": "site-header-compact",
|
|
42467
42489
|
className: chunkS5RVSXDV_cjs.cn(
|
|
42468
|
-
"fixed
|
|
42490
|
+
"fixed start-0 end-0 top-0 z-40 border-b border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
42469
42491
|
className
|
|
42470
42492
|
),
|
|
42471
42493
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -43415,8 +43437,8 @@ function TocList({
|
|
|
43415
43437
|
{
|
|
43416
43438
|
className: chunkS5RVSXDV_cjs.cn(
|
|
43417
43439
|
"space-y-1",
|
|
43418
|
-
depth > 0 && indentLines && "border-border
|
|
43419
|
-
depth > 0 && !indentLines && "
|
|
43440
|
+
depth > 0 && indentLines && "border-border ms-3 border-s ps-3",
|
|
43441
|
+
depth > 0 && !indentLines && "ms-4"
|
|
43420
43442
|
),
|
|
43421
43443
|
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
|
|
43422
43444
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -43711,7 +43733,7 @@ function TimelineEventList({
|
|
|
43711
43733
|
events.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43712
43734
|
"div",
|
|
43713
43735
|
{
|
|
43714
|
-
className: "absolute top-0 bottom-0
|
|
43736
|
+
className: "absolute start-5 top-0 bottom-0 w-px bg-neutral-200 dark:bg-neutral-700",
|
|
43715
43737
|
"aria-hidden": "true"
|
|
43716
43738
|
}
|
|
43717
43739
|
),
|
|
@@ -44023,9 +44045,9 @@ function WebChartReportViewer({
|
|
|
44023
44045
|
"data-slot": "webchart-report-viewer",
|
|
44024
44046
|
className: chunkS5RVSXDV_cjs.cn("webchart-report-viewer", className),
|
|
44025
44047
|
children: [
|
|
44026
|
-
error && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
44027
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44028
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44048
|
+
error && /* @__PURE__ */ jsxRuntime.jsxs(chunkNYJIXR4Y_cjs.Alert, { variant: "warning", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertTriangle, {}), className: "mb-4", children: [
|
|
44049
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertTitle, { children: error }),
|
|
44050
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkNYJIXR4Y_cjs.AlertDescription, { children: [
|
|
44029
44051
|
"If this error persists, you can try reconnecting",
|
|
44030
44052
|
" ",
|
|
44031
44053
|
webchartBrand2.name,
|
|
@@ -44038,7 +44060,7 @@ function WebChartReportViewer({
|
|
|
44038
44060
|
onClick: onReconnect,
|
|
44039
44061
|
className: "mt-2",
|
|
44040
44062
|
children: [
|
|
44041
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link, { className: "
|
|
44063
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link, { className: "me-2 h-4 w-4" }),
|
|
44042
44064
|
reconnect
|
|
44043
44065
|
]
|
|
44044
44066
|
}
|
|
@@ -44046,7 +44068,7 @@ function WebChartReportViewer({
|
|
|
44046
44068
|
] })
|
|
44047
44069
|
] }),
|
|
44048
44070
|
!error && !loading && /* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { onClick: onRefreshReports, className: "mb-4", children: [
|
|
44049
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { className: "
|
|
44071
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { className: "me-2 h-4 w-4" }),
|
|
44050
44072
|
refreshReports
|
|
44051
44073
|
] }),
|
|
44052
44074
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -44180,7 +44202,7 @@ function WebChartReportViewer({
|
|
|
44180
44202
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground mt-4", children: loadingData })
|
|
44181
44203
|
]
|
|
44182
44204
|
}
|
|
44183
|
-
) : reportResult?.error ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
44205
|
+
) : reportResult?.error ? /* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.Alert, { variant: "danger", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertTriangle, {}), children: /* @__PURE__ */ jsxRuntime.jsx(chunkNYJIXR4Y_cjs.AlertDescription, { children: reportResult.error }) }) : reportResult?.data ? typeof reportResult.data === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
44184
44206
|
"div",
|
|
44185
44207
|
{
|
|
44186
44208
|
className: "prose dark:prose-invert max-w-none",
|
|
@@ -44727,67 +44749,67 @@ Object.defineProperty(exports, "spinnerVariants", {
|
|
|
44727
44749
|
});
|
|
44728
44750
|
Object.defineProperty(exports, "AILogoIcon", {
|
|
44729
44751
|
enumerable: true,
|
|
44730
|
-
get: function () { return
|
|
44752
|
+
get: function () { return chunkWIAQQNFU_cjs.AILogoIcon; }
|
|
44731
44753
|
});
|
|
44732
44754
|
Object.defineProperty(exports, "AIMessageDisplay", {
|
|
44733
44755
|
enumerable: true,
|
|
44734
|
-
get: function () { return
|
|
44756
|
+
get: function () { return chunkWIAQQNFU_cjs.AIMessageDisplay; }
|
|
44735
44757
|
});
|
|
44736
44758
|
Object.defineProperty(exports, "AITypingIndicator", {
|
|
44737
44759
|
enumerable: true,
|
|
44738
|
-
get: function () { return
|
|
44760
|
+
get: function () { return chunkWIAQQNFU_cjs.AITypingIndicator; }
|
|
44739
44761
|
});
|
|
44740
44762
|
Object.defineProperty(exports, "ChatBubble", {
|
|
44741
44763
|
enumerable: true,
|
|
44742
|
-
get: function () { return
|
|
44764
|
+
get: function () { return chunkWIAQQNFU_cjs.ChatBubble; }
|
|
44743
44765
|
});
|
|
44744
44766
|
Object.defineProperty(exports, "ChevronIcon", {
|
|
44745
44767
|
enumerable: true,
|
|
44746
|
-
get: function () { return
|
|
44768
|
+
get: function () { return chunkWIAQQNFU_cjs.ChevronIcon; }
|
|
44747
44769
|
});
|
|
44748
44770
|
Object.defineProperty(exports, "CloseIcon", {
|
|
44749
44771
|
enumerable: true,
|
|
44750
|
-
get: function () { return
|
|
44772
|
+
get: function () { return chunkWIAQQNFU_cjs.CloseIcon; }
|
|
44751
44773
|
});
|
|
44752
44774
|
Object.defineProperty(exports, "CollapsiblePill", {
|
|
44753
44775
|
enumerable: true,
|
|
44754
|
-
get: function () { return
|
|
44776
|
+
get: function () { return chunkWIAQQNFU_cjs.CollapsiblePill; }
|
|
44755
44777
|
});
|
|
44756
44778
|
Object.defineProperty(exports, "MCPToolCallDisplay", {
|
|
44757
44779
|
enumerable: true,
|
|
44758
|
-
get: function () { return
|
|
44780
|
+
get: function () { return chunkWIAQQNFU_cjs.MCPToolCallDisplay; }
|
|
44759
44781
|
});
|
|
44760
44782
|
Object.defineProperty(exports, "MessageAvatar", {
|
|
44761
44783
|
enumerable: true,
|
|
44762
|
-
get: function () { return
|
|
44784
|
+
get: function () { return chunkWIAQQNFU_cjs.MessageAvatar; }
|
|
44763
44785
|
});
|
|
44764
44786
|
Object.defineProperty(exports, "RefreshIcon", {
|
|
44765
44787
|
enumerable: true,
|
|
44766
|
-
get: function () { return
|
|
44788
|
+
get: function () { return chunkWIAQQNFU_cjs.RefreshIcon; }
|
|
44767
44789
|
});
|
|
44768
44790
|
Object.defineProperty(exports, "ResourceLink", {
|
|
44769
44791
|
enumerable: true,
|
|
44770
|
-
get: function () { return
|
|
44792
|
+
get: function () { return chunkWIAQQNFU_cjs.ResourceLink; }
|
|
44771
44793
|
});
|
|
44772
44794
|
Object.defineProperty(exports, "SendIcon", {
|
|
44773
44795
|
enumerable: true,
|
|
44774
|
-
get: function () { return
|
|
44796
|
+
get: function () { return chunkWIAQQNFU_cjs.SendIcon; }
|
|
44775
44797
|
});
|
|
44776
44798
|
Object.defineProperty(exports, "SparklesIcon", {
|
|
44777
44799
|
enumerable: true,
|
|
44778
|
-
get: function () { return
|
|
44800
|
+
get: function () { return chunkWIAQQNFU_cjs.SparklesIcon; }
|
|
44779
44801
|
});
|
|
44780
44802
|
Object.defineProperty(exports, "SpinnerIcon", {
|
|
44781
44803
|
enumerable: true,
|
|
44782
|
-
get: function () { return
|
|
44804
|
+
get: function () { return chunkWIAQQNFU_cjs.SpinnerIcon; }
|
|
44783
44805
|
});
|
|
44784
44806
|
Object.defineProperty(exports, "ToolStatusIcon", {
|
|
44785
44807
|
enumerable: true,
|
|
44786
|
-
get: function () { return
|
|
44808
|
+
get: function () { return chunkWIAQQNFU_cjs.ToolStatusIcon; }
|
|
44787
44809
|
});
|
|
44788
44810
|
Object.defineProperty(exports, "getToolIcon", {
|
|
44789
44811
|
enumerable: true,
|
|
44790
|
-
get: function () { return
|
|
44812
|
+
get: function () { return chunkWIAQQNFU_cjs.getToolIcon; }
|
|
44791
44813
|
});
|
|
44792
44814
|
Object.defineProperty(exports, "AttachmentPreview", {
|
|
44793
44815
|
enumerable: true,
|
|
@@ -44983,15 +45005,15 @@ Object.defineProperty(exports, "TableRow", {
|
|
|
44983
45005
|
});
|
|
44984
45006
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
44985
45007
|
enumerable: true,
|
|
44986
|
-
get: function () { return
|
|
45008
|
+
get: function () { return chunkAGYNCPJ2_cjs.RichTextEditor; }
|
|
44987
45009
|
});
|
|
44988
45010
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
44989
45011
|
enumerable: true,
|
|
44990
|
-
get: function () { return
|
|
45012
|
+
get: function () { return chunkAGYNCPJ2_cjs.convertAngleBracketsToMustache; }
|
|
44991
45013
|
});
|
|
44992
45014
|
Object.defineProperty(exports, "processDictation", {
|
|
44993
45015
|
enumerable: true,
|
|
44994
|
-
get: function () { return
|
|
45016
|
+
get: function () { return chunkAGYNCPJ2_cjs.processDictation; }
|
|
44995
45017
|
});
|
|
44996
45018
|
Object.defineProperty(exports, "DateButton", {
|
|
44997
45019
|
enumerable: true,
|
|
@@ -45111,23 +45133,23 @@ Object.defineProperty(exports, "progressBarTrackVariants", {
|
|
|
45111
45133
|
});
|
|
45112
45134
|
Object.defineProperty(exports, "QuickAction", {
|
|
45113
45135
|
enumerable: true,
|
|
45114
|
-
get: function () { return
|
|
45136
|
+
get: function () { return chunkXWZEECEX_cjs.QuickAction; }
|
|
45115
45137
|
});
|
|
45116
45138
|
Object.defineProperty(exports, "QuickActionGroup", {
|
|
45117
45139
|
enumerable: true,
|
|
45118
|
-
get: function () { return
|
|
45140
|
+
get: function () { return chunkXWZEECEX_cjs.QuickActionGroup; }
|
|
45119
45141
|
});
|
|
45120
45142
|
Object.defineProperty(exports, "QuickActionIcons", {
|
|
45121
45143
|
enumerable: true,
|
|
45122
|
-
get: function () { return
|
|
45144
|
+
get: function () { return chunkXWZEECEX_cjs.QuickActionIcons; }
|
|
45123
45145
|
});
|
|
45124
45146
|
Object.defineProperty(exports, "quickActionIconVariants", {
|
|
45125
45147
|
enumerable: true,
|
|
45126
|
-
get: function () { return
|
|
45148
|
+
get: function () { return chunkXWZEECEX_cjs.quickActionIconVariants; }
|
|
45127
45149
|
});
|
|
45128
45150
|
Object.defineProperty(exports, "quickActionVariants", {
|
|
45129
45151
|
enumerable: true,
|
|
45130
|
-
get: function () { return
|
|
45152
|
+
get: function () { return chunkXWZEECEX_cjs.quickActionVariants; }
|
|
45131
45153
|
});
|
|
45132
45154
|
Object.defineProperty(exports, "ReadingProgressBar", {
|
|
45133
45155
|
enumerable: true,
|
|
@@ -45159,19 +45181,19 @@ Object.defineProperty(exports, "KeyboardShortcutsOverlay", {
|
|
|
45159
45181
|
});
|
|
45160
45182
|
Object.defineProperty(exports, "CodeBlock", {
|
|
45161
45183
|
enumerable: true,
|
|
45162
|
-
get: function () { return
|
|
45184
|
+
get: function () { return chunk4SIGL6QC_cjs.CodeBlock; }
|
|
45163
45185
|
});
|
|
45164
45186
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
45165
45187
|
enumerable: true,
|
|
45166
|
-
get: function () { return
|
|
45188
|
+
get: function () { return chunk4SIGL6QC_cjs.MarkdownRenderer; }
|
|
45167
45189
|
});
|
|
45168
45190
|
Object.defineProperty(exports, "highlightCode", {
|
|
45169
45191
|
enumerable: true,
|
|
45170
|
-
get: function () { return
|
|
45192
|
+
get: function () { return chunk4SIGL6QC_cjs.highlightCode; }
|
|
45171
45193
|
});
|
|
45172
45194
|
Object.defineProperty(exports, "useMarkdown", {
|
|
45173
45195
|
enumerable: true,
|
|
45174
|
-
get: function () { return
|
|
45196
|
+
get: function () { return chunk4SIGL6QC_cjs.useMarkdown; }
|
|
45175
45197
|
});
|
|
45176
45198
|
Object.defineProperty(exports, "HtmlPreviewBlock", {
|
|
45177
45199
|
enumerable: true,
|
|
@@ -45183,11 +45205,11 @@ Object.defineProperty(exports, "MermaidBlock", {
|
|
|
45183
45205
|
});
|
|
45184
45206
|
Object.defineProperty(exports, "SurveyBlock", {
|
|
45185
45207
|
enumerable: true,
|
|
45186
|
-
get: function () { return
|
|
45208
|
+
get: function () { return chunkJIU6CVPF_cjs.SurveyBlock; }
|
|
45187
45209
|
});
|
|
45188
45210
|
Object.defineProperty(exports, "CsvBlock", {
|
|
45189
45211
|
enumerable: true,
|
|
45190
|
-
get: function () { return
|
|
45212
|
+
get: function () { return chunkSNSA6NWD_cjs.CsvBlock; }
|
|
45191
45213
|
});
|
|
45192
45214
|
Object.defineProperty(exports, "FenceBlock", {
|
|
45193
45215
|
enumerable: true,
|
|
@@ -45195,39 +45217,39 @@ Object.defineProperty(exports, "FenceBlock", {
|
|
|
45195
45217
|
});
|
|
45196
45218
|
Object.defineProperty(exports, "FillerWordsModal", {
|
|
45197
45219
|
enumerable: true,
|
|
45198
|
-
get: function () { return
|
|
45220
|
+
get: function () { return chunk7SFGEE4M_cjs.FillerWordsModal; }
|
|
45199
45221
|
});
|
|
45200
45222
|
Object.defineProperty(exports, "MediaEditor", {
|
|
45201
45223
|
enumerable: true,
|
|
45202
|
-
get: function () { return
|
|
45224
|
+
get: function () { return chunk7SFGEE4M_cjs.MediaEditor; }
|
|
45203
45225
|
});
|
|
45204
45226
|
Object.defineProperty(exports, "SilenceSettingsModal", {
|
|
45205
45227
|
enumerable: true,
|
|
45206
|
-
get: function () { return
|
|
45228
|
+
get: function () { return chunk7SFGEE4M_cjs.SilenceSettingsModal; }
|
|
45207
45229
|
});
|
|
45208
45230
|
Object.defineProperty(exports, "SpeedMarkerMenu", {
|
|
45209
45231
|
enumerable: true,
|
|
45210
|
-
get: function () { return
|
|
45232
|
+
get: function () { return chunk7SFGEE4M_cjs.SpeedMarkerMenu; }
|
|
45211
45233
|
});
|
|
45212
45234
|
Object.defineProperty(exports, "WordEditorModal", {
|
|
45213
45235
|
enumerable: true,
|
|
45214
|
-
get: function () { return
|
|
45236
|
+
get: function () { return chunk7SFGEE4M_cjs.WordEditorModal; }
|
|
45215
45237
|
});
|
|
45216
45238
|
Object.defineProperty(exports, "Slider", {
|
|
45217
45239
|
enumerable: true,
|
|
45218
|
-
get: function () { return
|
|
45240
|
+
get: function () { return chunkMYAU2ZUC_cjs.Slider; }
|
|
45219
45241
|
});
|
|
45220
45242
|
Object.defineProperty(exports, "sliderRangeVariants", {
|
|
45221
45243
|
enumerable: true,
|
|
45222
|
-
get: function () { return
|
|
45244
|
+
get: function () { return chunkMYAU2ZUC_cjs.sliderRangeVariants; }
|
|
45223
45245
|
});
|
|
45224
45246
|
Object.defineProperty(exports, "sliderThumbVariants", {
|
|
45225
45247
|
enumerable: true,
|
|
45226
|
-
get: function () { return
|
|
45248
|
+
get: function () { return chunkMYAU2ZUC_cjs.sliderThumbVariants; }
|
|
45227
45249
|
});
|
|
45228
45250
|
Object.defineProperty(exports, "sliderTrackVariants", {
|
|
45229
45251
|
enumerable: true,
|
|
45230
|
-
get: function () { return
|
|
45252
|
+
get: function () { return chunkMYAU2ZUC_cjs.sliderTrackVariants; }
|
|
45231
45253
|
});
|
|
45232
45254
|
Object.defineProperty(exports, "MediaPlayer", {
|
|
45233
45255
|
enumerable: true,
|
|
@@ -45247,15 +45269,15 @@ Object.defineProperty(exports, "CopyButton", {
|
|
|
45247
45269
|
});
|
|
45248
45270
|
Object.defineProperty(exports, "CountryCodeDropdown", {
|
|
45249
45271
|
enumerable: true,
|
|
45250
|
-
get: function () { return
|
|
45272
|
+
get: function () { return chunkABTO4RD6_cjs.CountryCodeDropdown; }
|
|
45251
45273
|
});
|
|
45252
45274
|
Object.defineProperty(exports, "formatE164", {
|
|
45253
45275
|
enumerable: true,
|
|
45254
|
-
get: function () { return
|
|
45276
|
+
get: function () { return chunkABTO4RD6_cjs.formatE164; }
|
|
45255
45277
|
});
|
|
45256
45278
|
Object.defineProperty(exports, "validatePhoneNumber", {
|
|
45257
45279
|
enumerable: true,
|
|
45258
|
-
get: function () { return
|
|
45280
|
+
get: function () { return chunkABTO4RD6_cjs.validatePhoneNumber; }
|
|
45259
45281
|
});
|
|
45260
45282
|
Object.defineProperty(exports, "CustomizableDashboard", {
|
|
45261
45283
|
enumerable: true,
|
|
@@ -45335,31 +45357,31 @@ Object.defineProperty(exports, "sheetOverlayVariants", {
|
|
|
45335
45357
|
});
|
|
45336
45358
|
Object.defineProperty(exports, "Dropdown", {
|
|
45337
45359
|
enumerable: true,
|
|
45338
|
-
get: function () { return
|
|
45360
|
+
get: function () { return chunkJMZF7ZHF_cjs.Dropdown; }
|
|
45339
45361
|
});
|
|
45340
45362
|
Object.defineProperty(exports, "DropdownContent", {
|
|
45341
45363
|
enumerable: true,
|
|
45342
|
-
get: function () { return
|
|
45364
|
+
get: function () { return chunkJMZF7ZHF_cjs.DropdownContent; }
|
|
45343
45365
|
});
|
|
45344
45366
|
Object.defineProperty(exports, "DropdownHeader", {
|
|
45345
45367
|
enumerable: true,
|
|
45346
|
-
get: function () { return
|
|
45368
|
+
get: function () { return chunkJMZF7ZHF_cjs.DropdownHeader; }
|
|
45347
45369
|
});
|
|
45348
45370
|
Object.defineProperty(exports, "DropdownItem", {
|
|
45349
45371
|
enumerable: true,
|
|
45350
|
-
get: function () { return
|
|
45372
|
+
get: function () { return chunkJMZF7ZHF_cjs.DropdownItem; }
|
|
45351
45373
|
});
|
|
45352
45374
|
Object.defineProperty(exports, "DropdownLabel", {
|
|
45353
45375
|
enumerable: true,
|
|
45354
|
-
get: function () { return
|
|
45376
|
+
get: function () { return chunkJMZF7ZHF_cjs.DropdownLabel; }
|
|
45355
45377
|
});
|
|
45356
45378
|
Object.defineProperty(exports, "DropdownSeparator", {
|
|
45357
45379
|
enumerable: true,
|
|
45358
|
-
get: function () { return
|
|
45380
|
+
get: function () { return chunkJMZF7ZHF_cjs.DropdownSeparator; }
|
|
45359
45381
|
});
|
|
45360
45382
|
Object.defineProperty(exports, "DropdownSubmenu", {
|
|
45361
45383
|
enumerable: true,
|
|
45362
|
-
get: function () { return
|
|
45384
|
+
get: function () { return chunkJMZF7ZHF_cjs.DropdownSubmenu; }
|
|
45363
45385
|
});
|
|
45364
45386
|
Object.defineProperty(exports, "FilterSummaryBar", {
|
|
45365
45387
|
enumerable: true,
|
|
@@ -45367,11 +45389,11 @@ Object.defineProperty(exports, "FilterSummaryBar", {
|
|
|
45367
45389
|
});
|
|
45368
45390
|
Object.defineProperty(exports, "FloatingWindow", {
|
|
45369
45391
|
enumerable: true,
|
|
45370
|
-
get: function () { return
|
|
45392
|
+
get: function () { return chunkVKNCQIVN_cjs.FloatingWindow; }
|
|
45371
45393
|
});
|
|
45372
45394
|
Object.defineProperty(exports, "MinimizedWindow", {
|
|
45373
45395
|
enumerable: true,
|
|
45374
|
-
get: function () { return
|
|
45396
|
+
get: function () { return chunkVKNCQIVN_cjs.MinimizedWindow; }
|
|
45375
45397
|
});
|
|
45376
45398
|
Object.defineProperty(exports, "FreshnessBadge", {
|
|
45377
45399
|
enumerable: true,
|
|
@@ -45439,11 +45461,11 @@ Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
|
45439
45461
|
});
|
|
45440
45462
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45441
45463
|
enumerable: true,
|
|
45442
|
-
get: function () { return
|
|
45464
|
+
get: function () { return chunk4J4FDVPS_cjs.miewebUIPreset; }
|
|
45443
45465
|
});
|
|
45444
45466
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
45445
45467
|
enumerable: true,
|
|
45446
|
-
get: function () { return
|
|
45468
|
+
get: function () { return chunk4J4FDVPS_cjs.miewebUISafelist; }
|
|
45447
45469
|
});
|
|
45448
45470
|
Object.defineProperty(exports, "Accordion", {
|
|
45449
45471
|
enumerable: true,
|
|
@@ -45451,19 +45473,19 @@ Object.defineProperty(exports, "Accordion", {
|
|
|
45451
45473
|
});
|
|
45452
45474
|
Object.defineProperty(exports, "Alert", {
|
|
45453
45475
|
enumerable: true,
|
|
45454
|
-
get: function () { return
|
|
45476
|
+
get: function () { return chunkNYJIXR4Y_cjs.Alert; }
|
|
45455
45477
|
});
|
|
45456
45478
|
Object.defineProperty(exports, "AlertDescription", {
|
|
45457
45479
|
enumerable: true,
|
|
45458
|
-
get: function () { return
|
|
45480
|
+
get: function () { return chunkNYJIXR4Y_cjs.AlertDescription; }
|
|
45459
45481
|
});
|
|
45460
45482
|
Object.defineProperty(exports, "AlertTitle", {
|
|
45461
45483
|
enumerable: true,
|
|
45462
|
-
get: function () { return
|
|
45484
|
+
get: function () { return chunkNYJIXR4Y_cjs.AlertTitle; }
|
|
45463
45485
|
});
|
|
45464
45486
|
Object.defineProperty(exports, "alertVariants", {
|
|
45465
45487
|
enumerable: true,
|
|
45466
|
-
get: function () { return
|
|
45488
|
+
get: function () { return chunkNYJIXR4Y_cjs.alertVariants; }
|
|
45467
45489
|
});
|
|
45468
45490
|
Object.defineProperty(exports, "AlertDialog", {
|
|
45469
45491
|
enumerable: true,
|
|
@@ -45471,23 +45493,23 @@ Object.defineProperty(exports, "AlertDialog", {
|
|
|
45471
45493
|
});
|
|
45472
45494
|
Object.defineProperty(exports, "AudioPlayer", {
|
|
45473
45495
|
enumerable: true,
|
|
45474
|
-
get: function () { return
|
|
45496
|
+
get: function () { return chunkPJ6CC53R_cjs.AudioPlayer; }
|
|
45475
45497
|
});
|
|
45476
45498
|
Object.defineProperty(exports, "ProgressBar", {
|
|
45477
45499
|
enumerable: true,
|
|
45478
|
-
get: function () { return
|
|
45500
|
+
get: function () { return chunkPJ6CC53R_cjs.ProgressBar; }
|
|
45479
45501
|
});
|
|
45480
45502
|
Object.defineProperty(exports, "audioPlayerVariants", {
|
|
45481
45503
|
enumerable: true,
|
|
45482
|
-
get: function () { return
|
|
45504
|
+
get: function () { return chunkPJ6CC53R_cjs.audioPlayerVariants; }
|
|
45483
45505
|
});
|
|
45484
45506
|
Object.defineProperty(exports, "formatAudioTime", {
|
|
45485
45507
|
enumerable: true,
|
|
45486
|
-
get: function () { return
|
|
45508
|
+
get: function () { return chunkPJ6CC53R_cjs.formatTime; }
|
|
45487
45509
|
});
|
|
45488
45510
|
Object.defineProperty(exports, "playButtonVariants", {
|
|
45489
45511
|
enumerable: true,
|
|
45490
|
-
get: function () { return
|
|
45512
|
+
get: function () { return chunkPJ6CC53R_cjs.playButtonVariants; }
|
|
45491
45513
|
});
|
|
45492
45514
|
Object.defineProperty(exports, "AudioRecorder", {
|
|
45493
45515
|
enumerable: true,
|
|
@@ -45511,23 +45533,23 @@ Object.defineProperty(exports, "waveformContainerVariants", {
|
|
|
45511
45533
|
});
|
|
45512
45534
|
Object.defineProperty(exports, "Autocomplete", {
|
|
45513
45535
|
enumerable: true,
|
|
45514
|
-
get: function () { return
|
|
45536
|
+
get: function () { return chunkNFKX6QJP_cjs.Autocomplete; }
|
|
45515
45537
|
});
|
|
45516
45538
|
Object.defineProperty(exports, "Avatar", {
|
|
45517
45539
|
enumerable: true,
|
|
45518
|
-
get: function () { return
|
|
45540
|
+
get: function () { return chunkJEIW7BSV_cjs.Avatar; }
|
|
45519
45541
|
});
|
|
45520
45542
|
Object.defineProperty(exports, "AvatarGroup", {
|
|
45521
45543
|
enumerable: true,
|
|
45522
|
-
get: function () { return
|
|
45544
|
+
get: function () { return chunkJEIW7BSV_cjs.AvatarGroup; }
|
|
45523
45545
|
});
|
|
45524
45546
|
Object.defineProperty(exports, "avatarVariants", {
|
|
45525
45547
|
enumerable: true,
|
|
45526
|
-
get: function () { return
|
|
45548
|
+
get: function () { return chunkJEIW7BSV_cjs.avatarVariants; }
|
|
45527
45549
|
});
|
|
45528
45550
|
Object.defineProperty(exports, "getInitials", {
|
|
45529
45551
|
enumerable: true,
|
|
45530
|
-
get: function () { return
|
|
45552
|
+
get: function () { return chunkJEIW7BSV_cjs.getInitials; }
|
|
45531
45553
|
});
|
|
45532
45554
|
Object.defineProperty(exports, "buildChartOrderRows", {
|
|
45533
45555
|
enumerable: true,
|
|
@@ -45555,67 +45577,67 @@ Object.defineProperty(exports, "isApplicable", {
|
|
|
45555
45577
|
});
|
|
45556
45578
|
Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
|
|
45557
45579
|
enumerable: true,
|
|
45558
|
-
get: function () { return
|
|
45580
|
+
get: function () { return chunk5EKRH4KE_cjs.ALLERGY_TYPE_LABELS; }
|
|
45559
45581
|
});
|
|
45560
45582
|
Object.defineProperty(exports, "AllergyList", {
|
|
45561
45583
|
enumerable: true,
|
|
45562
|
-
get: function () { return
|
|
45584
|
+
get: function () { return chunk5EKRH4KE_cjs.AllergyList; }
|
|
45563
45585
|
});
|
|
45564
45586
|
Object.defineProperty(exports, "AllergyManager", {
|
|
45565
45587
|
enumerable: true,
|
|
45566
|
-
get: function () { return
|
|
45588
|
+
get: function () { return chunk5EKRH4KE_cjs.AllergyManager; }
|
|
45567
45589
|
});
|
|
45568
45590
|
Object.defineProperty(exports, "CodeLookupProvider", {
|
|
45569
45591
|
enumerable: true,
|
|
45570
|
-
get: function () { return
|
|
45592
|
+
get: function () { return chunk5EKRH4KE_cjs.CodeLookupProvider; }
|
|
45571
45593
|
});
|
|
45572
45594
|
Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
|
|
45573
45595
|
enumerable: true,
|
|
45574
|
-
get: function () { return
|
|
45596
|
+
get: function () { return chunk5EKRH4KE_cjs.MEDICATION_STATUS_LABELS; }
|
|
45575
45597
|
});
|
|
45576
45598
|
Object.defineProperty(exports, "MedicationEditor", {
|
|
45577
45599
|
enumerable: true,
|
|
45578
|
-
get: function () { return
|
|
45600
|
+
get: function () { return chunk5EKRH4KE_cjs.MedicationEditor; }
|
|
45579
45601
|
});
|
|
45580
45602
|
Object.defineProperty(exports, "MedicationList", {
|
|
45581
45603
|
enumerable: true,
|
|
45582
|
-
get: function () { return
|
|
45604
|
+
get: function () { return chunk5EKRH4KE_cjs.MedicationList; }
|
|
45583
45605
|
});
|
|
45584
45606
|
Object.defineProperty(exports, "MedicationReconciliation", {
|
|
45585
45607
|
enumerable: true,
|
|
45586
|
-
get: function () { return
|
|
45608
|
+
get: function () { return chunk5EKRH4KE_cjs.MedicationReconciliation; }
|
|
45587
45609
|
});
|
|
45588
45610
|
Object.defineProperty(exports, "RowActionToolbar", {
|
|
45589
45611
|
enumerable: true,
|
|
45590
|
-
get: function () { return
|
|
45612
|
+
get: function () { return chunk5EKRH4KE_cjs.RowActionToolbar; }
|
|
45591
45613
|
});
|
|
45592
45614
|
Object.defineProperty(exports, "RowIconButton", {
|
|
45593
45615
|
enumerable: true,
|
|
45594
|
-
get: function () { return
|
|
45616
|
+
get: function () { return chunk5EKRH4KE_cjs.RowIconButton; }
|
|
45595
45617
|
});
|
|
45596
45618
|
Object.defineProperty(exports, "labelToMedicationFields", {
|
|
45597
45619
|
enumerable: true,
|
|
45598
|
-
get: function () { return
|
|
45620
|
+
get: function () { return chunk5EKRH4KE_cjs.labelToMedicationFields; }
|
|
45599
45621
|
});
|
|
45600
45622
|
Object.defineProperty(exports, "lookupToMedicationFields", {
|
|
45601
45623
|
enumerable: true,
|
|
45602
|
-
get: function () { return
|
|
45624
|
+
get: function () { return chunk5EKRH4KE_cjs.lookupToMedicationFields; }
|
|
45603
45625
|
});
|
|
45604
45626
|
Object.defineProperty(exports, "parseMedicationLabel", {
|
|
45605
45627
|
enumerable: true,
|
|
45606
|
-
get: function () { return
|
|
45628
|
+
get: function () { return chunk5EKRH4KE_cjs.parseMedicationLabel; }
|
|
45607
45629
|
});
|
|
45608
45630
|
Object.defineProperty(exports, "parseSig", {
|
|
45609
45631
|
enumerable: true,
|
|
45610
|
-
get: function () { return
|
|
45632
|
+
get: function () { return chunk5EKRH4KE_cjs.parseSig; }
|
|
45611
45633
|
});
|
|
45612
45634
|
Object.defineProperty(exports, "toolbarKeyNav", {
|
|
45613
45635
|
enumerable: true,
|
|
45614
|
-
get: function () { return
|
|
45636
|
+
get: function () { return chunk5EKRH4KE_cjs.toolbarKeyNav; }
|
|
45615
45637
|
});
|
|
45616
45638
|
Object.defineProperty(exports, "useCodeLookupConfig", {
|
|
45617
45639
|
enumerable: true,
|
|
45618
|
-
get: function () { return
|
|
45640
|
+
get: function () { return chunk5EKRH4KE_cjs.useCodeLookupConfig; }
|
|
45619
45641
|
});
|
|
45620
45642
|
Object.defineProperty(exports, "Textarea", {
|
|
45621
45643
|
enumerable: true,
|
|
@@ -47050,6 +47072,7 @@ exports.useDocumentDetection = useDocumentDetection;
|
|
|
47050
47072
|
exports.useDropzone = useDropzone;
|
|
47051
47073
|
exports.useFileUpload = useFileUpload;
|
|
47052
47074
|
exports.useHeyOzwell = useHeyOzwell;
|
|
47075
|
+
exports.useOptionalToast = useOptionalToast;
|
|
47053
47076
|
exports.useSidebar = useSidebar;
|
|
47054
47077
|
exports.useSpeakerVerify = useSpeakerVerify;
|
|
47055
47078
|
exports.useToast = useToast;
|