@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,1128 @@
|
|
|
1
|
+
import { t as x_default } from "../../../chunks/x-2KXnqxiD.js";
|
|
2
|
+
import { n as useGranularityTranslations } from "../../../chunks/granularityI18n-BC5zsj_d.js";
|
|
3
|
+
import { t as GrIcon_default } from "../../GrIcon/chunks/GrIcon-bQwtZtYT.js";
|
|
4
|
+
import { t as minus_default } from "../../../chunks/minus-oxdbHF33.js";
|
|
5
|
+
import { useAnnouncer } from "../../../composables/useAnnouncer.js";
|
|
6
|
+
import { t as useModalOverlay } from "../../../chunks/useModalOverlay-Cv5hF63W.js";
|
|
7
|
+
import { useDragGesture } from "../../../composables/useDragGesture.js";
|
|
8
|
+
import { t as chevron_left_default } from "../../../chunks/chevron-left-D8AUBAM7.js";
|
|
9
|
+
import { t as chevron_right_default } from "../../../chunks/chevron-right-C6Z01h0X.js";
|
|
10
|
+
import { a as emptyStateClass, c as toolbarSeparatorClass, i as chromeButtonClass, l as toolbarShellClass, o as scrimClass, r as badgeClass, s as toolbarButtonClass } from "../../../chunks/config-BeZRuonp.js";
|
|
11
|
+
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, markRaw, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, toDisplayString, toHandlers, unref, watch, withCtx } from "vue";
|
|
12
|
+
//#region ~icons/lucide/download
|
|
13
|
+
var _hoisted_1$4 = {
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
width: "1.2em",
|
|
16
|
+
height: "1.2em"
|
|
17
|
+
};
|
|
18
|
+
function render$4(_ctx, _cache) {
|
|
19
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
|
|
20
|
+
fill: "none",
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
"stroke-linecap": "round",
|
|
23
|
+
"stroke-linejoin": "round",
|
|
24
|
+
"stroke-width": "2"
|
|
25
|
+
}, [createElementVNode("path", { d: "M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), createElementVNode("path", { d: "m7 10l5 5l5-5" })], -1)])]);
|
|
26
|
+
}
|
|
27
|
+
var download_default = markRaw({
|
|
28
|
+
name: "lucide-download",
|
|
29
|
+
render: render$4
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region ~icons/lucide/plus
|
|
33
|
+
var _hoisted_1$3 = {
|
|
34
|
+
viewBox: "0 0 24 24",
|
|
35
|
+
width: "1.2em",
|
|
36
|
+
height: "1.2em"
|
|
37
|
+
};
|
|
38
|
+
function render$3(_ctx, _cache) {
|
|
39
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
40
|
+
fill: "none",
|
|
41
|
+
stroke: "currentColor",
|
|
42
|
+
"stroke-linecap": "round",
|
|
43
|
+
"stroke-linejoin": "round",
|
|
44
|
+
"stroke-width": "2",
|
|
45
|
+
d: "M5 12h14m-7-7v14"
|
|
46
|
+
}, null, -1)])]);
|
|
47
|
+
}
|
|
48
|
+
var plus_default = markRaw({
|
|
49
|
+
name: "lucide-plus",
|
|
50
|
+
render: render$3
|
|
51
|
+
});
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region ~icons/lucide/rotate-ccw
|
|
54
|
+
var _hoisted_1$2 = {
|
|
55
|
+
viewBox: "0 0 24 24",
|
|
56
|
+
width: "1.2em",
|
|
57
|
+
height: "1.2em"
|
|
58
|
+
};
|
|
59
|
+
function render$2(_ctx, _cache) {
|
|
60
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
|
|
61
|
+
fill: "none",
|
|
62
|
+
stroke: "currentColor",
|
|
63
|
+
"stroke-linecap": "round",
|
|
64
|
+
"stroke-linejoin": "round",
|
|
65
|
+
"stroke-width": "2"
|
|
66
|
+
}, [createElementVNode("path", { d: "M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8" }), createElementVNode("path", { d: "M3 3v5h5" })], -1)])]);
|
|
67
|
+
}
|
|
68
|
+
var rotate_ccw_default = markRaw({
|
|
69
|
+
name: "lucide-rotate-ccw",
|
|
70
|
+
render: render$2
|
|
71
|
+
});
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region ~icons/lucide/rotate-cw
|
|
74
|
+
var _hoisted_1$1 = {
|
|
75
|
+
viewBox: "0 0 24 24",
|
|
76
|
+
width: "1.2em",
|
|
77
|
+
height: "1.2em"
|
|
78
|
+
};
|
|
79
|
+
function render$1(_ctx, _cache) {
|
|
80
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
|
|
81
|
+
fill: "none",
|
|
82
|
+
stroke: "currentColor",
|
|
83
|
+
"stroke-linecap": "round",
|
|
84
|
+
"stroke-linejoin": "round",
|
|
85
|
+
"stroke-width": "2"
|
|
86
|
+
}, [createElementVNode("path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8" }), createElementVNode("path", { d: "M21 3v5h-5" })], -1)])]);
|
|
87
|
+
}
|
|
88
|
+
var rotate_cw_default = markRaw({
|
|
89
|
+
name: "lucide-rotate-cw",
|
|
90
|
+
render: render$1
|
|
91
|
+
});
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/components/GrImageViewer/composables/useZoomPan.ts
|
|
94
|
+
var TRAILING_ZERO_DECIMAL_RE = /\.0$/;
|
|
95
|
+
function formatPercent(value) {
|
|
96
|
+
if (Number.isInteger(value)) return String(value);
|
|
97
|
+
return value.toFixed(1).replace(TRAILING_ZERO_DECIMAL_RE, "");
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* useZoomPan — состояние и логика масштаба/поворота/панорамирования картинки,
|
|
101
|
+
* а также метрики (натуральный/вписанный/фактический размер, реальный масштаб).
|
|
102
|
+
*/
|
|
103
|
+
function useZoomPan(options) {
|
|
104
|
+
const scale = ref(1);
|
|
105
|
+
const rotation = ref(0);
|
|
106
|
+
const offsetX = ref(0);
|
|
107
|
+
const offsetY = ref(0);
|
|
108
|
+
const isDragging = ref(false);
|
|
109
|
+
let dragStartX = 0;
|
|
110
|
+
let dragStartY = 0;
|
|
111
|
+
let dragOffsetStartX = 0;
|
|
112
|
+
let dragOffsetStartY = 0;
|
|
113
|
+
const naturalWidth = ref(0);
|
|
114
|
+
const naturalHeight = ref(0);
|
|
115
|
+
const fittedWidth = ref(0);
|
|
116
|
+
const fittedHeight = ref(0);
|
|
117
|
+
let resizeObserver = null;
|
|
118
|
+
const imageStyle = computed(() => ({ transform: `translate3d(${offsetX.value}px, ${offsetY.value}px, 0) scale(${scale.value}) rotate(${rotation.value}deg)` }));
|
|
119
|
+
const zoomValueText = computed(() => formatPercent(scale.value * 100));
|
|
120
|
+
const renderedWidth = computed(() => Math.round(fittedWidth.value * scale.value));
|
|
121
|
+
const renderedHeight = computed(() => Math.round(fittedHeight.value * scale.value));
|
|
122
|
+
const realScale = computed(() => {
|
|
123
|
+
if (!naturalWidth.value) return 0;
|
|
124
|
+
return fittedWidth.value * scale.value / naturalWidth.value;
|
|
125
|
+
});
|
|
126
|
+
const realScalePercent = computed(() => formatPercent(realScale.value * 100));
|
|
127
|
+
/** Увеличенный кадр тянется всегда: иначе до его краёв не добраться вовсе. */
|
|
128
|
+
const isPannable = computed(() => options.draggable() || scale.value > 1);
|
|
129
|
+
/**
|
|
130
|
+
* Граница смещения по осям экрана.
|
|
131
|
+
*
|
|
132
|
+
* Тянуть имеет смысл ровно настолько, насколько кадр вылез за область
|
|
133
|
+
* просмотра, — дальше пользователь утаскивает картинку в пустоту и достаёт её
|
|
134
|
+
* только сбросом. Поворот на 90°/270° меняет оси местами, поэтому границы
|
|
135
|
+
* считаются по bounding box повёрнутого footprint'а.
|
|
136
|
+
*/
|
|
137
|
+
function panBounds() {
|
|
138
|
+
const viewport = options.viewportEl.value;
|
|
139
|
+
if (!viewport) return {
|
|
140
|
+
x: 0,
|
|
141
|
+
y: 0
|
|
142
|
+
};
|
|
143
|
+
const quarterTurns = Math.abs(Math.round(rotation.value / 90) % 2);
|
|
144
|
+
const width = quarterTurns === 1 ? renderedHeight.value : renderedWidth.value;
|
|
145
|
+
const height = quarterTurns === 1 ? renderedWidth.value : renderedHeight.value;
|
|
146
|
+
return {
|
|
147
|
+
x: Math.max(0, (width - viewport.clientWidth) / 2),
|
|
148
|
+
y: Math.max(0, (height - viewport.clientHeight) / 2)
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
function clampOffsets() {
|
|
152
|
+
const bounds = panBounds();
|
|
153
|
+
offsetX.value = Math.min(bounds.x, Math.max(-bounds.x, offsetX.value));
|
|
154
|
+
offsetY.value = Math.min(bounds.y, Math.max(-bounds.y, offsetY.value));
|
|
155
|
+
}
|
|
156
|
+
function clampScale(value) {
|
|
157
|
+
const clamped = Math.min(options.maxScale(), Math.max(options.minScale(), value));
|
|
158
|
+
return Number(clamped.toFixed(4));
|
|
159
|
+
}
|
|
160
|
+
function setScale(value) {
|
|
161
|
+
scale.value = clampScale(value);
|
|
162
|
+
clampOffsets();
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Масштаб с якорем: точка под курсором (или между пальцами) остаётся на
|
|
166
|
+
* месте. Без этого зум всегда идёт от центра, и увеличить нужный угол кадра
|
|
167
|
+
* можно только зумом с последующим таскиванием.
|
|
168
|
+
*/
|
|
169
|
+
function setScaleAt(value, anchor) {
|
|
170
|
+
const viewport = options.viewportEl.value;
|
|
171
|
+
const previous = scale.value;
|
|
172
|
+
const next = clampScale(value);
|
|
173
|
+
if (next === previous) return;
|
|
174
|
+
if (anchor && viewport) {
|
|
175
|
+
const rect = viewport.getBoundingClientRect();
|
|
176
|
+
const anchorX = anchor.clientX - (rect.left + rect.width / 2);
|
|
177
|
+
const anchorY = anchor.clientY - (rect.top + rect.height / 2);
|
|
178
|
+
const ratio = next / previous;
|
|
179
|
+
offsetX.value = anchorX - (anchorX - offsetX.value) * ratio;
|
|
180
|
+
offsetY.value = anchorY - (anchorY - offsetY.value) * ratio;
|
|
181
|
+
}
|
|
182
|
+
scale.value = next;
|
|
183
|
+
clampOffsets();
|
|
184
|
+
}
|
|
185
|
+
function zoomIn(anchor) {
|
|
186
|
+
setScaleAt(scale.value * options.zoomRate(), anchor);
|
|
187
|
+
}
|
|
188
|
+
function zoomOut(anchor) {
|
|
189
|
+
setScaleAt(scale.value / options.zoomRate(), anchor);
|
|
190
|
+
}
|
|
191
|
+
function rotateLeft() {
|
|
192
|
+
rotation.value -= 90;
|
|
193
|
+
clampOffsets();
|
|
194
|
+
options.onRotate(rotation.value);
|
|
195
|
+
}
|
|
196
|
+
function rotateRight() {
|
|
197
|
+
rotation.value += 90;
|
|
198
|
+
clampOffsets();
|
|
199
|
+
options.onRotate(rotation.value);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Масштаб «один к одному»: пиксель картинки на пиксель экрана.
|
|
203
|
+
*
|
|
204
|
+
* Считается от вписанного размера, потому что `scale` номинальный — единица
|
|
205
|
+
* означает «вписано в окно», а не «натуральный размер». У крупного кадра
|
|
206
|
+
* реальные 100% приходятся на номинальные 6–8×, и вручную такую кнопку
|
|
207
|
+
* потребителю пришлось бы собирать из `naturalWidth`/`renderedWidth`.
|
|
208
|
+
*
|
|
209
|
+
* Потолок `maxScale` действует и здесь: он ограничивает зум сознательно, и
|
|
210
|
+
* «один к одному» — не повод его обойти. Если кадру нужно больше, поднимите
|
|
211
|
+
* `maxScale`.
|
|
212
|
+
*/
|
|
213
|
+
function zoomToNatural() {
|
|
214
|
+
if (!naturalWidth.value || !fittedWidth.value) return;
|
|
215
|
+
setScale(naturalWidth.value / fittedWidth.value);
|
|
216
|
+
}
|
|
217
|
+
function resetTransform() {
|
|
218
|
+
scale.value = 1;
|
|
219
|
+
rotation.value = 0;
|
|
220
|
+
offsetX.value = 0;
|
|
221
|
+
offsetY.value = 0;
|
|
222
|
+
isDragging.value = false;
|
|
223
|
+
}
|
|
224
|
+
function resetImageMetrics() {
|
|
225
|
+
naturalWidth.value = 0;
|
|
226
|
+
naturalHeight.value = 0;
|
|
227
|
+
fittedWidth.value = 0;
|
|
228
|
+
fittedHeight.value = 0;
|
|
229
|
+
}
|
|
230
|
+
function measureFitted() {
|
|
231
|
+
const el = options.imageEl.value;
|
|
232
|
+
if (!el) return;
|
|
233
|
+
fittedWidth.value = el.offsetWidth;
|
|
234
|
+
fittedHeight.value = el.offsetHeight;
|
|
235
|
+
clampOffsets();
|
|
236
|
+
}
|
|
237
|
+
function onImageLoad(event) {
|
|
238
|
+
const el = event.target;
|
|
239
|
+
naturalWidth.value = el.naturalWidth;
|
|
240
|
+
naturalHeight.value = el.naturalHeight;
|
|
241
|
+
measureFitted();
|
|
242
|
+
}
|
|
243
|
+
function startObservingImage() {
|
|
244
|
+
const el = options.imageEl.value;
|
|
245
|
+
if (!el || typeof ResizeObserver === "undefined") return;
|
|
246
|
+
if (!resizeObserver) resizeObserver = new ResizeObserver(() => measureFitted());
|
|
247
|
+
resizeObserver.observe(el);
|
|
248
|
+
if (el.complete && el.naturalWidth) {
|
|
249
|
+
naturalWidth.value = el.naturalWidth;
|
|
250
|
+
naturalHeight.value = el.naturalHeight;
|
|
251
|
+
}
|
|
252
|
+
measureFitted();
|
|
253
|
+
}
|
|
254
|
+
function stopObservingImage() {
|
|
255
|
+
resizeObserver?.disconnect();
|
|
256
|
+
}
|
|
257
|
+
/** Начало перетаскивания: используется и мышью, и жестами. */
|
|
258
|
+
function startPan(x, y) {
|
|
259
|
+
isDragging.value = true;
|
|
260
|
+
dragStartX = x;
|
|
261
|
+
dragStartY = y;
|
|
262
|
+
dragOffsetStartX = offsetX.value;
|
|
263
|
+
dragOffsetStartY = offsetY.value;
|
|
264
|
+
}
|
|
265
|
+
function movePan(x, y) {
|
|
266
|
+
if (!isDragging.value) return;
|
|
267
|
+
offsetX.value = dragOffsetStartX + (x - dragStartX);
|
|
268
|
+
offsetY.value = dragOffsetStartY + (y - dragStartY);
|
|
269
|
+
clampOffsets();
|
|
270
|
+
}
|
|
271
|
+
function endPan() {
|
|
272
|
+
isDragging.value = false;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Перетаскивание мышью и пером — на общем примитиве жеста.
|
|
276
|
+
*
|
|
277
|
+
* Слушатели живут на `window`, а не на захвате указателя: захват привязан к
|
|
278
|
+
* `<img>`, и смена кадра посреди жеста подменяла элемент — отпускание не
|
|
279
|
+
* приходило никуда, а `isDragging` оставался поднятым.
|
|
280
|
+
*/
|
|
281
|
+
const drag = useDragGesture({
|
|
282
|
+
disabled: () => !isPannable.value,
|
|
283
|
+
onStart: (event) => {
|
|
284
|
+
if (event.pointerType === "touch") return false;
|
|
285
|
+
event.preventDefault();
|
|
286
|
+
startPan(event.clientX, event.clientY);
|
|
287
|
+
},
|
|
288
|
+
onMove: (event) => movePan(event.clientX, event.clientY),
|
|
289
|
+
onEnd: endPan,
|
|
290
|
+
onCancel: endPan
|
|
291
|
+
});
|
|
292
|
+
/** Принудительно закончить перетаскивание — закрытие и смена кадра. */
|
|
293
|
+
function cancelPan() {
|
|
294
|
+
drag.stop();
|
|
295
|
+
endPan();
|
|
296
|
+
}
|
|
297
|
+
return {
|
|
298
|
+
scale,
|
|
299
|
+
rotation,
|
|
300
|
+
offsetX,
|
|
301
|
+
offsetY,
|
|
302
|
+
isDragging,
|
|
303
|
+
isPannable,
|
|
304
|
+
naturalWidth,
|
|
305
|
+
naturalHeight,
|
|
306
|
+
fittedWidth,
|
|
307
|
+
fittedHeight,
|
|
308
|
+
imageStyle,
|
|
309
|
+
zoomValueText,
|
|
310
|
+
renderedWidth,
|
|
311
|
+
renderedHeight,
|
|
312
|
+
realScale,
|
|
313
|
+
realScalePercent,
|
|
314
|
+
setScale,
|
|
315
|
+
setScaleAt,
|
|
316
|
+
zoomIn,
|
|
317
|
+
zoomOut,
|
|
318
|
+
zoomToNatural,
|
|
319
|
+
rotateLeft,
|
|
320
|
+
rotateRight,
|
|
321
|
+
resetTransform,
|
|
322
|
+
resetImageMetrics,
|
|
323
|
+
measureFitted,
|
|
324
|
+
clampOffsets,
|
|
325
|
+
onImageLoad,
|
|
326
|
+
startObservingImage,
|
|
327
|
+
stopObservingImage,
|
|
328
|
+
startPan,
|
|
329
|
+
movePan,
|
|
330
|
+
endPan,
|
|
331
|
+
cancelPan,
|
|
332
|
+
onPointerDown: drag.start
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
//#endregion
|
|
336
|
+
//#region src/components/GrImageViewer/composables/useWheelGesture.ts
|
|
337
|
+
var WHEEL_ZOOM_SENSITIVITY = .0015;
|
|
338
|
+
var WHEEL_IDLE_MS = 120;
|
|
339
|
+
/**
|
|
340
|
+
* useWheelGesture — масштабирование колесом мыши / жестом трекпада с батчингом
|
|
341
|
+
* по `requestAnimationFrame` (рендер не чаще кадра — без «дёрганья»/наслоения) и
|
|
342
|
+
* временным отключением CSS-перехода на время жеста (`isWheelZooming`).
|
|
343
|
+
*/
|
|
344
|
+
function useWheelGesture(options) {
|
|
345
|
+
const isWheelZooming = ref(false);
|
|
346
|
+
let pendingWheelDelta = 0;
|
|
347
|
+
let wheelFrameId = null;
|
|
348
|
+
let wheelIdleTimer = null;
|
|
349
|
+
let anchor = {
|
|
350
|
+
clientX: 0,
|
|
351
|
+
clientY: 0
|
|
352
|
+
};
|
|
353
|
+
function cancelWheelFrame() {
|
|
354
|
+
if (wheelFrameId !== null) {
|
|
355
|
+
cancelAnimationFrame(wheelFrameId);
|
|
356
|
+
wheelFrameId = null;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
function endWheelZoom() {
|
|
360
|
+
if (wheelIdleTimer !== null) {
|
|
361
|
+
clearTimeout(wheelIdleTimer);
|
|
362
|
+
wheelIdleTimer = null;
|
|
363
|
+
}
|
|
364
|
+
isWheelZooming.value = false;
|
|
365
|
+
pendingWheelDelta = 0;
|
|
366
|
+
cancelWheelFrame();
|
|
367
|
+
}
|
|
368
|
+
function flushWheelZoom() {
|
|
369
|
+
wheelFrameId = null;
|
|
370
|
+
const delta = pendingWheelDelta;
|
|
371
|
+
pendingWheelDelta = 0;
|
|
372
|
+
if (!delta) return;
|
|
373
|
+
const factor = Math.exp(-delta * WHEEL_ZOOM_SENSITIVITY);
|
|
374
|
+
options.applyZoomFactor(factor, anchor);
|
|
375
|
+
}
|
|
376
|
+
function onWheel(event) {
|
|
377
|
+
if (!options.enabled()) return;
|
|
378
|
+
event.preventDefault();
|
|
379
|
+
isWheelZooming.value = true;
|
|
380
|
+
pendingWheelDelta += event.deltaY;
|
|
381
|
+
anchor = {
|
|
382
|
+
clientX: event.clientX,
|
|
383
|
+
clientY: event.clientY
|
|
384
|
+
};
|
|
385
|
+
if (wheelFrameId === null) wheelFrameId = requestAnimationFrame(flushWheelZoom);
|
|
386
|
+
if (wheelIdleTimer !== null) clearTimeout(wheelIdleTimer);
|
|
387
|
+
wheelIdleTimer = setTimeout(() => {
|
|
388
|
+
wheelIdleTimer = null;
|
|
389
|
+
isWheelZooming.value = false;
|
|
390
|
+
}, WHEEL_IDLE_MS);
|
|
391
|
+
}
|
|
392
|
+
return {
|
|
393
|
+
isWheelZooming,
|
|
394
|
+
onWheel,
|
|
395
|
+
endWheelZoom
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region src/components/GrImageViewer/composables/usePointerGestures.ts
|
|
400
|
+
/** Сколько пикселей должен пройти палец, чтобы это считалось свайпом. */
|
|
401
|
+
var SWIPE_THRESHOLD_PX = 60;
|
|
402
|
+
/** Во сколько раз горизонталь должна превысить вертикаль: иначе это не листание. */
|
|
403
|
+
var SWIPE_AXIS_RATIO = 1.5;
|
|
404
|
+
/**
|
|
405
|
+
* usePointerGestures — сенсорные жесты просмотрщика: pinch-zoom двумя пальцами
|
|
406
|
+
* и горизонтальный свайп для листания.
|
|
407
|
+
*
|
|
408
|
+
* Живёт на тех же pointer-событиях, что и перетаскивание мышью: разделение идёт
|
|
409
|
+
* по числу активных указателей, а не по типу устройства — трекпад и стилус
|
|
410
|
+
* ведут себя как мышь, палец как палец, отдельных веток на `touch*` не нужно.
|
|
411
|
+
*
|
|
412
|
+
* Что делает одиночный жест, решает масштаб: на увеличенном кадре тянуть важнее
|
|
413
|
+
* (иначе до краёв не добраться), на вписанном — листать.
|
|
414
|
+
*/
|
|
415
|
+
function usePointerGestures(options) {
|
|
416
|
+
const pointers = /* @__PURE__ */ new Map();
|
|
417
|
+
/** Идёт ли сейчас pinch: на время жеста компонент гасит CSS-переход. */
|
|
418
|
+
const isPinching = ref(false);
|
|
419
|
+
let pinchStartDistance = 0;
|
|
420
|
+
let pinchStartScale = 1;
|
|
421
|
+
let swipeStartX = 0;
|
|
422
|
+
let swipeStartY = 0;
|
|
423
|
+
let isSwipeCandidate = false;
|
|
424
|
+
function distance(a, b) {
|
|
425
|
+
return Math.hypot(a.x - b.x, a.y - b.y);
|
|
426
|
+
}
|
|
427
|
+
function midpoint(a, b) {
|
|
428
|
+
return {
|
|
429
|
+
clientX: (a.x + b.x) / 2,
|
|
430
|
+
clientY: (a.y + b.y) / 2
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
function activePair() {
|
|
434
|
+
if (pointers.size < 2) return null;
|
|
435
|
+
const [first, second] = [...pointers.values()];
|
|
436
|
+
return [first, second];
|
|
437
|
+
}
|
|
438
|
+
function onPointerDown(event) {
|
|
439
|
+
if (!options.enabled() || event.pointerType === "mouse") return;
|
|
440
|
+
pointers.set(event.pointerId, {
|
|
441
|
+
x: event.clientX,
|
|
442
|
+
y: event.clientY
|
|
443
|
+
});
|
|
444
|
+
const pair = activePair();
|
|
445
|
+
if (pair) {
|
|
446
|
+
options.pan.end();
|
|
447
|
+
isSwipeCandidate = false;
|
|
448
|
+
isPinching.value = true;
|
|
449
|
+
pinchStartDistance = distance(pair[0], pair[1]) || 1;
|
|
450
|
+
pinchStartScale = options.scale();
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
if (options.scale() > 1) {
|
|
454
|
+
options.pan.start(event.clientX, event.clientY);
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
isSwipeCandidate = options.canSwipe();
|
|
458
|
+
swipeStartX = event.clientX;
|
|
459
|
+
swipeStartY = event.clientY;
|
|
460
|
+
}
|
|
461
|
+
function onPointerMove(event) {
|
|
462
|
+
if (!pointers.has(event.pointerId)) return;
|
|
463
|
+
pointers.set(event.pointerId, {
|
|
464
|
+
x: event.clientX,
|
|
465
|
+
y: event.clientY
|
|
466
|
+
});
|
|
467
|
+
const pair = activePair();
|
|
468
|
+
if (pair && isPinching.value) {
|
|
469
|
+
const current = distance(pair[0], pair[1]);
|
|
470
|
+
if (!current) return;
|
|
471
|
+
options.setScaleAt(pinchStartScale * (current / pinchStartDistance), midpoint(pair[0], pair[1]));
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
if (!isSwipeCandidate) options.pan.move(event.clientX, event.clientY);
|
|
475
|
+
}
|
|
476
|
+
function finishSwipe(event) {
|
|
477
|
+
const deltaX = event.clientX - swipeStartX;
|
|
478
|
+
const deltaY = event.clientY - swipeStartY;
|
|
479
|
+
isSwipeCandidate = false;
|
|
480
|
+
if (Math.abs(deltaX) < SWIPE_THRESHOLD_PX) return;
|
|
481
|
+
if (Math.abs(deltaX) < Math.abs(deltaY) * SWIPE_AXIS_RATIO) return;
|
|
482
|
+
if (deltaX < 0) options.onSwipeLeft();
|
|
483
|
+
else options.onSwipeRight();
|
|
484
|
+
}
|
|
485
|
+
function onPointerUp(event) {
|
|
486
|
+
if (!pointers.has(event.pointerId)) return;
|
|
487
|
+
const wasSwipeCandidate = isSwipeCandidate;
|
|
488
|
+
pointers.delete(event.pointerId);
|
|
489
|
+
if (isPinching.value && pointers.size < 2) {
|
|
490
|
+
isPinching.value = false;
|
|
491
|
+
const [remaining] = [...pointers.values()];
|
|
492
|
+
if (remaining && options.scale() > 1) options.pan.start(remaining.x, remaining.y);
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
if (wasSwipeCandidate) {
|
|
496
|
+
finishSwipe(event);
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
options.pan.end();
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Обрыв — не отпускание: браузер забрал указатель (системный жест, звонок,
|
|
503
|
+
* потеря окна). Пройденное расстояние при этом не считается свайпом, иначе
|
|
504
|
+
* прерванный жест листает кадр, которого пользователь не листал.
|
|
505
|
+
*/
|
|
506
|
+
function onPointerCancel(event) {
|
|
507
|
+
if (!pointers.has(event.pointerId)) return;
|
|
508
|
+
pointers.delete(event.pointerId);
|
|
509
|
+
isSwipeCandidate = false;
|
|
510
|
+
isPinching.value = false;
|
|
511
|
+
options.pan.end();
|
|
512
|
+
}
|
|
513
|
+
/** Сброс при закрытии, смене кадра и размонтировании. */
|
|
514
|
+
function reset() {
|
|
515
|
+
pointers.clear();
|
|
516
|
+
isPinching.value = false;
|
|
517
|
+
isSwipeCandidate = false;
|
|
518
|
+
}
|
|
519
|
+
return {
|
|
520
|
+
isPinching,
|
|
521
|
+
onPointerDown,
|
|
522
|
+
onPointerMove,
|
|
523
|
+
onPointerUp,
|
|
524
|
+
onPointerCancel,
|
|
525
|
+
reset
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
//#endregion
|
|
529
|
+
//#region src/components/GrImageViewer/composables/useViewerKeyboard.ts
|
|
530
|
+
/**
|
|
531
|
+
* useViewerKeyboard — клавиатурное управление просмотрщиком: стрелки —
|
|
532
|
+
* переключение, `+`/`-`/`0` — зум/сброс.
|
|
533
|
+
*
|
|
534
|
+
* Esc сюда не входит: он идёт через общий стек dismissible-слоёв
|
|
535
|
+
* (`useDismissible`), иначе просмотрщик, открытый поверх модалки, закрывал бы
|
|
536
|
+
* не себя. Локальный `@keydown` до него всё равно не дошёл бы — стек гасит
|
|
537
|
+
* событие в capture-фазе.
|
|
538
|
+
*/
|
|
539
|
+
function useViewerKeyboard(options) {
|
|
540
|
+
const { actions } = options;
|
|
541
|
+
function onKeydown(event) {
|
|
542
|
+
switch (event.key) {
|
|
543
|
+
case "ArrowLeft":
|
|
544
|
+
event.preventDefault();
|
|
545
|
+
actions.prev();
|
|
546
|
+
return;
|
|
547
|
+
case "ArrowRight":
|
|
548
|
+
event.preventDefault();
|
|
549
|
+
actions.next();
|
|
550
|
+
return;
|
|
551
|
+
case "+":
|
|
552
|
+
case "=":
|
|
553
|
+
case "Add":
|
|
554
|
+
event.preventDefault();
|
|
555
|
+
actions.zoomIn();
|
|
556
|
+
return;
|
|
557
|
+
case "-":
|
|
558
|
+
case "_":
|
|
559
|
+
case "Subtract":
|
|
560
|
+
event.preventDefault();
|
|
561
|
+
actions.zoomOut();
|
|
562
|
+
return;
|
|
563
|
+
case "0":
|
|
564
|
+
event.preventDefault();
|
|
565
|
+
actions.reset();
|
|
566
|
+
break;
|
|
567
|
+
default:
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
return { onKeydown };
|
|
571
|
+
}
|
|
572
|
+
//#endregion
|
|
573
|
+
//#region src/components/GrImageViewer/GrImageViewer.vue?vue&type=script&setup=true&lang.ts
|
|
574
|
+
var _hoisted_1 = ["inert", "aria-label"];
|
|
575
|
+
var _hoisted_2 = { class: "fixed inset-0 overflow-hidden" };
|
|
576
|
+
var _hoisted_3 = { class: "pointer-events-none absolute inset-x-0 top-0 z-30 px-3 py-3 sm:px-6" };
|
|
577
|
+
var _hoisted_4 = { class: "pointer-events-auto flex items-center justify-between gap-3" };
|
|
578
|
+
var _hoisted_5 = { class: "flex items-center gap-2" };
|
|
579
|
+
var _hoisted_6 = ["aria-label"];
|
|
580
|
+
var _hoisted_7 = ["aria-label"];
|
|
581
|
+
var _hoisted_8 = ["aria-label"];
|
|
582
|
+
var _hoisted_9 = { class: "h-full w-full flex items-center justify-center" };
|
|
583
|
+
var _hoisted_10 = ["src", "alt"];
|
|
584
|
+
var _hoisted_11 = { class: "pointer-events-none absolute inset-x-0 bottom-0 z-30 px-3 pb-3 sm:px-6 sm:pb-6" };
|
|
585
|
+
var _hoisted_12 = { class: "pointer-events-auto mx-auto w-full max-w-max" };
|
|
586
|
+
var _hoisted_13 = ["aria-label"];
|
|
587
|
+
var _hoisted_14 = ["aria-label"];
|
|
588
|
+
var _hoisted_15 = ["aria-label"];
|
|
589
|
+
var _hoisted_16 = ["aria-label"];
|
|
590
|
+
var _hoisted_17 = ["aria-label"];
|
|
591
|
+
var _hoisted_18 = ["aria-label"];
|
|
592
|
+
var _hoisted_19 = ["aria-label"];
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region src/components/GrImageViewer/GrImageViewer.vue
|
|
595
|
+
var GrImageViewer_default = /* @__PURE__ */ defineComponent({
|
|
596
|
+
__name: "GrImageViewer",
|
|
597
|
+
props: {
|
|
598
|
+
modelValue: { type: Boolean },
|
|
599
|
+
urlList: {},
|
|
600
|
+
initialIndex: { default: 0 },
|
|
601
|
+
zoomRate: { default: 1.2 },
|
|
602
|
+
minScale: { default: .5 },
|
|
603
|
+
maxScale: { default: 5 },
|
|
604
|
+
hideOnClickModal: {
|
|
605
|
+
type: Boolean,
|
|
606
|
+
default: false
|
|
607
|
+
},
|
|
608
|
+
closeOnPressEscape: {
|
|
609
|
+
type: Boolean,
|
|
610
|
+
default: true
|
|
611
|
+
},
|
|
612
|
+
showProgress: {
|
|
613
|
+
type: Boolean,
|
|
614
|
+
default: false
|
|
615
|
+
},
|
|
616
|
+
showZoomValue: {
|
|
617
|
+
type: Boolean,
|
|
618
|
+
default: true
|
|
619
|
+
},
|
|
620
|
+
wheelZoom: {
|
|
621
|
+
type: Boolean,
|
|
622
|
+
default: true
|
|
623
|
+
},
|
|
624
|
+
draggable: {
|
|
625
|
+
type: Boolean,
|
|
626
|
+
default: false
|
|
627
|
+
},
|
|
628
|
+
zIndexVar: { default: void 0 },
|
|
629
|
+
closeLabel: { default: void 0 },
|
|
630
|
+
prevLabel: { default: void 0 },
|
|
631
|
+
nextLabel: { default: void 0 },
|
|
632
|
+
zoomInLabel: { default: void 0 },
|
|
633
|
+
zoomOutLabel: { default: void 0 },
|
|
634
|
+
resetZoomLabel: { default: void 0 },
|
|
635
|
+
zoomToNaturalLabel: { default: void 0 },
|
|
636
|
+
rotateLeftLabel: { default: void 0 },
|
|
637
|
+
rotateRightLabel: { default: void 0 },
|
|
638
|
+
showDownload: {
|
|
639
|
+
type: Boolean,
|
|
640
|
+
default: false
|
|
641
|
+
},
|
|
642
|
+
downloadLabel: { default: void 0 },
|
|
643
|
+
emptyText: { default: void 0 },
|
|
644
|
+
ariaLabel: { default: void 0 }
|
|
645
|
+
},
|
|
646
|
+
emits: [
|
|
647
|
+
"update:modelValue",
|
|
648
|
+
"close",
|
|
649
|
+
"change",
|
|
650
|
+
"rotate",
|
|
651
|
+
"download"
|
|
652
|
+
],
|
|
653
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
654
|
+
const props = __props;
|
|
655
|
+
const { t } = useGranularityTranslations();
|
|
656
|
+
const resolvedCloseLabel = computed(() => props.closeLabel ?? t("gr.imageViewer.close", "Close image viewer"));
|
|
657
|
+
const resolvedPrevLabel = computed(() => props.prevLabel ?? t("gr.imageViewer.prev", "Previous image"));
|
|
658
|
+
const resolvedNextLabel = computed(() => props.nextLabel ?? t("gr.imageViewer.next", "Next image"));
|
|
659
|
+
const resolvedZoomInLabel = computed(() => props.zoomInLabel ?? t("gr.imageViewer.zoomIn", "Zoom in"));
|
|
660
|
+
const resolvedZoomOutLabel = computed(() => props.zoomOutLabel ?? t("gr.imageViewer.zoomOut", "Zoom out"));
|
|
661
|
+
const resolvedResetZoomLabel = computed(() => props.resetZoomLabel ?? t("gr.imageViewer.resetZoom", "Reset zoom"));
|
|
662
|
+
const resolvedZoomToNaturalLabel = computed(() => props.zoomToNaturalLabel ?? t("gr.imageViewer.zoomToNatural", "Actual size (1:1)"));
|
|
663
|
+
const resolvedRotateLeftLabel = computed(() => props.rotateLeftLabel ?? t("gr.imageViewer.rotateLeft", "Rotate left"));
|
|
664
|
+
const resolvedRotateRightLabel = computed(() => props.rotateRightLabel ?? t("gr.imageViewer.rotateRight", "Rotate right"));
|
|
665
|
+
const resolvedDownloadLabel = computed(() => props.downloadLabel ?? t("gr.imageViewer.download", "Download image"));
|
|
666
|
+
const resolvedEmptyText = computed(() => props.emptyText ?? t("gr.imageViewer.empty", "No image"));
|
|
667
|
+
const resolvedAriaLabel = computed(() => props.ariaLabel ?? t("gr.imageViewer.label", "Image viewer"));
|
|
668
|
+
const emit = __emit;
|
|
669
|
+
const open = computed(() => props.modelValue);
|
|
670
|
+
const items = computed(() => props.urlList.map((item) => typeof item === "string" ? { src: item } : item));
|
|
671
|
+
const total = computed(() => items.value.length);
|
|
672
|
+
const hasImages = computed(() => total.value > 0);
|
|
673
|
+
const currentIndex = ref(0);
|
|
674
|
+
const imageEl = ref(null);
|
|
675
|
+
const stageEl = ref(null);
|
|
676
|
+
const { scale, rotation, isDragging, naturalWidth, naturalHeight, renderedWidth, renderedHeight, realScale, realScalePercent, imageStyle, zoomValueText, zoomIn, zoomOut, zoomToNatural, rotateLeft, rotateRight, resetTransform, resetImageMetrics, onImageLoad, startObservingImage, stopObservingImage, isPannable, setScaleAt, startPan, movePan, endPan, cancelPan, onPointerDown: onPanPointerDown } = useZoomPan({
|
|
677
|
+
minScale: () => props.minScale,
|
|
678
|
+
maxScale: () => props.maxScale,
|
|
679
|
+
zoomRate: () => props.zoomRate,
|
|
680
|
+
draggable: () => props.draggable,
|
|
681
|
+
imageEl,
|
|
682
|
+
viewportEl: stageEl,
|
|
683
|
+
onRotate: (deg) => emit("rotate", deg)
|
|
684
|
+
});
|
|
685
|
+
const { isWheelZooming, onWheel, endWheelZoom } = useWheelGesture({
|
|
686
|
+
enabled: () => props.wheelZoom && hasImages.value,
|
|
687
|
+
applyZoomFactor: (factor, anchor) => setScaleAt(scale.value * factor, anchor)
|
|
688
|
+
});
|
|
689
|
+
const currentItem = computed(() => hasImages.value ? items.value[currentIndex.value] : void 0);
|
|
690
|
+
const currentUrl = computed(() => currentItem.value?.src);
|
|
691
|
+
const currentAlt = computed(() => currentItem.value?.alt ?? "");
|
|
692
|
+
const displayIndex = computed(() => hasImages.value ? currentIndex.value + 1 : 0);
|
|
693
|
+
/**
|
|
694
|
+
* Позицию объявляем только на смене кадра: при открытии её скажет имя диалога.
|
|
695
|
+
*
|
|
696
|
+
* Регион общий и живёт вне просмотрщика — он помечен `data-gr-live-region` и
|
|
697
|
+
* потому не гасится `inert`, которым просмотрщик накрывает страницу.
|
|
698
|
+
*/
|
|
699
|
+
const { announce } = useAnnouncer();
|
|
700
|
+
watch(displayIndex, (index) => {
|
|
701
|
+
if (!hasImages.value) return;
|
|
702
|
+
announce(t("gr.imageViewer.position", "Image {index} of {total}", {
|
|
703
|
+
index,
|
|
704
|
+
total: total.value
|
|
705
|
+
}));
|
|
706
|
+
});
|
|
707
|
+
const viewerStyle = computed(() => ({ zIndex: `var(${props.zIndexVar ?? "--gr-z-modal"})` }));
|
|
708
|
+
const { isPinching, onPointerDown: onGesturePointerDown, onPointerMove: onGesturePointerMove, onPointerUp: onGesturePointerUp, onPointerCancel: onGesturePointerCancel, reset: resetGestures } = usePointerGestures({
|
|
709
|
+
enabled: () => hasImages.value,
|
|
710
|
+
scale: () => scale.value,
|
|
711
|
+
canSwipe: () => total.value > 1,
|
|
712
|
+
setScaleAt,
|
|
713
|
+
pan: {
|
|
714
|
+
start: startPan,
|
|
715
|
+
move: movePan,
|
|
716
|
+
end: endPan
|
|
717
|
+
},
|
|
718
|
+
onSwipeLeft: () => next(),
|
|
719
|
+
onSwipeRight: () => prev()
|
|
720
|
+
});
|
|
721
|
+
function onPointerDown(event) {
|
|
722
|
+
onGesturePointerDown(event);
|
|
723
|
+
onPanPointerDown(event);
|
|
724
|
+
}
|
|
725
|
+
function onPointerMove(event) {
|
|
726
|
+
onGesturePointerMove(event);
|
|
727
|
+
}
|
|
728
|
+
function onPointerUp(event) {
|
|
729
|
+
onGesturePointerUp(event);
|
|
730
|
+
}
|
|
731
|
+
function onPointerCancel(event) {
|
|
732
|
+
onGesturePointerCancel(event);
|
|
733
|
+
}
|
|
734
|
+
const imageTransitionClass = computed(() => isWheelZooming.value || isDragging.value || isPinching.value ? "" : "transition-transform duration-[var(--gr-duration-fast)] ease-[var(--gr-ease-out)]");
|
|
735
|
+
const imageCursorClass = computed(() => {
|
|
736
|
+
if (!isPannable.value) return "";
|
|
737
|
+
return isDragging.value ? "cursor-grabbing" : "cursor-grab";
|
|
738
|
+
});
|
|
739
|
+
function normalizeIndex(value) {
|
|
740
|
+
if (!hasImages.value) return 0;
|
|
741
|
+
return ((Number.isFinite(value) ? Math.trunc(value) : 0) % total.value + total.value) % total.value;
|
|
742
|
+
}
|
|
743
|
+
function setIndex(nextIndex, options) {
|
|
744
|
+
const normalizedIndex = normalizeIndex(nextIndex);
|
|
745
|
+
if (normalizedIndex === currentIndex.value) return;
|
|
746
|
+
currentIndex.value = normalizedIndex;
|
|
747
|
+
resetTransform();
|
|
748
|
+
resetImageMetrics();
|
|
749
|
+
endWheelZoom();
|
|
750
|
+
if (options?.emitSwitch !== false) emit("change", normalizedIndex);
|
|
751
|
+
}
|
|
752
|
+
function syncIndexFromInitial() {
|
|
753
|
+
if (!hasImages.value) {
|
|
754
|
+
currentIndex.value = 0;
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
currentIndex.value = normalizeIndex(props.initialIndex);
|
|
758
|
+
resetTransform();
|
|
759
|
+
resetImageMetrics();
|
|
760
|
+
endWheelZoom();
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* Предзагруженные соседи. Держим ссылки, чтобы загрузку можно было оборвать:
|
|
764
|
+
* сброс `src` у `Image` отменяет незавершённый запрос. Без этого быстрое
|
|
765
|
+
* перелистывание галереи копит запросы, которые уже никому не нужны.
|
|
766
|
+
*/
|
|
767
|
+
let preloadedImages = [];
|
|
768
|
+
function cancelPreload() {
|
|
769
|
+
for (const image of preloadedImages) image.src = "";
|
|
770
|
+
preloadedImages = [];
|
|
771
|
+
}
|
|
772
|
+
function preloadAt(index) {
|
|
773
|
+
const url = items.value[index]?.src;
|
|
774
|
+
if (!url) return;
|
|
775
|
+
const image = new Image();
|
|
776
|
+
image.decoding = "async";
|
|
777
|
+
image.src = url;
|
|
778
|
+
preloadedImages.push(image);
|
|
779
|
+
}
|
|
780
|
+
function closeViewer() {
|
|
781
|
+
emit("update:modelValue", false);
|
|
782
|
+
emit("close");
|
|
783
|
+
}
|
|
784
|
+
function prev() {
|
|
785
|
+
setIndex(currentIndex.value - 1);
|
|
786
|
+
}
|
|
787
|
+
function next() {
|
|
788
|
+
setIndex(currentIndex.value + 1);
|
|
789
|
+
}
|
|
790
|
+
const toolbarActions = {
|
|
791
|
+
close: closeViewer,
|
|
792
|
+
prev,
|
|
793
|
+
next,
|
|
794
|
+
zoomIn,
|
|
795
|
+
zoomOut,
|
|
796
|
+
zoomToNatural,
|
|
797
|
+
reset: resetTransform,
|
|
798
|
+
rotateLeft,
|
|
799
|
+
rotateRight,
|
|
800
|
+
download
|
|
801
|
+
};
|
|
802
|
+
__expose(toolbarActions);
|
|
803
|
+
const toolbarSlotProps = computed(() => ({
|
|
804
|
+
index: currentIndex.value,
|
|
805
|
+
src: currentUrl.value,
|
|
806
|
+
alt: currentAlt.value,
|
|
807
|
+
displayIndex: displayIndex.value,
|
|
808
|
+
total: total.value,
|
|
809
|
+
scale: scale.value,
|
|
810
|
+
rotation: rotation.value,
|
|
811
|
+
naturalWidth: naturalWidth.value,
|
|
812
|
+
naturalHeight: naturalHeight.value,
|
|
813
|
+
renderedWidth: renderedWidth.value,
|
|
814
|
+
renderedHeight: renderedHeight.value,
|
|
815
|
+
realScale: realScale.value,
|
|
816
|
+
realScalePercent: realScalePercent.value,
|
|
817
|
+
actions: toolbarActions
|
|
818
|
+
}));
|
|
819
|
+
/**
|
|
820
|
+
* Скачивание текущего кадра.
|
|
821
|
+
*
|
|
822
|
+
* Компонент делает очевидное — `<a download>` на текущий `src` — и сообщает о
|
|
823
|
+
* нажатии событием. Кросс-доменный адрес браузер всё равно скачает не всегда
|
|
824
|
+
* (атрибут `download` он там игнорирует), поэтому подписанные ссылки и свои
|
|
825
|
+
* запросы делаются иначе: `showDownload: false` плюс своя кнопка в слоте
|
|
826
|
+
* `#toolbar-actions`.
|
|
827
|
+
*/
|
|
828
|
+
function download() {
|
|
829
|
+
const item = currentItem.value;
|
|
830
|
+
if (!item?.src) return;
|
|
831
|
+
emit("download", {
|
|
832
|
+
src: item.src,
|
|
833
|
+
alt: item.alt ?? "",
|
|
834
|
+
index: currentIndex.value
|
|
835
|
+
});
|
|
836
|
+
if (typeof document === "undefined") return;
|
|
837
|
+
const link = document.createElement("a");
|
|
838
|
+
link.href = item.src;
|
|
839
|
+
link.download = "";
|
|
840
|
+
link.rel = "noopener";
|
|
841
|
+
document.body.appendChild(link);
|
|
842
|
+
link.click();
|
|
843
|
+
link.remove();
|
|
844
|
+
}
|
|
845
|
+
const { onKeydown } = useViewerKeyboard({ actions: {
|
|
846
|
+
close: closeViewer,
|
|
847
|
+
prev,
|
|
848
|
+
next,
|
|
849
|
+
zoomIn,
|
|
850
|
+
zoomOut,
|
|
851
|
+
reset: resetTransform
|
|
852
|
+
} });
|
|
853
|
+
const panelEl = ref(null);
|
|
854
|
+
const { rootEl, isMounted, isVisible, inertAttr, portalTarget, teleportEnabled, themeAttrs, onPanelAfterLeave: releasePresence, backdrop } = useModalOverlay(open, closeViewer, {
|
|
855
|
+
panel: panelEl,
|
|
856
|
+
closeOnEscape: () => props.closeOnPressEscape,
|
|
857
|
+
closeOnBackdrop: () => props.hideOnClickModal
|
|
858
|
+
});
|
|
859
|
+
watch(() => props.modelValue, async (isOpen) => {
|
|
860
|
+
if (!isOpen) {
|
|
861
|
+
stopObservingImage();
|
|
862
|
+
endWheelZoom();
|
|
863
|
+
resetGestures();
|
|
864
|
+
cancelPan();
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
syncIndexFromInitial();
|
|
868
|
+
await nextTick();
|
|
869
|
+
startObservingImage();
|
|
870
|
+
}, { immediate: true });
|
|
871
|
+
watch(() => props.initialIndex, () => {
|
|
872
|
+
if (!props.modelValue) return;
|
|
873
|
+
syncIndexFromInitial();
|
|
874
|
+
});
|
|
875
|
+
/**
|
|
876
|
+
* Список кадров меняется у живой галереи постоянно: догрузилась следующая
|
|
877
|
+
* страница, заменили один url. Дёрни на любое такое изменение
|
|
878
|
+
* `syncIndexFromInitial()` — пользователя выбросит на `initialIndex` вместе со
|
|
879
|
+
* сброшенным зумом и поворотом.
|
|
880
|
+
*
|
|
881
|
+
* Держимся кадра, а не позиции: если текущий `src` остался в наборе, идём за
|
|
882
|
+
* ним (и трансформации не трогаем). Исчез — остаёмся на своём месте в списке,
|
|
883
|
+
* прижав индекс к границам, и только тогда сбрасываем трансформации: показываем
|
|
884
|
+
* уже другую картинку.
|
|
885
|
+
*/
|
|
886
|
+
watch(items, (next, prev) => {
|
|
887
|
+
if (!props.modelValue) return;
|
|
888
|
+
if (!next.length) {
|
|
889
|
+
currentIndex.value = 0;
|
|
890
|
+
resetTransform();
|
|
891
|
+
resetImageMetrics();
|
|
892
|
+
endWheelZoom();
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
const shownSrc = prev?.[currentIndex.value]?.src;
|
|
896
|
+
const keptIndex = shownSrc ? next.findIndex((item) => item.src === shownSrc) : -1;
|
|
897
|
+
if (keptIndex >= 0) {
|
|
898
|
+
currentIndex.value = keptIndex;
|
|
899
|
+
return;
|
|
900
|
+
}
|
|
901
|
+
currentIndex.value = Math.min(currentIndex.value, next.length - 1);
|
|
902
|
+
resetTransform();
|
|
903
|
+
resetImageMetrics();
|
|
904
|
+
endWheelZoom();
|
|
905
|
+
}, { deep: true });
|
|
906
|
+
/**
|
|
907
|
+
* Соседние кадры греются только у **открытого** просмотрщика: закрытый на
|
|
908
|
+
* странице не должен тянуть два полноразмерных изображения просто потому, что
|
|
909
|
+
* он там есть. `new Image()` существует только в браузере — на сервере эта
|
|
910
|
+
* ветка не выполняется, потому что закрытый просмотрщик до неё не доходит.
|
|
911
|
+
*/
|
|
912
|
+
function preloadNeighbours(index) {
|
|
913
|
+
cancelPreload();
|
|
914
|
+
if (!props.modelValue || !hasImages.value || total.value < 2) return;
|
|
915
|
+
preloadAt(normalizeIndex(index - 1));
|
|
916
|
+
preloadAt(normalizeIndex(index + 1));
|
|
917
|
+
}
|
|
918
|
+
watch([currentIndex, open], ([index]) => preloadNeighbours(index), { immediate: true });
|
|
919
|
+
onBeforeUnmount(() => {
|
|
920
|
+
stopObservingImage();
|
|
921
|
+
endWheelZoom();
|
|
922
|
+
cancelPreload();
|
|
923
|
+
resetGestures();
|
|
924
|
+
cancelPan();
|
|
925
|
+
});
|
|
926
|
+
return (_ctx, _cache) => {
|
|
927
|
+
return openBlock(), createBlock(Teleport, {
|
|
928
|
+
to: unref(portalTarget),
|
|
929
|
+
disabled: !unref(teleportEnabled)
|
|
930
|
+
}, [unref(teleportEnabled) && unref(isMounted) ? (openBlock(), createElementBlock("div", mergeProps({
|
|
931
|
+
key: 0,
|
|
932
|
+
ref_key: "rootEl",
|
|
933
|
+
ref: rootEl
|
|
934
|
+
}, unref(themeAttrs), {
|
|
935
|
+
"data-gr-overlay-root": "",
|
|
936
|
+
inert: unref(inertAttr),
|
|
937
|
+
class: "fixed inset-0",
|
|
938
|
+
style: viewerStyle.value,
|
|
939
|
+
role: "dialog",
|
|
940
|
+
"aria-modal": "true",
|
|
941
|
+
"aria-label": resolvedAriaLabel.value,
|
|
942
|
+
onKeydown: _cache[8] || (_cache[8] = (...args) => unref(onKeydown) && unref(onKeydown)(...args))
|
|
943
|
+
}), [createElementVNode("div", _hoisted_2, [createVNode(Transition, {
|
|
944
|
+
appear: "",
|
|
945
|
+
"enter-active-class": "duration-[var(--gr-duration-fast)] ease-[var(--gr-ease-out)]",
|
|
946
|
+
"enter-from-class": "opacity-0",
|
|
947
|
+
"leave-active-class": "duration-[var(--gr-duration-fast)] ease-[var(--gr-ease-in)]",
|
|
948
|
+
"leave-to-class": "opacity-0"
|
|
949
|
+
}, {
|
|
950
|
+
default: withCtx(() => [unref(isVisible) ? (openBlock(), createElementBlock("div", mergeProps({
|
|
951
|
+
key: 0,
|
|
952
|
+
"data-gr-image-viewer-overlay": "",
|
|
953
|
+
class: unref(scrimClass),
|
|
954
|
+
"aria-hidden": "true"
|
|
955
|
+
}, toHandlers(unref(backdrop), true)), null, 16)) : createCommentVNode("", true)]),
|
|
956
|
+
_: 1
|
|
957
|
+
}), createVNode(Transition, {
|
|
958
|
+
appear: "",
|
|
959
|
+
"enter-active-class": "duration-[var(--gr-duration-base)] ease-[var(--gr-ease-out)]",
|
|
960
|
+
"enter-from-class": "opacity-0 scale-98",
|
|
961
|
+
"leave-active-class": "duration-[var(--gr-duration-fast)] ease-[var(--gr-ease-in)]",
|
|
962
|
+
"leave-to-class": "opacity-0 scale-98",
|
|
963
|
+
onAfterLeave: unref(releasePresence)
|
|
964
|
+
}, {
|
|
965
|
+
default: withCtx(() => [unref(isVisible) ? (openBlock(), createElementBlock("div", {
|
|
966
|
+
key: 0,
|
|
967
|
+
ref_key: "panelEl",
|
|
968
|
+
ref: panelEl,
|
|
969
|
+
"data-gr-image-viewer-panel": "",
|
|
970
|
+
class: "relative z-10 h-full w-full outline-none",
|
|
971
|
+
tabindex: "-1"
|
|
972
|
+
}, [
|
|
973
|
+
createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [__props.showProgress ? (openBlock(), createElementBlock("div", {
|
|
974
|
+
key: 0,
|
|
975
|
+
"data-gr-image-viewer-progress": "",
|
|
976
|
+
class: normalizeClass(["font-600", unref(badgeClass)])
|
|
977
|
+
}, toDisplayString(displayIndex.value) + " / " + toDisplayString(total.value), 3)) : createCommentVNode("", true), __props.showZoomValue ? (openBlock(), createElementBlock("div", {
|
|
978
|
+
key: 1,
|
|
979
|
+
"data-gr-image-viewer-zoom-value": "",
|
|
980
|
+
class: normalizeClass(["font-700", unref(badgeClass)])
|
|
981
|
+
}, toDisplayString(unref(zoomValueText)) + "% ", 3)) : createCommentVNode("", true)]), createElementVNode("button", {
|
|
982
|
+
type: "button",
|
|
983
|
+
"data-gr-image-viewer-close": "",
|
|
984
|
+
"aria-label": resolvedCloseLabel.value,
|
|
985
|
+
class: normalizeClass(["h-11 w-11", unref(chromeButtonClass)]),
|
|
986
|
+
onClick: closeViewer
|
|
987
|
+
}, [createVNode(GrIcon_default, { size: "md" }, {
|
|
988
|
+
default: withCtx(() => [createVNode(unref(x_default))]),
|
|
989
|
+
_: 1
|
|
990
|
+
})], 10, _hoisted_6)])]),
|
|
991
|
+
createElementVNode("div", {
|
|
992
|
+
ref_key: "stageEl",
|
|
993
|
+
ref: stageEl,
|
|
994
|
+
class: "relative z-10 h-full w-full flex items-center justify-center px-16 py-16 sm:px-24 sm:py-20",
|
|
995
|
+
onWheel: _cache[1] || (_cache[1] = (...args) => unref(onWheel) && unref(onWheel)(...args))
|
|
996
|
+
}, [
|
|
997
|
+
total.value > 1 ? (openBlock(), createElementBlock("button", {
|
|
998
|
+
key: 0,
|
|
999
|
+
type: "button",
|
|
1000
|
+
"data-gr-image-viewer-prev": "",
|
|
1001
|
+
"aria-label": resolvedPrevLabel.value,
|
|
1002
|
+
class: normalizeClass(["absolute left-3 top-1/2 z-20 h-12 w-12 -translate-y-1/2 sm:left-6", unref(chromeButtonClass)]),
|
|
1003
|
+
onClick: prev
|
|
1004
|
+
}, [createVNode(GrIcon_default, { size: "lg" }, {
|
|
1005
|
+
default: withCtx(() => [createVNode(unref(chevron_left_default))]),
|
|
1006
|
+
_: 1
|
|
1007
|
+
})], 10, _hoisted_7)) : createCommentVNode("", true),
|
|
1008
|
+
total.value > 1 ? (openBlock(), createElementBlock("button", {
|
|
1009
|
+
key: 1,
|
|
1010
|
+
type: "button",
|
|
1011
|
+
"data-gr-image-viewer-next": "",
|
|
1012
|
+
"aria-label": resolvedNextLabel.value,
|
|
1013
|
+
class: normalizeClass(["absolute right-3 top-1/2 z-20 h-12 w-12 -translate-y-1/2 sm:right-6", unref(chromeButtonClass)]),
|
|
1014
|
+
onClick: next
|
|
1015
|
+
}, [createVNode(GrIcon_default, { size: "lg" }, {
|
|
1016
|
+
default: withCtx(() => [createVNode(unref(chevron_right_default))]),
|
|
1017
|
+
_: 1
|
|
1018
|
+
})], 10, _hoisted_8)) : createCommentVNode("", true),
|
|
1019
|
+
createElementVNode("div", _hoisted_9, [currentUrl.value ? (openBlock(), createElementBlock("img", {
|
|
1020
|
+
key: 0,
|
|
1021
|
+
ref_key: "imageEl",
|
|
1022
|
+
ref: imageEl,
|
|
1023
|
+
"data-gr-image-viewer-image": "",
|
|
1024
|
+
src: currentUrl.value,
|
|
1025
|
+
alt: currentAlt.value,
|
|
1026
|
+
draggable: "false",
|
|
1027
|
+
class: normalizeClass(["max-h-full max-w-full select-none object-contain will-change-transform [touch-action:none]", [imageTransitionClass.value, imageCursorClass.value]]),
|
|
1028
|
+
style: normalizeStyle(unref(imageStyle)),
|
|
1029
|
+
onLoad: _cache[0] || (_cache[0] = (...args) => unref(onImageLoad) && unref(onImageLoad)(...args)),
|
|
1030
|
+
onPointerdown: onPointerDown,
|
|
1031
|
+
onPointermove: onPointerMove,
|
|
1032
|
+
onPointerup: onPointerUp,
|
|
1033
|
+
onPointercancel: onPointerCancel
|
|
1034
|
+
}, null, 46, _hoisted_10)) : (openBlock(), createElementBlock("div", {
|
|
1035
|
+
key: 1,
|
|
1036
|
+
class: normalizeClass(unref(emptyStateClass))
|
|
1037
|
+
}, toDisplayString(resolvedEmptyText.value), 3))])
|
|
1038
|
+
], 544),
|
|
1039
|
+
createElementVNode("div", _hoisted_11, [createElementVNode("div", _hoisted_12, [renderSlot(_ctx.$slots, "toolbar", normalizeProps(guardReactiveProps(toolbarSlotProps.value)), () => [createElementVNode("div", { class: normalizeClass(unref(toolbarShellClass)) }, [
|
|
1040
|
+
createElementVNode("button", {
|
|
1041
|
+
type: "button",
|
|
1042
|
+
"data-gr-image-viewer-zoom-out": "",
|
|
1043
|
+
"aria-label": resolvedZoomOutLabel.value,
|
|
1044
|
+
class: normalizeClass(["h-11 min-w-11 px-2 text-[length:var(--gr-text-sm)] leading-[var(--gr-leading-sm)] font-600", unref(toolbarButtonClass)]),
|
|
1045
|
+
onClick: _cache[2] || (_cache[2] = (...args) => unref(zoomOut) && unref(zoomOut)(...args))
|
|
1046
|
+
}, [createVNode(GrIcon_default, { size: "sm" }, {
|
|
1047
|
+
default: withCtx(() => [createVNode(unref(minus_default))]),
|
|
1048
|
+
_: 1
|
|
1049
|
+
})], 10, _hoisted_13),
|
|
1050
|
+
createElementVNode("button", {
|
|
1051
|
+
type: "button",
|
|
1052
|
+
"data-gr-image-viewer-zoom-reset": "",
|
|
1053
|
+
"aria-label": resolvedResetZoomLabel.value,
|
|
1054
|
+
class: normalizeClass(["h-11 min-w-11 px-3 text-[length:var(--gr-text-xs)] leading-[var(--gr-leading-xs)] font-700", unref(toolbarButtonClass)]),
|
|
1055
|
+
onClick: _cache[3] || (_cache[3] = (...args) => unref(resetTransform) && unref(resetTransform)(...args))
|
|
1056
|
+
}, " 100% ", 10, _hoisted_14),
|
|
1057
|
+
createElementVNode("button", {
|
|
1058
|
+
type: "button",
|
|
1059
|
+
"data-gr-image-viewer-zoom-natural": "",
|
|
1060
|
+
"aria-label": resolvedZoomToNaturalLabel.value,
|
|
1061
|
+
class: normalizeClass(["h-11 min-w-11 px-3 text-[length:var(--gr-text-xs)] leading-[var(--gr-leading-xs)] font-700", unref(toolbarButtonClass)]),
|
|
1062
|
+
onClick: _cache[4] || (_cache[4] = (...args) => unref(zoomToNatural) && unref(zoomToNatural)(...args))
|
|
1063
|
+
}, " 1:1 ", 10, _hoisted_15),
|
|
1064
|
+
createElementVNode("button", {
|
|
1065
|
+
type: "button",
|
|
1066
|
+
"data-gr-image-viewer-zoom-in": "",
|
|
1067
|
+
"aria-label": resolvedZoomInLabel.value,
|
|
1068
|
+
class: normalizeClass(["h-11 min-w-11 px-2 text-[length:var(--gr-text-sm)] leading-[var(--gr-leading-sm)] font-600", unref(toolbarButtonClass)]),
|
|
1069
|
+
onClick: _cache[5] || (_cache[5] = (...args) => unref(zoomIn) && unref(zoomIn)(...args))
|
|
1070
|
+
}, [createVNode(GrIcon_default, { size: "sm" }, {
|
|
1071
|
+
default: withCtx(() => [createVNode(unref(plus_default))]),
|
|
1072
|
+
_: 1
|
|
1073
|
+
})], 10, _hoisted_16),
|
|
1074
|
+
__props.showDownload ? (openBlock(), createElementBlock("button", {
|
|
1075
|
+
key: 0,
|
|
1076
|
+
type: "button",
|
|
1077
|
+
"data-gr-image-viewer-download": "",
|
|
1078
|
+
"aria-label": resolvedDownloadLabel.value,
|
|
1079
|
+
class: normalizeClass(["h-11 min-w-11 px-2 text-[length:var(--gr-text-sm)] leading-[var(--gr-leading-sm)] font-600", unref(toolbarButtonClass)]),
|
|
1080
|
+
onClick: download
|
|
1081
|
+
}, [createVNode(GrIcon_default, { size: "sm" }, {
|
|
1082
|
+
default: withCtx(() => [createVNode(unref(download_default))]),
|
|
1083
|
+
_: 1
|
|
1084
|
+
})], 10, _hoisted_17)) : createCommentVNode("", true),
|
|
1085
|
+
_ctx.$slots["toolbar-actions"] ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1086
|
+
createElementVNode("div", {
|
|
1087
|
+
class: normalizeClass(unref(toolbarSeparatorClass)),
|
|
1088
|
+
"aria-hidden": "true"
|
|
1089
|
+
}, null, 2),
|
|
1090
|
+
renderSlot(_ctx.$slots, "toolbar-actions", normalizeProps(guardReactiveProps(toolbarSlotProps.value))),
|
|
1091
|
+
createElementVNode("div", {
|
|
1092
|
+
class: normalizeClass(unref(toolbarSeparatorClass)),
|
|
1093
|
+
"aria-hidden": "true"
|
|
1094
|
+
}, null, 2)
|
|
1095
|
+
], 64)) : (openBlock(), createElementBlock("div", {
|
|
1096
|
+
key: 2,
|
|
1097
|
+
class: normalizeClass(unref(toolbarSeparatorClass)),
|
|
1098
|
+
"aria-hidden": "true"
|
|
1099
|
+
}, null, 2)),
|
|
1100
|
+
createElementVNode("button", {
|
|
1101
|
+
type: "button",
|
|
1102
|
+
"data-gr-image-viewer-rotate-left": "",
|
|
1103
|
+
"aria-label": resolvedRotateLeftLabel.value,
|
|
1104
|
+
class: normalizeClass(["h-11 min-w-11 px-2 text-[length:var(--gr-text-sm)] leading-[var(--gr-leading-sm)] font-600", unref(toolbarButtonClass)]),
|
|
1105
|
+
onClick: _cache[6] || (_cache[6] = (...args) => unref(rotateLeft) && unref(rotateLeft)(...args))
|
|
1106
|
+
}, [createVNode(GrIcon_default, { size: "sm" }, {
|
|
1107
|
+
default: withCtx(() => [createVNode(unref(rotate_ccw_default))]),
|
|
1108
|
+
_: 1
|
|
1109
|
+
})], 10, _hoisted_18),
|
|
1110
|
+
createElementVNode("button", {
|
|
1111
|
+
type: "button",
|
|
1112
|
+
"data-gr-image-viewer-rotate-right": "",
|
|
1113
|
+
"aria-label": resolvedRotateRightLabel.value,
|
|
1114
|
+
class: normalizeClass(["h-11 min-w-11 px-2 text-[length:var(--gr-text-sm)] leading-[var(--gr-leading-sm)] font-600", unref(toolbarButtonClass)]),
|
|
1115
|
+
onClick: _cache[7] || (_cache[7] = (...args) => unref(rotateRight) && unref(rotateRight)(...args))
|
|
1116
|
+
}, [createVNode(GrIcon_default, { size: "sm" }, {
|
|
1117
|
+
default: withCtx(() => [createVNode(unref(rotate_cw_default))]),
|
|
1118
|
+
_: 1
|
|
1119
|
+
})], 10, _hoisted_19)
|
|
1120
|
+
], 2)])])])
|
|
1121
|
+
], 512)) : createCommentVNode("", true)]),
|
|
1122
|
+
_: 3
|
|
1123
|
+
}, 8, ["onAfterLeave"])])], 16, _hoisted_1)) : createCommentVNode("", true)], 8, ["to", "disabled"]);
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
});
|
|
1127
|
+
//#endregion
|
|
1128
|
+
export { GrImageViewer_default as t };
|