@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { n as grButtonSafelist } from "./safelist-BY7z8fOl.js";
|
|
2
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
3
|
+
//#region src/components/GrButton/config.ts
|
|
4
|
+
var grButtonConfig = defineGranularComponent(import.meta.url, {
|
|
5
|
+
name: "GrButton",
|
|
6
|
+
safelist: grButtonSafelist
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { grButtonConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-Dkq0HeLe.js","names":[],"sources":["../../src/components/GrButton/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\nimport { grButtonSafelist } from './safelist'\n\nexport const grButtonConfig = defineGranularComponent(import.meta.url, {\n name: 'GrButton',\n safelist: grButtonSafelist,\n})\n"],"mappings":";;;AAGA,IAAa,iBAAiB,wBAAwB,OAAO,KAAK,KAAK;CACrE,MAAM;CACN,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrTabs/config.ts
|
|
3
|
+
var grTabsConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrTabs",
|
|
5
|
+
safelist: []
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { grTabsConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-DmI1IQvI2.js","names":[],"sources":["../../src/components/GrTabs/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grTabsConfig = defineGranularComponent(import.meta.url, {\n name: 'GrTabs',\n safelist: []\n})\n"],"mappings":";;AAEA,IAAa,eAAe,wBAAwB,OAAO,KAAK,KAAK;CACjE,MAAM;CACN,UAAU,EAAE;CACf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrFormField/config.ts
|
|
3
|
+
var grFormFieldConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrFormField",
|
|
5
|
+
safelist: []
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { grFormFieldConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-Dnu4VuO0.js","names":[],"sources":["../../src/components/GrFormField/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grFormFieldConfig = defineGranularComponent(import.meta.url, {\n name: 'GrFormField',\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,oBAAoB,wBAAwB,OAAO,KAAK,KAAK;CACxE,MAAM;CACN,UAAU,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
|
|
2
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
3
|
+
//#region src/components/GrDrawer/grDrawerStyles.ts
|
|
4
|
+
var panelWidthBySize = {
|
|
5
|
+
sm: "w-[360px] max-w-[90vw]",
|
|
6
|
+
md: "w-[420px] max-w-[92vw]",
|
|
7
|
+
lg: "w-[560px] max-w-[94vw]",
|
|
8
|
+
full: "w-[100vw]"
|
|
9
|
+
};
|
|
10
|
+
var panelSideClass = {
|
|
11
|
+
left: "left-0 border-r",
|
|
12
|
+
right: "right-0 border-l"
|
|
13
|
+
};
|
|
14
|
+
var panelTransitionClass = {
|
|
15
|
+
left: "-translate-x-full",
|
|
16
|
+
right: "translate-x-full"
|
|
17
|
+
};
|
|
18
|
+
function grDrawerPanelClass(options) {
|
|
19
|
+
return [
|
|
20
|
+
panelSideClass[options.side],
|
|
21
|
+
panelWidthBySize[options.size],
|
|
22
|
+
"border-[var(--brd)]",
|
|
23
|
+
"bg-[var(--card)] text-[var(--card-fg)]",
|
|
24
|
+
"shadow-[var(--ds-shadow-2)] outline-none"
|
|
25
|
+
].join(" ");
|
|
26
|
+
}
|
|
27
|
+
function grDrawerPanelEnterFrom(side) {
|
|
28
|
+
return panelTransitionClass[side];
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/GrDrawer/safelist.ts
|
|
32
|
+
var grDrawerSafelist = [...new Set([
|
|
33
|
+
...Object.values(panelSideClass).flatMap(splitClassTokens),
|
|
34
|
+
...Object.values(panelWidthBySize).flatMap(splitClassTokens),
|
|
35
|
+
...Object.values(panelTransitionClass).flatMap(splitClassTokens)
|
|
36
|
+
])];
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/GrDrawer/config.ts
|
|
39
|
+
var grDrawerConfig = defineGranularComponent(import.meta.url, {
|
|
40
|
+
name: "GrDrawer",
|
|
41
|
+
dependencies: ["GrButton", "GrIcon"],
|
|
42
|
+
safelist: grDrawerSafelist
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { grDrawerPanelEnterFrom as i, grDrawerSafelist as n, grDrawerPanelClass as r, grDrawerConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-DxqpV-KM.js","names":[],"sources":["../../src/components/GrDrawer/grDrawerStyles.ts","../../src/components/GrDrawer/safelist.ts","../../src/components/GrDrawer/config.ts"],"sourcesContent":["export type GrDrawerSide = 'left' | 'right'\nexport type GrDrawerSize = 'sm' | 'md' | 'lg' | 'full'\n\nexport const panelWidthBySize: Record<GrDrawerSize, string> = {\n sm: 'w-[360px] max-w-[90vw]',\n md: 'w-[420px] max-w-[92vw]',\n lg: 'w-[560px] max-w-[94vw]',\n full: 'w-[100vw]',\n}\n\nexport const panelSideClass: Record<GrDrawerSide, string> = {\n left: 'left-0 border-r',\n right: 'right-0 border-l',\n}\n\nexport const panelTransitionClass: Record<GrDrawerSide, string> = {\n left: '-translate-x-full',\n right: 'translate-x-full',\n}\n\nexport function grDrawerPanelClass(options: { side: GrDrawerSide, size: GrDrawerSize }): string {\n return [\n panelSideClass[options.side],\n panelWidthBySize[options.size],\n 'border-[var(--brd)]',\n 'bg-[var(--card)] text-[var(--card-fg)]',\n 'shadow-[var(--ds-shadow-2)] outline-none',\n ].join(' ')\n}\n\nexport function grDrawerPanelEnterFrom(side: GrDrawerSide): string {\n return panelTransitionClass[side]\n}\n","import { splitClassTokens } from '../shared/classTokens'\nimport {\n panelSideClass,\n panelTransitionClass,\n panelWidthBySize,\n} from './grDrawerStyles'\n\n// Safelist содержит только динамические токены, выбираемые в рантайме через\n// ключи (`side`/`size`). Литералы, прописанные статически в шаблоне и в функции\n// `grDrawerPanelClass`, UnoCSS находит сканом и здесь не дублируются.\nexport const grDrawerSafelist = [...new Set([\n ...Object.values(panelSideClass).flatMap(splitClassTokens),\n ...Object.values(panelWidthBySize).flatMap(splitClassTokens),\n ...Object.values(panelTransitionClass).flatMap(splitClassTokens),\n])]\n","import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\nimport { grDrawerSafelist } from './safelist'\n\nexport const grDrawerConfig = defineGranularComponent(import.meta.url, {\n name: 'GrDrawer',\n dependencies: ['GrButton', 'GrIcon'],\n safelist: grDrawerSafelist,\n})\n"],"mappings":";;;AAGA,IAAa,mBAAiD;CAC5D,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,MAAM;CACP;AAED,IAAa,iBAA+C;CAC1D,MAAM;CACN,OAAO;CACR;AAED,IAAa,uBAAqD;CAChE,MAAM;CACN,OAAO;CACR;AAED,SAAgB,mBAAmB,SAA6D;AAC9F,QAAO;EACL,eAAe,QAAQ;EACvB,iBAAiB,QAAQ;EACzB;EACA;EACA;EACD,CAAC,KAAK,IAAI;;AAGb,SAAgB,uBAAuB,MAA4B;AACjE,QAAO,qBAAqB;;;;ACrB9B,IAAa,mBAAmB,CAAC,GAAG,IAAI,IAAI;CAC1C,GAAG,OAAO,OAAO,eAAe,CAAC,QAAQ,iBAAiB;CAC1D,GAAG,OAAO,OAAO,iBAAiB,CAAC,QAAQ,iBAAiB;CAC5D,GAAG,OAAO,OAAO,qBAAqB,CAAC,QAAQ,iBAAiB;CACjE,CAAC,CAAC;;;ACXH,IAAa,iBAAiB,wBAAwB,OAAO,KAAK,KAAK;CACrE,MAAM;CACN,cAAc,CAAC,YAAY,SAAS;CACpC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrCheckbox/config.ts
|
|
3
|
+
var grCheckboxConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrCheckbox",
|
|
5
|
+
safelist: []
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { grCheckboxConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-TyzU6gLf.js","names":[],"sources":["../../src/components/GrCheckbox/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grCheckboxConfig = defineGranularComponent(import.meta.url, {\n name: 'GrCheckbox',\n safelist: [],\n})"],"mappings":";;AAEA,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACrE,MAAM;CACN,UAAU,EAAE;CACf,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
|
|
2
|
+
import { a as panelBase, c as panelTransition, d as shell, i as overlayTransition, l as panelWidthBySize, n as layout, o as panelHeightBySize, r as overlay, s as panelRadiusBySize, u as root } from "./grModalStyles-Dv2NXBKi.js";
|
|
3
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
4
|
+
//#region src/components/GrModal/safelist.ts
|
|
5
|
+
function flattenTransition(stages) {
|
|
6
|
+
return Object.values(stages).flatMap(splitClassTokens);
|
|
7
|
+
}
|
|
8
|
+
var grModalClassTokens = {
|
|
9
|
+
root: splitClassTokens(root),
|
|
10
|
+
shell: splitClassTokens(shell),
|
|
11
|
+
layout: splitClassTokens(layout),
|
|
12
|
+
overlay: splitClassTokens(overlay),
|
|
13
|
+
overlayTransition: flattenTransition(overlayTransition),
|
|
14
|
+
panelBase: splitClassTokens(panelBase),
|
|
15
|
+
panelTransition: flattenTransition(panelTransition),
|
|
16
|
+
panelWidth: Object.values(panelWidthBySize).flatMap(splitClassTokens),
|
|
17
|
+
panelRadius: Object.values(panelRadiusBySize).flatMap(splitClassTokens),
|
|
18
|
+
panelHeight: Object.values(panelHeightBySize).flatMap((v) => splitClassTokens(v ?? ""))
|
|
19
|
+
};
|
|
20
|
+
var grModalSafelist = [...new Set([
|
|
21
|
+
...grModalClassTokens.root,
|
|
22
|
+
...grModalClassTokens.shell,
|
|
23
|
+
...grModalClassTokens.layout,
|
|
24
|
+
...grModalClassTokens.overlay,
|
|
25
|
+
...grModalClassTokens.overlayTransition,
|
|
26
|
+
...grModalClassTokens.panelBase,
|
|
27
|
+
...grModalClassTokens.panelTransition,
|
|
28
|
+
...grModalClassTokens.panelWidth,
|
|
29
|
+
...grModalClassTokens.panelRadius,
|
|
30
|
+
...grModalClassTokens.panelHeight
|
|
31
|
+
])];
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/components/GrModal/config.ts
|
|
34
|
+
var grModalConfig = defineGranularComponent(import.meta.url, {
|
|
35
|
+
name: "GrModal",
|
|
36
|
+
safelist: grModalSafelist
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { grModalClassTokens as n, grModalSafelist as r, grModalConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-XwI6t8cn.js","names":[],"sources":["../../src/components/GrModal/safelist.ts","../../src/components/GrModal/config.ts"],"sourcesContent":["import { splitClassTokens } from '../shared/classTokens'\nimport {\n layout,\n overlay,\n overlayTransition,\n panelBase,\n panelHeightBySize,\n panelRadiusBySize,\n panelTransition,\n panelWidthBySize,\n root,\n shell,\n} from './grModalStyles'\n\ntype GrModalClassTokens = {\n root: readonly string[]\n shell: readonly string[]\n layout: readonly string[]\n overlay: readonly string[]\n overlayTransition: readonly string[]\n panelBase: readonly string[]\n panelTransition: readonly string[]\n panelWidth: readonly string[]\n panelRadius: readonly string[]\n panelHeight: readonly string[]\n}\n\nfunction flattenTransition(stages: Record<string, string>): string[] {\n return Object.values(stages).flatMap(splitClassTokens)\n}\n\nexport const grModalClassTokens: GrModalClassTokens = {\n root: splitClassTokens(root),\n shell: splitClassTokens(shell),\n layout: splitClassTokens(layout),\n overlay: splitClassTokens(overlay),\n overlayTransition: flattenTransition(overlayTransition),\n panelBase: splitClassTokens(panelBase),\n panelTransition: flattenTransition(panelTransition),\n panelWidth: Object.values(panelWidthBySize).flatMap(splitClassTokens),\n panelRadius: Object.values(panelRadiusBySize).flatMap(splitClassTokens),\n panelHeight: Object.values(panelHeightBySize).flatMap(v => splitClassTokens(v ?? '')),\n}\n\nexport const grModalSafelist = [...new Set([\n ...grModalClassTokens.root,\n ...grModalClassTokens.shell,\n ...grModalClassTokens.layout,\n ...grModalClassTokens.overlay,\n ...grModalClassTokens.overlayTransition,\n ...grModalClassTokens.panelBase,\n ...grModalClassTokens.panelTransition,\n ...grModalClassTokens.panelWidth,\n ...grModalClassTokens.panelRadius,\n ...grModalClassTokens.panelHeight,\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grModalSafelist } from './safelist'\n\nexport const grModalConfig = defineGranularComponent(import.meta.url, {\n name: 'GrModal',\n safelist: grModalSafelist,\n})"],"mappings":";;;;AA2BA,SAAS,kBAAkB,QAA0C;AACnE,QAAO,OAAO,OAAO,OAAO,CAAC,QAAQ,iBAAiB;;AAGxD,IAAa,qBAAyC;CACpD,MAAM,iBAAiB,KAAK;CAC5B,OAAO,iBAAiB,MAAM;CAC9B,QAAQ,iBAAiB,OAAO;CAChC,SAAS,iBAAiB,QAAQ;CAClC,mBAAmB,kBAAkB,kBAAkB;CACvD,WAAW,iBAAiB,UAAU;CACtC,iBAAiB,kBAAkB,gBAAgB;CACnD,YAAY,OAAO,OAAO,iBAAiB,CAAC,QAAQ,iBAAiB;CACrE,aAAa,OAAO,OAAO,kBAAkB,CAAC,QAAQ,iBAAiB;CACvE,aAAa,OAAO,OAAO,kBAAkB,CAAC,SAAQ,MAAK,iBAAiB,KAAK,GAAG,CAAC;CACtF;AAED,IAAa,kBAAkB,CAAC,GAAG,IAAI,IAAI;CACzC,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACtB,GAAG,mBAAmB;CACvB,CAAC,CAAC;;;ACnDH,IAAa,gBAAgB,wBAAwB,OAAO,KAAK,KAAK;CACpE,MAAM;CACN,UAAU;CACX,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
|
|
2
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
3
|
+
//#region src/components/GrNumberInput/grNumberInputStyles.ts
|
|
4
|
+
var sizeClassBySize = {
|
|
5
|
+
xs: "h-7 px-2.5 text-[12px]",
|
|
6
|
+
sm: "h-8 px-3 text-[13px]",
|
|
7
|
+
md: "h-10 px-3 text-[14px]",
|
|
8
|
+
lg: "h-11 px-4 text-[16px]"
|
|
9
|
+
};
|
|
10
|
+
var textAlignClassByAlign = {
|
|
11
|
+
left: "text-left",
|
|
12
|
+
center: "text-center",
|
|
13
|
+
right: "text-right"
|
|
14
|
+
};
|
|
15
|
+
var borderClassByState = {
|
|
16
|
+
default: "border-[var(--brd)]",
|
|
17
|
+
success: "border-[var(--ds-success)] focus-within:ring-[var(--ds-success)]",
|
|
18
|
+
warning: "border-[var(--ds-warning)] focus-within:ring-[var(--ds-warning)]",
|
|
19
|
+
danger: "border-[var(--ds-danger)] focus-within:ring-[var(--ds-danger)]"
|
|
20
|
+
};
|
|
21
|
+
/** Динамические классы для disabled-состояния shell'а — выбираются в рантайме. */
|
|
22
|
+
var disabledShellClass = "opacity-50 cursor-not-allowed";
|
|
23
|
+
function grNumberInputShellClass(options) {
|
|
24
|
+
return [options.disabled ? disabledShellClass : "", borderClassByState[options.state]].filter(Boolean).join(" ");
|
|
25
|
+
}
|
|
26
|
+
function grNumberInputInputClass(options) {
|
|
27
|
+
return [sizeClassBySize[options.size], textAlignClassByAlign[options.textAlign]].join(" ");
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/GrNumberInput/safelist.ts
|
|
31
|
+
var grNumberInputSafelist = [...new Set([
|
|
32
|
+
...Object.values(sizeClassBySize).flatMap(splitClassTokens),
|
|
33
|
+
...Object.values(textAlignClassByAlign).flatMap(splitClassTokens),
|
|
34
|
+
...Object.values(borderClassByState).flatMap(splitClassTokens),
|
|
35
|
+
...splitClassTokens(disabledShellClass)
|
|
36
|
+
])];
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/GrNumberInput/config.ts
|
|
39
|
+
var grNumberInputConfig = defineGranularComponent(import.meta.url, {
|
|
40
|
+
name: "GrNumberInput",
|
|
41
|
+
safelist: grNumberInputSafelist
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { grNumberInputShellClass as i, grNumberInputSafelist as n, grNumberInputInputClass as r, grNumberInputConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-bpQYM5O-.js","names":[],"sources":["../../src/components/GrNumberInput/grNumberInputStyles.ts","../../src/components/GrNumberInput/safelist.ts","../../src/components/GrNumberInput/config.ts"],"sourcesContent":["export type GrNumberInputState = 'default' | 'success' | 'warning' | 'danger'\nexport type GrNumberInputSize = 'xs' | 'sm' | 'md' | 'lg'\nexport type GrNumberInputControlsDirection = 'vertical' | 'horizontal'\nexport type GrNumberInputTextAlign = 'left' | 'center' | 'right'\n\n// Backward-compatible type aliases.\nexport type NumberInputSize = GrNumberInputSize\nexport type NumberInputControlsDirection = GrNumberInputControlsDirection\n\nexport const sizeClassBySize: Record<GrNumberInputSize, string> = {\n xs: 'h-7 px-2.5 text-[12px]',\n sm: 'h-8 px-3 text-[13px]',\n md: 'h-10 px-3 text-[14px]',\n lg: 'h-11 px-4 text-[16px]',\n}\n\nexport const textAlignClassByAlign: Record<GrNumberInputTextAlign, string> = {\n left: 'text-left',\n center: 'text-center',\n right: 'text-right',\n}\n\nexport const borderClassByState: Record<GrNumberInputState, string> = {\n default: 'border-[var(--brd)]',\n success: 'border-[var(--ds-success)] focus-within:ring-[var(--ds-success)]',\n warning: 'border-[var(--ds-warning)] focus-within:ring-[var(--ds-warning)]',\n danger: 'border-[var(--ds-danger)] focus-within:ring-[var(--ds-danger)]',\n}\n\n/** Динамические классы для disabled-состояния shell'а — выбираются в рантайме. */\nexport const disabledShellClass = 'opacity-50 cursor-not-allowed'\n\nexport function grNumberInputShellClass(options: { disabled: boolean, state: GrNumberInputState }): string {\n return [\n options.disabled ? disabledShellClass : '',\n borderClassByState[options.state],\n ]\n .filter(Boolean)\n .join(' ')\n}\n\nexport function grNumberInputInputClass(options: { size: GrNumberInputSize, textAlign: GrNumberInputTextAlign }): string {\n return [\n sizeClassBySize[options.size],\n textAlignClassByAlign[options.textAlign],\n ].join(' ')\n}\n","import { splitClassTokens } from '../shared/classTokens'\nimport {\n borderClassByState,\n disabledShellClass,\n sizeClassBySize,\n textAlignClassByAlign,\n} from './grNumberInputStyles'\n\n// В safelist кладём только динамические токены, выбираемые по ключам в рантайме\n// (`size`/`textAlign`/`state`/`disabled`). Литералы shell/input/controls прописаны\n// статически в шаблоне — UnoCSS находит их сканом.\nexport const grNumberInputSafelist = [...new Set([\n ...Object.values(sizeClassBySize).flatMap(splitClassTokens),\n ...Object.values(textAlignClassByAlign).flatMap(splitClassTokens),\n ...Object.values(borderClassByState).flatMap(splitClassTokens),\n ...splitClassTokens(disabledShellClass),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grNumberInputSafelist } from './safelist'\n\nexport const grNumberInputConfig = defineGranularComponent(import.meta.url, {\n name: 'GrNumberInput',\n safelist: grNumberInputSafelist,\n})"],"mappings":";;;AASA,IAAa,kBAAqD;CAChE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,IAAa,wBAAgE;CAC3E,MAAM;CACN,QAAQ;CACR,OAAO;CACR;AAED,IAAa,qBAAyD;CACpE,SAAS;CACT,SAAS;CACT,SAAS;CACT,QAAQ;CACT;;AAGD,IAAa,qBAAqB;AAElC,SAAgB,wBAAwB,SAAmE;AACzG,QAAO,CACL,QAAQ,WAAW,qBAAqB,IACxC,mBAAmB,QAAQ,OAC5B,CACE,OAAO,QAAQ,CACf,KAAK,IAAI;;AAGd,SAAgB,wBAAwB,SAAiF;AACvH,QAAO,CACL,gBAAgB,QAAQ,OACxB,sBAAsB,QAAQ,WAC/B,CAAC,KAAK,IAAI;;;;AClCb,IAAa,wBAAwB,CAAC,GAAG,IAAI,IAAI;CAC/C,GAAG,OAAO,OAAO,gBAAgB,CAAC,QAAQ,iBAAiB;CAC3D,GAAG,OAAO,OAAO,sBAAsB,CAAC,QAAQ,iBAAiB;CACjE,GAAG,OAAO,OAAO,mBAAmB,CAAC,QAAQ,iBAAiB;CAC9D,GAAG,iBAAiB,mBAAmB;CACxC,CAAC,CAAC;;;ACZH,IAAa,sBAAsB,wBAAwB,OAAO,KAAK,KAAK;CAC1E,MAAM;CACN,UAAU;CACX,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrDropdownMenu/config.ts
|
|
3
|
+
var grDropdownMenuConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrDropdownMenu",
|
|
5
|
+
dependencies: ["GrDropdown"],
|
|
6
|
+
safelist: []
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { grDropdownMenuConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-etXh7Bsr2.js","names":[],"sources":["../../src/components/GrDropdownMenu/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grDropdownMenuConfig = defineGranularComponent(import.meta.url, {\n name: 'GrDropdownMenu',\n dependencies: ['GrDropdown'],\n // Все токены прописаны статически в шаблонах подкомпонентов — UnoCSS находит их сканом.\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,uBAAuB,wBAAwB,OAAO,KAAK,KAAK;CAC3E,MAAM;CACN,cAAc,CAAC,aAAa;CAE5B,UAAU,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrList/config.ts
|
|
3
|
+
var grListConfig = defineGranularComponent(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 { grListConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-fCcRwjIB.js","names":[],"sources":["../../src/components/GrList/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grListConfig = defineGranularComponent(import.meta.url, {\n name: 'GrList',\n safelist: [\n // GrListItem density\n 'px-4',\n 'py-2',\n 'py-3',\n ],\n dependencies: ['GrCard'],\n})"],"mappings":";;AAEA,IAAa,eAAe,wBAAwB,OAAO,KAAK,KAAK;CACjE,MAAM;CACN,UAAU;EAEN;EACA;EACA;EACH;CACD,cAAc,CAAC,SAAS;CAC3B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrRadioGroup/config.ts
|
|
3
|
+
var grRadioGroupConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrRadioGroup",
|
|
5
|
+
dependencies: ["GrButtonGroup", "GrRadio"],
|
|
6
|
+
safelist: []
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { grRadioGroupConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-nfOMJXVs.js","names":[],"sources":["../../src/components/GrRadioGroup/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grRadioGroupConfig = defineGranularComponent(import.meta.url, {\n name: 'GrRadioGroup',\n dependencies: ['GrButtonGroup', 'GrRadio'],\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,qBAAqB,wBAAwB,OAAO,KAAK,KAAK;CACzE,MAAM;CACN,cAAc,CAAC,iBAAiB,UAAU;CAC1C,UAAU,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrSidebar/config.ts
|
|
3
|
+
var grSidebarConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrSidebar",
|
|
5
|
+
safelist: []
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { grSidebarConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-qJXIIY1E.js","names":[],"sources":["../../src/components/GrSidebar/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grSidebarConfig = defineGranularComponent(import.meta.url, {\n name: 'GrSidebar',\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,kBAAkB,wBAAwB,OAAO,KAAK,KAAK;CACtE,MAAM;CACN,UAAU,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrTooltip/config.ts
|
|
3
|
+
var grTooltipConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrTooltip",
|
|
5
|
+
dependencies: ["GrIcon"],
|
|
6
|
+
safelist: []
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { grTooltipConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-r6hzn2Bn2.js","names":[],"sources":["../../src/components/GrTooltip/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grTooltipConfig = defineGranularComponent(import.meta.url, {\n name: 'GrTooltip',\n dependencies: ['GrIcon'],\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,kBAAkB,wBAAwB,OAAO,KAAK,KAAK;CACpE,MAAM;CACN,cAAc,CAAC,SAAS;CACxB,UAAU,EAAE;CACf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
|
|
2
|
+
//#region src/components/GrCard/config.ts
|
|
3
|
+
var grCardConfig = defineGranularComponent(import.meta.url, {
|
|
4
|
+
name: "GrCard",
|
|
5
|
+
safelist: []
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { grCardConfig as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-rQlbnEKn.js","names":[],"sources":["../../src/components/GrCard/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grCardConfig = defineGranularComponent(import.meta.url, {\n name: 'GrCard',\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,eAAe,wBAAwB,OAAO,KAAK,KAAK;CACnE,MAAM;CACN,UAAU,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/components/GrDialog/dialogShared.ts
|
|
2
|
+
var DEFAULT_GR_DIALOG_HEADER_CONFIG = {
|
|
3
|
+
paddingX: "px-5",
|
|
4
|
+
paddingY: "py-3",
|
|
5
|
+
bordered: true
|
|
6
|
+
};
|
|
7
|
+
var DEFAULT_GR_DIALOG_FOOTER_CONFIG = {
|
|
8
|
+
paddingX: "px-5",
|
|
9
|
+
paddingY: "py-4",
|
|
10
|
+
bordered: true
|
|
11
|
+
};
|
|
12
|
+
var DEFAULT_GR_DIALOG_BODY_CONFIG = {
|
|
13
|
+
paddingX: "px-5",
|
|
14
|
+
paddingY: "py-5",
|
|
15
|
+
bordered: false
|
|
16
|
+
};
|
|
17
|
+
function resolveGrDialogSectionConfig(config, defaults) {
|
|
18
|
+
return {
|
|
19
|
+
paddingX: config?.paddingX ?? defaults.paddingX,
|
|
20
|
+
paddingY: config?.paddingY ?? defaults.paddingY,
|
|
21
|
+
bordered: config?.bordered ?? defaults.bordered
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Нормализует title: пустые/пробельные значения считаются отсутствующими.
|
|
26
|
+
* Единый источник истины для `GrDialog` и `GrDialogHeader`.
|
|
27
|
+
*/
|
|
28
|
+
function resolveGrDialogTitle(raw) {
|
|
29
|
+
return raw?.trim() || void 0;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { resolveGrDialogTitle as a, resolveGrDialogSectionConfig as i, DEFAULT_GR_DIALOG_FOOTER_CONFIG as n, DEFAULT_GR_DIALOG_HEADER_CONFIG as r, DEFAULT_GR_DIALOG_BODY_CONFIG as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialogShared-BtXUk6Zc.js","names":[],"sources":["../../src/components/GrDialog/dialogShared.ts"],"sourcesContent":["export type GrDialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'full'\n\nexport interface GrDialogSectionConfig {\n paddingX?: string\n paddingY?: string\n bordered?: boolean\n}\n\nexport const DEFAULT_GR_DIALOG_HEADER_CONFIG: Required<GrDialogSectionConfig> = {\n paddingX: 'px-5',\n paddingY: 'py-3',\n bordered: true,\n}\n\nexport const DEFAULT_GR_DIALOG_FOOTER_CONFIG: Required<GrDialogSectionConfig> = {\n paddingX: 'px-5',\n paddingY: 'py-4',\n bordered: true,\n}\n\n// `GrDialog` уважает `paddingX/paddingY` из `bodyConfig`, а `bordered` игнорирует\n// (у body-секции нет разумной «верхней» рамки отдельно от хедера/футера).\nexport const DEFAULT_GR_DIALOG_BODY_CONFIG: Required<GrDialogSectionConfig> = {\n paddingX: 'px-5',\n paddingY: 'py-5',\n bordered: false,\n}\n\nexport function resolveGrDialogSectionConfig(\n config: GrDialogSectionConfig | undefined,\n defaults: Required<GrDialogSectionConfig>,\n): Required<GrDialogSectionConfig> {\n return {\n paddingX: config?.paddingX ?? defaults.paddingX,\n paddingY: config?.paddingY ?? defaults.paddingY,\n bordered: config?.bordered ?? defaults.bordered,\n }\n}\n\n/**\n * Нормализует title: пустые/пробельные значения считаются отсутствующими.\n * Единый источник истины для `GrDialog` и `GrDialogHeader`.\n */\nexport function resolveGrDialogTitle(raw: string | undefined): string | undefined {\n return raw?.trim() || undefined\n}\n"],"mappings":";AAQA,IAAa,kCAAmE;CAC9E,UAAU;CACV,UAAU;CACV,UAAU;CACX;AAED,IAAa,kCAAmE;CAC9E,UAAU;CACV,UAAU;CACV,UAAU;CACX;AAID,IAAa,gCAAiE;CAC5E,UAAU;CACV,UAAU;CACV,UAAU;CACX;AAED,SAAgB,6BACd,QACA,UACiC;AACjC,QAAO;EACL,UAAU,QAAQ,YAAY,SAAS;EACvC,UAAU,QAAQ,YAAY,SAAS;EACvC,UAAU,QAAQ,YAAY,SAAS;EACxC;;;;;;AAOH,SAAgB,qBAAqB,KAA6C;AAChF,QAAO,KAAK,MAAM,IAAI,KAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region src/i18n/locales/en.json
|
|
2
|
+
var common = {
|
|
3
|
+
"confirm": "Confirm",
|
|
4
|
+
"cancel": "Cancel",
|
|
5
|
+
"add": "Add",
|
|
6
|
+
"clear": "Clear",
|
|
7
|
+
"close": "Close"
|
|
8
|
+
};
|
|
9
|
+
var loading = { "defaultText": "Loading..." };
|
|
10
|
+
var treeSelect = {
|
|
11
|
+
"filterPlaceholder": "Search…",
|
|
12
|
+
"empty": "No data"
|
|
13
|
+
};
|
|
14
|
+
var dialog = {
|
|
15
|
+
"confirm": { "title": "Confirm" },
|
|
16
|
+
"prompt": {
|
|
17
|
+
"title": "Prompt",
|
|
18
|
+
"label": "Value",
|
|
19
|
+
"required": "Enter a value."
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
var pagination = {
|
|
23
|
+
"pageSize": "Page size",
|
|
24
|
+
"prev": "Prev",
|
|
25
|
+
"next": "Next"
|
|
26
|
+
};
|
|
27
|
+
var navbar = { "openMenu": "Open menu" };
|
|
28
|
+
var colors = {
|
|
29
|
+
"neutral": "Neutral",
|
|
30
|
+
"success": "Success",
|
|
31
|
+
"warning": "Warning",
|
|
32
|
+
"danger": "Danger",
|
|
33
|
+
"info": "Info",
|
|
34
|
+
"primary": "Primary",
|
|
35
|
+
"slate": "Slate",
|
|
36
|
+
"azure": "Azure"
|
|
37
|
+
};
|
|
38
|
+
var en_default = {
|
|
39
|
+
common,
|
|
40
|
+
loading,
|
|
41
|
+
treeSelect,
|
|
42
|
+
dialog,
|
|
43
|
+
pagination,
|
|
44
|
+
navbar,
|
|
45
|
+
colors
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
export { colors, common, en_default as default, dialog, loading, navbar, pagination, treeSelect };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-BeJa78lP.js","names":[],"sources":["../../src/i18n/locales/en.json"],"sourcesContent":["{\n \"common\": {\n \"confirm\": \"Confirm\",\n \"cancel\": \"Cancel\",\n \"add\": \"Add\",\n \"clear\": \"Clear\",\n \"close\": \"Close\"\n },\n \"loading\": {\n \"defaultText\": \"Loading...\"\n },\n \"treeSelect\": {\n \"filterPlaceholder\": \"Search…\",\n \"empty\": \"No data\"\n },\n \"dialog\": {\n \"confirm\": {\n \"title\": \"Confirm\"\n },\n \"prompt\": {\n \"title\": \"Prompt\",\n \"label\": \"Value\",\n \"required\": \"Enter a value.\"\n }\n },\n \"pagination\": {\n \"pageSize\": \"Page size\",\n \"prev\": \"Prev\",\n \"next\": \"Next\"\n },\n \"navbar\": {\n \"openMenu\": \"Open menu\"\n },\n \"colors\": {\n \"neutral\": \"Neutral\",\n \"success\": \"Success\",\n \"warning\": \"Warning\",\n \"danger\": \"Danger\",\n \"info\": \"Info\",\n \"primary\": \"Primary\",\n \"slate\": \"Slate\",\n \"azure\": \"Azure\"\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/i18n/messages/const.ts
|
|
2
|
+
var GRANULARITY_I18N_BLOCK = "gr";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/i18n/messages/en.ts
|
|
5
|
+
/**
|
|
6
|
+
* English locale loaders for the playground app.
|
|
7
|
+
*
|
|
8
|
+
* Exported separately from other locales so that consumers (and bundlers)
|
|
9
|
+
* can import only the languages they actually need — see the
|
|
10
|
+
* "Authoring localization packages" guide in the docs.
|
|
11
|
+
*/
|
|
12
|
+
var en = { en: { ["gr"]: () => import("./en-BeJa78lP.js") } };
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/i18n/messages/ru.ts
|
|
15
|
+
var ru = { ru: { ["gr"]: () => import("./ru-Dqh-2C00.js") } };
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/i18n/messages/es.ts
|
|
18
|
+
var es = { es: { ["gr"]: () => import("./es-axYOwwWD.js") } };
|
|
19
|
+
//#endregion
|
|
20
|
+
export { GRANULARITY_I18N_BLOCK as i, ru as n, en as r, es as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es-BPqm7rLm.js","names":[],"sources":["../../src/i18n/messages/const.ts","../../src/i18n/messages/en.ts","../../src/i18n/messages/ru.ts","../../src/i18n/messages/es.ts"],"sourcesContent":["export const GRANULARITY_I18N_BLOCK = 'gr'","import type {LocaleLoaderCollection} from '@feugene/fint-i18n/core'\nimport {GRANULARITY_I18N_BLOCK} from \"./const\";\n\n/**\n * English locale loaders for the playground app.\n *\n * Exported separately from other locales so that consumers (and bundlers)\n * can import only the languages they actually need — see the\n * \"Authoring localization packages\" guide in the docs.\n */\nexport const en = {\n en: {\n [GRANULARITY_I18N_BLOCK]: () => import('../locales/en.json'),\n },\n} satisfies LocaleLoaderCollection\n\nexport default en\n","import type {LocaleLoaderCollection} from '@feugene/fint-i18n/core'\nimport {GRANULARITY_I18N_BLOCK} from \"./const\";\n\nexport const ru = {\n ru: {\n [GRANULARITY_I18N_BLOCK]: () => import('../locales/ru.json'),\n },\n} satisfies LocaleLoaderCollection\n\nexport default ru\n","import type {LocaleLoaderCollection} from '@feugene/fint-i18n/core'\nimport {GRANULARITY_I18N_BLOCK} from \"./const\";\n\nexport const es = {\n es: {\n [GRANULARITY_I18N_BLOCK]: () => import('../locales/es.json'),\n },\n} satisfies LocaleLoaderCollection\n\nexport default es\n"],"mappings":";AAAA,IAAa,yBAAyB;;;;;;;;;;ACUtC,IAAa,KAAK,EACd,IAAI,GAAA,aACgC,OAAO,qBAC1C,EACJ;;;ACXD,IAAa,KAAK,EACd,IAAI,GAAA,aACgC,OAAO,qBAC1C,EACJ;;;ACJD,IAAa,KAAK,EACd,IAAI,GAAA,aACgC,OAAO,qBAC1C,EACJ"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region src/i18n/locales/es.json
|
|
2
|
+
var common = {
|
|
3
|
+
"confirm": "Confirmar",
|
|
4
|
+
"cancel": "Cancelar",
|
|
5
|
+
"add": "Añadir",
|
|
6
|
+
"clear": "Limpiar",
|
|
7
|
+
"close": "Cerrar"
|
|
8
|
+
};
|
|
9
|
+
var loading = { "defaultText": "Cargando..." };
|
|
10
|
+
var treeSelect = {
|
|
11
|
+
"filterPlaceholder": "Buscar…",
|
|
12
|
+
"empty": "Sin datos"
|
|
13
|
+
};
|
|
14
|
+
var dialog = {
|
|
15
|
+
"confirm": { "title": "Confirmar" },
|
|
16
|
+
"prompt": {
|
|
17
|
+
"title": "Aviso",
|
|
18
|
+
"label": "Valor",
|
|
19
|
+
"required": "Introduzca un valor."
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
var pagination = {
|
|
23
|
+
"pageSize": "Tamaño de página",
|
|
24
|
+
"prev": "Anterior",
|
|
25
|
+
"next": "Siguiente"
|
|
26
|
+
};
|
|
27
|
+
var navbar = { "openMenu": "Abrir menú" };
|
|
28
|
+
var colors = {
|
|
29
|
+
"neutral": "Neutral",
|
|
30
|
+
"success": "Éxito",
|
|
31
|
+
"warning": "Advertencia",
|
|
32
|
+
"danger": "Peligro",
|
|
33
|
+
"info": "Info",
|
|
34
|
+
"primary": "Primario",
|
|
35
|
+
"slate": "Pizarra",
|
|
36
|
+
"azure": "Azul celeste"
|
|
37
|
+
};
|
|
38
|
+
var es_default = {
|
|
39
|
+
common,
|
|
40
|
+
loading,
|
|
41
|
+
treeSelect,
|
|
42
|
+
dialog,
|
|
43
|
+
pagination,
|
|
44
|
+
navbar,
|
|
45
|
+
colors
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
export { colors, common, es_default as default, dialog, loading, navbar, pagination, treeSelect };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es-axYOwwWD.js","names":[],"sources":["../../src/i18n/locales/es.json"],"sourcesContent":["{\n \"common\": {\n \"confirm\": \"Confirmar\",\n \"cancel\": \"Cancelar\",\n \"add\": \"Añadir\",\n \"clear\": \"Limpiar\",\n \"close\": \"Cerrar\"\n },\n \"loading\": {\n \"defaultText\": \"Cargando...\"\n },\n \"treeSelect\": {\n \"filterPlaceholder\": \"Buscar…\",\n \"empty\": \"Sin datos\"\n },\n \"dialog\": {\n \"confirm\": {\n \"title\": \"Confirmar\"\n },\n \"prompt\": {\n \"title\": \"Aviso\",\n \"label\": \"Valor\",\n \"required\": \"Introduzca un valor.\"\n }\n },\n \"pagination\": {\n \"pageSize\": \"Tamaño de página\",\n \"prev\": \"Anterior\",\n \"next\": \"Siguiente\"\n },\n \"navbar\": {\n \"openMenu\": \"Abrir menú\"\n },\n \"colors\": {\n \"neutral\": \"Neutral\",\n \"success\": \"Éxito\",\n \"warning\": \"Advertencia\",\n \"danger\": \"Peligro\",\n \"info\": \"Info\",\n \"primary\": \"Primario\",\n \"slate\": \"Pizarra\",\n \"azure\": \"Azul celeste\"\n }\n}\n"],"mappings":""}
|