@mieweb/ui 0.10.0-dev.9 → 0.11.0-dev.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 +4 -4
- package/agent/mieweb-ui.instructions.md +77 -0
- package/dist/CsvBlock-CFXSDPBI.js +9 -0
- package/dist/{CsvBlock-UWPMTLE2.js.map → CsvBlock-CFXSDPBI.js.map} +1 -1
- package/dist/CsvBlock-RGO7JXHJ.cjs +18 -0
- package/dist/{CsvBlock-ROJCKJDP.cjs.map → CsvBlock-RGO7JXHJ.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-VBYXCXVT.cjs +18 -0
- package/dist/{HtmlPreviewBlock-DWFN6EUB.cjs.map → HtmlPreviewBlock-VBYXCXVT.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-Z2GCK325.js +9 -0
- package/dist/{HtmlPreviewBlock-ME5U3XNS.js.map → HtmlPreviewBlock-Z2GCK325.js.map} +1 -1
- package/dist/MermaidBlock-I2R2BQOX.cjs +18 -0
- package/dist/{MermaidBlock-D2UC5M55.cjs.map → MermaidBlock-I2R2BQOX.cjs.map} +1 -1
- package/dist/MermaidBlock-XCAK7IA5.js +9 -0
- package/dist/{MermaidBlock-2B6CPD6Y.js.map → MermaidBlock-XCAK7IA5.js.map} +1 -1
- package/dist/SurveyBlock-KI5JOWCL.js +9 -0
- package/dist/{SurveyBlock-4DO62RBT.js.map → SurveyBlock-KI5JOWCL.js.map} +1 -1
- package/dist/SurveyBlock-UKSGISRT.cjs +18 -0
- package/dist/{SurveyBlock-4CD4AYMJ.cjs.map → SurveyBlock-UKSGISRT.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 +17 -17
- 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-4IS3QCOQ.cjs → chunk-2FZYZ4HT.cjs} +4 -3
- package/dist/chunk-2FZYZ4HT.cjs.map +1 -0
- package/dist/{chunk-VPIYTQCV.cjs → chunk-2I4IRQQG.cjs} +12 -5
- package/dist/chunk-2I4IRQQG.cjs.map +1 -0
- package/dist/{chunk-IT775BYG.js → chunk-2W73UQ3T.js} +4 -3
- package/dist/chunk-2W73UQ3T.js.map +1 -0
- package/dist/chunk-2X54ZLT6.js +874 -0
- package/dist/chunk-2X54ZLT6.js.map +1 -0
- package/dist/{chunk-5MCBWTIF.cjs → chunk-32ZCJOSR.cjs} +4 -4
- package/dist/{chunk-5MCBWTIF.cjs.map → chunk-32ZCJOSR.cjs.map} +1 -1
- package/dist/{chunk-WNJRS7Y7.cjs → chunk-3ZWCIPFT.cjs} +4 -2
- package/dist/chunk-3ZWCIPFT.cjs.map +1 -0
- package/dist/chunk-434L5RYF.js +314 -0
- package/dist/chunk-434L5RYF.js.map +1 -0
- package/dist/{chunk-TPWKM7JH.js → chunk-43K7OQ3E.js} +3 -3
- package/dist/{chunk-TPWKM7JH.js.map → chunk-43K7OQ3E.js.map} +1 -1
- package/dist/chunk-47P5QLX4.cjs +42 -0
- package/dist/chunk-47P5QLX4.cjs.map +1 -0
- package/dist/{chunk-CR2SDI23.cjs → chunk-4QYYWYFD.cjs} +8 -7
- package/dist/chunk-4QYYWYFD.cjs.map +1 -0
- package/dist/{chunk-76TBQDED.js → chunk-4RI3CQGE.js} +6 -6
- package/dist/{chunk-76TBQDED.js.map → chunk-4RI3CQGE.js.map} +1 -1
- package/dist/chunk-4ZB7RSMY.cjs +306 -0
- package/dist/chunk-4ZB7RSMY.cjs.map +1 -0
- package/dist/chunk-522WJIVI.js +99 -0
- package/dist/chunk-522WJIVI.js.map +1 -0
- package/dist/chunk-56VTM4OX.js +261 -0
- package/dist/chunk-56VTM4OX.js.map +1 -0
- package/dist/chunk-5HKZR6UG.js +248 -0
- package/dist/chunk-5HKZR6UG.js.map +1 -0
- package/dist/chunk-6BNZLN4B.cjs +548 -0
- package/dist/chunk-6BNZLN4B.cjs.map +1 -0
- package/dist/chunk-6N7NMOSV.js +233 -0
- package/dist/chunk-6N7NMOSV.js.map +1 -0
- package/dist/chunk-6TTCZY3P.cjs +4 -0
- package/dist/chunk-6TTCZY3P.cjs.map +1 -0
- package/dist/{chunk-YQDA366U.js → chunk-753ENNB6.js} +2 -2
- package/dist/{chunk-YQDA366U.js.map → chunk-753ENNB6.js.map} +1 -1
- package/dist/{chunk-N6IY47YA.cjs → chunk-7C5W744U.cjs} +8 -8
- package/dist/{chunk-N6IY47YA.cjs.map → chunk-7C5W744U.cjs.map} +1 -1
- package/dist/chunk-7E46YDOT.cjs +122 -0
- package/dist/chunk-7E46YDOT.cjs.map +1 -0
- package/dist/chunk-7HUTR6RX.js +178 -0
- package/dist/chunk-7HUTR6RX.js.map +1 -0
- package/dist/chunk-7IRTD4JT.cjs +61 -0
- package/dist/chunk-7IRTD4JT.cjs.map +1 -0
- package/dist/{chunk-KZFBQ7GY.js → chunk-7QW6TU4X.js} +3 -3
- package/dist/{chunk-KZFBQ7GY.js.map → chunk-7QW6TU4X.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-7WJ6MBF5.cjs +47 -0
- package/dist/chunk-7WJ6MBF5.cjs.map +1 -0
- 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-A4W5CSK7.cjs +216 -0
- package/dist/chunk-A4W5CSK7.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-AJPFQF3H.cjs +896 -0
- package/dist/chunk-AJPFQF3H.cjs.map +1 -0
- package/dist/chunk-AMYFRY7K.js +3 -0
- package/dist/chunk-AMYFRY7K.js.map +1 -0
- package/dist/{chunk-VNYW4C4J.cjs → chunk-ANMX7YDL.cjs} +4 -84
- package/dist/chunk-ANMX7YDL.cjs.map +1 -0
- package/dist/chunk-ARIJ5OHW.cjs +139 -0
- package/dist/chunk-ARIJ5OHW.cjs.map +1 -0
- package/dist/{chunk-GD7EBGC4.cjs → chunk-ATRW3J5Z.cjs} +49 -19
- package/dist/chunk-ATRW3J5Z.cjs.map +1 -0
- package/dist/chunk-BJ6ABRSQ.cjs +256 -0
- package/dist/chunk-BJ6ABRSQ.cjs.map +1 -0
- package/dist/{chunk-G3JX3UAU.cjs → chunk-BWSZ2BHJ.cjs} +6 -6
- package/dist/{chunk-G3JX3UAU.cjs.map → chunk-BWSZ2BHJ.cjs.map} +1 -1
- package/dist/chunk-BXRQ6HEP.cjs +4 -0
- package/dist/chunk-BXRQ6HEP.cjs.map +1 -0
- package/dist/chunk-CBBKWRLG.js +213 -0
- package/dist/chunk-CBBKWRLG.js.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-CLQW724U.cjs +271 -0
- package/dist/chunk-CLQW724U.cjs.map +1 -0
- package/dist/chunk-CPDNX3LS.cjs +47 -0
- package/dist/chunk-CPDNX3LS.cjs.map +1 -0
- package/dist/chunk-CVNPNZMX.js +44 -0
- package/dist/chunk-CVNPNZMX.js.map +1 -0
- package/dist/chunk-DGHS5IVD.js +305 -0
- package/dist/chunk-DGHS5IVD.js.map +1 -0
- package/dist/chunk-DHGCLPFZ.js +91 -0
- package/dist/chunk-DHGCLPFZ.js.map +1 -0
- package/dist/chunk-DO2YN46R.cjs +201 -0
- package/dist/chunk-DO2YN46R.cjs.map +1 -0
- package/dist/chunk-DVDT7TX7.js +151 -0
- package/dist/chunk-DVDT7TX7.js.map +1 -0
- package/dist/chunk-DXEPYK3I.cjs +92 -0
- package/dist/chunk-DXEPYK3I.cjs.map +1 -0
- package/dist/chunk-DXFP53KF.js +283 -0
- package/dist/chunk-DXFP53KF.js.map +1 -0
- package/dist/chunk-EACNRR3C.cjs +4 -0
- package/dist/chunk-EACNRR3C.cjs.map +1 -0
- package/dist/{chunk-TVTIGV7Q.js → chunk-EBKE4DLU.js} +18 -11
- package/dist/chunk-EBKE4DLU.js.map +1 -0
- package/dist/{chunk-ASSDGS4F.cjs → chunk-ECYIDXG6.cjs} +254 -4
- package/dist/chunk-ECYIDXG6.cjs.map +1 -0
- package/dist/chunk-EGPDT7SM.js +195 -0
- package/dist/chunk-EGPDT7SM.js.map +1 -0
- package/dist/chunk-EPCUPHEO.js +193 -0
- package/dist/chunk-EPCUPHEO.js.map +1 -0
- package/dist/{chunk-7ZXAQTV4.cjs → chunk-ERACGSDY.cjs} +8 -8
- package/dist/{chunk-7ZXAQTV4.cjs.map → chunk-ERACGSDY.cjs.map} +1 -1
- package/dist/{chunk-XCP454Q6.js → chunk-F4N67NAF.js} +12 -3
- package/dist/chunk-F4N67NAF.js.map +1 -0
- package/dist/{chunk-WGPLUCBD.js → chunk-F6W62K4J.js} +4 -4
- package/dist/{chunk-WGPLUCBD.js.map → chunk-F6W62K4J.js.map} +1 -1
- package/dist/{chunk-XVW5DPPP.js → chunk-F7SZSOB3.js} +4 -3
- package/dist/chunk-F7SZSOB3.js.map +1 -0
- package/dist/chunk-FBCDYTWM.js +385 -0
- package/dist/chunk-FBCDYTWM.js.map +1 -0
- package/dist/{chunk-KQUI4BGS.cjs → chunk-FBN2VHUV.cjs} +68 -61
- package/dist/chunk-FBN2VHUV.cjs.map +1 -0
- package/dist/{chunk-V7D3YGUV.js → chunk-FGLIP6YR.js} +4 -4
- package/dist/{chunk-V7D3YGUV.js.map → chunk-FGLIP6YR.js.map} +1 -1
- 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-OD47TTAW.cjs → chunk-FMEA6WAY.cjs} +9 -9
- package/dist/{chunk-OD47TTAW.cjs.map → chunk-FMEA6WAY.cjs.map} +1 -1
- package/dist/chunk-FSGJXCBG.cjs +318 -0
- package/dist/chunk-FSGJXCBG.cjs.map +1 -0
- package/dist/chunk-FSWHZY3T.cjs +328 -0
- package/dist/chunk-FSWHZY3T.cjs.map +1 -0
- package/dist/chunk-FTEZNCRI.js +29 -0
- package/dist/chunk-FTEZNCRI.js.map +1 -0
- package/dist/{chunk-YVPC65ZJ.cjs → chunk-GF2BE4FB.cjs} +91 -32
- package/dist/chunk-GF2BE4FB.cjs.map +1 -0
- package/dist/{chunk-JEIW7BSV.cjs → chunk-GKDHMNUA.cjs} +2 -52
- package/dist/chunk-GKDHMNUA.cjs.map +1 -0
- package/dist/{chunk-URAQIF67.cjs → chunk-GM32IDVL.cjs} +6 -6
- package/dist/{chunk-URAQIF67.cjs.map → chunk-GM32IDVL.cjs.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-GY5SP4ST.js +3 -0
- package/dist/chunk-GY5SP4ST.js.map +1 -0
- package/dist/{chunk-OCSCBB52.cjs → chunk-GYXSF6BJ.cjs} +10 -10
- package/dist/{chunk-OCSCBB52.cjs.map → chunk-GYXSF6BJ.cjs.map} +1 -1
- package/dist/chunk-H2Y7HZV5.js +3 -0
- package/dist/chunk-H2Y7HZV5.js.map +1 -0
- package/dist/chunk-H3P7POFC.cjs +337 -0
- package/dist/chunk-H3P7POFC.cjs.map +1 -0
- 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-462XSCP3.cjs → chunk-HCIXGFWR.cjs} +4 -4
- package/dist/{chunk-462XSCP3.cjs.map → chunk-HCIXGFWR.cjs.map} +1 -1
- package/dist/{chunk-H4ZXMQQW.js → chunk-HDY7YQFX.js} +3 -3
- package/dist/{chunk-H4ZXMQQW.js.map → chunk-HDY7YQFX.js.map} +1 -1
- package/dist/chunk-HNFFFFYH.cjs +114 -0
- package/dist/chunk-HNFFFFYH.cjs.map +1 -0
- package/dist/chunk-HNXLLDPN.js +25 -0
- package/dist/chunk-HNXLLDPN.js.map +1 -0
- package/dist/{chunk-NV2CWBI2.cjs → chunk-IEY3ZJIT.cjs} +12 -3
- package/dist/chunk-IEY3ZJIT.cjs.map +1 -0
- package/dist/chunk-IEZXJWHJ.cjs +306 -0
- package/dist/chunk-IEZXJWHJ.cjs.map +1 -0
- package/dist/{chunk-3QEVGSFG.cjs → chunk-IGDO62KR.cjs} +5 -5
- package/dist/{chunk-3QEVGSFG.cjs.map → chunk-IGDO62KR.cjs.map} +1 -1
- package/dist/{chunk-N5O47VGS.cjs → chunk-IVGI353O.cjs} +2 -2
- package/dist/{chunk-N5O47VGS.cjs.map → chunk-IVGI353O.cjs.map} +1 -1
- package/dist/chunk-IWRBJHO3.cjs +51 -0
- package/dist/chunk-IWRBJHO3.cjs.map +1 -0
- package/dist/{chunk-2IZLKPUW.js → chunk-J2CKXXOW.js} +27 -6
- package/dist/chunk-J2CKXXOW.js.map +1 -0
- package/dist/{chunk-VILW53UZ.js → chunk-JMAZ2GKT.js} +3 -3
- package/dist/{chunk-VILW53UZ.js.map → chunk-JMAZ2GKT.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-KRU6IGV7.js → chunk-JUJGWUAN.js} +28 -6
- package/dist/chunk-JUJGWUAN.js.map +1 -0
- 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-KIVEYQGA.cjs +319 -0
- package/dist/chunk-KIVEYQGA.cjs.map +1 -0
- package/dist/{chunk-XEAT7XJG.cjs → chunk-KQ6GLYFZ.cjs} +29 -13
- package/dist/chunk-KQ6GLYFZ.cjs.map +1 -0
- package/dist/{chunk-4A3W4TQF.js → chunk-KVTKSPX5.js} +254 -4
- package/dist/chunk-KVTKSPX5.js.map +1 -0
- package/dist/{chunk-6EN3IQQI.cjs → chunk-L5Y52F2E.cjs} +9 -9
- package/dist/chunk-L5Y52F2E.cjs.map +1 -0
- package/dist/chunk-L6K4PRZK.cjs +4 -0
- package/dist/chunk-L6K4PRZK.cjs.map +1 -0
- package/dist/chunk-LAN5VWGC.js +2540 -0
- package/dist/chunk-LAN5VWGC.js.map +1 -0
- package/dist/{chunk-7ZDPD5ZX.cjs → chunk-LC3JL2HB.cjs} +11 -7
- package/dist/chunk-LC3JL2HB.cjs.map +1 -0
- package/dist/chunk-LRAAJRE7.cjs +2707 -0
- package/dist/chunk-LRAAJRE7.cjs.map +1 -0
- package/dist/{chunk-OE5CKRUC.js → chunk-LX323IMT.js} +34 -4
- package/dist/chunk-LX323IMT.js.map +1 -0
- package/dist/chunk-M3VPGJMV.js +283 -0
- package/dist/chunk-M3VPGJMV.js.map +1 -0
- package/dist/{chunk-DVOQ3JNO.js → chunk-ME7EVT6F.js} +23 -9
- package/dist/chunk-ME7EVT6F.js.map +1 -0
- package/dist/{chunk-SQJFBZ42.js → chunk-MUYUFOGL.js} +8 -7
- package/dist/chunk-MUYUFOGL.js.map +1 -0
- package/dist/{chunk-VKELAMAZ.js → chunk-N54FYWG6.js} +27 -11
- package/dist/chunk-N54FYWG6.js.map +1 -0
- package/dist/chunk-N5JDL4VE.js +3 -0
- package/dist/chunk-N5JDL4VE.js.map +1 -0
- package/dist/{chunk-ZPSJ2UV6.cjs → chunk-NAH65KPK.cjs} +8 -8
- package/dist/{chunk-ZPSJ2UV6.cjs.map → chunk-NAH65KPK.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-WNZAYBVB.cjs → chunk-O6BJMVGT.cjs} +48 -48
- package/dist/{chunk-WNZAYBVB.cjs.map → chunk-O6BJMVGT.cjs.map} +1 -1
- package/dist/{chunk-SVSHA7XV.js → chunk-O6XDA3SI.js} +31 -33
- package/dist/chunk-O6XDA3SI.js.map +1 -0
- package/dist/chunk-OIF34LEN.cjs +425 -0
- package/dist/chunk-OIF34LEN.cjs.map +1 -0
- package/dist/{chunk-J5CSLNCN.cjs → chunk-OODVC2UD.cjs} +2 -2
- package/dist/{chunk-J5CSLNCN.cjs.map → chunk-OODVC2UD.cjs.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-ZGRCSNPK.js → chunk-OYUIEJPN.js} +17 -8
- package/dist/chunk-OYUIEJPN.js.map +1 -0
- package/dist/chunk-P22YCUVM.cjs +4 -0
- package/dist/chunk-P22YCUVM.cjs.map +1 -0
- package/dist/{chunk-CEQJGUAS.js → chunk-P4E3K3ND.js} +12 -5
- package/dist/chunk-P4E3K3ND.js.map +1 -0
- package/dist/{chunk-TMMVIUUN.js → chunk-P7D7BYFE.js} +4 -4
- package/dist/{chunk-TMMVIUUN.js.map → chunk-P7D7BYFE.js.map} +1 -1
- package/dist/{chunk-SGFYA22I.cjs → chunk-PINIBEIU.cjs} +21 -12
- package/dist/chunk-PINIBEIU.cjs.map +1 -0
- package/dist/{chunk-3T7QGLNB.js → chunk-PJEL5ZZV.js} +4 -2
- package/dist/chunk-PJEL5ZZV.js.map +1 -0
- package/dist/chunk-PWXDRFJL.cjs +218 -0
- package/dist/chunk-PWXDRFJL.cjs.map +1 -0
- package/dist/{chunk-XZNN3S3S.cjs → chunk-PYI2IWNX.cjs} +4 -4
- package/dist/{chunk-XZNN3S3S.cjs.map → chunk-PYI2IWNX.cjs.map} +1 -1
- package/dist/chunk-Q3YVLO52.cjs +174 -0
- package/dist/chunk-Q3YVLO52.cjs.map +1 -0
- package/dist/{chunk-MNILXWVY.js → chunk-QJ2L5RU6.js} +7 -7
- package/dist/{chunk-MNILXWVY.js.map → chunk-QJ2L5RU6.js.map} +1 -1
- package/dist/{chunk-X4LBUPJO.cjs → chunk-QX6AAVDE.cjs} +31 -33
- package/dist/chunk-QX6AAVDE.cjs.map +1 -0
- package/dist/{chunk-UV2FVNWT.cjs → chunk-RIUQP2QS.cjs} +5 -5
- package/dist/{chunk-UV2FVNWT.cjs.map → chunk-RIUQP2QS.cjs.map} +1 -1
- package/dist/chunk-RLVYWUXG.js +115 -0
- package/dist/chunk-RLVYWUXG.js.map +1 -0
- package/dist/{chunk-HACNIFO3.js → chunk-RM2HPQIC.js} +77 -14
- package/dist/chunk-RM2HPQIC.js.map +1 -0
- package/dist/{chunk-DEDN5HAG.js → chunk-RSJGTWLM.js} +3 -3
- package/dist/{chunk-DEDN5HAG.js.map → chunk-RSJGTWLM.js.map} +1 -1
- package/dist/{chunk-G4D6CLBT.js → chunk-RZSSQ7AT.js} +3 -3
- package/dist/{chunk-G4D6CLBT.js.map → chunk-RZSSQ7AT.js.map} +1 -1
- package/dist/{chunk-ENKFJJZX.js → chunk-S2JZL4JC.js} +6 -6
- package/dist/{chunk-ENKFJJZX.js.map → chunk-S2JZL4JC.js.map} +1 -1
- package/dist/{chunk-P7UMS4E6.cjs → chunk-S7AMZ4RD.cjs} +23 -9
- package/dist/chunk-S7AMZ4RD.cjs.map +1 -0
- package/dist/{chunk-VROIMIHB.cjs → chunk-SHBCUXFS.cjs} +28 -6
- package/dist/chunk-SHBCUXFS.cjs.map +1 -0
- 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-IX6KFB3K.cjs → chunk-SW2E7XKY.cjs} +9 -9
- package/dist/{chunk-IX6KFB3K.cjs.map → chunk-SW2E7XKY.cjs.map} +1 -1
- package/dist/chunk-SZSRGUVO.js +402 -0
- package/dist/chunk-SZSRGUVO.js.map +1 -0
- 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-HZ4MBUC3.js → chunk-TI3TQQ7F.js} +4 -53
- package/dist/chunk-TI3TQQ7F.js.map +1 -0
- package/dist/{chunk-ACCAXVOG.js → chunk-TJ4GWQPM.js} +137 -57
- package/dist/chunk-TJ4GWQPM.js.map +1 -0
- package/dist/{chunk-5JJ2DAE4.js → chunk-TWQSMUE6.js} +7 -3
- package/dist/chunk-TWQSMUE6.js.map +1 -0
- package/dist/{chunk-X4XPNTCZ.cjs → chunk-U2RS574O.cjs} +139 -59
- package/dist/chunk-U2RS574O.cjs.map +1 -0
- 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-3QGS6CXD.js → chunk-UJDWFDKE.js} +3 -3
- package/dist/{chunk-3QGS6CXD.js.map → chunk-UJDWFDKE.js.map} +1 -1
- package/dist/{chunk-DZ5HFLRC.js → chunk-UNFDIBKJ.js} +3 -3
- package/dist/{chunk-DZ5HFLRC.js.map → chunk-UNFDIBKJ.js.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-UTIPENPW.cjs +286 -0
- package/dist/chunk-UTIPENPW.cjs.map +1 -0
- 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-Y5HFM7LO.js → chunk-VOEXGDL5.js} +6 -6
- package/dist/chunk-VOEXGDL5.js.map +1 -0
- package/dist/{chunk-P2CA3XGI.js → chunk-VSRO4PAI.js} +23 -5
- package/dist/chunk-VSRO4PAI.js.map +1 -0
- package/dist/{chunk-L6MDULYB.js → chunk-VU3ZMJBN.js} +2 -2
- package/dist/{chunk-L6MDULYB.js.map → chunk-VU3ZMJBN.js.map} +1 -1
- package/dist/{chunk-XI34EGK5.cjs → chunk-VV2U36T6.cjs} +9 -9
- package/dist/{chunk-XI34EGK5.cjs.map → chunk-VV2U36T6.cjs.map} +1 -1
- package/dist/{chunk-VPWJCJCX.cjs → chunk-VXW7D5LR.cjs} +26 -8
- package/dist/chunk-VXW7D5LR.cjs.map +1 -0
- package/dist/{chunk-GOALNQZ2.js → chunk-WFBUBT54.js} +4 -83
- package/dist/chunk-WFBUBT54.js.map +1 -0
- package/dist/chunk-WQHBMZSC.js +295 -0
- package/dist/chunk-WQHBMZSC.js.map +1 -0
- package/dist/chunk-WSMBIXPU.cjs +2573 -0
- package/dist/chunk-WSMBIXPU.cjs.map +1 -0
- package/dist/chunk-X5JOEZVR.js +525 -0
- package/dist/chunk-X5JOEZVR.js.map +1 -0
- package/dist/chunk-XBAAHOCP.js +3 -0
- package/dist/chunk-XBAAHOCP.js.map +1 -0
- package/dist/chunk-XDU65GLW.js +21 -0
- package/dist/chunk-XDU65GLW.js.map +1 -0
- package/dist/{chunk-5GUOOLPR.cjs → chunk-XHK5VZ4L.cjs} +29 -8
- package/dist/chunk-XHK5VZ4L.cjs.map +1 -0
- package/dist/chunk-XI74P5F2.cjs +424 -0
- package/dist/chunk-XI74P5F2.cjs.map +1 -0
- package/dist/chunk-XNPDZANN.cjs +238 -0
- package/dist/chunk-XNPDZANN.cjs.map +1 -0
- package/dist/{chunk-XDIMTPZU.cjs → chunk-XPWFIDZM.cjs} +4 -3
- package/dist/chunk-XPWFIDZM.cjs.map +1 -0
- package/dist/{chunk-FS4VZUFV.cjs → chunk-XRVMYT5G.cjs} +77 -13
- package/dist/chunk-XRVMYT5G.cjs.map +1 -0
- package/dist/chunk-XXA4NZUC.js +3 -0
- package/dist/chunk-XXA4NZUC.js.map +1 -0
- package/dist/chunk-Y424YL55.js +59 -0
- package/dist/chunk-Y424YL55.js.map +1 -0
- package/dist/chunk-Y7ZJZLJY.js +2657 -0
- package/dist/chunk-Y7ZJZLJY.js.map +1 -0
- package/dist/chunk-YG7BR76Y.js +281 -0
- package/dist/chunk-YG7BR76Y.js.map +1 -0
- package/dist/chunk-YGS2TRMP.js +38 -0
- package/dist/chunk-YGS2TRMP.js.map +1 -0
- package/dist/chunk-YUMOM3KE.js +167 -0
- package/dist/chunk-YUMOM3KE.js.map +1 -0
- package/dist/chunk-YVKBXNPK.js +41 -0
- package/dist/chunk-YVKBXNPK.js.map +1 -0
- package/dist/chunk-YW2AKBLS.cjs +23 -0
- package/dist/chunk-YW2AKBLS.cjs.map +1 -0
- package/dist/{chunk-3M7TAXNR.js → chunk-YZCM7CXK.js} +3 -3
- package/dist/{chunk-3M7TAXNR.js.map → chunk-YZCM7CXK.js.map} +1 -1
- package/dist/chunk-Z3WMDVMR.cjs +46 -0
- package/dist/chunk-Z3WMDVMR.cjs.map +1 -0
- package/dist/chunk-ZNUMOJOI.cjs +4 -0
- package/dist/chunk-ZNUMOJOI.cjs.map +1 -0
- package/dist/components/Accordion/index.cjs +2 -2
- package/dist/components/Accordion/index.d.cts +6 -0
- package/dist/components/Accordion/index.d.ts +6 -0
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/ActionPlan/index.cjs +34 -0
- package/dist/components/ActionPlan/index.cjs.map +1 -0
- package/dist/components/ActionPlan/index.d.cts +65 -0
- package/dist/components/ActionPlan/index.d.ts +65 -0
- package/dist/components/ActionPlan/index.js +21 -0
- package/dist/components/ActionPlan/index.js.map +1 -0
- package/dist/components/ActivityFeed/index.cjs +31 -0
- package/dist/components/ActivityFeed/index.cjs.map +1 -0
- package/dist/components/ActivityFeed/index.d.cts +99 -0
- package/dist/components/ActivityFeed/index.d.ts +99 -0
- package/dist/components/ActivityFeed/index.js +18 -0
- package/dist/components/ActivityFeed/index.js.map +1 -0
- package/dist/components/Alert/index.d.cts +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/AlertDialog/index.cjs +19 -5
- package/dist/components/AlertDialog/index.d.cts +94 -16
- package/dist/components/AlertDialog/index.d.ts +94 -16
- package/dist/components/AlertDialog/index.js +6 -4
- package/dist/components/AssociationList/index.cjs +29 -0
- package/dist/components/AssociationList/index.cjs.map +1 -0
- package/dist/components/AssociationList/index.d.cts +50 -0
- package/dist/components/AssociationList/index.d.ts +50 -0
- package/dist/components/AssociationList/index.js +16 -0
- package/dist/components/AssociationList/index.js.map +1 -0
- 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.cjs +9 -7
- package/dist/components/Avatar/index.d.cts +46 -15
- package/dist/components/Avatar/index.d.ts +46 -15
- package/dist/components/Avatar/index.js +3 -1
- package/dist/components/AvatarGroup/index.cjs +20 -0
- package/dist/components/AvatarGroup/index.cjs.map +1 -0
- package/dist/components/AvatarGroup/index.d.cts +57 -0
- package/dist/components/AvatarGroup/index.d.ts +57 -0
- package/dist/components/AvatarGroup/index.js +7 -0
- package/dist/components/AvatarGroup/index.js.map +1 -0
- package/dist/components/Badge/index.cjs +3 -3
- package/dist/components/Badge/index.d.cts +16 -2
- package/dist/components/Badge/index.d.ts +16 -2
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/BoardView/index.cjs +5 -4
- package/dist/components/BoardView/index.d.cts +2 -3
- package/dist/components/BoardView/index.d.ts +2 -3
- package/dist/components/BoardView/index.js +2 -1
- package/dist/components/Button/index.cjs +5 -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 +3 -1
- package/dist/components/CalendarHeatmap/index.cjs +18 -0
- package/dist/components/CalendarHeatmap/index.cjs.map +1 -0
- package/dist/components/CalendarHeatmap/index.d.cts +47 -0
- package/dist/components/CalendarHeatmap/index.d.ts +47 -0
- package/dist/components/CalendarHeatmap/index.js +5 -0
- package/dist/components/CalendarHeatmap/index.js.map +1 -0
- package/dist/components/CalendarView/index.cjs +6 -4
- package/dist/components/CalendarView/index.d.cts +1 -2
- package/dist/components/CalendarView/index.d.ts +1 -2
- package/dist/components/CalendarView/index.js +4 -2
- package/dist/components/Card/index.d.cts +3 -3
- package/dist/components/Card/index.d.ts +3 -3
- package/dist/components/ClampedText/index.cjs +3 -2
- package/dist/components/ClampedText/index.js +2 -1
- package/dist/components/CollabStatus/index.cjs +6 -4
- package/dist/components/CollabStatus/index.d.cts +11 -0
- package/dist/components/CollabStatus/index.d.ts +11 -0
- package/dist/components/CollabStatus/index.js +3 -1
- package/dist/components/Collapsible/index.cjs +6 -6
- package/dist/components/Collapsible/index.d.cts +6 -0
- package/dist/components/Collapsible/index.d.ts +6 -0
- package/dist/components/Collapsible/index.js +3 -3
- package/dist/components/CompletenessMeter/index.cjs +23 -0
- package/dist/components/CompletenessMeter/index.cjs.map +1 -0
- package/dist/components/CompletenessMeter/index.d.cts +52 -0
- package/dist/components/CompletenessMeter/index.d.ts +52 -0
- package/dist/components/CompletenessMeter/index.js +6 -0
- package/dist/components/CompletenessMeter/index.js.map +1 -0
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/CustomizableDashboard/index.cjs +12 -10
- package/dist/components/CustomizableDashboard/index.js +5 -3
- package/dist/components/DateInput/index.d.cts +36 -4
- package/dist/components/DateInput/index.d.ts +36 -4
- package/dist/components/Dropdown/index.cjs +12 -10
- package/dist/components/Dropdown/index.d.cts +6 -4
- package/dist/components/Dropdown/index.d.ts +6 -4
- package/dist/components/Dropdown/index.js +5 -3
- package/dist/components/EmailEditor/index.cjs +68 -0
- package/dist/components/EmailEditor/index.cjs.map +1 -0
- package/dist/components/EmailEditor/index.d.cts +347 -0
- package/dist/components/EmailEditor/index.d.ts +347 -0
- package/dist/components/EmailEditor/index.js +27 -0
- package/dist/components/EmailEditor/index.js.map +1 -0
- package/dist/components/FieldHistory/index.cjs +34 -0
- package/dist/components/FieldHistory/index.cjs.map +1 -0
- package/dist/components/FieldHistory/index.d.cts +66 -0
- package/dist/components/FieldHistory/index.d.ts +66 -0
- package/dist/components/FieldHistory/index.js +21 -0
- package/dist/components/FieldHistory/index.js.map +1 -0
- package/dist/components/FloatingWindow/index.cjs +6 -4
- package/dist/components/FloatingWindow/index.js +4 -2
- package/dist/components/GanttView/index.d.cts +1 -2
- package/dist/components/GanttView/index.d.ts +1 -2
- package/dist/components/GlossaryTooltip/index.cjs +3 -3
- package/dist/components/GlossaryTooltip/index.js +2 -2
- package/dist/components/InlineEdit/index.cjs +20 -0
- package/dist/components/InlineEdit/index.cjs.map +1 -0
- package/dist/components/InlineEdit/index.d.cts +56 -0
- package/dist/components/InlineEdit/index.d.ts +56 -0
- package/dist/components/InlineEdit/index.js +7 -0
- package/dist/components/InlineEdit/index.js.map +1 -0
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
- package/dist/components/ListView/index.cjs +6 -4
- package/dist/components/ListView/index.d.cts +91 -4
- package/dist/components/ListView/index.d.ts +91 -4
- package/dist/components/ListView/index.js +4 -2
- package/dist/components/LogoUploader/index.cjs +18 -0
- package/dist/components/LogoUploader/index.cjs.map +1 -0
- package/dist/components/LogoUploader/index.d.cts +49 -0
- package/dist/components/LogoUploader/index.d.ts +49 -0
- package/dist/components/LogoUploader/index.js +5 -0
- package/dist/components/LogoUploader/index.js.map +1 -0
- package/dist/components/Markdown/index.cjs +21 -19
- package/dist/components/Markdown/index.js +9 -7
- package/dist/components/MediaEditor/index.cjs +16 -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 +11 -9
- package/dist/components/MediaFeed/index.cjs +29 -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 +20 -0
- package/dist/components/MediaFeed/index.js.map +1 -0
- package/dist/components/MediaPlayer/index.cjs +8 -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 +5 -3
- package/dist/components/MegaMenu/index.cjs +7 -5
- package/dist/components/MegaMenu/index.js +4 -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/PhiMask/index.cjs +18 -0
- package/dist/components/PhiMask/index.cjs.map +1 -0
- package/dist/components/PhiMask/index.d.cts +45 -0
- package/dist/components/PhiMask/index.d.ts +45 -0
- package/dist/components/PhiMask/index.js +5 -0
- package/dist/components/PhiMask/index.js.map +1 -0
- package/dist/components/Progress/index.cjs +6 -6
- package/dist/components/Progress/index.d.cts +8 -2
- package/dist/components/Progress/index.d.ts +8 -2
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/PropertyList/index.cjs +25 -0
- package/dist/components/PropertyList/index.cjs.map +1 -0
- package/dist/components/PropertyList/index.d.cts +87 -0
- package/dist/components/PropertyList/index.d.ts +87 -0
- package/dist/components/PropertyList/index.js +12 -0
- package/dist/components/PropertyList/index.js.map +1 -0
- 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 +7 -5
- package/dist/components/RadialExplorer/index.js +6 -4
- package/dist/components/Rating/index.cjs +28 -0
- package/dist/components/Rating/index.cjs.map +1 -0
- package/dist/components/Rating/index.d.cts +85 -0
- package/dist/components/Rating/index.d.ts +85 -0
- package/dist/components/Rating/index.js +7 -0
- package/dist/components/Rating/index.js.map +1 -0
- package/dist/components/RecordButton/index.d.cts +1 -1
- package/dist/components/RecordButton/index.d.ts +1 -1
- package/dist/components/RecordHeader/index.cjs +30 -0
- package/dist/components/RecordHeader/index.cjs.map +1 -0
- package/dist/components/RecordHeader/index.d.cts +96 -0
- package/dist/components/RecordHeader/index.d.ts +96 -0
- package/dist/components/RecordHeader/index.js +17 -0
- package/dist/components/RecordHeader/index.js.map +1 -0
- package/dist/components/RecordLayout/index.cjs +22 -0
- package/dist/components/RecordLayout/index.cjs.map +1 -0
- package/dist/components/RecordLayout/index.d.cts +40 -0
- package/dist/components/RecordLayout/index.d.ts +40 -0
- package/dist/components/RecordLayout/index.js +9 -0
- package/dist/components/RecordLayout/index.js.map +1 -0
- package/dist/components/RichTextEditor/index.cjs +12 -8
- package/dist/components/RichTextEditor/index.d.cts +12 -2
- package/dist/components/RichTextEditor/index.d.ts +12 -2
- package/dist/components/RichTextEditor/index.js +9 -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 +5 -3
- package/dist/components/SectionSpyNav/index.js +4 -2
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.d.cts +2 -2
- package/dist/components/Select/index.d.ts +2 -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 +735 -322
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +126 -8
- package/dist/components/SuperChat/index.d.ts +126 -8
- package/dist/components/SuperChat/index.js +721 -308
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +8 -6
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- 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 +7 -5
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/components/Tabs/index.cjs +10 -7
- package/dist/components/Tabs/index.d.cts +12 -1
- package/dist/components/Tabs/index.d.ts +12 -1
- package/dist/components/Tabs/index.js +4 -1
- package/dist/components/TagEditor/index.cjs +22 -0
- package/dist/components/TagEditor/index.cjs.map +1 -0
- package/dist/components/TagEditor/index.d.cts +46 -0
- package/dist/components/TagEditor/index.d.ts +46 -0
- package/dist/components/TagEditor/index.js +9 -0
- package/dist/components/TagEditor/index.js.map +1 -0
- 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 +2 -2
- package/dist/components/Textarea/index.d.ts +2 -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/UserPicker/index.cjs +24 -0
- package/dist/components/UserPicker/index.cjs.map +1 -0
- package/dist/components/UserPicker/index.d.cts +60 -0
- package/dist/components/UserPicker/index.d.ts +60 -0
- package/dist/components/UserPicker/index.js +11 -0
- package/dist/components/UserPicker/index.js.map +1 -0
- package/dist/components/VideoCard/index.cjs +4 -4
- package/dist/components/VideoCard/index.js +2 -2
- package/dist/components/ViewSet/index.cjs +10 -7
- package/dist/components/ViewSet/index.d.cts +120 -8
- package/dist/components/ViewSet/index.d.ts +120 -8
- package/dist/components/ViewSet/index.js +9 -6
- package/dist/components/ViewSwitcher/index.cjs +4 -3
- package/dist/components/ViewSwitcher/index.d.cts +1 -2
- package/dist/components/ViewSwitcher/index.d.ts +1 -2
- package/dist/components/ViewSwitcher/index.js +2 -1
- package/dist/components/YearTimeline/index.cjs +5 -5
- package/dist/components/YearTimeline/index.js +1 -1
- package/dist/datavis.cjs +6 -4
- 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 +4 -2
- package/dist/datavis.js.map +1 -1
- package/dist/deck.cjs +3374 -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 +3330 -0
- package/dist/deck.js.map +1 -0
- package/dist/esheet.cjs +20 -16
- 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 +17 -13
- package/dist/esheet.js.map +1 -1
- package/dist/globe.cjs +2 -2
- package/dist/globe.js +1 -1
- package/dist/{hey-buddy-INNUFFJJ.cjs → hey-buddy-5WOBYZRJ.cjs} +22 -11
- package/dist/hey-buddy-5WOBYZRJ.cjs.map +1 -0
- package/dist/{hey-buddy-V6FC5UKB.js → hey-buddy-AHUHCDBC.js} +22 -11
- package/dist/hey-buddy-AHUHCDBC.js.map +1 -0
- package/dist/hooks/index.cjs +88 -33
- package/dist/hooks/index.d.cts +592 -36
- package/dist/hooks/index.d.ts +592 -36
- package/dist/hooks/index.js +9 -6
- package/dist/icons-wBacj6BW.d.cts +142 -0
- package/dist/icons-wBacj6BW.d.ts +142 -0
- package/dist/index.cjs +2056 -1349
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10401 -637
- package/dist/index.d.ts +10401 -637
- package/dist/index.js +674 -352
- package/dist/index.js.map +1 -1
- package/dist/kerebron.css +115 -0
- 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/org-chart.cjs +1303 -0
- package/dist/org-chart.cjs.map +1 -0
- package/dist/org-chart.d.cts +164 -0
- package/dist/org-chart.d.ts +164 -0
- package/dist/org-chart.js +1278 -0
- package/dist/org-chart.js.map +1 -0
- 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 +22 -3
- 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-CbWXIKbe.d.cts → types-CDeBNZiE.d.cts} +1 -28
- package/dist/{types-CbWXIKbe.d.ts → types-CDeBNZiE.d.ts} +1 -28
- 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.cjs +9 -9
- package/dist/utils/index.d.cts +13 -2
- package/dist/utils/index.d.ts +13 -2
- package/dist/utils/index.js +1 -1
- package/package.json +79 -15
- 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-2IZLKPUW.js.map +0 -1
- package/dist/chunk-3T7QGLNB.js.map +0 -1
- package/dist/chunk-4A3W4TQF.js.map +0 -1
- package/dist/chunk-4IS3QCOQ.cjs.map +0 -1
- package/dist/chunk-5GUOOLPR.cjs.map +0 -1
- package/dist/chunk-5JJ2DAE4.js.map +0 -1
- package/dist/chunk-6EN3IQQI.cjs.map +0 -1
- package/dist/chunk-6HFFWEM3.cjs +0 -22
- package/dist/chunk-6HFFWEM3.cjs.map +0 -1
- package/dist/chunk-7ZDPD5ZX.cjs.map +0 -1
- package/dist/chunk-7ZVTLTJF.js +0 -109
- package/dist/chunk-7ZVTLTJF.js.map +0 -1
- package/dist/chunk-ACCAXVOG.js.map +0 -1
- package/dist/chunk-AR7AKDM2.cjs +0 -143
- package/dist/chunk-AR7AKDM2.cjs.map +0 -1
- package/dist/chunk-ASSDGS4F.cjs.map +0 -1
- package/dist/chunk-AWJBOND5.js +0 -130
- package/dist/chunk-AWJBOND5.js.map +0 -1
- package/dist/chunk-BMSG4NBH.js +0 -56
- package/dist/chunk-BMSG4NBH.js.map +0 -1
- package/dist/chunk-CEQJGUAS.js.map +0 -1
- package/dist/chunk-CR2SDI23.cjs.map +0 -1
- package/dist/chunk-DVOQ3JNO.js.map +0 -1
- package/dist/chunk-E4IBHYJ7.cjs +0 -80
- package/dist/chunk-E4IBHYJ7.cjs.map +0 -1
- package/dist/chunk-FS4VZUFV.cjs.map +0 -1
- package/dist/chunk-GD7EBGC4.cjs.map +0 -1
- package/dist/chunk-GOALNQZ2.js.map +0 -1
- package/dist/chunk-HACNIFO3.js.map +0 -1
- package/dist/chunk-HB7C7NB5.js +0 -20
- package/dist/chunk-HB7C7NB5.js.map +0 -1
- package/dist/chunk-HZ4MBUC3.js.map +0 -1
- package/dist/chunk-IT775BYG.js.map +0 -1
- package/dist/chunk-JEIW7BSV.cjs.map +0 -1
- package/dist/chunk-JYZW2PZS.cjs.map +0 -1
- package/dist/chunk-KQUI4BGS.cjs.map +0 -1
- package/dist/chunk-KRU6IGV7.js.map +0 -1
- package/dist/chunk-NV2CWBI2.cjs.map +0 -1
- package/dist/chunk-OE5CKRUC.js.map +0 -1
- package/dist/chunk-P2CA3XGI.js.map +0 -1
- package/dist/chunk-P7UMS4E6.cjs.map +0 -1
- package/dist/chunk-SGFYA22I.cjs.map +0 -1
- package/dist/chunk-SQHMGT4W.js.map +0 -1
- package/dist/chunk-SQJFBZ42.js.map +0 -1
- package/dist/chunk-SVSHA7XV.js.map +0 -1
- package/dist/chunk-TVTIGV7Q.js.map +0 -1
- package/dist/chunk-VKELAMAZ.js.map +0 -1
- package/dist/chunk-VNYW4C4J.cjs.map +0 -1
- package/dist/chunk-VOKVG3ER.js +0 -78
- package/dist/chunk-VOKVG3ER.js.map +0 -1
- package/dist/chunk-VPIYTQCV.cjs.map +0 -1
- package/dist/chunk-VPWJCJCX.cjs.map +0 -1
- package/dist/chunk-VROIMIHB.cjs.map +0 -1
- package/dist/chunk-WNJRS7Y7.cjs.map +0 -1
- package/dist/chunk-X4LBUPJO.cjs.map +0 -1
- package/dist/chunk-X4XPNTCZ.cjs.map +0 -1
- package/dist/chunk-XCP454Q6.js.map +0 -1
- package/dist/chunk-XDIMTPZU.cjs.map +0 -1
- package/dist/chunk-XEAT7XJG.cjs.map +0 -1
- package/dist/chunk-XVW5DPPP.js.map +0 -1
- package/dist/chunk-Y5HFM7LO.js.map +0 -1
- package/dist/chunk-YVL3XATO.cjs +0 -79
- package/dist/chunk-YVL3XATO.cjs.map +0 -1
- package/dist/chunk-YVPC65ZJ.cjs.map +0 -1
- package/dist/chunk-ZGRCSNPK.js.map +0 -1
- package/dist/hey-buddy-INNUFFJJ.cjs.map +0 -1
- package/dist/hey-buddy-V6FC5UKB.js.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
package/dist/hooks/index.d.cts
CHANGED
|
@@ -1,45 +1,28 @@
|
|
|
1
|
-
export { R as ResolvedTheme, T as Theme, u as useTheme } from '../useTheme-B9SWu6ui.cjs';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { RefObject } from 'react';
|
|
4
|
-
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-CKwLSQW8.cjs';
|
|
5
|
-
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-CGzlemHT.cjs';
|
|
6
|
-
import '../transcript-Cg7uSW-C.cjs';
|
|
7
3
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
selectors?: string;
|
|
11
|
-
/** Explicit list of element IDs to observe (alternative to selectors) */
|
|
12
|
-
ids?: string[];
|
|
13
|
-
/** IntersectionObserver root margin (default: '0px 0px -60% 0px') */
|
|
14
|
-
rootMargin?: string;
|
|
15
|
-
/** IntersectionObserver threshold (default: 0) */
|
|
16
|
-
threshold?: number | number[];
|
|
17
|
-
/** Scroll container element ref. Defaults to document viewport. */
|
|
18
|
-
root?: RefObject<HTMLElement | null>;
|
|
19
|
-
/** Whether the hook is active (default: true) */
|
|
20
|
-
enabled?: boolean;
|
|
21
|
-
}
|
|
22
|
-
interface UseScrollSpyReturn {
|
|
23
|
-
/** The ID of the currently active (in-view) element */
|
|
24
|
-
activeId: string | null;
|
|
25
|
-
}
|
|
4
|
+
type Theme = 'light' | 'dark' | 'system';
|
|
5
|
+
type ResolvedTheme = 'light' | 'dark';
|
|
26
6
|
/**
|
|
27
|
-
*
|
|
28
|
-
* Pairs naturally with `TableOfContents` to highlight the active heading.
|
|
7
|
+
* Hook for managing theme state with localStorage persistence and system preference support.
|
|
29
8
|
*
|
|
30
9
|
* @example
|
|
31
10
|
* ```tsx
|
|
32
|
-
* function
|
|
33
|
-
* const {
|
|
11
|
+
* function ThemeToggle() {
|
|
12
|
+
* const { theme, setTheme, resolvedTheme } = useTheme();
|
|
34
13
|
* return (
|
|
35
|
-
* <
|
|
36
|
-
*
|
|
37
|
-
* </
|
|
14
|
+
* <button onClick={() => setTheme(resolvedTheme === 'dark' ? 'light' : 'dark')}>
|
|
15
|
+
* {resolvedTheme === 'dark' ? '☀️' : '🌙'}
|
|
16
|
+
* </button>
|
|
38
17
|
* );
|
|
39
18
|
* }
|
|
40
19
|
* ```
|
|
41
20
|
*/
|
|
42
|
-
declare function
|
|
21
|
+
declare function useTheme(): {
|
|
22
|
+
theme: Theme;
|
|
23
|
+
setTheme: (newTheme: Theme) => void;
|
|
24
|
+
resolvedTheme: ResolvedTheme;
|
|
25
|
+
};
|
|
43
26
|
|
|
44
27
|
/** Read the current dark-mode state from the document root. */
|
|
45
28
|
declare function isDarkMode(): boolean;
|
|
@@ -64,6 +47,18 @@ declare const RTL_LOCALES: readonly ["ar", "he", "fa", "ur"];
|
|
|
64
47
|
* right-to-left script.
|
|
65
48
|
*/
|
|
66
49
|
declare function isRtlLocale(locale: string): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Non-hook check for event handlers: true when the element currently renders
|
|
52
|
+
* right-to-left. Use inside `onKeyDown` to invert ArrowLeft/ArrowRight so
|
|
53
|
+
* horizontal arrows follow the *visual* direction:
|
|
54
|
+
*
|
|
55
|
+
* ```ts
|
|
56
|
+
* const rtl = isRtl(event.currentTarget);
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* Prefer `useDirection()` when the direction drives rendering.
|
|
60
|
+
*/
|
|
61
|
+
declare function isRtl(element?: Element | null): boolean;
|
|
67
62
|
/**
|
|
68
63
|
* Hook returning the effective text direction (`ltr` | `rtl`) inherited from
|
|
69
64
|
* the nearest `dir` attribute — zero setup for consumers who set
|
|
@@ -125,6 +120,79 @@ declare function usePrefersReducedMotion(): boolean;
|
|
|
125
120
|
*/
|
|
126
121
|
declare function useClickOutside<T extends HTMLElement>(ref: RefObject<T | null> | ReadonlyArray<RefObject<HTMLElement | null>>, callback: () => void, enabled?: boolean): void;
|
|
127
122
|
|
|
123
|
+
type AnchoredPlacement = 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top' | 'right-start' | 'right-end' | 'right' | 'left-start' | 'left-end' | 'left';
|
|
124
|
+
type AnchoredSide = 'top' | 'bottom' | 'left' | 'right';
|
|
125
|
+
interface UseAnchoredPositionOptions {
|
|
126
|
+
/** Whether the floating element is currently shown */
|
|
127
|
+
open: boolean;
|
|
128
|
+
/** Preferred placement relative to the anchor (flips when out of space) */
|
|
129
|
+
placement?: AnchoredPlacement;
|
|
130
|
+
/** Gap between the anchor and the floating element, in px */
|
|
131
|
+
offset?: number;
|
|
132
|
+
/** Force the floating element to the anchor's width */
|
|
133
|
+
matchWidth?: boolean;
|
|
134
|
+
/** Use the anchor's width as the floating element's minimum width */
|
|
135
|
+
matchMinWidth?: boolean;
|
|
136
|
+
/** Minimum distance from the viewport edges, in px */
|
|
137
|
+
viewportPadding?: number;
|
|
138
|
+
/** Flip to the opposite vertical side when the preferred side is cramped */
|
|
139
|
+
allowFlip?: boolean;
|
|
140
|
+
/** Optional element whose visible rectangle also constrains the popup */
|
|
141
|
+
boundaryRef?: React.RefObject<HTMLElement | null>;
|
|
142
|
+
/**
|
|
143
|
+
* Additional cap on the floating element's height, in px. The height is
|
|
144
|
+
* always clamped to the available viewport space; this only lowers that
|
|
145
|
+
* limit further (omitting it does not remove the viewport constraint).
|
|
146
|
+
*/
|
|
147
|
+
maxHeight?: number;
|
|
148
|
+
}
|
|
149
|
+
interface UseAnchoredPositionReturn<TAnchor extends HTMLElement, TFloating extends HTMLElement> {
|
|
150
|
+
/** Attach to the element the popup is anchored to (trigger/input) */
|
|
151
|
+
anchorRef: React.RefObject<TAnchor | null>;
|
|
152
|
+
/** Attach to the floating element (menu/listbox/panel) */
|
|
153
|
+
floatingRef: React.RefObject<TFloating | null>;
|
|
154
|
+
/** Fixed-position style for the floating element — spread onto it */
|
|
155
|
+
style: React.CSSProperties;
|
|
156
|
+
/**
|
|
157
|
+
* Side of the anchor in use after flipping.
|
|
158
|
+
*
|
|
159
|
+
* Widened from `'top' | 'bottom'` to {@link AnchoredSide} in 0.8.0 alongside
|
|
160
|
+
* the new horizontal (`left*` / `right*`) placements — consumers that
|
|
161
|
+
* annotate this as `'top' | 'bottom'` need to widen their annotation.
|
|
162
|
+
*/
|
|
163
|
+
actualSide: AnchoredSide;
|
|
164
|
+
/** Recompute the position (e.g. after async content loads) */
|
|
165
|
+
update: () => void;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Positions a floating element (dropdown menu, autocomplete listbox,
|
|
169
|
+
* date-picker calendar, …) relative to an anchor using `position: fixed`,
|
|
170
|
+
* so it is never clipped by `overflow: hidden` ancestors.
|
|
171
|
+
*
|
|
172
|
+
* Render the floating element through `createPortal(..., document.body)`
|
|
173
|
+
* and spread the returned `style` onto it. The hook:
|
|
174
|
+
* - flips vertically when there is not enough space on the preferred side
|
|
175
|
+
* - clamps horizontally to the viewport or optional boundary element
|
|
176
|
+
* - constrains `maxHeight` to the available space (add `overflow-auto`)
|
|
177
|
+
* - tracks scroll, resize, and anchor/content size changes while open
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* ```tsx
|
|
181
|
+
* const { anchorRef, floatingRef, style } = useAnchoredPosition<
|
|
182
|
+
* HTMLButtonElement,
|
|
183
|
+
* HTMLDivElement
|
|
184
|
+
* >({ open, placement: 'bottom-start' });
|
|
185
|
+
*
|
|
186
|
+
* <button ref={anchorRef} onClick={() => setOpen(!open)}>Open</button>
|
|
187
|
+
* {open &&
|
|
188
|
+
* createPortal(
|
|
189
|
+
* <div ref={floatingRef} style={style} className="overflow-auto …">…</div>,
|
|
190
|
+
* document.body
|
|
191
|
+
* )}
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
declare function useAnchoredPosition<TAnchor extends HTMLElement = HTMLElement, TFloating extends HTMLElement = HTMLElement>({ open, placement, offset, matchWidth, matchMinWidth, viewportPadding, allowFlip, boundaryRef, maxHeight, }: UseAnchoredPositionOptions): UseAnchoredPositionReturn<TAnchor, TFloating>;
|
|
195
|
+
|
|
128
196
|
/**
|
|
129
197
|
* Hook that triggers a callback when the Escape key is pressed.
|
|
130
198
|
* Useful for closing modals, dropdowns, and other overlays.
|
|
@@ -164,6 +232,113 @@ declare function useEscapeKey(callback: () => void, enabled?: boolean): void;
|
|
|
164
232
|
*/
|
|
165
233
|
declare function useFocusTrap<T extends HTMLElement>(enabled?: boolean): RefObject<T | null>;
|
|
166
234
|
|
|
235
|
+
/** CSS custom properties written to `<html>` while the hook is mounted. */
|
|
236
|
+
declare const KEYBOARD_INSET_VAR = "--mieweb-keyboard-inset";
|
|
237
|
+
declare const VISUAL_VIEWPORT_HEIGHT_VAR = "--mieweb-visual-viewport-height";
|
|
238
|
+
declare const VISUAL_VIEWPORT_OFFSET_TOP_VAR = "--mieweb-visual-viewport-offset-top";
|
|
239
|
+
/** Boolean attribute set on `<html>` while an on-screen keyboard is open. */
|
|
240
|
+
declare const KEYBOARD_OPEN_ATTRIBUTE = "data-keyboard-open";
|
|
241
|
+
/** Attribute on `<html>` naming the active {@link KeyboardInsetSource}. */
|
|
242
|
+
declare const KEYBOARD_SOURCE_ATTRIBUTE = "data-keyboard-source";
|
|
243
|
+
/**
|
|
244
|
+
* Where keyboard metrics come from.
|
|
245
|
+
*
|
|
246
|
+
* - `'visual-viewport'` — the Visual Viewport API. Works in any browser, but
|
|
247
|
+
* iOS only reports the keyboard once its slide-in animation has finished.
|
|
248
|
+
* - `'native'` — `keyboardWillShow` / `keyboardWillHide` window events with a
|
|
249
|
+
* `keyboardHeight` property, as fired by `cordova-plugin-ionic-keyboard` and
|
|
250
|
+
* Capacitor's Keyboard plugin. They arrive *before* the keyboard animates,
|
|
251
|
+
* so layout can move in step with it.
|
|
252
|
+
*/
|
|
253
|
+
type KeyboardInsetSource = 'visual-viewport' | 'native';
|
|
254
|
+
interface KeyboardInsetState {
|
|
255
|
+
/** Pixels of the layout viewport covered by the on-screen keyboard. */
|
|
256
|
+
keyboardInset: number;
|
|
257
|
+
/** Whether an on-screen keyboard currently covers part of the page. */
|
|
258
|
+
isKeyboardOpen: boolean;
|
|
259
|
+
}
|
|
260
|
+
interface UseKeyboardInsetOptions {
|
|
261
|
+
/** Track the keyboard; `false` stops tracking and clears the CSS variables. @default true */
|
|
262
|
+
enabled?: boolean;
|
|
263
|
+
/** Where keyboard metrics come from. @default 'visual-viewport' */
|
|
264
|
+
source?: KeyboardInsetSource;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Tracks the on-screen keyboard and publishes it on `<html>`.
|
|
268
|
+
*
|
|
269
|
+
* ### `source: 'native'` (Cordova / Capacitor apps)
|
|
270
|
+
*
|
|
271
|
+
* Listens for the native keyboard plugin's `keyboardWillShow` /
|
|
272
|
+
* `keyboardWillHide` window events. Configure the plugin so the WebView is
|
|
273
|
+
* neither resized nor panned (for `cordova-plugin-ionic-keyboard`:
|
|
274
|
+
* `KeyboardResize=false`), keep the app shell at full height, and move only
|
|
275
|
+
* the composer dock by `--mieweb-keyboard-inset` with a short transition
|
|
276
|
+
* (~250ms) so it rides up with the keyboard. Only `--mieweb-keyboard-inset`,
|
|
277
|
+
* `data-keyboard-open` and `data-keyboard-source` are published; the
|
|
278
|
+
* visual-viewport variables stay unset.
|
|
279
|
+
*
|
|
280
|
+
* ### `source: 'visual-viewport'` (browsers, default)
|
|
281
|
+
*
|
|
282
|
+
* Uses the Visual Viewport API.
|
|
283
|
+
*
|
|
284
|
+
* iOS Safari and WKWebView (Cordova) ignore
|
|
285
|
+
* `interactive-widget=resizes-content`, and `dvh` does not shrink for the
|
|
286
|
+
* keyboard: the page keeps its full height and iOS pans the visual viewport
|
|
287
|
+
* to reveal the focused input, pushing headers off-screen. This hook
|
|
288
|
+
* measures what is actually visible and publishes it on `<html>` so an app
|
|
289
|
+
* shell can follow the visible area instead:
|
|
290
|
+
*
|
|
291
|
+
* - `--mieweb-keyboard-inset` — keyboard height in px (0 when closed)
|
|
292
|
+
* - `--mieweb-visual-viewport-height` — visible height in px
|
|
293
|
+
* - `--mieweb-visual-viewport-offset-top` — how far iOS panned the page
|
|
294
|
+
* - `data-keyboard-open` — present while the keyboard is open
|
|
295
|
+
*
|
|
296
|
+
* On browsers that already resize the layout for the keyboard (Chrome on
|
|
297
|
+
* Android with `interactive-widget=resizes-content`) the inset stays 0 and
|
|
298
|
+
* the variables simply mirror the layout viewport.
|
|
299
|
+
*
|
|
300
|
+
* iOS reports the visual viewport only after the keyboard has finished
|
|
301
|
+
* animating, so a shell sized this way snaps into place once the keyboard
|
|
302
|
+
* lands. Prefer `source: 'native'` wherever a native keyboard plugin exists.
|
|
303
|
+
*
|
|
304
|
+
* Mount it once, near the app root.
|
|
305
|
+
*
|
|
306
|
+
* @example
|
|
307
|
+
* ```tsx
|
|
308
|
+
* function AppShell({ children }) {
|
|
309
|
+
* useKeyboardInset();
|
|
310
|
+
* return (
|
|
311
|
+
* <div
|
|
312
|
+
* style={{
|
|
313
|
+
* height: 'var(--mieweb-visual-viewport-height, 100dvh)',
|
|
314
|
+
* transform: 'translateY(var(--mieweb-visual-viewport-offset-top, 0px))',
|
|
315
|
+
* }}
|
|
316
|
+
* >
|
|
317
|
+
* {children}
|
|
318
|
+
* </div>
|
|
319
|
+
* );
|
|
320
|
+
* }
|
|
321
|
+
* ```
|
|
322
|
+
*
|
|
323
|
+
* @example Native app (keyboard plugin with WebView resizing disabled)
|
|
324
|
+
* ```tsx
|
|
325
|
+
* function ComposerDock({ children }) {
|
|
326
|
+
* useKeyboardInset({ source: 'native' });
|
|
327
|
+
* return (
|
|
328
|
+
* <div
|
|
329
|
+
* style={{
|
|
330
|
+
* paddingBottom: 'calc(var(--mieweb-keyboard-inset, 0px) + 0.5rem)',
|
|
331
|
+
* transition: 'padding-bottom 250ms ease',
|
|
332
|
+
* }}
|
|
333
|
+
* >
|
|
334
|
+
* {children}
|
|
335
|
+
* </div>
|
|
336
|
+
* );
|
|
337
|
+
* }
|
|
338
|
+
* ```
|
|
339
|
+
*/
|
|
340
|
+
declare function useKeyboardInset(options?: UseKeyboardInsetOptions): KeyboardInsetState;
|
|
341
|
+
|
|
167
342
|
/**
|
|
168
343
|
* Options for keyboard shortcut hook
|
|
169
344
|
*/
|
|
@@ -259,15 +434,67 @@ declare function useIsLargeDesktop(): boolean;
|
|
|
259
434
|
/** Returns true when viewport is smaller than 1024px (mobile/tablet) */
|
|
260
435
|
declare function useIsMobileOrTablet(): boolean;
|
|
261
436
|
|
|
437
|
+
interface UseScrollSpyOptions {
|
|
438
|
+
/** CSS selector for the elements to observe (e.g. 'h2, h3, h4') */
|
|
439
|
+
selectors?: string;
|
|
440
|
+
/** Explicit list of element IDs to observe (alternative to selectors) */
|
|
441
|
+
ids?: string[];
|
|
442
|
+
/** IntersectionObserver root margin (default: '0px 0px -60% 0px') */
|
|
443
|
+
rootMargin?: string;
|
|
444
|
+
/** IntersectionObserver threshold (default: 0) */
|
|
445
|
+
threshold?: number | number[];
|
|
446
|
+
/** Scroll container element ref. Defaults to document viewport. */
|
|
447
|
+
root?: RefObject<HTMLElement | null>;
|
|
448
|
+
/** Whether the hook is active (default: true) */
|
|
449
|
+
enabled?: boolean;
|
|
450
|
+
}
|
|
451
|
+
interface UseScrollSpyReturn {
|
|
452
|
+
/** The ID of the currently active (in-view) element */
|
|
453
|
+
activeId: string | null;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Tracks which section is currently in the viewport using IntersectionObserver.
|
|
457
|
+
* Pairs naturally with `TableOfContents` to highlight the active heading.
|
|
458
|
+
*
|
|
459
|
+
* @example
|
|
460
|
+
* ```tsx
|
|
461
|
+
* function DocsPage() {
|
|
462
|
+
* const { activeId } = useScrollSpy({ selectors: 'h2, h3' });
|
|
463
|
+
* return (
|
|
464
|
+
* <aside>
|
|
465
|
+
* <TableOfContents activeId={activeId} />
|
|
466
|
+
* </aside>
|
|
467
|
+
* );
|
|
468
|
+
* }
|
|
469
|
+
* ```
|
|
470
|
+
*/
|
|
471
|
+
declare function useScrollSpy({ selectors, ids, rootMargin, threshold, root, enabled, }?: UseScrollSpyOptions): UseScrollSpyReturn;
|
|
472
|
+
|
|
262
473
|
/** Insert `draggedId` before/after `targetId` in `ids`. */
|
|
263
474
|
declare function reorderIds(ids: string[], draggedId: string, targetId: string, after: boolean): string[];
|
|
475
|
+
/** Move `id` by `delta` positions (clamped). Returns `ids` unchanged when it can't move. */
|
|
476
|
+
declare function moveIdBy(ids: string[], id: string, delta: number): string[];
|
|
477
|
+
interface DragReorderLabels {
|
|
478
|
+
moveUp: string;
|
|
479
|
+
moveDown: string;
|
|
480
|
+
/** Announced after a keyboard/button move */
|
|
481
|
+
moved: (position: number, total: number, id: string) => string;
|
|
482
|
+
}
|
|
483
|
+
declare const DEFAULT_DRAG_REORDER_LABELS: DragReorderLabels;
|
|
264
484
|
interface UseDragReorderOptions {
|
|
265
485
|
/** Current flat order of item ids (props order) */
|
|
266
486
|
ids: string[];
|
|
267
|
-
/** Called with the full new id order after a drop. Omit to disable
|
|
487
|
+
/** Called with the full new id order after a drop or move. Omit to disable reordering. */
|
|
268
488
|
onReorder?: (ids: string[]) => void;
|
|
269
489
|
/** Restrict drops, e.g. to the same status group */
|
|
270
490
|
canDropOn?: (draggedId: string, targetId: string) => boolean;
|
|
491
|
+
/** Add Alt+ArrowUp / Alt+ArrowDown handling (and `tabIndex={0}`) to `rowProps`. Off by default so rows with their own `onKeyDown` keep working. */
|
|
492
|
+
keyboard?: boolean;
|
|
493
|
+
/** Receives move announcements instead of the returned `announcement` string. */
|
|
494
|
+
announce?: (message: string) => void;
|
|
495
|
+
/** Element rendered as the drag image (`dataTransfer.setDragImage`). */
|
|
496
|
+
getDragPreview?: (id: string) => Element | null;
|
|
497
|
+
labels?: Partial<DragReorderLabels>;
|
|
271
498
|
}
|
|
272
499
|
interface DragOverState {
|
|
273
500
|
id: string;
|
|
@@ -283,6 +510,17 @@ interface UseDragReorderReturn {
|
|
|
283
510
|
over: DragOverState | null;
|
|
284
511
|
/** Spread onto each row element (must be keyed by a stable id) */
|
|
285
512
|
rowProps: (id: string) => React.HTMLAttributes<HTMLElement>;
|
|
513
|
+
/** Move an item by `delta` positions; no-op at the ends or across `canDropOn` boundaries. */
|
|
514
|
+
moveBy: (id: string, delta: number) => void;
|
|
515
|
+
/** Props for a visible move button */
|
|
516
|
+
moveButtonProps: (id: string, direction: 'up' | 'down', label?: string) => {
|
|
517
|
+
type: 'button';
|
|
518
|
+
onClick: (e: React.MouseEvent) => void;
|
|
519
|
+
disabled: boolean;
|
|
520
|
+
'aria-label': string;
|
|
521
|
+
};
|
|
522
|
+
/** Latest move message; render in an `aria-live="polite"` region (empty when `announce` is given). */
|
|
523
|
+
announcement: string;
|
|
286
524
|
}
|
|
287
525
|
/**
|
|
288
526
|
* HTML5 drag-and-drop list reordering. Rows spread `rowProps(id)`; on drop the
|
|
@@ -290,19 +528,77 @@ interface UseDragReorderReturn {
|
|
|
290
528
|
* consumer persists it (e.g. on the encounter/patient object) and feeds the
|
|
291
529
|
* list back in props order.
|
|
292
530
|
*
|
|
293
|
-
* Drag-and-drop is
|
|
294
|
-
*
|
|
531
|
+
* Drag-and-drop is pointer-only, so pair it with `moveButtonProps` buttons
|
|
532
|
+
* and/or `keyboard: true` (Alt+↑/↓ on focused rows), and render
|
|
533
|
+
* `announcement` in a polite live region.
|
|
295
534
|
*
|
|
296
535
|
* @example
|
|
297
536
|
* ```tsx
|
|
298
|
-
* const drag = useDragReorder({ ids: items.map((i) => i.id), onReorder });
|
|
537
|
+
* const drag = useDragReorder({ ids: items.map((i) => i.id), onReorder, keyboard: true });
|
|
299
538
|
* // <li {...drag.rowProps(item.id)} className={cn(dragIndicatorClasses(drag, item.id))}>
|
|
539
|
+
* // <button {...drag.moveButtonProps(item.id, 'up')}><ChevronUp /></button>
|
|
540
|
+
* // <div aria-live="polite" className="sr-only">{drag.announcement}</div>
|
|
300
541
|
* ```
|
|
301
542
|
*/
|
|
302
|
-
declare function useDragReorder({ ids, onReorder, canDropOn, }: UseDragReorderOptions): UseDragReorderReturn;
|
|
543
|
+
declare function useDragReorder({ ids, onReorder, canDropOn, keyboard, announce, getDragPreview, labels: labelsProp, }: UseDragReorderOptions): UseDragReorderReturn;
|
|
303
544
|
/** Tailwind classes for the drag state of a row: drop indicator + dragging dim. */
|
|
304
545
|
declare function dragIndicatorClasses(drag: Pick<UseDragReorderReturn, 'draggingId' | 'over'>, id: string): string;
|
|
305
546
|
|
|
547
|
+
interface OrderPersistenceAdapter {
|
|
548
|
+
/** Previously saved order, or null when there is none */
|
|
549
|
+
load: () => string[] | null | Promise<string[] | null>;
|
|
550
|
+
save: (order: string[]) => void | Promise<void>;
|
|
551
|
+
}
|
|
552
|
+
interface UseOrderPersistenceOptions extends OrderPersistenceAdapter {
|
|
553
|
+
/** Delay before `save` runs; rapid changes collapse into one save. */
|
|
554
|
+
debounceMs?: number;
|
|
555
|
+
/** Called when `load` or `save` throws or rejects */
|
|
556
|
+
onError?: (error: unknown) => void;
|
|
557
|
+
}
|
|
558
|
+
interface UseOrderPersistenceReturn {
|
|
559
|
+
/** Saved order merged with the current `ids` */
|
|
560
|
+
order: string[];
|
|
561
|
+
/** Update the order immediately and schedule a debounced save */
|
|
562
|
+
setOrder: (order: string[]) => void;
|
|
563
|
+
}
|
|
564
|
+
/** Keep saved ids that still exist, then append new ids in their given order. */
|
|
565
|
+
declare function mergeOrder(saved: string[] | null, ids: string[]): string[];
|
|
566
|
+
/**
|
|
567
|
+
* Persist a user's item order (sections, widgets, list rows) through any
|
|
568
|
+
* storage. Updates are optimistic, saves are debounced and a pending save is
|
|
569
|
+
* flushed on unmount and on `pagehide` (navigation, refresh, tab close). On
|
|
570
|
+
* `pagehide` only work `save` starts synchronously is guaranteed — use
|
|
571
|
+
* localStorage or `navigator.sendBeacon` there; an async `fetch` may be cut
|
|
572
|
+
* off. `load` runs once after mount, so server and first client render use
|
|
573
|
+
* `ids` order.
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* ```tsx
|
|
577
|
+
* const adapter = React.useMemo(() => localStorageOrderAdapter('clinic-sections'), []);
|
|
578
|
+
* const { order, setOrder } = useOrderPersistence(sectionIds, adapter);
|
|
579
|
+
* const drag = useDragReorder({ ids: order, onReorder: setOrder });
|
|
580
|
+
* ```
|
|
581
|
+
*/
|
|
582
|
+
declare function useOrderPersistence(ids: string[], { load, save, debounceMs, onError }: UseOrderPersistenceOptions): UseOrderPersistenceReturn;
|
|
583
|
+
/** `useOrderPersistence` adapter backed by `localStorage` (no-op on the server or when storage is blocked). */
|
|
584
|
+
declare function localStorageOrderAdapter(key: string): OrderPersistenceAdapter;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Keeps a tab (or any one-of-N view) selection in a URL query parameter so it
|
|
588
|
+
* survives reloads and can be shared. Writes with `history.replaceState` (no
|
|
589
|
+
* router, no history entry), drops the parameter when the value equals
|
|
590
|
+
* `defaultValue`, follows back/forward via `popstate`, and ignores values not
|
|
591
|
+
* in `allowed`. SSR-safe: renders `defaultValue` on the server and during
|
|
592
|
+
* hydration.
|
|
593
|
+
*
|
|
594
|
+
* @example
|
|
595
|
+
* ```tsx
|
|
596
|
+
* const [tab, setTab] = useUrlTab('tab', 'summary', ['summary', 'history'] as const);
|
|
597
|
+
* <Tabs value={tab} onValueChange={(v) => setTab(v as typeof tab)}>…</Tabs>
|
|
598
|
+
* ```
|
|
599
|
+
*/
|
|
600
|
+
declare function useUrlTab<T extends string>(param: string, defaultValue: T, allowed: readonly T[]): [T, (value: T) => void];
|
|
601
|
+
|
|
306
602
|
/**
|
|
307
603
|
* State for an `aria-live` region that re-announces even when the same
|
|
308
604
|
* message is emitted twice in a row. Setting identical React state bails out
|
|
@@ -544,4 +840,264 @@ interface UseMediaTransportReturn {
|
|
|
544
840
|
*/
|
|
545
841
|
declare function useMediaTransport(options?: UseMediaTransportOptions): UseMediaTransportReturn;
|
|
546
842
|
|
|
547
|
-
|
|
843
|
+
/**
|
|
844
|
+
* Transcript schema for @mieweb/ui media components.
|
|
845
|
+
*
|
|
846
|
+
* Provider-agnostic and persistence-agnostic. Canonical time unit is
|
|
847
|
+
* **milliseconds** (consumers with seconds-based data, e.g. osheet, adapt
|
|
848
|
+
* at the boundary).
|
|
849
|
+
*
|
|
850
|
+
* Shared by TranscriptView, MediaEditor, and useTranscriptEdits.
|
|
851
|
+
*/
|
|
852
|
+
/** Type of transcript word - 'word' for spoken content, 'silence' for detected gaps, 'silence-newline' for longer pauses */
|
|
853
|
+
type WordType = 'word' | 'silence' | 'silence-newline';
|
|
854
|
+
interface TranscriptWord {
|
|
855
|
+
text: string;
|
|
856
|
+
startMs: number;
|
|
857
|
+
endMs: number;
|
|
858
|
+
/** References Speaker.id when diarization is available */
|
|
859
|
+
speakerId?: string;
|
|
860
|
+
confidence?: number;
|
|
861
|
+
/** Type of word: 'word' for spoken content, 'silence' for detected gaps. Defaults to 'word' */
|
|
862
|
+
wordType?: WordType;
|
|
863
|
+
}
|
|
864
|
+
/** A diarized segment of contiguous speech (osheet-style granularity) */
|
|
865
|
+
interface TranscriptSegment {
|
|
866
|
+
text: string;
|
|
867
|
+
startMs: number;
|
|
868
|
+
endMs: number;
|
|
869
|
+
/** References Speaker.id when diarization is available */
|
|
870
|
+
speakerId?: string;
|
|
871
|
+
words: TranscriptWord[];
|
|
872
|
+
}
|
|
873
|
+
interface Speaker {
|
|
874
|
+
id: string;
|
|
875
|
+
/** Display name (e.g. 'Clinician', 'Patient'). Hosts may remap via speakerLabels props. */
|
|
876
|
+
name?: string;
|
|
877
|
+
}
|
|
878
|
+
interface Transcript {
|
|
879
|
+
durationMs: number;
|
|
880
|
+
speakers?: Speaker[];
|
|
881
|
+
words: TranscriptWord[];
|
|
882
|
+
segments?: TranscriptSegment[];
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* An editable word that references the original transcript word.
|
|
886
|
+
* Used in the edited timeline to track deletions and reordering.
|
|
887
|
+
*/
|
|
888
|
+
interface EditableWord {
|
|
889
|
+
/** Index into the SILENCE-INSERTED baseline timeline (transcript.words
|
|
890
|
+
* with detected silence pseudo-words interleaved) — NOT into
|
|
891
|
+
* transcript.words. -1 for split/inserted entries with no baseline slot.
|
|
892
|
+
* Consumers persisting edits should key by this timeline. */
|
|
893
|
+
originalIndex: number;
|
|
894
|
+
/** The word data (from original transcript) */
|
|
895
|
+
word: TranscriptWord;
|
|
896
|
+
/** Whether this word is marked as deleted */
|
|
897
|
+
deleted: boolean;
|
|
898
|
+
/** Whether this word was inserted (pasted from clipboard) */
|
|
899
|
+
inserted?: boolean;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* Represents a contiguous segment of playback from the original media.
|
|
903
|
+
* Used when playing back an edited timeline with potentially reordered/deleted words.
|
|
904
|
+
*/
|
|
905
|
+
interface PlaybackSegment {
|
|
906
|
+
startMs: number;
|
|
907
|
+
endMs: number;
|
|
908
|
+
/** Indices into the editedWords array that this segment covers */
|
|
909
|
+
editedIndices: number[];
|
|
910
|
+
}
|
|
911
|
+
/** Available playback speed multipliers */
|
|
912
|
+
type PlaybackSpeed = 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2;
|
|
913
|
+
/**
|
|
914
|
+
* A speed marker applied to a word in the transcript.
|
|
915
|
+
* The speed applies from this word until the next speed marker or end of transcript.
|
|
916
|
+
*/
|
|
917
|
+
interface SpeedMarker {
|
|
918
|
+
/** Index in the editedWords array where the speed marker is placed */
|
|
919
|
+
wordIndex: number;
|
|
920
|
+
/** The playback speed multiplier */
|
|
921
|
+
speed: PlaybackSpeed;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* useTranscriptEdits — headless transcript-editing state hook.
|
|
926
|
+
*
|
|
927
|
+
* Extracted from pulseclip's TranscriptViewer for @mieweb/ui. Holds the
|
|
928
|
+
* edited word timeline (deletions, insertions, text edits, silence
|
|
929
|
+
* splitting), a single-level undo stack, an internal clipboard, speed
|
|
930
|
+
* markers, and derived playback/statistics data.
|
|
931
|
+
*
|
|
932
|
+
* Controlled + persistence-agnostic: no DOM, no fetches. Selection lives in
|
|
933
|
+
* the UI layer — mutations take explicit indices. State flows out via
|
|
934
|
+
* `onChange` and back in via `initialEditedWords` / `initialUndoStack`.
|
|
935
|
+
*/
|
|
936
|
+
|
|
937
|
+
/** Default filler words offered for removal */
|
|
938
|
+
declare const DEFAULT_FILLER_WORDS: string[];
|
|
939
|
+
/** Default minimum silence duration in milliseconds to detect and insert */
|
|
940
|
+
declare const DEFAULT_MIN_SILENCE_MS = 400;
|
|
941
|
+
/** Default threshold for "newline" silences - longer pauses that indicate paragraph breaks */
|
|
942
|
+
declare const DEFAULT_NL_SILENCE_MS = 1500;
|
|
943
|
+
/** Clipboard data for cut/copy/paste operations */
|
|
944
|
+
interface TranscriptClipboard {
|
|
945
|
+
words: EditableWord[];
|
|
946
|
+
operation: 'cut' | 'copy';
|
|
947
|
+
}
|
|
948
|
+
/** Count and total duration of silences above a given threshold (seconds) */
|
|
949
|
+
interface SilenceThresholdCount {
|
|
950
|
+
threshold: number;
|
|
951
|
+
count: number;
|
|
952
|
+
durationMs: number;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* Builds playback segments from the edited word list.
|
|
956
|
+
* Consecutive words in original order are merged into single segments.
|
|
957
|
+
* Inserted (pasted) words each get their own segment since they may be duplicates.
|
|
958
|
+
*/
|
|
959
|
+
declare function buildPlaybackSegments(editedWords: EditableWord[]): PlaybackSegment[];
|
|
960
|
+
/**
|
|
961
|
+
* Get the effective playback speed at a given word index.
|
|
962
|
+
* Finds the most recent speed marker at or before the word index,
|
|
963
|
+
* or returns the default speed if no marker applies.
|
|
964
|
+
*/
|
|
965
|
+
declare function getSpeedAtIndex(wordIndex: number, speedMarkers: SpeedMarker[], defaultSpeed: PlaybackSpeed): PlaybackSpeed;
|
|
966
|
+
/**
|
|
967
|
+
* Detect silences between words and return a new array with silence pseudo-words inserted.
|
|
968
|
+
* Silences are detected as gaps between the endMs of one word and startMs of the next.
|
|
969
|
+
* Silences >= nlSilenceMs are marked as 'silence-newline' for visual line breaks.
|
|
970
|
+
*/
|
|
971
|
+
declare function insertSilences(words: TranscriptWord[], minSilenceMs?: number, nlSilenceMs?: number): TranscriptWord[];
|
|
972
|
+
/** Initialize editable words from transcript, inserting detected silences */
|
|
973
|
+
declare function initEditableWords(transcript: Transcript, minSilenceMs?: number, nlSilenceMs?: number): EditableWord[];
|
|
974
|
+
interface UseTranscriptEditsOptions {
|
|
975
|
+
/** The source transcript (canonical, immutable) */
|
|
976
|
+
transcript: Transcript;
|
|
977
|
+
/** Initial edited words (from saved edits) */
|
|
978
|
+
initialEditedWords?: EditableWord[];
|
|
979
|
+
/** Initial undo stack (from saved edits) */
|
|
980
|
+
initialUndoStack?: EditableWord[][];
|
|
981
|
+
/** Fired after every mutation (for persistence) */
|
|
982
|
+
onChange?: (editedWords: EditableWord[], undoStack: EditableWord[][]) => void;
|
|
983
|
+
/** Minimum silence duration (ms) to detect and insert. Default 400 */
|
|
984
|
+
minSilenceMs?: number;
|
|
985
|
+
/** Threshold (ms) for "newline" silences (paragraph breaks). Default 1500 */
|
|
986
|
+
nlSilenceMs?: number;
|
|
987
|
+
/** Initial speed markers (from saved edits) */
|
|
988
|
+
initialSpeedMarkers?: SpeedMarker[];
|
|
989
|
+
/** Initial default playback speed (from saved edits). Default 1 */
|
|
990
|
+
initialDefaultSpeed?: PlaybackSpeed;
|
|
991
|
+
}
|
|
992
|
+
interface TranscriptEditStats {
|
|
993
|
+
/** Non-deleted spoken words (silences excluded) */
|
|
994
|
+
activeWordCount: number;
|
|
995
|
+
/** Non-deleted silence entries */
|
|
996
|
+
activeSilenceCount: number;
|
|
997
|
+
/** Deleted spoken words */
|
|
998
|
+
deletedWordCount: number;
|
|
999
|
+
/** Deleted silence entries */
|
|
1000
|
+
deletedSilenceCount: number;
|
|
1001
|
+
/** Total duration of non-deleted entries, adjusted for speed markers */
|
|
1002
|
+
editedDurationMs: number;
|
|
1003
|
+
}
|
|
1004
|
+
interface FillerAnalysis {
|
|
1005
|
+
/** Occurrence count per normalized word (fillers and every active word) */
|
|
1006
|
+
matchCounts: Map<string, number>;
|
|
1007
|
+
/** Total duration (ms) per normalized word */
|
|
1008
|
+
durations: Map<string, number>;
|
|
1009
|
+
/** Count + total duration of active silences above each analysis threshold */
|
|
1010
|
+
silenceCounts: SilenceThresholdCount[];
|
|
1011
|
+
/** The built-in filler word list */
|
|
1012
|
+
defaultFillerWords: string[];
|
|
1013
|
+
}
|
|
1014
|
+
interface UseTranscriptEditsResult {
|
|
1015
|
+
/** The edited timeline (words + silence pseudo-words) */
|
|
1016
|
+
editedWords: EditableWord[];
|
|
1017
|
+
/** Undo snapshots, oldest first */
|
|
1018
|
+
undoStack: EditableWord[][];
|
|
1019
|
+
/** Internal clipboard from the last cut/copy, or null */
|
|
1020
|
+
clipboard: TranscriptClipboard | null;
|
|
1021
|
+
/** Whether any edit has been made (deletions, insertions, text edits, speed markers) */
|
|
1022
|
+
hasEdits: boolean;
|
|
1023
|
+
/** Push the current editedWords onto the undo stack (call before external batch mutations) */
|
|
1024
|
+
pushUndo: () => void;
|
|
1025
|
+
/** Restore the most recent undo snapshot */
|
|
1026
|
+
undo: () => void;
|
|
1027
|
+
/** Step forward again after an undo. Cleared by any new edit. */
|
|
1028
|
+
redo: () => void;
|
|
1029
|
+
/** Whether there is anything to redo */
|
|
1030
|
+
canRedo: boolean;
|
|
1031
|
+
/** Toggle the deleted flag on a single word */
|
|
1032
|
+
toggleWordDeleted: (index: number) => void;
|
|
1033
|
+
/**
|
|
1034
|
+
* Toggle the deleted state of a contiguous range. The first index acts as
|
|
1035
|
+
* the anchor: all words are set to the opposite of the anchor's state
|
|
1036
|
+
* (delete all if anchor active, restore all if anchor deleted).
|
|
1037
|
+
*/
|
|
1038
|
+
deleteRange: (indices: number[]) => void;
|
|
1039
|
+
/** Cut words at the given indices into the clipboard (marks them deleted) */
|
|
1040
|
+
cut: (indices: number[]) => void;
|
|
1041
|
+
/** Copy non-deleted words at the given indices into the clipboard */
|
|
1042
|
+
copy: (indices: number[]) => void;
|
|
1043
|
+
/**
|
|
1044
|
+
* Paste the clipboard at a word index. `before` (default true) inserts
|
|
1045
|
+
* before the word at `atIndex`; false inserts after it. Returns the index
|
|
1046
|
+
* where the first pasted word landed, or null if the clipboard was empty.
|
|
1047
|
+
*/
|
|
1048
|
+
paste: (atIndex: number, before?: boolean) => number | null;
|
|
1049
|
+
/** Replace a word's text (no-op if unchanged) */
|
|
1050
|
+
setWordText: (index: number, text: string) => void;
|
|
1051
|
+
/** Split a silence at the given index into segments with the given durations (seconds) */
|
|
1052
|
+
splitSilence: (index: number, durationsSec: number[]) => void;
|
|
1053
|
+
/** Toggle the word at the index deleted (editor "delete" action) */
|
|
1054
|
+
deleteWord: (index: number) => void;
|
|
1055
|
+
/** Replace the entire edit state from an external source (e.g. an editable script view); undo-safe */
|
|
1056
|
+
replaceEditedWords: (next: EditableWord[]) => void;
|
|
1057
|
+
/** Mark matching filler words (and silences above the given seconds threshold) deleted */
|
|
1058
|
+
removeFillers: (fillerWords: string[], removeSilenceAboveSec: number | null) => void;
|
|
1059
|
+
/** Rebuild silence detection with new thresholds, preserving word deletions.
|
|
1060
|
+
* Not undoable — clears the undo stack (prior snapshots reference the old silence layout). */
|
|
1061
|
+
setSilenceThresholds: (minMs: number, nlMs: number) => void;
|
|
1062
|
+
/** Current silence detection thresholds (ms) */
|
|
1063
|
+
silenceThresholds: {
|
|
1064
|
+
minSilenceMs: number;
|
|
1065
|
+
nlSilenceMs: number;
|
|
1066
|
+
};
|
|
1067
|
+
/** Speed markers, sorted by word index */
|
|
1068
|
+
speedMarkers: SpeedMarker[];
|
|
1069
|
+
/** Default playback speed when no marker applies */
|
|
1070
|
+
defaultSpeed: PlaybackSpeed;
|
|
1071
|
+
/** Set the default playback speed (undoable) */
|
|
1072
|
+
setDefaultSpeed: (speed: PlaybackSpeed) => void;
|
|
1073
|
+
/** Add/update/remove a speed marker (re-selecting the same speed removes it; undoable) */
|
|
1074
|
+
toggleSpeedMarker: (index: number, speed: PlaybackSpeed) => void;
|
|
1075
|
+
/** Remove the speed marker at a word index, if any (undoable) */
|
|
1076
|
+
removeSpeedMarker: (index: number) => void;
|
|
1077
|
+
/**
|
|
1078
|
+
* Apply one speed across an index range (typically the selection): marks the
|
|
1079
|
+
* start, restores the prior effective speed after the end. One undo step.
|
|
1080
|
+
*/
|
|
1081
|
+
setSpeedForRange: (startIndex: number, endIndex: number, speed: PlaybackSpeed) => void;
|
|
1082
|
+
/** Effective playback speed at a word index */
|
|
1083
|
+
getSpeedAtIndex: (index: number) => PlaybackSpeed;
|
|
1084
|
+
/** The speed marker at a word index, if any */
|
|
1085
|
+
getSpeedMarkerAtIndex: (index: number) => SpeedMarker | undefined;
|
|
1086
|
+
/** Contiguous playback segments built from the edited timeline */
|
|
1087
|
+
playbackSegments: PlaybackSegment[];
|
|
1088
|
+
/** Word/silence counts and speed-adjusted edited duration */
|
|
1089
|
+
stats: TranscriptEditStats;
|
|
1090
|
+
/** Filler word and silence analysis for removal UIs */
|
|
1091
|
+
fillerAnalysis: FillerAnalysis;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* Headless transcript-editing hook. See module docs for scope.
|
|
1095
|
+
*
|
|
1096
|
+
* Undo semantics: each mutation snapshots the full `editedWords` array onto
|
|
1097
|
+
* a single-level stack before applying; `undo` pops one snapshot. Speed
|
|
1098
|
+
* markers and silence-threshold changes are NOT part of the undo stack
|
|
1099
|
+
* (matching the source component).
|
|
1100
|
+
*/
|
|
1101
|
+
declare function useTranscriptEdits(options: UseTranscriptEditsOptions): UseTranscriptEditsResult;
|
|
1102
|
+
|
|
1103
|
+
export { type AnchoredPlacement, DEFAULT_DRAG_REORDER_LABELS, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type DragReorderLabels, type FillerAnalysis, type HoverPreviewState, KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, KEYBOARD_SOURCE_ATTRIBUTE, type KeyboardInsetSource, type KeyboardInsetState, type KeyboardShortcutOptions, type MediaTransportState, type OrderPersistenceAdapter, RTL_LOCALES, type ResolvedTheme, type SilenceThresholdCount, type Theme, type TranscriptClipboard, type TranscriptEditStats, type UseAnchoredPositionOptions, type UseAnchoredPositionReturn, type UseDragReorderOptions, type UseDragReorderReturn, type UseKeyboardInsetOptions, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseOrderPersistenceOptions, type UseOrderPersistenceReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseStickToBottomOptions, type UseStickToBottomReturn, type UseTranscriptEditsOptions, type UseTranscriptEditsResult, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, buildPlaybackSegments, dragIndicatorClasses, getSpeedAtIndex, initEditableWords, insertSilences, isDarkMode, isRtl, isRtlLocale, localStorageOrderAdapter, mergeOrder, moveIdBy, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, useOrderPersistence, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useUrlTab, useYouTubeHoverPreview };
|