@feugene/granularity 0.3.2 → 0.4.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/dist/GrFormFile.css +1 -0
- package/dist/{DsTree.css → GrTree.css} +1 -1
- package/dist/chunks/{adapter-veOBOjv3.js → adapter-D5uYoOZj.js} +1 -1
- package/dist/chunks/{config-DN1-oywd.js → config-B5JCvHys.js} +3 -3
- package/dist/chunks/{config-BWJ22IjI2.js → config-BDXa5Sna2.js} +3 -3
- package/dist/chunks/{config-Bb8NpnGF.js → config-BG5_FuZ-.js} +2 -2
- package/dist/chunks/{config-DopZCwNe.js → config-BMYKG1oB.js} +3 -3
- package/dist/chunks/{config-B36QoWkx2.js → config-BQREEXFD.js} +2 -2
- package/dist/chunks/{config-DJxFkysW.js → config-BUZtbeTr.js} +4 -4
- package/dist/chunks/{config-CcqnIunr.js → config-BVXycfiO.js} +3 -3
- package/dist/chunks/{config-D3ihNj1i.js → config-BZW-RL6E.js} +3 -3
- package/dist/chunks/{config-C0CVsc4Y.js → config-BhbfV-Is.js} +6 -6
- package/dist/chunks/{config-C_bF_fTb.js → config-BmYFupZh.js} +2 -2
- package/dist/chunks/{config-CzEeKJ6F2.js → config-BsZc_QQ-2.js} +3 -3
- package/dist/chunks/{config-Bo4SoxQg.js → config-C1Sn7mn-.js} +2 -2
- package/dist/chunks/config-C4_REX-3.js +9 -0
- package/dist/chunks/{config-C2wd640N.js → config-CBFllZZ4.js} +3 -3
- package/dist/chunks/{config-COfLMM02.js → config-CDyD_fCt.js} +2 -2
- package/dist/chunks/{config-D-soL_Ul.js → config-CJeG727i.js} +2 -2
- package/dist/chunks/{config-DoJaEy4X.js → config-CLawBqde.js} +4 -4
- package/dist/chunks/{config-CtI_S-zH.js → config-CMz46RPG.js} +2 -2
- package/dist/chunks/{config-DpluHp1i.js → config-CO-7HRZd2.js} +2 -2
- package/dist/chunks/config-CS7E7LME.js +9 -0
- package/dist/chunks/{config-E9sOdSx6.js → config-CVy124Xj.js} +2 -2
- package/dist/chunks/{config-ltfe9Xvy.js → config-CcixQGaN.js} +4 -4
- package/dist/chunks/{config-Cibru2a2.js → config-CiVXZxyQ.js} +3 -3
- package/dist/chunks/{config-YyVxx9dW.js → config-CoMQmunP.js} +2 -2
- package/dist/chunks/{config-BNQb1Tdk.js → config-Cq6ufYtp.js} +3 -3
- package/dist/chunks/config-D8CIEWcb.js +8 -0
- package/dist/chunks/{config-BYoxgIeM.js → config-D8hKc39m.js} +3 -3
- package/dist/chunks/config-D9MxGwCJ.js +8 -0
- package/dist/chunks/{config-CY0RJaK-.js → config-DBXTZE36.js} +3 -3
- package/dist/chunks/config-DK9C8O7L.js +9 -0
- package/dist/chunks/{config-DO9E5iXl2.js → config-DTegOmx2.js} +2 -2
- package/dist/chunks/{config-DGGgsQ-8.js → config-DYI8XADo.js} +6 -6
- package/dist/chunks/{config-BPuskn3r.js → config-DlidGf7P.js} +2 -2
- package/dist/chunks/{config-Zksyb5FX.js → config-DtNe7EIX.js} +3 -3
- package/dist/chunks/{config-BG-m3THf.js → config-EdWeK_ge.js} +3 -3
- package/dist/chunks/config-FGAkxHFh.js +8 -0
- package/dist/chunks/{config-CtgK8aLQ.js → config-M76gNxd2.js} +3 -3
- package/dist/chunks/{config-C7KNHOmN.js → config-NuqoO_Of.js} +3 -3
- package/dist/chunks/{config-BscZj6l42.js → config-QsovJrku2.js} +3 -3
- package/dist/chunks/config-R6F6zRJk.js +9 -0
- package/dist/chunks/{config-CLG4pCF9.js → config-SLwkDc4Q2.js} +3 -3
- package/dist/chunks/{config-DThxz0fj.js → config-aJ7sb62Y.js} +2 -2
- package/dist/chunks/{config-CvuvJeih.js → config-b9nc87Oc.js} +2 -2
- package/dist/chunks/config-dSI8RttH2.js +8 -0
- package/dist/chunks/config-im2VHeSM.js +9 -0
- package/dist/chunks/config-vKeQ035f.js +9 -0
- package/dist/chunks/{config-DfTEy9G3.js → config-vMcxHlWi.js} +6 -6
- package/dist/chunks/{dialogShared-B7Ruf0mn.js → dialogShared-CONROtU2.js} +1 -1
- package/dist/chunks/{directives-K8Vo0VhP.js → directives-Dr5NPOT8.js} +6 -6
- package/dist/chunks/es-CIT9s_vo.js +4 -0
- package/dist/chunks/{dsBadgeStyles-2fcy07ls.js → grBadgeStyles-Bu4H8bFc.js} +1 -1
- package/dist/chunks/{dsButtonStyles-xdMl54zJ.js → grButtonStyles-C5k0bN2e.js} +1 -1
- package/dist/chunks/{dsDropdownStyles-_XO6eeSE.js → grDropdownStyles-149X1NeB.js} +1 -1
- package/dist/chunks/{dsLoadingStyles-lw20OWhs.js → grLoadingStyles-Bjo7ylmq.js} +1 -1
- package/dist/chunks/{dsModalStyles-DovGcwjh.js → grModalStyles-Dmd4havY.js} +1 -1
- package/dist/chunks/{dsSelectStyles-BCrj5Fty.js → grSelectStyles-C3QKIn1J.js} +1 -1
- package/dist/chunks/{granularityI18n-DYNnonoE.js → granularityI18n-8_v1B11L.js} +1 -1
- package/dist/chunks/{safelist-CQOSs_yj.js → safelist-Bq32hAXc.js} +2 -2
- package/dist/chunks/{safelist-Gujf4bDO.js → safelist-CLcTRYB-.js} +2 -2
- package/dist/chunks/{shared-Dk9xmulE.js → shared-BqUqjuxn.js} +99 -99
- package/dist/components/{DsAlert/chunks/DsAlert-2ItscoqG.js → GrAlert/chunks/GrAlert-DLHkusb-.js} +2 -2
- package/dist/components/GrAlert/index.js +3 -0
- package/dist/components/{DsAvatar/chunks/DsAvatar-D7tQ9wfl.js → GrAvatar/chunks/GrAvatar-BFYH3HJw.js} +3 -3
- package/dist/components/GrAvatar/index.js +3 -0
- package/dist/components/{DsBadge/chunks/DsBadge-B9aZxvZb.js → GrBadge/chunks/GrBadge-D_AoqGrn.js} +3 -3
- package/dist/components/GrBadge/index.js +3 -0
- package/dist/components/{DsBadgeWrap/chunks/DsBadgeWrap-DO8TjFYg.js → GrBadgeWrap/chunks/GrBadgeWrap-C_N0QJfA.js} +2 -2
- package/dist/components/GrBadgeWrap/index.js +3 -0
- package/dist/components/{DsBottomNav/chunks/DsBottomNav-NRtHfcmQ.js → GrBottomNav/chunks/GrBottomNav-Chpu3SVd.js} +2 -2
- package/dist/components/GrBottomNav/index.js +3 -0
- package/dist/components/{DsButton/chunks/DsButton-9cB_fHZt.js → GrButton/chunks/GrButton-BXVVt6Od.js} +3 -3
- package/dist/components/GrButton/index.js +5 -0
- package/dist/components/{DsButtonGroup/chunks/DsButtonGroup-DPK1W3Hk.js → GrButtonGroup/chunks/GrButtonGroup-CmnYHVH7.js} +2 -2
- package/dist/components/GrButtonGroup/index.js +3 -0
- package/dist/components/{DsCard/chunks/DsCard-Bnelx1JF.js → GrCard/chunks/GrCard-DEpN6Ptf.js} +1 -1
- package/dist/components/GrCard/index.js +3 -0
- package/dist/components/{DsCheckbox/chunks/DsCheckbox-B3YN7RYo.js → GrCheckbox/chunks/GrCheckbox-DF3vJApB.js} +1 -1
- package/dist/components/GrCheckbox/index.js +3 -0
- package/dist/components/{DsCollapse/chunks/DsCollapse-7D6FTuFJ.js → GrCollapse/chunks/GrCollapse-D7QYRqNa.js} +7 -7
- package/dist/components/GrCollapse/index.js +3 -0
- package/dist/components/{DsConfirmDialog/chunks/DsConfirmDialog-NkhfmD4Y.js → GrConfirmDialog/chunks/GrConfirmDialog-C7Eh8-Vn.js} +4 -4
- package/dist/components/GrConfirmDialog/index.js +3 -0
- package/dist/components/{DsDataTable/chunks/DsDataTable-nK4XgT1y.js → GrDataTable/chunks/GrDataTable-Dxsg1NMP.js} +4 -4
- package/dist/components/GrDataTable/index.js +3 -0
- package/dist/components/{DsDialog/chunks/DsDialog-BH23MSq-.js → GrDialog/chunks/GrDialog-BSd4-uP5.js} +8 -8
- package/dist/components/GrDialog/index.js +4 -0
- package/dist/components/{DsDrawer/chunks/DsDrawer-GW4JyPf_.js → GrDrawer/chunks/GrDrawer-DBBSwe1s.js} +5 -5
- package/dist/components/GrDrawer/index.js +3 -0
- package/dist/components/{DsDropdown/chunks/DsDropdown-DmR1NWyV.js → GrDropdown/chunks/GrDropdown-BELyRP4A.js} +4 -4
- package/dist/components/GrDropdown/index.js +3 -0
- package/dist/components/{DsDropdownMenu/chunks/DsDropdownMenu-BlpO8mUO.js → GrDropdownMenu/chunks/GrDropdownMenu-B8fuk7iP.js} +10 -10
- package/dist/components/GrDropdownMenu/index.js +3 -0
- package/dist/components/{DsEmptyState/chunks/DsEmptyState-tKYwSiP1.js → GrEmptyState/chunks/GrEmptyState-BPGoafJI.js} +2 -2
- package/dist/components/GrEmptyState/index.js +3 -0
- package/dist/components/{DsFileUpload/chunks/DsFileUpload-Dya9vyG0.js → GrFileUpload/chunks/GrFileUpload-BPzx3LEM.js} +4 -4
- package/dist/components/GrFileUpload/index.js +4 -0
- package/dist/components/{DsFormField/chunks/DsFormField-QvWyAReX.js → GrFormField/chunks/GrFormField-Cn8g9eFP.js} +2 -2
- package/dist/components/GrFormField/index.js +3 -0
- package/dist/components/{DsFormFile/chunks/DsFormFile-BFfRuM1G.js → GrFormFile/chunks/GrFormFile-DfinD5Iv.js} +7 -7
- package/dist/components/GrFormFile/index.js +3 -0
- package/dist/components/{DsFormSection/chunks/DsFormSection-Dzspqv9R.js → GrFormSection/chunks/GrFormSection-dKpQw-vh.js} +2 -2
- package/dist/components/GrFormSection/index.js +3 -0
- package/dist/components/{DsIcon/chunks/DsIcon-Bk6qc4Kh.js → GrIcon/chunks/GrIcon-CXIHuG7L.js} +3 -3
- package/dist/components/GrIcon/index.js +3 -0
- package/dist/components/{DsImageViewer/chunks/DsImageViewer-_LWdAHAd.js → GrImageViewer/chunks/GrImageViewer-CQSNx-D7.js} +2 -2
- package/dist/components/GrImageViewer/index.js +3 -0
- package/dist/components/{DsInput/chunks/DsInput-B8RhHkKQ.js → GrInput/chunks/GrInput-CLKX1inm.js} +2 -2
- package/dist/components/GrInput/index.js +3 -0
- package/dist/components/{DsInputTag/chunks/DsInputTag-DVmvJ0A_.js → GrInputTag/chunks/GrInputTag-BAtLody2.js} +5 -5
- package/dist/components/GrInputTag/index.js +3 -0
- package/dist/components/{DsLink/chunks/DsLink-DXClMbuX.js → GrLink/chunks/GrLink-BpXnly-Y.js} +5 -5
- package/dist/components/GrLink/index.js +3 -0
- package/dist/components/{DsList/chunks/DsList-BEuPowc2.js → GrList/chunks/GrList-BrFc7VdS.js} +4 -4
- package/dist/components/GrList/index.js +3 -0
- package/dist/components/{DsLoading/chunks/DsLoading-uYpDF-nK.js → GrLoading/chunks/GrLoading-dFuoryMY.js} +3 -3
- package/dist/components/GrLoading/index.js +3 -0
- package/dist/components/{DsModal/chunks/DsModal-B2DLXV7F.js → GrModal/chunks/GrModal-uaWXH08K.js} +3 -3
- package/dist/components/GrModal/index.js +4 -0
- package/dist/components/{DsNavbar/chunks/DsNavbar-O-ud_du_.js → GrNavbar/chunks/GrNavbar-KzLHgdjX.js} +5 -5
- package/dist/components/GrNavbar/index.js +3 -0
- package/dist/components/{DsNumberInput/chunks/DsNumberInput-BJTpcTRc.js → GrNumberInput/chunks/GrNumberInput-rENn1802.js} +3 -3
- package/dist/components/GrNumberInput/index.js +3 -0
- package/dist/components/{DsPagination/chunks/DsPagination-hw_-VMRK.js → GrPagination/chunks/GrPagination-DP0x3rx6.js} +9 -9
- package/dist/components/GrPagination/index.js +3 -0
- package/dist/components/{DsProgressBar/chunks/DsProgressBar-CgIQj39W.js → GrProgressBar/chunks/GrProgressBar-DpW93sOi.js} +3 -3
- package/dist/components/GrProgressBar/index.js +3 -0
- package/dist/components/{DsPromptDialog/chunks/DsPromptDialog-_8v3Puaj.js → GrPromptDialog/chunks/GrPromptDialog-ASfBwyzQ.js} +6 -6
- package/dist/components/GrPromptDialog/index.js +3 -0
- package/dist/components/{DsRadio/chunks/DsRadio-DKbrUFUZ.js → GrRadio/chunks/GrRadio-8BOo97XV.js} +4 -4
- package/dist/components/GrRadio/index.js +3 -0
- package/dist/components/{DsRadioGroup/chunks/DsRadioGroup-BQo7Nc5-.js → GrRadioGroup/chunks/GrRadioGroup-BymbUmqI.js} +4 -4
- package/dist/components/GrRadioGroup/index.js +3 -0
- package/dist/components/{DsSegmented/chunks/DsSegmented-SbqzdCNX.js → GrSegmented/chunks/GrSegmented-CK5C_lN7.js} +3 -3
- package/dist/components/GrSegmented/index.js +3 -0
- package/dist/components/{DsSelect/chunks/DsSelect-DN-vZIEG.js → GrSelect/chunks/GrSelect-BMfc1-vs.js} +5 -5
- package/dist/components/GrSelect/index.js +3 -0
- package/dist/components/{DsSidebar/chunks/DsSidebar-DdofI1lo.js → GrSidebar/chunks/GrSidebar-C4SXXhfO.js} +2 -2
- package/dist/components/GrSidebar/index.js +3 -0
- package/dist/components/{DsSkeleton/chunks/DsSkeleton-DJSQ4gGR.js → GrSkeleton/chunks/GrSkeleton-QlieOdpY.js} +3 -3
- package/dist/components/GrSkeleton/index.js +3 -0
- package/dist/components/{DsSwitch/chunks/DsSwitch-Dh4_bd6e.js → GrSwitch/chunks/GrSwitch-Cefiutzu.js} +3 -3
- package/dist/components/GrSwitch/index.js +3 -0
- package/dist/components/{DsTable/chunks/DsTable-C27_FR_h.js → GrTable/chunks/GrTable-k_FUiJQk.js} +3 -3
- package/dist/components/GrTable/index.js +3 -0
- package/dist/components/{DsTabs/chunks/DsTabs-FLWaGtbo.js → GrTabs/chunks/GrTabs-B46P-lUc.js} +2 -2
- package/dist/components/GrTabs/index.js +3 -0
- package/dist/components/{DsTextarea/chunks/DsTextarea-D61wwTwK.js → GrTextarea/chunks/GrTextarea-BX7L1MJk.js} +3 -3
- package/dist/components/GrTextarea/index.js +3 -0
- package/dist/components/{DsToaster/chunks/DsToaster-Bzepxxi_.js → GrToaster/chunks/GrToaster-C4l_BjOh.js} +35 -11
- package/dist/components/GrToaster/index.js +3 -0
- package/dist/components/{DsTooltip/chunks/DsTooltip-BNkQOtpm.js → GrTooltip/chunks/GrTooltip-BqRAzuLT.js} +3 -3
- package/dist/components/GrTooltip/index.js +3 -0
- package/dist/components/{DsTree/chunks/DsTree-DK0aOkKS.js → GrTree/chunks/GrTree-C2CXR_vW.js} +8 -8
- package/dist/components/GrTree/index.js +3 -0
- package/dist/components/{DsTreeSelect/chunks/DsTreeSelect-BnG-oplE.js → GrTreeSelect/chunks/GrTreeSelect-DAAay-QB.js} +10 -10
- package/dist/components/GrTreeSelect/index.js +3 -0
- package/dist/composables/useToast.js +1 -1
- package/dist/directives/index.js +1 -1
- package/dist/granular-provider-node.js +6 -6
- package/dist/granular-provider.js +1 -1
- package/dist/i18n/all.js +9 -0
- package/dist/i18n/index.js +3 -9
- package/dist/index.js +112 -112
- package/dist/types/src/components/{DsAlert/DsAlert.vue.d.ts → GrAlert/GrAlert.vue.d.ts} +6 -6
- package/dist/types/src/components/GrAlert/config.d.ts +1 -0
- package/dist/types/src/components/GrAlert/index.d.ts +4 -0
- package/dist/types/src/components/{DsAvatar/DsAvatar.vue.d.ts → GrAvatar/GrAvatar.vue.d.ts} +3 -3
- package/dist/types/src/components/GrAvatar/config.d.ts +1 -0
- package/dist/types/src/components/GrAvatar/grAvatarStyles.d.ts +3 -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/{DsBadge/DsBadge.vue.d.ts → GrBadge/GrBadge.vue.d.ts} +8 -8
- package/dist/types/src/components/GrBadge/config.d.ts +1 -0
- package/dist/types/src/components/GrBadge/grBadgeStyles.d.ts +13 -0
- package/dist/types/src/components/GrBadge/index.d.ts +5 -0
- package/dist/types/src/components/GrBadge/safelist.d.ts +1 -0
- package/dist/types/src/components/GrBadgeWrap/config.d.ts +1 -0
- package/dist/types/src/components/GrBadgeWrap/index.d.ts +3 -0
- package/dist/types/src/components/{DsBottomNav/DsBottomNav.vue.d.ts → GrBottomNav/GrBottomNav.vue.d.ts} +2 -2
- package/dist/types/src/components/GrBottomNav/config.d.ts +1 -0
- package/dist/types/src/components/GrBottomNav/index.d.ts +4 -0
- package/dist/types/src/components/{DsButton/DsButton.vue.d.ts → GrButton/GrButton.vue.d.ts} +8 -8
- package/dist/types/src/components/GrButton/config.d.ts +1 -0
- package/dist/types/src/components/GrButton/config.node.d.ts +1 -0
- package/dist/types/src/components/{DsButton/dsButtonStyles.d.ts → GrButton/grButtonStyles.d.ts} +14 -14
- package/dist/types/src/components/GrButton/index.d.ts +6 -0
- package/dist/types/src/components/{DsButton → GrButton}/safelist.d.ts +2 -2
- package/dist/types/src/components/GrButtonGroup/config.d.ts +1 -0
- package/dist/types/src/components/GrButtonGroup/index.d.ts +3 -0
- package/dist/types/src/components/GrCard/config.d.ts +1 -0
- package/dist/types/src/components/GrCard/index.d.ts +3 -0
- package/dist/types/src/components/{DsCheckbox/DsCheckbox.vue.d.ts → GrCheckbox/GrCheckbox.vue.d.ts} +3 -3
- package/dist/types/src/components/GrCheckbox/config.d.ts +1 -0
- package/dist/types/src/components/GrCheckbox/index.d.ts +4 -0
- package/dist/types/src/components/{DsCollapse/DsCollapse.vue.d.ts → GrCollapse/GrCollapse.vue.d.ts} +11 -11
- package/dist/types/src/components/{DsCollapse/DsCollapseItem.vue.d.ts → GrCollapse/GrCollapseItem.vue.d.ts} +8 -8
- package/dist/types/src/components/GrCollapse/config.d.ts +1 -0
- package/dist/types/src/components/GrCollapse/grCollapseContext.d.ts +10 -0
- package/dist/types/src/components/GrCollapse/index.d.ts +6 -0
- package/dist/types/src/components/{DsConfirmDialog/DsConfirmDialog.vue.d.ts → GrConfirmDialog/GrConfirmDialog.vue.d.ts} +19 -19
- package/dist/types/src/components/GrConfirmDialog/config.d.ts +1 -0
- package/dist/types/src/components/GrConfirmDialog/index.d.ts +4 -0
- package/dist/types/src/components/{DsDataTable/DsDataTable.vue.d.ts → GrDataTable/GrDataTable.vue.d.ts} +8 -8
- package/dist/types/src/components/GrDataTable/config.d.ts +1 -0
- package/dist/types/src/components/GrDataTable/index.d.ts +4 -0
- package/dist/types/src/components/{DsDialog/DsDialog.vue.d.ts → GrDialog/GrDialog.vue.d.ts} +12 -12
- package/dist/types/src/components/{DsDialog/DsDialogFooter.vue.d.ts → GrDialog/GrDialogFooter.vue.d.ts} +6 -6
- package/dist/types/src/components/{DsDialog/DsDialogHeader.vue.d.ts → GrDialog/GrDialogHeader.vue.d.ts} +6 -6
- package/dist/types/src/components/GrDialog/config.d.ts +1 -0
- package/dist/types/src/components/GrDialog/dialogShared.d.ts +15 -0
- package/dist/types/src/components/GrDialog/index.d.ts +7 -0
- package/dist/types/src/components/GrDialog/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsDrawer/DsDrawer.vue.d.ts → GrDrawer/GrDrawer.vue.d.ts} +8 -8
- package/dist/types/src/components/GrDrawer/config.d.ts +1 -0
- package/dist/types/src/components/GrDrawer/grDrawerStyles.d.ts +10 -0
- package/dist/types/src/components/GrDrawer/index.d.ts +6 -0
- package/dist/types/src/components/GrDrawer/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsDropdown/DsDropdown.vue.d.ts → GrDropdown/GrDropdown.vue.d.ts} +8 -8
- package/dist/types/src/components/GrDropdown/config.d.ts +1 -0
- package/dist/types/src/components/GrDropdown/grDropdownStyles.d.ts +7 -0
- package/dist/types/src/components/GrDropdown/index.d.ts +6 -0
- package/dist/types/src/components/GrDropdown/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenu.vue.d.ts → GrDropdownMenu/GrDropdownMenu.vue.d.ts} +9 -9
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts → GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts} +6 -6
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts → GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts} +3 -3
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts → GrDropdownMenu/GrDropdownMenuDivider.vue.d.ts} +3 -3
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts → GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts} +6 -6
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts → GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts} +6 -6
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuItem.vue.d.ts → GrDropdownMenu/GrDropdownMenuItem.vue.d.ts} +9 -9
- package/dist/types/src/components/{DsDropdownMenu/DsDropdownMenuList.vue.d.ts → GrDropdownMenu/GrDropdownMenuList.vue.d.ts} +3 -3
- package/dist/types/src/components/GrDropdownMenu/config.d.ts +1 -0
- package/dist/types/src/components/GrDropdownMenu/index.d.ts +18 -0
- package/dist/types/src/components/{DsEmptyState/DsEmptyState.vue.d.ts → GrEmptyState/GrEmptyState.vue.d.ts} +4 -4
- package/dist/types/src/components/GrEmptyState/config.d.ts +1 -0
- package/dist/types/src/components/GrEmptyState/index.d.ts +4 -0
- package/dist/types/src/components/{DsFileUpload/DsFileUpload.vue.d.ts → GrFileUpload/GrFileUpload.vue.d.ts} +13 -13
- package/dist/types/src/components/GrFileUpload/config.d.ts +1 -0
- package/dist/types/src/components/GrFileUpload/index.d.ts +5 -0
- package/dist/types/src/components/GrFormField/config.d.ts +1 -0
- package/dist/types/src/components/GrFormField/index.d.ts +3 -0
- package/dist/types/src/components/{DsFormFile/DsFormFile.vue.d.ts → GrFormFile/GrFormFile.vue.d.ts} +7 -7
- package/dist/types/src/components/GrFormFile/config.d.ts +1 -0
- package/dist/types/src/components/GrFormFile/index.d.ts +4 -0
- package/dist/types/src/components/{DsFormSection/DsFormSection.vue.d.ts → GrFormSection/GrFormSection.vue.d.ts} +4 -4
- package/dist/types/src/components/GrFormSection/config.d.ts +1 -0
- package/dist/types/src/components/GrFormSection/index.d.ts +4 -0
- package/dist/types/src/components/{DsIcon/DsIcon.vue.d.ts → GrIcon/GrIcon.vue.d.ts} +2 -2
- package/dist/types/src/components/GrIcon/config.d.ts +1 -0
- package/dist/types/src/components/GrIcon/index.d.ts +3 -0
- package/dist/types/src/components/{DsImageViewer/DsImageViewer.vue.d.ts → GrImageViewer/GrImageViewer.vue.d.ts} +4 -4
- package/dist/types/src/components/GrImageViewer/config.d.ts +1 -0
- package/dist/types/src/components/GrImageViewer/index.d.ts +3 -0
- package/dist/types/src/components/{DsInput/DsInput.vue.d.ts → GrInput/GrInput.vue.d.ts} +6 -6
- package/dist/types/src/components/GrInput/config.d.ts +1 -0
- package/dist/types/src/components/GrInput/index.d.ts +5 -0
- package/dist/types/src/components/GrInput/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsInputTag/DsInputTag.vue.d.ts → GrInputTag/GrInputTag.vue.d.ts} +17 -17
- package/dist/types/src/components/GrInputTag/config.d.ts +1 -0
- package/dist/types/src/components/GrInputTag/grInputTagStyles.d.ts +13 -0
- package/dist/types/src/components/GrInputTag/index.d.ts +6 -0
- package/dist/types/src/components/GrInputTag/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsLink/DsLink.vue.d.ts → GrLink/GrLink.vue.d.ts} +7 -7
- package/dist/types/src/components/GrLink/config.d.ts +1 -0
- package/dist/types/src/components/{DsLink/dsLinkStyles.d.ts → GrLink/grLinkStyles.d.ts} +9 -9
- package/dist/types/src/components/GrLink/index.d.ts +5 -0
- package/dist/types/src/components/GrLink/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsList/DsList.vue.d.ts → GrList/GrList.vue.d.ts} +3 -3
- package/dist/types/src/components/{DsList/DsListItem.vue.d.ts → GrList/GrListItem.vue.d.ts} +6 -6
- package/dist/types/src/components/GrList/config.d.ts +1 -0
- package/dist/types/src/components/GrList/index.d.ts +6 -0
- package/dist/types/src/components/{DsLoading/DsLoading.vue.d.ts → GrLoading/GrLoading.vue.d.ts} +4 -4
- package/dist/types/src/components/GrLoading/config.d.ts +1 -0
- package/dist/types/src/components/{DsLoading/dsLoadingStyles.d.ts → GrLoading/grLoadingStyles.d.ts} +1 -1
- package/dist/types/src/components/GrLoading/index.d.ts +5 -0
- package/dist/types/src/components/GrLoading/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsModal/DsModal.vue.d.ts → GrModal/GrModal.vue.d.ts} +6 -6
- package/dist/types/src/components/GrModal/config.d.ts +1 -0
- package/dist/types/src/components/{DsModal/dsModalStyles.d.ts → GrModal/grModalStyles.d.ts} +5 -5
- package/dist/types/src/components/GrModal/index.d.ts +7 -0
- package/dist/types/src/components/{DsModal → GrModal}/safelist.d.ts +3 -3
- package/dist/types/src/components/{DsNavbar/DsNavbar.vue.d.ts → GrNavbar/GrNavbar.vue.d.ts} +4 -4
- package/dist/types/src/components/GrNavbar/config.d.ts +1 -0
- package/dist/types/src/components/GrNavbar/index.d.ts +4 -0
- package/dist/types/src/components/{DsNumberInput/DsNumberInput.vue.d.ts → GrNumberInput/GrNumberInput.vue.d.ts} +12 -12
- package/dist/types/src/components/GrNumberInput/config.d.ts +1 -0
- package/dist/types/src/components/GrNumberInput/grNumberInputStyles.d.ts +19 -0
- package/dist/types/src/components/GrNumberInput/index.d.ts +6 -0
- package/dist/types/src/components/GrNumberInput/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsPagination/DsPagination.vue.d.ts → GrPagination/GrPagination.vue.d.ts} +3 -3
- package/dist/types/src/components/GrPagination/config.d.ts +1 -0
- package/dist/types/src/components/GrPagination/index.d.ts +3 -0
- package/dist/types/src/components/{DsProgressBar/DsProgressBar.vue.d.ts → GrProgressBar/GrProgressBar.vue.d.ts} +7 -7
- package/dist/types/src/components/GrProgressBar/config.d.ts +1 -0
- package/dist/types/src/components/GrProgressBar/config.node.d.ts +1 -0
- package/dist/types/src/components/GrProgressBar/grStyle.d.ts +2 -0
- package/dist/types/src/components/GrProgressBar/index.d.ts +5 -0
- package/dist/types/src/components/GrProgressBar/safelist.d.ts +4 -0
- package/dist/types/src/components/{DsPromptDialog/DsPromptDialog.vue.d.ts → GrPromptDialog/GrPromptDialog.vue.d.ts} +19 -19
- package/dist/types/src/components/GrPromptDialog/config.d.ts +1 -0
- package/dist/types/src/components/GrPromptDialog/index.d.ts +4 -0
- package/dist/types/src/components/{DsRadio/DsRadio.vue.d.ts → GrRadio/GrRadio.vue.d.ts} +20 -20
- package/dist/types/src/components/GrRadio/config.d.ts +1 -0
- package/dist/types/src/components/{DsRadio/dsRadioGroupContext.d.ts → GrRadio/grRadioGroupContext.d.ts} +4 -4
- package/dist/types/src/components/GrRadio/grRadioStyles.d.ts +23 -0
- package/dist/types/src/components/GrRadio/index.d.ts +7 -0
- package/dist/types/src/components/GrRadio/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsRadioGroup/DsRadioGroup.vue.d.ts → GrRadioGroup/GrRadioGroup.vue.d.ts} +15 -15
- package/dist/types/src/components/GrRadioGroup/config.d.ts +1 -0
- package/dist/types/src/components/GrRadioGroup/index.d.ts +4 -0
- package/dist/types/src/components/{DsSegmented/DsSegmented.vue.d.ts → GrSegmented/GrSegmented.vue.d.ts} +15 -15
- package/dist/types/src/components/GrSegmented/config.d.ts +1 -0
- package/dist/types/src/components/{DsSegmented/dsSegmentedStyles.d.ts → GrSegmented/grSegmentedStyles.d.ts} +18 -18
- package/dist/types/src/components/GrSegmented/index.d.ts +6 -0
- package/dist/types/src/components/{DsSegmented → GrSegmented}/safelist.d.ts +2 -2
- package/dist/types/src/components/{DsSelect/DsSelect.vue.d.ts → GrSelect/GrSelect.vue.d.ts} +24 -24
- package/dist/types/src/components/GrSelect/config.d.ts +1 -0
- package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +39 -0
- package/dist/types/src/components/GrSelect/index.d.ts +5 -0
- package/dist/types/src/components/GrSelect/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsSidebar/DsSidebar.vue.d.ts → GrSidebar/GrSidebar.vue.d.ts} +4 -4
- package/dist/types/src/components/GrSidebar/config.d.ts +1 -0
- package/dist/types/src/components/GrSidebar/index.d.ts +3 -0
- package/dist/types/src/components/{DsSkeleton/DsSkeleton.vue.d.ts → GrSkeleton/GrSkeleton.vue.d.ts} +4 -4
- package/dist/types/src/components/GrSkeleton/config.d.ts +1 -0
- package/dist/types/src/components/GrSkeleton/index.d.ts +3 -0
- package/dist/types/src/components/{DsSwitch/DsSwitch.vue.d.ts → GrSwitch/GrSwitch.vue.d.ts} +7 -7
- package/dist/types/src/components/GrSwitch/config.d.ts +1 -0
- package/dist/types/src/components/GrSwitch/grSwitchStyles.d.ts +19 -0
- package/dist/types/src/components/GrSwitch/index.d.ts +5 -0
- package/dist/types/src/components/{DsSwitch → GrSwitch}/safelist.d.ts +2 -2
- package/dist/types/src/components/{DsTable/DsTable.vue.d.ts → GrTable/GrTable.vue.d.ts} +7 -7
- package/dist/types/src/components/GrTable/config.d.ts +1 -0
- package/dist/types/src/components/GrTable/index.d.ts +4 -0
- package/dist/types/src/components/{DsTabs/DsTabs.vue.d.ts → GrTabs/GrTabs.vue.d.ts} +5 -5
- package/dist/types/src/components/GrTabs/config.d.ts +1 -0
- package/dist/types/src/components/GrTabs/index.d.ts +4 -0
- package/dist/types/src/components/{DsTextarea/DsTextarea.vue.d.ts → GrTextarea/GrTextarea.vue.d.ts} +5 -5
- package/dist/types/src/components/GrTextarea/config.d.ts +1 -0
- package/dist/types/src/components/GrTextarea/grTextareaStyles.d.ts +6 -0
- package/dist/types/src/components/GrTextarea/index.d.ts +6 -0
- package/dist/types/src/components/GrTextarea/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsToaster/DsToaster.vue.d.ts → GrToaster/GrToaster.vue.d.ts} +7 -7
- package/dist/types/src/components/GrToaster/config.d.ts +1 -0
- package/dist/types/src/components/GrToaster/grToasterStyles.d.ts +2 -0
- package/dist/types/src/components/GrToaster/index.d.ts +6 -0
- package/dist/types/src/components/GrToaster/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsTooltip/DsTooltip.vue.d.ts → GrTooltip/GrTooltip.vue.d.ts} +3 -3
- package/dist/types/src/components/GrTooltip/config.d.ts +1 -0
- package/dist/types/src/components/GrTooltip/index.d.ts +4 -0
- package/dist/types/src/components/{DsTree/DsTree.vue.d.ts → GrTree/GrTree.vue.d.ts} +13 -13
- package/dist/types/src/components/GrTree/config.d.ts +1 -0
- package/dist/types/src/components/GrTree/grTreeDataAdapter.d.ts +14 -0
- package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +31 -0
- package/dist/types/src/components/GrTree/grTreeProps.d.ts +63 -0
- package/dist/types/src/components/GrTree/grTreeStore.d.ts +45 -0
- package/dist/types/src/components/GrTree/grTreeTypes.d.ts +24 -0
- package/dist/types/src/components/GrTree/index.d.ts +6 -0
- package/dist/types/src/components/GrTree/safelist.d.ts +1 -0
- package/dist/types/src/components/{DsTreeSelect/DsTreeSelect.vue.d.ts → GrTreeSelect/GrTreeSelect.vue.d.ts} +11 -11
- package/dist/types/src/components/GrTreeSelect/config.d.ts +1 -0
- package/dist/types/src/components/GrTreeSelect/grTreeSelectStyles.d.ts +10 -0
- package/dist/types/src/components/GrTreeSelect/grTreeSelectTypes.d.ts +33 -0
- package/dist/types/src/components/GrTreeSelect/index.d.ts +5 -0
- package/dist/types/src/components/GrTreeSelect/safelist.d.ts +1 -0
- package/dist/types/src/composables/useToast.d.ts +3 -3
- package/dist/types/src/granular-provider/shared.d.ts +50 -50
- package/dist/types/src/i18n/all.d.ts +23 -0
- package/dist/types/src/i18n/messages/const.d.ts +1 -0
- package/dist/types/src/i18n/messages/en.d.ts +100 -0
- package/dist/types/src/i18n/messages/es.d.ts +93 -0
- package/dist/types/src/i18n/messages/index.d.ts +25 -0
- package/dist/types/src/i18n/messages/ru.d.ts +93 -0
- package/dist/types/src/index.d.ts +49 -49
- package/dist/types/src/vue/plugin.d.ts +5 -5
- package/package.json +155 -145
- package/dist/DsFormFile.css +0 -1
- package/dist/chunks/config-C_CXjTfh2.js +0 -9
- package/dist/chunks/config-CnClbuiL.js +0 -9
- package/dist/chunks/config-D9kbijTN.js +0 -9
- package/dist/chunks/config-DQdLgKLJ.js +0 -8
- package/dist/chunks/config-DU-WqEnv.js +0 -9
- package/dist/chunks/config-DeL48aIt.js +0 -8
- package/dist/chunks/config-DrTFt1re.js +0 -8
- package/dist/chunks/config-EhfVxSIR.js +0 -9
- package/dist/chunks/config-J_2KglMu.js +0 -8
- package/dist/chunks/config-udLUeY_k.js +0 -9
- package/dist/components/DsAlert/index.js +0 -3
- package/dist/components/DsAvatar/index.js +0 -3
- package/dist/components/DsBadge/index.js +0 -3
- package/dist/components/DsBadgeWrap/index.js +0 -3
- package/dist/components/DsBottomNav/index.js +0 -3
- package/dist/components/DsButton/index.js +0 -5
- package/dist/components/DsButtonGroup/index.js +0 -3
- package/dist/components/DsCard/index.js +0 -3
- package/dist/components/DsCheckbox/index.js +0 -3
- package/dist/components/DsCollapse/index.js +0 -3
- package/dist/components/DsConfirmDialog/index.js +0 -3
- package/dist/components/DsDataTable/index.js +0 -3
- package/dist/components/DsDialog/index.js +0 -4
- package/dist/components/DsDrawer/index.js +0 -3
- package/dist/components/DsDropdown/index.js +0 -3
- package/dist/components/DsDropdownMenu/index.js +0 -3
- package/dist/components/DsEmptyState/index.js +0 -3
- package/dist/components/DsFileUpload/index.js +0 -4
- package/dist/components/DsFormField/index.js +0 -3
- package/dist/components/DsFormFile/index.js +0 -3
- package/dist/components/DsFormSection/index.js +0 -3
- package/dist/components/DsIcon/index.js +0 -3
- package/dist/components/DsImageViewer/index.js +0 -3
- package/dist/components/DsInput/index.js +0 -3
- package/dist/components/DsInputTag/index.js +0 -3
- package/dist/components/DsLink/index.js +0 -3
- package/dist/components/DsList/index.js +0 -3
- package/dist/components/DsLoading/index.js +0 -3
- package/dist/components/DsModal/index.js +0 -4
- package/dist/components/DsNavbar/index.js +0 -3
- package/dist/components/DsNumberInput/index.js +0 -3
- package/dist/components/DsPagination/index.js +0 -3
- package/dist/components/DsProgressBar/index.js +0 -3
- package/dist/components/DsPromptDialog/index.js +0 -3
- package/dist/components/DsRadio/index.js +0 -3
- package/dist/components/DsRadioGroup/index.js +0 -3
- package/dist/components/DsSegmented/index.js +0 -3
- package/dist/components/DsSelect/index.js +0 -3
- package/dist/components/DsSidebar/index.js +0 -3
- package/dist/components/DsSkeleton/index.js +0 -3
- package/dist/components/DsSwitch/index.js +0 -3
- package/dist/components/DsTable/index.js +0 -3
- package/dist/components/DsTabs/index.js +0 -3
- package/dist/components/DsTextarea/index.js +0 -3
- package/dist/components/DsToaster/index.js +0 -3
- package/dist/components/DsTooltip/index.js +0 -3
- package/dist/components/DsTree/index.js +0 -3
- package/dist/components/DsTreeSelect/index.js +0 -3
- package/dist/types/src/components/DsAlert/config.d.ts +0 -1
- package/dist/types/src/components/DsAlert/index.d.ts +0 -4
- package/dist/types/src/components/DsAvatar/config.d.ts +0 -1
- package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +0 -3
- package/dist/types/src/components/DsAvatar/index.d.ts +0 -5
- package/dist/types/src/components/DsAvatar/safelist.d.ts +0 -4
- package/dist/types/src/components/DsBadge/config.d.ts +0 -1
- package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +0 -13
- package/dist/types/src/components/DsBadge/index.d.ts +0 -5
- package/dist/types/src/components/DsBadge/safelist.d.ts +0 -1
- package/dist/types/src/components/DsBadgeWrap/config.d.ts +0 -1
- package/dist/types/src/components/DsBadgeWrap/index.d.ts +0 -3
- package/dist/types/src/components/DsBottomNav/config.d.ts +0 -1
- package/dist/types/src/components/DsBottomNav/index.d.ts +0 -4
- package/dist/types/src/components/DsButton/config.d.ts +0 -1
- package/dist/types/src/components/DsButton/config.node.d.ts +0 -1
- package/dist/types/src/components/DsButton/index.d.ts +0 -6
- package/dist/types/src/components/DsButtonGroup/config.d.ts +0 -1
- package/dist/types/src/components/DsButtonGroup/index.d.ts +0 -3
- package/dist/types/src/components/DsCard/config.d.ts +0 -1
- package/dist/types/src/components/DsCard/index.d.ts +0 -3
- package/dist/types/src/components/DsCheckbox/config.d.ts +0 -1
- package/dist/types/src/components/DsCheckbox/index.d.ts +0 -4
- package/dist/types/src/components/DsCollapse/config.d.ts +0 -1
- package/dist/types/src/components/DsCollapse/dsCollapseContext.d.ts +0 -10
- package/dist/types/src/components/DsCollapse/index.d.ts +0 -6
- package/dist/types/src/components/DsConfirmDialog/config.d.ts +0 -1
- package/dist/types/src/components/DsConfirmDialog/index.d.ts +0 -4
- package/dist/types/src/components/DsDataTable/config.d.ts +0 -1
- package/dist/types/src/components/DsDataTable/index.d.ts +0 -4
- package/dist/types/src/components/DsDialog/config.d.ts +0 -1
- package/dist/types/src/components/DsDialog/dialogShared.d.ts +0 -15
- package/dist/types/src/components/DsDialog/index.d.ts +0 -7
- package/dist/types/src/components/DsDialog/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDrawer/config.d.ts +0 -1
- package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +0 -10
- package/dist/types/src/components/DsDrawer/index.d.ts +0 -6
- package/dist/types/src/components/DsDrawer/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDropdown/config.d.ts +0 -1
- package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +0 -7
- package/dist/types/src/components/DsDropdown/index.d.ts +0 -6
- package/dist/types/src/components/DsDropdown/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDropdownMenu/config.d.ts +0 -1
- package/dist/types/src/components/DsDropdownMenu/index.d.ts +0 -18
- package/dist/types/src/components/DsEmptyState/config.d.ts +0 -1
- package/dist/types/src/components/DsEmptyState/index.d.ts +0 -4
- package/dist/types/src/components/DsFileUpload/config.d.ts +0 -1
- package/dist/types/src/components/DsFileUpload/index.d.ts +0 -5
- package/dist/types/src/components/DsFormField/config.d.ts +0 -1
- package/dist/types/src/components/DsFormField/index.d.ts +0 -3
- package/dist/types/src/components/DsFormFile/config.d.ts +0 -1
- package/dist/types/src/components/DsFormFile/index.d.ts +0 -4
- package/dist/types/src/components/DsFormSection/config.d.ts +0 -1
- package/dist/types/src/components/DsFormSection/index.d.ts +0 -4
- package/dist/types/src/components/DsIcon/config.d.ts +0 -1
- package/dist/types/src/components/DsIcon/index.d.ts +0 -3
- package/dist/types/src/components/DsImageViewer/config.d.ts +0 -1
- package/dist/types/src/components/DsImageViewer/index.d.ts +0 -3
- package/dist/types/src/components/DsInput/config.d.ts +0 -1
- package/dist/types/src/components/DsInput/index.d.ts +0 -5
- package/dist/types/src/components/DsInput/safelist.d.ts +0 -1
- package/dist/types/src/components/DsInputTag/config.d.ts +0 -1
- package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +0 -13
- package/dist/types/src/components/DsInputTag/index.d.ts +0 -6
- package/dist/types/src/components/DsInputTag/safelist.d.ts +0 -1
- package/dist/types/src/components/DsLink/config.d.ts +0 -1
- package/dist/types/src/components/DsLink/index.d.ts +0 -5
- package/dist/types/src/components/DsLink/safelist.d.ts +0 -1
- package/dist/types/src/components/DsList/config.d.ts +0 -1
- package/dist/types/src/components/DsList/index.d.ts +0 -6
- package/dist/types/src/components/DsLoading/config.d.ts +0 -1
- package/dist/types/src/components/DsLoading/index.d.ts +0 -5
- package/dist/types/src/components/DsLoading/safelist.d.ts +0 -1
- package/dist/types/src/components/DsModal/config.d.ts +0 -1
- package/dist/types/src/components/DsModal/index.d.ts +0 -7
- package/dist/types/src/components/DsNavbar/config.d.ts +0 -1
- package/dist/types/src/components/DsNavbar/index.d.ts +0 -4
- package/dist/types/src/components/DsNumberInput/config.d.ts +0 -1
- package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +0 -19
- package/dist/types/src/components/DsNumberInput/index.d.ts +0 -6
- package/dist/types/src/components/DsNumberInput/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPagination/config.d.ts +0 -1
- package/dist/types/src/components/DsPagination/index.d.ts +0 -3
- package/dist/types/src/components/DsProgressBar/config.d.ts +0 -1
- package/dist/types/src/components/DsProgressBar/config.node.d.ts +0 -1
- package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +0 -2
- package/dist/types/src/components/DsProgressBar/index.d.ts +0 -5
- package/dist/types/src/components/DsProgressBar/safelist.d.ts +0 -4
- package/dist/types/src/components/DsPromptDialog/config.d.ts +0 -1
- package/dist/types/src/components/DsPromptDialog/index.d.ts +0 -4
- package/dist/types/src/components/DsRadio/config.d.ts +0 -1
- package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +0 -23
- package/dist/types/src/components/DsRadio/index.d.ts +0 -7
- package/dist/types/src/components/DsRadio/safelist.d.ts +0 -1
- package/dist/types/src/components/DsRadioGroup/config.d.ts +0 -1
- package/dist/types/src/components/DsRadioGroup/index.d.ts +0 -4
- package/dist/types/src/components/DsSegmented/config.d.ts +0 -1
- package/dist/types/src/components/DsSegmented/index.d.ts +0 -6
- package/dist/types/src/components/DsSelect/config.d.ts +0 -1
- package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +0 -39
- package/dist/types/src/components/DsSelect/index.d.ts +0 -5
- package/dist/types/src/components/DsSelect/safelist.d.ts +0 -1
- package/dist/types/src/components/DsSidebar/config.d.ts +0 -1
- package/dist/types/src/components/DsSidebar/index.d.ts +0 -3
- package/dist/types/src/components/DsSkeleton/config.d.ts +0 -1
- package/dist/types/src/components/DsSkeleton/index.d.ts +0 -3
- package/dist/types/src/components/DsSwitch/config.d.ts +0 -1
- package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +0 -19
- package/dist/types/src/components/DsSwitch/index.d.ts +0 -5
- package/dist/types/src/components/DsTable/config.d.ts +0 -1
- package/dist/types/src/components/DsTable/index.d.ts +0 -4
- package/dist/types/src/components/DsTabs/config.d.ts +0 -1
- package/dist/types/src/components/DsTabs/index.d.ts +0 -4
- package/dist/types/src/components/DsTextarea/config.d.ts +0 -1
- package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +0 -6
- package/dist/types/src/components/DsTextarea/index.d.ts +0 -6
- package/dist/types/src/components/DsTextarea/safelist.d.ts +0 -1
- package/dist/types/src/components/DsToaster/config.d.ts +0 -1
- package/dist/types/src/components/DsToaster/dsToasterStyles.d.ts +0 -2
- package/dist/types/src/components/DsToaster/index.d.ts +0 -6
- package/dist/types/src/components/DsToaster/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTooltip/config.d.ts +0 -1
- package/dist/types/src/components/DsTooltip/index.d.ts +0 -4
- package/dist/types/src/components/DsTree/config.d.ts +0 -1
- package/dist/types/src/components/DsTree/dsTreeDataAdapter.d.ts +0 -14
- package/dist/types/src/components/DsTree/dsTreeInteractionContext.d.ts +0 -31
- package/dist/types/src/components/DsTree/dsTreeProps.d.ts +0 -63
- package/dist/types/src/components/DsTree/dsTreeStore.d.ts +0 -45
- package/dist/types/src/components/DsTree/dsTreeTypes.d.ts +0 -24
- package/dist/types/src/components/DsTree/index.d.ts +0 -6
- package/dist/types/src/components/DsTree/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTreeSelect/config.d.ts +0 -1
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +0 -10
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +0 -33
- package/dist/types/src/components/DsTreeSelect/index.d.ts +0 -5
- package/dist/types/src/components/DsTreeSelect/safelist.d.ts +0 -1
- package/dist/types/src/i18n/messages.d.ts +0 -280
- /package/dist/{DsButtonGroup.css → GrButtonGroup.css} +0 -0
- /package/dist/{DsIcon.css → GrIcon.css} +0 -0
- /package/dist/{DsLoading.css → GrLoading.css} +0 -0
- /package/dist/{DsSkeleton.css → GrSkeleton.css} +0 -0
- /package/dist/chunks/{en-BkL6iabg.js → en-j3simI0h.js} +0 -0
- /package/dist/chunks/{es-Dh_K9iry.js → es-CLpJj7KP.js} +0 -0
- /package/dist/chunks/{ru-kTbw8Tku.js → ru-CiOZPnBu.js} +0 -0
- /package/dist/types/src/components/{DsBadgeWrap/DsBadgeWrap.vue.d.ts → GrBadgeWrap/GrBadgeWrap.vue.d.ts} +0 -0
- /package/dist/types/src/components/{DsButtonGroup/DsButtonGroup.vue.d.ts → GrButtonGroup/GrButtonGroup.vue.d.ts} +0 -0
- /package/dist/types/src/components/{DsCard/DsCard.vue.d.ts → GrCard/GrCard.vue.d.ts} +0 -0
- /package/dist/types/src/components/{DsDialog/DsDialogCloseButton.vue.d.ts → GrDialog/GrDialogCloseButton.vue.d.ts} +0 -0
- /package/dist/types/src/components/{DsFileUpload → GrFileUpload}/FileValidationError.d.ts +0 -0
- /package/dist/types/src/components/{DsFileUpload → GrFileUpload}/acceptValidator.d.ts +0 -0
- /package/dist/types/src/components/{DsFileUpload → GrFileUpload}/matchAccept.d.ts +0 -0
- /package/dist/types/src/components/{DsFileUpload → GrFileUpload}/maxSizeMbValidator.d.ts +0 -0
- /package/dist/types/src/components/{DsFileUpload → GrFileUpload}/runFileValidators.d.ts +0 -0
- /package/dist/types/src/components/{DsFileUpload → GrFileUpload}/types.d.ts +0 -0
- /package/dist/types/src/components/{DsFormField/DsFormField.vue.d.ts → GrFormField/GrFormField.vue.d.ts} +0 -0
- /package/dist/types/src/components/{DsInput/dsInputStyles.d.ts → GrInput/grInputStyles.d.ts} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { GrTreeInstance, GrTreeNode, GrTreeNodeDropType } from './grTreeTypes';
|
|
2
|
+
import type { GrTreeProps } from './grTreeProps';
|
|
3
3
|
declare const __VLS_export: <T extends Record<string, any> = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & __VLS_PrettifyLocal<
|
|
5
|
-
onNodeClick?: ((data: T, node:
|
|
6
|
-
onNodeExpand?: ((data: T, node:
|
|
7
|
-
onNodeCollapse?: ((data: T, node:
|
|
8
|
-
onNodeDrop?: ((draggingNode:
|
|
4
|
+
props: import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & __VLS_PrettifyLocal<GrTreeProps<T> & {
|
|
5
|
+
onNodeClick?: ((data: T, node: GrTreeNode<T>) => any) | undefined;
|
|
6
|
+
onNodeExpand?: ((data: T, node: GrTreeNode<T>) => any) | undefined;
|
|
7
|
+
onNodeCollapse?: ((data: T, node: GrTreeNode<T>) => any) | undefined;
|
|
8
|
+
onNodeDrop?: ((draggingNode: GrTreeNode<T>, dropNode: GrTreeNode<T>, dropType: GrTreeNodeDropType) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
11
11
|
} ? P : {});
|
|
12
|
-
expose: (exposed: import("vue").ShallowUnwrapRef<
|
|
12
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<GrTreeInstance<T>>) => void;
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {
|
|
15
15
|
default?: (props: {
|
|
16
|
-
node:
|
|
16
|
+
node: GrTreeNode<T>;
|
|
17
17
|
data: T;
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: {
|
|
21
|
-
(event: "nodeClick", data: T, node:
|
|
22
|
-
(event: "nodeExpand", data: T, node:
|
|
23
|
-
(event: "nodeCollapse", data: T, node:
|
|
24
|
-
(event: "nodeDrop", draggingNode:
|
|
21
|
+
(event: "nodeClick", data: T, node: GrTreeNode<T>): void;
|
|
22
|
+
(event: "nodeExpand", data: T, node: GrTreeNode<T>): void;
|
|
23
|
+
(event: "nodeCollapse", data: T, node: GrTreeNode<T>): void;
|
|
24
|
+
(event: "nodeDrop", draggingNode: GrTreeNode<T>, dropNode: GrTreeNode<T>, dropType: GrTreeNodeDropType): void;
|
|
25
25
|
};
|
|
26
26
|
}>) => import("vue").VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const grTreeConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"GrTree">;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { GrTreeKey } from './grTreeTypes';
|
|
2
|
+
import type { GrTreeDataProps } from './grTreeProps';
|
|
3
|
+
export type GrTreeDataAdapterOptions<T extends object> = Pick<GrTreeDataProps<T>, 'props' | 'nodeKey'>;
|
|
4
|
+
export type GrTreeDataAdapter<T extends object> = {
|
|
5
|
+
hasNodeKey: () => boolean;
|
|
6
|
+
getChildrenKey: () => string;
|
|
7
|
+
getLabelKey: () => string;
|
|
8
|
+
getLabel: (data: T) => string;
|
|
9
|
+
getChildren: (data: T) => T[];
|
|
10
|
+
ensureChildren: (data: T) => T[];
|
|
11
|
+
getNodeKey: (data: T, index: number, parentKey: GrTreeKey | undefined) => GrTreeKey;
|
|
12
|
+
getExplicitNodeKey: (data: T) => GrTreeKey | undefined;
|
|
13
|
+
};
|
|
14
|
+
export declare function createGrTreeDataAdapter<T extends Record<string, any> = any>(options: GrTreeDataAdapterOptions<T>): GrTreeDataAdapter<T>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Ref, ShallowRef } from 'vue';
|
|
2
|
+
import type { GrTreeAllowDropType, GrTreeKey, GrTreeNode, GrTreeNodeDropType } from './grTreeTypes';
|
|
3
|
+
export type GrTreeDropTarget = {
|
|
4
|
+
key: GrTreeKey;
|
|
5
|
+
type: GrTreeNodeDropType;
|
|
6
|
+
allowed: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type GrTreeInteractionOptions<T> = {
|
|
9
|
+
draggable?: boolean;
|
|
10
|
+
allowDrop?: (draggingNode: GrTreeNode<T>, dropNode: GrTreeNode<T>, type: GrTreeAllowDropType) => boolean;
|
|
11
|
+
allowDrag?: (draggingNode: GrTreeNode<T>) => boolean;
|
|
12
|
+
};
|
|
13
|
+
export type GrTreeInteractionEmitters<T> = {
|
|
14
|
+
emitNodeClick: (data: T, node: GrTreeNode<T>) => void;
|
|
15
|
+
emitNodeExpand: (data: T, node: GrTreeNode<T>) => void;
|
|
16
|
+
emitNodeCollapse: (data: T, node: GrTreeNode<T>) => void;
|
|
17
|
+
emitNodeDrop: (draggingNode: GrTreeNode<T>, dropNode: GrTreeNode<T>, dropType: GrTreeNodeDropType) => void;
|
|
18
|
+
};
|
|
19
|
+
export type GrTreeInteractionContext<T> = {
|
|
20
|
+
hoveredKey: Ref<GrTreeKey | undefined>;
|
|
21
|
+
draggingNode: ShallowRef<GrTreeNode<T> | null>;
|
|
22
|
+
dropTarget: ShallowRef<GrTreeDropTarget | null>;
|
|
23
|
+
canDrag: (node: GrTreeNode<T>) => boolean;
|
|
24
|
+
canDrop: (drag: GrTreeNode<T>, target: GrTreeNode<T>, type: GrTreeAllowDropType) => boolean;
|
|
25
|
+
resetDragState: () => void;
|
|
26
|
+
emitNodeClick: (data: T, node: GrTreeNode<T>) => void;
|
|
27
|
+
emitNodeExpand: (data: T, node: GrTreeNode<T>) => void;
|
|
28
|
+
emitNodeCollapse: (data: T, node: GrTreeNode<T>) => void;
|
|
29
|
+
emitNodeDrop: (draggingNode: GrTreeNode<T>, dropNode: GrTreeNode<T>, dropType: GrTreeNodeDropType) => void;
|
|
30
|
+
};
|
|
31
|
+
export declare function createGrTreeInteractionContext<T>(options: GrTreeInteractionOptions<T>, emitters: GrTreeInteractionEmitters<T>): GrTreeInteractionContext<T>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { GrTreeInteractionContext } from './grTreeInteractionContext';
|
|
3
|
+
import type { GrTreeStore } from './grTreeStore';
|
|
4
|
+
import type { GrTreeAllowDropType, GrTreeKey, GrTreeNode } from './grTreeTypes';
|
|
5
|
+
export type NodeKeyProp<T extends object> = Extract<keyof T, string>;
|
|
6
|
+
export type GrTreePropsMap = {
|
|
7
|
+
children?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
};
|
|
10
|
+
export type GrTreeFilterNodeMethod<T extends object = any> = (value: string, data: T, node?: GrTreeNode<T>) => boolean;
|
|
11
|
+
export type GrTreeBranchLineColor<T extends object = any> = string | ((node: GrTreeNode<T>) => string | undefined | null);
|
|
12
|
+
export type GrTreeVisibleRow<T extends object> = {
|
|
13
|
+
node: GrTreeNode<T>;
|
|
14
|
+
isExpanded: boolean;
|
|
15
|
+
isLeaf: boolean;
|
|
16
|
+
isMatched: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type GrTreeVisibleTreeRow<T extends object> = GrTreeVisibleRow<T> & {
|
|
19
|
+
children: GrTreeVisibleTreeRow<T>[];
|
|
20
|
+
};
|
|
21
|
+
export type GrTreeClassValue = HTMLAttributes['class'];
|
|
22
|
+
export type GrTreeNodeClass<T extends object> = GrTreeClassValue | ((row: GrTreeVisibleRow<T>) => GrTreeClassValue);
|
|
23
|
+
export type GrTreeDataProps<T extends object> = {
|
|
24
|
+
data: T[];
|
|
25
|
+
props?: GrTreePropsMap;
|
|
26
|
+
nodeKey?: NodeKeyProp<T> | 'id';
|
|
27
|
+
defaultExpandedKeys?: GrTreeKey[];
|
|
28
|
+
filterNodeMethod?: GrTreeFilterNodeMethod<T>;
|
|
29
|
+
};
|
|
30
|
+
export type GrTreeViewProps<T extends object> = {
|
|
31
|
+
highlightCurrent?: boolean;
|
|
32
|
+
expandIcon?: string;
|
|
33
|
+
collapseIcon?: string;
|
|
34
|
+
toggleIconRotate?: boolean;
|
|
35
|
+
branchLine?: boolean;
|
|
36
|
+
branchLineColor?: GrTreeBranchLineColor<T>;
|
|
37
|
+
branchLineActiveColor?: GrTreeBranchLineColor<T>;
|
|
38
|
+
rowClass?: GrTreeNodeClass<T>;
|
|
39
|
+
dragHandleClass?: GrTreeNodeClass<T>;
|
|
40
|
+
toggleClass?: GrTreeNodeClass<T>;
|
|
41
|
+
toggleIconClass?: GrTreeNodeClass<T>;
|
|
42
|
+
toggleSpacerClass?: GrTreeNodeClass<T>;
|
|
43
|
+
contentClass?: GrTreeNodeClass<T>;
|
|
44
|
+
/** i18n-метка кнопки "Перетащить" (default: 'Drag'). */
|
|
45
|
+
dragLabel?: string;
|
|
46
|
+
/** i18n-метка кнопки "Развернуть" (default: 'Expand'). */
|
|
47
|
+
expandLabel?: string;
|
|
48
|
+
/** i18n-метка кнопки "Свернуть" (default: 'Collapse'). */
|
|
49
|
+
collapseLabel?: string;
|
|
50
|
+
};
|
|
51
|
+
export type GrTreeInteractionProps<T extends object> = {
|
|
52
|
+
draggable?: boolean;
|
|
53
|
+
dragHandleIcon?: string;
|
|
54
|
+
allowDrop?: (draggingNode: GrTreeNode<T>, dropNode: GrTreeNode<T>, type: GrTreeAllowDropType) => boolean;
|
|
55
|
+
allowDrag?: (draggingNode: GrTreeNode<T>) => boolean;
|
|
56
|
+
};
|
|
57
|
+
export type GrTreeInternalProps<T extends object> = {
|
|
58
|
+
internalRows?: GrTreeVisibleTreeRow<T>[];
|
|
59
|
+
internalNested?: boolean;
|
|
60
|
+
internalStore?: GrTreeStore<T>;
|
|
61
|
+
internalInteractionContext?: GrTreeInteractionContext<T>;
|
|
62
|
+
};
|
|
63
|
+
export type GrTreeProps<T extends object> = GrTreeDataProps<T> & GrTreeViewProps<T> & GrTreeInteractionProps<T> & GrTreeInternalProps<T>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from 'vue';
|
|
2
|
+
import type { GrTreeKey, GrTreeNode, GrTreeNodeDropType, GrTreeNodeTarget } from './grTreeTypes';
|
|
3
|
+
import type { GrTreeDataAdapter } from './grTreeDataAdapter';
|
|
4
|
+
import type { GrTreeDataProps, GrTreeFilterNodeMethod } from './grTreeProps';
|
|
5
|
+
type TreeModel<T extends object> = {
|
|
6
|
+
roots: GrTreeNode<T>[];
|
|
7
|
+
byKey: Map<GrTreeKey, GrTreeNode<T>>;
|
|
8
|
+
byData: WeakMap<T, GrTreeNode<T>>;
|
|
9
|
+
};
|
|
10
|
+
type FilterInfo = {
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
subtreeHasMatch: Map<GrTreeKey, boolean>;
|
|
13
|
+
matchedKeys: Set<GrTreeKey>;
|
|
14
|
+
autoExpandKeys: Set<GrTreeKey>;
|
|
15
|
+
};
|
|
16
|
+
export type GrTreeStoreOptions<T extends object> = {
|
|
17
|
+
data: MaybeRefOrGetter<GrTreeDataProps<T>['data']>;
|
|
18
|
+
defaultExpandedKeys?: MaybeRefOrGetter<GrTreeDataProps<T>['defaultExpandedKeys']>;
|
|
19
|
+
filterNodeMethod?: MaybeRefOrGetter<GrTreeFilterNodeMethod<T> | undefined>;
|
|
20
|
+
adapter: GrTreeDataAdapter<T>;
|
|
21
|
+
};
|
|
22
|
+
export type GrTreeStore<T extends object> = {
|
|
23
|
+
filterValue: Ref<string>;
|
|
24
|
+
expandedKeys: ShallowRef<Set<GrTreeKey>>;
|
|
25
|
+
currentKey: Ref<GrTreeKey | undefined>;
|
|
26
|
+
treeModel: ComputedRef<TreeModel<T>>;
|
|
27
|
+
filterInfo: ComputedRef<FilterInfo>;
|
|
28
|
+
filter: (value: string) => void;
|
|
29
|
+
isExpandedKey: (key: GrTreeKey) => boolean;
|
|
30
|
+
setExpandedKey: (key: GrTreeKey, expanded: boolean) => void;
|
|
31
|
+
toggleExpand: (node: GrTreeNode<T>) => void;
|
|
32
|
+
setCurrentKey: (key?: GrTreeKey) => void;
|
|
33
|
+
getCurrentKey: () => GrTreeKey | undefined;
|
|
34
|
+
getCurrentNode: () => GrTreeNode<T> | undefined;
|
|
35
|
+
setCurrentNode: (node?: GrTreeNodeTarget<T>) => boolean;
|
|
36
|
+
getNode: (key: GrTreeKey) => GrTreeNode<T> | undefined;
|
|
37
|
+
canMoveNode: (node: GrTreeNodeTarget<T>, referenceNode: GrTreeNodeTarget<T>, dropType: GrTreeNodeDropType) => boolean;
|
|
38
|
+
moveNode: (node: GrTreeNodeTarget<T>, referenceNode: GrTreeNodeTarget<T>, dropType: GrTreeNodeDropType) => GrTreeNode<T> | undefined;
|
|
39
|
+
appendNode: (data: T, parent: GrTreeNodeTarget<T>) => GrTreeNode<T> | undefined;
|
|
40
|
+
removeNode: (node: GrTreeNodeTarget<T>) => boolean;
|
|
41
|
+
insertNodeBefore: (data: T, referenceNode: GrTreeNodeTarget<T>) => GrTreeNode<T> | undefined;
|
|
42
|
+
insertNodeAfter: (data: T, referenceNode: GrTreeNodeTarget<T>) => GrTreeNode<T> | undefined;
|
|
43
|
+
};
|
|
44
|
+
export declare function createGrTreeStore<T extends Record<string, any> = any>(options: GrTreeStoreOptions<T>): GrTreeStore<T>;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type GrTreeKey = string | number;
|
|
2
|
+
export type GrTreeNodeDropType = 'prev' | 'inner' | 'next';
|
|
3
|
+
export type GrTreeAllowDropType = GrTreeNodeDropType;
|
|
4
|
+
export type GrTreeNode<T = any> = {
|
|
5
|
+
key: GrTreeKey;
|
|
6
|
+
label: string;
|
|
7
|
+
data: T;
|
|
8
|
+
level: number;
|
|
9
|
+
parent?: GrTreeNode<T>;
|
|
10
|
+
childNodes: GrTreeNode<T>[];
|
|
11
|
+
};
|
|
12
|
+
export type GrTreeNodeTarget<T = any> = GrTreeKey | GrTreeNode<T> | T;
|
|
13
|
+
export type GrTreeInstance<T = any> = {
|
|
14
|
+
filter: (value: string) => void;
|
|
15
|
+
setCurrentKey: (key?: GrTreeKey) => void;
|
|
16
|
+
getCurrentKey: () => GrTreeKey | undefined;
|
|
17
|
+
appendNode: (data: T, parent: GrTreeNodeTarget<T>) => GrTreeNode<T> | undefined;
|
|
18
|
+
removeNode: (node: GrTreeNodeTarget<T>) => boolean;
|
|
19
|
+
insertNodeBefore: (data: T, referenceNode: GrTreeNodeTarget<T>) => GrTreeNode<T> | undefined;
|
|
20
|
+
insertNodeAfter: (data: T, referenceNode: GrTreeNodeTarget<T>) => GrTreeNode<T> | undefined;
|
|
21
|
+
getCurrentNode: () => GrTreeNode<T> | undefined;
|
|
22
|
+
setCurrentNode: (node?: GrTreeNodeTarget<T>) => boolean;
|
|
23
|
+
getNode: (key: GrTreeKey) => GrTreeNode<T> | undefined;
|
|
24
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default } from './GrTree.vue';
|
|
2
|
+
export { default as GrTree } from './GrTree.vue';
|
|
3
|
+
export type { GrTreeAllowDropType, GrTreeInstance, GrTreeKey, GrTreeNode, GrTreeNodeDropType, GrTreeNodeTarget, } from './grTreeTypes';
|
|
4
|
+
export type { GrTreeBranchLineColor, GrTreeFilterNodeMethod, GrTreeNodeClass, GrTreeProps, GrTreePropsMap, GrTreeVisibleRow, GrTreeVisibleTreeRow, } from './grTreeProps';
|
|
5
|
+
export { grTreeConfig } from './config';
|
|
6
|
+
export { grTreeSafelist } from './safelist';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const grTreeSafelist: readonly ["i-lucide-chevron-right", "i-lucide-grip-vertical"];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type {
|
|
1
|
+
import { type GrTreeNode } from '../GrTree';
|
|
2
|
+
import type { GrTreeSelectModelValue, GrTreeSelectProps } from './grTreeSelectTypes';
|
|
3
3
|
declare const __VLS_export: <T extends Record<string, any> = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & __VLS_PrettifyLocal<
|
|
5
|
-
"onUpdate:modelValue"?: ((value:
|
|
6
|
-
onChange?: ((value:
|
|
4
|
+
props: import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & __VLS_PrettifyLocal<GrTreeSelectProps<T> & {
|
|
5
|
+
"onUpdate:modelValue"?: ((value: GrTreeSelectModelValue) => any) | undefined;
|
|
6
|
+
onChange?: ((value: GrTreeSelectModelValue) => any) | undefined;
|
|
7
7
|
onClear?: (() => any) | undefined;
|
|
8
|
-
onNodeClick?: ((data: T, node:
|
|
8
|
+
onNodeClick?: ((data: T, node: GrTreeNode<T>) => any) | undefined;
|
|
9
9
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -15,14 +15,14 @@ declare const __VLS_export: <T extends Record<string, any> = any>(__VLS_props: N
|
|
|
15
15
|
slots: {
|
|
16
16
|
/** Рендер значения внутри триггера (вместо дефолтного текста). */
|
|
17
17
|
value?: (props: {
|
|
18
|
-
value:
|
|
18
|
+
value: GrTreeSelectModelValue;
|
|
19
19
|
labels: string[];
|
|
20
20
|
displayValue: string;
|
|
21
21
|
pathLabels?: string[];
|
|
22
22
|
}) => any;
|
|
23
23
|
/** Рендер строки дерева. */
|
|
24
24
|
node?: (props: {
|
|
25
|
-
node:
|
|
25
|
+
node: GrTreeNode<T>;
|
|
26
26
|
data: T;
|
|
27
27
|
selected: boolean;
|
|
28
28
|
}) => any;
|
|
@@ -30,11 +30,11 @@ declare const __VLS_export: <T extends Record<string, any> = any>(__VLS_props: N
|
|
|
30
30
|
empty?: () => any;
|
|
31
31
|
};
|
|
32
32
|
emit: {
|
|
33
|
-
(e: "update:modelValue", value:
|
|
34
|
-
(e: "change", value:
|
|
33
|
+
(e: "update:modelValue", value: GrTreeSelectModelValue): void;
|
|
34
|
+
(e: "change", value: GrTreeSelectModelValue): void;
|
|
35
35
|
(e: "visibleChange", visible: boolean): void;
|
|
36
36
|
(e: "clear"): void;
|
|
37
|
-
(e: "nodeClick", data: T, node:
|
|
37
|
+
(e: "nodeClick", data: T, node: GrTreeNode<T>): void;
|
|
38
38
|
};
|
|
39
39
|
}>) => import("vue").VNode & {
|
|
40
40
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const grTreeSelectConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"GrTreeSelect">;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { GrInputSize } from '../GrInput';
|
|
2
|
+
export type GrTreeSelectState = 'default' | 'success' | 'warning' | 'danger';
|
|
3
|
+
export declare const sizeClassBySize: Record<GrInputSize, string>;
|
|
4
|
+
export declare const borderClassByState: Record<GrTreeSelectState, string>;
|
|
5
|
+
export declare function grTreeSelectClass(options: {
|
|
6
|
+
size: GrInputSize;
|
|
7
|
+
state: GrTreeSelectState;
|
|
8
|
+
invalid: boolean;
|
|
9
|
+
}): string;
|
|
10
|
+
export declare const grTreeSelectPanelClass = "rounded-[var(--ds-radius-xl)] border border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-[var(--ds-shadow-2)] overflow-hidden";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from 'vue';
|
|
2
|
+
import type { GrInputSize } from '../GrInput/GrInput.vue';
|
|
3
|
+
import type { GrTreeFilterNodeMethod, GrTreeKey, GrTreePropsMap } from '../GrTree';
|
|
4
|
+
import type { GrTreeSelectState } from './grTreeSelectStyles';
|
|
5
|
+
export type GrTreeSelectModelValue = GrTreeKey | GrTreeKey[] | null;
|
|
6
|
+
export type GrTreeSelectValueDisplay = 'label' | 'path';
|
|
7
|
+
type NodeKeyProp<T> = keyof T & string;
|
|
8
|
+
/**
|
|
9
|
+
* Пропсы публичного DS-примитива «TreeSelect».
|
|
10
|
+
*/
|
|
11
|
+
export interface GrTreeSelectProps<T extends object = any> {
|
|
12
|
+
modelValue: GrTreeSelectModelValue;
|
|
13
|
+
data: T[];
|
|
14
|
+
props?: GrTreePropsMap;
|
|
15
|
+
nodeKey?: NodeKeyProp<T> | 'id';
|
|
16
|
+
defaultExpandedKeys?: GrTreeKey[];
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
size?: GrInputSize;
|
|
20
|
+
invalid?: boolean;
|
|
21
|
+
state?: GrTreeSelectState;
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
clearable?: boolean;
|
|
24
|
+
/** Как отображать выбранное значение в single-режиме. */
|
|
25
|
+
valueDisplay?: GrTreeSelectValueDisplay;
|
|
26
|
+
filterable?: boolean;
|
|
27
|
+
filterPlaceholder?: string;
|
|
28
|
+
filterInputmode?: InputHTMLAttributes['inputmode'];
|
|
29
|
+
filterNodeMethod?: GrTreeFilterNodeMethod<T>;
|
|
30
|
+
closeOnSelect?: boolean;
|
|
31
|
+
dropdownMaxHeight?: number;
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default } from './GrTreeSelect.vue';
|
|
2
|
+
export { default as GrTreeSelect } from './GrTreeSelect.vue';
|
|
3
|
+
export type { GrTreeSelectModelValue, GrTreeSelectProps, GrTreeSelectValueDisplay } from './grTreeSelectTypes';
|
|
4
|
+
export { grTreeSelectConfig } from './config';
|
|
5
|
+
export { grTreeSelectSafelist } from './safelist';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const grTreeSelectSafelist: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type GrToastTone = 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'slate' | 'azure';
|
|
2
2
|
export type ToastInput = {
|
|
3
3
|
title: string;
|
|
4
4
|
message?: string;
|
|
5
|
-
|
|
5
|
+
tone?: GrToastTone;
|
|
6
6
|
/**
|
|
7
7
|
* Автозакрытие через N мс. `0` или отрицательное значение — «навсегда»
|
|
8
8
|
* (до явного вызова `dismiss(id)` / `clear()`). По умолчанию: `3500`.
|
|
@@ -13,7 +13,7 @@ export type Toast = {
|
|
|
13
13
|
id: string;
|
|
14
14
|
title: string;
|
|
15
15
|
message?: string;
|
|
16
|
-
|
|
16
|
+
tone: GrToastTone;
|
|
17
17
|
};
|
|
18
18
|
export declare function useToast(): {
|
|
19
19
|
list: import("vue").ComputedRef<import("vue").Reactive<Toast[]>>;
|
|
@@ -14,7 +14,7 @@ export declare const granularityDefaultThemes: readonly GranularityThemeName[];
|
|
|
14
14
|
* `ds<Name>Config` из `./config.ts` рядом с SFC.
|
|
15
15
|
*
|
|
16
16
|
* Для компонентов, у которых есть node-only вариант конфига
|
|
17
|
-
* (например, `
|
|
17
|
+
* (например, `GrButton` с `tokenDefinitionsFromCssSync`), browser‑конфиг
|
|
18
18
|
* остаётся здесь, а node‑вариант подставляется снаружи через
|
|
19
19
|
* `createGranularityProvider(overrides)` — см. `./index.ts` (browser)
|
|
20
20
|
* и `./node.ts` (node).
|
|
@@ -23,61 +23,61 @@ export declare const granularityDefaultThemes: readonly GranularityThemeName[];
|
|
|
23
23
|
* в `apps/showcase/scripts/generate-component-api.mjs`, не ломайте его.
|
|
24
24
|
*/
|
|
25
25
|
export declare const granularityComponentConfigs: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
26
|
+
GrAlert: GranularComponentDescriptor<"GrAlert">;
|
|
27
|
+
GrAvatar: GranularComponentDescriptor<"GrAvatar">;
|
|
28
|
+
GrBadge: GranularComponentDescriptor<"GrBadge">;
|
|
29
|
+
GrBadgeWrap: GranularComponentDescriptor<"GrBadgeWrap">;
|
|
30
|
+
GrBottomNav: GranularComponentDescriptor<"GrBottomNav">;
|
|
31
|
+
GrButton: GranularComponentDescriptor<"GrButton">;
|
|
32
|
+
GrButtonGroup: GranularComponentDescriptor<"GrButtonGroup">;
|
|
33
|
+
GrCard: GranularComponentDescriptor<"GrCard">;
|
|
34
|
+
GrCheckbox: GranularComponentDescriptor<"GrCheckbox">;
|
|
35
|
+
GrCollapse: GranularComponentDescriptor<"GrCollapse">;
|
|
36
|
+
GrConfirmDialog: GranularComponentDescriptor<"GrConfirmDialog">;
|
|
37
|
+
GrDataTable: GranularComponentDescriptor<"GrDataTable">;
|
|
38
|
+
GrDialog: GranularComponentDescriptor<"GrDialog">;
|
|
39
|
+
GrDrawer: GranularComponentDescriptor<"GrDrawer">;
|
|
40
|
+
GrDropdown: GranularComponentDescriptor<"GrDropdown">;
|
|
41
|
+
GrDropdownMenu: GranularComponentDescriptor<"GrDropdownMenu">;
|
|
42
|
+
GrEmptyState: GranularComponentDescriptor<"GrEmptyState">;
|
|
43
|
+
GrFileUpload: GranularComponentDescriptor<"GrFileUpload">;
|
|
44
|
+
GrFormField: GranularComponentDescriptor<"GrFormField">;
|
|
45
|
+
GrFormFile: GranularComponentDescriptor<"GrFormFile">;
|
|
46
|
+
GrFormSection: GranularComponentDescriptor<"GrFormSection">;
|
|
47
|
+
GrIcon: GranularComponentDescriptor<"GrIcon">;
|
|
48
|
+
GrImageViewer: GranularComponentDescriptor<"GrImageViewer">;
|
|
49
|
+
GrInput: GranularComponentDescriptor<"GrInput">;
|
|
50
|
+
GrInputTag: GranularComponentDescriptor<"GrInputTag">;
|
|
51
|
+
GrLink: GranularComponentDescriptor<"GrLink">;
|
|
52
|
+
GrList: GranularComponentDescriptor<"GrList">;
|
|
53
|
+
GrLoading: GranularComponentDescriptor<"GrLoading">;
|
|
54
|
+
GrModal: GranularComponentDescriptor<"GrModal">;
|
|
55
|
+
GrNavbar: GranularComponentDescriptor<"GrNavbar">;
|
|
56
|
+
GrNumberInput: GranularComponentDescriptor<"GrNumberInput">;
|
|
57
|
+
GrPagination: GranularComponentDescriptor<"GrPagination">;
|
|
58
|
+
GrProgressBar: GranularComponentDescriptor<"GrProgressBar">;
|
|
59
|
+
GrPromptDialog: GranularComponentDescriptor<"GrPromptDialog">;
|
|
60
|
+
GrRadio: GranularComponentDescriptor<"GrRadio">;
|
|
61
|
+
GrRadioGroup: GranularComponentDescriptor<"GrRadioGroup">;
|
|
62
|
+
GrSegmented: GranularComponentDescriptor<"GrSegmented">;
|
|
63
|
+
GrSelect: GranularComponentDescriptor<"GrSelect">;
|
|
64
|
+
GrSidebar: GranularComponentDescriptor<"GrSidebar">;
|
|
65
|
+
GrSkeleton: GranularComponentDescriptor<"GrSkeleton">;
|
|
66
|
+
GrSwitch: GranularComponentDescriptor<"GrSwitch">;
|
|
67
|
+
GrTable: GranularComponentDescriptor<"GrTable">;
|
|
68
|
+
GrTabs: GranularComponentDescriptor<"GrTabs">;
|
|
69
|
+
GrTextarea: GranularComponentDescriptor<"GrTextarea">;
|
|
70
|
+
GrToaster: GranularComponentDescriptor<"GrToaster">;
|
|
71
|
+
GrTooltip: GranularComponentDescriptor<"GrTooltip">;
|
|
72
|
+
GrTree: GranularComponentDescriptor<"GrTree">;
|
|
73
|
+
GrTreeSelect: GranularComponentDescriptor<"GrTreeSelect">;
|
|
74
74
|
};
|
|
75
75
|
export type GranularityComponentName = keyof typeof granularityComponentConfigs;
|
|
76
76
|
/**
|
|
77
77
|
* Собирает granular-provider пакета `@feugene/granularity`.
|
|
78
78
|
*
|
|
79
79
|
* Принимает массив `GranularComponentDescriptor`'ов — это компоненты,
|
|
80
|
-
* у которых есть node-only вариант конфига (например, `
|
|
80
|
+
* у которых есть node-only вариант конфига (например, `GrButton` с
|
|
81
81
|
* `tokenDefinitionsFromCssSync`). Дескрипторы с именем, которое уже
|
|
82
82
|
* присутствует в базовом наборе, переопределяют его (побеждает
|
|
83
83
|
* переданный снаружи), остальные — добавляются в конец списка.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aggregated locale loaders for the Granularity package.
|
|
3
|
+
*
|
|
4
|
+
* Imported via the dedicated sub-path `@feugene/granularity/i18n/all`.
|
|
5
|
+
* Use it ONLY in environments where bundle size is not a concern
|
|
6
|
+
* (demos, Storybook, e2e, localization tooling).
|
|
7
|
+
*
|
|
8
|
+
* For production builds always prefer per-locale imports from
|
|
9
|
+
* `@feugene/granularity/i18n` so unused languages can be tree-shaken away.
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* import all from '@feugene/granularity/i18n/all'
|
|
13
|
+
*
|
|
14
|
+
* createFintI18n({
|
|
15
|
+
* locale: 'en',
|
|
16
|
+
* fallbackLocale: 'en',
|
|
17
|
+
* loaders: all, // == [en, ru, es]
|
|
18
|
+
* })
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
import type { LocaleLoaderCollection } from '@feugene/fint-i18n/core';
|
|
22
|
+
export declare const all: LocaleLoaderCollection[];
|
|
23
|
+
export default all;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GRANULARITY_I18N_BLOCK = "gr";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English locale loaders for the playground app.
|
|
3
|
+
*
|
|
4
|
+
* Exported separately from other locales so that consumers (and bundlers)
|
|
5
|
+
* can import only the languages they actually need — see the
|
|
6
|
+
* "Authoring localization packages" guide in the docs.
|
|
7
|
+
*/
|
|
8
|
+
export declare const en: {
|
|
9
|
+
en: {
|
|
10
|
+
gr: () => Promise<{
|
|
11
|
+
default: {
|
|
12
|
+
common: {
|
|
13
|
+
confirm: string;
|
|
14
|
+
cancel: string;
|
|
15
|
+
add: string;
|
|
16
|
+
clear: string;
|
|
17
|
+
close: string;
|
|
18
|
+
};
|
|
19
|
+
loading: {
|
|
20
|
+
defaultText: string;
|
|
21
|
+
};
|
|
22
|
+
treeSelect: {
|
|
23
|
+
filterPlaceholder: string;
|
|
24
|
+
empty: string;
|
|
25
|
+
};
|
|
26
|
+
dialog: {
|
|
27
|
+
confirm: {
|
|
28
|
+
title: string;
|
|
29
|
+
};
|
|
30
|
+
prompt: {
|
|
31
|
+
title: string;
|
|
32
|
+
label: string;
|
|
33
|
+
required: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
pagination: {
|
|
37
|
+
pageSize: string;
|
|
38
|
+
prev: string;
|
|
39
|
+
next: string;
|
|
40
|
+
};
|
|
41
|
+
navbar: {
|
|
42
|
+
openMenu: string;
|
|
43
|
+
};
|
|
44
|
+
colors: {
|
|
45
|
+
neutral: string;
|
|
46
|
+
success: string;
|
|
47
|
+
warning: string;
|
|
48
|
+
danger: string;
|
|
49
|
+
info: string;
|
|
50
|
+
primary: string;
|
|
51
|
+
slate: string;
|
|
52
|
+
azure: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
common: {
|
|
56
|
+
confirm: string;
|
|
57
|
+
cancel: string;
|
|
58
|
+
add: string;
|
|
59
|
+
clear: string;
|
|
60
|
+
close: string;
|
|
61
|
+
};
|
|
62
|
+
loading: {
|
|
63
|
+
defaultText: string;
|
|
64
|
+
};
|
|
65
|
+
treeSelect: {
|
|
66
|
+
filterPlaceholder: string;
|
|
67
|
+
empty: string;
|
|
68
|
+
};
|
|
69
|
+
dialog: {
|
|
70
|
+
confirm: {
|
|
71
|
+
title: string;
|
|
72
|
+
};
|
|
73
|
+
prompt: {
|
|
74
|
+
title: string;
|
|
75
|
+
label: string;
|
|
76
|
+
required: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
pagination: {
|
|
80
|
+
pageSize: string;
|
|
81
|
+
prev: string;
|
|
82
|
+
next: string;
|
|
83
|
+
};
|
|
84
|
+
navbar: {
|
|
85
|
+
openMenu: string;
|
|
86
|
+
};
|
|
87
|
+
colors: {
|
|
88
|
+
neutral: string;
|
|
89
|
+
success: string;
|
|
90
|
+
warning: string;
|
|
91
|
+
danger: string;
|
|
92
|
+
info: string;
|
|
93
|
+
primary: string;
|
|
94
|
+
slate: string;
|
|
95
|
+
azure: string;
|
|
96
|
+
};
|
|
97
|
+
}>;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export default en;
|