@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/foundation/speech/SpeechSupport.ts","../../../src/foundation/speech/SpeechResult.ts","../../../src/foundation/speech/SpeechControls.ts","../../../src/foundation/speech/Speak.ts","../../../src/foundation/speech/ListVoices.ts","../../../src/foundation/speech/hooks/UseSpeechSynthesis.ts","../../../src/foundation/speech/SpeechRecognitionResult.ts","../../../src/foundation/speech/CreateSpeechRecognizer.ts","../../../src/foundation/speech/hooks/UseSpeechRecognition.ts","../../../src/foundation/speech/enums/SpeechFailureCode.ts","../../../src/foundation/speech/enums/RecognizerStartFailureCode.ts"],"sourcesContent":["import type { SpeechRecognitionConstructor } from './SpeechRecognitionTypes';\n\n/** What this environment can do. Two independent answers — no browser guarantees both, and Firefox gives one. */\nexport interface SpeechSupport {\n /** Whether `speak` can reach a real `speechSynthesis` AND a real `SpeechSynthesisUtterance`. */\n readonly synthesis: boolean;\n\n /** Whether `createSpeechRecognizer` can reach a real (possibly `webkit`-prefixed) `SpeechRecognition`. */\n readonly recognition: boolean;\n}\n\n/** A `SpeechSynthesisUtterance`-shaped constructor, as read off the global scope. */\nexport type UtteranceConstructor = new (text?: string) => SpeechSynthesisUtterance;\n\n/**\n * Reads `speechSynthesis` when it exists and carries `member` as a callable.\n *\n * Members are asked for one at a time because they fail one at a time: a polyfill can implement `speak` and\n * `cancel` while omitting `pause` / `resume` (which several mobile engines genuinely do not honour). Guarded\n * end-to-end; returns `undefined` under SSR. Internal to the slice — used by the sibling modules, absent from the\n * barrel.\n *\n * @param member The method the caller is about to invoke, or `speak` when it only needs to read a flag.\n * @returns The `SpeechSynthesis` object, or `undefined` when it or `member` is unusable.\n */\nexport function speechSynthesisWith(\n member: 'speak' | 'cancel' | 'pause' | 'resume' | 'getVoices',\n): SpeechSynthesis | undefined {\n try {\n const candidate: unknown = (globalThis as { speechSynthesis?: unknown }).speechSynthesis;\n if (typeof candidate !== 'object' || candidate === null) return undefined;\n\n const api = candidate as SpeechSynthesis;\n if (typeof api[member] !== 'function') return undefined;\n return api;\n } catch {\n // A throwing global getter (a partial polyfill, a locked-down webview) reads as absent — the same posture as\n // `foundation/media`'s `mediaDevicesWith` and `foundation/errors`' guarded member reads.\n return undefined;\n }\n}\n\n/**\n * Reads the `SpeechSynthesisUtterance` constructor.\n *\n * Separate from {@link speechSynthesisWith} because it is a separate global that can be separately missing.\n * Internal to the slice; absent from the barrel.\n *\n * @returns The constructor, or `undefined` under SSR / on a partial implementation.\n */\nexport function utteranceConstructor(): UtteranceConstructor | undefined {\n try {\n const candidate: unknown = (globalThis as { SpeechSynthesisUtterance?: unknown }).SpeechSynthesisUtterance;\n return typeof candidate === 'function' ? (candidate as UtteranceConstructor) : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Reads the `SpeechRecognition` constructor, unprefixed first, then `webkit`-prefixed.\n *\n * Unprefixed wins where both exist: it is the one newer Chrome maintains, and an engine shipping both aliases\n * them anyway. Internal to the slice; absent from the barrel.\n *\n * @returns The constructor, or `undefined` under SSR and in Firefox.\n */\nexport function speechRecognitionConstructor(): SpeechRecognitionConstructor | undefined {\n try {\n // Neither name exists in `lib.dom.d.ts`, so the cast goes through `unknown` — a direct assertion off\n // `typeof globalThis` would be comparing against properties TypeScript does not know exist.\n const scope = globalThis as unknown as {\n SpeechRecognition?: unknown;\n webkitSpeechRecognition?: unknown;\n };\n\n const candidate: unknown = scope.SpeechRecognition ?? scope.webkitSpeechRecognition;\n return typeof candidate === 'function' ? (candidate as SpeechRecognitionConstructor) : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Whether this environment can speak text aloud.\n *\n * Never throws. `false` under SSR, and `false` on a page carrying only one of the two required globals.\n *\n * @returns `true` when `speak` will reach a real engine.\n */\nexport function canSpeak(): boolean {\n return speechSynthesisWith('speak') !== undefined && utteranceConstructor() !== undefined;\n}\n\n/**\n * Whether this environment can transcribe speech.\n *\n * A capability answer, NOT a permission answer: Chrome exposes the constructor to every page and only refuses at\n * `start()` — with `not-allowed` for a blocked microphone, or `service-not-allowed` on an insecure origin. Treat\n * `true` as \"the button is worth rendering\", never as \"this will work\".\n *\n * Never throws. `false` under SSR and in Firefox, which does not implement recognition at all.\n *\n * @returns `true` when a recognizer can be constructed.\n */\nexport function canRecognizeSpeech(): boolean {\n return speechRecognitionConstructor() !== undefined;\n}\n\n/**\n * Reports both capabilities at once — the shape a consumer branches on when it renders a speak button, a dictate\n * button, or both.\n *\n * Never throws. Both `false` under SSR.\n *\n * @returns The two independent answers.\n */\nexport function getSpeechSupport(): SpeechSupport {\n return { synthesis: canSpeak(), recognition: canRecognizeSpeech() };\n}\n","import type { SpeechSpeakResult } from './models/SpeechSpeakResult';\nimport type { SpeechFailure } from './models/SpeechFailure';\n\nexport type { SpeechFailure } from './models/SpeechFailure';\nexport type { SpeechSpeakResult } from './models/SpeechSpeakResult';\nexport type SpeakStatus = 'spoken' | SpeechFailure['status'];\n\n/** Codes that mean the app (or the user) stopped the utterance, rather than the engine failing to speak it. */\nconst CancellationCodes: ReadonlySet<string> = new Set(['canceled', 'cancelled', 'interrupted']);\n\n/**\n * Reads a caught / delivered value's `error` code as a string. Guarded: a throwing getter or a `Proxy` trap reads\n * as absent rather than escalating inside the handler that is already dealing with a failure.\n */\nfunction errorCodeOf(event: unknown): string | undefined {\n if (event === null || (typeof event !== 'object' && typeof event !== 'function')) return undefined;\n\n try {\n const code: unknown = (event as Record<string, unknown>)['error'];\n return typeof code === 'string' ? code : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Classifies a `SpeechSynthesisUtterance` `error` event into its {@link SpeechSpeakResult}.\n *\n * Exported for the sibling `Speak` module and its tests; absent from the barrel, where `speak` is the surface a\n * consumer wants. Never throws — an unrecognized or unreadable code becomes `failed` with an `Error` naming what\n * arrived, so even a hostile event produces a usable result.\n *\n * @param event The `error` event the platform delivered.\n * @returns `cancelled` for a cancellation code, `failed` for everything else.\n */\nexport function toSpeakFailure(event: unknown): SpeechSpeakResult {\n const code = errorCodeOf(event);\n if (code !== undefined && CancellationCodes.has(code)) return { ok: false, failure: { status: 'cancelled' } };\n\n // The raw event rides along as `cause`, which `foundation/errors`' chain walkers already traverse safely\n // (cycle-guarded, depth-capped) — so a log keeps the platform's own object without this module trusting it.\n const error = new Error(`speech synthesis failed: ${code ?? 'unknown'}`, { cause: event });\n return { ok: false, failure: { status: 'failed', error } };\n}\n","import { speechSynthesisWith } from './SpeechSupport';\n\n/** Bumped by every cancel that reaches a real engine. Read by `speak` to classify its own ending. */\nlet cancels = 0;\nconst cancellationListeners = new Set<() => void>();\n\n/** Registers an internal settlement callback for queue-wide cancellation. */\nexport function onSpeechCancelled(listener: () => void): () => void {\n cancellationListeners.add(listener);\n return () => cancellationListeners.delete(listener);\n}\n\n/**\n * The current cancel generation.\n *\n * Internal to the slice — `Speak` samples it before speaking and compares on settle. Absent from the barrel: the\n * number means nothing on its own, and a consumer comparing two samples is reimplementing `speak`.\n *\n * @returns A monotonically increasing count of cancels that reached the engine.\n */\nexport function cancelGeneration(): number {\n return cancels;\n}\n\n/**\n * Stops all speech and empties the utterance queue.\n *\n * GLOBAL: this silences every utterance in the document, not just the caller's. Any in-flight `speak` settles as\n * `cancelled` rather than `spoken` or `failed`.\n *\n * Never throws. A no-op under SSR.\n *\n * @returns `true` when a real engine was reached; `false` under SSR or when the call itself failed.\n */\nexport function cancelSpeech(): boolean {\n const synth = speechSynthesisWith('cancel');\n if (synth === undefined) return false;\n\n cancels += 1;\n for (const listener of [...cancellationListeners]) listener();\n try {\n synth.cancel();\n return true;\n } catch {\n // A `cancel()` that throws leaves speech running, and the generation already bumped — so an utterance that\n // survives will report `cancelled`. That is the safe way to be wrong: a cancelled-looking result for speech\n // the app asked to stop, rather than a `spoken` for speech it did not hear the end of.\n return false;\n }\n}\n\n/**\n * Pauses the current utterance, leaving the queue intact.\n *\n * Never throws. A no-op under SSR, and on engines that expose no `pause` (some mobile webviews). See the module\n * header for Chrome-on-Android's pause-is-cancel behaviour.\n *\n * @returns `true` when the call reached a real engine.\n */\nexport function pauseSpeech(): boolean {\n const synth = speechSynthesisWith('pause');\n if (synth === undefined) return false;\n\n try {\n synth.pause();\n return true;\n } catch {\n // A partial implementation refusing the call is reported, never thrown — the caller is a click handler.\n return false;\n }\n}\n\n/**\n * Resumes speech paused by {@link pauseSpeech}.\n *\n * Never throws. A no-op under SSR.\n *\n * @returns `true` when the call reached a real engine.\n */\nexport function resumeSpeech(): boolean {\n const synth = speechSynthesisWith('resume');\n if (synth === undefined) return false;\n\n try {\n synth.resume();\n return true;\n } catch {\n return false;\n }\n}\n\n/**\n * Whether the engine is speaking right now.\n *\n * Reads the platform's own flag rather than a locally tracked one, so it stays true for speech this module did\n * not start. Note it stays `true` while PAUSED — that is the spec's definition, not a bug; pair it with\n * {@link isSpeechPaused}.\n *\n * Never throws. `false` under SSR.\n *\n * @returns The engine's `speaking` flag.\n */\nexport function isSpeaking(): boolean {\n const synth = speechSynthesisWith('speak');\n if (synth === undefined) return false;\n\n try {\n return synth.speaking === true;\n } catch {\n return false;\n }\n}\n\n/**\n * Whether the engine is in a paused state.\n *\n * Never throws. `false` under SSR.\n *\n * @returns The engine's `paused` flag.\n */\nexport function isSpeechPaused(): boolean {\n const synth = speechSynthesisWith('speak');\n if (synth === undefined) return false;\n\n try {\n return synth.paused === true;\n } catch {\n return false;\n }\n}\n","import { toError } from '../errors';\n\nimport { cancelGeneration, cancelSpeech, onSpeechCancelled, pauseSpeech, resumeSpeech } from './SpeechControls';\nimport { speechSynthesisWith, utteranceConstructor } from './SpeechSupport';\nimport { toSpeakFailure, type SpeechSpeakResult } from './SpeechResult';\n\n/** Tunes one utterance. Every field is optional; an omitted one leaves the engine's own default in place. */\nexport interface SpeakOptions {\n /** The voice to speak with — an entry from `listVoices()`. Omitted means the engine's default for `lang`. */\n readonly voice?: SpeechSynthesisVoice;\n\n /** BCP-47 tag (`en-US`, `de`). Same vocabulary as `foundation/i18n`, which `useSpeechSynthesis` defaults it to. */\n readonly lang?: string;\n\n /** Speed, `0.1`–`10`, default `1`. Clamped to that range; a non-finite value is ignored. */\n readonly rate?: number;\n\n /** Pitch, `0`–`2`, default `1`. Clamped to that range; a non-finite value is ignored. */\n readonly pitch?: number;\n\n /** Volume, `0`–`1`, default `1`. Clamped to that range; a non-finite value is ignored. */\n readonly volume?: number;\n}\n\n/**\n * The return of {@link speak}: awaitable for the outcome, and callable for control while it runs.\n *\n * All three controls are GLOBAL — the platform exposes no per-utterance cancel or pause, so they act on the\n * document's whole utterance queue.\n */\nexport interface SpeechHandle extends PromiseLike<SpeechSpeakResult> {\n /** The underlying promise, for a caller that wants to store or pass it. Never rejects. */\n readonly spoken: Promise<SpeechSpeakResult>;\n\n /** Stops this utterance — and every other queued one. Settles the handle as `cancelled`. */\n readonly cancel: () => void;\n\n /** Pauses the engine. See `SpeechControls` for Chrome-on-Android's pause-is-cancel behaviour. */\n readonly pause: () => void;\n\n /** Resumes a paused engine. */\n readonly resume: () => void;\n}\n\n/**\n * Holds a reference to every utterance the engine is still working on, defeating the GC bug described in the\n * module header. Cleared on settle, so a page that speaks all day does not accumulate.\n */\nconst inFlight = new Set<SpeechSynthesisUtterance>();\n\n/** Clamps to a spec range, dropping non-finite values so the engine keeps its own default. */\nfunction clamp(value: number | undefined, min: number, max: number): number | undefined {\n if (value === undefined || !Number.isFinite(value)) return undefined;\n return Math.min(max, Math.max(min, value));\n}\n\n/** Applies `options` to `utterance`, guarded — an engine may refuse a setter, and a refusal must not throw. */\nfunction configure(utterance: SpeechSynthesisUtterance, options: SpeakOptions | undefined): void {\n if (options === undefined) return;\n\n try {\n if (options.voice !== undefined) utterance.voice = options.voice;\n if (options.lang !== undefined) utterance.lang = options.lang;\n\n const rate = clamp(options.rate, 0.1, 10);\n if (rate !== undefined) utterance.rate = rate;\n\n const pitch = clamp(options.pitch, 0, 2);\n if (pitch !== undefined) utterance.pitch = pitch;\n\n const volume = clamp(options.volume, 0, 1);\n if (volume !== undefined) utterance.volume = volume;\n } catch {\n // A setter that refused its value leaves the engine default in place, which is speakable. Losing the tuning\n // is strictly better than losing the utterance.\n }\n}\n\n/** Wraps a promise and a set of controls into the awaitable handle. */\nfunction toHandle(spoken: Promise<SpeechSpeakResult>, controls: Omit<SpeechHandle, 'spoken' | 'then'>): SpeechHandle {\n return {\n spoken,\n cancel: controls.cancel,\n pause: controls.pause,\n resume: controls.resume,\n then: <TResult1 = SpeechSpeakResult, TResult2 = never>(\n onFulfilled?: ((value: SpeechSpeakResult) => TResult1 | PromiseLike<TResult1>) | null,\n onRejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null,\n ): PromiseLike<TResult1 | TResult2> => spoken.then(onFulfilled, onRejected),\n };\n}\n\n/** The controls of a handle for speech that never started — every one a no-op. */\nfunction inertControls(): Omit<SpeechHandle, 'spoken' | 'then'> {\n const noop = (): void => {\n // Nothing is speaking, so there is nothing to cancel, pause, or resume.\n };\n return { cancel: noop, pause: noop, resume: noop };\n}\n\n/**\n * Speaks `text` aloud, settling when the utterance ends.\n *\n * ```ts\n * const result = await speak('Order confirmed', { lang: 'en-GB', rate: 1.1 });\n * if (!result.ok && result.failure.status === 'unsupported') showTextInstead();\n *\n * const handle = speak(longArticle);\n * stopButton.onclick = () => handle.cancel(); // settles as `cancelled`\n * ```\n *\n * Call it from a user gesture where possible: some engines refuse synthesis without one (arriving as `failed`\n * with a `not-allowed` code, since the API was present).\n *\n * Never throws, never rejects.\n *\n * @param text The text to speak. Empty text completes immediately without waiting for a browser event.\n * @param options Voice, language, and prosody. Out-of-range prosody is clamped; see {@link SpeakOptions}.\n * @returns The awaitable handle — `spoken` / `cancelled` / `unsupported` / `failed`, plus the live controls.\n */\nexport function speak(text: string, options?: SpeakOptions): SpeechHandle {\n if (text.length === 0) return toHandle(Promise.resolve({ ok: true, value: undefined }), inertControls());\n const synth = speechSynthesisWith('speak');\n const Utterance = utteranceConstructor();\n\n // Both globals or nothing: an engine with no `SpeechSynthesisUtterance` cannot be given anything to say.\n if (synth === undefined || Utterance === undefined) {\n return toHandle(Promise.resolve({ ok: false, failure: { status: 'unsupported' } }), inertControls());\n }\n\n let settle!: (result: SpeechSpeakResult) => void;\n const spoken = new Promise<SpeechSpeakResult>((resolve) => {\n settle = resolve;\n });\n\n let settled = false;\n let utterance: SpeechSynthesisUtterance | undefined;\n\n /** Settles once and drops the GC-guard reference. Engines fire both `end` and `error` in some cancel paths. */\n const finish = (result: SpeechSpeakResult): void => {\n if (settled) return;\n settled = true;\n unsubscribeCancel?.();\n if (utterance !== undefined) inFlight.delete(utterance);\n settle(result);\n };\n\n try {\n utterance = new Utterance(text);\n } catch (cause) {\n // A constructor that refused the text (a hostile value, a stripped polyfill) is a failure of this call, not\n // an absence of the feature — `unsupported` would send the caller looking for the wrong fix.\n return toHandle(\n Promise.resolve({ ok: false, failure: { status: 'failed', error: toError(cause) } }),\n inertControls(),\n );\n }\n\n configure(utterance, options);\n\n // Sampled BEFORE `speak`, so any cancel from this point on — ours or another component's — is observable when\n // the ending arrives. See `SpeechControls` for why an `end` event alone cannot answer this.\n const generation = cancelGeneration();\n const wasCancelled = (): boolean => cancelGeneration() !== generation;\n const unsubscribeCancel = onSpeechCancelled(() => finish({ ok: false, failure: { status: 'cancelled' } }));\n\n utterance.onend = (): void => {\n finish(wasCancelled() ? { ok: false, failure: { status: 'cancelled' } } : { ok: true, value: undefined });\n };\n\n utterance.onerror = (event): void => {\n // A cancel we already know about wins over the code: engines disagree on which code a cancelled utterance\n // carries (`canceled`, `interrupted`, and Safari has shipped others), and the counter is not a guess.\n finish(wasCancelled() ? { ok: false, failure: { status: 'cancelled' } } : toSpeakFailure(event));\n };\n\n inFlight.add(utterance);\n\n try {\n synth.speak(utterance);\n } catch (cause) {\n finish({ ok: false, failure: { status: 'failed', error: toError(cause) } });\n }\n\n return toHandle(spoken, {\n cancel: (): void => {\n cancelSpeech();\n },\n pause: (): void => {\n pauseSpeech();\n },\n resume: (): void => {\n resumeSpeech();\n },\n });\n}\n","import { speechSynthesisWith } from './SpeechSupport';\n\n/** How long {@link listVoices} waits for a populated list before answering with whatever exists. */\nexport const DefaultVoicesTimeoutMs = 1000;\n\n/** The empty answer, shared so an unsupported environment does not allocate a new array per call. */\nconst NoVoices: ReadonlyArray<SpeechSynthesisVoice> = [];\n\n/** Tunes the wait for an asynchronously-populated voice list. */\nexport interface ListVoicesOptions {\n /** How long to wait for `voiceschanged` before resolving with whatever exists. Defaults to `1000`. */\n readonly timeoutMs?: number;\n}\n\n/** Reads the engine's current list, guarded — a partial polyfill can return a non-array or throw outright. */\nfunction readVoices(synth: SpeechSynthesis): ReadonlyArray<SpeechSynthesisVoice> {\n try {\n const voices: unknown = synth.getVoices();\n return Array.isArray(voices) ? (voices as SpeechSynthesisVoice[]) : NoVoices;\n } catch {\n return NoVoices;\n }\n}\n\n/**\n * The synchronous snapshot of the installed voices.\n *\n * OFTEN EMPTY on first paint — that is the platform behaviour this module exists to absorb, not a failure. Use it\n * only where an empty answer is acceptable (a re-render triggered by something else); prefer {@link listVoices}\n * anywhere the answer drives UI.\n *\n * Never throws. `[]` under SSR.\n *\n * @returns The voices the engine has registered so far.\n */\nexport function listVoicesSync(): ReadonlyArray<SpeechSynthesisVoice> {\n const synth = speechSynthesisWith('getVoices');\n return synth === undefined ? NoVoices : readVoices(synth);\n}\n\n/**\n * Subscribes to `voiceschanged`.\n *\n * Exported for the sibling composable, which re-reads the list when the engine revises it (Chrome does, after remote\n * voices load). Absent from the barrel — a consumer wants `useSpeechSynthesis`'s `voices`, not an event.\n *\n * Never throws. A no-op under SSR, where the returned unsubscribe is still safe to call.\n *\n * @param listener Called whenever the engine reports a change. Receives no arguments; re-read the list.\n * @returns The unsubscribe function.\n */\nexport function onVoicesChanged(listener: () => void): () => void {\n const noop = (): void => {\n // Nothing was subscribed, so there is nothing to tear down.\n };\n\n const synth = speechSynthesisWith('getVoices');\n if (synth === undefined) return noop;\n\n try {\n if (typeof synth.addEventListener === 'function') {\n synth.addEventListener('voiceschanged', listener);\n return (): void => {\n try {\n synth.removeEventListener('voiceschanged', listener);\n } catch {\n // A polyfill that accepted the listener but refuses to remove it leaves one live closure. Throwing from\n // an unsubscribe — usually an effect cleanup — would be far worse than that leak.\n }\n };\n }\n\n // Older WebKit: property-only wiring. Chain rather than clobber, so a consumer's own handler survives us.\n const previous = synth.onvoiceschanged;\n let active = true;\n const wrapped = function (this: SpeechSynthesis, event: Event): void {\n try {\n if (typeof previous === 'function') previous.call(this, event);\n } catch {\n /* Preserve other subscribers. */\n }\n if (active) listener();\n };\n synth.onvoiceschanged = wrapped;\n return (): void => {\n active = false;\n if (synth.onvoiceschanged === wrapped) synth.onvoiceschanged = previous;\n };\n } catch {\n return noop;\n }\n}\n\n/**\n * Lists the installed voices, WAITING for the asynchronously-populated list rather than returning the empty array\n * a first `getVoices()` hands back.\n *\n * Resolves immediately when the list is already populated — the common case on every call after the first.\n *\n * ```ts\n * const voices = await listVoices();\n * const german = voices.filter((voice) => voice.lang.startsWith('de'));\n * ```\n *\n * Never throws, never rejects. Resolves to `[]` under SSR, and to `[]` on a device that genuinely has no voices\n * (after the timeout).\n *\n * @param options The wait bound. Defaults to {@link DefaultVoicesTimeoutMs}.\n * @returns The voices, or `[]`.\n */\nexport function listVoices(options?: ListVoicesOptions): Promise<ReadonlyArray<SpeechSynthesisVoice>> {\n const synth = speechSynthesisWith('getVoices');\n if (synth === undefined) return Promise.resolve(NoVoices);\n\n const immediate = readVoices(synth);\n if (immediate.length > 0) return Promise.resolve(immediate);\n\n return new Promise<readonly SpeechSynthesisVoice[]>((resolve) => {\n let settled = false;\n\n // `settle` closes over `unsubscribe` and `timer`, both declared below. Safe because neither the subscription\n // nor the timer can call back synchronously — `onVoicesChanged` only registers, and a timeout is a task.\n const settle = (): void => {\n if (settled) return;\n settled = true;\n clearTimeout(timer);\n unsubscribe();\n // Re-read rather than close over an earlier snapshot: on the timeout path this is what catches an engine\n // that populated the list without ever firing the event.\n resolve(readVoices(synth));\n };\n\n const unsubscribe = onVoicesChanged((): void => {\n // An event carrying an empty list is not an answer — keep waiting for a real one, or for the deadline.\n if (readVoices(synth).length === 0) return;\n settle();\n });\n\n const timer = setTimeout(settle, options?.timeoutMs ?? DefaultVoicesTimeoutMs);\n });\n}\n\n/** Normalizes a BCP-47 tag for comparison: trimmed, lower-cased, and `en_US`-style separators repaired. */\nfunction normalizeTag(tag: string): string {\n return tag.trim().toLowerCase().replace(/_/g, '-');\n}\n\n/** The primary language subtag — `de` from `de-AT`. The unit a fallback match is made on. */\nfunction primarySubtag(tag: string): string {\n return normalizeTag(tag).split('-')[0] ?? '';\n}\n\n/** Sorts the engine's default voice first within a tier; otherwise preserves the engine's own order. */\nfunction defaultFirst(voices: ReadonlyArray<SpeechSynthesisVoice>): ReadonlyArray<SpeechSynthesisVoice> {\n return [...voices].sort((left, right) => Number(right.default === true) - Number(left.default === true));\n}\n\n/**\n * Filters voices to a language tag, exact matches first, then same-primary-subtag ones.\n *\n * Pure — takes the list rather than fetching it, so it is trivially testable and reusable on a list a consumer\n * already holds. Tag comparison is case-insensitive and tolerates the `en_US` separator some engines report.\n *\n * The two tiers are kept in order rather than collapsed because they are not equivalent: `en-GB` text read by an\n * `en-US` voice is understandable, so it belongs in the list — but never ahead of an actual `en-GB` voice.\n *\n * @param voices The list to filter, typically from {@link listVoices}.\n * @param lang A BCP-47 tag (`de`, `en-GB`). Same vocabulary as `foundation/i18n`'s locale.\n * @returns The matching voices, best match first. Empty when nothing matches.\n */\nexport function voicesForLang(\n voices: ReadonlyArray<SpeechSynthesisVoice>,\n lang: string,\n): ReadonlyArray<SpeechSynthesisVoice> {\n const wanted = normalizeTag(lang);\n if (wanted === '') return NoVoices;\n\n const wantedPrimary = primarySubtag(wanted);\n const exact: SpeechSynthesisVoice[] = [];\n const related: SpeechSynthesisVoice[] = [];\n\n for (const voice of voices) {\n const tag = typeof voice.lang === 'string' ? normalizeTag(voice.lang) : '';\n if (tag === '') continue;\n\n if (tag === wanted) exact.push(voice);\n else if (primarySubtag(tag) === wantedPrimary) related.push(voice);\n }\n\n return [...defaultFirst(exact), ...defaultFirst(related)];\n}\n\n/**\n * Picks the best voice for a language tag, waiting for the voice list the same way {@link listVoices} does.\n *\n * ```ts\n * const voice = await findVoice('de-DE');\n * await speak('Guten Tag', { voice, lang: 'de-DE' });\n * ```\n *\n * Never throws, never rejects.\n *\n * @param lang A BCP-47 tag.\n * @param options The wait bound, forwarded to {@link listVoices}.\n * @returns The best match, or `undefined` when the language has no voice installed (SSR included).\n */\nexport async function findVoice(lang: string, options?: ListVoicesOptions): Promise<SpeechSynthesisVoice | undefined> {\n const voices = await listVoices(options);\n return voicesForLang(voices, lang).at(0);\n}\n","import { onMounted, onScopeDispose, shallowRef, type ShallowRef } from 'vue';\n\nimport { useLocale } from '../../i18n';\n\nimport { listVoices, listVoicesSync, onVoicesChanged } from '../ListVoices';\nimport { speak as speakText, type SpeakOptions } from '../Speak';\nimport { cancelSpeech, pauseSpeech, resumeSpeech } from '../SpeechControls';\nimport type { SpeechSpeakResult } from '../SpeechResult';\nimport { canSpeak } from '../SpeechSupport';\n\n/** What {@link useSpeechSynthesis} returns. */\nexport interface SpeechSynthesisControls {\n /** Whether this browser can speak. `false` under SSR — render the button only once this is `true`. */\n readonly supported: Readonly<ShallowRef<boolean>>;\n\n /** The installed voices. Starts empty and fills in asynchronously; see `ListVoices` for why that is normal. */\n readonly voices: Readonly<ShallowRef<ReadonlyArray<SpeechSynthesisVoice>>>;\n\n /** Whether this composable has an utterance in flight — not the engine's global flag, shared by all callers. */\n readonly speaking: Readonly<ShallowRef<boolean>>;\n\n /** Whether this composable paused the engine. */\n readonly paused: Readonly<ShallowRef<boolean>>;\n\n /** Speaks text, resolving to the outcome. Never throws. Defaults `lang` to the active locale. */\n readonly speak: (text: string, options?: SpeakOptions) => Promise<SpeechSpeakResult>;\n\n /** Stops all speech in the document — no narrower cancel exists. In-flight `speak` calls settle as `cancelled`. */\n readonly cancel: () => void;\n\n /** Pauses the engine. See `SpeechControls` for Chrome-on-Android's pause-is-cancel behaviour. */\n readonly pause: () => void;\n\n /** Resumes a paused engine. */\n readonly resume: () => void;\n}\n\n/**\n * The initial voice list. Empty rather than `listVoicesSync()`, for the same reason `supported` starts `false`:\n * a server renders nothing and a client would render a full picker, and the mismatch is a hydration error —\n * quite apart from `listVoicesSync` reaching for a global the server does not have. The mount hook fills it in\n * on the very next tick.\n */\nconst NoVoices: ReadonlyArray<SpeechSynthesisVoice> = [];\n\n/**\n * Speaks text and owns the lifecycle — cancelling this composable's in-flight speech when the scope is disposed.\n *\n * ```vue\n * const speech = useSpeechSynthesis();\n * <button :disabled=\"!speech.supported.value\" @click=\"speech.speak(article)\">\n * {{ speech.speaking.value ? 'Stop' : 'Read aloud' }}\n * </button>\n * ```\n *\n * Inherits the slice's never-throws contract — a rejected promise is not one of the outcomes.\n *\n * @returns The state plus the four controls.\n */\nexport function useSpeechSynthesis(): SpeechSynthesisControls {\n const { locale } = useLocale();\n\n const voices = shallowRef<readonly SpeechSynthesisVoice[]>(NoVoices);\n const speaking = shallowRef(false);\n const paused = shallowRef(false);\n const supported = shallowRef(false);\n\n /** Guards state writes after teardown. */\n let disposed = false;\n\n /** How many utterances THIS composable started and has not seen settle. Drives both `speaking` and the cancel. */\n let inFlight = 0;\n\n const speak = async (text: string, options?: SpeakOptions): Promise<SpeechSpeakResult> => {\n if (disposed) return { ok: false, failure: { status: 'cancelled' } };\n inFlight += 1;\n if (!disposed) {\n speaking.value = true;\n paused.value = false;\n }\n\n // `lang` falls back to the app's active locale rather than the browser UI language: a localized app should\n // read its own text in the language the user is reading, not the one the OS was installed in.\n const result = await speakText(text, { ...options, lang: options?.lang ?? locale.value });\n\n inFlight = Math.max(0, inFlight - 1);\n // Only the LAST utterance clears the flag — a consumer queueing three sentences is speaking until all three\n // have settled.\n if (!disposed && inFlight === 0) {\n speaking.value = false;\n paused.value = false;\n }\n\n return result;\n };\n\n const cancel = (): void => {\n cancelSpeech();\n if (!disposed) paused.value = false;\n };\n\n const pause = (): void => {\n if (pauseSpeech() && !disposed) paused.value = true;\n };\n\n const resume = (): void => {\n if (resumeSpeech() && !disposed) paused.value = false;\n };\n\n let unsubscribe: (() => void) | undefined;\n\n onMounted(() => {\n supported.value = canSpeak();\n\n const apply = (next: ReadonlyArray<SpeechSynthesisVoice>): void => {\n if (!disposed) voices.value = next;\n };\n\n // Waits out the empty-first-call problem; resolves immediately once the list is populated.\n void listVoices().then(apply);\n\n unsubscribe = onVoicesChanged((): void => {\n apply(listVoicesSync());\n });\n });\n\n onScopeDispose(() => {\n disposed = true;\n unsubscribe?.();\n unsubscribe = undefined;\n // The whole point of the composable. Only when THIS one has something in flight — the platform's cancel is\n // global, and a teardown is no reason to silence another component.\n if (inFlight > 0) cancelSpeech();\n });\n\n return { supported, voices, speaking, paused, speak, cancel, pause, resume };\n}\n","/**\n * Why a recognition session ended badly. Eight arms, four of them sharing `foundation/media`'s vocabulary.\n *\n * - `denied` — the microphone is blocked, by the user or by the browser / OS. Not retryable without a settings\n * change, so re-prompting on a timer only annoys.\n * - `unavailable` — no usable input device. A desktop with no microphone, or an unplugged one.\n * - `no-speech` — the engine listened and heard nothing. Ordinary, and the most common ending of all: expect it\n * whenever a user presses the button and hesitates.\n * - `network` — the recognition service was unreachable. Chrome performs recognition SERVER-SIDE, so this is\n * routine offline, and no amount of retrying fixes it without a connection.\n * - `aborted` — the app stopped the session (`abort()`, an unmount). A decision, not a failure.\n * - `language-unsupported` — the service will not transcribe the requested `lang`.\n * - `unsupported` — no recognition API here: SSR, or Firefox, which does not implement it.\n * - `failed` — anything else, including an unreadable event.\n */\nexport type SpeechRecognitionStatus =\n 'denied' | 'unavailable' | 'no-speech' | 'network' | 'aborted' | 'language-unsupported' | 'unsupported' | 'failed';\n\n/** A recognition failure: the classified status plus a normalized `Error` for logs and telemetry. */\nexport interface SpeechRecognitionFailure {\n /** What went wrong, in terms a UI can branch on. */\n readonly status: SpeechRecognitionStatus;\n\n /** The normalized error, always present — carrying the raw platform code in its message. */\n readonly error: Error;\n}\n\n/** One transcription update — interim or final — as handed to a recognizer's callbacks. */\nexport interface SpeechTranscript {\n /** The recognized text. */\n readonly transcript: string;\n\n /** `true` once the engine has committed to this phrase; `false` while it is still revising it. */\n readonly isFinal: boolean;\n\n /** The engine's `0`–`1` confidence. Chrome reports `0` for interim results — a hint, never a gate. */\n readonly confidence: number;\n}\n\n/** Platform error code → status. Everything absent from this table lands on `failed` with the real code kept. */\nconst StatusByCode: Readonly<Record<string, SpeechRecognitionStatus>> = {\n 'not-allowed': 'denied',\n 'service-not-allowed': 'denied',\n 'audio-capture': 'unavailable',\n 'no-speech': 'no-speech',\n network: 'network',\n aborted: 'aborted',\n 'language-not-supported': 'language-unsupported',\n};\n\n/** Reads a member as a string, guarded — a throwing getter reads as absent rather than as a second failure. */\nfunction stringMember(value: unknown, key: string): string | undefined {\n if (value === null || (typeof value !== 'object' && typeof value !== 'function')) return undefined;\n\n try {\n const member: unknown = (value as Record<string, unknown>)[key];\n return typeof member === 'string' ? member : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Classifies a recognition `error` event into its {@link SpeechRecognitionFailure}.\n *\n * Matched on the `error` string rather than an `instanceof`, for the same reason `foundation/media` matches\n * `DOMException` names: the event type is non-standard, differs between Chrome and Safari, and a test double\n * throws a plain `{ error: 'no-speech' }`.\n *\n * Never throws. An unreadable event becomes `failed` carrying an `Error` that says so.\n *\n * @param event The `error` event the engine delivered.\n * @returns The classified failure.\n */\nexport function toSpeechRecognitionFailure(event: unknown): SpeechRecognitionFailure {\n const code = stringMember(event, 'error');\n const detail = stringMember(event, 'message');\n const status = code !== undefined && Object.hasOwn(StatusByCode, code) ? StatusByCode[code]! : 'failed';\n\n const message =\n detail === undefined || detail === ''\n ? `speech recognition error: ${code ?? 'unknown'}`\n : `speech recognition error: ${code ?? 'unknown'} — ${detail}`;\n\n // The raw event rides as `cause`; `foundation/errors`' chain walkers traverse it safely (cycle-guarded).\n return { status, error: new Error(message, { cause: event }) };\n}\n","import type { RecognizerStartResult } from './models/RecognizerStartResult';\n\nimport { toError } from '../errors';\nimport { ResultExtensions } from '../results';\n\nimport { speechRecognitionConstructor } from './SpeechSupport';\nimport {\n toSpeechRecognitionFailure,\n type SpeechRecognitionFailure,\n type SpeechTranscript,\n} from './SpeechRecognitionResult';\nimport type { SpeechRecognitionEventLike, SpeechRecognitionLike } from './SpeechRecognitionTypes';\nexport type { RecognizerStartFailure } from './models/RecognizerStartFailure';\nexport type { RecognizerStartResult } from './models/RecognizerStartResult';\n\n/** Configuration and callbacks for a recognizer. Applied once, at creation — see {@link createSpeechRecognizer}. */\nexport interface SpeechRecognizerOptions {\n /** BCP-47 tag to transcribe (`en-US`, `uz`). Same vocabulary as `foundation/i18n`. Defaults to the engine's. */\n readonly lang?: string;\n\n /** Keep listening past the first phrase. Defaults to `false`. Chrome still ends the session on long silence. */\n readonly continuous?: boolean;\n\n /** Emit revisable partial results while the user is still speaking. Defaults to `false`. */\n readonly interimResults?: boolean;\n\n /** How many alternatives each result carries. Defaults to the engine's (`1`). */\n readonly maxAlternatives?: number;\n\n /** Every update, interim and final — the one callback that sees the whole stream. A throw from it is swallowed. */\n readonly onResult?: (result: SpeechTranscript) => void;\n\n /** Committed phrases only. The callback most consumers want. A throw from it is swallowed. */\n readonly onFinal?: (transcript: string) => void;\n\n /** The current uncommitted text, joined across pending results. Requires `interimResults`. */\n readonly onInterim?: (transcript: string) => void;\n\n /** A classified failure. `no-speech` and `aborted` arrive here too — neither is worth a toast. */\n readonly onError?: (failure: SpeechRecognitionFailure) => void;\n\n /** The engine is now listening — later than the `start()` that asked for it, and after any permission prompt. */\n readonly onStart?: () => void;\n\n /** The session ended, for ANY reason: `stop`, `abort`, an error, or the engine's own silence timeout. */\n readonly onEnd?: () => void;\n}\n\n/** A wrapped recognition session. Every method is total — nothing throws, nothing needs a `try`. */\nexport interface SpeechRecognizer {\n /** Whether a real engine is behind this recognizer. `false` under SSR, in Firefox, and if construction failed. */\n readonly supported: boolean;\n\n /** Whether the engine is listening right now — `false` during the gap between `start()` and the `start` event. */\n readonly listening: boolean;\n\n /** Begins a session. Repeated calls succeed without restarting a session that is starting or listening. */\n readonly start: () => RecognizerStartResult;\n\n /** Ends the session, keeping results the engine has already recognized. A no-op when idle. */\n readonly stop: () => void;\n\n /** Ends the session immediately, discarding pending results. A no-op when idle. Use this on unmount. */\n readonly abort: () => void;\n}\n\n/** Hands a consumer's callback its argument, absorbing a throw so it cannot escape into the browser's dispatch. */\nfunction report<TArgument>(callback: ((argument: TArgument) => void) | undefined, argument: TArgument): void {\n if (callback === undefined) return;\n\n try {\n callback(argument);\n } catch {\n // The consumer's own handler failed. Nothing useful is left to do with that, and the session must continue.\n }\n}\n\n/** The recognizer handed back where no engine exists — every call answers, none of them reach anything. */\nfunction inertRecognizer(start: () => RecognizerStartResult): SpeechRecognizer {\n const noop = (): void => {\n // No session can exist, so there is nothing to stop or abort.\n };\n\n return { supported: false, listening: false, start, stop: noop, abort: noop };\n}\n\n/**\n * Creates a wrapped speech recognizer.\n *\n * ```ts\n * const recognizer = createSpeechRecognizer({\n * lang: 'en-US',\n * interimResults: true,\n * onFinal: (text) => append(text),\n * onError: (failure) => { if (failure.status === 'denied') showMicrophoneHelp(); },\n * });\n *\n * if (recognizer.supported) recognizer.start();\n * ```\n *\n * Options are applied ONCE, at creation: the platform reads `lang` / `continuous` / `interimResults` when a\n * session starts and offers no way to reconfigure a running one, so changing them means creating a new\n * recognizer. `useSpeechRecognition` does exactly that when its `lang` changes.\n *\n * Never throws. Always returns a usable object — check `supported`, or read the `start()` result.\n *\n * @param options Language, session shape, and callbacks.\n * @returns The recognizer. `supported: false` under SSR, in Firefox, and where the constructor exists but refuses.\n */\nexport function createSpeechRecognizer(options?: SpeechRecognizerOptions): SpeechRecognizer {\n const Recognition = speechRecognitionConstructor();\n if (Recognition === undefined) return inertRecognizer(() => ResultExtensions.fail({ status: 'unsupported' }));\n\n let instance: SpeechRecognitionLike;\n try {\n instance = new Recognition();\n } catch (cause) {\n // The constructor exists but refuses to instantiate (a policy-blocked iframe is the realistic case).\n // `supported` reports false because nothing can be started — but `start()` hands back the REAL error rather\n // than a soothing `unsupported`, which would send a developer hunting for a browser that already has the API.\n const error = toError(cause);\n return inertRecognizer(() => ResultExtensions.fail({ status: 'failed', error }));\n }\n\n try {\n if (options?.lang !== undefined) instance.lang = options.lang;\n instance.continuous = options?.continuous ?? false;\n instance.interimResults = options?.interimResults ?? false;\n if (options?.maxAlternatives !== undefined) instance.maxAlternatives = options.maxAlternatives;\n } catch {\n // A partial implementation refusing a setter keeps its own defaults, which still transcribe something.\n }\n\n let state: 'idle' | 'starting' | 'listening' = 'idle';\n\n /** Walks the results this event changed, emitting one update per result and one joined interim string. */\n const emitResults = (event: SpeechRecognitionEventLike): void => {\n try {\n const results = event.results;\n const length = typeof results?.length === 'number' ? results.length : 0;\n // `results` is CUMULATIVE across the session, so a walk from 0 would re-emit every phrase on every event.\n const first = Number.isInteger(event.resultIndex) ? Math.max(0, event.resultIndex) : 0;\n\n let interim = '';\n\n for (let index = first; index < length; index += 1) {\n const result = results[index];\n if (result === undefined) continue;\n\n // Alternative 0 is the engine's best guess; the rest exist only when `maxAlternatives` asked for them.\n const alternative = result[0];\n if (alternative === undefined) continue;\n\n const transcript = typeof alternative.transcript === 'string' ? alternative.transcript : '';\n const confidence = typeof alternative.confidence === 'number' ? alternative.confidence : 0;\n const isFinal = result.isFinal === true;\n\n report(options?.onResult, { transcript, isFinal, confidence });\n if (isFinal) report(options?.onFinal, transcript);\n else if (transcript !== '') interim = interim === '' ? transcript : `${interim} ${transcript}`;\n }\n\n if (interim !== '') report(options?.onInterim, interim);\n } catch {\n // A hostile or half-implemented event shape costs this one update, never the session.\n }\n };\n\n try {\n instance.onstart = (): void => {\n state = 'listening';\n report<void>(options?.onStart, undefined);\n };\n\n instance.onend = (): void => {\n state = 'idle';\n report<void>(options?.onEnd, undefined);\n };\n\n instance.onerror = (event): void => {\n // No state change here: every error is followed by `end`, which is the single place the session closes.\n report(options?.onError, toSpeechRecognitionFailure(event));\n };\n\n instance.onresult = emitResults;\n } catch {\n // An instance that refuses handler assignment can still be started; it just reports nothing.\n }\n\n return {\n supported: true,\n\n get listening(): boolean {\n return state === 'listening';\n },\n\n start: (): RecognizerStartResult => {\n // Pre-empts the native `InvalidStateError` — including during `starting`, the window a two-state flag misses.\n if (state !== 'idle') return ResultExtensions.ok(undefined);\n\n try {\n instance.start();\n state = 'starting';\n return ResultExtensions.ok(undefined);\n } catch (cause) {\n // The engine still considers a previous session open (an `abort` whose `end` has not arrived), or the\n // page has no microphone permission to hand over.\n state = 'idle';\n return ResultExtensions.fail({ status: 'failed', error: toError(cause) });\n }\n },\n\n stop: (): void => {\n if (state === 'idle') return;\n\n try {\n instance.stop();\n } catch {\n // Stopping something the engine already stopped is not a failure worth surfacing.\n }\n },\n\n abort: (): void => {\n if (state === 'idle') return;\n state = 'idle';\n\n try {\n instance.abort();\n } catch {\n // Same as `stop`. The local state is cleared first, so a refusing engine cannot strand this wrapper.\n }\n },\n };\n}\n","import { onMounted, onScopeDispose, shallowRef, toValue, watch, type MaybeRefOrGetter, type ShallowRef } from 'vue';\n\nimport { useLocale } from '../../i18n';\n\nimport {\n createSpeechRecognizer,\n type RecognizerStartResult,\n type SpeechRecognizer,\n type SpeechRecognizerOptions,\n} from '../CreateSpeechRecognizer';\nimport type { SpeechRecognitionFailure } from '../SpeechRecognitionResult';\nimport { canRecognizeSpeech } from '../SpeechSupport';\n\n/** Options for {@link useSpeechRecognition} — the recognizer's own, with the composable layering state on top. */\nexport type UseSpeechRecognitionOptions = SpeechRecognizerOptions;\n\n/** What {@link useSpeechRecognition} returns. */\nexport interface SpeechRecognitionControls {\n /** Whether this browser can transcribe at all. `false` under SSR and in Firefox — gate the button on it. */\n readonly supported: Readonly<ShallowRef<boolean>>;\n\n /** Whether the engine is listening. `false` in the gap between `start()` and the microphone actually opening. */\n readonly listening: Readonly<ShallowRef<boolean>>;\n\n /** Every committed phrase of the session, space-joined. Survives an ended session; cleared by `reset`. */\n readonly transcript: Readonly<ShallowRef<string>>;\n\n /** The current uncommitted text. Requires `interimResults`; cleared when the phrase commits or the session ends. */\n readonly interimTranscript: Readonly<ShallowRef<string>>;\n\n /** The last classified failure, or `null`. Cleared when a new session starts. `no-speech` lands here too. */\n readonly error: Readonly<ShallowRef<SpeechRecognitionFailure | null>>;\n\n /** Begins a session. Repeated calls succeed without restarting a session that is starting or listening. */\n readonly start: () => RecognizerStartResult;\n\n /** Ends the session, keeping what the engine already recognized. */\n readonly stop: () => void;\n\n /** Ends the session immediately, discarding pending results. */\n readonly abort: () => void;\n\n /** Clears `transcript`, `interimTranscript`, and `error`. Does not touch the session. */\n readonly reset: () => void;\n}\n\n/** Appends a committed phrase, space-joined, skipping the empty results an engine occasionally commits. */\nfunction appendPhrase(previous: string, phrase: string): string {\n const next = phrase.trim();\n if (next === '') return previous;\n return previous === '' ? next : `${previous} ${next}`;\n}\n\n/**\n * Transcribes speech into accumulating reactive state, aborting the session when the scope is disposed.\n *\n * ```vue\n * const dictation = useSpeechRecognition({ interimResults: true, continuous: true });\n * <button :disabled=\"!dictation.supported.value\" @click=\"dictation.start()\">\n * {{ dictation.listening.value ? 'Listening…' : 'Dictate' }}\n * </button>\n * <p>{{ dictation.transcript.value }} <em>{{ dictation.interimTranscript.value }}</em></p>\n * ```\n *\n * `lang` defaults to the active `LocaleProvider` locale, so a localized app transcribes the language its user is\n * reading. Nothing throws.\n *\n * @param options Session shape and pass-through callbacks — each is called in addition to the state updates.\n * A ref or getter is read at call time, so a reactive options source is followed.\n * @returns The transcript state plus the four controls.\n */\nexport function useSpeechRecognition(\n options?: MaybeRefOrGetter<UseSpeechRecognitionOptions | undefined>,\n): SpeechRecognitionControls {\n const { locale } = useLocale();\n\n const transcript = shallowRef('');\n const interimTranscript = shallowRef('');\n const listening = shallowRef(false);\n const error = shallowRef<SpeechRecognitionFailure | null>(null);\n\n // `false` until mount, exactly as the original's SSR snapshot: `canRecognizeSpeech` reads `window`, and a\n // server that claimed support would render a button the client immediately has to disable. Nothing subscribes\n // because a browser cannot gain a recognition engine mid-session.\n const supported = shallowRef(false);\n\n /** Guards state writes after teardown — the pass-through callbacks still fire, the reactive state does not. */\n let disposed = false;\n let generation = 0;\n let recognizer: SpeechRecognizer | null = null;\n\n function getRecognizer(): SpeechRecognizer {\n if (recognizer !== null) return recognizer;\n\n const operation = ++generation;\n const current = (): boolean => !disposed && operation === generation;\n const created = createSpeechRecognizer({\n lang: toValue(options)?.lang ?? locale.value,\n continuous: toValue(options)?.continuous,\n // Interim results default ON here, unlike the bare recognizer: a composable exposing `interimTranscript`\n // that is permanently empty is a worse default than one that costs a few extra updates.\n interimResults: toValue(options)?.interimResults ?? true,\n maxAlternatives: toValue(options)?.maxAlternatives,\n\n onStart: (): void => {\n if (!current()) return;\n listening.value = true;\n error.value = null;\n toValue(options)?.onStart?.();\n },\n\n onEnd: (): void => {\n if (!current()) return;\n listening.value = false;\n interimTranscript.value = '';\n toValue(options)?.onEnd?.();\n },\n\n onError: (failure): void => {\n if (!current()) return;\n error.value = failure;\n toValue(options)?.onError?.(failure);\n },\n\n onResult: (result): void => {\n if (!current()) return;\n if (result.isFinal) {\n transcript.value = appendPhrase(transcript.value, result.transcript);\n interimTranscript.value = '';\n } else {\n interimTranscript.value = result.transcript;\n }\n toValue(options)?.onResult?.(result);\n },\n\n onFinal: (text): void => {\n if (!current()) return;\n toValue(options)?.onFinal?.(text);\n },\n\n onInterim: (text): void => {\n if (!current()) return;\n toValue(options)?.onInterim?.(text);\n },\n });\n\n recognizer = created;\n return created;\n }\n\n const start = (): RecognizerStartResult =>\n disposed ? { ok: false, failure: { status: 'unsupported' } } : getRecognizer().start();\n\n // `stop` / `abort` read the field instead of the getter: nothing can be running if nothing was ever built, and\n // constructing a recognizer in order to stop it would open the very session being cancelled.\n const stop = (): void => {\n recognizer?.stop();\n };\n\n const abort = (): void => {\n recognizer?.abort();\n };\n\n const reset = (): void => {\n transcript.value = '';\n interimTranscript.value = '';\n error.value = null;\n };\n\n onMounted(() => {\n supported.value = canRecognizeSpeech();\n });\n\n // Config is applied at construction, so a change means a new instance. Aborting first is deliberate: a session\n // already running under the old language cannot be re-tagged mid-sentence. Non-immediate, so nothing is\n // aborted on the server — there is nothing to abort there anyway.\n watch(\n [\n () => toValue(options)?.lang ?? locale.value,\n () => toValue(options)?.continuous ?? false,\n () => toValue(options)?.interimResults ?? true,\n ],\n () => {\n generation++;\n listening.value = false;\n interimTranscript.value = '';\n recognizer?.abort();\n recognizer = null;\n },\n );\n\n onScopeDispose(() => {\n disposed = true;\n // `abort`, never `stop`: nothing is left to receive a final transcript, and the microphone must close now.\n recognizer?.abort();\n recognizer = null;\n });\n\n return { supported, listening, transcript, interimTranscript, error, start, stop, abort, reset };\n}\n","/** Closed failure vocabulary for SpeechFailure. */\nexport const SpeechFailureCode = {\n Cancelled: 'cancelled',\n Unsupported: 'unsupported',\n Failed: 'failed',\n} as const;\n\nexport type SpeechFailureCode = (typeof SpeechFailureCode)[keyof typeof SpeechFailureCode];\n","/** Closed failure vocabulary for RecognizerStartFailure. */\nexport const RecognizerStartFailureCode = {\n Unsupported: 'unsupported',\n Failed: 'failed',\n} as const;\n\nexport type RecognizerStartFailureCode = (typeof RecognizerStartFailureCode)[keyof typeof RecognizerStartFailureCode];\n"],"names":["NoVoices","inFlight","speak","speakText"],"mappings":";;;;AAyBO,SAAS,oBACd,QAC6B;AAC7B,MAAI;AACF,UAAM,YAAsB,WAA6C;AACzE,QAAI,OAAO,cAAc,YAAY,cAAc,KAAM,QAAO;AAEhE,UAAM,MAAM;AACZ,QAAI,OAAO,IAAI,MAAM,MAAM,WAAY,QAAO;AAC9C,WAAO;AAAA,EACT,QAAQ;AAGN,WAAO;AAAA,EACT;AACF;AAUO,SAAS,uBAAyD;AACvE,MAAI;AACF,UAAM,YAAsB,WAAsD;AAClF,WAAO,OAAO,cAAc,aAAc,YAAqC;AAAA,EACjF,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAUO,SAAS,+BAAyE;AACvF,MAAI;AAGF,UAAM,QAAQ;AAKd,UAAM,YAAqB,MAAM,qBAAqB,MAAM;AAC5D,WAAO,OAAO,cAAc,aAAc,YAA6C;AAAA,EACzF,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AASO,SAAS,WAAoB;AAClC,SAAO,oBAAoB,OAAO,MAAM,UAAa,2BAA2B;AAClF;AAaO,SAAS,qBAA8B;AAC5C,SAAO,mCAAmC;AAC5C;AAUO,SAAS,mBAAkC;AAChD,SAAO,EAAE,WAAW,SAAA,GAAY,aAAa,qBAAmB;AAClE;AC/GA,MAAM,oBAAyC,oBAAI,IAAI,CAAC,YAAY,aAAa,aAAa,CAAC;AAM/F,SAAS,YAAY,OAAoC;AACvD,MAAI,UAAU,QAAS,OAAO,UAAU,YAAY,OAAO,UAAU,WAAa,QAAO;AAEzF,MAAI;AACF,UAAM,OAAiB,MAAkC,OAAO;AAChE,WAAO,OAAO,SAAS,WAAW,OAAO;AAAA,EAC3C,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAYO,SAAS,eAAe,OAAmC;AAChE,QAAM,OAAO,YAAY,KAAK;AAC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AC1B,kBAAY,MAAA;AACZ,mBAAa;AAAA,IACf;AAAA,EAAA;AAGF,iBAAe,MAAM;AACnB,eAAW;AAEX,gBAAY,MAAA;AACZ,iBAAa;AAAA,EACf,CAAC;AAED,SAAO,EAAE,WAAW,WAAW,YAAY,mBAAmB,OAAO,OAAO,MAAM,OAAO,MAAA;AAC3F;ACtMO,MAAM,oBAAoB;AAAA,EAC/B,WAAW;AAAA,EACX,aAAa;AAAA,EACb,QAAQ;AACV;ACJO,MAAM,6BAA6B;AAAA,EACxC,aAAa;AAAA,EACb,QAAQ;AACV;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RecognizerStartFailureCode } from '../enums/RecognizerStartFailureCode';
|
|
2
|
+
/** Expected reasons the operation could not produce its requested value. */
|
|
3
|
+
export type RecognizerStartFailure = {
|
|
4
|
+
readonly status: typeof RecognizerStartFailureCode.Unsupported;
|
|
5
|
+
} | {
|
|
6
|
+
readonly status: typeof RecognizerStartFailureCode.Failed;
|
|
7
|
+
readonly error: Error;
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SpeechFailureCode } from '../enums/SpeechFailureCode';
|
|
2
|
+
/** Expected reasons the operation could not produce its requested value. */
|
|
3
|
+
export type SpeechFailure = {
|
|
4
|
+
readonly status: typeof SpeechFailureCode.Cancelled;
|
|
5
|
+
} | {
|
|
6
|
+
readonly status: typeof SpeechFailureCode.Unsupported;
|
|
7
|
+
} | {
|
|
8
|
+
readonly status: typeof SpeechFailureCode.Failed;
|
|
9
|
+
readonly error: Error;
|
|
10
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MaybeRefOrGetter, WritableComputedRef } from 'vue';
|
|
2
|
+
interface UseControlledOptions<T> {
|
|
3
|
+
controlled: MaybeRefOrGetter<T | undefined>;
|
|
4
|
+
default: MaybeRefOrGetter<T>;
|
|
5
|
+
onChange?: (value: T) => void;
|
|
6
|
+
}
|
|
7
|
+
/** The controlled/uncontrolled handle — a writable value plus the explicit setter it delegates to. */
|
|
8
|
+
export interface ControlledValue<T> {
|
|
9
|
+
/**
|
|
10
|
+
* The resolved value. Writable: `value.value = next` runs the same path as `setValue(next)`,
|
|
11
|
+
* so it drops straight into `v-model`. A writable computed rather than a plain ref because the
|
|
12
|
+
* controlled branch must never keep its own copy of the value.
|
|
13
|
+
*/
|
|
14
|
+
readonly value: WritableComputedRef<T>;
|
|
15
|
+
/** Sets the next value — updates internal state when uncontrolled, and emits `onChange` only for a distinct value. */
|
|
16
|
+
readonly setValue: (value: T) => void;
|
|
17
|
+
/** Fixed ownership chosen at setup. */
|
|
18
|
+
readonly isControlled: boolean;
|
|
19
|
+
/** Requests the original default through the same ownership path as user edits. */
|
|
20
|
+
readonly reset: () => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Standard controlled/uncontrolled pattern.
|
|
24
|
+
*
|
|
25
|
+
* - If `controlled` initially resolves to a defined value, the component is controlled — internal state is
|
|
26
|
+
* ignored, `setValue` only fires `onChange`.
|
|
27
|
+
* - Otherwise the component owns its state, `setValue` updates it, and `onChange`
|
|
28
|
+
* still fires for consumers that want to observe changes.
|
|
29
|
+
*
|
|
30
|
+
* Pass `controlled` as a getter (`() => props.value`) so the controlled branch tracks the prop.
|
|
31
|
+
* `default` is read once, at setup — it seeds the uncontrolled state, exactly as the original's
|
|
32
|
+
* `useState(defaultValue)` did.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useControlled<T>({ controlled, default: defaultValue, onChange, }: UseControlledOptions<T>): ControlledValue<T>;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MaybeRefOrGetter, Ref } from 'vue';
|
|
2
|
+
export interface DisclosureControls {
|
|
3
|
+
/** The open flag. Writable — `isOpen.value = true` is equivalent to `open()`. */
|
|
4
|
+
isOpen: Ref<boolean>;
|
|
5
|
+
open: () => void;
|
|
6
|
+
close: () => void;
|
|
7
|
+
toggle: () => void;
|
|
8
|
+
setOpen: (next: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Minimal open/close state. The standard backbone for Modal, Drawer, Popover,
|
|
12
|
+
* Menu, Accordion, etc. Use `useControlled` underneath when the consumer may
|
|
13
|
+
* also pass a controlled `open` prop.
|
|
14
|
+
*
|
|
15
|
+
* `initial` is read once, at setup — pass a getter only if the source is not
|
|
16
|
+
* yet resolved at call time; later changes to it do not reopen the disclosure.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDisclosure(initial?: MaybeRefOrGetter<boolean>): DisclosureControls;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StorageBroker } from './StorageBroker';
|
|
2
|
+
/**
|
|
3
|
+
* Wraps `inner` so every key is transparently prefixed with `namespace` (joined by `:`). Reads, writes, and
|
|
4
|
+
* removes all address the namespaced key, so two brokers with distinct namespaces over the same backing store
|
|
5
|
+
* never observe each other's values. Delegates JSON handling and failure-tolerance to `inner` unchanged.
|
|
6
|
+
*/
|
|
7
|
+
export declare function namespacedBroker(inner: StorageBroker, namespace: string): StorageBroker;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Defines a JSON key/value persistence seam the storage hooks read and write through. */
|
|
2
|
+
export interface StorageBroker {
|
|
3
|
+
/** Reads and parses the value stored under `key`, or null when absent or unreadable. */
|
|
4
|
+
read<T>(key: string): T | null;
|
|
5
|
+
/** Serializes and writes `value`; reports false when storage or serialization is unavailable. */
|
|
6
|
+
write<T>(key: string, value: T): boolean;
|
|
7
|
+
/** Removes any value stored under `key`; reports false when storage is unavailable. */
|
|
8
|
+
remove(key: string): boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The production broker — persists through the browser's `localStorage` as JSON, SSR-safe and failure-tolerant.
|
|
12
|
+
* A read that is absent, malformed, or blocked returns null; a write that exceeds quota or fails to serialize is
|
|
13
|
+
* swallowed. Never throws, so a caller never has to guard the storage call.
|
|
14
|
+
*/
|
|
15
|
+
export declare const localStorageStorageBroker: StorageBroker;
|
|
16
|
+
/** Builds an isolated in-memory `StorageBroker` backed by a `Map` — the test double: no cross-tab sync, no DOM. */
|
|
17
|
+
export declare function memoryStorageBroker(): StorageBroker;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { StorageBroker } from './StorageBroker';
|
|
2
|
+
/** Upgrades a value from one schema version to the next. Receives the prior shape as `unknown`; returns the next. */
|
|
3
|
+
export type Migration = (previous: unknown) => unknown;
|
|
4
|
+
/** A map from *source* version to the migration that upgrades it to the following version (`n` upgrades `n`→`n+1`). */
|
|
5
|
+
export type MigrationMap = Readonly<Record<number, Migration>>;
|
|
6
|
+
/** Configures a versioned store. */
|
|
7
|
+
export interface VersionedStoreOptions<T> {
|
|
8
|
+
/** The storage key the envelope is persisted under. */
|
|
9
|
+
readonly key: string;
|
|
10
|
+
/** The current schema version (a positive integer). A stored value below this is migrated up on read. */
|
|
11
|
+
readonly version: number;
|
|
12
|
+
/** The value returned when nothing is stored or the stored value cannot be recovered. */
|
|
13
|
+
readonly initial: T;
|
|
14
|
+
/** Migrations keyed by source version; `migrations[n]` upgrades a v`n` value to v`n+1`. */
|
|
15
|
+
readonly migrations?: MigrationMap;
|
|
16
|
+
/** The backing persistence seam; defaults to `localStorageStorageBroker`. */
|
|
17
|
+
readonly broker?: StorageBroker;
|
|
18
|
+
}
|
|
19
|
+
/** A versioned view over a storage key — hydrate-with-migration on read, envelope-stamp on write. */
|
|
20
|
+
export interface VersionedStore<T> {
|
|
21
|
+
/** The storage key this store owns. */
|
|
22
|
+
readonly key: string;
|
|
23
|
+
/** The current schema version. */
|
|
24
|
+
readonly version: number;
|
|
25
|
+
/** Reads and, if needed, migrates the stored value; returns `initial` on absence or any unrecoverable state. */
|
|
26
|
+
read(): T;
|
|
27
|
+
/** Writes `value` stamped with the current version. */
|
|
28
|
+
write(value: T): void;
|
|
29
|
+
/** Removes the stored value. */
|
|
30
|
+
clear(): void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Builds a {@link VersionedStore} over `key`. On `read`, a stored value is interpreted as:
|
|
34
|
+
* - **current version** → returned as-is;
|
|
35
|
+
* - **older version** → each `migrations[n]` is applied in turn from the stored version up to `version`, the
|
|
36
|
+
* upgraded value is written back, and returned. A gap in the chain (a missing `migrations[n]`) yields `initial`;
|
|
37
|
+
* - **newer version** (a rollback to older code) → `initial`, leaving the forward-written value untouched;
|
|
38
|
+
* - **legacy bare value** (no envelope) → treated as version `0` and migrated the same way.
|
|
39
|
+
*
|
|
40
|
+
* Any thrown error inside migration or the broker degrades to `initial`, mirroring the broker's never-throw contract.
|
|
41
|
+
*/
|
|
42
|
+
export declare function createVersionedStore<T>(options: VersionedStoreOptions<T>): VersionedStore<T>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { StorageBroker } from '../../StorageBroker';
|
|
2
|
+
/** Persisted envelope zustand writes — store state plus its own persist version. Mirrors `zustand/middleware`. */
|
|
3
|
+
export interface StorageValue<S> {
|
|
4
|
+
/** The persisted store state. */
|
|
5
|
+
readonly state: S;
|
|
6
|
+
/** zustand's persist schema version (owned by the store's `persist` options), if set. */
|
|
7
|
+
readonly version?: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The post-JSON storage contract zustand's `persist` reads and writes through (mirror of zustand v5's
|
|
11
|
+
* `PersistStorage<S>`). Values are already-parsed `StorageValue` objects — no string encoding here, since the
|
|
12
|
+
* backing `StorageBroker` owns JSON serialization.
|
|
13
|
+
*/
|
|
14
|
+
export interface PersistStorage<S> {
|
|
15
|
+
/** Reads the persisted envelope for `name`, or null when absent or unreadable. */
|
|
16
|
+
getItem(name: string): StorageValue<S> | null;
|
|
17
|
+
/** Persists `value` under `name`. */
|
|
18
|
+
setItem(name: string, value: StorageValue<S>): void;
|
|
19
|
+
/** Removes any persisted value under `name`. */
|
|
20
|
+
removeItem(name: string): void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Adapts `broker` into a zustand `PersistStorage<S>`. Because the broker already serializes to and from JSON,
|
|
24
|
+
* the returned storage hands zustand the parsed `StorageValue` directly (no `createJSONStorage` wrapper needed).
|
|
25
|
+
* It inherits the broker's failure-tolerance: an absent, malformed, or blocked read yields null, which zustand
|
|
26
|
+
* treats as "no persisted state" and falls back to the store's initial state.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* import { create } from 'zustand';
|
|
30
|
+
* import { persist } from 'zustand/middleware';
|
|
31
|
+
* import { localStorageStorageBroker } from '@wow-two-beta/fe/foundation/storage';
|
|
32
|
+
* import { brokerPersistStorage } from '@wow-two-beta/fe/foundation/storage/zustand';
|
|
33
|
+
*
|
|
34
|
+
* const useStore = create(persist(init, { name: 'app', storage: brokerPersistStorage(localStorageStorageBroker) }));
|
|
35
|
+
*/
|
|
36
|
+
export declare function brokerPersistStorage<S>(broker: StorageBroker): PersistStorage<S>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type StorageValue, type PersistStorage, brokerPersistStorage } from './ZustandPersist';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function brokerPersistStorage(broker) {
|
|
2
|
+
return {
|
|
3
|
+
getItem: (name) => broker.read(name),
|
|
4
|
+
setItem: (name, value) => broker.write(name, value),
|
|
5
|
+
removeItem: (name) => broker.remove(name)
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
brokerPersistStorage
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/foundation/storage/adapters/zustand/ZustandPersist.ts"],"sourcesContent":["// zustand-persist adapter. Bridges a `StorageBroker` into the storage seam zustand's `persist` middleware\n// expects, so a zustand store persists through the SAME swappable broker as the rest of the SDK: the in-memory\n// double in tests, a `namespacedBroker` for isolation, or the SSR-safe `localStorage` broker in production — with\n// no store change. Versioning/migration stays with zustand's own `version`/`migrate` persist options (this\n// adapter is the *storage* seam, not a second migration system — use `createVersionedStore` for plain values).\n//\n// zustand is NOT a dependency here: the `PersistStorage`/`StorageValue` shapes below are a structural mirror of\n// zustand v5's (`zustand/middleware`). The object returned by `brokerPersistStorage` is structurally assignable\n// to zustand's real `PersistStorage<S>` on the consumer side, so the consumer simply brings zustand and passes\n// this in: `persist(init, { name, storage: brokerPersistStorage(broker) })`. Keep these types in sync with zustand v5.\n\nimport type { StorageBroker } from '../../StorageBroker';\n\n/** Persisted envelope zustand writes — store state plus its own persist version. Mirrors `zustand/middleware`. */\nexport interface StorageValue<S> {\n /** The persisted store state. */\n readonly state: S;\n\n /** zustand's persist schema version (owned by the store's `persist` options), if set. */\n readonly version?: number;\n}\n\n/**\n * The post-JSON storage contract zustand's `persist` reads and writes through (mirror of zustand v5's\n * `PersistStorage<S>`). Values are already-parsed `StorageValue` objects — no string encoding here, since the\n * backing `StorageBroker` owns JSON serialization.\n */\nexport interface PersistStorage<S> {\n /** Reads the persisted envelope for `name`, or null when absent or unreadable. */\n getItem(name: string): StorageValue<S> | null;\n\n /** Persists `value` under `name`. */\n setItem(name: string, value: StorageValue<S>): void;\n\n /** Removes any persisted value under `name`. */\n removeItem(name: string): void;\n}\n\n/**\n * Adapts `broker` into a zustand `PersistStorage<S>`. Because the broker already serializes to and from JSON,\n * the returned storage hands zustand the parsed `StorageValue` directly (no `createJSONStorage` wrapper needed).\n * It inherits the broker's failure-tolerance: an absent, malformed, or blocked read yields null, which zustand\n * treats as \"no persisted state\" and falls back to the store's initial state.\n *\n * @example\n * import { create } from 'zustand';\n * import { persist } from 'zustand/middleware';\n * import { localStorageStorageBroker } from '@wow-two-beta/fe/foundation/storage';\n * import { brokerPersistStorage } from '@wow-two-beta/fe/foundation/storage/zustand';\n *\n * const useStore = create(persist(init, { name: 'app', storage: brokerPersistStorage(localStorageStorageBroker) }));\n */\nexport function brokerPersistStorage<S>(broker: StorageBroker): PersistStorage<S> {\n return {\n getItem: (name) => broker.read<StorageValue<S>>(name),\n setItem: (name, value) => broker.write(name, value),\n removeItem: (name) => broker.remove(name),\n };\n}\n"],"names":[],"mappings":"AAoDO,SAAS,qBAAwB,QAA0C;AAChF,SAAO;AAAA,IACL,SAAS,CAAC,SAAS,OAAO,KAAsB,IAAI;AAAA,IACpD,SAAS,CAAC,MAAM,UAAU,OAAO,MAAM,MAAM,KAAK;AAAA,IAClD,YAAY,CAAC,SAAS,OAAO,OAAO,IAAI;AAAA,EAAA;AAE5C;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { MaybeRefOrGetter, ShallowRef } from 'vue';
|
|
2
|
+
import { AppError, Result } from '../../results';
|
|
3
|
+
/** The lifecycle of the latest autosave intent, including a queued trailing write. */
|
|
4
|
+
export type AutosaveStatus = 'idle' | 'pending' | 'saving' | 'saved' | 'error';
|
|
5
|
+
/** Tunes autosave timing, gating and failure reporting. */
|
|
6
|
+
export interface UseAutosaveOptions {
|
|
7
|
+
/** The quiet period in milliseconds. Defaults to 800; read when an edit is scheduled. */
|
|
8
|
+
readonly delayMs?: MaybeRefOrGetter<number>;
|
|
9
|
+
/** Disabling drops pending work and invalidates completion state; reenabling schedules the current value. */
|
|
10
|
+
readonly enabled?: MaybeRefOrGetter<boolean>;
|
|
11
|
+
/** Reports a current write's explicit failure or exception while the scope remains enabled and live. */
|
|
12
|
+
readonly onError?: (error: unknown) => void | PromiseLike<void>;
|
|
13
|
+
}
|
|
14
|
+
/** The current autosave intent and explicit queue controls. */
|
|
15
|
+
export interface AutosaveControls {
|
|
16
|
+
readonly status: Readonly<ShallowRef<AutosaveStatus>>;
|
|
17
|
+
/** The latest current-intent failure or exception; cleared by a new edit or cancellation. */
|
|
18
|
+
readonly error: Readonly<ShallowRef<unknown | null>>;
|
|
19
|
+
/** Date.now() when a still-current write last succeeded; obsolete completions do not advance it. */
|
|
20
|
+
readonly lastSavedAt: Readonly<ShallowRef<number | null>>;
|
|
21
|
+
/**
|
|
22
|
+
* Makes pending work ready immediately, still waiting for any active sink. Without pending work this is a no-op.
|
|
23
|
+
*/
|
|
24
|
+
flush(): void;
|
|
25
|
+
/** Drops queued work and invalidates active completion state. An already-started sink cannot be undone. */
|
|
26
|
+
cancel(): void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Watches edits deeply and serializes saves, retaining only the latest pending value behind an active write.
|
|
30
|
+
* A new edit immediately supersedes the old completion status, even while its debounce is still pending.
|
|
31
|
+
* The sink receives the latest value when its turn starts. For mutable drafts, a sink that needs an immutable
|
|
32
|
+
* payload must snapshot before its first await; autosave does not impose a cloning policy on domain values.
|
|
33
|
+
*
|
|
34
|
+
* A void sink acknowledges completion by returning normally, preserving synchronous storage adapters.
|
|
35
|
+
* A Result sink acknowledges success explicitly or supplies an AppError. Neither means durable persistence
|
|
36
|
+
* beyond the sink's own contract. Thrown/rejected exceptions remain the original error in the handle/onError;
|
|
37
|
+
* they are not converted into an expected Result failure. Error-observer failures are reported diagnostically.
|
|
38
|
+
*
|
|
39
|
+
* The initial value is not saved. Disable/cancel discard queued writes and invalidate late completion state.
|
|
40
|
+
* Disposal cancels scheduling and starts no new writes; the rejection of an already-started sink is observed
|
|
41
|
+
* without updating disposed state or invoking onError. Flush readies queued work but does not await durability;
|
|
42
|
+
* disposal still cancels a write queued behind an active sink.
|
|
43
|
+
*/
|
|
44
|
+
export declare function useAutosave<T>(value: MaybeRefOrGetter<T>, save: (value: T) => void | Result<void, AppError> | PromiseLike<void | Result<void, AppError>>, options?: UseAutosaveOptions): AutosaveControls;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { MaybeRefOrGetter, WritableComputedRef } from 'vue';
|
|
2
|
+
import { StorageBroker } from '../StorageBroker';
|
|
3
|
+
/** Defines the options that tune where and how `usePersistentState` persists. */
|
|
4
|
+
export interface PersistentStateOptions {
|
|
5
|
+
/** The persistence seam to read and write through; defaults to `localStorageStorageBroker`. */
|
|
6
|
+
readonly broker?: StorageBroker;
|
|
7
|
+
}
|
|
8
|
+
/** A setter that accepts a next value or an updater fn, mirroring the original's `useState` dispatch. */
|
|
9
|
+
export type SetPersistentState<T> = (next: T | ((previous: T) => T)) => void;
|
|
10
|
+
/** The persistent-state handle — a writable value plus the updater-accepting setter it delegates to. */
|
|
11
|
+
export interface PersistentState<T> {
|
|
12
|
+
/**
|
|
13
|
+
* The live value. Writable: `value.value = next` runs the same write-through path as `setValue(next)`.
|
|
14
|
+
* A writable computed rather than a plain ref, so persistence is driven by the assignment itself —
|
|
15
|
+
* mutating a nested field in place does not persist, exactly as the original required a setter call.
|
|
16
|
+
*/
|
|
17
|
+
readonly value: WritableComputedRef<T>;
|
|
18
|
+
/** Sets the next value — or derives it from the previous one — and writes it through the broker. */
|
|
19
|
+
readonly setValue: SetPersistentState<T>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Manages a piece of state mirrored into a `StorageBroker` under `key`. Hydrates from the broker on
|
|
23
|
+
* mount (SSR-safe: the first render always uses `initial`, then a mount hook adopts any persisted value, so
|
|
24
|
+
* server and client markup match), writes through on every set, and — when backed by `localStorage` —
|
|
25
|
+
* adopts writes from other tabs via the window `storage` event.
|
|
26
|
+
*
|
|
27
|
+
* Returns `{ value, setValue }` rather than a tuple: `value` is writable (`state.value = next`), and
|
|
28
|
+
* `setValue` is kept because it additionally accepts an updater fn. `key` may be a ref or getter — changing
|
|
29
|
+
* it re-hydrates from the new slot.
|
|
30
|
+
*/
|
|
31
|
+
export declare function usePersistentState<T>(key: MaybeRefOrGetter<string>, initial: T, options?: PersistentStateOptions): PersistentState<T>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { StorageBroker } from '../StorageBroker';
|
|
3
|
+
/** Defines the options that configure a recent-items list — identity, cap, and the persistence seam. */
|
|
4
|
+
export interface RecentItemsOptions<T> {
|
|
5
|
+
/** Derives a stable de-duplication key for an item; re-pushing a matching item moves it to the front. */
|
|
6
|
+
readonly identify: (item: T) => string;
|
|
7
|
+
/** The maximum number of items retained, most-recent-first; defaults to 24. */
|
|
8
|
+
readonly max?: MaybeRefOrGetter<number>;
|
|
9
|
+
/** The persistence seam the list stores through. Defaults to `localStorageStorageBroker` via `usePersistentState`. */
|
|
10
|
+
readonly broker?: StorageBroker;
|
|
11
|
+
}
|
|
12
|
+
/** Represents a most-recently-used list plus the operations that mutate it. */
|
|
13
|
+
export interface RecentItems<T> {
|
|
14
|
+
/** The retained items, most-recent-first. */
|
|
15
|
+
readonly recents: ComputedRef<ReadonlyArray<T>>;
|
|
16
|
+
/** Records `item` as the most recent — de-duplicated by identity and capped at `max`. */
|
|
17
|
+
readonly push: (item: T) => void;
|
|
18
|
+
/** Empties the list. */
|
|
19
|
+
readonly clear: () => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Prepends `item` to `items` as the most recent, de-duplicating by `identify` (an existing match is removed so
|
|
23
|
+
* the item resurfaces at the front) and capping the result to `max`. Pure — the reducer the composable writes
|
|
24
|
+
* through its adapter.
|
|
25
|
+
*/
|
|
26
|
+
export declare function prependRecent<T>(items: ReadonlyArray<T>, item: T, identify: (item: T) => string, max: number): ReadonlyArray<T>;
|
|
27
|
+
/**
|
|
28
|
+
* Manages a persisted most-recently-used list under `key`, layered on `usePersistentState`. `push` records an
|
|
29
|
+
* item at the front, de-duplicated by `identify` and capped at `max` (default 24); `clear` empties it. The list
|
|
30
|
+
* inherits the underlying composable's hydrate-on-mount, write-through, and cross-tab sync.
|
|
31
|
+
*
|
|
32
|
+
* `recents` is a read-only computed — mutate the list through `push` / `clear`, never in place.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useRecentItems<T>(key: MaybeRefOrGetter<string>, options: RecentItemsOptions<T>): RecentItems<T>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { type StorageBroker, localStorageStorageBroker, memoryStorageBroker } from './StorageBroker';
|
|
2
|
+
export { namespacedBroker } from './NamespacedBroker';
|
|
3
|
+
export { type Migration, type MigrationMap, type VersionedStore, type VersionedStoreOptions, createVersionedStore, } from './VersionedStore';
|
|
4
|
+
export * from './hooks/UseAutosave';
|
|
5
|
+
export * from './hooks/UsePersistentState';
|
|
6
|
+
export * from './hooks/UseRecentItems';
|