@feugene/granularity 0.13.0 → 0.18.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-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-BDfTXHo12.js +23 -0
- package/dist/chunks/config-BDfTXHo12.js.map +1 -0
- package/dist/chunks/config-BE6n20np2.js +27 -0
- package/dist/chunks/config-BE6n20np2.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-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-Baj7Wvx-.js +72 -0
- package/dist/chunks/config-Baj7Wvx-.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_PD2.js +140 -0
- package/dist/chunks/config-BoNR7_PD2.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-BsPDQ0dS.js +97 -0
- package/dist/chunks/config-BsPDQ0dS.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-CN2ULSQL.js +36 -0
- package/dist/chunks/config-CN2ULSQL.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-COpuWGr_.js +72 -0
- package/dist/chunks/config-COpuWGr_.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-Cwd3yjRw.js +41 -0
- package/dist/chunks/config-Cwd3yjRw.js.map +1 -0
- package/dist/chunks/config-D2aNP7Es.js +70 -0
- package/dist/chunks/config-D2aNP7Es.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-D94Z9po5.js +126 -0
- package/dist/chunks/config-D94Z9po5.js.map +1 -0
- package/dist/chunks/config-DA6SnEoy.js +22 -0
- package/dist/chunks/config-DA6SnEoy.js.map +1 -0
- package/dist/chunks/config-DBmdgoVf.js.map +1 -1
- package/dist/chunks/config-DCFvmHEv2.js +76 -0
- package/dist/chunks/config-DCFvmHEv2.js.map +1 -0
- package/dist/chunks/config-DEvsMTQE.js +150 -0
- package/dist/chunks/config-DEvsMTQE.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-K0C2tcLB.js +84 -0
- package/dist/chunks/config-K0C2tcLB.js.map +1 -0
- package/dist/chunks/config-MRvhUl-O.js +81 -0
- package/dist/chunks/config-MRvhUl-O.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-ScuvHw6k2.js +42 -0
- package/dist/chunks/config-ScuvHw6k2.js.map +1 -0
- package/dist/chunks/config-T3qdQBgU2.js +40 -0
- package/dist/chunks/config-T3qdQBgU2.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-_qPUfb6-2.js +165 -0
- package/dist/chunks/config-_qPUfb6-2.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-gvq_hWNM.js +103 -0
- package/dist/chunks/config-gvq_hWNM.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-COdzxgAX.js +352 -0
- package/dist/chunks/en-COdzxgAX.js.map +1 -0
- package/dist/chunks/es-ClqJ-4hr.js +354 -0
- package/dist/chunks/es-ClqJ-4hr.js.map +1 -0
- package/dist/chunks/es-DGMHwknJ.js +20 -0
- package/dist/chunks/es-DGMHwknJ.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-CeZhGQHr.js +43 -0
- package/dist/chunks/grKbdStyles-CeZhGQHr.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-iOcHuVMM.js +50 -0
- package/dist/chunks/grTextareaStyles-iOcHuVMM.js.map +1 -0
- package/dist/chunks/granular-provider-B9nXQCMu.js +195 -0
- package/dist/chunks/granular-provider-B9nXQCMu.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-DE2yhz_b.js +70 -0
- package/dist/chunks/keyboard-DE2yhz_b.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-DYw9XPPx.js +79 -0
- package/dist/chunks/optionFilter-DYw9XPPx.js.map +1 -0
- package/dist/chunks/overlayStack-C8cfsqXa.js +99 -0
- package/dist/chunks/overlayStack-C8cfsqXa.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-9z8ix45c.js +356 -0
- package/dist/chunks/ru-9z8ix45c.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/useDragSort-0l47h4yb.js +265 -0
- package/dist/chunks/useDragSort-0l47h4yb.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-BTq-0ImG.js +212 -0
- package/dist/chunks/useModalOverlay-BTq-0ImG.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-CPEQxmLZ.js +852 -0
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.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-DAdQ-Gc3.js +584 -0
- package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.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-DMeSqkEv.js +565 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.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 +3 -3
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js +200 -0
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js.map +1 -0
- package/dist/components/GrConfirmDialog/index.js +2 -2
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js +1053 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js +255 -0
- package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js.map +1 -0
- package/dist/components/GrDialog/index.js +1 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js +656 -0
- package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.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-DWHdZZzW.js +251 -0
- package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js.map +1 -0
- package/dist/components/GrDrawer/index.js +2 -2
- package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js +300 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js.map +1 -0
- package/dist/components/GrDropdown/index.js +2 -2
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js +421 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.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-DuDzC43S.js +1080 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.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-DE7MBbF8.js +1127 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.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-2wd7Crs0.js +348 -0
- package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js.map +1 -0
- package/dist/components/GrInput/index.js +2 -2
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js +512 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js.map +1 -0
- package/dist/components/GrInputTag/index.js +2 -2
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js +358 -0
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.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-BbhcsDQ8.js +313 -0
- package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.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-waKhxBP7.js +283 -0
- package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js.map +1 -0
- package/dist/components/GrPagination/index.js +3 -3
- package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js +216 -0
- package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js.map +1 -0
- package/dist/components/GrPopover/index.js +3 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js +90 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.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-B8olXRo5.js +210 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.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-JVVqBsPY.js +348 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +2 -2
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js +253 -0
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js.map +1 -0
- package/dist/components/GrRadio/index.js +2 -2
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js +196 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +2 -2
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js +315 -0
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.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-CQw3ijqa.js +388 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js +1373 -0
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.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-CyhVsNKn.js +379 -0
- package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js.map +1 -0
- package/dist/components/GrSlider/index.js +2 -2
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js +276 -0
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js.map +1 -0
- package/dist/components/GrSortableList/index.js +3 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js +268 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.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-J4qLs3TH.js +319 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js.map +1 -0
- package/dist/components/GrStatistic/index.js +2 -2
- package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js +183 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.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 +1 -1
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js +169 -0
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js.map +1 -0
- package/dist/components/GrTable/index.js +3 -3
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js +261 -0
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js +241 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js.map +1 -0
- package/dist/components/GrTextarea/index.js +2 -2
- package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js +285 -0
- package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.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-Ct-39hga.js +373 -0
- package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js.map +1 -0
- package/dist/components/GrToaster/index.js +2 -2
- package/dist/components/GrToaster/styles.css +1 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js +185 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js.map +1 -0
- package/dist/components/GrTooltip/index.js +3 -3
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js +1371 -0
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.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-DZp7CqqW.js +623 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.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/useComboboxNavigation.js +71 -0
- package/dist/composables/useComboboxNavigation.js.map +1 -0
- package/dist/composables/useDismissible.js +31 -0
- package/dist/composables/useDismissible.js.map +1 -0
- package/dist/composables/useDragGesture.js +55 -0
- package/dist/composables/useDragGesture.js.map +1 -0
- package/dist/composables/useDragSort.js +2 -0
- package/dist/composables/useFloating.js +133 -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/useGrComponentConfig.js +2 -0
- package/dist/composables/useGrFormControl.js +24 -0
- package/dist/composables/useGrFormControl.js.map +1 -0
- package/dist/composables/useGranularityTranslations.js +2 -0
- package/dist/composables/useOverlayLayer.js +65 -0
- package/dist/composables/useOverlayLayer.js.map +1 -0
- package/dist/composables/usePortalTarget.js +2 -0
- package/dist/composables/useRovingFocus.js +150 -0
- package/dist/composables/useRovingFocus.js.map +1 -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 +18 -18
- 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 +157 -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 +3216 -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 +10 -4
- 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/defaults.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/defaults.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/defaults.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 +33 -22
- package/dist/types/src/components/GrConfigProvider/index.d.ts +2 -1
- 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 +145 -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 +68 -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 +37 -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 +18 -5
- 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/defaults.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 +46 -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 +32 -0
- package/dist/types/src/components/GrKbd/index.d.ts +10 -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 +2 -1
- 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/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRadio/grRadioGroupContext.d.ts +45 -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/defaults.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/defaults.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/defaults.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/defaults.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/defaults.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/GrSortableList/GrSortableList.vue.d.ts +68 -0
- package/dist/types/src/components/GrSortableList/config.d.ts +1 -0
- package/dist/types/src/components/GrSortableList/grSortableListStyles.d.ts +38 -0
- package/dist/types/src/components/GrSortableList/index.d.ts +9 -0
- package/dist/types/src/components/GrSortableList/safelist.d.ts +1 -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/defaults.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 +98 -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 +33 -1
- package/dist/types/src/components/GrToaster/config.d.ts +1 -1
- package/dist/types/src/components/GrToaster/grToasterStyles.d.ts +27 -0
- 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 -1
- 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 +38 -0
- package/dist/types/src/components/shared/hotkeyTokens.d.ts +37 -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/dragSortGeometry.d.ts +59 -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 +71 -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/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/useComboboxNavigation.d.ts +51 -0
- package/dist/types/src/composables/useDismissible.d.ts +32 -0
- package/dist/types/src/composables/useDragGesture.d.ts +63 -0
- package/dist/types/src/composables/useDragSort.d.ts +80 -0
- package/dist/types/src/composables/useFloating.d.ts +57 -0
- package/dist/types/src/composables/useFocusTrap.d.ts +50 -0
- package/dist/types/src/composables/useGrComponentConfig.d.ts +41 -0
- package/dist/types/src/composables/useGrFormControl.d.ts +52 -0
- package/dist/types/src/composables/useGranularityTranslations.d.ts +13 -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/useRovingFocus.d.ts +108 -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 +14 -18
- package/dist/types/src/i18n/adapter.d.ts +24 -0
- package/dist/types/src/i18n/messages/en.d.ts +334 -2
- package/dist/types/src/i18n/messages/es.d.ts +338 -2
- package/dist/types/src/i18n/messages/ru.d.ts +342 -2
- package/dist/types/src/index.d.ts +38 -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 +52 -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 +6503 -2020
- package/package.json +118 -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-LGrZIdaZ.js +0 -21
- package/dist/chunks/config-LGrZIdaZ.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-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/composables/internal/useFloating.d.ts +0 -53
- 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/{GrSkeleton.css → components/GrSkeleton/styles.css} +0 -0
|
@@ -1,730 +0,0 @@
|
|
|
1
|
-
import { a as useGrComponentProp, o as useGrComponentSize } from "../../../chunks/context-DfWYCBB-.js";
|
|
2
|
-
import { n as useGranularityTranslations } from "../../../chunks/granularityI18n-SH0I--GW.js";
|
|
3
|
-
import { vClickOutside } from "../../../directives/clickOutside.js";
|
|
4
|
-
import { t as useFloating } from "../../../chunks/useFloating-DtM6TyE4.js";
|
|
5
|
-
import { t as useEscapeToClose } from "../../../chunks/useEscapeToClose-C2t_S1gh.js";
|
|
6
|
-
import { n as useGrFormFieldContext } from "../../../chunks/context-DdNIxa1w.js";
|
|
7
|
-
import { t as GrInput_default } from "../../GrInput/chunks/GrInput-C1VBL0dg.js";
|
|
8
|
-
import { a as grSelectPanelClasses, i as grSelectNativeClass, n as grSelectLinkNativeLabelClass, o as grSelectTriggerClass, r as grSelectLinkNativeOverlayClass, s as linkBaseClass, t as defaultBaseClass } from "../../../chunks/grSelectStyles-CwMUQrBZ.js";
|
|
9
|
-
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
10
|
-
//#region src/components/GrSelect/GrSelect.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var _hoisted_1 = [
|
|
12
|
-
"id",
|
|
13
|
-
"multiple",
|
|
14
|
-
"disabled",
|
|
15
|
-
"aria-label",
|
|
16
|
-
"aria-invalid",
|
|
17
|
-
"aria-describedby",
|
|
18
|
-
"aria-required"
|
|
19
|
-
];
|
|
20
|
-
var _hoisted_2 = ["selected"];
|
|
21
|
-
var _hoisted_3 = ["value", "selected"];
|
|
22
|
-
var _hoisted_4 = ["label"];
|
|
23
|
-
var _hoisted_5 = [
|
|
24
|
-
"value",
|
|
25
|
-
"selected",
|
|
26
|
-
"disabled"
|
|
27
|
-
];
|
|
28
|
-
var _hoisted_6 = [
|
|
29
|
-
"value",
|
|
30
|
-
"selected",
|
|
31
|
-
"disabled"
|
|
32
|
-
];
|
|
33
|
-
var _hoisted_7 = {
|
|
34
|
-
key: 1,
|
|
35
|
-
"data-testid": "gr-select-chevron",
|
|
36
|
-
class: "absolute top-1/2 -translate-y-1/2 right-3 flex items-center text-[var(--gr-muted-fg)] pointer-events-none"
|
|
37
|
-
};
|
|
38
|
-
var _hoisted_8 = [
|
|
39
|
-
"id",
|
|
40
|
-
"disabled",
|
|
41
|
-
"aria-label",
|
|
42
|
-
"aria-invalid",
|
|
43
|
-
"aria-describedby",
|
|
44
|
-
"aria-required",
|
|
45
|
-
"aria-controls",
|
|
46
|
-
"aria-activedescendant",
|
|
47
|
-
"aria-expanded"
|
|
48
|
-
];
|
|
49
|
-
var _hoisted_9 = { class: "min-w-0 flex-1" };
|
|
50
|
-
var _hoisted_10 = {
|
|
51
|
-
key: 0,
|
|
52
|
-
"data-gr-select-tags": "",
|
|
53
|
-
class: "flex flex-wrap gap-1 py-0.5"
|
|
54
|
-
};
|
|
55
|
-
var _hoisted_11 = { class: "truncate" };
|
|
56
|
-
var _hoisted_12 = ["aria-label", "onClick"];
|
|
57
|
-
var _hoisted_13 = {
|
|
58
|
-
key: 0,
|
|
59
|
-
class: "shrink-0 h-4 w-4",
|
|
60
|
-
"aria-hidden": "true"
|
|
61
|
-
};
|
|
62
|
-
var _hoisted_14 = {
|
|
63
|
-
key: 1,
|
|
64
|
-
"data-testid": "gr-select-chevron",
|
|
65
|
-
class: "shrink-0 flex items-center text-[var(--gr-muted-fg)] pointer-events-none"
|
|
66
|
-
};
|
|
67
|
-
var _hoisted_15 = ["disabled", "aria-label"];
|
|
68
|
-
var _hoisted_16 = {
|
|
69
|
-
key: 0,
|
|
70
|
-
class: "p-2 border-b border-[var(--gr-brd)]"
|
|
71
|
-
};
|
|
72
|
-
var _hoisted_17 = {
|
|
73
|
-
key: 1,
|
|
74
|
-
"data-gr-select-loading": "",
|
|
75
|
-
class: "flex items-center justify-center gap-2 px-3 py-4 text-[13px] text-[var(--gr-muted-fg)]",
|
|
76
|
-
role: "status"
|
|
77
|
-
};
|
|
78
|
-
var _hoisted_18 = ["id", "aria-multiselectable"];
|
|
79
|
-
var _hoisted_19 = [
|
|
80
|
-
"id",
|
|
81
|
-
"disabled",
|
|
82
|
-
"aria-selected",
|
|
83
|
-
"aria-disabled",
|
|
84
|
-
"onClick",
|
|
85
|
-
"onMousemove"
|
|
86
|
-
];
|
|
87
|
-
var _hoisted_20 = { class: "flex items-center gap-2 min-w-0" };
|
|
88
|
-
var _hoisted_21 = { class: "truncate" };
|
|
89
|
-
var _hoisted_22 = {
|
|
90
|
-
key: 1,
|
|
91
|
-
"data-gr-select-empty": "",
|
|
92
|
-
class: "px-3 py-4 text-center text-[13px] text-[var(--gr-muted-fg)]"
|
|
93
|
-
};
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/components/GrSelect/GrSelect.vue
|
|
96
|
-
var GrSelect_default = /* @__PURE__ */ defineComponent({
|
|
97
|
-
__name: "GrSelect",
|
|
98
|
-
props: {
|
|
99
|
-
modelValue: {},
|
|
100
|
-
options: { default: void 0 },
|
|
101
|
-
disabled: {
|
|
102
|
-
type: Boolean,
|
|
103
|
-
default: false
|
|
104
|
-
},
|
|
105
|
-
ariaLabel: { default: void 0 },
|
|
106
|
-
view: { default: "default" },
|
|
107
|
-
size: { default: void 0 },
|
|
108
|
-
placeholder: { default: void 0 },
|
|
109
|
-
multiple: {
|
|
110
|
-
type: Boolean,
|
|
111
|
-
default: false
|
|
112
|
-
},
|
|
113
|
-
optionsView: { default: "native" },
|
|
114
|
-
allowCustomValue: {
|
|
115
|
-
type: Boolean,
|
|
116
|
-
default: false
|
|
117
|
-
},
|
|
118
|
-
filterable: {
|
|
119
|
-
type: Boolean,
|
|
120
|
-
default: false
|
|
121
|
-
},
|
|
122
|
-
filterPlaceholder: { default: void 0 },
|
|
123
|
-
loading: {
|
|
124
|
-
type: Boolean,
|
|
125
|
-
default: false
|
|
126
|
-
},
|
|
127
|
-
loadingText: { default: void 0 },
|
|
128
|
-
noResultsText: { default: void 0 },
|
|
129
|
-
tags: {
|
|
130
|
-
type: Boolean,
|
|
131
|
-
default: false
|
|
132
|
-
},
|
|
133
|
-
customValuePlaceholder: { default: void 0 },
|
|
134
|
-
dropdownMaxHeight: { default: 280 },
|
|
135
|
-
closeOnSelect: {
|
|
136
|
-
type: Boolean,
|
|
137
|
-
default: true
|
|
138
|
-
},
|
|
139
|
-
clearable: {
|
|
140
|
-
type: Boolean,
|
|
141
|
-
default: void 0
|
|
142
|
-
},
|
|
143
|
-
clearLabel: { default: void 0 },
|
|
144
|
-
variant: { default: void 0 },
|
|
145
|
-
underline: { default: void 0 }
|
|
146
|
-
},
|
|
147
|
-
emits: ["update:modelValue"],
|
|
148
|
-
setup(__props, { emit: __emit }) {
|
|
149
|
-
const props = __props;
|
|
150
|
-
const resolvedSize = useGrComponentSize(() => props.size, { component: "GrSelect" });
|
|
151
|
-
const resolvedVariant = useGrComponentProp("GrSelect", "variant", () => props.variant, "primary");
|
|
152
|
-
const resolvedUnderline = useGrComponentProp("GrSelect", "underline", () => props.underline, "auto");
|
|
153
|
-
const resolvedClearable = useGrComponentProp("GrSelect", "clearable", () => props.clearable, false);
|
|
154
|
-
const { t } = useGranularityTranslations();
|
|
155
|
-
const resolvedCustomValuePlaceholder = computed(() => {
|
|
156
|
-
return props.customValuePlaceholder ?? t("gr.select.customValuePlaceholder", "Add value…");
|
|
157
|
-
});
|
|
158
|
-
const resolvedClearLabel = computed(() => props.clearLabel ?? t("gr.common.clear", "Clear"));
|
|
159
|
-
const resolvedFilterPlaceholder = computed(() => props.filterPlaceholder ?? t("gr.select.searchPlaceholder", "Search…"));
|
|
160
|
-
const resolvedLoadingText = computed(() => props.loadingText ?? t("gr.select.loading", "Loading…"));
|
|
161
|
-
const resolvedNoResultsText = computed(() => props.noResultsText ?? t("gr.select.noResults", "No results"));
|
|
162
|
-
const resolvedSearchPlaceholder = computed(() => props.allowCustomValue ? resolvedCustomValuePlaceholder.value : resolvedFilterPlaceholder.value);
|
|
163
|
-
const baseClassName = computed(() => props.view === "link" ? linkBaseClass : defaultBaseClass);
|
|
164
|
-
const rootClass = computed(() => props.view === "link" ? "relative inline-block align-baseline" : "relative w-full");
|
|
165
|
-
const emit = __emit;
|
|
166
|
-
const field = useGrFormFieldContext();
|
|
167
|
-
const resolvedId = computed(() => field?.id.value);
|
|
168
|
-
const isInvalid = computed(() => Boolean(field?.invalid.value));
|
|
169
|
-
const describedBy = computed(() => field?.describedById.value);
|
|
170
|
-
const isRequired = computed(() => Boolean(field?.required.value));
|
|
171
|
-
const optionsResolved = computed(() => props.options ?? []);
|
|
172
|
-
function isOptionGroup(item) {
|
|
173
|
-
return Array.isArray(item.options);
|
|
174
|
-
}
|
|
175
|
-
/** Плоский список всех опций (группы «развёрнуты»). Используется для всех вычислений по значениям. */
|
|
176
|
-
const flatOptions = computed(() => {
|
|
177
|
-
const result = [];
|
|
178
|
-
for (const item of optionsResolved.value) if (isOptionGroup(item)) result.push(...item.options);
|
|
179
|
-
else result.push(item);
|
|
180
|
-
return result;
|
|
181
|
-
});
|
|
182
|
-
function modelToArray(value) {
|
|
183
|
-
if (Array.isArray(value)) return value;
|
|
184
|
-
if (!value) return [];
|
|
185
|
-
return [value];
|
|
186
|
-
}
|
|
187
|
-
const modelSingle = computed(() => {
|
|
188
|
-
return Array.isArray(props.modelValue) ? props.modelValue[0] ?? "" : props.modelValue;
|
|
189
|
-
});
|
|
190
|
-
const modelMultiple = computed(() => modelToArray(props.modelValue));
|
|
191
|
-
const selectedValues = computed(() => {
|
|
192
|
-
return props.multiple ? modelMultiple.value : modelSingle.value ? [modelSingle.value] : [];
|
|
193
|
-
});
|
|
194
|
-
const hasSelection = computed(() => selectedValues.value.length > 0);
|
|
195
|
-
const selectedOptions = computed(() => {
|
|
196
|
-
const byValue = new Map(flatOptions.value.map((o) => [o.value, o]));
|
|
197
|
-
return selectedValues.value.map((v) => byValue.get(v) ?? {
|
|
198
|
-
value: v,
|
|
199
|
-
label: v
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
|
-
const hasModelInOptions = computed(() => {
|
|
203
|
-
if (props.multiple) return false;
|
|
204
|
-
return flatOptions.value.some((o) => o.value === modelSingle.value);
|
|
205
|
-
});
|
|
206
|
-
const displayLabel = computed(() => {
|
|
207
|
-
if (props.multiple) {
|
|
208
|
-
if (!selectedValues.value.length) return "";
|
|
209
|
-
return selectedValues.value.map((v) => flatOptions.value.find((o) => o.value === v)?.label ?? v).join(", ");
|
|
210
|
-
}
|
|
211
|
-
return flatOptions.value.find((o) => o.value === modelSingle.value)?.label ?? modelSingle.value;
|
|
212
|
-
});
|
|
213
|
-
const displayText = computed(() => {
|
|
214
|
-
if (hasSelection.value) return displayLabel.value;
|
|
215
|
-
return props.placeholder ?? "";
|
|
216
|
-
});
|
|
217
|
-
const effectiveOptionsView = computed(() => {
|
|
218
|
-
if (props.view === "link" && props.multiple && props.optionsView === "native") return "panel";
|
|
219
|
-
if ((props.filterable || props.loading || props.tags) && props.optionsView === "native") return "panel";
|
|
220
|
-
return props.optionsView;
|
|
221
|
-
});
|
|
222
|
-
const showSearchInput = computed(() => (props.filterable || props.allowCustomValue) && effectiveOptionsView.value === "panel");
|
|
223
|
-
const showTags = computed(() => props.multiple && props.tags && effectiveOptionsView.value === "panel");
|
|
224
|
-
const nativeCustomOptionVisible = computed(() => {
|
|
225
|
-
if (!props.allowCustomValue) return false;
|
|
226
|
-
if (effectiveOptionsView.value !== "native") return false;
|
|
227
|
-
if (props.multiple) return false;
|
|
228
|
-
if (!props.options) return false;
|
|
229
|
-
if (modelSingle.value === "") return false;
|
|
230
|
-
return !hasModelInOptions.value;
|
|
231
|
-
});
|
|
232
|
-
const customValue = ref("");
|
|
233
|
-
const open = ref(false);
|
|
234
|
-
const rootEl = ref(null);
|
|
235
|
-
const panelEl = ref(null);
|
|
236
|
-
const customInputRef = ref(null);
|
|
237
|
-
const clickOutsideExclude = [() => panelEl.value];
|
|
238
|
-
const { floatingStyle, update: updateFloatingPosition } = useFloating(rootEl, panelEl, open, {
|
|
239
|
-
placement: "bottom-start",
|
|
240
|
-
matchWidth: () => props.view === "link" ? "min" : true,
|
|
241
|
-
zIndexVar: "--gr-z-dropdown"
|
|
242
|
-
});
|
|
243
|
-
function closeDropdown() {
|
|
244
|
-
open.value = false;
|
|
245
|
-
}
|
|
246
|
-
function toggleDropdown() {
|
|
247
|
-
if (props.disabled) return;
|
|
248
|
-
open.value = !open.value;
|
|
249
|
-
}
|
|
250
|
-
useEscapeToClose(open, closeDropdown);
|
|
251
|
-
watch(() => props.view, () => {
|
|
252
|
-
if (open.value) updateFloatingPosition();
|
|
253
|
-
});
|
|
254
|
-
const panelClasses = computed(() => {
|
|
255
|
-
return grSelectPanelClasses;
|
|
256
|
-
});
|
|
257
|
-
function matchesQuery(option, query) {
|
|
258
|
-
if (!query) return true;
|
|
259
|
-
return option.label.toLowerCase().includes(query) || option.value.toLowerCase().includes(query);
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* Элемент рендера панели: либо заголовок группы, либо опция.
|
|
263
|
-
* Группировка сохраняется, фильтрация по `customValue` скрывает пустые группы.
|
|
264
|
-
*/
|
|
265
|
-
const panelItems = computed(() => {
|
|
266
|
-
const q = props.allowCustomValue || props.filterable ? customValue.value.trim().toLowerCase() : "";
|
|
267
|
-
const items = [];
|
|
268
|
-
if (props.allowCustomValue && !props.multiple && modelSingle.value !== "" && !hasModelInOptions.value) {
|
|
269
|
-
const custom = {
|
|
270
|
-
value: modelSingle.value,
|
|
271
|
-
label: modelSingle.value
|
|
272
|
-
};
|
|
273
|
-
if (matchesQuery(custom, q)) items.push({
|
|
274
|
-
kind: "option",
|
|
275
|
-
option: custom,
|
|
276
|
-
key: `__custom__${custom.value}`
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
optionsResolved.value.forEach((item, index) => {
|
|
280
|
-
if (isOptionGroup(item)) {
|
|
281
|
-
const matched = item.options.filter((o) => matchesQuery(o, q));
|
|
282
|
-
if (!matched.length) return;
|
|
283
|
-
items.push({
|
|
284
|
-
kind: "group",
|
|
285
|
-
label: item.label,
|
|
286
|
-
key: `__group__${index}`
|
|
287
|
-
});
|
|
288
|
-
for (const option of matched) items.push({
|
|
289
|
-
kind: "option",
|
|
290
|
-
option,
|
|
291
|
-
key: `${index}:${option.value}`
|
|
292
|
-
});
|
|
293
|
-
return;
|
|
294
|
-
}
|
|
295
|
-
if (matchesQuery(item, q)) items.push({
|
|
296
|
-
kind: "option",
|
|
297
|
-
option: item,
|
|
298
|
-
key: `${index}:${item.value}`
|
|
299
|
-
});
|
|
300
|
-
});
|
|
301
|
-
return items;
|
|
302
|
-
});
|
|
303
|
-
const canAddCustom = computed(() => {
|
|
304
|
-
if (!props.allowCustomValue) return false;
|
|
305
|
-
if (effectiveOptionsView.value !== "panel") return false;
|
|
306
|
-
const v = customValue.value.trim();
|
|
307
|
-
if (!v) return false;
|
|
308
|
-
if (props.multiple) {
|
|
309
|
-
if (selectedValues.value.includes(v)) return false;
|
|
310
|
-
return !flatOptions.value.some((o) => o.value === v);
|
|
311
|
-
}
|
|
312
|
-
if (v === modelSingle.value) return false;
|
|
313
|
-
return !flatOptions.value.some((o) => o.value === v);
|
|
314
|
-
});
|
|
315
|
-
function emitValue(value) {
|
|
316
|
-
emit("update:modelValue", value);
|
|
317
|
-
}
|
|
318
|
-
function isSelected(value) {
|
|
319
|
-
return selectedValues.value.includes(value);
|
|
320
|
-
}
|
|
321
|
-
function isOptionDisabled(value) {
|
|
322
|
-
return flatOptions.value.find((o) => o.value === value)?.disabled === true;
|
|
323
|
-
}
|
|
324
|
-
function selectValue(value) {
|
|
325
|
-
emitValue(value);
|
|
326
|
-
if (props.closeOnSelect) closeDropdown();
|
|
327
|
-
}
|
|
328
|
-
function toggleValue(value) {
|
|
329
|
-
if (isOptionDisabled(value)) return;
|
|
330
|
-
if (!props.multiple) {
|
|
331
|
-
selectValue(value);
|
|
332
|
-
return;
|
|
333
|
-
}
|
|
334
|
-
const next = selectedValues.value.slice();
|
|
335
|
-
const idx = next.indexOf(value);
|
|
336
|
-
if (idx >= 0) next.splice(idx, 1);
|
|
337
|
-
else next.push(value);
|
|
338
|
-
emitValue(next);
|
|
339
|
-
if (props.closeOnSelect) closeDropdown();
|
|
340
|
-
}
|
|
341
|
-
function addCustom() {
|
|
342
|
-
const v = customValue.value.trim();
|
|
343
|
-
if (!v) return;
|
|
344
|
-
toggleValue(v);
|
|
345
|
-
}
|
|
346
|
-
function removeValue(value) {
|
|
347
|
-
if (props.disabled) return;
|
|
348
|
-
if (!props.multiple) return;
|
|
349
|
-
emitValue(selectedValues.value.filter((v) => v !== value));
|
|
350
|
-
}
|
|
351
|
-
function tagRemoveLabel(option) {
|
|
352
|
-
return t("gr.select.removeTag", "Remove {label}", { label: option.label });
|
|
353
|
-
}
|
|
354
|
-
const listboxId = useId();
|
|
355
|
-
const activeIndex = ref(-1);
|
|
356
|
-
function optionDomId(value) {
|
|
357
|
-
return `${listboxId}-opt-${value}`;
|
|
358
|
-
}
|
|
359
|
-
const navigableValues = computed(() => panelItems.value.filter((item) => item.kind === "option" && !item.option.disabled).map((item) => item.option.value));
|
|
360
|
-
const activeValue = computed(() => activeIndex.value >= 0 ? navigableValues.value[activeIndex.value] : void 0);
|
|
361
|
-
const activeDescendantId = computed(() => open.value && activeValue.value !== void 0 ? optionDomId(activeValue.value) : void 0);
|
|
362
|
-
function clampActive(index) {
|
|
363
|
-
const len = navigableValues.value.length;
|
|
364
|
-
if (len === 0) return -1;
|
|
365
|
-
return (index % len + len) % len;
|
|
366
|
-
}
|
|
367
|
-
async function scrollActiveIntoView() {
|
|
368
|
-
await nextTick();
|
|
369
|
-
const value = activeValue.value;
|
|
370
|
-
if (value === void 0) return;
|
|
371
|
-
document.getElementById(optionDomId(value))?.scrollIntoView?.({ block: "nearest" });
|
|
372
|
-
}
|
|
373
|
-
function setActive(index) {
|
|
374
|
-
activeIndex.value = clampActive(index);
|
|
375
|
-
scrollActiveIntoView();
|
|
376
|
-
}
|
|
377
|
-
function initActiveIndex() {
|
|
378
|
-
const selectedIdx = navigableValues.value.findIndex((v) => isSelected(v));
|
|
379
|
-
activeIndex.value = selectedIdx >= 0 ? selectedIdx : navigableValues.value.length ? 0 : -1;
|
|
380
|
-
}
|
|
381
|
-
function openDropdown() {
|
|
382
|
-
if (props.disabled || open.value) return;
|
|
383
|
-
open.value = true;
|
|
384
|
-
}
|
|
385
|
-
let typeaheadBuffer = "";
|
|
386
|
-
let typeaheadTimer = null;
|
|
387
|
-
function typeahead(char) {
|
|
388
|
-
typeaheadBuffer += char.toLowerCase();
|
|
389
|
-
if (typeaheadTimer) clearTimeout(typeaheadTimer);
|
|
390
|
-
typeaheadTimer = setTimeout(() => {
|
|
391
|
-
typeaheadBuffer = "";
|
|
392
|
-
}, 600);
|
|
393
|
-
const idx = navigableValues.value.findIndex((v) => {
|
|
394
|
-
return flatOptions.value.find((o) => o.value === v)?.label.toLowerCase().startsWith(typeaheadBuffer);
|
|
395
|
-
});
|
|
396
|
-
if (idx >= 0) setActive(idx);
|
|
397
|
-
}
|
|
398
|
-
function onComboKeydown(event) {
|
|
399
|
-
if (props.disabled) return;
|
|
400
|
-
if (!open.value) {
|
|
401
|
-
if ([
|
|
402
|
-
"ArrowDown",
|
|
403
|
-
"ArrowUp",
|
|
404
|
-
"Enter",
|
|
405
|
-
" "
|
|
406
|
-
].includes(event.key)) {
|
|
407
|
-
event.preventDefault();
|
|
408
|
-
openDropdown();
|
|
409
|
-
}
|
|
410
|
-
return;
|
|
411
|
-
}
|
|
412
|
-
switch (event.key) {
|
|
413
|
-
case "ArrowDown":
|
|
414
|
-
event.preventDefault();
|
|
415
|
-
setActive(activeIndex.value + 1);
|
|
416
|
-
break;
|
|
417
|
-
case "ArrowUp":
|
|
418
|
-
event.preventDefault();
|
|
419
|
-
setActive(activeIndex.value - 1);
|
|
420
|
-
break;
|
|
421
|
-
case "Home":
|
|
422
|
-
event.preventDefault();
|
|
423
|
-
setActive(0);
|
|
424
|
-
break;
|
|
425
|
-
case "End":
|
|
426
|
-
event.preventDefault();
|
|
427
|
-
setActive(navigableValues.value.length - 1);
|
|
428
|
-
break;
|
|
429
|
-
case "Enter":
|
|
430
|
-
event.preventDefault();
|
|
431
|
-
if (props.allowCustomValue && canAddCustom.value) addCustom();
|
|
432
|
-
else if (activeValue.value !== void 0) toggleValue(activeValue.value);
|
|
433
|
-
break;
|
|
434
|
-
case "Tab":
|
|
435
|
-
closeDropdown();
|
|
436
|
-
break;
|
|
437
|
-
default: if (!showSearchInput.value && event.key.length === 1 && !event.metaKey && !event.ctrlKey && !event.altKey) typeahead(event.key);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
watch(open, async (isOpen) => {
|
|
441
|
-
if (!isOpen) {
|
|
442
|
-
customValue.value = "";
|
|
443
|
-
activeIndex.value = -1;
|
|
444
|
-
return;
|
|
445
|
-
}
|
|
446
|
-
initActiveIndex();
|
|
447
|
-
if (showSearchInput.value) {
|
|
448
|
-
await nextTick();
|
|
449
|
-
customInputRef.value?.focus();
|
|
450
|
-
}
|
|
451
|
-
}, { immediate: true });
|
|
452
|
-
const showNativeChevron = computed(() => {
|
|
453
|
-
return effectiveOptionsView.value === "native" && props.view !== "link" && !props.multiple;
|
|
454
|
-
});
|
|
455
|
-
const nativeClearOptionVisible = computed(() => {
|
|
456
|
-
if (!resolvedClearable.value) return false;
|
|
457
|
-
if (effectiveOptionsView.value !== "native") return false;
|
|
458
|
-
if (props.multiple) return false;
|
|
459
|
-
if (!props.options) return true;
|
|
460
|
-
return !flatOptions.value.some((o) => o.value === "");
|
|
461
|
-
});
|
|
462
|
-
const panelClearVisible = computed(() => {
|
|
463
|
-
if (!resolvedClearable.value) return false;
|
|
464
|
-
if (effectiveOptionsView.value !== "panel") return false;
|
|
465
|
-
if (props.view === "link") return false;
|
|
466
|
-
return hasSelection.value;
|
|
467
|
-
});
|
|
468
|
-
const nativeClassName = computed(() => {
|
|
469
|
-
return grSelectNativeClass({
|
|
470
|
-
view: props.view,
|
|
471
|
-
size: resolvedSize.value,
|
|
472
|
-
disabled: props.disabled,
|
|
473
|
-
variant: resolvedVariant.value,
|
|
474
|
-
underline: resolvedUnderline.value,
|
|
475
|
-
showNativeChevron: showNativeChevron.value
|
|
476
|
-
});
|
|
477
|
-
});
|
|
478
|
-
/**
|
|
479
|
-
* `view="link"` в native-режиме: ширина обёртки должна определяться выбранной опцией,
|
|
480
|
-
* а не самой длинной (как делает браузер по умолчанию). Поэтому рендерим прозрачный
|
|
481
|
-
* `<select>`-overlay поверх видимого `<span>` с меткой — overlay принимает клики/клавиатуру,
|
|
482
|
-
* span задаёт ширину компонента в закрытом состоянии.
|
|
483
|
-
*/
|
|
484
|
-
const isLinkNative = computed(() => props.view === "link" && effectiveOptionsView.value === "native");
|
|
485
|
-
const linkNativeLabelClassName = computed(() => grSelectLinkNativeLabelClass({
|
|
486
|
-
size: resolvedSize.value,
|
|
487
|
-
variant: resolvedVariant.value,
|
|
488
|
-
underline: resolvedUnderline.value,
|
|
489
|
-
disabled: props.disabled
|
|
490
|
-
}));
|
|
491
|
-
const linkNativeDisplayText = computed(() => {
|
|
492
|
-
return displayText.value || props.placeholder || "\xA0";
|
|
493
|
-
});
|
|
494
|
-
const triggerClassName = computed(() => {
|
|
495
|
-
return grSelectTriggerClass({
|
|
496
|
-
view: props.view,
|
|
497
|
-
optionsView: effectiveOptionsView.value,
|
|
498
|
-
size: resolvedSize.value,
|
|
499
|
-
disabled: props.disabled,
|
|
500
|
-
variant: resolvedVariant.value,
|
|
501
|
-
underline: resolvedUnderline.value
|
|
502
|
-
});
|
|
503
|
-
});
|
|
504
|
-
function onChange(e) {
|
|
505
|
-
const el = e.target;
|
|
506
|
-
if (props.multiple) {
|
|
507
|
-
const values = Array.from(el.selectedOptions, (o) => o.value);
|
|
508
|
-
emit("update:modelValue", values);
|
|
509
|
-
return;
|
|
510
|
-
}
|
|
511
|
-
emit("update:modelValue", el.value);
|
|
512
|
-
}
|
|
513
|
-
function clearSelection() {
|
|
514
|
-
if (props.disabled) return;
|
|
515
|
-
emitValue(props.multiple ? [] : "");
|
|
516
|
-
}
|
|
517
|
-
return (_ctx, _cache) => {
|
|
518
|
-
return effectiveOptionsView.value === "native" ? (openBlock(), createElementBlock("div", {
|
|
519
|
-
key: 0,
|
|
520
|
-
"data-gr-select": "",
|
|
521
|
-
class: normalizeClass(rootClass.value)
|
|
522
|
-
}, [
|
|
523
|
-
createElementVNode("select", {
|
|
524
|
-
id: resolvedId.value,
|
|
525
|
-
"data-gr-select-native": "",
|
|
526
|
-
multiple: __props.multiple,
|
|
527
|
-
disabled: __props.disabled,
|
|
528
|
-
"aria-label": __props.ariaLabel,
|
|
529
|
-
"aria-invalid": isInvalid.value ? "true" : void 0,
|
|
530
|
-
"aria-describedby": describedBy.value,
|
|
531
|
-
"aria-required": isRequired.value ? "true" : void 0,
|
|
532
|
-
class: normalizeClass(isLinkNative.value ? unref(grSelectLinkNativeOverlayClass) : [baseClassName.value, nativeClassName.value]),
|
|
533
|
-
onChange
|
|
534
|
-
}, [nativeClearOptionVisible.value ? (openBlock(), createElementBlock("option", {
|
|
535
|
-
key: 0,
|
|
536
|
-
value: "",
|
|
537
|
-
selected: !__props.multiple && modelSingle.value === ""
|
|
538
|
-
}, toDisplayString(__props.placeholder || unref(t)("gr.select.clearOption", "None")), 9, _hoisted_2)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default", {}, () => [nativeCustomOptionVisible.value ? (openBlock(), createElementBlock("option", {
|
|
539
|
-
key: 0,
|
|
540
|
-
value: modelSingle.value,
|
|
541
|
-
selected: !__props.multiple
|
|
542
|
-
}, toDisplayString(modelSingle.value), 9, _hoisted_3)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(optionsResolved.value, (item, index) => {
|
|
543
|
-
return openBlock(), createElementBlock(Fragment, { key: index }, [isOptionGroup(item) ? (openBlock(), createElementBlock("optgroup", {
|
|
544
|
-
key: 0,
|
|
545
|
-
label: item.label
|
|
546
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.options, (opt) => {
|
|
547
|
-
return openBlock(), createElementBlock("option", {
|
|
548
|
-
key: `${index}:${opt.value}`,
|
|
549
|
-
value: opt.value,
|
|
550
|
-
selected: __props.multiple ? modelMultiple.value.includes(opt.value) : modelSingle.value === opt.value,
|
|
551
|
-
disabled: opt.disabled
|
|
552
|
-
}, toDisplayString(opt.label), 9, _hoisted_5);
|
|
553
|
-
}), 128))], 8, _hoisted_4)) : (openBlock(), createElementBlock("option", {
|
|
554
|
-
key: 1,
|
|
555
|
-
value: item.value,
|
|
556
|
-
selected: __props.multiple ? modelMultiple.value.includes(item.value) : modelSingle.value === item.value,
|
|
557
|
-
disabled: item.disabled
|
|
558
|
-
}, toDisplayString(item.label), 9, _hoisted_6))], 64);
|
|
559
|
-
}), 128))])], 42, _hoisted_1),
|
|
560
|
-
isLinkNative.value ? (openBlock(), createElementBlock("span", {
|
|
561
|
-
key: 0,
|
|
562
|
-
"data-gr-select-link-label": "",
|
|
563
|
-
"aria-hidden": "true",
|
|
564
|
-
class: normalizeClass(linkNativeLabelClassName.value)
|
|
565
|
-
}, toDisplayString(linkNativeDisplayText.value), 3)) : createCommentVNode("", true),
|
|
566
|
-
showNativeChevron.value ? (openBlock(), createElementBlock("span", _hoisted_7, [..._cache[1] || (_cache[1] = [createElementVNode("span", {
|
|
567
|
-
class: "i-lucide-chevron-down block h-4 w-4",
|
|
568
|
-
"aria-hidden": "true"
|
|
569
|
-
}, null, -1)])])) : createCommentVNode("", true)
|
|
570
|
-
], 2)) : withDirectives((openBlock(), createElementBlock("div", {
|
|
571
|
-
key: 1,
|
|
572
|
-
ref_key: "rootEl",
|
|
573
|
-
ref: rootEl,
|
|
574
|
-
"data-gr-select": "",
|
|
575
|
-
class: normalizeClass(rootClass.value)
|
|
576
|
-
}, [
|
|
577
|
-
createElementVNode("button", {
|
|
578
|
-
id: resolvedId.value,
|
|
579
|
-
"data-testid": "gr-select-trigger",
|
|
580
|
-
"data-gr-select-trigger": "",
|
|
581
|
-
type: "button",
|
|
582
|
-
disabled: __props.disabled,
|
|
583
|
-
"aria-label": __props.ariaLabel,
|
|
584
|
-
"aria-invalid": isInvalid.value ? "true" : void 0,
|
|
585
|
-
"aria-describedby": describedBy.value,
|
|
586
|
-
"aria-required": isRequired.value ? "true" : void 0,
|
|
587
|
-
role: "combobox",
|
|
588
|
-
"aria-haspopup": "listbox",
|
|
589
|
-
"aria-controls": open.value ? unref(listboxId) : void 0,
|
|
590
|
-
"aria-activedescendant": activeDescendantId.value,
|
|
591
|
-
"aria-expanded": open.value ? "true" : "false",
|
|
592
|
-
class: normalizeClass([
|
|
593
|
-
baseClassName.value,
|
|
594
|
-
triggerClassName.value,
|
|
595
|
-
showTags.value && hasSelection.value ? "!h-auto min-h-10 !py-1.5" : ""
|
|
596
|
-
]),
|
|
597
|
-
onClick: toggleDropdown,
|
|
598
|
-
onKeydown: onComboKeydown
|
|
599
|
-
}, [createElementVNode("span", _hoisted_9, [renderSlot(_ctx.$slots, "value", {
|
|
600
|
-
selectedOptions: selectedOptions.value,
|
|
601
|
-
selectedValues: selectedValues.value,
|
|
602
|
-
displayLabel: displayLabel.value,
|
|
603
|
-
placeholder: __props.placeholder,
|
|
604
|
-
hasSelection: hasSelection.value
|
|
605
|
-
}, () => [showTags.value && hasSelection.value ? (openBlock(), createElementBlock("span", _hoisted_10, [(openBlock(true), createElementBlock(Fragment, null, renderList(selectedOptions.value, (opt) => {
|
|
606
|
-
return openBlock(), createElementBlock("span", {
|
|
607
|
-
key: opt.value,
|
|
608
|
-
"data-gr-select-tag": "",
|
|
609
|
-
class: "inline-flex items-center gap-1 rounded-[6px] bg-[var(--gr-muted)] pl-2 pr-1 py-0.5 text-[12px] text-[var(--gr-fg)] max-w-full"
|
|
610
|
-
}, [createElementVNode("span", _hoisted_11, toDisplayString(opt.label), 1), !__props.disabled ? (openBlock(), createElementBlock("span", {
|
|
611
|
-
key: 0,
|
|
612
|
-
"data-gr-select-tag-remove": "",
|
|
613
|
-
role: "button",
|
|
614
|
-
tabindex: "-1",
|
|
615
|
-
"aria-label": tagRemoveLabel(opt),
|
|
616
|
-
class: "inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-[4px] text-[var(--gr-muted-fg)] hover:text-[var(--gr-fg)] hover:bg-[color-mix(in_srgb,var(--gr-fg)_12%,transparent)]",
|
|
617
|
-
onClick: withModifiers(($event) => removeValue(opt.value), ["stop"])
|
|
618
|
-
}, [..._cache[2] || (_cache[2] = [createElementVNode("span", {
|
|
619
|
-
class: "i-lucide-x block h-3 w-3",
|
|
620
|
-
"aria-hidden": "true"
|
|
621
|
-
}, null, -1)])], 8, _hoisted_12)) : createCommentVNode("", true)]);
|
|
622
|
-
}), 128))])) : (openBlock(), createElementBlock("span", {
|
|
623
|
-
key: 1,
|
|
624
|
-
class: normalizeClass(["block truncate", !hasSelection.value ? "text-[var(--gr-muted-fg)]" : ""])
|
|
625
|
-
}, toDisplayString(displayText.value), 3))])]), panelClearVisible.value ? (openBlock(), createElementBlock("span", _hoisted_13)) : (openBlock(), createElementBlock("span", _hoisted_14, [..._cache[3] || (_cache[3] = [createElementVNode("span", {
|
|
626
|
-
class: "i-lucide-chevron-down block h-4 w-4",
|
|
627
|
-
"aria-hidden": "true"
|
|
628
|
-
}, null, -1)])]))], 42, _hoisted_8),
|
|
629
|
-
panelClearVisible.value ? (openBlock(), createElementBlock("button", {
|
|
630
|
-
key: 0,
|
|
631
|
-
"data-testid": "gr-select-clear",
|
|
632
|
-
"data-gr-select-clear": "",
|
|
633
|
-
type: "button",
|
|
634
|
-
class: "absolute top-1/2 -translate-y-1/2 right-3 h-6 w-6 inline-flex items-center justify-center rounded-md text-[var(--gr-muted-fg)] hover:text-[var(--gr-fg)] hover:bg-[color-mix(in_srgb,var(--gr-muted)_25%,transparent)] disabled:opacity-50",
|
|
635
|
-
disabled: __props.disabled,
|
|
636
|
-
"aria-label": resolvedClearLabel.value,
|
|
637
|
-
onClick: withModifiers(clearSelection, ["stop"])
|
|
638
|
-
}, [..._cache[4] || (_cache[4] = [createElementVNode("span", {
|
|
639
|
-
class: "i-lucide-x inline-block h-4 w-4",
|
|
640
|
-
"aria-hidden": "true"
|
|
641
|
-
}, null, -1)])], 8, _hoisted_15)) : createCommentVNode("", true),
|
|
642
|
-
(openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(Transition, {
|
|
643
|
-
"enter-active-class": "transition ease-out duration-150",
|
|
644
|
-
"enter-from-class": "transform opacity-0 scale-95",
|
|
645
|
-
"enter-to-class": "transform opacity-100 scale-100",
|
|
646
|
-
"leave-active-class": "transition ease-in duration-100",
|
|
647
|
-
"leave-from-class": "transform opacity-100 scale-100",
|
|
648
|
-
"leave-to-class": "transform opacity-0 scale-95"
|
|
649
|
-
}, {
|
|
650
|
-
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
651
|
-
ref_key: "panelEl",
|
|
652
|
-
ref: panelEl,
|
|
653
|
-
"data-testid": "gr-select-panel",
|
|
654
|
-
"data-gr-select-panel": "",
|
|
655
|
-
style: normalizeStyle(unref(floatingStyle))
|
|
656
|
-
}, [createElementVNode("div", { class: normalizeClass(panelClasses.value) }, [showSearchInput.value ? (openBlock(), createElementBlock("div", _hoisted_16, [createVNode(GrInput_default, {
|
|
657
|
-
ref_key: "customInputRef",
|
|
658
|
-
ref: customInputRef,
|
|
659
|
-
modelValue: customValue.value,
|
|
660
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customValue.value = $event),
|
|
661
|
-
"data-testid": "gr-select-custom-input",
|
|
662
|
-
"data-gr-select-search": "",
|
|
663
|
-
type: "text",
|
|
664
|
-
placeholder: resolvedSearchPlaceholder.value,
|
|
665
|
-
size: "sm",
|
|
666
|
-
onKeydown: onComboKeydown
|
|
667
|
-
}, null, 8, ["modelValue", "placeholder"])])) : createCommentVNode("", true), __props.loading ? (openBlock(), createElementBlock("div", _hoisted_17, [_cache[5] || (_cache[5] = createElementVNode("span", {
|
|
668
|
-
class: "i-lucide-loader-circle block h-4 w-4 animate-spin",
|
|
669
|
-
"aria-hidden": "true"
|
|
670
|
-
}, null, -1)), createElementVNode("span", null, toDisplayString(resolvedLoadingText.value), 1)])) : (openBlock(), createElementBlock("div", {
|
|
671
|
-
key: 2,
|
|
672
|
-
id: unref(listboxId),
|
|
673
|
-
"data-gr-select-listbox": "",
|
|
674
|
-
class: "p-1 overflow-auto",
|
|
675
|
-
style: normalizeStyle({ maxHeight: `${__props.dropdownMaxHeight}px` }),
|
|
676
|
-
role: "listbox",
|
|
677
|
-
"aria-multiselectable": __props.multiple ? "true" : void 0
|
|
678
|
-
}, [
|
|
679
|
-
canAddCustom.value ? (openBlock(), createElementBlock("button", {
|
|
680
|
-
key: 0,
|
|
681
|
-
"data-testid": "gr-select-add-option",
|
|
682
|
-
"data-gr-select-add-option": "",
|
|
683
|
-
type: "button",
|
|
684
|
-
class: normalizeClass(["rounded-[10px] px-3 py-2 text-left text-[13px] hover:bg-[color-mix(in_srgb,var(--gr-muted)_30%,transparent)]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : "w-full"]]),
|
|
685
|
-
onClick: addCustom
|
|
686
|
-
}, toDisplayString(unref(t)("gr.select.addOption", "Add \"{value}\"", { value: customValue.value.trim() })), 3)) : createCommentVNode("", true),
|
|
687
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(panelItems.value, (item) => {
|
|
688
|
-
return openBlock(), createElementBlock(Fragment, { key: item.key }, [item.kind === "group" ? (openBlock(), createElementBlock("div", {
|
|
689
|
-
key: 0,
|
|
690
|
-
"data-gr-select-group-label": "",
|
|
691
|
-
role: "presentation",
|
|
692
|
-
class: normalizeClass(["px-3 pt-2 pb-1 text-[11px] font-semibold uppercase tracking-wide text-[var(--gr-muted-fg)]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : ""]])
|
|
693
|
-
}, toDisplayString(item.label), 3)) : (openBlock(), createElementBlock("button", {
|
|
694
|
-
key: 1,
|
|
695
|
-
id: optionDomId(item.option.value),
|
|
696
|
-
"data-gr-select-option": "",
|
|
697
|
-
type: "button",
|
|
698
|
-
role: "option",
|
|
699
|
-
disabled: item.option.disabled,
|
|
700
|
-
"aria-selected": isSelected(item.option.value) ? "true" : "false",
|
|
701
|
-
"aria-disabled": item.option.disabled ? "true" : void 0,
|
|
702
|
-
class: normalizeClass(["rounded-[10px] px-3 py-2 text-left text-[13px]", [
|
|
703
|
-
__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : "w-full",
|
|
704
|
-
item.option.disabled ? "cursor-not-allowed opacity-50" : "hover:bg-[color-mix(in_srgb,var(--gr-muted)_30%,transparent)]",
|
|
705
|
-
activeValue.value === item.option.value && !item.option.disabled ? "bg-[color-mix(in_srgb,var(--gr-muted)_30%,transparent)]" : ""
|
|
706
|
-
]]),
|
|
707
|
-
onClick: ($event) => toggleValue(item.option.value),
|
|
708
|
-
onMousemove: ($event) => activeIndex.value = navigableValues.value.indexOf(item.option.value)
|
|
709
|
-
}, [renderSlot(_ctx.$slots, "option", {
|
|
710
|
-
option: item.option,
|
|
711
|
-
selected: isSelected(item.option.value)
|
|
712
|
-
}, () => [createElementVNode("span", _hoisted_20, [createElementVNode("span", {
|
|
713
|
-
class: normalizeClass(["inline-block h-4 w-4 shrink-0", isSelected(item.option.value) ? "i-lucide-check text-[var(--gr-primary)]" : ""]),
|
|
714
|
-
"aria-hidden": "true"
|
|
715
|
-
}, null, 2), createElementVNode("span", _hoisted_21, toDisplayString(item.option.label), 1)])])], 42, _hoisted_19))], 64);
|
|
716
|
-
}), 128)),
|
|
717
|
-
!panelItems.value.length && !canAddCustom.value ? (openBlock(), createElementBlock("div", _hoisted_22, toDisplayString(resolvedNoResultsText.value), 1)) : createCommentVNode("", true)
|
|
718
|
-
], 12, _hoisted_18))], 2)], 4), [[vShow, open.value]])]),
|
|
719
|
-
_: 3
|
|
720
|
-
})]))
|
|
721
|
-
], 2)), [[unref(vClickOutside), {
|
|
722
|
-
handler: closeDropdown,
|
|
723
|
-
enabled: open.value,
|
|
724
|
-
exclude: clickOutsideExclude
|
|
725
|
-
}]]);
|
|
726
|
-
};
|
|
727
|
-
}
|
|
728
|
-
});
|
|
729
|
-
//#endregion
|
|
730
|
-
export { GrSelect_default as t };
|