@mieweb/ui 0.10.0-dev.31 → 0.10.0-dev.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CsvBlock-CFXSDPBI.js +9 -0
- package/dist/{CsvBlock-VLMG7GUO.js.map → CsvBlock-CFXSDPBI.js.map} +1 -1
- package/dist/CsvBlock-RGO7JXHJ.cjs +18 -0
- package/dist/{CsvBlock-FX5YNGNE.cjs.map → CsvBlock-RGO7JXHJ.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-VBYXCXVT.cjs +18 -0
- package/dist/{HtmlPreviewBlock-UO37JQ3K.cjs.map → HtmlPreviewBlock-VBYXCXVT.cjs.map} +1 -1
- package/dist/HtmlPreviewBlock-Z2GCK325.js +9 -0
- package/dist/{HtmlPreviewBlock-5JE7L3GR.js.map → HtmlPreviewBlock-Z2GCK325.js.map} +1 -1
- package/dist/MermaidBlock-I2R2BQOX.cjs +18 -0
- package/dist/{MermaidBlock-RZ75RPZA.cjs.map → MermaidBlock-I2R2BQOX.cjs.map} +1 -1
- package/dist/MermaidBlock-XCAK7IA5.js +9 -0
- package/dist/{MermaidBlock-3XHFBAMV.js.map → MermaidBlock-XCAK7IA5.js.map} +1 -1
- package/dist/SurveyBlock-KI5JOWCL.js +9 -0
- package/dist/{SurveyBlock-MUVJ3JUI.js.map → SurveyBlock-KI5JOWCL.js.map} +1 -1
- package/dist/SurveyBlock-UKSGISRT.cjs +18 -0
- package/dist/{SurveyBlock-VH47YXZC.cjs.map → SurveyBlock-UKSGISRT.cjs.map} +1 -1
- package/dist/brands/index.cjs +7 -7
- package/dist/brands/index.js +2 -2
- package/dist/{chunk-6ZPTZTKN.js → chunk-24AFHH4J.js} +3 -3
- package/dist/{chunk-6ZPTZTKN.js.map → chunk-24AFHH4J.js.map} +1 -1
- package/dist/{chunk-BNH4SXJB.js → chunk-2X54ZLT6.js} +6 -6
- package/dist/{chunk-BNH4SXJB.js.map → chunk-2X54ZLT6.js.map} +1 -1
- package/dist/{chunk-TYE5K5WV.cjs → chunk-32ZCJOSR.cjs} +4 -4
- package/dist/{chunk-TYE5K5WV.cjs.map → chunk-32ZCJOSR.cjs.map} +1 -1
- package/dist/chunk-47P5QLX4.cjs +42 -0
- package/dist/chunk-47P5QLX4.cjs.map +1 -0
- package/dist/chunk-4ZB7RSMY.cjs +306 -0
- package/dist/chunk-4ZB7RSMY.cjs.map +1 -0
- package/dist/chunk-56VTM4OX.js +261 -0
- package/dist/chunk-56VTM4OX.js.map +1 -0
- package/dist/{chunk-D22GE27K.js → chunk-5A4SL436.js} +4 -4
- package/dist/{chunk-D22GE27K.js.map → chunk-5A4SL436.js.map} +1 -1
- package/dist/chunk-6BNZLN4B.cjs +548 -0
- package/dist/chunk-6BNZLN4B.cjs.map +1 -0
- package/dist/chunk-6JSFT2J5.js +130 -0
- package/dist/chunk-6JSFT2J5.js.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-TTSSUOEV.cjs → chunk-7C5W744U.cjs} +8 -8
- package/dist/{chunk-TTSSUOEV.cjs.map → chunk-7C5W744U.cjs.map} +1 -1
- 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-YU55JD35.js → chunk-7QW6TU4X.js} +3 -3
- package/dist/{chunk-YU55JD35.js.map → chunk-7QW6TU4X.js.map} +1 -1
- package/dist/chunk-7WJ6MBF5.cjs +47 -0
- package/dist/chunk-7WJ6MBF5.cjs.map +1 -0
- package/dist/chunk-A4W5CSK7.cjs +216 -0
- package/dist/chunk-A4W5CSK7.cjs.map +1 -0
- package/dist/{chunk-WXFGHDTV.cjs → chunk-AJPFQF3H.cjs} +18 -18
- package/dist/{chunk-WXFGHDTV.cjs.map → chunk-AJPFQF3H.cjs.map} +1 -1
- package/dist/chunk-AMYFRY7K.js +3 -0
- package/dist/chunk-AMYFRY7K.js.map +1 -0
- package/dist/{chunk-X6A27RGO.cjs → chunk-ANMX7YDL.cjs} +2 -2
- package/dist/{chunk-X6A27RGO.cjs.map → chunk-ANMX7YDL.cjs.map} +1 -1
- package/dist/{chunk-DVOQ3JNO.js → chunk-B4CKCNWD.js} +16 -8
- package/dist/chunk-B4CKCNWD.js.map +1 -0
- package/dist/chunk-BJ6ABRSQ.cjs +256 -0
- package/dist/chunk-BJ6ABRSQ.cjs.map +1 -0
- package/dist/chunk-BXRQ6HEP.cjs +4 -0
- package/dist/chunk-BXRQ6HEP.cjs.map +1 -0
- package/dist/{chunk-TJCX4OML.cjs → chunk-C77FAR3F.cjs} +2 -2
- package/dist/{chunk-TJCX4OML.cjs.map → chunk-C77FAR3F.cjs.map} +1 -1
- package/dist/chunk-CBBKWRLG.js +213 -0
- package/dist/chunk-CBBKWRLG.js.map +1 -0
- package/dist/{chunk-ZTMYKAVU.cjs → chunk-CCAVJSWL.cjs} +49 -48
- package/dist/chunk-CCAVJSWL.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-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-R5Z7AOVU.cjs → chunk-DZ3JTMKM.cjs} +9 -9
- package/dist/{chunk-R5Z7AOVU.cjs.map → chunk-DZ3JTMKM.cjs.map} +1 -1
- package/dist/chunk-EACNRR3C.cjs +4 -0
- package/dist/chunk-EACNRR3C.cjs.map +1 -0
- package/dist/{chunk-E2PBPQGS.js → chunk-EEOGIGIA.js} +2 -2
- package/dist/{chunk-E2PBPQGS.js.map → chunk-EEOGIGIA.js.map} +1 -1
- package/dist/chunk-EPCUPHEO.js +193 -0
- package/dist/chunk-EPCUPHEO.js.map +1 -0
- package/dist/chunk-EPTP3VKT.js +283 -0
- package/dist/chunk-EPTP3VKT.js.map +1 -0
- package/dist/{chunk-HIZWOAWY.cjs → chunk-ERACGSDY.cjs} +8 -8
- package/dist/{chunk-HIZWOAWY.cjs.map → chunk-ERACGSDY.cjs.map} +1 -1
- package/dist/{chunk-VOQJHSXN.cjs → chunk-F2FOG4EG.cjs} +9 -9
- package/dist/{chunk-VOQJHSXN.cjs.map → chunk-F2FOG4EG.cjs.map} +1 -1
- package/dist/{chunk-GBUVIGD5.js → chunk-F3EWRDIT.js} +99 -3
- package/dist/chunk-F3EWRDIT.js.map +1 -0
- package/dist/{chunk-GVLNXPJX.js → chunk-FGLIP6YR.js} +4 -4
- package/dist/{chunk-GVLNXPJX.js.map → chunk-FGLIP6YR.js.map} +1 -1
- package/dist/chunk-FKGFOBC2.js +314 -0
- package/dist/chunk-FKGFOBC2.js.map +1 -0
- package/dist/chunk-FSGJXCBG.cjs +318 -0
- package/dist/chunk-FSGJXCBG.cjs.map +1 -0
- package/dist/chunk-FTEZNCRI.js +29 -0
- package/dist/chunk-FTEZNCRI.js.map +1 -0
- package/dist/{chunk-COM7RNZU.cjs → chunk-FYQZWLAM.cjs} +2 -2
- package/dist/{chunk-COM7RNZU.cjs.map → chunk-FYQZWLAM.cjs.map} +1 -1
- 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-N7C4OEP7.cjs → chunk-GM32IDVL.cjs} +6 -6
- package/dist/{chunk-N7C4OEP7.cjs.map → chunk-GM32IDVL.cjs.map} +1 -1
- package/dist/chunk-GY5SP4ST.js +3 -0
- package/dist/chunk-GY5SP4ST.js.map +1 -0
- package/dist/chunk-H2Y7HZV5.js +3 -0
- package/dist/chunk-H2Y7HZV5.js.map +1 -0
- package/dist/chunk-H3QPREIJ.js +195 -0
- package/dist/chunk-H3QPREIJ.js.map +1 -0
- package/dist/{chunk-QOVJ6Z6R.js → chunk-HDY7YQFX.js} +3 -3
- package/dist/{chunk-QOVJ6Z6R.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-I2MMUFCN.cjs +154 -0
- package/dist/chunk-I2MMUFCN.cjs.map +1 -0
- package/dist/{chunk-GYXUS65N.cjs → chunk-IGDO62KR.cjs} +5 -5
- package/dist/{chunk-GYXUS65N.cjs.map → chunk-IGDO62KR.cjs.map} +1 -1
- package/dist/{chunk-HC3NAN55.cjs → chunk-IPL2O2OL.cjs} +19 -19
- package/dist/{chunk-HC3NAN55.cjs.map → chunk-IPL2O2OL.cjs.map} +1 -1
- package/dist/chunk-ISUIKUX7.cjs +337 -0
- package/dist/chunk-ISUIKUX7.cjs.map +1 -0
- 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-BIQ7GSO2.js → chunk-JMAZ2GKT.js} +3 -3
- package/dist/{chunk-BIQ7GSO2.js.map → chunk-JMAZ2GKT.js.map} +1 -1
- package/dist/{chunk-KRU6IGV7.js → chunk-JUJGWUAN.js} +28 -6
- package/dist/chunk-JUJGWUAN.js.map +1 -0
- package/dist/{chunk-BUT6MF5K.cjs → chunk-KQ6GLYFZ.cjs} +4 -4
- package/dist/{chunk-BUT6MF5K.cjs.map → chunk-KQ6GLYFZ.cjs.map} +1 -1
- package/dist/chunk-L6K4PRZK.cjs +4 -0
- package/dist/chunk-L6K4PRZK.cjs.map +1 -0
- package/dist/{chunk-T4L7Q5FA.cjs → chunk-LC3JL2HB.cjs} +6 -2
- package/dist/chunk-LC3JL2HB.cjs.map +1 -0
- package/dist/{chunk-P7UMS4E6.cjs → chunk-LC7PVBXH.cjs} +16 -8
- package/dist/chunk-LC7PVBXH.cjs.map +1 -0
- package/dist/chunk-LRRSD7LR.js +248 -0
- package/dist/chunk-LRRSD7LR.js.map +1 -0
- package/dist/chunk-LSMS6DY7.cjs +331 -0
- package/dist/chunk-LSMS6DY7.cjs.map +1 -0
- package/dist/chunk-M3VPGJMV.js +283 -0
- package/dist/chunk-M3VPGJMV.js.map +1 -0
- package/dist/{chunk-QURJVPRH.cjs → chunk-MJJJDQ5P.cjs} +46 -2
- package/dist/chunk-MJJJDQ5P.cjs.map +1 -0
- package/dist/{chunk-2JICT4A2.js → chunk-N54FYWG6.js} +3 -3
- package/dist/{chunk-2JICT4A2.js.map → chunk-N54FYWG6.js.map} +1 -1
- package/dist/chunk-N5JDL4VE.js +3 -0
- package/dist/chunk-N5JDL4VE.js.map +1 -0
- package/dist/{chunk-KGKBZN3T.cjs → chunk-NAH65KPK.cjs} +8 -8
- package/dist/{chunk-KGKBZN3T.cjs.map → chunk-NAH65KPK.cjs.map} +1 -1
- package/dist/{chunk-NKV76R65.cjs → chunk-O6BJMVGT.cjs} +45 -45
- package/dist/{chunk-NKV76R65.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-ORCCJ5VY.cjs +218 -0
- package/dist/chunk-ORCCJ5VY.cjs.map +1 -0
- package/dist/{chunk-CRS2CQWM.js → chunk-OSTSZDQC.js} +3 -3
- package/dist/{chunk-CRS2CQWM.js.map → chunk-OSTSZDQC.js.map} +1 -1
- package/dist/chunk-P22YCUVM.cjs +4 -0
- package/dist/chunk-P22YCUVM.cjs.map +1 -0
- package/dist/chunk-P55LNEDH.cjs +306 -0
- package/dist/chunk-P55LNEDH.cjs.map +1 -0
- package/dist/{chunk-R6KPWIGO.js → chunk-P7D7BYFE.js} +4 -4
- package/dist/{chunk-R6KPWIGO.js.map → chunk-P7D7BYFE.js.map} +1 -1
- package/dist/{chunk-GU5OS7JJ.cjs → chunk-PYI2IWNX.cjs} +4 -4
- package/dist/{chunk-GU5OS7JJ.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-K34DXMLZ.js → chunk-QJ2L5RU6.js} +7 -7
- package/dist/{chunk-K34DXMLZ.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-LFPJ3OUM.cjs → chunk-RIUQP2QS.cjs} +5 -5
- package/dist/{chunk-LFPJ3OUM.cjs.map → chunk-RIUQP2QS.cjs.map} +1 -1
- package/dist/{chunk-JHG3ELS2.js → chunk-RPFATYUI.js} +2 -2
- package/dist/{chunk-JHG3ELS2.js.map → chunk-RPFATYUI.js.map} +1 -1
- package/dist/{chunk-FZURBQJ2.js → chunk-RSJGTWLM.js} +3 -3
- package/dist/{chunk-FZURBQJ2.js.map → chunk-RSJGTWLM.js.map} +1 -1
- package/dist/{chunk-XBTKZCZF.js → chunk-RZSSQ7AT.js} +3 -3
- package/dist/{chunk-XBTKZCZF.js.map → chunk-RZSSQ7AT.js.map} +1 -1
- package/dist/{chunk-SD7ONW6S.js → chunk-S2JZL4JC.js} +5 -5
- package/dist/{chunk-SD7ONW6S.js.map → chunk-S2JZL4JC.js.map} +1 -1
- package/dist/{chunk-VROIMIHB.cjs → chunk-SHBCUXFS.cjs} +28 -6
- package/dist/chunk-SHBCUXFS.cjs.map +1 -0
- package/dist/{chunk-JELTRRR5.cjs → chunk-SW2E7XKY.cjs} +9 -9
- package/dist/{chunk-JELTRRR5.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-HZ4MBUC3.js → chunk-TI3TQQ7F.js} +4 -53
- package/dist/chunk-TI3TQQ7F.js.map +1 -0
- package/dist/{chunk-MLAWXPRY.js → chunk-TKWNXAFI.js} +46 -2
- package/dist/chunk-TKWNXAFI.js.map +1 -0
- package/dist/{chunk-H2IAMSHK.js → chunk-TVEJKKIM.js} +3 -3
- package/dist/{chunk-H2IAMSHK.js.map → chunk-TVEJKKIM.js.map} +1 -1
- package/dist/{chunk-LHBWRMNC.cjs → chunk-TVU4KB27.cjs} +130 -12
- package/dist/chunk-TVU4KB27.cjs.map +1 -0
- package/dist/{chunk-ENMXHZNE.js → chunk-TWQSMUE6.js} +6 -2
- package/dist/chunk-TWQSMUE6.js.map +1 -0
- package/dist/{chunk-ZYL4SNOR.js → chunk-UJDWFDKE.js} +3 -3
- package/dist/{chunk-ZYL4SNOR.js.map → chunk-UJDWFDKE.js.map} +1 -1
- package/dist/{chunk-4HC2IBOX.js → chunk-UNFDIBKJ.js} +3 -3
- package/dist/{chunk-4HC2IBOX.js.map → chunk-UNFDIBKJ.js.map} +1 -1
- package/dist/chunk-UTIPENPW.cjs +286 -0
- package/dist/chunk-UTIPENPW.cjs.map +1 -0
- package/dist/{chunk-IYWG72DM.js → chunk-VEE46VTX.js} +4 -4
- package/dist/{chunk-IYWG72DM.js.map → chunk-VEE46VTX.js.map} +1 -1
- package/dist/{chunk-Y4E2WRUR.cjs → chunk-VFFV7EMT.cjs} +6 -6
- package/dist/{chunk-Y4E2WRUR.cjs.map → chunk-VFFV7EMT.cjs.map} +1 -1
- package/dist/chunk-VNEAQCY2.js +308 -0
- package/dist/chunk-VNEAQCY2.js.map +1 -0
- package/dist/chunk-VOYLX32A.cjs +271 -0
- package/dist/chunk-VOYLX32A.cjs.map +1 -0
- package/dist/{chunk-7ZV67VZE.js → chunk-VSRO4PAI.js} +21 -3
- 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-CPPUT74P.cjs → chunk-VV2U36T6.cjs} +9 -9
- package/dist/{chunk-CPPUT74P.cjs.map → chunk-VV2U36T6.cjs.map} +1 -1
- package/dist/{chunk-35Y4ILCU.cjs → chunk-VXW7D5LR.cjs} +21 -3
- package/dist/chunk-VXW7D5LR.cjs.map +1 -0
- package/dist/{chunk-7YO7DNUV.js → chunk-WFBUBT54.js} +2 -2
- package/dist/{chunk-7YO7DNUV.js.map → chunk-WFBUBT54.js.map} +1 -1
- package/dist/chunk-WQHBMZSC.js +295 -0
- package/dist/chunk-WQHBMZSC.js.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-XNPDZANN.cjs +238 -0
- package/dist/chunk-XNPDZANN.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-YGS2TRMP.js +38 -0
- package/dist/chunk-YGS2TRMP.js.map +1 -0
- package/dist/{chunk-JBIGSP2T.js → chunk-YMILRSRO.js} +6 -5
- package/dist/chunk-YMILRSRO.js.map +1 -0
- package/dist/chunk-YUMOM3KE.js +167 -0
- package/dist/chunk-YUMOM3KE.js.map +1 -0
- package/dist/{chunk-3KPDQG5O.cjs → chunk-ZG6FXMDX.cjs} +5 -5
- package/dist/{chunk-3KPDQG5O.cjs.map → chunk-ZG6FXMDX.cjs.map} +1 -1
- 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/AlertDialog/index.cjs +17 -4
- package/dist/components/AlertDialog/index.d.cts +66 -13
- package/dist/components/AlertDialog/index.d.ts +66 -13
- package/dist/components/AlertDialog/index.js +4 -3
- 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/Avatar/index.cjs +9 -7
- package/dist/components/Avatar/index.d.cts +45 -14
- package/dist/components/Avatar/index.d.ts +45 -14
- 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/Button/index.cjs +3 -2
- package/dist/components/Button/index.js +2 -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 +5 -4
- package/dist/components/CalendarView/index.js +3 -2
- 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 +4 -4
- package/dist/components/Collapsible/index.d.cts +6 -0
- package/dist/components/Collapsible/index.d.ts +6 -0
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/CompletenessMeter/index.cjs +22 -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 +5 -0
- package/dist/components/CompletenessMeter/index.js.map +1 -0
- package/dist/components/CustomizableDashboard/index.cjs +10 -9
- package/dist/components/CustomizableDashboard/index.js +3 -2
- package/dist/components/DateInput/index.d.cts +36 -4
- package/dist/components/DateInput/index.d.ts +36 -4
- package/dist/components/Dropdown/index.cjs +9 -8
- package/dist/components/Dropdown/index.js +2 -1
- 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 +5 -4
- package/dist/components/FloatingWindow/index.js +3 -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 +4 -4
- package/dist/components/KeyboardShortcutsOverlay/index.js +2 -2
- package/dist/components/ListView/index.cjs +5 -4
- package/dist/components/ListView/index.js +3 -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 +17 -16
- package/dist/components/Markdown/index.js +8 -7
- package/dist/components/MediaEditor/index.cjs +10 -9
- package/dist/components/MediaEditor/index.js +5 -4
- package/dist/components/MediaFeed/index.cjs +9 -6
- package/dist/components/MediaFeed/index.js +8 -5
- package/dist/components/MediaPlayer/index.cjs +6 -5
- package/dist/components/MediaPlayer/index.js +3 -2
- package/dist/components/MegaMenu/index.cjs +2 -1
- package/dist/components/MegaMenu/index.js +2 -1
- package/dist/components/Modal/index.cjs +9 -9
- package/dist/components/Modal/index.js +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/PhoneInput/index.d.cts +3 -36
- package/dist/components/PhoneInput/index.d.ts +3 -36
- package/dist/components/PropertyList/index.cjs +25 -0
- package/dist/components/PropertyList/index.cjs.map +1 -0
- package/dist/components/PropertyList/index.d.cts +71 -0
- package/dist/components/PropertyList/index.d.ts +71 -0
- package/dist/components/PropertyList/index.js +12 -0
- package/dist/components/PropertyList/index.js.map +1 -0
- package/dist/components/RadialExplorer/index.cjs +2 -1
- package/dist/components/RadialExplorer/index.js +2 -1
- 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/RecordHeader/index.cjs +29 -0
- package/dist/components/RecordHeader/index.cjs.map +1 -0
- package/dist/components/RecordHeader/index.d.cts +86 -0
- package/dist/components/RecordHeader/index.d.ts +86 -0
- package/dist/components/RecordHeader/index.js +16 -0
- package/dist/components/RecordHeader/index.js.map +1 -0
- package/dist/components/RecordLayout/index.cjs +21 -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 +8 -0
- package/dist/components/RecordLayout/index.js.map +1 -0
- package/dist/components/RichTextEditor/index.cjs +8 -6
- package/dist/components/RichTextEditor/index.js +5 -3
- package/dist/components/SectionSpyNav/index.cjs +2 -1
- package/dist/components/SectionSpyNav/index.js +2 -1
- package/dist/components/SuperChat/index.cjs +23 -19
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +11 -7
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +5 -4
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.js +4 -3
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/components/Tabs/index.cjs +9 -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 +3 -1
- package/dist/components/TagEditor/index.cjs +20 -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 +7 -0
- package/dist/components/TagEditor/index.js.map +1 -0
- 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/ViewSet/index.cjs +6 -5
- package/dist/components/ViewSet/index.d.cts +2 -1
- package/dist/components/ViewSet/index.d.ts +2 -1
- package/dist/components/ViewSet/index.js +5 -4
- package/dist/components/ViewSwitcher/index.d.cts +39 -4
- package/dist/components/ViewSwitcher/index.d.ts +39 -4
- package/dist/datavis.cjs +3 -2
- package/dist/datavis.cjs.map +1 -1
- package/dist/datavis.js +2 -1
- package/dist/datavis.js.map +1 -1
- package/dist/esheet.cjs +9 -7
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +6 -4
- package/dist/esheet.js.map +1 -1
- package/dist/hooks/index.cjs +53 -27
- package/dist/hooks/index.d.cts +91 -6
- package/dist/hooks/index.d.ts +91 -6
- package/dist/hooks/index.js +5 -3
- package/dist/index.cjs +1391 -847
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1253 -168
- package/dist/index.d.ts +1253 -168
- package/dist/index.js +539 -171
- package/dist/index.js.map +1 -1
- package/dist/org-chart.cjs +1302 -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 +1277 -0
- package/dist/org-chart.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/{index-DoYYWsNc.d.cts → types-CDeBNZiE.d.cts} +1 -36
- package/dist/{index-DoYYWsNc.d.ts → types-CDeBNZiE.d.ts} +1 -36
- package/package.json +22 -2
- package/dist/CsvBlock-FX5YNGNE.cjs +0 -17
- package/dist/CsvBlock-VLMG7GUO.js +0 -8
- package/dist/HtmlPreviewBlock-5JE7L3GR.js +0 -8
- package/dist/HtmlPreviewBlock-UO37JQ3K.cjs +0 -17
- package/dist/MermaidBlock-3XHFBAMV.js +0 -8
- package/dist/MermaidBlock-RZ75RPZA.cjs +0 -17
- package/dist/SurveyBlock-MUVJ3JUI.js +0 -8
- package/dist/SurveyBlock-VH47YXZC.cjs +0 -17
- package/dist/chunk-35Y4ILCU.cjs.map +0 -1
- package/dist/chunk-6N6LIAUJ.cjs +0 -80
- package/dist/chunk-6N6LIAUJ.cjs.map +0 -1
- package/dist/chunk-7ZV67VZE.js.map +0 -1
- package/dist/chunk-7ZVTLTJF.js +0 -109
- package/dist/chunk-7ZVTLTJF.js.map +0 -1
- package/dist/chunk-DVOQ3JNO.js.map +0 -1
- package/dist/chunk-ENMXHZNE.js.map +0 -1
- package/dist/chunk-GBUVIGD5.js.map +0 -1
- package/dist/chunk-HZ4MBUC3.js.map +0 -1
- package/dist/chunk-JBIGSP2T.js.map +0 -1
- package/dist/chunk-JEIW7BSV.cjs.map +0 -1
- package/dist/chunk-KRU6IGV7.js.map +0 -1
- package/dist/chunk-LHBWRMNC.cjs.map +0 -1
- package/dist/chunk-MLAWXPRY.js.map +0 -1
- package/dist/chunk-P7UMS4E6.cjs.map +0 -1
- package/dist/chunk-QURJVPRH.cjs.map +0 -1
- package/dist/chunk-SVSHA7XV.js.map +0 -1
- package/dist/chunk-T4L7Q5FA.cjs.map +0 -1
- package/dist/chunk-UBSH27C2.js +0 -78
- package/dist/chunk-UBSH27C2.js.map +0 -1
- package/dist/chunk-VROIMIHB.cjs.map +0 -1
- package/dist/chunk-X4LBUPJO.cjs.map +0 -1
- package/dist/chunk-YVPC65ZJ.cjs.map +0 -1
- package/dist/chunk-ZTMYKAVU.cjs.map +0 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { LucideIcon } from 'lucide-react';
|
|
3
|
+
import { A as Accent } from '../../types-CDeBNZiE.cjs';
|
|
4
|
+
|
|
5
|
+
type ActivityFeedDensity = 'comfortable' | 'compact';
|
|
6
|
+
interface ActivityFeedCategory {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
icon?: LucideIcon;
|
|
10
|
+
/** Token name, resolved to `--mieweb-*` colours. */
|
|
11
|
+
color?: Accent;
|
|
12
|
+
}
|
|
13
|
+
interface ActivityFeedActor {
|
|
14
|
+
name: string;
|
|
15
|
+
avatarUrl?: string;
|
|
16
|
+
}
|
|
17
|
+
interface ActivityFeedLabels {
|
|
18
|
+
loading: string;
|
|
19
|
+
empty: string;
|
|
20
|
+
/** Shown when items exist but the active filters hide all of them. */
|
|
21
|
+
noMatches: string;
|
|
22
|
+
error: string;
|
|
23
|
+
retry: string;
|
|
24
|
+
today: string;
|
|
25
|
+
yesterday: string;
|
|
26
|
+
undated: string;
|
|
27
|
+
pinned: string;
|
|
28
|
+
/** Accessible name of the category filter group. */
|
|
29
|
+
filters: string;
|
|
30
|
+
/** The chip that clears every filter. */
|
|
31
|
+
allCategories: string;
|
|
32
|
+
compact: string;
|
|
33
|
+
pin: string;
|
|
34
|
+
loadMore: string;
|
|
35
|
+
/** Announced politely after a filter change. */
|
|
36
|
+
resultCount: (count: number) => string;
|
|
37
|
+
}
|
|
38
|
+
declare const defaultActivityFeedLabels: ActivityFeedLabels;
|
|
39
|
+
type ActivityFeedSlot = 'toolbar' | 'filter' | 'section' | 'dayHeader' | 'item' | 'highlightedItem' | 'state' | 'loadMore';
|
|
40
|
+
interface ActivityFeedItemContext {
|
|
41
|
+
density: ActivityFeedDensity;
|
|
42
|
+
pinned: boolean;
|
|
43
|
+
category?: ActivityFeedCategory;
|
|
44
|
+
}
|
|
45
|
+
interface ActivityFeedProps<T> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
46
|
+
items: T[];
|
|
47
|
+
getId: (item: T) => string;
|
|
48
|
+
/** ISO string or `Date`. Date-only strings are wall dates in `timeZone`. */
|
|
49
|
+
getDate: (item: T) => Date | string | null | undefined;
|
|
50
|
+
/** Matched against `categories[].id`. */
|
|
51
|
+
getCategory?: (item: T) => string | undefined;
|
|
52
|
+
getTitle?: (item: T) => string | undefined;
|
|
53
|
+
getDescription?: (item: T) => string | undefined;
|
|
54
|
+
getActor?: (item: T) => ActivityFeedActor | undefined;
|
|
55
|
+
/** Filter chips, icons and colours, in display order. */
|
|
56
|
+
categories?: readonly ActivityFeedCategory[];
|
|
57
|
+
loading?: boolean;
|
|
58
|
+
error?: Error | null;
|
|
59
|
+
onRetry?: () => void;
|
|
60
|
+
/** BCP 47 locale for day headers and times. Defaults to the runtime's. */
|
|
61
|
+
locale?: string;
|
|
62
|
+
/** IANA zone that decides which day an item falls on. Defaults to local. */
|
|
63
|
+
timeZone?: string;
|
|
64
|
+
/** Pins "today" so stories and tests stay deterministic. */
|
|
65
|
+
now?: Date;
|
|
66
|
+
pinnedIds?: readonly string[];
|
|
67
|
+
/** Receives the requested state; the row moves optimistically and restores on rejection. */
|
|
68
|
+
onTogglePin?: (id: string, pinned: boolean) => void | Promise<void>;
|
|
69
|
+
onOpen?: (id: string, item: T) => void;
|
|
70
|
+
getHref?: (id: string, item: T) => string;
|
|
71
|
+
/** Scrolls this row into view and highlights it — for deep links. */
|
|
72
|
+
highlightedId?: string | null;
|
|
73
|
+
hasMore?: boolean;
|
|
74
|
+
/** The button shows pending until the returned promise settles. */
|
|
75
|
+
onLoadMore?: () => void | Promise<void>;
|
|
76
|
+
defaultCategories?: readonly string[];
|
|
77
|
+
defaultDensity?: ActivityFeedDensity;
|
|
78
|
+
/** Persists the selected categories and density in `localStorage` under this key. */
|
|
79
|
+
storageKey?: string;
|
|
80
|
+
/** Replaces the built-in row body. Pinning and opening still wrap it. */
|
|
81
|
+
renderItem?: (item: T, context: ActivityFeedItemContext) => React.ReactNode;
|
|
82
|
+
/** Extra content on the row's meta line (badges, durations, sentiment). */
|
|
83
|
+
renderItemMeta?: (item: T) => React.ReactNode;
|
|
84
|
+
/** Rendered under each day header, e.g. a roll-up of that day's calls. */
|
|
85
|
+
renderDaySummary?: (dayKey: string, items: T[]) => React.ReactNode;
|
|
86
|
+
emptyState?: React.ReactNode;
|
|
87
|
+
labels?: Partial<ActivityFeedLabels>;
|
|
88
|
+
classNames?: Partial<Record<ActivityFeedSlot, string>>;
|
|
89
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* A day-grouped feed of a record's activity. Declared
|
|
93
|
+
* `parameters.catalog.collection` — its load states are part of the API.
|
|
94
|
+
*/
|
|
95
|
+
declare const ActivityFeed: <T>(props: ActivityFeedProps<T> & {
|
|
96
|
+
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
97
|
+
}) => React.ReactElement;
|
|
98
|
+
|
|
99
|
+
export { ActivityFeed, type ActivityFeedActor, type ActivityFeedCategory, type ActivityFeedDensity, type ActivityFeedItemContext, type ActivityFeedLabels, type ActivityFeedProps, type ActivityFeedSlot, defaultActivityFeedLabels };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { LucideIcon } from 'lucide-react';
|
|
3
|
+
import { A as Accent } from '../../types-CDeBNZiE.js';
|
|
4
|
+
|
|
5
|
+
type ActivityFeedDensity = 'comfortable' | 'compact';
|
|
6
|
+
interface ActivityFeedCategory {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
icon?: LucideIcon;
|
|
10
|
+
/** Token name, resolved to `--mieweb-*` colours. */
|
|
11
|
+
color?: Accent;
|
|
12
|
+
}
|
|
13
|
+
interface ActivityFeedActor {
|
|
14
|
+
name: string;
|
|
15
|
+
avatarUrl?: string;
|
|
16
|
+
}
|
|
17
|
+
interface ActivityFeedLabels {
|
|
18
|
+
loading: string;
|
|
19
|
+
empty: string;
|
|
20
|
+
/** Shown when items exist but the active filters hide all of them. */
|
|
21
|
+
noMatches: string;
|
|
22
|
+
error: string;
|
|
23
|
+
retry: string;
|
|
24
|
+
today: string;
|
|
25
|
+
yesterday: string;
|
|
26
|
+
undated: string;
|
|
27
|
+
pinned: string;
|
|
28
|
+
/** Accessible name of the category filter group. */
|
|
29
|
+
filters: string;
|
|
30
|
+
/** The chip that clears every filter. */
|
|
31
|
+
allCategories: string;
|
|
32
|
+
compact: string;
|
|
33
|
+
pin: string;
|
|
34
|
+
loadMore: string;
|
|
35
|
+
/** Announced politely after a filter change. */
|
|
36
|
+
resultCount: (count: number) => string;
|
|
37
|
+
}
|
|
38
|
+
declare const defaultActivityFeedLabels: ActivityFeedLabels;
|
|
39
|
+
type ActivityFeedSlot = 'toolbar' | 'filter' | 'section' | 'dayHeader' | 'item' | 'highlightedItem' | 'state' | 'loadMore';
|
|
40
|
+
interface ActivityFeedItemContext {
|
|
41
|
+
density: ActivityFeedDensity;
|
|
42
|
+
pinned: boolean;
|
|
43
|
+
category?: ActivityFeedCategory;
|
|
44
|
+
}
|
|
45
|
+
interface ActivityFeedProps<T> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
46
|
+
items: T[];
|
|
47
|
+
getId: (item: T) => string;
|
|
48
|
+
/** ISO string or `Date`. Date-only strings are wall dates in `timeZone`. */
|
|
49
|
+
getDate: (item: T) => Date | string | null | undefined;
|
|
50
|
+
/** Matched against `categories[].id`. */
|
|
51
|
+
getCategory?: (item: T) => string | undefined;
|
|
52
|
+
getTitle?: (item: T) => string | undefined;
|
|
53
|
+
getDescription?: (item: T) => string | undefined;
|
|
54
|
+
getActor?: (item: T) => ActivityFeedActor | undefined;
|
|
55
|
+
/** Filter chips, icons and colours, in display order. */
|
|
56
|
+
categories?: readonly ActivityFeedCategory[];
|
|
57
|
+
loading?: boolean;
|
|
58
|
+
error?: Error | null;
|
|
59
|
+
onRetry?: () => void;
|
|
60
|
+
/** BCP 47 locale for day headers and times. Defaults to the runtime's. */
|
|
61
|
+
locale?: string;
|
|
62
|
+
/** IANA zone that decides which day an item falls on. Defaults to local. */
|
|
63
|
+
timeZone?: string;
|
|
64
|
+
/** Pins "today" so stories and tests stay deterministic. */
|
|
65
|
+
now?: Date;
|
|
66
|
+
pinnedIds?: readonly string[];
|
|
67
|
+
/** Receives the requested state; the row moves optimistically and restores on rejection. */
|
|
68
|
+
onTogglePin?: (id: string, pinned: boolean) => void | Promise<void>;
|
|
69
|
+
onOpen?: (id: string, item: T) => void;
|
|
70
|
+
getHref?: (id: string, item: T) => string;
|
|
71
|
+
/** Scrolls this row into view and highlights it — for deep links. */
|
|
72
|
+
highlightedId?: string | null;
|
|
73
|
+
hasMore?: boolean;
|
|
74
|
+
/** The button shows pending until the returned promise settles. */
|
|
75
|
+
onLoadMore?: () => void | Promise<void>;
|
|
76
|
+
defaultCategories?: readonly string[];
|
|
77
|
+
defaultDensity?: ActivityFeedDensity;
|
|
78
|
+
/** Persists the selected categories and density in `localStorage` under this key. */
|
|
79
|
+
storageKey?: string;
|
|
80
|
+
/** Replaces the built-in row body. Pinning and opening still wrap it. */
|
|
81
|
+
renderItem?: (item: T, context: ActivityFeedItemContext) => React.ReactNode;
|
|
82
|
+
/** Extra content on the row's meta line (badges, durations, sentiment). */
|
|
83
|
+
renderItemMeta?: (item: T) => React.ReactNode;
|
|
84
|
+
/** Rendered under each day header, e.g. a roll-up of that day's calls. */
|
|
85
|
+
renderDaySummary?: (dayKey: string, items: T[]) => React.ReactNode;
|
|
86
|
+
emptyState?: React.ReactNode;
|
|
87
|
+
labels?: Partial<ActivityFeedLabels>;
|
|
88
|
+
classNames?: Partial<Record<ActivityFeedSlot, string>>;
|
|
89
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* A day-grouped feed of a record's activity. Declared
|
|
93
|
+
* `parameters.catalog.collection` — its load states are part of the API.
|
|
94
|
+
*/
|
|
95
|
+
declare const ActivityFeed: <T>(props: ActivityFeedProps<T> & {
|
|
96
|
+
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
97
|
+
}) => React.ReactElement;
|
|
98
|
+
|
|
99
|
+
export { ActivityFeed, type ActivityFeedActor, type ActivityFeedCategory, type ActivityFeedDensity, type ActivityFeedItemContext, type ActivityFeedLabels, type ActivityFeedProps, type ActivityFeedSlot, defaultActivityFeedLabels };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { ActivityFeed, defaultActivityFeedLabels } from '../../chunk-X5JOEZVR.js';
|
|
2
|
+
import '../../chunk-YGS2TRMP.js';
|
|
3
|
+
import '../../chunk-FTEZNCRI.js';
|
|
4
|
+
import '../../chunk-Y424YL55.js';
|
|
5
|
+
import '../../chunk-ZIUADGAR.js';
|
|
6
|
+
import '../../chunk-H2Y7HZV5.js';
|
|
7
|
+
import '../../chunk-DVDT7TX7.js';
|
|
8
|
+
import '../../chunk-TI3TQQ7F.js';
|
|
9
|
+
import '../../chunk-3YBS4WUQ.js';
|
|
10
|
+
import '../../chunk-HNXLLDPN.js';
|
|
11
|
+
import '../../chunk-XDU65GLW.js';
|
|
12
|
+
import '../../chunk-N5JDL4VE.js';
|
|
13
|
+
import '../../chunk-WFBUBT54.js';
|
|
14
|
+
import '../../chunk-GVM6DTR5.js';
|
|
15
|
+
import '../../chunk-TQONQSJO.js';
|
|
16
|
+
import '../../chunk-PX6F3LHL.js';
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkUTIPENPW_cjs = require('../../chunk-UTIPENPW.cjs');
|
|
4
|
+
require('../../chunk-LC3JL2HB.cjs');
|
|
5
5
|
require('../../chunk-NNEFAUHV.cjs');
|
|
6
6
|
require('../../chunk-FHY3K6PL.cjs');
|
|
7
7
|
require('../../chunk-SCV7C55E.cjs');
|
|
8
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-EACNRR3C.cjs');
|
|
9
|
+
require('../../chunk-ANMX7YDL.cjs');
|
|
9
10
|
require('../../chunk-DXEPYK3I.cjs');
|
|
10
11
|
require('../../chunk-IEY3ZJIT.cjs');
|
|
11
12
|
require('../../chunk-S5RVSXDV.cjs');
|
|
@@ -15,7 +16,19 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
15
16
|
|
|
16
17
|
Object.defineProperty(exports, "AlertDialog", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkUTIPENPW_cjs.AlertDialog; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "ConfirmDialogProvider", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkUTIPENPW_cjs.ConfirmDialogProvider; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "defaultAlertDialogLabels", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkUTIPENPW_cjs.defaultAlertDialogLabels; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "useConfirm", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkUTIPENPW_cjs.useConfirm; }
|
|
19
32
|
});
|
|
20
33
|
//# sourceMappingURL=index.cjs.map
|
|
21
34
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -29,6 +29,18 @@ interface ModalProps extends VariantProps<typeof modalContentVariants> {
|
|
|
29
29
|
'aria-describedby'?: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
type AlertDialogVariant = 'default' | 'destructive' | 'warning' | 'success' | 'info';
|
|
33
|
+
interface AlertDialogLabels {
|
|
34
|
+
/** Cancel button */
|
|
35
|
+
cancel: string;
|
|
36
|
+
/** Action button */
|
|
37
|
+
action: string;
|
|
38
|
+
/** Action button while an async `onAction` is pending */
|
|
39
|
+
busy: string;
|
|
40
|
+
/** Action button of `useConfirm().alert()` */
|
|
41
|
+
acknowledge: string;
|
|
42
|
+
}
|
|
43
|
+
declare const defaultAlertDialogLabels: AlertDialogLabels;
|
|
32
44
|
interface AlertDialogProps extends Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
33
45
|
/** Dialog title */
|
|
34
46
|
title: React.ReactNode;
|
|
@@ -36,29 +48,34 @@ interface AlertDialogProps extends Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
|
36
48
|
description?: React.ReactNode;
|
|
37
49
|
/** Custom body content (rendered below the description) */
|
|
38
50
|
children?: React.ReactNode;
|
|
39
|
-
/** Label for the cancel button
|
|
51
|
+
/** Label for the cancel button; overrides `labels.cancel` */
|
|
40
52
|
cancelLabel?: React.ReactNode;
|
|
41
|
-
/** Label for the confirm/action button
|
|
53
|
+
/** Label for the confirm/action button; overrides `labels.action` */
|
|
42
54
|
actionLabel?: React.ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Called when the action button is clicked. Return a Promise to show a busy
|
|
57
|
+
* state; the dialog closes when it resolves and stays open if it rejects.
|
|
58
|
+
*/
|
|
59
|
+
onAction?: () => void | Promise<unknown>;
|
|
45
60
|
/** Called when the cancel button is clicked */
|
|
46
61
|
onCancel?: () => void;
|
|
47
|
-
/**
|
|
48
|
-
variant?:
|
|
62
|
+
/** Tone of the dialog: icon, action button colour and initial focus */
|
|
63
|
+
variant?: AlertDialogVariant;
|
|
49
64
|
/** Disables the action button */
|
|
50
65
|
actionDisabled?: boolean;
|
|
51
66
|
/** Hides the cancel button */
|
|
52
67
|
hideCancel?: boolean;
|
|
68
|
+
/** User-facing strings; English defaults in `defaultAlertDialogLabels` */
|
|
69
|
+
labels?: Partial<AlertDialogLabels>;
|
|
53
70
|
/** Additional class name for the dialog content */
|
|
54
71
|
className?: string;
|
|
55
72
|
}
|
|
56
73
|
/**
|
|
57
|
-
* A modal dialog that interrupts the user with
|
|
58
|
-
* a response. Built on top of {@link Modal}.
|
|
74
|
+
* A modal dialog (`role="alertdialog"`) that interrupts the user with
|
|
75
|
+
* important content and expects a response. Built on top of {@link Modal}.
|
|
59
76
|
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
77
|
+
* It does not close on overlay click or Escape — the user must explicitly
|
|
78
|
+
* choose an action.
|
|
62
79
|
*
|
|
63
80
|
* @example
|
|
64
81
|
* ```tsx
|
|
@@ -69,13 +86,49 @@ interface AlertDialogProps extends Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
|
69
86
|
* description="This action cannot be undone."
|
|
70
87
|
* variant="destructive"
|
|
71
88
|
* actionLabel="Delete"
|
|
72
|
-
* onAction={
|
|
89
|
+
* onAction={() => deleteCase(id)}
|
|
73
90
|
* />
|
|
74
91
|
* ```
|
|
75
92
|
*/
|
|
76
|
-
declare function AlertDialog({ open, onOpenChange, title, description, children, cancelLabel, actionLabel, onAction, onCancel, variant, actionDisabled, hideCancel, className, }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare function AlertDialog({ open, onOpenChange, title, description, children, cancelLabel, actionLabel, onAction, onCancel, variant, actionDisabled, hideCancel, labels, className, }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
77
94
|
declare namespace AlertDialog {
|
|
78
95
|
var displayName: string;
|
|
79
96
|
}
|
|
80
97
|
|
|
81
|
-
|
|
98
|
+
interface ConfirmOptions {
|
|
99
|
+
title: React.ReactNode;
|
|
100
|
+
description?: React.ReactNode;
|
|
101
|
+
actionLabel?: React.ReactNode;
|
|
102
|
+
cancelLabel?: React.ReactNode;
|
|
103
|
+
variant?: AlertDialogVariant;
|
|
104
|
+
}
|
|
105
|
+
type AlertOptions = Omit<ConfirmOptions, 'cancelLabel'>;
|
|
106
|
+
interface ConfirmApi {
|
|
107
|
+
/** Resolves `true` when the user confirms, `false` when they cancel. */
|
|
108
|
+
confirm: (options: ConfirmOptions) => Promise<boolean>;
|
|
109
|
+
/** Shows a dialog with only an acknowledge button; resolves when dismissed. */
|
|
110
|
+
alert: (options: AlertOptions) => Promise<void>;
|
|
111
|
+
}
|
|
112
|
+
interface ConfirmDialogProviderProps {
|
|
113
|
+
children: React.ReactNode;
|
|
114
|
+
/** Default strings for every dialog the provider opens */
|
|
115
|
+
labels?: Partial<AlertDialogLabels>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Renders one {@link AlertDialog} and exposes it imperatively through
|
|
119
|
+
* {@link useConfirm}. Mount once near the app root.
|
|
120
|
+
*/
|
|
121
|
+
declare function ConfirmDialogProvider({ children, labels, }: ConfirmDialogProviderProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
/**
|
|
123
|
+
* Promise-based confirm/alert dialogs. Requires a {@link ConfirmDialogProvider}
|
|
124
|
+
* ancestor.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```tsx
|
|
128
|
+
* const { confirm } = useConfirm();
|
|
129
|
+
* if (await confirm({ title: 'Delete case?', variant: 'destructive' })) remove();
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
declare function useConfirm(): ConfirmApi;
|
|
133
|
+
|
|
134
|
+
export { AlertDialog, type AlertDialogLabels, type AlertDialogProps, type AlertDialogVariant, type AlertOptions, type ConfirmApi, ConfirmDialogProvider, type ConfirmDialogProviderProps, type ConfirmOptions, defaultAlertDialogLabels, useConfirm };
|
|
@@ -29,6 +29,18 @@ interface ModalProps extends VariantProps<typeof modalContentVariants> {
|
|
|
29
29
|
'aria-describedby'?: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
type AlertDialogVariant = 'default' | 'destructive' | 'warning' | 'success' | 'info';
|
|
33
|
+
interface AlertDialogLabels {
|
|
34
|
+
/** Cancel button */
|
|
35
|
+
cancel: string;
|
|
36
|
+
/** Action button */
|
|
37
|
+
action: string;
|
|
38
|
+
/** Action button while an async `onAction` is pending */
|
|
39
|
+
busy: string;
|
|
40
|
+
/** Action button of `useConfirm().alert()` */
|
|
41
|
+
acknowledge: string;
|
|
42
|
+
}
|
|
43
|
+
declare const defaultAlertDialogLabels: AlertDialogLabels;
|
|
32
44
|
interface AlertDialogProps extends Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
33
45
|
/** Dialog title */
|
|
34
46
|
title: React.ReactNode;
|
|
@@ -36,29 +48,34 @@ interface AlertDialogProps extends Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
|
36
48
|
description?: React.ReactNode;
|
|
37
49
|
/** Custom body content (rendered below the description) */
|
|
38
50
|
children?: React.ReactNode;
|
|
39
|
-
/** Label for the cancel button
|
|
51
|
+
/** Label for the cancel button; overrides `labels.cancel` */
|
|
40
52
|
cancelLabel?: React.ReactNode;
|
|
41
|
-
/** Label for the confirm/action button
|
|
53
|
+
/** Label for the confirm/action button; overrides `labels.action` */
|
|
42
54
|
actionLabel?: React.ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Called when the action button is clicked. Return a Promise to show a busy
|
|
57
|
+
* state; the dialog closes when it resolves and stays open if it rejects.
|
|
58
|
+
*/
|
|
59
|
+
onAction?: () => void | Promise<unknown>;
|
|
45
60
|
/** Called when the cancel button is clicked */
|
|
46
61
|
onCancel?: () => void;
|
|
47
|
-
/**
|
|
48
|
-
variant?:
|
|
62
|
+
/** Tone of the dialog: icon, action button colour and initial focus */
|
|
63
|
+
variant?: AlertDialogVariant;
|
|
49
64
|
/** Disables the action button */
|
|
50
65
|
actionDisabled?: boolean;
|
|
51
66
|
/** Hides the cancel button */
|
|
52
67
|
hideCancel?: boolean;
|
|
68
|
+
/** User-facing strings; English defaults in `defaultAlertDialogLabels` */
|
|
69
|
+
labels?: Partial<AlertDialogLabels>;
|
|
53
70
|
/** Additional class name for the dialog content */
|
|
54
71
|
className?: string;
|
|
55
72
|
}
|
|
56
73
|
/**
|
|
57
|
-
* A modal dialog that interrupts the user with
|
|
58
|
-
* a response. Built on top of {@link Modal}.
|
|
74
|
+
* A modal dialog (`role="alertdialog"`) that interrupts the user with
|
|
75
|
+
* important content and expects a response. Built on top of {@link Modal}.
|
|
59
76
|
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
77
|
+
* It does not close on overlay click or Escape — the user must explicitly
|
|
78
|
+
* choose an action.
|
|
62
79
|
*
|
|
63
80
|
* @example
|
|
64
81
|
* ```tsx
|
|
@@ -69,13 +86,49 @@ interface AlertDialogProps extends Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
|
69
86
|
* description="This action cannot be undone."
|
|
70
87
|
* variant="destructive"
|
|
71
88
|
* actionLabel="Delete"
|
|
72
|
-
* onAction={
|
|
89
|
+
* onAction={() => deleteCase(id)}
|
|
73
90
|
* />
|
|
74
91
|
* ```
|
|
75
92
|
*/
|
|
76
|
-
declare function AlertDialog({ open, onOpenChange, title, description, children, cancelLabel, actionLabel, onAction, onCancel, variant, actionDisabled, hideCancel, className, }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare function AlertDialog({ open, onOpenChange, title, description, children, cancelLabel, actionLabel, onAction, onCancel, variant, actionDisabled, hideCancel, labels, className, }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
77
94
|
declare namespace AlertDialog {
|
|
78
95
|
var displayName: string;
|
|
79
96
|
}
|
|
80
97
|
|
|
81
|
-
|
|
98
|
+
interface ConfirmOptions {
|
|
99
|
+
title: React.ReactNode;
|
|
100
|
+
description?: React.ReactNode;
|
|
101
|
+
actionLabel?: React.ReactNode;
|
|
102
|
+
cancelLabel?: React.ReactNode;
|
|
103
|
+
variant?: AlertDialogVariant;
|
|
104
|
+
}
|
|
105
|
+
type AlertOptions = Omit<ConfirmOptions, 'cancelLabel'>;
|
|
106
|
+
interface ConfirmApi {
|
|
107
|
+
/** Resolves `true` when the user confirms, `false` when they cancel. */
|
|
108
|
+
confirm: (options: ConfirmOptions) => Promise<boolean>;
|
|
109
|
+
/** Shows a dialog with only an acknowledge button; resolves when dismissed. */
|
|
110
|
+
alert: (options: AlertOptions) => Promise<void>;
|
|
111
|
+
}
|
|
112
|
+
interface ConfirmDialogProviderProps {
|
|
113
|
+
children: React.ReactNode;
|
|
114
|
+
/** Default strings for every dialog the provider opens */
|
|
115
|
+
labels?: Partial<AlertDialogLabels>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Renders one {@link AlertDialog} and exposes it imperatively through
|
|
119
|
+
* {@link useConfirm}. Mount once near the app root.
|
|
120
|
+
*/
|
|
121
|
+
declare function ConfirmDialogProvider({ children, labels, }: ConfirmDialogProviderProps): react_jsx_runtime.JSX.Element;
|
|
122
|
+
/**
|
|
123
|
+
* Promise-based confirm/alert dialogs. Requires a {@link ConfirmDialogProvider}
|
|
124
|
+
* ancestor.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```tsx
|
|
128
|
+
* const { confirm } = useConfirm();
|
|
129
|
+
* if (await confirm({ title: 'Delete case?', variant: 'destructive' })) remove();
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
declare function useConfirm(): ConfirmApi;
|
|
133
|
+
|
|
134
|
+
export { AlertDialog, type AlertDialogLabels, type AlertDialogProps, type AlertDialogVariant, type AlertOptions, type ConfirmApi, ConfirmDialogProvider, type ConfirmDialogProviderProps, type ConfirmOptions, defaultAlertDialogLabels, useConfirm };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { AlertDialog } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { AlertDialog, ConfirmDialogProvider, defaultAlertDialogLabels, useConfirm } from '../../chunk-56VTM4OX.js';
|
|
2
|
+
import '../../chunk-TWQSMUE6.js';
|
|
3
3
|
import '../../chunk-4SMSH4OY.js';
|
|
4
4
|
import '../../chunk-T4ME7QCT.js';
|
|
5
5
|
import '../../chunk-VSQF22GL.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-N5JDL4VE.js';
|
|
7
|
+
import '../../chunk-WFBUBT54.js';
|
|
7
8
|
import '../../chunk-GVM6DTR5.js';
|
|
8
9
|
import '../../chunk-F4N67NAF.js';
|
|
9
10
|
import '../../chunk-TQONQSJO.js';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVOYLX32A_cjs = require('../../chunk-VOYLX32A.cjs');
|
|
4
|
+
require('../../chunk-IWRBJHO3.cjs');
|
|
5
|
+
require('../../chunk-7IRTD4JT.cjs');
|
|
6
|
+
require('../../chunk-YGA35Z2P.cjs');
|
|
7
|
+
require('../../chunk-VBWRH4UW.cjs');
|
|
8
|
+
require('../../chunk-P22YCUVM.cjs');
|
|
9
|
+
require('../../chunk-Q3YVLO52.cjs');
|
|
10
|
+
require('../../chunk-GKDHMNUA.cjs');
|
|
11
|
+
require('../../chunk-YVL3XATO.cjs');
|
|
12
|
+
require('../../chunk-EACNRR3C.cjs');
|
|
13
|
+
require('../../chunk-ANMX7YDL.cjs');
|
|
14
|
+
require('../../chunk-DXEPYK3I.cjs');
|
|
15
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
16
|
+
require('../../chunk-EUAMEVVI.cjs');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Object.defineProperty(exports, "AssociationList", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkVOYLX32A_cjs.AssociationList; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "defaultAssociationListLabels", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkVOYLX32A_cjs.defaultAssociationListLabels; }
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.cjs.map
|
|
29
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface AssociationListItem {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
avatarUrl?: string;
|
|
8
|
+
}
|
|
9
|
+
interface AssociationListLabels {
|
|
10
|
+
loading: string;
|
|
11
|
+
empty: string;
|
|
12
|
+
error: string;
|
|
13
|
+
retry: string;
|
|
14
|
+
add: string;
|
|
15
|
+
/** Accessible name of an item's remove button. */
|
|
16
|
+
remove: (name: string) => string;
|
|
17
|
+
showAll: (count: number) => string;
|
|
18
|
+
showLess: string;
|
|
19
|
+
}
|
|
20
|
+
declare const defaultAssociationListLabels: AssociationListLabels;
|
|
21
|
+
type AssociationListSlot = 'header' | 'list' | 'item' | 'toggle' | 'state';
|
|
22
|
+
interface AssociationListProps extends Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'title'> {
|
|
23
|
+
/** Card heading, e.g. "Contacts". */
|
|
24
|
+
title: string;
|
|
25
|
+
items: AssociationListItem[];
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
error?: Error | null;
|
|
28
|
+
onRetry?: () => void;
|
|
29
|
+
/** Items shown before "Show all". Defaults to 5. */
|
|
30
|
+
maxVisible?: number;
|
|
31
|
+
onOpen?: (id: string, item: AssociationListItem) => void;
|
|
32
|
+
getHref?: (id: string, item: AssociationListItem) => string;
|
|
33
|
+
/** Renders the header's add button. */
|
|
34
|
+
onAdd?: () => void;
|
|
35
|
+
/** Confirmation is the caller's; the row shows pending until the promise settles. */
|
|
36
|
+
onRemove?: (id: string, item: AssociationListItem) => void | Promise<void>;
|
|
37
|
+
/** Trailing content per row, e.g. a role badge. */
|
|
38
|
+
renderItemMeta?: (item: AssociationListItem) => React.ReactNode;
|
|
39
|
+
emptyState?: React.ReactNode;
|
|
40
|
+
labels?: Partial<AssociationListLabels>;
|
|
41
|
+
classNames?: Partial<Record<AssociationListSlot, string>>;
|
|
42
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A card of records related to the current one. Declared
|
|
46
|
+
* `parameters.catalog.collection` — its load states are part of the API.
|
|
47
|
+
*/
|
|
48
|
+
declare const AssociationList: React.ForwardRefExoticComponent<AssociationListProps & React.RefAttributes<HTMLElement>>;
|
|
49
|
+
|
|
50
|
+
export { AssociationList, type AssociationListItem, type AssociationListLabels, type AssociationListProps, type AssociationListSlot, defaultAssociationListLabels };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface AssociationListItem {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
avatarUrl?: string;
|
|
8
|
+
}
|
|
9
|
+
interface AssociationListLabels {
|
|
10
|
+
loading: string;
|
|
11
|
+
empty: string;
|
|
12
|
+
error: string;
|
|
13
|
+
retry: string;
|
|
14
|
+
add: string;
|
|
15
|
+
/** Accessible name of an item's remove button. */
|
|
16
|
+
remove: (name: string) => string;
|
|
17
|
+
showAll: (count: number) => string;
|
|
18
|
+
showLess: string;
|
|
19
|
+
}
|
|
20
|
+
declare const defaultAssociationListLabels: AssociationListLabels;
|
|
21
|
+
type AssociationListSlot = 'header' | 'list' | 'item' | 'toggle' | 'state';
|
|
22
|
+
interface AssociationListProps extends Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'title'> {
|
|
23
|
+
/** Card heading, e.g. "Contacts". */
|
|
24
|
+
title: string;
|
|
25
|
+
items: AssociationListItem[];
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
error?: Error | null;
|
|
28
|
+
onRetry?: () => void;
|
|
29
|
+
/** Items shown before "Show all". Defaults to 5. */
|
|
30
|
+
maxVisible?: number;
|
|
31
|
+
onOpen?: (id: string, item: AssociationListItem) => void;
|
|
32
|
+
getHref?: (id: string, item: AssociationListItem) => string;
|
|
33
|
+
/** Renders the header's add button. */
|
|
34
|
+
onAdd?: () => void;
|
|
35
|
+
/** Confirmation is the caller's; the row shows pending until the promise settles. */
|
|
36
|
+
onRemove?: (id: string, item: AssociationListItem) => void | Promise<void>;
|
|
37
|
+
/** Trailing content per row, e.g. a role badge. */
|
|
38
|
+
renderItemMeta?: (item: AssociationListItem) => React.ReactNode;
|
|
39
|
+
emptyState?: React.ReactNode;
|
|
40
|
+
labels?: Partial<AssociationListLabels>;
|
|
41
|
+
classNames?: Partial<Record<AssociationListSlot, string>>;
|
|
42
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A card of records related to the current one. Declared
|
|
46
|
+
* `parameters.catalog.collection` — its load states are part of the API.
|
|
47
|
+
*/
|
|
48
|
+
declare const AssociationList: React.ForwardRefExoticComponent<AssociationListProps & React.RefAttributes<HTMLElement>>;
|
|
49
|
+
|
|
50
|
+
export { AssociationList, type AssociationListItem, type AssociationListLabels, type AssociationListProps, type AssociationListSlot, defaultAssociationListLabels };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { AssociationList, defaultAssociationListLabels } from '../../chunk-LRRSD7LR.js';
|
|
2
|
+
import '../../chunk-FTEZNCRI.js';
|
|
3
|
+
import '../../chunk-Y424YL55.js';
|
|
4
|
+
import '../../chunk-ZIUADGAR.js';
|
|
5
|
+
import '../../chunk-IQ4KQJAO.js';
|
|
6
|
+
import '../../chunk-H2Y7HZV5.js';
|
|
7
|
+
import '../../chunk-DVDT7TX7.js';
|
|
8
|
+
import '../../chunk-TI3TQQ7F.js';
|
|
9
|
+
import '../../chunk-BMSG4NBH.js';
|
|
10
|
+
import '../../chunk-N5JDL4VE.js';
|
|
11
|
+
import '../../chunk-WFBUBT54.js';
|
|
12
|
+
import '../../chunk-GVM6DTR5.js';
|
|
13
|
+
import '../../chunk-TQONQSJO.js';
|
|
14
|
+
import '../../chunk-PX6F3LHL.js';
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|