@feugene/granularity 0.4.0 → 0.4.1
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-C7fKeUa4.js +6 -0
- package/dist/chunks/adapter-C7fKeUa4.js.map +1 -0
- package/dist/chunks/arrow-up-DNXrMoAI.js +25 -0
- package/dist/chunks/arrow-up-DNXrMoAI.js.map +1 -0
- package/dist/chunks/classTokens-BPeBXNzu.js +8 -0
- package/dist/chunks/classTokens-BPeBXNzu.js.map +1 -0
- package/dist/chunks/config-2wgwWaAB.js +10 -0
- package/dist/chunks/config-2wgwWaAB.js.map +1 -0
- package/dist/chunks/config-BKRmlivc.js +10 -0
- package/dist/chunks/config-BKRmlivc.js.map +1 -0
- package/dist/chunks/config-BRU5PR8_.js +10 -0
- package/dist/chunks/config-BRU5PR8_.js.map +1 -0
- package/dist/chunks/config-BUGfFjmC.js +16 -0
- package/dist/chunks/config-BUGfFjmC.js.map +1 -0
- package/dist/chunks/config-BXffa3ta.js +60 -0
- package/dist/chunks/config-BXffa3ta.js.map +1 -0
- package/dist/chunks/config-BaMO9dQh.js +22 -0
- package/dist/chunks/config-BaMO9dQh.js.map +1 -0
- package/dist/chunks/config-BbtK511H.js +11 -0
- package/dist/chunks/config-BbtK511H.js.map +1 -0
- package/dist/chunks/config-BcFOkUhh.js +15 -0
- package/dist/chunks/config-BcFOkUhh.js.map +1 -0
- package/dist/chunks/config-BcpRsZTe.js +10 -0
- package/dist/chunks/config-BcpRsZTe.js.map +1 -0
- package/dist/chunks/config-BhubOeci.js +15 -0
- package/dist/chunks/config-BhubOeci.js.map +1 -0
- package/dist/chunks/config-BhvNm4Pp.js +173 -0
- package/dist/chunks/config-BhvNm4Pp.js.map +1 -0
- package/dist/chunks/config-Bv2G0OU6.js +10 -0
- package/dist/chunks/config-Bv2G0OU6.js.map +1 -0
- package/dist/chunks/config-Bv5Dok4j.js +41 -0
- package/dist/chunks/config-Bv5Dok4j.js.map +1 -0
- package/dist/chunks/config-BzQ4S4Hb.js +11 -0
- package/dist/chunks/config-BzQ4S4Hb.js.map +1 -0
- package/dist/chunks/config-BzZGpWsj.js +11 -0
- package/dist/chunks/config-BzZGpWsj.js.map +1 -0
- package/dist/chunks/config-C0b_3LJV.js +42 -0
- package/dist/chunks/config-C0b_3LJV.js.map +1 -0
- package/dist/chunks/config-C2JKq8-2.js +60 -0
- package/dist/chunks/config-C2JKq8-2.js.map +1 -0
- package/dist/chunks/config-C6SBJxcH.js +10 -0
- package/dist/chunks/config-C6SBJxcH.js.map +1 -0
- package/dist/chunks/config-CJbjLC5X.js +55 -0
- package/dist/chunks/config-CJbjLC5X.js.map +1 -0
- package/dist/chunks/config-CJeyaUTp.js +40 -0
- package/dist/chunks/config-CJeyaUTp.js.map +1 -0
- package/dist/chunks/config-CMZE2fu0.js +11 -0
- package/dist/chunks/config-CMZE2fu0.js.map +1 -0
- package/dist/chunks/config-CU_CBd0k.js +24 -0
- package/dist/chunks/config-CU_CBd0k.js.map +1 -0
- package/dist/chunks/config-CYPU3ztl.js +26 -0
- package/dist/chunks/config-CYPU3ztl.js.map +1 -0
- package/dist/chunks/config-CcmeMlic.js +19 -0
- package/dist/chunks/config-CcmeMlic.js.map +1 -0
- package/dist/chunks/config-CdAx6ify2.js +11 -0
- package/dist/chunks/config-CdAx6ify2.js.map +1 -0
- package/dist/chunks/config-CxCAfXZ1.js +23 -0
- package/dist/chunks/config-CxCAfXZ1.js.map +1 -0
- package/dist/chunks/config-D1gSaT52.js +11 -0
- package/dist/chunks/config-D1gSaT52.js.map +1 -0
- package/dist/chunks/config-D7iuXJbl.js +11 -0
- package/dist/chunks/config-D7iuXJbl.js.map +1 -0
- package/dist/chunks/config-D7tRu8u3.js +11 -0
- package/dist/chunks/config-D7tRu8u3.js.map +1 -0
- package/dist/chunks/config-DBYCntwl.js +10 -0
- package/dist/chunks/config-DBYCntwl.js.map +1 -0
- package/dist/chunks/config-DFRYOcrP.js +11 -0
- package/dist/chunks/config-DFRYOcrP.js.map +1 -0
- package/dist/chunks/config-DW_RqmUp.js +10 -0
- package/dist/chunks/config-DW_RqmUp.js.map +1 -0
- package/dist/chunks/config-Dkq0HeLe.js +11 -0
- package/dist/chunks/config-Dkq0HeLe.js.map +1 -0
- package/dist/chunks/config-DlLE49_I.js +11 -0
- package/dist/chunks/config-DlLE49_I.js.map +1 -0
- package/dist/chunks/config-DvTUDLT1.js +46 -0
- package/dist/chunks/config-DvTUDLT1.js.map +1 -0
- package/dist/chunks/config-DwB5-qdP2.js +10 -0
- package/dist/chunks/config-DwB5-qdP2.js.map +1 -0
- package/dist/chunks/config-DxqMXzNV2.js +25 -0
- package/dist/chunks/config-DxqMXzNV2.js.map +1 -0
- package/dist/chunks/config-DxqpV-KM.js +47 -0
- package/dist/chunks/config-DxqpV-KM.js.map +1 -0
- package/dist/chunks/config-Dzz9P-GV2.js +11 -0
- package/dist/chunks/config-Dzz9P-GV2.js.map +1 -0
- package/dist/chunks/config-KGTIAFD92.js +10 -0
- package/dist/chunks/config-KGTIAFD92.js.map +1 -0
- package/dist/chunks/config-TyzU6gLf.js +10 -0
- package/dist/chunks/config-TyzU6gLf.js.map +1 -0
- package/dist/chunks/config-cn6knwud.js +37 -0
- package/dist/chunks/config-cn6knwud.js.map +1 -0
- package/dist/chunks/config-dD6Po-Cq.js +10 -0
- package/dist/chunks/config-dD6Po-Cq.js.map +1 -0
- package/dist/chunks/config-rFwazRKi.js +11 -0
- package/dist/chunks/config-rFwazRKi.js.map +1 -0
- package/dist/chunks/config-rQlbnEKn.js +10 -0
- package/dist/chunks/config-rQlbnEKn.js.map +1 -0
- package/dist/chunks/config-rxFL-6yF2.js +80 -0
- package/dist/chunks/config-rxFL-6yF2.js.map +1 -0
- package/dist/chunks/config-ug8O8epd.js +13 -0
- package/dist/chunks/config-ug8O8epd.js.map +1 -0
- package/dist/chunks/dialogShared-BtXUk6Zc.js +34 -0
- package/dist/chunks/dialogShared-BtXUk6Zc.js.map +1 -0
- package/dist/chunks/directives-Cuib0yOO.js +728 -0
- package/dist/chunks/directives-Cuib0yOO.js.map +1 -0
- package/dist/chunks/en-BMjJZttK.js +50 -0
- package/dist/chunks/en-BMjJZttK.js.map +1 -0
- package/dist/chunks/es-Cu_RlgIr.js +22 -0
- package/dist/chunks/es-Cu_RlgIr.js.map +1 -0
- package/dist/chunks/es-EYCf8G_1.js +50 -0
- package/dist/chunks/es-EYCf8G_1.js.map +1 -0
- package/dist/chunks/fileValidation-CgjTGoUx.js +221 -0
- package/dist/chunks/fileValidation-CgjTGoUx.js.map +1 -0
- package/dist/chunks/{grBadgeStyles-Bu4H8bFc.js → grBadgeStyles-pqqbVgLk.js} +20 -13
- package/dist/chunks/grBadgeStyles-pqqbVgLk.js.map +1 -0
- package/dist/chunks/{grButtonStyles-C5k0bN2e.js → grButtonStyles-BxZW2x0-.js} +62 -52
- package/dist/chunks/grButtonStyles-BxZW2x0-.js.map +1 -0
- package/dist/chunks/grDropdownStyles-DQfLh-bp.js +34 -0
- package/dist/chunks/grDropdownStyles-DQfLh-bp.js.map +1 -0
- package/dist/chunks/grLoadingStyles-CERsxyk9.js +19 -0
- package/dist/chunks/grLoadingStyles-CERsxyk9.js.map +1 -0
- package/dist/chunks/grModalStyles-Dv2NXBKi.js +49 -0
- package/dist/chunks/grModalStyles-Dv2NXBKi.js.map +1 -0
- package/dist/chunks/grSelectStyles-C1zNEkV7.js +52 -0
- package/dist/chunks/grSelectStyles-C1zNEkV7.js.map +1 -0
- package/dist/chunks/granularityI18n-BEWP9aJs.js +28 -0
- package/dist/chunks/granularityI18n-BEWP9aJs.js.map +1 -0
- package/dist/chunks/info-C0bHmdZq.js +28 -0
- package/dist/chunks/info-C0bHmdZq.js.map +1 -0
- package/dist/chunks/loader-circle-B2rWDk5u.js +25 -0
- package/dist/chunks/loader-circle-B2rWDk5u.js.map +1 -0
- package/dist/chunks/ru-DKswMSdd.js +50 -0
- package/dist/chunks/ru-DKswMSdd.js.map +1 -0
- package/dist/chunks/safelist-BF822K15.js +15 -0
- package/dist/chunks/safelist-BF822K15.js.map +1 -0
- package/dist/chunks/safelist-BY7z8fOl.js +26 -0
- package/dist/chunks/safelist-BY7z8fOl.js.map +1 -0
- package/dist/chunks/{shared-BqUqjuxn.js → shared-Bvjkhhm2.js} +151 -111
- package/dist/chunks/shared-Bvjkhhm2.js.map +1 -0
- package/dist/chunks/transition-mJ3PZCHH.js +1694 -0
- package/dist/chunks/transition-mJ3PZCHH.js.map +1 -0
- package/dist/chunks/x-Pa6C2hwi.js +25 -0
- package/dist/chunks/x-Pa6C2hwi.js.map +1 -0
- package/dist/chunks/x-circle-DQSlBLmX.js +69 -0
- package/dist/chunks/x-circle-DQSlBLmX.js.map +1 -0
- package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js +148 -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 +43 -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 +34 -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 +35 -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 +33 -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 +85 -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 +23 -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 +13 -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 +136 -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 +207 -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 +133 -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 +181 -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 +223 -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 +158 -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-DVTU32T_.js +153 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-DVTU32T_.js.map +1 -0
- package/dist/components/GrDropdown/index.js +3 -3
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-fePQRcgh.js +311 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-fePQRcgh.js.map +1 -0
- package/dist/components/GrDropdownMenu/index.js +3 -3
- package/dist/components/GrEmptyState/chunks/GrEmptyState-Bs8d3tgb.js +64 -0
- package/dist/components/GrEmptyState/chunks/GrEmptyState-Bs8d3tgb.js.map +1 -0
- package/dist/components/GrEmptyState/index.js +3 -3
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DVv8yXpl.js +370 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DVv8yXpl.js.map +1 -0
- package/dist/components/GrFileUpload/index.js +4 -4
- package/dist/components/GrFormField/chunks/GrFormField-BzezYcS8.js +37 -0
- package/dist/components/GrFormField/chunks/GrFormField-BzezYcS8.js.map +1 -0
- package/dist/components/GrFormField/index.js +3 -3
- package/dist/components/GrFormFile/chunks/GrFormFile-DtZOypJW.js +315 -0
- package/dist/components/GrFormFile/chunks/GrFormFile-DtZOypJW.js.map +1 -0
- package/dist/components/GrFormFile/index.js +3 -3
- package/dist/components/GrFormSection/chunks/GrFormSection-BIPB1RIk.js +37 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-BIPB1RIk.js.map +1 -0
- package/dist/components/GrFormSection/index.js +3 -3
- package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js +34 -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-fn8ilJTA.js +399 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-fn8ilJTA.js.map +1 -0
- package/dist/components/GrImageViewer/index.js +3 -3
- package/dist/components/GrInput/chunks/GrInput-DLLRrH1A.js +213 -0
- package/dist/components/GrInput/chunks/GrInput-DLLRrH1A.js.map +1 -0
- package/dist/components/GrInput/index.js +3 -3
- package/dist/components/GrInputTag/chunks/GrInputTag-CzrrBxgU.js +259 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-CzrrBxgU.js.map +1 -0
- package/dist/components/GrInputTag/index.js +3 -3
- package/dist/components/GrLink/chunks/GrLink-Dhkid3Mp.js +82 -0
- package/dist/components/GrLink/chunks/GrLink-Dhkid3Mp.js.map +1 -0
- package/dist/components/GrLink/index.js +3 -3
- package/dist/components/GrList/chunks/GrList-CjgeVjhY.js +79 -0
- package/dist/components/GrList/chunks/GrList-CjgeVjhY.js.map +1 -0
- package/dist/components/GrList/index.js +3 -3
- package/dist/components/GrLoading/chunks/GrLoading-DihGX3ol.js +71 -0
- package/dist/components/GrLoading/chunks/GrLoading-DihGX3ol.js.map +1 -0
- package/dist/components/GrLoading/index.js +3 -3
- package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js +170 -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-CQOAfO6y.js +77 -0
- package/dist/components/GrNavbar/chunks/GrNavbar-CQOAfO6y.js.map +1 -0
- package/dist/components/GrNavbar/index.js +3 -3
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CyHgUotG.js +399 -0
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CyHgUotG.js.map +1 -0
- package/dist/components/GrNumberInput/index.js +3 -3
- package/dist/components/GrPagination/chunks/GrPagination-C5cxRJsF.js +116 -0
- package/dist/components/GrPagination/chunks/GrPagination-C5cxRJsF.js.map +1 -0
- package/dist/components/GrPagination/index.js +3 -3
- package/dist/components/GrProgressBar/chunks/GrProgressBar-C9wAAFxR.js +41 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-C9wAAFxR.js.map +1 -0
- package/dist/components/GrProgressBar/index.js +3 -3
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Cfq9bvL3.js +192 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Cfq9bvL3.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +3 -3
- package/dist/components/GrRadio/chunks/GrRadio-B_t_ZNVl.js +186 -0
- package/dist/components/GrRadio/chunks/GrRadio-B_t_ZNVl.js.map +1 -0
- package/dist/components/GrRadio/index.js +3 -3
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CVlgpUBr.js +82 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CVlgpUBr.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +3 -3
- package/dist/components/GrSegmented/chunks/GrSegmented-BPl1koHc.js +325 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-BPl1koHc.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-aVqUL-1F.js +445 -0
- package/dist/components/GrSelect/chunks/GrSelect-aVqUL-1F.js.map +1 -0
- package/dist/components/GrSelect/index.js +3 -3
- package/dist/components/GrSidebar/chunks/GrSidebar-DVucgcfV.js +46 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-DVucgcfV.js.map +1 -0
- package/dist/components/GrSidebar/index.js +3 -3
- package/dist/components/GrSkeleton/chunks/GrSkeleton-CDTvCSoH.js +35 -0
- package/dist/components/GrSkeleton/chunks/GrSkeleton-CDTvCSoH.js.map +1 -0
- package/dist/components/GrSkeleton/index.js +3 -3
- package/dist/components/GrSwitch/chunks/GrSwitch-Bnamgqb2.js +81 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-Bnamgqb2.js.map +1 -0
- package/dist/components/GrSwitch/index.js +3 -3
- package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js +59 -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-CiGmcmvm.js +120 -0
- package/dist/components/GrTabs/chunks/GrTabs-CiGmcmvm.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-VBSc6A7D.js +73 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-VBSc6A7D.js.map +1 -0
- package/dist/components/GrTextarea/index.js +3 -3
- package/dist/components/GrToaster/chunks/GrToaster-I1e-zCpf.js +173 -0
- package/dist/components/GrToaster/chunks/GrToaster-I1e-zCpf.js.map +1 -0
- package/dist/components/GrToaster/index.js +3 -3
- package/dist/components/GrTooltip/chunks/GrTooltip-CrV1gI_c.js +57 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-CrV1gI_c.js.map +1 -0
- package/dist/components/GrTooltip/index.js +3 -3
- package/dist/components/GrTree/chunks/GrTree-Dlev9oBd.js +736 -0
- package/dist/components/GrTree/chunks/GrTree-Dlev9oBd.js.map +1 -0
- package/dist/components/GrTree/index.js +3 -3
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DN6XFjOD.js +456 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DN6XFjOD.js.map +1 -0
- package/dist/components/GrTreeSelect/index.js +3 -3
- package/dist/composables/useTheme.js +41 -30
- package/dist/composables/useTheme.js.map +1 -0
- package/dist/composables/useToast.js +43 -34
- package/dist/composables/useToast.js.map +1 -0
- package/dist/directives/index.js +2 -2
- package/dist/fileValidation/index.js +2 -2
- package/dist/granular-provider-node.js +25 -14
- package/dist/granular-provider-node.js.map +1 -0
- package/dist/granular-provider.js +5 -3
- package/dist/granular-provider.js.map +1 -0
- package/dist/i18n/all.js +8 -6
- package/dist/i18n/all.js.map +1 -0
- package/dist/i18n/index.js +3 -3
- package/dist/index.js +105 -105
- package/dist/vue/index.js +66 -26
- package/dist/vue/index.js.map +1 -0
- package/package.json +1 -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/grDropdownStyles-149X1NeB.js +0 -31
- package/dist/chunks/grLoadingStyles-Bjo7ylmq.js +0 -15
- package/dist/chunks/grModalStyles-Dmd4havY.js +0 -38
- 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
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
import { a as e } from "../../../chunks/directives-Dr5NPOT8.js";
|
|
2
|
-
import { t } from "../../GrInput/chunks/GrInput-CLKX1inm.js";
|
|
3
|
-
import { a as n, i as r, n as ee, r as te, t as ne } from "../../../chunks/grSelectStyles-C3QKIn1J.js";
|
|
4
|
-
import { Fragment as i, Teleport as a, Transition as re, computed as o, createBlock as ie, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onUnmounted as ae, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as oe, vShow as se, watch as ce, withCtx as le, withDirectives as b, withKeys as ue, withModifiers as x } from "vue";
|
|
5
|
-
//#region src/components/GrSelect/GrSelect.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var de = [
|
|
7
|
-
"value",
|
|
8
|
-
"multiple",
|
|
9
|
-
"disabled",
|
|
10
|
-
"aria-label"
|
|
11
|
-
], S = {
|
|
12
|
-
key: 0,
|
|
13
|
-
value: ""
|
|
14
|
-
}, C = ["value"], fe = ["value"], pe = {
|
|
15
|
-
key: 0,
|
|
16
|
-
"data-testid": "ds-select-chevron",
|
|
17
|
-
class: "absolute top-1/2 -translate-y-1/2 right-3 text-[var(--muted-fg)] pointer-events-none"
|
|
18
|
-
}, me = [
|
|
19
|
-
"disabled",
|
|
20
|
-
"aria-label",
|
|
21
|
-
"aria-expanded"
|
|
22
|
-
], he = { class: "min-w-0 flex-1" }, ge = {
|
|
23
|
-
key: 0,
|
|
24
|
-
class: "shrink-0 h-4 w-4",
|
|
25
|
-
"aria-hidden": "true"
|
|
26
|
-
}, _e = {
|
|
27
|
-
key: 1,
|
|
28
|
-
"data-testid": "ds-select-chevron",
|
|
29
|
-
class: "shrink-0 text-[var(--muted-fg)] pointer-events-none"
|
|
30
|
-
}, ve = ["disabled", "aria-label"], ye = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "p-2 border-b border-[var(--brd)]"
|
|
33
|
-
}, be = ["aria-multiselectable"], xe = ["aria-selected", "onClick"], Se = { class: "flex items-center gap-2 min-w-0" }, Ce = { class: "truncate" }, w = /* @__PURE__ */ d({
|
|
34
|
-
__name: "GrSelect",
|
|
35
|
-
props: {
|
|
36
|
-
modelValue: {},
|
|
37
|
-
options: { default: void 0 },
|
|
38
|
-
disabled: {
|
|
39
|
-
type: Boolean,
|
|
40
|
-
default: !1
|
|
41
|
-
},
|
|
42
|
-
ariaLabel: { default: void 0 },
|
|
43
|
-
view: { default: "default" },
|
|
44
|
-
size: { default: "md" },
|
|
45
|
-
placeholder: { default: void 0 },
|
|
46
|
-
multiple: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
|
-
},
|
|
50
|
-
optionsView: { default: "native" },
|
|
51
|
-
allowCustomValue: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
customValuePlaceholder: { default: "Add value…" },
|
|
56
|
-
dropdownMaxHeight: { default: 280 },
|
|
57
|
-
closeOnSelect: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: !0
|
|
60
|
-
},
|
|
61
|
-
clearable: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: !1
|
|
64
|
-
},
|
|
65
|
-
clearLabel: { default: "Clear" },
|
|
66
|
-
variant: { default: "primary" },
|
|
67
|
-
underline: { default: "auto" }
|
|
68
|
-
},
|
|
69
|
-
emits: ["update:modelValue"],
|
|
70
|
-
setup(d, { emit: w }) {
|
|
71
|
-
let T = d, E = o(() => T.view === "link" ? n : ne), D = o(() => T.view === "link" ? "relative inline-block align-baseline" : "relative w-full"), O = w, k = o(() => T.options ?? []);
|
|
72
|
-
function A(e) {
|
|
73
|
-
return Array.isArray(e) ? e : e ? [e] : [];
|
|
74
|
-
}
|
|
75
|
-
let j = o(() => Array.isArray(T.modelValue) ? T.modelValue[0] ?? "" : T.modelValue), M = o(() => A(T.modelValue)), N = o(() => T.multiple ? M.value : j.value ? [j.value] : []), P = o(() => N.value.length > 0), we = o(() => {
|
|
76
|
-
let e = new Map(k.value.map((e) => [e.value, e]));
|
|
77
|
-
return N.value.map((t) => e.get(t) ?? {
|
|
78
|
-
value: t,
|
|
79
|
-
label: t
|
|
80
|
-
});
|
|
81
|
-
}), F = o(() => T.multiple ? !1 : k.value.some((e) => e.value === j.value)), I = o(() => T.multiple ? N.value.length ? N.value.map((e) => k.value.find((t) => t.value === e)?.label ?? e).join(", ") : "" : k.value.find((e) => e.value === j.value)?.label ?? j.value), Te = o(() => P.value ? I.value : T.placeholder ?? ""), Ee = o(() => !T.allowCustomValue || T.optionsView !== "native" || T.multiple || !T.options || j.value === "" ? !1 : !F.value), L = g(""), R = g(!1), z = g(null), B = g(null), V = g(null), De = [() => B.value], H = g({
|
|
82
|
-
left: "0px",
|
|
83
|
-
top: "0px",
|
|
84
|
-
width: "0px",
|
|
85
|
-
zIndex: "2147483647"
|
|
86
|
-
});
|
|
87
|
-
function U() {
|
|
88
|
-
if (typeof window > "u") return;
|
|
89
|
-
let e = z.value;
|
|
90
|
-
if (!e) return;
|
|
91
|
-
let t = e.getBoundingClientRect();
|
|
92
|
-
H.value = {
|
|
93
|
-
left: `${t.left}px`,
|
|
94
|
-
top: `${t.bottom + 8}px`,
|
|
95
|
-
width: `${t.width}px`,
|
|
96
|
-
zIndex: "2147483647"
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function Oe() {
|
|
100
|
-
typeof window > "u" || (window.addEventListener("resize", U), window.addEventListener("scroll", U, !0));
|
|
101
|
-
}
|
|
102
|
-
function W() {
|
|
103
|
-
typeof window > "u" || (window.removeEventListener("resize", U), window.removeEventListener("scroll", U, !0));
|
|
104
|
-
}
|
|
105
|
-
function G() {
|
|
106
|
-
R.value = !1;
|
|
107
|
-
}
|
|
108
|
-
function ke() {
|
|
109
|
-
T.disabled || (R.value = !R.value);
|
|
110
|
-
}
|
|
111
|
-
function K(e) {
|
|
112
|
-
e.key === "Escape" && G();
|
|
113
|
-
}
|
|
114
|
-
ce(R, async (e) => {
|
|
115
|
-
if (!(typeof document > "u")) {
|
|
116
|
-
if (document.removeEventListener("keydown", K), W(), e && document.addEventListener("keydown", K), !e) {
|
|
117
|
-
L.value = "";
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
Oe(), await f(), U(), T.allowCustomValue && V.value?.focus();
|
|
121
|
-
}
|
|
122
|
-
}, { immediate: !0 }), ae(() => {
|
|
123
|
-
typeof document > "u" || (document.removeEventListener("keydown", K), W());
|
|
124
|
-
});
|
|
125
|
-
let Ae = o(() => te), je = o(() => {
|
|
126
|
-
let e = k.value, t = !T.allowCustomValue || T.multiple || j.value === "" || F.value ? e : [{
|
|
127
|
-
value: j.value,
|
|
128
|
-
label: j.value
|
|
129
|
-
}, ...e];
|
|
130
|
-
if (!T.allowCustomValue) return t;
|
|
131
|
-
let n = L.value.trim().toLowerCase();
|
|
132
|
-
return n ? t.filter((e) => e.label.toLowerCase().includes(n) || e.value.toLowerCase().includes(n)) : t;
|
|
133
|
-
}), Me = o(() => {
|
|
134
|
-
if (!T.allowCustomValue || T.optionsView !== "panel") return !1;
|
|
135
|
-
let e = L.value.trim();
|
|
136
|
-
return e ? T.multiple ? N.value.includes(e) ? !1 : !k.value.some((t) => t.value === e) : e === j.value ? !1 : !k.value.some((t) => t.value === e) : !1;
|
|
137
|
-
});
|
|
138
|
-
function q(e) {
|
|
139
|
-
O("update:modelValue", e);
|
|
140
|
-
}
|
|
141
|
-
function J(e) {
|
|
142
|
-
return N.value.includes(e);
|
|
143
|
-
}
|
|
144
|
-
function Ne(e) {
|
|
145
|
-
q(e), T.closeOnSelect && G();
|
|
146
|
-
}
|
|
147
|
-
function Y(e) {
|
|
148
|
-
if (!T.multiple) {
|
|
149
|
-
Ne(e);
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
let t = N.value.slice(), n = t.indexOf(e);
|
|
153
|
-
n >= 0 ? t.splice(n, 1) : t.push(e), q(t), T.closeOnSelect && G();
|
|
154
|
-
}
|
|
155
|
-
function X() {
|
|
156
|
-
let e = L.value.trim();
|
|
157
|
-
e && Y(e);
|
|
158
|
-
}
|
|
159
|
-
let Z = o(() => T.optionsView === "native" && T.view !== "link" && !T.multiple), Pe = o(() => !T.clearable || T.optionsView !== "native" || T.multiple ? !1 : T.options ? !T.options.some((e) => e.value === "") : !0), Q = o(() => !T.clearable || T.optionsView !== "panel" || T.view === "link" ? !1 : P.value), Fe = o(() => ee({
|
|
160
|
-
view: T.view,
|
|
161
|
-
size: T.size,
|
|
162
|
-
disabled: T.disabled,
|
|
163
|
-
variant: T.variant,
|
|
164
|
-
underline: T.underline,
|
|
165
|
-
showNativeChevron: Z.value
|
|
166
|
-
})), Ie = o(() => r({
|
|
167
|
-
view: T.view,
|
|
168
|
-
optionsView: T.optionsView,
|
|
169
|
-
size: T.size,
|
|
170
|
-
disabled: T.disabled,
|
|
171
|
-
variant: T.variant,
|
|
172
|
-
underline: T.underline
|
|
173
|
-
}));
|
|
174
|
-
function Le(e) {
|
|
175
|
-
let t = e.target;
|
|
176
|
-
if (T.multiple) {
|
|
177
|
-
O("update:modelValue", Array.from(t.selectedOptions, (e) => e.value));
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
O("update:modelValue", t.value);
|
|
181
|
-
}
|
|
182
|
-
function $() {
|
|
183
|
-
T.disabled || q(T.multiple ? [] : "");
|
|
184
|
-
}
|
|
185
|
-
return (n, r) => d.optionsView === "native" ? (h(), c("div", {
|
|
186
|
-
key: 0,
|
|
187
|
-
"data-ds-select": "",
|
|
188
|
-
class: p(D.value)
|
|
189
|
-
}, [l("select", {
|
|
190
|
-
"data-ds-select-native": "",
|
|
191
|
-
value: d.multiple ? M.value : j.value,
|
|
192
|
-
multiple: d.multiple,
|
|
193
|
-
disabled: d.disabled,
|
|
194
|
-
"aria-label": d.ariaLabel,
|
|
195
|
-
class: p([E.value, Fe.value]),
|
|
196
|
-
onChange: Le
|
|
197
|
-
}, [Pe.value ? (h(), c("option", S)) : s("", !0), v(n.$slots, "default", {}, () => [Ee.value ? (h(), c("option", {
|
|
198
|
-
key: 0,
|
|
199
|
-
value: j.value
|
|
200
|
-
}, y(j.value), 9, C)) : s("", !0), (h(!0), c(i, null, _(d.options, (e) => (h(), c("option", {
|
|
201
|
-
key: e.value,
|
|
202
|
-
value: e.value
|
|
203
|
-
}, y(e.label), 9, fe))), 128))])], 42, de), Z.value ? (h(), c("span", pe, [...r[1] ||= [l("span", {
|
|
204
|
-
class: "i-lucide-chevron-down h-4 w-4",
|
|
205
|
-
"aria-hidden": "true"
|
|
206
|
-
}, null, -1)]])) : s("", !0)], 2)) : b((h(), c("div", {
|
|
207
|
-
key: 1,
|
|
208
|
-
ref_key: "rootEl",
|
|
209
|
-
ref: z,
|
|
210
|
-
"data-ds-select": "",
|
|
211
|
-
class: p(D.value)
|
|
212
|
-
}, [
|
|
213
|
-
l("button", {
|
|
214
|
-
"data-testid": "ds-select-trigger",
|
|
215
|
-
"data-ds-select-trigger": "",
|
|
216
|
-
type: "button",
|
|
217
|
-
disabled: d.disabled,
|
|
218
|
-
"aria-label": d.ariaLabel,
|
|
219
|
-
role: "combobox",
|
|
220
|
-
"aria-readonly": "true",
|
|
221
|
-
"aria-expanded": R.value ? "true" : "false",
|
|
222
|
-
class: p([E.value, Ie.value]),
|
|
223
|
-
onClick: ke
|
|
224
|
-
}, [l("span", he, [v(n.$slots, "value", {
|
|
225
|
-
selectedOptions: we.value,
|
|
226
|
-
selectedValues: N.value,
|
|
227
|
-
displayLabel: I.value,
|
|
228
|
-
placeholder: d.placeholder,
|
|
229
|
-
hasSelection: P.value
|
|
230
|
-
}, () => [l("span", { class: p(["block truncate", P.value ? "" : "text-[var(--muted-fg)]"]) }, y(Te.value), 3)])]), Q.value ? (h(), c("span", ge)) : (h(), c("span", _e, [...r[2] ||= [l("span", {
|
|
231
|
-
class: "i-lucide-chevron-down h-4 w-4",
|
|
232
|
-
"aria-hidden": "true"
|
|
233
|
-
}, null, -1)]]))], 10, me),
|
|
234
|
-
Q.value ? (h(), c("button", {
|
|
235
|
-
key: 0,
|
|
236
|
-
"data-testid": "ds-select-clear",
|
|
237
|
-
"data-ds-select-clear": "",
|
|
238
|
-
type: "button",
|
|
239
|
-
class: "absolute top-1/2 -translate-y-1/2 right-3 h-6 w-6 inline-flex items-center justify-center rounded-md text-[var(--muted-fg)] hover:text-[var(--fg)] hover:bg-[color-mix(in_srgb,var(--muted)_25%,transparent)] disabled:opacity-50",
|
|
240
|
-
disabled: d.disabled,
|
|
241
|
-
"aria-label": d.clearLabel,
|
|
242
|
-
onClick: x($, ["stop"])
|
|
243
|
-
}, [...r[3] ||= [l("span", {
|
|
244
|
-
class: "i-lucide-x h-4 w-4",
|
|
245
|
-
"aria-hidden": "true"
|
|
246
|
-
}, null, -1)]], 8, ve)) : s("", !0),
|
|
247
|
-
(h(), ie(a, { to: "body" }, [u(re, {
|
|
248
|
-
"enter-active-class": "transition ease-out duration-150",
|
|
249
|
-
"enter-from-class": "transform opacity-0 scale-95",
|
|
250
|
-
"enter-to-class": "transform opacity-100 scale-100",
|
|
251
|
-
"leave-active-class": "transition ease-in duration-100",
|
|
252
|
-
"leave-from-class": "transform opacity-100 scale-100",
|
|
253
|
-
"leave-to-class": "transform opacity-0 scale-95"
|
|
254
|
-
}, {
|
|
255
|
-
default: le(() => [b(l("div", {
|
|
256
|
-
ref_key: "panelEl",
|
|
257
|
-
ref: B,
|
|
258
|
-
"data-testid": "ds-select-panel",
|
|
259
|
-
"data-ds-select-panel": "",
|
|
260
|
-
class: "fixed w-full",
|
|
261
|
-
style: m(H.value)
|
|
262
|
-
}, [l("div", { class: p(Ae.value) }, [d.allowCustomValue ? (h(), c("div", ye, [u(t, {
|
|
263
|
-
ref_key: "customInputRef",
|
|
264
|
-
ref: V,
|
|
265
|
-
modelValue: L.value,
|
|
266
|
-
"onUpdate:modelValue": r[0] ||= (e) => L.value = e,
|
|
267
|
-
"data-testid": "ds-select-custom-input",
|
|
268
|
-
type: "text",
|
|
269
|
-
placeholder: d.customValuePlaceholder,
|
|
270
|
-
size: "sm",
|
|
271
|
-
onKeydown: ue(x(X, ["prevent"]), ["enter"])
|
|
272
|
-
}, null, 8, [
|
|
273
|
-
"modelValue",
|
|
274
|
-
"placeholder",
|
|
275
|
-
"onKeydown"
|
|
276
|
-
])])) : s("", !0), l("div", {
|
|
277
|
-
"data-ds-select-listbox": "",
|
|
278
|
-
class: "p-1 overflow-auto",
|
|
279
|
-
style: m({ maxHeight: `${d.dropdownMaxHeight}px` }),
|
|
280
|
-
role: "listbox",
|
|
281
|
-
"aria-multiselectable": d.multiple ? "true" : void 0
|
|
282
|
-
}, [Me.value ? (h(), c("button", {
|
|
283
|
-
key: 0,
|
|
284
|
-
"data-testid": "ds-select-add-option",
|
|
285
|
-
"data-ds-select-add-option": "",
|
|
286
|
-
type: "button",
|
|
287
|
-
class: "w-full rounded-[10px] px-3 py-2 text-left text-[13px] hover:bg-[color-mix(in_srgb,var(--muted)_30%,transparent)]",
|
|
288
|
-
onClick: X
|
|
289
|
-
}, " Add “" + y(L.value.trim()) + "” ", 1)) : s("", !0), (h(!0), c(i, null, _(je.value, (e) => (h(), c("button", {
|
|
290
|
-
key: e.value,
|
|
291
|
-
"data-ds-select-option": "",
|
|
292
|
-
type: "button",
|
|
293
|
-
role: "option",
|
|
294
|
-
"aria-selected": J(e.value) ? "true" : "false",
|
|
295
|
-
class: "w-full rounded-[10px] px-3 py-2 text-left text-[13px] hover:bg-[color-mix(in_srgb,var(--muted)_30%,transparent)]",
|
|
296
|
-
onClick: (t) => Y(e.value)
|
|
297
|
-
}, [v(n.$slots, "option", {
|
|
298
|
-
option: e,
|
|
299
|
-
selected: J(e.value)
|
|
300
|
-
}, () => [l("span", Se, [l("span", {
|
|
301
|
-
class: p(["h-4 w-4 shrink-0", J(e.value) ? "i-lucide-check text-[var(--primary)]" : ""]),
|
|
302
|
-
"aria-hidden": "true"
|
|
303
|
-
}, null, 2), l("span", Ce, y(e.label), 1)])])], 8, xe))), 128))], 12, be)], 2)], 4), [[se, R.value]])]),
|
|
304
|
-
_: 3
|
|
305
|
-
})]))
|
|
306
|
-
], 2)), [[oe(e), {
|
|
307
|
-
handler: G,
|
|
308
|
-
enabled: R.value,
|
|
309
|
-
exclude: De
|
|
310
|
-
}]]);
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
//#endregion
|
|
314
|
-
export { w as t };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, createTextVNode as r, defineComponent as i, openBlock as a, renderSlot as o, toDisplayString as s } from "vue";
|
|
2
|
-
//#region src/components/GrSidebar/GrSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var c = {
|
|
4
|
-
"data-ds-sidebar": "",
|
|
5
|
-
class: "border-r border-[var(--sidebar-brd)] bg-[var(--sidebar)] text-[var(--sidebar-fg)]"
|
|
6
|
-
}, l = {
|
|
7
|
-
key: 0,
|
|
8
|
-
"data-ds-sidebar-header": "",
|
|
9
|
-
class: "border-b border-[var(--sidebar-brd)] px-4 py-4"
|
|
10
|
-
}, u = {
|
|
11
|
-
key: 0,
|
|
12
|
-
"data-ds-sidebar-subtitle": "",
|
|
13
|
-
class: "text-[14px] text-[var(--muted-fg)]"
|
|
14
|
-
}, d = {
|
|
15
|
-
key: 1,
|
|
16
|
-
"data-ds-sidebar-title": "",
|
|
17
|
-
class: "text-[18px] font-700"
|
|
18
|
-
}, f = { class: "p-3" }, p = /* @__PURE__ */ i({
|
|
19
|
-
__name: "GrSidebar",
|
|
20
|
-
props: {
|
|
21
|
-
title: { default: void 0 },
|
|
22
|
-
subtitle: { default: void 0 }
|
|
23
|
-
},
|
|
24
|
-
setup(i) {
|
|
25
|
-
return (p, m) => (a(), t("aside", c, [p.$slots.title || i.title || p.$slots.subtitle || i.subtitle ? (a(), t("div", l, [p.$slots.subtitle || i.subtitle ? (a(), t("div", u, [o(p.$slots, "subtitle", {}, () => [r(s(i.subtitle), 1)])])) : e("", !0), p.$slots.title || i.title ? (a(), t("div", d, [o(p.$slots, "title", {}, () => [r(s(i.title), 1)])])) : e("", !0)])) : e("", !0), n("div", f, [o(p.$slots, "default")])]));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
|
-
export { p as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as e, defineComponent as t, normalizeStyle as n, openBlock as r } from "vue";
|
|
2
|
-
import '../../../GrSkeleton.css';//#endregion
|
|
3
|
-
//#region src/components/GrSkeleton/GrSkeleton.vue
|
|
4
|
-
var i = /* @__PURE__ */ t({
|
|
5
|
-
__name: "GrSkeleton",
|
|
6
|
-
props: {
|
|
7
|
-
height: { default: "12px" },
|
|
8
|
-
width: { default: "100%" },
|
|
9
|
-
rounded: { default: "9999px" }
|
|
10
|
-
},
|
|
11
|
-
setup(t) {
|
|
12
|
-
return (i, a) => (r(), e("div", {
|
|
13
|
-
"data-ds-skeleton": "",
|
|
14
|
-
"aria-hidden": "true",
|
|
15
|
-
class: "bg-[var(--muted)] border border-[var(--brd)]",
|
|
16
|
-
style: n({
|
|
17
|
-
height: t.height,
|
|
18
|
-
width: t.width,
|
|
19
|
-
borderRadius: t.rounded
|
|
20
|
-
})
|
|
21
|
-
}, null, 4));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
|
-
export { i as t };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { a as e, i as t, r as n } from "../../../chunks/config-QsovJrku2.js";
|
|
2
|
-
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, openBlock as u, renderSlot as d } from "vue";
|
|
3
|
-
//#region src/components/GrSwitch/GrSwitch.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var f = [
|
|
5
|
-
"aria-checked",
|
|
6
|
-
"aria-label",
|
|
7
|
-
"disabled"
|
|
8
|
-
], p = /* @__PURE__ */ s({
|
|
9
|
-
__name: "GrSwitch",
|
|
10
|
-
props: {
|
|
11
|
-
modelValue: { type: Boolean },
|
|
12
|
-
disabled: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: !1
|
|
15
|
-
},
|
|
16
|
-
ariaLabel: { default: void 0 },
|
|
17
|
-
size: { default: "md" },
|
|
18
|
-
activeBackgroundColor: { default: void 0 },
|
|
19
|
-
inactiveBackgroundColor: { default: void 0 }
|
|
20
|
-
},
|
|
21
|
-
emits: ["update:modelValue"],
|
|
22
|
-
setup(s, { emit: p }) {
|
|
23
|
-
let m = (e) => e?.trim() || void 0, h = s, g = p, _ = r(() => e(h.size)), v = r(() => {
|
|
24
|
-
let e = h.modelValue, t = e ? "var(--primary)" : "var(--muted)", n = m(e ? h.activeBackgroundColor : h.inactiveBackgroundColor), r = n ?? t;
|
|
25
|
-
return {
|
|
26
|
-
"--ds-switch-track-bg": r,
|
|
27
|
-
"--ds-switch-track-brd": n ? r : e ? "var(--primary)" : "var(--brd)",
|
|
28
|
-
backgroundColor: "var(--ds-switch-track-bg)"
|
|
29
|
-
};
|
|
30
|
-
}), y = r(() => t({
|
|
31
|
-
size: h.size,
|
|
32
|
-
checked: h.modelValue
|
|
33
|
-
})), b = r(() => n(h.size));
|
|
34
|
-
function x() {
|
|
35
|
-
h.disabled || g("update:modelValue", !h.modelValue);
|
|
36
|
-
}
|
|
37
|
-
return (e, t) => (u(), a("button", {
|
|
38
|
-
type: "button",
|
|
39
|
-
role: "switch",
|
|
40
|
-
"data-ds-switch": "",
|
|
41
|
-
"aria-checked": s.modelValue ? "true" : "false",
|
|
42
|
-
"aria-label": s.ariaLabel,
|
|
43
|
-
disabled: s.disabled,
|
|
44
|
-
class: "inline-flex items-center gap-2 select-none disabled:opacity-50 disabled:cursor-not-allowed",
|
|
45
|
-
onClick: x
|
|
46
|
-
}, [o("span", {
|
|
47
|
-
"data-testid": "ds-switch-track",
|
|
48
|
-
"data-ds-switch-track": "",
|
|
49
|
-
class: c(_.value),
|
|
50
|
-
style: l(v.value)
|
|
51
|
-
}, [o("span", {
|
|
52
|
-
"data-testid": "ds-switch-thumb",
|
|
53
|
-
"data-ds-switch-thumb": "",
|
|
54
|
-
class: c(y.value),
|
|
55
|
-
"aria-hidden": "true"
|
|
56
|
-
}, null, 2)], 6), e.$slots.default ? (u(), a("span", {
|
|
57
|
-
key: 0,
|
|
58
|
-
"data-ds-switch-label": "",
|
|
59
|
-
class: c(b.value)
|
|
60
|
-
}, [d(e.$slots, "default")], 2)) : i("", !0)], 8, f));
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
//#endregion
|
|
64
|
-
export { p as t };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { computed as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, toDisplayString as l, unref as u, useSlots as d } from "vue";
|
|
2
|
-
//#region src/components/GrTable/GrTable.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var f = [
|
|
4
|
-
"role",
|
|
5
|
-
"aria-label",
|
|
6
|
-
"tabindex"
|
|
7
|
-
], p = ["aria-label", "aria-labelledby"], m = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "sr-only"
|
|
10
|
-
}, h = { class: "bg-[var(--muted)] text-[var(--muted-fg)]" }, g = { class: "text-[var(--fg)]" }, _ = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "text-[var(--fg)]"
|
|
13
|
-
}, v = /* @__PURE__ */ a({
|
|
14
|
-
__name: "GrTable",
|
|
15
|
-
props: {
|
|
16
|
-
density: { default: "regular" },
|
|
17
|
-
caption: { default: void 0 },
|
|
18
|
-
ariaLabel: { default: void 0 },
|
|
19
|
-
ariaLabelledby: { default: void 0 },
|
|
20
|
-
regionLabel: { default: void 0 }
|
|
21
|
-
},
|
|
22
|
-
setup(a) {
|
|
23
|
-
let v = a, y = d(), b = e(() => v.density === "compact" ? "text-[13px]" : "text-sm"), x = e(() => !!y.caption || !!v.caption);
|
|
24
|
-
return (e, d) => (s(), n("div", {
|
|
25
|
-
"data-ds-table-scroll": "",
|
|
26
|
-
role: a.regionLabel ? "region" : void 0,
|
|
27
|
-
"aria-label": a.regionLabel,
|
|
28
|
-
tabindex: a.regionLabel ? 0 : void 0,
|
|
29
|
-
class: "overflow-x-auto rounded-[var(--ds-radius-lg)] border border-[var(--brd)] bg-[var(--card)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
|
|
30
|
-
}, [r("table", {
|
|
31
|
-
"data-ds-table": "",
|
|
32
|
-
class: o(["min-w-full", [b.value]]),
|
|
33
|
-
"aria-label": a.ariaLabelledby ? void 0 : a.ariaLabel,
|
|
34
|
-
"aria-labelledby": a.ariaLabelledby
|
|
35
|
-
}, [
|
|
36
|
-
x.value ? (s(), n("caption", m, [c(e.$slots, "caption", {}, () => [i(l(a.caption), 1)])])) : t("", !0),
|
|
37
|
-
r("thead", h, [c(e.$slots, "head")]),
|
|
38
|
-
r("tbody", g, [c(e.$slots, "default")]),
|
|
39
|
-
u(y).foot ? (s(), n("tfoot", _, [c(e.$slots, "foot")])) : t("", !0)
|
|
40
|
-
], 10, p)], 8, f));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
//#endregion
|
|
44
|
-
export { v as t };
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, nextTick as o, normalizeClass as s, openBlock as c, ref as l, renderList as u, toDisplayString as d } from "vue";
|
|
2
|
-
//#region src/components/GrTabs/GrTabs.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var f = [
|
|
4
|
-
"aria-selected",
|
|
5
|
-
"aria-disabled",
|
|
6
|
-
"disabled",
|
|
7
|
-
"tabindex",
|
|
8
|
-
"onClick"
|
|
9
|
-
], p = { class: "inline-flex items-center gap-2" }, m = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "text-[11px] px-1.5 py-0.5 rounded-full bg-[var(--secondary)] text-[var(--secondary-fg)]"
|
|
12
|
-
}, h = /* @__PURE__ */ a({
|
|
13
|
-
__name: "GrTabs",
|
|
14
|
-
props: {
|
|
15
|
-
modelValue: {},
|
|
16
|
-
tabs: {}
|
|
17
|
-
},
|
|
18
|
-
emits: ["update:modelValue"],
|
|
19
|
-
setup(a, { emit: h }) {
|
|
20
|
-
let g = a, _ = h, v = l([]);
|
|
21
|
-
function y(e, t) {
|
|
22
|
-
e instanceof HTMLButtonElement && (v.value[t] = e);
|
|
23
|
-
}
|
|
24
|
-
let b = t(() => g.tabs.findIndex((e) => e.value === g.modelValue));
|
|
25
|
-
function x(e) {
|
|
26
|
-
return !e.disabled;
|
|
27
|
-
}
|
|
28
|
-
async function S(e, t = !1) {
|
|
29
|
-
let n = g.tabs[e];
|
|
30
|
-
!n || !x(n) || (n.value !== g.modelValue && _("update:modelValue", n.value), t && (await o(), v.value[e]?.focus()));
|
|
31
|
-
}
|
|
32
|
-
function C(e, t) {
|
|
33
|
-
let n = g.tabs.length;
|
|
34
|
-
if (n === 0) return -1;
|
|
35
|
-
let r = e;
|
|
36
|
-
for (let e = 0; e < n; e++) {
|
|
37
|
-
r = (r + t + n) % n;
|
|
38
|
-
let e = g.tabs[r];
|
|
39
|
-
if (e && x(e)) return r;
|
|
40
|
-
}
|
|
41
|
-
return -1;
|
|
42
|
-
}
|
|
43
|
-
function w() {
|
|
44
|
-
return g.tabs.findIndex(x);
|
|
45
|
-
}
|
|
46
|
-
function T() {
|
|
47
|
-
for (let e = g.tabs.length - 1; e >= 0; e--) {
|
|
48
|
-
let t = g.tabs[e];
|
|
49
|
-
if (t && x(t)) return e;
|
|
50
|
-
}
|
|
51
|
-
return -1;
|
|
52
|
-
}
|
|
53
|
-
function E(e) {
|
|
54
|
-
if (g.tabs.length === 0) return;
|
|
55
|
-
let t = b.value < 0 ? 0 : b.value, n = -1;
|
|
56
|
-
switch (e.key) {
|
|
57
|
-
case "ArrowRight":
|
|
58
|
-
n = C(t, 1);
|
|
59
|
-
break;
|
|
60
|
-
case "ArrowLeft":
|
|
61
|
-
n = C(t, -1);
|
|
62
|
-
break;
|
|
63
|
-
case "Home":
|
|
64
|
-
n = w();
|
|
65
|
-
break;
|
|
66
|
-
case "End":
|
|
67
|
-
n = T();
|
|
68
|
-
break;
|
|
69
|
-
default: return;
|
|
70
|
-
}
|
|
71
|
-
n < 0 || (e.preventDefault(), S(n, !0));
|
|
72
|
-
}
|
|
73
|
-
function D(e) {
|
|
74
|
-
x(e) && e.value !== g.modelValue && _("update:modelValue", e.value);
|
|
75
|
-
}
|
|
76
|
-
return (t, o) => (c(), r("div", {
|
|
77
|
-
role: "tablist",
|
|
78
|
-
"data-ds-tabs": "",
|
|
79
|
-
class: "inline-flex flex-wrap gap-1 rounded-[var(--ds-radius-lg)] border border-[var(--brd)] bg-[var(--muted)] p-1",
|
|
80
|
-
onKeydown: E
|
|
81
|
-
}, [(c(!0), r(e, null, u(a.tabs, (e, t) => (c(), r("button", {
|
|
82
|
-
key: e.value,
|
|
83
|
-
ref_for: !0,
|
|
84
|
-
ref: (e) => y(e, t),
|
|
85
|
-
type: "button",
|
|
86
|
-
role: "tab",
|
|
87
|
-
"data-ds-tab": "",
|
|
88
|
-
"aria-selected": e.value === a.modelValue ? "true" : "false",
|
|
89
|
-
"aria-disabled": e.disabled ? "true" : void 0,
|
|
90
|
-
disabled: e.disabled,
|
|
91
|
-
tabindex: e.value === a.modelValue ? 0 : -1,
|
|
92
|
-
class: s(["h-9 px-3 rounded-[10px] text-sm font-600 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] disabled:opacity-60 disabled:cursor-not-allowed", e.value === a.modelValue ? "bg-[var(--card)] text-[var(--fg)] border border-[var(--brd)]" : "text-[var(--muted-fg)] hover:text-[var(--fg)] hover:bg-[color-mix(in_srgb,var(--card)_70%,transparent)]"]),
|
|
93
|
-
onClick: (t) => D(e)
|
|
94
|
-
}, [i("span", p, [i("span", null, d(e.label), 1), e.badge ? (c(), r("span", m, d(e.badge), 1)) : n("", !0)])], 10, f))), 128))], 32));
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
//#endregion
|
|
98
|
-
export { h as t };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { r as e } from "../../../chunks/config-BsZc_QQ-2.js";
|
|
2
|
-
import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a } from "vue";
|
|
3
|
-
//#region src/components/GrTextarea/GrTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var o = [
|
|
5
|
-
"id",
|
|
6
|
-
"name",
|
|
7
|
-
"rows",
|
|
8
|
-
"autocomplete",
|
|
9
|
-
"placeholder",
|
|
10
|
-
"disabled",
|
|
11
|
-
"value",
|
|
12
|
-
"aria-invalid"
|
|
13
|
-
], s = /* @__PURE__ */ r({
|
|
14
|
-
__name: "GrTextarea",
|
|
15
|
-
props: {
|
|
16
|
-
modelValue: {},
|
|
17
|
-
placeholder: { default: void 0 },
|
|
18
|
-
autocomplete: { default: void 0 },
|
|
19
|
-
disabled: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: !1
|
|
22
|
-
},
|
|
23
|
-
invalid: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
default: !1
|
|
26
|
-
},
|
|
27
|
-
state: { default: "default" },
|
|
28
|
-
name: { default: void 0 },
|
|
29
|
-
id: { default: void 0 },
|
|
30
|
-
rows: { default: 4 }
|
|
31
|
-
},
|
|
32
|
-
emits: ["update:modelValue"],
|
|
33
|
-
setup(r, { emit: s }) {
|
|
34
|
-
let c = r, l = s, u = t(() => e({
|
|
35
|
-
state: c.state,
|
|
36
|
-
invalid: c.invalid
|
|
37
|
-
}));
|
|
38
|
-
function d(e) {
|
|
39
|
-
l("update:modelValue", e.target.value);
|
|
40
|
-
}
|
|
41
|
-
return (e, t) => (a(), n("textarea", {
|
|
42
|
-
id: r.id,
|
|
43
|
-
"data-ds-textarea": "",
|
|
44
|
-
name: r.name,
|
|
45
|
-
rows: r.rows,
|
|
46
|
-
autocomplete: r.autocomplete,
|
|
47
|
-
placeholder: r.placeholder,
|
|
48
|
-
disabled: r.disabled,
|
|
49
|
-
value: r.modelValue,
|
|
50
|
-
"aria-invalid": r.invalid ? "true" : void 0,
|
|
51
|
-
class: i(["w-full rounded-md border bg-[var(--bg)] px-3 py-2 text-[14px] text-[var(--fg)] placeholder:text-[var(--muted-fg)] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] disabled:opacity-50 disabled:cursor-not-allowed", u.value]),
|
|
52
|
-
onInput: d
|
|
53
|
-
}, null, 42, o));
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
//#endregion
|
|
57
|
-
export { s as t };
|