@wow-two-beta/fe 0.0.0-stage → 0.0.18
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 +507 -3
|
@@ -0,0 +1,2957 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, useTemplateRef, computed, openBlock, createElementBlock, mergeProps, unref, createElementVNode, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode, normalizeClass, inject, provide, onScopeDispose, createBlock, withCtx, shallowRef, watch, useSlots, nextTick, onMounted, toValue, normalizeProps, guardReactiveProps, normalizeStyle, withDirectives, vShow } from "vue";
|
|
2
|
+
import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
|
|
3
|
+
import { U as UrlExtensions } from "./UrlExtensions-DqgLm0KY.js";
|
|
4
|
+
import { ChevronRight, ChevronsLeft, ChevronLeft, ChevronsRight, Minus, Check, ChevronDown } from "lucide-vue-next";
|
|
5
|
+
import { c as cn } from "./Cn-C7De6POU.js";
|
|
6
|
+
import { _ as _sfc_main$C } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
|
|
7
|
+
import { d as dataAttr } from "./DataAttr-7BR67dTj.js";
|
|
8
|
+
import { u as useId } from "./UseId-CtgAhGrn.js";
|
|
9
|
+
import { u as useControlled } from "./UseControlled-BQneb7BW.js";
|
|
10
|
+
import { r as resolveElement } from "./ResolveElement-CyRfM82x.js";
|
|
11
|
+
import { P as Primitive } from "./Primitive-D-9ShOm7.js";
|
|
12
|
+
import { u as useReducedMotion } from "./UseReducedMotion-NZ5fg-Xb.js";
|
|
13
|
+
import { P as Presence } from "./Presence-DDk0ZtAr.js";
|
|
14
|
+
import { D as DomOrderExtensions } from "./DomOrderExtensions-Czsyvn6e.js";
|
|
15
|
+
import { _ as _sfc_main$H, b as useRovingFocusItem } from "./RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js";
|
|
16
|
+
import { tv } from "tailwind-variants";
|
|
17
|
+
import { s as surfaceVariants } from "./SurfaceStyles-B8KNkFsm.js";
|
|
18
|
+
import { u as useTypeahead } from "./UseTypeahead-C-y7nBo2.js";
|
|
19
|
+
import { _ as _sfc_main$D } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
|
|
20
|
+
import { _ as _sfc_main$E } from "./AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
|
|
21
|
+
import { _ as _sfc_main$F } from "./FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js";
|
|
22
|
+
import { _ as _sfc_main$G } from "./DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js";
|
|
23
|
+
import { A as AriaAttribute } from "./AriaAttribute-CmUjjXjp.js";
|
|
24
|
+
import { H as HtmlElement } from "./HtmlValues-jlKY5f9C.js";
|
|
25
|
+
import { S as Slottable } from "./Slot-BGJ_Mr_j.js";
|
|
26
|
+
const _hoisted_1$j = ["aria-label"];
|
|
27
|
+
const _hoisted_2$b = { class: "flex flex-wrap items-center gap-1.5" };
|
|
28
|
+
const _hoisted_3$5 = ["href"];
|
|
29
|
+
const _hoisted_4$3 = ["aria-current"];
|
|
30
|
+
const _hoisted_5$1 = {
|
|
31
|
+
key: 0,
|
|
32
|
+
"aria-hidden": "true",
|
|
33
|
+
class: "text-subtle-foreground"
|
|
34
|
+
};
|
|
35
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
36
|
+
...{ name: "Breadcrumb", inheritAttrs: false },
|
|
37
|
+
__name: "Breadcrumb",
|
|
38
|
+
props: {
|
|
39
|
+
items: {}
|
|
40
|
+
},
|
|
41
|
+
setup(__props, { expose: __expose }) {
|
|
42
|
+
const locale = useLocale();
|
|
43
|
+
const props = __props;
|
|
44
|
+
const attrs = useAttrs();
|
|
45
|
+
const el = useTemplateRef("el");
|
|
46
|
+
const classes = computed(() => cn("text-sm", attrs.class));
|
|
47
|
+
const rest = computed(() => {
|
|
48
|
+
const { class: _class, ...others } = attrs;
|
|
49
|
+
return others;
|
|
50
|
+
});
|
|
51
|
+
const lastIndex = computed(() => props.items.length - 1);
|
|
52
|
+
__expose({ el });
|
|
53
|
+
return (_ctx, _cache) => {
|
|
54
|
+
return openBlock(), createElementBlock("nav", mergeProps({
|
|
55
|
+
ref_key: "el",
|
|
56
|
+
ref: el,
|
|
57
|
+
"aria-label": unref(locale).t("Breadcrumb.breadcrumb", void 0, "Breadcrumb")
|
|
58
|
+
}, rest.value, { class: classes.value }), [
|
|
59
|
+
createElementVNode("ol", _hoisted_2$b, [
|
|
60
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props.items, (item, i) => {
|
|
61
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
62
|
+
key: item.href ?? item.label
|
|
63
|
+
}, [
|
|
64
|
+
createElementVNode("li", null, [
|
|
65
|
+
item.href && i !== lastIndex.value ? (openBlock(), createElementBlock("a", {
|
|
66
|
+
key: 0,
|
|
67
|
+
href: unref(UrlExtensions).safeNavigation(item.href),
|
|
68
|
+
class: "text-muted-foreground hover:text-foreground hover:underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring rounded-sm"
|
|
69
|
+
}, [
|
|
70
|
+
renderSlot(_ctx.$slots, "label", {
|
|
71
|
+
item,
|
|
72
|
+
index: i
|
|
73
|
+
}, () => [
|
|
74
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
75
|
+
])
|
|
76
|
+
], 8, _hoisted_3$5)) : (openBlock(), createElementBlock("span", {
|
|
77
|
+
key: 1,
|
|
78
|
+
"aria-current": i === lastIndex.value ? "page" : void 0,
|
|
79
|
+
class: "text-foreground"
|
|
80
|
+
}, [
|
|
81
|
+
renderSlot(_ctx.$slots, "label", {
|
|
82
|
+
item,
|
|
83
|
+
index: i
|
|
84
|
+
}, () => [
|
|
85
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
86
|
+
])
|
|
87
|
+
], 8, _hoisted_4$3))
|
|
88
|
+
]),
|
|
89
|
+
i !== lastIndex.value ? (openBlock(), createElementBlock("li", _hoisted_5$1, [
|
|
90
|
+
renderSlot(_ctx.$slots, "separator", {}, () => [
|
|
91
|
+
createVNode(unref(_sfc_main$C), {
|
|
92
|
+
icon: unref(ChevronRight),
|
|
93
|
+
size: 14
|
|
94
|
+
}, null, 8, ["icon"])
|
|
95
|
+
])
|
|
96
|
+
])) : createCommentVNode("", true)
|
|
97
|
+
], 64);
|
|
98
|
+
}), 128))
|
|
99
|
+
])
|
|
100
|
+
], 16, _hoisted_1$j);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
const _hoisted_1$i = ["aria-label"];
|
|
105
|
+
const _hoisted_2$a = ["aria-label", "disabled"];
|
|
106
|
+
const _hoisted_3$4 = ["aria-label", "disabled"];
|
|
107
|
+
const _hoisted_4$2 = ["aria-current", "onClick"];
|
|
108
|
+
const _hoisted_5 = ["aria-label", "disabled"];
|
|
109
|
+
const _hoisted_6 = ["aria-label", "disabled"];
|
|
110
|
+
function range(start, end) {
|
|
111
|
+
return Array.from({ length: Math.max(0, end - start + 1) }, (_, i) => start + i);
|
|
112
|
+
}
|
|
113
|
+
function buildPages(total, page, siblings) {
|
|
114
|
+
if (total <= 1) return [1];
|
|
115
|
+
const left = Math.max(2, page - siblings);
|
|
116
|
+
const right = Math.min(total - 1, page + siblings);
|
|
117
|
+
const pages = [1];
|
|
118
|
+
if (left > 2) pages.push("ellipsis");
|
|
119
|
+
pages.push(...range(left, right));
|
|
120
|
+
if (right < total - 1) pages.push("ellipsis");
|
|
121
|
+
if (total > 1) pages.push(total);
|
|
122
|
+
return pages;
|
|
123
|
+
}
|
|
124
|
+
const BaseButton = "inline-flex h-8 min-w-8 items-center justify-center rounded-md border border-transparent px-2 text-sm transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50";
|
|
125
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
126
|
+
...{ name: "Pagination", inheritAttrs: false },
|
|
127
|
+
__name: "Pagination",
|
|
128
|
+
props: {
|
|
129
|
+
total: {},
|
|
130
|
+
page: {},
|
|
131
|
+
siblings: { default: 1 },
|
|
132
|
+
showFirstLast: { type: Boolean, default: void 0 },
|
|
133
|
+
hideFirstLast: { type: Boolean, default: void 0 }
|
|
134
|
+
},
|
|
135
|
+
emits: ["update:page"],
|
|
136
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
137
|
+
const locale = useLocale();
|
|
138
|
+
const props = __props;
|
|
139
|
+
const hasFirstLast = computed(() => props.showFirstLast ?? !(props.hideFirstLast ?? false));
|
|
140
|
+
const emit = __emit;
|
|
141
|
+
const attrs = useAttrs();
|
|
142
|
+
const el = useTemplateRef("el");
|
|
143
|
+
const total = computed(() => Number.isSafeInteger(props.total) && props.total > 0 ? props.total : 1);
|
|
144
|
+
const page = computed(
|
|
145
|
+
() => Number.isFinite(props.page) ? Math.max(1, Math.min(total.value, Math.trunc(props.page))) : 1
|
|
146
|
+
);
|
|
147
|
+
const siblings = computed(
|
|
148
|
+
() => Number.isFinite(props.siblings) ? Math.max(0, Math.min(50, Math.trunc(props.siblings))) : 1
|
|
149
|
+
);
|
|
150
|
+
const pages = computed(() => buildPages(total.value, page.value, siblings.value));
|
|
151
|
+
function go(target) {
|
|
152
|
+
const next = Math.min(total.value, Math.max(1, target));
|
|
153
|
+
if (next === page.value) return;
|
|
154
|
+
emit("update:page", next);
|
|
155
|
+
}
|
|
156
|
+
const classes = computed(() => cn("inline-flex items-center gap-1", attrs.class));
|
|
157
|
+
const rest = computed(() => {
|
|
158
|
+
const { class: _class, ...others } = attrs;
|
|
159
|
+
return others;
|
|
160
|
+
});
|
|
161
|
+
__expose({ el });
|
|
162
|
+
return (_ctx, _cache) => {
|
|
163
|
+
return openBlock(), createElementBlock("nav", mergeProps({
|
|
164
|
+
ref_key: "el",
|
|
165
|
+
ref: el,
|
|
166
|
+
"aria-label": unref(locale).t("Pagination.pagination", void 0, "Pagination")
|
|
167
|
+
}, rest.value, { class: classes.value }), [
|
|
168
|
+
hasFirstLast.value ? (openBlock(), createElementBlock("button", {
|
|
169
|
+
key: 0,
|
|
170
|
+
type: "button",
|
|
171
|
+
"aria-label": unref(locale).t("Pagination.firstPage", void 0, "First page"),
|
|
172
|
+
disabled: page.value <= 1,
|
|
173
|
+
class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
|
|
174
|
+
onClick: _cache[0] || (_cache[0] = ($event) => go(1))
|
|
175
|
+
}, [
|
|
176
|
+
createVNode(unref(_sfc_main$C), {
|
|
177
|
+
icon: unref(ChevronsLeft),
|
|
178
|
+
size: 16
|
|
179
|
+
}, null, 8, ["icon"])
|
|
180
|
+
], 10, _hoisted_2$a)) : createCommentVNode("", true),
|
|
181
|
+
createElementVNode("button", {
|
|
182
|
+
type: "button",
|
|
183
|
+
"aria-label": unref(locale).t("Pagination.previousPage", void 0, "Previous page"),
|
|
184
|
+
disabled: page.value <= 1,
|
|
185
|
+
class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
|
|
186
|
+
onClick: _cache[1] || (_cache[1] = ($event) => go(page.value - 1))
|
|
187
|
+
}, [
|
|
188
|
+
createVNode(unref(_sfc_main$C), {
|
|
189
|
+
icon: unref(ChevronLeft),
|
|
190
|
+
size: 16
|
|
191
|
+
}, null, 8, ["icon"])
|
|
192
|
+
], 10, _hoisted_3$4),
|
|
193
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (p, i) => {
|
|
194
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
195
|
+
p === "ellipsis" ? (openBlock(), createElementBlock("span", {
|
|
196
|
+
key: `e-${i}`,
|
|
197
|
+
class: "px-1 text-muted-foreground"
|
|
198
|
+
}, "…")) : (openBlock(), createElementBlock("button", {
|
|
199
|
+
key: p,
|
|
200
|
+
type: "button",
|
|
201
|
+
"aria-current": p === page.value ? "page" : void 0,
|
|
202
|
+
class: normalizeClass(unref(cn)(BaseButton, p === page.value ? "border-primary bg-primary text-primary-foreground" : "hover:bg-muted")),
|
|
203
|
+
onClick: ($event) => go(p)
|
|
204
|
+
}, toDisplayString(p), 11, _hoisted_4$2))
|
|
205
|
+
], 64);
|
|
206
|
+
}), 256)),
|
|
207
|
+
createElementVNode("button", {
|
|
208
|
+
type: "button",
|
|
209
|
+
"aria-label": unref(locale).t("Pagination.nextPage", void 0, "Next page"),
|
|
210
|
+
disabled: page.value >= total.value,
|
|
211
|
+
class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
|
|
212
|
+
onClick: _cache[2] || (_cache[2] = ($event) => go(page.value + 1))
|
|
213
|
+
}, [
|
|
214
|
+
createVNode(unref(_sfc_main$C), {
|
|
215
|
+
icon: unref(ChevronRight),
|
|
216
|
+
size: 16
|
|
217
|
+
}, null, 8, ["icon"])
|
|
218
|
+
], 10, _hoisted_5),
|
|
219
|
+
hasFirstLast.value ? (openBlock(), createElementBlock("button", {
|
|
220
|
+
key: 1,
|
|
221
|
+
type: "button",
|
|
222
|
+
"aria-label": unref(locale).t("Pagination.lastPage", void 0, "Last page"),
|
|
223
|
+
disabled: page.value >= total.value,
|
|
224
|
+
class: normalizeClass(unref(cn)(BaseButton, "hover:bg-muted")),
|
|
225
|
+
onClick: _cache[3] || (_cache[3] = ($event) => go(total.value))
|
|
226
|
+
}, [
|
|
227
|
+
createVNode(unref(_sfc_main$C), {
|
|
228
|
+
icon: unref(ChevronsRight),
|
|
229
|
+
size: 16
|
|
230
|
+
}, null, 8, ["icon"])
|
|
231
|
+
], 10, _hoisted_6)) : createCommentVNode("", true)
|
|
232
|
+
], 16, _hoisted_1$i);
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
const MenuKey = Symbol("wow-two.menu");
|
|
237
|
+
function useMenuContext() {
|
|
238
|
+
const context = inject(MenuKey, null);
|
|
239
|
+
if (!context) {
|
|
240
|
+
throw new Error("Menu rows, groups, labels and separators must be used inside <Menu>");
|
|
241
|
+
}
|
|
242
|
+
return context;
|
|
243
|
+
}
|
|
244
|
+
const MenuTreeKey = Symbol("wow-two.menuTree");
|
|
245
|
+
const MenuSubOpenReason = {
|
|
246
|
+
/** Refers to an open from Enter, Space or the inline-end arrow key. */
|
|
247
|
+
Keyboard: "keyboard",
|
|
248
|
+
/** Refers to an open from hover or a click. */
|
|
249
|
+
Pointer: "pointer"
|
|
250
|
+
};
|
|
251
|
+
const MenuSubKey = Symbol("wow-two.menuSub");
|
|
252
|
+
function useMenuSubContext() {
|
|
253
|
+
const context = inject(MenuSubKey, null);
|
|
254
|
+
if (!context) throw new Error("MenuSubTrigger / MenuSubContent must be used inside <MenuSub>");
|
|
255
|
+
return context;
|
|
256
|
+
}
|
|
257
|
+
const MenuRadioGroupKey = Symbol("wow-two.menuRadioGroup");
|
|
258
|
+
function useMenuRadioGroupContext() {
|
|
259
|
+
const context = inject(MenuRadioGroupKey, null);
|
|
260
|
+
if (!context) throw new Error("MenuRadioItem must be used inside <MenuRadioGroup>");
|
|
261
|
+
return context;
|
|
262
|
+
}
|
|
263
|
+
const MenuExtensions = {
|
|
264
|
+
/** @internal The pointer type that moves the row highlight; touch and pen only activate. */
|
|
265
|
+
MousePointerType: "mouse",
|
|
266
|
+
/** Whether a pointer event came from a mouse, the one pointer whose movement moves the highlight. */
|
|
267
|
+
isMousePointer(event) {
|
|
268
|
+
return event.pointerType === MenuExtensions.MousePointerType;
|
|
269
|
+
},
|
|
270
|
+
/** Focuses a row unless it already holds focus, without scrolling the page. */
|
|
271
|
+
focusRow(row) {
|
|
272
|
+
if (!row || row.ownerDocument.activeElement === row) return;
|
|
273
|
+
row.focus({ preventScroll: true });
|
|
274
|
+
},
|
|
275
|
+
/** Whether a node lays out right to left, read from its computed `direction`. */
|
|
276
|
+
isRightToLeft(node) {
|
|
277
|
+
return node?.ownerDocument.defaultView?.getComputedStyle(node).direction === "rtl";
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
const menuVariants = tv({
|
|
281
|
+
/* Layout only: fill, border, radius, padding and shadow come from the surface recipe, so the `variant`, `tone`,
|
|
282
|
+
`radius`, `padding` and `elevation` props reach the panel. */
|
|
283
|
+
base: "flex min-w-[8rem] flex-col gap-0.5 text-sm outline-hidden"
|
|
284
|
+
});
|
|
285
|
+
const menuItemVariants = tv({
|
|
286
|
+
base: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-hidden transition-colors focus:bg-muted focus:text-foreground hover:bg-muted hover:text-foreground",
|
|
287
|
+
variants: {
|
|
288
|
+
state: {
|
|
289
|
+
default: "text-popover-foreground",
|
|
290
|
+
destructive: "text-destructive-soft-foreground focus:bg-destructive-soft hover:bg-destructive-soft",
|
|
291
|
+
disabled: "pointer-events-none opacity-50"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
defaultVariants: { state: "default" }
|
|
295
|
+
});
|
|
296
|
+
const menuLabelVariants = tv({
|
|
297
|
+
base: "px-2 py-1.5 text-xs font-semibold text-muted-foreground"
|
|
298
|
+
});
|
|
299
|
+
const menuSeparatorVariants = tv({
|
|
300
|
+
base: "-mx-1 my-1 h-px bg-border"
|
|
301
|
+
});
|
|
302
|
+
const menuItemIndicatorVariants = tv({
|
|
303
|
+
base: "inline-flex size-4 shrink-0 items-center justify-center"
|
|
304
|
+
});
|
|
305
|
+
const menuSubIndicatorVariants = tv({
|
|
306
|
+
base: "ms-auto size-4 shrink-0 text-muted-foreground rtl:-scale-x-100"
|
|
307
|
+
});
|
|
308
|
+
const MenuItemState = {
|
|
309
|
+
/** Refers to the default, neutral item. */
|
|
310
|
+
Default: "default",
|
|
311
|
+
/** Refers to a destructive item (e.g. delete). */
|
|
312
|
+
Destructive: "destructive",
|
|
313
|
+
/** Refers to a non-interactive, dimmed item. */
|
|
314
|
+
Disabled: "disabled"
|
|
315
|
+
};
|
|
316
|
+
const SubmenuCloseDelayMs = 250;
|
|
317
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
318
|
+
...{ name: "Menu", inheritAttrs: false },
|
|
319
|
+
__name: "Menu",
|
|
320
|
+
props: {
|
|
321
|
+
open: { type: Boolean, default: void 0 },
|
|
322
|
+
anchor: {},
|
|
323
|
+
placement: { default: "bottom-start" },
|
|
324
|
+
offset: { default: 6 },
|
|
325
|
+
variant: { default: void 0 },
|
|
326
|
+
tone: { default: void 0 },
|
|
327
|
+
radius: { default: void 0 },
|
|
328
|
+
padding: { default: void 0 },
|
|
329
|
+
elevation: { default: void 0 },
|
|
330
|
+
returnFocus: {}
|
|
331
|
+
},
|
|
332
|
+
emits: ["update:open", "keydown"],
|
|
333
|
+
setup(__props, { emit: __emit }) {
|
|
334
|
+
const props = __props;
|
|
335
|
+
const emit = __emit;
|
|
336
|
+
const attrs = useAttrs();
|
|
337
|
+
const layer = useTemplateRef("layer");
|
|
338
|
+
const parentTree = inject(MenuTreeKey, null);
|
|
339
|
+
const sub = inject(MenuSubKey, null);
|
|
340
|
+
const isSubmenu = parentTree !== null && sub !== null;
|
|
341
|
+
const isMenuOpen = computed(() => props.open ?? false);
|
|
342
|
+
const items = [];
|
|
343
|
+
const surfaces = /* @__PURE__ */ new Set();
|
|
344
|
+
let openSubmenu = null;
|
|
345
|
+
let submenuCloseTimer = null;
|
|
346
|
+
const tree = isSubmenu && parentTree ? parentTree : {
|
|
347
|
+
closeTree: () => emit("update:open", false),
|
|
348
|
+
contains: (node) => node !== null && (props.anchor?.contains(node) === true || [...surfaces].some((resolve) => resolve()?.contains(node))),
|
|
349
|
+
registerSurface: (resolve) => {
|
|
350
|
+
surfaces.add(resolve);
|
|
351
|
+
return () => surfaces.delete(resolve);
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
if (!isSubmenu) provide(MenuTreeKey, tree);
|
|
355
|
+
provide(MenuSubKey, null);
|
|
356
|
+
const unregisterSurface = tree.registerSurface(surface);
|
|
357
|
+
function registerItem(entry) {
|
|
358
|
+
const index = items.findIndex((i) => i.id === entry.id);
|
|
359
|
+
if (index >= 0) items[index] = entry;
|
|
360
|
+
else items.push(entry);
|
|
361
|
+
}
|
|
362
|
+
function unregisterItem(id) {
|
|
363
|
+
const index = items.findIndex((i) => i.id === id);
|
|
364
|
+
if (index >= 0) items.splice(index, 1);
|
|
365
|
+
}
|
|
366
|
+
function surface() {
|
|
367
|
+
return layer.value?.el ?? null;
|
|
368
|
+
}
|
|
369
|
+
function closeSubmenuUnlessOwner(focused) {
|
|
370
|
+
if (openSubmenu && openSubmenu.trigger() !== focused) openSubmenu.close();
|
|
371
|
+
}
|
|
372
|
+
function focusItem(item) {
|
|
373
|
+
if (!item?.el) return;
|
|
374
|
+
item.el.focus();
|
|
375
|
+
closeSubmenuUnlessOwner(item.el);
|
|
376
|
+
}
|
|
377
|
+
function moveFocus(fromId, target) {
|
|
378
|
+
const list = DomOrderExtensions.inDocumentOrder(
|
|
379
|
+
items.filter((i) => !i.disabled),
|
|
380
|
+
(item) => item.el
|
|
381
|
+
);
|
|
382
|
+
if (list.length === 0) return;
|
|
383
|
+
if (target === "first" || target === "last") {
|
|
384
|
+
focusItem(list[target === "first" ? 0 : list.length - 1]);
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
const index = list.findIndex((i) => i.id === fromId);
|
|
388
|
+
let nextIndex = index + target;
|
|
389
|
+
if (index === -1) nextIndex = target === 1 ? 0 : list.length - 1;
|
|
390
|
+
if (nextIndex < 0) nextIndex = list.length - 1;
|
|
391
|
+
if (nextIndex >= list.length) nextIndex = 0;
|
|
392
|
+
focusItem(list[nextIndex]);
|
|
393
|
+
}
|
|
394
|
+
function navigate(fromId, event) {
|
|
395
|
+
switch (event.key) {
|
|
396
|
+
case "ArrowDown":
|
|
397
|
+
moveFocus(fromId, 1);
|
|
398
|
+
break;
|
|
399
|
+
case "ArrowUp":
|
|
400
|
+
moveFocus(fromId, -1);
|
|
401
|
+
break;
|
|
402
|
+
case "Home":
|
|
403
|
+
moveFocus(fromId, "first");
|
|
404
|
+
break;
|
|
405
|
+
case "End":
|
|
406
|
+
moveFocus(fromId, "last");
|
|
407
|
+
break;
|
|
408
|
+
default:
|
|
409
|
+
return false;
|
|
410
|
+
}
|
|
411
|
+
event.preventDefault();
|
|
412
|
+
return true;
|
|
413
|
+
}
|
|
414
|
+
function focusSurface() {
|
|
415
|
+
const node = surface();
|
|
416
|
+
const active = node?.ownerDocument.activeElement ?? null;
|
|
417
|
+
if (node && active && active !== node && node.contains(active)) node.focus({ preventScroll: true });
|
|
418
|
+
}
|
|
419
|
+
function clearSubmenuTimer() {
|
|
420
|
+
if (submenuCloseTimer === null) return;
|
|
421
|
+
clearTimeout(submenuCloseTimer);
|
|
422
|
+
submenuCloseTimer = null;
|
|
423
|
+
}
|
|
424
|
+
function hoverItem(ownerSubmenuId) {
|
|
425
|
+
if (!openSubmenu) return;
|
|
426
|
+
if (openSubmenu.id === ownerSubmenuId) {
|
|
427
|
+
clearSubmenuTimer();
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
if (submenuCloseTimer !== null) return;
|
|
431
|
+
const pending = openSubmenu;
|
|
432
|
+
submenuCloseTimer = setTimeout(() => {
|
|
433
|
+
submenuCloseTimer = null;
|
|
434
|
+
if (openSubmenu === pending) pending.close();
|
|
435
|
+
}, SubmenuCloseDelayMs);
|
|
436
|
+
}
|
|
437
|
+
function trackSubmenu(entry) {
|
|
438
|
+
clearSubmenuTimer();
|
|
439
|
+
const previous = openSubmenu;
|
|
440
|
+
openSubmenu = entry;
|
|
441
|
+
if (previous && previous.id !== entry.id) previous.close();
|
|
442
|
+
}
|
|
443
|
+
function untrackSubmenu(id) {
|
|
444
|
+
if (openSubmenu?.id !== id) return;
|
|
445
|
+
clearSubmenuTimer();
|
|
446
|
+
openSubmenu = null;
|
|
447
|
+
}
|
|
448
|
+
provide(MenuKey, {
|
|
449
|
+
registerItem,
|
|
450
|
+
unregisterItem,
|
|
451
|
+
items,
|
|
452
|
+
close: () => tree.closeTree(),
|
|
453
|
+
moveFocus,
|
|
454
|
+
navigate,
|
|
455
|
+
focusSurface,
|
|
456
|
+
hoverItem,
|
|
457
|
+
trackSubmenu,
|
|
458
|
+
untrackSubmenu,
|
|
459
|
+
holdSubmenu: clearSubmenuTimer
|
|
460
|
+
});
|
|
461
|
+
onScopeDispose(() => {
|
|
462
|
+
clearSubmenuTimer();
|
|
463
|
+
unregisterSurface();
|
|
464
|
+
});
|
|
465
|
+
const classes = computed(
|
|
466
|
+
() => cn(
|
|
467
|
+
surfaceVariants({
|
|
468
|
+
variant: props.variant ?? "raised",
|
|
469
|
+
tone: props.tone,
|
|
470
|
+
radius: props.radius ?? "md",
|
|
471
|
+
padding: props.padding ?? "xs",
|
|
472
|
+
elevation: props.elevation
|
|
473
|
+
}),
|
|
474
|
+
menuVariants(),
|
|
475
|
+
"motion-safe:data-[state=open]:animate-(--animate-pop-in)",
|
|
476
|
+
"motion-safe:data-[state=closed]:animate-(--animate-pop-out)",
|
|
477
|
+
"motion-reduce:animate-none",
|
|
478
|
+
attrs.class
|
|
479
|
+
)
|
|
480
|
+
);
|
|
481
|
+
const rest = computed(() => {
|
|
482
|
+
const { class: _class, ...others } = attrs;
|
|
483
|
+
return others;
|
|
484
|
+
});
|
|
485
|
+
function handleEscape() {
|
|
486
|
+
emit("update:open", false);
|
|
487
|
+
}
|
|
488
|
+
function handleOutsidePointerDown(event) {
|
|
489
|
+
const target = event.target;
|
|
490
|
+
if (props.anchor?.contains(target)) return;
|
|
491
|
+
if (isSubmenu && !tree.contains(target)) {
|
|
492
|
+
tree.closeTree();
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
emit("update:open", false);
|
|
496
|
+
}
|
|
497
|
+
function handleMountAutoFocus(event) {
|
|
498
|
+
if (isSubmenu && sub?.openReason.current === MenuSubOpenReason.Pointer) event.preventDefault();
|
|
499
|
+
}
|
|
500
|
+
const orderedItems = () => DomOrderExtensions.inDocumentOrder(items, (item) => item.el);
|
|
501
|
+
const typeahead = useTypeahead({
|
|
502
|
+
items: orderedItems,
|
|
503
|
+
enabled: isMenuOpen,
|
|
504
|
+
getLabel: (item) => item.el?.textContent?.trim() ?? "",
|
|
505
|
+
isDisabled: (item) => item.disabled || !item.el?.isConnected,
|
|
506
|
+
getActiveIndex: () => orderedItems().findIndex((item) => item.el === item.el?.ownerDocument.activeElement),
|
|
507
|
+
onMatch: (item) => focusItem(item)
|
|
508
|
+
});
|
|
509
|
+
function handleKeydown(event) {
|
|
510
|
+
emit("keydown", event);
|
|
511
|
+
if (event.defaultPrevented || event.isComposing) return;
|
|
512
|
+
const target = event.target;
|
|
513
|
+
if (!target.closest('input,textarea,[contenteditable="true"]') && typeahead.onKeyDown(event)) {
|
|
514
|
+
event.preventDefault();
|
|
515
|
+
return;
|
|
516
|
+
}
|
|
517
|
+
if (event.key === "Tab") {
|
|
518
|
+
event.preventDefault();
|
|
519
|
+
tree.closeTree();
|
|
520
|
+
return;
|
|
521
|
+
}
|
|
522
|
+
if (isSubmenu && event.key === (MenuExtensions.isRightToLeft(surface()) ? "ArrowRight" : "ArrowLeft")) {
|
|
523
|
+
event.preventDefault();
|
|
524
|
+
emit("update:open", false);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
return (_ctx, _cache) => {
|
|
528
|
+
return openBlock(), createBlock(unref(_sfc_main$D), null, {
|
|
529
|
+
default: withCtx(() => [
|
|
530
|
+
createVNode(unref(_sfc_main$E), {
|
|
531
|
+
anchor: props.anchor,
|
|
532
|
+
placement: props.placement,
|
|
533
|
+
offset: props.offset,
|
|
534
|
+
class: "z-dropdown"
|
|
535
|
+
}, {
|
|
536
|
+
default: withCtx(() => [
|
|
537
|
+
createVNode(unref(Presence), { "is-present": isMenuOpen.value }, {
|
|
538
|
+
default: withCtx(() => [
|
|
539
|
+
createVNode(unref(_sfc_main$F), {
|
|
540
|
+
"as-child": "",
|
|
541
|
+
"is-trapped": !unref(isSubmenu),
|
|
542
|
+
"can-loop": "",
|
|
543
|
+
"return-focus": props.returnFocus,
|
|
544
|
+
"on-mount-auto-focus": handleMountAutoFocus
|
|
545
|
+
}, {
|
|
546
|
+
default: withCtx(() => [
|
|
547
|
+
createVNode(unref(_sfc_main$G), mergeProps({
|
|
548
|
+
ref_key: "layer",
|
|
549
|
+
ref: layer,
|
|
550
|
+
role: "menu",
|
|
551
|
+
"on-escape": handleEscape,
|
|
552
|
+
"on-outside-pointer-down": handleOutsidePointerDown
|
|
553
|
+
}, rest.value, {
|
|
554
|
+
class: classes.value,
|
|
555
|
+
onKeydown: handleKeydown
|
|
556
|
+
}), {
|
|
557
|
+
default: withCtx(() => [
|
|
558
|
+
renderSlot(_ctx.$slots, "default")
|
|
559
|
+
]),
|
|
560
|
+
_: 3
|
|
561
|
+
}, 16, ["class"])
|
|
562
|
+
]),
|
|
563
|
+
_: 3
|
|
564
|
+
}, 8, ["is-trapped", "return-focus"])
|
|
565
|
+
]),
|
|
566
|
+
_: 3
|
|
567
|
+
}, 8, ["is-present"])
|
|
568
|
+
]),
|
|
569
|
+
_: 3
|
|
570
|
+
}, 8, ["anchor", "placement", "offset"])
|
|
571
|
+
]),
|
|
572
|
+
_: 3
|
|
573
|
+
});
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
const _hoisted_1$h = ["disabled", "aria-disabled", "data-disabled"];
|
|
578
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
579
|
+
...{ name: "MenuItem", inheritAttrs: false },
|
|
580
|
+
__name: "MenuItem",
|
|
581
|
+
props: {
|
|
582
|
+
state: { default: void 0 },
|
|
583
|
+
isDisabled: { type: Boolean, default: void 0 },
|
|
584
|
+
canCloseOnSelect: { type: Boolean, default: void 0 },
|
|
585
|
+
closeOnSelect: { type: Boolean, default: void 0 }
|
|
586
|
+
},
|
|
587
|
+
emits: ["select"],
|
|
588
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
589
|
+
const props = __props;
|
|
590
|
+
const emit = __emit;
|
|
591
|
+
const attrs = useAttrs();
|
|
592
|
+
const menu = useMenuContext();
|
|
593
|
+
const id = useId();
|
|
594
|
+
const el = shallowRef(null);
|
|
595
|
+
const itemState = computed(
|
|
596
|
+
() => props.state ?? (props.isDisabled ? MenuItemState.Disabled : MenuItemState.Default)
|
|
597
|
+
);
|
|
598
|
+
const classes = computed(() => cn(menuItemVariants({ state: itemState.value }), attrs.class));
|
|
599
|
+
const rest = computed(() => {
|
|
600
|
+
const { class: _class, ...others } = attrs;
|
|
601
|
+
return others;
|
|
602
|
+
});
|
|
603
|
+
watch(
|
|
604
|
+
[el, () => props.isDisabled],
|
|
605
|
+
([node, isDisabled]) => {
|
|
606
|
+
menu.registerItem({ id, el: node, disabled: isDisabled === true });
|
|
607
|
+
},
|
|
608
|
+
{ immediate: true, flush: "post" }
|
|
609
|
+
);
|
|
610
|
+
onScopeDispose(() => menu.unregisterItem(id));
|
|
611
|
+
function activate() {
|
|
612
|
+
emit("select");
|
|
613
|
+
if (props.canCloseOnSelect ?? props.closeOnSelect ?? true) menu.close();
|
|
614
|
+
}
|
|
615
|
+
function handleKeydown(event) {
|
|
616
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
617
|
+
if (menu.navigate(id, event)) return;
|
|
618
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
619
|
+
event.preventDefault();
|
|
620
|
+
activate();
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
function handleClick(event) {
|
|
624
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
625
|
+
activate();
|
|
626
|
+
}
|
|
627
|
+
function handlePointerMove(event) {
|
|
628
|
+
if (!MenuExtensions.isMousePointer(event)) return;
|
|
629
|
+
menu.hoverItem(null);
|
|
630
|
+
if (props.isDisabled) menu.focusSurface();
|
|
631
|
+
else MenuExtensions.focusRow(el.value);
|
|
632
|
+
}
|
|
633
|
+
function handlePointerLeave(event) {
|
|
634
|
+
if (MenuExtensions.isMousePointer(event)) menu.focusSurface();
|
|
635
|
+
}
|
|
636
|
+
__expose({ el });
|
|
637
|
+
return (_ctx, _cache) => {
|
|
638
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
639
|
+
ref_key: "el",
|
|
640
|
+
ref: el,
|
|
641
|
+
type: "button",
|
|
642
|
+
role: "menuitem",
|
|
643
|
+
disabled: __props.isDisabled,
|
|
644
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
645
|
+
"data-disabled": unref(dataAttr)(__props.isDisabled)
|
|
646
|
+
}, rest.value, {
|
|
647
|
+
class: classes.value,
|
|
648
|
+
onClick: handleClick,
|
|
649
|
+
onKeydown: handleKeydown,
|
|
650
|
+
onPointermove: handlePointerMove,
|
|
651
|
+
onPointerleave: handlePointerLeave
|
|
652
|
+
}), [
|
|
653
|
+
renderSlot(_ctx.$slots, "default")
|
|
654
|
+
], 16, _hoisted_1$h);
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
});
|
|
658
|
+
const _hoisted_1$g = ["aria-checked", "disabled", "aria-disabled", "data-disabled", "data-state"];
|
|
659
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
660
|
+
...{ name: "MenuCheckboxItem", inheritAttrs: false },
|
|
661
|
+
__name: "MenuCheckboxItem",
|
|
662
|
+
props: {
|
|
663
|
+
modelValue: { type: Boolean, default: void 0 },
|
|
664
|
+
defaultValue: { type: Boolean, default: false },
|
|
665
|
+
isIndeterminate: { type: Boolean, default: false },
|
|
666
|
+
state: { default: void 0 },
|
|
667
|
+
isDisabled: { type: Boolean, default: void 0 },
|
|
668
|
+
canCloseOnSelect: { type: Boolean, default: void 0 },
|
|
669
|
+
closeOnSelect: { type: Boolean, default: void 0 }
|
|
670
|
+
},
|
|
671
|
+
emits: ["update:modelValue", "select"],
|
|
672
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
673
|
+
const props = __props;
|
|
674
|
+
const emit = __emit;
|
|
675
|
+
const attrs = useAttrs();
|
|
676
|
+
const menu = useMenuContext();
|
|
677
|
+
const id = useId();
|
|
678
|
+
const el = shallowRef(null);
|
|
679
|
+
const controlled = useControlled({
|
|
680
|
+
controlled: () => props.modelValue,
|
|
681
|
+
default: () => props.defaultValue,
|
|
682
|
+
onChange: (next) => {
|
|
683
|
+
emit("update:modelValue", next);
|
|
684
|
+
}
|
|
685
|
+
});
|
|
686
|
+
const isChecked = controlled.value;
|
|
687
|
+
const ariaChecked = computed(() => props.isIndeterminate ? "mixed" : isChecked.value);
|
|
688
|
+
const itemState = computed(
|
|
689
|
+
() => props.state ?? (props.isDisabled ? MenuItemState.Disabled : MenuItemState.Default)
|
|
690
|
+
);
|
|
691
|
+
const classes = computed(() => cn(menuItemVariants({ state: itemState.value }), attrs.class));
|
|
692
|
+
const rest = computed(() => {
|
|
693
|
+
const { class: _class, ...others } = attrs;
|
|
694
|
+
return others;
|
|
695
|
+
});
|
|
696
|
+
watch(
|
|
697
|
+
[el, () => props.isDisabled],
|
|
698
|
+
([node, isDisabled]) => {
|
|
699
|
+
menu.registerItem({ id, el: node, disabled: isDisabled === true });
|
|
700
|
+
},
|
|
701
|
+
{ immediate: true, flush: "post" }
|
|
702
|
+
);
|
|
703
|
+
onScopeDispose(() => menu.unregisterItem(id));
|
|
704
|
+
function toggle() {
|
|
705
|
+
controlled.setValue(props.isIndeterminate ? true : !isChecked.value);
|
|
706
|
+
emit("select");
|
|
707
|
+
if (props.canCloseOnSelect ?? props.closeOnSelect ?? true) menu.close();
|
|
708
|
+
}
|
|
709
|
+
function handleKeydown(event) {
|
|
710
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
711
|
+
if (menu.navigate(id, event)) return;
|
|
712
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
713
|
+
event.preventDefault();
|
|
714
|
+
toggle();
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
function handleClick(event) {
|
|
718
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
719
|
+
toggle();
|
|
720
|
+
}
|
|
721
|
+
function handlePointerMove(event) {
|
|
722
|
+
if (!MenuExtensions.isMousePointer(event)) return;
|
|
723
|
+
menu.hoverItem(null);
|
|
724
|
+
if (props.isDisabled) menu.focusSurface();
|
|
725
|
+
else MenuExtensions.focusRow(el.value);
|
|
726
|
+
}
|
|
727
|
+
function handlePointerLeave(event) {
|
|
728
|
+
if (MenuExtensions.isMousePointer(event)) menu.focusSurface();
|
|
729
|
+
}
|
|
730
|
+
__expose({ el });
|
|
731
|
+
return (_ctx, _cache) => {
|
|
732
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
733
|
+
ref_key: "el",
|
|
734
|
+
ref: el,
|
|
735
|
+
type: "button",
|
|
736
|
+
role: "menuitemcheckbox",
|
|
737
|
+
"aria-checked": ariaChecked.value,
|
|
738
|
+
disabled: __props.isDisabled,
|
|
739
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
740
|
+
"data-disabled": unref(dataAttr)(__props.isDisabled),
|
|
741
|
+
"data-state": __props.isIndeterminate ? "indeterminate" : unref(isChecked) ? "checked" : "unchecked"
|
|
742
|
+
}, rest.value, {
|
|
743
|
+
class: classes.value,
|
|
744
|
+
onClick: handleClick,
|
|
745
|
+
onKeydown: handleKeydown,
|
|
746
|
+
onPointermove: handlePointerMove,
|
|
747
|
+
onPointerleave: handlePointerLeave
|
|
748
|
+
}), [
|
|
749
|
+
createElementVNode("span", {
|
|
750
|
+
class: normalizeClass(unref(menuItemIndicatorVariants)()),
|
|
751
|
+
"aria-hidden": "true"
|
|
752
|
+
}, [
|
|
753
|
+
renderSlot(_ctx.$slots, "indicator", {
|
|
754
|
+
checked: unref(isChecked),
|
|
755
|
+
isIndeterminate: __props.isIndeterminate
|
|
756
|
+
}, () => [
|
|
757
|
+
__props.isIndeterminate ? (openBlock(), createBlock(unref(_sfc_main$C), {
|
|
758
|
+
key: 0,
|
|
759
|
+
icon: unref(Minus),
|
|
760
|
+
size: 14
|
|
761
|
+
}, null, 8, ["icon"])) : unref(isChecked) ? (openBlock(), createBlock(unref(_sfc_main$C), {
|
|
762
|
+
key: 1,
|
|
763
|
+
icon: unref(Check),
|
|
764
|
+
size: 14
|
|
765
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
766
|
+
])
|
|
767
|
+
], 2),
|
|
768
|
+
renderSlot(_ctx.$slots, "default")
|
|
769
|
+
], 16, _hoisted_1$g);
|
|
770
|
+
};
|
|
771
|
+
}
|
|
772
|
+
});
|
|
773
|
+
const _hoisted_1$f = ["aria-labelledby"];
|
|
774
|
+
const _hoisted_2$9 = ["id"];
|
|
775
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
776
|
+
...{ name: "MenuRadioGroup", inheritAttrs: false },
|
|
777
|
+
__name: "MenuRadioGroup",
|
|
778
|
+
props: {
|
|
779
|
+
modelValue: { default: void 0 },
|
|
780
|
+
defaultValue: { default: null },
|
|
781
|
+
label: { default: void 0 },
|
|
782
|
+
isDisabled: { type: Boolean, default: false }
|
|
783
|
+
},
|
|
784
|
+
emits: ["update:modelValue"],
|
|
785
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
786
|
+
const props = __props;
|
|
787
|
+
const emit = __emit;
|
|
788
|
+
const attrs = useAttrs();
|
|
789
|
+
const slots = useSlots();
|
|
790
|
+
const el = useTemplateRef("el");
|
|
791
|
+
const labelId = useId();
|
|
792
|
+
const controlled = useControlled({
|
|
793
|
+
controlled: () => props.modelValue,
|
|
794
|
+
default: () => props.defaultValue,
|
|
795
|
+
onChange: (next) => {
|
|
796
|
+
emit("update:modelValue", next);
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
const hasLabel = computed(() => props.label !== void 0 && props.label !== "" || Boolean(slots.label));
|
|
800
|
+
provide(MenuRadioGroupKey, {
|
|
801
|
+
value: controlled.value,
|
|
802
|
+
select: (value) => controlled.setValue(value),
|
|
803
|
+
isDisabled: computed(() => props.isDisabled)
|
|
804
|
+
});
|
|
805
|
+
__expose({ el });
|
|
806
|
+
return (_ctx, _cache) => {
|
|
807
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
808
|
+
ref_key: "el",
|
|
809
|
+
ref: el,
|
|
810
|
+
role: "group",
|
|
811
|
+
"aria-labelledby": hasLabel.value ? unref(labelId) : void 0
|
|
812
|
+
}, unref(attrs)), [
|
|
813
|
+
hasLabel.value ? (openBlock(), createElementBlock("div", {
|
|
814
|
+
key: 0,
|
|
815
|
+
id: unref(labelId),
|
|
816
|
+
class: normalizeClass(unref(menuLabelVariants)())
|
|
817
|
+
}, [
|
|
818
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
819
|
+
createTextVNode(toDisplayString(props.label), 1)
|
|
820
|
+
])
|
|
821
|
+
], 10, _hoisted_2$9)) : createCommentVNode("", true),
|
|
822
|
+
renderSlot(_ctx.$slots, "default")
|
|
823
|
+
], 16, _hoisted_1$f);
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
});
|
|
827
|
+
const _hoisted_1$e = ["aria-checked", "disabled", "aria-disabled", "data-disabled", "data-state"];
|
|
828
|
+
const _hoisted_2$8 = {
|
|
829
|
+
key: 0,
|
|
830
|
+
class: "size-2 rounded-full bg-current"
|
|
831
|
+
};
|
|
832
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
833
|
+
...{ name: "MenuRadioItem", inheritAttrs: false },
|
|
834
|
+
__name: "MenuRadioItem",
|
|
835
|
+
props: {
|
|
836
|
+
value: {},
|
|
837
|
+
state: { default: void 0 },
|
|
838
|
+
isDisabled: { type: Boolean, default: void 0 },
|
|
839
|
+
canCloseOnSelect: { type: Boolean, default: void 0 },
|
|
840
|
+
closeOnSelect: { type: Boolean, default: void 0 }
|
|
841
|
+
},
|
|
842
|
+
emits: ["select"],
|
|
843
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
844
|
+
const props = __props;
|
|
845
|
+
const emit = __emit;
|
|
846
|
+
const attrs = useAttrs();
|
|
847
|
+
const menu = useMenuContext();
|
|
848
|
+
const group = useMenuRadioGroupContext();
|
|
849
|
+
const id = useId();
|
|
850
|
+
const el = shallowRef(null);
|
|
851
|
+
const disabled = computed(() => props.isDisabled ?? group.isDisabled.value);
|
|
852
|
+
const isChecked = computed(() => group.value.value === props.value);
|
|
853
|
+
const itemState = computed(
|
|
854
|
+
() => props.state ?? (disabled.value ? MenuItemState.Disabled : MenuItemState.Default)
|
|
855
|
+
);
|
|
856
|
+
const classes = computed(() => cn(menuItemVariants({ state: itemState.value }), attrs.class));
|
|
857
|
+
const rest = computed(() => {
|
|
858
|
+
const { class: _class, ...others } = attrs;
|
|
859
|
+
return others;
|
|
860
|
+
});
|
|
861
|
+
watch(
|
|
862
|
+
[el, disabled],
|
|
863
|
+
([node, isDisabled]) => {
|
|
864
|
+
menu.registerItem({ id, el: node, disabled: isDisabled });
|
|
865
|
+
},
|
|
866
|
+
{ immediate: true, flush: "post" }
|
|
867
|
+
);
|
|
868
|
+
onScopeDispose(() => menu.unregisterItem(id));
|
|
869
|
+
function choose() {
|
|
870
|
+
group.select(props.value);
|
|
871
|
+
emit("select");
|
|
872
|
+
if (props.canCloseOnSelect ?? props.closeOnSelect ?? true) menu.close();
|
|
873
|
+
}
|
|
874
|
+
function handleKeydown(event) {
|
|
875
|
+
if (event.defaultPrevented || disabled.value) return;
|
|
876
|
+
if (menu.navigate(id, event)) return;
|
|
877
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
878
|
+
event.preventDefault();
|
|
879
|
+
choose();
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
function handleClick(event) {
|
|
883
|
+
if (event.defaultPrevented || disabled.value) return;
|
|
884
|
+
choose();
|
|
885
|
+
}
|
|
886
|
+
function handlePointerMove(event) {
|
|
887
|
+
if (!MenuExtensions.isMousePointer(event)) return;
|
|
888
|
+
menu.hoverItem(null);
|
|
889
|
+
if (disabled.value) menu.focusSurface();
|
|
890
|
+
else MenuExtensions.focusRow(el.value);
|
|
891
|
+
}
|
|
892
|
+
function handlePointerLeave(event) {
|
|
893
|
+
if (MenuExtensions.isMousePointer(event)) menu.focusSurface();
|
|
894
|
+
}
|
|
895
|
+
__expose({ el });
|
|
896
|
+
return (_ctx, _cache) => {
|
|
897
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
898
|
+
ref_key: "el",
|
|
899
|
+
ref: el,
|
|
900
|
+
type: "button",
|
|
901
|
+
role: "menuitemradio",
|
|
902
|
+
"aria-checked": isChecked.value,
|
|
903
|
+
disabled: disabled.value,
|
|
904
|
+
"aria-disabled": disabled.value || void 0,
|
|
905
|
+
"data-disabled": unref(dataAttr)(disabled.value),
|
|
906
|
+
"data-state": isChecked.value ? "checked" : "unchecked"
|
|
907
|
+
}, rest.value, {
|
|
908
|
+
class: classes.value,
|
|
909
|
+
onClick: handleClick,
|
|
910
|
+
onKeydown: handleKeydown,
|
|
911
|
+
onPointermove: handlePointerMove,
|
|
912
|
+
onPointerleave: handlePointerLeave
|
|
913
|
+
}), [
|
|
914
|
+
createElementVNode("span", {
|
|
915
|
+
class: normalizeClass(unref(menuItemIndicatorVariants)()),
|
|
916
|
+
"aria-hidden": "true"
|
|
917
|
+
}, [
|
|
918
|
+
renderSlot(_ctx.$slots, "indicator", { checked: isChecked.value }, () => [
|
|
919
|
+
isChecked.value ? (openBlock(), createElementBlock("span", _hoisted_2$8)) : createCommentVNode("", true)
|
|
920
|
+
])
|
|
921
|
+
], 2),
|
|
922
|
+
renderSlot(_ctx.$slots, "default")
|
|
923
|
+
], 16, _hoisted_1$e);
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
});
|
|
927
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
928
|
+
...{ name: "MenuSub", inheritAttrs: false },
|
|
929
|
+
__name: "MenuSub",
|
|
930
|
+
props: {
|
|
931
|
+
open: { type: Boolean, default: void 0 },
|
|
932
|
+
defaultOpen: { type: Boolean, default: false }
|
|
933
|
+
},
|
|
934
|
+
emits: ["update:open"],
|
|
935
|
+
setup(__props, { emit: __emit }) {
|
|
936
|
+
const props = __props;
|
|
937
|
+
const emit = __emit;
|
|
938
|
+
const menu = useMenuContext();
|
|
939
|
+
const id = useId();
|
|
940
|
+
const triggerId = useId();
|
|
941
|
+
const contentId = useId();
|
|
942
|
+
const triggerEl = shallowRef(null);
|
|
943
|
+
const openReason = { current: MenuSubOpenReason.Keyboard };
|
|
944
|
+
const controlled = useControlled({
|
|
945
|
+
controlled: () => props.open,
|
|
946
|
+
default: () => props.defaultOpen,
|
|
947
|
+
onChange: (value) => {
|
|
948
|
+
emit("update:open", value);
|
|
949
|
+
}
|
|
950
|
+
});
|
|
951
|
+
watch(
|
|
952
|
+
controlled.value,
|
|
953
|
+
(open) => {
|
|
954
|
+
if (open) menu.trackSubmenu({ id, trigger: () => triggerEl.value, close: () => setOpen(false) });
|
|
955
|
+
else menu.untrackSubmenu(id);
|
|
956
|
+
},
|
|
957
|
+
{ immediate: true }
|
|
958
|
+
);
|
|
959
|
+
onScopeDispose(() => menu.untrackSubmenu(id));
|
|
960
|
+
function setOpen(open, reason = MenuSubOpenReason.Keyboard) {
|
|
961
|
+
if (open) openReason.current = reason;
|
|
962
|
+
controlled.setValue(open);
|
|
963
|
+
}
|
|
964
|
+
provide(MenuSubKey, {
|
|
965
|
+
id,
|
|
966
|
+
open: controlled.value,
|
|
967
|
+
setOpen,
|
|
968
|
+
openReason,
|
|
969
|
+
triggerEl,
|
|
970
|
+
triggerId,
|
|
971
|
+
contentId
|
|
972
|
+
});
|
|
973
|
+
return (_ctx, _cache) => {
|
|
974
|
+
return renderSlot(_ctx.$slots, "default");
|
|
975
|
+
};
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
const _hoisted_1$d = ["aria-expanded", "aria-controls", "disabled", "aria-disabled", "data-disabled", "data-state", "id"];
|
|
979
|
+
const OpenDelayMs = 100;
|
|
980
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
981
|
+
...{ name: "MenuSubTrigger", inheritAttrs: false },
|
|
982
|
+
__name: "MenuSubTrigger",
|
|
983
|
+
props: {
|
|
984
|
+
state: { default: void 0 },
|
|
985
|
+
isDisabled: { type: Boolean, default: void 0 }
|
|
986
|
+
},
|
|
987
|
+
setup(__props, { expose: __expose }) {
|
|
988
|
+
const props = __props;
|
|
989
|
+
const attrs = useAttrs();
|
|
990
|
+
const menu = useMenuContext();
|
|
991
|
+
const sub = useMenuSubContext();
|
|
992
|
+
const el = shallowRef(null);
|
|
993
|
+
const isOpen = sub.open;
|
|
994
|
+
let openTimer = null;
|
|
995
|
+
const itemState = computed(
|
|
996
|
+
() => props.state ?? (props.isDisabled ? MenuItemState.Disabled : MenuItemState.Default)
|
|
997
|
+
);
|
|
998
|
+
const classes = computed(
|
|
999
|
+
() => cn(menuItemVariants({ state: itemState.value }), "data-[state=open]:bg-muted", attrs.class)
|
|
1000
|
+
);
|
|
1001
|
+
const rest = computed(() => {
|
|
1002
|
+
const { class: _class, ...others } = attrs;
|
|
1003
|
+
return others;
|
|
1004
|
+
});
|
|
1005
|
+
watch(
|
|
1006
|
+
[el, () => props.isDisabled],
|
|
1007
|
+
([node, isDisabled]) => {
|
|
1008
|
+
sub.triggerEl.value = node;
|
|
1009
|
+
menu.registerItem({ id: sub.triggerId, el: node, disabled: isDisabled === true });
|
|
1010
|
+
},
|
|
1011
|
+
{ immediate: true, flush: "post" }
|
|
1012
|
+
);
|
|
1013
|
+
watch(
|
|
1014
|
+
() => props.isDisabled,
|
|
1015
|
+
(isDisabled) => {
|
|
1016
|
+
if (isDisabled && sub.open.value) sub.setOpen(false);
|
|
1017
|
+
}
|
|
1018
|
+
);
|
|
1019
|
+
onScopeDispose(() => {
|
|
1020
|
+
clearOpenTimer();
|
|
1021
|
+
menu.unregisterItem(sub.triggerId);
|
|
1022
|
+
});
|
|
1023
|
+
function clearOpenTimer() {
|
|
1024
|
+
if (openTimer === null) return;
|
|
1025
|
+
clearTimeout(openTimer);
|
|
1026
|
+
openTimer = null;
|
|
1027
|
+
}
|
|
1028
|
+
function focusFirstRow() {
|
|
1029
|
+
const content = el.value?.ownerDocument.getElementById(sub.contentId);
|
|
1030
|
+
content?.querySelector('[role^="menuitem"]:not([disabled])')?.focus();
|
|
1031
|
+
}
|
|
1032
|
+
function openFromKeyboard() {
|
|
1033
|
+
clearOpenTimer();
|
|
1034
|
+
if (sub.open.value) focusFirstRow();
|
|
1035
|
+
else sub.setOpen(true, MenuSubOpenReason.Keyboard);
|
|
1036
|
+
}
|
|
1037
|
+
function handleKeydown(event) {
|
|
1038
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
1039
|
+
if (menu.navigate(sub.triggerId, event)) return;
|
|
1040
|
+
const openKey = MenuExtensions.isRightToLeft(el.value) ? "ArrowLeft" : "ArrowRight";
|
|
1041
|
+
if (event.key === "Enter" || event.key === " " || event.key === openKey) {
|
|
1042
|
+
event.preventDefault();
|
|
1043
|
+
openFromKeyboard();
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
function handleClick(event) {
|
|
1047
|
+
if (event.defaultPrevented || props.isDisabled || sub.open.value) return;
|
|
1048
|
+
clearOpenTimer();
|
|
1049
|
+
sub.setOpen(true, MenuSubOpenReason.Pointer);
|
|
1050
|
+
}
|
|
1051
|
+
function handlePointerMove(event) {
|
|
1052
|
+
if (!MenuExtensions.isMousePointer(event) || props.isDisabled) return;
|
|
1053
|
+
menu.hoverItem(sub.id);
|
|
1054
|
+
MenuExtensions.focusRow(el.value);
|
|
1055
|
+
if (sub.open.value || openTimer !== null) return;
|
|
1056
|
+
openTimer = setTimeout(() => {
|
|
1057
|
+
openTimer = null;
|
|
1058
|
+
sub.setOpen(true, MenuSubOpenReason.Pointer);
|
|
1059
|
+
}, OpenDelayMs);
|
|
1060
|
+
}
|
|
1061
|
+
function handlePointerLeave(event) {
|
|
1062
|
+
if (!MenuExtensions.isMousePointer(event)) return;
|
|
1063
|
+
clearOpenTimer();
|
|
1064
|
+
if (!sub.open.value) menu.focusSurface();
|
|
1065
|
+
}
|
|
1066
|
+
__expose({ el });
|
|
1067
|
+
return (_ctx, _cache) => {
|
|
1068
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
1069
|
+
ref_key: "el",
|
|
1070
|
+
ref: el,
|
|
1071
|
+
type: "button",
|
|
1072
|
+
role: "menuitem",
|
|
1073
|
+
"aria-haspopup": "menu",
|
|
1074
|
+
"aria-expanded": unref(isOpen),
|
|
1075
|
+
"aria-controls": unref(isOpen) ? unref(sub).contentId : void 0,
|
|
1076
|
+
disabled: __props.isDisabled,
|
|
1077
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
1078
|
+
"data-disabled": unref(dataAttr)(__props.isDisabled),
|
|
1079
|
+
"data-state": unref(isOpen) ? "open" : "closed"
|
|
1080
|
+
}, rest.value, {
|
|
1081
|
+
id: unref(sub).triggerId,
|
|
1082
|
+
class: classes.value,
|
|
1083
|
+
onClick: handleClick,
|
|
1084
|
+
onKeydown: handleKeydown,
|
|
1085
|
+
onPointermove: handlePointerMove,
|
|
1086
|
+
onPointerleave: handlePointerLeave
|
|
1087
|
+
}), [
|
|
1088
|
+
renderSlot(_ctx.$slots, "default"),
|
|
1089
|
+
createVNode(unref(_sfc_main$C), {
|
|
1090
|
+
icon: unref(ChevronRight),
|
|
1091
|
+
size: 14,
|
|
1092
|
+
class: normalizeClass(unref(menuSubIndicatorVariants)())
|
|
1093
|
+
}, null, 8, ["icon", "class"])
|
|
1094
|
+
], 16, _hoisted_1$d);
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
});
|
|
1098
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
1099
|
+
...{ name: "MenuSubContent", inheritAttrs: false },
|
|
1100
|
+
__name: "MenuSubContent",
|
|
1101
|
+
props: {
|
|
1102
|
+
offset: { default: 2 },
|
|
1103
|
+
variant: { default: void 0 },
|
|
1104
|
+
tone: { default: void 0 },
|
|
1105
|
+
radius: { default: void 0 },
|
|
1106
|
+
padding: { default: void 0 },
|
|
1107
|
+
elevation: { default: void 0 }
|
|
1108
|
+
},
|
|
1109
|
+
setup(__props) {
|
|
1110
|
+
const props = __props;
|
|
1111
|
+
const attrs = useAttrs();
|
|
1112
|
+
const parent = useMenuContext();
|
|
1113
|
+
const sub = useMenuSubContext();
|
|
1114
|
+
const isOpen = sub.open;
|
|
1115
|
+
const anchor = computed(() => sub.triggerEl.value);
|
|
1116
|
+
const placement = computed(
|
|
1117
|
+
() => MenuExtensions.isRightToLeft(sub.triggerEl.value) ? "left-start" : "right-start"
|
|
1118
|
+
);
|
|
1119
|
+
function handleOpenChange(open) {
|
|
1120
|
+
if (!open) sub.setOpen(false);
|
|
1121
|
+
}
|
|
1122
|
+
function handlePointerEnter(event) {
|
|
1123
|
+
if (MenuExtensions.isMousePointer(event)) parent.holdSubmenu();
|
|
1124
|
+
}
|
|
1125
|
+
function triggerRow() {
|
|
1126
|
+
return sub.triggerEl.value;
|
|
1127
|
+
}
|
|
1128
|
+
return (_ctx, _cache) => {
|
|
1129
|
+
return unref(isOpen) ? (openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
1130
|
+
key: 0,
|
|
1131
|
+
open: unref(isOpen),
|
|
1132
|
+
anchor: anchor.value,
|
|
1133
|
+
placement: placement.value,
|
|
1134
|
+
offset: props.offset,
|
|
1135
|
+
variant: props.variant,
|
|
1136
|
+
tone: props.tone,
|
|
1137
|
+
radius: props.radius,
|
|
1138
|
+
padding: props.padding,
|
|
1139
|
+
elevation: props.elevation,
|
|
1140
|
+
"return-focus": triggerRow
|
|
1141
|
+
}, unref(attrs), {
|
|
1142
|
+
id: unref(sub).contentId,
|
|
1143
|
+
"aria-labelledby": unref(sub).triggerId,
|
|
1144
|
+
"onUpdate:open": handleOpenChange,
|
|
1145
|
+
onPointerenter: handlePointerEnter
|
|
1146
|
+
}), {
|
|
1147
|
+
default: withCtx(() => [
|
|
1148
|
+
renderSlot(_ctx.$slots, "default")
|
|
1149
|
+
]),
|
|
1150
|
+
_: 3
|
|
1151
|
+
}, 16, ["open", "anchor", "placement", "offset", "variant", "tone", "radius", "padding", "elevation", "id", "aria-labelledby"])) : createCommentVNode("", true);
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
});
|
|
1155
|
+
const _hoisted_1$c = ["aria-labelledby"];
|
|
1156
|
+
const _hoisted_2$7 = ["id"];
|
|
1157
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1158
|
+
...{ name: "MenuGroup", inheritAttrs: false },
|
|
1159
|
+
__name: "MenuGroup",
|
|
1160
|
+
props: {
|
|
1161
|
+
label: {}
|
|
1162
|
+
},
|
|
1163
|
+
setup(__props, { expose: __expose }) {
|
|
1164
|
+
const props = __props;
|
|
1165
|
+
const attrs = useAttrs();
|
|
1166
|
+
const slots = useSlots();
|
|
1167
|
+
const el = useTemplateRef("el");
|
|
1168
|
+
const labelId = useId();
|
|
1169
|
+
const hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));
|
|
1170
|
+
__expose({ el });
|
|
1171
|
+
return (_ctx, _cache) => {
|
|
1172
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1173
|
+
ref_key: "el",
|
|
1174
|
+
ref: el,
|
|
1175
|
+
role: "group",
|
|
1176
|
+
"aria-labelledby": hasLabel.value ? unref(labelId) : void 0
|
|
1177
|
+
}, unref(attrs)), [
|
|
1178
|
+
hasLabel.value ? (openBlock(), createElementBlock("div", {
|
|
1179
|
+
key: 0,
|
|
1180
|
+
id: unref(labelId),
|
|
1181
|
+
class: normalizeClass(unref(menuLabelVariants)())
|
|
1182
|
+
}, [
|
|
1183
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
1184
|
+
createTextVNode(toDisplayString(props.label), 1)
|
|
1185
|
+
])
|
|
1186
|
+
], 10, _hoisted_2$7)) : createCommentVNode("", true),
|
|
1187
|
+
renderSlot(_ctx.$slots, "default")
|
|
1188
|
+
], 16, _hoisted_1$c);
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
});
|
|
1192
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1193
|
+
...{ name: "MenuLabel", inheritAttrs: false },
|
|
1194
|
+
__name: "MenuLabel",
|
|
1195
|
+
setup(__props, { expose: __expose }) {
|
|
1196
|
+
const attrs = useAttrs();
|
|
1197
|
+
const el = useTemplateRef("el");
|
|
1198
|
+
const classes = computed(() => cn(menuLabelVariants(), attrs.class));
|
|
1199
|
+
const rest = computed(() => {
|
|
1200
|
+
const { class: _class, ...others } = attrs;
|
|
1201
|
+
return others;
|
|
1202
|
+
});
|
|
1203
|
+
__expose({ el });
|
|
1204
|
+
return (_ctx, _cache) => {
|
|
1205
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1206
|
+
ref_key: "el",
|
|
1207
|
+
ref: el
|
|
1208
|
+
}, rest.value, { class: classes.value }), [
|
|
1209
|
+
renderSlot(_ctx.$slots, "default")
|
|
1210
|
+
], 16);
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1214
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1215
|
+
...{ name: "MenuSeparator", inheritAttrs: false },
|
|
1216
|
+
__name: "MenuSeparator",
|
|
1217
|
+
setup(__props, { expose: __expose }) {
|
|
1218
|
+
const attrs = useAttrs();
|
|
1219
|
+
const el = useTemplateRef("el");
|
|
1220
|
+
const classes = computed(() => cn(menuSeparatorVariants(), attrs.class));
|
|
1221
|
+
const rest = computed(() => {
|
|
1222
|
+
const { class: _class, ...others } = attrs;
|
|
1223
|
+
return others;
|
|
1224
|
+
});
|
|
1225
|
+
__expose({ el });
|
|
1226
|
+
return (_ctx, _cache) => {
|
|
1227
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1228
|
+
ref_key: "el",
|
|
1229
|
+
ref: el,
|
|
1230
|
+
role: "separator"
|
|
1231
|
+
}, rest.value, { class: classes.value }), null, 16);
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
});
|
|
1235
|
+
const dropdownMenuContextKey = Symbol("wow-two.dropdownMenu");
|
|
1236
|
+
function useDropdownMenuContext() {
|
|
1237
|
+
const context = inject(dropdownMenuContextKey, null);
|
|
1238
|
+
if (!context) throw new Error("DropdownMenu.* must be used inside <DropdownMenu>");
|
|
1239
|
+
return context;
|
|
1240
|
+
}
|
|
1241
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1242
|
+
...{ name: "DropdownMenu", inheritAttrs: false },
|
|
1243
|
+
__name: "DropdownMenu",
|
|
1244
|
+
props: {
|
|
1245
|
+
open: { type: Boolean, default: void 0 },
|
|
1246
|
+
defaultOpen: { type: Boolean, default: false },
|
|
1247
|
+
placement: { default: "bottom-start" },
|
|
1248
|
+
offset: { default: 6 }
|
|
1249
|
+
},
|
|
1250
|
+
emits: ["update:open"],
|
|
1251
|
+
setup(__props, { emit: __emit }) {
|
|
1252
|
+
const props = __props;
|
|
1253
|
+
const emit = __emit;
|
|
1254
|
+
const controlled = useControlled({
|
|
1255
|
+
controlled: () => props.open,
|
|
1256
|
+
default: () => props.defaultOpen,
|
|
1257
|
+
onChange: (value) => {
|
|
1258
|
+
emit("update:open", value);
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1261
|
+
provide(dropdownMenuContextKey, {
|
|
1262
|
+
open: controlled.value,
|
|
1263
|
+
setOpen: controlled.setValue,
|
|
1264
|
+
triggerEl: shallowRef(null),
|
|
1265
|
+
openFocus: { current: "first" },
|
|
1266
|
+
placement: computed(() => props.placement),
|
|
1267
|
+
offset: computed(() => props.offset)
|
|
1268
|
+
});
|
|
1269
|
+
return (_ctx, _cache) => {
|
|
1270
|
+
return renderSlot(_ctx.$slots, "default");
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
});
|
|
1274
|
+
const NavExtensions = {
|
|
1275
|
+
/**
|
|
1276
|
+
* The DOM node behind a template ref, or `null`.
|
|
1277
|
+
*
|
|
1278
|
+
* The `typeof` guard is load-bearing rather than defensive. Every trigger here
|
|
1279
|
+
* seeds its anchor element from a `watch(..., { immediate: true, flush: 'post' })`,
|
|
1280
|
+
* and Vue runs an *immediate* watcher once during SSR — where `HTMLElement` is
|
|
1281
|
+
* not a global, so a bare `value instanceof HTMLElement` throws `ReferenceError`
|
|
1282
|
+
* and takes the whole server render down. Returning `null` on the server is
|
|
1283
|
+
* correct as well as safe: there is no element to anchor to until hydration.
|
|
1284
|
+
*/
|
|
1285
|
+
toHtmlElement(value) {
|
|
1286
|
+
const node = value;
|
|
1287
|
+
const elementType = node?.ownerDocument?.defaultView?.HTMLElement;
|
|
1288
|
+
return elementType && node instanceof elementType ? node : null;
|
|
1289
|
+
},
|
|
1290
|
+
/** Native and ARIA inactive controls cannot open menus or receive roving focus. */
|
|
1291
|
+
isDisabled(node) {
|
|
1292
|
+
return !node || node.matches(':disabled,[aria-disabled="true"],[data-disabled]');
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1296
|
+
...{ name: "DropdownMenuTrigger", inheritAttrs: false },
|
|
1297
|
+
__name: "DropdownMenuTrigger",
|
|
1298
|
+
props: {
|
|
1299
|
+
asChild: { type: Boolean, default: false }
|
|
1300
|
+
},
|
|
1301
|
+
setup(__props, { expose: __expose }) {
|
|
1302
|
+
const attrs = useAttrs();
|
|
1303
|
+
const context = useDropdownMenuContext();
|
|
1304
|
+
const inner = useTemplateRef("inner");
|
|
1305
|
+
const isOpen = context.open;
|
|
1306
|
+
watch(
|
|
1307
|
+
inner,
|
|
1308
|
+
(instance) => {
|
|
1309
|
+
context.triggerEl.value = NavExtensions.toHtmlElement(instance?.$el);
|
|
1310
|
+
},
|
|
1311
|
+
{ immediate: true, flush: "post" }
|
|
1312
|
+
);
|
|
1313
|
+
function handleClick(event) {
|
|
1314
|
+
if (event.defaultPrevented) return;
|
|
1315
|
+
context.openFocus.current = "first";
|
|
1316
|
+
context.setOpen(!context.open.value);
|
|
1317
|
+
}
|
|
1318
|
+
function handleKeydown(event) {
|
|
1319
|
+
if (event.defaultPrevented) return;
|
|
1320
|
+
if (event.key === "ArrowDown" || event.key === "ArrowUp" || event.key === "Enter" || event.key === " ") {
|
|
1321
|
+
event.preventDefault();
|
|
1322
|
+
context.openFocus.current = event.key === "ArrowUp" ? "last" : "first";
|
|
1323
|
+
context.setOpen(true);
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
const el = computed(() => resolveElement(inner.value));
|
|
1327
|
+
__expose({ el });
|
|
1328
|
+
return (_ctx, _cache) => {
|
|
1329
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
1330
|
+
ref_key: "inner",
|
|
1331
|
+
ref: inner,
|
|
1332
|
+
as: "button",
|
|
1333
|
+
"as-child": __props.asChild,
|
|
1334
|
+
type: "button",
|
|
1335
|
+
"aria-haspopup": "menu",
|
|
1336
|
+
"aria-expanded": unref(isOpen),
|
|
1337
|
+
"data-state": unref(isOpen) ? "open" : "closed"
|
|
1338
|
+
}, unref(attrs), {
|
|
1339
|
+
onClick: handleClick,
|
|
1340
|
+
onKeydown: handleKeydown
|
|
1341
|
+
}), {
|
|
1342
|
+
default: withCtx(() => [
|
|
1343
|
+
renderSlot(_ctx.$slots, "default")
|
|
1344
|
+
]),
|
|
1345
|
+
_: 3
|
|
1346
|
+
}, 16, ["as-child", "aria-expanded", "data-state"]);
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1350
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1351
|
+
...{ name: "DropdownMenuContent", inheritAttrs: false },
|
|
1352
|
+
__name: "DropdownMenuContent",
|
|
1353
|
+
setup(__props) {
|
|
1354
|
+
const attrs = useAttrs();
|
|
1355
|
+
const context = useDropdownMenuContext();
|
|
1356
|
+
const reducedMotion = useReducedMotion();
|
|
1357
|
+
const isOpen = context.open;
|
|
1358
|
+
const anchor = computed(() => context.triggerEl.value);
|
|
1359
|
+
const placement = context.placement;
|
|
1360
|
+
const offset = context.offset;
|
|
1361
|
+
const panelEl = shallowRef(null);
|
|
1362
|
+
const mounted = shallowRef(context.open.value);
|
|
1363
|
+
watch(
|
|
1364
|
+
[() => context.open.value, reducedMotion],
|
|
1365
|
+
([open, isReduced], _previous, onCleanup) => {
|
|
1366
|
+
if (open) {
|
|
1367
|
+
mounted.value = true;
|
|
1368
|
+
return;
|
|
1369
|
+
}
|
|
1370
|
+
if (!isReduced) return;
|
|
1371
|
+
if (typeof requestAnimationFrame === "undefined") return;
|
|
1372
|
+
const raf = requestAnimationFrame(() => {
|
|
1373
|
+
mounted.value = false;
|
|
1374
|
+
});
|
|
1375
|
+
onCleanup(() => cancelAnimationFrame(raf));
|
|
1376
|
+
},
|
|
1377
|
+
{ immediate: true, flush: "post" }
|
|
1378
|
+
);
|
|
1379
|
+
function focusLastEnabledItem(panel) {
|
|
1380
|
+
if (context.openFocus.current !== "last") return;
|
|
1381
|
+
context.openFocus.current = "first";
|
|
1382
|
+
const items = panel.querySelectorAll('[role^="menuitem"]:not([disabled])');
|
|
1383
|
+
items[items.length - 1]?.focus();
|
|
1384
|
+
}
|
|
1385
|
+
watch(
|
|
1386
|
+
[panelEl, () => context.open.value],
|
|
1387
|
+
([panel, open]) => {
|
|
1388
|
+
if (!panel || !open) return;
|
|
1389
|
+
focusLastEnabledItem(panel);
|
|
1390
|
+
},
|
|
1391
|
+
{ flush: "post" }
|
|
1392
|
+
);
|
|
1393
|
+
function setPanel(node) {
|
|
1394
|
+
panelEl.value = node ?? null;
|
|
1395
|
+
if (node === null && !context.open.value) mounted.value = false;
|
|
1396
|
+
}
|
|
1397
|
+
function handleClose() {
|
|
1398
|
+
context.setOpen(false);
|
|
1399
|
+
}
|
|
1400
|
+
function handleAnimationEnd() {
|
|
1401
|
+
if (!context.open.value) mounted.value = false;
|
|
1402
|
+
}
|
|
1403
|
+
const panelClasses = computed(
|
|
1404
|
+
() => cn(
|
|
1405
|
+
/* pop (fade + slight scale) gated on data-state; motion-safe so
|
|
1406
|
+
reduced-motion users get no movement. */
|
|
1407
|
+
"motion-safe:data-[state=open]:animate-(--animate-pop-in)",
|
|
1408
|
+
"motion-safe:data-[state=closed]:animate-(--animate-pop-out)",
|
|
1409
|
+
"motion-reduce:animate-none",
|
|
1410
|
+
attrs.class
|
|
1411
|
+
)
|
|
1412
|
+
);
|
|
1413
|
+
const rest = computed(() => {
|
|
1414
|
+
const { class: _class, ...others } = attrs;
|
|
1415
|
+
return others;
|
|
1416
|
+
});
|
|
1417
|
+
return (_ctx, _cache) => {
|
|
1418
|
+
return mounted.value ? (openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
1419
|
+
key: 0,
|
|
1420
|
+
open: mounted.value,
|
|
1421
|
+
anchor: anchor.value,
|
|
1422
|
+
placement: unref(placement),
|
|
1423
|
+
offset: unref(offset)
|
|
1424
|
+
}, rest.value, { "onUpdate:open": handleClose }), {
|
|
1425
|
+
default: withCtx(() => [
|
|
1426
|
+
createVNode(unref(Presence), { "is-present": unref(isOpen) }, {
|
|
1427
|
+
default: withCtx(() => [
|
|
1428
|
+
createElementVNode("div", {
|
|
1429
|
+
ref: setPanel,
|
|
1430
|
+
class: normalizeClass(panelClasses.value),
|
|
1431
|
+
onAnimationend: handleAnimationEnd
|
|
1432
|
+
}, [
|
|
1433
|
+
renderSlot(_ctx.$slots, "default")
|
|
1434
|
+
], 34)
|
|
1435
|
+
]),
|
|
1436
|
+
_: 3
|
|
1437
|
+
}, 8, ["is-present"])
|
|
1438
|
+
]),
|
|
1439
|
+
_: 3
|
|
1440
|
+
}, 16, ["open", "anchor", "placement", "offset"])) : createCommentVNode("", true);
|
|
1441
|
+
};
|
|
1442
|
+
}
|
|
1443
|
+
});
|
|
1444
|
+
const contextMenuContextKey = Symbol("wow-two.contextMenu");
|
|
1445
|
+
function useContextMenuContext() {
|
|
1446
|
+
const context = inject(contextMenuContextKey, null);
|
|
1447
|
+
if (!context) throw new Error("ContextMenu.* must be used inside <ContextMenu>");
|
|
1448
|
+
return context;
|
|
1449
|
+
}
|
|
1450
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1451
|
+
...{ name: "ContextMenu", inheritAttrs: false },
|
|
1452
|
+
__name: "ContextMenu",
|
|
1453
|
+
setup(__props) {
|
|
1454
|
+
const open = shallowRef(false);
|
|
1455
|
+
const anchor = shallowRef(null);
|
|
1456
|
+
const triggerEl = shallowRef(null);
|
|
1457
|
+
const restoreFocus = { current: null };
|
|
1458
|
+
function setAnchor(el) {
|
|
1459
|
+
const previous = anchor.value;
|
|
1460
|
+
if (previous && previous.parentNode === previous.ownerDocument.body) {
|
|
1461
|
+
previous.remove();
|
|
1462
|
+
}
|
|
1463
|
+
anchor.value = el;
|
|
1464
|
+
}
|
|
1465
|
+
function setOpen(next) {
|
|
1466
|
+
if (next && !open.value) {
|
|
1467
|
+
const document2 = triggerEl.value?.ownerDocument;
|
|
1468
|
+
const active = document2?.activeElement;
|
|
1469
|
+
restoreFocus.current ??= active && "focus" in active ? active : triggerEl.value;
|
|
1470
|
+
}
|
|
1471
|
+
open.value = next;
|
|
1472
|
+
if (!next) setAnchor(null);
|
|
1473
|
+
}
|
|
1474
|
+
onScopeDispose(() => setAnchor(null));
|
|
1475
|
+
provide(contextMenuContextKey, { open, setOpen, anchor, setAnchor, triggerEl, restoreFocus });
|
|
1476
|
+
return (_ctx, _cache) => {
|
|
1477
|
+
return renderSlot(_ctx.$slots, "default");
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
});
|
|
1481
|
+
const LongPressMs = 600;
|
|
1482
|
+
function makeVirtualAnchor(x, y, document2) {
|
|
1483
|
+
const el = document2.createElement("div");
|
|
1484
|
+
el.style.position = "fixed";
|
|
1485
|
+
el.style.left = `${x}px`;
|
|
1486
|
+
el.style.top = `${y}px`;
|
|
1487
|
+
el.style.width = "0px";
|
|
1488
|
+
el.style.height = "0px";
|
|
1489
|
+
el.style.pointerEvents = "none";
|
|
1490
|
+
document2.body.appendChild(el);
|
|
1491
|
+
return el;
|
|
1492
|
+
}
|
|
1493
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1494
|
+
...{ name: "ContextMenuTrigger", inheritAttrs: false },
|
|
1495
|
+
__name: "ContextMenuTrigger",
|
|
1496
|
+
props: {
|
|
1497
|
+
asChild: { type: Boolean, default: false },
|
|
1498
|
+
isDisabled: { type: Boolean, default: void 0 }
|
|
1499
|
+
},
|
|
1500
|
+
setup(__props, { expose: __expose }) {
|
|
1501
|
+
const props = __props;
|
|
1502
|
+
const attrs = useAttrs();
|
|
1503
|
+
const context = useContextMenuContext();
|
|
1504
|
+
const inner = useTemplateRef("inner");
|
|
1505
|
+
let longPressTimer = null;
|
|
1506
|
+
let pointerFocusCaptured = false;
|
|
1507
|
+
let pressOrigin = null;
|
|
1508
|
+
watch(
|
|
1509
|
+
inner,
|
|
1510
|
+
(instance) => {
|
|
1511
|
+
context.triggerEl.value = NavExtensions.toHtmlElement(instance?.$el);
|
|
1512
|
+
},
|
|
1513
|
+
{ immediate: true, flush: "post" }
|
|
1514
|
+
);
|
|
1515
|
+
function clearLongPress() {
|
|
1516
|
+
if (longPressTimer) clearTimeout(longPressTimer);
|
|
1517
|
+
longPressTimer = null;
|
|
1518
|
+
pressOrigin = null;
|
|
1519
|
+
}
|
|
1520
|
+
onScopeDispose(clearLongPress);
|
|
1521
|
+
function captureReturnFocus() {
|
|
1522
|
+
if (context.open.value) return;
|
|
1523
|
+
const document2 = el.value?.ownerDocument;
|
|
1524
|
+
const active = document2?.activeElement;
|
|
1525
|
+
context.restoreFocus.current = active && active !== document2?.body && "focus" in active ? active : el.value;
|
|
1526
|
+
}
|
|
1527
|
+
function openAt(x, y) {
|
|
1528
|
+
const document2 = el.value?.ownerDocument;
|
|
1529
|
+
if (!document2 || props.isDisabled) return;
|
|
1530
|
+
context.setAnchor(makeVirtualAnchor(x, y, document2));
|
|
1531
|
+
context.setOpen(true);
|
|
1532
|
+
}
|
|
1533
|
+
function handleContextMenu(event) {
|
|
1534
|
+
clearLongPress();
|
|
1535
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
1536
|
+
event.preventDefault();
|
|
1537
|
+
if (!pointerFocusCaptured) captureReturnFocus();
|
|
1538
|
+
pointerFocusCaptured = false;
|
|
1539
|
+
openAt(event.clientX, event.clientY);
|
|
1540
|
+
}
|
|
1541
|
+
function handlePointerDown(event) {
|
|
1542
|
+
clearLongPress();
|
|
1543
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
1544
|
+
pointerFocusCaptured = event.button === 2 || event.pointerType === "touch";
|
|
1545
|
+
if (pointerFocusCaptured) captureReturnFocus();
|
|
1546
|
+
if (event.pointerType !== "touch" || !event.isPrimary) return;
|
|
1547
|
+
const x = event.clientX;
|
|
1548
|
+
const y = event.clientY;
|
|
1549
|
+
pressOrigin = { x, y, pointerId: event.pointerId };
|
|
1550
|
+
longPressTimer = setTimeout(() => {
|
|
1551
|
+
clearLongPress();
|
|
1552
|
+
openAt(x, y);
|
|
1553
|
+
}, LongPressMs);
|
|
1554
|
+
}
|
|
1555
|
+
function handlePointerMove(event) {
|
|
1556
|
+
if (!pressOrigin || event.pointerId !== pressOrigin.pointerId) return;
|
|
1557
|
+
if (Math.hypot(event.clientX - pressOrigin.x, event.clientY - pressOrigin.y) > 8) clearLongPress();
|
|
1558
|
+
}
|
|
1559
|
+
function handleKeydown(event) {
|
|
1560
|
+
if (event.defaultPrevented || event.isComposing || props.isDisabled) return;
|
|
1561
|
+
if (event.key !== "ContextMenu" && !(event.shiftKey && event.key === "F10")) return;
|
|
1562
|
+
event.preventDefault();
|
|
1563
|
+
clearLongPress();
|
|
1564
|
+
captureReturnFocus();
|
|
1565
|
+
const rect = el.value?.getBoundingClientRect();
|
|
1566
|
+
if (rect) openAt(rect.left, rect.bottom);
|
|
1567
|
+
}
|
|
1568
|
+
watch(
|
|
1569
|
+
() => props.isDisabled,
|
|
1570
|
+
(disabled) => {
|
|
1571
|
+
if (disabled) clearLongPress();
|
|
1572
|
+
}
|
|
1573
|
+
);
|
|
1574
|
+
const el = computed(() => resolveElement(inner.value));
|
|
1575
|
+
__expose({ el });
|
|
1576
|
+
return (_ctx, _cache) => {
|
|
1577
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
1578
|
+
ref_key: "inner",
|
|
1579
|
+
ref: inner,
|
|
1580
|
+
as: "div",
|
|
1581
|
+
"as-child": __props.asChild,
|
|
1582
|
+
tabindex: props.isDisabled ? -1 : 0,
|
|
1583
|
+
"aria-haspopup": "menu",
|
|
1584
|
+
"aria-expanded": unref(context).open.value,
|
|
1585
|
+
"aria-disabled": props.isDisabled || void 0
|
|
1586
|
+
}, unref(attrs), {
|
|
1587
|
+
onContextmenu: handleContextMenu,
|
|
1588
|
+
onPointerdown: handlePointerDown,
|
|
1589
|
+
onPointermove: handlePointerMove,
|
|
1590
|
+
onKeydown: handleKeydown,
|
|
1591
|
+
onPointerup: clearLongPress,
|
|
1592
|
+
onPointercancel: clearLongPress
|
|
1593
|
+
}), {
|
|
1594
|
+
default: withCtx(() => [
|
|
1595
|
+
renderSlot(_ctx.$slots, "default")
|
|
1596
|
+
]),
|
|
1597
|
+
_: 3
|
|
1598
|
+
}, 16, ["as-child", "tabindex", "aria-expanded", "aria-disabled"]);
|
|
1599
|
+
};
|
|
1600
|
+
}
|
|
1601
|
+
});
|
|
1602
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1603
|
+
...{ name: "ContextMenuContent", inheritAttrs: false },
|
|
1604
|
+
__name: "ContextMenuContent",
|
|
1605
|
+
props: {
|
|
1606
|
+
placement: { default: "bottom-start" },
|
|
1607
|
+
offset: { default: 2 }
|
|
1608
|
+
},
|
|
1609
|
+
setup(__props) {
|
|
1610
|
+
const attrs = useAttrs();
|
|
1611
|
+
const context = useContextMenuContext();
|
|
1612
|
+
const isOpen = context.open;
|
|
1613
|
+
const anchor = context.anchor;
|
|
1614
|
+
const classes = computed(() => cn("motion-safe:animate-(--animate-pop-in)", attrs.class));
|
|
1615
|
+
const rest = computed(() => {
|
|
1616
|
+
const { class: _class, ...others } = attrs;
|
|
1617
|
+
return others;
|
|
1618
|
+
});
|
|
1619
|
+
return (_ctx, _cache) => {
|
|
1620
|
+
return openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
1621
|
+
open: unref(isOpen),
|
|
1622
|
+
anchor: unref(anchor),
|
|
1623
|
+
"return-focus": () => unref(context).restoreFocus.current,
|
|
1624
|
+
placement: __props.placement,
|
|
1625
|
+
offset: __props.offset
|
|
1626
|
+
}, rest.value, {
|
|
1627
|
+
class: classes.value,
|
|
1628
|
+
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => unref(context).setOpen(false))
|
|
1629
|
+
}), {
|
|
1630
|
+
default: withCtx(() => [
|
|
1631
|
+
renderSlot(_ctx.$slots, "default")
|
|
1632
|
+
]),
|
|
1633
|
+
_: 3
|
|
1634
|
+
}, 16, ["open", "anchor", "return-focus", "placement", "offset", "class"]);
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
});
|
|
1638
|
+
const menubarContextKey = Symbol("wow-two.menubar");
|
|
1639
|
+
function useMenubarContext() {
|
|
1640
|
+
const context = inject(menubarContextKey, null);
|
|
1641
|
+
if (!context) throw new Error("Menubar.* must be used inside <Menubar>");
|
|
1642
|
+
return context;
|
|
1643
|
+
}
|
|
1644
|
+
const menubarMenuContextKey = Symbol("wow-two.menubarMenu");
|
|
1645
|
+
function useMenubarMenuContext() {
|
|
1646
|
+
const context = inject(menubarMenuContextKey, null);
|
|
1647
|
+
if (!context) throw new Error("MenubarTrigger / MenubarContent must be used inside <MenubarMenu>");
|
|
1648
|
+
return context;
|
|
1649
|
+
}
|
|
1650
|
+
const menubarVariants = tv({
|
|
1651
|
+
base: "flex items-center gap-1 rounded-md border border-border bg-background p-1"
|
|
1652
|
+
});
|
|
1653
|
+
const menubarTriggerVariants = tv({
|
|
1654
|
+
base: "inline-flex select-none items-center rounded-sm px-3 py-1 text-sm font-medium text-foreground outline-hidden transition-colors hover:bg-muted focus-visible:bg-muted data-[state=open]:bg-muted"
|
|
1655
|
+
});
|
|
1656
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1657
|
+
...{ name: "Menubar", inheritAttrs: false },
|
|
1658
|
+
__name: "Menubar",
|
|
1659
|
+
props: {
|
|
1660
|
+
modelValue: { default: void 0 },
|
|
1661
|
+
defaultValue: { default: null }
|
|
1662
|
+
},
|
|
1663
|
+
emits: ["update:modelValue"],
|
|
1664
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1665
|
+
const props = __props;
|
|
1666
|
+
const emit = __emit;
|
|
1667
|
+
const attrs = useAttrs();
|
|
1668
|
+
const el = useTemplateRef("el");
|
|
1669
|
+
const { value: activeId, setValue: setActiveId } = useControlled({
|
|
1670
|
+
controlled: () => props.modelValue,
|
|
1671
|
+
default: () => props.defaultValue,
|
|
1672
|
+
onChange: (next) => emit("update:modelValue", next)
|
|
1673
|
+
});
|
|
1674
|
+
const triggers = [];
|
|
1675
|
+
function registerTrigger(id, triggerEl) {
|
|
1676
|
+
const index = triggers.findIndex((t) => t.id === id);
|
|
1677
|
+
if (index >= 0) triggers[index] = { id, el: triggerEl };
|
|
1678
|
+
else triggers.push({ id, el: triggerEl });
|
|
1679
|
+
}
|
|
1680
|
+
function unregisterTrigger(id) {
|
|
1681
|
+
const index = triggers.findIndex((t) => t.id === id);
|
|
1682
|
+
if (index >= 0) triggers.splice(index, 1);
|
|
1683
|
+
}
|
|
1684
|
+
function moveAcross(fromId, direction) {
|
|
1685
|
+
const ordered = DomOrderExtensions.inDocumentOrder(triggers, (item) => item.el).filter(
|
|
1686
|
+
(item) => !NavExtensions.isDisabled(item.el)
|
|
1687
|
+
);
|
|
1688
|
+
const index = ordered.findIndex((t) => t.id === fromId);
|
|
1689
|
+
if (index === -1) return;
|
|
1690
|
+
const root = rootElement.value;
|
|
1691
|
+
const rtl = root && root.ownerDocument.defaultView?.getComputedStyle(root).direction === "rtl";
|
|
1692
|
+
let nextIndex = index + (rtl ? -direction : direction);
|
|
1693
|
+
if (nextIndex < 0) nextIndex = ordered.length - 1;
|
|
1694
|
+
if (nextIndex >= ordered.length) nextIndex = 0;
|
|
1695
|
+
const next = ordered[nextIndex];
|
|
1696
|
+
if (!next) return;
|
|
1697
|
+
next.el?.focus();
|
|
1698
|
+
if (activeId.value !== null) setActiveId(next.id);
|
|
1699
|
+
}
|
|
1700
|
+
provide(menubarContextKey, {
|
|
1701
|
+
activeId,
|
|
1702
|
+
setActiveId,
|
|
1703
|
+
registerTrigger,
|
|
1704
|
+
unregisterTrigger,
|
|
1705
|
+
moveAcross
|
|
1706
|
+
});
|
|
1707
|
+
const classes = computed(() => cn(menubarVariants(), attrs.class));
|
|
1708
|
+
const rest = computed(() => {
|
|
1709
|
+
const { class: _class, ...others } = attrs;
|
|
1710
|
+
return others;
|
|
1711
|
+
});
|
|
1712
|
+
const rootElement = computed(() => {
|
|
1713
|
+
const node = el.value?.el;
|
|
1714
|
+
const elementType = node?.ownerDocument.defaultView?.HTMLElement;
|
|
1715
|
+
return elementType && node instanceof elementType ? node : null;
|
|
1716
|
+
});
|
|
1717
|
+
__expose({ el: rootElement });
|
|
1718
|
+
return (_ctx, _cache) => {
|
|
1719
|
+
return openBlock(), createBlock(unref(_sfc_main$H), mergeProps({
|
|
1720
|
+
ref_key: "el",
|
|
1721
|
+
ref: el,
|
|
1722
|
+
orientation: "horizontal",
|
|
1723
|
+
"can-loop": "",
|
|
1724
|
+
role: "menubar"
|
|
1725
|
+
}, rest.value, { class: classes.value }), {
|
|
1726
|
+
default: withCtx(() => [
|
|
1727
|
+
renderSlot(_ctx.$slots, "default")
|
|
1728
|
+
]),
|
|
1729
|
+
_: 3
|
|
1730
|
+
}, 16, ["class"]);
|
|
1731
|
+
};
|
|
1732
|
+
}
|
|
1733
|
+
});
|
|
1734
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1735
|
+
...{ name: "MenubarMenu", inheritAttrs: false },
|
|
1736
|
+
__name: "MenubarMenu",
|
|
1737
|
+
props: {
|
|
1738
|
+
value: {}
|
|
1739
|
+
},
|
|
1740
|
+
setup(__props) {
|
|
1741
|
+
const props = __props;
|
|
1742
|
+
const bar = useMenubarContext();
|
|
1743
|
+
provide(menubarMenuContextKey, {
|
|
1744
|
+
get id() {
|
|
1745
|
+
return props.value;
|
|
1746
|
+
},
|
|
1747
|
+
open: computed(() => bar.activeId.value === props.value),
|
|
1748
|
+
setOpen: (next) => bar.setActiveId(next ? props.value : null),
|
|
1749
|
+
triggerEl: shallowRef(null)
|
|
1750
|
+
});
|
|
1751
|
+
return (_ctx, _cache) => {
|
|
1752
|
+
return renderSlot(_ctx.$slots, "default");
|
|
1753
|
+
};
|
|
1754
|
+
}
|
|
1755
|
+
});
|
|
1756
|
+
const _hoisted_1$b = ["aria-expanded", "data-state", "tabindex"];
|
|
1757
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1758
|
+
...{ name: "MenubarTrigger", inheritAttrs: false },
|
|
1759
|
+
__name: "MenubarTrigger",
|
|
1760
|
+
setup(__props, { expose: __expose }) {
|
|
1761
|
+
const attrs = useAttrs();
|
|
1762
|
+
const bar = useMenubarContext();
|
|
1763
|
+
const menu = useMenubarMenuContext();
|
|
1764
|
+
const item = useRovingFocusItem();
|
|
1765
|
+
const el = shallowRef(null);
|
|
1766
|
+
function setRef(node) {
|
|
1767
|
+
const button = node ?? null;
|
|
1768
|
+
el.value = button;
|
|
1769
|
+
menu.triggerEl.value = button;
|
|
1770
|
+
item.ref(node);
|
|
1771
|
+
}
|
|
1772
|
+
watch(
|
|
1773
|
+
[() => menu.id, el],
|
|
1774
|
+
([id, node], _, onCleanup) => {
|
|
1775
|
+
bar.registerTrigger(id, node);
|
|
1776
|
+
onCleanup(() => bar.unregisterTrigger(id));
|
|
1777
|
+
},
|
|
1778
|
+
{ immediate: true, flush: "post" }
|
|
1779
|
+
);
|
|
1780
|
+
const isOpen = menu.open;
|
|
1781
|
+
function handleClick(event) {
|
|
1782
|
+
if (event.defaultPrevented || NavExtensions.isDisabled(el.value)) return;
|
|
1783
|
+
menu.setOpen(!menu.open.value);
|
|
1784
|
+
}
|
|
1785
|
+
function handlePointerEnter() {
|
|
1786
|
+
if (NavExtensions.isDisabled(el.value)) return;
|
|
1787
|
+
if (bar.activeId.value !== null && bar.activeId.value !== menu.id) {
|
|
1788
|
+
bar.setActiveId(menu.id);
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
function handleFocus() {
|
|
1792
|
+
item.onFocus();
|
|
1793
|
+
}
|
|
1794
|
+
function handleKeydown(event) {
|
|
1795
|
+
if (event.isComposing) return;
|
|
1796
|
+
if (event.defaultPrevented || NavExtensions.isDisabled(el.value)) return;
|
|
1797
|
+
switch (event.key) {
|
|
1798
|
+
case "ArrowDown":
|
|
1799
|
+
case "Enter":
|
|
1800
|
+
case " ":
|
|
1801
|
+
event.preventDefault();
|
|
1802
|
+
menu.setOpen(true);
|
|
1803
|
+
return;
|
|
1804
|
+
case "ArrowRight":
|
|
1805
|
+
case "ArrowLeft":
|
|
1806
|
+
if (bar.activeId.value !== null) {
|
|
1807
|
+
event.preventDefault();
|
|
1808
|
+
bar.moveAcross(menu.id, event.key === "ArrowRight" ? 1 : -1);
|
|
1809
|
+
return;
|
|
1810
|
+
}
|
|
1811
|
+
break;
|
|
1812
|
+
}
|
|
1813
|
+
item.onKeydown(event);
|
|
1814
|
+
}
|
|
1815
|
+
const classes = computed(() => cn(menubarTriggerVariants(), attrs.class));
|
|
1816
|
+
const rest = computed(() => {
|
|
1817
|
+
const { class: _class, ...others } = attrs;
|
|
1818
|
+
return others;
|
|
1819
|
+
});
|
|
1820
|
+
__expose({ el });
|
|
1821
|
+
return (_ctx, _cache) => {
|
|
1822
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
1823
|
+
type: "button",
|
|
1824
|
+
role: "menuitem",
|
|
1825
|
+
"aria-haspopup": "menu",
|
|
1826
|
+
"aria-expanded": unref(isOpen),
|
|
1827
|
+
"data-state": unref(isOpen) ? "open" : "closed",
|
|
1828
|
+
tabindex: unref(item).tabindex,
|
|
1829
|
+
"data-roving-focus-item": true
|
|
1830
|
+
}, rest.value, {
|
|
1831
|
+
ref: setRef,
|
|
1832
|
+
class: classes.value,
|
|
1833
|
+
onClick: handleClick,
|
|
1834
|
+
onPointerenter: handlePointerEnter,
|
|
1835
|
+
onFocus: handleFocus,
|
|
1836
|
+
onKeydown: handleKeydown
|
|
1837
|
+
}), [
|
|
1838
|
+
renderSlot(_ctx.$slots, "default")
|
|
1839
|
+
], 16, _hoisted_1$b);
|
|
1840
|
+
};
|
|
1841
|
+
}
|
|
1842
|
+
});
|
|
1843
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1844
|
+
...{ name: "MenubarContent", inheritAttrs: false },
|
|
1845
|
+
__name: "MenubarContent",
|
|
1846
|
+
props: {
|
|
1847
|
+
placement: { default: "bottom-start" },
|
|
1848
|
+
offset: { default: 4 }
|
|
1849
|
+
},
|
|
1850
|
+
setup(__props) {
|
|
1851
|
+
const attrs = useAttrs();
|
|
1852
|
+
const bar = useMenubarContext();
|
|
1853
|
+
const menu = useMenubarMenuContext();
|
|
1854
|
+
const isOpen = menu.open;
|
|
1855
|
+
const anchor = computed(() => menu.triggerEl.value);
|
|
1856
|
+
function handleClose() {
|
|
1857
|
+
menu.setOpen(false);
|
|
1858
|
+
}
|
|
1859
|
+
function handleKeydown(event) {
|
|
1860
|
+
if (event.defaultPrevented || event.isComposing) return;
|
|
1861
|
+
switch (event.key) {
|
|
1862
|
+
case "ArrowRight":
|
|
1863
|
+
event.preventDefault();
|
|
1864
|
+
bar.moveAcross(menu.id, 1);
|
|
1865
|
+
break;
|
|
1866
|
+
case "ArrowLeft":
|
|
1867
|
+
event.preventDefault();
|
|
1868
|
+
bar.moveAcross(menu.id, -1);
|
|
1869
|
+
break;
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
return (_ctx, _cache) => {
|
|
1873
|
+
return openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
1874
|
+
open: unref(isOpen),
|
|
1875
|
+
anchor: anchor.value,
|
|
1876
|
+
placement: __props.placement,
|
|
1877
|
+
offset: __props.offset
|
|
1878
|
+
}, unref(attrs), {
|
|
1879
|
+
"onUpdate:open": handleClose,
|
|
1880
|
+
onKeydown: handleKeydown
|
|
1881
|
+
}), {
|
|
1882
|
+
default: withCtx(() => [
|
|
1883
|
+
renderSlot(_ctx.$slots, "default")
|
|
1884
|
+
]),
|
|
1885
|
+
_: 3
|
|
1886
|
+
}, 16, ["open", "anchor", "placement", "offset"]);
|
|
1887
|
+
};
|
|
1888
|
+
}
|
|
1889
|
+
});
|
|
1890
|
+
const navigationMenuContextKey = Symbol("wow-two.navigationMenu");
|
|
1891
|
+
function useNavigationMenuContext() {
|
|
1892
|
+
const context = inject(navigationMenuContextKey, null);
|
|
1893
|
+
if (!context) throw new Error("NavigationMenu.* must be used inside <NavigationMenu>");
|
|
1894
|
+
return context;
|
|
1895
|
+
}
|
|
1896
|
+
const navigationMenuItemContextKey = Symbol("wow-two.navigationMenuItem");
|
|
1897
|
+
function useNavigationMenuItemContext() {
|
|
1898
|
+
const context = inject(navigationMenuItemContextKey, null);
|
|
1899
|
+
if (!context) {
|
|
1900
|
+
throw new Error("NavigationMenuTrigger / NavigationMenuContent must be used inside <NavigationMenuItem>");
|
|
1901
|
+
}
|
|
1902
|
+
return context;
|
|
1903
|
+
}
|
|
1904
|
+
const _hoisted_1$a = ["aria-label"];
|
|
1905
|
+
const DefaultAriaLabel = "Main navigation";
|
|
1906
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1907
|
+
...{ name: "NavigationMenu", inheritAttrs: false },
|
|
1908
|
+
__name: "NavigationMenu",
|
|
1909
|
+
props: {
|
|
1910
|
+
modelValue: { default: void 0 },
|
|
1911
|
+
defaultValue: { default: null }
|
|
1912
|
+
},
|
|
1913
|
+
emits: ["update:modelValue"],
|
|
1914
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1915
|
+
const locale = useLocale();
|
|
1916
|
+
const props = __props;
|
|
1917
|
+
const emit = __emit;
|
|
1918
|
+
const attrs = useAttrs();
|
|
1919
|
+
const el = useTemplateRef("el");
|
|
1920
|
+
const { value: activeId, setValue: setActiveId } = useControlled({
|
|
1921
|
+
controlled: () => props.modelValue,
|
|
1922
|
+
default: () => props.defaultValue,
|
|
1923
|
+
onChange: (next) => emit("update:modelValue", next)
|
|
1924
|
+
});
|
|
1925
|
+
provide(navigationMenuContextKey, { activeId, setActiveId });
|
|
1926
|
+
const ariaLabel = computed(
|
|
1927
|
+
() => attrs[AriaAttribute.Label] ?? locale.t("NavigationMenu.label", void 0, DefaultAriaLabel)
|
|
1928
|
+
);
|
|
1929
|
+
const classes = computed(() => cn("relative", attrs.class));
|
|
1930
|
+
const rest = computed(() => {
|
|
1931
|
+
const { class: _class, [AriaAttribute.Label]: _ariaLabel, ...others } = attrs;
|
|
1932
|
+
return others;
|
|
1933
|
+
});
|
|
1934
|
+
__expose({ el });
|
|
1935
|
+
return (_ctx, _cache) => {
|
|
1936
|
+
return openBlock(), createElementBlock("nav", mergeProps({
|
|
1937
|
+
ref_key: "el",
|
|
1938
|
+
ref: el,
|
|
1939
|
+
"aria-label": ariaLabel.value
|
|
1940
|
+
}, rest.value, { class: classes.value }), [
|
|
1941
|
+
renderSlot(_ctx.$slots, "default")
|
|
1942
|
+
], 16, _hoisted_1$a);
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
});
|
|
1946
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1947
|
+
...{ name: "NavigationMenuList", inheritAttrs: false },
|
|
1948
|
+
__name: "NavigationMenuList",
|
|
1949
|
+
setup(__props, { expose: __expose }) {
|
|
1950
|
+
const attrs = useAttrs();
|
|
1951
|
+
const el = useTemplateRef("el");
|
|
1952
|
+
const classes = computed(() => cn("flex items-center gap-1", attrs.class));
|
|
1953
|
+
const rest = computed(() => {
|
|
1954
|
+
const { class: _class, ...others } = attrs;
|
|
1955
|
+
return others;
|
|
1956
|
+
});
|
|
1957
|
+
const rootElement = computed(() => {
|
|
1958
|
+
const node = el.value?.el;
|
|
1959
|
+
const elementType = node?.ownerDocument.defaultView?.HTMLElement;
|
|
1960
|
+
return elementType && node instanceof elementType ? node : null;
|
|
1961
|
+
});
|
|
1962
|
+
__expose({ el: rootElement });
|
|
1963
|
+
return (_ctx, _cache) => {
|
|
1964
|
+
return openBlock(), createBlock(unref(_sfc_main$H), mergeProps({
|
|
1965
|
+
ref_key: "el",
|
|
1966
|
+
ref: el,
|
|
1967
|
+
orientation: "horizontal",
|
|
1968
|
+
"can-loop": "",
|
|
1969
|
+
role: "list"
|
|
1970
|
+
}, rest.value, { class: classes.value }), {
|
|
1971
|
+
default: withCtx(() => [
|
|
1972
|
+
renderSlot(_ctx.$slots, "default")
|
|
1973
|
+
]),
|
|
1974
|
+
_: 3
|
|
1975
|
+
}, 16, ["class"]);
|
|
1976
|
+
};
|
|
1977
|
+
}
|
|
1978
|
+
});
|
|
1979
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
1980
|
+
...{ name: "NavigationMenuItem", inheritAttrs: false },
|
|
1981
|
+
__name: "NavigationMenuItem",
|
|
1982
|
+
props: {
|
|
1983
|
+
value: {}
|
|
1984
|
+
},
|
|
1985
|
+
setup(__props, { expose: __expose }) {
|
|
1986
|
+
const props = __props;
|
|
1987
|
+
const attrs = useAttrs();
|
|
1988
|
+
const el = useTemplateRef("el");
|
|
1989
|
+
const nav = useNavigationMenuContext();
|
|
1990
|
+
provide(navigationMenuItemContextKey, {
|
|
1991
|
+
get value() {
|
|
1992
|
+
return props.value;
|
|
1993
|
+
},
|
|
1994
|
+
open: computed(() => nav.activeId.value === props.value),
|
|
1995
|
+
triggerEl: shallowRef(null),
|
|
1996
|
+
contentId: useId(),
|
|
1997
|
+
triggerId: useId()
|
|
1998
|
+
});
|
|
1999
|
+
const classes = computed(() => cn("relative list-none", attrs.class));
|
|
2000
|
+
const rest = computed(() => {
|
|
2001
|
+
const { class: _class, ...others } = attrs;
|
|
2002
|
+
return others;
|
|
2003
|
+
});
|
|
2004
|
+
__expose({ el });
|
|
2005
|
+
return (_ctx, _cache) => {
|
|
2006
|
+
return openBlock(), createElementBlock("li", mergeProps({
|
|
2007
|
+
ref_key: "el",
|
|
2008
|
+
ref: el,
|
|
2009
|
+
role: "listitem"
|
|
2010
|
+
}, rest.value, { class: classes.value }), [
|
|
2011
|
+
renderSlot(_ctx.$slots, "default")
|
|
2012
|
+
], 16);
|
|
2013
|
+
};
|
|
2014
|
+
}
|
|
2015
|
+
});
|
|
2016
|
+
const _hoisted_1$9 = ["id", "aria-expanded", "aria-controls", "data-state", "tabindex"];
|
|
2017
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2018
|
+
...{ name: "NavigationMenuTrigger", inheritAttrs: false },
|
|
2019
|
+
__name: "NavigationMenuTrigger",
|
|
2020
|
+
setup(__props, { expose: __expose }) {
|
|
2021
|
+
const attrs = useAttrs();
|
|
2022
|
+
const nav = useNavigationMenuContext();
|
|
2023
|
+
const item = useNavigationMenuItemContext();
|
|
2024
|
+
const roving = useRovingFocusItem();
|
|
2025
|
+
const el = shallowRef(null);
|
|
2026
|
+
function setRef(node) {
|
|
2027
|
+
const button = node ?? null;
|
|
2028
|
+
el.value = button;
|
|
2029
|
+
item.triggerEl.value = button;
|
|
2030
|
+
roving.ref(node);
|
|
2031
|
+
}
|
|
2032
|
+
const isOpen = item.open;
|
|
2033
|
+
let wasOpenedByPointer = false;
|
|
2034
|
+
function handleClick(event) {
|
|
2035
|
+
if (event.defaultPrevented || NavExtensions.isDisabled(el.value)) return;
|
|
2036
|
+
if (wasOpenedByPointer) {
|
|
2037
|
+
wasOpenedByPointer = false;
|
|
2038
|
+
return;
|
|
2039
|
+
}
|
|
2040
|
+
nav.setActiveId(item.open.value ? null : item.value);
|
|
2041
|
+
}
|
|
2042
|
+
function handlePointerEnter() {
|
|
2043
|
+
if (NavExtensions.isDisabled(el.value)) return;
|
|
2044
|
+
if (nav.activeId.value !== null && nav.activeId.value !== item.value) {
|
|
2045
|
+
nav.setActiveId(item.value);
|
|
2046
|
+
wasOpenedByPointer = true;
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
function handlePointerLeave() {
|
|
2050
|
+
wasOpenedByPointer = false;
|
|
2051
|
+
}
|
|
2052
|
+
function handleFocus() {
|
|
2053
|
+
roving.onFocus();
|
|
2054
|
+
}
|
|
2055
|
+
function handleKeydown(event) {
|
|
2056
|
+
if (event.isComposing) return;
|
|
2057
|
+
if (event.defaultPrevented || NavExtensions.isDisabled(el.value)) return;
|
|
2058
|
+
if (event.key === "ArrowDown") {
|
|
2059
|
+
event.preventDefault();
|
|
2060
|
+
nav.setActiveId(item.value);
|
|
2061
|
+
void nextTick(() => {
|
|
2062
|
+
if (!item.open.value || NavExtensions.isDisabled(el.value)) return;
|
|
2063
|
+
const panel = el.value?.ownerDocument.getElementById(item.contentId);
|
|
2064
|
+
panel?.querySelector('a[href],button:not(:disabled),[tabindex="0"]')?.focus();
|
|
2065
|
+
});
|
|
2066
|
+
return;
|
|
2067
|
+
}
|
|
2068
|
+
roving.onKeydown(event);
|
|
2069
|
+
}
|
|
2070
|
+
const classes = computed(
|
|
2071
|
+
() => cn(
|
|
2072
|
+
"inline-flex items-center gap-1 rounded-md px-3 py-1.5 text-sm font-medium text-foreground transition-colors hover:bg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-muted",
|
|
2073
|
+
attrs.class
|
|
2074
|
+
)
|
|
2075
|
+
);
|
|
2076
|
+
const rest = computed(() => {
|
|
2077
|
+
const { class: _class, ...others } = attrs;
|
|
2078
|
+
return others;
|
|
2079
|
+
});
|
|
2080
|
+
__expose({ el });
|
|
2081
|
+
return (_ctx, _cache) => {
|
|
2082
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
2083
|
+
id: unref(item).triggerId,
|
|
2084
|
+
type: "button",
|
|
2085
|
+
"aria-haspopup": "true",
|
|
2086
|
+
"aria-expanded": unref(isOpen),
|
|
2087
|
+
"aria-controls": unref(item).contentId,
|
|
2088
|
+
"data-state": unref(isOpen) ? "open" : "closed",
|
|
2089
|
+
tabindex: unref(roving).tabindex,
|
|
2090
|
+
"data-roving-focus-item": true
|
|
2091
|
+
}, rest.value, {
|
|
2092
|
+
ref: setRef,
|
|
2093
|
+
class: classes.value,
|
|
2094
|
+
onClick: handleClick,
|
|
2095
|
+
onPointerenter: handlePointerEnter,
|
|
2096
|
+
onPointerleave: handlePointerLeave,
|
|
2097
|
+
onFocus: handleFocus,
|
|
2098
|
+
onKeydown: handleKeydown
|
|
2099
|
+
}), [
|
|
2100
|
+
renderSlot(_ctx.$slots, "default"),
|
|
2101
|
+
createVNode(unref(ChevronDown), {
|
|
2102
|
+
class: normalizeClass(unref(cn)("h-4 w-4 transition-transform", unref(isOpen) && "rotate-180"))
|
|
2103
|
+
}, null, 8, ["class"])
|
|
2104
|
+
], 16, _hoisted_1$9);
|
|
2105
|
+
};
|
|
2106
|
+
}
|
|
2107
|
+
});
|
|
2108
|
+
const _hoisted_1$8 = ["id", "aria-labelledby"];
|
|
2109
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2110
|
+
...{ name: "NavigationMenuContent", inheritAttrs: false },
|
|
2111
|
+
__name: "NavigationMenuContent",
|
|
2112
|
+
setup(__props, { expose: __expose }) {
|
|
2113
|
+
const attrs = useAttrs();
|
|
2114
|
+
const nav = useNavigationMenuContext();
|
|
2115
|
+
const item = useNavigationMenuItemContext();
|
|
2116
|
+
const reducedMotion = useReducedMotion();
|
|
2117
|
+
const isOpen = item.open;
|
|
2118
|
+
const anchor = computed(() => item.triggerEl.value);
|
|
2119
|
+
const el = shallowRef(null);
|
|
2120
|
+
const mounted = shallowRef(item.open.value);
|
|
2121
|
+
watch(
|
|
2122
|
+
[() => item.open.value, reducedMotion],
|
|
2123
|
+
([open, isReduced], _previous, onCleanup) => {
|
|
2124
|
+
if (open) {
|
|
2125
|
+
mounted.value = true;
|
|
2126
|
+
return;
|
|
2127
|
+
}
|
|
2128
|
+
if (!isReduced) return;
|
|
2129
|
+
if (typeof requestAnimationFrame === "undefined") return;
|
|
2130
|
+
const raf = requestAnimationFrame(() => {
|
|
2131
|
+
mounted.value = false;
|
|
2132
|
+
});
|
|
2133
|
+
onCleanup(() => cancelAnimationFrame(raf));
|
|
2134
|
+
},
|
|
2135
|
+
{ immediate: true, flush: "post" }
|
|
2136
|
+
);
|
|
2137
|
+
function handleClose() {
|
|
2138
|
+
if (el.value?.contains(el.value.ownerDocument.activeElement)) item.triggerEl.value?.focus();
|
|
2139
|
+
nav.setActiveId(null);
|
|
2140
|
+
}
|
|
2141
|
+
function handleOutsidePointerDown(event) {
|
|
2142
|
+
if (item.triggerEl.value?.contains(event.target)) return;
|
|
2143
|
+
nav.setActiveId(null);
|
|
2144
|
+
}
|
|
2145
|
+
function handleAnimationEnd() {
|
|
2146
|
+
if (!item.open.value) mounted.value = false;
|
|
2147
|
+
}
|
|
2148
|
+
function setPanel(node) {
|
|
2149
|
+
el.value = node ?? null;
|
|
2150
|
+
}
|
|
2151
|
+
const classes = computed(
|
|
2152
|
+
() => cn(
|
|
2153
|
+
/* pop (fade + slight scale) gated on data-state; motion-safe so
|
|
2154
|
+
reduced-motion users get no movement. */
|
|
2155
|
+
"min-w-[12rem] outline-hidden",
|
|
2156
|
+
"motion-safe:data-[state=open]:animate-(--animate-pop-in)",
|
|
2157
|
+
"motion-safe:data-[state=closed]:animate-(--animate-pop-out)",
|
|
2158
|
+
"motion-reduce:animate-none",
|
|
2159
|
+
surfaceVariants({ variant: "raised", radius: "md", padding: "md" }),
|
|
2160
|
+
attrs.class
|
|
2161
|
+
)
|
|
2162
|
+
);
|
|
2163
|
+
const rest = computed(() => {
|
|
2164
|
+
const { class: _class, ...others } = attrs;
|
|
2165
|
+
return others;
|
|
2166
|
+
});
|
|
2167
|
+
__expose({ el });
|
|
2168
|
+
return (_ctx, _cache) => {
|
|
2169
|
+
return mounted.value ? (openBlock(), createBlock(unref(_sfc_main$D), { key: 0 }, {
|
|
2170
|
+
default: withCtx(() => [
|
|
2171
|
+
createVNode(unref(_sfc_main$E), {
|
|
2172
|
+
anchor: anchor.value,
|
|
2173
|
+
placement: "bottom-start",
|
|
2174
|
+
offset: 6,
|
|
2175
|
+
class: "z-dropdown"
|
|
2176
|
+
}, {
|
|
2177
|
+
default: withCtx(() => [
|
|
2178
|
+
createVNode(unref(_sfc_main$G), {
|
|
2179
|
+
"on-escape": handleClose,
|
|
2180
|
+
"on-outside-pointer-down": handleOutsidePointerDown
|
|
2181
|
+
}, {
|
|
2182
|
+
default: withCtx(() => [
|
|
2183
|
+
createVNode(unref(Presence), { "is-present": unref(isOpen) }, {
|
|
2184
|
+
default: withCtx(() => [
|
|
2185
|
+
createElementVNode("div", mergeProps({
|
|
2186
|
+
id: unref(item).contentId,
|
|
2187
|
+
"aria-labelledby": unref(item).triggerId
|
|
2188
|
+
}, rest.value, {
|
|
2189
|
+
ref: setPanel,
|
|
2190
|
+
class: classes.value,
|
|
2191
|
+
onAnimationend: handleAnimationEnd
|
|
2192
|
+
}), [
|
|
2193
|
+
renderSlot(_ctx.$slots, "default")
|
|
2194
|
+
], 16, _hoisted_1$8)
|
|
2195
|
+
]),
|
|
2196
|
+
_: 3
|
|
2197
|
+
}, 8, ["is-present"])
|
|
2198
|
+
]),
|
|
2199
|
+
_: 3
|
|
2200
|
+
})
|
|
2201
|
+
]),
|
|
2202
|
+
_: 3
|
|
2203
|
+
}, 8, ["anchor"])
|
|
2204
|
+
]),
|
|
2205
|
+
_: 3
|
|
2206
|
+
})) : createCommentVNode("", true);
|
|
2207
|
+
};
|
|
2208
|
+
}
|
|
2209
|
+
});
|
|
2210
|
+
const _hoisted_1$7 = ["tabindex"];
|
|
2211
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2212
|
+
...{ name: "NavigationMenuLink", inheritAttrs: false },
|
|
2213
|
+
__name: "NavigationMenuLink",
|
|
2214
|
+
setup(__props, { expose: __expose }) {
|
|
2215
|
+
const attrs = useAttrs();
|
|
2216
|
+
const roving = useRovingFocusItem();
|
|
2217
|
+
const el = shallowRef(null);
|
|
2218
|
+
function setRef(node) {
|
|
2219
|
+
el.value = node ?? null;
|
|
2220
|
+
roving.ref(node);
|
|
2221
|
+
}
|
|
2222
|
+
function handleFocus() {
|
|
2223
|
+
roving.onFocus();
|
|
2224
|
+
}
|
|
2225
|
+
function handleKeydown(event) {
|
|
2226
|
+
if (event.defaultPrevented) return;
|
|
2227
|
+
roving.onKeydown(event);
|
|
2228
|
+
}
|
|
2229
|
+
const classes = computed(
|
|
2230
|
+
() => cn(
|
|
2231
|
+
"inline-flex items-center rounded-md px-3 py-1.5 text-sm font-medium text-foreground transition-colors hover:bg-muted hover:underline-offset-2 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
2232
|
+
attrs.class
|
|
2233
|
+
)
|
|
2234
|
+
);
|
|
2235
|
+
const rest = computed(() => {
|
|
2236
|
+
const { class: _class, ...others } = attrs;
|
|
2237
|
+
return others;
|
|
2238
|
+
});
|
|
2239
|
+
__expose({ el });
|
|
2240
|
+
return (_ctx, _cache) => {
|
|
2241
|
+
return openBlock(), createElementBlock("a", mergeProps({
|
|
2242
|
+
tabindex: unref(roving).tabindex,
|
|
2243
|
+
"data-roving-focus-item": true
|
|
2244
|
+
}, rest.value, {
|
|
2245
|
+
ref: setRef,
|
|
2246
|
+
class: classes.value,
|
|
2247
|
+
onFocus: handleFocus,
|
|
2248
|
+
onKeydown: handleKeydown
|
|
2249
|
+
}), [
|
|
2250
|
+
renderSlot(_ctx.$slots, "default")
|
|
2251
|
+
], 16, _hoisted_1$7);
|
|
2252
|
+
};
|
|
2253
|
+
}
|
|
2254
|
+
});
|
|
2255
|
+
function useScrollSpy(ids, options = {}) {
|
|
2256
|
+
const activeId = shallowRef(null);
|
|
2257
|
+
const mounted = shallowRef(false);
|
|
2258
|
+
onMounted(() => {
|
|
2259
|
+
mounted.value = true;
|
|
2260
|
+
});
|
|
2261
|
+
watch(
|
|
2262
|
+
[
|
|
2263
|
+
() => [...toValue(ids)],
|
|
2264
|
+
() => toValue(options.rootMargin) ?? "0px 0px -60% 0px",
|
|
2265
|
+
() => toValue(options.threshold) ?? 0,
|
|
2266
|
+
() => toValue(options.root) ?? null,
|
|
2267
|
+
mounted
|
|
2268
|
+
],
|
|
2269
|
+
([idList, rootMargin, threshold, root, isMounted], _previous, onCleanup) => {
|
|
2270
|
+
activeId.value = null;
|
|
2271
|
+
if (!isMounted) return;
|
|
2272
|
+
if (typeof document === "undefined" || typeof IntersectionObserver === "undefined" || idList.length === 0) {
|
|
2273
|
+
return;
|
|
2274
|
+
}
|
|
2275
|
+
let active = true;
|
|
2276
|
+
const seen = /* @__PURE__ */ new Map();
|
|
2277
|
+
const elements = idList.map((id) => document.getElementById(id)).filter((el) => el != null);
|
|
2278
|
+
const observer = new IntersectionObserver(
|
|
2279
|
+
(entries) => {
|
|
2280
|
+
if (!active) return;
|
|
2281
|
+
for (const e of entries) {
|
|
2282
|
+
if (e.isIntersecting) {
|
|
2283
|
+
seen.set(e.target.id, e.boundingClientRect.top);
|
|
2284
|
+
} else {
|
|
2285
|
+
seen.delete(e.target.id);
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
if (seen.size === 0) {
|
|
2289
|
+
activeId.value = null;
|
|
2290
|
+
return;
|
|
2291
|
+
}
|
|
2292
|
+
let bestId = null;
|
|
2293
|
+
let bestTop = Number.POSITIVE_INFINITY;
|
|
2294
|
+
for (const [id, top] of seen) {
|
|
2295
|
+
if (top < bestTop) {
|
|
2296
|
+
bestTop = top;
|
|
2297
|
+
bestId = id;
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
activeId.value = bestId;
|
|
2301
|
+
},
|
|
2302
|
+
/* `IntersectionObserverInit.threshold` is spelled `number[]`; the option keeps the readonly form for
|
|
2303
|
+
callers, and the observer only reads the list. */
|
|
2304
|
+
{ rootMargin, threshold, root }
|
|
2305
|
+
);
|
|
2306
|
+
for (const el of elements) observer.observe(el);
|
|
2307
|
+
onCleanup(() => {
|
|
2308
|
+
active = false;
|
|
2309
|
+
observer.disconnect();
|
|
2310
|
+
});
|
|
2311
|
+
},
|
|
2312
|
+
{ immediate: true, flush: "post" }
|
|
2313
|
+
);
|
|
2314
|
+
return activeId;
|
|
2315
|
+
}
|
|
2316
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2317
|
+
...{ name: "ScrollSpy" },
|
|
2318
|
+
__name: "ScrollSpy",
|
|
2319
|
+
props: {
|
|
2320
|
+
ids: {},
|
|
2321
|
+
rootMargin: {},
|
|
2322
|
+
threshold: {},
|
|
2323
|
+
root: {}
|
|
2324
|
+
},
|
|
2325
|
+
emits: ["active-change"],
|
|
2326
|
+
setup(__props, { emit: __emit }) {
|
|
2327
|
+
const props = __props;
|
|
2328
|
+
const emit = __emit;
|
|
2329
|
+
const activeId = useScrollSpy(() => props.ids, {
|
|
2330
|
+
rootMargin: () => props.rootMargin,
|
|
2331
|
+
threshold: () => props.threshold,
|
|
2332
|
+
root: () => props.root
|
|
2333
|
+
});
|
|
2334
|
+
watch(activeId, (id) => emit("active-change", id), { immediate: true, flush: "post" });
|
|
2335
|
+
return (_ctx, _cache) => {
|
|
2336
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ activeId: unref(activeId) })));
|
|
2337
|
+
};
|
|
2338
|
+
}
|
|
2339
|
+
});
|
|
2340
|
+
const _hoisted_1$6 = ["aria-label"];
|
|
2341
|
+
const _hoisted_2$6 = { class: "space-y-1 text-sm" };
|
|
2342
|
+
const _hoisted_3$3 = ["href", "aria-current", "onClick"];
|
|
2343
|
+
function depthFromTagName(tag) {
|
|
2344
|
+
const match = /^H([1-6])$/i.exec(tag);
|
|
2345
|
+
return match ? Number(match[1]) - 2 : 0;
|
|
2346
|
+
}
|
|
2347
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2348
|
+
...{ name: "TableOfContents", inheritAttrs: false },
|
|
2349
|
+
__name: "TableOfContents",
|
|
2350
|
+
props: {
|
|
2351
|
+
items: {},
|
|
2352
|
+
source: {},
|
|
2353
|
+
headingSelector: { default: "h2, h3" },
|
|
2354
|
+
activeId: { default: void 0 },
|
|
2355
|
+
isSticky: { type: Boolean },
|
|
2356
|
+
canUpdateHash: { type: Boolean, default: true }
|
|
2357
|
+
},
|
|
2358
|
+
setup(__props, { expose: __expose }) {
|
|
2359
|
+
const locale = useLocale();
|
|
2360
|
+
const props = __props;
|
|
2361
|
+
const attrs = useAttrs();
|
|
2362
|
+
const el = useTemplateRef("el");
|
|
2363
|
+
const extracted = shallowRef([]);
|
|
2364
|
+
watch(
|
|
2365
|
+
[() => props.items, () => props.source, () => props.headingSelector],
|
|
2366
|
+
([itemsProp, source, headingSelector]) => {
|
|
2367
|
+
if (itemsProp || !source) return;
|
|
2368
|
+
const headings = Array.from(source.querySelectorAll(headingSelector));
|
|
2369
|
+
extracted.value = headings.filter((h) => h.id).map((h) => ({
|
|
2370
|
+
id: h.id,
|
|
2371
|
+
label: h.textContent ?? "",
|
|
2372
|
+
depth: Math.max(0, depthFromTagName(h.tagName))
|
|
2373
|
+
}));
|
|
2374
|
+
},
|
|
2375
|
+
{ immediate: true, flush: "post" }
|
|
2376
|
+
);
|
|
2377
|
+
const items = computed(() => props.items ?? extracted.value);
|
|
2378
|
+
const ids = computed(() => items.value.map((i) => i.id));
|
|
2379
|
+
const spyId = useScrollSpy(() => ids.value);
|
|
2380
|
+
const activeId = computed(() => props.activeId !== void 0 ? props.activeId : spyId.value);
|
|
2381
|
+
const reducedMotion = useReducedMotion();
|
|
2382
|
+
function onFollow(event, id) {
|
|
2383
|
+
if (props.canUpdateHash || event.defaultPrevented || event.button !== 0) return;
|
|
2384
|
+
if (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
|
|
2385
|
+
const heading = el.value?.ownerDocument.getElementById(id);
|
|
2386
|
+
if (!heading) return;
|
|
2387
|
+
event.preventDefault();
|
|
2388
|
+
heading.scrollIntoView({ block: "start", behavior: reducedMotion.value ? "auto" : "smooth" });
|
|
2389
|
+
if (!heading.hasAttribute("tabindex")) heading.setAttribute("tabindex", "-1");
|
|
2390
|
+
heading.focus({ preventScroll: true });
|
|
2391
|
+
}
|
|
2392
|
+
const classes = computed(() => cn(props.isSticky && "sticky top-4 self-start", attrs.class));
|
|
2393
|
+
const rest = computed(() => {
|
|
2394
|
+
const { class: _class, ...others } = attrs;
|
|
2395
|
+
return others;
|
|
2396
|
+
});
|
|
2397
|
+
__expose({ el });
|
|
2398
|
+
return (_ctx, _cache) => {
|
|
2399
|
+
return items.value.length > 0 ? (openBlock(), createElementBlock("nav", mergeProps({
|
|
2400
|
+
key: 0,
|
|
2401
|
+
ref_key: "el",
|
|
2402
|
+
ref: el,
|
|
2403
|
+
"aria-label": unref(locale).t("TableOfContents.tableOfContents", void 0, "Table of contents")
|
|
2404
|
+
}, rest.value, { class: classes.value }), [
|
|
2405
|
+
createElementVNode("ul", _hoisted_2$6, [
|
|
2406
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, i) => {
|
|
2407
|
+
return openBlock(), createElementBlock("li", {
|
|
2408
|
+
key: item.id,
|
|
2409
|
+
style: normalizeStyle({ paddingLeft: `${(item.depth ?? 0) * 12}px` })
|
|
2410
|
+
}, [
|
|
2411
|
+
createElementVNode("a", {
|
|
2412
|
+
href: `#${item.id}`,
|
|
2413
|
+
"aria-current": item.id === activeId.value ? "location" : void 0,
|
|
2414
|
+
onClick: ($event) => onFollow($event, item.id),
|
|
2415
|
+
class: normalizeClass(
|
|
2416
|
+
unref(cn)(
|
|
2417
|
+
"block rounded-sm px-2 py-1 transition-colors",
|
|
2418
|
+
item.id === activeId.value ? "bg-muted font-medium text-foreground" : "text-muted-foreground hover:bg-muted/40 hover:text-foreground"
|
|
2419
|
+
)
|
|
2420
|
+
)
|
|
2421
|
+
}, [
|
|
2422
|
+
renderSlot(_ctx.$slots, "label", {
|
|
2423
|
+
item,
|
|
2424
|
+
index: i
|
|
2425
|
+
}, () => [
|
|
2426
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
2427
|
+
])
|
|
2428
|
+
], 10, _hoisted_3$3)
|
|
2429
|
+
], 4);
|
|
2430
|
+
}), 128))
|
|
2431
|
+
])
|
|
2432
|
+
], 16, _hoisted_1$6)) : createCommentVNode("", true);
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2435
|
+
});
|
|
2436
|
+
const LinkItemVariant = {
|
|
2437
|
+
/** Refers to the primary-colored link. */
|
|
2438
|
+
Default: "default",
|
|
2439
|
+
/** Refers to a foreground-colored, underline-on-hover link. */
|
|
2440
|
+
Subtle: "subtle",
|
|
2441
|
+
/** Refers to a muted link that brightens on hover. */
|
|
2442
|
+
Muted: "muted",
|
|
2443
|
+
/** Refers to a link that inherits the surrounding text color. */
|
|
2444
|
+
Inherit: "inherit"
|
|
2445
|
+
};
|
|
2446
|
+
const LinkItemSize = {
|
|
2447
|
+
/** Refers to the small text size. */
|
|
2448
|
+
Sm: "sm",
|
|
2449
|
+
/** Refers to the base (default) text size. */
|
|
2450
|
+
Md: "md",
|
|
2451
|
+
/** Refers to the large text size. */
|
|
2452
|
+
Lg: "lg"
|
|
2453
|
+
};
|
|
2454
|
+
const linkVariants = tv({
|
|
2455
|
+
base: "inline-flex items-center transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring rounded-sm",
|
|
2456
|
+
variants: {
|
|
2457
|
+
variant: {
|
|
2458
|
+
/* `-soft-foreground`, not `text-primary`: a link has no fill of its own, so it lands on
|
|
2459
|
+
whatever surface hosts it — the pairing `--color-primary-soft-foreground` is toned for.
|
|
2460
|
+
`text-primary` measured 4.19:1 on `theme-smart-qr`'s own page background, under AA for
|
|
2461
|
+
body text. Same fix as `Button.variants.ts` and `foundation/styles/constants/Tones.ts`. */
|
|
2462
|
+
default: "text-primary-soft-foreground hover:text-primary-soft-foreground/85 hover:underline",
|
|
2463
|
+
subtle: "text-foreground hover:underline",
|
|
2464
|
+
muted: "text-muted-foreground hover:text-foreground hover:underline",
|
|
2465
|
+
inherit: "text-current underline-offset-2 hover:underline"
|
|
2466
|
+
},
|
|
2467
|
+
size: {
|
|
2468
|
+
sm: "text-sm",
|
|
2469
|
+
md: "text-base",
|
|
2470
|
+
lg: "text-lg"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
defaultVariants: {
|
|
2474
|
+
variant: "default",
|
|
2475
|
+
size: "md"
|
|
2476
|
+
}
|
|
2477
|
+
});
|
|
2478
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2479
|
+
...{ name: "LinkItem", inheritAttrs: false },
|
|
2480
|
+
__name: "LinkItem",
|
|
2481
|
+
props: {
|
|
2482
|
+
variant: {},
|
|
2483
|
+
size: {},
|
|
2484
|
+
asChild: { type: Boolean, default: false }
|
|
2485
|
+
},
|
|
2486
|
+
setup(__props, { expose: __expose }) {
|
|
2487
|
+
const props = __props;
|
|
2488
|
+
const attrs = useAttrs();
|
|
2489
|
+
const OwnedAttributes = /* @__PURE__ */ new Set(["class"]);
|
|
2490
|
+
const passthroughAttrs = computed(() => ({
|
|
2491
|
+
...Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key))),
|
|
2492
|
+
href: UrlExtensions.safeNavigation(attrs.href)
|
|
2493
|
+
}));
|
|
2494
|
+
const rootClass = computed(
|
|
2495
|
+
() => cn(linkVariants({ variant: props.variant, size: props.size }), attrs.class)
|
|
2496
|
+
);
|
|
2497
|
+
const root = useTemplateRef("root");
|
|
2498
|
+
const el = computed(() => {
|
|
2499
|
+
const node = root.value?.$el;
|
|
2500
|
+
return node instanceof HTMLElement ? node : null;
|
|
2501
|
+
});
|
|
2502
|
+
__expose({ el });
|
|
2503
|
+
return (_ctx, _cache) => {
|
|
2504
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
2505
|
+
ref_key: "root",
|
|
2506
|
+
ref: root,
|
|
2507
|
+
as: unref(HtmlElement).Anchor,
|
|
2508
|
+
"as-child": __props.asChild,
|
|
2509
|
+
class: rootClass.value
|
|
2510
|
+
}, passthroughAttrs.value), {
|
|
2511
|
+
default: withCtx(() => [
|
|
2512
|
+
renderSlot(_ctx.$slots, "default")
|
|
2513
|
+
]),
|
|
2514
|
+
_: 3
|
|
2515
|
+
}, 16, ["as", "as-child", "class"]);
|
|
2516
|
+
};
|
|
2517
|
+
}
|
|
2518
|
+
});
|
|
2519
|
+
const _hoisted_1$5 = ["aria-label"];
|
|
2520
|
+
const _hoisted_2$5 = {
|
|
2521
|
+
role: "list",
|
|
2522
|
+
class: "mx-auto grid max-w-lg auto-cols-fr grid-flow-col"
|
|
2523
|
+
};
|
|
2524
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2525
|
+
...{ name: "BottomNavMenu", inheritAttrs: false },
|
|
2526
|
+
__name: "BottomNavMenu",
|
|
2527
|
+
props: {
|
|
2528
|
+
isFixed: { type: Boolean, default: true }
|
|
2529
|
+
},
|
|
2530
|
+
setup(__props) {
|
|
2531
|
+
const props = __props;
|
|
2532
|
+
const attrs = useAttrs();
|
|
2533
|
+
const locale = useLocale();
|
|
2534
|
+
const landmarkName = computed(
|
|
2535
|
+
() => attrs[AriaAttribute.Label] ?? locale.t("BottomNavMenu.label", void 0, "Primary")
|
|
2536
|
+
);
|
|
2537
|
+
const rest = computed(() => {
|
|
2538
|
+
const { class: _class, [AriaAttribute.Label]: _label, ...others } = attrs;
|
|
2539
|
+
return others;
|
|
2540
|
+
});
|
|
2541
|
+
const classes = computed(
|
|
2542
|
+
() => cn(
|
|
2543
|
+
"border-t border-border bg-background pb-[env(safe-area-inset-bottom)]",
|
|
2544
|
+
props.isFixed && "fixed inset-x-0 bottom-0 z-sticky",
|
|
2545
|
+
attrs.class
|
|
2546
|
+
)
|
|
2547
|
+
);
|
|
2548
|
+
return (_ctx, _cache) => {
|
|
2549
|
+
return openBlock(), createElementBlock("nav", mergeProps(rest.value, {
|
|
2550
|
+
"aria-label": landmarkName.value,
|
|
2551
|
+
class: classes.value
|
|
2552
|
+
}), [
|
|
2553
|
+
createElementVNode("ul", _hoisted_2$5, [
|
|
2554
|
+
renderSlot(_ctx.$slots, "default")
|
|
2555
|
+
])
|
|
2556
|
+
], 16, _hoisted_1$5);
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
});
|
|
2560
|
+
const _hoisted_1$4 = { class: "flex" };
|
|
2561
|
+
const _hoisted_2$4 = {
|
|
2562
|
+
key: 0,
|
|
2563
|
+
class: "relative inline-flex"
|
|
2564
|
+
};
|
|
2565
|
+
const _hoisted_3$2 = {
|
|
2566
|
+
key: 0,
|
|
2567
|
+
class: "inline-flex",
|
|
2568
|
+
"aria-hidden": "true"
|
|
2569
|
+
};
|
|
2570
|
+
const _hoisted_4$1 = {
|
|
2571
|
+
key: 2,
|
|
2572
|
+
class: "max-w-full truncate"
|
|
2573
|
+
};
|
|
2574
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2575
|
+
...{ name: "BottomNavMenuItem", inheritAttrs: false },
|
|
2576
|
+
__name: "BottomNavMenuItem",
|
|
2577
|
+
props: {
|
|
2578
|
+
isActive: { type: Boolean, default: void 0 },
|
|
2579
|
+
asChild: { type: Boolean, default: false }
|
|
2580
|
+
},
|
|
2581
|
+
setup(__props, { expose: __expose }) {
|
|
2582
|
+
const props = __props;
|
|
2583
|
+
const attrs = useAttrs();
|
|
2584
|
+
const inner = useTemplateRef("inner");
|
|
2585
|
+
const rest = computed(() => {
|
|
2586
|
+
const { class: _class, ...others } = attrs;
|
|
2587
|
+
return others;
|
|
2588
|
+
});
|
|
2589
|
+
const classes = computed(
|
|
2590
|
+
() => cn(
|
|
2591
|
+
"group flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-1.5 text-xs font-medium",
|
|
2592
|
+
"text-muted-foreground transition-colors hover:text-foreground",
|
|
2593
|
+
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",
|
|
2594
|
+
"data-[active]:text-primary-soft-foreground",
|
|
2595
|
+
attrs.class
|
|
2596
|
+
)
|
|
2597
|
+
);
|
|
2598
|
+
const el = computed(() => resolveElement(inner.value));
|
|
2599
|
+
__expose({ el });
|
|
2600
|
+
return (_ctx, _cache) => {
|
|
2601
|
+
return openBlock(), createElementBlock("li", _hoisted_1$4, [
|
|
2602
|
+
createVNode(unref(Primitive), mergeProps({
|
|
2603
|
+
ref_key: "inner",
|
|
2604
|
+
ref: inner,
|
|
2605
|
+
as: "a",
|
|
2606
|
+
"as-child": props.asChild,
|
|
2607
|
+
"aria-current": props.isActive ? "page" : void 0,
|
|
2608
|
+
"data-active": unref(dataAttr)(props.isActive)
|
|
2609
|
+
}, rest.value, { class: classes.value }), {
|
|
2610
|
+
default: withCtx(() => [
|
|
2611
|
+
_ctx.$slots.icon || _ctx.$slots.badge ? (openBlock(), createElementBlock("span", _hoisted_2$4, [
|
|
2612
|
+
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_3$2, [
|
|
2613
|
+
renderSlot(_ctx.$slots, "icon")
|
|
2614
|
+
])) : createCommentVNode("", true),
|
|
2615
|
+
_ctx.$slots.badge ? (openBlock(), createElementBlock("span", {
|
|
2616
|
+
key: 1,
|
|
2617
|
+
class: normalizeClass(_ctx.$slots.icon ? "absolute -end-2 -top-1.5" : "inline-flex")
|
|
2618
|
+
}, [
|
|
2619
|
+
renderSlot(_ctx.$slots, "badge")
|
|
2620
|
+
], 2)) : createCommentVNode("", true)
|
|
2621
|
+
])) : createCommentVNode("", true),
|
|
2622
|
+
props.asChild ? (openBlock(), createBlock(unref(Slottable), { key: 1 }, {
|
|
2623
|
+
default: withCtx(() => [
|
|
2624
|
+
renderSlot(_ctx.$slots, "default")
|
|
2625
|
+
]),
|
|
2626
|
+
_: 3
|
|
2627
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_4$1, [
|
|
2628
|
+
renderSlot(_ctx.$slots, "default")
|
|
2629
|
+
]))
|
|
2630
|
+
]),
|
|
2631
|
+
_: 3
|
|
2632
|
+
}, 16, ["as-child", "aria-current", "data-active", "class"])
|
|
2633
|
+
]);
|
|
2634
|
+
};
|
|
2635
|
+
}
|
|
2636
|
+
});
|
|
2637
|
+
const SidebarMenuKey = Symbol("wow-two.sidebarMenu");
|
|
2638
|
+
const Standalone = { isCollapsed: false };
|
|
2639
|
+
function useSidebarMenuContext() {
|
|
2640
|
+
return inject(SidebarMenuKey, Standalone);
|
|
2641
|
+
}
|
|
2642
|
+
const _hoisted_1$3 = ["aria-label", "data-collapsed"];
|
|
2643
|
+
const _hoisted_2$3 = {
|
|
2644
|
+
role: "list",
|
|
2645
|
+
class: "flex flex-col gap-0.5"
|
|
2646
|
+
};
|
|
2647
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2648
|
+
...{ name: "SidebarMenu", inheritAttrs: false },
|
|
2649
|
+
__name: "SidebarMenu",
|
|
2650
|
+
props: {
|
|
2651
|
+
isCollapsed: { type: Boolean, default: false }
|
|
2652
|
+
},
|
|
2653
|
+
setup(__props) {
|
|
2654
|
+
const props = __props;
|
|
2655
|
+
const attrs = useAttrs();
|
|
2656
|
+
const locale = useLocale();
|
|
2657
|
+
provide(SidebarMenuKey, {
|
|
2658
|
+
get isCollapsed() {
|
|
2659
|
+
return props.isCollapsed;
|
|
2660
|
+
}
|
|
2661
|
+
});
|
|
2662
|
+
const landmarkName = computed(
|
|
2663
|
+
() => attrs[AriaAttribute.Label] ?? locale.t("SidebarMenu.label", void 0, "Sidebar")
|
|
2664
|
+
);
|
|
2665
|
+
const rest = computed(() => {
|
|
2666
|
+
const { class: _class, [AriaAttribute.Label]: _label, ...others } = attrs;
|
|
2667
|
+
return others;
|
|
2668
|
+
});
|
|
2669
|
+
const classes = computed(() => cn("flex flex-col", attrs.class));
|
|
2670
|
+
return (_ctx, _cache) => {
|
|
2671
|
+
return openBlock(), createElementBlock("nav", mergeProps(rest.value, {
|
|
2672
|
+
"aria-label": landmarkName.value,
|
|
2673
|
+
"data-collapsed": unref(dataAttr)(props.isCollapsed),
|
|
2674
|
+
class: classes.value
|
|
2675
|
+
}), [
|
|
2676
|
+
createElementVNode("ul", _hoisted_2$3, [
|
|
2677
|
+
renderSlot(_ctx.$slots, "default")
|
|
2678
|
+
])
|
|
2679
|
+
], 16, _hoisted_1$3);
|
|
2680
|
+
};
|
|
2681
|
+
}
|
|
2682
|
+
});
|
|
2683
|
+
const _hoisted_1$2 = { class: "flex" };
|
|
2684
|
+
const _hoisted_2$2 = {
|
|
2685
|
+
key: 0,
|
|
2686
|
+
class: "inline-flex shrink-0 text-muted-foreground group-data-[active]:text-current",
|
|
2687
|
+
"aria-hidden": "true"
|
|
2688
|
+
};
|
|
2689
|
+
const _hoisted_3$1 = {
|
|
2690
|
+
key: 3,
|
|
2691
|
+
class: "ms-auto shrink-0"
|
|
2692
|
+
};
|
|
2693
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2694
|
+
...{ name: "SidebarMenuItem", inheritAttrs: false },
|
|
2695
|
+
__name: "SidebarMenuItem",
|
|
2696
|
+
props: {
|
|
2697
|
+
isActive: { type: Boolean, default: void 0 },
|
|
2698
|
+
asChild: { type: Boolean, default: false }
|
|
2699
|
+
},
|
|
2700
|
+
setup(__props, { expose: __expose }) {
|
|
2701
|
+
const props = __props;
|
|
2702
|
+
const attrs = useAttrs();
|
|
2703
|
+
const context = useSidebarMenuContext();
|
|
2704
|
+
const inner = useTemplateRef("inner");
|
|
2705
|
+
const rest = computed(() => {
|
|
2706
|
+
const { class: _class, ...others } = attrs;
|
|
2707
|
+
return others;
|
|
2708
|
+
});
|
|
2709
|
+
const classes = computed(
|
|
2710
|
+
() => cn(
|
|
2711
|
+
"group flex h-9 w-full items-center gap-2.5 rounded-md px-2.5 text-sm font-medium text-foreground",
|
|
2712
|
+
"transition-colors hover:bg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
2713
|
+
"data-[active]:bg-primary-soft data-[active]:text-primary-soft-foreground",
|
|
2714
|
+
context.isCollapsed && "justify-center px-0",
|
|
2715
|
+
attrs.class
|
|
2716
|
+
)
|
|
2717
|
+
);
|
|
2718
|
+
const el = computed(() => resolveElement(inner.value));
|
|
2719
|
+
__expose({ el });
|
|
2720
|
+
return (_ctx, _cache) => {
|
|
2721
|
+
return openBlock(), createElementBlock("li", _hoisted_1$2, [
|
|
2722
|
+
createVNode(unref(Primitive), mergeProps({
|
|
2723
|
+
ref_key: "inner",
|
|
2724
|
+
ref: inner,
|
|
2725
|
+
as: "a",
|
|
2726
|
+
"as-child": props.asChild,
|
|
2727
|
+
"aria-current": props.isActive ? "page" : void 0,
|
|
2728
|
+
"data-active": unref(dataAttr)(props.isActive)
|
|
2729
|
+
}, rest.value, { class: classes.value }), {
|
|
2730
|
+
default: withCtx(() => [
|
|
2731
|
+
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$2, [
|
|
2732
|
+
renderSlot(_ctx.$slots, "icon")
|
|
2733
|
+
])) : createCommentVNode("", true),
|
|
2734
|
+
props.asChild ? (openBlock(), createBlock(unref(Slottable), { key: 1 }, {
|
|
2735
|
+
default: withCtx(() => [
|
|
2736
|
+
renderSlot(_ctx.$slots, "default")
|
|
2737
|
+
]),
|
|
2738
|
+
_: 3
|
|
2739
|
+
})) : (openBlock(), createElementBlock("span", {
|
|
2740
|
+
key: 2,
|
|
2741
|
+
class: normalizeClass(unref(context).isCollapsed ? "sr-only" : "flex-1 truncate text-start")
|
|
2742
|
+
}, [
|
|
2743
|
+
renderSlot(_ctx.$slots, "default")
|
|
2744
|
+
], 2)),
|
|
2745
|
+
_ctx.$slots.trailing && !unref(context).isCollapsed ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
|
|
2746
|
+
renderSlot(_ctx.$slots, "trailing")
|
|
2747
|
+
])) : createCommentVNode("", true)
|
|
2748
|
+
]),
|
|
2749
|
+
_: 3
|
|
2750
|
+
}, 16, ["as-child", "aria-current", "data-active", "class"])
|
|
2751
|
+
]);
|
|
2752
|
+
};
|
|
2753
|
+
}
|
|
2754
|
+
});
|
|
2755
|
+
const _hoisted_1$1 = ["data-state"];
|
|
2756
|
+
const _hoisted_2$1 = ["aria-expanded", "aria-controls"];
|
|
2757
|
+
const _hoisted_3 = {
|
|
2758
|
+
key: 0,
|
|
2759
|
+
class: "inline-flex shrink-0 text-muted-foreground",
|
|
2760
|
+
"aria-hidden": "true"
|
|
2761
|
+
};
|
|
2762
|
+
const _hoisted_4 = ["id", "aria-label"];
|
|
2763
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
2764
|
+
...{ name: "SidebarMenuGroup", inheritAttrs: false },
|
|
2765
|
+
__name: "SidebarMenuGroup",
|
|
2766
|
+
props: {
|
|
2767
|
+
label: {},
|
|
2768
|
+
open: { type: Boolean, default: void 0 },
|
|
2769
|
+
defaultOpen: { type: Boolean, default: false }
|
|
2770
|
+
},
|
|
2771
|
+
emits: ["update:open"],
|
|
2772
|
+
setup(__props, { emit: __emit }) {
|
|
2773
|
+
const props = __props;
|
|
2774
|
+
const emit = __emit;
|
|
2775
|
+
const attrs = useAttrs();
|
|
2776
|
+
const context = useSidebarMenuContext();
|
|
2777
|
+
const listId = useId("sidebar-group");
|
|
2778
|
+
const controlled = useControlled({
|
|
2779
|
+
controlled: () => props.open,
|
|
2780
|
+
default: () => props.defaultOpen,
|
|
2781
|
+
onChange: (next) => {
|
|
2782
|
+
emit("update:open", next);
|
|
2783
|
+
}
|
|
2784
|
+
});
|
|
2785
|
+
const isOpen = controlled.value;
|
|
2786
|
+
const isShown = computed(() => isOpen.value && !context.isCollapsed);
|
|
2787
|
+
function toggle() {
|
|
2788
|
+
controlled.setValue(!isOpen.value);
|
|
2789
|
+
}
|
|
2790
|
+
const rest = computed(() => {
|
|
2791
|
+
const { class: _class, ...others } = attrs;
|
|
2792
|
+
return others;
|
|
2793
|
+
});
|
|
2794
|
+
const rootClasses = computed(() => cn("flex flex-col", attrs.class));
|
|
2795
|
+
const toggleClasses = computed(
|
|
2796
|
+
() => cn(
|
|
2797
|
+
"flex h-9 w-full items-center gap-2.5 rounded-md px-2.5 text-sm font-medium text-foreground",
|
|
2798
|
+
"transition-colors hover:bg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
2799
|
+
context.isCollapsed && "justify-center px-0"
|
|
2800
|
+
)
|
|
2801
|
+
);
|
|
2802
|
+
const listClasses = computed(
|
|
2803
|
+
() => cn("flex flex-col gap-0.5 pt-0.5", !context.isCollapsed && "ms-4 border-s border-border ps-2")
|
|
2804
|
+
);
|
|
2805
|
+
return (_ctx, _cache) => {
|
|
2806
|
+
return openBlock(), createElementBlock("li", mergeProps(rest.value, {
|
|
2807
|
+
class: rootClasses.value,
|
|
2808
|
+
"data-state": unref(isOpen) ? "open" : "closed"
|
|
2809
|
+
}), [
|
|
2810
|
+
createElementVNode("button", {
|
|
2811
|
+
type: "button",
|
|
2812
|
+
"aria-expanded": isShown.value,
|
|
2813
|
+
"aria-controls": unref(listId),
|
|
2814
|
+
class: normalizeClass(toggleClasses.value),
|
|
2815
|
+
onClick: toggle
|
|
2816
|
+
}, [
|
|
2817
|
+
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
2818
|
+
renderSlot(_ctx.$slots, "icon")
|
|
2819
|
+
])) : createCommentVNode("", true),
|
|
2820
|
+
createElementVNode("span", {
|
|
2821
|
+
class: normalizeClass(unref(context).isCollapsed ? "sr-only" : "flex-1 truncate text-start")
|
|
2822
|
+
}, toDisplayString(props.label), 3),
|
|
2823
|
+
!unref(context).isCollapsed ? (openBlock(), createBlock(unref(ChevronRight), {
|
|
2824
|
+
key: 1,
|
|
2825
|
+
class: normalizeClass(unref(cn)("size-4 shrink-0 text-muted-foreground transition-transform", unref(isOpen) && "rotate-90")),
|
|
2826
|
+
"aria-hidden": "true"
|
|
2827
|
+
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
2828
|
+
], 10, _hoisted_2$1),
|
|
2829
|
+
withDirectives(createElementVNode("ul", {
|
|
2830
|
+
id: unref(listId),
|
|
2831
|
+
role: "list",
|
|
2832
|
+
"aria-label": props.label,
|
|
2833
|
+
class: normalizeClass(listClasses.value)
|
|
2834
|
+
}, [
|
|
2835
|
+
renderSlot(_ctx.$slots, "default")
|
|
2836
|
+
], 10, _hoisted_4), [
|
|
2837
|
+
[vShow, isShown.value]
|
|
2838
|
+
])
|
|
2839
|
+
], 16, _hoisted_1$1);
|
|
2840
|
+
};
|
|
2841
|
+
}
|
|
2842
|
+
});
|
|
2843
|
+
const _hoisted_1 = ["id"];
|
|
2844
|
+
const _hoisted_2 = ["aria-labelledby"];
|
|
2845
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2846
|
+
...{ name: "SidebarMenuSection", inheritAttrs: false },
|
|
2847
|
+
__name: "SidebarMenuSection",
|
|
2848
|
+
props: {
|
|
2849
|
+
label: {}
|
|
2850
|
+
},
|
|
2851
|
+
setup(__props) {
|
|
2852
|
+
const props = __props;
|
|
2853
|
+
const attrs = useAttrs();
|
|
2854
|
+
const context = useSidebarMenuContext();
|
|
2855
|
+
const labelId = useId("sidebar-section");
|
|
2856
|
+
const rest = computed(() => {
|
|
2857
|
+
const { class: _class, ...others } = attrs;
|
|
2858
|
+
return others;
|
|
2859
|
+
});
|
|
2860
|
+
const classes = computed(
|
|
2861
|
+
() => cn(
|
|
2862
|
+
"flex flex-col gap-0.5 pt-3 first:pt-0",
|
|
2863
|
+
context.isCollapsed && "mt-3 border-t border-border first:mt-0 first:border-t-0",
|
|
2864
|
+
attrs.class
|
|
2865
|
+
)
|
|
2866
|
+
);
|
|
2867
|
+
return (_ctx, _cache) => {
|
|
2868
|
+
return openBlock(), createElementBlock("li", mergeProps(rest.value, { class: classes.value }), [
|
|
2869
|
+
createElementVNode("span", {
|
|
2870
|
+
id: unref(labelId),
|
|
2871
|
+
class: normalizeClass(unref(context).isCollapsed ? "sr-only" : "px-2.5 pb-1 text-xs font-medium text-muted-foreground")
|
|
2872
|
+
}, toDisplayString(props.label), 11, _hoisted_1),
|
|
2873
|
+
createElementVNode("ul", {
|
|
2874
|
+
role: "list",
|
|
2875
|
+
"aria-labelledby": unref(labelId),
|
|
2876
|
+
class: "flex flex-col gap-0.5"
|
|
2877
|
+
}, [
|
|
2878
|
+
renderSlot(_ctx.$slots, "default")
|
|
2879
|
+
], 8, _hoisted_2)
|
|
2880
|
+
], 16);
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2883
|
+
});
|
|
2884
|
+
export {
|
|
2885
|
+
menuSeparatorVariants as $,
|
|
2886
|
+
_sfc_main$i as A,
|
|
2887
|
+
_sfc_main$f as B,
|
|
2888
|
+
_sfc_main$h as C,
|
|
2889
|
+
_sfc_main$g as D,
|
|
2890
|
+
_sfc_main$e as E,
|
|
2891
|
+
_sfc_main$a as F,
|
|
2892
|
+
_sfc_main$c as G,
|
|
2893
|
+
_sfc_main$9 as H,
|
|
2894
|
+
_sfc_main$d as I,
|
|
2895
|
+
_sfc_main$b as J,
|
|
2896
|
+
_sfc_main$A as K,
|
|
2897
|
+
LinkItemSize as L,
|
|
2898
|
+
MenuItemState as M,
|
|
2899
|
+
_sfc_main$8 as N,
|
|
2900
|
+
_sfc_main$3 as O,
|
|
2901
|
+
_sfc_main$1 as P,
|
|
2902
|
+
_sfc_main$2 as Q,
|
|
2903
|
+
_sfc_main as R,
|
|
2904
|
+
SidebarMenuKey as S,
|
|
2905
|
+
_sfc_main$7 as T,
|
|
2906
|
+
contextMenuContextKey as U,
|
|
2907
|
+
dropdownMenuContextKey as V,
|
|
2908
|
+
linkVariants as W,
|
|
2909
|
+
menuItemIndicatorVariants as X,
|
|
2910
|
+
menuItemVariants as Y,
|
|
2911
|
+
menuLabelVariants as Z,
|
|
2912
|
+
_sfc_main$5 as _,
|
|
2913
|
+
_sfc_main$4 as a,
|
|
2914
|
+
menuSubIndicatorVariants as a0,
|
|
2915
|
+
menuVariants as a1,
|
|
2916
|
+
menubarContextKey as a2,
|
|
2917
|
+
menubarMenuContextKey as a3,
|
|
2918
|
+
navigationMenuContextKey as a4,
|
|
2919
|
+
navigationMenuItemContextKey as a5,
|
|
2920
|
+
useContextMenuContext as a6,
|
|
2921
|
+
useDropdownMenuContext as a7,
|
|
2922
|
+
useMenuContext as a8,
|
|
2923
|
+
useMenuRadioGroupContext as a9,
|
|
2924
|
+
useMenuSubContext as aa,
|
|
2925
|
+
useMenubarContext as ab,
|
|
2926
|
+
useMenubarMenuContext as ac,
|
|
2927
|
+
useNavigationMenuContext as ad,
|
|
2928
|
+
useNavigationMenuItemContext as ae,
|
|
2929
|
+
useScrollSpy as af,
|
|
2930
|
+
useSidebarMenuContext as ag,
|
|
2931
|
+
_sfc_main$B as b,
|
|
2932
|
+
_sfc_main$l as c,
|
|
2933
|
+
_sfc_main$j as d,
|
|
2934
|
+
_sfc_main$k as e,
|
|
2935
|
+
_sfc_main$o as f,
|
|
2936
|
+
_sfc_main$m as g,
|
|
2937
|
+
_sfc_main$n as h,
|
|
2938
|
+
_sfc_main$6 as i,
|
|
2939
|
+
LinkItemVariant as j,
|
|
2940
|
+
_sfc_main$z as k,
|
|
2941
|
+
_sfc_main$x as l,
|
|
2942
|
+
_sfc_main$r as m,
|
|
2943
|
+
_sfc_main$y as n,
|
|
2944
|
+
MenuKey as o,
|
|
2945
|
+
_sfc_main$q as p,
|
|
2946
|
+
_sfc_main$w as q,
|
|
2947
|
+
MenuRadioGroupKey as r,
|
|
2948
|
+
_sfc_main$v as s,
|
|
2949
|
+
_sfc_main$p as t,
|
|
2950
|
+
_sfc_main$u as u,
|
|
2951
|
+
_sfc_main$s as v,
|
|
2952
|
+
MenuSubKey as w,
|
|
2953
|
+
MenuSubOpenReason as x,
|
|
2954
|
+
_sfc_main$t as y,
|
|
2955
|
+
MenuTreeKey as z
|
|
2956
|
+
};
|
|
2957
|
+
//# sourceMappingURL=SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js.map
|