@feugene/granularity 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/chunks/chevron-left-D8AUBAM7.js +23 -0
- package/dist/chunks/chevron-left-D8AUBAM7.js.map +1 -0
- package/dist/chunks/chevron-right-C6Z01h0X.js +23 -0
- package/dist/chunks/chevron-right-C6Z01h0X.js.map +1 -0
- package/dist/chunks/config-9PYRZlKE.js +84 -0
- package/dist/chunks/config-9PYRZlKE.js.map +1 -0
- package/dist/chunks/config-B4w5gBD0.js +89 -0
- package/dist/chunks/config-B4w5gBD0.js.map +1 -0
- package/dist/chunks/config-BE6n20np.js.map +1 -0
- package/dist/chunks/config-BEVBsvni.js +197 -0
- package/dist/chunks/config-BEVBsvni.js.map +1 -0
- package/dist/chunks/config-BJ7Bv_G2.js +148 -0
- package/dist/chunks/config-BJ7Bv_G2.js.map +1 -0
- package/dist/chunks/config-BTCOJO5z.js +37 -0
- package/dist/chunks/config-BTCOJO5z.js.map +1 -0
- package/dist/chunks/config-Be9k9bOf.js +97 -0
- package/dist/chunks/config-Be9k9bOf.js.map +1 -0
- package/dist/chunks/config-BfsBepkH2.js +83 -0
- package/dist/chunks/config-BfsBepkH2.js.map +1 -0
- package/dist/chunks/config-Bsh948nP.js +85 -0
- package/dist/chunks/config-Bsh948nP.js.map +1 -0
- package/dist/chunks/config-CDat1wXf.js +11 -0
- package/dist/chunks/config-CDat1wXf.js.map +1 -0
- package/dist/chunks/config-COpuWGr_2.js.map +1 -0
- package/dist/chunks/config-DAX8Deh12.js +68 -0
- package/dist/chunks/config-DAX8Deh12.js.map +1 -0
- package/dist/chunks/config-DCFvmHEv.js.map +1 -0
- package/dist/chunks/config-DKdlqXiY.js.map +1 -1
- package/dist/chunks/config-DWN4x6_e.js +159 -0
- package/dist/chunks/config-DWN4x6_e.js.map +1 -0
- package/dist/chunks/config-Dgj1Q6JY.js +26 -0
- package/dist/chunks/config-Dgj1Q6JY.js.map +1 -0
- package/dist/chunks/config-Dguto_6o.js +108 -0
- package/dist/chunks/config-Dguto_6o.js.map +1 -0
- package/dist/chunks/config-WTNhdh6T.js.map +1 -0
- package/dist/chunks/config-eXB87DOi2.js.map +1 -0
- package/dist/chunks/config-vSji8w90.js +85 -0
- package/dist/chunks/config-vSji8w90.js.map +1 -0
- package/dist/chunks/context-CTbuwcYs.js +133 -0
- package/dist/chunks/context-CTbuwcYs.js.map +1 -0
- package/dist/chunks/generated-BRkbhyxk.js +3270 -0
- package/dist/chunks/generated-BRkbhyxk.js.map +1 -0
- package/dist/chunks/grRadioStyles-BTjGNhtU.js +96 -0
- package/dist/chunks/grRadioStyles-BTjGNhtU.js.map +1 -0
- package/dist/chunks/granular-provider-CZYm70Pm.js +195 -0
- package/dist/chunks/granular-provider-CZYm70Pm.js.map +1 -0
- package/dist/chunks/grip-vertical-lRha2S7q.js +16 -0
- package/dist/chunks/grip-vertical-lRha2S7q.js.map +1 -0
- package/dist/chunks/icon-Dag2tIMs.js +21 -0
- package/dist/chunks/icon-Dag2tIMs.js.map +1 -0
- package/dist/chunks/portalRoot-CVhCgdG6.js +44 -0
- package/dist/chunks/portalRoot-CVhCgdG6.js.map +1 -0
- package/dist/chunks/useModalOverlay-Cv5hF63W.js +212 -0
- package/dist/chunks/useModalOverlay-Cv5hF63W.js.map +1 -0
- package/dist/chunks/usePortalTarget-C0p-mhaM.js +77 -0
- package/dist/chunks/usePortalTarget-C0p-mhaM.js.map +1 -0
- package/dist/chunks/validation-DauXRIkL.js +178 -0
- package/dist/chunks/validation-DauXRIkL.js.map +1 -0
- package/dist/components/GrAlert/chunks/GrAlert-B21QGele.js +258 -0
- package/dist/components/GrAlert/chunks/GrAlert-B21QGele.js.map +1 -0
- package/dist/components/GrAlert/index.js +2 -2
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-DsevPtiS.js +860 -0
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-DsevPtiS.js.map +1 -0
- package/dist/components/GrAutocomplete/index.js +1 -1
- package/dist/components/GrAutocomplete/styles.css +1 -1
- package/dist/components/GrAvatar/chunks/GrAvatar-BbdKRX8i.js +222 -0
- package/dist/components/GrAvatar/chunks/GrAvatar-BbdKRX8i.js.map +1 -0
- package/dist/components/GrAvatar/index.js +3 -3
- package/dist/components/GrBadge/chunks/GrBadge-u2ZdS7CN.js +40 -0
- package/dist/components/GrBadge/chunks/GrBadge-u2ZdS7CN.js.map +1 -0
- package/dist/components/GrBadge/index.js +1 -1
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DDoFQscR.js +97 -0
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DDoFQscR.js.map +1 -0
- package/dist/components/GrBadgeWrap/index.js +3 -3
- package/dist/components/GrBottomNav/chunks/GrBottomNav-JUu4ylYv.js +117 -0
- package/dist/components/GrBottomNav/chunks/GrBottomNav-JUu4ylYv.js.map +1 -0
- package/dist/components/GrBottomNav/index.js +3 -3
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-CQ44iU2o.js +267 -0
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-CQ44iU2o.js.map +1 -0
- package/dist/components/GrBreadcrumbs/index.js +1 -1
- package/dist/components/GrButton/chunks/GrButton-Bw2AH4uX.js +153 -0
- package/dist/components/GrButton/chunks/GrButton-Bw2AH4uX.js.map +1 -0
- package/dist/components/GrButton/index.js +2 -3
- package/dist/components/GrCard/chunks/GrCard-DfIZOP5N.js +89 -0
- package/dist/components/GrCard/chunks/GrCard-DfIZOP5N.js.map +1 -0
- package/dist/components/GrCard/index.js +1 -1
- package/dist/components/GrCheckbox/chunks/GrCheckbox-CEcHIsXM.js +262 -0
- package/dist/components/GrCheckbox/chunks/GrCheckbox-CEcHIsXM.js.map +1 -0
- package/dist/components/GrCheckbox/index.js +2 -2
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-BOwrVcFr.js +140 -0
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-BOwrVcFr.js.map +1 -0
- package/dist/components/GrCheckboxGroup/index.js +1 -1
- package/dist/components/GrCollapse/chunks/GrCollapse-KFcrji1L.js +294 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-KFcrji1L.js.map +1 -0
- package/dist/components/GrCollapse/index.js +2 -2
- package/dist/components/GrColorPicker/chunks/GrColorPicker-qQdoEPHF.js +584 -0
- package/dist/components/GrColorPicker/chunks/GrColorPicker-qQdoEPHF.js.map +1 -0
- package/dist/components/GrColorPicker/index.js +2 -2
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-BFcMf4Pn.js +591 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-BFcMf4Pn.js.map +1 -0
- package/dist/components/GrCommandPalette/index.js +3 -3
- package/dist/components/GrCommandPalette/styles.css +1 -1
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-UP-EaoAf.js +144 -0
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-UP-EaoAf.js.map +1 -0
- package/dist/components/GrConfigProvider/index.js +3 -3
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-rRtMScJX.js +200 -0
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-rRtMScJX.js.map +1 -0
- package/dist/components/GrConfirmDialog/index.js +1 -1
- package/dist/components/GrDataTable/chunks/GrDataTable-CNvZg2HZ.js +1055 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-CNvZg2HZ.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDialog/chunks/GrDialog-D0U5iRqV.js +255 -0
- package/dist/components/GrDialog/chunks/GrDialog-D0U5iRqV.js.map +1 -0
- package/dist/components/GrDialog/index.js +2 -3
- package/dist/components/GrDialogService/chunks/GrDialogService-CrwA4aJq.js +656 -0
- package/dist/components/GrDialogService/chunks/GrDialogService-CrwA4aJq.js.map +1 -0
- package/dist/components/GrDialogService/index.js +2 -2
- package/dist/components/GrDivider/chunks/GrDivider-CAhm9jbE.js +109 -0
- package/dist/components/GrDivider/chunks/GrDivider-CAhm9jbE.js.map +1 -0
- package/dist/components/GrDivider/index.js +1 -1
- package/dist/components/GrDrawer/chunks/GrDrawer-C3zAg2tG.js +251 -0
- package/dist/components/GrDrawer/chunks/GrDrawer-C3zAg2tG.js.map +1 -0
- package/dist/components/GrDrawer/index.js +1 -1
- package/dist/components/GrDropdown/chunks/GrDropdown-BSfFOcDx.js +300 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-BSfFOcDx.js.map +1 -0
- package/dist/components/GrDropdown/index.js +1 -1
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-LOaFSCyd.js +421 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-LOaFSCyd.js.map +1 -0
- package/dist/components/GrDropdownMenu/index.js +2 -2
- package/dist/components/GrEmptyState/chunks/GrEmptyState-CS9do8eM.js +86 -0
- package/dist/components/GrEmptyState/chunks/GrEmptyState-CS9do8eM.js.map +1 -0
- package/dist/components/GrEmptyState/index.js +3 -3
- package/dist/components/GrFileUpload/chunks/GrFileUpload-D3-vC-ap.js +1080 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-D3-vC-ap.js.map +1 -0
- package/dist/components/GrFileUpload/index.js +3 -3
- package/dist/components/GrForm/chunks/GrForm-DdJw23Pz.js +326 -0
- package/dist/components/GrForm/chunks/GrForm-DdJw23Pz.js.map +1 -0
- package/dist/components/GrForm/index.js +4 -4
- package/dist/components/GrFormField/chunks/GrFormField-kqfVY30N.js +190 -0
- package/dist/components/GrFormField/chunks/GrFormField-kqfVY30N.js.map +1 -0
- package/dist/components/GrFormField/index.js +3 -3
- package/dist/components/GrFormFile/chunks/GrFormFile-D722xHn8.js +452 -0
- package/dist/components/GrFormFile/chunks/GrFormFile-D722xHn8.js.map +1 -0
- package/dist/components/GrFormFile/index.js +1 -1
- package/dist/components/GrFormSection/chunks/GrFormSection-CdGWvzXO.js +63 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-CdGWvzXO.js.map +1 -0
- package/dist/components/GrFormSection/index.js +3 -3
- package/dist/components/GrIcon/chunks/GrIcon-bQwtZtYT.js +57 -0
- package/dist/components/GrIcon/chunks/GrIcon-bQwtZtYT.js.map +1 -0
- package/dist/components/GrIcon/index.js +1 -1
- package/dist/components/GrImageViewer/chunks/GrImageViewer-CMO10TS7.js +1128 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-CMO10TS7.js.map +1 -0
- package/dist/components/GrImageViewer/index.js +1 -1
- package/dist/components/GrInput/chunks/GrInput-Bb_pxqpT.js +348 -0
- package/dist/components/GrInput/chunks/GrInput-Bb_pxqpT.js.map +1 -0
- package/dist/components/GrInput/index.js +1 -1
- package/dist/components/GrInputTag/chunks/GrInputTag-Dghhg03-.js +512 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-Dghhg03-.js.map +1 -0
- package/dist/components/GrInputTag/index.js +1 -1
- package/dist/components/GrKbd/chunks/GrKbd-BXbhsH0M.js +358 -0
- package/dist/components/GrKbd/chunks/GrKbd-BXbhsH0M.js.map +1 -0
- package/dist/components/GrKbd/index.js +1 -1
- package/dist/components/GrLink/chunks/GrLink-BQb7U4so.js +163 -0
- package/dist/components/GrLink/chunks/GrLink-BQb7U4so.js.map +1 -0
- package/dist/components/GrLink/index.js +1 -1
- package/dist/components/GrList/chunks/GrList-CHibO0xA.js +277 -0
- package/dist/components/GrList/chunks/GrList-CHibO0xA.js.map +1 -0
- package/dist/components/GrList/index.js +1 -1
- package/dist/components/GrLoading/chunks/GrLoading-C3DZSSuh.js +101 -0
- package/dist/components/GrLoading/chunks/GrLoading-C3DZSSuh.js.map +1 -0
- package/dist/components/GrLoading/index.js +1 -1
- package/dist/components/GrModal/chunks/GrModal-CPz7SWD_.js +313 -0
- package/dist/components/GrModal/chunks/GrModal-CPz7SWD_.js.map +1 -0
- package/dist/components/GrModal/index.js +1 -1
- package/dist/components/GrNavbar/chunks/GrNavbar-DWaaoV7n.js +104 -0
- package/dist/components/GrNavbar/chunks/GrNavbar-DWaaoV7n.js.map +1 -0
- package/dist/components/GrNavbar/index.js +1 -1
- package/dist/components/GrNumberInput/chunks/GrNumberInput-BotnzW77.js +659 -0
- package/dist/components/GrNumberInput/chunks/GrNumberInput-BotnzW77.js.map +1 -0
- package/dist/components/GrNumberInput/index.js +1 -1
- package/dist/components/GrPagination/chunks/GrPagination-GtGtSMJG.js +283 -0
- package/dist/components/GrPagination/chunks/GrPagination-GtGtSMJG.js.map +1 -0
- package/dist/components/GrPagination/index.js +1 -1
- package/dist/components/GrPopover/chunks/GrPopover-b70bIlQ9.js +216 -0
- package/dist/components/GrPopover/chunks/GrPopover-b70bIlQ9.js.map +1 -0
- package/dist/components/GrPopover/index.js +1 -1
- package/dist/components/GrProgressBar/chunks/GrProgressBar-hszUOC8f.js +90 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-hszUOC8f.js.map +1 -0
- package/dist/components/GrProgressBar/index.js +1 -1
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-BeUx1g1f.js +202 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-BeUx1g1f.js.map +1 -0
- package/dist/components/GrProgressCircle/index.js +2 -2
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-CEI8bf-t.js +348 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-CEI8bf-t.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +1 -1
- package/dist/components/GrRadio/chunks/GrRadio-BdhknbO8.js +253 -0
- package/dist/components/GrRadio/chunks/GrRadio-BdhknbO8.js.map +1 -0
- package/dist/components/GrRadio/index.js +3 -3
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BVmjKXcv.js +196 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BVmjKXcv.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +1 -1
- package/dist/components/GrRating/chunks/GrRating-BSEtaibx.js +316 -0
- package/dist/components/GrRating/chunks/GrRating-BSEtaibx.js.map +1 -0
- package/dist/components/GrRating/index.js +1 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CZONq8uT.js +777 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CZONq8uT.js.map +1 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CgfAwlg3.js +224 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CgfAwlg3.js.map +1 -0
- package/dist/components/GrResponseErrorBanner/index.js +3 -3
- package/dist/components/GrSegmented/chunks/GrSegmented-DP9WMAbm.js +388 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-DP9WMAbm.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-CaGuyvtb.js +1384 -0
- package/dist/components/GrSelect/chunks/GrSelect-CaGuyvtb.js.map +1 -0
- package/dist/components/GrSelect/index.js +1 -1
- package/dist/components/GrSelect/styles.css +1 -1
- package/dist/components/GrSidebar/chunks/GrSidebar-DG_t4aPE.js +258 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-DG_t4aPE.js.map +1 -0
- package/dist/components/GrSidebar/index.js +3 -3
- package/dist/components/GrSkeleton/chunks/GrSkeleton-CgfXxPQ2.js +78 -0
- package/dist/components/GrSkeleton/chunks/GrSkeleton-CgfXxPQ2.js.map +1 -0
- package/dist/components/GrSkeleton/index.js +2 -2
- package/dist/components/GrSlider/chunks/GrSlider-s99yAyz6.js +379 -0
- package/dist/components/GrSlider/chunks/GrSlider-s99yAyz6.js.map +1 -0
- package/dist/components/GrSlider/index.js +1 -1
- package/dist/components/GrSortableList/chunks/GrSortableList-DJFPdUVv.js +277 -0
- package/dist/components/GrSortableList/chunks/GrSortableList-DJFPdUVv.js.map +1 -0
- package/dist/components/GrSortableList/index.js +2 -2
- package/dist/components/GrSplitter/chunks/GrSplitter-B9_JrT7q.js +259 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-B9_JrT7q.js.map +1 -0
- package/dist/components/GrSplitter/index.js +3 -3
- package/dist/components/GrStatistic/chunks/GrStatistic-C3VpykHo.js +366 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-C3VpykHo.js.map +1 -0
- package/dist/components/GrStatistic/index.js +2 -2
- package/dist/components/GrSwitch/chunks/GrSwitch-x_vQQ6ao.js +183 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-x_vQQ6ao.js.map +1 -0
- package/dist/components/GrSwitch/index.js +1 -1
- package/dist/components/GrTabPanels/chunks/GrTabPanels-AJt1w1XC.js +81 -0
- package/dist/components/GrTabPanels/chunks/GrTabPanels-AJt1w1XC.js.map +1 -0
- package/dist/components/GrTabPanels/index.js +3 -3
- package/dist/components/GrTable/chunks/GrTable-f3qCWa99.js +169 -0
- package/dist/components/GrTable/chunks/GrTable-f3qCWa99.js.map +1 -0
- package/dist/components/GrTable/index.js +2 -2
- package/dist/components/GrTabs/chunks/GrTabs-CBHZkOFY.js +262 -0
- package/dist/components/GrTabs/chunks/GrTabs-CBHZkOFY.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-CNnkcIG1.js +241 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-CNnkcIG1.js.map +1 -0
- package/dist/components/GrTextarea/index.js +1 -1
- package/dist/components/GrTimeline/chunks/GrTimeline-DlTraRn5.js +274 -0
- package/dist/components/GrTimeline/chunks/GrTimeline-DlTraRn5.js.map +1 -0
- package/dist/components/GrTimeline/index.js +3 -3
- package/dist/components/GrToaster/chunks/GrToaster-Db2NgrXu.js +373 -0
- package/dist/components/GrToaster/chunks/GrToaster-Db2NgrXu.js.map +1 -0
- package/dist/components/GrToaster/index.js +1 -1
- package/dist/components/GrTooltip/chunks/GrTooltip-B6AwE_UX.js +185 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-B6AwE_UX.js.map +1 -0
- package/dist/components/GrTooltip/index.js +1 -1
- package/dist/components/GrTree/chunks/GrTree-BvOeQ3xJ.js +1376 -0
- package/dist/components/GrTree/chunks/GrTree-BvOeQ3xJ.js.map +1 -0
- package/dist/components/GrTree/index.js +2 -2
- package/dist/components/GrTree/styles.css +1 -1
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-_LjTRR7X.js +633 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-_LjTRR7X.js.map +1 -0
- package/dist/components/GrTreeSelect/index.js +2 -2
- package/dist/composables/useAnnouncer.js +1 -1
- package/dist/composables/useGrComponentConfig.js +1 -1
- package/dist/composables/usePortalTarget.js +1 -1
- package/dist/directives/loading.js +2 -2
- package/dist/granular-provider-node.js +1 -1
- package/dist/granular-provider.js +1 -1
- package/dist/index.js +95 -96
- package/dist/styles/themes/dark.css +6 -1
- package/dist/testing.js +230 -0
- package/dist/testing.js.map +1 -0
- package/dist/theme-apply.js +33 -0
- package/dist/theme-apply.js.map +1 -0
- package/dist/theme.js +501 -0
- package/dist/theme.js.map +1 -0
- package/dist/tokens.js +1 -3215
- package/dist/types/components/GrAlert/index.d.ts +7 -0
- package/dist/types/components/GrAvatar/index.d.ts +9 -0
- package/dist/types/components/GrBadgeWrap/index.d.ts +7 -0
- package/dist/types/components/GrBottomNav/index.d.ts +8 -0
- package/dist/types/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +89 -0
- package/dist/types/components/GrButton/index.d.ts +10 -0
- package/dist/types/components/GrCheckbox/index.d.ts +12 -0
- package/dist/types/components/GrCollapse/index.d.ts +8 -0
- package/dist/types/components/GrColorPicker/index.d.ts +11 -0
- package/dist/types/components/GrCommandPalette/GrCommandPalette.vue.d.ts +163 -0
- package/dist/types/components/GrCommandPalette/filtering.d.ts +63 -0
- package/dist/types/components/GrCommandPalette/index.d.ts +9 -0
- package/dist/types/components/GrConfigProvider/index.d.ts +6 -0
- package/dist/types/components/GrDataTable/grDataTableStyles.d.ts +67 -0
- package/dist/types/components/GrDataTable/index.d.ts +12 -0
- package/dist/types/components/GrDialog/index.d.ts +12 -0
- package/dist/types/components/GrDialogService/index.d.ts +6 -0
- package/dist/types/components/GrDropdownMenu/index.d.ts +21 -0
- package/dist/types/components/GrEmptyState/index.d.ts +7 -0
- package/dist/types/components/GrFileUpload/index.d.ts +17 -0
- package/dist/types/components/GrForm/index.d.ts +10 -0
- package/dist/types/components/GrFormField/index.d.ts +8 -0
- package/dist/types/components/GrFormSection/index.d.ts +7 -0
- package/dist/types/components/GrProgressCircle/index.d.ts +10 -0
- package/dist/types/components/GrRadio/index.d.ts +8 -0
- package/dist/types/components/GrRating/GrRating.vue.d.ts +178 -0
- package/dist/types/components/GrResponseErrorBanner/index.d.ts +15 -0
- package/dist/types/components/GrSegmented/index.d.ts +11 -0
- package/dist/types/components/GrSelect/GrSelect.vue.d.ts +199 -0
- package/dist/types/components/GrSidebar/index.d.ts +9 -0
- package/dist/types/components/GrSkeleton/index.d.ts +4 -0
- package/dist/types/components/GrSortableList/grSortableListStyles.d.ts +37 -0
- package/dist/types/components/GrSplitter/index.d.ts +11 -0
- package/dist/types/components/GrStatistic/GrStatistic.vue.d.ts +168 -0
- package/dist/types/components/GrStatistic/grStatisticStyles.d.ts +36 -0
- package/dist/types/components/GrTabPanels/index.d.ts +7 -0
- package/dist/types/components/GrTabs/GrTabs.vue.d.ts +121 -0
- package/dist/types/components/GrTabs/index.d.ts +8 -0
- package/dist/types/components/GrTimeline/index.d.ts +10 -0
- package/dist/types/components/GrTree/grTreeProps.d.ts +119 -0
- package/dist/types/components/GrTree/safelist.d.ts +1 -0
- package/dist/types/components/GrTreeSelect/GrTreeSelect.vue.d.ts +63 -0
- package/dist/types/components/shared/icon.d.ts +13 -0
- package/dist/types/testing/announcer.d.ts +10 -0
- package/dist/types/testing/context.d.ts +36 -0
- package/dist/types/testing/env.d.ts +25 -0
- package/dist/types/testing/geometry.d.ts +23 -0
- package/dist/types/testing/index.d.ts +13 -0
- package/dist/types/testing/keyboard.d.ts +32 -0
- package/dist/types/testing/pointer.d.ts +31 -0
- package/dist/types/theme/apply.d.ts +27 -0
- package/dist/types/theme/color.d.ts +35 -0
- package/dist/types/theme/extendTheme.d.ts +63 -0
- package/dist/types/theme/index.d.ts +22 -0
- package/dist/types/theme/roles.d.ts +16 -0
- package/dist/types/theme/tone.d.ts +32 -0
- package/dist/types/theme/validate.d.ts +16 -0
- package/dist/types/tokens/types.d.ts +62 -0
- package/dist/web-types.json +14 -19
- package/package.json +122 -104
- package/tokens/themes/dark.json +2 -1
- package/dist/chunks/chevron-right-BfqMVpbB.js +0 -44
- package/dist/chunks/chevron-right-BfqMVpbB.js.map +0 -1
- package/dist/chunks/config-06SQjBx0.js +0 -96
- package/dist/chunks/config-06SQjBx0.js.map +0 -1
- package/dist/chunks/config-B-iNaGdw.js +0 -199
- package/dist/chunks/config-B-iNaGdw.js.map +0 -1
- package/dist/chunks/config-BE6n20np2.js.map +0 -1
- package/dist/chunks/config-BqFjr3tN.js +0 -131
- package/dist/chunks/config-BqFjr3tN.js.map +0 -1
- package/dist/chunks/config-COpuWGr_.js.map +0 -1
- package/dist/chunks/config-D2aNP7Es.js +0 -70
- package/dist/chunks/config-D2aNP7Es.js.map +0 -1
- package/dist/chunks/config-D3_g2KIn.js +0 -120
- package/dist/chunks/config-D3_g2KIn.js.map +0 -1
- package/dist/chunks/config-DCFvmHEv2.js.map +0 -1
- package/dist/chunks/config-DEvsMTQE.js +0 -150
- package/dist/chunks/config-DEvsMTQE.js.map +0 -1
- package/dist/chunks/config-DP7eseR1.js +0 -92
- package/dist/chunks/config-DP7eseR1.js.map +0 -1
- package/dist/chunks/config-DhHbU3zO.js +0 -37
- package/dist/chunks/config-DhHbU3zO.js.map +0 -1
- package/dist/chunks/config-DpqOnJiz2.js +0 -11
- package/dist/chunks/config-DpqOnJiz2.js.map +0 -1
- package/dist/chunks/config-DvQIb4kb.js +0 -98
- package/dist/chunks/config-DvQIb4kb.js.map +0 -1
- package/dist/chunks/config-K0C2tcLB.js +0 -84
- package/dist/chunks/config-K0C2tcLB.js.map +0 -1
- package/dist/chunks/config-Rw9OyW70.js +0 -87
- package/dist/chunks/config-Rw9OyW70.js.map +0 -1
- package/dist/chunks/config-WTNhdh6T2.js.map +0 -1
- package/dist/chunks/config-_qPUfb6-2.js +0 -165
- package/dist/chunks/config-_qPUfb6-2.js.map +0 -1
- package/dist/chunks/config-eXB87DOi.js.map +0 -1
- package/dist/chunks/config-gvq_hWNM.js +0 -103
- package/dist/chunks/config-gvq_hWNM.js.map +0 -1
- package/dist/chunks/context-BSYR7RZs.js +0 -152
- package/dist/chunks/context-BSYR7RZs.js.map +0 -1
- package/dist/chunks/granular-provider-B9nXQCMu.js +0 -195
- package/dist/chunks/granular-provider-B9nXQCMu.js.map +0 -1
- package/dist/chunks/portalRoot-CWD4zHBm.js +0 -35
- package/dist/chunks/portalRoot-CWD4zHBm.js.map +0 -1
- package/dist/chunks/useModalOverlay-BTq-0ImG.js +0 -212
- package/dist/chunks/useModalOverlay-BTq-0ImG.js.map +0 -1
- package/dist/chunks/usePortalTarget-RyzEgNTb.js +0 -77
- package/dist/chunks/usePortalTarget-RyzEgNTb.js.map +0 -1
- package/dist/chunks/validation-5HhpanPP.js +0 -178
- package/dist/chunks/validation-5HhpanPP.js.map +0 -1
- package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js +0 -272
- package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js.map +0 -1
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js +0 -852
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js.map +0 -1
- package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js +0 -222
- package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js.map +0 -1
- package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js +0 -40
- package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js.map +0 -1
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js +0 -97
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js.map +0 -1
- package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js +0 -117
- package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js.map +0 -1
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js +0 -266
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js.map +0 -1
- package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js +0 -153
- package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js.map +0 -1
- package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js +0 -89
- package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js.map +0 -1
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js +0 -262
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js.map +0 -1
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js +0 -140
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js.map +0 -1
- package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js +0 -308
- package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js.map +0 -1
- package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js +0 -584
- package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js.map +0 -1
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js +0 -565
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js.map +0 -1
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js +0 -144
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js.map +0 -1
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js +0 -200
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js.map +0 -1
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js +0 -1053
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js.map +0 -1
- package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js +0 -255
- package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js.map +0 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js +0 -656
- package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js.map +0 -1
- package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js +0 -109
- package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js.map +0 -1
- package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js +0 -251
- package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js.map +0 -1
- package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js +0 -300
- package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js.map +0 -1
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js +0 -421
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js.map +0 -1
- package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js +0 -86
- package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js.map +0 -1
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js +0 -1080
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js.map +0 -1
- package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js +0 -326
- package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js.map +0 -1
- package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js +0 -190
- package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js.map +0 -1
- package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js +0 -452
- package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js.map +0 -1
- package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js +0 -63
- package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js.map +0 -1
- package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js +0 -57
- package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js.map +0 -1
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js +0 -1127
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js.map +0 -1
- package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js +0 -348
- package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js.map +0 -1
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js +0 -512
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js.map +0 -1
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js +0 -358
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js.map +0 -1
- package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js +0 -163
- package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js.map +0 -1
- package/dist/components/GrList/chunks/GrList-4YU1NZtM.js +0 -277
- package/dist/components/GrList/chunks/GrList-4YU1NZtM.js.map +0 -1
- package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js +0 -101
- package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js.map +0 -1
- package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js +0 -313
- package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js.map +0 -1
- package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js +0 -104
- package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js.map +0 -1
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js +0 -658
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js.map +0 -1
- package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js +0 -283
- package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js.map +0 -1
- package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js +0 -216
- package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js.map +0 -1
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js +0 -90
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js.map +0 -1
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js +0 -210
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js.map +0 -1
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js +0 -348
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js.map +0 -1
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js +0 -253
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js.map +0 -1
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js +0 -196
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js.map +0 -1
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js +0 -315
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js.map +0 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js +0 -777
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js.map +0 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js +0 -224
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js.map +0 -1
- package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js +0 -388
- package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js.map +0 -1
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js +0 -1373
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js.map +0 -1
- package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js +0 -257
- package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js.map +0 -1
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js +0 -84
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js.map +0 -1
- package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js +0 -379
- package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js.map +0 -1
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js +0 -276
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js.map +0 -1
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js +0 -268
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js.map +0 -1
- package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js +0 -319
- package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js.map +0 -1
- package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js +0 -183
- package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js.map +0 -1
- package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js +0 -81
- package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js.map +0 -1
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js +0 -169
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js.map +0 -1
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js +0 -261
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js.map +0 -1
- package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js +0 -241
- package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js.map +0 -1
- package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js +0 -285
- package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js.map +0 -1
- package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js +0 -373
- package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js.map +0 -1
- package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js +0 -185
- package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js.map +0 -1
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js +0 -1371
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js.map +0 -1
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js +0 -623
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js.map +0 -1
- package/dist/tokens.js.map +0 -1
- package/dist/types/src/components/GrAlert/index.d.ts +0 -8
- package/dist/types/src/components/GrAvatar/index.d.ts +0 -10
- package/dist/types/src/components/GrBadgeWrap/index.d.ts +0 -7
- package/dist/types/src/components/GrBottomNav/index.d.ts +0 -9
- package/dist/types/src/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +0 -86
- package/dist/types/src/components/GrButton/index.d.ts +0 -11
- package/dist/types/src/components/GrCheckbox/index.d.ts +0 -13
- package/dist/types/src/components/GrCollapse/index.d.ts +0 -9
- package/dist/types/src/components/GrColorPicker/index.d.ts +0 -11
- package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +0 -163
- package/dist/types/src/components/GrCommandPalette/filtering.d.ts +0 -59
- package/dist/types/src/components/GrCommandPalette/index.d.ts +0 -10
- package/dist/types/src/components/GrConfigProvider/index.d.ts +0 -6
- package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +0 -68
- package/dist/types/src/components/GrDataTable/index.d.ts +0 -13
- package/dist/types/src/components/GrDialog/index.d.ts +0 -12
- package/dist/types/src/components/GrDialogService/index.d.ts +0 -6
- package/dist/types/src/components/GrDropdownMenu/index.d.ts +0 -22
- package/dist/types/src/components/GrEmptyState/index.d.ts +0 -8
- package/dist/types/src/components/GrFileUpload/index.d.ts +0 -18
- package/dist/types/src/components/GrForm/index.d.ts +0 -10
- package/dist/types/src/components/GrFormField/index.d.ts +0 -8
- package/dist/types/src/components/GrFormSection/index.d.ts +0 -8
- package/dist/types/src/components/GrProgressCircle/index.d.ts +0 -11
- package/dist/types/src/components/GrRadio/index.d.ts +0 -9
- package/dist/types/src/components/GrRating/GrRating.vue.d.ts +0 -173
- package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +0 -16
- package/dist/types/src/components/GrSegmented/index.d.ts +0 -11
- package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +0 -205
- package/dist/types/src/components/GrSidebar/index.d.ts +0 -10
- package/dist/types/src/components/GrSkeleton/index.d.ts +0 -4
- package/dist/types/src/components/GrSortableList/grSortableListStyles.d.ts +0 -38
- package/dist/types/src/components/GrSplitter/index.d.ts +0 -11
- package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +0 -165
- package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +0 -37
- package/dist/types/src/components/GrTabPanels/index.d.ts +0 -8
- package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +0 -117
- package/dist/types/src/components/GrTabs/index.d.ts +0 -9
- package/dist/types/src/components/GrTimeline/index.d.ts +0 -12
- package/dist/types/src/components/GrTree/grTreeProps.d.ts +0 -112
- package/dist/types/src/components/GrTree/safelist.d.ts +0 -1
- package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +0 -69
- package/dist/types/src/tokens/types.d.ts +0 -54
- /package/dist/chunks/{config-BE6n20np2.js → config-BE6n20np.js} +0 -0
- /package/dist/chunks/{config-COpuWGr_.js → config-COpuWGr_2.js} +0 -0
- /package/dist/chunks/{config-DCFvmHEv2.js → config-DCFvmHEv.js} +0 -0
- /package/dist/chunks/{config-WTNhdh6T2.js → config-WTNhdh6T.js} +0 -0
- /package/dist/chunks/{config-eXB87DOi.js → config-eXB87DOi2.js} +0 -0
- /package/dist/types/{src/components → components}/GrAlert/GrAlert.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAlert/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAlert/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAlert/grAlertStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAutocomplete/GrAutocomplete.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAutocomplete/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAutocomplete/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAutocomplete/grAutocompleteStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAutocomplete/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAutocomplete/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/GrAvatar.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/GrAvatarGroup.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/avatarContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/grAvatarStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrAvatar/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadge/GrBadge.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadge/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadge/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadge/grBadgeStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadge/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadge/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadgeWrap/GrBadgeWrap.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadgeWrap/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadgeWrap/grBadgeWrapStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBadgeWrap/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBottomNav/GrBottomNav.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBottomNav/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBottomNav/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBottomNav/grBottomNavStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBottomNav/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBreadcrumbs/GrBreadcrumbs.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBreadcrumbs/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBreadcrumbs/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBreadcrumbs/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrBreadcrumbs/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButton/GrButton.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButton/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButton/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButton/grButtonStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButton/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButtonGroup/GrButtonGroup.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButtonGroup/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButtonGroup/context.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrButtonGroup/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCard/GrCard.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCard/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCard/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCard/grCardStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCard/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCard/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckbox/GrCheckbox.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckbox/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckbox/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckbox/grCheckboxGroupContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckbox/grCheckboxStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckbox/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckboxGroup/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckboxGroup/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCheckboxGroup/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/GrCollapse.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/GrCollapseItem.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/grCollapseContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/grCollapseStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCollapse/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrColorPicker/GrColorPicker.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrColorPicker/color.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrColorPicker/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrColorPicker/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrColorPicker/grColorPickerStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrColorPicker/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCommandPalette/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCommandPalette/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCommandPalette/grCommandPaletteStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrCommandPalette/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfigProvider/GrConfigProvider.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfigProvider/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfigProvider/context.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfigProvider/zIndexScale.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfirmDialog/GrConfirmDialog.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfirmDialog/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfirmDialog/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrConfirmDialog/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDataTable/GrDataTable.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDataTable/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDataTable/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDataTable/grDataTableSort.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDataTable/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/GrDialog.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/GrDialogCloseButton.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/GrDialogFooter.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/GrDialogHeader.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/dialogShared.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialog/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialogService/GrDialogServiceHost.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialogService/GrDialogServiceItem.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialogService/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialogService/store.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialogService/types.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDialogService/useDialogService.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDivider/GrDivider.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDivider/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDivider/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDivider/grDividerStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDivider/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDivider/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDrawer/GrDrawer.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDrawer/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDrawer/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDrawer/grDrawerStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDrawer/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDrawer/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdown/GrDropdown.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdown/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdown/grDropdownStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdown/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdown/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenu.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuDivider.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/grDropdownMenuStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/menuModel.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrDropdownMenu/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrEmptyState/GrEmptyState.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrEmptyState/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrEmptyState/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrEmptyState/grEmptyStateStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrEmptyState/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/FileValidationError.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/GrFileUpload.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/acceptValidator.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/fileEntry.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/grFileUploadStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/matchAccept.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/maxFileSize.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/runFileValidators.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/types.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/uploadState.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/uploadViaXhr.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/useDropZone.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/usePerFileUpload.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFileUpload/useUploadState.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrForm/GrForm.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrForm/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrForm/context.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrForm/fileRule.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrForm/modelSnapshot.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrForm/validation.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormField/GrFormField.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormField/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormField/context.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormField/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormField/grFormFieldStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormField/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormFile/GrFormFile.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormFile/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormFile/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormFile/grFormFileStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormFile/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormFile/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormSection/GrFormSection.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormSection/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormSection/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormSection/grFormSectionStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrFormSection/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrIcon/GrIcon.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrIcon/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrIcon/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrIcon/grIconStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrIcon/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrIcon/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/GrImageViewer.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/composables/usePointerGestures.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/composables/useViewerKeyboard.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/composables/useWheelGesture.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/composables/useZoomPan.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/grImageViewerStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrImageViewer/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInput/GrInput.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInput/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInput/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInput/grInputStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInput/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInput/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInputTag/GrInputTag.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInputTag/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInputTag/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInputTag/grInputTagStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInputTag/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrInputTag/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrKbd/GrKbd.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrKbd/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrKbd/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrKbd/grKbdStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrKbd/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrKbd/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLink/GrLink.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLink/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLink/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLink/grLinkStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLink/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLink/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrList/GrList.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrList/GrListItem.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrList/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrList/grListStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrList/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrList/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLoading/GrLoading.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLoading/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLoading/grLoadingStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLoading/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrLoading/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/GrModal.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/context.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/grModalStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrModal/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNavbar/GrNavbar.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNavbar/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNavbar/grNavbarStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNavbar/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNavbar/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/GrNumberInput.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/grNumberInputStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/numberInputMath.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrNumberInput/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPagination/GrPagination.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPagination/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPagination/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPagination/grPaginationStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPagination/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPagination/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPopover/GrPopover.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPopover/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPopover/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPopover/grPopoverStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPopover/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPopover/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressBar/GrProgressBar.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressBar/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressBar/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressBar/grStyle.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressBar/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressBar/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressCircle/GrProgressCircle.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressCircle/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressCircle/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressCircle/geometry.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressCircle/grProgressCircleStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrProgressCircle/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPromptDialog/GrPromptDialog.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPromptDialog/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPromptDialog/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrPromptDialog/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadio/GrRadio.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadio/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadio/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadio/grRadioGroupContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadio/grRadioStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadio/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadioGroup/GrRadioGroup.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadioGroup/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadioGroup/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRadioGroup/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRating/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRating/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRating/grRatingStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRating/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrRating/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/GrFormErrorBanner.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/GrResponseErrorBanner.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/abortErrorParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/createResponseErrorClassifier.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/fileValidationParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/httpStatusParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/jsonApiErrorParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/laravelValidationParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/networkErrorParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/normalizeError.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/plainMessageParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/problemDetailsParser.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/responseError.defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/responseError.types.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrResponseErrorBanner/useResponseError.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSegmented/GrSegmented.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSegmented/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSegmented/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSegmented/grSegmentedStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSegmented/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/composables/useSelectNavigation.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/composables/useSelectPanelItems.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/composables/useSelectValues.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/composables/useSelectVirtualization.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/grSelectStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSelect/selectValue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/GrSidebar.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/GrSidebarGroup.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/GrSidebarItem.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/grSidebarStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSidebar/sidebarContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSkeleton/GrSkeleton.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSkeleton/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSkeleton/grSkeletonStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSlider/GrSlider.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSlider/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSlider/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSlider/grSliderStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSlider/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSlider/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSortableList/GrSortableList.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSortableList/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSortableList/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSortableList/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSplitter/GrSplitter.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSplitter/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSplitter/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSplitter/grSplitterStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSplitter/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSplitter/splitterGeometry.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrStatistic/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrStatistic/countUp.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrStatistic/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrStatistic/formatStatisticValue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrStatistic/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrStatistic/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSwitch/GrSwitch.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSwitch/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSwitch/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSwitch/grSwitchStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSwitch/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrSwitch/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabPanels/GrTabPanel.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabPanels/GrTabPanels.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabPanels/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabPanels/context.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTable/GrTable.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTable/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTable/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTable/grTableStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTable/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTable/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabs/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabs/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabs/grTabsStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTabs/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTextarea/GrTextarea.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTextarea/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTextarea/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTextarea/grTextareaStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTextarea/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTextarea/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/GrTimeline.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/GrTimelineItem.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/grTimelineContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/grTimelineStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTimeline/timelineGroups.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrToaster/GrToaster.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrToaster/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrToaster/grToasterStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrToaster/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrToaster/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTooltip/GrTooltip.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTooltip/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTooltip/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTooltip/grTooltipStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTooltip/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTooltip/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/GrTree.vue.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/grTreeChecking.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/grTreeDataAdapter.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/grTreeInteractionContext.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/grTreeStore.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/grTreeStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/grTreeTypes.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTree/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTreeSelect/config.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTreeSelect/defaults.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTreeSelect/grTreeSelectStyles.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTreeSelect/grTreeSelectTypes.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTreeSelect/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/GrTreeSelect/safelist.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/classTokens.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/hotkey.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/hotkeyTokens.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/instance.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/optionFilter.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/sizes.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/slotNodes.d.ts +0 -0
- /package/dist/types/{src/components → components}/shared/tones.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/dragSortGeometry.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/focusables.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/inert.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/overlayStack.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/portalRoot.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useAddonMeasurement.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useControlAddons.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useControlledOpen.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useFilePreviews.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useFocusWithin.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useInertOthers.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useModalOverlay.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useOverlayPresence.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useScrollLock.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/internal/useTeleportEnabled.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useAnnouncer.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useComboboxNavigation.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useDismissible.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useDragGesture.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useDragSort.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useFloating.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useFocusTrap.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useGrComponentConfig.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useGrFormControl.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useGranularityTranslations.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useOverlayLayer.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/usePortalTarget.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useRovingFocus.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useTheme.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useToast.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/useVirtualList.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/autofocus.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/autosize.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/clickOutside.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/dropzone.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/globalDirectives.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/hotkey.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/index.d.ts +0 -0
- /package/dist/types/{src/directives → directives}/loading.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/FileValidationError.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/acceptValidator.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/allowedExtensionsValidator.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/allowedMimeTypesValidator.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/i18n.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/index.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/matchAccept.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/maxCountValidator.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/maxFileSize.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/maxTotalSizeBytesValidator.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/runFileValidators.d.ts +0 -0
- /package/dist/types/{src/fileValidation → fileValidation}/types.d.ts +0 -0
- /package/dist/types/{src/granular-provider → granular-provider}/index.d.ts +0 -0
- /package/dist/types/{src/granular-provider → granular-provider}/node.d.ts +0 -0
- /package/dist/types/{src/granular-provider → granular-provider}/shared.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/adapter.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/all.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/index.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/messages/const.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/messages/en.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/messages/es.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/messages/index.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/messages/ru.d.ts +0 -0
- /package/dist/types/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/types/{src/internal → internal}/granularityFormat.d.ts +0 -0
- /package/dist/types/{src/internal → internal}/granularityI18n.d.ts +0 -0
- /package/dist/types/{src/internal → internal}/keyboard.d.ts +0 -0
- /package/dist/types/{src/tokens → tokens}/generated.d.ts +0 -0
- /package/dist/types/{src/tokens → tokens}/index.d.ts +0 -0
- /package/dist/types/{src/vue → vue}/index.d.ts +0 -0
- /package/dist/types/{src/vue → vue}/plugin.d.ts +0 -0
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
import { t as x_default } from "../../../chunks/x-2KXnqxiD.js";
|
|
2
|
+
import { a as useGrComponentSize, i as useGrComponentProp } from "../../../chunks/context-CTbuwcYs.js";
|
|
3
|
+
import { n as useGranularityTranslations } from "../../../chunks/granularityI18n-BC5zsj_d.js";
|
|
4
|
+
import { t as GrIcon_default } from "../../GrIcon/chunks/GrIcon-bQwtZtYT.js";
|
|
5
|
+
import { n as useGrFormFieldContext } from "../../../chunks/context-DdNIxa1w.js";
|
|
6
|
+
import { useGrFormControl } from "../../../composables/useGrFormControl.js";
|
|
7
|
+
import { n as addLen, t as useControlAddons } from "../../../chunks/useControlAddons-asUr10Pf.js";
|
|
8
|
+
import { t as chevron_down_default } from "../../../chunks/chevron-down-CQS2OG_s.js";
|
|
9
|
+
import { t as chevron_left_default } from "../../../chunks/chevron-left-D8AUBAM7.js";
|
|
10
|
+
import { t as chevron_right_default } from "../../../chunks/chevron-right-C6Z01h0X.js";
|
|
11
|
+
import { a as grNumberInputShellClass, i as grNumberInputInputClass, o as stepperCompactClass, r as clearButtonClass, s as stepperWideClass } from "../../../chunks/config-zjeAJ4ho.js";
|
|
12
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, markRaw, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, unref, withCtx, withModifiers } from "vue";
|
|
13
|
+
//#region src/components/GrNumberInput/numberInputMath.ts
|
|
14
|
+
/**
|
|
15
|
+
* Экспоненциальная запись разбирается отдельно: `String(1e-7)` — это `"1e-7"`,
|
|
16
|
+
* и поиск точки насчитал бы ноль знаков, после чего округление съело бы всё
|
|
17
|
+
* значение.
|
|
18
|
+
*/
|
|
19
|
+
function decimalsOf(value) {
|
|
20
|
+
if (!Number.isFinite(value)) return 0;
|
|
21
|
+
const text = String(Math.abs(value));
|
|
22
|
+
const exponential = text.match(/^\d+(?:\.(\d+))?e-(\d+)$/);
|
|
23
|
+
if (exponential) {
|
|
24
|
+
const [, fraction = "", exponent] = exponential;
|
|
25
|
+
return fraction.length + Number(exponent);
|
|
26
|
+
}
|
|
27
|
+
const dot = text.indexOf(".");
|
|
28
|
+
return dot === -1 ? 0 : text.length - dot - 1;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Двоичная дробь копит ошибку, поэтому сумма округляется. Разрядность — по
|
|
32
|
+
* большему из операндов: шаг `0.5` от значения `1.25` обязан дать `1.75`.
|
|
33
|
+
*/
|
|
34
|
+
function addStep(current, step) {
|
|
35
|
+
const decimals = Math.max(decimalsOf(current), decimalsOf(step));
|
|
36
|
+
const sum = current + step;
|
|
37
|
+
return decimals > 100 ? sum : Number(sum.toFixed(decimals));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Правило `GrSlider` (`bigStep` в `GrSlider.vue`): десять шагов либо десятая
|
|
41
|
+
* часть диапазона — что крупнее. У поля границы необязательны, и без них
|
|
42
|
+
* диапазона не существует.
|
|
43
|
+
*/
|
|
44
|
+
function bigStep(step, min, max) {
|
|
45
|
+
const base = step * 10;
|
|
46
|
+
if (min === void 0 || max === void 0) return base;
|
|
47
|
+
const span = max - min;
|
|
48
|
+
const tenth = Math.round(span / 10 / step) * step;
|
|
49
|
+
return Math.max(base, tenth || step);
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region ~icons/lucide/chevron-up
|
|
53
|
+
var _hoisted_1$1 = {
|
|
54
|
+
viewBox: "0 0 24 24",
|
|
55
|
+
width: "1.2em",
|
|
56
|
+
height: "1.2em"
|
|
57
|
+
};
|
|
58
|
+
function render$1(_ctx, _cache) {
|
|
59
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
60
|
+
fill: "none",
|
|
61
|
+
stroke: "currentColor",
|
|
62
|
+
"stroke-linecap": "round",
|
|
63
|
+
"stroke-linejoin": "round",
|
|
64
|
+
"stroke-width": "2",
|
|
65
|
+
d: "m18 15l-6-6l-6 6"
|
|
66
|
+
}, null, -1)])]);
|
|
67
|
+
}
|
|
68
|
+
var chevron_up_default = markRaw({
|
|
69
|
+
name: "lucide-chevron-up",
|
|
70
|
+
render: render$1
|
|
71
|
+
});
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/components/GrNumberInput/GrNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
74
|
+
var _hoisted_1 = [
|
|
75
|
+
"id",
|
|
76
|
+
"name",
|
|
77
|
+
"inputmode",
|
|
78
|
+
"autocomplete",
|
|
79
|
+
"placeholder",
|
|
80
|
+
"disabled",
|
|
81
|
+
"value",
|
|
82
|
+
"aria-valuenow",
|
|
83
|
+
"aria-valuemin",
|
|
84
|
+
"aria-valuemax",
|
|
85
|
+
"aria-valuetext",
|
|
86
|
+
"aria-invalid",
|
|
87
|
+
"aria-describedby",
|
|
88
|
+
"aria-required",
|
|
89
|
+
"aria-readonly",
|
|
90
|
+
"aria-label",
|
|
91
|
+
"readonly"
|
|
92
|
+
];
|
|
93
|
+
var _hoisted_2 = ["aria-label"];
|
|
94
|
+
var _hoisted_3 = { class: "flex flex-col justify-center gap-1" };
|
|
95
|
+
var _hoisted_4 = ["disabled", "aria-label"];
|
|
96
|
+
var _hoisted_5 = ["disabled", "aria-label"];
|
|
97
|
+
var _hoisted_6 = ["disabled", "aria-label"];
|
|
98
|
+
var _hoisted_7 = ["disabled", "aria-label"];
|
|
99
|
+
var REPEAT_DELAY_MS = 400;
|
|
100
|
+
var REPEAT_INTERVAL_MS = 60;
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/components/GrNumberInput/GrNumberInput.vue
|
|
103
|
+
var GrNumberInput_default = /* @__PURE__ */ defineComponent({
|
|
104
|
+
inheritAttrs: false,
|
|
105
|
+
__name: "GrNumberInput",
|
|
106
|
+
props: {
|
|
107
|
+
modelValue: {},
|
|
108
|
+
placeholder: { default: void 0 },
|
|
109
|
+
autocomplete: { default: void 0 },
|
|
110
|
+
inputmode: { default: "decimal" },
|
|
111
|
+
disabled: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: false
|
|
114
|
+
},
|
|
115
|
+
invalid: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: false
|
|
118
|
+
},
|
|
119
|
+
readonly: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
default: false
|
|
122
|
+
},
|
|
123
|
+
required: {
|
|
124
|
+
type: Boolean,
|
|
125
|
+
default: false
|
|
126
|
+
},
|
|
127
|
+
ariaLabel: { default: void 0 },
|
|
128
|
+
state: { default: "default" },
|
|
129
|
+
name: { default: void 0 },
|
|
130
|
+
id: { default: void 0 },
|
|
131
|
+
size: { default: void 0 },
|
|
132
|
+
textAlign: { default: "left" },
|
|
133
|
+
decimalSeparator: { default: "." },
|
|
134
|
+
step: { default: 1 },
|
|
135
|
+
min: { default: void 0 },
|
|
136
|
+
max: { default: void 0 },
|
|
137
|
+
precision: { default: void 0 },
|
|
138
|
+
clearable: {
|
|
139
|
+
type: Boolean,
|
|
140
|
+
default: void 0
|
|
141
|
+
},
|
|
142
|
+
clearLabel: { default: void 0 },
|
|
143
|
+
locale: { default: void 0 },
|
|
144
|
+
useGrouping: {
|
|
145
|
+
type: Boolean,
|
|
146
|
+
default: false
|
|
147
|
+
},
|
|
148
|
+
controls: {
|
|
149
|
+
type: Boolean,
|
|
150
|
+
default: false
|
|
151
|
+
},
|
|
152
|
+
controlsDirection: { default: "vertical" },
|
|
153
|
+
prefixMinWidth: { default: void 0 },
|
|
154
|
+
prefixMaxWidth: { default: void 0 },
|
|
155
|
+
suffixMinWidth: { default: void 0 },
|
|
156
|
+
suffixMaxWidth: { default: void 0 },
|
|
157
|
+
prefixFixed: {
|
|
158
|
+
type: Boolean,
|
|
159
|
+
default: false
|
|
160
|
+
},
|
|
161
|
+
suffixFixed: {
|
|
162
|
+
type: Boolean,
|
|
163
|
+
default: false
|
|
164
|
+
},
|
|
165
|
+
increaseLabel: { default: void 0 },
|
|
166
|
+
decreaseLabel: { default: void 0 }
|
|
167
|
+
},
|
|
168
|
+
emits: [
|
|
169
|
+
"update:modelValue",
|
|
170
|
+
"change",
|
|
171
|
+
"focus",
|
|
172
|
+
"blur",
|
|
173
|
+
"clear"
|
|
174
|
+
],
|
|
175
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
176
|
+
const ADDON_PX_BY_SIZE = {
|
|
177
|
+
xs: 32,
|
|
178
|
+
sm: 36,
|
|
179
|
+
md: 40,
|
|
180
|
+
lg: 48
|
|
181
|
+
};
|
|
182
|
+
const BASE_PADDING_X_LEN_BY_SIZE = {
|
|
183
|
+
xs: "10px",
|
|
184
|
+
sm: "12px",
|
|
185
|
+
md: "12px",
|
|
186
|
+
lg: "16px"
|
|
187
|
+
};
|
|
188
|
+
function px(n) {
|
|
189
|
+
return `${n}px`;
|
|
190
|
+
}
|
|
191
|
+
const field = useGrFormFieldContext();
|
|
192
|
+
const props = __props;
|
|
193
|
+
const resolvedSize = useGrComponentSize(() => props.size, { component: "GrNumberInput" });
|
|
194
|
+
const resolvedId = computed(() => props.id ?? field?.id.value);
|
|
195
|
+
const describedBy = computed(() => field?.describedById.value);
|
|
196
|
+
const { disabled: isDisabled, invalid: isInvalid, required: isRequired, readonly: isReadonly } = useGrFormControl(() => props);
|
|
197
|
+
const emit = __emit;
|
|
198
|
+
const inputEl = ref(null);
|
|
199
|
+
const isFocused = ref(false);
|
|
200
|
+
/**
|
|
201
|
+
* Строка ровно в том виде, в каком её набирают. Модель к этому моменту может
|
|
202
|
+
* быть `null` («-», «1,» — не числа), и без черновика поле стирало бы под
|
|
203
|
+
* пальцами то, что печатают. Коммит (`change`/`blur`) черновик снимает.
|
|
204
|
+
*/
|
|
205
|
+
const draft = ref(null);
|
|
206
|
+
function focus() {
|
|
207
|
+
inputEl.value?.focus();
|
|
208
|
+
}
|
|
209
|
+
function blur() {
|
|
210
|
+
inputEl.value?.blur();
|
|
211
|
+
}
|
|
212
|
+
__expose({
|
|
213
|
+
focus,
|
|
214
|
+
blur
|
|
215
|
+
});
|
|
216
|
+
const { t, locale } = useGranularityTranslations();
|
|
217
|
+
/**
|
|
218
|
+
* Локаль форматирования: свой проп → локаль i18n-адаптера → окружение. Без
|
|
219
|
+
* второго шага мультиязычное приложение передавало бы `locale` каждому полю.
|
|
220
|
+
*/
|
|
221
|
+
const resolvedLocale = computed(() => props.locale ?? locale.value);
|
|
222
|
+
const resolvedIncreaseLabel = computed(() => props.increaseLabel ?? t("gr.numberInput.increase", "Increase"));
|
|
223
|
+
const resolvedDecreaseLabel = computed(() => props.decreaseLabel ?? t("gr.numberInput.decrease", "Decrease"));
|
|
224
|
+
const hasHorizontalControls = computed(() => props.controls && props.controlsDirection === "horizontal");
|
|
225
|
+
const hasVerticalControls = computed(() => props.controls && props.controlsDirection === "vertical");
|
|
226
|
+
const addonPx = computed(() => ADDON_PX_BY_SIZE[resolvedSize.value]);
|
|
227
|
+
const addonLen = computed(() => px(addonPx.value));
|
|
228
|
+
const basePaddingXLen = computed(() => BASE_PADDING_X_LEN_BY_SIZE[resolvedSize.value]);
|
|
229
|
+
/** Кнопки ± справа: вертикальный стек — одна колонка, горизонтальный — вторая. */
|
|
230
|
+
const rightControlsCount = computed(() => (hasHorizontalControls.value ? 1 : 0) + (hasVerticalControls.value ? 1 : 0));
|
|
231
|
+
const { prefixEl, suffixEl, prefixLen, suffixLen, prefixStyle, suffixStyle, fieldPadding: inputStyle } = useControlAddons(() => props, {
|
|
232
|
+
defaultMinWidth: () => addonLen.value,
|
|
233
|
+
paddingX: () => basePaddingXLen.value,
|
|
234
|
+
leadingReserve: () => hasHorizontalControls.value ? addonLen.value : "0px",
|
|
235
|
+
trailingReserve: () => rightControlsCount.value > 0 ? px(addonPx.value * rightControlsCount.value) : "0px",
|
|
236
|
+
anchorSuffixRight: true
|
|
237
|
+
});
|
|
238
|
+
function addonStyle(side, offset) {
|
|
239
|
+
return {
|
|
240
|
+
width: addonLen.value,
|
|
241
|
+
[side]: offset
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
const verticalControlsStyle = computed(() => addonStyle("right", suffixLen.value));
|
|
245
|
+
/**
|
|
246
|
+
* Крестик очистки живёт левее правой зоны (суффикс + кнопки ±) — иначе он лёг бы
|
|
247
|
+
* на них. Ширины там же, где их считает поле, поэтому переиспользуем расчёт.
|
|
248
|
+
*/
|
|
249
|
+
const clearButtonStyle = computed(() => {
|
|
250
|
+
const controls = rightControlsCount.value > 0 ? px(addonPx.value * rightControlsCount.value) : "0px";
|
|
251
|
+
return { right: addLen(addLen(suffixLen.value, controls), "6px") };
|
|
252
|
+
});
|
|
253
|
+
const horizontalLeftControlsStyle = computed(() => addonStyle("left", prefixLen.value));
|
|
254
|
+
const horizontalRightControlsStyle = computed(() => addonStyle("right", suffixLen.value));
|
|
255
|
+
const shellClassName = computed(() => {
|
|
256
|
+
return grNumberInputShellClass({
|
|
257
|
+
disabled: isDisabled.value,
|
|
258
|
+
state: props.state,
|
|
259
|
+
invalid: isInvalid.value
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
const inputClassName = computed(() => {
|
|
263
|
+
return grNumberInputInputClass({
|
|
264
|
+
size: resolvedSize.value,
|
|
265
|
+
textAlign: props.textAlign
|
|
266
|
+
});
|
|
267
|
+
});
|
|
268
|
+
function isDigit(ch) {
|
|
269
|
+
return ch >= "0" && ch <= "9";
|
|
270
|
+
}
|
|
271
|
+
function sanitize(raw) {
|
|
272
|
+
const sep = props.decimalSeparator || ".";
|
|
273
|
+
let out = "";
|
|
274
|
+
let hasSepLocal = false;
|
|
275
|
+
for (let i = 0; i < raw.length; i++) {
|
|
276
|
+
const ch = raw[i];
|
|
277
|
+
if (ch === "-" && out.length === 0) {
|
|
278
|
+
out += "-";
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
if (isDigit(ch)) {
|
|
282
|
+
out += ch;
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
if ((ch === sep || ch === "." || ch === ",") && !hasSepLocal) {
|
|
286
|
+
out += sep;
|
|
287
|
+
hasSepLocal = true;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return out;
|
|
291
|
+
}
|
|
292
|
+
function toNumber(value) {
|
|
293
|
+
if (value.trim() === "") return null;
|
|
294
|
+
const sep = props.decimalSeparator || ".";
|
|
295
|
+
const normalized = sep === "." ? value : value.replace(sep, ".");
|
|
296
|
+
const n = Number(normalized);
|
|
297
|
+
if (!Number.isFinite(n)) return null;
|
|
298
|
+
return n;
|
|
299
|
+
}
|
|
300
|
+
function clamp(v) {
|
|
301
|
+
if (props.min !== void 0) v = Math.max(props.min, v);
|
|
302
|
+
if (props.max !== void 0) v = Math.min(props.max, v);
|
|
303
|
+
return v;
|
|
304
|
+
}
|
|
305
|
+
function normalize(v) {
|
|
306
|
+
if (props.precision === void 0) return v;
|
|
307
|
+
const p = Math.max(0, props.precision);
|
|
308
|
+
return Number(v.toFixed(p));
|
|
309
|
+
}
|
|
310
|
+
function format(n) {
|
|
311
|
+
const sep = props.decimalSeparator || ".";
|
|
312
|
+
const p = props.precision;
|
|
313
|
+
let s = p === void 0 ? n.toLocaleString("en-US", {
|
|
314
|
+
useGrouping: false,
|
|
315
|
+
maximumFractionDigits: 20
|
|
316
|
+
}) : n.toFixed(Math.max(0, p));
|
|
317
|
+
if (sep !== ".") s = s.replace(".", sep);
|
|
318
|
+
return s;
|
|
319
|
+
}
|
|
320
|
+
function onInput(e) {
|
|
321
|
+
const el = e.target;
|
|
322
|
+
const raw = el.value;
|
|
323
|
+
const next = sanitize(raw);
|
|
324
|
+
if (raw !== next) {
|
|
325
|
+
const caret = el.selectionStart ?? raw.length;
|
|
326
|
+
const keptBefore = sanitize(raw.slice(0, caret)).length;
|
|
327
|
+
el.value = next;
|
|
328
|
+
el.setSelectionRange(keptBefore, keptBefore);
|
|
329
|
+
}
|
|
330
|
+
draft.value = next;
|
|
331
|
+
const num = toNumber(next);
|
|
332
|
+
if (num !== props.modelValue) emit("update:modelValue", num);
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Коммит набранного: границы и точность применяются здесь, а не на каждом
|
|
336
|
+
* нажатии, — иначе `min=10` не дал бы набрать «1» как начало «15».
|
|
337
|
+
*/
|
|
338
|
+
function commit() {
|
|
339
|
+
const num = draft.value !== null ? toNumber(draft.value) : props.modelValue;
|
|
340
|
+
const next = num === null ? null : clamp(normalize(num));
|
|
341
|
+
draft.value = null;
|
|
342
|
+
if (next !== props.modelValue) emit("update:modelValue", next);
|
|
343
|
+
emit("change", next);
|
|
344
|
+
}
|
|
345
|
+
function onChange() {
|
|
346
|
+
commit();
|
|
347
|
+
}
|
|
348
|
+
function setValue(n) {
|
|
349
|
+
const next = clamp(normalize(n));
|
|
350
|
+
draft.value = null;
|
|
351
|
+
emit("update:modelValue", next);
|
|
352
|
+
emit("change", next);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Шаг значения. Фокус не трогаем: кнопка ± обязана оставаться под фокусом,
|
|
356
|
+
* иначе клавиатурный пользователь после первого Enter теряет её и повторно
|
|
357
|
+
* нажать не может. Поле фокусирует тот, кто шагает от него самого.
|
|
358
|
+
*/
|
|
359
|
+
function stepBy(dir, step = props.step ?? 1) {
|
|
360
|
+
if (isDisabled.value || isReadonly.value) return;
|
|
361
|
+
setValue(addStep(props.modelValue ?? 0, step * dir));
|
|
362
|
+
}
|
|
363
|
+
let repeatFired = false;
|
|
364
|
+
/** Клик кнопки «±»: шаг, если это не хвост только что завершённого удержания. */
|
|
365
|
+
function onStepClick(dir, event) {
|
|
366
|
+
if (event.detail === 0) {
|
|
367
|
+
repeatFired = false;
|
|
368
|
+
stepBy(dir);
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
if (repeatFired) {
|
|
372
|
+
repeatFired = false;
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
stepBy(dir);
|
|
376
|
+
}
|
|
377
|
+
function onKeydown(e) {
|
|
378
|
+
if (isDisabled.value) return;
|
|
379
|
+
if (isReadonly.value) return;
|
|
380
|
+
switch (e.key) {
|
|
381
|
+
case "ArrowUp":
|
|
382
|
+
e.preventDefault();
|
|
383
|
+
stepBy(1);
|
|
384
|
+
break;
|
|
385
|
+
case "ArrowDown":
|
|
386
|
+
e.preventDefault();
|
|
387
|
+
stepBy(-1);
|
|
388
|
+
break;
|
|
389
|
+
case "PageUp":
|
|
390
|
+
e.preventDefault();
|
|
391
|
+
stepBy(1, bigStep(props.step ?? 1, props.min, props.max));
|
|
392
|
+
break;
|
|
393
|
+
case "PageDown":
|
|
394
|
+
e.preventDefault();
|
|
395
|
+
stepBy(-1, bigStep(props.step ?? 1, props.min, props.max));
|
|
396
|
+
break;
|
|
397
|
+
case "Home":
|
|
398
|
+
if (props.min !== void 0) {
|
|
399
|
+
e.preventDefault();
|
|
400
|
+
setValue(props.min);
|
|
401
|
+
}
|
|
402
|
+
break;
|
|
403
|
+
case "End":
|
|
404
|
+
if (props.max !== void 0) {
|
|
405
|
+
e.preventDefault();
|
|
406
|
+
setValue(props.max);
|
|
407
|
+
}
|
|
408
|
+
break;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
const ariaValueNow = computed(() => props.modelValue ?? void 0);
|
|
412
|
+
const numericValue = computed(() => props.modelValue);
|
|
413
|
+
const canIncrease = computed(() => {
|
|
414
|
+
if (props.max === void 0) return true;
|
|
415
|
+
const current = numericValue.value;
|
|
416
|
+
return current === null || normalize(current) < props.max;
|
|
417
|
+
});
|
|
418
|
+
const canDecrease = computed(() => {
|
|
419
|
+
if (props.min === void 0) return true;
|
|
420
|
+
const current = numericValue.value;
|
|
421
|
+
return current === null || normalize(current) > props.min;
|
|
422
|
+
});
|
|
423
|
+
function formatGrouped(num) {
|
|
424
|
+
const sep = props.decimalSeparator || ".";
|
|
425
|
+
return new Intl.NumberFormat(resolvedLocale.value, {
|
|
426
|
+
useGrouping: true,
|
|
427
|
+
minimumFractionDigits: props.precision ?? 0,
|
|
428
|
+
maximumFractionDigits: props.precision ?? 20
|
|
429
|
+
}).formatToParts(num).map((part) => part.type === "decimal" ? sep : part.value).join("");
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* `aria-valuetext` нужен только при группировке: без неё `aria-valuenow` уже
|
|
433
|
+
* несёт то же самое число, и дублировать его текстом незачем.
|
|
434
|
+
*/
|
|
435
|
+
const ariaValueText = computed(() => {
|
|
436
|
+
if (!props.useGrouping) return void 0;
|
|
437
|
+
return props.modelValue === null ? void 0 : formatGrouped(props.modelValue);
|
|
438
|
+
});
|
|
439
|
+
/**
|
|
440
|
+
* Что показывает поле: набираемый черновик, пока он есть, иначе — модель.
|
|
441
|
+
* Группировка только вне фокуса: при правке разделители разрядов мешают.
|
|
442
|
+
*/
|
|
443
|
+
const displayValue = computed(() => {
|
|
444
|
+
if (draft.value !== null) return draft.value;
|
|
445
|
+
if (props.modelValue === null) return "";
|
|
446
|
+
if (props.useGrouping && !isFocused.value) return formatGrouped(props.modelValue);
|
|
447
|
+
return format(props.modelValue);
|
|
448
|
+
});
|
|
449
|
+
function onFocus(event) {
|
|
450
|
+
isFocused.value = true;
|
|
451
|
+
emit("focus", event);
|
|
452
|
+
}
|
|
453
|
+
function onBlur(event) {
|
|
454
|
+
isFocused.value = false;
|
|
455
|
+
draft.value = null;
|
|
456
|
+
emit("blur", event);
|
|
457
|
+
stopRepeat();
|
|
458
|
+
}
|
|
459
|
+
let repeatDelay = null;
|
|
460
|
+
let repeatTimer = null;
|
|
461
|
+
function stopRepeat() {
|
|
462
|
+
if (repeatDelay !== null) {
|
|
463
|
+
clearTimeout(repeatDelay);
|
|
464
|
+
repeatDelay = null;
|
|
465
|
+
}
|
|
466
|
+
if (repeatTimer !== null) {
|
|
467
|
+
clearInterval(repeatTimer);
|
|
468
|
+
repeatTimer = null;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
function canStep(dir) {
|
|
472
|
+
return dir === 1 ? canIncrease.value : canDecrease.value;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* `pointerdown`, а не `mousedown`: на тач-устройствах второго не бывает.
|
|
476
|
+
* Повтор останавливается на границе — иначе таймер крутился бы вхолостую.
|
|
477
|
+
*/
|
|
478
|
+
function startRepeat(dir) {
|
|
479
|
+
if (isDisabled.value || isReadonly.value) return;
|
|
480
|
+
stopRepeat();
|
|
481
|
+
repeatFired = false;
|
|
482
|
+
repeatDelay = setTimeout(() => {
|
|
483
|
+
repeatTimer = setInterval(() => {
|
|
484
|
+
if (!canStep(dir)) {
|
|
485
|
+
stopRepeat();
|
|
486
|
+
return;
|
|
487
|
+
}
|
|
488
|
+
repeatFired = true;
|
|
489
|
+
stepBy(dir);
|
|
490
|
+
}, REPEAT_INTERVAL_MS);
|
|
491
|
+
}, REPEAT_DELAY_MS);
|
|
492
|
+
}
|
|
493
|
+
onBeforeUnmount(stopRepeat);
|
|
494
|
+
const resolvedClearable = useGrComponentProp("GrNumberInput", "clearable", () => props.clearable, false);
|
|
495
|
+
const resolvedClearLabel = computed(() => props.clearLabel ?? t("gr.input.clear", "Clear"));
|
|
496
|
+
const clearVisible = computed(() => resolvedClearable.value && !isDisabled.value && !isReadonly.value && props.modelValue !== null);
|
|
497
|
+
function clear() {
|
|
498
|
+
draft.value = null;
|
|
499
|
+
emit("update:modelValue", null);
|
|
500
|
+
emit("change", null);
|
|
501
|
+
emit("clear");
|
|
502
|
+
focus();
|
|
503
|
+
}
|
|
504
|
+
return (_ctx, _cache) => {
|
|
505
|
+
return openBlock(), createElementBlock("div", {
|
|
506
|
+
"data-gr-number-input": "",
|
|
507
|
+
class: normalizeClass(["relative w-full overflow-hidden rounded-[var(--gr-radius-control)] border bg-[var(--gr-bg)] transition-colors duration-[var(--gr-duration-fast)] focus-within:ring-2 focus-within:ring-[var(--gr-ring)]", shellClassName.value])
|
|
508
|
+
}, [
|
|
509
|
+
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", {
|
|
510
|
+
key: 0,
|
|
511
|
+
ref_key: "prefixEl",
|
|
512
|
+
ref: prefixEl,
|
|
513
|
+
"data-testid": "number-input-prefix",
|
|
514
|
+
"data-gr-number-input-prefix": "",
|
|
515
|
+
class: "absolute inset-y-0 left-0 flex items-center justify-center border-r border-[var(--gr-brd)] px-2 text-[var(--gr-muted-fg)] pointer-events-none select-none truncate",
|
|
516
|
+
style: normalizeStyle(unref(prefixStyle)),
|
|
517
|
+
"aria-hidden": "true"
|
|
518
|
+
}, [renderSlot(_ctx.$slots, "prefix")], 4)) : createCommentVNode("", true),
|
|
519
|
+
createElementVNode("input", mergeProps({
|
|
520
|
+
id: resolvedId.value,
|
|
521
|
+
ref_key: "inputEl",
|
|
522
|
+
ref: inputEl
|
|
523
|
+
}, _ctx.$attrs, {
|
|
524
|
+
name: __props.name,
|
|
525
|
+
type: "text",
|
|
526
|
+
inputmode: __props.inputmode,
|
|
527
|
+
autocomplete: __props.autocomplete,
|
|
528
|
+
placeholder: __props.placeholder,
|
|
529
|
+
disabled: unref(isDisabled),
|
|
530
|
+
value: displayValue.value,
|
|
531
|
+
role: "spinbutton",
|
|
532
|
+
"aria-valuenow": ariaValueNow.value,
|
|
533
|
+
"aria-valuemin": __props.min,
|
|
534
|
+
"aria-valuemax": __props.max,
|
|
535
|
+
"aria-valuetext": ariaValueText.value,
|
|
536
|
+
"aria-invalid": unref(isInvalid) ? "true" : void 0,
|
|
537
|
+
"aria-describedby": describedBy.value,
|
|
538
|
+
"aria-required": unref(isRequired) ? "true" : void 0,
|
|
539
|
+
"aria-readonly": unref(isReadonly) ? "true" : void 0,
|
|
540
|
+
"aria-label": __props.ariaLabel,
|
|
541
|
+
readonly: unref(isReadonly),
|
|
542
|
+
class: ["w-full bg-transparent text-[var(--gr-fg)] placeholder:text-[var(--gr-muted-fg)] focus:placeholder:text-transparent focus:outline-none disabled:cursor-not-allowed", inputClassName.value],
|
|
543
|
+
style: unref(inputStyle),
|
|
544
|
+
onInput,
|
|
545
|
+
onChange,
|
|
546
|
+
onKeydown,
|
|
547
|
+
onFocus,
|
|
548
|
+
onBlur
|
|
549
|
+
}), null, 16, _hoisted_1),
|
|
550
|
+
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", {
|
|
551
|
+
key: 1,
|
|
552
|
+
ref_key: "suffixEl",
|
|
553
|
+
ref: suffixEl,
|
|
554
|
+
"data-testid": "number-input-suffix",
|
|
555
|
+
"data-gr-number-input-suffix": "",
|
|
556
|
+
class: normalizeClass(["absolute inset-y-0 flex items-center justify-center border-l border-[var(--gr-brd)] px-2 text-[var(--gr-muted-fg)] pointer-events-none select-none truncate", __props.suffixFixed ? "[direction:rtl]" : ""]),
|
|
557
|
+
style: normalizeStyle(unref(suffixStyle)),
|
|
558
|
+
"aria-hidden": "true"
|
|
559
|
+
}, [renderSlot(_ctx.$slots, "suffix")], 6)) : createCommentVNode("", true),
|
|
560
|
+
clearVisible.value ? (openBlock(), createElementBlock("button", {
|
|
561
|
+
key: 2,
|
|
562
|
+
type: "button",
|
|
563
|
+
"data-gr-number-input-clear": "",
|
|
564
|
+
class: normalizeClass(unref(clearButtonClass)),
|
|
565
|
+
style: normalizeStyle(clearButtonStyle.value),
|
|
566
|
+
"aria-label": resolvedClearLabel.value,
|
|
567
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"])),
|
|
568
|
+
onClick: clear
|
|
569
|
+
}, [createVNode(GrIcon_default, { size: 14 }, {
|
|
570
|
+
default: withCtx(() => [createVNode(unref(x_default))]),
|
|
571
|
+
_: 1
|
|
572
|
+
})], 46, _hoisted_2)) : createCommentVNode("", true),
|
|
573
|
+
hasVerticalControls.value ? (openBlock(), createElementBlock("div", {
|
|
574
|
+
key: 3,
|
|
575
|
+
"data-testid": "number-input-controls-vertical",
|
|
576
|
+
"data-gr-number-input-controls": "vertical",
|
|
577
|
+
class: "absolute inset-y-0 flex items-center justify-center border-l border-[var(--gr-brd)]",
|
|
578
|
+
style: normalizeStyle(verticalControlsStyle.value)
|
|
579
|
+
}, [createElementVNode("div", _hoisted_3, [createElementVNode("button", {
|
|
580
|
+
type: "button",
|
|
581
|
+
"data-gr-number-input-increase": "",
|
|
582
|
+
class: normalizeClass(unref(stepperCompactClass)),
|
|
583
|
+
disabled: unref(isDisabled) || unref(isReadonly) || !canIncrease.value,
|
|
584
|
+
"aria-label": resolvedIncreaseLabel.value,
|
|
585
|
+
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {}, ["prevent"])),
|
|
586
|
+
onPointerdown: _cache[2] || (_cache[2] = ($event) => startRepeat(1)),
|
|
587
|
+
onPointerup: stopRepeat,
|
|
588
|
+
onPointerleave: stopRepeat,
|
|
589
|
+
onPointercancel: stopRepeat,
|
|
590
|
+
onClick: _cache[3] || (_cache[3] = ($event) => onStepClick(1, $event))
|
|
591
|
+
}, [createVNode(GrIcon_default, { size: 12 }, {
|
|
592
|
+
default: withCtx(() => [createVNode(unref(chevron_up_default))]),
|
|
593
|
+
_: 1
|
|
594
|
+
})], 42, _hoisted_4), createElementVNode("button", {
|
|
595
|
+
type: "button",
|
|
596
|
+
"data-gr-number-input-decrease": "",
|
|
597
|
+
class: normalizeClass(unref(stepperCompactClass)),
|
|
598
|
+
disabled: unref(isDisabled) || unref(isReadonly) || !canDecrease.value,
|
|
599
|
+
"aria-label": resolvedDecreaseLabel.value,
|
|
600
|
+
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {}, ["prevent"])),
|
|
601
|
+
onPointerdown: _cache[5] || (_cache[5] = ($event) => startRepeat(-1)),
|
|
602
|
+
onPointerup: stopRepeat,
|
|
603
|
+
onPointerleave: stopRepeat,
|
|
604
|
+
onPointercancel: stopRepeat,
|
|
605
|
+
onClick: _cache[6] || (_cache[6] = ($event) => onStepClick(-1, $event))
|
|
606
|
+
}, [createVNode(GrIcon_default, { size: 12 }, {
|
|
607
|
+
default: withCtx(() => [createVNode(unref(chevron_down_default))]),
|
|
608
|
+
_: 1
|
|
609
|
+
})], 42, _hoisted_5)])], 4)) : createCommentVNode("", true),
|
|
610
|
+
hasHorizontalControls.value ? (openBlock(), createElementBlock("div", {
|
|
611
|
+
key: 4,
|
|
612
|
+
"data-testid": "number-input-controls-horizontal-left",
|
|
613
|
+
"data-gr-number-input-controls": "horizontal-left",
|
|
614
|
+
class: "absolute inset-y-0 flex items-stretch justify-center border-r border-[var(--gr-brd)]",
|
|
615
|
+
style: normalizeStyle(horizontalLeftControlsStyle.value)
|
|
616
|
+
}, [createElementVNode("button", {
|
|
617
|
+
type: "button",
|
|
618
|
+
"data-gr-number-input-decrease": "",
|
|
619
|
+
class: normalizeClass(unref(stepperWideClass)),
|
|
620
|
+
disabled: unref(isDisabled) || unref(isReadonly) || !canDecrease.value,
|
|
621
|
+
"aria-label": resolvedDecreaseLabel.value,
|
|
622
|
+
onMousedown: _cache[7] || (_cache[7] = withModifiers(() => {}, ["prevent"])),
|
|
623
|
+
onPointerdown: _cache[8] || (_cache[8] = ($event) => startRepeat(-1)),
|
|
624
|
+
onPointerup: stopRepeat,
|
|
625
|
+
onPointerleave: stopRepeat,
|
|
626
|
+
onPointercancel: stopRepeat,
|
|
627
|
+
onClick: _cache[9] || (_cache[9] = ($event) => onStepClick(-1, $event))
|
|
628
|
+
}, [createVNode(GrIcon_default, { size: 12 }, {
|
|
629
|
+
default: withCtx(() => [createVNode(unref(chevron_left_default))]),
|
|
630
|
+
_: 1
|
|
631
|
+
})], 42, _hoisted_6)], 4)) : createCommentVNode("", true),
|
|
632
|
+
hasHorizontalControls.value ? (openBlock(), createElementBlock("div", {
|
|
633
|
+
key: 5,
|
|
634
|
+
"data-testid": "number-input-controls-horizontal-right",
|
|
635
|
+
"data-gr-number-input-controls": "horizontal-right",
|
|
636
|
+
class: "absolute inset-y-0 flex items-stretch justify-center border-l border-[var(--gr-brd)]",
|
|
637
|
+
style: normalizeStyle(horizontalRightControlsStyle.value)
|
|
638
|
+
}, [createElementVNode("button", {
|
|
639
|
+
type: "button",
|
|
640
|
+
"data-gr-number-input-increase": "",
|
|
641
|
+
class: normalizeClass(unref(stepperWideClass)),
|
|
642
|
+
disabled: unref(isDisabled) || unref(isReadonly) || !canIncrease.value,
|
|
643
|
+
"aria-label": resolvedIncreaseLabel.value,
|
|
644
|
+
onMousedown: _cache[10] || (_cache[10] = withModifiers(() => {}, ["prevent"])),
|
|
645
|
+
onPointerdown: _cache[11] || (_cache[11] = ($event) => startRepeat(1)),
|
|
646
|
+
onPointerup: stopRepeat,
|
|
647
|
+
onPointerleave: stopRepeat,
|
|
648
|
+
onPointercancel: stopRepeat,
|
|
649
|
+
onClick: _cache[12] || (_cache[12] = ($event) => onStepClick(1, $event))
|
|
650
|
+
}, [createVNode(GrIcon_default, { size: 12 }, {
|
|
651
|
+
default: withCtx(() => [createVNode(unref(chevron_right_default))]),
|
|
652
|
+
_: 1
|
|
653
|
+
})], 42, _hoisted_7)], 4)) : createCommentVNode("", true)
|
|
654
|
+
], 2);
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
});
|
|
658
|
+
//#endregion
|
|
659
|
+
export { GrNumberInput_default as t };
|