@wow-two-beta/fe 0.0.0-stage → 0.0.19
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/LICENSE +21 -0
- package/README.md +275 -2
- package/dist/analytics/Analytics.d.ts +50 -0
- package/dist/analytics/AnalyticsEvent.d.ts +49 -0
- package/dist/analytics/AnalyticsProvider.d.ts +37 -0
- package/dist/analytics/ConsoleAnalyticsProvider.d.ts +8 -0
- package/dist/analytics/MemoryAnalyticsProvider.d.ts +19 -0
- package/dist/analytics/index.d.ts +5 -0
- package/dist/analytics/index.js +207 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/auth/AuthBridge.d.ts +28 -0
- package/dist/auth/AuthSession.d.ts +48 -0
- package/dist/auth/BearerStrategy.d.ts +40 -0
- package/dist/auth/CookieStrategy.d.ts +32 -0
- package/dist/auth/RedirectStrategy.d.ts +24 -0
- package/dist/auth/TokenStorage.d.ts +9 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +423 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/providers/AuthContext.d.ts +43 -0
- package/dist/auth/providers/AuthProvider.vue.d.ts +41 -0
- package/dist/chunks/Accept-BWpCXDmS.js +35 -0
- package/dist/chunks/Accept-BWpCXDmS.js.map +1 -0
- package/dist/chunks/Align-DqFtCY3a.js +12 -0
- package/dist/chunks/Align-DqFtCY3a.js.map +1 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js +53 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js.map +1 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js +59 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js.map +1 -0
- package/dist/chunks/ApiError-D_6igkXc.js +41 -0
- package/dist/chunks/ApiError-D_6igkXc.js.map +1 -0
- package/dist/chunks/AppErrorFactory-dJRdiY_c.js +43 -0
- package/dist/chunks/AppErrorFactory-dJRdiY_c.js.map +1 -0
- package/dist/chunks/AppErrorType-Ctku504z.js +15 -0
- package/dist/chunks/AppErrorType-Ctku504z.js.map +1 -0
- package/dist/chunks/AriaAttribute-CmUjjXjp.js +42 -0
- package/dist/chunks/AriaAttribute-CmUjjXjp.js.map +1 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dge5C6We.js +957 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dge5C6We.js.map +1 -0
- package/dist/chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js +76 -0
- package/dist/chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js.map +1 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js +665 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js.map +1 -0
- package/dist/chunks/Bytes-CzQrdbN4.js +21 -0
- package/dist/chunks/Bytes-CzQrdbN4.js.map +1 -0
- package/dist/chunks/Chord-C3OKRsgk.js +139 -0
- package/dist/chunks/Chord-C3OKRsgk.js.map +1 -0
- package/dist/chunks/Cn-C7De6POU.js +9 -0
- package/dist/chunks/Cn-C7De6POU.js.map +1 -0
- package/dist/chunks/ColorExtensions-DiCSaVbJ.js +53 -0
- package/dist/chunks/ColorExtensions-DiCSaVbJ.js.map +1 -0
- package/dist/chunks/ColorModeContext-ivCR7JC9.js +21 -0
- package/dist/chunks/ColorModeContext-ivCR7JC9.js.map +1 -0
- package/dist/chunks/Compare-MahFiFTq.js +14 -0
- package/dist/chunks/Compare-MahFiFTq.js.map +1 -0
- package/dist/chunks/ComposeEventHandlers-rgxao5aD.js +12 -0
- package/dist/chunks/ComposeEventHandlers-rgxao5aD.js.map +1 -0
- package/dist/chunks/CornerPosition-FneGck5D.js +14 -0
- package/dist/chunks/CornerPosition-FneGck5D.js.map +1 -0
- package/dist/chunks/CssExtensions-ctGVlfYU.js +161 -0
- package/dist/chunks/CssExtensions-ctGVlfYU.js.map +1 -0
- package/dist/chunks/DataAttr-7BR67dTj.js +7 -0
- package/dist/chunks/DataAttr-7BR67dTj.js.map +1 -0
- package/dist/chunks/DeepEqual-ZQxZetIm.js +200 -0
- package/dist/chunks/DeepEqual-ZQxZetIm.js.map +1 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js +86 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js.map +1 -0
- package/dist/chunks/DomOrderExtensions-Czsyvn6e.js +16 -0
- package/dist/chunks/DomOrderExtensions-Czsyvn6e.js.map +1 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-Dl8CP4-K.js +216 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-Dl8CP4-K.js.map +1 -0
- package/dist/chunks/EmojiCatalog-BZxsd9fO.js +1928 -0
- package/dist/chunks/EmojiCatalog-BZxsd9fO.js.map +1 -0
- package/dist/chunks/EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js +93 -0
- package/dist/chunks/EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js.map +1 -0
- package/dist/chunks/Environment-BLuXHzzF.js +16 -0
- package/dist/chunks/Environment-BLuXHzzF.js.map +1 -0
- package/dist/chunks/Equality-BabbLMBX.js +27 -0
- package/dist/chunks/Equality-BabbLMBX.js.map +1 -0
- package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js +2229 -0
- package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js.map +1 -0
- package/dist/chunks/ErrorLike-CRnbeEM0.js +27 -0
- package/dist/chunks/ErrorLike-CRnbeEM0.js.map +1 -0
- package/dist/chunks/ErrorRecognizers-DO2SHD6N.js +17 -0
- package/dist/chunks/ErrorRecognizers-DO2SHD6N.js.map +1 -0
- package/dist/chunks/ExactNumber-CboRl3_0.js +224 -0
- package/dist/chunks/ExactNumber-CboRl3_0.js.map +1 -0
- package/dist/chunks/FeedbackBus-Xc9EjV9K.js +133 -0
- package/dist/chunks/FeedbackBus-Xc9EjV9K.js.map +1 -0
- package/dist/chunks/FieldErrorCallout.vue_vue_type_script_setup_true_lang-BRcaaXCd.js +55 -0
- package/dist/chunks/FieldErrorCallout.vue_vue_type_script_setup_true_lang-BRcaaXCd.js.map +1 -0
- package/dist/chunks/FieldErrors-D_j6AF0Z.js +58 -0
- package/dist/chunks/FieldErrors-D_j6AF0Z.js.map +1 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js +1253 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js.map +1 -0
- package/dist/chunks/FileName-DUtj4I5A.js +33 -0
- package/dist/chunks/FileName-DUtj4I5A.js.map +1 -0
- package/dist/chunks/FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js +248 -0
- package/dist/chunks/FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js.map +1 -0
- package/dist/chunks/FormControlContext-B71MFW26.js +22 -0
- package/dist/chunks/FormControlContext-B71MFW26.js.map +1 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js +70 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js.map +1 -0
- package/dist/chunks/GoogleIdentity-WSQsNIRW.js +148 -0
- package/dist/chunks/GoogleIdentity-WSQsNIRW.js.map +1 -0
- package/dist/chunks/Guid-B7Tl9qf4.js +71 -0
- package/dist/chunks/Guid-B7Tl9qf4.js.map +1 -0
- package/dist/chunks/HtmlValues-jlKY5f9C.js +23 -0
- package/dist/chunks/HtmlValues-jlKY5f9C.js.map +1 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js +31 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js.map +1 -0
- package/dist/chunks/InlineLayout.vue_vue_type_script_setup_true_lang-c_IaJYJj.js +69 -0
- package/dist/chunks/InlineLayout.vue_vue_type_script_setup_true_lang-c_IaJYJj.js.map +1 -0
- package/dist/chunks/IntlCache-BXEZTK-K.js +25 -0
- package/dist/chunks/IntlCache-BXEZTK-K.js.map +1 -0
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js +10776 -0
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js.map +1 -0
- package/dist/chunks/Key-CQlkK53D.js +34 -0
- package/dist/chunks/Key-CQlkK53D.js.map +1 -0
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-Bc3nV-BB.js +2256 -0
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-Bc3nV-BB.js.map +1 -0
- package/dist/chunks/LocaleContext-B7vUZmX-.js +41 -0
- package/dist/chunks/LocaleContext-B7vUZmX-.js.map +1 -0
- package/dist/chunks/LocaleFormatters-DadF2y7-.js +142 -0
- package/dist/chunks/LocaleFormatters-DadF2y7-.js.map +1 -0
- package/dist/chunks/LosslessJson-SONghrus.js +241 -0
- package/dist/chunks/LosslessJson-SONghrus.js.map +1 -0
- package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-DYy0asRz.js +3529 -0
- package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-DYy0asRz.js.map +1 -0
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-vfxAeyB7.js +18733 -0
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-vfxAeyB7.js.map +1 -0
- package/dist/chunks/Messages-N-aICEvI.js +204 -0
- package/dist/chunks/Messages-N-aICEvI.js.map +1 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-qaoe6djs.js +91 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-qaoe6djs.js.map +1 -0
- package/dist/chunks/NavbarContext-Cfd4u3xf.js +12 -0
- package/dist/chunks/NavbarContext-Cfd4u3xf.js.map +1 -0
- package/dist/chunks/OptionalExtensions-NiO6gV0W.js +10 -0
- package/dist/chunks/OptionalExtensions-NiO6gV0W.js.map +1 -0
- package/dist/chunks/Orientation-u-sYunuG.js +10 -0
- package/dist/chunks/Orientation-u-sYunuG.js.map +1 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js +33 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js.map +1 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js +18 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js.map +1 -0
- package/dist/chunks/PageHeader.vue_vue_type_script_setup_true_lang-DdwVPgFR.js +90 -0
- package/dist/chunks/PageHeader.vue_vue_type_script_setup_true_lang-DdwVPgFR.js.map +1 -0
- package/dist/chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js +124 -0
- package/dist/chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js.map +1 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js +271 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js.map +1 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js +32 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js.map +1 -0
- package/dist/chunks/Presence-DDk0ZtAr.js +141 -0
- package/dist/chunks/Presence-DDk0ZtAr.js.map +1 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js +16 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js.map +1 -0
- package/dist/chunks/Primitive-D-9ShOm7.js +21 -0
- package/dist/chunks/Primitive-D-9ShOm7.js.map +1 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js +16 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js.map +1 -0
- package/dist/chunks/QueryPermission-24wDTTTP.js +95 -0
- package/dist/chunks/QueryPermission-24wDTTTP.js.map +1 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js +12 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js.map +1 -0
- package/dist/chunks/ReadableForeground-CgfzP7Tl.js +185 -0
- package/dist/chunks/ReadableForeground-CgfzP7Tl.js.map +1 -0
- package/dist/chunks/RelativeTimeParts-CMPp-i9m.js +33 -0
- package/dist/chunks/RelativeTimeParts-CMPp-i9m.js.map +1 -0
- package/dist/chunks/ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js +135 -0
- package/dist/chunks/ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js.map +1 -0
- package/dist/chunks/RequestScope-Dh0CoWZg.js +90 -0
- package/dist/chunks/RequestScope-Dh0CoWZg.js.map +1 -0
- package/dist/chunks/ResolveElement-CyRfM82x.js +29 -0
- package/dist/chunks/ResolveElement-CyRfM82x.js.map +1 -0
- package/dist/chunks/ResultExtensions-B7dWH0FZ.js +58 -0
- package/dist/chunks/ResultExtensions-B7dWH0FZ.js.map +1 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js +246 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js.map +1 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-C6WDtqT0.js +20 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-C6WDtqT0.js.map +1 -0
- package/dist/chunks/ScrollRegion-CO8KnKUY.js +10 -0
- package/dist/chunks/ScrollRegion-CO8KnKUY.js.map +1 -0
- package/dist/chunks/SectionHeading.vue_vue_type_script_setup_true_lang-CaN3iIR_.js +219 -0
- package/dist/chunks/SectionHeading.vue_vue_type_script_setup_true_lang-CaN3iIR_.js.map +1 -0
- package/dist/chunks/SerializeError-BzTdy-3I.js +61 -0
- package/dist/chunks/SerializeError-BzTdy-3I.js.map +1 -0
- package/dist/chunks/Severity-D0C5oAt-.js +16 -0
- package/dist/chunks/Severity-D0C5oAt-.js.map +1 -0
- package/dist/chunks/SeverityIcons-KuC3ZBkI.js +20 -0
- package/dist/chunks/SeverityIcons-KuC3ZBkI.js.map +1 -0
- package/dist/chunks/Side-Kw61CDou.js +14 -0
- package/dist/chunks/Side-Kw61CDou.js.map +1 -0
- package/dist/chunks/SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js +2957 -0
- package/dist/chunks/SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js.map +1 -0
- package/dist/chunks/SkeletonStateContext-tVYMa6xt.js +103 -0
- package/dist/chunks/SkeletonStateContext-tVYMa6xt.js.map +1 -0
- package/dist/chunks/SkeletonStateLine-anGWn2Vm.js +64 -0
- package/dist/chunks/SkeletonStateLine-anGWn2Vm.js.map +1 -0
- package/dist/chunks/Slot-BGJ_Mr_j.js +127 -0
- package/dist/chunks/Slot-BGJ_Mr_j.js.map +1 -0
- package/dist/chunks/Sort-fDS6a_c3.js +241 -0
- package/dist/chunks/Sort-fDS6a_c3.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-CPor3q8_.js +78 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-CPor3q8_.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-r-JKoC-U.js +28 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-r-JKoC-U.js.map +1 -0
- package/dist/chunks/StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js +172 -0
- package/dist/chunks/StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js.map +1 -0
- package/dist/chunks/StatusTone-BoPK1s09.js +16 -0
- package/dist/chunks/StatusTone-BoPK1s09.js.map +1 -0
- package/dist/chunks/StorageBroker-BCd8Sov7.js +75 -0
- package/dist/chunks/StorageBroker-BCd8Sov7.js.map +1 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js +65 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js.map +1 -0
- package/dist/chunks/SubmitErrors-C7nolUN1.js +403 -0
- package/dist/chunks/SubmitErrors-C7nolUN1.js.map +1 -0
- package/dist/chunks/SurfaceStyles-B8KNkFsm.js +156 -0
- package/dist/chunks/SurfaceStyles-B8KNkFsm.js.map +1 -0
- package/dist/chunks/Text.vue_vue_type_script_setup_true_lang-DjUtnxS2.js +156 -0
- package/dist/chunks/Text.vue_vue_type_script_setup_true_lang-DjUtnxS2.js.map +1 -0
- package/dist/chunks/ToError-vXncXe19.js +52 -0
- package/dist/chunks/ToError-vXncXe19.js.map +1 -0
- package/dist/chunks/ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js +719 -0
- package/dist/chunks/ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js.map +1 -0
- package/dist/chunks/Tones-CQu-OvAk.js +123 -0
- package/dist/chunks/Tones-CQu-OvAk.js.map +1 -0
- package/dist/chunks/Tooltip.vue_vue_type_script_setup_true_lang-AzuqiFWY.js +151 -0
- package/dist/chunks/Tooltip.vue_vue_type_script_setup_true_lang-AzuqiFWY.js.map +1 -0
- package/dist/chunks/TourPopover.vue_vue_type_script_setup_true_lang-BlajHcdp.js +384 -0
- package/dist/chunks/TourPopover.vue_vue_type_script_setup_true_lang-BlajHcdp.js.map +1 -0
- package/dist/chunks/TransitionExtensions-HyBfcJnn.js +19 -0
- package/dist/chunks/TransitionExtensions-HyBfcJnn.js.map +1 -0
- package/dist/chunks/UrlExtensions-DqgLm0KY.js +46 -0
- package/dist/chunks/UrlExtensions-DqgLm0KY.js.map +1 -0
- package/dist/chunks/UrlRedaction-DjKi7pYP.js +144 -0
- package/dist/chunks/UrlRedaction-DjKi7pYP.js.map +1 -0
- package/dist/chunks/UseClipboard-x6nEdQ9f.js +230 -0
- package/dist/chunks/UseClipboard-x6nEdQ9f.js.map +1 -0
- package/dist/chunks/UseControlled-BQneb7BW.js +29 -0
- package/dist/chunks/UseControlled-BQneb7BW.js.map +1 -0
- package/dist/chunks/UseDebounceHandler-BIZgvvGp.js +20 -0
- package/dist/chunks/UseDebounceHandler-BIZgvvGp.js.map +1 -0
- package/dist/chunks/UseEscape-3hj5BJus.js +15 -0
- package/dist/chunks/UseEscape-3hj5BJus.js.map +1 -0
- package/dist/chunks/UseEventListener-C1WgWGoT.js +17 -0
- package/dist/chunks/UseEventListener-C1WgWGoT.js.map +1 -0
- package/dist/chunks/UseHotkeys-Dapfyg78.js +82 -0
- package/dist/chunks/UseHotkeys-Dapfyg78.js.map +1 -0
- package/dist/chunks/UseId-CtgAhGrn.js +9 -0
- package/dist/chunks/UseId-CtgAhGrn.js.map +1 -0
- package/dist/chunks/UseIntersectionObserver-yknQTqtG.js +92 -0
- package/dist/chunks/UseIntersectionObserver-yknQTqtG.js.map +1 -0
- package/dist/chunks/UseLocaleDefaults-DnL2Ctbe.js +26 -0
- package/dist/chunks/UseLocaleDefaults-DnL2Ctbe.js.map +1 -0
- package/dist/chunks/UseMutationObserver-Df2C_0Vc.js +54 -0
- package/dist/chunks/UseMutationObserver-Df2C_0Vc.js.map +1 -0
- package/dist/chunks/UseNavigationProgress-Bx_MWd39.js +51 -0
- package/dist/chunks/UseNavigationProgress-Bx_MWd39.js.map +1 -0
- package/dist/chunks/UseOutsideClick-8TTSb9x6.js +57 -0
- package/dist/chunks/UseOutsideClick-8TTSb9x6.js.map +1 -0
- package/dist/chunks/UseRecentItems-BV7p4em6.js +63 -0
- package/dist/chunks/UseRecentItems-BV7p4em6.js.map +1 -0
- package/dist/chunks/UseReducedMotion-NZ5fg-Xb.js +36 -0
- package/dist/chunks/UseReducedMotion-NZ5fg-Xb.js.map +1 -0
- package/dist/chunks/UseResizeObserver-Des0Rurq.js +21 -0
- package/dist/chunks/UseResizeObserver-Des0Rurq.js.map +1 -0
- package/dist/chunks/UseScrollLock-BAu79cm4.js +34 -0
- package/dist/chunks/UseScrollLock-BAu79cm4.js.map +1 -0
- package/dist/chunks/UseTypeahead-C-y7nBo2.js +82 -0
- package/dist/chunks/UseTypeahead-C-y7nBo2.js.map +1 -0
- package/dist/chunks/UseUndoHistory-C0ASU3yD.js +341 -0
- package/dist/chunks/UseUndoHistory-C0ASU3yD.js.map +1 -0
- package/dist/chunks/UseVirtualList-z9RT3QNb.js +305 -0
- package/dist/chunks/UseVirtualList-z9RT3QNb.js.map +1 -0
- package/dist/chunks/index-Ba7VG4pV.js +14 -0
- package/dist/chunks/index-Ba7VG4pV.js.map +1 -0
- package/dist/chunks/index-C-r59Hob.js +91 -0
- package/dist/chunks/index-C-r59Hob.js.map +1 -0
- package/dist/chunks/index-ClXOmDLK.js +9 -0
- package/dist/chunks/index-ClXOmDLK.js.map +1 -0
- package/dist/chunks/index-CuiXILXc.js +321 -0
- package/dist/chunks/index-CuiXILXc.js.map +1 -0
- package/dist/chunks/index-CvEjoKow.js +2174 -0
- package/dist/chunks/index-CvEjoKow.js.map +1 -0
- package/dist/chunks/index-DOC7DwST.js +12 -0
- package/dist/chunks/index-DOC7DwST.js.map +1 -0
- package/dist/chunks/index-DQ01kvk7.js +28 -0
- package/dist/chunks/index-DQ01kvk7.js.map +1 -0
- package/dist/chunks/index-DvwkyLSw.js +10 -0
- package/dist/chunks/index-DvwkyLSw.js.map +1 -0
- package/dist/chunks/index-KL15HQew.js +61 -0
- package/dist/chunks/index-KL15HQew.js.map +1 -0
- package/dist/chunks/index-MaHUsR-O.js +11 -0
- package/dist/chunks/index-MaHUsR-O.js.map +1 -0
- package/dist/chunks/index-rh4HVTr5.js +123 -0
- package/dist/chunks/index-rh4HVTr5.js.map +1 -0
- package/dist/domain/color/Gradient.d.ts +60 -0
- package/dist/domain/color/GradientType.d.ts +8 -0
- package/dist/domain/color/index.d.ts +3 -0
- package/dist/domain/color/index.js +6 -0
- package/dist/domain/color/index.js.map +1 -0
- package/dist/domain/emoji/EmojiCatalog.d.ts +28 -0
- package/dist/domain/emoji/EmojiCatalogData.d.ts +3 -0
- package/dist/domain/emoji/EmojiCategory.d.ts +20 -0
- package/dist/domain/emoji/index.d.ts +3 -0
- package/dist/domain/emoji/index.js +6 -0
- package/dist/domain/emoji/index.js.map +1 -0
- package/dist/domain/imageEditing/ImageEditRecipe.d.ts +37 -0
- package/dist/domain/imageEditing/ImageEditRecipeExtensions.d.ts +11 -0
- package/dist/domain/imageEditing/index.d.ts +2 -0
- package/dist/domain/imageEditing/index.js +45 -0
- package/dist/domain/imageEditing/index.js.map +1 -0
- package/dist/feedback/FeedbackBus.d.ts +125 -0
- package/dist/feedback/FeedbackQueryErrors.d.ts +26 -0
- package/dist/feedback/index.d.ts +2 -0
- package/dist/feedback/index.js +31 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/flags/FlagClient.d.ts +72 -0
- package/dist/flags/FlagProvider.d.ts +38 -0
- package/dist/flags/FlagTypes.d.ts +91 -0
- package/dist/flags/StaticFlagProvider.d.ts +45 -0
- package/dist/flags/index.d.ts +6 -0
- package/dist/flags/index.js +379 -0
- package/dist/flags/index.js.map +1 -0
- package/dist/flags/providers/FlagsContext.d.ts +33 -0
- package/dist/flags/providers/FlagsProvider.vue.d.ts +24 -0
- package/dist/formsEngine/AppForm.d.ts +261 -0
- package/dist/formsEngine/DeepEqual.d.ts +8 -0
- package/dist/formsEngine/FocusFirstInvalid.d.ts +9 -0
- package/dist/formsEngine/FormArrayIdentity.d.ts +8 -0
- package/dist/formsEngine/FormGlue.d.ts +54 -0
- package/dist/formsEngine/FormOperations.d.ts +11 -0
- package/dist/formsEngine/FormSnapshot.d.ts +7 -0
- package/dist/formsEngine/Paths.d.ts +47 -0
- package/dist/formsEngine/SchemaValidation.d.ts +39 -0
- package/dist/formsEngine/StandardSchema.d.ts +55 -0
- package/dist/formsEngine/SubmitErrors.d.ts +28 -0
- package/dist/formsEngine/UseFieldArray.d.ts +97 -0
- package/dist/formsEngine/UseFormDialogSession.d.ts +19 -0
- package/dist/formsEngine/adapters/house/HouseFormCore.d.ts +34 -0
- package/dist/formsEngine/adapters/house/UseAppForm.d.ts +16 -0
- package/dist/formsEngine/adapters/house/index.d.ts +7 -0
- package/dist/formsEngine/adapters/house/index.js +468 -0
- package/dist/formsEngine/adapters/house/index.js.map +1 -0
- package/dist/formsEngine/adapters/tanstack/TanstackFormOverlay.d.ts +56 -0
- package/dist/formsEngine/adapters/tanstack/UseAppForm.d.ts +26 -0
- package/dist/formsEngine/adapters/tanstack/index.d.ts +8 -0
- package/dist/formsEngine/adapters/tanstack/index.js +537 -0
- package/dist/formsEngine/adapters/tanstack/index.js.map +1 -0
- package/dist/formsEngine/index.d.ts +11 -0
- package/dist/formsEngine/index.js +95 -0
- package/dist/formsEngine/index.js.map +1 -0
- package/dist/foundation/animation/Animate.d.ts +73 -0
- package/dist/foundation/animation/Flip.d.ts +90 -0
- package/dist/foundation/animation/TransitionExtensions.d.ts +18 -0
- package/dist/foundation/animation/UseFlip.d.ts +22 -0
- package/dist/foundation/animation/animatedLayout/AnimatedLayout.d.ts +85 -0
- package/dist/foundation/animation/animatedLayout/index.d.ts +1 -0
- package/dist/foundation/animation/index.d.ts +6 -0
- package/dist/foundation/animation/index.js +242 -0
- package/dist/foundation/animation/index.js.map +1 -0
- package/dist/foundation/async/Abort.d.ts +33 -0
- package/dist/foundation/async/Combinators.d.ts +17 -0
- package/dist/foundation/async/Deferred.d.ts +18 -0
- package/dist/foundation/async/Limit.d.ts +36 -0
- package/dist/foundation/async/Rate.d.ts +31 -0
- package/dist/foundation/async/Retry.d.ts +20 -0
- package/dist/foundation/async/Timeout.d.ts +32 -0
- package/dist/foundation/async/UseDebounceHandler.d.ts +16 -0
- package/dist/foundation/async/UseDebouncedValue.d.ts +7 -0
- package/dist/foundation/async/index.d.ts +9 -0
- package/dist/foundation/async/index.js +313 -0
- package/dist/foundation/async/index.js.map +1 -0
- package/dist/foundation/channels/CreateSyncChannel.d.ts +16 -0
- package/dist/foundation/channels/LeaderElection.d.ts +97 -0
- package/dist/foundation/channels/MemorySyncHub.d.ts +29 -0
- package/dist/foundation/channels/SyncChannel.d.ts +76 -0
- package/dist/foundation/channels/hooks/UseBroadcastState.d.ts +31 -0
- package/dist/foundation/channels/hooks/UseLeaderElection.d.ts +25 -0
- package/dist/foundation/channels/hooks/UseSyncChannel.d.ts +16 -0
- package/dist/foundation/channels/index.d.ts +7 -0
- package/dist/foundation/channels/index.js +514 -0
- package/dist/foundation/channels/index.js.map +1 -0
- package/dist/foundation/clipboard/ClipboardFailureCode.d.ts +7 -0
- package/dist/foundation/clipboard/ClipboardPermission.d.ts +23 -0
- package/dist/foundation/clipboard/ClipboardResult.d.ts +68 -0
- package/dist/foundation/clipboard/ClipboardSupport.d.ts +66 -0
- package/dist/foundation/clipboard/CopyItems.d.ts +44 -0
- package/dist/foundation/clipboard/CopyText.d.ts +16 -0
- package/dist/foundation/clipboard/LegacyCopy.d.ts +38 -0
- package/dist/foundation/clipboard/PasteItems.d.ts +25 -0
- package/dist/foundation/clipboard/ReadClipboard.d.ts +28 -0
- package/dist/foundation/clipboard/hooks/UseClipboard.d.ts +25 -0
- package/dist/foundation/clipboard/hooks/UseClipboardCopy.d.ts +40 -0
- package/dist/foundation/clipboard/hooks/UsePasteHandler.d.ts +35 -0
- package/dist/foundation/clipboard/index.d.ts +12 -0
- package/dist/foundation/clipboard/index.js +303 -0
- package/dist/foundation/clipboard/index.js.map +1 -0
- package/dist/foundation/clipboard/models/ClipboardFailure.d.ts +11 -0
- package/dist/foundation/clipboard/models/ClipboardReadItemsResult.d.ts +5 -0
- package/dist/foundation/clipboard/models/ClipboardReadTextResult.d.ts +4 -0
- package/dist/foundation/clipboard/models/ClipboardWriteResult.d.ts +4 -0
- package/dist/foundation/collections/Arrays.d.ts +131 -0
- package/dist/foundation/collections/Comparison.d.ts +39 -0
- package/dist/foundation/collections/Equality.d.ts +13 -0
- package/dist/foundation/collections/Records.d.ts +72 -0
- package/dist/foundation/collections/SetOps.d.ts +45 -0
- package/dist/foundation/collections/Tree.d.ts +64 -0
- package/dist/foundation/collections/index.d.ts +6 -0
- package/dist/foundation/collections/index.js +470 -0
- package/dist/foundation/collections/index.js.map +1 -0
- package/dist/foundation/commands/Command.d.ts +38 -0
- package/dist/foundation/commands/CommandRegistry.d.ts +37 -0
- package/dist/foundation/commands/CommandRunFailureCode.d.ts +7 -0
- package/dist/foundation/commands/CommandShortcut.d.ts +8 -0
- package/dist/foundation/commands/SearchCommands.d.ts +28 -0
- package/dist/foundation/commands/hooks/UseCommandRegistry.d.ts +19 -0
- package/dist/foundation/commands/hooks/UseCommandShortcuts.d.ts +18 -0
- package/dist/foundation/commands/index.d.ts +11 -0
- package/dist/foundation/commands/index.js +318 -0
- package/dist/foundation/commands/index.js.map +1 -0
- package/dist/foundation/commands/models/CommandRunFailure.d.ts +11 -0
- package/dist/foundation/commands/models/CommandRunResult.d.ts +4 -0
- package/dist/foundation/commands/providers/CommandsContext.d.ts +30 -0
- package/dist/foundation/commands/providers/CommandsProvider.vue.d.ts +18 -0
- package/dist/foundation/config/ConfigField.d.ts +71 -0
- package/dist/foundation/config/ConfigSource.d.ts +24 -0
- package/dist/foundation/config/DefineConfig.d.ts +43 -0
- package/dist/foundation/config/Environment.d.ts +12 -0
- package/dist/foundation/config/index.d.ts +4 -0
- package/dist/foundation/config/index.js +210 -0
- package/dist/foundation/config/index.js.map +1 -0
- package/dist/foundation/crypto/Digest.d.ts +39 -0
- package/dist/foundation/crypto/Encoding.d.ts +46 -0
- package/dist/foundation/crypto/HashObject.d.ts +9 -0
- package/dist/foundation/crypto/Random.d.ts +32 -0
- package/dist/foundation/crypto/TimingSafeEqual.d.ts +12 -0
- package/dist/foundation/crypto/WebCrypto.d.ts +15 -0
- package/dist/foundation/crypto/index.d.ts +6 -0
- package/dist/foundation/crypto/index.js +221 -0
- package/dist/foundation/crypto/index.js.map +1 -0
- package/dist/foundation/datetime/Arithmetic.d.ts +31 -0
- package/dist/foundation/datetime/Boundaries.d.ts +24 -0
- package/dist/foundation/datetime/Comparison.d.ts +43 -0
- package/dist/foundation/datetime/Difference.d.ts +28 -0
- package/dist/foundation/datetime/Internals.d.ts +12 -0
- package/dist/foundation/datetime/Interval.d.ts +38 -0
- package/dist/foundation/datetime/IsoDate.d.ts +24 -0
- package/dist/foundation/datetime/TemporalCodecs.d.ts +26 -0
- package/dist/foundation/datetime/index.d.ts +7 -0
- package/dist/foundation/datetime/index.js +429 -0
- package/dist/foundation/datetime/index.js.map +1 -0
- package/dist/foundation/device/Breakpoints.d.ts +48 -0
- package/dist/foundation/device/Platform.d.ts +27 -0
- package/dist/foundation/device/enums/DisplayMode.d.ts +13 -0
- package/dist/foundation/device/enums/PointerType.d.ts +11 -0
- package/dist/foundation/device/hooks/UseBreakpoint.d.ts +4 -0
- package/dist/foundation/device/hooks/UseDisplayMode.d.ts +23 -0
- package/dist/foundation/device/hooks/UseMediaQuery.d.ts +14 -0
- package/dist/foundation/device/hooks/UseOnlineStatus.d.ts +12 -0
- package/dist/foundation/device/hooks/UsePointer.d.ts +25 -0
- package/dist/foundation/device/hooks/UseReducedMotion.d.ts +7 -0
- package/dist/foundation/device/index.d.ts +10 -0
- package/dist/foundation/device/index.js +193 -0
- package/dist/foundation/device/index.js.map +1 -0
- package/dist/foundation/dom/ComposeEventHandlers.d.ts +9 -0
- package/dist/foundation/dom/DataAttr.d.ts +6 -0
- package/dist/foundation/dom/DomOrderExtensions.d.ts +4 -0
- package/dist/foundation/dom/Polymorphic.d.ts +29 -0
- package/dist/foundation/dom/PressExtensions.d.ts +17 -0
- package/dist/foundation/dom/ResolveElement.d.ts +9 -0
- package/dist/foundation/dom/ScrollRegion.d.ts +8 -0
- package/dist/foundation/dom/UrlExtensions.d.ts +5 -0
- package/dist/foundation/dom/enums/AriaAttribute.d.ts +48 -0
- package/dist/foundation/dom/enums/AttributeValue.d.ts +9 -0
- package/dist/foundation/dom/enums/DomEvent.d.ts +25 -0
- package/dist/foundation/dom/enums/ElementTag.d.ts +28 -0
- package/dist/foundation/dom/enums/HtmlValues.d.ts +22 -0
- package/dist/foundation/dom/enums/Key.d.ts +32 -0
- package/dist/foundation/dom/hooks/UseEventListener.d.ts +17 -0
- package/dist/foundation/dom/hooks/UseFocusTrap.d.ts +15 -0
- package/dist/foundation/dom/hooks/UseOutsideClick.d.ts +12 -0
- package/dist/foundation/dom/hooks/UseScrollLock.d.ts +6 -0
- package/dist/foundation/dom/index.d.ts +18 -0
- package/dist/foundation/dom/index.js +36 -0
- package/dist/foundation/dom/index.js.map +1 -0
- package/dist/foundation/errors/ErrorChain.d.ts +23 -0
- package/dist/foundation/errors/ErrorLike.d.ts +35 -0
- package/dist/foundation/errors/ErrorMessage.d.ts +13 -0
- package/dist/foundation/errors/ErrorRecognizers.d.ts +18 -0
- package/dist/foundation/errors/SerializeError.d.ts +34 -0
- package/dist/foundation/errors/ToError.d.ts +18 -0
- package/dist/foundation/errors/index.d.ts +6 -0
- package/dist/foundation/errors/index.js +38 -0
- package/dist/foundation/errors/index.js.map +1 -0
- package/dist/foundation/files/Accept.d.ts +30 -0
- package/dist/foundation/files/DownloadFile.d.ts +10 -0
- package/dist/foundation/files/FileName.d.ts +21 -0
- package/dist/foundation/files/ReadFile.d.ts +6 -0
- package/dist/foundation/files/index.d.ts +4 -0
- package/dist/foundation/files/index.js +71 -0
- package/dist/foundation/files/index.js.map +1 -0
- package/dist/foundation/formatters/Bytes.d.ts +15 -0
- package/dist/foundation/formatters/Count.d.ts +10 -0
- package/dist/foundation/formatters/Duration.d.ts +13 -0
- package/dist/foundation/formatters/Text.d.ts +52 -0
- package/dist/foundation/formatters/index.d.ts +4 -0
- package/dist/foundation/formatters/index.js +102 -0
- package/dist/foundation/formatters/index.js.map +1 -0
- package/dist/foundation/geolocation/CanLocate.d.ts +18 -0
- package/dist/foundation/geolocation/DistanceBetween.d.ts +21 -0
- package/dist/foundation/geolocation/GeolocationPermission.d.ts +13 -0
- package/dist/foundation/geolocation/GetCurrentPosition.d.ts +14 -0
- package/dist/foundation/geolocation/PositionFailureCode.d.ts +9 -0
- package/dist/foundation/geolocation/PositionMapping.d.ts +50 -0
- package/dist/foundation/geolocation/WatchPosition.d.ts +19 -0
- package/dist/foundation/geolocation/hooks/UseGeolocation.d.ts +38 -0
- package/dist/foundation/geolocation/hooks/UseWatchPosition.d.ts +16 -0
- package/dist/foundation/geolocation/index.d.ts +11 -0
- package/dist/foundation/geolocation/index.js +252 -0
- package/dist/foundation/geolocation/index.js.map +1 -0
- package/dist/foundation/geolocation/models/Coordinates.d.ts +41 -0
- package/dist/foundation/geolocation/models/GeolocationReading.d.ts +37 -0
- package/dist/foundation/geolocation/models/PositionFailure.d.ts +14 -0
- package/dist/foundation/geolocation/models/PositionReadResult.d.ts +5 -0
- package/dist/foundation/gestures/GestureMath.d.ts +182 -0
- package/dist/foundation/gestures/enums/GestureAxis.d.ts +11 -0
- package/dist/foundation/gestures/enums/SwipeDirection.d.ts +13 -0
- package/dist/foundation/gestures/hooks/UseDrag.d.ts +75 -0
- package/dist/foundation/gestures/hooks/UseLongPress.d.ts +42 -0
- package/dist/foundation/gestures/hooks/UsePinch.d.ts +47 -0
- package/dist/foundation/gestures/hooks/UseSwipe.d.ts +46 -0
- package/dist/foundation/gestures/index.d.ts +7 -0
- package/dist/foundation/gestures/index.js +447 -0
- package/dist/foundation/gestures/index.js.map +1 -0
- package/dist/foundation/history/HistoryCore.d.ts +92 -0
- package/dist/foundation/history/SnapshotHistory.d.ts +33 -0
- package/dist/foundation/history/UndoHistory.d.ts +41 -0
- package/dist/foundation/history/hooks/UseUndoHistory.d.ts +66 -0
- package/dist/foundation/history/hooks/UseUndoShortcuts.d.ts +20 -0
- package/dist/foundation/history/index.d.ts +5 -0
- package/dist/foundation/history/index.js +36 -0
- package/dist/foundation/history/index.js.map +1 -0
- package/dist/foundation/hooks/UseConfirmation.d.ts +10 -0
- package/dist/foundation/hooks/UseVisitInvitation.d.ts +24 -0
- package/dist/foundation/hooks/index.d.ts +2 -0
- package/dist/foundation/hooks/index.js +67 -0
- package/dist/foundation/hooks/index.js.map +1 -0
- package/dist/foundation/http/Antiforgery.d.ts +33 -0
- package/dist/foundation/http/ApiError.d.ts +10 -0
- package/dist/foundation/http/ApiFailure.d.ts +30 -0
- package/dist/foundation/http/ApiJsonCodec.d.ts +8 -0
- package/dist/foundation/http/CreateApiClient.d.ts +95 -0
- package/dist/foundation/http/Envelope.d.ts +11 -0
- package/dist/foundation/http/FieldErrors.d.ts +16 -0
- package/dist/foundation/http/RequestScope.d.ts +22 -0
- package/dist/foundation/http/WarnedEnvelope.d.ts +10 -0
- package/dist/foundation/http/index.d.ts +14 -0
- package/dist/foundation/http/index.js +340 -0
- package/dist/foundation/http/index.js.map +1 -0
- package/dist/foundation/http/models/ApiResponse.d.ts +7 -0
- package/dist/foundation/http/models/ApiWarning.d.ts +18 -0
- package/dist/foundation/http/models/DateBrands.d.ts +8 -0
- package/dist/foundation/http/models/Page.d.ts +47 -0
- package/dist/foundation/http/models/ProblemDetails.d.ts +9 -0
- package/dist/foundation/i18n/Compare.d.ts +7 -0
- package/dist/foundation/i18n/ExactNumberFormatter.d.ts +23 -0
- package/dist/foundation/i18n/IntlCache.d.ts +4 -0
- package/dist/foundation/i18n/LocaleFormatters.d.ts +30 -0
- package/dist/foundation/i18n/RelativeTimeParts.d.ts +13 -0
- package/dist/foundation/i18n/UseLocaleDefaults.d.ts +5 -0
- package/dist/foundation/i18n/formattedRelative/FormattedRelative.vue.d.ts +9 -0
- package/dist/foundation/i18n/formattedRelative/index.d.ts +1 -0
- package/dist/foundation/i18n/index.d.ts +8 -0
- package/dist/foundation/i18n/index.js +60 -0
- package/dist/foundation/i18n/index.js.map +1 -0
- package/dist/foundation/i18n/providers/LocaleContext.d.ts +35 -0
- package/dist/foundation/i18n/providers/LocaleProvider.vue.d.ts +18 -0
- package/dist/foundation/icons/SeverityIcons.d.ts +9 -0
- package/dist/foundation/icons/icon/Icon.vue.d.ts +35 -0
- package/dist/foundation/icons/icon/index.d.ts +1 -0
- package/dist/foundation/icons/index.d.ts +3 -0
- package/dist/foundation/icons/index.js +10 -0
- package/dist/foundation/icons/index.js.map +1 -0
- package/dist/foundation/icons/spinner/Spinner.vue.d.ts +7 -0
- package/dist/foundation/icons/spinner/index.d.ts +1 -0
- package/dist/foundation/idb/IdbPromises.d.ts +25 -0
- package/dist/foundation/idb/IndexedDbSupport.d.ts +32 -0
- package/dist/foundation/idb/KeyValueStore.d.ts +84 -0
- package/dist/foundation/idb/OpenDatabase.d.ts +62 -0
- package/dist/foundation/idb/Transactions.d.ts +44 -0
- package/dist/foundation/idb/index.d.ts +5 -0
- package/dist/foundation/idb/index.js +421 -0
- package/dist/foundation/idb/index.js.map +1 -0
- package/dist/foundation/identifiers/Guid.d.ts +44 -0
- package/dist/foundation/identifiers/UseId.d.ts +8 -0
- package/dist/foundation/identifiers/index.d.ts +2 -0
- package/dist/foundation/identifiers/index.js +7 -0
- package/dist/foundation/identifiers/index.js.map +1 -0
- package/dist/foundation/json/JsonFailureCode.d.ts +9 -0
- package/dist/foundation/json/JsonLimits.d.ts +6 -0
- package/dist/foundation/json/JsonText.d.ts +12 -0
- package/dist/foundation/json/LosslessJson.d.ts +14 -0
- package/dist/foundation/json/adapters/losslessJson/JsonAdapter.d.ts +5 -0
- package/dist/foundation/json/index.d.ts +5 -0
- package/dist/foundation/json/index.js +7 -0
- package/dist/foundation/json/index.js.map +1 -0
- package/dist/foundation/json/models/JsonFailure.d.ts +6 -0
- package/dist/foundation/json/models/LosslessJsonValue.d.ts +5 -0
- package/dist/foundation/logger/ConsoleLogSink.d.ts +11 -0
- package/dist/foundation/logger/LogLevel.d.ts +40 -0
- package/dist/foundation/logger/LogRecord.d.ts +17 -0
- package/dist/foundation/logger/LogSink.d.ts +20 -0
- package/dist/foundation/logger/Logger.d.ts +64 -0
- package/dist/foundation/logger/MemoryLogSink.d.ts +11 -0
- package/dist/foundation/logger/Redaction.d.ts +29 -0
- package/dist/foundation/logger/UrlRedaction.d.ts +8 -0
- package/dist/foundation/logger/index.d.ts +8 -0
- package/dist/foundation/logger/index.js +177 -0
- package/dist/foundation/logger/index.js.map +1 -0
- package/dist/foundation/media/CanCaptureMedia.d.ts +45 -0
- package/dist/foundation/media/FacingMode.d.ts +52 -0
- package/dist/foundation/media/ListMediaDevices.d.ts +44 -0
- package/dist/foundation/media/MediaPermission.d.ts +23 -0
- package/dist/foundation/media/MediaStreamFailureCode.d.ts +10 -0
- package/dist/foundation/media/MediaStreamMapping.d.ts +15 -0
- package/dist/foundation/media/RequestMediaStream.d.ts +37 -0
- package/dist/foundation/media/StopMediaStream.d.ts +10 -0
- package/dist/foundation/media/UseMediaStream.d.ts +54 -0
- package/dist/foundation/media/index.d.ts +9 -0
- package/dist/foundation/media/index.js +246 -0
- package/dist/foundation/media/index.js.map +1 -0
- package/dist/foundation/media/models/MediaStreamFailure.d.ts +16 -0
- package/dist/foundation/media/models/MediaStreamRequestResult.d.ts +4 -0
- package/dist/foundation/net/ConnectionState.d.ts +39 -0
- package/dist/foundation/net/CreateEventStream.d.ts +107 -0
- package/dist/foundation/net/CreatePoller.d.ts +65 -0
- package/dist/foundation/net/CreateSocketClient.d.ts +93 -0
- package/dist/foundation/net/Liveness.d.ts +41 -0
- package/dist/foundation/net/Reconnect.d.ts +49 -0
- package/dist/foundation/net/hooks/UseEventStream.d.ts +25 -0
- package/dist/foundation/net/hooks/UsePolling.d.ts +26 -0
- package/dist/foundation/net/hooks/UseSocket.d.ts +32 -0
- package/dist/foundation/net/index.d.ts +9 -0
- package/dist/foundation/net/index.js +882 -0
- package/dist/foundation/net/index.js.map +1 -0
- package/dist/foundation/notifications/CanNotify.d.ts +11 -0
- package/dist/foundation/notifications/NotificationFailureCode.d.ts +7 -0
- package/dist/foundation/notifications/NotificationPermission.d.ts +42 -0
- package/dist/foundation/notifications/Notify.d.ts +49 -0
- package/dist/foundation/notifications/QueryPermission.d.ts +66 -0
- package/dist/foundation/notifications/hooks/UseNotificationPermission.d.ts +27 -0
- package/dist/foundation/notifications/hooks/UsePermissionState.d.ts +14 -0
- package/dist/foundation/notifications/index.d.ts +7 -0
- package/dist/foundation/notifications/index.js +221 -0
- package/dist/foundation/notifications/index.js.map +1 -0
- package/dist/foundation/notifications/models/NotificationFailure.d.ts +10 -0
- package/dist/foundation/notifications/models/NotificationShowResult.d.ts +4 -0
- package/dist/foundation/numbers/ExactNumber.d.ts +13 -0
- package/dist/foundation/numbers/NumberLimits.d.ts +7 -0
- package/dist/foundation/numbers/adapters/bignumber/DecimalArithmetic.d.ts +4 -0
- package/dist/foundation/numbers/enums/NumberFailureCode.d.ts +10 -0
- package/dist/foundation/numbers/enums/NumberRounding.d.ts +13 -0
- package/dist/foundation/numbers/index.d.ts +6 -0
- package/dist/foundation/numbers/index.js +8 -0
- package/dist/foundation/numbers/index.js.map +1 -0
- package/dist/foundation/numbers/models/ExactNumber.d.ts +47 -0
- package/dist/foundation/numbers/models/NumberFailure.d.ts +6 -0
- package/dist/foundation/numbers/models/NumberRoundingOptions.d.ts +6 -0
- package/dist/foundation/oauth/GoogleIdentity.d.ts +100 -0
- package/dist/foundation/oauth/index.d.ts +1 -0
- package/dist/foundation/oauth/index.js +8 -0
- package/dist/foundation/oauth/index.js.map +1 -0
- package/dist/foundation/observers/ObserveIntersection.d.ts +57 -0
- package/dist/foundation/observers/ObserveMutation.d.ts +52 -0
- package/dist/foundation/observers/VisibilitySteps.d.ts +14 -0
- package/dist/foundation/observers/hooks/UseInView.d.ts +41 -0
- package/dist/foundation/observers/hooks/UseIntersectionObserver.d.ts +18 -0
- package/dist/foundation/observers/hooks/UseMutationObserver.d.ts +21 -0
- package/dist/foundation/observers/hooks/UseResizeObserver.d.ts +11 -0
- package/dist/foundation/observers/hooks/UseVisibility.d.ts +33 -0
- package/dist/foundation/observers/index.d.ts +8 -0
- package/dist/foundation/observers/index.js +76 -0
- package/dist/foundation/observers/index.js.map +1 -0
- package/dist/foundation/optionals/OptionalExtensions.d.ts +12 -0
- package/dist/foundation/optionals/index.d.ts +1 -0
- package/dist/foundation/optionals/index.js +5 -0
- package/dist/foundation/optionals/index.js.map +1 -0
- package/dist/foundation/primitives/accessibleIcon/AccessibleIcon.d.ts +26 -0
- package/dist/foundation/primitives/accessibleIcon/index.d.ts +1 -0
- package/dist/foundation/primitives/anchoredPositioner/AnchoredPositioner.vue.d.ts +38 -0
- package/dist/foundation/primitives/anchoredPositioner/index.d.ts +1 -0
- package/dist/foundation/primitives/announce/Announce.vue.d.ts +29 -0
- package/dist/foundation/primitives/announce/index.d.ts +1 -0
- package/dist/foundation/primitives/collection/Collection.d.ts +24 -0
- package/dist/foundation/primitives/collection/index.d.ts +1 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeContext.d.ts +32 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeProvider.vue.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeScript.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/index.d.ts +3 -0
- package/dist/foundation/primitives/directionProvider/DirectionContext.d.ts +23 -0
- package/dist/foundation/primitives/directionProvider/DirectionProvider.vue.d.ts +14 -0
- package/dist/foundation/primitives/directionProvider/index.d.ts +2 -0
- package/dist/foundation/primitives/dismissableLayer/DismissableLayer.vue.d.ts +22 -0
- package/dist/foundation/primitives/dismissableLayer/index.d.ts +1 -0
- package/dist/foundation/primitives/focusScope/FocusScope.vue.d.ts +39 -0
- package/dist/foundation/primitives/focusScope/FocusScopeRegistry.d.ts +27 -0
- package/dist/foundation/primitives/focusScope/index.d.ts +1 -0
- package/dist/foundation/primitives/formControlContext/FormControlContext.d.ts +66 -0
- package/dist/foundation/primitives/formControlContext/FormControlProvider.vue.d.ts +25 -0
- package/dist/foundation/primitives/formControlContext/index.d.ts +2 -0
- package/dist/foundation/primitives/index.d.ts +17 -0
- package/dist/foundation/primitives/index.js +56 -0
- package/dist/foundation/primitives/index.js.map +1 -0
- package/dist/foundation/primitives/overlayArrow/OverlayArrow.vue.d.ts +27 -0
- package/dist/foundation/primitives/overlayArrow/index.d.ts +1 -0
- package/dist/foundation/primitives/portal/Portal.vue.d.ts +16 -0
- package/dist/foundation/primitives/portal/index.d.ts +1 -0
- package/dist/foundation/primitives/presence/Presence.d.ts +36 -0
- package/dist/foundation/primitives/presence/index.d.ts +1 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusContext.d.ts +74 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusGroup.vue.d.ts +21 -0
- package/dist/foundation/primitives/rovingFocusGroup/index.d.ts +2 -0
- package/dist/foundation/primitives/scrollLockProvider/ScrollLockProvider.vue.d.ts +15 -0
- package/dist/foundation/primitives/scrollLockProvider/index.d.ts +1 -0
- package/dist/foundation/primitives/scrollViewport/ScrollViewport.vue.d.ts +47 -0
- package/dist/foundation/primitives/scrollViewport/index.d.ts +1 -0
- package/dist/foundation/primitives/slot/ComponentElement.d.ts +7 -0
- package/dist/foundation/primitives/slot/Primitive.d.ts +69 -0
- package/dist/foundation/primitives/slot/Slot.d.ts +40 -0
- package/dist/foundation/primitives/slot/index.d.ts +3 -0
- package/dist/foundation/primitives/visuallyHidden/VisuallyHidden.vue.d.ts +12 -0
- package/dist/foundation/primitives/visuallyHidden/index.d.ts +1 -0
- package/dist/foundation/resilience/RetryDelay.d.ts +8 -0
- package/dist/foundation/resilience/RetryPolicy.d.ts +34 -0
- package/dist/foundation/resilience/enums/BackoffStrategy.d.ts +10 -0
- package/dist/foundation/resilience/enums/JitterStrategy.d.ts +12 -0
- package/dist/foundation/resilience/index.d.ts +4 -0
- package/dist/foundation/resilience/index.js +77 -0
- package/dist/foundation/resilience/index.js.map +1 -0
- package/dist/foundation/results/AppErrorFactory.d.ts +22 -0
- package/dist/foundation/results/AppErrorType.d.ts +13 -0
- package/dist/foundation/results/ResultExtensions.d.ts +33 -0
- package/dist/foundation/results/index.d.ts +5 -0
- package/dist/foundation/results/index.js +9 -0
- package/dist/foundation/results/index.js.map +1 -0
- package/dist/foundation/results/models/AppError.d.ts +10 -0
- package/dist/foundation/results/models/Result.d.ts +9 -0
- package/dist/foundation/screen/Fullscreen.d.ts +73 -0
- package/dist/foundation/screen/ScreenEnvironment.d.ts +42 -0
- package/dist/foundation/screen/ScreenOrientation.d.ts +103 -0
- package/dist/foundation/screen/ScreenOutcome.d.ts +5 -0
- package/dist/foundation/screen/WakeLock.d.ts +81 -0
- package/dist/foundation/screen/enums/OrientationLockFailureCode.d.ts +9 -0
- package/dist/foundation/screen/enums/ScreenFailureCode.d.ts +8 -0
- package/dist/foundation/screen/hooks/UseFullscreen.d.ts +28 -0
- package/dist/foundation/screen/hooks/UseOrientation.d.ts +28 -0
- package/dist/foundation/screen/hooks/UseWakeLock.d.ts +18 -0
- package/dist/foundation/screen/index.d.ts +9 -0
- package/dist/foundation/screen/index.js +448 -0
- package/dist/foundation/screen/index.js.map +1 -0
- package/dist/foundation/screen/models/OrientationLockFailure.d.ts +7 -0
- package/dist/foundation/screen/models/OrientationLockResult.d.ts +3 -0
- package/dist/foundation/screen/models/ScreenFailure.d.ts +14 -0
- package/dist/foundation/screen/models/ScreenRequestResult.d.ts +4 -0
- package/dist/foundation/selection/hooks/UseFilters.d.ts +34 -0
- package/dist/foundation/selection/hooks/UseSelection.d.ts +54 -0
- package/dist/foundation/selection/hooks/UseSort.d.ts +36 -0
- package/dist/foundation/selection/hooks/UseTypeahead.d.ts +42 -0
- package/dist/foundation/selection/index.d.ts +8 -0
- package/dist/foundation/selection/index.js +197 -0
- package/dist/foundation/selection/index.js.map +1 -0
- package/dist/foundation/selection/models/Field.d.ts +31 -0
- package/dist/foundation/selection/models/Filter.d.ts +71 -0
- package/dist/foundation/selection/models/Selection.d.ts +116 -0
- package/dist/foundation/selection/models/Sort.d.ts +69 -0
- package/dist/foundation/share/CanShare.d.ts +11 -0
- package/dist/foundation/share/Share.d.ts +29 -0
- package/dist/foundation/share/ShareData.d.ts +43 -0
- package/dist/foundation/share/ShareFailureCode.d.ts +7 -0
- package/dist/foundation/share/ShareOrCopy.d.ts +25 -0
- package/dist/foundation/share/UseShare.d.ts +37 -0
- package/dist/foundation/share/index.d.ts +6 -0
- package/dist/foundation/share/index.js +136 -0
- package/dist/foundation/share/index.js.map +1 -0
- package/dist/foundation/share/models/ShareFailure.d.ts +10 -0
- package/dist/foundation/share/models/ShareSendOrCopyResult.d.ts +4 -0
- package/dist/foundation/share/models/ShareSendResult.d.ts +4 -0
- package/dist/foundation/shortcuts/Chord.d.ts +51 -0
- package/dist/foundation/shortcuts/hooks/UseEscape.d.ts +10 -0
- package/dist/foundation/shortcuts/hooks/UseHotkeys.d.ts +34 -0
- package/dist/foundation/shortcuts/index.d.ts +4 -0
- package/dist/foundation/shortcuts/index.js +17 -0
- package/dist/foundation/shortcuts/index.js.map +1 -0
- package/dist/foundation/speech/CreateSpeechRecognizer.d.ts +64 -0
- package/dist/foundation/speech/ListVoices.d.ts +78 -0
- package/dist/foundation/speech/Speak.d.ts +51 -0
- package/dist/foundation/speech/SpeechControls.d.ts +59 -0
- package/dist/foundation/speech/SpeechRecognitionResult.d.ts +45 -0
- package/dist/foundation/speech/SpeechRecognitionTypes.d.ts +67 -0
- package/dist/foundation/speech/SpeechResult.d.ts +16 -0
- package/dist/foundation/speech/SpeechSupport.d.ts +69 -0
- package/dist/foundation/speech/enums/RecognizerStartFailureCode.d.ts +6 -0
- package/dist/foundation/speech/enums/SpeechFailureCode.d.ts +7 -0
- package/dist/foundation/speech/hooks/UseSpeechRecognition.d.ts +45 -0
- package/dist/foundation/speech/hooks/UseSpeechSynthesis.d.ts +37 -0
- package/dist/foundation/speech/index.d.ts +12 -0
- package/dist/foundation/speech/index.js +610 -0
- package/dist/foundation/speech/index.js.map +1 -0
- package/dist/foundation/speech/models/RecognizerStartFailure.d.ts +8 -0
- package/dist/foundation/speech/models/RecognizerStartResult.d.ts +4 -0
- package/dist/foundation/speech/models/SpeechFailure.d.ts +10 -0
- package/dist/foundation/speech/models/SpeechSpeakResult.d.ts +4 -0
- package/dist/foundation/state/hooks/UseControlled.d.ts +35 -0
- package/dist/foundation/state/hooks/UseDisclosure.d.ts +18 -0
- package/dist/foundation/state/index.d.ts +2 -0
- package/dist/foundation/state/index.js +7 -0
- package/dist/foundation/state/index.js.map +1 -0
- package/dist/foundation/storage/NamespacedBroker.d.ts +7 -0
- package/dist/foundation/storage/StorageBroker.d.ts +17 -0
- package/dist/foundation/storage/VersionedStore.d.ts +42 -0
- package/dist/foundation/storage/adapters/zustand/ZustandPersist.d.ts +36 -0
- package/dist/foundation/storage/adapters/zustand/index.d.ts +1 -0
- package/dist/foundation/storage/adapters/zustand/index.js +11 -0
- package/dist/foundation/storage/adapters/zustand/index.js.map +1 -0
- package/dist/foundation/storage/hooks/UseAutosave.d.ts +44 -0
- package/dist/foundation/storage/hooks/UsePersistentState.d.ts +31 -0
- package/dist/foundation/storage/hooks/UseRecentItems.d.ts +34 -0
- package/dist/foundation/storage/index.d.ts +6 -0
- package/dist/foundation/storage/index.js +180 -0
- package/dist/foundation/storage/index.js.map +1 -0
- package/dist/foundation/styles/Cn.d.ts +6 -0
- package/dist/foundation/styles/SurfaceStyles.d.ts +199 -0
- package/dist/foundation/styles/Tv.d.ts +1 -0
- package/dist/foundation/styles/constants/Layers.d.ts +35 -0
- package/dist/foundation/styles/constants/Tones.d.ts +23 -0
- package/dist/foundation/styles/enums/Align.d.ts +10 -0
- package/dist/foundation/styles/enums/CornerPosition.d.ts +12 -0
- package/dist/foundation/styles/enums/Density.d.ts +15 -0
- package/dist/foundation/styles/enums/Orientation.d.ts +8 -0
- package/dist/foundation/styles/enums/OverlayPosition.d.ts +16 -0
- package/dist/foundation/styles/enums/ProgressTone.d.ts +14 -0
- package/dist/foundation/styles/enums/Severity.d.ts +14 -0
- package/dist/foundation/styles/enums/Side.d.ts +12 -0
- package/dist/foundation/styles/enums/StatusTone.d.ts +14 -0
- package/dist/foundation/styles/enums/StyleTokens.d.ts +68 -0
- package/dist/foundation/styles/extensions/ColorExtensions.d.ts +51 -0
- package/dist/foundation/styles/extensions/CssExtensions.d.ts +124 -0
- package/dist/foundation/styles/index.d.ts +21 -0
- package/dist/foundation/styles/index.js +46 -0
- package/dist/foundation/styles/index.js.map +1 -0
- package/dist/foundation/sync/LatestRevisionQueue.d.ts +24 -0
- package/dist/foundation/sync/index.d.ts +1 -0
- package/dist/foundation/sync/index.js +57 -0
- package/dist/foundation/sync/index.js.map +1 -0
- package/dist/foundation/themes/Css.d.ts +20 -0
- package/dist/foundation/themes/ForegroundContrast.d.ts +3 -0
- package/dist/foundation/themes/Generate.d.ts +6 -0
- package/dist/foundation/themes/Oklch.d.ts +44 -0
- package/dist/foundation/themes/ReadableForeground.d.ts +7 -0
- package/dist/foundation/themes/Registry.d.ts +18 -0
- package/dist/foundation/themes/Theme.d.ts +124 -0
- package/dist/foundation/themes/Tokens.d.ts +40 -0
- package/dist/foundation/themes/Validate.d.ts +29 -0
- package/dist/foundation/themes/constants/Authored.d.ts +3 -0
- package/dist/foundation/themes/constants/Pool.d.ts +3 -0
- package/dist/foundation/themes/index.d.ts +12 -0
- package/dist/foundation/themes/index.js +41 -0
- package/dist/foundation/themes/index.js.map +1 -0
- package/dist/foundation/uploads/UploadItem.d.ts +47 -0
- package/dist/foundation/uploads/UploadQueue.d.ts +79 -0
- package/dist/foundation/uploads/UploadTransport.d.ts +41 -0
- package/dist/foundation/uploads/UseUploadQueue.d.ts +46 -0
- package/dist/foundation/uploads/XhrUploadTransport.d.ts +23 -0
- package/dist/foundation/uploads/index.d.ts +5 -0
- package/dist/foundation/uploads/index.js +472 -0
- package/dist/foundation/uploads/index.js.map +1 -0
- package/dist/foundation/validators/Composites.d.ts +71 -0
- package/dist/foundation/validators/Formats.d.ts +9 -0
- package/dist/foundation/validators/Messages.d.ts +69 -0
- package/dist/foundation/validators/Primitives.d.ts +58 -0
- package/dist/foundation/validators/StandardSchema.d.ts +55 -0
- package/dist/foundation/validators/ValidationError.d.ts +14 -0
- package/dist/foundation/validators/ValidationOutcome.d.ts +40 -0
- package/dist/foundation/validators/Validator.d.ts +78 -0
- package/dist/foundation/validators/index.d.ts +8 -0
- package/dist/foundation/validators/index.js +532 -0
- package/dist/foundation/validators/index.js.map +1 -0
- package/dist/foundation/validators/models/ValidationFailure.d.ts +6 -0
- package/dist/foundation/validators/models/ValidatorParseResult.d.ts +3 -0
- package/dist/foundation/virtualization/Measurements.d.ts +79 -0
- package/dist/foundation/virtualization/UseVirtualList.d.ts +81 -0
- package/dist/foundation/virtualization/Windowing.d.ts +81 -0
- package/dist/foundation/virtualization/index.d.ts +3 -0
- package/dist/foundation/virtualization/index.js +17 -0
- package/dist/foundation/virtualization/index.js.map +1 -0
- package/dist/foundation/workers/RunInWorker.d.ts +29 -0
- package/dist/foundation/workers/UseWorker.d.ts +23 -0
- package/dist/foundation/workers/WorkerClient.d.ts +82 -0
- package/dist/foundation/workers/WorkerHost.d.ts +80 -0
- package/dist/foundation/workers/WorkerProtocol.d.ts +78 -0
- package/dist/foundation/workers/WorkerRunFailureCode.d.ts +6 -0
- package/dist/foundation/workers/WorkerSupport.d.ts +15 -0
- package/dist/foundation/workers/index.d.ts +7 -0
- package/dist/foundation/workers/index.js +316 -0
- package/dist/foundation/workers/index.js.map +1 -0
- package/dist/foundation/workers/models/WorkerRunFailure.d.ts +8 -0
- package/dist/foundation/workers/models/WorkerRunResult.d.ts +3 -0
- package/dist/index.css +544 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +755 -0
- package/dist/index.js.map +1 -0
- package/dist/presentation/actions/backToTopButton/BackToTopButton.vue.d.ts +35 -0
- package/dist/presentation/actions/backToTopButton/index.d.ts +1 -0
- package/dist/presentation/actions/button/Button.variants.d.ts +153 -0
- package/dist/presentation/actions/button/Button.vue.d.ts +115 -0
- package/dist/presentation/actions/button/index.d.ts +2 -0
- package/dist/presentation/actions/buttonGroup/ButtonGroup.vue.d.ts +23 -0
- package/dist/presentation/actions/buttonGroup/index.d.ts +1 -0
- package/dist/presentation/actions/copyButton/CopyButton.vue.d.ts +41 -0
- package/dist/presentation/actions/copyButton/index.d.ts +1 -0
- package/dist/presentation/actions/disclosureButton/DisclosureButton.vue.d.ts +34 -0
- package/dist/presentation/actions/disclosureButton/index.d.ts +1 -0
- package/dist/presentation/actions/fabButton/FabButton.variants.d.ts +80 -0
- package/dist/presentation/actions/fabButton/FabButton.vue.d.ts +32 -0
- package/dist/presentation/actions/fabButton/index.d.ts +2 -0
- package/dist/presentation/actions/googleSignInButton/GoogleSignInButton.vue.d.ts +26 -0
- package/dist/presentation/actions/googleSignInButton/index.d.ts +1 -0
- package/dist/presentation/actions/index.d.ts +9 -0
- package/dist/presentation/actions/index.js +30 -0
- package/dist/presentation/actions/index.js.map +1 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroup.vue.d.ts +27 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupAction.vue.d.ts +41 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupContext.d.ts +36 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupList.vue.d.ts +12 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupTrigger.vue.d.ts +31 -0
- package/dist/presentation/actions/speedDialGroup/index.d.ts +18 -0
- package/dist/presentation/actions/toolbar/Toolbar.vue.d.ts +20 -0
- package/dist/presentation/actions/toolbar/ToolbarButton.vue.d.ts +17 -0
- package/dist/presentation/actions/toolbar/ToolbarContext.d.ts +9 -0
- package/dist/presentation/actions/toolbar/ToolbarLink.vue.d.ts +12 -0
- package/dist/presentation/actions/toolbar/ToolbarSeparator.vue.d.ts +2 -0
- package/dist/presentation/actions/toolbar/index.d.ts +19 -0
- package/dist/presentation/display/accordionGroup/AccordionGroup.vue.d.ts +44 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupContent.vue.d.ts +13 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupContext.d.ts +29 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupItem.vue.d.ts +19 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupTrigger.vue.d.ts +13 -0
- package/dist/presentation/display/accordionGroup/index.d.ts +5 -0
- package/dist/presentation/display/activityTimeline/ActivityItem.vue.d.ts +28 -0
- package/dist/presentation/display/activityTimeline/ActivityTimeline.vue.d.ts +17 -0
- package/dist/presentation/display/activityTimeline/index.d.ts +2 -0
- package/dist/presentation/display/animatedNumberText/AnimatedNumberText.vue.d.ts +33 -0
- package/dist/presentation/display/animatedNumberText/index.d.ts +1 -0
- package/dist/presentation/display/annotationBadge/AnnotationBadge.vue.d.ts +42 -0
- package/dist/presentation/display/annotationBadge/index.d.ts +1 -0
- package/dist/presentation/display/audioPlayer/AudioPlayer.vue.d.ts +37 -0
- package/dist/presentation/display/audioPlayer/index.d.ts +1 -0
- package/dist/presentation/display/audioWaveformPreview/AudioWaveformPreview.vue.d.ts +57 -0
- package/dist/presentation/display/audioWaveformPreview/index.d.ts +1 -0
- package/dist/presentation/display/avatar/Avatar.variants.d.ts +162 -0
- package/dist/presentation/display/avatar/Avatar.vue.d.ts +51 -0
- package/dist/presentation/display/avatar/index.d.ts +2 -0
- package/dist/presentation/display/avatarGroup/AvatarGroup.vue.d.ts +24 -0
- package/dist/presentation/display/avatarGroup/index.d.ts +1 -0
- package/dist/presentation/display/badge/Badge.variants.d.ts +66 -0
- package/dist/presentation/display/badge/Badge.vue.d.ts +23 -0
- package/dist/presentation/display/badge/index.d.ts +2 -0
- package/dist/presentation/display/badgeOverlay/BadgeOverlay.vue.d.ts +23 -0
- package/dist/presentation/display/badgeOverlay/index.d.ts +1 -0
- package/dist/presentation/display/card/Card.vue.d.ts +37 -0
- package/dist/presentation/display/card/CardBody.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardDescription.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardFooter.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardHeader.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardTitle.vue.d.ts +11 -0
- package/dist/presentation/display/card/index.d.ts +6 -0
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +37 -0
- package/dist/presentation/display/carousel/CarouselContext.d.ts +38 -0
- package/dist/presentation/display/carousel/CarouselDot.vue.d.ts +8 -0
- package/dist/presentation/display/carousel/CarouselDots.vue.d.ts +6 -0
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +11 -0
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +11 -0
- package/dist/presentation/display/carousel/CarouselSlide.vue.d.ts +13 -0
- package/dist/presentation/display/carousel/CarouselSlides.vue.d.ts +13 -0
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +13 -0
- package/dist/presentation/display/carousel/index.d.ts +10 -0
- package/dist/presentation/display/chatBubbleCard/ChatBubbleCard.vue.d.ts +78 -0
- package/dist/presentation/display/chatBubbleCard/index.d.ts +1 -0
- package/dist/presentation/display/codeText/CodeText.variants.d.ts +26 -0
- package/dist/presentation/display/codeText/CodeText.vue.d.ts +16 -0
- package/dist/presentation/display/codeText/index.d.ts +2 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroup.vue.d.ts +28 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContent.vue.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContentInner.vue.d.ts +22 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContext.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupTrigger.vue.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/index.d.ts +4 -0
- package/dist/presentation/display/colorSwatchPreview/ColorSwatchPreview.variants.d.ts +92 -0
- package/dist/presentation/display/colorSwatchPreview/ColorSwatchPreview.vue.d.ts +32 -0
- package/dist/presentation/display/colorSwatchPreview/index.d.ts +2 -0
- package/dist/presentation/display/commentThreadGroup/Comment.vue.d.ts +38 -0
- package/dist/presentation/display/commentThreadGroup/CommentThreadGroup.vue.d.ts +13 -0
- package/dist/presentation/display/commentThreadGroup/index.d.ts +2 -0
- package/dist/presentation/display/confettiOverlay/ConfettiOverlay.vue.d.ts +39 -0
- package/dist/presentation/display/confettiOverlay/index.d.ts +1 -0
- package/dist/presentation/display/countBadge/CountBadge.vue.d.ts +23 -0
- package/dist/presentation/display/countBadge/index.d.ts +1 -0
- package/dist/presentation/display/countUpText/CountUpText.vue.d.ts +39 -0
- package/dist/presentation/display/countUpText/index.d.ts +1 -0
- package/dist/presentation/display/countdownText/CountdownText.vue.d.ts +43 -0
- package/dist/presentation/display/countdownText/index.d.ts +1 -0
- package/dist/presentation/display/dataTable/DataTable.vue.d.ts +137 -0
- package/dist/presentation/display/dataTable/index.d.ts +1 -0
- package/dist/presentation/display/descriptionGroup/DescriptionGroup.vue.d.ts +56 -0
- package/dist/presentation/display/descriptionGroup/index.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +37 -0
- package/dist/presentation/display/diffViewer/LineDiff.d.ts +9 -0
- package/dist/presentation/display/diffViewer/index.d.ts +1 -0
- package/dist/presentation/display/emptyState/EmptyState.vue.d.ts +42 -0
- package/dist/presentation/display/emptyState/index.d.ts +1 -0
- package/dist/presentation/display/eventCalendarViewer/AgendaView.vue.d.ts +13 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewer.vue.d.ts +37 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewerLayout.d.ts +17 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewerTypes.d.ts +28 -0
- package/dist/presentation/display/eventCalendarViewer/MonthView.vue.d.ts +16 -0
- package/dist/presentation/display/eventCalendarViewer/TimeGridView.vue.d.ts +17 -0
- package/dist/presentation/display/eventCalendarViewer/index.d.ts +2 -0
- package/dist/presentation/display/eyebrowText/EyebrowText.vue.d.ts +31 -0
- package/dist/presentation/display/eyebrowText/index.d.ts +1 -0
- package/dist/presentation/display/featureCard/FeatureCard.vue.d.ts +29 -0
- package/dist/presentation/display/featureCard/index.d.ts +1 -0
- package/dist/presentation/display/fieldHelperText/FieldHelperText.vue.d.ts +19 -0
- package/dist/presentation/display/fieldHelperText/index.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +20 -0
- package/dist/presentation/display/frameGlyph/index.d.ts +1 -0
- package/dist/presentation/display/ganttTimeline/GanttTimeline.vue.d.ts +58 -0
- package/dist/presentation/display/ganttTimeline/index.d.ts +1 -0
- package/dist/presentation/display/gradientText/GradientText.vue.d.ts +57 -0
- package/dist/presentation/display/gradientText/index.d.ts +1 -0
- package/dist/presentation/display/heading/Heading.variants.d.ts +111 -0
- package/dist/presentation/display/heading/Heading.vue.d.ts +30 -0
- package/dist/presentation/display/heading/index.d.ts +2 -0
- package/dist/presentation/display/heatmapCalendarGrid/HeatmapCalendarGrid.vue.d.ts +62 -0
- package/dist/presentation/display/heatmapCalendarGrid/index.d.ts +1 -0
- package/dist/presentation/display/highlightText/HighlightText.vue.d.ts +19 -0
- package/dist/presentation/display/highlightText/index.d.ts +1 -0
- package/dist/presentation/display/imagePreview/ImagePreview.vue.d.ts +15 -0
- package/dist/presentation/display/imagePreview/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +78 -0
- package/dist/presentation/display/index.js +212 -0
- package/dist/presentation/display/index.js.map +1 -0
- package/dist/presentation/display/infoRow/InfoRow.vue.d.ts +38 -0
- package/dist/presentation/display/infoRow/index.d.ts +1 -0
- package/dist/presentation/display/kanbanBoard/KanbanBoard.vue.d.ts +17 -0
- package/dist/presentation/display/kanbanBoard/KanbanBoardContext.d.ts +49 -0
- package/dist/presentation/display/kanbanBoard/KanbanCard.vue.d.ts +23 -0
- package/dist/presentation/display/kanbanBoard/KanbanColumn.vue.d.ts +21 -0
- package/dist/presentation/display/kanbanBoard/index.d.ts +4 -0
- package/dist/presentation/display/kbdText/KbdText.vue.d.ts +13 -0
- package/dist/presentation/display/kbdText/index.d.ts +1 -0
- package/dist/presentation/display/keyboardShortcutText/KeyboardShortcutText.vue.d.ts +12 -0
- package/dist/presentation/display/keyboardShortcutText/index.d.ts +1 -0
- package/dist/presentation/display/labelText/LabelText.vue.d.ts +34 -0
- package/dist/presentation/display/labelText/index.d.ts +1 -0
- package/dist/presentation/display/legendText/LegendText.vue.d.ts +21 -0
- package/dist/presentation/display/legendText/index.d.ts +1 -0
- package/dist/presentation/display/listGroup/ListGroup.variants.d.ts +62 -0
- package/dist/presentation/display/listGroup/ListGroup.vue.d.ts +25 -0
- package/dist/presentation/display/listGroup/ListGroupContext.d.ts +16 -0
- package/dist/presentation/display/listGroup/ListGroupItem.vue.d.ts +28 -0
- package/dist/presentation/display/listGroup/index.d.ts +4 -0
- package/dist/presentation/display/markText/MarkText.vue.d.ts +13 -0
- package/dist/presentation/display/markText/index.d.ts +1 -0
- package/dist/presentation/display/marqueeGroup/MarqueeGroup.vue.d.ts +42 -0
- package/dist/presentation/display/marqueeGroup/index.d.ts +1 -0
- package/dist/presentation/display/messageGroup/DaySeparator.vue.d.ts +16 -0
- package/dist/presentation/display/messageGroup/MessageGroup.vue.d.ts +38 -0
- package/dist/presentation/display/messageGroup/index.d.ts +2 -0
- package/dist/presentation/display/metaInlineText/MetaInlineText.vue.d.ts +20 -0
- package/dist/presentation/display/metaInlineText/index.d.ts +1 -0
- package/dist/presentation/display/metricBadge/MetricBadge.vue.d.ts +53 -0
- package/dist/presentation/display/metricBadge/index.d.ts +1 -0
- package/dist/presentation/display/moduleGlyphs/CellsGlyph.vue.d.ts +13 -0
- package/dist/presentation/display/moduleGlyphs/DotsGlyph.vue.d.ts +8 -0
- package/dist/presentation/display/moduleGlyphs/HorizontalBarsGlyph.vue.d.ts +8 -0
- package/dist/presentation/display/moduleGlyphs/ModuleGlyphs.d.ts +15 -0
- package/dist/presentation/display/moduleGlyphs/VerticalBarsGlyph.vue.d.ts +8 -0
- package/dist/presentation/display/moduleGlyphs/index.d.ts +5 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.d.ts +35 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationItem.vue.d.ts +45 -0
- package/dist/presentation/display/notificationCenterGroup/index.d.ts +2 -0
- package/dist/presentation/display/notificationIndicator/NotificationIndicator.vue.d.ts +46 -0
- package/dist/presentation/display/notificationIndicator/index.d.ts +1 -0
- package/dist/presentation/display/onboardingChecklistCard/OnboardingChecklistCard.vue.d.ts +56 -0
- package/dist/presentation/display/onboardingChecklistCard/OnboardingChecklistCardTask.vue.d.ts +27 -0
- package/dist/presentation/display/onboardingChecklistCard/index.d.ts +3 -0
- package/dist/presentation/display/overflowGroup/OverflowGroup.vue.d.ts +35 -0
- package/dist/presentation/display/overflowGroup/index.d.ts +1 -0
- package/dist/presentation/display/pdfViewer/PdfViewer.vue.d.ts +38 -0
- package/dist/presentation/display/pdfViewer/index.d.ts +1 -0
- package/dist/presentation/display/pricingCard/PricingCard.vue.d.ts +55 -0
- package/dist/presentation/display/pricingCard/index.d.ts +1 -0
- package/dist/presentation/display/quoteText/QuoteText.vue.d.ts +13 -0
- package/dist/presentation/display/quoteText/index.d.ts +1 -0
- package/dist/presentation/display/radiusGlyph/RadiusGlyph.vue.d.ts +23 -0
- package/dist/presentation/display/radiusGlyph/index.d.ts +1 -0
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +47 -0
- package/dist/presentation/display/reactionBar/index.d.ts +1 -0
- package/dist/presentation/display/relativeTime/RelativeTime.vue.d.ts +26 -0
- package/dist/presentation/display/relativeTime/index.d.ts +1 -0
- package/dist/presentation/display/scheduleView/ScheduleView.vue.d.ts +57 -0
- package/dist/presentation/display/scheduleView/index.d.ts +1 -0
- package/dist/presentation/display/scrollRevealGroup/ScrollRevealGroup.vue.d.ts +49 -0
- package/dist/presentation/display/scrollRevealGroup/index.d.ts +1 -0
- package/dist/presentation/display/sectionHeading/SectionHeading.vue.d.ts +51 -0
- package/dist/presentation/display/sectionHeading/index.d.ts +1 -0
- package/dist/presentation/display/snippetText/SnippetText.vue.d.ts +20 -0
- package/dist/presentation/display/snippetText/index.d.ts +1 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +63 -0
- package/dist/presentation/display/sparkline/index.d.ts +1 -0
- package/dist/presentation/display/statCard/StatCard.vue.d.ts +66 -0
- package/dist/presentation/display/statCard/index.d.ts +1 -0
- package/dist/presentation/display/status/Status.vue.d.ts +34 -0
- package/dist/presentation/display/status/index.d.ts +1 -0
- package/dist/presentation/display/stepCard/StepCard.vue.d.ts +31 -0
- package/dist/presentation/display/stepCard/index.d.ts +1 -0
- package/dist/presentation/display/stepperGroup/StepperGroup.vue.d.ts +28 -0
- package/dist/presentation/display/stepperGroup/StepperGroupContext.d.ts +44 -0
- package/dist/presentation/display/stepperGroup/StepperGroupList.vue.d.ts +13 -0
- package/dist/presentation/display/stepperGroup/StepperGroupPanel.vue.d.ts +15 -0
- package/dist/presentation/display/stepperGroup/StepperGroupStep.vue.d.ts +22 -0
- package/dist/presentation/display/stepperGroup/index.d.ts +5 -0
- package/dist/presentation/display/table/Table.vue.d.ts +45 -0
- package/dist/presentation/display/table/TableBody.vue.d.ts +11 -0
- package/dist/presentation/display/table/TableCaption.vue.d.ts +11 -0
- package/dist/presentation/display/table/TableCell.vue.d.ts +20 -0
- package/dist/presentation/display/table/TableContext.d.ts +89 -0
- package/dist/presentation/display/table/TableFooter.vue.d.ts +11 -0
- package/dist/presentation/display/table/TableHead.vue.d.ts +25 -0
- package/dist/presentation/display/table/TableHeaderCell.vue.d.ts +20 -0
- package/dist/presentation/display/table/TableRow.vue.d.ts +11 -0
- package/dist/presentation/display/table/index.d.ts +9 -0
- package/dist/presentation/display/tabsGroup/TabsGroup.vue.d.ts +35 -0
- package/dist/presentation/display/tabsGroup/TabsGroupContext.d.ts +34 -0
- package/dist/presentation/display/tabsGroup/TabsGroupList.vue.d.ts +13 -0
- package/dist/presentation/display/tabsGroup/TabsGroupPanel.vue.d.ts +15 -0
- package/dist/presentation/display/tabsGroup/TabsGroupTab.vue.d.ts +19 -0
- package/dist/presentation/display/tabsGroup/index.d.ts +5 -0
- package/dist/presentation/display/tag/Tag.variants.d.ts +46 -0
- package/dist/presentation/display/tag/Tag.vue.d.ts +22 -0
- package/dist/presentation/display/tag/index.d.ts +2 -0
- package/dist/presentation/display/text/Text.variants.d.ts +155 -0
- package/dist/presentation/display/text/Text.vue.d.ts +38 -0
- package/dist/presentation/display/text/index.d.ts +2 -0
- package/dist/presentation/display/threadView/ThreadView.vue.d.ts +44 -0
- package/dist/presentation/display/threadView/index.d.ts +1 -0
- package/dist/presentation/display/timeline/Timeline.vue.d.ts +18 -0
- package/dist/presentation/display/timeline/TimelineContext.d.ts +40 -0
- package/dist/presentation/display/timeline/TimelineDescription.vue.d.ts +13 -0
- package/dist/presentation/display/timeline/TimelineItem.vue.d.ts +21 -0
- package/dist/presentation/display/timeline/TimelineTitle.vue.d.ts +13 -0
- package/dist/presentation/display/timeline/index.d.ts +5 -0
- package/dist/presentation/display/treeViewer/TreeViewer.vue.d.ts +32 -0
- package/dist/presentation/display/treeViewer/TreeViewerContext.d.ts +29 -0
- package/dist/presentation/display/treeViewer/TreeViewerGroup.vue.d.ts +27 -0
- package/dist/presentation/display/treeViewer/TreeViewerGroupContent.vue.d.ts +16 -0
- package/dist/presentation/display/treeViewer/TreeViewerItem.vue.d.ts +19 -0
- package/dist/presentation/display/treeViewer/TreeViewerNodeRow.vue.d.ts +26 -0
- package/dist/presentation/display/treeViewer/index.d.ts +4 -0
- package/dist/presentation/display/truncatedText/TruncatedText.vue.d.ts +39 -0
- package/dist/presentation/display/truncatedText/index.d.ts +1 -0
- package/dist/presentation/display/typewriterText/TypewriterText.vue.d.ts +35 -0
- package/dist/presentation/display/typewriterText/index.d.ts +1 -0
- package/dist/presentation/display/videoPlayer/VideoPlayer.vue.d.ts +54 -0
- package/dist/presentation/display/videoPlayer/index.d.ts +1 -0
- package/dist/presentation/feedback/alert/Alert.vue.d.ts +39 -0
- package/dist/presentation/feedback/alert/index.d.ts +1 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.variants.d.ts +27 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/alertSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/banner/Banner.vue.d.ts +39 -0
- package/dist/presentation/feedback/banner/index.d.ts +1 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.variants.d.ts +27 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/bannerSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/callout/Callout.vue.d.ts +27 -0
- package/dist/presentation/feedback/callout/index.d.ts +1 -0
- package/dist/presentation/feedback/characterCountCallout/CharacterCountCallout.vue.d.ts +14 -0
- package/dist/presentation/feedback/characterCountCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/dataRegion/DataRegion.vue.d.ts +76 -0
- package/dist/presentation/feedback/dataRegion/index.d.ts +1 -0
- package/dist/presentation/feedback/errorBoundary/ErrorBoundary.vue.d.ts +32 -0
- package/dist/presentation/feedback/errorBoundary/index.d.ts +1 -0
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.d.ts +17 -0
- package/dist/presentation/feedback/feedbackToastHost/index.d.ts +1 -0
- package/dist/presentation/feedback/fieldErrorCallout/FieldErrorCallout.vue.d.ts +24 -0
- package/dist/presentation/feedback/fieldErrorCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/index.d.ts +31 -0
- package/dist/presentation/feedback/index.js +70 -0
- package/dist/presentation/feedback/index.js.map +1 -0
- package/dist/presentation/feedback/inlineSpinner/InlineSpinner.vue.d.ts +20 -0
- package/dist/presentation/feedback/inlineSpinner/index.d.ts +1 -0
- package/dist/presentation/feedback/liveCursorIndicator/LiveCursorIndicator.vue.d.ts +33 -0
- package/dist/presentation/feedback/liveCursorIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingOverlay/LoadingOverlay.vue.d.ts +34 -0
- package/dist/presentation/feedback/loadingOverlay/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingState/LoadingState.vue.d.ts +25 -0
- package/dist/presentation/feedback/loadingState/index.d.ts +1 -0
- package/dist/presentation/feedback/meterBar/MeterBar.vue.d.ts +30 -0
- package/dist/presentation/feedback/meterBar/index.d.ts +1 -0
- package/dist/presentation/feedback/passwordStrengthCallout/PasswordStrengthCallout.vue.d.ts +15 -0
- package/dist/presentation/feedback/passwordStrengthCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/presenceIndicator/PresenceIndicator.vue.d.ts +33 -0
- package/dist/presentation/feedback/presenceIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.variants.d.ts +46 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.vue.d.ts +18 -0
- package/dist/presentation/feedback/progressBar/index.d.ts +2 -0
- package/dist/presentation/feedback/progressCircleIndicator/ProgressCircleIndicator.vue.d.ts +20 -0
- package/dist/presentation/feedback/progressCircleIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressStepsIndicator/ProgressStepsIndicator.vue.d.ts +15 -0
- package/dist/presentation/feedback/progressStepsIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/reportAction/ReportAction.vue.d.ts +41 -0
- package/dist/presentation/feedback/reportAction/index.d.ts +1 -0
- package/dist/presentation/feedback/skeletonState/SkeletonState.variants.d.ts +100 -0
- package/dist/presentation/feedback/skeletonState/SkeletonState.vue.d.ts +19 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateContext.d.ts +37 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateGroup.vue.d.ts +21 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateLine.d.ts +66 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateSlot.vue.d.ts +26 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateText.vue.d.ts +16 -0
- package/dist/presentation/feedback/skeletonState/UseSkeletonItems.d.ts +9 -0
- package/dist/presentation/feedback/skeletonState/index.d.ts +7 -0
- package/dist/presentation/feedback/spinner/Spinner.variants.d.ts +57 -0
- package/dist/presentation/feedback/spinner/Spinner.vue.d.ts +14 -0
- package/dist/presentation/feedback/spinner/index.d.ts +2 -0
- package/dist/presentation/feedback/splashScreen/SplashScreen.vue.d.ts +34 -0
- package/dist/presentation/feedback/splashScreen/index.d.ts +1 -0
- package/dist/presentation/feedback/statusIndicator/StatusIndicator.vue.d.ts +31 -0
- package/dist/presentation/feedback/statusIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +52 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastHost/ToastHost.vue.d.ts +156 -0
- package/dist/presentation/feedback/toastHost/index.d.ts +1 -0
- package/dist/presentation/feedback/toastHost/index.js +9 -0
- package/dist/presentation/feedback/toastHost/index.js.map +1 -0
- package/dist/presentation/feedback/toastHost/styles.css +77 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.variants.d.ts +27 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.vue.d.ts +20 -0
- package/dist/presentation/feedback/toastSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/trendIndicator/TrendIndicator.vue.d.ts +32 -0
- package/dist/presentation/feedback/trendIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/typingIndicator/TypingIndicator.vue.d.ts +36 -0
- package/dist/presentation/feedback/typingIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/undoBar/UndoBar.vue.d.ts +33 -0
- package/dist/presentation/feedback/undoBar/index.d.ts +1 -0
- package/dist/presentation/forms/ColorExtensions.d.ts +37 -0
- package/dist/presentation/forms/DateExtensions.d.ts +77 -0
- package/dist/presentation/forms/InputStyles.d.ts +126 -0
- package/dist/presentation/forms/MonthGrid.vue.d.ts +38 -0
- package/dist/presentation/forms/NativeControlAttributes.d.ts +8 -0
- package/dist/presentation/forms/PeriodExtensions.d.ts +22 -0
- package/dist/presentation/forms/PeriodGrid.vue.d.ts +29 -0
- package/dist/presentation/forms/PeriodPicker.vue.d.ts +56 -0
- package/dist/presentation/forms/TimeColumns.vue.d.ts +19 -0
- package/dist/presentation/forms/UseNativeFormReset.d.ts +3 -0
- package/dist/presentation/forms/addressEditor/AddressEditor.vue.d.ts +48 -0
- package/dist/presentation/forms/addressEditor/index.d.ts +1 -0
- package/dist/presentation/forms/calendarPicker/CalendarPicker.vue.d.ts +40 -0
- package/dist/presentation/forms/calendarPicker/index.d.ts +1 -0
- package/dist/presentation/forms/cascaderPicker/CascaderPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/cascaderPicker/index.d.ts +1 -0
- package/dist/presentation/forms/chatComposerInput/ChatComposerInput.vue.d.ts +67 -0
- package/dist/presentation/forms/chatComposerInput/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxField/CheckboxField.vue.d.ts +44 -0
- package/dist/presentation/forms/checkboxField/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroup.vue.d.ts +34 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroupContext.d.ts +14 -0
- package/dist/presentation/forms/checkboxGroup/index.d.ts +2 -0
- package/dist/presentation/forms/checkboxInput/CheckboxInput.variants.d.ts +67 -0
- package/dist/presentation/forms/checkboxInput/CheckboxInput.vue.d.ts +60 -0
- package/dist/presentation/forms/checkboxInput/index.d.ts +2 -0
- package/dist/presentation/forms/choiceCard/ChoiceCard.vue.d.ts +42 -0
- package/dist/presentation/forms/choiceCard/index.d.ts +1 -0
- package/dist/presentation/forms/codeEditor/CodeEditor.vue.d.ts +58 -0
- package/dist/presentation/forms/codeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/colorArea/ColorArea.vue.d.ts +35 -0
- package/dist/presentation/forms/colorArea/index.d.ts +1 -0
- package/dist/presentation/forms/colorInput/ColorInput.vue.d.ts +52 -0
- package/dist/presentation/forms/colorInput/index.d.ts +1 -0
- package/dist/presentation/forms/colorPicker/ColorPicker.vue.d.ts +60 -0
- package/dist/presentation/forms/colorPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorSliderInput/ColorSliderInput.vue.d.ts +45 -0
- package/dist/presentation/forms/colorSliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchItem.vue.d.ts +26 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchPicker.vue.d.ts +39 -0
- package/dist/presentation/forms/colorSwatchPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorWheelInput/ColorWheelInput.vue.d.ts +32 -0
- package/dist/presentation/forms/colorWheelInput/index.d.ts +1 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerContent.vue.d.ts +38 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerContext.d.ts +53 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerInput.vue.d.ts +11 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerItem.vue.d.ts +27 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerSeparator.vue.d.ts +2 -0
- package/dist/presentation/forms/comboboxPicker/index.d.ts +8 -0
- package/dist/presentation/forms/controlGroupField/ControlGroupField.variants.d.ts +70 -0
- package/dist/presentation/forms/controlGroupField/ControlGroupField.vue.d.ts +37 -0
- package/dist/presentation/forms/controlGroupField/index.d.ts +2 -0
- package/dist/presentation/forms/cronInput/CronInput.vue.d.ts +71 -0
- package/dist/presentation/forms/cronInput/index.d.ts +1 -0
- package/dist/presentation/forms/currencyInput/CurrencyInput.vue.d.ts +18 -0
- package/dist/presentation/forms/currencyInput/index.d.ts +1 -0
- package/dist/presentation/forms/dataGridEditor/CellEditor.vue.d.ts +28 -0
- package/dist/presentation/forms/dataGridEditor/DataGridEditor.vue.d.ts +50 -0
- package/dist/presentation/forms/dataGridEditor/DataGridEditorTypes.d.ts +65 -0
- package/dist/presentation/forms/dataGridEditor/index.d.ts +2 -0
- package/dist/presentation/forms/dateInput/DateInput.vue.d.ts +65 -0
- package/dist/presentation/forms/dateInput/index.d.ts +1 -0
- package/dist/presentation/forms/datePicker/DatePicker.vue.d.ts +59 -0
- package/dist/presentation/forms/datePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateRangePicker/DateRangePicker.vue.d.ts +60 -0
- package/dist/presentation/forms/dateRangePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateTimeInput/DateTimeInput.vue.d.ts +70 -0
- package/dist/presentation/forms/dateTimeInput/index.d.ts +1 -0
- package/dist/presentation/forms/durationInput/DurationInput.vue.d.ts +51 -0
- package/dist/presentation/forms/durationInput/index.d.ts +1 -0
- package/dist/presentation/forms/editableInput/EditableInput.vue.d.ts +48 -0
- package/dist/presentation/forms/editableInput/EditableInputCancel.vue.d.ts +11 -0
- package/dist/presentation/forms/editableInput/EditableInputContext.d.ts +37 -0
- package/dist/presentation/forms/editableInput/EditableInputInput.vue.d.ts +11 -0
- package/dist/presentation/forms/editableInput/EditableInputPreview.vue.d.ts +6 -0
- package/dist/presentation/forms/editableInput/EditableInputSubmit.vue.d.ts +13 -0
- package/dist/presentation/forms/editableInput/index.d.ts +7 -0
- package/dist/presentation/forms/emailInput/EmailInput.vue.d.ts +48 -0
- package/dist/presentation/forms/emailInput/index.d.ts +1 -0
- package/dist/presentation/forms/emojiPicker/CategoryNav.vue.d.ts +18 -0
- package/dist/presentation/forms/emojiPicker/EmojiGrid.vue.d.ts +25 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.variants.d.ts +83 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.vue.d.ts +39 -0
- package/dist/presentation/forms/emojiPicker/EmojiPickerPopover.vue.d.ts +58 -0
- package/dist/presentation/forms/emojiPicker/EmojiTile.vue.d.ts +21 -0
- package/dist/presentation/forms/emojiPicker/UseEmojiPicker.d.ts +48 -0
- package/dist/presentation/forms/emojiPicker/index.d.ts +4 -0
- package/dist/presentation/forms/emojiSizePicker/EmojiSizePicker.variants.d.ts +23 -0
- package/dist/presentation/forms/emojiSizePicker/EmojiSizePicker.vue.d.ts +30 -0
- package/dist/presentation/forms/emojiSizePicker/index.d.ts +2 -0
- package/dist/presentation/forms/exactNumberInput/ExactNumberInput.vue.d.ts +51 -0
- package/dist/presentation/forms/exactNumberInput/index.d.ts +1 -0
- package/dist/presentation/forms/field/Field.vue.d.ts +39 -0
- package/dist/presentation/forms/field/index.d.ts +6 -0
- package/dist/presentation/forms/filePicker/FilePicker.vue.d.ts +41 -0
- package/dist/presentation/forms/filePicker/index.d.ts +1 -0
- package/dist/presentation/forms/fileUploadPicker/FileUploadPicker.vue.d.ts +67 -0
- package/dist/presentation/forms/fileUploadPicker/index.d.ts +1 -0
- package/dist/presentation/forms/fontPicker/FontPicker.vue.d.ts +35 -0
- package/dist/presentation/forms/fontPicker/index.d.ts +1 -0
- package/dist/presentation/forms/gradientPicker/GradientPicker.vue.d.ts +47 -0
- package/dist/presentation/forms/gradientPicker/index.d.ts +1 -0
- package/dist/presentation/forms/iconPicker/IconPicker.vue.d.ts +38 -0
- package/dist/presentation/forms/iconPicker/index.d.ts +1 -0
- package/dist/presentation/forms/imageCropEditor/ImageCropEditor.vue.d.ts +45 -0
- package/dist/presentation/forms/imageCropEditor/index.d.ts +1 -0
- package/dist/presentation/forms/imageEditor/ImageEditor.vue.d.ts +40 -0
- package/dist/presentation/forms/imageEditor/index.d.ts +3 -0
- package/dist/presentation/forms/index.d.ts +88 -0
- package/dist/presentation/forms/index.js +195 -0
- package/dist/presentation/forms/index.js.map +1 -0
- package/dist/presentation/forms/jsonEditor/JsonEditor.vue.d.ts +41 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorContext.d.ts +28 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorExtensions.d.ts +13 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTextView.vue.d.ts +13 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTreeNode.vue.d.ts +14 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTreeView.vue.d.ts +7 -0
- package/dist/presentation/forms/jsonEditor/index.d.ts +2 -0
- package/dist/presentation/forms/keyboardShortcutPicker/KeyboardShortcutPicker.vue.d.ts +44 -0
- package/dist/presentation/forms/keyboardShortcutPicker/index.d.ts +1 -0
- package/dist/presentation/forms/knobInput/KnobInput.vue.d.ts +72 -0
- package/dist/presentation/forms/knobInput/index.d.ts +1 -0
- package/dist/presentation/forms/labeledField/LabeledField.vue.d.ts +22 -0
- package/dist/presentation/forms/labeledField/index.d.ts +2 -0
- package/dist/presentation/forms/listboxPicker/ListboxPicker.variants.d.ts +41 -0
- package/dist/presentation/forms/listboxPicker/ListboxPicker.vue.d.ts +69 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerContext.d.ts +47 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerGroup.vue.d.ts +20 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerItem.vue.d.ts +24 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerSeparator.vue.d.ts +2 -0
- package/dist/presentation/forms/listboxPicker/index.d.ts +7 -0
- package/dist/presentation/forms/markdownEditor/MarkdownEditor.vue.d.ts +77 -0
- package/dist/presentation/forms/markdownEditor/index.d.ts +1 -0
- package/dist/presentation/forms/maskedInput/MaskedInput.vue.d.ts +47 -0
- package/dist/presentation/forms/maskedInput/index.d.ts +1 -0
- package/dist/presentation/forms/mentionInput/MentionInput.vue.d.ts +75 -0
- package/dist/presentation/forms/mentionInput/index.d.ts +1 -0
- package/dist/presentation/forms/monthPicker/MonthPicker.vue.d.ts +50 -0
- package/dist/presentation/forms/monthPicker/index.d.ts +1 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPicker.vue.d.ts +52 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContent.vue.d.ts +30 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContext.d.ts +47 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerItem.vue.d.ts +24 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerTags.vue.d.ts +23 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerTrigger.vue.d.ts +24 -0
- package/dist/presentation/forms/multiSelectPicker/index.d.ts +6 -0
- package/dist/presentation/forms/nodeEditor/NodeEditor.vue.d.ts +58 -0
- package/dist/presentation/forms/nodeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/numberInput/NumberInput.vue.d.ts +59 -0
- package/dist/presentation/forms/numberInput/index.d.ts +1 -0
- package/dist/presentation/forms/optionTileGroupField/OptionTileGroupField.variants.d.ts +34 -0
- package/dist/presentation/forms/optionTileGroupField/OptionTileGroupField.vue.d.ts +33 -0
- package/dist/presentation/forms/optionTileGroupField/index.d.ts +2 -0
- package/dist/presentation/forms/optionTilePicker/OptionTilePicker.variants.d.ts +8 -0
- package/dist/presentation/forms/optionTilePicker/OptionTilePicker.vue.d.ts +35 -0
- package/dist/presentation/forms/optionTilePicker/index.d.ts +2 -0
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +53 -0
- package/dist/presentation/forms/passwordInput/index.d.ts +1 -0
- package/dist/presentation/forms/percentInput/PercentInput.vue.d.ts +15 -0
- package/dist/presentation/forms/percentInput/index.d.ts +1 -0
- package/dist/presentation/forms/phoneInput/PhoneInput.vue.d.ts +40 -0
- package/dist/presentation/forms/phoneInput/index.d.ts +1 -0
- package/dist/presentation/forms/pinInput/PinInput.vue.d.ts +41 -0
- package/dist/presentation/forms/pinInput/index.d.ts +1 -0
- package/dist/presentation/forms/pointControl/PointControl.vue.d.ts +32 -0
- package/dist/presentation/forms/pointControl/index.d.ts +1 -0
- package/dist/presentation/forms/pointControl/index.js +5 -0
- package/dist/presentation/forms/pointControl/index.js.map +1 -0
- package/dist/presentation/forms/pointControl/styles.css +2 -0
- package/dist/presentation/forms/radioField/RadioField.vue.d.ts +43 -0
- package/dist/presentation/forms/radioField/index.d.ts +1 -0
- package/dist/presentation/forms/radioGroup/RadioGroup.vue.d.ts +36 -0
- package/dist/presentation/forms/radioGroup/RadioGroupContext.d.ts +26 -0
- package/dist/presentation/forms/radioGroup/index.d.ts +2 -0
- package/dist/presentation/forms/radioInput/RadioInput.vue.d.ts +44 -0
- package/dist/presentation/forms/radioInput/index.d.ts +1 -0
- package/dist/presentation/forms/rangeCalendarPicker/RangeCalendarPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/rangeCalendarPicker/index.d.ts +1 -0
- package/dist/presentation/forms/rangeSliderInput/RangeSliderInput.vue.d.ts +67 -0
- package/dist/presentation/forms/rangeSliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/ratingPicker/RatingPicker.vue.d.ts +72 -0
- package/dist/presentation/forms/ratingPicker/index.d.ts +1 -0
- package/dist/presentation/forms/reactionPicker/ReactionPicker.vue.d.ts +31 -0
- package/dist/presentation/forms/reactionPicker/index.d.ts +1 -0
- package/dist/presentation/forms/recurrenceEditor/RecurrenceEditor.vue.d.ts +82 -0
- package/dist/presentation/forms/recurrenceEditor/index.d.ts +1 -0
- package/dist/presentation/forms/searchInput/SearchInput.vue.d.ts +53 -0
- package/dist/presentation/forms/searchInput/index.d.ts +1 -0
- package/dist/presentation/forms/segmentedPicker/SegmentedPicker.vue.d.ts +20 -0
- package/dist/presentation/forms/segmentedPicker/index.d.ts +1 -0
- package/dist/presentation/forms/selectPicker/SelectPicker.variants.d.ts +129 -0
- package/dist/presentation/forms/selectPicker/SelectPicker.vue.d.ts +64 -0
- package/dist/presentation/forms/selectPicker/SelectPickerContent.vue.d.ts +44 -0
- package/dist/presentation/forms/selectPicker/SelectPickerContext.d.ts +76 -0
- package/dist/presentation/forms/selectPicker/SelectPickerItem.vue.d.ts +33 -0
- package/dist/presentation/forms/selectPicker/SelectPickerTrigger.vue.d.ts +31 -0
- package/dist/presentation/forms/selectPicker/SelectPickerValue.vue.d.ts +22 -0
- package/dist/presentation/forms/selectPicker/index.d.ts +7 -0
- package/dist/presentation/forms/signatureInput/SignatureInput.vue.d.ts +47 -0
- package/dist/presentation/forms/signatureInput/index.d.ts +1 -0
- package/dist/presentation/forms/sliderInput/SliderInput.vue.d.ts +45 -0
- package/dist/presentation/forms/sliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/sortableGroup/SortableGroup.vue.d.ts +17 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupContext.d.ts +23 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupHandle.vue.d.ts +13 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupItem.vue.d.ts +15 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupMoveButton.vue.d.ts +15 -0
- package/dist/presentation/forms/sortableGroup/index.d.ts +5 -0
- package/dist/presentation/forms/switchField/SwitchField.vue.d.ts +40 -0
- package/dist/presentation/forms/switchField/index.d.ts +1 -0
- package/dist/presentation/forms/switchInput/SwitchInput.vue.d.ts +44 -0
- package/dist/presentation/forms/switchInput/index.d.ts +1 -0
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +76 -0
- package/dist/presentation/forms/tagsInput/index.d.ts +1 -0
- package/dist/presentation/forms/telInput/TelInput.vue.d.ts +48 -0
- package/dist/presentation/forms/telInput/index.d.ts +1 -0
- package/dist/presentation/forms/textAreaInput/TextAreaInput.vue.d.ts +54 -0
- package/dist/presentation/forms/textAreaInput/index.d.ts +1 -0
- package/dist/presentation/forms/textInput/TextInput.vue.d.ts +51 -0
- package/dist/presentation/forms/textInput/index.d.ts +1 -0
- package/dist/presentation/forms/timeInput/TimeInput.vue.d.ts +67 -0
- package/dist/presentation/forms/timeInput/index.d.ts +1 -0
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +55 -0
- package/dist/presentation/forms/timePicker/index.d.ts +1 -0
- package/dist/presentation/forms/timezonePicker/TimezonePicker.vue.d.ts +46 -0
- package/dist/presentation/forms/timezonePicker/index.d.ts +1 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroup.variants.d.ts +33 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroup.vue.d.ts +75 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroupContext.d.ts +24 -0
- package/dist/presentation/forms/toggleGroup/index.d.ts +3 -0
- package/dist/presentation/forms/toggleInput/ToggleInput.variants.d.ts +75 -0
- package/dist/presentation/forms/toggleInput/ToggleInput.vue.d.ts +63 -0
- package/dist/presentation/forms/toggleInput/index.d.ts +2 -0
- package/dist/presentation/forms/transferPicker/TransferPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/transferPicker/index.d.ts +1 -0
- package/dist/presentation/forms/treeSelectPicker/TreeSelectPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/treeSelectPicker/TreeSelectPickerNode.vue.d.ts +8 -0
- package/dist/presentation/forms/treeSelectPicker/index.d.ts +1 -0
- package/dist/presentation/forms/urlInput/UrlInput.vue.d.ts +48 -0
- package/dist/presentation/forms/urlInput/index.d.ts +1 -0
- package/dist/presentation/forms/wizardForm/WizardForm.vue.d.ts +35 -0
- package/dist/presentation/forms/wizardForm/WizardFormContext.d.ts +46 -0
- package/dist/presentation/forms/wizardForm/WizardFormFooter.vue.d.ts +28 -0
- package/dist/presentation/forms/wizardForm/WizardFormStep.vue.d.ts +28 -0
- package/dist/presentation/forms/wizardForm/WizardFormSteps.vue.d.ts +6 -0
- package/dist/presentation/forms/wizardForm/index.d.ts +6 -0
- package/dist/presentation/forms/yearPicker/YearPicker.vue.d.ts +49 -0
- package/dist/presentation/forms/yearPicker/index.d.ts +1 -0
- package/dist/presentation/layout/anchorLayout/AnchorLayout.variants.d.ts +117 -0
- package/dist/presentation/layout/anchorLayout/AnchorLayout.vue.d.ts +63 -0
- package/dist/presentation/layout/anchorLayout/index.d.ts +2 -0
- package/dist/presentation/layout/appShell/AppShell.vue.d.ts +105 -0
- package/dist/presentation/layout/appShell/AppShellAside.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/AppShellContent.vue.d.ts +38 -0
- package/dist/presentation/layout/appShell/AppShellFooter.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/AppShellHeader.vue.d.ts +37 -0
- package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/AppShellSidebar.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/index.d.ts +7 -0
- package/dist/presentation/layout/aspectRatioLayout/AspectRatioLayout.vue.d.ts +18 -0
- package/dist/presentation/layout/aspectRatioLayout/index.d.ts +1 -0
- package/dist/presentation/layout/boxLayout/BoxLayout.vue.d.ts +19 -0
- package/dist/presentation/layout/boxLayout/index.d.ts +1 -0
- package/dist/presentation/layout/canvasArea/CanvasArea.vue.d.ts +100 -0
- package/dist/presentation/layout/canvasArea/CanvasMath.d.ts +25 -0
- package/dist/presentation/layout/canvasArea/index.d.ts +1 -0
- package/dist/presentation/layout/centerLayout/CenterLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/centerLayout/index.d.ts +1 -0
- package/dist/presentation/layout/clusterLayout/ClusterLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/clusterLayout/index.d.ts +1 -0
- package/dist/presentation/layout/containerLayout/ContainerLayout.variants.d.ts +46 -0
- package/dist/presentation/layout/containerLayout/ContainerLayout.vue.d.ts +21 -0
- package/dist/presentation/layout/containerLayout/index.d.ts +2 -0
- package/dist/presentation/layout/dividerLayout/DividerLayout.variants.d.ts +25 -0
- package/dist/presentation/layout/dividerLayout/DividerLayout.vue.d.ts +37 -0
- package/dist/presentation/layout/dividerLayout/index.d.ts +2 -0
- package/dist/presentation/layout/fieldsetLayout/FieldsetLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/fieldsetLayout/index.d.ts +1 -0
- package/dist/presentation/layout/flexLayout/FlexLayout.vue.d.ts +18 -0
- package/dist/presentation/layout/flexLayout/index.d.ts +1 -0
- package/dist/presentation/layout/frameLayout/FrameLayout.vue.d.ts +38 -0
- package/dist/presentation/layout/frameLayout/index.d.ts +1 -0
- package/dist/presentation/layout/grid/Grid.variants.d.ts +99 -0
- package/dist/presentation/layout/grid/Grid.vue.d.ts +32 -0
- package/dist/presentation/layout/grid/index.d.ts +2 -0
- package/dist/presentation/layout/hStackLayout/HStackLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/hStackLayout/index.d.ts +1 -0
- package/dist/presentation/layout/index.d.ts +35 -0
- package/dist/presentation/layout/index.js +88 -0
- package/dist/presentation/layout/index.js.map +1 -0
- package/dist/presentation/layout/inlineLayout/InlineLayout.vue.d.ts +45 -0
- package/dist/presentation/layout/inlineLayout/index.d.ts +1 -0
- package/dist/presentation/layout/inputAddonLayout/InputAddonLayout.vue.d.ts +19 -0
- package/dist/presentation/layout/inputAddonLayout/index.d.ts +1 -0
- package/dist/presentation/layout/inputGroup/InputGroup.vue.d.ts +18 -0
- package/dist/presentation/layout/inputGroup/index.d.ts +1 -0
- package/dist/presentation/layout/listDetailLayout/ListDetailLayout.vue.d.ts +43 -0
- package/dist/presentation/layout/listDetailLayout/index.d.ts +1 -0
- package/dist/presentation/layout/masonryLayout/MasonryLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/masonryLayout/index.d.ts +1 -0
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +84 -0
- package/dist/presentation/layout/navbar/Navbar.vue.d.ts +65 -0
- package/dist/presentation/layout/navbar/NavbarContext.d.ts +15 -0
- package/dist/presentation/layout/navbar/index.d.ts +3 -0
- package/dist/presentation/layout/pageHeader/PageHeader.vue.d.ts +32 -0
- package/dist/presentation/layout/pageHeader/PageHeaderActions.vue.d.ts +11 -0
- package/dist/presentation/layout/pageHeader/PageHeaderOutlet.d.ts +3 -0
- package/dist/presentation/layout/pageHeader/index.d.ts +2 -0
- package/dist/presentation/layout/pullToRefreshLayout/PullToRefreshLayout.vue.d.ts +21 -0
- package/dist/presentation/layout/pullToRefreshLayout/index.d.ts +1 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizablePanel.vue.d.ts +21 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizablePanelsLayout.vue.d.ts +61 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizableSeparator.vue.d.ts +9 -0
- package/dist/presentation/layout/resizablePanelsLayout/index.d.ts +4 -0
- package/dist/presentation/layout/scrollArea/ScrollArea.vue.d.ts +31 -0
- package/dist/presentation/layout/scrollArea/index.d.ts +1 -0
- package/dist/presentation/layout/section/Section.variants.d.ts +42 -0
- package/dist/presentation/layout/section/Section.vue.d.ts +34 -0
- package/dist/presentation/layout/section/index.d.ts +2 -0
- package/dist/presentation/layout/separatorLayout/SeparatorLayout.vue.d.ts +13 -0
- package/dist/presentation/layout/separatorLayout/index.d.ts +1 -0
- package/dist/presentation/layout/spacerLayout/SpacerLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/spacerLayout/index.d.ts +1 -0
- package/dist/presentation/layout/stackLayout/StackLayout.variants.d.ts +172 -0
- package/dist/presentation/layout/stackLayout/StackLayout.vue.d.ts +37 -0
- package/dist/presentation/layout/stackLayout/index.d.ts +2 -0
- package/dist/presentation/layout/stickyLayout/StickyLayout.vue.d.ts +39 -0
- package/dist/presentation/layout/stickyLayout/index.d.ts +1 -0
- package/dist/presentation/layout/surfaceLayout/SurfaceLayout.vue.d.ts +40 -0
- package/dist/presentation/layout/surfaceLayout/index.d.ts +1 -0
- package/dist/presentation/layout/swipeActionsLayout/SwipeActionsLayout.vue.d.ts +27 -0
- package/dist/presentation/layout/swipeActionsLayout/index.d.ts +1 -0
- package/dist/presentation/layout/tiltLayout/TiltLayout.vue.d.ts +30 -0
- package/dist/presentation/layout/tiltLayout/index.d.ts +1 -0
- package/dist/presentation/layout/twoColumnLayout/TwoColumnLayout.vue.d.ts +27 -0
- package/dist/presentation/layout/twoColumnLayout/index.d.ts +1 -0
- package/dist/presentation/layout/vStackLayout/VStackLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/vStackLayout/index.d.ts +1 -0
- package/dist/presentation/layout/virtualScrollArea/VirtualScrollArea.vue.d.ts +43 -0
- package/dist/presentation/layout/virtualScrollArea/index.d.ts +1 -0
- package/dist/presentation/nav/NavExtensions.d.ts +16 -0
- package/dist/presentation/nav/bottomNavMenu/BottomNavMenu.vue.d.ts +16 -0
- package/dist/presentation/nav/bottomNavMenu/BottomNavMenuItem.vue.d.ts +26 -0
- package/dist/presentation/nav/bottomNavMenu/index.d.ts +2 -0
- package/dist/presentation/nav/breadcrumb/Breadcrumb.vue.d.ts +26 -0
- package/dist/presentation/nav/breadcrumb/index.d.ts +1 -0
- package/dist/presentation/nav/contextMenu/ContextMenu.vue.d.ts +17 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContent.vue.d.ts +28 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContext.d.ts +20 -0
- package/dist/presentation/nav/contextMenu/ContextMenuTrigger.vue.d.ts +26 -0
- package/dist/presentation/nav/contextMenu/index.d.ts +4 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenu.vue.d.ts +30 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContent.vue.d.ts +19 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContext.d.ts +28 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuTrigger.vue.d.ts +23 -0
- package/dist/presentation/nav/dropdownMenu/index.d.ts +4 -0
- package/dist/presentation/nav/index.d.ts +13 -0
- package/dist/presentation/nav/index.js +77 -0
- package/dist/presentation/nav/index.js.map +1 -0
- package/dist/presentation/nav/linkItem/LinkItem.variants.d.ts +61 -0
- package/dist/presentation/nav/linkItem/LinkItem.vue.d.ts +25 -0
- package/dist/presentation/nav/linkItem/index.d.ts +2 -0
- package/dist/presentation/nav/menu/Menu.variants.d.ts +39 -0
- package/dist/presentation/nav/menu/Menu.vue.d.ts +63 -0
- package/dist/presentation/nav/menu/MenuCheckboxItem.vue.d.ts +49 -0
- package/dist/presentation/nav/menu/MenuContext.d.ts +104 -0
- package/dist/presentation/nav/menu/MenuExtensions.d.ts +11 -0
- package/dist/presentation/nav/menu/MenuGroup.vue.d.ts +18 -0
- package/dist/presentation/nav/menu/MenuItem.vue.d.ts +38 -0
- package/dist/presentation/nav/menu/MenuLabel.vue.d.ts +19 -0
- package/dist/presentation/nav/menu/MenuRadioGroup.vue.d.ts +34 -0
- package/dist/presentation/nav/menu/MenuRadioItem.vue.d.ts +39 -0
- package/dist/presentation/nav/menu/MenuSeparator.vue.d.ts +11 -0
- package/dist/presentation/nav/menu/MenuSub.vue.d.ts +23 -0
- package/dist/presentation/nav/menu/MenuSubContent.vue.d.ts +37 -0
- package/dist/presentation/nav/menu/MenuSubTrigger.vue.d.ts +22 -0
- package/dist/presentation/nav/menu/index.d.ts +13 -0
- package/dist/presentation/nav/menubar/Menubar.variants.d.ts +4 -0
- package/dist/presentation/nav/menubar/Menubar.vue.d.ts +31 -0
- package/dist/presentation/nav/menubar/MenubarContent.vue.d.ts +29 -0
- package/dist/presentation/nav/menubar/MenubarContext.d.ts +34 -0
- package/dist/presentation/nav/menubar/MenubarMenu.vue.d.ts +13 -0
- package/dist/presentation/nav/menubar/MenubarTrigger.vue.d.ts +19 -0
- package/dist/presentation/nav/menubar/index.d.ts +5 -0
- package/dist/presentation/nav/navItem/NavItem.vue.d.ts +29 -0
- package/dist/presentation/nav/navItem/index.d.ts +1 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenu.vue.d.ts +32 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContent.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContext.d.ts +24 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuItem.vue.d.ts +15 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuLink.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuList.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuTrigger.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/index.d.ts +7 -0
- package/dist/presentation/nav/pagination/Pagination.vue.d.ts +24 -0
- package/dist/presentation/nav/pagination/index.d.ts +1 -0
- package/dist/presentation/nav/scrollSpy/ScrollSpy.vue.d.ts +30 -0
- package/dist/presentation/nav/scrollSpy/UseScrollSpy.d.ts +20 -0
- package/dist/presentation/nav/scrollSpy/index.d.ts +2 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenu.vue.d.ts +16 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuContext.d.ts +9 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuGroup.vue.d.ts +28 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuItem.vue.d.ts +26 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuSection.vue.d.ts +14 -0
- package/dist/presentation/nav/sidebarMenu/index.d.ts +5 -0
- package/dist/presentation/nav/tableOfContents/TableOfContents.vue.d.ts +47 -0
- package/dist/presentation/nav/tableOfContents/index.d.ts +1 -0
- package/dist/presentation/overlays/OverlayBody.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayChrome.d.ts +9 -0
- package/dist/presentation/overlays/OverlayCloseButton.vue.d.ts +23 -0
- package/dist/presentation/overlays/OverlayDescription.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayExtensions.d.ts +14 -0
- package/dist/presentation/overlays/OverlayFooter.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayHeader.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayTitle.vue.d.ts +19 -0
- package/dist/presentation/overlays/actionSheet/ActionSheet.vue.d.ts +47 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetAction.vue.d.ts +28 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetCancel.vue.d.ts +18 -0
- package/dist/presentation/overlays/actionSheet/index.d.ts +4 -0
- package/dist/presentation/overlays/alertModal/AlertModal.vue.d.ts +24 -0
- package/dist/presentation/overlays/alertModal/AlertModalAction.vue.d.ts +23 -0
- package/dist/presentation/overlays/alertModal/AlertModalCancel.vue.d.ts +18 -0
- package/dist/presentation/overlays/alertModal/AlertModalContent.vue.d.ts +21 -0
- package/dist/presentation/overlays/alertModal/index.d.ts +12 -0
- package/dist/presentation/overlays/backdropOverlay/BackdropOverlay.vue.d.ts +39 -0
- package/dist/presentation/overlays/backdropOverlay/index.d.ts +1 -0
- package/dist/presentation/overlays/bottomSheet/BottomSheet.vue.d.ts +83 -0
- package/dist/presentation/overlays/bottomSheet/index.d.ts +3 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModal.vue.d.ts +37 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalContent.vue.d.ts +16 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalContext.d.ts +42 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalEmpty.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalGroup.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalInput.vue.d.ts +13 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalItem.vue.d.ts +38 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalList.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalSeparator.vue.d.ts +11 -0
- package/dist/presentation/overlays/commandPaletteModal/index.d.ts +9 -0
- package/dist/presentation/overlays/confirmPopover/ConfirmPopover.vue.d.ts +62 -0
- package/dist/presentation/overlays/confirmPopover/index.d.ts +1 -0
- package/dist/presentation/overlays/drawer/Drawer.vue.d.ts +61 -0
- package/dist/presentation/overlays/drawer/DrawerContent.vue.d.ts +57 -0
- package/dist/presentation/overlays/drawer/DrawerTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/drawer/index.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +55 -0
- package/dist/presentation/overlays/hoverCard/HoverCardArrow.vue.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCardContent.vue.d.ts +18 -0
- package/dist/presentation/overlays/hoverCard/HoverCardTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/hoverCard/index.d.ts +4 -0
- package/dist/presentation/overlays/index.d.ts +13 -0
- package/dist/presentation/overlays/index.js +81 -0
- package/dist/presentation/overlays/index.js.map +1 -0
- package/dist/presentation/overlays/lightboxModal/LightboxModal.vue.d.ts +52 -0
- package/dist/presentation/overlays/lightboxModal/index.d.ts +1 -0
- package/dist/presentation/overlays/modal/Modal.vue.d.ts +67 -0
- package/dist/presentation/overlays/modal/ModalContent.vue.d.ts +78 -0
- package/dist/presentation/overlays/modal/ModalTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/modal/index.d.ts +22 -0
- package/dist/presentation/overlays/modal/styles.css +66 -0
- package/dist/presentation/overlays/popover/Popover.vue.d.ts +67 -0
- package/dist/presentation/overlays/popover/PopoverArrow.vue.d.ts +9 -0
- package/dist/presentation/overlays/popover/PopoverContent.vue.d.ts +33 -0
- package/dist/presentation/overlays/popover/PopoverTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/popover/index.d.ts +4 -0
- package/dist/presentation/overlays/tooltip/Tooltip.vue.d.ts +41 -0
- package/dist/presentation/overlays/tooltip/index.d.ts +1 -0
- package/dist/presentation/overlays/tourPopover/TourPopover.vue.d.ts +52 -0
- package/dist/presentation/overlays/tourPopover/index.d.ts +1 -0
- package/dist/presentation/overlays/tourPopover/index.js +6 -0
- package/dist/presentation/overlays/tourPopover/index.js.map +1 -0
- package/dist/presentation/overlays/tourPopover/styles.css +137 -0
- package/dist/query/PageExtensions.d.ts +16 -0
- package/dist/query/Testing.d.ts +1 -0
- package/dist/query/Testing.js +48 -0
- package/dist/query/Testing.js.map +1 -0
- package/dist/query/UseRefresh.d.ts +20 -0
- package/dist/query/adapters/tanstack/CreateQueryClient.d.ts +42 -0
- package/dist/query/adapters/tanstack/Endpoints.d.ts +19 -0
- package/dist/query/adapters/tanstack/OptimisticTransactions.d.ts +3 -0
- package/dist/query/adapters/tanstack/Persistence.d.ts +43 -0
- package/dist/query/adapters/tanstack/QueryLifetime.d.ts +11 -0
- package/dist/query/adapters/tanstack/QueryOutcome.d.ts +8 -0
- package/dist/query/adapters/tanstack/QueryPlugin.d.ts +14 -0
- package/dist/query/adapters/tanstack/QueryProgressBridge.d.ts +15 -0
- package/dist/query/adapters/tanstack/QueryProvider.vue.d.ts +16 -0
- package/dist/query/adapters/tanstack/QueryTestUtils.d.ts +54 -0
- package/dist/query/adapters/tanstack/hooks/UseAppInfiniteQuery.d.ts +49 -0
- package/dist/query/adapters/tanstack/hooks/UseAppLazyQuery.d.ts +44 -0
- package/dist/query/adapters/tanstack/hooks/UseAppMutation.d.ts +38 -0
- package/dist/query/adapters/tanstack/hooks/UseAppPaginatedQuery.d.ts +49 -0
- package/dist/query/adapters/tanstack/hooks/UseAppQueries.d.ts +50 -0
- package/dist/query/adapters/tanstack/hooks/UseAppQuery.d.ts +58 -0
- package/dist/query/adapters/tanstack/hooks/UseAppSuspenseQuery.d.ts +50 -0
- package/dist/query/adapters/tanstack/hooks/UseOptimisticMutation.d.ts +40 -0
- package/dist/query/adapters/tanstack/hooks/UsePrefetchQuery.d.ts +28 -0
- package/dist/query/adapters/tanstack/hooks/UseQueryCache.d.ts +33 -0
- package/dist/query/adapters/tanstack/index.d.ts +20 -0
- package/dist/query/adapters/tanstack/queryDevtools/QueryDevtools.vue.d.ts +9 -0
- package/dist/query/adapters/tanstack/queryDevtools/index.d.ts +1 -0
- package/dist/query/index.d.ts +1 -0
- package/dist/query/index.js +693 -0
- package/dist/query/index.js.map +1 -0
- package/dist/reporting/CreateReporter.d.ts +97 -0
- package/dist/reporting/DescribeError.d.ts +15 -0
- package/dist/reporting/DescribeTarget.d.ts +13 -0
- package/dist/reporting/IncidentReport.d.ts +179 -0
- package/dist/reporting/ReportSink.d.ts +38 -0
- package/dist/reporting/index.d.ts +5 -0
- package/dist/reporting/index.js +573 -0
- package/dist/reporting/index.js.map +1 -0
- package/dist/router/NavigationProgressModes.d.ts +18 -0
- package/dist/router/Paths.d.ts +16 -0
- package/dist/router/ProgressProvider.vue.d.ts +18 -0
- package/dist/router/adapters/vueRouter/CreateAppRouter.d.ts +69 -0
- package/dist/router/adapters/vueRouter/DocumentMeta.d.ts +13 -0
- package/dist/router/adapters/vueRouter/DocumentTitle.d.ts +18 -0
- package/dist/router/adapters/vueRouter/Guards.d.ts +32 -0
- package/dist/router/adapters/vueRouter/LazyRoute.d.ts +34 -0
- package/dist/router/adapters/vueRouter/PageViewTracker.d.ts +23 -0
- package/dist/router/adapters/vueRouter/RouteConfig.d.ts +99 -0
- package/dist/router/adapters/vueRouter/RouteHandles.d.ts +30 -0
- package/dist/router/adapters/vueRouter/RoutePersistence.d.ts +20 -0
- package/dist/router/adapters/vueRouter/ScrollRestoration.d.ts +14 -0
- package/dist/router/adapters/vueRouter/appErrorBoundary/AppErrorBoundary.vue.d.ts +28 -0
- package/dist/router/adapters/vueRouter/appErrorBoundary/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/appLink/AppLink.vue.d.ts +36 -0
- package/dist/router/adapters/vueRouter/appLink/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/appNavLink/AppNavLink.vue.d.ts +42 -0
- package/dist/router/adapters/vueRouter/appNavLink/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/hooks/UseBreadcrumbs.d.ts +17 -0
- package/dist/router/adapters/vueRouter/hooks/UseNavigationBlocker.d.ts +41 -0
- package/dist/router/adapters/vueRouter/hooks/UsePrefetch.d.ts +19 -0
- package/dist/router/adapters/vueRouter/hooks/UseRouteNavigating.d.ts +15 -0
- package/dist/router/adapters/vueRouter/hooks/UseTypedSearchParams.d.ts +17 -0
- package/dist/router/adapters/vueRouter/index.d.ts +25 -0
- package/dist/router/adapters/vueRouter/navigationProgress/NavigationProgress.vue.d.ts +18 -0
- package/dist/router/adapters/vueRouter/navigationProgress/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/notFound/NotFound.vue.d.ts +9 -0
- package/dist/router/adapters/vueRouter/notFound/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/routeAnnouncer/RouteAnnouncer.vue.d.ts +12 -0
- package/dist/router/adapters/vueRouter/routeAnnouncer/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/routePageHeader/RoutePageHeader.vue.d.ts +22 -0
- package/dist/router/adapters/vueRouter/routePageHeader/index.d.ts +1 -0
- package/dist/router/hooks/UseNavigationProgress.d.ts +32 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/router/index.js +945 -0
- package/dist/router/index.js.map +1 -0
- package/dist/themes.css +16279 -0
- package/dist/themes.json +2989 -0
- package/package.json +515 -4
|
@@ -0,0 +1,3529 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, useTemplateRef, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, withCtx, renderSlot, normalizeStyle, createElementBlock, createElementVNode, createTextVNode, toDisplayString, shallowRef, onMounted, onBeforeUnmount, withModifiers, normalizeProps, guardReactiveProps, normalizeClass, createVNode, unref, createCommentVNode, watch, nextTick, ref, onScopeDispose, provide, inject, onUnmounted, useSlots, Fragment, Teleport, Comment, Text, renderList } from "vue";
|
|
2
|
+
import { c as cn } from "./Cn-C7De6POU.js";
|
|
3
|
+
import { a as _sfc_main$E } from "./StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js";
|
|
4
|
+
import { tv } from "tailwind-variants";
|
|
5
|
+
import { O as Orientation } from "./Orientation-u-sYunuG.js";
|
|
6
|
+
import { Minus, Plus, Maximize, ChevronLeft } from "lucide-vue-next";
|
|
7
|
+
import { _ as _sfc_main$F } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
|
|
8
|
+
import { A as Align } from "./Align-DqFtCY3a.js";
|
|
9
|
+
import { R as Radius } from "./StyleTokens-Bkz7Dm5L.js";
|
|
10
|
+
import { S as Side } from "./Side-Kw61CDou.js";
|
|
11
|
+
import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
|
|
12
|
+
import { c as composeEventHandlers } from "./ComposeEventHandlers-rgxao5aD.js";
|
|
13
|
+
import { u as useControlled } from "./UseControlled-BQneb7BW.js";
|
|
14
|
+
import { _ as _sfc_main$G } from "./Spinner.vue_vue_type_script_setup_true_lang-CPor3q8_.js";
|
|
15
|
+
import { _ as _sfc_main$H, P as Politeness } from "./Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js";
|
|
16
|
+
import { b as bannerHostKey, n as navbarContextKey } from "./NavbarContext-Cfd4u3xf.js";
|
|
17
|
+
import { _ as _sfc_main$I, a as _sfc_main$J } from "./DrawerContent.vue_vue_type_script_setup_true_lang-Dl8CP4-K.js";
|
|
18
|
+
import { S as ScrollRegionAttribute } from "./ScrollRegion-CO8KnKUY.js";
|
|
19
|
+
import { C as CssExtensions } from "./CssExtensions-ctGVlfYU.js";
|
|
20
|
+
import { a as useMediaQuery, u as useReducedMotion } from "./UseReducedMotion-NZ5fg-Xb.js";
|
|
21
|
+
import { u as usePageHeaderOutlet } from "./PageHeader.vue_vue_type_script_setup_true_lang-DdwVPgFR.js";
|
|
22
|
+
import { T as TransitionExtensions } from "./TransitionExtensions-HyBfcJnn.js";
|
|
23
|
+
import { P as Presence } from "./Presence-DDk0ZtAr.js";
|
|
24
|
+
import { P as Primitive } from "./Primitive-D-9ShOm7.js";
|
|
25
|
+
import { r as resolveElement } from "./ResolveElement-CyRfM82x.js";
|
|
26
|
+
import { s as surfaceVariants } from "./SurfaceStyles-B8KNkFsm.js";
|
|
27
|
+
import { u as useIntersectionObserver } from "./UseIntersectionObserver-yknQTqtG.js";
|
|
28
|
+
import { u as useVirtualList } from "./UseVirtualList-z9RT3QNb.js";
|
|
29
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
30
|
+
...{ name: "BoxLayout", inheritAttrs: false },
|
|
31
|
+
__name: "BoxLayout",
|
|
32
|
+
props: {
|
|
33
|
+
as: { default: "div" }
|
|
34
|
+
},
|
|
35
|
+
setup(__props, { expose: __expose }) {
|
|
36
|
+
const props = __props;
|
|
37
|
+
const attrs = useAttrs();
|
|
38
|
+
const el = useTemplateRef("el");
|
|
39
|
+
const classes = computed(() => cn(attrs.class));
|
|
40
|
+
const rest = computed(() => {
|
|
41
|
+
const { class: _class, ...others } = attrs;
|
|
42
|
+
return others;
|
|
43
|
+
});
|
|
44
|
+
__expose({ el });
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
return openBlock(), createBlock(resolveDynamicComponent(props.as), mergeProps({
|
|
47
|
+
ref_key: "el",
|
|
48
|
+
ref: el
|
|
49
|
+
}, rest.value, { class: classes.value }), {
|
|
50
|
+
default: withCtx(() => [
|
|
51
|
+
renderSlot(_ctx.$slots, "default")
|
|
52
|
+
]),
|
|
53
|
+
_: 3
|
|
54
|
+
}, 16, ["class"]);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
59
|
+
...{ name: "HStackLayout", inheritAttrs: false },
|
|
60
|
+
__name: "HStackLayout",
|
|
61
|
+
setup(__props, { expose: __expose }) {
|
|
62
|
+
const inner = useTemplateRef("inner");
|
|
63
|
+
const el = computed(() => inner.value?.el ?? null);
|
|
64
|
+
__expose({ el });
|
|
65
|
+
return (_ctx, _cache) => {
|
|
66
|
+
return openBlock(), createBlock(_sfc_main$E, mergeProps({
|
|
67
|
+
ref_key: "inner",
|
|
68
|
+
ref: inner,
|
|
69
|
+
direction: "row"
|
|
70
|
+
}, _ctx.$attrs), {
|
|
71
|
+
default: withCtx(() => [
|
|
72
|
+
renderSlot(_ctx.$slots, "default")
|
|
73
|
+
]),
|
|
74
|
+
_: 3
|
|
75
|
+
}, 16);
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
80
|
+
...{ name: "VStackLayout", inheritAttrs: false },
|
|
81
|
+
__name: "VStackLayout",
|
|
82
|
+
setup(__props, { expose: __expose }) {
|
|
83
|
+
const inner = useTemplateRef("inner");
|
|
84
|
+
const el = computed(() => inner.value?.el ?? null);
|
|
85
|
+
__expose({ el });
|
|
86
|
+
return (_ctx, _cache) => {
|
|
87
|
+
return openBlock(), createBlock(_sfc_main$E, mergeProps({
|
|
88
|
+
ref_key: "inner",
|
|
89
|
+
ref: inner,
|
|
90
|
+
direction: "column"
|
|
91
|
+
}, _ctx.$attrs), {
|
|
92
|
+
default: withCtx(() => [
|
|
93
|
+
renderSlot(_ctx.$slots, "default")
|
|
94
|
+
]),
|
|
95
|
+
_: 3
|
|
96
|
+
}, 16);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
const gridVariants = tv({
|
|
101
|
+
base: "grid",
|
|
102
|
+
variants: {
|
|
103
|
+
columns: {
|
|
104
|
+
"1": "grid-cols-1",
|
|
105
|
+
"2": "grid-cols-2",
|
|
106
|
+
"3": "grid-cols-3",
|
|
107
|
+
"4": "grid-cols-4",
|
|
108
|
+
"5": "grid-cols-5",
|
|
109
|
+
"6": "grid-cols-6",
|
|
110
|
+
"8": "grid-cols-8",
|
|
111
|
+
"12": "grid-cols-12"
|
|
112
|
+
},
|
|
113
|
+
gap: {
|
|
114
|
+
"0": "gap-0",
|
|
115
|
+
"1": "gap-1",
|
|
116
|
+
"2": "gap-2",
|
|
117
|
+
"3": "gap-3",
|
|
118
|
+
"4": "gap-4",
|
|
119
|
+
"5": "gap-5",
|
|
120
|
+
"6": "gap-6",
|
|
121
|
+
"8": "gap-8",
|
|
122
|
+
"10": "gap-10",
|
|
123
|
+
"12": "gap-12"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
defaultVariants: {
|
|
127
|
+
columns: "2",
|
|
128
|
+
gap: "4"
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
const GridBreakpoint = {
|
|
132
|
+
/** Refers to the unprefixed (mobile-first) breakpoint. */
|
|
133
|
+
Base: "base",
|
|
134
|
+
/** Refers to the `sm:` breakpoint. */
|
|
135
|
+
Sm: "sm",
|
|
136
|
+
/** Refers to the `md:` breakpoint. */
|
|
137
|
+
Md: "md",
|
|
138
|
+
/** Refers to the `lg:` breakpoint. */
|
|
139
|
+
Lg: "lg",
|
|
140
|
+
/** Refers to the `xl:` breakpoint. */
|
|
141
|
+
Xl: "xl"
|
|
142
|
+
};
|
|
143
|
+
const ColumnClasses = {
|
|
144
|
+
base: {
|
|
145
|
+
"1": "grid-cols-1",
|
|
146
|
+
"2": "grid-cols-2",
|
|
147
|
+
"3": "grid-cols-3",
|
|
148
|
+
"4": "grid-cols-4",
|
|
149
|
+
"5": "grid-cols-5",
|
|
150
|
+
"6": "grid-cols-6",
|
|
151
|
+
"8": "grid-cols-8",
|
|
152
|
+
"12": "grid-cols-12"
|
|
153
|
+
},
|
|
154
|
+
sm: {
|
|
155
|
+
"1": "sm:grid-cols-1",
|
|
156
|
+
"2": "sm:grid-cols-2",
|
|
157
|
+
"3": "sm:grid-cols-3",
|
|
158
|
+
"4": "sm:grid-cols-4",
|
|
159
|
+
"5": "sm:grid-cols-5",
|
|
160
|
+
"6": "sm:grid-cols-6",
|
|
161
|
+
"8": "sm:grid-cols-8",
|
|
162
|
+
"12": "sm:grid-cols-12"
|
|
163
|
+
},
|
|
164
|
+
md: {
|
|
165
|
+
"1": "md:grid-cols-1",
|
|
166
|
+
"2": "md:grid-cols-2",
|
|
167
|
+
"3": "md:grid-cols-3",
|
|
168
|
+
"4": "md:grid-cols-4",
|
|
169
|
+
"5": "md:grid-cols-5",
|
|
170
|
+
"6": "md:grid-cols-6",
|
|
171
|
+
"8": "md:grid-cols-8",
|
|
172
|
+
"12": "md:grid-cols-12"
|
|
173
|
+
},
|
|
174
|
+
lg: {
|
|
175
|
+
"1": "lg:grid-cols-1",
|
|
176
|
+
"2": "lg:grid-cols-2",
|
|
177
|
+
"3": "lg:grid-cols-3",
|
|
178
|
+
"4": "lg:grid-cols-4",
|
|
179
|
+
"5": "lg:grid-cols-5",
|
|
180
|
+
"6": "lg:grid-cols-6",
|
|
181
|
+
"8": "lg:grid-cols-8",
|
|
182
|
+
"12": "lg:grid-cols-12"
|
|
183
|
+
},
|
|
184
|
+
xl: {
|
|
185
|
+
"1": "xl:grid-cols-1",
|
|
186
|
+
"2": "xl:grid-cols-2",
|
|
187
|
+
"3": "xl:grid-cols-3",
|
|
188
|
+
"4": "xl:grid-cols-4",
|
|
189
|
+
"5": "xl:grid-cols-5",
|
|
190
|
+
"6": "xl:grid-cols-6",
|
|
191
|
+
"8": "xl:grid-cols-8",
|
|
192
|
+
"12": "xl:grid-cols-12"
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
const GapClasses = {
|
|
196
|
+
base: {
|
|
197
|
+
"0": "gap-0",
|
|
198
|
+
"1": "gap-1",
|
|
199
|
+
"2": "gap-2",
|
|
200
|
+
"3": "gap-3",
|
|
201
|
+
"4": "gap-4",
|
|
202
|
+
"5": "gap-5",
|
|
203
|
+
"6": "gap-6",
|
|
204
|
+
"8": "gap-8",
|
|
205
|
+
"10": "gap-10",
|
|
206
|
+
"12": "gap-12"
|
|
207
|
+
},
|
|
208
|
+
sm: {
|
|
209
|
+
"0": "sm:gap-0",
|
|
210
|
+
"1": "sm:gap-1",
|
|
211
|
+
"2": "sm:gap-2",
|
|
212
|
+
"3": "sm:gap-3",
|
|
213
|
+
"4": "sm:gap-4",
|
|
214
|
+
"5": "sm:gap-5",
|
|
215
|
+
"6": "sm:gap-6",
|
|
216
|
+
"8": "sm:gap-8",
|
|
217
|
+
"10": "sm:gap-10",
|
|
218
|
+
"12": "sm:gap-12"
|
|
219
|
+
},
|
|
220
|
+
md: {
|
|
221
|
+
"0": "md:gap-0",
|
|
222
|
+
"1": "md:gap-1",
|
|
223
|
+
"2": "md:gap-2",
|
|
224
|
+
"3": "md:gap-3",
|
|
225
|
+
"4": "md:gap-4",
|
|
226
|
+
"5": "md:gap-5",
|
|
227
|
+
"6": "md:gap-6",
|
|
228
|
+
"8": "md:gap-8",
|
|
229
|
+
"10": "md:gap-10",
|
|
230
|
+
"12": "md:gap-12"
|
|
231
|
+
},
|
|
232
|
+
lg: {
|
|
233
|
+
"0": "lg:gap-0",
|
|
234
|
+
"1": "lg:gap-1",
|
|
235
|
+
"2": "lg:gap-2",
|
|
236
|
+
"3": "lg:gap-3",
|
|
237
|
+
"4": "lg:gap-4",
|
|
238
|
+
"5": "lg:gap-5",
|
|
239
|
+
"6": "lg:gap-6",
|
|
240
|
+
"8": "lg:gap-8",
|
|
241
|
+
"10": "lg:gap-10",
|
|
242
|
+
"12": "lg:gap-12"
|
|
243
|
+
},
|
|
244
|
+
xl: {
|
|
245
|
+
"0": "xl:gap-0",
|
|
246
|
+
"1": "xl:gap-1",
|
|
247
|
+
"2": "xl:gap-2",
|
|
248
|
+
"3": "xl:gap-3",
|
|
249
|
+
"4": "xl:gap-4",
|
|
250
|
+
"5": "xl:gap-5",
|
|
251
|
+
"6": "xl:gap-6",
|
|
252
|
+
"8": "xl:gap-8",
|
|
253
|
+
"10": "xl:gap-10",
|
|
254
|
+
"12": "xl:gap-12"
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
const BreakpointOrder = ["base", "sm", "md", "lg", "xl"];
|
|
258
|
+
function resolveGridColumns(value) {
|
|
259
|
+
if (value === void 0) return void 0;
|
|
260
|
+
if (typeof value === "string") return ColumnClasses.base[value];
|
|
261
|
+
return BreakpointOrder.map((bp) => {
|
|
262
|
+
const v = value[bp];
|
|
263
|
+
return v === void 0 ? void 0 : ColumnClasses[bp][v];
|
|
264
|
+
}).filter((c) => Boolean(c)).join(" ");
|
|
265
|
+
}
|
|
266
|
+
function resolveGridGap(value) {
|
|
267
|
+
if (value === void 0) return void 0;
|
|
268
|
+
if (typeof value === "string") return GapClasses.base[value];
|
|
269
|
+
return BreakpointOrder.map((bp) => {
|
|
270
|
+
const v = value[bp];
|
|
271
|
+
return v === void 0 ? void 0 : GapClasses[bp][v];
|
|
272
|
+
}).filter((c) => Boolean(c)).join(" ");
|
|
273
|
+
}
|
|
274
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
275
|
+
...{ name: "Grid", inheritAttrs: false },
|
|
276
|
+
__name: "Grid",
|
|
277
|
+
props: {
|
|
278
|
+
as: { default: "div" },
|
|
279
|
+
columns: { default: "2" },
|
|
280
|
+
gap: { default: "4" }
|
|
281
|
+
},
|
|
282
|
+
setup(__props, { expose: __expose }) {
|
|
283
|
+
const props = __props;
|
|
284
|
+
const attrs = useAttrs();
|
|
285
|
+
const el = useTemplateRef("el");
|
|
286
|
+
const classes = computed(
|
|
287
|
+
() => cn("grid", resolveGridColumns(props.columns), resolveGridGap(props.gap), attrs.class)
|
|
288
|
+
);
|
|
289
|
+
const rest = computed(() => {
|
|
290
|
+
const { class: _class, ...others } = attrs;
|
|
291
|
+
return others;
|
|
292
|
+
});
|
|
293
|
+
__expose({ el });
|
|
294
|
+
return (_ctx, _cache) => {
|
|
295
|
+
return openBlock(), createBlock(resolveDynamicComponent(props.as), mergeProps({
|
|
296
|
+
ref_key: "el",
|
|
297
|
+
ref: el
|
|
298
|
+
}, rest.value, { class: classes.value }), {
|
|
299
|
+
default: withCtx(() => [
|
|
300
|
+
renderSlot(_ctx.$slots, "default")
|
|
301
|
+
]),
|
|
302
|
+
_: 3
|
|
303
|
+
}, 16, ["class"]);
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
const ContainerLayoutSize = {
|
|
308
|
+
/** Refers to the small screen max-width. */
|
|
309
|
+
Sm: "sm",
|
|
310
|
+
/** Refers to the medium screen max-width. */
|
|
311
|
+
Md: "md",
|
|
312
|
+
/** Refers to the large screen max-width. */
|
|
313
|
+
Lg: "lg",
|
|
314
|
+
/** Refers to the extra-large screen max-width. */
|
|
315
|
+
Xl: "xl",
|
|
316
|
+
/** Refers to the 2x extra-large screen max-width. */
|
|
317
|
+
Xxl: "2xl",
|
|
318
|
+
/** Refers to an unconstrained (full) max-width. */
|
|
319
|
+
Full: "full"
|
|
320
|
+
};
|
|
321
|
+
const containerVariants = tv({
|
|
322
|
+
base: "mx-auto w-full px-4",
|
|
323
|
+
variants: {
|
|
324
|
+
size: {
|
|
325
|
+
sm: "max-w-screen-sm",
|
|
326
|
+
md: "max-w-screen-md",
|
|
327
|
+
lg: "max-w-screen-lg",
|
|
328
|
+
xl: "max-w-screen-xl",
|
|
329
|
+
"2xl": "max-w-screen-2xl",
|
|
330
|
+
full: "max-w-full"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
defaultVariants: {
|
|
334
|
+
size: "lg"
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
338
|
+
...{ name: "ContainerLayout", inheritAttrs: false },
|
|
339
|
+
__name: "ContainerLayout",
|
|
340
|
+
props: {
|
|
341
|
+
as: { default: "div" },
|
|
342
|
+
size: {}
|
|
343
|
+
},
|
|
344
|
+
setup(__props, { expose: __expose }) {
|
|
345
|
+
const props = __props;
|
|
346
|
+
const attrs = useAttrs();
|
|
347
|
+
const el = useTemplateRef("el");
|
|
348
|
+
const classes = computed(() => cn(containerVariants({ size: props.size }), attrs.class));
|
|
349
|
+
const rest = computed(() => {
|
|
350
|
+
const { class: _class, ...others } = attrs;
|
|
351
|
+
return others;
|
|
352
|
+
});
|
|
353
|
+
__expose({ el });
|
|
354
|
+
return (_ctx, _cache) => {
|
|
355
|
+
return openBlock(), createBlock(resolveDynamicComponent(props.as), mergeProps({
|
|
356
|
+
ref_key: "el",
|
|
357
|
+
ref: el
|
|
358
|
+
}, rest.value, { class: classes.value }), {
|
|
359
|
+
default: withCtx(() => [
|
|
360
|
+
renderSlot(_ctx.$slots, "default")
|
|
361
|
+
]),
|
|
362
|
+
_: 3
|
|
363
|
+
}, 16, ["class"]);
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
368
|
+
...{ name: "FlexLayout", inheritAttrs: false },
|
|
369
|
+
__name: "FlexLayout",
|
|
370
|
+
props: {
|
|
371
|
+
as: { default: "div" }
|
|
372
|
+
},
|
|
373
|
+
setup(__props, { expose: __expose }) {
|
|
374
|
+
const props = __props;
|
|
375
|
+
const attrs = useAttrs();
|
|
376
|
+
const el = useTemplateRef("el");
|
|
377
|
+
const classes = computed(() => cn("flex", attrs.class));
|
|
378
|
+
const rest = computed(() => {
|
|
379
|
+
const { class: _class, ...others } = attrs;
|
|
380
|
+
return others;
|
|
381
|
+
});
|
|
382
|
+
__expose({ el });
|
|
383
|
+
return (_ctx, _cache) => {
|
|
384
|
+
return openBlock(), createBlock(resolveDynamicComponent(props.as), mergeProps({
|
|
385
|
+
ref_key: "el",
|
|
386
|
+
ref: el
|
|
387
|
+
}, rest.value, { class: classes.value }), {
|
|
388
|
+
default: withCtx(() => [
|
|
389
|
+
renderSlot(_ctx.$slots, "default")
|
|
390
|
+
]),
|
|
391
|
+
_: 3
|
|
392
|
+
}, 16, ["class"]);
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
397
|
+
...{ name: "AspectRatioLayout", inheritAttrs: false },
|
|
398
|
+
__name: "AspectRatioLayout",
|
|
399
|
+
props: {
|
|
400
|
+
ratio: { default: 1 }
|
|
401
|
+
},
|
|
402
|
+
setup(__props, { expose: __expose }) {
|
|
403
|
+
const props = __props;
|
|
404
|
+
const attrs = useAttrs();
|
|
405
|
+
const el = useTemplateRef("el");
|
|
406
|
+
const classes = computed(() => cn("relative w-full", attrs.class));
|
|
407
|
+
const styles = computed(() => normalizeStyle([{ aspectRatio: `${props.ratio}` }, attrs.style]));
|
|
408
|
+
const rest = computed(() => {
|
|
409
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
410
|
+
return others;
|
|
411
|
+
});
|
|
412
|
+
__expose({ el });
|
|
413
|
+
return (_ctx, _cache) => {
|
|
414
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
415
|
+
ref_key: "el",
|
|
416
|
+
ref: el
|
|
417
|
+
}, rest.value, {
|
|
418
|
+
class: classes.value,
|
|
419
|
+
style: styles.value
|
|
420
|
+
}), [
|
|
421
|
+
renderSlot(_ctx.$slots, "default")
|
|
422
|
+
], 16);
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
427
|
+
...{ name: "SpacerLayout", inheritAttrs: false },
|
|
428
|
+
__name: "SpacerLayout",
|
|
429
|
+
props: {
|
|
430
|
+
size: {},
|
|
431
|
+
axis: { default: Orientation.Horizontal }
|
|
432
|
+
},
|
|
433
|
+
setup(__props, { expose: __expose }) {
|
|
434
|
+
const props = __props;
|
|
435
|
+
const attrs = useAttrs();
|
|
436
|
+
const el = useTemplateRef("el");
|
|
437
|
+
const fixed = computed(() => {
|
|
438
|
+
if (props.size === void 0) return void 0;
|
|
439
|
+
const length = typeof props.size === "number" ? `${props.size}px` : props.size;
|
|
440
|
+
return props.axis === Orientation.Horizontal ? { width: length, flexShrink: 0 } : { height: length, flexShrink: 0 };
|
|
441
|
+
});
|
|
442
|
+
const classes = computed(() => cn(props.size === void 0 && "flex-1", attrs.class));
|
|
443
|
+
const styles = computed(() => normalizeStyle([fixed.value, attrs.style]));
|
|
444
|
+
const rest = computed(() => {
|
|
445
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
446
|
+
return others;
|
|
447
|
+
});
|
|
448
|
+
__expose({ el });
|
|
449
|
+
return (_ctx, _cache) => {
|
|
450
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
451
|
+
ref_key: "el",
|
|
452
|
+
ref: el,
|
|
453
|
+
"aria-hidden": "true"
|
|
454
|
+
}, rest.value, {
|
|
455
|
+
class: classes.value,
|
|
456
|
+
style: styles.value
|
|
457
|
+
}), null, 16);
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
462
|
+
...{ name: "CenterLayout", inheritAttrs: false },
|
|
463
|
+
__name: "CenterLayout",
|
|
464
|
+
setup(__props, { expose: __expose }) {
|
|
465
|
+
const attrs = useAttrs();
|
|
466
|
+
const el = useTemplateRef("el");
|
|
467
|
+
const classes = computed(() => cn("flex items-center justify-center", attrs.class));
|
|
468
|
+
const rest = computed(() => {
|
|
469
|
+
const { class: _class, ...others } = attrs;
|
|
470
|
+
return others;
|
|
471
|
+
});
|
|
472
|
+
__expose({ el });
|
|
473
|
+
return (_ctx, _cache) => {
|
|
474
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
475
|
+
ref_key: "el",
|
|
476
|
+
ref: el
|
|
477
|
+
}, rest.value, { class: classes.value }), [
|
|
478
|
+
renderSlot(_ctx.$slots, "default")
|
|
479
|
+
], 16);
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
const dividerVariants = tv({
|
|
484
|
+
base: "border-border",
|
|
485
|
+
variants: {
|
|
486
|
+
orientation: {
|
|
487
|
+
horizontal: "w-full border-t",
|
|
488
|
+
vertical: "self-stretch border-l"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
defaultVariants: {
|
|
492
|
+
orientation: "horizontal"
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
const _hoisted_1$d = { class: "text-sm text-muted-foreground" };
|
|
496
|
+
const _hoisted_2$3 = ["aria-orientation"];
|
|
497
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
498
|
+
...{ name: "DividerLayout", inheritAttrs: false },
|
|
499
|
+
__name: "DividerLayout",
|
|
500
|
+
props: {
|
|
501
|
+
orientation: {},
|
|
502
|
+
label: {}
|
|
503
|
+
},
|
|
504
|
+
setup(__props, { expose: __expose }) {
|
|
505
|
+
const props = __props;
|
|
506
|
+
const attrs = useAttrs();
|
|
507
|
+
const el = useTemplateRef("el");
|
|
508
|
+
const isLabelled = computed(() => props.label != null);
|
|
509
|
+
const labelledClasses = computed(() => cn("flex w-full items-center gap-3", attrs.class));
|
|
510
|
+
const plainClasses = computed(
|
|
511
|
+
() => cn(dividerVariants({ orientation: props.orientation }), attrs.class)
|
|
512
|
+
);
|
|
513
|
+
const rest = computed(() => {
|
|
514
|
+
const { class: _class, ...others } = attrs;
|
|
515
|
+
return others;
|
|
516
|
+
});
|
|
517
|
+
__expose({ el });
|
|
518
|
+
return (_ctx, _cache) => {
|
|
519
|
+
return isLabelled.value ? (openBlock(), createElementBlock("div", mergeProps({
|
|
520
|
+
key: 0,
|
|
521
|
+
ref_key: "el",
|
|
522
|
+
ref: el,
|
|
523
|
+
role: "separator",
|
|
524
|
+
"aria-orientation": "horizontal"
|
|
525
|
+
}, rest.value, { class: labelledClasses.value }), [
|
|
526
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "h-px flex-1 bg-border" }, null, -1)),
|
|
527
|
+
createElementVNode("span", _hoisted_1$d, [
|
|
528
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
529
|
+
createTextVNode(toDisplayString(props.label), 1)
|
|
530
|
+
])
|
|
531
|
+
]),
|
|
532
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "h-px flex-1 bg-border" }, null, -1))
|
|
533
|
+
], 16)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
534
|
+
key: 1,
|
|
535
|
+
ref_key: "el",
|
|
536
|
+
ref: el,
|
|
537
|
+
role: "separator",
|
|
538
|
+
"aria-orientation": props.orientation
|
|
539
|
+
}, rest.value, { class: plainClasses.value }), null, 16, _hoisted_2$3));
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
});
|
|
543
|
+
const ScrollAxis = {
|
|
544
|
+
/** Refers to vertical scrolling only. */
|
|
545
|
+
Vertical: "vertical",
|
|
546
|
+
/** Refers to horizontal scrolling only. */
|
|
547
|
+
Horizontal: "horizontal",
|
|
548
|
+
/** Refers to scrolling on both axes. */
|
|
549
|
+
Both: "both"
|
|
550
|
+
};
|
|
551
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
552
|
+
...{ name: "ScrollArea", inheritAttrs: false },
|
|
553
|
+
__name: "ScrollArea",
|
|
554
|
+
props: {
|
|
555
|
+
axis: { default: ScrollAxis.Vertical }
|
|
556
|
+
},
|
|
557
|
+
setup(__props, { expose: __expose }) {
|
|
558
|
+
const props = __props;
|
|
559
|
+
const attrs = useAttrs();
|
|
560
|
+
const el = useTemplateRef("el");
|
|
561
|
+
const classes = computed(
|
|
562
|
+
() => cn(
|
|
563
|
+
"relative",
|
|
564
|
+
props.axis === ScrollAxis.Vertical && "overflow-y-auto overflow-x-hidden",
|
|
565
|
+
props.axis === ScrollAxis.Horizontal && "overflow-x-auto overflow-y-hidden",
|
|
566
|
+
props.axis === ScrollAxis.Both && "overflow-auto",
|
|
567
|
+
attrs.class
|
|
568
|
+
)
|
|
569
|
+
);
|
|
570
|
+
const rest = computed(() => {
|
|
571
|
+
const { class: _class, ...others } = attrs;
|
|
572
|
+
return others;
|
|
573
|
+
});
|
|
574
|
+
__expose({ el });
|
|
575
|
+
return (_ctx, _cache) => {
|
|
576
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
577
|
+
ref_key: "el",
|
|
578
|
+
ref: el
|
|
579
|
+
}, rest.value, { class: classes.value }), [
|
|
580
|
+
renderSlot(_ctx.$slots, "default")
|
|
581
|
+
], 16);
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
const WheelZoomRate = 2e-3;
|
|
586
|
+
const WheelDeltaLimit = 100;
|
|
587
|
+
function clampZoom(zoom, min, max) {
|
|
588
|
+
return Math.min(max, Math.max(min, zoom));
|
|
589
|
+
}
|
|
590
|
+
function zoomAt(viewport, zoom, anchor) {
|
|
591
|
+
const ratio = zoom / viewport.zoom;
|
|
592
|
+
return {
|
|
593
|
+
zoom,
|
|
594
|
+
x: anchor.x - (anchor.x - viewport.x) * ratio,
|
|
595
|
+
y: anchor.y - (anchor.y - viewport.y) * ratio
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
function clampToContent(viewport, area, content) {
|
|
599
|
+
return {
|
|
600
|
+
zoom: viewport.zoom,
|
|
601
|
+
x: clampAxis(viewport.x, area.width, content.width * viewport.zoom),
|
|
602
|
+
y: clampAxis(viewport.y, area.height, content.height * viewport.zoom)
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function fitViewport(area, content, padding, minZoom, maxZoom) {
|
|
606
|
+
if (area.width <= 0 || area.height <= 0 || content.width <= 0 || content.height <= 0) return { x: 0, y: 0, zoom: 1 };
|
|
607
|
+
const zoom = clampZoom(
|
|
608
|
+
Math.min((area.width - padding * 2) / content.width, (area.height - padding * 2) / content.height),
|
|
609
|
+
minZoom,
|
|
610
|
+
maxZoom
|
|
611
|
+
);
|
|
612
|
+
return {
|
|
613
|
+
zoom,
|
|
614
|
+
x: (area.width - content.width * zoom) / 2,
|
|
615
|
+
y: (area.height - content.height * zoom) / 2
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
function wheelPixels(event, pageHeight) {
|
|
619
|
+
const unit = event.deltaMode === 1 ? 16 : event.deltaMode === 2 ? pageHeight : 1;
|
|
620
|
+
const x = event.deltaX * unit;
|
|
621
|
+
const y = event.deltaY * unit;
|
|
622
|
+
return event.shiftKey && x === 0 ? { x: y, y: 0 } : { x, y };
|
|
623
|
+
}
|
|
624
|
+
function wheelZoomFactor(deltaY) {
|
|
625
|
+
return Math.exp(-Math.max(-WheelDeltaLimit, Math.min(WheelDeltaLimit, deltaY)) * WheelZoomRate);
|
|
626
|
+
}
|
|
627
|
+
function sameViewport(a, b) {
|
|
628
|
+
return a.x === b.x && a.y === b.y && a.zoom === b.zoom;
|
|
629
|
+
}
|
|
630
|
+
function clampAxis(offset, area, extent) {
|
|
631
|
+
if (extent <= area) return (area - extent) / 2;
|
|
632
|
+
return Math.min(0, Math.max(area - extent, offset));
|
|
633
|
+
}
|
|
634
|
+
const _hoisted_1$c = ["aria-roledescription"];
|
|
635
|
+
const _hoisted_2$2 = ["aria-label"];
|
|
636
|
+
const _hoisted_3$1 = ["aria-label", "disabled"];
|
|
637
|
+
const _hoisted_4$1 = ["aria-label"];
|
|
638
|
+
const _hoisted_5$1 = ["aria-label", "disabled"];
|
|
639
|
+
const _hoisted_6 = ["aria-label"];
|
|
640
|
+
const CanvasBounds = {
|
|
641
|
+
/** Scroll-like: content never leaves the area, and an axis shorter than the area centers. */
|
|
642
|
+
Content: "content",
|
|
643
|
+
/** An open plane that pans anywhere, as a node editor does. */
|
|
644
|
+
None: "none"
|
|
645
|
+
};
|
|
646
|
+
const CanvasWheel = {
|
|
647
|
+
/** Moves the plane as a scroll region would; the page scrolls on once the content's edge is reached. */
|
|
648
|
+
Pan: "pan",
|
|
649
|
+
/** Zooms about the pointer, for a full-screen editor with nothing to scroll around it. */
|
|
650
|
+
Zoom: "zoom"
|
|
651
|
+
};
|
|
652
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
653
|
+
...{ name: "CanvasArea", inheritAttrs: false },
|
|
654
|
+
__name: "CanvasArea",
|
|
655
|
+
props: {
|
|
656
|
+
viewport: {},
|
|
657
|
+
initialZoom: { default: 1 },
|
|
658
|
+
minZoom: { default: 0.25 },
|
|
659
|
+
maxZoom: { default: 4 },
|
|
660
|
+
zoomStep: { default: 1.25 },
|
|
661
|
+
bounds: { default: CanvasBounds.Content },
|
|
662
|
+
wheel: { default: CanvasWheel.Pan },
|
|
663
|
+
fitPadding: { default: 16 },
|
|
664
|
+
hasControls: { type: Boolean, default: true },
|
|
665
|
+
labels: {}
|
|
666
|
+
},
|
|
667
|
+
emits: ["update:viewport"],
|
|
668
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
669
|
+
const props = __props;
|
|
670
|
+
const emit = __emit;
|
|
671
|
+
const DragThreshold = { mouse: 3, other: 8 };
|
|
672
|
+
const PanStep = 40;
|
|
673
|
+
const labels = computed(() => ({
|
|
674
|
+
canvas: "canvas",
|
|
675
|
+
controls: "Zoom",
|
|
676
|
+
zoomIn: "Zoom in",
|
|
677
|
+
zoomOut: "Zoom out",
|
|
678
|
+
reset: "reset zoom",
|
|
679
|
+
fit: "Fit to view",
|
|
680
|
+
...props.labels
|
|
681
|
+
}));
|
|
682
|
+
const attrs = useAttrs();
|
|
683
|
+
const el = useTemplateRef("el");
|
|
684
|
+
const content = useTemplateRef("content");
|
|
685
|
+
const isControlled = props.viewport !== void 0;
|
|
686
|
+
const internal = shallowRef({
|
|
687
|
+
x: 0,
|
|
688
|
+
y: 0,
|
|
689
|
+
zoom: typeof props.initialZoom === "number" ? clampZoom(props.initialZoom, props.minZoom, props.maxZoom) : 1
|
|
690
|
+
});
|
|
691
|
+
const area = shallowRef({ width: 0, height: 0 });
|
|
692
|
+
const plane = shallowRef({ width: 0, height: 0 });
|
|
693
|
+
const isPanning = shallowRef(false);
|
|
694
|
+
const view = computed(() => settle(isControlled ? props.viewport ?? internal.value : internal.value));
|
|
695
|
+
const canZoomIn = computed(() => view.value.zoom < props.maxZoom - 1e-6);
|
|
696
|
+
const canZoomOut = computed(() => view.value.zoom > props.minZoom + 1e-6);
|
|
697
|
+
const percent = computed(() => Math.round(view.value.zoom * 100));
|
|
698
|
+
function settle(next) {
|
|
699
|
+
const zoomed = { ...next, zoom: clampZoom(next.zoom, props.minZoom, props.maxZoom) };
|
|
700
|
+
return props.bounds === CanvasBounds.Content ? clampToContent(zoomed, area.value, plane.value) : zoomed;
|
|
701
|
+
}
|
|
702
|
+
function commit(next) {
|
|
703
|
+
const settled = settle(next);
|
|
704
|
+
if (sameViewport(settled, view.value)) return false;
|
|
705
|
+
if (!isControlled) internal.value = settled;
|
|
706
|
+
emit("update:viewport", settled);
|
|
707
|
+
return true;
|
|
708
|
+
}
|
|
709
|
+
function center() {
|
|
710
|
+
return { x: area.value.width / 2, y: area.value.height / 2 };
|
|
711
|
+
}
|
|
712
|
+
function local(point) {
|
|
713
|
+
const rect = el.value?.getBoundingClientRect();
|
|
714
|
+
return rect ? { x: point.x - rect.left, y: point.y - rect.top } : point;
|
|
715
|
+
}
|
|
716
|
+
function zoomBy(factor, anchor = center()) {
|
|
717
|
+
const current = view.value;
|
|
718
|
+
return commit(zoomAt(current, clampZoom(current.zoom * factor, props.minZoom, props.maxZoom), anchor));
|
|
719
|
+
}
|
|
720
|
+
function zoomIn() {
|
|
721
|
+
zoomBy(props.zoomStep);
|
|
722
|
+
}
|
|
723
|
+
function zoomOut() {
|
|
724
|
+
zoomBy(1 / props.zoomStep);
|
|
725
|
+
}
|
|
726
|
+
function zoomTo(zoom, anchor = center()) {
|
|
727
|
+
commit(zoomAt(view.value, clampZoom(zoom, props.minZoom, props.maxZoom), anchor));
|
|
728
|
+
}
|
|
729
|
+
function reset() {
|
|
730
|
+
zoomTo(1);
|
|
731
|
+
}
|
|
732
|
+
function fit() {
|
|
733
|
+
commit(fitViewport(area.value, plane.value, props.fitPadding, props.minZoom, Math.min(1, props.maxZoom)));
|
|
734
|
+
}
|
|
735
|
+
function panBy(dx, dy) {
|
|
736
|
+
const current = view.value;
|
|
737
|
+
return commit({ ...current, x: current.x + dx, y: current.y + dy });
|
|
738
|
+
}
|
|
739
|
+
const controls = computed(() => ({
|
|
740
|
+
zoom: view.value.zoom,
|
|
741
|
+
percent: percent.value,
|
|
742
|
+
canZoomIn: canZoomIn.value,
|
|
743
|
+
canZoomOut: canZoomOut.value,
|
|
744
|
+
zoomIn,
|
|
745
|
+
zoomOut,
|
|
746
|
+
reset,
|
|
747
|
+
fit
|
|
748
|
+
}));
|
|
749
|
+
function isEditable(target) {
|
|
750
|
+
return target instanceof HTMLElement && (target.isContentEditable || /^(?:INPUT|TEXTAREA|SELECT)$/.test(target.tagName));
|
|
751
|
+
}
|
|
752
|
+
let observer = null;
|
|
753
|
+
let isPlaced = false;
|
|
754
|
+
function measure() {
|
|
755
|
+
const root = el.value;
|
|
756
|
+
const inner = content.value;
|
|
757
|
+
if (!root || !inner) return;
|
|
758
|
+
const nextArea = { width: root.clientWidth, height: root.clientHeight };
|
|
759
|
+
const nextPlane = { width: inner.offsetWidth, height: inner.offsetHeight };
|
|
760
|
+
if (nextArea.width !== area.value.width || nextArea.height !== area.value.height) area.value = nextArea;
|
|
761
|
+
if (nextPlane.width !== plane.value.width || nextPlane.height !== plane.value.height) plane.value = nextPlane;
|
|
762
|
+
if (isPlaced || nextArea.width <= 0 || nextPlane.width <= 0) return;
|
|
763
|
+
isPlaced = true;
|
|
764
|
+
if (!isControlled && props.initialZoom === "fit")
|
|
765
|
+
internal.value = fitViewport(nextArea, nextPlane, props.fitPadding, props.minZoom, Math.min(1, props.maxZoom));
|
|
766
|
+
}
|
|
767
|
+
function onWheel(event) {
|
|
768
|
+
const root = el.value;
|
|
769
|
+
if (!root) return;
|
|
770
|
+
const delta = wheelPixels(event, root.clientHeight);
|
|
771
|
+
if (event.ctrlKey || event.metaKey || props.wheel === CanvasWheel.Zoom) {
|
|
772
|
+
event.preventDefault();
|
|
773
|
+
zoomBy(wheelZoomFactor(delta.y), local({ x: event.clientX, y: event.clientY }));
|
|
774
|
+
return;
|
|
775
|
+
}
|
|
776
|
+
if (panBy(-delta.x, -delta.y)) event.preventDefault();
|
|
777
|
+
}
|
|
778
|
+
function onKeydown(event) {
|
|
779
|
+
if (event.defaultPrevented || event.altKey || event.ctrlKey || event.metaKey || isEditable(event.target)) return;
|
|
780
|
+
const step = event.shiftKey ? PanStep * 4 : PanStep;
|
|
781
|
+
switch (event.key) {
|
|
782
|
+
case "+":
|
|
783
|
+
case "=":
|
|
784
|
+
zoomIn();
|
|
785
|
+
break;
|
|
786
|
+
case "-":
|
|
787
|
+
case "_":
|
|
788
|
+
zoomOut();
|
|
789
|
+
break;
|
|
790
|
+
case "0":
|
|
791
|
+
reset();
|
|
792
|
+
break;
|
|
793
|
+
case "ArrowLeft":
|
|
794
|
+
if (!panBy(step, 0)) return;
|
|
795
|
+
break;
|
|
796
|
+
case "ArrowRight":
|
|
797
|
+
if (!panBy(-step, 0)) return;
|
|
798
|
+
break;
|
|
799
|
+
case "ArrowUp":
|
|
800
|
+
if (!panBy(0, step)) return;
|
|
801
|
+
break;
|
|
802
|
+
case "ArrowDown":
|
|
803
|
+
if (!panBy(0, -step)) return;
|
|
804
|
+
break;
|
|
805
|
+
default:
|
|
806
|
+
return;
|
|
807
|
+
}
|
|
808
|
+
event.preventDefault();
|
|
809
|
+
}
|
|
810
|
+
const pointers = /* @__PURE__ */ new Map();
|
|
811
|
+
let gesture = null;
|
|
812
|
+
let suppressClick = false;
|
|
813
|
+
function capture(pointerId) {
|
|
814
|
+
try {
|
|
815
|
+
el.value?.setPointerCapture(pointerId);
|
|
816
|
+
} catch {
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
function release(pointerId) {
|
|
820
|
+
try {
|
|
821
|
+
if (el.value?.hasPointerCapture(pointerId)) el.value.releasePointerCapture(pointerId);
|
|
822
|
+
} catch {
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
function midpoint(a, b) {
|
|
826
|
+
return { x: (a.x + b.x) / 2, y: (a.y + b.y) / 2 };
|
|
827
|
+
}
|
|
828
|
+
function beginPinch() {
|
|
829
|
+
const [first, second] = [...pointers.entries()];
|
|
830
|
+
if (!first || !second) return;
|
|
831
|
+
gesture = {
|
|
832
|
+
kind: "pinch",
|
|
833
|
+
ids: [first[0], second[0]],
|
|
834
|
+
startDistance: Math.max(1, Math.hypot(first[1].x - second[1].x, first[1].y - second[1].y)),
|
|
835
|
+
startCenter: local(midpoint(first[1], second[1])),
|
|
836
|
+
origin: view.value
|
|
837
|
+
};
|
|
838
|
+
capture(first[0]);
|
|
839
|
+
capture(second[0]);
|
|
840
|
+
suppressClick = true;
|
|
841
|
+
isPanning.value = true;
|
|
842
|
+
}
|
|
843
|
+
function onPointerDown(event) {
|
|
844
|
+
if (event.button !== 0 || isEditable(event.target)) return;
|
|
845
|
+
pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });
|
|
846
|
+
if (pointers.size === 1) {
|
|
847
|
+
suppressClick = false;
|
|
848
|
+
gesture = {
|
|
849
|
+
kind: "pan",
|
|
850
|
+
pointerId: event.pointerId,
|
|
851
|
+
startX: event.clientX,
|
|
852
|
+
startY: event.clientY,
|
|
853
|
+
origin: view.value,
|
|
854
|
+
isDragging: false
|
|
855
|
+
};
|
|
856
|
+
} else if (pointers.size === 2) beginPinch();
|
|
857
|
+
}
|
|
858
|
+
function onPointerMove(event) {
|
|
859
|
+
if (!pointers.has(event.pointerId)) return;
|
|
860
|
+
pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });
|
|
861
|
+
const current = gesture;
|
|
862
|
+
if (!current) return;
|
|
863
|
+
if (current.kind === "pan") {
|
|
864
|
+
if (event.pointerId !== current.pointerId) return;
|
|
865
|
+
const dx = event.clientX - current.startX;
|
|
866
|
+
const dy = event.clientY - current.startY;
|
|
867
|
+
if (!current.isDragging) {
|
|
868
|
+
if (Math.hypot(dx, dy) < (event.pointerType === "mouse" ? DragThreshold.mouse : DragThreshold.other)) return;
|
|
869
|
+
gesture = { ...current, isDragging: true };
|
|
870
|
+
capture(event.pointerId);
|
|
871
|
+
suppressClick = true;
|
|
872
|
+
isPanning.value = true;
|
|
873
|
+
}
|
|
874
|
+
commit({ ...current.origin, x: current.origin.x + dx, y: current.origin.y + dy });
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
877
|
+
const a = pointers.get(current.ids[0]);
|
|
878
|
+
const b = pointers.get(current.ids[1]);
|
|
879
|
+
if (!a || !b) return;
|
|
880
|
+
const zoom = clampZoom(
|
|
881
|
+
current.origin.zoom * (Math.hypot(a.x - b.x, a.y - b.y) / current.startDistance),
|
|
882
|
+
props.minZoom,
|
|
883
|
+
props.maxZoom
|
|
884
|
+
);
|
|
885
|
+
const scaled = zoomAt(current.origin, zoom, current.startCenter);
|
|
886
|
+
const moved = local(midpoint(a, b));
|
|
887
|
+
commit({ zoom, x: scaled.x + moved.x - current.startCenter.x, y: scaled.y + moved.y - current.startCenter.y });
|
|
888
|
+
}
|
|
889
|
+
function onPointerEnd(event) {
|
|
890
|
+
if (!pointers.delete(event.pointerId)) return;
|
|
891
|
+
release(event.pointerId);
|
|
892
|
+
const remaining = [...pointers.entries()][0];
|
|
893
|
+
if (gesture?.kind === "pinch" && pointers.size === 1 && remaining) {
|
|
894
|
+
gesture = {
|
|
895
|
+
kind: "pan",
|
|
896
|
+
pointerId: remaining[0],
|
|
897
|
+
startX: remaining[1].x,
|
|
898
|
+
startY: remaining[1].y,
|
|
899
|
+
origin: view.value,
|
|
900
|
+
isDragging: true
|
|
901
|
+
};
|
|
902
|
+
return;
|
|
903
|
+
}
|
|
904
|
+
if (pointers.size > 0) return;
|
|
905
|
+
gesture = null;
|
|
906
|
+
isPanning.value = false;
|
|
907
|
+
if (suppressClick) setTimeout(() => suppressClick = false, 0);
|
|
908
|
+
}
|
|
909
|
+
function onClickCapture(event) {
|
|
910
|
+
if (!suppressClick) return;
|
|
911
|
+
suppressClick = false;
|
|
912
|
+
event.preventDefault();
|
|
913
|
+
event.stopPropagation();
|
|
914
|
+
}
|
|
915
|
+
onMounted(() => {
|
|
916
|
+
el.value?.addEventListener("wheel", onWheel, { passive: false });
|
|
917
|
+
measure();
|
|
918
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
919
|
+
observer = new ResizeObserver(measure);
|
|
920
|
+
if (el.value) observer.observe(el.value);
|
|
921
|
+
if (content.value) observer.observe(content.value);
|
|
922
|
+
});
|
|
923
|
+
onBeforeUnmount(() => {
|
|
924
|
+
el.value?.removeEventListener("wheel", onWheel);
|
|
925
|
+
observer?.disconnect();
|
|
926
|
+
observer = null;
|
|
927
|
+
for (const pointerId of pointers.keys()) release(pointerId);
|
|
928
|
+
pointers.clear();
|
|
929
|
+
gesture = null;
|
|
930
|
+
});
|
|
931
|
+
const classes = computed(
|
|
932
|
+
() => cn(
|
|
933
|
+
"relative h-96 w-full touch-none select-none overflow-hidden rounded-md border border-border bg-muted/30",
|
|
934
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
935
|
+
isPanning.value ? "cursor-grabbing" : "cursor-grab",
|
|
936
|
+
attrs.class
|
|
937
|
+
)
|
|
938
|
+
);
|
|
939
|
+
const rest = computed(() => {
|
|
940
|
+
const { class: _class, ...others } = attrs;
|
|
941
|
+
return others;
|
|
942
|
+
});
|
|
943
|
+
const planeStyle = computed(() => ({
|
|
944
|
+
transform: `translate(${view.value.x}px, ${view.value.y}px) scale(${view.value.zoom})`
|
|
945
|
+
}));
|
|
946
|
+
const ControlClass = "inline-flex h-7 min-w-7 items-center justify-center rounded-md px-1.5 text-xs text-muted-foreground hover:bg-muted hover:text-foreground disabled:pointer-events-none disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
|
|
947
|
+
const ResetClass = cn(ControlClass, "min-w-12 tabular-nums");
|
|
948
|
+
__expose({ el, zoomIn, zoomOut, zoomTo, reset, fit, panBy });
|
|
949
|
+
return (_ctx, _cache) => {
|
|
950
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
951
|
+
ref_key: "el",
|
|
952
|
+
ref: el,
|
|
953
|
+
tabindex: "0",
|
|
954
|
+
role: "group",
|
|
955
|
+
"aria-roledescription": labels.value.canvas
|
|
956
|
+
}, rest.value, {
|
|
957
|
+
class: classes.value,
|
|
958
|
+
onPointerdown: onPointerDown,
|
|
959
|
+
onPointermove: onPointerMove,
|
|
960
|
+
onPointerup: onPointerEnd,
|
|
961
|
+
onPointercancel: onPointerEnd,
|
|
962
|
+
onClickCapture,
|
|
963
|
+
onDragstart: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
964
|
+
}, ["prevent"])),
|
|
965
|
+
onKeydown
|
|
966
|
+
}), [
|
|
967
|
+
createElementVNode("div", {
|
|
968
|
+
ref_key: "content",
|
|
969
|
+
ref: content,
|
|
970
|
+
"data-canvas-plane": "",
|
|
971
|
+
class: "absolute left-0 top-0 w-max origin-top-left",
|
|
972
|
+
style: normalizeStyle(planeStyle.value)
|
|
973
|
+
}, [
|
|
974
|
+
renderSlot(_ctx.$slots, "default")
|
|
975
|
+
], 4),
|
|
976
|
+
__props.hasControls ? (openBlock(), createElementBlock("div", {
|
|
977
|
+
key: 0,
|
|
978
|
+
role: "group",
|
|
979
|
+
"aria-label": labels.value.controls,
|
|
980
|
+
class: "absolute bottom-3 end-3 flex cursor-auto items-center gap-0.5 rounded-lg border border-border bg-card p-0.5 shadow-sm",
|
|
981
|
+
onPointerdown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
982
|
+
}, ["stop"]))
|
|
983
|
+
}, [
|
|
984
|
+
renderSlot(_ctx.$slots, "controls", normalizeProps(guardReactiveProps(controls.value)), () => [
|
|
985
|
+
createElementVNode("button", {
|
|
986
|
+
type: "button",
|
|
987
|
+
class: normalizeClass(ControlClass),
|
|
988
|
+
"aria-label": labels.value.zoomOut,
|
|
989
|
+
disabled: !canZoomOut.value,
|
|
990
|
+
onClick: zoomOut
|
|
991
|
+
}, [
|
|
992
|
+
createVNode(unref(_sfc_main$F), {
|
|
993
|
+
icon: unref(Minus),
|
|
994
|
+
size: 14
|
|
995
|
+
}, null, 8, ["icon"])
|
|
996
|
+
], 8, _hoisted_3$1),
|
|
997
|
+
createElementVNode("button", {
|
|
998
|
+
type: "button",
|
|
999
|
+
class: normalizeClass(unref(ResetClass)),
|
|
1000
|
+
"aria-label": `${percent.value}%, ${labels.value.reset}`,
|
|
1001
|
+
onClick: reset
|
|
1002
|
+
}, toDisplayString(percent.value) + "% ", 11, _hoisted_4$1),
|
|
1003
|
+
createElementVNode("button", {
|
|
1004
|
+
type: "button",
|
|
1005
|
+
class: normalizeClass(ControlClass),
|
|
1006
|
+
"aria-label": labels.value.zoomIn,
|
|
1007
|
+
disabled: !canZoomIn.value,
|
|
1008
|
+
onClick: zoomIn
|
|
1009
|
+
}, [
|
|
1010
|
+
createVNode(unref(_sfc_main$F), {
|
|
1011
|
+
icon: unref(Plus),
|
|
1012
|
+
size: 14
|
|
1013
|
+
}, null, 8, ["icon"])
|
|
1014
|
+
], 8, _hoisted_5$1),
|
|
1015
|
+
createElementVNode("button", {
|
|
1016
|
+
type: "button",
|
|
1017
|
+
class: normalizeClass(ControlClass),
|
|
1018
|
+
"aria-label": labels.value.fit,
|
|
1019
|
+
onClick: fit
|
|
1020
|
+
}, [
|
|
1021
|
+
createVNode(unref(_sfc_main$F), {
|
|
1022
|
+
icon: unref(Maximize),
|
|
1023
|
+
size: 13
|
|
1024
|
+
}, null, 8, ["icon"])
|
|
1025
|
+
], 8, _hoisted_6)
|
|
1026
|
+
])
|
|
1027
|
+
], 40, _hoisted_2$2)) : createCommentVNode("", true)
|
|
1028
|
+
], 16, _hoisted_1$c);
|
|
1029
|
+
};
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
const GapClass$1 = {
|
|
1033
|
+
"2": "gap-2",
|
|
1034
|
+
"3": "gap-3",
|
|
1035
|
+
"4": "gap-4",
|
|
1036
|
+
"6": "gap-6",
|
|
1037
|
+
"8": "gap-8"
|
|
1038
|
+
};
|
|
1039
|
+
const JustifyClass = {
|
|
1040
|
+
start: "justify-start",
|
|
1041
|
+
center: "justify-center",
|
|
1042
|
+
end: "justify-end"
|
|
1043
|
+
};
|
|
1044
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1045
|
+
...{ name: "ClusterLayout", inheritAttrs: false },
|
|
1046
|
+
__name: "ClusterLayout",
|
|
1047
|
+
props: {
|
|
1048
|
+
gap: { default: "4" },
|
|
1049
|
+
justify: { default: Align.Center }
|
|
1050
|
+
},
|
|
1051
|
+
setup(__props, { expose: __expose }) {
|
|
1052
|
+
const props = __props;
|
|
1053
|
+
const attrs = useAttrs();
|
|
1054
|
+
const el = useTemplateRef("el");
|
|
1055
|
+
const classes = computed(
|
|
1056
|
+
() => cn(
|
|
1057
|
+
"flex flex-wrap items-center",
|
|
1058
|
+
GapClass$1[props.gap],
|
|
1059
|
+
JustifyClass[props.justify],
|
|
1060
|
+
attrs.class
|
|
1061
|
+
)
|
|
1062
|
+
);
|
|
1063
|
+
const rest = computed(() => {
|
|
1064
|
+
const { class: _class, ...others } = attrs;
|
|
1065
|
+
return others;
|
|
1066
|
+
});
|
|
1067
|
+
__expose({ el });
|
|
1068
|
+
return (_ctx, _cache) => {
|
|
1069
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1070
|
+
ref_key: "el",
|
|
1071
|
+
ref: el
|
|
1072
|
+
}, rest.value, { class: classes.value }), [
|
|
1073
|
+
renderSlot(_ctx.$slots, "default")
|
|
1074
|
+
], 16);
|
|
1075
|
+
};
|
|
1076
|
+
}
|
|
1077
|
+
});
|
|
1078
|
+
const FrameLayoutSurface = {
|
|
1079
|
+
/** Refers to a raised card surface. */
|
|
1080
|
+
Card: "card",
|
|
1081
|
+
/** Refers to a recessed muted surface. */
|
|
1082
|
+
Muted: "muted",
|
|
1083
|
+
/** Refers to no surface fill (transparent). */
|
|
1084
|
+
Transparent: "transparent"
|
|
1085
|
+
};
|
|
1086
|
+
const PaddingClass = {
|
|
1087
|
+
"0": "",
|
|
1088
|
+
"2": "p-2",
|
|
1089
|
+
"3": "p-3",
|
|
1090
|
+
"4": "p-4",
|
|
1091
|
+
"6": "p-6",
|
|
1092
|
+
"8": "p-8"
|
|
1093
|
+
};
|
|
1094
|
+
const RadiusClass = {
|
|
1095
|
+
none: "",
|
|
1096
|
+
sm: "rounded-sm",
|
|
1097
|
+
md: "rounded-md",
|
|
1098
|
+
lg: "rounded-lg",
|
|
1099
|
+
xl: "rounded-xl",
|
|
1100
|
+
"2xl": "rounded-2xl",
|
|
1101
|
+
full: "rounded-full"
|
|
1102
|
+
};
|
|
1103
|
+
const SurfaceClass = {
|
|
1104
|
+
card: "bg-card text-card-foreground",
|
|
1105
|
+
muted: "bg-muted text-foreground",
|
|
1106
|
+
transparent: ""
|
|
1107
|
+
};
|
|
1108
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1109
|
+
...{ name: "FrameLayout", inheritAttrs: false },
|
|
1110
|
+
__name: "FrameLayout",
|
|
1111
|
+
props: {
|
|
1112
|
+
padding: { default: "4" },
|
|
1113
|
+
radius: { default: Radius.Md },
|
|
1114
|
+
surface: { default: FrameLayoutSurface.Card },
|
|
1115
|
+
isBordered: { type: Boolean, default: true }
|
|
1116
|
+
},
|
|
1117
|
+
setup(__props, { expose: __expose }) {
|
|
1118
|
+
const props = __props;
|
|
1119
|
+
const attrs = useAttrs();
|
|
1120
|
+
const el = useTemplateRef("el");
|
|
1121
|
+
const classes = computed(
|
|
1122
|
+
() => cn(
|
|
1123
|
+
SurfaceClass[props.surface],
|
|
1124
|
+
PaddingClass[props.padding],
|
|
1125
|
+
RadiusClass[props.radius],
|
|
1126
|
+
props.isBordered && "border border-border",
|
|
1127
|
+
attrs.class
|
|
1128
|
+
)
|
|
1129
|
+
);
|
|
1130
|
+
const rest = computed(() => {
|
|
1131
|
+
const { class: _class, ...others } = attrs;
|
|
1132
|
+
return others;
|
|
1133
|
+
});
|
|
1134
|
+
__expose({ el });
|
|
1135
|
+
return (_ctx, _cache) => {
|
|
1136
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1137
|
+
ref_key: "el",
|
|
1138
|
+
ref: el
|
|
1139
|
+
}, rest.value, { class: classes.value }), [
|
|
1140
|
+
renderSlot(_ctx.$slots, "default")
|
|
1141
|
+
], 16);
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
});
|
|
1145
|
+
const _hoisted_1$b = { class: "min-w-0 flex-1" };
|
|
1146
|
+
const GapClass = {
|
|
1147
|
+
"0": "gap-0",
|
|
1148
|
+
"4": "gap-4",
|
|
1149
|
+
"6": "gap-6",
|
|
1150
|
+
"8": "gap-8",
|
|
1151
|
+
"10": "gap-10"
|
|
1152
|
+
};
|
|
1153
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1154
|
+
...{ name: "TwoColumnLayout", inheritAttrs: false },
|
|
1155
|
+
__name: "TwoColumnLayout",
|
|
1156
|
+
props: {
|
|
1157
|
+
asideWidth: { default: "w-64" },
|
|
1158
|
+
asideSide: { default: Side.Left },
|
|
1159
|
+
gap: { default: "6" }
|
|
1160
|
+
},
|
|
1161
|
+
setup(__props, { expose: __expose }) {
|
|
1162
|
+
const props = __props;
|
|
1163
|
+
const attrs = useAttrs();
|
|
1164
|
+
const el = useTemplateRef("el");
|
|
1165
|
+
const classes = computed(
|
|
1166
|
+
() => cn(
|
|
1167
|
+
"flex w-full",
|
|
1168
|
+
props.asideSide === Side.Right && "flex-row-reverse",
|
|
1169
|
+
GapClass[props.gap],
|
|
1170
|
+
attrs.class
|
|
1171
|
+
)
|
|
1172
|
+
);
|
|
1173
|
+
const asideClasses = computed(() => cn("shrink-0", props.asideWidth));
|
|
1174
|
+
const rest = computed(() => {
|
|
1175
|
+
const { class: _class, ...others } = attrs;
|
|
1176
|
+
return others;
|
|
1177
|
+
});
|
|
1178
|
+
__expose({ el });
|
|
1179
|
+
return (_ctx, _cache) => {
|
|
1180
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1181
|
+
ref_key: "el",
|
|
1182
|
+
ref: el
|
|
1183
|
+
}, rest.value, { class: classes.value }), [
|
|
1184
|
+
createElementVNode("aside", {
|
|
1185
|
+
class: normalizeClass(asideClasses.value)
|
|
1186
|
+
}, [
|
|
1187
|
+
renderSlot(_ctx.$slots, "aside")
|
|
1188
|
+
], 2),
|
|
1189
|
+
createElementVNode("main", _hoisted_1$b, [
|
|
1190
|
+
renderSlot(_ctx.$slots, "default")
|
|
1191
|
+
])
|
|
1192
|
+
], 16);
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
const _hoisted_1$a = ["data-view"];
|
|
1197
|
+
const SideBySideClass = {
|
|
1198
|
+
sm: "sm:grid-cols-[var(--ui-list-detail-list-width)_minmax(0,1fr)]",
|
|
1199
|
+
md: "md:grid-cols-[var(--ui-list-detail-list-width)_minmax(0,1fr)]",
|
|
1200
|
+
lg: "lg:grid-cols-[var(--ui-list-detail-list-width)_minmax(0,1fr)]",
|
|
1201
|
+
xl: "xl:grid-cols-[var(--ui-list-detail-list-width)_minmax(0,1fr)]",
|
|
1202
|
+
"2xl": "2xl:grid-cols-[var(--ui-list-detail-list-width)_minmax(0,1fr)]"
|
|
1203
|
+
};
|
|
1204
|
+
const NarrowHiddenClass = {
|
|
1205
|
+
sm: "max-sm:hidden",
|
|
1206
|
+
md: "max-md:hidden",
|
|
1207
|
+
lg: "max-lg:hidden",
|
|
1208
|
+
xl: "max-xl:hidden",
|
|
1209
|
+
"2xl": "max-2xl:hidden"
|
|
1210
|
+
};
|
|
1211
|
+
const WideHiddenClass = {
|
|
1212
|
+
sm: "sm:hidden",
|
|
1213
|
+
md: "md:hidden",
|
|
1214
|
+
lg: "lg:hidden",
|
|
1215
|
+
xl: "xl:hidden",
|
|
1216
|
+
"2xl": "2xl:hidden"
|
|
1217
|
+
};
|
|
1218
|
+
const SelectedItemSelector = '[aria-current]:not([aria-current="false"]), [aria-selected="true"], [aria-pressed="true"], [data-selected]';
|
|
1219
|
+
const ActivatorSelector = "a[href], button, input, select, textarea, summary, [tabindex]";
|
|
1220
|
+
const ActivatorWindowMs = 1e3;
|
|
1221
|
+
const HeadingSelectors = ["[data-list-detail-heading]", "h1, h2, h3, h4, h5, h6"];
|
|
1222
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1223
|
+
...{ name: "ListDetailLayout", inheritAttrs: false },
|
|
1224
|
+
__name: "ListDetailLayout",
|
|
1225
|
+
props: {
|
|
1226
|
+
isDetailOpen: { type: Boolean, default: false },
|
|
1227
|
+
breakpoint: { default: "lg" },
|
|
1228
|
+
listWidth: { default: "20rem" },
|
|
1229
|
+
backLabel: { default: void 0 },
|
|
1230
|
+
backClass: { type: [Boolean, null, String, Object, Array], default: void 0 }
|
|
1231
|
+
},
|
|
1232
|
+
emits: ["back"],
|
|
1233
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1234
|
+
const props = __props;
|
|
1235
|
+
const emit = __emit;
|
|
1236
|
+
const attrs = useAttrs();
|
|
1237
|
+
const locale = useLocale();
|
|
1238
|
+
const el = useTemplateRef("el");
|
|
1239
|
+
const listPane = useTemplateRef("listPane");
|
|
1240
|
+
const detailPane = useTemplateRef("detailPane");
|
|
1241
|
+
const label = computed(() => props.backLabel ?? locale.t("ListDetailLayout.back", void 0, "Back"));
|
|
1242
|
+
const classes = computed(
|
|
1243
|
+
() => cn("grid grid-cols-1", SideBySideClass[props.breakpoint], attrs.class)
|
|
1244
|
+
);
|
|
1245
|
+
const rootStyle = computed(() => normalizeStyle([{ "--ui-list-detail-list-width": props.listWidth }, attrs.style]));
|
|
1246
|
+
const listClasses = computed(
|
|
1247
|
+
() => cn("min-w-0 outline-none", props.isDetailOpen && NarrowHiddenClass[props.breakpoint])
|
|
1248
|
+
);
|
|
1249
|
+
const detailClasses = computed(
|
|
1250
|
+
() => cn("min-w-0 outline-none", !props.isDetailOpen && NarrowHiddenClass[props.breakpoint])
|
|
1251
|
+
);
|
|
1252
|
+
const backRowClasses = computed(() => cn("mb-2", props.backClass, WideHiddenClass[props.breakpoint]));
|
|
1253
|
+
const rest = computed(() => {
|
|
1254
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
1255
|
+
return others;
|
|
1256
|
+
});
|
|
1257
|
+
function back() {
|
|
1258
|
+
emit("back");
|
|
1259
|
+
}
|
|
1260
|
+
let activator = null;
|
|
1261
|
+
let scrollMarks = [];
|
|
1262
|
+
let lastActivation = null;
|
|
1263
|
+
function remember(target) {
|
|
1264
|
+
const control = target?.closest?.(ActivatorSelector);
|
|
1265
|
+
lastActivation = control ? { target: control, at: performance.now() } : null;
|
|
1266
|
+
}
|
|
1267
|
+
function rememberClick(event) {
|
|
1268
|
+
remember(event.target);
|
|
1269
|
+
}
|
|
1270
|
+
function rememberKey(event) {
|
|
1271
|
+
if (event.key === "Enter" || event.key === " ") remember(event.target);
|
|
1272
|
+
}
|
|
1273
|
+
function activatorIn(list) {
|
|
1274
|
+
const activation = lastActivation;
|
|
1275
|
+
lastActivation = null;
|
|
1276
|
+
if (activation && performance.now() - activation.at <= ActivatorWindowMs) return activation.target;
|
|
1277
|
+
const focused = document.activeElement;
|
|
1278
|
+
if (focused && focused !== list && list.contains(focused)) return focused;
|
|
1279
|
+
return null;
|
|
1280
|
+
}
|
|
1281
|
+
function isHidden(element) {
|
|
1282
|
+
return element !== null && getComputedStyle(element).display === "none";
|
|
1283
|
+
}
|
|
1284
|
+
function scrollParent(element) {
|
|
1285
|
+
for (let node = element.parentElement; node; node = node.parentElement) {
|
|
1286
|
+
const overflow = getComputedStyle(node).overflowY;
|
|
1287
|
+
if (/(auto|scroll|overlay)/.test(overflow) && node.scrollHeight > node.clientHeight) return node;
|
|
1288
|
+
}
|
|
1289
|
+
return document.scrollingElement ?? document.documentElement;
|
|
1290
|
+
}
|
|
1291
|
+
function captureScroll(root, list) {
|
|
1292
|
+
const marks = [];
|
|
1293
|
+
const outer = scrollParent(root);
|
|
1294
|
+
marks.push({ element: outer, top: outer.scrollTop, left: outer.scrollLeft });
|
|
1295
|
+
for (const element of [list, ...list.querySelectorAll("*")]) {
|
|
1296
|
+
if (element.scrollTop > 0 || element.scrollLeft > 0)
|
|
1297
|
+
marks.push({ element, top: element.scrollTop, left: element.scrollLeft });
|
|
1298
|
+
}
|
|
1299
|
+
return marks;
|
|
1300
|
+
}
|
|
1301
|
+
function restoreScroll(marks) {
|
|
1302
|
+
for (const mark of marks) {
|
|
1303
|
+
if (!mark.element.isConnected) continue;
|
|
1304
|
+
mark.element.scrollTop = mark.top;
|
|
1305
|
+
mark.element.scrollLeft = mark.left;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
function focusWithoutScroll(element) {
|
|
1309
|
+
if (!element.hasAttribute("tabindex") && element.tabIndex < 0) element.setAttribute("tabindex", "-1");
|
|
1310
|
+
element.focus({ preventScroll: true });
|
|
1311
|
+
}
|
|
1312
|
+
function revealTop(root) {
|
|
1313
|
+
const outer = scrollParent(root);
|
|
1314
|
+
const visibleTop = outer === document.scrollingElement ? 0 : outer.getBoundingClientRect().top;
|
|
1315
|
+
if (root.getBoundingClientRect().top < visibleTop) root.scrollIntoView({ block: "start" });
|
|
1316
|
+
}
|
|
1317
|
+
function focusDetail(pane) {
|
|
1318
|
+
const heading = HeadingSelectors.map((selector) => pane.querySelector(selector)).find(Boolean);
|
|
1319
|
+
focusWithoutScroll(heading ?? pane);
|
|
1320
|
+
}
|
|
1321
|
+
function focusList(pane) {
|
|
1322
|
+
const remembered = activator?.isConnected && pane.contains(activator) ? activator : null;
|
|
1323
|
+
const selected = pane.querySelector(SelectedItemSelector);
|
|
1324
|
+
focusWithoutScroll(remembered ?? selected ?? pane);
|
|
1325
|
+
}
|
|
1326
|
+
watch(
|
|
1327
|
+
() => props.isDetailOpen,
|
|
1328
|
+
async (isOpen) => {
|
|
1329
|
+
const root = el.value;
|
|
1330
|
+
const list = listPane.value;
|
|
1331
|
+
const detail = detailPane.value;
|
|
1332
|
+
if (!root || !list || !detail) return;
|
|
1333
|
+
if (isOpen) {
|
|
1334
|
+
if (!isHidden(detail)) return;
|
|
1335
|
+
activator = activatorIn(list);
|
|
1336
|
+
scrollMarks = captureScroll(root, list);
|
|
1337
|
+
await nextTick();
|
|
1338
|
+
if (!isHidden(list)) return;
|
|
1339
|
+
activator ??= list.querySelector(SelectedItemSelector);
|
|
1340
|
+
revealTop(root);
|
|
1341
|
+
focusDetail(detail);
|
|
1342
|
+
} else {
|
|
1343
|
+
if (!isHidden(list)) return;
|
|
1344
|
+
await nextTick();
|
|
1345
|
+
if (isHidden(list)) return;
|
|
1346
|
+
restoreScroll(scrollMarks);
|
|
1347
|
+
focusList(list);
|
|
1348
|
+
scrollMarks = [];
|
|
1349
|
+
activator = null;
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
);
|
|
1353
|
+
__expose({ el });
|
|
1354
|
+
return (_ctx, _cache) => {
|
|
1355
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1356
|
+
ref_key: "el",
|
|
1357
|
+
ref: el
|
|
1358
|
+
}, rest.value, {
|
|
1359
|
+
style: rootStyle.value,
|
|
1360
|
+
class: classes.value,
|
|
1361
|
+
"data-view": props.isDetailOpen ? "detail" : "list"
|
|
1362
|
+
}), [
|
|
1363
|
+
createElementVNode("div", {
|
|
1364
|
+
ref_key: "listPane",
|
|
1365
|
+
ref: listPane,
|
|
1366
|
+
"data-list-detail-pane": "list",
|
|
1367
|
+
tabindex: "-1",
|
|
1368
|
+
class: normalizeClass(listClasses.value),
|
|
1369
|
+
onClickCapture: rememberClick,
|
|
1370
|
+
onKeydownCapture: rememberKey
|
|
1371
|
+
}, [
|
|
1372
|
+
renderSlot(_ctx.$slots, "list")
|
|
1373
|
+
], 34),
|
|
1374
|
+
createElementVNode("div", {
|
|
1375
|
+
ref_key: "detailPane",
|
|
1376
|
+
ref: detailPane,
|
|
1377
|
+
"data-list-detail-pane": "detail",
|
|
1378
|
+
tabindex: "-1",
|
|
1379
|
+
class: normalizeClass(detailClasses.value)
|
|
1380
|
+
}, [
|
|
1381
|
+
createElementVNode("div", {
|
|
1382
|
+
class: normalizeClass(backRowClasses.value)
|
|
1383
|
+
}, [
|
|
1384
|
+
renderSlot(_ctx.$slots, "back", {
|
|
1385
|
+
back,
|
|
1386
|
+
label: label.value
|
|
1387
|
+
}, () => [
|
|
1388
|
+
createElementVNode("button", {
|
|
1389
|
+
type: "button",
|
|
1390
|
+
"data-list-detail-back": "",
|
|
1391
|
+
class: "-ms-2 inline-flex min-h-11 items-center gap-1 rounded-md px-2 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring",
|
|
1392
|
+
onClick: back
|
|
1393
|
+
}, [
|
|
1394
|
+
createVNode(unref(ChevronLeft), {
|
|
1395
|
+
class: "size-4 rtl:-scale-x-100",
|
|
1396
|
+
"aria-hidden": "true"
|
|
1397
|
+
}),
|
|
1398
|
+
createTextVNode(" " + toDisplayString(label.value), 1)
|
|
1399
|
+
])
|
|
1400
|
+
])
|
|
1401
|
+
], 2),
|
|
1402
|
+
renderSlot(_ctx.$slots, "detail")
|
|
1403
|
+
], 2)
|
|
1404
|
+
], 16, _hoisted_1$a);
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
});
|
|
1408
|
+
const _hoisted_1$9 = ["data-orientation"];
|
|
1409
|
+
const resizableContextKey = Symbol("wow-two.resizablePanels");
|
|
1410
|
+
function useResizableContext() {
|
|
1411
|
+
const context = inject(resizableContextKey, null);
|
|
1412
|
+
if (!context) throw new Error("ResizablePanelsLayout.* must be used inside <ResizablePanelsLayout>");
|
|
1413
|
+
return context;
|
|
1414
|
+
}
|
|
1415
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1416
|
+
...{ name: "ResizablePanelsLayout", inheritAttrs: false },
|
|
1417
|
+
__name: "ResizablePanelsLayout",
|
|
1418
|
+
props: {
|
|
1419
|
+
orientation: { default: Orientation.Horizontal },
|
|
1420
|
+
defaultSizes: { default: void 0 },
|
|
1421
|
+
sizes: { default: void 0 }
|
|
1422
|
+
},
|
|
1423
|
+
emits: ["update:sizes"],
|
|
1424
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1425
|
+
const props = __props;
|
|
1426
|
+
const emit = __emit;
|
|
1427
|
+
const attrs = useAttrs();
|
|
1428
|
+
const el = useTemplateRef("el");
|
|
1429
|
+
const panelEntries = ref([]);
|
|
1430
|
+
const separatorTokens = ref([]);
|
|
1431
|
+
const panelCount = computed(() => panelEntries.value.length);
|
|
1432
|
+
const controlled = useControlled({
|
|
1433
|
+
controlled: () => props.sizes,
|
|
1434
|
+
default: props.defaultSizes ?? [],
|
|
1435
|
+
onChange: (next) => emit("update:sizes", next)
|
|
1436
|
+
});
|
|
1437
|
+
const sizes = computed(() => {
|
|
1438
|
+
const count = panelCount.value;
|
|
1439
|
+
if (controlled.value.value.length === count) return controlled.value.value;
|
|
1440
|
+
if (props.defaultSizes?.length === count) return props.defaultSizes;
|
|
1441
|
+
return Array(count).fill(100 / Math.max(count, 1));
|
|
1442
|
+
});
|
|
1443
|
+
function resizePair(separatorIndex, desiredA, current = sizes.value) {
|
|
1444
|
+
const a = separatorIndex;
|
|
1445
|
+
const b = a + 1;
|
|
1446
|
+
const aInfo = panelEntries.value[a]?.info;
|
|
1447
|
+
const bInfo = panelEntries.value[b]?.info;
|
|
1448
|
+
if (!aInfo || !bInfo) return;
|
|
1449
|
+
const total = current[a] + current[b];
|
|
1450
|
+
const lower = Math.max(aInfo.minSize, total - bInfo.maxSize);
|
|
1451
|
+
const upper = Math.min(aInfo.maxSize, total - bInfo.minSize);
|
|
1452
|
+
if (![total, desiredA, lower, upper].every(Number.isFinite) || lower > upper) return;
|
|
1453
|
+
const next = current.slice();
|
|
1454
|
+
next[a] = Math.max(lower, Math.min(upper, desiredA));
|
|
1455
|
+
next[b] = total - next[a];
|
|
1456
|
+
if (next[a] !== sizes.value[a] || next[b] !== sizes.value[b]) controlled.setValue(next);
|
|
1457
|
+
}
|
|
1458
|
+
function applyDelta(separatorIndex, deltaPct) {
|
|
1459
|
+
resizePair(separatorIndex, sizes.value[separatorIndex] + deltaPct);
|
|
1460
|
+
}
|
|
1461
|
+
let dragCleanup = null;
|
|
1462
|
+
onScopeDispose(() => dragCleanup?.());
|
|
1463
|
+
watch(
|
|
1464
|
+
() => props.orientation,
|
|
1465
|
+
() => dragCleanup?.()
|
|
1466
|
+
);
|
|
1467
|
+
function beginDrag(separatorIndex, event) {
|
|
1468
|
+
dragCleanup?.();
|
|
1469
|
+
const container = el.value;
|
|
1470
|
+
if (!container || !panelEntries.value[separatorIndex + 1]) return false;
|
|
1471
|
+
const orientation = props.orientation;
|
|
1472
|
+
const rect = container.getBoundingClientRect();
|
|
1473
|
+
const total = orientation === Orientation.Horizontal ? rect.width : rect.height;
|
|
1474
|
+
if (!Number.isFinite(total) || total <= 0) return false;
|
|
1475
|
+
const startSizes = sizes.value.slice();
|
|
1476
|
+
const cursor = orientation === Orientation.Horizontal ? "col-resize" : "row-resize";
|
|
1477
|
+
const style = document.body.style;
|
|
1478
|
+
const previous = ["cursor", "user-select"].map((name) => ({
|
|
1479
|
+
name,
|
|
1480
|
+
value: style.getPropertyValue(name),
|
|
1481
|
+
priority: style.getPropertyPriority(name)
|
|
1482
|
+
}));
|
|
1483
|
+
const onMove = (e) => {
|
|
1484
|
+
const delta = orientation === Orientation.Horizontal ? e.clientX - event.clientX : e.clientY - event.clientY;
|
|
1485
|
+
resizePair(separatorIndex, startSizes[separatorIndex] + delta / total * 100, startSizes);
|
|
1486
|
+
};
|
|
1487
|
+
const onUp = () => {
|
|
1488
|
+
window.removeEventListener("mousemove", onMove);
|
|
1489
|
+
window.removeEventListener("mouseup", onUp);
|
|
1490
|
+
for (const { name, value, priority } of previous) {
|
|
1491
|
+
const ownedValue = name === "cursor" ? cursor : "none";
|
|
1492
|
+
if (style.getPropertyValue(name) === ownedValue) style.setProperty(name, value, priority);
|
|
1493
|
+
}
|
|
1494
|
+
dragCleanup = null;
|
|
1495
|
+
};
|
|
1496
|
+
style.cursor = cursor;
|
|
1497
|
+
style.userSelect = "none";
|
|
1498
|
+
window.addEventListener("mousemove", onMove);
|
|
1499
|
+
window.addEventListener("mouseup", onUp);
|
|
1500
|
+
dragCleanup = onUp;
|
|
1501
|
+
return true;
|
|
1502
|
+
}
|
|
1503
|
+
function resetPair(separatorIndex) {
|
|
1504
|
+
const aInfo = panelEntries.value[separatorIndex]?.info;
|
|
1505
|
+
const bInfo = panelEntries.value[separatorIndex + 1]?.info;
|
|
1506
|
+
if (!aInfo || !bInfo) return;
|
|
1507
|
+
const total = sizes.value[separatorIndex] + sizes.value[separatorIndex + 1];
|
|
1508
|
+
const defaults = aInfo.defaultSize + bInfo.defaultSize;
|
|
1509
|
+
resizePair(separatorIndex, defaults > 0 ? total * aInfo.defaultSize / defaults : total / 2);
|
|
1510
|
+
}
|
|
1511
|
+
provide(resizableContextKey, {
|
|
1512
|
+
get orientation() {
|
|
1513
|
+
return props.orientation;
|
|
1514
|
+
},
|
|
1515
|
+
get sizes() {
|
|
1516
|
+
return sizes.value;
|
|
1517
|
+
},
|
|
1518
|
+
get panels() {
|
|
1519
|
+
return panelEntries.value.map((entry) => entry.info);
|
|
1520
|
+
},
|
|
1521
|
+
registerPanel: (token, info) => {
|
|
1522
|
+
panelEntries.value = [...panelEntries.value, { token, info }];
|
|
1523
|
+
},
|
|
1524
|
+
updatePanel: (token, info) => {
|
|
1525
|
+
panelEntries.value = panelEntries.value.map((entry) => entry.token === token ? { token, info } : entry);
|
|
1526
|
+
},
|
|
1527
|
+
unregisterPanel: (token) => {
|
|
1528
|
+
panelEntries.value = panelEntries.value.filter((entry) => entry.token !== token);
|
|
1529
|
+
},
|
|
1530
|
+
panelIndex: (token) => panelEntries.value.findIndex((entry) => entry.token === token),
|
|
1531
|
+
registerSeparator: (token) => {
|
|
1532
|
+
separatorTokens.value = [...separatorTokens.value, token];
|
|
1533
|
+
},
|
|
1534
|
+
unregisterSeparator: (token) => {
|
|
1535
|
+
separatorTokens.value = separatorTokens.value.filter((existing) => existing !== token);
|
|
1536
|
+
},
|
|
1537
|
+
separatorIndex: (token) => separatorTokens.value.indexOf(token),
|
|
1538
|
+
beginDrag,
|
|
1539
|
+
nudge: applyDelta,
|
|
1540
|
+
resetPair
|
|
1541
|
+
});
|
|
1542
|
+
const classes = computed(
|
|
1543
|
+
() => cn(
|
|
1544
|
+
"flex h-full w-full",
|
|
1545
|
+
props.orientation === Orientation.Horizontal ? "flex-row" : "flex-col",
|
|
1546
|
+
attrs.class
|
|
1547
|
+
)
|
|
1548
|
+
);
|
|
1549
|
+
const rest = computed(() => {
|
|
1550
|
+
const { class: _class, ...others } = attrs;
|
|
1551
|
+
return others;
|
|
1552
|
+
});
|
|
1553
|
+
__expose({ el });
|
|
1554
|
+
return (_ctx, _cache) => {
|
|
1555
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1556
|
+
ref_key: "el",
|
|
1557
|
+
ref: el,
|
|
1558
|
+
"data-orientation": __props.orientation
|
|
1559
|
+
}, rest.value, { class: classes.value }), [
|
|
1560
|
+
renderSlot(_ctx.$slots, "default")
|
|
1561
|
+
], 16, _hoisted_1$9);
|
|
1562
|
+
};
|
|
1563
|
+
}
|
|
1564
|
+
});
|
|
1565
|
+
const _hoisted_1$8 = ["data-panel-index"];
|
|
1566
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1567
|
+
...{ name: "ResizablePanel", inheritAttrs: false },
|
|
1568
|
+
__name: "ResizablePanel",
|
|
1569
|
+
props: {
|
|
1570
|
+
defaultSize: { default: 100 },
|
|
1571
|
+
minSize: { default: 0 },
|
|
1572
|
+
maxSize: { default: 100 }
|
|
1573
|
+
},
|
|
1574
|
+
setup(__props, { expose: __expose }) {
|
|
1575
|
+
const props = __props;
|
|
1576
|
+
const context = useResizableContext();
|
|
1577
|
+
const attrs = useAttrs();
|
|
1578
|
+
const el = useTemplateRef("el");
|
|
1579
|
+
const token = Symbol("wow-two.resizablePanel");
|
|
1580
|
+
context.registerPanel(token, {
|
|
1581
|
+
defaultSize: props.defaultSize,
|
|
1582
|
+
minSize: props.minSize,
|
|
1583
|
+
maxSize: props.maxSize
|
|
1584
|
+
});
|
|
1585
|
+
watch(
|
|
1586
|
+
() => [props.defaultSize, props.minSize, props.maxSize],
|
|
1587
|
+
([defaultSize, minSize, maxSize]) => {
|
|
1588
|
+
context.updatePanel(token, { defaultSize, minSize, maxSize });
|
|
1589
|
+
}
|
|
1590
|
+
);
|
|
1591
|
+
onUnmounted(() => context.unregisterPanel(token));
|
|
1592
|
+
const index = computed(() => context.panelIndex(token));
|
|
1593
|
+
const size = computed(() => context.sizes[index.value] ?? props.defaultSize);
|
|
1594
|
+
const styles = computed(
|
|
1595
|
+
() => context.orientation === Orientation.Horizontal ? { width: `${size.value}%`, height: "100%" } : { height: `${size.value}%`, width: "100%" }
|
|
1596
|
+
);
|
|
1597
|
+
const classes = computed(() => cn("overflow-auto", attrs.class));
|
|
1598
|
+
const rest = computed(() => {
|
|
1599
|
+
const { class: _class, ...others } = attrs;
|
|
1600
|
+
return others;
|
|
1601
|
+
});
|
|
1602
|
+
__expose({ el });
|
|
1603
|
+
return (_ctx, _cache) => {
|
|
1604
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1605
|
+
ref_key: "el",
|
|
1606
|
+
ref: el,
|
|
1607
|
+
"data-panel-index": index.value
|
|
1608
|
+
}, rest.value, {
|
|
1609
|
+
class: classes.value,
|
|
1610
|
+
style: styles.value
|
|
1611
|
+
}), [
|
|
1612
|
+
renderSlot(_ctx.$slots, "default")
|
|
1613
|
+
], 16, _hoisted_1$8);
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
});
|
|
1617
|
+
const _hoisted_1$7 = ["aria-orientation", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-disabled", "tabindex", "data-dragging"];
|
|
1618
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1619
|
+
...{ name: "ResizableSeparator", inheritAttrs: false },
|
|
1620
|
+
__name: "ResizableSeparator",
|
|
1621
|
+
props: {
|
|
1622
|
+
isDisabled: { type: Boolean, default: false }
|
|
1623
|
+
},
|
|
1624
|
+
setup(__props, { expose: __expose }) {
|
|
1625
|
+
const props = __props;
|
|
1626
|
+
const context = useResizableContext();
|
|
1627
|
+
const attrs = useAttrs();
|
|
1628
|
+
const el = useTemplateRef("el");
|
|
1629
|
+
const token = Symbol("wow-two.resizableSeparator");
|
|
1630
|
+
context.registerSeparator(token);
|
|
1631
|
+
onUnmounted(() => context.unregisterSeparator(token));
|
|
1632
|
+
const index = computed(() => context.separatorIndex(token));
|
|
1633
|
+
const dragging = ref(false);
|
|
1634
|
+
let releaseDrag;
|
|
1635
|
+
onScopeDispose(() => releaseDrag?.());
|
|
1636
|
+
function handleMouseDown(e) {
|
|
1637
|
+
if (props.isDisabled || e.defaultPrevented || e.button !== 0) return;
|
|
1638
|
+
releaseDrag?.();
|
|
1639
|
+
if (!context.beginDrag(index.value, e)) return;
|
|
1640
|
+
e.preventDefault();
|
|
1641
|
+
dragging.value = true;
|
|
1642
|
+
const onUp = () => {
|
|
1643
|
+
dragging.value = false;
|
|
1644
|
+
window.removeEventListener("mouseup", onUp);
|
|
1645
|
+
releaseDrag = void 0;
|
|
1646
|
+
};
|
|
1647
|
+
releaseDrag = onUp;
|
|
1648
|
+
window.addEventListener("mouseup", onUp);
|
|
1649
|
+
}
|
|
1650
|
+
function handleKeydown(e) {
|
|
1651
|
+
if (props.isDisabled) return;
|
|
1652
|
+
const step = e.shiftKey ? 10 : 1;
|
|
1653
|
+
if (context.orientation === Orientation.Horizontal) {
|
|
1654
|
+
if (e.key === "ArrowLeft") {
|
|
1655
|
+
e.preventDefault();
|
|
1656
|
+
context.nudge(index.value, -step);
|
|
1657
|
+
} else if (e.key === "ArrowRight") {
|
|
1658
|
+
e.preventDefault();
|
|
1659
|
+
context.nudge(index.value, step);
|
|
1660
|
+
}
|
|
1661
|
+
} else {
|
|
1662
|
+
if (e.key === "ArrowUp") {
|
|
1663
|
+
e.preventDefault();
|
|
1664
|
+
context.nudge(index.value, -step);
|
|
1665
|
+
} else if (e.key === "ArrowDown") {
|
|
1666
|
+
e.preventDefault();
|
|
1667
|
+
context.nudge(index.value, step);
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
function handleDblclick() {
|
|
1672
|
+
if (props.isDisabled) return;
|
|
1673
|
+
context.resetPair(index.value);
|
|
1674
|
+
}
|
|
1675
|
+
function asHandler(value) {
|
|
1676
|
+
if (typeof value === "function") return value;
|
|
1677
|
+
if (Array.isArray(value)) {
|
|
1678
|
+
return (event) => {
|
|
1679
|
+
for (const fn of value) if (typeof fn === "function") fn(event);
|
|
1680
|
+
};
|
|
1681
|
+
}
|
|
1682
|
+
return void 0;
|
|
1683
|
+
}
|
|
1684
|
+
const onMousedown = computed(() => composeEventHandlers(asHandler(attrs.onMousedown), handleMouseDown));
|
|
1685
|
+
const onKeydown = computed(() => composeEventHandlers(asHandler(attrs.onKeydown), handleKeydown));
|
|
1686
|
+
const onDblclick = computed(() => composeEventHandlers(asHandler(attrs.onDblclick), handleDblclick));
|
|
1687
|
+
const ariaValueNow = computed(() => Math.round(context.sizes[index.value] ?? 50));
|
|
1688
|
+
const panelBefore = computed(() => context.panels[index.value]);
|
|
1689
|
+
const classes = computed(
|
|
1690
|
+
() => cn(
|
|
1691
|
+
"flex shrink-0 items-center justify-center bg-border transition-colors",
|
|
1692
|
+
context.orientation === Orientation.Horizontal ? "w-1 cursor-col-resize hover:bg-border-strong data-[dragging]:bg-primary" : "h-1 cursor-row-resize hover:bg-border-strong data-[dragging]:bg-primary",
|
|
1693
|
+
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
1694
|
+
props.isDisabled && "cursor-default opacity-50 hover:bg-border",
|
|
1695
|
+
attrs.class
|
|
1696
|
+
)
|
|
1697
|
+
);
|
|
1698
|
+
const rest = computed(() => {
|
|
1699
|
+
const { class: _class, onKeydown: _keydown, onDblclick: _dblclick, onMousedown: _mousedown, ...others } = attrs;
|
|
1700
|
+
return others;
|
|
1701
|
+
});
|
|
1702
|
+
__expose({ el });
|
|
1703
|
+
return (_ctx, _cache) => {
|
|
1704
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1705
|
+
ref_key: "el",
|
|
1706
|
+
ref: el,
|
|
1707
|
+
role: "separator",
|
|
1708
|
+
"aria-orientation": unref(context).orientation === unref(Orientation).Horizontal ? "vertical" : "horizontal",
|
|
1709
|
+
"aria-valuenow": ariaValueNow.value,
|
|
1710
|
+
"aria-valuemin": panelBefore.value?.minSize ?? 0,
|
|
1711
|
+
"aria-valuemax": panelBefore.value?.maxSize ?? 100,
|
|
1712
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
1713
|
+
tabindex: __props.isDisabled ? -1 : 0,
|
|
1714
|
+
"data-dragging": dragging.value || void 0
|
|
1715
|
+
}, rest.value, {
|
|
1716
|
+
class: classes.value,
|
|
1717
|
+
onMousedown: _cache[0] || (_cache[0] = //@ts-ignore
|
|
1718
|
+
(...args) => onMousedown.value && onMousedown.value(...args)),
|
|
1719
|
+
onKeydown: _cache[1] || (_cache[1] = //@ts-ignore
|
|
1720
|
+
(...args) => onKeydown.value && onKeydown.value(...args)),
|
|
1721
|
+
onDblclick: _cache[2] || (_cache[2] = //@ts-ignore
|
|
1722
|
+
(...args) => onDblclick.value && onDblclick.value(...args))
|
|
1723
|
+
}), null, 16, _hoisted_1$7);
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
});
|
|
1727
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1728
|
+
...{ name: "PullToRefreshLayout", inheritAttrs: false },
|
|
1729
|
+
__name: "PullToRefreshLayout",
|
|
1730
|
+
props: {
|
|
1731
|
+
onRefresh: {},
|
|
1732
|
+
threshold: { default: 60 },
|
|
1733
|
+
maxPull: { default: 120 },
|
|
1734
|
+
isDisabled: { type: Boolean, default: false }
|
|
1735
|
+
},
|
|
1736
|
+
setup(__props, { expose: __expose }) {
|
|
1737
|
+
const props = __props;
|
|
1738
|
+
const attrs = useAttrs();
|
|
1739
|
+
const el = useTemplateRef("el");
|
|
1740
|
+
const startY = ref(null);
|
|
1741
|
+
const pull = ref(0);
|
|
1742
|
+
const refreshing = ref(false);
|
|
1743
|
+
const reached = computed(() => pull.value >= props.threshold);
|
|
1744
|
+
function onPointerDown(e) {
|
|
1745
|
+
if (props.isDisabled || refreshing.value) return;
|
|
1746
|
+
const node = el.value;
|
|
1747
|
+
if (!node || node.scrollTop > 0) return;
|
|
1748
|
+
startY.value = e.clientY;
|
|
1749
|
+
}
|
|
1750
|
+
function onPointerMove(e) {
|
|
1751
|
+
if (startY.value == null) return;
|
|
1752
|
+
if (e.buttons === 0) {
|
|
1753
|
+
startY.value = null;
|
|
1754
|
+
pull.value = 0;
|
|
1755
|
+
return;
|
|
1756
|
+
}
|
|
1757
|
+
const dy = e.clientY - startY.value;
|
|
1758
|
+
if (dy < 0) {
|
|
1759
|
+
pull.value = 0;
|
|
1760
|
+
return;
|
|
1761
|
+
}
|
|
1762
|
+
const eased = dy < props.threshold ? dy : props.threshold + (dy - props.threshold) * 0.4;
|
|
1763
|
+
pull.value = Math.min(props.maxPull, eased);
|
|
1764
|
+
}
|
|
1765
|
+
async function onPointerUp() {
|
|
1766
|
+
if (startY.value == null) return;
|
|
1767
|
+
const didReach = pull.value >= props.threshold;
|
|
1768
|
+
startY.value = null;
|
|
1769
|
+
if (didReach) {
|
|
1770
|
+
refreshing.value = true;
|
|
1771
|
+
pull.value = props.threshold;
|
|
1772
|
+
try {
|
|
1773
|
+
await props.onRefresh();
|
|
1774
|
+
} finally {
|
|
1775
|
+
refreshing.value = false;
|
|
1776
|
+
pull.value = 0;
|
|
1777
|
+
}
|
|
1778
|
+
} else {
|
|
1779
|
+
pull.value = 0;
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
function onTouchMove(e) {
|
|
1783
|
+
const node = el.value;
|
|
1784
|
+
if (!node || startY.value == null || !e.cancelable) return;
|
|
1785
|
+
if (node.scrollTop > 0) return;
|
|
1786
|
+
const touch = e.touches[0];
|
|
1787
|
+
if (!touch) return;
|
|
1788
|
+
if (touch.clientY - startY.value > 0) e.preventDefault();
|
|
1789
|
+
}
|
|
1790
|
+
onMounted(() => {
|
|
1791
|
+
el.value?.addEventListener("touchmove", onTouchMove, { passive: false });
|
|
1792
|
+
});
|
|
1793
|
+
onBeforeUnmount(() => {
|
|
1794
|
+
el.value?.removeEventListener("touchmove", onTouchMove);
|
|
1795
|
+
});
|
|
1796
|
+
watch(pull, (value, _previous, onCleanup) => {
|
|
1797
|
+
if (value === 0) return;
|
|
1798
|
+
const finish = () => {
|
|
1799
|
+
void onPointerUp();
|
|
1800
|
+
};
|
|
1801
|
+
window.addEventListener("pointerup", finish);
|
|
1802
|
+
window.addEventListener("pointercancel", finish);
|
|
1803
|
+
onCleanup(() => {
|
|
1804
|
+
window.removeEventListener("pointerup", finish);
|
|
1805
|
+
window.removeEventListener("pointercancel", finish);
|
|
1806
|
+
});
|
|
1807
|
+
});
|
|
1808
|
+
const classes = computed(() => cn("relative h-full overflow-y-auto", attrs.class));
|
|
1809
|
+
const indicatorStyle = computed(() => ({
|
|
1810
|
+
height: `${pull.value}px`,
|
|
1811
|
+
transition: startY.value == null ? "height 200ms ease-out" : "none"
|
|
1812
|
+
}));
|
|
1813
|
+
const contentStyle = computed(() => ({
|
|
1814
|
+
transform: `translateY(${pull.value}px)`,
|
|
1815
|
+
transition: startY.value == null ? "transform 200ms ease-out" : "none"
|
|
1816
|
+
}));
|
|
1817
|
+
const spinnerScaleStyle = computed(() => ({
|
|
1818
|
+
transform: `scale(${Math.min(1, pull.value / props.threshold)})`
|
|
1819
|
+
}));
|
|
1820
|
+
const spinnerWrapClasses = computed(
|
|
1821
|
+
() => cn("transition-opacity", refreshing.value || reached.value ? "opacity-100" : "opacity-60")
|
|
1822
|
+
);
|
|
1823
|
+
const rest = computed(() => {
|
|
1824
|
+
const { class: _class, ...others } = attrs;
|
|
1825
|
+
return others;
|
|
1826
|
+
});
|
|
1827
|
+
__expose({ el });
|
|
1828
|
+
return (_ctx, _cache) => {
|
|
1829
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1830
|
+
ref_key: "el",
|
|
1831
|
+
ref: el
|
|
1832
|
+
}, rest.value, {
|
|
1833
|
+
class: classes.value,
|
|
1834
|
+
onPointerdown: onPointerDown,
|
|
1835
|
+
onPointermove: onPointerMove,
|
|
1836
|
+
onPointerup: onPointerUp,
|
|
1837
|
+
onPointercancel: onPointerUp
|
|
1838
|
+
}), [
|
|
1839
|
+
createElementVNode("div", {
|
|
1840
|
+
"aria-hidden": "true",
|
|
1841
|
+
class: "pointer-events-none absolute inset-x-0 top-0 z-raised flex items-center justify-center",
|
|
1842
|
+
style: normalizeStyle(indicatorStyle.value)
|
|
1843
|
+
}, [
|
|
1844
|
+
pull.value > 8 ? (openBlock(), createElementBlock("div", {
|
|
1845
|
+
key: 0,
|
|
1846
|
+
class: normalizeClass(spinnerWrapClasses.value),
|
|
1847
|
+
style: normalizeStyle(spinnerScaleStyle.value)
|
|
1848
|
+
}, [
|
|
1849
|
+
createVNode(_sfc_main$G, {
|
|
1850
|
+
size: "md",
|
|
1851
|
+
tone: reached.value ? "brand" : "default"
|
|
1852
|
+
}, null, 8, ["tone"])
|
|
1853
|
+
], 6)) : createCommentVNode("", true)
|
|
1854
|
+
], 4),
|
|
1855
|
+
createElementVNode("div", {
|
|
1856
|
+
style: normalizeStyle(contentStyle.value)
|
|
1857
|
+
}, [
|
|
1858
|
+
renderSlot(_ctx.$slots, "default")
|
|
1859
|
+
], 4),
|
|
1860
|
+
createVNode(unref(_sfc_main$H), {
|
|
1861
|
+
politeness: unref(Politeness).Polite
|
|
1862
|
+
}, {
|
|
1863
|
+
default: withCtx(() => [
|
|
1864
|
+
createTextVNode(toDisplayString(refreshing.value ? "Refreshing" : ""), 1)
|
|
1865
|
+
]),
|
|
1866
|
+
_: 1
|
|
1867
|
+
}, 8, ["politeness"])
|
|
1868
|
+
], 16);
|
|
1869
|
+
};
|
|
1870
|
+
}
|
|
1871
|
+
});
|
|
1872
|
+
const _hoisted_1$6 = {
|
|
1873
|
+
href: "#app-shell-main",
|
|
1874
|
+
class: "sr-only focus:not-sr-only focus:fixed focus:left-2 focus:top-2 focus:z-modal focus:rounded-md focus:bg-card focus:px-3 focus:py-2 focus:shadow"
|
|
1875
|
+
};
|
|
1876
|
+
const Breakpoint = {
|
|
1877
|
+
/** Refers to the `sm` (640px) breakpoint. */
|
|
1878
|
+
Sm: "sm",
|
|
1879
|
+
/** Refers to the `md` (768px) breakpoint. */
|
|
1880
|
+
Md: "md",
|
|
1881
|
+
/** Refers to the `lg` (1024px) breakpoint. */
|
|
1882
|
+
Lg: "lg",
|
|
1883
|
+
/** Refers to the `xl` (1280px) breakpoint. */
|
|
1884
|
+
Xl: "xl",
|
|
1885
|
+
/** Refers to the `2xl` (1536px) breakpoint. */
|
|
1886
|
+
Xxl: "2xl"
|
|
1887
|
+
};
|
|
1888
|
+
const AppShellScroll = {
|
|
1889
|
+
/** The main region scrolls; the header, sidebar and footer span the full window and hold still. */
|
|
1890
|
+
Region: "region",
|
|
1891
|
+
/** The whole document scrolls, as a page does; the header sticks to the top. */
|
|
1892
|
+
Document: "document"
|
|
1893
|
+
};
|
|
1894
|
+
const AppShellNavigation = {
|
|
1895
|
+
/** A sidebar rail beside the main region. */
|
|
1896
|
+
Vertical: "vertical",
|
|
1897
|
+
/** A top bar only; the main region takes the full width. */
|
|
1898
|
+
Horizontal: "horizontal"
|
|
1899
|
+
};
|
|
1900
|
+
const BreakpointPx = {
|
|
1901
|
+
sm: 640,
|
|
1902
|
+
md: 768,
|
|
1903
|
+
lg: 1024,
|
|
1904
|
+
xl: 1280,
|
|
1905
|
+
"2xl": 1536
|
|
1906
|
+
};
|
|
1907
|
+
const appShellContextKey = Symbol("wow-two.appShell");
|
|
1908
|
+
function useAppShellContext() {
|
|
1909
|
+
const context = inject(appShellContextKey, null);
|
|
1910
|
+
if (!context) throw new Error("AppShell.* must be used inside <AppShell>");
|
|
1911
|
+
return context;
|
|
1912
|
+
}
|
|
1913
|
+
function useAppShell() {
|
|
1914
|
+
return useAppShellContext();
|
|
1915
|
+
}
|
|
1916
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1917
|
+
...{ name: "AppShell", inheritAttrs: false },
|
|
1918
|
+
__name: "AppShell",
|
|
1919
|
+
props: {
|
|
1920
|
+
sidebarWidth: { default: "240px" },
|
|
1921
|
+
asideWidth: { default: "280px" },
|
|
1922
|
+
sidebarBreakpoint: { default: "lg" },
|
|
1923
|
+
asideBreakpoint: { default: "xl" },
|
|
1924
|
+
sidebarOpen: { type: Boolean, default: void 0 },
|
|
1925
|
+
defaultSidebarOpen: { type: Boolean, default: false },
|
|
1926
|
+
scroll: { default: AppShellScroll.Region },
|
|
1927
|
+
navigation: { default: void 0 }
|
|
1928
|
+
},
|
|
1929
|
+
emits: ["update:sidebarOpen"],
|
|
1930
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1931
|
+
const locale = useLocale();
|
|
1932
|
+
const props = __props;
|
|
1933
|
+
const emit = __emit;
|
|
1934
|
+
const attrs = useAttrs();
|
|
1935
|
+
const el = useTemplateRef("el");
|
|
1936
|
+
const controlled = useControlled({
|
|
1937
|
+
controlled: () => props.sidebarOpen,
|
|
1938
|
+
default: () => props.defaultSidebarOpen,
|
|
1939
|
+
onChange: (value) => {
|
|
1940
|
+
emit("update:sidebarOpen", value);
|
|
1941
|
+
}
|
|
1942
|
+
});
|
|
1943
|
+
const isSidebarWide = useMediaQuery(() => `(min-width: ${BreakpointPx[props.sidebarBreakpoint]}px)`);
|
|
1944
|
+
const isAsideWide = useMediaQuery(() => `(min-width: ${BreakpointPx[props.asideBreakpoint]}px)`);
|
|
1945
|
+
const isSidebarCollapsed = computed(() => !isSidebarWide.value);
|
|
1946
|
+
const isAsideHidden = computed(() => !isAsideWide.value);
|
|
1947
|
+
provide(appShellContextKey, {
|
|
1948
|
+
sidebarWidth: computed(() => props.sidebarWidth),
|
|
1949
|
+
asideWidth: computed(() => props.asideWidth),
|
|
1950
|
+
sidebarBreakpoint: computed(() => props.sidebarBreakpoint),
|
|
1951
|
+
isSidebarOpen: controlled.value,
|
|
1952
|
+
setSidebarOpen: controlled.setValue,
|
|
1953
|
+
isSidebarCollapsed,
|
|
1954
|
+
isAsideHidden,
|
|
1955
|
+
scroll: computed(() => props.scroll)
|
|
1956
|
+
});
|
|
1957
|
+
const slots = useSlots();
|
|
1958
|
+
function hasSidebar(nodes) {
|
|
1959
|
+
return nodes.some((node) => {
|
|
1960
|
+
const vnode = node;
|
|
1961
|
+
if (vnode?.type?.name === "AppShellSidebar") return true;
|
|
1962
|
+
return vnode?.type === Fragment && Array.isArray(vnode.children) && hasSidebar(vnode.children);
|
|
1963
|
+
});
|
|
1964
|
+
}
|
|
1965
|
+
const navigation = computed(
|
|
1966
|
+
() => props.navigation ?? (hasSidebar(slots.default?.() ?? []) ? AppShellNavigation.Vertical : AppShellNavigation.Horizontal)
|
|
1967
|
+
);
|
|
1968
|
+
const gridTemplate = computed(
|
|
1969
|
+
() => isSidebarCollapsed.value || navigation.value === AppShellNavigation.Horizontal ? `'header' auto 'main' 1fr 'footer' auto / minmax(0, 1fr)` : `'header header' auto 'sidebar main' 1fr 'sidebar footer' auto / ${props.sidebarWidth} minmax(0, 1fr)`
|
|
1970
|
+
);
|
|
1971
|
+
const classes = computed(
|
|
1972
|
+
() => cn(
|
|
1973
|
+
"grid bg-background text-foreground",
|
|
1974
|
+
props.scroll === AppShellScroll.Region ? "h-dvh overflow-hidden" : "min-h-svh",
|
|
1975
|
+
attrs.class
|
|
1976
|
+
)
|
|
1977
|
+
);
|
|
1978
|
+
const rootStyle = computed(() => normalizeStyle([{ gridTemplate: gridTemplate.value }, attrs.style]));
|
|
1979
|
+
const rest = computed(() => {
|
|
1980
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
1981
|
+
return others;
|
|
1982
|
+
});
|
|
1983
|
+
__expose({ el });
|
|
1984
|
+
return (_ctx, _cache) => {
|
|
1985
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1986
|
+
ref_key: "el",
|
|
1987
|
+
ref: el
|
|
1988
|
+
}, rest.value, {
|
|
1989
|
+
style: rootStyle.value,
|
|
1990
|
+
class: classes.value
|
|
1991
|
+
}), [
|
|
1992
|
+
createElementVNode("a", _hoisted_1$6, toDisplayString(unref(locale).t("AppShell.skipToContent", void 0, "Skip to content")), 1),
|
|
1993
|
+
renderSlot(_ctx.$slots, "default")
|
|
1994
|
+
], 16);
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
});
|
|
1998
|
+
const NavbarHeight = {
|
|
1999
|
+
/** Refers to a compact bar. */
|
|
2000
|
+
Sm: "sm",
|
|
2001
|
+
/** Refers to the default bar height. */
|
|
2002
|
+
Md: "md",
|
|
2003
|
+
/** Refers to a tall bar. */
|
|
2004
|
+
Lg: "lg"
|
|
2005
|
+
};
|
|
2006
|
+
const NavbarOrientation = {
|
|
2007
|
+
/** Refers to a full-width top bar. */
|
|
2008
|
+
Horizontal: "horizontal",
|
|
2009
|
+
/** Refers to a full-height side rail. */
|
|
2010
|
+
Vertical: "vertical"
|
|
2011
|
+
};
|
|
2012
|
+
const NavbarElement = {
|
|
2013
|
+
/** Refers to a `<header>` — a banner landmark at page level. */
|
|
2014
|
+
Header: "header",
|
|
2015
|
+
/** Refers to a `<div>` — no landmark, for a bar inside a host that already is the banner. */
|
|
2016
|
+
Div: "div"
|
|
2017
|
+
};
|
|
2018
|
+
const NavbarVariant = {
|
|
2019
|
+
/** Refers to the opaque card surface — the default. */
|
|
2020
|
+
Solid: "solid",
|
|
2021
|
+
/** Refers to a translucent, blurred surface; opaque where blur or transparency is unavailable or unwanted. */
|
|
2022
|
+
Glass: "glass",
|
|
2023
|
+
/** Refers to no surface; the page shows through. */
|
|
2024
|
+
Transparent: "transparent"
|
|
2025
|
+
};
|
|
2026
|
+
const NavbarSurfaceClass = {
|
|
2027
|
+
solid: "bg-card",
|
|
2028
|
+
glass: "bg-card supports-[backdrop-filter]:bg-card/75 supports-[backdrop-filter]:backdrop-blur-md [@media(prefers-reduced-transparency:reduce)]:bg-card [@media(prefers-reduced-transparency:reduce)]:backdrop-blur-none",
|
|
2029
|
+
transparent: "bg-transparent"
|
|
2030
|
+
};
|
|
2031
|
+
const navbarVariants = tv({
|
|
2032
|
+
base: "w-full",
|
|
2033
|
+
variants: {
|
|
2034
|
+
/* A top bar spans the width at its band height; a rail spans the height as a column. */
|
|
2035
|
+
orientation: {
|
|
2036
|
+
horizontal: "",
|
|
2037
|
+
vertical: "flex h-full flex-col"
|
|
2038
|
+
},
|
|
2039
|
+
/* Sticks the band to the top of the scroll container when true. */
|
|
2040
|
+
sticky: {
|
|
2041
|
+
true: "sticky top-0 z-sticky",
|
|
2042
|
+
false: ""
|
|
2043
|
+
},
|
|
2044
|
+
/* Band height — the bar's vertical size. */
|
|
2045
|
+
height: {
|
|
2046
|
+
sm: "h-12",
|
|
2047
|
+
md: "h-14",
|
|
2048
|
+
lg: "h-16"
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
compoundVariants: [
|
|
2052
|
+
/* A rail is as tall as its container; the band heights apply to top bars only. */
|
|
2053
|
+
{ orientation: "vertical", height: ["sm", "md", "lg"], class: "h-full" }
|
|
2054
|
+
],
|
|
2055
|
+
defaultVariants: {
|
|
2056
|
+
orientation: "horizontal",
|
|
2057
|
+
sticky: false,
|
|
2058
|
+
height: "md"
|
|
2059
|
+
}
|
|
2060
|
+
});
|
|
2061
|
+
const AppShellHeaderHeight = {
|
|
2062
|
+
/** Refers to a compact 3rem bar. */
|
|
2063
|
+
Sm: "sm",
|
|
2064
|
+
/** Refers to the default 3.5rem bar. */
|
|
2065
|
+
Md: "md",
|
|
2066
|
+
/** Refers to a tall 4rem bar. */
|
|
2067
|
+
Lg: "lg",
|
|
2068
|
+
/** Refers to a bar that grows with wrapping content from the default height. */
|
|
2069
|
+
Auto: "auto"
|
|
2070
|
+
};
|
|
2071
|
+
const HeightClass = {
|
|
2072
|
+
sm: "h-12",
|
|
2073
|
+
md: "h-14",
|
|
2074
|
+
lg: "h-16",
|
|
2075
|
+
auto: "min-h-14 flex-wrap py-2"
|
|
2076
|
+
};
|
|
2077
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2078
|
+
...{ name: "AppShellHeader", inheritAttrs: false },
|
|
2079
|
+
__name: "AppShellHeader",
|
|
2080
|
+
props: {
|
|
2081
|
+
height: { default: "md" },
|
|
2082
|
+
variant: { default: "solid" }
|
|
2083
|
+
},
|
|
2084
|
+
setup(__props, { expose: __expose }) {
|
|
2085
|
+
const props = __props;
|
|
2086
|
+
provide(bannerHostKey, true);
|
|
2087
|
+
const attrs = useAttrs();
|
|
2088
|
+
const el = useTemplateRef("el");
|
|
2089
|
+
const classes = computed(
|
|
2090
|
+
() => cn(
|
|
2091
|
+
"sticky top-0 z-sticky flex items-center gap-3 border-b border-border px-4 [grid-area:header]",
|
|
2092
|
+
HeightClass[props.height],
|
|
2093
|
+
NavbarSurfaceClass[props.variant],
|
|
2094
|
+
attrs.class
|
|
2095
|
+
)
|
|
2096
|
+
);
|
|
2097
|
+
const rest = computed(() => {
|
|
2098
|
+
const { class: _class, ...others } = attrs;
|
|
2099
|
+
return others;
|
|
2100
|
+
});
|
|
2101
|
+
__expose({ el });
|
|
2102
|
+
return (_ctx, _cache) => {
|
|
2103
|
+
return openBlock(), createElementBlock("header", mergeProps({
|
|
2104
|
+
ref_key: "el",
|
|
2105
|
+
ref: el,
|
|
2106
|
+
role: "banner"
|
|
2107
|
+
}, rest.value, { class: classes.value }), [
|
|
2108
|
+
renderSlot(_ctx.$slots, "default")
|
|
2109
|
+
], 16);
|
|
2110
|
+
};
|
|
2111
|
+
}
|
|
2112
|
+
});
|
|
2113
|
+
const _hoisted_1$5 = { class: "flex h-full w-full flex-col p-3" };
|
|
2114
|
+
const SidebarStaticClasses = {
|
|
2115
|
+
sm: "hidden sm:flex",
|
|
2116
|
+
md: "hidden md:flex",
|
|
2117
|
+
lg: "hidden lg:flex",
|
|
2118
|
+
xl: "hidden xl:flex",
|
|
2119
|
+
"2xl": "hidden 2xl:flex"
|
|
2120
|
+
};
|
|
2121
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
2122
|
+
...{ name: "AppShellSidebar", inheritAttrs: false },
|
|
2123
|
+
__name: "AppShellSidebar",
|
|
2124
|
+
setup(__props, { expose: __expose }) {
|
|
2125
|
+
const attrs = useAttrs();
|
|
2126
|
+
const el = useTemplateRef("el");
|
|
2127
|
+
const context = useAppShellContext();
|
|
2128
|
+
const isCollapsed = context.isSidebarCollapsed;
|
|
2129
|
+
const isSidebarOpen = context.isSidebarOpen;
|
|
2130
|
+
const asideClasses = computed(
|
|
2131
|
+
() => cn(
|
|
2132
|
+
"overflow-y-auto border-r border-border bg-card [grid-area:sidebar]",
|
|
2133
|
+
context.scroll.value === AppShellScroll.Region ? "min-h-0" : "sticky top-14 h-[calc(100svh-3.5rem)]",
|
|
2134
|
+
SidebarStaticClasses[context.sidebarBreakpoint.value],
|
|
2135
|
+
attrs.class
|
|
2136
|
+
)
|
|
2137
|
+
);
|
|
2138
|
+
const navClasses = computed(() => cn("flex h-full flex-col", attrs.class));
|
|
2139
|
+
const rest = computed(() => {
|
|
2140
|
+
const { class: _class, ...others } = attrs;
|
|
2141
|
+
return others;
|
|
2142
|
+
});
|
|
2143
|
+
__expose({ el });
|
|
2144
|
+
return (_ctx, _cache) => {
|
|
2145
|
+
return unref(isCollapsed) ? (openBlock(), createBlock(_sfc_main$I, {
|
|
2146
|
+
key: 0,
|
|
2147
|
+
open: unref(isSidebarOpen),
|
|
2148
|
+
side: "left",
|
|
2149
|
+
"onUpdate:open": unref(context).setSidebarOpen
|
|
2150
|
+
}, {
|
|
2151
|
+
default: withCtx(() => [
|
|
2152
|
+
createVNode(_sfc_main$J, { class: "w-72 max-w-[80%]" }, {
|
|
2153
|
+
default: withCtx(() => [
|
|
2154
|
+
createElementVNode("nav", {
|
|
2155
|
+
class: normalizeClass(navClasses.value)
|
|
2156
|
+
}, [
|
|
2157
|
+
renderSlot(_ctx.$slots, "default")
|
|
2158
|
+
], 2)
|
|
2159
|
+
]),
|
|
2160
|
+
_: 3
|
|
2161
|
+
})
|
|
2162
|
+
]),
|
|
2163
|
+
_: 3
|
|
2164
|
+
}, 8, ["open", "onUpdate:open"])) : (openBlock(), createElementBlock("aside", mergeProps({
|
|
2165
|
+
key: 1,
|
|
2166
|
+
ref_key: "el",
|
|
2167
|
+
ref: el
|
|
2168
|
+
}, rest.value, { class: asideClasses.value }), [
|
|
2169
|
+
createElementVNode("nav", _hoisted_1$5, [
|
|
2170
|
+
renderSlot(_ctx.$slots, "default")
|
|
2171
|
+
])
|
|
2172
|
+
], 16));
|
|
2173
|
+
};
|
|
2174
|
+
}
|
|
2175
|
+
});
|
|
2176
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
2177
|
+
...{ name: "AppShellMain", inheritAttrs: false },
|
|
2178
|
+
__name: "AppShellMain",
|
|
2179
|
+
setup(__props, { expose: __expose }) {
|
|
2180
|
+
const attrs = useAttrs();
|
|
2181
|
+
const el = useTemplateRef("el");
|
|
2182
|
+
const context = inject(appShellContextKey, null);
|
|
2183
|
+
const isRegion = computed(() => context?.scroll.value === AppShellScroll.Region);
|
|
2184
|
+
const regionAttrs = computed(() => isRegion.value ? { [ScrollRegionAttribute]: "" } : {});
|
|
2185
|
+
const classes = computed(
|
|
2186
|
+
() => cn(
|
|
2187
|
+
"flex flex-col [grid-area:main] focus:outline-hidden",
|
|
2188
|
+
isRegion.value && "min-h-0 overflow-y-auto [scrollbar-gutter:stable]",
|
|
2189
|
+
attrs.class
|
|
2190
|
+
)
|
|
2191
|
+
);
|
|
2192
|
+
const rest = computed(() => {
|
|
2193
|
+
const { class: _class, ...others } = attrs;
|
|
2194
|
+
return others;
|
|
2195
|
+
});
|
|
2196
|
+
__expose({ el });
|
|
2197
|
+
return (_ctx, _cache) => {
|
|
2198
|
+
return openBlock(), createElementBlock("main", mergeProps({
|
|
2199
|
+
ref_key: "el",
|
|
2200
|
+
ref: el,
|
|
2201
|
+
id: "app-shell-main",
|
|
2202
|
+
tabindex: "-1"
|
|
2203
|
+
}, { ...regionAttrs.value, ...rest.value }, { class: classes.value }), [
|
|
2204
|
+
renderSlot(_ctx.$slots, "default")
|
|
2205
|
+
], 16);
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
});
|
|
2209
|
+
const AppShellContentGutter = {
|
|
2210
|
+
/** Refers to no padding — the content runs to the region's edges. */
|
|
2211
|
+
None: "none",
|
|
2212
|
+
/** Refers to a 1rem gutter. */
|
|
2213
|
+
Sm: "sm",
|
|
2214
|
+
/** Refers to the default 1.5rem gutter. */
|
|
2215
|
+
Md: "md",
|
|
2216
|
+
/** Refers to a gutter that widens with the viewport, from 1rem to 2rem. */
|
|
2217
|
+
Lg: "lg"
|
|
2218
|
+
};
|
|
2219
|
+
const GutterClass = {
|
|
2220
|
+
none: "p-0",
|
|
2221
|
+
sm: "p-4",
|
|
2222
|
+
md: "p-6",
|
|
2223
|
+
lg: "px-4 py-6 sm:px-6 lg:px-8 lg:py-8"
|
|
2224
|
+
};
|
|
2225
|
+
const MaxWidthClass = {
|
|
2226
|
+
sm: "max-w-screen-sm",
|
|
2227
|
+
md: "max-w-screen-md",
|
|
2228
|
+
lg: "max-w-screen-lg",
|
|
2229
|
+
xl: "max-w-screen-xl",
|
|
2230
|
+
"2xl": "max-w-screen-2xl",
|
|
2231
|
+
full: "max-w-full"
|
|
2232
|
+
};
|
|
2233
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2234
|
+
...{ name: "AppShellContent", inheritAttrs: false },
|
|
2235
|
+
__name: "AppShellContent",
|
|
2236
|
+
props: {
|
|
2237
|
+
gutter: { default: "md" },
|
|
2238
|
+
maxWidth: { default: void 0 }
|
|
2239
|
+
},
|
|
2240
|
+
setup(__props, { expose: __expose }) {
|
|
2241
|
+
const props = __props;
|
|
2242
|
+
const attrs = useAttrs();
|
|
2243
|
+
const el = useTemplateRef("el");
|
|
2244
|
+
const classes = computed(() => cn("flex-1", GutterClass[props.gutter], attrs.class));
|
|
2245
|
+
const stepClass = computed(
|
|
2246
|
+
() => typeof props.maxWidth === "string" && props.maxWidth in MaxWidthClass ? MaxWidthClass[props.maxWidth] : void 0
|
|
2247
|
+
);
|
|
2248
|
+
const containerClass = computed(() => cn("mx-auto w-full", stepClass.value));
|
|
2249
|
+
const containerStyle = computed(
|
|
2250
|
+
() => props.maxWidth === void 0 || stepClass.value ? void 0 : { maxWidth: CssExtensions.toCss(props.maxWidth) }
|
|
2251
|
+
);
|
|
2252
|
+
const rest = computed(() => {
|
|
2253
|
+
const { class: _class, ...others } = attrs;
|
|
2254
|
+
return others;
|
|
2255
|
+
});
|
|
2256
|
+
__expose({ el });
|
|
2257
|
+
return (_ctx, _cache) => {
|
|
2258
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2259
|
+
ref_key: "el",
|
|
2260
|
+
ref: el
|
|
2261
|
+
}, rest.value, { class: classes.value }), [
|
|
2262
|
+
props.maxWidth !== void 0 ? (openBlock(), createElementBlock("div", {
|
|
2263
|
+
key: 0,
|
|
2264
|
+
class: normalizeClass(containerClass.value),
|
|
2265
|
+
style: normalizeStyle(containerStyle.value),
|
|
2266
|
+
"data-content-container": ""
|
|
2267
|
+
}, [
|
|
2268
|
+
renderSlot(_ctx.$slots, "default")
|
|
2269
|
+
], 6)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)
|
|
2270
|
+
], 16);
|
|
2271
|
+
};
|
|
2272
|
+
}
|
|
2273
|
+
});
|
|
2274
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2275
|
+
...{ name: "AppShellAside", inheritAttrs: false },
|
|
2276
|
+
__name: "AppShellAside",
|
|
2277
|
+
setup(__props, { expose: __expose }) {
|
|
2278
|
+
const attrs = useAttrs();
|
|
2279
|
+
const el = useTemplateRef("el");
|
|
2280
|
+
const context = useAppShellContext();
|
|
2281
|
+
const isHidden = context.isAsideHidden;
|
|
2282
|
+
const classes = computed(
|
|
2283
|
+
() => cn(
|
|
2284
|
+
"sticky shrink-0 overflow-y-auto border-l border-border bg-card p-4",
|
|
2285
|
+
/* In a region shell the main region scrolls under no header, so the rail pins to its top edge. */
|
|
2286
|
+
context.scroll.value === AppShellScroll.Region ? "top-0 max-h-full" : "top-14 h-[calc(100svh-3.5rem)]",
|
|
2287
|
+
attrs.class
|
|
2288
|
+
)
|
|
2289
|
+
);
|
|
2290
|
+
const asideStyle = computed(() => normalizeStyle([{ width: context.asideWidth.value }, attrs.style]));
|
|
2291
|
+
const rest = computed(() => {
|
|
2292
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
2293
|
+
return others;
|
|
2294
|
+
});
|
|
2295
|
+
__expose({ el });
|
|
2296
|
+
return (_ctx, _cache) => {
|
|
2297
|
+
return !unref(isHidden) ? (openBlock(), createElementBlock("aside", mergeProps({
|
|
2298
|
+
key: 0,
|
|
2299
|
+
ref_key: "el",
|
|
2300
|
+
ref: el
|
|
2301
|
+
}, rest.value, {
|
|
2302
|
+
style: asideStyle.value,
|
|
2303
|
+
class: classes.value
|
|
2304
|
+
}), [
|
|
2305
|
+
renderSlot(_ctx.$slots, "default")
|
|
2306
|
+
], 16)) : createCommentVNode("", true);
|
|
2307
|
+
};
|
|
2308
|
+
}
|
|
2309
|
+
});
|
|
2310
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2311
|
+
...{ name: "AppShellFooter", inheritAttrs: false },
|
|
2312
|
+
__name: "AppShellFooter",
|
|
2313
|
+
setup(__props, { expose: __expose }) {
|
|
2314
|
+
const attrs = useAttrs();
|
|
2315
|
+
const el = useTemplateRef("el");
|
|
2316
|
+
const classes = computed(
|
|
2317
|
+
() => cn(
|
|
2318
|
+
"border-t border-border bg-card px-4 py-3 text-sm text-muted-foreground [grid-area:footer]",
|
|
2319
|
+
attrs.class
|
|
2320
|
+
)
|
|
2321
|
+
);
|
|
2322
|
+
const rest = computed(() => {
|
|
2323
|
+
const { class: _class, ...others } = attrs;
|
|
2324
|
+
return others;
|
|
2325
|
+
});
|
|
2326
|
+
__expose({ el });
|
|
2327
|
+
return (_ctx, _cache) => {
|
|
2328
|
+
return openBlock(), createElementBlock("footer", mergeProps({
|
|
2329
|
+
ref_key: "el",
|
|
2330
|
+
ref: el,
|
|
2331
|
+
role: "contentinfo"
|
|
2332
|
+
}, rest.value, { class: classes.value }), [
|
|
2333
|
+
renderSlot(_ctx.$slots, "default")
|
|
2334
|
+
], 16);
|
|
2335
|
+
};
|
|
2336
|
+
}
|
|
2337
|
+
});
|
|
2338
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2339
|
+
...{ name: "PageHeaderActions" },
|
|
2340
|
+
__name: "PageHeaderActions",
|
|
2341
|
+
setup(__props) {
|
|
2342
|
+
const outlet = usePageHeaderOutlet();
|
|
2343
|
+
return (_ctx, _cache) => {
|
|
2344
|
+
return openBlock(), createBlock(Teleport, {
|
|
2345
|
+
to: unref(outlet) ?? "body",
|
|
2346
|
+
disabled: !unref(outlet)
|
|
2347
|
+
}, [
|
|
2348
|
+
renderSlot(_ctx.$slots, "default")
|
|
2349
|
+
], 8, ["to", "disabled"]);
|
|
2350
|
+
};
|
|
2351
|
+
}
|
|
2352
|
+
});
|
|
2353
|
+
const AnchorLayoutVisibilityMode = {
|
|
2354
|
+
/** Refers to an always-visible overlay. */
|
|
2355
|
+
Always: "always",
|
|
2356
|
+
/** Refers to reveal-on-hover (or focus-within) gating. */
|
|
2357
|
+
Hover: "hover",
|
|
2358
|
+
/** Refers to reveal-on-focus-within gating. */
|
|
2359
|
+
FocusWithin: "focus-within",
|
|
2360
|
+
/** Refers to mount/unmount gating driven by presence data-state. */
|
|
2361
|
+
Presence: "presence"
|
|
2362
|
+
};
|
|
2363
|
+
const AnchorLayoutTransition = {
|
|
2364
|
+
/** Refers to no transition. */
|
|
2365
|
+
None: "none",
|
|
2366
|
+
/** Refers to an opacity fade. */
|
|
2367
|
+
Fade: "fade",
|
|
2368
|
+
/** Refers to a fade combined with a scale. */
|
|
2369
|
+
FadeScale: "fade-scale",
|
|
2370
|
+
/** Refers to a fade combined with an upward slide. */
|
|
2371
|
+
FadeSlideUp: "fade-slide-up",
|
|
2372
|
+
/** Refers to a fade combined with a downward slide. */
|
|
2373
|
+
FadeSlideDown: "fade-slide-down",
|
|
2374
|
+
/** Refers to a fade combined with a leftward slide. */
|
|
2375
|
+
FadeSlideLeft: "fade-slide-left",
|
|
2376
|
+
/** Refers to a fade combined with a rightward slide. */
|
|
2377
|
+
FadeSlideRight: "fade-slide-right"
|
|
2378
|
+
};
|
|
2379
|
+
const overlayVariants = tv({
|
|
2380
|
+
base: "absolute",
|
|
2381
|
+
variants: {
|
|
2382
|
+
position: {
|
|
2383
|
+
"top-right": "top-[var(--ui-overlay-inset,0.5rem)] right-[var(--ui-overlay-inset,0.5rem)]",
|
|
2384
|
+
"top-left": "top-[var(--ui-overlay-inset,0.5rem)] left-[var(--ui-overlay-inset,0.5rem)]",
|
|
2385
|
+
"bottom-right": "bottom-[var(--ui-overlay-inset,0.5rem)] right-[var(--ui-overlay-inset,0.5rem)]",
|
|
2386
|
+
"bottom-left": "bottom-[var(--ui-overlay-inset,0.5rem)] left-[var(--ui-overlay-inset,0.5rem)]",
|
|
2387
|
+
top: "top-[var(--ui-overlay-inset,0.5rem)] left-1/2 -translate-x-1/2",
|
|
2388
|
+
bottom: "bottom-[var(--ui-overlay-inset,0.5rem)] left-1/2 -translate-x-1/2",
|
|
2389
|
+
left: "left-[var(--ui-overlay-inset,0.5rem)] top-1/2 -translate-y-1/2",
|
|
2390
|
+
right: "right-[var(--ui-overlay-inset,0.5rem)] top-1/2 -translate-y-1/2",
|
|
2391
|
+
center: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
2392
|
+
custom: ""
|
|
2393
|
+
// consumer passed inset object — positioning via inline style
|
|
2394
|
+
},
|
|
2395
|
+
visibilityMode: {
|
|
2396
|
+
always: "",
|
|
2397
|
+
hover: "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 group-hover:[transition-duration:var(--ui-overlay-enter,200ms)] group-focus-within:[transition-duration:var(--ui-overlay-enter,200ms)]",
|
|
2398
|
+
"focus-within": "opacity-0 group-focus-within:opacity-100 group-focus-within:[transition-duration:var(--ui-overlay-enter,200ms)]",
|
|
2399
|
+
presence: "data-[state=closed]:opacity-0 data-[state=open]:[transition-duration:var(--ui-overlay-enter,200ms)]"
|
|
2400
|
+
},
|
|
2401
|
+
transition: {
|
|
2402
|
+
none: "",
|
|
2403
|
+
fade: "transition-opacity duration-[var(--ui-overlay-exit,200ms)] ease-out",
|
|
2404
|
+
"fade-scale": "transition-[opacity,transform] duration-[var(--ui-overlay-exit,200ms)] ease-out",
|
|
2405
|
+
"fade-slide-up": "transition-[opacity,transform] duration-[var(--ui-overlay-exit,200ms)] ease-out",
|
|
2406
|
+
"fade-slide-down": "transition-[opacity,transform] duration-[var(--ui-overlay-exit,200ms)] ease-out",
|
|
2407
|
+
"fade-slide-left": "transition-[opacity,transform] duration-[var(--ui-overlay-exit,200ms)] ease-out",
|
|
2408
|
+
"fade-slide-right": "transition-[opacity,transform] duration-[var(--ui-overlay-exit,200ms)] ease-out"
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
compoundVariants: [
|
|
2412
|
+
// === HOVER mode + transform-bearing transitions ===
|
|
2413
|
+
{
|
|
2414
|
+
visibilityMode: "hover",
|
|
2415
|
+
transition: "fade-scale",
|
|
2416
|
+
class: "scale-95 group-hover:scale-100 group-focus-within:scale-100 motion-reduce:scale-100 motion-reduce:group-hover:scale-100 motion-reduce:group-focus-within:scale-100"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
visibilityMode: "hover",
|
|
2420
|
+
transition: "fade-slide-up",
|
|
2421
|
+
class: "translate-y-1 group-hover:translate-y-0 group-focus-within:translate-y-0 motion-reduce:translate-y-0 motion-reduce:group-hover:translate-y-0 motion-reduce:group-focus-within:translate-y-0"
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
visibilityMode: "hover",
|
|
2425
|
+
transition: "fade-slide-down",
|
|
2426
|
+
class: "-translate-y-1 group-hover:translate-y-0 group-focus-within:translate-y-0 motion-reduce:translate-y-0 motion-reduce:group-hover:translate-y-0 motion-reduce:group-focus-within:translate-y-0"
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
visibilityMode: "hover",
|
|
2430
|
+
transition: "fade-slide-left",
|
|
2431
|
+
class: "translate-x-1 group-hover:translate-x-0 group-focus-within:translate-x-0 motion-reduce:translate-x-0 motion-reduce:group-hover:translate-x-0 motion-reduce:group-focus-within:translate-x-0"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
visibilityMode: "hover",
|
|
2435
|
+
transition: "fade-slide-right",
|
|
2436
|
+
class: "-translate-x-1 group-hover:translate-x-0 group-focus-within:translate-x-0 motion-reduce:translate-x-0 motion-reduce:group-hover:translate-x-0 motion-reduce:group-focus-within:translate-x-0"
|
|
2437
|
+
},
|
|
2438
|
+
// === FOCUS-WITHIN mode + transform-bearing transitions ===
|
|
2439
|
+
{
|
|
2440
|
+
visibilityMode: "focus-within",
|
|
2441
|
+
transition: "fade-scale",
|
|
2442
|
+
class: "scale-95 group-focus-within:scale-100 motion-reduce:scale-100 motion-reduce:group-focus-within:scale-100"
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
visibilityMode: "focus-within",
|
|
2446
|
+
transition: "fade-slide-up",
|
|
2447
|
+
class: "translate-y-1 group-focus-within:translate-y-0 motion-reduce:translate-y-0 motion-reduce:group-focus-within:translate-y-0"
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
visibilityMode: "focus-within",
|
|
2451
|
+
transition: "fade-slide-down",
|
|
2452
|
+
class: "-translate-y-1 group-focus-within:translate-y-0 motion-reduce:translate-y-0 motion-reduce:group-focus-within:translate-y-0"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
visibilityMode: "focus-within",
|
|
2456
|
+
transition: "fade-slide-left",
|
|
2457
|
+
class: "translate-x-1 group-focus-within:translate-x-0 motion-reduce:translate-x-0 motion-reduce:group-focus-within:translate-x-0"
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
visibilityMode: "focus-within",
|
|
2461
|
+
transition: "fade-slide-right",
|
|
2462
|
+
class: "-translate-x-1 group-focus-within:translate-x-0 motion-reduce:translate-x-0 motion-reduce:group-focus-within:translate-x-0"
|
|
2463
|
+
},
|
|
2464
|
+
// === PRESENCE mode (data-state-driven) + transform-bearing transitions ===
|
|
2465
|
+
{
|
|
2466
|
+
visibilityMode: "presence",
|
|
2467
|
+
transition: "fade-scale",
|
|
2468
|
+
class: "data-[state=closed]:scale-95 motion-reduce:data-[state=closed]:scale-100"
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
visibilityMode: "presence",
|
|
2472
|
+
transition: "fade-slide-up",
|
|
2473
|
+
class: "data-[state=closed]:translate-y-1 motion-reduce:data-[state=closed]:translate-y-0"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
visibilityMode: "presence",
|
|
2477
|
+
transition: "fade-slide-down",
|
|
2478
|
+
class: "data-[state=closed]:-translate-y-1 motion-reduce:data-[state=closed]:translate-y-0"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
visibilityMode: "presence",
|
|
2482
|
+
transition: "fade-slide-left",
|
|
2483
|
+
class: "data-[state=closed]:translate-x-1 motion-reduce:data-[state=closed]:translate-x-0"
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
visibilityMode: "presence",
|
|
2487
|
+
transition: "fade-slide-right",
|
|
2488
|
+
class: "data-[state=closed]:-translate-x-1 motion-reduce:data-[state=closed]:translate-x-0"
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
defaultVariants: {
|
|
2492
|
+
position: "top-right",
|
|
2493
|
+
visibilityMode: "always",
|
|
2494
|
+
transition: "none"
|
|
2495
|
+
}
|
|
2496
|
+
});
|
|
2497
|
+
const AnchorLayoutAppearOn = {
|
|
2498
|
+
/** Refers to an always-visible overlay. */
|
|
2499
|
+
Always: "always",
|
|
2500
|
+
/** Refers to reveal-on-hover (and focus-within). */
|
|
2501
|
+
Hover: "hover",
|
|
2502
|
+
/** Refers to reveal-on-focus-within. */
|
|
2503
|
+
FocusWithin: "focus-within"
|
|
2504
|
+
};
|
|
2505
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2506
|
+
...{ name: "AnchorLayout", inheritAttrs: false },
|
|
2507
|
+
__name: "AnchorLayout",
|
|
2508
|
+
props: {
|
|
2509
|
+
position: { default: "top-right" },
|
|
2510
|
+
inset: { default: void 0 },
|
|
2511
|
+
zIndex: { default: 10 },
|
|
2512
|
+
appearOn: { default: AnchorLayoutAppearOn.Always },
|
|
2513
|
+
isOpen: { type: Boolean, default: void 0 },
|
|
2514
|
+
transition: { default: void 0 },
|
|
2515
|
+
transitionDuration: { default: void 0 },
|
|
2516
|
+
transitionEasing: { default: void 0 },
|
|
2517
|
+
asChild: { type: Boolean, default: true }
|
|
2518
|
+
},
|
|
2519
|
+
setup(__props) {
|
|
2520
|
+
const props = __props;
|
|
2521
|
+
const attrs = useAttrs();
|
|
2522
|
+
const isPresenceMode = computed(() => props.isOpen !== void 0);
|
|
2523
|
+
const isCustomPosition = computed(() => typeof props.position === "object" && props.position !== null);
|
|
2524
|
+
const effectiveTransition = computed(
|
|
2525
|
+
() => props.transition ?? (isPresenceMode.value || props.appearOn !== AnchorLayoutAppearOn.Always ? AnchorLayoutTransition.Fade : AnchorLayoutTransition.None)
|
|
2526
|
+
);
|
|
2527
|
+
const visibilityMode = computed(
|
|
2528
|
+
() => isPresenceMode.value ? AnchorLayoutVisibilityMode.Presence : props.appearOn === AnchorLayoutAppearOn.Hover ? AnchorLayoutVisibilityMode.Hover : props.appearOn === AnchorLayoutAppearOn.FocusWithin ? AnchorLayoutVisibilityMode.FocusWithin : AnchorLayoutVisibilityMode.Always
|
|
2529
|
+
);
|
|
2530
|
+
const classes = computed(
|
|
2531
|
+
() => cn(
|
|
2532
|
+
overlayVariants({
|
|
2533
|
+
position: isCustomPosition.value ? "custom" : props.position,
|
|
2534
|
+
visibilityMode: visibilityMode.value,
|
|
2535
|
+
transition: effectiveTransition.value
|
|
2536
|
+
}),
|
|
2537
|
+
attrs.class
|
|
2538
|
+
)
|
|
2539
|
+
);
|
|
2540
|
+
const inlineStyle = computed(() => {
|
|
2541
|
+
const { enter, exit } = TransitionExtensions.resolveDuration(props.transitionDuration);
|
|
2542
|
+
const own = {
|
|
2543
|
+
zIndex: props.zIndex,
|
|
2544
|
+
// CSS vars consumed by tailwind variants — exit is the baseline
|
|
2545
|
+
// transition-duration; enter overrides it on hover / focus-within / isOpen.
|
|
2546
|
+
"--ui-overlay-enter": `${enter}ms`,
|
|
2547
|
+
"--ui-overlay-exit": `${exit}ms`
|
|
2548
|
+
};
|
|
2549
|
+
if (props.inset !== void 0) {
|
|
2550
|
+
own["--ui-overlay-inset"] = CssExtensions.toCss(props.inset);
|
|
2551
|
+
}
|
|
2552
|
+
if (props.transitionEasing) {
|
|
2553
|
+
own.transitionTimingFunction = props.transitionEasing;
|
|
2554
|
+
}
|
|
2555
|
+
if (isCustomPosition.value) {
|
|
2556
|
+
const p = props.position;
|
|
2557
|
+
if (p.top !== void 0) own.top = CssExtensions.toCss(p.top);
|
|
2558
|
+
if (p.right !== void 0) own.right = CssExtensions.toCss(p.right);
|
|
2559
|
+
if (p.bottom !== void 0) own.bottom = CssExtensions.toCss(p.bottom);
|
|
2560
|
+
if (p.left !== void 0) own.left = CssExtensions.toCss(p.left);
|
|
2561
|
+
}
|
|
2562
|
+
return normalizeStyle([attrs.style, own]);
|
|
2563
|
+
});
|
|
2564
|
+
return (_ctx, _cache) => {
|
|
2565
|
+
return isPresenceMode.value ? (openBlock(), createBlock(unref(Presence), {
|
|
2566
|
+
key: 0,
|
|
2567
|
+
"is-present": props.isOpen === true
|
|
2568
|
+
}, {
|
|
2569
|
+
default: withCtx(() => [
|
|
2570
|
+
createVNode(unref(Primitive), {
|
|
2571
|
+
as: "div",
|
|
2572
|
+
"as-child": props.asChild,
|
|
2573
|
+
class: normalizeClass(classes.value),
|
|
2574
|
+
style: normalizeStyle(inlineStyle.value)
|
|
2575
|
+
}, {
|
|
2576
|
+
default: withCtx(() => [
|
|
2577
|
+
renderSlot(_ctx.$slots, "default")
|
|
2578
|
+
]),
|
|
2579
|
+
_: 3
|
|
2580
|
+
}, 8, ["as-child", "class", "style"])
|
|
2581
|
+
]),
|
|
2582
|
+
_: 3
|
|
2583
|
+
}, 8, ["is-present"])) : (openBlock(), createBlock(unref(Primitive), {
|
|
2584
|
+
key: 1,
|
|
2585
|
+
as: "div",
|
|
2586
|
+
"as-child": props.asChild,
|
|
2587
|
+
class: normalizeClass(classes.value),
|
|
2588
|
+
style: normalizeStyle(inlineStyle.value)
|
|
2589
|
+
}, {
|
|
2590
|
+
default: withCtx(() => [
|
|
2591
|
+
renderSlot(_ctx.$slots, "default")
|
|
2592
|
+
]),
|
|
2593
|
+
_: 3
|
|
2594
|
+
}, 8, ["as-child", "class", "style"]));
|
|
2595
|
+
};
|
|
2596
|
+
}
|
|
2597
|
+
});
|
|
2598
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2599
|
+
...{ name: "SurfaceLayout", inheritAttrs: false },
|
|
2600
|
+
__name: "SurfaceLayout",
|
|
2601
|
+
props: {
|
|
2602
|
+
as: { default: "div" },
|
|
2603
|
+
asChild: { type: Boolean, default: false },
|
|
2604
|
+
variant: {},
|
|
2605
|
+
tone: {},
|
|
2606
|
+
radius: {},
|
|
2607
|
+
padding: {},
|
|
2608
|
+
elevation: {}
|
|
2609
|
+
},
|
|
2610
|
+
setup(__props, { expose: __expose }) {
|
|
2611
|
+
const props = __props;
|
|
2612
|
+
const attrs = useAttrs();
|
|
2613
|
+
const inner = useTemplateRef("inner");
|
|
2614
|
+
const classes = computed(
|
|
2615
|
+
() => cn(
|
|
2616
|
+
surfaceVariants({
|
|
2617
|
+
variant: props.variant,
|
|
2618
|
+
tone: props.tone,
|
|
2619
|
+
radius: props.radius,
|
|
2620
|
+
padding: props.padding,
|
|
2621
|
+
elevation: props.elevation
|
|
2622
|
+
}),
|
|
2623
|
+
attrs.class
|
|
2624
|
+
)
|
|
2625
|
+
);
|
|
2626
|
+
const rest = computed(() => {
|
|
2627
|
+
const { class: _class, ...others } = attrs;
|
|
2628
|
+
return others;
|
|
2629
|
+
});
|
|
2630
|
+
const el = computed(() => resolveElement(inner.value));
|
|
2631
|
+
__expose({ el });
|
|
2632
|
+
return (_ctx, _cache) => {
|
|
2633
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
2634
|
+
ref_key: "inner",
|
|
2635
|
+
ref: inner,
|
|
2636
|
+
as: props.as,
|
|
2637
|
+
"as-child": props.asChild
|
|
2638
|
+
}, rest.value, { class: classes.value }), {
|
|
2639
|
+
default: withCtx(() => [
|
|
2640
|
+
renderSlot(_ctx.$slots, "default")
|
|
2641
|
+
]),
|
|
2642
|
+
_: 3
|
|
2643
|
+
}, 16, ["as", "as-child", "class"]);
|
|
2644
|
+
};
|
|
2645
|
+
}
|
|
2646
|
+
});
|
|
2647
|
+
const SectionPaddingY = {
|
|
2648
|
+
/** Refers to no vertical padding. */
|
|
2649
|
+
None: "none",
|
|
2650
|
+
/** Refers to a small vertical rhythm. */
|
|
2651
|
+
Sm: "sm",
|
|
2652
|
+
/** Refers to a medium vertical rhythm. */
|
|
2653
|
+
Md: "md",
|
|
2654
|
+
/** Refers to a large vertical rhythm. */
|
|
2655
|
+
Lg: "lg",
|
|
2656
|
+
/** Refers to an extra-large vertical rhythm. */
|
|
2657
|
+
Xl: "xl"
|
|
2658
|
+
};
|
|
2659
|
+
const sectionVariants = tv({
|
|
2660
|
+
base: "w-full",
|
|
2661
|
+
variants: {
|
|
2662
|
+
/* Vertical padding — the band's top/bottom breathing room. */
|
|
2663
|
+
py: {
|
|
2664
|
+
none: "py-0",
|
|
2665
|
+
sm: "py-6",
|
|
2666
|
+
md: "py-10",
|
|
2667
|
+
lg: "py-16",
|
|
2668
|
+
xl: "py-24"
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
defaultVariants: {
|
|
2672
|
+
py: "md"
|
|
2673
|
+
}
|
|
2674
|
+
});
|
|
2675
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2676
|
+
...{ name: "Section", inheritAttrs: false },
|
|
2677
|
+
__name: "Section",
|
|
2678
|
+
props: {
|
|
2679
|
+
tone: {},
|
|
2680
|
+
containerSize: {},
|
|
2681
|
+
py: {},
|
|
2682
|
+
isFullBleed: { type: Boolean, default: void 0 },
|
|
2683
|
+
bleed: { type: Boolean, default: void 0 }
|
|
2684
|
+
},
|
|
2685
|
+
setup(__props, { expose: __expose }) {
|
|
2686
|
+
const props = __props;
|
|
2687
|
+
const attrs = useAttrs();
|
|
2688
|
+
const el = useTemplateRef("el");
|
|
2689
|
+
const classes = computed(
|
|
2690
|
+
() => cn(
|
|
2691
|
+
sectionVariants({ py: props.py }),
|
|
2692
|
+
props.tone && surfaceVariants({ variant: "subtle", tone: props.tone, radius: "none" }),
|
|
2693
|
+
attrs.class
|
|
2694
|
+
)
|
|
2695
|
+
);
|
|
2696
|
+
const rest = computed(() => {
|
|
2697
|
+
const { class: _class, ...others } = attrs;
|
|
2698
|
+
return others;
|
|
2699
|
+
});
|
|
2700
|
+
__expose({ el });
|
|
2701
|
+
return (_ctx, _cache) => {
|
|
2702
|
+
return openBlock(), createElementBlock("section", mergeProps({
|
|
2703
|
+
ref_key: "el",
|
|
2704
|
+
ref: el
|
|
2705
|
+
}, rest.value, { class: classes.value }), [
|
|
2706
|
+
props.isFullBleed ?? props.bleed ?? false ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : (openBlock(), createBlock(_sfc_main$z, {
|
|
2707
|
+
key: 1,
|
|
2708
|
+
size: props.containerSize
|
|
2709
|
+
}, {
|
|
2710
|
+
default: withCtx(() => [
|
|
2711
|
+
renderSlot(_ctx.$slots, "default")
|
|
2712
|
+
]),
|
|
2713
|
+
_: 3
|
|
2714
|
+
}, 8, ["size"]))
|
|
2715
|
+
], 16);
|
|
2716
|
+
};
|
|
2717
|
+
}
|
|
2718
|
+
});
|
|
2719
|
+
const _hoisted_1$4 = {
|
|
2720
|
+
key: 0,
|
|
2721
|
+
class: "flex min-w-0 shrink-0 items-center gap-3"
|
|
2722
|
+
};
|
|
2723
|
+
const _hoisted_2$1 = {
|
|
2724
|
+
key: 1,
|
|
2725
|
+
class: "flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto"
|
|
2726
|
+
};
|
|
2727
|
+
const _hoisted_3 = {
|
|
2728
|
+
key: 2,
|
|
2729
|
+
class: "mt-auto flex min-w-0 shrink-0 items-center gap-3"
|
|
2730
|
+
};
|
|
2731
|
+
const _hoisted_4 = {
|
|
2732
|
+
key: 0,
|
|
2733
|
+
class: "flex min-w-0 items-center gap-3"
|
|
2734
|
+
};
|
|
2735
|
+
const _hoisted_5 = {
|
|
2736
|
+
key: 1,
|
|
2737
|
+
class: "flex min-w-0 flex-1 items-center justify-center gap-3"
|
|
2738
|
+
};
|
|
2739
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2740
|
+
...{ name: "Navbar", inheritAttrs: false },
|
|
2741
|
+
__name: "Navbar",
|
|
2742
|
+
props: {
|
|
2743
|
+
as: { default: void 0 },
|
|
2744
|
+
containerAttrs: {},
|
|
2745
|
+
containerClass: { type: [Boolean, null, String, Object, Array] },
|
|
2746
|
+
containerSize: {},
|
|
2747
|
+
height: {},
|
|
2748
|
+
isSticky: { type: Boolean, default: void 0 },
|
|
2749
|
+
sticky: { type: Boolean, default: void 0 },
|
|
2750
|
+
tone: {},
|
|
2751
|
+
hasBorder: { type: Boolean, default: void 0 },
|
|
2752
|
+
bordered: { type: Boolean, default: void 0 },
|
|
2753
|
+
orientation: { default: NavbarOrientation.Horizontal },
|
|
2754
|
+
variant: { default: void 0 }
|
|
2755
|
+
},
|
|
2756
|
+
setup(__props, { expose: __expose }) {
|
|
2757
|
+
const props = __props;
|
|
2758
|
+
const isVertical = computed(() => props.orientation === NavbarOrientation.Vertical);
|
|
2759
|
+
const isHosted = inject(bannerHostKey, false);
|
|
2760
|
+
const tag = computed(() => props.as ?? (isHosted ? NavbarElement.Div : NavbarElement.Header));
|
|
2761
|
+
provide(navbarContextKey, { orientation: computed(() => props.orientation) });
|
|
2762
|
+
const attrs = useAttrs();
|
|
2763
|
+
const slots = useSlots();
|
|
2764
|
+
const el = useTemplateRef("el");
|
|
2765
|
+
const classes = computed(
|
|
2766
|
+
() => cn(
|
|
2767
|
+
navbarVariants({
|
|
2768
|
+
orientation: props.orientation,
|
|
2769
|
+
sticky: props.isSticky ?? props.sticky ?? false,
|
|
2770
|
+
height: props.height
|
|
2771
|
+
}),
|
|
2772
|
+
/* A hosted bar fills the host's row at the host's height. */
|
|
2773
|
+
isHosted && "min-w-0 flex-1 self-stretch",
|
|
2774
|
+
isHosted && props.height === void 0 && "h-auto",
|
|
2775
|
+
(props.hasBorder ?? props.bordered ?? !isHosted) && (isVertical.value ? "border-e border-border" : "border-b border-border"),
|
|
2776
|
+
props.tone ? surfaceVariants({ variant: "subtle", tone: props.tone, radius: "none" }) : NavbarSurfaceClass[props.variant ?? (isHosted ? "transparent" : "solid")],
|
|
2777
|
+
attrs.class
|
|
2778
|
+
)
|
|
2779
|
+
);
|
|
2780
|
+
const endClasses = computed(() => cn("flex min-w-0 items-center gap-3", !slots.center && "ml-auto"));
|
|
2781
|
+
const containerClasses = computed(
|
|
2782
|
+
() => cn("flex h-full items-center gap-3", props.containerAttrs?.class, props.containerClass)
|
|
2783
|
+
);
|
|
2784
|
+
const railClasses = computed(
|
|
2785
|
+
() => cn(
|
|
2786
|
+
"flex h-full min-h-0 flex-col items-stretch gap-3 p-3",
|
|
2787
|
+
props.containerAttrs?.class,
|
|
2788
|
+
props.containerClass
|
|
2789
|
+
)
|
|
2790
|
+
);
|
|
2791
|
+
const containerRest = computed(() => {
|
|
2792
|
+
const { class: _class, ...others } = props.containerAttrs ?? {};
|
|
2793
|
+
return others;
|
|
2794
|
+
});
|
|
2795
|
+
const rest = computed(() => {
|
|
2796
|
+
const { class: _class, ...others } = attrs;
|
|
2797
|
+
return others;
|
|
2798
|
+
});
|
|
2799
|
+
__expose({ el });
|
|
2800
|
+
return (_ctx, _cache) => {
|
|
2801
|
+
return isVertical.value ? (openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({
|
|
2802
|
+
key: 0,
|
|
2803
|
+
ref_key: "el",
|
|
2804
|
+
ref: el
|
|
2805
|
+
}, rest.value, { class: classes.value }), {
|
|
2806
|
+
default: withCtx(() => [
|
|
2807
|
+
createElementVNode("div", mergeProps(containerRest.value, { class: railClasses.value }), [
|
|
2808
|
+
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2809
|
+
_ctx.$slots.start ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
2810
|
+
renderSlot(_ctx.$slots, "start")
|
|
2811
|
+
])) : createCommentVNode("", true),
|
|
2812
|
+
_ctx.$slots.center ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
2813
|
+
renderSlot(_ctx.$slots, "center")
|
|
2814
|
+
])) : createCommentVNode("", true),
|
|
2815
|
+
_ctx.$slots.end ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
2816
|
+
renderSlot(_ctx.$slots, "end")
|
|
2817
|
+
])) : createCommentVNode("", true)
|
|
2818
|
+
], 64))
|
|
2819
|
+
], 16)
|
|
2820
|
+
]),
|
|
2821
|
+
_: 3
|
|
2822
|
+
}, 16, ["class"])) : (openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({
|
|
2823
|
+
key: 1,
|
|
2824
|
+
ref_key: "el",
|
|
2825
|
+
ref: el
|
|
2826
|
+
}, rest.value, { class: classes.value }), {
|
|
2827
|
+
default: withCtx(() => [
|
|
2828
|
+
createVNode(_sfc_main$z, mergeProps(containerRest.value, {
|
|
2829
|
+
size: props.containerSize,
|
|
2830
|
+
class: containerClasses.value
|
|
2831
|
+
}), {
|
|
2832
|
+
default: withCtx(() => [
|
|
2833
|
+
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2834
|
+
_ctx.$slots.start ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
2835
|
+
renderSlot(_ctx.$slots, "start")
|
|
2836
|
+
])) : createCommentVNode("", true),
|
|
2837
|
+
_ctx.$slots.center ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
2838
|
+
renderSlot(_ctx.$slots, "center")
|
|
2839
|
+
])) : createCommentVNode("", true),
|
|
2840
|
+
_ctx.$slots.end ? (openBlock(), createElementBlock("div", {
|
|
2841
|
+
key: 2,
|
|
2842
|
+
class: normalizeClass(endClasses.value)
|
|
2843
|
+
}, [
|
|
2844
|
+
renderSlot(_ctx.$slots, "end")
|
|
2845
|
+
], 2)) : createCommentVNode("", true)
|
|
2846
|
+
], 64))
|
|
2847
|
+
]),
|
|
2848
|
+
_: 3
|
|
2849
|
+
}, 16, ["size", "class"])
|
|
2850
|
+
]),
|
|
2851
|
+
_: 3
|
|
2852
|
+
}, 16, ["class"]));
|
|
2853
|
+
};
|
|
2854
|
+
}
|
|
2855
|
+
});
|
|
2856
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2857
|
+
...{ name: "InputAddonLayout", inheritAttrs: false },
|
|
2858
|
+
__name: "InputAddonLayout",
|
|
2859
|
+
props: {
|
|
2860
|
+
leading: {},
|
|
2861
|
+
trailing: {}
|
|
2862
|
+
},
|
|
2863
|
+
setup(__props, { expose: __expose }) {
|
|
2864
|
+
const props = __props;
|
|
2865
|
+
const attrs = useAttrs();
|
|
2866
|
+
const slots = useSlots();
|
|
2867
|
+
const hasLeading = computed(() => Boolean(props.leading) || Boolean(slots.leading));
|
|
2868
|
+
const hasTrailing = computed(() => Boolean(props.trailing) || Boolean(slots.trailing));
|
|
2869
|
+
const OwnedAttributes = /* @__PURE__ */ new Set(["class"]);
|
|
2870
|
+
const passthroughAttrs = computed(
|
|
2871
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key)))
|
|
2872
|
+
);
|
|
2873
|
+
const rootClass = computed(
|
|
2874
|
+
() => cn(
|
|
2875
|
+
"inline-flex w-full items-stretch rounded-md [&>*]:rounded-none",
|
|
2876
|
+
"[&>*:first-child]:rounded-l-md [&>*:last-child]:rounded-r-md",
|
|
2877
|
+
"[&>*:not(:first-child)]:-ml-px",
|
|
2878
|
+
/* The group is the control, so the focus ring belongs to the group. Past the React
|
|
2879
|
+
original, where the ring landed on the input segment alone and the addons read as
|
|
2880
|
+
separate boxes hanging off a highlighted middle. The segment's own ring is
|
|
2881
|
+
suppressed; it is raised instead so its border paints over its neighbours'. */
|
|
2882
|
+
"[&:has(>*:focus-visible)]:ring-2 [&:has(>*:focus-visible)]:ring-ring",
|
|
2883
|
+
"[&>*:focus-visible]:z-10 [&>*:focus-visible]:relative [&>*:focus-visible]:ring-0",
|
|
2884
|
+
attrs.class
|
|
2885
|
+
)
|
|
2886
|
+
);
|
|
2887
|
+
const AddonClass = "inline-flex shrink-0 items-center border border-input bg-muted px-3 text-sm text-muted-foreground";
|
|
2888
|
+
const root = useTemplateRef("root");
|
|
2889
|
+
__expose({ el: root });
|
|
2890
|
+
return (_ctx, _cache) => {
|
|
2891
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2892
|
+
ref_key: "root",
|
|
2893
|
+
ref: root,
|
|
2894
|
+
class: rootClass.value
|
|
2895
|
+
}, passthroughAttrs.value), [
|
|
2896
|
+
hasLeading.value ? (openBlock(), createElementBlock("span", {
|
|
2897
|
+
key: 0,
|
|
2898
|
+
class: normalizeClass(AddonClass)
|
|
2899
|
+
}, [
|
|
2900
|
+
renderSlot(_ctx.$slots, "leading", {}, () => [
|
|
2901
|
+
createTextVNode(toDisplayString(__props.leading), 1)
|
|
2902
|
+
])
|
|
2903
|
+
])) : createCommentVNode("", true),
|
|
2904
|
+
renderSlot(_ctx.$slots, "default"),
|
|
2905
|
+
hasTrailing.value ? (openBlock(), createElementBlock("span", {
|
|
2906
|
+
key: 1,
|
|
2907
|
+
class: normalizeClass(AddonClass)
|
|
2908
|
+
}, [
|
|
2909
|
+
renderSlot(_ctx.$slots, "trailing", {}, () => [
|
|
2910
|
+
createTextVNode(toDisplayString(__props.trailing), 1)
|
|
2911
|
+
])
|
|
2912
|
+
])) : createCommentVNode("", true)
|
|
2913
|
+
], 16);
|
|
2914
|
+
};
|
|
2915
|
+
}
|
|
2916
|
+
});
|
|
2917
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2918
|
+
...{ name: "InputGroup", inheritAttrs: false },
|
|
2919
|
+
__name: "InputGroup",
|
|
2920
|
+
props: {
|
|
2921
|
+
orientation: { default: Orientation.Horizontal }
|
|
2922
|
+
},
|
|
2923
|
+
setup(__props, { expose: __expose }) {
|
|
2924
|
+
const props = __props;
|
|
2925
|
+
const attrs = useAttrs();
|
|
2926
|
+
const isHorizontal = computed(() => props.orientation === Orientation.Horizontal);
|
|
2927
|
+
const OwnedAttributes = /* @__PURE__ */ new Set(["class"]);
|
|
2928
|
+
const passthroughAttrs = computed(
|
|
2929
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key)))
|
|
2930
|
+
);
|
|
2931
|
+
const rootClass = computed(
|
|
2932
|
+
() => cn(
|
|
2933
|
+
"inline-flex w-full rounded-md",
|
|
2934
|
+
isHorizontal.value ? "flex-row" : "flex-col",
|
|
2935
|
+
/* Same contract as `InputAddonLayout`: the joined row is one control, so the ring goes round
|
|
2936
|
+
the whole group and the focused segment only rises above its neighbours' borders. */
|
|
2937
|
+
"[&:has(>*:focus-visible)]:ring-2 [&:has(>*:focus-visible)]:ring-ring",
|
|
2938
|
+
"[&>*:focus-visible]:z-10 [&>*:focus-visible]:relative [&>*:focus-visible]:ring-0",
|
|
2939
|
+
isHorizontal.value ? "[&>*]:rounded-none [&>*:first-child]:rounded-l-md [&>*:last-child]:rounded-r-md [&>*:not(:first-child)]:-ml-px" : "[&>*]:rounded-none [&>*:first-child]:rounded-t-md [&>*:last-child]:rounded-b-md [&>*:not(:first-child)]:-mt-px",
|
|
2940
|
+
attrs.class
|
|
2941
|
+
)
|
|
2942
|
+
);
|
|
2943
|
+
const root = useTemplateRef("root");
|
|
2944
|
+
__expose({ el: root });
|
|
2945
|
+
return (_ctx, _cache) => {
|
|
2946
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2947
|
+
ref_key: "root",
|
|
2948
|
+
ref: root,
|
|
2949
|
+
class: rootClass.value
|
|
2950
|
+
}, passthroughAttrs.value), [
|
|
2951
|
+
renderSlot(_ctx.$slots, "default")
|
|
2952
|
+
], 16);
|
|
2953
|
+
};
|
|
2954
|
+
}
|
|
2955
|
+
});
|
|
2956
|
+
const _hoisted_1$3 = ["role", "aria-orientation"];
|
|
2957
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2958
|
+
...{ name: "SeparatorLayout", inheritAttrs: false },
|
|
2959
|
+
__name: "SeparatorLayout",
|
|
2960
|
+
props: {
|
|
2961
|
+
orientation: { default: Orientation.Horizontal },
|
|
2962
|
+
isDecorative: { type: Boolean, default: true }
|
|
2963
|
+
},
|
|
2964
|
+
setup(__props, { expose: __expose }) {
|
|
2965
|
+
const props = __props;
|
|
2966
|
+
const attrs = useAttrs();
|
|
2967
|
+
const el = useTemplateRef("el");
|
|
2968
|
+
const classes = computed(
|
|
2969
|
+
() => cn(
|
|
2970
|
+
"bg-border",
|
|
2971
|
+
props.orientation === Orientation.Horizontal ? "h-px w-full" : "w-px self-stretch",
|
|
2972
|
+
attrs.class
|
|
2973
|
+
)
|
|
2974
|
+
);
|
|
2975
|
+
const rest = computed(() => {
|
|
2976
|
+
const { class: _class, ...others } = attrs;
|
|
2977
|
+
return others;
|
|
2978
|
+
});
|
|
2979
|
+
__expose({ el });
|
|
2980
|
+
return (_ctx, _cache) => {
|
|
2981
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2982
|
+
ref_key: "el",
|
|
2983
|
+
ref: el,
|
|
2984
|
+
role: props.isDecorative ? "none" : "separator",
|
|
2985
|
+
"aria-orientation": props.isDecorative ? void 0 : props.orientation
|
|
2986
|
+
}, rest.value, { class: classes.value }), null, 16, _hoisted_1$3);
|
|
2987
|
+
};
|
|
2988
|
+
}
|
|
2989
|
+
});
|
|
2990
|
+
const RestingTilt = { rotateX: 0, rotateY: 0, glareX: 50, glareY: 50, active: false };
|
|
2991
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2992
|
+
...{ name: "TiltLayout", inheritAttrs: false },
|
|
2993
|
+
__name: "TiltLayout",
|
|
2994
|
+
props: {
|
|
2995
|
+
maxAngle: { default: 12 },
|
|
2996
|
+
perspective: { default: 800 },
|
|
2997
|
+
hasGlare: { type: Boolean, default: void 0 },
|
|
2998
|
+
scale: { default: 1 },
|
|
2999
|
+
as: { default: "div" }
|
|
3000
|
+
},
|
|
3001
|
+
setup(__props, { expose: __expose }) {
|
|
3002
|
+
const props = __props;
|
|
3003
|
+
const attrs = useAttrs();
|
|
3004
|
+
const el = useTemplateRef("el");
|
|
3005
|
+
const reducedMotion = useReducedMotion();
|
|
3006
|
+
const tilt = ref({ ...RestingTilt });
|
|
3007
|
+
function handleMove(e) {
|
|
3008
|
+
if (reducedMotion.value) return;
|
|
3009
|
+
const node = el.value;
|
|
3010
|
+
if (!node) return;
|
|
3011
|
+
const rect = node.getBoundingClientRect();
|
|
3012
|
+
const x = (e.clientX - rect.left) / rect.width;
|
|
3013
|
+
const y = (e.clientY - rect.top) / rect.height;
|
|
3014
|
+
tilt.value = {
|
|
3015
|
+
rotateX: (0.5 - y) * 2 * props.maxAngle,
|
|
3016
|
+
rotateY: (x - 0.5) * 2 * props.maxAngle,
|
|
3017
|
+
glareX: x * 100,
|
|
3018
|
+
glareY: y * 100,
|
|
3019
|
+
active: true
|
|
3020
|
+
};
|
|
3021
|
+
}
|
|
3022
|
+
function handleLeave() {
|
|
3023
|
+
tilt.value = { ...RestingTilt };
|
|
3024
|
+
}
|
|
3025
|
+
const classes = computed(() => cn("relative", attrs.class));
|
|
3026
|
+
const styles = computed(
|
|
3027
|
+
() => normalizeStyle([
|
|
3028
|
+
{
|
|
3029
|
+
perspective: `${props.perspective}px`,
|
|
3030
|
+
transform: tilt.value.active && !reducedMotion.value ? `rotateX(${tilt.value.rotateX}deg) rotateY(${tilt.value.rotateY}deg) scale(${props.scale})` : "rotateX(0) rotateY(0) scale(1)",
|
|
3031
|
+
transition: tilt.value.active ? "transform 80ms ease-out" : "transform 220ms ease-out",
|
|
3032
|
+
transformStyle: "preserve-3d"
|
|
3033
|
+
},
|
|
3034
|
+
attrs.style
|
|
3035
|
+
])
|
|
3036
|
+
);
|
|
3037
|
+
const showGlare = computed(() => Boolean(props.hasGlare) && !reducedMotion.value && tilt.value.active);
|
|
3038
|
+
const glareStyle = computed(() => ({
|
|
3039
|
+
background: `radial-gradient(circle at ${tilt.value.glareX}% ${tilt.value.glareY}%, rgba(255,255,255,0.35) 0%, transparent 50%)`
|
|
3040
|
+
}));
|
|
3041
|
+
const rest = computed(() => {
|
|
3042
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
3043
|
+
return others;
|
|
3044
|
+
});
|
|
3045
|
+
__expose({ el });
|
|
3046
|
+
return (_ctx, _cache) => {
|
|
3047
|
+
return openBlock(), createBlock(resolveDynamicComponent(props.as), mergeProps({
|
|
3048
|
+
ref_key: "el",
|
|
3049
|
+
ref: el
|
|
3050
|
+
}, rest.value, {
|
|
3051
|
+
class: classes.value,
|
|
3052
|
+
style: styles.value,
|
|
3053
|
+
onPointermove: handleMove,
|
|
3054
|
+
onPointerleave: handleLeave
|
|
3055
|
+
}), {
|
|
3056
|
+
default: withCtx(() => [
|
|
3057
|
+
renderSlot(_ctx.$slots, "default"),
|
|
3058
|
+
showGlare.value ? (openBlock(), createElementBlock("span", {
|
|
3059
|
+
key: 0,
|
|
3060
|
+
"aria-hidden": "true",
|
|
3061
|
+
class: "pointer-events-none absolute inset-0 rounded-[inherit] mix-blend-overlay",
|
|
3062
|
+
style: normalizeStyle(glareStyle.value)
|
|
3063
|
+
}, null, 4)) : createCommentVNode("", true)
|
|
3064
|
+
]),
|
|
3065
|
+
_: 3
|
|
3066
|
+
}, 16, ["class", "style"]);
|
|
3067
|
+
};
|
|
3068
|
+
}
|
|
3069
|
+
});
|
|
3070
|
+
const ClickSuppressSlop = 6;
|
|
3071
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3072
|
+
...{ name: "SwipeActionsLayout", inheritAttrs: false },
|
|
3073
|
+
__name: "SwipeActionsLayout",
|
|
3074
|
+
props: {
|
|
3075
|
+
threshold: { default: 60 },
|
|
3076
|
+
actionWidth: { default: 72 },
|
|
3077
|
+
isDisabled: { type: Boolean }
|
|
3078
|
+
},
|
|
3079
|
+
setup(__props, { expose: __expose }) {
|
|
3080
|
+
const props = __props;
|
|
3081
|
+
const attrs = useAttrs();
|
|
3082
|
+
const slots = useSlots();
|
|
3083
|
+
const el = useTemplateRef("el");
|
|
3084
|
+
function countNodes(nodes) {
|
|
3085
|
+
if (!nodes) return 0;
|
|
3086
|
+
let count = 0;
|
|
3087
|
+
for (const node of nodes) {
|
|
3088
|
+
if (node.type === Fragment) {
|
|
3089
|
+
count += countNodes(Array.isArray(node.children) ? node.children : void 0);
|
|
3090
|
+
continue;
|
|
3091
|
+
}
|
|
3092
|
+
if (node.type === Comment) continue;
|
|
3093
|
+
if (node.type === Text && typeof node.children === "string" && !node.children.trim()) {
|
|
3094
|
+
continue;
|
|
3095
|
+
}
|
|
3096
|
+
count += 1;
|
|
3097
|
+
}
|
|
3098
|
+
return count;
|
|
3099
|
+
}
|
|
3100
|
+
const leftMax = computed(() => countNodes(slots.left?.()) * props.actionWidth);
|
|
3101
|
+
const rightMax = computed(() => countNodes(slots.right?.()) * props.actionWidth);
|
|
3102
|
+
const startX = ref(null);
|
|
3103
|
+
const offset = ref(0);
|
|
3104
|
+
const openSide = ref(null);
|
|
3105
|
+
let startOffset = 0;
|
|
3106
|
+
let suppressClick = false;
|
|
3107
|
+
function onPointerDown(e) {
|
|
3108
|
+
if (props.isDisabled) return;
|
|
3109
|
+
startX.value = e.clientX;
|
|
3110
|
+
startOffset = offset.value;
|
|
3111
|
+
suppressClick = false;
|
|
3112
|
+
e.currentTarget.setPointerCapture(e.pointerId);
|
|
3113
|
+
}
|
|
3114
|
+
function onPointerMove(e) {
|
|
3115
|
+
if (props.isDisabled || startX.value == null) return;
|
|
3116
|
+
if (Math.abs(e.clientX - startX.value) > ClickSuppressSlop) {
|
|
3117
|
+
suppressClick = true;
|
|
3118
|
+
}
|
|
3119
|
+
const dx = e.clientX - startX.value + startOffset;
|
|
3120
|
+
offset.value = Math.max(-rightMax.value, Math.min(leftMax.value, dx));
|
|
3121
|
+
}
|
|
3122
|
+
function onPointerUp(e) {
|
|
3123
|
+
if (startX.value == null) return;
|
|
3124
|
+
startX.value = null;
|
|
3125
|
+
e.currentTarget.releasePointerCapture?.(e.pointerId);
|
|
3126
|
+
if (offset.value > props.threshold && leftMax.value > 0) {
|
|
3127
|
+
offset.value = leftMax.value;
|
|
3128
|
+
openSide.value = "left";
|
|
3129
|
+
} else if (offset.value < -props.threshold && rightMax.value > 0) {
|
|
3130
|
+
offset.value = -rightMax.value;
|
|
3131
|
+
openSide.value = "right";
|
|
3132
|
+
} else {
|
|
3133
|
+
offset.value = 0;
|
|
3134
|
+
openSide.value = null;
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
function close() {
|
|
3138
|
+
offset.value = 0;
|
|
3139
|
+
openSide.value = null;
|
|
3140
|
+
}
|
|
3141
|
+
function reveal(side) {
|
|
3142
|
+
if (props.isDisabled) return;
|
|
3143
|
+
offset.value = side === "left" ? leftMax.value : -rightMax.value;
|
|
3144
|
+
openSide.value = side;
|
|
3145
|
+
}
|
|
3146
|
+
function onFocusOut(event) {
|
|
3147
|
+
const next = event.relatedTarget;
|
|
3148
|
+
if (openSide.value && !(next && el.value?.contains(next))) close();
|
|
3149
|
+
}
|
|
3150
|
+
function onKeydown(event) {
|
|
3151
|
+
if (event.key === "Escape" && openSide.value) {
|
|
3152
|
+
event.stopPropagation();
|
|
3153
|
+
close();
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
function onClick() {
|
|
3157
|
+
if (suppressClick) {
|
|
3158
|
+
suppressClick = false;
|
|
3159
|
+
return;
|
|
3160
|
+
}
|
|
3161
|
+
if (openSide.value) close();
|
|
3162
|
+
}
|
|
3163
|
+
const classes = computed(
|
|
3164
|
+
() => cn("relative overflow-hidden bg-card text-card-foreground", attrs.class)
|
|
3165
|
+
);
|
|
3166
|
+
const leftStyle = computed(() => ({ width: `${leftMax.value}px` }));
|
|
3167
|
+
const rightStyle = computed(() => ({ width: `${rightMax.value}px` }));
|
|
3168
|
+
const contentStyle = computed(() => ({
|
|
3169
|
+
transform: `translateX(${offset.value}px)`,
|
|
3170
|
+
transition: startX.value == null ? "transform 200ms ease-out" : "none",
|
|
3171
|
+
touchAction: "pan-y"
|
|
3172
|
+
}));
|
|
3173
|
+
const rest = computed(() => {
|
|
3174
|
+
const { class: _class, ...others } = attrs;
|
|
3175
|
+
return others;
|
|
3176
|
+
});
|
|
3177
|
+
__expose({ el });
|
|
3178
|
+
return (_ctx, _cache) => {
|
|
3179
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
3180
|
+
ref_key: "el",
|
|
3181
|
+
ref: el
|
|
3182
|
+
}, rest.value, {
|
|
3183
|
+
class: classes.value,
|
|
3184
|
+
onFocusout: onFocusOut,
|
|
3185
|
+
onKeydown
|
|
3186
|
+
}), [
|
|
3187
|
+
createElementVNode("div", {
|
|
3188
|
+
class: "relative z-10 bg-card",
|
|
3189
|
+
style: normalizeStyle(contentStyle.value),
|
|
3190
|
+
onPointerdown: onPointerDown,
|
|
3191
|
+
onPointermove: onPointerMove,
|
|
3192
|
+
onPointerup: onPointerUp,
|
|
3193
|
+
onPointercancel: onPointerUp,
|
|
3194
|
+
onClick
|
|
3195
|
+
}, [
|
|
3196
|
+
renderSlot(_ctx.$slots, "default")
|
|
3197
|
+
], 36),
|
|
3198
|
+
_ctx.$slots.left ? (openBlock(), createElementBlock("div", {
|
|
3199
|
+
key: 0,
|
|
3200
|
+
class: "absolute inset-y-0 left-0 flex",
|
|
3201
|
+
style: normalizeStyle(leftStyle.value),
|
|
3202
|
+
onFocusin: _cache[0] || (_cache[0] = ($event) => reveal("left"))
|
|
3203
|
+
}, [
|
|
3204
|
+
renderSlot(_ctx.$slots, "left")
|
|
3205
|
+
], 36)) : createCommentVNode("", true),
|
|
3206
|
+
_ctx.$slots.right ? (openBlock(), createElementBlock("div", {
|
|
3207
|
+
key: 1,
|
|
3208
|
+
class: "absolute inset-y-0 right-0 flex",
|
|
3209
|
+
style: normalizeStyle(rightStyle.value),
|
|
3210
|
+
onFocusin: _cache[1] || (_cache[1] = ($event) => reveal("right"))
|
|
3211
|
+
}, [
|
|
3212
|
+
renderSlot(_ctx.$slots, "right")
|
|
3213
|
+
], 36)) : createCommentVNode("", true)
|
|
3214
|
+
], 16);
|
|
3215
|
+
};
|
|
3216
|
+
}
|
|
3217
|
+
});
|
|
3218
|
+
const _hoisted_1$2 = ["data-side", "data-stuck"];
|
|
3219
|
+
const StickyLayoutSide = {
|
|
3220
|
+
/** Refers to pinning at the top of the scroll area — headers, toolbars. */
|
|
3221
|
+
Top: "top",
|
|
3222
|
+
/** Refers to pinning at the bottom — action bars, totals. */
|
|
3223
|
+
Bottom: "bottom"
|
|
3224
|
+
};
|
|
3225
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3226
|
+
...{ name: "StickyLayout", inheritAttrs: false },
|
|
3227
|
+
__name: "StickyLayout",
|
|
3228
|
+
props: {
|
|
3229
|
+
side: { default: StickyLayoutSide.Top },
|
|
3230
|
+
offset: { default: 0 },
|
|
3231
|
+
root: { default: null }
|
|
3232
|
+
},
|
|
3233
|
+
emits: ["stuck-change"],
|
|
3234
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3235
|
+
const props = __props;
|
|
3236
|
+
const emit = __emit;
|
|
3237
|
+
const attrs = useAttrs();
|
|
3238
|
+
const region = useTemplateRef("region");
|
|
3239
|
+
const sentinel = useTemplateRef("sentinel");
|
|
3240
|
+
const isStuck = shallowRef(false);
|
|
3241
|
+
const offsetPx = computed(() => Number.isFinite(props.offset) ? Math.max(0, props.offset) : 0);
|
|
3242
|
+
const positionStyle = computed(() => ({ [props.side]: `${offsetPx.value}px` }));
|
|
3243
|
+
const observerOptions = computed(() => ({
|
|
3244
|
+
root: props.root ?? null,
|
|
3245
|
+
rootMargin: props.side === StickyLayoutSide.Top ? `-${offsetPx.value + 1}px 0px 0px 0px` : `0px 0px -${offsetPx.value + 1}px 0px`,
|
|
3246
|
+
threshold: [0, 1]
|
|
3247
|
+
}));
|
|
3248
|
+
const rest = computed(() => {
|
|
3249
|
+
const { class: _class, ...others } = attrs;
|
|
3250
|
+
return others;
|
|
3251
|
+
});
|
|
3252
|
+
const regionClass = computed(() => cn("sticky z-sticky", attrs.class));
|
|
3253
|
+
watch(isStuck, (next) => emit("stuck-change", next));
|
|
3254
|
+
useIntersectionObserver(() => [sentinel.value], handleIntersection, observerOptions);
|
|
3255
|
+
function handleIntersection(entry) {
|
|
3256
|
+
const bounds = entry.rootBounds;
|
|
3257
|
+
if (entry.isIntersecting || !bounds) {
|
|
3258
|
+
isStuck.value = false;
|
|
3259
|
+
return;
|
|
3260
|
+
}
|
|
3261
|
+
isStuck.value = props.side === StickyLayoutSide.Top ? entry.boundingClientRect.bottom <= bounds.top : entry.boundingClientRect.top >= bounds.bottom;
|
|
3262
|
+
}
|
|
3263
|
+
__expose({ el: region });
|
|
3264
|
+
return (_ctx, _cache) => {
|
|
3265
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
3266
|
+
__props.side === StickyLayoutSide.Top ? (openBlock(), createElementBlock("div", {
|
|
3267
|
+
key: 0,
|
|
3268
|
+
ref_key: "sentinel",
|
|
3269
|
+
ref: sentinel,
|
|
3270
|
+
"aria-hidden": "true",
|
|
3271
|
+
class: "pointer-events-none invisible -mb-px h-px w-full"
|
|
3272
|
+
}, null, 512)) : createCommentVNode("", true),
|
|
3273
|
+
createElementVNode("div", mergeProps({
|
|
3274
|
+
ref_key: "region",
|
|
3275
|
+
ref: region
|
|
3276
|
+
}, rest.value, {
|
|
3277
|
+
class: regionClass.value,
|
|
3278
|
+
style: positionStyle.value,
|
|
3279
|
+
"data-side": __props.side,
|
|
3280
|
+
"data-stuck": isStuck.value ? "" : void 0
|
|
3281
|
+
}), [
|
|
3282
|
+
renderSlot(_ctx.$slots, "default", { isStuck: isStuck.value })
|
|
3283
|
+
], 16, _hoisted_1$2),
|
|
3284
|
+
__props.side === StickyLayoutSide.Bottom ? (openBlock(), createElementBlock("div", {
|
|
3285
|
+
key: 1,
|
|
3286
|
+
ref_key: "sentinel",
|
|
3287
|
+
ref: sentinel,
|
|
3288
|
+
"aria-hidden": "true",
|
|
3289
|
+
class: "pointer-events-none invisible -mt-px h-px w-full"
|
|
3290
|
+
}, null, 512)) : createCommentVNode("", true)
|
|
3291
|
+
], 64);
|
|
3292
|
+
};
|
|
3293
|
+
}
|
|
3294
|
+
});
|
|
3295
|
+
const _hoisted_1$1 = ["data-orientation"];
|
|
3296
|
+
const _hoisted_2 = ["data-index"];
|
|
3297
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3298
|
+
...{ name: "VirtualScrollArea", inheritAttrs: false },
|
|
3299
|
+
__name: "VirtualScrollArea",
|
|
3300
|
+
props: {
|
|
3301
|
+
items: {},
|
|
3302
|
+
itemSize: {},
|
|
3303
|
+
hasVariableSize: { type: Boolean, default: false },
|
|
3304
|
+
overscan: { default: void 0 },
|
|
3305
|
+
isHorizontal: { type: Boolean, default: false },
|
|
3306
|
+
getKey: { type: Function, default: void 0 },
|
|
3307
|
+
endThreshold: { default: 5 }
|
|
3308
|
+
},
|
|
3309
|
+
emits: ["end-reached"],
|
|
3310
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3311
|
+
const props = __props;
|
|
3312
|
+
const emit = __emit;
|
|
3313
|
+
const attrs = useAttrs();
|
|
3314
|
+
const viewport = useTemplateRef("viewport");
|
|
3315
|
+
const list = useVirtualList({
|
|
3316
|
+
count: () => props.items.length,
|
|
3317
|
+
estimateSize: (index) => typeof props.itemSize === "function" ? props.itemSize(index) : props.itemSize,
|
|
3318
|
+
target: viewport,
|
|
3319
|
+
overscan: () => props.overscan,
|
|
3320
|
+
horizontal: () => props.isHorizontal,
|
|
3321
|
+
getItemKey: (index) => props.getKey ? props.getKey(props.items[index], index) : index
|
|
3322
|
+
});
|
|
3323
|
+
let reportedLength = null;
|
|
3324
|
+
let observer = null;
|
|
3325
|
+
const observedRows = /* @__PURE__ */ new Map();
|
|
3326
|
+
const virtualItems = list.virtualItems;
|
|
3327
|
+
const spacerStyle = computed(
|
|
3328
|
+
() => props.isHorizontal ? { width: `${list.totalSize.value}px`, height: "100%" } : { height: `${list.totalSize.value}px`, width: "100%" }
|
|
3329
|
+
);
|
|
3330
|
+
const rest = computed(() => {
|
|
3331
|
+
const { class: _class, ...others } = attrs;
|
|
3332
|
+
return others;
|
|
3333
|
+
});
|
|
3334
|
+
const viewportClass = computed(() => cn("relative overflow-auto", attrs.class));
|
|
3335
|
+
watch(
|
|
3336
|
+
() => [list.range.value.endIndex, props.items.length],
|
|
3337
|
+
([endIndex, length]) => {
|
|
3338
|
+
if (length === 0 || endIndex < 0) return;
|
|
3339
|
+
const threshold = Math.max(0, Math.round(Number.isFinite(props.endThreshold) ? props.endThreshold : 0));
|
|
3340
|
+
if (endIndex < length - 1 - threshold || reportedLength === length) return;
|
|
3341
|
+
reportedLength = length;
|
|
3342
|
+
emit("end-reached");
|
|
3343
|
+
},
|
|
3344
|
+
{ flush: "post" }
|
|
3345
|
+
);
|
|
3346
|
+
onMounted(() => {
|
|
3347
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
3348
|
+
observer = new ResizeObserver((entries) => {
|
|
3349
|
+
for (const entry of entries) {
|
|
3350
|
+
const index = observedRows.get(entry.target);
|
|
3351
|
+
if (index === void 0) continue;
|
|
3352
|
+
const box = entry.borderBoxSize?.[0];
|
|
3353
|
+
const size = props.isHorizontal ? box?.inlineSize ?? entry.contentRect.width : box?.blockSize ?? entry.contentRect.height;
|
|
3354
|
+
if (size > 0) list.measureItem(index, size);
|
|
3355
|
+
}
|
|
3356
|
+
});
|
|
3357
|
+
for (const row of observedRows.keys()) observer.observe(row);
|
|
3358
|
+
});
|
|
3359
|
+
onBeforeUnmount(() => {
|
|
3360
|
+
observer?.disconnect();
|
|
3361
|
+
observer = null;
|
|
3362
|
+
observedRows.clear();
|
|
3363
|
+
});
|
|
3364
|
+
function rowStyle(item) {
|
|
3365
|
+
const offset = props.isHorizontal ? `translateX(${item.start}px)` : `translateY(${item.start}px)`;
|
|
3366
|
+
const size = props.hasVariableSize ? void 0 : `${item.size}px`;
|
|
3367
|
+
return props.isHorizontal ? { position: "absolute", top: 0, left: 0, height: "100%", width: size, transform: offset } : { position: "absolute", top: 0, left: 0, width: "100%", height: size, transform: offset };
|
|
3368
|
+
}
|
|
3369
|
+
function bindRow(node, index) {
|
|
3370
|
+
if (!props.hasVariableSize) return;
|
|
3371
|
+
const row = node;
|
|
3372
|
+
if (!row) return;
|
|
3373
|
+
const previous = observedRows.get(row);
|
|
3374
|
+
observedRows.set(row, index);
|
|
3375
|
+
if (previous === void 0) observer?.observe(row);
|
|
3376
|
+
}
|
|
3377
|
+
watch(
|
|
3378
|
+
virtualItems,
|
|
3379
|
+
() => {
|
|
3380
|
+
for (const row of [...observedRows.keys()]) {
|
|
3381
|
+
if (row.isConnected) continue;
|
|
3382
|
+
observer?.unobserve(row);
|
|
3383
|
+
observedRows.delete(row);
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
{ flush: "post" }
|
|
3387
|
+
);
|
|
3388
|
+
__expose({ el: viewport, scrollToIndex: list.scrollToIndex });
|
|
3389
|
+
return (_ctx, _cache) => {
|
|
3390
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
3391
|
+
ref_key: "viewport",
|
|
3392
|
+
ref: viewport
|
|
3393
|
+
}, rest.value, {
|
|
3394
|
+
class: viewportClass.value,
|
|
3395
|
+
"data-orientation": __props.isHorizontal ? "horizontal" : "vertical"
|
|
3396
|
+
}), [
|
|
3397
|
+
__props.items.length === 0 ? renderSlot(_ctx.$slots, "empty", {}, void 0, void 0, 0) : (openBlock(), createElementBlock("div", {
|
|
3398
|
+
key: 1,
|
|
3399
|
+
class: "relative",
|
|
3400
|
+
style: normalizeStyle(spacerStyle.value)
|
|
3401
|
+
}, [
|
|
3402
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualItems), (virtual) => {
|
|
3403
|
+
return openBlock(), createElementBlock("div", {
|
|
3404
|
+
key: virtual.key,
|
|
3405
|
+
ref_for: true,
|
|
3406
|
+
ref: (node) => bindRow(node, virtual.index),
|
|
3407
|
+
"data-index": virtual.index,
|
|
3408
|
+
style: normalizeStyle(rowStyle(virtual))
|
|
3409
|
+
}, [
|
|
3410
|
+
renderSlot(_ctx.$slots, "default", {
|
|
3411
|
+
item: __props.items[virtual.index],
|
|
3412
|
+
index: virtual.index
|
|
3413
|
+
})
|
|
3414
|
+
], 12, _hoisted_2);
|
|
3415
|
+
}), 128))
|
|
3416
|
+
], 4))
|
|
3417
|
+
], 16, _hoisted_1$1);
|
|
3418
|
+
};
|
|
3419
|
+
}
|
|
3420
|
+
});
|
|
3421
|
+
const _hoisted_1 = ["data-columns"];
|
|
3422
|
+
const DefaultColumns = 3;
|
|
3423
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3424
|
+
...{ name: "MasonryLayout", inheritAttrs: false },
|
|
3425
|
+
__name: "MasonryLayout",
|
|
3426
|
+
props: {
|
|
3427
|
+
columns: { default: DefaultColumns },
|
|
3428
|
+
minColumnWidth: { default: void 0 },
|
|
3429
|
+
gap: { default: "1rem" }
|
|
3430
|
+
},
|
|
3431
|
+
setup(__props) {
|
|
3432
|
+
const props = __props;
|
|
3433
|
+
const attrs = useAttrs();
|
|
3434
|
+
const columnCount = computed(
|
|
3435
|
+
() => Math.max(1, Math.round(Number.isFinite(props.columns) ? props.columns : DefaultColumns))
|
|
3436
|
+
);
|
|
3437
|
+
const layoutStyle = computed(() => ({
|
|
3438
|
+
columns: props.minColumnWidth ? `${props.minColumnWidth} ${columnCount.value}` : String(columnCount.value),
|
|
3439
|
+
columnGap: props.gap,
|
|
3440
|
+
"--masonry-gap": props.gap
|
|
3441
|
+
}));
|
|
3442
|
+
const rest = computed(() => {
|
|
3443
|
+
const { class: _class, ...others } = attrs;
|
|
3444
|
+
return others;
|
|
3445
|
+
});
|
|
3446
|
+
const classes = computed(() => cn("*:mb-(--masonry-gap) *:break-inside-avoid *:last:mb-0", attrs.class));
|
|
3447
|
+
return (_ctx, _cache) => {
|
|
3448
|
+
return openBlock(), createElementBlock("div", mergeProps(rest.value, {
|
|
3449
|
+
class: classes.value,
|
|
3450
|
+
style: layoutStyle.value,
|
|
3451
|
+
"data-columns": columnCount.value
|
|
3452
|
+
}), [
|
|
3453
|
+
renderSlot(_ctx.$slots, "default")
|
|
3454
|
+
], 16, _hoisted_1);
|
|
3455
|
+
};
|
|
3456
|
+
}
|
|
3457
|
+
});
|
|
3458
|
+
export {
|
|
3459
|
+
StickyLayoutSide as $,
|
|
3460
|
+
AnchorLayoutAppearOn as A,
|
|
3461
|
+
Breakpoint as B,
|
|
3462
|
+
CanvasBounds as C,
|
|
3463
|
+
_sfc_main$7 as D,
|
|
3464
|
+
_sfc_main$6 as E,
|
|
3465
|
+
FrameLayoutSurface as F,
|
|
3466
|
+
GridBreakpoint as G,
|
|
3467
|
+
_sfc_main$o as H,
|
|
3468
|
+
_sfc_main as I,
|
|
3469
|
+
_sfc_main$8 as J,
|
|
3470
|
+
NavbarHeight as K,
|
|
3471
|
+
NavbarOrientation as L,
|
|
3472
|
+
NavbarVariant as M,
|
|
3473
|
+
NavbarElement as N,
|
|
3474
|
+
_sfc_main$c as O,
|
|
3475
|
+
_sfc_main$k as P,
|
|
3476
|
+
_sfc_main$m as Q,
|
|
3477
|
+
_sfc_main$n as R,
|
|
3478
|
+
_sfc_main$l as S,
|
|
3479
|
+
_sfc_main$t as T,
|
|
3480
|
+
ScrollAxis as U,
|
|
3481
|
+
_sfc_main$9 as V,
|
|
3482
|
+
SectionPaddingY as W,
|
|
3483
|
+
_sfc_main$5 as X,
|
|
3484
|
+
_sfc_main$w as Y,
|
|
3485
|
+
_sfc_main$2 as Z,
|
|
3486
|
+
_sfc_main$b as _,
|
|
3487
|
+
AnchorLayoutTransition as a,
|
|
3488
|
+
_sfc_main$a as a0,
|
|
3489
|
+
_sfc_main$3 as a1,
|
|
3490
|
+
_sfc_main$4 as a2,
|
|
3491
|
+
_sfc_main$p as a3,
|
|
3492
|
+
_sfc_main$B as a4,
|
|
3493
|
+
_sfc_main$1 as a5,
|
|
3494
|
+
containerVariants as a6,
|
|
3495
|
+
dividerVariants as a7,
|
|
3496
|
+
gridVariants as a8,
|
|
3497
|
+
navbarVariants as a9,
|
|
3498
|
+
resolveGridColumns as aa,
|
|
3499
|
+
resolveGridGap as ab,
|
|
3500
|
+
sectionVariants as ac,
|
|
3501
|
+
useAppShell as ad,
|
|
3502
|
+
useResizableContext as ae,
|
|
3503
|
+
AnchorLayoutVisibilityMode as b,
|
|
3504
|
+
_sfc_main$j as c,
|
|
3505
|
+
_sfc_main$e as d,
|
|
3506
|
+
_sfc_main$f as e,
|
|
3507
|
+
AppShellContentGutter as f,
|
|
3508
|
+
_sfc_main$d as g,
|
|
3509
|
+
_sfc_main$i as h,
|
|
3510
|
+
AppShellHeaderHeight as i,
|
|
3511
|
+
_sfc_main$g as j,
|
|
3512
|
+
AppShellNavigation as k,
|
|
3513
|
+
AppShellScroll as l,
|
|
3514
|
+
_sfc_main$h as m,
|
|
3515
|
+
_sfc_main$x as n,
|
|
3516
|
+
_sfc_main$D as o,
|
|
3517
|
+
_sfc_main$s as p,
|
|
3518
|
+
CanvasWheel as q,
|
|
3519
|
+
_sfc_main$v as r,
|
|
3520
|
+
_sfc_main$r as s,
|
|
3521
|
+
_sfc_main$z as t,
|
|
3522
|
+
ContainerLayoutSize as u,
|
|
3523
|
+
_sfc_main$u as v,
|
|
3524
|
+
_sfc_main$y as w,
|
|
3525
|
+
_sfc_main$q as x,
|
|
3526
|
+
_sfc_main$A as y,
|
|
3527
|
+
_sfc_main$C as z
|
|
3528
|
+
};
|
|
3529
|
+
//# sourceMappingURL=MasonryLayout.vue_vue_type_script_setup_true_lang-DYy0asRz.js.map
|