@feugene/granularity 0.19.0 → 0.21.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/config-8Pcutu1j.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-BC8d_smz.js +156 -0
- package/dist/chunks/config-BC8d_smz.js.map +1 -0
- package/dist/chunks/config-BDfTXHo1.js.map +1 -0
- package/dist/chunks/config-BE6n20np.js.map +1 -0
- package/dist/chunks/config-BEVBsvni2.js +197 -0
- package/dist/chunks/config-BEVBsvni2.js.map +1 -0
- package/dist/chunks/config-BKvX0q10.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-B_qi4Fma2.js +92 -0
- package/dist/chunks/config-B_qi4Fma2.js.map +1 -0
- package/dist/chunks/config-Baj7Wvx-2.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-Bm_Sovla.js +59 -0
- package/dist/chunks/config-Bm_Sovla.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.map +1 -0
- package/dist/chunks/config-CY0_6cMi.js.map +1 -0
- package/dist/chunks/config-D94Z9po5.js.map +1 -0
- package/dist/chunks/config-DAX8Deh12.js.map +1 -0
- package/dist/chunks/config-DBQQT-WP.js +66 -0
- package/dist/chunks/config-DBQQT-WP.js.map +1 -0
- package/dist/chunks/config-DU2DNSRx.js.map +1 -0
- 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-QJ54_fcM.js +61 -0
- package/dist/chunks/config-QJ54_fcM.js.map +1 -0
- package/dist/chunks/config-QaIc_gRa2.js.map +1 -0
- package/dist/chunks/config-ScuvHw6k.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-jyZq8XKL.js +58 -0
- package/dist/chunks/config-jyZq8XKL.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/en-CwAr3C_x.js +358 -0
- package/dist/chunks/en-CwAr3C_x.js.map +1 -0
- package/dist/chunks/es-Do1q9_SF.js +20 -0
- package/dist/chunks/es-Do1q9_SF.js.map +1 -0
- package/dist/chunks/es-TR4g2I4A.js +360 -0
- package/dist/chunks/es-TR4g2I4A.js.map +1 -0
- package/dist/chunks/generated-Do60Aq2I.js +3368 -0
- package/dist/chunks/generated-Do60Aq2I.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-BW2uopTG.js +203 -0
- package/dist/chunks/granular-provider-BW2uopTG.js.map +1 -0
- package/dist/chunks/ru-Bm-zWJ3F.js +362 -0
- package/dist/chunks/ru-Bm-zWJ3F.js.map +1 -0
- package/dist/chunks/trending-up-Bf9AQmoq.js +42 -0
- package/dist/chunks/trending-up-Bf9AQmoq.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/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-Bc7nRfbe.js +144 -0
- package/dist/components/GrCard/chunks/GrCard-Bc7nRfbe.js.map +1 -0
- package/dist/components/GrCard/index.js +2 -2
- 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/GrCodeBlock/chunks/GrCodeBlock-CW3zY1ee.js +341 -0
- package/dist/components/GrCodeBlock/chunks/GrCodeBlock-CW3zY1ee.js.map +1 -0
- package/dist/components/GrCodeBlock/index.js +3 -0
- package/dist/components/GrCodeBlock/styles.css +1 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-C1rCfbc0.js +294 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-C1rCfbc0.js.map +1 -0
- package/dist/components/GrCollapse/index.js +3 -3
- 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 +2 -2
- 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-B5MmZFUg.js +1117 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-B5MmZFUg.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDelta/chunks/GrDelta-BMmpYz8K.js +0 -0
- package/dist/components/GrDelta/chunks/GrDelta-BMmpYz8K.js.map +1 -0
- package/dist/components/GrDelta/index.js +3 -0
- package/dist/components/GrDescriptionList/chunks/GrDescriptionList-pXh1LZEe.js +103 -0
- package/dist/components/GrDescriptionList/chunks/GrDescriptionList-pXh1LZEe.js.map +1 -0
- package/dist/components/GrDescriptionList/index.js +3 -0
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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/GrFilePreview/chunks/GrFilePreview-rbE3zL9w.js +315 -0
- package/dist/components/GrFilePreview/chunks/GrFilePreview-rbE3zL9w.js.map +1 -0
- package/dist/components/GrFilePreview/index.js +3 -0
- 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-B_Qq_13k.js +333 -0
- package/dist/components/GrForm/chunks/GrForm-B_Qq_13k.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-ng7el4wn.js +1128 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-ng7el4wn.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-C7QVPijj.js +512 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-C7QVPijj.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-BUzFRa8-.js +277 -0
- package/dist/components/GrList/chunks/GrList-BUzFRa8-.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 +2 -2
- package/dist/components/GrRating/chunks/GrRating-BiAVT9H7.js +316 -0
- package/dist/components/GrRating/chunks/GrRating-BiAVT9H7.js.map +1 -0
- package/dist/components/GrRating/index.js +2 -2
- 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-D1mjxF_O.js +388 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-D1mjxF_O.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-D7WxRtIu.js +264 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-D7WxRtIu.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 +3 -3
- 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-DPjxilmN.js +277 -0
- package/dist/components/GrSortableList/chunks/GrSortableList-DPjxilmN.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-DkzWUAw1.js +333 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-DkzWUAw1.js.map +1 -0
- package/dist/components/GrStatistic/index.js +1 -1
- 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 +2 -2
- package/dist/components/GrTimeline/chunks/GrTimeline-Ch9sHzwL.js +274 -0
- package/dist/components/GrTimeline/chunks/GrTimeline-Ch9sHzwL.js.map +1 -0
- package/dist/components/GrTimeline/index.js +2 -2
- package/dist/components/GrTimeline/styles.css +1 -1
- package/dist/components/GrToaster/chunks/GrToaster-DJUzx3sR.js +373 -0
- package/dist/components/GrToaster/chunks/GrToaster-DJUzx3sR.js.map +1 -0
- package/dist/components/GrToaster/index.js +2 -2
- 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/GrTreeSelect/chunks/GrTreeSelect-_LjTRR7X.js +633 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-_LjTRR7X.js.map +1 -0
- package/dist/components/GrTreeSelect/index.js +1 -1
- package/dist/composables/useGrComponentConfig.js +1 -1
- package/dist/composables/usePortalTarget.js +1 -1
- package/dist/composables/useToast.js +14 -2
- package/dist/composables/useToast.js.map +1 -1
- package/dist/directives/loading.js +1 -1
- package/dist/granular-provider-node.js +1 -1
- package/dist/granular-provider.js +1 -1
- package/dist/i18n/all.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +110 -103
- package/dist/testing.js +33 -2
- package/dist/testing.js.map +1 -1
- package/dist/theme.js +1 -1
- package/dist/tokens.js +1 -1
- 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/GrButton/GrButton.vue.d.ts +117 -0
- package/dist/types/components/GrButton/index.d.ts +10 -0
- package/dist/types/components/GrCard/GrCard.vue.d.ts +109 -0
- package/dist/types/components/GrCard/defaults.d.ts +16 -0
- package/dist/types/components/GrCard/grCardStyles.d.ts +32 -0
- package/dist/types/components/GrCard/index.d.ts +8 -0
- package/dist/types/components/GrCheckbox/index.d.ts +12 -0
- package/dist/types/components/GrCodeBlock/GrCodeBlock.vue.d.ts +79 -0
- package/dist/types/components/GrCodeBlock/config.d.ts +1 -0
- package/dist/types/components/GrCodeBlock/defaults.d.ts +21 -0
- package/dist/types/components/GrCodeBlock/grCodeBlockStyles.d.ts +53 -0
- package/dist/types/components/GrCodeBlock/index.d.ts +6 -0
- package/dist/types/components/GrCodeBlock/safelist.d.ts +1 -0
- package/dist/types/components/GrCodeBlock/serializeCode.d.ts +19 -0
- package/dist/types/components/GrCodeBlock/tokenizeJson.d.ts +24 -0
- package/dist/types/components/GrCollapse/GrCollapse.vue.d.ts +115 -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/index.d.ts +9 -0
- package/dist/types/components/GrConfigProvider/index.d.ts +6 -0
- package/dist/types/components/GrDataTable/GrDataTable.vue.d.ts +250 -0
- package/dist/types/components/GrDataTable/grDataTableStyles.d.ts +74 -0
- package/dist/types/components/GrDataTable/index.d.ts +12 -0
- package/dist/types/components/GrDelta/GrDelta.vue.d.ts +84 -0
- package/dist/types/components/GrDelta/config.d.ts +1 -0
- package/dist/types/components/GrDelta/defaults.d.ts +22 -0
- package/dist/types/components/GrDelta/deltaTone.d.ts +24 -0
- package/dist/types/components/GrDelta/grDeltaStyles.d.ts +38 -0
- package/dist/types/components/GrDelta/index.d.ts +6 -0
- package/dist/types/components/GrDelta/safelist.d.ts +1 -0
- package/dist/types/components/GrDescriptionList/GrDescriptionList.vue.d.ts +107 -0
- package/dist/types/components/GrDescriptionList/config.d.ts +1 -0
- package/dist/types/components/GrDescriptionList/defaults.d.ts +21 -0
- package/dist/types/components/GrDescriptionList/grDescriptionListStyles.d.ts +25 -0
- package/dist/types/components/GrDescriptionList/index.d.ts +6 -0
- package/dist/types/components/GrDescriptionList/safelist.d.ts +1 -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/GrFilePreview/GrFilePreview.vue.d.ts +100 -0
- package/dist/types/components/GrFilePreview/config.d.ts +1 -0
- package/dist/types/components/GrFilePreview/defaults.d.ts +20 -0
- package/dist/types/components/GrFilePreview/fileKindOf.d.ts +14 -0
- package/dist/types/components/GrFilePreview/grFilePreviewStyles.d.ts +37 -0
- package/dist/types/components/GrFilePreview/index.d.ts +6 -0
- package/dist/types/components/GrFilePreview/safelist.d.ts +1 -0
- package/dist/types/components/GrFileUpload/index.d.ts +17 -0
- package/dist/types/components/GrForm/GrForm.vue.d.ts +90 -0
- package/dist/types/components/GrForm/index.d.ts +10 -0
- package/dist/types/components/GrFormField/GrFormField.vue.d.ts +122 -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/GrImageViewer/GrImageViewer.vue.d.ts +271 -0
- package/dist/types/components/GrInput/GrInput.vue.d.ts +207 -0
- package/dist/types/components/GrInputTag/GrInputTag.vue.d.ts +216 -0
- package/dist/types/components/GrNumberInput/GrNumberInput.vue.d.ts +223 -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/GrSegmented.vue.d.ts +122 -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/GrSplitter/index.d.ts +11 -0
- package/dist/types/components/GrStatistic/GrStatistic.vue.d.ts +168 -0
- package/dist/types/components/GrSwitch/GrSwitch.vue.d.ts +130 -0
- package/dist/types/components/GrTabPanels/index.d.ts +7 -0
- package/dist/types/components/GrTable/GrTable.vue.d.ts +177 -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/GrTimelineItem.vue.d.ts +84 -0
- package/dist/types/components/GrTimeline/index.d.ts +10 -0
- package/dist/types/components/GrTreeSelect/GrTreeSelect.vue.d.ts +63 -0
- package/dist/types/components/shared/sizes.d.ts +34 -0
- package/dist/types/composables/useToast.d.ts +100 -0
- package/dist/types/granular-provider/shared.d.ts +94 -0
- package/dist/types/i18n/messages/en.d.ts +690 -0
- package/dist/types/i18n/messages/es.d.ts +687 -0
- package/dist/types/i18n/messages/ru.d.ts +691 -0
- package/dist/types/index.d.ts +107 -0
- package/dist/types/testing/index.d.ts +13 -0
- package/dist/types/testing/keyboard.d.ts +32 -0
- package/dist/web-types.json +556 -147
- package/package.json +126 -106
- package/dist/chunks/config-06SQjBx0.js +0 -96
- package/dist/chunks/config-06SQjBx0.js.map +0 -1
- package/dist/chunks/config-8Pcutu1j2.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-BDfTXHo12.js.map +0 -1
- package/dist/chunks/config-BE6n20np2.js.map +0 -1
- package/dist/chunks/config-BJ7Bv_G2.js +0 -148
- package/dist/chunks/config-BJ7Bv_G2.js.map +0 -1
- package/dist/chunks/config-BKvX0q102.js.map +0 -1
- package/dist/chunks/config-Baj7Wvx-.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-CDat1wXf2.js.map +0 -1
- package/dist/chunks/config-CY0_6cMi2.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-D94Z9po52.js.map +0 -1
- package/dist/chunks/config-DAX8Deh1.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-DU2DNSRx2.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-DvQIb4kb.js +0 -98
- package/dist/chunks/config-DvQIb4kb.js.map +0 -1
- package/dist/chunks/config-QaIc_gRa.js.map +0 -1
- package/dist/chunks/config-Rw9OyW702.js +0 -87
- package/dist/chunks/config-Rw9OyW702.js.map +0 -1
- package/dist/chunks/config-ScuvHw6k2.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-gwro_7yn.js +0 -55
- package/dist/chunks/config-gwro_7yn.js.map +0 -1
- package/dist/chunks/context-BSYR7RZs.js +0 -152
- package/dist/chunks/context-BSYR7RZs.js.map +0 -1
- package/dist/chunks/en-COdzxgAX.js +0 -352
- package/dist/chunks/en-COdzxgAX.js.map +0 -1
- package/dist/chunks/es-ClqJ-4hr.js +0 -354
- package/dist/chunks/es-ClqJ-4hr.js.map +0 -1
- package/dist/chunks/es-DGMHwknJ.js +0 -20
- package/dist/chunks/es-DGMHwknJ.js.map +0 -1
- package/dist/chunks/generated-BRkbhyxk.js +0 -3270
- package/dist/chunks/generated-BRkbhyxk.js.map +0 -1
- package/dist/chunks/granular-provider-C6uAujdJ.js +0 -195
- package/dist/chunks/granular-provider-C6uAujdJ.js.map +0 -1
- package/dist/chunks/ru-9z8ix45c.js +0 -356
- package/dist/chunks/ru-9z8ix45c.js.map +0 -1
- package/dist/chunks/useModalOverlay-DrQVYwwA.js +0 -212
- package/dist/chunks/useModalOverlay-DrQVYwwA.js.map +0 -1
- package/dist/chunks/usePortalTarget-Cn-Wiz5d.js +0 -77
- package/dist/chunks/usePortalTarget-Cn-Wiz5d.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-gY4Xopza.js +0 -860
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-gY4Xopza.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-DS_-PBVt.js +0 -267
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-DS_-PBVt.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-Kk0DE8tb.js +0 -308
- package/dist/components/GrCollapse/chunks/GrCollapse-Kk0DE8tb.js.map +0 -1
- package/dist/components/GrColorPicker/chunks/GrColorPicker-CkBTzkqn.js +0 -584
- package/dist/components/GrColorPicker/chunks/GrColorPicker-CkBTzkqn.js.map +0 -1
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-BugTlGdj.js +0 -591
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-BugTlGdj.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-Ds5T0GiR.js +0 -200
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-Ds5T0GiR.js.map +0 -1
- package/dist/components/GrDataTable/chunks/GrDataTable-CYe2A2WA.js +0 -1055
- package/dist/components/GrDataTable/chunks/GrDataTable-CYe2A2WA.js.map +0 -1
- package/dist/components/GrDialog/chunks/GrDialog-C3tYaA8v.js +0 -255
- package/dist/components/GrDialog/chunks/GrDialog-C3tYaA8v.js.map +0 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-CTBiiJDI.js +0 -656
- package/dist/components/GrDialogService/chunks/GrDialogService-CTBiiJDI.js.map +0 -1
- package/dist/components/GrDivider/chunks/GrDivider-xxq1_fIl.js +0 -109
- package/dist/components/GrDivider/chunks/GrDivider-xxq1_fIl.js.map +0 -1
- package/dist/components/GrDrawer/chunks/GrDrawer-BSSuiNHU.js +0 -251
- package/dist/components/GrDrawer/chunks/GrDrawer-BSSuiNHU.js.map +0 -1
- package/dist/components/GrDropdown/chunks/GrDropdown-Bh6UK2M5.js +0 -300
- package/dist/components/GrDropdown/chunks/GrDropdown-Bh6UK2M5.js.map +0 -1
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-LyfEFUbg.js +0 -421
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-LyfEFUbg.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-DfD4euH5.js +0 -1128
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DfD4euH5.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-CbMMr6W1.js +0 -313
- package/dist/components/GrModal/chunks/GrModal-CbMMr6W1.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-B5CHZDBj.js +0 -659
- package/dist/components/GrNumberInput/chunks/GrNumberInput-B5CHZDBj.js.map +0 -1
- package/dist/components/GrPagination/chunks/GrPagination-BM4FrD6Q.js +0 -283
- package/dist/components/GrPagination/chunks/GrPagination-BM4FrD6Q.js.map +0 -1
- package/dist/components/GrPopover/chunks/GrPopover-DMH4Jjst.js +0 -216
- package/dist/components/GrPopover/chunks/GrPopover-DMH4Jjst.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-Pwr9NPxK.js +0 -348
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Pwr9NPxK.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-DVFH3lYu.js +0 -316
- package/dist/components/GrRating/chunks/GrRating-DVFH3lYu.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-B-Voni7D.js +0 -1386
- package/dist/components/GrSelect/chunks/GrSelect-B-Voni7D.js.map +0 -1
- package/dist/components/GrSidebar/chunks/GrSidebar-i7AxjhY_.js +0 -258
- package/dist/components/GrSidebar/chunks/GrSidebar-i7AxjhY_.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-XB7mXM1W.js +0 -277
- package/dist/components/GrSortableList/chunks/GrSortableList-XB7mXM1W.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-DOsM6s5V.js +0 -366
- package/dist/components/GrStatistic/chunks/GrStatistic-DOsM6s5V.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-f3-oQenu.js +0 -262
- package/dist/components/GrTabs/chunks/GrTabs-f3-oQenu.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-Dqja0Lf9.js +0 -373
- package/dist/components/GrToaster/chunks/GrToaster-Dqja0Lf9.js.map +0 -1
- package/dist/components/GrTooltip/chunks/GrTooltip-Cn08heWz.js +0 -185
- package/dist/components/GrTooltip/chunks/GrTooltip-Cn08heWz.js.map +0 -1
- package/dist/components/GrTree/chunks/GrTree-BR9a2pay.js +0 -1376
- package/dist/components/GrTree/chunks/GrTree-BR9a2pay.js.map +0 -1
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect--muUeB0v.js +0 -637
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect--muUeB0v.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/GrButton/GrButton.vue.d.ts +0 -117
- package/dist/types/src/components/GrButton/index.d.ts +0 -11
- package/dist/types/src/components/GrCard/GrCard.vue.d.ts +0 -90
- package/dist/types/src/components/GrCard/defaults.d.ts +0 -15
- package/dist/types/src/components/GrCard/grCardStyles.d.ts +0 -24
- package/dist/types/src/components/GrCard/index.d.ts +0 -8
- package/dist/types/src/components/GrCheckbox/index.d.ts +0 -13
- package/dist/types/src/components/GrCollapse/GrCollapse.vue.d.ts +0 -115
- 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/index.d.ts +0 -10
- package/dist/types/src/components/GrConfigProvider/index.d.ts +0 -6
- package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +0 -213
- package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +0 -67
- 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/GrForm.vue.d.ts +0 -129
- package/dist/types/src/components/GrForm/index.d.ts +0 -10
- package/dist/types/src/components/GrFormField/GrFormField.vue.d.ts +0 -122
- 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/GrImageViewer/GrImageViewer.vue.d.ts +0 -271
- package/dist/types/src/components/GrInput/GrInput.vue.d.ts +0 -207
- package/dist/types/src/components/GrInputTag/GrInputTag.vue.d.ts +0 -216
- package/dist/types/src/components/GrNumberInput/GrNumberInput.vue.d.ts +0 -223
- 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 -178
- package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +0 -16
- package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +0 -122
- 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/GrSplitter/index.d.ts +0 -11
- package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +0 -168
- package/dist/types/src/components/GrSwitch/GrSwitch.vue.d.ts +0 -130
- package/dist/types/src/components/GrTabPanels/index.d.ts +0 -8
- package/dist/types/src/components/GrTable/GrTable.vue.d.ts +0 -177
- package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +0 -121
- package/dist/types/src/components/GrTabs/index.d.ts +0 -9
- package/dist/types/src/components/GrTimeline/GrTimelineItem.vue.d.ts +0 -84
- package/dist/types/src/components/GrTimeline/index.d.ts +0 -12
- package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +0 -69
- package/dist/types/src/components/shared/sizes.d.ts +0 -30
- package/dist/types/src/composables/useToast.d.ts +0 -89
- package/dist/types/src/granular-provider/shared.d.ts +0 -90
- package/dist/types/src/i18n/messages/en.d.ts +0 -680
- package/dist/types/src/i18n/messages/es.d.ts +0 -677
- package/dist/types/src/i18n/messages/ru.d.ts +0 -681
- package/dist/types/src/index.d.ts +0 -103
- package/dist/types/src/testing/index.d.ts +0 -12
- /package/dist/chunks/{config-8Pcutu1j2.js → config-8Pcutu1j.js} +0 -0
- /package/dist/chunks/{config-BDfTXHo12.js → config-BDfTXHo1.js} +0 -0
- /package/dist/chunks/{config-BE6n20np2.js → config-BE6n20np.js} +0 -0
- /package/dist/chunks/{config-BKvX0q102.js → config-BKvX0q10.js} +0 -0
- /package/dist/chunks/{config-Baj7Wvx-.js → config-Baj7Wvx-2.js} +0 -0
- /package/dist/chunks/{config-CDat1wXf2.js → config-CDat1wXf.js} +0 -0
- /package/dist/chunks/{config-CY0_6cMi2.js → config-CY0_6cMi.js} +0 -0
- /package/dist/chunks/{config-D94Z9po52.js → config-D94Z9po5.js} +0 -0
- /package/dist/chunks/{config-DAX8Deh1.js → config-DAX8Deh12.js} +0 -0
- /package/dist/chunks/{config-DU2DNSRx2.js → config-DU2DNSRx.js} +0 -0
- /package/dist/chunks/{config-QaIc_gRa.js → config-QaIc_gRa2.js} +0 -0
- /package/dist/chunks/{config-ScuvHw6k2.js → config-ScuvHw6k.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/grBreadcrumbsStyles.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/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/config.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/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/filtering.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/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/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/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/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/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/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/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/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/grSortableListStyles.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/grStatisticStyles.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/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/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/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/grTreeProps.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}/GrTree/safelist.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/icon.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/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}/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/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/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/testing → testing}/announcer.d.ts +0 -0
- /package/dist/types/{src/testing → testing}/context.d.ts +0 -0
- /package/dist/types/{src/testing → testing}/env.d.ts +0 -0
- /package/dist/types/{src/testing → testing}/geometry.d.ts +0 -0
- /package/dist/types/{src/testing → testing}/pointer.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/apply.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/color.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/extendTheme.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/index.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/roles.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/tone.d.ts +0 -0
- /package/dist/types/{src/theme → theme}/validate.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/tokens → tokens}/types.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
|
@@ -1,1055 +0,0 @@
|
|
|
1
|
-
import { o as useGrComponentSize } from "../../../chunks/context-BSYR7RZs.js";
|
|
2
|
-
import { n as useGranularityTranslations } from "../../../chunks/granularityI18n-BC5zsj_d.js";
|
|
3
|
-
import { t as loader_circle_default } from "../../../chunks/loader-circle-CfVLz7lb.js";
|
|
4
|
-
import { t as GrIcon_default } from "../../GrIcon/chunks/GrIcon-BvA2ZGXP.js";
|
|
5
|
-
import { useVirtualList } from "../../../composables/useVirtualList.js";
|
|
6
|
-
import { t as GrCheckbox_default } from "../../GrCheckbox/chunks/GrCheckbox-BLOp8452.js";
|
|
7
|
-
import { useDragGesture } from "../../../composables/useDragGesture.js";
|
|
8
|
-
import { t as GrTable_default } from "../../GrTable/chunks/GrTable-BfqgwETQ.js";
|
|
9
|
-
import { useAnnouncer } from "../../../composables/useAnnouncer.js";
|
|
10
|
-
import { n as insertionIndex, r as moveItem, t as useDragSort } from "../../../chunks/useDragSort-0l47h4yb.js";
|
|
11
|
-
import { useRovingFocus } from "../../../composables/useRovingFocus.js";
|
|
12
|
-
import { C as sortIconSizes, S as selectColumnWidths, _ as headerTextSizes, a as columnDropAfterClass, b as rowSelectedClass, c as columnHandleClass, d as columnPinnedRightEdgeClass, f as columnResizerClass, g as headerGaps, h as columnResizerLineClass, i as columnDraggingClass, l as columnPinnedClass, m as columnResizerLineActiveClass, o as columnDropBeforeClass, p as columnResizerHoverClass, r as cellPaddings, s as columnHandleActiveClass, u as columnPinnedLeftEdgeClass, v as placeholderPaddings, w as spinnerSizes, x as selectCheckboxSizes, y as rowHeightEstimates } from "../../../chunks/config-BJ7Bv_G2.js";
|
|
13
|
-
import { t as arrow_up_default } from "../../../chunks/arrow-up-C_G4jg8M.js";
|
|
14
|
-
import { t as grip_vertical_default } from "../../../chunks/grip-vertical-lRha2S7q.js";
|
|
15
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, markRaw, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, watch, withCtx, withModifiers } from "vue";
|
|
16
|
-
//#region src/components/GrDataTable/grDataTableSort.ts
|
|
17
|
-
/** Пустое значение ячейки: нечего сравнивать, место таким — в конце списка. */
|
|
18
|
-
function isEmptyCell(value) {
|
|
19
|
-
if (value === null || value === void 0) return true;
|
|
20
|
-
return typeof value === "string" && value.trim() === "";
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Число, с которым имеет смысл сравнивать: сам `number`, числовая строка, `Date`
|
|
24
|
-
* (по таймстампу), `boolean` (`false` < `true`). Иначе — `null`, и сравнение
|
|
25
|
-
* уходит в строковую ветку.
|
|
26
|
-
*/
|
|
27
|
-
function toComparableNumber(value) {
|
|
28
|
-
if (typeof value === "number") return Number.isFinite(value) ? value : null;
|
|
29
|
-
if (typeof value === "boolean") return value ? 1 : 0;
|
|
30
|
-
if (typeof value === "bigint") return Number(value);
|
|
31
|
-
if (value instanceof Date) {
|
|
32
|
-
const time = value.getTime();
|
|
33
|
-
return Number.isNaN(time) ? null : time;
|
|
34
|
-
}
|
|
35
|
-
if (typeof value === "string") {
|
|
36
|
-
const trimmed = value.trim();
|
|
37
|
-
if (trimmed === "") return null;
|
|
38
|
-
const parsed = Number(trimmed);
|
|
39
|
-
return Number.isFinite(parsed) ? parsed : null;
|
|
40
|
-
}
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Сравнивает два значения ячейки. Возвращает готовую разницу с учётом `dir` —
|
|
45
|
-
* кроме пустых значений: они всегда в конце, иначе «пустые» в `desc` уезжали бы
|
|
46
|
-
* наверх и таблица выглядела бы сломанной.
|
|
47
|
-
*/
|
|
48
|
-
function compareCells(a, b, dir, locale) {
|
|
49
|
-
const aEmpty = isEmptyCell(a);
|
|
50
|
-
const bEmpty = isEmptyCell(b);
|
|
51
|
-
if (aEmpty || bEmpty) return aEmpty && bEmpty ? 0 : aEmpty ? 1 : -1;
|
|
52
|
-
const aNum = toComparableNumber(a);
|
|
53
|
-
const bNum = toComparableNumber(b);
|
|
54
|
-
const result = aNum !== null && bNum !== null ? aNum - bNum : String(a).localeCompare(String(b), locale, {
|
|
55
|
-
sensitivity: "base",
|
|
56
|
-
numeric: true
|
|
57
|
-
});
|
|
58
|
-
return dir === "asc" ? result : -result;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Новый отсортированный массив. Исходный не мутируется: `rows` приходят пропом,
|
|
62
|
-
* сортировка на месте меняла бы данные потребителя.
|
|
63
|
-
*/
|
|
64
|
-
function sortRows(rows, key, dir, locale) {
|
|
65
|
-
return [...rows].sort((a, b) => compareCells(a[key], b[key], dir, locale));
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ~icons/lucide/arrow-down
|
|
69
|
-
var _hoisted_1$1 = {
|
|
70
|
-
viewBox: "0 0 24 24",
|
|
71
|
-
width: "1.2em",
|
|
72
|
-
height: "1.2em"
|
|
73
|
-
};
|
|
74
|
-
function render$1(_ctx, _cache) {
|
|
75
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
76
|
-
fill: "none",
|
|
77
|
-
stroke: "currentColor",
|
|
78
|
-
"stroke-linecap": "round",
|
|
79
|
-
"stroke-linejoin": "round",
|
|
80
|
-
"stroke-width": "2",
|
|
81
|
-
d: "M12 5v14m7-7l-7 7l-7-7"
|
|
82
|
-
}, null, -1)])]);
|
|
83
|
-
}
|
|
84
|
-
var arrow_down_default = markRaw({
|
|
85
|
-
name: "lucide-arrow-down",
|
|
86
|
-
render: render$1
|
|
87
|
-
});
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region src/components/GrDataTable/GrDataTable.vue?vue&type=script&setup=true&lang.ts
|
|
90
|
-
var _hoisted_1 = ["id"];
|
|
91
|
-
var _hoisted_2 = ["aria-rowindex"];
|
|
92
|
-
var _hoisted_3 = ["data-column-key", "aria-sort"];
|
|
93
|
-
var _hoisted_4 = [
|
|
94
|
-
"tabindex",
|
|
95
|
-
"aria-label",
|
|
96
|
-
"disabled",
|
|
97
|
-
"onPointerdown",
|
|
98
|
-
"onKeydown",
|
|
99
|
-
"onFocus"
|
|
100
|
-
];
|
|
101
|
-
var _hoisted_5 = ["onClick"];
|
|
102
|
-
var _hoisted_6 = { class: "sr-only" };
|
|
103
|
-
var _hoisted_7 = {
|
|
104
|
-
class: "inline-flex",
|
|
105
|
-
"aria-hidden": "true"
|
|
106
|
-
};
|
|
107
|
-
var _hoisted_8 = {
|
|
108
|
-
key: 2,
|
|
109
|
-
class: "text-[var(--gr-muted-fg)]"
|
|
110
|
-
};
|
|
111
|
-
var _hoisted_9 = [
|
|
112
|
-
"aria-label",
|
|
113
|
-
"aria-valuenow",
|
|
114
|
-
"aria-valuetext",
|
|
115
|
-
"onPointerdown",
|
|
116
|
-
"onKeydown",
|
|
117
|
-
"onDblclick"
|
|
118
|
-
];
|
|
119
|
-
var _hoisted_10 = {
|
|
120
|
-
key: 0,
|
|
121
|
-
"data-gr-datatable-loading": ""
|
|
122
|
-
};
|
|
123
|
-
var _hoisted_11 = ["colspan"];
|
|
124
|
-
var _hoisted_12 = { class: "inline-flex items-center gap-2" };
|
|
125
|
-
var _hoisted_13 = {
|
|
126
|
-
key: 1,
|
|
127
|
-
"data-gr-datatable-empty": ""
|
|
128
|
-
};
|
|
129
|
-
var _hoisted_14 = ["colspan"];
|
|
130
|
-
var _hoisted_15 = {
|
|
131
|
-
key: 0,
|
|
132
|
-
"aria-hidden": "true",
|
|
133
|
-
"data-gr-datatable-spacer": "before",
|
|
134
|
-
style: { pointerEvents: "none" }
|
|
135
|
-
};
|
|
136
|
-
var _hoisted_16 = ["colspan"];
|
|
137
|
-
var _hoisted_17 = [
|
|
138
|
-
"data-row-key",
|
|
139
|
-
"data-selected",
|
|
140
|
-
"aria-rowindex",
|
|
141
|
-
"onClick"
|
|
142
|
-
];
|
|
143
|
-
var _hoisted_18 = {
|
|
144
|
-
key: 1,
|
|
145
|
-
"aria-hidden": "true",
|
|
146
|
-
"data-gr-datatable-spacer": "after",
|
|
147
|
-
style: { pointerEvents: "none" }
|
|
148
|
-
};
|
|
149
|
-
var _hoisted_19 = ["colspan"];
|
|
150
|
-
/**
|
|
151
|
-
* `GrDataTable` — data-таблица поверх `GrTable` с сортировкой по клику
|
|
152
|
-
* на заголовок и scoped-слотами ячеек (`#cell-<key>`), `#header-<key>`,
|
|
153
|
-
* `#caption`, `#footer`, `#empty`, `#loading`.
|
|
154
|
-
*
|
|
155
|
-
* Сортировка, включая крайние случаи с пустыми и смешанными значениями, живёт
|
|
156
|
-
* в `grDataTableSort.ts` — см. `docs/components/GrDataTable.md`.
|
|
157
|
-
*/
|
|
158
|
-
var MIN_COLUMN_WIDTH = 48;
|
|
159
|
-
/** Шаг клавиатуры и крупный шаг — как у `GrSplitter`. */
|
|
160
|
-
var RESIZE_STEP = 16;
|
|
161
|
-
var RESIZE_BIG_STEP = 48;
|
|
162
|
-
var SELECT_COLUMN_KEY = "__select__";
|
|
163
|
-
//#endregion
|
|
164
|
-
//#region src/components/GrDataTable/GrDataTable.vue
|
|
165
|
-
var GrDataTable_default = /* @__PURE__ */ defineComponent({
|
|
166
|
-
__name: "GrDataTable",
|
|
167
|
-
props: {
|
|
168
|
-
rows: {},
|
|
169
|
-
columns: {},
|
|
170
|
-
rowKey: {
|
|
171
|
-
type: [String, Function],
|
|
172
|
-
default: "id"
|
|
173
|
-
},
|
|
174
|
-
initialSortKey: { default: void 0 },
|
|
175
|
-
initialSortDir: { default: "asc" },
|
|
176
|
-
sortKey: { default: void 0 },
|
|
177
|
-
sortDir: { default: void 0 },
|
|
178
|
-
sortCycle: { default: "asc-desc" },
|
|
179
|
-
externalSort: {
|
|
180
|
-
type: Boolean,
|
|
181
|
-
default: false
|
|
182
|
-
},
|
|
183
|
-
selectable: {
|
|
184
|
-
type: Boolean,
|
|
185
|
-
default: false
|
|
186
|
-
},
|
|
187
|
-
selected: { default: void 0 },
|
|
188
|
-
selectableRow: {
|
|
189
|
-
type: Function,
|
|
190
|
-
default: void 0
|
|
191
|
-
},
|
|
192
|
-
loading: {
|
|
193
|
-
type: Boolean,
|
|
194
|
-
default: false
|
|
195
|
-
},
|
|
196
|
-
loadingText: { default: void 0 },
|
|
197
|
-
emptyText: { default: void 0 },
|
|
198
|
-
rowClass: {
|
|
199
|
-
type: [String, Function],
|
|
200
|
-
default: void 0
|
|
201
|
-
},
|
|
202
|
-
rowProps: {
|
|
203
|
-
type: Function,
|
|
204
|
-
default: void 0
|
|
205
|
-
},
|
|
206
|
-
size: { default: void 0 },
|
|
207
|
-
caption: { default: void 0 },
|
|
208
|
-
ariaLabel: { default: void 0 },
|
|
209
|
-
ariaLabelledby: { default: void 0 },
|
|
210
|
-
regionLabel: { default: void 0 },
|
|
211
|
-
stickyHeader: {
|
|
212
|
-
type: Boolean,
|
|
213
|
-
default: false
|
|
214
|
-
},
|
|
215
|
-
virtual: {
|
|
216
|
-
type: Boolean,
|
|
217
|
-
default: false
|
|
218
|
-
},
|
|
219
|
-
maxHeight: { default: void 0 },
|
|
220
|
-
reorderableColumns: {
|
|
221
|
-
type: Boolean,
|
|
222
|
-
default: false
|
|
223
|
-
},
|
|
224
|
-
columnOrder: { default: void 0 },
|
|
225
|
-
resizableColumns: {
|
|
226
|
-
type: Boolean,
|
|
227
|
-
default: false
|
|
228
|
-
},
|
|
229
|
-
columnWidths: { default: void 0 }
|
|
230
|
-
},
|
|
231
|
-
emits: [
|
|
232
|
-
"update:sortKey",
|
|
233
|
-
"update:sortDir",
|
|
234
|
-
"sortChange",
|
|
235
|
-
"update:selected",
|
|
236
|
-
"rowClick",
|
|
237
|
-
"update:columnOrder",
|
|
238
|
-
"columnReorder",
|
|
239
|
-
"update:columnWidths",
|
|
240
|
-
"columnResize"
|
|
241
|
-
],
|
|
242
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
243
|
-
const props = __props;
|
|
244
|
-
const emit = __emit;
|
|
245
|
-
const { t, locale } = useGranularityTranslations();
|
|
246
|
-
const { announce } = useAnnouncer();
|
|
247
|
-
const resolvedLoadingText = computed(() => props.loadingText ?? t("gr.dataTable.loading", "Loading…"));
|
|
248
|
-
const resolvedEmptyText = computed(() => props.emptyText ?? t("gr.dataTable.empty", "No data"));
|
|
249
|
-
const internalSortKey = ref(props.initialSortKey ?? "");
|
|
250
|
-
const internalSortDir = ref(props.initialSortDir);
|
|
251
|
-
const isSortKeyControlled = computed(() => props.sortKey !== void 0);
|
|
252
|
-
const isSortDirControlled = computed(() => props.sortDir !== void 0);
|
|
253
|
-
const currentSortKey = computed(() => props.sortKey ?? internalSortKey.value);
|
|
254
|
-
const currentSortDir = computed(() => props.sortDir ?? internalSortDir.value);
|
|
255
|
-
function applySort(key, dir) {
|
|
256
|
-
if (!isSortKeyControlled.value) internalSortKey.value = key;
|
|
257
|
-
if (!isSortDirControlled.value) internalSortDir.value = dir;
|
|
258
|
-
emit("update:sortKey", key);
|
|
259
|
-
emit("update:sortDir", dir);
|
|
260
|
-
emit("sortChange", {
|
|
261
|
-
key,
|
|
262
|
-
dir
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
const sortedRows = computed(() => {
|
|
266
|
-
if (props.externalSort) return [...props.rows];
|
|
267
|
-
const key = currentSortKey.value;
|
|
268
|
-
if (!key) return [...props.rows];
|
|
269
|
-
return sortRows(props.rows, key, currentSortDir.value, locale.value);
|
|
270
|
-
});
|
|
271
|
-
function toggleSort(col) {
|
|
272
|
-
if (!col.sortable) return;
|
|
273
|
-
if (currentSortKey.value !== col.key) {
|
|
274
|
-
applySort(col.key, "asc");
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
if (currentSortDir.value === "asc") {
|
|
278
|
-
applySort(col.key, "desc");
|
|
279
|
-
return;
|
|
280
|
-
}
|
|
281
|
-
if (props.sortCycle === "asc-desc-none") {
|
|
282
|
-
applySort("", "asc");
|
|
283
|
-
return;
|
|
284
|
-
}
|
|
285
|
-
applySort(col.key, "asc");
|
|
286
|
-
}
|
|
287
|
-
function cellAlign(col) {
|
|
288
|
-
if (col.align === "right") return "text-right";
|
|
289
|
-
if (col.align === "center") return "text-center";
|
|
290
|
-
return "text-left";
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* Синтетические ключи для строк, у которых поле `rowKey` пустое.
|
|
294
|
-
*
|
|
295
|
-
* Без них строка получила бы `String(undefined ?? '')` — **один и тот же** ключ
|
|
296
|
-
* на всю таблицу: Vue переиспользовал бы DOM не по назначению, а выбор одной
|
|
297
|
-
* строки помечал бы выбранными все. Ключ привязан к идентичности объекта,
|
|
298
|
-
* поэтому переживает сортировку и не зависит от индекса.
|
|
299
|
-
*/
|
|
300
|
-
const syntheticKeys = /* @__PURE__ */ new WeakMap();
|
|
301
|
-
let syntheticKeyCounter = 0;
|
|
302
|
-
const missingKeyWarned = ref(false);
|
|
303
|
-
function syntheticRowKey(row) {
|
|
304
|
-
const existing = syntheticKeys.get(row);
|
|
305
|
-
if (existing !== void 0) return existing;
|
|
306
|
-
syntheticKeyCounter += 1;
|
|
307
|
-
const generated = `gr-row-${syntheticKeyCounter}`;
|
|
308
|
-
syntheticKeys.set(row, generated);
|
|
309
|
-
if (!missingKeyWarned.value && process.env.NODE_ENV !== "production") {
|
|
310
|
-
missingKeyWarned.value = true;
|
|
311
|
-
console.warn(`[GrDataTable] У строки нет значения по ключу "${String(props.rowKey)}". Задайте \`rowKey\` (поле или функцию) — иначе выбор строк и переиспользование DOM работают по синтетическому ключу, который не переживёт перезагрузку данных.`);
|
|
312
|
-
}
|
|
313
|
-
return generated;
|
|
314
|
-
}
|
|
315
|
-
function rowKeyValue(row) {
|
|
316
|
-
const rk = props.rowKey;
|
|
317
|
-
if (typeof rk === "function") return rk(row);
|
|
318
|
-
const value = row[rk];
|
|
319
|
-
if (typeof value === "string" && value !== "") return value;
|
|
320
|
-
if (typeof value === "number") return value;
|
|
321
|
-
return syntheticRowKey(row);
|
|
322
|
-
}
|
|
323
|
-
function ariaSortFor(col) {
|
|
324
|
-
if (!col.sortable) return void 0;
|
|
325
|
-
if (currentSortKey.value !== col.key) return "none";
|
|
326
|
-
return currentSortDir.value === "asc" ? "ascending" : "descending";
|
|
327
|
-
}
|
|
328
|
-
/**
|
|
329
|
-
* Подсказка «что сделает нажатие» — visually hidden текстом **после** подписи
|
|
330
|
-
* колонки, а не `aria-label`'ом на кнопке. `aria-label` подменял бы собой имя
|
|
331
|
-
* `<th>`, и AT при переходе по ячейкам вместо «Название» читала бы
|
|
332
|
-
* «Отсортировано по Название по возрастанию, нажмите…». Текущее состояние
|
|
333
|
-
* сортировки при этом объявляет `aria-sort` на самом `<th>`.
|
|
334
|
-
*/
|
|
335
|
-
function sortHint(col) {
|
|
336
|
-
if (currentSortKey.value !== col.key) return t("gr.dataTable.sortAsc", "Activate to sort ascending");
|
|
337
|
-
if (currentSortDir.value === "asc") return t("gr.dataTable.sortDesc", "Activate to sort descending");
|
|
338
|
-
return props.sortCycle === "asc-desc-none" ? t("gr.dataTable.sortNone", "Activate to remove sorting") : t("gr.dataTable.sortAsc", "Activate to sort ascending");
|
|
339
|
-
}
|
|
340
|
-
const resolvedSize = useGrComponentSize(() => props.size, { component: "GrDataTable" });
|
|
341
|
-
const cellClass = computed(() => cellPaddings[resolvedSize.value]);
|
|
342
|
-
const placeholderClass = computed(() => placeholderPaddings[resolvedSize.value]);
|
|
343
|
-
const headerTextClass = computed(() => headerTextSizes[resolvedSize.value]);
|
|
344
|
-
const headerGapClass = computed(() => headerGaps[resolvedSize.value]);
|
|
345
|
-
const selectColumnClass = computed(() => selectColumnWidths[resolvedSize.value]);
|
|
346
|
-
const spinnerClass = computed(() => spinnerSizes[resolvedSize.value]);
|
|
347
|
-
const sortIconSize = computed(() => sortIconSizes[resolvedSize.value]);
|
|
348
|
-
const checkboxSize = computed(() => selectCheckboxSizes[resolvedSize.value]);
|
|
349
|
-
/**
|
|
350
|
-
* Номер строки и полное их число объявляем только при виртуализации: иначе
|
|
351
|
-
* диктор считает строки по разметке, а там всего окно. Заголовок — строка
|
|
352
|
-
* первая, поэтому строки набора начинаются со второй.
|
|
353
|
-
*/
|
|
354
|
-
const ariaRowCount = computed(() => props.virtual ? sortedRows.value.length + 1 : void 0);
|
|
355
|
-
function ariaRowIndex(index) {
|
|
356
|
-
return props.virtual ? index + 2 : void 0;
|
|
357
|
-
}
|
|
358
|
-
const isEmpty = computed(() => sortedRows.value.length === 0);
|
|
359
|
-
const totalColumns = computed(() => props.columns.length + (props.selectable ? 1 : 0));
|
|
360
|
-
/** Uncontrolled-состояние; в controlled-режиме перекрывается пропом `columnOrder`. */
|
|
361
|
-
const internalColumnOrder = ref(props.columns.map((col) => String(col.key)));
|
|
362
|
-
/**
|
|
363
|
-
* Колонки в пользовательском порядке.
|
|
364
|
-
*
|
|
365
|
-
* Состав задаёт `columns`, порядок — только порядок: ключ, которого в наборе
|
|
366
|
-
* нет, игнорируется, а колонка, которой нет в порядке (её только что добавили),
|
|
367
|
-
* встаёт в конец. Иначе правка `columns` теряла бы колонки молча.
|
|
368
|
-
*/
|
|
369
|
-
const orderedColumns = computed(() => {
|
|
370
|
-
const order = props.columnOrder ?? internalColumnOrder.value;
|
|
371
|
-
const remaining = new Map(props.columns.map((col) => [String(col.key), col]));
|
|
372
|
-
const ordered = [];
|
|
373
|
-
for (const key of order) {
|
|
374
|
-
const col = remaining.get(key);
|
|
375
|
-
if (!col) continue;
|
|
376
|
-
remaining.delete(key);
|
|
377
|
-
ordered.push(col);
|
|
378
|
-
}
|
|
379
|
-
for (const col of props.columns) if (remaining.has(String(col.key))) ordered.push(col);
|
|
380
|
-
return ordered.sort((a, b) => pinGroupOf(a) - pinGroupOf(b));
|
|
381
|
-
});
|
|
382
|
-
/** Группа закрепления: 0 — слева, 1 — обычная колонка, 2 — справа. */
|
|
383
|
-
function pinGroupOf(col) {
|
|
384
|
-
if (col.pinned === "left") return 0;
|
|
385
|
-
if (col.pinned === "right") return 2;
|
|
386
|
-
return 1;
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* Сумма заданных ширин — минимальная ширина таблицы.
|
|
390
|
-
*
|
|
391
|
-
* Без неё фиксированная раскладка вписывает таблицу в контейнер и делит место
|
|
392
|
-
* пропорционально: колонка, которую пользователь растянул, ужимается обратно, а
|
|
393
|
-
* горизонтальной прокрутки — той самой, ради которой закрепляют колонки, — не
|
|
394
|
-
* возникает. Считается, только когда ширина известна у **всех** колонок: с
|
|
395
|
-
* одной неизвестной сумма врала бы.
|
|
396
|
-
*/
|
|
397
|
-
const tableMinWidth = computed(() => {
|
|
398
|
-
const cols = orderedColumns.value;
|
|
399
|
-
if (cols.length === 0) return void 0;
|
|
400
|
-
let total = 0;
|
|
401
|
-
for (const col of cols) {
|
|
402
|
-
const width = widthOf(col);
|
|
403
|
-
if (typeof width !== "number") return void 0;
|
|
404
|
-
total += width;
|
|
405
|
-
}
|
|
406
|
-
return total;
|
|
407
|
-
});
|
|
408
|
-
const columnKeys = computed(() => orderedColumns.value.map((col) => String(col.key)));
|
|
409
|
-
const tableProps = computed(() => ({
|
|
410
|
-
size: resolvedSize.value,
|
|
411
|
-
ariaLabel: props.ariaLabel,
|
|
412
|
-
ariaLabelledby: props.ariaLabelledby,
|
|
413
|
-
regionLabel: props.regionLabel,
|
|
414
|
-
stickyHeader: props.stickyHeader,
|
|
415
|
-
maxHeight: props.maxHeight,
|
|
416
|
-
rowCount: ariaRowCount.value,
|
|
417
|
-
fixedLayout: props.virtual || props.resizableColumns,
|
|
418
|
-
tableMinWidth: tableMinWidth.value
|
|
419
|
-
}));
|
|
420
|
-
function indexOfColumn(key) {
|
|
421
|
-
return columnKeys.value.indexOf(key);
|
|
422
|
-
}
|
|
423
|
-
const headerCellEls = /* @__PURE__ */ new Map();
|
|
424
|
-
const columnHandleEls = /* @__PURE__ */ new Map();
|
|
425
|
-
function registerEl(store, key, el) {
|
|
426
|
-
if (el instanceof HTMLElement) {
|
|
427
|
-
store.set(key, el);
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
const previous = store.get(key);
|
|
431
|
-
if (previous && !previous.isConnected) store.delete(key);
|
|
432
|
-
}
|
|
433
|
-
function applyColumnMove(from, to) {
|
|
434
|
-
const keys = columnKeys.value;
|
|
435
|
-
if (from < 0 || to < 0 || to >= keys.length || from === to) return;
|
|
436
|
-
if (!sameGroup(from, to)) return;
|
|
437
|
-
const key = keys[from];
|
|
438
|
-
const label = orderedColumns.value[from]?.label ?? key;
|
|
439
|
-
const next = moveItem(keys, from, to);
|
|
440
|
-
internalColumnOrder.value = next;
|
|
441
|
-
emit("update:columnOrder", next);
|
|
442
|
-
emit("columnReorder", {
|
|
443
|
-
key,
|
|
444
|
-
from,
|
|
445
|
-
to
|
|
446
|
-
});
|
|
447
|
-
announce(t("gr.dataTable.columnMoved", "Column {label} moved to position {position} of {count}", {
|
|
448
|
-
label,
|
|
449
|
-
position: to + 1,
|
|
450
|
-
count: keys.length
|
|
451
|
-
}));
|
|
452
|
-
}
|
|
453
|
-
const columnSort = useDragSort({
|
|
454
|
-
items: () => columnKeys.value,
|
|
455
|
-
elementFor: (key) => headerCellEls.get(key) ?? null,
|
|
456
|
-
orientation: () => "horizontal",
|
|
457
|
-
disabled: () => !props.reorderableColumns || props.loading,
|
|
458
|
-
resolveTarget: (hit, source) => {
|
|
459
|
-
const to = insertionIndex(hit, indexOfColumn(source), columnKeys.value.length);
|
|
460
|
-
return sameGroup(indexOfColumn(source), to) ? to : null;
|
|
461
|
-
},
|
|
462
|
-
onDrop: (source, to) => applyColumnMove(indexOfColumn(source), to)
|
|
463
|
-
});
|
|
464
|
-
function sameGroup(from, to) {
|
|
465
|
-
const cols = orderedColumns.value;
|
|
466
|
-
if (!cols[from] || !cols[to]) return false;
|
|
467
|
-
return pinGroupOf(cols[from]) === pinGroupOf(cols[to]);
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* Кольцо роверного фокуса по ручкам: одна остановка `Tab` на всю шапку.
|
|
471
|
-
* Иначе таблица из десяти колонок добавляла бы десять таб-стопов подряд.
|
|
472
|
-
*/
|
|
473
|
-
const columnRoving = useRovingFocus({
|
|
474
|
-
items: () => props.reorderableColumns ? columnKeys.value : [],
|
|
475
|
-
elementFor: (key) => columnHandleEls.get(key) ?? null,
|
|
476
|
-
orientation: () => "horizontal",
|
|
477
|
-
wrap: () => false
|
|
478
|
-
});
|
|
479
|
-
async function onColumnHandleKeydown(event, key) {
|
|
480
|
-
if (!props.reorderableColumns) return;
|
|
481
|
-
if (event.shiftKey && (event.key === "ArrowLeft" || event.key === "ArrowRight")) {
|
|
482
|
-
event.preventDefault();
|
|
483
|
-
const from = indexOfColumn(key);
|
|
484
|
-
applyColumnMove(from, event.key === "ArrowLeft" ? from - 1 : from + 1);
|
|
485
|
-
await nextTick();
|
|
486
|
-
await columnRoving.focusKey(key);
|
|
487
|
-
return;
|
|
488
|
-
}
|
|
489
|
-
columnRoving.handleNavigationKeys(event);
|
|
490
|
-
}
|
|
491
|
-
const draggingColumnKey = computed(() => columnSort.mode.value === null ? null : columnSort.source.value);
|
|
492
|
-
/** Полоса места вставки — на колонке-соседе, со стороны движения. */
|
|
493
|
-
function columnDropClass(index) {
|
|
494
|
-
const target = columnSort.target.value;
|
|
495
|
-
if (!columnSort.isActive.value || target === null || target !== index) return "";
|
|
496
|
-
const active = columnSort.source.value === null ? -1 : indexOfColumn(columnSort.source.value);
|
|
497
|
-
if (index === active) return "";
|
|
498
|
-
return target < active ? columnDropBeforeClass : columnDropAfterClass;
|
|
499
|
-
}
|
|
500
|
-
const columnHandleLabel = (col) => t("gr.dataTable.moveColumn", "Move column {label}", { label: col.label });
|
|
501
|
-
/** Уже колонки не бывает: в неё перестаёт помещаться даже стрелка сортировки. */
|
|
502
|
-
const internalColumnWidths = ref({});
|
|
503
|
-
const columnWidths = computed(() => props.columnWidths ?? internalColumnWidths.value);
|
|
504
|
-
/** Фактические ширины шапки: заполняются замером, см. `measureLayout`. */
|
|
505
|
-
const measuredColumnWidths = ref({});
|
|
506
|
-
/** Ширина колонки: заданная пользователем сильнее объявленной в `columns`. */
|
|
507
|
-
function widthOf(col) {
|
|
508
|
-
return columnWidths.value[String(col.key)] ?? col.width;
|
|
509
|
-
}
|
|
510
|
-
const resizingKey = ref(null);
|
|
511
|
-
let pendingResizeKey = null;
|
|
512
|
-
let resizeStartX = 0;
|
|
513
|
-
let resizeStartWidth = 0;
|
|
514
|
-
let widthBeforeResize;
|
|
515
|
-
function setColumnWidth(key, width) {
|
|
516
|
-
const next = {
|
|
517
|
-
...columnWidths.value,
|
|
518
|
-
[key]: Math.max(MIN_COLUMN_WIDTH, Math.round(width))
|
|
519
|
-
};
|
|
520
|
-
internalColumnWidths.value = next;
|
|
521
|
-
emit("update:columnWidths", next);
|
|
522
|
-
}
|
|
523
|
-
function announceWidth(key) {
|
|
524
|
-
const col = orderedColumns.value.find((item) => String(item.key) === key);
|
|
525
|
-
if (!col) return;
|
|
526
|
-
announce(t("gr.dataTable.columnResized", "Column {label} is {width} pixels wide", {
|
|
527
|
-
label: col.label,
|
|
528
|
-
width: columnWidths.value[key] ?? 0
|
|
529
|
-
}));
|
|
530
|
-
}
|
|
531
|
-
const resizeGesture = useDragGesture({
|
|
532
|
-
disabled: () => !props.resizableColumns || props.loading,
|
|
533
|
-
onStart: (event) => {
|
|
534
|
-
const key = pendingResizeKey;
|
|
535
|
-
const el = key === null ? null : headerCellEls.get(key);
|
|
536
|
-
if (key === null || !el) return false;
|
|
537
|
-
resizeStartX = event.clientX;
|
|
538
|
-
resizeStartWidth = el.getBoundingClientRect().width;
|
|
539
|
-
widthBeforeResize = columnWidths.value[key];
|
|
540
|
-
resizingKey.value = key;
|
|
541
|
-
},
|
|
542
|
-
onMove: (event) => {
|
|
543
|
-
if (resizingKey.value === null) return;
|
|
544
|
-
event.preventDefault();
|
|
545
|
-
setColumnWidth(resizingKey.value, resizeStartWidth + (event.clientX - resizeStartX));
|
|
546
|
-
},
|
|
547
|
-
onEnd: () => {
|
|
548
|
-
const key = resizingKey.value;
|
|
549
|
-
resizingKey.value = null;
|
|
550
|
-
if (key === null) return;
|
|
551
|
-
emit("columnResize", {
|
|
552
|
-
key,
|
|
553
|
-
width: columnWidths.value[key] ?? Math.round(resizeStartWidth)
|
|
554
|
-
});
|
|
555
|
-
announceWidth(key);
|
|
556
|
-
},
|
|
557
|
-
onCancel: () => {
|
|
558
|
-
const key = resizingKey.value;
|
|
559
|
-
resizingKey.value = null;
|
|
560
|
-
if (key === null) return;
|
|
561
|
-
const next = { ...columnWidths.value };
|
|
562
|
-
if (widthBeforeResize === void 0) delete next[key];
|
|
563
|
-
else next[key] = widthBeforeResize;
|
|
564
|
-
internalColumnWidths.value = next;
|
|
565
|
-
emit("update:columnWidths", next);
|
|
566
|
-
}
|
|
567
|
-
});
|
|
568
|
-
function onResizerPointerDown(event, key) {
|
|
569
|
-
pendingResizeKey = key;
|
|
570
|
-
resizeGesture.start(event);
|
|
571
|
-
}
|
|
572
|
-
/** Сброс к авторазметке: колонка снова считается по содержимому. */
|
|
573
|
-
function resetColumnWidth(key) {
|
|
574
|
-
if (columnWidths.value[key] === void 0) return;
|
|
575
|
-
const next = { ...columnWidths.value };
|
|
576
|
-
delete next[key];
|
|
577
|
-
internalColumnWidths.value = next;
|
|
578
|
-
emit("update:columnWidths", next);
|
|
579
|
-
emit("columnResize", {
|
|
580
|
-
key,
|
|
581
|
-
width: 0
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
function resizeByKeyboard(key, delta) {
|
|
585
|
-
const measured = headerCellEls.get(key)?.getBoundingClientRect().width ?? MIN_COLUMN_WIDTH;
|
|
586
|
-
const current = columnWidths.value[key] ?? measured;
|
|
587
|
-
setColumnWidth(key, current + delta);
|
|
588
|
-
emit("columnResize", {
|
|
589
|
-
key,
|
|
590
|
-
width: columnWidths.value[key] ?? current
|
|
591
|
-
});
|
|
592
|
-
announceWidth(key);
|
|
593
|
-
}
|
|
594
|
-
function onResizerKeydown(event, key) {
|
|
595
|
-
if (!props.resizableColumns || props.loading) return;
|
|
596
|
-
const step = event.shiftKey ? RESIZE_BIG_STEP : RESIZE_STEP;
|
|
597
|
-
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
598
|
-
event.preventDefault();
|
|
599
|
-
resizeByKeyboard(key, event.key === "ArrowLeft" ? -step : step);
|
|
600
|
-
return;
|
|
601
|
-
}
|
|
602
|
-
if (event.key === "Enter") {
|
|
603
|
-
event.preventDefault();
|
|
604
|
-
resetColumnWidth(key);
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
function resizerLabel(col) {
|
|
608
|
-
return t("gr.dataTable.resizeColumn", "Width of column {label}", { label: col.label });
|
|
609
|
-
}
|
|
610
|
-
/**
|
|
611
|
-
* Ручка ресайза — фокусируемый `separator`, а значит обязана называть текущее
|
|
612
|
-
* значение с первого рендера, до всякого перетаскивания. Заданной ширины у
|
|
613
|
-
* колонки может не быть вовсе (авторазметка), поэтому за значением идём к
|
|
614
|
-
* измеренной; до замера остаётся объявленная в `columns`, а её тоже может не
|
|
615
|
-
* быть — тогда минимум.
|
|
616
|
-
*/
|
|
617
|
-
function resizerValue(col) {
|
|
618
|
-
const key = String(col.key);
|
|
619
|
-
const declared = typeof col.width === "number" ? col.width : void 0;
|
|
620
|
-
return columnWidths.value[key] ?? measuredColumnWidths.value[key] ?? declared ?? MIN_COLUMN_WIDTH;
|
|
621
|
-
}
|
|
622
|
-
/** Служебная колонка выбора в реестре ячеек: своего ключа у неё нет. */
|
|
623
|
-
const hasPinnedLeft = computed(() => orderedColumns.value.some((col) => col.pinned === "left"));
|
|
624
|
-
const pinnedOffsets = ref({});
|
|
625
|
-
/**
|
|
626
|
-
* Смещения липких колонок считаются по **измеренным** ширинам соседей: колонка
|
|
627
|
-
* может жить на авторазметке, и тогда взять смещение больше неоткуда. Отсюда же
|
|
628
|
-
* порядок: замер после отрисовки, а не в вычислении.
|
|
629
|
-
*/
|
|
630
|
-
function measurePinnedOffsets() {
|
|
631
|
-
const next = {};
|
|
632
|
-
const cols = orderedColumns.value;
|
|
633
|
-
let left = props.selectable && hasPinnedLeft.value ? headerCellEls.get(SELECT_COLUMN_KEY)?.getBoundingClientRect().width ?? 0 : 0;
|
|
634
|
-
for (const col of cols) {
|
|
635
|
-
if (col.pinned !== "left") continue;
|
|
636
|
-
next[String(col.key)] = left;
|
|
637
|
-
left += headerCellEls.get(String(col.key))?.getBoundingClientRect().width ?? 0;
|
|
638
|
-
}
|
|
639
|
-
let right = 0;
|
|
640
|
-
for (let index = cols.length - 1; index >= 0; index -= 1) {
|
|
641
|
-
const col = cols[index];
|
|
642
|
-
if (col.pinned !== "right") continue;
|
|
643
|
-
next[String(col.key)] = right;
|
|
644
|
-
right += headerCellEls.get(String(col.key))?.getBoundingClientRect().width ?? 0;
|
|
645
|
-
}
|
|
646
|
-
pinnedOffsets.value = next;
|
|
647
|
-
}
|
|
648
|
-
function measureColumnWidths() {
|
|
649
|
-
if (!props.resizableColumns) return;
|
|
650
|
-
const next = {};
|
|
651
|
-
for (const col of orderedColumns.value) {
|
|
652
|
-
const key = String(col.key);
|
|
653
|
-
const width = headerCellEls.get(key)?.getBoundingClientRect().width;
|
|
654
|
-
if (width) next[key] = Math.round(width);
|
|
655
|
-
}
|
|
656
|
-
measuredColumnWidths.value = next;
|
|
657
|
-
}
|
|
658
|
-
function measureLayout() {
|
|
659
|
-
measurePinnedOffsets();
|
|
660
|
-
measureColumnWidths();
|
|
661
|
-
}
|
|
662
|
-
function pinnedStyleOf(col) {
|
|
663
|
-
if (!col.pinned) return void 0;
|
|
664
|
-
const offset = pinnedOffsets.value[String(col.key)] ?? 0;
|
|
665
|
-
return col.pinned === "left" ? { left: `${offset}px` } : { right: `${offset}px` };
|
|
666
|
-
}
|
|
667
|
-
/** Тень рисует только крайняя колонка группы — иначе полос было бы столько же, сколько колонок. */
|
|
668
|
-
function pinnedEdgeClass(col, index) {
|
|
669
|
-
if (col.pinned === "left") return orderedColumns.value[index + 1]?.pinned === "left" ? "" : columnPinnedLeftEdgeClass;
|
|
670
|
-
if (col.pinned === "right") return orderedColumns.value[index - 1]?.pinned === "right" ? "" : columnPinnedRightEdgeClass;
|
|
671
|
-
return "";
|
|
672
|
-
}
|
|
673
|
-
function pinnedCellClass(col, index) {
|
|
674
|
-
if (!col.pinned) return [];
|
|
675
|
-
return [columnPinnedClass, pinnedEdgeClass(col, index)];
|
|
676
|
-
}
|
|
677
|
-
/**
|
|
678
|
-
* Ширину колонки меняет не только правка пропов: окно, шрифт и содержимое
|
|
679
|
-
* ячейки двигают её сами. `ResizeObserver` — единственный способ узнать об этом;
|
|
680
|
-
* в jsdom и на сервере его нет, там хватает пересчёта по изменению данных.
|
|
681
|
-
*/
|
|
682
|
-
let layoutObserver = null;
|
|
683
|
-
onMounted(() => {
|
|
684
|
-
measureLayout();
|
|
685
|
-
if (typeof ResizeObserver === "undefined") return;
|
|
686
|
-
layoutObserver = new ResizeObserver(() => measureLayout());
|
|
687
|
-
const el = headerCellEls.get(SELECT_COLUMN_KEY) ?? headerCellEls.get(columnKeys.value[0]);
|
|
688
|
-
if (el?.parentElement) layoutObserver.observe(el.parentElement);
|
|
689
|
-
});
|
|
690
|
-
onUnmounted(() => {
|
|
691
|
-
layoutObserver?.disconnect();
|
|
692
|
-
layoutObserver = null;
|
|
693
|
-
});
|
|
694
|
-
watch(() => [
|
|
695
|
-
orderedColumns.value,
|
|
696
|
-
columnWidths.value,
|
|
697
|
-
props.loading,
|
|
698
|
-
props.rows.length
|
|
699
|
-
], () => void nextTick(measureLayout));
|
|
700
|
-
/**
|
|
701
|
-
* Живой регион существует с первого рендера и пуст, пока объявлять нечего.
|
|
702
|
-
* Регион, который появляется уже с текстом, часть AT не объявляет вовсе —
|
|
703
|
-
* а именно так вело себя `role="status"` внутри строки загрузки.
|
|
704
|
-
*/
|
|
705
|
-
const liveMessage = computed(() => {
|
|
706
|
-
if (props.loading) return resolvedLoadingText.value;
|
|
707
|
-
if (isEmpty.value) return resolvedEmptyText.value;
|
|
708
|
-
return "";
|
|
709
|
-
});
|
|
710
|
-
function cellValue(row, key) {
|
|
711
|
-
return row[key];
|
|
712
|
-
}
|
|
713
|
-
function rowClassName(row, index) {
|
|
714
|
-
const source = props.rowClass;
|
|
715
|
-
return typeof source === "function" ? source(row, index) : source;
|
|
716
|
-
}
|
|
717
|
-
function onRowClick(row, index, event) {
|
|
718
|
-
emit("rowClick", {
|
|
719
|
-
row,
|
|
720
|
-
index,
|
|
721
|
-
event
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
const internalSelected = ref([]);
|
|
725
|
-
const isSelectedControlled = computed(() => props.selected !== void 0);
|
|
726
|
-
const selectedKeys = computed(() => new Set(props.selected ?? internalSelected.value));
|
|
727
|
-
function isRowSelectable(row) {
|
|
728
|
-
return props.selectableRow ? props.selectableRow(row) : true;
|
|
729
|
-
}
|
|
730
|
-
function isRowSelected(row) {
|
|
731
|
-
return selectedKeys.value.has(rowKeyValue(row));
|
|
732
|
-
}
|
|
733
|
-
/** «Выбрать все» работает по видимым и выбираемым строкам — они же считают состояние шапки. */
|
|
734
|
-
const selectableRows = computed(() => sortedRows.value.filter(isRowSelectable));
|
|
735
|
-
const allSelected = computed(() => selectableRows.value.length > 0 && selectableRows.value.every(isRowSelected));
|
|
736
|
-
const someSelected = computed(() => selectableRows.value.some(isRowSelected) && !allSelected.value);
|
|
737
|
-
function emitSelected(next) {
|
|
738
|
-
if (!isSelectedControlled.value) internalSelected.value = [...next];
|
|
739
|
-
emit("update:selected", [...next]);
|
|
740
|
-
}
|
|
741
|
-
function toggleRow(row) {
|
|
742
|
-
if (!isRowSelectable(row)) return;
|
|
743
|
-
const key = rowKeyValue(row);
|
|
744
|
-
const next = new Set(selectedKeys.value);
|
|
745
|
-
if (next.has(key)) next.delete(key);
|
|
746
|
-
else next.add(key);
|
|
747
|
-
emitSelected(next);
|
|
748
|
-
}
|
|
749
|
-
function toggleAll() {
|
|
750
|
-
const next = new Set(selectedKeys.value);
|
|
751
|
-
if (allSelected.value) {
|
|
752
|
-
for (const row of selectableRows.value) next.delete(rowKeyValue(row));
|
|
753
|
-
emitSelected(next);
|
|
754
|
-
return;
|
|
755
|
-
}
|
|
756
|
-
for (const row of selectableRows.value) next.add(rowKeyValue(row));
|
|
757
|
-
emitSelected(next);
|
|
758
|
-
}
|
|
759
|
-
const tableRef = ref(null);
|
|
760
|
-
const rootId = useId();
|
|
761
|
-
function rootEl() {
|
|
762
|
-
return tableRef.value?.$el ?? null;
|
|
763
|
-
}
|
|
764
|
-
/** Скролл-контейнер таблицы — он же элемент с `maxHeight`. */
|
|
765
|
-
function scrollEl() {
|
|
766
|
-
const root = rootEl();
|
|
767
|
-
return root?.matches("[data-gr-table-scroll]") ? root : root?.querySelector("[data-gr-table-scroll]") ?? null;
|
|
768
|
-
}
|
|
769
|
-
/**
|
|
770
|
-
* Виртуализация строк.
|
|
771
|
-
*
|
|
772
|
-
* Распорки здесь не псевдоэлементы, как у списочных компонентов: `<tbody>`
|
|
773
|
-
* игнорирует `padding`, а псевдоэлемент внутри группы строк не образует строку
|
|
774
|
-
* с управляемой высотой. Поэтому срезанное держат две служебные `<tr>` — той же
|
|
775
|
-
* формы, что строки загрузки и пустоты у `GrTable`.
|
|
776
|
-
*/
|
|
777
|
-
const scrollContainer = ref(null);
|
|
778
|
-
onMounted(() => {
|
|
779
|
-
scrollContainer.value = scrollEl();
|
|
780
|
-
});
|
|
781
|
-
const virtualizer = useVirtualList({
|
|
782
|
-
container: scrollContainer,
|
|
783
|
-
count: () => props.virtual ? sortedRows.value.length : 0,
|
|
784
|
-
source: () => sortedRows.value,
|
|
785
|
-
itemSize: () => rowHeightEstimates[resolvedSize.value],
|
|
786
|
-
viewportSize: () => typeof props.maxHeight === "number" ? props.maxHeight : void 0
|
|
787
|
-
});
|
|
788
|
-
/** Строки к отрисовке вместе с их абсолютной позицией в наборе. */
|
|
789
|
-
const renderedRows = computed(() => {
|
|
790
|
-
const rows = sortedRows.value;
|
|
791
|
-
if (!props.virtual) return rows.map((row, index) => ({
|
|
792
|
-
row,
|
|
793
|
-
index
|
|
794
|
-
}));
|
|
795
|
-
const { start, end } = virtualizer.range.value;
|
|
796
|
-
return rows.slice(start, end).map((row, offset) => ({
|
|
797
|
-
row,
|
|
798
|
-
index: start + offset
|
|
799
|
-
}));
|
|
800
|
-
});
|
|
801
|
-
const spacerBefore = computed(() => props.virtual ? virtualizer.offset.value : 0);
|
|
802
|
-
const spacerAfter = computed(() => props.virtual ? virtualizer.offsetEnd.value : 0);
|
|
803
|
-
/** Ширина колонки: число трактуем как пиксели. */
|
|
804
|
-
function columnWidthStyle(width) {
|
|
805
|
-
if (width === void 0) return void 0;
|
|
806
|
-
return { width: typeof width === "number" ? `${width}px` : width };
|
|
807
|
-
}
|
|
808
|
-
function scrollToRow(key, options) {
|
|
809
|
-
const target = String(key);
|
|
810
|
-
if (props.virtual) {
|
|
811
|
-
const index = sortedRows.value.findIndex((row) => String(rowKeyValue(row)) === target);
|
|
812
|
-
if (index < 0) return false;
|
|
813
|
-
virtualizer.scrollToIndex(index);
|
|
814
|
-
nextTick(() => {
|
|
815
|
-
findRowEl(target)?.scrollIntoView?.(options ?? { block: "nearest" });
|
|
816
|
-
});
|
|
817
|
-
return true;
|
|
818
|
-
}
|
|
819
|
-
const row = findRowEl(target);
|
|
820
|
-
if (!row) return false;
|
|
821
|
-
row.scrollIntoView(options ?? { block: "nearest" });
|
|
822
|
-
return true;
|
|
823
|
-
}
|
|
824
|
-
function findRowEl(rowKey) {
|
|
825
|
-
const rows = rootEl()?.querySelectorAll("[data-gr-datatable-row]") ?? [];
|
|
826
|
-
return Array.prototype.find.call(rows, (el) => el.dataset.rowKey === rowKey);
|
|
827
|
-
}
|
|
828
|
-
const scrollTo = (options) => {
|
|
829
|
-
scrollEl()?.scrollTo(options);
|
|
830
|
-
};
|
|
831
|
-
function clearSort() {
|
|
832
|
-
applySort("", "asc");
|
|
833
|
-
}
|
|
834
|
-
__expose({
|
|
835
|
-
/** Прокрутить к строке по её ключу. `false` — строки нет в DOM. */
|
|
836
|
-
scrollToRow,
|
|
837
|
-
/** Прокрутить скролл-контейнер таблицы. */
|
|
838
|
-
scrollTo,
|
|
839
|
-
/** Снять сортировку (эквивалент третьего состояния). */
|
|
840
|
-
clearSort,
|
|
841
|
-
/** Отметить/снять все выбираемые строки. */
|
|
842
|
-
toggleAll
|
|
843
|
-
});
|
|
844
|
-
return (_ctx, _cache) => {
|
|
845
|
-
return openBlock(), createBlock(GrTable_default, mergeProps(tableProps.value, {
|
|
846
|
-
ref_key: "tableRef",
|
|
847
|
-
ref: tableRef,
|
|
848
|
-
"data-gr-datatable": ""
|
|
849
|
-
}), createSlots({
|
|
850
|
-
caption: withCtx(() => [renderSlot(_ctx.$slots, "caption", {}, () => [createTextVNode(toDisplayString(__props.caption), 1)]), createElementVNode("span", {
|
|
851
|
-
id: `${unref(rootId)}-live`,
|
|
852
|
-
"data-gr-datatable-live": "",
|
|
853
|
-
role: "status",
|
|
854
|
-
"aria-live": "polite"
|
|
855
|
-
}, toDisplayString(liveMessage.value), 9, _hoisted_1)]),
|
|
856
|
-
header: withCtx(() => [createElementVNode("tr", {
|
|
857
|
-
"data-gr-datatable-header": "",
|
|
858
|
-
"aria-rowindex": __props.virtual ? 1 : void 0
|
|
859
|
-
}, [__props.selectable ? (openBlock(), createElementBlock("th", {
|
|
860
|
-
key: 0,
|
|
861
|
-
ref: (el) => registerEl(unref(headerCellEls), SELECT_COLUMN_KEY, el),
|
|
862
|
-
class: normalizeClass(["text-left", [
|
|
863
|
-
selectColumnClass.value,
|
|
864
|
-
cellClass.value,
|
|
865
|
-
hasPinnedLeft.value ? unref(columnPinnedClass) : ""
|
|
866
|
-
]]),
|
|
867
|
-
style: normalizeStyle(hasPinnedLeft.value ? { left: "0px" } : void 0),
|
|
868
|
-
scope: "col"
|
|
869
|
-
}, [createVNode(GrCheckbox_default, {
|
|
870
|
-
"data-gr-datatable-select-all": "",
|
|
871
|
-
"model-value": allSelected.value,
|
|
872
|
-
indeterminate: someSelected.value,
|
|
873
|
-
size: checkboxSize.value,
|
|
874
|
-
disabled: __props.loading || selectableRows.value.length === 0,
|
|
875
|
-
"aria-label": unref(t)("gr.dataTable.selectAll", "Select all rows"),
|
|
876
|
-
"onUpdate:modelValue": toggleAll
|
|
877
|
-
}, null, 8, [
|
|
878
|
-
"model-value",
|
|
879
|
-
"indeterminate",
|
|
880
|
-
"size",
|
|
881
|
-
"disabled",
|
|
882
|
-
"aria-label"
|
|
883
|
-
])], 6)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(orderedColumns.value, (col, colIndex) => {
|
|
884
|
-
return openBlock(), createElementBlock("th", {
|
|
885
|
-
key: col.key,
|
|
886
|
-
ref_for: true,
|
|
887
|
-
ref: (el) => registerEl(unref(headerCellEls), String(col.key), el),
|
|
888
|
-
class: normalizeClass(["font-700", [
|
|
889
|
-
headerTextClass.value,
|
|
890
|
-
cellClass.value,
|
|
891
|
-
cellAlign(col),
|
|
892
|
-
__props.reorderableColumns || __props.resizableColumns ? "group relative" : "",
|
|
893
|
-
draggingColumnKey.value === String(col.key) ? unref(columnDraggingClass) : "",
|
|
894
|
-
columnDropClass(colIndex),
|
|
895
|
-
...pinnedCellClass(col, colIndex)
|
|
896
|
-
]]),
|
|
897
|
-
"data-column-key": col.key,
|
|
898
|
-
style: normalizeStyle({
|
|
899
|
-
...columnWidthStyle(widthOf(col)),
|
|
900
|
-
...pinnedStyleOf(col)
|
|
901
|
-
}),
|
|
902
|
-
"aria-sort": ariaSortFor(col),
|
|
903
|
-
scope: "col"
|
|
904
|
-
}, [createElementVNode("div", { class: normalizeClass(["inline-flex items-center", headerGapClass.value]) }, [__props.reorderableColumns ? (openBlock(), createElementBlock("button", {
|
|
905
|
-
key: 0,
|
|
906
|
-
ref_for: true,
|
|
907
|
-
ref: (el) => registerEl(unref(columnHandleEls), String(col.key), el),
|
|
908
|
-
type: "button",
|
|
909
|
-
"data-gr-datatable-column-handle": "",
|
|
910
|
-
class: normalizeClass([unref(columnHandleClass), unref(columnSort).isActive.value ? unref(columnHandleActiveClass) : ""]),
|
|
911
|
-
tabindex: unref(columnRoving).tabindexFor(String(col.key)),
|
|
912
|
-
"aria-label": columnHandleLabel(col),
|
|
913
|
-
disabled: __props.loading,
|
|
914
|
-
onPointerdown: ($event) => unref(columnSort).startFrom(String(col.key))($event),
|
|
915
|
-
onKeydown: ($event) => onColumnHandleKeydown($event, String(col.key)),
|
|
916
|
-
onFocus: ($event) => unref(columnRoving).setActive(String(col.key)),
|
|
917
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"]))
|
|
918
|
-
}, [createVNode(unref(grip_vertical_default), {
|
|
919
|
-
class: "block",
|
|
920
|
-
"aria-hidden": "true"
|
|
921
|
-
})], 42, _hoisted_4)) : createCommentVNode("", true), col.sortable ? (openBlock(), createElementBlock("button", {
|
|
922
|
-
key: 1,
|
|
923
|
-
type: "button",
|
|
924
|
-
"data-gr-datatable-sort": "",
|
|
925
|
-
class: normalizeClass(["inline-flex items-center text-[var(--gr-muted-fg)] hover:text-[var(--gr-fg)] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--gr-ring)] rounded-[var(--gr-radius-sm)]", headerGapClass.value]),
|
|
926
|
-
onClick: ($event) => toggleSort(col)
|
|
927
|
-
}, [
|
|
928
|
-
createElementVNode("span", null, [renderSlot(_ctx.$slots, `header-${col.key}`, { column: col }, () => [createTextVNode(toDisplayString(col.label), 1)])]),
|
|
929
|
-
createElementVNode("span", _hoisted_6, toDisplayString(sortHint(col)), 1),
|
|
930
|
-
createElementVNode("span", _hoisted_7, [currentSortKey.value === col.key && currentSortDir.value === "asc" ? (openBlock(), createBlock(GrIcon_default, {
|
|
931
|
-
key: 0,
|
|
932
|
-
size: sortIconSize.value
|
|
933
|
-
}, {
|
|
934
|
-
default: withCtx(() => [createVNode(unref(arrow_up_default))]),
|
|
935
|
-
_: 1
|
|
936
|
-
}, 8, ["size"])) : currentSortKey.value === col.key && currentSortDir.value === "desc" ? (openBlock(), createBlock(GrIcon_default, {
|
|
937
|
-
key: 1,
|
|
938
|
-
size: sortIconSize.value
|
|
939
|
-
}, {
|
|
940
|
-
default: withCtx(() => [createVNode(unref(arrow_down_default))]),
|
|
941
|
-
_: 1
|
|
942
|
-
}, 8, ["size"])) : createCommentVNode("", true)])
|
|
943
|
-
], 10, _hoisted_5)) : (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, `header-${col.key}`, { column: col }, () => [createTextVNode(toDisplayString(col.label), 1)])]))], 2), __props.resizableColumns ? (openBlock(), createElementBlock("span", {
|
|
944
|
-
key: 0,
|
|
945
|
-
"data-gr-datatable-column-resizer": "",
|
|
946
|
-
role: "separator",
|
|
947
|
-
tabindex: "0",
|
|
948
|
-
"aria-orientation": "vertical",
|
|
949
|
-
class: normalizeClass(unref(columnResizerClass)),
|
|
950
|
-
"aria-label": resizerLabel(col),
|
|
951
|
-
"aria-valuenow": resizerValue(col),
|
|
952
|
-
"aria-valuemin": MIN_COLUMN_WIDTH,
|
|
953
|
-
"aria-valuetext": `${resizerValue(col)}px`,
|
|
954
|
-
onPointerdown: ($event) => onResizerPointerDown($event, String(col.key)),
|
|
955
|
-
onKeydown: ($event) => onResizerKeydown($event, String(col.key)),
|
|
956
|
-
onDblclick: ($event) => resetColumnWidth(String(col.key)),
|
|
957
|
-
onClick: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"]))
|
|
958
|
-
}, [createElementVNode("span", {
|
|
959
|
-
class: normalizeClass([
|
|
960
|
-
unref(columnResizerLineClass),
|
|
961
|
-
unref(columnResizerHoverClass),
|
|
962
|
-
resizingKey.value === String(col.key) ? unref(columnResizerLineActiveClass) : ""
|
|
963
|
-
]),
|
|
964
|
-
"aria-hidden": "true"
|
|
965
|
-
}, null, 2)], 42, _hoisted_9)) : createCommentVNode("", true)], 14, _hoisted_3);
|
|
966
|
-
}), 128))], 8, _hoisted_2)]),
|
|
967
|
-
default: withCtx(() => [__props.loading ? (openBlock(), createElementBlock("tr", _hoisted_10, [createElementVNode("td", {
|
|
968
|
-
colspan: totalColumns.value,
|
|
969
|
-
class: normalizeClass(["text-center text-[var(--gr-muted-fg)]", placeholderClass.value])
|
|
970
|
-
}, [renderSlot(_ctx.$slots, "loading", {}, () => [createElementVNode("span", _hoisted_12, [createVNode(unref(loader_circle_default), {
|
|
971
|
-
class: normalizeClass(["block animate-spin", spinnerClass.value]),
|
|
972
|
-
"aria-hidden": "true"
|
|
973
|
-
}, null, 8, ["class"]), createElementVNode("span", null, toDisplayString(resolvedLoadingText.value), 1)])])], 10, _hoisted_11)])) : isEmpty.value ? (openBlock(), createElementBlock("tr", _hoisted_13, [createElementVNode("td", {
|
|
974
|
-
colspan: totalColumns.value,
|
|
975
|
-
class: normalizeClass(["text-center text-[var(--gr-muted-fg)]", placeholderClass.value])
|
|
976
|
-
}, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(resolvedEmptyText.value), 1)])], 10, _hoisted_14)])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
977
|
-
__props.virtual && spacerBefore.value > 0 ? (openBlock(), createElementBlock("tr", _hoisted_15, [createElementVNode("td", {
|
|
978
|
-
colspan: totalColumns.value,
|
|
979
|
-
style: normalizeStyle({
|
|
980
|
-
height: `${spacerBefore.value}px`,
|
|
981
|
-
padding: "0",
|
|
982
|
-
border: "0"
|
|
983
|
-
})
|
|
984
|
-
}, null, 12, _hoisted_16)])) : createCommentVNode("", true),
|
|
985
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(renderedRows.value, ({ row, index }) => {
|
|
986
|
-
return openBlock(), createElementBlock("tr", mergeProps({
|
|
987
|
-
key: rowKeyValue(row),
|
|
988
|
-
ref_for: true,
|
|
989
|
-
ref: (el) => __props.virtual && unref(virtualizer).measure(index, el),
|
|
990
|
-
class: ["border-t border-[var(--gr-brd)]", [isRowSelected(row) ? unref(rowSelectedClass) : "", rowClassName(row, index)]],
|
|
991
|
-
"data-gr-datatable-row": "",
|
|
992
|
-
"data-row-key": rowKeyValue(row),
|
|
993
|
-
"data-selected": __props.selectable && isRowSelected(row) ? "true" : void 0,
|
|
994
|
-
"aria-rowindex": ariaRowIndex(index)
|
|
995
|
-
}, { ref_for: true }, __props.rowProps?.(row, index), { onClick: ($event) => onRowClick(row, index, $event) }), [__props.selectable ? (openBlock(), createElementBlock("td", {
|
|
996
|
-
key: 0,
|
|
997
|
-
class: normalizeClass(["text-left", [
|
|
998
|
-
selectColumnClass.value,
|
|
999
|
-
cellClass.value,
|
|
1000
|
-
hasPinnedLeft.value ? unref(columnPinnedClass) : "",
|
|
1001
|
-
hasPinnedLeft.value && isRowSelected(row) ? unref(rowSelectedClass) : ""
|
|
1002
|
-
]]),
|
|
1003
|
-
style: normalizeStyle(hasPinnedLeft.value ? { left: "0px" } : void 0)
|
|
1004
|
-
}, [isRowSelectable(row) ? (openBlock(), createBlock(GrCheckbox_default, {
|
|
1005
|
-
key: 0,
|
|
1006
|
-
"data-gr-datatable-select-row": "",
|
|
1007
|
-
"model-value": isRowSelected(row),
|
|
1008
|
-
size: checkboxSize.value,
|
|
1009
|
-
"aria-label": unref(t)("gr.dataTable.selectRow", "Select row"),
|
|
1010
|
-
onClick: _cache[2] || (_cache[2] = withModifiers(() => {}, ["stop"])),
|
|
1011
|
-
"onUpdate:modelValue": ($event) => toggleRow(row)
|
|
1012
|
-
}, null, 8, [
|
|
1013
|
-
"model-value",
|
|
1014
|
-
"size",
|
|
1015
|
-
"aria-label",
|
|
1016
|
-
"onUpdate:modelValue"
|
|
1017
|
-
])) : createCommentVNode("", true)], 6)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(orderedColumns.value, (col, colIndex) => {
|
|
1018
|
-
return openBlock(), createElementBlock("td", {
|
|
1019
|
-
key: col.key,
|
|
1020
|
-
class: normalizeClass([
|
|
1021
|
-
cellClass.value,
|
|
1022
|
-
cellAlign(col),
|
|
1023
|
-
...pinnedCellClass(col, colIndex),
|
|
1024
|
-
col.pinned && isRowSelected(row) ? unref(rowSelectedClass) : ""
|
|
1025
|
-
]),
|
|
1026
|
-
style: normalizeStyle({
|
|
1027
|
-
...columnWidthStyle(widthOf(col)),
|
|
1028
|
-
...pinnedStyleOf(col)
|
|
1029
|
-
})
|
|
1030
|
-
}, [renderSlot(_ctx.$slots, `cell-${col.key}`, {
|
|
1031
|
-
row,
|
|
1032
|
-
index
|
|
1033
|
-
}, () => [createElementVNode("span", null, toDisplayString(cellValue(row, col.key)), 1)])], 6);
|
|
1034
|
-
}), 128))], 16, _hoisted_17);
|
|
1035
|
-
}), 128)),
|
|
1036
|
-
__props.virtual && spacerAfter.value > 0 ? (openBlock(), createElementBlock("tr", _hoisted_18, [createElementVNode("td", {
|
|
1037
|
-
colspan: totalColumns.value,
|
|
1038
|
-
style: normalizeStyle({
|
|
1039
|
-
height: `${spacerAfter.value}px`,
|
|
1040
|
-
padding: "0",
|
|
1041
|
-
border: "0"
|
|
1042
|
-
})
|
|
1043
|
-
}, null, 12, _hoisted_19)])) : createCommentVNode("", true)
|
|
1044
|
-
], 64))]),
|
|
1045
|
-
_: 2
|
|
1046
|
-
}, [_ctx.$slots.footer ? {
|
|
1047
|
-
name: "footer",
|
|
1048
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "footer")]),
|
|
1049
|
-
key: "0"
|
|
1050
|
-
} : void 0]), 1040);
|
|
1051
|
-
};
|
|
1052
|
-
}
|
|
1053
|
-
});
|
|
1054
|
-
//#endregion
|
|
1055
|
-
export { sortRows as i, compareCells as n, isEmptyCell as r, GrDataTable_default as t };
|