@mieweb/ui 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +162 -739
- package/agent/mieweb-ui.instructions.md +34 -16
- package/dist/Animated-Cs-naa2g.d.cts +175 -0
- package/dist/Animated-Cs-naa2g.d.ts +175 -0
- 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/brands/index.cjs +7 -7
- package/dist/brands/index.js +2 -2
- package/dist/{chunk-RZJXCI53.js → chunk-22CYDCXA.js} +3 -3
- package/dist/{chunk-RZJXCI53.js.map → chunk-22CYDCXA.js.map} +1 -1
- package/dist/{chunk-OTQ72WX3.js → chunk-2BPIVWAK.js} +3 -3
- package/dist/{chunk-OTQ72WX3.js.map → chunk-2BPIVWAK.js.map} +1 -1
- package/dist/{chunk-6EWJGRC3.js → chunk-3JWAABYI.js} +6 -6
- package/dist/chunk-3JWAABYI.js.map +1 -0
- package/dist/{chunk-5JZIDILK.cjs → chunk-3LHICE4I.cjs} +6 -6
- package/dist/chunk-3LHICE4I.cjs.map +1 -0
- package/dist/{chunk-JHZW3Y62.js → chunk-3RB35GYK.js} +5 -5
- package/dist/chunk-3RB35GYK.js.map +1 -0
- package/dist/{chunk-BOW7ZGI2.cjs → chunk-4SM3I7WE.cjs} +170 -10
- package/dist/chunk-4SM3I7WE.cjs.map +1 -0
- package/dist/{chunk-26DPQUSB.cjs → chunk-5BVFVXHN.cjs} +224 -157
- package/dist/chunk-5BVFVXHN.cjs.map +1 -0
- package/dist/{chunk-QHTDWIED.js → chunk-5H7SAEQO.js} +5 -5
- package/dist/{chunk-QHTDWIED.js.map → chunk-5H7SAEQO.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-YIXTGWT4.cjs → chunk-6QKMMKRY.cjs} +5 -5
- package/dist/{chunk-YIXTGWT4.cjs.map → chunk-6QKMMKRY.cjs.map} +1 -1
- package/dist/{chunk-F57VRLKP.js → chunk-6SAYPXHX.js} +4 -4
- package/dist/{chunk-F57VRLKP.js.map → chunk-6SAYPXHX.js.map} +1 -1
- package/dist/{chunk-SK7H3Z67.cjs → chunk-6XDPJWSC.cjs} +99 -83
- package/dist/chunk-6XDPJWSC.cjs.map +1 -0
- package/dist/{chunk-4AE2L6AO.cjs → chunk-7FTBPLA6.cjs} +8 -8
- package/dist/chunk-7FTBPLA6.cjs.map +1 -0
- package/dist/{chunk-KVE7PQ5P.cjs → chunk-7KN6J7XV.cjs} +20 -20
- package/dist/{chunk-KVE7PQ5P.cjs.map → chunk-7KN6J7XV.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-MYFZYUPR.cjs → chunk-AOHJILLU.cjs} +38 -3
- package/dist/chunk-AOHJILLU.cjs.map +1 -0
- package/dist/chunk-BKSPDTX4.js +3 -0
- package/dist/{chunk-3PXOIAF6.js.map → chunk-BKSPDTX4.js.map} +1 -1
- package/dist/chunk-BN75TLUN.cjs +163 -0
- package/dist/chunk-BN75TLUN.cjs.map +1 -0
- package/dist/{chunk-WWJIW2IH.cjs → chunk-BVMABVC4.cjs} +3 -3
- package/dist/{chunk-WWJIW2IH.cjs.map → chunk-BVMABVC4.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-RS5VA6QU.cjs → chunk-C3DUS2VE.cjs} +3 -3
- package/dist/{chunk-RS5VA6QU.cjs.map → chunk-C3DUS2VE.cjs.map} +1 -1
- 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-L6D4CKLV.cjs → chunk-CXDMZT45.cjs} +135 -4
- package/dist/chunk-CXDMZT45.cjs.map +1 -0
- package/dist/{chunk-TXRQQMG5.js → chunk-CYMZ2QS5.js} +2 -2
- package/dist/{chunk-TXRQQMG5.js.map → chunk-CYMZ2QS5.js.map} +1 -1
- package/dist/{chunk-DX64KLSN.js → chunk-D25WH7MH.js} +7 -7
- package/dist/{chunk-DX64KLSN.js.map → chunk-D25WH7MH.js.map} +1 -1
- package/dist/{chunk-XBKOZRDO.js → chunk-DFYMIRMW.js} +4 -4
- package/dist/{chunk-XBKOZRDO.js.map → chunk-DFYMIRMW.js.map} +1 -1
- package/dist/{chunk-AESFOMSH.js → chunk-DGRXAIWK.js} +135 -4
- package/dist/chunk-DGRXAIWK.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-RYQ3S3KO.cjs → chunk-FQBTGS3E.cjs} +23 -20
- package/dist/chunk-FQBTGS3E.cjs.map +1 -0
- package/dist/{chunk-LQHI44OZ.cjs → chunk-FUFBRKOG.cjs} +59 -59
- package/dist/{chunk-LQHI44OZ.cjs.map → chunk-FUFBRKOG.cjs.map} +1 -1
- package/dist/{chunk-DG7KE4YJ.cjs → chunk-FYAKUU2A.cjs} +38 -21
- package/dist/chunk-FYAKUU2A.cjs.map +1 -0
- package/dist/{chunk-7L7OPISJ.cjs → chunk-H4AVMUOC.cjs} +12 -6
- package/dist/chunk-H4AVMUOC.cjs.map +1 -0
- 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-X5ZPYYMS.js → chunk-I3DQXUSC.js} +3 -3
- package/dist/{chunk-X5ZPYYMS.js.map → chunk-I3DQXUSC.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-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-LZU7YBXG.js → chunk-KU3XRHWA.js} +169 -10
- package/dist/chunk-KU3XRHWA.js.map +1 -0
- package/dist/{chunk-P2VTQ5AR.cjs → chunk-L52N6BEN.cjs} +39 -23
- package/dist/chunk-L52N6BEN.cjs.map +1 -0
- package/dist/{chunk-XWYKLEKG.js → chunk-L5W7TJQ5.js} +11 -5
- package/dist/chunk-L5W7TJQ5.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-Z5KFXHDP.cjs → chunk-MM7QKUE3.cjs} +5 -5
- package/dist/{chunk-Z5KFXHDP.cjs.map → chunk-MM7QKUE3.cjs.map} +1 -1
- package/dist/{chunk-FJ7YPVKV.js → chunk-MUIDWFYJ.js} +3 -3
- package/dist/{chunk-FJ7YPVKV.js.map → chunk-MUIDWFYJ.js.map} +1 -1
- package/dist/{chunk-FDV7EQWH.js → chunk-MXQ7J4BB.js} +21 -18
- package/dist/chunk-MXQ7J4BB.js.map +1 -0
- package/dist/{chunk-YMHOF6WA.cjs → chunk-MYAU2ZUC.cjs} +3 -3
- package/dist/{chunk-YMHOF6WA.cjs.map → chunk-MYAU2ZUC.cjs.map} +1 -1
- package/dist/{chunk-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-EKRT7K2K.js → chunk-O6GJ4IYS.js} +222 -157
- package/dist/chunk-O6GJ4IYS.js.map +1 -0
- package/dist/{chunk-WIYQI35R.cjs → chunk-O7XHHTTP.cjs} +8 -8
- package/dist/{chunk-WIYQI35R.cjs.map → chunk-O7XHHTTP.cjs.map} +1 -1
- package/dist/{chunk-IILJGFI5.js → chunk-OAZUDUGX.js} +8 -6
- package/dist/chunk-OAZUDUGX.js.map +1 -0
- package/dist/{chunk-JHGMZX4I.cjs → chunk-OCV33S5Q.cjs} +6 -6
- package/dist/{chunk-JHGMZX4I.cjs.map → chunk-OCV33S5Q.cjs.map} +1 -1
- package/dist/{chunk-IYXCFIMP.js → chunk-ODYQYLO2.js} +33 -17
- package/dist/chunk-ODYQYLO2.js.map +1 -0
- package/dist/{chunk-FPVRQCCL.js → chunk-OHDIJOGG.js} +4 -4
- package/dist/{chunk-FPVRQCCL.js.map → chunk-OHDIJOGG.js.map} +1 -1
- package/dist/{chunk-GQVL2JKQ.cjs → chunk-OHKO5THF.cjs} +3 -3
- package/dist/{chunk-GQVL2JKQ.cjs.map → chunk-OHKO5THF.cjs.map} +1 -1
- package/dist/{chunk-LMBXJZLG.js → chunk-ON4JULCA.js} +3 -3
- package/dist/{chunk-LMBXJZLG.js.map → chunk-ON4JULCA.js.map} +1 -1
- package/dist/{chunk-A5YOIJKL.js → chunk-ONNY7UO4.js} +15 -15
- package/dist/{chunk-A5YOIJKL.js.map → chunk-ONNY7UO4.js.map} +1 -1
- 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-FDUA6OGN.js → chunk-PFKRHNYV.js} +8 -8
- package/dist/chunk-PFKRHNYV.js.map +1 -0
- package/dist/{chunk-XMECP2MD.js → chunk-PHK4XBO5.js} +4 -4
- package/dist/{chunk-XMECP2MD.js.map → chunk-PHK4XBO5.js.map} +1 -1
- 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-XMCIXHGH.js → chunk-Q7G56ZIO.js} +39 -23
- package/dist/chunk-Q7G56ZIO.js.map +1 -0
- package/dist/{chunk-4PIW3Y5M.js → chunk-QAKASRE6.js} +34 -26
- package/dist/chunk-QAKASRE6.js.map +1 -0
- package/dist/{chunk-QGZC43L7.js → chunk-QAQOCS2J.js} +5 -5
- package/dist/{chunk-QGZC43L7.js.map → chunk-QAQOCS2J.js.map} +1 -1
- package/dist/{chunk-YVIH26FG.cjs → chunk-QKAYRHWP.cjs} +12 -12
- package/dist/{chunk-YVIH26FG.cjs.map → chunk-QKAYRHWP.cjs.map} +1 -1
- 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-JWTCEWQ4.cjs → chunk-SNEQXSC5.cjs} +2 -2
- package/dist/{chunk-JWTCEWQ4.cjs.map → chunk-SNEQXSC5.cjs.map} +1 -1
- package/dist/{chunk-U5TTXN45.cjs → chunk-SRA2L3SQ.cjs} +9 -7
- package/dist/chunk-SRA2L3SQ.cjs.map +1 -0
- package/dist/{chunk-5U6GETAW.js → chunk-TQDZLRIE.js} +3 -3
- package/dist/chunk-TQDZLRIE.js.map +1 -0
- package/dist/{chunk-HK3AMH3Q.cjs → chunk-VROIMIHB.cjs} +11 -3
- package/dist/chunk-VROIMIHB.cjs.map +1 -0
- package/dist/{chunk-3SHLOF4V.cjs → chunk-VTR2KGLY.cjs} +9 -9
- package/dist/{chunk-3SHLOF4V.cjs.map → chunk-VTR2KGLY.cjs.map} +1 -1
- package/dist/{chunk-XO3WLK65.js → chunk-VVDE4CHU.js} +3 -3
- package/dist/{chunk-XO3WLK65.js.map → chunk-VVDE4CHU.js.map} +1 -1
- package/dist/{chunk-XS35KPBZ.cjs → chunk-WIAQQNFU.cjs} +4 -4
- package/dist/{chunk-XS35KPBZ.cjs.map → chunk-WIAQQNFU.cjs.map} +1 -1
- package/dist/{chunk-BOOJDRJO.js → chunk-WSNMQQ4P.js} +38 -3
- package/dist/chunk-WSNMQQ4P.js.map +1 -0
- package/dist/chunk-WYMO3IIK.js +136 -0
- package/dist/chunk-WYMO3IIK.js.map +1 -0
- package/dist/{chunk-SPWVKDGC.cjs → chunk-X5QRRMGB.cjs} +35 -27
- package/dist/chunk-X5QRRMGB.cjs.map +1 -0
- package/dist/{chunk-SH6B4MG5.js → chunk-XBXDUAIM.js} +4 -4
- package/dist/{chunk-SH6B4MG5.js.map → chunk-XBXDUAIM.js.map} +1 -1
- package/dist/{chunk-56QJHQ5C.cjs → chunk-XEEVDZDK.cjs} +5 -5
- package/dist/{chunk-56QJHQ5C.cjs.map → chunk-XEEVDZDK.cjs.map} +1 -1
- package/dist/{chunk-GXODR6V4.js → chunk-XOIIUO6O.js} +3 -3
- package/dist/{chunk-GXODR6V4.js.map → chunk-XOIIUO6O.js.map} +1 -1
- package/dist/{chunk-ELYGV32O.cjs → chunk-XTHMC76F.cjs} +5 -5
- package/dist/{chunk-ELYGV32O.cjs.map → chunk-XTHMC76F.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-TVLZZI5Q.cjs → chunk-YJP6DUFO.cjs} +9 -9
- package/dist/{chunk-TVLZZI5Q.cjs.map → chunk-YJP6DUFO.cjs.map} +1 -1
- package/dist/{chunk-EHQ77LL5.js → chunk-ZB54MTMQ.js} +3 -3
- package/dist/{chunk-EHQ77LL5.js.map → chunk-ZB54MTMQ.js.map} +1 -1
- 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.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AlertDialog/index.cjs +6 -5
- package/dist/components/AlertDialog/index.js +5 -4
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Autocomplete/index.cjs +4 -4
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/Avatar/index.cjs +5 -5
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.d.cts +1 -1
- package/dist/components/Badge/index.d.ts +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/Card/index.d.cts +2 -2
- package/dist/components/Card/index.d.ts +2 -2
- package/dist/components/CountryCodeDropdown/index.cjs +6 -6
- package/dist/components/CountryCodeDropdown/index.d.cts +11 -1
- package/dist/components/CountryCodeDropdown/index.d.ts +11 -1
- package/dist/components/CountryCodeDropdown/index.js +3 -3
- package/dist/components/CustomizableDashboard/index.cjs +11 -11
- package/dist/components/CustomizableDashboard/index.js +4 -4
- package/dist/components/DateInput/index.cjs +4 -4
- package/dist/components/DateInput/index.js +3 -3
- package/dist/components/Dropdown/index.cjs +13 -9
- package/dist/components/Dropdown/index.d.cts +38 -2
- package/dist/components/Dropdown/index.d.ts +38 -2
- package/dist/components/Dropdown/index.js +3 -3
- package/dist/components/FloatingWindow/index.cjs +4 -4
- package/dist/components/FloatingWindow/index.js +2 -2
- package/dist/components/GlossaryTooltip/index.cjs +4 -4
- package/dist/components/GlossaryTooltip/index.js +3 -3
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +6 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +4 -3
- package/dist/components/Markdown/index.cjs +19 -19
- package/dist/components/Markdown/index.js +7 -7
- package/dist/components/MediaEditor/index.cjs +15 -14
- package/dist/components/MediaEditor/index.js +10 -9
- package/dist/components/MediaPlayer/index.cjs +6 -6
- package/dist/components/MediaPlayer/index.js +3 -3
- package/dist/components/Modal/index.cjs +11 -10
- package/dist/components/Modal/index.d.cts +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.js +3 -2
- package/dist/components/Pagination/index.cjs +4 -4
- package/dist/components/Pagination/index.d.cts +1 -1
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/PhoneInput/index.cjs +4 -4
- package/dist/components/PhoneInput/index.js +2 -2
- package/dist/components/Progress/index.d.cts +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/QuickAction/index.cjs +6 -6
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/RecordButton/index.d.cts +1 -1
- package/dist/components/RecordButton/index.d.ts +1 -1
- package/dist/components/RichTextEditor/index.cjs +9 -9
- package/dist/components/RichTextEditor/index.js +6 -6
- package/dist/components/SectionSpyNav/index.cjs +4 -4
- package/dist/components/SectionSpyNav/index.js +3 -3
- package/dist/components/Select/index.cjs +5 -5
- package/dist/components/Select/index.js +3 -3
- package/dist/components/Sheet/index.cjs +11 -11
- package/dist/components/Sheet/index.js +2 -2
- package/dist/components/Slider/index.cjs +5 -5
- package/dist/components/Slider/index.d.cts +2 -2
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/SourceTip/index.cjs +4 -4
- package/dist/components/SourceTip/index.js +3 -3
- package/dist/components/SuperChat/index.cjs +264 -106
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +13 -5
- package/dist/components/SuperChat/index.d.ts +13 -5
- package/dist/components/SuperChat/index.js +255 -97
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +7 -7
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +2 -2
- package/dist/components/SuperChat/plugins/index.d.ts +2 -2
- package/dist/components/SuperChat/plugins/index.js +6 -6
- 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/ThemeProvider/index.cjs +9 -9
- package/dist/components/ThemeProvider/index.d.cts +1 -1
- package/dist/components/ThemeProvider/index.d.ts +1 -1
- package/dist/components/ThemeProvider/index.js +3 -3
- package/dist/components/Toggle/index.d.cts +1 -1
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Tooltip/index.cjs +3 -3
- package/dist/components/Tooltip/index.js +2 -2
- 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 +15 -14
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +12 -11
- package/dist/esheet.js.map +1 -1
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +2399 -1640
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +278 -43
- package/dist/index.d.ts +278 -43
- package/dist/index.js +1296 -574
- package/dist/index.js.map +1 -1
- package/dist/motion.cjs +87 -0
- package/dist/motion.cjs.map +1 -0
- package/dist/motion.d.cts +52 -0
- package/dist/motion.d.ts +52 -0
- package/dist/motion.js +50 -0
- package/dist/motion.js.map +1 -0
- 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/dist/{types-BoTeTPdH.d.ts → types-9vK_YdEb.d.ts} +12 -1
- package/dist/{types-DyIB9HYT.d.cts → types-DZDroUW8.d.cts} +12 -1
- package/dist/{useAnchoredPosition-C7PNglzD.d.ts → useAnchoredPosition-CKwLSQW8.d.cts} +10 -3
- package/dist/{useAnchoredPosition-C7PNglzD.d.cts → useAnchoredPosition-CKwLSQW8.d.ts} +10 -3
- package/package.json +21 -2
- 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-26DPQUSB.cjs.map +0 -1
- package/dist/chunk-3PXOIAF6.js +0 -3
- package/dist/chunk-4AE2L6AO.cjs.map +0 -1
- package/dist/chunk-4PIW3Y5M.js.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-7L7OPISJ.cjs.map +0 -1
- package/dist/chunk-AESFOMSH.js.map +0 -1
- package/dist/chunk-BOOJDRJO.js.map +0 -1
- package/dist/chunk-BOW7ZGI2.cjs.map +0 -1
- package/dist/chunk-D2GID3YK.js.map +0 -1
- package/dist/chunk-DG7KE4YJ.cjs.map +0 -1
- package/dist/chunk-EKRT7K2K.js.map +0 -1
- package/dist/chunk-EPQPUFS6.cjs.map +0 -1
- package/dist/chunk-FDUA6OGN.js.map +0 -1
- package/dist/chunk-FDV7EQWH.js.map +0 -1
- package/dist/chunk-FF235PKY.cjs.map +0 -1
- package/dist/chunk-H7QSGFMZ.cjs.map +0 -1
- package/dist/chunk-HK3AMH3Q.cjs.map +0 -1
- package/dist/chunk-IILJGFI5.js.map +0 -1
- package/dist/chunk-IYXCFIMP.js.map +0 -1
- package/dist/chunk-JHZW3Y62.js.map +0 -1
- package/dist/chunk-L6D4CKLV.cjs.map +0 -1
- package/dist/chunk-LZU7YBXG.js.map +0 -1
- package/dist/chunk-MYFZYUPR.cjs.map +0 -1
- package/dist/chunk-N3Y43KOB.js.map +0 -1
- package/dist/chunk-P2VTQ5AR.cjs.map +0 -1
- package/dist/chunk-RDGRKYQ5.cjs.map +0 -1
- package/dist/chunk-RYQ3S3KO.cjs.map +0 -1
- package/dist/chunk-SEPYBAML.js.map +0 -1
- package/dist/chunk-SK7H3Z67.cjs.map +0 -1
- package/dist/chunk-SPWVKDGC.cjs.map +0 -1
- package/dist/chunk-U5TTXN45.cjs.map +0 -1
- package/dist/chunk-XMCIXHGH.js.map +0 -1
- package/dist/chunk-XWYKLEKG.js.map +0 -1
- package/dist/chunk-Y6YSJPVC.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,122 +1,131 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
2
|
+
export { brands } from './chunk-CYMZ2QS5.js';
|
|
3
|
+
export { webchartBrand } from './chunk-CW66SO5O.js';
|
|
2
4
|
export { defaultBrand } from './chunk-PSTGFXQG.js';
|
|
3
5
|
export { enterpriseHealthBrand } from './chunk-MTZPVOP6.js';
|
|
4
6
|
export { miewebBrand } from './chunk-NERS5ZT6.js';
|
|
5
7
|
export { wagglelineBrand } from './chunk-2NTYAALC.js';
|
|
6
|
-
export { webchartBrand } from './chunk-CW66SO5O.js';
|
|
7
8
|
export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from './chunk-WOYUQ4AT.js';
|
|
8
9
|
export { bluehiveBrand } from './chunk-3T7QGLNB.js';
|
|
9
10
|
export { ccmeBrand } from './chunk-SCQRJPSV.js';
|
|
10
11
|
export { ozwellBrand } from './chunk-5YUBQIC7.js';
|
|
11
12
|
import { getModelBytes } from './chunk-6I7IDZ4A.js';
|
|
13
|
+
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
|
|
14
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
|
|
12
15
|
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-DVOQ3JNO.js';
|
|
13
16
|
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-DVOQ3JNO.js';
|
|
14
17
|
import { Text } from './chunk-3YSIZ2CK.js';
|
|
15
18
|
export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
|
|
16
|
-
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-
|
|
19
|
+
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-XBXDUAIM.js';
|
|
17
20
|
export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
|
|
18
|
-
export { TranscriptView, formatTimestampMs } from './chunk-
|
|
19
|
-
|
|
20
|
-
export {
|
|
21
|
+
export { TranscriptView, formatTimestampMs } from './chunk-LAEIVOIY.js';
|
|
22
|
+
import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
23
|
+
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
24
|
+
export { SourceTip } from './chunk-PHK4XBO5.js';
|
|
21
25
|
export { Sparkline } from './chunk-CG4ZKJLE.js';
|
|
22
26
|
import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
|
|
23
27
|
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-
|
|
30
|
-
import {
|
|
31
|
-
export {
|
|
32
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-
|
|
28
|
+
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-22CYDCXA.js';
|
|
29
|
+
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-22CYDCXA.js';
|
|
30
|
+
import { EmptyState } from './chunk-MXQ7J4BB.js';
|
|
31
|
+
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-MXQ7J4BB.js';
|
|
32
|
+
import { useMentionAutocomplete, validateFile, getFileType, generateAttachmentId, AttachmentPreviewItem, MentionMenu, DragDropZone, MessageComposer } from './chunk-O6GJ4IYS.js';
|
|
33
|
+
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-O6GJ4IYS.js';
|
|
34
|
+
import { RecordButton } from './chunk-VNWJTCBQ.js';
|
|
35
|
+
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
|
|
36
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-5H7SAEQO.js';
|
|
33
37
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
|
|
34
38
|
export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
|
|
35
|
-
export { SectionSpyNav } from './chunk-
|
|
39
|
+
export { SectionSpyNav } from './chunk-3RB35GYK.js';
|
|
36
40
|
export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
|
|
37
|
-
|
|
38
|
-
export {
|
|
39
|
-
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-FDUA6OGN.js';
|
|
40
|
-
export { PhoneInput, PhoneInputGroup } from './chunk-GXODR6V4.js';
|
|
41
|
+
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
|
|
42
|
+
export { PhoneInput, PhoneInputGroup } from './chunk-XOIIUO6O.js';
|
|
41
43
|
import { Progress } from './chunk-CEQJGUAS.js';
|
|
42
44
|
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-CEQJGUAS.js';
|
|
43
|
-
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-
|
|
45
|
+
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
|
|
44
46
|
export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
|
|
45
|
-
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export { HtmlPreviewBlock } from './chunk-
|
|
51
|
-
export { MermaidBlock } from './chunk-
|
|
52
|
-
export { SurveyBlock } from './chunk-
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-OTQ72WX3.js';
|
|
47
|
+
export { FreshnessBadge, FreshnessDot, daysSince, freshnessLevel } from './chunk-HQ3XPCHG.js';
|
|
48
|
+
export { GlossaryTooltip } from './chunk-L5W7TJQ5.js';
|
|
49
|
+
export { Kbd, KeyboardShortcutsOverlay } from './chunk-I3DQXUSC.js';
|
|
50
|
+
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-D25WH7MH.js';
|
|
51
|
+
export { CsvBlock } from './chunk-NHN6A3ZO.js';
|
|
52
|
+
export { HtmlPreviewBlock } from './chunk-EG7XFZ3W.js';
|
|
53
|
+
export { MermaidBlock } from './chunk-ZB54MTMQ.js';
|
|
54
|
+
export { SurveyBlock } from './chunk-OSPTA4UR.js';
|
|
55
|
+
export { FenceBlock } from './chunk-CK3KLRNF.js';
|
|
56
|
+
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-ONNY7UO4.js';
|
|
57
|
+
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-2BPIVWAK.js';
|
|
57
58
|
import './chunk-RISZWWEQ.js';
|
|
58
|
-
export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-
|
|
59
|
+
export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-5WOB4UBD.js';
|
|
60
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
|
|
59
61
|
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-
|
|
62
|
+
import { CountryDropdownBase } from './chunk-QAKASRE6.js';
|
|
63
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-QAKASRE6.js';
|
|
64
|
+
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-6SAYPXHX.js';
|
|
63
65
|
import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
64
66
|
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
65
|
-
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-
|
|
66
|
-
import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-
|
|
67
|
-
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from './chunk-
|
|
67
|
+
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-ON4JULCA.js';
|
|
68
|
+
import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-KU3XRHWA.js';
|
|
69
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-KU3XRHWA.js';
|
|
68
70
|
export { FilterSummaryBar } from './chunk-6SCQ7FKT.js';
|
|
69
|
-
export { FloatingWindow, MinimizedWindow } from './chunk-
|
|
70
|
-
|
|
71
|
+
export { FloatingWindow, MinimizedWindow } from './chunk-PYHFVYVZ.js';
|
|
72
|
+
import { Avatar } from './chunk-HZ4MBUC3.js';
|
|
73
|
+
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
|
|
71
74
|
import './chunk-IQ4KQJAO.js';
|
|
72
|
-
export { Breadcrumb, BreadcrumbSlash } from './chunk-
|
|
75
|
+
export { Breadcrumb, BreadcrumbSlash } from './chunk-SCXELRRZ.js';
|
|
73
76
|
import './chunk-OF7NTZ2I.js';
|
|
74
77
|
import { Checkbox } from './chunk-753Z3NXL.js';
|
|
75
78
|
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
|
|
76
79
|
export { ClampedText } from './chunk-L6MDULYB.js';
|
|
77
80
|
export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
|
|
78
|
-
|
|
79
|
-
export {
|
|
80
|
-
export {
|
|
81
|
-
|
|
82
|
-
export {
|
|
83
|
-
import {
|
|
84
|
-
export {
|
|
85
|
-
|
|
81
|
+
import './chunk-7XUN3OQT.js';
|
|
82
|
+
export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
|
|
83
|
+
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
84
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-DGRXAIWK.js';
|
|
85
|
+
export { Accordion } from './chunk-KRU6IGV7.js';
|
|
86
|
+
import { Alert, AlertTitle, AlertDescription } from './chunk-3JWAABYI.js';
|
|
87
|
+
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-3JWAABYI.js';
|
|
88
|
+
import { AlertDialog } from './chunk-OHDIJOGG.js';
|
|
89
|
+
export { AlertDialog } from './chunk-OHDIJOGG.js';
|
|
90
|
+
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-VVDE4CHU.js';
|
|
86
91
|
export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-2DW4PUJD.js';
|
|
87
|
-
export { Autocomplete } from './chunk-
|
|
88
|
-
import { Avatar } from './chunk-DCBMTFLE.js';
|
|
89
|
-
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-DCBMTFLE.js';
|
|
92
|
+
export { Autocomplete } from './chunk-QAQOCS2J.js';
|
|
90
93
|
import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
|
|
91
94
|
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-
|
|
95
|
+
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-ODYQYLO2.js';
|
|
96
|
+
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-ODYQYLO2.js';
|
|
94
97
|
import { Textarea } from './chunk-H3YO5GBM.js';
|
|
95
98
|
export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
|
|
96
|
-
import { Tooltip } from './chunk-
|
|
97
|
-
export { Tooltip } from './chunk-
|
|
99
|
+
import { Tooltip } from './chunk-MUIDWFYJ.js';
|
|
100
|
+
export { Tooltip } from './chunk-MUIDWFYJ.js';
|
|
98
101
|
import { RadioGroup, Radio } from './chunk-EPSB4WTL.js';
|
|
99
102
|
export { Radio, RadioGroup, radioVariants } from './chunk-EPSB4WTL.js';
|
|
100
103
|
import { Label } from './chunk-I3WGZPI6.js';
|
|
101
104
|
export { Label, labelVariants } from './chunk-I3WGZPI6.js';
|
|
102
|
-
import { Select } from './chunk-
|
|
103
|
-
export { Select, selectTriggerVariants } from './chunk-
|
|
104
|
-
import { DateInput } from './chunk-
|
|
105
|
-
export { DateInput } from './chunk-
|
|
105
|
+
import { Select } from './chunk-DFYMIRMW.js';
|
|
106
|
+
export { Select, selectTriggerVariants } from './chunk-DFYMIRMW.js';
|
|
107
|
+
import { DateInput } from './chunk-OAZUDUGX.js';
|
|
108
|
+
export { DateInput } from './chunk-OAZUDUGX.js';
|
|
106
109
|
import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';
|
|
107
110
|
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-QYSUYB3S.js';
|
|
108
|
-
import {
|
|
109
|
-
export {
|
|
111
|
+
import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
|
|
112
|
+
export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
|
|
113
|
+
import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-Q7G56ZIO.js';
|
|
114
|
+
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from './chunk-Q7G56ZIO.js';
|
|
110
115
|
import './chunk-6NZXWKUE.js';
|
|
111
116
|
import { Input, inputVariants } from './chunk-3IMM2PM4.js';
|
|
112
117
|
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-
|
|
118
|
+
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';
|
|
119
|
+
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
120
|
import { Badge } from './chunk-BMSG4NBH.js';
|
|
116
121
|
export { Badge, badgeVariants } from './chunk-BMSG4NBH.js';
|
|
117
|
-
import { Button, buttonVariants } from './chunk-
|
|
118
|
-
export { Button, buttonVariants } from './chunk-
|
|
119
|
-
import {
|
|
122
|
+
import { Button, buttonVariants } from './chunk-KREUYVMZ.js';
|
|
123
|
+
export { Button, buttonVariants } from './chunk-KREUYVMZ.js';
|
|
124
|
+
import { AnimatedPresence, Animated } from './chunk-WYMO3IIK.js';
|
|
125
|
+
export { Animated, AnimatedPresence, motionPresets, useMotionRuntime } from './chunk-WYMO3IIK.js';
|
|
126
|
+
import { cn } from './chunk-TQONQSJO.js';
|
|
127
|
+
export { cn, miewebUITwMergeConflicts } from './chunk-TQONQSJO.js';
|
|
128
|
+
import { useCommandK, useIsMobile, useMediaQuery, useDirection } from './chunk-XUVEF2RQ.js';
|
|
120
129
|
export { RTL_LOCALES, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery } from './chunk-XUVEF2RQ.js';
|
|
121
130
|
export { useTheme } from './chunk-KJZNEVYM.js';
|
|
122
131
|
import { useScrollSpy } from './chunk-WBGUYSWY.js';
|
|
@@ -131,27 +140,20 @@ import { useFocusTrap } from './chunk-4SMSH4OY.js';
|
|
|
131
140
|
export { useFocusTrap } from './chunk-4SMSH4OY.js';
|
|
132
141
|
import { useEscapeKey } from './chunk-T4ME7QCT.js';
|
|
133
142
|
export { useEscapeKey } from './chunk-T4ME7QCT.js';
|
|
143
|
+
import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
144
|
+
export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
134
145
|
import { useClickOutside } from './chunk-62ZOA6PX.js';
|
|
135
146
|
export { useClickOutside } from './chunk-62ZOA6PX.js';
|
|
136
|
-
import { useAnchoredPosition } from './chunk-
|
|
137
|
-
export { useAnchoredPosition } from './chunk-
|
|
147
|
+
import { useAnchoredPosition } from './chunk-WSNMQQ4P.js';
|
|
148
|
+
export { useAnchoredPosition } from './chunk-WSNMQQ4P.js';
|
|
138
149
|
export { isDarkMode, useIsDarkMode } from './chunk-RUGHNFQG.js';
|
|
139
|
-
import './chunk-7XUN3OQT.js';
|
|
140
|
-
export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
|
|
141
|
-
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
142
|
-
import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
|
|
143
|
-
export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
|
|
144
|
-
import { cn } from './chunk-TQONQSJO.js';
|
|
145
|
-
export { cn, miewebUITwMergeConflicts } from './chunk-TQONQSJO.js';
|
|
146
|
-
import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
147
|
-
export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
148
150
|
import * as React13 from 'react';
|
|
149
151
|
import React13__default, { createContext, useState, useEffect, useCallback, useMemo, useContext, useRef } from 'react';
|
|
150
152
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
151
153
|
import { cva } from 'class-variance-authority';
|
|
152
154
|
import * as ReactDOM from 'react-dom';
|
|
153
155
|
import { createPortal } from 'react-dom';
|
|
154
|
-
import { FileUp, X, AlertCircle as AlertCircle$1, ChevronUp as ChevronUp$1, Check
|
|
156
|
+
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
157
|
|
|
156
158
|
var SEX_OPTIONS = [
|
|
157
159
|
{ value: "F", label: "Female" },
|
|
@@ -478,7 +480,7 @@ function AddContactModal({
|
|
|
478
480
|
size: "sm",
|
|
479
481
|
onClick: handleAddCustomField,
|
|
480
482
|
children: [
|
|
481
|
-
/* @__PURE__ */ jsx(PlusIcon, { className: "
|
|
483
|
+
/* @__PURE__ */ jsx(PlusIcon, { className: "me-1 h-4 w-4" }),
|
|
482
484
|
"Add Field"
|
|
483
485
|
]
|
|
484
486
|
}
|
|
@@ -531,7 +533,7 @@ function AddContactModal({
|
|
|
531
533
|
}
|
|
532
534
|
),
|
|
533
535
|
/* @__PURE__ */ jsx(Button, { type: "submit", disabled: isSaving, children: isSaving ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
534
|
-
/* @__PURE__ */ jsx(SpinnerIcon2, { className: "
|
|
536
|
+
/* @__PURE__ */ jsx(SpinnerIcon2, { className: "me-2 h-4 w-4 animate-spin" }),
|
|
535
537
|
"Saving..."
|
|
536
538
|
] }) : "Save Contact" })
|
|
537
539
|
] })
|
|
@@ -733,7 +735,7 @@ function AdditionalFields({
|
|
|
733
735
|
"data-slot": "additional-fields-header",
|
|
734
736
|
onClick: () => setIsExpanded(!isExpanded),
|
|
735
737
|
className: cn(
|
|
736
|
-
"flex w-full items-center gap-2 text-
|
|
738
|
+
"flex w-full items-center gap-2 text-start text-sm font-medium",
|
|
737
739
|
"text-gray-700 hover:text-gray-900",
|
|
738
740
|
"dark:text-gray-300 dark:hover:text-gray-100",
|
|
739
741
|
"transition-colors"
|
|
@@ -751,7 +753,7 @@ function AdditionalFields({
|
|
|
751
753
|
)
|
|
752
754
|
}
|
|
753
755
|
),
|
|
754
|
-
value.length > 0 && /* @__PURE__ */ jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300
|
|
756
|
+
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
757
|
]
|
|
756
758
|
}
|
|
757
759
|
),
|
|
@@ -1656,6 +1658,126 @@ function AIChat({
|
|
|
1656
1658
|
}
|
|
1657
1659
|
);
|
|
1658
1660
|
}
|
|
1661
|
+
var ToastContext = createContext(null);
|
|
1662
|
+
var toastIdCounter = 0;
|
|
1663
|
+
function generateToastId() {
|
|
1664
|
+
return `toast-${++toastIdCounter}-${Date.now()}`;
|
|
1665
|
+
}
|
|
1666
|
+
function ToastProvider({
|
|
1667
|
+
children,
|
|
1668
|
+
maxToasts = 5,
|
|
1669
|
+
defaultDuration = 5e3,
|
|
1670
|
+
position = "bottom-end"
|
|
1671
|
+
}) {
|
|
1672
|
+
const [toasts, setToasts] = useState([]);
|
|
1673
|
+
const dismiss = useCallback((id) => {
|
|
1674
|
+
setToasts((prev) => {
|
|
1675
|
+
const toast2 = prev.find((t) => t.id === id);
|
|
1676
|
+
if (toast2?.onDismiss) {
|
|
1677
|
+
toast2.onDismiss();
|
|
1678
|
+
}
|
|
1679
|
+
return prev.filter((t) => t.id !== id);
|
|
1680
|
+
});
|
|
1681
|
+
}, []);
|
|
1682
|
+
const dismissAll = useCallback(() => {
|
|
1683
|
+
setToasts((prev) => {
|
|
1684
|
+
prev.forEach((t) => t.onDismiss?.());
|
|
1685
|
+
return [];
|
|
1686
|
+
});
|
|
1687
|
+
}, []);
|
|
1688
|
+
const toast = useCallback(
|
|
1689
|
+
(options) => {
|
|
1690
|
+
const id = generateToastId();
|
|
1691
|
+
const duration = options.duration ?? defaultDuration;
|
|
1692
|
+
const newToast = {
|
|
1693
|
+
...options,
|
|
1694
|
+
id,
|
|
1695
|
+
variant: options.variant ?? "info",
|
|
1696
|
+
dismissible: options.dismissible ?? true,
|
|
1697
|
+
duration
|
|
1698
|
+
};
|
|
1699
|
+
setToasts((prev) => {
|
|
1700
|
+
const updated = [...prev, newToast];
|
|
1701
|
+
if (updated.length > maxToasts) {
|
|
1702
|
+
const removed = updated.slice(0, updated.length - maxToasts);
|
|
1703
|
+
removed.forEach((t) => t.onDismiss?.());
|
|
1704
|
+
return updated.slice(-maxToasts);
|
|
1705
|
+
}
|
|
1706
|
+
return updated;
|
|
1707
|
+
});
|
|
1708
|
+
if (duration > 0) {
|
|
1709
|
+
setTimeout(() => dismiss(id), duration);
|
|
1710
|
+
}
|
|
1711
|
+
return id;
|
|
1712
|
+
},
|
|
1713
|
+
[maxToasts, defaultDuration, dismiss]
|
|
1714
|
+
);
|
|
1715
|
+
const success = useCallback(
|
|
1716
|
+
(message, options) => {
|
|
1717
|
+
return toast({ ...options, message, variant: "success" });
|
|
1718
|
+
},
|
|
1719
|
+
[toast]
|
|
1720
|
+
);
|
|
1721
|
+
const error = useCallback(
|
|
1722
|
+
(message, options) => {
|
|
1723
|
+
return toast({
|
|
1724
|
+
...options,
|
|
1725
|
+
message,
|
|
1726
|
+
variant: "error",
|
|
1727
|
+
duration: options?.duration ?? 7e3
|
|
1728
|
+
// Errors stay longer by default
|
|
1729
|
+
});
|
|
1730
|
+
},
|
|
1731
|
+
[toast]
|
|
1732
|
+
);
|
|
1733
|
+
const warning = useCallback(
|
|
1734
|
+
(message, options) => {
|
|
1735
|
+
return toast({ ...options, message, variant: "warning" });
|
|
1736
|
+
},
|
|
1737
|
+
[toast]
|
|
1738
|
+
);
|
|
1739
|
+
const info = useCallback(
|
|
1740
|
+
(message, options) => {
|
|
1741
|
+
return toast({ ...options, message, variant: "info" });
|
|
1742
|
+
},
|
|
1743
|
+
[toast]
|
|
1744
|
+
);
|
|
1745
|
+
const contextValue = useMemo(
|
|
1746
|
+
() => ({
|
|
1747
|
+
toasts,
|
|
1748
|
+
position,
|
|
1749
|
+
toast,
|
|
1750
|
+
success,
|
|
1751
|
+
error,
|
|
1752
|
+
warning,
|
|
1753
|
+
info,
|
|
1754
|
+
dismiss,
|
|
1755
|
+
dismissAll
|
|
1756
|
+
}),
|
|
1757
|
+
[
|
|
1758
|
+
toasts,
|
|
1759
|
+
position,
|
|
1760
|
+
toast,
|
|
1761
|
+
success,
|
|
1762
|
+
error,
|
|
1763
|
+
warning,
|
|
1764
|
+
info,
|
|
1765
|
+
dismiss,
|
|
1766
|
+
dismissAll
|
|
1767
|
+
]
|
|
1768
|
+
);
|
|
1769
|
+
return /* @__PURE__ */ jsx(ToastContext.Provider, { value: contextValue, children });
|
|
1770
|
+
}
|
|
1771
|
+
function useToast() {
|
|
1772
|
+
const context = useContext(ToastContext);
|
|
1773
|
+
if (!context) {
|
|
1774
|
+
throw new Error("useToast must be used within a ToastProvider");
|
|
1775
|
+
}
|
|
1776
|
+
return context;
|
|
1777
|
+
}
|
|
1778
|
+
function useOptionalToast() {
|
|
1779
|
+
return useContext(ToastContext);
|
|
1780
|
+
}
|
|
1659
1781
|
var CheckIcon = () => /* @__PURE__ */ jsx(
|
|
1660
1782
|
"svg",
|
|
1661
1783
|
{
|
|
@@ -1787,7 +1909,7 @@ function Toast({
|
|
|
1787
1909
|
className: cn(
|
|
1788
1910
|
"flex items-start gap-3 rounded-lg border p-4 shadow-lg",
|
|
1789
1911
|
"max-w-[420px] min-w-[300px]",
|
|
1790
|
-
"animate-slide-in-right",
|
|
1912
|
+
"animate-slide-in-right rtl:animate-slide-in-left",
|
|
1791
1913
|
styles.container
|
|
1792
1914
|
),
|
|
1793
1915
|
children: [
|
|
@@ -1820,18 +1942,25 @@ function Toast({
|
|
|
1820
1942
|
);
|
|
1821
1943
|
}
|
|
1822
1944
|
var positionStyles = {
|
|
1823
|
-
"top-
|
|
1945
|
+
"top-start": "top-4 start-4 items-start",
|
|
1824
1946
|
"top-center": "top-4 left-1/2 -translate-x-1/2 items-center",
|
|
1825
|
-
"top-
|
|
1826
|
-
"bottom-
|
|
1947
|
+
"top-end": "top-4 end-4 items-end",
|
|
1948
|
+
"bottom-start": "bottom-4 start-4 items-start",
|
|
1827
1949
|
"bottom-center": "bottom-4 left-1/2 -translate-x-1/2 items-center",
|
|
1828
|
-
"bottom-
|
|
1950
|
+
"bottom-end": "bottom-4 end-4 items-end",
|
|
1951
|
+
// Deprecated physical aliases for the logical positions above.
|
|
1952
|
+
"top-left": "top-4 start-4 items-start",
|
|
1953
|
+
"top-right": "top-4 end-4 items-end",
|
|
1954
|
+
"bottom-left": "bottom-4 start-4 items-start",
|
|
1955
|
+
"bottom-right": "bottom-4 end-4 items-end"
|
|
1829
1956
|
};
|
|
1830
1957
|
function ToastContainer({
|
|
1831
1958
|
toasts,
|
|
1832
|
-
position
|
|
1959
|
+
position,
|
|
1833
1960
|
onDismiss
|
|
1834
1961
|
}) {
|
|
1962
|
+
const context = useOptionalToast();
|
|
1963
|
+
const resolvedPosition = position ?? context?.position ?? "bottom-end";
|
|
1835
1964
|
if (toasts.length === 0) return null;
|
|
1836
1965
|
return /* @__PURE__ */ jsx(
|
|
1837
1966
|
"div",
|
|
@@ -1839,7 +1968,7 @@ function ToastContainer({
|
|
|
1839
1968
|
"data-slot": "toast-container",
|
|
1840
1969
|
className: cn(
|
|
1841
1970
|
"pointer-events-none fixed z-50 flex flex-col gap-2",
|
|
1842
|
-
positionStyles[
|
|
1971
|
+
positionStyles[resolvedPosition]
|
|
1843
1972
|
),
|
|
1844
1973
|
"aria-live": "polite",
|
|
1845
1974
|
"aria-atomic": "true",
|
|
@@ -1847,111 +1976,6 @@ function ToastContainer({
|
|
|
1847
1976
|
}
|
|
1848
1977
|
);
|
|
1849
1978
|
}
|
|
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
1979
|
var MENU_OFFSET_PX = 6;
|
|
1956
1980
|
var MENU_MAX_HEIGHT_PX = 320;
|
|
1957
1981
|
function optionKey(option) {
|
|
@@ -1982,6 +2006,7 @@ function ComposerModelSelector({
|
|
|
1982
2006
|
onProviderFilterChange,
|
|
1983
2007
|
onChange,
|
|
1984
2008
|
disabled = false,
|
|
2009
|
+
variant = "default",
|
|
1985
2010
|
className,
|
|
1986
2011
|
boundaryRef,
|
|
1987
2012
|
placeholder = "Model",
|
|
@@ -2225,11 +2250,20 @@ function ComposerModelSelector({
|
|
|
2225
2250
|
onKeyDown: handleTriggerKeyDown,
|
|
2226
2251
|
"data-slot": "composer-model-selector-trigger",
|
|
2227
2252
|
className: cn(
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2253
|
+
variant === "ghost" ? [
|
|
2254
|
+
"inline-flex max-w-full min-w-0 items-center gap-1 rounded-md px-2 py-1 text-xs",
|
|
2255
|
+
"text-neutral-600 dark:text-neutral-400",
|
|
2256
|
+
"transition-colors duration-150",
|
|
2257
|
+
"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
|
|
2258
|
+
"focus-visible:ring-primary-500 focus-visible:ring-2 focus-visible:outline-none",
|
|
2259
|
+
"disabled:pointer-events-none disabled:opacity-40"
|
|
2260
|
+
] : [
|
|
2261
|
+
"inline-flex h-8 max-w-full items-center gap-1.5 rounded-full border px-2.5 text-sm font-medium",
|
|
2262
|
+
"border-border bg-background text-foreground shadow-sm",
|
|
2263
|
+
"hover:bg-muted/50",
|
|
2264
|
+
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
|
|
2265
|
+
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
2266
|
+
],
|
|
2233
2267
|
className
|
|
2234
2268
|
),
|
|
2235
2269
|
children: [
|
|
@@ -2242,7 +2276,16 @@ function ComposerModelSelector({
|
|
|
2242
2276
|
children: selectedEffortOption.label
|
|
2243
2277
|
}
|
|
2244
2278
|
),
|
|
2245
|
-
/* @__PURE__ */ jsx(
|
|
2279
|
+
/* @__PURE__ */ jsx(
|
|
2280
|
+
ChevronUp$1,
|
|
2281
|
+
{
|
|
2282
|
+
"aria-hidden": "true",
|
|
2283
|
+
className: cn(
|
|
2284
|
+
"shrink-0",
|
|
2285
|
+
variant === "ghost" ? "h-3 w-3" : "h-3.5 w-3.5"
|
|
2286
|
+
)
|
|
2287
|
+
}
|
|
2288
|
+
)
|
|
2246
2289
|
]
|
|
2247
2290
|
}
|
|
2248
2291
|
),
|
|
@@ -2326,7 +2369,7 @@ function ComposerModelSelector({
|
|
|
2326
2369
|
children: [
|
|
2327
2370
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: model.label ?? model.model }),
|
|
2328
2371
|
selected && /* @__PURE__ */ jsx(
|
|
2329
|
-
Check,
|
|
2372
|
+
Check$1,
|
|
2330
2373
|
{
|
|
2331
2374
|
"aria-hidden": "true",
|
|
2332
2375
|
className: "text-primary h-4 w-4 shrink-0"
|
|
@@ -2360,10 +2403,10 @@ function ComposerModelSelector({
|
|
|
2360
2403
|
/* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: effortLabel }),
|
|
2361
2404
|
selectedEffortOption && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground min-w-0 truncate", children: selectedEffortOption.label }),
|
|
2362
2405
|
/* @__PURE__ */ jsx(
|
|
2363
|
-
ChevronRight
|
|
2406
|
+
ChevronRight,
|
|
2364
2407
|
{
|
|
2365
2408
|
"aria-hidden": "true",
|
|
2366
|
-
className: "text-muted-foreground h-4 w-4 shrink-0"
|
|
2409
|
+
className: "text-muted-foreground h-4 w-4 shrink-0 rtl:-scale-x-100"
|
|
2367
2410
|
}
|
|
2368
2411
|
)
|
|
2369
2412
|
]
|
|
@@ -2385,7 +2428,13 @@ function ComposerModelSelector({
|
|
|
2385
2428
|
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none"
|
|
2386
2429
|
),
|
|
2387
2430
|
children: [
|
|
2388
|
-
/* @__PURE__ */ jsx(
|
|
2431
|
+
/* @__PURE__ */ jsx(
|
|
2432
|
+
ChevronLeft,
|
|
2433
|
+
{
|
|
2434
|
+
"aria-hidden": "true",
|
|
2435
|
+
className: "h-3.5 w-3.5 rtl:-scale-x-100"
|
|
2436
|
+
}
|
|
2437
|
+
),
|
|
2389
2438
|
effortLabel
|
|
2390
2439
|
]
|
|
2391
2440
|
}
|
|
@@ -2428,7 +2477,7 @@ function ComposerModelSelector({
|
|
|
2428
2477
|
] }),
|
|
2429
2478
|
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
2479
|
selected && /* @__PURE__ */ jsx(
|
|
2431
|
-
Check,
|
|
2480
|
+
Check$1,
|
|
2432
2481
|
{
|
|
2433
2482
|
"aria-hidden": "true",
|
|
2434
2483
|
className: "text-primary h-4 w-4 shrink-0"
|
|
@@ -2629,7 +2678,7 @@ function OzwellChat({
|
|
|
2629
2678
|
variant: "ghost",
|
|
2630
2679
|
"aria-label": "Save queued message",
|
|
2631
2680
|
onClick: saveQueuedMessage,
|
|
2632
|
-
children: /* @__PURE__ */ jsx(Check
|
|
2681
|
+
children: /* @__PURE__ */ jsx(Check, { size: 14, "aria-hidden": "true" })
|
|
2633
2682
|
}
|
|
2634
2683
|
) }),
|
|
2635
2684
|
/* @__PURE__ */ jsx(Tooltip, { content: "Cancel editing", children: /* @__PURE__ */ jsx(
|
|
@@ -3249,7 +3298,7 @@ function ItemLabel({ label, sub }) {
|
|
|
3249
3298
|
] });
|
|
3250
3299
|
}
|
|
3251
3300
|
var itemClasses = cn(
|
|
3252
|
-
"flex w-full items-center gap-3 rounded-lg px-3 py-2 text-
|
|
3301
|
+
"flex w-full items-center gap-3 rounded-lg px-3 py-2 text-start text-sm",
|
|
3253
3302
|
"transition-colors duration-150 focus:outline-none",
|
|
3254
3303
|
"text-neutral-700 dark:text-neutral-300",
|
|
3255
3304
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
@@ -5360,10 +5409,14 @@ function AIChatTrigger({
|
|
|
5360
5409
|
className
|
|
5361
5410
|
}) {
|
|
5362
5411
|
const positionClasses = {
|
|
5363
|
-
"bottom-right": "bottom-4
|
|
5364
|
-
"bottom-left": "bottom-4
|
|
5365
|
-
"top-right": "top-4
|
|
5366
|
-
"top-left": "top-4
|
|
5412
|
+
"bottom-right": "bottom-4 end-4",
|
|
5413
|
+
"bottom-left": "bottom-4 start-4",
|
|
5414
|
+
"top-right": "top-4 end-4",
|
|
5415
|
+
"top-left": "top-4 start-4",
|
|
5416
|
+
"bottom-end": "bottom-4 end-4",
|
|
5417
|
+
"bottom-start": "bottom-4 start-4",
|
|
5418
|
+
"top-end": "top-4 end-4",
|
|
5419
|
+
"top-start": "top-4 start-4"
|
|
5367
5420
|
};
|
|
5368
5421
|
return /* @__PURE__ */ jsxs(
|
|
5369
5422
|
"button",
|
|
@@ -5388,7 +5441,7 @@ function AIChatTrigger({
|
|
|
5388
5441
|
"span",
|
|
5389
5442
|
{
|
|
5390
5443
|
"data-slot": "ai-chat-trigger-badge",
|
|
5391
|
-
className: "absolute -
|
|
5444
|
+
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
5445
|
children: badge > 9 ? "9+" : badge
|
|
5393
5446
|
}
|
|
5394
5447
|
),
|
|
@@ -5412,8 +5465,10 @@ function AIChatModal({
|
|
|
5412
5465
|
});
|
|
5413
5466
|
if (!open) return null;
|
|
5414
5467
|
const positionClasses = {
|
|
5415
|
-
"bottom-right": "bottom-20
|
|
5416
|
-
"bottom-left": "bottom-20
|
|
5468
|
+
"bottom-right": "bottom-20 end-4",
|
|
5469
|
+
"bottom-left": "bottom-20 start-4",
|
|
5470
|
+
"bottom-end": "bottom-20 end-4",
|
|
5471
|
+
"bottom-start": "bottom-20 start-4",
|
|
5417
5472
|
center: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
|
|
5418
5473
|
};
|
|
5419
5474
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5759,7 +5814,7 @@ function VoiceSetup({
|
|
|
5759
5814
|
{
|
|
5760
5815
|
variant: "ghost",
|
|
5761
5816
|
size: "sm",
|
|
5762
|
-
className: "text-muted-foreground absolute
|
|
5817
|
+
className: "text-muted-foreground absolute start-4 top-4",
|
|
5763
5818
|
onClick: () => {
|
|
5764
5819
|
oz.cancel();
|
|
5765
5820
|
onCancel();
|
|
@@ -6010,7 +6065,7 @@ function VoiceManager({ logoSrc }) {
|
|
|
6010
6065
|
/* @__PURE__ */ jsx("div", { className: "mt-[22px] flex w-full max-w-[460px] flex-col gap-2.5", children: voices.map((v) => /* @__PURE__ */ jsxs(
|
|
6011
6066
|
"div",
|
|
6012
6067
|
{
|
|
6013
|
-
className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-
|
|
6068
|
+
className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-start",
|
|
6014
6069
|
children: [
|
|
6015
6070
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6016
6071
|
editingId === v.id ? /* @__PURE__ */ jsx(
|
|
@@ -6557,7 +6612,7 @@ function VisitScribe({
|
|
|
6557
6612
|
/* @__PURE__ */ jsx(
|
|
6558
6613
|
"span",
|
|
6559
6614
|
{
|
|
6560
|
-
className: "
|
|
6615
|
+
className: "me-2 inline-block h-2.5 w-2.5 animate-pulse rounded-full bg-white",
|
|
6561
6616
|
"aria-hidden": "true"
|
|
6562
6617
|
}
|
|
6563
6618
|
),
|
|
@@ -6653,7 +6708,7 @@ function VisitScribe({
|
|
|
6653
6708
|
recording && /* @__PURE__ */ jsx(
|
|
6654
6709
|
"span",
|
|
6655
6710
|
{
|
|
6656
|
-
className: "
|
|
6711
|
+
className: "me-2 inline-block h-2 w-2 animate-pulse rounded-full bg-red-500 align-middle",
|
|
6657
6712
|
"aria-hidden": "true"
|
|
6658
6713
|
}
|
|
6659
6714
|
),
|
|
@@ -6923,7 +6978,7 @@ function ReconciliationProposalRow({
|
|
|
6923
6978
|
proposal.required && /* @__PURE__ */ jsx(
|
|
6924
6979
|
"span",
|
|
6925
6980
|
{
|
|
6926
|
-
className: "text-muted-foreground
|
|
6981
|
+
className: "text-muted-foreground ms-1 text-xs font-normal",
|
|
6927
6982
|
"aria-label": "required",
|
|
6928
6983
|
children: "(required)"
|
|
6929
6984
|
}
|
|
@@ -7842,7 +7897,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7842
7897
|
"ol",
|
|
7843
7898
|
{
|
|
7844
7899
|
"aria-label": "Assertion history",
|
|
7845
|
-
className: "border-border
|
|
7900
|
+
className: "border-border ms-1.5 mt-2 space-y-2 border-s ps-4",
|
|
7846
7901
|
children: items.map((a) => {
|
|
7847
7902
|
const refuted = a.verificationStatus === "refuted" || a.verificationStatus === "entered-in-error";
|
|
7848
7903
|
const verification = VERIFICATION_BADGE[a.verificationStatus];
|
|
@@ -7851,7 +7906,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7851
7906
|
"span",
|
|
7852
7907
|
{
|
|
7853
7908
|
"aria-hidden": true,
|
|
7854
|
-
className: "bg-border absolute top-1.5
|
|
7909
|
+
className: "bg-border absolute -start-5 top-1.5 h-2 w-2 rounded-full"
|
|
7855
7910
|
}
|
|
7856
7911
|
),
|
|
7857
7912
|
/* @__PURE__ */ jsxs("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
@@ -7920,6 +7975,7 @@ function ConcernRow({
|
|
|
7920
7975
|
/* @__PURE__ */ jsxs(
|
|
7921
7976
|
"li",
|
|
7922
7977
|
{
|
|
7978
|
+
"data-slot": "clinical-list-row",
|
|
7923
7979
|
"data-concern-id": concern.concernId,
|
|
7924
7980
|
tabIndex: 0,
|
|
7925
7981
|
onKeyDown: handleRowKeyDown,
|
|
@@ -7953,7 +8009,7 @@ function ConcernRow({
|
|
|
7953
8009
|
),
|
|
7954
8010
|
/* @__PURE__ */ jsx(UncertaintyBadge, { uncertainty: current.uncertainty }),
|
|
7955
8011
|
concern.relationships?.map((r) => /* @__PURE__ */ jsxs(Badge, { variant: "outline", size: "sm", children: [
|
|
7956
|
-
/* @__PURE__ */ jsx(Link, { size: 10, className: "
|
|
8012
|
+
/* @__PURE__ */ jsx(Link, { size: 10, className: "me-1" }),
|
|
7957
8013
|
r.type.replace(/-/g, " "),
|
|
7958
8014
|
r.display ? `: ${r.display}` : ""
|
|
7959
8015
|
] }, `${r.type}:${r.concernId}`)),
|
|
@@ -7985,7 +8041,7 @@ function ConcernRow({
|
|
|
7985
8041
|
] }),
|
|
7986
8042
|
expanded && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7987
8043
|
/* @__PURE__ */ jsx(AssertionTimeline, { concern }),
|
|
7988
|
-
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "
|
|
8044
|
+
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "ms-1.5 mt-2 ps-4", children: [
|
|
7989
8045
|
/* @__PURE__ */ jsx("h5", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Observations" }),
|
|
7990
8046
|
/* @__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
8047
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs tabular-nums", children: o.date }),
|
|
@@ -8099,7 +8155,14 @@ var ProblemList = React13.forwardRef(
|
|
|
8099
8155
|
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
8156
|
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-6 px-4 py-4", children: [
|
|
8101
8157
|
groups.map(({ key, label, items }) => /* @__PURE__ */ jsxs("section", { "aria-label": label, children: [
|
|
8102
|
-
/* @__PURE__ */ jsx(
|
|
8158
|
+
/* @__PURE__ */ jsx(
|
|
8159
|
+
"h4",
|
|
8160
|
+
{
|
|
8161
|
+
"data-slot": "clinical-list-heading",
|
|
8162
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
8163
|
+
children: label
|
|
8164
|
+
}
|
|
8165
|
+
),
|
|
8103
8166
|
items.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: items.map((concern) => /* @__PURE__ */ jsx(
|
|
8104
8167
|
ConcernRow,
|
|
8105
8168
|
{
|
|
@@ -8118,6 +8181,7 @@ var ProblemList = React13.forwardRef(
|
|
|
8118
8181
|
"input",
|
|
8119
8182
|
{
|
|
8120
8183
|
type: "text",
|
|
8184
|
+
"data-slot": "input",
|
|
8121
8185
|
value: draft,
|
|
8122
8186
|
onChange: (e) => setDraft(e.target.value),
|
|
8123
8187
|
onKeyDown: (e) => {
|
|
@@ -8531,12 +8595,13 @@ function AddOrderForm({
|
|
|
8531
8595
|
{
|
|
8532
8596
|
role: "form",
|
|
8533
8597
|
"aria-label": `Add order for ${problemText}`,
|
|
8534
|
-
className: "border-border bg-muted/40
|
|
8598
|
+
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
8599
|
children: [
|
|
8536
8600
|
/* @__PURE__ */ jsxs(
|
|
8537
8601
|
"select",
|
|
8538
8602
|
{
|
|
8539
8603
|
"aria-label": "Order type filter",
|
|
8604
|
+
"data-slot": "select-trigger",
|
|
8540
8605
|
value: type,
|
|
8541
8606
|
onChange: (e) => setType(e.target.value),
|
|
8542
8607
|
onKeyDown: (e) => {
|
|
@@ -8571,6 +8636,7 @@ function AddOrderForm({
|
|
|
8571
8636
|
{
|
|
8572
8637
|
ref: inputRef,
|
|
8573
8638
|
type: "text",
|
|
8639
|
+
"data-slot": "input",
|
|
8574
8640
|
value: display,
|
|
8575
8641
|
onChange: (e) => setDisplay(e.target.value),
|
|
8576
8642
|
onKeyDown: (e) => {
|
|
@@ -8864,6 +8930,7 @@ var Assessment = React13.forwardRef(
|
|
|
8864
8930
|
return /* @__PURE__ */ jsxs(
|
|
8865
8931
|
"li",
|
|
8866
8932
|
{
|
|
8933
|
+
"data-slot": "assessment-problem",
|
|
8867
8934
|
"data-concern-id": item.concernId,
|
|
8868
8935
|
...bp,
|
|
8869
8936
|
draggable: drag.enabled && !formOpen,
|
|
@@ -8935,12 +9002,12 @@ var Assessment = React13.forwardRef(
|
|
|
8935
9002
|
]
|
|
8936
9003
|
}
|
|
8937
9004
|
),
|
|
8938
|
-
item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1
|
|
9005
|
+
item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 ps-6 text-sm", children: item.note }),
|
|
8939
9006
|
showPlan && linkedOrders.length > 0 && /* @__PURE__ */ jsx(
|
|
8940
9007
|
"ul",
|
|
8941
9008
|
{
|
|
8942
9009
|
"aria-label": `Plan for ${assertion.text}`,
|
|
8943
|
-
className: "border-border
|
|
9010
|
+
className: "border-border ms-2.5 mt-1.5 border-s ps-4",
|
|
8944
9011
|
children: linkedOrders.map((order) => /* @__PURE__ */ jsx(
|
|
8945
9012
|
OrderRow,
|
|
8946
9013
|
{
|
|
@@ -8977,6 +9044,7 @@ var Assessment = React13.forwardRef(
|
|
|
8977
9044
|
"select",
|
|
8978
9045
|
{
|
|
8979
9046
|
"aria-label": "What to add",
|
|
9047
|
+
"data-slot": "select-trigger",
|
|
8980
9048
|
value: addMode,
|
|
8981
9049
|
onChange: (e) => {
|
|
8982
9050
|
setAddMode(e.target.value);
|
|
@@ -9046,7 +9114,7 @@ var Assessment = React13.forwardRef(
|
|
|
9046
9114
|
{
|
|
9047
9115
|
role: "group",
|
|
9048
9116
|
"aria-label": `Add "${pendingFreeText}" as`,
|
|
9049
|
-
className: "flex w-full flex-wrap items-center gap-1.5
|
|
9117
|
+
className: "flex w-full flex-wrap items-center gap-1.5 ps-1",
|
|
9050
9118
|
children: [
|
|
9051
9119
|
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-sm", children: [
|
|
9052
9120
|
"Add",
|
|
@@ -9232,7 +9300,7 @@ function AuthDialog({
|
|
|
9232
9300
|
{
|
|
9233
9301
|
type: "button",
|
|
9234
9302
|
onClick: onClose,
|
|
9235
|
-
className: "text-muted-foreground absolute
|
|
9303
|
+
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
9304
|
"aria-label": "Close",
|
|
9237
9305
|
children: /* @__PURE__ */ jsx(CloseIcon2, { className: "h-5 w-5" })
|
|
9238
9306
|
}
|
|
@@ -9459,7 +9527,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9459
9527
|
onChange: (e) => setPassword(e.target.value),
|
|
9460
9528
|
required: true,
|
|
9461
9529
|
autoComplete: "current-password",
|
|
9462
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9530
|
+
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
9531
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9464
9532
|
}
|
|
9465
9533
|
),
|
|
@@ -9468,7 +9536,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9468
9536
|
{
|
|
9469
9537
|
type: "button",
|
|
9470
9538
|
onClick: () => setShowPassword(!showPassword),
|
|
9471
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9539
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9472
9540
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9473
9541
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9474
9542
|
}
|
|
@@ -9484,7 +9552,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
9484
9552
|
className: "text-primary-800 focus:ring-primary-500 rounded border-gray-300"
|
|
9485
9553
|
}
|
|
9486
9554
|
),
|
|
9487
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
9555
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-2 text-sm", children: "Remember me" })
|
|
9488
9556
|
] }),
|
|
9489
9557
|
/* @__PURE__ */ jsx(
|
|
9490
9558
|
"button",
|
|
@@ -9568,7 +9636,7 @@ function SignupForm({
|
|
|
9568
9636
|
required: true,
|
|
9569
9637
|
autoComplete: "new-password",
|
|
9570
9638
|
minLength: 8,
|
|
9571
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9639
|
+
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
9640
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9573
9641
|
}
|
|
9574
9642
|
),
|
|
@@ -9577,7 +9645,7 @@ function SignupForm({
|
|
|
9577
9645
|
{
|
|
9578
9646
|
type: "button",
|
|
9579
9647
|
onClick: () => setShowPassword(!showPassword),
|
|
9580
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9648
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9581
9649
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9582
9650
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9583
9651
|
}
|
|
@@ -9622,7 +9690,7 @@ function SignupForm({
|
|
|
9622
9690
|
className: "text-primary-800 focus:ring-primary-500 mt-0.5 rounded border-gray-300"
|
|
9623
9691
|
}
|
|
9624
9692
|
),
|
|
9625
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
9693
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-sm", children: [
|
|
9626
9694
|
"I agree to the",
|
|
9627
9695
|
" ",
|
|
9628
9696
|
/* @__PURE__ */ jsx(
|
|
@@ -9747,7 +9815,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
9747
9815
|
required: true,
|
|
9748
9816
|
autoComplete: "new-password",
|
|
9749
9817
|
minLength: 8,
|
|
9750
|
-
className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
9818
|
+
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
9819
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
|
|
9752
9820
|
}
|
|
9753
9821
|
),
|
|
@@ -9756,7 +9824,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
9756
9824
|
{
|
|
9757
9825
|
type: "button",
|
|
9758
9826
|
onClick: () => setShowPassword(!showPassword),
|
|
9759
|
-
className: "text-muted-foreground absolute top-1/2
|
|
9827
|
+
className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
|
|
9760
9828
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
9761
9829
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
9762
9830
|
}
|
|
@@ -10057,7 +10125,7 @@ function FloatingInput({
|
|
|
10057
10125
|
htmlFor: inputId,
|
|
10058
10126
|
"data-slot": "floating-input-label",
|
|
10059
10127
|
className: cn(
|
|
10060
|
-
"text-muted-foreground absolute
|
|
10128
|
+
"text-muted-foreground absolute start-4 top-4 origin-left transform transition-all duration-200 rtl:origin-right",
|
|
10061
10129
|
"peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100",
|
|
10062
10130
|
"peer-focus:-translate-y-2 peer-focus:scale-75",
|
|
10063
10131
|
"peer-[:not(:placeholder-shown)]:-translate-y-2 peer-[:not(:placeholder-shown)]:scale-75",
|
|
@@ -10118,7 +10186,7 @@ function ServiceSelect({
|
|
|
10118
10186
|
onClick: () => setIsOpen(!isOpen),
|
|
10119
10187
|
"data-slot": "service-select-trigger",
|
|
10120
10188
|
className: cn(
|
|
10121
|
-
"w-full rounded-lg border px-4 py-3 text-
|
|
10189
|
+
"w-full rounded-lg border px-4 py-3 text-start transition-colors",
|
|
10122
10190
|
"bg-background",
|
|
10123
10191
|
"focus:ring-2 focus:outline-none",
|
|
10124
10192
|
error ? "border-destructive focus:ring-destructive/20" : "border-input focus:border-primary-500 focus:ring-primary-500/20"
|
|
@@ -10137,7 +10205,7 @@ function ServiceSelect({
|
|
|
10137
10205
|
ChevronDownIcon,
|
|
10138
10206
|
{
|
|
10139
10207
|
className: cn(
|
|
10140
|
-
"text-muted-foreground absolute top-1/2
|
|
10208
|
+
"text-muted-foreground absolute end-4 top-1/2 h-5 w-5 -translate-y-1/2 transition-transform",
|
|
10141
10209
|
isOpen && "rotate-180"
|
|
10142
10210
|
)
|
|
10143
10211
|
}
|
|
@@ -11163,7 +11231,7 @@ function DayScheduleRow({
|
|
|
11163
11231
|
),
|
|
11164
11232
|
children: [
|
|
11165
11233
|
dayName,
|
|
11166
|
-
isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300
|
|
11234
|
+
isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300 ms-1 text-xs", children: "(Today)" })
|
|
11167
11235
|
]
|
|
11168
11236
|
}
|
|
11169
11237
|
),
|
|
@@ -11171,7 +11239,7 @@ function DayScheduleRow({
|
|
|
11171
11239
|
"div",
|
|
11172
11240
|
{
|
|
11173
11241
|
"data-slot": "business-hours-day-hours",
|
|
11174
|
-
className: cn("text-
|
|
11242
|
+
className: cn("text-end", hasMultipleRanges && "flex flex-col gap-1"),
|
|
11175
11243
|
"data-cy": `provider-hours-${dayHours.day}`,
|
|
11176
11244
|
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Closed" })
|
|
11177
11245
|
}
|
|
@@ -11679,7 +11747,7 @@ function BusinessHoursDaysEditor({
|
|
|
11679
11747
|
disabled,
|
|
11680
11748
|
className: "text-xs",
|
|
11681
11749
|
children: [
|
|
11682
|
-
/* @__PURE__ */ jsx(CopyIcon, { className: "
|
|
11750
|
+
/* @__PURE__ */ jsx(CopyIcon, { className: "me-1 h-3 w-3" }),
|
|
11683
11751
|
"Copy"
|
|
11684
11752
|
]
|
|
11685
11753
|
}
|
|
@@ -11714,7 +11782,7 @@ function BusinessHoursDaysEditor({
|
|
|
11714
11782
|
disabled,
|
|
11715
11783
|
className: "text-xs",
|
|
11716
11784
|
children: [
|
|
11717
|
-
/* @__PURE__ */ jsx(PlusIcon2, { className: "
|
|
11785
|
+
/* @__PURE__ */ jsx(PlusIcon2, { className: "me-1 h-3 w-3" }),
|
|
11718
11786
|
addHoursLabel
|
|
11719
11787
|
]
|
|
11720
11788
|
}
|
|
@@ -12235,7 +12303,7 @@ var CaseContextBar = React13.forwardRef(
|
|
|
12235
12303
|
disabled: !onBack,
|
|
12236
12304
|
"aria-label": l.back,
|
|
12237
12305
|
className: "-ms-2 h-6 w-6 shrink-0",
|
|
12238
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16 })
|
|
12306
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16, className: "rtl:-scale-x-100" })
|
|
12239
12307
|
}
|
|
12240
12308
|
),
|
|
12241
12309
|
/* @__PURE__ */ jsxs(
|
|
@@ -12340,7 +12408,7 @@ var CaseManagementHeader = React13.forwardRef(
|
|
|
12340
12408
|
disabled: !onBack,
|
|
12341
12409
|
"aria-label": l.back,
|
|
12342
12410
|
className: "-ms-2 h-8 w-8 shrink-0",
|
|
12343
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
|
|
12411
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
|
|
12344
12412
|
}
|
|
12345
12413
|
),
|
|
12346
12414
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-wrap items-baseline gap-x-4 gap-y-0.5", children: [
|
|
@@ -12431,6 +12499,599 @@ var CaseManagementHeader = React13.forwardRef(
|
|
|
12431
12499
|
}
|
|
12432
12500
|
);
|
|
12433
12501
|
CaseManagementHeader.displayName = "CaseManagementHeader";
|
|
12502
|
+
var iconButtonClasses = cn(
|
|
12503
|
+
"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg",
|
|
12504
|
+
"text-neutral-500 dark:text-neutral-400",
|
|
12505
|
+
"transition-colors duration-150",
|
|
12506
|
+
"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
|
|
12507
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
|
|
12508
|
+
"disabled:pointer-events-none disabled:opacity-40"
|
|
12509
|
+
);
|
|
12510
|
+
var selectorTriggerClasses = cn(
|
|
12511
|
+
"flex min-w-0 items-center gap-1 rounded-md px-2 py-1 text-xs",
|
|
12512
|
+
"text-neutral-600 dark:text-neutral-400",
|
|
12513
|
+
"transition-colors duration-150",
|
|
12514
|
+
"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
|
|
12515
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
|
|
12516
|
+
"disabled:pointer-events-none disabled:opacity-40"
|
|
12517
|
+
);
|
|
12518
|
+
var MAX_INPUT_HEIGHT = 160;
|
|
12519
|
+
var ChatComposer = React13.forwardRef(function ChatComposer2({
|
|
12520
|
+
onSend,
|
|
12521
|
+
value: controlledValue,
|
|
12522
|
+
onValueChange,
|
|
12523
|
+
placeholder = "Type a message\u2026",
|
|
12524
|
+
disabled = false,
|
|
12525
|
+
isSending = false,
|
|
12526
|
+
autoFocus = false,
|
|
12527
|
+
maxLength,
|
|
12528
|
+
showCharacterCount = false,
|
|
12529
|
+
canSendWhenEmpty = false,
|
|
12530
|
+
maxHeight = MAX_INPUT_HEIGHT,
|
|
12531
|
+
textareaProps,
|
|
12532
|
+
addMenuItems,
|
|
12533
|
+
allowAttachments = true,
|
|
12534
|
+
acceptedFileTypes,
|
|
12535
|
+
maxFileSize,
|
|
12536
|
+
maxAttachments = 10,
|
|
12537
|
+
mentionOptions,
|
|
12538
|
+
showMic = false,
|
|
12539
|
+
onMicClick,
|
|
12540
|
+
micSlot,
|
|
12541
|
+
micBehavior = "always",
|
|
12542
|
+
isStreaming = false,
|
|
12543
|
+
onStop,
|
|
12544
|
+
showAgentSelector = false,
|
|
12545
|
+
agents = [],
|
|
12546
|
+
selectedAgent = null,
|
|
12547
|
+
onAgentChange,
|
|
12548
|
+
showModelSelector = false,
|
|
12549
|
+
modelSelectorProps,
|
|
12550
|
+
readOnly = false,
|
|
12551
|
+
readOnlyMessage = "You have read-only access and cannot send messages.",
|
|
12552
|
+
onError,
|
|
12553
|
+
attachmentLimitLabel,
|
|
12554
|
+
sendFailedLabel = "Failed to send message",
|
|
12555
|
+
sendingLabel = "Sending message\u2026",
|
|
12556
|
+
inputLabel = "Message input",
|
|
12557
|
+
addMenuLabel = "Add to message",
|
|
12558
|
+
attachFilesLabel = "Attach files",
|
|
12559
|
+
micLabel = "Start voice input",
|
|
12560
|
+
sendLabel = "Send message",
|
|
12561
|
+
stopLabel = "Stop generating",
|
|
12562
|
+
agentSelectorLabel = "Select agent",
|
|
12563
|
+
mentionListLabel = "Mention",
|
|
12564
|
+
dropFilesLabel = "Drop files here",
|
|
12565
|
+
className
|
|
12566
|
+
}, ref) {
|
|
12567
|
+
const [internalValue, setInternalValue] = React13.useState("");
|
|
12568
|
+
const isControlled = controlledValue !== void 0;
|
|
12569
|
+
const value = isControlled ? controlledValue : internalValue;
|
|
12570
|
+
const [attachments, setAttachments] = React13.useState([]);
|
|
12571
|
+
const attachmentsRef = React13.useRef(attachments);
|
|
12572
|
+
attachmentsRef.current = attachments;
|
|
12573
|
+
const textareaRef = React13.useRef(null);
|
|
12574
|
+
const fileInputRef = React13.useRef(null);
|
|
12575
|
+
const [addMenuOpen, setAddMenuOpen] = React13.useState(false);
|
|
12576
|
+
const [agentMenuOpen, setAgentMenuOpen] = React13.useState(false);
|
|
12577
|
+
const hasText = value.trim().length > 0;
|
|
12578
|
+
const hasContent = hasText || attachments.length > 0;
|
|
12579
|
+
const isOverLimit = maxLength !== void 0 && value.length > maxLength;
|
|
12580
|
+
const canSend = (hasContent || canSendWhenEmpty) && onSend !== void 0 && !disabled && !isSending && !isStreaming && !isOverLimit;
|
|
12581
|
+
const setValue = React13.useCallback(
|
|
12582
|
+
(next) => {
|
|
12583
|
+
if (!isControlled) setInternalValue(next);
|
|
12584
|
+
onValueChange?.(next);
|
|
12585
|
+
},
|
|
12586
|
+
[isControlled, onValueChange]
|
|
12587
|
+
);
|
|
12588
|
+
const mention = useMentionAutocomplete({
|
|
12589
|
+
options: mentionOptions,
|
|
12590
|
+
value,
|
|
12591
|
+
setValue,
|
|
12592
|
+
textareaRef
|
|
12593
|
+
});
|
|
12594
|
+
const resizeTextarea = React13.useCallback(() => {
|
|
12595
|
+
const textarea = textareaRef.current;
|
|
12596
|
+
if (!textarea) return;
|
|
12597
|
+
textarea.style.height = "auto";
|
|
12598
|
+
if (textarea.scrollHeight === 0) return;
|
|
12599
|
+
textarea.style.height = `${textarea.scrollHeight}px`;
|
|
12600
|
+
}, []);
|
|
12601
|
+
React13.useLayoutEffect(resizeTextarea, [resizeTextarea, value]);
|
|
12602
|
+
React13.useEffect(() => {
|
|
12603
|
+
const textarea = textareaRef.current;
|
|
12604
|
+
if (!textarea || typeof ResizeObserver === "undefined") return;
|
|
12605
|
+
let frame = 0;
|
|
12606
|
+
const observer = new ResizeObserver(() => {
|
|
12607
|
+
cancelAnimationFrame(frame);
|
|
12608
|
+
frame = requestAnimationFrame(resizeTextarea);
|
|
12609
|
+
});
|
|
12610
|
+
observer.observe(textarea);
|
|
12611
|
+
return () => {
|
|
12612
|
+
cancelAnimationFrame(frame);
|
|
12613
|
+
observer.disconnect();
|
|
12614
|
+
};
|
|
12615
|
+
}, [resizeTextarea]);
|
|
12616
|
+
const addFiles = React13.useCallback(
|
|
12617
|
+
(files) => {
|
|
12618
|
+
if (!allowAttachments || files.length === 0) return;
|
|
12619
|
+
const limitMessage = attachmentLimitLabel ?? `Attachment limit reached (max ${maxAttachments})`;
|
|
12620
|
+
const room = maxAttachments - attachmentsRef.current.length;
|
|
12621
|
+
if (files.length > room) {
|
|
12622
|
+
onError?.(limitMessage, { reason: "attachment-limit" });
|
|
12623
|
+
if (room <= 0) return;
|
|
12624
|
+
}
|
|
12625
|
+
const staged = [];
|
|
12626
|
+
for (const file of files.slice(0, Math.max(room, 0))) {
|
|
12627
|
+
const typeCheck = validateFile(file, acceptedFileTypes, void 0);
|
|
12628
|
+
if (!typeCheck.valid) {
|
|
12629
|
+
onError?.(`${file.name}: ${typeCheck.error}`, {
|
|
12630
|
+
reason: "file-type",
|
|
12631
|
+
file
|
|
12632
|
+
});
|
|
12633
|
+
continue;
|
|
12634
|
+
}
|
|
12635
|
+
const sizeCheck = validateFile(file, void 0, maxFileSize);
|
|
12636
|
+
if (!sizeCheck.valid) {
|
|
12637
|
+
onError?.(`${file.name}: ${sizeCheck.error}`, {
|
|
12638
|
+
reason: "file-size",
|
|
12639
|
+
file
|
|
12640
|
+
});
|
|
12641
|
+
continue;
|
|
12642
|
+
}
|
|
12643
|
+
const type = getFileType(file.type);
|
|
12644
|
+
staged.push({
|
|
12645
|
+
id: generateAttachmentId(),
|
|
12646
|
+
file,
|
|
12647
|
+
type,
|
|
12648
|
+
previewUrl: type === "image" || type === "video" ? URL.createObjectURL(file) : void 0
|
|
12649
|
+
});
|
|
12650
|
+
}
|
|
12651
|
+
if (staged.length > 0) {
|
|
12652
|
+
attachmentsRef.current = [...attachmentsRef.current, ...staged];
|
|
12653
|
+
setAttachments((current) => [...current, ...staged]);
|
|
12654
|
+
}
|
|
12655
|
+
},
|
|
12656
|
+
[
|
|
12657
|
+
allowAttachments,
|
|
12658
|
+
maxAttachments,
|
|
12659
|
+
acceptedFileTypes,
|
|
12660
|
+
maxFileSize,
|
|
12661
|
+
onError,
|
|
12662
|
+
attachmentLimitLabel
|
|
12663
|
+
]
|
|
12664
|
+
);
|
|
12665
|
+
const removeAttachment = React13.useCallback((id) => {
|
|
12666
|
+
const target = attachmentsRef.current.find(
|
|
12667
|
+
(attachment) => attachment.id === id
|
|
12668
|
+
);
|
|
12669
|
+
if (target?.previewUrl) URL.revokeObjectURL(target.previewUrl);
|
|
12670
|
+
attachmentsRef.current = attachmentsRef.current.filter(
|
|
12671
|
+
(attachment) => attachment.id !== id
|
|
12672
|
+
);
|
|
12673
|
+
setAttachments(
|
|
12674
|
+
(current) => current.filter((attachment) => attachment.id !== id)
|
|
12675
|
+
);
|
|
12676
|
+
}, []);
|
|
12677
|
+
React13.useEffect(() => {
|
|
12678
|
+
return () => {
|
|
12679
|
+
for (const attachment of attachmentsRef.current) {
|
|
12680
|
+
if (attachment.previewUrl) URL.revokeObjectURL(attachment.previewUrl);
|
|
12681
|
+
}
|
|
12682
|
+
};
|
|
12683
|
+
}, []);
|
|
12684
|
+
const handleFileInputChange = (event) => {
|
|
12685
|
+
const files = Array.from(event.target.files ?? []);
|
|
12686
|
+
addFiles(files);
|
|
12687
|
+
event.target.value = "";
|
|
12688
|
+
};
|
|
12689
|
+
const handlePaste = (event) => {
|
|
12690
|
+
if (!allowAttachments) return;
|
|
12691
|
+
const files = Array.from(event.clipboardData.files);
|
|
12692
|
+
if (files.length > 0) {
|
|
12693
|
+
event.preventDefault();
|
|
12694
|
+
addFiles(files);
|
|
12695
|
+
}
|
|
12696
|
+
};
|
|
12697
|
+
React13.useImperativeHandle(
|
|
12698
|
+
ref,
|
|
12699
|
+
() => ({
|
|
12700
|
+
addFiles,
|
|
12701
|
+
focus: () => textareaRef.current?.focus(),
|
|
12702
|
+
getTextarea: () => textareaRef.current
|
|
12703
|
+
}),
|
|
12704
|
+
[addFiles]
|
|
12705
|
+
);
|
|
12706
|
+
const handleSend = () => {
|
|
12707
|
+
if (!canSend || !onSend) return;
|
|
12708
|
+
const message = {
|
|
12709
|
+
content: value.trim(),
|
|
12710
|
+
attachments: attachments.map((attachment) => attachment.file)
|
|
12711
|
+
};
|
|
12712
|
+
for (const attachment of attachments) {
|
|
12713
|
+
if (attachment.previewUrl) URL.revokeObjectURL(attachment.previewUrl);
|
|
12714
|
+
}
|
|
12715
|
+
attachmentsRef.current = [];
|
|
12716
|
+
setAttachments([]);
|
|
12717
|
+
setValue("");
|
|
12718
|
+
try {
|
|
12719
|
+
Promise.resolve(onSend(message)).catch(() => {
|
|
12720
|
+
onError?.(sendFailedLabel, { reason: "send-failed" });
|
|
12721
|
+
});
|
|
12722
|
+
} catch {
|
|
12723
|
+
onError?.(sendFailedLabel, { reason: "send-failed" });
|
|
12724
|
+
}
|
|
12725
|
+
textareaRef.current?.focus();
|
|
12726
|
+
};
|
|
12727
|
+
const handleKeyDown = (event) => {
|
|
12728
|
+
if (mention.handleKeyDown(event)) return;
|
|
12729
|
+
if (event.key === "Enter" && !event.shiftKey) {
|
|
12730
|
+
event.preventDefault();
|
|
12731
|
+
handleSend();
|
|
12732
|
+
}
|
|
12733
|
+
};
|
|
12734
|
+
if (readOnly) {
|
|
12735
|
+
return /* @__PURE__ */ jsxs(
|
|
12736
|
+
"div",
|
|
12737
|
+
{
|
|
12738
|
+
"data-slot": "chat-composer",
|
|
12739
|
+
role: "status",
|
|
12740
|
+
className: cn(
|
|
12741
|
+
"flex items-center gap-2 rounded-xl border px-4 py-3 text-sm",
|
|
12742
|
+
"border-amber-300 bg-amber-50 text-amber-900",
|
|
12743
|
+
"dark:border-amber-700 dark:bg-amber-950 dark:text-amber-200",
|
|
12744
|
+
className
|
|
12745
|
+
),
|
|
12746
|
+
children: [
|
|
12747
|
+
/* @__PURE__ */ jsx(AlertTriangle, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
|
|
12748
|
+
/* @__PURE__ */ jsx("span", { "data-slot": "chat-composer-readonly", children: readOnlyMessage })
|
|
12749
|
+
]
|
|
12750
|
+
}
|
|
12751
|
+
);
|
|
12752
|
+
}
|
|
12753
|
+
const showAddMenu = allowAttachments || addMenuItems && addMenuItems.length > 0;
|
|
12754
|
+
const micVisible = (showMic || onMicClick !== void 0 || micSlot !== void 0) && (micBehavior === "always" || !hasContent);
|
|
12755
|
+
const showSelectorRow = showAgentSelector || showModelSelector;
|
|
12756
|
+
const selectedAgentOption = agents.find((agent) => agent.id === selectedAgent) ?? null;
|
|
12757
|
+
const cells = {
|
|
12758
|
+
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",
|
|
12759
|
+
textarea: "px-2 pt-2 pb-1 md:py-1.5",
|
|
12760
|
+
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",
|
|
12761
|
+
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"
|
|
12762
|
+
};
|
|
12763
|
+
const composerCard = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12764
|
+
attachments.length > 0 && /* @__PURE__ */ jsx(
|
|
12765
|
+
"div",
|
|
12766
|
+
{
|
|
12767
|
+
"data-slot": "chat-composer-attachments",
|
|
12768
|
+
className: "flex flex-wrap gap-2 px-3 pt-3",
|
|
12769
|
+
children: attachments.map((attachment) => /* @__PURE__ */ jsx(
|
|
12770
|
+
AttachmentPreviewItem,
|
|
12771
|
+
{
|
|
12772
|
+
attachment: { ...attachment, state: "pending" },
|
|
12773
|
+
onRemove: () => removeAttachment(attachment.id),
|
|
12774
|
+
disabled
|
|
12775
|
+
},
|
|
12776
|
+
attachment.id
|
|
12777
|
+
))
|
|
12778
|
+
}
|
|
12779
|
+
),
|
|
12780
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[auto_minmax(0,1fr)_auto]", children: [
|
|
12781
|
+
/* @__PURE__ */ jsxs("div", { className: cells.input, ref: mention.anchorRef, children: [
|
|
12782
|
+
/* @__PURE__ */ jsx(
|
|
12783
|
+
MentionMenu,
|
|
12784
|
+
{
|
|
12785
|
+
mention,
|
|
12786
|
+
label: mentionListLabel,
|
|
12787
|
+
dataSlot: "chat-composer-mention-list"
|
|
12788
|
+
}
|
|
12789
|
+
),
|
|
12790
|
+
/* @__PURE__ */ jsx(
|
|
12791
|
+
"textarea",
|
|
12792
|
+
{
|
|
12793
|
+
...textareaProps,
|
|
12794
|
+
ref: textareaRef,
|
|
12795
|
+
"data-slot": "chat-composer-input",
|
|
12796
|
+
value,
|
|
12797
|
+
onChange: (event) => {
|
|
12798
|
+
textareaProps?.onChange?.(event);
|
|
12799
|
+
setValue(event.target.value);
|
|
12800
|
+
mention.sync(
|
|
12801
|
+
event.target.value,
|
|
12802
|
+
event.target.selectionStart ?? event.target.value.length
|
|
12803
|
+
);
|
|
12804
|
+
},
|
|
12805
|
+
onKeyDown: (event) => {
|
|
12806
|
+
textareaProps?.onKeyDown?.(event);
|
|
12807
|
+
if (event.defaultPrevented) return;
|
|
12808
|
+
handleKeyDown(event);
|
|
12809
|
+
},
|
|
12810
|
+
onClick: (event) => {
|
|
12811
|
+
textareaProps?.onClick?.(event);
|
|
12812
|
+
if (event.defaultPrevented) return;
|
|
12813
|
+
const el = event.currentTarget;
|
|
12814
|
+
mention.sync(el.value, el.selectionStart ?? el.value.length);
|
|
12815
|
+
},
|
|
12816
|
+
onPaste: (event) => {
|
|
12817
|
+
textareaProps?.onPaste?.(event);
|
|
12818
|
+
if (event.defaultPrevented) return;
|
|
12819
|
+
handlePaste(event);
|
|
12820
|
+
},
|
|
12821
|
+
placeholder,
|
|
12822
|
+
disabled,
|
|
12823
|
+
autoFocus,
|
|
12824
|
+
rows: 1,
|
|
12825
|
+
"aria-label": inputLabel,
|
|
12826
|
+
...mention.inputProps,
|
|
12827
|
+
style: {
|
|
12828
|
+
...textareaProps?.style,
|
|
12829
|
+
maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight
|
|
12830
|
+
},
|
|
12831
|
+
className: cn(
|
|
12832
|
+
"block w-full resize-none bg-transparent",
|
|
12833
|
+
"rounded-lg text-sm",
|
|
12834
|
+
cells.textarea,
|
|
12835
|
+
"text-neutral-900 placeholder:text-neutral-400 dark:text-white dark:placeholder:text-neutral-500",
|
|
12836
|
+
// Ring the input itself on focus rather than the whole shell.
|
|
12837
|
+
"focus:ring-primary-500 focus:ring-1 focus:outline-none",
|
|
12838
|
+
"disabled:cursor-not-allowed",
|
|
12839
|
+
textareaProps?.className
|
|
12840
|
+
)
|
|
12841
|
+
}
|
|
12842
|
+
)
|
|
12843
|
+
] }),
|
|
12844
|
+
showAddMenu && /* @__PURE__ */ jsx("div", { className: cells.add, children: /* @__PURE__ */ jsxs(
|
|
12845
|
+
Dropdown,
|
|
12846
|
+
{
|
|
12847
|
+
placement: "top-start",
|
|
12848
|
+
open: addMenuOpen,
|
|
12849
|
+
onOpenChange: setAddMenuOpen,
|
|
12850
|
+
trigger: /* @__PURE__ */ jsx(
|
|
12851
|
+
"button",
|
|
12852
|
+
{
|
|
12853
|
+
type: "button",
|
|
12854
|
+
"data-slot": "chat-composer-add-button",
|
|
12855
|
+
"aria-label": addMenuLabel,
|
|
12856
|
+
disabled,
|
|
12857
|
+
className: iconButtonClasses,
|
|
12858
|
+
children: /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
12859
|
+
}
|
|
12860
|
+
),
|
|
12861
|
+
children: [
|
|
12862
|
+
allowAttachments && /* @__PURE__ */ jsx(
|
|
12863
|
+
DropdownItem,
|
|
12864
|
+
{
|
|
12865
|
+
icon: /* @__PURE__ */ jsx(Paperclip, { className: "h-4 w-4", "aria-hidden": "true" }),
|
|
12866
|
+
onClick: () => {
|
|
12867
|
+
setAddMenuOpen(false);
|
|
12868
|
+
fileInputRef.current?.click();
|
|
12869
|
+
},
|
|
12870
|
+
children: attachFilesLabel
|
|
12871
|
+
}
|
|
12872
|
+
),
|
|
12873
|
+
allowAttachments && addMenuItems && addMenuItems.length > 0 && /* @__PURE__ */ jsx(DropdownSeparator, {}),
|
|
12874
|
+
addMenuItems?.map((item) => /* @__PURE__ */ jsx(
|
|
12875
|
+
DropdownItem,
|
|
12876
|
+
{
|
|
12877
|
+
icon: item.icon,
|
|
12878
|
+
disabled: item.disabled,
|
|
12879
|
+
variant: item.variant,
|
|
12880
|
+
checked: item.checked,
|
|
12881
|
+
onClick: () => {
|
|
12882
|
+
setAddMenuOpen(false);
|
|
12883
|
+
item.onSelect?.();
|
|
12884
|
+
},
|
|
12885
|
+
children: /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: item.label })
|
|
12886
|
+
},
|
|
12887
|
+
item.id
|
|
12888
|
+
))
|
|
12889
|
+
]
|
|
12890
|
+
}
|
|
12891
|
+
) }),
|
|
12892
|
+
allowAttachments && /* @__PURE__ */ jsx(
|
|
12893
|
+
"input",
|
|
12894
|
+
{
|
|
12895
|
+
ref: fileInputRef,
|
|
12896
|
+
type: "file",
|
|
12897
|
+
multiple: true,
|
|
12898
|
+
accept: acceptedFileTypes?.join(","),
|
|
12899
|
+
onChange: handleFileInputChange,
|
|
12900
|
+
className: "hidden",
|
|
12901
|
+
"aria-hidden": "true",
|
|
12902
|
+
tabIndex: -1
|
|
12903
|
+
}
|
|
12904
|
+
),
|
|
12905
|
+
/* @__PURE__ */ jsxs("div", { className: cells.actions, children: [
|
|
12906
|
+
showCharacterCount && maxLength !== void 0 && /* @__PURE__ */ jsxs(
|
|
12907
|
+
"span",
|
|
12908
|
+
{
|
|
12909
|
+
"data-slot": "chat-composer-char-count",
|
|
12910
|
+
"aria-live": "polite",
|
|
12911
|
+
className: cn(
|
|
12912
|
+
"pe-1 text-xs tabular-nums",
|
|
12913
|
+
isOverLimit ? "font-medium text-red-700 dark:text-red-400" : "text-neutral-500 dark:text-neutral-400"
|
|
12914
|
+
),
|
|
12915
|
+
children: [
|
|
12916
|
+
value.length,
|
|
12917
|
+
"/",
|
|
12918
|
+
maxLength
|
|
12919
|
+
]
|
|
12920
|
+
}
|
|
12921
|
+
),
|
|
12922
|
+
micVisible && (micSlot != null ? (
|
|
12923
|
+
// Normalize slot content (e.g. a RecordButton) to the 32px
|
|
12924
|
+
// control row: taller content overflow-centers instead of
|
|
12925
|
+
// inflating the pill and pushing the other cells apart. A div
|
|
12926
|
+
// so block-level slot content stays valid HTML.
|
|
12927
|
+
/* @__PURE__ */ jsx(
|
|
12928
|
+
"div",
|
|
12929
|
+
{
|
|
12930
|
+
"data-slot": "chat-composer-mic-slot",
|
|
12931
|
+
className: "flex h-8 shrink-0 items-center",
|
|
12932
|
+
children: micSlot
|
|
12933
|
+
}
|
|
12934
|
+
)
|
|
12935
|
+
) : /* @__PURE__ */ jsx(
|
|
12936
|
+
"button",
|
|
12937
|
+
{
|
|
12938
|
+
type: "button",
|
|
12939
|
+
"data-slot": "chat-composer-mic-button",
|
|
12940
|
+
"aria-label": micLabel,
|
|
12941
|
+
disabled,
|
|
12942
|
+
onClick: onMicClick,
|
|
12943
|
+
className: iconButtonClasses,
|
|
12944
|
+
children: /* @__PURE__ */ jsx(Mic, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
12945
|
+
}
|
|
12946
|
+
)),
|
|
12947
|
+
isStreaming && onStop ? /* @__PURE__ */ jsx(
|
|
12948
|
+
"button",
|
|
12949
|
+
{
|
|
12950
|
+
type: "button",
|
|
12951
|
+
"data-slot": "chat-composer-stop-button",
|
|
12952
|
+
"aria-label": stopLabel,
|
|
12953
|
+
disabled,
|
|
12954
|
+
onClick: onStop,
|
|
12955
|
+
className: cn(
|
|
12956
|
+
iconButtonClasses,
|
|
12957
|
+
"text-neutral-700 dark:text-neutral-200"
|
|
12958
|
+
),
|
|
12959
|
+
children: /* @__PURE__ */ jsx(
|
|
12960
|
+
Square,
|
|
12961
|
+
{
|
|
12962
|
+
className: "h-3.5 w-3.5 fill-current",
|
|
12963
|
+
"aria-hidden": "true"
|
|
12964
|
+
}
|
|
12965
|
+
)
|
|
12966
|
+
}
|
|
12967
|
+
) : /* @__PURE__ */ jsx(
|
|
12968
|
+
"button",
|
|
12969
|
+
{
|
|
12970
|
+
type: "button",
|
|
12971
|
+
"data-slot": "chat-composer-send-button",
|
|
12972
|
+
"aria-label": isSending ? sendingLabel : sendLabel,
|
|
12973
|
+
"aria-busy": isSending || void 0,
|
|
12974
|
+
disabled: !canSend,
|
|
12975
|
+
onClick: handleSend,
|
|
12976
|
+
className: cn(
|
|
12977
|
+
iconButtonClasses,
|
|
12978
|
+
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"
|
|
12979
|
+
),
|
|
12980
|
+
children: isSending ? /* @__PURE__ */ jsx(
|
|
12981
|
+
Loader2,
|
|
12982
|
+
{
|
|
12983
|
+
className: "h-4 w-4 animate-spin",
|
|
12984
|
+
"aria-hidden": "true"
|
|
12985
|
+
}
|
|
12986
|
+
) : /* @__PURE__ */ jsx(ArrowUp, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
12987
|
+
}
|
|
12988
|
+
)
|
|
12989
|
+
] })
|
|
12990
|
+
] })
|
|
12991
|
+
] });
|
|
12992
|
+
const selectorsRow = showSelectorRow && /* @__PURE__ */ jsxs(
|
|
12993
|
+
"div",
|
|
12994
|
+
{
|
|
12995
|
+
"data-slot": "chat-composer-selectors",
|
|
12996
|
+
className: "flex items-center justify-between gap-2 px-2 pt-1",
|
|
12997
|
+
children: [
|
|
12998
|
+
showAgentSelector ? /* @__PURE__ */ jsx(
|
|
12999
|
+
Dropdown,
|
|
13000
|
+
{
|
|
13001
|
+
placement: "top-start",
|
|
13002
|
+
open: agentMenuOpen,
|
|
13003
|
+
onOpenChange: setAgentMenuOpen,
|
|
13004
|
+
trigger: /* @__PURE__ */ jsxs(
|
|
13005
|
+
"button",
|
|
13006
|
+
{
|
|
13007
|
+
type: "button",
|
|
13008
|
+
"data-slot": "chat-composer-agent-trigger",
|
|
13009
|
+
"aria-label": selectedAgentOption ? `${agentSelectorLabel}: ${selectedAgentOption.label}` : agentSelectorLabel,
|
|
13010
|
+
disabled,
|
|
13011
|
+
className: selectorTriggerClasses,
|
|
13012
|
+
children: [
|
|
13013
|
+
selectedAgentOption?.icon ?? /* @__PURE__ */ jsx(Bot, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
|
|
13014
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: selectedAgentOption?.label ?? agentSelectorLabel }),
|
|
13015
|
+
/* @__PURE__ */ jsx(ChevronUp, { className: "h-3 w-3 shrink-0", "aria-hidden": "true" })
|
|
13016
|
+
]
|
|
13017
|
+
}
|
|
13018
|
+
),
|
|
13019
|
+
children: agents.map((agent) => /* @__PURE__ */ jsx(
|
|
13020
|
+
DropdownItem,
|
|
13021
|
+
{
|
|
13022
|
+
icon: agent.icon,
|
|
13023
|
+
role: "menuitemradio",
|
|
13024
|
+
"aria-checked": agent.id === selectedAgent,
|
|
13025
|
+
onClick: () => {
|
|
13026
|
+
setAgentMenuOpen(false);
|
|
13027
|
+
onAgentChange?.(agent.id);
|
|
13028
|
+
},
|
|
13029
|
+
children: /* @__PURE__ */ jsxs("span", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
13030
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
|
|
13031
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate", children: agent.label }),
|
|
13032
|
+
agent.description && /* @__PURE__ */ jsx("span", { className: "block truncate text-xs text-neutral-500 dark:text-neutral-400", children: agent.description })
|
|
13033
|
+
] }),
|
|
13034
|
+
agent.id === selectedAgent && /* @__PURE__ */ jsx(
|
|
13035
|
+
Check,
|
|
13036
|
+
{
|
|
13037
|
+
className: "text-primary-600 dark:text-primary-400 h-4 w-4 shrink-0",
|
|
13038
|
+
"aria-hidden": "true"
|
|
13039
|
+
}
|
|
13040
|
+
)
|
|
13041
|
+
] })
|
|
13042
|
+
},
|
|
13043
|
+
agent.id
|
|
13044
|
+
))
|
|
13045
|
+
}
|
|
13046
|
+
) : /* @__PURE__ */ jsx("span", { "aria-hidden": "true" }),
|
|
13047
|
+
showModelSelector && modelSelectorProps && /* @__PURE__ */ jsx(
|
|
13048
|
+
ComposerModelSelector,
|
|
13049
|
+
{
|
|
13050
|
+
variant: "ghost",
|
|
13051
|
+
...modelSelectorProps,
|
|
13052
|
+
disabled: disabled || modelSelectorProps.disabled
|
|
13053
|
+
}
|
|
13054
|
+
)
|
|
13055
|
+
]
|
|
13056
|
+
}
|
|
13057
|
+
);
|
|
13058
|
+
const card = /* @__PURE__ */ jsx(
|
|
13059
|
+
"div",
|
|
13060
|
+
{
|
|
13061
|
+
"data-slot": "chat-composer-card",
|
|
13062
|
+
className: cn(
|
|
13063
|
+
"rounded-2xl border border-neutral-200 bg-white shadow-sm",
|
|
13064
|
+
"dark:border-[#2e2e30] dark:bg-[#1c1c1e]"
|
|
13065
|
+
),
|
|
13066
|
+
children: composerCard
|
|
13067
|
+
}
|
|
13068
|
+
);
|
|
13069
|
+
return /* @__PURE__ */ jsxs(
|
|
13070
|
+
"div",
|
|
13071
|
+
{
|
|
13072
|
+
"data-slot": "chat-composer",
|
|
13073
|
+
className: cn(
|
|
13074
|
+
"flex w-full flex-col",
|
|
13075
|
+
disabled && "opacity-60",
|
|
13076
|
+
className
|
|
13077
|
+
),
|
|
13078
|
+
children: [
|
|
13079
|
+
allowAttachments ? /* @__PURE__ */ jsx(
|
|
13080
|
+
DragDropZone,
|
|
13081
|
+
{
|
|
13082
|
+
onFilesDropped: addFiles,
|
|
13083
|
+
maxFiles: Number.MAX_SAFE_INTEGER,
|
|
13084
|
+
disabled,
|
|
13085
|
+
overlayLabel: dropFilesLabel,
|
|
13086
|
+
children: card
|
|
13087
|
+
}
|
|
13088
|
+
) : card,
|
|
13089
|
+
selectorsRow
|
|
13090
|
+
]
|
|
13091
|
+
}
|
|
13092
|
+
);
|
|
13093
|
+
});
|
|
13094
|
+
ChatComposer.displayName = "ChatComposer";
|
|
12434
13095
|
var MODE_META = {
|
|
12435
13096
|
add: { title: "Add problem", changeType: void 0 },
|
|
12436
13097
|
observe: { title: "Progress observation", changeType: void 0 },
|
|
@@ -12740,7 +13401,7 @@ function ConditionEditor({
|
|
|
12740
13401
|
mode === "add" && effectiveRenderCodeSearch && !text.trim() ? /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
12741
13402
|
/* @__PURE__ */ jsxs("span", { className: "text-foreground block text-sm font-medium", children: [
|
|
12742
13403
|
"Problem name",
|
|
12743
|
-
/* @__PURE__ */ jsx("span", { className: "text-destructive
|
|
13404
|
+
/* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", "aria-hidden": "true", children: "*" })
|
|
12744
13405
|
] }),
|
|
12745
13406
|
effectiveRenderCodeSearch({
|
|
12746
13407
|
placeholder: "Search conditions \u2014 or type a name and press Enter\u2026",
|
|
@@ -12914,7 +13575,7 @@ function ConditionEditor({
|
|
|
12914
13575
|
disabled: fields.severity?.known === false,
|
|
12915
13576
|
onClick: () => setSeverity(active ? void 0 : s),
|
|
12916
13577
|
className: cn(
|
|
12917
|
-
"border-border border-
|
|
13578
|
+
"border-border border-s px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-s-0",
|
|
12918
13579
|
"disabled:opacity-40",
|
|
12919
13580
|
active ? "bg-primary-600 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
12920
13581
|
),
|
|
@@ -13190,7 +13851,7 @@ function CheckrIntegration({
|
|
|
13190
13851
|
/* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: "Checkr" }),
|
|
13191
13852
|
connected && account?.name && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
13192
13853
|
account.name,
|
|
13193
|
-
account.plan && /* @__PURE__ */ jsxs("span", { className: "
|
|
13854
|
+
account.plan && /* @__PURE__ */ jsxs("span", { className: "ms-2 text-xs", children: [
|
|
13194
13855
|
"(",
|
|
13195
13856
|
account.plan,
|
|
13196
13857
|
")"
|
|
@@ -13203,7 +13864,7 @@ function CheckrIntegration({
|
|
|
13203
13864
|
"svg",
|
|
13204
13865
|
{
|
|
13205
13866
|
"aria-hidden": "true",
|
|
13206
|
-
className: "
|
|
13867
|
+
className: "me-2 h-4 w-4",
|
|
13207
13868
|
fill: "none",
|
|
13208
13869
|
viewBox: "0 0 24 24",
|
|
13209
13870
|
stroke: "currentColor",
|
|
@@ -13233,7 +13894,7 @@ function CheckrIntegration({
|
|
|
13233
13894
|
"svg",
|
|
13234
13895
|
{
|
|
13235
13896
|
"aria-hidden": "true",
|
|
13236
|
-
className: "
|
|
13897
|
+
className: "me-2 inline-block h-4 w-4",
|
|
13237
13898
|
fill: "none",
|
|
13238
13899
|
viewBox: "0 0 24 24",
|
|
13239
13900
|
stroke: "currentColor",
|
|
@@ -13282,7 +13943,7 @@ function CheckrIntegration({
|
|
|
13282
13943
|
"svg",
|
|
13283
13944
|
{
|
|
13284
13945
|
"aria-hidden": "true",
|
|
13285
|
-
className: "
|
|
13946
|
+
className: "me-2 h-4 w-4",
|
|
13286
13947
|
fill: "none",
|
|
13287
13948
|
viewBox: "0 0 24 24",
|
|
13288
13949
|
stroke: "currentColor",
|
|
@@ -13304,7 +13965,7 @@ function CheckrIntegration({
|
|
|
13304
13965
|
"svg",
|
|
13305
13966
|
{
|
|
13306
13967
|
"aria-hidden": "true",
|
|
13307
|
-
className: "
|
|
13968
|
+
className: "me-2 h-4 w-4",
|
|
13308
13969
|
fill: "none",
|
|
13309
13970
|
viewBox: "0 0 24 24",
|
|
13310
13971
|
stroke: "currentColor",
|
|
@@ -13383,7 +14044,7 @@ function CheckrIntegration({
|
|
|
13383
14044
|
report.packageName && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: report.packageName })
|
|
13384
14045
|
] })
|
|
13385
14046
|
] }),
|
|
13386
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
14047
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
13387
14048
|
/* @__PURE__ */ jsx(
|
|
13388
14049
|
"span",
|
|
13389
14050
|
{
|
|
@@ -13506,7 +14167,7 @@ function CheckrIntegration({
|
|
|
13506
14167
|
"svg",
|
|
13507
14168
|
{
|
|
13508
14169
|
"aria-hidden": "true",
|
|
13509
|
-
className: "
|
|
14170
|
+
className: "me-2 h-4 w-4",
|
|
13510
14171
|
fill: "none",
|
|
13511
14172
|
viewBox: "0 0 24 24",
|
|
13512
14173
|
stroke: "currentColor",
|
|
@@ -13921,7 +14582,7 @@ function CommandPalette({
|
|
|
13921
14582
|
"data-slot": "command-palette-search",
|
|
13922
14583
|
className: "relative border-b border-gray-200 dark:border-gray-700",
|
|
13923
14584
|
children: [
|
|
13924
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute top-1/2
|
|
14585
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute start-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(SearchIcon2, {}) }),
|
|
13925
14586
|
/* @__PURE__ */ jsx(
|
|
13926
14587
|
"input",
|
|
13927
14588
|
{
|
|
@@ -13934,7 +14595,7 @@ function CommandPalette({
|
|
|
13934
14595
|
autoFocus: true,
|
|
13935
14596
|
"data-testid": `${testId}-input`,
|
|
13936
14597
|
className: cn(
|
|
13937
|
-
"w-full bg-transparent py-4
|
|
14598
|
+
"w-full bg-transparent py-4 ps-12 pe-12 text-base",
|
|
13938
14599
|
"focus:outline-none dark:text-white dark:placeholder-gray-400"
|
|
13939
14600
|
)
|
|
13940
14601
|
}
|
|
@@ -13944,12 +14605,12 @@ function CommandPalette({
|
|
|
13944
14605
|
{
|
|
13945
14606
|
onClick: () => setQuery(""),
|
|
13946
14607
|
"data-testid": `${testId}-clear`,
|
|
13947
|
-
className: "text-muted-foreground absolute top-1/2
|
|
14608
|
+
className: "text-muted-foreground absolute end-12 top-1/2 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
|
|
13948
14609
|
"aria-label": "Clear search",
|
|
13949
14610
|
children: /* @__PURE__ */ jsx(XIcon3, {})
|
|
13950
14611
|
}
|
|
13951
14612
|
),
|
|
13952
|
-
isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute top-1/2
|
|
14613
|
+
isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute end-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(SpinnerIcon3, {}) })
|
|
13953
14614
|
]
|
|
13954
14615
|
}
|
|
13955
14616
|
),
|
|
@@ -14024,7 +14685,7 @@ function CommandPalette({
|
|
|
14024
14685
|
"span",
|
|
14025
14686
|
{
|
|
14026
14687
|
className: cn(
|
|
14027
|
-
"
|
|
14688
|
+
"me-2 inline-block h-4 w-4 align-middle",
|
|
14028
14689
|
categoryInfo.colorClass
|
|
14029
14690
|
),
|
|
14030
14691
|
children: categoryInfo.icon
|
|
@@ -14074,7 +14735,7 @@ function CommandPalette({
|
|
|
14074
14735
|
onMouseEnter: () => setSelectedIndex(currentIndex),
|
|
14075
14736
|
disabled: item.disabled,
|
|
14076
14737
|
className: cn(
|
|
14077
|
-
"flex w-full items-start gap-3 px-4 py-3 text-
|
|
14738
|
+
"flex w-full items-start gap-3 px-4 py-3 text-start transition-colors",
|
|
14078
14739
|
isSelected ? "bg-primary-50 dark:bg-primary-900/20" : "hover:bg-gray-50 dark:hover:bg-gray-700/50",
|
|
14079
14740
|
item.disabled && "cursor-not-allowed opacity-50"
|
|
14080
14741
|
),
|
|
@@ -14130,9 +14791,9 @@ function CommandPalette({
|
|
|
14130
14791
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
14131
14792
|
/* @__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
14793
|
/* @__PURE__ */ jsx("span", { children: "navigate" }),
|
|
14133
|
-
/* @__PURE__ */ jsx("kbd", { className: "
|
|
14794
|
+
/* @__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
14795
|
/* @__PURE__ */ jsx("span", { children: "select" }),
|
|
14135
|
-
/* @__PURE__ */ jsx("kbd", { className: "
|
|
14796
|
+
/* @__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
14797
|
/* @__PURE__ */ jsx("span", { children: "close" })
|
|
14137
14798
|
] }),
|
|
14138
14799
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
@@ -14170,7 +14831,7 @@ function CommandPaletteTrigger({
|
|
|
14170
14831
|
),
|
|
14171
14832
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14172
14833
|
/* @__PURE__ */ jsx(SearchIcon2, {}),
|
|
14173
|
-
/* @__PURE__ */ jsx("span", { className: "flex-1 text-
|
|
14834
|
+
/* @__PURE__ */ jsx("span", { className: "flex-1 text-start whitespace-nowrap", children: placeholder }),
|
|
14174
14835
|
/* @__PURE__ */ jsxs(
|
|
14175
14836
|
"kbd",
|
|
14176
14837
|
{
|
|
@@ -14243,7 +14904,7 @@ function ConnectionStatusOverlay({
|
|
|
14243
14904
|
{
|
|
14244
14905
|
"data-slot": "connection-overlay-card",
|
|
14245
14906
|
className: cn(cardVariants2({ animate })),
|
|
14246
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-
|
|
14907
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
|
|
14247
14908
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(ConnectionIcon, { status: connection.status, className: "h-12 w-12" }) }),
|
|
14248
14909
|
/* @__PURE__ */ jsxs("div", { "data-slot": "connection-overlay-content", className: "flex-1", children: [
|
|
14249
14910
|
/* @__PURE__ */ jsx("p", { className: "text-gray-700 dark:text-gray-300", children: displayMessage }),
|
|
@@ -14296,7 +14957,7 @@ function UpdateAvailableOverlay({
|
|
|
14296
14957
|
{
|
|
14297
14958
|
"data-slot": "update-overlay-card",
|
|
14298
14959
|
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-
|
|
14960
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
|
|
14300
14961
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: logoUrl ? /* @__PURE__ */ jsx(
|
|
14301
14962
|
"img",
|
|
14302
14963
|
{
|
|
@@ -14395,7 +15056,7 @@ function ConnectionStatusBar({
|
|
|
14395
15056
|
"aria-live": "polite",
|
|
14396
15057
|
"data-slot": "connection-bar",
|
|
14397
15058
|
className: cn(
|
|
14398
|
-
"fixed
|
|
15059
|
+
"fixed start-0 end-0 z-40 px-4 py-2",
|
|
14399
15060
|
position === "top" ? "top-0" : "bottom-0",
|
|
14400
15061
|
isConnecting ? "bg-warning-500 text-warning-900" : "bg-destructive-700 text-white",
|
|
14401
15062
|
className
|
|
@@ -14726,7 +15387,7 @@ function RowActionMenu({
|
|
|
14726
15387
|
role: "menuitem",
|
|
14727
15388
|
type: "button",
|
|
14728
15389
|
className: cn(
|
|
14729
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15390
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
14730
15391
|
"transition-colors duration-100",
|
|
14731
15392
|
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
15393
|
),
|
|
@@ -14798,7 +15459,7 @@ function HoverMenu({
|
|
|
14798
15459
|
{
|
|
14799
15460
|
"data-slot": "count-badge-menu-scroll",
|
|
14800
15461
|
className: "max-h-[240px] min-h-0 overflow-y-auto",
|
|
14801
|
-
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-
|
|
15462
|
+
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-start text-xs", children: [
|
|
14802
15463
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-b border-neutral-100 dark:border-neutral-700", children: [
|
|
14803
15464
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "#" }),
|
|
14804
15465
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "Label" }),
|
|
@@ -14891,14 +15552,14 @@ function ViewModalActions({
|
|
|
14891
15552
|
"aria-expanded": shareOpen,
|
|
14892
15553
|
"aria-haspopup": "menu",
|
|
14893
15554
|
children: [
|
|
14894
|
-
/* @__PURE__ */ jsx(Share, { size: 14, className: "
|
|
15555
|
+
/* @__PURE__ */ jsx(Share, { size: 14, className: "me-1.5" }),
|
|
14895
15556
|
"Share",
|
|
14896
15557
|
/* @__PURE__ */ jsx(
|
|
14897
15558
|
ChevronDown,
|
|
14898
15559
|
{
|
|
14899
15560
|
size: 12,
|
|
14900
15561
|
className: cn(
|
|
14901
|
-
"
|
|
15562
|
+
"ms-1 transition-transform duration-150",
|
|
14902
15563
|
shareOpen && "rotate-180"
|
|
14903
15564
|
)
|
|
14904
15565
|
}
|
|
@@ -14925,7 +15586,7 @@ function ViewModalActions({
|
|
|
14925
15586
|
role: "menuitem",
|
|
14926
15587
|
type: "button",
|
|
14927
15588
|
className: cn(
|
|
14928
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15589
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14929
15590
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14930
15591
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14931
15592
|
),
|
|
@@ -14945,7 +15606,7 @@ function ViewModalActions({
|
|
|
14945
15606
|
role: "menuitem",
|
|
14946
15607
|
type: "button",
|
|
14947
15608
|
className: cn(
|
|
14948
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15609
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14949
15610
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14950
15611
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14951
15612
|
),
|
|
@@ -14965,7 +15626,7 @@ function ViewModalActions({
|
|
|
14965
15626
|
role: "menuitem",
|
|
14966
15627
|
type: "button",
|
|
14967
15628
|
className: cn(
|
|
14968
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
15629
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
|
|
14969
15630
|
"text-neutral-700 hover:bg-neutral-100",
|
|
14970
15631
|
"dark:text-neutral-300 dark:hover:bg-neutral-700"
|
|
14971
15632
|
),
|
|
@@ -14994,7 +15655,7 @@ function ViewModalActions({
|
|
|
14994
15655
|
size: "sm",
|
|
14995
15656
|
onClick: () => console.warn("Export", viewTarget),
|
|
14996
15657
|
children: [
|
|
14997
|
-
/* @__PURE__ */ jsx(Download, { size: 14, className: "
|
|
15658
|
+
/* @__PURE__ */ jsx(Download, { size: 14, className: "me-1.5" }),
|
|
14998
15659
|
"Export"
|
|
14999
15660
|
]
|
|
15000
15661
|
}
|
|
@@ -15006,7 +15667,7 @@ function ViewModalActions({
|
|
|
15006
15667
|
size: "sm",
|
|
15007
15668
|
onClick: () => console.warn("Open in chart", viewTarget),
|
|
15008
15669
|
children: [
|
|
15009
|
-
/* @__PURE__ */ jsx(ExternalLink, { size: 14, className: "
|
|
15670
|
+
/* @__PURE__ */ jsx(ExternalLink, { size: 14, className: "me-1.5" }),
|
|
15010
15671
|
"Open in Chart"
|
|
15011
15672
|
]
|
|
15012
15673
|
}
|
|
@@ -15473,6 +16134,7 @@ var CountBadge = React13.forwardRef(
|
|
|
15473
16134
|
CountBadge.displayName = "CountBadge";
|
|
15474
16135
|
function CountryDropdown({
|
|
15475
16136
|
"aria-label": ariaLabel = "Select country",
|
|
16137
|
+
defaultValue = "",
|
|
15476
16138
|
...props
|
|
15477
16139
|
}) {
|
|
15478
16140
|
return /* @__PURE__ */ jsx(
|
|
@@ -15480,6 +16142,7 @@ function CountryDropdown({
|
|
|
15480
16142
|
{
|
|
15481
16143
|
...props,
|
|
15482
16144
|
"aria-label": ariaLabel,
|
|
16145
|
+
defaultValue,
|
|
15483
16146
|
showDialCode: false
|
|
15484
16147
|
}
|
|
15485
16148
|
);
|
|
@@ -15490,10 +16153,13 @@ var bannerVariants = cva(
|
|
|
15490
16153
|
{
|
|
15491
16154
|
variants: {
|
|
15492
16155
|
position: {
|
|
15493
|
-
bottom: "bottom-0
|
|
15494
|
-
top: "top-0
|
|
15495
|
-
"bottom-
|
|
15496
|
-
"bottom-
|
|
16156
|
+
bottom: "bottom-0 start-0 end-0",
|
|
16157
|
+
top: "top-0 start-0 end-0",
|
|
16158
|
+
"bottom-start": "bottom-4 start-4 max-w-md",
|
|
16159
|
+
"bottom-end": "bottom-4 end-4 max-w-md",
|
|
16160
|
+
// Deprecated physical aliases for the logical positions above.
|
|
16161
|
+
"bottom-left": "bottom-4 start-4 max-w-md",
|
|
16162
|
+
"bottom-right": "bottom-4 end-4 max-w-md"
|
|
15497
16163
|
},
|
|
15498
16164
|
variant: {
|
|
15499
16165
|
default: "bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 shadow-lg",
|
|
@@ -15683,7 +16349,7 @@ function CompactCookieBanner({
|
|
|
15683
16349
|
"aria-label": "Cookie consent",
|
|
15684
16350
|
"data-slot": "compact-cookie-banner",
|
|
15685
16351
|
className: cn(
|
|
15686
|
-
"fixed
|
|
16352
|
+
"fixed start-4 end-4 bottom-4 md:start-auto md:end-4 md:max-w-sm",
|
|
15687
16353
|
"z-50 rounded-lg bg-gray-900 p-4 text-white shadow-xl",
|
|
15688
16354
|
className
|
|
15689
16355
|
),
|
|
@@ -16228,7 +16894,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16228
16894
|
"data-slot": "dashboard-widget-header",
|
|
16229
16895
|
className: cn(
|
|
16230
16896
|
"border-border flex flex-row items-center justify-between gap-2 border-b px-4 py-3 pb-3",
|
|
16231
|
-
accent && "
|
|
16897
|
+
accent && "ps-6"
|
|
16232
16898
|
),
|
|
16233
16899
|
children: [
|
|
16234
16900
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -16272,7 +16938,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16272
16938
|
CardContent,
|
|
16273
16939
|
{
|
|
16274
16940
|
"data-slot": "dashboard-widget-body",
|
|
16275
|
-
className: cn("px-4 py-3", accent && "
|
|
16941
|
+
className: cn("px-4 py-3", accent && "ps-6"),
|
|
16276
16942
|
children
|
|
16277
16943
|
}
|
|
16278
16944
|
),
|
|
@@ -16280,7 +16946,7 @@ var DashboardWidget = React13.forwardRef(
|
|
|
16280
16946
|
"div",
|
|
16281
16947
|
{
|
|
16282
16948
|
"data-slot": "dashboard-widget-footer",
|
|
16283
|
-
className: cn("border-border border-t px-4 py-2", accent && "
|
|
16949
|
+
className: cn("border-border border-t px-4 py-2", accent && "ps-6"),
|
|
16284
16950
|
children: footer
|
|
16285
16951
|
}
|
|
16286
16952
|
)
|
|
@@ -16372,7 +17038,7 @@ function DashboardWidgetTableInner({
|
|
|
16372
17038
|
{
|
|
16373
17039
|
className: cn(
|
|
16374
17040
|
"px-4 text-xs",
|
|
16375
|
-
col.align === "right" && "text-
|
|
17041
|
+
col.align === "right" && "text-end",
|
|
16376
17042
|
col.align === "center" && "text-center",
|
|
16377
17043
|
col.className
|
|
16378
17044
|
),
|
|
@@ -16395,7 +17061,7 @@ function DashboardWidgetTableInner({
|
|
|
16395
17061
|
{
|
|
16396
17062
|
className: cn(
|
|
16397
17063
|
"px-4 py-2 text-sm",
|
|
16398
|
-
col.align === "right" && "text-
|
|
17064
|
+
col.align === "right" && "text-end",
|
|
16399
17065
|
col.align === "center" && "text-center",
|
|
16400
17066
|
col.className
|
|
16401
17067
|
),
|
|
@@ -16403,7 +17069,7 @@ function DashboardWidgetTableInner({
|
|
|
16403
17069
|
},
|
|
16404
17070
|
col.key
|
|
16405
17071
|
)),
|
|
16406
|
-
actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-
|
|
17072
|
+
actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-end", children: /* @__PURE__ */ jsx(
|
|
16407
17073
|
WidgetRowActionMenu,
|
|
16408
17074
|
{
|
|
16409
17075
|
row,
|
|
@@ -16505,7 +17171,7 @@ function WidgetRowActionMenu({
|
|
|
16505
17171
|
role: "menuitem",
|
|
16506
17172
|
type: "button",
|
|
16507
17173
|
className: cn(
|
|
16508
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
17174
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
16509
17175
|
"transition-colors duration-100",
|
|
16510
17176
|
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
17177
|
),
|
|
@@ -16567,7 +17233,7 @@ var DashboardWidgetActions = React13.forwardRef(({ className, actions, columns =
|
|
|
16567
17233
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: action.label })
|
|
16568
17234
|
] });
|
|
16569
17235
|
const sharedClasses = cn(
|
|
16570
|
-
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-
|
|
17236
|
+
"flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-start transition-colors",
|
|
16571
17237
|
"hover:bg-muted/60 hover:border-primary-200 dark:hover:border-primary-800",
|
|
16572
17238
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
16573
17239
|
action.disabled && "opacity-50 cursor-not-allowed pointer-events-none"
|
|
@@ -16609,7 +17275,7 @@ var DashboardWidgetDataCards = React13.forwardRef(({ className, items, columns =
|
|
|
16609
17275
|
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: item.label }),
|
|
16610
17276
|
/* @__PURE__ */ jsxs("dd", { className: "text-foreground mt-0.5 text-sm font-semibold", children: [
|
|
16611
17277
|
item.value,
|
|
16612
|
-
item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
17278
|
+
item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-0.5 text-xs font-normal", children: item.unit })
|
|
16613
17279
|
] })
|
|
16614
17280
|
] }, `${item.label}-${i}`)) }),
|
|
16615
17281
|
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 +17719,9 @@ function DateRangePicker({
|
|
|
17053
17719
|
// In range background
|
|
17054
17720
|
inRange && "bg-muted",
|
|
17055
17721
|
// Start date
|
|
17056
|
-
start && "bg-foreground text-background hover:bg-foreground rounded-
|
|
17722
|
+
start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
|
|
17057
17723
|
// End date
|
|
17058
|
-
end && !start && "border-foreground text-foreground rounded-
|
|
17724
|
+
end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
|
|
17059
17725
|
// Today indicator (only if not start/end)
|
|
17060
17726
|
today && !start && !end && "font-semibold"
|
|
17061
17727
|
),
|
|
@@ -17087,7 +17753,7 @@ function DateRangePicker({
|
|
|
17087
17753
|
"data-slot": "date-range-trigger",
|
|
17088
17754
|
className: cn(
|
|
17089
17755
|
"border-input bg-background hover:bg-muted",
|
|
17090
|
-
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-
|
|
17756
|
+
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
|
|
17091
17757
|
"focus:ring-ring focus:ring-2 focus:outline-none",
|
|
17092
17758
|
"transition-colors",
|
|
17093
17759
|
!displayValue && "text-muted-foreground"
|
|
@@ -17156,7 +17822,7 @@ function DateRangePicker({
|
|
|
17156
17822
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17157
17823
|
"aria-label": "Previous month",
|
|
17158
17824
|
"data-slot": "date-range-nav",
|
|
17159
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
17825
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17160
17826
|
}
|
|
17161
17827
|
),
|
|
17162
17828
|
/* @__PURE__ */ jsxs(
|
|
@@ -17179,7 +17845,7 @@ function DateRangePicker({
|
|
|
17179
17845
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17180
17846
|
"aria-label": "Next month",
|
|
17181
17847
|
"data-slot": "date-range-nav",
|
|
17182
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17848
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17183
17849
|
}
|
|
17184
17850
|
)
|
|
17185
17851
|
]
|
|
@@ -17235,7 +17901,7 @@ function DateRangePicker({
|
|
|
17235
17901
|
"div",
|
|
17236
17902
|
{
|
|
17237
17903
|
className: cn(
|
|
17238
|
-
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-
|
|
17904
|
+
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
|
|
17239
17905
|
isResponsive && "hidden md:flex"
|
|
17240
17906
|
),
|
|
17241
17907
|
"data-slot": "date-range-presets",
|
|
@@ -17246,7 +17912,7 @@ function DateRangePicker({
|
|
|
17246
17912
|
onClick: () => handlePresetSelect(preset.key),
|
|
17247
17913
|
"data-slot": "date-range-preset",
|
|
17248
17914
|
className: cn(
|
|
17249
|
-
"rounded-md px-3 py-1.5 text-
|
|
17915
|
+
"rounded-md px-3 py-1.5 text-start text-sm transition-colors",
|
|
17250
17916
|
"hover:bg-muted",
|
|
17251
17917
|
activePreset === preset.key && "bg-primary-800 text-white"
|
|
17252
17918
|
),
|
|
@@ -17287,7 +17953,7 @@ function DateRangePicker({
|
|
|
17287
17953
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17288
17954
|
"aria-label": "Previous month",
|
|
17289
17955
|
"data-slot": "date-range-nav",
|
|
17290
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
|
|
17956
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17291
17957
|
}
|
|
17292
17958
|
),
|
|
17293
17959
|
/* @__PURE__ */ jsxs(
|
|
@@ -17310,7 +17976,7 @@ function DateRangePicker({
|
|
|
17310
17976
|
className: "hover:bg-muted rounded-md p-1 transition-colors md:hidden",
|
|
17311
17977
|
"aria-label": "Next month",
|
|
17312
17978
|
"data-slot": "date-range-nav",
|
|
17313
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
17979
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17314
17980
|
}
|
|
17315
17981
|
)
|
|
17316
17982
|
]
|
|
@@ -17345,7 +18011,7 @@ function DateRangePicker({
|
|
|
17345
18011
|
className: "hover:bg-muted rounded-md p-1 transition-colors",
|
|
17346
18012
|
"aria-label": "Next month",
|
|
17347
18013
|
"data-slot": "date-range-nav",
|
|
17348
|
-
children: /* @__PURE__ */ jsx(ChevronRight
|
|
18014
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
|
|
17349
18015
|
}
|
|
17350
18016
|
)
|
|
17351
18017
|
]
|
|
@@ -17385,9 +18051,9 @@ function DateRangeFilter({
|
|
|
17385
18051
|
Dropdown,
|
|
17386
18052
|
{
|
|
17387
18053
|
trigger: /* @__PURE__ */ jsxs(Button, { variant, size: "md", className, children: [
|
|
17388
|
-
/* @__PURE__ */ jsx(Calendar$1, { className: "
|
|
18054
|
+
/* @__PURE__ */ jsx(Calendar$1, { className: "me-2 h-4 w-4" }),
|
|
17389
18055
|
activeLabel || labels.filter || "Filter by Date",
|
|
17390
|
-
/* @__PURE__ */ jsx(ChevronDown$1, { className: "
|
|
18056
|
+
/* @__PURE__ */ jsx(ChevronDown$1, { className: "ms-2 h-3 w-3" })
|
|
17391
18057
|
] }),
|
|
17392
18058
|
className: "w-56",
|
|
17393
18059
|
"data-slot": "date-range-filter",
|
|
@@ -17625,7 +18291,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
|
|
|
17625
18291
|
"span",
|
|
17626
18292
|
{
|
|
17627
18293
|
className: cn(
|
|
17628
|
-
"absolute
|
|
18294
|
+
"absolute start-2 bottom-2 px-2 py-0.5",
|
|
17629
18295
|
"rounded-full text-xs font-medium",
|
|
17630
18296
|
"bg-black/50 text-white",
|
|
17631
18297
|
"capitalize"
|
|
@@ -18182,15 +18848,15 @@ function DocumentDetectionOverlay({
|
|
|
18182
18848
|
{
|
|
18183
18849
|
className: `absolute inset-4 rounded-lg border-4 transition-colors duration-300 ${borderColor}`,
|
|
18184
18850
|
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 -
|
|
18851
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-1 -top-1 h-6 w-6 rounded-ss border-s-4 border-t-4 border-current" }),
|
|
18852
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-1 -top-1 h-6 w-6 rounded-se border-e-4 border-t-4 border-current" }),
|
|
18853
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -start-1 -bottom-1 h-6 w-6 rounded-es border-s-4 border-b-4 border-current" }),
|
|
18854
|
+
/* @__PURE__ */ jsx("div", { className: "absolute -end-1 -bottom-1 h-6 w-6 rounded-ee border-e-4 border-b-4 border-current" })
|
|
18189
18855
|
]
|
|
18190
18856
|
}
|
|
18191
18857
|
),
|
|
18192
18858
|
/* @__PURE__ */ jsx(CountdownDisplay, { seconds: captureCountdown }),
|
|
18193
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute
|
|
18859
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute start-3 end-3 top-3", children: [
|
|
18194
18860
|
/* @__PURE__ */ jsx(
|
|
18195
18861
|
"div",
|
|
18196
18862
|
{
|
|
@@ -18206,7 +18872,7 @@ function DocumentDetectionOverlay({
|
|
|
18206
18872
|
}
|
|
18207
18873
|
) })
|
|
18208
18874
|
] }),
|
|
18209
|
-
showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute
|
|
18875
|
+
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
18876
|
/* @__PURE__ */ jsx(StatusPill, { label: "Focus", isOk: isInFocus, value: focusScore }),
|
|
18211
18877
|
/* @__PURE__ */ jsx(
|
|
18212
18878
|
StatusPill,
|
|
@@ -18247,12 +18913,12 @@ function CameraViewfinder({
|
|
|
18247
18913
|
isReady && detectionOverlay,
|
|
18248
18914
|
isReady && !detectionOverlay && /* @__PURE__ */ jsxs("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
18249
18915
|
/* @__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 -
|
|
18916
|
+
/* @__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" }),
|
|
18917
|
+
/* @__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" }),
|
|
18918
|
+
/* @__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" }),
|
|
18919
|
+
/* @__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
18920
|
] }),
|
|
18255
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
18921
|
+
/* @__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
18922
|
] })
|
|
18257
18923
|
] });
|
|
18258
18924
|
}
|
|
@@ -18265,7 +18931,7 @@ function PermissionDeniedMessage({ onRetry }) {
|
|
|
18265
18931
|
] }),
|
|
18266
18932
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
|
|
18267
18933
|
/* @__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-
|
|
18934
|
+
/* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-start text-sm", children: [
|
|
18269
18935
|
/* @__PURE__ */ jsx("li", { children: "Click the camera/lock icon in your browser's address bar" }),
|
|
18270
18936
|
/* @__PURE__ */ jsx("li", { children: "Allow camera access for this site" }),
|
|
18271
18937
|
/* @__PURE__ */ jsx("li", { children: "Click the button below to try again" })
|
|
@@ -18310,7 +18976,7 @@ function PhotoPreview({
|
|
|
18310
18976
|
{
|
|
18311
18977
|
variant: "primary",
|
|
18312
18978
|
onClick: onConfirm,
|
|
18313
|
-
leftIcon: /* @__PURE__ */ jsx(Check
|
|
18979
|
+
leftIcon: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }),
|
|
18314
18980
|
children: "Use this photo"
|
|
18315
18981
|
}
|
|
18316
18982
|
)
|
|
@@ -19669,7 +20335,7 @@ function ClaimProviderForm({
|
|
|
19669
20335
|
"svg",
|
|
19670
20336
|
{
|
|
19671
20337
|
"aria-hidden": "true",
|
|
19672
|
-
className: "
|
|
20338
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
19673
20339
|
fill: "none",
|
|
19674
20340
|
viewBox: "0 0 24 24",
|
|
19675
20341
|
children: [
|
|
@@ -19911,7 +20577,7 @@ function CreateInvoiceModal({
|
|
|
19911
20577
|
type: "button",
|
|
19912
20578
|
"data-slot": "invoice-modal-order",
|
|
19913
20579
|
onClick: () => toggleOrder(order.id),
|
|
19914
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20580
|
+
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
20581
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
19916
20582
|
/* @__PURE__ */ jsx(
|
|
19917
20583
|
"div",
|
|
@@ -20112,7 +20778,7 @@ function CreateInvoiceModal({
|
|
|
20112
20778
|
"svg",
|
|
20113
20779
|
{
|
|
20114
20780
|
"aria-hidden": "true",
|
|
20115
|
-
className: "
|
|
20781
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20116
20782
|
fill: "none",
|
|
20117
20783
|
viewBox: "0 0 24 24",
|
|
20118
20784
|
children: [
|
|
@@ -20282,7 +20948,7 @@ function CreateReferralModal({
|
|
|
20282
20948
|
"aria-pressed": isSelected,
|
|
20283
20949
|
"data-slot": "referral-modal-service",
|
|
20284
20950
|
onClick: () => toggleService(service.id),
|
|
20285
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20951
|
+
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
20952
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
20287
20953
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20288
20954
|
/* @__PURE__ */ jsx(
|
|
@@ -20393,7 +21059,7 @@ function CreateReferralModal({
|
|
|
20393
21059
|
selectedServices.size > 1 ? "s" : "",
|
|
20394
21060
|
" selected"
|
|
20395
21061
|
] }) }),
|
|
20396
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
21062
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
20397
21063
|
/* @__PURE__ */ jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
|
|
20398
21064
|
/* @__PURE__ */ jsxs(
|
|
20399
21065
|
"p",
|
|
@@ -20427,7 +21093,7 @@ function CreateReferralModal({
|
|
|
20427
21093
|
"svg",
|
|
20428
21094
|
{
|
|
20429
21095
|
"aria-hidden": "true",
|
|
20430
|
-
className: "
|
|
21096
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20431
21097
|
fill: "none",
|
|
20432
21098
|
viewBox: "0 0 24 24",
|
|
20433
21099
|
children: [
|
|
@@ -20570,7 +21236,7 @@ function EditUserRoleModal({
|
|
|
20570
21236
|
"svg",
|
|
20571
21237
|
{
|
|
20572
21238
|
"aria-hidden": "true",
|
|
20573
|
-
className: "
|
|
21239
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20574
21240
|
fill: "none",
|
|
20575
21241
|
viewBox: "0 0 24 24",
|
|
20576
21242
|
children: [
|
|
@@ -21137,7 +21803,7 @@ function EmployeeProfileCard({
|
|
|
21137
21803
|
{
|
|
21138
21804
|
type: "button",
|
|
21139
21805
|
onClick: () => fileInputRef.current?.click(),
|
|
21140
|
-
className: "bg-primary-800 hover:bg-primary-900 absolute
|
|
21806
|
+
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
21807
|
"aria-label": "Edit photo",
|
|
21142
21808
|
"data-slot": "employee-card-photo-edit",
|
|
21143
21809
|
children: /* @__PURE__ */ jsx(Edit2, { className: "h-3 w-3" })
|
|
@@ -21159,7 +21825,7 @@ function EmployeeProfileCard({
|
|
|
21159
21825
|
"flex h-5 w-5 items-center justify-center rounded-full text-white",
|
|
21160
21826
|
employee.isActive ? "bg-success" : "bg-destructive"
|
|
21161
21827
|
),
|
|
21162
|
-
children: employee.isActive ? /* @__PURE__ */ jsx(Check, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
|
|
21828
|
+
children: employee.isActive ? /* @__PURE__ */ jsx(Check$1, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
|
|
21163
21829
|
}
|
|
21164
21830
|
),
|
|
21165
21831
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold", children: fullName })
|
|
@@ -21273,7 +21939,7 @@ function EmployeeProfileCard({
|
|
|
21273
21939
|
"data-cy": "header-payment-status",
|
|
21274
21940
|
"data-slot": "employee-card-detail-row",
|
|
21275
21941
|
children: employee.isPaid ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21276
|
-
/* @__PURE__ */ jsx(Check, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
21942
|
+
/* @__PURE__ */ jsx(Check$1, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
21277
21943
|
/* @__PURE__ */ jsx("span", { className: "text-success-700 dark:text-success-400", children: paid })
|
|
21278
21944
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21279
21945
|
/* @__PURE__ */ jsx(Clock$1, { className: "text-muted-foreground h-4 w-4" }),
|
|
@@ -21455,7 +22121,7 @@ function EmployerContactCard({
|
|
|
21455
22121
|
"svg",
|
|
21456
22122
|
{
|
|
21457
22123
|
"aria-hidden": "true",
|
|
21458
|
-
className: "
|
|
22124
|
+
className: "me-1 h-4 w-4",
|
|
21459
22125
|
fill: "none",
|
|
21460
22126
|
stroke: "currentColor",
|
|
21461
22127
|
viewBox: "0 0 24 24",
|
|
@@ -21663,7 +22329,7 @@ function EmployerList({
|
|
|
21663
22329
|
"svg",
|
|
21664
22330
|
{
|
|
21665
22331
|
"aria-hidden": "true",
|
|
21666
|
-
className: "absolute top-1/2
|
|
22332
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
21667
22333
|
fill: "none",
|
|
21668
22334
|
stroke: "currentColor",
|
|
21669
22335
|
viewBox: "0 0 24 24",
|
|
@@ -21685,7 +22351,7 @@ function EmployerList({
|
|
|
21685
22351
|
placeholder: "Search employers...",
|
|
21686
22352
|
value: searchQuery,
|
|
21687
22353
|
onChange: handleSearch,
|
|
21688
|
-
className: "
|
|
22354
|
+
className: "ps-9"
|
|
21689
22355
|
}
|
|
21690
22356
|
)
|
|
21691
22357
|
] }),
|
|
@@ -21694,7 +22360,7 @@ function EmployerList({
|
|
|
21694
22360
|
"svg",
|
|
21695
22361
|
{
|
|
21696
22362
|
"aria-hidden": "true",
|
|
21697
|
-
className: "
|
|
22363
|
+
className: "me-1 h-4 w-4",
|
|
21698
22364
|
fill: "none",
|
|
21699
22365
|
stroke: "currentColor",
|
|
21700
22366
|
viewBox: "0 0 24 24",
|
|
@@ -21882,7 +22548,7 @@ function EmployerPricingCard({
|
|
|
21882
22548
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
21883
22549
|
!isActive && /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
21884
22550
|
] }),
|
|
21885
|
-
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-
|
|
22551
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
|
|
21886
22552
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
21887
22553
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
21888
22554
|
] })
|
|
@@ -21931,7 +22597,7 @@ function EmployerPricingCard({
|
|
|
21931
22597
|
"svg",
|
|
21932
22598
|
{
|
|
21933
22599
|
"aria-hidden": "true",
|
|
21934
|
-
className: "
|
|
22600
|
+
className: "me-1 h-3.5 w-3.5",
|
|
21935
22601
|
fill: "none",
|
|
21936
22602
|
stroke: "currentColor",
|
|
21937
22603
|
viewBox: "0 0 24 24",
|
|
@@ -21953,7 +22619,7 @@ function EmployerPricingCard({
|
|
|
21953
22619
|
"svg",
|
|
21954
22620
|
{
|
|
21955
22621
|
"aria-hidden": "true",
|
|
21956
|
-
className: "
|
|
22622
|
+
className: "me-1 h-3.5 w-3.5 text-red-500",
|
|
21957
22623
|
fill: "none",
|
|
21958
22624
|
stroke: "currentColor",
|
|
21959
22625
|
viewBox: "0 0 24 24",
|
|
@@ -22170,7 +22836,7 @@ function EmployerView({
|
|
|
22170
22836
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
22171
22837
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
22172
22838
|
] }),
|
|
22173
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22839
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22174
22840
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
22175
22841
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
22176
22842
|
] }),
|
|
@@ -22206,7 +22872,7 @@ function EmployerView({
|
|
|
22206
22872
|
formatDate4(invoice.dueDate)
|
|
22207
22873
|
] })
|
|
22208
22874
|
] }),
|
|
22209
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22875
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22210
22876
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
|
|
22211
22877
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
22212
22878
|
] }),
|
|
@@ -22381,7 +23047,7 @@ function EmployerServiceModal({
|
|
|
22381
23047
|
!config.useBasePrice && /* @__PURE__ */ jsxs(
|
|
22382
23048
|
"div",
|
|
22383
23049
|
{
|
|
22384
|
-
className: "border-border
|
|
23050
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22385
23051
|
"data-slot": "employer-service-indent",
|
|
22386
23052
|
children: [
|
|
22387
23053
|
/* @__PURE__ */ jsx(
|
|
@@ -22397,7 +23063,7 @@ function EmployerServiceModal({
|
|
|
22397
23063
|
/* @__PURE__ */ jsx(
|
|
22398
23064
|
"span",
|
|
22399
23065
|
{
|
|
22400
|
-
className: "text-muted-foreground absolute top-1/2
|
|
23066
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
22401
23067
|
"data-slot": "employer-service-price-prefix",
|
|
22402
23068
|
children: "$"
|
|
22403
23069
|
}
|
|
@@ -22410,7 +23076,7 @@ function EmployerServiceModal({
|
|
|
22410
23076
|
min: "0",
|
|
22411
23077
|
step: "0.01",
|
|
22412
23078
|
"data-slot": "employer-service-price-input",
|
|
22413
|
-
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2
|
|
23079
|
+
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
23080
|
value: config.customPrice ?? "",
|
|
22415
23081
|
onChange: (e) => setConfig((prev) => ({
|
|
22416
23082
|
...prev,
|
|
@@ -22518,7 +23184,7 @@ function EmployerServiceModal({
|
|
|
22518
23184
|
config.notifyOnOrder && /* @__PURE__ */ jsx(
|
|
22519
23185
|
"div",
|
|
22520
23186
|
{
|
|
22521
|
-
className: "border-border
|
|
23187
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22522
23188
|
"data-slot": "employer-service-indent",
|
|
22523
23189
|
children: /* @__PURE__ */ jsx(
|
|
22524
23190
|
Input,
|
|
@@ -22576,7 +23242,7 @@ function EmployerServiceModal({
|
|
|
22576
23242
|
"svg",
|
|
22577
23243
|
{
|
|
22578
23244
|
"aria-hidden": "true",
|
|
22579
|
-
className: "
|
|
23245
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
22580
23246
|
"data-slot": "employer-service-spinner",
|
|
22581
23247
|
fill: "none",
|
|
22582
23248
|
viewBox: "0 0 24 24",
|
|
@@ -22775,7 +23441,7 @@ function ServerErrorPage({
|
|
|
22775
23441
|
showErrorDetails && errorMessage && /* @__PURE__ */ jsx(
|
|
22776
23442
|
"div",
|
|
22777
23443
|
{
|
|
22778
|
-
className: "mt-4 max-w-2xl text-
|
|
23444
|
+
className: "mt-4 max-w-2xl text-start",
|
|
22779
23445
|
"data-slot": "error-page-details",
|
|
22780
23446
|
children: /* @__PURE__ */ jsxs("details", { className: "rounded-lg bg-gray-100 p-4 dark:bg-gray-800", children: [
|
|
22781
23447
|
/* @__PURE__ */ jsx("summary", { className: "cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-300", children: "Error Details" }),
|
|
@@ -23300,7 +23966,7 @@ function FileManager({
|
|
|
23300
23966
|
TableCell,
|
|
23301
23967
|
{
|
|
23302
23968
|
"data-slot": "file-manager-actions",
|
|
23303
|
-
className: "text-
|
|
23969
|
+
className: "text-end",
|
|
23304
23970
|
children: /* @__PURE__ */ jsx(
|
|
23305
23971
|
FileRowActionMenu,
|
|
23306
23972
|
{
|
|
@@ -23455,7 +24121,7 @@ function FileRowActionMenu({
|
|
|
23455
24121
|
role: "menuitem",
|
|
23456
24122
|
type: "button",
|
|
23457
24123
|
className: cn(
|
|
23458
|
-
"flex w-full items-center gap-2 px-3 py-1.5 text-
|
|
24124
|
+
"flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
|
|
23459
24125
|
"transition-colors duration-100",
|
|
23460
24126
|
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
24127
|
),
|
|
@@ -23586,7 +24252,7 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23586
24252
|
"aria-expanded": isOpen,
|
|
23587
24253
|
"aria-label": `${isOpen ? "Hide" : "Show"} orders for ${programLabel(item.key)}`,
|
|
23588
24254
|
className: "text-muted-foreground hover:text-foreground shrink-0",
|
|
23589
|
-
children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 14 })
|
|
24255
|
+
children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight$1, { size: 14, className: "rtl:-scale-x-100" })
|
|
23590
24256
|
}
|
|
23591
24257
|
) : /* @__PURE__ */ jsx("span", { className: "w-3.5 shrink-0" }),
|
|
23592
24258
|
/* @__PURE__ */ jsx(Badge, { variant: badge.variant, size: "sm", children: badge.label }),
|
|
@@ -23608,11 +24274,11 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23608
24274
|
return /* @__PURE__ */ jsxs(
|
|
23609
24275
|
"div",
|
|
23610
24276
|
{
|
|
23611
|
-
className: cn(level > 0 && "border-border border-
|
|
23612
|
-
style: level > 0 ? {
|
|
24277
|
+
className: cn(level > 0 && "border-border border-s-2"),
|
|
24278
|
+
style: level > 0 ? { marginInlineStart: (level - 1) * 16 + 2 } : void 0,
|
|
23613
24279
|
children: [
|
|
23614
|
-
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
23615
|
-
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "
|
|
24280
|
+
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
|
|
24281
|
+
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
|
|
23616
24282
|
const isPending = item.pendingKeys.includes(o);
|
|
23617
24283
|
return /* @__PURE__ */ jsx(
|
|
23618
24284
|
Checkbox,
|
|
@@ -23824,7 +24490,7 @@ function HelpSupportPanel({
|
|
|
23824
24490
|
"svg",
|
|
23825
24491
|
{
|
|
23826
24492
|
"aria-hidden": "true",
|
|
23827
|
-
className: "
|
|
24493
|
+
className: "me-2 h-4 w-4",
|
|
23828
24494
|
fill: "none",
|
|
23829
24495
|
stroke: "currentColor",
|
|
23830
24496
|
viewBox: "0 0 24 24",
|
|
@@ -23848,7 +24514,7 @@ function HelpSupportPanel({
|
|
|
23848
24514
|
"svg",
|
|
23849
24515
|
{
|
|
23850
24516
|
"aria-hidden": "true",
|
|
23851
|
-
className: "
|
|
24517
|
+
className: "me-2 h-4 w-4",
|
|
23852
24518
|
fill: "none",
|
|
23853
24519
|
stroke: "currentColor",
|
|
23854
24520
|
viewBox: "0 0 24 24",
|
|
@@ -23891,7 +24557,7 @@ function HelpSupportPanel({
|
|
|
23891
24557
|
/* @__PURE__ */ jsxs(
|
|
23892
24558
|
"button",
|
|
23893
24559
|
{
|
|
23894
|
-
className: "flex w-full items-center justify-between px-4 py-3 text-
|
|
24560
|
+
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
24561
|
onClick: () => setExpandedFaq(
|
|
23896
24562
|
expandedFaq === faq.id ? null : faq.id
|
|
23897
24563
|
),
|
|
@@ -24298,7 +24964,7 @@ function HRISProviderSelector({
|
|
|
24298
24964
|
className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
|
|
24299
24965
|
"data-slot": "hris-connected-btn",
|
|
24300
24966
|
children: [
|
|
24301
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash
|
|
24967
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash me-2" }),
|
|
24302
24968
|
disconnect
|
|
24303
24969
|
]
|
|
24304
24970
|
}
|
|
@@ -24311,7 +24977,7 @@ function HRISProviderSelector({
|
|
|
24311
24977
|
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
24312
24978
|
"data-slot": "hris-connected-btn-primary",
|
|
24313
24979
|
children: [
|
|
24314
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate
|
|
24980
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate me-2" }),
|
|
24315
24981
|
refreshSync
|
|
24316
24982
|
]
|
|
24317
24983
|
}
|
|
@@ -24328,7 +24994,7 @@ function HRISProviderSelector({
|
|
|
24328
24994
|
/* @__PURE__ */ jsx(
|
|
24329
24995
|
"span",
|
|
24330
24996
|
{
|
|
24331
|
-
className: "text-muted-foreground absolute top-1/2
|
|
24997
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
24332
24998
|
"data-slot": "hris-search-icon",
|
|
24333
24999
|
children: /* @__PURE__ */ jsx("i", { className: "fas fa-search" })
|
|
24334
25000
|
}
|
|
@@ -24340,7 +25006,7 @@ function HRISProviderSelector({
|
|
|
24340
25006
|
placeholder: search,
|
|
24341
25007
|
value: searchQuery,
|
|
24342
25008
|
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
|
|
25009
|
+
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
25010
|
"data-slot": "hris-search-input"
|
|
24345
25011
|
}
|
|
24346
25012
|
)
|
|
@@ -24549,10 +25215,10 @@ function InventoryManager({
|
|
|
24549
25215
|
/* @__PURE__ */ jsx("hr", { className: "border-border mb-4" }),
|
|
24550
25216
|
logEntries.length > 0 ? /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
24551
25217
|
/* @__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-
|
|
25218
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
25219
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "User" }),
|
|
25220
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Change" }),
|
|
25221
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-end text-xs font-medium tracking-wider uppercase", children: "Quantity" })
|
|
24556
25222
|
] }) }),
|
|
24557
25223
|
/* @__PURE__ */ jsx("tbody", { className: "divide-border/50 divide-y", children: logEntries.map((entry) => /* @__PURE__ */ jsxs(React13.Fragment, { children: [
|
|
24558
25224
|
/* @__PURE__ */ jsxs("tr", { children: [
|
|
@@ -24566,7 +25232,7 @@ function InventoryManager({
|
|
|
24566
25232
|
),
|
|
24567
25233
|
/* @__PURE__ */ jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.createdBy.name }),
|
|
24568
25234
|
/* @__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-
|
|
25235
|
+
/* @__PURE__ */ jsx("td", { className: "py-2 text-end text-sm", children: /* @__PURE__ */ jsxs(
|
|
24570
25236
|
"span",
|
|
24571
25237
|
{
|
|
24572
25238
|
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 +25279,7 @@ function InventoryManager({
|
|
|
24613
25279
|
}
|
|
24614
25280
|
) })
|
|
24615
25281
|
] }),
|
|
24616
|
-
entry.memo && /* @__PURE__ */ jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsx("td", { colSpan: 4, className: "px-2 py-1 text-
|
|
25282
|
+
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
25283
|
"Memo: ",
|
|
24618
25284
|
entry.memo
|
|
24619
25285
|
] }) }) })
|
|
@@ -24661,13 +25327,13 @@ function InventoryManager({
|
|
|
24661
25327
|
{
|
|
24662
25328
|
type: "button",
|
|
24663
25329
|
onClick: () => setUpdateType("debit"),
|
|
24664
|
-
className: `rounded-
|
|
25330
|
+
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
25331
|
children: [
|
|
24666
25332
|
/* @__PURE__ */ jsx(
|
|
24667
25333
|
"svg",
|
|
24668
25334
|
{
|
|
24669
25335
|
"aria-hidden": "true",
|
|
24670
|
-
className: "
|
|
25336
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24671
25337
|
fill: "none",
|
|
24672
25338
|
viewBox: "0 0 24 24",
|
|
24673
25339
|
stroke: "currentColor",
|
|
@@ -24691,13 +25357,13 @@ function InventoryManager({
|
|
|
24691
25357
|
{
|
|
24692
25358
|
type: "button",
|
|
24693
25359
|
onClick: () => setUpdateType("credit"),
|
|
24694
|
-
className: `rounded-
|
|
25360
|
+
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
25361
|
children: [
|
|
24696
25362
|
/* @__PURE__ */ jsx(
|
|
24697
25363
|
"svg",
|
|
24698
25364
|
{
|
|
24699
25365
|
"aria-hidden": "true",
|
|
24700
|
-
className: "
|
|
25366
|
+
className: "me-1 inline-block h-4 w-4",
|
|
24701
25367
|
fill: "none",
|
|
24702
25368
|
viewBox: "0 0 24 24",
|
|
24703
25369
|
stroke: "currentColor",
|
|
@@ -24990,7 +25656,7 @@ function InviteUserModal({
|
|
|
24990
25656
|
"svg",
|
|
24991
25657
|
{
|
|
24992
25658
|
"aria-hidden": "true",
|
|
24993
|
-
className: "
|
|
25659
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
24994
25660
|
"data-slot": "invite-user-spinner",
|
|
24995
25661
|
fill: "none",
|
|
24996
25662
|
viewBox: "0 0 24 24",
|
|
@@ -25117,7 +25783,7 @@ function InvoiceList({
|
|
|
25117
25783
|
"svg",
|
|
25118
25784
|
{
|
|
25119
25785
|
"aria-hidden": "true",
|
|
25120
|
-
className: "absolute top-1/2
|
|
25786
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
25121
25787
|
fill: "none",
|
|
25122
25788
|
stroke: "currentColor",
|
|
25123
25789
|
viewBox: "0 0 24 24",
|
|
@@ -25139,7 +25805,7 @@ function InvoiceList({
|
|
|
25139
25805
|
placeholder: "Search invoices...",
|
|
25140
25806
|
value: searchQuery,
|
|
25141
25807
|
onChange: handleSearch,
|
|
25142
|
-
className: "
|
|
25808
|
+
className: "ps-9"
|
|
25143
25809
|
}
|
|
25144
25810
|
)
|
|
25145
25811
|
] }),
|
|
@@ -25165,7 +25831,7 @@ function InvoiceList({
|
|
|
25165
25831
|
"svg",
|
|
25166
25832
|
{
|
|
25167
25833
|
"aria-hidden": "true",
|
|
25168
|
-
className: "
|
|
25834
|
+
className: "me-1 h-4 w-4",
|
|
25169
25835
|
fill: "none",
|
|
25170
25836
|
stroke: "currentColor",
|
|
25171
25837
|
viewBox: "0 0 24 24",
|
|
@@ -25257,11 +25923,11 @@ function InvoiceList({
|
|
|
25257
25923
|
className: "overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
25258
25924
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
25259
25925
|
/* @__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-
|
|
25926
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Invoice" }),
|
|
25927
|
+
/* @__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" }),
|
|
25928
|
+
/* @__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" }),
|
|
25929
|
+
/* @__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" }),
|
|
25930
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
25265
25931
|
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" })
|
|
25266
25932
|
] }) }),
|
|
25267
25933
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: filteredInvoices.map((invoice) => /* @__PURE__ */ jsxs(
|
|
@@ -25284,7 +25950,7 @@ function InvoiceList({
|
|
|
25284
25950
|
children: formatDate4(invoice.dueDate)
|
|
25285
25951
|
}
|
|
25286
25952
|
) }),
|
|
25287
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
25953
|
+
/* @__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
25954
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status }) })
|
|
25289
25955
|
]
|
|
25290
25956
|
},
|
|
@@ -25515,12 +26181,12 @@ function InvoicePaymentPage({
|
|
|
25515
26181
|
className: "border-t border-gray-200 pt-4 dark:border-gray-700",
|
|
25516
26182
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-sm", children: [
|
|
25517
26183
|
/* @__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-
|
|
26184
|
+
/* @__PURE__ */ jsx("th", { className: "pb-2 text-start font-medium", children: "Item" }),
|
|
26185
|
+
/* @__PURE__ */ jsx("th", { className: "pb-2 text-end font-medium", children: "Amount" })
|
|
25520
26186
|
] }) }),
|
|
25521
26187
|
/* @__PURE__ */ jsx("tbody", { className: "text-gray-700 dark:text-gray-300", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { children: [
|
|
25522
26188
|
/* @__PURE__ */ jsx("td", { className: "py-1", children: item.description }),
|
|
25523
|
-
/* @__PURE__ */ jsx("td", { className: "py-1 text-
|
|
26189
|
+
/* @__PURE__ */ jsx("td", { className: "py-1 text-end", children: formatCurrency3(item.total) })
|
|
25524
26190
|
] }, item.id)) })
|
|
25525
26191
|
] })
|
|
25526
26192
|
}
|
|
@@ -25680,7 +26346,7 @@ function InvoicePaymentPage({
|
|
|
25680
26346
|
"svg",
|
|
25681
26347
|
{
|
|
25682
26348
|
"aria-hidden": "true",
|
|
25683
|
-
className: "
|
|
26349
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
25684
26350
|
fill: "none",
|
|
25685
26351
|
viewBox: "0 0 24 24",
|
|
25686
26352
|
children: [
|
|
@@ -25772,7 +26438,7 @@ function InvoiceView({
|
|
|
25772
26438
|
"svg",
|
|
25773
26439
|
{
|
|
25774
26440
|
"aria-hidden": "true",
|
|
25775
|
-
className: "
|
|
26441
|
+
className: "me-1 h-4 w-4",
|
|
25776
26442
|
fill: "none",
|
|
25777
26443
|
stroke: "currentColor",
|
|
25778
26444
|
viewBox: "0 0 24 24",
|
|
@@ -25813,7 +26479,7 @@ function InvoiceView({
|
|
|
25813
26479
|
"svg",
|
|
25814
26480
|
{
|
|
25815
26481
|
"aria-hidden": "true",
|
|
25816
|
-
className: "
|
|
26482
|
+
className: "me-1 h-4 w-4",
|
|
25817
26483
|
fill: "none",
|
|
25818
26484
|
stroke: "currentColor",
|
|
25819
26485
|
viewBox: "0 0 24 24",
|
|
@@ -25844,7 +26510,7 @@ function InvoiceView({
|
|
|
25844
26510
|
"svg",
|
|
25845
26511
|
{
|
|
25846
26512
|
"aria-hidden": "true",
|
|
25847
|
-
className: "
|
|
26513
|
+
className: "me-1 h-4 w-4",
|
|
25848
26514
|
fill: "none",
|
|
25849
26515
|
stroke: "currentColor",
|
|
25850
26516
|
viewBox: "0 0 24 24",
|
|
@@ -25885,7 +26551,7 @@ function InvoiceView({
|
|
|
25885
26551
|
"svg",
|
|
25886
26552
|
{
|
|
25887
26553
|
"aria-hidden": "true",
|
|
25888
|
-
className: "
|
|
26554
|
+
className: "me-1 h-4 w-4",
|
|
25889
26555
|
fill: "none",
|
|
25890
26556
|
stroke: "currentColor",
|
|
25891
26557
|
viewBox: "0 0 24 24",
|
|
@@ -25909,7 +26575,7 @@ function InvoiceView({
|
|
|
25909
26575
|
"svg",
|
|
25910
26576
|
{
|
|
25911
26577
|
"aria-hidden": "true",
|
|
25912
|
-
className: "
|
|
26578
|
+
className: "me-1 h-4 w-4",
|
|
25913
26579
|
fill: "none",
|
|
25914
26580
|
stroke: "currentColor",
|
|
25915
26581
|
viewBox: "0 0 24 24",
|
|
@@ -25959,7 +26625,7 @@ function InvoiceView({
|
|
|
25959
26625
|
"div",
|
|
25960
26626
|
{
|
|
25961
26627
|
"data-slot": "invoice-view-meta",
|
|
25962
|
-
className: "text-
|
|
26628
|
+
className: "text-start sm:text-end",
|
|
25963
26629
|
children: [
|
|
25964
26630
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "INVOICE" }),
|
|
25965
26631
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
@@ -25999,10 +26665,10 @@ function InvoiceView({
|
|
|
25999
26665
|
className: "mb-6 overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
26000
26666
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
26001
26667
|
/* @__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-
|
|
26668
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium uppercase", children: "Description" }),
|
|
26003
26669
|
/* @__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-
|
|
26670
|
+
/* @__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" }),
|
|
26671
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium uppercase", children: "Total" })
|
|
26006
26672
|
] }) }),
|
|
26007
26673
|
/* @__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
26674
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
@@ -26013,8 +26679,8 @@ function InvoiceView({
|
|
|
26013
26679
|
] })
|
|
26014
26680
|
] }),
|
|
26015
26681
|
/* @__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-
|
|
26682
|
+
/* @__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) }),
|
|
26683
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end font-medium text-gray-900 dark:text-white", children: formatCurrency3(item.total) })
|
|
26018
26684
|
] }, item.id)) })
|
|
26019
26685
|
] })
|
|
26020
26686
|
}
|
|
@@ -26072,7 +26738,7 @@ var DEFAULT_LANGUAGES = [
|
|
|
26072
26738
|
{ code: "hi", name: "\u0939\u093F\u0928\u094D\u0926\u0940", englishName: "Hindi", flag: "\u{1F1EE}\u{1F1F3}" },
|
|
26073
26739
|
{ code: "ru", name: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", englishName: "Russian", flag: "\u{1F1F7}\u{1F1FA}" }
|
|
26074
26740
|
];
|
|
26075
|
-
var selectorVariants = cva("relative inline-block text-
|
|
26741
|
+
var selectorVariants = cva("relative inline-block text-start", {
|
|
26076
26742
|
variants: {
|
|
26077
26743
|
size: {
|
|
26078
26744
|
sm: "",
|
|
@@ -26249,7 +26915,7 @@ function LanguageSelectorNative({
|
|
|
26249
26915
|
disabled,
|
|
26250
26916
|
"aria-label": label,
|
|
26251
26917
|
className: cn(
|
|
26252
|
-
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2
|
|
26918
|
+
"w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2 pe-8 text-sm",
|
|
26253
26919
|
"focus:border-primary-500 focus:ring-primary-500 text-gray-700 focus:ring-2 focus:outline-none",
|
|
26254
26920
|
"dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200",
|
|
26255
26921
|
disabled && "cursor-not-allowed opacity-50",
|
|
@@ -26264,7 +26930,7 @@ function LanguageSelectorNative({
|
|
|
26264
26930
|
]
|
|
26265
26931
|
}
|
|
26266
26932
|
),
|
|
26267
|
-
/* @__PURE__ */ jsx(ChevronDownIcon2, { className: "pointer-events-none absolute top-1/2
|
|
26933
|
+
/* @__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
26934
|
] });
|
|
26269
26935
|
}
|
|
26270
26936
|
function LanguageSelectorInline({
|
|
@@ -26294,13 +26960,13 @@ function LanguageSelectorInline({
|
|
|
26294
26960
|
"data-slot": "language-selector-inline-option",
|
|
26295
26961
|
className: cn(
|
|
26296
26962
|
"px-3 py-1.5 text-sm transition-colors",
|
|
26297
|
-
index === 0 && "rounded-
|
|
26298
|
-
index === languages.length - 1 && "rounded-
|
|
26299
|
-
index > 0 && "border-
|
|
26963
|
+
index === 0 && "rounded-s-lg",
|
|
26964
|
+
index === languages.length - 1 && "rounded-e-lg",
|
|
26965
|
+
index > 0 && "border-s border-gray-200 dark:border-gray-700",
|
|
26300
26966
|
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
26967
|
),
|
|
26302
26968
|
children: [
|
|
26303
|
-
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "
|
|
26969
|
+
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "me-1", children: language.flag }),
|
|
26304
26970
|
language.code.toUpperCase()
|
|
26305
26971
|
]
|
|
26306
26972
|
},
|
|
@@ -26433,7 +27099,7 @@ function LoadingBar({
|
|
|
26433
27099
|
showPercentage && !isIndeterminate && /* @__PURE__ */ jsxs(
|
|
26434
27100
|
"p",
|
|
26435
27101
|
{
|
|
26436
|
-
className: "text-muted-foreground mt-1 text-
|
|
27102
|
+
className: "text-muted-foreground mt-1 text-end text-sm",
|
|
26437
27103
|
"data-slot": "loading-bar-percentage",
|
|
26438
27104
|
children: [
|
|
26439
27105
|
Math.round(progress),
|
|
@@ -27055,7 +27721,7 @@ function OnboardingWizard({
|
|
|
27055
27721
|
/* @__PURE__ */ jsxs(
|
|
27056
27722
|
"div",
|
|
27057
27723
|
{
|
|
27058
|
-
className: "
|
|
27724
|
+
className: "ms-3 hidden flex-col lg:flex",
|
|
27059
27725
|
"data-slot": "onboarding-header-brand",
|
|
27060
27726
|
children: [
|
|
27061
27727
|
/* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: brandName }),
|
|
@@ -27222,7 +27888,7 @@ function OnboardingStepQuestion({
|
|
|
27222
27888
|
onClick: () => onSelect?.(option.id),
|
|
27223
27889
|
className: "rounded-full",
|
|
27224
27890
|
children: [
|
|
27225
|
-
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "
|
|
27891
|
+
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "me-2") }),
|
|
27226
27892
|
option.label
|
|
27227
27893
|
]
|
|
27228
27894
|
},
|
|
@@ -27250,7 +27916,7 @@ function OnboardingCompletion({
|
|
|
27250
27916
|
className: "text-foreground mb-0 text-2xl",
|
|
27251
27917
|
"data-slot": "onboarding-completion-title",
|
|
27252
27918
|
children: [
|
|
27253
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle
|
|
27919
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
|
|
27254
27920
|
"Setup complete!"
|
|
27255
27921
|
]
|
|
27256
27922
|
}
|
|
@@ -27271,15 +27937,15 @@ function OnboardingCompletion({
|
|
|
27271
27937
|
"data-slot": "onboarding-completion-actions",
|
|
27272
27938
|
children: [
|
|
27273
27939
|
/* @__PURE__ */ jsxs(Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
27274
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart
|
|
27940
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
27275
27941
|
"Start your first order"
|
|
27276
27942
|
] }),
|
|
27277
27943
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
27278
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt
|
|
27944
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
27279
27945
|
"Go to Dashboard"
|
|
27280
27946
|
] }),
|
|
27281
27947
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
27282
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-users
|
|
27948
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-users me-2" }),
|
|
27283
27949
|
"Go to Employees"
|
|
27284
27950
|
] })
|
|
27285
27951
|
]
|
|
@@ -27430,7 +28096,7 @@ function OrderCard({
|
|
|
27430
28096
|
}
|
|
27431
28097
|
)
|
|
27432
28098
|
] }),
|
|
27433
|
-
totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-
|
|
28099
|
+
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
28100
|
] }),
|
|
27435
28101
|
/* @__PURE__ */ jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27436
28102
|
/* @__PURE__ */ jsx(
|
|
@@ -27511,7 +28177,7 @@ function OrderCard({
|
|
|
27511
28177
|
children: "View Details"
|
|
27512
28178
|
}
|
|
27513
28179
|
),
|
|
27514
|
-
showActions && /* @__PURE__ */ jsxs("div", { className: "
|
|
28180
|
+
showActions && /* @__PURE__ */ jsxs("div", { className: "ms-auto flex gap-2", children: [
|
|
27515
28181
|
onReject && /* @__PURE__ */ jsx(
|
|
27516
28182
|
"button",
|
|
27517
28183
|
{
|
|
@@ -28026,7 +28692,7 @@ function OrderConfirmationWizard({
|
|
|
28026
28692
|
"svg",
|
|
28027
28693
|
{
|
|
28028
28694
|
"aria-hidden": "true",
|
|
28029
|
-
className: "
|
|
28695
|
+
className: "me-1 h-4 w-4",
|
|
28030
28696
|
fill: "none",
|
|
28031
28697
|
stroke: "currentColor",
|
|
28032
28698
|
viewBox: "0 0 24 24",
|
|
@@ -28066,7 +28732,7 @@ function OrderConfirmationWizard({
|
|
|
28066
28732
|
"svg",
|
|
28067
28733
|
{
|
|
28068
28734
|
"aria-hidden": "true",
|
|
28069
|
-
className: "
|
|
28735
|
+
className: "ms-1 h-4 w-4",
|
|
28070
28736
|
fill: "none",
|
|
28071
28737
|
stroke: "currentColor",
|
|
28072
28738
|
viewBox: "0 0 24 24",
|
|
@@ -28093,7 +28759,7 @@ function OrderConfirmationWizard({
|
|
|
28093
28759
|
"svg",
|
|
28094
28760
|
{
|
|
28095
28761
|
"aria-hidden": "true",
|
|
28096
|
-
className: "
|
|
28762
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28097
28763
|
fill: "none",
|
|
28098
28764
|
viewBox: "0 0 24 24",
|
|
28099
28765
|
children: [
|
|
@@ -28126,7 +28792,7 @@ function OrderConfirmationWizard({
|
|
|
28126
28792
|
"svg",
|
|
28127
28793
|
{
|
|
28128
28794
|
"aria-hidden": "true",
|
|
28129
|
-
className: "
|
|
28795
|
+
className: "ms-1 h-4 w-4",
|
|
28130
28796
|
fill: "none",
|
|
28131
28797
|
stroke: "currentColor",
|
|
28132
28798
|
viewBox: "0 0 24 24",
|
|
@@ -28226,7 +28892,7 @@ function OrderList({
|
|
|
28226
28892
|
{
|
|
28227
28893
|
"data-slot": "order-list-tab-count",
|
|
28228
28894
|
className: cn(
|
|
28229
|
-
"
|
|
28895
|
+
"ms-2 rounded-full px-2 py-0.5 text-xs",
|
|
28230
28896
|
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
28897
|
),
|
|
28232
28898
|
children: count
|
|
@@ -28250,7 +28916,7 @@ function OrderList({
|
|
|
28250
28916
|
"svg",
|
|
28251
28917
|
{
|
|
28252
28918
|
"aria-hidden": "true",
|
|
28253
|
-
className: "absolute top-1/2
|
|
28919
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
28254
28920
|
fill: "none",
|
|
28255
28921
|
viewBox: "0 0 24 24",
|
|
28256
28922
|
stroke: "currentColor",
|
|
@@ -28272,7 +28938,7 @@ function OrderList({
|
|
|
28272
28938
|
placeholder: searchPlaceholder,
|
|
28273
28939
|
value: searchValue,
|
|
28274
28940
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
28275
|
-
className: "rounded-lg border border-gray-300 bg-white py-2
|
|
28941
|
+
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
28942
|
}
|
|
28277
28943
|
)
|
|
28278
28944
|
] }),
|
|
@@ -28804,7 +29470,7 @@ function OrderLookupForm({
|
|
|
28804
29470
|
"svg",
|
|
28805
29471
|
{
|
|
28806
29472
|
"aria-hidden": "true",
|
|
28807
|
-
className: "
|
|
29473
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28808
29474
|
fill: "none",
|
|
28809
29475
|
viewBox: "0 0 24 24",
|
|
28810
29476
|
children: [
|
|
@@ -28914,7 +29580,7 @@ function OrderSidebar({
|
|
|
28914
29580
|
"div",
|
|
28915
29581
|
{
|
|
28916
29582
|
"data-slot": "order-sidebar",
|
|
28917
|
-
className: `fixed
|
|
29583
|
+
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
29584
|
role: "dialog",
|
|
28919
29585
|
"aria-modal": "true",
|
|
28920
29586
|
"aria-label": "Order details",
|
|
@@ -29033,7 +29699,7 @@ function OrderSidebar({
|
|
|
29033
29699
|
"div",
|
|
29034
29700
|
{
|
|
29035
29701
|
"data-slot": "order-sidebar-footer",
|
|
29036
|
-
className: "absolute
|
|
29702
|
+
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
29703
|
children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsx(
|
|
29038
29704
|
Button,
|
|
29039
29705
|
{
|
|
@@ -29348,7 +30014,7 @@ function PatientOverflowMenu({
|
|
|
29348
30014
|
}
|
|
29349
30015
|
)
|
|
29350
30016
|
] }),
|
|
29351
|
-
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-
|
|
30017
|
+
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
|
|
29352
30018
|
/* @__PURE__ */ jsxs("div", { className: "md:min-w-[26rem]", children: [
|
|
29353
30019
|
/* @__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
30020
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
|
|
@@ -29549,8 +30215,8 @@ var PatientHeader = React13.forwardRef(
|
|
|
29549
30215
|
onClick: onBack,
|
|
29550
30216
|
disabled: !onBack,
|
|
29551
30217
|
"aria-label": "Go back",
|
|
29552
|
-
className: "mt-1
|
|
29553
|
-
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
|
|
30218
|
+
className: "-ms-2 mt-1 h-8 w-8 shrink-0",
|
|
30219
|
+
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
|
|
29554
30220
|
}
|
|
29555
30221
|
),
|
|
29556
30222
|
/* @__PURE__ */ jsx(
|
|
@@ -29645,7 +30311,7 @@ var PatientHeader = React13.forwardRef(
|
|
|
29645
30311
|
)
|
|
29646
30312
|
] })
|
|
29647
30313
|
] }),
|
|
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-
|
|
30314
|
+
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
30315
|
(flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
|
|
29650
30316
|
).join(" \xB7 ") }),
|
|
29651
30317
|
/* @__PURE__ */ jsxs(
|
|
@@ -30269,13 +30935,13 @@ function PaymentHistoryTable({
|
|
|
30269
30935
|
className: `overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700 ${className}`,
|
|
30270
30936
|
children: /* @__PURE__ */ jsxs("table", { "data-slot": "payment-history-table", className: "w-full", children: [
|
|
30271
30937
|
/* @__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-
|
|
30938
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
30939
|
+
/* @__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" }),
|
|
30940
|
+
/* @__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" }),
|
|
30941
|
+
/* @__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" }),
|
|
30942
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
30277
30943
|
/* @__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-
|
|
30944
|
+
onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Action" })
|
|
30279
30945
|
] }) }),
|
|
30280
30946
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: payments.map((payment) => /* @__PURE__ */ jsxs(
|
|
30281
30947
|
"tr",
|
|
@@ -30307,7 +30973,7 @@ function PaymentHistoryTable({
|
|
|
30307
30973
|
payment.cardLast4 && ` \u2022\u2022\u2022\u2022 ${payment.cardLast4}`
|
|
30308
30974
|
] })
|
|
30309
30975
|
] }) }),
|
|
30310
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-
|
|
30976
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: /* @__PURE__ */ jsx(
|
|
30311
30977
|
"p",
|
|
30312
30978
|
{
|
|
30313
30979
|
className: `font-medium ${payment.status === "refunded" ? "text-muted-foreground line-through" : "text-gray-900 dark:text-white"}`,
|
|
@@ -30315,7 +30981,7 @@ function PaymentHistoryTable({
|
|
|
30315
30981
|
}
|
|
30316
30982
|
) }),
|
|
30317
30983
|
/* @__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-
|
|
30984
|
+
onRefund && /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: payment.status === "completed" && /* @__PURE__ */ jsx(
|
|
30319
30985
|
Button,
|
|
30320
30986
|
{
|
|
30321
30987
|
variant: "ghost",
|
|
@@ -30835,11 +31501,11 @@ function PendingClaimsTable({
|
|
|
30835
31501
|
children: [
|
|
30836
31502
|
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
|
|
30837
31503
|
/* @__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-
|
|
31504
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
|
|
31505
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Role" }),
|
|
31506
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
|
|
30841
31507
|
/* @__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-
|
|
31508
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Actions" })
|
|
30843
31509
|
] }) }),
|
|
30844
31510
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxs(
|
|
30845
31511
|
"tr",
|
|
@@ -30857,7 +31523,7 @@ function PendingClaimsTable({
|
|
|
30857
31523
|
/* @__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
31524
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
|
|
30859
31525
|
/* @__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-
|
|
31526
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-end", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
30861
31527
|
onViewDetails && /* @__PURE__ */ jsx(
|
|
30862
31528
|
Button,
|
|
30863
31529
|
{
|
|
@@ -30983,7 +31649,7 @@ function PermissionItem({
|
|
|
30983
31649
|
});
|
|
30984
31650
|
}
|
|
30985
31651
|
};
|
|
30986
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "
|
|
31652
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "ms-4"), "data-slot": "perm-item", children: [
|
|
30987
31653
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", "data-slot": "perm-item-row", children: [
|
|
30988
31654
|
hasChildren && /* @__PURE__ */ jsx(
|
|
30989
31655
|
"button",
|
|
@@ -30994,7 +31660,7 @@ function PermissionItem({
|
|
|
30994
31660
|
"aria-expanded": isExpanded,
|
|
30995
31661
|
"aria-label": isExpanded ? `Collapse ${permission.name}` : `Expand ${permission.name}`,
|
|
30996
31662
|
"data-slot": "perm-item-toggle",
|
|
30997
|
-
children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight
|
|
31663
|
+
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
31664
|
}
|
|
30999
31665
|
),
|
|
31000
31666
|
!hasChildren && /* @__PURE__ */ jsx("span", { className: "w-5" }),
|
|
@@ -31129,16 +31795,16 @@ function PermissionsEditor({
|
|
|
31129
31795
|
]
|
|
31130
31796
|
}
|
|
31131
31797
|
),
|
|
31132
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-4
|
|
31798
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-4 ps-2", "data-slot": "perm-groups", children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxs("div", { children: [
|
|
31133
31799
|
/* @__PURE__ */ jsxs(
|
|
31134
31800
|
"button",
|
|
31135
31801
|
{
|
|
31136
31802
|
type: "button",
|
|
31137
31803
|
onClick: () => toggleGroup(group.id),
|
|
31138
|
-
className: "hover:bg-muted/50 -
|
|
31804
|
+
className: "hover:bg-muted/50 -ms-2 flex w-full items-center gap-2 rounded py-2 ps-2 text-start",
|
|
31139
31805
|
"data-slot": "perm-group-header",
|
|
31140
31806
|
children: [
|
|
31141
|
-
expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight
|
|
31807
|
+
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
31808
|
/* @__PURE__ */ jsx("span", { className: "font-semibold", "data-slot": "perm-group-name", children: group.name })
|
|
31143
31809
|
]
|
|
31144
31810
|
}
|
|
@@ -31146,7 +31812,7 @@ function PermissionsEditor({
|
|
|
31146
31812
|
expandedGroups.has(group.id) && /* @__PURE__ */ jsx(
|
|
31147
31813
|
"div",
|
|
31148
31814
|
{
|
|
31149
|
-
className: "mt-2
|
|
31815
|
+
className: "ms-6 mt-2 border-s ps-4",
|
|
31150
31816
|
"data-slot": "perm-group-list",
|
|
31151
31817
|
children: group.permissions.map((permission) => /* @__PURE__ */ jsx(
|
|
31152
31818
|
PermissionItem,
|
|
@@ -31198,7 +31864,7 @@ function PermissionsEditor({
|
|
|
31198
31864
|
/* @__PURE__ */ jsx(
|
|
31199
31865
|
"div",
|
|
31200
31866
|
{
|
|
31201
|
-
className: "max-h-60 space-y-2 overflow-y-auto
|
|
31867
|
+
className: "max-h-60 space-y-2 overflow-y-auto ps-2",
|
|
31202
31868
|
"data-slot": "perm-employer-list",
|
|
31203
31869
|
children: employers.map((employer) => /* @__PURE__ */ jsxs(
|
|
31204
31870
|
"div",
|
|
@@ -31225,7 +31891,7 @@ function PermissionsEditor({
|
|
|
31225
31891
|
employer.address && /* @__PURE__ */ jsxs(
|
|
31226
31892
|
"span",
|
|
31227
31893
|
{
|
|
31228
|
-
className: "text-muted-foreground
|
|
31894
|
+
className: "text-muted-foreground ms-2",
|
|
31229
31895
|
"data-slot": "perm-employer-addr",
|
|
31230
31896
|
children: [
|
|
31231
31897
|
"| ",
|
|
@@ -31335,7 +32001,7 @@ function RelevanceControl({
|
|
|
31335
32001
|
onClick: () => onChange(active ? null : relevance),
|
|
31336
32002
|
className: cn(
|
|
31337
32003
|
"px-2 py-1 text-xs font-medium transition-colors",
|
|
31338
|
-
"border-border border-
|
|
32004
|
+
"border-border border-s first:border-s-0",
|
|
31339
32005
|
active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
31340
32006
|
),
|
|
31341
32007
|
children: RELEVANCE_LABELS[relevance]
|
|
@@ -31429,6 +32095,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31429
32095
|
/* @__PURE__ */ jsxs(
|
|
31430
32096
|
"li",
|
|
31431
32097
|
{
|
|
32098
|
+
"data-slot": "clinical-list-row",
|
|
31432
32099
|
"data-concern-id": concern.concernId,
|
|
31433
32100
|
tabIndex: draggable ? 0 : void 0,
|
|
31434
32101
|
onKeyDown: draggable ? handleRowKeyDown : void 0,
|
|
@@ -31462,7 +32129,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31462
32129
|
children: "out of scope"
|
|
31463
32130
|
}
|
|
31464
32131
|
),
|
|
31465
|
-
!readOnly && /* @__PURE__ */ jsx("span", { className: "
|
|
32132
|
+
!readOnly && /* @__PURE__ */ jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsx(
|
|
31466
32133
|
RelevanceControl,
|
|
31467
32134
|
{
|
|
31468
32135
|
value: relevance,
|
|
@@ -31509,11 +32176,25 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31509
32176
|
}
|
|
31510
32177
|
),
|
|
31511
32178
|
/* @__PURE__ */ jsxs("section", { "aria-label": "Relevant this visit", children: [
|
|
31512
|
-
/* @__PURE__ */ jsx(
|
|
32179
|
+
/* @__PURE__ */ jsx(
|
|
32180
|
+
"h4",
|
|
32181
|
+
{
|
|
32182
|
+
"data-slot": "clinical-list-heading",
|
|
32183
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
32184
|
+
children: "Relevant this visit"
|
|
32185
|
+
}
|
|
32186
|
+
),
|
|
31513
32187
|
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
32188
|
] }),
|
|
31515
32189
|
unselected.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Patient problem list", children: [
|
|
31516
|
-
/* @__PURE__ */ jsx(
|
|
32190
|
+
/* @__PURE__ */ jsx(
|
|
32191
|
+
"h4",
|
|
32192
|
+
{
|
|
32193
|
+
"data-slot": "clinical-list-heading",
|
|
32194
|
+
className: "border-border text-muted-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
32195
|
+
children: "From patient problem list"
|
|
32196
|
+
}
|
|
32197
|
+
),
|
|
31517
32198
|
/* @__PURE__ */ jsx("ul", { className: "mt-1", children: unselected.map((c) => renderRow(c, true)) })
|
|
31518
32199
|
] }),
|
|
31519
32200
|
!readOnly && onAddProblem && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
@@ -31521,6 +32202,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31521
32202
|
"input",
|
|
31522
32203
|
{
|
|
31523
32204
|
type: "text",
|
|
32205
|
+
"data-slot": "input",
|
|
31524
32206
|
value: draft,
|
|
31525
32207
|
onChange: (e) => setDraft(e.target.value),
|
|
31526
32208
|
onKeyDown: (e) => {
|
|
@@ -31624,7 +32306,7 @@ function ProductVersion({
|
|
|
31624
32306
|
name,
|
|
31625
32307
|
" ",
|
|
31626
32308
|
versionDisplay,
|
|
31627
|
-
build && /* @__PURE__ */ jsxs("span", { className: "
|
|
32309
|
+
build && /* @__PURE__ */ jsxs("span", { className: "ms-1", children: [
|
|
31628
32310
|
"(",
|
|
31629
32311
|
build,
|
|
31630
32312
|
")"
|
|
@@ -32381,7 +33063,7 @@ function Breadcrumb2({ items, className }) {
|
|
|
32381
33063
|
"data-slot": "provider-detail-breadcrumb",
|
|
32382
33064
|
className: cn("py-2", className),
|
|
32383
33065
|
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" }),
|
|
33066
|
+
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4 rtl:-scale-x-100" }),
|
|
32385
33067
|
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
33068
|
"a",
|
|
32387
33069
|
{
|
|
@@ -32410,7 +33092,7 @@ function MobileBackButton({
|
|
|
32410
33092
|
href,
|
|
32411
33093
|
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
33094
|
children: [
|
|
32413
|
-
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
33095
|
+
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4 rtl:-scale-x-100" }),
|
|
32414
33096
|
label
|
|
32415
33097
|
]
|
|
32416
33098
|
}
|
|
@@ -33905,7 +34587,7 @@ var ProviderSearchBar = React13.forwardRef(
|
|
|
33905
34587
|
className: cn(
|
|
33906
34588
|
"border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
33907
34589
|
"w-full",
|
|
33908
|
-
onGeolocate ? "
|
|
34590
|
+
onGeolocate ? "ps-0" : "ps-3"
|
|
33909
34591
|
)
|
|
33910
34592
|
}
|
|
33911
34593
|
) }),
|
|
@@ -34008,7 +34690,7 @@ var inputVariants3 = cva(
|
|
|
34008
34690
|
{
|
|
34009
34691
|
variants: {
|
|
34010
34692
|
hasIcon: {
|
|
34011
|
-
true: "
|
|
34693
|
+
true: "ps-10",
|
|
34012
34694
|
false: ""
|
|
34013
34695
|
}
|
|
34014
34696
|
},
|
|
@@ -34022,10 +34704,9 @@ var selectVariants = cva([
|
|
|
34022
34704
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
34023
34705
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
34024
34706
|
"dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
|
|
34025
|
-
"appearance-none bg-no-repeat bg-right
|
|
34707
|
+
"appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
|
|
34026
34708
|
'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]"
|
|
34709
|
+
"bg-[length:1.5em_1.5em]"
|
|
34029
34710
|
]);
|
|
34030
34711
|
var labelVariants2 = cva([
|
|
34031
34712
|
"text-sm font-medium text-neutral-700 dark:text-neutral-300",
|
|
@@ -34103,7 +34784,7 @@ function InputField({ label, icon, className, id, ...props }) {
|
|
|
34103
34784
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34104
34785
|
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
|
|
34105
34786
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34106
|
-
icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
34787
|
+
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
34788
|
/* @__PURE__ */ jsx(
|
|
34108
34789
|
"input",
|
|
34109
34790
|
{
|
|
@@ -34254,7 +34935,7 @@ function ServiceMultiSelect({
|
|
|
34254
34935
|
"aria-labelledby": label ? void 0 : "services-label",
|
|
34255
34936
|
className: cn(
|
|
34256
34937
|
selectVariants(),
|
|
34257
|
-
"w-full text-
|
|
34938
|
+
"w-full text-start",
|
|
34258
34939
|
!selectedServices.length && "text-muted-foreground",
|
|
34259
34940
|
disabled && "cursor-not-allowed opacity-50"
|
|
34260
34941
|
),
|
|
@@ -34285,11 +34966,11 @@ function ServiceMultiSelect({
|
|
|
34285
34966
|
value: searchTerm,
|
|
34286
34967
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
34287
34968
|
placeholder: "Search services...",
|
|
34288
|
-
className: cn(inputVariants3({ hasIcon: true }), "
|
|
34969
|
+
className: cn(inputVariants3({ hasIcon: true }), "ps-8"),
|
|
34289
34970
|
autoFocus: true
|
|
34290
34971
|
}
|
|
34291
34972
|
),
|
|
34292
|
-
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34973
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
|
|
34293
34974
|
] }),
|
|
34294
34975
|
Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
|
|
34295
34976
|
([category, categoryServices]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -34306,7 +34987,7 @@ function ServiceMultiSelect({
|
|
|
34306
34987
|
"aria-selected": isSelected,
|
|
34307
34988
|
onClick: () => handleToggleService(service.value),
|
|
34308
34989
|
className: cn(
|
|
34309
|
-
"flex w-full items-center justify-between px-3 py-2 text-
|
|
34990
|
+
"flex w-full items-center justify-between px-3 py-2 text-start text-sm",
|
|
34310
34991
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
34311
34992
|
isSelected && "bg-primary-50 dark:bg-primary-900/20"
|
|
34312
34993
|
),
|
|
@@ -34490,7 +35171,7 @@ function CompactFilterBar({
|
|
|
34490
35171
|
"data-slot": "provider-compact-filter",
|
|
34491
35172
|
children: [
|
|
34492
35173
|
/* @__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
|
|
35174
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
|
|
34494
35175
|
/* @__PURE__ */ jsx(
|
|
34495
35176
|
"input",
|
|
34496
35177
|
{
|
|
@@ -34500,7 +35181,7 @@ function CompactFilterBar({
|
|
|
34500
35181
|
onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
|
|
34501
35182
|
disabled: loading,
|
|
34502
35183
|
className: cn(
|
|
34503
|
-
"h-9 w-full rounded-md border border-neutral-200
|
|
35184
|
+
"h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
|
|
34504
35185
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34505
35186
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34506
35187
|
)
|
|
@@ -34523,7 +35204,7 @@ function CompactFilterBar({
|
|
|
34523
35204
|
},
|
|
34524
35205
|
disabled: loading,
|
|
34525
35206
|
className: cn(
|
|
34526
|
-
"h-9 w-20 rounded-
|
|
35207
|
+
"h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
|
|
34527
35208
|
"focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
|
|
34528
35209
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34529
35210
|
)
|
|
@@ -34537,7 +35218,7 @@ function CompactFilterBar({
|
|
|
34537
35218
|
disabled: loading,
|
|
34538
35219
|
"aria-label": "Search radius",
|
|
34539
35220
|
className: cn(
|
|
34540
|
-
"h-9 rounded-
|
|
35221
|
+
"h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
|
|
34541
35222
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34542
35223
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34543
35224
|
),
|
|
@@ -34683,7 +35364,7 @@ function ActiveFilters({
|
|
|
34683
35364
|
{
|
|
34684
35365
|
type: "button",
|
|
34685
35366
|
onClick: filter.onClear,
|
|
34686
|
-
className: "
|
|
35367
|
+
className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
|
|
34687
35368
|
"aria-label": `Remove filter: ${filter.label}`,
|
|
34688
35369
|
children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-3 w-3" })
|
|
34689
35370
|
}
|
|
@@ -34786,7 +35467,7 @@ function ProviderSelector({
|
|
|
34786
35467
|
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
34787
35468
|
disabled,
|
|
34788
35469
|
className: cn(
|
|
34789
|
-
"flex w-full items-center gap-3 rounded-lg border px-3 text-
|
|
35470
|
+
"flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
|
|
34790
35471
|
"bg-background text-foreground",
|
|
34791
35472
|
"border-input",
|
|
34792
35473
|
"hover:border-muted-foreground/50",
|
|
@@ -34903,7 +35584,7 @@ function ProviderSelector({
|
|
|
34903
35584
|
"svg",
|
|
34904
35585
|
{
|
|
34905
35586
|
"aria-hidden": "true",
|
|
34906
|
-
className: "text-muted-foreground absolute top-1/2
|
|
35587
|
+
className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
|
|
34907
35588
|
fill: "none",
|
|
34908
35589
|
viewBox: "0 0 24 24",
|
|
34909
35590
|
stroke: "currentColor",
|
|
@@ -34926,7 +35607,7 @@ function ProviderSelector({
|
|
|
34926
35607
|
placeholder: searchPlaceholder,
|
|
34927
35608
|
value: searchQuery,
|
|
34928
35609
|
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
|
|
35610
|
+
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
35611
|
autoFocus: true
|
|
34931
35612
|
}
|
|
34932
35613
|
)
|
|
@@ -34938,7 +35619,7 @@ function ProviderSelector({
|
|
|
34938
35619
|
"data-slot": "provider-selector-option",
|
|
34939
35620
|
onClick: () => handleSelect(provider),
|
|
34940
35621
|
className: cn(
|
|
34941
|
-
"flex w-full items-center gap-3 px-4 py-3 text-
|
|
35622
|
+
"flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
|
|
34942
35623
|
"hover:bg-muted",
|
|
34943
35624
|
selectedProvider?.id === provider.id && "bg-primary/10"
|
|
34944
35625
|
),
|
|
@@ -35862,7 +36543,7 @@ function ProviderUsersTable({
|
|
|
35862
36543
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
35863
36544
|
/* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35864
36545
|
user.name,
|
|
35865
|
-
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
36546
|
+
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
|
|
35866
36547
|
] }),
|
|
35867
36548
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
35868
36549
|
] })
|
|
@@ -35870,7 +36551,7 @@ function ProviderUsersTable({
|
|
|
35870
36551
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
35871
36552
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
35872
36553
|
/* @__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-
|
|
36554
|
+
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-end", children: /* @__PURE__ */ jsx(
|
|
35874
36555
|
RowActionsMenu,
|
|
35875
36556
|
{
|
|
35876
36557
|
user,
|
|
@@ -35926,11 +36607,11 @@ function QuickLinksCard({
|
|
|
35926
36607
|
"span",
|
|
35927
36608
|
{
|
|
35928
36609
|
"data-slot": "quick-links-icon",
|
|
35929
|
-
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "
|
|
36610
|
+
className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "me-3"} `,
|
|
35930
36611
|
children: link.icon
|
|
35931
36612
|
}
|
|
35932
36613
|
),
|
|
35933
|
-
/* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-
|
|
36614
|
+
/* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-start", children: [
|
|
35934
36615
|
/* @__PURE__ */ jsx("span", { className: "text-foreground block text-sm font-medium", children: link.label }),
|
|
35935
36616
|
link.description && layout !== "grid" && /* @__PURE__ */ jsx(
|
|
35936
36617
|
"span",
|
|
@@ -35945,7 +36626,7 @@ function QuickLinksCard({
|
|
|
35945
36626
|
"span",
|
|
35946
36627
|
{
|
|
35947
36628
|
"data-slot": "quick-links-badge",
|
|
35948
|
-
className: "bg-primary/10
|
|
36629
|
+
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
36630
|
children: link.badge
|
|
35950
36631
|
}
|
|
35951
36632
|
),
|
|
@@ -36184,11 +36865,11 @@ function RecurringServiceCard({
|
|
|
36184
36865
|
)
|
|
36185
36866
|
] }),
|
|
36186
36867
|
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
|
|
36868
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
|
|
36188
36869
|
consentNote
|
|
36189
36870
|
] }),
|
|
36190
36871
|
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
|
|
36872
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-times-circle me-1" }),
|
|
36192
36873
|
consentNote
|
|
36193
36874
|
] }),
|
|
36194
36875
|
!isDisabled && /* @__PURE__ */ jsxs(
|
|
@@ -36415,7 +37096,7 @@ function RecurringServiceSetupModal({
|
|
|
36415
37096
|
),
|
|
36416
37097
|
/* @__PURE__ */ jsx("span", { className: "text-sm", children: overrideConsent })
|
|
36417
37098
|
] }),
|
|
36418
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground
|
|
37099
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
|
|
36419
37100
|
] }),
|
|
36420
37101
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36421
37102
|
/* @__PURE__ */ jsx(
|
|
@@ -36592,7 +37273,7 @@ function RejectionModal({
|
|
|
36592
37273
|
showDetails && /* @__PURE__ */ jsxs("div", { "data-slot": "rejection-modal-details", children: [
|
|
36593
37274
|
/* @__PURE__ */ jsxs("label", { className: "text-foreground mb-1 block text-sm font-medium", children: [
|
|
36594
37275
|
detailsLabel,
|
|
36595
|
-
needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive
|
|
37276
|
+
needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", children: "*" })
|
|
36596
37277
|
] }),
|
|
36597
37278
|
/* @__PURE__ */ jsx(
|
|
36598
37279
|
"textarea",
|
|
@@ -36630,7 +37311,7 @@ function RejectionModal({
|
|
|
36630
37311
|
"svg",
|
|
36631
37312
|
{
|
|
36632
37313
|
"aria-hidden": "true",
|
|
36633
|
-
className: "
|
|
37314
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
36634
37315
|
fill: "none",
|
|
36635
37316
|
viewBox: "0 0 24 24",
|
|
36636
37317
|
children: [
|
|
@@ -36802,7 +37483,7 @@ function ReportDashboard({
|
|
|
36802
37483
|
"svg",
|
|
36803
37484
|
{
|
|
36804
37485
|
"aria-hidden": "true",
|
|
36805
|
-
className: "
|
|
37486
|
+
className: "me-2 h-4 w-4",
|
|
36806
37487
|
fill: "none",
|
|
36807
37488
|
stroke: "currentColor",
|
|
36808
37489
|
viewBox: "0 0 24 24",
|
|
@@ -37164,7 +37845,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37164
37845
|
/* @__PURE__ */ jsx(
|
|
37165
37846
|
"span",
|
|
37166
37847
|
{
|
|
37167
|
-
className: "bg-muted border-input rounded-
|
|
37848
|
+
className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
|
|
37168
37849
|
"data-slot": "ref-file-badge",
|
|
37169
37850
|
children: results
|
|
37170
37851
|
}
|
|
@@ -37174,7 +37855,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37174
37855
|
{
|
|
37175
37856
|
value: files.map((f) => f.name).join(", "),
|
|
37176
37857
|
readOnly: true,
|
|
37177
|
-
className: "rounded-none border-
|
|
37858
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37178
37859
|
placeholder: "No files selected"
|
|
37179
37860
|
}
|
|
37180
37861
|
),
|
|
@@ -37193,10 +37874,10 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37193
37874
|
{
|
|
37194
37875
|
type: "button",
|
|
37195
37876
|
variant: "secondary",
|
|
37196
|
-
className: "rounded-
|
|
37877
|
+
className: "rounded-s-none",
|
|
37197
37878
|
onClick: () => fileInputRef.current?.click(),
|
|
37198
37879
|
children: [
|
|
37199
|
-
/* @__PURE__ */ jsx(FileUp, { className: "
|
|
37880
|
+
/* @__PURE__ */ jsx(FileUp, { className: "me-2 h-4 w-4" }),
|
|
37200
37881
|
browseFiles
|
|
37201
37882
|
]
|
|
37202
37883
|
}
|
|
@@ -37214,7 +37895,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37214
37895
|
{
|
|
37215
37896
|
type: "button",
|
|
37216
37897
|
onClick: () => removeFile(index),
|
|
37217
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37898
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37218
37899
|
"data-slot": "ref-file-remove",
|
|
37219
37900
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
37220
37901
|
}
|
|
@@ -37388,7 +38069,7 @@ function ResultsEntryModal({
|
|
|
37388
38069
|
"svg",
|
|
37389
38070
|
{
|
|
37390
38071
|
"aria-hidden": "true",
|
|
37391
|
-
className: "
|
|
38072
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37392
38073
|
fill: "none",
|
|
37393
38074
|
viewBox: "0 0 24 24",
|
|
37394
38075
|
children: [
|
|
@@ -37648,7 +38329,7 @@ function ScheduleCalendar({
|
|
|
37648
38329
|
weekDates.map((date, i) => /* @__PURE__ */ jsxs(
|
|
37649
38330
|
"div",
|
|
37650
38331
|
{
|
|
37651
|
-
className: `flex-1 border-
|
|
38332
|
+
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
38333
|
children: [
|
|
37653
38334
|
/* @__PURE__ */ jsx(
|
|
37654
38335
|
"p",
|
|
@@ -37680,7 +38361,7 @@ function ScheduleCalendar({
|
|
|
37680
38361
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37681
38362
|
"div",
|
|
37682
38363
|
{
|
|
37683
|
-
className: "text-muted-foreground h-16
|
|
38364
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37684
38365
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37685
38366
|
hour: "numeric",
|
|
37686
38367
|
hour12: true
|
|
@@ -37695,7 +38376,7 @@ function ScheduleCalendar({
|
|
|
37695
38376
|
return /* @__PURE__ */ jsxs(
|
|
37696
38377
|
"div",
|
|
37697
38378
|
{
|
|
37698
|
-
className: `relative flex-1 border-
|
|
38379
|
+
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
38380
|
children: [
|
|
37700
38381
|
hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37701
38382
|
"div",
|
|
@@ -37731,7 +38412,7 @@ function ScheduleCalendar({
|
|
|
37731
38412
|
role: "button",
|
|
37732
38413
|
tabIndex: 0,
|
|
37733
38414
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37734
|
-
className: `absolute
|
|
38415
|
+
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
38416
|
style: {
|
|
37736
38417
|
top: position.top,
|
|
37737
38418
|
height: position.height,
|
|
@@ -37955,7 +38636,7 @@ var accordionVariants = cva(
|
|
|
37955
38636
|
);
|
|
37956
38637
|
var categoryHeaderVariants = cva(
|
|
37957
38638
|
[
|
|
37958
|
-
"w-full flex items-center justify-between py-4 px-4 text-
|
|
38639
|
+
"w-full flex items-center justify-between py-4 px-4 text-start",
|
|
37959
38640
|
"transition-colors",
|
|
37960
38641
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
|
|
37961
38642
|
],
|
|
@@ -38064,7 +38745,7 @@ function ServiceLink({
|
|
|
38064
38745
|
children: [
|
|
38065
38746
|
/* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
38066
38747
|
/* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
|
|
38067
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
38748
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
|
|
38068
38749
|
"(",
|
|
38069
38750
|
service.providerCount,
|
|
38070
38751
|
")"
|
|
@@ -38091,7 +38772,7 @@ function SubCategoryAccordion({
|
|
|
38091
38772
|
onClick: () => setIsExpanded(!isExpanded),
|
|
38092
38773
|
className: cn(
|
|
38093
38774
|
"flex w-full items-center justify-between px-3 py-2",
|
|
38094
|
-
"text-
|
|
38775
|
+
"text-start font-medium text-neutral-700 dark:text-neutral-200",
|
|
38095
38776
|
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
38096
38777
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
38097
38778
|
),
|
|
@@ -38121,7 +38802,7 @@ function SubCategoryAccordion({
|
|
|
38121
38802
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
38122
38803
|
),
|
|
38123
38804
|
inert: !isExpanded || void 0,
|
|
38124
|
-
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 pb-2
|
|
38805
|
+
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsx(
|
|
38125
38806
|
ServiceLink,
|
|
38126
38807
|
{
|
|
38127
38808
|
service,
|
|
@@ -38476,7 +39157,7 @@ function ServiceBadge({
|
|
|
38476
39157
|
const isClickable = Boolean(href || onClick);
|
|
38477
39158
|
const isInteractive = interactive ?? isClickable;
|
|
38478
39159
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38479
|
-
icon && /* @__PURE__ */ jsx("span", { className: "
|
|
39160
|
+
icon && /* @__PURE__ */ jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
|
|
38480
39161
|
/* @__PURE__ */ jsx("span", { className: "truncate", children }),
|
|
38481
39162
|
removable && onRemove && /* @__PURE__ */ jsx(
|
|
38482
39163
|
"button",
|
|
@@ -38488,7 +39169,7 @@ function ServiceBadge({
|
|
|
38488
39169
|
e.stopPropagation();
|
|
38489
39170
|
onRemove();
|
|
38490
39171
|
},
|
|
38491
|
-
className: "
|
|
39172
|
+
className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
|
|
38492
39173
|
"aria-label": `Remove ${children}`,
|
|
38493
39174
|
children: /* @__PURE__ */ jsx(CloseIcon4, { className: "h-3 w-3" })
|
|
38494
39175
|
}
|
|
@@ -38605,7 +39286,7 @@ function ServiceTagCloudBadges({
|
|
|
38605
39286
|
href: onServiceClick ? void 0 : `/service/${service.slug}`,
|
|
38606
39287
|
children: [
|
|
38607
39288
|
service.name,
|
|
38608
|
-
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
39289
|
+
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-1", children: [
|
|
38609
39290
|
"(",
|
|
38610
39291
|
service.count,
|
|
38611
39292
|
")"
|
|
@@ -38656,7 +39337,7 @@ function SelectedServicesBadges({
|
|
|
38656
39337
|
{
|
|
38657
39338
|
type: "button",
|
|
38658
39339
|
onClick: onClearAll,
|
|
38659
|
-
className: "text-muted-foreground
|
|
39340
|
+
className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
38660
39341
|
children: "Clear all"
|
|
38661
39342
|
}
|
|
38662
39343
|
)
|
|
@@ -38718,7 +39399,7 @@ function DOTBadge({
|
|
|
38718
39399
|
),
|
|
38719
39400
|
...props,
|
|
38720
39401
|
children: [
|
|
38721
|
-
/* @__PURE__ */ jsx(DOTIcon, { className: "
|
|
39402
|
+
/* @__PURE__ */ jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
|
|
38722
39403
|
children || config.label
|
|
38723
39404
|
]
|
|
38724
39405
|
}
|
|
@@ -38981,7 +39662,7 @@ function ServiceCard({
|
|
|
38981
39662
|
{
|
|
38982
39663
|
type: "button",
|
|
38983
39664
|
onClick: handleManageClick,
|
|
38984
|
-
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10
|
|
39665
|
+
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
39666
|
children: "Manage"
|
|
38986
39667
|
}
|
|
38987
39668
|
)
|
|
@@ -39170,7 +39851,7 @@ function ServiceGeneralSettings({
|
|
|
39170
39851
|
}
|
|
39171
39852
|
),
|
|
39172
39853
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
39173
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39854
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
39174
39855
|
/* @__PURE__ */ jsx(
|
|
39175
39856
|
"input",
|
|
39176
39857
|
{
|
|
@@ -39178,7 +39859,7 @@ function ServiceGeneralSettings({
|
|
|
39178
39859
|
type: "number",
|
|
39179
39860
|
min: "0",
|
|
39180
39861
|
step: "0.01",
|
|
39181
|
-
className: "w-full rounded-md border border-gray-300 py-2
|
|
39862
|
+
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
39863
|
value: basePrice,
|
|
39183
39864
|
onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
|
|
39184
39865
|
placeholder: "0.00"
|
|
@@ -39202,13 +39883,13 @@ function ServiceGeneralSettings({
|
|
|
39202
39883
|
id: "turnaround-days",
|
|
39203
39884
|
type: "number",
|
|
39204
39885
|
min: "0",
|
|
39205
|
-
className: "w-full rounded-md border border-gray-300 px-3 py-2
|
|
39886
|
+
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
39887
|
value: turnaroundDays ?? "",
|
|
39207
39888
|
onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
|
|
39208
39889
|
placeholder: "0"
|
|
39209
39890
|
}
|
|
39210
39891
|
),
|
|
39211
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39892
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
|
|
39212
39893
|
] })
|
|
39213
39894
|
] })
|
|
39214
39895
|
] })
|
|
@@ -39451,7 +40132,7 @@ function ServicePicker({
|
|
|
39451
40132
|
}
|
|
39452
40133
|
),
|
|
39453
40134
|
showSearch && /* @__PURE__ */ jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
|
|
39454
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
40135
|
+
/* @__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
40136
|
/* @__PURE__ */ jsx(
|
|
39456
40137
|
Input,
|
|
39457
40138
|
{
|
|
@@ -39459,7 +40140,7 @@ function ServicePicker({
|
|
|
39459
40140
|
value: searchQuery,
|
|
39460
40141
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
39461
40142
|
placeholder: searchPlaceholder,
|
|
39462
|
-
className: "
|
|
40143
|
+
className: "ps-10",
|
|
39463
40144
|
"data-cy": "input-search-services"
|
|
39464
40145
|
}
|
|
39465
40146
|
)
|
|
@@ -39560,10 +40241,10 @@ function ServiceGroupItem({
|
|
|
39560
40241
|
onClick: () => onToggleGroup(group.id),
|
|
39561
40242
|
className: cn(
|
|
39562
40243
|
"flex w-full items-center justify-between rounded-lg px-3 py-2",
|
|
39563
|
-
"text-muted-foreground text-
|
|
40244
|
+
"text-muted-foreground text-start text-sm font-medium",
|
|
39564
40245
|
"hover:bg-muted",
|
|
39565
40246
|
"transition-colors",
|
|
39566
|
-
depth > 0 && "
|
|
40247
|
+
depth > 0 && "ms-4"
|
|
39567
40248
|
),
|
|
39568
40249
|
"aria-expanded": isExpanded,
|
|
39569
40250
|
children: [
|
|
@@ -39601,7 +40282,7 @@ function ServiceGroupItem({
|
|
|
39601
40282
|
"ul",
|
|
39602
40283
|
{
|
|
39603
40284
|
"data-slot": "service-picker-group-list",
|
|
39604
|
-
className: "mt-1 space-y-1
|
|
40285
|
+
className: "mt-1 space-y-1 ps-4",
|
|
39605
40286
|
children: [
|
|
39606
40287
|
group.services.map((service) => /* @__PURE__ */ jsx(
|
|
39607
40288
|
ServiceItem,
|
|
@@ -39994,10 +40675,10 @@ function ServicePricingManager({
|
|
|
39994
40675
|
/* @__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
40676
|
/* @__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
40677
|
/* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
|
|
39997
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
39998
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40678
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Base Price" }),
|
|
40679
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Employer Price" }),
|
|
39999
40680
|
/* @__PURE__ */ jsx("div", { className: "text-center", children: "Status" }),
|
|
40000
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40681
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Actions" })
|
|
40001
40682
|
] }),
|
|
40002
40683
|
filteredServices.map((service) => /* @__PURE__ */ jsxs(
|
|
40003
40684
|
"div",
|
|
@@ -40014,14 +40695,14 @@ function ServicePricingManager({
|
|
|
40014
40695
|
] }),
|
|
40015
40696
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40016
40697
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
40017
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
40698
|
+
/* @__PURE__ */ jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
40018
40699
|
] }),
|
|
40019
40700
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40020
40701
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
40021
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-
|
|
40702
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
40022
40703
|
] }),
|
|
40023
40704
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
40024
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
40705
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
|
|
40025
40706
|
/* @__PURE__ */ jsx(
|
|
40026
40707
|
Badge,
|
|
40027
40708
|
{
|
|
@@ -40571,7 +41252,7 @@ function SetupServiceModal({
|
|
|
40571
41252
|
}
|
|
40572
41253
|
),
|
|
40573
41254
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
40574
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
41255
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
40575
41256
|
/* @__PURE__ */ jsx(
|
|
40576
41257
|
"input",
|
|
40577
41258
|
{
|
|
@@ -40579,7 +41260,7 @@ function SetupServiceModal({
|
|
|
40579
41260
|
type: "number",
|
|
40580
41261
|
min: "0",
|
|
40581
41262
|
step: "0.01",
|
|
40582
|
-
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2
|
|
41263
|
+
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
41264
|
value: formData.price,
|
|
40584
41265
|
onChange: (e) => setFormData((prev) => ({
|
|
40585
41266
|
...prev,
|
|
@@ -40646,7 +41327,7 @@ function SetupServiceModal({
|
|
|
40646
41327
|
"div",
|
|
40647
41328
|
{
|
|
40648
41329
|
"data-slot": "setup-service-inventory",
|
|
40649
|
-
className: "border-border
|
|
41330
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
40650
41331
|
children: /* @__PURE__ */ jsx(
|
|
40651
41332
|
Input,
|
|
40652
41333
|
{
|
|
@@ -40706,7 +41387,7 @@ function SetupServiceModal({
|
|
|
40706
41387
|
"svg",
|
|
40707
41388
|
{
|
|
40708
41389
|
"aria-hidden": "true",
|
|
40709
|
-
className: "
|
|
41390
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
40710
41391
|
fill: "none",
|
|
40711
41392
|
viewBox: "0 0 24 24",
|
|
40712
41393
|
children: [
|
|
@@ -40828,7 +41509,7 @@ var ChevronLeftIcon2 = () => /* @__PURE__ */ jsx(
|
|
|
40828
41509
|
"svg",
|
|
40829
41510
|
{
|
|
40830
41511
|
"aria-hidden": "true",
|
|
40831
|
-
className: "h-4 w-4",
|
|
41512
|
+
className: "h-4 w-4 rtl:-scale-x-100",
|
|
40832
41513
|
fill: "none",
|
|
40833
41514
|
viewBox: "0 0 24 24",
|
|
40834
41515
|
stroke: "currentColor",
|
|
@@ -40840,7 +41521,7 @@ var ChevronRightIcon2 = () => /* @__PURE__ */ jsx(
|
|
|
40840
41521
|
"svg",
|
|
40841
41522
|
{
|
|
40842
41523
|
"aria-hidden": "true",
|
|
40843
|
-
className: "h-4 w-4",
|
|
41524
|
+
className: "h-4 w-4 rtl:-scale-x-100",
|
|
40844
41525
|
fill: "none",
|
|
40845
41526
|
viewBox: "0 0 24 24",
|
|
40846
41527
|
stroke: "currentColor",
|
|
@@ -40926,33 +41607,49 @@ function Sidebar({
|
|
|
40926
41607
|
"data-testid": testId = "sidebar"
|
|
40927
41608
|
}) {
|
|
40928
41609
|
const { isCollapsed, isMobileOpen, closeMobile, isMobileViewport } = useSidebar();
|
|
41610
|
+
const navRef = useRef(null);
|
|
41611
|
+
const isRtl = useDirection(navRef) === "rtl";
|
|
40929
41612
|
const width = isMobileViewport ? expandedWidth : isCollapsed ? collapsedWidth : expandedWidth;
|
|
40930
41613
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
40931
|
-
isMobileViewport && isMobileOpen && /* @__PURE__ */ jsx(
|
|
40932
|
-
|
|
41614
|
+
isMobileViewport && /* @__PURE__ */ jsx(AnimatedPresence, { children: isMobileOpen && /* @__PURE__ */ jsx(
|
|
41615
|
+
Animated,
|
|
40933
41616
|
{
|
|
41617
|
+
preset: "overlay",
|
|
41618
|
+
mode: "presence",
|
|
40934
41619
|
"data-slot": "sidebar-backdrop",
|
|
40935
|
-
className: "fixed inset-0 z-40 bg-black/50
|
|
41620
|
+
className: "fixed inset-0 z-40 bg-black/50",
|
|
40936
41621
|
onClick: closeMobile,
|
|
40937
41622
|
"aria-hidden": "true"
|
|
40938
|
-
}
|
|
40939
|
-
|
|
41623
|
+
},
|
|
41624
|
+
"sidebar-backdrop"
|
|
41625
|
+
) }),
|
|
40940
41626
|
/* @__PURE__ */ jsx(
|
|
40941
|
-
|
|
41627
|
+
Animated,
|
|
40942
41628
|
{
|
|
41629
|
+
ref: navRef,
|
|
41630
|
+
as: "nav",
|
|
41631
|
+
preset: "drawerStart",
|
|
41632
|
+
mode: "toggle",
|
|
41633
|
+
enabled: isMobileViewport,
|
|
41634
|
+
open: isMobileOpen,
|
|
41635
|
+
custom: isRtl,
|
|
40943
41636
|
"data-slot": "sidebar",
|
|
40944
41637
|
"data-testid": testId,
|
|
40945
41638
|
className: cn(
|
|
40946
41639
|
"flex h-screen flex-col",
|
|
40947
41640
|
"border-e border-neutral-200 bg-white dark:border-neutral-700 dark:bg-neutral-900",
|
|
40948
|
-
"transition-all duration-300 ease-in-out",
|
|
40949
41641
|
// Mobile positioning (start-pinned; off-canvas direction flips in RTL)
|
|
40950
41642
|
isMobileViewport && "fixed start-0 top-0 z-50",
|
|
40951
|
-
|
|
40952
|
-
//
|
|
40953
|
-
|
|
41643
|
+
// Desktop positioning. Collapsing animates `width`, which motion does
|
|
41644
|
+
// not drive, so this transition belongs on both paths — but scoped to
|
|
41645
|
+
// desktop, where width is the only thing that changes.
|
|
41646
|
+
!isMobileViewport && "relative transition-[width,min-width] duration-300 ease-in-out",
|
|
40954
41647
|
className
|
|
40955
41648
|
),
|
|
41649
|
+
fallbackClassName: cn(
|
|
41650
|
+
isMobileViewport && "transition-transform duration-300 ease-in-out",
|
|
41651
|
+
isMobileViewport && (isMobileOpen ? "translate-x-0" : "-translate-x-full rtl:translate-x-full")
|
|
41652
|
+
),
|
|
40956
41653
|
style: {
|
|
40957
41654
|
width,
|
|
40958
41655
|
minWidth: width,
|
|
@@ -40995,7 +41692,7 @@ function SidebarHeader({
|
|
|
40995
41692
|
"button",
|
|
40996
41693
|
{
|
|
40997
41694
|
onClick: closeMobile,
|
|
40998
|
-
className: "-me-2 rounded-lg p-2 text-neutral-500 transition-colors hover:bg-neutral-100
|
|
41695
|
+
className: "-me-2 rounded-lg p-2 text-neutral-500 transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
40999
41696
|
"aria-label": "Close navigation",
|
|
41000
41697
|
children: /* @__PURE__ */ jsx(XIcon4, {})
|
|
41001
41698
|
}
|
|
@@ -41087,17 +41784,31 @@ function SidebarNavGroup({
|
|
|
41087
41784
|
children: icon
|
|
41088
41785
|
}
|
|
41089
41786
|
),
|
|
41090
|
-
|
|
41091
|
-
/* @__PURE__ */ jsx(
|
|
41092
|
-
|
|
41093
|
-
"span",
|
|
41787
|
+
/* @__PURE__ */ jsxs(AnimatedPresence, { initial: false, children: [
|
|
41788
|
+
!showCollapsed && /* @__PURE__ */ jsx(
|
|
41789
|
+
Animated,
|
|
41094
41790
|
{
|
|
41791
|
+
as: "span",
|
|
41792
|
+
preset: "sidebarLabel",
|
|
41793
|
+
mode: "presence",
|
|
41794
|
+
className: "flex-1 truncate text-start",
|
|
41795
|
+
children: label
|
|
41796
|
+
},
|
|
41797
|
+
"label"
|
|
41798
|
+
),
|
|
41799
|
+
!showCollapsed && /* @__PURE__ */ jsx(
|
|
41800
|
+
Animated,
|
|
41801
|
+
{
|
|
41802
|
+
as: "span",
|
|
41803
|
+
preset: "sidebarLabel",
|
|
41804
|
+
mode: "presence",
|
|
41095
41805
|
className: cn(
|
|
41096
41806
|
"ms-2 flex-shrink-0 transition-transform duration-200",
|
|
41097
41807
|
effectiveExpanded && "rotate-180"
|
|
41098
41808
|
),
|
|
41099
41809
|
children: /* @__PURE__ */ jsx(ChevronDownIcon4, {})
|
|
41100
|
-
}
|
|
41810
|
+
},
|
|
41811
|
+
"chevron"
|
|
41101
41812
|
)
|
|
41102
41813
|
] })
|
|
41103
41814
|
]
|
|
@@ -41147,17 +41858,31 @@ function SidebarNavItem({
|
|
|
41147
41858
|
children: icon
|
|
41148
41859
|
}
|
|
41149
41860
|
),
|
|
41150
|
-
|
|
41151
|
-
/* @__PURE__ */ jsx(
|
|
41152
|
-
|
|
41153
|
-
"span",
|
|
41861
|
+
/* @__PURE__ */ jsxs(AnimatedPresence, { initial: false, children: [
|
|
41862
|
+
!showCollapsed && /* @__PURE__ */ jsx(
|
|
41863
|
+
Animated,
|
|
41154
41864
|
{
|
|
41865
|
+
as: "span",
|
|
41866
|
+
preset: "sidebarLabel",
|
|
41867
|
+
mode: "presence",
|
|
41868
|
+
className: "flex-1 truncate text-start",
|
|
41869
|
+
children: label
|
|
41870
|
+
},
|
|
41871
|
+
"label"
|
|
41872
|
+
),
|
|
41873
|
+
!showCollapsed && badge && /* @__PURE__ */ jsx(
|
|
41874
|
+
Animated,
|
|
41875
|
+
{
|
|
41876
|
+
as: "span",
|
|
41877
|
+
preset: "sidebarLabel",
|
|
41878
|
+
mode: "presence",
|
|
41155
41879
|
className: cn(
|
|
41156
41880
|
"ms-2 rounded-full px-2 py-0.5 text-xs font-medium",
|
|
41157
41881
|
isActive ? "bg-primary-100 dark:bg-primary-900/30 text-primary-700 dark:text-primary-300" : "bg-neutral-100 text-neutral-600 dark:bg-neutral-700 dark:text-neutral-400"
|
|
41158
41882
|
),
|
|
41159
41883
|
children: badge
|
|
41160
|
-
}
|
|
41884
|
+
},
|
|
41885
|
+
"badge"
|
|
41161
41886
|
)
|
|
41162
41887
|
] })
|
|
41163
41888
|
] });
|
|
@@ -41526,7 +42251,7 @@ function FooterLinkSection({
|
|
|
41526
42251
|
),
|
|
41527
42252
|
children: [
|
|
41528
42253
|
link.label,
|
|
41529
|
-
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "
|
|
42254
|
+
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41530
42255
|
]
|
|
41531
42256
|
}
|
|
41532
42257
|
) }, link.href)) })
|
|
@@ -41833,7 +42558,7 @@ function SimpleFooter({
|
|
|
41833
42558
|
variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
41834
42559
|
className
|
|
41835
42560
|
),
|
|
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-
|
|
42561
|
+
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
42562
|
/* @__PURE__ */ jsx(CopyrightText, { companyName, variant }),
|
|
41838
42563
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-4 sm:justify-end", children: [
|
|
41839
42564
|
/* @__PURE__ */ jsx(
|
|
@@ -41971,7 +42696,7 @@ function NavLinks({
|
|
|
41971
42696
|
),
|
|
41972
42697
|
children: [
|
|
41973
42698
|
link.label,
|
|
41974
|
-
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "
|
|
42699
|
+
link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
|
|
41975
42700
|
]
|
|
41976
42701
|
},
|
|
41977
42702
|
link.href
|
|
@@ -42157,7 +42882,7 @@ function UserMenu({
|
|
|
42157
42882
|
"div",
|
|
42158
42883
|
{
|
|
42159
42884
|
"data-slot": "site-header-user-dropdown",
|
|
42160
|
-
className: "absolute
|
|
42885
|
+
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
42886
|
children: [
|
|
42162
42887
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
|
|
42163
42888
|
/* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
|
|
@@ -42185,7 +42910,7 @@ function UserMenu({
|
|
|
42185
42910
|
setIsOpen(false);
|
|
42186
42911
|
},
|
|
42187
42912
|
className: cn(
|
|
42188
|
-
"flex w-full items-center gap-2 px-4 py-2 text-
|
|
42913
|
+
"flex w-full items-center gap-2 px-4 py-2 text-start text-sm",
|
|
42189
42914
|
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
42915
|
),
|
|
42191
42916
|
children: [
|
|
@@ -42250,7 +42975,7 @@ function MobileMenuPanel({
|
|
|
42250
42975
|
"div",
|
|
42251
42976
|
{
|
|
42252
42977
|
className: cn(
|
|
42253
|
-
"fixed
|
|
42978
|
+
"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
42979
|
className
|
|
42255
42980
|
),
|
|
42256
42981
|
children: [
|
|
@@ -42282,7 +43007,7 @@ function MobileMenuPanel({
|
|
|
42282
43007
|
},
|
|
42283
43008
|
link.href
|
|
42284
43009
|
)) }),
|
|
42285
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
43010
|
+
/* @__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
43011
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-2", children: [
|
|
42287
43012
|
/* @__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
43013
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -42333,22 +43058,19 @@ function MobileMenuPanel({
|
|
|
42333
43058
|
)
|
|
42334
43059
|
] });
|
|
42335
43060
|
}
|
|
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"
|
|
43061
|
+
var headerVariants3 = cva("fixed top-0 start-0 end-0 z-40 transition-colors", {
|
|
43062
|
+
variants: {
|
|
43063
|
+
variant: {
|
|
43064
|
+
primary: "bg-primary-800",
|
|
43065
|
+
white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
|
|
43066
|
+
transparent: "bg-transparent",
|
|
43067
|
+
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
42349
43068
|
}
|
|
43069
|
+
},
|
|
43070
|
+
defaultVariants: {
|
|
43071
|
+
variant: "primary"
|
|
42350
43072
|
}
|
|
42351
|
-
);
|
|
43073
|
+
});
|
|
42352
43074
|
function SiteHeader({
|
|
42353
43075
|
logo = {},
|
|
42354
43076
|
links = [],
|
|
@@ -42455,7 +43177,7 @@ function CompactHeader({
|
|
|
42455
43177
|
{
|
|
42456
43178
|
href: backHref,
|
|
42457
43179
|
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" })
|
|
43180
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
|
|
42459
43181
|
}
|
|
42460
43182
|
) : onBack ? /* @__PURE__ */ jsx(
|
|
42461
43183
|
"button",
|
|
@@ -42463,7 +43185,7 @@ function CompactHeader({
|
|
|
42463
43185
|
type: "button",
|
|
42464
43186
|
onClick: onBack,
|
|
42465
43187
|
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" })
|
|
43188
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
|
|
42467
43189
|
}
|
|
42468
43190
|
) : null;
|
|
42469
43191
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -42480,7 +43202,7 @@ function CompactHeader({
|
|
|
42480
43202
|
{
|
|
42481
43203
|
"data-slot": "site-header-compact",
|
|
42482
43204
|
className: cn(
|
|
42483
|
-
"fixed
|
|
43205
|
+
"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
43206
|
className
|
|
42485
43207
|
),
|
|
42486
43208
|
children: /* @__PURE__ */ jsxs(
|
|
@@ -43430,8 +44152,8 @@ function TocList({
|
|
|
43430
44152
|
{
|
|
43431
44153
|
className: cn(
|
|
43432
44154
|
"space-y-1",
|
|
43433
|
-
depth > 0 && indentLines && "border-border
|
|
43434
|
-
depth > 0 && !indentLines && "
|
|
44155
|
+
depth > 0 && indentLines && "border-border ms-3 border-s ps-3",
|
|
44156
|
+
depth > 0 && !indentLines && "ms-4"
|
|
43435
44157
|
),
|
|
43436
44158
|
children: items.map((item) => /* @__PURE__ */ jsxs("li", { children: [
|
|
43437
44159
|
/* @__PURE__ */ jsx(
|
|
@@ -43726,7 +44448,7 @@ function TimelineEventList({
|
|
|
43726
44448
|
events.length > 1 && /* @__PURE__ */ jsx(
|
|
43727
44449
|
"div",
|
|
43728
44450
|
{
|
|
43729
|
-
className: "absolute top-0 bottom-0
|
|
44451
|
+
className: "absolute start-5 top-0 bottom-0 w-px bg-neutral-200 dark:bg-neutral-700",
|
|
43730
44452
|
"aria-hidden": "true"
|
|
43731
44453
|
}
|
|
43732
44454
|
),
|
|
@@ -44053,7 +44775,7 @@ function WebChartReportViewer({
|
|
|
44053
44775
|
onClick: onReconnect,
|
|
44054
44776
|
className: "mt-2",
|
|
44055
44777
|
children: [
|
|
44056
|
-
/* @__PURE__ */ jsx(Link$1, { className: "
|
|
44778
|
+
/* @__PURE__ */ jsx(Link$1, { className: "me-2 h-4 w-4" }),
|
|
44057
44779
|
reconnect
|
|
44058
44780
|
]
|
|
44059
44781
|
}
|
|
@@ -44061,7 +44783,7 @@ function WebChartReportViewer({
|
|
|
44061
44783
|
] })
|
|
44062
44784
|
] }),
|
|
44063
44785
|
!error && !loading && /* @__PURE__ */ jsxs(Button, { onClick: onRefreshReports, className: "mb-4", children: [
|
|
44064
|
-
/* @__PURE__ */ jsx(RefreshCw$1, { className: "
|
|
44786
|
+
/* @__PURE__ */ jsx(RefreshCw$1, { className: "me-2 h-4 w-4" }),
|
|
44065
44787
|
refreshReports
|
|
44066
44788
|
] }),
|
|
44067
44789
|
/* @__PURE__ */ jsx(
|
|
@@ -44130,7 +44852,7 @@ function WebChartReportViewer({
|
|
|
44130
44852
|
className: "flex items-center gap-3",
|
|
44131
44853
|
children: [
|
|
44132
44854
|
/* @__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
|
|
44855
|
+
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
44856
|
]
|
|
44135
44857
|
}
|
|
44136
44858
|
),
|
|
@@ -44588,6 +45310,6 @@ function WebsiteInputGroup({
|
|
|
44588
45310
|
}
|
|
44589
45311
|
WebsiteInputGroup.displayName = "WebsiteInputGroup";
|
|
44590
45312
|
|
|
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 };
|
|
45313
|
+
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
45314
|
//# sourceMappingURL=index.js.map
|
|
44593
45315
|
//# sourceMappingURL=index.js.map
|