@wow-two-beta/fe 0.0.0-stage → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +275 -2
- package/dist/analytics/Analytics.d.ts +50 -0
- package/dist/analytics/AnalyticsEvent.d.ts +49 -0
- package/dist/analytics/AnalyticsProvider.d.ts +37 -0
- package/dist/analytics/ConsoleAnalyticsProvider.d.ts +8 -0
- package/dist/analytics/MemoryAnalyticsProvider.d.ts +19 -0
- package/dist/analytics/index.d.ts +5 -0
- package/dist/analytics/index.js +207 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/auth/AuthBridge.d.ts +28 -0
- package/dist/auth/AuthSession.d.ts +48 -0
- package/dist/auth/BearerStrategy.d.ts +40 -0
- package/dist/auth/CookieStrategy.d.ts +32 -0
- package/dist/auth/RedirectStrategy.d.ts +24 -0
- package/dist/auth/TokenStorage.d.ts +9 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +423 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/providers/AuthContext.d.ts +43 -0
- package/dist/auth/providers/AuthProvider.vue.d.ts +41 -0
- package/dist/chunks/Accept-BWpCXDmS.js +35 -0
- package/dist/chunks/Accept-BWpCXDmS.js.map +1 -0
- package/dist/chunks/Align-DqFtCY3a.js +12 -0
- package/dist/chunks/Align-DqFtCY3a.js.map +1 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js +53 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js.map +1 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js +59 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js.map +1 -0
- package/dist/chunks/ApiError-D_6igkXc.js +41 -0
- package/dist/chunks/ApiError-D_6igkXc.js.map +1 -0
- package/dist/chunks/AppErrorFactory-dJRdiY_c.js +43 -0
- package/dist/chunks/AppErrorFactory-dJRdiY_c.js.map +1 -0
- package/dist/chunks/AppErrorType-Ctku504z.js +15 -0
- package/dist/chunks/AppErrorType-Ctku504z.js.map +1 -0
- package/dist/chunks/AriaAttribute-CmUjjXjp.js +42 -0
- package/dist/chunks/AriaAttribute-CmUjjXjp.js.map +1 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dge5C6We.js +957 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dge5C6We.js.map +1 -0
- package/dist/chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js +76 -0
- package/dist/chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js.map +1 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js +665 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js.map +1 -0
- package/dist/chunks/Bytes-CzQrdbN4.js +21 -0
- package/dist/chunks/Bytes-CzQrdbN4.js.map +1 -0
- package/dist/chunks/Chord-C3OKRsgk.js +139 -0
- package/dist/chunks/Chord-C3OKRsgk.js.map +1 -0
- package/dist/chunks/Cn-C7De6POU.js +9 -0
- package/dist/chunks/Cn-C7De6POU.js.map +1 -0
- package/dist/chunks/ColorExtensions-DiCSaVbJ.js +53 -0
- package/dist/chunks/ColorExtensions-DiCSaVbJ.js.map +1 -0
- package/dist/chunks/ColorModeContext-ivCR7JC9.js +21 -0
- package/dist/chunks/ColorModeContext-ivCR7JC9.js.map +1 -0
- package/dist/chunks/Compare-MahFiFTq.js +14 -0
- package/dist/chunks/Compare-MahFiFTq.js.map +1 -0
- package/dist/chunks/ComposeEventHandlers-rgxao5aD.js +12 -0
- package/dist/chunks/ComposeEventHandlers-rgxao5aD.js.map +1 -0
- package/dist/chunks/CornerPosition-FneGck5D.js +14 -0
- package/dist/chunks/CornerPosition-FneGck5D.js.map +1 -0
- package/dist/chunks/CssExtensions-ctGVlfYU.js +161 -0
- package/dist/chunks/CssExtensions-ctGVlfYU.js.map +1 -0
- package/dist/chunks/DataAttr-7BR67dTj.js +7 -0
- package/dist/chunks/DataAttr-7BR67dTj.js.map +1 -0
- package/dist/chunks/DeepEqual-ZQxZetIm.js +200 -0
- package/dist/chunks/DeepEqual-ZQxZetIm.js.map +1 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js +86 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js.map +1 -0
- package/dist/chunks/DomOrderExtensions-Czsyvn6e.js +16 -0
- package/dist/chunks/DomOrderExtensions-Czsyvn6e.js.map +1 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-Dl8CP4-K.js +216 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-Dl8CP4-K.js.map +1 -0
- package/dist/chunks/EmojiCatalog-BZxsd9fO.js +1928 -0
- package/dist/chunks/EmojiCatalog-BZxsd9fO.js.map +1 -0
- package/dist/chunks/EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js +93 -0
- package/dist/chunks/EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js.map +1 -0
- package/dist/chunks/Environment-BLuXHzzF.js +16 -0
- package/dist/chunks/Environment-BLuXHzzF.js.map +1 -0
- package/dist/chunks/Equality-BabbLMBX.js +27 -0
- package/dist/chunks/Equality-BabbLMBX.js.map +1 -0
- package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js +2229 -0
- package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js.map +1 -0
- package/dist/chunks/ErrorLike-CRnbeEM0.js +27 -0
- package/dist/chunks/ErrorLike-CRnbeEM0.js.map +1 -0
- package/dist/chunks/ErrorRecognizers-DO2SHD6N.js +17 -0
- package/dist/chunks/ErrorRecognizers-DO2SHD6N.js.map +1 -0
- package/dist/chunks/ExactNumber-CboRl3_0.js +224 -0
- package/dist/chunks/ExactNumber-CboRl3_0.js.map +1 -0
- package/dist/chunks/FeedbackBus-Xc9EjV9K.js +133 -0
- package/dist/chunks/FeedbackBus-Xc9EjV9K.js.map +1 -0
- package/dist/chunks/FieldErrorCallout.vue_vue_type_script_setup_true_lang-BRcaaXCd.js +55 -0
- package/dist/chunks/FieldErrorCallout.vue_vue_type_script_setup_true_lang-BRcaaXCd.js.map +1 -0
- package/dist/chunks/FieldErrors-D_j6AF0Z.js +58 -0
- package/dist/chunks/FieldErrors-D_j6AF0Z.js.map +1 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js +1253 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-eqG5AyoV.js.map +1 -0
- package/dist/chunks/FileName-DUtj4I5A.js +33 -0
- package/dist/chunks/FileName-DUtj4I5A.js.map +1 -0
- package/dist/chunks/FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js +248 -0
- package/dist/chunks/FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js.map +1 -0
- package/dist/chunks/FormControlContext-B71MFW26.js +22 -0
- package/dist/chunks/FormControlContext-B71MFW26.js.map +1 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js +70 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js.map +1 -0
- package/dist/chunks/GoogleIdentity-WSQsNIRW.js +148 -0
- package/dist/chunks/GoogleIdentity-WSQsNIRW.js.map +1 -0
- package/dist/chunks/Guid-B7Tl9qf4.js +71 -0
- package/dist/chunks/Guid-B7Tl9qf4.js.map +1 -0
- package/dist/chunks/HtmlValues-jlKY5f9C.js +23 -0
- package/dist/chunks/HtmlValues-jlKY5f9C.js.map +1 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js +31 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js.map +1 -0
- package/dist/chunks/InlineLayout.vue_vue_type_script_setup_true_lang-c_IaJYJj.js +69 -0
- package/dist/chunks/InlineLayout.vue_vue_type_script_setup_true_lang-c_IaJYJj.js.map +1 -0
- package/dist/chunks/IntlCache-BXEZTK-K.js +25 -0
- package/dist/chunks/IntlCache-BXEZTK-K.js.map +1 -0
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js +10776 -0
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js.map +1 -0
- package/dist/chunks/Key-CQlkK53D.js +34 -0
- package/dist/chunks/Key-CQlkK53D.js.map +1 -0
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-Bc3nV-BB.js +2256 -0
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-Bc3nV-BB.js.map +1 -0
- package/dist/chunks/LocaleContext-B7vUZmX-.js +41 -0
- package/dist/chunks/LocaleContext-B7vUZmX-.js.map +1 -0
- package/dist/chunks/LocaleFormatters-DadF2y7-.js +142 -0
- package/dist/chunks/LocaleFormatters-DadF2y7-.js.map +1 -0
- package/dist/chunks/LosslessJson-SONghrus.js +241 -0
- package/dist/chunks/LosslessJson-SONghrus.js.map +1 -0
- package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-DYy0asRz.js +3529 -0
- package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-DYy0asRz.js.map +1 -0
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-vfxAeyB7.js +18733 -0
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-vfxAeyB7.js.map +1 -0
- package/dist/chunks/Messages-N-aICEvI.js +204 -0
- package/dist/chunks/Messages-N-aICEvI.js.map +1 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-qaoe6djs.js +91 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-qaoe6djs.js.map +1 -0
- package/dist/chunks/NavbarContext-Cfd4u3xf.js +12 -0
- package/dist/chunks/NavbarContext-Cfd4u3xf.js.map +1 -0
- package/dist/chunks/OptionalExtensions-NiO6gV0W.js +10 -0
- package/dist/chunks/OptionalExtensions-NiO6gV0W.js.map +1 -0
- package/dist/chunks/Orientation-u-sYunuG.js +10 -0
- package/dist/chunks/Orientation-u-sYunuG.js.map +1 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js +33 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js.map +1 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js +18 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js.map +1 -0
- package/dist/chunks/PageHeader.vue_vue_type_script_setup_true_lang-DdwVPgFR.js +90 -0
- package/dist/chunks/PageHeader.vue_vue_type_script_setup_true_lang-DdwVPgFR.js.map +1 -0
- package/dist/chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js +124 -0
- package/dist/chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js.map +1 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js +271 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js.map +1 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js +32 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js.map +1 -0
- package/dist/chunks/Presence-DDk0ZtAr.js +141 -0
- package/dist/chunks/Presence-DDk0ZtAr.js.map +1 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js +16 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js.map +1 -0
- package/dist/chunks/Primitive-D-9ShOm7.js +21 -0
- package/dist/chunks/Primitive-D-9ShOm7.js.map +1 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js +16 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js.map +1 -0
- package/dist/chunks/QueryPermission-24wDTTTP.js +95 -0
- package/dist/chunks/QueryPermission-24wDTTTP.js.map +1 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js +12 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js.map +1 -0
- package/dist/chunks/ReadableForeground-CgfzP7Tl.js +185 -0
- package/dist/chunks/ReadableForeground-CgfzP7Tl.js.map +1 -0
- package/dist/chunks/RelativeTimeParts-CMPp-i9m.js +33 -0
- package/dist/chunks/RelativeTimeParts-CMPp-i9m.js.map +1 -0
- package/dist/chunks/ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js +135 -0
- package/dist/chunks/ReportAction.vue_vue_type_script_setup_true_lang-l4DjtcpM.js.map +1 -0
- package/dist/chunks/RequestScope-Dh0CoWZg.js +90 -0
- package/dist/chunks/RequestScope-Dh0CoWZg.js.map +1 -0
- package/dist/chunks/ResolveElement-CyRfM82x.js +29 -0
- package/dist/chunks/ResolveElement-CyRfM82x.js.map +1 -0
- package/dist/chunks/ResultExtensions-B7dWH0FZ.js +58 -0
- package/dist/chunks/ResultExtensions-B7dWH0FZ.js.map +1 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js +246 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js.map +1 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-C6WDtqT0.js +20 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-C6WDtqT0.js.map +1 -0
- package/dist/chunks/ScrollRegion-CO8KnKUY.js +10 -0
- package/dist/chunks/ScrollRegion-CO8KnKUY.js.map +1 -0
- package/dist/chunks/SectionHeading.vue_vue_type_script_setup_true_lang-CaN3iIR_.js +219 -0
- package/dist/chunks/SectionHeading.vue_vue_type_script_setup_true_lang-CaN3iIR_.js.map +1 -0
- package/dist/chunks/SerializeError-BzTdy-3I.js +61 -0
- package/dist/chunks/SerializeError-BzTdy-3I.js.map +1 -0
- package/dist/chunks/Severity-D0C5oAt-.js +16 -0
- package/dist/chunks/Severity-D0C5oAt-.js.map +1 -0
- package/dist/chunks/SeverityIcons-KuC3ZBkI.js +20 -0
- package/dist/chunks/SeverityIcons-KuC3ZBkI.js.map +1 -0
- package/dist/chunks/Side-Kw61CDou.js +14 -0
- package/dist/chunks/Side-Kw61CDou.js.map +1 -0
- package/dist/chunks/SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js +2957 -0
- package/dist/chunks/SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js.map +1 -0
- package/dist/chunks/SkeletonStateContext-tVYMa6xt.js +103 -0
- package/dist/chunks/SkeletonStateContext-tVYMa6xt.js.map +1 -0
- package/dist/chunks/SkeletonStateLine-anGWn2Vm.js +64 -0
- package/dist/chunks/SkeletonStateLine-anGWn2Vm.js.map +1 -0
- package/dist/chunks/Slot-BGJ_Mr_j.js +127 -0
- package/dist/chunks/Slot-BGJ_Mr_j.js.map +1 -0
- package/dist/chunks/Sort-fDS6a_c3.js +241 -0
- package/dist/chunks/Sort-fDS6a_c3.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-CPor3q8_.js +78 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-CPor3q8_.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-r-JKoC-U.js +28 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-r-JKoC-U.js.map +1 -0
- package/dist/chunks/StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js +172 -0
- package/dist/chunks/StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js.map +1 -0
- package/dist/chunks/StatusTone-BoPK1s09.js +16 -0
- package/dist/chunks/StatusTone-BoPK1s09.js.map +1 -0
- package/dist/chunks/StorageBroker-BCd8Sov7.js +75 -0
- package/dist/chunks/StorageBroker-BCd8Sov7.js.map +1 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js +65 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js.map +1 -0
- package/dist/chunks/SubmitErrors-C7nolUN1.js +403 -0
- package/dist/chunks/SubmitErrors-C7nolUN1.js.map +1 -0
- package/dist/chunks/SurfaceStyles-B8KNkFsm.js +156 -0
- package/dist/chunks/SurfaceStyles-B8KNkFsm.js.map +1 -0
- package/dist/chunks/Text.vue_vue_type_script_setup_true_lang-DjUtnxS2.js +156 -0
- package/dist/chunks/Text.vue_vue_type_script_setup_true_lang-DjUtnxS2.js.map +1 -0
- package/dist/chunks/ToError-vXncXe19.js +52 -0
- package/dist/chunks/ToError-vXncXe19.js.map +1 -0
- package/dist/chunks/ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js +719 -0
- package/dist/chunks/ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js.map +1 -0
- package/dist/chunks/Tones-CQu-OvAk.js +123 -0
- package/dist/chunks/Tones-CQu-OvAk.js.map +1 -0
- package/dist/chunks/Tooltip.vue_vue_type_script_setup_true_lang-AzuqiFWY.js +151 -0
- package/dist/chunks/Tooltip.vue_vue_type_script_setup_true_lang-AzuqiFWY.js.map +1 -0
- package/dist/chunks/TourPopover.vue_vue_type_script_setup_true_lang-BlajHcdp.js +384 -0
- package/dist/chunks/TourPopover.vue_vue_type_script_setup_true_lang-BlajHcdp.js.map +1 -0
- package/dist/chunks/TransitionExtensions-HyBfcJnn.js +19 -0
- package/dist/chunks/TransitionExtensions-HyBfcJnn.js.map +1 -0
- package/dist/chunks/UrlExtensions-DqgLm0KY.js +46 -0
- package/dist/chunks/UrlExtensions-DqgLm0KY.js.map +1 -0
- package/dist/chunks/UrlRedaction-DjKi7pYP.js +144 -0
- package/dist/chunks/UrlRedaction-DjKi7pYP.js.map +1 -0
- package/dist/chunks/UseClipboard-x6nEdQ9f.js +230 -0
- package/dist/chunks/UseClipboard-x6nEdQ9f.js.map +1 -0
- package/dist/chunks/UseControlled-BQneb7BW.js +29 -0
- package/dist/chunks/UseControlled-BQneb7BW.js.map +1 -0
- package/dist/chunks/UseDebounceHandler-BIZgvvGp.js +20 -0
- package/dist/chunks/UseDebounceHandler-BIZgvvGp.js.map +1 -0
- package/dist/chunks/UseEscape-3hj5BJus.js +15 -0
- package/dist/chunks/UseEscape-3hj5BJus.js.map +1 -0
- package/dist/chunks/UseEventListener-C1WgWGoT.js +17 -0
- package/dist/chunks/UseEventListener-C1WgWGoT.js.map +1 -0
- package/dist/chunks/UseHotkeys-Dapfyg78.js +82 -0
- package/dist/chunks/UseHotkeys-Dapfyg78.js.map +1 -0
- package/dist/chunks/UseId-CtgAhGrn.js +9 -0
- package/dist/chunks/UseId-CtgAhGrn.js.map +1 -0
- package/dist/chunks/UseIntersectionObserver-yknQTqtG.js +92 -0
- package/dist/chunks/UseIntersectionObserver-yknQTqtG.js.map +1 -0
- package/dist/chunks/UseLocaleDefaults-DnL2Ctbe.js +26 -0
- package/dist/chunks/UseLocaleDefaults-DnL2Ctbe.js.map +1 -0
- package/dist/chunks/UseMutationObserver-Df2C_0Vc.js +54 -0
- package/dist/chunks/UseMutationObserver-Df2C_0Vc.js.map +1 -0
- package/dist/chunks/UseNavigationProgress-Bx_MWd39.js +51 -0
- package/dist/chunks/UseNavigationProgress-Bx_MWd39.js.map +1 -0
- package/dist/chunks/UseOutsideClick-8TTSb9x6.js +57 -0
- package/dist/chunks/UseOutsideClick-8TTSb9x6.js.map +1 -0
- package/dist/chunks/UseRecentItems-BV7p4em6.js +63 -0
- package/dist/chunks/UseRecentItems-BV7p4em6.js.map +1 -0
- package/dist/chunks/UseReducedMotion-NZ5fg-Xb.js +36 -0
- package/dist/chunks/UseReducedMotion-NZ5fg-Xb.js.map +1 -0
- package/dist/chunks/UseResizeObserver-Des0Rurq.js +21 -0
- package/dist/chunks/UseResizeObserver-Des0Rurq.js.map +1 -0
- package/dist/chunks/UseScrollLock-BAu79cm4.js +34 -0
- package/dist/chunks/UseScrollLock-BAu79cm4.js.map +1 -0
- package/dist/chunks/UseTypeahead-C-y7nBo2.js +82 -0
- package/dist/chunks/UseTypeahead-C-y7nBo2.js.map +1 -0
- package/dist/chunks/UseUndoHistory-C0ASU3yD.js +341 -0
- package/dist/chunks/UseUndoHistory-C0ASU3yD.js.map +1 -0
- package/dist/chunks/UseVirtualList-z9RT3QNb.js +305 -0
- package/dist/chunks/UseVirtualList-z9RT3QNb.js.map +1 -0
- package/dist/chunks/index-Ba7VG4pV.js +14 -0
- package/dist/chunks/index-Ba7VG4pV.js.map +1 -0
- package/dist/chunks/index-C-r59Hob.js +91 -0
- package/dist/chunks/index-C-r59Hob.js.map +1 -0
- package/dist/chunks/index-ClXOmDLK.js +9 -0
- package/dist/chunks/index-ClXOmDLK.js.map +1 -0
- package/dist/chunks/index-CuiXILXc.js +321 -0
- package/dist/chunks/index-CuiXILXc.js.map +1 -0
- package/dist/chunks/index-CvEjoKow.js +2174 -0
- package/dist/chunks/index-CvEjoKow.js.map +1 -0
- package/dist/chunks/index-DOC7DwST.js +12 -0
- package/dist/chunks/index-DOC7DwST.js.map +1 -0
- package/dist/chunks/index-DQ01kvk7.js +28 -0
- package/dist/chunks/index-DQ01kvk7.js.map +1 -0
- package/dist/chunks/index-DvwkyLSw.js +10 -0
- package/dist/chunks/index-DvwkyLSw.js.map +1 -0
- package/dist/chunks/index-KL15HQew.js +61 -0
- package/dist/chunks/index-KL15HQew.js.map +1 -0
- package/dist/chunks/index-MaHUsR-O.js +11 -0
- package/dist/chunks/index-MaHUsR-O.js.map +1 -0
- package/dist/chunks/index-rh4HVTr5.js +123 -0
- package/dist/chunks/index-rh4HVTr5.js.map +1 -0
- package/dist/domain/color/Gradient.d.ts +60 -0
- package/dist/domain/color/GradientType.d.ts +8 -0
- package/dist/domain/color/index.d.ts +3 -0
- package/dist/domain/color/index.js +6 -0
- package/dist/domain/color/index.js.map +1 -0
- package/dist/domain/emoji/EmojiCatalog.d.ts +28 -0
- package/dist/domain/emoji/EmojiCatalogData.d.ts +3 -0
- package/dist/domain/emoji/EmojiCategory.d.ts +20 -0
- package/dist/domain/emoji/index.d.ts +3 -0
- package/dist/domain/emoji/index.js +6 -0
- package/dist/domain/emoji/index.js.map +1 -0
- package/dist/domain/imageEditing/ImageEditRecipe.d.ts +37 -0
- package/dist/domain/imageEditing/ImageEditRecipeExtensions.d.ts +11 -0
- package/dist/domain/imageEditing/index.d.ts +2 -0
- package/dist/domain/imageEditing/index.js +45 -0
- package/dist/domain/imageEditing/index.js.map +1 -0
- package/dist/feedback/FeedbackBus.d.ts +125 -0
- package/dist/feedback/FeedbackQueryErrors.d.ts +26 -0
- package/dist/feedback/index.d.ts +2 -0
- package/dist/feedback/index.js +31 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/flags/FlagClient.d.ts +72 -0
- package/dist/flags/FlagProvider.d.ts +38 -0
- package/dist/flags/FlagTypes.d.ts +91 -0
- package/dist/flags/StaticFlagProvider.d.ts +45 -0
- package/dist/flags/index.d.ts +6 -0
- package/dist/flags/index.js +379 -0
- package/dist/flags/index.js.map +1 -0
- package/dist/flags/providers/FlagsContext.d.ts +33 -0
- package/dist/flags/providers/FlagsProvider.vue.d.ts +24 -0
- package/dist/formsEngine/AppForm.d.ts +261 -0
- package/dist/formsEngine/DeepEqual.d.ts +8 -0
- package/dist/formsEngine/FocusFirstInvalid.d.ts +9 -0
- package/dist/formsEngine/FormArrayIdentity.d.ts +8 -0
- package/dist/formsEngine/FormGlue.d.ts +54 -0
- package/dist/formsEngine/FormOperations.d.ts +11 -0
- package/dist/formsEngine/FormSnapshot.d.ts +7 -0
- package/dist/formsEngine/Paths.d.ts +47 -0
- package/dist/formsEngine/SchemaValidation.d.ts +39 -0
- package/dist/formsEngine/StandardSchema.d.ts +55 -0
- package/dist/formsEngine/SubmitErrors.d.ts +28 -0
- package/dist/formsEngine/UseFieldArray.d.ts +97 -0
- package/dist/formsEngine/UseFormDialogSession.d.ts +19 -0
- package/dist/formsEngine/adapters/house/HouseFormCore.d.ts +34 -0
- package/dist/formsEngine/adapters/house/UseAppForm.d.ts +16 -0
- package/dist/formsEngine/adapters/house/index.d.ts +7 -0
- package/dist/formsEngine/adapters/house/index.js +468 -0
- package/dist/formsEngine/adapters/house/index.js.map +1 -0
- package/dist/formsEngine/adapters/tanstack/TanstackFormOverlay.d.ts +56 -0
- package/dist/formsEngine/adapters/tanstack/UseAppForm.d.ts +26 -0
- package/dist/formsEngine/adapters/tanstack/index.d.ts +8 -0
- package/dist/formsEngine/adapters/tanstack/index.js +537 -0
- package/dist/formsEngine/adapters/tanstack/index.js.map +1 -0
- package/dist/formsEngine/index.d.ts +11 -0
- package/dist/formsEngine/index.js +95 -0
- package/dist/formsEngine/index.js.map +1 -0
- package/dist/foundation/animation/Animate.d.ts +73 -0
- package/dist/foundation/animation/Flip.d.ts +90 -0
- package/dist/foundation/animation/TransitionExtensions.d.ts +18 -0
- package/dist/foundation/animation/UseFlip.d.ts +22 -0
- package/dist/foundation/animation/animatedLayout/AnimatedLayout.d.ts +85 -0
- package/dist/foundation/animation/animatedLayout/index.d.ts +1 -0
- package/dist/foundation/animation/index.d.ts +6 -0
- package/dist/foundation/animation/index.js +242 -0
- package/dist/foundation/animation/index.js.map +1 -0
- package/dist/foundation/async/Abort.d.ts +33 -0
- package/dist/foundation/async/Combinators.d.ts +17 -0
- package/dist/foundation/async/Deferred.d.ts +18 -0
- package/dist/foundation/async/Limit.d.ts +36 -0
- package/dist/foundation/async/Rate.d.ts +31 -0
- package/dist/foundation/async/Retry.d.ts +20 -0
- package/dist/foundation/async/Timeout.d.ts +32 -0
- package/dist/foundation/async/UseDebounceHandler.d.ts +16 -0
- package/dist/foundation/async/UseDebouncedValue.d.ts +7 -0
- package/dist/foundation/async/index.d.ts +9 -0
- package/dist/foundation/async/index.js +313 -0
- package/dist/foundation/async/index.js.map +1 -0
- package/dist/foundation/channels/CreateSyncChannel.d.ts +16 -0
- package/dist/foundation/channels/LeaderElection.d.ts +97 -0
- package/dist/foundation/channels/MemorySyncHub.d.ts +29 -0
- package/dist/foundation/channels/SyncChannel.d.ts +76 -0
- package/dist/foundation/channels/hooks/UseBroadcastState.d.ts +31 -0
- package/dist/foundation/channels/hooks/UseLeaderElection.d.ts +25 -0
- package/dist/foundation/channels/hooks/UseSyncChannel.d.ts +16 -0
- package/dist/foundation/channels/index.d.ts +7 -0
- package/dist/foundation/channels/index.js +514 -0
- package/dist/foundation/channels/index.js.map +1 -0
- package/dist/foundation/clipboard/ClipboardFailureCode.d.ts +7 -0
- package/dist/foundation/clipboard/ClipboardPermission.d.ts +23 -0
- package/dist/foundation/clipboard/ClipboardResult.d.ts +68 -0
- package/dist/foundation/clipboard/ClipboardSupport.d.ts +66 -0
- package/dist/foundation/clipboard/CopyItems.d.ts +44 -0
- package/dist/foundation/clipboard/CopyText.d.ts +16 -0
- package/dist/foundation/clipboard/LegacyCopy.d.ts +38 -0
- package/dist/foundation/clipboard/PasteItems.d.ts +25 -0
- package/dist/foundation/clipboard/ReadClipboard.d.ts +28 -0
- package/dist/foundation/clipboard/hooks/UseClipboard.d.ts +25 -0
- package/dist/foundation/clipboard/hooks/UseClipboardCopy.d.ts +40 -0
- package/dist/foundation/clipboard/hooks/UsePasteHandler.d.ts +35 -0
- package/dist/foundation/clipboard/index.d.ts +12 -0
- package/dist/foundation/clipboard/index.js +303 -0
- package/dist/foundation/clipboard/index.js.map +1 -0
- package/dist/foundation/clipboard/models/ClipboardFailure.d.ts +11 -0
- package/dist/foundation/clipboard/models/ClipboardReadItemsResult.d.ts +5 -0
- package/dist/foundation/clipboard/models/ClipboardReadTextResult.d.ts +4 -0
- package/dist/foundation/clipboard/models/ClipboardWriteResult.d.ts +4 -0
- package/dist/foundation/collections/Arrays.d.ts +131 -0
- package/dist/foundation/collections/Comparison.d.ts +39 -0
- package/dist/foundation/collections/Equality.d.ts +13 -0
- package/dist/foundation/collections/Records.d.ts +72 -0
- package/dist/foundation/collections/SetOps.d.ts +45 -0
- package/dist/foundation/collections/Tree.d.ts +64 -0
- package/dist/foundation/collections/index.d.ts +6 -0
- package/dist/foundation/collections/index.js +470 -0
- package/dist/foundation/collections/index.js.map +1 -0
- package/dist/foundation/commands/Command.d.ts +38 -0
- package/dist/foundation/commands/CommandRegistry.d.ts +37 -0
- package/dist/foundation/commands/CommandRunFailureCode.d.ts +7 -0
- package/dist/foundation/commands/CommandShortcut.d.ts +8 -0
- package/dist/foundation/commands/SearchCommands.d.ts +28 -0
- package/dist/foundation/commands/hooks/UseCommandRegistry.d.ts +19 -0
- package/dist/foundation/commands/hooks/UseCommandShortcuts.d.ts +18 -0
- package/dist/foundation/commands/index.d.ts +11 -0
- package/dist/foundation/commands/index.js +318 -0
- package/dist/foundation/commands/index.js.map +1 -0
- package/dist/foundation/commands/models/CommandRunFailure.d.ts +11 -0
- package/dist/foundation/commands/models/CommandRunResult.d.ts +4 -0
- package/dist/foundation/commands/providers/CommandsContext.d.ts +30 -0
- package/dist/foundation/commands/providers/CommandsProvider.vue.d.ts +18 -0
- package/dist/foundation/config/ConfigField.d.ts +71 -0
- package/dist/foundation/config/ConfigSource.d.ts +24 -0
- package/dist/foundation/config/DefineConfig.d.ts +43 -0
- package/dist/foundation/config/Environment.d.ts +12 -0
- package/dist/foundation/config/index.d.ts +4 -0
- package/dist/foundation/config/index.js +210 -0
- package/dist/foundation/config/index.js.map +1 -0
- package/dist/foundation/crypto/Digest.d.ts +39 -0
- package/dist/foundation/crypto/Encoding.d.ts +46 -0
- package/dist/foundation/crypto/HashObject.d.ts +9 -0
- package/dist/foundation/crypto/Random.d.ts +32 -0
- package/dist/foundation/crypto/TimingSafeEqual.d.ts +12 -0
- package/dist/foundation/crypto/WebCrypto.d.ts +15 -0
- package/dist/foundation/crypto/index.d.ts +6 -0
- package/dist/foundation/crypto/index.js +221 -0
- package/dist/foundation/crypto/index.js.map +1 -0
- package/dist/foundation/datetime/Arithmetic.d.ts +31 -0
- package/dist/foundation/datetime/Boundaries.d.ts +24 -0
- package/dist/foundation/datetime/Comparison.d.ts +43 -0
- package/dist/foundation/datetime/Difference.d.ts +28 -0
- package/dist/foundation/datetime/Internals.d.ts +12 -0
- package/dist/foundation/datetime/Interval.d.ts +38 -0
- package/dist/foundation/datetime/IsoDate.d.ts +24 -0
- package/dist/foundation/datetime/TemporalCodecs.d.ts +26 -0
- package/dist/foundation/datetime/index.d.ts +7 -0
- package/dist/foundation/datetime/index.js +429 -0
- package/dist/foundation/datetime/index.js.map +1 -0
- package/dist/foundation/device/Breakpoints.d.ts +48 -0
- package/dist/foundation/device/Platform.d.ts +27 -0
- package/dist/foundation/device/enums/DisplayMode.d.ts +13 -0
- package/dist/foundation/device/enums/PointerType.d.ts +11 -0
- package/dist/foundation/device/hooks/UseBreakpoint.d.ts +4 -0
- package/dist/foundation/device/hooks/UseDisplayMode.d.ts +23 -0
- package/dist/foundation/device/hooks/UseMediaQuery.d.ts +14 -0
- package/dist/foundation/device/hooks/UseOnlineStatus.d.ts +12 -0
- package/dist/foundation/device/hooks/UsePointer.d.ts +25 -0
- package/dist/foundation/device/hooks/UseReducedMotion.d.ts +7 -0
- package/dist/foundation/device/index.d.ts +10 -0
- package/dist/foundation/device/index.js +193 -0
- package/dist/foundation/device/index.js.map +1 -0
- package/dist/foundation/dom/ComposeEventHandlers.d.ts +9 -0
- package/dist/foundation/dom/DataAttr.d.ts +6 -0
- package/dist/foundation/dom/DomOrderExtensions.d.ts +4 -0
- package/dist/foundation/dom/Polymorphic.d.ts +29 -0
- package/dist/foundation/dom/PressExtensions.d.ts +17 -0
- package/dist/foundation/dom/ResolveElement.d.ts +9 -0
- package/dist/foundation/dom/ScrollRegion.d.ts +8 -0
- package/dist/foundation/dom/UrlExtensions.d.ts +5 -0
- package/dist/foundation/dom/enums/AriaAttribute.d.ts +48 -0
- package/dist/foundation/dom/enums/AttributeValue.d.ts +9 -0
- package/dist/foundation/dom/enums/DomEvent.d.ts +25 -0
- package/dist/foundation/dom/enums/ElementTag.d.ts +28 -0
- package/dist/foundation/dom/enums/HtmlValues.d.ts +22 -0
- package/dist/foundation/dom/enums/Key.d.ts +32 -0
- package/dist/foundation/dom/hooks/UseEventListener.d.ts +17 -0
- package/dist/foundation/dom/hooks/UseFocusTrap.d.ts +15 -0
- package/dist/foundation/dom/hooks/UseOutsideClick.d.ts +12 -0
- package/dist/foundation/dom/hooks/UseScrollLock.d.ts +6 -0
- package/dist/foundation/dom/index.d.ts +18 -0
- package/dist/foundation/dom/index.js +36 -0
- package/dist/foundation/dom/index.js.map +1 -0
- package/dist/foundation/errors/ErrorChain.d.ts +23 -0
- package/dist/foundation/errors/ErrorLike.d.ts +35 -0
- package/dist/foundation/errors/ErrorMessage.d.ts +13 -0
- package/dist/foundation/errors/ErrorRecognizers.d.ts +18 -0
- package/dist/foundation/errors/SerializeError.d.ts +34 -0
- package/dist/foundation/errors/ToError.d.ts +18 -0
- package/dist/foundation/errors/index.d.ts +6 -0
- package/dist/foundation/errors/index.js +38 -0
- package/dist/foundation/errors/index.js.map +1 -0
- package/dist/foundation/files/Accept.d.ts +30 -0
- package/dist/foundation/files/DownloadFile.d.ts +10 -0
- package/dist/foundation/files/FileName.d.ts +21 -0
- package/dist/foundation/files/ReadFile.d.ts +6 -0
- package/dist/foundation/files/index.d.ts +4 -0
- package/dist/foundation/files/index.js +71 -0
- package/dist/foundation/files/index.js.map +1 -0
- package/dist/foundation/formatters/Bytes.d.ts +15 -0
- package/dist/foundation/formatters/Count.d.ts +10 -0
- package/dist/foundation/formatters/Duration.d.ts +13 -0
- package/dist/foundation/formatters/Text.d.ts +52 -0
- package/dist/foundation/formatters/index.d.ts +4 -0
- package/dist/foundation/formatters/index.js +102 -0
- package/dist/foundation/formatters/index.js.map +1 -0
- package/dist/foundation/geolocation/CanLocate.d.ts +18 -0
- package/dist/foundation/geolocation/DistanceBetween.d.ts +21 -0
- package/dist/foundation/geolocation/GeolocationPermission.d.ts +13 -0
- package/dist/foundation/geolocation/GetCurrentPosition.d.ts +14 -0
- package/dist/foundation/geolocation/PositionFailureCode.d.ts +9 -0
- package/dist/foundation/geolocation/PositionMapping.d.ts +50 -0
- package/dist/foundation/geolocation/WatchPosition.d.ts +19 -0
- package/dist/foundation/geolocation/hooks/UseGeolocation.d.ts +38 -0
- package/dist/foundation/geolocation/hooks/UseWatchPosition.d.ts +16 -0
- package/dist/foundation/geolocation/index.d.ts +11 -0
- package/dist/foundation/geolocation/index.js +252 -0
- package/dist/foundation/geolocation/index.js.map +1 -0
- package/dist/foundation/geolocation/models/Coordinates.d.ts +41 -0
- package/dist/foundation/geolocation/models/GeolocationReading.d.ts +37 -0
- package/dist/foundation/geolocation/models/PositionFailure.d.ts +14 -0
- package/dist/foundation/geolocation/models/PositionReadResult.d.ts +5 -0
- package/dist/foundation/gestures/GestureMath.d.ts +182 -0
- package/dist/foundation/gestures/enums/GestureAxis.d.ts +11 -0
- package/dist/foundation/gestures/enums/SwipeDirection.d.ts +13 -0
- package/dist/foundation/gestures/hooks/UseDrag.d.ts +75 -0
- package/dist/foundation/gestures/hooks/UseLongPress.d.ts +42 -0
- package/dist/foundation/gestures/hooks/UsePinch.d.ts +47 -0
- package/dist/foundation/gestures/hooks/UseSwipe.d.ts +46 -0
- package/dist/foundation/gestures/index.d.ts +7 -0
- package/dist/foundation/gestures/index.js +447 -0
- package/dist/foundation/gestures/index.js.map +1 -0
- package/dist/foundation/history/HistoryCore.d.ts +92 -0
- package/dist/foundation/history/SnapshotHistory.d.ts +33 -0
- package/dist/foundation/history/UndoHistory.d.ts +41 -0
- package/dist/foundation/history/hooks/UseUndoHistory.d.ts +66 -0
- package/dist/foundation/history/hooks/UseUndoShortcuts.d.ts +20 -0
- package/dist/foundation/history/index.d.ts +5 -0
- package/dist/foundation/history/index.js +36 -0
- package/dist/foundation/history/index.js.map +1 -0
- package/dist/foundation/hooks/UseConfirmation.d.ts +10 -0
- package/dist/foundation/hooks/UseVisitInvitation.d.ts +24 -0
- package/dist/foundation/hooks/index.d.ts +2 -0
- package/dist/foundation/hooks/index.js +67 -0
- package/dist/foundation/hooks/index.js.map +1 -0
- package/dist/foundation/http/Antiforgery.d.ts +33 -0
- package/dist/foundation/http/ApiError.d.ts +10 -0
- package/dist/foundation/http/ApiFailure.d.ts +30 -0
- package/dist/foundation/http/ApiJsonCodec.d.ts +8 -0
- package/dist/foundation/http/CreateApiClient.d.ts +95 -0
- package/dist/foundation/http/Envelope.d.ts +11 -0
- package/dist/foundation/http/FieldErrors.d.ts +16 -0
- package/dist/foundation/http/RequestScope.d.ts +22 -0
- package/dist/foundation/http/WarnedEnvelope.d.ts +10 -0
- package/dist/foundation/http/index.d.ts +14 -0
- package/dist/foundation/http/index.js +340 -0
- package/dist/foundation/http/index.js.map +1 -0
- package/dist/foundation/http/models/ApiResponse.d.ts +7 -0
- package/dist/foundation/http/models/ApiWarning.d.ts +18 -0
- package/dist/foundation/http/models/DateBrands.d.ts +8 -0
- package/dist/foundation/http/models/Page.d.ts +47 -0
- package/dist/foundation/http/models/ProblemDetails.d.ts +9 -0
- package/dist/foundation/i18n/Compare.d.ts +7 -0
- package/dist/foundation/i18n/ExactNumberFormatter.d.ts +23 -0
- package/dist/foundation/i18n/IntlCache.d.ts +4 -0
- package/dist/foundation/i18n/LocaleFormatters.d.ts +30 -0
- package/dist/foundation/i18n/RelativeTimeParts.d.ts +13 -0
- package/dist/foundation/i18n/UseLocaleDefaults.d.ts +5 -0
- package/dist/foundation/i18n/formattedRelative/FormattedRelative.vue.d.ts +9 -0
- package/dist/foundation/i18n/formattedRelative/index.d.ts +1 -0
- package/dist/foundation/i18n/index.d.ts +8 -0
- package/dist/foundation/i18n/index.js +60 -0
- package/dist/foundation/i18n/index.js.map +1 -0
- package/dist/foundation/i18n/providers/LocaleContext.d.ts +35 -0
- package/dist/foundation/i18n/providers/LocaleProvider.vue.d.ts +18 -0
- package/dist/foundation/icons/SeverityIcons.d.ts +9 -0
- package/dist/foundation/icons/icon/Icon.vue.d.ts +35 -0
- package/dist/foundation/icons/icon/index.d.ts +1 -0
- package/dist/foundation/icons/index.d.ts +3 -0
- package/dist/foundation/icons/index.js +10 -0
- package/dist/foundation/icons/index.js.map +1 -0
- package/dist/foundation/icons/spinner/Spinner.vue.d.ts +7 -0
- package/dist/foundation/icons/spinner/index.d.ts +1 -0
- package/dist/foundation/idb/IdbPromises.d.ts +25 -0
- package/dist/foundation/idb/IndexedDbSupport.d.ts +32 -0
- package/dist/foundation/idb/KeyValueStore.d.ts +84 -0
- package/dist/foundation/idb/OpenDatabase.d.ts +62 -0
- package/dist/foundation/idb/Transactions.d.ts +44 -0
- package/dist/foundation/idb/index.d.ts +5 -0
- package/dist/foundation/idb/index.js +421 -0
- package/dist/foundation/idb/index.js.map +1 -0
- package/dist/foundation/identifiers/Guid.d.ts +44 -0
- package/dist/foundation/identifiers/UseId.d.ts +8 -0
- package/dist/foundation/identifiers/index.d.ts +2 -0
- package/dist/foundation/identifiers/index.js +7 -0
- package/dist/foundation/identifiers/index.js.map +1 -0
- package/dist/foundation/json/JsonFailureCode.d.ts +9 -0
- package/dist/foundation/json/JsonLimits.d.ts +6 -0
- package/dist/foundation/json/JsonText.d.ts +12 -0
- package/dist/foundation/json/LosslessJson.d.ts +14 -0
- package/dist/foundation/json/adapters/losslessJson/JsonAdapter.d.ts +5 -0
- package/dist/foundation/json/index.d.ts +5 -0
- package/dist/foundation/json/index.js +7 -0
- package/dist/foundation/json/index.js.map +1 -0
- package/dist/foundation/json/models/JsonFailure.d.ts +6 -0
- package/dist/foundation/json/models/LosslessJsonValue.d.ts +5 -0
- package/dist/foundation/logger/ConsoleLogSink.d.ts +11 -0
- package/dist/foundation/logger/LogLevel.d.ts +40 -0
- package/dist/foundation/logger/LogRecord.d.ts +17 -0
- package/dist/foundation/logger/LogSink.d.ts +20 -0
- package/dist/foundation/logger/Logger.d.ts +64 -0
- package/dist/foundation/logger/MemoryLogSink.d.ts +11 -0
- package/dist/foundation/logger/Redaction.d.ts +29 -0
- package/dist/foundation/logger/UrlRedaction.d.ts +8 -0
- package/dist/foundation/logger/index.d.ts +8 -0
- package/dist/foundation/logger/index.js +177 -0
- package/dist/foundation/logger/index.js.map +1 -0
- package/dist/foundation/media/CanCaptureMedia.d.ts +45 -0
- package/dist/foundation/media/FacingMode.d.ts +52 -0
- package/dist/foundation/media/ListMediaDevices.d.ts +44 -0
- package/dist/foundation/media/MediaPermission.d.ts +23 -0
- package/dist/foundation/media/MediaStreamFailureCode.d.ts +10 -0
- package/dist/foundation/media/MediaStreamMapping.d.ts +15 -0
- package/dist/foundation/media/RequestMediaStream.d.ts +37 -0
- package/dist/foundation/media/StopMediaStream.d.ts +10 -0
- package/dist/foundation/media/UseMediaStream.d.ts +54 -0
- package/dist/foundation/media/index.d.ts +9 -0
- package/dist/foundation/media/index.js +246 -0
- package/dist/foundation/media/index.js.map +1 -0
- package/dist/foundation/media/models/MediaStreamFailure.d.ts +16 -0
- package/dist/foundation/media/models/MediaStreamRequestResult.d.ts +4 -0
- package/dist/foundation/net/ConnectionState.d.ts +39 -0
- package/dist/foundation/net/CreateEventStream.d.ts +107 -0
- package/dist/foundation/net/CreatePoller.d.ts +65 -0
- package/dist/foundation/net/CreateSocketClient.d.ts +93 -0
- package/dist/foundation/net/Liveness.d.ts +41 -0
- package/dist/foundation/net/Reconnect.d.ts +49 -0
- package/dist/foundation/net/hooks/UseEventStream.d.ts +25 -0
- package/dist/foundation/net/hooks/UsePolling.d.ts +26 -0
- package/dist/foundation/net/hooks/UseSocket.d.ts +32 -0
- package/dist/foundation/net/index.d.ts +9 -0
- package/dist/foundation/net/index.js +882 -0
- package/dist/foundation/net/index.js.map +1 -0
- package/dist/foundation/notifications/CanNotify.d.ts +11 -0
- package/dist/foundation/notifications/NotificationFailureCode.d.ts +7 -0
- package/dist/foundation/notifications/NotificationPermission.d.ts +42 -0
- package/dist/foundation/notifications/Notify.d.ts +49 -0
- package/dist/foundation/notifications/QueryPermission.d.ts +66 -0
- package/dist/foundation/notifications/hooks/UseNotificationPermission.d.ts +27 -0
- package/dist/foundation/notifications/hooks/UsePermissionState.d.ts +14 -0
- package/dist/foundation/notifications/index.d.ts +7 -0
- package/dist/foundation/notifications/index.js +221 -0
- package/dist/foundation/notifications/index.js.map +1 -0
- package/dist/foundation/notifications/models/NotificationFailure.d.ts +10 -0
- package/dist/foundation/notifications/models/NotificationShowResult.d.ts +4 -0
- package/dist/foundation/numbers/ExactNumber.d.ts +13 -0
- package/dist/foundation/numbers/NumberLimits.d.ts +7 -0
- package/dist/foundation/numbers/adapters/bignumber/DecimalArithmetic.d.ts +4 -0
- package/dist/foundation/numbers/enums/NumberFailureCode.d.ts +10 -0
- package/dist/foundation/numbers/enums/NumberRounding.d.ts +13 -0
- package/dist/foundation/numbers/index.d.ts +6 -0
- package/dist/foundation/numbers/index.js +8 -0
- package/dist/foundation/numbers/index.js.map +1 -0
- package/dist/foundation/numbers/models/ExactNumber.d.ts +47 -0
- package/dist/foundation/numbers/models/NumberFailure.d.ts +6 -0
- package/dist/foundation/numbers/models/NumberRoundingOptions.d.ts +6 -0
- package/dist/foundation/oauth/GoogleIdentity.d.ts +100 -0
- package/dist/foundation/oauth/index.d.ts +1 -0
- package/dist/foundation/oauth/index.js +8 -0
- package/dist/foundation/oauth/index.js.map +1 -0
- package/dist/foundation/observers/ObserveIntersection.d.ts +57 -0
- package/dist/foundation/observers/ObserveMutation.d.ts +52 -0
- package/dist/foundation/observers/VisibilitySteps.d.ts +14 -0
- package/dist/foundation/observers/hooks/UseInView.d.ts +41 -0
- package/dist/foundation/observers/hooks/UseIntersectionObserver.d.ts +18 -0
- package/dist/foundation/observers/hooks/UseMutationObserver.d.ts +21 -0
- package/dist/foundation/observers/hooks/UseResizeObserver.d.ts +11 -0
- package/dist/foundation/observers/hooks/UseVisibility.d.ts +33 -0
- package/dist/foundation/observers/index.d.ts +8 -0
- package/dist/foundation/observers/index.js +76 -0
- package/dist/foundation/observers/index.js.map +1 -0
- package/dist/foundation/optionals/OptionalExtensions.d.ts +12 -0
- package/dist/foundation/optionals/index.d.ts +1 -0
- package/dist/foundation/optionals/index.js +5 -0
- package/dist/foundation/optionals/index.js.map +1 -0
- package/dist/foundation/primitives/accessibleIcon/AccessibleIcon.d.ts +26 -0
- package/dist/foundation/primitives/accessibleIcon/index.d.ts +1 -0
- package/dist/foundation/primitives/anchoredPositioner/AnchoredPositioner.vue.d.ts +38 -0
- package/dist/foundation/primitives/anchoredPositioner/index.d.ts +1 -0
- package/dist/foundation/primitives/announce/Announce.vue.d.ts +29 -0
- package/dist/foundation/primitives/announce/index.d.ts +1 -0
- package/dist/foundation/primitives/collection/Collection.d.ts +24 -0
- package/dist/foundation/primitives/collection/index.d.ts +1 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeContext.d.ts +32 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeProvider.vue.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeScript.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/index.d.ts +3 -0
- package/dist/foundation/primitives/directionProvider/DirectionContext.d.ts +23 -0
- package/dist/foundation/primitives/directionProvider/DirectionProvider.vue.d.ts +14 -0
- package/dist/foundation/primitives/directionProvider/index.d.ts +2 -0
- package/dist/foundation/primitives/dismissableLayer/DismissableLayer.vue.d.ts +22 -0
- package/dist/foundation/primitives/dismissableLayer/index.d.ts +1 -0
- package/dist/foundation/primitives/focusScope/FocusScope.vue.d.ts +39 -0
- package/dist/foundation/primitives/focusScope/FocusScopeRegistry.d.ts +27 -0
- package/dist/foundation/primitives/focusScope/index.d.ts +1 -0
- package/dist/foundation/primitives/formControlContext/FormControlContext.d.ts +66 -0
- package/dist/foundation/primitives/formControlContext/FormControlProvider.vue.d.ts +25 -0
- package/dist/foundation/primitives/formControlContext/index.d.ts +2 -0
- package/dist/foundation/primitives/index.d.ts +17 -0
- package/dist/foundation/primitives/index.js +56 -0
- package/dist/foundation/primitives/index.js.map +1 -0
- package/dist/foundation/primitives/overlayArrow/OverlayArrow.vue.d.ts +27 -0
- package/dist/foundation/primitives/overlayArrow/index.d.ts +1 -0
- package/dist/foundation/primitives/portal/Portal.vue.d.ts +16 -0
- package/dist/foundation/primitives/portal/index.d.ts +1 -0
- package/dist/foundation/primitives/presence/Presence.d.ts +36 -0
- package/dist/foundation/primitives/presence/index.d.ts +1 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusContext.d.ts +74 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusGroup.vue.d.ts +21 -0
- package/dist/foundation/primitives/rovingFocusGroup/index.d.ts +2 -0
- package/dist/foundation/primitives/scrollLockProvider/ScrollLockProvider.vue.d.ts +15 -0
- package/dist/foundation/primitives/scrollLockProvider/index.d.ts +1 -0
- package/dist/foundation/primitives/scrollViewport/ScrollViewport.vue.d.ts +47 -0
- package/dist/foundation/primitives/scrollViewport/index.d.ts +1 -0
- package/dist/foundation/primitives/slot/ComponentElement.d.ts +7 -0
- package/dist/foundation/primitives/slot/Primitive.d.ts +69 -0
- package/dist/foundation/primitives/slot/Slot.d.ts +40 -0
- package/dist/foundation/primitives/slot/index.d.ts +3 -0
- package/dist/foundation/primitives/visuallyHidden/VisuallyHidden.vue.d.ts +12 -0
- package/dist/foundation/primitives/visuallyHidden/index.d.ts +1 -0
- package/dist/foundation/resilience/RetryDelay.d.ts +8 -0
- package/dist/foundation/resilience/RetryPolicy.d.ts +34 -0
- package/dist/foundation/resilience/enums/BackoffStrategy.d.ts +10 -0
- package/dist/foundation/resilience/enums/JitterStrategy.d.ts +12 -0
- package/dist/foundation/resilience/index.d.ts +4 -0
- package/dist/foundation/resilience/index.js +77 -0
- package/dist/foundation/resilience/index.js.map +1 -0
- package/dist/foundation/results/AppErrorFactory.d.ts +22 -0
- package/dist/foundation/results/AppErrorType.d.ts +13 -0
- package/dist/foundation/results/ResultExtensions.d.ts +33 -0
- package/dist/foundation/results/index.d.ts +5 -0
- package/dist/foundation/results/index.js +9 -0
- package/dist/foundation/results/index.js.map +1 -0
- package/dist/foundation/results/models/AppError.d.ts +10 -0
- package/dist/foundation/results/models/Result.d.ts +9 -0
- package/dist/foundation/screen/Fullscreen.d.ts +73 -0
- package/dist/foundation/screen/ScreenEnvironment.d.ts +42 -0
- package/dist/foundation/screen/ScreenOrientation.d.ts +103 -0
- package/dist/foundation/screen/ScreenOutcome.d.ts +5 -0
- package/dist/foundation/screen/WakeLock.d.ts +81 -0
- package/dist/foundation/screen/enums/OrientationLockFailureCode.d.ts +9 -0
- package/dist/foundation/screen/enums/ScreenFailureCode.d.ts +8 -0
- package/dist/foundation/screen/hooks/UseFullscreen.d.ts +28 -0
- package/dist/foundation/screen/hooks/UseOrientation.d.ts +28 -0
- package/dist/foundation/screen/hooks/UseWakeLock.d.ts +18 -0
- package/dist/foundation/screen/index.d.ts +9 -0
- package/dist/foundation/screen/index.js +448 -0
- package/dist/foundation/screen/index.js.map +1 -0
- package/dist/foundation/screen/models/OrientationLockFailure.d.ts +7 -0
- package/dist/foundation/screen/models/OrientationLockResult.d.ts +3 -0
- package/dist/foundation/screen/models/ScreenFailure.d.ts +14 -0
- package/dist/foundation/screen/models/ScreenRequestResult.d.ts +4 -0
- package/dist/foundation/selection/hooks/UseFilters.d.ts +34 -0
- package/dist/foundation/selection/hooks/UseSelection.d.ts +54 -0
- package/dist/foundation/selection/hooks/UseSort.d.ts +36 -0
- package/dist/foundation/selection/hooks/UseTypeahead.d.ts +42 -0
- package/dist/foundation/selection/index.d.ts +8 -0
- package/dist/foundation/selection/index.js +197 -0
- package/dist/foundation/selection/index.js.map +1 -0
- package/dist/foundation/selection/models/Field.d.ts +31 -0
- package/dist/foundation/selection/models/Filter.d.ts +71 -0
- package/dist/foundation/selection/models/Selection.d.ts +116 -0
- package/dist/foundation/selection/models/Sort.d.ts +69 -0
- package/dist/foundation/share/CanShare.d.ts +11 -0
- package/dist/foundation/share/Share.d.ts +29 -0
- package/dist/foundation/share/ShareData.d.ts +43 -0
- package/dist/foundation/share/ShareFailureCode.d.ts +7 -0
- package/dist/foundation/share/ShareOrCopy.d.ts +25 -0
- package/dist/foundation/share/UseShare.d.ts +37 -0
- package/dist/foundation/share/index.d.ts +6 -0
- package/dist/foundation/share/index.js +136 -0
- package/dist/foundation/share/index.js.map +1 -0
- package/dist/foundation/share/models/ShareFailure.d.ts +10 -0
- package/dist/foundation/share/models/ShareSendOrCopyResult.d.ts +4 -0
- package/dist/foundation/share/models/ShareSendResult.d.ts +4 -0
- package/dist/foundation/shortcuts/Chord.d.ts +51 -0
- package/dist/foundation/shortcuts/hooks/UseEscape.d.ts +10 -0
- package/dist/foundation/shortcuts/hooks/UseHotkeys.d.ts +34 -0
- package/dist/foundation/shortcuts/index.d.ts +4 -0
- package/dist/foundation/shortcuts/index.js +17 -0
- package/dist/foundation/shortcuts/index.js.map +1 -0
- package/dist/foundation/speech/CreateSpeechRecognizer.d.ts +64 -0
- package/dist/foundation/speech/ListVoices.d.ts +78 -0
- package/dist/foundation/speech/Speak.d.ts +51 -0
- package/dist/foundation/speech/SpeechControls.d.ts +59 -0
- package/dist/foundation/speech/SpeechRecognitionResult.d.ts +45 -0
- package/dist/foundation/speech/SpeechRecognitionTypes.d.ts +67 -0
- package/dist/foundation/speech/SpeechResult.d.ts +16 -0
- package/dist/foundation/speech/SpeechSupport.d.ts +69 -0
- package/dist/foundation/speech/enums/RecognizerStartFailureCode.d.ts +6 -0
- package/dist/foundation/speech/enums/SpeechFailureCode.d.ts +7 -0
- package/dist/foundation/speech/hooks/UseSpeechRecognition.d.ts +45 -0
- package/dist/foundation/speech/hooks/UseSpeechSynthesis.d.ts +37 -0
- package/dist/foundation/speech/index.d.ts +12 -0
- package/dist/foundation/speech/index.js +610 -0
- package/dist/foundation/speech/index.js.map +1 -0
- package/dist/foundation/speech/models/RecognizerStartFailure.d.ts +8 -0
- package/dist/foundation/speech/models/RecognizerStartResult.d.ts +4 -0
- package/dist/foundation/speech/models/SpeechFailure.d.ts +10 -0
- package/dist/foundation/speech/models/SpeechSpeakResult.d.ts +4 -0
- package/dist/foundation/state/hooks/UseControlled.d.ts +35 -0
- package/dist/foundation/state/hooks/UseDisclosure.d.ts +18 -0
- package/dist/foundation/state/index.d.ts +2 -0
- package/dist/foundation/state/index.js +7 -0
- package/dist/foundation/state/index.js.map +1 -0
- package/dist/foundation/storage/NamespacedBroker.d.ts +7 -0
- package/dist/foundation/storage/StorageBroker.d.ts +17 -0
- package/dist/foundation/storage/VersionedStore.d.ts +42 -0
- package/dist/foundation/storage/adapters/zustand/ZustandPersist.d.ts +36 -0
- package/dist/foundation/storage/adapters/zustand/index.d.ts +1 -0
- package/dist/foundation/storage/adapters/zustand/index.js +11 -0
- package/dist/foundation/storage/adapters/zustand/index.js.map +1 -0
- package/dist/foundation/storage/hooks/UseAutosave.d.ts +44 -0
- package/dist/foundation/storage/hooks/UsePersistentState.d.ts +31 -0
- package/dist/foundation/storage/hooks/UseRecentItems.d.ts +34 -0
- package/dist/foundation/storage/index.d.ts +6 -0
- package/dist/foundation/storage/index.js +180 -0
- package/dist/foundation/storage/index.js.map +1 -0
- package/dist/foundation/styles/Cn.d.ts +6 -0
- package/dist/foundation/styles/SurfaceStyles.d.ts +199 -0
- package/dist/foundation/styles/Tv.d.ts +1 -0
- package/dist/foundation/styles/constants/Layers.d.ts +35 -0
- package/dist/foundation/styles/constants/Tones.d.ts +23 -0
- package/dist/foundation/styles/enums/Align.d.ts +10 -0
- package/dist/foundation/styles/enums/CornerPosition.d.ts +12 -0
- package/dist/foundation/styles/enums/Density.d.ts +15 -0
- package/dist/foundation/styles/enums/Orientation.d.ts +8 -0
- package/dist/foundation/styles/enums/OverlayPosition.d.ts +16 -0
- package/dist/foundation/styles/enums/ProgressTone.d.ts +14 -0
- package/dist/foundation/styles/enums/Severity.d.ts +14 -0
- package/dist/foundation/styles/enums/Side.d.ts +12 -0
- package/dist/foundation/styles/enums/StatusTone.d.ts +14 -0
- package/dist/foundation/styles/enums/StyleTokens.d.ts +68 -0
- package/dist/foundation/styles/extensions/ColorExtensions.d.ts +51 -0
- package/dist/foundation/styles/extensions/CssExtensions.d.ts +124 -0
- package/dist/foundation/styles/index.d.ts +21 -0
- package/dist/foundation/styles/index.js +46 -0
- package/dist/foundation/styles/index.js.map +1 -0
- package/dist/foundation/sync/LatestRevisionQueue.d.ts +24 -0
- package/dist/foundation/sync/index.d.ts +1 -0
- package/dist/foundation/sync/index.js +57 -0
- package/dist/foundation/sync/index.js.map +1 -0
- package/dist/foundation/themes/Css.d.ts +20 -0
- package/dist/foundation/themes/ForegroundContrast.d.ts +3 -0
- package/dist/foundation/themes/Generate.d.ts +6 -0
- package/dist/foundation/themes/Oklch.d.ts +44 -0
- package/dist/foundation/themes/ReadableForeground.d.ts +7 -0
- package/dist/foundation/themes/Registry.d.ts +18 -0
- package/dist/foundation/themes/Theme.d.ts +124 -0
- package/dist/foundation/themes/Tokens.d.ts +40 -0
- package/dist/foundation/themes/Validate.d.ts +29 -0
- package/dist/foundation/themes/constants/Authored.d.ts +3 -0
- package/dist/foundation/themes/constants/Pool.d.ts +3 -0
- package/dist/foundation/themes/index.d.ts +12 -0
- package/dist/foundation/themes/index.js +41 -0
- package/dist/foundation/themes/index.js.map +1 -0
- package/dist/foundation/uploads/UploadItem.d.ts +47 -0
- package/dist/foundation/uploads/UploadQueue.d.ts +79 -0
- package/dist/foundation/uploads/UploadTransport.d.ts +41 -0
- package/dist/foundation/uploads/UseUploadQueue.d.ts +46 -0
- package/dist/foundation/uploads/XhrUploadTransport.d.ts +23 -0
- package/dist/foundation/uploads/index.d.ts +5 -0
- package/dist/foundation/uploads/index.js +472 -0
- package/dist/foundation/uploads/index.js.map +1 -0
- package/dist/foundation/validators/Composites.d.ts +71 -0
- package/dist/foundation/validators/Formats.d.ts +9 -0
- package/dist/foundation/validators/Messages.d.ts +69 -0
- package/dist/foundation/validators/Primitives.d.ts +58 -0
- package/dist/foundation/validators/StandardSchema.d.ts +55 -0
- package/dist/foundation/validators/ValidationError.d.ts +14 -0
- package/dist/foundation/validators/ValidationOutcome.d.ts +40 -0
- package/dist/foundation/validators/Validator.d.ts +78 -0
- package/dist/foundation/validators/index.d.ts +8 -0
- package/dist/foundation/validators/index.js +532 -0
- package/dist/foundation/validators/index.js.map +1 -0
- package/dist/foundation/validators/models/ValidationFailure.d.ts +6 -0
- package/dist/foundation/validators/models/ValidatorParseResult.d.ts +3 -0
- package/dist/foundation/virtualization/Measurements.d.ts +79 -0
- package/dist/foundation/virtualization/UseVirtualList.d.ts +81 -0
- package/dist/foundation/virtualization/Windowing.d.ts +81 -0
- package/dist/foundation/virtualization/index.d.ts +3 -0
- package/dist/foundation/virtualization/index.js +17 -0
- package/dist/foundation/virtualization/index.js.map +1 -0
- package/dist/foundation/workers/RunInWorker.d.ts +29 -0
- package/dist/foundation/workers/UseWorker.d.ts +23 -0
- package/dist/foundation/workers/WorkerClient.d.ts +82 -0
- package/dist/foundation/workers/WorkerHost.d.ts +80 -0
- package/dist/foundation/workers/WorkerProtocol.d.ts +78 -0
- package/dist/foundation/workers/WorkerRunFailureCode.d.ts +6 -0
- package/dist/foundation/workers/WorkerSupport.d.ts +15 -0
- package/dist/foundation/workers/index.d.ts +7 -0
- package/dist/foundation/workers/index.js +316 -0
- package/dist/foundation/workers/index.js.map +1 -0
- package/dist/foundation/workers/models/WorkerRunFailure.d.ts +8 -0
- package/dist/foundation/workers/models/WorkerRunResult.d.ts +3 -0
- package/dist/index.css +544 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +755 -0
- package/dist/index.js.map +1 -0
- package/dist/presentation/actions/backToTopButton/BackToTopButton.vue.d.ts +35 -0
- package/dist/presentation/actions/backToTopButton/index.d.ts +1 -0
- package/dist/presentation/actions/button/Button.variants.d.ts +153 -0
- package/dist/presentation/actions/button/Button.vue.d.ts +115 -0
- package/dist/presentation/actions/button/index.d.ts +2 -0
- package/dist/presentation/actions/buttonGroup/ButtonGroup.vue.d.ts +23 -0
- package/dist/presentation/actions/buttonGroup/index.d.ts +1 -0
- package/dist/presentation/actions/copyButton/CopyButton.vue.d.ts +41 -0
- package/dist/presentation/actions/copyButton/index.d.ts +1 -0
- package/dist/presentation/actions/disclosureButton/DisclosureButton.vue.d.ts +34 -0
- package/dist/presentation/actions/disclosureButton/index.d.ts +1 -0
- package/dist/presentation/actions/fabButton/FabButton.variants.d.ts +80 -0
- package/dist/presentation/actions/fabButton/FabButton.vue.d.ts +32 -0
- package/dist/presentation/actions/fabButton/index.d.ts +2 -0
- package/dist/presentation/actions/googleSignInButton/GoogleSignInButton.vue.d.ts +26 -0
- package/dist/presentation/actions/googleSignInButton/index.d.ts +1 -0
- package/dist/presentation/actions/index.d.ts +9 -0
- package/dist/presentation/actions/index.js +30 -0
- package/dist/presentation/actions/index.js.map +1 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroup.vue.d.ts +27 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupAction.vue.d.ts +41 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupContext.d.ts +36 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupList.vue.d.ts +12 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupTrigger.vue.d.ts +31 -0
- package/dist/presentation/actions/speedDialGroup/index.d.ts +18 -0
- package/dist/presentation/actions/toolbar/Toolbar.vue.d.ts +20 -0
- package/dist/presentation/actions/toolbar/ToolbarButton.vue.d.ts +17 -0
- package/dist/presentation/actions/toolbar/ToolbarContext.d.ts +9 -0
- package/dist/presentation/actions/toolbar/ToolbarLink.vue.d.ts +12 -0
- package/dist/presentation/actions/toolbar/ToolbarSeparator.vue.d.ts +2 -0
- package/dist/presentation/actions/toolbar/index.d.ts +19 -0
- package/dist/presentation/display/accordionGroup/AccordionGroup.vue.d.ts +44 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupContent.vue.d.ts +13 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupContext.d.ts +29 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupItem.vue.d.ts +19 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupTrigger.vue.d.ts +13 -0
- package/dist/presentation/display/accordionGroup/index.d.ts +5 -0
- package/dist/presentation/display/activityTimeline/ActivityItem.vue.d.ts +28 -0
- package/dist/presentation/display/activityTimeline/ActivityTimeline.vue.d.ts +17 -0
- package/dist/presentation/display/activityTimeline/index.d.ts +2 -0
- package/dist/presentation/display/animatedNumberText/AnimatedNumberText.vue.d.ts +33 -0
- package/dist/presentation/display/animatedNumberText/index.d.ts +1 -0
- package/dist/presentation/display/annotationBadge/AnnotationBadge.vue.d.ts +42 -0
- package/dist/presentation/display/annotationBadge/index.d.ts +1 -0
- package/dist/presentation/display/audioPlayer/AudioPlayer.vue.d.ts +37 -0
- package/dist/presentation/display/audioPlayer/index.d.ts +1 -0
- package/dist/presentation/display/audioWaveformPreview/AudioWaveformPreview.vue.d.ts +57 -0
- package/dist/presentation/display/audioWaveformPreview/index.d.ts +1 -0
- package/dist/presentation/display/avatar/Avatar.variants.d.ts +162 -0
- package/dist/presentation/display/avatar/Avatar.vue.d.ts +51 -0
- package/dist/presentation/display/avatar/index.d.ts +2 -0
- package/dist/presentation/display/avatarGroup/AvatarGroup.vue.d.ts +24 -0
- package/dist/presentation/display/avatarGroup/index.d.ts +1 -0
- package/dist/presentation/display/badge/Badge.variants.d.ts +66 -0
- package/dist/presentation/display/badge/Badge.vue.d.ts +23 -0
- package/dist/presentation/display/badge/index.d.ts +2 -0
- package/dist/presentation/display/badgeOverlay/BadgeOverlay.vue.d.ts +23 -0
- package/dist/presentation/display/badgeOverlay/index.d.ts +1 -0
- package/dist/presentation/display/card/Card.vue.d.ts +37 -0
- package/dist/presentation/display/card/CardBody.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardDescription.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardFooter.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardHeader.vue.d.ts +11 -0
- package/dist/presentation/display/card/CardTitle.vue.d.ts +11 -0
- package/dist/presentation/display/card/index.d.ts +6 -0
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +37 -0
- package/dist/presentation/display/carousel/CarouselContext.d.ts +38 -0
- package/dist/presentation/display/carousel/CarouselDot.vue.d.ts +8 -0
- package/dist/presentation/display/carousel/CarouselDots.vue.d.ts +6 -0
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +11 -0
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +11 -0
- package/dist/presentation/display/carousel/CarouselSlide.vue.d.ts +13 -0
- package/dist/presentation/display/carousel/CarouselSlides.vue.d.ts +13 -0
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +13 -0
- package/dist/presentation/display/carousel/index.d.ts +10 -0
- package/dist/presentation/display/chatBubbleCard/ChatBubbleCard.vue.d.ts +78 -0
- package/dist/presentation/display/chatBubbleCard/index.d.ts +1 -0
- package/dist/presentation/display/codeText/CodeText.variants.d.ts +26 -0
- package/dist/presentation/display/codeText/CodeText.vue.d.ts +16 -0
- package/dist/presentation/display/codeText/index.d.ts +2 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroup.vue.d.ts +28 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContent.vue.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContentInner.vue.d.ts +22 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContext.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupTrigger.vue.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/index.d.ts +4 -0
- package/dist/presentation/display/colorSwatchPreview/ColorSwatchPreview.variants.d.ts +92 -0
- package/dist/presentation/display/colorSwatchPreview/ColorSwatchPreview.vue.d.ts +32 -0
- package/dist/presentation/display/colorSwatchPreview/index.d.ts +2 -0
- package/dist/presentation/display/commentThreadGroup/Comment.vue.d.ts +38 -0
- package/dist/presentation/display/commentThreadGroup/CommentThreadGroup.vue.d.ts +13 -0
- package/dist/presentation/display/commentThreadGroup/index.d.ts +2 -0
- package/dist/presentation/display/confettiOverlay/ConfettiOverlay.vue.d.ts +39 -0
- package/dist/presentation/display/confettiOverlay/index.d.ts +1 -0
- package/dist/presentation/display/countBadge/CountBadge.vue.d.ts +23 -0
- package/dist/presentation/display/countBadge/index.d.ts +1 -0
- package/dist/presentation/display/countUpText/CountUpText.vue.d.ts +39 -0
- package/dist/presentation/display/countUpText/index.d.ts +1 -0
- package/dist/presentation/display/countdownText/CountdownText.vue.d.ts +43 -0
- package/dist/presentation/display/countdownText/index.d.ts +1 -0
- package/dist/presentation/display/dataTable/DataTable.vue.d.ts +137 -0
- package/dist/presentation/display/dataTable/index.d.ts +1 -0
- package/dist/presentation/display/descriptionGroup/DescriptionGroup.vue.d.ts +56 -0
- package/dist/presentation/display/descriptionGroup/index.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +37 -0
- package/dist/presentation/display/diffViewer/LineDiff.d.ts +9 -0
- package/dist/presentation/display/diffViewer/index.d.ts +1 -0
- package/dist/presentation/display/emptyState/EmptyState.vue.d.ts +42 -0
- package/dist/presentation/display/emptyState/index.d.ts +1 -0
- package/dist/presentation/display/eventCalendarViewer/AgendaView.vue.d.ts +13 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewer.vue.d.ts +37 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewerLayout.d.ts +17 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewerTypes.d.ts +28 -0
- package/dist/presentation/display/eventCalendarViewer/MonthView.vue.d.ts +16 -0
- package/dist/presentation/display/eventCalendarViewer/TimeGridView.vue.d.ts +17 -0
- package/dist/presentation/display/eventCalendarViewer/index.d.ts +2 -0
- package/dist/presentation/display/eyebrowText/EyebrowText.vue.d.ts +31 -0
- package/dist/presentation/display/eyebrowText/index.d.ts +1 -0
- package/dist/presentation/display/featureCard/FeatureCard.vue.d.ts +29 -0
- package/dist/presentation/display/featureCard/index.d.ts +1 -0
- package/dist/presentation/display/fieldHelperText/FieldHelperText.vue.d.ts +19 -0
- package/dist/presentation/display/fieldHelperText/index.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +20 -0
- package/dist/presentation/display/frameGlyph/index.d.ts +1 -0
- package/dist/presentation/display/ganttTimeline/GanttTimeline.vue.d.ts +58 -0
- package/dist/presentation/display/ganttTimeline/index.d.ts +1 -0
- package/dist/presentation/display/gradientText/GradientText.vue.d.ts +57 -0
- package/dist/presentation/display/gradientText/index.d.ts +1 -0
- package/dist/presentation/display/heading/Heading.variants.d.ts +111 -0
- package/dist/presentation/display/heading/Heading.vue.d.ts +30 -0
- package/dist/presentation/display/heading/index.d.ts +2 -0
- package/dist/presentation/display/heatmapCalendarGrid/HeatmapCalendarGrid.vue.d.ts +62 -0
- package/dist/presentation/display/heatmapCalendarGrid/index.d.ts +1 -0
- package/dist/presentation/display/highlightText/HighlightText.vue.d.ts +19 -0
- package/dist/presentation/display/highlightText/index.d.ts +1 -0
- package/dist/presentation/display/imagePreview/ImagePreview.vue.d.ts +15 -0
- package/dist/presentation/display/imagePreview/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +78 -0
- package/dist/presentation/display/index.js +212 -0
- package/dist/presentation/display/index.js.map +1 -0
- package/dist/presentation/display/infoRow/InfoRow.vue.d.ts +38 -0
- package/dist/presentation/display/infoRow/index.d.ts +1 -0
- package/dist/presentation/display/kanbanBoard/KanbanBoard.vue.d.ts +17 -0
- package/dist/presentation/display/kanbanBoard/KanbanBoardContext.d.ts +49 -0
- package/dist/presentation/display/kanbanBoard/KanbanCard.vue.d.ts +23 -0
- package/dist/presentation/display/kanbanBoard/KanbanColumn.vue.d.ts +21 -0
- package/dist/presentation/display/kanbanBoard/index.d.ts +4 -0
- package/dist/presentation/display/kbdText/KbdText.vue.d.ts +13 -0
- package/dist/presentation/display/kbdText/index.d.ts +1 -0
- package/dist/presentation/display/keyboardShortcutText/KeyboardShortcutText.vue.d.ts +12 -0
- package/dist/presentation/display/keyboardShortcutText/index.d.ts +1 -0
- package/dist/presentation/display/labelText/LabelText.vue.d.ts +34 -0
- package/dist/presentation/display/labelText/index.d.ts +1 -0
- package/dist/presentation/display/legendText/LegendText.vue.d.ts +21 -0
- package/dist/presentation/display/legendText/index.d.ts +1 -0
- package/dist/presentation/display/listGroup/ListGroup.variants.d.ts +62 -0
- package/dist/presentation/display/listGroup/ListGroup.vue.d.ts +25 -0
- package/dist/presentation/display/listGroup/ListGroupContext.d.ts +16 -0
- package/dist/presentation/display/listGroup/ListGroupItem.vue.d.ts +28 -0
- package/dist/presentation/display/listGroup/index.d.ts +4 -0
- package/dist/presentation/display/markText/MarkText.vue.d.ts +13 -0
- package/dist/presentation/display/markText/index.d.ts +1 -0
- package/dist/presentation/display/marqueeGroup/MarqueeGroup.vue.d.ts +42 -0
- package/dist/presentation/display/marqueeGroup/index.d.ts +1 -0
- package/dist/presentation/display/messageGroup/DaySeparator.vue.d.ts +16 -0
- package/dist/presentation/display/messageGroup/MessageGroup.vue.d.ts +38 -0
- package/dist/presentation/display/messageGroup/index.d.ts +2 -0
- package/dist/presentation/display/metaInlineText/MetaInlineText.vue.d.ts +20 -0
- package/dist/presentation/display/metaInlineText/index.d.ts +1 -0
- package/dist/presentation/display/metricBadge/MetricBadge.vue.d.ts +53 -0
- package/dist/presentation/display/metricBadge/index.d.ts +1 -0
- package/dist/presentation/display/moduleGlyphs/CellsGlyph.vue.d.ts +13 -0
- package/dist/presentation/display/moduleGlyphs/DotsGlyph.vue.d.ts +8 -0
- package/dist/presentation/display/moduleGlyphs/HorizontalBarsGlyph.vue.d.ts +8 -0
- package/dist/presentation/display/moduleGlyphs/ModuleGlyphs.d.ts +15 -0
- package/dist/presentation/display/moduleGlyphs/VerticalBarsGlyph.vue.d.ts +8 -0
- package/dist/presentation/display/moduleGlyphs/index.d.ts +5 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.d.ts +35 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationItem.vue.d.ts +45 -0
- package/dist/presentation/display/notificationCenterGroup/index.d.ts +2 -0
- package/dist/presentation/display/notificationIndicator/NotificationIndicator.vue.d.ts +46 -0
- package/dist/presentation/display/notificationIndicator/index.d.ts +1 -0
- package/dist/presentation/display/onboardingChecklistCard/OnboardingChecklistCard.vue.d.ts +56 -0
- package/dist/presentation/display/onboardingChecklistCard/OnboardingChecklistCardTask.vue.d.ts +27 -0
- package/dist/presentation/display/onboardingChecklistCard/index.d.ts +3 -0
- package/dist/presentation/display/overflowGroup/OverflowGroup.vue.d.ts +35 -0
- package/dist/presentation/display/overflowGroup/index.d.ts +1 -0
- package/dist/presentation/display/pdfViewer/PdfViewer.vue.d.ts +38 -0
- package/dist/presentation/display/pdfViewer/index.d.ts +1 -0
- package/dist/presentation/display/pricingCard/PricingCard.vue.d.ts +55 -0
- package/dist/presentation/display/pricingCard/index.d.ts +1 -0
- package/dist/presentation/display/quoteText/QuoteText.vue.d.ts +13 -0
- package/dist/presentation/display/quoteText/index.d.ts +1 -0
- package/dist/presentation/display/radiusGlyph/RadiusGlyph.vue.d.ts +23 -0
- package/dist/presentation/display/radiusGlyph/index.d.ts +1 -0
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +47 -0
- package/dist/presentation/display/reactionBar/index.d.ts +1 -0
- package/dist/presentation/display/relativeTime/RelativeTime.vue.d.ts +26 -0
- package/dist/presentation/display/relativeTime/index.d.ts +1 -0
- package/dist/presentation/display/scheduleView/ScheduleView.vue.d.ts +57 -0
- package/dist/presentation/display/scheduleView/index.d.ts +1 -0
- package/dist/presentation/display/scrollRevealGroup/ScrollRevealGroup.vue.d.ts +49 -0
- package/dist/presentation/display/scrollRevealGroup/index.d.ts +1 -0
- package/dist/presentation/display/sectionHeading/SectionHeading.vue.d.ts +51 -0
- package/dist/presentation/display/sectionHeading/index.d.ts +1 -0
- package/dist/presentation/display/snippetText/SnippetText.vue.d.ts +20 -0
- package/dist/presentation/display/snippetText/index.d.ts +1 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +63 -0
- package/dist/presentation/display/sparkline/index.d.ts +1 -0
- package/dist/presentation/display/statCard/StatCard.vue.d.ts +66 -0
- package/dist/presentation/display/statCard/index.d.ts +1 -0
- package/dist/presentation/display/status/Status.vue.d.ts +34 -0
- package/dist/presentation/display/status/index.d.ts +1 -0
- package/dist/presentation/display/stepCard/StepCard.vue.d.ts +31 -0
- package/dist/presentation/display/stepCard/index.d.ts +1 -0
- package/dist/presentation/display/stepperGroup/StepperGroup.vue.d.ts +28 -0
- package/dist/presentation/display/stepperGroup/StepperGroupContext.d.ts +44 -0
- package/dist/presentation/display/stepperGroup/StepperGroupList.vue.d.ts +13 -0
- package/dist/presentation/display/stepperGroup/StepperGroupPanel.vue.d.ts +15 -0
- package/dist/presentation/display/stepperGroup/StepperGroupStep.vue.d.ts +22 -0
- package/dist/presentation/display/stepperGroup/index.d.ts +5 -0
- package/dist/presentation/display/table/Table.vue.d.ts +45 -0
- package/dist/presentation/display/table/TableBody.vue.d.ts +11 -0
- package/dist/presentation/display/table/TableCaption.vue.d.ts +11 -0
- package/dist/presentation/display/table/TableCell.vue.d.ts +20 -0
- package/dist/presentation/display/table/TableContext.d.ts +89 -0
- package/dist/presentation/display/table/TableFooter.vue.d.ts +11 -0
- package/dist/presentation/display/table/TableHead.vue.d.ts +25 -0
- package/dist/presentation/display/table/TableHeaderCell.vue.d.ts +20 -0
- package/dist/presentation/display/table/TableRow.vue.d.ts +11 -0
- package/dist/presentation/display/table/index.d.ts +9 -0
- package/dist/presentation/display/tabsGroup/TabsGroup.vue.d.ts +35 -0
- package/dist/presentation/display/tabsGroup/TabsGroupContext.d.ts +34 -0
- package/dist/presentation/display/tabsGroup/TabsGroupList.vue.d.ts +13 -0
- package/dist/presentation/display/tabsGroup/TabsGroupPanel.vue.d.ts +15 -0
- package/dist/presentation/display/tabsGroup/TabsGroupTab.vue.d.ts +19 -0
- package/dist/presentation/display/tabsGroup/index.d.ts +5 -0
- package/dist/presentation/display/tag/Tag.variants.d.ts +46 -0
- package/dist/presentation/display/tag/Tag.vue.d.ts +22 -0
- package/dist/presentation/display/tag/index.d.ts +2 -0
- package/dist/presentation/display/text/Text.variants.d.ts +155 -0
- package/dist/presentation/display/text/Text.vue.d.ts +38 -0
- package/dist/presentation/display/text/index.d.ts +2 -0
- package/dist/presentation/display/threadView/ThreadView.vue.d.ts +44 -0
- package/dist/presentation/display/threadView/index.d.ts +1 -0
- package/dist/presentation/display/timeline/Timeline.vue.d.ts +18 -0
- package/dist/presentation/display/timeline/TimelineContext.d.ts +40 -0
- package/dist/presentation/display/timeline/TimelineDescription.vue.d.ts +13 -0
- package/dist/presentation/display/timeline/TimelineItem.vue.d.ts +21 -0
- package/dist/presentation/display/timeline/TimelineTitle.vue.d.ts +13 -0
- package/dist/presentation/display/timeline/index.d.ts +5 -0
- package/dist/presentation/display/treeViewer/TreeViewer.vue.d.ts +32 -0
- package/dist/presentation/display/treeViewer/TreeViewerContext.d.ts +29 -0
- package/dist/presentation/display/treeViewer/TreeViewerGroup.vue.d.ts +27 -0
- package/dist/presentation/display/treeViewer/TreeViewerGroupContent.vue.d.ts +16 -0
- package/dist/presentation/display/treeViewer/TreeViewerItem.vue.d.ts +19 -0
- package/dist/presentation/display/treeViewer/TreeViewerNodeRow.vue.d.ts +26 -0
- package/dist/presentation/display/treeViewer/index.d.ts +4 -0
- package/dist/presentation/display/truncatedText/TruncatedText.vue.d.ts +39 -0
- package/dist/presentation/display/truncatedText/index.d.ts +1 -0
- package/dist/presentation/display/typewriterText/TypewriterText.vue.d.ts +35 -0
- package/dist/presentation/display/typewriterText/index.d.ts +1 -0
- package/dist/presentation/display/videoPlayer/VideoPlayer.vue.d.ts +54 -0
- package/dist/presentation/display/videoPlayer/index.d.ts +1 -0
- package/dist/presentation/feedback/alert/Alert.vue.d.ts +39 -0
- package/dist/presentation/feedback/alert/index.d.ts +1 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.variants.d.ts +27 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/alertSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/banner/Banner.vue.d.ts +39 -0
- package/dist/presentation/feedback/banner/index.d.ts +1 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.variants.d.ts +27 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/bannerSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/callout/Callout.vue.d.ts +27 -0
- package/dist/presentation/feedback/callout/index.d.ts +1 -0
- package/dist/presentation/feedback/characterCountCallout/CharacterCountCallout.vue.d.ts +14 -0
- package/dist/presentation/feedback/characterCountCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/dataRegion/DataRegion.vue.d.ts +76 -0
- package/dist/presentation/feedback/dataRegion/index.d.ts +1 -0
- package/dist/presentation/feedback/errorBoundary/ErrorBoundary.vue.d.ts +32 -0
- package/dist/presentation/feedback/errorBoundary/index.d.ts +1 -0
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.d.ts +17 -0
- package/dist/presentation/feedback/feedbackToastHost/index.d.ts +1 -0
- package/dist/presentation/feedback/fieldErrorCallout/FieldErrorCallout.vue.d.ts +24 -0
- package/dist/presentation/feedback/fieldErrorCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/index.d.ts +31 -0
- package/dist/presentation/feedback/index.js +70 -0
- package/dist/presentation/feedback/index.js.map +1 -0
- package/dist/presentation/feedback/inlineSpinner/InlineSpinner.vue.d.ts +20 -0
- package/dist/presentation/feedback/inlineSpinner/index.d.ts +1 -0
- package/dist/presentation/feedback/liveCursorIndicator/LiveCursorIndicator.vue.d.ts +33 -0
- package/dist/presentation/feedback/liveCursorIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingOverlay/LoadingOverlay.vue.d.ts +34 -0
- package/dist/presentation/feedback/loadingOverlay/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingState/LoadingState.vue.d.ts +25 -0
- package/dist/presentation/feedback/loadingState/index.d.ts +1 -0
- package/dist/presentation/feedback/meterBar/MeterBar.vue.d.ts +30 -0
- package/dist/presentation/feedback/meterBar/index.d.ts +1 -0
- package/dist/presentation/feedback/passwordStrengthCallout/PasswordStrengthCallout.vue.d.ts +15 -0
- package/dist/presentation/feedback/passwordStrengthCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/presenceIndicator/PresenceIndicator.vue.d.ts +33 -0
- package/dist/presentation/feedback/presenceIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.variants.d.ts +46 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.vue.d.ts +18 -0
- package/dist/presentation/feedback/progressBar/index.d.ts +2 -0
- package/dist/presentation/feedback/progressCircleIndicator/ProgressCircleIndicator.vue.d.ts +20 -0
- package/dist/presentation/feedback/progressCircleIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressStepsIndicator/ProgressStepsIndicator.vue.d.ts +15 -0
- package/dist/presentation/feedback/progressStepsIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/reportAction/ReportAction.vue.d.ts +41 -0
- package/dist/presentation/feedback/reportAction/index.d.ts +1 -0
- package/dist/presentation/feedback/skeletonState/SkeletonState.variants.d.ts +100 -0
- package/dist/presentation/feedback/skeletonState/SkeletonState.vue.d.ts +19 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateContext.d.ts +37 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateGroup.vue.d.ts +21 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateLine.d.ts +66 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateSlot.vue.d.ts +26 -0
- package/dist/presentation/feedback/skeletonState/SkeletonStateText.vue.d.ts +16 -0
- package/dist/presentation/feedback/skeletonState/UseSkeletonItems.d.ts +9 -0
- package/dist/presentation/feedback/skeletonState/index.d.ts +7 -0
- package/dist/presentation/feedback/spinner/Spinner.variants.d.ts +57 -0
- package/dist/presentation/feedback/spinner/Spinner.vue.d.ts +14 -0
- package/dist/presentation/feedback/spinner/index.d.ts +2 -0
- package/dist/presentation/feedback/splashScreen/SplashScreen.vue.d.ts +34 -0
- package/dist/presentation/feedback/splashScreen/index.d.ts +1 -0
- package/dist/presentation/feedback/statusIndicator/StatusIndicator.vue.d.ts +31 -0
- package/dist/presentation/feedback/statusIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +52 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastHost/ToastHost.vue.d.ts +156 -0
- package/dist/presentation/feedback/toastHost/index.d.ts +1 -0
- package/dist/presentation/feedback/toastHost/index.js +9 -0
- package/dist/presentation/feedback/toastHost/index.js.map +1 -0
- package/dist/presentation/feedback/toastHost/styles.css +77 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.variants.d.ts +27 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.vue.d.ts +20 -0
- package/dist/presentation/feedback/toastSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/trendIndicator/TrendIndicator.vue.d.ts +32 -0
- package/dist/presentation/feedback/trendIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/typingIndicator/TypingIndicator.vue.d.ts +36 -0
- package/dist/presentation/feedback/typingIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/undoBar/UndoBar.vue.d.ts +33 -0
- package/dist/presentation/feedback/undoBar/index.d.ts +1 -0
- package/dist/presentation/forms/ColorExtensions.d.ts +37 -0
- package/dist/presentation/forms/DateExtensions.d.ts +77 -0
- package/dist/presentation/forms/InputStyles.d.ts +126 -0
- package/dist/presentation/forms/MonthGrid.vue.d.ts +38 -0
- package/dist/presentation/forms/NativeControlAttributes.d.ts +8 -0
- package/dist/presentation/forms/PeriodExtensions.d.ts +22 -0
- package/dist/presentation/forms/PeriodGrid.vue.d.ts +29 -0
- package/dist/presentation/forms/PeriodPicker.vue.d.ts +56 -0
- package/dist/presentation/forms/TimeColumns.vue.d.ts +19 -0
- package/dist/presentation/forms/UseNativeFormReset.d.ts +3 -0
- package/dist/presentation/forms/addressEditor/AddressEditor.vue.d.ts +48 -0
- package/dist/presentation/forms/addressEditor/index.d.ts +1 -0
- package/dist/presentation/forms/calendarPicker/CalendarPicker.vue.d.ts +40 -0
- package/dist/presentation/forms/calendarPicker/index.d.ts +1 -0
- package/dist/presentation/forms/cascaderPicker/CascaderPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/cascaderPicker/index.d.ts +1 -0
- package/dist/presentation/forms/chatComposerInput/ChatComposerInput.vue.d.ts +67 -0
- package/dist/presentation/forms/chatComposerInput/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxField/CheckboxField.vue.d.ts +44 -0
- package/dist/presentation/forms/checkboxField/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroup.vue.d.ts +34 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroupContext.d.ts +14 -0
- package/dist/presentation/forms/checkboxGroup/index.d.ts +2 -0
- package/dist/presentation/forms/checkboxInput/CheckboxInput.variants.d.ts +67 -0
- package/dist/presentation/forms/checkboxInput/CheckboxInput.vue.d.ts +60 -0
- package/dist/presentation/forms/checkboxInput/index.d.ts +2 -0
- package/dist/presentation/forms/choiceCard/ChoiceCard.vue.d.ts +42 -0
- package/dist/presentation/forms/choiceCard/index.d.ts +1 -0
- package/dist/presentation/forms/codeEditor/CodeEditor.vue.d.ts +58 -0
- package/dist/presentation/forms/codeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/colorArea/ColorArea.vue.d.ts +35 -0
- package/dist/presentation/forms/colorArea/index.d.ts +1 -0
- package/dist/presentation/forms/colorInput/ColorInput.vue.d.ts +52 -0
- package/dist/presentation/forms/colorInput/index.d.ts +1 -0
- package/dist/presentation/forms/colorPicker/ColorPicker.vue.d.ts +60 -0
- package/dist/presentation/forms/colorPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorSliderInput/ColorSliderInput.vue.d.ts +45 -0
- package/dist/presentation/forms/colorSliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchItem.vue.d.ts +26 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchPicker.vue.d.ts +39 -0
- package/dist/presentation/forms/colorSwatchPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorWheelInput/ColorWheelInput.vue.d.ts +32 -0
- package/dist/presentation/forms/colorWheelInput/index.d.ts +1 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerContent.vue.d.ts +38 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerContext.d.ts +53 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerInput.vue.d.ts +11 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerItem.vue.d.ts +27 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerSeparator.vue.d.ts +2 -0
- package/dist/presentation/forms/comboboxPicker/index.d.ts +8 -0
- package/dist/presentation/forms/controlGroupField/ControlGroupField.variants.d.ts +70 -0
- package/dist/presentation/forms/controlGroupField/ControlGroupField.vue.d.ts +37 -0
- package/dist/presentation/forms/controlGroupField/index.d.ts +2 -0
- package/dist/presentation/forms/cronInput/CronInput.vue.d.ts +71 -0
- package/dist/presentation/forms/cronInput/index.d.ts +1 -0
- package/dist/presentation/forms/currencyInput/CurrencyInput.vue.d.ts +18 -0
- package/dist/presentation/forms/currencyInput/index.d.ts +1 -0
- package/dist/presentation/forms/dataGridEditor/CellEditor.vue.d.ts +28 -0
- package/dist/presentation/forms/dataGridEditor/DataGridEditor.vue.d.ts +50 -0
- package/dist/presentation/forms/dataGridEditor/DataGridEditorTypes.d.ts +65 -0
- package/dist/presentation/forms/dataGridEditor/index.d.ts +2 -0
- package/dist/presentation/forms/dateInput/DateInput.vue.d.ts +65 -0
- package/dist/presentation/forms/dateInput/index.d.ts +1 -0
- package/dist/presentation/forms/datePicker/DatePicker.vue.d.ts +59 -0
- package/dist/presentation/forms/datePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateRangePicker/DateRangePicker.vue.d.ts +60 -0
- package/dist/presentation/forms/dateRangePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateTimeInput/DateTimeInput.vue.d.ts +70 -0
- package/dist/presentation/forms/dateTimeInput/index.d.ts +1 -0
- package/dist/presentation/forms/durationInput/DurationInput.vue.d.ts +51 -0
- package/dist/presentation/forms/durationInput/index.d.ts +1 -0
- package/dist/presentation/forms/editableInput/EditableInput.vue.d.ts +48 -0
- package/dist/presentation/forms/editableInput/EditableInputCancel.vue.d.ts +11 -0
- package/dist/presentation/forms/editableInput/EditableInputContext.d.ts +37 -0
- package/dist/presentation/forms/editableInput/EditableInputInput.vue.d.ts +11 -0
- package/dist/presentation/forms/editableInput/EditableInputPreview.vue.d.ts +6 -0
- package/dist/presentation/forms/editableInput/EditableInputSubmit.vue.d.ts +13 -0
- package/dist/presentation/forms/editableInput/index.d.ts +7 -0
- package/dist/presentation/forms/emailInput/EmailInput.vue.d.ts +48 -0
- package/dist/presentation/forms/emailInput/index.d.ts +1 -0
- package/dist/presentation/forms/emojiPicker/CategoryNav.vue.d.ts +18 -0
- package/dist/presentation/forms/emojiPicker/EmojiGrid.vue.d.ts +25 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.variants.d.ts +83 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.vue.d.ts +39 -0
- package/dist/presentation/forms/emojiPicker/EmojiPickerPopover.vue.d.ts +58 -0
- package/dist/presentation/forms/emojiPicker/EmojiTile.vue.d.ts +21 -0
- package/dist/presentation/forms/emojiPicker/UseEmojiPicker.d.ts +48 -0
- package/dist/presentation/forms/emojiPicker/index.d.ts +4 -0
- package/dist/presentation/forms/emojiSizePicker/EmojiSizePicker.variants.d.ts +23 -0
- package/dist/presentation/forms/emojiSizePicker/EmojiSizePicker.vue.d.ts +30 -0
- package/dist/presentation/forms/emojiSizePicker/index.d.ts +2 -0
- package/dist/presentation/forms/exactNumberInput/ExactNumberInput.vue.d.ts +51 -0
- package/dist/presentation/forms/exactNumberInput/index.d.ts +1 -0
- package/dist/presentation/forms/field/Field.vue.d.ts +39 -0
- package/dist/presentation/forms/field/index.d.ts +6 -0
- package/dist/presentation/forms/filePicker/FilePicker.vue.d.ts +41 -0
- package/dist/presentation/forms/filePicker/index.d.ts +1 -0
- package/dist/presentation/forms/fileUploadPicker/FileUploadPicker.vue.d.ts +67 -0
- package/dist/presentation/forms/fileUploadPicker/index.d.ts +1 -0
- package/dist/presentation/forms/fontPicker/FontPicker.vue.d.ts +35 -0
- package/dist/presentation/forms/fontPicker/index.d.ts +1 -0
- package/dist/presentation/forms/gradientPicker/GradientPicker.vue.d.ts +47 -0
- package/dist/presentation/forms/gradientPicker/index.d.ts +1 -0
- package/dist/presentation/forms/iconPicker/IconPicker.vue.d.ts +38 -0
- package/dist/presentation/forms/iconPicker/index.d.ts +1 -0
- package/dist/presentation/forms/imageCropEditor/ImageCropEditor.vue.d.ts +45 -0
- package/dist/presentation/forms/imageCropEditor/index.d.ts +1 -0
- package/dist/presentation/forms/imageEditor/ImageEditor.vue.d.ts +40 -0
- package/dist/presentation/forms/imageEditor/index.d.ts +3 -0
- package/dist/presentation/forms/index.d.ts +88 -0
- package/dist/presentation/forms/index.js +195 -0
- package/dist/presentation/forms/index.js.map +1 -0
- package/dist/presentation/forms/jsonEditor/JsonEditor.vue.d.ts +41 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorContext.d.ts +28 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorExtensions.d.ts +13 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTextView.vue.d.ts +13 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTreeNode.vue.d.ts +14 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTreeView.vue.d.ts +7 -0
- package/dist/presentation/forms/jsonEditor/index.d.ts +2 -0
- package/dist/presentation/forms/keyboardShortcutPicker/KeyboardShortcutPicker.vue.d.ts +44 -0
- package/dist/presentation/forms/keyboardShortcutPicker/index.d.ts +1 -0
- package/dist/presentation/forms/knobInput/KnobInput.vue.d.ts +72 -0
- package/dist/presentation/forms/knobInput/index.d.ts +1 -0
- package/dist/presentation/forms/labeledField/LabeledField.vue.d.ts +22 -0
- package/dist/presentation/forms/labeledField/index.d.ts +2 -0
- package/dist/presentation/forms/listboxPicker/ListboxPicker.variants.d.ts +41 -0
- package/dist/presentation/forms/listboxPicker/ListboxPicker.vue.d.ts +69 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerContext.d.ts +47 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerGroup.vue.d.ts +20 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerItem.vue.d.ts +24 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerSeparator.vue.d.ts +2 -0
- package/dist/presentation/forms/listboxPicker/index.d.ts +7 -0
- package/dist/presentation/forms/markdownEditor/MarkdownEditor.vue.d.ts +77 -0
- package/dist/presentation/forms/markdownEditor/index.d.ts +1 -0
- package/dist/presentation/forms/maskedInput/MaskedInput.vue.d.ts +47 -0
- package/dist/presentation/forms/maskedInput/index.d.ts +1 -0
- package/dist/presentation/forms/mentionInput/MentionInput.vue.d.ts +75 -0
- package/dist/presentation/forms/mentionInput/index.d.ts +1 -0
- package/dist/presentation/forms/monthPicker/MonthPicker.vue.d.ts +50 -0
- package/dist/presentation/forms/monthPicker/index.d.ts +1 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPicker.vue.d.ts +52 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContent.vue.d.ts +30 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContext.d.ts +47 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerItem.vue.d.ts +24 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerTags.vue.d.ts +23 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerTrigger.vue.d.ts +24 -0
- package/dist/presentation/forms/multiSelectPicker/index.d.ts +6 -0
- package/dist/presentation/forms/nodeEditor/NodeEditor.vue.d.ts +58 -0
- package/dist/presentation/forms/nodeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/numberInput/NumberInput.vue.d.ts +59 -0
- package/dist/presentation/forms/numberInput/index.d.ts +1 -0
- package/dist/presentation/forms/optionTileGroupField/OptionTileGroupField.variants.d.ts +34 -0
- package/dist/presentation/forms/optionTileGroupField/OptionTileGroupField.vue.d.ts +33 -0
- package/dist/presentation/forms/optionTileGroupField/index.d.ts +2 -0
- package/dist/presentation/forms/optionTilePicker/OptionTilePicker.variants.d.ts +8 -0
- package/dist/presentation/forms/optionTilePicker/OptionTilePicker.vue.d.ts +35 -0
- package/dist/presentation/forms/optionTilePicker/index.d.ts +2 -0
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +53 -0
- package/dist/presentation/forms/passwordInput/index.d.ts +1 -0
- package/dist/presentation/forms/percentInput/PercentInput.vue.d.ts +15 -0
- package/dist/presentation/forms/percentInput/index.d.ts +1 -0
- package/dist/presentation/forms/phoneInput/PhoneInput.vue.d.ts +40 -0
- package/dist/presentation/forms/phoneInput/index.d.ts +1 -0
- package/dist/presentation/forms/pinInput/PinInput.vue.d.ts +41 -0
- package/dist/presentation/forms/pinInput/index.d.ts +1 -0
- package/dist/presentation/forms/pointControl/PointControl.vue.d.ts +32 -0
- package/dist/presentation/forms/pointControl/index.d.ts +1 -0
- package/dist/presentation/forms/pointControl/index.js +5 -0
- package/dist/presentation/forms/pointControl/index.js.map +1 -0
- package/dist/presentation/forms/pointControl/styles.css +2 -0
- package/dist/presentation/forms/radioField/RadioField.vue.d.ts +43 -0
- package/dist/presentation/forms/radioField/index.d.ts +1 -0
- package/dist/presentation/forms/radioGroup/RadioGroup.vue.d.ts +36 -0
- package/dist/presentation/forms/radioGroup/RadioGroupContext.d.ts +26 -0
- package/dist/presentation/forms/radioGroup/index.d.ts +2 -0
- package/dist/presentation/forms/radioInput/RadioInput.vue.d.ts +44 -0
- package/dist/presentation/forms/radioInput/index.d.ts +1 -0
- package/dist/presentation/forms/rangeCalendarPicker/RangeCalendarPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/rangeCalendarPicker/index.d.ts +1 -0
- package/dist/presentation/forms/rangeSliderInput/RangeSliderInput.vue.d.ts +67 -0
- package/dist/presentation/forms/rangeSliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/ratingPicker/RatingPicker.vue.d.ts +72 -0
- package/dist/presentation/forms/ratingPicker/index.d.ts +1 -0
- package/dist/presentation/forms/reactionPicker/ReactionPicker.vue.d.ts +31 -0
- package/dist/presentation/forms/reactionPicker/index.d.ts +1 -0
- package/dist/presentation/forms/recurrenceEditor/RecurrenceEditor.vue.d.ts +82 -0
- package/dist/presentation/forms/recurrenceEditor/index.d.ts +1 -0
- package/dist/presentation/forms/searchInput/SearchInput.vue.d.ts +53 -0
- package/dist/presentation/forms/searchInput/index.d.ts +1 -0
- package/dist/presentation/forms/segmentedPicker/SegmentedPicker.vue.d.ts +20 -0
- package/dist/presentation/forms/segmentedPicker/index.d.ts +1 -0
- package/dist/presentation/forms/selectPicker/SelectPicker.variants.d.ts +129 -0
- package/dist/presentation/forms/selectPicker/SelectPicker.vue.d.ts +64 -0
- package/dist/presentation/forms/selectPicker/SelectPickerContent.vue.d.ts +44 -0
- package/dist/presentation/forms/selectPicker/SelectPickerContext.d.ts +76 -0
- package/dist/presentation/forms/selectPicker/SelectPickerItem.vue.d.ts +33 -0
- package/dist/presentation/forms/selectPicker/SelectPickerTrigger.vue.d.ts +31 -0
- package/dist/presentation/forms/selectPicker/SelectPickerValue.vue.d.ts +22 -0
- package/dist/presentation/forms/selectPicker/index.d.ts +7 -0
- package/dist/presentation/forms/signatureInput/SignatureInput.vue.d.ts +47 -0
- package/dist/presentation/forms/signatureInput/index.d.ts +1 -0
- package/dist/presentation/forms/sliderInput/SliderInput.vue.d.ts +45 -0
- package/dist/presentation/forms/sliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/sortableGroup/SortableGroup.vue.d.ts +17 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupContext.d.ts +23 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupHandle.vue.d.ts +13 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupItem.vue.d.ts +15 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupMoveButton.vue.d.ts +15 -0
- package/dist/presentation/forms/sortableGroup/index.d.ts +5 -0
- package/dist/presentation/forms/switchField/SwitchField.vue.d.ts +40 -0
- package/dist/presentation/forms/switchField/index.d.ts +1 -0
- package/dist/presentation/forms/switchInput/SwitchInput.vue.d.ts +44 -0
- package/dist/presentation/forms/switchInput/index.d.ts +1 -0
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +76 -0
- package/dist/presentation/forms/tagsInput/index.d.ts +1 -0
- package/dist/presentation/forms/telInput/TelInput.vue.d.ts +48 -0
- package/dist/presentation/forms/telInput/index.d.ts +1 -0
- package/dist/presentation/forms/textAreaInput/TextAreaInput.vue.d.ts +54 -0
- package/dist/presentation/forms/textAreaInput/index.d.ts +1 -0
- package/dist/presentation/forms/textInput/TextInput.vue.d.ts +51 -0
- package/dist/presentation/forms/textInput/index.d.ts +1 -0
- package/dist/presentation/forms/timeInput/TimeInput.vue.d.ts +67 -0
- package/dist/presentation/forms/timeInput/index.d.ts +1 -0
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +55 -0
- package/dist/presentation/forms/timePicker/index.d.ts +1 -0
- package/dist/presentation/forms/timezonePicker/TimezonePicker.vue.d.ts +46 -0
- package/dist/presentation/forms/timezonePicker/index.d.ts +1 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroup.variants.d.ts +33 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroup.vue.d.ts +75 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroupContext.d.ts +24 -0
- package/dist/presentation/forms/toggleGroup/index.d.ts +3 -0
- package/dist/presentation/forms/toggleInput/ToggleInput.variants.d.ts +75 -0
- package/dist/presentation/forms/toggleInput/ToggleInput.vue.d.ts +63 -0
- package/dist/presentation/forms/toggleInput/index.d.ts +2 -0
- package/dist/presentation/forms/transferPicker/TransferPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/transferPicker/index.d.ts +1 -0
- package/dist/presentation/forms/treeSelectPicker/TreeSelectPicker.vue.d.ts +53 -0
- package/dist/presentation/forms/treeSelectPicker/TreeSelectPickerNode.vue.d.ts +8 -0
- package/dist/presentation/forms/treeSelectPicker/index.d.ts +1 -0
- package/dist/presentation/forms/urlInput/UrlInput.vue.d.ts +48 -0
- package/dist/presentation/forms/urlInput/index.d.ts +1 -0
- package/dist/presentation/forms/wizardForm/WizardForm.vue.d.ts +35 -0
- package/dist/presentation/forms/wizardForm/WizardFormContext.d.ts +46 -0
- package/dist/presentation/forms/wizardForm/WizardFormFooter.vue.d.ts +28 -0
- package/dist/presentation/forms/wizardForm/WizardFormStep.vue.d.ts +28 -0
- package/dist/presentation/forms/wizardForm/WizardFormSteps.vue.d.ts +6 -0
- package/dist/presentation/forms/wizardForm/index.d.ts +6 -0
- package/dist/presentation/forms/yearPicker/YearPicker.vue.d.ts +49 -0
- package/dist/presentation/forms/yearPicker/index.d.ts +1 -0
- package/dist/presentation/layout/anchorLayout/AnchorLayout.variants.d.ts +117 -0
- package/dist/presentation/layout/anchorLayout/AnchorLayout.vue.d.ts +63 -0
- package/dist/presentation/layout/anchorLayout/index.d.ts +2 -0
- package/dist/presentation/layout/appShell/AppShell.vue.d.ts +105 -0
- package/dist/presentation/layout/appShell/AppShellAside.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/AppShellContent.vue.d.ts +38 -0
- package/dist/presentation/layout/appShell/AppShellFooter.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/AppShellHeader.vue.d.ts +37 -0
- package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/AppShellSidebar.vue.d.ts +19 -0
- package/dist/presentation/layout/appShell/index.d.ts +7 -0
- package/dist/presentation/layout/aspectRatioLayout/AspectRatioLayout.vue.d.ts +18 -0
- package/dist/presentation/layout/aspectRatioLayout/index.d.ts +1 -0
- package/dist/presentation/layout/boxLayout/BoxLayout.vue.d.ts +19 -0
- package/dist/presentation/layout/boxLayout/index.d.ts +1 -0
- package/dist/presentation/layout/canvasArea/CanvasArea.vue.d.ts +100 -0
- package/dist/presentation/layout/canvasArea/CanvasMath.d.ts +25 -0
- package/dist/presentation/layout/canvasArea/index.d.ts +1 -0
- package/dist/presentation/layout/centerLayout/CenterLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/centerLayout/index.d.ts +1 -0
- package/dist/presentation/layout/clusterLayout/ClusterLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/clusterLayout/index.d.ts +1 -0
- package/dist/presentation/layout/containerLayout/ContainerLayout.variants.d.ts +46 -0
- package/dist/presentation/layout/containerLayout/ContainerLayout.vue.d.ts +21 -0
- package/dist/presentation/layout/containerLayout/index.d.ts +2 -0
- package/dist/presentation/layout/dividerLayout/DividerLayout.variants.d.ts +25 -0
- package/dist/presentation/layout/dividerLayout/DividerLayout.vue.d.ts +37 -0
- package/dist/presentation/layout/dividerLayout/index.d.ts +2 -0
- package/dist/presentation/layout/fieldsetLayout/FieldsetLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/fieldsetLayout/index.d.ts +1 -0
- package/dist/presentation/layout/flexLayout/FlexLayout.vue.d.ts +18 -0
- package/dist/presentation/layout/flexLayout/index.d.ts +1 -0
- package/dist/presentation/layout/frameLayout/FrameLayout.vue.d.ts +38 -0
- package/dist/presentation/layout/frameLayout/index.d.ts +1 -0
- package/dist/presentation/layout/grid/Grid.variants.d.ts +99 -0
- package/dist/presentation/layout/grid/Grid.vue.d.ts +32 -0
- package/dist/presentation/layout/grid/index.d.ts +2 -0
- package/dist/presentation/layout/hStackLayout/HStackLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/hStackLayout/index.d.ts +1 -0
- package/dist/presentation/layout/index.d.ts +35 -0
- package/dist/presentation/layout/index.js +88 -0
- package/dist/presentation/layout/index.js.map +1 -0
- package/dist/presentation/layout/inlineLayout/InlineLayout.vue.d.ts +45 -0
- package/dist/presentation/layout/inlineLayout/index.d.ts +1 -0
- package/dist/presentation/layout/inputAddonLayout/InputAddonLayout.vue.d.ts +19 -0
- package/dist/presentation/layout/inputAddonLayout/index.d.ts +1 -0
- package/dist/presentation/layout/inputGroup/InputGroup.vue.d.ts +18 -0
- package/dist/presentation/layout/inputGroup/index.d.ts +1 -0
- package/dist/presentation/layout/listDetailLayout/ListDetailLayout.vue.d.ts +43 -0
- package/dist/presentation/layout/listDetailLayout/index.d.ts +1 -0
- package/dist/presentation/layout/masonryLayout/MasonryLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/masonryLayout/index.d.ts +1 -0
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +84 -0
- package/dist/presentation/layout/navbar/Navbar.vue.d.ts +65 -0
- package/dist/presentation/layout/navbar/NavbarContext.d.ts +15 -0
- package/dist/presentation/layout/navbar/index.d.ts +3 -0
- package/dist/presentation/layout/pageHeader/PageHeader.vue.d.ts +32 -0
- package/dist/presentation/layout/pageHeader/PageHeaderActions.vue.d.ts +11 -0
- package/dist/presentation/layout/pageHeader/PageHeaderOutlet.d.ts +3 -0
- package/dist/presentation/layout/pageHeader/index.d.ts +2 -0
- package/dist/presentation/layout/pullToRefreshLayout/PullToRefreshLayout.vue.d.ts +21 -0
- package/dist/presentation/layout/pullToRefreshLayout/index.d.ts +1 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizablePanel.vue.d.ts +21 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizablePanelsLayout.vue.d.ts +61 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizableSeparator.vue.d.ts +9 -0
- package/dist/presentation/layout/resizablePanelsLayout/index.d.ts +4 -0
- package/dist/presentation/layout/scrollArea/ScrollArea.vue.d.ts +31 -0
- package/dist/presentation/layout/scrollArea/index.d.ts +1 -0
- package/dist/presentation/layout/section/Section.variants.d.ts +42 -0
- package/dist/presentation/layout/section/Section.vue.d.ts +34 -0
- package/dist/presentation/layout/section/index.d.ts +2 -0
- package/dist/presentation/layout/separatorLayout/SeparatorLayout.vue.d.ts +13 -0
- package/dist/presentation/layout/separatorLayout/index.d.ts +1 -0
- package/dist/presentation/layout/spacerLayout/SpacerLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/spacerLayout/index.d.ts +1 -0
- package/dist/presentation/layout/stackLayout/StackLayout.variants.d.ts +172 -0
- package/dist/presentation/layout/stackLayout/StackLayout.vue.d.ts +37 -0
- package/dist/presentation/layout/stackLayout/index.d.ts +2 -0
- package/dist/presentation/layout/stickyLayout/StickyLayout.vue.d.ts +39 -0
- package/dist/presentation/layout/stickyLayout/index.d.ts +1 -0
- package/dist/presentation/layout/surfaceLayout/SurfaceLayout.vue.d.ts +40 -0
- package/dist/presentation/layout/surfaceLayout/index.d.ts +1 -0
- package/dist/presentation/layout/swipeActionsLayout/SwipeActionsLayout.vue.d.ts +27 -0
- package/dist/presentation/layout/swipeActionsLayout/index.d.ts +1 -0
- package/dist/presentation/layout/tiltLayout/TiltLayout.vue.d.ts +30 -0
- package/dist/presentation/layout/tiltLayout/index.d.ts +1 -0
- package/dist/presentation/layout/twoColumnLayout/TwoColumnLayout.vue.d.ts +27 -0
- package/dist/presentation/layout/twoColumnLayout/index.d.ts +1 -0
- package/dist/presentation/layout/vStackLayout/VStackLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/vStackLayout/index.d.ts +1 -0
- package/dist/presentation/layout/virtualScrollArea/VirtualScrollArea.vue.d.ts +43 -0
- package/dist/presentation/layout/virtualScrollArea/index.d.ts +1 -0
- package/dist/presentation/nav/NavExtensions.d.ts +16 -0
- package/dist/presentation/nav/bottomNavMenu/BottomNavMenu.vue.d.ts +16 -0
- package/dist/presentation/nav/bottomNavMenu/BottomNavMenuItem.vue.d.ts +26 -0
- package/dist/presentation/nav/bottomNavMenu/index.d.ts +2 -0
- package/dist/presentation/nav/breadcrumb/Breadcrumb.vue.d.ts +26 -0
- package/dist/presentation/nav/breadcrumb/index.d.ts +1 -0
- package/dist/presentation/nav/contextMenu/ContextMenu.vue.d.ts +17 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContent.vue.d.ts +28 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContext.d.ts +20 -0
- package/dist/presentation/nav/contextMenu/ContextMenuTrigger.vue.d.ts +26 -0
- package/dist/presentation/nav/contextMenu/index.d.ts +4 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenu.vue.d.ts +30 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContent.vue.d.ts +19 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContext.d.ts +28 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuTrigger.vue.d.ts +23 -0
- package/dist/presentation/nav/dropdownMenu/index.d.ts +4 -0
- package/dist/presentation/nav/index.d.ts +13 -0
- package/dist/presentation/nav/index.js +77 -0
- package/dist/presentation/nav/index.js.map +1 -0
- package/dist/presentation/nav/linkItem/LinkItem.variants.d.ts +61 -0
- package/dist/presentation/nav/linkItem/LinkItem.vue.d.ts +25 -0
- package/dist/presentation/nav/linkItem/index.d.ts +2 -0
- package/dist/presentation/nav/menu/Menu.variants.d.ts +39 -0
- package/dist/presentation/nav/menu/Menu.vue.d.ts +63 -0
- package/dist/presentation/nav/menu/MenuCheckboxItem.vue.d.ts +49 -0
- package/dist/presentation/nav/menu/MenuContext.d.ts +104 -0
- package/dist/presentation/nav/menu/MenuExtensions.d.ts +11 -0
- package/dist/presentation/nav/menu/MenuGroup.vue.d.ts +18 -0
- package/dist/presentation/nav/menu/MenuItem.vue.d.ts +38 -0
- package/dist/presentation/nav/menu/MenuLabel.vue.d.ts +19 -0
- package/dist/presentation/nav/menu/MenuRadioGroup.vue.d.ts +34 -0
- package/dist/presentation/nav/menu/MenuRadioItem.vue.d.ts +39 -0
- package/dist/presentation/nav/menu/MenuSeparator.vue.d.ts +11 -0
- package/dist/presentation/nav/menu/MenuSub.vue.d.ts +23 -0
- package/dist/presentation/nav/menu/MenuSubContent.vue.d.ts +37 -0
- package/dist/presentation/nav/menu/MenuSubTrigger.vue.d.ts +22 -0
- package/dist/presentation/nav/menu/index.d.ts +13 -0
- package/dist/presentation/nav/menubar/Menubar.variants.d.ts +4 -0
- package/dist/presentation/nav/menubar/Menubar.vue.d.ts +31 -0
- package/dist/presentation/nav/menubar/MenubarContent.vue.d.ts +29 -0
- package/dist/presentation/nav/menubar/MenubarContext.d.ts +34 -0
- package/dist/presentation/nav/menubar/MenubarMenu.vue.d.ts +13 -0
- package/dist/presentation/nav/menubar/MenubarTrigger.vue.d.ts +19 -0
- package/dist/presentation/nav/menubar/index.d.ts +5 -0
- package/dist/presentation/nav/navItem/NavItem.vue.d.ts +29 -0
- package/dist/presentation/nav/navItem/index.d.ts +1 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenu.vue.d.ts +32 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContent.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContext.d.ts +24 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuItem.vue.d.ts +15 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuLink.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuList.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuTrigger.vue.d.ts +19 -0
- package/dist/presentation/nav/navigationMenu/index.d.ts +7 -0
- package/dist/presentation/nav/pagination/Pagination.vue.d.ts +24 -0
- package/dist/presentation/nav/pagination/index.d.ts +1 -0
- package/dist/presentation/nav/scrollSpy/ScrollSpy.vue.d.ts +30 -0
- package/dist/presentation/nav/scrollSpy/UseScrollSpy.d.ts +20 -0
- package/dist/presentation/nav/scrollSpy/index.d.ts +2 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenu.vue.d.ts +16 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuContext.d.ts +9 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuGroup.vue.d.ts +28 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuItem.vue.d.ts +26 -0
- package/dist/presentation/nav/sidebarMenu/SidebarMenuSection.vue.d.ts +14 -0
- package/dist/presentation/nav/sidebarMenu/index.d.ts +5 -0
- package/dist/presentation/nav/tableOfContents/TableOfContents.vue.d.ts +47 -0
- package/dist/presentation/nav/tableOfContents/index.d.ts +1 -0
- package/dist/presentation/overlays/OverlayBody.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayChrome.d.ts +9 -0
- package/dist/presentation/overlays/OverlayCloseButton.vue.d.ts +23 -0
- package/dist/presentation/overlays/OverlayDescription.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayExtensions.d.ts +14 -0
- package/dist/presentation/overlays/OverlayFooter.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayHeader.vue.d.ts +19 -0
- package/dist/presentation/overlays/OverlayTitle.vue.d.ts +19 -0
- package/dist/presentation/overlays/actionSheet/ActionSheet.vue.d.ts +47 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetAction.vue.d.ts +28 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetCancel.vue.d.ts +18 -0
- package/dist/presentation/overlays/actionSheet/index.d.ts +4 -0
- package/dist/presentation/overlays/alertModal/AlertModal.vue.d.ts +24 -0
- package/dist/presentation/overlays/alertModal/AlertModalAction.vue.d.ts +23 -0
- package/dist/presentation/overlays/alertModal/AlertModalCancel.vue.d.ts +18 -0
- package/dist/presentation/overlays/alertModal/AlertModalContent.vue.d.ts +21 -0
- package/dist/presentation/overlays/alertModal/index.d.ts +12 -0
- package/dist/presentation/overlays/backdropOverlay/BackdropOverlay.vue.d.ts +39 -0
- package/dist/presentation/overlays/backdropOverlay/index.d.ts +1 -0
- package/dist/presentation/overlays/bottomSheet/BottomSheet.vue.d.ts +83 -0
- package/dist/presentation/overlays/bottomSheet/index.d.ts +3 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModal.vue.d.ts +37 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalContent.vue.d.ts +16 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalContext.d.ts +42 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalEmpty.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalGroup.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalInput.vue.d.ts +13 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalItem.vue.d.ts +38 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalList.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalSeparator.vue.d.ts +11 -0
- package/dist/presentation/overlays/commandPaletteModal/index.d.ts +9 -0
- package/dist/presentation/overlays/confirmPopover/ConfirmPopover.vue.d.ts +62 -0
- package/dist/presentation/overlays/confirmPopover/index.d.ts +1 -0
- package/dist/presentation/overlays/drawer/Drawer.vue.d.ts +61 -0
- package/dist/presentation/overlays/drawer/DrawerContent.vue.d.ts +57 -0
- package/dist/presentation/overlays/drawer/DrawerTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/drawer/index.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +55 -0
- package/dist/presentation/overlays/hoverCard/HoverCardArrow.vue.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCardContent.vue.d.ts +18 -0
- package/dist/presentation/overlays/hoverCard/HoverCardTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/hoverCard/index.d.ts +4 -0
- package/dist/presentation/overlays/index.d.ts +13 -0
- package/dist/presentation/overlays/index.js +81 -0
- package/dist/presentation/overlays/index.js.map +1 -0
- package/dist/presentation/overlays/lightboxModal/LightboxModal.vue.d.ts +52 -0
- package/dist/presentation/overlays/lightboxModal/index.d.ts +1 -0
- package/dist/presentation/overlays/modal/Modal.vue.d.ts +67 -0
- package/dist/presentation/overlays/modal/ModalContent.vue.d.ts +78 -0
- package/dist/presentation/overlays/modal/ModalTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/modal/index.d.ts +22 -0
- package/dist/presentation/overlays/modal/styles.css +66 -0
- package/dist/presentation/overlays/popover/Popover.vue.d.ts +67 -0
- package/dist/presentation/overlays/popover/PopoverArrow.vue.d.ts +9 -0
- package/dist/presentation/overlays/popover/PopoverContent.vue.d.ts +33 -0
- package/dist/presentation/overlays/popover/PopoverTrigger.vue.d.ts +23 -0
- package/dist/presentation/overlays/popover/index.d.ts +4 -0
- package/dist/presentation/overlays/tooltip/Tooltip.vue.d.ts +41 -0
- package/dist/presentation/overlays/tooltip/index.d.ts +1 -0
- package/dist/presentation/overlays/tourPopover/TourPopover.vue.d.ts +52 -0
- package/dist/presentation/overlays/tourPopover/index.d.ts +1 -0
- package/dist/presentation/overlays/tourPopover/index.js +6 -0
- package/dist/presentation/overlays/tourPopover/index.js.map +1 -0
- package/dist/presentation/overlays/tourPopover/styles.css +137 -0
- package/dist/query/PageExtensions.d.ts +16 -0
- package/dist/query/Testing.d.ts +1 -0
- package/dist/query/Testing.js +48 -0
- package/dist/query/Testing.js.map +1 -0
- package/dist/query/UseRefresh.d.ts +20 -0
- package/dist/query/adapters/tanstack/CreateQueryClient.d.ts +42 -0
- package/dist/query/adapters/tanstack/Endpoints.d.ts +19 -0
- package/dist/query/adapters/tanstack/OptimisticTransactions.d.ts +3 -0
- package/dist/query/adapters/tanstack/Persistence.d.ts +43 -0
- package/dist/query/adapters/tanstack/QueryLifetime.d.ts +11 -0
- package/dist/query/adapters/tanstack/QueryOutcome.d.ts +8 -0
- package/dist/query/adapters/tanstack/QueryPlugin.d.ts +14 -0
- package/dist/query/adapters/tanstack/QueryProgressBridge.d.ts +15 -0
- package/dist/query/adapters/tanstack/QueryProvider.vue.d.ts +16 -0
- package/dist/query/adapters/tanstack/QueryTestUtils.d.ts +54 -0
- package/dist/query/adapters/tanstack/hooks/UseAppInfiniteQuery.d.ts +49 -0
- package/dist/query/adapters/tanstack/hooks/UseAppLazyQuery.d.ts +44 -0
- package/dist/query/adapters/tanstack/hooks/UseAppMutation.d.ts +38 -0
- package/dist/query/adapters/tanstack/hooks/UseAppPaginatedQuery.d.ts +49 -0
- package/dist/query/adapters/tanstack/hooks/UseAppQueries.d.ts +50 -0
- package/dist/query/adapters/tanstack/hooks/UseAppQuery.d.ts +58 -0
- package/dist/query/adapters/tanstack/hooks/UseAppSuspenseQuery.d.ts +50 -0
- package/dist/query/adapters/tanstack/hooks/UseOptimisticMutation.d.ts +40 -0
- package/dist/query/adapters/tanstack/hooks/UsePrefetchQuery.d.ts +28 -0
- package/dist/query/adapters/tanstack/hooks/UseQueryCache.d.ts +33 -0
- package/dist/query/adapters/tanstack/index.d.ts +20 -0
- package/dist/query/adapters/tanstack/queryDevtools/QueryDevtools.vue.d.ts +9 -0
- package/dist/query/adapters/tanstack/queryDevtools/index.d.ts +1 -0
- package/dist/query/index.d.ts +1 -0
- package/dist/query/index.js +693 -0
- package/dist/query/index.js.map +1 -0
- package/dist/reporting/CreateReporter.d.ts +97 -0
- package/dist/reporting/DescribeError.d.ts +15 -0
- package/dist/reporting/DescribeTarget.d.ts +13 -0
- package/dist/reporting/IncidentReport.d.ts +179 -0
- package/dist/reporting/ReportSink.d.ts +38 -0
- package/dist/reporting/index.d.ts +5 -0
- package/dist/reporting/index.js +573 -0
- package/dist/reporting/index.js.map +1 -0
- package/dist/router/NavigationProgressModes.d.ts +18 -0
- package/dist/router/Paths.d.ts +16 -0
- package/dist/router/ProgressProvider.vue.d.ts +18 -0
- package/dist/router/adapters/vueRouter/CreateAppRouter.d.ts +69 -0
- package/dist/router/adapters/vueRouter/DocumentMeta.d.ts +13 -0
- package/dist/router/adapters/vueRouter/DocumentTitle.d.ts +18 -0
- package/dist/router/adapters/vueRouter/Guards.d.ts +32 -0
- package/dist/router/adapters/vueRouter/LazyRoute.d.ts +34 -0
- package/dist/router/adapters/vueRouter/PageViewTracker.d.ts +23 -0
- package/dist/router/adapters/vueRouter/RouteConfig.d.ts +99 -0
- package/dist/router/adapters/vueRouter/RouteHandles.d.ts +30 -0
- package/dist/router/adapters/vueRouter/RoutePersistence.d.ts +20 -0
- package/dist/router/adapters/vueRouter/ScrollRestoration.d.ts +14 -0
- package/dist/router/adapters/vueRouter/appErrorBoundary/AppErrorBoundary.vue.d.ts +28 -0
- package/dist/router/adapters/vueRouter/appErrorBoundary/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/appLink/AppLink.vue.d.ts +36 -0
- package/dist/router/adapters/vueRouter/appLink/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/appNavLink/AppNavLink.vue.d.ts +42 -0
- package/dist/router/adapters/vueRouter/appNavLink/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/hooks/UseBreadcrumbs.d.ts +17 -0
- package/dist/router/adapters/vueRouter/hooks/UseNavigationBlocker.d.ts +41 -0
- package/dist/router/adapters/vueRouter/hooks/UsePrefetch.d.ts +19 -0
- package/dist/router/adapters/vueRouter/hooks/UseRouteNavigating.d.ts +15 -0
- package/dist/router/adapters/vueRouter/hooks/UseTypedSearchParams.d.ts +17 -0
- package/dist/router/adapters/vueRouter/index.d.ts +25 -0
- package/dist/router/adapters/vueRouter/navigationProgress/NavigationProgress.vue.d.ts +18 -0
- package/dist/router/adapters/vueRouter/navigationProgress/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/notFound/NotFound.vue.d.ts +9 -0
- package/dist/router/adapters/vueRouter/notFound/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/routeAnnouncer/RouteAnnouncer.vue.d.ts +12 -0
- package/dist/router/adapters/vueRouter/routeAnnouncer/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/routePageHeader/RoutePageHeader.vue.d.ts +22 -0
- package/dist/router/adapters/vueRouter/routePageHeader/index.d.ts +1 -0
- package/dist/router/hooks/UseNavigationProgress.d.ts +32 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/router/index.js +945 -0
- package/dist/router/index.js.map +1 -0
- package/dist/themes.css +16279 -0
- package/dist/themes.json +2989 -0
- package/package.json +515 -4
|
@@ -0,0 +1,2256 @@
|
|
|
1
|
+
import { defineComponent, shallowRef, provide, computed, renderSlot, inject, useAttrs, useTemplateRef, watch, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createCommentVNode, createElementVNode, withModifiers, normalizeClass, createElementBlock, useSlots, onScopeDispose, toDisplayString, createTextVNode, ref, normalizeStyle } from "vue";
|
|
2
|
+
import { r as resolveElement } from "./ResolveElement-CyRfM82x.js";
|
|
3
|
+
import { O as OverlayExtensions, _ as _sfc_main$D, b as _sfc_main$E, a as _sfc_main$F, l as listboxGroupLabelVariants, c as listboxItemVariants, d as listboxEmptyVariants, e as listboxSeparatorVariants } from "./PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js";
|
|
4
|
+
import { P as Primitive } from "./Primitive-D-9ShOm7.js";
|
|
5
|
+
import { c as cn } from "./Cn-C7De6POU.js";
|
|
6
|
+
import { o as overlayChromeContextKey, u as useOverlayChromeContext, b as useDrawerContext, _ as _sfc_main$I, a as _sfc_main$J } from "./DrawerContent.vue_vue_type_script_setup_true_lang-Dl8CP4-K.js";
|
|
7
|
+
import { _ as _sfc_main$C } from "./OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js";
|
|
8
|
+
import { u as useLocaleDefaults } from "./UseLocaleDefaults-DnL2Ctbe.js";
|
|
9
|
+
import { u as useId } from "./UseId-CtgAhGrn.js";
|
|
10
|
+
import { u as useControlled } from "./UseControlled-BQneb7BW.js";
|
|
11
|
+
import { _ as _sfc_main$G } from "./Button.vue_vue_type_script_setup_true_lang-BrgCAsgC.js";
|
|
12
|
+
import { u as useEscape } from "./UseEscape-3hj5BJus.js";
|
|
13
|
+
import { _ as _sfc_main$x } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
|
|
14
|
+
import { _ as _sfc_main$H } from "./AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
|
|
15
|
+
import { P as Presence } from "./Presence-DDk0ZtAr.js";
|
|
16
|
+
import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
|
|
17
|
+
import { s as surfaceVariants } from "./SurfaceStyles-B8KNkFsm.js";
|
|
18
|
+
import { _ as _sfc_main$z } from "./BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js";
|
|
19
|
+
import { _ as _sfc_main$y } from "./ScrollLockProvider.vue_vue_type_script_setup_true_lang-C6WDtqT0.js";
|
|
20
|
+
import { _ as _sfc_main$A } from "./FocusScope.vue_vue_type_script_setup_true_lang-C4XeQoxg.js";
|
|
21
|
+
import { _ as _sfc_main$B } from "./DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js";
|
|
22
|
+
import { a as useHotkeys } from "./UseHotkeys-Dapfyg78.js";
|
|
23
|
+
import { D as DomOrderExtensions } from "./DomOrderExtensions-Czsyvn6e.js";
|
|
24
|
+
import { X, Search, ChevronLeft, ChevronRight } from "lucide-vue-next";
|
|
25
|
+
import { _ as _sfc_main$K } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
|
|
26
|
+
const ModalRole = {
|
|
27
|
+
/** Refers to a standard dialog. */
|
|
28
|
+
Dialog: "dialog",
|
|
29
|
+
/** Refers to an alert dialog that interrupts to convey an urgent message. */
|
|
30
|
+
AlertDialog: "alertdialog"
|
|
31
|
+
};
|
|
32
|
+
const modalContextKey = Symbol("wow-two.modal");
|
|
33
|
+
function useModalContext() {
|
|
34
|
+
const context = inject(modalContextKey, null);
|
|
35
|
+
if (!context) throw new Error("Modal.* must be used inside <Modal>");
|
|
36
|
+
return context;
|
|
37
|
+
}
|
|
38
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
39
|
+
...{ name: "Modal", inheritAttrs: false },
|
|
40
|
+
__name: "Modal",
|
|
41
|
+
props: {
|
|
42
|
+
open: { type: Boolean, default: void 0 },
|
|
43
|
+
defaultOpen: { type: Boolean, default: false },
|
|
44
|
+
canDismissOnOutsideClick: { type: Boolean, default: void 0 },
|
|
45
|
+
dismissOnOutsideClick: { type: Boolean, default: void 0 },
|
|
46
|
+
canDismissOnEscape: { type: Boolean, default: void 0 },
|
|
47
|
+
dismissOnEscape: { type: Boolean, default: void 0 },
|
|
48
|
+
role: { default: "dialog" }
|
|
49
|
+
},
|
|
50
|
+
emits: ["update:open"],
|
|
51
|
+
setup(__props, { emit: __emit }) {
|
|
52
|
+
const props = __props;
|
|
53
|
+
const emit = __emit;
|
|
54
|
+
const controlled = useControlled({
|
|
55
|
+
controlled: () => props.open,
|
|
56
|
+
default: () => props.defaultOpen,
|
|
57
|
+
onChange: (value) => {
|
|
58
|
+
emit("update:open", value);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
const triggerEl = shallowRef(null);
|
|
62
|
+
const titleId = useId("modal-title");
|
|
63
|
+
const descriptionId = useId("modal-description");
|
|
64
|
+
provide(modalContextKey, {
|
|
65
|
+
open: controlled.value,
|
|
66
|
+
setOpen: controlled.setValue,
|
|
67
|
+
triggerEl,
|
|
68
|
+
titleId,
|
|
69
|
+
descriptionId,
|
|
70
|
+
role: computed(() => props.role),
|
|
71
|
+
dismissOnOutsideClick: computed(() => props.canDismissOnOutsideClick ?? props.dismissOnOutsideClick ?? true),
|
|
72
|
+
dismissOnEscape: computed(() => props.canDismissOnEscape ?? props.dismissOnEscape ?? true)
|
|
73
|
+
});
|
|
74
|
+
return (_ctx, _cache) => {
|
|
75
|
+
return renderSlot(_ctx.$slots, "default");
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
80
|
+
...{ name: "ModalTrigger", inheritAttrs: false },
|
|
81
|
+
__name: "ModalTrigger",
|
|
82
|
+
props: {
|
|
83
|
+
asChild: { type: Boolean, default: false }
|
|
84
|
+
},
|
|
85
|
+
setup(__props, { expose: __expose }) {
|
|
86
|
+
const props = __props;
|
|
87
|
+
const attrs = useAttrs();
|
|
88
|
+
const context = useModalContext();
|
|
89
|
+
const inner = useTemplateRef("inner");
|
|
90
|
+
const isOpen = context.open;
|
|
91
|
+
watch(
|
|
92
|
+
inner,
|
|
93
|
+
(instance) => {
|
|
94
|
+
context.triggerEl.value = OverlayExtensions.toHtmlElement(instance?.$el);
|
|
95
|
+
},
|
|
96
|
+
{ immediate: true, flush: "post" }
|
|
97
|
+
);
|
|
98
|
+
function handleClick(event) {
|
|
99
|
+
if (event.defaultPrevented) return;
|
|
100
|
+
context.setOpen(true);
|
|
101
|
+
}
|
|
102
|
+
const el = computed(() => resolveElement(inner.value));
|
|
103
|
+
__expose({ el });
|
|
104
|
+
return (_ctx, _cache) => {
|
|
105
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
106
|
+
ref_key: "inner",
|
|
107
|
+
ref: inner,
|
|
108
|
+
as: "button",
|
|
109
|
+
"as-child": props.asChild,
|
|
110
|
+
type: "button",
|
|
111
|
+
"aria-haspopup": "dialog",
|
|
112
|
+
"aria-expanded": unref(isOpen),
|
|
113
|
+
"data-state": unref(isOpen) ? "open" : "closed"
|
|
114
|
+
}, unref(attrs), { onClick: handleClick }), {
|
|
115
|
+
default: withCtx(() => [
|
|
116
|
+
renderSlot(_ctx.$slots, "default")
|
|
117
|
+
]),
|
|
118
|
+
_: 3
|
|
119
|
+
}, 16, ["as-child", "aria-expanded", "data-state"]);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
const _hoisted_1$a = ["data-phone-layout"];
|
|
124
|
+
const _hoisted_2$6 = ["role", "aria-labelledby", "aria-describedby", "data-phone-layout"];
|
|
125
|
+
const _hoisted_3$2 = {
|
|
126
|
+
key: 1,
|
|
127
|
+
"aria-hidden": "true",
|
|
128
|
+
class: "block h-[env(safe-area-inset-top)] shrink-0 sm:hidden"
|
|
129
|
+
};
|
|
130
|
+
const _hoisted_4$2 = {
|
|
131
|
+
key: 2,
|
|
132
|
+
"aria-hidden": "true",
|
|
133
|
+
class: "block h-[env(safe-area-inset-bottom)] shrink-0 sm:hidden"
|
|
134
|
+
};
|
|
135
|
+
const ModalSize = {
|
|
136
|
+
/** Refers to a narrow panel (24rem) — confirmations and short prompts. */
|
|
137
|
+
Sm: "sm",
|
|
138
|
+
/** Refers to the default panel (32rem). */
|
|
139
|
+
Md: "md",
|
|
140
|
+
/** Refers to a wide panel (42rem) — forms with paired fields. */
|
|
141
|
+
Lg: "lg",
|
|
142
|
+
/** Refers to an extra-wide panel (56rem) — tables and multi-column forms. */
|
|
143
|
+
Xl: "xl",
|
|
144
|
+
/** Refers to a panel that spans the window, inside its gutter. */
|
|
145
|
+
Full: "full"
|
|
146
|
+
};
|
|
147
|
+
const ModalPhoneLayout = {
|
|
148
|
+
/** Refers to a panel that fills the screen — header on top, a scrolling body, the footer pinned to the bottom. */
|
|
149
|
+
Fullscreen: "fullscreen",
|
|
150
|
+
/** Refers to a sheet docked to the bottom edge, rounded on top, that slides up. */
|
|
151
|
+
Sheet: "sheet",
|
|
152
|
+
/** Refers to the centred card, as on wider screens. */
|
|
153
|
+
Card: "card"
|
|
154
|
+
};
|
|
155
|
+
const ModalSizeClass = {
|
|
156
|
+
sm: "max-w-sm",
|
|
157
|
+
md: "max-w-lg",
|
|
158
|
+
lg: "max-w-2xl",
|
|
159
|
+
xl: "max-w-4xl",
|
|
160
|
+
full: "max-w-none"
|
|
161
|
+
};
|
|
162
|
+
const LayerPhoneClass = {
|
|
163
|
+
fullscreen: "max-sm:place-items-stretch max-sm:p-0",
|
|
164
|
+
sheet: "max-sm:items-end max-sm:justify-items-stretch max-sm:p-0",
|
|
165
|
+
card: ""
|
|
166
|
+
};
|
|
167
|
+
const FramePhoneClass = {
|
|
168
|
+
fullscreen: "max-sm:justify-items-stretch",
|
|
169
|
+
sheet: "max-sm:justify-items-stretch",
|
|
170
|
+
card: ""
|
|
171
|
+
};
|
|
172
|
+
const PanelPhoneClass = {
|
|
173
|
+
fullscreen: cn(
|
|
174
|
+
"max-sm:h-dvh max-sm:max-h-dvh max-sm:w-full max-sm:max-w-none max-sm:rounded-none",
|
|
175
|
+
"max-sm:[--ui-overlay-inset-top:env(safe-area-inset-top)]",
|
|
176
|
+
"max-sm:[&>form]:flex max-sm:[&>form]:min-h-0 max-sm:[&>form]:flex-1 max-sm:[&>form]:flex-col"
|
|
177
|
+
),
|
|
178
|
+
sheet: "max-sm:w-full max-sm:max-w-none max-sm:rounded-t-2xl max-sm:rounded-b-none",
|
|
179
|
+
card: ""
|
|
180
|
+
};
|
|
181
|
+
const PanelMotionClass = {
|
|
182
|
+
fullscreen: cn(
|
|
183
|
+
"sm:motion-safe:group-data-[state=open]:animate-(--animate-pop-in)",
|
|
184
|
+
"sm:motion-safe:group-data-[state=closed]:animate-(--animate-pop-out)",
|
|
185
|
+
"max-sm:motion-safe:group-data-[state=open]:animate-(--animate-sheet-in)",
|
|
186
|
+
"max-sm:motion-safe:group-data-[state=closed]:animate-(--animate-sheet-out)"
|
|
187
|
+
),
|
|
188
|
+
sheet: cn(
|
|
189
|
+
"sm:motion-safe:group-data-[state=open]:animate-(--animate-pop-in)",
|
|
190
|
+
"sm:motion-safe:group-data-[state=closed]:animate-(--animate-pop-out)",
|
|
191
|
+
"max-sm:motion-safe:group-data-[state=open]:animate-(--animate-sheet-in)",
|
|
192
|
+
"max-sm:motion-safe:group-data-[state=closed]:animate-(--animate-sheet-out)"
|
|
193
|
+
),
|
|
194
|
+
card: cn(
|
|
195
|
+
"motion-safe:group-data-[state=open]:animate-(--animate-pop-in)",
|
|
196
|
+
"motion-safe:group-data-[state=closed]:animate-(--animate-pop-out)"
|
|
197
|
+
)
|
|
198
|
+
};
|
|
199
|
+
const HandleDismissDistance = 96;
|
|
200
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
201
|
+
...{ name: "ModalContent", inheritAttrs: false },
|
|
202
|
+
__name: "ModalContent",
|
|
203
|
+
props: {
|
|
204
|
+
showBackdrop: { type: Boolean, default: void 0 },
|
|
205
|
+
hideBackdrop: { type: Boolean, default: void 0 },
|
|
206
|
+
isBlurred: { type: Boolean },
|
|
207
|
+
size: { default: "md" },
|
|
208
|
+
variant: {},
|
|
209
|
+
tone: {},
|
|
210
|
+
radius: {},
|
|
211
|
+
padding: {},
|
|
212
|
+
elevation: {},
|
|
213
|
+
phoneLayout: { default: ModalPhoneLayout.Fullscreen },
|
|
214
|
+
showHandle: { type: Boolean, default: false }
|
|
215
|
+
},
|
|
216
|
+
setup(__props, { expose: __expose }) {
|
|
217
|
+
const props = __props;
|
|
218
|
+
const hasBackdrop = computed(() => props.showBackdrop ?? !(props.hideBackdrop ?? false));
|
|
219
|
+
const attrs = useAttrs();
|
|
220
|
+
const context = useModalContext();
|
|
221
|
+
const el = useTemplateRef("el");
|
|
222
|
+
const isOpen = context.open;
|
|
223
|
+
const role = context.role;
|
|
224
|
+
const dismissOnEscape = context.dismissOnEscape;
|
|
225
|
+
function close() {
|
|
226
|
+
context.setOpen(false);
|
|
227
|
+
}
|
|
228
|
+
provide(overlayChromeContextKey, {
|
|
229
|
+
titleId: context.titleId,
|
|
230
|
+
descriptionId: context.descriptionId,
|
|
231
|
+
close
|
|
232
|
+
});
|
|
233
|
+
const hasBottomInset = computed(() => props.phoneLayout !== ModalPhoneLayout.Card);
|
|
234
|
+
const hasTopInset = computed(() => props.phoneLayout === ModalPhoneLayout.Fullscreen);
|
|
235
|
+
const hasHandle = computed(() => props.showHandle && props.phoneLayout === ModalPhoneLayout.Sheet);
|
|
236
|
+
const layerClasses = computed(
|
|
237
|
+
() => cn(
|
|
238
|
+
"ui-modal-layer group fixed inset-0 z-modal grid place-items-center overflow-y-auto p-4",
|
|
239
|
+
"motion-safe:data-[state=open]:animate-(--animate-fade-in)",
|
|
240
|
+
"motion-safe:data-[state=closed]:animate-(--animate-fade-out)",
|
|
241
|
+
LayerPhoneClass[props.phoneLayout]
|
|
242
|
+
)
|
|
243
|
+
);
|
|
244
|
+
const frameClasses = computed(
|
|
245
|
+
() => cn("ui-modal-frame grid w-full justify-items-center", FramePhoneClass[props.phoneLayout])
|
|
246
|
+
);
|
|
247
|
+
const classes = computed(
|
|
248
|
+
() => cn(
|
|
249
|
+
"ui-modal-content relative w-full",
|
|
250
|
+
ModalSizeClass[props.size],
|
|
251
|
+
/* The panel never outgrows the window: it caps at the viewport and its body scrolls under a fixed header and
|
|
252
|
+
footer. A panel without a body part scrolls whole. */
|
|
253
|
+
"flex max-h-[calc(100dvh-2rem)] flex-col overflow-y-auto overscroll-contain",
|
|
254
|
+
PanelMotionClass[props.phoneLayout],
|
|
255
|
+
surfaceVariants({
|
|
256
|
+
variant: props.variant ?? "elevated",
|
|
257
|
+
tone: props.tone,
|
|
258
|
+
radius: props.radius ?? "lg",
|
|
259
|
+
padding: props.padding ?? "xl",
|
|
260
|
+
elevation: props.elevation
|
|
261
|
+
}),
|
|
262
|
+
attrs.class,
|
|
263
|
+
/* Last, so a caller's width, height or radius serves the card and the phone layout still fills the screen. */
|
|
264
|
+
PanelPhoneClass[props.phoneLayout]
|
|
265
|
+
)
|
|
266
|
+
);
|
|
267
|
+
const rest = computed(() => {
|
|
268
|
+
const { class: _class, ...others } = attrs;
|
|
269
|
+
return others;
|
|
270
|
+
});
|
|
271
|
+
const dragOffset = shallowRef(0);
|
|
272
|
+
const isDragging = shallowRef(false);
|
|
273
|
+
let dragPointer = null;
|
|
274
|
+
watch(isOpen, (open) => {
|
|
275
|
+
if (open) dragOffset.value = 0;
|
|
276
|
+
});
|
|
277
|
+
const dragStyle = computed(
|
|
278
|
+
() => hasHandle.value ? {
|
|
279
|
+
transform: dragOffset.value > 0 ? `translateY(${dragOffset.value}px)` : void 0,
|
|
280
|
+
transition: isDragging.value ? "none" : "transform var(--duration-base) var(--ease-out)"
|
|
281
|
+
} : void 0
|
|
282
|
+
);
|
|
283
|
+
function handlePointerDown(event) {
|
|
284
|
+
if (event.button !== 0) return;
|
|
285
|
+
dragPointer = { id: event.pointerId, startY: event.clientY };
|
|
286
|
+
isDragging.value = true;
|
|
287
|
+
try {
|
|
288
|
+
event.currentTarget.setPointerCapture(event.pointerId);
|
|
289
|
+
} catch {
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
function handlePointerMove(event) {
|
|
293
|
+
if (dragPointer?.id !== event.pointerId) return;
|
|
294
|
+
dragOffset.value = Math.max(0, event.clientY - dragPointer.startY);
|
|
295
|
+
}
|
|
296
|
+
function handlePointerEnd(event) {
|
|
297
|
+
if (dragPointer?.id !== event.pointerId) return;
|
|
298
|
+
dragPointer = null;
|
|
299
|
+
isDragging.value = false;
|
|
300
|
+
const height = el.value?.offsetHeight ?? 0;
|
|
301
|
+
const distance = Math.min(HandleDismissDistance, height / 3);
|
|
302
|
+
if (event.type === "pointerup" && dragOffset.value > distance && context.dismissOnOutsideClick.value) {
|
|
303
|
+
context.setOpen(false);
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
dragOffset.value = 0;
|
|
307
|
+
}
|
|
308
|
+
function handleOutsideClick() {
|
|
309
|
+
if (context.dismissOnOutsideClick.value) context.setOpen(false);
|
|
310
|
+
}
|
|
311
|
+
function handleEscape() {
|
|
312
|
+
context.setOpen(false);
|
|
313
|
+
}
|
|
314
|
+
__expose({ el });
|
|
315
|
+
return (_ctx, _cache) => {
|
|
316
|
+
return openBlock(), createBlock(unref(_sfc_main$x), null, {
|
|
317
|
+
default: withCtx(() => [
|
|
318
|
+
createVNode(unref(_sfc_main$y), { "is-enabled": unref(isOpen) }, {
|
|
319
|
+
default: withCtx(() => [
|
|
320
|
+
hasBackdrop.value ? (openBlock(), createBlock(_sfc_main$z, {
|
|
321
|
+
key: 0,
|
|
322
|
+
"is-inline": "",
|
|
323
|
+
"is-open": unref(isOpen),
|
|
324
|
+
"is-blurred": props.isBlurred
|
|
325
|
+
}, null, 8, ["is-open", "is-blurred"])) : createCommentVNode("", true),
|
|
326
|
+
createVNode(unref(Presence), { "is-present": unref(isOpen) }, {
|
|
327
|
+
default: withCtx(() => [
|
|
328
|
+
createElementVNode("div", {
|
|
329
|
+
class: normalizeClass(layerClasses.value),
|
|
330
|
+
"data-phone-layout": props.phoneLayout,
|
|
331
|
+
onClick: withModifiers(handleOutsideClick, ["self"])
|
|
332
|
+
}, [
|
|
333
|
+
createVNode(unref(_sfc_main$A), {
|
|
334
|
+
"as-child": "",
|
|
335
|
+
"is-trapped": "",
|
|
336
|
+
"can-loop": "",
|
|
337
|
+
"is-modal": ""
|
|
338
|
+
}, {
|
|
339
|
+
default: withCtx(() => [
|
|
340
|
+
createVNode(unref(_sfc_main$B), {
|
|
341
|
+
class: normalizeClass(frameClasses.value),
|
|
342
|
+
"is-escape-disabled": !unref(dismissOnEscape),
|
|
343
|
+
"is-outside-click-disabled": "",
|
|
344
|
+
"on-escape": handleEscape
|
|
345
|
+
}, {
|
|
346
|
+
default: withCtx(() => [
|
|
347
|
+
createElementVNode("div", mergeProps({
|
|
348
|
+
ref_key: "el",
|
|
349
|
+
ref: el,
|
|
350
|
+
role: unref(role),
|
|
351
|
+
"aria-modal": "true",
|
|
352
|
+
"aria-labelledby": unref(context).titleId,
|
|
353
|
+
"aria-describedby": unref(context).descriptionId,
|
|
354
|
+
"data-phone-layout": props.phoneLayout
|
|
355
|
+
}, rest.value, {
|
|
356
|
+
class: classes.value,
|
|
357
|
+
style: dragStyle.value
|
|
358
|
+
}), [
|
|
359
|
+
hasHandle.value ? (openBlock(), createElementBlock("div", {
|
|
360
|
+
key: 0,
|
|
361
|
+
"data-modal-handle": "",
|
|
362
|
+
"aria-hidden": "true",
|
|
363
|
+
class: "absolute inset-x-0 top-0 z-raised flex h-6 cursor-grab touch-none justify-center pt-2 sm:hidden",
|
|
364
|
+
onPointerdown: handlePointerDown,
|
|
365
|
+
onPointermove: handlePointerMove,
|
|
366
|
+
onPointerup: handlePointerEnd,
|
|
367
|
+
onPointercancel: handlePointerEnd
|
|
368
|
+
}, [..._cache[0] || (_cache[0] = [
|
|
369
|
+
createElementVNode("span", { class: "h-1 w-10 rounded-full bg-border-strong forced-colors:bg-[CanvasText]" }, null, -1)
|
|
370
|
+
])], 32)) : createCommentVNode("", true),
|
|
371
|
+
hasTopInset.value ? (openBlock(), createElementBlock("span", _hoisted_3$2)) : createCommentVNode("", true),
|
|
372
|
+
renderSlot(_ctx.$slots, "default"),
|
|
373
|
+
hasBottomInset.value ? (openBlock(), createElementBlock("span", _hoisted_4$2)) : createCommentVNode("", true)
|
|
374
|
+
], 16, _hoisted_2$6)
|
|
375
|
+
]),
|
|
376
|
+
_: 3
|
|
377
|
+
}, 8, ["class", "is-escape-disabled"])
|
|
378
|
+
]),
|
|
379
|
+
_: 3
|
|
380
|
+
})
|
|
381
|
+
], 10, _hoisted_1$a)
|
|
382
|
+
]),
|
|
383
|
+
_: 3
|
|
384
|
+
}, 8, ["is-present"])
|
|
385
|
+
]),
|
|
386
|
+
_: 3
|
|
387
|
+
}, 8, ["is-enabled"])
|
|
388
|
+
]),
|
|
389
|
+
_: 3
|
|
390
|
+
});
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
395
|
+
...{ name: "OverlayHeader", inheritAttrs: false },
|
|
396
|
+
__name: "OverlayHeader",
|
|
397
|
+
setup(__props, { expose: __expose }) {
|
|
398
|
+
const attrs = useAttrs();
|
|
399
|
+
const el = useTemplateRef("el");
|
|
400
|
+
const classes = computed(() => cn("mb-4 flex shrink-0 flex-col gap-1.5", attrs.class));
|
|
401
|
+
const rest = computed(() => {
|
|
402
|
+
const { class: _class, ...others } = attrs;
|
|
403
|
+
return others;
|
|
404
|
+
});
|
|
405
|
+
__expose({ el });
|
|
406
|
+
return (_ctx, _cache) => {
|
|
407
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
408
|
+
ref_key: "el",
|
|
409
|
+
ref: el
|
|
410
|
+
}, rest.value, { class: classes.value }), [
|
|
411
|
+
renderSlot(_ctx.$slots, "default")
|
|
412
|
+
], 16);
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
const _hoisted_1$9 = ["id"];
|
|
417
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
418
|
+
...{ name: "OverlayTitle", inheritAttrs: false },
|
|
419
|
+
__name: "OverlayTitle",
|
|
420
|
+
setup(__props, { expose: __expose }) {
|
|
421
|
+
const attrs = useAttrs();
|
|
422
|
+
const context = useOverlayChromeContext();
|
|
423
|
+
const el = useTemplateRef("el");
|
|
424
|
+
const classes = computed(
|
|
425
|
+
() => cn("text-lg font-semibold leading-none text-foreground", attrs.class)
|
|
426
|
+
);
|
|
427
|
+
const rest = computed(() => {
|
|
428
|
+
const { class: _class, ...others } = attrs;
|
|
429
|
+
return others;
|
|
430
|
+
});
|
|
431
|
+
__expose({ el });
|
|
432
|
+
return (_ctx, _cache) => {
|
|
433
|
+
return openBlock(), createElementBlock("h2", mergeProps({
|
|
434
|
+
ref_key: "el",
|
|
435
|
+
ref: el,
|
|
436
|
+
id: unref(context).titleId
|
|
437
|
+
}, rest.value, { class: classes.value }), [
|
|
438
|
+
renderSlot(_ctx.$slots, "default")
|
|
439
|
+
], 16, _hoisted_1$9);
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
const _hoisted_1$8 = ["id"];
|
|
444
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
445
|
+
...{ name: "OverlayDescription", inheritAttrs: false },
|
|
446
|
+
__name: "OverlayDescription",
|
|
447
|
+
setup(__props, { expose: __expose }) {
|
|
448
|
+
const attrs = useAttrs();
|
|
449
|
+
const context = useOverlayChromeContext();
|
|
450
|
+
const el = useTemplateRef("el");
|
|
451
|
+
const classes = computed(() => cn("text-sm text-muted-foreground", attrs.class));
|
|
452
|
+
const rest = computed(() => {
|
|
453
|
+
const { class: _class, ...others } = attrs;
|
|
454
|
+
return others;
|
|
455
|
+
});
|
|
456
|
+
__expose({ el });
|
|
457
|
+
return (_ctx, _cache) => {
|
|
458
|
+
return openBlock(), createElementBlock("p", mergeProps({
|
|
459
|
+
ref_key: "el",
|
|
460
|
+
ref: el,
|
|
461
|
+
id: unref(context).descriptionId
|
|
462
|
+
}, rest.value, { class: classes.value }), [
|
|
463
|
+
renderSlot(_ctx.$slots, "default")
|
|
464
|
+
], 16, _hoisted_1$8);
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
});
|
|
468
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
469
|
+
...{ name: "OverlayBody", inheritAttrs: false },
|
|
470
|
+
__name: "OverlayBody",
|
|
471
|
+
setup(__props, { expose: __expose }) {
|
|
472
|
+
const attrs = useAttrs();
|
|
473
|
+
const el = useTemplateRef("el");
|
|
474
|
+
const classes = computed(
|
|
475
|
+
() => cn("-mx-1 min-h-0 flex-1 overflow-y-auto px-1 text-sm text-foreground", attrs.class)
|
|
476
|
+
);
|
|
477
|
+
const rest = computed(() => {
|
|
478
|
+
const { class: _class, ...others } = attrs;
|
|
479
|
+
return others;
|
|
480
|
+
});
|
|
481
|
+
__expose({ el });
|
|
482
|
+
return (_ctx, _cache) => {
|
|
483
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
484
|
+
ref_key: "el",
|
|
485
|
+
ref: el
|
|
486
|
+
}, rest.value, { class: classes.value }), [
|
|
487
|
+
renderSlot(_ctx.$slots, "default")
|
|
488
|
+
], 16);
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
493
|
+
...{ name: "OverlayFooter", inheritAttrs: false },
|
|
494
|
+
__name: "OverlayFooter",
|
|
495
|
+
setup(__props, { expose: __expose }) {
|
|
496
|
+
const attrs = useAttrs();
|
|
497
|
+
const el = useTemplateRef("el");
|
|
498
|
+
const classes = computed(
|
|
499
|
+
() => cn("mt-6 flex shrink-0 flex-col-reverse gap-2 sm:flex-row sm:justify-end", attrs.class)
|
|
500
|
+
);
|
|
501
|
+
const rest = computed(() => {
|
|
502
|
+
const { class: _class, ...others } = attrs;
|
|
503
|
+
return others;
|
|
504
|
+
});
|
|
505
|
+
__expose({ el });
|
|
506
|
+
return (_ctx, _cache) => {
|
|
507
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
508
|
+
ref_key: "el",
|
|
509
|
+
ref: el
|
|
510
|
+
}, rest.value, { class: classes.value }), [
|
|
511
|
+
renderSlot(_ctx.$slots, "default")
|
|
512
|
+
], 16);
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
});
|
|
516
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
517
|
+
...{ name: "OverlayCloseButton", inheritAttrs: false },
|
|
518
|
+
__name: "OverlayCloseButton",
|
|
519
|
+
props: {
|
|
520
|
+
asChild: { type: Boolean, default: false }
|
|
521
|
+
},
|
|
522
|
+
setup(__props, { expose: __expose }) {
|
|
523
|
+
const locale = useLocale();
|
|
524
|
+
const props = __props;
|
|
525
|
+
const attrs = useAttrs();
|
|
526
|
+
const slots = useSlots();
|
|
527
|
+
const context = useOverlayChromeContext();
|
|
528
|
+
const inner = useTemplateRef("inner");
|
|
529
|
+
const classes = computed(
|
|
530
|
+
() => props.asChild ? attrs.class : cn(
|
|
531
|
+
"absolute right-4 top-[calc(1rem+var(--ui-overlay-inset-top,0px))] grid h-7 w-7 place-items-center rounded-sm text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
532
|
+
attrs.class
|
|
533
|
+
)
|
|
534
|
+
);
|
|
535
|
+
const rest = computed(() => {
|
|
536
|
+
const { class: _class, ...others } = attrs;
|
|
537
|
+
return others;
|
|
538
|
+
});
|
|
539
|
+
function handleClick(event) {
|
|
540
|
+
if (event.defaultPrevented) return;
|
|
541
|
+
context.close();
|
|
542
|
+
}
|
|
543
|
+
const el = computed(() => resolveElement(inner.value));
|
|
544
|
+
__expose({ el });
|
|
545
|
+
return (_ctx, _cache) => {
|
|
546
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
547
|
+
ref_key: "inner",
|
|
548
|
+
ref: inner,
|
|
549
|
+
as: "button",
|
|
550
|
+
"as-child": props.asChild,
|
|
551
|
+
type: "button",
|
|
552
|
+
"aria-label": unref(slots).default ? void 0 : unref(locale).t("OverlayCloseButton.close", void 0, "Close")
|
|
553
|
+
}, rest.value, {
|
|
554
|
+
class: classes.value,
|
|
555
|
+
onClick: handleClick
|
|
556
|
+
}), {
|
|
557
|
+
default: withCtx(() => [
|
|
558
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
559
|
+
createVNode(unref(X), { class: "h-4 w-4" })
|
|
560
|
+
])
|
|
561
|
+
]),
|
|
562
|
+
_: 3
|
|
563
|
+
}, 16, ["as-child", "aria-label", "class"]);
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
568
|
+
...{ name: "AlertModal", inheritAttrs: false },
|
|
569
|
+
__name: "AlertModal",
|
|
570
|
+
props: {
|
|
571
|
+
open: { type: Boolean, default: void 0 },
|
|
572
|
+
defaultOpen: { type: Boolean, default: false },
|
|
573
|
+
canDismissOnOutsideClick: { type: Boolean },
|
|
574
|
+
canDismissOnEscape: { type: Boolean },
|
|
575
|
+
dismissOnEscape: { type: Boolean, default: true }
|
|
576
|
+
},
|
|
577
|
+
emits: ["update:open"],
|
|
578
|
+
setup(__props, { emit: __emit }) {
|
|
579
|
+
const props = __props;
|
|
580
|
+
const emit = __emit;
|
|
581
|
+
function handleOpenChange(open) {
|
|
582
|
+
emit("update:open", open);
|
|
583
|
+
}
|
|
584
|
+
return (_ctx, _cache) => {
|
|
585
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
586
|
+
open: props.open,
|
|
587
|
+
"default-open": props.defaultOpen,
|
|
588
|
+
"dismiss-on-escape": props.dismissOnEscape,
|
|
589
|
+
role: "alertdialog",
|
|
590
|
+
"dismiss-on-outside-click": false,
|
|
591
|
+
"onUpdate:open": handleOpenChange
|
|
592
|
+
}, {
|
|
593
|
+
default: withCtx(() => [
|
|
594
|
+
renderSlot(_ctx.$slots, "default")
|
|
595
|
+
]),
|
|
596
|
+
_: 3
|
|
597
|
+
}, 8, ["open", "default-open", "dismiss-on-escape"]);
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
602
|
+
...{ name: "AlertModalContent", inheritAttrs: false },
|
|
603
|
+
__name: "AlertModalContent",
|
|
604
|
+
props: {
|
|
605
|
+
showBackdrop: { type: Boolean, default: void 0 },
|
|
606
|
+
hideBackdrop: { type: Boolean, default: void 0 },
|
|
607
|
+
isBlurred: { type: Boolean, default: void 0 },
|
|
608
|
+
size: {},
|
|
609
|
+
variant: {},
|
|
610
|
+
tone: {},
|
|
611
|
+
radius: {},
|
|
612
|
+
padding: {},
|
|
613
|
+
elevation: {},
|
|
614
|
+
phoneLayout: { default: ModalPhoneLayout.Sheet },
|
|
615
|
+
showHandle: { type: Boolean, default: void 0 }
|
|
616
|
+
},
|
|
617
|
+
setup(__props, { expose: __expose }) {
|
|
618
|
+
const props = __props;
|
|
619
|
+
const attrs = useAttrs();
|
|
620
|
+
const inner = useTemplateRef("inner");
|
|
621
|
+
const forwarded = computed(() => ({ ...props, ...attrs }));
|
|
622
|
+
const el = computed(() => resolveElement(inner.value));
|
|
623
|
+
__expose({ el });
|
|
624
|
+
return (_ctx, _cache) => {
|
|
625
|
+
return openBlock(), createBlock(_sfc_main$u, mergeProps({
|
|
626
|
+
ref_key: "inner",
|
|
627
|
+
ref: inner
|
|
628
|
+
}, forwarded.value), {
|
|
629
|
+
default: withCtx(() => [
|
|
630
|
+
renderSlot(_ctx.$slots, "default")
|
|
631
|
+
]),
|
|
632
|
+
_: 3
|
|
633
|
+
}, 16);
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
});
|
|
637
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
638
|
+
...{ name: "AlertModalAction", inheritAttrs: false },
|
|
639
|
+
__name: "AlertModalAction",
|
|
640
|
+
emits: ["action"],
|
|
641
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
642
|
+
const emit = __emit;
|
|
643
|
+
const attrs = useAttrs();
|
|
644
|
+
const inner = useTemplateRef("inner");
|
|
645
|
+
const classes = computed(
|
|
646
|
+
() => cn(
|
|
647
|
+
"inline-flex h-9 items-center justify-center rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
648
|
+
attrs.class
|
|
649
|
+
)
|
|
650
|
+
);
|
|
651
|
+
const rest = computed(() => {
|
|
652
|
+
const { class: _class, ...others } = attrs;
|
|
653
|
+
return others;
|
|
654
|
+
});
|
|
655
|
+
function handleClick(event) {
|
|
656
|
+
if (event.defaultPrevented) return;
|
|
657
|
+
emit("action");
|
|
658
|
+
}
|
|
659
|
+
const el = computed(() => resolveElement(inner.value));
|
|
660
|
+
__expose({ el });
|
|
661
|
+
return (_ctx, _cache) => {
|
|
662
|
+
return openBlock(), createBlock(_sfc_main$o, {
|
|
663
|
+
ref_key: "inner",
|
|
664
|
+
ref: inner,
|
|
665
|
+
"as-child": ""
|
|
666
|
+
}, {
|
|
667
|
+
default: withCtx(() => [
|
|
668
|
+
createElementVNode("button", mergeProps(rest.value, {
|
|
669
|
+
type: "button",
|
|
670
|
+
class: classes.value,
|
|
671
|
+
onClick: handleClick
|
|
672
|
+
}), [
|
|
673
|
+
renderSlot(_ctx.$slots, "default")
|
|
674
|
+
], 16)
|
|
675
|
+
]),
|
|
676
|
+
_: 3
|
|
677
|
+
}, 512);
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
682
|
+
...{ name: "AlertModalCancel", inheritAttrs: false },
|
|
683
|
+
__name: "AlertModalCancel",
|
|
684
|
+
setup(__props, { expose: __expose }) {
|
|
685
|
+
const attrs = useAttrs();
|
|
686
|
+
const inner = useTemplateRef("inner");
|
|
687
|
+
const classes = computed(
|
|
688
|
+
() => cn(
|
|
689
|
+
"inline-flex h-9 items-center justify-center rounded-md border border-border bg-background px-4 text-sm font-medium text-foreground transition-colors hover:bg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
690
|
+
attrs.class
|
|
691
|
+
)
|
|
692
|
+
);
|
|
693
|
+
const rest = computed(() => {
|
|
694
|
+
const { class: _class, ...others } = attrs;
|
|
695
|
+
return others;
|
|
696
|
+
});
|
|
697
|
+
const el = computed(() => resolveElement(inner.value));
|
|
698
|
+
__expose({ el });
|
|
699
|
+
return (_ctx, _cache) => {
|
|
700
|
+
return openBlock(), createBlock(_sfc_main$o, {
|
|
701
|
+
ref_key: "inner",
|
|
702
|
+
ref: inner,
|
|
703
|
+
"as-child": ""
|
|
704
|
+
}, {
|
|
705
|
+
default: withCtx(() => [
|
|
706
|
+
createElementVNode("button", mergeProps(rest.value, {
|
|
707
|
+
type: "button",
|
|
708
|
+
class: classes.value
|
|
709
|
+
}), [
|
|
710
|
+
renderSlot(_ctx.$slots, "default")
|
|
711
|
+
], 16)
|
|
712
|
+
]),
|
|
713
|
+
_: 3
|
|
714
|
+
}, 512);
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
719
|
+
...{ name: "DrawerTrigger", inheritAttrs: false },
|
|
720
|
+
__name: "DrawerTrigger",
|
|
721
|
+
props: {
|
|
722
|
+
asChild: { type: Boolean, default: false }
|
|
723
|
+
},
|
|
724
|
+
setup(__props, { expose: __expose }) {
|
|
725
|
+
const props = __props;
|
|
726
|
+
const attrs = useAttrs();
|
|
727
|
+
const context = useDrawerContext();
|
|
728
|
+
const inner = useTemplateRef("inner");
|
|
729
|
+
const isOpen = context.open;
|
|
730
|
+
watch(
|
|
731
|
+
inner,
|
|
732
|
+
(instance) => {
|
|
733
|
+
context.triggerEl.value = OverlayExtensions.toHtmlElement(instance?.$el);
|
|
734
|
+
},
|
|
735
|
+
{ immediate: true, flush: "post" }
|
|
736
|
+
);
|
|
737
|
+
function handleClick(event) {
|
|
738
|
+
if (event.defaultPrevented) return;
|
|
739
|
+
context.setOpen(true);
|
|
740
|
+
}
|
|
741
|
+
const el = computed(() => resolveElement(inner.value));
|
|
742
|
+
__expose({ el });
|
|
743
|
+
return (_ctx, _cache) => {
|
|
744
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
745
|
+
ref_key: "inner",
|
|
746
|
+
ref: inner,
|
|
747
|
+
as: "button",
|
|
748
|
+
"as-child": props.asChild,
|
|
749
|
+
type: "button",
|
|
750
|
+
"aria-haspopup": "dialog",
|
|
751
|
+
"aria-expanded": unref(isOpen),
|
|
752
|
+
"data-state": unref(isOpen) ? "open" : "closed"
|
|
753
|
+
}, unref(attrs), { onClick: handleClick }), {
|
|
754
|
+
default: withCtx(() => [
|
|
755
|
+
renderSlot(_ctx.$slots, "default")
|
|
756
|
+
]),
|
|
757
|
+
_: 3
|
|
758
|
+
}, 16, ["as-child", "aria-expanded", "data-state"]);
|
|
759
|
+
};
|
|
760
|
+
}
|
|
761
|
+
});
|
|
762
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
763
|
+
...{ name: "PopoverArrow", inheritAttrs: false },
|
|
764
|
+
__name: "PopoverArrow",
|
|
765
|
+
props: {
|
|
766
|
+
width: {},
|
|
767
|
+
height: {}
|
|
768
|
+
},
|
|
769
|
+
setup(__props) {
|
|
770
|
+
const props = __props;
|
|
771
|
+
const attrs = useAttrs();
|
|
772
|
+
const classes = computed(() => cn("text-popover", attrs.class));
|
|
773
|
+
const rest = computed(() => {
|
|
774
|
+
const { class: _class, ...others } = attrs;
|
|
775
|
+
return others;
|
|
776
|
+
});
|
|
777
|
+
return (_ctx, _cache) => {
|
|
778
|
+
return openBlock(), createBlock(unref(_sfc_main$C), mergeProps({
|
|
779
|
+
width: props.width,
|
|
780
|
+
height: props.height
|
|
781
|
+
}, rest.value, { class: classes.value }), null, 16, ["width", "height", "class"]);
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
});
|
|
785
|
+
const _hoisted_1$7 = { class: "space-y-3" };
|
|
786
|
+
const _hoisted_2$5 = { class: "space-y-1" };
|
|
787
|
+
const _hoisted_3$1 = ["id"];
|
|
788
|
+
const _hoisted_4$1 = ["id"];
|
|
789
|
+
const _hoisted_5$1 = { class: "flex justify-end gap-2" };
|
|
790
|
+
function isThenable(value) {
|
|
791
|
+
return (typeof value === "object" || typeof value === "function") && value !== null && typeof value.then === "function";
|
|
792
|
+
}
|
|
793
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
794
|
+
...{ name: "ConfirmPopover", inheritAttrs: false },
|
|
795
|
+
__name: "ConfirmPopover",
|
|
796
|
+
props: {
|
|
797
|
+
open: { type: Boolean, default: void 0 },
|
|
798
|
+
defaultOpen: { type: Boolean, default: false },
|
|
799
|
+
title: {},
|
|
800
|
+
description: { default: void 0 },
|
|
801
|
+
confirmLabel: {},
|
|
802
|
+
cancelLabel: {},
|
|
803
|
+
tone: { default: "primary" },
|
|
804
|
+
placement: { default: "top" },
|
|
805
|
+
offset: { default: 8 },
|
|
806
|
+
isDisabled: { type: Boolean, default: false },
|
|
807
|
+
onConfirm: { type: Function, default: void 0 }
|
|
808
|
+
},
|
|
809
|
+
emits: ["update:open", "cancel", "error"],
|
|
810
|
+
setup(__props, { emit: __emit }) {
|
|
811
|
+
const componentProps = __props;
|
|
812
|
+
const props = useLocaleDefaults(componentProps, "ConfirmPopover", { confirmLabel: "Confirm", cancelLabel: "Cancel" });
|
|
813
|
+
const emit = __emit;
|
|
814
|
+
const attrs = useAttrs();
|
|
815
|
+
const slots = useSlots();
|
|
816
|
+
const titleId = useId();
|
|
817
|
+
const descriptionId = useId();
|
|
818
|
+
const controlled = useControlled({
|
|
819
|
+
controlled: () => props.open,
|
|
820
|
+
default: () => props.defaultOpen,
|
|
821
|
+
onChange: (value) => {
|
|
822
|
+
emit("update:open", value);
|
|
823
|
+
}
|
|
824
|
+
});
|
|
825
|
+
const isOpen = controlled.value;
|
|
826
|
+
const isPending = shallowRef(false);
|
|
827
|
+
let attempt = 0;
|
|
828
|
+
const hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));
|
|
829
|
+
onScopeDispose(() => {
|
|
830
|
+
attempt += 1;
|
|
831
|
+
});
|
|
832
|
+
function requestOpen(next) {
|
|
833
|
+
if (next && props.isDisabled) return;
|
|
834
|
+
if (!next && isPending.value) return;
|
|
835
|
+
const wasOpen = isOpen.value;
|
|
836
|
+
controlled.setValue(next);
|
|
837
|
+
if (wasOpen && !next) emit("cancel");
|
|
838
|
+
}
|
|
839
|
+
async function confirm() {
|
|
840
|
+
if (isPending.value) return;
|
|
841
|
+
const current = ++attempt;
|
|
842
|
+
let outcome;
|
|
843
|
+
try {
|
|
844
|
+
outcome = props.onConfirm?.();
|
|
845
|
+
} catch (error) {
|
|
846
|
+
emit("error", error);
|
|
847
|
+
return;
|
|
848
|
+
}
|
|
849
|
+
if (isThenable(outcome)) {
|
|
850
|
+
isPending.value = true;
|
|
851
|
+
try {
|
|
852
|
+
await outcome;
|
|
853
|
+
} catch (error) {
|
|
854
|
+
if (current !== attempt) return;
|
|
855
|
+
isPending.value = false;
|
|
856
|
+
emit("error", error);
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
if (current !== attempt) return;
|
|
860
|
+
isPending.value = false;
|
|
861
|
+
}
|
|
862
|
+
controlled.setValue(false);
|
|
863
|
+
}
|
|
864
|
+
return (_ctx, _cache) => {
|
|
865
|
+
return openBlock(), createBlock(_sfc_main$D, {
|
|
866
|
+
open: unref(isOpen),
|
|
867
|
+
placement: unref(props).placement,
|
|
868
|
+
offset: unref(props).offset,
|
|
869
|
+
"dismiss-on-escape": !isPending.value,
|
|
870
|
+
"dismiss-on-outside-click": !isPending.value,
|
|
871
|
+
"onUpdate:open": requestOpen
|
|
872
|
+
}, {
|
|
873
|
+
default: withCtx(() => [
|
|
874
|
+
createVNode(_sfc_main$E, {
|
|
875
|
+
"as-child": "",
|
|
876
|
+
"aria-disabled": unref(props).isDisabled || void 0
|
|
877
|
+
}, {
|
|
878
|
+
default: withCtx(() => [
|
|
879
|
+
renderSlot(_ctx.$slots, "default")
|
|
880
|
+
]),
|
|
881
|
+
_: 3
|
|
882
|
+
}, 8, ["aria-disabled"]),
|
|
883
|
+
createVNode(_sfc_main$F, mergeProps({
|
|
884
|
+
"aria-labelledby": unref(titleId),
|
|
885
|
+
"aria-describedby": hasDescription.value ? unref(descriptionId) : void 0,
|
|
886
|
+
"aria-busy": isPending.value || void 0
|
|
887
|
+
}, unref(attrs)), {
|
|
888
|
+
default: withCtx(() => [
|
|
889
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
890
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
891
|
+
createElementVNode("p", {
|
|
892
|
+
id: unref(titleId),
|
|
893
|
+
class: "text-sm font-medium text-foreground"
|
|
894
|
+
}, toDisplayString(unref(props).title), 9, _hoisted_3$1),
|
|
895
|
+
hasDescription.value ? (openBlock(), createElementBlock("p", {
|
|
896
|
+
key: 0,
|
|
897
|
+
id: unref(descriptionId),
|
|
898
|
+
class: "text-sm text-muted-foreground"
|
|
899
|
+
}, [
|
|
900
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
901
|
+
createTextVNode(toDisplayString(unref(props).description), 1)
|
|
902
|
+
])
|
|
903
|
+
], 8, _hoisted_4$1)) : createCommentVNode("", true)
|
|
904
|
+
]),
|
|
905
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
906
|
+
createVNode(_sfc_main$G, {
|
|
907
|
+
variant: "ghost",
|
|
908
|
+
size: "sm",
|
|
909
|
+
"is-disabled": isPending.value,
|
|
910
|
+
onClick: _cache[0] || (_cache[0] = ($event) => requestOpen(false))
|
|
911
|
+
}, {
|
|
912
|
+
default: withCtx(() => [
|
|
913
|
+
createTextVNode(toDisplayString(unref(props).cancelLabel), 1)
|
|
914
|
+
]),
|
|
915
|
+
_: 1
|
|
916
|
+
}, 8, ["is-disabled"]),
|
|
917
|
+
createVNode(_sfc_main$G, {
|
|
918
|
+
variant: "solid",
|
|
919
|
+
size: "sm",
|
|
920
|
+
tone: unref(props).tone,
|
|
921
|
+
"is-loading": isPending.value,
|
|
922
|
+
onClick: confirm
|
|
923
|
+
}, {
|
|
924
|
+
default: withCtx(() => [
|
|
925
|
+
createTextVNode(toDisplayString(unref(props).confirmLabel), 1)
|
|
926
|
+
]),
|
|
927
|
+
_: 1
|
|
928
|
+
}, 8, ["tone", "is-loading"])
|
|
929
|
+
])
|
|
930
|
+
])
|
|
931
|
+
]),
|
|
932
|
+
_: 3
|
|
933
|
+
}, 16, ["aria-labelledby", "aria-describedby", "aria-busy"])
|
|
934
|
+
]),
|
|
935
|
+
_: 3
|
|
936
|
+
}, 8, ["open", "placement", "offset", "dismiss-on-escape", "dismiss-on-outside-click"]);
|
|
937
|
+
};
|
|
938
|
+
}
|
|
939
|
+
});
|
|
940
|
+
const hoverCardContextKey = Symbol("wow-two.hoverCard");
|
|
941
|
+
function useHoverCardContext() {
|
|
942
|
+
const context = inject(hoverCardContextKey, null);
|
|
943
|
+
if (!context) throw new Error("HoverCard.* must be used inside <HoverCard>");
|
|
944
|
+
return context;
|
|
945
|
+
}
|
|
946
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
947
|
+
...{ name: "HoverCard", inheritAttrs: false },
|
|
948
|
+
__name: "HoverCard",
|
|
949
|
+
props: {
|
|
950
|
+
open: { type: Boolean, default: void 0 },
|
|
951
|
+
defaultOpen: { type: Boolean, default: false },
|
|
952
|
+
openDelay: { default: 700 },
|
|
953
|
+
closeDelay: { default: 300 },
|
|
954
|
+
placement: { default: "bottom" },
|
|
955
|
+
offset: { default: 8 }
|
|
956
|
+
},
|
|
957
|
+
emits: ["update:open"],
|
|
958
|
+
setup(__props, { emit: __emit }) {
|
|
959
|
+
const props = __props;
|
|
960
|
+
const emit = __emit;
|
|
961
|
+
const controlled = useControlled({
|
|
962
|
+
controlled: () => props.open,
|
|
963
|
+
default: () => props.defaultOpen,
|
|
964
|
+
onChange: (value) => {
|
|
965
|
+
emit("update:open", value);
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
const triggerEl = shallowRef(null);
|
|
969
|
+
let openTimer = null;
|
|
970
|
+
let closeTimer = null;
|
|
971
|
+
function clear() {
|
|
972
|
+
if (openTimer) clearTimeout(openTimer);
|
|
973
|
+
if (closeTimer) clearTimeout(closeTimer);
|
|
974
|
+
openTimer = null;
|
|
975
|
+
closeTimer = null;
|
|
976
|
+
}
|
|
977
|
+
function show() {
|
|
978
|
+
clear();
|
|
979
|
+
openTimer = setTimeout(() => controlled.setValue(true), props.openDelay);
|
|
980
|
+
}
|
|
981
|
+
function hide() {
|
|
982
|
+
clear();
|
|
983
|
+
closeTimer = setTimeout(() => controlled.setValue(false), props.closeDelay);
|
|
984
|
+
}
|
|
985
|
+
function cancelHide() {
|
|
986
|
+
if (closeTimer) {
|
|
987
|
+
clearTimeout(closeTimer);
|
|
988
|
+
closeTimer = null;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
onScopeDispose(clear);
|
|
992
|
+
useEscape(
|
|
993
|
+
() => {
|
|
994
|
+
clear();
|
|
995
|
+
controlled.setValue(false);
|
|
996
|
+
},
|
|
997
|
+
() => controlled.value.value
|
|
998
|
+
);
|
|
999
|
+
provide(hoverCardContextKey, {
|
|
1000
|
+
open: controlled.value,
|
|
1001
|
+
setOpen: controlled.setValue,
|
|
1002
|
+
triggerEl,
|
|
1003
|
+
show,
|
|
1004
|
+
hide,
|
|
1005
|
+
cancelHide,
|
|
1006
|
+
placement: computed(() => props.placement),
|
|
1007
|
+
offset: computed(() => props.offset)
|
|
1008
|
+
});
|
|
1009
|
+
return (_ctx, _cache) => {
|
|
1010
|
+
return renderSlot(_ctx.$slots, "default");
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
});
|
|
1014
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1015
|
+
...{ name: "HoverCardTrigger", inheritAttrs: false },
|
|
1016
|
+
__name: "HoverCardTrigger",
|
|
1017
|
+
props: {
|
|
1018
|
+
asChild: { type: Boolean, default: true }
|
|
1019
|
+
},
|
|
1020
|
+
setup(__props, { expose: __expose }) {
|
|
1021
|
+
const props = __props;
|
|
1022
|
+
const attrs = useAttrs();
|
|
1023
|
+
const context = useHoverCardContext();
|
|
1024
|
+
const inner = useTemplateRef("inner");
|
|
1025
|
+
watch(
|
|
1026
|
+
inner,
|
|
1027
|
+
(instance) => {
|
|
1028
|
+
context.triggerEl.value = OverlayExtensions.toHtmlElement(instance?.$el);
|
|
1029
|
+
},
|
|
1030
|
+
{ immediate: true, flush: "post" }
|
|
1031
|
+
);
|
|
1032
|
+
function onPointerEnter(event) {
|
|
1033
|
+
if (event.pointerType !== "touch") context.show();
|
|
1034
|
+
}
|
|
1035
|
+
function onPointerLeave(event) {
|
|
1036
|
+
if (event.pointerType !== "touch") context.hide();
|
|
1037
|
+
}
|
|
1038
|
+
const el = computed(() => resolveElement(inner.value));
|
|
1039
|
+
__expose({ el });
|
|
1040
|
+
return (_ctx, _cache) => {
|
|
1041
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
1042
|
+
ref_key: "inner",
|
|
1043
|
+
ref: inner,
|
|
1044
|
+
as: "span",
|
|
1045
|
+
"as-child": props.asChild
|
|
1046
|
+
}, unref(attrs), {
|
|
1047
|
+
onPointerenter: onPointerEnter,
|
|
1048
|
+
onPointerleave: onPointerLeave,
|
|
1049
|
+
onFocus: _cache[0] || (_cache[0] = ($event) => unref(context).show()),
|
|
1050
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => unref(context).hide())
|
|
1051
|
+
}), {
|
|
1052
|
+
default: withCtx(() => [
|
|
1053
|
+
renderSlot(_ctx.$slots, "default")
|
|
1054
|
+
]),
|
|
1055
|
+
_: 3
|
|
1056
|
+
}, 16, ["as-child"]);
|
|
1057
|
+
};
|
|
1058
|
+
}
|
|
1059
|
+
});
|
|
1060
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1061
|
+
...{ name: "HoverCardContent", inheritAttrs: false },
|
|
1062
|
+
__name: "HoverCardContent",
|
|
1063
|
+
setup(__props, { expose: __expose }) {
|
|
1064
|
+
const attrs = useAttrs();
|
|
1065
|
+
const context = useHoverCardContext();
|
|
1066
|
+
const el = useTemplateRef("el");
|
|
1067
|
+
const isOpen = context.open;
|
|
1068
|
+
const placement = context.placement;
|
|
1069
|
+
const offset = context.offset;
|
|
1070
|
+
const anchor = computed(() => context.triggerEl.value);
|
|
1071
|
+
const classes = computed(
|
|
1072
|
+
() => cn(
|
|
1073
|
+
"w-64 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-hidden",
|
|
1074
|
+
"motion-safe:data-[state=open]:animate-(--animate-pop-in) motion-safe:data-[state=closed]:animate-(--animate-pop-out) motion-reduce:animate-none",
|
|
1075
|
+
attrs.class
|
|
1076
|
+
)
|
|
1077
|
+
);
|
|
1078
|
+
const rest = computed(() => {
|
|
1079
|
+
const { class: _class, ...others } = attrs;
|
|
1080
|
+
return others;
|
|
1081
|
+
});
|
|
1082
|
+
__expose({ el });
|
|
1083
|
+
return (_ctx, _cache) => {
|
|
1084
|
+
return openBlock(), createBlock(unref(_sfc_main$x), null, {
|
|
1085
|
+
default: withCtx(() => [
|
|
1086
|
+
createVNode(unref(_sfc_main$H), {
|
|
1087
|
+
anchor: anchor.value,
|
|
1088
|
+
placement: unref(placement),
|
|
1089
|
+
offset: unref(offset),
|
|
1090
|
+
class: "z-dropdown"
|
|
1091
|
+
}, {
|
|
1092
|
+
default: withCtx(() => [
|
|
1093
|
+
createVNode(unref(Presence), { "is-present": unref(isOpen) }, {
|
|
1094
|
+
default: withCtx(() => [
|
|
1095
|
+
createElementVNode("div", mergeProps({
|
|
1096
|
+
ref_key: "el",
|
|
1097
|
+
ref: el
|
|
1098
|
+
}, rest.value, {
|
|
1099
|
+
class: classes.value,
|
|
1100
|
+
onPointerenter: _cache[0] || (_cache[0] = ($event) => unref(context).cancelHide()),
|
|
1101
|
+
onPointerleave: _cache[1] || (_cache[1] = ($event) => unref(context).hide())
|
|
1102
|
+
}), [
|
|
1103
|
+
renderSlot(_ctx.$slots, "default")
|
|
1104
|
+
], 16)
|
|
1105
|
+
]),
|
|
1106
|
+
_: 3
|
|
1107
|
+
}, 8, ["is-present"])
|
|
1108
|
+
]),
|
|
1109
|
+
_: 3
|
|
1110
|
+
}, 8, ["anchor", "placement", "offset"])
|
|
1111
|
+
]),
|
|
1112
|
+
_: 3
|
|
1113
|
+
});
|
|
1114
|
+
};
|
|
1115
|
+
}
|
|
1116
|
+
});
|
|
1117
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1118
|
+
...{ name: "HoverCardArrow", inheritAttrs: false },
|
|
1119
|
+
__name: "HoverCardArrow",
|
|
1120
|
+
props: {
|
|
1121
|
+
width: {},
|
|
1122
|
+
height: {}
|
|
1123
|
+
},
|
|
1124
|
+
setup(__props) {
|
|
1125
|
+
const props = __props;
|
|
1126
|
+
const attrs = useAttrs();
|
|
1127
|
+
const classes = computed(() => cn("text-popover", attrs.class));
|
|
1128
|
+
const rest = computed(() => {
|
|
1129
|
+
const { class: _class, ...others } = attrs;
|
|
1130
|
+
return others;
|
|
1131
|
+
});
|
|
1132
|
+
return (_ctx, _cache) => {
|
|
1133
|
+
return openBlock(), createBlock(unref(_sfc_main$C), mergeProps({
|
|
1134
|
+
width: props.width,
|
|
1135
|
+
height: props.height
|
|
1136
|
+
}, rest.value, { class: classes.value }), null, 16, ["width", "height", "class"]);
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
});
|
|
1140
|
+
const _hoisted_1$6 = {
|
|
1141
|
+
key: 0,
|
|
1142
|
+
class: "px-3 py-2 text-center"
|
|
1143
|
+
};
|
|
1144
|
+
const _hoisted_2$4 = { class: "flex flex-col gap-px overflow-hidden rounded-lg bg-border" };
|
|
1145
|
+
const actionSheetContextKey = Symbol("wow-two.actionSheet");
|
|
1146
|
+
function useActionSheetContext() {
|
|
1147
|
+
const context = inject(actionSheetContextKey, null);
|
|
1148
|
+
if (!context) throw new Error("ActionSheet.* must be used inside <ActionSheet>");
|
|
1149
|
+
return context;
|
|
1150
|
+
}
|
|
1151
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
1152
|
+
...{ name: "ActionSheet", inheritAttrs: false },
|
|
1153
|
+
__name: "ActionSheet",
|
|
1154
|
+
props: {
|
|
1155
|
+
open: { type: Boolean, default: void 0 },
|
|
1156
|
+
defaultOpen: { type: Boolean, default: false },
|
|
1157
|
+
title: { default: void 0 },
|
|
1158
|
+
description: { default: void 0 }
|
|
1159
|
+
},
|
|
1160
|
+
emits: ["update:open"],
|
|
1161
|
+
setup(__props, { emit: __emit }) {
|
|
1162
|
+
const props = __props;
|
|
1163
|
+
const emit = __emit;
|
|
1164
|
+
const attrs = useAttrs();
|
|
1165
|
+
const slots = useSlots();
|
|
1166
|
+
const controlled = useControlled({
|
|
1167
|
+
controlled: () => props.open,
|
|
1168
|
+
default: () => props.defaultOpen,
|
|
1169
|
+
onChange: (value) => {
|
|
1170
|
+
emit("update:open", value);
|
|
1171
|
+
}
|
|
1172
|
+
});
|
|
1173
|
+
const resolvedOpen = controlled.value;
|
|
1174
|
+
provide(actionSheetContextKey, { setOpen: controlled.setValue });
|
|
1175
|
+
const hasTitle = computed(() => props.title !== void 0 || slots.title !== void 0);
|
|
1176
|
+
const hasDescription = computed(() => props.description !== void 0 || slots.description !== void 0);
|
|
1177
|
+
const classes = computed(
|
|
1178
|
+
() => cn("mx-auto max-w-md rounded-t-xl bg-card p-2 text-card-foreground", attrs.class)
|
|
1179
|
+
);
|
|
1180
|
+
const rest = computed(() => {
|
|
1181
|
+
const { class: _class, ...others } = attrs;
|
|
1182
|
+
return others;
|
|
1183
|
+
});
|
|
1184
|
+
return (_ctx, _cache) => {
|
|
1185
|
+
return openBlock(), createBlock(_sfc_main$I, {
|
|
1186
|
+
open: unref(resolvedOpen),
|
|
1187
|
+
side: "bottom",
|
|
1188
|
+
"onUpdate:open": unref(controlled).setValue
|
|
1189
|
+
}, {
|
|
1190
|
+
default: withCtx(() => [
|
|
1191
|
+
createVNode(_sfc_main$J, mergeProps(rest.value, { class: classes.value }), {
|
|
1192
|
+
default: withCtx(() => [
|
|
1193
|
+
hasTitle.value || hasDescription.value ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1194
|
+
hasTitle.value ? (openBlock(), createBlock(_sfc_main$s, {
|
|
1195
|
+
key: 0,
|
|
1196
|
+
class: "text-sm font-medium text-muted-foreground"
|
|
1197
|
+
}, {
|
|
1198
|
+
default: withCtx(() => [
|
|
1199
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1200
|
+
createTextVNode(toDisplayString(props.title), 1)
|
|
1201
|
+
])
|
|
1202
|
+
]),
|
|
1203
|
+
_: 3
|
|
1204
|
+
})) : createCommentVNode("", true),
|
|
1205
|
+
hasDescription.value ? (openBlock(), createBlock(_sfc_main$r, {
|
|
1206
|
+
key: 1,
|
|
1207
|
+
class: "mt-1 text-xs text-muted-foreground"
|
|
1208
|
+
}, {
|
|
1209
|
+
default: withCtx(() => [
|
|
1210
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
1211
|
+
createTextVNode(toDisplayString(props.description), 1)
|
|
1212
|
+
])
|
|
1213
|
+
]),
|
|
1214
|
+
_: 3
|
|
1215
|
+
})) : createCommentVNode("", true)
|
|
1216
|
+
])) : createCommentVNode("", true),
|
|
1217
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
1218
|
+
renderSlot(_ctx.$slots, "default")
|
|
1219
|
+
])
|
|
1220
|
+
]),
|
|
1221
|
+
_: 3
|
|
1222
|
+
}, 16, ["class"])
|
|
1223
|
+
]),
|
|
1224
|
+
_: 3
|
|
1225
|
+
}, 8, ["open", "onUpdate:open"]);
|
|
1226
|
+
};
|
|
1227
|
+
}
|
|
1228
|
+
});
|
|
1229
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1230
|
+
...{ name: "ActionSheetAction", inheritAttrs: false },
|
|
1231
|
+
__name: "ActionSheetAction",
|
|
1232
|
+
props: {
|
|
1233
|
+
isDestructive: { type: Boolean, default: false }
|
|
1234
|
+
},
|
|
1235
|
+
emits: ["select"],
|
|
1236
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1237
|
+
const props = __props;
|
|
1238
|
+
const emit = __emit;
|
|
1239
|
+
const attrs = useAttrs();
|
|
1240
|
+
const context = useActionSheetContext();
|
|
1241
|
+
const el = useTemplateRef("el");
|
|
1242
|
+
const classes = computed(
|
|
1243
|
+
() => cn(
|
|
1244
|
+
"flex h-12 w-full items-center justify-center bg-card px-4 text-base font-medium transition-colors hover:bg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
1245
|
+
props.isDestructive ? "text-destructive-soft-foreground" : "text-foreground",
|
|
1246
|
+
attrs.class
|
|
1247
|
+
)
|
|
1248
|
+
);
|
|
1249
|
+
const rest = computed(() => {
|
|
1250
|
+
const { class: _class, ...others } = attrs;
|
|
1251
|
+
return others;
|
|
1252
|
+
});
|
|
1253
|
+
function handleClick(event) {
|
|
1254
|
+
if (event.defaultPrevented) return;
|
|
1255
|
+
emit("select");
|
|
1256
|
+
context.setOpen(false);
|
|
1257
|
+
}
|
|
1258
|
+
__expose({ el });
|
|
1259
|
+
return (_ctx, _cache) => {
|
|
1260
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
1261
|
+
ref_key: "el",
|
|
1262
|
+
ref: el,
|
|
1263
|
+
type: "button"
|
|
1264
|
+
}, rest.value, {
|
|
1265
|
+
class: classes.value,
|
|
1266
|
+
onClick: handleClick
|
|
1267
|
+
}), [
|
|
1268
|
+
renderSlot(_ctx.$slots, "default")
|
|
1269
|
+
], 16);
|
|
1270
|
+
};
|
|
1271
|
+
}
|
|
1272
|
+
});
|
|
1273
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1274
|
+
...{ name: "ActionSheetCancel", inheritAttrs: false },
|
|
1275
|
+
__name: "ActionSheetCancel",
|
|
1276
|
+
setup(__props, { expose: __expose }) {
|
|
1277
|
+
const locale = useLocale();
|
|
1278
|
+
const attrs = useAttrs();
|
|
1279
|
+
const context = useActionSheetContext();
|
|
1280
|
+
const el = useTemplateRef("el");
|
|
1281
|
+
const classes = computed(
|
|
1282
|
+
() => cn(
|
|
1283
|
+
"mt-2 flex h-12 w-full items-center justify-center rounded-lg bg-card text-base font-semibold text-foreground shadow-sm transition-colors hover:bg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",
|
|
1284
|
+
attrs.class
|
|
1285
|
+
)
|
|
1286
|
+
);
|
|
1287
|
+
const rest = computed(() => {
|
|
1288
|
+
const { class: _class, ...others } = attrs;
|
|
1289
|
+
return others;
|
|
1290
|
+
});
|
|
1291
|
+
function handleClick(event) {
|
|
1292
|
+
if (event.defaultPrevented) return;
|
|
1293
|
+
context.setOpen(false);
|
|
1294
|
+
}
|
|
1295
|
+
__expose({ el });
|
|
1296
|
+
return (_ctx, _cache) => {
|
|
1297
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
1298
|
+
ref_key: "el",
|
|
1299
|
+
ref: el,
|
|
1300
|
+
type: "button"
|
|
1301
|
+
}, rest.value, {
|
|
1302
|
+
class: classes.value,
|
|
1303
|
+
onClick: handleClick
|
|
1304
|
+
}), [
|
|
1305
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1306
|
+
createTextVNode(toDisplayString(unref(locale).t("ActionSheetCancel.cancel", void 0, "Cancel")), 1)
|
|
1307
|
+
])
|
|
1308
|
+
], 16);
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
});
|
|
1312
|
+
const _hoisted_1$5 = ["aria-valuenow", "aria-valuemax", "aria-valuetext", "aria-label"];
|
|
1313
|
+
const _hoisted_2$3 = { class: "flex-1 overflow-y-auto px-4 pb-4" };
|
|
1314
|
+
const bottomSheetContextKey = Symbol("wow-two.bottomSheet");
|
|
1315
|
+
function useBottomSheet() {
|
|
1316
|
+
const context = inject(bottomSheetContextKey, null);
|
|
1317
|
+
if (!context) throw new Error("useBottomSheet must be used inside <BottomSheet>");
|
|
1318
|
+
return context;
|
|
1319
|
+
}
|
|
1320
|
+
function resolveSnapPx(point, viewport) {
|
|
1321
|
+
if (typeof point === "number") return point;
|
|
1322
|
+
const trimmed = point.trim();
|
|
1323
|
+
if (trimmed.endsWith("vh")) return parseFloat(trimmed) / 100 * viewport;
|
|
1324
|
+
if (trimmed.endsWith("px")) return parseFloat(trimmed);
|
|
1325
|
+
if (trimmed.endsWith("%")) return parseFloat(trimmed) / 100 * viewport;
|
|
1326
|
+
const n = parseFloat(trimmed);
|
|
1327
|
+
return Number.isFinite(n) ? n : 0;
|
|
1328
|
+
}
|
|
1329
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1330
|
+
...{ name: "BottomSheet", inheritAttrs: false },
|
|
1331
|
+
__name: "BottomSheet",
|
|
1332
|
+
props: {
|
|
1333
|
+
open: { type: Boolean, default: void 0 },
|
|
1334
|
+
defaultOpen: { type: Boolean, default: false },
|
|
1335
|
+
snapPoints: { default: () => ["40vh", "90vh"] },
|
|
1336
|
+
initialSnap: { default: 0 },
|
|
1337
|
+
canDismissOnOutsideClick: { type: Boolean, default: void 0 },
|
|
1338
|
+
dismissOnOutsideClick: { type: Boolean, default: void 0 },
|
|
1339
|
+
canDismissOnEscape: { type: Boolean, default: void 0 },
|
|
1340
|
+
dismissOnEscape: { type: Boolean, default: void 0 },
|
|
1341
|
+
canDragToDismiss: { type: Boolean, default: void 0 },
|
|
1342
|
+
dragToDismiss: { type: Boolean, default: void 0 },
|
|
1343
|
+
variant: {},
|
|
1344
|
+
tone: {},
|
|
1345
|
+
radius: {},
|
|
1346
|
+
padding: {},
|
|
1347
|
+
elevation: {}
|
|
1348
|
+
},
|
|
1349
|
+
emits: ["update:open"],
|
|
1350
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1351
|
+
const props = __props;
|
|
1352
|
+
const dismissesOnOutsideClick = computed(() => props.canDismissOnOutsideClick ?? props.dismissOnOutsideClick ?? true);
|
|
1353
|
+
const dismissesOnEscape = computed(() => props.canDismissOnEscape ?? props.dismissOnEscape ?? true);
|
|
1354
|
+
const dismissesOnDrag = computed(() => props.canDragToDismiss ?? props.dragToDismiss ?? true);
|
|
1355
|
+
const emit = __emit;
|
|
1356
|
+
const attrs = useAttrs();
|
|
1357
|
+
const controlled = useControlled({
|
|
1358
|
+
controlled: () => props.open,
|
|
1359
|
+
default: () => props.defaultOpen,
|
|
1360
|
+
onChange: (value) => {
|
|
1361
|
+
emit("update:open", value);
|
|
1362
|
+
}
|
|
1363
|
+
});
|
|
1364
|
+
const resolvedOpen = controlled.value;
|
|
1365
|
+
const currentSnap = ref(Math.min(props.initialSnap, props.snapPoints.length - 1));
|
|
1366
|
+
const dragHeight = shallowRef(null);
|
|
1367
|
+
const locale = useLocale();
|
|
1368
|
+
const titleId = useId("bottom-sheet-title");
|
|
1369
|
+
const descriptionId = useId("bottom-sheet-description");
|
|
1370
|
+
const panel = useTemplateRef("panel");
|
|
1371
|
+
const handle = useTemplateRef("handle");
|
|
1372
|
+
let startY = null;
|
|
1373
|
+
let startHeight = 0;
|
|
1374
|
+
watch(
|
|
1375
|
+
() => [resolvedOpen.value, props.initialSnap, props.snapPoints.length],
|
|
1376
|
+
() => {
|
|
1377
|
+
if (resolvedOpen.value) currentSnap.value = Math.min(props.initialSnap, props.snapPoints.length - 1);
|
|
1378
|
+
}
|
|
1379
|
+
);
|
|
1380
|
+
provide(bottomSheetContextKey, {
|
|
1381
|
+
open: resolvedOpen,
|
|
1382
|
+
setOpen: controlled.setValue,
|
|
1383
|
+
currentSnap,
|
|
1384
|
+
setCurrentSnap: (index) => {
|
|
1385
|
+
currentSnap.value = index;
|
|
1386
|
+
},
|
|
1387
|
+
snapPoints: computed(() => props.snapPoints)
|
|
1388
|
+
});
|
|
1389
|
+
provide(overlayChromeContextKey, {
|
|
1390
|
+
titleId,
|
|
1391
|
+
descriptionId,
|
|
1392
|
+
close: () => controlled.setValue(false)
|
|
1393
|
+
});
|
|
1394
|
+
function panelEl() {
|
|
1395
|
+
return OverlayExtensions.toHtmlElement(panel.value?.$el);
|
|
1396
|
+
}
|
|
1397
|
+
function handlePointerDown(event) {
|
|
1398
|
+
startY = event.clientY;
|
|
1399
|
+
const rect = panelEl()?.getBoundingClientRect();
|
|
1400
|
+
startHeight = rect ? rect.height : 0;
|
|
1401
|
+
event.currentTarget.setPointerCapture(event.pointerId);
|
|
1402
|
+
}
|
|
1403
|
+
function handlePointerMove(event) {
|
|
1404
|
+
if (startY === null) return;
|
|
1405
|
+
const dy = event.clientY - startY;
|
|
1406
|
+
dragHeight.value = Math.max(0, startHeight - dy);
|
|
1407
|
+
}
|
|
1408
|
+
function handlePointerUp(event) {
|
|
1409
|
+
if (startY === null) return;
|
|
1410
|
+
startY = null;
|
|
1411
|
+
event.currentTarget.releasePointerCapture?.(event.pointerId);
|
|
1412
|
+
const viewport = typeof window !== "undefined" ? window.innerHeight : 800;
|
|
1413
|
+
const heights = props.snapPoints.map((point) => resolveSnapPx(point, viewport));
|
|
1414
|
+
const liveHeight = dragHeight.value ?? heights[currentSnap.value] ?? 0;
|
|
1415
|
+
dragHeight.value = null;
|
|
1416
|
+
if (dismissesOnDrag.value && liveHeight < (heights[0] ?? 0) - 60) {
|
|
1417
|
+
controlled.setValue(false);
|
|
1418
|
+
return;
|
|
1419
|
+
}
|
|
1420
|
+
let bestIdx = 0;
|
|
1421
|
+
let bestDist = Number.POSITIVE_INFINITY;
|
|
1422
|
+
heights.forEach((height, index) => {
|
|
1423
|
+
const distance = Math.abs(height - liveHeight);
|
|
1424
|
+
if (distance < bestDist) {
|
|
1425
|
+
bestDist = distance;
|
|
1426
|
+
bestIdx = index;
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
currentSnap.value = bestIdx;
|
|
1430
|
+
}
|
|
1431
|
+
function handleKeyDown(event) {
|
|
1432
|
+
if (event.key === "ArrowUp" && currentSnap.value < props.snapPoints.length - 1) {
|
|
1433
|
+
event.preventDefault();
|
|
1434
|
+
currentSnap.value += 1;
|
|
1435
|
+
} else if (event.key === "ArrowDown") {
|
|
1436
|
+
event.preventDefault();
|
|
1437
|
+
if (currentSnap.value > 0) currentSnap.value -= 1;
|
|
1438
|
+
else if (dismissesOnDrag.value) controlled.setValue(false);
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
function handleMountAutoFocus(event) {
|
|
1442
|
+
event.preventDefault();
|
|
1443
|
+
handle.value?.focus();
|
|
1444
|
+
}
|
|
1445
|
+
const handleValueText = computed(
|
|
1446
|
+
() => locale.t(
|
|
1447
|
+
"BottomSheet.snapPosition",
|
|
1448
|
+
{ index: currentSnap.value + 1, count: props.snapPoints.length },
|
|
1449
|
+
"Height {index} of {count}"
|
|
1450
|
+
)
|
|
1451
|
+
);
|
|
1452
|
+
function handleBackdropClick() {
|
|
1453
|
+
if (dismissesOnOutsideClick.value) controlled.setValue(false);
|
|
1454
|
+
}
|
|
1455
|
+
function handleEscape() {
|
|
1456
|
+
controlled.setValue(false);
|
|
1457
|
+
}
|
|
1458
|
+
const heightStyle = computed(() => {
|
|
1459
|
+
if (dragHeight.value !== null) return `${dragHeight.value}px`;
|
|
1460
|
+
const point = props.snapPoints[currentSnap.value];
|
|
1461
|
+
if (typeof point === "number") return `${point}px`;
|
|
1462
|
+
return point ?? "40vh";
|
|
1463
|
+
});
|
|
1464
|
+
const panelStyle = computed(
|
|
1465
|
+
() => normalizeStyle([
|
|
1466
|
+
{
|
|
1467
|
+
height: heightStyle.value,
|
|
1468
|
+
transition: dragHeight.value === null ? "height 220ms ease-out, transform var(--duration-base) var(--ease-out)" : "none"
|
|
1469
|
+
},
|
|
1470
|
+
attrs.style
|
|
1471
|
+
])
|
|
1472
|
+
);
|
|
1473
|
+
const classes = computed(
|
|
1474
|
+
() => cn(
|
|
1475
|
+
"fixed inset-x-0 bottom-0 z-modal flex flex-col rounded-t-xl border-t outline-hidden",
|
|
1476
|
+
"will-change-transform",
|
|
1477
|
+
"motion-safe:data-[state=closed]:translate-y-full",
|
|
1478
|
+
"motion-reduce:translate-y-0",
|
|
1479
|
+
surfaceVariants({
|
|
1480
|
+
variant: props.variant ?? "elevated",
|
|
1481
|
+
tone: props.tone,
|
|
1482
|
+
radius: props.radius ?? "none",
|
|
1483
|
+
padding: props.padding ?? "none",
|
|
1484
|
+
elevation: props.elevation ?? 5
|
|
1485
|
+
}),
|
|
1486
|
+
attrs.class
|
|
1487
|
+
)
|
|
1488
|
+
);
|
|
1489
|
+
const rest = computed(() => {
|
|
1490
|
+
const { class: _class, style: _style, ...others } = attrs;
|
|
1491
|
+
return others;
|
|
1492
|
+
});
|
|
1493
|
+
const el = computed(() => panelEl());
|
|
1494
|
+
__expose({ el });
|
|
1495
|
+
return (_ctx, _cache) => {
|
|
1496
|
+
return openBlock(), createBlock(unref(_sfc_main$x), null, {
|
|
1497
|
+
default: withCtx(() => [
|
|
1498
|
+
createVNode(unref(_sfc_main$y), { "is-enabled": unref(resolvedOpen) }, {
|
|
1499
|
+
default: withCtx(() => [
|
|
1500
|
+
createVNode(_sfc_main$z, {
|
|
1501
|
+
"is-inline": "",
|
|
1502
|
+
"is-open": unref(resolvedOpen),
|
|
1503
|
+
onClick: handleBackdropClick
|
|
1504
|
+
}, null, 8, ["is-open"]),
|
|
1505
|
+
createVNode(unref(Presence), { "is-present": unref(resolvedOpen) }, {
|
|
1506
|
+
default: withCtx(() => [
|
|
1507
|
+
createVNode(unref(_sfc_main$A), {
|
|
1508
|
+
"as-child": "",
|
|
1509
|
+
"is-trapped": "",
|
|
1510
|
+
"can-loop": "",
|
|
1511
|
+
"is-modal": "",
|
|
1512
|
+
"on-mount-auto-focus": handleMountAutoFocus
|
|
1513
|
+
}, {
|
|
1514
|
+
default: withCtx(() => [
|
|
1515
|
+
createVNode(unref(_sfc_main$B), mergeProps({
|
|
1516
|
+
ref_key: "panel",
|
|
1517
|
+
ref: panel,
|
|
1518
|
+
"is-escape-disabled": !dismissesOnEscape.value,
|
|
1519
|
+
"is-outside-click-disabled": "",
|
|
1520
|
+
"on-escape": handleEscape,
|
|
1521
|
+
role: "dialog",
|
|
1522
|
+
"aria-modal": "true",
|
|
1523
|
+
"aria-labelledby": unref(titleId),
|
|
1524
|
+
"aria-describedby": unref(descriptionId),
|
|
1525
|
+
style: panelStyle.value
|
|
1526
|
+
}, rest.value, { class: classes.value }), {
|
|
1527
|
+
default: withCtx(() => [
|
|
1528
|
+
createElementVNode("div", {
|
|
1529
|
+
ref_key: "handle",
|
|
1530
|
+
ref: handle,
|
|
1531
|
+
role: "separator",
|
|
1532
|
+
"aria-orientation": "horizontal",
|
|
1533
|
+
"aria-valuenow": currentSnap.value,
|
|
1534
|
+
"aria-valuemin": 0,
|
|
1535
|
+
"aria-valuemax": props.snapPoints.length - 1,
|
|
1536
|
+
"aria-valuetext": handleValueText.value,
|
|
1537
|
+
"aria-label": unref(locale).t("BottomSheet.resize", void 0, "Resize sheet"),
|
|
1538
|
+
tabindex: "0",
|
|
1539
|
+
class: "flex h-7 cursor-ns-resize items-center justify-center focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
|
|
1540
|
+
onPointerdown: handlePointerDown,
|
|
1541
|
+
onPointermove: handlePointerMove,
|
|
1542
|
+
onPointerup: handlePointerUp,
|
|
1543
|
+
onPointercancel: handlePointerUp,
|
|
1544
|
+
onKeydown: handleKeyDown
|
|
1545
|
+
}, [..._cache[0] || (_cache[0] = [
|
|
1546
|
+
createElementVNode("span", {
|
|
1547
|
+
class: "h-1 w-10 rounded-full bg-border-strong",
|
|
1548
|
+
"aria-hidden": "true"
|
|
1549
|
+
}, null, -1)
|
|
1550
|
+
])], 40, _hoisted_1$5),
|
|
1551
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
1552
|
+
renderSlot(_ctx.$slots, "default")
|
|
1553
|
+
])
|
|
1554
|
+
]),
|
|
1555
|
+
_: 3
|
|
1556
|
+
}, 16, ["is-escape-disabled", "aria-labelledby", "aria-describedby", "style", "class"])
|
|
1557
|
+
]),
|
|
1558
|
+
_: 3
|
|
1559
|
+
})
|
|
1560
|
+
]),
|
|
1561
|
+
_: 3
|
|
1562
|
+
}, 8, ["is-present"])
|
|
1563
|
+
]),
|
|
1564
|
+
_: 3
|
|
1565
|
+
}, 8, ["is-enabled"])
|
|
1566
|
+
]),
|
|
1567
|
+
_: 3
|
|
1568
|
+
});
|
|
1569
|
+
};
|
|
1570
|
+
}
|
|
1571
|
+
});
|
|
1572
|
+
const commandPaletteContextKey = Symbol("wow-two.commandPalette");
|
|
1573
|
+
function useCommandPaletteContext() {
|
|
1574
|
+
const context = inject(commandPaletteContextKey, null);
|
|
1575
|
+
if (!context) throw new Error("CommandPaletteModal.* must be used inside <CommandPaletteModal>");
|
|
1576
|
+
return context;
|
|
1577
|
+
}
|
|
1578
|
+
const defaultFilter = (searchText, search) => searchText.toLowerCase().includes(search.toLowerCase());
|
|
1579
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1580
|
+
...{ name: "CommandPaletteModal", inheritAttrs: false },
|
|
1581
|
+
__name: "CommandPaletteModal",
|
|
1582
|
+
props: {
|
|
1583
|
+
open: { type: Boolean, default: void 0 },
|
|
1584
|
+
defaultOpen: { type: Boolean, default: false },
|
|
1585
|
+
inputValue: { default: void 0 },
|
|
1586
|
+
defaultInputValue: { default: void 0 },
|
|
1587
|
+
triggerKey: { default: void 0 },
|
|
1588
|
+
filter: { type: Function, default: defaultFilter }
|
|
1589
|
+
},
|
|
1590
|
+
emits: ["update:open", "update:inputValue"],
|
|
1591
|
+
setup(__props, { emit: __emit }) {
|
|
1592
|
+
const props = __props;
|
|
1593
|
+
const emit = __emit;
|
|
1594
|
+
const openState = useControlled({
|
|
1595
|
+
controlled: () => props.open,
|
|
1596
|
+
default: () => props.defaultOpen,
|
|
1597
|
+
onChange: (value) => {
|
|
1598
|
+
emit("update:open", value);
|
|
1599
|
+
}
|
|
1600
|
+
});
|
|
1601
|
+
const inputState = useControlled({
|
|
1602
|
+
controlled: () => props.inputValue,
|
|
1603
|
+
default: () => props.defaultInputValue ?? "",
|
|
1604
|
+
onChange: (value) => {
|
|
1605
|
+
emit("update:inputValue", value);
|
|
1606
|
+
}
|
|
1607
|
+
});
|
|
1608
|
+
const items = shallowRef([]);
|
|
1609
|
+
const activeId = shallowRef(null);
|
|
1610
|
+
const inputEl = shallowRef(null);
|
|
1611
|
+
const inputId = useId();
|
|
1612
|
+
const listboxId = useId();
|
|
1613
|
+
function registerItem(entry) {
|
|
1614
|
+
const next = items.value.slice();
|
|
1615
|
+
const index = next.findIndex((i) => i.id === entry.id);
|
|
1616
|
+
if (index >= 0) next[index] = entry;
|
|
1617
|
+
else next.push(entry);
|
|
1618
|
+
items.value = next;
|
|
1619
|
+
}
|
|
1620
|
+
function unregisterItem(id) {
|
|
1621
|
+
items.value = items.value.filter((i) => i.id !== id);
|
|
1622
|
+
}
|
|
1623
|
+
const chordKey = computed(() => {
|
|
1624
|
+
const key = props.triggerKey;
|
|
1625
|
+
return !key ? "k" : key === "+" ? "plus" : key;
|
|
1626
|
+
});
|
|
1627
|
+
useHotkeys(
|
|
1628
|
+
() => [`mod+${chordKey.value}`, `ctrl+${chordKey.value}`, `meta+${chordKey.value}`],
|
|
1629
|
+
() => openState.setValue(true),
|
|
1630
|
+
{ enabled: () => Boolean(props.triggerKey) }
|
|
1631
|
+
);
|
|
1632
|
+
watch(
|
|
1633
|
+
() => openState.value.value,
|
|
1634
|
+
(isOpen) => {
|
|
1635
|
+
if (!isOpen) activeId.value = null;
|
|
1636
|
+
},
|
|
1637
|
+
{ flush: "post" }
|
|
1638
|
+
);
|
|
1639
|
+
provide(commandPaletteContextKey, {
|
|
1640
|
+
open: openState.value,
|
|
1641
|
+
setOpen: openState.setValue,
|
|
1642
|
+
inputValue: inputState.value,
|
|
1643
|
+
setInputValue: inputState.setValue,
|
|
1644
|
+
activeId,
|
|
1645
|
+
setActiveId: (id) => {
|
|
1646
|
+
activeId.value = id;
|
|
1647
|
+
},
|
|
1648
|
+
items,
|
|
1649
|
+
registerItem,
|
|
1650
|
+
unregisterItem,
|
|
1651
|
+
/* Wrapped rather than stored, so a `filter` prop change is picked up live —
|
|
1652
|
+
React re-created the whole context value for the same effect. */
|
|
1653
|
+
filter: (searchText, search) => props.filter(searchText, search),
|
|
1654
|
+
inputId,
|
|
1655
|
+
listboxId,
|
|
1656
|
+
inputEl
|
|
1657
|
+
});
|
|
1658
|
+
const resolvedOpen = openState.value;
|
|
1659
|
+
return (_ctx, _cache) => {
|
|
1660
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
1661
|
+
open: unref(resolvedOpen),
|
|
1662
|
+
"onUpdate:open": unref(openState).setValue
|
|
1663
|
+
}, {
|
|
1664
|
+
default: withCtx(() => [
|
|
1665
|
+
renderSlot(_ctx.$slots, "default")
|
|
1666
|
+
]),
|
|
1667
|
+
_: 3
|
|
1668
|
+
}, 8, ["open", "onUpdate:open"]);
|
|
1669
|
+
};
|
|
1670
|
+
}
|
|
1671
|
+
});
|
|
1672
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1673
|
+
...{ name: "CommandPaletteModalContent", inheritAttrs: false },
|
|
1674
|
+
__name: "CommandPaletteModalContent",
|
|
1675
|
+
setup(__props) {
|
|
1676
|
+
const attrs = useAttrs();
|
|
1677
|
+
const classes = computed(() => cn("w-full max-w-xl gap-0 overflow-hidden p-0", attrs.class));
|
|
1678
|
+
const rest = computed(() => {
|
|
1679
|
+
const { class: _class, ...others } = attrs;
|
|
1680
|
+
return others;
|
|
1681
|
+
});
|
|
1682
|
+
return (_ctx, _cache) => {
|
|
1683
|
+
return openBlock(), createBlock(unref(_sfc_main$u), mergeProps(rest.value, { class: classes.value }), {
|
|
1684
|
+
default: withCtx(() => [
|
|
1685
|
+
renderSlot(_ctx.$slots, "default")
|
|
1686
|
+
]),
|
|
1687
|
+
_: 3
|
|
1688
|
+
}, 16, ["class"]);
|
|
1689
|
+
};
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1692
|
+
const _hoisted_1$4 = { class: "flex items-center gap-2 border-b border-border px-3" };
|
|
1693
|
+
const _hoisted_2$2 = ["id", "aria-controls", "aria-activedescendant", "placeholder", "value"];
|
|
1694
|
+
const DefaultPlaceholder = "Type a command…";
|
|
1695
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1696
|
+
...{ name: "CommandPaletteModalInput", inheritAttrs: false },
|
|
1697
|
+
__name: "CommandPaletteModalInput",
|
|
1698
|
+
setup(__props, { expose: __expose }) {
|
|
1699
|
+
const locale = useLocale();
|
|
1700
|
+
const attrs = useAttrs();
|
|
1701
|
+
const context = useCommandPaletteContext();
|
|
1702
|
+
const el = shallowRef(null);
|
|
1703
|
+
const inputValue = context.inputValue;
|
|
1704
|
+
const activeId = context.activeId;
|
|
1705
|
+
function setRef(node) {
|
|
1706
|
+
const input = node ?? null;
|
|
1707
|
+
el.value = input;
|
|
1708
|
+
context.inputEl.value = input;
|
|
1709
|
+
}
|
|
1710
|
+
watch(
|
|
1711
|
+
[() => context.open.value, el],
|
|
1712
|
+
([isOpen, input]) => {
|
|
1713
|
+
if (isOpen && input) input.focus();
|
|
1714
|
+
},
|
|
1715
|
+
{ flush: "post" }
|
|
1716
|
+
);
|
|
1717
|
+
function visibleItems() {
|
|
1718
|
+
const search = context.inputValue.value;
|
|
1719
|
+
return DomOrderExtensions.inDocumentOrder(
|
|
1720
|
+
context.items.value.filter((i) => !i.disabled && (search === "" || context.filter(i.searchText, search))),
|
|
1721
|
+
(item) => context.inputEl.value?.ownerDocument.getElementById(item.id)
|
|
1722
|
+
);
|
|
1723
|
+
}
|
|
1724
|
+
watch(
|
|
1725
|
+
[() => context.inputValue.value, context.items],
|
|
1726
|
+
() => {
|
|
1727
|
+
const list = visibleItems();
|
|
1728
|
+
if (list.length > 0 && !list.some((i) => i.id === context.activeId.value)) {
|
|
1729
|
+
context.setActiveId(list[0].id);
|
|
1730
|
+
} else if (list.length === 0) {
|
|
1731
|
+
context.setActiveId(null);
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{ immediate: true, flush: "post" }
|
|
1735
|
+
);
|
|
1736
|
+
function moveActive(direction) {
|
|
1737
|
+
const list = visibleItems();
|
|
1738
|
+
if (list.length === 0) return;
|
|
1739
|
+
const index = list.findIndex((i) => i.id === context.activeId.value);
|
|
1740
|
+
let nextIndex = index + direction;
|
|
1741
|
+
if (index === -1) nextIndex = direction === 1 ? 0 : list.length - 1;
|
|
1742
|
+
if (nextIndex < 0) nextIndex = list.length - 1;
|
|
1743
|
+
if (nextIndex >= list.length) nextIndex = 0;
|
|
1744
|
+
const next = list[nextIndex];
|
|
1745
|
+
context.setActiveId(next.id);
|
|
1746
|
+
el.value?.ownerDocument.getElementById(next.id)?.scrollIntoView({ block: "nearest" });
|
|
1747
|
+
}
|
|
1748
|
+
function handleKeydown(event) {
|
|
1749
|
+
if (event.defaultPrevented || event.isComposing || !context.open.value) return;
|
|
1750
|
+
switch (event.key) {
|
|
1751
|
+
case "ArrowDown":
|
|
1752
|
+
event.preventDefault();
|
|
1753
|
+
moveActive(1);
|
|
1754
|
+
break;
|
|
1755
|
+
case "ArrowUp":
|
|
1756
|
+
event.preventDefault();
|
|
1757
|
+
moveActive(-1);
|
|
1758
|
+
break;
|
|
1759
|
+
case "Home": {
|
|
1760
|
+
if (event.target !== context.inputEl.value) break;
|
|
1761
|
+
const first = visibleItems();
|
|
1762
|
+
if (first.length > 0) context.setActiveId(first[0].id);
|
|
1763
|
+
break;
|
|
1764
|
+
}
|
|
1765
|
+
case "End": {
|
|
1766
|
+
if (event.target !== context.inputEl.value) break;
|
|
1767
|
+
const last = visibleItems();
|
|
1768
|
+
if (last.length > 0) context.setActiveId(last[last.length - 1].id);
|
|
1769
|
+
break;
|
|
1770
|
+
}
|
|
1771
|
+
case "Enter": {
|
|
1772
|
+
const id = context.activeId.value;
|
|
1773
|
+
if (!id) return;
|
|
1774
|
+
const entry = visibleItems().find((i) => i.id === id);
|
|
1775
|
+
if (!entry || entry.disabled) return;
|
|
1776
|
+
event.preventDefault();
|
|
1777
|
+
entry.select();
|
|
1778
|
+
if (entry.closeOnSelect) context.setOpen(false);
|
|
1779
|
+
break;
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
function handleInput(event) {
|
|
1784
|
+
context.setInputValue(event.target.value);
|
|
1785
|
+
}
|
|
1786
|
+
const placeholder = computed(
|
|
1787
|
+
() => attrs.placeholder ?? locale.t("CommandPaletteModalInput.placeholder", void 0, DefaultPlaceholder)
|
|
1788
|
+
);
|
|
1789
|
+
const classes = computed(
|
|
1790
|
+
() => cn(
|
|
1791
|
+
"flex h-12 w-full bg-transparent text-sm text-foreground placeholder:text-subtle-foreground outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
1792
|
+
attrs.class
|
|
1793
|
+
)
|
|
1794
|
+
);
|
|
1795
|
+
const rest = computed(() => {
|
|
1796
|
+
const { class: _class, placeholder: _placeholder, ...others } = attrs;
|
|
1797
|
+
return others;
|
|
1798
|
+
});
|
|
1799
|
+
__expose({ el });
|
|
1800
|
+
return (_ctx, _cache) => {
|
|
1801
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
1802
|
+
createVNode(unref(_sfc_main$K), {
|
|
1803
|
+
icon: unref(Search),
|
|
1804
|
+
size: 16,
|
|
1805
|
+
class: "text-muted-foreground"
|
|
1806
|
+
}, null, 8, ["icon"]),
|
|
1807
|
+
createElementVNode("input", mergeProps(rest.value, {
|
|
1808
|
+
id: unref(context).inputId,
|
|
1809
|
+
ref: setRef,
|
|
1810
|
+
type: "text",
|
|
1811
|
+
role: "combobox",
|
|
1812
|
+
"aria-expanded": "true",
|
|
1813
|
+
"aria-controls": unref(context).listboxId,
|
|
1814
|
+
"aria-activedescendant": unref(activeId) ?? void 0,
|
|
1815
|
+
"aria-autocomplete": "list",
|
|
1816
|
+
placeholder: placeholder.value,
|
|
1817
|
+
value: unref(inputValue),
|
|
1818
|
+
class: classes.value,
|
|
1819
|
+
onInput: handleInput,
|
|
1820
|
+
onKeydown: handleKeydown
|
|
1821
|
+
}), null, 16, _hoisted_2$2)
|
|
1822
|
+
]);
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1825
|
+
});
|
|
1826
|
+
const _hoisted_1$3 = ["id", "aria-labelledby"];
|
|
1827
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1828
|
+
...{ name: "CommandPaletteModalList", inheritAttrs: false },
|
|
1829
|
+
__name: "CommandPaletteModalList",
|
|
1830
|
+
setup(__props, { expose: __expose }) {
|
|
1831
|
+
const attrs = useAttrs();
|
|
1832
|
+
const el = useTemplateRef("el");
|
|
1833
|
+
const context = useCommandPaletteContext();
|
|
1834
|
+
const classes = computed(() => cn("max-h-80 overflow-y-auto p-1", attrs.class));
|
|
1835
|
+
const rest = computed(() => {
|
|
1836
|
+
const { class: _class, ...others } = attrs;
|
|
1837
|
+
return others;
|
|
1838
|
+
});
|
|
1839
|
+
__expose({ el });
|
|
1840
|
+
return (_ctx, _cache) => {
|
|
1841
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1842
|
+
id: unref(context).listboxId,
|
|
1843
|
+
ref_key: "el",
|
|
1844
|
+
ref: el,
|
|
1845
|
+
role: "listbox",
|
|
1846
|
+
"aria-labelledby": unref(context).inputId
|
|
1847
|
+
}, rest.value, { class: classes.value }), [
|
|
1848
|
+
renderSlot(_ctx.$slots, "default")
|
|
1849
|
+
], 16, _hoisted_1$3);
|
|
1850
|
+
};
|
|
1851
|
+
}
|
|
1852
|
+
});
|
|
1853
|
+
const _hoisted_1$2 = ["aria-labelledby"];
|
|
1854
|
+
const _hoisted_2$1 = ["id"];
|
|
1855
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
1856
|
+
...{ name: "CommandPaletteModalGroup", inheritAttrs: false },
|
|
1857
|
+
__name: "CommandPaletteModalGroup",
|
|
1858
|
+
props: {
|
|
1859
|
+
label: {}
|
|
1860
|
+
},
|
|
1861
|
+
setup(__props, { expose: __expose }) {
|
|
1862
|
+
const props = __props;
|
|
1863
|
+
const attrs = useAttrs();
|
|
1864
|
+
const slots = useSlots();
|
|
1865
|
+
const el = useTemplateRef("el");
|
|
1866
|
+
const labelId = useId();
|
|
1867
|
+
const hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));
|
|
1868
|
+
__expose({ el });
|
|
1869
|
+
return (_ctx, _cache) => {
|
|
1870
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
1871
|
+
ref_key: "el",
|
|
1872
|
+
ref: el,
|
|
1873
|
+
role: "group",
|
|
1874
|
+
"aria-labelledby": hasLabel.value ? unref(labelId) : void 0
|
|
1875
|
+
}, unref(attrs)), [
|
|
1876
|
+
hasLabel.value ? (openBlock(), createElementBlock("div", {
|
|
1877
|
+
key: 0,
|
|
1878
|
+
id: unref(labelId),
|
|
1879
|
+
class: normalizeClass(unref(listboxGroupLabelVariants)())
|
|
1880
|
+
}, [
|
|
1881
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
1882
|
+
createTextVNode(toDisplayString(props.label), 1)
|
|
1883
|
+
])
|
|
1884
|
+
], 10, _hoisted_2$1)) : createCommentVNode("", true),
|
|
1885
|
+
renderSlot(_ctx.$slots, "default")
|
|
1886
|
+
], 16, _hoisted_1$2);
|
|
1887
|
+
};
|
|
1888
|
+
}
|
|
1889
|
+
});
|
|
1890
|
+
const _hoisted_1$1 = ["id", "aria-selected", "aria-disabled", "data-active"];
|
|
1891
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
1892
|
+
...{ name: "CommandPaletteModalItem", inheritAttrs: false },
|
|
1893
|
+
__name: "CommandPaletteModalItem",
|
|
1894
|
+
props: {
|
|
1895
|
+
value: {},
|
|
1896
|
+
searchText: { default: void 0 },
|
|
1897
|
+
isDisabled: { type: Boolean, default: void 0 },
|
|
1898
|
+
canCloseOnSelect: { type: Boolean, default: void 0 },
|
|
1899
|
+
closeOnSelect: { type: Boolean, default: void 0 }
|
|
1900
|
+
},
|
|
1901
|
+
emits: ["select"],
|
|
1902
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1903
|
+
const props = __props;
|
|
1904
|
+
const emit = __emit;
|
|
1905
|
+
const attrs = useAttrs();
|
|
1906
|
+
const context = useCommandPaletteContext();
|
|
1907
|
+
const el = useTemplateRef("el");
|
|
1908
|
+
const id = useId();
|
|
1909
|
+
const resolvedSearch = computed(() => props.searchText ?? props.value);
|
|
1910
|
+
watch(
|
|
1911
|
+
[
|
|
1912
|
+
() => props.value,
|
|
1913
|
+
resolvedSearch,
|
|
1914
|
+
() => props.isDisabled,
|
|
1915
|
+
() => props.canCloseOnSelect ?? props.closeOnSelect ?? true
|
|
1916
|
+
],
|
|
1917
|
+
([value, searchText, isDisabled, closeOnSelect]) => {
|
|
1918
|
+
context.registerItem({
|
|
1919
|
+
id,
|
|
1920
|
+
value,
|
|
1921
|
+
searchText,
|
|
1922
|
+
disabled: isDisabled === true,
|
|
1923
|
+
select: () => emit("select"),
|
|
1924
|
+
closeOnSelect
|
|
1925
|
+
});
|
|
1926
|
+
},
|
|
1927
|
+
{ immediate: true, flush: "post" }
|
|
1928
|
+
);
|
|
1929
|
+
onScopeDispose(() => context.unregisterItem(id));
|
|
1930
|
+
const matches = computed(
|
|
1931
|
+
() => context.inputValue.value === "" || context.filter(resolvedSearch.value, context.inputValue.value)
|
|
1932
|
+
);
|
|
1933
|
+
const isActive = computed(() => context.activeId.value === id);
|
|
1934
|
+
const state = computed(() => props.isDisabled ? "disabled" : isActive.value ? "active" : "default");
|
|
1935
|
+
function handleClick(event) {
|
|
1936
|
+
if (event.defaultPrevented || props.isDisabled) return;
|
|
1937
|
+
emit("select");
|
|
1938
|
+
if (props.canCloseOnSelect ?? props.closeOnSelect ?? true) context.setOpen(false);
|
|
1939
|
+
}
|
|
1940
|
+
function handlePointerEnter() {
|
|
1941
|
+
if (!props.isDisabled) context.setActiveId(id);
|
|
1942
|
+
}
|
|
1943
|
+
const classes = computed(() => cn(listboxItemVariants({ state: state.value }), attrs.class));
|
|
1944
|
+
const rest = computed(() => {
|
|
1945
|
+
const { class: _class, ...others } = attrs;
|
|
1946
|
+
return others;
|
|
1947
|
+
});
|
|
1948
|
+
__expose({ el });
|
|
1949
|
+
return (_ctx, _cache) => {
|
|
1950
|
+
return matches.value ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1951
|
+
key: 0,
|
|
1952
|
+
id: unref(id),
|
|
1953
|
+
ref_key: "el",
|
|
1954
|
+
ref: el,
|
|
1955
|
+
role: "option",
|
|
1956
|
+
"aria-selected": isActive.value,
|
|
1957
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
1958
|
+
"data-active": isActive.value ? "" : void 0
|
|
1959
|
+
}, rest.value, {
|
|
1960
|
+
class: classes.value,
|
|
1961
|
+
onClick: handleClick,
|
|
1962
|
+
onPointerenter: handlePointerEnter
|
|
1963
|
+
}), [
|
|
1964
|
+
renderSlot(_ctx.$slots, "default")
|
|
1965
|
+
], 16, _hoisted_1$1)) : createCommentVNode("", true);
|
|
1966
|
+
};
|
|
1967
|
+
}
|
|
1968
|
+
});
|
|
1969
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
1970
|
+
...{ name: "CommandPaletteModalEmpty", inheritAttrs: false },
|
|
1971
|
+
__name: "CommandPaletteModalEmpty",
|
|
1972
|
+
setup(__props, { expose: __expose }) {
|
|
1973
|
+
const attrs = useAttrs();
|
|
1974
|
+
const el = useTemplateRef("el");
|
|
1975
|
+
const context = useCommandPaletteContext();
|
|
1976
|
+
const matchCount = computed(() => {
|
|
1977
|
+
const search = context.inputValue.value;
|
|
1978
|
+
return context.items.value.filter((i) => search === "" || context.filter(i.searchText, search)).length;
|
|
1979
|
+
});
|
|
1980
|
+
const classes = computed(() => cn(listboxEmptyVariants(), attrs.class));
|
|
1981
|
+
const rest = computed(() => {
|
|
1982
|
+
const { class: _class, ...others } = attrs;
|
|
1983
|
+
return others;
|
|
1984
|
+
});
|
|
1985
|
+
__expose({ el });
|
|
1986
|
+
return (_ctx, _cache) => {
|
|
1987
|
+
return matchCount.value === 0 ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1988
|
+
key: 0,
|
|
1989
|
+
ref_key: "el",
|
|
1990
|
+
ref: el,
|
|
1991
|
+
role: "status"
|
|
1992
|
+
}, rest.value, { class: classes.value }), [
|
|
1993
|
+
renderSlot(_ctx.$slots, "default")
|
|
1994
|
+
], 16)) : createCommentVNode("", true);
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
});
|
|
1998
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
1999
|
+
...{ name: "CommandPaletteModalSeparator", inheritAttrs: false },
|
|
2000
|
+
__name: "CommandPaletteModalSeparator",
|
|
2001
|
+
setup(__props, { expose: __expose }) {
|
|
2002
|
+
const attrs = useAttrs();
|
|
2003
|
+
const el = useTemplateRef("el");
|
|
2004
|
+
const classes = computed(() => cn(listboxSeparatorVariants(), attrs.class));
|
|
2005
|
+
const rest = computed(() => {
|
|
2006
|
+
const { class: _class, ...others } = attrs;
|
|
2007
|
+
return others;
|
|
2008
|
+
});
|
|
2009
|
+
__expose({ el });
|
|
2010
|
+
return (_ctx, _cache) => {
|
|
2011
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
2012
|
+
ref_key: "el",
|
|
2013
|
+
ref: el,
|
|
2014
|
+
role: "separator"
|
|
2015
|
+
}, rest.value, { class: classes.value }), null, 16);
|
|
2016
|
+
};
|
|
2017
|
+
}
|
|
2018
|
+
});
|
|
2019
|
+
const _hoisted_1 = { class: "flex min-h-10 items-center gap-2 text-sm text-white/80" };
|
|
2020
|
+
const _hoisted_2 = {
|
|
2021
|
+
key: 0,
|
|
2022
|
+
"aria-hidden": "true",
|
|
2023
|
+
"data-counter": ""
|
|
2024
|
+
};
|
|
2025
|
+
const _hoisted_3 = ["src", "srcset", "alt"];
|
|
2026
|
+
const _hoisted_4 = {
|
|
2027
|
+
key: 1,
|
|
2028
|
+
class: "text-center text-sm text-white/90"
|
|
2029
|
+
};
|
|
2030
|
+
const _hoisted_5 = ["aria-label", "disabled"];
|
|
2031
|
+
const _hoisted_6 = ["aria-label", "disabled"];
|
|
2032
|
+
const _hoisted_7 = {
|
|
2033
|
+
class: "sr-only",
|
|
2034
|
+
"aria-live": "polite"
|
|
2035
|
+
};
|
|
2036
|
+
const SwipeDistance = 48;
|
|
2037
|
+
const StepButtonClass = "absolute top-1/2 grid size-10 -translate-y-1/2 place-items-center rounded-full bg-black/50 text-white transition-colors hover:bg-black/70 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-white disabled:pointer-events-none disabled:opacity-30";
|
|
2038
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2039
|
+
...{ name: "LightboxModal", inheritAttrs: false },
|
|
2040
|
+
__name: "LightboxModal",
|
|
2041
|
+
props: {
|
|
2042
|
+
images: {},
|
|
2043
|
+
open: { type: Boolean, default: void 0 },
|
|
2044
|
+
defaultOpen: { type: Boolean, default: false },
|
|
2045
|
+
index: { default: void 0 },
|
|
2046
|
+
defaultIndex: { default: 0 },
|
|
2047
|
+
isLooping: { type: Boolean, default: true },
|
|
2048
|
+
label: {}
|
|
2049
|
+
},
|
|
2050
|
+
emits: ["update:open", "update:index"],
|
|
2051
|
+
setup(__props, { emit: __emit }) {
|
|
2052
|
+
const componentProps = __props;
|
|
2053
|
+
const props = useLocaleDefaults(componentProps, "LightboxModal", { label: "Image viewer" });
|
|
2054
|
+
const emit = __emit;
|
|
2055
|
+
const attrs = useAttrs();
|
|
2056
|
+
const locale = useLocale();
|
|
2057
|
+
const openState = useControlled({
|
|
2058
|
+
controlled: () => props.open,
|
|
2059
|
+
default: () => props.defaultOpen,
|
|
2060
|
+
onChange: (next) => {
|
|
2061
|
+
emit("update:open", next);
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
const isOpen = openState.value;
|
|
2065
|
+
const indexState = useControlled({
|
|
2066
|
+
controlled: () => props.index,
|
|
2067
|
+
default: () => props.defaultIndex,
|
|
2068
|
+
onChange: (next) => {
|
|
2069
|
+
emit("update:index", next);
|
|
2070
|
+
}
|
|
2071
|
+
});
|
|
2072
|
+
const count = computed(() => props.images.length);
|
|
2073
|
+
const lastIndex = computed(() => Math.max(0, count.value - 1));
|
|
2074
|
+
const current = computed(() => {
|
|
2075
|
+
const requested = Number.isFinite(indexState.value.value) ? Math.round(indexState.value.value) : 0;
|
|
2076
|
+
return Math.min(Math.max(0, requested), lastIndex.value);
|
|
2077
|
+
});
|
|
2078
|
+
const image = computed(() => props.images[current.value]);
|
|
2079
|
+
const hasMany = computed(() => count.value > 1);
|
|
2080
|
+
const canGoBack = computed(() => hasMany.value && (props.isLooping || current.value > 0));
|
|
2081
|
+
const canGoForward = computed(() => hasMany.value && (props.isLooping || current.value < lastIndex.value));
|
|
2082
|
+
function show(next) {
|
|
2083
|
+
if (count.value === 0) return;
|
|
2084
|
+
const target = props.isLooping ? (next % count.value + count.value) % count.value : Math.min(Math.max(0, next), lastIndex.value);
|
|
2085
|
+
if (target !== current.value) indexState.setValue(target);
|
|
2086
|
+
}
|
|
2087
|
+
function openAt(index) {
|
|
2088
|
+
show(index);
|
|
2089
|
+
openState.setValue(true);
|
|
2090
|
+
}
|
|
2091
|
+
function setOpen(next) {
|
|
2092
|
+
openState.setValue(next);
|
|
2093
|
+
}
|
|
2094
|
+
function forward(element) {
|
|
2095
|
+
return getComputedStyle(element).direction === "rtl" ? -1 : 1;
|
|
2096
|
+
}
|
|
2097
|
+
function onKeydown(event) {
|
|
2098
|
+
const step = forward(event.currentTarget);
|
|
2099
|
+
if (event.key === "ArrowRight") show(current.value + step);
|
|
2100
|
+
else if (event.key === "ArrowLeft") show(current.value - step);
|
|
2101
|
+
else if (event.key === "Home") show(0);
|
|
2102
|
+
else if (event.key === "End") show(lastIndex.value);
|
|
2103
|
+
else return;
|
|
2104
|
+
event.preventDefault();
|
|
2105
|
+
}
|
|
2106
|
+
let swipe = null;
|
|
2107
|
+
function onPointerDown(event) {
|
|
2108
|
+
swipe = event.pointerType === "mouse" ? null : { x: event.clientX, y: event.clientY, pointerId: event.pointerId };
|
|
2109
|
+
}
|
|
2110
|
+
function onPointerUp(event) {
|
|
2111
|
+
const start = swipe;
|
|
2112
|
+
swipe = null;
|
|
2113
|
+
if (!start || start.pointerId !== event.pointerId) return;
|
|
2114
|
+
const travel = event.clientX - start.x;
|
|
2115
|
+
if (Math.abs(travel) < SwipeDistance || Math.abs(travel) < Math.abs(event.clientY - start.y)) return;
|
|
2116
|
+
const step = forward(event.currentTarget);
|
|
2117
|
+
show(current.value + (travel < 0 ? step : -step));
|
|
2118
|
+
}
|
|
2119
|
+
function cancelSwipe() {
|
|
2120
|
+
swipe = null;
|
|
2121
|
+
}
|
|
2122
|
+
watch([isOpen, current], () => {
|
|
2123
|
+
if (!isOpen.value || !hasMany.value || typeof Image === "undefined") return;
|
|
2124
|
+
for (const offset of [-1, 1]) {
|
|
2125
|
+
const neighbour = props.images[(current.value + offset + count.value) % count.value];
|
|
2126
|
+
if (neighbour) new Image().src = neighbour.src;
|
|
2127
|
+
}
|
|
2128
|
+
});
|
|
2129
|
+
const counterText = computed(
|
|
2130
|
+
() => locale.t("LightboxModal.counter", { current: current.value + 1, total: count.value }, "{current} of {total}")
|
|
2131
|
+
);
|
|
2132
|
+
const announcement = computed(
|
|
2133
|
+
() => image.value ? hasMany.value ? `${counterText.value}: ${image.value.alt}` : image.value.alt : ""
|
|
2134
|
+
);
|
|
2135
|
+
const rest = computed(() => {
|
|
2136
|
+
const { class: _class, ...others } = attrs;
|
|
2137
|
+
return others;
|
|
2138
|
+
});
|
|
2139
|
+
const contentClass = computed(
|
|
2140
|
+
() => cn(
|
|
2141
|
+
"flex h-[min(90vh,60rem)] w-[min(96vw,80rem)] max-w-none flex-col gap-2 bg-black/90 p-3 text-white shadow-none",
|
|
2142
|
+
attrs.class
|
|
2143
|
+
)
|
|
2144
|
+
);
|
|
2145
|
+
return (_ctx, _cache) => {
|
|
2146
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
2147
|
+
open: unref(isOpen),
|
|
2148
|
+
"onUpdate:open": setOpen
|
|
2149
|
+
}, {
|
|
2150
|
+
default: withCtx(() => [
|
|
2151
|
+
renderSlot(_ctx.$slots, "default", { openAt }),
|
|
2152
|
+
createVNode(unref(_sfc_main$u), mergeProps(rest.value, {
|
|
2153
|
+
"is-blurred": "",
|
|
2154
|
+
class: contentClass.value,
|
|
2155
|
+
onKeydown
|
|
2156
|
+
}), {
|
|
2157
|
+
default: withCtx(() => [
|
|
2158
|
+
createVNode(unref(_sfc_main$s), { class: "sr-only" }, {
|
|
2159
|
+
default: withCtx(() => [
|
|
2160
|
+
createTextVNode(toDisplayString(unref(props).label), 1)
|
|
2161
|
+
]),
|
|
2162
|
+
_: 1
|
|
2163
|
+
}),
|
|
2164
|
+
createElementVNode("div", _hoisted_1, [
|
|
2165
|
+
hasMany.value ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(counterText.value), 1)) : createCommentVNode("", true),
|
|
2166
|
+
createVNode(unref(_sfc_main$o), { class: "ms-auto text-white hover:bg-white/10" })
|
|
2167
|
+
]),
|
|
2168
|
+
createElementVNode("figure", {
|
|
2169
|
+
class: "relative flex min-h-0 flex-1 touch-pan-y touch-pinch-zoom flex-col items-center justify-center gap-2",
|
|
2170
|
+
onPointerdown: onPointerDown,
|
|
2171
|
+
onPointerup: onPointerUp,
|
|
2172
|
+
onPointercancel: cancelSwipe
|
|
2173
|
+
}, [
|
|
2174
|
+
image.value ? (openBlock(), createElementBlock("img", {
|
|
2175
|
+
key: image.value.src,
|
|
2176
|
+
src: image.value.src,
|
|
2177
|
+
srcset: image.value.srcset,
|
|
2178
|
+
alt: image.value.alt,
|
|
2179
|
+
draggable: "false",
|
|
2180
|
+
class: "min-h-0 max-w-full flex-1 rounded-md object-contain select-none"
|
|
2181
|
+
}, null, 8, _hoisted_3)) : createCommentVNode("", true),
|
|
2182
|
+
image.value?.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_4, toDisplayString(image.value.caption), 1)) : createCommentVNode("", true),
|
|
2183
|
+
hasMany.value ? (openBlock(), createElementBlock("button", {
|
|
2184
|
+
key: 2,
|
|
2185
|
+
type: "button",
|
|
2186
|
+
"aria-label": unref(locale).t("LightboxModal.previous", void 0, "Previous image"),
|
|
2187
|
+
disabled: !canGoBack.value,
|
|
2188
|
+
class: normalizeClass(unref(cn)(StepButtonClass, "start-2")),
|
|
2189
|
+
onClick: _cache[0] || (_cache[0] = ($event) => show(current.value - 1))
|
|
2190
|
+
}, [
|
|
2191
|
+
createVNode(unref(ChevronLeft), { class: "size-5 rtl:-scale-x-100" })
|
|
2192
|
+
], 10, _hoisted_5)) : createCommentVNode("", true),
|
|
2193
|
+
hasMany.value ? (openBlock(), createElementBlock("button", {
|
|
2194
|
+
key: 3,
|
|
2195
|
+
type: "button",
|
|
2196
|
+
"aria-label": unref(locale).t("LightboxModal.next", void 0, "Next image"),
|
|
2197
|
+
disabled: !canGoForward.value,
|
|
2198
|
+
class: normalizeClass(unref(cn)(StepButtonClass, "end-2")),
|
|
2199
|
+
onClick: _cache[1] || (_cache[1] = ($event) => show(current.value + 1))
|
|
2200
|
+
}, [
|
|
2201
|
+
createVNode(unref(ChevronRight), { class: "size-5 rtl:-scale-x-100" })
|
|
2202
|
+
], 10, _hoisted_6)) : createCommentVNode("", true)
|
|
2203
|
+
], 32),
|
|
2204
|
+
createElementVNode("p", _hoisted_7, toDisplayString(announcement.value), 1)
|
|
2205
|
+
]),
|
|
2206
|
+
_: 1
|
|
2207
|
+
}, 16, ["class"])
|
|
2208
|
+
]),
|
|
2209
|
+
_: 3
|
|
2210
|
+
}, 8, ["open"]);
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
});
|
|
2214
|
+
export {
|
|
2215
|
+
_sfc_main$g as A,
|
|
2216
|
+
_sfc_main$d as B,
|
|
2217
|
+
_sfc_main$e as C,
|
|
2218
|
+
_sfc_main$f as D,
|
|
2219
|
+
_sfc_main as E,
|
|
2220
|
+
ModalRole as F,
|
|
2221
|
+
ModalSize as G,
|
|
2222
|
+
_sfc_main$i as H,
|
|
2223
|
+
commandPaletteContextKey as I,
|
|
2224
|
+
defaultFilter as J,
|
|
2225
|
+
useBottomSheet as K,
|
|
2226
|
+
useCommandPaletteContext as L,
|
|
2227
|
+
ModalPhoneLayout as M,
|
|
2228
|
+
_sfc_main$c as _,
|
|
2229
|
+
_sfc_main$b as a,
|
|
2230
|
+
_sfc_main$a as b,
|
|
2231
|
+
_sfc_main$n as c,
|
|
2232
|
+
_sfc_main$l as d,
|
|
2233
|
+
_sfc_main$k as e,
|
|
2234
|
+
_sfc_main$m as f,
|
|
2235
|
+
_sfc_main$9 as g,
|
|
2236
|
+
_sfc_main$r as h,
|
|
2237
|
+
_sfc_main$s as i,
|
|
2238
|
+
_sfc_main$8 as j,
|
|
2239
|
+
_sfc_main$7 as k,
|
|
2240
|
+
_sfc_main$2 as l,
|
|
2241
|
+
_sfc_main$4 as m,
|
|
2242
|
+
_sfc_main$6 as n,
|
|
2243
|
+
_sfc_main$3 as o,
|
|
2244
|
+
_sfc_main$5 as p,
|
|
2245
|
+
_sfc_main$1 as q,
|
|
2246
|
+
_sfc_main$h as r,
|
|
2247
|
+
_sfc_main$w as s,
|
|
2248
|
+
_sfc_main$q as t,
|
|
2249
|
+
_sfc_main$o as u,
|
|
2250
|
+
_sfc_main$u as v,
|
|
2251
|
+
_sfc_main$p as w,
|
|
2252
|
+
_sfc_main$t as x,
|
|
2253
|
+
_sfc_main$v as y,
|
|
2254
|
+
_sfc_main$j as z
|
|
2255
|
+
};
|
|
2256
|
+
//# sourceMappingURL=LightboxModal.vue_vue_type_script_setup_true_lang-Bc3nV-BB.js.map
|