@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
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkBVMABVC4_cjs = require('./chunk-BVMABVC4.cjs');
|
|
5
5
|
var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
|
|
6
6
|
var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkXEEVDZDK_cjs = require('./chunk-XEEVDZDK.cjs');
|
|
8
|
+
var chunkSRA2L3SQ_cjs = require('./chunk-SRA2L3SQ.cjs');
|
|
9
9
|
var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkL52N6BEN_cjs = require('./chunk-L52N6BEN.cjs');
|
|
11
11
|
var chunkZ5S5JEJD_cjs = require('./chunk-Z5S5JEJD.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkL7L5S2HO_cjs = require('./chunk-L7L5S2HO.cjs');
|
|
13
13
|
var chunkYVL3XATO_cjs = require('./chunk-YVL3XATO.cjs');
|
|
14
|
-
var
|
|
15
|
-
var chunkYVPC65ZJ_cjs = require('./chunk-YVPC65ZJ.cjs');
|
|
14
|
+
var chunkIINZWUGK_cjs = require('./chunk-IINZWUGK.cjs');
|
|
16
15
|
var chunkS5RVSXDV_cjs = require('./chunk-S5RVSXDV.cjs');
|
|
16
|
+
var chunkYVPC65ZJ_cjs = require('./chunk-YVPC65ZJ.cjs');
|
|
17
17
|
var jsxRuntime = require('react/jsx-runtime');
|
|
18
18
|
var React3 = require('react');
|
|
19
19
|
|
|
@@ -54,9 +54,9 @@ function toolbarKeyNav(e) {
|
|
|
54
54
|
}
|
|
55
55
|
var ALIGN = {
|
|
56
56
|
/** Vertically centered on the row's right edge (single-line rows). */
|
|
57
|
-
center: "pointer-fine:top-1/2 pointer-fine:
|
|
57
|
+
center: "pointer-fine:top-1/2 pointer-fine:end-0 pointer-fine:-translate-y-1/2",
|
|
58
58
|
/** Pinned near the row's top-right corner (multi-line rows). */
|
|
59
|
-
top: "pointer-fine:top-1.5 pointer-fine:
|
|
59
|
+
top: "pointer-fine:top-1.5 pointer-fine:end-1.5"
|
|
60
60
|
};
|
|
61
61
|
var REVEAL = {
|
|
62
62
|
row: chunkS5RVSXDV_cjs.cn(
|
|
@@ -88,10 +88,10 @@ function RowActionToolbar({
|
|
|
88
88
|
"aria-label": label,
|
|
89
89
|
onKeyDown: toolbarKeyNav,
|
|
90
90
|
className: chunkS5RVSXDV_cjs.cn(
|
|
91
|
-
"z-10
|
|
91
|
+
"z-10 ms-auto flex items-center gap-0.5 transition-opacity",
|
|
92
92
|
// Inside a grid cell the column already reserves the space, so the
|
|
93
93
|
// toolbar stays in flow — no absolute overlay. It keeps the card
|
|
94
|
-
// chrome, though: pair with a `sticky
|
|
94
|
+
// chrome, though: pair with a `sticky end-0` actions column and it
|
|
95
95
|
// floats over scrolled-under content at the grid's right edge.
|
|
96
96
|
group !== "grid" && [
|
|
97
97
|
"pointer-fine:absolute",
|
|
@@ -115,8 +115,8 @@ function RowIconButton({
|
|
|
115
115
|
active,
|
|
116
116
|
size = "md"
|
|
117
117
|
}) {
|
|
118
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
119
|
-
|
|
118
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkBVMABVC4_cjs.Tooltip, { content: label, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
119
|
+
chunkIINZWUGK_cjs.Button,
|
|
120
120
|
{
|
|
121
121
|
type: "button",
|
|
122
122
|
variant: "ghost",
|
|
@@ -150,9 +150,9 @@ var SEVERITY_BADGE = {
|
|
|
150
150
|
};
|
|
151
151
|
var DEFAULT_ACTIONS = ["correct", "note", "remove"];
|
|
152
152
|
var ACTION_META = {
|
|
153
|
-
correct: { label: "Correct", icon:
|
|
154
|
-
note: { label: "Notes", icon:
|
|
155
|
-
remove: { label: "Remove", icon:
|
|
153
|
+
correct: { label: "Correct", icon: chunkL7L5S2HO_cjs.Pencil },
|
|
154
|
+
note: { label: "Notes", icon: chunkL7L5S2HO_cjs.StickyNote },
|
|
155
|
+
remove: { label: "Remove", icon: chunkL7L5S2HO_cjs.Ban }
|
|
156
156
|
};
|
|
157
157
|
function AllergyRow({
|
|
158
158
|
allergy,
|
|
@@ -185,6 +185,7 @@ function AllergyRow({
|
|
|
185
185
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
186
186
|
"li",
|
|
187
187
|
{
|
|
188
|
+
"data-slot": "clinical-list-row",
|
|
188
189
|
"data-allergy-id": allergy.id,
|
|
189
190
|
tabIndex: drag.enabled ? 0 : void 0,
|
|
190
191
|
onKeyDown: drag.enabled ? handleRowKeyDown : void 0,
|
|
@@ -198,7 +199,7 @@ function AllergyRow({
|
|
|
198
199
|
),
|
|
199
200
|
children: [
|
|
200
201
|
drag.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
201
|
-
|
|
202
|
+
chunkL7L5S2HO_cjs.GripVertical,
|
|
202
203
|
{
|
|
203
204
|
size: 14,
|
|
204
205
|
"aria-hidden": true,
|
|
@@ -238,8 +239,8 @@ function AllergyRow({
|
|
|
238
239
|
allergy.onsetDate
|
|
239
240
|
] }),
|
|
240
241
|
allergy.inactive && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "secondary", size: "sm", children: "inactive" }),
|
|
241
|
-
allergy.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full items-center gap-1.5
|
|
242
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
242
|
+
allergy.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full items-center gap-1.5 ps-4", children: [
|
|
243
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.StickyNote, { size: 12, className: "text-muted-foreground" }),
|
|
243
244
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: allergy.note })
|
|
244
245
|
] }),
|
|
245
246
|
!readOnly && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(RowActionToolbar, { label: `Actions for ${allergy.allergen}`, children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -320,7 +321,7 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
320
321
|
children: [
|
|
321
322
|
title !== null && /* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "text-foreground flex items-center gap-2 text-sm font-semibold tracking-wide uppercase", children: [
|
|
322
323
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
323
|
-
|
|
324
|
+
chunkL7L5S2HO_cjs.AlertCircle,
|
|
324
325
|
{
|
|
325
326
|
size: 16,
|
|
326
327
|
className: "text-red-600 dark:text-red-400"
|
|
@@ -335,7 +336,7 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
335
336
|
"No known allergies (NKA)"
|
|
336
337
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: "Allergy status not recorded." }),
|
|
337
338
|
!readOnly && onNoKnownAllergiesChange && /* @__PURE__ */ jsxRuntime.jsx(
|
|
338
|
-
|
|
339
|
+
chunkIINZWUGK_cjs.Button,
|
|
339
340
|
{
|
|
340
341
|
variant: noKnownAllergies ? "secondary" : "outline",
|
|
341
342
|
size: "sm",
|
|
@@ -344,7 +345,14 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
344
345
|
}
|
|
345
346
|
)
|
|
346
347
|
] }) : groups.map(({ type, label, items }) => /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": label, children: [
|
|
347
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
348
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
349
|
+
"h4",
|
|
350
|
+
{
|
|
351
|
+
"data-slot": "clinical-list-heading",
|
|
352
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
353
|
+
children: label
|
|
354
|
+
}
|
|
355
|
+
),
|
|
348
356
|
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-1", children: items.map((allergy) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
349
357
|
AllergyRow,
|
|
350
358
|
{
|
|
@@ -362,12 +370,12 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
362
370
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Add allergy" }),
|
|
363
371
|
addSearch,
|
|
364
372
|
onAdd && /* @__PURE__ */ jsxRuntime.jsx(
|
|
365
|
-
|
|
373
|
+
chunkIINZWUGK_cjs.Button,
|
|
366
374
|
{
|
|
367
375
|
variant: "outline",
|
|
368
376
|
size: "sm",
|
|
369
377
|
onClick: onAdd,
|
|
370
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
378
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Plus, { size: 12 }),
|
|
371
379
|
className: "h-auto rounded-full px-2.5 py-1 text-xs",
|
|
372
380
|
children: "Add allergy\u2026"
|
|
373
381
|
}
|
|
@@ -425,12 +433,12 @@ function AllergyEditor({
|
|
|
425
433
|
}, []);
|
|
426
434
|
const canSave = draft.allergen.trim().length > 0;
|
|
427
435
|
const isDrug = (draft.type ?? "drug") === "drug";
|
|
428
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
429
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
430
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
431
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
436
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "md", children: [
|
|
437
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalHeader, { children: [
|
|
438
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalTitle, { children: allergy ? "Correct Allergy" : "Add Allergy" }),
|
|
439
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalClose, {})
|
|
432
440
|
] }),
|
|
433
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
441
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalBody, { className: "space-y-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
|
|
434
442
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
435
443
|
chunkG7EQ3JPX_cjs.RadioGroup,
|
|
436
444
|
{
|
|
@@ -448,7 +456,7 @@ function AllergyEditor({
|
|
|
448
456
|
}
|
|
449
457
|
),
|
|
450
458
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
451
|
-
|
|
459
|
+
chunkXEEVDZDK_cjs.Select,
|
|
452
460
|
{
|
|
453
461
|
label: "Type",
|
|
454
462
|
options: TYPE_OPTIONS,
|
|
@@ -526,7 +534,7 @@ function AllergyEditor({
|
|
|
526
534
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
527
535
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-onset", children: "Onset date" }),
|
|
528
536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
529
|
-
|
|
537
|
+
chunkSRA2L3SQ_cjs.DateInput,
|
|
530
538
|
{
|
|
531
539
|
id: "alg-onset",
|
|
532
540
|
value: draft.onsetDate ?? "",
|
|
@@ -547,10 +555,10 @@ function AllergyEditor({
|
|
|
547
555
|
)
|
|
548
556
|
] })
|
|
549
557
|
] }) }),
|
|
550
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
551
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
558
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalFooter, { children: [
|
|
559
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkIINZWUGK_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
|
|
552
560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
553
|
-
|
|
561
|
+
chunkIINZWUGK_cjs.Button,
|
|
554
562
|
{
|
|
555
563
|
onClick: () => {
|
|
556
564
|
onSave({ ...draft, allergen: draft.allergen.trim() });
|
|
@@ -670,12 +678,12 @@ function AllergyManager({
|
|
|
670
678
|
},
|
|
671
679
|
dialog.kind === "correct" ? dialog.allergy.id : "add"
|
|
672
680
|
),
|
|
673
|
-
dialog?.kind === "note" && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
674
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
675
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
676
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
681
|
+
dialog?.kind === "note" && /* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.Modal, { open: true, onOpenChange: (o) => !o && setDialog(null), size: "md", children: [
|
|
682
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalHeader, { children: [
|
|
683
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalTitle, { children: "Allergy Notes" }),
|
|
684
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalClose, {})
|
|
677
685
|
] }),
|
|
678
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
686
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalBody, { className: "space-y-4", children: [
|
|
679
687
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: dialog.allergy.allergen }),
|
|
680
688
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
681
689
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-note-dlg", children: "Note" }),
|
|
@@ -690,10 +698,10 @@ function AllergyManager({
|
|
|
690
698
|
)
|
|
691
699
|
] })
|
|
692
700
|
] }),
|
|
693
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
694
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
701
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalFooter, { children: [
|
|
702
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkIINZWUGK_cjs.Button, { variant: "secondary", onClick: () => setDialog(null), children: "Cancel" }),
|
|
695
703
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
696
|
-
|
|
704
|
+
chunkIINZWUGK_cjs.Button,
|
|
697
705
|
{
|
|
698
706
|
onClick: () => {
|
|
699
707
|
commit(
|
|
@@ -733,24 +741,24 @@ var DEFAULT_ACTIONS2 = [
|
|
|
733
741
|
"remove"
|
|
734
742
|
];
|
|
735
743
|
var ACTION_META2 = {
|
|
736
|
-
open: { label: "Open", icon:
|
|
737
|
-
correct: { label: "Correct", icon:
|
|
738
|
-
refill: { label: "Refill", icon:
|
|
739
|
-
"add-task": { label: "Add Task", icon:
|
|
740
|
-
note: { label: "Notes", icon:
|
|
741
|
-
remove: { label: "Remove", icon:
|
|
742
|
-
"move-up": { label: "Move Up", icon:
|
|
743
|
-
"move-down": { label: "Move Down", icon:
|
|
744
|
+
open: { label: "Open", icon: chunkL7L5S2HO_cjs.ExternalLink },
|
|
745
|
+
correct: { label: "Correct", icon: chunkL7L5S2HO_cjs.Pencil },
|
|
746
|
+
refill: { label: "Refill", icon: chunkL7L5S2HO_cjs.RefreshCw },
|
|
747
|
+
"add-task": { label: "Add Task", icon: chunkL7L5S2HO_cjs.CalendarCheck },
|
|
748
|
+
note: { label: "Notes", icon: chunkL7L5S2HO_cjs.StickyNote },
|
|
749
|
+
remove: { label: "Remove", icon: chunkL7L5S2HO_cjs.Ban },
|
|
750
|
+
"move-up": { label: "Move Up", icon: chunkL7L5S2HO_cjs.ChevronUp },
|
|
751
|
+
"move-down": { label: "Move Down", icon: chunkL7L5S2HO_cjs.ChevronDown }
|
|
744
752
|
};
|
|
745
753
|
var STATUS_BUTTON_META = [
|
|
746
|
-
{ status: "taking", label: "Taking", icon:
|
|
754
|
+
{ status: "taking", label: "Taking", icon: chunkL7L5S2HO_cjs.ThumbsUp },
|
|
747
755
|
{
|
|
748
756
|
status: "taking-noncompliant",
|
|
749
757
|
label: "Taking \u2013 Noncompliant",
|
|
750
|
-
icon:
|
|
758
|
+
icon: chunkL7L5S2HO_cjs.HandMetal
|
|
751
759
|
},
|
|
752
|
-
{ status: "not-taking", label: "Not Taking", icon:
|
|
753
|
-
{ status: "unknown", label: "Unknown", icon:
|
|
760
|
+
{ status: "not-taking", label: "Not Taking", icon: chunkL7L5S2HO_cjs.ThumbsDown },
|
|
761
|
+
{ status: "unknown", label: "Unknown", icon: chunkL7L5S2HO_cjs.HelpCircle }
|
|
754
762
|
];
|
|
755
763
|
function MedicationRow({
|
|
756
764
|
medication,
|
|
@@ -784,6 +792,7 @@ function MedicationRow({
|
|
|
784
792
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
785
793
|
"li",
|
|
786
794
|
{
|
|
795
|
+
"data-slot": "clinical-list-row",
|
|
787
796
|
"data-medication-id": medication.id,
|
|
788
797
|
tabIndex: drag.enabled ? 0 : void 0,
|
|
789
798
|
onKeyDown: drag.enabled ? handleRowKeyDown : void 0,
|
|
@@ -797,7 +806,7 @@ function MedicationRow({
|
|
|
797
806
|
),
|
|
798
807
|
children: [
|
|
799
808
|
drag.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
800
|
-
|
|
809
|
+
chunkL7L5S2HO_cjs.GripVertical,
|
|
801
810
|
{
|
|
802
811
|
size: 14,
|
|
803
812
|
"aria-hidden": true,
|
|
@@ -823,13 +832,13 @@ function MedicationRow({
|
|
|
823
832
|
"Discontinued on: ",
|
|
824
833
|
medication.discontinuedDate
|
|
825
834
|
] }),
|
|
826
|
-
(medication.note || medication.task) && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full flex-col gap-0.5
|
|
835
|
+
(medication.note || medication.task) && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full flex-col gap-0.5 ps-4", children: [
|
|
827
836
|
medication.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-1.5 text-xs", children: [
|
|
828
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
837
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.StickyNote, { size: 12 }),
|
|
829
838
|
medication.note
|
|
830
839
|
] }),
|
|
831
840
|
medication.task && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-1.5 text-xs", children: [
|
|
832
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
841
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.CalendarCheck, { size: 12 }),
|
|
833
842
|
"Task: ",
|
|
834
843
|
medication.task
|
|
835
844
|
] })
|
|
@@ -948,7 +957,14 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
948
957
|
title !== null && /* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-foreground text-sm font-semibold tracking-wide uppercase", children: title }) }),
|
|
949
958
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.CardContent, { className: "space-y-6 px-4 py-4", children: [
|
|
950
959
|
groups.map(({ status, label, items }) => /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": label, children: [
|
|
951
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
960
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
961
|
+
"h4",
|
|
962
|
+
{
|
|
963
|
+
"data-slot": "clinical-list-heading",
|
|
964
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
965
|
+
children: label
|
|
966
|
+
}
|
|
967
|
+
),
|
|
952
968
|
items.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-1", children: items.map((medication) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
953
969
|
MedicationRow,
|
|
954
970
|
{
|
|
@@ -971,24 +987,24 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
971
987
|
addSearch,
|
|
972
988
|
(quickAddOptions?.length || onAddOther) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
973
989
|
quickAddOptions?.map((name) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
974
|
-
|
|
990
|
+
chunkIINZWUGK_cjs.Button,
|
|
975
991
|
{
|
|
976
992
|
variant: "ghost",
|
|
977
993
|
size: "sm",
|
|
978
994
|
onClick: () => onQuickAdd?.(name),
|
|
979
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
995
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Plus, { size: 12 }),
|
|
980
996
|
className: "border-border h-auto rounded-full border px-2.5 py-1 text-xs",
|
|
981
997
|
children: name
|
|
982
998
|
},
|
|
983
999
|
name
|
|
984
1000
|
)),
|
|
985
1001
|
onAddOther && /* @__PURE__ */ jsxRuntime.jsx(
|
|
986
|
-
|
|
1002
|
+
chunkIINZWUGK_cjs.Button,
|
|
987
1003
|
{
|
|
988
1004
|
variant: "outline",
|
|
989
1005
|
size: "sm",
|
|
990
1006
|
onClick: onAddOther,
|
|
991
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1007
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkL7L5S2HO_cjs.Plus, { size: 12 }),
|
|
992
1008
|
className: "h-auto rounded-full px-2.5 py-1 text-xs",
|
|
993
1009
|
children: "Other\u2026"
|
|
994
1010
|
}
|
|
@@ -1146,12 +1162,12 @@ function MedicationEditor({
|
|
|
1146
1162
|
};
|
|
1147
1163
|
const canSave = draft.name.trim().length > 0;
|
|
1148
1164
|
if (!open) return null;
|
|
1149
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1150
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1151
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1152
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1165
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "lg", children: [
|
|
1166
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalHeader, { children: [
|
|
1167
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalTitle, { children: medication ? "Correct Medication" : "Add Medication" }),
|
|
1168
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalClose, {})
|
|
1153
1169
|
] }),
|
|
1154
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1170
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalBody, { className: "space-y-5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
|
|
1155
1171
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-3", "aria-label": "Medication", children: [
|
|
1156
1172
|
effectiveCodeLookup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1157
1173
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-search", children: "Medication" }),
|
|
@@ -1303,7 +1319,7 @@ function MedicationEditor({
|
|
|
1303
1319
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1304
1320
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-start", children: "Start date" }),
|
|
1305
1321
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1306
|
-
|
|
1322
|
+
chunkSRA2L3SQ_cjs.DateInput,
|
|
1307
1323
|
{
|
|
1308
1324
|
id: "med-start",
|
|
1309
1325
|
value: draft.startDate ?? "",
|
|
@@ -1314,7 +1330,7 @@ function MedicationEditor({
|
|
|
1314
1330
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1315
1331
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-end", children: "End date" }),
|
|
1316
1332
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1317
|
-
|
|
1333
|
+
chunkSRA2L3SQ_cjs.DateInput,
|
|
1318
1334
|
{
|
|
1319
1335
|
id: "med-end",
|
|
1320
1336
|
value: draft.endDate ?? "",
|
|
@@ -1348,10 +1364,10 @@ function MedicationEditor({
|
|
|
1348
1364
|
] })
|
|
1349
1365
|
] })
|
|
1350
1366
|
] }) }),
|
|
1351
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1352
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1367
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalFooter, { children: [
|
|
1368
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkIINZWUGK_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
|
|
1353
1369
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1354
|
-
|
|
1370
|
+
chunkIINZWUGK_cjs.Button,
|
|
1355
1371
|
{
|
|
1356
1372
|
onClick: () => {
|
|
1357
1373
|
onSave({ ...draft, name: draft.name.trim() });
|
|
@@ -1386,12 +1402,12 @@ function MedicationDialog({
|
|
|
1386
1402
|
onSave(form);
|
|
1387
1403
|
onClose();
|
|
1388
1404
|
};
|
|
1389
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1390
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1391
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1392
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1405
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.Modal, { open: true, onOpenChange: (open) => !open && onClose(), size: "md", children: [
|
|
1406
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalHeader, { children: [
|
|
1407
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalTitle, { children: dialog.kind === "note" ? "Medication Notes" : "Add Task" }),
|
|
1408
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkL52N6BEN_cjs.ModalClose, {})
|
|
1393
1409
|
] }),
|
|
1394
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1410
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalBody, { className: "space-y-4", children: [
|
|
1395
1411
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: dialog.medication.name }),
|
|
1396
1412
|
dialog.kind === "note" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1397
1413
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-note", children: "Note" }),
|
|
@@ -1418,9 +1434,9 @@ function MedicationDialog({
|
|
|
1418
1434
|
)
|
|
1419
1435
|
] })
|
|
1420
1436
|
] }),
|
|
1421
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1422
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1423
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1437
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkL52N6BEN_cjs.ModalFooter, { children: [
|
|
1438
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkIINZWUGK_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
|
|
1439
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkIINZWUGK_cjs.Button, { onClick: handleSave, children: "Save" })
|
|
1424
1440
|
] })
|
|
1425
1441
|
] });
|
|
1426
1442
|
}
|
|
@@ -1602,5 +1618,5 @@ exports.parseMedicationLabel = parseMedicationLabel;
|
|
|
1602
1618
|
exports.parseSig = parseSig;
|
|
1603
1619
|
exports.toolbarKeyNav = toolbarKeyNav;
|
|
1604
1620
|
exports.useCodeLookupConfig = useCodeLookupConfig;
|
|
1605
|
-
//# sourceMappingURL=chunk-
|
|
1606
|
-
//# sourceMappingURL=chunk-
|
|
1621
|
+
//# sourceMappingURL=chunk-6XDPJWSC.cjs.map
|
|
1622
|
+
//# sourceMappingURL=chunk-6XDPJWSC.cjs.map
|