@mieweb/ui 0.8.0-dev.2 → 0.8.0-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CsvBlock-D7Z6ZCRP.js +6 -0
- package/dist/{CsvBlock-PUSTBQ5B.js.map → CsvBlock-D7Z6ZCRP.js.map} +1 -1
- package/dist/CsvBlock-QXXZ7ZUM.cjs +15 -0
- package/dist/{CsvBlock-OTFG3PYZ.cjs.map → CsvBlock-QXXZ7ZUM.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-AADG7MVB.cjs +15 -0
- package/dist/{HtmlPreviewBlock-QHLSIMWJ.cjs.map → HtmlPreviewBlock-AADG7MVB.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-F5VDM2EN.js +6 -0
- package/dist/{HtmlPreviewBlock-YF2YVKKX.js.map → HtmlPreviewBlock-F5VDM2EN.js.map} +1 -1
- package/dist/MermaidBlock-6PLITRBZ.js +6 -0
- package/dist/{MermaidBlock-H3TWNC4D.js.map → MermaidBlock-6PLITRBZ.js.map} +1 -1
- package/dist/MermaidBlock-TQ2O5CLV.cjs +15 -0
- package/dist/{MermaidBlock-ZLLBO3VY.cjs.map → MermaidBlock-TQ2O5CLV.cjs.map} +1 -1
- package/dist/SurveyBlock-OYL3VNU5.cjs +15 -0
- package/dist/{SurveyBlock-M2ZRTGVJ.cjs.map → SurveyBlock-OYL3VNU5.cjs.map} +1 -1
- package/dist/SurveyBlock-W5PSQ62F.js +6 -0
- package/dist/{SurveyBlock-JLHS3YQD.js.map → SurveyBlock-W5PSQ62F.js.map} +1 -1
- package/dist/ag-grid.cjs +5 -5
- package/dist/ag-grid.js +1 -1
- package/dist/{chunk-RZJXCI53.js → chunk-22CYDCXA.js} +3 -3
- package/dist/{chunk-RZJXCI53.js.map → chunk-22CYDCXA.js.map} +1 -1
- package/dist/{chunk-OTQ72WX3.js → chunk-2BPIVWAK.js} +3 -3
- package/dist/{chunk-OTQ72WX3.js.map → chunk-2BPIVWAK.js.map} +1 -1
- package/dist/{chunk-F2S6NV5N.js → chunk-334BUQMR.js} +29 -13
- package/dist/chunk-334BUQMR.js.map +1 -0
- package/dist/{chunk-6EWJGRC3.js → chunk-3JWAABYI.js} +6 -6
- package/dist/chunk-3JWAABYI.js.map +1 -0
- package/dist/{chunk-LDQ2T27A.js → chunk-57DPXKUV.js} +13 -13
- package/dist/{chunk-LDQ2T27A.js.map → chunk-57DPXKUV.js.map} +1 -1
- package/dist/{chunk-EMMYFHOT.js → chunk-5WOB4UBD.js} +3 -3
- package/dist/{chunk-EMMYFHOT.js.map → chunk-5WOB4UBD.js.map} +1 -1
- package/dist/{chunk-4CUFXCC5.cjs → chunk-5Z6UPVGC.cjs} +6 -6
- package/dist/{chunk-4CUFXCC5.cjs.map → chunk-5Z6UPVGC.cjs.map} +1 -1
- package/dist/{chunk-JQQABHDN.js → chunk-62FT5JRH.js} +5 -5
- package/dist/{chunk-JQQABHDN.js.map → chunk-62FT5JRH.js.map} +1 -1
- package/dist/{chunk-TVLZZI5Q.cjs → chunk-64SSWBJN.cjs} +5 -5
- package/dist/{chunk-TVLZZI5Q.cjs.map → chunk-64SSWBJN.cjs.map} +1 -1
- package/dist/{chunk-YIXTGWT4.cjs → chunk-6QKMMKRY.cjs} +5 -5
- package/dist/{chunk-YIXTGWT4.cjs.map → chunk-6QKMMKRY.cjs.map} +1 -1
- package/dist/{chunk-4AE2L6AO.cjs → chunk-7FTBPLA6.cjs} +8 -8
- package/dist/chunk-7FTBPLA6.cjs.map +1 -0
- package/dist/{chunk-2AB4PQYL.js → chunk-7IBZA7G6.js} +6 -4
- package/dist/chunk-7IBZA7G6.js.map +1 -0
- package/dist/{chunk-K4S4FAYX.cjs → chunk-AHINB2TP.cjs} +11 -11
- package/dist/{chunk-K4S4FAYX.cjs.map → chunk-AHINB2TP.cjs.map} +1 -1
- package/dist/chunk-BKSPDTX4.js +3 -0
- package/dist/{chunk-3PXOIAF6.js.map → chunk-BKSPDTX4.js.map} +1 -1
- package/dist/{chunk-QOJ4V7YX.cjs → chunk-BT7SXNZU.cjs} +4 -4
- package/dist/{chunk-QOJ4V7YX.cjs.map → chunk-BT7SXNZU.cjs.map} +1 -1
- package/dist/{chunk-H7QSGFMZ.cjs → chunk-BZAGP5W6.cjs} +17 -10
- package/dist/chunk-BZAGP5W6.cjs.map +1 -0
- package/dist/{chunk-QMKYJ4AT.cjs → chunk-CFI3TQMA.cjs} +32 -24
- package/dist/chunk-CFI3TQMA.cjs.map +1 -0
- package/dist/{chunk-NLBT5O2X.js → chunk-CK3KLRNF.js} +3 -3
- package/dist/{chunk-NLBT5O2X.js.map → chunk-CK3KLRNF.js.map} +1 -1
- package/dist/{chunk-JHZW3Y62.js → chunk-DWRIU4MW.js} +4 -4
- package/dist/chunk-DWRIU4MW.js.map +1 -0
- package/dist/{chunk-UZ5NGGMI.js → chunk-EG7XFZ3W.js} +4 -4
- package/dist/{chunk-UZ5NGGMI.js.map → chunk-EG7XFZ3W.js.map} +1 -1
- package/dist/{chunk-FPVRQCCL.js → chunk-FK2WTX7D.js} +3 -3
- package/dist/{chunk-FPVRQCCL.js.map → chunk-FK2WTX7D.js.map} +1 -1
- package/dist/{chunk-DG7KE4YJ.cjs → chunk-FYAKUU2A.cjs} +38 -21
- package/dist/chunk-FYAKUU2A.cjs.map +1 -0
- package/dist/{chunk-YVIH26FG.cjs → chunk-GLEIVJQB.cjs} +5 -5
- package/dist/{chunk-YVIH26FG.cjs.map → chunk-GLEIVJQB.cjs.map} +1 -1
- package/dist/{chunk-I2ECTLON.cjs → chunk-HXSA6QC5.cjs} +3 -3
- package/dist/{chunk-I2ECTLON.cjs.map → chunk-HXSA6QC5.cjs.map} +1 -1
- package/dist/{chunk-DCBMTFLE.js → chunk-HZ4MBUC3.js} +3 -3
- package/dist/{chunk-DCBMTFLE.js.map → chunk-HZ4MBUC3.js.map} +1 -1
- package/dist/{chunk-FN6VHMLM.cjs → chunk-IB54SKWB.cjs} +8 -8
- package/dist/{chunk-FN6VHMLM.cjs.map → chunk-IB54SKWB.cjs.map} +1 -1
- package/dist/{chunk-JP5SGIXA.cjs → chunk-IFDC4TXM.cjs} +4 -4
- package/dist/{chunk-JP5SGIXA.cjs.map → chunk-IFDC4TXM.cjs.map} +1 -1
- package/dist/{chunk-RDGRKYQ5.cjs → chunk-IINZWUGK.cjs} +58 -6
- package/dist/chunk-IINZWUGK.cjs.map +1 -0
- package/dist/{chunk-U3JU6BI5.cjs → chunk-JEIW7BSV.cjs} +3 -3
- package/dist/{chunk-U3JU6BI5.cjs.map → chunk-JEIW7BSV.cjs.map} +1 -1
- package/dist/{chunk-LDCFNWJC.cjs → chunk-JHR4PNUA.cjs} +23 -20
- package/dist/chunk-JHR4PNUA.cjs.map +1 -0
- package/dist/{chunk-G52YRAJC.cjs → chunk-JWB4UA4J.cjs} +31 -14
- package/dist/chunk-JWB4UA4J.cjs.map +1 -0
- package/dist/{chunk-D2GID3YK.js → chunk-KREUYVMZ.js} +58 -6
- package/dist/chunk-KREUYVMZ.js.map +1 -0
- package/dist/{chunk-Y6YSJPVC.js → chunk-KRU6IGV7.js} +11 -3
- package/dist/chunk-KRU6IGV7.js.map +1 -0
- package/dist/{chunk-F57VRLKP.js → chunk-KRYJJMYN.js} +3 -3
- package/dist/{chunk-F57VRLKP.js.map → chunk-KRYJJMYN.js.map} +1 -1
- package/dist/{chunk-2PEVRI26.cjs → chunk-KTJETOOH.cjs} +69 -53
- package/dist/chunk-KTJETOOH.cjs.map +1 -0
- package/dist/{chunk-DX64KLSN.js → chunk-KY2CZK5F.js} +7 -7
- package/dist/{chunk-DX64KLSN.js.map → chunk-KY2CZK5F.js.map} +1 -1
- package/dist/{chunk-EK6DYGFG.js → chunk-L2LH4CEN.js} +21 -18
- package/dist/chunk-L2LH4CEN.js.map +1 -0
- package/dist/{chunk-PAM5UUBL.cjs → chunk-L7L5S2HO.cjs} +18 -2
- package/dist/{chunk-PAM5UUBL.cjs.map → chunk-L7L5S2HO.cjs.map} +1 -1
- package/dist/{chunk-SEPYBAML.js → chunk-LAEIVOIY.js} +38 -21
- package/dist/chunk-LAEIVOIY.js.map +1 -0
- package/dist/{chunk-AHUYW673.js → chunk-LZVPVY5P.js} +4 -4
- package/dist/{chunk-AHUYW673.js.map → chunk-LZVPVY5P.js.map} +1 -1
- package/dist/{chunk-WIYQI35R.cjs → chunk-MX46D4UJ.cjs} +8 -8
- package/dist/{chunk-WIYQI35R.cjs.map → chunk-MX46D4UJ.cjs.map} +1 -1
- package/dist/{chunk-YMHOF6WA.cjs → chunk-MYAU2ZUC.cjs} +3 -3
- package/dist/{chunk-YMHOF6WA.cjs.map → chunk-MYAU2ZUC.cjs.map} +1 -1
- package/dist/{chunk-2SSAAE3I.cjs → chunk-NFKX6QJP.cjs} +3 -3
- package/dist/{chunk-2SSAAE3I.cjs.map → chunk-NFKX6QJP.cjs.map} +1 -1
- package/dist/{chunk-5J5PEUUA.js → chunk-NHN6A3ZO.js} +6 -6
- package/dist/{chunk-5J5PEUUA.js.map → chunk-NHN6A3ZO.js.map} +1 -1
- package/dist/{chunk-EPQPUFS6.cjs → chunk-NYJIXR4Y.cjs} +6 -6
- package/dist/chunk-NYJIXR4Y.cjs.map +1 -0
- package/dist/{chunk-DWCYEPTT.js → chunk-OSPTA4UR.js} +4 -4
- package/dist/{chunk-DWCYEPTT.js.map → chunk-OSPTA4UR.js.map} +1 -1
- package/dist/{chunk-VQ5HJCTP.js → chunk-PDS7OM73.js} +120 -4
- package/dist/chunk-PDS7OM73.js.map +1 -0
- package/dist/{chunk-FDUA6OGN.js → chunk-PFKRHNYV.js} +8 -8
- package/dist/chunk-PFKRHNYV.js.map +1 -0
- package/dist/{chunk-ZZJ4ZVYR.cjs → chunk-PJ6CC53R.cjs} +3 -3
- package/dist/{chunk-ZZJ4ZVYR.cjs.map → chunk-PJ6CC53R.cjs.map} +1 -1
- package/dist/{chunk-N3Y43KOB.js → chunk-PYHFVYVZ.js} +12 -5
- package/dist/chunk-PYHFVYVZ.js.map +1 -0
- package/dist/{chunk-UJS3JTVT.js → chunk-R4E6DMZS.js} +31 -14
- package/dist/chunk-R4E6DMZS.js.map +1 -0
- package/dist/{chunk-P3JEMF6E.cjs → chunk-RSCA5AZW.cjs} +4 -4
- package/dist/{chunk-P3JEMF6E.cjs.map → chunk-RSCA5AZW.cjs.map} +1 -1
- package/dist/{chunk-5Y5FSR4N.js → chunk-SCXELRRZ.js} +3 -3
- package/dist/{chunk-5Y5FSR4N.js.map → chunk-SCXELRRZ.js.map} +1 -1
- package/dist/{chunk-6GKX36JX.js → chunk-SRMTRD7F.js} +9 -3
- package/dist/chunk-SRMTRD7F.js.map +1 -0
- package/dist/{chunk-DJ4JPFWI.js → chunk-T5BBZQ66.js} +32 -24
- package/dist/chunk-T5BBZQ66.js.map +1 -0
- package/dist/{chunk-5U6GETAW.js → chunk-TQDZLRIE.js} +3 -3
- package/dist/chunk-TQDZLRIE.js.map +1 -0
- package/dist/{chunk-SVZ4MQVQ.js → chunk-UBOVDAD7.js} +3 -3
- package/dist/{chunk-SVZ4MQVQ.js.map → chunk-UBOVDAD7.js.map} +1 -1
- package/dist/{chunk-JR4QIU54.cjs → chunk-UEDTZYGI.cjs} +9 -3
- package/dist/chunk-UEDTZYGI.cjs.map +1 -0
- package/dist/{chunk-5BPUZK2B.cjs → chunk-VIE7UI2R.cjs} +120 -4
- package/dist/chunk-VIE7UI2R.cjs.map +1 -0
- package/dist/{chunk-HK3AMH3Q.cjs → chunk-VROIMIHB.cjs} +11 -3
- package/dist/chunk-VROIMIHB.cjs.map +1 -0
- package/dist/{chunk-XO3WLK65.js → chunk-VVDE4CHU.js} +3 -3
- package/dist/{chunk-XO3WLK65.js.map → chunk-VVDE4CHU.js.map} +1 -1
- package/dist/{chunk-3RADKLLD.cjs → chunk-W3N5XENB.cjs} +37 -37
- package/dist/{chunk-3RADKLLD.cjs.map → chunk-W3N5XENB.cjs.map} +1 -1
- package/dist/{chunk-XS35KPBZ.cjs → chunk-WIAQQNFU.cjs} +4 -4
- package/dist/{chunk-XS35KPBZ.cjs.map → chunk-WIAQQNFU.cjs.map} +1 -1
- package/dist/{chunk-TQZPYDUL.cjs → chunk-WUKXQZZR.cjs} +20 -20
- package/dist/{chunk-TQZPYDUL.cjs.map → chunk-WUKXQZZR.cjs.map} +1 -1
- package/dist/{chunk-FF235PKY.cjs → chunk-XWZEECEX.cjs} +3 -3
- package/dist/chunk-XWZEECEX.cjs.map +1 -0
- package/dist/{chunk-5JZIDILK.cjs → chunk-YIOZQEMV.cjs} +5 -5
- package/dist/chunk-YIOZQEMV.cjs.map +1 -0
- package/dist/{chunk-EHQ77LL5.js → chunk-ZB54MTMQ.js} +3 -3
- package/dist/{chunk-EHQ77LL5.js.map → chunk-ZB54MTMQ.js.map} +1 -1
- package/dist/{chunk-YRLCR76L.cjs → chunk-ZSGEGISB.cjs} +6 -4
- package/dist/chunk-ZSGEGISB.cjs.map +1 -0
- package/dist/components/Accordion/index.cjs +2 -2
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/Alert/index.cjs +5 -5
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AlertDialog/index.cjs +3 -3
- package/dist/components/AlertDialog/index.js +2 -2
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Autocomplete/index.cjs +2 -2
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Avatar/index.cjs +5 -5
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Breadcrumb/index.cjs +3 -3
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/Button/index.cjs +3 -3
- package/dist/components/Button/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +4 -4
- package/dist/components/CountryCodeDropdown/index.d.cts +11 -1
- package/dist/components/CountryCodeDropdown/index.d.ts +11 -1
- package/dist/components/CountryCodeDropdown/index.js +1 -1
- package/dist/components/CustomizableDashboard/index.cjs +9 -9
- package/dist/components/CustomizableDashboard/index.js +2 -2
- package/dist/components/DateInput/index.cjs +2 -2
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +8 -8
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/FloatingWindow/index.cjs +4 -4
- package/dist/components/FloatingWindow/index.js +2 -2
- package/dist/components/GlossaryTooltip/index.cjs +2 -2
- package/dist/components/GlossaryTooltip/index.js +1 -1
- package/dist/components/Markdown/index.cjs +16 -16
- package/dist/components/Markdown/index.js +7 -7
- package/dist/components/MediaEditor/index.cjs +9 -9
- package/dist/components/MediaEditor/index.js +4 -4
- package/dist/components/MediaPlayer/index.cjs +5 -5
- package/dist/components/MediaPlayer/index.js +2 -2
- package/dist/components/Pagination/index.cjs +4 -4
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/QuickAction/index.cjs +6 -6
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/RichTextEditor/index.cjs +6 -6
- package/dist/components/RichTextEditor/index.js +3 -3
- package/dist/components/SectionSpyNav/index.cjs +3 -3
- package/dist/components/SectionSpyNav/index.js +2 -2
- package/dist/components/Slider/index.cjs +5 -5
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +22 -22
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +10 -10
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +5 -5
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.js +4 -4
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/TranscriptView/index.cjs +3 -3
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/datavis.cjs +2 -2
- package/dist/datavis.js +1 -1
- package/dist/esheet.cjs +7 -7
- package/dist/esheet.js +4 -4
- package/dist/index.cjs +1890 -1237
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +239 -18
- package/dist/index.d.ts +239 -18
- package/dist/index.js +1154 -519
- package/dist/index.js.map +1 -1
- package/dist/styles/init.css +25 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +2 -1
- package/dist/CsvBlock-OTFG3PYZ.cjs +0 -15
- package/dist/CsvBlock-PUSTBQ5B.js +0 -6
- package/dist/HtmlPreviewBlock-QHLSIMWJ.cjs +0 -15
- package/dist/HtmlPreviewBlock-YF2YVKKX.js +0 -6
- package/dist/MermaidBlock-H3TWNC4D.js +0 -6
- package/dist/MermaidBlock-ZLLBO3VY.cjs +0 -15
- package/dist/SurveyBlock-JLHS3YQD.js +0 -6
- package/dist/SurveyBlock-M2ZRTGVJ.cjs +0 -15
- package/dist/chunk-2AB4PQYL.js.map +0 -1
- package/dist/chunk-2PEVRI26.cjs.map +0 -1
- package/dist/chunk-3PXOIAF6.js +0 -3
- package/dist/chunk-4AE2L6AO.cjs.map +0 -1
- package/dist/chunk-5BPUZK2B.cjs.map +0 -1
- package/dist/chunk-5JZIDILK.cjs.map +0 -1
- package/dist/chunk-5U6GETAW.js.map +0 -1
- package/dist/chunk-6EWJGRC3.js.map +0 -1
- package/dist/chunk-6GKX36JX.js.map +0 -1
- package/dist/chunk-D2GID3YK.js.map +0 -1
- package/dist/chunk-DG7KE4YJ.cjs.map +0 -1
- package/dist/chunk-DJ4JPFWI.js.map +0 -1
- package/dist/chunk-EK6DYGFG.js.map +0 -1
- package/dist/chunk-EPQPUFS6.cjs.map +0 -1
- package/dist/chunk-F2S6NV5N.js.map +0 -1
- package/dist/chunk-FDUA6OGN.js.map +0 -1
- package/dist/chunk-FF235PKY.cjs.map +0 -1
- package/dist/chunk-G52YRAJC.cjs.map +0 -1
- package/dist/chunk-H7QSGFMZ.cjs.map +0 -1
- package/dist/chunk-HK3AMH3Q.cjs.map +0 -1
- package/dist/chunk-JHZW3Y62.js.map +0 -1
- package/dist/chunk-JR4QIU54.cjs.map +0 -1
- package/dist/chunk-LDCFNWJC.cjs.map +0 -1
- package/dist/chunk-N3Y43KOB.js.map +0 -1
- package/dist/chunk-QMKYJ4AT.cjs.map +0 -1
- package/dist/chunk-RDGRKYQ5.cjs.map +0 -1
- package/dist/chunk-SEPYBAML.js.map +0 -1
- package/dist/chunk-UJS3JTVT.js.map +0 -1
- package/dist/chunk-VQ5HJCTP.js.map +0 -1
- package/dist/chunk-Y6YSJPVC.js.map +0 -1
- package/dist/chunk-YRLCR76L.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -15,82 +15,82 @@ import { Text } from './chunk-3YSIZ2CK.js';
|
|
|
15
15
|
export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
|
|
16
16
|
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-SH6B4MG5.js';
|
|
17
17
|
export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
|
|
18
|
-
export { TranscriptView, formatTimestampMs } from './chunk-
|
|
18
|
+
export { TranscriptView, formatTimestampMs } from './chunk-LAEIVOIY.js';
|
|
19
19
|
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
20
20
|
export { SourceTip } from './chunk-KFEN2SRZ.js';
|
|
21
21
|
export { Sparkline } from './chunk-CG4ZKJLE.js';
|
|
22
22
|
import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
|
|
23
23
|
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
|
|
24
|
-
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-
|
|
25
|
-
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-
|
|
26
|
-
import { EmptyState } from './chunk-
|
|
27
|
-
export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-
|
|
28
|
-
import { MessageComposer } from './chunk-
|
|
29
|
-
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-
|
|
24
|
+
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-22CYDCXA.js';
|
|
25
|
+
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-22CYDCXA.js';
|
|
26
|
+
import { EmptyState } from './chunk-L2LH4CEN.js';
|
|
27
|
+
export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-L2LH4CEN.js';
|
|
28
|
+
import { validateFile, getFileType, generateAttachmentId, AttachmentPreviewItem, MessageComposer } from './chunk-R4E6DMZS.js';
|
|
29
|
+
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-R4E6DMZS.js';
|
|
30
30
|
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
|
|
31
31
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
|
|
32
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-
|
|
32
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-62FT5JRH.js';
|
|
33
33
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
|
|
34
34
|
export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
|
|
35
|
-
export { SectionSpyNav } from './chunk-
|
|
35
|
+
export { SectionSpyNav } from './chunk-DWRIU4MW.js';
|
|
36
36
|
export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
|
|
37
37
|
import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
38
38
|
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
39
|
-
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-
|
|
39
|
+
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
|
|
40
40
|
export { PhoneInput, PhoneInputGroup } from './chunk-GXODR6V4.js';
|
|
41
41
|
import { Progress } from './chunk-CEQJGUAS.js';
|
|
42
42
|
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-CEQJGUAS.js';
|
|
43
|
-
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-
|
|
43
|
+
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
|
|
44
44
|
export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
|
|
45
45
|
import { RecordButton } from './chunk-VNWJTCBQ.js';
|
|
46
46
|
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
|
|
47
|
-
export { GlossaryTooltip } from './chunk-
|
|
47
|
+
export { GlossaryTooltip } from './chunk-SRMTRD7F.js';
|
|
48
48
|
export { Kbd, KeyboardShortcutsOverlay } from './chunk-X5ZPYYMS.js';
|
|
49
|
-
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-
|
|
50
|
-
export { HtmlPreviewBlock } from './chunk-
|
|
51
|
-
export { MermaidBlock } from './chunk-
|
|
52
|
-
export { SurveyBlock } from './chunk-
|
|
53
|
-
export { CsvBlock } from './chunk-
|
|
54
|
-
export { FenceBlock } from './chunk-
|
|
55
|
-
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-
|
|
56
|
-
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-
|
|
49
|
+
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-KY2CZK5F.js';
|
|
50
|
+
export { HtmlPreviewBlock } from './chunk-EG7XFZ3W.js';
|
|
51
|
+
export { MermaidBlock } from './chunk-ZB54MTMQ.js';
|
|
52
|
+
export { SurveyBlock } from './chunk-OSPTA4UR.js';
|
|
53
|
+
export { CsvBlock } from './chunk-NHN6A3ZO.js';
|
|
54
|
+
export { FenceBlock } from './chunk-CK3KLRNF.js';
|
|
55
|
+
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-57DPXKUV.js';
|
|
56
|
+
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-2BPIVWAK.js';
|
|
57
57
|
import './chunk-RISZWWEQ.js';
|
|
58
|
-
export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-
|
|
58
|
+
export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-5WOB4UBD.js';
|
|
59
59
|
export { CopyButton } from './chunk-5QZ73PZC.js';
|
|
60
|
-
import { CountryDropdownBase } from './chunk-
|
|
61
|
-
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-
|
|
62
|
-
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-
|
|
60
|
+
import { CountryDropdownBase } from './chunk-T5BBZQ66.js';
|
|
61
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-T5BBZQ66.js';
|
|
62
|
+
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-KRYJJMYN.js';
|
|
63
63
|
import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
64
64
|
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
65
65
|
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
|
|
66
|
-
import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-
|
|
67
|
-
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-
|
|
66
|
+
import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-LZVPVY5P.js';
|
|
67
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-LZVPVY5P.js';
|
|
68
68
|
export { FilterSummaryBar } from './chunk-6SCQ7FKT.js';
|
|
69
|
-
export { FloatingWindow, MinimizedWindow } from './chunk-
|
|
69
|
+
export { FloatingWindow, MinimizedWindow } from './chunk-PYHFVYVZ.js';
|
|
70
70
|
export { FreshnessBadge, FreshnessDot, daysSince, freshnessLevel } from './chunk-HQ3XPCHG.js';
|
|
71
71
|
import './chunk-IQ4KQJAO.js';
|
|
72
|
-
export { Breadcrumb, BreadcrumbSlash } from './chunk-
|
|
72
|
+
export { Breadcrumb, BreadcrumbSlash } from './chunk-SCXELRRZ.js';
|
|
73
73
|
import './chunk-OF7NTZ2I.js';
|
|
74
74
|
import { Checkbox } from './chunk-753Z3NXL.js';
|
|
75
75
|
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
|
|
76
76
|
export { ClampedText } from './chunk-L6MDULYB.js';
|
|
77
77
|
export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
|
|
78
78
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
|
|
79
|
-
export { miewebUIPreset, miewebUISafelist } from './chunk-
|
|
80
|
-
export { Accordion } from './chunk-
|
|
81
|
-
import { Alert, AlertTitle, AlertDescription } from './chunk-
|
|
82
|
-
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-
|
|
83
|
-
import { AlertDialog } from './chunk-
|
|
84
|
-
export { AlertDialog } from './chunk-
|
|
85
|
-
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-
|
|
79
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-PDS7OM73.js';
|
|
80
|
+
export { Accordion } from './chunk-KRU6IGV7.js';
|
|
81
|
+
import { Alert, AlertTitle, AlertDescription } from './chunk-3JWAABYI.js';
|
|
82
|
+
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-3JWAABYI.js';
|
|
83
|
+
import { AlertDialog } from './chunk-FK2WTX7D.js';
|
|
84
|
+
export { AlertDialog } from './chunk-FK2WTX7D.js';
|
|
85
|
+
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-VVDE4CHU.js';
|
|
86
86
|
export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-2DW4PUJD.js';
|
|
87
|
-
export { Autocomplete } from './chunk-
|
|
88
|
-
import { Avatar } from './chunk-
|
|
89
|
-
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-
|
|
87
|
+
export { Autocomplete } from './chunk-UBOVDAD7.js';
|
|
88
|
+
import { Avatar } from './chunk-HZ4MBUC3.js';
|
|
89
|
+
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
|
|
90
90
|
import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
|
|
91
91
|
export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
|
|
92
|
-
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-
|
|
93
|
-
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-
|
|
92
|
+
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-334BUQMR.js';
|
|
93
|
+
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-334BUQMR.js';
|
|
94
94
|
import { Textarea } from './chunk-H3YO5GBM.js';
|
|
95
95
|
export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
|
|
96
96
|
import { Tooltip } from './chunk-FJ7YPVKV.js';
|
|
@@ -101,8 +101,8 @@ import { Label } from './chunk-I3WGZPI6.js';
|
|
|
101
101
|
export { Label, labelVariants } from './chunk-I3WGZPI6.js';
|
|
102
102
|
import { Select } from './chunk-ATOWMVZH.js';
|
|
103
103
|
export { Select, selectTriggerVariants } from './chunk-ATOWMVZH.js';
|
|
104
|
-
import { DateInput } from './chunk-
|
|
105
|
-
export { DateInput } from './chunk-
|
|
104
|
+
import { DateInput } from './chunk-7IBZA7G6.js';
|
|
105
|
+
export { DateInput } from './chunk-7IBZA7G6.js';
|
|
106
106
|
import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';
|
|
107
107
|
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-QYSUYB3S.js';
|
|
108
108
|
import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-XMCIXHGH.js';
|
|
@@ -110,12 +110,12 @@ export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, mod
|
|
|
110
110
|
import './chunk-6NZXWKUE.js';
|
|
111
111
|
import { Input, inputVariants } from './chunk-3IMM2PM4.js';
|
|
112
112
|
export { Input, RequiredMark, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from './chunk-3IMM2PM4.js';
|
|
113
|
-
import { Plus, GripVertical, RefreshCw, Pencil, AlertCircle, ArrowLeft, Users, FilePlus, CheckCircle, ChevronDown, Clock, FileText, ClipboardList, Stethoscope, Mail, Phone, ClipboardCheck, Eye, Info, Link,
|
|
114
|
-
export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCircle as AlertCircleIcon, AlertTriangle as AlertTriangleIcon, Wheat as AllergyIcon, WheatOff as AllergyOffIcon, Ambulance as AmbulanceIcon, ArrowLeft as ArrowLeftIcon, ArrowRight as ArrowRightIcon, ArrowUpDown as ArrowUpDownIcon, AtSign as AtSignIcon, Baby as BabyIcon, BadgeAlert as BadgeAlertIcon, BadgeCheck as BadgeCheckIcon, BadgeMinus as BadgeMinusIcon, BadgePlus as BadgePlusIcon, BadgeX as BadgeXIcon, Ban as BanIcon, Bandage as BandageIcon, BedDouble as BedDoubleIcon, Bed as BedIcon, BedSingle as BedSingleIcon, Bell as BellIcon, BellOff as BellOffIcon, Biohazard as BiohazardIcon, Bone as BoneIcon, BookOpenCheck as BookOpenCheckIcon, BookOpen as BookOpenIcon, Bookmark as BookmarkIcon, Brain as BrainIcon, Briefcase as BriefcaseIcon, BriefcaseMedical as BriefcaseMedicalIcon, Building as BuildingIcon, CalendarCheck as CalendarCheckIcon, Calendar as CalendarIcon, Camera as CameraIcon, Cannabis as CannabisIcon, BarChart3 as ChartIcon, CheckCircle as CheckCircleIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, Cigarette as CigaretteIcon, CigaretteOff as CigaretteOffIcon, CircleDotDashed as CircleDotDashedIcon, CircleDot as CircleDotIcon, CircleUser as CircleUserIcon, ClipboardCheck as ClipboardCheckIcon, Clipboard as ClipboardIcon, ClipboardList as ClipboardListIcon, ClipboardPlus as ClipboardPlusIcon, Clock as ClockIcon, Cog as CogIcon, Columns as ColumnsIcon, Copy as CopyIcon, CreditCard as CreditCardIcon, Cross as CrossIcon, Dna as DnaIcon, DollarSign as DollarSignIcon, Download as DownloadIcon, Droplet as DropletIcon, Droplets as DropletsIcon, Ear as EarIcon, ExternalLink as ExternalLinkIcon, Eye as EyeIcon, EyeOff as EyeOffIcon, FileCheck2 as FileCheck2Icon, FileCheck as FileCheckIcon, FileHeart as FileHeartIcon, File as FileIcon, FilePlus2 as FilePlus2Icon, FilePlus as FilePlusIcon, FileText as FileTextIcon, Filter as FilterIcon, Fingerprint as FingerprintIcon, Flag as FlagIcon, FlaskConical as FlaskIcon, FlaskRound as FlaskRoundIcon, Folder as FolderIcon, FolderOpen as FolderOpenIcon, Footprints as FootprintsIcon, Glasses as GlassesIcon, Globe as GlobeIcon, LayoutGrid as GridIcon, GripVertical as GripVerticalIcon, Hand as HandIcon, HandMetal as HandMetalIcon, Hash as HashIcon, Heart as HeartIcon, HeartOff as HeartOffIcon, HeartPulse as HeartPulseIcon, HelpCircle as HelpCircleIcon, History as HistoryIcon, Home as HomeIcon, Hospital as HospitalIcon, Image as ImageIcon, Info as InfoIcon, Key as KeyIcon, Link as LinkIcon, List as ListIcon, Loader2 as LoaderIcon, Lock as LockIcon, LogIn as LogInIcon, LogOut as LogOutIcon, Mail as MailIcon, MapPin as MapPinIcon, Maximize as MaximizeIcon, Menu as MenuIcon, MessageSquare as MessageIcon, Microscope as MicroscopeIcon, Minimize as MinimizeIcon, Minus as MinusIcon, Monitor as MonitorIcon, Moon as MoonIcon, MoreHorizontal as MoreHorizontalIcon, MoreVertical as MoreVerticalIcon, NotebookPen as NotebookPenIcon, Palette as PaletteIcon, Paperclip as PaperclipIcon, CircleUserRound as PatientIcon, Pencil as PencilIcon, UserRound as PersonIcon, Phone as PhoneIcon, PieChart as PieChartIcon, Pill as PillIcon, Plus as PlusIcon, Printer as PrinterIcon, Radiation as RadiationIcon, Ruler as RulerIcon, Save as SaveIcon, Scale as ScaleIcon, Scaling as ScalingIcon, ScanEye as ScanEyeIcon, Scan as ScanIcon, ScanLine as ScanLineIcon, Search as SearchIcon, Settings as SettingsIcon, Share as ShareIcon, ShieldCheck as ShieldCheckIcon, Shield as ShieldIcon, ShieldPlus as ShieldPlusIcon, Sliders as SlidersIcon, Sparkle as SparkleIcon, Star as StarIcon, Stethoscope as StethoscopeIcon, StickyNote as StickyNoteIcon, Sun as SunIcon, Syringe as SyringeIcon, Table as TableIcon, Tablets as TabletsIcon, Tag as TagIcon, TestTube2 as TestTubeIcon, TestTubes as TestTubesIcon, Thermometer as ThermometerIcon, ThermometerSun as ThermometerSunIcon, ThumbsDown as ThumbsDownIcon, ThumbsUp as ThumbsUpIcon, Timer as TimerIcon, Trash2 as TrashIcon, TrendingDown as TrendingDownIcon, TrendingUp as TrendingUpIcon, Truck as TruckIcon, Unlock as UnlockIcon, Upload as UploadIcon, UserCheck as UserCheckIcon, User as UserIcon, UserMinus as UserMinusIcon, UserPlus as UserPlusIcon, UserRoundCheck as UserRoundCheckIcon, UserRoundMinus as UserRoundMinusIcon, UserRoundPlus as UserRoundPlusIcon, UserRoundX as UserRoundXIcon, Users as UsersIcon, Weight as WeightIcon, Wrench as WrenchIcon, XCircle as XCircleIcon, X2 as XIcon, Zap as ZapIcon } from './chunk-
|
|
113
|
+
import { Plus, GripVertical, RefreshCw, Pencil, AlertCircle, ArrowLeft, Users, FilePlus, CheckCircle, ChevronDown, AlertTriangle, Paperclip, Mic, Square, Loader2, ArrowUp, Check, Bot, ChevronUp, Clock, FileText, ClipboardList, Stethoscope, Mail, Phone, ClipboardCheck, Eye, Info, Link, History, StickyNote, ExternalLink, MoreVertical, Trash2, Send, Scan, TestTube2, Pill, Share, User, Download, ChevronRight as ChevronRight$1, Calendar, Printer, ClipboardPlus, FileCheck, Wheat, Bell, FileHeart, HeartPulse, HelpCircle, MoreHorizontal, Upload as Upload$1, Camera, X as X$1, ScanLine, Image } from './chunk-BKSPDTX4.js';
|
|
114
|
+
export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCircle as AlertCircleIcon, AlertTriangle as AlertTriangleIcon, Wheat as AllergyIcon, WheatOff as AllergyOffIcon, Ambulance as AmbulanceIcon, ArrowLeft as ArrowLeftIcon, ArrowRight as ArrowRightIcon, ArrowUpDown as ArrowUpDownIcon, ArrowUp as ArrowUpIcon, AtSign as AtSignIcon, Baby as BabyIcon, BadgeAlert as BadgeAlertIcon, BadgeCheck as BadgeCheckIcon, BadgeMinus as BadgeMinusIcon, BadgePlus as BadgePlusIcon, BadgeX as BadgeXIcon, Ban as BanIcon, Bandage as BandageIcon, BedDouble as BedDoubleIcon, Bed as BedIcon, BedSingle as BedSingleIcon, Bell as BellIcon, BellOff as BellOffIcon, Biohazard as BiohazardIcon, Bone as BoneIcon, BookOpenCheck as BookOpenCheckIcon, BookOpen as BookOpenIcon, Bookmark as BookmarkIcon, Bot as BotIcon, Brain as BrainIcon, Briefcase as BriefcaseIcon, BriefcaseMedical as BriefcaseMedicalIcon, Building as BuildingIcon, CalendarCheck as CalendarCheckIcon, Calendar as CalendarIcon, Camera as CameraIcon, Cannabis as CannabisIcon, BarChart3 as ChartIcon, CheckCircle as CheckCircleIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, Cigarette as CigaretteIcon, CigaretteOff as CigaretteOffIcon, CircleDotDashed as CircleDotDashedIcon, CircleDot as CircleDotIcon, CircleUser as CircleUserIcon, ClipboardCheck as ClipboardCheckIcon, Clipboard as ClipboardIcon, ClipboardList as ClipboardListIcon, ClipboardPlus as ClipboardPlusIcon, Clock as ClockIcon, Cog as CogIcon, Columns as ColumnsIcon, Copy as CopyIcon, CreditCard as CreditCardIcon, Cross as CrossIcon, Dna as DnaIcon, DollarSign as DollarSignIcon, Download as DownloadIcon, Droplet as DropletIcon, Droplets as DropletsIcon, Ear as EarIcon, ExternalLink as ExternalLinkIcon, Eye as EyeIcon, EyeOff as EyeOffIcon, FileCheck2 as FileCheck2Icon, FileCheck as FileCheckIcon, FileHeart as FileHeartIcon, File as FileIcon, FilePlus2 as FilePlus2Icon, FilePlus as FilePlusIcon, FileText as FileTextIcon, Filter as FilterIcon, Fingerprint as FingerprintIcon, Flag as FlagIcon, FlaskConical as FlaskIcon, FlaskRound as FlaskRoundIcon, Folder as FolderIcon, FolderOpen as FolderOpenIcon, Footprints as FootprintsIcon, Glasses as GlassesIcon, Globe as GlobeIcon, LayoutGrid as GridIcon, GripVertical as GripVerticalIcon, Hand as HandIcon, HandMetal as HandMetalIcon, Hash as HashIcon, Heart as HeartIcon, HeartOff as HeartOffIcon, HeartPulse as HeartPulseIcon, HelpCircle as HelpCircleIcon, History as HistoryIcon, Home as HomeIcon, Hospital as HospitalIcon, Image as ImageIcon, Info as InfoIcon, Key as KeyIcon, Link as LinkIcon, List as ListIcon, Loader2 as LoaderIcon, Lock as LockIcon, LogIn as LogInIcon, LogOut as LogOutIcon, Mail as MailIcon, MapPin as MapPinIcon, Maximize as MaximizeIcon, Menu as MenuIcon, MessageSquare as MessageIcon, Mic as MicIcon, Microscope as MicroscopeIcon, Minimize as MinimizeIcon, Minus as MinusIcon, Monitor as MonitorIcon, Moon as MoonIcon, MoreHorizontal as MoreHorizontalIcon, MoreVertical as MoreVerticalIcon, NotebookPen as NotebookPenIcon, Palette as PaletteIcon, Paperclip as PaperclipIcon, CircleUserRound as PatientIcon, Pencil as PencilIcon, UserRound as PersonIcon, Phone as PhoneIcon, PieChart as PieChartIcon, Pill as PillIcon, Plus as PlusIcon, Printer as PrinterIcon, Radiation as RadiationIcon, Ruler as RulerIcon, Save as SaveIcon, Scale as ScaleIcon, Scaling as ScalingIcon, ScanEye as ScanEyeIcon, Scan as ScanIcon, ScanLine as ScanLineIcon, Search as SearchIcon, Settings as SettingsIcon, Share as ShareIcon, ShieldCheck as ShieldCheckIcon, Shield as ShieldIcon, ShieldPlus as ShieldPlusIcon, Sliders as SlidersIcon, Sparkle as SparkleIcon, Star as StarIcon, Stethoscope as StethoscopeIcon, StickyNote as StickyNoteIcon, Square as StopIcon, Sun as SunIcon, Syringe as SyringeIcon, Table as TableIcon, Tablets as TabletsIcon, Tag as TagIcon, TestTube2 as TestTubeIcon, TestTubes as TestTubesIcon, Thermometer as ThermometerIcon, ThermometerSun as ThermometerSunIcon, ThumbsDown as ThumbsDownIcon, ThumbsUp as ThumbsUpIcon, Timer as TimerIcon, Trash2 as TrashIcon, TrendingDown as TrendingDownIcon, TrendingUp as TrendingUpIcon, Truck as TruckIcon, Unlock as UnlockIcon, Upload as UploadIcon, UserCheck as UserCheckIcon, User as UserIcon, UserMinus as UserMinusIcon, UserPlus as UserPlusIcon, UserRoundCheck as UserRoundCheckIcon, UserRoundMinus as UserRoundMinusIcon, UserRoundPlus as UserRoundPlusIcon, UserRoundX as UserRoundXIcon, Users as UsersIcon, Weight as WeightIcon, Wrench as WrenchIcon, XCircle as XCircleIcon, X2 as XIcon, Zap as ZapIcon } from './chunk-BKSPDTX4.js';
|
|
115
115
|
import { Badge } from './chunk-BMSG4NBH.js';
|
|
116
116
|
export { Badge, badgeVariants } from './chunk-BMSG4NBH.js';
|
|
117
|
-
import { Button, buttonVariants } from './chunk-
|
|
118
|
-
export { Button, buttonVariants } from './chunk-
|
|
117
|
+
import { Button, buttonVariants } from './chunk-KREUYVMZ.js';
|
|
118
|
+
export { Button, buttonVariants } from './chunk-KREUYVMZ.js';
|
|
119
119
|
import { useCommandK, useIsMobile, useMediaQuery } from './chunk-XUVEF2RQ.js';
|
|
120
120
|
export { RTL_LOCALES, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery } from './chunk-XUVEF2RQ.js';
|
|
121
121
|
export { useTheme } from './chunk-KJZNEVYM.js';
|
|
@@ -151,7 +151,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
151
151
|
import { cva } from 'class-variance-authority';
|
|
152
152
|
import * as ReactDOM from 'react-dom';
|
|
153
153
|
import { createPortal } from 'react-dom';
|
|
154
|
-
import { FileUp, X, AlertCircle as AlertCircle$1, ChevronUp as ChevronUp$1, Check
|
|
154
|
+
import { FileUp, X, AlertCircle as AlertCircle$1, ChevronUp as ChevronUp$1, Check as Check$1, ChevronRight, ChevronLeft, Calendar as Calendar$1, ChevronDown as ChevronDown$1, Maximize2, Minimize2, FolderUp, Upload, Edit2, Phone as Phone$1, Mail as Mail$1, Clock as Clock$1, MapPin, Shield, Building2, SlidersHorizontal, Trash2 as Trash2$1, Pencil as Pencil$1, Plus as Plus$1, Link as Link$1, AlertTriangle as AlertTriangle$1, RefreshCw as RefreshCw$1 } from 'lucide-react';
|
|
155
155
|
|
|
156
156
|
var SEX_OPTIONS = [
|
|
157
157
|
{ value: "F", label: "Female" },
|
|
@@ -478,7 +478,7 @@ function AddContactModal({
|
|
|
478
478
|
size: "sm",
|
|
479
479
|
onClick: handleAddCustomField,
|
|
480
480
|
children: [
|
|
481
|
-
/* @__PURE__ */ jsx(PlusIcon, { className: "
|
|
481
|
+
/* @__PURE__ */ jsx(PlusIcon, { className: "me-1 h-4 w-4" }),
|
|
482
482
|
"Add Field"
|
|
483
483
|
]
|
|
484
484
|
}
|
|
@@ -531,7 +531,7 @@ function AddContactModal({
|
|
|
531
531
|
}
|
|
532
532
|
),
|
|
533
533
|
/* @__PURE__ */ jsx(Button, { type: "submit", disabled: isSaving, children: isSaving ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
534
|
-
/* @__PURE__ */ jsx(SpinnerIcon2, { className: "
|
|
534
|
+
/* @__PURE__ */ jsx(SpinnerIcon2, { className: "me-2 h-4 w-4 animate-spin" }),
|
|
535
535
|
"Saving..."
|
|
536
536
|
] }) : "Save Contact" })
|
|
537
537
|
] })
|
|
@@ -733,7 +733,7 @@ function AdditionalFields({
|
|
|
733
733
|
"data-slot": "additional-fields-header",
|
|
734
734
|
onClick: () => setIsExpanded(!isExpanded),
|
|
735
735
|
className: cn(
|
|
736
|
-
"flex w-full items-center gap-2 text-
|
|
736
|
+
"flex w-full items-center gap-2 text-start text-sm font-medium",
|
|
737
737
|
"text-gray-700 hover:text-gray-900",
|
|
738
738
|
"dark:text-gray-300 dark:hover:text-gray-100",
|
|
739
739
|
"transition-colors"
|
|
@@ -751,7 +751,7 @@ function AdditionalFields({
|
|
|
751
751
|
)
|
|
752
752
|
}
|
|
753
753
|
),
|
|
754
|
-
value.length > 0 && /* @__PURE__ */ jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300
|
|
754
|
+
value.length > 0 && /* @__PURE__ */ jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300 ms-1 rounded-full px-2 py-0.5 text-xs", children: value.length })
|
|
755
755
|
]
|
|
756
756
|
}
|
|
757
757
|
),
|
|
@@ -1656,6 +1656,126 @@ function AIChat({
|
|
|
1656
1656
|
}
|
|
1657
1657
|
);
|
|
1658
1658
|
}
|
|
1659
|
+
var ToastContext = createContext(null);
|
|
1660
|
+
var toastIdCounter = 0;
|
|
1661
|
+
function generateToastId() {
|
|
1662
|
+
return `toast-${++toastIdCounter}-${Date.now()}`;
|
|
1663
|
+
}
|
|
1664
|
+
function ToastProvider({
|
|
1665
|
+
children,
|
|
1666
|
+
maxToasts = 5,
|
|
1667
|
+
defaultDuration = 5e3,
|
|
1668
|
+
position = "bottom-end"
|
|
1669
|
+
}) {
|
|
1670
|
+
const [toasts, setToasts] = useState([]);
|
|
1671
|
+
const dismiss = useCallback((id) => {
|
|
1672
|
+
setToasts((prev) => {
|
|
1673
|
+
const toast2 = prev.find((t) => t.id === id);
|
|
1674
|
+
if (toast2?.onDismiss) {
|
|
1675
|
+
toast2.onDismiss();
|
|
1676
|
+
}
|
|
1677
|
+
return prev.filter((t) => t.id !== id);
|
|
1678
|
+
});
|
|
1679
|
+
}, []);
|
|
1680
|
+
const dismissAll = useCallback(() => {
|
|
1681
|
+
setToasts((prev) => {
|
|
1682
|
+
prev.forEach((t) => t.onDismiss?.());
|
|
1683
|
+
return [];
|
|
1684
|
+
});
|
|
1685
|
+
}, []);
|
|
1686
|
+
const toast = useCallback(
|
|
1687
|
+
(options) => {
|
|
1688
|
+
const id = generateToastId();
|
|
1689
|
+
const duration = options.duration ?? defaultDuration;
|
|
1690
|
+
const newToast = {
|
|
1691
|
+
...options,
|
|
1692
|
+
id,
|
|
1693
|
+
variant: options.variant ?? "info",
|
|
1694
|
+
dismissible: options.dismissible ?? true,
|
|
1695
|
+
duration
|
|
1696
|
+
};
|
|
1697
|
+
setToasts((prev) => {
|
|
1698
|
+
const updated = [...prev, newToast];
|
|
1699
|
+
if (updated.length > maxToasts) {
|
|
1700
|
+
const removed = updated.slice(0, updated.length - maxToasts);
|
|
1701
|
+
removed.forEach((t) => t.onDismiss?.());
|
|
1702
|
+
return updated.slice(-maxToasts);
|
|
1703
|
+
}
|
|
1704
|
+
return updated;
|
|
1705
|
+
});
|
|
1706
|
+
if (duration > 0) {
|
|
1707
|
+
setTimeout(() => dismiss(id), duration);
|
|
1708
|
+
}
|
|
1709
|
+
return id;
|
|
1710
|
+
},
|
|
1711
|
+
[maxToasts, defaultDuration, dismiss]
|
|
1712
|
+
);
|
|
1713
|
+
const success = useCallback(
|
|
1714
|
+
(message, options) => {
|
|
1715
|
+
return toast({ ...options, message, variant: "success" });
|
|
1716
|
+
},
|
|
1717
|
+
[toast]
|
|
1718
|
+
);
|
|
1719
|
+
const error = useCallback(
|
|
1720
|
+
(message, options) => {
|
|
1721
|
+
return toast({
|
|
1722
|
+
...options,
|
|
1723
|
+
message,
|
|
1724
|
+
variant: "error",
|
|
1725
|
+
duration: options?.duration ?? 7e3
|
|
1726
|
+
// Errors stay longer by default
|
|
1727
|
+
});
|
|
1728
|
+
},
|
|
1729
|
+
[toast]
|
|
1730
|
+
);
|
|
1731
|
+
const warning = useCallback(
|
|
1732
|
+
(message, options) => {
|
|
1733
|
+
return toast({ ...options, message, variant: "warning" });
|
|
1734
|
+
},
|
|
1735
|
+
[toast]
|
|
1736
|
+
);
|
|
1737
|
+
const info = useCallback(
|
|
1738
|
+
(message, options) => {
|
|
1739
|
+
return toast({ ...options, message, variant: "info" });
|
|
1740
|
+
},
|
|
1741
|
+
[toast]
|
|
1742
|
+
);
|
|
1743
|
+
const contextValue = useMemo(
|
|
1744
|
+
() => ({
|
|
1745
|
+
toasts,
|
|
1746
|
+
position,
|
|
1747
|
+
toast,
|
|
1748
|
+
success,
|
|
1749
|
+
error,
|
|
1750
|
+
warning,
|
|
1751
|
+
info,
|
|
1752
|
+
dismiss,
|
|
1753
|
+
dismissAll
|
|
1754
|
+
}),
|
|
1755
|
+
[
|
|
1756
|
+
toasts,
|
|
1757
|
+
position,
|
|
1758
|
+
toast,
|
|
1759
|
+
success,
|
|
1760
|
+
error,
|
|
1761
|
+
warning,
|
|
1762
|
+
info,
|
|
1763
|
+
dismiss,
|
|
1764
|
+
dismissAll
|
|
1765
|
+
]
|
|
1766
|
+
);
|
|
1767
|
+
return /* @__PURE__ */ jsx(ToastContext.Provider, { value: contextValue, children });
|
|
1768
|
+
}
|
|
1769
|
+
function useToast() {
|
|
1770
|
+
const context = useContext(ToastContext);
|
|
1771
|
+
if (!context) {
|
|
1772
|
+
throw new Error("useToast must be used within a ToastProvider");
|
|
1773
|
+
}
|
|
1774
|
+
return context;
|
|
1775
|
+
}
|
|
1776
|
+
function useOptionalToast() {
|
|
1777
|
+
return useContext(ToastContext);
|
|
1778
|
+
}
|
|
1659
1779
|
var CheckIcon = () => /* @__PURE__ */ jsx(
|
|
1660
1780
|
"svg",
|
|
1661
1781
|
{
|
|
@@ -1787,7 +1907,7 @@ function Toast({
|
|
|
1787
1907
|
className: cn(
|
|
1788
1908
|
"flex items-start gap-3 rounded-lg border p-4 shadow-lg",
|
|
1789
1909
|
"max-w-[420px] min-w-[300px]",
|
|
1790
|
-
"animate-slide-in-right",
|
|
1910
|
+
"animate-slide-in-right rtl:animate-slide-in-left",
|
|
1791
1911
|
styles.container
|
|
1792
1912
|
),
|
|
1793
1913
|
children: [
|
|
@@ -1820,18 +1940,25 @@ function Toast({
|
|
|
1820
1940
|
);
|
|
1821
1941
|
}
|
|
1822
1942
|
var positionStyles = {
|
|
1823
|
-
"top-
|
|
1943
|
+
"top-start": "top-4 start-4 items-start",
|
|
1824
1944
|
"top-center": "top-4 left-1/2 -translate-x-1/2 items-center",
|
|
1825
|
-
"top-
|
|
1826
|
-
"bottom-
|
|
1945
|
+
"top-end": "top-4 end-4 items-end",
|
|
1946
|
+
"bottom-start": "bottom-4 start-4 items-start",
|
|
1827
1947
|
"bottom-center": "bottom-4 left-1/2 -translate-x-1/2 items-center",
|
|
1828
|
-
"bottom-
|
|
1948
|
+
"bottom-end": "bottom-4 end-4 items-end",
|
|
1949
|
+
// Deprecated physical aliases for the logical positions above.
|
|
1950
|
+
"top-left": "top-4 start-4 items-start",
|
|
1951
|
+
"top-right": "top-4 end-4 items-end",
|
|
1952
|
+
"bottom-left": "bottom-4 start-4 items-start",
|
|
1953
|
+
"bottom-right": "bottom-4 end-4 items-end"
|
|
1829
1954
|
};
|
|
1830
1955
|
function ToastContainer({
|
|
1831
1956
|
toasts,
|
|
1832
|
-
position
|
|
1957
|
+
position,
|
|
1833
1958
|
onDismiss
|
|
1834
1959
|
}) {
|
|
1960
|
+
const context = useOptionalToast();
|
|
1961
|
+
const resolvedPosition = position ?? context?.position ?? "bottom-end";
|
|
1835
1962
|
if (toasts.length === 0) return null;
|
|
1836
1963
|
return /* @__PURE__ */ jsx(
|
|
1837
1964
|
"div",
|
|
@@ -1839,7 +1966,7 @@ function ToastContainer({
|
|
|
1839
1966
|
"data-slot": "toast-container",
|
|
1840
1967
|
className: cn(
|
|
1841
1968
|
"pointer-events-none fixed z-50 flex flex-col gap-2",
|
|
1842
|
-
positionStyles[
|
|
1969
|
+
positionStyles[resolvedPosition]
|
|
1843
1970
|
),
|
|
1844
1971
|
"aria-live": "polite",
|
|
1845
1972
|
"aria-atomic": "true",
|
|
@@ -1847,111 +1974,6 @@ function ToastContainer({
|
|
|
1847
1974
|
}
|
|
1848
1975
|
);
|
|
1849
1976
|
}
|
|
1850
|
-
var ToastContext = createContext(null);
|
|
1851
|
-
var toastIdCounter = 0;
|
|
1852
|
-
function generateToastId() {
|
|
1853
|
-
return `toast-${++toastIdCounter}-${Date.now()}`;
|
|
1854
|
-
}
|
|
1855
|
-
function ToastProvider({
|
|
1856
|
-
children,
|
|
1857
|
-
maxToasts = 5,
|
|
1858
|
-
defaultDuration = 5e3
|
|
1859
|
-
}) {
|
|
1860
|
-
const [toasts, setToasts] = useState([]);
|
|
1861
|
-
const dismiss = useCallback((id) => {
|
|
1862
|
-
setToasts((prev) => {
|
|
1863
|
-
const toast2 = prev.find((t) => t.id === id);
|
|
1864
|
-
if (toast2?.onDismiss) {
|
|
1865
|
-
toast2.onDismiss();
|
|
1866
|
-
}
|
|
1867
|
-
return prev.filter((t) => t.id !== id);
|
|
1868
|
-
});
|
|
1869
|
-
}, []);
|
|
1870
|
-
const dismissAll = useCallback(() => {
|
|
1871
|
-
setToasts((prev) => {
|
|
1872
|
-
prev.forEach((t) => t.onDismiss?.());
|
|
1873
|
-
return [];
|
|
1874
|
-
});
|
|
1875
|
-
}, []);
|
|
1876
|
-
const toast = useCallback(
|
|
1877
|
-
(options) => {
|
|
1878
|
-
const id = generateToastId();
|
|
1879
|
-
const duration = options.duration ?? defaultDuration;
|
|
1880
|
-
const newToast = {
|
|
1881
|
-
...options,
|
|
1882
|
-
id,
|
|
1883
|
-
variant: options.variant ?? "info",
|
|
1884
|
-
dismissible: options.dismissible ?? true,
|
|
1885
|
-
duration
|
|
1886
|
-
};
|
|
1887
|
-
setToasts((prev) => {
|
|
1888
|
-
const updated = [...prev, newToast];
|
|
1889
|
-
if (updated.length > maxToasts) {
|
|
1890
|
-
const removed = updated.slice(0, updated.length - maxToasts);
|
|
1891
|
-
removed.forEach((t) => t.onDismiss?.());
|
|
1892
|
-
return updated.slice(-maxToasts);
|
|
1893
|
-
}
|
|
1894
|
-
return updated;
|
|
1895
|
-
});
|
|
1896
|
-
if (duration > 0) {
|
|
1897
|
-
setTimeout(() => dismiss(id), duration);
|
|
1898
|
-
}
|
|
1899
|
-
return id;
|
|
1900
|
-
},
|
|
1901
|
-
[maxToasts, defaultDuration, dismiss]
|
|
1902
|
-
);
|
|
1903
|
-
const success = useCallback(
|
|
1904
|
-
(message, options) => {
|
|
1905
|
-
return toast({ ...options, message, variant: "success" });
|
|
1906
|
-
},
|
|
1907
|
-
[toast]
|
|
1908
|
-
);
|
|
1909
|
-
const error = useCallback(
|
|
1910
|
-
(message, options) => {
|
|
1911
|
-
return toast({
|
|
1912
|
-
...options,
|
|
1913
|
-
message,
|
|
1914
|
-
variant: "error",
|
|
1915
|
-
duration: options?.duration ?? 7e3
|
|
1916
|
-
// Errors stay longer by default
|
|
1917
|
-
});
|
|
1918
|
-
},
|
|
1919
|
-
[toast]
|
|
1920
|
-
);
|
|
1921
|
-
const warning = useCallback(
|
|
1922
|
-
(message, options) => {
|
|
1923
|
-
return toast({ ...options, message, variant: "warning" });
|
|
1924
|
-
},
|
|
1925
|
-
[toast]
|
|
1926
|
-
);
|
|
1927
|
-
const info = useCallback(
|
|
1928
|
-
(message, options) => {
|
|
1929
|
-
return toast({ ...options, message, variant: "info" });
|
|
1930
|
-
},
|
|
1931
|
-
[toast]
|
|
1932
|
-
);
|
|
1933
|
-
const contextValue = useMemo(
|
|
1934
|
-
() => ({
|
|
1935
|
-
toasts,
|
|
1936
|
-
toast,
|
|
1937
|
-
success,
|
|
1938
|
-
error,
|
|
1939
|
-
warning,
|
|
1940
|
-
info,
|
|
1941
|
-
dismiss,
|
|
1942
|
-
dismissAll
|
|
1943
|
-
}),
|
|
1944
|
-
[toasts, toast, success, error, warning, info, dismiss, dismissAll]
|
|
1945
|
-
);
|
|
1946
|
-
return /* @__PURE__ */ jsx(ToastContext.Provider, { value: contextValue, children });
|
|
1947
|
-
}
|
|
1948
|
-
function useToast() {
|
|
1949
|
-
const context = useContext(ToastContext);
|
|
1950
|
-
if (!context) {
|
|
1951
|
-
throw new Error("useToast must be used within a ToastProvider");
|
|
1952
|
-
}
|
|
1953
|
-
return context;
|
|
1954
|
-
}
|
|
1955
1977
|
var MENU_OFFSET_PX = 6;
|
|
1956
1978
|
var MENU_MAX_HEIGHT_PX = 320;
|
|
1957
1979
|
function optionKey(option) {
|
|
@@ -1982,6 +2004,7 @@ function ComposerModelSelector({
|
|
|
1982
2004
|
onProviderFilterChange,
|
|
1983
2005
|
onChange,
|
|
1984
2006
|
disabled = false,
|
|
2007
|
+
variant = "default",
|
|
1985
2008
|
className,
|
|
1986
2009
|
boundaryRef,
|
|
1987
2010
|
placeholder = "Model",
|
|
@@ -2225,11 +2248,20 @@ function ComposerModelSelector({
|
|
|
2225
2248
|
onKeyDown: handleTriggerKeyDown,
|
|
2226
2249
|
"data-slot": "composer-model-selector-trigger",
|
|
2227
2250
|
className: cn(
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2251
|
+
variant === "ghost" ? [
|
|
2252
|
+
"inline-flex max-w-full min-w-0 items-center gap-1 rounded-md px-2 py-1 text-xs",
|
|
2253
|
+
"text-neutral-600 dark:text-neutral-400",
|
|
2254
|
+
"transition-colors duration-150",
|
|
2255
|
+
"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
|
|
2256
|
+
"focus-visible:ring-primary-500 focus-visible:ring-2 focus-visible:outline-none",
|
|
2257
|
+
"disabled:pointer-events-none disabled:opacity-40"
|
|
2258
|
+
] : [
|
|
2259
|
+
"inline-flex h-8 max-w-full items-center gap-1.5 rounded-full border px-2.5 text-sm font-medium",
|
|
2260
|
+
"border-border bg-background text-foreground shadow-sm",
|
|
2261
|
+
"hover:bg-muted/50",
|
|
2262
|
+
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
|
|
2263
|
+
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
2264
|
+
],
|
|
2233
2265
|
className
|
|
2234
2266
|
),
|
|
2235
2267
|
children: [
|
|
@@ -2242,7 +2274,16 @@ function ComposerModelSelector({
|
|
|
2242
2274
|
children: selectedEffortOption.label
|
|
2243
2275
|
}
|
|
2244
2276
|
),
|
|
2245
|
-
/* @__PURE__ */ jsx(
|
|
2277
|
+
/* @__PURE__ */ jsx(
|
|
2278
|
+
ChevronUp$1,
|
|
2279
|
+
{
|
|
2280
|
+
"aria-hidden": "true",
|
|
2281
|
+
className: cn(
|
|
2282
|
+
"shrink-0",
|
|
2283
|
+
variant === "ghost" ? "h-3 w-3" : "h-3.5 w-3.5"
|
|
2284
|
+
)
|
|
2285
|
+
}
|
|
2286
|
+
)
|
|
2246
2287
|
]
|
|
2247
2288
|
}
|
|
2248
2289
|
),
|
|
@@ -2326,7 +2367,7 @@ function ComposerModelSelector({
|
|
|
2326
2367
|
children: [
|
|
2327
2368
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: model.label ?? model.model }),
|
|
2328
2369
|
selected && /* @__PURE__ */ jsx(
|
|
2329
|
-
Check,
|
|
2370
|
+
Check$1,
|
|
2330
2371
|
{
|
|
2331
2372
|
"aria-hidden": "true",
|
|
2332
2373
|
className: "text-primary h-4 w-4 shrink-0"
|
|
@@ -2360,10 +2401,10 @@ function ComposerModelSelector({
|
|
|
2360
2401
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: effortLabel }),
|
|
2361
2402
|
selectedEffortOption && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground min-w-0 truncate", children: selectedEffortOption.label }),
|
|
2362
2403
|
/* @__PURE__ */ jsx(
|
|
2363
|
-
ChevronRight
|
|
2404
|
+
ChevronRight,
|
|
2364
2405
|
{
|
|
2365
2406
|
"aria-hidden": "true",
|
|
2366
|
-
className: "text-muted-foreground h-4 w-4 shrink-0"
|
|
2407
|
+
className: "text-muted-foreground h-4 w-4 shrink-0 rtl:-scale-x-100"
|
|
2367
2408
|
}
|
|
2368
2409
|
)
|
|
2369
2410
|
]
|
|
@@ -2385,7 +2426,13 @@ function ComposerModelSelector({
|
|
|
2385
2426
|
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none"
|
|
2386
2427
|
),
|
|
2387
2428
|
children: [
|
|
2388
|
-
/* @__PURE__ */ jsx(
|
|
2429
|
+
/* @__PURE__ */ jsx(
|
|
2430
|
+
ChevronLeft,
|
|
2431
|
+
{
|
|
2432
|
+
"aria-hidden": "true",
|
|
2433
|
+
className: "h-3.5 w-3.5 rtl:-scale-x-100"
|
|
2434
|
+
}
|
|
2435
|
+
),
|
|
2389
2436
|
effortLabel
|
|
2390
2437
|
]
|
|
2391
2438
|
}
|
|
@@ -2428,7 +2475,7 @@ function ComposerModelSelector({
|
|
|
2428
2475
|
] }),
|
|
2429
2476
|
option.value === defaultEffort && /* @__PURE__ */ jsx("span", { className: "bg-muted text-muted-foreground shrink-0 rounded px-1.5 py-0.5 text-xs", children: defaultBadgeLabel }),
|
|
2430
2477
|
selected && /* @__PURE__ */ jsx(
|
|
2431
|
-
Check,
|
|
2478
|
+
Check$1,
|
|
2432
2479
|
{
|
|
2433
2480
|
"aria-hidden": "true",
|
|
2434
2481
|
className: "text-primary h-4 w-4 shrink-0"
|
|
@@ -2629,7 +2676,7 @@ function OzwellChat({
|
|
|
2629
2676
|
variant: "ghost",
|
|
2630
2677
|
"aria-label": "Save queued message",
|
|
2631
2678
|
onClick: saveQueuedMessage,
|
|
2632
|
-
children: /* @__PURE__ */ jsx(Check
|
|
2679
|
+
children: /* @__PURE__ */ jsx(Check, { size: 14, "aria-hidden": "true" })
|
|
2633
2680
|
}
|
|
2634
2681
|
) }),
|
|
2635
2682
|
/* @__PURE__ */ jsx(Tooltip, { content: "Cancel editing", children: /* @__PURE__ */ jsx(
|
|
@@ -3249,7 +3296,7 @@ function ItemLabel({ label, sub }) {
|
|
|
3249
3296
|
] });
|
|
3250
3297
|
}
|
|
3251
3298
|
var itemClasses = cn(
|
|
3252
|
-
"flex w-full items-center gap-3 rounded-lg px-3 py-2 text-
|
|
3299
|
+
"flex w-full items-center gap-3 rounded-lg px-3 py-2 text-start text-sm",
|
|
3253
3300
|
"transition-colors duration-150 focus:outline-none",
|
|
3254
3301
|
"text-neutral-700 dark:text-neutral-300",
|
|
3255
3302
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
@@ -5360,10 +5407,14 @@ function AIChatTrigger({
|
|
|
5360
5407
|
className
|
|
5361
5408
|
}) {
|
|
5362
5409
|
const positionClasses = {
|
|
5363
|
-
"bottom-right": "bottom-4
|
|
5364
|
-
"bottom-left": "bottom-4
|
|
5365
|
-
"top-right": "top-4
|
|
5366
|
-
"top-left": "top-4
|
|
5410
|
+
"bottom-right": "bottom-4 end-4",
|
|
5411
|
+
"bottom-left": "bottom-4 start-4",
|
|
5412
|
+
"top-right": "top-4 end-4",
|
|
5413
|
+
"top-left": "top-4 start-4",
|
|
5414
|
+
"bottom-end": "bottom-4 end-4",
|
|
5415
|
+
"bottom-start": "bottom-4 start-4",
|
|
5416
|
+
"top-end": "top-4 end-4",
|
|
5417
|
+
"top-start": "top-4 start-4"
|
|
5367
5418
|
};
|
|
5368
5419
|
return /* @__PURE__ */ jsxs(
|
|
5369
5420
|
"button",
|
|
@@ -5388,7 +5439,7 @@ function AIChatTrigger({
|
|
|
5388
5439
|
"span",
|
|
5389
5440
|
{
|
|
5390
5441
|
"data-slot": "ai-chat-trigger-badge",
|
|
5391
|
-
className: "absolute -
|
|
5442
|
+
className: "absolute -end-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs font-bold",
|
|
5392
5443
|
children: badge > 9 ? "9+" : badge
|
|
5393
5444
|
}
|
|
5394
5445
|
),
|
|
@@ -5412,8 +5463,10 @@ function AIChatModal({
|
|
|
5412
5463
|
});
|
|
5413
5464
|
if (!open) return null;
|
|
5414
5465
|
const positionClasses = {
|
|
5415
|
-
"bottom-right": "bottom-20
|
|
5416
|
-
"bottom-left": "bottom-20
|
|
5466
|
+
"bottom-right": "bottom-20 end-4",
|
|
5467
|
+
"bottom-left": "bottom-20 start-4",
|
|
5468
|
+
"bottom-end": "bottom-20 end-4",
|
|
5469
|
+
"bottom-start": "bottom-20 start-4",
|
|
5417
5470
|
center: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
|
|
5418
5471
|
};
|
|
5419
5472
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5759,7 +5812,7 @@ function VoiceSetup({
|
|
|
5759
5812
|
{
|
|
5760
5813
|
variant: "ghost",
|
|
5761
5814
|
size: "sm",
|
|
5762
|
-
className: "text-muted-foreground absolute
|
|
5815
|
+
className: "text-muted-foreground absolute start-4 top-4",
|
|
5763
5816
|
onClick: () => {
|
|
5764
5817
|
oz.cancel();
|
|
5765
5818
|
onCancel();
|
|
@@ -6010,7 +6063,7 @@ function VoiceManager({ logoSrc }) {
|
|
|
6010
6063
|
/* @__PURE__ */ jsx("div", { className: "mt-[22px] flex w-full max-w-[460px] flex-col gap-2.5", children: voices.map((v) => /* @__PURE__ */ jsxs(
|
|
6011
6064
|
"div",
|
|
6012
6065
|
{
|
|
6013
|
-
className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-
|
|
6066
|
+
className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-start",
|
|
6014
6067
|
children: [
|
|
6015
6068
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6016
6069
|
editingId === v.id ? /* @__PURE__ */ jsx(
|
|
@@ -6557,7 +6610,7 @@ function VisitScribe({
|
|
|
6557
6610
|
/* @__PURE__ */ jsx(
|
|
6558
6611
|
"span",
|
|
6559
6612
|
{
|
|
6560
|
-
className: "
|
|
6613
|
+
className: "me-2 inline-block h-2.5 w-2.5 animate-pulse rounded-full bg-white",
|
|
6561
6614
|
"aria-hidden": "true"
|
|
6562
6615
|
}
|
|
6563
6616
|
),
|
|
@@ -6653,7 +6706,7 @@ function VisitScribe({
|
|
|
6653
6706
|
recording && /* @__PURE__ */ jsx(
|
|
6654
6707
|
"span",
|
|
6655
6708
|
{
|
|
6656
|
-
className: "
|
|
6709
|
+
className: "me-2 inline-block h-2 w-2 animate-pulse rounded-full bg-red-500 align-middle",
|
|
6657
6710
|
"aria-hidden": "true"
|
|
6658
6711
|
}
|
|
6659
6712
|
),
|
|
@@ -6923,7 +6976,7 @@ function ReconciliationProposalRow({
|
|
|
6923
6976
|
proposal.required && /* @__PURE__ */ jsx(
|
|
6924
6977
|
"span",
|
|
6925
6978
|
{
|
|
6926
|
-
className: "text-muted-foreground
|
|
6979
|
+
className: "text-muted-foreground ms-1 text-xs font-normal",
|
|
6927
6980
|
"aria-label": "required",
|
|
6928
6981
|
children: "(required)"
|
|
6929
6982
|
}
|
|
@@ -7842,7 +7895,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7842
7895
|
"ol",
|
|
7843
7896
|
{
|
|
7844
7897
|
"aria-label": "Assertion history",
|
|
7845
|
-
className: "border-border
|
|
7898
|
+
className: "border-border ms-1.5 mt-2 space-y-2 border-s ps-4",
|
|
7846
7899
|
children: items.map((a) => {
|
|
7847
7900
|
const refuted = a.verificationStatus === "refuted" || a.verificationStatus === "entered-in-error";
|
|
7848
7901
|
const verification = VERIFICATION_BADGE[a.verificationStatus];
|
|
@@ -7851,7 +7904,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7851
7904
|
"span",
|
|
7852
7905
|
{
|
|
7853
7906
|
"aria-hidden": true,
|
|
7854
|
-
className: "bg-border absolute top-1.5
|
|
7907
|
+
className: "bg-border absolute -start-5 top-1.5 h-2 w-2 rounded-full"
|
|
7855
7908
|
}
|
|
7856
7909
|
),
|
|
7857
7910
|
/* @__PURE__ */ jsxs("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
@@ -7920,6 +7973,7 @@ function ConcernRow({
|
|
|
7920
7973
|
/* @__PURE__ */ jsxs(
|
|
7921
7974
|
"li",
|
|
7922
7975
|
{
|
|
7976
|
+
"data-slot": "clinical-list-row",
|
|
7923
7977
|
"data-concern-id": concern.concernId,
|
|
7924
7978
|
tabIndex: 0,
|
|
7925
7979
|
onKeyDown: handleRowKeyDown,
|
|
@@ -7953,7 +8007,7 @@ function ConcernRow({
|
|
|
7953
8007
|
),
|
|
7954
8008
|
/* @__PURE__ */ jsx(UncertaintyBadge, { uncertainty: current.uncertainty }),
|
|
7955
8009
|
concern.relationships?.map((r) => /* @__PURE__ */ jsxs(Badge, { variant: "outline", size: "sm", children: [
|
|
7956
|
-
/* @__PURE__ */ jsx(Link, { size: 10, className: "
|
|
8010
|
+
/* @__PURE__ */ jsx(Link, { size: 10, className: "me-1" }),
|
|
7957
8011
|
r.type.replace(/-/g, " "),
|
|
7958
8012
|
r.display ? `: ${r.display}` : ""
|
|
7959
8013
|
] }, `${r.type}:${r.concernId}`)),
|
|
@@ -7985,7 +8039,7 @@ function ConcernRow({
|
|
|
7985
8039
|
] }),
|
|
7986
8040
|
expanded && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7987
8041
|
/* @__PURE__ */ jsx(AssertionTimeline, { concern }),
|
|
7988
|
-
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "
|
|
8042
|
+
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "ms-1.5 mt-2 ps-4", children: [
|
|
7989
8043
|
/* @__PURE__ */ jsx("h5", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Observations" }),
|
|
7990
8044
|
/* @__PURE__ */ jsx("ol", { "aria-label": "Observations", className: "mt-1 space-y-1", children: [...concern.observations].reverse().map((o) => /* @__PURE__ */ jsxs("li", { className: "flex flex-wrap gap-x-2 text-sm", children: [
|
|
7991
8045
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs tabular-nums", children: o.date }),
|
|
@@ -8099,7 +8153,14 @@ var ProblemList = React13.forwardRef(
|
|
|
8099
8153
|
title !== null && /* @__PURE__ */ jsx(CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsx("h3", { className: "text-foreground text-sm font-semibold tracking-wide uppercase", children: title }) }),
|
|
8100
8154
|
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-6 px-4 py-4", children: [
|
|
8101
8155
|
groups.map(({ key, label, items }) => /* @__PURE__ */ jsxs("section", { "aria-label": label, children: [
|
|
8102
|
-
/* @__PURE__ */ jsx(
|
|
8156
|
+
/* @__PURE__ */ jsx(
|
|
8157
|
+
"h4",
|
|
8158
|
+
{
|
|
8159
|
+
"data-slot": "clinical-list-heading",
|
|
8160
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
8161
|
+
children: label
|
|
8162
|
+
}
|
|
8163
|
+
),
|
|
8103
8164
|
items.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: items.map((concern) => /* @__PURE__ */ jsx(
|
|
8104
8165
|
ConcernRow,
|
|
8105
8166
|
{
|
|
@@ -8118,6 +8179,7 @@ var ProblemList = React13.forwardRef(
|
|
|
8118
8179
|
"input",
|
|
8119
8180
|
{
|
|
8120
8181
|
type: "text",
|
|
8182
|
+
"data-slot": "input",
|
|
8121
8183
|
value: draft,
|
|
8122
8184
|
onChange: (e) => setDraft(e.target.value),
|
|
8123
8185
|
onKeyDown: (e) => {
|
|
@@ -8531,12 +8593,13 @@ function AddOrderForm({
|
|
|
8531
8593
|
{
|
|
8532
8594
|
role: "form",
|
|
8533
8595
|
"aria-label": `Add order for ${problemText}`,
|
|
8534
|
-
className: "border-border bg-muted/40
|
|
8596
|
+
className: "border-border bg-muted/40 ms-2.5 mt-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-dashed p-2",
|
|
8535
8597
|
children: [
|
|
8536
8598
|
/* @__PURE__ */ jsxs(
|
|
8537
8599
|
"select",
|
|
8538
8600
|
{
|
|
8539
8601
|
"aria-label": "Order type filter",
|
|
8602
|
+
"data-slot": "select-trigger",
|
|
8540
8603
|
value: type,
|
|
8541
8604
|
onChange: (e) => setType(e.target.value),
|
|
8542
8605
|
onKeyDown: (e) => {
|
|
@@ -8571,6 +8634,7 @@ function AddOrderForm({
|
|
|
8571
8634
|
{
|
|
8572
8635
|
ref: inputRef,
|
|
8573
8636
|
type: "text",
|
|
8637
|
+
"data-slot": "input",
|
|
8574
8638
|
value: display,
|
|
8575
8639
|
onChange: (e) => setDisplay(e.target.value),
|
|
8576
8640
|
onKeyDown: (e) => {
|
|
@@ -8864,6 +8928,7 @@ var Assessment = React13.forwardRef(
|
|
|
8864
8928
|
return /* @__PURE__ */ jsxs(
|
|
8865
8929
|
"li",
|
|
8866
8930
|
{
|
|
8931
|
+
"data-slot": "assessment-problem",
|
|
8867
8932
|
"data-concern-id": item.concernId,
|
|
8868
8933
|
...bp,
|
|
8869
8934
|
draggable: drag.enabled && !formOpen,
|
|
@@ -8935,12 +9000,12 @@ var Assessment = React13.forwardRef(
|
|
|
8935
9000
|
]
|
|
8936
9001
|
}
|
|
8937
9002
|
),
|
|
8938
|
-
item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1
|
|
9003
|
+
item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 ps-6 text-sm", children: item.note }),
|
|
8939
9004
|
showPlan && linkedOrders.length > 0 && /* @__PURE__ */ jsx(
|
|
8940
9005
|
"ul",
|
|
8941
9006
|
{
|
|
8942
9007
|
"aria-label": `Plan for ${assertion.text}`,
|
|
8943
|
-
className: "border-border
|
|
9008
|
+
className: "border-border ms-2.5 mt-1.5 border-s ps-4",
|
|
8944
9009
|
children: linkedOrders.map((order) => /* @__PURE__ */ jsx(
|
|
8945
9010
|
OrderRow,
|
|
8946
9011
|
{
|
|
@@ -8977,6 +9042,7 @@ var Assessment = React13.forwardRef(
|
|
|
8977
9042
|
"select",
|
|
8978
9043
|
{
|
|
8979
9044
|
"aria-label": "What to add",
|
|
9045
|
+
"data-slot": "select-trigger",
|
|
8980
9046
|
value: addMode,
|
|
8981
9047
|
onChange: (e) => {
|
|
8982
9048
|
setAddMode(e.target.value);
|
|
@@ -9046,7 +9112,7 @@ var Assessment = React13.forwardRef(
|
|
|
9046
9112
|
{
|
|
9047
9113
|
role: "group",
|
|
9048
9114
|
"aria-label": `Add "${pendingFreeText}" as`,
|
|
9049
|
-
className: "flex w-full flex-wrap items-center gap-1.5
|
|
9115
|
+
className: "flex w-full flex-wrap items-center gap-1.5 ps-1",
|
|
9050
9116
|
children: [
|
|
9051
9117
|
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-sm", children: [
|
|
9052
9118
|
"Add",
|
|
@@ -9232,7 +9298,7 @@ function AuthDialog({
|
|
|
9232
9298
|
{
|
|
9233
9299
|
type: "button",
|
|
9234
9300
|
onClick: onClose,
|
|
9235
|
-
className: "text-muted-foreground absolute
|
|
9301
|
+
className: "text-muted-foreground absolute end-4 top-4 rounded-full p-1 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-700 dark:hover:text-gray-300",
|
|
9236
9302
|
"aria-label": "Close",
|
|
9237
9303
|
children: /* @__PURE__ */ jsx(CloseIcon2, { className: "h-5 w-5" })
|
|
9238
9304
|
}
|
|
@@ -9459,7 +9525,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9459
9525
|
onChange: (e) => setPassword(e.target.value),
|
|
9460
9526
|
required: true,
|
|
9461
9527
|
autoComplete: "current-password",
|
|
9462
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9528
|
+
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
|
|
9463
9529
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9464
9530
|
}
|
|
9465
9531
|
),
|
|
@@ -9468,7 +9534,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9468
9534
|
{
|
|
9469
9535
|
type: "button",
|
|
9470
9536
|
onClick: () => setShowPassword(!showPassword),
|
|
9471
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9537
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9472
9538
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9473
9539
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9474
9540
|
}
|
|
@@ -9484,7 +9550,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9484
9550
|
className: "text-primary-800 focus:ring-primary-500 rounded border-gray-300"
|
|
9485
9551
|
}
|
|
9486
9552
|
),
|
|
9487
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
9553
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-2 text-sm", children: "Remember me" })
|
|
9488
9554
|
] }),
|
|
9489
9555
|
/* @__PURE__ */ jsx(
|
|
9490
9556
|
"button",
|
|
@@ -9568,7 +9634,7 @@ function SignupForm({
|
|
|
9568
9634
|
required: true,
|
|
9569
9635
|
autoComplete: "new-password",
|
|
9570
9636
|
minLength: 8,
|
|
9571
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9637
|
+
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
|
|
9572
9638
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9573
9639
|
}
|
|
9574
9640
|
),
|
|
@@ -9577,7 +9643,7 @@ function SignupForm({
|
|
|
9577
9643
|
{
|
|
9578
9644
|
type: "button",
|
|
9579
9645
|
onClick: () => setShowPassword(!showPassword),
|
|
9580
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9646
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9581
9647
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9582
9648
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9583
9649
|
}
|
|
@@ -9622,7 +9688,7 @@ function SignupForm({
|
|
|
9622
9688
|
className: "text-primary-800 focus:ring-primary-500 mt-0.5 rounded border-gray-300"
|
|
9623
9689
|
}
|
|
9624
9690
|
),
|
|
9625
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
9691
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-sm", children: [
|
|
9626
9692
|
"I agree to the",
|
|
9627
9693
|
" ",
|
|
9628
9694
|
/* @__PURE__ */ jsx(
|
|
@@ -9747,7 +9813,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
9747
9813
|
required: true,
|
|
9748
9814
|
autoComplete: "new-password",
|
|
9749
9815
|
minLength: 8,
|
|
9750
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9816
|
+
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
|
|
9751
9817
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9752
9818
|
}
|
|
9753
9819
|
),
|
|
@@ -9756,7 +9822,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
9756
9822
|
{
|
|
9757
9823
|
type: "button",
|
|
9758
9824
|
onClick: () => setShowPassword(!showPassword),
|
|
9759
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9825
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9760
9826
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9761
9827
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9762
9828
|
}
|
|
@@ -10057,7 +10123,7 @@ function FloatingInput({
|
|
|
10057
10123
|
htmlFor: inputId,
|
|
10058
10124
|
"data-slot": "floating-input-label",
|
|
10059
10125
|
className: cn(
|
|
10060
|
-
"text-muted-foreground absolute
|
|
10126
|
+
"text-muted-foreground absolute start-4 top-4 origin-left transform transition-all duration-200 rtl:origin-right",
|
|
10061
10127
|
"peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100",
|
|
10062
10128
|
"peer-focus:-translate-y-2 peer-focus:scale-75",
|
|
10063
10129
|
"peer-[:not(:placeholder-shown)]:-translate-y-2 peer-[:not(:placeholder-shown)]:scale-75",
|
|
@@ -10118,7 +10184,7 @@ function ServiceSelect({
|
|
|
10118
10184
|
onClick: () => setIsOpen(!isOpen),
|
|
10119
10185
|
"data-slot": "service-select-trigger",
|
|
10120
10186
|
className: cn(
|
|
10121
|
-
"w-full rounded-lg border px-4 py-3 text-
|
|
10187
|
+
"w-full rounded-lg border px-4 py-3 text-start transition-colors",
|
|
10122
10188
|
"bg-background",
|
|
10123
10189
|
"focus:ring-2 focus:outline-none",
|
|
10124
10190
|
error ? "border-destructive focus:ring-destructive/20" : "border-input focus:border-primary-500 focus:ring-primary-500/20"
|
|
@@ -10137,7 +10203,7 @@ function ServiceSelect({
|
|
|
10137
10203
|
ChevronDownIcon,
|
|
10138
10204
|
{
|
|
10139
10205
|
className: cn(
|
|
10140
|
-
"text-muted-foreground absolute top-1/2
|
|
10206
|
+
"text-muted-foreground absolute end-4 top-1/2 h-5 w-5 -translate-y-1/2 transition-transform",
|
|
10141
10207
|
isOpen && "rotate-180"
|
|
10142
10208
|
)
|
|
10143
10209
|
}
|
|
@@ -11163,7 +11229,7 @@ function DayScheduleRow({
|
|
|
11163
11229
|
),
|
|
11164
11230
|
children: [
|
|
11165
11231
|
dayName,
|
|
11166
|
-
isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300
|
|
11232
|
+
isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300 ms-1 text-xs", children: "(Today)" })
|
|
11167
11233
|
]
|
|
11168
11234
|
}
|
|
11169
11235
|
),
|
|
@@ -11171,7 +11237,7 @@ function DayScheduleRow({
|
|
|
11171
11237
|
"div",
|
|
11172
11238
|
{
|
|
11173
11239
|
"data-slot": "business-hours-day-hours",
|
|
11174
|
-
className: cn("text-
|
|
11240
|
+
className: cn("text-end", hasMultipleRanges && "flex flex-col gap-1"),
|
|
11175
11241
|
"data-cy": `provider-hours-${dayHours.day}`,
|
|
11176
11242
|
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Closed" })
|
|
11177
11243
|
}
|
|
@@ -11679,7 +11745,7 @@ function BusinessHoursDaysEditor({
|
|
|
11679
11745
|
disabled,
|
|
11680
11746
|
className: "text-xs",
|
|
11681
11747
|
children: [
|
|
11682
|
-
/* @__PURE__ */ jsx(CopyIcon, { className: "
|
|
11748
|
+
/* @__PURE__ */ jsx(CopyIcon, { className: "me-1 h-3 w-3" }),
|
|
11683
11749
|
"Copy"
|
|
11684
11750
|
]
|
|
11685
11751
|
}
|
|
@@ -11714,7 +11780,7 @@ function BusinessHoursDaysEditor({
|
|
|
11714
11780
|
disabled,
|
|
11715
11781
|
className: "text-xs",
|
|
11716
11782
|
children: [
|
|
11717
|
-
/* @__PURE__ */ jsx(PlusIcon2, { className: "
|
|
11783
|
+
/* @__PURE__ */ jsx(PlusIcon2, { className: "me-1 h-3 w-3" }),
|
|
11718
11784
|
addHoursLabel
|
|
11719
11785
|
]
|
|
11720
11786
|
}
|
|
@@ -12235,7 +12301,7 @@ var CaseContextBar = React13.forwardRef(
|
|
|
12235
12301
|
disabled: !onBack,
|
|
12236
12302
|
"aria-label": l.back,
|
|
12237
12303
|
className: "-ms-2 h-6 w-6 shrink-0",
|
|
12238
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16 })
|
|
12304
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16, className: "rtl:-scale-x-100" })
|
|
12239
12305
|
}
|
|
12240
12306
|
),
|
|
12241
12307
|
/* @__PURE__ */ jsxs(
|
|
@@ -12340,7 +12406,7 @@ var CaseManagementHeader = React13.forwardRef(
|
|
|
12340
12406
|
disabled: !onBack,
|
|
12341
12407
|
"aria-label": l.back,
|
|
12342
12408
|
className: "-ms-2 h-8 w-8 shrink-0",
|
|
12343
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
|
|
12409
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
|
|
12344
12410
|
}
|
|
12345
12411
|
),
|
|
12346
12412
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-wrap items-baseline gap-x-4 gap-y-0.5", children: [
|
|
@@ -12431,6 +12497,558 @@ var CaseManagementHeader = React13.forwardRef(
|
|
|
12431
12497
|
}
|
|
12432
12498
|
);
|
|
12433
12499
|
CaseManagementHeader.displayName = "CaseManagementHeader";
|
|
12500
|
+
var iconButtonClasses = cn(
|
|
12501
|
+
"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg",
|
|
12502
|
+
"text-neutral-500 dark:text-neutral-400",
|
|
12503
|
+
"transition-colors duration-150",
|
|
12504
|
+
"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
|
|
12505
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
|
|
12506
|
+
"disabled:pointer-events-none disabled:opacity-40"
|
|
12507
|
+
);
|
|
12508
|
+
var selectorTriggerClasses = cn(
|
|
12509
|
+
"flex min-w-0 items-center gap-1 rounded-md px-2 py-1 text-xs",
|
|
12510
|
+
"text-neutral-600 dark:text-neutral-400",
|
|
12511
|
+
"transition-colors duration-150",
|
|
12512
|
+
"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
|
|
12513
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
|
|
12514
|
+
"disabled:pointer-events-none disabled:opacity-40"
|
|
12515
|
+
);
|
|
12516
|
+
var MAX_INPUT_HEIGHT = 160;
|
|
12517
|
+
var ChatComposer = React13.forwardRef(function ChatComposer2({
|
|
12518
|
+
onSend,
|
|
12519
|
+
value: controlledValue,
|
|
12520
|
+
onValueChange,
|
|
12521
|
+
placeholder = "Type a message\u2026",
|
|
12522
|
+
disabled = false,
|
|
12523
|
+
isSending = false,
|
|
12524
|
+
autoFocus = false,
|
|
12525
|
+
maxLength,
|
|
12526
|
+
showCharacterCount = false,
|
|
12527
|
+
canSendWhenEmpty = false,
|
|
12528
|
+
maxHeight = MAX_INPUT_HEIGHT,
|
|
12529
|
+
textareaProps,
|
|
12530
|
+
addMenuItems,
|
|
12531
|
+
allowAttachments = true,
|
|
12532
|
+
acceptedFileTypes,
|
|
12533
|
+
maxFileSize,
|
|
12534
|
+
maxAttachments = 10,
|
|
12535
|
+
showMic = false,
|
|
12536
|
+
onMicClick,
|
|
12537
|
+
micSlot,
|
|
12538
|
+
micBehavior = "always",
|
|
12539
|
+
isStreaming = false,
|
|
12540
|
+
onStop,
|
|
12541
|
+
showAgentSelector = false,
|
|
12542
|
+
agents = [],
|
|
12543
|
+
selectedAgent = null,
|
|
12544
|
+
onAgentChange,
|
|
12545
|
+
showModelSelector = false,
|
|
12546
|
+
modelSelectorProps,
|
|
12547
|
+
readOnly = false,
|
|
12548
|
+
readOnlyMessage = "You have read-only access and cannot send messages.",
|
|
12549
|
+
onError,
|
|
12550
|
+
attachmentLimitLabel,
|
|
12551
|
+
sendFailedLabel = "Failed to send message",
|
|
12552
|
+
sendingLabel = "Sending message\u2026",
|
|
12553
|
+
inputLabel = "Message input",
|
|
12554
|
+
addMenuLabel = "Add to message",
|
|
12555
|
+
attachFilesLabel = "Attach files",
|
|
12556
|
+
micLabel = "Start voice input",
|
|
12557
|
+
sendLabel = "Send message",
|
|
12558
|
+
stopLabel = "Stop generating",
|
|
12559
|
+
agentSelectorLabel = "Select agent",
|
|
12560
|
+
className
|
|
12561
|
+
}, ref) {
|
|
12562
|
+
const [internalValue, setInternalValue] = React13.useState("");
|
|
12563
|
+
const isControlled = controlledValue !== void 0;
|
|
12564
|
+
const value = isControlled ? controlledValue : internalValue;
|
|
12565
|
+
const [attachments, setAttachments] = React13.useState([]);
|
|
12566
|
+
const attachmentsRef = React13.useRef(attachments);
|
|
12567
|
+
attachmentsRef.current = attachments;
|
|
12568
|
+
const textareaRef = React13.useRef(null);
|
|
12569
|
+
const fileInputRef = React13.useRef(null);
|
|
12570
|
+
const [addMenuOpen, setAddMenuOpen] = React13.useState(false);
|
|
12571
|
+
const [agentMenuOpen, setAgentMenuOpen] = React13.useState(false);
|
|
12572
|
+
const hasText = value.trim().length > 0;
|
|
12573
|
+
const hasContent = hasText || attachments.length > 0;
|
|
12574
|
+
const isOverLimit = maxLength !== void 0 && value.length > maxLength;
|
|
12575
|
+
const canSend = (hasContent || canSendWhenEmpty) && onSend !== void 0 && !disabled && !isSending && !isStreaming && !isOverLimit;
|
|
12576
|
+
const setValue = React13.useCallback(
|
|
12577
|
+
(next) => {
|
|
12578
|
+
if (!isControlled) setInternalValue(next);
|
|
12579
|
+
onValueChange?.(next);
|
|
12580
|
+
},
|
|
12581
|
+
[isControlled, onValueChange]
|
|
12582
|
+
);
|
|
12583
|
+
const resizeTextarea = React13.useCallback(() => {
|
|
12584
|
+
const textarea = textareaRef.current;
|
|
12585
|
+
if (!textarea) return;
|
|
12586
|
+
textarea.style.height = "auto";
|
|
12587
|
+
if (textarea.scrollHeight === 0) return;
|
|
12588
|
+
textarea.style.height = `${textarea.scrollHeight}px`;
|
|
12589
|
+
}, []);
|
|
12590
|
+
React13.useLayoutEffect(resizeTextarea, [resizeTextarea, value]);
|
|
12591
|
+
React13.useEffect(() => {
|
|
12592
|
+
const textarea = textareaRef.current;
|
|
12593
|
+
if (!textarea || typeof ResizeObserver === "undefined") return;
|
|
12594
|
+
let frame = 0;
|
|
12595
|
+
const observer = new ResizeObserver(() => {
|
|
12596
|
+
cancelAnimationFrame(frame);
|
|
12597
|
+
frame = requestAnimationFrame(resizeTextarea);
|
|
12598
|
+
});
|
|
12599
|
+
observer.observe(textarea);
|
|
12600
|
+
return () => {
|
|
12601
|
+
cancelAnimationFrame(frame);
|
|
12602
|
+
observer.disconnect();
|
|
12603
|
+
};
|
|
12604
|
+
}, [resizeTextarea]);
|
|
12605
|
+
const addFiles = React13.useCallback(
|
|
12606
|
+
(files) => {
|
|
12607
|
+
if (!allowAttachments || files.length === 0) return;
|
|
12608
|
+
const limitMessage = attachmentLimitLabel ?? `Attachment limit reached (max ${maxAttachments})`;
|
|
12609
|
+
const room = maxAttachments - attachmentsRef.current.length;
|
|
12610
|
+
if (files.length > room) {
|
|
12611
|
+
onError?.(limitMessage, { reason: "attachment-limit" });
|
|
12612
|
+
if (room <= 0) return;
|
|
12613
|
+
}
|
|
12614
|
+
const staged = [];
|
|
12615
|
+
for (const file of files.slice(0, Math.max(room, 0))) {
|
|
12616
|
+
const typeCheck = validateFile(file, acceptedFileTypes, void 0);
|
|
12617
|
+
if (!typeCheck.valid) {
|
|
12618
|
+
onError?.(`${file.name}: ${typeCheck.error}`, {
|
|
12619
|
+
reason: "file-type",
|
|
12620
|
+
file
|
|
12621
|
+
});
|
|
12622
|
+
continue;
|
|
12623
|
+
}
|
|
12624
|
+
const sizeCheck = validateFile(file, void 0, maxFileSize);
|
|
12625
|
+
if (!sizeCheck.valid) {
|
|
12626
|
+
onError?.(`${file.name}: ${sizeCheck.error}`, {
|
|
12627
|
+
reason: "file-size",
|
|
12628
|
+
file
|
|
12629
|
+
});
|
|
12630
|
+
continue;
|
|
12631
|
+
}
|
|
12632
|
+
const type = getFileType(file.type);
|
|
12633
|
+
staged.push({
|
|
12634
|
+
id: generateAttachmentId(),
|
|
12635
|
+
file,
|
|
12636
|
+
type,
|
|
12637
|
+
previewUrl: type === "image" || type === "video" ? URL.createObjectURL(file) : void 0
|
|
12638
|
+
});
|
|
12639
|
+
}
|
|
12640
|
+
if (staged.length > 0) {
|
|
12641
|
+
attachmentsRef.current = [...attachmentsRef.current, ...staged];
|
|
12642
|
+
setAttachments((current) => [...current, ...staged]);
|
|
12643
|
+
}
|
|
12644
|
+
},
|
|
12645
|
+
[
|
|
12646
|
+
allowAttachments,
|
|
12647
|
+
maxAttachments,
|
|
12648
|
+
acceptedFileTypes,
|
|
12649
|
+
maxFileSize,
|
|
12650
|
+
onError,
|
|
12651
|
+
attachmentLimitLabel
|
|
12652
|
+
]
|
|
12653
|
+
);
|
|
12654
|
+
const removeAttachment = React13.useCallback((id) => {
|
|
12655
|
+
const target = attachmentsRef.current.find(
|
|
12656
|
+
(attachment) => attachment.id === id
|
|
12657
|
+
);
|
|
12658
|
+
if (target?.previewUrl) URL.revokeObjectURL(target.previewUrl);
|
|
12659
|
+
attachmentsRef.current = attachmentsRef.current.filter(
|
|
12660
|
+
(attachment) => attachment.id !== id
|
|
12661
|
+
);
|
|
12662
|
+
setAttachments(
|
|
12663
|
+
(current) => current.filter((attachment) => attachment.id !== id)
|
|
12664
|
+
);
|
|
12665
|
+
}, []);
|
|
12666
|
+
React13.useEffect(() => {
|
|
12667
|
+
return () => {
|
|
12668
|
+
for (const attachment of attachmentsRef.current) {
|
|
12669
|
+
if (attachment.previewUrl) URL.revokeObjectURL(attachment.previewUrl);
|
|
12670
|
+
}
|
|
12671
|
+
};
|
|
12672
|
+
}, []);
|
|
12673
|
+
const handleFileInputChange = (event) => {
|
|
12674
|
+
const files = Array.from(event.target.files ?? []);
|
|
12675
|
+
addFiles(files);
|
|
12676
|
+
event.target.value = "";
|
|
12677
|
+
};
|
|
12678
|
+
const handlePaste = (event) => {
|
|
12679
|
+
if (!allowAttachments) return;
|
|
12680
|
+
const files = Array.from(event.clipboardData.files);
|
|
12681
|
+
if (files.length > 0) {
|
|
12682
|
+
event.preventDefault();
|
|
12683
|
+
addFiles(files);
|
|
12684
|
+
}
|
|
12685
|
+
};
|
|
12686
|
+
React13.useImperativeHandle(
|
|
12687
|
+
ref,
|
|
12688
|
+
() => ({
|
|
12689
|
+
addFiles,
|
|
12690
|
+
focus: () => textareaRef.current?.focus(),
|
|
12691
|
+
getTextarea: () => textareaRef.current
|
|
12692
|
+
}),
|
|
12693
|
+
[addFiles]
|
|
12694
|
+
);
|
|
12695
|
+
const handleSend = () => {
|
|
12696
|
+
if (!canSend || !onSend) return;
|
|
12697
|
+
const message = {
|
|
12698
|
+
content: value.trim(),
|
|
12699
|
+
attachments: attachments.map((attachment) => attachment.file)
|
|
12700
|
+
};
|
|
12701
|
+
for (const attachment of attachments) {
|
|
12702
|
+
if (attachment.previewUrl) URL.revokeObjectURL(attachment.previewUrl);
|
|
12703
|
+
}
|
|
12704
|
+
attachmentsRef.current = [];
|
|
12705
|
+
setAttachments([]);
|
|
12706
|
+
setValue("");
|
|
12707
|
+
try {
|
|
12708
|
+
Promise.resolve(onSend(message)).catch(() => {
|
|
12709
|
+
onError?.(sendFailedLabel, { reason: "send-failed" });
|
|
12710
|
+
});
|
|
12711
|
+
} catch {
|
|
12712
|
+
onError?.(sendFailedLabel, { reason: "send-failed" });
|
|
12713
|
+
}
|
|
12714
|
+
textareaRef.current?.focus();
|
|
12715
|
+
};
|
|
12716
|
+
const handleKeyDown = (event) => {
|
|
12717
|
+
if (event.key === "Enter" && !event.shiftKey) {
|
|
12718
|
+
event.preventDefault();
|
|
12719
|
+
handleSend();
|
|
12720
|
+
}
|
|
12721
|
+
};
|
|
12722
|
+
if (readOnly) {
|
|
12723
|
+
return /* @__PURE__ */ jsxs(
|
|
12724
|
+
"div",
|
|
12725
|
+
{
|
|
12726
|
+
"data-slot": "chat-composer",
|
|
12727
|
+
role: "note",
|
|
12728
|
+
className: cn(
|
|
12729
|
+
"flex items-center gap-2 rounded-xl border px-4 py-3 text-sm",
|
|
12730
|
+
"border-amber-300 bg-amber-50 text-amber-900",
|
|
12731
|
+
"dark:border-amber-700 dark:bg-amber-950 dark:text-amber-200",
|
|
12732
|
+
className
|
|
12733
|
+
),
|
|
12734
|
+
children: [
|
|
12735
|
+
/* @__PURE__ */ jsx(AlertTriangle, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
|
|
12736
|
+
/* @__PURE__ */ jsx("span", { "data-slot": "chat-composer-readonly", children: readOnlyMessage })
|
|
12737
|
+
]
|
|
12738
|
+
}
|
|
12739
|
+
);
|
|
12740
|
+
}
|
|
12741
|
+
const showAddMenu = allowAttachments || addMenuItems && addMenuItems.length > 0;
|
|
12742
|
+
const micVisible = (showMic || onMicClick !== void 0 || micSlot !== void 0) && (micBehavior === "always" || !hasContent);
|
|
12743
|
+
const showSelectorRow = showAgentSelector || showModelSelector;
|
|
12744
|
+
const selectedAgentOption = agents.find((agent) => agent.id === selectedAgent) ?? null;
|
|
12745
|
+
const cells = {
|
|
12746
|
+
input: "col-span-3 col-start-1 row-start-1 px-1 pt-1 md:col-span-1 md:col-start-2 md:self-end md:px-0 md:py-1.5",
|
|
12747
|
+
textarea: "px-2 pt-2 pb-1 md:py-1.5",
|
|
12748
|
+
add: "col-start-1 row-start-2 pb-2 ps-2 md:row-start-1 md:self-end md:p-1.5 md:pe-0.5",
|
|
12749
|
+
actions: "col-start-3 row-start-2 flex items-center gap-1 pb-2 pe-2 md:row-start-1 md:self-end md:gap-0.5 md:p-1.5 md:ps-0.5"
|
|
12750
|
+
};
|
|
12751
|
+
const composerCard = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12752
|
+
attachments.length > 0 && /* @__PURE__ */ jsx(
|
|
12753
|
+
"div",
|
|
12754
|
+
{
|
|
12755
|
+
"data-slot": "chat-composer-attachments",
|
|
12756
|
+
className: "flex flex-wrap gap-2 px-3 pt-3",
|
|
12757
|
+
children: attachments.map((attachment) => /* @__PURE__ */ jsx(
|
|
12758
|
+
AttachmentPreviewItem,
|
|
12759
|
+
{
|
|
12760
|
+
attachment: { ...attachment, state: "pending" },
|
|
12761
|
+
onRemove: () => removeAttachment(attachment.id),
|
|
12762
|
+
disabled
|
|
12763
|
+
},
|
|
12764
|
+
attachment.id
|
|
12765
|
+
))
|
|
12766
|
+
}
|
|
12767
|
+
),
|
|
12768
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[auto_minmax(0,1fr)_auto]", children: [
|
|
12769
|
+
/* @__PURE__ */ jsx("div", { className: cells.input, children: /* @__PURE__ */ jsx(
|
|
12770
|
+
"textarea",
|
|
12771
|
+
{
|
|
12772
|
+
...textareaProps,
|
|
12773
|
+
ref: textareaRef,
|
|
12774
|
+
"data-slot": "chat-composer-input",
|
|
12775
|
+
value,
|
|
12776
|
+
onChange: (event) => {
|
|
12777
|
+
textareaProps?.onChange?.(event);
|
|
12778
|
+
setValue(event.target.value);
|
|
12779
|
+
},
|
|
12780
|
+
onKeyDown: (event) => {
|
|
12781
|
+
textareaProps?.onKeyDown?.(event);
|
|
12782
|
+
if (event.defaultPrevented) return;
|
|
12783
|
+
handleKeyDown(event);
|
|
12784
|
+
},
|
|
12785
|
+
onPaste: (event) => {
|
|
12786
|
+
textareaProps?.onPaste?.(event);
|
|
12787
|
+
if (event.defaultPrevented) return;
|
|
12788
|
+
handlePaste(event);
|
|
12789
|
+
},
|
|
12790
|
+
placeholder,
|
|
12791
|
+
disabled,
|
|
12792
|
+
autoFocus,
|
|
12793
|
+
rows: 1,
|
|
12794
|
+
"aria-label": inputLabel,
|
|
12795
|
+
style: {
|
|
12796
|
+
...textareaProps?.style,
|
|
12797
|
+
maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight
|
|
12798
|
+
},
|
|
12799
|
+
className: cn(
|
|
12800
|
+
"block w-full resize-none bg-transparent",
|
|
12801
|
+
"rounded-lg text-sm",
|
|
12802
|
+
cells.textarea,
|
|
12803
|
+
"text-neutral-900 placeholder:text-neutral-400 dark:text-white dark:placeholder:text-neutral-500",
|
|
12804
|
+
// Ring the input itself on focus rather than the whole shell.
|
|
12805
|
+
"focus:ring-primary-500 focus:ring-1 focus:outline-none",
|
|
12806
|
+
"disabled:cursor-not-allowed",
|
|
12807
|
+
textareaProps?.className
|
|
12808
|
+
)
|
|
12809
|
+
}
|
|
12810
|
+
) }),
|
|
12811
|
+
showAddMenu && /* @__PURE__ */ jsx("div", { className: cells.add, children: /* @__PURE__ */ jsxs(
|
|
12812
|
+
Dropdown,
|
|
12813
|
+
{
|
|
12814
|
+
placement: "top-start",
|
|
12815
|
+
open: addMenuOpen,
|
|
12816
|
+
onOpenChange: setAddMenuOpen,
|
|
12817
|
+
trigger: /* @__PURE__ */ jsx(
|
|
12818
|
+
"button",
|
|
12819
|
+
{
|
|
12820
|
+
type: "button",
|
|
12821
|
+
"data-slot": "chat-composer-add-button",
|
|
12822
|
+
"aria-label": addMenuLabel,
|
|
12823
|
+
disabled,
|
|
12824
|
+
className: iconButtonClasses,
|
|
12825
|
+
children: /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
12826
|
+
}
|
|
12827
|
+
),
|
|
12828
|
+
children: [
|
|
12829
|
+
allowAttachments && /* @__PURE__ */ jsx(
|
|
12830
|
+
DropdownItem,
|
|
12831
|
+
{
|
|
12832
|
+
icon: /* @__PURE__ */ jsx(Paperclip, { className: "h-4 w-4", "aria-hidden": "true" }),
|
|
12833
|
+
onClick: () => {
|
|
12834
|
+
setAddMenuOpen(false);
|
|
12835
|
+
fileInputRef.current?.click();
|
|
12836
|
+
},
|
|
12837
|
+
children: attachFilesLabel
|
|
12838
|
+
}
|
|
12839
|
+
),
|
|
12840
|
+
allowAttachments && addMenuItems && addMenuItems.length > 0 && /* @__PURE__ */ jsx(DropdownSeparator, {}),
|
|
12841
|
+
addMenuItems?.map((item) => /* @__PURE__ */ jsx(
|
|
12842
|
+
DropdownItem,
|
|
12843
|
+
{
|
|
12844
|
+
icon: item.icon,
|
|
12845
|
+
disabled: item.disabled,
|
|
12846
|
+
variant: item.variant,
|
|
12847
|
+
checked: item.checked,
|
|
12848
|
+
onClick: () => {
|
|
12849
|
+
setAddMenuOpen(false);
|
|
12850
|
+
item.onSelect?.();
|
|
12851
|
+
},
|
|
12852
|
+
children: /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: item.label })
|
|
12853
|
+
},
|
|
12854
|
+
item.id
|
|
12855
|
+
))
|
|
12856
|
+
]
|
|
12857
|
+
}
|
|
12858
|
+
) }),
|
|
12859
|
+
allowAttachments && /* @__PURE__ */ jsx(
|
|
12860
|
+
"input",
|
|
12861
|
+
{
|
|
12862
|
+
ref: fileInputRef,
|
|
12863
|
+
type: "file",
|
|
12864
|
+
multiple: true,
|
|
12865
|
+
accept: acceptedFileTypes?.join(","),
|
|
12866
|
+
onChange: handleFileInputChange,
|
|
12867
|
+
className: "hidden",
|
|
12868
|
+
"aria-hidden": "true",
|
|
12869
|
+
tabIndex: -1
|
|
12870
|
+
}
|
|
12871
|
+
),
|
|
12872
|
+
/* @__PURE__ */ jsxs("div", { className: cells.actions, children: [
|
|
12873
|
+
showCharacterCount && maxLength !== void 0 && /* @__PURE__ */ jsxs(
|
|
12874
|
+
"span",
|
|
12875
|
+
{
|
|
12876
|
+
"data-slot": "chat-composer-char-count",
|
|
12877
|
+
"aria-live": "polite",
|
|
12878
|
+
className: cn(
|
|
12879
|
+
"pe-1 text-xs tabular-nums",
|
|
12880
|
+
isOverLimit ? "font-medium text-red-700 dark:text-red-400" : "text-neutral-500 dark:text-neutral-400"
|
|
12881
|
+
),
|
|
12882
|
+
children: [
|
|
12883
|
+
value.length,
|
|
12884
|
+
"/",
|
|
12885
|
+
maxLength
|
|
12886
|
+
]
|
|
12887
|
+
}
|
|
12888
|
+
),
|
|
12889
|
+
micVisible && (micSlot != null ? (
|
|
12890
|
+
// Normalize slot content (e.g. a RecordButton) to the 32px
|
|
12891
|
+
// control row: taller content overflow-centers instead of
|
|
12892
|
+
// inflating the pill and pushing the other cells apart. A div
|
|
12893
|
+
// so block-level slot content stays valid HTML.
|
|
12894
|
+
/* @__PURE__ */ jsx(
|
|
12895
|
+
"div",
|
|
12896
|
+
{
|
|
12897
|
+
"data-slot": "chat-composer-mic-slot",
|
|
12898
|
+
className: "flex h-8 shrink-0 items-center",
|
|
12899
|
+
children: micSlot
|
|
12900
|
+
}
|
|
12901
|
+
)
|
|
12902
|
+
) : /* @__PURE__ */ jsx(
|
|
12903
|
+
"button",
|
|
12904
|
+
{
|
|
12905
|
+
type: "button",
|
|
12906
|
+
"data-slot": "chat-composer-mic-button",
|
|
12907
|
+
"aria-label": micLabel,
|
|
12908
|
+
disabled,
|
|
12909
|
+
onClick: onMicClick,
|
|
12910
|
+
className: iconButtonClasses,
|
|
12911
|
+
children: /* @__PURE__ */ jsx(Mic, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
12912
|
+
}
|
|
12913
|
+
)),
|
|
12914
|
+
isStreaming && onStop ? /* @__PURE__ */ jsx(
|
|
12915
|
+
"button",
|
|
12916
|
+
{
|
|
12917
|
+
type: "button",
|
|
12918
|
+
"data-slot": "chat-composer-stop-button",
|
|
12919
|
+
"aria-label": stopLabel,
|
|
12920
|
+
disabled,
|
|
12921
|
+
onClick: onStop,
|
|
12922
|
+
className: cn(
|
|
12923
|
+
iconButtonClasses,
|
|
12924
|
+
"text-neutral-700 dark:text-neutral-200"
|
|
12925
|
+
),
|
|
12926
|
+
children: /* @__PURE__ */ jsx(
|
|
12927
|
+
Square,
|
|
12928
|
+
{
|
|
12929
|
+
className: "h-3.5 w-3.5 fill-current",
|
|
12930
|
+
"aria-hidden": "true"
|
|
12931
|
+
}
|
|
12932
|
+
)
|
|
12933
|
+
}
|
|
12934
|
+
) : /* @__PURE__ */ jsx(
|
|
12935
|
+
"button",
|
|
12936
|
+
{
|
|
12937
|
+
type: "button",
|
|
12938
|
+
"data-slot": "chat-composer-send-button",
|
|
12939
|
+
"aria-label": isSending ? sendingLabel : sendLabel,
|
|
12940
|
+
"aria-busy": isSending || void 0,
|
|
12941
|
+
disabled: !canSend,
|
|
12942
|
+
onClick: handleSend,
|
|
12943
|
+
className: cn(
|
|
12944
|
+
iconButtonClasses,
|
|
12945
|
+
canSend && "bg-primary-800 hover:bg-primary-700 dark:bg-primary-600 dark:hover:bg-primary-500 text-white hover:text-white dark:hover:text-white"
|
|
12946
|
+
),
|
|
12947
|
+
children: isSending ? /* @__PURE__ */ jsx(
|
|
12948
|
+
Loader2,
|
|
12949
|
+
{
|
|
12950
|
+
className: "h-4 w-4 animate-spin",
|
|
12951
|
+
"aria-hidden": "true"
|
|
12952
|
+
}
|
|
12953
|
+
) : /* @__PURE__ */ jsx(ArrowUp, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
12954
|
+
}
|
|
12955
|
+
)
|
|
12956
|
+
] })
|
|
12957
|
+
] })
|
|
12958
|
+
] });
|
|
12959
|
+
const selectorsRow = showSelectorRow && /* @__PURE__ */ jsxs(
|
|
12960
|
+
"div",
|
|
12961
|
+
{
|
|
12962
|
+
"data-slot": "chat-composer-selectors",
|
|
12963
|
+
className: "flex items-center justify-between gap-2 px-2 pt-1",
|
|
12964
|
+
children: [
|
|
12965
|
+
showAgentSelector ? /* @__PURE__ */ jsx(
|
|
12966
|
+
Dropdown,
|
|
12967
|
+
{
|
|
12968
|
+
placement: "top-start",
|
|
12969
|
+
open: agentMenuOpen,
|
|
12970
|
+
onOpenChange: setAgentMenuOpen,
|
|
12971
|
+
trigger: /* @__PURE__ */ jsxs(
|
|
12972
|
+
"button",
|
|
12973
|
+
{
|
|
12974
|
+
type: "button",
|
|
12975
|
+
"data-slot": "chat-composer-agent-trigger",
|
|
12976
|
+
"aria-label": selectedAgentOption ? `${agentSelectorLabel}: ${selectedAgentOption.label}` : agentSelectorLabel,
|
|
12977
|
+
disabled,
|
|
12978
|
+
className: selectorTriggerClasses,
|
|
12979
|
+
children: [
|
|
12980
|
+
selectedAgentOption?.icon ?? /* @__PURE__ */ jsx(Bot, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
|
|
12981
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: selectedAgentOption?.label ?? agentSelectorLabel }),
|
|
12982
|
+
/* @__PURE__ */ jsx(ChevronUp, { className: "h-3 w-3 shrink-0", "aria-hidden": "true" })
|
|
12983
|
+
]
|
|
12984
|
+
}
|
|
12985
|
+
),
|
|
12986
|
+
children: agents.map((agent) => /* @__PURE__ */ jsx(
|
|
12987
|
+
DropdownItem,
|
|
12988
|
+
{
|
|
12989
|
+
icon: agent.icon,
|
|
12990
|
+
role: "menuitemradio",
|
|
12991
|
+
"aria-checked": agent.id === selectedAgent,
|
|
12992
|
+
onClick: () => {
|
|
12993
|
+
setAgentMenuOpen(false);
|
|
12994
|
+
onAgentChange?.(agent.id);
|
|
12995
|
+
},
|
|
12996
|
+
children: /* @__PURE__ */ jsxs("span", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
12997
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
|
|
12998
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate", children: agent.label }),
|
|
12999
|
+
agent.description && /* @__PURE__ */ jsx("span", { className: "block truncate text-xs text-neutral-500 dark:text-neutral-400", children: agent.description })
|
|
13000
|
+
] }),
|
|
13001
|
+
agent.id === selectedAgent && /* @__PURE__ */ jsx(
|
|
13002
|
+
Check,
|
|
13003
|
+
{
|
|
13004
|
+
className: "text-primary-600 dark:text-primary-400 h-4 w-4 shrink-0",
|
|
13005
|
+
"aria-hidden": "true"
|
|
13006
|
+
}
|
|
13007
|
+
)
|
|
13008
|
+
] })
|
|
13009
|
+
},
|
|
13010
|
+
agent.id
|
|
13011
|
+
))
|
|
13012
|
+
}
|
|
13013
|
+
) : /* @__PURE__ */ jsx("span", { "aria-hidden": "true" }),
|
|
13014
|
+
showModelSelector && modelSelectorProps && /* @__PURE__ */ jsx(
|
|
13015
|
+
ComposerModelSelector,
|
|
13016
|
+
{
|
|
13017
|
+
variant: "ghost",
|
|
13018
|
+
...modelSelectorProps,
|
|
13019
|
+
disabled: disabled || modelSelectorProps.disabled
|
|
13020
|
+
}
|
|
13021
|
+
)
|
|
13022
|
+
]
|
|
13023
|
+
}
|
|
13024
|
+
);
|
|
13025
|
+
return /* @__PURE__ */ jsxs(
|
|
13026
|
+
"div",
|
|
13027
|
+
{
|
|
13028
|
+
"data-slot": "chat-composer",
|
|
13029
|
+
className: cn(
|
|
13030
|
+
"flex w-full flex-col",
|
|
13031
|
+
disabled && "opacity-60",
|
|
13032
|
+
className
|
|
13033
|
+
),
|
|
13034
|
+
children: [
|
|
13035
|
+
/* @__PURE__ */ jsx(
|
|
13036
|
+
"div",
|
|
13037
|
+
{
|
|
13038
|
+
"data-slot": "chat-composer-card",
|
|
13039
|
+
className: cn(
|
|
13040
|
+
"rounded-2xl border border-neutral-200 bg-white shadow-sm",
|
|
13041
|
+
"dark:border-[#2e2e30] dark:bg-[#1c1c1e]"
|
|
13042
|
+
),
|
|
13043
|
+
children: composerCard
|
|
13044
|
+
}
|
|
13045
|
+
),
|
|
13046
|
+
selectorsRow
|
|
13047
|
+
]
|
|
13048
|
+
}
|
|
13049
|
+
);
|
|
13050
|
+
});
|
|
13051
|
+
ChatComposer.displayName = "ChatComposer";
|
|
12434
13052
|
var MODE_META = {
|
|
12435
13053
|
add: { title: "Add problem", changeType: void 0 },
|
|
12436
13054
|
observe: { title: "Progress observation", changeType: void 0 },
|
|
@@ -12740,7 +13358,7 @@ function ConditionEditor({
|
|
|
12740
13358
|
mode === "add" && effectiveRenderCodeSearch && !text.trim() ? /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
12741
13359
|
/* @__PURE__ */ jsxs("span", { className: "text-foreground block text-sm font-medium", children: [
|
|
12742
13360
|
"Problem name",
|
|
12743
|
-
/* @__PURE__ */ jsx("span", { className: "text-destructive
|
|
13361
|
+
/* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", "aria-hidden": "true", children: "*" })
|
|
12744
13362
|
] }),
|
|
12745
13363
|
effectiveRenderCodeSearch({
|
|
12746
13364
|
placeholder: "Search conditions \u2014 or type a name and press Enter\u2026",
|
|
@@ -12914,7 +13532,7 @@ function ConditionEditor({
|
|
|
12914
13532
|
disabled: fields.severity?.known === false,
|
|
12915
13533
|
onClick: () => setSeverity(active ? void 0 : s),
|
|
12916
13534
|
className: cn(
|
|
12917
|
-
"border-border border-
|
|
13535
|
+
"border-border border-s px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-s-0",
|
|
12918
13536
|
"disabled:opacity-40",
|
|
12919
13537
|
active ? "bg-primary-600 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
12920
13538
|
),
|
|
@@ -13190,7 +13808,7 @@ function CheckrIntegration({
|
|
|
13190
13808
|
/* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: "Checkr" }),
|
|
13191
13809
|
connected && account?.name && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
13192
13810
|
account.name,
|
|
13193
|
-
account.plan && /* @__PURE__ */ jsxs("span", { className: "
|
|
13811
|
+
account.plan && /* @__PURE__ */ jsxs("span", { className: "ms-2 text-xs", children: [
|
|
13194
13812
|
"(",
|
|
13195
13813
|
account.plan,
|
|
13196
13814
|
")"
|
|
@@ -13203,7 +13821,7 @@ function CheckrIntegration({
|
|
|
13203
13821
|
"svg",
|
|
13204
13822
|
{
|
|
13205
13823
|
"aria-hidden": "true",
|
|
13206
|
-
className: "
|
|
13824
|
+
className: "me-2 h-4 w-4",
|
|
13207
13825
|
fill: "none",
|
|
13208
13826
|
viewBox: "0 0 24 24",
|
|
13209
13827
|
stroke: "currentColor",
|
|
@@ -13233,7 +13851,7 @@ function CheckrIntegration({
|
|
|
13233
13851
|
"svg",
|
|
13234
13852
|
{
|
|
13235
13853
|
"aria-hidden": "true",
|
|
13236
|
-
className: "
|
|
13854
|
+
className: "me-2 inline-block h-4 w-4",
|
|
13237
13855
|
fill: "none",
|
|
13238
13856
|
viewBox: "0 0 24 24",
|
|
13239
13857
|
stroke: "currentColor",
|
|
@@ -13282,7 +13900,7 @@ function CheckrIntegration({
|
|
|
13282
13900
|
"svg",
|
|
13283
13901
|
{
|
|
13284
13902
|
"aria-hidden": "true",
|
|
13285
|
-
className: "
|
|
13903
|
+
className: "me-2 h-4 w-4",
|
|
13286
13904
|
fill: "none",
|
|
13287
13905
|
viewBox: "0 0 24 24",
|
|
13288
13906
|
stroke: "currentColor",
|
|
@@ -13304,7 +13922,7 @@ function CheckrIntegration({
|
|
|
13304
13922
|
"svg",
|
|
13305
13923
|
{
|
|
13306
13924
|
"aria-hidden": "true",
|
|
13307
|
-
className: "
|
|
13925
|
+
className: "me-2 h-4 w-4",
|
|
13308
13926
|
fill: "none",
|
|
13309
13927
|
viewBox: "0 0 24 24",
|
|
13310
13928
|
stroke: "currentColor",
|
|
@@ -13383,7 +14001,7 @@ function CheckrIntegration({
|
|
|
13383
14001
|
report.packageName && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: report.packageName })
|
|
13384
14002
|
] })
|
|
13385
14003
|
] }),
|
|
13386
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
14004
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
13387
14005
|
/* @__PURE__ */ jsx(
|
|
13388
14006
|
"span",
|
|
13389
14007
|
{
|
|
@@ -13506,7 +14124,7 @@ function CheckrIntegration({
|
|
|
13506
14124
|
"svg",
|
|
13507
14125
|
{
|
|
13508
14126
|
"aria-hidden": "true",
|
|
13509
|
-
className: "
|
|
14127
|
+
className: "me-2 h-4 w-4",
|
|
13510
14128
|
fill: "none",
|
|
13511
14129
|
viewBox: "0 0 24 24",
|
|
13512
14130
|
stroke: "currentColor",
|
|
@@ -13921,7 +14539,7 @@ function CommandPalette({
|
|
|
13921
14539
|
"data-slot": "command-palette-search",
|
|
13922
14540
|
className: "relative border-b border-gray-200 dark:border-gray-700",
|
|
13923
14541
|
children: [
|
|
13924
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute top-1/2
|
|
14542
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute start-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(SearchIcon2, {}) }),
|
|
13925
14543
|
/* @__PURE__ */ jsx(
|
|
13926
14544
|
"input",
|
|
13927
14545
|
{
|
|
@@ -13934,7 +14552,7 @@ function CommandPalette({
|
|
|
13934
14552
|
autoFocus: true,
|
|
13935
14553
|
"data-testid": `${testId}-input`,
|
|
13936
14554
|
className: cn(
|
|
13937
|
-
"w-full bg-transparent py-4
|
|
14555
|
+
"w-full bg-transparent py-4 ps-12 pe-12 text-base",
|
|
13938
14556
|
"focus:outline-none dark:text-white dark:placeholder-gray-400"
|
|
13939
14557
|
)
|
|
13940
14558
|
}
|
|
@@ -13944,12 +14562,12 @@ function CommandPalette({
|
|
|
13944
14562
|
{
|
|
13945
14563
|
onClick: () => setQuery(""),
|
|
13946
14564
|
"data-testid": `${testId}-clear`,
|
|
13947
|
-
className: "text-muted-foreground absolute top-1/2
|
|
14565
|
+
className: "text-muted-foreground absolute end-12 top-1/2 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
|
|
13948
14566
|
"aria-label": "Clear search",
|
|
13949
14567
|
children: /* @__PURE__ */ jsx(XIcon3, {})
|
|
13950
14568
|
}
|
|
13951
14569
|
),
|
|
13952
|
-
isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute top-1/2
|
|
14570
|
+
isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute end-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(SpinnerIcon3, {}) })
|
|
13953
14571
|
]
|
|
13954
14572
|
}
|
|
13955
14573
|
),
|
|
@@ -14024,7 +14642,7 @@ function CommandPalette({
|
|
|
14024
14642
|
"span",
|
|
14025
14643
|
{
|
|
14026
14644
|
className: cn(
|
|
14027
|
-
"
|
|
14645
|
+
"me-2 inline-block h-4 w-4 align-middle",
|
|
14028
14646
|
categoryInfo.colorClass
|
|
14029
14647
|
),
|
|
14030
14648
|
children: categoryInfo.icon
|
|
@@ -14074,7 +14692,7 @@ function CommandPalette({
|
|
|
14074
14692
|
onMouseEnter: () => setSelectedIndex(currentIndex),
|
|
14075
14693
|
disabled: item.disabled,
|
|
14076
14694
|
className: cn(
|
|
14077
|
-
"flex w-full items-start gap-3 px-4 py-3 text-
|
|
14695
|
+
"flex w-full items-start gap-3 px-4 py-3 text-start transition-colors",
|
|
14078
14696
|
isSelected ? "bg-primary-50 dark:bg-primary-900/20" : "hover:bg-gray-50 dark:hover:bg-gray-700/50",
|
|
14079
14697
|
item.disabled && "cursor-not-allowed opacity-50"
|
|
14080
14698
|
),
|
|
@@ -14130,9 +14748,9 @@ function CommandPalette({
|
|
|
14130
14748
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
14131
14749
|
/* @__PURE__ */ jsx("kbd", { className: "rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u2191\u2193" }),
|
|
14132
14750
|
/* @__PURE__ */ jsx("span", { children: "navigate" }),
|
|
14133
|
-
/* @__PURE__ */ jsx("kbd", { className: "
|
|
14751
|
+
/* @__PURE__ */ jsx("kbd", { className: "ms-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u21B5" }),
|
|
14134
14752
|
/* @__PURE__ */ jsx("span", { children: "select" }),
|
|
14135
|
-
/* @__PURE__ */ jsx("kbd", { className: "
|
|
14753
|
+
/* @__PURE__ */ jsx("kbd", { className: "ms-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "esc" }),
|
|
14136
14754
|
/* @__PURE__ */ jsx("span", { children: "close" })
|
|
14137
14755
|
] }),
|
|
14138
14756
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
@@ -14170,7 +14788,7 @@ function CommandPaletteTrigger({
|
|
|
14170
14788
|
),
|
|
14171
14789
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14172
14790
|
/* @__PURE__ */ jsx(SearchIcon2, {}),
|
|
14173
|
-
/* @__PURE__ */ jsx("span", { className: "flex-1 text-
|
|
14791
|
+
/* @__PURE__ */ jsx("span", { className: "flex-1 text-start whitespace-nowrap", children: placeholder }),
|
|
14174
14792
|
/* @__PURE__ */ jsxs(
|
|
14175
14793
|
"kbd",
|
|
14176
14794
|
{
|
|
@@ -14243,7 +14861,7 @@ function ConnectionStatusOverlay({
|
|
|
14243
14861
|
{
|
|
14244
14862
|
"data-slot": "connection-overlay-card",
|
|
14245
14863
|
className: cn(cardVariants2({ animate })),
|
|
14246
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-
|
|
14864
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
|
|
14247
14865
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(ConnectionIcon, { status: connection.status, className: "h-12 w-12" }) }),
|
|
14248
14866
|
/* @__PURE__ */ jsxs("div", { "data-slot": "connection-overlay-content", className: "flex-1", children: [
|
|
14249
14867
|
/* @__PURE__ */ jsx("p", { className: "text-gray-700 dark:text-gray-300", children: displayMessage }),
|
|
@@ -14296,7 +14914,7 @@ function UpdateAvailableOverlay({
|
|
|
14296
14914
|
{
|
|
14297
14915
|
"data-slot": "update-overlay-card",
|
|
14298
14916
|
className: cn(cardVariants2({ animate: true })),
|
|
14299
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-
|
|
14917
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
|
|
14300
14918
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: logoUrl ? /* @__PURE__ */ jsx(
|
|
14301
14919
|
"img",
|
|
14302
14920
|
{
|
|
@@ -14395,7 +15013,7 @@ function ConnectionStatusBar({
|
|
|
14395
15013
|
"aria-live": "polite",
|
|
14396
15014
|
"data-slot": "connection-bar",
|
|
14397
15015
|
className: cn(
|
|
14398
|
-
"fixed
|
|
15016
|
+
"fixed start-0 end-0 z-40 px-4 py-2",
|
|
14399
15017
|
position === "top" ? "top-0" : "bottom-0",
|
|
14400
15018
|
isConnecting ? "bg-warning-500 text-warning-900" : "bg-destructive-700 text-white",
|
|
14401
15019
|
className
|
|
@@ -14726,7 +15344,7 @@ function RowActionMenu({
|
|
|
14726
15344
|
role: "menuitem",
|
|
14727
15345
|
type: "button",
|
|
14728
15346
|
className: cn(
|
|
14729
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15347
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
14730
15348
|
"transition-colors duration-100",
|
|
14731
15349
|
action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14732
15350
|
),
|
|
@@ -14798,7 +15416,7 @@ function HoverMenu({
|
|
|
14798
15416
|
{
|
|
14799
15417
|
"data-slot": "count-badge-menu-scroll",
|
|
14800
15418
|
className: "max-h-[240px] min-h-0 overflow-y-auto",
|
|
14801
|
-
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-
|
|
15419
|
+
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-start text-xs", children: [
|
|
14802
15420
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-b border-neutral-100 dark:border-neutral-700", children: [
|
|
14803
15421
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "#" }),
|
|
14804
15422
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "Label" }),
|
|
@@ -14891,14 +15509,14 @@ function ViewModalActions({
|
|
|
14891
15509
|
"aria-expanded": shareOpen,
|
|
14892
15510
|
"aria-haspopup": "menu",
|
|
14893
15511
|
children: [
|
|
14894
|
-
/* @__PURE__ */ jsx(Share, { size: 14, className: "
|
|
15512
|
+
/* @__PURE__ */ jsx(Share, { size: 14, className: "me-1.5" }),
|
|
14895
15513
|
"Share",
|
|
14896
15514
|
/* @__PURE__ */ jsx(
|
|
14897
15515
|
ChevronDown,
|
|
14898
15516
|
{
|
|
14899
15517
|
size: 12,
|
|
14900
15518
|
className: cn(
|
|
14901
|
-
"
|
|
15519
|
+
"ms-1 transition-transform duration-150",
|
|
14902
15520
|
shareOpen && "rotate-180"
|
|
14903
15521
|
)
|
|
14904
15522
|
}
|
|
@@ -14925,7 +15543,7 @@ function ViewModalActions({
|
|
|
14925
15543
|
role: "menuitem",
|
|
14926
15544
|
type: "button",
|
|
14927
15545
|
className: cn(
|
|
14928
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15546
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14929
15547
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14930
15548
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14931
15549
|
),
|
|
@@ -14945,7 +15563,7 @@ function ViewModalActions({
|
|
|
14945
15563
|
role: "menuitem",
|
|
14946
15564
|
type: "button",
|
|
14947
15565
|
className: cn(
|
|
14948
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15566
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14949
15567
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14950
15568
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14951
15569
|
),
|
|
@@ -14965,7 +15583,7 @@ function ViewModalActions({
|
|
|
14965
15583
|
role: "menuitem",
|
|
14966
15584
|
type: "button",
|
|
14967
15585
|
className: cn(
|
|
14968
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15586
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14969
15587
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14970
15588
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14971
15589
|
),
|
|
@@ -14994,7 +15612,7 @@ function ViewModalActions({
|
|
|
14994
15612
|
size: "sm",
|
|
14995
15613
|
onClick: () => console.warn("Export", viewTarget),
|
|
14996
15614
|
children: [
|
|
14997
|
-
/* @__PURE__ */ jsx(Download, { size: 14, className: "
|
|
15615
|
+
/* @__PURE__ */ jsx(Download, { size: 14, className: "me-1.5" }),
|
|
14998
15616
|
"Export"
|
|
14999
15617
|
]
|
|
15000
15618
|
}
|
|
@@ -15006,7 +15624,7 @@ function ViewModalActions({
|
|
|
15006
15624
|
size: "sm",
|
|
15007
15625
|
onClick: () => console.warn("Open in chart", viewTarget),
|
|
15008
15626
|
children: [
|
|
15009
|
-
/* @__PURE__ */ jsx(ExternalLink, { size: 14, className: "
|
|
15627
|
+
/* @__PURE__ */ jsx(ExternalLink, { size: 14, className: "me-1.5" }),
|
|
15010
15628
|
"Open in Chart"
|
|
15011
15629
|
]
|
|
15012
15630
|
}
|
|
@@ -15473,6 +16091,7 @@ var CountBadge = React13.forwardRef(
|
|
|
15473
16091
|
CountBadge.displayName = "CountBadge";
|
|
15474
16092
|
function CountryDropdown({
|
|
15475
16093
|
"aria-label": ariaLabel = "Select country",
|
|
16094
|
+
defaultValue = "",
|
|
15476
16095
|
...props
|
|
15477
16096
|
}) {
|
|
15478
16097
|
return /* @__PURE__ */ jsx(
|
|
@@ -15480,6 +16099,7 @@ function CountryDropdown({
|
|
|
15480
16099
|
{
|
|
15481
16100
|
...props,
|
|
15482
16101
|
"aria-label": ariaLabel,
|
|
16102
|
+
defaultValue,
|
|
15483
16103
|
showDialCode: false
|
|
15484
16104
|
}
|
|
15485
16105
|
);
|
|
@@ -15490,10 +16110,13 @@ var bannerVariants = cva(
|
|
|
15490
16110
|
{
|
|
15491
16111
|
variants: {
|
|
15492
16112
|
position: {
|
|
15493
|
-
bottom: "bottom-0
|
|
15494
|
-
top: "top-0
|
|
15495
|
-
"bottom-
|
|
15496
|
-
"bottom-
|
|
16113
|
+
bottom: "bottom-0 start-0 end-0",
|
|
16114
|
+
top: "top-0 start-0 end-0",
|
|
16115
|
+
"bottom-start": "bottom-4 start-4 max-w-md",
|
|
16116
|
+
"bottom-end": "bottom-4 end-4 max-w-md",
|
|
16117
|
+
// Deprecated physical aliases for the logical positions above.
|
|
16118
|
+
"bottom-left": "bottom-4 start-4 max-w-md",
|
|
16119
|
+
"bottom-right": "bottom-4 end-4 max-w-md"
|
|
15497
16120
|
},
|
|
15498
16121
|
variant: {
|
|
15499
16122
|
default: "bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 shadow-lg",
|
|
@@ -15683,7 +16306,7 @@ function CompactCookieBanner({
|
|
|
15683
16306
|
"aria-label": "Cookie consent",
|
|
15684
16307
|
"data-slot": "compact-cookie-banner",
|
|
15685
16308
|
className: cn(
|
|
15686
|
-
"fixed
|
|
16309
|
+
"fixed start-4 end-4 bottom-4 md:start-auto md:end-4 md:max-w-sm",
|
|
15687
16310
|
"z-50 rounded-lg bg-gray-900 p-4 text-white shadow-xl",
|
|
15688
16311
|
className
|
|
15689
16312
|
),
|
|
@@ -16228,7 +16851,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16228
16851
|
"data-slot": "dashboard-widget-header",
|
|
16229
16852
|
className: cn(
|
|
16230
16853
|
"border-border flex flex-row items-center justify-between gap-2 border-b px-4 py-3 pb-3",
|
|
16231
|
-
accent && "
|
|
16854
|
+
accent && "ps-6"
|
|
16232
16855
|
),
|
|
16233
16856
|
children: [
|
|
16234
16857
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -16272,7 +16895,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16272
16895
|
CardContent,
|
|
16273
16896
|
{
|
|
16274
16897
|
"data-slot": "dashboard-widget-body",
|
|
16275
|
-
className: cn("px-4 py-3", accent && "
|
|
16898
|
+
className: cn("px-4 py-3", accent && "ps-6"),
|
|
16276
16899
|
children
|
|
16277
16900
|
}
|
|
16278
16901
|
),
|
|
@@ -16280,7 +16903,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16280
16903
|
"div",
|
|
16281
16904
|
{
|
|
16282
16905
|
"data-slot": "dashboard-widget-footer",
|
|
16283
|
-
className: cn("border-border border-t px-4 py-2", accent && "
|
|
16906
|
+
className: cn("border-border border-t px-4 py-2", accent && "ps-6"),
|
|
16284
16907
|
children: footer
|
|
16285
16908
|
}
|
|
16286
16909
|
)
|
|
@@ -16372,7 +16995,7 @@ function DashboardWidgetTableInner({
|
|
|
16372
16995
|
{
|
|
16373
16996
|
className: cn(
|
|
16374
16997
|
"px-4 text-xs",
|
|
16375
|
-
col.align === "right" && "text-
|
|
16998
|
+
col.align === "right" && "text-end",
|
|
16376
16999
|
col.align === "center" && "text-center",
|
|
16377
17000
|
col.className
|
|
16378
17001
|
),
|
|
@@ -16395,7 +17018,7 @@ function DashboardWidgetTableInner({
|
|
|
16395
17018
|
{
|
|
16396
17019
|
className: cn(
|
|
16397
17020
|
"px-4 py-2 text-sm",
|
|
16398
|
-
col.align === "right" && "text-
|
|
17021
|
+
col.align === "right" && "text-end",
|
|
16399
17022
|
col.align === "center" && "text-center",
|
|
16400
17023
|
col.className
|
|
16401
17024
|
),
|
|
@@ -16403,7 +17026,7 @@ function DashboardWidgetTableInner({
|
|
|
16403
17026
|
},
|
|
16404
17027
|
col.key
|
|
16405
17028
|
)),
|
|
16406
|
-
actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-
|
|
17029
|
+
actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-end", children: /* @__PURE__ */ jsx(
|
|
16407
17030
|
WidgetRowActionMenu,
|
|
16408
17031
|
{
|
|
16409
17032
|
row,
|
|
@@ -16505,7 +17128,7 @@ function WidgetRowActionMenu({
|
|
|
16505
17128
|
role: "menuitem",
|
|
16506
17129
|
type: "button",
|
|
16507
17130
|
className: cn(
|
|
16508
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
17131
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
16509
17132
|
"transition-colors duration-100",
|
|
16510
17133
|
action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
16511
17134
|
),
|
|
@@ -16567,7 +17190,7 @@ var DashboardWidgetActions = React13.forwardRef(({ className, actions, columns =
|
|
|
16567
17190
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: action.label })
|
|
16568
17191
|
] });
|
|
16569
17192
|
const sharedClasses = cn(
|
|
16570
|
-
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-
|
|
17193
|
+
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-start transition-colors",
|
|
16571
17194
|
"hover:bg-muted/60 hover:border-primary-200 dark:hover:border-primary-800",
|
|
16572
17195
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
16573
17196
|
action.disabled && "opacity-50 cursor-not-allowed pointer-events-none"
|
|
@@ -16609,7 +17232,7 @@ var DashboardWidgetDataCards = React13.forwardRef(({ className, items, columns =
|
|
|
16609
17232
|
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: item.label }),
|
|
16610
17233
|
/* @__PURE__ */ jsxs("dd", { className: "text-foreground mt-0.5 text-sm font-semibold", children: [
|
|
16611
17234
|
item.value,
|
|
16612
|
-
item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
17235
|
+
item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-0.5 text-xs font-normal", children: item.unit })
|
|
16613
17236
|
] })
|
|
16614
17237
|
] }, `${item.label}-${i}`)) }),
|
|
16615
17238
|
footer && /* @__PURE__ */ jsx("div", { className: "border-border text-muted-foreground flex items-center gap-2 border-t pt-2 text-xs", children: footer })
|
|
@@ -17053,9 +17676,9 @@ function DateRangePicker({
|
|
|
17053
17676
|
// In range background
|
|
17054
17677
|
inRange && "bg-muted",
|
|
17055
17678
|
// Start date
|
|
17056
|
-
start && "bg-foreground text-background hover:bg-foreground rounded-
|
|
17679
|
+
start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
|
|
17057
17680
|
// End date
|
|
17058
|
-
end && !start && "border-foreground text-foreground rounded-
|
|
17681
|
+
end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
|
|
17059
17682
|
// Today indicator (only if not start/end)
|
|
17060
17683
|
today && !start && !end && "font-semibold"
|
|
17061
17684
|
),
|
|
@@ -17087,7 +17710,7 @@ function DateRangePicker({
|
|
|
17087
17710
|
"data-slot": "date-range-trigger",
|
|
17088
17711
|
className: cn(
|
|
17089
17712
|
"border-input bg-background hover:bg-muted",
|
|
17090
|
-
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-
|
|
17713
|
+
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
|
|
17091
17714
|
"focus:ring-ring focus:ring-2 focus:outline-none",
|
|
17092
17715
|
"transition-colors",
|
|
17093
17716
|
!displayValue && "text-muted-foreground"
|
|
@@ -17156,7 +17779,7 @@ function DateRangePicker({
|
|
|
17156
17779
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17157
17780
|
"aria-label": "Previous month",
|
|
17158
17781
|
"data-slot": "date-range-nav",
|
|
17159
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
17782
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17160
17783
|
}
|
|
17161
17784
|
),
|
|
17162
17785
|
/* @__PURE__ */ jsxs(
|
|
@@ -17179,7 +17802,7 @@ function DateRangePicker({
|
|
|
17179
17802
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17180
17803
|
"aria-label": "Next month",
|
|
17181
17804
|
"data-slot": "date-range-nav",
|
|
17182
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17805
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17183
17806
|
}
|
|
17184
17807
|
)
|
|
17185
17808
|
]
|
|
@@ -17235,7 +17858,7 @@ function DateRangePicker({
|
|
|
17235
17858
|
"div",
|
|
17236
17859
|
{
|
|
17237
17860
|
className: cn(
|
|
17238
|
-
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-
|
|
17861
|
+
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
|
|
17239
17862
|
isResponsive && "hidden md:flex"
|
|
17240
17863
|
),
|
|
17241
17864
|
"data-slot": "date-range-presets",
|
|
@@ -17246,7 +17869,7 @@ function DateRangePicker({
|
|
|
17246
17869
|
onClick: () => handlePresetSelect(preset.key),
|
|
17247
17870
|
"data-slot": "date-range-preset",
|
|
17248
17871
|
className: cn(
|
|
17249
|
-
"rounded-md px-3 py-1.5 text-
|
|
17872
|
+
"rounded-md px-3 py-1.5 text-start text-sm transition-colors",
|
|
17250
17873
|
"hover:bg-muted",
|
|
17251
17874
|
activePreset === preset.key && "bg-primary-800 text-white"
|
|
17252
17875
|
),
|
|
@@ -17287,7 +17910,7 @@ function DateRangePicker({
|
|
|
17287
17910
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17288
17911
|
"aria-label": "Previous month",
|
|
17289
17912
|
"data-slot": "date-range-nav",
|
|
17290
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
17913
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17291
17914
|
}
|
|
17292
17915
|
),
|
|
17293
17916
|
/* @__PURE__ */ jsxs(
|
|
@@ -17310,7 +17933,7 @@ function DateRangePicker({
|
|
|
17310
17933
|
className: "hover:bg-muted rounded-md p-1 transition-colors md:hidden",
|
|
17311
17934
|
"aria-label": "Next month",
|
|
17312
17935
|
"data-slot": "date-range-nav",
|
|
17313
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17936
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17314
17937
|
}
|
|
17315
17938
|
)
|
|
17316
17939
|
]
|
|
@@ -17345,7 +17968,7 @@ function DateRangePicker({
|
|
|
17345
17968
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17346
17969
|
"aria-label": "Next month",
|
|
17347
17970
|
"data-slot": "date-range-nav",
|
|
17348
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17971
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17349
17972
|
}
|
|
17350
17973
|
)
|
|
17351
17974
|
]
|
|
@@ -17385,9 +18008,9 @@ function DateRangeFilter({
|
|
|
17385
18008
|
Dropdown,
|
|
17386
18009
|
{
|
|
17387
18010
|
trigger: /* @__PURE__ */ jsxs(Button, { variant, size: "md", className, children: [
|
|
17388
|
-
/* @__PURE__ */ jsx(Calendar$1, { className: "
|
|
18011
|
+
/* @__PURE__ */ jsx(Calendar$1, { className: "me-2 h-4 w-4" }),
|
|
17389
18012
|
activeLabel || labels.filter || "Filter by Date",
|
|
17390
|
-
/* @__PURE__ */ jsx(ChevronDown$1, { className: "
|
|
18013
|
+
/* @__PURE__ */ jsx(ChevronDown$1, { className: "ms-2 h-3 w-3" })
|
|
17391
18014
|
] }),
|
|
17392
18015
|
className: "w-56",
|
|
17393
18016
|
"data-slot": "date-range-filter",
|
|
@@ -17625,7 +18248,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
|
|
|
17625
18248
|
"span",
|
|
17626
18249
|
{
|
|
17627
18250
|
className: cn(
|
|
17628
|
-
"absolute
|
|
18251
|
+
"absolute start-2 bottom-2 px-2 py-0.5",
|
|
17629
18252
|
"rounded-full text-xs font-medium",
|
|
17630
18253
|
"bg-black/50 text-white",
|
|
17631
18254
|
"capitalize"
|
|
@@ -18182,15 +18805,15 @@ function DocumentDetectionOverlay({
|
|
|
18182
18805
|
{
|
|
18183
18806
|
className: `absolute inset-4 rounded-lg border-4 transition-colors duration-300 ${borderColor}`,
|
|
18184
18807
|
children: [
|
|
18185
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18186
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18187
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18188
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18808
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-1 -top-1 h-6 w-6 rounded-ss border-s-4 border-t-4 border-current" }),
|
|
18809
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-1 -top-1 h-6 w-6 rounded-se border-e-4 border-t-4 border-current" }),
|
|
18810
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-1 -bottom-1 h-6 w-6 rounded-es border-s-4 border-b-4 border-current" }),
|
|
18811
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-1 -bottom-1 h-6 w-6 rounded-ee border-e-4 border-b-4 border-current" })
|
|
18189
18812
|
]
|
|
18190
18813
|
}
|
|
18191
18814
|
),
|
|
18192
18815
|
/* @__PURE__ */ jsx(CountdownDisplay, { seconds: captureCountdown }),
|
|
18193
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute
|
|
18816
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute start-3 end-3 top-3", children: [
|
|
18194
18817
|
/* @__PURE__ */ jsx(
|
|
18195
18818
|
"div",
|
|
18196
18819
|
{
|
|
@@ -18206,7 +18829,7 @@ function DocumentDetectionOverlay({
|
|
|
18206
18829
|
}
|
|
18207
18830
|
) })
|
|
18208
18831
|
] }),
|
|
18209
|
-
showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute
|
|
18832
|
+
showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute start-3 end-3 bottom-3", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap justify-center gap-2 rounded-lg bg-black/60 p-2 backdrop-blur-sm", children: [
|
|
18210
18833
|
/* @__PURE__ */ jsx(StatusPill, { label: "Focus", isOk: isInFocus, value: focusScore }),
|
|
18211
18834
|
/* @__PURE__ */ jsx(
|
|
18212
18835
|
StatusPill,
|
|
@@ -18247,12 +18870,12 @@ function CameraViewfinder({
|
|
|
18247
18870
|
isReady && detectionOverlay,
|
|
18248
18871
|
isReady && !detectionOverlay && /* @__PURE__ */ jsxs("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
18249
18872
|
/* @__PURE__ */ jsxs("div", { className: "absolute inset-8 rounded-lg border-2 border-white/30", children: [
|
|
18250
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18251
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18252
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18253
|
-
/* @__PURE__ */ jsx("div", { className: "absolute -
|
|
18873
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-0.5 -top-0.5 h-6 w-6 rounded-ss-lg border-s-4 border-t-4 border-white" }),
|
|
18874
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-0.5 -top-0.5 h-6 w-6 rounded-se-lg border-e-4 border-t-4 border-white" }),
|
|
18875
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-0.5 -bottom-0.5 h-6 w-6 rounded-es-lg border-s-4 border-b-4 border-white" }),
|
|
18876
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-0.5 -bottom-0.5 h-6 w-6 rounded-ee-lg border-e-4 border-b-4 border-white" })
|
|
18254
18877
|
] }),
|
|
18255
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
18878
|
+
/* @__PURE__ */ jsx("div", { className: "absolute start-0 end-0 bottom-4 text-center", children: /* @__PURE__ */ jsx("span", { className: "rounded-full bg-black/50 px-3 py-1 text-sm text-white", children: "Position document within the frame" }) })
|
|
18256
18879
|
] })
|
|
18257
18880
|
] });
|
|
18258
18881
|
}
|
|
@@ -18265,7 +18888,7 @@ function PermissionDeniedMessage({ onRetry }) {
|
|
|
18265
18888
|
] }),
|
|
18266
18889
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
|
|
18267
18890
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "To enable camera access:" }),
|
|
18268
|
-
/* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-
|
|
18891
|
+
/* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-start text-sm", children: [
|
|
18269
18892
|
/* @__PURE__ */ jsx("li", { children: "Click the camera/lock icon in your browser's address bar" }),
|
|
18270
18893
|
/* @__PURE__ */ jsx("li", { children: "Allow camera access for this site" }),
|
|
18271
18894
|
/* @__PURE__ */ jsx("li", { children: "Click the button below to try again" })
|
|
@@ -18310,7 +18933,7 @@ function PhotoPreview({
|
|
|
18310
18933
|
{
|
|
18311
18934
|
variant: "primary",
|
|
18312
18935
|
onClick: onConfirm,
|
|
18313
|
-
leftIcon: /* @__PURE__ */ jsx(Check
|
|
18936
|
+
leftIcon: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }),
|
|
18314
18937
|
children: "Use this photo"
|
|
18315
18938
|
}
|
|
18316
18939
|
)
|
|
@@ -19669,7 +20292,7 @@ function ClaimProviderForm({
|
|
|
19669
20292
|
"svg",
|
|
19670
20293
|
{
|
|
19671
20294
|
"aria-hidden": "true",
|
|
19672
|
-
className: "
|
|
20295
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
19673
20296
|
fill: "none",
|
|
19674
20297
|
viewBox: "0 0 24 24",
|
|
19675
20298
|
children: [
|
|
@@ -19911,7 +20534,7 @@ function CreateInvoiceModal({
|
|
|
19911
20534
|
type: "button",
|
|
19912
20535
|
"data-slot": "invoice-modal-order",
|
|
19913
20536
|
onClick: () => toggleOrder(order.id),
|
|
19914
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20537
|
+
className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
|
|
19915
20538
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
19916
20539
|
/* @__PURE__ */ jsx(
|
|
19917
20540
|
"div",
|
|
@@ -20112,7 +20735,7 @@ function CreateInvoiceModal({
|
|
|
20112
20735
|
"svg",
|
|
20113
20736
|
{
|
|
20114
20737
|
"aria-hidden": "true",
|
|
20115
|
-
className: "
|
|
20738
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20116
20739
|
fill: "none",
|
|
20117
20740
|
viewBox: "0 0 24 24",
|
|
20118
20741
|
children: [
|
|
@@ -20282,7 +20905,7 @@ function CreateReferralModal({
|
|
|
20282
20905
|
"aria-pressed": isSelected,
|
|
20283
20906
|
"data-slot": "referral-modal-service",
|
|
20284
20907
|
onClick: () => toggleService(service.id),
|
|
20285
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20908
|
+
className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
|
|
20286
20909
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
20287
20910
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20288
20911
|
/* @__PURE__ */ jsx(
|
|
@@ -20393,7 +21016,7 @@ function CreateReferralModal({
|
|
|
20393
21016
|
selectedServices.size > 1 ? "s" : "",
|
|
20394
21017
|
" selected"
|
|
20395
21018
|
] }) }),
|
|
20396
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
21019
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
20397
21020
|
/* @__PURE__ */ jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
|
|
20398
21021
|
/* @__PURE__ */ jsxs(
|
|
20399
21022
|
"p",
|
|
@@ -20427,7 +21050,7 @@ function CreateReferralModal({
|
|
|
20427
21050
|
"svg",
|
|
20428
21051
|
{
|
|
20429
21052
|
"aria-hidden": "true",
|
|
20430
|
-
className: "
|
|
21053
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20431
21054
|
fill: "none",
|
|
20432
21055
|
viewBox: "0 0 24 24",
|
|
20433
21056
|
children: [
|
|
@@ -20570,7 +21193,7 @@ function EditUserRoleModal({
|
|
|
20570
21193
|
"svg",
|
|
20571
21194
|
{
|
|
20572
21195
|
"aria-hidden": "true",
|
|
20573
|
-
className: "
|
|
21196
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20574
21197
|
fill: "none",
|
|
20575
21198
|
viewBox: "0 0 24 24",
|
|
20576
21199
|
children: [
|
|
@@ -21137,7 +21760,7 @@ function EmployeeProfileCard({
|
|
|
21137
21760
|
{
|
|
21138
21761
|
type: "button",
|
|
21139
21762
|
onClick: () => fileInputRef.current?.click(),
|
|
21140
|
-
className: "bg-primary-800 hover:bg-primary-900 absolute
|
|
21763
|
+
className: "bg-primary-800 hover:bg-primary-900 absolute end-0 bottom-0 rounded-full p-1.5 text-white shadow-md transition-colors",
|
|
21141
21764
|
"aria-label": "Edit photo",
|
|
21142
21765
|
"data-slot": "employee-card-photo-edit",
|
|
21143
21766
|
children: /* @__PURE__ */ jsx(Edit2, { className: "h-3 w-3" })
|
|
@@ -21159,7 +21782,7 @@ function EmployeeProfileCard({
|
|
|
21159
21782
|
"flex h-5 w-5 items-center justify-center rounded-full text-white",
|
|
21160
21783
|
employee.isActive ? "bg-success" : "bg-destructive"
|
|
21161
21784
|
),
|
|
21162
|
-
children: employee.isActive ? /* @__PURE__ */ jsx(Check, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
|
|
21785
|
+
children: employee.isActive ? /* @__PURE__ */ jsx(Check$1, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
|
|
21163
21786
|
}
|
|
21164
21787
|
),
|
|
21165
21788
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold", children: fullName })
|
|
@@ -21273,7 +21896,7 @@ function EmployeeProfileCard({
|
|
|
21273
21896
|
"data-cy": "header-payment-status",
|
|
21274
21897
|
"data-slot": "employee-card-detail-row",
|
|
21275
21898
|
children: employee.isPaid ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21276
|
-
/* @__PURE__ */ jsx(Check, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
21899
|
+
/* @__PURE__ */ jsx(Check$1, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
21277
21900
|
/* @__PURE__ */ jsx("span", { className: "text-success-700 dark:text-success-400", children: paid })
|
|
21278
21901
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21279
21902
|
/* @__PURE__ */ jsx(Clock$1, { className: "text-muted-foreground h-4 w-4" }),
|
|
@@ -21455,7 +22078,7 @@ function EmployerContactCard({
|
|
|
21455
22078
|
"svg",
|
|
21456
22079
|
{
|
|
21457
22080
|
"aria-hidden": "true",
|
|
21458
|
-
className: "
|
|
22081
|
+
className: "me-1 h-4 w-4",
|
|
21459
22082
|
fill: "none",
|
|
21460
22083
|
stroke: "currentColor",
|
|
21461
22084
|
viewBox: "0 0 24 24",
|
|
@@ -21663,7 +22286,7 @@ function EmployerList({
|
|
|
21663
22286
|
"svg",
|
|
21664
22287
|
{
|
|
21665
22288
|
"aria-hidden": "true",
|
|
21666
|
-
className: "absolute top-1/2
|
|
22289
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
21667
22290
|
fill: "none",
|
|
21668
22291
|
stroke: "currentColor",
|
|
21669
22292
|
viewBox: "0 0 24 24",
|
|
@@ -21685,7 +22308,7 @@ function EmployerList({
|
|
|
21685
22308
|
placeholder: "Search employers...",
|
|
21686
22309
|
value: searchQuery,
|
|
21687
22310
|
onChange: handleSearch,
|
|
21688
|
-
className: "
|
|
22311
|
+
className: "ps-9"
|
|
21689
22312
|
}
|
|
21690
22313
|
)
|
|
21691
22314
|
] }),
|
|
@@ -21694,7 +22317,7 @@ function EmployerList({
|
|
|
21694
22317
|
"svg",
|
|
21695
22318
|
{
|
|
21696
22319
|
"aria-hidden": "true",
|
|
21697
|
-
className: "
|
|
22320
|
+
className: "me-1 h-4 w-4",
|
|
21698
22321
|
fill: "none",
|
|
21699
22322
|
stroke: "currentColor",
|
|
21700
22323
|
viewBox: "0 0 24 24",
|
|
@@ -21882,7 +22505,7 @@ function EmployerPricingCard({
|
|
|
21882
22505
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
21883
22506
|
!isActive && /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
21884
22507
|
] }),
|
|
21885
|
-
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-
|
|
22508
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
|
|
21886
22509
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
21887
22510
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
21888
22511
|
] })
|
|
@@ -21931,7 +22554,7 @@ function EmployerPricingCard({
|
|
|
21931
22554
|
"svg",
|
|
21932
22555
|
{
|
|
21933
22556
|
"aria-hidden": "true",
|
|
21934
|
-
className: "
|
|
22557
|
+
className: "me-1 h-3.5 w-3.5",
|
|
21935
22558
|
fill: "none",
|
|
21936
22559
|
stroke: "currentColor",
|
|
21937
22560
|
viewBox: "0 0 24 24",
|
|
@@ -21953,7 +22576,7 @@ function EmployerPricingCard({
|
|
|
21953
22576
|
"svg",
|
|
21954
22577
|
{
|
|
21955
22578
|
"aria-hidden": "true",
|
|
21956
|
-
className: "
|
|
22579
|
+
className: "me-1 h-3.5 w-3.5 text-red-500",
|
|
21957
22580
|
fill: "none",
|
|
21958
22581
|
stroke: "currentColor",
|
|
21959
22582
|
viewBox: "0 0 24 24",
|
|
@@ -22170,7 +22793,7 @@ function EmployerView({
|
|
|
22170
22793
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
22171
22794
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
22172
22795
|
] }),
|
|
22173
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22796
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22174
22797
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
22175
22798
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
22176
22799
|
] }),
|
|
@@ -22206,7 +22829,7 @@ function EmployerView({
|
|
|
22206
22829
|
formatDate4(invoice.dueDate)
|
|
22207
22830
|
] })
|
|
22208
22831
|
] }),
|
|
22209
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22832
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22210
22833
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
|
|
22211
22834
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
22212
22835
|
] }),
|
|
@@ -22381,7 +23004,7 @@ function EmployerServiceModal({
|
|
|
22381
23004
|
!config.useBasePrice && /* @__PURE__ */ jsxs(
|
|
22382
23005
|
"div",
|
|
22383
23006
|
{
|
|
22384
|
-
className: "border-border
|
|
23007
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22385
23008
|
"data-slot": "employer-service-indent",
|
|
22386
23009
|
children: [
|
|
22387
23010
|
/* @__PURE__ */ jsx(
|
|
@@ -22397,7 +23020,7 @@ function EmployerServiceModal({
|
|
|
22397
23020
|
/* @__PURE__ */ jsx(
|
|
22398
23021
|
"span",
|
|
22399
23022
|
{
|
|
22400
|
-
className: "text-muted-foreground absolute top-1/2
|
|
23023
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
22401
23024
|
"data-slot": "employer-service-price-prefix",
|
|
22402
23025
|
children: "$"
|
|
22403
23026
|
}
|
|
@@ -22410,7 +23033,7 @@ function EmployerServiceModal({
|
|
|
22410
23033
|
min: "0",
|
|
22411
23034
|
step: "0.01",
|
|
22412
23035
|
"data-slot": "employer-service-price-input",
|
|
22413
|
-
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2
|
|
23036
|
+
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
|
|
22414
23037
|
value: config.customPrice ?? "",
|
|
22415
23038
|
onChange: (e) => setConfig((prev) => ({
|
|
22416
23039
|
...prev,
|
|
@@ -22518,7 +23141,7 @@ function EmployerServiceModal({
|
|
|
22518
23141
|
config.notifyOnOrder && /* @__PURE__ */ jsx(
|
|
22519
23142
|
"div",
|
|
22520
23143
|
{
|
|
22521
|
-
className: "border-border
|
|
23144
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22522
23145
|
"data-slot": "employer-service-indent",
|
|
22523
23146
|
children: /* @__PURE__ */ jsx(
|
|
22524
23147
|
Input,
|
|
@@ -22576,7 +23199,7 @@ function EmployerServiceModal({
|
|
|
22576
23199
|
"svg",
|
|
22577
23200
|
{
|
|
22578
23201
|
"aria-hidden": "true",
|
|
22579
|
-
className: "
|
|
23202
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
22580
23203
|
"data-slot": "employer-service-spinner",
|
|
22581
23204
|
fill: "none",
|
|
22582
23205
|
viewBox: "0 0 24 24",
|
|
@@ -22775,7 +23398,7 @@ function ServerErrorPage({
|
|
|
22775
23398
|
showErrorDetails && errorMessage && /* @__PURE__ */ jsx(
|
|
22776
23399
|
"div",
|
|
22777
23400
|
{
|
|
22778
|
-
className: "mt-4 max-w-2xl text-
|
|
23401
|
+
className: "mt-4 max-w-2xl text-start",
|
|
22779
23402
|
"data-slot": "error-page-details",
|
|
22780
23403
|
children: /* @__PURE__ */ jsxs("details", { className: "rounded-lg bg-gray-100 p-4 dark:bg-gray-800", children: [
|
|
22781
23404
|
/* @__PURE__ */ jsx("summary", { className: "cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-300", children: "Error Details" }),
|
|
@@ -23300,7 +23923,7 @@ function FileManager({
|
|
|
23300
23923
|
TableCell,
|
|
23301
23924
|
{
|
|
23302
23925
|
"data-slot": "file-manager-actions",
|
|
23303
|
-
className: "text-
|
|
23926
|
+
className: "text-end",
|
|
23304
23927
|
children: /* @__PURE__ */ jsx(
|
|
23305
23928
|
FileRowActionMenu,
|
|
23306
23929
|
{
|
|
@@ -23455,7 +24078,7 @@ function FileRowActionMenu({
|
|
|
23455
24078
|
role: "menuitem",
|
|
23456
24079
|
type: "button",
|
|
23457
24080
|
className: cn(
|
|
23458
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
24081
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
23459
24082
|
"transition-colors duration-100",
|
|
23460
24083
|
action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
23461
24084
|
),
|
|
@@ -23586,7 +24209,7 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23586
24209
|
"aria-expanded": isOpen,
|
|
23587
24210
|
"aria-label": `${isOpen ? "Hide" : "Show"} orders for ${programLabel(item.key)}`,
|
|
23588
24211
|
className: "text-muted-foreground hover:text-foreground shrink-0",
|
|
23589
|
-
children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 14 })
|
|
24212
|
+
children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight$1, { size: 14, className: "rtl:-scale-x-100" })
|
|
23590
24213
|
}
|
|
23591
24214
|
) : /* @__PURE__ */ jsx("span", { className: "w-3.5 shrink-0" }),
|
|
23592
24215
|
/* @__PURE__ */ jsx(Badge, { variant: badge.variant, size: "sm", children: badge.label }),
|
|
@@ -23608,11 +24231,11 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23608
24231
|
return /* @__PURE__ */ jsxs(
|
|
23609
24232
|
"div",
|
|
23610
24233
|
{
|
|
23611
|
-
className: cn(level > 0 && "border-border border-
|
|
23612
|
-
style: level > 0 ? {
|
|
24234
|
+
className: cn(level > 0 && "border-border border-s-2"),
|
|
24235
|
+
style: level > 0 ? { marginInlineStart: (level - 1) * 16 + 2 } : void 0,
|
|
23613
24236
|
children: [
|
|
23614
|
-
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
23615
|
-
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "
|
|
24237
|
+
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
|
|
24238
|
+
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
|
|
23616
24239
|
const isPending = item.pendingKeys.includes(o);
|
|
23617
24240
|
return /* @__PURE__ */ jsx(
|
|
23618
24241
|
Checkbox,
|
|
@@ -23824,7 +24447,7 @@ function HelpSupportPanel({
|
|
|
23824
24447
|
"svg",
|
|
23825
24448
|
{
|
|
23826
24449
|
"aria-hidden": "true",
|
|
23827
|
-
className: "
|
|
24450
|
+
className: "me-2 h-4 w-4",
|
|
23828
24451
|
fill: "none",
|
|
23829
24452
|
stroke: "currentColor",
|
|
23830
24453
|
viewBox: "0 0 24 24",
|
|
@@ -23848,7 +24471,7 @@ function HelpSupportPanel({
|
|
|
23848
24471
|
"svg",
|
|
23849
24472
|
{
|
|
23850
24473
|
"aria-hidden": "true",
|
|
23851
|
-
className: "
|
|
24474
|
+
className: "me-2 h-4 w-4",
|
|
23852
24475
|
fill: "none",
|
|
23853
24476
|
stroke: "currentColor",
|
|
23854
24477
|
viewBox: "0 0 24 24",
|
|
@@ -23891,7 +24514,7 @@ function HelpSupportPanel({
|
|
|
23891
24514
|
/* @__PURE__ */ jsxs(
|
|
23892
24515
|
"button",
|
|
23893
24516
|
{
|
|
23894
|
-
className: "flex w-full items-center justify-between px-4 py-3 text-
|
|
24517
|
+
className: "flex w-full items-center justify-between px-4 py-3 text-start transition-colors hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
23895
24518
|
onClick: () => setExpandedFaq(
|
|
23896
24519
|
expandedFaq === faq.id ? null : faq.id
|
|
23897
24520
|
),
|
|
@@ -24298,7 +24921,7 @@ function HRISProviderSelector({
|
|
|
24298
24921
|
className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
|
|
24299
24922
|
"data-slot": "hris-connected-btn",
|
|
24300
24923
|
children: [
|
|
24301
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash
|
|
24924
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash me-2" }),
|
|
24302
24925
|
disconnect
|
|
24303
24926
|
]
|
|
24304
24927
|
}
|
|
@@ -24311,7 +24934,7 @@ function HRISProviderSelector({
|
|
|
24311
24934
|
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
24312
24935
|
"data-slot": "hris-connected-btn-primary",
|
|
24313
24936
|
children: [
|
|
24314
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate
|
|
24937
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate me-2" }),
|
|
24315
24938
|
refreshSync
|
|
24316
24939
|
]
|
|
24317
24940
|
}
|
|
@@ -24328,7 +24951,7 @@ function HRISProviderSelector({
|
|
|
24328
24951
|
/* @__PURE__ */ jsx(
|
|
24329
24952
|
"span",
|
|
24330
24953
|
{
|
|
24331
|
-
className: "text-muted-foreground absolute top-1/2
|
|
24954
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
24332
24955
|
"data-slot": "hris-search-icon",
|
|
24333
24956
|
children: /* @__PURE__ */ jsx("i", { className: "fas fa-search" })
|
|
24334
24957
|
}
|
|
@@ -24340,7 +24963,7 @@ function HRISProviderSelector({
|
|
|
24340
24963
|
placeholder: search,
|
|
24341
24964
|
value: searchQuery,
|
|
24342
24965
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
24343
|
-
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2
|
|
24966
|
+
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2 ps-10 pe-4 focus:ring-1 focus:outline-none",
|
|
24344
24967
|
"data-slot": "hris-search-input"
|
|
24345
24968
|
}
|
|
24346
24969
|
)
|
|
@@ -24549,10 +25172,10 @@ function InventoryManager({
|
|
|
24549
25172
|
/* @__PURE__ */ jsx("hr", { className: "border-border mb-4" }),
|
|
24550
25173
|
logEntries.length > 0 ? /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
24551
25174
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-border border-b", children: [
|
|
24552
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24553
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24554
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-
|
|
24555
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-
|
|
25175
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
25176
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "User" }),
|
|
25177
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Change" }),
|
|
25178
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-end text-xs font-medium tracking-wider uppercase", children: "Quantity" })
|
|
24556
25179
|
] }) }),
|
|
24557
25180
|
/* @__PURE__ */ jsx("tbody", { className: "divide-border/50 divide-y", children: logEntries.map((entry) => /* @__PURE__ */ jsxs(React13.Fragment, { children: [
|
|
24558
25181
|
/* @__PURE__ */ jsxs("tr", { children: [
|
|
@@ -24566,7 +25189,7 @@ function InventoryManager({
|
|
|
24566
25189
|
),
|
|
24567
25190
|
/* @__PURE__ */ jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.createdBy.name }),
|
|
24568
25191
|
/* @__PURE__ */ jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.type === "credit" ? "Added" : "Removed" }),
|
|
24569
|
-
/* @__PURE__ */ jsx("td", { className: "py-2 text-
|
|
25192
|
+
/* @__PURE__ */ jsx("td", { className: "py-2 text-end text-sm", children: /* @__PURE__ */ jsxs(
|
|
24570
25193
|
"span",
|
|
24571
25194
|
{
|
|
24572
25195
|
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-700 dark:text-green-400" : "text-red-700 dark:text-red-400"}`,
|
|
@@ -24613,7 +25236,7 @@ function InventoryManager({
|
|
|
24613
25236
|
}
|
|
24614
25237
|
) })
|
|
24615
25238
|
] }),
|
|
24616
|
-
entry.memo && /* @__PURE__ */ jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsx("td", { colSpan: 4, className: "px-2 py-1 text-
|
|
25239
|
+
entry.memo && /* @__PURE__ */ jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsx("td", { colSpan: 4, className: "px-2 py-1 text-end", children: /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-xs italic", children: [
|
|
24617
25240
|
"Memo: ",
|
|
24618
25241
|
entry.memo
|
|
24619
25242
|
] }) }) })
|
|
@@ -24661,13 +25284,13 @@ function InventoryManager({
|
|
|
24661
25284
|
{
|
|
24662
25285
|
type: "button",
|
|
24663
25286
|
onClick: () => setUpdateType("debit"),
|
|
24664
|
-
className: `rounded-
|
|
25287
|
+
className: `rounded-s-md border px-4 py-2 text-sm font-medium transition-colors ${updateType === "debit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
|
|
24665
25288
|
children: [
|
|
24666
25289
|
/* @__PURE__ */ jsx(
|
|
24667
25290
|
"svg",
|
|
24668
25291
|
{
|
|
24669
25292
|
"aria-hidden": "true",
|
|
24670
|
-
className: "
|
|
25293
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24671
25294
|
fill: "none",
|
|
24672
25295
|
viewBox: "0 0 24 24",
|
|
24673
25296
|
stroke: "currentColor",
|
|
@@ -24691,13 +25314,13 @@ function InventoryManager({
|
|
|
24691
25314
|
{
|
|
24692
25315
|
type: "button",
|
|
24693
25316
|
onClick: () => setUpdateType("credit"),
|
|
24694
|
-
className: `rounded-
|
|
25317
|
+
className: `rounded-e-md border-e border-t border-b px-4 py-2 text-sm font-medium transition-colors ${updateType === "credit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
|
|
24695
25318
|
children: [
|
|
24696
25319
|
/* @__PURE__ */ jsx(
|
|
24697
25320
|
"svg",
|
|
24698
25321
|
{
|
|
24699
25322
|
"aria-hidden": "true",
|
|
24700
|
-
className: "
|
|
25323
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24701
25324
|
fill: "none",
|
|
24702
25325
|
viewBox: "0 0 24 24",
|
|
24703
25326
|
stroke: "currentColor",
|
|
@@ -24990,7 +25613,7 @@ function InviteUserModal({
|
|
|
24990
25613
|
"svg",
|
|
24991
25614
|
{
|
|
24992
25615
|
"aria-hidden": "true",
|
|
24993
|
-
className: "
|
|
25616
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
24994
25617
|
"data-slot": "invite-user-spinner",
|
|
24995
25618
|
fill: "none",
|
|
24996
25619
|
viewBox: "0 0 24 24",
|
|
@@ -25117,7 +25740,7 @@ function InvoiceList({
|
|
|
25117
25740
|
"svg",
|
|
25118
25741
|
{
|
|
25119
25742
|
"aria-hidden": "true",
|
|
25120
|
-
className: "absolute top-1/2
|
|
25743
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
25121
25744
|
fill: "none",
|
|
25122
25745
|
stroke: "currentColor",
|
|
25123
25746
|
viewBox: "0 0 24 24",
|
|
@@ -25139,7 +25762,7 @@ function InvoiceList({
|
|
|
25139
25762
|
placeholder: "Search invoices...",
|
|
25140
25763
|
value: searchQuery,
|
|
25141
25764
|
onChange: handleSearch,
|
|
25142
|
-
className: "
|
|
25765
|
+
className: "ps-9"
|
|
25143
25766
|
}
|
|
25144
25767
|
)
|
|
25145
25768
|
] }),
|
|
@@ -25165,7 +25788,7 @@ function InvoiceList({
|
|
|
25165
25788
|
"svg",
|
|
25166
25789
|
{
|
|
25167
25790
|
"aria-hidden": "true",
|
|
25168
|
-
className: "
|
|
25791
|
+
className: "me-1 h-4 w-4",
|
|
25169
25792
|
fill: "none",
|
|
25170
25793
|
stroke: "currentColor",
|
|
25171
25794
|
viewBox: "0 0 24 24",
|
|
@@ -25257,11 +25880,11 @@ function InvoiceList({
|
|
|
25257
25880
|
className: "overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
25258
25881
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
25259
25882
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
25260
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
25261
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
25262
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
25263
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
25264
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
25883
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Invoice" }),
|
|
25884
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Employer" }),
|
|
25885
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase md:table-cell", children: "Issued" }),
|
|
25886
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase md:table-cell", children: "Due" }),
|
|
25887
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
25265
25888
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" })
|
|
25266
25889
|
] }) }),
|
|
25267
25890
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: filteredInvoices.map((invoice) => /* @__PURE__ */ jsxs(
|
|
@@ -25284,7 +25907,7 @@ function InvoiceList({
|
|
|
25284
25907
|
children: formatDate4(invoice.dueDate)
|
|
25285
25908
|
}
|
|
25286
25909
|
) }),
|
|
25287
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
25910
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: /* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }) }),
|
|
25288
25911
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status }) })
|
|
25289
25912
|
]
|
|
25290
25913
|
},
|
|
@@ -25515,12 +26138,12 @@ function InvoicePaymentPage({
|
|
|
25515
26138
|
className: "border-t border-gray-200 pt-4 dark:border-gray-700",
|
|
25516
26139
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-sm", children: [
|
|
25517
26140
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "text-muted-foreground", children: [
|
|
25518
|
-
/* @__PURE__ */ jsx("th", { className: "pb-2 text-
|
|
25519
|
-
/* @__PURE__ */ jsx("th", { className: "pb-2 text-
|
|
26141
|
+
/* @__PURE__ */ jsx("th", { className: "pb-2 text-start font-medium", children: "Item" }),
|
|
26142
|
+
/* @__PURE__ */ jsx("th", { className: "pb-2 text-end font-medium", children: "Amount" })
|
|
25520
26143
|
] }) }),
|
|
25521
26144
|
/* @__PURE__ */ jsx("tbody", { className: "text-gray-700 dark:text-gray-300", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { children: [
|
|
25522
26145
|
/* @__PURE__ */ jsx("td", { className: "py-1", children: item.description }),
|
|
25523
|
-
/* @__PURE__ */ jsx("td", { className: "py-1 text-
|
|
26146
|
+
/* @__PURE__ */ jsx("td", { className: "py-1 text-end", children: formatCurrency3(item.total) })
|
|
25524
26147
|
] }, item.id)) })
|
|
25525
26148
|
] })
|
|
25526
26149
|
}
|
|
@@ -25680,7 +26303,7 @@ function InvoicePaymentPage({
|
|
|
25680
26303
|
"svg",
|
|
25681
26304
|
{
|
|
25682
26305
|
"aria-hidden": "true",
|
|
25683
|
-
className: "
|
|
26306
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
25684
26307
|
fill: "none",
|
|
25685
26308
|
viewBox: "0 0 24 24",
|
|
25686
26309
|
children: [
|
|
@@ -25772,7 +26395,7 @@ function InvoiceView({
|
|
|
25772
26395
|
"svg",
|
|
25773
26396
|
{
|
|
25774
26397
|
"aria-hidden": "true",
|
|
25775
|
-
className: "
|
|
26398
|
+
className: "me-1 h-4 w-4",
|
|
25776
26399
|
fill: "none",
|
|
25777
26400
|
stroke: "currentColor",
|
|
25778
26401
|
viewBox: "0 0 24 24",
|
|
@@ -25813,7 +26436,7 @@ function InvoiceView({
|
|
|
25813
26436
|
"svg",
|
|
25814
26437
|
{
|
|
25815
26438
|
"aria-hidden": "true",
|
|
25816
|
-
className: "
|
|
26439
|
+
className: "me-1 h-4 w-4",
|
|
25817
26440
|
fill: "none",
|
|
25818
26441
|
stroke: "currentColor",
|
|
25819
26442
|
viewBox: "0 0 24 24",
|
|
@@ -25844,7 +26467,7 @@ function InvoiceView({
|
|
|
25844
26467
|
"svg",
|
|
25845
26468
|
{
|
|
25846
26469
|
"aria-hidden": "true",
|
|
25847
|
-
className: "
|
|
26470
|
+
className: "me-1 h-4 w-4",
|
|
25848
26471
|
fill: "none",
|
|
25849
26472
|
stroke: "currentColor",
|
|
25850
26473
|
viewBox: "0 0 24 24",
|
|
@@ -25885,7 +26508,7 @@ function InvoiceView({
|
|
|
25885
26508
|
"svg",
|
|
25886
26509
|
{
|
|
25887
26510
|
"aria-hidden": "true",
|
|
25888
|
-
className: "
|
|
26511
|
+
className: "me-1 h-4 w-4",
|
|
25889
26512
|
fill: "none",
|
|
25890
26513
|
stroke: "currentColor",
|
|
25891
26514
|
viewBox: "0 0 24 24",
|
|
@@ -25909,7 +26532,7 @@ function InvoiceView({
|
|
|
25909
26532
|
"svg",
|
|
25910
26533
|
{
|
|
25911
26534
|
"aria-hidden": "true",
|
|
25912
|
-
className: "
|
|
26535
|
+
className: "me-1 h-4 w-4",
|
|
25913
26536
|
fill: "none",
|
|
25914
26537
|
stroke: "currentColor",
|
|
25915
26538
|
viewBox: "0 0 24 24",
|
|
@@ -25959,7 +26582,7 @@ function InvoiceView({
|
|
|
25959
26582
|
"div",
|
|
25960
26583
|
{
|
|
25961
26584
|
"data-slot": "invoice-view-meta",
|
|
25962
|
-
className: "text-
|
|
26585
|
+
className: "text-start sm:text-end",
|
|
25963
26586
|
children: [
|
|
25964
26587
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "INVOICE" }),
|
|
25965
26588
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
@@ -25999,10 +26622,10 @@ function InvoiceView({
|
|
|
25999
26622
|
className: "mb-6 overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
26000
26623
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
26001
26624
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
26002
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
26625
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium uppercase", children: "Description" }),
|
|
26003
26626
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-center text-xs font-medium uppercase sm:table-cell", children: "Qty" }),
|
|
26004
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
26005
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
26627
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-end text-xs font-medium uppercase sm:table-cell", children: "Unit Price" }),
|
|
26628
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium uppercase", children: "Total" })
|
|
26006
26629
|
] }) }),
|
|
26007
26630
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { className: "bg-white dark:bg-gray-900", children: [
|
|
26008
26631
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
@@ -26013,8 +26636,8 @@ function InvoiceView({
|
|
|
26013
26636
|
] })
|
|
26014
26637
|
] }),
|
|
26015
26638
|
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 text-center text-gray-700 sm:table-cell dark:text-gray-300", children: item.quantity }),
|
|
26016
|
-
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 text-
|
|
26017
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
26639
|
+
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 text-end text-gray-700 sm:table-cell dark:text-gray-300", children: formatCurrency3(item.unitPrice) }),
|
|
26640
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end font-medium text-gray-900 dark:text-white", children: formatCurrency3(item.total) })
|
|
26018
26641
|
] }, item.id)) })
|
|
26019
26642
|
] })
|
|
26020
26643
|
}
|
|
@@ -26072,7 +26695,7 @@ var DEFAULT_LANGUAGES = [
|
|
|
26072
26695
|
{ code: "hi", name: "\u0939\u093F\u0928\u094D\u0926\u0940", englishName: "Hindi", flag: "\u{1F1EE}\u{1F1F3}" },
|
|
26073
26696
|
{ code: "ru", name: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", englishName: "Russian", flag: "\u{1F1F7}\u{1F1FA}" }
|
|
26074
26697
|
];
|
|
26075
|
-
var selectorVariants = cva("relative inline-block text-
|
|
26698
|
+
var selectorVariants = cva("relative inline-block text-start", {
|
|
26076
26699
|
variants: {
|
|
26077
26700
|
size: {
|
|
26078
26701
|
sm: "",
|
|
@@ -26249,7 +26872,7 @@ function LanguageSelectorNative({
|
|
|
26249
26872
|
disabled,
|
|
26250
26873
|
"aria-label": label,
|
|
26251
26874
|
className: cn(
|
|
26252
|
-
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
26875
|
+
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2 pe-8 text-sm",
|
|
26253
26876
|
"focus:border-primary-500 focus:ring-primary-500 text-gray-700 focus:ring-2 focus:outline-none",
|
|
26254
26877
|
"dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200",
|
|
26255
26878
|
disabled && "cursor-not-allowed opacity-50",
|
|
@@ -26264,7 +26887,7 @@ function LanguageSelectorNative({
|
|
|
26264
26887
|
]
|
|
26265
26888
|
}
|
|
26266
26889
|
),
|
|
26267
|
-
/* @__PURE__ */ jsx(ChevronDownIcon2, { className: "pointer-events-none absolute top-1/2
|
|
26890
|
+
/* @__PURE__ */ jsx(ChevronDownIcon2, { className: "pointer-events-none absolute end-2 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400" })
|
|
26268
26891
|
] });
|
|
26269
26892
|
}
|
|
26270
26893
|
function LanguageSelectorInline({
|
|
@@ -26294,13 +26917,13 @@ function LanguageSelectorInline({
|
|
|
26294
26917
|
"data-slot": "language-selector-inline-option",
|
|
26295
26918
|
className: cn(
|
|
26296
26919
|
"px-3 py-1.5 text-sm transition-colors",
|
|
26297
|
-
index === 0 && "rounded-
|
|
26298
|
-
index === languages.length - 1 && "rounded-
|
|
26299
|
-
index > 0 && "border-
|
|
26920
|
+
index === 0 && "rounded-s-lg",
|
|
26921
|
+
index === languages.length - 1 && "rounded-e-lg",
|
|
26922
|
+
index > 0 && "border-s border-gray-200 dark:border-gray-700",
|
|
26300
26923
|
language.code === value ? "bg-primary-800 text-white" : "bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"
|
|
26301
26924
|
),
|
|
26302
26925
|
children: [
|
|
26303
|
-
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "
|
|
26926
|
+
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "me-1", children: language.flag }),
|
|
26304
26927
|
language.code.toUpperCase()
|
|
26305
26928
|
]
|
|
26306
26929
|
},
|
|
@@ -26433,7 +27056,7 @@ function LoadingBar({
|
|
|
26433
27056
|
showPercentage && !isIndeterminate && /* @__PURE__ */ jsxs(
|
|
26434
27057
|
"p",
|
|
26435
27058
|
{
|
|
26436
|
-
className: "text-muted-foreground mt-1 text-
|
|
27059
|
+
className: "text-muted-foreground mt-1 text-end text-sm",
|
|
26437
27060
|
"data-slot": "loading-bar-percentage",
|
|
26438
27061
|
children: [
|
|
26439
27062
|
Math.round(progress),
|
|
@@ -27055,7 +27678,7 @@ function OnboardingWizard({
|
|
|
27055
27678
|
/* @__PURE__ */ jsxs(
|
|
27056
27679
|
"div",
|
|
27057
27680
|
{
|
|
27058
|
-
className: "
|
|
27681
|
+
className: "ms-3 hidden flex-col lg:flex",
|
|
27059
27682
|
"data-slot": "onboarding-header-brand",
|
|
27060
27683
|
children: [
|
|
27061
27684
|
/* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: brandName }),
|
|
@@ -27222,7 +27845,7 @@ function OnboardingStepQuestion({
|
|
|
27222
27845
|
onClick: () => onSelect?.(option.id),
|
|
27223
27846
|
className: "rounded-full",
|
|
27224
27847
|
children: [
|
|
27225
|
-
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "
|
|
27848
|
+
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "me-2") }),
|
|
27226
27849
|
option.label
|
|
27227
27850
|
]
|
|
27228
27851
|
},
|
|
@@ -27250,7 +27873,7 @@ function OnboardingCompletion({
|
|
|
27250
27873
|
className: "text-foreground mb-0 text-2xl",
|
|
27251
27874
|
"data-slot": "onboarding-completion-title",
|
|
27252
27875
|
children: [
|
|
27253
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle
|
|
27876
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
|
|
27254
27877
|
"Setup complete!"
|
|
27255
27878
|
]
|
|
27256
27879
|
}
|
|
@@ -27271,15 +27894,15 @@ function OnboardingCompletion({
|
|
|
27271
27894
|
"data-slot": "onboarding-completion-actions",
|
|
27272
27895
|
children: [
|
|
27273
27896
|
/* @__PURE__ */ jsxs(Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
27274
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart
|
|
27897
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
27275
27898
|
"Start your first order"
|
|
27276
27899
|
] }),
|
|
27277
27900
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
27278
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt
|
|
27901
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
27279
27902
|
"Go to Dashboard"
|
|
27280
27903
|
] }),
|
|
27281
27904
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
27282
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-users
|
|
27905
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-users me-2" }),
|
|
27283
27906
|
"Go to Employees"
|
|
27284
27907
|
] })
|
|
27285
27908
|
]
|
|
@@ -27430,7 +28053,7 @@ function OrderCard({
|
|
|
27430
28053
|
}
|
|
27431
28054
|
)
|
|
27432
28055
|
] }),
|
|
27433
|
-
totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-
|
|
28056
|
+
totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-end", children: /* @__PURE__ */ jsx("p", { className: "text-foreground font-semibold", children: formatCurrency(totalAmount, currency) }) })
|
|
27434
28057
|
] }),
|
|
27435
28058
|
/* @__PURE__ */ jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27436
28059
|
/* @__PURE__ */ jsx(
|
|
@@ -27511,7 +28134,7 @@ function OrderCard({
|
|
|
27511
28134
|
children: "View Details"
|
|
27512
28135
|
}
|
|
27513
28136
|
),
|
|
27514
|
-
showActions && /* @__PURE__ */ jsxs("div", { className: "
|
|
28137
|
+
showActions && /* @__PURE__ */ jsxs("div", { className: "ms-auto flex gap-2", children: [
|
|
27515
28138
|
onReject && /* @__PURE__ */ jsx(
|
|
27516
28139
|
"button",
|
|
27517
28140
|
{
|
|
@@ -28026,7 +28649,7 @@ function OrderConfirmationWizard({
|
|
|
28026
28649
|
"svg",
|
|
28027
28650
|
{
|
|
28028
28651
|
"aria-hidden": "true",
|
|
28029
|
-
className: "
|
|
28652
|
+
className: "me-1 h-4 w-4",
|
|
28030
28653
|
fill: "none",
|
|
28031
28654
|
stroke: "currentColor",
|
|
28032
28655
|
viewBox: "0 0 24 24",
|
|
@@ -28066,7 +28689,7 @@ function OrderConfirmationWizard({
|
|
|
28066
28689
|
"svg",
|
|
28067
28690
|
{
|
|
28068
28691
|
"aria-hidden": "true",
|
|
28069
|
-
className: "
|
|
28692
|
+
className: "ms-1 h-4 w-4",
|
|
28070
28693
|
fill: "none",
|
|
28071
28694
|
stroke: "currentColor",
|
|
28072
28695
|
viewBox: "0 0 24 24",
|
|
@@ -28093,7 +28716,7 @@ function OrderConfirmationWizard({
|
|
|
28093
28716
|
"svg",
|
|
28094
28717
|
{
|
|
28095
28718
|
"aria-hidden": "true",
|
|
28096
|
-
className: "
|
|
28719
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28097
28720
|
fill: "none",
|
|
28098
28721
|
viewBox: "0 0 24 24",
|
|
28099
28722
|
children: [
|
|
@@ -28126,7 +28749,7 @@ function OrderConfirmationWizard({
|
|
|
28126
28749
|
"svg",
|
|
28127
28750
|
{
|
|
28128
28751
|
"aria-hidden": "true",
|
|
28129
|
-
className: "
|
|
28752
|
+
className: "ms-1 h-4 w-4",
|
|
28130
28753
|
fill: "none",
|
|
28131
28754
|
stroke: "currentColor",
|
|
28132
28755
|
viewBox: "0 0 24 24",
|
|
@@ -28226,7 +28849,7 @@ function OrderList({
|
|
|
28226
28849
|
{
|
|
28227
28850
|
"data-slot": "order-list-tab-count",
|
|
28228
28851
|
className: cn(
|
|
28229
|
-
"
|
|
28852
|
+
"ms-2 rounded-full px-2 py-0.5 text-xs",
|
|
28230
28853
|
activeTab === tab.id ? "bg-blue-200 text-blue-800 dark:bg-blue-800 dark:text-blue-200" : "text-muted-foreground bg-gray-200 dark:bg-gray-700"
|
|
28231
28854
|
),
|
|
28232
28855
|
children: count
|
|
@@ -28250,7 +28873,7 @@ function OrderList({
|
|
|
28250
28873
|
"svg",
|
|
28251
28874
|
{
|
|
28252
28875
|
"aria-hidden": "true",
|
|
28253
|
-
className: "absolute top-1/2
|
|
28876
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
28254
28877
|
fill: "none",
|
|
28255
28878
|
viewBox: "0 0 24 24",
|
|
28256
28879
|
stroke: "currentColor",
|
|
@@ -28272,7 +28895,7 @@ function OrderList({
|
|
|
28272
28895
|
placeholder: searchPlaceholder,
|
|
28273
28896
|
value: searchValue,
|
|
28274
28897
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
28275
|
-
className: "rounded-lg border border-gray-300 bg-white py-2
|
|
28898
|
+
className: "rounded-lg border border-gray-300 bg-white py-2 ps-9 pe-4 text-sm text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
|
|
28276
28899
|
}
|
|
28277
28900
|
)
|
|
28278
28901
|
] }),
|
|
@@ -28804,7 +29427,7 @@ function OrderLookupForm({
|
|
|
28804
29427
|
"svg",
|
|
28805
29428
|
{
|
|
28806
29429
|
"aria-hidden": "true",
|
|
28807
|
-
className: "
|
|
29430
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28808
29431
|
fill: "none",
|
|
28809
29432
|
viewBox: "0 0 24 24",
|
|
28810
29433
|
children: [
|
|
@@ -28914,7 +29537,7 @@ function OrderSidebar({
|
|
|
28914
29537
|
"div",
|
|
28915
29538
|
{
|
|
28916
29539
|
"data-slot": "order-sidebar",
|
|
28917
|
-
className: `fixed
|
|
29540
|
+
className: `fixed end-0 top-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
|
|
28918
29541
|
role: "dialog",
|
|
28919
29542
|
"aria-modal": "true",
|
|
28920
29543
|
"aria-label": "Order details",
|
|
@@ -29033,7 +29656,7 @@ function OrderSidebar({
|
|
|
29033
29656
|
"div",
|
|
29034
29657
|
{
|
|
29035
29658
|
"data-slot": "order-sidebar-footer",
|
|
29036
|
-
className: "absolute
|
|
29659
|
+
className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-900",
|
|
29037
29660
|
children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsx(
|
|
29038
29661
|
Button,
|
|
29039
29662
|
{
|
|
@@ -29348,7 +29971,7 @@ function PatientOverflowMenu({
|
|
|
29348
29971
|
}
|
|
29349
29972
|
)
|
|
29350
29973
|
] }),
|
|
29351
|
-
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-
|
|
29974
|
+
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
|
|
29352
29975
|
/* @__PURE__ */ jsxs("div", { className: "md:min-w-[26rem]", children: [
|
|
29353
29976
|
/* @__PURE__ */ jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px] font-semibold tracking-wide uppercase", children: "Add" }) }),
|
|
29354
29977
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
|
|
@@ -29549,8 +30172,8 @@ var PatientHeader = React13.forwardRef(
|
|
|
29549
30172
|
onClick: onBack,
|
|
29550
30173
|
disabled: !onBack,
|
|
29551
30174
|
"aria-label": "Go back",
|
|
29552
|
-
className: "mt-1
|
|
29553
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
|
|
30175
|
+
className: "-ms-2 mt-1 h-8 w-8 shrink-0",
|
|
30176
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
|
|
29554
30177
|
}
|
|
29555
30178
|
),
|
|
29556
30179
|
/* @__PURE__ */ jsx(
|
|
@@ -29645,7 +30268,7 @@ var PatientHeader = React13.forwardRef(
|
|
|
29645
30268
|
)
|
|
29646
30269
|
] })
|
|
29647
30270
|
] }),
|
|
29648
|
-
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-
|
|
30271
|
+
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-start text-xs font-medium tracking-wide text-amber-800 dark:border-amber-800/40 dark:bg-amber-950/40 dark:text-amber-300", children: patient.flags.map(
|
|
29649
30272
|
(flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
|
|
29650
30273
|
).join(" \xB7 ") }),
|
|
29651
30274
|
/* @__PURE__ */ jsxs(
|
|
@@ -30269,13 +30892,13 @@ function PaymentHistoryTable({
|
|
|
30269
30892
|
className: `overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700 ${className}`,
|
|
30270
30893
|
children: /* @__PURE__ */ jsxs("table", { "data-slot": "payment-history-table", className: "w-full", children: [
|
|
30271
30894
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
30272
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30273
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
30274
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
30275
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-
|
|
30276
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30895
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
30896
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Invoice" }),
|
|
30897
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase md:table-cell", children: "Employer" }),
|
|
30898
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase lg:table-cell", children: "Method" }),
|
|
30899
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
30277
30900
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
30278
|
-
onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30901
|
+
onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Action" })
|
|
30279
30902
|
] }) }),
|
|
30280
30903
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: payments.map((payment) => /* @__PURE__ */ jsxs(
|
|
30281
30904
|
"tr",
|
|
@@ -30307,7 +30930,7 @@ function PaymentHistoryTable({
|
|
|
30307
30930
|
payment.cardLast4 && ` \u2022\u2022\u2022\u2022 ${payment.cardLast4}`
|
|
30308
30931
|
] })
|
|
30309
30932
|
] }) }),
|
|
30310
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
30933
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: /* @__PURE__ */ jsx(
|
|
30311
30934
|
"p",
|
|
30312
30935
|
{
|
|
30313
30936
|
className: `font-medium ${payment.status === "refunded" ? "text-muted-foreground line-through" : "text-gray-900 dark:text-white"}`,
|
|
@@ -30315,7 +30938,7 @@ function PaymentHistoryTable({
|
|
|
30315
30938
|
}
|
|
30316
30939
|
) }),
|
|
30317
30940
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(payment.status), children: payment.status }) }),
|
|
30318
|
-
onRefund && /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
30941
|
+
onRefund && /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: payment.status === "completed" && /* @__PURE__ */ jsx(
|
|
30319
30942
|
Button,
|
|
30320
30943
|
{
|
|
30321
30944
|
variant: "ghost",
|
|
@@ -30835,11 +31458,11 @@ function PendingClaimsTable({
|
|
|
30835
31458
|
children: [
|
|
30836
31459
|
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
|
|
30837
31460
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
30838
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30839
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
30840
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
31461
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
|
|
31462
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Role" }),
|
|
31463
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
|
|
30841
31464
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
30842
|
-
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-
|
|
31465
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Actions" })
|
|
30843
31466
|
] }) }),
|
|
30844
31467
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxs(
|
|
30845
31468
|
"tr",
|
|
@@ -30857,7 +31480,7 @@ function PendingClaimsTable({
|
|
|
30857
31480
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: claim.claimantRole || "Not specified" }) }),
|
|
30858
31481
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
|
|
30859
31482
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(claim.status), children: claim.status }) }),
|
|
30860
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-
|
|
31483
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-end", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
30861
31484
|
onViewDetails && /* @__PURE__ */ jsx(
|
|
30862
31485
|
Button,
|
|
30863
31486
|
{
|
|
@@ -30983,7 +31606,7 @@ function PermissionItem({
|
|
|
30983
31606
|
});
|
|
30984
31607
|
}
|
|
30985
31608
|
};
|
|
30986
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "
|
|
31609
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "ms-4"), "data-slot": "perm-item", children: [
|
|
30987
31610
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", "data-slot": "perm-item-row", children: [
|
|
30988
31611
|
hasChildren && /* @__PURE__ */ jsx(
|
|
30989
31612
|
"button",
|
|
@@ -30994,7 +31617,7 @@ function PermissionItem({
|
|
|
30994
31617
|
"aria-expanded": isExpanded,
|
|
30995
31618
|
"aria-label": isExpanded ? `Collapse ${permission.name}` : `Expand ${permission.name}`,
|
|
30996
31619
|
"data-slot": "perm-item-toggle",
|
|
30997
|
-
children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight
|
|
31620
|
+
children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight, { className: "text-muted-foreground h-4 w-4 rtl:-scale-x-100" })
|
|
30998
31621
|
}
|
|
30999
31622
|
),
|
|
31000
31623
|
!hasChildren && /* @__PURE__ */ jsx("span", { className: "w-5" }),
|
|
@@ -31129,16 +31752,16 @@ function PermissionsEditor({
|
|
|
31129
31752
|
]
|
|
31130
31753
|
}
|
|
31131
31754
|
),
|
|
31132
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-4
|
|
31755
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-4 ps-2", "data-slot": "perm-groups", children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxs("div", { children: [
|
|
31133
31756
|
/* @__PURE__ */ jsxs(
|
|
31134
31757
|
"button",
|
|
31135
31758
|
{
|
|
31136
31759
|
type: "button",
|
|
31137
31760
|
onClick: () => toggleGroup(group.id),
|
|
31138
|
-
className: "hover:bg-muted/50 -
|
|
31761
|
+
className: "hover:bg-muted/50 -ms-2 flex w-full items-center gap-2 rounded py-2 ps-2 text-start",
|
|
31139
31762
|
"data-slot": "perm-group-header",
|
|
31140
31763
|
children: [
|
|
31141
|
-
expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight
|
|
31764
|
+
expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight, { className: "text-muted-foreground h-4 w-4 rtl:-scale-x-100" }),
|
|
31142
31765
|
/* @__PURE__ */ jsx("span", { className: "font-semibold", "data-slot": "perm-group-name", children: group.name })
|
|
31143
31766
|
]
|
|
31144
31767
|
}
|
|
@@ -31146,7 +31769,7 @@ function PermissionsEditor({
|
|
|
31146
31769
|
expandedGroups.has(group.id) && /* @__PURE__ */ jsx(
|
|
31147
31770
|
"div",
|
|
31148
31771
|
{
|
|
31149
|
-
className: "mt-2
|
|
31772
|
+
className: "ms-6 mt-2 border-s ps-4",
|
|
31150
31773
|
"data-slot": "perm-group-list",
|
|
31151
31774
|
children: group.permissions.map((permission) => /* @__PURE__ */ jsx(
|
|
31152
31775
|
PermissionItem,
|
|
@@ -31198,7 +31821,7 @@ function PermissionsEditor({
|
|
|
31198
31821
|
/* @__PURE__ */ jsx(
|
|
31199
31822
|
"div",
|
|
31200
31823
|
{
|
|
31201
|
-
className: "max-h-60 space-y-2 overflow-y-auto
|
|
31824
|
+
className: "max-h-60 space-y-2 overflow-y-auto ps-2",
|
|
31202
31825
|
"data-slot": "perm-employer-list",
|
|
31203
31826
|
children: employers.map((employer) => /* @__PURE__ */ jsxs(
|
|
31204
31827
|
"div",
|
|
@@ -31225,7 +31848,7 @@ function PermissionsEditor({
|
|
|
31225
31848
|
employer.address && /* @__PURE__ */ jsxs(
|
|
31226
31849
|
"span",
|
|
31227
31850
|
{
|
|
31228
|
-
className: "text-muted-foreground
|
|
31851
|
+
className: "text-muted-foreground ms-2",
|
|
31229
31852
|
"data-slot": "perm-employer-addr",
|
|
31230
31853
|
children: [
|
|
31231
31854
|
"| ",
|
|
@@ -31335,7 +31958,7 @@ function RelevanceControl({
|
|
|
31335
31958
|
onClick: () => onChange(active ? null : relevance),
|
|
31336
31959
|
className: cn(
|
|
31337
31960
|
"px-2 py-1 text-xs font-medium transition-colors",
|
|
31338
|
-
"border-border border-
|
|
31961
|
+
"border-border border-s first:border-s-0",
|
|
31339
31962
|
active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
31340
31963
|
),
|
|
31341
31964
|
children: RELEVANCE_LABELS[relevance]
|
|
@@ -31429,6 +32052,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31429
32052
|
/* @__PURE__ */ jsxs(
|
|
31430
32053
|
"li",
|
|
31431
32054
|
{
|
|
32055
|
+
"data-slot": "clinical-list-row",
|
|
31432
32056
|
"data-concern-id": concern.concernId,
|
|
31433
32057
|
tabIndex: draggable ? 0 : void 0,
|
|
31434
32058
|
onKeyDown: draggable ? handleRowKeyDown : void 0,
|
|
@@ -31462,7 +32086,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31462
32086
|
children: "out of scope"
|
|
31463
32087
|
}
|
|
31464
32088
|
),
|
|
31465
|
-
!readOnly && /* @__PURE__ */ jsx("span", { className: "
|
|
32089
|
+
!readOnly && /* @__PURE__ */ jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsx(
|
|
31466
32090
|
RelevanceControl,
|
|
31467
32091
|
{
|
|
31468
32092
|
value: relevance,
|
|
@@ -31509,11 +32133,25 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31509
32133
|
}
|
|
31510
32134
|
),
|
|
31511
32135
|
/* @__PURE__ */ jsxs("section", { "aria-label": "Relevant this visit", children: [
|
|
31512
|
-
/* @__PURE__ */ jsx(
|
|
32136
|
+
/* @__PURE__ */ jsx(
|
|
32137
|
+
"h4",
|
|
32138
|
+
{
|
|
32139
|
+
"data-slot": "clinical-list-heading",
|
|
32140
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
32141
|
+
children: "Relevant this visit"
|
|
32142
|
+
}
|
|
32143
|
+
),
|
|
31513
32144
|
selected.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: selected.map((c) => renderRow(c, false)) }) : /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-2 text-sm", children: "No problems selected yet." })
|
|
31514
32145
|
] }),
|
|
31515
32146
|
unselected.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Patient problem list", children: [
|
|
31516
|
-
/* @__PURE__ */ jsx(
|
|
32147
|
+
/* @__PURE__ */ jsx(
|
|
32148
|
+
"h4",
|
|
32149
|
+
{
|
|
32150
|
+
"data-slot": "clinical-list-heading",
|
|
32151
|
+
className: "border-border text-muted-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
32152
|
+
children: "From patient problem list"
|
|
32153
|
+
}
|
|
32154
|
+
),
|
|
31517
32155
|
/* @__PURE__ */ jsx("ul", { className: "mt-1", children: unselected.map((c) => renderRow(c, true)) })
|
|
31518
32156
|
] }),
|
|
31519
32157
|
!readOnly && onAddProblem && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
@@ -31521,6 +32159,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31521
32159
|
"input",
|
|
31522
32160
|
{
|
|
31523
32161
|
type: "text",
|
|
32162
|
+
"data-slot": "input",
|
|
31524
32163
|
value: draft,
|
|
31525
32164
|
onChange: (e) => setDraft(e.target.value),
|
|
31526
32165
|
onKeyDown: (e) => {
|
|
@@ -31624,7 +32263,7 @@ function ProductVersion({
|
|
|
31624
32263
|
name,
|
|
31625
32264
|
" ",
|
|
31626
32265
|
versionDisplay,
|
|
31627
|
-
build && /* @__PURE__ */ jsxs("span", { className: "
|
|
32266
|
+
build && /* @__PURE__ */ jsxs("span", { className: "ms-1", children: [
|
|
31628
32267
|
"(",
|
|
31629
32268
|
build,
|
|
31630
32269
|
")"
|
|
@@ -32381,7 +33020,7 @@ function Breadcrumb2({ items, className }) {
|
|
|
32381
33020
|
"data-slot": "provider-detail-breadcrumb",
|
|
32382
33021
|
className: cn("py-2", className),
|
|
32383
33022
|
children: /* @__PURE__ */ jsx("ol", { className: "flex flex-wrap items-center gap-1 text-sm", children: items.map((item, index) => /* @__PURE__ */ jsxs("li", { className: "flex items-center", children: [
|
|
32384
|
-
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4" }),
|
|
33023
|
+
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4 rtl:-scale-x-100" }),
|
|
32385
33024
|
index === items.length - 1 ? /* @__PURE__ */ jsx("span", { className: "max-w-[200px] truncate font-medium text-gray-900 dark:text-white", children: item.label }) : /* @__PURE__ */ jsx(
|
|
32386
33025
|
"a",
|
|
32387
33026
|
{
|
|
@@ -32410,7 +33049,7 @@ function MobileBackButton({
|
|
|
32410
33049
|
href,
|
|
32411
33050
|
className: "bg-primary-800 hover:bg-primary-900 inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
32412
33051
|
children: [
|
|
32413
|
-
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
33052
|
+
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4 rtl:-scale-x-100" }),
|
|
32414
33053
|
label
|
|
32415
33054
|
]
|
|
32416
33055
|
}
|
|
@@ -33905,7 +34544,7 @@ var ProviderSearchBar = React13.forwardRef(
|
|
|
33905
34544
|
className: cn(
|
|
33906
34545
|
"border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
33907
34546
|
"w-full",
|
|
33908
|
-
onGeolocate ? "
|
|
34547
|
+
onGeolocate ? "ps-0" : "ps-3"
|
|
33909
34548
|
)
|
|
33910
34549
|
}
|
|
33911
34550
|
) }),
|
|
@@ -34008,7 +34647,7 @@ var inputVariants3 = cva(
|
|
|
34008
34647
|
{
|
|
34009
34648
|
variants: {
|
|
34010
34649
|
hasIcon: {
|
|
34011
|
-
true: "
|
|
34650
|
+
true: "ps-10",
|
|
34012
34651
|
false: ""
|
|
34013
34652
|
}
|
|
34014
34653
|
},
|
|
@@ -34022,10 +34661,9 @@ var selectVariants = cva([
|
|
|
34022
34661
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
34023
34662
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
34024
34663
|
"dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
|
|
34025
|
-
"appearance-none bg-no-repeat bg-right
|
|
34664
|
+
"appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
|
|
34026
34665
|
'bg-[url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e")]',
|
|
34027
|
-
"bg-[length:1.5em_1.5em]"
|
|
34028
|
-
"bg-[right_0.5rem_center]"
|
|
34666
|
+
"bg-[length:1.5em_1.5em]"
|
|
34029
34667
|
]);
|
|
34030
34668
|
var labelVariants2 = cva([
|
|
34031
34669
|
"text-sm font-medium text-neutral-700 dark:text-neutral-300",
|
|
@@ -34103,7 +34741,7 @@ function InputField({ label, icon, className, id, ...props }) {
|
|
|
34103
34741
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34104
34742
|
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
|
|
34105
34743
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34106
|
-
icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
34744
|
+
icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3 text-neutral-400", children: icon }),
|
|
34107
34745
|
/* @__PURE__ */ jsx(
|
|
34108
34746
|
"input",
|
|
34109
34747
|
{
|
|
@@ -34254,7 +34892,7 @@ function ServiceMultiSelect({
|
|
|
34254
34892
|
"aria-labelledby": label ? void 0 : "services-label",
|
|
34255
34893
|
className: cn(
|
|
34256
34894
|
selectVariants(),
|
|
34257
|
-
"w-full text-
|
|
34895
|
+
"w-full text-start",
|
|
34258
34896
|
!selectedServices.length && "text-muted-foreground",
|
|
34259
34897
|
disabled && "cursor-not-allowed opacity-50"
|
|
34260
34898
|
),
|
|
@@ -34285,11 +34923,11 @@ function ServiceMultiSelect({
|
|
|
34285
34923
|
value: searchTerm,
|
|
34286
34924
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
34287
34925
|
placeholder: "Search services...",
|
|
34288
|
-
className: cn(inputVariants3({ hasIcon: true }), "
|
|
34926
|
+
className: cn(inputVariants3({ hasIcon: true }), "ps-8"),
|
|
34289
34927
|
autoFocus: true
|
|
34290
34928
|
}
|
|
34291
34929
|
),
|
|
34292
|
-
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34930
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
|
|
34293
34931
|
] }),
|
|
34294
34932
|
Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
|
|
34295
34933
|
([category, categoryServices]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -34306,7 +34944,7 @@ function ServiceMultiSelect({
|
|
|
34306
34944
|
"aria-selected": isSelected,
|
|
34307
34945
|
onClick: () => handleToggleService(service.value),
|
|
34308
34946
|
className: cn(
|
|
34309
|
-
"flex w-full items-center justify-between px-3 py-2 text-
|
|
34947
|
+
"flex w-full items-center justify-between px-3 py-2 text-start text-sm",
|
|
34310
34948
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
34311
34949
|
isSelected && "bg-primary-50 dark:bg-primary-900/20"
|
|
34312
34950
|
),
|
|
@@ -34490,7 +35128,7 @@ function CompactFilterBar({
|
|
|
34490
35128
|
"data-slot": "provider-compact-filter",
|
|
34491
35129
|
children: [
|
|
34492
35130
|
/* @__PURE__ */ jsx("div", { className: "min-w-[150px] flex-1", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34493
|
-
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2
|
|
35131
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
|
|
34494
35132
|
/* @__PURE__ */ jsx(
|
|
34495
35133
|
"input",
|
|
34496
35134
|
{
|
|
@@ -34500,7 +35138,7 @@ function CompactFilterBar({
|
|
|
34500
35138
|
onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
|
|
34501
35139
|
disabled: loading,
|
|
34502
35140
|
className: cn(
|
|
34503
|
-
"h-9 w-full rounded-md border border-neutral-200
|
|
35141
|
+
"h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
|
|
34504
35142
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34505
35143
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34506
35144
|
)
|
|
@@ -34523,7 +35161,7 @@ function CompactFilterBar({
|
|
|
34523
35161
|
},
|
|
34524
35162
|
disabled: loading,
|
|
34525
35163
|
className: cn(
|
|
34526
|
-
"h-9 w-20 rounded-
|
|
35164
|
+
"h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
|
|
34527
35165
|
"focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
|
|
34528
35166
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34529
35167
|
)
|
|
@@ -34537,7 +35175,7 @@ function CompactFilterBar({
|
|
|
34537
35175
|
disabled: loading,
|
|
34538
35176
|
"aria-label": "Search radius",
|
|
34539
35177
|
className: cn(
|
|
34540
|
-
"h-9 rounded-
|
|
35178
|
+
"h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
|
|
34541
35179
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34542
35180
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34543
35181
|
),
|
|
@@ -34683,7 +35321,7 @@ function ActiveFilters({
|
|
|
34683
35321
|
{
|
|
34684
35322
|
type: "button",
|
|
34685
35323
|
onClick: filter.onClear,
|
|
34686
|
-
className: "
|
|
35324
|
+
className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
|
|
34687
35325
|
"aria-label": `Remove filter: ${filter.label}`,
|
|
34688
35326
|
children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-3 w-3" })
|
|
34689
35327
|
}
|
|
@@ -34786,7 +35424,7 @@ function ProviderSelector({
|
|
|
34786
35424
|
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
34787
35425
|
disabled,
|
|
34788
35426
|
className: cn(
|
|
34789
|
-
"flex w-full items-center gap-3 rounded-lg border px-3 text-
|
|
35427
|
+
"flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
|
|
34790
35428
|
"bg-background text-foreground",
|
|
34791
35429
|
"border-input",
|
|
34792
35430
|
"hover:border-muted-foreground/50",
|
|
@@ -34903,7 +35541,7 @@ function ProviderSelector({
|
|
|
34903
35541
|
"svg",
|
|
34904
35542
|
{
|
|
34905
35543
|
"aria-hidden": "true",
|
|
34906
|
-
className: "text-muted-foreground absolute top-1/2
|
|
35544
|
+
className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
|
|
34907
35545
|
fill: "none",
|
|
34908
35546
|
viewBox: "0 0 24 24",
|
|
34909
35547
|
stroke: "currentColor",
|
|
@@ -34926,7 +35564,7 @@ function ProviderSelector({
|
|
|
34926
35564
|
placeholder: searchPlaceholder,
|
|
34927
35565
|
value: searchQuery,
|
|
34928
35566
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
34929
|
-
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2
|
|
35567
|
+
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2 ps-9 pe-4 text-sm focus:ring-1 focus:outline-none",
|
|
34930
35568
|
autoFocus: true
|
|
34931
35569
|
}
|
|
34932
35570
|
)
|
|
@@ -34938,7 +35576,7 @@ function ProviderSelector({
|
|
|
34938
35576
|
"data-slot": "provider-selector-option",
|
|
34939
35577
|
onClick: () => handleSelect(provider),
|
|
34940
35578
|
className: cn(
|
|
34941
|
-
"flex w-full items-center gap-3 px-4 py-3 text-
|
|
35579
|
+
"flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
|
|
34942
35580
|
"hover:bg-muted",
|
|
34943
35581
|
selectedProvider?.id === provider.id && "bg-primary/10"
|
|
34944
35582
|
),
|
|
@@ -35862,7 +36500,7 @@ function ProviderUsersTable({
|
|
|
35862
36500
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
35863
36501
|
/* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35864
36502
|
user.name,
|
|
35865
|
-
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
36503
|
+
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
|
|
35866
36504
|
] }),
|
|
35867
36505
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
35868
36506
|
] })
|
|
@@ -35870,7 +36508,7 @@ function ProviderUsersTable({
|
|
|
35870
36508
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
35871
36509
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
35872
36510
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
|
|
35873
|
-
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-
|
|
36511
|
+
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-end", children: /* @__PURE__ */ jsx(
|
|
35874
36512
|
RowActionsMenu,
|
|
35875
36513
|
{
|
|
35876
36514
|
user,
|
|
@@ -35926,11 +36564,11 @@ function QuickLinksCard({
|
|
|
35926
36564
|
"span",
|
|
35927
36565
|
{
|
|
35928
36566
|
"data-slot": "quick-links-icon",
|
|
35929
|
-
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "
|
|
36567
|
+
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "me-3"} `,
|
|
35930
36568
|
children: link.icon
|
|
35931
36569
|
}
|
|
35932
36570
|
),
|
|
35933
|
-
/* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-
|
|
36571
|
+
/* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-start", children: [
|
|
35934
36572
|
/* @__PURE__ */ jsx("span", { className: "text-foreground block text-sm font-medium", children: link.label }),
|
|
35935
36573
|
link.description && layout !== "grid" && /* @__PURE__ */ jsx(
|
|
35936
36574
|
"span",
|
|
@@ -35945,7 +36583,7 @@ function QuickLinksCard({
|
|
|
35945
36583
|
"span",
|
|
35946
36584
|
{
|
|
35947
36585
|
"data-slot": "quick-links-badge",
|
|
35948
|
-
className: "bg-primary/10
|
|
36586
|
+
className: "bg-primary/10 ms-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-900)] dark:text-[var(--mieweb-primary-400)]",
|
|
35949
36587
|
children: link.badge
|
|
35950
36588
|
}
|
|
35951
36589
|
),
|
|
@@ -36184,11 +36822,11 @@ function RecurringServiceCard({
|
|
|
36184
36822
|
)
|
|
36185
36823
|
] }),
|
|
36186
36824
|
effectiveState === "warning" && /* @__PURE__ */ jsxs("div", { className: "bg-warning/10 text-warning-800 dark:text-warning-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36187
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle
|
|
36825
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
|
|
36188
36826
|
consentNote
|
|
36189
36827
|
] }),
|
|
36190
36828
|
effectiveState === "error" && /* @__PURE__ */ jsxs("div", { className: "bg-destructive/10 text-destructive-800 dark:text-destructive-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36191
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-times-circle
|
|
36829
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-times-circle me-1" }),
|
|
36192
36830
|
consentNote
|
|
36193
36831
|
] }),
|
|
36194
36832
|
!isDisabled && /* @__PURE__ */ jsxs(
|
|
@@ -36415,7 +37053,7 @@ function RecurringServiceSetupModal({
|
|
|
36415
37053
|
),
|
|
36416
37054
|
/* @__PURE__ */ jsx("span", { className: "text-sm", children: overrideConsent })
|
|
36417
37055
|
] }),
|
|
36418
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground
|
|
37056
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
|
|
36419
37057
|
] }),
|
|
36420
37058
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36421
37059
|
/* @__PURE__ */ jsx(
|
|
@@ -36592,7 +37230,7 @@ function RejectionModal({
|
|
|
36592
37230
|
showDetails && /* @__PURE__ */ jsxs("div", { "data-slot": "rejection-modal-details", children: [
|
|
36593
37231
|
/* @__PURE__ */ jsxs("label", { className: "text-foreground mb-1 block text-sm font-medium", children: [
|
|
36594
37232
|
detailsLabel,
|
|
36595
|
-
needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive
|
|
37233
|
+
needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", children: "*" })
|
|
36596
37234
|
] }),
|
|
36597
37235
|
/* @__PURE__ */ jsx(
|
|
36598
37236
|
"textarea",
|
|
@@ -36630,7 +37268,7 @@ function RejectionModal({
|
|
|
36630
37268
|
"svg",
|
|
36631
37269
|
{
|
|
36632
37270
|
"aria-hidden": "true",
|
|
36633
|
-
className: "
|
|
37271
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
36634
37272
|
fill: "none",
|
|
36635
37273
|
viewBox: "0 0 24 24",
|
|
36636
37274
|
children: [
|
|
@@ -36802,7 +37440,7 @@ function ReportDashboard({
|
|
|
36802
37440
|
"svg",
|
|
36803
37441
|
{
|
|
36804
37442
|
"aria-hidden": "true",
|
|
36805
|
-
className: "
|
|
37443
|
+
className: "me-2 h-4 w-4",
|
|
36806
37444
|
fill: "none",
|
|
36807
37445
|
stroke: "currentColor",
|
|
36808
37446
|
viewBox: "0 0 24 24",
|
|
@@ -37164,7 +37802,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37164
37802
|
/* @__PURE__ */ jsx(
|
|
37165
37803
|
"span",
|
|
37166
37804
|
{
|
|
37167
|
-
className: "bg-muted border-input rounded-
|
|
37805
|
+
className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
|
|
37168
37806
|
"data-slot": "ref-file-badge",
|
|
37169
37807
|
children: results
|
|
37170
37808
|
}
|
|
@@ -37174,7 +37812,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37174
37812
|
{
|
|
37175
37813
|
value: files.map((f) => f.name).join(", "),
|
|
37176
37814
|
readOnly: true,
|
|
37177
|
-
className: "rounded-none border-
|
|
37815
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37178
37816
|
placeholder: "No files selected"
|
|
37179
37817
|
}
|
|
37180
37818
|
),
|
|
@@ -37193,10 +37831,10 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37193
37831
|
{
|
|
37194
37832
|
type: "button",
|
|
37195
37833
|
variant: "secondary",
|
|
37196
|
-
className: "rounded-
|
|
37834
|
+
className: "rounded-s-none",
|
|
37197
37835
|
onClick: () => fileInputRef.current?.click(),
|
|
37198
37836
|
children: [
|
|
37199
|
-
/* @__PURE__ */ jsx(FileUp, { className: "
|
|
37837
|
+
/* @__PURE__ */ jsx(FileUp, { className: "me-2 h-4 w-4" }),
|
|
37200
37838
|
browseFiles
|
|
37201
37839
|
]
|
|
37202
37840
|
}
|
|
@@ -37214,7 +37852,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37214
37852
|
{
|
|
37215
37853
|
type: "button",
|
|
37216
37854
|
onClick: () => removeFile(index),
|
|
37217
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37855
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37218
37856
|
"data-slot": "ref-file-remove",
|
|
37219
37857
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
37220
37858
|
}
|
|
@@ -37388,7 +38026,7 @@ function ResultsEntryModal({
|
|
|
37388
38026
|
"svg",
|
|
37389
38027
|
{
|
|
37390
38028
|
"aria-hidden": "true",
|
|
37391
|
-
className: "
|
|
38029
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37392
38030
|
fill: "none",
|
|
37393
38031
|
viewBox: "0 0 24 24",
|
|
37394
38032
|
children: [
|
|
@@ -37648,7 +38286,7 @@ function ScheduleCalendar({
|
|
|
37648
38286
|
weekDates.map((date, i) => /* @__PURE__ */ jsxs(
|
|
37649
38287
|
"div",
|
|
37650
38288
|
{
|
|
37651
|
-
className: `flex-1 border-
|
|
38289
|
+
className: `flex-1 border-s border-gray-200 p-2 text-center dark:border-gray-700 ${isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50 dark:bg-blue-900/20" : ""}`,
|
|
37652
38290
|
children: [
|
|
37653
38291
|
/* @__PURE__ */ jsx(
|
|
37654
38292
|
"p",
|
|
@@ -37680,7 +38318,7 @@ function ScheduleCalendar({
|
|
|
37680
38318
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37681
38319
|
"div",
|
|
37682
38320
|
{
|
|
37683
|
-
className: "text-muted-foreground h-16
|
|
38321
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37684
38322
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37685
38323
|
hour: "numeric",
|
|
37686
38324
|
hour12: true
|
|
@@ -37695,7 +38333,7 @@ function ScheduleCalendar({
|
|
|
37695
38333
|
return /* @__PURE__ */ jsxs(
|
|
37696
38334
|
"div",
|
|
37697
38335
|
{
|
|
37698
|
-
className: `relative flex-1 border-
|
|
38336
|
+
className: `relative flex-1 border-s border-gray-200 dark:border-gray-700 ${view === "week" && isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
37699
38337
|
children: [
|
|
37700
38338
|
hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37701
38339
|
"div",
|
|
@@ -37731,7 +38369,7 @@ function ScheduleCalendar({
|
|
|
37731
38369
|
role: "button",
|
|
37732
38370
|
tabIndex: 0,
|
|
37733
38371
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37734
|
-
className: `absolute
|
|
38372
|
+
className: `absolute start-1 end-1 cursor-pointer overflow-hidden rounded border-s-4 px-2 py-1 text-xs text-white ${getStatusColor(appointment.status)}`,
|
|
37735
38373
|
style: {
|
|
37736
38374
|
top: position.top,
|
|
37737
38375
|
height: position.height,
|
|
@@ -37955,7 +38593,7 @@ var accordionVariants = cva(
|
|
|
37955
38593
|
);
|
|
37956
38594
|
var categoryHeaderVariants = cva(
|
|
37957
38595
|
[
|
|
37958
|
-
"w-full flex items-center justify-between py-4 px-4 text-
|
|
38596
|
+
"w-full flex items-center justify-between py-4 px-4 text-start",
|
|
37959
38597
|
"transition-colors",
|
|
37960
38598
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
|
|
37961
38599
|
],
|
|
@@ -38064,7 +38702,7 @@ function ServiceLink({
|
|
|
38064
38702
|
children: [
|
|
38065
38703
|
/* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
38066
38704
|
/* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
|
|
38067
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
38705
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
|
|
38068
38706
|
"(",
|
|
38069
38707
|
service.providerCount,
|
|
38070
38708
|
")"
|
|
@@ -38091,7 +38729,7 @@ function SubCategoryAccordion({
|
|
|
38091
38729
|
onClick: () => setIsExpanded(!isExpanded),
|
|
38092
38730
|
className: cn(
|
|
38093
38731
|
"flex w-full items-center justify-between px-3 py-2",
|
|
38094
|
-
"text-
|
|
38732
|
+
"text-start font-medium text-neutral-700 dark:text-neutral-200",
|
|
38095
38733
|
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
38096
38734
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
38097
38735
|
),
|
|
@@ -38121,7 +38759,7 @@ function SubCategoryAccordion({
|
|
|
38121
38759
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
38122
38760
|
),
|
|
38123
38761
|
inert: !isExpanded || void 0,
|
|
38124
|
-
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 pb-2
|
|
38762
|
+
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsx(
|
|
38125
38763
|
ServiceLink,
|
|
38126
38764
|
{
|
|
38127
38765
|
service,
|
|
@@ -38476,7 +39114,7 @@ function ServiceBadge({
|
|
|
38476
39114
|
const isClickable = Boolean(href || onClick);
|
|
38477
39115
|
const isInteractive = interactive ?? isClickable;
|
|
38478
39116
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38479
|
-
icon && /* @__PURE__ */ jsx("span", { className: "
|
|
39117
|
+
icon && /* @__PURE__ */ jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
|
|
38480
39118
|
/* @__PURE__ */ jsx("span", { className: "truncate", children }),
|
|
38481
39119
|
removable && onRemove && /* @__PURE__ */ jsx(
|
|
38482
39120
|
"button",
|
|
@@ -38488,7 +39126,7 @@ function ServiceBadge({
|
|
|
38488
39126
|
e.stopPropagation();
|
|
38489
39127
|
onRemove();
|
|
38490
39128
|
},
|
|
38491
|
-
className: "
|
|
39129
|
+
className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
|
|
38492
39130
|
"aria-label": `Remove ${children}`,
|
|
38493
39131
|
children: /* @__PURE__ */ jsx(CloseIcon4, { className: "h-3 w-3" })
|
|
38494
39132
|
}
|
|
@@ -38605,7 +39243,7 @@ function ServiceTagCloudBadges({
|
|
|
38605
39243
|
href: onServiceClick ? void 0 : `/service/${service.slug}`,
|
|
38606
39244
|
children: [
|
|
38607
39245
|
service.name,
|
|
38608
|
-
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
39246
|
+
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-1", children: [
|
|
38609
39247
|
"(",
|
|
38610
39248
|
service.count,
|
|
38611
39249
|
")"
|
|
@@ -38656,7 +39294,7 @@ function SelectedServicesBadges({
|
|
|
38656
39294
|
{
|
|
38657
39295
|
type: "button",
|
|
38658
39296
|
onClick: onClearAll,
|
|
38659
|
-
className: "text-muted-foreground
|
|
39297
|
+
className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
38660
39298
|
children: "Clear all"
|
|
38661
39299
|
}
|
|
38662
39300
|
)
|
|
@@ -38718,7 +39356,7 @@ function DOTBadge({
|
|
|
38718
39356
|
),
|
|
38719
39357
|
...props,
|
|
38720
39358
|
children: [
|
|
38721
|
-
/* @__PURE__ */ jsx(DOTIcon, { className: "
|
|
39359
|
+
/* @__PURE__ */ jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
|
|
38722
39360
|
children || config.label
|
|
38723
39361
|
]
|
|
38724
39362
|
}
|
|
@@ -38981,7 +39619,7 @@ function ServiceCard({
|
|
|
38981
39619
|
{
|
|
38982
39620
|
type: "button",
|
|
38983
39621
|
onClick: handleManageClick,
|
|
38984
|
-
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10
|
|
39622
|
+
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10 ms-auto rounded px-3 py-1 text-sm font-medium transition-colors",
|
|
38985
39623
|
children: "Manage"
|
|
38986
39624
|
}
|
|
38987
39625
|
)
|
|
@@ -39170,7 +39808,7 @@ function ServiceGeneralSettings({
|
|
|
39170
39808
|
}
|
|
39171
39809
|
),
|
|
39172
39810
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
39173
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39811
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
39174
39812
|
/* @__PURE__ */ jsx(
|
|
39175
39813
|
"input",
|
|
39176
39814
|
{
|
|
@@ -39178,7 +39816,7 @@ function ServiceGeneralSettings({
|
|
|
39178
39816
|
type: "number",
|
|
39179
39817
|
min: "0",
|
|
39180
39818
|
step: "0.01",
|
|
39181
|
-
className: "w-full rounded-md border border-gray-300 py-2
|
|
39819
|
+
className: "w-full rounded-md border border-gray-300 py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
|
|
39182
39820
|
value: basePrice,
|
|
39183
39821
|
onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
|
|
39184
39822
|
placeholder: "0.00"
|
|
@@ -39202,13 +39840,13 @@ function ServiceGeneralSettings({
|
|
|
39202
39840
|
id: "turnaround-days",
|
|
39203
39841
|
type: "number",
|
|
39204
39842
|
min: "0",
|
|
39205
|
-
className: "w-full rounded-md border border-gray-300 px-3 py-2
|
|
39843
|
+
className: "w-full rounded-md border border-gray-300 px-3 py-2 pe-16 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
|
|
39206
39844
|
value: turnaroundDays ?? "",
|
|
39207
39845
|
onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
|
|
39208
39846
|
placeholder: "0"
|
|
39209
39847
|
}
|
|
39210
39848
|
),
|
|
39211
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39849
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
|
|
39212
39850
|
] })
|
|
39213
39851
|
] })
|
|
39214
39852
|
] })
|
|
@@ -39451,7 +40089,7 @@ function ServicePicker({
|
|
|
39451
40089
|
}
|
|
39452
40090
|
),
|
|
39453
40091
|
showSearch && /* @__PURE__ */ jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
|
|
39454
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
40092
|
+
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3", children: /* @__PURE__ */ jsx(SearchIcon5, { className: "text-muted-foreground h-5 w-5" }) }),
|
|
39455
40093
|
/* @__PURE__ */ jsx(
|
|
39456
40094
|
Input,
|
|
39457
40095
|
{
|
|
@@ -39459,7 +40097,7 @@ function ServicePicker({
|
|
|
39459
40097
|
value: searchQuery,
|
|
39460
40098
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
39461
40099
|
placeholder: searchPlaceholder,
|
|
39462
|
-
className: "
|
|
40100
|
+
className: "ps-10",
|
|
39463
40101
|
"data-cy": "input-search-services"
|
|
39464
40102
|
}
|
|
39465
40103
|
)
|
|
@@ -39560,10 +40198,10 @@ function ServiceGroupItem({
|
|
|
39560
40198
|
onClick: () => onToggleGroup(group.id),
|
|
39561
40199
|
className: cn(
|
|
39562
40200
|
"flex w-full items-center justify-between rounded-lg px-3 py-2",
|
|
39563
|
-
"text-muted-foreground text-
|
|
40201
|
+
"text-muted-foreground text-start text-sm font-medium",
|
|
39564
40202
|
"hover:bg-muted",
|
|
39565
40203
|
"transition-colors",
|
|
39566
|
-
depth > 0 && "
|
|
40204
|
+
depth > 0 && "ms-4"
|
|
39567
40205
|
),
|
|
39568
40206
|
"aria-expanded": isExpanded,
|
|
39569
40207
|
children: [
|
|
@@ -39601,7 +40239,7 @@ function ServiceGroupItem({
|
|
|
39601
40239
|
"ul",
|
|
39602
40240
|
{
|
|
39603
40241
|
"data-slot": "service-picker-group-list",
|
|
39604
|
-
className: "mt-1 space-y-1
|
|
40242
|
+
className: "mt-1 space-y-1 ps-4",
|
|
39605
40243
|
children: [
|
|
39606
40244
|
group.services.map((service) => /* @__PURE__ */ jsx(
|
|
39607
40245
|
ServiceItem,
|
|
@@ -39994,10 +40632,10 @@ function ServicePricingManager({
|
|
|
39994
40632
|
/* @__PURE__ */ jsx(CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No services found" }) : /* @__PURE__ */ jsxs("div", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: [
|
|
39995
40633
|
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground hidden gap-4 py-3 text-xs font-medium uppercase md:grid md:grid-cols-6", children: [
|
|
39996
40634
|
/* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
|
|
39997
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
39998
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40635
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Base Price" }),
|
|
40636
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Employer Price" }),
|
|
39999
40637
|
/* @__PURE__ */ jsx("div", { className: "text-center", children: "Status" }),
|
|
40000
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40638
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Actions" })
|
|
40001
40639
|
] }),
|
|
40002
40640
|
filteredServices.map((service) => /* @__PURE__ */ jsxs(
|
|
40003
40641
|
"div",
|
|
@@ -40014,14 +40652,14 @@ function ServicePricingManager({
|
|
|
40014
40652
|
] }),
|
|
40015
40653
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40016
40654
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
40017
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
40655
|
+
/* @__PURE__ */ jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
40018
40656
|
] }),
|
|
40019
40657
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40020
40658
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
40021
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-
|
|
40659
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
40022
40660
|
] }),
|
|
40023
40661
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
40024
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
40662
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
|
|
40025
40663
|
/* @__PURE__ */ jsx(
|
|
40026
40664
|
Badge,
|
|
40027
40665
|
{
|
|
@@ -40571,7 +41209,7 @@ function SetupServiceModal({
|
|
|
40571
41209
|
}
|
|
40572
41210
|
),
|
|
40573
41211
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
40574
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
41212
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
40575
41213
|
/* @__PURE__ */ jsx(
|
|
40576
41214
|
"input",
|
|
40577
41215
|
{
|
|
@@ -40579,7 +41217,7 @@ function SetupServiceModal({
|
|
|
40579
41217
|
type: "number",
|
|
40580
41218
|
min: "0",
|
|
40581
41219
|
step: "0.01",
|
|
40582
|
-
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2
|
|
41220
|
+
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
|
|
40583
41221
|
value: formData.price,
|
|
40584
41222
|
onChange: (e) => setFormData((prev) => ({
|
|
40585
41223
|
...prev,
|
|
@@ -40646,7 +41284,7 @@ function SetupServiceModal({
|
|
|
40646
41284
|
"div",
|
|
40647
41285
|
{
|
|
40648
41286
|
"data-slot": "setup-service-inventory",
|
|
40649
|
-
className: "border-border
|
|
41287
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
40650
41288
|
children: /* @__PURE__ */ jsx(
|
|
40651
41289
|
Input,
|
|
40652
41290
|
{
|
|
@@ -40706,7 +41344,7 @@ function SetupServiceModal({
|
|
|
40706
41344
|
"svg",
|
|
40707
41345
|
{
|
|
40708
41346
|
"aria-hidden": "true",
|
|
40709
|
-
className: "
|
|
41347
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
40710
41348
|
fill: "none",
|
|
40711
41349
|
viewBox: "0 0 24 24",
|
|
40712
41350
|
children: [
|
|
@@ -40828,7 +41466,7 @@ var ChevronLeftIcon2 = () => /* @__PURE__ */ jsx(
|
|
|
40828
41466
|
"svg",
|
|
40829
41467
|
{
|
|
40830
41468
|
"aria-hidden": "true",
|
|
40831
|
-
className: "h-4 w-4",
|
|
41469
|
+
className: "h-4 w-4 rtl:-scale-x-100",
|
|
40832
41470
|
fill: "none",
|
|
40833
41471
|
viewBox: "0 0 24 24",
|
|
40834
41472
|
stroke: "currentColor",
|
|
@@ -40840,7 +41478,7 @@ var ChevronRightIcon2 = () => /* @__PURE__ */ jsx(
|
|
|
40840
41478
|
"svg",
|
|
40841
41479
|
{
|
|
40842
41480
|
"aria-hidden": "true",
|
|
40843
|
-
className: "h-4 w-4",
|
|
41481
|
+
className: "h-4 w-4 rtl:-scale-x-100",
|
|
40844
41482
|
fill: "none",
|
|
40845
41483
|
viewBox: "0 0 24 24",
|
|
40846
41484
|
stroke: "currentColor",
|
|
@@ -41526,7 +42164,7 @@ function FooterLinkSection({
|
|
|
41526
42164
|
),
|
|
41527
42165
|
children: [
|
|
41528
42166
|
link.label,
|
|
41529
|
-
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "
|
|
42167
|
+
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41530
42168
|
]
|
|
41531
42169
|
}
|
|
41532
42170
|
) }, link.href)) })
|
|
@@ -41833,7 +42471,7 @@ function SimpleFooter({
|
|
|
41833
42471
|
variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
41834
42472
|
className
|
|
41835
42473
|
),
|
|
41836
|
-
children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-
|
|
42474
|
+
children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-start", children: [
|
|
41837
42475
|
/* @__PURE__ */ jsx(CopyrightText, { companyName, variant }),
|
|
41838
42476
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-4 sm:justify-end", children: [
|
|
41839
42477
|
/* @__PURE__ */ jsx(
|
|
@@ -41971,7 +42609,7 @@ function NavLinks({
|
|
|
41971
42609
|
),
|
|
41972
42610
|
children: [
|
|
41973
42611
|
link.label,
|
|
41974
|
-
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "
|
|
42612
|
+
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41975
42613
|
]
|
|
41976
42614
|
},
|
|
41977
42615
|
link.href
|
|
@@ -42157,7 +42795,7 @@ function UserMenu({
|
|
|
42157
42795
|
"div",
|
|
42158
42796
|
{
|
|
42159
42797
|
"data-slot": "site-header-user-dropdown",
|
|
42160
|
-
className: "absolute
|
|
42798
|
+
className: "absolute end-0 z-50 mt-2 w-56 rounded-lg bg-white shadow-lg ring-1 ring-black/5 dark:bg-gray-800 dark:ring-white/10",
|
|
42161
42799
|
children: [
|
|
42162
42800
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
|
|
42163
42801
|
/* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
|
|
@@ -42185,7 +42823,7 @@ function UserMenu({
|
|
|
42185
42823
|
setIsOpen(false);
|
|
42186
42824
|
},
|
|
42187
42825
|
className: cn(
|
|
42188
|
-
"flex w-full items-center gap-2 px-4 py-2 text-
|
|
42826
|
+
"flex w-full items-center gap-2 px-4 py-2 text-start text-sm",
|
|
42189
42827
|
index === defaultItems.length - 1 && onLogout ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700"
|
|
42190
42828
|
),
|
|
42191
42829
|
children: [
|
|
@@ -42250,7 +42888,7 @@ function MobileMenuPanel({
|
|
|
42250
42888
|
"div",
|
|
42251
42889
|
{
|
|
42252
42890
|
className: cn(
|
|
42253
|
-
"fixed
|
|
42891
|
+
"fixed end-0 top-0 bottom-0 z-50 w-80 max-w-full bg-white shadow-xl md:hidden dark:bg-gray-900",
|
|
42254
42892
|
className
|
|
42255
42893
|
),
|
|
42256
42894
|
children: [
|
|
@@ -42282,7 +42920,7 @@ function MobileMenuPanel({
|
|
|
42282
42920
|
},
|
|
42283
42921
|
link.href
|
|
42284
42922
|
)) }),
|
|
42285
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
42923
|
+
/* @__PURE__ */ jsx("div", { className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 p-4 dark:border-gray-700", children: user ? /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
42286
42924
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-2", children: [
|
|
42287
42925
|
/* @__PURE__ */ jsx("div", { className: "bg-primary-100 text-primary-900 dark:bg-primary-900/30 dark:text-primary-400 flex h-10 w-10 items-center justify-center rounded-full font-medium", children: user.name.split(" ").map((w) => w[0]).join("").slice(0, 2) }),
|
|
42288
42926
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -42333,22 +42971,19 @@ function MobileMenuPanel({
|
|
|
42333
42971
|
)
|
|
42334
42972
|
] });
|
|
42335
42973
|
}
|
|
42336
|
-
var headerVariants3 = cva(
|
|
42337
|
-
|
|
42338
|
-
|
|
42339
|
-
|
|
42340
|
-
|
|
42341
|
-
|
|
42342
|
-
|
|
42343
|
-
transparent: "bg-transparent",
|
|
42344
|
-
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
42345
|
-
}
|
|
42346
|
-
},
|
|
42347
|
-
defaultVariants: {
|
|
42348
|
-
variant: "primary"
|
|
42974
|
+
var headerVariants3 = cva("fixed top-0 start-0 end-0 z-40 transition-colors", {
|
|
42975
|
+
variants: {
|
|
42976
|
+
variant: {
|
|
42977
|
+
primary: "bg-primary-800",
|
|
42978
|
+
white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
|
|
42979
|
+
transparent: "bg-transparent",
|
|
42980
|
+
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
42349
42981
|
}
|
|
42982
|
+
},
|
|
42983
|
+
defaultVariants: {
|
|
42984
|
+
variant: "primary"
|
|
42350
42985
|
}
|
|
42351
|
-
);
|
|
42986
|
+
});
|
|
42352
42987
|
function SiteHeader({
|
|
42353
42988
|
logo = {},
|
|
42354
42989
|
links = [],
|
|
@@ -42455,7 +43090,7 @@ function CompactHeader({
|
|
|
42455
43090
|
{
|
|
42456
43091
|
href: backHref,
|
|
42457
43092
|
className: "rounded-lg p-2 text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-800",
|
|
42458
|
-
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5" })
|
|
43093
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
|
|
42459
43094
|
}
|
|
42460
43095
|
) : onBack ? /* @__PURE__ */ jsx(
|
|
42461
43096
|
"button",
|
|
@@ -42463,7 +43098,7 @@ function CompactHeader({
|
|
|
42463
43098
|
type: "button",
|
|
42464
43099
|
onClick: onBack,
|
|
42465
43100
|
className: "rounded-lg p-2 text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-800",
|
|
42466
|
-
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5" })
|
|
43101
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
|
|
42467
43102
|
}
|
|
42468
43103
|
) : null;
|
|
42469
43104
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -42480,7 +43115,7 @@ function CompactHeader({
|
|
|
42480
43115
|
{
|
|
42481
43116
|
"data-slot": "site-header-compact",
|
|
42482
43117
|
className: cn(
|
|
42483
|
-
"fixed
|
|
43118
|
+
"fixed start-0 end-0 top-0 z-40 border-b border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
42484
43119
|
className
|
|
42485
43120
|
),
|
|
42486
43121
|
children: /* @__PURE__ */ jsxs(
|
|
@@ -43430,8 +44065,8 @@ function TocList({
|
|
|
43430
44065
|
{
|
|
43431
44066
|
className: cn(
|
|
43432
44067
|
"space-y-1",
|
|
43433
|
-
depth > 0 && indentLines && "border-border
|
|
43434
|
-
depth > 0 && !indentLines && "
|
|
44068
|
+
depth > 0 && indentLines && "border-border ms-3 border-s ps-3",
|
|
44069
|
+
depth > 0 && !indentLines && "ms-4"
|
|
43435
44070
|
),
|
|
43436
44071
|
children: items.map((item) => /* @__PURE__ */ jsxs("li", { children: [
|
|
43437
44072
|
/* @__PURE__ */ jsx(
|
|
@@ -43726,7 +44361,7 @@ function TimelineEventList({
|
|
|
43726
44361
|
events.length > 1 && /* @__PURE__ */ jsx(
|
|
43727
44362
|
"div",
|
|
43728
44363
|
{
|
|
43729
|
-
className: "absolute top-0 bottom-0
|
|
44364
|
+
className: "absolute start-5 top-0 bottom-0 w-px bg-neutral-200 dark:bg-neutral-700",
|
|
43730
44365
|
"aria-hidden": "true"
|
|
43731
44366
|
}
|
|
43732
44367
|
),
|
|
@@ -44053,7 +44688,7 @@ function WebChartReportViewer({
|
|
|
44053
44688
|
onClick: onReconnect,
|
|
44054
44689
|
className: "mt-2",
|
|
44055
44690
|
children: [
|
|
44056
|
-
/* @__PURE__ */ jsx(Link$1, { className: "
|
|
44691
|
+
/* @__PURE__ */ jsx(Link$1, { className: "me-2 h-4 w-4" }),
|
|
44057
44692
|
reconnect
|
|
44058
44693
|
]
|
|
44059
44694
|
}
|
|
@@ -44061,7 +44696,7 @@ function WebChartReportViewer({
|
|
|
44061
44696
|
] })
|
|
44062
44697
|
] }),
|
|
44063
44698
|
!error && !loading && /* @__PURE__ */ jsxs(Button, { onClick: onRefreshReports, className: "mb-4", children: [
|
|
44064
|
-
/* @__PURE__ */ jsx(RefreshCw$1, { className: "
|
|
44699
|
+
/* @__PURE__ */ jsx(RefreshCw$1, { className: "me-2 h-4 w-4" }),
|
|
44065
44700
|
refreshReports
|
|
44066
44701
|
] }),
|
|
44067
44702
|
/* @__PURE__ */ jsx(
|
|
@@ -44130,7 +44765,7 @@ function WebChartReportViewer({
|
|
|
44130
44765
|
className: "flex items-center gap-3",
|
|
44131
44766
|
children: [
|
|
44132
44767
|
/* @__PURE__ */ jsx(ModalTitle, { children: currentReport?.name || "Report Results" }),
|
|
44133
|
-
reportResult?.error ? /* @__PURE__ */ jsx(AlertTriangle$1, { className: "h-5 w-5 text-yellow-500" }) : reportResult?.success ? /* @__PURE__ */ jsx(Check, { className: "h-5 w-5 text-green-500" }) : null
|
|
44768
|
+
reportResult?.error ? /* @__PURE__ */ jsx(AlertTriangle$1, { className: "h-5 w-5 text-yellow-500" }) : reportResult?.success ? /* @__PURE__ */ jsx(Check$1, { className: "h-5 w-5 text-green-500" }) : null
|
|
44134
44769
|
]
|
|
44135
44770
|
}
|
|
44136
44771
|
),
|
|
@@ -44588,6 +45223,6 @@ function WebsiteInputGroup({
|
|
|
44588
45223
|
}
|
|
44589
45224
|
WebsiteInputGroup.displayName = "WebsiteInputGroup";
|
|
44590
45225
|
|
|
44591
|
-
export { AIChat, AIChatModal, AIChatTrigger, AIReconciliationPanel, AccessDeniedPage, ActionButton2 as ActionButton, ActionButtonsBar, ActiveFilters, AddContactModal, AddServiceCard, AdditionalFields, Address, AddressCard, AddressCompact, AddressDisplay, AddressForm, AddressInline, AppHeader, AppHeaderActions, AppHeaderBrand, AppHeaderDivider, AppHeaderIconButton, AppHeaderSearch, AppHeaderSection, AppHeaderTitle, AppHeaderUserMenu, Assessment, AuthButtons, AuthDialog, BookAppointmentButton, BookingDialog, BusinessHours, BusinessHoursEditor, ButtonGroup, CHANGE_TYPE_LABELS, CONCERN_STATUS_LABELS, CSVColumnMapper, CSVFileUpload, CardSkeleton, CaseContextBar, CaseManagementHeader, CheckrIntegration, ClaimListingButton, ClaimProviderForm, CodingChips, CommandPalette, CommandPaletteProvider, CommandPaletteTrigger, CompactCookieBanner, CompactFilterBar, CompactHeader, CompactHours, CompactProviderHeader, ComposerModelSelector, ConditionEditor, ConnectionStatusBadge, ConnectionStatusBar, ConnectionStatusOverlay, ConsentSwitch, CookieConsentBanner, CopyrightText, CountBadge, CountryDropdown, CreateInvoiceModal, CreateReferralModal, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, DashboardWidget, DashboardWidgetActions, DashboardWidgetDataCards, DashboardWidgetInfo, DashboardWidgetTable, DateRangeFilter, DateRangePicker, DialogOverlay, DisclaimerText, DockablePanel, DocumentDetectionOverlay, DocumentScanner, DropZone, DropzoneOverlay, EditUserRoleModal, EmployeeForm, EmployeeProfileCard, EmployerContactCard, EmployerList, EmployerPricingCard, EmployerServiceModal, EmployerView, ErrorPage, FileManager, FilePreview, FloatingAIChat, FloatingInput, FooterLinkSection, SocialMediaLinks2 as FooterSocialLinks, HRISProviderSelector, HandsFreeChat, HealthSurveillance, HelpSupportPanel, HeroSearchBar, HeyOzwell, HeyOzwellToggle, HoursSummary, ImagingOrderEditor, InlineBookingForm, InventoryManager, InviteUserModal, InvoiceList, InvoicePaymentPage, InvoiceView, LabOrderEditor, LanguageSelector, LanguageSelectorInline, LanguageSelectorNative, LegalLinks, LoadingBar, LoadingDots, LoadingOverlay, LoadingPage, LoadingSkeleton, MODEL_MANIFEST, MaintenancePage, MobileBackButton, MobileMenuButton, MobileMenuPanel, ModelInfoList, NavLinks, NewsletterForm, NotFoundPage, NotificationCenter, ORDER_TYPE_META, ORDER_TYPE_SEARCH_DOMAINS, OfflinePage, OnboardingCompletion, OnboardingStepQuestion, OnboardingWizard, OpenStatusBadge, OrderCard, OrderConfirmation, OrderConfirmationWizard, OrderDetailSidebar, OrderEditor, OrderList, OrderLookupForm, OrderSidebar, OrderSidebarTabs, OzwellChat, OzwellSettingsMenu, PageHeader, PatientHeader, PaymentHistoryTable, PaymentMethodBank, PaymentMethodCard, PaymentMethodList, PendingClaimsTable, PermissionsEditor, PillSelect, PresentingProblems, ProblemList, ProcedureOrderEditor, ProductVersion, ProductVersionBadge, Breadcrumb2 as ProviderBreadcrumb, ProviderCard, ProviderCardGrid, ProviderCardSkeleton, ProviderDetailHeader, ProviderDetailHeaderSkeleton, ProviderLogo2 as ProviderLogo, ProviderOverview, ProviderSearchBar, ProviderSearchFilters, ProviderSelector, ProviderSettings, SocialMediaLinks as ProviderSocialLinks, ProviderUsersTable, QuickBookCard, QuickLinksCard, RELEVANCE_LABELS, RecurringServiceAddCard, RecurringServiceCard, RecurringServiceGrid, RecurringServiceSetupModal, ReferralEditor, RejectionModal, ReportDashboard, ReportDatePicker, ReportLink, ReportTimeRange, ResultsEntryCard, ResultsEntryForm, ResultsEntryModal, SSOConfigForm, ScheduleCalendar, SearchResultsMessage, SelectedServicesBadges, ServerErrorPage, ServiceAccordion, ServiceBadge, ServiceBadgeGroup, ServiceCard, ServiceCategoryBadge, ServiceGeneralSettings, ServiceGrid, ServiceLink, ServiceList, ServiceMultiSelect, ServicePicker, ServicePricingManager, ServiceSelect, ServiceShippingSettings, ServiceTagCloud, ServiceTagCloudBadges, SetupServiceModal, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMobileToggle, SidebarNav, SidebarNavGroup, SidebarNavItem, SidebarProvider, SidebarSearch, SidebarToggle, SimpleFooter, SiteFooter, SiteHeader, SiteLogo, StepIndicator, StripeBadge, StripeSecureBadge, SuggestedActions, TableOfContents, TimelineEventList, TimelineProgress, Toast, ToastContainer, ToastProvider, UncertaintyBadge, UpdateAvailableOverlay, UserMenu, VerifiedBadge2 as VerifiedBadge, VisitScribe, VoiceManager, VoiceSetup, WEBSITE_TYPES, WebChartReportViewer, WebcamModal, WebsiteInput, WebsiteInputGroup, askOzwell, askOzwellStream, attributeSegments, calculateDateRange, centroid, chime, clearVoiceprints, clearWhatPrints, clusterEmbeddings, concernGroupKey, concernHistoryContent, cosine, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, currentAssertion, decodeTo16kMono, defaultCaseManagementHeaderLabels, defaultOrderTabs, defaultReconciliationIsEqual, endsWithDone, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, generateId, getDefaultPresets, getDictationLoad, getExtendedPresets, getGoogleMapsSearchUrl, getGoogleMapsUrl, getOzwellConfig, getVoiceprints, getWakeWarm, inferSpeakerRoles, isConditionCodetype, isOzwellConfigured, isValidUrl, isWhisperLoaded, labelClusters, loadWhatPrints, medicationToOrder, mergeTurns, openRollingRecorder, orderToMedication, orderTypeForCodetype, panelVariants as reconciliationPanelVariants, saveWhatPrints, setVoiceprints, stripStopPhrase, subscribeDictationLoad, subscribeWakeWarm, toOzwellMessages, transcribeBlob, transcribeGate, transcribeSamples, transcribeSegments, transcribeServer, trimTrailingStopPhrase, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDiarization, useDocumentDetection, useDropzone, useFileUpload, useHeyOzwell, useSidebar, useSpeakerVerify, useToast, useVisitScribe, useVoiceSetup, useWakeWord, warmStopGate, warmWakeModels, warmWhisper, widgetVariants };
|
|
45226
|
+
export { AIChat, AIChatModal, AIChatTrigger, AIReconciliationPanel, AccessDeniedPage, ActionButton2 as ActionButton, ActionButtonsBar, ActiveFilters, AddContactModal, AddServiceCard, AdditionalFields, Address, AddressCard, AddressCompact, AddressDisplay, AddressForm, AddressInline, AppHeader, AppHeaderActions, AppHeaderBrand, AppHeaderDivider, AppHeaderIconButton, AppHeaderSearch, AppHeaderSection, AppHeaderTitle, AppHeaderUserMenu, Assessment, AuthButtons, AuthDialog, BookAppointmentButton, BookingDialog, BusinessHours, BusinessHoursEditor, ButtonGroup, CHANGE_TYPE_LABELS, CONCERN_STATUS_LABELS, CSVColumnMapper, CSVFileUpload, CardSkeleton, CaseContextBar, CaseManagementHeader, ChatComposer, CheckrIntegration, ClaimListingButton, ClaimProviderForm, CodingChips, CommandPalette, CommandPaletteProvider, CommandPaletteTrigger, CompactCookieBanner, CompactFilterBar, CompactHeader, CompactHours, CompactProviderHeader, ComposerModelSelector, ConditionEditor, ConnectionStatusBadge, ConnectionStatusBar, ConnectionStatusOverlay, ConsentSwitch, CookieConsentBanner, CopyrightText, CountBadge, CountryDropdown, CreateInvoiceModal, CreateReferralModal, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, DashboardWidget, DashboardWidgetActions, DashboardWidgetDataCards, DashboardWidgetInfo, DashboardWidgetTable, DateRangeFilter, DateRangePicker, DialogOverlay, DisclaimerText, DockablePanel, DocumentDetectionOverlay, DocumentScanner, DropZone, DropzoneOverlay, EditUserRoleModal, EmployeeForm, EmployeeProfileCard, EmployerContactCard, EmployerList, EmployerPricingCard, EmployerServiceModal, EmployerView, ErrorPage, FileManager, FilePreview, FloatingAIChat, FloatingInput, FooterLinkSection, SocialMediaLinks2 as FooterSocialLinks, HRISProviderSelector, HandsFreeChat, HealthSurveillance, HelpSupportPanel, HeroSearchBar, HeyOzwell, HeyOzwellToggle, HoursSummary, ImagingOrderEditor, InlineBookingForm, InventoryManager, InviteUserModal, InvoiceList, InvoicePaymentPage, InvoiceView, LabOrderEditor, LanguageSelector, LanguageSelectorInline, LanguageSelectorNative, LegalLinks, LoadingBar, LoadingDots, LoadingOverlay, LoadingPage, LoadingSkeleton, MODEL_MANIFEST, MaintenancePage, MobileBackButton, MobileMenuButton, MobileMenuPanel, ModelInfoList, NavLinks, NewsletterForm, NotFoundPage, NotificationCenter, ORDER_TYPE_META, ORDER_TYPE_SEARCH_DOMAINS, OfflinePage, OnboardingCompletion, OnboardingStepQuestion, OnboardingWizard, OpenStatusBadge, OrderCard, OrderConfirmation, OrderConfirmationWizard, OrderDetailSidebar, OrderEditor, OrderList, OrderLookupForm, OrderSidebar, OrderSidebarTabs, OzwellChat, OzwellSettingsMenu, PageHeader, PatientHeader, PaymentHistoryTable, PaymentMethodBank, PaymentMethodCard, PaymentMethodList, PendingClaimsTable, PermissionsEditor, PillSelect, PresentingProblems, ProblemList, ProcedureOrderEditor, ProductVersion, ProductVersionBadge, Breadcrumb2 as ProviderBreadcrumb, ProviderCard, ProviderCardGrid, ProviderCardSkeleton, ProviderDetailHeader, ProviderDetailHeaderSkeleton, ProviderLogo2 as ProviderLogo, ProviderOverview, ProviderSearchBar, ProviderSearchFilters, ProviderSelector, ProviderSettings, SocialMediaLinks as ProviderSocialLinks, ProviderUsersTable, QuickBookCard, QuickLinksCard, RELEVANCE_LABELS, RecurringServiceAddCard, RecurringServiceCard, RecurringServiceGrid, RecurringServiceSetupModal, ReferralEditor, RejectionModal, ReportDashboard, ReportDatePicker, ReportLink, ReportTimeRange, ResultsEntryCard, ResultsEntryForm, ResultsEntryModal, SSOConfigForm, ScheduleCalendar, SearchResultsMessage, SelectedServicesBadges, ServerErrorPage, ServiceAccordion, ServiceBadge, ServiceBadgeGroup, ServiceCard, ServiceCategoryBadge, ServiceGeneralSettings, ServiceGrid, ServiceLink, ServiceList, ServiceMultiSelect, ServicePicker, ServicePricingManager, ServiceSelect, ServiceShippingSettings, ServiceTagCloud, ServiceTagCloudBadges, SetupServiceModal, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMobileToggle, SidebarNav, SidebarNavGroup, SidebarNavItem, SidebarProvider, SidebarSearch, SidebarToggle, SimpleFooter, SiteFooter, SiteHeader, SiteLogo, StepIndicator, StripeBadge, StripeSecureBadge, SuggestedActions, TableOfContents, TimelineEventList, TimelineProgress, Toast, ToastContainer, ToastProvider, UncertaintyBadge, UpdateAvailableOverlay, UserMenu, VerifiedBadge2 as VerifiedBadge, VisitScribe, VoiceManager, VoiceSetup, WEBSITE_TYPES, WebChartReportViewer, WebcamModal, WebsiteInput, WebsiteInputGroup, askOzwell, askOzwellStream, attributeSegments, calculateDateRange, centroid, chime, clearVoiceprints, clearWhatPrints, clusterEmbeddings, concernGroupKey, concernHistoryContent, cosine, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, currentAssertion, decodeTo16kMono, defaultCaseManagementHeaderLabels, defaultOrderTabs, defaultReconciliationIsEqual, endsWithDone, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, generateId, getDefaultPresets, getDictationLoad, getExtendedPresets, getGoogleMapsSearchUrl, getGoogleMapsUrl, getOzwellConfig, getVoiceprints, getWakeWarm, inferSpeakerRoles, isConditionCodetype, isOzwellConfigured, isValidUrl, isWhisperLoaded, labelClusters, loadWhatPrints, medicationToOrder, mergeTurns, openRollingRecorder, orderToMedication, orderTypeForCodetype, panelVariants as reconciliationPanelVariants, saveWhatPrints, setVoiceprints, stripStopPhrase, subscribeDictationLoad, subscribeWakeWarm, toOzwellMessages, transcribeBlob, transcribeGate, transcribeSamples, transcribeSegments, transcribeServer, trimTrailingStopPhrase, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDiarization, useDocumentDetection, useDropzone, useFileUpload, useHeyOzwell, useOptionalToast, useSidebar, useSpeakerVerify, useToast, useVisitScribe, useVoiceSetup, useWakeWord, warmStopGate, warmWakeModels, warmWhisper, widgetVariants };
|
|
44592
45227
|
//# sourceMappingURL=index.js.map
|
|
44593
45228
|
//# sourceMappingURL=index.js.map
|