@mieweb/ui 0.8.0-dev.2 → 0.8.0-dev.20
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-QMKYJ4AT.cjs → chunk-ABTO4RD6.cjs} +3 -3
- package/dist/{chunk-QMKYJ4AT.cjs.map → chunk-ABTO4RD6.cjs.map} +1 -1
- 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-NLBT5O2X.js → chunk-CK3KLRNF.js} +3 -3
- package/dist/{chunk-NLBT5O2X.js.map → chunk-CK3KLRNF.js.map} +1 -1
- package/dist/{chunk-DJ4JPFWI.js → chunk-CLRWVJOD.js} +3 -3
- package/dist/{chunk-DJ4JPFWI.js.map → chunk-CLRWVJOD.js.map} +1 -1
- package/dist/{chunk-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-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.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 +1888 -1237
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +232 -16
- package/dist/index.d.ts +232 -16
- package/dist/index.js +1152 -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-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-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-CLRWVJOD.js';
|
|
61
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-CLRWVJOD.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
|
}
|
|
@@ -15490,10 +16108,13 @@ var bannerVariants = cva(
|
|
|
15490
16108
|
{
|
|
15491
16109
|
variants: {
|
|
15492
16110
|
position: {
|
|
15493
|
-
bottom: "bottom-0
|
|
15494
|
-
top: "top-0
|
|
15495
|
-
"bottom-
|
|
15496
|
-
"bottom-
|
|
16111
|
+
bottom: "bottom-0 start-0 end-0",
|
|
16112
|
+
top: "top-0 start-0 end-0",
|
|
16113
|
+
"bottom-start": "bottom-4 start-4 max-w-md",
|
|
16114
|
+
"bottom-end": "bottom-4 end-4 max-w-md",
|
|
16115
|
+
// Deprecated physical aliases for the logical positions above.
|
|
16116
|
+
"bottom-left": "bottom-4 start-4 max-w-md",
|
|
16117
|
+
"bottom-right": "bottom-4 end-4 max-w-md"
|
|
15497
16118
|
},
|
|
15498
16119
|
variant: {
|
|
15499
16120
|
default: "bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 shadow-lg",
|
|
@@ -15683,7 +16304,7 @@ function CompactCookieBanner({
|
|
|
15683
16304
|
"aria-label": "Cookie consent",
|
|
15684
16305
|
"data-slot": "compact-cookie-banner",
|
|
15685
16306
|
className: cn(
|
|
15686
|
-
"fixed
|
|
16307
|
+
"fixed start-4 end-4 bottom-4 md:start-auto md:end-4 md:max-w-sm",
|
|
15687
16308
|
"z-50 rounded-lg bg-gray-900 p-4 text-white shadow-xl",
|
|
15688
16309
|
className
|
|
15689
16310
|
),
|
|
@@ -16228,7 +16849,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16228
16849
|
"data-slot": "dashboard-widget-header",
|
|
16229
16850
|
className: cn(
|
|
16230
16851
|
"border-border flex flex-row items-center justify-between gap-2 border-b px-4 py-3 pb-3",
|
|
16231
|
-
accent && "
|
|
16852
|
+
accent && "ps-6"
|
|
16232
16853
|
),
|
|
16233
16854
|
children: [
|
|
16234
16855
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -16272,7 +16893,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16272
16893
|
CardContent,
|
|
16273
16894
|
{
|
|
16274
16895
|
"data-slot": "dashboard-widget-body",
|
|
16275
|
-
className: cn("px-4 py-3", accent && "
|
|
16896
|
+
className: cn("px-4 py-3", accent && "ps-6"),
|
|
16276
16897
|
children
|
|
16277
16898
|
}
|
|
16278
16899
|
),
|
|
@@ -16280,7 +16901,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16280
16901
|
"div",
|
|
16281
16902
|
{
|
|
16282
16903
|
"data-slot": "dashboard-widget-footer",
|
|
16283
|
-
className: cn("border-border border-t px-4 py-2", accent && "
|
|
16904
|
+
className: cn("border-border border-t px-4 py-2", accent && "ps-6"),
|
|
16284
16905
|
children: footer
|
|
16285
16906
|
}
|
|
16286
16907
|
)
|
|
@@ -16372,7 +16993,7 @@ function DashboardWidgetTableInner({
|
|
|
16372
16993
|
{
|
|
16373
16994
|
className: cn(
|
|
16374
16995
|
"px-4 text-xs",
|
|
16375
|
-
col.align === "right" && "text-
|
|
16996
|
+
col.align === "right" && "text-end",
|
|
16376
16997
|
col.align === "center" && "text-center",
|
|
16377
16998
|
col.className
|
|
16378
16999
|
),
|
|
@@ -16395,7 +17016,7 @@ function DashboardWidgetTableInner({
|
|
|
16395
17016
|
{
|
|
16396
17017
|
className: cn(
|
|
16397
17018
|
"px-4 py-2 text-sm",
|
|
16398
|
-
col.align === "right" && "text-
|
|
17019
|
+
col.align === "right" && "text-end",
|
|
16399
17020
|
col.align === "center" && "text-center",
|
|
16400
17021
|
col.className
|
|
16401
17022
|
),
|
|
@@ -16403,7 +17024,7 @@ function DashboardWidgetTableInner({
|
|
|
16403
17024
|
},
|
|
16404
17025
|
col.key
|
|
16405
17026
|
)),
|
|
16406
|
-
actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-
|
|
17027
|
+
actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-end", children: /* @__PURE__ */ jsx(
|
|
16407
17028
|
WidgetRowActionMenu,
|
|
16408
17029
|
{
|
|
16409
17030
|
row,
|
|
@@ -16505,7 +17126,7 @@ function WidgetRowActionMenu({
|
|
|
16505
17126
|
role: "menuitem",
|
|
16506
17127
|
type: "button",
|
|
16507
17128
|
className: cn(
|
|
16508
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
17129
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
16509
17130
|
"transition-colors duration-100",
|
|
16510
17131
|
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
17132
|
),
|
|
@@ -16567,7 +17188,7 @@ var DashboardWidgetActions = React13.forwardRef(({ className, actions, columns =
|
|
|
16567
17188
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: action.label })
|
|
16568
17189
|
] });
|
|
16569
17190
|
const sharedClasses = cn(
|
|
16570
|
-
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-
|
|
17191
|
+
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-start transition-colors",
|
|
16571
17192
|
"hover:bg-muted/60 hover:border-primary-200 dark:hover:border-primary-800",
|
|
16572
17193
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
16573
17194
|
action.disabled && "opacity-50 cursor-not-allowed pointer-events-none"
|
|
@@ -16609,7 +17230,7 @@ var DashboardWidgetDataCards = React13.forwardRef(({ className, items, columns =
|
|
|
16609
17230
|
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: item.label }),
|
|
16610
17231
|
/* @__PURE__ */ jsxs("dd", { className: "text-foreground mt-0.5 text-sm font-semibold", children: [
|
|
16611
17232
|
item.value,
|
|
16612
|
-
item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
17233
|
+
item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-0.5 text-xs font-normal", children: item.unit })
|
|
16613
17234
|
] })
|
|
16614
17235
|
] }, `${item.label}-${i}`)) }),
|
|
16615
17236
|
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 +17674,9 @@ function DateRangePicker({
|
|
|
17053
17674
|
// In range background
|
|
17054
17675
|
inRange && "bg-muted",
|
|
17055
17676
|
// Start date
|
|
17056
|
-
start && "bg-foreground text-background hover:bg-foreground rounded-
|
|
17677
|
+
start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
|
|
17057
17678
|
// End date
|
|
17058
|
-
end && !start && "border-foreground text-foreground rounded-
|
|
17679
|
+
end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
|
|
17059
17680
|
// Today indicator (only if not start/end)
|
|
17060
17681
|
today && !start && !end && "font-semibold"
|
|
17061
17682
|
),
|
|
@@ -17087,7 +17708,7 @@ function DateRangePicker({
|
|
|
17087
17708
|
"data-slot": "date-range-trigger",
|
|
17088
17709
|
className: cn(
|
|
17089
17710
|
"border-input bg-background hover:bg-muted",
|
|
17090
|
-
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-
|
|
17711
|
+
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
|
|
17091
17712
|
"focus:ring-ring focus:ring-2 focus:outline-none",
|
|
17092
17713
|
"transition-colors",
|
|
17093
17714
|
!displayValue && "text-muted-foreground"
|
|
@@ -17156,7 +17777,7 @@ function DateRangePicker({
|
|
|
17156
17777
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17157
17778
|
"aria-label": "Previous month",
|
|
17158
17779
|
"data-slot": "date-range-nav",
|
|
17159
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
17780
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17160
17781
|
}
|
|
17161
17782
|
),
|
|
17162
17783
|
/* @__PURE__ */ jsxs(
|
|
@@ -17179,7 +17800,7 @@ function DateRangePicker({
|
|
|
17179
17800
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17180
17801
|
"aria-label": "Next month",
|
|
17181
17802
|
"data-slot": "date-range-nav",
|
|
17182
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17803
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17183
17804
|
}
|
|
17184
17805
|
)
|
|
17185
17806
|
]
|
|
@@ -17235,7 +17856,7 @@ function DateRangePicker({
|
|
|
17235
17856
|
"div",
|
|
17236
17857
|
{
|
|
17237
17858
|
className: cn(
|
|
17238
|
-
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-
|
|
17859
|
+
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
|
|
17239
17860
|
isResponsive && "hidden md:flex"
|
|
17240
17861
|
),
|
|
17241
17862
|
"data-slot": "date-range-presets",
|
|
@@ -17246,7 +17867,7 @@ function DateRangePicker({
|
|
|
17246
17867
|
onClick: () => handlePresetSelect(preset.key),
|
|
17247
17868
|
"data-slot": "date-range-preset",
|
|
17248
17869
|
className: cn(
|
|
17249
|
-
"rounded-md px-3 py-1.5 text-
|
|
17870
|
+
"rounded-md px-3 py-1.5 text-start text-sm transition-colors",
|
|
17250
17871
|
"hover:bg-muted",
|
|
17251
17872
|
activePreset === preset.key && "bg-primary-800 text-white"
|
|
17252
17873
|
),
|
|
@@ -17287,7 +17908,7 @@ function DateRangePicker({
|
|
|
17287
17908
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17288
17909
|
"aria-label": "Previous month",
|
|
17289
17910
|
"data-slot": "date-range-nav",
|
|
17290
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
17911
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17291
17912
|
}
|
|
17292
17913
|
),
|
|
17293
17914
|
/* @__PURE__ */ jsxs(
|
|
@@ -17310,7 +17931,7 @@ function DateRangePicker({
|
|
|
17310
17931
|
className: "hover:bg-muted rounded-md p-1 transition-colors md:hidden",
|
|
17311
17932
|
"aria-label": "Next month",
|
|
17312
17933
|
"data-slot": "date-range-nav",
|
|
17313
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17934
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17314
17935
|
}
|
|
17315
17936
|
)
|
|
17316
17937
|
]
|
|
@@ -17345,7 +17966,7 @@ function DateRangePicker({
|
|
|
17345
17966
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17346
17967
|
"aria-label": "Next month",
|
|
17347
17968
|
"data-slot": "date-range-nav",
|
|
17348
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17969
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17349
17970
|
}
|
|
17350
17971
|
)
|
|
17351
17972
|
]
|
|
@@ -17385,9 +18006,9 @@ function DateRangeFilter({
|
|
|
17385
18006
|
Dropdown,
|
|
17386
18007
|
{
|
|
17387
18008
|
trigger: /* @__PURE__ */ jsxs(Button, { variant, size: "md", className, children: [
|
|
17388
|
-
/* @__PURE__ */ jsx(Calendar$1, { className: "
|
|
18009
|
+
/* @__PURE__ */ jsx(Calendar$1, { className: "me-2 h-4 w-4" }),
|
|
17389
18010
|
activeLabel || labels.filter || "Filter by Date",
|
|
17390
|
-
/* @__PURE__ */ jsx(ChevronDown$1, { className: "
|
|
18011
|
+
/* @__PURE__ */ jsx(ChevronDown$1, { className: "ms-2 h-3 w-3" })
|
|
17391
18012
|
] }),
|
|
17392
18013
|
className: "w-56",
|
|
17393
18014
|
"data-slot": "date-range-filter",
|
|
@@ -17625,7 +18246,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
|
|
|
17625
18246
|
"span",
|
|
17626
18247
|
{
|
|
17627
18248
|
className: cn(
|
|
17628
|
-
"absolute
|
|
18249
|
+
"absolute start-2 bottom-2 px-2 py-0.5",
|
|
17629
18250
|
"rounded-full text-xs font-medium",
|
|
17630
18251
|
"bg-black/50 text-white",
|
|
17631
18252
|
"capitalize"
|
|
@@ -18182,15 +18803,15 @@ function DocumentDetectionOverlay({
|
|
|
18182
18803
|
{
|
|
18183
18804
|
className: `absolute inset-4 rounded-lg border-4 transition-colors duration-300 ${borderColor}`,
|
|
18184
18805
|
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 -
|
|
18806
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-1 -top-1 h-6 w-6 rounded-ss border-s-4 border-t-4 border-current" }),
|
|
18807
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-1 -top-1 h-6 w-6 rounded-se border-e-4 border-t-4 border-current" }),
|
|
18808
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-1 -bottom-1 h-6 w-6 rounded-es border-s-4 border-b-4 border-current" }),
|
|
18809
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-1 -bottom-1 h-6 w-6 rounded-ee border-e-4 border-b-4 border-current" })
|
|
18189
18810
|
]
|
|
18190
18811
|
}
|
|
18191
18812
|
),
|
|
18192
18813
|
/* @__PURE__ */ jsx(CountdownDisplay, { seconds: captureCountdown }),
|
|
18193
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute
|
|
18814
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute start-3 end-3 top-3", children: [
|
|
18194
18815
|
/* @__PURE__ */ jsx(
|
|
18195
18816
|
"div",
|
|
18196
18817
|
{
|
|
@@ -18206,7 +18827,7 @@ function DocumentDetectionOverlay({
|
|
|
18206
18827
|
}
|
|
18207
18828
|
) })
|
|
18208
18829
|
] }),
|
|
18209
|
-
showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute
|
|
18830
|
+
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
18831
|
/* @__PURE__ */ jsx(StatusPill, { label: "Focus", isOk: isInFocus, value: focusScore }),
|
|
18211
18832
|
/* @__PURE__ */ jsx(
|
|
18212
18833
|
StatusPill,
|
|
@@ -18247,12 +18868,12 @@ function CameraViewfinder({
|
|
|
18247
18868
|
isReady && detectionOverlay,
|
|
18248
18869
|
isReady && !detectionOverlay && /* @__PURE__ */ jsxs("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
18249
18870
|
/* @__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 -
|
|
18871
|
+
/* @__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" }),
|
|
18872
|
+
/* @__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" }),
|
|
18873
|
+
/* @__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" }),
|
|
18874
|
+
/* @__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
18875
|
] }),
|
|
18255
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
18876
|
+
/* @__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
18877
|
] })
|
|
18257
18878
|
] });
|
|
18258
18879
|
}
|
|
@@ -18265,7 +18886,7 @@ function PermissionDeniedMessage({ onRetry }) {
|
|
|
18265
18886
|
] }),
|
|
18266
18887
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
|
|
18267
18888
|
/* @__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-
|
|
18889
|
+
/* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-start text-sm", children: [
|
|
18269
18890
|
/* @__PURE__ */ jsx("li", { children: "Click the camera/lock icon in your browser's address bar" }),
|
|
18270
18891
|
/* @__PURE__ */ jsx("li", { children: "Allow camera access for this site" }),
|
|
18271
18892
|
/* @__PURE__ */ jsx("li", { children: "Click the button below to try again" })
|
|
@@ -18310,7 +18931,7 @@ function PhotoPreview({
|
|
|
18310
18931
|
{
|
|
18311
18932
|
variant: "primary",
|
|
18312
18933
|
onClick: onConfirm,
|
|
18313
|
-
leftIcon: /* @__PURE__ */ jsx(Check
|
|
18934
|
+
leftIcon: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }),
|
|
18314
18935
|
children: "Use this photo"
|
|
18315
18936
|
}
|
|
18316
18937
|
)
|
|
@@ -19669,7 +20290,7 @@ function ClaimProviderForm({
|
|
|
19669
20290
|
"svg",
|
|
19670
20291
|
{
|
|
19671
20292
|
"aria-hidden": "true",
|
|
19672
|
-
className: "
|
|
20293
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
19673
20294
|
fill: "none",
|
|
19674
20295
|
viewBox: "0 0 24 24",
|
|
19675
20296
|
children: [
|
|
@@ -19911,7 +20532,7 @@ function CreateInvoiceModal({
|
|
|
19911
20532
|
type: "button",
|
|
19912
20533
|
"data-slot": "invoice-modal-order",
|
|
19913
20534
|
onClick: () => toggleOrder(order.id),
|
|
19914
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20535
|
+
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
20536
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
19916
20537
|
/* @__PURE__ */ jsx(
|
|
19917
20538
|
"div",
|
|
@@ -20112,7 +20733,7 @@ function CreateInvoiceModal({
|
|
|
20112
20733
|
"svg",
|
|
20113
20734
|
{
|
|
20114
20735
|
"aria-hidden": "true",
|
|
20115
|
-
className: "
|
|
20736
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20116
20737
|
fill: "none",
|
|
20117
20738
|
viewBox: "0 0 24 24",
|
|
20118
20739
|
children: [
|
|
@@ -20282,7 +20903,7 @@ function CreateReferralModal({
|
|
|
20282
20903
|
"aria-pressed": isSelected,
|
|
20283
20904
|
"data-slot": "referral-modal-service",
|
|
20284
20905
|
onClick: () => toggleService(service.id),
|
|
20285
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20906
|
+
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
20907
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
20287
20908
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20288
20909
|
/* @__PURE__ */ jsx(
|
|
@@ -20393,7 +21014,7 @@ function CreateReferralModal({
|
|
|
20393
21014
|
selectedServices.size > 1 ? "s" : "",
|
|
20394
21015
|
" selected"
|
|
20395
21016
|
] }) }),
|
|
20396
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
21017
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
20397
21018
|
/* @__PURE__ */ jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
|
|
20398
21019
|
/* @__PURE__ */ jsxs(
|
|
20399
21020
|
"p",
|
|
@@ -20427,7 +21048,7 @@ function CreateReferralModal({
|
|
|
20427
21048
|
"svg",
|
|
20428
21049
|
{
|
|
20429
21050
|
"aria-hidden": "true",
|
|
20430
|
-
className: "
|
|
21051
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20431
21052
|
fill: "none",
|
|
20432
21053
|
viewBox: "0 0 24 24",
|
|
20433
21054
|
children: [
|
|
@@ -20570,7 +21191,7 @@ function EditUserRoleModal({
|
|
|
20570
21191
|
"svg",
|
|
20571
21192
|
{
|
|
20572
21193
|
"aria-hidden": "true",
|
|
20573
|
-
className: "
|
|
21194
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20574
21195
|
fill: "none",
|
|
20575
21196
|
viewBox: "0 0 24 24",
|
|
20576
21197
|
children: [
|
|
@@ -21137,7 +21758,7 @@ function EmployeeProfileCard({
|
|
|
21137
21758
|
{
|
|
21138
21759
|
type: "button",
|
|
21139
21760
|
onClick: () => fileInputRef.current?.click(),
|
|
21140
|
-
className: "bg-primary-800 hover:bg-primary-900 absolute
|
|
21761
|
+
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
21762
|
"aria-label": "Edit photo",
|
|
21142
21763
|
"data-slot": "employee-card-photo-edit",
|
|
21143
21764
|
children: /* @__PURE__ */ jsx(Edit2, { className: "h-3 w-3" })
|
|
@@ -21159,7 +21780,7 @@ function EmployeeProfileCard({
|
|
|
21159
21780
|
"flex h-5 w-5 items-center justify-center rounded-full text-white",
|
|
21160
21781
|
employee.isActive ? "bg-success" : "bg-destructive"
|
|
21161
21782
|
),
|
|
21162
|
-
children: employee.isActive ? /* @__PURE__ */ jsx(Check, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
|
|
21783
|
+
children: employee.isActive ? /* @__PURE__ */ jsx(Check$1, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
|
|
21163
21784
|
}
|
|
21164
21785
|
),
|
|
21165
21786
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold", children: fullName })
|
|
@@ -21273,7 +21894,7 @@ function EmployeeProfileCard({
|
|
|
21273
21894
|
"data-cy": "header-payment-status",
|
|
21274
21895
|
"data-slot": "employee-card-detail-row",
|
|
21275
21896
|
children: employee.isPaid ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21276
|
-
/* @__PURE__ */ jsx(Check, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
21897
|
+
/* @__PURE__ */ jsx(Check$1, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
21277
21898
|
/* @__PURE__ */ jsx("span", { className: "text-success-700 dark:text-success-400", children: paid })
|
|
21278
21899
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21279
21900
|
/* @__PURE__ */ jsx(Clock$1, { className: "text-muted-foreground h-4 w-4" }),
|
|
@@ -21455,7 +22076,7 @@ function EmployerContactCard({
|
|
|
21455
22076
|
"svg",
|
|
21456
22077
|
{
|
|
21457
22078
|
"aria-hidden": "true",
|
|
21458
|
-
className: "
|
|
22079
|
+
className: "me-1 h-4 w-4",
|
|
21459
22080
|
fill: "none",
|
|
21460
22081
|
stroke: "currentColor",
|
|
21461
22082
|
viewBox: "0 0 24 24",
|
|
@@ -21663,7 +22284,7 @@ function EmployerList({
|
|
|
21663
22284
|
"svg",
|
|
21664
22285
|
{
|
|
21665
22286
|
"aria-hidden": "true",
|
|
21666
|
-
className: "absolute top-1/2
|
|
22287
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
21667
22288
|
fill: "none",
|
|
21668
22289
|
stroke: "currentColor",
|
|
21669
22290
|
viewBox: "0 0 24 24",
|
|
@@ -21685,7 +22306,7 @@ function EmployerList({
|
|
|
21685
22306
|
placeholder: "Search employers...",
|
|
21686
22307
|
value: searchQuery,
|
|
21687
22308
|
onChange: handleSearch,
|
|
21688
|
-
className: "
|
|
22309
|
+
className: "ps-9"
|
|
21689
22310
|
}
|
|
21690
22311
|
)
|
|
21691
22312
|
] }),
|
|
@@ -21694,7 +22315,7 @@ function EmployerList({
|
|
|
21694
22315
|
"svg",
|
|
21695
22316
|
{
|
|
21696
22317
|
"aria-hidden": "true",
|
|
21697
|
-
className: "
|
|
22318
|
+
className: "me-1 h-4 w-4",
|
|
21698
22319
|
fill: "none",
|
|
21699
22320
|
stroke: "currentColor",
|
|
21700
22321
|
viewBox: "0 0 24 24",
|
|
@@ -21882,7 +22503,7 @@ function EmployerPricingCard({
|
|
|
21882
22503
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
21883
22504
|
!isActive && /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
21884
22505
|
] }),
|
|
21885
|
-
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-
|
|
22506
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
|
|
21886
22507
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
21887
22508
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
21888
22509
|
] })
|
|
@@ -21931,7 +22552,7 @@ function EmployerPricingCard({
|
|
|
21931
22552
|
"svg",
|
|
21932
22553
|
{
|
|
21933
22554
|
"aria-hidden": "true",
|
|
21934
|
-
className: "
|
|
22555
|
+
className: "me-1 h-3.5 w-3.5",
|
|
21935
22556
|
fill: "none",
|
|
21936
22557
|
stroke: "currentColor",
|
|
21937
22558
|
viewBox: "0 0 24 24",
|
|
@@ -21953,7 +22574,7 @@ function EmployerPricingCard({
|
|
|
21953
22574
|
"svg",
|
|
21954
22575
|
{
|
|
21955
22576
|
"aria-hidden": "true",
|
|
21956
|
-
className: "
|
|
22577
|
+
className: "me-1 h-3.5 w-3.5 text-red-500",
|
|
21957
22578
|
fill: "none",
|
|
21958
22579
|
stroke: "currentColor",
|
|
21959
22580
|
viewBox: "0 0 24 24",
|
|
@@ -22170,7 +22791,7 @@ function EmployerView({
|
|
|
22170
22791
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
22171
22792
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
22172
22793
|
] }),
|
|
22173
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22794
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22174
22795
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
22175
22796
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
22176
22797
|
] }),
|
|
@@ -22206,7 +22827,7 @@ function EmployerView({
|
|
|
22206
22827
|
formatDate4(invoice.dueDate)
|
|
22207
22828
|
] })
|
|
22208
22829
|
] }),
|
|
22209
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22830
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22210
22831
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
|
|
22211
22832
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
22212
22833
|
] }),
|
|
@@ -22381,7 +23002,7 @@ function EmployerServiceModal({
|
|
|
22381
23002
|
!config.useBasePrice && /* @__PURE__ */ jsxs(
|
|
22382
23003
|
"div",
|
|
22383
23004
|
{
|
|
22384
|
-
className: "border-border
|
|
23005
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22385
23006
|
"data-slot": "employer-service-indent",
|
|
22386
23007
|
children: [
|
|
22387
23008
|
/* @__PURE__ */ jsx(
|
|
@@ -22397,7 +23018,7 @@ function EmployerServiceModal({
|
|
|
22397
23018
|
/* @__PURE__ */ jsx(
|
|
22398
23019
|
"span",
|
|
22399
23020
|
{
|
|
22400
|
-
className: "text-muted-foreground absolute top-1/2
|
|
23021
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
22401
23022
|
"data-slot": "employer-service-price-prefix",
|
|
22402
23023
|
children: "$"
|
|
22403
23024
|
}
|
|
@@ -22410,7 +23031,7 @@ function EmployerServiceModal({
|
|
|
22410
23031
|
min: "0",
|
|
22411
23032
|
step: "0.01",
|
|
22412
23033
|
"data-slot": "employer-service-price-input",
|
|
22413
|
-
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2
|
|
23034
|
+
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
23035
|
value: config.customPrice ?? "",
|
|
22415
23036
|
onChange: (e) => setConfig((prev) => ({
|
|
22416
23037
|
...prev,
|
|
@@ -22518,7 +23139,7 @@ function EmployerServiceModal({
|
|
|
22518
23139
|
config.notifyOnOrder && /* @__PURE__ */ jsx(
|
|
22519
23140
|
"div",
|
|
22520
23141
|
{
|
|
22521
|
-
className: "border-border
|
|
23142
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22522
23143
|
"data-slot": "employer-service-indent",
|
|
22523
23144
|
children: /* @__PURE__ */ jsx(
|
|
22524
23145
|
Input,
|
|
@@ -22576,7 +23197,7 @@ function EmployerServiceModal({
|
|
|
22576
23197
|
"svg",
|
|
22577
23198
|
{
|
|
22578
23199
|
"aria-hidden": "true",
|
|
22579
|
-
className: "
|
|
23200
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
22580
23201
|
"data-slot": "employer-service-spinner",
|
|
22581
23202
|
fill: "none",
|
|
22582
23203
|
viewBox: "0 0 24 24",
|
|
@@ -22775,7 +23396,7 @@ function ServerErrorPage({
|
|
|
22775
23396
|
showErrorDetails && errorMessage && /* @__PURE__ */ jsx(
|
|
22776
23397
|
"div",
|
|
22777
23398
|
{
|
|
22778
|
-
className: "mt-4 max-w-2xl text-
|
|
23399
|
+
className: "mt-4 max-w-2xl text-start",
|
|
22779
23400
|
"data-slot": "error-page-details",
|
|
22780
23401
|
children: /* @__PURE__ */ jsxs("details", { className: "rounded-lg bg-gray-100 p-4 dark:bg-gray-800", children: [
|
|
22781
23402
|
/* @__PURE__ */ jsx("summary", { className: "cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-300", children: "Error Details" }),
|
|
@@ -23300,7 +23921,7 @@ function FileManager({
|
|
|
23300
23921
|
TableCell,
|
|
23301
23922
|
{
|
|
23302
23923
|
"data-slot": "file-manager-actions",
|
|
23303
|
-
className: "text-
|
|
23924
|
+
className: "text-end",
|
|
23304
23925
|
children: /* @__PURE__ */ jsx(
|
|
23305
23926
|
FileRowActionMenu,
|
|
23306
23927
|
{
|
|
@@ -23455,7 +24076,7 @@ function FileRowActionMenu({
|
|
|
23455
24076
|
role: "menuitem",
|
|
23456
24077
|
type: "button",
|
|
23457
24078
|
className: cn(
|
|
23458
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
24079
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
23459
24080
|
"transition-colors duration-100",
|
|
23460
24081
|
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
24082
|
),
|
|
@@ -23586,7 +24207,7 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23586
24207
|
"aria-expanded": isOpen,
|
|
23587
24208
|
"aria-label": `${isOpen ? "Hide" : "Show"} orders for ${programLabel(item.key)}`,
|
|
23588
24209
|
className: "text-muted-foreground hover:text-foreground shrink-0",
|
|
23589
|
-
children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 14 })
|
|
24210
|
+
children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight$1, { size: 14, className: "rtl:-scale-x-100" })
|
|
23590
24211
|
}
|
|
23591
24212
|
) : /* @__PURE__ */ jsx("span", { className: "w-3.5 shrink-0" }),
|
|
23592
24213
|
/* @__PURE__ */ jsx(Badge, { variant: badge.variant, size: "sm", children: badge.label }),
|
|
@@ -23608,11 +24229,11 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23608
24229
|
return /* @__PURE__ */ jsxs(
|
|
23609
24230
|
"div",
|
|
23610
24231
|
{
|
|
23611
|
-
className: cn(level > 0 && "border-border border-
|
|
23612
|
-
style: level > 0 ? {
|
|
24232
|
+
className: cn(level > 0 && "border-border border-s-2"),
|
|
24233
|
+
style: level > 0 ? { marginInlineStart: (level - 1) * 16 + 2 } : void 0,
|
|
23613
24234
|
children: [
|
|
23614
|
-
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
23615
|
-
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "
|
|
24235
|
+
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
|
|
24236
|
+
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
|
|
23616
24237
|
const isPending = item.pendingKeys.includes(o);
|
|
23617
24238
|
return /* @__PURE__ */ jsx(
|
|
23618
24239
|
Checkbox,
|
|
@@ -23824,7 +24445,7 @@ function HelpSupportPanel({
|
|
|
23824
24445
|
"svg",
|
|
23825
24446
|
{
|
|
23826
24447
|
"aria-hidden": "true",
|
|
23827
|
-
className: "
|
|
24448
|
+
className: "me-2 h-4 w-4",
|
|
23828
24449
|
fill: "none",
|
|
23829
24450
|
stroke: "currentColor",
|
|
23830
24451
|
viewBox: "0 0 24 24",
|
|
@@ -23848,7 +24469,7 @@ function HelpSupportPanel({
|
|
|
23848
24469
|
"svg",
|
|
23849
24470
|
{
|
|
23850
24471
|
"aria-hidden": "true",
|
|
23851
|
-
className: "
|
|
24472
|
+
className: "me-2 h-4 w-4",
|
|
23852
24473
|
fill: "none",
|
|
23853
24474
|
stroke: "currentColor",
|
|
23854
24475
|
viewBox: "0 0 24 24",
|
|
@@ -23891,7 +24512,7 @@ function HelpSupportPanel({
|
|
|
23891
24512
|
/* @__PURE__ */ jsxs(
|
|
23892
24513
|
"button",
|
|
23893
24514
|
{
|
|
23894
|
-
className: "flex w-full items-center justify-between px-4 py-3 text-
|
|
24515
|
+
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
24516
|
onClick: () => setExpandedFaq(
|
|
23896
24517
|
expandedFaq === faq.id ? null : faq.id
|
|
23897
24518
|
),
|
|
@@ -24298,7 +24919,7 @@ function HRISProviderSelector({
|
|
|
24298
24919
|
className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
|
|
24299
24920
|
"data-slot": "hris-connected-btn",
|
|
24300
24921
|
children: [
|
|
24301
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash
|
|
24922
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash me-2" }),
|
|
24302
24923
|
disconnect
|
|
24303
24924
|
]
|
|
24304
24925
|
}
|
|
@@ -24311,7 +24932,7 @@ function HRISProviderSelector({
|
|
|
24311
24932
|
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
24312
24933
|
"data-slot": "hris-connected-btn-primary",
|
|
24313
24934
|
children: [
|
|
24314
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate
|
|
24935
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate me-2" }),
|
|
24315
24936
|
refreshSync
|
|
24316
24937
|
]
|
|
24317
24938
|
}
|
|
@@ -24328,7 +24949,7 @@ function HRISProviderSelector({
|
|
|
24328
24949
|
/* @__PURE__ */ jsx(
|
|
24329
24950
|
"span",
|
|
24330
24951
|
{
|
|
24331
|
-
className: "text-muted-foreground absolute top-1/2
|
|
24952
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
24332
24953
|
"data-slot": "hris-search-icon",
|
|
24333
24954
|
children: /* @__PURE__ */ jsx("i", { className: "fas fa-search" })
|
|
24334
24955
|
}
|
|
@@ -24340,7 +24961,7 @@ function HRISProviderSelector({
|
|
|
24340
24961
|
placeholder: search,
|
|
24341
24962
|
value: searchQuery,
|
|
24342
24963
|
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
|
|
24964
|
+
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
24965
|
"data-slot": "hris-search-input"
|
|
24345
24966
|
}
|
|
24346
24967
|
)
|
|
@@ -24549,10 +25170,10 @@ function InventoryManager({
|
|
|
24549
25170
|
/* @__PURE__ */ jsx("hr", { className: "border-border mb-4" }),
|
|
24550
25171
|
logEntries.length > 0 ? /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
24551
25172
|
/* @__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-
|
|
25173
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
25174
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "User" }),
|
|
25175
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Change" }),
|
|
25176
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-end text-xs font-medium tracking-wider uppercase", children: "Quantity" })
|
|
24556
25177
|
] }) }),
|
|
24557
25178
|
/* @__PURE__ */ jsx("tbody", { className: "divide-border/50 divide-y", children: logEntries.map((entry) => /* @__PURE__ */ jsxs(React13.Fragment, { children: [
|
|
24558
25179
|
/* @__PURE__ */ jsxs("tr", { children: [
|
|
@@ -24566,7 +25187,7 @@ function InventoryManager({
|
|
|
24566
25187
|
),
|
|
24567
25188
|
/* @__PURE__ */ jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.createdBy.name }),
|
|
24568
25189
|
/* @__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-
|
|
25190
|
+
/* @__PURE__ */ jsx("td", { className: "py-2 text-end text-sm", children: /* @__PURE__ */ jsxs(
|
|
24570
25191
|
"span",
|
|
24571
25192
|
{
|
|
24572
25193
|
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 +25234,7 @@ function InventoryManager({
|
|
|
24613
25234
|
}
|
|
24614
25235
|
) })
|
|
24615
25236
|
] }),
|
|
24616
|
-
entry.memo && /* @__PURE__ */ jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsx("td", { colSpan: 4, className: "px-2 py-1 text-
|
|
25237
|
+
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
25238
|
"Memo: ",
|
|
24618
25239
|
entry.memo
|
|
24619
25240
|
] }) }) })
|
|
@@ -24661,13 +25282,13 @@ function InventoryManager({
|
|
|
24661
25282
|
{
|
|
24662
25283
|
type: "button",
|
|
24663
25284
|
onClick: () => setUpdateType("debit"),
|
|
24664
|
-
className: `rounded-
|
|
25285
|
+
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
25286
|
children: [
|
|
24666
25287
|
/* @__PURE__ */ jsx(
|
|
24667
25288
|
"svg",
|
|
24668
25289
|
{
|
|
24669
25290
|
"aria-hidden": "true",
|
|
24670
|
-
className: "
|
|
25291
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24671
25292
|
fill: "none",
|
|
24672
25293
|
viewBox: "0 0 24 24",
|
|
24673
25294
|
stroke: "currentColor",
|
|
@@ -24691,13 +25312,13 @@ function InventoryManager({
|
|
|
24691
25312
|
{
|
|
24692
25313
|
type: "button",
|
|
24693
25314
|
onClick: () => setUpdateType("credit"),
|
|
24694
|
-
className: `rounded-
|
|
25315
|
+
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
25316
|
children: [
|
|
24696
25317
|
/* @__PURE__ */ jsx(
|
|
24697
25318
|
"svg",
|
|
24698
25319
|
{
|
|
24699
25320
|
"aria-hidden": "true",
|
|
24700
|
-
className: "
|
|
25321
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24701
25322
|
fill: "none",
|
|
24702
25323
|
viewBox: "0 0 24 24",
|
|
24703
25324
|
stroke: "currentColor",
|
|
@@ -24990,7 +25611,7 @@ function InviteUserModal({
|
|
|
24990
25611
|
"svg",
|
|
24991
25612
|
{
|
|
24992
25613
|
"aria-hidden": "true",
|
|
24993
|
-
className: "
|
|
25614
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
24994
25615
|
"data-slot": "invite-user-spinner",
|
|
24995
25616
|
fill: "none",
|
|
24996
25617
|
viewBox: "0 0 24 24",
|
|
@@ -25117,7 +25738,7 @@ function InvoiceList({
|
|
|
25117
25738
|
"svg",
|
|
25118
25739
|
{
|
|
25119
25740
|
"aria-hidden": "true",
|
|
25120
|
-
className: "absolute top-1/2
|
|
25741
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
25121
25742
|
fill: "none",
|
|
25122
25743
|
stroke: "currentColor",
|
|
25123
25744
|
viewBox: "0 0 24 24",
|
|
@@ -25139,7 +25760,7 @@ function InvoiceList({
|
|
|
25139
25760
|
placeholder: "Search invoices...",
|
|
25140
25761
|
value: searchQuery,
|
|
25141
25762
|
onChange: handleSearch,
|
|
25142
|
-
className: "
|
|
25763
|
+
className: "ps-9"
|
|
25143
25764
|
}
|
|
25144
25765
|
)
|
|
25145
25766
|
] }),
|
|
@@ -25165,7 +25786,7 @@ function InvoiceList({
|
|
|
25165
25786
|
"svg",
|
|
25166
25787
|
{
|
|
25167
25788
|
"aria-hidden": "true",
|
|
25168
|
-
className: "
|
|
25789
|
+
className: "me-1 h-4 w-4",
|
|
25169
25790
|
fill: "none",
|
|
25170
25791
|
stroke: "currentColor",
|
|
25171
25792
|
viewBox: "0 0 24 24",
|
|
@@ -25257,11 +25878,11 @@ function InvoiceList({
|
|
|
25257
25878
|
className: "overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
25258
25879
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
25259
25880
|
/* @__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-
|
|
25881
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Invoice" }),
|
|
25882
|
+
/* @__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" }),
|
|
25883
|
+
/* @__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" }),
|
|
25884
|
+
/* @__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" }),
|
|
25885
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
25265
25886
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" })
|
|
25266
25887
|
] }) }),
|
|
25267
25888
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: filteredInvoices.map((invoice) => /* @__PURE__ */ jsxs(
|
|
@@ -25284,7 +25905,7 @@ function InvoiceList({
|
|
|
25284
25905
|
children: formatDate4(invoice.dueDate)
|
|
25285
25906
|
}
|
|
25286
25907
|
) }),
|
|
25287
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
25908
|
+
/* @__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
25909
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status }) })
|
|
25289
25910
|
]
|
|
25290
25911
|
},
|
|
@@ -25515,12 +26136,12 @@ function InvoicePaymentPage({
|
|
|
25515
26136
|
className: "border-t border-gray-200 pt-4 dark:border-gray-700",
|
|
25516
26137
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-sm", children: [
|
|
25517
26138
|
/* @__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-
|
|
26139
|
+
/* @__PURE__ */ jsx("th", { className: "pb-2 text-start font-medium", children: "Item" }),
|
|
26140
|
+
/* @__PURE__ */ jsx("th", { className: "pb-2 text-end font-medium", children: "Amount" })
|
|
25520
26141
|
] }) }),
|
|
25521
26142
|
/* @__PURE__ */ jsx("tbody", { className: "text-gray-700 dark:text-gray-300", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { children: [
|
|
25522
26143
|
/* @__PURE__ */ jsx("td", { className: "py-1", children: item.description }),
|
|
25523
|
-
/* @__PURE__ */ jsx("td", { className: "py-1 text-
|
|
26144
|
+
/* @__PURE__ */ jsx("td", { className: "py-1 text-end", children: formatCurrency3(item.total) })
|
|
25524
26145
|
] }, item.id)) })
|
|
25525
26146
|
] })
|
|
25526
26147
|
}
|
|
@@ -25680,7 +26301,7 @@ function InvoicePaymentPage({
|
|
|
25680
26301
|
"svg",
|
|
25681
26302
|
{
|
|
25682
26303
|
"aria-hidden": "true",
|
|
25683
|
-
className: "
|
|
26304
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
25684
26305
|
fill: "none",
|
|
25685
26306
|
viewBox: "0 0 24 24",
|
|
25686
26307
|
children: [
|
|
@@ -25772,7 +26393,7 @@ function InvoiceView({
|
|
|
25772
26393
|
"svg",
|
|
25773
26394
|
{
|
|
25774
26395
|
"aria-hidden": "true",
|
|
25775
|
-
className: "
|
|
26396
|
+
className: "me-1 h-4 w-4",
|
|
25776
26397
|
fill: "none",
|
|
25777
26398
|
stroke: "currentColor",
|
|
25778
26399
|
viewBox: "0 0 24 24",
|
|
@@ -25813,7 +26434,7 @@ function InvoiceView({
|
|
|
25813
26434
|
"svg",
|
|
25814
26435
|
{
|
|
25815
26436
|
"aria-hidden": "true",
|
|
25816
|
-
className: "
|
|
26437
|
+
className: "me-1 h-4 w-4",
|
|
25817
26438
|
fill: "none",
|
|
25818
26439
|
stroke: "currentColor",
|
|
25819
26440
|
viewBox: "0 0 24 24",
|
|
@@ -25844,7 +26465,7 @@ function InvoiceView({
|
|
|
25844
26465
|
"svg",
|
|
25845
26466
|
{
|
|
25846
26467
|
"aria-hidden": "true",
|
|
25847
|
-
className: "
|
|
26468
|
+
className: "me-1 h-4 w-4",
|
|
25848
26469
|
fill: "none",
|
|
25849
26470
|
stroke: "currentColor",
|
|
25850
26471
|
viewBox: "0 0 24 24",
|
|
@@ -25885,7 +26506,7 @@ function InvoiceView({
|
|
|
25885
26506
|
"svg",
|
|
25886
26507
|
{
|
|
25887
26508
|
"aria-hidden": "true",
|
|
25888
|
-
className: "
|
|
26509
|
+
className: "me-1 h-4 w-4",
|
|
25889
26510
|
fill: "none",
|
|
25890
26511
|
stroke: "currentColor",
|
|
25891
26512
|
viewBox: "0 0 24 24",
|
|
@@ -25909,7 +26530,7 @@ function InvoiceView({
|
|
|
25909
26530
|
"svg",
|
|
25910
26531
|
{
|
|
25911
26532
|
"aria-hidden": "true",
|
|
25912
|
-
className: "
|
|
26533
|
+
className: "me-1 h-4 w-4",
|
|
25913
26534
|
fill: "none",
|
|
25914
26535
|
stroke: "currentColor",
|
|
25915
26536
|
viewBox: "0 0 24 24",
|
|
@@ -25959,7 +26580,7 @@ function InvoiceView({
|
|
|
25959
26580
|
"div",
|
|
25960
26581
|
{
|
|
25961
26582
|
"data-slot": "invoice-view-meta",
|
|
25962
|
-
className: "text-
|
|
26583
|
+
className: "text-start sm:text-end",
|
|
25963
26584
|
children: [
|
|
25964
26585
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "INVOICE" }),
|
|
25965
26586
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
@@ -25999,10 +26620,10 @@ function InvoiceView({
|
|
|
25999
26620
|
className: "mb-6 overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
26000
26621
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
26001
26622
|
/* @__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-
|
|
26623
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium uppercase", children: "Description" }),
|
|
26003
26624
|
/* @__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-
|
|
26625
|
+
/* @__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" }),
|
|
26626
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium uppercase", children: "Total" })
|
|
26006
26627
|
] }) }),
|
|
26007
26628
|
/* @__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
26629
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
@@ -26013,8 +26634,8 @@ function InvoiceView({
|
|
|
26013
26634
|
] })
|
|
26014
26635
|
] }),
|
|
26015
26636
|
/* @__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-
|
|
26637
|
+
/* @__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) }),
|
|
26638
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end font-medium text-gray-900 dark:text-white", children: formatCurrency3(item.total) })
|
|
26018
26639
|
] }, item.id)) })
|
|
26019
26640
|
] })
|
|
26020
26641
|
}
|
|
@@ -26072,7 +26693,7 @@ var DEFAULT_LANGUAGES = [
|
|
|
26072
26693
|
{ code: "hi", name: "\u0939\u093F\u0928\u094D\u0926\u0940", englishName: "Hindi", flag: "\u{1F1EE}\u{1F1F3}" },
|
|
26073
26694
|
{ code: "ru", name: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", englishName: "Russian", flag: "\u{1F1F7}\u{1F1FA}" }
|
|
26074
26695
|
];
|
|
26075
|
-
var selectorVariants = cva("relative inline-block text-
|
|
26696
|
+
var selectorVariants = cva("relative inline-block text-start", {
|
|
26076
26697
|
variants: {
|
|
26077
26698
|
size: {
|
|
26078
26699
|
sm: "",
|
|
@@ -26249,7 +26870,7 @@ function LanguageSelectorNative({
|
|
|
26249
26870
|
disabled,
|
|
26250
26871
|
"aria-label": label,
|
|
26251
26872
|
className: cn(
|
|
26252
|
-
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
26873
|
+
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2 pe-8 text-sm",
|
|
26253
26874
|
"focus:border-primary-500 focus:ring-primary-500 text-gray-700 focus:ring-2 focus:outline-none",
|
|
26254
26875
|
"dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200",
|
|
26255
26876
|
disabled && "cursor-not-allowed opacity-50",
|
|
@@ -26264,7 +26885,7 @@ function LanguageSelectorNative({
|
|
|
26264
26885
|
]
|
|
26265
26886
|
}
|
|
26266
26887
|
),
|
|
26267
|
-
/* @__PURE__ */ jsx(ChevronDownIcon2, { className: "pointer-events-none absolute top-1/2
|
|
26888
|
+
/* @__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
26889
|
] });
|
|
26269
26890
|
}
|
|
26270
26891
|
function LanguageSelectorInline({
|
|
@@ -26294,13 +26915,13 @@ function LanguageSelectorInline({
|
|
|
26294
26915
|
"data-slot": "language-selector-inline-option",
|
|
26295
26916
|
className: cn(
|
|
26296
26917
|
"px-3 py-1.5 text-sm transition-colors",
|
|
26297
|
-
index === 0 && "rounded-
|
|
26298
|
-
index === languages.length - 1 && "rounded-
|
|
26299
|
-
index > 0 && "border-
|
|
26918
|
+
index === 0 && "rounded-s-lg",
|
|
26919
|
+
index === languages.length - 1 && "rounded-e-lg",
|
|
26920
|
+
index > 0 && "border-s border-gray-200 dark:border-gray-700",
|
|
26300
26921
|
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
26922
|
),
|
|
26302
26923
|
children: [
|
|
26303
|
-
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "
|
|
26924
|
+
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "me-1", children: language.flag }),
|
|
26304
26925
|
language.code.toUpperCase()
|
|
26305
26926
|
]
|
|
26306
26927
|
},
|
|
@@ -26433,7 +27054,7 @@ function LoadingBar({
|
|
|
26433
27054
|
showPercentage && !isIndeterminate && /* @__PURE__ */ jsxs(
|
|
26434
27055
|
"p",
|
|
26435
27056
|
{
|
|
26436
|
-
className: "text-muted-foreground mt-1 text-
|
|
27057
|
+
className: "text-muted-foreground mt-1 text-end text-sm",
|
|
26437
27058
|
"data-slot": "loading-bar-percentage",
|
|
26438
27059
|
children: [
|
|
26439
27060
|
Math.round(progress),
|
|
@@ -27055,7 +27676,7 @@ function OnboardingWizard({
|
|
|
27055
27676
|
/* @__PURE__ */ jsxs(
|
|
27056
27677
|
"div",
|
|
27057
27678
|
{
|
|
27058
|
-
className: "
|
|
27679
|
+
className: "ms-3 hidden flex-col lg:flex",
|
|
27059
27680
|
"data-slot": "onboarding-header-brand",
|
|
27060
27681
|
children: [
|
|
27061
27682
|
/* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: brandName }),
|
|
@@ -27222,7 +27843,7 @@ function OnboardingStepQuestion({
|
|
|
27222
27843
|
onClick: () => onSelect?.(option.id),
|
|
27223
27844
|
className: "rounded-full",
|
|
27224
27845
|
children: [
|
|
27225
|
-
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "
|
|
27846
|
+
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "me-2") }),
|
|
27226
27847
|
option.label
|
|
27227
27848
|
]
|
|
27228
27849
|
},
|
|
@@ -27250,7 +27871,7 @@ function OnboardingCompletion({
|
|
|
27250
27871
|
className: "text-foreground mb-0 text-2xl",
|
|
27251
27872
|
"data-slot": "onboarding-completion-title",
|
|
27252
27873
|
children: [
|
|
27253
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle
|
|
27874
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
|
|
27254
27875
|
"Setup complete!"
|
|
27255
27876
|
]
|
|
27256
27877
|
}
|
|
@@ -27271,15 +27892,15 @@ function OnboardingCompletion({
|
|
|
27271
27892
|
"data-slot": "onboarding-completion-actions",
|
|
27272
27893
|
children: [
|
|
27273
27894
|
/* @__PURE__ */ jsxs(Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
27274
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart
|
|
27895
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
27275
27896
|
"Start your first order"
|
|
27276
27897
|
] }),
|
|
27277
27898
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
27278
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt
|
|
27899
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
27279
27900
|
"Go to Dashboard"
|
|
27280
27901
|
] }),
|
|
27281
27902
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
27282
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-users
|
|
27903
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-users me-2" }),
|
|
27283
27904
|
"Go to Employees"
|
|
27284
27905
|
] })
|
|
27285
27906
|
]
|
|
@@ -27430,7 +28051,7 @@ function OrderCard({
|
|
|
27430
28051
|
}
|
|
27431
28052
|
)
|
|
27432
28053
|
] }),
|
|
27433
|
-
totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-
|
|
28054
|
+
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
28055
|
] }),
|
|
27435
28056
|
/* @__PURE__ */ jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27436
28057
|
/* @__PURE__ */ jsx(
|
|
@@ -27511,7 +28132,7 @@ function OrderCard({
|
|
|
27511
28132
|
children: "View Details"
|
|
27512
28133
|
}
|
|
27513
28134
|
),
|
|
27514
|
-
showActions && /* @__PURE__ */ jsxs("div", { className: "
|
|
28135
|
+
showActions && /* @__PURE__ */ jsxs("div", { className: "ms-auto flex gap-2", children: [
|
|
27515
28136
|
onReject && /* @__PURE__ */ jsx(
|
|
27516
28137
|
"button",
|
|
27517
28138
|
{
|
|
@@ -28026,7 +28647,7 @@ function OrderConfirmationWizard({
|
|
|
28026
28647
|
"svg",
|
|
28027
28648
|
{
|
|
28028
28649
|
"aria-hidden": "true",
|
|
28029
|
-
className: "
|
|
28650
|
+
className: "me-1 h-4 w-4",
|
|
28030
28651
|
fill: "none",
|
|
28031
28652
|
stroke: "currentColor",
|
|
28032
28653
|
viewBox: "0 0 24 24",
|
|
@@ -28066,7 +28687,7 @@ function OrderConfirmationWizard({
|
|
|
28066
28687
|
"svg",
|
|
28067
28688
|
{
|
|
28068
28689
|
"aria-hidden": "true",
|
|
28069
|
-
className: "
|
|
28690
|
+
className: "ms-1 h-4 w-4",
|
|
28070
28691
|
fill: "none",
|
|
28071
28692
|
stroke: "currentColor",
|
|
28072
28693
|
viewBox: "0 0 24 24",
|
|
@@ -28093,7 +28714,7 @@ function OrderConfirmationWizard({
|
|
|
28093
28714
|
"svg",
|
|
28094
28715
|
{
|
|
28095
28716
|
"aria-hidden": "true",
|
|
28096
|
-
className: "
|
|
28717
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28097
28718
|
fill: "none",
|
|
28098
28719
|
viewBox: "0 0 24 24",
|
|
28099
28720
|
children: [
|
|
@@ -28126,7 +28747,7 @@ function OrderConfirmationWizard({
|
|
|
28126
28747
|
"svg",
|
|
28127
28748
|
{
|
|
28128
28749
|
"aria-hidden": "true",
|
|
28129
|
-
className: "
|
|
28750
|
+
className: "ms-1 h-4 w-4",
|
|
28130
28751
|
fill: "none",
|
|
28131
28752
|
stroke: "currentColor",
|
|
28132
28753
|
viewBox: "0 0 24 24",
|
|
@@ -28226,7 +28847,7 @@ function OrderList({
|
|
|
28226
28847
|
{
|
|
28227
28848
|
"data-slot": "order-list-tab-count",
|
|
28228
28849
|
className: cn(
|
|
28229
|
-
"
|
|
28850
|
+
"ms-2 rounded-full px-2 py-0.5 text-xs",
|
|
28230
28851
|
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
28852
|
),
|
|
28232
28853
|
children: count
|
|
@@ -28250,7 +28871,7 @@ function OrderList({
|
|
|
28250
28871
|
"svg",
|
|
28251
28872
|
{
|
|
28252
28873
|
"aria-hidden": "true",
|
|
28253
|
-
className: "absolute top-1/2
|
|
28874
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
28254
28875
|
fill: "none",
|
|
28255
28876
|
viewBox: "0 0 24 24",
|
|
28256
28877
|
stroke: "currentColor",
|
|
@@ -28272,7 +28893,7 @@ function OrderList({
|
|
|
28272
28893
|
placeholder: searchPlaceholder,
|
|
28273
28894
|
value: searchValue,
|
|
28274
28895
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
28275
|
-
className: "rounded-lg border border-gray-300 bg-white py-2
|
|
28896
|
+
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
28897
|
}
|
|
28277
28898
|
)
|
|
28278
28899
|
] }),
|
|
@@ -28804,7 +29425,7 @@ function OrderLookupForm({
|
|
|
28804
29425
|
"svg",
|
|
28805
29426
|
{
|
|
28806
29427
|
"aria-hidden": "true",
|
|
28807
|
-
className: "
|
|
29428
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28808
29429
|
fill: "none",
|
|
28809
29430
|
viewBox: "0 0 24 24",
|
|
28810
29431
|
children: [
|
|
@@ -28914,7 +29535,7 @@ function OrderSidebar({
|
|
|
28914
29535
|
"div",
|
|
28915
29536
|
{
|
|
28916
29537
|
"data-slot": "order-sidebar",
|
|
28917
|
-
className: `fixed
|
|
29538
|
+
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
29539
|
role: "dialog",
|
|
28919
29540
|
"aria-modal": "true",
|
|
28920
29541
|
"aria-label": "Order details",
|
|
@@ -29033,7 +29654,7 @@ function OrderSidebar({
|
|
|
29033
29654
|
"div",
|
|
29034
29655
|
{
|
|
29035
29656
|
"data-slot": "order-sidebar-footer",
|
|
29036
|
-
className: "absolute
|
|
29657
|
+
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
29658
|
children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsx(
|
|
29038
29659
|
Button,
|
|
29039
29660
|
{
|
|
@@ -29348,7 +29969,7 @@ function PatientOverflowMenu({
|
|
|
29348
29969
|
}
|
|
29349
29970
|
)
|
|
29350
29971
|
] }),
|
|
29351
|
-
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-
|
|
29972
|
+
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
|
|
29352
29973
|
/* @__PURE__ */ jsxs("div", { className: "md:min-w-[26rem]", children: [
|
|
29353
29974
|
/* @__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
29975
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
|
|
@@ -29549,8 +30170,8 @@ var PatientHeader = React13.forwardRef(
|
|
|
29549
30170
|
onClick: onBack,
|
|
29550
30171
|
disabled: !onBack,
|
|
29551
30172
|
"aria-label": "Go back",
|
|
29552
|
-
className: "mt-1
|
|
29553
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
|
|
30173
|
+
className: "-ms-2 mt-1 h-8 w-8 shrink-0",
|
|
30174
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
|
|
29554
30175
|
}
|
|
29555
30176
|
),
|
|
29556
30177
|
/* @__PURE__ */ jsx(
|
|
@@ -29645,7 +30266,7 @@ var PatientHeader = React13.forwardRef(
|
|
|
29645
30266
|
)
|
|
29646
30267
|
] })
|
|
29647
30268
|
] }),
|
|
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-
|
|
30269
|
+
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
30270
|
(flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
|
|
29650
30271
|
).join(" \xB7 ") }),
|
|
29651
30272
|
/* @__PURE__ */ jsxs(
|
|
@@ -30269,13 +30890,13 @@ function PaymentHistoryTable({
|
|
|
30269
30890
|
className: `overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700 ${className}`,
|
|
30270
30891
|
children: /* @__PURE__ */ jsxs("table", { "data-slot": "payment-history-table", className: "w-full", children: [
|
|
30271
30892
|
/* @__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-
|
|
30893
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
30894
|
+
/* @__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" }),
|
|
30895
|
+
/* @__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" }),
|
|
30896
|
+
/* @__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" }),
|
|
30897
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
30277
30898
|
/* @__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-
|
|
30899
|
+
onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Action" })
|
|
30279
30900
|
] }) }),
|
|
30280
30901
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: payments.map((payment) => /* @__PURE__ */ jsxs(
|
|
30281
30902
|
"tr",
|
|
@@ -30307,7 +30928,7 @@ function PaymentHistoryTable({
|
|
|
30307
30928
|
payment.cardLast4 && ` \u2022\u2022\u2022\u2022 ${payment.cardLast4}`
|
|
30308
30929
|
] })
|
|
30309
30930
|
] }) }),
|
|
30310
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
30931
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: /* @__PURE__ */ jsx(
|
|
30311
30932
|
"p",
|
|
30312
30933
|
{
|
|
30313
30934
|
className: `font-medium ${payment.status === "refunded" ? "text-muted-foreground line-through" : "text-gray-900 dark:text-white"}`,
|
|
@@ -30315,7 +30936,7 @@ function PaymentHistoryTable({
|
|
|
30315
30936
|
}
|
|
30316
30937
|
) }),
|
|
30317
30938
|
/* @__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-
|
|
30939
|
+
onRefund && /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: payment.status === "completed" && /* @__PURE__ */ jsx(
|
|
30319
30940
|
Button,
|
|
30320
30941
|
{
|
|
30321
30942
|
variant: "ghost",
|
|
@@ -30835,11 +31456,11 @@ function PendingClaimsTable({
|
|
|
30835
31456
|
children: [
|
|
30836
31457
|
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
|
|
30837
31458
|
/* @__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-
|
|
31459
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
|
|
31460
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Role" }),
|
|
31461
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
|
|
30841
31462
|
/* @__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-
|
|
31463
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Actions" })
|
|
30843
31464
|
] }) }),
|
|
30844
31465
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxs(
|
|
30845
31466
|
"tr",
|
|
@@ -30857,7 +31478,7 @@ function PendingClaimsTable({
|
|
|
30857
31478
|
/* @__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
31479
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
|
|
30859
31480
|
/* @__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-
|
|
31481
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-end", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
30861
31482
|
onViewDetails && /* @__PURE__ */ jsx(
|
|
30862
31483
|
Button,
|
|
30863
31484
|
{
|
|
@@ -30983,7 +31604,7 @@ function PermissionItem({
|
|
|
30983
31604
|
});
|
|
30984
31605
|
}
|
|
30985
31606
|
};
|
|
30986
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "
|
|
31607
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "ms-4"), "data-slot": "perm-item", children: [
|
|
30987
31608
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", "data-slot": "perm-item-row", children: [
|
|
30988
31609
|
hasChildren && /* @__PURE__ */ jsx(
|
|
30989
31610
|
"button",
|
|
@@ -30994,7 +31615,7 @@ function PermissionItem({
|
|
|
30994
31615
|
"aria-expanded": isExpanded,
|
|
30995
31616
|
"aria-label": isExpanded ? `Collapse ${permission.name}` : `Expand ${permission.name}`,
|
|
30996
31617
|
"data-slot": "perm-item-toggle",
|
|
30997
|
-
children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight
|
|
31618
|
+
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
31619
|
}
|
|
30999
31620
|
),
|
|
31000
31621
|
!hasChildren && /* @__PURE__ */ jsx("span", { className: "w-5" }),
|
|
@@ -31129,16 +31750,16 @@ function PermissionsEditor({
|
|
|
31129
31750
|
]
|
|
31130
31751
|
}
|
|
31131
31752
|
),
|
|
31132
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-4
|
|
31753
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-4 ps-2", "data-slot": "perm-groups", children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxs("div", { children: [
|
|
31133
31754
|
/* @__PURE__ */ jsxs(
|
|
31134
31755
|
"button",
|
|
31135
31756
|
{
|
|
31136
31757
|
type: "button",
|
|
31137
31758
|
onClick: () => toggleGroup(group.id),
|
|
31138
|
-
className: "hover:bg-muted/50 -
|
|
31759
|
+
className: "hover:bg-muted/50 -ms-2 flex w-full items-center gap-2 rounded py-2 ps-2 text-start",
|
|
31139
31760
|
"data-slot": "perm-group-header",
|
|
31140
31761
|
children: [
|
|
31141
|
-
expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight
|
|
31762
|
+
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
31763
|
/* @__PURE__ */ jsx("span", { className: "font-semibold", "data-slot": "perm-group-name", children: group.name })
|
|
31143
31764
|
]
|
|
31144
31765
|
}
|
|
@@ -31146,7 +31767,7 @@ function PermissionsEditor({
|
|
|
31146
31767
|
expandedGroups.has(group.id) && /* @__PURE__ */ jsx(
|
|
31147
31768
|
"div",
|
|
31148
31769
|
{
|
|
31149
|
-
className: "mt-2
|
|
31770
|
+
className: "ms-6 mt-2 border-s ps-4",
|
|
31150
31771
|
"data-slot": "perm-group-list",
|
|
31151
31772
|
children: group.permissions.map((permission) => /* @__PURE__ */ jsx(
|
|
31152
31773
|
PermissionItem,
|
|
@@ -31198,7 +31819,7 @@ function PermissionsEditor({
|
|
|
31198
31819
|
/* @__PURE__ */ jsx(
|
|
31199
31820
|
"div",
|
|
31200
31821
|
{
|
|
31201
|
-
className: "max-h-60 space-y-2 overflow-y-auto
|
|
31822
|
+
className: "max-h-60 space-y-2 overflow-y-auto ps-2",
|
|
31202
31823
|
"data-slot": "perm-employer-list",
|
|
31203
31824
|
children: employers.map((employer) => /* @__PURE__ */ jsxs(
|
|
31204
31825
|
"div",
|
|
@@ -31225,7 +31846,7 @@ function PermissionsEditor({
|
|
|
31225
31846
|
employer.address && /* @__PURE__ */ jsxs(
|
|
31226
31847
|
"span",
|
|
31227
31848
|
{
|
|
31228
|
-
className: "text-muted-foreground
|
|
31849
|
+
className: "text-muted-foreground ms-2",
|
|
31229
31850
|
"data-slot": "perm-employer-addr",
|
|
31230
31851
|
children: [
|
|
31231
31852
|
"| ",
|
|
@@ -31335,7 +31956,7 @@ function RelevanceControl({
|
|
|
31335
31956
|
onClick: () => onChange(active ? null : relevance),
|
|
31336
31957
|
className: cn(
|
|
31337
31958
|
"px-2 py-1 text-xs font-medium transition-colors",
|
|
31338
|
-
"border-border border-
|
|
31959
|
+
"border-border border-s first:border-s-0",
|
|
31339
31960
|
active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
31340
31961
|
),
|
|
31341
31962
|
children: RELEVANCE_LABELS[relevance]
|
|
@@ -31429,6 +32050,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31429
32050
|
/* @__PURE__ */ jsxs(
|
|
31430
32051
|
"li",
|
|
31431
32052
|
{
|
|
32053
|
+
"data-slot": "clinical-list-row",
|
|
31432
32054
|
"data-concern-id": concern.concernId,
|
|
31433
32055
|
tabIndex: draggable ? 0 : void 0,
|
|
31434
32056
|
onKeyDown: draggable ? handleRowKeyDown : void 0,
|
|
@@ -31462,7 +32084,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31462
32084
|
children: "out of scope"
|
|
31463
32085
|
}
|
|
31464
32086
|
),
|
|
31465
|
-
!readOnly && /* @__PURE__ */ jsx("span", { className: "
|
|
32087
|
+
!readOnly && /* @__PURE__ */ jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsx(
|
|
31466
32088
|
RelevanceControl,
|
|
31467
32089
|
{
|
|
31468
32090
|
value: relevance,
|
|
@@ -31509,11 +32131,25 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31509
32131
|
}
|
|
31510
32132
|
),
|
|
31511
32133
|
/* @__PURE__ */ jsxs("section", { "aria-label": "Relevant this visit", children: [
|
|
31512
|
-
/* @__PURE__ */ jsx(
|
|
32134
|
+
/* @__PURE__ */ jsx(
|
|
32135
|
+
"h4",
|
|
32136
|
+
{
|
|
32137
|
+
"data-slot": "clinical-list-heading",
|
|
32138
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
32139
|
+
children: "Relevant this visit"
|
|
32140
|
+
}
|
|
32141
|
+
),
|
|
31513
32142
|
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
32143
|
] }),
|
|
31515
32144
|
unselected.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Patient problem list", children: [
|
|
31516
|
-
/* @__PURE__ */ jsx(
|
|
32145
|
+
/* @__PURE__ */ jsx(
|
|
32146
|
+
"h4",
|
|
32147
|
+
{
|
|
32148
|
+
"data-slot": "clinical-list-heading",
|
|
32149
|
+
className: "border-border text-muted-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
32150
|
+
children: "From patient problem list"
|
|
32151
|
+
}
|
|
32152
|
+
),
|
|
31517
32153
|
/* @__PURE__ */ jsx("ul", { className: "mt-1", children: unselected.map((c) => renderRow(c, true)) })
|
|
31518
32154
|
] }),
|
|
31519
32155
|
!readOnly && onAddProblem && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
@@ -31521,6 +32157,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31521
32157
|
"input",
|
|
31522
32158
|
{
|
|
31523
32159
|
type: "text",
|
|
32160
|
+
"data-slot": "input",
|
|
31524
32161
|
value: draft,
|
|
31525
32162
|
onChange: (e) => setDraft(e.target.value),
|
|
31526
32163
|
onKeyDown: (e) => {
|
|
@@ -31624,7 +32261,7 @@ function ProductVersion({
|
|
|
31624
32261
|
name,
|
|
31625
32262
|
" ",
|
|
31626
32263
|
versionDisplay,
|
|
31627
|
-
build && /* @__PURE__ */ jsxs("span", { className: "
|
|
32264
|
+
build && /* @__PURE__ */ jsxs("span", { className: "ms-1", children: [
|
|
31628
32265
|
"(",
|
|
31629
32266
|
build,
|
|
31630
32267
|
")"
|
|
@@ -32381,7 +33018,7 @@ function Breadcrumb2({ items, className }) {
|
|
|
32381
33018
|
"data-slot": "provider-detail-breadcrumb",
|
|
32382
33019
|
className: cn("py-2", className),
|
|
32383
33020
|
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" }),
|
|
33021
|
+
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4 rtl:-scale-x-100" }),
|
|
32385
33022
|
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
33023
|
"a",
|
|
32387
33024
|
{
|
|
@@ -32410,7 +33047,7 @@ function MobileBackButton({
|
|
|
32410
33047
|
href,
|
|
32411
33048
|
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
33049
|
children: [
|
|
32413
|
-
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
33050
|
+
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4 rtl:-scale-x-100" }),
|
|
32414
33051
|
label
|
|
32415
33052
|
]
|
|
32416
33053
|
}
|
|
@@ -33905,7 +34542,7 @@ var ProviderSearchBar = React13.forwardRef(
|
|
|
33905
34542
|
className: cn(
|
|
33906
34543
|
"border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
33907
34544
|
"w-full",
|
|
33908
|
-
onGeolocate ? "
|
|
34545
|
+
onGeolocate ? "ps-0" : "ps-3"
|
|
33909
34546
|
)
|
|
33910
34547
|
}
|
|
33911
34548
|
) }),
|
|
@@ -34008,7 +34645,7 @@ var inputVariants3 = cva(
|
|
|
34008
34645
|
{
|
|
34009
34646
|
variants: {
|
|
34010
34647
|
hasIcon: {
|
|
34011
|
-
true: "
|
|
34648
|
+
true: "ps-10",
|
|
34012
34649
|
false: ""
|
|
34013
34650
|
}
|
|
34014
34651
|
},
|
|
@@ -34022,10 +34659,9 @@ var selectVariants = cva([
|
|
|
34022
34659
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
34023
34660
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
34024
34661
|
"dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
|
|
34025
|
-
"appearance-none bg-no-repeat bg-right
|
|
34662
|
+
"appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
|
|
34026
34663
|
'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]"
|
|
34664
|
+
"bg-[length:1.5em_1.5em]"
|
|
34029
34665
|
]);
|
|
34030
34666
|
var labelVariants2 = cva([
|
|
34031
34667
|
"text-sm font-medium text-neutral-700 dark:text-neutral-300",
|
|
@@ -34103,7 +34739,7 @@ function InputField({ label, icon, className, id, ...props }) {
|
|
|
34103
34739
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34104
34740
|
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
|
|
34105
34741
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34106
|
-
icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
34742
|
+
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
34743
|
/* @__PURE__ */ jsx(
|
|
34108
34744
|
"input",
|
|
34109
34745
|
{
|
|
@@ -34254,7 +34890,7 @@ function ServiceMultiSelect({
|
|
|
34254
34890
|
"aria-labelledby": label ? void 0 : "services-label",
|
|
34255
34891
|
className: cn(
|
|
34256
34892
|
selectVariants(),
|
|
34257
|
-
"w-full text-
|
|
34893
|
+
"w-full text-start",
|
|
34258
34894
|
!selectedServices.length && "text-muted-foreground",
|
|
34259
34895
|
disabled && "cursor-not-allowed opacity-50"
|
|
34260
34896
|
),
|
|
@@ -34285,11 +34921,11 @@ function ServiceMultiSelect({
|
|
|
34285
34921
|
value: searchTerm,
|
|
34286
34922
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
34287
34923
|
placeholder: "Search services...",
|
|
34288
|
-
className: cn(inputVariants3({ hasIcon: true }), "
|
|
34924
|
+
className: cn(inputVariants3({ hasIcon: true }), "ps-8"),
|
|
34289
34925
|
autoFocus: true
|
|
34290
34926
|
}
|
|
34291
34927
|
),
|
|
34292
|
-
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34928
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
|
|
34293
34929
|
] }),
|
|
34294
34930
|
Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
|
|
34295
34931
|
([category, categoryServices]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -34306,7 +34942,7 @@ function ServiceMultiSelect({
|
|
|
34306
34942
|
"aria-selected": isSelected,
|
|
34307
34943
|
onClick: () => handleToggleService(service.value),
|
|
34308
34944
|
className: cn(
|
|
34309
|
-
"flex w-full items-center justify-between px-3 py-2 text-
|
|
34945
|
+
"flex w-full items-center justify-between px-3 py-2 text-start text-sm",
|
|
34310
34946
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
34311
34947
|
isSelected && "bg-primary-50 dark:bg-primary-900/20"
|
|
34312
34948
|
),
|
|
@@ -34490,7 +35126,7 @@ function CompactFilterBar({
|
|
|
34490
35126
|
"data-slot": "provider-compact-filter",
|
|
34491
35127
|
children: [
|
|
34492
35128
|
/* @__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
|
|
35129
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
|
|
34494
35130
|
/* @__PURE__ */ jsx(
|
|
34495
35131
|
"input",
|
|
34496
35132
|
{
|
|
@@ -34500,7 +35136,7 @@ function CompactFilterBar({
|
|
|
34500
35136
|
onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
|
|
34501
35137
|
disabled: loading,
|
|
34502
35138
|
className: cn(
|
|
34503
|
-
"h-9 w-full rounded-md border border-neutral-200
|
|
35139
|
+
"h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
|
|
34504
35140
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34505
35141
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34506
35142
|
)
|
|
@@ -34523,7 +35159,7 @@ function CompactFilterBar({
|
|
|
34523
35159
|
},
|
|
34524
35160
|
disabled: loading,
|
|
34525
35161
|
className: cn(
|
|
34526
|
-
"h-9 w-20 rounded-
|
|
35162
|
+
"h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
|
|
34527
35163
|
"focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
|
|
34528
35164
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34529
35165
|
)
|
|
@@ -34537,7 +35173,7 @@ function CompactFilterBar({
|
|
|
34537
35173
|
disabled: loading,
|
|
34538
35174
|
"aria-label": "Search radius",
|
|
34539
35175
|
className: cn(
|
|
34540
|
-
"h-9 rounded-
|
|
35176
|
+
"h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
|
|
34541
35177
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34542
35178
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34543
35179
|
),
|
|
@@ -34683,7 +35319,7 @@ function ActiveFilters({
|
|
|
34683
35319
|
{
|
|
34684
35320
|
type: "button",
|
|
34685
35321
|
onClick: filter.onClear,
|
|
34686
|
-
className: "
|
|
35322
|
+
className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
|
|
34687
35323
|
"aria-label": `Remove filter: ${filter.label}`,
|
|
34688
35324
|
children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-3 w-3" })
|
|
34689
35325
|
}
|
|
@@ -34786,7 +35422,7 @@ function ProviderSelector({
|
|
|
34786
35422
|
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
34787
35423
|
disabled,
|
|
34788
35424
|
className: cn(
|
|
34789
|
-
"flex w-full items-center gap-3 rounded-lg border px-3 text-
|
|
35425
|
+
"flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
|
|
34790
35426
|
"bg-background text-foreground",
|
|
34791
35427
|
"border-input",
|
|
34792
35428
|
"hover:border-muted-foreground/50",
|
|
@@ -34903,7 +35539,7 @@ function ProviderSelector({
|
|
|
34903
35539
|
"svg",
|
|
34904
35540
|
{
|
|
34905
35541
|
"aria-hidden": "true",
|
|
34906
|
-
className: "text-muted-foreground absolute top-1/2
|
|
35542
|
+
className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
|
|
34907
35543
|
fill: "none",
|
|
34908
35544
|
viewBox: "0 0 24 24",
|
|
34909
35545
|
stroke: "currentColor",
|
|
@@ -34926,7 +35562,7 @@ function ProviderSelector({
|
|
|
34926
35562
|
placeholder: searchPlaceholder,
|
|
34927
35563
|
value: searchQuery,
|
|
34928
35564
|
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
|
|
35565
|
+
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
35566
|
autoFocus: true
|
|
34931
35567
|
}
|
|
34932
35568
|
)
|
|
@@ -34938,7 +35574,7 @@ function ProviderSelector({
|
|
|
34938
35574
|
"data-slot": "provider-selector-option",
|
|
34939
35575
|
onClick: () => handleSelect(provider),
|
|
34940
35576
|
className: cn(
|
|
34941
|
-
"flex w-full items-center gap-3 px-4 py-3 text-
|
|
35577
|
+
"flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
|
|
34942
35578
|
"hover:bg-muted",
|
|
34943
35579
|
selectedProvider?.id === provider.id && "bg-primary/10"
|
|
34944
35580
|
),
|
|
@@ -35862,7 +36498,7 @@ function ProviderUsersTable({
|
|
|
35862
36498
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
35863
36499
|
/* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35864
36500
|
user.name,
|
|
35865
|
-
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
36501
|
+
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
|
|
35866
36502
|
] }),
|
|
35867
36503
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
35868
36504
|
] })
|
|
@@ -35870,7 +36506,7 @@ function ProviderUsersTable({
|
|
|
35870
36506
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
35871
36507
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
35872
36508
|
/* @__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-
|
|
36509
|
+
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-end", children: /* @__PURE__ */ jsx(
|
|
35874
36510
|
RowActionsMenu,
|
|
35875
36511
|
{
|
|
35876
36512
|
user,
|
|
@@ -35926,11 +36562,11 @@ function QuickLinksCard({
|
|
|
35926
36562
|
"span",
|
|
35927
36563
|
{
|
|
35928
36564
|
"data-slot": "quick-links-icon",
|
|
35929
|
-
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "
|
|
36565
|
+
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "me-3"} `,
|
|
35930
36566
|
children: link.icon
|
|
35931
36567
|
}
|
|
35932
36568
|
),
|
|
35933
|
-
/* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-
|
|
36569
|
+
/* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-start", children: [
|
|
35934
36570
|
/* @__PURE__ */ jsx("span", { className: "text-foreground block text-sm font-medium", children: link.label }),
|
|
35935
36571
|
link.description && layout !== "grid" && /* @__PURE__ */ jsx(
|
|
35936
36572
|
"span",
|
|
@@ -35945,7 +36581,7 @@ function QuickLinksCard({
|
|
|
35945
36581
|
"span",
|
|
35946
36582
|
{
|
|
35947
36583
|
"data-slot": "quick-links-badge",
|
|
35948
|
-
className: "bg-primary/10
|
|
36584
|
+
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
36585
|
children: link.badge
|
|
35950
36586
|
}
|
|
35951
36587
|
),
|
|
@@ -36184,11 +36820,11 @@ function RecurringServiceCard({
|
|
|
36184
36820
|
)
|
|
36185
36821
|
] }),
|
|
36186
36822
|
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
|
|
36823
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
|
|
36188
36824
|
consentNote
|
|
36189
36825
|
] }),
|
|
36190
36826
|
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
|
|
36827
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-times-circle me-1" }),
|
|
36192
36828
|
consentNote
|
|
36193
36829
|
] }),
|
|
36194
36830
|
!isDisabled && /* @__PURE__ */ jsxs(
|
|
@@ -36415,7 +37051,7 @@ function RecurringServiceSetupModal({
|
|
|
36415
37051
|
),
|
|
36416
37052
|
/* @__PURE__ */ jsx("span", { className: "text-sm", children: overrideConsent })
|
|
36417
37053
|
] }),
|
|
36418
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground
|
|
37054
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
|
|
36419
37055
|
] }),
|
|
36420
37056
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36421
37057
|
/* @__PURE__ */ jsx(
|
|
@@ -36592,7 +37228,7 @@ function RejectionModal({
|
|
|
36592
37228
|
showDetails && /* @__PURE__ */ jsxs("div", { "data-slot": "rejection-modal-details", children: [
|
|
36593
37229
|
/* @__PURE__ */ jsxs("label", { className: "text-foreground mb-1 block text-sm font-medium", children: [
|
|
36594
37230
|
detailsLabel,
|
|
36595
|
-
needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive
|
|
37231
|
+
needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", children: "*" })
|
|
36596
37232
|
] }),
|
|
36597
37233
|
/* @__PURE__ */ jsx(
|
|
36598
37234
|
"textarea",
|
|
@@ -36630,7 +37266,7 @@ function RejectionModal({
|
|
|
36630
37266
|
"svg",
|
|
36631
37267
|
{
|
|
36632
37268
|
"aria-hidden": "true",
|
|
36633
|
-
className: "
|
|
37269
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
36634
37270
|
fill: "none",
|
|
36635
37271
|
viewBox: "0 0 24 24",
|
|
36636
37272
|
children: [
|
|
@@ -36802,7 +37438,7 @@ function ReportDashboard({
|
|
|
36802
37438
|
"svg",
|
|
36803
37439
|
{
|
|
36804
37440
|
"aria-hidden": "true",
|
|
36805
|
-
className: "
|
|
37441
|
+
className: "me-2 h-4 w-4",
|
|
36806
37442
|
fill: "none",
|
|
36807
37443
|
stroke: "currentColor",
|
|
36808
37444
|
viewBox: "0 0 24 24",
|
|
@@ -37164,7 +37800,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37164
37800
|
/* @__PURE__ */ jsx(
|
|
37165
37801
|
"span",
|
|
37166
37802
|
{
|
|
37167
|
-
className: "bg-muted border-input rounded-
|
|
37803
|
+
className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
|
|
37168
37804
|
"data-slot": "ref-file-badge",
|
|
37169
37805
|
children: results
|
|
37170
37806
|
}
|
|
@@ -37174,7 +37810,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37174
37810
|
{
|
|
37175
37811
|
value: files.map((f) => f.name).join(", "),
|
|
37176
37812
|
readOnly: true,
|
|
37177
|
-
className: "rounded-none border-
|
|
37813
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37178
37814
|
placeholder: "No files selected"
|
|
37179
37815
|
}
|
|
37180
37816
|
),
|
|
@@ -37193,10 +37829,10 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37193
37829
|
{
|
|
37194
37830
|
type: "button",
|
|
37195
37831
|
variant: "secondary",
|
|
37196
|
-
className: "rounded-
|
|
37832
|
+
className: "rounded-s-none",
|
|
37197
37833
|
onClick: () => fileInputRef.current?.click(),
|
|
37198
37834
|
children: [
|
|
37199
|
-
/* @__PURE__ */ jsx(FileUp, { className: "
|
|
37835
|
+
/* @__PURE__ */ jsx(FileUp, { className: "me-2 h-4 w-4" }),
|
|
37200
37836
|
browseFiles
|
|
37201
37837
|
]
|
|
37202
37838
|
}
|
|
@@ -37214,7 +37850,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37214
37850
|
{
|
|
37215
37851
|
type: "button",
|
|
37216
37852
|
onClick: () => removeFile(index),
|
|
37217
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37853
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37218
37854
|
"data-slot": "ref-file-remove",
|
|
37219
37855
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
37220
37856
|
}
|
|
@@ -37388,7 +38024,7 @@ function ResultsEntryModal({
|
|
|
37388
38024
|
"svg",
|
|
37389
38025
|
{
|
|
37390
38026
|
"aria-hidden": "true",
|
|
37391
|
-
className: "
|
|
38027
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37392
38028
|
fill: "none",
|
|
37393
38029
|
viewBox: "0 0 24 24",
|
|
37394
38030
|
children: [
|
|
@@ -37648,7 +38284,7 @@ function ScheduleCalendar({
|
|
|
37648
38284
|
weekDates.map((date, i) => /* @__PURE__ */ jsxs(
|
|
37649
38285
|
"div",
|
|
37650
38286
|
{
|
|
37651
|
-
className: `flex-1 border-
|
|
38287
|
+
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
38288
|
children: [
|
|
37653
38289
|
/* @__PURE__ */ jsx(
|
|
37654
38290
|
"p",
|
|
@@ -37680,7 +38316,7 @@ function ScheduleCalendar({
|
|
|
37680
38316
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37681
38317
|
"div",
|
|
37682
38318
|
{
|
|
37683
|
-
className: "text-muted-foreground h-16
|
|
38319
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37684
38320
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37685
38321
|
hour: "numeric",
|
|
37686
38322
|
hour12: true
|
|
@@ -37695,7 +38331,7 @@ function ScheduleCalendar({
|
|
|
37695
38331
|
return /* @__PURE__ */ jsxs(
|
|
37696
38332
|
"div",
|
|
37697
38333
|
{
|
|
37698
|
-
className: `relative flex-1 border-
|
|
38334
|
+
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
38335
|
children: [
|
|
37700
38336
|
hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37701
38337
|
"div",
|
|
@@ -37731,7 +38367,7 @@ function ScheduleCalendar({
|
|
|
37731
38367
|
role: "button",
|
|
37732
38368
|
tabIndex: 0,
|
|
37733
38369
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37734
|
-
className: `absolute
|
|
38370
|
+
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
38371
|
style: {
|
|
37736
38372
|
top: position.top,
|
|
37737
38373
|
height: position.height,
|
|
@@ -37955,7 +38591,7 @@ var accordionVariants = cva(
|
|
|
37955
38591
|
);
|
|
37956
38592
|
var categoryHeaderVariants = cva(
|
|
37957
38593
|
[
|
|
37958
|
-
"w-full flex items-center justify-between py-4 px-4 text-
|
|
38594
|
+
"w-full flex items-center justify-between py-4 px-4 text-start",
|
|
37959
38595
|
"transition-colors",
|
|
37960
38596
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
|
|
37961
38597
|
],
|
|
@@ -38064,7 +38700,7 @@ function ServiceLink({
|
|
|
38064
38700
|
children: [
|
|
38065
38701
|
/* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
38066
38702
|
/* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
|
|
38067
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
38703
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
|
|
38068
38704
|
"(",
|
|
38069
38705
|
service.providerCount,
|
|
38070
38706
|
")"
|
|
@@ -38091,7 +38727,7 @@ function SubCategoryAccordion({
|
|
|
38091
38727
|
onClick: () => setIsExpanded(!isExpanded),
|
|
38092
38728
|
className: cn(
|
|
38093
38729
|
"flex w-full items-center justify-between px-3 py-2",
|
|
38094
|
-
"text-
|
|
38730
|
+
"text-start font-medium text-neutral-700 dark:text-neutral-200",
|
|
38095
38731
|
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
38096
38732
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
38097
38733
|
),
|
|
@@ -38121,7 +38757,7 @@ function SubCategoryAccordion({
|
|
|
38121
38757
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
38122
38758
|
),
|
|
38123
38759
|
inert: !isExpanded || void 0,
|
|
38124
|
-
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 pb-2
|
|
38760
|
+
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsx(
|
|
38125
38761
|
ServiceLink,
|
|
38126
38762
|
{
|
|
38127
38763
|
service,
|
|
@@ -38476,7 +39112,7 @@ function ServiceBadge({
|
|
|
38476
39112
|
const isClickable = Boolean(href || onClick);
|
|
38477
39113
|
const isInteractive = interactive ?? isClickable;
|
|
38478
39114
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38479
|
-
icon && /* @__PURE__ */ jsx("span", { className: "
|
|
39115
|
+
icon && /* @__PURE__ */ jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
|
|
38480
39116
|
/* @__PURE__ */ jsx("span", { className: "truncate", children }),
|
|
38481
39117
|
removable && onRemove && /* @__PURE__ */ jsx(
|
|
38482
39118
|
"button",
|
|
@@ -38488,7 +39124,7 @@ function ServiceBadge({
|
|
|
38488
39124
|
e.stopPropagation();
|
|
38489
39125
|
onRemove();
|
|
38490
39126
|
},
|
|
38491
|
-
className: "
|
|
39127
|
+
className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
|
|
38492
39128
|
"aria-label": `Remove ${children}`,
|
|
38493
39129
|
children: /* @__PURE__ */ jsx(CloseIcon4, { className: "h-3 w-3" })
|
|
38494
39130
|
}
|
|
@@ -38605,7 +39241,7 @@ function ServiceTagCloudBadges({
|
|
|
38605
39241
|
href: onServiceClick ? void 0 : `/service/${service.slug}`,
|
|
38606
39242
|
children: [
|
|
38607
39243
|
service.name,
|
|
38608
|
-
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
39244
|
+
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-1", children: [
|
|
38609
39245
|
"(",
|
|
38610
39246
|
service.count,
|
|
38611
39247
|
")"
|
|
@@ -38656,7 +39292,7 @@ function SelectedServicesBadges({
|
|
|
38656
39292
|
{
|
|
38657
39293
|
type: "button",
|
|
38658
39294
|
onClick: onClearAll,
|
|
38659
|
-
className: "text-muted-foreground
|
|
39295
|
+
className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
38660
39296
|
children: "Clear all"
|
|
38661
39297
|
}
|
|
38662
39298
|
)
|
|
@@ -38718,7 +39354,7 @@ function DOTBadge({
|
|
|
38718
39354
|
),
|
|
38719
39355
|
...props,
|
|
38720
39356
|
children: [
|
|
38721
|
-
/* @__PURE__ */ jsx(DOTIcon, { className: "
|
|
39357
|
+
/* @__PURE__ */ jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
|
|
38722
39358
|
children || config.label
|
|
38723
39359
|
]
|
|
38724
39360
|
}
|
|
@@ -38981,7 +39617,7 @@ function ServiceCard({
|
|
|
38981
39617
|
{
|
|
38982
39618
|
type: "button",
|
|
38983
39619
|
onClick: handleManageClick,
|
|
38984
|
-
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10
|
|
39620
|
+
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
39621
|
children: "Manage"
|
|
38986
39622
|
}
|
|
38987
39623
|
)
|
|
@@ -39170,7 +39806,7 @@ function ServiceGeneralSettings({
|
|
|
39170
39806
|
}
|
|
39171
39807
|
),
|
|
39172
39808
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
39173
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39809
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
39174
39810
|
/* @__PURE__ */ jsx(
|
|
39175
39811
|
"input",
|
|
39176
39812
|
{
|
|
@@ -39178,7 +39814,7 @@ function ServiceGeneralSettings({
|
|
|
39178
39814
|
type: "number",
|
|
39179
39815
|
min: "0",
|
|
39180
39816
|
step: "0.01",
|
|
39181
|
-
className: "w-full rounded-md border border-gray-300 py-2
|
|
39817
|
+
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
39818
|
value: basePrice,
|
|
39183
39819
|
onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
|
|
39184
39820
|
placeholder: "0.00"
|
|
@@ -39202,13 +39838,13 @@ function ServiceGeneralSettings({
|
|
|
39202
39838
|
id: "turnaround-days",
|
|
39203
39839
|
type: "number",
|
|
39204
39840
|
min: "0",
|
|
39205
|
-
className: "w-full rounded-md border border-gray-300 px-3 py-2
|
|
39841
|
+
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
39842
|
value: turnaroundDays ?? "",
|
|
39207
39843
|
onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
|
|
39208
39844
|
placeholder: "0"
|
|
39209
39845
|
}
|
|
39210
39846
|
),
|
|
39211
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39847
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
|
|
39212
39848
|
] })
|
|
39213
39849
|
] })
|
|
39214
39850
|
] })
|
|
@@ -39451,7 +40087,7 @@ function ServicePicker({
|
|
|
39451
40087
|
}
|
|
39452
40088
|
),
|
|
39453
40089
|
showSearch && /* @__PURE__ */ jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
|
|
39454
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
40090
|
+
/* @__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
40091
|
/* @__PURE__ */ jsx(
|
|
39456
40092
|
Input,
|
|
39457
40093
|
{
|
|
@@ -39459,7 +40095,7 @@ function ServicePicker({
|
|
|
39459
40095
|
value: searchQuery,
|
|
39460
40096
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
39461
40097
|
placeholder: searchPlaceholder,
|
|
39462
|
-
className: "
|
|
40098
|
+
className: "ps-10",
|
|
39463
40099
|
"data-cy": "input-search-services"
|
|
39464
40100
|
}
|
|
39465
40101
|
)
|
|
@@ -39560,10 +40196,10 @@ function ServiceGroupItem({
|
|
|
39560
40196
|
onClick: () => onToggleGroup(group.id),
|
|
39561
40197
|
className: cn(
|
|
39562
40198
|
"flex w-full items-center justify-between rounded-lg px-3 py-2",
|
|
39563
|
-
"text-muted-foreground text-
|
|
40199
|
+
"text-muted-foreground text-start text-sm font-medium",
|
|
39564
40200
|
"hover:bg-muted",
|
|
39565
40201
|
"transition-colors",
|
|
39566
|
-
depth > 0 && "
|
|
40202
|
+
depth > 0 && "ms-4"
|
|
39567
40203
|
),
|
|
39568
40204
|
"aria-expanded": isExpanded,
|
|
39569
40205
|
children: [
|
|
@@ -39601,7 +40237,7 @@ function ServiceGroupItem({
|
|
|
39601
40237
|
"ul",
|
|
39602
40238
|
{
|
|
39603
40239
|
"data-slot": "service-picker-group-list",
|
|
39604
|
-
className: "mt-1 space-y-1
|
|
40240
|
+
className: "mt-1 space-y-1 ps-4",
|
|
39605
40241
|
children: [
|
|
39606
40242
|
group.services.map((service) => /* @__PURE__ */ jsx(
|
|
39607
40243
|
ServiceItem,
|
|
@@ -39994,10 +40630,10 @@ function ServicePricingManager({
|
|
|
39994
40630
|
/* @__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
40631
|
/* @__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
40632
|
/* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
|
|
39997
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
39998
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40633
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Base Price" }),
|
|
40634
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Employer Price" }),
|
|
39999
40635
|
/* @__PURE__ */ jsx("div", { className: "text-center", children: "Status" }),
|
|
40000
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40636
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Actions" })
|
|
40001
40637
|
] }),
|
|
40002
40638
|
filteredServices.map((service) => /* @__PURE__ */ jsxs(
|
|
40003
40639
|
"div",
|
|
@@ -40014,14 +40650,14 @@ function ServicePricingManager({
|
|
|
40014
40650
|
] }),
|
|
40015
40651
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40016
40652
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
40017
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
40653
|
+
/* @__PURE__ */ jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
40018
40654
|
] }),
|
|
40019
40655
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40020
40656
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
40021
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-
|
|
40657
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
40022
40658
|
] }),
|
|
40023
40659
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
40024
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
40660
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
|
|
40025
40661
|
/* @__PURE__ */ jsx(
|
|
40026
40662
|
Badge,
|
|
40027
40663
|
{
|
|
@@ -40571,7 +41207,7 @@ function SetupServiceModal({
|
|
|
40571
41207
|
}
|
|
40572
41208
|
),
|
|
40573
41209
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
40574
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
41210
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
40575
41211
|
/* @__PURE__ */ jsx(
|
|
40576
41212
|
"input",
|
|
40577
41213
|
{
|
|
@@ -40579,7 +41215,7 @@ function SetupServiceModal({
|
|
|
40579
41215
|
type: "number",
|
|
40580
41216
|
min: "0",
|
|
40581
41217
|
step: "0.01",
|
|
40582
|
-
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2
|
|
41218
|
+
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
41219
|
value: formData.price,
|
|
40584
41220
|
onChange: (e) => setFormData((prev) => ({
|
|
40585
41221
|
...prev,
|
|
@@ -40646,7 +41282,7 @@ function SetupServiceModal({
|
|
|
40646
41282
|
"div",
|
|
40647
41283
|
{
|
|
40648
41284
|
"data-slot": "setup-service-inventory",
|
|
40649
|
-
className: "border-border
|
|
41285
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
40650
41286
|
children: /* @__PURE__ */ jsx(
|
|
40651
41287
|
Input,
|
|
40652
41288
|
{
|
|
@@ -40706,7 +41342,7 @@ function SetupServiceModal({
|
|
|
40706
41342
|
"svg",
|
|
40707
41343
|
{
|
|
40708
41344
|
"aria-hidden": "true",
|
|
40709
|
-
className: "
|
|
41345
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
40710
41346
|
fill: "none",
|
|
40711
41347
|
viewBox: "0 0 24 24",
|
|
40712
41348
|
children: [
|
|
@@ -40828,7 +41464,7 @@ var ChevronLeftIcon2 = () => /* @__PURE__ */ jsx(
|
|
|
40828
41464
|
"svg",
|
|
40829
41465
|
{
|
|
40830
41466
|
"aria-hidden": "true",
|
|
40831
|
-
className: "h-4 w-4",
|
|
41467
|
+
className: "h-4 w-4 rtl:-scale-x-100",
|
|
40832
41468
|
fill: "none",
|
|
40833
41469
|
viewBox: "0 0 24 24",
|
|
40834
41470
|
stroke: "currentColor",
|
|
@@ -40840,7 +41476,7 @@ var ChevronRightIcon2 = () => /* @__PURE__ */ jsx(
|
|
|
40840
41476
|
"svg",
|
|
40841
41477
|
{
|
|
40842
41478
|
"aria-hidden": "true",
|
|
40843
|
-
className: "h-4 w-4",
|
|
41479
|
+
className: "h-4 w-4 rtl:-scale-x-100",
|
|
40844
41480
|
fill: "none",
|
|
40845
41481
|
viewBox: "0 0 24 24",
|
|
40846
41482
|
stroke: "currentColor",
|
|
@@ -41526,7 +42162,7 @@ function FooterLinkSection({
|
|
|
41526
42162
|
),
|
|
41527
42163
|
children: [
|
|
41528
42164
|
link.label,
|
|
41529
|
-
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "
|
|
42165
|
+
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41530
42166
|
]
|
|
41531
42167
|
}
|
|
41532
42168
|
) }, link.href)) })
|
|
@@ -41833,7 +42469,7 @@ function SimpleFooter({
|
|
|
41833
42469
|
variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
41834
42470
|
className
|
|
41835
42471
|
),
|
|
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-
|
|
42472
|
+
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
42473
|
/* @__PURE__ */ jsx(CopyrightText, { companyName, variant }),
|
|
41838
42474
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-4 sm:justify-end", children: [
|
|
41839
42475
|
/* @__PURE__ */ jsx(
|
|
@@ -41971,7 +42607,7 @@ function NavLinks({
|
|
|
41971
42607
|
),
|
|
41972
42608
|
children: [
|
|
41973
42609
|
link.label,
|
|
41974
|
-
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "
|
|
42610
|
+
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41975
42611
|
]
|
|
41976
42612
|
},
|
|
41977
42613
|
link.href
|
|
@@ -42157,7 +42793,7 @@ function UserMenu({
|
|
|
42157
42793
|
"div",
|
|
42158
42794
|
{
|
|
42159
42795
|
"data-slot": "site-header-user-dropdown",
|
|
42160
|
-
className: "absolute
|
|
42796
|
+
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
42797
|
children: [
|
|
42162
42798
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
|
|
42163
42799
|
/* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
|
|
@@ -42185,7 +42821,7 @@ function UserMenu({
|
|
|
42185
42821
|
setIsOpen(false);
|
|
42186
42822
|
},
|
|
42187
42823
|
className: cn(
|
|
42188
|
-
"flex w-full items-center gap-2 px-4 py-2 text-
|
|
42824
|
+
"flex w-full items-center gap-2 px-4 py-2 text-start text-sm",
|
|
42189
42825
|
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
42826
|
),
|
|
42191
42827
|
children: [
|
|
@@ -42250,7 +42886,7 @@ function MobileMenuPanel({
|
|
|
42250
42886
|
"div",
|
|
42251
42887
|
{
|
|
42252
42888
|
className: cn(
|
|
42253
|
-
"fixed
|
|
42889
|
+
"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
42890
|
className
|
|
42255
42891
|
),
|
|
42256
42892
|
children: [
|
|
@@ -42282,7 +42918,7 @@ function MobileMenuPanel({
|
|
|
42282
42918
|
},
|
|
42283
42919
|
link.href
|
|
42284
42920
|
)) }),
|
|
42285
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
42921
|
+
/* @__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
42922
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-2", children: [
|
|
42287
42923
|
/* @__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
42924
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -42333,22 +42969,19 @@ function MobileMenuPanel({
|
|
|
42333
42969
|
)
|
|
42334
42970
|
] });
|
|
42335
42971
|
}
|
|
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"
|
|
42972
|
+
var headerVariants3 = cva("fixed top-0 start-0 end-0 z-40 transition-colors", {
|
|
42973
|
+
variants: {
|
|
42974
|
+
variant: {
|
|
42975
|
+
primary: "bg-primary-800",
|
|
42976
|
+
white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
|
|
42977
|
+
transparent: "bg-transparent",
|
|
42978
|
+
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
42349
42979
|
}
|
|
42980
|
+
},
|
|
42981
|
+
defaultVariants: {
|
|
42982
|
+
variant: "primary"
|
|
42350
42983
|
}
|
|
42351
|
-
);
|
|
42984
|
+
});
|
|
42352
42985
|
function SiteHeader({
|
|
42353
42986
|
logo = {},
|
|
42354
42987
|
links = [],
|
|
@@ -42455,7 +43088,7 @@ function CompactHeader({
|
|
|
42455
43088
|
{
|
|
42456
43089
|
href: backHref,
|
|
42457
43090
|
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" })
|
|
43091
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
|
|
42459
43092
|
}
|
|
42460
43093
|
) : onBack ? /* @__PURE__ */ jsx(
|
|
42461
43094
|
"button",
|
|
@@ -42463,7 +43096,7 @@ function CompactHeader({
|
|
|
42463
43096
|
type: "button",
|
|
42464
43097
|
onClick: onBack,
|
|
42465
43098
|
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" })
|
|
43099
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
|
|
42467
43100
|
}
|
|
42468
43101
|
) : null;
|
|
42469
43102
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -42480,7 +43113,7 @@ function CompactHeader({
|
|
|
42480
43113
|
{
|
|
42481
43114
|
"data-slot": "site-header-compact",
|
|
42482
43115
|
className: cn(
|
|
42483
|
-
"fixed
|
|
43116
|
+
"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
43117
|
className
|
|
42485
43118
|
),
|
|
42486
43119
|
children: /* @__PURE__ */ jsxs(
|
|
@@ -43430,8 +44063,8 @@ function TocList({
|
|
|
43430
44063
|
{
|
|
43431
44064
|
className: cn(
|
|
43432
44065
|
"space-y-1",
|
|
43433
|
-
depth > 0 && indentLines && "border-border
|
|
43434
|
-
depth > 0 && !indentLines && "
|
|
44066
|
+
depth > 0 && indentLines && "border-border ms-3 border-s ps-3",
|
|
44067
|
+
depth > 0 && !indentLines && "ms-4"
|
|
43435
44068
|
),
|
|
43436
44069
|
children: items.map((item) => /* @__PURE__ */ jsxs("li", { children: [
|
|
43437
44070
|
/* @__PURE__ */ jsx(
|
|
@@ -43726,7 +44359,7 @@ function TimelineEventList({
|
|
|
43726
44359
|
events.length > 1 && /* @__PURE__ */ jsx(
|
|
43727
44360
|
"div",
|
|
43728
44361
|
{
|
|
43729
|
-
className: "absolute top-0 bottom-0
|
|
44362
|
+
className: "absolute start-5 top-0 bottom-0 w-px bg-neutral-200 dark:bg-neutral-700",
|
|
43730
44363
|
"aria-hidden": "true"
|
|
43731
44364
|
}
|
|
43732
44365
|
),
|
|
@@ -44053,7 +44686,7 @@ function WebChartReportViewer({
|
|
|
44053
44686
|
onClick: onReconnect,
|
|
44054
44687
|
className: "mt-2",
|
|
44055
44688
|
children: [
|
|
44056
|
-
/* @__PURE__ */ jsx(Link$1, { className: "
|
|
44689
|
+
/* @__PURE__ */ jsx(Link$1, { className: "me-2 h-4 w-4" }),
|
|
44057
44690
|
reconnect
|
|
44058
44691
|
]
|
|
44059
44692
|
}
|
|
@@ -44061,7 +44694,7 @@ function WebChartReportViewer({
|
|
|
44061
44694
|
] })
|
|
44062
44695
|
] }),
|
|
44063
44696
|
!error && !loading && /* @__PURE__ */ jsxs(Button, { onClick: onRefreshReports, className: "mb-4", children: [
|
|
44064
|
-
/* @__PURE__ */ jsx(RefreshCw$1, { className: "
|
|
44697
|
+
/* @__PURE__ */ jsx(RefreshCw$1, { className: "me-2 h-4 w-4" }),
|
|
44065
44698
|
refreshReports
|
|
44066
44699
|
] }),
|
|
44067
44700
|
/* @__PURE__ */ jsx(
|
|
@@ -44130,7 +44763,7 @@ function WebChartReportViewer({
|
|
|
44130
44763
|
className: "flex items-center gap-3",
|
|
44131
44764
|
children: [
|
|
44132
44765
|
/* @__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
|
|
44766
|
+
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
44767
|
]
|
|
44135
44768
|
}
|
|
44136
44769
|
),
|
|
@@ -44588,6 +45221,6 @@ function WebsiteInputGroup({
|
|
|
44588
45221
|
}
|
|
44589
45222
|
WebsiteInputGroup.displayName = "WebsiteInputGroup";
|
|
44590
45223
|
|
|
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 };
|
|
45224
|
+
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
45225
|
//# sourceMappingURL=index.js.map
|
|
44593
45226
|
//# sourceMappingURL=index.js.map
|