@feugene/granularity 0.4.0 → 0.4.2
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/chunks/_plugin-vue_export-helper-BG_EqiDU.js +8 -0
- package/dist/chunks/adapter-K6zZTzBi.js +4 -0
- package/dist/chunks/adapter-K6zZTzBi.js.map +1 -0
- package/dist/chunks/arrow-up-DNXrMoAI.js +23 -0
- package/dist/chunks/arrow-up-DNXrMoAI.js.map +1 -0
- package/dist/chunks/classTokens-BPeBXNzu.js +6 -0
- package/dist/chunks/classTokens-BPeBXNzu.js.map +1 -0
- package/dist/chunks/config-1I95Zy4V.js +14 -0
- package/dist/chunks/config-1I95Zy4V.js.map +1 -0
- package/dist/chunks/config-2wgwWaAB.js +8 -0
- package/dist/chunks/config-2wgwWaAB.js.map +1 -0
- package/dist/chunks/config-BA0BWYzs.js +8 -0
- package/dist/chunks/config-BA0BWYzs.js.map +1 -0
- package/dist/chunks/config-BCPyma1I.js +8 -0
- package/dist/chunks/config-BCPyma1I.js.map +1 -0
- package/dist/chunks/config-BDlh6iNz.js +24 -0
- package/dist/chunks/config-BDlh6iNz.js.map +1 -0
- package/dist/chunks/config-BKRmlivc.js +8 -0
- package/dist/chunks/config-BKRmlivc.js.map +1 -0
- package/dist/chunks/config-BN-B2K4r.js +17 -0
- package/dist/chunks/config-BN-B2K4r.js.map +1 -0
- package/dist/chunks/config-BNOf_qjD.js +40 -0
- package/dist/chunks/config-BNOf_qjD.js.map +1 -0
- package/dist/chunks/config-BaMO9dQh.js +20 -0
- package/dist/chunks/config-BaMO9dQh.js.map +1 -0
- package/dist/chunks/config-Bv2G0OU6.js +8 -0
- package/dist/chunks/config-Bv2G0OU6.js.map +1 -0
- package/dist/chunks/config-BvuQUBtZ.js +21 -0
- package/dist/chunks/config-BvuQUBtZ.js.map +1 -0
- package/dist/chunks/config-BzZGpWsj.js +9 -0
- package/dist/chunks/config-BzZGpWsj.js.map +1 -0
- package/dist/chunks/config-C0j836dC.js +8 -0
- package/dist/chunks/config-C0j836dC.js.map +1 -0
- package/dist/chunks/config-C2iI7_QX.js +9 -0
- package/dist/chunks/config-C2iI7_QX.js.map +1 -0
- package/dist/chunks/config-C4AlNm912.js +13 -0
- package/dist/chunks/config-C4AlNm912.js.map +1 -0
- package/dist/chunks/config-C5SJXHQ4.js +9 -0
- package/dist/chunks/config-C5SJXHQ4.js.map +1 -0
- package/dist/chunks/config-C6SBJxcH.js +8 -0
- package/dist/chunks/config-C6SBJxcH.js.map +1 -0
- package/dist/chunks/config-CByfsV-z2.js +9 -0
- package/dist/chunks/config-CByfsV-z2.js.map +1 -0
- package/dist/chunks/config-CM7nbATU2.js +78 -0
- package/dist/chunks/config-CM7nbATU2.js.map +1 -0
- package/dist/chunks/config-CMZE2fu0.js +9 -0
- package/dist/chunks/config-CMZE2fu0.js.map +1 -0
- package/dist/chunks/config-CU_CBd0k.js +22 -0
- package/dist/chunks/config-CU_CBd0k.js.map +1 -0
- package/dist/chunks/config-CUgvsjZx.js +171 -0
- package/dist/chunks/config-CUgvsjZx.js.map +1 -0
- package/dist/chunks/config-CWvHiaqr2.js +23 -0
- package/dist/chunks/config-CWvHiaqr2.js.map +1 -0
- package/dist/chunks/config-Cf0J6wCX.js +58 -0
- package/dist/chunks/config-Cf0J6wCX.js.map +1 -0
- package/dist/chunks/config-CgAY2WP9.js +9 -0
- package/dist/chunks/config-CgAY2WP9.js.map +1 -0
- package/dist/chunks/config-Cgc-D1K4.js +9 -0
- package/dist/chunks/config-Cgc-D1K4.js.map +1 -0
- package/dist/chunks/config-D19pyP4D.js +35 -0
- package/dist/chunks/config-D19pyP4D.js.map +1 -0
- package/dist/chunks/config-DCQO6H6h.js +11 -0
- package/dist/chunks/config-DCQO6H6h.js.map +1 -0
- package/dist/chunks/config-DEv4m-ZP.js +58 -0
- package/dist/chunks/config-DEv4m-ZP.js.map +1 -0
- package/dist/chunks/config-DFRYOcrP.js +9 -0
- package/dist/chunks/config-DFRYOcrP.js.map +1 -0
- package/dist/chunks/config-DTpwUHgF.js +9 -0
- package/dist/chunks/config-DTpwUHgF.js.map +1 -0
- package/dist/chunks/config-DW_RqmUp.js +8 -0
- package/dist/chunks/config-DW_RqmUp.js.map +1 -0
- package/dist/chunks/config-Da90XGsi.js +38 -0
- package/dist/chunks/config-Da90XGsi.js.map +1 -0
- package/dist/chunks/config-DgRJlF00.js +53 -0
- package/dist/chunks/config-DgRJlF00.js.map +1 -0
- package/dist/chunks/config-Dkq0HeLe.js +9 -0
- package/dist/chunks/config-Dkq0HeLe.js.map +1 -0
- package/dist/chunks/config-DmI1IQvI2.js +8 -0
- package/dist/chunks/config-DmI1IQvI2.js.map +1 -0
- package/dist/chunks/config-Dnu4VuO0.js +8 -0
- package/dist/chunks/config-Dnu4VuO0.js.map +1 -0
- package/dist/chunks/config-DxqpV-KM.js +45 -0
- package/dist/chunks/config-DxqpV-KM.js.map +1 -0
- package/dist/chunks/config-TyzU6gLf.js +8 -0
- package/dist/chunks/config-TyzU6gLf.js.map +1 -0
- package/dist/chunks/config-XwI6t8cn.js +39 -0
- package/dist/chunks/config-XwI6t8cn.js.map +1 -0
- package/dist/chunks/config-bpQYM5O-.js +44 -0
- package/dist/chunks/config-bpQYM5O-.js.map +1 -0
- package/dist/chunks/config-etXh7Bsr2.js +9 -0
- package/dist/chunks/config-etXh7Bsr2.js.map +1 -0
- package/dist/chunks/config-fCcRwjIB.js +13 -0
- package/dist/chunks/config-fCcRwjIB.js.map +1 -0
- package/dist/chunks/config-nfOMJXVs.js +9 -0
- package/dist/chunks/config-nfOMJXVs.js.map +1 -0
- package/dist/chunks/config-qJXIIY1E.js +8 -0
- package/dist/chunks/config-qJXIIY1E.js.map +1 -0
- package/dist/chunks/config-r6hzn2Bn2.js +9 -0
- package/dist/chunks/config-r6hzn2Bn2.js.map +1 -0
- package/dist/chunks/config-rQlbnEKn.js +8 -0
- package/dist/chunks/config-rQlbnEKn.js.map +1 -0
- package/dist/chunks/dialogShared-BtXUk6Zc.js +32 -0
- package/dist/chunks/dialogShared-BtXUk6Zc.js.map +1 -0
- package/dist/chunks/en-BeJa78lP.js +48 -0
- package/dist/chunks/en-BeJa78lP.js.map +1 -0
- package/dist/chunks/es-BPqm7rLm.js +20 -0
- package/dist/chunks/es-BPqm7rLm.js.map +1 -0
- package/dist/chunks/es-axYOwwWD.js +48 -0
- package/dist/chunks/es-axYOwwWD.js.map +1 -0
- package/dist/chunks/fileValidation-CwJA8Vmn.js +219 -0
- package/dist/chunks/fileValidation-CwJA8Vmn.js.map +1 -0
- package/dist/chunks/{grBadgeStyles-Bu4H8bFc.js → grBadgeStyles-pqqbVgLk.js} +18 -13
- package/dist/chunks/grBadgeStyles-pqqbVgLk.js.map +1 -0
- package/dist/chunks/{grButtonStyles-C5k0bN2e.js → grButtonStyles-BxZW2x0-.js} +60 -52
- package/dist/chunks/grButtonStyles-BxZW2x0-.js.map +1 -0
- package/dist/chunks/{grDropdownStyles-149X1NeB.js → grDropdownStyles-DMp7RrI9.js} +10 -9
- package/dist/chunks/grDropdownStyles-DMp7RrI9.js.map +1 -0
- package/dist/chunks/grLoadingStyles-CrxZHFL0.js +17 -0
- package/dist/chunks/grLoadingStyles-CrxZHFL0.js.map +1 -0
- package/dist/chunks/{grModalStyles-Dmd4havY.js → grModalStyles-Dv2NXBKi.js} +20 -11
- package/dist/chunks/grModalStyles-Dv2NXBKi.js.map +1 -0
- package/dist/chunks/grSelectStyles-B7doeAQp.js +50 -0
- package/dist/chunks/grSelectStyles-B7doeAQp.js.map +1 -0
- package/dist/chunks/granularityI18n-GCqUz_lo.js +26 -0
- package/dist/chunks/granularityI18n-GCqUz_lo.js.map +1 -0
- package/dist/chunks/info-C0bHmdZq.js +26 -0
- package/dist/chunks/info-C0bHmdZq.js.map +1 -0
- package/dist/chunks/loader-circle-B2rWDk5u.js +23 -0
- package/dist/chunks/loader-circle-B2rWDk5u.js.map +1 -0
- package/dist/chunks/ru-Dqh-2C00.js +48 -0
- package/dist/chunks/ru-Dqh-2C00.js.map +1 -0
- package/dist/chunks/safelist-BF822K15.js +13 -0
- package/dist/chunks/safelist-BF822K15.js.map +1 -0
- package/dist/chunks/safelist-BY7z8fOl.js +24 -0
- package/dist/chunks/safelist-BY7z8fOl.js.map +1 -0
- package/dist/chunks/{shared-BqUqjuxn.js → shared-Cu5QkNmt.js} +149 -111
- package/dist/chunks/shared-Cu5QkNmt.js.map +1 -0
- package/dist/chunks/transition-mJ3PZCHH.js +1692 -0
- package/dist/chunks/transition-mJ3PZCHH.js.map +1 -0
- package/dist/chunks/x-Pa6C2hwi.js +23 -0
- package/dist/chunks/x-Pa6C2hwi.js.map +1 -0
- package/dist/chunks/x-circle-DQSlBLmX.js +67 -0
- package/dist/chunks/x-circle-DQSlBLmX.js.map +1 -0
- package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js +146 -0
- package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js.map +1 -0
- package/dist/components/GrAlert/index.js +3 -3
- package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js +41 -0
- package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js.map +1 -0
- package/dist/components/GrAvatar/index.js +3 -3
- package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js +32 -0
- package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js.map +1 -0
- package/dist/components/GrBadge/index.js +3 -3
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js +33 -0
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js.map +1 -0
- package/dist/components/GrBadgeWrap/index.js +3 -3
- package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js +31 -0
- package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js.map +1 -0
- package/dist/components/GrBottomNav/index.js +3 -3
- package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js +83 -0
- package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js.map +1 -0
- package/dist/components/GrButton/index.js +5 -5
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js +21 -0
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js.map +1 -0
- package/dist/components/GrButtonGroup/index.js +3 -3
- package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js +11 -0
- package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js.map +1 -0
- package/dist/components/GrCard/index.js +3 -3
- package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js +134 -0
- package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js.map +1 -0
- package/dist/components/GrCheckbox/index.js +3 -3
- package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js +205 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js.map +1 -0
- package/dist/components/GrCollapse/index.js +3 -3
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js +131 -0
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js.map +1 -0
- package/dist/components/GrConfirmDialog/index.js +3 -3
- package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js +179 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js +221 -0
- package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js.map +1 -0
- package/dist/components/GrDialog/index.js +4 -4
- package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js +156 -0
- package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js.map +1 -0
- package/dist/components/GrDrawer/index.js +3 -3
- package/dist/components/GrDropdown/chunks/GrDropdown-BkACCXdp.js +151 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-BkACCXdp.js.map +1 -0
- package/dist/components/GrDropdown/index.js +3 -3
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js +309 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js.map +1 -0
- package/dist/components/GrDropdownMenu/index.js +3 -3
- package/dist/components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js +62 -0
- package/dist/components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js.map +1 -0
- package/dist/components/GrEmptyState/index.js +3 -3
- package/dist/components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js +368 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js.map +1 -0
- package/dist/components/GrFileUpload/index.js +4 -4
- package/dist/components/GrFormField/chunks/GrFormField-C6PfAs4u.js +35 -0
- package/dist/components/GrFormField/chunks/GrFormField-C6PfAs4u.js.map +1 -0
- package/dist/components/GrFormField/index.js +3 -3
- package/dist/components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js +313 -0
- package/dist/components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js.map +1 -0
- package/dist/components/GrFormFile/index.js +3 -3
- package/dist/components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js +35 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js.map +1 -0
- package/dist/components/GrFormSection/index.js +3 -3
- package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js +32 -0
- package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js.map +1 -0
- package/dist/components/GrIcon/index.js +3 -3
- package/dist/components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js +397 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js.map +1 -0
- package/dist/components/GrImageViewer/index.js +3 -3
- package/dist/components/GrInput/chunks/GrInput-ghxaTf6d.js +211 -0
- package/dist/components/GrInput/chunks/GrInput-ghxaTf6d.js.map +1 -0
- package/dist/components/GrInput/index.js +3 -3
- package/dist/components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js +257 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js.map +1 -0
- package/dist/components/GrInputTag/index.js +3 -3
- package/dist/components/GrLink/chunks/GrLink-C7-Y1u88.js +80 -0
- package/dist/components/GrLink/chunks/GrLink-C7-Y1u88.js.map +1 -0
- package/dist/components/GrLink/index.js +3 -3
- package/dist/components/GrList/chunks/GrList--Ib4zLNw.js +77 -0
- package/dist/components/GrList/chunks/GrList--Ib4zLNw.js.map +1 -0
- package/dist/components/GrList/index.js +3 -3
- package/dist/components/GrLoading/chunks/GrLoading-C3QZKwE-.js +69 -0
- package/dist/components/GrLoading/chunks/GrLoading-C3QZKwE-.js.map +1 -0
- package/dist/components/GrLoading/index.js +3 -3
- package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js +168 -0
- package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js.map +1 -0
- package/dist/components/GrModal/index.js +4 -4
- package/dist/components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js +75 -0
- package/dist/components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js.map +1 -0
- package/dist/components/GrNavbar/index.js +3 -3
- package/dist/components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js +397 -0
- package/dist/components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js.map +1 -0
- package/dist/components/GrNumberInput/index.js +3 -3
- package/dist/components/GrPagination/chunks/GrPagination-BSTO6flk.js +114 -0
- package/dist/components/GrPagination/chunks/GrPagination-BSTO6flk.js.map +1 -0
- package/dist/components/GrPagination/index.js +3 -3
- package/dist/components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js +39 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js.map +1 -0
- package/dist/components/GrProgressBar/index.js +3 -3
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js +190 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +3 -3
- package/dist/components/GrRadio/chunks/GrRadio-BxBs3WHq.js +184 -0
- package/dist/components/GrRadio/chunks/GrRadio-BxBs3WHq.js.map +1 -0
- package/dist/components/GrRadio/index.js +3 -3
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js +80 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +3 -3
- package/dist/components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js +323 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-9wRWAu2R.js +443 -0
- package/dist/components/GrSelect/chunks/GrSelect-9wRWAu2R.js.map +1 -0
- package/dist/components/GrSelect/index.js +3 -3
- package/dist/components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js +44 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js.map +1 -0
- package/dist/components/GrSidebar/index.js +3 -3
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js +33 -0
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js.map +1 -0
- package/dist/components/GrSkeleton/index.js +3 -3
- package/dist/components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js +79 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js.map +1 -0
- package/dist/components/GrSwitch/index.js +3 -3
- package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js +57 -0
- package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js.map +1 -0
- package/dist/components/GrTable/index.js +3 -3
- package/dist/components/GrTabs/chunks/GrTabs-BpF8AAUz.js +118 -0
- package/dist/components/GrTabs/chunks/GrTabs-BpF8AAUz.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js +71 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js.map +1 -0
- package/dist/components/GrTextarea/index.js +3 -3
- package/dist/components/GrToaster/chunks/GrToaster-3Mf0Moxt.js +171 -0
- package/dist/components/GrToaster/chunks/GrToaster-3Mf0Moxt.js.map +1 -0
- package/dist/components/GrToaster/index.js +3 -3
- package/dist/components/GrTooltip/chunks/GrTooltip-BvmsukLW.js +55 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-BvmsukLW.js.map +1 -0
- package/dist/components/GrTooltip/index.js +3 -3
- package/dist/components/GrTree/chunks/GrTree-C2kN-O4Q.js +734 -0
- package/dist/components/GrTree/chunks/GrTree-C2kN-O4Q.js.map +1 -0
- package/dist/components/GrTree/index.js +3 -3
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js +454 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js.map +1 -0
- package/dist/components/GrTreeSelect/index.js +3 -3
- package/dist/composables/useTheme.js +39 -30
- package/dist/composables/useTheme.js.map +1 -0
- package/dist/composables/useToast.js +41 -34
- package/dist/composables/useToast.js.map +1 -0
- package/dist/directives/autofocus.js +55 -0
- package/dist/directives/autofocus.js.map +1 -0
- package/dist/directives/autosize.js +117 -0
- package/dist/directives/autosize.js.map +1 -0
- package/dist/directives/clickOutside.js +96 -0
- package/dist/directives/clickOutside.js.map +1 -0
- package/dist/directives/dropzone.js +164 -0
- package/dist/directives/dropzone.js.map +1 -0
- package/dist/directives/hotkey.js +138 -0
- package/dist/directives/hotkey.js.map +1 -0
- package/dist/directives/index.js +7 -2
- package/dist/directives/loading.js +163 -0
- package/dist/directives/loading.js.map +1 -0
- package/dist/fileValidation/index.js +2 -2
- package/dist/granular-provider-node.js +23 -14
- package/dist/granular-provider-node.js.map +1 -0
- package/dist/granular-provider.js +3 -3
- package/dist/granular-provider.js.map +1 -0
- package/dist/i18n/all.js +6 -6
- package/dist/i18n/all.js.map +1 -0
- package/dist/i18n/index.js +3 -3
- package/dist/index.js +110 -105
- package/dist/vue/index.js +64 -26
- package/dist/vue/index.js.map +1 -0
- package/package.json +25 -1
- package/dist/chunks/_plugin-vue_export-helper-CHO2XVys.js +0 -8
- package/dist/chunks/adapter-D5uYoOZj.js +0 -4
- package/dist/chunks/arrow-up-Dv3dC3hu.js +0 -23
- package/dist/chunks/classTokens-CT1tqF2j.js +0 -6
- package/dist/chunks/config-B5JCvHys.js +0 -13
- package/dist/chunks/config-BDXa5Sna2.js +0 -9
- package/dist/chunks/config-BG5_FuZ-.js +0 -34
- package/dist/chunks/config-BMYKG1oB.js +0 -10
- package/dist/chunks/config-BQREEXFD.js +0 -8
- package/dist/chunks/config-BUZtbeTr.js +0 -40
- package/dist/chunks/config-BVXycfiO.js +0 -9
- package/dist/chunks/config-BZW-RL6E.js +0 -14
- package/dist/chunks/config-BhbfV-Is.js +0 -48
- package/dist/chunks/config-BmYFupZh.js +0 -8
- package/dist/chunks/config-BsZc_QQ-2.js +0 -20
- package/dist/chunks/config-C1Sn7mn-.js +0 -27
- package/dist/chunks/config-C4_REX-3.js +0 -9
- package/dist/chunks/config-CBFllZZ4.js +0 -9
- package/dist/chunks/config-CDyD_fCt.js +0 -8
- package/dist/chunks/config-CJeG727i.js +0 -149
- package/dist/chunks/config-CLawBqde.js +0 -21
- package/dist/chunks/config-CMz46RPG.js +0 -8
- package/dist/chunks/config-CO-7HRZd2.js +0 -8
- package/dist/chunks/config-CS7E7LME.js +0 -9
- package/dist/chunks/config-CVy124Xj.js +0 -8
- package/dist/chunks/config-CcixQGaN.js +0 -47
- package/dist/chunks/config-CiVXZxyQ.js +0 -9
- package/dist/chunks/config-CoMQmunP.js +0 -8
- package/dist/chunks/config-Cq6ufYtp.js +0 -9
- package/dist/chunks/config-D8CIEWcb.js +0 -8
- package/dist/chunks/config-D8hKc39m.js +0 -18
- package/dist/chunks/config-D9MxGwCJ.js +0 -8
- package/dist/chunks/config-DBXTZE36.js +0 -15
- package/dist/chunks/config-DK9C8O7L.js +0 -9
- package/dist/chunks/config-DTegOmx2.js +0 -8
- package/dist/chunks/config-DYI8XADo.js +0 -47
- package/dist/chunks/config-DlidGf7P.js +0 -8
- package/dist/chunks/config-DtNe7EIX.js +0 -35
- package/dist/chunks/config-EdWeK_ge.js +0 -17
- package/dist/chunks/config-FGAkxHFh.js +0 -8
- package/dist/chunks/config-M76gNxd2.js +0 -37
- package/dist/chunks/config-NuqoO_Of.js +0 -33
- package/dist/chunks/config-QsovJrku2.js +0 -66
- package/dist/chunks/config-R6F6zRJk.js +0 -9
- package/dist/chunks/config-SLwkDc4Q2.js +0 -9
- package/dist/chunks/config-aJ7sb62Y.js +0 -8
- package/dist/chunks/config-b9nc87Oc.js +0 -9
- package/dist/chunks/config-dSI8RttH2.js +0 -8
- package/dist/chunks/config-im2VHeSM.js +0 -9
- package/dist/chunks/config-vKeQ035f.js +0 -9
- package/dist/chunks/config-vMcxHlWi.js +0 -14
- package/dist/chunks/dialogShared-CONROtU2.js +0 -26
- package/dist/chunks/directives-Dr5NPOT8.js +0 -530
- package/dist/chunks/en-j3simI0h.js +0 -41
- package/dist/chunks/es-CIT9s_vo.js +0 -4
- package/dist/chunks/es-CLpJj7KP.js +0 -41
- package/dist/chunks/fileValidation-LFD-vwil.js +0 -193
- package/dist/chunks/grLoadingStyles-Bjo7ylmq.js +0 -15
- package/dist/chunks/grSelectStyles-C3QKIn1J.js +0 -40
- package/dist/chunks/granularityI18n-8_v1B11L.js +0 -24
- package/dist/chunks/info-CNJnuTYC.js +0 -26
- package/dist/chunks/loader-circle-C5vCCMfB.js +0 -23
- package/dist/chunks/ru-CiOZPnBu.js +0 -41
- package/dist/chunks/safelist-Bq32hAXc.js +0 -13
- package/dist/chunks/safelist-CLcTRYB-.js +0 -22
- package/dist/chunks/transition-BJXMi52x.js +0 -1617
- package/dist/chunks/x--kxrj3ez.js +0 -23
- package/dist/chunks/x-circle-ChJ87u1v.js +0 -61
- package/dist/components/GrAlert/chunks/GrAlert-DLHkusb-.js +0 -129
- package/dist/components/GrAvatar/chunks/GrAvatar-BFYH3HJw.js +0 -32
- package/dist/components/GrBadge/chunks/GrBadge-D_AoqGrn.js +0 -27
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C_N0QJfA.js +0 -26
- package/dist/components/GrBottomNav/chunks/GrBottomNav-Chpu3SVd.js +0 -21
- package/dist/components/GrButton/chunks/GrButton-BXVVt6Od.js +0 -67
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CmnYHVH7.js +0 -16
- package/dist/components/GrCard/chunks/GrCard-DEpN6Ptf.js +0 -10
- package/dist/components/GrCheckbox/chunks/GrCheckbox-DF3vJApB.js +0 -111
- package/dist/components/GrCollapse/chunks/GrCollapse-D7QYRqNa.js +0 -150
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-C7Eh8-Vn.js +0 -111
- package/dist/components/GrDataTable/chunks/GrDataTable-Dxsg1NMP.js +0 -142
- package/dist/components/GrDialog/chunks/GrDialog-BSd4-uP5.js +0 -169
- package/dist/components/GrDrawer/chunks/GrDrawer-DBBSwe1s.js +0 -135
- package/dist/components/GrDropdown/chunks/GrDropdown-BELyRP4A.js +0 -110
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-B8fuk7iP.js +0 -233
- package/dist/components/GrEmptyState/chunks/GrEmptyState-BPGoafJI.js +0 -49
- package/dist/components/GrFileUpload/chunks/GrFileUpload-BPzx3LEM.js +0 -294
- package/dist/components/GrFormField/chunks/GrFormField-Cn8g9eFP.js +0 -28
- package/dist/components/GrFormFile/chunks/GrFormFile-DfinD5Iv.js +0 -248
- package/dist/components/GrFormSection/chunks/GrFormSection-dKpQw-vh.js +0 -27
- package/dist/components/GrIcon/chunks/GrIcon-CXIHuG7L.js +0 -25
- package/dist/components/GrImageViewer/chunks/GrImageViewer-CQSNx-D7.js +0 -322
- package/dist/components/GrInput/chunks/GrInput-CLKX1inm.js +0 -158
- package/dist/components/GrInputTag/chunks/GrInputTag-BAtLody2.js +0 -214
- package/dist/components/GrLink/chunks/GrLink-BpXnly-Y.js +0 -59
- package/dist/components/GrList/chunks/GrList-BrFc7VdS.js +0 -55
- package/dist/components/GrLoading/chunks/GrLoading-dFuoryMY.js +0 -53
- package/dist/components/GrModal/chunks/GrModal-uaWXH08K.js +0 -136
- package/dist/components/GrNavbar/chunks/GrNavbar-KzLHgdjX.js +0 -62
- package/dist/components/GrNumberInput/chunks/GrNumberInput-rENn1802.js +0 -315
- package/dist/components/GrPagination/chunks/GrPagination-DP0x3rx6.js +0 -93
- package/dist/components/GrProgressBar/chunks/GrProgressBar-DpW93sOi.js +0 -29
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-ASfBwyzQ.js +0 -158
- package/dist/components/GrRadio/chunks/GrRadio-8BOo97XV.js +0 -147
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BymbUmqI.js +0 -66
- package/dist/components/GrSegmented/chunks/GrSegmented-CK5C_lN7.js +0 -250
- package/dist/components/GrSelect/chunks/GrSelect-BMfc1-vs.js +0 -314
- package/dist/components/GrSidebar/chunks/GrSidebar-C4SXXhfO.js +0 -29
- package/dist/components/GrSkeleton/chunks/GrSkeleton-QlieOdpY.js +0 -25
- package/dist/components/GrSwitch/chunks/GrSwitch-Cefiutzu.js +0 -64
- package/dist/components/GrTable/chunks/GrTable-k_FUiJQk.js +0 -44
- package/dist/components/GrTabs/chunks/GrTabs-B46P-lUc.js +0 -98
- package/dist/components/GrTextarea/chunks/GrTextarea-BX7L1MJk.js +0 -57
- package/dist/components/GrToaster/chunks/GrToaster-C4l_BjOh.js +0 -139
- package/dist/components/GrTooltip/chunks/GrTooltip-BqRAzuLT.js +0 -37
- package/dist/components/GrTree/chunks/GrTree-C2CXR_vW.js +0 -614
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DAAay-QB.js +0 -353
package/dist/i18n/all.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as ru, r as en, t as es } from "../chunks/es-BPqm7rLm.js";
|
|
2
2
|
//#region src/i18n/all.ts
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
var all = [
|
|
4
|
+
en,
|
|
5
|
+
ru,
|
|
6
|
+
es
|
|
7
7
|
];
|
|
8
8
|
//#endregion
|
|
9
|
-
export {
|
|
9
|
+
export { all, all as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.js","names":[],"sources":["../../src/i18n/all.ts"],"sourcesContent":["/**\n * Aggregated locale loaders for the Granularity package.\n *\n * Imported via the dedicated sub-path `@feugene/granularity/i18n/all`.\n * Use it ONLY in environments where bundle size is not a concern\n * (demos, Storybook, e2e, localization tooling).\n *\n * For production builds always prefer per-locale imports from\n * `@feugene/granularity/i18n` so unused languages can be tree-shaken away.\n *\n * ```ts\n * import all from '@feugene/granularity/i18n/all'\n *\n * createFintI18n({\n * locale: 'en',\n * fallbackLocale: 'en',\n * loaders: all, // == [en, ru, es]\n * })\n * ```\n */\nimport type { LocaleLoaderCollection } from '@feugene/fint-i18n/core'\n\nimport { en } from './messages/en'\nimport { ru } from './messages/ru'\nimport { es } from './messages/es'\n\nexport const all: LocaleLoaderCollection[] = [en, ru, es]\n\nexport default all\n"],"mappings":";;AA0BA,IAAa,MAAgC;CAAC;CAAI;CAAI;CAAG"}
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { i as
|
|
3
|
-
export {
|
|
1
|
+
import { t as GRANULARITY_I18N_KEY } from "../chunks/adapter-K6zZTzBi.js";
|
|
2
|
+
import { i as GRANULARITY_I18N_BLOCK, n as ru, r as en, t as es } from "../chunks/es-BPqm7rLm.js";
|
|
3
|
+
export { GRANULARITY_I18N_BLOCK, GRANULARITY_I18N_KEY, en, es, ru };
|
package/dist/index.js
CHANGED
|
@@ -1,115 +1,120 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t } from "./chunks/config-
|
|
3
|
-
import { n, t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
1
|
+
import { t as GrAlert_default } from "./components/GrAlert/chunks/GrAlert-BjerGcU8.js";
|
|
2
|
+
import { t as grAlertConfig } from "./chunks/config-C6SBJxcH.js";
|
|
3
|
+
import { n as grAvatarSafelist, t as grAvatarConfig } from "./chunks/config-CU_CBd0k.js";
|
|
4
|
+
import { t as GrAvatar_default } from "./components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js";
|
|
5
|
+
import { t as GrBadge_default } from "./components/GrBadge/chunks/GrBadge-wuIb4_2K.js";
|
|
6
|
+
import { n as grBadgeSafelist, t as grBadgeConfig } from "./chunks/config-BaMO9dQh.js";
|
|
7
7
|
import "./components/GrBadge/index.js";
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { r as
|
|
13
|
-
import { t as
|
|
14
|
-
import { n as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
8
|
+
import { t as GrBadgeWrap_default } from "./components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js";
|
|
9
|
+
import { t as grBadgeWrapConfig } from "./chunks/config-DW_RqmUp.js";
|
|
10
|
+
import { t as GrBottomNav_default } from "./components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js";
|
|
11
|
+
import { t as grBottomNavConfig } from "./chunks/config-BKRmlivc.js";
|
|
12
|
+
import { r as grButtonClass } from "./chunks/grButtonStyles-BxZW2x0-.js";
|
|
13
|
+
import { t as GrButton_default } from "./components/GrButton/chunks/GrButton-BmGdp8-4.js";
|
|
14
|
+
import { n as grButtonSafelist, t as grButtonClassTokens } from "./chunks/safelist-BY7z8fOl.js";
|
|
15
|
+
import { t as grButtonConfig } from "./chunks/config-Dkq0HeLe.js";
|
|
16
|
+
import { t as GrButtonGroup_default } from "./components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js";
|
|
17
|
+
import { t as grButtonGroupConfig } from "./chunks/config-Bv2G0OU6.js";
|
|
18
18
|
import "./components/GrButtonGroup/index.js";
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { n as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import { a as
|
|
30
|
-
import { i as
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import { t as
|
|
36
|
-
import { t as
|
|
19
|
+
import { t as GrCard_default } from "./components/GrCard/chunks/GrCard-xtDcXBr7.js";
|
|
20
|
+
import { t as grCardConfig } from "./chunks/config-rQlbnEKn.js";
|
|
21
|
+
import { t as GrCheckbox_default } from "./components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js";
|
|
22
|
+
import { t as grCheckboxConfig } from "./chunks/config-TyzU6gLf.js";
|
|
23
|
+
import { n as GrCollapse_default, r as GR_COLLAPSE_CONTEXT, t as GrCollapseItem_default } from "./components/GrCollapse/chunks/GrCollapse-HU20VTVn.js";
|
|
24
|
+
import { t as GrIcon_default } from "./components/GrIcon/chunks/GrIcon-BV7RBU_0.js";
|
|
25
|
+
import { t as grIconConfig } from "./chunks/config-2wgwWaAB.js";
|
|
26
|
+
import { t as grCollapseConfig } from "./chunks/config-BzZGpWsj.js";
|
|
27
|
+
import { t as getGrModalPanelClass } from "./chunks/grModalStyles-Dv2NXBKi.js";
|
|
28
|
+
import { t as GrModal_default } from "./components/GrModal/chunks/GrModal-gvfvlp7k.js";
|
|
29
|
+
import { a as resolveGrDialogTitle, i as resolveGrDialogSectionConfig, n as DEFAULT_GR_DIALOG_FOOTER_CONFIG, r as DEFAULT_GR_DIALOG_HEADER_CONFIG, t as DEFAULT_GR_DIALOG_BODY_CONFIG } from "./chunks/dialogShared-BtXUk6Zc.js";
|
|
30
|
+
import { i as GrDialogFooter_default, n as GrDialogHeader_default, r as GrDialogCloseButton_default, t as GrDialog_default } from "./components/GrDialog/chunks/GrDialog-gObmaVEl.js";
|
|
31
|
+
import { t as GrConfirmDialog_default } from "./components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js";
|
|
32
|
+
import { t as grConfirmDialogConfig } from "./chunks/config-DFRYOcrP.js";
|
|
33
|
+
import { t as GrTable_default } from "./components/GrTable/chunks/GrTable-CyQ9uw8A.js";
|
|
34
|
+
import { t as GrDataTable_default } from "./components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js";
|
|
35
|
+
import { t as grDataTableConfig } from "./chunks/config-CMZE2fu0.js";
|
|
36
|
+
import { t as grDialogSafelist } from "./chunks/safelist-BF822K15.js";
|
|
37
37
|
import "./components/GrDialog/index.js";
|
|
38
|
-
import { n as
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import { t as
|
|
44
|
-
import {
|
|
38
|
+
import { n as grDrawerSafelist, t as grDrawerConfig } from "./chunks/config-DxqpV-KM.js";
|
|
39
|
+
import { t as GrDrawer_default } from "./components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js";
|
|
40
|
+
import { vAutofocus } from "./directives/autofocus.js";
|
|
41
|
+
import { vAutosize } from "./directives/autosize.js";
|
|
42
|
+
import { vClickOutside } from "./directives/clickOutside.js";
|
|
43
|
+
import { a as allowedExtensionsValidator, c as normalizeFiles, i as allowedMimeTypesValidator, l as runFileValidators, n as maxSizeMbValidator, o as acceptValidator, r as maxFileSizeBytesValidator, s as matchAccept, t as maxTotalSizeBytesValidator, u as FileValidationError } from "./chunks/fileValidation-CwJA8Vmn.js";
|
|
44
|
+
import { vDropzone } from "./directives/dropzone.js";
|
|
45
|
+
import { vHotkey } from "./directives/hotkey.js";
|
|
46
|
+
import { t as GrLoading_default } from "./components/GrLoading/chunks/GrLoading-C3QZKwE-.js";
|
|
47
|
+
import { createLoading, vLoading } from "./directives/loading.js";
|
|
48
|
+
import { t as GrDropdown_default } from "./components/GrDropdown/chunks/GrDropdown-BkACCXdp.js";
|
|
49
|
+
import { n as grDropdownSafelist, t as grDropdownConfig } from "./chunks/config-C4AlNm912.js";
|
|
45
50
|
import "./components/GrDropdown/index.js";
|
|
46
|
-
import { a as
|
|
47
|
-
import { t as
|
|
48
|
-
import { t as
|
|
49
|
-
import { t as
|
|
50
|
-
import { t as
|
|
51
|
-
import { t as
|
|
52
|
-
import { t as
|
|
53
|
-
import { t as
|
|
51
|
+
import { a as GrDropdownMenuColumns_default, c as GrDropdownMenuList_default, i as GrDropdownMenuDivider_default, n as GrDropdownMenuGroup_default, o as GrDropdownMenuColumn_default, r as GrDropdownMenuHeader_default, s as GrDropdownMenu_default, t as GrDropdownMenuItem_default } from "./components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js";
|
|
52
|
+
import { t as grDropdownMenuConfig } from "./chunks/config-etXh7Bsr2.js";
|
|
53
|
+
import { t as GrEmptyState_default } from "./components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js";
|
|
54
|
+
import { t as grEmptyStateConfig } from "./chunks/config-CgAY2WP9.js";
|
|
55
|
+
import { t as GrFileUpload_default } from "./components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js";
|
|
56
|
+
import { t as grFileUploadConfig } from "./chunks/config-CByfsV-z2.js";
|
|
57
|
+
import { t as GrFormField_default } from "./components/GrFormField/chunks/GrFormField-C6PfAs4u.js";
|
|
58
|
+
import { t as grFormFieldConfig } from "./chunks/config-Dnu4VuO0.js";
|
|
54
59
|
import "./components/GrFormField/index.js";
|
|
55
|
-
import { t as
|
|
56
|
-
import { t as
|
|
57
|
-
import { t as
|
|
58
|
-
import { t as
|
|
59
|
-
import { t as
|
|
60
|
-
import { t as
|
|
61
|
-
import { t as
|
|
62
|
-
import { n as
|
|
60
|
+
import { t as GrFormFile_default } from "./components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js";
|
|
61
|
+
import { t as grFormFileConfig } from "./chunks/config-C5SJXHQ4.js";
|
|
62
|
+
import { t as GrFormSection_default } from "./components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js";
|
|
63
|
+
import { t as grFormSectionConfig } from "./chunks/config-BCPyma1I.js";
|
|
64
|
+
import { t as GrImageViewer_default } from "./components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js";
|
|
65
|
+
import { t as grImageViewerConfig } from "./chunks/config-BA0BWYzs.js";
|
|
66
|
+
import { t as GrInput_default } from "./components/GrInput/chunks/GrInput-ghxaTf6d.js";
|
|
67
|
+
import { n as grInputSafelist, t as grInputConfig } from "./chunks/config-D19pyP4D.js";
|
|
63
68
|
import "./components/GrInput/index.js";
|
|
64
|
-
import { n as
|
|
65
|
-
import { t as
|
|
66
|
-
import { n as
|
|
67
|
-
import { t as
|
|
68
|
-
import { n as
|
|
69
|
-
import { t as
|
|
70
|
-
import { n as
|
|
69
|
+
import { n as grInputTagSafelist, t as grInputTagConfig } from "./chunks/config-DgRJlF00.js";
|
|
70
|
+
import { t as GrInputTag_default } from "./components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js";
|
|
71
|
+
import { n as grLinkSafelist, t as grLinkConfig } from "./chunks/config-Cf0J6wCX.js";
|
|
72
|
+
import { t as GrLink_default } from "./components/GrLink/chunks/GrLink-C7-Y1u88.js";
|
|
73
|
+
import { n as GrList_default, t as GrListItem_default } from "./components/GrList/chunks/GrList--Ib4zLNw.js";
|
|
74
|
+
import { t as grListConfig } from "./chunks/config-fCcRwjIB.js";
|
|
75
|
+
import { n as grLoadingSafelist, t as grLoadingConfig } from "./chunks/config-BN-B2K4r.js";
|
|
71
76
|
import "./components/GrLoading/index.js";
|
|
72
|
-
import { n as
|
|
77
|
+
import { n as grModalClassTokens, r as grModalSafelist, t as grModalConfig } from "./chunks/config-XwI6t8cn.js";
|
|
73
78
|
import "./components/GrModal/index.js";
|
|
74
|
-
import { t as
|
|
75
|
-
import { t as
|
|
76
|
-
import { n as
|
|
77
|
-
import { t as
|
|
78
|
-
import { t as
|
|
79
|
-
import { t as
|
|
80
|
-
import { t as
|
|
81
|
-
import { n as
|
|
82
|
-
import { t as
|
|
83
|
-
import { t as
|
|
84
|
-
import { t as
|
|
85
|
-
import { n as
|
|
86
|
-
import { n as
|
|
87
|
-
import { t as
|
|
88
|
-
import { t as
|
|
89
|
-
import { n as
|
|
90
|
-
import { t as
|
|
91
|
-
import { n as
|
|
79
|
+
import { t as GrNavbar_default } from "./components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js";
|
|
80
|
+
import { t as grNavbarConfig } from "./chunks/config-DTpwUHgF.js";
|
|
81
|
+
import { n as grNumberInputSafelist, t as grNumberInputConfig } from "./chunks/config-bpQYM5O-.js";
|
|
82
|
+
import { t as GrNumberInput_default } from "./components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js";
|
|
83
|
+
import { t as GrSelect_default } from "./components/GrSelect/chunks/GrSelect-9wRWAu2R.js";
|
|
84
|
+
import { t as GrPagination_default } from "./components/GrPagination/chunks/GrPagination-BSTO6flk.js";
|
|
85
|
+
import { t as grPaginationConfig } from "./chunks/config-C2iI7_QX.js";
|
|
86
|
+
import { n as grProgressBarSafelist, t as grProgressBarConfig } from "./chunks/config-Da90XGsi.js";
|
|
87
|
+
import { t as GrProgressBar_default } from "./components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js";
|
|
88
|
+
import { t as GrPromptDialog_default } from "./components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js";
|
|
89
|
+
import { t as grPromptDialogConfig } from "./chunks/config-1I95Zy4V.js";
|
|
90
|
+
import { n as grRadioSafelist, t as grRadioConfig } from "./chunks/config-DEv4m-ZP.js";
|
|
91
|
+
import { n as GR_RADIO_GROUP_CONTEXT, t as GrRadio_default } from "./components/GrRadio/chunks/GrRadio-BxBs3WHq.js";
|
|
92
|
+
import { t as GrRadioGroup_default } from "./components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js";
|
|
93
|
+
import { t as grRadioGroupConfig } from "./chunks/config-nfOMJXVs.js";
|
|
94
|
+
import { n as grSegmentedSafelist, t as grSegmentedConfig } from "./chunks/config-CUgvsjZx.js";
|
|
95
|
+
import { t as GrSegmented_default } from "./components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js";
|
|
96
|
+
import { n as grSelectSafelist, t as grSelectConfig } from "./chunks/config-BDlh6iNz.js";
|
|
92
97
|
import "./components/GrSelect/index.js";
|
|
93
|
-
import { t as
|
|
94
|
-
import { t as
|
|
95
|
-
import { t as
|
|
96
|
-
import { t as
|
|
97
|
-
import { n as
|
|
98
|
-
import { t as
|
|
99
|
-
import { t as
|
|
98
|
+
import { t as GrSidebar_default } from "./components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js";
|
|
99
|
+
import { t as grSidebarConfig } from "./chunks/config-qJXIIY1E.js";
|
|
100
|
+
import { t as GrSkeleton_default } from "./components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js";
|
|
101
|
+
import { t as grSkeletonConfig } from "./chunks/config-C0j836dC.js";
|
|
102
|
+
import { n as grSwitchSafelist, t as grSwitchConfig } from "./chunks/config-CM7nbATU2.js";
|
|
103
|
+
import { t as GrSwitch_default } from "./components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js";
|
|
104
|
+
import { t as grTableConfig } from "./chunks/config-Cgc-D1K4.js";
|
|
100
105
|
import "./components/GrTable/index.js";
|
|
101
|
-
import { t as
|
|
102
|
-
import { t as
|
|
103
|
-
import { n as
|
|
104
|
-
import { t as
|
|
105
|
-
import { useToast
|
|
106
|
-
import { n as
|
|
107
|
-
import { t as
|
|
108
|
-
import { t as
|
|
109
|
-
import { t as
|
|
110
|
-
import { t as
|
|
111
|
-
import { n as
|
|
112
|
-
import { n as
|
|
113
|
-
import { t as
|
|
114
|
-
import { initThemeEarly
|
|
115
|
-
export {
|
|
106
|
+
import { t as GrTabs_default } from "./components/GrTabs/chunks/GrTabs-BpF8AAUz.js";
|
|
107
|
+
import { t as grTabsConfig } from "./chunks/config-DmI1IQvI2.js";
|
|
108
|
+
import { n as grTextareaSafelist, t as grTextareaConfig } from "./chunks/config-CWvHiaqr2.js";
|
|
109
|
+
import { t as GrTextarea_default } from "./components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js";
|
|
110
|
+
import { useToast } from "./composables/useToast.js";
|
|
111
|
+
import { n as grToasterSafelist, t as grToasterConfig } from "./chunks/config-BvuQUBtZ.js";
|
|
112
|
+
import { t as GrToaster_default } from "./components/GrToaster/chunks/GrToaster-3Mf0Moxt.js";
|
|
113
|
+
import { t as GrTooltip_default } from "./components/GrTooltip/chunks/GrTooltip-BvmsukLW.js";
|
|
114
|
+
import { t as grTooltipConfig } from "./chunks/config-r6hzn2Bn2.js";
|
|
115
|
+
import { t as GrTree_default } from "./components/GrTree/chunks/GrTree-C2kN-O4Q.js";
|
|
116
|
+
import { n as grTreeSafelist, t as grTreeConfig } from "./chunks/config-DCQO6H6h.js";
|
|
117
|
+
import { n as grTreeSelectSafelist, t as grTreeSelectConfig } from "./chunks/config-BNOf_qjD.js";
|
|
118
|
+
import { t as GrTreeSelect_default } from "./components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js";
|
|
119
|
+
import { initThemeEarly, useTheme } from "./composables/useTheme.js";
|
|
120
|
+
export { DEFAULT_GR_DIALOG_BODY_CONFIG, DEFAULT_GR_DIALOG_FOOTER_CONFIG, DEFAULT_GR_DIALOG_HEADER_CONFIG, FileValidationError, GR_COLLAPSE_CONTEXT, GR_RADIO_GROUP_CONTEXT, GrAlert_default as GrAlert, GrAvatar_default as GrAvatar, GrBadge_default as GrBadge, GrBadgeWrap_default as GrBadgeWrap, GrBottomNav_default as GrBottomNav, GrButton_default as GrButton, GrButtonGroup_default as GrButtonGroup, GrCard_default as GrCard, GrCheckbox_default as GrCheckbox, GrCollapse_default as GrCollapse, GrCollapseItem_default as GrCollapseItem, GrConfirmDialog_default as GrConfirmDialog, GrDataTable_default as GrDataTable, GrDialog_default as GrDialog, GrDialogCloseButton_default as GrDialogCloseButton, GrDialogFooter_default as GrDialogFooter, GrDialogHeader_default as GrDialogHeader, GrDrawer_default as GrDrawer, GrDropdown_default as GrDropdown, GrDropdownMenu_default as GrDropdownMenu, GrDropdownMenuColumn_default as GrDropdownMenuColumn, GrDropdownMenuColumns_default as GrDropdownMenuColumns, GrDropdownMenuDivider_default as GrDropdownMenuDivider, GrDropdownMenuGroup_default as GrDropdownMenuGroup, GrDropdownMenuHeader_default as GrDropdownMenuHeader, GrDropdownMenuItem_default as GrDropdownMenuItem, GrDropdownMenuList_default as GrDropdownMenuList, GrEmptyState_default as GrEmptyState, GrFileUpload_default as GrFileUpload, GrFormField_default as GrFormField, GrFormFile_default as GrFormFile, GrFormSection_default as GrFormSection, GrIcon_default as GrIcon, GrImageViewer_default as GrImageViewer, GrInput_default as GrInput, GrInputTag_default as GrInputTag, GrLink_default as GrLink, GrList_default as GrList, GrListItem_default as GrListItem, GrLoading_default as GrLoading, GrModal_default as GrModal, GrNavbar_default as GrNavbar, GrNumberInput_default as GrNumberInput, GrPagination_default as GrPagination, GrProgressBar_default as GrProgressBar, GrPromptDialog_default as GrPromptDialog, GrRadio_default as GrRadio, GrRadioGroup_default as GrRadioGroup, GrSegmented_default as GrSegmented, GrSelect_default as GrSelect, GrSidebar_default as GrSidebar, GrSkeleton_default as GrSkeleton, GrSwitch_default as GrSwitch, GrTable_default as GrTable, GrTabs_default as GrTabs, GrTextarea_default as GrTextarea, GrToaster_default as GrToaster, GrTooltip_default as GrTooltip, GrTree_default as GrTree, GrTreeSelect_default as GrTreeSelect, acceptValidator, allowedExtensionsValidator, allowedMimeTypesValidator, createLoading, getGrModalPanelClass, grAlertConfig, grAvatarConfig, grAvatarSafelist, grBadgeConfig, grBadgeSafelist, grBadgeWrapConfig, grBottomNavConfig, grButtonClass, grButtonClassTokens, grButtonConfig, grButtonGroupConfig, grButtonSafelist, grCardConfig, grCheckboxConfig, grCollapseConfig, grConfirmDialogConfig, grDataTableConfig, grDialogSafelist, grDrawerConfig, grDrawerSafelist, grDropdownConfig, grDropdownMenuConfig, grDropdownSafelist, grEmptyStateConfig, grFileUploadConfig, grFormFieldConfig, grFormFileConfig, grFormSectionConfig, grIconConfig, grImageViewerConfig, grInputConfig, grInputSafelist, grInputTagConfig, grInputTagSafelist, grLinkConfig, grLinkSafelist, grListConfig, grLoadingConfig, grLoadingSafelist, grModalClassTokens, grModalConfig, grModalSafelist, grNavbarConfig, grNumberInputConfig, grNumberInputSafelist, grPaginationConfig, grProgressBarConfig, grProgressBarSafelist, grPromptDialogConfig, grRadioConfig, grRadioGroupConfig, grRadioSafelist, grSegmentedConfig, grSegmentedSafelist, grSelectConfig, grSelectSafelist, grSidebarConfig, grSkeletonConfig, grSwitchConfig, grSwitchSafelist, grTableConfig, grTabsConfig, grTextareaConfig, grTextareaSafelist, grToasterConfig, grToasterSafelist, grTooltipConfig, grTreeConfig, grTreeSafelist, grTreeSelectConfig, grTreeSelectSafelist, initThemeEarly, matchAccept, maxFileSizeBytesValidator, maxSizeMbValidator, maxTotalSizeBytesValidator, normalizeFiles, resolveGrDialogSectionConfig, resolveGrDialogTitle, runFileValidators, useTheme, useToast, vAutofocus, vAutosize, vClickOutside, vDropzone, vHotkey, vLoading };
|
package/dist/vue/index.js
CHANGED
|
@@ -1,47 +1,85 @@
|
|
|
1
1
|
//#region src/vue/plugin.ts
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Вспомогательная обёртка: превращает произвольный компонент в `GranularityInstallableComponent`
|
|
4
|
+
* с явным именем регистрации.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { GrButton } from '@feugene/granularity/components/GrButton'
|
|
8
|
+
* import { defineInstallable } from '@feugene/granularity/vue'
|
|
9
|
+
*
|
|
10
|
+
* const installable = defineInstallable(GrButton, 'GrButton')
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
function defineInstallable(component, name) {
|
|
14
|
+
return { install(app) {
|
|
15
|
+
app.component(name, component);
|
|
5
16
|
} };
|
|
6
17
|
}
|
|
7
|
-
function
|
|
8
|
-
if (typeof
|
|
9
|
-
|
|
18
|
+
function installComponent(app, c) {
|
|
19
|
+
if (typeof c.install === "function") {
|
|
20
|
+
c.install(app);
|
|
10
21
|
return;
|
|
11
22
|
}
|
|
12
|
-
if (typeof
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
if (typeof c.name === "string" && c.component && (typeof c.component === "object" || typeof c.component === "function")) {
|
|
24
|
+
const { name, component } = c;
|
|
25
|
+
app.component(name, component);
|
|
15
26
|
return;
|
|
16
27
|
}
|
|
17
|
-
|
|
18
|
-
if (
|
|
19
|
-
|
|
28
|
+
const resolvedName = c.name ?? c.__name;
|
|
29
|
+
if (resolvedName) {
|
|
30
|
+
app.component(resolvedName, c);
|
|
20
31
|
return;
|
|
21
32
|
}
|
|
22
33
|
console.warn("[granularity] component passed to createGranularity has no `install`, `name`, or `__name` — skipped.");
|
|
23
34
|
}
|
|
24
|
-
function
|
|
25
|
-
if ("install" in
|
|
26
|
-
|
|
35
|
+
function installDirective(app, d) {
|
|
36
|
+
if ("install" in d && typeof d.install === "function") {
|
|
37
|
+
d.install(app);
|
|
27
38
|
return;
|
|
28
39
|
}
|
|
29
|
-
if ("name" in
|
|
30
|
-
|
|
40
|
+
if ("name" in d && "directive" in d) {
|
|
41
|
+
app.directive(d.name, d.directive);
|
|
31
42
|
return;
|
|
32
43
|
}
|
|
33
44
|
console.warn("[granularity] directive passed to createGranularity has no `install` or `{ name, directive }` — skipped.");
|
|
34
45
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Применяет опции к переданному приложению. Экспортируется отдельно от фабрики —
|
|
48
|
+
* удобно, когда плагин не нужен (например, в тестах).
|
|
49
|
+
*/
|
|
50
|
+
function installGranularity(app, options = {}) {
|
|
51
|
+
for (const c of options.components ?? []) installComponent(app, c);
|
|
52
|
+
for (const d of options.directives ?? []) installDirective(app, d);
|
|
53
|
+
for (const { key, value } of options.provides ?? []) app.provide(key, value);
|
|
54
|
+
if (options.globalProperties) for (const [key, value] of Object.entries(options.globalProperties)) app.config.globalProperties[key] = value;
|
|
40
55
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Создаёт Vue-плагин `{ install }`, который при `app.use(...)` зарегистрирует переданные
|
|
58
|
+
* компоненты, директивы и provide-значения. Сам модуль НЕ импортирует ни компонентов,
|
|
59
|
+
* ни директив из пакета — всё приходит снаружи. Это сохраняет гранулярность:
|
|
60
|
+
* бандлер увидит только те символы, которые вы реально передали.
|
|
61
|
+
*
|
|
62
|
+
* ```ts
|
|
63
|
+
* import { createApp } from 'vue'
|
|
64
|
+
* import { createGranularity } from '@feugene/granularity/vue'
|
|
65
|
+
* import { GrButton } from '@feugene/granularity/components/GrButton'
|
|
66
|
+
* import { GrInput } from '@feugene/granularity/components/GrInput'
|
|
67
|
+
* import { vHotkey } from '@feugene/granularity/directives/hotkey'
|
|
68
|
+
*
|
|
69
|
+
* createApp(App)
|
|
70
|
+
* .use(createGranularity({
|
|
71
|
+
* // Достаточно передать сами компоненты — имя будет взято из `__name` (Vue SFC)
|
|
72
|
+
* // или из `name`; можно также указать явно через `{ name, component }`.
|
|
73
|
+
* components: [GrButton, GrInput],
|
|
74
|
+
* directives: [{ name: 'hotkey', directive: vHotkey }],
|
|
75
|
+
* }))
|
|
76
|
+
* .mount('#app')
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
function createGranularity(options = {}) {
|
|
80
|
+
return { install(app) {
|
|
81
|
+
installGranularity(app, options);
|
|
44
82
|
} };
|
|
45
83
|
}
|
|
46
84
|
//#endregion
|
|
47
|
-
export {
|
|
85
|
+
export { createGranularity, defineInstallable, installGranularity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/vue/plugin.ts"],"sourcesContent":["import type {App, Component, Directive, Plugin} from 'vue'\n\n/**\n * Лёгкий контейнер, который может быть зарегистрирован в Vue:\n * - SFC-компонент (Vue сам компилирует `__name` из имени файла) — достаточно просто передать сам компонент,\n * - SFC-компонент с опциональным `install` (по аналогии с Element Plus / Naive UI),\n * - объект с собственным `install`,\n * - либо объект `{ name, component }`, если имя нужно задать явно.\n */\nexport type GranularityInstallableComponent =\n | (Component & { name?: string; __name?: string; install?: (app: App) => void })\n | { install: (app: App) => void }\n | { name: string; component: Component }\n\n/**\n * Директива — либо пара `{ name, directive }`, либо объект с `install`.\n */\nexport type GranularityInstallableDirective =\n | { name: string; directive: Directive }\n | { install: (app: App) => void }\n\nexport interface CreateGranularityOptions {\n /**\n * Список компонентов для глобальной регистрации.\n * Пакет сам по себе ничего не импортирует — пользователь передаёт сюда только те компоненты,\n * которые ему действительно нужны. За счёт этого tree-shaking остаётся полным.\n */\n components?: GranularityInstallableComponent[]\n /**\n * Список директив. Передавайте ровно те, что нужны, по аналогии с компонентами.\n */\n directives?: GranularityInstallableDirective[]\n /**\n * Произвольные `provide`-значения. Ключи могут быть `symbol` или строкой.\n * Пакет не навязывает конкретные ключи (например, i18n) — выбор за пользователем.\n */\n provides?: Array<{ key: string | symbol; value: unknown }>\n /**\n * Произвольные `app.config.globalProperties` — по умолчанию ничего не ставим.\n */\n globalProperties?: Record<string, unknown>\n}\n\n/**\n * Вспомогательная обёртка: превращает произвольный компонент в `GranularityInstallableComponent`\n * с явным именем регистрации.\n *\n * ```ts\n * import { GrButton } from '@feugene/granularity/components/GrButton'\n * import { defineInstallable } from '@feugene/granularity/vue'\n *\n * const installable = defineInstallable(GrButton, 'GrButton')\n * ```\n */\nexport function defineInstallable<T extends Component>(component: T, name: string): GranularityInstallableComponent {\n return {\n install(app: App) {\n app.component(name, component)\n },\n }\n}\n\nfunction installComponent(app: App, c: GranularityInstallableComponent): void {\n if (typeof (c as any).install === 'function') {\n ;(c as any).install(app)\n return\n }\n\n // Форма `{ name, component }` — явное указание имени для произвольного компонента.\n // Допускаем как object-компоненты (SFC / options), так и functional-компоненты.\n if (\n typeof (c as any).name === 'string'\n && (c as any).component\n && (typeof (c as any).component === 'object' || typeof (c as any).component === 'function')\n ) {\n const {name, component} = c as { name: string; component: Component }\n app.component(name, component)\n return\n }\n\n // SFC: Vue 3 компилирует имя компонента из имени файла в поле `__name`\n // (например, `GrButton.vue` → `__name: 'GrButton'`). Также поддерживаем явное `name`.\n const resolvedName\n = (c as Component & { name?: string }).name\n ?? (c as { __name?: string }).__name\n if (resolvedName) {\n app.component(resolvedName, c as Component)\n return\n }\n\n // Сознательно без throw — просто сообщаем в dev-режиме.\n \n console.warn('[granularity] component passed to createGranularity has no `install`, `name`, or `__name` — skipped.')\n}\n\nfunction installDirective(app: App, d: GranularityInstallableDirective): void {\n if ('install' in d && typeof d.install === 'function') {\n d.install(app)\n return\n }\n\n if ('name' in d && 'directive' in d) {\n app.directive(d.name, d.directive)\n return\n }\n\n // Сознательно без throw — согласовано с `installComponent`.\n \n console.warn('[granularity] directive passed to createGranularity has no `install` or `{ name, directive }` — skipped.')\n}\n\n/**\n * Применяет опции к переданному приложению. Экспортируется отдельно от фабрики —\n * удобно, когда плагин не нужен (например, в тестах).\n */\nexport function installGranularity(app: App, options: CreateGranularityOptions = {}): void {\n for (const c of options.components ?? [])\n installComponent(app, c)\n\n for (const d of options.directives ?? [])\n installDirective(app, d)\n\n for (const {key, value} of options.provides ?? [])\n app.provide(key as any, value)\n\n if (options.globalProperties) {\n for (const [key, value] of Object.entries(options.globalProperties))\n app.config.globalProperties[key] = value\n }\n}\n\n/**\n * Создаёт Vue-плагин `{ install }`, который при `app.use(...)` зарегистрирует переданные\n * компоненты, директивы и provide-значения. Сам модуль НЕ импортирует ни компонентов,\n * ни директив из пакета — всё приходит снаружи. Это сохраняет гранулярность:\n * бандлер увидит только те символы, которые вы реально передали.\n *\n * ```ts\n * import { createApp } from 'vue'\n * import { createGranularity } from '@feugene/granularity/vue'\n * import { GrButton } from '@feugene/granularity/components/GrButton'\n * import { GrInput } from '@feugene/granularity/components/GrInput'\n * import { vHotkey } from '@feugene/granularity/directives/hotkey'\n *\n * createApp(App)\n * .use(createGranularity({\n * // Достаточно передать сами компоненты — имя будет взято из `__name` (Vue SFC)\n * // или из `name`; можно также указать явно через `{ name, component }`.\n * components: [GrButton, GrInput],\n * directives: [{ name: 'hotkey', directive: vHotkey }],\n * }))\n * .mount('#app')\n * ```\n */\nexport function createGranularity(options: CreateGranularityOptions = {}): Plugin {\n return {\n install(app: App) {\n installGranularity(app, options)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;AAsDA,SAAgB,kBAAuC,WAAc,MAA+C;AAChH,QAAO,EACH,QAAQ,KAAU;AACd,MAAI,UAAU,MAAM,UAAU;IAErC;;AAGL,SAAS,iBAAiB,KAAU,GAA0C;AAC1E,KAAI,OAAQ,EAAU,YAAY,YAAY;AACxC,IAAU,QAAQ,IAAI;AACxB;;AAKJ,KACI,OAAQ,EAAU,SAAS,YACvB,EAAU,cACV,OAAQ,EAAU,cAAc,YAAY,OAAQ,EAAU,cAAc,aAClF;EACE,MAAM,EAAC,MAAM,cAAa;AAC1B,MAAI,UAAU,MAAM,UAAU;AAC9B;;CAKJ,MAAM,eACC,EAAoC,QAC/B,EAA0B;AACtC,KAAI,cAAc;AACd,MAAI,UAAU,cAAc,EAAe;AAC3C;;AAKJ,SAAQ,KAAK,uGAAuG;;AAGxH,SAAS,iBAAiB,KAAU,GAA0C;AAC1E,KAAI,aAAa,KAAK,OAAO,EAAE,YAAY,YAAY;AACnD,IAAE,QAAQ,IAAI;AACd;;AAGJ,KAAI,UAAU,KAAK,eAAe,GAAG;AACjC,MAAI,UAAU,EAAE,MAAM,EAAE,UAAU;AAClC;;AAKJ,SAAQ,KAAK,2GAA2G;;;;;;AAO5H,SAAgB,mBAAmB,KAAU,UAAoC,EAAE,EAAQ;AACvF,MAAK,MAAM,KAAK,QAAQ,cAAc,EAAE,CACpC,kBAAiB,KAAK,EAAE;AAE5B,MAAK,MAAM,KAAK,QAAQ,cAAc,EAAE,CACpC,kBAAiB,KAAK,EAAE;AAE5B,MAAK,MAAM,EAAC,KAAK,WAAU,QAAQ,YAAY,EAAE,CAC7C,KAAI,QAAQ,KAAY,MAAM;AAElC,KAAI,QAAQ,iBACR,MAAK,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,QAAQ,iBAAiB,CAC/D,KAAI,OAAO,iBAAiB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;AA2B/C,SAAgB,kBAAkB,UAAoC,EAAE,EAAU;AAC9E,QAAO,EACH,QAAQ,KAAU;AACd,qBAAmB,KAAK,QAAQ;IAEvC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feugene/granularity",
|
|
3
3
|
"description": "Granularity design system package with Vue 3 components, consumed via the `@feugene/unocss-preset-granular` preset.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Evgeniy Fureev",
|
|
@@ -253,6 +253,30 @@
|
|
|
253
253
|
"types": "./dist/types/src/directives/index.d.ts",
|
|
254
254
|
"import": "./dist/directives/index.js"
|
|
255
255
|
},
|
|
256
|
+
"./directives/autofocus": {
|
|
257
|
+
"types": "./dist/types/src/directives/autofocus.d.ts",
|
|
258
|
+
"import": "./dist/directives/autofocus.js"
|
|
259
|
+
},
|
|
260
|
+
"./directives/autosize": {
|
|
261
|
+
"types": "./dist/types/src/directives/autosize.d.ts",
|
|
262
|
+
"import": "./dist/directives/autosize.js"
|
|
263
|
+
},
|
|
264
|
+
"./directives/clickOutside": {
|
|
265
|
+
"types": "./dist/types/src/directives/clickOutside.d.ts",
|
|
266
|
+
"import": "./dist/directives/clickOutside.js"
|
|
267
|
+
},
|
|
268
|
+
"./directives/dropzone": {
|
|
269
|
+
"types": "./dist/types/src/directives/dropzone.d.ts",
|
|
270
|
+
"import": "./dist/directives/dropzone.js"
|
|
271
|
+
},
|
|
272
|
+
"./directives/hotkey": {
|
|
273
|
+
"types": "./dist/types/src/directives/hotkey.d.ts",
|
|
274
|
+
"import": "./dist/directives/hotkey.js"
|
|
275
|
+
},
|
|
276
|
+
"./directives/loading": {
|
|
277
|
+
"types": "./dist/types/src/directives/loading.d.ts",
|
|
278
|
+
"import": "./dist/directives/loading.js"
|
|
279
|
+
},
|
|
256
280
|
"./fileValidation": {
|
|
257
281
|
"types": "./dist/types/src/fileValidation/index.d.ts",
|
|
258
282
|
"import": "./dist/fileValidation/index.js"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as e, createElementVNode as t, markRaw as n, openBlock as r } from "vue";
|
|
2
|
-
//#region ~icons/lucide/arrow-up
|
|
3
|
-
var i = {
|
|
4
|
-
viewBox: "0 0 24 24",
|
|
5
|
-
width: "1.2em",
|
|
6
|
-
height: "1.2em"
|
|
7
|
-
};
|
|
8
|
-
function a(n, a) {
|
|
9
|
-
return r(), e("svg", i, [...a[0] ||= [t("path", {
|
|
10
|
-
fill: "none",
|
|
11
|
-
stroke: "currentColor",
|
|
12
|
-
"stroke-linecap": "round",
|
|
13
|
-
"stroke-linejoin": "round",
|
|
14
|
-
"stroke-width": "2",
|
|
15
|
-
d: "m5 12l7-7l7 7m-7 7V5"
|
|
16
|
-
}, null, -1)]]);
|
|
17
|
-
}
|
|
18
|
-
var o = n({
|
|
19
|
-
name: "lucide-arrow-up",
|
|
20
|
-
render: a
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
|
-
export { o as t };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { defineGranularComponent as e } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
-
//#region src/components/GrList/config.ts
|
|
3
|
-
var t = e(import.meta.url, {
|
|
4
|
-
name: "GrList",
|
|
5
|
-
safelist: [
|
|
6
|
-
"px-4",
|
|
7
|
-
"py-2",
|
|
8
|
-
"py-3"
|
|
9
|
-
],
|
|
10
|
-
dependencies: ["GrCard"]
|
|
11
|
-
});
|
|
12
|
-
//#endregion
|
|
13
|
-
export { t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { defineGranularComponent as e } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
-
//#region src/components/GrTooltip/config.ts
|
|
3
|
-
var t = e(import.meta.url, {
|
|
4
|
-
name: "GrTooltip",
|
|
5
|
-
dependencies: ["GrIcon"],
|
|
6
|
-
safelist: []
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
9
|
-
export { t };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./classTokens-CT1tqF2j.js";
|
|
2
|
-
import { defineGranularComponent as t } from "@feugene/unocss-preset-granular/contract";
|
|
3
|
-
//#region src/components/GrProgressBar/grStyle.ts
|
|
4
|
-
function n(e) {
|
|
5
|
-
return `[${e}]`;
|
|
6
|
-
}
|
|
7
|
-
var r = {
|
|
8
|
-
primary: "var(--pb-bg,var(--primary))",
|
|
9
|
-
neutral: "var(--pb-neutral-bg,var(--secondary))",
|
|
10
|
-
success: "var(--pb-success-bg,var(--ds-success))",
|
|
11
|
-
warning: "var(--pb-warning-bg,var(--ds-warning))",
|
|
12
|
-
danger: "var(--pb-danger-bg,var(--ds-danger))",
|
|
13
|
-
info: "var(--pb-info-bg,var(--ds-info))",
|
|
14
|
-
slate: "var(--pb-slate-bg,var(--ds-slate))",
|
|
15
|
-
azure: "var(--pb-azure-bg,var(--ds-azure))"
|
|
16
|
-
};
|
|
17
|
-
function i(e) {
|
|
18
|
-
return `bg-${n(r[e])}`;
|
|
19
|
-
}
|
|
20
|
-
var a = { fill: [
|
|
21
|
-
"primary",
|
|
22
|
-
"neutral",
|
|
23
|
-
"success",
|
|
24
|
-
"warning",
|
|
25
|
-
"danger",
|
|
26
|
-
"info",
|
|
27
|
-
"slate",
|
|
28
|
-
"azure"
|
|
29
|
-
].flatMap((t) => e(i(t))) }, o = [...new Set([...a.fill])], s = t(import.meta.url, {
|
|
30
|
-
name: "GrProgressBar",
|
|
31
|
-
safelist: o
|
|
32
|
-
});
|
|
33
|
-
//#endregion
|
|
34
|
-
export { o as n, i as r, s as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./classTokens-CT1tqF2j.js";
|
|
2
|
-
import { a as t, t as n } from "./grDropdownStyles-149X1NeB.js";
|
|
3
|
-
import { defineGranularComponent as r } from "@feugene/unocss-preset-granular/contract";
|
|
4
|
-
//#region src/components/GrDropdown/safelist.ts
|
|
5
|
-
var i = [...new Set([...Object.values(t).flatMap(e), ...Object.values(n).flatMap(e)])], a = r(import.meta.url, {
|
|
6
|
-
name: "GrDropdown",
|
|
7
|
-
safelist: i
|
|
8
|
-
});
|
|
9
|
-
//#endregion
|
|
10
|
-
export { i as n, a as t };
|