@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
|
@@ -0,0 +1,1117 @@
|
|
|
1
|
+
import { a as useGrComponentSize } from "../../../chunks/context-CTbuwcYs.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-bQwtZtYT.js";
|
|
5
|
+
import { useVirtualList } from "../../../composables/useVirtualList.js";
|
|
6
|
+
import { t as GrCheckbox_default } from "../../GrCheckbox/chunks/GrCheckbox-CEcHIsXM.js";
|
|
7
|
+
import { useAnnouncer } from "../../../composables/useAnnouncer.js";
|
|
8
|
+
import { useDragGesture } from "../../../composables/useDragGesture.js";
|
|
9
|
+
import { t as GrTable_default } from "../../GrTable/chunks/GrTable-f3qCWa99.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, T as summaryRowClass, _ 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-BC8d_smz.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
|
+
var _hoisted_20 = ["aria-rowindex"];
|
|
151
|
+
var _hoisted_21 = ["data-column-key"];
|
|
152
|
+
/**
|
|
153
|
+
* `GrDataTable` — data-таблица поверх `GrTable` с сортировкой по клику
|
|
154
|
+
* на заголовок и scoped-слотами ячеек (`#cell-<key>`), `#header-<key>`,
|
|
155
|
+
* `#caption`, `#footer`, `#empty`, `#loading`.
|
|
156
|
+
*
|
|
157
|
+
* Итоговая строка объявляется пропом `summaryRow` и оформляется слотами
|
|
158
|
+
* `#summary-<key>`: она встаёт по той же колоночной сетке, что и тело.
|
|
159
|
+
*
|
|
160
|
+
* `#footer` — для свободной разметки под итогом: несколько строк, примечание,
|
|
161
|
+
* `colspan`. Рендерится внутрь того же `<tfoot>`, то есть его содержимое тоже
|
|
162
|
+
* строки таблицы (`<tr><td>`), а скоуп отдаёт `columns` (в текущем порядке) и
|
|
163
|
+
* `totalColumns` (с колонкой выбора).
|
|
164
|
+
*
|
|
165
|
+
* Сортировка, включая крайние случаи с пустыми и смешанными значениями, живёт
|
|
166
|
+
* в `grDataTableSort.ts` — см. `docs/components/GrDataTable.md`.
|
|
167
|
+
*/
|
|
168
|
+
var MIN_COLUMN_WIDTH = 48;
|
|
169
|
+
/** Шаг клавиатуры и крупный шаг — как у `GrSplitter`. */
|
|
170
|
+
var RESIZE_STEP = 16;
|
|
171
|
+
var RESIZE_BIG_STEP = 48;
|
|
172
|
+
var SELECT_COLUMN_KEY = "__select__";
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region src/components/GrDataTable/GrDataTable.vue
|
|
175
|
+
var GrDataTable_default = /* @__PURE__ */ defineComponent({
|
|
176
|
+
__name: "GrDataTable",
|
|
177
|
+
props: {
|
|
178
|
+
rows: {},
|
|
179
|
+
columns: {},
|
|
180
|
+
rowKey: {
|
|
181
|
+
type: [String, Function],
|
|
182
|
+
default: "id"
|
|
183
|
+
},
|
|
184
|
+
initialSortKey: { default: void 0 },
|
|
185
|
+
initialSortDir: { default: "asc" },
|
|
186
|
+
sortKey: { default: void 0 },
|
|
187
|
+
sortDir: { default: void 0 },
|
|
188
|
+
sortCycle: { default: "asc-desc" },
|
|
189
|
+
externalSort: {
|
|
190
|
+
type: Boolean,
|
|
191
|
+
default: false
|
|
192
|
+
},
|
|
193
|
+
selectable: {
|
|
194
|
+
type: Boolean,
|
|
195
|
+
default: false
|
|
196
|
+
},
|
|
197
|
+
selected: { default: void 0 },
|
|
198
|
+
selectableRow: {
|
|
199
|
+
type: Function,
|
|
200
|
+
default: void 0
|
|
201
|
+
},
|
|
202
|
+
loading: {
|
|
203
|
+
type: Boolean,
|
|
204
|
+
default: false
|
|
205
|
+
},
|
|
206
|
+
loadingText: { default: void 0 },
|
|
207
|
+
emptyText: { default: void 0 },
|
|
208
|
+
rowClass: {
|
|
209
|
+
type: [String, Function],
|
|
210
|
+
default: void 0
|
|
211
|
+
},
|
|
212
|
+
rowProps: {
|
|
213
|
+
type: Function,
|
|
214
|
+
default: void 0
|
|
215
|
+
},
|
|
216
|
+
summaryRow: { default: void 0 },
|
|
217
|
+
size: { default: void 0 },
|
|
218
|
+
caption: { default: void 0 },
|
|
219
|
+
ariaLabel: { default: void 0 },
|
|
220
|
+
ariaLabelledby: { default: void 0 },
|
|
221
|
+
regionLabel: { default: void 0 },
|
|
222
|
+
stickyHeader: {
|
|
223
|
+
type: Boolean,
|
|
224
|
+
default: false
|
|
225
|
+
},
|
|
226
|
+
virtual: {
|
|
227
|
+
type: Boolean,
|
|
228
|
+
default: false
|
|
229
|
+
},
|
|
230
|
+
maxHeight: { default: void 0 },
|
|
231
|
+
reorderableColumns: {
|
|
232
|
+
type: Boolean,
|
|
233
|
+
default: false
|
|
234
|
+
},
|
|
235
|
+
columnOrder: { default: void 0 },
|
|
236
|
+
resizableColumns: {
|
|
237
|
+
type: Boolean,
|
|
238
|
+
default: false
|
|
239
|
+
},
|
|
240
|
+
columnWidths: { default: void 0 }
|
|
241
|
+
},
|
|
242
|
+
emits: [
|
|
243
|
+
"update:sortKey",
|
|
244
|
+
"update:sortDir",
|
|
245
|
+
"sortChange",
|
|
246
|
+
"update:selected",
|
|
247
|
+
"rowClick",
|
|
248
|
+
"update:columnOrder",
|
|
249
|
+
"columnReorder",
|
|
250
|
+
"update:columnWidths",
|
|
251
|
+
"columnResize"
|
|
252
|
+
],
|
|
253
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
254
|
+
const props = __props;
|
|
255
|
+
const emit = __emit;
|
|
256
|
+
const { t, locale } = useGranularityTranslations();
|
|
257
|
+
const { announce } = useAnnouncer();
|
|
258
|
+
const resolvedLoadingText = computed(() => props.loadingText ?? t("gr.dataTable.loading", "Loading…"));
|
|
259
|
+
const resolvedEmptyText = computed(() => props.emptyText ?? t("gr.dataTable.empty", "No data"));
|
|
260
|
+
const internalSortKey = ref(props.initialSortKey ?? "");
|
|
261
|
+
const internalSortDir = ref(props.initialSortDir);
|
|
262
|
+
const isSortKeyControlled = computed(() => props.sortKey !== void 0);
|
|
263
|
+
const isSortDirControlled = computed(() => props.sortDir !== void 0);
|
|
264
|
+
const currentSortKey = computed(() => props.sortKey ?? internalSortKey.value);
|
|
265
|
+
const currentSortDir = computed(() => props.sortDir ?? internalSortDir.value);
|
|
266
|
+
function applySort(key, dir) {
|
|
267
|
+
if (!isSortKeyControlled.value) internalSortKey.value = key;
|
|
268
|
+
if (!isSortDirControlled.value) internalSortDir.value = dir;
|
|
269
|
+
emit("update:sortKey", key);
|
|
270
|
+
emit("update:sortDir", dir);
|
|
271
|
+
emit("sortChange", {
|
|
272
|
+
key,
|
|
273
|
+
dir
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
const sortedRows = computed(() => {
|
|
277
|
+
if (props.externalSort) return [...props.rows];
|
|
278
|
+
const key = currentSortKey.value;
|
|
279
|
+
if (!key) return [...props.rows];
|
|
280
|
+
return sortRows(props.rows, key, currentSortDir.value, locale.value);
|
|
281
|
+
});
|
|
282
|
+
function toggleSort(col) {
|
|
283
|
+
if (!col.sortable) return;
|
|
284
|
+
if (currentSortKey.value !== col.key) {
|
|
285
|
+
applySort(col.key, "asc");
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
if (currentSortDir.value === "asc") {
|
|
289
|
+
applySort(col.key, "desc");
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
if (props.sortCycle === "asc-desc-none") {
|
|
293
|
+
applySort("", "asc");
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
applySort(col.key, "asc");
|
|
297
|
+
}
|
|
298
|
+
function cellAlign(col) {
|
|
299
|
+
if (col.align === "right") return "text-right";
|
|
300
|
+
if (col.align === "center") return "text-center";
|
|
301
|
+
return "text-left";
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Синтетические ключи для строк, у которых поле `rowKey` пустое.
|
|
305
|
+
*
|
|
306
|
+
* Без них строка получила бы `String(undefined ?? '')` — **один и тот же** ключ
|
|
307
|
+
* на всю таблицу: Vue переиспользовал бы DOM не по назначению, а выбор одной
|
|
308
|
+
* строки помечал бы выбранными все. Ключ привязан к идентичности объекта,
|
|
309
|
+
* поэтому переживает сортировку и не зависит от индекса.
|
|
310
|
+
*/
|
|
311
|
+
const syntheticKeys = /* @__PURE__ */ new WeakMap();
|
|
312
|
+
let syntheticKeyCounter = 0;
|
|
313
|
+
const missingKeyWarned = ref(false);
|
|
314
|
+
function syntheticRowKey(row) {
|
|
315
|
+
const existing = syntheticKeys.get(row);
|
|
316
|
+
if (existing !== void 0) return existing;
|
|
317
|
+
syntheticKeyCounter += 1;
|
|
318
|
+
const generated = `gr-row-${syntheticKeyCounter}`;
|
|
319
|
+
syntheticKeys.set(row, generated);
|
|
320
|
+
if (!missingKeyWarned.value && process.env.NODE_ENV !== "production") {
|
|
321
|
+
missingKeyWarned.value = true;
|
|
322
|
+
console.warn(`[GrDataTable] У строки нет значения по ключу "${String(props.rowKey)}". Задайте \`rowKey\` (поле или функцию) — иначе выбор строк и переиспользование DOM работают по синтетическому ключу, который не переживёт перезагрузку данных.`);
|
|
323
|
+
}
|
|
324
|
+
return generated;
|
|
325
|
+
}
|
|
326
|
+
function rowKeyValue(row) {
|
|
327
|
+
const rk = props.rowKey;
|
|
328
|
+
if (typeof rk === "function") return rk(row);
|
|
329
|
+
const value = row[rk];
|
|
330
|
+
if (typeof value === "string" && value !== "") return value;
|
|
331
|
+
if (typeof value === "number") return value;
|
|
332
|
+
return syntheticRowKey(row);
|
|
333
|
+
}
|
|
334
|
+
function ariaSortFor(col) {
|
|
335
|
+
if (!col.sortable) return void 0;
|
|
336
|
+
if (currentSortKey.value !== col.key) return "none";
|
|
337
|
+
return currentSortDir.value === "asc" ? "ascending" : "descending";
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Подсказка «что сделает нажатие» — visually hidden текстом **после** подписи
|
|
341
|
+
* колонки, а не `aria-label`'ом на кнопке. `aria-label` подменял бы собой имя
|
|
342
|
+
* `<th>`, и AT при переходе по ячейкам вместо «Название» читала бы
|
|
343
|
+
* «Отсортировано по Название по возрастанию, нажмите…». Текущее состояние
|
|
344
|
+
* сортировки при этом объявляет `aria-sort` на самом `<th>`.
|
|
345
|
+
*/
|
|
346
|
+
function sortHint(col) {
|
|
347
|
+
if (currentSortKey.value !== col.key) return t("gr.dataTable.sortAsc", "Activate to sort ascending");
|
|
348
|
+
if (currentSortDir.value === "asc") return t("gr.dataTable.sortDesc", "Activate to sort descending");
|
|
349
|
+
return props.sortCycle === "asc-desc-none" ? t("gr.dataTable.sortNone", "Activate to remove sorting") : t("gr.dataTable.sortAsc", "Activate to sort ascending");
|
|
350
|
+
}
|
|
351
|
+
const resolvedSize = useGrComponentSize(() => props.size, { component: "GrDataTable" });
|
|
352
|
+
const cellClass = computed(() => cellPaddings[resolvedSize.value]);
|
|
353
|
+
const placeholderClass = computed(() => placeholderPaddings[resolvedSize.value]);
|
|
354
|
+
const headerTextClass = computed(() => headerTextSizes[resolvedSize.value]);
|
|
355
|
+
const headerGapClass = computed(() => headerGaps[resolvedSize.value]);
|
|
356
|
+
const selectColumnClass = computed(() => selectColumnWidths[resolvedSize.value]);
|
|
357
|
+
const spinnerClass = computed(() => spinnerSizes[resolvedSize.value]);
|
|
358
|
+
const sortIconSize = computed(() => sortIconSizes[resolvedSize.value]);
|
|
359
|
+
const checkboxSize = computed(() => selectCheckboxSizes[resolvedSize.value]);
|
|
360
|
+
/**
|
|
361
|
+
* Номер строки и полное их число объявляем только при виртуализации: иначе
|
|
362
|
+
* диктор считает строки по разметке, а там всего окно. Заголовок — строка
|
|
363
|
+
* первая, поэтому строки набора начинаются со второй.
|
|
364
|
+
*/
|
|
365
|
+
/**
|
|
366
|
+
* Итог показывается, только когда набор на экране: «Итого 1 234» над спиннером —
|
|
367
|
+
* утверждение о том, чего ещё не показали. Пустой набор при этом итог не гасит:
|
|
368
|
+
* «Итого 0» под «нет данных» осмысленно, и считает его потребитель.
|
|
369
|
+
*
|
|
370
|
+
* Предикат один на всех: шаблон, `aria-rowcount` и номер строки обязаны сходиться,
|
|
371
|
+
* иначе диктор объявит строку, которой в разметке нет.
|
|
372
|
+
*/
|
|
373
|
+
const hasSummary = computed(() => props.summaryRow != null && !props.loading);
|
|
374
|
+
const ariaRowCount = computed(() => props.virtual ? sortedRows.value.length + 1 + (hasSummary.value ? 1 : 0) : void 0);
|
|
375
|
+
function ariaRowIndex(index) {
|
|
376
|
+
return props.virtual ? index + 2 : void 0;
|
|
377
|
+
}
|
|
378
|
+
/** Итог идёт следующим номером за последней строкой набора. */
|
|
379
|
+
const summaryAriaRowIndex = computed(() => props.virtual ? sortedRows.value.length + 2 : void 0);
|
|
380
|
+
const isEmpty = computed(() => sortedRows.value.length === 0);
|
|
381
|
+
/**
|
|
382
|
+
* Значение итога по ключу колонки. Как и `cellValue`, отдаёт сырое: отсутствие
|
|
383
|
+
* ключа даёт пустую ячейку, а ноль — это значение, а не пустота.
|
|
384
|
+
*/
|
|
385
|
+
function summaryValue(key) {
|
|
386
|
+
return props.summaryRow?.[key];
|
|
387
|
+
}
|
|
388
|
+
const totalColumns = computed(() => props.columns.length + (props.selectable ? 1 : 0));
|
|
389
|
+
/** Uncontrolled-состояние; в controlled-режиме перекрывается пропом `columnOrder`. */
|
|
390
|
+
const internalColumnOrder = ref(props.columns.map((col) => String(col.key)));
|
|
391
|
+
/**
|
|
392
|
+
* Колонки в пользовательском порядке.
|
|
393
|
+
*
|
|
394
|
+
* Состав задаёт `columns`, порядок — только порядок: ключ, которого в наборе
|
|
395
|
+
* нет, игнорируется, а колонка, которой нет в порядке (её только что добавили),
|
|
396
|
+
* встаёт в конец. Иначе правка `columns` теряла бы колонки молча.
|
|
397
|
+
*/
|
|
398
|
+
const orderedColumns = computed(() => {
|
|
399
|
+
const order = props.columnOrder ?? internalColumnOrder.value;
|
|
400
|
+
const remaining = new Map(props.columns.map((col) => [String(col.key), col]));
|
|
401
|
+
const ordered = [];
|
|
402
|
+
for (const key of order) {
|
|
403
|
+
const col = remaining.get(key);
|
|
404
|
+
if (!col) continue;
|
|
405
|
+
remaining.delete(key);
|
|
406
|
+
ordered.push(col);
|
|
407
|
+
}
|
|
408
|
+
for (const col of props.columns) if (remaining.has(String(col.key))) ordered.push(col);
|
|
409
|
+
return ordered.sort((a, b) => pinGroupOf(a) - pinGroupOf(b));
|
|
410
|
+
});
|
|
411
|
+
/** Группа закрепления: 0 — слева, 1 — обычная колонка, 2 — справа. */
|
|
412
|
+
function pinGroupOf(col) {
|
|
413
|
+
if (col.pinned === "left") return 0;
|
|
414
|
+
if (col.pinned === "right") return 2;
|
|
415
|
+
return 1;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Сумма заданных ширин — минимальная ширина таблицы.
|
|
419
|
+
*
|
|
420
|
+
* Без неё фиксированная раскладка вписывает таблицу в контейнер и делит место
|
|
421
|
+
* пропорционально: колонка, которую пользователь растянул, ужимается обратно, а
|
|
422
|
+
* горизонтальной прокрутки — той самой, ради которой закрепляют колонки, — не
|
|
423
|
+
* возникает. Считается, только когда ширина известна у **всех** колонок: с
|
|
424
|
+
* одной неизвестной сумма врала бы.
|
|
425
|
+
*/
|
|
426
|
+
const tableMinWidth = computed(() => {
|
|
427
|
+
const cols = orderedColumns.value;
|
|
428
|
+
if (cols.length === 0) return void 0;
|
|
429
|
+
let total = 0;
|
|
430
|
+
for (const col of cols) {
|
|
431
|
+
const width = widthOf(col);
|
|
432
|
+
if (typeof width !== "number") return void 0;
|
|
433
|
+
total += width;
|
|
434
|
+
}
|
|
435
|
+
return total;
|
|
436
|
+
});
|
|
437
|
+
const columnKeys = computed(() => orderedColumns.value.map((col) => String(col.key)));
|
|
438
|
+
const tableProps = computed(() => ({
|
|
439
|
+
size: resolvedSize.value,
|
|
440
|
+
ariaLabel: props.ariaLabel,
|
|
441
|
+
ariaLabelledby: props.ariaLabelledby,
|
|
442
|
+
regionLabel: props.regionLabel,
|
|
443
|
+
stickyHeader: props.stickyHeader,
|
|
444
|
+
maxHeight: props.maxHeight,
|
|
445
|
+
rowCount: ariaRowCount.value,
|
|
446
|
+
fixedLayout: props.virtual || props.resizableColumns,
|
|
447
|
+
tableMinWidth: tableMinWidth.value
|
|
448
|
+
}));
|
|
449
|
+
function indexOfColumn(key) {
|
|
450
|
+
return columnKeys.value.indexOf(key);
|
|
451
|
+
}
|
|
452
|
+
const headerCellEls = /* @__PURE__ */ new Map();
|
|
453
|
+
const columnHandleEls = /* @__PURE__ */ new Map();
|
|
454
|
+
function registerEl(store, key, el) {
|
|
455
|
+
if (el instanceof HTMLElement) {
|
|
456
|
+
store.set(key, el);
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
const previous = store.get(key);
|
|
460
|
+
if (previous && !previous.isConnected) store.delete(key);
|
|
461
|
+
}
|
|
462
|
+
function applyColumnMove(from, to) {
|
|
463
|
+
const keys = columnKeys.value;
|
|
464
|
+
if (from < 0 || to < 0 || to >= keys.length || from === to) return;
|
|
465
|
+
if (!sameGroup(from, to)) return;
|
|
466
|
+
const key = keys[from];
|
|
467
|
+
const label = orderedColumns.value[from]?.label ?? key;
|
|
468
|
+
const next = moveItem(keys, from, to);
|
|
469
|
+
internalColumnOrder.value = next;
|
|
470
|
+
emit("update:columnOrder", next);
|
|
471
|
+
emit("columnReorder", {
|
|
472
|
+
key,
|
|
473
|
+
from,
|
|
474
|
+
to
|
|
475
|
+
});
|
|
476
|
+
announce(t("gr.dataTable.columnMoved", "Column {label} moved to position {position} of {count}", {
|
|
477
|
+
label,
|
|
478
|
+
position: to + 1,
|
|
479
|
+
count: keys.length
|
|
480
|
+
}));
|
|
481
|
+
}
|
|
482
|
+
const columnSort = useDragSort({
|
|
483
|
+
items: () => columnKeys.value,
|
|
484
|
+
elementFor: (key) => headerCellEls.get(key) ?? null,
|
|
485
|
+
orientation: () => "horizontal",
|
|
486
|
+
disabled: () => !props.reorderableColumns || props.loading,
|
|
487
|
+
resolveTarget: (hit, source) => {
|
|
488
|
+
const to = insertionIndex(hit, indexOfColumn(source), columnKeys.value.length);
|
|
489
|
+
return sameGroup(indexOfColumn(source), to) ? to : null;
|
|
490
|
+
},
|
|
491
|
+
onDrop: (source, to) => applyColumnMove(indexOfColumn(source), to)
|
|
492
|
+
});
|
|
493
|
+
function sameGroup(from, to) {
|
|
494
|
+
const cols = orderedColumns.value;
|
|
495
|
+
if (!cols[from] || !cols[to]) return false;
|
|
496
|
+
return pinGroupOf(cols[from]) === pinGroupOf(cols[to]);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Кольцо роверного фокуса по ручкам: одна остановка `Tab` на всю шапку.
|
|
500
|
+
* Иначе таблица из десяти колонок добавляла бы десять таб-стопов подряд.
|
|
501
|
+
*/
|
|
502
|
+
const columnRoving = useRovingFocus({
|
|
503
|
+
items: () => props.reorderableColumns ? columnKeys.value : [],
|
|
504
|
+
elementFor: (key) => columnHandleEls.get(key) ?? null,
|
|
505
|
+
orientation: () => "horizontal",
|
|
506
|
+
wrap: () => false
|
|
507
|
+
});
|
|
508
|
+
async function onColumnHandleKeydown(event, key) {
|
|
509
|
+
if (!props.reorderableColumns) return;
|
|
510
|
+
if (event.shiftKey && (event.key === "ArrowLeft" || event.key === "ArrowRight")) {
|
|
511
|
+
event.preventDefault();
|
|
512
|
+
const from = indexOfColumn(key);
|
|
513
|
+
applyColumnMove(from, event.key === "ArrowLeft" ? from - 1 : from + 1);
|
|
514
|
+
await nextTick();
|
|
515
|
+
await columnRoving.focusKey(key);
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
columnRoving.handleNavigationKeys(event);
|
|
519
|
+
}
|
|
520
|
+
const draggingColumnKey = computed(() => columnSort.mode.value === null ? null : columnSort.source.value);
|
|
521
|
+
/** Полоса места вставки — на колонке-соседе, со стороны движения. */
|
|
522
|
+
function columnDropClass(index) {
|
|
523
|
+
const target = columnSort.target.value;
|
|
524
|
+
if (!columnSort.isActive.value || target === null || target !== index) return "";
|
|
525
|
+
const active = columnSort.source.value === null ? -1 : indexOfColumn(columnSort.source.value);
|
|
526
|
+
if (index === active) return "";
|
|
527
|
+
return target < active ? columnDropBeforeClass : columnDropAfterClass;
|
|
528
|
+
}
|
|
529
|
+
const columnHandleLabel = (col) => t("gr.dataTable.moveColumn", "Move column {label}", { label: col.label });
|
|
530
|
+
/** Уже колонки не бывает: в неё перестаёт помещаться даже стрелка сортировки. */
|
|
531
|
+
const internalColumnWidths = ref({});
|
|
532
|
+
const columnWidths = computed(() => props.columnWidths ?? internalColumnWidths.value);
|
|
533
|
+
/** Фактические ширины шапки: заполняются замером, см. `measureLayout`. */
|
|
534
|
+
const measuredColumnWidths = ref({});
|
|
535
|
+
/** Ширина колонки: заданная пользователем сильнее объявленной в `columns`. */
|
|
536
|
+
function widthOf(col) {
|
|
537
|
+
return columnWidths.value[String(col.key)] ?? col.width;
|
|
538
|
+
}
|
|
539
|
+
const resizingKey = ref(null);
|
|
540
|
+
let pendingResizeKey = null;
|
|
541
|
+
let resizeStartX = 0;
|
|
542
|
+
let resizeStartWidth = 0;
|
|
543
|
+
let widthBeforeResize;
|
|
544
|
+
function setColumnWidth(key, width) {
|
|
545
|
+
const next = {
|
|
546
|
+
...columnWidths.value,
|
|
547
|
+
[key]: Math.max(MIN_COLUMN_WIDTH, Math.round(width))
|
|
548
|
+
};
|
|
549
|
+
internalColumnWidths.value = next;
|
|
550
|
+
emit("update:columnWidths", next);
|
|
551
|
+
}
|
|
552
|
+
function announceWidth(key) {
|
|
553
|
+
const col = orderedColumns.value.find((item) => String(item.key) === key);
|
|
554
|
+
if (!col) return;
|
|
555
|
+
announce(t("gr.dataTable.columnResized", "Column {label} is {width} pixels wide", {
|
|
556
|
+
label: col.label,
|
|
557
|
+
width: columnWidths.value[key] ?? 0
|
|
558
|
+
}));
|
|
559
|
+
}
|
|
560
|
+
const resizeGesture = useDragGesture({
|
|
561
|
+
disabled: () => !props.resizableColumns || props.loading,
|
|
562
|
+
onStart: (event) => {
|
|
563
|
+
const key = pendingResizeKey;
|
|
564
|
+
const el = key === null ? null : headerCellEls.get(key);
|
|
565
|
+
if (key === null || !el) return false;
|
|
566
|
+
resizeStartX = event.clientX;
|
|
567
|
+
resizeStartWidth = el.getBoundingClientRect().width;
|
|
568
|
+
widthBeforeResize = columnWidths.value[key];
|
|
569
|
+
resizingKey.value = key;
|
|
570
|
+
},
|
|
571
|
+
onMove: (event) => {
|
|
572
|
+
if (resizingKey.value === null) return;
|
|
573
|
+
event.preventDefault();
|
|
574
|
+
setColumnWidth(resizingKey.value, resizeStartWidth + (event.clientX - resizeStartX));
|
|
575
|
+
},
|
|
576
|
+
onEnd: () => {
|
|
577
|
+
const key = resizingKey.value;
|
|
578
|
+
resizingKey.value = null;
|
|
579
|
+
if (key === null) return;
|
|
580
|
+
emit("columnResize", {
|
|
581
|
+
key,
|
|
582
|
+
width: columnWidths.value[key] ?? Math.round(resizeStartWidth)
|
|
583
|
+
});
|
|
584
|
+
announceWidth(key);
|
|
585
|
+
},
|
|
586
|
+
onCancel: () => {
|
|
587
|
+
const key = resizingKey.value;
|
|
588
|
+
resizingKey.value = null;
|
|
589
|
+
if (key === null) return;
|
|
590
|
+
const next = { ...columnWidths.value };
|
|
591
|
+
if (widthBeforeResize === void 0) delete next[key];
|
|
592
|
+
else next[key] = widthBeforeResize;
|
|
593
|
+
internalColumnWidths.value = next;
|
|
594
|
+
emit("update:columnWidths", next);
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
function onResizerPointerDown(event, key) {
|
|
598
|
+
pendingResizeKey = key;
|
|
599
|
+
resizeGesture.start(event);
|
|
600
|
+
}
|
|
601
|
+
/** Сброс к авторазметке: колонка снова считается по содержимому. */
|
|
602
|
+
function resetColumnWidth(key) {
|
|
603
|
+
if (columnWidths.value[key] === void 0) return;
|
|
604
|
+
const next = { ...columnWidths.value };
|
|
605
|
+
delete next[key];
|
|
606
|
+
internalColumnWidths.value = next;
|
|
607
|
+
emit("update:columnWidths", next);
|
|
608
|
+
emit("columnResize", {
|
|
609
|
+
key,
|
|
610
|
+
width: 0
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
function resizeByKeyboard(key, delta) {
|
|
614
|
+
const measured = headerCellEls.get(key)?.getBoundingClientRect().width ?? MIN_COLUMN_WIDTH;
|
|
615
|
+
const current = columnWidths.value[key] ?? measured;
|
|
616
|
+
setColumnWidth(key, current + delta);
|
|
617
|
+
emit("columnResize", {
|
|
618
|
+
key,
|
|
619
|
+
width: columnWidths.value[key] ?? current
|
|
620
|
+
});
|
|
621
|
+
announceWidth(key);
|
|
622
|
+
}
|
|
623
|
+
function onResizerKeydown(event, key) {
|
|
624
|
+
if (!props.resizableColumns || props.loading) return;
|
|
625
|
+
const step = event.shiftKey ? RESIZE_BIG_STEP : RESIZE_STEP;
|
|
626
|
+
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
627
|
+
event.preventDefault();
|
|
628
|
+
resizeByKeyboard(key, event.key === "ArrowLeft" ? -step : step);
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
631
|
+
if (event.key === "Enter") {
|
|
632
|
+
event.preventDefault();
|
|
633
|
+
resetColumnWidth(key);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
function resizerLabel(col) {
|
|
637
|
+
return t("gr.dataTable.resizeColumn", "Width of column {label}", { label: col.label });
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Ручка ресайза — фокусируемый `separator`, а значит обязана называть текущее
|
|
641
|
+
* значение с первого рендера, до всякого перетаскивания. Заданной ширины у
|
|
642
|
+
* колонки может не быть вовсе (авторазметка), поэтому за значением идём к
|
|
643
|
+
* измеренной; до замера остаётся объявленная в `columns`, а её тоже может не
|
|
644
|
+
* быть — тогда минимум.
|
|
645
|
+
*/
|
|
646
|
+
function resizerValue(col) {
|
|
647
|
+
const key = String(col.key);
|
|
648
|
+
const declared = typeof col.width === "number" ? col.width : void 0;
|
|
649
|
+
return columnWidths.value[key] ?? measuredColumnWidths.value[key] ?? declared ?? MIN_COLUMN_WIDTH;
|
|
650
|
+
}
|
|
651
|
+
/** Служебная колонка выбора в реестре ячеек: своего ключа у неё нет. */
|
|
652
|
+
const hasPinnedLeft = computed(() => orderedColumns.value.some((col) => col.pinned === "left"));
|
|
653
|
+
const pinnedOffsets = ref({});
|
|
654
|
+
/**
|
|
655
|
+
* Смещения липких колонок считаются по **измеренным** ширинам соседей: колонка
|
|
656
|
+
* может жить на авторазметке, и тогда взять смещение больше неоткуда. Отсюда же
|
|
657
|
+
* порядок: замер после отрисовки, а не в вычислении.
|
|
658
|
+
*/
|
|
659
|
+
function measurePinnedOffsets() {
|
|
660
|
+
const next = {};
|
|
661
|
+
const cols = orderedColumns.value;
|
|
662
|
+
let left = props.selectable && hasPinnedLeft.value ? headerCellEls.get(SELECT_COLUMN_KEY)?.getBoundingClientRect().width ?? 0 : 0;
|
|
663
|
+
for (const col of cols) {
|
|
664
|
+
if (col.pinned !== "left") continue;
|
|
665
|
+
next[String(col.key)] = left;
|
|
666
|
+
left += headerCellEls.get(String(col.key))?.getBoundingClientRect().width ?? 0;
|
|
667
|
+
}
|
|
668
|
+
let right = 0;
|
|
669
|
+
for (let index = cols.length - 1; index >= 0; index -= 1) {
|
|
670
|
+
const col = cols[index];
|
|
671
|
+
if (col.pinned !== "right") continue;
|
|
672
|
+
next[String(col.key)] = right;
|
|
673
|
+
right += headerCellEls.get(String(col.key))?.getBoundingClientRect().width ?? 0;
|
|
674
|
+
}
|
|
675
|
+
pinnedOffsets.value = next;
|
|
676
|
+
}
|
|
677
|
+
function measureColumnWidths() {
|
|
678
|
+
if (!props.resizableColumns) return;
|
|
679
|
+
const next = {};
|
|
680
|
+
for (const col of orderedColumns.value) {
|
|
681
|
+
const key = String(col.key);
|
|
682
|
+
const width = headerCellEls.get(key)?.getBoundingClientRect().width;
|
|
683
|
+
if (width) next[key] = Math.round(width);
|
|
684
|
+
}
|
|
685
|
+
measuredColumnWidths.value = next;
|
|
686
|
+
}
|
|
687
|
+
function measureLayout() {
|
|
688
|
+
measurePinnedOffsets();
|
|
689
|
+
measureColumnWidths();
|
|
690
|
+
}
|
|
691
|
+
function pinnedStyleOf(col) {
|
|
692
|
+
if (!col.pinned) return void 0;
|
|
693
|
+
const offset = pinnedOffsets.value[String(col.key)] ?? 0;
|
|
694
|
+
return col.pinned === "left" ? { left: `${offset}px` } : { right: `${offset}px` };
|
|
695
|
+
}
|
|
696
|
+
/** Тень рисует только крайняя колонка группы — иначе полос было бы столько же, сколько колонок. */
|
|
697
|
+
function pinnedEdgeClass(col, index) {
|
|
698
|
+
if (col.pinned === "left") return orderedColumns.value[index + 1]?.pinned === "left" ? "" : columnPinnedLeftEdgeClass;
|
|
699
|
+
if (col.pinned === "right") return orderedColumns.value[index - 1]?.pinned === "right" ? "" : columnPinnedRightEdgeClass;
|
|
700
|
+
return "";
|
|
701
|
+
}
|
|
702
|
+
function pinnedCellClass(col, index) {
|
|
703
|
+
if (!col.pinned) return [];
|
|
704
|
+
return [columnPinnedClass, pinnedEdgeClass(col, index)];
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Ширину колонки меняет не только правка пропов: окно, шрифт и содержимое
|
|
708
|
+
* ячейки двигают её сами. `ResizeObserver` — единственный способ узнать об этом;
|
|
709
|
+
* в jsdom и на сервере его нет, там хватает пересчёта по изменению данных.
|
|
710
|
+
*/
|
|
711
|
+
let layoutObserver = null;
|
|
712
|
+
onMounted(() => {
|
|
713
|
+
measureLayout();
|
|
714
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
715
|
+
layoutObserver = new ResizeObserver(() => measureLayout());
|
|
716
|
+
const el = headerCellEls.get(SELECT_COLUMN_KEY) ?? headerCellEls.get(columnKeys.value[0]);
|
|
717
|
+
if (el?.parentElement) layoutObserver.observe(el.parentElement);
|
|
718
|
+
});
|
|
719
|
+
onUnmounted(() => {
|
|
720
|
+
layoutObserver?.disconnect();
|
|
721
|
+
layoutObserver = null;
|
|
722
|
+
});
|
|
723
|
+
watch(() => [
|
|
724
|
+
orderedColumns.value,
|
|
725
|
+
columnWidths.value,
|
|
726
|
+
props.loading,
|
|
727
|
+
props.rows.length
|
|
728
|
+
], () => void nextTick(measureLayout));
|
|
729
|
+
/**
|
|
730
|
+
* Живой регион существует с первого рендера и пуст, пока объявлять нечего.
|
|
731
|
+
* Регион, который появляется уже с текстом, часть AT не объявляет вовсе —
|
|
732
|
+
* а именно так вело себя `role="status"` внутри строки загрузки.
|
|
733
|
+
*/
|
|
734
|
+
const liveMessage = computed(() => {
|
|
735
|
+
if (props.loading) return resolvedLoadingText.value;
|
|
736
|
+
if (isEmpty.value) return resolvedEmptyText.value;
|
|
737
|
+
return "";
|
|
738
|
+
});
|
|
739
|
+
function cellValue(row, key) {
|
|
740
|
+
return row[key];
|
|
741
|
+
}
|
|
742
|
+
function rowClassName(row, index) {
|
|
743
|
+
const source = props.rowClass;
|
|
744
|
+
return typeof source === "function" ? source(row, index) : source;
|
|
745
|
+
}
|
|
746
|
+
function onRowClick(row, index, event) {
|
|
747
|
+
emit("rowClick", {
|
|
748
|
+
row,
|
|
749
|
+
index,
|
|
750
|
+
event
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
const internalSelected = ref([]);
|
|
754
|
+
const isSelectedControlled = computed(() => props.selected !== void 0);
|
|
755
|
+
const selectedKeys = computed(() => new Set(props.selected ?? internalSelected.value));
|
|
756
|
+
function isRowSelectable(row) {
|
|
757
|
+
return props.selectableRow ? props.selectableRow(row) : true;
|
|
758
|
+
}
|
|
759
|
+
function isRowSelected(row) {
|
|
760
|
+
return selectedKeys.value.has(rowKeyValue(row));
|
|
761
|
+
}
|
|
762
|
+
/** «Выбрать все» работает по видимым и выбираемым строкам — они же считают состояние шапки. */
|
|
763
|
+
const selectableRows = computed(() => sortedRows.value.filter(isRowSelectable));
|
|
764
|
+
const allSelected = computed(() => selectableRows.value.length > 0 && selectableRows.value.every(isRowSelected));
|
|
765
|
+
const someSelected = computed(() => selectableRows.value.some(isRowSelected) && !allSelected.value);
|
|
766
|
+
function emitSelected(next) {
|
|
767
|
+
if (!isSelectedControlled.value) internalSelected.value = [...next];
|
|
768
|
+
emit("update:selected", [...next]);
|
|
769
|
+
}
|
|
770
|
+
function toggleRow(row) {
|
|
771
|
+
if (!isRowSelectable(row)) return;
|
|
772
|
+
const key = rowKeyValue(row);
|
|
773
|
+
const next = new Set(selectedKeys.value);
|
|
774
|
+
if (next.has(key)) next.delete(key);
|
|
775
|
+
else next.add(key);
|
|
776
|
+
emitSelected(next);
|
|
777
|
+
}
|
|
778
|
+
function toggleAll() {
|
|
779
|
+
const next = new Set(selectedKeys.value);
|
|
780
|
+
if (allSelected.value) {
|
|
781
|
+
for (const row of selectableRows.value) next.delete(rowKeyValue(row));
|
|
782
|
+
emitSelected(next);
|
|
783
|
+
return;
|
|
784
|
+
}
|
|
785
|
+
for (const row of selectableRows.value) next.add(rowKeyValue(row));
|
|
786
|
+
emitSelected(next);
|
|
787
|
+
}
|
|
788
|
+
const tableRef = ref(null);
|
|
789
|
+
const rootId = useId();
|
|
790
|
+
function rootEl() {
|
|
791
|
+
return tableRef.value?.$el ?? null;
|
|
792
|
+
}
|
|
793
|
+
/** Скролл-контейнер таблицы — он же элемент с `maxHeight`. */
|
|
794
|
+
function scrollEl() {
|
|
795
|
+
const root = rootEl();
|
|
796
|
+
return root?.matches("[data-gr-table-scroll]") ? root : root?.querySelector("[data-gr-table-scroll]") ?? null;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Виртуализация строк.
|
|
800
|
+
*
|
|
801
|
+
* Распорки здесь не псевдоэлементы, как у списочных компонентов: `<tbody>`
|
|
802
|
+
* игнорирует `padding`, а псевдоэлемент внутри группы строк не образует строку
|
|
803
|
+
* с управляемой высотой. Поэтому срезанное держат две служебные `<tr>` — той же
|
|
804
|
+
* формы, что строки загрузки и пустоты у `GrTable`.
|
|
805
|
+
*/
|
|
806
|
+
const scrollContainer = ref(null);
|
|
807
|
+
onMounted(() => {
|
|
808
|
+
scrollContainer.value = scrollEl();
|
|
809
|
+
});
|
|
810
|
+
const virtualizer = useVirtualList({
|
|
811
|
+
container: scrollContainer,
|
|
812
|
+
count: () => props.virtual ? sortedRows.value.length : 0,
|
|
813
|
+
source: () => sortedRows.value,
|
|
814
|
+
itemSize: () => rowHeightEstimates[resolvedSize.value],
|
|
815
|
+
viewportSize: () => typeof props.maxHeight === "number" ? props.maxHeight : void 0
|
|
816
|
+
});
|
|
817
|
+
/** Строки к отрисовке вместе с их абсолютной позицией в наборе. */
|
|
818
|
+
const renderedRows = computed(() => {
|
|
819
|
+
const rows = sortedRows.value;
|
|
820
|
+
if (!props.virtual) return rows.map((row, index) => ({
|
|
821
|
+
row,
|
|
822
|
+
index
|
|
823
|
+
}));
|
|
824
|
+
const { start, end } = virtualizer.range.value;
|
|
825
|
+
return rows.slice(start, end).map((row, offset) => ({
|
|
826
|
+
row,
|
|
827
|
+
index: start + offset
|
|
828
|
+
}));
|
|
829
|
+
});
|
|
830
|
+
const spacerBefore = computed(() => props.virtual ? virtualizer.offset.value : 0);
|
|
831
|
+
const spacerAfter = computed(() => props.virtual ? virtualizer.offsetEnd.value : 0);
|
|
832
|
+
/** Ширина колонки: число трактуем как пиксели. */
|
|
833
|
+
function columnWidthStyle(width) {
|
|
834
|
+
if (width === void 0) return void 0;
|
|
835
|
+
return { width: typeof width === "number" ? `${width}px` : width };
|
|
836
|
+
}
|
|
837
|
+
function scrollToRow(key, options) {
|
|
838
|
+
const target = String(key);
|
|
839
|
+
if (props.virtual) {
|
|
840
|
+
const index = sortedRows.value.findIndex((row) => String(rowKeyValue(row)) === target);
|
|
841
|
+
if (index < 0) return false;
|
|
842
|
+
virtualizer.scrollToIndex(index);
|
|
843
|
+
nextTick(() => {
|
|
844
|
+
findRowEl(target)?.scrollIntoView?.(options ?? { block: "nearest" });
|
|
845
|
+
});
|
|
846
|
+
return true;
|
|
847
|
+
}
|
|
848
|
+
const row = findRowEl(target);
|
|
849
|
+
if (!row) return false;
|
|
850
|
+
row.scrollIntoView(options ?? { block: "nearest" });
|
|
851
|
+
return true;
|
|
852
|
+
}
|
|
853
|
+
function findRowEl(rowKey) {
|
|
854
|
+
const rows = rootEl()?.querySelectorAll("[data-gr-datatable-row]") ?? [];
|
|
855
|
+
return Array.prototype.find.call(rows, (el) => el.dataset.rowKey === rowKey);
|
|
856
|
+
}
|
|
857
|
+
const scrollTo = (options) => {
|
|
858
|
+
scrollEl()?.scrollTo(options);
|
|
859
|
+
};
|
|
860
|
+
function clearSort() {
|
|
861
|
+
applySort("", "asc");
|
|
862
|
+
}
|
|
863
|
+
__expose({
|
|
864
|
+
/** Прокрутить к строке по её ключу. `false` — строки нет в DOM. */
|
|
865
|
+
scrollToRow,
|
|
866
|
+
/** Прокрутить скролл-контейнер таблицы. */
|
|
867
|
+
scrollTo,
|
|
868
|
+
/** Снять сортировку (эквивалент третьего состояния). */
|
|
869
|
+
clearSort,
|
|
870
|
+
/** Отметить/снять все выбираемые строки. */
|
|
871
|
+
toggleAll
|
|
872
|
+
});
|
|
873
|
+
return (_ctx, _cache) => {
|
|
874
|
+
return openBlock(), createBlock(GrTable_default, mergeProps(tableProps.value, {
|
|
875
|
+
ref_key: "tableRef",
|
|
876
|
+
ref: tableRef,
|
|
877
|
+
"data-gr-datatable": ""
|
|
878
|
+
}), createSlots({
|
|
879
|
+
caption: withCtx(() => [renderSlot(_ctx.$slots, "caption", {}, () => [createTextVNode(toDisplayString(__props.caption), 1)]), createElementVNode("span", {
|
|
880
|
+
id: `${unref(rootId)}-live`,
|
|
881
|
+
"data-gr-datatable-live": "",
|
|
882
|
+
role: "status",
|
|
883
|
+
"aria-live": "polite"
|
|
884
|
+
}, toDisplayString(liveMessage.value), 9, _hoisted_1)]),
|
|
885
|
+
header: withCtx(() => [createElementVNode("tr", {
|
|
886
|
+
"data-gr-datatable-header": "",
|
|
887
|
+
"aria-rowindex": __props.virtual ? 1 : void 0
|
|
888
|
+
}, [__props.selectable ? (openBlock(), createElementBlock("th", {
|
|
889
|
+
key: 0,
|
|
890
|
+
ref: (el) => registerEl(unref(headerCellEls), SELECT_COLUMN_KEY, el),
|
|
891
|
+
class: normalizeClass(["text-left", [
|
|
892
|
+
selectColumnClass.value,
|
|
893
|
+
cellClass.value,
|
|
894
|
+
hasPinnedLeft.value ? unref(columnPinnedClass) : ""
|
|
895
|
+
]]),
|
|
896
|
+
style: normalizeStyle(hasPinnedLeft.value ? { left: "0px" } : void 0),
|
|
897
|
+
scope: "col"
|
|
898
|
+
}, [createVNode(GrCheckbox_default, {
|
|
899
|
+
"data-gr-datatable-select-all": "",
|
|
900
|
+
"model-value": allSelected.value,
|
|
901
|
+
indeterminate: someSelected.value,
|
|
902
|
+
size: checkboxSize.value,
|
|
903
|
+
disabled: __props.loading || selectableRows.value.length === 0,
|
|
904
|
+
"aria-label": unref(t)("gr.dataTable.selectAll", "Select all rows"),
|
|
905
|
+
"onUpdate:modelValue": toggleAll
|
|
906
|
+
}, null, 8, [
|
|
907
|
+
"model-value",
|
|
908
|
+
"indeterminate",
|
|
909
|
+
"size",
|
|
910
|
+
"disabled",
|
|
911
|
+
"aria-label"
|
|
912
|
+
])], 6)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(orderedColumns.value, (col, colIndex) => {
|
|
913
|
+
return openBlock(), createElementBlock("th", {
|
|
914
|
+
key: col.key,
|
|
915
|
+
ref_for: true,
|
|
916
|
+
ref: (el) => registerEl(unref(headerCellEls), String(col.key), el),
|
|
917
|
+
class: normalizeClass(["font-700", [
|
|
918
|
+
headerTextClass.value,
|
|
919
|
+
cellClass.value,
|
|
920
|
+
cellAlign(col),
|
|
921
|
+
__props.reorderableColumns || __props.resizableColumns ? "group relative" : "",
|
|
922
|
+
draggingColumnKey.value === String(col.key) ? unref(columnDraggingClass) : "",
|
|
923
|
+
columnDropClass(colIndex),
|
|
924
|
+
...pinnedCellClass(col, colIndex)
|
|
925
|
+
]]),
|
|
926
|
+
"data-column-key": col.key,
|
|
927
|
+
style: normalizeStyle({
|
|
928
|
+
...columnWidthStyle(widthOf(col)),
|
|
929
|
+
...pinnedStyleOf(col)
|
|
930
|
+
}),
|
|
931
|
+
"aria-sort": ariaSortFor(col),
|
|
932
|
+
scope: "col"
|
|
933
|
+
}, [createElementVNode("div", { class: normalizeClass(["inline-flex items-center", headerGapClass.value]) }, [__props.reorderableColumns ? (openBlock(), createElementBlock("button", {
|
|
934
|
+
key: 0,
|
|
935
|
+
ref_for: true,
|
|
936
|
+
ref: (el) => registerEl(unref(columnHandleEls), String(col.key), el),
|
|
937
|
+
type: "button",
|
|
938
|
+
"data-gr-datatable-column-handle": "",
|
|
939
|
+
class: normalizeClass([unref(columnHandleClass), unref(columnSort).isActive.value ? unref(columnHandleActiveClass) : ""]),
|
|
940
|
+
tabindex: unref(columnRoving).tabindexFor(String(col.key)),
|
|
941
|
+
"aria-label": columnHandleLabel(col),
|
|
942
|
+
disabled: __props.loading,
|
|
943
|
+
onPointerdown: ($event) => unref(columnSort).startFrom(String(col.key))($event),
|
|
944
|
+
onKeydown: ($event) => onColumnHandleKeydown($event, String(col.key)),
|
|
945
|
+
onFocus: ($event) => unref(columnRoving).setActive(String(col.key)),
|
|
946
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"]))
|
|
947
|
+
}, [createVNode(unref(grip_vertical_default), {
|
|
948
|
+
class: "block",
|
|
949
|
+
"aria-hidden": "true"
|
|
950
|
+
})], 42, _hoisted_4)) : createCommentVNode("", true), col.sortable ? (openBlock(), createElementBlock("button", {
|
|
951
|
+
key: 1,
|
|
952
|
+
type: "button",
|
|
953
|
+
"data-gr-datatable-sort": "",
|
|
954
|
+
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]),
|
|
955
|
+
onClick: ($event) => toggleSort(col)
|
|
956
|
+
}, [
|
|
957
|
+
createElementVNode("span", null, [renderSlot(_ctx.$slots, `header-${col.key}`, { column: col }, () => [createTextVNode(toDisplayString(col.label), 1)])]),
|
|
958
|
+
createElementVNode("span", _hoisted_6, toDisplayString(sortHint(col)), 1),
|
|
959
|
+
createElementVNode("span", _hoisted_7, [currentSortKey.value === col.key && currentSortDir.value === "asc" ? (openBlock(), createBlock(GrIcon_default, {
|
|
960
|
+
key: 0,
|
|
961
|
+
size: sortIconSize.value
|
|
962
|
+
}, {
|
|
963
|
+
default: withCtx(() => [createVNode(unref(arrow_up_default))]),
|
|
964
|
+
_: 1
|
|
965
|
+
}, 8, ["size"])) : currentSortKey.value === col.key && currentSortDir.value === "desc" ? (openBlock(), createBlock(GrIcon_default, {
|
|
966
|
+
key: 1,
|
|
967
|
+
size: sortIconSize.value
|
|
968
|
+
}, {
|
|
969
|
+
default: withCtx(() => [createVNode(unref(arrow_down_default))]),
|
|
970
|
+
_: 1
|
|
971
|
+
}, 8, ["size"])) : createCommentVNode("", true)])
|
|
972
|
+
], 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", {
|
|
973
|
+
key: 0,
|
|
974
|
+
"data-gr-datatable-column-resizer": "",
|
|
975
|
+
role: "separator",
|
|
976
|
+
tabindex: "0",
|
|
977
|
+
"aria-orientation": "vertical",
|
|
978
|
+
class: normalizeClass(unref(columnResizerClass)),
|
|
979
|
+
"aria-label": resizerLabel(col),
|
|
980
|
+
"aria-valuenow": resizerValue(col),
|
|
981
|
+
"aria-valuemin": MIN_COLUMN_WIDTH,
|
|
982
|
+
"aria-valuetext": `${resizerValue(col)}px`,
|
|
983
|
+
onPointerdown: ($event) => onResizerPointerDown($event, String(col.key)),
|
|
984
|
+
onKeydown: ($event) => onResizerKeydown($event, String(col.key)),
|
|
985
|
+
onDblclick: ($event) => resetColumnWidth(String(col.key)),
|
|
986
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"]))
|
|
987
|
+
}, [createElementVNode("span", {
|
|
988
|
+
class: normalizeClass([
|
|
989
|
+
unref(columnResizerLineClass),
|
|
990
|
+
unref(columnResizerHoverClass),
|
|
991
|
+
resizingKey.value === String(col.key) ? unref(columnResizerLineActiveClass) : ""
|
|
992
|
+
]),
|
|
993
|
+
"aria-hidden": "true"
|
|
994
|
+
}, null, 2)], 42, _hoisted_9)) : createCommentVNode("", true)], 14, _hoisted_3);
|
|
995
|
+
}), 128))], 8, _hoisted_2)]),
|
|
996
|
+
default: withCtx(() => [__props.loading ? (openBlock(), createElementBlock("tr", _hoisted_10, [createElementVNode("td", {
|
|
997
|
+
colspan: totalColumns.value,
|
|
998
|
+
class: normalizeClass(["text-center text-[var(--gr-muted-fg)]", placeholderClass.value])
|
|
999
|
+
}, [renderSlot(_ctx.$slots, "loading", {}, () => [createElementVNode("span", _hoisted_12, [createVNode(unref(loader_circle_default), {
|
|
1000
|
+
class: normalizeClass(["block animate-spin", spinnerClass.value]),
|
|
1001
|
+
"aria-hidden": "true"
|
|
1002
|
+
}, null, 8, ["class"]), createElementVNode("span", null, toDisplayString(resolvedLoadingText.value), 1)])])], 10, _hoisted_11)])) : isEmpty.value ? (openBlock(), createElementBlock("tr", _hoisted_13, [createElementVNode("td", {
|
|
1003
|
+
colspan: totalColumns.value,
|
|
1004
|
+
class: normalizeClass(["text-center text-[var(--gr-muted-fg)]", placeholderClass.value])
|
|
1005
|
+
}, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(resolvedEmptyText.value), 1)])], 10, _hoisted_14)])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
1006
|
+
__props.virtual && spacerBefore.value > 0 ? (openBlock(), createElementBlock("tr", _hoisted_15, [createElementVNode("td", {
|
|
1007
|
+
colspan: totalColumns.value,
|
|
1008
|
+
style: normalizeStyle({
|
|
1009
|
+
height: `${spacerBefore.value}px`,
|
|
1010
|
+
padding: "0",
|
|
1011
|
+
border: "0"
|
|
1012
|
+
})
|
|
1013
|
+
}, null, 12, _hoisted_16)])) : createCommentVNode("", true),
|
|
1014
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(renderedRows.value, ({ row, index }) => {
|
|
1015
|
+
return openBlock(), createElementBlock("tr", mergeProps({
|
|
1016
|
+
key: rowKeyValue(row),
|
|
1017
|
+
ref_for: true,
|
|
1018
|
+
ref: (el) => __props.virtual && unref(virtualizer).measure(index, el),
|
|
1019
|
+
class: ["border-t border-[var(--gr-brd)]", [isRowSelected(row) ? unref(rowSelectedClass) : "", rowClassName(row, index)]],
|
|
1020
|
+
"data-gr-datatable-row": "",
|
|
1021
|
+
"data-row-key": rowKeyValue(row),
|
|
1022
|
+
"data-selected": __props.selectable && isRowSelected(row) ? "true" : void 0,
|
|
1023
|
+
"aria-rowindex": ariaRowIndex(index)
|
|
1024
|
+
}, { ref_for: true }, __props.rowProps?.(row, index), { onClick: ($event) => onRowClick(row, index, $event) }), [__props.selectable ? (openBlock(), createElementBlock("td", {
|
|
1025
|
+
key: 0,
|
|
1026
|
+
class: normalizeClass(["text-left", [
|
|
1027
|
+
selectColumnClass.value,
|
|
1028
|
+
cellClass.value,
|
|
1029
|
+
hasPinnedLeft.value ? unref(columnPinnedClass) : "",
|
|
1030
|
+
hasPinnedLeft.value && isRowSelected(row) ? unref(rowSelectedClass) : ""
|
|
1031
|
+
]]),
|
|
1032
|
+
style: normalizeStyle(hasPinnedLeft.value ? { left: "0px" } : void 0)
|
|
1033
|
+
}, [isRowSelectable(row) ? (openBlock(), createBlock(GrCheckbox_default, {
|
|
1034
|
+
key: 0,
|
|
1035
|
+
"data-gr-datatable-select-row": "",
|
|
1036
|
+
"model-value": isRowSelected(row),
|
|
1037
|
+
size: checkboxSize.value,
|
|
1038
|
+
"aria-label": unref(t)("gr.dataTable.selectRow", "Select row"),
|
|
1039
|
+
onClick: _cache[2] || (_cache[2] = withModifiers(() => {}, ["stop"])),
|
|
1040
|
+
"onUpdate:modelValue": ($event) => toggleRow(row)
|
|
1041
|
+
}, null, 8, [
|
|
1042
|
+
"model-value",
|
|
1043
|
+
"size",
|
|
1044
|
+
"aria-label",
|
|
1045
|
+
"onUpdate:modelValue"
|
|
1046
|
+
])) : createCommentVNode("", true)], 6)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(orderedColumns.value, (col, colIndex) => {
|
|
1047
|
+
return openBlock(), createElementBlock("td", {
|
|
1048
|
+
key: col.key,
|
|
1049
|
+
class: normalizeClass([
|
|
1050
|
+
cellClass.value,
|
|
1051
|
+
cellAlign(col),
|
|
1052
|
+
...pinnedCellClass(col, colIndex),
|
|
1053
|
+
col.pinned && isRowSelected(row) ? unref(rowSelectedClass) : ""
|
|
1054
|
+
]),
|
|
1055
|
+
style: normalizeStyle({
|
|
1056
|
+
...columnWidthStyle(widthOf(col)),
|
|
1057
|
+
...pinnedStyleOf(col)
|
|
1058
|
+
})
|
|
1059
|
+
}, [renderSlot(_ctx.$slots, `cell-${col.key}`, {
|
|
1060
|
+
row,
|
|
1061
|
+
index
|
|
1062
|
+
}, () => [createElementVNode("span", null, toDisplayString(cellValue(row, col.key)), 1)])], 6);
|
|
1063
|
+
}), 128))], 16, _hoisted_17);
|
|
1064
|
+
}), 128)),
|
|
1065
|
+
__props.virtual && spacerAfter.value > 0 ? (openBlock(), createElementBlock("tr", _hoisted_18, [createElementVNode("td", {
|
|
1066
|
+
colspan: totalColumns.value,
|
|
1067
|
+
style: normalizeStyle({
|
|
1068
|
+
height: `${spacerAfter.value}px`,
|
|
1069
|
+
padding: "0",
|
|
1070
|
+
border: "0"
|
|
1071
|
+
})
|
|
1072
|
+
}, null, 12, _hoisted_19)])) : createCommentVNode("", true)
|
|
1073
|
+
], 64))]),
|
|
1074
|
+
_: 2
|
|
1075
|
+
}, [_ctx.$slots.footer || hasSummary.value ? {
|
|
1076
|
+
name: "footer",
|
|
1077
|
+
fn: withCtx(() => [hasSummary.value ? (openBlock(), createElementBlock("tr", {
|
|
1078
|
+
key: 0,
|
|
1079
|
+
"data-gr-datatable-summary": "",
|
|
1080
|
+
class: normalizeClass(unref(summaryRowClass)),
|
|
1081
|
+
"aria-rowindex": summaryAriaRowIndex.value
|
|
1082
|
+
}, [__props.selectable ? (openBlock(), createElementBlock("td", {
|
|
1083
|
+
key: 0,
|
|
1084
|
+
class: normalizeClass([
|
|
1085
|
+
selectColumnClass.value,
|
|
1086
|
+
cellClass.value,
|
|
1087
|
+
hasPinnedLeft.value ? unref(columnPinnedClass) : ""
|
|
1088
|
+
]),
|
|
1089
|
+
style: normalizeStyle(hasPinnedLeft.value ? { left: "0px" } : void 0)
|
|
1090
|
+
}, null, 6)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(orderedColumns.value, (col, colIndex) => {
|
|
1091
|
+
return openBlock(), createElementBlock("td", {
|
|
1092
|
+
key: col.key,
|
|
1093
|
+
"data-column-key": col.key,
|
|
1094
|
+
class: normalizeClass([
|
|
1095
|
+
cellClass.value,
|
|
1096
|
+
cellAlign(col),
|
|
1097
|
+
...pinnedCellClass(col, colIndex)
|
|
1098
|
+
]),
|
|
1099
|
+
style: normalizeStyle({
|
|
1100
|
+
...columnWidthStyle(widthOf(col)),
|
|
1101
|
+
...pinnedStyleOf(col)
|
|
1102
|
+
})
|
|
1103
|
+
}, [renderSlot(_ctx.$slots, `summary-${col.key}`, {
|
|
1104
|
+
value: summaryValue(col.key),
|
|
1105
|
+
column: col
|
|
1106
|
+
}, () => [createElementVNode("span", null, toDisplayString(summaryValue(col.key)), 1)])], 14, _hoisted_21);
|
|
1107
|
+
}), 128))], 10, _hoisted_20)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "footer", {
|
|
1108
|
+
columns: orderedColumns.value,
|
|
1109
|
+
totalColumns: totalColumns.value
|
|
1110
|
+
})]),
|
|
1111
|
+
key: "0"
|
|
1112
|
+
} : void 0]), 1040);
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1116
|
+
//#endregion
|
|
1117
|
+
export { GrDataTable_default as t };
|