@mieweb/ui 0.10.0-dev.3 → 0.10.0-dev.30
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 +4 -4
- package/agent/mieweb-ui.instructions.md +90 -1
- package/dist/CsvBlock-FX5YNGNE.cjs +17 -0
- package/dist/{CsvBlock-ROJCKJDP.cjs.map → CsvBlock-FX5YNGNE.cjs.map} +1 -1
- package/dist/CsvBlock-VLMG7GUO.js +8 -0
- package/dist/{CsvBlock-UWPMTLE2.js.map → CsvBlock-VLMG7GUO.js.map} +1 -1
- package/dist/HtmlPreviewBlock-5JE7L3GR.js +8 -0
- package/dist/{HtmlPreviewBlock-ME5U3XNS.js.map → HtmlPreviewBlock-5JE7L3GR.js.map} +1 -1
- package/dist/HtmlPreviewBlock-UO37JQ3K.cjs +17 -0
- package/dist/{HtmlPreviewBlock-DWFN6EUB.cjs.map → HtmlPreviewBlock-UO37JQ3K.cjs.map} +1 -1
- package/dist/Input-yN516s5_.d.cts +3 -0
- package/dist/Input-yN516s5_.d.ts +3 -0
- package/dist/MermaidBlock-3XHFBAMV.js +8 -0
- package/dist/{MermaidBlock-2B6CPD6Y.js.map → MermaidBlock-3XHFBAMV.js.map} +1 -1
- package/dist/MermaidBlock-RZ75RPZA.cjs +17 -0
- package/dist/{MermaidBlock-D2UC5M55.cjs.map → MermaidBlock-RZ75RPZA.cjs.map} +1 -1
- package/dist/SurveyBlock-MUVJ3JUI.js +8 -0
- package/dist/{SurveyBlock-4DO62RBT.js.map → SurveyBlock-MUVJ3JUI.js.map} +1 -1
- package/dist/SurveyBlock-VH47YXZC.cjs +17 -0
- package/dist/{SurveyBlock-4CD4AYMJ.cjs.map → SurveyBlock-VH47YXZC.cjs.map} +1 -1
- package/dist/ag-grid.d.cts +142 -1
- package/dist/ag-grid.d.ts +142 -1
- package/dist/brands/bluehive.cjs +3 -3
- package/dist/brands/bluehive.css +3 -0
- package/dist/brands/bluehive.js +1 -1
- package/dist/brands/index.cjs +14 -14
- package/dist/brands/index.js +4 -4
- package/dist/{chunk-JYZW2PZS.cjs → chunk-254QK722.cjs} +7 -7
- package/dist/chunk-254QK722.cjs.map +1 -0
- package/dist/{chunk-VKELAMAZ.js → chunk-2JICT4A2.js} +27 -11
- package/dist/chunk-2JICT4A2.js.map +1 -0
- package/dist/{chunk-VPWJCJCX.cjs → chunk-35Y4ILCU.cjs} +7 -7
- package/dist/{chunk-VPWJCJCX.cjs.map → chunk-35Y4ILCU.cjs.map} +1 -1
- package/dist/{chunk-G3JX3UAU.cjs → chunk-3KPDQG5O.cjs} +5 -5
- package/dist/{chunk-G3JX3UAU.cjs.map → chunk-3KPDQG5O.cjs.map} +1 -1
- package/dist/{chunk-Y5HFM7LO.js → chunk-3RXZWHCU.js} +4 -4
- package/dist/{chunk-Y5HFM7LO.js.map → chunk-3RXZWHCU.js.map} +1 -1
- package/dist/chunk-3YBS4WUQ.js +52 -0
- package/dist/chunk-3YBS4WUQ.js.map +1 -0
- package/dist/{chunk-WNJRS7Y7.cjs → chunk-3ZWCIPFT.cjs} +4 -2
- package/dist/chunk-3ZWCIPFT.cjs.map +1 -0
- package/dist/chunk-4HC2IBOX.js +258 -0
- package/dist/chunk-4HC2IBOX.js.map +1 -0
- package/dist/chunk-4IS3QCOQ.cjs +453 -0
- package/dist/chunk-4IS3QCOQ.cjs.map +1 -0
- package/dist/chunk-4NCDU5IG.cjs +56 -0
- package/dist/chunk-4NCDU5IG.cjs.map +1 -0
- package/dist/{chunk-E4IBHYJ7.cjs → chunk-6N6LIAUJ.cjs} +9 -9
- package/dist/{chunk-E4IBHYJ7.cjs.map → chunk-6N6LIAUJ.cjs.map} +1 -1
- package/dist/{chunk-3M7TAXNR.js → chunk-6ZPTZTKN.js} +3 -3
- package/dist/{chunk-3M7TAXNR.js.map → chunk-6ZPTZTKN.js.map} +1 -1
- package/dist/{chunk-MWVW4APN.cjs → chunk-7UTBDFFL.cjs} +4 -4
- package/dist/{chunk-MWVW4APN.cjs.map → chunk-7UTBDFFL.cjs.map} +1 -1
- package/dist/{chunk-FJ7YPVKV.js → chunk-7X6R3JIA.js} +3 -3
- package/dist/{chunk-FJ7YPVKV.js.map → chunk-7X6R3JIA.js.map} +1 -1
- package/dist/{chunk-GOALNQZ2.js → chunk-7YO7DNUV.js} +4 -83
- package/dist/chunk-7YO7DNUV.js.map +1 -0
- package/dist/{chunk-P2CA3XGI.js → chunk-7ZV67VZE.js} +4 -4
- package/dist/{chunk-P2CA3XGI.js.map → chunk-7ZV67VZE.js.map} +1 -1
- package/dist/chunk-ADW7ZYCY.cjs +2707 -0
- package/dist/chunk-ADW7ZYCY.cjs.map +1 -0
- package/dist/{chunk-2G75X6TS.cjs → chunk-AHHFFXJR.cjs} +3 -3
- package/dist/{chunk-2G75X6TS.cjs.map → chunk-AHHFFXJR.cjs.map} +1 -1
- package/dist/{chunk-VILW53UZ.js → chunk-BIQ7GSO2.js} +3 -3
- package/dist/{chunk-VILW53UZ.js.map → chunk-BIQ7GSO2.js.map} +1 -1
- package/dist/chunk-BM35CACB.js +148 -0
- package/dist/chunk-BM35CACB.js.map +1 -0
- package/dist/chunk-BNH4SXJB.js +874 -0
- package/dist/chunk-BNH4SXJB.js.map +1 -0
- package/dist/{chunk-XEAT7XJG.cjs → chunk-BUT6MF5K.cjs} +29 -13
- package/dist/chunk-BUT6MF5K.cjs.map +1 -0
- package/dist/{chunk-UAMXCMST.cjs → chunk-CFI3TQMA.cjs} +3 -3
- package/dist/{chunk-UAMXCMST.cjs.map → chunk-CFI3TQMA.cjs.map} +1 -1
- package/dist/{chunk-J5CSLNCN.cjs → chunk-COM7RNZU.cjs} +2 -2
- package/dist/{chunk-J5CSLNCN.cjs.map → chunk-COM7RNZU.cjs.map} +1 -1
- package/dist/{chunk-XI34EGK5.cjs → chunk-CPPUT74P.cjs} +9 -9
- package/dist/{chunk-XI34EGK5.cjs.map → chunk-CPPUT74P.cjs.map} +1 -1
- package/dist/{chunk-ACCAXVOG.js → chunk-CRS2CQWM.js} +134 -56
- package/dist/chunk-CRS2CQWM.js.map +1 -0
- package/dist/{chunk-OE5CKRUC.js → chunk-D22GE27K.js} +4 -4
- package/dist/{chunk-OE5CKRUC.js.map → chunk-D22GE27K.js.map} +1 -1
- package/dist/chunk-DXEPYK3I.cjs +92 -0
- package/dist/chunk-DXEPYK3I.cjs.map +1 -0
- package/dist/{chunk-ZGRCSNPK.js → chunk-E2PBPQGS.js} +4 -4
- package/dist/{chunk-ZGRCSNPK.js.map → chunk-E2PBPQGS.js.map} +1 -1
- package/dist/{chunk-5JJ2DAE4.js → chunk-ENMXHZNE.js} +3 -3
- package/dist/{chunk-5JJ2DAE4.js.map → chunk-ENMXHZNE.js.map} +1 -1
- package/dist/{chunk-XCP454Q6.js → chunk-F4N67NAF.js} +12 -3
- package/dist/chunk-F4N67NAF.js.map +1 -0
- package/dist/chunk-FBCDYTWM.js +385 -0
- package/dist/chunk-FBCDYTWM.js.map +1 -0
- package/dist/{chunk-VU6UTJRM.js → chunk-FIKO4WR6.js} +3 -3
- package/dist/{chunk-VU6UTJRM.js.map → chunk-FIKO4WR6.js.map} +1 -1
- package/dist/{chunk-DEDN5HAG.js → chunk-FZURBQJ2.js} +3 -3
- package/dist/{chunk-DEDN5HAG.js.map → chunk-FZURBQJ2.js.map} +1 -1
- package/dist/{chunk-JHULS3EC.js → chunk-GBUVIGD5.js} +89 -3
- package/dist/chunk-GBUVIGD5.js.map +1 -0
- package/dist/chunk-GU5OS7JJ.cjs +281 -0
- package/dist/chunk-GU5OS7JJ.cjs.map +1 -0
- package/dist/{chunk-V7D3YGUV.js → chunk-GVLNXPJX.js} +4 -4
- package/dist/{chunk-V7D3YGUV.js.map → chunk-GVLNXPJX.js.map} +1 -1
- package/dist/chunk-GVM6DTR5.js +90 -0
- package/dist/chunk-GVM6DTR5.js.map +1 -0
- package/dist/{chunk-SQHMGT4W.js → chunk-GW4RFJZ5.js} +7 -7
- package/dist/chunk-GW4RFJZ5.js.map +1 -0
- package/dist/{chunk-3QEVGSFG.cjs → chunk-GYXUS65N.cjs} +5 -5
- package/dist/{chunk-3QEVGSFG.cjs.map → chunk-GYXUS65N.cjs.map} +1 -1
- package/dist/{chunk-WGPLUCBD.js → chunk-H2IAMSHK.js} +3 -3
- package/dist/{chunk-WGPLUCBD.js.map → chunk-H2IAMSHK.js.map} +1 -1
- package/dist/{chunk-JID7AZTO.cjs → chunk-H3ROMJYI.cjs} +4 -4
- package/dist/{chunk-JID7AZTO.cjs.map → chunk-H3ROMJYI.cjs.map} +1 -1
- package/dist/{chunk-GD7EBGC4.cjs → chunk-HC3NAN55.cjs} +19 -19
- package/dist/{chunk-GD7EBGC4.cjs.map → chunk-HC3NAN55.cjs.map} +1 -1
- package/dist/{chunk-7ZXAQTV4.cjs → chunk-HIZWOAWY.cjs} +8 -8
- package/dist/{chunk-7ZXAQTV4.cjs.map → chunk-HIZWOAWY.cjs.map} +1 -1
- package/dist/{chunk-NV2CWBI2.cjs → chunk-IEY3ZJIT.cjs} +12 -3
- package/dist/chunk-IEY3ZJIT.cjs.map +1 -0
- package/dist/chunk-IT775BYG.js +179 -0
- package/dist/chunk-IT775BYG.js.map +1 -0
- package/dist/chunk-IYWG72DM.js +166 -0
- package/dist/chunk-IYWG72DM.js.map +1 -0
- package/dist/{chunk-2YCERQWC.js → chunk-JBIGSP2T.js} +6 -6
- package/dist/{chunk-2YCERQWC.js.map → chunk-JBIGSP2T.js.map} +1 -1
- package/dist/{chunk-IX6KFB3K.cjs → chunk-JELTRRR5.cjs} +9 -9
- package/dist/{chunk-IX6KFB3K.cjs.map → chunk-JELTRRR5.cjs.map} +1 -1
- package/dist/{chunk-YQDA366U.js → chunk-JHG3ELS2.js} +2 -2
- package/dist/{chunk-YQDA366U.js.map → chunk-JHG3ELS2.js.map} +1 -1
- package/dist/{chunk-WWJIW2IH.cjs → chunk-JSXIB6EJ.cjs} +4 -4
- package/dist/{chunk-WWJIW2IH.cjs.map → chunk-JSXIB6EJ.cjs.map} +1 -1
- package/dist/{chunk-WNM7IZJ7.js → chunk-K34DXMLZ.js} +7 -7
- package/dist/{chunk-WNM7IZJ7.js.map → chunk-K34DXMLZ.js.map} +1 -1
- package/dist/{chunk-FXO5ARBB.cjs → chunk-KDW6BD4O.cjs} +4 -4
- package/dist/{chunk-FXO5ARBB.cjs.map → chunk-KDW6BD4O.cjs.map} +1 -1
- package/dist/{chunk-Z5V7SAZ4.js → chunk-KFEN2SRZ.js} +3 -3
- package/dist/{chunk-Z5V7SAZ4.js.map → chunk-KFEN2SRZ.js.map} +1 -1
- package/dist/{chunk-2QKBTPUC.cjs → chunk-KGKBZN3T.cjs} +8 -8
- package/dist/{chunk-2QKBTPUC.cjs.map → chunk-KGKBZN3T.cjs.map} +1 -1
- package/dist/{chunk-UV2FVNWT.cjs → chunk-LFPJ3OUM.cjs} +5 -5
- package/dist/{chunk-UV2FVNWT.cjs.map → chunk-LFPJ3OUM.cjs.map} +1 -1
- package/dist/{chunk-WNAA6CLE.cjs → chunk-LHBWRMNC.cjs} +94 -2
- package/dist/chunk-LHBWRMNC.cjs.map +1 -0
- package/dist/{chunk-JI244Y7C.js → chunk-MLAWXPRY.js} +190 -5
- package/dist/chunk-MLAWXPRY.js.map +1 -0
- package/dist/chunk-N7C4OEP7.cjs +356 -0
- package/dist/chunk-N7C4OEP7.cjs.map +1 -0
- package/dist/{chunk-WNZAYBVB.cjs → chunk-NKV76R65.cjs} +48 -48
- package/dist/{chunk-WNZAYBVB.cjs.map → chunk-NKV76R65.cjs.map} +1 -1
- package/dist/{chunk-PYJDVWXM.js → chunk-NUB5HRKS.js} +3 -3
- package/dist/{chunk-PYJDVWXM.js.map → chunk-NUB5HRKS.js.map} +1 -1
- package/dist/{chunk-LL6IWKI3.js → chunk-OW3SQJ7P.js} +3 -3
- package/dist/{chunk-LL6IWKI3.js.map → chunk-OW3SQJ7P.js.map} +1 -1
- package/dist/{chunk-5GUOOLPR.cjs → chunk-P5CMZZRZ.cjs} +5 -5
- package/dist/{chunk-5GUOOLPR.cjs.map → chunk-P5CMZZRZ.cjs.map} +1 -1
- package/dist/{chunk-3T7QGLNB.js → chunk-PJEL5ZZV.js} +4 -2
- package/dist/chunk-PJEL5ZZV.js.map +1 -0
- package/dist/{chunk-H4ZXMQQW.js → chunk-QOVJ6Z6R.js} +3 -3
- package/dist/{chunk-H4ZXMQQW.js.map → chunk-QOVJ6Z6R.js.map} +1 -1
- package/dist/{chunk-U42F3HLE.cjs → chunk-QURJVPRH.cjs} +190 -5
- package/dist/chunk-QURJVPRH.cjs.map +1 -0
- package/dist/{chunk-X4XPNTCZ.cjs → chunk-R5Z7AOVU.cjs} +136 -58
- package/dist/chunk-R5Z7AOVU.cjs.map +1 -0
- package/dist/{chunk-TMMVIUUN.js → chunk-R6KPWIGO.js} +4 -4
- package/dist/{chunk-TMMVIUUN.js.map → chunk-R6KPWIGO.js.map} +1 -1
- package/dist/{chunk-22CYDCXA.js → chunk-RM2HPQIC.js} +105 -14
- package/dist/chunk-RM2HPQIC.js.map +1 -0
- package/dist/{chunk-ENKFJJZX.js → chunk-SD7ONW6S.js} +6 -6
- package/dist/{chunk-ENKFJJZX.js.map → chunk-SD7ONW6S.js.map} +1 -1
- package/dist/{chunk-RJ6NTJHC.js → chunk-SRMTRD7F.js} +3 -3
- package/dist/{chunk-RJ6NTJHC.js.map → chunk-SRMTRD7F.js.map} +1 -1
- package/dist/chunk-T4JYUICS.js +2657 -0
- package/dist/chunk-T4JYUICS.js.map +1 -0
- package/dist/{chunk-7ZDPD5ZX.cjs → chunk-T4L7Q5FA.cjs} +7 -7
- package/dist/{chunk-7ZDPD5ZX.cjs.map → chunk-T4L7Q5FA.cjs.map} +1 -1
- package/dist/{chunk-NJ6MY6V5.js → chunk-T5BBZQ66.js} +3 -3
- package/dist/{chunk-NJ6MY6V5.js.map → chunk-T5BBZQ66.js.map} +1 -1
- package/dist/{chunk-2IZLKPUW.js → chunk-THLIL6PY.js} +3 -3
- package/dist/{chunk-2IZLKPUW.js.map → chunk-THLIL6PY.js.map} +1 -1
- package/dist/{chunk-SGFYA22I.cjs → chunk-TJCX4OML.cjs} +8 -8
- package/dist/{chunk-SGFYA22I.cjs.map → chunk-TJCX4OML.cjs.map} +1 -1
- package/dist/{chunk-N6IY47YA.cjs → chunk-TTSSUOEV.cjs} +8 -8
- package/dist/{chunk-N6IY47YA.cjs.map → chunk-TTSSUOEV.cjs.map} +1 -1
- package/dist/{chunk-5MCBWTIF.cjs → chunk-TYE5K5WV.cjs} +4 -4
- package/dist/{chunk-5MCBWTIF.cjs.map → chunk-TYE5K5WV.cjs.map} +1 -1
- package/dist/{chunk-VOKVG3ER.js → chunk-UBSH27C2.js} +4 -4
- package/dist/{chunk-VOKVG3ER.js.map → chunk-UBSH27C2.js.map} +1 -1
- package/dist/{chunk-TAXD5ADA.cjs → chunk-UEDTZYGI.cjs} +3 -3
- package/dist/{chunk-TAXD5ADA.cjs.map → chunk-UEDTZYGI.cjs.map} +1 -1
- package/dist/{chunk-UQ3VVR6A.cjs → chunk-UPWIJC6I.cjs} +3 -3
- package/dist/{chunk-UQ3VVR6A.cjs.map → chunk-UPWIJC6I.cjs.map} +1 -1
- package/dist/{chunk-S7WCHDBO.js → chunk-VCI2Y7ST.js} +3 -3
- package/dist/{chunk-S7WCHDBO.js.map → chunk-VCI2Y7ST.js.map} +1 -1
- package/dist/chunk-VINZZQBD.cjs +323 -0
- package/dist/chunk-VINZZQBD.cjs.map +1 -0
- package/dist/{chunk-OD47TTAW.cjs → chunk-VOQJHSXN.cjs} +9 -9
- package/dist/{chunk-OD47TTAW.cjs.map → chunk-VOQJHSXN.cjs.map} +1 -1
- package/dist/chunk-VPTASZ2O.cjs +171 -0
- package/dist/chunk-VPTASZ2O.cjs.map +1 -0
- package/dist/chunk-WXFGHDTV.cjs +896 -0
- package/dist/chunk-WXFGHDTV.cjs.map +1 -0
- package/dist/{chunk-VNYW4C4J.cjs → chunk-X6A27RGO.cjs} +4 -84
- package/dist/chunk-X6A27RGO.cjs.map +1 -0
- package/dist/chunk-XBTKZCZF.js +333 -0
- package/dist/chunk-XBTKZCZF.js.map +1 -0
- package/dist/chunk-XDIMTPZU.cjs +202 -0
- package/dist/chunk-XDIMTPZU.cjs.map +1 -0
- package/dist/chunk-XDU65GLW.js +21 -0
- package/dist/chunk-XDU65GLW.js.map +1 -0
- package/dist/chunk-XI74P5F2.cjs +424 -0
- package/dist/chunk-XI74P5F2.cjs.map +1 -0
- package/dist/{chunk-WIAQQNFU.cjs → chunk-XRVMYT5G.cjs} +106 -13
- package/dist/chunk-XRVMYT5G.cjs.map +1 -0
- package/dist/chunk-XVW5DPPP.js +429 -0
- package/dist/chunk-XVW5DPPP.js.map +1 -0
- package/dist/chunk-Y4E2WRUR.cjs +188 -0
- package/dist/chunk-Y4E2WRUR.cjs.map +1 -0
- package/dist/chunk-Y4QNLW7W.js +300 -0
- package/dist/chunk-Y4QNLW7W.js.map +1 -0
- package/dist/{chunk-6EN3IQQI.cjs → chunk-YRHBSSQ3.cjs} +6 -6
- package/dist/{chunk-6EN3IQQI.cjs.map → chunk-YRHBSSQ3.cjs.map} +1 -1
- package/dist/{chunk-KZFBQ7GY.js → chunk-YU55JD35.js} +3 -3
- package/dist/{chunk-KZFBQ7GY.js.map → chunk-YU55JD35.js.map} +1 -1
- package/dist/chunk-YW2AKBLS.cjs +23 -0
- package/dist/chunk-YW2AKBLS.cjs.map +1 -0
- package/dist/{chunk-ELPW32ZI.cjs → chunk-ZTMYKAVU.cjs} +45 -45
- package/dist/{chunk-ELPW32ZI.cjs.map → chunk-ZTMYKAVU.cjs.map} +1 -1
- package/dist/{chunk-3QGS6CXD.js → chunk-ZYL4SNOR.js} +3 -3
- package/dist/{chunk-3QGS6CXD.js.map → chunk-ZYL4SNOR.js.map} +1 -1
- package/dist/components/Alert/index.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/AlertDialog/index.cjs +6 -5
- package/dist/components/AlertDialog/index.d.cts +28 -3
- package/dist/components/AlertDialog/index.d.ts +28 -3
- package/dist/components/AlertDialog/index.js +5 -4
- package/dist/components/AudioRecorder/index.d.cts +2 -2
- package/dist/components/AudioRecorder/index.d.ts +2 -2
- package/dist/components/Autocomplete/index.d.cts +8 -2
- package/dist/components/Autocomplete/index.d.ts +8 -2
- package/dist/components/Avatar/index.d.cts +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Badge/index.d.cts +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/BoardView/index.cjs +24 -0
- package/dist/components/BoardView/index.cjs.map +1 -0
- package/dist/components/BoardView/index.d.cts +41 -0
- package/dist/components/BoardView/index.d.ts +41 -0
- package/dist/components/BoardView/index.js +7 -0
- package/dist/components/BoardView/index.js.map +1 -0
- package/dist/components/Button/index.cjs +4 -3
- package/dist/components/Button/index.d.cts +2 -1
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Button/index.js +2 -1
- package/dist/components/CalendarView/index.cjs +23 -0
- package/dist/components/CalendarView/index.cjs.map +1 -0
- package/dist/components/CalendarView/index.d.cts +39 -0
- package/dist/components/CalendarView/index.d.ts +39 -0
- package/dist/components/CalendarView/index.js +10 -0
- package/dist/components/CalendarView/index.js.map +1 -0
- package/dist/components/Card/index.d.cts +3 -3
- package/dist/components/Card/index.d.ts +3 -3
- package/dist/components/Collapsible/index.cjs +6 -6
- package/dist/components/Collapsible/index.js +3 -3
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/CustomizableDashboard/index.cjs +10 -9
- package/dist/components/CustomizableDashboard/index.js +3 -2
- package/dist/components/Dropdown/index.cjs +10 -10
- package/dist/components/Dropdown/index.d.cts +2 -1
- package/dist/components/Dropdown/index.d.ts +2 -1
- package/dist/components/Dropdown/index.js +3 -3
- package/dist/components/FloatingWindow/index.cjs +5 -4
- package/dist/components/FloatingWindow/index.js +3 -2
- package/dist/components/GanttView/index.cjs +20 -0
- package/dist/components/GanttView/index.cjs.map +1 -0
- package/dist/components/GanttView/index.d.cts +36 -0
- package/dist/components/GanttView/index.d.ts +36 -0
- package/dist/components/GanttView/index.js +7 -0
- package/dist/components/GanttView/index.js.map +1 -0
- package/dist/components/GlossaryTooltip/index.cjs +3 -3
- package/dist/components/GlossaryTooltip/index.js +2 -2
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
- package/dist/components/ListView/index.cjs +23 -0
- package/dist/components/ListView/index.cjs.map +1 -0
- package/dist/components/ListView/index.d.cts +124 -0
- package/dist/components/ListView/index.d.ts +124 -0
- package/dist/components/ListView/index.js +10 -0
- package/dist/components/ListView/index.js.map +1 -0
- package/dist/components/Markdown/index.cjs +20 -19
- package/dist/components/Markdown/index.js +8 -7
- package/dist/components/MediaEditor/index.cjs +15 -14
- package/dist/components/MediaEditor/index.d.cts +91 -2
- package/dist/components/MediaEditor/index.d.ts +91 -2
- package/dist/components/MediaEditor/index.js +10 -9
- package/dist/components/MediaFeed/index.cjs +26 -0
- package/dist/components/MediaFeed/index.cjs.map +1 -0
- package/dist/components/MediaFeed/index.d.cts +104 -0
- package/dist/components/MediaFeed/index.d.ts +104 -0
- package/dist/components/MediaFeed/index.js +17 -0
- package/dist/components/MediaFeed/index.js.map +1 -0
- package/dist/components/MediaPlayer/index.cjs +7 -6
- package/dist/components/MediaPlayer/index.d.cts +19 -1
- package/dist/components/MediaPlayer/index.d.ts +19 -1
- package/dist/components/MediaPlayer/index.js +4 -3
- package/dist/components/MegaMenu/index.cjs +6 -5
- package/dist/components/MegaMenu/index.js +3 -2
- package/dist/components/Modal/index.cjs +10 -10
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/Pagination/index.d.cts +1 -1
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/PhoneInput/index.d.cts +36 -3
- package/dist/components/PhoneInput/index.d.ts +36 -3
- package/dist/components/Progress/index.d.cts +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/Q/index.d.cts +2 -2
- package/dist/components/Q/index.d.ts +2 -2
- package/dist/components/QuickAction/index.d.cts +1 -1
- package/dist/components/QuickAction/index.d.ts +1 -1
- package/dist/components/RadialExplorer/index.cjs +5 -4
- package/dist/components/RadialExplorer/index.js +4 -3
- 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 -8
- package/dist/components/RichTextEditor/index.d.cts +7 -2
- package/dist/components/RichTextEditor/index.d.ts +7 -2
- package/dist/components/RichTextEditor/index.js +6 -5
- package/dist/components/ScrollArea/index.d.cts +1 -1
- package/dist/components/ScrollArea/index.d.ts +1 -1
- package/dist/components/SectionSpyNav/index.cjs +4 -3
- package/dist/components/SectionSpyNav/index.js +3 -2
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.d.cts +1 -2
- package/dist/components/Select/index.d.ts +1 -2
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Skeleton/index.d.cts +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Slider/index.d.cts +2 -2
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/SliderCalculator/index.cjs +4 -4
- package/dist/components/SliderCalculator/index.js +2 -2
- package/dist/components/SourceTip/index.cjs +3 -3
- package/dist/components/SourceTip/index.js +2 -2
- package/dist/components/Spinner/index.d.cts +2 -2
- package/dist/components/Spinner/index.d.ts +2 -2
- package/dist/components/SuperChat/index.cjs +1378 -819
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +35 -8
- package/dist/components/SuperChat/index.d.ts +35 -8
- package/dist/components/SuperChat/index.js +1370 -811
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +6 -6
- package/dist/components/SuperChat/plugins/index.d.cts +2 -3
- package/dist/components/SuperChat/plugins/index.d.ts +2 -3
- package/dist/components/SuperChat/plugins/index.js +5 -5
- package/dist/components/Text/index.d.cts +3 -3
- package/dist/components/Text/index.d.ts +3 -3
- package/dist/components/Textarea/index.d.cts +1 -2
- package/dist/components/Textarea/index.d.ts +1 -2
- package/dist/components/ThemeProvider/index.cjs +9 -9
- package/dist/components/ThemeProvider/index.d.cts +3 -1
- package/dist/components/ThemeProvider/index.d.ts +3 -1
- package/dist/components/ThemeProvider/index.js +3 -3
- package/dist/components/Tooltip/index.cjs +3 -3
- package/dist/components/Tooltip/index.js +2 -2
- package/dist/components/TranscriptView/index.d.cts +85 -4
- package/dist/components/TranscriptView/index.d.ts +85 -4
- package/dist/components/ViewSet/index.cjs +24 -0
- package/dist/components/ViewSet/index.cjs.map +1 -0
- package/dist/components/ViewSet/index.d.cts +200 -0
- package/dist/components/ViewSet/index.d.ts +200 -0
- package/dist/components/ViewSet/index.js +15 -0
- package/dist/components/ViewSet/index.js.map +1 -0
- package/dist/components/ViewSwitcher/index.cjs +20 -0
- package/dist/components/ViewSwitcher/index.cjs.map +1 -0
- package/dist/components/ViewSwitcher/index.d.cts +4 -0
- package/dist/components/ViewSwitcher/index.d.ts +4 -0
- package/dist/components/ViewSwitcher/index.js +7 -0
- package/dist/components/ViewSwitcher/index.js.map +1 -0
- package/dist/datavis.cjs +3 -2
- package/dist/datavis.cjs.map +1 -1
- package/dist/datavis.d.cts +167 -13
- package/dist/datavis.d.ts +167 -13
- package/dist/datavis.js +2 -1
- package/dist/datavis.js.map +1 -1
- package/dist/deck.cjs +3360 -0
- package/dist/deck.cjs.map +1 -0
- package/dist/deck.d.cts +712 -0
- package/dist/deck.d.ts +712 -0
- package/dist/deck.js +3316 -0
- package/dist/deck.js.map +1 -0
- package/dist/esheet.cjs +14 -13
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.d.cts +183 -1
- package/dist/esheet.d.ts +183 -1
- package/dist/esheet.js +11 -10
- package/dist/esheet.js.map +1 -1
- package/dist/globe.cjs +2 -2
- package/dist/globe.js +1 -1
- package/dist/hooks/index.cjs +60 -27
- package/dist/hooks/index.d.cts +590 -31
- package/dist/hooks/index.d.ts +590 -31
- package/dist/hooks/index.js +6 -5
- package/dist/icons-wBacj6BW.d.cts +142 -0
- package/dist/icons-wBacj6BW.d.ts +142 -0
- package/dist/index-DoYYWsNc.d.cts +127 -0
- package/dist/index-DoYYWsNc.d.ts +127 -0
- package/dist/index.cjs +1420 -1048
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8796 -482
- package/dist/index.d.ts +8796 -482
- package/dist/index.js +368 -232
- package/dist/index.js.map +1 -1
- package/dist/kerebron.cjs +58 -19
- package/dist/kerebron.cjs.map +1 -1
- package/dist/kerebron.css +115 -0
- package/dist/kerebron.d.cts +37 -0
- package/dist/kerebron.d.ts +37 -0
- package/dist/kerebron.js +58 -19
- package/dist/kerebron.js.map +1 -1
- package/dist/maps.cjs +160 -0
- package/dist/maps.cjs.map +1 -0
- package/dist/maps.d.cts +42 -0
- package/dist/maps.d.ts +42 -0
- package/dist/maps.js +138 -0
- package/dist/maps.js.map +1 -0
- package/dist/motion.cjs +7 -7
- package/dist/motion.d.cts +186 -2
- package/dist/motion.d.ts +186 -2
- package/dist/motion.js +2 -2
- package/dist/q.d.cts +25 -3
- package/dist/q.d.ts +25 -3
- package/dist/styles/effects.css +133 -0
- package/dist/styles/init.css +3 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/templates.cjs +156 -0
- package/dist/templates.cjs.map +1 -0
- package/dist/templates.d.cts +734 -0
- package/dist/templates.d.ts +734 -0
- package/dist/templates.js +11 -0
- package/dist/templates.js.map +1 -0
- package/dist/types-Cx1FHLq2.d.cts +548 -0
- package/dist/types-Cx1FHLq2.d.ts +548 -0
- package/dist/types-DsdZvEI1.d.cts +92 -0
- package/dist/types-DsdZvEI1.d.ts +92 -0
- package/dist/utils/index.d.cts +13 -2
- package/dist/utils/index.d.ts +13 -2
- package/package.json +62 -13
- package/dist/Animated-XmH6k8pZ.d.cts +0 -188
- package/dist/Animated-XmH6k8pZ.d.ts +0 -188
- package/dist/CsvBlock-ROJCKJDP.cjs +0 -16
- package/dist/CsvBlock-UWPMTLE2.js +0 -7
- package/dist/HtmlPreviewBlock-DWFN6EUB.cjs +0 -16
- package/dist/HtmlPreviewBlock-ME5U3XNS.js +0 -7
- package/dist/MedicationEditor-Bp4NLy7y.d.cts +0 -352
- package/dist/MedicationEditor-Bp4NLy7y.d.ts +0 -352
- package/dist/MermaidBlock-2B6CPD6Y.js +0 -7
- package/dist/MermaidBlock-D2UC5M55.cjs +0 -16
- package/dist/SurveyBlock-4CD4AYMJ.cjs +0 -16
- package/dist/SurveyBlock-4DO62RBT.js +0 -7
- package/dist/chunk-22CYDCXA.js.map +0 -1
- package/dist/chunk-3T7QGLNB.js.map +0 -1
- package/dist/chunk-6HFFWEM3.cjs +0 -22
- package/dist/chunk-6HFFWEM3.cjs.map +0 -1
- package/dist/chunk-ACCAXVOG.js.map +0 -1
- package/dist/chunk-GOALNQZ2.js.map +0 -1
- package/dist/chunk-HB7C7NB5.js +0 -20
- package/dist/chunk-HB7C7NB5.js.map +0 -1
- package/dist/chunk-JHULS3EC.js.map +0 -1
- package/dist/chunk-JI244Y7C.js.map +0 -1
- package/dist/chunk-JYZW2PZS.cjs.map +0 -1
- package/dist/chunk-NV2CWBI2.cjs.map +0 -1
- package/dist/chunk-SQHMGT4W.js.map +0 -1
- package/dist/chunk-U42F3HLE.cjs.map +0 -1
- package/dist/chunk-VKELAMAZ.js.map +0 -1
- package/dist/chunk-VNYW4C4J.cjs.map +0 -1
- package/dist/chunk-WIAQQNFU.cjs.map +0 -1
- package/dist/chunk-WNAA6CLE.cjs.map +0 -1
- package/dist/chunk-WNJRS7Y7.cjs.map +0 -1
- package/dist/chunk-X4XPNTCZ.cjs.map +0 -1
- package/dist/chunk-XCP454Q6.js.map +0 -1
- package/dist/chunk-XEAT7XJG.cjs.map +0 -1
- package/dist/html-MdxqSzjD.d.cts +0 -13
- package/dist/html-MdxqSzjD.d.ts +0 -13
- package/dist/orderRows-BUJYgSc7.d.cts +0 -221
- package/dist/orderRows-BUJYgSc7.d.ts +0 -221
- package/dist/transcript-Cg7uSW-C.d.cts +0 -84
- package/dist/transcript-Cg7uSW-C.d.ts +0 -84
- package/dist/types-B97JNRNQ.d.cts +0 -251
- package/dist/types-CnPEwzlp.d.cts +0 -254
- package/dist/types-CnPEwzlp.d.ts +0 -254
- package/dist/types-gZXrfLj6.d.ts +0 -251
- package/dist/useAnchoredPosition-CKwLSQW8.d.cts +0 -76
- package/dist/useAnchoredPosition-CKwLSQW8.d.ts +0 -76
- package/dist/useTheme-B9SWu6ui.d.cts +0 -24
- package/dist/useTheme-B9SWu6ui.d.ts +0 -24
- package/dist/useTranscriptEdits-CGzlemHT.d.cts +0 -182
- package/dist/useTranscriptEdits-D32bLs0l.d.ts +0 -182
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Motion presets — the shared vocabulary of animations.
|
|
5
|
-
*
|
|
6
|
-
* This module is intentionally **free of any `motion` import**. It ships in the
|
|
7
|
-
* main `@mieweb/ui` entry so components can describe *what* they animate
|
|
8
|
-
* without pulling in a runtime to actually do it. The `@mieweb/ui/motion` entry
|
|
9
|
-
* is what turns these descriptions into real animations.
|
|
10
|
-
*
|
|
11
|
-
* Every preset is expressed as an open/closed variant pair so the same
|
|
12
|
-
* definition serves both usages:
|
|
13
|
-
*
|
|
14
|
-
* - **toggle** — the element stays mounted and animates between `open` and
|
|
15
|
-
* `closed` (a drawer sliding in and out).
|
|
16
|
-
* - **presence** — the element mounts and unmounts, entering on `open` and
|
|
17
|
-
* exiting back to `closed` (a modal).
|
|
18
|
-
*/
|
|
19
|
-
/** Named animation recipes shared by components. */
|
|
20
|
-
type MotionPreset = 'drawerStart' | 'overlay' | 'modalContent' | 'sidebarLabel' | 'menu' | 'collapse' | 'toast' | 'fade' | 'pop';
|
|
21
|
-
/**
|
|
22
|
-
* A physical edge, already resolved from any logical (`start`/`end`) position
|
|
23
|
-
* and from writing direction.
|
|
24
|
-
*
|
|
25
|
-
* Presets that move an element along an axis take one of these as `custom`.
|
|
26
|
-
* Resolution is the component's job, not the preset's: only the component knows
|
|
27
|
-
* whether its `end` means right or left, and — for anything anchored — which
|
|
28
|
-
* side it actually landed on after flipping away from a viewport edge.
|
|
29
|
-
*/
|
|
30
|
-
type MotionEdge = 'top' | 'bottom' | 'left' | 'right';
|
|
31
|
-
/**
|
|
32
|
-
* A variant value. Either a plain target object or a function of the element's
|
|
33
|
-
* `custom` value — the latter lets a single preset adapt to context, e.g. a
|
|
34
|
-
* drawer flipping its off-canvas direction in RTL.
|
|
35
|
-
*/
|
|
36
|
-
type MotionVariant = Record<string, unknown> | ((custom: unknown) => Record<string, unknown>);
|
|
37
|
-
interface MotionPresetDefinition {
|
|
38
|
-
variants: {
|
|
39
|
-
open: MotionVariant;
|
|
40
|
-
closed: MotionVariant;
|
|
41
|
-
};
|
|
42
|
-
transition: Record<string, unknown>;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* `custom` contract per preset:
|
|
46
|
-
*
|
|
47
|
-
* - `drawerStart` — `boolean`, whether the document direction is RTL.
|
|
48
|
-
* - `menu`, `toast` — a {@link MotionEdge}, already resolved from logical
|
|
49
|
-
* position and writing direction by the component.
|
|
50
|
-
* - `overlay`, `modalContent`, `sidebarLabel`, `collapse`, `fade`, `pop` —
|
|
51
|
-
* unused.
|
|
52
|
-
*/
|
|
53
|
-
declare const motionPresets: Record<MotionPreset, MotionPresetDefinition>;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Motion runtime — the seam between components and an optional animation library.
|
|
57
|
-
*
|
|
58
|
-
* Components in the main entry never import `motion`. They ask this module for
|
|
59
|
-
* a runtime; if an app has opted in by rendering `<MotionProvider>` from
|
|
60
|
-
* `@mieweb/ui/motion`, they get one and animate. If not, `useMotionRuntime()`
|
|
61
|
-
* returns `null` and they fall back to their existing CSS transitions. That is
|
|
62
|
-
* what keeps `motion` out of the bundle of every app that hasn't asked for it —
|
|
63
|
-
* the opt-in is resolved in the *module graph*, not by a prop.
|
|
64
|
-
*
|
|
65
|
-
* Like `presets`, this module must stay free of any `motion` import.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
interface MotionPresenceProps {
|
|
69
|
-
children?: React.ReactNode;
|
|
70
|
-
/** Suppress the initial mount animation. */
|
|
71
|
-
initial?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Fires once every exiting child has finished and been removed.
|
|
74
|
-
*
|
|
75
|
-
* Needed by anything that guards the DOM while it is open — a focus trap, a
|
|
76
|
-
* scroll lock — because those guards must outlive `open` for as long as the
|
|
77
|
-
* subtree is still on screen. Never fires when no runtime is active, since
|
|
78
|
-
* there is no exit to wait for.
|
|
79
|
-
*/
|
|
80
|
-
onExitComplete?: () => void;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* The capabilities a motion library must supply. Deliberately small: element
|
|
84
|
-
* factories, a presence wrapper, and prop builders. Components depend on this
|
|
85
|
-
* interface, never on a concrete library, so swapping or dropping the library
|
|
86
|
-
* stays a one-file change.
|
|
87
|
-
*/
|
|
88
|
-
interface MotionRuntime {
|
|
89
|
-
/**
|
|
90
|
-
* Whether animations should actually run.
|
|
91
|
-
*
|
|
92
|
-
* A disabled provider still supplies a runtime rather than `null` so that
|
|
93
|
-
* consumers can tell "disabled" apart from "never opted in": `Modal` uses it
|
|
94
|
-
* to decide whether an exit animation will ever report completion, and
|
|
95
|
-
* `AnimatedPresence` keeps its wrapper element stable across the flip.
|
|
96
|
-
* `Animated` itself renders the plain fallback tag whenever this is false —
|
|
97
|
-
* withholding animation props from a mounted motion component corrupts
|
|
98
|
-
* `toggle`-mode elements, so the swap (and the remount it implies) is the
|
|
99
|
-
* correct behaviour. See the render branches in `Animated`.
|
|
100
|
-
*/
|
|
101
|
-
enabled: boolean;
|
|
102
|
-
/** Animated `div`. */
|
|
103
|
-
Div: React.ElementType;
|
|
104
|
-
/** Animated `nav`. */
|
|
105
|
-
Nav: React.ElementType;
|
|
106
|
-
/** Animated `span`, for inline content that must not become a block. */
|
|
107
|
-
Span: React.ElementType;
|
|
108
|
-
/** Enables exit animations for conditionally rendered children. */
|
|
109
|
-
Presence: React.ComponentType<MotionPresenceProps>;
|
|
110
|
-
/**
|
|
111
|
-
* Props for an element that stays mounted and animates between states.
|
|
112
|
-
* Skips the initial animation so a closed drawer doesn't slide out on load.
|
|
113
|
-
*/
|
|
114
|
-
toggle: (preset: MotionPreset, open: boolean, custom?: unknown) => Record<string, unknown>;
|
|
115
|
-
/** Props for an element that mounts and unmounts inside `Presence`. */
|
|
116
|
-
presence: (preset: MotionPreset, custom?: unknown) => Record<string, unknown>;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* The active motion runtime, or `null` when the app has not opted in.
|
|
120
|
-
*
|
|
121
|
-
* Components must treat `null` as the normal case and keep a CSS path that
|
|
122
|
-
* looks good on its own — motion is an enhancement, never a requirement.
|
|
123
|
-
*/
|
|
124
|
-
declare function useMotionRuntime(): MotionRuntime | null;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* `Animated` / `AnimatedPresence` — the ergonomic layer components use.
|
|
128
|
-
*
|
|
129
|
-
* These exist so an individual component never has to branch on whether motion
|
|
130
|
-
* is available. It declares the preset it wants and the CSS classes that stand
|
|
131
|
-
* in when motion is absent; this module picks the element to render.
|
|
132
|
-
*
|
|
133
|
-
* Adding motion to a further component should be a matter of swapping its
|
|
134
|
-
* root `<div>` for an `<Animated>` and naming a preset — no new imports, no
|
|
135
|
-
* new dependency, and no behavior change for apps that have not opted in.
|
|
136
|
-
*/
|
|
137
|
-
|
|
138
|
-
interface AnimatedProps extends React.HTMLAttributes<HTMLElement> {
|
|
139
|
-
/** Intrinsic element to render. */
|
|
140
|
-
as?: 'div' | 'nav' | 'span';
|
|
141
|
-
/** Which shared animation recipe to use. */
|
|
142
|
-
preset: MotionPreset;
|
|
143
|
-
/**
|
|
144
|
-
* - `toggle` — element stays mounted and animates between open and closed.
|
|
145
|
-
* - `presence` — element mounts and unmounts; wrap it in `<AnimatedPresence>`
|
|
146
|
-
* so the exit animation gets a chance to run.
|
|
147
|
-
*/
|
|
148
|
-
mode: 'toggle' | 'presence';
|
|
149
|
-
/** Current state. Only read in `toggle` mode. */
|
|
150
|
-
open?: boolean;
|
|
151
|
-
/** Per-preset context value — see the `custom` contract in `presets.ts`. */
|
|
152
|
-
custom?: unknown;
|
|
153
|
-
/**
|
|
154
|
-
* Classes applied whenever this element is **not** animating — no provider,
|
|
155
|
-
* a disabled provider, or `enabled={false}`. This is where a component's
|
|
156
|
-
* existing CSS transition lives, so the two paths never both try to drive
|
|
157
|
-
* the same property.
|
|
158
|
-
*/
|
|
159
|
-
fallbackClassName?: string;
|
|
160
|
-
/**
|
|
161
|
-
* Set `false` to stop this element animating even when a runtime is active.
|
|
162
|
-
*
|
|
163
|
-
* For states where an animated element would be wrong rather than merely
|
|
164
|
-
* unnecessary. Motion writes a `transform` to hold an element at its resting
|
|
165
|
-
* position, and a transformed ancestor becomes the containing block for any
|
|
166
|
-
* `position: fixed` descendant — so an element that is only sometimes
|
|
167
|
-
* animated should opt out the rest of the time.
|
|
168
|
-
*
|
|
169
|
-
* Flipping this (or the provider's `disabled`) swaps the element back to a
|
|
170
|
-
* plain tag, which **remounts** it — deliberately. See the note on the
|
|
171
|
-
* render branches below.
|
|
172
|
-
*/
|
|
173
|
-
enabled?: boolean;
|
|
174
|
-
}
|
|
175
|
-
declare const Animated: React.ForwardRefExoticComponent<AnimatedProps & React.RefAttributes<HTMLElement>>;
|
|
176
|
-
/**
|
|
177
|
-
* Keeps unmounting children on screen long enough to animate out.
|
|
178
|
-
*
|
|
179
|
-
* Without a runtime this is a pass-through, so children disappear immediately —
|
|
180
|
-
* which is exactly what they do today. Children rendered conditionally inside
|
|
181
|
-
* it need a stable `key`.
|
|
182
|
-
*/
|
|
183
|
-
declare function AnimatedPresence({ children, initial, onExitComplete, }: MotionPresenceProps): React.JSX.Element;
|
|
184
|
-
declare namespace AnimatedPresence {
|
|
185
|
-
var displayName: string;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export { Animated as A, type MotionEdge as M, AnimatedPresence as a, type AnimatedProps as b, type MotionPreset as c, type MotionRuntime as d, type MotionPresenceProps as e, type MotionPresetDefinition as f, type MotionVariant as g, motionPresets as m, useMotionRuntime as u };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkIX6KFB3K_cjs = require('./chunk-IX6KFB3K.cjs');
|
|
4
|
-
require('./chunk-UV2FVNWT.cjs');
|
|
5
|
-
require('./chunk-VNYW4C4J.cjs');
|
|
6
|
-
require('./chunk-S5RVSXDV.cjs');
|
|
7
|
-
require('./chunk-EUAMEVVI.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "CsvBlock", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkIX6KFB3K_cjs.CsvBlock; }
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=CsvBlock-ROJCKJDP.cjs.map
|
|
16
|
-
//# sourceMappingURL=CsvBlock-ROJCKJDP.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { CsvBlock } from './chunk-TMMVIUUN.js';
|
|
2
|
-
import './chunk-H4ZXMQQW.js';
|
|
3
|
-
import './chunk-GOALNQZ2.js';
|
|
4
|
-
import './chunk-TQONQSJO.js';
|
|
5
|
-
import './chunk-PX6F3LHL.js';
|
|
6
|
-
//# sourceMappingURL=CsvBlock-UWPMTLE2.js.map
|
|
7
|
-
//# sourceMappingURL=CsvBlock-UWPMTLE2.js.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk7ZXAQTV4_cjs = require('./chunk-7ZXAQTV4.cjs');
|
|
4
|
-
require('./chunk-UV2FVNWT.cjs');
|
|
5
|
-
require('./chunk-VNYW4C4J.cjs');
|
|
6
|
-
require('./chunk-S5RVSXDV.cjs');
|
|
7
|
-
require('./chunk-EUAMEVVI.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "HtmlPreviewBlock", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunk7ZXAQTV4_cjs.HtmlPreviewBlock; }
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=HtmlPreviewBlock-DWFN6EUB.cjs.map
|
|
16
|
-
//# sourceMappingURL=HtmlPreviewBlock-DWFN6EUB.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { HtmlPreviewBlock } from './chunk-V7D3YGUV.js';
|
|
2
|
-
import './chunk-H4ZXMQQW.js';
|
|
3
|
-
import './chunk-GOALNQZ2.js';
|
|
4
|
-
import './chunk-TQONQSJO.js';
|
|
5
|
-
import './chunk-PX6F3LHL.js';
|
|
6
|
-
//# sourceMappingURL=HtmlPreviewBlock-ME5U3XNS.js.map
|
|
7
|
-
//# sourceMappingURL=HtmlPreviewBlock-ME5U3XNS.js.map
|
|
@@ -1,352 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
/** Allergy category (FHIR AllergyIntolerance.category). */
|
|
4
|
-
type AllergyType = 'drug' | 'food' | 'environmental' | 'other';
|
|
5
|
-
/**
|
|
6
|
-
* Mechanism distinction (FHIR AllergyIntolerance.type): a true
|
|
7
|
-
* immune-mediated allergy vs a non-immune intolerance (e.g. GI upset).
|
|
8
|
-
* The distinction matters clinically — an intolerance mislabeled as an
|
|
9
|
-
* allergy causes unnecessary avoidance of first-line drugs.
|
|
10
|
-
*/
|
|
11
|
-
type AllergyKind = 'allergy' | 'intolerance';
|
|
12
|
-
/** Reaction severity (FHIR reaction.severity). */
|
|
13
|
-
type AllergySeverity = 'mild' | 'moderate' | 'severe';
|
|
14
|
-
/** Coding-system reference for an allergen (RxNorm / FDB / SNOMED …). */
|
|
15
|
-
interface AllergyCode {
|
|
16
|
-
system: string;
|
|
17
|
-
code: string;
|
|
18
|
-
display?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* A single allergy / intolerance.
|
|
22
|
-
*
|
|
23
|
-
* Loosely follows FHIR AllergyIntolerance: allergen (+ optional code),
|
|
24
|
-
* category, reaction, severity, onset, and clinical status.
|
|
25
|
-
*/
|
|
26
|
-
interface Allergy {
|
|
27
|
-
/** Stable unique id */
|
|
28
|
-
id: string;
|
|
29
|
-
/** Allergen display name, e.g. "penicillin" */
|
|
30
|
-
allergen: string;
|
|
31
|
-
/** Category — groups the list */
|
|
32
|
-
type?: AllergyType;
|
|
33
|
-
/** Allergy vs intolerance (FHIR AllergyIntolerance.type; default 'allergy') */
|
|
34
|
-
kind?: AllergyKind;
|
|
35
|
-
/** Reaction description, e.g. "hives" */
|
|
36
|
-
reaction?: string;
|
|
37
|
-
/** Reaction severity — drives the badge color */
|
|
38
|
-
severity?: AllergySeverity;
|
|
39
|
-
/** Onset date (display string) */
|
|
40
|
-
onsetDate?: string;
|
|
41
|
-
/** Free-text note */
|
|
42
|
-
note?: string;
|
|
43
|
-
/** Inactive/resolved entries render struck through */
|
|
44
|
-
inactive?: boolean;
|
|
45
|
-
/** Code reference (RxNorm/FDB for drugs, SNOMED otherwise) */
|
|
46
|
-
code?: AllergyCode;
|
|
47
|
-
}
|
|
48
|
-
/** Row actions revealed on hover. */
|
|
49
|
-
type AllergyAction = 'correct' | 'note' | 'remove';
|
|
50
|
-
interface AllergyListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'title'> {
|
|
51
|
-
/** Allergies to display (controlled) */
|
|
52
|
-
allergies: Allergy[];
|
|
53
|
-
/**
|
|
54
|
-
* No-known-allergies flag (NKA/NKDA). An empty list is ambiguous —
|
|
55
|
-
* "not asked" vs "asked, none" — so this is explicit tri-state:
|
|
56
|
-
* undefined = not recorded, true = no known allergies.
|
|
57
|
-
* Ignored when `allergies` is non-empty.
|
|
58
|
-
*/
|
|
59
|
-
noKnownAllergies?: boolean;
|
|
60
|
-
/** Called when the no-known-allergies affordance is toggled */
|
|
61
|
-
onNoKnownAllergiesChange?: (value: boolean) => void;
|
|
62
|
-
/** Header title (pass null to hide) */
|
|
63
|
-
title?: string | null;
|
|
64
|
-
/** Row actions to show (default: all) */
|
|
65
|
-
actions?: AllergyAction[];
|
|
66
|
-
/** Called when a row action is clicked */
|
|
67
|
-
onAction?: (allergy: Allergy, action: AllergyAction) => void;
|
|
68
|
-
/**
|
|
69
|
-
* Called with the full new id order after a drag/keyboard reorder.
|
|
70
|
-
* Omit to disable reordering. Drops are restricted to the same
|
|
71
|
-
* category group.
|
|
72
|
-
*/
|
|
73
|
-
onReorder?: (allergyIds: string[]) => void;
|
|
74
|
-
/** Custom add UI (e.g. an inline CodeLookup search) */
|
|
75
|
-
addSearch?: React.ReactNode;
|
|
76
|
-
/** Called when the "Add allergy" button is clicked (omit to hide) */
|
|
77
|
-
onAdd?: () => void;
|
|
78
|
-
/** Hide all action affordances (display only) */
|
|
79
|
-
readOnly?: boolean;
|
|
80
|
-
/** Additional CSS classes */
|
|
81
|
-
className?: string;
|
|
82
|
-
/** Test ID for testing */
|
|
83
|
-
'data-testid'?: string;
|
|
84
|
-
}
|
|
85
|
-
declare const ALLERGY_TYPE_LABELS: Record<AllergyType, string>;
|
|
86
|
-
/**
|
|
87
|
-
* Allergy / intolerance list — presentational layer.
|
|
88
|
-
*
|
|
89
|
-
* Controlled: allergies come in via props; every interaction is reported
|
|
90
|
-
* through callbacks. Entries group by category (Drug → Food →
|
|
91
|
-
* Environmental → Other); severity renders as a colored badge; hover (or
|
|
92
|
-
* keyboard-focus) a row for Correct / Notes / Remove.
|
|
93
|
-
*
|
|
94
|
-
* The empty state is explicit tri-state via `noKnownAllergies` (NKA):
|
|
95
|
-
* an empty list shows "Allergy status not recorded" until the No Known
|
|
96
|
-
* Allergies affordance is confirmed — an empty list must never silently
|
|
97
|
-
* read as "no allergies".
|
|
98
|
-
*
|
|
99
|
-
* Pair with `AllergyManager` for the batteries-included experience.
|
|
100
|
-
*/
|
|
101
|
-
declare const AllergyList: React.ForwardRefExoticComponent<AllergyListProps & React.RefAttributes<HTMLDivElement>>;
|
|
102
|
-
|
|
103
|
-
/** Reconciliation status of a medication. */
|
|
104
|
-
type MedicationStatus = 'unreconciled' | 'taking' | 'taking-noncompliant' | 'not-taking' | 'unknown';
|
|
105
|
-
/** Coding-system reference for a medication (RxNorm / FDB / NDC …). */
|
|
106
|
-
interface MedicationCode {
|
|
107
|
-
/** Coding system, e.g. 'RxNORM', 'FDB', 'NDC' */
|
|
108
|
-
system: string;
|
|
109
|
-
/** Code within the system */
|
|
110
|
-
code: string;
|
|
111
|
-
/** Human-readable label the code was selected under */
|
|
112
|
-
display?: string;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* A single medication in the presenting-medications list.
|
|
116
|
-
*
|
|
117
|
-
* Prescription-detail fields follow the NCPDP SCRIPT NewRx
|
|
118
|
-
* `MedicationPrescribed` composite — see the README for the field mapping.
|
|
119
|
-
* All are optional: a bare `{ id, name, status }` renders fine.
|
|
120
|
-
*/
|
|
121
|
-
interface Medication {
|
|
122
|
-
/** Stable unique id */
|
|
123
|
-
id: string;
|
|
124
|
-
/** Display name, e.g. "lisinopril 10 mg tablet" (NCPDP DrugDescription) */
|
|
125
|
-
name: string;
|
|
126
|
-
/** Patient-friendly instructions (NCPDP Sig / Directions) */
|
|
127
|
-
sig?: string;
|
|
128
|
-
/** Current reconciliation status */
|
|
129
|
-
status: MedicationStatus;
|
|
130
|
-
/** Whether the medication's end date has passed */
|
|
131
|
-
expired?: boolean;
|
|
132
|
-
/** Discontinued date (display string) — shown as "Discontinued on: date" */
|
|
133
|
-
discontinuedDate?: string;
|
|
134
|
-
/** Free-text note attached to the medication */
|
|
135
|
-
note?: string;
|
|
136
|
-
/** Follow-up task attached to the medication */
|
|
137
|
-
task?: string;
|
|
138
|
-
/** Code reference (RxNorm / FDB / NDC) */
|
|
139
|
-
code?: MedicationCode;
|
|
140
|
-
/** Strength, e.g. "10 mg" (Strength + StrengthUnitOfMeasure) */
|
|
141
|
-
strength?: string;
|
|
142
|
-
/** Dose form, e.g. "tablet" (DrugCoded/FormCode) */
|
|
143
|
-
doseForm?: string;
|
|
144
|
-
/** Quantity dispensed (Quantity/Value) */
|
|
145
|
-
quantity?: string;
|
|
146
|
-
/** Quantity unit of measure (Quantity/QuantityUnitOfMeasure) */
|
|
147
|
-
quantityUnit?: string;
|
|
148
|
-
/** Days supply (DaysSupply) */
|
|
149
|
-
daysSupply?: string;
|
|
150
|
-
/** Route of administration, e.g. "oral" */
|
|
151
|
-
route?: string;
|
|
152
|
-
/** Administration frequency, e.g. "Twice daily" */
|
|
153
|
-
frequency?: string;
|
|
154
|
-
/** As-needed flag (PRN) */
|
|
155
|
-
prn?: boolean;
|
|
156
|
-
/** Number of refills (NumberOfRefills) */
|
|
157
|
-
refills?: string;
|
|
158
|
-
/** Substitution / DAW: '0' permitted, '1' dispense as written */
|
|
159
|
-
substitution?: '0' | '1';
|
|
160
|
-
/** Start / written date (ISO yyyy-mm-dd) */
|
|
161
|
-
startDate?: string;
|
|
162
|
-
/** End date (ISO yyyy-mm-dd) */
|
|
163
|
-
endDate?: string;
|
|
164
|
-
/** Indication / diagnosis the medication treats */
|
|
165
|
-
indication?: string;
|
|
166
|
-
/** Note to pharmacy (Note) */
|
|
167
|
-
pharmacyNotes?: string;
|
|
168
|
-
}
|
|
169
|
-
/** Non-status row actions revealed on hover. */
|
|
170
|
-
type MedicationAction = 'open' | 'correct' | 'refill' | 'add-task' | 'note' | 'remove' | 'move-up' | 'move-down';
|
|
171
|
-
interface MedicationListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'title'> {
|
|
172
|
-
/** Medications to display (controlled — grouping is derived from status) */
|
|
173
|
-
medications: Medication[];
|
|
174
|
-
/** Header title (pass null to hide) */
|
|
175
|
-
title?: string | null;
|
|
176
|
-
/** Called when a status button is clicked on a row */
|
|
177
|
-
onStatusChange?: (medication: Medication, status: MedicationStatus) => void;
|
|
178
|
-
/** Called when a non-status row action is clicked */
|
|
179
|
-
onAction?: (medication: Medication, action: MedicationAction) => void;
|
|
180
|
-
/**
|
|
181
|
-
* Called with the full ordered list of medication ids after a drag —
|
|
182
|
-
* enables drag & drop reordering within a status group. The list renders in
|
|
183
|
-
* props order; persist the ids and feed them back in.
|
|
184
|
-
*/
|
|
185
|
-
onReorder?: (medicationIds: string[]) => void;
|
|
186
|
-
/** Which non-status actions to show on each row (default: all) */
|
|
187
|
-
actions?: MedicationAction[];
|
|
188
|
-
/** Common medication names for the quick-add list (omit to hide) */
|
|
189
|
-
quickAddOptions?: string[];
|
|
190
|
-
/** Called when a quick-add option is clicked */
|
|
191
|
-
onQuickAdd?: (name: string) => void;
|
|
192
|
-
/** Called when "Other…" is clicked in the quick-add list */
|
|
193
|
-
onAddOther?: () => void;
|
|
194
|
-
/** Hide all action buttons (display only) */
|
|
195
|
-
readOnly?: boolean;
|
|
196
|
-
/** Message shown when the Unreconciled group is empty */
|
|
197
|
-
reconciledMessage?: string;
|
|
198
|
-
/** Message shown when the medication list has no entries at all */
|
|
199
|
-
emptyMessage?: string;
|
|
200
|
-
/**
|
|
201
|
-
* Custom add UI (e.g. an inline CodeLookup search) rendered in the
|
|
202
|
-
* add-medication section, before any quick-add pills. Use for
|
|
203
|
-
* patient-facing entry where suggested medications would be leading.
|
|
204
|
-
*/
|
|
205
|
-
addSearch?: React.ReactNode;
|
|
206
|
-
/** Additional CSS classes */
|
|
207
|
-
className?: string;
|
|
208
|
-
/** Test ID for testing */
|
|
209
|
-
'data-testid'?: string;
|
|
210
|
-
}
|
|
211
|
-
declare const MEDICATION_STATUS_LABELS: Record<MedicationStatus, string>;
|
|
212
|
-
/**
|
|
213
|
-
* Presenting-medications list with medication reconciliation.
|
|
214
|
-
*
|
|
215
|
-
* Controlled component: medications (with their statuses) come in via props;
|
|
216
|
-
* every user interaction is reported through callbacks. Rows are grouped by
|
|
217
|
-
* reconciliation status; hovering (or keyboard-focusing) a row reveals the
|
|
218
|
-
* status buttons and other row actions.
|
|
219
|
-
*
|
|
220
|
-
* @example
|
|
221
|
-
* ```tsx
|
|
222
|
-
* <MedicationList
|
|
223
|
-
* medications={meds}
|
|
224
|
-
* onStatusChange={(med, status) =>
|
|
225
|
-
* setMeds((prev) =>
|
|
226
|
-
* prev.map((m) => (m.id === med.id ? { ...m, status } : m))
|
|
227
|
-
* )
|
|
228
|
-
* }
|
|
229
|
-
* onAction={(med, action) => handleAction(med, action)}
|
|
230
|
-
* />
|
|
231
|
-
* ```
|
|
232
|
-
*/
|
|
233
|
-
declare const MedicationList: React.ForwardRefExoticComponent<MedicationListProps & React.RefAttributes<HTMLDivElement>>;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* MedicationEditor — prescription editor modal for a `Medication`.
|
|
237
|
-
*
|
|
238
|
-
* Captures the NCPDP SCRIPT NewRx `MedicationPrescribed` field set and codes
|
|
239
|
-
* the drug via `CodeLookup` (RxNorm / FDB, offline). Used by
|
|
240
|
-
* `MedicationReconciliation` for both **Correct** (edit) and **Add
|
|
241
|
-
* Medication**, and usable directly:
|
|
242
|
-
*
|
|
243
|
-
* ```tsx
|
|
244
|
-
* <MedicationEditor
|
|
245
|
-
* open={editing !== null}
|
|
246
|
-
* medication={editing ?? undefined}
|
|
247
|
-
* codeLookup={{ indexUrl: '/codify' }}
|
|
248
|
-
* onClose={() => setEditing(null)}
|
|
249
|
-
* onSave={(med) => upsert(med)}
|
|
250
|
-
* />
|
|
251
|
-
* ```
|
|
252
|
-
*
|
|
253
|
-
* NCPDP mapping (NewRx / MedicationPrescribed):
|
|
254
|
-
*
|
|
255
|
-
* | Editor field | NCPDP element |
|
|
256
|
-
* |----------------|----------------------------------------|
|
|
257
|
-
* | Medication | DrugDescription |
|
|
258
|
-
* | Code | DrugCoded (ProductCode / DrugDBCode) |
|
|
259
|
-
* | Strength | Strength + StrengthUnitOfMeasure |
|
|
260
|
-
* | Dose form | DrugCoded/FormCode |
|
|
261
|
-
* | Quantity | Quantity/Value |
|
|
262
|
-
* | Quantity unit | Quantity/QuantityUnitOfMeasure |
|
|
263
|
-
* | Days supply | DaysSupply |
|
|
264
|
-
* | Directions | Sig/SigText |
|
|
265
|
-
* | Refills | NumberOfRefills |
|
|
266
|
-
* | Substitution | Substitutions (0 permitted / 1 DAW) |
|
|
267
|
-
* | Start date | WrittenDate / EffectiveDate |
|
|
268
|
-
* | Indication | Diagnosis/Primary |
|
|
269
|
-
* | Pharmacy notes | Note |
|
|
270
|
-
*/
|
|
271
|
-
|
|
272
|
-
/** Minimal shape of a CodeLookup selection the editor consumes. */
|
|
273
|
-
interface MedicationLookupResult {
|
|
274
|
-
label: string;
|
|
275
|
-
codetype: string;
|
|
276
|
-
fullcode: string;
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* Structural subset of `CodeLookupProps` the editor uses. `CodeLookup`
|
|
280
|
-
* satisfies this — it is injected (not imported) because its Web Worker
|
|
281
|
-
* keeps it out of the library build (see CodeLookup/index.ts).
|
|
282
|
-
*/
|
|
283
|
-
interface MedicationLookupProps {
|
|
284
|
-
indexUrl: string;
|
|
285
|
-
locale?: string;
|
|
286
|
-
domains?: 'med'[];
|
|
287
|
-
bare?: boolean;
|
|
288
|
-
clearOnSelect?: boolean;
|
|
289
|
-
placeholder?: string;
|
|
290
|
-
initialQuery?: string;
|
|
291
|
-
initialSearch?: boolean;
|
|
292
|
-
onSelect?: (result: MedicationLookupResult) => void;
|
|
293
|
-
onFreeText?: (text: string) => void;
|
|
294
|
-
}
|
|
295
|
-
/** CodeLookup wiring for the editor (component injected by the consumer). */
|
|
296
|
-
interface CodeLookupConfig {
|
|
297
|
-
/** The CodeLookup component: `import { CodeLookup } from '…/CodeLookup'` */
|
|
298
|
-
component: React.ComponentType<MedicationLookupProps>;
|
|
299
|
-
/** Base URL of the codify index, e.g. '/codify' */
|
|
300
|
-
indexUrl: string;
|
|
301
|
-
/** Shard locale (default 'en') */
|
|
302
|
-
locale?: string;
|
|
303
|
-
}
|
|
304
|
-
interface MedicationEditorProps {
|
|
305
|
-
/** Whether the editor is open */
|
|
306
|
-
open: boolean;
|
|
307
|
-
/** Medication being edited — omit for "add" mode */
|
|
308
|
-
medication?: Medication;
|
|
309
|
-
/**
|
|
310
|
-
* Codify shard location for RxNorm/FDB coding. Defaults to the ambient
|
|
311
|
-
* `CodeLookupProvider`; pass `false` to force a plain name input.
|
|
312
|
-
*/
|
|
313
|
-
codeLookup?: CodeLookupConfig | false;
|
|
314
|
-
/** Called when the editor is dismissed without saving */
|
|
315
|
-
onClose: () => void;
|
|
316
|
-
/** Called with the complete medication on save */
|
|
317
|
-
onSave: (medication: Medication) => void;
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* Parse strength + dose form out of a coded drug label,
|
|
321
|
-
* e.g. "lisinopril 20 mg tablet" → { strength: '20 mg', doseForm: 'tablet' }.
|
|
322
|
-
*/
|
|
323
|
-
declare function parseMedicationLabel(label: string): {
|
|
324
|
-
strength?: string;
|
|
325
|
-
doseForm?: string;
|
|
326
|
-
};
|
|
327
|
-
/**
|
|
328
|
-
* Derive route / frequency / PRN from free-text sig,
|
|
329
|
-
* e.g. "1 tablet by mouth daily as needed" →
|
|
330
|
-
* { route: 'oral', frequency: 'Once daily', prn: true }.
|
|
331
|
-
*/
|
|
332
|
-
declare function parseSig(sig: string): {
|
|
333
|
-
route?: string;
|
|
334
|
-
frequency?: string;
|
|
335
|
-
prn: boolean;
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* Derive the label-parsed Medication fields — strength, dose form, and the
|
|
339
|
-
* form-implied quantity unit — from a drug display label,
|
|
340
|
-
* e.g. "lisinopril 10 mg tablet" → { strength: '10 mg', doseForm: 'tablet',
|
|
341
|
-
* quantityUnit: 'tablet' }.
|
|
342
|
-
*/
|
|
343
|
-
declare function labelToMedicationFields(label: string): Partial<Medication>;
|
|
344
|
-
/**
|
|
345
|
-
* Derive Medication fields from a CodeLookup pick: name, code reference,
|
|
346
|
-
* and — parsed from the label — strength, dose form, and quantity unit.
|
|
347
|
-
* Used by the editor and by inline add-search flows.
|
|
348
|
-
*/
|
|
349
|
-
declare function lookupToMedicationFields(result: MedicationLookupResult): Partial<Medication>;
|
|
350
|
-
declare function MedicationEditor({ open, medication, codeLookup, onClose, onSave, }: MedicationEditorProps): React.JSX.Element | null;
|
|
351
|
-
|
|
352
|
-
export { type Allergy as A, type CodeLookupConfig as C, type Medication as M, type MedicationAction as a, ALLERGY_TYPE_LABELS as b, type AllergyAction as c, type AllergyCode as d, type AllergyKind as e, AllergyList as f, type AllergyListProps as g, type AllergySeverity as h, type AllergyType as i, MEDICATION_STATUS_LABELS as j, type MedicationCode as k, MedicationEditor as l, type MedicationEditorProps as m, MedicationList as n, type MedicationListProps as o, type MedicationLookupProps as p, type MedicationLookupResult as q, type MedicationStatus as r, labelToMedicationFields as s, lookupToMedicationFields as t, parseMedicationLabel as u, parseSig as v };
|