@mieweb/ui 0.11.0-dev.33 → 0.11.0-dev.35

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.
Files changed (88) hide show
  1. package/dist/{chunk-PJN4HM2X.cjs → chunk-3O3Q3DX7.cjs} +21 -21
  2. package/dist/{chunk-PJN4HM2X.cjs.map → chunk-3O3Q3DX7.cjs.map} +1 -1
  3. package/dist/{chunk-M42FTWY2.cjs → chunk-46RYJYN2.cjs} +6 -6
  4. package/dist/{chunk-M42FTWY2.cjs.map → chunk-46RYJYN2.cjs.map} +1 -1
  5. package/dist/{chunk-JMAZ2GKT.js → chunk-4GSFVD5V.js} +3 -3
  6. package/dist/{chunk-JMAZ2GKT.js.map → chunk-4GSFVD5V.js.map} +1 -1
  7. package/dist/{chunk-2R3ILG4Y.cjs → chunk-4M2KE4O5.cjs} +7 -7
  8. package/dist/{chunk-2R3ILG4Y.cjs.map → chunk-4M2KE4O5.cjs.map} +1 -1
  9. package/dist/{chunk-NAQMIFUF.js → chunk-4SUEBKTY.js} +3 -3
  10. package/dist/{chunk-NAQMIFUF.js.map → chunk-4SUEBKTY.js.map} +1 -1
  11. package/dist/{chunk-X6HEWIYP.cjs → chunk-6O6EYKOG.cjs} +130 -874
  12. package/dist/chunk-6O6EYKOG.cjs.map +1 -0
  13. package/dist/{chunk-ZNYBLM4O.cjs → chunk-DXNVQQYN.cjs} +4 -4
  14. package/dist/{chunk-ZNYBLM4O.cjs.map → chunk-DXNVQQYN.cjs.map} +1 -1
  15. package/dist/{chunk-WEGKY2LY.js → chunk-EWPNM6OO.js} +5 -3
  16. package/dist/chunk-EWPNM6OO.js.map +1 -0
  17. package/dist/{chunk-IBEQ54XW.js → chunk-EX7Q5545.js} +4 -4
  18. package/dist/{chunk-IBEQ54XW.js.map → chunk-EX7Q5545.js.map} +1 -1
  19. package/dist/{chunk-VV2U36T6.cjs → chunk-MZR634HI.cjs} +9 -9
  20. package/dist/{chunk-VV2U36T6.cjs.map → chunk-MZR634HI.cjs.map} +1 -1
  21. package/dist/{chunk-JCO62XMU.cjs → chunk-NCPDUJKJ.cjs} +43 -26
  22. package/dist/chunk-NCPDUJKJ.cjs.map +1 -0
  23. package/dist/{chunk-PYAK7XXD.js → chunk-NW6D6AFL.js} +80 -819
  24. package/dist/chunk-NW6D6AFL.js.map +1 -0
  25. package/dist/{chunk-ZPPMEUGR.cjs → chunk-PGJLW2NO.cjs} +7 -7
  26. package/dist/{chunk-ZPPMEUGR.cjs.map → chunk-PGJLW2NO.cjs.map} +1 -1
  27. package/dist/{chunk-ZFJJMDV3.js → chunk-RTADGBBN.js} +3 -3
  28. package/dist/{chunk-ZFJJMDV3.js.map → chunk-RTADGBBN.js.map} +1 -1
  29. package/dist/{chunk-LJ4CCM3V.cjs → chunk-S2CJ57BX.cjs} +5 -3
  30. package/dist/chunk-S2CJ57BX.cjs.map +1 -0
  31. package/dist/{chunk-KSQQBFDQ.js → chunk-SPGP252Q.js} +43 -26
  32. package/dist/chunk-SPGP252Q.js.map +1 -0
  33. package/dist/{chunk-67SD6VPF.cjs → chunk-SVC7NPQ6.cjs} +6 -6
  34. package/dist/{chunk-67SD6VPF.cjs.map → chunk-SVC7NPQ6.cjs.map} +1 -1
  35. package/dist/{chunk-TWQSMUE6.js → chunk-VMEVLBI3.js} +46 -38
  36. package/dist/chunk-VMEVLBI3.js.map +1 -0
  37. package/dist/{chunk-QNJEDBIN.js → chunk-X5HLVACK.js} +4 -4
  38. package/dist/{chunk-QNJEDBIN.js.map → chunk-X5HLVACK.js.map} +1 -1
  39. package/dist/{chunk-LC3JL2HB.cjs → chunk-XEHD2HA5.cjs} +46 -38
  40. package/dist/chunk-XEHD2HA5.cjs.map +1 -0
  41. package/dist/{chunk-R3MJKY63.js → chunk-YGSPIDE4.js} +3 -3
  42. package/dist/{chunk-R3MJKY63.js.map → chunk-YGSPIDE4.js.map} +1 -1
  43. package/dist/{chunk-7LKTIZLR.js → chunk-YR45POH2.js} +3 -3
  44. package/dist/{chunk-7LKTIZLR.js.map → chunk-YR45POH2.js.map} +1 -1
  45. package/dist/components/AlertDialog/index.cjs +6 -6
  46. package/dist/components/AlertDialog/index.js +2 -2
  47. package/dist/components/EmailEditor/index.cjs +12 -12
  48. package/dist/components/EmailEditor/index.js +3 -3
  49. package/dist/components/KeyboardShortcutsOverlay/index.cjs +4 -4
  50. package/dist/components/KeyboardShortcutsOverlay/index.js +2 -2
  51. package/dist/components/MediaEditor/index.cjs +7 -7
  52. package/dist/components/MediaEditor/index.js +2 -2
  53. package/dist/components/MediaFeed/index.cjs +3 -3
  54. package/dist/components/MediaFeed/index.js +2 -2
  55. package/dist/components/Modal/index.cjs +9 -9
  56. package/dist/components/Modal/index.js +1 -1
  57. package/dist/components/RichTextEditor/index.cjs +4 -4
  58. package/dist/components/RichTextEditor/index.js +1 -1
  59. package/dist/components/SuperChat/index.cjs +3 -3
  60. package/dist/components/SuperChat/index.js +2 -2
  61. package/dist/components/Textarea/index.cjs +5 -5
  62. package/dist/components/Textarea/index.js +2 -2
  63. package/dist/esheet.cjs +462 -1233
  64. package/dist/esheet.cjs.map +1 -1
  65. package/dist/esheet.d.cts +2 -2
  66. package/dist/esheet.d.ts +2 -2
  67. package/dist/esheet.js +375 -1146
  68. package/dist/esheet.js.map +1 -1
  69. package/dist/index.cjs +1011 -239
  70. package/dist/index.cjs.map +1 -1
  71. package/dist/index.d.cts +6 -2
  72. package/dist/index.d.ts +6 -2
  73. package/dist/index.js +804 -17
  74. package/dist/index.js.map +1 -1
  75. package/dist/{model-NPW2JMHZ.cjs → model-EFXX5JZN.cjs} +18 -18
  76. package/dist/{model-NPW2JMHZ.cjs.map → model-EFXX5JZN.cjs.map} +1 -1
  77. package/dist/{model-SG5H3TCJ.js → model-TAARSYDY.js} +4 -4
  78. package/dist/{model-SG5H3TCJ.js.map → model-TAARSYDY.js.map} +1 -1
  79. package/dist/styles.css +1 -1
  80. package/package.json +1 -1
  81. package/dist/chunk-JCO62XMU.cjs.map +0 -1
  82. package/dist/chunk-KSQQBFDQ.js.map +0 -1
  83. package/dist/chunk-LC3JL2HB.cjs.map +0 -1
  84. package/dist/chunk-LJ4CCM3V.cjs.map +0 -1
  85. package/dist/chunk-PYAK7XXD.js.map +0 -1
  86. package/dist/chunk-TWQSMUE6.js.map +0 -1
  87. package/dist/chunk-WEGKY2LY.js.map +0 -1
  88. package/dist/chunk-X6HEWIYP.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -58,9 +58,9 @@ var chunkXWZEECEX_cjs = require('./chunk-XWZEECEX.cjs');
58
58
  var chunk5MXO6PEV_cjs = require('./chunk-5MXO6PEV.cjs');
59
59
  var chunkBFVYM6IT_cjs = require('./chunk-BFVYM6IT.cjs');
60
60
  var chunkHIYQ3M5V_cjs = require('./chunk-HIYQ3M5V.cjs');
61
- var chunkPJN4HM2X_cjs = require('./chunk-PJN4HM2X.cjs');
61
+ var chunk3O3Q3DX7_cjs = require('./chunk-3O3Q3DX7.cjs');
62
62
  var chunkGDKOYVX3_cjs = require('./chunk-GDKOYVX3.cjs');
63
- var chunk2R3ILG4Y_cjs = require('./chunk-2R3ILG4Y.cjs');
63
+ var chunk4M2KE4O5_cjs = require('./chunk-4M2KE4O5.cjs');
64
64
  require('./chunk-GLXTVCHN.cjs');
65
65
  var chunkECKIFQSD_cjs = require('./chunk-ECKIFQSD.cjs');
66
66
  var chunkIIV5GNSK_cjs = require('./chunk-IIV5GNSK.cjs');
@@ -70,7 +70,7 @@ var chunk7FTBPLA6_cjs = require('./chunk-7FTBPLA6.cjs');
70
70
  var chunk3TXOFAXP_cjs = require('./chunk-3TXOFAXP.cjs');
71
71
  var chunkVINZZQBD_cjs = require('./chunk-VINZZQBD.cjs');
72
72
  var chunkUEDTZYGI_cjs = require('./chunk-UEDTZYGI.cjs');
73
- var chunkVV2U36T6_cjs = require('./chunk-VV2U36T6.cjs');
73
+ var chunkMZR634HI_cjs = require('./chunk-MZR634HI.cjs');
74
74
  var chunkZOSM6D7F_cjs = require('./chunk-ZOSM6D7F.cjs');
75
75
  var chunkKD7YD6US_cjs = require('./chunk-KD7YD6US.cjs');
76
76
  var chunkVVKUYQER_cjs = require('./chunk-VVKUYQER.cjs');
@@ -82,7 +82,7 @@ var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
82
82
  var chunk56C7K4MV_cjs = require('./chunk-56C7K4MV.cjs');
83
83
  var chunkS6457ZNC_cjs = require('./chunk-S6457ZNC.cjs');
84
84
  var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
85
- var chunkZPPMEUGR_cjs = require('./chunk-ZPPMEUGR.cjs');
85
+ var chunkPGJLW2NO_cjs = require('./chunk-PGJLW2NO.cjs');
86
86
  require('./chunk-BXRQ6HEP.cjs');
87
87
  var chunkS7AMZ4RD_cjs = require('./chunk-S7AMZ4RD.cjs');
88
88
  var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
@@ -96,7 +96,7 @@ var chunkIVGI353O_cjs = require('./chunk-IVGI353O.cjs');
96
96
  var chunkL4APW65W_cjs = require('./chunk-L4APW65W.cjs');
97
97
  var chunkVXW7D5LR_cjs = require('./chunk-VXW7D5LR.cjs');
98
98
  var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
99
- var chunk67SD6VPF_cjs = require('./chunk-67SD6VPF.cjs');
99
+ var chunkSVC7NPQ6_cjs = require('./chunk-SVC7NPQ6.cjs');
100
100
  var chunkAKMTPCLC_cjs = require('./chunk-AKMTPCLC.cjs');
101
101
  var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
102
102
  var chunkNFKX6QJP_cjs = require('./chunk-NFKX6QJP.cjs');
@@ -123,15 +123,15 @@ var chunkGKDHMNUA_cjs = require('./chunk-GKDHMNUA.cjs');
123
123
  var chunk4NCDU5IG_cjs = require('./chunk-4NCDU5IG.cjs');
124
124
  var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
125
125
  var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
126
- var chunkX6HEWIYP_cjs = require('./chunk-X6HEWIYP.cjs');
127
- var chunkJCO62XMU_cjs = require('./chunk-JCO62XMU.cjs');
126
+ var chunk6O6EYKOG_cjs = require('./chunk-6O6EYKOG.cjs');
127
+ var chunkNCPDUJKJ_cjs = require('./chunk-NCPDUJKJ.cjs');
128
128
  var chunkGLG6UE2H_cjs = require('./chunk-GLG6UE2H.cjs');
129
129
  var chunkSV6YGK4U_cjs = require('./chunk-SV6YGK4U.cjs');
130
130
  var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
131
131
  var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
132
132
  var chunkPHUTJKHL_cjs = require('./chunk-PHUTJKHL.cjs');
133
- var chunkZNYBLM4O_cjs = require('./chunk-ZNYBLM4O.cjs');
134
- var chunkLJ4CCM3V_cjs = require('./chunk-LJ4CCM3V.cjs');
133
+ var chunkDXNVQQYN_cjs = require('./chunk-DXNVQQYN.cjs');
134
+ var chunkS2CJ57BX_cjs = require('./chunk-S2CJ57BX.cjs');
135
135
  require('./chunk-FSLI5IKP.cjs');
136
136
  var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
137
137
  var chunkUPWIJC6I_cjs = require('./chunk-UPWIJC6I.cjs');
@@ -139,7 +139,7 @@ require('./chunk-ZNUMOJOI.cjs');
139
139
  var chunkPINIBEIU_cjs = require('./chunk-PINIBEIU.cjs');
140
140
  var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
141
141
  var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
142
- var chunkLC3JL2HB_cjs = require('./chunk-LC3JL2HB.cjs');
142
+ var chunkXEHD2HA5_cjs = require('./chunk-XEHD2HA5.cjs');
143
143
  require('./chunk-I44YNYI6.cjs');
144
144
  var chunkZ5S5JEJD_cjs = require('./chunk-Z5S5JEJD.cjs');
145
145
  var chunkGF2BE4FB_cjs = require('./chunk-GF2BE4FB.cjs');
@@ -292,10 +292,10 @@ function AddContactModal({
292
292
  }
293
293
  };
294
294
  const isEditing = !!contact?.id;
295
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, children: [
296
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: isEditing ? "Edit Contact" : title }) }),
295
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, children: [
296
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: isEditing ? "Edit Contact" : title }) }),
297
297
  /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
298
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: chunkS5RVSXDV_cjs.cn("space-y-4", className), children: [
298
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: chunkS5RVSXDV_cjs.cn("space-y-4", className), children: [
299
299
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-3", children: [
300
300
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
301
301
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -557,7 +557,7 @@ function AddContactModal({
557
557
  (!formData.customFields || formData.customFields.length === 0) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: 'No custom fields added. Click "Add Field" to add custom information.' })
558
558
  ] })
559
559
  ] }),
560
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
560
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
561
561
  /* @__PURE__ */ jsxRuntime.jsx(
562
562
  chunkFSARTLUE_cjs.Button,
563
563
  {
@@ -5157,7 +5157,7 @@ function VoiceManager({
5157
5157
  ] }),
5158
5158
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-[26px] text-[12.5px]", children: "Voiceprints stay on your device \u2014 they\u2019re never uploaded." }),
5159
5159
  confirm && /* @__PURE__ */ jsxRuntime.jsx(
5160
- chunk67SD6VPF_cjs.AlertDialog,
5160
+ chunkSVC7NPQ6_cjs.AlertDialog,
5161
5161
  {
5162
5162
  open: true,
5163
5163
  onOpenChange: (o) => {
@@ -5275,12 +5275,12 @@ function HandsFreeChat({
5275
5275
  }
5276
5276
  )
5277
5277
  ] }),
5278
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open: voicesOpen, onOpenChange: setVoicesOpen, size: "lg", children: [
5279
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
5280
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Your voice" }),
5281
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
5278
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open: voicesOpen, onOpenChange: setVoicesOpen, size: "lg", children: [
5279
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
5280
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Your voice" }),
5281
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
5282
5282
  ] }),
5283
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
5283
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
5284
5284
  VoiceManager,
5285
5285
  {
5286
5286
  logoSrc,
@@ -8020,12 +8020,12 @@ function AIReconciliationPanel({
8020
8020
  'AIReconciliationPanel: `onOpenChange` is required when `variant="modal"`.'
8021
8021
  );
8022
8022
  }
8023
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open: Boolean(open), onOpenChange, size: "2xl", children: [
8024
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
8025
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: title }),
8026
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
8023
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open: Boolean(open), onOpenChange, size: "2xl", children: [
8024
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
8025
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: title }),
8026
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
8027
8027
  ] }),
8028
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { className: "px-0 py-0", children: /* @__PURE__ */ jsxRuntime.jsxs(
8028
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { className: "px-0 py-0", children: /* @__PURE__ */ jsxRuntime.jsxs(
8029
8029
  "div",
8030
8030
  {
8031
8031
  ref: containerRef,
@@ -8046,7 +8046,7 @@ function AIReconciliationPanel({
8046
8046
  ]
8047
8047
  }
8048
8048
  ) }),
8049
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: effective.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: () => onOpenChange(false), children: "Close" }) : footerButtons })
8049
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalFooter, { children: effective.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: () => onOpenChange(false), children: "Close" }) : footerButtons })
8050
8050
  ] });
8051
8051
  }
8052
8052
  if (effective.length === 0) return null;
@@ -12290,13 +12290,13 @@ function CheckrIntegration({
12290
12290
  ]
12291
12291
  }
12292
12292
  ),
12293
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open: showInviteModal, onOpenChange: setShowInviteModal, size: "md", children: [
12294
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
12295
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: inviteCandidate }),
12296
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
12293
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open: showInviteModal, onOpenChange: setShowInviteModal, size: "md", children: [
12294
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
12295
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: inviteCandidate }),
12296
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
12297
12297
  ] }),
12298
12298
  /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleInviteSubmit, children: [
12299
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
12299
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
12300
12300
  /* @__PURE__ */ jsxRuntime.jsx(
12301
12301
  chunkZ5S5JEJD_cjs.Input,
12302
12302
  {
@@ -12335,7 +12335,7 @@ function CheckrIntegration({
12335
12335
  }
12336
12336
  )
12337
12337
  ] }) }),
12338
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
12338
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
12339
12339
  /* @__PURE__ */ jsxRuntime.jsx(
12340
12340
  chunkFSARTLUE_cjs.Button,
12341
12341
  {
@@ -13916,7 +13916,7 @@ var CountBadge = React13__namespace.forwardRef(
13916
13916
  }
13917
13917
  ),
13918
13918
  /* @__PURE__ */ jsxRuntime.jsxs(
13919
- chunkLC3JL2HB_cjs.Modal,
13919
+ chunkXEHD2HA5_cjs.Modal,
13920
13920
  {
13921
13921
  open: !!deleteTarget,
13922
13922
  onOpenChange: (isOpen) => {
@@ -13924,20 +13924,20 @@ var CountBadge = React13__namespace.forwardRef(
13924
13924
  },
13925
13925
  size: "sm",
13926
13926
  children: [
13927
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
13928
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalTitle, { children: [
13927
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
13928
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalTitle, { children: [
13929
13929
  "Delete ",
13930
13930
  entityLabel
13931
13931
  ] }),
13932
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
13932
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
13933
13933
  ] }),
13934
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground", children: [
13934
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground", children: [
13935
13935
  "Are you sure you want to delete",
13936
13936
  " ",
13937
13937
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground font-medium", children: deleteTarget?.label }),
13938
13938
  "? This action cannot be undone."
13939
13939
  ] }) }),
13940
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
13940
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
13941
13941
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: () => setDeleteTarget(null), children: "Cancel" }),
13942
13942
  /* @__PURE__ */ jsxRuntime.jsx(
13943
13943
  chunkFSARTLUE_cjs.Button,
@@ -13957,7 +13957,7 @@ var CountBadge = React13__namespace.forwardRef(
13957
13957
  }
13958
13958
  ),
13959
13959
  /* @__PURE__ */ jsxRuntime.jsxs(
13960
- chunkLC3JL2HB_cjs.Modal,
13960
+ chunkXEHD2HA5_cjs.Modal,
13961
13961
  {
13962
13962
  open: !!editTarget,
13963
13963
  onOpenChange: (isOpen) => {
@@ -13968,15 +13968,15 @@ var CountBadge = React13__namespace.forwardRef(
13968
13968
  },
13969
13969
  size: "md",
13970
13970
  children: [
13971
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
13972
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalTitle, { children: [
13971
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
13972
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalTitle, { children: [
13973
13973
  label,
13974
13974
  ": ",
13975
13975
  editTarget?.label
13976
13976
  ] }),
13977
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
13977
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
13978
13978
  ] }),
13979
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-4", onSubmit: (e) => e.preventDefault(), children: [
13979
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-4", onSubmit: (e) => e.preventDefault(), children: [
13980
13980
  /* @__PURE__ */ jsxRuntime.jsx(
13981
13981
  chunkZ5S5JEJD_cjs.Input,
13982
13982
  {
@@ -14088,7 +14088,7 @@ var CountBadge = React13__namespace.forwardRef(
14088
14088
  )
14089
14089
  ] })
14090
14090
  ] }) }),
14091
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
14091
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
14092
14092
  /* @__PURE__ */ jsxRuntime.jsx(
14093
14093
  chunkFSARTLUE_cjs.Button,
14094
14094
  {
@@ -14118,7 +14118,7 @@ var CountBadge = React13__namespace.forwardRef(
14118
14118
  }
14119
14119
  ),
14120
14120
  /* @__PURE__ */ jsxRuntime.jsxs(
14121
- chunkLC3JL2HB_cjs.Modal,
14121
+ chunkXEHD2HA5_cjs.Modal,
14122
14122
  {
14123
14123
  open: !!viewTarget,
14124
14124
  onOpenChange: (isOpen) => {
@@ -14126,15 +14126,15 @@ var CountBadge = React13__namespace.forwardRef(
14126
14126
  },
14127
14127
  size: "md",
14128
14128
  children: [
14129
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
14130
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalTitle, { children: [
14129
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
14130
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalTitle, { children: [
14131
14131
  label,
14132
14132
  ": ",
14133
14133
  viewTarget?.label
14134
14134
  ] }),
14135
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
14135
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
14136
14136
  ] }),
14137
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { children: [
14137
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { children: [
14138
14138
  /* @__PURE__ */ jsxRuntime.jsx(ViewModalActions, { viewTarget }),
14139
14139
  /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "space-y-3 text-sm", children: [
14140
14140
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between", children: [
@@ -14214,7 +14214,7 @@ var CountBadge = React13__namespace.forwardRef(
14214
14214
  ] })
14215
14215
  ] })
14216
14216
  ] }),
14217
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
14217
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
14218
14218
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: () => setViewTarget(null), children: "Close" }),
14219
14219
  onEdit && /* @__PURE__ */ jsxRuntime.jsx(
14220
14220
  chunkFSARTLUE_cjs.Button,
@@ -15386,6 +15386,793 @@ var DashboardWidgetDataCards = React13__namespace.forwardRef(({ className, items
15386
15386
  );
15387
15387
  });
15388
15388
  DashboardWidgetDataCards.displayName = "DashboardWidgetDataCards";
15389
+ function getDefaultPresets(labels = {}) {
15390
+ const {
15391
+ today = "Today",
15392
+ thisWeek = "This Week",
15393
+ thisMonth = "This Month",
15394
+ lastMonth = "Last Month",
15395
+ last24Hours = "Last 24 Hours",
15396
+ last7Days = "Last 7 Days",
15397
+ last30Days = "Last 30 Days"
15398
+ } = labels;
15399
+ return [
15400
+ { key: "today", label: today },
15401
+ { key: "this-week", label: thisWeek },
15402
+ { key: "this-month", label: thisMonth },
15403
+ { key: "last-month", label: lastMonth },
15404
+ { key: "last-24-hours", label: last24Hours },
15405
+ { key: "last-7-days", label: last7Days },
15406
+ { key: "last-30-days", label: last30Days }
15407
+ ];
15408
+ }
15409
+ function getExtendedPresets(labels = {}) {
15410
+ const {
15411
+ today = "Today",
15412
+ yesterday = "Yesterday",
15413
+ thisWeek = "This Week",
15414
+ lastWeek = "Last Week",
15415
+ thisMonth = "This Month",
15416
+ lastMonth = "Last Month",
15417
+ thisQuarter = "This Quarter",
15418
+ lastQuarter = "Last Quarter",
15419
+ thisYear = "This Year",
15420
+ lastYear = "Last Year",
15421
+ last24Hours = "Last 24 Hours",
15422
+ last7Days = "Last 7 Days",
15423
+ last30Days = "Last 30 Days",
15424
+ last90Days = "Last 90 Days",
15425
+ last365Days = "Last 365 Days"
15426
+ } = labels;
15427
+ return [
15428
+ { key: "today", label: today },
15429
+ { key: "yesterday", label: yesterday },
15430
+ { key: "last-24-hours", label: last24Hours },
15431
+ { key: "this-week", label: thisWeek },
15432
+ { key: "last-week", label: lastWeek },
15433
+ { key: "last-7-days", label: last7Days },
15434
+ { key: "this-month", label: thisMonth },
15435
+ { key: "last-month", label: lastMonth },
15436
+ { key: "last-30-days", label: last30Days },
15437
+ { key: "this-quarter", label: thisQuarter },
15438
+ { key: "last-quarter", label: lastQuarter },
15439
+ { key: "last-90-days", label: last90Days },
15440
+ { key: "this-year", label: thisYear },
15441
+ { key: "last-year", label: lastYear },
15442
+ { key: "last-365-days", label: last365Days }
15443
+ ];
15444
+ }
15445
+ function endOfDay(d) {
15446
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate(), 23, 59, 59, 999);
15447
+ }
15448
+ function calculateDateRange(presetKey) {
15449
+ const now = /* @__PURE__ */ new Date();
15450
+ const today = new Date(now.getFullYear(), now.getMonth(), now.getDate());
15451
+ switch (presetKey) {
15452
+ case "today":
15453
+ return { start: today, end: endOfDay(today) };
15454
+ case "yesterday": {
15455
+ const yesterday = new Date(today);
15456
+ yesterday.setDate(today.getDate() - 1);
15457
+ return { start: yesterday, end: endOfDay(yesterday) };
15458
+ }
15459
+ case "this-week": {
15460
+ const dayOfWeek = today.getDay();
15461
+ const sunday = new Date(today);
15462
+ sunday.setDate(today.getDate() - dayOfWeek);
15463
+ const saturday = new Date(sunday);
15464
+ saturday.setDate(sunday.getDate() + 6);
15465
+ return { start: sunday, end: endOfDay(saturday) };
15466
+ }
15467
+ case "last-week": {
15468
+ const dayOfWeek = today.getDay();
15469
+ const lastSunday = new Date(today);
15470
+ lastSunday.setDate(today.getDate() - dayOfWeek - 7);
15471
+ const lastSaturday = new Date(lastSunday);
15472
+ lastSaturday.setDate(lastSunday.getDate() + 6);
15473
+ return { start: lastSunday, end: endOfDay(lastSaturday) };
15474
+ }
15475
+ case "this-month": {
15476
+ const firstDay = new Date(now.getFullYear(), now.getMonth(), 1);
15477
+ const lastDay = new Date(now.getFullYear(), now.getMonth() + 1, 0);
15478
+ return { start: firstDay, end: endOfDay(lastDay) };
15479
+ }
15480
+ case "last-month": {
15481
+ const firstDay = new Date(now.getFullYear(), now.getMonth() - 1, 1);
15482
+ const lastDay = new Date(now.getFullYear(), now.getMonth(), 0);
15483
+ return { start: firstDay, end: endOfDay(lastDay) };
15484
+ }
15485
+ case "this-quarter": {
15486
+ const quarter = Math.floor(now.getMonth() / 3);
15487
+ const firstDay = new Date(now.getFullYear(), quarter * 3, 1);
15488
+ const lastDay = new Date(now.getFullYear(), quarter * 3 + 3, 0);
15489
+ return { start: firstDay, end: endOfDay(lastDay) };
15490
+ }
15491
+ case "last-quarter": {
15492
+ const quarter = Math.floor(now.getMonth() / 3);
15493
+ const firstDay = new Date(now.getFullYear(), (quarter - 1) * 3, 1);
15494
+ const lastDay = new Date(now.getFullYear(), quarter * 3, 0);
15495
+ return { start: firstDay, end: endOfDay(lastDay) };
15496
+ }
15497
+ case "this-year": {
15498
+ const firstDay = new Date(now.getFullYear(), 0, 1);
15499
+ const lastDay = new Date(now.getFullYear(), 11, 31);
15500
+ return { start: firstDay, end: endOfDay(lastDay) };
15501
+ }
15502
+ case "last-year": {
15503
+ const firstDay = new Date(now.getFullYear() - 1, 0, 1);
15504
+ const lastDay = new Date(now.getFullYear() - 1, 11, 31);
15505
+ return { start: firstDay, end: endOfDay(lastDay) };
15506
+ }
15507
+ case "last-24-hours":
15508
+ return {
15509
+ start: new Date(now.getTime() - 24 * 60 * 60 * 1e3),
15510
+ end: now
15511
+ };
15512
+ case "last-7-days":
15513
+ return {
15514
+ start: new Date(now.getTime() - 7 * 24 * 60 * 60 * 1e3),
15515
+ end: now
15516
+ };
15517
+ case "last-30-days":
15518
+ return {
15519
+ start: new Date(now.getTime() - 30 * 24 * 60 * 60 * 1e3),
15520
+ end: now
15521
+ };
15522
+ case "last-90-days":
15523
+ return {
15524
+ start: new Date(now.getTime() - 90 * 24 * 60 * 60 * 1e3),
15525
+ end: now
15526
+ };
15527
+ case "last-365-days":
15528
+ return {
15529
+ start: new Date(now.getTime() - 365 * 24 * 60 * 60 * 1e3),
15530
+ end: now
15531
+ };
15532
+ default:
15533
+ return { start: null, end: null };
15534
+ }
15535
+ }
15536
+ function formatDateRange(range) {
15537
+ if (!range.start && !range.end) return "";
15538
+ const formatDate4 = (d) => {
15539
+ if (!d) return "";
15540
+ return d.toLocaleDateString("en-US", {
15541
+ month: "short",
15542
+ day: "numeric",
15543
+ year: "numeric"
15544
+ });
15545
+ };
15546
+ if (range.start && range.end) {
15547
+ return `${formatDate4(range.start)} - ${formatDate4(range.end)}`;
15548
+ }
15549
+ return formatDate4(range.start || range.end);
15550
+ }
15551
+ function DateRangePicker({
15552
+ value,
15553
+ onChange,
15554
+ presets,
15555
+ activePreset,
15556
+ placeholder = "Pick a date range",
15557
+ className,
15558
+ align = "auto",
15559
+ showPresets = true,
15560
+ variant = "desktop",
15561
+ labels = {}
15562
+ }) {
15563
+ const finalPresets = presets || getDefaultPresets(labels);
15564
+ const [isCalendarOpen, setIsCalendarOpen] = React13__namespace.useState(false);
15565
+ const [leftMonth, setLeftMonth] = React13__namespace.useState(
15566
+ () => value?.start?.getMonth() ?? (/* @__PURE__ */ new Date()).getMonth()
15567
+ );
15568
+ const [leftYear, setLeftYear] = React13__namespace.useState(
15569
+ () => value?.start?.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear()
15570
+ );
15571
+ const [rangeStart, setRangeStart] = React13__namespace.useState(
15572
+ value?.start ?? null
15573
+ );
15574
+ const [rangeEnd, setRangeEnd] = React13__namespace.useState(
15575
+ value?.end ?? null
15576
+ );
15577
+ const [selectingEnd, setSelectingEnd] = React13__namespace.useState(false);
15578
+ const [hoverDate, setHoverDate] = React13__namespace.useState(null);
15579
+ const calendarRef = React13__namespace.useRef(null);
15580
+ const triggerRef = React13__namespace.useRef(null);
15581
+ const [resolvedAlign, setResolvedAlign] = React13__namespace.useState(
15582
+ align === "end" ? "end" : "start"
15583
+ );
15584
+ const isMobileVariant = variant === "mobile";
15585
+ const isResponsive = variant === "responsive";
15586
+ const focusTrapRef = chunkNNEFAUHV_cjs.useFocusTrap(
15587
+ isMobileVariant && isCalendarOpen
15588
+ );
15589
+ const rightMonth = leftMonth === 11 ? 0 : leftMonth + 1;
15590
+ const rightYear = leftMonth === 11 ? leftYear + 1 : leftYear;
15591
+ React13__namespace.useEffect(() => {
15592
+ if (!value) {
15593
+ setRangeStart(null);
15594
+ setRangeEnd(null);
15595
+ return;
15596
+ }
15597
+ setRangeStart(value.start ?? null);
15598
+ setRangeEnd(value.end ?? null);
15599
+ }, [value]);
15600
+ const wrapperRef = React13__namespace.useRef(null);
15601
+ const outsideRefs = React13__namespace.useMemo(
15602
+ () => [wrapperRef, calendarRef],
15603
+ [calendarRef]
15604
+ );
15605
+ chunkFSGEDDF2_cjs.useClickOutside(
15606
+ outsideRefs,
15607
+ () => {
15608
+ setIsCalendarOpen(false);
15609
+ setSelectingEnd(false);
15610
+ },
15611
+ isCalendarOpen
15612
+ );
15613
+ const { anchorRef, floatingRef, style } = chunkAOHJILLU_cjs.useAnchoredPosition({
15614
+ open: !isMobileVariant && isCalendarOpen,
15615
+ placement: resolvedAlign === "end" ? "bottom-end" : "bottom-start"
15616
+ });
15617
+ chunkFHY3K6PL_cjs.useEscapeKey(() => {
15618
+ setIsCalendarOpen(false);
15619
+ setSelectingEnd(false);
15620
+ triggerRef.current?.focus();
15621
+ }, isCalendarOpen);
15622
+ React13__namespace.useEffect(() => {
15623
+ if (chunkSCV7C55E_cjs.isStorybookDocsMode()) return;
15624
+ if (isMobileVariant && isCalendarOpen) {
15625
+ const prev = document.body.style.overflow;
15626
+ document.body.style.overflow = "hidden";
15627
+ return () => {
15628
+ document.body.style.overflow = prev;
15629
+ };
15630
+ }
15631
+ }, [isMobileVariant, isCalendarOpen]);
15632
+ React13__namespace.useLayoutEffect(() => {
15633
+ if (isMobileVariant || !isCalendarOpen) return;
15634
+ if (align === "start" || align === "end") {
15635
+ setResolvedAlign(align);
15636
+ return;
15637
+ }
15638
+ if (typeof window === "undefined") return;
15639
+ const trigger = triggerRef.current;
15640
+ if (!trigger) return;
15641
+ const rect = trigger.getBoundingClientRect();
15642
+ const estimatedPopupWidth = showPresets ? 840 : 640;
15643
+ const margin = 8;
15644
+ const overflowsRight = rect.left + estimatedPopupWidth > window.innerWidth - margin;
15645
+ const fitsLeftAligned = rect.right - estimatedPopupWidth >= margin;
15646
+ setResolvedAlign(overflowsRight && fitsLeftAligned ? "end" : "start");
15647
+ }, [align, isCalendarOpen, isMobileVariant, showPresets]);
15648
+ const handlePresetSelect = (presetKey) => {
15649
+ const range = calculateDateRange(presetKey);
15650
+ setRangeStart(range.start);
15651
+ setRangeEnd(range.end);
15652
+ setSelectingEnd(false);
15653
+ setIsCalendarOpen(false);
15654
+ if (range.start) {
15655
+ setLeftMonth(range.start.getMonth());
15656
+ setLeftYear(range.start.getFullYear());
15657
+ }
15658
+ onChange(range, presetKey);
15659
+ };
15660
+ const handleDayClick = (day, month, year) => {
15661
+ const clicked = new Date(year, month, day);
15662
+ if (!selectingEnd) {
15663
+ setRangeStart(clicked);
15664
+ setRangeEnd(null);
15665
+ setSelectingEnd(true);
15666
+ } else {
15667
+ let start = rangeStart;
15668
+ let end = clicked;
15669
+ if (end < start) {
15670
+ [start, end] = [end, start];
15671
+ }
15672
+ setRangeStart(start);
15673
+ setRangeEnd(end);
15674
+ setSelectingEnd(false);
15675
+ if (variant !== "mobile") {
15676
+ setIsCalendarOpen(false);
15677
+ }
15678
+ onChange({ start, end });
15679
+ }
15680
+ };
15681
+ const toggleCalendar = () => {
15682
+ if (!isCalendarOpen) {
15683
+ if (value?.start) {
15684
+ setRangeStart(value.start);
15685
+ setRangeEnd(value.end ?? null);
15686
+ setLeftMonth(value.start.getMonth());
15687
+ setLeftYear(value.start.getFullYear());
15688
+ } else {
15689
+ const now = /* @__PURE__ */ new Date();
15690
+ setLeftMonth(now.getMonth());
15691
+ setLeftYear(now.getFullYear());
15692
+ }
15693
+ setSelectingEnd(false);
15694
+ }
15695
+ setIsCalendarOpen(!isCalendarOpen);
15696
+ };
15697
+ const goToPrevMonth = () => {
15698
+ if (leftMonth === 0) {
15699
+ setLeftMonth(11);
15700
+ setLeftYear(leftYear - 1);
15701
+ } else {
15702
+ setLeftMonth(leftMonth - 1);
15703
+ }
15704
+ };
15705
+ const goToNextMonth = () => {
15706
+ if (leftMonth === 11) {
15707
+ setLeftMonth(0);
15708
+ setLeftYear(leftYear + 1);
15709
+ } else {
15710
+ setLeftMonth(leftMonth + 1);
15711
+ }
15712
+ };
15713
+ const getDaysInMonth = (month, year) => new Date(year, month + 1, 0).getDate();
15714
+ const getFirstDayOfMonth = (month, year) => new Date(year, month, 1).getDay();
15715
+ const isSameDay = (a, b) => a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
15716
+ const isInRange = (date) => {
15717
+ const start = rangeStart;
15718
+ const end = selectingEnd ? hoverDate : rangeEnd;
15719
+ if (!start || !end) return false;
15720
+ const [lo, hi] = start <= end ? [start, end] : [end, start];
15721
+ return date > lo && date < hi;
15722
+ };
15723
+ const isStart = (date) => {
15724
+ if (!rangeStart) return false;
15725
+ return isSameDay(date, rangeStart);
15726
+ };
15727
+ const isEnd = (date) => {
15728
+ const end = selectingEnd ? hoverDate : rangeEnd;
15729
+ if (!end) return false;
15730
+ return isSameDay(date, end);
15731
+ };
15732
+ const isToday = (date) => {
15733
+ const today = /* @__PURE__ */ new Date();
15734
+ return isSameDay(date, today);
15735
+ };
15736
+ const displayValue = value ? formatDateRange(value) : "";
15737
+ const monthNames = React13__namespace.useMemo(
15738
+ () => Array.from(
15739
+ { length: 12 },
15740
+ (_, i) => new Intl.DateTimeFormat(void 0, { month: "long" }).format(
15741
+ new Date(2e3, i, 1)
15742
+ )
15743
+ ),
15744
+ []
15745
+ );
15746
+ const weekdayNames = React13__namespace.useMemo(
15747
+ () => Array.from(
15748
+ { length: 7 },
15749
+ (_, i) => new Intl.DateTimeFormat(void 0, { weekday: "short" }).format(
15750
+ new Date(1970, 0, 4 + i)
15751
+ )
15752
+ ),
15753
+ []
15754
+ );
15755
+ const renderMonthGrid = (month, year) => {
15756
+ const daysInMonth = getDaysInMonth(month, year);
15757
+ const firstDay = getFirstDayOfMonth(month, year);
15758
+ const prevMonth = month === 0 ? 11 : month - 1;
15759
+ const prevYear = month === 0 ? year - 1 : year;
15760
+ const daysInPrevMonth = getDaysInMonth(prevMonth, prevYear);
15761
+ const cells = [];
15762
+ for (let i = firstDay - 1; i >= 0; i--) {
15763
+ cells.push({
15764
+ day: daysInPrevMonth - i,
15765
+ month: prevMonth,
15766
+ year: prevYear,
15767
+ isCurrentMonth: false
15768
+ });
15769
+ }
15770
+ for (let i = 1; i <= daysInMonth; i++) {
15771
+ cells.push({ day: i, month, year, isCurrentMonth: true });
15772
+ }
15773
+ const nextMonth = month === 11 ? 0 : month + 1;
15774
+ const nextYear = month === 11 ? year + 1 : year;
15775
+ const remaining = 42 - cells.length;
15776
+ for (let i = 1; i <= remaining; i++) {
15777
+ cells.push({
15778
+ day: i,
15779
+ month: nextMonth,
15780
+ year: nextYear,
15781
+ isCurrentMonth: false
15782
+ });
15783
+ }
15784
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-[280px]", "data-slot": "date-range-grid", children: [
15785
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 grid grid-cols-7", "data-slot": "date-range-weekdays", children: weekdayNames.map((dayName) => /* @__PURE__ */ jsxRuntime.jsx(
15786
+ "div",
15787
+ {
15788
+ className: "text-muted-foreground py-1 text-center text-xs font-medium",
15789
+ "data-slot": "date-range-weekday",
15790
+ children: dayName
15791
+ },
15792
+ dayName
15793
+ )) }),
15794
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-7", "data-slot": "date-range-day-grid", children: cells.map((cell, index) => {
15795
+ const date = new Date(cell.year, cell.month, cell.day);
15796
+ const inRange = isInRange(date);
15797
+ const start = isStart(date);
15798
+ const end = isEnd(date);
15799
+ const today = isToday(date);
15800
+ return /* @__PURE__ */ jsxRuntime.jsx(
15801
+ "button",
15802
+ {
15803
+ type: "button",
15804
+ "data-slot": "date-range-day",
15805
+ onClick: () => handleDayClick(cell.day, cell.month, cell.year),
15806
+ onMouseEnter: () => {
15807
+ if (selectingEnd) {
15808
+ setHoverDate(date);
15809
+ }
15810
+ },
15811
+ className: chunkS5RVSXDV_cjs.cn(
15812
+ "relative h-9 w-10 text-center text-sm",
15813
+ "focus:ring-ring focus:z-10 focus:ring-2 focus:outline-none",
15814
+ "transition-colors",
15815
+ // Not current month — dimmed
15816
+ !cell.isCurrentMonth && "text-muted-foreground/50",
15817
+ // Current month — normal
15818
+ cell.isCurrentMonth && "text-foreground",
15819
+ // Hover
15820
+ "hover:bg-muted",
15821
+ // In range background
15822
+ inRange && "bg-muted",
15823
+ // Start date
15824
+ start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
15825
+ // End date
15826
+ end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
15827
+ // Today indicator (only if not start/end)
15828
+ today && !start && !end && "font-semibold"
15829
+ ),
15830
+ children: cell.day
15831
+ },
15832
+ index
15833
+ );
15834
+ }) })
15835
+ ] });
15836
+ };
15837
+ return /* @__PURE__ */ jsxRuntime.jsxs(
15838
+ "div",
15839
+ {
15840
+ ref: (node) => {
15841
+ wrapperRef.current = node;
15842
+ anchorRef.current = node;
15843
+ },
15844
+ className: chunkS5RVSXDV_cjs.cn("relative inline-block", className),
15845
+ "data-slot": "date-range-picker",
15846
+ children: [
15847
+ /* @__PURE__ */ jsxRuntime.jsxs(
15848
+ "button",
15849
+ {
15850
+ ref: triggerRef,
15851
+ type: "button",
15852
+ onClick: toggleCalendar,
15853
+ "aria-expanded": isCalendarOpen,
15854
+ "aria-haspopup": "dialog",
15855
+ "data-slot": "date-range-trigger",
15856
+ className: chunkS5RVSXDV_cjs.cn(
15857
+ "border-input bg-background hover:bg-muted",
15858
+ "inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
15859
+ "focus:ring-ring focus:ring-2 focus:outline-none",
15860
+ "transition-colors",
15861
+ !displayValue && "text-muted-foreground"
15862
+ ),
15863
+ children: [
15864
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "h-4 w-4", "data-slot": "date-range-trigger-icon" }),
15865
+ displayValue || placeholder
15866
+ ]
15867
+ }
15868
+ ),
15869
+ isMobileVariant && isCalendarOpen && // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
15870
+ /* @__PURE__ */ jsxRuntime.jsx(
15871
+ "div",
15872
+ {
15873
+ "data-slot": "date-range-mobile-overlay",
15874
+ className: "fixed inset-0 z-50 flex items-end justify-center bg-black/40",
15875
+ onClick: (event) => {
15876
+ if (event.target !== event.currentTarget) return;
15877
+ setIsCalendarOpen(false);
15878
+ setSelectingEnd(false);
15879
+ setHoverDate(null);
15880
+ if (triggerRef.current instanceof HTMLElement) {
15881
+ triggerRef.current.focus();
15882
+ }
15883
+ },
15884
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
15885
+ "div",
15886
+ {
15887
+ ref: (node) => {
15888
+ calendarRef.current = node;
15889
+ focusTrapRef.current = node;
15890
+ },
15891
+ className: "bg-background animate-in slide-in-from-bottom max-h-[90vh] w-full max-w-md overflow-y-auto rounded-t-2xl px-6 pt-4 pb-6 shadow-xl",
15892
+ role: "dialog",
15893
+ "aria-modal": "true",
15894
+ "aria-labelledby": "mobile-date-range-title",
15895
+ "data-slot": "date-range-mobile-sheet",
15896
+ children: [
15897
+ /* @__PURE__ */ jsxRuntime.jsx(
15898
+ "div",
15899
+ {
15900
+ className: "bg-muted mx-auto mb-4 h-1 w-10 rounded-full",
15901
+ "data-slot": "date-range-mobile-handle"
15902
+ }
15903
+ ),
15904
+ /* @__PURE__ */ jsxRuntime.jsx(
15905
+ "h3",
15906
+ {
15907
+ id: "mobile-date-range-title",
15908
+ className: "mb-4 text-lg font-semibold",
15909
+ "data-slot": "date-range-mobile-title",
15910
+ children: placeholder
15911
+ }
15912
+ ),
15913
+ /* @__PURE__ */ jsxRuntime.jsxs(
15914
+ "div",
15915
+ {
15916
+ className: "mb-3 flex items-center justify-center gap-4",
15917
+ "data-slot": "date-range-month-header",
15918
+ children: [
15919
+ /* @__PURE__ */ jsxRuntime.jsx(
15920
+ "button",
15921
+ {
15922
+ type: "button",
15923
+ onClick: goToPrevMonth,
15924
+ className: "hover:bg-muted rounded-md p-1 transition-colors",
15925
+ "aria-label": "Previous month",
15926
+ "data-slot": "date-range-nav",
15927
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
15928
+ }
15929
+ ),
15930
+ /* @__PURE__ */ jsxRuntime.jsxs(
15931
+ "div",
15932
+ {
15933
+ className: "text-sm font-medium",
15934
+ "data-slot": "date-range-month-label",
15935
+ children: [
15936
+ monthNames[leftMonth],
15937
+ " ",
15938
+ leftYear
15939
+ ]
15940
+ }
15941
+ ),
15942
+ /* @__PURE__ */ jsxRuntime.jsx(
15943
+ "button",
15944
+ {
15945
+ type: "button",
15946
+ onClick: goToNextMonth,
15947
+ className: "hover:bg-muted rounded-md p-1 transition-colors",
15948
+ "aria-label": "Next month",
15949
+ "data-slot": "date-range-nav",
15950
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
15951
+ }
15952
+ )
15953
+ ]
15954
+ }
15955
+ ),
15956
+ /* @__PURE__ */ jsxRuntime.jsx(
15957
+ "div",
15958
+ {
15959
+ className: "flex justify-center",
15960
+ onMouseLeave: () => setHoverDate(null),
15961
+ children: renderMonthGrid(leftMonth, leftYear)
15962
+ }
15963
+ ),
15964
+ /* @__PURE__ */ jsxRuntime.jsx(
15965
+ "button",
15966
+ {
15967
+ type: "button",
15968
+ "data-slot": "date-range-mobile-done",
15969
+ onClick: () => {
15970
+ setIsCalendarOpen(false);
15971
+ setSelectingEnd(false);
15972
+ if (triggerRef.current instanceof HTMLElement) {
15973
+ triggerRef.current.focus();
15974
+ }
15975
+ },
15976
+ className: "border-input hover:bg-muted mt-6 w-full rounded-lg border py-3 text-sm font-medium transition-colors",
15977
+ children: labels?.done ?? "Done"
15978
+ }
15979
+ )
15980
+ ]
15981
+ }
15982
+ )
15983
+ }
15984
+ ),
15985
+ !isMobileVariant && isCalendarOpen && ReactDOM.createPortal(
15986
+ /* @__PURE__ */ jsxRuntime.jsx(
15987
+ "div",
15988
+ {
15989
+ ref: (node) => {
15990
+ calendarRef.current = node;
15991
+ floatingRef.current = node;
15992
+ },
15993
+ style,
15994
+ className: chunkS5RVSXDV_cjs.cn(
15995
+ "overflow-auto",
15996
+ "bg-background border-border rounded-lg border shadow-lg"
15997
+ ),
15998
+ role: "dialog",
15999
+ "aria-label": "Choose date range",
16000
+ "data-slot": "date-range-popup",
16001
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex", children: [
16002
+ showPresets && /* @__PURE__ */ jsxRuntime.jsx(
16003
+ "div",
16004
+ {
16005
+ className: chunkS5RVSXDV_cjs.cn(
16006
+ "border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
16007
+ isResponsive && "hidden md:flex"
16008
+ ),
16009
+ "data-slot": "date-range-presets",
16010
+ children: finalPresets.map((preset) => /* @__PURE__ */ jsxRuntime.jsx(
16011
+ "button",
16012
+ {
16013
+ type: "button",
16014
+ onClick: () => handlePresetSelect(preset.key),
16015
+ "data-slot": "date-range-preset",
16016
+ className: chunkS5RVSXDV_cjs.cn(
16017
+ "rounded-md px-3 py-1.5 text-start text-sm transition-colors",
16018
+ "hover:bg-muted",
16019
+ activePreset === preset.key && "bg-primary-800 text-white"
16020
+ ),
16021
+ children: preset.label
16022
+ },
16023
+ preset.key
16024
+ ))
16025
+ }
16026
+ ),
16027
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4", "data-slot": "date-range-calendar", children: [
16028
+ /* @__PURE__ */ jsxRuntime.jsx(
16029
+ "p",
16030
+ {
16031
+ className: "text-muted-foreground mb-4 text-sm",
16032
+ "data-slot": "date-range-subtitle",
16033
+ children: "Select a start and end date from the calendar."
16034
+ }
16035
+ ),
16036
+ /* @__PURE__ */ jsxRuntime.jsxs(
16037
+ "div",
16038
+ {
16039
+ className: "flex gap-8",
16040
+ onMouseLeave: () => setHoverDate(null),
16041
+ "data-slot": "date-range-calendars",
16042
+ children: [
16043
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
16044
+ /* @__PURE__ */ jsxRuntime.jsxs(
16045
+ "div",
16046
+ {
16047
+ className: "mb-3 flex items-center",
16048
+ "data-slot": "date-range-month-header",
16049
+ children: [
16050
+ /* @__PURE__ */ jsxRuntime.jsx(
16051
+ "button",
16052
+ {
16053
+ type: "button",
16054
+ onClick: goToPrevMonth,
16055
+ className: "hover:bg-muted rounded-md p-1 transition-colors",
16056
+ "aria-label": "Previous month",
16057
+ "data-slot": "date-range-nav",
16058
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
16059
+ }
16060
+ ),
16061
+ /* @__PURE__ */ jsxRuntime.jsxs(
16062
+ "div",
16063
+ {
16064
+ className: "flex-1 text-center text-sm font-medium",
16065
+ "data-slot": "date-range-month-label",
16066
+ children: [
16067
+ monthNames[leftMonth],
16068
+ " ",
16069
+ leftYear
16070
+ ]
16071
+ }
16072
+ ),
16073
+ isResponsive && /* @__PURE__ */ jsxRuntime.jsx(
16074
+ "button",
16075
+ {
16076
+ type: "button",
16077
+ onClick: goToNextMonth,
16078
+ className: "hover:bg-muted rounded-md p-1 transition-colors md:hidden",
16079
+ "aria-label": "Next month",
16080
+ "data-slot": "date-range-nav",
16081
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
16082
+ }
16083
+ )
16084
+ ]
16085
+ }
16086
+ ),
16087
+ renderMonthGrid(leftMonth, leftYear)
16088
+ ] }),
16089
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS5RVSXDV_cjs.cn(isResponsive && "hidden md:block"), children: [
16090
+ /* @__PURE__ */ jsxRuntime.jsxs(
16091
+ "div",
16092
+ {
16093
+ className: "mb-3 flex items-center",
16094
+ "data-slot": "date-range-month-header",
16095
+ children: [
16096
+ /* @__PURE__ */ jsxRuntime.jsxs(
16097
+ "div",
16098
+ {
16099
+ className: "flex-1 text-center text-sm font-medium",
16100
+ "data-slot": "date-range-month-label",
16101
+ children: [
16102
+ monthNames[rightMonth],
16103
+ " ",
16104
+ rightYear
16105
+ ]
16106
+ }
16107
+ ),
16108
+ /* @__PURE__ */ jsxRuntime.jsx(
16109
+ "button",
16110
+ {
16111
+ type: "button",
16112
+ onClick: goToNextMonth,
16113
+ className: "hover:bg-muted rounded-md p-1 transition-colors",
16114
+ "aria-label": "Next month",
16115
+ "data-slot": "date-range-nav",
16116
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
16117
+ }
16118
+ )
16119
+ ]
16120
+ }
16121
+ ),
16122
+ renderMonthGrid(rightMonth, rightYear)
16123
+ ] })
16124
+ ]
16125
+ }
16126
+ )
16127
+ ] })
16128
+ ] })
16129
+ }
16130
+ ),
16131
+ document.body
16132
+ )
16133
+ ]
16134
+ }
16135
+ );
16136
+ }
16137
+ function DateRangeFilter({
16138
+ value: _value,
16139
+ onChange,
16140
+ presets,
16141
+ activePreset,
16142
+ variant = "outline",
16143
+ className,
16144
+ labels = {}
16145
+ }) {
16146
+ const finalPresets = presets || getDefaultPresets(labels);
16147
+ const activeLabel = finalPresets.find((p) => p.key === activePreset)?.label;
16148
+ const handlePresetSelect = (presetKey) => {
16149
+ const range = calculateDateRange(presetKey);
16150
+ onChange(range, presetKey);
16151
+ };
16152
+ return /* @__PURE__ */ jsxRuntime.jsx(
16153
+ chunkPINIBEIU_cjs.Dropdown,
16154
+ {
16155
+ trigger: /* @__PURE__ */ jsxRuntime.jsxs(chunkFSARTLUE_cjs.Button, { variant, size: "md", className, children: [
16156
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "me-2 h-4 w-4" }),
16157
+ activeLabel || labels.filter || "Filter by Date",
16158
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "ms-2 h-3 w-3" })
16159
+ ] }),
16160
+ className: "w-56",
16161
+ "data-slot": "date-range-filter",
16162
+ children: finalPresets.map((preset) => /* @__PURE__ */ jsxRuntime.jsx(
16163
+ chunkPINIBEIU_cjs.DropdownItem,
16164
+ {
16165
+ onClick: () => handlePresetSelect(preset.key),
16166
+ className: chunkS5RVSXDV_cjs.cn(
16167
+ activePreset === preset.key && "bg-primary/10 text-primary"
16168
+ ),
16169
+ children: preset.label
16170
+ },
16171
+ preset.key
16172
+ ))
16173
+ }
16174
+ );
16175
+ }
15389
16176
  function DropZone({
15390
16177
  onFilesSelected,
15391
16178
  acceptedFileTypes,
@@ -16502,19 +17289,19 @@ function WebcamModal({
16502
17289
  ] });
16503
17290
  };
16504
17291
  return /* @__PURE__ */ jsxRuntime.jsxs(
16505
- chunkLC3JL2HB_cjs.Modal,
17292
+ chunkXEHD2HA5_cjs.Modal,
16506
17293
  {
16507
17294
  open,
16508
17295
  onOpenChange: handleClose,
16509
17296
  size: "lg",
16510
17297
  "aria-label": "Webcam capture",
16511
17298
  children: [
16512
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
16513
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Take a Photo" }),
16514
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
17299
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
17300
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Take a Photo" }),
17301
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
16515
17302
  ] }),
16516
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: renderContent() }),
16517
- permission !== "denied" && permission !== "unavailable" && !capturedFile && /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: handleClose, children: "Cancel" }) })
17303
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: renderContent() }),
17304
+ permission !== "denied" && permission !== "unavailable" && !capturedFile && /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: handleClose, children: "Cancel" }) })
16518
17305
  ]
16519
17306
  }
16520
17307
  );
@@ -17771,14 +18558,14 @@ function CreateInvoiceModal({
17771
18558
  value: emp.id,
17772
18559
  label: emp.name
17773
18560
  }));
17774
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { "data-slot": "invoice-modal", onSubmit: handleSubmit, children: [
17775
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(
18561
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { "data-slot": "invoice-modal", onSubmit: handleSubmit, children: [
18562
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(
17776
18563
  "div",
17777
18564
  {
17778
18565
  "data-slot": "invoice-modal-header",
17779
18566
  className: "flex items-center gap-3",
17780
18567
  children: [
17781
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Create Invoice" }),
18568
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Create Invoice" }),
17782
18569
  /* @__PURE__ */ jsxRuntime.jsxs(chunk7E46YDOT_cjs.Badge, { variant: "secondary", children: [
17783
18570
  "Step ",
17784
18571
  step,
@@ -17787,7 +18574,7 @@ function CreateInvoiceModal({
17787
18574
  ]
17788
18575
  }
17789
18576
  ) }),
17790
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
18577
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
17791
18578
  errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
17792
18579
  "div",
17793
18580
  {
@@ -18037,7 +18824,7 @@ function CreateInvoiceModal({
18037
18824
  }
18038
18825
  ),
18039
18826
  /* @__PURE__ */ jsxRuntime.jsx(
18040
- chunkZNYBLM4O_cjs.Textarea,
18827
+ chunkDXNVQQYN_cjs.Textarea,
18041
18828
  {
18042
18829
  label: "Notes (Optional)",
18043
18830
  rows: 3,
@@ -18048,7 +18835,7 @@ function CreateInvoiceModal({
18048
18835
  )
18049
18836
  ] })
18050
18837
  ] }),
18051
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsxs(
18838
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsxs(
18052
18839
  "div",
18053
18840
  {
18054
18841
  "data-slot": "invoice-modal-footer",
@@ -18177,9 +18964,9 @@ function CreateReferralModal({
18177
18964
  });
18178
18965
  };
18179
18966
  const isValid = employee && selectedServices.size > 0;
18180
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { "data-slot": "referral-modal", onSubmit: handleSubmit, children: [
18181
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Create Referral" }) }),
18182
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
18967
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { "data-slot": "referral-modal", onSubmit: handleSubmit, children: [
18968
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Create Referral" }) }),
18969
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
18183
18970
  errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
18184
18971
  "div",
18185
18972
  {
@@ -18353,7 +19140,7 @@ function CreateReferralModal({
18353
19140
  )) })
18354
19141
  ] }),
18355
19142
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
18356
- chunkZNYBLM4O_cjs.Textarea,
19143
+ chunkDXNVQQYN_cjs.Textarea,
18357
19144
  {
18358
19145
  label: "Notes (Optional)",
18359
19146
  rows: 2,
@@ -18392,7 +19179,7 @@ function CreateReferralModal({
18392
19179
  }
18393
19180
  )
18394
19181
  ] }),
18395
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
19182
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
18396
19183
  /* @__PURE__ */ jsxRuntime.jsx(
18397
19184
  chunkFSARTLUE_cjs.Button,
18398
19185
  {
@@ -18467,9 +19254,9 @@ function EditUserRoleModal({
18467
19254
  if (!user || !selectedRoleId || !onSave) return;
18468
19255
  onSave({ userId: user.id, roleId: selectedRoleId });
18469
19256
  };
18470
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "md", children: [
18471
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Edit User Role" }) }),
18472
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
19257
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "md", children: [
19258
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Edit User Role" }) }),
19259
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
18473
19260
  user && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-muted rounded-lg p-3", children: [
18474
19261
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground font-medium", children: user.name }),
18475
19262
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground/70 text-sm", children: user.email })
@@ -18529,7 +19316,7 @@ function EditUserRoleModal({
18529
19316
  )) })
18530
19317
  ] })
18531
19318
  ] }),
18532
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
19319
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
18533
19320
  /* @__PURE__ */ jsxRuntime.jsx(
18534
19321
  chunkFSARTLUE_cjs.Button,
18535
19322
  {
@@ -18945,7 +19732,7 @@ function EmployeeForm({
18945
19732
  )
18946
19733
  ] }),
18947
19734
  /* @__PURE__ */ jsxRuntime.jsx(
18948
- chunkZNYBLM4O_cjs.Textarea,
19735
+ chunkDXNVQQYN_cjs.Textarea,
18949
19736
  {
18950
19737
  label: additionalInformation,
18951
19738
  value: additionalInfo,
@@ -20283,12 +21070,12 @@ function EmployerServiceModal({
20283
21070
  if (!onSave) return;
20284
21071
  onSave(config);
20285
21072
  };
20286
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
20287
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalTitle, { children: [
21073
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
21074
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalTitle, { children: [
20288
21075
  "Configure Service for ",
20289
21076
  employer?.name || "Employer"
20290
21077
  ] }) }),
20291
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", "data-slot": "employer-service-body", children: [
21078
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", "data-slot": "employer-service-body", children: [
20292
21079
  errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
20293
21080
  "div",
20294
21081
  {
@@ -20541,7 +21328,7 @@ function EmployerServiceModal({
20541
21328
  )
20542
21329
  ] })
20543
21330
  ] }),
20544
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
21331
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
20545
21332
  /* @__PURE__ */ jsxRuntime.jsx(
20546
21333
  chunkFSARTLUE_cjs.Button,
20547
21334
  {
@@ -21964,7 +22751,7 @@ function HelpSupportPanel({
21964
22751
  }
21965
22752
  ),
21966
22753
  /* @__PURE__ */ jsxRuntime.jsx(
21967
- chunkZNYBLM4O_cjs.Textarea,
22754
+ chunkDXNVQQYN_cjs.Textarea,
21968
22755
  {
21969
22756
  id: "support-message",
21970
22757
  required: true,
@@ -22610,7 +23397,7 @@ function InventoryManager({
22610
23397
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: "No inventory changes recorded yet." })
22611
23398
  ] }),
22612
23399
  /* @__PURE__ */ jsxRuntime.jsxs(
22613
- chunkLC3JL2HB_cjs.Modal,
23400
+ chunkXEHD2HA5_cjs.Modal,
22614
23401
  {
22615
23402
  open: showUpdateModal,
22616
23403
  onOpenChange: (open) => {
@@ -22620,8 +23407,8 @@ function InventoryManager({
22620
23407
  },
22621
23408
  size: "lg",
22622
23409
  children: [
22623
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Inventory Manager" }) }),
22624
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
23410
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Inventory Manager" }) }),
23411
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
22625
23412
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-foreground text-lg font-semibold", children: serviceName }) }),
22626
23413
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-muted-foreground mb-2 text-sm font-medium", children: "Update Inventory" }) }),
22627
23414
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-0", children: [
@@ -22698,7 +23485,7 @@ function InventoryManager({
22698
23485
  }
22699
23486
  ),
22700
23487
  /* @__PURE__ */ jsxRuntime.jsx(
22701
- chunkZNYBLM4O_cjs.Textarea,
23488
+ chunkDXNVQQYN_cjs.Textarea,
22702
23489
  {
22703
23490
  label: "Memo",
22704
23491
  value: updateMemo,
@@ -22736,7 +23523,7 @@ function InventoryManager({
22736
23523
  ] })
22737
23524
  ] })
22738
23525
  ] }),
22739
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
23526
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
22740
23527
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "outline", onClick: onUpdateModalClose, children: "Cancel" }),
22741
23528
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: handleSubmit, disabled: !updateAmount || isLoading, children: isLoading ? "Saving..." : "Save" })
22742
23529
  ] })
@@ -22783,9 +23570,9 @@ function InviteUserModal({
22783
23570
  });
22784
23571
  };
22785
23572
  const isValid = email && roleId;
22786
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
22787
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Invite User" }) }),
22788
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", "data-slot": "invite-user-body", children: [
23573
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
23574
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Invite User" }) }),
23575
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", "data-slot": "invite-user-body", children: [
22789
23576
  entityDisplayName && /* @__PURE__ */ jsxRuntime.jsx(
22790
23577
  "div",
22791
23578
  {
@@ -22943,7 +23730,7 @@ function InviteUserModal({
22943
23730
  }
22944
23731
  )
22945
23732
  ] }),
22946
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
23733
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
22947
23734
  /* @__PURE__ */ jsxRuntime.jsx(
22948
23735
  chunkFSARTLUE_cjs.Button,
22949
23736
  {
@@ -26358,7 +27145,7 @@ var defaultOrderTabs = [
26358
27145
  { id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
26359
27146
  ];
26360
27147
  function orderToMedication(order) {
26361
- const sig = order.detail ? chunkX6HEWIYP_cjs.parseSig(order.detail) : void 0;
27148
+ const sig = order.detail ? chunk6O6EYKOG_cjs.parseSig(order.detail) : void 0;
26362
27149
  return {
26363
27150
  id: order.orderId,
26364
27151
  name: order.display,
@@ -26366,7 +27153,7 @@ function orderToMedication(order) {
26366
27153
  status: "unreconciled",
26367
27154
  indication: order.indication,
26368
27155
  pharmacyNotes: order.notes,
26369
- ...chunkX6HEWIYP_cjs.labelToMedicationFields(order.display),
27156
+ ...chunk6O6EYKOG_cjs.labelToMedicationFields(order.display),
26370
27157
  ...sig && {
26371
27158
  route: sig.route,
26372
27159
  frequency: sig.frequency,
@@ -26437,7 +27224,7 @@ function BaseOrderEditor({
26437
27224
  onSave
26438
27225
  }) {
26439
27226
  const config = TYPE_CONFIG[type];
26440
- const ambientCodeLookup = chunkX6HEWIYP_cjs.useCodeLookupConfig();
27227
+ const ambientCodeLookup = chunk6O6EYKOG_cjs.useCodeLookupConfig();
26441
27228
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
26442
27229
  const [draft, setDraft] = React13__namespace.useState(
26443
27230
  () => order ?? {
@@ -26454,12 +27241,12 @@ function BaseOrderEditor({
26454
27241
  const patch = (p) => setDraft((prev) => ({ ...prev, ...p }));
26455
27242
  const canSave = draft.display.trim().length > 0;
26456
27243
  if (!open) return null;
26457
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "lg", children: [
26458
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
26459
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: order ? `Correct ${config.noun}` : `Add ${config.noun}` }),
26460
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
27244
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "lg", children: [
27245
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
27246
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: order ? `Correct ${config.noun}` : `Add ${config.noun}` }),
27247
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
26461
27248
  ] }),
26462
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
27249
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
26463
27250
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-3", "aria-label": "Order", children: [
26464
27251
  effectiveCodeLookup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
26465
27252
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-search", children: "Order" }),
@@ -26558,7 +27345,7 @@ function BaseOrderEditor({
26558
27345
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
26559
27346
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-detail", children: "Instructions" }),
26560
27347
  /* @__PURE__ */ jsxRuntime.jsx(
26561
- chunkZNYBLM4O_cjs.Textarea,
27348
+ chunkDXNVQQYN_cjs.Textarea,
26562
27349
  {
26563
27350
  id: "ord-detail",
26564
27351
  value: draft.detail ?? "",
@@ -26581,7 +27368,7 @@ function BaseOrderEditor({
26581
27368
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
26582
27369
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-notes", children: type === "referral" ? "Notes to consultant" : "Notes to performer" }),
26583
27370
  /* @__PURE__ */ jsxRuntime.jsx(
26584
- chunkZNYBLM4O_cjs.Textarea,
27371
+ chunkDXNVQQYN_cjs.Textarea,
26585
27372
  {
26586
27373
  id: "ord-notes",
26587
27374
  value: draft.notes ?? "",
@@ -26592,7 +27379,7 @@ function BaseOrderEditor({
26592
27379
  ] })
26593
27380
  ] })
26594
27381
  ] }) }),
26595
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
27382
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
26596
27383
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
26597
27384
  /* @__PURE__ */ jsxRuntime.jsx(
26598
27385
  chunkFSARTLUE_cjs.Button,
@@ -26636,7 +27423,7 @@ function OrderEditor({
26636
27423
  display: ""
26637
27424
  };
26638
27425
  return /* @__PURE__ */ jsxRuntime.jsx(
26639
- chunkX6HEWIYP_cjs.MedicationEditor,
27426
+ chunk6O6EYKOG_cjs.MedicationEditor,
26640
27427
  {
26641
27428
  open,
26642
27429
  medication: order ? orderToMedication(order) : void 0,
@@ -27618,7 +28405,7 @@ var PatientHeader = React13__namespace.forwardRef(
27618
28405
  (flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
27619
28406
  ).join(" \xB7 ") }),
27620
28407
  /* @__PURE__ */ jsxRuntime.jsxs(
27621
- chunkLC3JL2HB_cjs.Modal,
28408
+ chunkXEHD2HA5_cjs.Modal,
27622
28409
  {
27623
28410
  open: contactModalOpen,
27624
28411
  onOpenChange: (isOpen) => {
@@ -27626,11 +28413,11 @@ var PatientHeader = React13__namespace.forwardRef(
27626
28413
  },
27627
28414
  size: "sm",
27628
28415
  children: [
27629
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
27630
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Contact Information" }),
27631
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
28416
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
28417
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Contact Information" }),
28418
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
27632
28419
  ] }),
27633
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
28420
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
27634
28421
  patient.email && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
27635
28422
  /* @__PURE__ */ jsxRuntime.jsx(
27636
28423
  chunkL7L5S2HO_cjs.Mail,
@@ -27659,7 +28446,7 @@ var PatientHeader = React13__namespace.forwardRef(
27659
28446
  ] }),
27660
28447
  !patient.email && !patient.phone && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: "No contact information available." })
27661
28448
  ] }) }),
27662
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
28449
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
27663
28450
  chunkFSARTLUE_cjs.Button,
27664
28451
  {
27665
28452
  variant: "secondary",
@@ -27671,7 +28458,7 @@ var PatientHeader = React13__namespace.forwardRef(
27671
28458
  }
27672
28459
  ),
27673
28460
  /* @__PURE__ */ jsxRuntime.jsxs(
27674
- chunkLC3JL2HB_cjs.Modal,
28461
+ chunkXEHD2HA5_cjs.Modal,
27675
28462
  {
27676
28463
  open: !!addModalType,
27677
28464
  onOpenChange: (isOpen) => {
@@ -27682,14 +28469,14 @@ var PatientHeader = React13__namespace.forwardRef(
27682
28469
  },
27683
28470
  size: "md",
27684
28471
  children: [
27685
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
27686
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalTitle, { children: [
28472
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
28473
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalTitle, { children: [
27687
28474
  "Add ",
27688
28475
  addEntityLabel
27689
28476
  ] }),
27690
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
28477
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
27691
28478
  ] }),
27692
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-4", onSubmit: (e) => e.preventDefault(), children: [
28479
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-4", onSubmit: (e) => e.preventDefault(), children: [
27693
28480
  /* @__PURE__ */ jsxRuntime.jsx(
27694
28481
  chunkZ5S5JEJD_cjs.Input,
27695
28482
  {
@@ -27802,7 +28589,7 @@ var PatientHeader = React13__namespace.forwardRef(
27802
28589
  )
27803
28590
  ] })
27804
28591
  ] }) }),
27805
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
28592
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
27806
28593
  /* @__PURE__ */ jsxRuntime.jsx(
27807
28594
  chunkFSARTLUE_cjs.Button,
27808
28595
  {
@@ -27835,7 +28622,7 @@ var PatientHeader = React13__namespace.forwardRef(
27835
28622
  }
27836
28623
  ),
27837
28624
  /* @__PURE__ */ jsxRuntime.jsxs(
27838
- chunkLC3JL2HB_cjs.Modal,
28625
+ chunkXEHD2HA5_cjs.Modal,
27839
28626
  {
27840
28627
  open: editPatientOpen,
27841
28628
  onOpenChange: (isOpen) => {
@@ -27846,11 +28633,11 @@ var PatientHeader = React13__namespace.forwardRef(
27846
28633
  },
27847
28634
  size: "2xl",
27848
28635
  children: [
27849
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
27850
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Edit Patient" }),
27851
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
28636
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
28637
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Edit Patient" }),
28638
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
27852
28639
  ] }),
27853
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-4", onSubmit: (e) => e.preventDefault(), children: [
28640
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-4", onSubmit: (e) => e.preventDefault(), children: [
27854
28641
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-4", children: [
27855
28642
  /* @__PURE__ */ jsxRuntime.jsx(
27856
28643
  chunkZ5S5JEJD_cjs.Input,
@@ -28031,7 +28818,7 @@ var PatientHeader = React13__namespace.forwardRef(
28031
28818
  }
28032
28819
  )
28033
28820
  ] }) }),
28034
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
28821
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
28035
28822
  /* @__PURE__ */ jsxRuntime.jsx(
28036
28823
  chunkFSARTLUE_cjs.Button,
28037
28824
  {
@@ -29292,7 +30079,7 @@ function RelevanceControl({
29292
30079
  {
29293
30080
  role: "toolbar",
29294
30081
  "aria-label": `Relevance for ${labelPrefix}`,
29295
- onKeyDown: chunkJCO62XMU_cjs.toolbarKeyNav,
30082
+ onKeyDown: chunkNCPDUJKJ_cjs.toolbarKeyNav,
29296
30083
  className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
29297
30084
  children: RELEVANCE_ORDER.map((relevance) => {
29298
30085
  const active = value === relevance;
@@ -29362,14 +30149,14 @@ var PresentingProblems = React13__namespace.forwardRef(
29362
30149
  const to = from + dir;
29363
30150
  if (to < 0 || to >= ids.length) return;
29364
30151
  [ids[from], ids[to]] = [ids[to], ids[from]];
29365
- const current = chunkJCO62XMU_cjs.currentAssertion(concern);
30152
+ const current = chunkNCPDUJKJ_cjs.currentAssertion(concern);
29366
30153
  setAnnouncement(
29367
30154
  `${current?.text ?? concern.concernId} moved ${dir === -1 ? "up" : "down"}`
29368
30155
  );
29369
30156
  onReorder(ids);
29370
30157
  };
29371
30158
  const renderRow = (concern, inUnselectedPool) => {
29372
- const current = chunkJCO62XMU_cjs.currentAssertion(concern);
30159
+ const current = chunkNCPDUJKJ_cjs.currentAssertion(concern);
29373
30160
  if (!current) return null;
29374
30161
  const relevance = relevanceOf(concern.concernId);
29375
30162
  const entry = presenting.find((p) => p.concernId === concern.concernId);
@@ -29421,7 +30208,7 @@ var PresentingProblems = React13__namespace.forwardRef(
29421
30208
  }
29422
30209
  ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/60 select-none", children: "\u2022" }),
29423
30210
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground font-medium", children: current.text }),
29424
- /* @__PURE__ */ jsxRuntime.jsx(chunkJCO62XMU_cjs.CodingChips, { coding: current.coding }),
30211
+ /* @__PURE__ */ jsxRuntime.jsx(chunkNCPDUJKJ_cjs.CodingChips, { coding: current.coding }),
29425
30212
  entry?.comments && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: entry.comments }),
29426
30213
  outOfScope && /* @__PURE__ */ jsxRuntime.jsx(
29427
30214
  chunk7E46YDOT_cjs.Badge,
@@ -33122,7 +33909,7 @@ function ProviderSettings({
33122
33909
  }
33123
33910
  ),
33124
33911
  /* @__PURE__ */ jsxRuntime.jsx(
33125
- chunkZNYBLM4O_cjs.Textarea,
33912
+ chunkDXNVQQYN_cjs.Textarea,
33126
33913
  {
33127
33914
  id: "provider-description",
33128
33915
  value: settings.general.description || "",
@@ -34487,9 +35274,9 @@ function RejectionModal({
34487
35274
  details: details.trim() || void 0
34488
35275
  });
34489
35276
  };
34490
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "md", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
34491
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: title }) }),
34492
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
35277
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "md", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
35278
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: title }) }),
35279
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
34493
35280
  (description || itemDescription) && /* @__PURE__ */ jsxRuntime.jsxs(
34494
35281
  "div",
34495
35282
  {
@@ -34578,7 +35365,7 @@ function RejectionModal({
34578
35365
  needsDetails && !details.trim() && selectedReasonId && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-destructive mt-1 text-xs", children: "Please provide additional details for this rejection reason." })
34579
35366
  ] })
34580
35367
  ] }),
34581
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
35368
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
34582
35369
  /* @__PURE__ */ jsxRuntime.jsx(
34583
35370
  chunkFSARTLUE_cjs.Button,
34584
35371
  {
@@ -35120,7 +35907,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
35120
35907
  }
35121
35908
  ) }),
35122
35909
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
35123
- chunkZNYBLM4O_cjs.Textarea,
35910
+ chunkDXNVQQYN_cjs.Textarea,
35124
35911
  {
35125
35912
  label: providerRecommendations,
35126
35913
  value: recommendations,
@@ -35302,9 +36089,9 @@ function ResultsEntryModal({
35302
36089
  const handleSubmitClick = () => {
35303
36090
  formRef.current?.submit();
35304
36091
  };
35305
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "2xl", children: [
35306
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: serviceName }) }),
35307
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { children: [
36092
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "2xl", children: [
36093
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: serviceName }) }),
36094
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { children: [
35308
36095
  employeeName && /* @__PURE__ */ jsxRuntime.jsx(
35309
36096
  "div",
35310
36097
  {
@@ -35336,7 +36123,7 @@ function ResultsEntryModal({
35336
36123
  }
35337
36124
  )
35338
36125
  ] }),
35339
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
36126
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
35340
36127
  /* @__PURE__ */ jsxRuntime.jsx(
35341
36128
  chunkFSARTLUE_cjs.Button,
35342
36129
  {
@@ -38219,13 +39006,13 @@ function ServicePricingManager({
38219
39006
  ] }) })
38220
39007
  ] }) }),
38221
39008
  /* @__PURE__ */ jsxRuntime.jsxs(
38222
- chunkLC3JL2HB_cjs.Modal,
39009
+ chunkXEHD2HA5_cjs.Modal,
38223
39010
  {
38224
39011
  open: !!editingService,
38225
39012
  onOpenChange: () => setEditingService(null),
38226
39013
  children: [
38227
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Edit Service Price" }) }),
38228
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
39014
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Edit Service Price" }) }),
39015
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
38229
39016
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: editingService?.serviceName }),
38230
39017
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
38231
39018
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -38271,16 +39058,16 @@ function ServicePricingManager({
38271
39058
  )
38272
39059
  ] })
38273
39060
  ] }),
38274
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
39061
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
38275
39062
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", onClick: () => setEditingService(null), children: "Cancel" }),
38276
39063
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { onClick: handleSaveEdit, disabled: isSaving, children: isSaving ? "Saving..." : "Save Changes" })
38277
39064
  ] })
38278
39065
  ]
38279
39066
  }
38280
39067
  ),
38281
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.Modal, { open: showBulkModal, onOpenChange: setShowBulkModal, children: [
38282
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: "Bulk Price Adjustment" }) }),
38283
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "space-y-4", children: [
39068
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.Modal, { open: showBulkModal, onOpenChange: setShowBulkModal, children: [
39069
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: "Bulk Price Adjustment" }) }),
39070
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "space-y-4", children: [
38284
39071
  /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground text-sm", children: [
38285
39072
  "Apply adjustment to ",
38286
39073
  filteredServices.length,
@@ -38321,7 +39108,7 @@ function ServicePricingManager({
38321
39108
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Use negative values to decrease prices" })
38322
39109
  ] })
38323
39110
  ] }),
38324
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
39111
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
38325
39112
  /* @__PURE__ */ jsxRuntime.jsx(chunkFSARTLUE_cjs.Button, { variant: "ghost", onClick: () => setShowBulkModal(false), children: "Cancel" }),
38326
39113
  /* @__PURE__ */ jsxRuntime.jsx(
38327
39114
  chunkFSARTLUE_cjs.Button,
@@ -38650,9 +39437,9 @@ function SetupServiceModal({
38650
39437
  onSave(formData);
38651
39438
  };
38652
39439
  const isValid = formData.name.trim() && formData.price >= 0;
38653
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
38654
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: title }) }),
38655
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalBody, { className: "min-w-[320px] space-y-4", children: [
39440
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.Modal, { open, onOpenChange, size: "lg", children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, children: [
39441
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: title }) }),
39442
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalBody, { className: "min-w-[320px] space-y-4", children: [
38656
39443
  errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
38657
39444
  "div",
38658
39445
  {
@@ -38851,7 +39638,7 @@ function SetupServiceModal({
38851
39638
  )
38852
39639
  ] })
38853
39640
  ] }),
38854
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalFooter, { children: [
39641
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalFooter, { children: [
38855
39642
  /* @__PURE__ */ jsxRuntime.jsx(
38856
39643
  chunkFSARTLUE_cjs.Button,
38857
39644
  {
@@ -42448,7 +43235,7 @@ function WebChartReportViewer({
42448
43235
  }
42449
43236
  ),
42450
43237
  /* @__PURE__ */ jsxRuntime.jsxs(
42451
- chunkLC3JL2HB_cjs.Modal,
43238
+ chunkXEHD2HA5_cjs.Modal,
42452
43239
  {
42453
43240
  open: modalOpen,
42454
43241
  onOpenChange: (open) => {
@@ -42458,19 +43245,19 @@ function WebChartReportViewer({
42458
43245
  },
42459
43246
  size: "4xl",
42460
43247
  children: [
42461
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC3JL2HB_cjs.ModalHeader, { children: [
43248
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXEHD2HA5_cjs.ModalHeader, { children: [
42462
43249
  /* @__PURE__ */ jsxRuntime.jsxs(
42463
43250
  "div",
42464
43251
  {
42465
43252
  "data-slot": "report-modal-header",
42466
43253
  className: "flex items-center gap-3",
42467
43254
  children: [
42468
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalTitle, { children: currentReport?.name || "Report Results" }),
43255
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalTitle, { children: currentReport?.name || "Report Results" }),
42469
43256
  reportResult?.error ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertTriangle, { className: "h-5 w-5 text-yellow-500" }) : reportResult?.success ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-5 w-5 text-green-500" }) : null
42470
43257
  ]
42471
43258
  }
42472
43259
  ),
42473
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalClose, {})
43260
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalClose, {})
42474
43261
  ] }),
42475
43262
  /* @__PURE__ */ jsxRuntime.jsxs(
42476
43263
  "div",
@@ -42521,7 +43308,7 @@ function WebChartReportViewer({
42521
43308
  ]
42522
43309
  }
42523
43310
  ),
42524
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC3JL2HB_cjs.ModalBody, { className: "max-h-[60vh] overflow-auto", children: loadingReport ? /* @__PURE__ */ jsxRuntime.jsxs(
43311
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXEHD2HA5_cjs.ModalBody, { className: "max-h-[60vh] overflow-auto", children: loadingReport ? /* @__PURE__ */ jsxRuntime.jsxs(
42525
43312
  "div",
42526
43313
  {
42527
43314
  "data-slot": "report-loading",
@@ -43711,23 +44498,23 @@ Object.defineProperty(exports, "recordButtonVariants", {
43711
44498
  });
43712
44499
  Object.defineProperty(exports, "FillerWordsModal", {
43713
44500
  enumerable: true,
43714
- get: function () { return chunkPJN4HM2X_cjs.FillerWordsModal; }
44501
+ get: function () { return chunk3O3Q3DX7_cjs.FillerWordsModal; }
43715
44502
  });
43716
44503
  Object.defineProperty(exports, "MediaEditor", {
43717
44504
  enumerable: true,
43718
- get: function () { return chunkPJN4HM2X_cjs.MediaEditor; }
44505
+ get: function () { return chunk3O3Q3DX7_cjs.MediaEditor; }
43719
44506
  });
43720
44507
  Object.defineProperty(exports, "SilenceSettingsModal", {
43721
44508
  enumerable: true,
43722
- get: function () { return chunkPJN4HM2X_cjs.SilenceSettingsModal; }
44509
+ get: function () { return chunk3O3Q3DX7_cjs.SilenceSettingsModal; }
43723
44510
  });
43724
44511
  Object.defineProperty(exports, "SpeedMarkerMenu", {
43725
44512
  enumerable: true,
43726
- get: function () { return chunkPJN4HM2X_cjs.SpeedMarkerMenu; }
44513
+ get: function () { return chunk3O3Q3DX7_cjs.SpeedMarkerMenu; }
43727
44514
  });
43728
44515
  Object.defineProperty(exports, "WordEditorModal", {
43729
44516
  enumerable: true,
43730
- get: function () { return chunkPJN4HM2X_cjs.WordEditorModal; }
44517
+ get: function () { return chunk3O3Q3DX7_cjs.WordEditorModal; }
43731
44518
  });
43732
44519
  Object.defineProperty(exports, "Slider", {
43733
44520
  enumerable: true,
@@ -43747,7 +44534,7 @@ Object.defineProperty(exports, "sliderTrackVariants", {
43747
44534
  });
43748
44535
  Object.defineProperty(exports, "MediaFeed", {
43749
44536
  enumerable: true,
43750
- get: function () { return chunk2R3ILG4Y_cjs.MediaFeed; }
44537
+ get: function () { return chunk4M2KE4O5_cjs.MediaFeed; }
43751
44538
  });
43752
44539
  Object.defineProperty(exports, "MediaPlayer", {
43753
44540
  enumerable: true,
@@ -43823,11 +44610,11 @@ Object.defineProperty(exports, "GlossaryTooltip", {
43823
44610
  });
43824
44611
  Object.defineProperty(exports, "Kbd", {
43825
44612
  enumerable: true,
43826
- get: function () { return chunkVV2U36T6_cjs.Kbd; }
44613
+ get: function () { return chunkMZR634HI_cjs.Kbd; }
43827
44614
  });
43828
44615
  Object.defineProperty(exports, "KeyboardShortcutsOverlay", {
43829
44616
  enumerable: true,
43830
- get: function () { return chunkVV2U36T6_cjs.KeyboardShortcutsOverlay; }
44617
+ get: function () { return chunkMZR634HI_cjs.KeyboardShortcutsOverlay; }
43831
44618
  });
43832
44619
  Object.defineProperty(exports, "ListView", {
43833
44620
  enumerable: true,
@@ -43955,39 +44742,39 @@ Object.defineProperty(exports, "sheetOverlayVariants", {
43955
44742
  });
43956
44743
  Object.defineProperty(exports, "EMAIL_BLOCK_TYPES", {
43957
44744
  enumerable: true,
43958
- get: function () { return chunkZPPMEUGR_cjs.EMAIL_BLOCK_TYPES; }
44745
+ get: function () { return chunkPGJLW2NO_cjs.EMAIL_BLOCK_TYPES; }
43959
44746
  });
43960
44747
  Object.defineProperty(exports, "EmailEditor", {
43961
44748
  enumerable: true,
43962
- get: function () { return chunkZPPMEUGR_cjs.EmailEditor; }
44749
+ get: function () { return chunkPGJLW2NO_cjs.EmailEditor; }
43963
44750
  });
43964
44751
  Object.defineProperty(exports, "createDefaultDesignSettings", {
43965
44752
  enumerable: true,
43966
- get: function () { return chunkZPPMEUGR_cjs.createDefaultDesignSettings; }
44753
+ get: function () { return chunkPGJLW2NO_cjs.createDefaultDesignSettings; }
43967
44754
  });
43968
44755
  Object.defineProperty(exports, "createEmailBlock", {
43969
44756
  enumerable: true,
43970
- get: function () { return chunkZPPMEUGR_cjs.createEmailBlock; }
44757
+ get: function () { return chunkPGJLW2NO_cjs.createEmailBlock; }
43971
44758
  });
43972
44759
  Object.defineProperty(exports, "createEmailHtmlSanitizer", {
43973
44760
  enumerable: true,
43974
- get: function () { return chunkZPPMEUGR_cjs.createEmailHtmlSanitizer; }
44761
+ get: function () { return chunkPGJLW2NO_cjs.createEmailHtmlSanitizer; }
43975
44762
  });
43976
44763
  Object.defineProperty(exports, "createEmptyEmailContentTree", {
43977
44764
  enumerable: true,
43978
- get: function () { return chunkZPPMEUGR_cjs.createEmptyEmailContentTree; }
44765
+ get: function () { return chunkPGJLW2NO_cjs.createEmptyEmailContentTree; }
43979
44766
  });
43980
44767
  Object.defineProperty(exports, "defaultEmailEditorLabels", {
43981
44768
  enumerable: true,
43982
- get: function () { return chunkZPPMEUGR_cjs.defaultEmailEditorLabels; }
44769
+ get: function () { return chunkPGJLW2NO_cjs.defaultEmailEditorLabels; }
43983
44770
  });
43984
44771
  Object.defineProperty(exports, "generateEmailBlockId", {
43985
44772
  enumerable: true,
43986
- get: function () { return chunkZPPMEUGR_cjs.generateEmailBlockId; }
44773
+ get: function () { return chunkPGJLW2NO_cjs.generateEmailBlockId; }
43987
44774
  });
43988
44775
  Object.defineProperty(exports, "renderEmailMjml", {
43989
44776
  enumerable: true,
43990
- get: function () { return chunkZPPMEUGR_cjs.renderEmailMjml; }
44777
+ get: function () { return chunkPGJLW2NO_cjs.renderEmailMjml; }
43991
44778
  });
43992
44779
  Object.defineProperty(exports, "Tabs", {
43993
44780
  enumerable: true,
@@ -44099,19 +44886,19 @@ Object.defineProperty(exports, "alertVariants", {
44099
44886
  });
44100
44887
  Object.defineProperty(exports, "AlertDialog", {
44101
44888
  enumerable: true,
44102
- get: function () { return chunk67SD6VPF_cjs.AlertDialog; }
44889
+ get: function () { return chunkSVC7NPQ6_cjs.AlertDialog; }
44103
44890
  });
44104
44891
  Object.defineProperty(exports, "ConfirmDialogProvider", {
44105
44892
  enumerable: true,
44106
- get: function () { return chunk67SD6VPF_cjs.ConfirmDialogProvider; }
44893
+ get: function () { return chunkSVC7NPQ6_cjs.ConfirmDialogProvider; }
44107
44894
  });
44108
44895
  Object.defineProperty(exports, "defaultAlertDialogLabels", {
44109
44896
  enumerable: true,
44110
- get: function () { return chunk67SD6VPF_cjs.defaultAlertDialogLabels; }
44897
+ get: function () { return chunkSVC7NPQ6_cjs.defaultAlertDialogLabels; }
44111
44898
  });
44112
44899
  Object.defineProperty(exports, "useConfirm", {
44113
44900
  enumerable: true,
44114
- get: function () { return chunk67SD6VPF_cjs.useConfirm; }
44901
+ get: function () { return chunkSVC7NPQ6_cjs.useConfirm; }
44115
44902
  });
44116
44903
  Object.defineProperty(exports, "AudioPlayer", {
44117
44904
  enumerable: true,
@@ -44519,151 +45306,131 @@ Object.defineProperty(exports, "isApplicable", {
44519
45306
  });
44520
45307
  Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
44521
45308
  enumerable: true,
44522
- get: function () { return chunkX6HEWIYP_cjs.ALLERGY_TYPE_LABELS; }
45309
+ get: function () { return chunk6O6EYKOG_cjs.ALLERGY_TYPE_LABELS; }
44523
45310
  });
44524
45311
  Object.defineProperty(exports, "AllergyList", {
44525
45312
  enumerable: true,
44526
- get: function () { return chunkX6HEWIYP_cjs.AllergyList; }
45313
+ get: function () { return chunk6O6EYKOG_cjs.AllergyList; }
44527
45314
  });
44528
45315
  Object.defineProperty(exports, "AllergyManager", {
44529
45316
  enumerable: true,
44530
- get: function () { return chunkX6HEWIYP_cjs.AllergyManager; }
45317
+ get: function () { return chunk6O6EYKOG_cjs.AllergyManager; }
44531
45318
  });
44532
45319
  Object.defineProperty(exports, "Assessment", {
44533
45320
  enumerable: true,
44534
- get: function () { return chunkX6HEWIYP_cjs.Assessment; }
45321
+ get: function () { return chunk6O6EYKOG_cjs.Assessment; }
44535
45322
  });
44536
45323
  Object.defineProperty(exports, "CodeLookupProvider", {
44537
45324
  enumerable: true,
44538
- get: function () { return chunkX6HEWIYP_cjs.CodeLookupProvider; }
45325
+ get: function () { return chunk6O6EYKOG_cjs.CodeLookupProvider; }
44539
45326
  });
44540
45327
  Object.defineProperty(exports, "ConditionEditor", {
44541
45328
  enumerable: true,
44542
- get: function () { return chunkX6HEWIYP_cjs.ConditionEditor; }
44543
- });
44544
- Object.defineProperty(exports, "DateRangeFilter", {
44545
- enumerable: true,
44546
- get: function () { return chunkX6HEWIYP_cjs.DateRangeFilter; }
44547
- });
44548
- Object.defineProperty(exports, "DateRangePicker", {
44549
- enumerable: true,
44550
- get: function () { return chunkX6HEWIYP_cjs.DateRangePicker; }
45329
+ get: function () { return chunk6O6EYKOG_cjs.ConditionEditor; }
44551
45330
  });
44552
45331
  Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
44553
45332
  enumerable: true,
44554
- get: function () { return chunkX6HEWIYP_cjs.MEDICATION_STATUS_LABELS; }
45333
+ get: function () { return chunk6O6EYKOG_cjs.MEDICATION_STATUS_LABELS; }
44555
45334
  });
44556
45335
  Object.defineProperty(exports, "MedicationEditor", {
44557
45336
  enumerable: true,
44558
- get: function () { return chunkX6HEWIYP_cjs.MedicationEditor; }
45337
+ get: function () { return chunk6O6EYKOG_cjs.MedicationEditor; }
44559
45338
  });
44560
45339
  Object.defineProperty(exports, "MedicationList", {
44561
45340
  enumerable: true,
44562
- get: function () { return chunkX6HEWIYP_cjs.MedicationList; }
45341
+ get: function () { return chunk6O6EYKOG_cjs.MedicationList; }
44563
45342
  });
44564
45343
  Object.defineProperty(exports, "MedicationReconciliation", {
44565
45344
  enumerable: true,
44566
- get: function () { return chunkX6HEWIYP_cjs.MedicationReconciliation; }
45345
+ get: function () { return chunk6O6EYKOG_cjs.MedicationReconciliation; }
44567
45346
  });
44568
45347
  Object.defineProperty(exports, "ORDER_TYPE_META", {
44569
45348
  enumerable: true,
44570
- get: function () { return chunkX6HEWIYP_cjs.ORDER_TYPE_META; }
45349
+ get: function () { return chunk6O6EYKOG_cjs.ORDER_TYPE_META; }
44571
45350
  });
44572
45351
  Object.defineProperty(exports, "ORDER_TYPE_SEARCH_DOMAINS", {
44573
45352
  enumerable: true,
44574
- get: function () { return chunkX6HEWIYP_cjs.ORDER_TYPE_SEARCH_DOMAINS; }
44575
- });
44576
- Object.defineProperty(exports, "calculateDateRange", {
44577
- enumerable: true,
44578
- get: function () { return chunkX6HEWIYP_cjs.calculateDateRange; }
45353
+ get: function () { return chunk6O6EYKOG_cjs.ORDER_TYPE_SEARCH_DOMAINS; }
44579
45354
  });
44580
45355
  Object.defineProperty(exports, "doseFormToQuantityUnit", {
44581
45356
  enumerable: true,
44582
- get: function () { return chunkX6HEWIYP_cjs.doseFormToQuantityUnit; }
44583
- });
44584
- Object.defineProperty(exports, "getDefaultPresets", {
44585
- enumerable: true,
44586
- get: function () { return chunkX6HEWIYP_cjs.getDefaultPresets; }
44587
- });
44588
- Object.defineProperty(exports, "getExtendedPresets", {
44589
- enumerable: true,
44590
- get: function () { return chunkX6HEWIYP_cjs.getExtendedPresets; }
45357
+ get: function () { return chunk6O6EYKOG_cjs.doseFormToQuantityUnit; }
44591
45358
  });
44592
45359
  Object.defineProperty(exports, "isConditionCodetype", {
44593
45360
  enumerable: true,
44594
- get: function () { return chunkX6HEWIYP_cjs.isConditionCodetype; }
45361
+ get: function () { return chunk6O6EYKOG_cjs.isConditionCodetype; }
44595
45362
  });
44596
45363
  Object.defineProperty(exports, "labelToMedicationFields", {
44597
45364
  enumerable: true,
44598
- get: function () { return chunkX6HEWIYP_cjs.labelToMedicationFields; }
45365
+ get: function () { return chunk6O6EYKOG_cjs.labelToMedicationFields; }
44599
45366
  });
44600
45367
  Object.defineProperty(exports, "lookupToMedicationFields", {
44601
45368
  enumerable: true,
44602
- get: function () { return chunkX6HEWIYP_cjs.lookupToMedicationFields; }
45369
+ get: function () { return chunk6O6EYKOG_cjs.lookupToMedicationFields; }
44603
45370
  });
44604
45371
  Object.defineProperty(exports, "normalizeConditionCodingSystem", {
44605
45372
  enumerable: true,
44606
- get: function () { return chunkX6HEWIYP_cjs.normalizeConditionCodingSystem; }
45373
+ get: function () { return chunk6O6EYKOG_cjs.normalizeConditionCodingSystem; }
44607
45374
  });
44608
45375
  Object.defineProperty(exports, "orderTypeForCodetype", {
44609
45376
  enumerable: true,
44610
- get: function () { return chunkX6HEWIYP_cjs.orderTypeForCodetype; }
45377
+ get: function () { return chunk6O6EYKOG_cjs.orderTypeForCodetype; }
44611
45378
  });
44612
45379
  Object.defineProperty(exports, "parseMedicationLabel", {
44613
45380
  enumerable: true,
44614
- get: function () { return chunkX6HEWIYP_cjs.parseMedicationLabel; }
45381
+ get: function () { return chunk6O6EYKOG_cjs.parseMedicationLabel; }
44615
45382
  });
44616
45383
  Object.defineProperty(exports, "parseSig", {
44617
45384
  enumerable: true,
44618
- get: function () { return chunkX6HEWIYP_cjs.parseSig; }
45385
+ get: function () { return chunk6O6EYKOG_cjs.parseSig; }
44619
45386
  });
44620
45387
  Object.defineProperty(exports, "useCodeLookupConfig", {
44621
45388
  enumerable: true,
44622
- get: function () { return chunkX6HEWIYP_cjs.useCodeLookupConfig; }
45389
+ get: function () { return chunk6O6EYKOG_cjs.useCodeLookupConfig; }
44623
45390
  });
44624
45391
  Object.defineProperty(exports, "CHANGE_TYPE_LABELS", {
44625
45392
  enumerable: true,
44626
- get: function () { return chunkJCO62XMU_cjs.CHANGE_TYPE_LABELS; }
45393
+ get: function () { return chunkNCPDUJKJ_cjs.CHANGE_TYPE_LABELS; }
44627
45394
  });
44628
45395
  Object.defineProperty(exports, "CONCERN_STATUS_LABELS", {
44629
45396
  enumerable: true,
44630
- get: function () { return chunkJCO62XMU_cjs.CONCERN_STATUS_LABELS; }
45397
+ get: function () { return chunkNCPDUJKJ_cjs.CONCERN_STATUS_LABELS; }
44631
45398
  });
44632
45399
  Object.defineProperty(exports, "CodingChips", {
44633
45400
  enumerable: true,
44634
- get: function () { return chunkJCO62XMU_cjs.CodingChips; }
45401
+ get: function () { return chunkNCPDUJKJ_cjs.CodingChips; }
44635
45402
  });
44636
45403
  Object.defineProperty(exports, "ProblemList", {
44637
45404
  enumerable: true,
44638
- get: function () { return chunkJCO62XMU_cjs.ProblemList; }
45405
+ get: function () { return chunkNCPDUJKJ_cjs.ProblemList; }
44639
45406
  });
44640
45407
  Object.defineProperty(exports, "RowActionToolbar", {
44641
45408
  enumerable: true,
44642
- get: function () { return chunkJCO62XMU_cjs.RowActionToolbar; }
45409
+ get: function () { return chunkNCPDUJKJ_cjs.RowActionToolbar; }
44643
45410
  });
44644
45411
  Object.defineProperty(exports, "RowIconButton", {
44645
45412
  enumerable: true,
44646
- get: function () { return chunkJCO62XMU_cjs.RowIconButton; }
45413
+ get: function () { return chunkNCPDUJKJ_cjs.RowIconButton; }
44647
45414
  });
44648
45415
  Object.defineProperty(exports, "UncertaintyBadge", {
44649
45416
  enumerable: true,
44650
- get: function () { return chunkJCO62XMU_cjs.UncertaintyBadge; }
45417
+ get: function () { return chunkNCPDUJKJ_cjs.UncertaintyBadge; }
44651
45418
  });
44652
45419
  Object.defineProperty(exports, "concernGroupKey", {
44653
45420
  enumerable: true,
44654
- get: function () { return chunkJCO62XMU_cjs.concernGroupKey; }
45421
+ get: function () { return chunkNCPDUJKJ_cjs.concernGroupKey; }
44655
45422
  });
44656
45423
  Object.defineProperty(exports, "concernHistoryContent", {
44657
45424
  enumerable: true,
44658
- get: function () { return chunkJCO62XMU_cjs.concernHistoryContent; }
45425
+ get: function () { return chunkNCPDUJKJ_cjs.concernHistoryContent; }
44659
45426
  });
44660
45427
  Object.defineProperty(exports, "currentAssertion", {
44661
45428
  enumerable: true,
44662
- get: function () { return chunkJCO62XMU_cjs.currentAssertion; }
45429
+ get: function () { return chunkNCPDUJKJ_cjs.currentAssertion; }
44663
45430
  });
44664
45431
  Object.defineProperty(exports, "toolbarKeyNav", {
44665
45432
  enumerable: true,
44666
- get: function () { return chunkJCO62XMU_cjs.toolbarKeyNav; }
45433
+ get: function () { return chunkNCPDUJKJ_cjs.toolbarKeyNav; }
44667
45434
  });
44668
45435
  Object.defineProperty(exports, "Tooltip", {
44669
45436
  enumerable: true,
@@ -44699,47 +45466,47 @@ Object.defineProperty(exports, "DateInput", {
44699
45466
  });
44700
45467
  Object.defineProperty(exports, "RichTextArea", {
44701
45468
  enumerable: true,
44702
- get: function () { return chunkZNYBLM4O_cjs.TextAreaRich; }
45469
+ get: function () { return chunkDXNVQQYN_cjs.TextAreaRich; }
44703
45470
  });
44704
45471
  Object.defineProperty(exports, "TextAreaPlain", {
44705
45472
  enumerable: true,
44706
- get: function () { return chunkZNYBLM4O_cjs.TextAreaPlain; }
45473
+ get: function () { return chunkDXNVQQYN_cjs.TextAreaPlain; }
44707
45474
  });
44708
45475
  Object.defineProperty(exports, "TextAreaRich", {
44709
45476
  enumerable: true,
44710
- get: function () { return chunkZNYBLM4O_cjs.TextAreaRich; }
45477
+ get: function () { return chunkDXNVQQYN_cjs.TextAreaRich; }
44711
45478
  });
44712
45479
  Object.defineProperty(exports, "Textarea", {
44713
45480
  enumerable: true,
44714
- get: function () { return chunkZNYBLM4O_cjs.Textarea; }
45481
+ get: function () { return chunkDXNVQQYN_cjs.Textarea; }
44715
45482
  });
44716
45483
  Object.defineProperty(exports, "htmlToPlain", {
44717
45484
  enumerable: true,
44718
- get: function () { return chunkZNYBLM4O_cjs.htmlToPlain; }
45485
+ get: function () { return chunkDXNVQQYN_cjs.htmlToPlain; }
44719
45486
  });
44720
45487
  Object.defineProperty(exports, "plainToHtml", {
44721
45488
  enumerable: true,
44722
- get: function () { return chunkZNYBLM4O_cjs.plainToHtml; }
45489
+ get: function () { return chunkDXNVQQYN_cjs.plainToHtml; }
44723
45490
  });
44724
45491
  Object.defineProperty(exports, "textareaVariants", {
44725
45492
  enumerable: true,
44726
- get: function () { return chunkZNYBLM4O_cjs.textareaVariants; }
45493
+ get: function () { return chunkDXNVQQYN_cjs.textareaVariants; }
44727
45494
  });
44728
45495
  Object.defineProperty(exports, "MacroLibrary", {
44729
45496
  enumerable: true,
44730
- get: function () { return chunkLJ4CCM3V_cjs.MacroLibrary; }
45497
+ get: function () { return chunkS2CJ57BX_cjs.MacroLibrary; }
44731
45498
  });
44732
45499
  Object.defineProperty(exports, "RichTextEditor", {
44733
45500
  enumerable: true,
44734
- get: function () { return chunkLJ4CCM3V_cjs.RichTextEditor; }
45501
+ get: function () { return chunkS2CJ57BX_cjs.RichTextEditor; }
44735
45502
  });
44736
45503
  Object.defineProperty(exports, "convertAngleBracketsToMustache", {
44737
45504
  enumerable: true,
44738
- get: function () { return chunkLJ4CCM3V_cjs.convertAngleBracketsToMustache; }
45505
+ get: function () { return chunkS2CJ57BX_cjs.convertAngleBracketsToMustache; }
44739
45506
  });
44740
45507
  Object.defineProperty(exports, "processDictation", {
44741
45508
  enumerable: true,
44742
- get: function () { return chunkLJ4CCM3V_cjs.processDictation; }
45509
+ get: function () { return chunkS2CJ57BX_cjs.processDictation; }
44743
45510
  });
44744
45511
  Object.defineProperty(exports, "Separator", {
44745
45512
  enumerable: true,
@@ -44855,35 +45622,35 @@ Object.defineProperty(exports, "checkboxVariants", {
44855
45622
  });
44856
45623
  Object.defineProperty(exports, "Modal", {
44857
45624
  enumerable: true,
44858
- get: function () { return chunkLC3JL2HB_cjs.Modal; }
45625
+ get: function () { return chunkXEHD2HA5_cjs.Modal; }
44859
45626
  });
44860
45627
  Object.defineProperty(exports, "ModalBody", {
44861
45628
  enumerable: true,
44862
- get: function () { return chunkLC3JL2HB_cjs.ModalBody; }
45629
+ get: function () { return chunkXEHD2HA5_cjs.ModalBody; }
44863
45630
  });
44864
45631
  Object.defineProperty(exports, "ModalClose", {
44865
45632
  enumerable: true,
44866
- get: function () { return chunkLC3JL2HB_cjs.ModalClose; }
45633
+ get: function () { return chunkXEHD2HA5_cjs.ModalClose; }
44867
45634
  });
44868
45635
  Object.defineProperty(exports, "ModalFooter", {
44869
45636
  enumerable: true,
44870
- get: function () { return chunkLC3JL2HB_cjs.ModalFooter; }
45637
+ get: function () { return chunkXEHD2HA5_cjs.ModalFooter; }
44871
45638
  });
44872
45639
  Object.defineProperty(exports, "ModalHeader", {
44873
45640
  enumerable: true,
44874
- get: function () { return chunkLC3JL2HB_cjs.ModalHeader; }
45641
+ get: function () { return chunkXEHD2HA5_cjs.ModalHeader; }
44875
45642
  });
44876
45643
  Object.defineProperty(exports, "ModalTitle", {
44877
45644
  enumerable: true,
44878
- get: function () { return chunkLC3JL2HB_cjs.ModalTitle; }
45645
+ get: function () { return chunkXEHD2HA5_cjs.ModalTitle; }
44879
45646
  });
44880
45647
  Object.defineProperty(exports, "modalContentVariants", {
44881
45648
  enumerable: true,
44882
- get: function () { return chunkLC3JL2HB_cjs.modalContentVariants; }
45649
+ get: function () { return chunkXEHD2HA5_cjs.modalContentVariants; }
44883
45650
  });
44884
45651
  Object.defineProperty(exports, "modalOverlayVariants", {
44885
45652
  enumerable: true,
44886
- get: function () { return chunkLC3JL2HB_cjs.modalOverlayVariants; }
45653
+ get: function () { return chunkXEHD2HA5_cjs.modalOverlayVariants; }
44887
45654
  });
44888
45655
  Object.defineProperty(exports, "Input", {
44889
45656
  enumerable: true,
@@ -45905,6 +46672,8 @@ exports.DashboardWidgetActions = DashboardWidgetActions;
45905
46672
  exports.DashboardWidgetDataCards = DashboardWidgetDataCards;
45906
46673
  exports.DashboardWidgetInfo = DashboardWidgetInfo;
45907
46674
  exports.DashboardWidgetTable = DashboardWidgetTable;
46675
+ exports.DateRangeFilter = DateRangeFilter;
46676
+ exports.DateRangePicker = DateRangePicker;
45908
46677
  exports.DialogOverlay = DialogOverlay;
45909
46678
  exports.DisclaimerText = DisclaimerText;
45910
46679
  exports.DockablePanel = DockablePanel;
@@ -46082,6 +46851,7 @@ exports.WebcamModal = WebcamModal;
46082
46851
  exports.WebsiteInput = WebsiteInput;
46083
46852
  exports.WebsiteInputGroup = WebsiteInputGroup;
46084
46853
  exports.attributeSegments = attributeSegments;
46854
+ exports.calculateDateRange = calculateDateRange;
46085
46855
  exports.centroid = centroid;
46086
46856
  exports.chime = chime;
46087
46857
  exports.clusterEmbeddings = clusterEmbeddings;
@@ -46101,6 +46871,8 @@ exports.formatAddressSingleLine = formatAddressSingleLine;
46101
46871
  exports.formatCityState = formatCityState;
46102
46872
  exports.formatCityStateZip = formatCityStateZip;
46103
46873
  exports.generateId = generateId;
46874
+ exports.getDefaultPresets = getDefaultPresets;
46875
+ exports.getExtendedPresets = getExtendedPresets;
46104
46876
  exports.getGoogleMapsSearchUrl = getGoogleMapsSearchUrl;
46105
46877
  exports.getGoogleMapsUrl = getGoogleMapsUrl;
46106
46878
  exports.getWakeWarm = getWakeWarm;