@feugene/granularity 0.13.0 → 0.16.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 +14 -1
- package/dist/chunks/adapter-CAOxmn2G.js.map +1 -1
- package/dist/chunks/check-BZI24Qs4.js +23 -0
- package/dist/chunks/check-BZI24Qs4.js.map +1 -0
- package/dist/chunks/chevron-down-CQS2OG_s.js +23 -0
- package/dist/chunks/chevron-down-CQS2OG_s.js.map +1 -0
- package/dist/chunks/chevron-right-BfqMVpbB.js +44 -0
- package/dist/chunks/chevron-right-BfqMVpbB.js.map +1 -0
- package/dist/chunks/config-06SQjBx0.js +96 -0
- package/dist/chunks/config-06SQjBx0.js.map +1 -0
- package/dist/chunks/config-A-bBiotF.js +12 -0
- package/dist/chunks/config-A-bBiotF.js.map +1 -0
- package/dist/chunks/config-B-g6lT19.js +19 -0
- package/dist/chunks/config-B-g6lT19.js.map +1 -0
- package/dist/chunks/config-B-iNaGdw.js +199 -0
- package/dist/chunks/config-B-iNaGdw.js.map +1 -0
- package/dist/chunks/config-B84z1aos.js +19 -0
- package/dist/chunks/config-B84z1aos.js.map +1 -0
- package/dist/chunks/config-BE6n20np.js +27 -0
- package/dist/chunks/config-BE6n20np.js.map +1 -0
- package/dist/chunks/config-BKvX0q10.js +89 -0
- package/dist/chunks/config-BKvX0q10.js.map +1 -0
- package/dist/chunks/config-BN4sXYXn.js +77 -0
- package/dist/chunks/config-BN4sXYXn.js.map +1 -0
- package/dist/chunks/config-BNfQwyL4.js +97 -0
- package/dist/chunks/config-BNfQwyL4.js.map +1 -0
- package/dist/chunks/config-BNu8lFQB.js.map +1 -1
- package/dist/chunks/config-BSyiFlbi.js +17 -0
- package/dist/chunks/config-BSyiFlbi.js.map +1 -0
- package/dist/chunks/config-BViooYNv.js +13 -0
- package/dist/chunks/config-BViooYNv.js.map +1 -0
- package/dist/chunks/config-BbY2SKGE.js +90 -0
- package/dist/chunks/config-BbY2SKGE.js.map +1 -0
- package/dist/chunks/config-BeZRuonp.js +54 -0
- package/dist/chunks/config-BeZRuonp.js.map +1 -0
- package/dist/chunks/config-BoNR7_PD.js +140 -0
- package/dist/chunks/config-BoNR7_PD.js.map +1 -0
- package/dist/chunks/config-Bpt9Xbxm.js +49 -0
- package/dist/chunks/config-Bpt9Xbxm.js.map +1 -0
- package/dist/chunks/config-BqFjr3tN.js +131 -0
- package/dist/chunks/config-BqFjr3tN.js.map +1 -0
- package/dist/chunks/config-BsuDM3Hb.js +55 -0
- package/dist/chunks/config-BsuDM3Hb.js.map +1 -0
- package/dist/chunks/config-BtXRpAtq.js +48 -0
- package/dist/chunks/config-BtXRpAtq.js.map +1 -0
- package/dist/chunks/config-BuGlNPE9.js +8 -0
- package/dist/chunks/config-BuGlNPE9.js.map +1 -0
- package/dist/chunks/config-C0Ea9ePP.js +15 -0
- package/dist/chunks/config-C0Ea9ePP.js.map +1 -0
- package/dist/chunks/config-CN2ULSQL2.js +36 -0
- package/dist/chunks/config-CN2ULSQL2.js.map +1 -0
- package/dist/chunks/config-CN970ZcJ.js +113 -0
- package/dist/chunks/config-CN970ZcJ.js.map +1 -0
- package/dist/chunks/config-COvrUfhR.js +83 -0
- package/dist/chunks/config-COvrUfhR.js.map +1 -0
- package/dist/chunks/config-CQzGyi1C.js +54 -0
- package/dist/chunks/config-CQzGyi1C.js.map +1 -0
- package/dist/chunks/config-CY0_6cMi.js +51 -0
- package/dist/chunks/config-CY0_6cMi.js.map +1 -0
- package/dist/chunks/config-CjXjhphs.js +12 -0
- package/dist/chunks/config-CjXjhphs.js.map +1 -0
- package/dist/chunks/config-CjnbevbD.js +13 -0
- package/dist/chunks/config-CjnbevbD.js.map +1 -0
- package/dist/chunks/config-Cl4ST6Qd.js +21 -0
- package/dist/chunks/config-Cl4ST6Qd.js.map +1 -0
- package/dist/chunks/config-Cp0DE0GH.js +12 -0
- package/dist/chunks/config-Cp0DE0GH.js.map +1 -0
- package/dist/chunks/config-CpwwkFBO.js +72 -0
- package/dist/chunks/config-CpwwkFBO.js.map +1 -0
- package/dist/chunks/config-CvC0sX8p.js +81 -0
- package/dist/chunks/config-CvC0sX8p.js.map +1 -0
- package/dist/chunks/config-Cw6TDzWv2.js +72 -0
- package/dist/chunks/config-Cw6TDzWv2.js.map +1 -0
- package/dist/chunks/config-Cwd3yjRw.js +41 -0
- package/dist/chunks/config-Cwd3yjRw.js.map +1 -0
- package/dist/chunks/config-D3_g2KIn.js +120 -0
- package/dist/chunks/config-D3_g2KIn.js.map +1 -0
- package/dist/chunks/config-D6W1rnlp.js +26 -0
- package/dist/chunks/config-D6W1rnlp.js.map +1 -0
- package/dist/chunks/config-D8tSR2uS.js +103 -0
- package/dist/chunks/config-D8tSR2uS.js.map +1 -0
- package/dist/chunks/config-D94Z9po52.js +126 -0
- package/dist/chunks/config-D94Z9po52.js.map +1 -0
- package/dist/chunks/config-DBmdgoVf.js.map +1 -1
- package/dist/chunks/config-DCFvmHEv.js +76 -0
- package/dist/chunks/config-DCFvmHEv.js.map +1 -0
- package/dist/chunks/config-DKdlqXiY.js +109 -0
- package/dist/chunks/config-DKdlqXiY.js.map +1 -0
- package/dist/chunks/config-DP7eseR1.js +92 -0
- package/dist/chunks/config-DP7eseR1.js.map +1 -0
- package/dist/chunks/config-DSJY6aEl.js +80 -0
- package/dist/chunks/config-DSJY6aEl.js.map +1 -0
- package/dist/chunks/config-DU2DNSRx2.js +116 -0
- package/dist/chunks/config-DU2DNSRx2.js.map +1 -0
- package/dist/chunks/config-DhHbU3zO.js +37 -0
- package/dist/chunks/config-DhHbU3zO.js.map +1 -0
- package/dist/chunks/config-DpeQchsV.js +21 -0
- package/dist/chunks/config-DpeQchsV.js.map +1 -0
- package/dist/chunks/config-DpqOnJiz2.js.map +1 -0
- package/dist/chunks/config-DvQIb4kb.js +98 -0
- package/dist/chunks/config-DvQIb4kb.js.map +1 -0
- package/dist/chunks/config-DxCTVBfx.js +97 -0
- package/dist/chunks/config-DxCTVBfx.js.map +1 -0
- package/dist/chunks/config-K0C2tcLB.js +84 -0
- package/dist/chunks/config-K0C2tcLB.js.map +1 -0
- package/dist/chunks/config-QaIc_gRa.js.map +1 -0
- package/dist/chunks/config-Rw9OyW70.js +87 -0
- package/dist/chunks/config-Rw9OyW70.js.map +1 -0
- package/dist/chunks/config-T3qdQBgU.js +40 -0
- package/dist/chunks/config-T3qdQBgU.js.map +1 -0
- package/dist/chunks/config-WTNhdh6T2.js +20 -0
- package/dist/chunks/config-WTNhdh6T2.js.map +1 -0
- package/dist/chunks/config-Zc_bUvZY2.js +23 -0
- package/dist/chunks/config-Zc_bUvZY2.js.map +1 -0
- package/dist/chunks/config-_qPUfb6-2.js +165 -0
- package/dist/chunks/config-_qPUfb6-2.js.map +1 -0
- package/dist/chunks/config-eXB87DOi2.js.map +1 -0
- package/dist/chunks/config-esdviAPL.js +41 -0
- package/dist/chunks/config-esdviAPL.js.map +1 -0
- package/dist/chunks/config-gwro_7yn.js +55 -0
- package/dist/chunks/config-gwro_7yn.js.map +1 -0
- package/dist/chunks/config-qVg3Zz_A.js +30 -0
- package/dist/chunks/config-qVg3Zz_A.js.map +1 -0
- package/dist/chunks/config-zjeAJ4ho.js +64 -0
- package/dist/chunks/config-zjeAJ4ho.js.map +1 -0
- package/dist/chunks/context-BSYR7RZs.js +152 -0
- package/dist/chunks/context-BSYR7RZs.js.map +1 -0
- package/dist/chunks/context-BfIQv7m1.js +18 -0
- package/dist/chunks/context-BfIQv7m1.js.map +1 -0
- package/dist/chunks/context-Bfrgsluh.js.map +1 -1
- package/dist/chunks/context-DdNIxa1w.js.map +1 -1
- package/dist/chunks/dialogShared-CxW62PQE.js.map +1 -1
- package/dist/chunks/en-B3xMeswz.js +327 -0
- package/dist/chunks/en-B3xMeswz.js.map +1 -0
- package/dist/chunks/es-Bv8vvqdT.js +20 -0
- package/dist/chunks/es-Bv8vvqdT.js.map +1 -0
- package/dist/chunks/es-CA-mkU--.js +329 -0
- package/dist/chunks/es-CA-mkU--.js.map +1 -0
- package/dist/chunks/fileValidation-D5TFBhbv.js +296 -0
- package/dist/chunks/fileValidation-D5TFBhbv.js.map +1 -0
- package/dist/chunks/focusables-BkzK42SQ.js +87 -0
- package/dist/chunks/focusables-BkzK42SQ.js.map +1 -0
- package/dist/chunks/grBadgeStyles-C2wLlkjF.js +61 -0
- package/dist/chunks/grBadgeStyles-C2wLlkjF.js.map +1 -0
- package/dist/chunks/grButtonStyles-B_-YRE__.js +221 -0
- package/dist/chunks/grButtonStyles-B_-YRE__.js.map +1 -0
- package/dist/chunks/grCheckboxStyles-hOAgURZG.js +82 -0
- package/dist/chunks/grCheckboxStyles-hOAgURZG.js.map +1 -0
- package/dist/chunks/grDropdownStyles-V7TRiCXn.js +24 -0
- package/dist/chunks/grDropdownStyles-V7TRiCXn.js.map +1 -0
- package/dist/chunks/grFormFieldStyles-BkeZHIw0.js +32 -0
- package/dist/chunks/grFormFieldStyles-BkeZHIw0.js.map +1 -0
- package/dist/chunks/grIconStyles-BwJrml2L.js +44 -0
- package/dist/chunks/grIconStyles-BwJrml2L.js.map +1 -0
- package/dist/chunks/grInputStyles-CJeMhUe5.js +66 -0
- package/dist/chunks/grInputStyles-CJeMhUe5.js.map +1 -0
- package/dist/chunks/grKbdStyles-DAoxiytu.js +31 -0
- package/dist/chunks/grKbdStyles-DAoxiytu.js.map +1 -0
- package/dist/chunks/grLinkStyles-BoL8QYcV.js +84 -0
- package/dist/chunks/grLinkStyles-BoL8QYcV.js.map +1 -0
- package/dist/chunks/grLoadingStyles-DEmji2wv.js +30 -0
- package/dist/chunks/grLoadingStyles-DEmji2wv.js.map +1 -0
- package/dist/chunks/grModalStyles-EZfuEiw_.js +77 -0
- package/dist/chunks/grModalStyles-EZfuEiw_.js.map +1 -0
- package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js +46 -0
- package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js.map +1 -0
- package/dist/chunks/grSelectStyles-eTz4uPMP.js +147 -0
- package/dist/chunks/grSelectStyles-eTz4uPMP.js.map +1 -0
- package/dist/chunks/grSliderStyles-B5uNxNJq.js +133 -0
- package/dist/chunks/grSliderStyles-B5uNxNJq.js.map +1 -0
- package/dist/chunks/grStyle-CrgLQKKf.js +46 -0
- package/dist/chunks/grStyle-CrgLQKKf.js.map +1 -0
- package/dist/chunks/grTableStyles-C-iaqQUN.js +26 -0
- package/dist/chunks/grTableStyles-C-iaqQUN.js.map +1 -0
- package/dist/chunks/grTextareaStyles-CWI2SqC8.js +50 -0
- package/dist/chunks/grTextareaStyles-CWI2SqC8.js.map +1 -0
- package/dist/chunks/granular-provider-CtrXGa7c.js +193 -0
- package/dist/chunks/granular-provider-CtrXGa7c.js.map +1 -0
- package/dist/chunks/granularityI18n-BC5zsj_d.js +68 -0
- package/dist/chunks/granularityI18n-BC5zsj_d.js.map +1 -0
- package/dist/chunks/inert-DIHCCn_1.js +78 -0
- package/dist/chunks/inert-DIHCCn_1.js.map +1 -0
- package/dist/chunks/keyboard-zYvvyHd4.js +61 -0
- package/dist/chunks/keyboard-zYvvyHd4.js.map +1 -0
- package/dist/chunks/loader-2-B1fdsdWW.js +23 -0
- package/dist/chunks/loader-2-B1fdsdWW.js.map +1 -0
- package/dist/chunks/minus-oxdbHF33.js +23 -0
- package/dist/chunks/minus-oxdbHF33.js.map +1 -0
- package/dist/chunks/optionFilter-BVY988pC.js +149 -0
- package/dist/chunks/optionFilter-BVY988pC.js.map +1 -0
- package/dist/chunks/portalRoot-CWD4zHBm.js +35 -0
- package/dist/chunks/portalRoot-CWD4zHBm.js.map +1 -0
- package/dist/chunks/ru-COWxgh2A.js +331 -0
- package/dist/chunks/ru-COWxgh2A.js.map +1 -0
- package/dist/chunks/safelist-CudBLyAD.js +26 -0
- package/dist/chunks/safelist-CudBLyAD.js.map +1 -0
- package/dist/chunks/slotNodes-DxNXpC7v.js +39 -0
- package/dist/chunks/slotNodes-DxNXpC7v.js.map +1 -0
- package/dist/chunks/useControlAddons-asUr10Pf.js +128 -0
- package/dist/chunks/useControlAddons-asUr10Pf.js.map +1 -0
- package/dist/chunks/useControlledOpen-DV3SqLTP.js +27 -0
- package/dist/chunks/useControlledOpen-DV3SqLTP.js.map +1 -0
- package/dist/chunks/useFilePreviews-DnwgdyBs.js +53 -0
- package/dist/chunks/useFilePreviews-DnwgdyBs.js.map +1 -0
- package/dist/chunks/useFocusWithin-BwHE0rzm.js +33 -0
- package/dist/chunks/useFocusWithin-BwHE0rzm.js.map +1 -0
- package/dist/chunks/useModalOverlay-DCM4d3yA.js +212 -0
- package/dist/chunks/useModalOverlay-DCM4d3yA.js.map +1 -0
- package/dist/chunks/useOverlayLayer-BupuP_hs.js +149 -0
- package/dist/chunks/useOverlayLayer-BupuP_hs.js.map +1 -0
- package/dist/chunks/usePortalTarget-RyzEgNTb.js +77 -0
- package/dist/chunks/usePortalTarget-RyzEgNTb.js.map +1 -0
- package/dist/chunks/validation-5HhpanPP.js +178 -0
- package/dist/chunks/validation-5HhpanPP.js.map +1 -0
- package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js +272 -0
- package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js.map +1 -0
- package/dist/components/GrAlert/index.js +2 -2
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CQ9T7Lly.js +851 -0
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CQ9T7Lly.js.map +1 -0
- package/dist/components/GrAutocomplete/index.js +2 -2
- package/dist/components/GrAutocomplete/styles.css +1 -0
- package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js +222 -0
- package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js.map +1 -0
- package/dist/components/GrAvatar/index.js +3 -3
- package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js +40 -0
- package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js.map +1 -0
- package/dist/components/GrBadge/index.js +2 -2
- package/dist/components/GrBadge/styles.css +1 -0
- package/dist/components/GrBadge/themes/dark.css +19 -0
- package/dist/components/GrBadge/themes/light.css +18 -0
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js +97 -0
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js.map +1 -0
- package/dist/components/GrBadgeWrap/index.js +3 -3
- package/dist/components/GrBadgeWrap/styles.css +1 -0
- package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js +117 -0
- package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js.map +1 -0
- package/dist/components/GrBottomNav/index.js +3 -3
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js +266 -0
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js.map +1 -0
- package/dist/components/GrBreadcrumbs/index.js +3 -0
- package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js +153 -0
- package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js.map +1 -0
- package/dist/components/GrButton/index.js +5 -5
- package/dist/components/GrButton/themes/dark.css +46 -0
- package/dist/components/GrButton/themes/light.css +82 -0
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js +44 -0
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js.map +1 -0
- package/dist/components/GrButtonGroup/index.js +3 -2
- package/dist/components/GrButtonGroup/styles.css +1 -0
- package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js +89 -0
- package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js.map +1 -0
- package/dist/components/GrCard/index.js +3 -3
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js +262 -0
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js.map +1 -0
- package/dist/components/GrCheckbox/index.js +3 -3
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js +140 -0
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js.map +1 -0
- package/dist/components/GrCheckboxGroup/index.js +3 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js +308 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js.map +1 -0
- package/dist/components/GrCollapse/index.js +3 -3
- package/dist/components/GrColorPicker/chunks/GrColorPicker-bnYBRGk8.js +584 -0
- package/dist/components/GrColorPicker/chunks/GrColorPicker-bnYBRGk8.js.map +1 -0
- package/dist/components/GrColorPicker/index.js +3 -0
- package/dist/components/GrColorPicker/styles.css +1 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-MWDYDPNC.js +566 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-MWDYDPNC.js.map +1 -0
- package/dist/components/GrCommandPalette/index.js +2 -2
- package/dist/components/GrCommandPalette/styles.css +1 -0
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js +144 -0
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js.map +1 -0
- package/dist/components/GrConfigProvider/index.js +2 -2
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DaQmlp1_.js +200 -0
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DaQmlp1_.js.map +1 -0
- package/dist/components/GrConfirmDialog/index.js +2 -2
- package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js +605 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDialog/chunks/GrDialog-AE1gIZuz.js +255 -0
- package/dist/components/GrDialog/chunks/GrDialog-AE1gIZuz.js.map +1 -0
- package/dist/components/GrDialog/index.js +1 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-B4DYWDkA.js +656 -0
- package/dist/components/GrDialogService/chunks/GrDialogService-B4DYWDkA.js.map +1 -0
- package/dist/components/GrDialogService/index.js +3 -3
- package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js +109 -0
- package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js.map +1 -0
- package/dist/components/GrDivider/index.js +3 -3
- package/dist/components/GrDrawer/chunks/GrDrawer-DQwi6aRw.js +251 -0
- package/dist/components/GrDrawer/chunks/GrDrawer-DQwi6aRw.js.map +1 -0
- package/dist/components/GrDrawer/index.js +2 -2
- package/dist/components/GrDropdown/chunks/GrDropdown-BLng6V1m.js +300 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-BLng6V1m.js.map +1 -0
- package/dist/components/GrDropdown/index.js +2 -2
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BImk2Vs7.js +421 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BImk2Vs7.js.map +1 -0
- package/dist/components/GrDropdownMenu/index.js +3 -3
- package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js +86 -0
- package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js.map +1 -0
- package/dist/components/GrEmptyState/index.js +3 -3
- package/dist/components/GrFileUpload/chunks/GrFileUpload-D0B-BEsd.js +1080 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-D0B-BEsd.js.map +1 -0
- package/dist/components/GrFileUpload/index.js +4 -4
- package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js +326 -0
- package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js.map +1 -0
- package/dist/components/GrForm/index.js +3 -2
- package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js +190 -0
- package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js.map +1 -0
- package/dist/components/GrFormField/index.js +3 -3
- package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js +452 -0
- package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js.map +1 -0
- package/dist/components/GrFormFile/index.js +3 -3
- package/dist/components/GrFormFile/styles.css +1 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js +63 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js.map +1 -0
- package/dist/components/GrFormSection/index.js +3 -3
- package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js +57 -0
- package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js.map +1 -0
- package/dist/components/GrIcon/index.js +3 -3
- package/dist/components/GrIcon/styles.css +1 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-BeCnE8XQ.js +1103 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-BeCnE8XQ.js.map +1 -0
- package/dist/components/GrImageViewer/index.js +3 -3
- package/dist/components/GrImageViewer/themes/dark.css +17 -0
- package/dist/components/GrImageViewer/themes/light.css +16 -0
- package/dist/components/GrInput/chunks/GrInput-DD2gYdqS.js +348 -0
- package/dist/components/GrInput/chunks/GrInput-DD2gYdqS.js.map +1 -0
- package/dist/components/GrInput/index.js +2 -2
- package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js +525 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js.map +1 -0
- package/dist/components/GrInputTag/index.js +2 -2
- package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.js +192 -0
- package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.js.map +1 -0
- package/dist/components/GrKbd/index.js +3 -3
- package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js +163 -0
- package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js.map +1 -0
- package/dist/components/GrLink/index.js +2 -2
- package/dist/components/GrList/chunks/GrList-4YU1NZtM.js +277 -0
- package/dist/components/GrList/chunks/GrList-4YU1NZtM.js.map +1 -0
- package/dist/components/GrList/index.js +3 -3
- package/dist/components/GrList/styles.css +1 -0
- package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js +101 -0
- package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js.map +1 -0
- package/dist/components/GrLoading/index.js +2 -2
- package/dist/components/GrModal/chunks/GrModal-B8I78T0N.js +313 -0
- package/dist/components/GrModal/chunks/GrModal-B8I78T0N.js.map +1 -0
- package/dist/components/GrModal/index.js +3 -4
- package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js +104 -0
- package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js.map +1 -0
- package/dist/components/GrNavbar/index.js +3 -3
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js +658 -0
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js.map +1 -0
- package/dist/components/GrNumberInput/index.js +2 -2
- package/dist/components/GrPagination/chunks/GrPagination-B6N0QZBf.js +283 -0
- package/dist/components/GrPagination/chunks/GrPagination-B6N0QZBf.js.map +1 -0
- package/dist/components/GrPagination/index.js +3 -3
- package/dist/components/GrPopover/chunks/GrPopover-B1eRCOoO.js +216 -0
- package/dist/components/GrPopover/chunks/GrPopover-B1eRCOoO.js.map +1 -0
- package/dist/components/GrPopover/index.js +3 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.js +90 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.js.map +1 -0
- package/dist/components/GrProgressBar/index.js +2 -2
- package/dist/components/GrProgressBar/styles.css +1 -0
- package/dist/components/GrProgressBar/themes/dark.css +13 -0
- package/dist/components/GrProgressBar/themes/light.css +12 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-CTogjcHz.js +210 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-CTogjcHz.js.map +1 -0
- package/dist/components/GrProgressCircle/index.js +3 -0
- package/dist/components/GrProgressCircle/styles.css +1 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Ct174NVD.js +348 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Ct174NVD.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +2 -2
- package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js +277 -0
- package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js.map +1 -0
- package/dist/components/GrRadio/index.js +2 -2
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js +189 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +2 -2
- package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.js +315 -0
- package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.js.map +1 -0
- package/dist/components/GrRating/index.js +2 -2
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js +777 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js.map +1 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js +224 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js.map +1 -0
- package/dist/components/GrResponseErrorBanner/index.js +2 -2
- package/dist/components/GrSegmented/chunks/GrSegmented-BQIlH5KI.js +406 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-BQIlH5KI.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.js +1372 -0
- package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.js.map +1 -0
- package/dist/components/GrSelect/index.js +2 -2
- package/dist/components/GrSelect/styles.css +1 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js +257 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js.map +1 -0
- package/dist/components/GrSidebar/index.js +3 -3
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js +84 -0
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js.map +1 -0
- package/dist/components/GrSkeleton/index.js +2 -2
- package/dist/components/GrSlider/chunks/GrSlider-DkU9IQSX.js +392 -0
- package/dist/components/GrSlider/chunks/GrSlider-DkU9IQSX.js.map +1 -0
- package/dist/components/GrSlider/index.js +2 -2
- package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.js +288 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.js.map +1 -0
- package/dist/components/GrSplitter/index.js +3 -0
- package/dist/components/GrSplitter/styles.css +1 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-CttyoYPT.js +319 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-CttyoYPT.js.map +1 -0
- package/dist/components/GrStatistic/index.js +2 -2
- package/dist/components/GrSwitch/chunks/GrSwitch-B9TYbiih.js +183 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-B9TYbiih.js.map +1 -0
- package/dist/components/GrSwitch/index.js +2 -2
- package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js +81 -0
- package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js.map +1 -0
- package/dist/components/GrTabPanels/index.js +2 -2
- package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js +163 -0
- package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js.map +1 -0
- package/dist/components/GrTable/index.js +3 -3
- package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js +272 -0
- package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-DUh5Tlo4.js +241 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-DUh5Tlo4.js.map +1 -0
- package/dist/components/GrTextarea/index.js +2 -2
- package/dist/components/GrTimeline/chunks/GrTimeline-CE9b3s18.js +285 -0
- package/dist/components/GrTimeline/chunks/GrTimeline-CE9b3s18.js.map +1 -0
- package/dist/components/GrTimeline/index.js +3 -0
- package/dist/components/GrTimeline/styles.css +1 -0
- package/dist/components/GrToaster/chunks/GrToaster-BKQy3Srm.js +272 -0
- package/dist/components/GrToaster/chunks/GrToaster-BKQy3Srm.js.map +1 -0
- package/dist/components/GrToaster/index.js +1 -1
- package/dist/components/GrToaster/styles.css +1 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-DEbejfhA.js +185 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-DEbejfhA.js.map +1 -0
- package/dist/components/GrTooltip/index.js +3 -3
- package/dist/components/GrTree/chunks/GrTree-wfdbvygw.js +1339 -0
- package/dist/components/GrTree/chunks/GrTree-wfdbvygw.js.map +1 -0
- package/dist/components/GrTree/index.js +2 -2
- package/dist/components/GrTree/styles.css +1 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-lLWmAMtI.js +623 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-lLWmAMtI.js.map +1 -0
- package/dist/components/GrTreeSelect/index.js +2 -2
- package/dist/composables/useAnnouncer.js +114 -0
- package/dist/composables/useAnnouncer.js.map +1 -0
- package/dist/composables/useDismissible.js +31 -0
- package/dist/composables/useDismissible.js.map +1 -0
- package/dist/composables/useFloating.js +112 -0
- package/dist/composables/useFloating.js.map +1 -0
- package/dist/composables/useFocusTrap.js +124 -0
- package/dist/composables/useFocusTrap.js.map +1 -0
- package/dist/composables/useGrFormControl.js +24 -0
- package/dist/composables/useGrFormControl.js.map +1 -0
- package/dist/composables/useOverlayLayer.js +2 -0
- package/dist/composables/usePortalTarget.js +2 -0
- package/dist/composables/useTheme.js +106 -36
- package/dist/composables/useTheme.js.map +1 -1
- package/dist/composables/useToast.js +123 -7
- package/dist/composables/useToast.js.map +1 -1
- package/dist/composables/useVirtualList.js +244 -0
- package/dist/composables/useVirtualList.js.map +1 -0
- package/dist/directives/dropzone.js +1 -1
- package/dist/directives/hotkey.js +9 -15
- package/dist/directives/hotkey.js.map +1 -1
- package/dist/directives/loading.js +43 -7
- package/dist/directives/loading.js.map +1 -1
- package/dist/fileValidation/index.js +2 -2
- package/dist/granular-provider-node.js +1 -31
- package/dist/granular-provider.js +1 -4
- package/dist/i18n/all.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +148 -140
- package/dist/styles/base.css +32 -0
- package/dist/styles/preflight.css +33 -0
- package/dist/styles/themes/dark.css +81 -26
- package/dist/styles/themes/light.css +86 -15
- package/dist/styles/tokens.css +63 -4
- package/dist/tokens.js +3132 -0
- package/dist/tokens.js.map +1 -0
- package/dist/types/src/components/GrAlert/GrAlert.vue.d.ts +42 -10
- package/dist/types/src/components/GrAlert/config.d.ts +1 -1
- package/dist/types/src/components/GrAlert/defaults.d.ts +9 -3
- package/dist/types/src/components/GrAlert/grAlertStyles.d.ts +0 -7
- package/dist/types/src/components/GrAlert/index.d.ts +3 -2
- package/dist/types/src/components/GrAutocomplete/GrAutocomplete.vue.d.ts +112 -99
- package/dist/types/src/components/GrAutocomplete/config.d.ts +1 -1
- package/dist/types/src/components/GrAutocomplete/grAutocompleteStyles.d.ts +43 -7
- package/dist/types/src/components/GrAutocomplete/index.d.ts +4 -0
- package/dist/types/src/components/GrAvatar/GrAvatar.vue.d.ts +40 -17
- package/dist/types/src/components/GrAvatar/GrAvatarGroup.vue.d.ts +70 -0
- package/dist/types/src/components/GrAvatar/avatarContext.d.ts +12 -0
- package/dist/types/src/components/GrAvatar/config.d.ts +1 -1
- package/dist/types/src/components/GrAvatar/defaults.d.ts +16 -0
- package/dist/types/src/components/GrAvatar/grAvatarStyles.d.ts +38 -0
- package/dist/types/src/components/GrAvatar/index.d.ts +5 -0
- package/dist/types/src/components/GrAvatar/safelist.d.ts +4 -0
- package/dist/types/src/components/GrBadge/GrBadge.vue.d.ts +4 -4
- package/dist/types/src/components/GrBadge/config.d.ts +1 -1
- package/dist/types/src/components/GrBadge/grBadgeStyles.d.ts +13 -1
- package/dist/types/src/components/GrBadge/index.d.ts +1 -0
- package/dist/types/src/components/GrBadgeWrap/GrBadgeWrap.vue.d.ts +42 -5
- package/dist/types/src/components/GrBadgeWrap/config.d.ts +1 -1
- package/dist/types/src/components/GrBadgeWrap/grBadgeWrapStyles.d.ts +46 -0
- package/dist/types/src/components/GrBadgeWrap/index.d.ts +4 -0
- package/dist/types/src/components/GrBadgeWrap/safelist.d.ts +1 -0
- package/dist/types/src/components/GrBottomNav/GrBottomNav.vue.d.ts +91 -4
- package/dist/types/src/components/GrBottomNav/config.d.ts +1 -1
- package/dist/types/src/components/GrBottomNav/defaults.d.ts +16 -0
- package/dist/types/src/components/GrBottomNav/grBottomNavStyles.d.ts +56 -0
- package/dist/types/src/components/GrBottomNav/index.d.ts +6 -1
- package/dist/types/src/components/GrBottomNav/safelist.d.ts +1 -0
- package/dist/types/src/components/GrBreadcrumbs/GrBreadcrumbs.vue.d.ts +117 -0
- package/dist/types/src/components/GrBreadcrumbs/config.d.ts +1 -0
- package/dist/types/src/components/GrBreadcrumbs/defaults.d.ts +15 -0
- package/dist/types/src/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +86 -0
- package/dist/types/src/components/GrBreadcrumbs/index.d.ts +8 -0
- package/dist/types/src/components/GrBreadcrumbs/safelist.d.ts +1 -0
- package/dist/types/src/components/GrButton/GrButton.vue.d.ts +31 -7
- package/dist/types/src/components/GrButton/config.d.ts +1 -1
- package/dist/types/src/components/GrButton/grButtonStyles.d.ts +27 -3
- package/dist/types/src/components/GrButton/index.d.ts +5 -1
- package/dist/types/src/components/GrButton/safelist.d.ts +1 -0
- package/dist/types/src/components/GrButtonGroup/GrButtonGroup.vue.d.ts +32 -4
- package/dist/types/src/components/GrButtonGroup/config.d.ts +1 -1
- package/dist/types/src/components/GrButtonGroup/context.d.ts +20 -0
- package/dist/types/src/components/GrButtonGroup/index.d.ts +3 -0
- package/dist/types/src/components/GrCard/GrCard.vue.d.ts +80 -3
- package/dist/types/src/components/GrCard/config.d.ts +1 -1
- package/dist/types/src/components/GrCard/defaults.d.ts +15 -0
- package/dist/types/src/components/GrCard/grCardStyles.d.ts +24 -0
- package/dist/types/src/components/GrCard/index.d.ts +5 -0
- package/dist/types/src/components/GrCard/safelist.d.ts +1 -0
- package/dist/types/src/components/GrCheckbox/GrCheckbox.vue.d.ts +56 -10
- package/dist/types/src/components/GrCheckbox/config.d.ts +1 -1
- package/dist/types/src/components/GrCheckbox/defaults.d.ts +14 -0
- package/dist/types/src/components/GrCheckbox/grCheckboxGroupContext.d.ts +19 -0
- package/dist/types/src/components/GrCheckbox/grCheckboxStyles.d.ts +44 -0
- package/dist/types/src/components/GrCheckbox/index.d.ts +9 -0
- package/dist/types/src/components/GrCheckbox/safelist.d.ts +13 -0
- package/dist/types/src/components/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +105 -0
- package/dist/types/src/components/GrCheckboxGroup/config.d.ts +1 -0
- package/dist/types/src/components/GrCheckboxGroup/defaults.d.ts +14 -0
- package/dist/types/src/components/GrCheckboxGroup/index.d.ts +9 -0
- package/dist/types/src/components/GrCollapse/GrCollapse.vue.d.ts +55 -7
- package/dist/types/src/components/GrCollapse/GrCollapseItem.vue.d.ts +13 -3
- package/dist/types/src/components/GrCollapse/config.d.ts +1 -1
- package/dist/types/src/components/GrCollapse/defaults.d.ts +19 -0
- package/dist/types/src/components/GrCollapse/grCollapseContext.d.ts +20 -0
- package/dist/types/src/components/GrCollapse/grCollapseStyles.d.ts +42 -0
- package/dist/types/src/components/GrCollapse/index.d.ts +3 -0
- package/dist/types/src/components/GrCollapse/safelist.d.ts +15 -0
- package/dist/types/src/components/GrColorPicker/GrColorPicker.vue.d.ts +104 -0
- package/dist/types/src/components/GrColorPicker/color.d.ts +38 -0
- package/dist/types/src/components/GrColorPicker/config.d.ts +1 -0
- package/dist/types/src/components/GrColorPicker/defaults.d.ts +15 -0
- package/dist/types/src/components/GrColorPicker/grColorPickerStyles.d.ts +39 -0
- package/dist/types/src/components/GrColorPicker/index.d.ts +11 -0
- package/dist/types/src/components/GrColorPicker/safelist.d.ts +1 -0
- package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +45 -10
- package/dist/types/src/components/GrCommandPalette/config.d.ts +1 -1
- package/dist/types/src/components/GrCommandPalette/defaults.d.ts +14 -0
- package/dist/types/src/components/GrCommandPalette/filtering.d.ts +24 -0
- package/dist/types/src/components/GrCommandPalette/grCommandPaletteStyles.d.ts +33 -8
- package/dist/types/src/components/GrCommandPalette/index.d.ts +4 -0
- package/dist/types/src/components/GrConfigProvider/GrConfigProvider.vue.d.ts +38 -4
- package/dist/types/src/components/GrConfigProvider/config.d.ts +1 -1
- package/dist/types/src/components/GrConfigProvider/context.d.ts +27 -0
- package/dist/types/src/components/GrConfigProvider/index.d.ts +1 -0
- package/dist/types/src/components/GrConfigProvider/zIndexScale.d.ts +23 -0
- package/dist/types/src/components/GrConfirmDialog/GrConfirmDialog.vue.d.ts +33 -4
- package/dist/types/src/components/GrConfirmDialog/config.d.ts +1 -1
- package/dist/types/src/components/GrConfirmDialog/defaults.d.ts +14 -0
- package/dist/types/src/components/GrConfirmDialog/index.d.ts +2 -1
- package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +92 -27
- package/dist/types/src/components/GrDataTable/config.d.ts +1 -1
- package/dist/types/src/components/GrDataTable/defaults.d.ts +10 -0
- package/dist/types/src/components/GrDataTable/grDataTableSort.d.ts +25 -0
- package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +29 -0
- package/dist/types/src/components/GrDataTable/index.d.ts +10 -1
- package/dist/types/src/components/GrDataTable/safelist.d.ts +1 -0
- package/dist/types/src/components/GrDialog/GrDialog.vue.d.ts +51 -4
- package/dist/types/src/components/GrDialog/GrDialogCloseButton.vue.d.ts +3 -0
- package/dist/types/src/components/GrDialog/GrDialogHeader.vue.d.ts +3 -0
- package/dist/types/src/components/GrDialog/config.d.ts +1 -1
- package/dist/types/src/components/GrDialog/defaults.d.ts +14 -0
- package/dist/types/src/components/GrDialog/dialogShared.d.ts +2 -1
- package/dist/types/src/components/GrDialog/index.d.ts +5 -0
- package/dist/types/src/components/GrDialogService/GrDialogServiceHost.vue.d.ts +18 -1
- package/dist/types/src/components/GrDialogService/GrDialogServiceItem.vue.d.ts +15 -0
- package/dist/types/src/components/GrDialogService/config.d.ts +1 -1
- package/dist/types/src/components/GrDialogService/index.d.ts +3 -1
- package/dist/types/src/components/GrDialogService/store.d.ts +78 -7
- package/dist/types/src/components/GrDialogService/types.d.ts +22 -1
- package/dist/types/src/components/GrDialogService/useDialogService.d.ts +31 -1
- package/dist/types/src/components/GrDivider/GrDivider.vue.d.ts +44 -9
- package/dist/types/src/components/GrDivider/config.d.ts +1 -1
- package/dist/types/src/components/GrDivider/defaults.d.ts +15 -0
- package/dist/types/src/components/GrDivider/grDividerStyles.d.ts +19 -0
- package/dist/types/src/components/GrDivider/index.d.ts +4 -1
- package/dist/types/src/components/GrDivider/safelist.d.ts +1 -0
- package/dist/types/src/components/GrDrawer/GrDrawer.vue.d.ts +93 -17
- package/dist/types/src/components/GrDrawer/config.d.ts +1 -1
- package/dist/types/src/components/GrDrawer/defaults.d.ts +19 -0
- package/dist/types/src/components/GrDrawer/grDrawerStyles.d.ts +48 -2
- package/dist/types/src/components/GrDrawer/index.d.ts +6 -1
- package/dist/types/src/components/GrDropdown/GrDropdown.vue.d.ts +66 -13
- package/dist/types/src/components/GrDropdown/config.d.ts +1 -1
- package/dist/types/src/components/GrDropdown/grDropdownStyles.d.ts +4 -5
- package/dist/types/src/components/GrDropdown/index.d.ts +5 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +79 -16
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts +2 -1
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts +3 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +2 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts +3 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +51 -5
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +5 -0
- package/dist/types/src/components/GrDropdownMenu/config.d.ts +1 -1
- package/dist/types/src/components/GrDropdownMenu/grDropdownMenuStyles.d.ts +33 -0
- package/dist/types/src/components/GrDropdownMenu/index.d.ts +6 -2
- package/dist/types/src/components/GrDropdownMenu/menuModel.d.ts +42 -0
- package/dist/types/src/components/GrDropdownMenu/safelist.d.ts +7 -0
- package/dist/types/src/components/GrEmptyState/GrEmptyState.vue.d.ts +33 -10
- package/dist/types/src/components/GrEmptyState/config.d.ts +1 -1
- package/dist/types/src/components/GrEmptyState/defaults.d.ts +16 -0
- package/dist/types/src/components/GrEmptyState/grEmptyStateStyles.d.ts +32 -0
- package/dist/types/src/components/GrEmptyState/index.d.ts +4 -0
- package/dist/types/src/components/GrEmptyState/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFileUpload/GrFileUpload.vue.d.ts +158 -148
- package/dist/types/src/components/GrFileUpload/config.d.ts +1 -1
- package/dist/types/src/components/GrFileUpload/defaults.d.ts +10 -0
- package/dist/types/src/components/GrFileUpload/fileEntry.d.ts +26 -0
- package/dist/types/src/components/GrFileUpload/grFileUploadStyles.d.ts +45 -0
- package/dist/types/src/components/GrFileUpload/index.d.ts +10 -1
- package/dist/types/src/components/GrFileUpload/maxFileSize.d.ts +2 -0
- package/dist/types/src/components/GrFileUpload/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFileUpload/useDropZone.d.ts +24 -0
- package/dist/types/src/components/GrFileUpload/usePerFileUpload.d.ts +38 -0
- package/dist/types/src/components/GrFileUpload/useUploadState.d.ts +30 -0
- package/dist/types/src/components/GrForm/GrForm.vue.d.ts +38 -2
- package/dist/types/src/components/GrForm/config.d.ts +1 -1
- package/dist/types/src/components/GrForm/context.d.ts +22 -3
- package/dist/types/src/components/GrForm/fileRule.d.ts +43 -0
- package/dist/types/src/components/GrForm/index.d.ts +6 -2
- package/dist/types/src/components/GrForm/modelSnapshot.d.ts +17 -0
- package/dist/types/src/components/GrForm/validation.d.ts +16 -1
- package/dist/types/src/components/GrFormField/GrFormField.vue.d.ts +56 -10
- package/dist/types/src/components/GrFormField/config.d.ts +1 -1
- package/dist/types/src/components/GrFormField/context.d.ts +19 -0
- package/dist/types/src/components/GrFormField/defaults.d.ts +15 -0
- package/dist/types/src/components/GrFormField/grFormFieldStyles.d.ts +19 -0
- package/dist/types/src/components/GrFormField/index.d.ts +5 -1
- package/dist/types/src/components/GrFormField/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFormFile/GrFormFile.vue.d.ts +70 -16
- package/dist/types/src/components/GrFormFile/config.d.ts +1 -1
- package/dist/types/src/components/GrFormFile/defaults.d.ts +10 -0
- package/dist/types/src/components/GrFormFile/grFormFileStyles.d.ts +22 -0
- package/dist/types/src/components/GrFormFile/index.d.ts +7 -0
- package/dist/types/src/components/GrFormFile/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFormSection/GrFormSection.vue.d.ts +34 -7
- package/dist/types/src/components/GrFormSection/config.d.ts +1 -1
- package/dist/types/src/components/GrFormSection/defaults.d.ts +14 -0
- package/dist/types/src/components/GrFormSection/grFormSectionStyles.d.ts +12 -0
- package/dist/types/src/components/GrFormSection/index.d.ts +4 -0
- package/dist/types/src/components/GrFormSection/safelist.d.ts +1 -0
- package/dist/types/src/components/GrIcon/GrIcon.vue.d.ts +40 -4
- package/dist/types/src/components/GrIcon/config.d.ts +1 -1
- package/dist/types/src/components/GrIcon/defaults.d.ts +14 -0
- package/dist/types/src/components/GrIcon/grIconStyles.d.ts +25 -0
- package/dist/types/src/components/GrIcon/index.d.ts +4 -0
- package/dist/types/src/components/GrIcon/safelist.d.ts +1 -0
- package/dist/types/src/components/GrImageViewer/GrImageViewer.vue.d.ts +87 -16
- package/dist/types/src/components/GrImageViewer/composables/usePointerGestures.d.ts +36 -0
- package/dist/types/src/components/GrImageViewer/composables/useViewerKeyboard.d.ts +7 -4
- package/dist/types/src/components/GrImageViewer/composables/useWheelGesture.d.ts +3 -2
- package/dist/types/src/components/GrImageViewer/composables/useZoomPan.d.ts +17 -3
- package/dist/types/src/components/GrImageViewer/config.d.ts +1 -1
- package/dist/types/src/components/GrImageViewer/grImageViewerStyles.d.ts +21 -0
- package/dist/types/src/components/GrImageViewer/index.d.ts +7 -0
- package/dist/types/src/components/GrImageViewer/safelist.d.ts +1 -0
- package/dist/types/src/components/GrInput/GrInput.vue.d.ts +66 -21
- package/dist/types/src/components/GrInput/config.d.ts +1 -1
- package/dist/types/src/components/GrInput/grInputStyles.d.ts +53 -7
- package/dist/types/src/components/GrInput/index.d.ts +5 -0
- package/dist/types/src/components/GrInputTag/GrInputTag.vue.d.ts +97 -14
- package/dist/types/src/components/GrInputTag/config.d.ts +1 -1
- package/dist/types/src/components/GrInputTag/defaults.d.ts +17 -0
- package/dist/types/src/components/GrInputTag/grInputTagStyles.d.ts +24 -1
- package/dist/types/src/components/GrInputTag/index.d.ts +5 -0
- package/dist/types/src/components/GrKbd/GrKbd.vue.d.ts +31 -10
- package/dist/types/src/components/GrKbd/config.d.ts +1 -1
- package/dist/types/src/components/GrKbd/defaults.d.ts +14 -0
- package/dist/types/src/components/GrKbd/grKbdStyles.d.ts +15 -0
- package/dist/types/src/components/GrKbd/index.d.ts +4 -1
- package/dist/types/src/components/GrKbd/safelist.d.ts +1 -0
- package/dist/types/src/components/GrLink/GrLink.vue.d.ts +23 -10
- package/dist/types/src/components/GrLink/config.d.ts +1 -1
- package/dist/types/src/components/GrLink/defaults.d.ts +14 -0
- package/dist/types/src/components/GrLink/grLinkStyles.d.ts +11 -13
- package/dist/types/src/components/GrLink/index.d.ts +2 -0
- package/dist/types/src/components/GrList/GrList.vue.d.ts +57 -32
- package/dist/types/src/components/GrList/GrListItem.vue.d.ts +42 -9
- package/dist/types/src/components/GrList/config.d.ts +1 -1
- package/dist/types/src/components/GrList/grListStyles.d.ts +25 -0
- package/dist/types/src/components/GrList/index.d.ts +5 -0
- package/dist/types/src/components/GrList/safelist.d.ts +1 -0
- package/dist/types/src/components/GrLoading/GrLoading.vue.d.ts +59 -19
- package/dist/types/src/components/GrLoading/config.d.ts +1 -1
- package/dist/types/src/components/GrLoading/grLoadingStyles.d.ts +10 -2
- package/dist/types/src/components/GrLoading/index.d.ts +1 -0
- package/dist/types/src/components/GrModal/GrModal.vue.d.ts +58 -12
- package/dist/types/src/components/GrModal/config.d.ts +1 -1
- package/dist/types/src/components/GrModal/context.d.ts +37 -0
- package/dist/types/src/components/GrModal/defaults.d.ts +14 -0
- package/dist/types/src/components/GrModal/grModalStyles.d.ts +25 -10
- package/dist/types/src/components/GrModal/index.d.ts +6 -3
- package/dist/types/src/components/GrNavbar/GrNavbar.vue.d.ts +28 -9
- package/dist/types/src/components/GrNavbar/config.d.ts +1 -1
- package/dist/types/src/components/GrNavbar/grNavbarStyles.d.ts +23 -0
- package/dist/types/src/components/GrNavbar/index.d.ts +2 -0
- package/dist/types/src/components/GrNavbar/safelist.d.ts +1 -0
- package/dist/types/src/components/GrNumberInput/GrNumberInput.vue.d.ts +64 -17
- package/dist/types/src/components/GrNumberInput/config.d.ts +1 -1
- package/dist/types/src/components/GrNumberInput/defaults.d.ts +1 -0
- package/dist/types/src/components/GrNumberInput/grNumberInputStyles.d.ts +20 -4
- package/dist/types/src/components/GrNumberInput/index.d.ts +4 -0
- package/dist/types/src/components/GrNumberInput/numberInputMath.d.ts +17 -0
- package/dist/types/src/components/GrPagination/GrPagination.vue.d.ts +47 -1
- package/dist/types/src/components/GrPagination/config.d.ts +1 -1
- package/dist/types/src/components/GrPagination/defaults.d.ts +10 -0
- package/dist/types/src/components/GrPagination/grPaginationStyles.d.ts +19 -0
- package/dist/types/src/components/GrPagination/index.d.ts +4 -0
- package/dist/types/src/components/GrPagination/safelist.d.ts +1 -0
- package/dist/types/src/components/GrPopover/GrPopover.vue.d.ts +161 -0
- package/dist/types/src/components/GrPopover/config.d.ts +1 -0
- package/dist/types/src/components/GrPopover/defaults.d.ts +15 -0
- package/dist/types/src/components/GrPopover/grPopoverStyles.d.ts +28 -0
- package/dist/types/src/components/GrPopover/index.d.ts +11 -0
- package/dist/types/src/components/GrPopover/safelist.d.ts +1 -0
- package/dist/types/src/components/GrProgressBar/GrProgressBar.vue.d.ts +37 -5
- package/dist/types/src/components/GrProgressBar/config.d.ts +1 -1
- package/dist/types/src/components/GrProgressBar/defaults.d.ts +11 -0
- package/dist/types/src/components/GrProgressBar/grStyle.d.ts +14 -0
- package/dist/types/src/components/GrProgressBar/index.d.ts +2 -1
- package/dist/types/src/components/GrProgressBar/safelist.d.ts +4 -0
- package/dist/types/src/components/GrProgressCircle/GrProgressCircle.vue.d.ts +103 -0
- package/dist/types/src/components/GrProgressCircle/config.d.ts +1 -0
- package/dist/types/src/components/GrProgressCircle/defaults.d.ts +18 -0
- package/dist/types/src/components/GrProgressCircle/geometry.d.ts +29 -0
- package/dist/types/src/components/GrProgressCircle/grProgressCircleStyles.d.ts +34 -0
- package/dist/types/src/components/GrProgressCircle/index.d.ts +11 -0
- package/dist/types/src/components/GrProgressCircle/safelist.d.ts +1 -0
- package/dist/types/src/components/GrPromptDialog/GrPromptDialog.vue.d.ts +78 -10
- package/dist/types/src/components/GrPromptDialog/config.d.ts +1 -1
- package/dist/types/src/components/GrPromptDialog/defaults.d.ts +14 -0
- package/dist/types/src/components/GrPromptDialog/index.d.ts +1 -0
- package/dist/types/src/components/GrRadio/GrRadio.vue.d.ts +28 -9
- package/dist/types/src/components/GrRadio/config.d.ts +1 -1
- package/dist/types/src/components/GrRadio/grRadioGroupContext.d.ts +37 -2
- package/dist/types/src/components/GrRadio/grRadioStyles.d.ts +49 -6
- package/dist/types/src/components/GrRadio/index.d.ts +1 -0
- package/dist/types/src/components/GrRadioGroup/GrRadioGroup.vue.d.ts +54 -10
- package/dist/types/src/components/GrRadioGroup/config.d.ts +1 -1
- package/dist/types/src/components/GrRadioGroup/index.d.ts +4 -0
- package/dist/types/src/components/GrRating/GrRating.vue.d.ts +66 -17
- package/dist/types/src/components/GrRating/config.d.ts +1 -1
- package/dist/types/src/components/GrRating/grRatingStyles.d.ts +4 -1
- package/dist/types/src/components/GrRating/index.d.ts +4 -0
- package/dist/types/src/components/GrResponseErrorBanner/GrFormErrorBanner.vue.d.ts +8 -4
- package/dist/types/src/components/GrResponseErrorBanner/GrResponseErrorBanner.vue.d.ts +8 -4
- package/dist/types/src/components/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +11 -4
- package/dist/types/src/components/GrResponseErrorBanner/config.d.ts +1 -1
- package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +6 -0
- package/dist/types/src/components/GrResponseErrorBanner/parsers/httpStatusParser.d.ts +3 -1
- package/dist/types/src/components/GrResponseErrorBanner/parsers/plainMessageParser.d.ts +4 -1
- package/dist/types/src/components/GrResponseErrorBanner/responseError.types.d.ts +12 -2
- package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +48 -9
- package/dist/types/src/components/GrSegmented/config.d.ts +1 -1
- package/dist/types/src/components/GrSegmented/grSegmentedStyles.d.ts +31 -5
- package/dist/types/src/components/GrSegmented/index.d.ts +5 -1
- package/dist/types/src/components/GrSegmented/safelist.d.ts +3 -1
- package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +138 -114
- package/dist/types/src/components/GrSelect/composables/useSelectNavigation.d.ts +52 -0
- package/dist/types/src/components/GrSelect/composables/useSelectPanelItems.d.ts +67 -0
- package/dist/types/src/components/GrSelect/composables/useSelectValues.d.ts +37 -0
- package/dist/types/src/components/GrSelect/composables/useSelectVirtualization.d.ts +27 -0
- package/dist/types/src/components/GrSelect/config.d.ts +1 -1
- package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +64 -9
- package/dist/types/src/components/GrSelect/index.d.ts +5 -1
- package/dist/types/src/components/GrSelect/selectValue.d.ts +20 -0
- package/dist/types/src/components/GrSidebar/GrSidebar.vue.d.ts +30 -5
- package/dist/types/src/components/GrSidebar/GrSidebarGroup.vue.d.ts +43 -0
- package/dist/types/src/components/GrSidebar/GrSidebarItem.vue.d.ts +4 -4
- package/dist/types/src/components/GrSidebar/config.d.ts +1 -1
- package/dist/types/src/components/GrSidebar/grSidebarStyles.d.ts +48 -0
- package/dist/types/src/components/GrSidebar/index.d.ts +6 -0
- package/dist/types/src/components/GrSidebar/safelist.d.ts +1 -0
- package/dist/types/src/components/GrSkeleton/GrSkeleton.vue.d.ts +22 -6
- package/dist/types/src/components/GrSkeleton/config.d.ts +1 -1
- package/dist/types/src/components/GrSkeleton/grSkeletonStyles.d.ts +9 -0
- package/dist/types/src/components/GrSkeleton/index.d.ts +1 -0
- package/dist/types/src/components/GrSlider/GrSlider.vue.d.ts +54 -4
- package/dist/types/src/components/GrSlider/config.d.ts +1 -1
- package/dist/types/src/components/GrSlider/grSliderStyles.d.ts +47 -8
- package/dist/types/src/components/GrSlider/index.d.ts +4 -0
- package/dist/types/src/components/GrSplitter/GrSplitter.vue.d.ts +121 -0
- package/dist/types/src/components/GrSplitter/config.d.ts +1 -0
- package/dist/types/src/components/GrSplitter/defaults.d.ts +16 -0
- package/dist/types/src/components/GrSplitter/grSplitterStyles.d.ts +9 -0
- package/dist/types/src/components/GrSplitter/index.d.ts +11 -0
- package/dist/types/src/components/GrSplitter/safelist.d.ts +1 -0
- package/dist/types/src/components/GrSplitter/splitterGeometry.d.ts +39 -0
- package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +65 -16
- package/dist/types/src/components/GrStatistic/config.d.ts +1 -1
- package/dist/types/src/components/GrStatistic/countUp.d.ts +17 -0
- package/dist/types/src/components/GrStatistic/defaults.d.ts +14 -0
- package/dist/types/src/components/GrStatistic/formatStatisticValue.d.ts +6 -2
- package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +14 -1
- package/dist/types/src/components/GrStatistic/index.d.ts +2 -1
- package/dist/types/src/components/GrSwitch/GrSwitch.vue.d.ts +68 -6
- package/dist/types/src/components/GrSwitch/config.d.ts +1 -1
- package/dist/types/src/components/GrSwitch/grSwitchStyles.d.ts +45 -4
- package/dist/types/src/components/GrSwitch/index.d.ts +5 -1
- package/dist/types/src/components/GrSwitch/safelist.d.ts +4 -1
- package/dist/types/src/components/GrTabPanels/GrTabPanel.vue.d.ts +12 -9
- package/dist/types/src/components/GrTabPanels/GrTabPanels.vue.d.ts +4 -14
- package/dist/types/src/components/GrTabPanels/config.d.ts +1 -1
- package/dist/types/src/components/GrTabPanels/context.d.ts +1 -1
- package/dist/types/src/components/GrTabPanels/index.d.ts +2 -0
- package/dist/types/src/components/GrTable/GrTable.vue.d.ts +85 -15
- package/dist/types/src/components/GrTable/config.d.ts +1 -1
- package/dist/types/src/components/GrTable/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTable/grTableStyles.d.ts +20 -0
- package/dist/types/src/components/GrTable/index.d.ts +7 -1
- package/dist/types/src/components/GrTable/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +92 -6
- package/dist/types/src/components/GrTabs/config.d.ts +1 -1
- package/dist/types/src/components/GrTabs/defaults.d.ts +12 -0
- package/dist/types/src/components/GrTabs/grTabsStyles.d.ts +71 -0
- package/dist/types/src/components/GrTabs/index.d.ts +5 -0
- package/dist/types/src/components/GrTabs/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTextarea/GrTextarea.vue.d.ts +89 -24
- package/dist/types/src/components/GrTextarea/config.d.ts +1 -1
- package/dist/types/src/components/GrTextarea/defaults.d.ts +18 -0
- package/dist/types/src/components/GrTextarea/grTextareaStyles.d.ts +33 -1
- package/dist/types/src/components/GrTextarea/index.d.ts +6 -1
- package/dist/types/src/components/GrTimeline/GrTimeline.vue.d.ts +70 -0
- package/dist/types/src/components/GrTimeline/GrTimelineItem.vue.d.ts +84 -0
- package/dist/types/src/components/GrTimeline/config.d.ts +1 -0
- package/dist/types/src/components/GrTimeline/defaults.d.ts +19 -0
- package/dist/types/src/components/GrTimeline/grTimelineContext.d.ts +18 -0
- package/dist/types/src/components/GrTimeline/grTimelineStyles.d.ts +37 -0
- package/dist/types/src/components/GrTimeline/index.d.ts +12 -0
- package/dist/types/src/components/GrTimeline/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTimeline/timelineGroups.d.ts +23 -0
- package/dist/types/src/components/GrToaster/GrToaster.vue.d.ts +25 -1
- package/dist/types/src/components/GrToaster/config.d.ts +1 -1
- package/dist/types/src/components/GrToaster/index.d.ts +3 -0
- package/dist/types/src/components/GrTooltip/GrTooltip.vue.d.ts +57 -6
- package/dist/types/src/components/GrTooltip/config.d.ts +1 -1
- package/dist/types/src/components/GrTooltip/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTooltip/grTooltipStyles.d.ts +8 -0
- package/dist/types/src/components/GrTooltip/index.d.ts +5 -1
- package/dist/types/src/components/GrTooltip/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTree/GrTree.vue.d.ts +20 -7
- package/dist/types/src/components/GrTree/config.d.ts +1 -1
- package/dist/types/src/components/GrTree/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTree/grTreeChecking.d.ts +31 -0
- package/dist/types/src/components/GrTree/grTreeDataAdapter.d.ts +2 -0
- package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +9 -0
- package/dist/types/src/components/GrTree/grTreeProps.d.ts +60 -11
- package/dist/types/src/components/GrTree/grTreeStore.d.ts +27 -1
- package/dist/types/src/components/GrTree/grTreeStyles.d.ts +22 -0
- package/dist/types/src/components/GrTree/grTreeTypes.d.ts +15 -0
- package/dist/types/src/components/GrTree/index.d.ts +5 -1
- package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +30 -9
- package/dist/types/src/components/GrTreeSelect/config.d.ts +1 -1
- package/dist/types/src/components/GrTreeSelect/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTreeSelect/grTreeSelectStyles.d.ts +29 -1
- package/dist/types/src/components/GrTreeSelect/grTreeSelectTypes.d.ts +43 -0
- package/dist/types/src/components/GrTreeSelect/index.d.ts +5 -0
- package/dist/types/src/components/shared/hotkey.d.ts +46 -0
- package/dist/types/src/components/shared/instance.d.ts +15 -0
- package/dist/types/src/components/shared/optionFilter.d.ts +61 -0
- package/dist/types/src/components/shared/sizes.d.ts +30 -0
- package/dist/types/src/components/shared/slotNodes.d.ts +19 -0
- package/dist/types/src/composables/internal/focusables.d.ts +30 -0
- package/dist/types/src/composables/internal/inert.d.ts +35 -0
- package/dist/types/src/composables/internal/overlayStack.d.ts +60 -0
- package/dist/types/src/composables/internal/portalRoot.d.ts +27 -0
- package/dist/types/src/composables/internal/useAddonMeasurement.d.ts +1 -1
- package/dist/types/src/composables/internal/useComboboxNavigation.d.ts +51 -0
- package/dist/types/src/composables/internal/useControlAddons.d.ts +61 -0
- package/dist/types/src/composables/internal/useControlledOpen.d.ts +14 -0
- package/dist/types/src/composables/internal/useFilePreviews.d.ts +26 -0
- package/dist/types/src/composables/internal/useFocusWithin.d.ts +32 -0
- package/dist/types/src/composables/internal/useInertOthers.d.ts +9 -0
- package/dist/types/src/composables/internal/useModalOverlay.d.ts +95 -0
- package/dist/types/src/composables/internal/useOverlayPresence.d.ts +24 -0
- package/dist/types/src/composables/internal/useScrollLock.d.ts +10 -5
- package/dist/types/src/composables/internal/useTeleportEnabled.d.ts +35 -0
- package/dist/types/src/composables/useAnnouncer.d.ts +44 -0
- package/dist/types/src/composables/useDismissible.d.ts +32 -0
- package/dist/types/src/composables/useFocusTrap.d.ts +50 -0
- package/dist/types/src/composables/useGrFormControl.d.ts +52 -0
- package/dist/types/src/composables/useOverlayLayer.d.ts +67 -0
- package/dist/types/src/composables/usePortalTarget.d.ts +28 -0
- package/dist/types/src/composables/useTheme.d.ts +48 -2
- package/dist/types/src/composables/useToast.d.ts +20 -11
- package/dist/types/src/composables/useVirtualList.d.ts +119 -0
- package/dist/types/src/directives/loading.d.ts +7 -1
- package/dist/types/src/fileValidation/i18n.d.ts +24 -0
- package/dist/types/src/fileValidation/index.d.ts +4 -2
- package/dist/types/src/fileValidation/maxCountValidator.d.ts +9 -0
- package/dist/types/src/fileValidation/maxFileSize.d.ts +16 -0
- package/dist/types/src/fileValidation/types.d.ts +8 -2
- package/dist/types/src/granular-provider/index.d.ts +1 -1
- package/dist/types/src/granular-provider/node.d.ts +2 -3
- package/dist/types/src/granular-provider/shared.d.ts +13 -18
- package/dist/types/src/i18n/adapter.d.ts +24 -0
- package/dist/types/src/i18n/messages/en.d.ts +286 -2
- package/dist/types/src/i18n/messages/es.d.ts +290 -2
- package/dist/types/src/i18n/messages/ru.d.ts +294 -2
- package/dist/types/src/index.d.ts +26 -3
- package/dist/types/src/internal/granularityFormat.d.ts +19 -0
- package/dist/types/src/internal/granularityI18n.d.ts +6 -0
- package/dist/types/src/internal/keyboard.d.ts +46 -0
- package/dist/types/src/tokens/generated.d.ts +6 -0
- package/dist/types/src/tokens/index.d.ts +13 -0
- package/dist/types/src/tokens/types.d.ts +54 -0
- package/dist/vue/index.js.map +1 -1
- package/dist/web-types.json +6309 -2024
- package/package.json +90 -17
- package/tokens/derived.json +142 -0
- package/tokens/foundation.json +558 -0
- package/tokens/themes/dark.json +499 -0
- package/tokens/themes/light.json +499 -0
- package/dist/GrBadge.css +0 -1
- package/dist/GrButtonGroup.css +0 -1
- package/dist/GrFormFile.css +0 -1
- package/dist/GrIcon.css +0 -1
- package/dist/GrLoading.css +0 -1
- package/dist/GrToaster.css +0 -1
- package/dist/GrTree.css +0 -1
- package/dist/chunks/config-23WtUiAL.js +0 -53
- package/dist/chunks/config-23WtUiAL.js.map +0 -1
- package/dist/chunks/config-B0i5r8kH.js +0 -23
- package/dist/chunks/config-B0i5r8kH.js.map +0 -1
- package/dist/chunks/config-B0qIpo8m.js +0 -5
- package/dist/chunks/config-B0qIpo8m.js.map +0 -1
- package/dist/chunks/config-B5Rknzkd.js +0 -100
- package/dist/chunks/config-B5Rknzkd.js.map +0 -1
- package/dist/chunks/config-BDSHekVC.js +0 -84
- package/dist/chunks/config-BDSHekVC.js.map +0 -1
- package/dist/chunks/config-BEegFP74.js +0 -5
- package/dist/chunks/config-BEegFP74.js.map +0 -1
- package/dist/chunks/config-BLHqZhy-.js +0 -5
- package/dist/chunks/config-BLHqZhy-.js.map +0 -1
- package/dist/chunks/config-BMKNHFMD2.js +0 -171
- package/dist/chunks/config-BMKNHFMD2.js.map +0 -1
- package/dist/chunks/config-BUHuGBik2.js +0 -13
- package/dist/chunks/config-BUHuGBik2.js.map +0 -1
- package/dist/chunks/config-BWGGp7uV.js +0 -8
- package/dist/chunks/config-BWGGp7uV.js.map +0 -1
- package/dist/chunks/config-BWiPnygb.js +0 -5
- package/dist/chunks/config-BWiPnygb.js.map +0 -1
- package/dist/chunks/config-BX1JTrkV.js +0 -14
- package/dist/chunks/config-BX1JTrkV.js.map +0 -1
- package/dist/chunks/config-BXtAmU3s.js +0 -8
- package/dist/chunks/config-BXtAmU3s.js.map +0 -1
- package/dist/chunks/config-BZFUM3Ky.js +0 -75
- package/dist/chunks/config-BZFUM3Ky.js.map +0 -1
- package/dist/chunks/config-Bah4oHwL.js +0 -8
- package/dist/chunks/config-Bah4oHwL.js.map +0 -1
- package/dist/chunks/config-BmNT0Fmx.js +0 -45
- package/dist/chunks/config-BmNT0Fmx.js.map +0 -1
- package/dist/chunks/config-BvVq2gbd.js +0 -13
- package/dist/chunks/config-BvVq2gbd.js.map +0 -1
- package/dist/chunks/config-C4hJxXDa.js +0 -58
- package/dist/chunks/config-C4hJxXDa.js.map +0 -1
- package/dist/chunks/config-C86UzUYf.js +0 -13
- package/dist/chunks/config-C86UzUYf.js.map +0 -1
- package/dist/chunks/config-C9AcVDkv.js +0 -5
- package/dist/chunks/config-C9AcVDkv.js.map +0 -1
- package/dist/chunks/config-CB4RVt9M.js +0 -66
- package/dist/chunks/config-CB4RVt9M.js.map +0 -1
- package/dist/chunks/config-CGHLoBlH2.js +0 -5
- package/dist/chunks/config-CGHLoBlH2.js.map +0 -1
- package/dist/chunks/config-COE_vZ-l.js +0 -52
- package/dist/chunks/config-COE_vZ-l.js.map +0 -1
- package/dist/chunks/config-CPdmr7tC.js +0 -39
- package/dist/chunks/config-CPdmr7tC.js.map +0 -1
- package/dist/chunks/config-CThzliFi.js +0 -5
- package/dist/chunks/config-CThzliFi.js.map +0 -1
- package/dist/chunks/config-Cb2PAlSD.js +0 -8
- package/dist/chunks/config-Cb2PAlSD.js.map +0 -1
- package/dist/chunks/config-D7GZO-Dx.js +0 -8
- package/dist/chunks/config-D7GZO-Dx.js.map +0 -1
- package/dist/chunks/config-DICOd-2X.js +0 -5
- package/dist/chunks/config-DICOd-2X.js.map +0 -1
- package/dist/chunks/config-DPDFYzIa.js +0 -40
- package/dist/chunks/config-DPDFYzIa.js.map +0 -1
- package/dist/chunks/config-DRKXJ9PW2.js +0 -22
- package/dist/chunks/config-DRKXJ9PW2.js.map +0 -1
- package/dist/chunks/config-DToHb81g.js +0 -45
- package/dist/chunks/config-DToHb81g.js.map +0 -1
- package/dist/chunks/config-D_myOZbA.js +0 -20
- package/dist/chunks/config-D_myOZbA.js.map +0 -1
- package/dist/chunks/config-Dg_6FTvJ.js +0 -35
- package/dist/chunks/config-Dg_6FTvJ.js.map +0 -1
- package/dist/chunks/config-Dlm49Jp5.js +0 -5
- package/dist/chunks/config-Dlm49Jp5.js.map +0 -1
- package/dist/chunks/config-DpqOnJiz.js.map +0 -1
- package/dist/chunks/config-Dqy0rPPO2.js +0 -17
- package/dist/chunks/config-Dqy0rPPO2.js.map +0 -1
- package/dist/chunks/config-Dxuwwepq.js +0 -5
- package/dist/chunks/config-Dxuwwepq.js.map +0 -1
- package/dist/chunks/config-HZto2PVy.js +0 -5
- package/dist/chunks/config-HZto2PVy.js.map +0 -1
- package/dist/chunks/config-JOtB4mzs.js +0 -8
- package/dist/chunks/config-JOtB4mzs.js.map +0 -1
- package/dist/chunks/config-JpHA4Xx0.js +0 -8
- package/dist/chunks/config-JpHA4Xx0.js.map +0 -1
- package/dist/chunks/config-KXuionN3.js +0 -9
- package/dist/chunks/config-KXuionN3.js.map +0 -1
- package/dist/chunks/config-LqDC_rvp.js +0 -78
- package/dist/chunks/config-LqDC_rvp.js.map +0 -1
- package/dist/chunks/config-PFg39mYo.js +0 -5
- package/dist/chunks/config-PFg39mYo.js.map +0 -1
- package/dist/chunks/config-QYGvEBu5.js +0 -22
- package/dist/chunks/config-QYGvEBu5.js.map +0 -1
- package/dist/chunks/config-QaIc_gRa2.js.map +0 -1
- package/dist/chunks/config-U4m9PSql2.js +0 -8
- package/dist/chunks/config-U4m9PSql2.js.map +0 -1
- package/dist/chunks/config-XmTv4pnI.js +0 -26
- package/dist/chunks/config-XmTv4pnI.js.map +0 -1
- package/dist/chunks/config-ZiXWIRBX.js +0 -8
- package/dist/chunks/config-ZiXWIRBX.js.map +0 -1
- package/dist/chunks/config-eXB87DOi.js.map +0 -1
- package/dist/chunks/config-gZWR75Bh2.js +0 -44
- package/dist/chunks/config-gZWR75Bh2.js.map +0 -1
- package/dist/chunks/config-ipvU0lzP.js +0 -5
- package/dist/chunks/config-ipvU0lzP.js.map +0 -1
- package/dist/chunks/config-xR4XVmcy2.js +0 -8
- package/dist/chunks/config-xR4XVmcy2.js.map +0 -1
- package/dist/chunks/context-DfWYCBB-.js +0 -129
- package/dist/chunks/context-DfWYCBB-.js.map +0 -1
- package/dist/chunks/en-Cr6EkG8c.js +0 -186
- package/dist/chunks/en-Cr6EkG8c.js.map +0 -1
- package/dist/chunks/es-DuYb1Qju.js +0 -20
- package/dist/chunks/es-DuYb1Qju.js.map +0 -1
- package/dist/chunks/es-i08e9Sdo.js +0 -186
- package/dist/chunks/es-i08e9Sdo.js.map +0 -1
- package/dist/chunks/fileValidation-C3WFaWU2.js +0 -220
- package/dist/chunks/fileValidation-C3WFaWU2.js.map +0 -1
- package/dist/chunks/grBadgeStyles-D3dFjr_N.js +0 -50
- package/dist/chunks/grBadgeStyles-D3dFjr_N.js.map +0 -1
- package/dist/chunks/grButtonStyles-DRBgDmOp.js +0 -191
- package/dist/chunks/grButtonStyles-DRBgDmOp.js.map +0 -1
- package/dist/chunks/grDropdownStyles-HBPkghVr.js +0 -35
- package/dist/chunks/grDropdownStyles-HBPkghVr.js.map +0 -1
- package/dist/chunks/grLoadingStyles-R5sreH__.js +0 -17
- package/dist/chunks/grLoadingStyles-R5sreH__.js.map +0 -1
- package/dist/chunks/grModalEscStack-BXk-9mv7.js +0 -43
- package/dist/chunks/grModalEscStack-BXk-9mv7.js.map +0 -1
- package/dist/chunks/grModalStyles-D8-shx9A.js +0 -47
- package/dist/chunks/grModalStyles-D8-shx9A.js.map +0 -1
- package/dist/chunks/grSelectStyles-CwMUQrBZ.js +0 -97
- package/dist/chunks/grSelectStyles-CwMUQrBZ.js.map +0 -1
- package/dist/chunks/grStyle-CdvxTXPH.js +0 -19
- package/dist/chunks/grStyle-CdvxTXPH.js.map +0 -1
- package/dist/chunks/granularityI18n-SH0I--GW.js +0 -61
- package/dist/chunks/granularityI18n-SH0I--GW.js.map +0 -1
- package/dist/chunks/ru-B5XOOYZt.js +0 -186
- package/dist/chunks/ru-B5XOOYZt.js.map +0 -1
- package/dist/chunks/safelist-BvO8HPnE.js +0 -24
- package/dist/chunks/safelist-BvO8HPnE.js.map +0 -1
- package/dist/chunks/shared-D-v9lit0.js +0 -188
- package/dist/chunks/shared-D-v9lit0.js.map +0 -1
- package/dist/chunks/useAddonMeasurement-DM0akF4C.js +0 -65
- package/dist/chunks/useAddonMeasurement-DM0akF4C.js.map +0 -1
- package/dist/chunks/useEscapeToClose-C2t_S1gh.js +0 -27
- package/dist/chunks/useEscapeToClose-C2t_S1gh.js.map +0 -1
- package/dist/chunks/useFloating-DtM6TyE4.js +0 -1249
- package/dist/chunks/useFloating-DtM6TyE4.js.map +0 -1
- package/dist/chunks/useScrollLock-K7kaP2Ud.js +0 -1757
- package/dist/chunks/useScrollLock-K7kaP2Ud.js.map +0 -1
- package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js +0 -251
- package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js.map +0 -1
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js +0 -499
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js.map +0 -1
- package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js +0 -41
- package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js.map +0 -1
- package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js +0 -40
- package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js.map +0 -1
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js +0 -33
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js.map +0 -1
- package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js +0 -31
- package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js.map +0 -1
- package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js +0 -128
- package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js.map +0 -1
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js +0 -21
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js.map +0 -1
- package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js +0 -11
- package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js.map +0 -1
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js +0 -182
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js.map +0 -1
- package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js +0 -205
- package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js.map +0 -1
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js +0 -410
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js.map +0 -1
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js +0 -57
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js.map +0 -1
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js +0 -160
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js.map +0 -1
- package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js +0 -307
- package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js.map +0 -1
- package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js +0 -223
- package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js.map +0 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js +0 -450
- package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js.map +0 -1
- package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js +0 -54
- package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js.map +0 -1
- package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js +0 -184
- package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js.map +0 -1
- package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js +0 -181
- package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js.map +0 -1
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js +0 -309
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js.map +0 -1
- package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js +0 -62
- package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js.map +0 -1
- package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js +0 -592
- package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js.map +0 -1
- package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js +0 -234
- package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js.map +0 -1
- package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js +0 -100
- package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js.map +0 -1
- package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js +0 -320
- package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js.map +0 -1
- package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js +0 -35
- package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js.map +0 -1
- package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js +0 -32
- package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js.map +0 -1
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js +0 -650
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js.map +0 -1
- package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js +0 -337
- package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js.map +0 -1
- package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js +0 -260
- package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js.map +0 -1
- package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js +0 -22
- package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js.map +0 -1
- package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js +0 -100
- package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js.map +0 -1
- package/dist/components/GrList/chunks/GrList-5RA-tZzE.js +0 -77
- package/dist/components/GrList/chunks/GrList-5RA-tZzE.js.map +0 -1
- package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js +0 -69
- package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js.map +0 -1
- package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js +0 -233
- package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js.map +0 -1
- package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js +0 -75
- package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js.map +0 -1
- package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js +0 -471
- package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js.map +0 -1
- package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js +0 -208
- package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js.map +0 -1
- package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js +0 -39
- package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js.map +0 -1
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js +0 -224
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js.map +0 -1
- package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js +0 -182
- package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js.map +0 -1
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js +0 -82
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js.map +0 -1
- package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js +0 -241
- package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js.map +0 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js +0 -224
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js.map +0 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js +0 -782
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js.map +0 -1
- package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js +0 -326
- package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js.map +0 -1
- package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js +0 -730
- package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js.map +0 -1
- package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js +0 -238
- package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js.map +0 -1
- package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js +0 -33
- package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js.map +0 -1
- package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js +0 -286
- package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js.map +0 -1
- package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js +0 -128
- package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js.map +0 -1
- package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js +0 -88
- package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js.map +0 -1
- package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js +0 -68
- package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js.map +0 -1
- package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js +0 -70
- package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js.map +0 -1
- package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js +0 -123
- package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js.map +0 -1
- package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js +0 -81
- package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js.map +0 -1
- package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js +0 -230
- package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js.map +0 -1
- package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js +0 -109
- package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js.map +0 -1
- package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js +0 -838
- package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js.map +0 -1
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js +0 -426
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js.map +0 -1
- package/dist/granular-provider-node.js.map +0 -1
- package/dist/granular-provider.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types/src/components/GrButton/config.node.d.ts +0 -1
- package/dist/types/src/components/GrCommandPalette/hotkey.d.ts +0 -23
- package/dist/types/src/components/GrFileUpload/maxSizeMbValidator.d.ts +0 -1
- package/dist/types/src/components/GrModal/grModalEscStack.d.ts +0 -30
- package/dist/types/src/components/GrModal/grModalTopStack.d.ts +0 -31
- package/dist/types/src/components/GrProgressBar/config.node.d.ts +0 -1
- package/dist/types/src/composables/internal/useEscapeToClose.d.ts +0 -11
- package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +0 -2
- package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +0 -2
- /package/dist/chunks/{config-DpqOnJiz.js → config-DpqOnJiz2.js} +0 -0
- /package/dist/chunks/{config-QaIc_gRa2.js → config-QaIc_gRa.js} +0 -0
- /package/dist/chunks/{config-eXB87DOi.js → config-eXB87DOi2.js} +0 -0
- /package/dist/{GrSkeleton.css → components/GrSkeleton/styles.css} +0 -0
- /package/dist/types/src/composables/{internal/useFloating.d.ts → useFloating.d.ts} +0 -0
|
@@ -1,1757 +0,0 @@
|
|
|
1
|
-
import * as e$1 from "vue";
|
|
2
|
-
import { Fragment, Teleport, cloneVNode, computed, defineComponent, getCurrentInstance, h, inject, nextTick, normalizeClass, onMounted, onUnmounted, provide, reactive, ref, shallowRef, unref, watch, watchEffect } from "vue";
|
|
3
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/micro-task.js
|
|
4
|
-
function t$5(e) {
|
|
5
|
-
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((o) => setTimeout(() => {
|
|
6
|
-
throw o;
|
|
7
|
-
}));
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/disposables.js
|
|
11
|
-
function o$3() {
|
|
12
|
-
let a = [], s = {
|
|
13
|
-
addEventListener(e, t, r, i) {
|
|
14
|
-
return e.addEventListener(t, r, i), s.add(() => e.removeEventListener(t, r, i));
|
|
15
|
-
},
|
|
16
|
-
requestAnimationFrame(...e) {
|
|
17
|
-
let t = requestAnimationFrame(...e);
|
|
18
|
-
s.add(() => cancelAnimationFrame(t));
|
|
19
|
-
},
|
|
20
|
-
nextFrame(...e) {
|
|
21
|
-
s.requestAnimationFrame(() => {
|
|
22
|
-
s.requestAnimationFrame(...e);
|
|
23
|
-
});
|
|
24
|
-
},
|
|
25
|
-
setTimeout(...e) {
|
|
26
|
-
let t = setTimeout(...e);
|
|
27
|
-
s.add(() => clearTimeout(t));
|
|
28
|
-
},
|
|
29
|
-
microTask(...e) {
|
|
30
|
-
let t = { current: !0 };
|
|
31
|
-
return t$5(() => {
|
|
32
|
-
t.current && e[0]();
|
|
33
|
-
}), s.add(() => {
|
|
34
|
-
t.current = !1;
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
style(e, t, r) {
|
|
38
|
-
let i = e.style.getPropertyValue(t);
|
|
39
|
-
return Object.assign(e.style, { [t]: r }), this.add(() => {
|
|
40
|
-
Object.assign(e.style, { [t]: i });
|
|
41
|
-
});
|
|
42
|
-
},
|
|
43
|
-
group(e) {
|
|
44
|
-
let t = o$3();
|
|
45
|
-
return e(t), this.add(() => t.dispose());
|
|
46
|
-
},
|
|
47
|
-
add(e) {
|
|
48
|
-
return a.push(e), () => {
|
|
49
|
-
let t = a.indexOf(e);
|
|
50
|
-
if (t >= 0) for (let r of a.splice(t, 1)) r();
|
|
51
|
-
};
|
|
52
|
-
},
|
|
53
|
-
dispose() {
|
|
54
|
-
for (let e of a.splice(0)) e();
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
return s;
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-id.js
|
|
61
|
-
var r;
|
|
62
|
-
var n$4 = Symbol("headlessui.useid");
|
|
63
|
-
var o$2 = 0;
|
|
64
|
-
var i$5 = (r = e$1.useId) != null ? r : function() {
|
|
65
|
-
return e$1.inject(n$4, () => `${++o$2}`)();
|
|
66
|
-
};
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/dom.js
|
|
69
|
-
function o$1(e) {
|
|
70
|
-
var l;
|
|
71
|
-
if (e == null || e.value == null) return null;
|
|
72
|
-
let n = (l = e.value.$el) != null ? l : e.value;
|
|
73
|
-
return n instanceof Node ? n : null;
|
|
74
|
-
}
|
|
75
|
-
//#endregion
|
|
76
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/match.js
|
|
77
|
-
function u$5(r, n, ...a) {
|
|
78
|
-
if (r in n) {
|
|
79
|
-
let e = n[r];
|
|
80
|
-
return typeof e == "function" ? e(...a) : e;
|
|
81
|
-
}
|
|
82
|
-
let t = /* @__PURE__ */ new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map((e) => `"${e}"`).join(", ")}.`);
|
|
83
|
-
throw Error.captureStackTrace && Error.captureStackTrace(t, u$5), t;
|
|
84
|
-
}
|
|
85
|
-
//#endregion
|
|
86
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/env.js
|
|
87
|
-
var i$4 = Object.defineProperty;
|
|
88
|
-
var d$4 = (t, e, r) => e in t ? i$4(t, e, {
|
|
89
|
-
enumerable: !0,
|
|
90
|
-
configurable: !0,
|
|
91
|
-
writable: !0,
|
|
92
|
-
value: r
|
|
93
|
-
}) : t[e] = r;
|
|
94
|
-
var n$3 = (t, e, r) => (d$4(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
95
|
-
var s$3 = class {
|
|
96
|
-
constructor() {
|
|
97
|
-
n$3(this, "current", this.detect());
|
|
98
|
-
n$3(this, "currentId", 0);
|
|
99
|
-
}
|
|
100
|
-
set(e) {
|
|
101
|
-
this.current !== e && (this.currentId = 0, this.current = e);
|
|
102
|
-
}
|
|
103
|
-
reset() {
|
|
104
|
-
this.set(this.detect());
|
|
105
|
-
}
|
|
106
|
-
nextId() {
|
|
107
|
-
return ++this.currentId;
|
|
108
|
-
}
|
|
109
|
-
get isServer() {
|
|
110
|
-
return this.current === "server";
|
|
111
|
-
}
|
|
112
|
-
get isClient() {
|
|
113
|
-
return this.current === "client";
|
|
114
|
-
}
|
|
115
|
-
detect() {
|
|
116
|
-
return typeof window == "undefined" || typeof document == "undefined" ? "server" : "client";
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
var c$2 = new s$3();
|
|
120
|
-
//#endregion
|
|
121
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/owner.js
|
|
122
|
-
function i$3(r) {
|
|
123
|
-
if (c$2.isServer) return null;
|
|
124
|
-
if (r instanceof Node) return r.ownerDocument;
|
|
125
|
-
if (r != null && r.hasOwnProperty("value")) {
|
|
126
|
-
let n = o$1(r);
|
|
127
|
-
if (n) return n.ownerDocument;
|
|
128
|
-
}
|
|
129
|
-
return document;
|
|
130
|
-
}
|
|
131
|
-
//#endregion
|
|
132
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/focus-management.js
|
|
133
|
-
var c$1 = [
|
|
134
|
-
"[contentEditable=true]",
|
|
135
|
-
"[tabindex]",
|
|
136
|
-
"a[href]",
|
|
137
|
-
"area[href]",
|
|
138
|
-
"button:not([disabled])",
|
|
139
|
-
"iframe",
|
|
140
|
-
"input:not([disabled])",
|
|
141
|
-
"select:not([disabled])",
|
|
142
|
-
"textarea:not([disabled])"
|
|
143
|
-
].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
144
|
-
var N$4 = ((n) => (n[n.First = 1] = "First", n[n.Previous = 2] = "Previous", n[n.Next = 4] = "Next", n[n.Last = 8] = "Last", n[n.WrapAround = 16] = "WrapAround", n[n.NoScroll = 32] = "NoScroll", n))(N$4 || {});
|
|
145
|
-
var T$2 = ((o) => (o[o.Error = 0] = "Error", o[o.Overflow = 1] = "Overflow", o[o.Success = 2] = "Success", o[o.Underflow = 3] = "Underflow", o))(T$2 || {});
|
|
146
|
-
var F$1 = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(F$1 || {});
|
|
147
|
-
function E$2(e = document.body) {
|
|
148
|
-
return e == null ? [] : Array.from(e.querySelectorAll(c$1)).sort((r, t) => Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (t.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
149
|
-
}
|
|
150
|
-
var h$1 = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(h$1 || {});
|
|
151
|
-
function w$4(e, r = 0) {
|
|
152
|
-
var t;
|
|
153
|
-
return e === ((t = i$3(e)) == null ? void 0 : t.body) ? !1 : u$5(r, {
|
|
154
|
-
[0]() {
|
|
155
|
-
return e.matches(c$1);
|
|
156
|
-
},
|
|
157
|
-
[1]() {
|
|
158
|
-
let l = e;
|
|
159
|
-
for (; l !== null;) {
|
|
160
|
-
if (l.matches(c$1)) return !0;
|
|
161
|
-
l = l.parentElement;
|
|
162
|
-
}
|
|
163
|
-
return !1;
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
var y$2 = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(y$2 || {});
|
|
168
|
-
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e) => {
|
|
169
|
-
e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
170
|
-
}, !0), document.addEventListener("click", (e) => {
|
|
171
|
-
e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
172
|
-
}, !0));
|
|
173
|
-
function S$1(e) {
|
|
174
|
-
e?.focus({ preventScroll: !0 });
|
|
175
|
-
}
|
|
176
|
-
var H$2 = ["textarea", "input"].join(",");
|
|
177
|
-
function I(e) {
|
|
178
|
-
var r, t;
|
|
179
|
-
return (t = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, H$2)) != null ? t : !1;
|
|
180
|
-
}
|
|
181
|
-
function O(e, r = (t) => t) {
|
|
182
|
-
return e.slice().sort((t, l) => {
|
|
183
|
-
let o = r(t), i = r(l);
|
|
184
|
-
if (o === null || i === null) return 0;
|
|
185
|
-
let n = o.compareDocumentPosition(i);
|
|
186
|
-
return n & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
function P(e, r, { sorted: t = !0, relativeTo: l = null, skipElements: o = [] } = {}) {
|
|
190
|
-
var m;
|
|
191
|
-
let i = (m = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? m : document, n = Array.isArray(e) ? t ? O(e) : e : E$2(e);
|
|
192
|
-
o.length > 0 && n.length > 1 && (n = n.filter((s) => !o.includes(s))), l = l != null ? l : i.activeElement;
|
|
193
|
-
let x = (() => {
|
|
194
|
-
if (r & 5) return 1;
|
|
195
|
-
if (r & 10) return -1;
|
|
196
|
-
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
197
|
-
})(), p = (() => {
|
|
198
|
-
if (r & 1) return 0;
|
|
199
|
-
if (r & 2) return Math.max(0, n.indexOf(l)) - 1;
|
|
200
|
-
if (r & 4) return Math.max(0, n.indexOf(l)) + 1;
|
|
201
|
-
if (r & 8) return n.length - 1;
|
|
202
|
-
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
203
|
-
})(), L = r & 32 ? { preventScroll: !0 } : {}, a = 0, d = n.length, u;
|
|
204
|
-
do {
|
|
205
|
-
if (a >= d || a + d <= 0) return 0;
|
|
206
|
-
let s = p + a;
|
|
207
|
-
if (r & 16) s = (s + d) % d;
|
|
208
|
-
else {
|
|
209
|
-
if (s < 0) return 3;
|
|
210
|
-
if (s >= d) return 1;
|
|
211
|
-
}
|
|
212
|
-
u = n[s], u?.focus(L), a += x;
|
|
213
|
-
} while (u !== i.activeElement);
|
|
214
|
-
return r & 6 && I(u) && u.select(), 2;
|
|
215
|
-
}
|
|
216
|
-
//#endregion
|
|
217
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/platform.js
|
|
218
|
-
function t$4() {
|
|
219
|
-
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
220
|
-
}
|
|
221
|
-
function i$2() {
|
|
222
|
-
return /Android/gi.test(window.navigator.userAgent);
|
|
223
|
-
}
|
|
224
|
-
function n$2() {
|
|
225
|
-
return t$4() || i$2();
|
|
226
|
-
}
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-document-event.js
|
|
229
|
-
function u$4(e, t, n) {
|
|
230
|
-
c$2.isServer || watchEffect((o) => {
|
|
231
|
-
document.addEventListener(e, t, n), o(() => document.removeEventListener(e, t, n));
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
//#endregion
|
|
235
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-window-event.js
|
|
236
|
-
function w$3(e, n, t) {
|
|
237
|
-
c$2.isServer || watchEffect((o) => {
|
|
238
|
-
window.addEventListener(e, n, t), o(() => window.removeEventListener(e, n, t));
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
//#endregion
|
|
242
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-outside-click.js
|
|
243
|
-
function w$2(f, m, l = computed(() => !0)) {
|
|
244
|
-
function a(e, r) {
|
|
245
|
-
if (!l.value || e.defaultPrevented) return;
|
|
246
|
-
let t = r(e);
|
|
247
|
-
if (t === null || !t.getRootNode().contains(t)) return;
|
|
248
|
-
let c = function o(n) {
|
|
249
|
-
return typeof n == "function" ? o(n()) : Array.isArray(n) || n instanceof Set ? n : [n];
|
|
250
|
-
}(f);
|
|
251
|
-
for (let o of c) {
|
|
252
|
-
if (o === null) continue;
|
|
253
|
-
let n = o instanceof HTMLElement ? o : o$1(o);
|
|
254
|
-
if (n != null && n.contains(t) || e.composed && e.composedPath().includes(n)) return;
|
|
255
|
-
}
|
|
256
|
-
return !w$4(t, h$1.Loose) && t.tabIndex !== -1 && e.preventDefault(), m(e, t);
|
|
257
|
-
}
|
|
258
|
-
let u = ref(null);
|
|
259
|
-
u$4("pointerdown", (e) => {
|
|
260
|
-
var r, t;
|
|
261
|
-
l.value && (u.value = ((t = (r = e.composedPath) == null ? void 0 : r.call(e)) == null ? void 0 : t[0]) || e.target);
|
|
262
|
-
}, !0), u$4("mousedown", (e) => {
|
|
263
|
-
var r, t;
|
|
264
|
-
l.value && (u.value = ((t = (r = e.composedPath) == null ? void 0 : r.call(e)) == null ? void 0 : t[0]) || e.target);
|
|
265
|
-
}, !0), u$4("click", (e) => {
|
|
266
|
-
n$2() || u.value && (a(e, () => u.value), u.value = null);
|
|
267
|
-
}, !0), u$4("touchend", (e) => a(e, () => e.target instanceof HTMLElement ? e.target : null), !0), w$3("blur", (e) => a(e, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
268
|
-
}
|
|
269
|
-
//#endregion
|
|
270
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/render.js
|
|
271
|
-
var N$3 = ((o) => (o[o.None = 0] = "None", o[o.RenderStrategy = 1] = "RenderStrategy", o[o.Static = 2] = "Static", o))(N$3 || {});
|
|
272
|
-
var S = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(S || {});
|
|
273
|
-
function A$2({ visible: r = !0, features: t = 0, ourProps: e, theirProps: o, ...i }) {
|
|
274
|
-
var a;
|
|
275
|
-
let n = j(o, e), l = Object.assign(i, { props: n });
|
|
276
|
-
if (r || t & 2 && n.static) return y$1(l);
|
|
277
|
-
if (t & 1) return u$5((a = n.unmount) == null || a ? 0 : 1, {
|
|
278
|
-
[0]() {
|
|
279
|
-
return null;
|
|
280
|
-
},
|
|
281
|
-
[1]() {
|
|
282
|
-
return y$1({
|
|
283
|
-
...i,
|
|
284
|
-
props: {
|
|
285
|
-
...n,
|
|
286
|
-
hidden: !0,
|
|
287
|
-
style: { display: "none" }
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
return y$1(l);
|
|
293
|
-
}
|
|
294
|
-
function y$1({ props: r, attrs: t, slots: e, slot: o, name: i }) {
|
|
295
|
-
var m, h$5;
|
|
296
|
-
let { as: n, ...l } = T$1(r, ["unmount", "static"]), a = (m = e.default) == null ? void 0 : m.call(e, o), d = {};
|
|
297
|
-
if (o) {
|
|
298
|
-
let u = !1, c = [];
|
|
299
|
-
for (let [p, f] of Object.entries(o)) typeof f == "boolean" && (u = !0), f === !0 && c.push(p);
|
|
300
|
-
u && (d["data-headlessui-state"] = c.join(" "));
|
|
301
|
-
}
|
|
302
|
-
if (n === "template") {
|
|
303
|
-
if (a = b(a != null ? a : []), Object.keys(l).length > 0 || Object.keys(t).length > 0) {
|
|
304
|
-
let [u, ...c] = a != null ? a : [];
|
|
305
|
-
if (!v(u) || c.length > 0) throw new Error([
|
|
306
|
-
"Passing props on \"template\"!",
|
|
307
|
-
"",
|
|
308
|
-
`The current component <${i} /> is rendering a "template".`,
|
|
309
|
-
"However we need to passthrough the following props:",
|
|
310
|
-
Object.keys(l).concat(Object.keys(t)).map((s) => s.trim()).filter((s, g, R) => R.indexOf(s) === g).sort((s, g) => s.localeCompare(g)).map((s) => ` - ${s}`).join(`
|
|
311
|
-
`),
|
|
312
|
-
"",
|
|
313
|
-
"You can apply a few solutions:",
|
|
314
|
-
["Add an `as=\"...\"` prop, to ensure that we render an actual element instead of a \"template\".", "Render a single element as the child so that we can forward the props onto that element."].map((s) => ` - ${s}`).join(`
|
|
315
|
-
`)
|
|
316
|
-
].join(`
|
|
317
|
-
`));
|
|
318
|
-
let p = j((h$5 = u.props) != null ? h$5 : {}, l, d), f = cloneVNode(u, p, !0);
|
|
319
|
-
for (let s in p) s.startsWith("on") && (f.props || (f.props = {}), f.props[s] = p[s]);
|
|
320
|
-
return f;
|
|
321
|
-
}
|
|
322
|
-
return Array.isArray(a) && a.length === 1 ? a[0] : a;
|
|
323
|
-
}
|
|
324
|
-
return h(n, Object.assign({}, l, d), { default: () => a });
|
|
325
|
-
}
|
|
326
|
-
function b(r) {
|
|
327
|
-
return r.flatMap((t) => t.type === Fragment ? b(t.children) : [t]);
|
|
328
|
-
}
|
|
329
|
-
function j(...r) {
|
|
330
|
-
if (r.length === 0) return {};
|
|
331
|
-
if (r.length === 1) return r[0];
|
|
332
|
-
let t = {}, e = {};
|
|
333
|
-
for (let i of r) for (let n in i) n.startsWith("on") && typeof i[n] == "function" ? (e[n] ?? (e[n] = []), e[n].push(i[n])) : t[n] = i[n];
|
|
334
|
-
if (t.disabled || t["aria-disabled"]) return Object.assign(t, Object.fromEntries(Object.keys(e).map((i) => [i, void 0])));
|
|
335
|
-
for (let i in e) Object.assign(t, { [i](n, ...l) {
|
|
336
|
-
let a = e[i];
|
|
337
|
-
for (let d of a) {
|
|
338
|
-
if (n instanceof Event && n.defaultPrevented) return;
|
|
339
|
-
d(n, ...l);
|
|
340
|
-
}
|
|
341
|
-
} });
|
|
342
|
-
return t;
|
|
343
|
-
}
|
|
344
|
-
function T$1(r, t = []) {
|
|
345
|
-
let e = Object.assign({}, r);
|
|
346
|
-
for (let o of t) o in e && delete e[o];
|
|
347
|
-
return e;
|
|
348
|
-
}
|
|
349
|
-
function v(r) {
|
|
350
|
-
return r == null ? !1 : typeof r.type == "string" || typeof r.type == "object" || typeof r.type == "function";
|
|
351
|
-
}
|
|
352
|
-
//#endregion
|
|
353
|
-
//#region ../../node_modules/@headlessui/vue/dist/internal/hidden.js
|
|
354
|
-
var u$3 = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(u$3 || {});
|
|
355
|
-
var f$1 = defineComponent({
|
|
356
|
-
name: "Hidden",
|
|
357
|
-
props: {
|
|
358
|
-
as: {
|
|
359
|
-
type: [Object, String],
|
|
360
|
-
default: "div"
|
|
361
|
-
},
|
|
362
|
-
features: {
|
|
363
|
-
type: Number,
|
|
364
|
-
default: 1
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
setup(t, { slots: n, attrs: i }) {
|
|
368
|
-
return () => {
|
|
369
|
-
var r;
|
|
370
|
-
let { features: e, ...d } = t;
|
|
371
|
-
return A$2({
|
|
372
|
-
ourProps: {
|
|
373
|
-
"aria-hidden": (e & 2) === 2 ? !0 : (r = d["aria-hidden"]) != null ? r : void 0,
|
|
374
|
-
hidden: (e & 4) === 4 ? !0 : void 0,
|
|
375
|
-
style: {
|
|
376
|
-
position: "fixed",
|
|
377
|
-
top: 1,
|
|
378
|
-
left: 1,
|
|
379
|
-
width: 1,
|
|
380
|
-
height: 0,
|
|
381
|
-
padding: 0,
|
|
382
|
-
margin: -1,
|
|
383
|
-
overflow: "hidden",
|
|
384
|
-
clip: "rect(0, 0, 0, 0)",
|
|
385
|
-
whiteSpace: "nowrap",
|
|
386
|
-
borderWidth: "0",
|
|
387
|
-
...(e & 4) === 4 && (e & 2) !== 2 && { display: "none" }
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
theirProps: d,
|
|
391
|
-
slot: {},
|
|
392
|
-
attrs: i,
|
|
393
|
-
slots: n,
|
|
394
|
-
name: "Hidden"
|
|
395
|
-
});
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
});
|
|
399
|
-
//#endregion
|
|
400
|
-
//#region ../../node_modules/@headlessui/vue/dist/internal/open-closed.js
|
|
401
|
-
var n$1 = Symbol("Context");
|
|
402
|
-
var i$1 = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(i$1 || {});
|
|
403
|
-
function s$2() {
|
|
404
|
-
return l$2() !== null;
|
|
405
|
-
}
|
|
406
|
-
function l$2() {
|
|
407
|
-
return inject(n$1, null);
|
|
408
|
-
}
|
|
409
|
-
function t$3(o) {
|
|
410
|
-
provide(n$1, o);
|
|
411
|
-
}
|
|
412
|
-
//#endregion
|
|
413
|
-
//#region ../../node_modules/@headlessui/vue/dist/keyboard.js
|
|
414
|
-
var o = ((r) => (r.Space = " ", r.Enter = "Enter", r.Escape = "Escape", r.Backspace = "Backspace", r.Delete = "Delete", r.ArrowLeft = "ArrowLeft", r.ArrowUp = "ArrowUp", r.ArrowRight = "ArrowRight", r.ArrowDown = "ArrowDown", r.Home = "Home", r.End = "End", r.PageUp = "PageUp", r.PageDown = "PageDown", r.Tab = "Tab", r))(o || {});
|
|
415
|
-
//#endregion
|
|
416
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/document-ready.js
|
|
417
|
-
function t$2(n) {
|
|
418
|
-
function e() {
|
|
419
|
-
document.readyState !== "loading" && (n(), document.removeEventListener("DOMContentLoaded", e));
|
|
420
|
-
}
|
|
421
|
-
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("DOMContentLoaded", e), e());
|
|
422
|
-
}
|
|
423
|
-
//#endregion
|
|
424
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/active-element-history.js
|
|
425
|
-
var t$1 = [];
|
|
426
|
-
t$2(() => {
|
|
427
|
-
function e(n) {
|
|
428
|
-
n.target instanceof HTMLElement && n.target !== document.body && t$1[0] !== n.target && (t$1.unshift(n.target), t$1 = t$1.filter((r) => r != null && r.isConnected), t$1.splice(10));
|
|
429
|
-
}
|
|
430
|
-
window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
|
|
431
|
-
});
|
|
432
|
-
//#endregion
|
|
433
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-event-listener.js
|
|
434
|
-
function E$1(n, e, o, r) {
|
|
435
|
-
c$2.isServer || watchEffect((t) => {
|
|
436
|
-
n = n != null ? n : window, n.addEventListener(e, o, r), t(() => n.removeEventListener(e, o, r));
|
|
437
|
-
});
|
|
438
|
-
}
|
|
439
|
-
//#endregion
|
|
440
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-tab-direction.js
|
|
441
|
-
var d$3 = ((r) => (r[r.Forwards = 0] = "Forwards", r[r.Backwards = 1] = "Backwards", r))(d$3 || {});
|
|
442
|
-
function n() {
|
|
443
|
-
let o = ref(0);
|
|
444
|
-
return w$3("keydown", (e) => {
|
|
445
|
-
e.key === "Tab" && (o.value = e.shiftKey ? 1 : 0);
|
|
446
|
-
}), o;
|
|
447
|
-
}
|
|
448
|
-
//#endregion
|
|
449
|
-
//#region ../../node_modules/@headlessui/vue/dist/components/focus-trap/focus-trap.js
|
|
450
|
-
function B(t) {
|
|
451
|
-
if (!t) return /* @__PURE__ */ new Set();
|
|
452
|
-
if (typeof t == "function") return new Set(t());
|
|
453
|
-
let n = /* @__PURE__ */ new Set();
|
|
454
|
-
for (let r of t.value) {
|
|
455
|
-
let l = o$1(r);
|
|
456
|
-
l instanceof HTMLElement && n.add(l);
|
|
457
|
-
}
|
|
458
|
-
return n;
|
|
459
|
-
}
|
|
460
|
-
var A$1 = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(A$1 || {});
|
|
461
|
-
var ue = Object.assign(defineComponent({
|
|
462
|
-
name: "FocusTrap",
|
|
463
|
-
props: {
|
|
464
|
-
as: {
|
|
465
|
-
type: [Object, String],
|
|
466
|
-
default: "div"
|
|
467
|
-
},
|
|
468
|
-
initialFocus: {
|
|
469
|
-
type: Object,
|
|
470
|
-
default: null
|
|
471
|
-
},
|
|
472
|
-
features: {
|
|
473
|
-
type: Number,
|
|
474
|
-
default: 30
|
|
475
|
-
},
|
|
476
|
-
containers: {
|
|
477
|
-
type: [Object, Function],
|
|
478
|
-
default: ref(/* @__PURE__ */ new Set())
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
inheritAttrs: !1,
|
|
482
|
-
setup(t, { attrs: n$5, slots: r, expose: l }) {
|
|
483
|
-
let o = ref(null);
|
|
484
|
-
l({
|
|
485
|
-
el: o,
|
|
486
|
-
$el: o
|
|
487
|
-
});
|
|
488
|
-
let i = computed(() => i$3(o)), e = ref(!1);
|
|
489
|
-
onMounted(() => e.value = !0), onUnmounted(() => e.value = !1), $$1({ ownerDocument: i }, computed(() => e.value && Boolean(t.features & 16)));
|
|
490
|
-
let m = z$1({
|
|
491
|
-
ownerDocument: i,
|
|
492
|
-
container: o,
|
|
493
|
-
initialFocus: computed(() => t.initialFocus)
|
|
494
|
-
}, computed(() => e.value && Boolean(t.features & 2)));
|
|
495
|
-
J({
|
|
496
|
-
ownerDocument: i,
|
|
497
|
-
container: o,
|
|
498
|
-
containers: t.containers,
|
|
499
|
-
previousActiveElement: m
|
|
500
|
-
}, computed(() => e.value && Boolean(t.features & 8)));
|
|
501
|
-
let f = n();
|
|
502
|
-
function a(u) {
|
|
503
|
-
let T = o$1(o);
|
|
504
|
-
if (!T) return;
|
|
505
|
-
((w) => w())(() => {
|
|
506
|
-
u$5(f.value, {
|
|
507
|
-
[d$3.Forwards]: () => {
|
|
508
|
-
P(T, N$4.First, { skipElements: [u.relatedTarget] });
|
|
509
|
-
},
|
|
510
|
-
[d$3.Backwards]: () => {
|
|
511
|
-
P(T, N$4.Last, { skipElements: [u.relatedTarget] });
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
});
|
|
515
|
-
}
|
|
516
|
-
let s = ref(!1);
|
|
517
|
-
function F(u) {
|
|
518
|
-
u.key === "Tab" && (s.value = !0, requestAnimationFrame(() => {
|
|
519
|
-
s.value = !1;
|
|
520
|
-
}));
|
|
521
|
-
}
|
|
522
|
-
function H(u) {
|
|
523
|
-
if (!e.value) return;
|
|
524
|
-
let T = B(t.containers);
|
|
525
|
-
o$1(o) instanceof HTMLElement && T.add(o$1(o));
|
|
526
|
-
let d = u.relatedTarget;
|
|
527
|
-
d instanceof HTMLElement && d.dataset.headlessuiFocusGuard !== "true" && (N$2(T, d) || (s.value ? P(o$1(o), u$5(f.value, {
|
|
528
|
-
[d$3.Forwards]: () => N$4.Next,
|
|
529
|
-
[d$3.Backwards]: () => N$4.Previous
|
|
530
|
-
}) | N$4.WrapAround, { relativeTo: u.target }) : u.target instanceof HTMLElement && S$1(u.target)));
|
|
531
|
-
}
|
|
532
|
-
return () => {
|
|
533
|
-
let u = {}, T = {
|
|
534
|
-
ref: o,
|
|
535
|
-
onKeydown: F,
|
|
536
|
-
onFocusout: H
|
|
537
|
-
}, { features: d, initialFocus: w, containers: Q, ...O } = t;
|
|
538
|
-
return h(Fragment, [
|
|
539
|
-
Boolean(d & 4) && h(f$1, {
|
|
540
|
-
as: "button",
|
|
541
|
-
type: "button",
|
|
542
|
-
"data-headlessui-focus-guard": !0,
|
|
543
|
-
onFocus: a,
|
|
544
|
-
features: u$3.Focusable
|
|
545
|
-
}),
|
|
546
|
-
A$2({
|
|
547
|
-
ourProps: T,
|
|
548
|
-
theirProps: {
|
|
549
|
-
...n$5,
|
|
550
|
-
...O
|
|
551
|
-
},
|
|
552
|
-
slot: u,
|
|
553
|
-
attrs: n$5,
|
|
554
|
-
slots: r,
|
|
555
|
-
name: "FocusTrap"
|
|
556
|
-
}),
|
|
557
|
-
Boolean(d & 4) && h(f$1, {
|
|
558
|
-
as: "button",
|
|
559
|
-
type: "button",
|
|
560
|
-
"data-headlessui-focus-guard": !0,
|
|
561
|
-
onFocus: a,
|
|
562
|
-
features: u$3.Focusable
|
|
563
|
-
})
|
|
564
|
-
]);
|
|
565
|
-
};
|
|
566
|
-
}
|
|
567
|
-
}), { features: A$1 });
|
|
568
|
-
function W$1(t) {
|
|
569
|
-
let n = ref(t$1.slice());
|
|
570
|
-
return watch([t], ([r], [l]) => {
|
|
571
|
-
l === !0 && r === !1 ? t$5(() => {
|
|
572
|
-
n.value.splice(0);
|
|
573
|
-
}) : l === !1 && r === !0 && (n.value = t$1.slice());
|
|
574
|
-
}, { flush: "post" }), () => {
|
|
575
|
-
var r;
|
|
576
|
-
return (r = n.value.find((l) => l != null && l.isConnected)) != null ? r : null;
|
|
577
|
-
};
|
|
578
|
-
}
|
|
579
|
-
function $$1({ ownerDocument: t }, n) {
|
|
580
|
-
let r = W$1(n);
|
|
581
|
-
onMounted(() => {
|
|
582
|
-
watchEffect(() => {
|
|
583
|
-
var l, o;
|
|
584
|
-
n.value || ((l = t.value) == null ? void 0 : l.activeElement) === ((o = t.value) == null ? void 0 : o.body) && S$1(r());
|
|
585
|
-
}, { flush: "post" });
|
|
586
|
-
}), onUnmounted(() => {
|
|
587
|
-
n.value && S$1(r());
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
function z$1({ ownerDocument: t, container: n, initialFocus: r }, l) {
|
|
591
|
-
let o = ref(null), i = ref(!1);
|
|
592
|
-
return onMounted(() => i.value = !0), onUnmounted(() => i.value = !1), onMounted(() => {
|
|
593
|
-
watch([
|
|
594
|
-
n,
|
|
595
|
-
r,
|
|
596
|
-
l
|
|
597
|
-
], (e, m) => {
|
|
598
|
-
if (e.every((a, s) => (m == null ? void 0 : m[s]) === a) || !l.value) return;
|
|
599
|
-
let f = o$1(n);
|
|
600
|
-
f && t$5(() => {
|
|
601
|
-
var F, H;
|
|
602
|
-
if (!i.value) return;
|
|
603
|
-
let a = o$1(r), s = (F = t.value) == null ? void 0 : F.activeElement;
|
|
604
|
-
if (a) {
|
|
605
|
-
if (a === s) {
|
|
606
|
-
o.value = s;
|
|
607
|
-
return;
|
|
608
|
-
}
|
|
609
|
-
} else if (f.contains(s)) {
|
|
610
|
-
o.value = s;
|
|
611
|
-
return;
|
|
612
|
-
}
|
|
613
|
-
a ? S$1(a) : P(f, N$4.First | N$4.NoScroll) === T$2.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.value = (H = t.value) == null ? void 0 : H.activeElement;
|
|
614
|
-
});
|
|
615
|
-
}, {
|
|
616
|
-
immediate: !0,
|
|
617
|
-
flush: "post"
|
|
618
|
-
});
|
|
619
|
-
}), o;
|
|
620
|
-
}
|
|
621
|
-
function J({ ownerDocument: t, container: n, containers: r, previousActiveElement: l }, o) {
|
|
622
|
-
var i;
|
|
623
|
-
E$1((i = t.value) == null ? void 0 : i.defaultView, "focus", (e) => {
|
|
624
|
-
if (!o.value) return;
|
|
625
|
-
let m = B(r);
|
|
626
|
-
o$1(n) instanceof HTMLElement && m.add(o$1(n));
|
|
627
|
-
let f = l.value;
|
|
628
|
-
if (!f) return;
|
|
629
|
-
let a = e.target;
|
|
630
|
-
a && a instanceof HTMLElement ? N$2(m, a) ? (l.value = a, S$1(a)) : (e.preventDefault(), e.stopPropagation(), S$1(f)) : S$1(l.value);
|
|
631
|
-
}, !0);
|
|
632
|
-
}
|
|
633
|
-
function N$2(t, n) {
|
|
634
|
-
for (let r of t) if (r.contains(n)) return !0;
|
|
635
|
-
return !1;
|
|
636
|
-
}
|
|
637
|
-
//#endregion
|
|
638
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-store.js
|
|
639
|
-
function m$2(t) {
|
|
640
|
-
let e = shallowRef(t.getSnapshot());
|
|
641
|
-
return onUnmounted(t.subscribe(() => {
|
|
642
|
-
e.value = t.getSnapshot();
|
|
643
|
-
})), e;
|
|
644
|
-
}
|
|
645
|
-
//#endregion
|
|
646
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/store.js
|
|
647
|
-
function a$1(o, r) {
|
|
648
|
-
let t = o(), n = /* @__PURE__ */ new Set();
|
|
649
|
-
return {
|
|
650
|
-
getSnapshot() {
|
|
651
|
-
return t;
|
|
652
|
-
},
|
|
653
|
-
subscribe(e) {
|
|
654
|
-
return n.add(e), () => n.delete(e);
|
|
655
|
-
},
|
|
656
|
-
dispatch(e, ...s) {
|
|
657
|
-
let i = r[e].call(t, ...s);
|
|
658
|
-
i && (t = i, n.forEach((c) => c()));
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
|
-
}
|
|
662
|
-
//#endregion
|
|
663
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/adjust-scrollbar-padding.js
|
|
664
|
-
function c() {
|
|
665
|
-
let o;
|
|
666
|
-
return {
|
|
667
|
-
before({ doc: e }) {
|
|
668
|
-
var l;
|
|
669
|
-
let n = e.documentElement;
|
|
670
|
-
o = ((l = e.defaultView) != null ? l : window).innerWidth - n.clientWidth;
|
|
671
|
-
},
|
|
672
|
-
after({ doc: e, d: n }) {
|
|
673
|
-
let t = e.documentElement, l = t.clientWidth - t.offsetWidth, r = o - l;
|
|
674
|
-
n.style(t, "paddingRight", `${r}px`);
|
|
675
|
-
}
|
|
676
|
-
};
|
|
677
|
-
}
|
|
678
|
-
//#endregion
|
|
679
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/handle-ios-locking.js
|
|
680
|
-
function w$1() {
|
|
681
|
-
return t$4() ? { before({ doc: r, d: n, meta: c }) {
|
|
682
|
-
function a(o) {
|
|
683
|
-
return c.containers.flatMap((l) => l()).some((l) => l.contains(o));
|
|
684
|
-
}
|
|
685
|
-
n.microTask(() => {
|
|
686
|
-
var s;
|
|
687
|
-
if (window.getComputedStyle(r.documentElement).scrollBehavior !== "auto") {
|
|
688
|
-
let t = o$3();
|
|
689
|
-
t.style(r.documentElement, "scrollBehavior", "auto"), n.add(() => n.microTask(() => t.dispose()));
|
|
690
|
-
}
|
|
691
|
-
let o = (s = window.scrollY) != null ? s : window.pageYOffset, l = null;
|
|
692
|
-
n.addEventListener(r, "click", (t) => {
|
|
693
|
-
if (t.target instanceof HTMLElement) try {
|
|
694
|
-
let e = t.target.closest("a");
|
|
695
|
-
if (!e) return;
|
|
696
|
-
let { hash: f } = new URL(e.href), i = r.querySelector(f);
|
|
697
|
-
i && !a(i) && (l = i);
|
|
698
|
-
} catch {}
|
|
699
|
-
}, !0), n.addEventListener(r, "touchstart", (t) => {
|
|
700
|
-
if (t.target instanceof HTMLElement) if (a(t.target)) {
|
|
701
|
-
let e = t.target;
|
|
702
|
-
for (; e.parentElement && a(e.parentElement);) e = e.parentElement;
|
|
703
|
-
n.style(e, "overscrollBehavior", "contain");
|
|
704
|
-
} else n.style(t.target, "touchAction", "none");
|
|
705
|
-
}), n.addEventListener(r, "touchmove", (t) => {
|
|
706
|
-
if (t.target instanceof HTMLElement) {
|
|
707
|
-
if (t.target.tagName === "INPUT") return;
|
|
708
|
-
if (a(t.target)) {
|
|
709
|
-
let e = t.target;
|
|
710
|
-
for (; e.parentElement && e.dataset.headlessuiPortal !== "" && !(e.scrollHeight > e.clientHeight || e.scrollWidth > e.clientWidth);) e = e.parentElement;
|
|
711
|
-
e.dataset.headlessuiPortal === "" && t.preventDefault();
|
|
712
|
-
} else t.preventDefault();
|
|
713
|
-
}
|
|
714
|
-
}, { passive: !1 }), n.add(() => {
|
|
715
|
-
var e;
|
|
716
|
-
let t = (e = window.scrollY) != null ? e : window.pageYOffset;
|
|
717
|
-
o !== t && window.scrollTo(0, o), l && l.isConnected && (l.scrollIntoView({ block: "nearest" }), l = null);
|
|
718
|
-
});
|
|
719
|
-
});
|
|
720
|
-
} } : {};
|
|
721
|
-
}
|
|
722
|
-
//#endregion
|
|
723
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/prevent-scroll.js
|
|
724
|
-
function l$1() {
|
|
725
|
-
return { before({ doc: e, d: o }) {
|
|
726
|
-
o.style(e.documentElement, "overflow", "hidden");
|
|
727
|
-
} };
|
|
728
|
-
}
|
|
729
|
-
//#endregion
|
|
730
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/overflow-store.js
|
|
731
|
-
function m$1(e) {
|
|
732
|
-
let n = {};
|
|
733
|
-
for (let t of e) Object.assign(n, t(n));
|
|
734
|
-
return n;
|
|
735
|
-
}
|
|
736
|
-
var a = a$1(() => /* @__PURE__ */ new Map(), {
|
|
737
|
-
PUSH(e, n) {
|
|
738
|
-
var o;
|
|
739
|
-
let t = (o = this.get(e)) != null ? o : {
|
|
740
|
-
doc: e,
|
|
741
|
-
count: 0,
|
|
742
|
-
d: o$3(),
|
|
743
|
-
meta: /* @__PURE__ */ new Set()
|
|
744
|
-
};
|
|
745
|
-
return t.count++, t.meta.add(n), this.set(e, t), this;
|
|
746
|
-
},
|
|
747
|
-
POP(e, n) {
|
|
748
|
-
let t = this.get(e);
|
|
749
|
-
return t && (t.count--, t.meta.delete(n)), this;
|
|
750
|
-
},
|
|
751
|
-
SCROLL_PREVENT({ doc: e, d: n, meta: t }) {
|
|
752
|
-
let o = {
|
|
753
|
-
doc: e,
|
|
754
|
-
d: n,
|
|
755
|
-
meta: m$1(t)
|
|
756
|
-
}, c$3 = [
|
|
757
|
-
w$1(),
|
|
758
|
-
c(),
|
|
759
|
-
l$1()
|
|
760
|
-
];
|
|
761
|
-
c$3.forEach(({ before: r }) => r == null ? void 0 : r(o)), c$3.forEach(({ after: r }) => r == null ? void 0 : r(o));
|
|
762
|
-
},
|
|
763
|
-
SCROLL_ALLOW({ d: e }) {
|
|
764
|
-
e.dispose();
|
|
765
|
-
},
|
|
766
|
-
TEARDOWN({ doc: e }) {
|
|
767
|
-
this.delete(e);
|
|
768
|
-
}
|
|
769
|
-
});
|
|
770
|
-
a.subscribe(() => {
|
|
771
|
-
let e = a.getSnapshot(), n = /* @__PURE__ */ new Map();
|
|
772
|
-
for (let [t] of e) n.set(t, t.documentElement.style.overflow);
|
|
773
|
-
for (let t of e.values()) {
|
|
774
|
-
let o = n.get(t.doc) === "hidden", c = t.count !== 0;
|
|
775
|
-
(c && !o || !c && o) && a.dispatch(t.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", t), t.count === 0 && a.dispatch("TEARDOWN", t);
|
|
776
|
-
}
|
|
777
|
-
});
|
|
778
|
-
//#endregion
|
|
779
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/use-document-overflow.js
|
|
780
|
-
function d$2(t, a$2, n) {
|
|
781
|
-
let i = m$2(a), l = computed(() => {
|
|
782
|
-
let e = t.value ? i.value.get(t.value) : void 0;
|
|
783
|
-
return e ? e.count > 0 : !1;
|
|
784
|
-
});
|
|
785
|
-
return watch([t, a$2], ([e, m], [r], o) => {
|
|
786
|
-
if (!e || !m) return;
|
|
787
|
-
a.dispatch("PUSH", e, n);
|
|
788
|
-
let f = !1;
|
|
789
|
-
o(() => {
|
|
790
|
-
f || (a.dispatch("POP", r != null ? r : e, n), f = !0);
|
|
791
|
-
});
|
|
792
|
-
}, { immediate: !0 }), l;
|
|
793
|
-
}
|
|
794
|
-
//#endregion
|
|
795
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-inert.js
|
|
796
|
-
var i = /* @__PURE__ */ new Map();
|
|
797
|
-
var t = /* @__PURE__ */ new Map();
|
|
798
|
-
function E(d, f = ref(!0)) {
|
|
799
|
-
watchEffect((o) => {
|
|
800
|
-
var a;
|
|
801
|
-
if (!f.value) return;
|
|
802
|
-
let e = o$1(d);
|
|
803
|
-
if (!e) return;
|
|
804
|
-
o(function() {
|
|
805
|
-
var u;
|
|
806
|
-
if (!e) return;
|
|
807
|
-
let r = (u = t.get(e)) != null ? u : 1;
|
|
808
|
-
if (r === 1 ? t.delete(e) : t.set(e, r - 1), r !== 1) return;
|
|
809
|
-
let n = i.get(e);
|
|
810
|
-
n && (n["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", n["aria-hidden"]), e.inert = n.inert, i.delete(e));
|
|
811
|
-
});
|
|
812
|
-
let l = (a = t.get(e)) != null ? a : 0;
|
|
813
|
-
t.set(e, l + 1), l === 0 && (i.set(e, {
|
|
814
|
-
"aria-hidden": e.getAttribute("aria-hidden"),
|
|
815
|
-
inert: e.inert
|
|
816
|
-
}), e.setAttribute("aria-hidden", "true"), e.inert = !0);
|
|
817
|
-
});
|
|
818
|
-
}
|
|
819
|
-
//#endregion
|
|
820
|
-
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-root-containers.js
|
|
821
|
-
function N$1({ defaultContainers: o = [], portals: i, mainTreeNodeRef: H } = {}) {
|
|
822
|
-
let t = ref(null), r = i$3(t);
|
|
823
|
-
function u() {
|
|
824
|
-
var l, f, a;
|
|
825
|
-
let n = [];
|
|
826
|
-
for (let e of o) e !== null && (e instanceof HTMLElement ? n.push(e) : "value" in e && e.value instanceof HTMLElement && n.push(e.value));
|
|
827
|
-
if (i != null && i.value) for (let e of i.value) n.push(e);
|
|
828
|
-
for (let e of (l = r == null ? void 0 : r.querySelectorAll("html > *, body > *")) != null ? l : []) e !== document.body && e !== document.head && e instanceof HTMLElement && e.id !== "headlessui-portal-root" && (e.contains(o$1(t)) || e.contains((a = (f = o$1(t)) == null ? void 0 : f.getRootNode()) == null ? void 0 : a.host) || n.some((M) => e.contains(M)) || n.push(e));
|
|
829
|
-
return n;
|
|
830
|
-
}
|
|
831
|
-
return {
|
|
832
|
-
resolveContainers: u,
|
|
833
|
-
contains(n) {
|
|
834
|
-
return u().some((l) => l.contains(n));
|
|
835
|
-
},
|
|
836
|
-
mainTreeNodeRef: t,
|
|
837
|
-
MainTreeNode() {
|
|
838
|
-
return H != null ? null : h(f$1, {
|
|
839
|
-
features: u$3.Hidden,
|
|
840
|
-
ref: t
|
|
841
|
-
});
|
|
842
|
-
}
|
|
843
|
-
};
|
|
844
|
-
}
|
|
845
|
-
//#endregion
|
|
846
|
-
//#region ../../node_modules/@headlessui/vue/dist/internal/portal-force-root.js
|
|
847
|
-
var e = Symbol("ForcePortalRootContext");
|
|
848
|
-
function s$1() {
|
|
849
|
-
return inject(e, !1);
|
|
850
|
-
}
|
|
851
|
-
var u$2 = defineComponent({
|
|
852
|
-
name: "ForcePortalRoot",
|
|
853
|
-
props: {
|
|
854
|
-
as: {
|
|
855
|
-
type: [Object, String],
|
|
856
|
-
default: "template"
|
|
857
|
-
},
|
|
858
|
-
force: {
|
|
859
|
-
type: Boolean,
|
|
860
|
-
default: !1
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
setup(o, { slots: t, attrs: r }) {
|
|
864
|
-
return provide(e, o.force), () => {
|
|
865
|
-
let { force: f, ...n } = o;
|
|
866
|
-
return A$2({
|
|
867
|
-
theirProps: n,
|
|
868
|
-
ourProps: {},
|
|
869
|
-
slot: {},
|
|
870
|
-
slots: t,
|
|
871
|
-
attrs: r,
|
|
872
|
-
name: "ForcePortalRoot"
|
|
873
|
-
});
|
|
874
|
-
};
|
|
875
|
-
}
|
|
876
|
-
});
|
|
877
|
-
//#endregion
|
|
878
|
-
//#region ../../node_modules/@headlessui/vue/dist/internal/stack-context.js
|
|
879
|
-
var u$1 = Symbol("StackContext");
|
|
880
|
-
var s = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(s || {});
|
|
881
|
-
function y() {
|
|
882
|
-
return inject(u$1, () => {});
|
|
883
|
-
}
|
|
884
|
-
function R$1({ type: o, enabled: r, element: e, onUpdate: i }) {
|
|
885
|
-
let a = y();
|
|
886
|
-
function t(...n) {
|
|
887
|
-
i?.(...n), a(...n);
|
|
888
|
-
}
|
|
889
|
-
onMounted(() => {
|
|
890
|
-
watch(r, (n, d) => {
|
|
891
|
-
n ? t(0, o, e) : d === !0 && t(1, o, e);
|
|
892
|
-
}, {
|
|
893
|
-
immediate: !0,
|
|
894
|
-
flush: "sync"
|
|
895
|
-
});
|
|
896
|
-
}), onUnmounted(() => {
|
|
897
|
-
r.value && t(1, o, e);
|
|
898
|
-
}), provide(u$1, t);
|
|
899
|
-
}
|
|
900
|
-
//#endregion
|
|
901
|
-
//#region ../../node_modules/@headlessui/vue/dist/components/description/description.js
|
|
902
|
-
var u = Symbol("DescriptionContext");
|
|
903
|
-
function w() {
|
|
904
|
-
let t = inject(u, null);
|
|
905
|
-
if (t === null) throw new Error("Missing parent");
|
|
906
|
-
return t;
|
|
907
|
-
}
|
|
908
|
-
function k({ slot: t = ref({}), name: o = "Description", props: s = {} } = {}) {
|
|
909
|
-
let e = ref([]);
|
|
910
|
-
function r(n) {
|
|
911
|
-
return e.value.push(n), () => {
|
|
912
|
-
let i = e.value.indexOf(n);
|
|
913
|
-
i !== -1 && e.value.splice(i, 1);
|
|
914
|
-
};
|
|
915
|
-
}
|
|
916
|
-
return provide(u, {
|
|
917
|
-
register: r,
|
|
918
|
-
slot: t,
|
|
919
|
-
name: o,
|
|
920
|
-
props: s
|
|
921
|
-
}), computed(() => e.value.length > 0 ? e.value.join(" ") : void 0);
|
|
922
|
-
}
|
|
923
|
-
var K = defineComponent({
|
|
924
|
-
name: "Description",
|
|
925
|
-
props: {
|
|
926
|
-
as: {
|
|
927
|
-
type: [Object, String],
|
|
928
|
-
default: "p"
|
|
929
|
-
},
|
|
930
|
-
id: {
|
|
931
|
-
type: String,
|
|
932
|
-
default: null
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
setup(t, { attrs: o, slots: s }) {
|
|
936
|
-
var n;
|
|
937
|
-
let e = (n = t.id) != null ? n : `headlessui-description-${i$5()}`, r = w();
|
|
938
|
-
return onMounted(() => onUnmounted(r.register(e))), () => {
|
|
939
|
-
let { name: i = "Description", slot: l = ref({}), props: d = {} } = r, { ...c } = t;
|
|
940
|
-
return A$2({
|
|
941
|
-
ourProps: {
|
|
942
|
-
...Object.entries(d).reduce((a, [g, m]) => Object.assign(a, { [g]: unref(m) }), {}),
|
|
943
|
-
id: e
|
|
944
|
-
},
|
|
945
|
-
theirProps: c,
|
|
946
|
-
slot: l.value,
|
|
947
|
-
attrs: o,
|
|
948
|
-
slots: s,
|
|
949
|
-
name: i
|
|
950
|
-
});
|
|
951
|
-
};
|
|
952
|
-
}
|
|
953
|
-
});
|
|
954
|
-
//#endregion
|
|
955
|
-
//#region ../../node_modules/@headlessui/vue/dist/components/portal/portal.js
|
|
956
|
-
function x(e) {
|
|
957
|
-
let t = i$3(e);
|
|
958
|
-
if (!t) {
|
|
959
|
-
if (e === null) return null;
|
|
960
|
-
throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`);
|
|
961
|
-
}
|
|
962
|
-
let l = t.getElementById("headlessui-portal-root");
|
|
963
|
-
if (l) return l;
|
|
964
|
-
let r = t.createElement("div");
|
|
965
|
-
return r.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(r);
|
|
966
|
-
}
|
|
967
|
-
var f = /* @__PURE__ */ new WeakMap();
|
|
968
|
-
function U(e) {
|
|
969
|
-
var t;
|
|
970
|
-
return (t = f.get(e)) != null ? t : 0;
|
|
971
|
-
}
|
|
972
|
-
function M(e, t) {
|
|
973
|
-
let l = t(U(e));
|
|
974
|
-
return l <= 0 ? f.delete(e) : f.set(e, l), l;
|
|
975
|
-
}
|
|
976
|
-
var $ = defineComponent({
|
|
977
|
-
name: "Portal",
|
|
978
|
-
props: { as: {
|
|
979
|
-
type: [Object, String],
|
|
980
|
-
default: "div"
|
|
981
|
-
} },
|
|
982
|
-
setup(e, { slots: t, attrs: l }) {
|
|
983
|
-
let r = ref(null), i = computed(() => i$3(r)), o = s$1(), u = inject(H$1, null), n = ref(o === !0 || u == null ? x(r.value) : u.resolveTarget());
|
|
984
|
-
n.value && M(n.value, (a) => a + 1);
|
|
985
|
-
let c = ref(!1);
|
|
986
|
-
onMounted(() => {
|
|
987
|
-
c.value = !0;
|
|
988
|
-
}), watchEffect(() => {
|
|
989
|
-
o || u != null && (n.value = u.resolveTarget());
|
|
990
|
-
});
|
|
991
|
-
let v = inject(d$1, null), g = !1, b = getCurrentInstance();
|
|
992
|
-
return watch(r, () => {
|
|
993
|
-
if (g || !v) return;
|
|
994
|
-
let a = o$1(r);
|
|
995
|
-
a && (onUnmounted(v.register(a), b), g = !0);
|
|
996
|
-
}), onUnmounted(() => {
|
|
997
|
-
var P, T;
|
|
998
|
-
let a = (P = i.value) == null ? void 0 : P.getElementById("headlessui-portal-root");
|
|
999
|
-
!a || n.value !== a || M(n.value, (L) => L - 1) || n.value.children.length > 0 || (T = n.value.parentElement) == null || T.removeChild(n.value);
|
|
1000
|
-
}), () => {
|
|
1001
|
-
if (!c.value || n.value === null) return null;
|
|
1002
|
-
let a = {
|
|
1003
|
-
ref: r,
|
|
1004
|
-
"data-headlessui-portal": ""
|
|
1005
|
-
};
|
|
1006
|
-
return h(Teleport, { to: n.value }, A$2({
|
|
1007
|
-
ourProps: a,
|
|
1008
|
-
theirProps: e,
|
|
1009
|
-
slot: {},
|
|
1010
|
-
attrs: l,
|
|
1011
|
-
slots: t,
|
|
1012
|
-
name: "Portal"
|
|
1013
|
-
}));
|
|
1014
|
-
};
|
|
1015
|
-
}
|
|
1016
|
-
});
|
|
1017
|
-
var d$1 = Symbol("PortalParentContext");
|
|
1018
|
-
function q() {
|
|
1019
|
-
let e = inject(d$1, null), t = ref([]);
|
|
1020
|
-
function l(o) {
|
|
1021
|
-
return t.value.push(o), e && e.register(o), () => r(o);
|
|
1022
|
-
}
|
|
1023
|
-
function r(o) {
|
|
1024
|
-
let u = t.value.indexOf(o);
|
|
1025
|
-
u !== -1 && t.value.splice(u, 1), e && e.unregister(o);
|
|
1026
|
-
}
|
|
1027
|
-
let i = {
|
|
1028
|
-
register: l,
|
|
1029
|
-
unregister: r,
|
|
1030
|
-
portals: t
|
|
1031
|
-
};
|
|
1032
|
-
return [t, defineComponent({
|
|
1033
|
-
name: "PortalWrapper",
|
|
1034
|
-
setup(o, { slots: u }) {
|
|
1035
|
-
return provide(d$1, i), () => {
|
|
1036
|
-
var n;
|
|
1037
|
-
return (n = u.default) == null ? void 0 : n.call(u);
|
|
1038
|
-
};
|
|
1039
|
-
}
|
|
1040
|
-
})];
|
|
1041
|
-
}
|
|
1042
|
-
var H$1 = Symbol("PortalGroupContext");
|
|
1043
|
-
var z = defineComponent({
|
|
1044
|
-
name: "PortalGroup",
|
|
1045
|
-
props: {
|
|
1046
|
-
as: {
|
|
1047
|
-
type: [Object, String],
|
|
1048
|
-
default: "template"
|
|
1049
|
-
},
|
|
1050
|
-
target: {
|
|
1051
|
-
type: Object,
|
|
1052
|
-
default: null
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
setup(e, { attrs: t, slots: l }) {
|
|
1056
|
-
return provide(H$1, reactive({ resolveTarget() {
|
|
1057
|
-
return e.target;
|
|
1058
|
-
} })), () => {
|
|
1059
|
-
let { target: i, ...o } = e;
|
|
1060
|
-
return A$2({
|
|
1061
|
-
theirProps: o,
|
|
1062
|
-
ourProps: {},
|
|
1063
|
-
slot: {},
|
|
1064
|
-
attrs: t,
|
|
1065
|
-
slots: l,
|
|
1066
|
-
name: "PortalGroup"
|
|
1067
|
-
});
|
|
1068
|
-
};
|
|
1069
|
-
}
|
|
1070
|
-
});
|
|
1071
|
-
//#endregion
|
|
1072
|
-
//#region ../../node_modules/@headlessui/vue/dist/components/dialog/dialog.js
|
|
1073
|
-
var Te$1 = ((l) => (l[l.Open = 0] = "Open", l[l.Closed = 1] = "Closed", l))(Te$1 || {});
|
|
1074
|
-
var H = Symbol("DialogContext");
|
|
1075
|
-
function T(t) {
|
|
1076
|
-
let i = inject(H, null);
|
|
1077
|
-
if (i === null) {
|
|
1078
|
-
let l = /* @__PURE__ */ new Error(`<${t} /> is missing a parent <Dialog /> component.`);
|
|
1079
|
-
throw Error.captureStackTrace && Error.captureStackTrace(l, T), l;
|
|
1080
|
-
}
|
|
1081
|
-
return i;
|
|
1082
|
-
}
|
|
1083
|
-
var A = "DC8F892D-2EBD-447C-A4C8-A03058436FF4";
|
|
1084
|
-
var Ye = defineComponent({
|
|
1085
|
-
name: "Dialog",
|
|
1086
|
-
inheritAttrs: !1,
|
|
1087
|
-
props: {
|
|
1088
|
-
as: {
|
|
1089
|
-
type: [Object, String],
|
|
1090
|
-
default: "div"
|
|
1091
|
-
},
|
|
1092
|
-
static: {
|
|
1093
|
-
type: Boolean,
|
|
1094
|
-
default: !1
|
|
1095
|
-
},
|
|
1096
|
-
unmount: {
|
|
1097
|
-
type: Boolean,
|
|
1098
|
-
default: !0
|
|
1099
|
-
},
|
|
1100
|
-
open: {
|
|
1101
|
-
type: [Boolean, String],
|
|
1102
|
-
default: A
|
|
1103
|
-
},
|
|
1104
|
-
initialFocus: {
|
|
1105
|
-
type: Object,
|
|
1106
|
-
default: null
|
|
1107
|
-
},
|
|
1108
|
-
id: {
|
|
1109
|
-
type: String,
|
|
1110
|
-
default: null
|
|
1111
|
-
},
|
|
1112
|
-
role: {
|
|
1113
|
-
type: String,
|
|
1114
|
-
default: "dialog"
|
|
1115
|
-
}
|
|
1116
|
-
},
|
|
1117
|
-
emits: { close: (t) => !0 },
|
|
1118
|
-
setup(t, { emit: i, attrs: l, slots: p, expose: s$4 }) {
|
|
1119
|
-
var q$1, W;
|
|
1120
|
-
let n = (q$1 = t.id) != null ? q$1 : `headlessui-dialog-${i$5()}`, u = ref(!1);
|
|
1121
|
-
onMounted(() => {
|
|
1122
|
-
u.value = !0;
|
|
1123
|
-
});
|
|
1124
|
-
let r = !1, g = computed(() => t.role === "dialog" || t.role === "alertdialog" ? t.role : (r || (r = !0, console.warn(`Invalid role [${g}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), D = ref(0), S = l$2(), R = computed(() => t.open === A && S !== null ? (S.value & i$1.Open) === i$1.Open : t.open), m = ref(null), E$3 = computed(() => i$3(m));
|
|
1125
|
-
if (s$4({
|
|
1126
|
-
el: m,
|
|
1127
|
-
$el: m
|
|
1128
|
-
}), !(t.open !== A || S !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
1129
|
-
if (typeof R.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${R.value === A ? void 0 : t.open}`);
|
|
1130
|
-
let c = computed(() => u.value && R.value ? 0 : 1), k$1 = computed(() => c.value === 0), w = computed(() => D.value > 1), N = inject(H, null) !== null, [Q, X] = q(), { resolveContainers: B, mainTreeNodeRef: K, MainTreeNode: Z } = N$1({
|
|
1131
|
-
portals: Q,
|
|
1132
|
-
defaultContainers: [computed(() => {
|
|
1133
|
-
var e;
|
|
1134
|
-
return (e = h$4.panelRef.value) != null ? e : m.value;
|
|
1135
|
-
})]
|
|
1136
|
-
}), ee = computed(() => w.value ? "parent" : "leaf"), U = computed(() => S !== null ? (S.value & i$1.Closing) === i$1.Closing : !1), te = computed(() => N || U.value ? !1 : k$1.value);
|
|
1137
|
-
E(computed(() => {
|
|
1138
|
-
var e, a, d;
|
|
1139
|
-
return (d = Array.from((a = (e = E$3.value) == null ? void 0 : e.querySelectorAll("body > *")) != null ? a : []).find((f) => f.id === "headlessui-portal-root" ? !1 : f.contains(o$1(K)) && f instanceof HTMLElement)) != null ? d : null;
|
|
1140
|
-
}), te);
|
|
1141
|
-
let ae = computed(() => w.value ? !0 : k$1.value);
|
|
1142
|
-
E(computed(() => {
|
|
1143
|
-
var e, a, d;
|
|
1144
|
-
return (d = Array.from((a = (e = E$3.value) == null ? void 0 : e.querySelectorAll("[data-headlessui-portal]")) != null ? a : []).find((f) => f.contains(o$1(K)) && f instanceof HTMLElement)) != null ? d : null;
|
|
1145
|
-
}), ae), R$1({
|
|
1146
|
-
type: "Dialog",
|
|
1147
|
-
enabled: computed(() => c.value === 0),
|
|
1148
|
-
element: m,
|
|
1149
|
-
onUpdate: (e, a) => {
|
|
1150
|
-
if (a === "Dialog") return u$5(e, {
|
|
1151
|
-
[s.Add]: () => D.value += 1,
|
|
1152
|
-
[s.Remove]: () => D.value -= 1
|
|
1153
|
-
});
|
|
1154
|
-
}
|
|
1155
|
-
});
|
|
1156
|
-
let re = k({
|
|
1157
|
-
name: "DialogDescription",
|
|
1158
|
-
slot: computed(() => ({ open: R.value }))
|
|
1159
|
-
}), M = ref(null), h$4 = {
|
|
1160
|
-
titleId: M,
|
|
1161
|
-
panelRef: ref(null),
|
|
1162
|
-
dialogState: c,
|
|
1163
|
-
setTitleId(e) {
|
|
1164
|
-
M.value !== e && (M.value = e);
|
|
1165
|
-
},
|
|
1166
|
-
close() {
|
|
1167
|
-
i("close", !1);
|
|
1168
|
-
}
|
|
1169
|
-
};
|
|
1170
|
-
provide(H, h$4);
|
|
1171
|
-
w$2(B, (e, a) => {
|
|
1172
|
-
e.preventDefault(), h$4.close(), nextTick(() => a == null ? void 0 : a.focus());
|
|
1173
|
-
}, computed(() => !(!k$1.value || w.value)));
|
|
1174
|
-
let ie = computed(() => !(w.value || c.value !== 0));
|
|
1175
|
-
E$1((W = E$3.value) == null ? void 0 : W.defaultView, "keydown", (e) => {
|
|
1176
|
-
ie.value && (e.defaultPrevented || e.key === o.Escape && (e.preventDefault(), e.stopPropagation(), h$4.close()));
|
|
1177
|
-
});
|
|
1178
|
-
return d$2(E$3, computed(() => !(U.value || c.value !== 0 || N)), (e) => {
|
|
1179
|
-
var a;
|
|
1180
|
-
return { containers: [...(a = e.containers) != null ? a : [], B] };
|
|
1181
|
-
}), watchEffect((e) => {
|
|
1182
|
-
if (c.value !== 0) return;
|
|
1183
|
-
let a = o$1(m);
|
|
1184
|
-
if (!a) return;
|
|
1185
|
-
let d = new ResizeObserver((f) => {
|
|
1186
|
-
for (let L of f) {
|
|
1187
|
-
let x = L.target.getBoundingClientRect();
|
|
1188
|
-
x.x === 0 && x.y === 0 && x.width === 0 && x.height === 0 && h$4.close();
|
|
1189
|
-
}
|
|
1190
|
-
});
|
|
1191
|
-
d.observe(a), e(() => d.disconnect());
|
|
1192
|
-
}), () => {
|
|
1193
|
-
let { open: e, initialFocus: a, ...d } = t, f = {
|
|
1194
|
-
...l,
|
|
1195
|
-
ref: m,
|
|
1196
|
-
id: n,
|
|
1197
|
-
role: g.value,
|
|
1198
|
-
"aria-modal": c.value === 0 ? !0 : void 0,
|
|
1199
|
-
"aria-labelledby": M.value,
|
|
1200
|
-
"aria-describedby": re.value
|
|
1201
|
-
}, L = { open: c.value === 0 };
|
|
1202
|
-
return h(u$2, { force: !0 }, () => [h($, () => h(z, { target: m.value }, () => h(u$2, { force: !1 }, () => h(ue, {
|
|
1203
|
-
initialFocus: a,
|
|
1204
|
-
containers: B,
|
|
1205
|
-
features: k$1.value ? u$5(ee.value, {
|
|
1206
|
-
parent: ue.features.RestoreFocus,
|
|
1207
|
-
leaf: ue.features.All & ~ue.features.FocusLock
|
|
1208
|
-
}) : ue.features.None
|
|
1209
|
-
}, () => h(X, {}, () => A$2({
|
|
1210
|
-
ourProps: f,
|
|
1211
|
-
theirProps: {
|
|
1212
|
-
...d,
|
|
1213
|
-
...l
|
|
1214
|
-
},
|
|
1215
|
-
slot: L,
|
|
1216
|
-
attrs: l,
|
|
1217
|
-
slots: p,
|
|
1218
|
-
visible: c.value === 0,
|
|
1219
|
-
features: N$3.RenderStrategy | N$3.Static,
|
|
1220
|
-
name: "Dialog"
|
|
1221
|
-
})))))), h(Z)]);
|
|
1222
|
-
};
|
|
1223
|
-
}
|
|
1224
|
-
});
|
|
1225
|
-
defineComponent({
|
|
1226
|
-
name: "DialogOverlay",
|
|
1227
|
-
props: {
|
|
1228
|
-
as: {
|
|
1229
|
-
type: [Object, String],
|
|
1230
|
-
default: "div"
|
|
1231
|
-
},
|
|
1232
|
-
id: {
|
|
1233
|
-
type: String,
|
|
1234
|
-
default: null
|
|
1235
|
-
}
|
|
1236
|
-
},
|
|
1237
|
-
setup(t, { attrs: i, slots: l }) {
|
|
1238
|
-
var u;
|
|
1239
|
-
let p = (u = t.id) != null ? u : `headlessui-dialog-overlay-${i$5()}`, s = T("DialogOverlay");
|
|
1240
|
-
function n(r) {
|
|
1241
|
-
r.target === r.currentTarget && (r.preventDefault(), r.stopPropagation(), s.close());
|
|
1242
|
-
}
|
|
1243
|
-
return () => {
|
|
1244
|
-
let { ...r } = t;
|
|
1245
|
-
return A$2({
|
|
1246
|
-
ourProps: {
|
|
1247
|
-
id: p,
|
|
1248
|
-
"aria-hidden": !0,
|
|
1249
|
-
onClick: n
|
|
1250
|
-
},
|
|
1251
|
-
theirProps: r,
|
|
1252
|
-
slot: { open: s.dialogState.value === 0 },
|
|
1253
|
-
attrs: i,
|
|
1254
|
-
slots: l,
|
|
1255
|
-
name: "DialogOverlay"
|
|
1256
|
-
});
|
|
1257
|
-
};
|
|
1258
|
-
}
|
|
1259
|
-
});
|
|
1260
|
-
defineComponent({
|
|
1261
|
-
name: "DialogBackdrop",
|
|
1262
|
-
props: {
|
|
1263
|
-
as: {
|
|
1264
|
-
type: [Object, String],
|
|
1265
|
-
default: "div"
|
|
1266
|
-
},
|
|
1267
|
-
id: {
|
|
1268
|
-
type: String,
|
|
1269
|
-
default: null
|
|
1270
|
-
}
|
|
1271
|
-
},
|
|
1272
|
-
inheritAttrs: !1,
|
|
1273
|
-
setup(t, { attrs: i, slots: l, expose: p }) {
|
|
1274
|
-
var r;
|
|
1275
|
-
let s = (r = t.id) != null ? r : `headlessui-dialog-backdrop-${i$5()}`, n = T("DialogBackdrop"), u = ref(null);
|
|
1276
|
-
return p({
|
|
1277
|
-
el: u,
|
|
1278
|
-
$el: u
|
|
1279
|
-
}), onMounted(() => {
|
|
1280
|
-
if (n.panelRef.value === null) throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
1281
|
-
}), () => {
|
|
1282
|
-
let { ...g } = t, D = {
|
|
1283
|
-
id: s,
|
|
1284
|
-
ref: u,
|
|
1285
|
-
"aria-hidden": !0
|
|
1286
|
-
};
|
|
1287
|
-
return h(u$2, { force: !0 }, () => h($, () => A$2({
|
|
1288
|
-
ourProps: D,
|
|
1289
|
-
theirProps: {
|
|
1290
|
-
...i,
|
|
1291
|
-
...g
|
|
1292
|
-
},
|
|
1293
|
-
slot: { open: n.dialogState.value === 0 },
|
|
1294
|
-
attrs: i,
|
|
1295
|
-
slots: l,
|
|
1296
|
-
name: "DialogBackdrop"
|
|
1297
|
-
})));
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
|
-
});
|
|
1301
|
-
var Ge = defineComponent({
|
|
1302
|
-
name: "DialogPanel",
|
|
1303
|
-
props: {
|
|
1304
|
-
as: {
|
|
1305
|
-
type: [Object, String],
|
|
1306
|
-
default: "div"
|
|
1307
|
-
},
|
|
1308
|
-
id: {
|
|
1309
|
-
type: String,
|
|
1310
|
-
default: null
|
|
1311
|
-
}
|
|
1312
|
-
},
|
|
1313
|
-
setup(t, { attrs: i, slots: l, expose: p }) {
|
|
1314
|
-
var r;
|
|
1315
|
-
let s = (r = t.id) != null ? r : `headlessui-dialog-panel-${i$5()}`, n = T("DialogPanel");
|
|
1316
|
-
p({
|
|
1317
|
-
el: n.panelRef,
|
|
1318
|
-
$el: n.panelRef
|
|
1319
|
-
});
|
|
1320
|
-
function u(g) {
|
|
1321
|
-
g.stopPropagation();
|
|
1322
|
-
}
|
|
1323
|
-
return () => {
|
|
1324
|
-
let { ...g } = t;
|
|
1325
|
-
return A$2({
|
|
1326
|
-
ourProps: {
|
|
1327
|
-
id: s,
|
|
1328
|
-
ref: n.panelRef,
|
|
1329
|
-
onClick: u
|
|
1330
|
-
},
|
|
1331
|
-
theirProps: g,
|
|
1332
|
-
slot: { open: n.dialogState.value === 0 },
|
|
1333
|
-
attrs: i,
|
|
1334
|
-
slots: l,
|
|
1335
|
-
name: "DialogPanel"
|
|
1336
|
-
});
|
|
1337
|
-
};
|
|
1338
|
-
}
|
|
1339
|
-
});
|
|
1340
|
-
var Ve = defineComponent({
|
|
1341
|
-
name: "DialogTitle",
|
|
1342
|
-
props: {
|
|
1343
|
-
as: {
|
|
1344
|
-
type: [Object, String],
|
|
1345
|
-
default: "h2"
|
|
1346
|
-
},
|
|
1347
|
-
id: {
|
|
1348
|
-
type: String,
|
|
1349
|
-
default: null
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
setup(t, { attrs: i, slots: l }) {
|
|
1353
|
-
var n;
|
|
1354
|
-
let p = (n = t.id) != null ? n : `headlessui-dialog-title-${i$5()}`, s = T("DialogTitle");
|
|
1355
|
-
return onMounted(() => {
|
|
1356
|
-
s.setTitleId(p), onUnmounted(() => s.setTitleId(null));
|
|
1357
|
-
}), () => {
|
|
1358
|
-
let { ...u } = t;
|
|
1359
|
-
return A$2({
|
|
1360
|
-
ourProps: { id: p },
|
|
1361
|
-
theirProps: u,
|
|
1362
|
-
slot: { open: s.dialogState.value === 0 },
|
|
1363
|
-
attrs: i,
|
|
1364
|
-
slots: l,
|
|
1365
|
-
name: "DialogTitle"
|
|
1366
|
-
});
|
|
1367
|
-
};
|
|
1368
|
-
}
|
|
1369
|
-
});
|
|
1370
|
-
var Je = K;
|
|
1371
|
-
//#endregion
|
|
1372
|
-
//#region ../../node_modules/@headlessui/vue/dist/utils/once.js
|
|
1373
|
-
function l(r) {
|
|
1374
|
-
let e = { called: !1 };
|
|
1375
|
-
return (...t) => {
|
|
1376
|
-
if (!e.called) return e.called = !0, r(...t);
|
|
1377
|
-
};
|
|
1378
|
-
}
|
|
1379
|
-
//#endregion
|
|
1380
|
-
//#region ../../node_modules/@headlessui/vue/dist/components/transitions/utils/transition.js
|
|
1381
|
-
function m(e, ...t) {
|
|
1382
|
-
e && t.length > 0 && e.classList.add(...t);
|
|
1383
|
-
}
|
|
1384
|
-
function d(e, ...t) {
|
|
1385
|
-
e && t.length > 0 && e.classList.remove(...t);
|
|
1386
|
-
}
|
|
1387
|
-
var g$1 = ((i) => (i.Finished = "finished", i.Cancelled = "cancelled", i))(g$1 || {});
|
|
1388
|
-
function F(e, t) {
|
|
1389
|
-
let i = o$3();
|
|
1390
|
-
if (!e) return i.dispose;
|
|
1391
|
-
let { transitionDuration: n, transitionDelay: a } = getComputedStyle(e), [l, s] = [n, a].map((o) => {
|
|
1392
|
-
let [u = 0] = o.split(",").filter(Boolean).map((r) => r.includes("ms") ? parseFloat(r) : parseFloat(r) * 1e3).sort((r, c) => c - r);
|
|
1393
|
-
return u;
|
|
1394
|
-
});
|
|
1395
|
-
return l !== 0 ? i.setTimeout(() => t("finished"), l + s) : t("finished"), i.add(() => t("cancelled")), i.dispose;
|
|
1396
|
-
}
|
|
1397
|
-
function L$1(e, t, i, n, a, l$3) {
|
|
1398
|
-
let s = o$3(), o = l$3 !== void 0 ? l(l$3) : () => {};
|
|
1399
|
-
return d(e, ...a), m(e, ...t, ...i), s.nextFrame(() => {
|
|
1400
|
-
d(e, ...i), m(e, ...n), s.add(F(e, (u) => (d(e, ...n, ...t), m(e, ...a), o(u))));
|
|
1401
|
-
}), s.add(() => d(e, ...t, ...i, ...n, ...a)), s.add(() => o("cancelled")), s.dispose;
|
|
1402
|
-
}
|
|
1403
|
-
//#endregion
|
|
1404
|
-
//#region ../../node_modules/@headlessui/vue/dist/components/transitions/transition.js
|
|
1405
|
-
function g(e = "") {
|
|
1406
|
-
return e.split(/\s+/).filter((t) => t.length > 1);
|
|
1407
|
-
}
|
|
1408
|
-
var R = Symbol("TransitionContext");
|
|
1409
|
-
var pe = ((a) => (a.Visible = "visible", a.Hidden = "hidden", a))(pe || {});
|
|
1410
|
-
function me() {
|
|
1411
|
-
return inject(R, null) !== null;
|
|
1412
|
-
}
|
|
1413
|
-
function Te() {
|
|
1414
|
-
let e = inject(R, null);
|
|
1415
|
-
if (e === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
1416
|
-
return e;
|
|
1417
|
-
}
|
|
1418
|
-
function ge() {
|
|
1419
|
-
let e = inject(N, null);
|
|
1420
|
-
if (e === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
1421
|
-
return e;
|
|
1422
|
-
}
|
|
1423
|
-
var N = Symbol("NestingContext");
|
|
1424
|
-
function L(e) {
|
|
1425
|
-
return "children" in e ? L(e.children) : e.value.filter(({ state: t }) => t === "visible").length > 0;
|
|
1426
|
-
}
|
|
1427
|
-
function Q(e) {
|
|
1428
|
-
let t = ref([]), a = ref(!1);
|
|
1429
|
-
onMounted(() => a.value = !0), onUnmounted(() => a.value = !1);
|
|
1430
|
-
function s(n, r = S.Hidden) {
|
|
1431
|
-
let l = t.value.findIndex(({ id: f }) => f === n);
|
|
1432
|
-
l !== -1 && (u$5(r, {
|
|
1433
|
-
[S.Unmount]() {
|
|
1434
|
-
t.value.splice(l, 1);
|
|
1435
|
-
},
|
|
1436
|
-
[S.Hidden]() {
|
|
1437
|
-
t.value[l].state = "hidden";
|
|
1438
|
-
}
|
|
1439
|
-
}), !L(t) && a.value && e?.());
|
|
1440
|
-
}
|
|
1441
|
-
function h(n) {
|
|
1442
|
-
let r = t.value.find(({ id: l }) => l === n);
|
|
1443
|
-
return r ? r.state !== "visible" && (r.state = "visible") : t.value.push({
|
|
1444
|
-
id: n,
|
|
1445
|
-
state: "visible"
|
|
1446
|
-
}), () => s(n, S.Unmount);
|
|
1447
|
-
}
|
|
1448
|
-
return {
|
|
1449
|
-
children: t,
|
|
1450
|
-
register: h,
|
|
1451
|
-
unregister: s
|
|
1452
|
-
};
|
|
1453
|
-
}
|
|
1454
|
-
var W = N$3.RenderStrategy;
|
|
1455
|
-
var he = defineComponent({
|
|
1456
|
-
props: {
|
|
1457
|
-
as: {
|
|
1458
|
-
type: [Object, String],
|
|
1459
|
-
default: "div"
|
|
1460
|
-
},
|
|
1461
|
-
show: {
|
|
1462
|
-
type: [Boolean],
|
|
1463
|
-
default: null
|
|
1464
|
-
},
|
|
1465
|
-
unmount: {
|
|
1466
|
-
type: [Boolean],
|
|
1467
|
-
default: !0
|
|
1468
|
-
},
|
|
1469
|
-
appear: {
|
|
1470
|
-
type: [Boolean],
|
|
1471
|
-
default: !1
|
|
1472
|
-
},
|
|
1473
|
-
enter: {
|
|
1474
|
-
type: [String],
|
|
1475
|
-
default: ""
|
|
1476
|
-
},
|
|
1477
|
-
enterFrom: {
|
|
1478
|
-
type: [String],
|
|
1479
|
-
default: ""
|
|
1480
|
-
},
|
|
1481
|
-
enterTo: {
|
|
1482
|
-
type: [String],
|
|
1483
|
-
default: ""
|
|
1484
|
-
},
|
|
1485
|
-
entered: {
|
|
1486
|
-
type: [String],
|
|
1487
|
-
default: ""
|
|
1488
|
-
},
|
|
1489
|
-
leave: {
|
|
1490
|
-
type: [String],
|
|
1491
|
-
default: ""
|
|
1492
|
-
},
|
|
1493
|
-
leaveFrom: {
|
|
1494
|
-
type: [String],
|
|
1495
|
-
default: ""
|
|
1496
|
-
},
|
|
1497
|
-
leaveTo: {
|
|
1498
|
-
type: [String],
|
|
1499
|
-
default: ""
|
|
1500
|
-
}
|
|
1501
|
-
},
|
|
1502
|
-
emits: {
|
|
1503
|
-
beforeEnter: () => !0,
|
|
1504
|
-
afterEnter: () => !0,
|
|
1505
|
-
beforeLeave: () => !0,
|
|
1506
|
-
afterLeave: () => !0
|
|
1507
|
-
},
|
|
1508
|
-
setup(e, { emit: t, attrs: a, slots: s, expose: h$2 }) {
|
|
1509
|
-
let n = ref(0);
|
|
1510
|
-
function r() {
|
|
1511
|
-
n.value |= i$1.Opening, t("beforeEnter");
|
|
1512
|
-
}
|
|
1513
|
-
function l() {
|
|
1514
|
-
n.value &= ~i$1.Opening, t("afterEnter");
|
|
1515
|
-
}
|
|
1516
|
-
function f() {
|
|
1517
|
-
n.value |= i$1.Closing, t("beforeLeave");
|
|
1518
|
-
}
|
|
1519
|
-
function S$2() {
|
|
1520
|
-
n.value &= ~i$1.Closing, t("afterLeave");
|
|
1521
|
-
}
|
|
1522
|
-
if (!me() && s$2()) return () => h(Se, {
|
|
1523
|
-
...e,
|
|
1524
|
-
onBeforeEnter: r,
|
|
1525
|
-
onAfterEnter: l,
|
|
1526
|
-
onBeforeLeave: f,
|
|
1527
|
-
onAfterLeave: S$2
|
|
1528
|
-
}, s);
|
|
1529
|
-
let d = ref(null), y = computed(() => e.unmount ? S.Unmount : S.Hidden);
|
|
1530
|
-
h$2({
|
|
1531
|
-
el: d,
|
|
1532
|
-
$el: d
|
|
1533
|
-
});
|
|
1534
|
-
let { show: v, appear: A } = Te(), { register: D, unregister: H } = ge(), i = ref(v.value ? "visible" : "hidden"), I = { value: !0 }, c = i$5(), b = { value: !1 }, P = Q(() => {
|
|
1535
|
-
!b.value && i.value !== "hidden" && (i.value = "hidden", H(c), S$2());
|
|
1536
|
-
});
|
|
1537
|
-
onMounted(() => {
|
|
1538
|
-
onUnmounted(D(c));
|
|
1539
|
-
}), watchEffect(() => {
|
|
1540
|
-
if (y.value === S.Hidden && c) {
|
|
1541
|
-
if (v.value && i.value !== "visible") {
|
|
1542
|
-
i.value = "visible";
|
|
1543
|
-
return;
|
|
1544
|
-
}
|
|
1545
|
-
u$5(i.value, {
|
|
1546
|
-
["hidden"]: () => H(c),
|
|
1547
|
-
["visible"]: () => D(c)
|
|
1548
|
-
});
|
|
1549
|
-
}
|
|
1550
|
-
});
|
|
1551
|
-
let j = g(e.enter), M = g(e.enterFrom), X = g(e.enterTo), _ = g(e.entered), Y = g(e.leave), Z = g(e.leaveFrom), ee = g(e.leaveTo);
|
|
1552
|
-
onMounted(() => {
|
|
1553
|
-
watchEffect(() => {
|
|
1554
|
-
if (i.value === "visible") {
|
|
1555
|
-
let o = o$1(d);
|
|
1556
|
-
if (o instanceof Comment && o.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
1557
|
-
}
|
|
1558
|
-
});
|
|
1559
|
-
});
|
|
1560
|
-
function te(o) {
|
|
1561
|
-
let E = I.value && !A.value, p = o$1(d);
|
|
1562
|
-
!p || !(p instanceof HTMLElement) || E || (b.value = !0, v.value && r(), v.value || f(), o(v.value ? L$1(p, j, M, X, _, (V) => {
|
|
1563
|
-
b.value = !1, V === g$1.Finished && l();
|
|
1564
|
-
}) : L$1(p, Y, Z, ee, _, (V) => {
|
|
1565
|
-
b.value = !1, V === g$1.Finished && (L(P) || (i.value = "hidden", H(c), S$2()));
|
|
1566
|
-
})));
|
|
1567
|
-
}
|
|
1568
|
-
return onMounted(() => {
|
|
1569
|
-
watch([v], (o, E, p) => {
|
|
1570
|
-
te(p), I.value = !1;
|
|
1571
|
-
}, { immediate: !0 });
|
|
1572
|
-
}), provide(N, P), t$3(computed(() => u$5(i.value, {
|
|
1573
|
-
["visible"]: i$1.Open,
|
|
1574
|
-
["hidden"]: i$1.Closed
|
|
1575
|
-
}) | n.value)), () => {
|
|
1576
|
-
let { appear: o, show: E, enter: p, enterFrom: V, enterTo: Ce, entered: ye, leave: be, leaveFrom: Ee, leaveTo: Ve, ...U } = e, ne = { ref: d };
|
|
1577
|
-
return A$2({
|
|
1578
|
-
theirProps: {
|
|
1579
|
-
...U,
|
|
1580
|
-
...A.value && v.value && c$2.isServer ? { class: normalizeClass([
|
|
1581
|
-
a.class,
|
|
1582
|
-
U.class,
|
|
1583
|
-
...j,
|
|
1584
|
-
...M
|
|
1585
|
-
]) } : {}
|
|
1586
|
-
},
|
|
1587
|
-
ourProps: ne,
|
|
1588
|
-
slot: {},
|
|
1589
|
-
slots: s,
|
|
1590
|
-
attrs: a,
|
|
1591
|
-
features: W,
|
|
1592
|
-
visible: i.value === "visible",
|
|
1593
|
-
name: "TransitionChild"
|
|
1594
|
-
});
|
|
1595
|
-
};
|
|
1596
|
-
}
|
|
1597
|
-
});
|
|
1598
|
-
var ce = he;
|
|
1599
|
-
var Se = defineComponent({
|
|
1600
|
-
inheritAttrs: !1,
|
|
1601
|
-
props: {
|
|
1602
|
-
as: {
|
|
1603
|
-
type: [Object, String],
|
|
1604
|
-
default: "div"
|
|
1605
|
-
},
|
|
1606
|
-
show: {
|
|
1607
|
-
type: [Boolean],
|
|
1608
|
-
default: null
|
|
1609
|
-
},
|
|
1610
|
-
unmount: {
|
|
1611
|
-
type: [Boolean],
|
|
1612
|
-
default: !0
|
|
1613
|
-
},
|
|
1614
|
-
appear: {
|
|
1615
|
-
type: [Boolean],
|
|
1616
|
-
default: !1
|
|
1617
|
-
},
|
|
1618
|
-
enter: {
|
|
1619
|
-
type: [String],
|
|
1620
|
-
default: ""
|
|
1621
|
-
},
|
|
1622
|
-
enterFrom: {
|
|
1623
|
-
type: [String],
|
|
1624
|
-
default: ""
|
|
1625
|
-
},
|
|
1626
|
-
enterTo: {
|
|
1627
|
-
type: [String],
|
|
1628
|
-
default: ""
|
|
1629
|
-
},
|
|
1630
|
-
entered: {
|
|
1631
|
-
type: [String],
|
|
1632
|
-
default: ""
|
|
1633
|
-
},
|
|
1634
|
-
leave: {
|
|
1635
|
-
type: [String],
|
|
1636
|
-
default: ""
|
|
1637
|
-
},
|
|
1638
|
-
leaveFrom: {
|
|
1639
|
-
type: [String],
|
|
1640
|
-
default: ""
|
|
1641
|
-
},
|
|
1642
|
-
leaveTo: {
|
|
1643
|
-
type: [String],
|
|
1644
|
-
default: ""
|
|
1645
|
-
}
|
|
1646
|
-
},
|
|
1647
|
-
emits: {
|
|
1648
|
-
beforeEnter: () => !0,
|
|
1649
|
-
afterEnter: () => !0,
|
|
1650
|
-
beforeLeave: () => !0,
|
|
1651
|
-
afterLeave: () => !0
|
|
1652
|
-
},
|
|
1653
|
-
setup(e, { emit: t, attrs: a, slots: s }) {
|
|
1654
|
-
let h$3 = l$2(), n = computed(() => e.show === null && h$3 !== null ? (h$3.value & i$1.Open) === i$1.Open : e.show);
|
|
1655
|
-
watchEffect(() => {
|
|
1656
|
-
if (![!0, !1].includes(n.value)) throw new Error("A <Transition /> is used but it is missing a `:show=\"true | false\"` prop.");
|
|
1657
|
-
});
|
|
1658
|
-
let r = ref(n.value ? "visible" : "hidden"), l = Q(() => {
|
|
1659
|
-
r.value = "hidden";
|
|
1660
|
-
}), f = ref(!0), S = {
|
|
1661
|
-
show: n,
|
|
1662
|
-
appear: computed(() => e.appear || !f.value)
|
|
1663
|
-
};
|
|
1664
|
-
return onMounted(() => {
|
|
1665
|
-
watchEffect(() => {
|
|
1666
|
-
f.value = !1, n.value ? r.value = "visible" : L(l) || (r.value = "hidden");
|
|
1667
|
-
});
|
|
1668
|
-
}), provide(N, l), provide(R, S), () => {
|
|
1669
|
-
let d = T$1(e, [
|
|
1670
|
-
"show",
|
|
1671
|
-
"appear",
|
|
1672
|
-
"unmount",
|
|
1673
|
-
"onBeforeEnter",
|
|
1674
|
-
"onBeforeLeave",
|
|
1675
|
-
"onAfterEnter",
|
|
1676
|
-
"onAfterLeave"
|
|
1677
|
-
]), y = { unmount: e.unmount };
|
|
1678
|
-
return A$2({
|
|
1679
|
-
ourProps: {
|
|
1680
|
-
...y,
|
|
1681
|
-
as: "template"
|
|
1682
|
-
},
|
|
1683
|
-
theirProps: {},
|
|
1684
|
-
slot: {},
|
|
1685
|
-
slots: {
|
|
1686
|
-
...s,
|
|
1687
|
-
default: () => [h(ce, {
|
|
1688
|
-
onBeforeEnter: () => t("beforeEnter"),
|
|
1689
|
-
onAfterEnter: () => t("afterEnter"),
|
|
1690
|
-
onBeforeLeave: () => t("beforeLeave"),
|
|
1691
|
-
onAfterLeave: () => t("afterLeave"),
|
|
1692
|
-
...a,
|
|
1693
|
-
...y,
|
|
1694
|
-
...d
|
|
1695
|
-
}, s.default)]
|
|
1696
|
-
},
|
|
1697
|
-
attrs: {},
|
|
1698
|
-
features: W,
|
|
1699
|
-
visible: r.value === "visible",
|
|
1700
|
-
name: "Transition"
|
|
1701
|
-
});
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
});
|
|
1705
|
-
//#endregion
|
|
1706
|
-
//#region src/composables/internal/useScrollLock.ts
|
|
1707
|
-
var lockCount = 0;
|
|
1708
|
-
var saved = null;
|
|
1709
|
-
function getScrollbarWidth() {
|
|
1710
|
-
return window.innerWidth - document.documentElement.clientWidth;
|
|
1711
|
-
}
|
|
1712
|
-
function applyLock() {
|
|
1713
|
-
const body = document.body;
|
|
1714
|
-
saved = {
|
|
1715
|
-
overflow: body.style.overflow,
|
|
1716
|
-
paddingRight: body.style.paddingRight
|
|
1717
|
-
};
|
|
1718
|
-
const scrollbarWidth = getScrollbarWidth();
|
|
1719
|
-
body.style.overflow = "hidden";
|
|
1720
|
-
if (scrollbarWidth > 0) {
|
|
1721
|
-
const currentPadding = Number.parseFloat(getComputedStyle(body).paddingRight) || 0;
|
|
1722
|
-
body.style.paddingRight = `${currentPadding + scrollbarWidth}px`;
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
function releaseLock() {
|
|
1726
|
-
if (!saved) return;
|
|
1727
|
-
document.body.style.overflow = saved.overflow;
|
|
1728
|
-
document.body.style.paddingRight = saved.paddingRight;
|
|
1729
|
-
saved = null;
|
|
1730
|
-
}
|
|
1731
|
-
/**
|
|
1732
|
-
* Возвращает пару `lock`/`unlock`, идемпотентную **в пределах одного инстанса**
|
|
1733
|
-
* (повторный `lock()` без `unlock()` не увеличивает глобальный счётчик дважды).
|
|
1734
|
-
* Глобальный счётчик разделяется всеми оверлеями.
|
|
1735
|
-
*/
|
|
1736
|
-
function useScrollLock() {
|
|
1737
|
-
const isClient = typeof window !== "undefined";
|
|
1738
|
-
let held = false;
|
|
1739
|
-
function lock() {
|
|
1740
|
-
if (!isClient || held) return;
|
|
1741
|
-
held = true;
|
|
1742
|
-
lockCount += 1;
|
|
1743
|
-
if (lockCount === 1) applyLock();
|
|
1744
|
-
}
|
|
1745
|
-
function unlock() {
|
|
1746
|
-
if (!isClient || !held) return;
|
|
1747
|
-
held = false;
|
|
1748
|
-
lockCount = Math.max(0, lockCount - 1);
|
|
1749
|
-
if (lockCount === 0) releaseLock();
|
|
1750
|
-
}
|
|
1751
|
-
return {
|
|
1752
|
-
lock,
|
|
1753
|
-
unlock
|
|
1754
|
-
};
|
|
1755
|
-
}
|
|
1756
|
-
//#endregion
|
|
1757
|
-
export { Je as a, Ge as i, Se as n, Ve as o, he as r, Ye as s, useScrollLock as t };
|