@wow-two-beta/ui-vue 0.0.2
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 +113 -0
- 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 +196 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/auth/AuthBridge.d.ts +30 -0
- package/dist/auth/AuthContext.d.ts +41 -0
- package/dist/auth/AuthProvider.vue.d.ts +33 -0
- package/dist/auth/AuthSession.d.ts +41 -0
- package/dist/auth/BearerStrategy.d.ts +36 -0
- package/dist/auth/CookieStrategy.d.ts +29 -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 +275 -0
- package/dist/auth/index.js.map +1 -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-CDTltiIl.js +46 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js.map +1 -0
- package/dist/chunks/ApiError-l0YdcqqV.js +15 -0
- package/dist/chunks/ApiError-l0YdcqqV.js.map +1 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js +996 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js.map +1 -0
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js +78 -0
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js.map +1 -0
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js +1094 -0
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js.map +1 -0
- package/dist/chunks/Bytes-7Jxs6Bq6.js +21 -0
- package/dist/chunks/Bytes-7Jxs6Bq6.js.map +1 -0
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js +12748 -0
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js.map +1 -0
- package/dist/chunks/Chord-D9Z-j3O0.js +139 -0
- package/dist/chunks/Chord-D9Z-j3O0.js.map +1 -0
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js +21 -0
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js.map +1 -0
- package/dist/chunks/Compare-Du6p-OX1.js +18 -0
- package/dist/chunks/Compare-Du6p-OX1.js.map +1 -0
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js +229 -0
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.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-BzLJG57F.js +161 -0
- package/dist/chunks/CssExtensions-BzLJG57F.js.map +1 -0
- package/dist/chunks/DateExtensions-QahSUlRy.js +282 -0
- package/dist/chunks/DateExtensions-QahSUlRy.js.map +1 -0
- package/dist/chunks/DeepEqual-7lBKnkNS.js +29 -0
- package/dist/chunks/DeepEqual-7lBKnkNS.js.map +1 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js +214 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js.map +1 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js +207 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js.map +1 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js +1923 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js.map +1 -0
- package/dist/chunks/Environment-CuQav_mw.js +68 -0
- package/dist/chunks/Environment-CuQav_mw.js.map +1 -0
- package/dist/chunks/Equality-DIQYQysz.js +21 -0
- package/dist/chunks/Equality-DIQYQysz.js.map +1 -0
- package/dist/chunks/ErrorLike-Cfj0lZW3.js +27 -0
- package/dist/chunks/ErrorLike-Cfj0lZW3.js.map +1 -0
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js +26 -0
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js.map +1 -0
- package/dist/chunks/ErrorRecognizers-oTklha6D.js +17 -0
- package/dist/chunks/ErrorRecognizers-oTklha6D.js.map +1 -0
- package/dist/chunks/FeedbackBus-BRbyOMCn.js +39 -0
- package/dist/chunks/FeedbackBus-BRbyOMCn.js.map +1 -0
- package/dist/chunks/FieldErrors-2zjhia4U.js +56 -0
- package/dist/chunks/FieldErrors-2zjhia4U.js.map +1 -0
- package/dist/chunks/FileName-CmNjFV7t.js +30 -0
- package/dist/chunks/FileName-CmNjFV7t.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-Fak7Jv46.js +73 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js.map +1 -0
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js +23 -0
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js.map +1 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js +27 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js.map +1 -0
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js +68 -0
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js.map +1 -0
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js +34 -0
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js.map +1 -0
- package/dist/chunks/Listbox.variants-CqAkYsmK.js +44 -0
- package/dist/chunks/Listbox.variants-CqAkYsmK.js.map +1 -0
- package/dist/chunks/LocaleContext-B3UXrI6p.js +39 -0
- package/dist/chunks/LocaleContext-B3UXrI6p.js.map +1 -0
- package/dist/chunks/Messages-BGfQHMmW.js +201 -0
- package/dist/chunks/Messages-BGfQHMmW.js.map +1 -0
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js +191 -0
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js.map +1 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js +86 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js.map +1 -0
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js +2073 -0
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js.map +1 -0
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-gi0uHIuK.js +2727 -0
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-gi0uHIuK.js.map +1 -0
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js +943 -0
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.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/OverlayChrome-e4MNr8Yl.js +17 -0
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js.map +1 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js +18 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js.map +1 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js +212 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js.map +1 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js +34 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js.map +1 -0
- package/dist/chunks/Presence-C7IJvh_P.js +120 -0
- package/dist/chunks/Presence-C7IJvh_P.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-Cm3ECaVw.js +20 -0
- package/dist/chunks/Primitive-Cm3ECaVw.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--OKfvS9c.js +82 -0
- package/dist/chunks/QueryPermission--OKfvS9c.js.map +1 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js +12 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js.map +1 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js +235 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js.map +1 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js +20 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js.map +1 -0
- package/dist/chunks/SerializeError-CclP2jCW.js +61 -0
- package/dist/chunks/SerializeError-CclP2jCW.js.map +1 -0
- package/dist/chunks/Severity-D0C5oAt-.js +16 -0
- package/dist/chunks/Severity-D0C5oAt-.js.map +1 -0
- package/dist/chunks/Side-CSys3p-F.js +23 -0
- package/dist/chunks/Side-CSys3p-F.js.map +1 -0
- package/dist/chunks/Slot-D2lIitvV.js +103 -0
- package/dist/chunks/Slot-D2lIitvV.js.map +1 -0
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js +10364 -0
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js +23 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js +76 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.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-COC81ZGB.js +64 -0
- package/dist/chunks/StorageBroker-COC81ZGB.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-K8nmmj0P.js +374 -0
- package/dist/chunks/SubmitErrors-K8nmmj0P.js.map +1 -0
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js +143 -0
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js.map +1 -0
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js +2159 -0
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js.map +1 -0
- package/dist/chunks/ToError-CyTBsmLO.js +52 -0
- package/dist/chunks/ToError-CyTBsmLO.js.map +1 -0
- package/dist/chunks/Tones-CI65uuq9.js +90 -0
- package/dist/chunks/Tones-CI65uuq9.js.map +1 -0
- package/dist/chunks/TransitionExtensions-hFi80JX2.js +19 -0
- package/dist/chunks/TransitionExtensions-hFi80JX2.js.map +1 -0
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js +82 -0
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js.map +1 -0
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js +51 -0
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js.map +1 -0
- package/dist/chunks/cn-CzDCF-Ah.js +9 -0
- package/dist/chunks/cn-CzDCF-Ah.js.map +1 -0
- package/dist/chunks/dataAttr-7BR67dTj.js +7 -0
- package/dist/chunks/dataAttr-7BR67dTj.js.map +1 -0
- package/dist/chunks/index-BD7H9CkO.js +130 -0
- package/dist/chunks/index-BD7H9CkO.js.map +1 -0
- package/dist/chunks/index-BGzbbN9T.js +1707 -0
- package/dist/chunks/index-BGzbbN9T.js.map +1 -0
- package/dist/chunks/index-C034dEhy.js +205 -0
- package/dist/chunks/index-C034dEhy.js.map +1 -0
- package/dist/chunks/index-Cbydgcdk.js +234 -0
- package/dist/chunks/index-Cbydgcdk.js.map +1 -0
- package/dist/chunks/index-CzKEU1kI.js +11 -0
- package/dist/chunks/index-CzKEU1kI.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-drjQ833B.js +10 -0
- package/dist/chunks/index-drjQ833B.js.map +1 -0
- package/dist/chunks/useClipboard-BVRwXC--.js +37 -0
- package/dist/chunks/useClipboard-BVRwXC--.js.map +1 -0
- package/dist/chunks/useControlled-B6M4kTLn.js +24 -0
- package/dist/chunks/useControlled-B6M4kTLn.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-CYPdpm_l.js +15 -0
- package/dist/chunks/useEscape-CYPdpm_l.js.map +1 -0
- package/dist/chunks/useEventListener-gohT6zGs.js +16 -0
- package/dist/chunks/useEventListener-gohT6zGs.js.map +1 -0
- package/dist/chunks/useId-CtgAhGrn.js +9 -0
- package/dist/chunks/useId-CtgAhGrn.js.map +1 -0
- package/dist/chunks/useMediaQuery-DwVcSgGk.js +27 -0
- package/dist/chunks/useMediaQuery-DwVcSgGk.js.map +1 -0
- package/dist/chunks/useOutsideClick-CW80BJfE.js +22 -0
- package/dist/chunks/useOutsideClick-CW80BJfE.js.map +1 -0
- package/dist/chunks/useRecentItems-DFnt5CBy.js +137 -0
- package/dist/chunks/useRecentItems-DFnt5CBy.js.map +1 -0
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js +8 -0
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js.map +1 -0
- package/dist/chunks/useResizeObserver-BUU7lC-n.js +17 -0
- package/dist/chunks/useResizeObserver-BUU7lC-n.js.map +1 -0
- package/dist/chunks/useScrollLock-d6YIGUcs.js +37 -0
- package/dist/chunks/useScrollLock-d6YIGUcs.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 +29 -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/feedback/FeedbackBus.d.ts +71 -0
- package/dist/feedback/FeedbackQueryErrors.d.ts +21 -0
- package/dist/feedback/index.d.ts +2 -0
- package/dist/feedback/index.js +20 -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 +85 -0
- package/dist/flags/FlagsContext.d.ts +32 -0
- package/dist/flags/FlagsProvider.vue.d.ts +24 -0
- package/dist/flags/StaticFlagProvider.d.ts +51 -0
- package/dist/flags/index.d.ts +6 -0
- package/dist/flags/index.js +243 -0
- package/dist/flags/index.js.map +1 -0
- package/dist/forms-engine/AppForm.d.ts +258 -0
- package/dist/forms-engine/DeepEqual.d.ts +8 -0
- package/dist/forms-engine/FocusFirstInvalid.d.ts +15 -0
- package/dist/forms-engine/FormGlue.d.ts +55 -0
- package/dist/forms-engine/Paths.d.ts +47 -0
- package/dist/forms-engine/SchemaValidation.d.ts +29 -0
- package/dist/forms-engine/StandardSchema.d.ts +55 -0
- package/dist/forms-engine/SubmitErrors.d.ts +33 -0
- package/dist/forms-engine/UseFieldArray.d.ts +87 -0
- package/dist/forms-engine/house/HouseFormCore.d.ts +33 -0
- package/dist/forms-engine/house/UseAppForm.d.ts +16 -0
- package/dist/forms-engine/house/index.d.ts +7 -0
- package/dist/forms-engine/house/index.js +315 -0
- package/dist/forms-engine/house/index.js.map +1 -0
- package/dist/forms-engine/index.d.ts +10 -0
- package/dist/forms-engine/index.js +127 -0
- package/dist/forms-engine/index.js.map +1 -0
- package/dist/forms-engine/tanstack/TanstackFormOverlay.d.ts +49 -0
- package/dist/forms-engine/tanstack/UseAppForm.d.ts +26 -0
- package/dist/forms-engine/tanstack/index.d.ts +8 -0
- package/dist/forms-engine/tanstack/index.js +407 -0
- package/dist/forms-engine/tanstack/index.js.map +1 -0
- package/dist/foundation/animation/Animate.d.ts +73 -0
- package/dist/foundation/animation/AnimatedLayout.d.ts +72 -0
- package/dist/foundation/animation/Flip.d.ts +90 -0
- package/dist/foundation/animation/UseFlip.d.ts +22 -0
- package/dist/foundation/animation/index.d.ts +4 -0
- package/dist/foundation/animation/index.js +241 -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/index.d.ts +7 -0
- package/dist/foundation/async/index.js +290 -0
- package/dist/foundation/async/index.js.map +1 -0
- package/dist/foundation/clipboard/ClipboardPermission.d.ts +17 -0
- package/dist/foundation/clipboard/ClipboardResult.d.ts +102 -0
- package/dist/foundation/clipboard/ClipboardSupport.d.ts +55 -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 +29 -0
- package/dist/foundation/clipboard/UseClipboardCopy.d.ts +40 -0
- package/dist/foundation/clipboard/UsePasteHandler.d.ts +35 -0
- package/dist/foundation/clipboard/index.d.ts +10 -0
- package/dist/foundation/clipboard/index.js +437 -0
- package/dist/foundation/clipboard/index.js.map +1 -0
- package/dist/foundation/collections/Arrays.d.ts +131 -0
- package/dist/foundation/collections/Comparison.d.ts +39 -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 +63 -0
- package/dist/foundation/collections/index.d.ts +5 -0
- package/dist/foundation/collections/index.js +460 -0
- package/dist/foundation/collections/index.js.map +1 -0
- package/dist/foundation/commands/Command.d.ts +46 -0
- package/dist/foundation/commands/CommandRegistry.d.ts +36 -0
- package/dist/foundation/commands/CommandShortcut.d.ts +8 -0
- package/dist/foundation/commands/CommandsContext.d.ts +30 -0
- package/dist/foundation/commands/CommandsProvider.vue.d.ts +18 -0
- package/dist/foundation/commands/SearchCommands.d.ts +28 -0
- package/dist/foundation/commands/UseCommandRegistry.d.ts +19 -0
- package/dist/foundation/commands/UseCommandShortcuts.d.ts +18 -0
- package/dist/foundation/commands/index.d.ts +8 -0
- package/dist/foundation/commands/index.js +278 -0
- package/dist/foundation/commands/index.js.map +1 -0
- package/dist/foundation/config/ConfigField.d.ts +60 -0
- package/dist/foundation/config/ConfigSource.d.ts +24 -0
- package/dist/foundation/config/DefineConfig.d.ts +43 -0
- package/dist/foundation/config/index.d.ts +3 -0
- package/dist/foundation/config/index.js +186 -0
- package/dist/foundation/config/index.js.map +1 -0
- package/dist/foundation/crypto/Digest.d.ts +25 -0
- package/dist/foundation/crypto/Encoding.d.ts +43 -0
- package/dist/foundation/crypto/HashObject.d.ts +18 -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 +226 -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/index.d.ts +6 -0
- package/dist/foundation/datetime/index.js +302 -0
- package/dist/foundation/datetime/index.js.map +1 -0
- package/dist/foundation/device/Breakpoints.d.ts +54 -0
- package/dist/foundation/device/DisplayMode.d.ts +13 -0
- package/dist/foundation/device/Platform.d.ts +27 -0
- package/dist/foundation/device/PointerType.d.ts +11 -0
- package/dist/foundation/device/UseBreakpoint.d.ts +20 -0
- package/dist/foundation/device/UseDisplayMode.d.ts +23 -0
- package/dist/foundation/device/UseOnlineStatus.d.ts +12 -0
- package/dist/foundation/device/UsePointer.d.ts +25 -0
- package/dist/foundation/device/index.d.ts +8 -0
- package/dist/foundation/device/index.js +187 -0
- package/dist/foundation/device/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 +25 -0
- package/dist/foundation/errors/ToError.d.ts +15 -0
- package/dist/foundation/errors/index.d.ts +6 -0
- package/dist/foundation/errors/index.js +18 -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 +62 -0
- package/dist/foundation/files/index.js.map +1 -0
- package/dist/foundation/format/Bytes.d.ts +15 -0
- package/dist/foundation/format/Count.d.ts +10 -0
- package/dist/foundation/format/Duration.d.ts +13 -0
- package/dist/foundation/format/Text.d.ts +51 -0
- package/dist/foundation/format/index.d.ts +4 -0
- package/dist/foundation/format/index.js +100 -0
- package/dist/foundation/format/index.js.map +1 -0
- package/dist/foundation/geolocation/CanLocate.d.ts +18 -0
- package/dist/foundation/geolocation/Coordinates.d.ts +41 -0
- package/dist/foundation/geolocation/DistanceBetween.d.ts +21 -0
- package/dist/foundation/geolocation/GeolocationPermission.d.ts +13 -0
- package/dist/foundation/geolocation/GeolocationReading.d.ts +30 -0
- package/dist/foundation/geolocation/GetCurrentPosition.d.ts +14 -0
- package/dist/foundation/geolocation/PositionResult.d.ts +74 -0
- package/dist/foundation/geolocation/UseGeolocation.d.ts +38 -0
- package/dist/foundation/geolocation/UseWatchPosition.d.ts +16 -0
- package/dist/foundation/geolocation/WatchPosition.d.ts +19 -0
- package/dist/foundation/geolocation/index.d.ts +10 -0
- package/dist/foundation/geolocation/index.js +236 -0
- package/dist/foundation/geolocation/index.js.map +1 -0
- package/dist/foundation/gestures/GestureAxis.d.ts +11 -0
- package/dist/foundation/gestures/GestureMath.d.ts +182 -0
- package/dist/foundation/gestures/SwipeDirection.d.ts +13 -0
- package/dist/foundation/gestures/UseDrag.d.ts +75 -0
- package/dist/foundation/gestures/UseLongPress.d.ts +42 -0
- package/dist/foundation/gestures/UsePinch.d.ts +47 -0
- package/dist/foundation/gestures/UseSwipe.d.ts +46 -0
- package/dist/foundation/gestures/index.d.ts +7 -0
- package/dist/foundation/gestures/index.js +440 -0
- package/dist/foundation/gestures/index.js.map +1 -0
- package/dist/foundation/hooks/index.d.ts +17 -0
- package/dist/foundation/hooks/index.js +34 -0
- package/dist/foundation/hooks/index.js.map +1 -0
- package/dist/foundation/hooks/useAutosave/index.d.ts +1 -0
- package/dist/foundation/hooks/useAutosave/useAutosave.d.ts +46 -0
- package/dist/foundation/hooks/useClipboard/index.d.ts +1 -0
- package/dist/foundation/hooks/useClipboard/useClipboard.d.ts +24 -0
- package/dist/foundation/hooks/useControlled/index.d.ts +1 -0
- package/dist/foundation/hooks/useControlled/useControlled.d.ts +31 -0
- package/dist/foundation/hooks/useDebounceHandler/index.d.ts +1 -0
- package/dist/foundation/hooks/useDebounceHandler/useDebounceHandler.d.ts +16 -0
- package/dist/foundation/hooks/useDisclosure/index.d.ts +1 -0
- package/dist/foundation/hooks/useDisclosure/useDisclosure.d.ts +18 -0
- package/dist/foundation/hooks/useEscape/index.d.ts +1 -0
- package/dist/foundation/hooks/useEscape/useEscape.d.ts +10 -0
- package/dist/foundation/hooks/useEventListener/index.d.ts +1 -0
- package/dist/foundation/hooks/useEventListener/useEventListener.d.ts +17 -0
- package/dist/foundation/hooks/useFocusTrap/index.d.ts +1 -0
- package/dist/foundation/hooks/useFocusTrap/useFocusTrap.d.ts +15 -0
- package/dist/foundation/hooks/useId/index.d.ts +1 -0
- package/dist/foundation/hooks/useId/useId.d.ts +8 -0
- package/dist/foundation/hooks/useMediaQuery/index.d.ts +1 -0
- package/dist/foundation/hooks/useMediaQuery/useMediaQuery.d.ts +12 -0
- package/dist/foundation/hooks/useOutsideClick/index.d.ts +1 -0
- package/dist/foundation/hooks/useOutsideClick/useOutsideClick.d.ts +12 -0
- package/dist/foundation/hooks/usePersistentState/index.d.ts +1 -0
- package/dist/foundation/hooks/usePersistentState/usePersistentState.d.ts +31 -0
- package/dist/foundation/hooks/useRecentItems/index.d.ts +1 -0
- package/dist/foundation/hooks/useRecentItems/useRecentItems.d.ts +34 -0
- package/dist/foundation/hooks/useReducedMotion/index.d.ts +1 -0
- package/dist/foundation/hooks/useReducedMotion/useReducedMotion.d.ts +7 -0
- package/dist/foundation/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/foundation/hooks/useResizeObserver/useResizeObserver.d.ts +11 -0
- package/dist/foundation/hooks/useScrollLock/index.d.ts +1 -0
- package/dist/foundation/hooks/useScrollLock/useScrollLock.d.ts +11 -0
- package/dist/foundation/hooks/useTypeahead/index.d.ts +1 -0
- package/dist/foundation/hooks/useTypeahead/useTypeahead.d.ts +42 -0
- package/dist/foundation/http/ApiError.d.ts +7 -0
- package/dist/foundation/http/ApiResponse.d.ts +4 -0
- package/dist/foundation/http/CreateApiClient.d.ts +65 -0
- package/dist/foundation/http/DateBrands.d.ts +8 -0
- package/dist/foundation/http/Envelope.d.ts +33 -0
- package/dist/foundation/http/FieldErrors.d.ts +16 -0
- package/dist/foundation/http/Page.d.ts +47 -0
- package/dist/foundation/http/ProblemDetails.d.ts +9 -0
- package/dist/foundation/http/index.d.ts +9 -0
- package/dist/foundation/http/index.js +180 -0
- package/dist/foundation/http/index.js.map +1 -0
- package/dist/foundation/http/temporalReviver.d.ts +9 -0
- package/dist/foundation/i18n/FormattedRelative.vue.d.ts +10 -0
- package/dist/foundation/i18n/LocaleContext.d.ts +35 -0
- package/dist/foundation/i18n/LocaleFormatters.d.ts +24 -0
- package/dist/foundation/i18n/LocaleProvider.vue.d.ts +18 -0
- package/dist/foundation/i18n/index.d.ts +4 -0
- package/dist/foundation/i18n/index.js +79 -0
- package/dist/foundation/i18n/index.js.map +1 -0
- package/dist/foundation/icons/Icon.vue.d.ts +40 -0
- package/dist/foundation/icons/Spinner.vue.d.ts +7 -0
- package/dist/foundation/icons/index.d.ts +2 -0
- package/dist/foundation/icons/index.js +7 -0
- package/dist/foundation/icons/index.js.map +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 +403 -0
- package/dist/foundation/idb/index.js.map +1 -0
- package/dist/foundation/identifiers/Guid.d.ts +41 -0
- package/dist/foundation/identifiers/index.d.ts +1 -0
- package/dist/foundation/identifiers/index.js +68 -0
- package/dist/foundation/identifiers/index.js.map +1 -0
- package/dist/foundation/logger/ConsoleLogSink.d.ts +8 -0
- package/dist/foundation/logger/LogLevel.d.ts +34 -0
- package/dist/foundation/logger/LogRecord.d.ts +17 -0
- package/dist/foundation/logger/LogSink.d.ts +17 -0
- package/dist/foundation/logger/Logger.d.ts +55 -0
- package/dist/foundation/logger/MemoryLogSink.d.ts +11 -0
- package/dist/foundation/logger/Redaction.d.ts +29 -0
- package/dist/foundation/logger/index.d.ts +7 -0
- package/dist/foundation/logger/index.js +232 -0
- package/dist/foundation/logger/index.js.map +1 -0
- package/dist/foundation/media/CanCaptureMedia.d.ts +36 -0
- package/dist/foundation/media/FacingMode.d.ts +45 -0
- package/dist/foundation/media/ListMediaDevices.d.ts +41 -0
- package/dist/foundation/media/MediaPermission.d.ts +23 -0
- package/dist/foundation/media/MediaStreamResult.d.ts +45 -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 +41 -0
- package/dist/foundation/media/index.d.ts +8 -0
- package/dist/foundation/media/index.js +218 -0
- package/dist/foundation/media/index.js.map +1 -0
- package/dist/foundation/net/ConnectionState.d.ts +36 -0
- package/dist/foundation/net/CreateEventStream.d.ts +101 -0
- package/dist/foundation/net/CreatePoller.d.ts +59 -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/UseEventStream.d.ts +25 -0
- package/dist/foundation/net/UsePolling.d.ts +26 -0
- package/dist/foundation/net/UseSocket.d.ts +32 -0
- package/dist/foundation/net/index.d.ts +9 -0
- package/dist/foundation/net/index.js +840 -0
- package/dist/foundation/net/index.js.map +1 -0
- package/dist/foundation/notifications/CanNotify.d.ts +11 -0
- package/dist/foundation/notifications/NotificationPermission.d.ts +31 -0
- package/dist/foundation/notifications/Notify.d.ts +66 -0
- package/dist/foundation/notifications/QueryPermission.d.ts +55 -0
- package/dist/foundation/notifications/UseNotificationPermission.d.ts +27 -0
- package/dist/foundation/notifications/UsePermissionState.d.ts +14 -0
- package/dist/foundation/notifications/index.d.ts +6 -0
- package/dist/foundation/notifications/index.js +199 -0
- package/dist/foundation/notifications/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/UseInView.d.ts +41 -0
- package/dist/foundation/observers/UseIntersectionObserver.d.ts +18 -0
- package/dist/foundation/observers/UseMutationObserver.d.ts +21 -0
- package/dist/foundation/observers/UseVisibility.d.ts +33 -0
- package/dist/foundation/observers/VisibilitySteps.d.ts +14 -0
- package/dist/foundation/observers/index.d.ts +7 -0
- package/dist/foundation/observers/index.js +199 -0
- package/dist/foundation/observers/index.js.map +1 -0
- package/dist/foundation/primitives/accessibleIcon/AccessibleIcon.d.ts +27 -0
- package/dist/foundation/primitives/accessibleIcon/index.d.ts +1 -0
- package/dist/foundation/primitives/anchoredPositioner/AnchoredPositioner.vue.d.ts +37 -0
- package/dist/foundation/primitives/anchoredPositioner/index.d.ts +1 -0
- package/dist/foundation/primitives/announce/Announce.vue.d.ts +28 -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 +26 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeProvider.vue.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/index.d.ts +2 -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 +26 -0
- package/dist/foundation/primitives/focusScope/index.d.ts +1 -0
- package/dist/foundation/primitives/formControlContext/FormControlContext.d.ts +57 -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 +52 -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 +32 -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 +20 -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 +41 -0
- package/dist/foundation/primitives/scrollViewport/index.d.ts +1 -0
- package/dist/foundation/primitives/slot/Primitive.d.ts +69 -0
- package/dist/foundation/primitives/slot/Slot.d.ts +38 -0
- package/dist/foundation/primitives/slot/index.d.ts +2 -0
- package/dist/foundation/primitives/visuallyHidden/VisuallyHidden.vue.d.ts +11 -0
- package/dist/foundation/primitives/visuallyHidden/index.d.ts +1 -0
- package/dist/foundation/resilience/BackoffStrategy.d.ts +10 -0
- package/dist/foundation/resilience/JitterStrategy.d.ts +12 -0
- package/dist/foundation/resilience/RetryDelay.d.ts +5 -0
- package/dist/foundation/resilience/RetryPolicy.d.ts +34 -0
- package/dist/foundation/resilience/index.d.ts +4 -0
- package/dist/foundation/resilience/index.js +63 -0
- package/dist/foundation/resilience/index.js.map +1 -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 +110 -0
- package/dist/foundation/screen/ScreenResult.d.ts +38 -0
- package/dist/foundation/screen/UseFullscreen.d.ts +28 -0
- package/dist/foundation/screen/UseOrientation.d.ts +28 -0
- package/dist/foundation/screen/UseWakeLock.d.ts +18 -0
- package/dist/foundation/screen/WakeLock.d.ts +79 -0
- package/dist/foundation/screen/index.d.ts +7 -0
- package/dist/foundation/screen/index.js +402 -0
- package/dist/foundation/screen/index.js.map +1 -0
- package/dist/foundation/selection/Field.d.ts +31 -0
- package/dist/foundation/selection/Filter.d.ts +71 -0
- package/dist/foundation/selection/Selection.d.ts +116 -0
- package/dist/foundation/selection/Sort.d.ts +69 -0
- package/dist/foundation/selection/UseFilters.d.ts +34 -0
- package/dist/foundation/selection/UseSelection.d.ts +54 -0
- package/dist/foundation/selection/UseSort.d.ts +36 -0
- package/dist/foundation/selection/index.d.ts +7 -0
- package/dist/foundation/selection/index.js +407 -0
- package/dist/foundation/selection/index.js.map +1 -0
- package/dist/foundation/share/CanShare.d.ts +11 -0
- package/dist/foundation/share/Share.d.ts +45 -0
- package/dist/foundation/share/ShareData.d.ts +43 -0
- package/dist/foundation/share/ShareOrCopy.d.ts +27 -0
- package/dist/foundation/share/UseShare.d.ts +30 -0
- package/dist/foundation/share/index.d.ts +5 -0
- package/dist/foundation/share/index.js +111 -0
- package/dist/foundation/share/index.js.map +1 -0
- package/dist/foundation/shortcuts/Chord.d.ts +51 -0
- package/dist/foundation/shortcuts/UseHotkeys.d.ts +34 -0
- package/dist/foundation/shortcuts/index.d.ts +3 -0
- package/dist/foundation/shortcuts/index.js +15 -0
- package/dist/foundation/shortcuts/index.js.map +1 -0
- package/dist/foundation/speech/CreateSpeechRecognizer.d.ts +79 -0
- package/dist/foundation/speech/ListVoices.d.ts +78 -0
- package/dist/foundation/speech/Speak.d.ts +52 -0
- package/dist/foundation/speech/SpeechControls.d.ts +57 -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 +32 -0
- package/dist/foundation/speech/SpeechSupport.d.ts +69 -0
- package/dist/foundation/speech/UseSpeechRecognition.d.ts +45 -0
- package/dist/foundation/speech/UseSpeechSynthesis.d.ts +37 -0
- package/dist/foundation/speech/index.d.ts +10 -0
- package/dist/foundation/speech/index.js +573 -0
- package/dist/foundation/speech/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/index.d.ts +3 -0
- package/dist/foundation/storage/index.js +65 -0
- package/dist/foundation/storage/index.js.map +1 -0
- package/dist/foundation/storage/zustand/ZustandPersist.d.ts +36 -0
- package/dist/foundation/storage/zustand/index.d.ts +1 -0
- package/dist/foundation/storage/zustand/index.js +11 -0
- package/dist/foundation/storage/zustand/index.js.map +1 -0
- package/dist/foundation/sync/CreateSyncChannel.d.ts +16 -0
- package/dist/foundation/sync/LeaderElection.d.ts +88 -0
- package/dist/foundation/sync/MemorySyncHub.d.ts +29 -0
- package/dist/foundation/sync/SyncChannel.d.ts +65 -0
- package/dist/foundation/sync/UseBroadcastState.d.ts +31 -0
- package/dist/foundation/sync/UseLeaderElection.d.ts +25 -0
- package/dist/foundation/sync/UseSyncChannel.d.ts +16 -0
- package/dist/foundation/sync/index.d.ts +7 -0
- package/dist/foundation/sync/index.js +484 -0
- package/dist/foundation/sync/index.js.map +1 -0
- package/dist/foundation/themes/Oklch.d.ts +42 -0
- package/dist/foundation/themes/Theme.d.ts +112 -0
- package/dist/foundation/themes/Tokens.d.ts +40 -0
- package/dist/foundation/themes/css.d.ts +20 -0
- package/dist/foundation/themes/generate.d.ts +6 -0
- package/dist/foundation/themes/index.d.ts +11 -0
- package/dist/foundation/themes/index.js +37 -0
- package/dist/foundation/themes/index.js.map +1 -0
- package/dist/foundation/themes/pool.d.ts +3 -0
- package/dist/foundation/themes/registry.d.ts +16 -0
- package/dist/foundation/themes/validate.d.ts +25 -0
- package/dist/foundation/themes/validated.d.ts +3 -0
- package/dist/foundation/undo/HistoryCore.d.ts +92 -0
- package/dist/foundation/undo/SnapshotHistory.d.ts +33 -0
- package/dist/foundation/undo/UndoHistory.d.ts +41 -0
- package/dist/foundation/undo/UseUndoHistory.d.ts +66 -0
- package/dist/foundation/undo/UseUndoShortcuts.d.ts +20 -0
- package/dist/foundation/undo/index.d.ts +5 -0
- package/dist/foundation/undo/index.js +361 -0
- package/dist/foundation/undo/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 +47 -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 +449 -0
- package/dist/foundation/uploads/index.js.map +1 -0
- package/dist/foundation/utils/Align/Align.d.ts +10 -0
- package/dist/foundation/utils/Align/index.d.ts +1 -0
- package/dist/foundation/utils/ColorExtensions/ColorExtensions.d.ts +51 -0
- package/dist/foundation/utils/ColorExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Compare/Compare.d.ts +7 -0
- package/dist/foundation/utils/Compare/index.d.ts +1 -0
- package/dist/foundation/utils/CornerPosition/CornerPosition.d.ts +12 -0
- package/dist/foundation/utils/CornerPosition/index.d.ts +1 -0
- package/dist/foundation/utils/CssExtensions/CssExtensions.d.ts +115 -0
- package/dist/foundation/utils/CssExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/ElementTag/ElementTag.d.ts +28 -0
- package/dist/foundation/utils/ElementTag/index.d.ts +1 -0
- package/dist/foundation/utils/Environment/Environment.d.ts +12 -0
- package/dist/foundation/utils/Environment/index.d.ts +1 -0
- package/dist/foundation/utils/Equality/Equality.d.ts +13 -0
- package/dist/foundation/utils/Equality/index.d.ts +1 -0
- package/dist/foundation/utils/HtmlExtensions/HtmlExtensions.d.ts +22 -0
- package/dist/foundation/utils/HtmlExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/KeyboardExtensions/KeyboardExtensions.d.ts +32 -0
- package/dist/foundation/utils/KeyboardExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Layers/Layers.d.ts +35 -0
- package/dist/foundation/utils/Layers/index.d.ts +1 -0
- package/dist/foundation/utils/OptionalExtensions/OptionalExtensions.d.ts +12 -0
- package/dist/foundation/utils/OptionalExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Orientation/Orientation.d.ts +8 -0
- package/dist/foundation/utils/Orientation/index.d.ts +1 -0
- package/dist/foundation/utils/OverlayPosition/OverlayPosition.d.ts +16 -0
- package/dist/foundation/utils/OverlayPosition/index.d.ts +1 -0
- package/dist/foundation/utils/PressExtensions/PressExtensions.d.ts +17 -0
- package/dist/foundation/utils/PressExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/ProgressTone/ProgressTone.d.ts +14 -0
- package/dist/foundation/utils/ProgressTone/index.d.ts +1 -0
- package/dist/foundation/utils/Severity/Severity.d.ts +14 -0
- package/dist/foundation/utils/Severity/index.d.ts +1 -0
- package/dist/foundation/utils/Side/Side.d.ts +12 -0
- package/dist/foundation/utils/Side/index.d.ts +1 -0
- package/dist/foundation/utils/StatusTone/StatusTone.d.ts +14 -0
- package/dist/foundation/utils/StatusTone/index.d.ts +1 -0
- package/dist/foundation/utils/StyleTokens/StyleTokens.d.ts +68 -0
- package/dist/foundation/utils/StyleTokens/index.d.ts +1 -0
- package/dist/foundation/utils/SurfaceStyles/SurfaceStyles.d.ts +397 -0
- package/dist/foundation/utils/SurfaceStyles/index.d.ts +1 -0
- package/dist/foundation/utils/Tones/Tones.d.ts +21 -0
- package/dist/foundation/utils/Tones/index.d.ts +1 -0
- package/dist/foundation/utils/TransitionExtensions/TransitionExtensions.d.ts +18 -0
- package/dist/foundation/utils/TransitionExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/cn/cn.d.ts +6 -0
- package/dist/foundation/utils/cn/index.d.ts +1 -0
- package/dist/foundation/utils/composeEventHandlers/composeEventHandlers.d.ts +9 -0
- package/dist/foundation/utils/composeEventHandlers/index.d.ts +1 -0
- package/dist/foundation/utils/dataAttr/dataAttr.d.ts +6 -0
- package/dist/foundation/utils/dataAttr/index.d.ts +1 -0
- package/dist/foundation/utils/index.d.ts +33 -0
- package/dist/foundation/utils/index.js +67 -0
- package/dist/foundation/utils/index.js.map +1 -0
- package/dist/foundation/utils/polymorphic/index.d.ts +1 -0
- package/dist/foundation/utils/polymorphic/polymorphic.d.ts +29 -0
- package/dist/foundation/utils/tv/index.d.ts +1 -0
- package/dist/foundation/utils/tv/tv.d.ts +1 -0
- package/dist/foundation/validation/Composites.d.ts +62 -0
- package/dist/foundation/validation/Formats.d.ts +9 -0
- package/dist/foundation/validation/Messages.d.ts +69 -0
- package/dist/foundation/validation/Primitives.d.ts +49 -0
- package/dist/foundation/validation/StandardSchema.d.ts +55 -0
- package/dist/foundation/validation/ValidationError.d.ts +14 -0
- package/dist/foundation/validation/ValidationResult.d.ts +49 -0
- package/dist/foundation/validation/Validator.d.ts +69 -0
- package/dist/foundation/validation/index.d.ts +8 -0
- package/dist/foundation/validation/index.js +512 -0
- package/dist/foundation/validation/index.js.map +1 -0
- package/dist/foundation/virtualization/Measurements.d.ts +79 -0
- package/dist/foundation/virtualization/UseVirtualList.d.ts +79 -0
- package/dist/foundation/virtualization/Windowing.d.ts +78 -0
- package/dist/foundation/virtualization/index.d.ts +3 -0
- package/dist/foundation/virtualization/index.js +300 -0
- package/dist/foundation/virtualization/index.js.map +1 -0
- package/dist/foundation/workers/RunInWorker.d.ts +41 -0
- package/dist/foundation/workers/UseWorker.d.ts +28 -0
- package/dist/foundation/workers/WorkerClient.d.ts +85 -0
- package/dist/foundation/workers/WorkerHost.d.ts +80 -0
- package/dist/foundation/workers/WorkerProtocol.d.ts +78 -0
- package/dist/foundation/workers/WorkerSupport.d.ts +15 -0
- package/dist/foundation/workers/index.d.ts +6 -0
- package/dist/foundation/workers/index.js +292 -0
- package/dist/foundation/workers/index.js.map +1 -0
- package/dist/index.css +314 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +636 -0
- package/dist/index.js.map +1 -0
- package/dist/presentation/actions/backToTopButton/BackToTopButton.vue.d.ts +33 -0
- package/dist/presentation/actions/backToTopButton/index.d.ts +1 -0
- package/dist/presentation/actions/button/Button.variants.d.ts +311 -0
- package/dist/presentation/actions/button/Button.vue.d.ts +119 -0
- package/dist/presentation/actions/button/index.d.ts +2 -0
- package/dist/presentation/actions/buttonGroup/ButtonGroup.vue.d.ts +22 -0
- package/dist/presentation/actions/buttonGroup/index.d.ts +1 -0
- package/dist/presentation/actions/copyButton/CopyButton.vue.d.ts +35 -0
- package/dist/presentation/actions/copyButton/index.d.ts +1 -0
- package/dist/presentation/actions/disclosureButton/DisclosureButton.vue.d.ts +32 -0
- package/dist/presentation/actions/disclosureButton/index.d.ts +1 -0
- package/dist/presentation/actions/fab/FAB.variants.d.ts +158 -0
- package/dist/presentation/actions/fab/FAB.vue.d.ts +29 -0
- package/dist/presentation/actions/fab/index.d.ts +2 -0
- package/dist/presentation/actions/index.d.ts +14 -0
- package/dist/presentation/actions/index.js +47 -0
- package/dist/presentation/actions/index.js.map +1 -0
- package/dist/presentation/actions/link/Link.variants.d.ts +111 -0
- package/dist/presentation/actions/link/Link.vue.d.ts +24 -0
- package/dist/presentation/actions/link/index.d.ts +2 -0
- package/dist/presentation/actions/optionTile/OptionTile.variants.d.ts +10 -0
- package/dist/presentation/actions/optionTile/OptionTile.vue.d.ts +31 -0
- package/dist/presentation/actions/optionTile/index.d.ts +2 -0
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.variants.d.ts +76 -0
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.vue.d.ts +27 -0
- package/dist/presentation/actions/optionTileGroup/index.d.ts +2 -0
- package/dist/presentation/actions/segmentedControl/SegmentedControl.vue.d.ts +20 -0
- package/dist/presentation/actions/segmentedControl/index.d.ts +1 -0
- package/dist/presentation/actions/speedDial/SpeedDial.vue.d.ts +28 -0
- package/dist/presentation/actions/speedDial/SpeedDialAction.vue.d.ts +40 -0
- package/dist/presentation/actions/speedDial/SpeedDialContext.d.ts +36 -0
- package/dist/presentation/actions/speedDial/SpeedDialList.vue.d.ts +13 -0
- package/dist/presentation/actions/speedDial/SpeedDialTrigger.vue.d.ts +30 -0
- package/dist/presentation/actions/speedDial/index.d.ts +166 -0
- package/dist/presentation/actions/toggleButton/ToggleButton.variants.d.ts +141 -0
- package/dist/presentation/actions/toggleButton/ToggleButton.vue.d.ts +59 -0
- package/dist/presentation/actions/toggleButton/index.d.ts +2 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.variants.d.ts +33 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.vue.d.ts +72 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroupContext.d.ts +24 -0
- package/dist/presentation/actions/toggleButtonGroup/index.d.ts +3 -0
- package/dist/presentation/actions/toolbar/Toolbar.vue.d.ts +19 -0
- package/dist/presentation/actions/toolbar/ToolbarButton.vue.d.ts +16 -0
- package/dist/presentation/actions/toolbar/ToolbarContext.d.ts +9 -0
- package/dist/presentation/actions/toolbar/ToolbarLink.vue.d.ts +11 -0
- package/dist/presentation/actions/toolbar/ToolbarSeparator.vue.d.ts +3 -0
- package/dist/presentation/actions/toolbar/index.d.ts +87 -0
- package/dist/presentation/display/accordion/Accordion.vue.d.ts +45 -0
- package/dist/presentation/display/accordion/AccordionContent.vue.d.ts +14 -0
- package/dist/presentation/display/accordion/AccordionContext.d.ts +29 -0
- package/dist/presentation/display/accordion/AccordionItem.vue.d.ts +20 -0
- package/dist/presentation/display/accordion/AccordionTrigger.vue.d.ts +14 -0
- package/dist/presentation/display/accordion/index.d.ts +5 -0
- package/dist/presentation/display/activityFeed/ActivityFeed.vue.d.ts +18 -0
- package/dist/presentation/display/activityFeed/ActivityItem.vue.d.ts +29 -0
- package/dist/presentation/display/activityFeed/index.d.ts +2 -0
- package/dist/presentation/display/animatedNumber/AnimatedNumber.vue.d.ts +34 -0
- package/dist/presentation/display/animatedNumber/index.d.ts +1 -0
- package/dist/presentation/display/annotationMarker/AnnotationMarker.vue.d.ts +43 -0
- package/dist/presentation/display/annotationMarker/index.d.ts +1 -0
- package/dist/presentation/display/audioPlayer/AudioPlayer.vue.d.ts +38 -0
- package/dist/presentation/display/audioPlayer/index.d.ts +1 -0
- package/dist/presentation/display/audioWaveform/AudioWaveform.vue.d.ts +57 -0
- package/dist/presentation/display/audioWaveform/index.d.ts +1 -0
- package/dist/presentation/display/avatar/Avatar.variants.d.ts +312 -0
- package/dist/presentation/display/avatar/Avatar.vue.d.ts +49 -0
- package/dist/presentation/display/avatar/index.d.ts +2 -0
- package/dist/presentation/display/avatarGroup/AvatarGroup.vue.d.ts +25 -0
- package/dist/presentation/display/avatarGroup/index.d.ts +1 -0
- package/dist/presentation/display/badge/Badge.variants.d.ts +128 -0
- package/dist/presentation/display/badge/Badge.vue.d.ts +20 -0
- package/dist/presentation/display/badge/index.d.ts +2 -0
- package/dist/presentation/display/badgeOverlay/BadgeOverlay.vue.d.ts +24 -0
- package/dist/presentation/display/badgeOverlay/index.d.ts +1 -0
- package/dist/presentation/display/card/Card.vue.d.ts +32 -0
- package/dist/presentation/display/card/CardBody.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardDescription.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardFooter.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardHeader.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardTitle.vue.d.ts +12 -0
- package/dist/presentation/display/card/index.d.ts +6 -0
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +34 -0
- package/dist/presentation/display/carousel/CarouselContext.d.ts +38 -0
- package/dist/presentation/display/carousel/CarouselDot.vue.d.ts +9 -0
- package/dist/presentation/display/carousel/CarouselDots.vue.d.ts +7 -0
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +12 -0
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +12 -0
- package/dist/presentation/display/carousel/CarouselSlide.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/CarouselSlides.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/index.d.ts +10 -0
- package/dist/presentation/display/chatBubble/ChatBubble.vue.d.ts +79 -0
- package/dist/presentation/display/chatBubble/index.d.ts +1 -0
- package/dist/presentation/display/code/Code.variants.d.ts +48 -0
- package/dist/presentation/display/code/Code.vue.d.ts +17 -0
- package/dist/presentation/display/code/index.d.ts +2 -0
- package/dist/presentation/display/collapsible/Collapsible.vue.d.ts +40 -0
- package/dist/presentation/display/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/presentation/display/collapsible/CollapsibleContentInner.vue.d.ts +23 -0
- package/dist/presentation/display/collapsible/CollapsibleContext.d.ts +17 -0
- package/dist/presentation/display/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/presentation/display/collapsible/index.d.ts +4 -0
- package/dist/presentation/display/commentThread/Comment.vue.d.ts +39 -0
- package/dist/presentation/display/commentThread/CommentThread.vue.d.ts +14 -0
- package/dist/presentation/display/commentThread/index.d.ts +2 -0
- package/dist/presentation/display/confetti/Confetti.vue.d.ts +40 -0
- package/dist/presentation/display/confetti/index.d.ts +1 -0
- package/dist/presentation/display/countBadge/CountBadge.vue.d.ts +24 -0
- package/dist/presentation/display/countBadge/index.d.ts +1 -0
- package/dist/presentation/display/countUp/CountUp.vue.d.ts +40 -0
- package/dist/presentation/display/countUp/index.d.ts +1 -0
- package/dist/presentation/display/dataGrid/CellEditor.vue.d.ts +29 -0
- package/dist/presentation/display/dataGrid/DataGrid.vue.d.ts +47 -0
- package/dist/presentation/display/dataGrid/DataGridTypes.d.ts +65 -0
- package/dist/presentation/display/dataGrid/index.d.ts +2 -0
- package/dist/presentation/display/dataTable/DataTable.vue.d.ts +91 -0
- package/dist/presentation/display/dataTable/index.d.ts +1 -0
- package/dist/presentation/display/descriptionList/DescriptionList.vue.d.ts +54 -0
- package/dist/presentation/display/descriptionList/index.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +38 -0
- package/dist/presentation/display/diffViewer/index.d.ts +1 -0
- package/dist/presentation/display/emptyState/EmptyState.vue.d.ts +43 -0
- package/dist/presentation/display/emptyState/index.d.ts +1 -0
- package/dist/presentation/display/eventCalendar/AgendaView.vue.d.ts +13 -0
- package/dist/presentation/display/eventCalendar/EventCalendar.vue.d.ts +41 -0
- package/dist/presentation/display/eventCalendar/EventCalendarTypes.d.ts +28 -0
- package/dist/presentation/display/eventCalendar/MonthView.vue.d.ts +17 -0
- package/dist/presentation/display/eventCalendar/TimeGridView.vue.d.ts +18 -0
- package/dist/presentation/display/eventCalendar/index.d.ts +2 -0
- package/dist/presentation/display/eyebrow/Eyebrow.vue.d.ts +32 -0
- package/dist/presentation/display/eyebrow/index.d.ts +1 -0
- package/dist/presentation/display/featureCard/FeatureCard.vue.d.ts +83 -0
- package/dist/presentation/display/featureCard/index.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +19 -0
- package/dist/presentation/display/frameGlyph/index.d.ts +1 -0
- package/dist/presentation/display/gantt/Gantt.vue.d.ts +58 -0
- package/dist/presentation/display/gantt/index.d.ts +1 -0
- package/dist/presentation/display/gradientText/GradientText.vue.d.ts +54 -0
- package/dist/presentation/display/gradientText/index.d.ts +1 -0
- package/dist/presentation/display/heading/Heading.variants.d.ts +201 -0
- package/dist/presentation/display/heading/Heading.vue.d.ts +26 -0
- package/dist/presentation/display/heading/index.d.ts +2 -0
- package/dist/presentation/display/heatmapCalendar/HeatmapCalendar.vue.d.ts +61 -0
- package/dist/presentation/display/heatmapCalendar/index.d.ts +1 -0
- package/dist/presentation/display/highlight/Highlight.vue.d.ts +20 -0
- package/dist/presentation/display/highlight/index.d.ts +1 -0
- package/dist/presentation/display/image/Image.vue.d.ts +15 -0
- package/dist/presentation/display/image/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +73 -0
- package/dist/presentation/display/index.js +192 -0
- package/dist/presentation/display/index.js.map +1 -0
- package/dist/presentation/display/infoRow/InfoRow.vue.d.ts +39 -0
- package/dist/presentation/display/infoRow/index.d.ts +1 -0
- package/dist/presentation/display/kbd/Kbd.vue.d.ts +13 -0
- package/dist/presentation/display/kbd/index.d.ts +1 -0
- package/dist/presentation/display/keyboardShortcut/KeyboardShortcut.vue.d.ts +13 -0
- package/dist/presentation/display/keyboardShortcut/index.d.ts +1 -0
- package/dist/presentation/display/list/List.variants.d.ts +112 -0
- package/dist/presentation/display/list/List.vue.d.ts +23 -0
- package/dist/presentation/display/list/ListItem.vue.d.ts +23 -0
- package/dist/presentation/display/list/index.d.ts +3 -0
- package/dist/presentation/display/mark/Mark.vue.d.ts +13 -0
- package/dist/presentation/display/mark/index.d.ts +1 -0
- package/dist/presentation/display/marquee/Marquee.vue.d.ts +39 -0
- package/dist/presentation/display/marquee/index.d.ts +1 -0
- package/dist/presentation/display/messageList/DaySeparator.vue.d.ts +17 -0
- package/dist/presentation/display/messageList/MessageList.vue.d.ts +39 -0
- package/dist/presentation/display/messageList/index.d.ts +2 -0
- package/dist/presentation/display/metaInline/MetaInline.vue.d.ts +21 -0
- package/dist/presentation/display/metaInline/index.d.ts +1 -0
- package/dist/presentation/display/metricChip/MetricChip.vue.d.ts +54 -0
- package/dist/presentation/display/metricChip/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 +9 -0
- package/dist/presentation/display/moduleGlyphs/HorizontalBarsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/ModuleGlyphs.d.ts +15 -0
- package/dist/presentation/display/moduleGlyphs/VerticalBarsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/index.d.ts +5 -0
- package/dist/presentation/display/nodeEditor/NodeEditor.vue.d.ts +58 -0
- package/dist/presentation/display/nodeEditor/index.d.ts +1 -0
- package/dist/presentation/display/notificationDot/NotificationDot.vue.d.ts +47 -0
- package/dist/presentation/display/notificationDot/index.d.ts +1 -0
- package/dist/presentation/display/pdfViewer/PDFViewer.vue.d.ts +40 -0
- package/dist/presentation/display/pdfViewer/index.d.ts +1 -0
- package/dist/presentation/display/pricingCard/PricingCard.vue.d.ts +107 -0
- package/dist/presentation/display/pricingCard/index.d.ts +1 -0
- package/dist/presentation/display/quote/Quote.vue.d.ts +13 -0
- package/dist/presentation/display/quote/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/scheduleView/ScheduleView.vue.d.ts +58 -0
- package/dist/presentation/display/scheduleView/index.d.ts +1 -0
- package/dist/presentation/display/scrollReveal/ScrollReveal.vue.d.ts +50 -0
- package/dist/presentation/display/scrollReveal/index.d.ts +1 -0
- package/dist/presentation/display/sectionHeader/SectionHeader.vue.d.ts +49 -0
- package/dist/presentation/display/sectionHeader/index.d.ts +1 -0
- package/dist/presentation/display/separator/Separator.vue.d.ts +14 -0
- package/dist/presentation/display/separator/index.d.ts +1 -0
- package/dist/presentation/display/snippet/Snippet.vue.d.ts +21 -0
- package/dist/presentation/display/snippet/index.d.ts +1 -0
- package/dist/presentation/display/sortable/Sortable.vue.d.ts +18 -0
- package/dist/presentation/display/sortable/SortableContext.d.ts +22 -0
- package/dist/presentation/display/sortable/SortableHandle.vue.d.ts +14 -0
- package/dist/presentation/display/sortable/SortableItem.vue.d.ts +16 -0
- package/dist/presentation/display/sortable/index.d.ts +4 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +62 -0
- package/dist/presentation/display/sparkline/index.d.ts +1 -0
- package/dist/presentation/display/stat/Stat.vue.d.ts +48 -0
- package/dist/presentation/display/stat/index.d.ts +1 -0
- package/dist/presentation/display/status/Status.vue.d.ts +35 -0
- package/dist/presentation/display/status/index.d.ts +1 -0
- package/dist/presentation/display/stepCard/StepCard.vue.d.ts +85 -0
- package/dist/presentation/display/stepCard/index.d.ts +1 -0
- package/dist/presentation/display/swipeActions/SwipeActions.vue.d.ts +28 -0
- package/dist/presentation/display/swipeActions/index.d.ts +1 -0
- package/dist/presentation/display/table/Table.vue.d.ts +30 -0
- package/dist/presentation/display/table/TableBody.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableCaption.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableCell.vue.d.ts +14 -0
- package/dist/presentation/display/table/TableContext.d.ts +46 -0
- package/dist/presentation/display/table/TableFooter.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableHead.vue.d.ts +26 -0
- package/dist/presentation/display/table/TableHeaderCell.vue.d.ts +14 -0
- package/dist/presentation/display/table/TableRow.vue.d.ts +12 -0
- package/dist/presentation/display/table/index.d.ts +9 -0
- package/dist/presentation/display/tabs/Tabs.vue.d.ts +33 -0
- package/dist/presentation/display/tabs/TabsContext.d.ts +34 -0
- package/dist/presentation/display/tabs/TabsList.vue.d.ts +256 -0
- package/dist/presentation/display/tabs/TabsPanel.vue.d.ts +16 -0
- package/dist/presentation/display/tabs/TabsTab.vue.d.ts +20 -0
- package/dist/presentation/display/tabs/index.d.ts +5 -0
- package/dist/presentation/display/tag/Tag.variants.d.ts +84 -0
- package/dist/presentation/display/tag/Tag.vue.d.ts +25 -0
- package/dist/presentation/display/tag/index.d.ts +2 -0
- package/dist/presentation/display/text/Text.variants.d.ts +301 -0
- package/dist/presentation/display/text/Text.vue.d.ts +33 -0
- package/dist/presentation/display/text/index.d.ts +2 -0
- package/dist/presentation/display/threadView/ThreadView.vue.d.ts +46 -0
- package/dist/presentation/display/threadView/index.d.ts +1 -0
- package/dist/presentation/display/tilt/Tilt.vue.d.ts +31 -0
- package/dist/presentation/display/tilt/index.d.ts +1 -0
- package/dist/presentation/display/timeline/Timeline.vue.d.ts +19 -0
- package/dist/presentation/display/timeline/TimelineContext.d.ts +40 -0
- package/dist/presentation/display/timeline/TimelineDescription.vue.d.ts +14 -0
- package/dist/presentation/display/timeline/TimelineItem.vue.d.ts +22 -0
- package/dist/presentation/display/timeline/TimelineTitle.vue.d.ts +14 -0
- package/dist/presentation/display/timeline/index.d.ts +5 -0
- package/dist/presentation/display/tooltip/Tooltip.vue.d.ts +53 -0
- package/dist/presentation/display/tooltip/index.d.ts +1 -0
- package/dist/presentation/display/tree/Tree.vue.d.ts +275 -0
- package/dist/presentation/display/tree/TreeContext.d.ts +29 -0
- package/dist/presentation/display/tree/TreeGroup.vue.d.ts +28 -0
- package/dist/presentation/display/tree/TreeGroupContent.vue.d.ts +17 -0
- package/dist/presentation/display/tree/TreeItem.vue.d.ts +20 -0
- package/dist/presentation/display/tree/TreeNodeRow.vue.d.ts +27 -0
- package/dist/presentation/display/tree/index.d.ts +4 -0
- package/dist/presentation/display/typewriter/Typewriter.vue.d.ts +32 -0
- package/dist/presentation/display/typewriter/index.d.ts +1 -0
- package/dist/presentation/display/videoPlayer/VideoPlayer.vue.d.ts +55 -0
- package/dist/presentation/display/videoPlayer/index.d.ts +1 -0
- package/dist/presentation/feedback/alert/Alert.vue.d.ts +41 -0
- package/dist/presentation/feedback/alert/index.d.ts +1 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.variants.d.ts +61 -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 +41 -0
- package/dist/presentation/feedback/banner/index.d.ts +1 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.variants.d.ts +61 -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/feedbackToasts/FeedbackToasts.vue.d.ts +18 -0
- package/dist/presentation/feedback/feedbackToasts/index.d.ts +1 -0
- package/dist/presentation/feedback/index.d.ts +27 -0
- package/dist/presentation/feedback/index.js +49 -0
- package/dist/presentation/feedback/index.js.map +1 -0
- package/dist/presentation/feedback/inlineSpinner/InlineSpinner.vue.d.ts +22 -0
- package/dist/presentation/feedback/inlineSpinner/index.d.ts +1 -0
- package/dist/presentation/feedback/liveCursor/LiveCursor.vue.d.ts +33 -0
- package/dist/presentation/feedback/liveCursor/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingOverlay/LoadingOverlay.vue.d.ts +36 -0
- package/dist/presentation/feedback/loadingOverlay/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingState/LoadingState.vue.d.ts +26 -0
- package/dist/presentation/feedback/loadingState/index.d.ts +1 -0
- package/dist/presentation/feedback/meterBar/MeterBar.vue.d.ts +21 -0
- package/dist/presentation/feedback/meterBar/index.d.ts +1 -0
- package/dist/presentation/feedback/notificationCenter/NotificationCenter.vue.d.ts +30 -0
- package/dist/presentation/feedback/notificationCenter/NotificationItem.vue.d.ts +40 -0
- package/dist/presentation/feedback/notificationCenter/index.d.ts +2 -0
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklist.vue.d.ts +56 -0
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklistTask.vue.d.ts +27 -0
- package/dist/presentation/feedback/onboardingChecklist/index.d.ts +3 -0
- package/dist/presentation/feedback/presenceIndicator/PresenceIndicator.vue.d.ts +34 -0
- package/dist/presentation/feedback/presenceIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.variants.d.ts +104 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.vue.d.ts +19 -0
- package/dist/presentation/feedback/progressBar/index.d.ts +2 -0
- package/dist/presentation/feedback/progressCircle/ProgressCircle.vue.d.ts +21 -0
- package/dist/presentation/feedback/progressCircle/index.d.ts +1 -0
- package/dist/presentation/feedback/progressSteps/ProgressSteps.vue.d.ts +16 -0
- package/dist/presentation/feedback/progressSteps/index.d.ts +1 -0
- package/dist/presentation/feedback/skeleton/Skeleton.variants.d.ts +57 -0
- package/dist/presentation/feedback/skeleton/Skeleton.vue.d.ts +17 -0
- package/dist/presentation/feedback/skeleton/index.d.ts +2 -0
- package/dist/presentation/feedback/spinner/Spinner.variants.d.ts +115 -0
- package/dist/presentation/feedback/spinner/Spinner.vue.d.ts +17 -0
- package/dist/presentation/feedback/spinner/index.d.ts +2 -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 +41 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.variants.d.ts +61 -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/toaster/Toaster.vue.d.ts +84 -0
- package/dist/presentation/feedback/toaster/index.d.ts +1 -0
- package/dist/presentation/feedback/tour/Tour.vue.d.ts +45 -0
- package/dist/presentation/feedback/tour/index.d.ts +1 -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 +34 -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 +70 -0
- package/dist/presentation/forms/InputStyles.d.ts +228 -0
- package/dist/presentation/forms/MonthGrid.vue.d.ts +40 -0
- package/dist/presentation/forms/addressForm/AddressForm.vue.d.ts +54 -0
- package/dist/presentation/forms/addressForm/index.d.ts +1 -0
- package/dist/presentation/forms/calendar/Calendar.vue.d.ts +33 -0
- package/dist/presentation/forms/calendar/index.d.ts +1 -0
- package/dist/presentation/forms/characterCount/CharacterCount.vue.d.ts +15 -0
- package/dist/presentation/forms/characterCount/index.d.ts +1 -0
- package/dist/presentation/forms/chatComposer/ChatComposer.vue.d.ts +74 -0
- package/dist/presentation/forms/chatComposer/index.d.ts +1 -0
- package/dist/presentation/forms/checkbox/Checkbox.variants.d.ts +133 -0
- package/dist/presentation/forms/checkbox/Checkbox.vue.d.ts +48 -0
- package/dist/presentation/forms/checkbox/index.d.ts +2 -0
- package/dist/presentation/forms/checkboxField/CheckboxField.vue.d.ts +35 -0
- package/dist/presentation/forms/checkboxField/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroup.vue.d.ts +39 -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/choiceCard/ChoiceCard.vue.d.ts +35 -0
- package/dist/presentation/forms/choiceCard/index.d.ts +1 -0
- package/dist/presentation/forms/codeEditor/CodeEditor.vue.d.ts +50 -0
- package/dist/presentation/forms/codeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/colorArea/ColorArea.vue.d.ts +40 -0
- package/dist/presentation/forms/colorArea/index.d.ts +1 -0
- package/dist/presentation/forms/colorField/ColorField.vue.d.ts +44 -0
- package/dist/presentation/forms/colorField/index.d.ts +1 -0
- package/dist/presentation/forms/colorPicker/ColorPicker.vue.d.ts +62 -0
- package/dist/presentation/forms/colorPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorSlider/ColorSlider.vue.d.ts +47 -0
- package/dist/presentation/forms/colorSlider/index.d.ts +1 -0
- package/dist/presentation/forms/colorSwatch/ColorSwatch.variants.d.ts +186 -0
- package/dist/presentation/forms/colorSwatch/ColorSwatch.vue.d.ts +33 -0
- package/dist/presentation/forms/colorSwatch/index.d.ts +2 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchItem.vue.d.ts +27 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchPicker.vue.d.ts +41 -0
- package/dist/presentation/forms/colorSwatchPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorWheel/ColorWheel.vue.d.ts +34 -0
- package/dist/presentation/forms/colorWheel/index.d.ts +1 -0
- package/dist/presentation/forms/combobox/Combobox.vue.d.ts +60 -0
- package/dist/presentation/forms/combobox/ComboboxContent.vue.d.ts +39 -0
- package/dist/presentation/forms/combobox/ComboboxContext.d.ts +53 -0
- package/dist/presentation/forms/combobox/ComboboxEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/combobox/ComboboxGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/combobox/ComboboxInput.vue.d.ts +12 -0
- package/dist/presentation/forms/combobox/ComboboxItem.vue.d.ts +28 -0
- package/dist/presentation/forms/combobox/ComboboxSeparator.vue.d.ts +3 -0
- package/dist/presentation/forms/combobox/index.d.ts +8 -0
- package/dist/presentation/forms/cronInput/CronInput.vue.d.ts +68 -0
- package/dist/presentation/forms/cronInput/index.d.ts +1 -0
- package/dist/presentation/forms/currencyInput/CurrencyInput.vue.d.ts +12 -0
- package/dist/presentation/forms/currencyInput/index.d.ts +1 -0
- package/dist/presentation/forms/dateField/DateField.vue.d.ts +42 -0
- package/dist/presentation/forms/dateField/index.d.ts +1 -0
- package/dist/presentation/forms/datePicker/DatePicker.vue.d.ts +53 -0
- package/dist/presentation/forms/datePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateRangePicker/DateRangePicker.vue.d.ts +54 -0
- package/dist/presentation/forms/dateRangePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateTimeField/DateTimeField.vue.d.ts +42 -0
- package/dist/presentation/forms/dateTimeField/index.d.ts +1 -0
- package/dist/presentation/forms/editable/Editable.vue.d.ts +60 -0
- package/dist/presentation/forms/editable/EditableCancel.vue.d.ts +12 -0
- package/dist/presentation/forms/editable/EditableContext.d.ts +37 -0
- package/dist/presentation/forms/editable/EditableInput.vue.d.ts +12 -0
- package/dist/presentation/forms/editable/EditablePreview.vue.d.ts +7 -0
- package/dist/presentation/forms/editable/EditableSubmit.vue.d.ts +14 -0
- package/dist/presentation/forms/editable/index.d.ts +7 -0
- package/dist/presentation/forms/emailInput/EmailInput.vue.d.ts +43 -0
- package/dist/presentation/forms/emailInput/index.d.ts +1 -0
- package/dist/presentation/forms/emojiPicker/CategoryNav.vue.d.ts +19 -0
- package/dist/presentation/forms/emojiPicker/EmojiGrid.vue.d.ts +26 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.variants.d.ts +77 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/emojiPicker/EmojiPickerPopover.vue.d.ts +68 -0
- package/dist/presentation/forms/emojiPicker/EmojiTile.vue.d.ts +22 -0
- package/dist/presentation/forms/emojiPicker/index.d.ts +4 -0
- package/dist/presentation/forms/emojiPicker/useEmojiPicker.d.ts +45 -0
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.variants.d.ts +23 -0
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.vue.d.ts +32 -0
- package/dist/presentation/forms/emojiSizeControl/index.d.ts +2 -0
- package/dist/presentation/forms/field/Field.vue.d.ts +37 -0
- package/dist/presentation/forms/field/index.d.ts +6 -0
- package/dist/presentation/forms/fieldset/Fieldset.vue.d.ts +22 -0
- package/dist/presentation/forms/fieldset/index.d.ts +1 -0
- package/dist/presentation/forms/filePicker/FilePicker.vue.d.ts +34 -0
- package/dist/presentation/forms/filePicker/index.d.ts +1 -0
- package/dist/presentation/forms/fileUpload/FileUpload.vue.d.ts +60 -0
- package/dist/presentation/forms/fileUpload/index.d.ts +1 -0
- package/dist/presentation/forms/fontPicker/FontPicker.vue.d.ts +43 -0
- package/dist/presentation/forms/fontPicker/index.d.ts +1 -0
- package/dist/presentation/forms/formErrorMessage/FormErrorMessage.vue.d.ts +24 -0
- package/dist/presentation/forms/formErrorMessage/index.d.ts +1 -0
- package/dist/presentation/forms/formHelperText/FormHelperText.vue.d.ts +19 -0
- package/dist/presentation/forms/formHelperText/index.d.ts +1 -0
- package/dist/presentation/forms/gradientPicker/GradientPicker.vue.d.ts +50 -0
- package/dist/presentation/forms/gradientPicker/index.d.ts +1 -0
- package/dist/presentation/forms/iconPicker/IconPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/iconPicker/index.d.ts +1 -0
- package/dist/presentation/forms/index.d.ts +75 -0
- package/dist/presentation/forms/index.js +165 -0
- package/dist/presentation/forms/index.js.map +1 -0
- package/dist/presentation/forms/inputAddon/InputAddon.vue.d.ts +20 -0
- package/dist/presentation/forms/inputAddon/index.d.ts +1 -0
- package/dist/presentation/forms/inputGroup/InputGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/inputGroup/index.d.ts +1 -0
- package/dist/presentation/forms/jsonEditor/JSONEditor.vue.d.ts +49 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorContext.d.ts +28 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorHelpers.d.ts +6 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTextView.vue.d.ts +14 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeNode.vue.d.ts +15 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeView.vue.d.ts +8 -0
- package/dist/presentation/forms/jsonEditor/index.d.ts +2 -0
- package/dist/presentation/forms/keyboardShortcutPicker/KeyboardShortcutPicker.vue.d.ts +43 -0
- package/dist/presentation/forms/keyboardShortcutPicker/index.d.ts +1 -0
- package/dist/presentation/forms/knob/Knob.vue.d.ts +75 -0
- package/dist/presentation/forms/knob/index.d.ts +1 -0
- package/dist/presentation/forms/label/Label.vue.d.ts +34 -0
- package/dist/presentation/forms/label/index.d.ts +1 -0
- package/dist/presentation/forms/labeledInput/LabeledInput.vue.d.ts +23 -0
- package/dist/presentation/forms/labeledInput/index.d.ts +2 -0
- package/dist/presentation/forms/legend/Legend.vue.d.ts +21 -0
- package/dist/presentation/forms/legend/index.d.ts +1 -0
- package/dist/presentation/forms/listbox/Listbox.variants.d.ts +71 -0
- package/dist/presentation/forms/listbox/Listbox.vue.d.ts +70 -0
- package/dist/presentation/forms/listbox/ListboxContext.d.ts +47 -0
- package/dist/presentation/forms/listbox/ListboxEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/listbox/ListboxGroup.vue.d.ts +20 -0
- package/dist/presentation/forms/listbox/ListboxItem.vue.d.ts +24 -0
- package/dist/presentation/forms/listbox/ListboxSeparator.vue.d.ts +3 -0
- package/dist/presentation/forms/listbox/index.d.ts +7 -0
- package/dist/presentation/forms/markdownEditor/MarkdownEditor.vue.d.ts +73 -0
- package/dist/presentation/forms/markdownEditor/index.d.ts +1 -0
- package/dist/presentation/forms/maskedInput/MaskedInput.vue.d.ts +42 -0
- package/dist/presentation/forms/maskedInput/index.d.ts +1 -0
- package/dist/presentation/forms/multiSelect/MultiSelect.vue.d.ts +52 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContent.vue.d.ts +31 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContext.d.ts +38 -0
- package/dist/presentation/forms/multiSelect/MultiSelectItem.vue.d.ts +25 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTags.vue.d.ts +14 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTrigger.vue.d.ts +20 -0
- package/dist/presentation/forms/multiSelect/index.d.ts +6 -0
- package/dist/presentation/forms/numberInput/NumberInput.vue.d.ts +51 -0
- package/dist/presentation/forms/numberInput/index.d.ts +1 -0
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +48 -0
- package/dist/presentation/forms/passwordInput/index.d.ts +1 -0
- package/dist/presentation/forms/passwordStrength/PasswordStrength.vue.d.ts +16 -0
- package/dist/presentation/forms/passwordStrength/index.d.ts +1 -0
- package/dist/presentation/forms/percentInput/PercentInput.vue.d.ts +8 -0
- package/dist/presentation/forms/percentInput/index.d.ts +1 -0
- package/dist/presentation/forms/phoneInput/PhoneInput.vue.d.ts +45 -0
- package/dist/presentation/forms/phoneInput/index.d.ts +1 -0
- package/dist/presentation/forms/pinInput/PinInput.vue.d.ts +46 -0
- package/dist/presentation/forms/pinInput/index.d.ts +1 -0
- package/dist/presentation/forms/radio/Radio.vue.d.ts +35 -0
- package/dist/presentation/forms/radio/index.d.ts +1 -0
- package/dist/presentation/forms/radioField/RadioField.vue.d.ts +35 -0
- package/dist/presentation/forms/radioField/index.d.ts +1 -0
- package/dist/presentation/forms/radioGroup/RadioGroup.vue.d.ts +41 -0
- package/dist/presentation/forms/radioGroup/RadioGroupContext.d.ts +16 -0
- package/dist/presentation/forms/radioGroup/index.d.ts +2 -0
- package/dist/presentation/forms/rangeCalendar/RangeCalendar.vue.d.ts +37 -0
- package/dist/presentation/forms/rangeCalendar/index.d.ts +1 -0
- package/dist/presentation/forms/reactionPicker/ReactionPicker.vue.d.ts +32 -0
- package/dist/presentation/forms/reactionPicker/index.d.ts +1 -0
- package/dist/presentation/forms/recurrenceEditor/RecurrenceEditor.vue.d.ts +88 -0
- package/dist/presentation/forms/recurrenceEditor/index.d.ts +1 -0
- package/dist/presentation/forms/searchInput/SearchInput.vue.d.ts +48 -0
- package/dist/presentation/forms/searchInput/index.d.ts +1 -0
- package/dist/presentation/forms/select/Select.variants.d.ts +263 -0
- package/dist/presentation/forms/select/Select.vue.d.ts +69 -0
- package/dist/presentation/forms/select/SelectContent.vue.d.ts +44 -0
- package/dist/presentation/forms/select/SelectContext.d.ts +76 -0
- package/dist/presentation/forms/select/SelectItem.vue.d.ts +33 -0
- package/dist/presentation/forms/select/SelectTrigger.vue.d.ts +21 -0
- package/dist/presentation/forms/select/SelectValue.vue.d.ts +22 -0
- package/dist/presentation/forms/select/index.d.ts +7 -0
- package/dist/presentation/forms/slider/Slider.vue.d.ts +38 -0
- package/dist/presentation/forms/slider/index.d.ts +1 -0
- package/dist/presentation/forms/stepper/Stepper.vue.d.ts +34 -0
- package/dist/presentation/forms/stepper/StepperContext.d.ts +44 -0
- package/dist/presentation/forms/stepper/StepperList.vue.d.ts +256 -0
- package/dist/presentation/forms/stepper/StepperPanel.vue.d.ts +16 -0
- package/dist/presentation/forms/stepper/StepperStep.vue.d.ts +23 -0
- package/dist/presentation/forms/stepper/index.d.ts +5 -0
- package/dist/presentation/forms/switch/Switch.vue.d.ts +35 -0
- package/dist/presentation/forms/switch/index.d.ts +1 -0
- package/dist/presentation/forms/switchField/SwitchField.vue.d.ts +33 -0
- package/dist/presentation/forms/switchField/index.d.ts +1 -0
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +75 -0
- package/dist/presentation/forms/tagsInput/index.d.ts +1 -0
- package/dist/presentation/forms/telInput/TelInput.vue.d.ts +43 -0
- package/dist/presentation/forms/telInput/index.d.ts +1 -0
- package/dist/presentation/forms/textAreaInput/TextAreaInput.vue.d.ts +46 -0
- package/dist/presentation/forms/textAreaInput/index.d.ts +1 -0
- package/dist/presentation/forms/textInput/TextInput.vue.d.ts +43 -0
- package/dist/presentation/forms/textInput/index.d.ts +1 -0
- package/dist/presentation/forms/timeField/TimeField.vue.d.ts +38 -0
- package/dist/presentation/forms/timeField/index.d.ts +1 -0
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +50 -0
- package/dist/presentation/forms/timePicker/index.d.ts +1 -0
- package/dist/presentation/forms/urlInput/UrlInput.vue.d.ts +43 -0
- package/dist/presentation/forms/urlInput/index.d.ts +1 -0
- package/dist/presentation/forms/wizard/Wizard.vue.d.ts +38 -0
- package/dist/presentation/forms/wizard/WizardContext.d.ts +38 -0
- package/dist/presentation/forms/wizard/WizardFooter.vue.d.ts +29 -0
- package/dist/presentation/forms/wizard/WizardStep.vue.d.ts +29 -0
- package/dist/presentation/forms/wizard/WizardSteps.vue.d.ts +7 -0
- package/dist/presentation/forms/wizard/index.d.ts +6 -0
- package/dist/presentation/layout/appShell/AppShell.vue.d.ts +90 -0
- package/dist/presentation/layout/appShell/AppShellAside.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellContent.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellFooter.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellHeader.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellSidebar.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/index.d.ts +7 -0
- package/dist/presentation/layout/aspectRatio/AspectRatio.vue.d.ts +18 -0
- package/dist/presentation/layout/aspectRatio/index.d.ts +1 -0
- package/dist/presentation/layout/box/Box.vue.d.ts +19 -0
- package/dist/presentation/layout/box/index.d.ts +1 -0
- package/dist/presentation/layout/center/Center.vue.d.ts +13 -0
- package/dist/presentation/layout/center/index.d.ts +1 -0
- package/dist/presentation/layout/cluster/Cluster.vue.d.ts +22 -0
- package/dist/presentation/layout/cluster/index.d.ts +1 -0
- package/dist/presentation/layout/container/Container.variants.d.ts +84 -0
- package/dist/presentation/layout/container/Container.vue.d.ts +21 -0
- package/dist/presentation/layout/container/index.d.ts +2 -0
- package/dist/presentation/layout/controlGroup/ControlGroup.variants.d.ts +136 -0
- package/dist/presentation/layout/controlGroup/ControlGroup.vue.d.ts +35 -0
- package/dist/presentation/layout/controlGroup/index.d.ts +2 -0
- package/dist/presentation/layout/divider/Divider.variants.d.ts +47 -0
- package/dist/presentation/layout/divider/Divider.vue.d.ts +38 -0
- package/dist/presentation/layout/divider/index.d.ts +2 -0
- package/dist/presentation/layout/flex/Flex.vue.d.ts +18 -0
- package/dist/presentation/layout/flex/index.d.ts +1 -0
- package/dist/presentation/layout/frame/Frame.vue.d.ts +38 -0
- package/dist/presentation/layout/frame/index.d.ts +1 -0
- package/dist/presentation/layout/grid/Grid.variants.d.ts +193 -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/hStack/HStack.vue.d.ts +14 -0
- package/dist/presentation/layout/hStack/index.d.ts +1 -0
- package/dist/presentation/layout/index.d.ts +24 -0
- package/dist/presentation/layout/index.js +64 -0
- package/dist/presentation/layout/index.js.map +1 -0
- package/dist/presentation/layout/inline/Inline.vue.d.ts +42 -0
- package/dist/presentation/layout/inline/index.d.ts +1 -0
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +86 -0
- package/dist/presentation/layout/navbar/Navbar.vue.d.ts +43 -0
- package/dist/presentation/layout/navbar/index.d.ts +2 -0
- package/dist/presentation/layout/overlay/Overlay.variants.d.ts +231 -0
- package/dist/presentation/layout/overlay/Overlay.vue.d.ts +64 -0
- package/dist/presentation/layout/overlay/index.d.ts +2 -0
- package/dist/presentation/layout/pullToRefresh/PullToRefresh.vue.d.ts +22 -0
- package/dist/presentation/layout/pullToRefresh/index.d.ts +1 -0
- package/dist/presentation/layout/resizablePanels/ResizablePanel.vue.d.ts +21 -0
- package/dist/presentation/layout/resizablePanels/ResizablePanels.vue.d.ts +59 -0
- package/dist/presentation/layout/resizablePanels/ResizableSeparator.vue.d.ts +10 -0
- package/dist/presentation/layout/resizablePanels/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 +76 -0
- package/dist/presentation/layout/section/Section.vue.d.ts +33 -0
- package/dist/presentation/layout/section/index.d.ts +2 -0
- package/dist/presentation/layout/spacer/Spacer.vue.d.ts +15 -0
- package/dist/presentation/layout/spacer/index.d.ts +1 -0
- package/dist/presentation/layout/stack/Stack.variants.d.ts +330 -0
- package/dist/presentation/layout/stack/Stack.vue.d.ts +37 -0
- package/dist/presentation/layout/stack/index.d.ts +2 -0
- package/dist/presentation/layout/surface/Surface.vue.d.ts +39 -0
- package/dist/presentation/layout/surface/index.d.ts +1 -0
- package/dist/presentation/layout/twoColumn/TwoColumn.vue.d.ts +28 -0
- package/dist/presentation/layout/twoColumn/index.d.ts +1 -0
- package/dist/presentation/layout/vStack/VStack.vue.d.ts +14 -0
- package/dist/presentation/layout/vStack/index.d.ts +1 -0
- package/dist/presentation/nav/NavHelpers.d.ts +11 -0
- package/dist/presentation/nav/breadcrumb/Breadcrumb.vue.d.ts +27 -0
- package/dist/presentation/nav/breadcrumb/index.d.ts +1 -0
- package/dist/presentation/nav/commandPalette/CommandPalette.vue.d.ts +53 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteContent.vue.d.ts +17 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteContext.d.ts +42 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteEmpty.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteGroup.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteInput.vue.d.ts +14 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteItem.vue.d.ts +36 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteList.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteSeparator.vue.d.ts +12 -0
- package/dist/presentation/nav/commandPalette/index.d.ts +9 -0
- package/dist/presentation/nav/contextMenu/ContextMenu.vue.d.ts +18 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContent.vue.d.ts +29 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContext.d.ts +20 -0
- package/dist/presentation/nav/contextMenu/ContextMenuTrigger.vue.d.ts +27 -0
- package/dist/presentation/nav/contextMenu/index.d.ts +4 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenu.vue.d.ts +44 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContent.vue.d.ts +20 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContext.d.ts +28 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuTrigger.vue.d.ts +24 -0
- package/dist/presentation/nav/dropdownMenu/index.d.ts +4 -0
- package/dist/presentation/nav/index.d.ts +11 -0
- package/dist/presentation/nav/index.js +62 -0
- package/dist/presentation/nav/index.js.map +1 -0
- package/dist/presentation/nav/menu/Menu.variants.d.ts +61 -0
- package/dist/presentation/nav/menu/Menu.vue.d.ts +65 -0
- package/dist/presentation/nav/menu/MenuContext.d.ts +25 -0
- package/dist/presentation/nav/menu/MenuGroup.vue.d.ts +19 -0
- package/dist/presentation/nav/menu/MenuItem.vue.d.ts +33 -0
- package/dist/presentation/nav/menu/MenuLabel.vue.d.ts +20 -0
- package/dist/presentation/nav/menu/MenuSeparator.vue.d.ts +12 -0
- package/dist/presentation/nav/menu/index.d.ts +7 -0
- package/dist/presentation/nav/menubar/Menubar.variants.d.ts +6 -0
- package/dist/presentation/nav/menubar/Menubar.vue.d.ts +274 -0
- package/dist/presentation/nav/menubar/MenubarContent.vue.d.ts +30 -0
- package/dist/presentation/nav/menubar/MenubarContext.d.ts +34 -0
- package/dist/presentation/nav/menubar/MenubarMenu.vue.d.ts +14 -0
- package/dist/presentation/nav/menubar/MenubarTrigger.vue.d.ts +20 -0
- package/dist/presentation/nav/menubar/index.d.ts +5 -0
- package/dist/presentation/nav/navItem/NavItem.vue.d.ts +30 -0
- package/dist/presentation/nav/navItem/index.d.ts +1 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenu.vue.d.ts +33 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContent.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContext.d.ts +24 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuItem.vue.d.ts +16 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuLink.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuList.vue.d.ts +262 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuTrigger.vue.d.ts +20 -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 +31 -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/tableOfContents/TableOfContents.vue.d.ts +41 -0
- package/dist/presentation/nav/tableOfContents/index.d.ts +1 -0
- package/dist/presentation/overlays/OverlayBody.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayChrome.d.ts +9 -0
- package/dist/presentation/overlays/OverlayCloseButton.vue.d.ts +24 -0
- package/dist/presentation/overlays/OverlayDescription.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayFooter.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayHeader.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayHelpers.d.ts +11 -0
- package/dist/presentation/overlays/OverlayTitle.vue.d.ts +20 -0
- package/dist/presentation/overlays/actionSheet/ActionSheet.vue.d.ts +52 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetAction.vue.d.ts +29 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetCancel.vue.d.ts +19 -0
- package/dist/presentation/overlays/actionSheet/index.d.ts +4 -0
- package/dist/presentation/overlays/alertModal/AlertModal.vue.d.ts +28 -0
- package/dist/presentation/overlays/alertModal/AlertModalAction.vue.d.ts +24 -0
- package/dist/presentation/overlays/alertModal/AlertModalCancel.vue.d.ts +19 -0
- package/dist/presentation/overlays/alertModal/AlertModalContent.vue.d.ts +15 -0
- package/dist/presentation/overlays/alertModal/index.d.ts +12 -0
- package/dist/presentation/overlays/backdrop/Backdrop.vue.d.ts +40 -0
- package/dist/presentation/overlays/backdrop/index.d.ts +1 -0
- package/dist/presentation/overlays/bottomSheet/BottomSheet.vue.d.ts +79 -0
- package/dist/presentation/overlays/bottomSheet/index.d.ts +3 -0
- package/dist/presentation/overlays/drawer/Drawer.vue.d.ts +68 -0
- package/dist/presentation/overlays/drawer/DrawerContent.vue.d.ts +54 -0
- package/dist/presentation/overlays/drawer/DrawerTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/drawer/index.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +68 -0
- package/dist/presentation/overlays/hoverCard/HoverCardArrow.vue.d.ts +10 -0
- package/dist/presentation/overlays/hoverCard/HoverCardContent.vue.d.ts +20 -0
- package/dist/presentation/overlays/hoverCard/HoverCardTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/hoverCard/index.d.ts +4 -0
- package/dist/presentation/overlays/index.d.ts +8 -0
- package/dist/presentation/overlays/index.js +62 -0
- package/dist/presentation/overlays/index.js.map +1 -0
- package/dist/presentation/overlays/modal/Modal.vue.d.ts +75 -0
- package/dist/presentation/overlays/modal/ModalContent.vue.d.ts +38 -0
- package/dist/presentation/overlays/modal/ModalTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/modal/index.d.ts +22 -0
- package/dist/presentation/overlays/popover/Popover.vue.d.ts +70 -0
- package/dist/presentation/overlays/popover/PopoverArrow.vue.d.ts +10 -0
- package/dist/presentation/overlays/popover/PopoverContent.vue.d.ts +34 -0
- package/dist/presentation/overlays/popover/PopoverTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/popover/index.d.ts +4 -0
- package/dist/query/CreateQueryClient.d.ts +19 -0
- package/dist/query/Devtools.vue.d.ts +10 -0
- package/dist/query/Endpoints.d.ts +14 -0
- package/dist/query/PageHelpers.d.ts +10 -0
- package/dist/query/Persistence.d.ts +40 -0
- package/dist/query/QueryPlugin.d.ts +14 -0
- package/dist/query/QueryProgressBridge.d.ts +16 -0
- package/dist/query/QueryProvider.vue.d.ts +17 -0
- package/dist/query/QueryTestUtils.d.ts +54 -0
- package/dist/query/ToApiError.d.ts +7 -0
- package/dist/query/UseAppInfiniteQuery.d.ts +45 -0
- package/dist/query/UseAppLazyQuery.d.ts +40 -0
- package/dist/query/UseAppMutation.d.ts +32 -0
- package/dist/query/UseAppPaginatedQuery.d.ts +39 -0
- package/dist/query/UseAppQueries.d.ts +43 -0
- package/dist/query/UseAppQuery.d.ts +38 -0
- package/dist/query/UseAppSuspenseQuery.d.ts +42 -0
- package/dist/query/UseOptimisticMutation.d.ts +25 -0
- package/dist/query/UsePrefetchQuery.d.ts +26 -0
- package/dist/query/UseQueryCache.d.ts +31 -0
- package/dist/query/index.d.ts +19 -0
- package/dist/query/index.js +461 -0
- package/dist/query/index.js.map +1 -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/router/AppErrorBoundary.vue.d.ts +26 -0
- package/dist/router/AppNavLink.vue.d.ts +40 -0
- package/dist/router/CreateAppRouter.d.ts +65 -0
- package/dist/router/DocumentMeta.d.ts +9 -0
- package/dist/router/DocumentTitle.d.ts +18 -0
- package/dist/router/Guards.d.ts +29 -0
- package/dist/router/LazyRoute.d.ts +16 -0
- package/dist/router/NavigationProgress.vue.d.ts +19 -0
- package/dist/router/NavigationProgressModes.d.ts +18 -0
- package/dist/router/NotFound.vue.d.ts +10 -0
- package/dist/router/PageViewTracker.d.ts +23 -0
- package/dist/router/Paths.d.ts +18 -0
- package/dist/router/ProgressProvider.vue.d.ts +19 -0
- package/dist/router/RouteAnnouncer.vue.d.ts +10 -0
- package/dist/router/RouteConfig.d.ts +82 -0
- package/dist/router/RouteHandles.d.ts +24 -0
- package/dist/router/RoutePersistence.d.ts +21 -0
- package/dist/router/UseBreadcrumbs.d.ts +17 -0
- package/dist/router/UseNavigationBlocker.d.ts +41 -0
- package/dist/router/UseNavigationProgress.d.ts +32 -0
- package/dist/router/UsePrefetch.d.ts +19 -0
- package/dist/router/UseRouteNavigating.d.ts +15 -0
- package/dist/router/UseTypedSearchParams.d.ts +17 -0
- package/dist/router/index.d.ts +23 -0
- package/dist/router/index.js +711 -0
- package/dist/router/index.js.map +1 -0
- package/dist/themes.css +15374 -0
- package/dist/themes.json +2898 -0
- package/package.json +432 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/foundation/crypto/WebCrypto.ts","../../../src/foundation/crypto/Encoding.ts","../../../src/foundation/crypto/Digest.ts","../../../src/foundation/crypto/Random.ts","../../../src/foundation/crypto/TimingSafeEqual.ts","../../../src/foundation/crypto/HashObject.ts"],"sourcesContent":["// Web Crypto resolution + capability probes — the single place this slice reads the ambient\n// `globalThis.crypto`. Isolated for two reasons.\n//\n// 1. The two capabilities fail INDEPENDENTLY, so they must be probed separately. `crypto.getRandomValues`\n// is available in every modern runtime, secure context or not; `crypto.subtle` is available ONLY in a\n// secure context (https, localhost, or a file/extension origin) and is `undefined` on a plain `http://`\n// page served from a LAN IP — a setup that looks fine in dev and breaks on a staging box. Collapsing\n// both into one \"crypto available\" flag would report random-byte generation as broken whenever digests\n// are, and vice versa.\n// 2. The global is read at CALL time, never cached at module scope. Caching would freeze an `undefined`\n// captured during SSR/hydration into the module for the page's lifetime, and would block a test from\n// stubbing `globalThis.crypto` to exercise a failure path.\n//\n// SSR contract for the whole slice, stated once here and echoed on each consumer: the pure helpers\n// (`Encoding`, `timingSafeEqual`) never touch this file and run anywhere — SSR, workers, insecure origins.\n// The digest and random helpers THROW at the call site when their capability is missing, rather than\n// returning a sentinel: a silently unhashed value or a non-random \"random\" byte is a security defect that\n// a fallback would hide, so failing loudly is the only safe default. Callers that must branch instead of\n// catch use `isCryptoAvailable()` / `isSubtleAvailable()`.\n\n/** Reads the ambient Web Crypto object, or `undefined` when the runtime has none (older SSR hosts, sandboxes). */\nfunction resolveCrypto(): Crypto | undefined {\n // Widened through an optional-property view: `globalThis.crypto` is typed non-optional by lib.dom, so a\n // direct `=== undefined` check would be a TS2367 \"no overlap\" error even though it is exactly the case\n // this function exists to handle.\n return (globalThis as { crypto?: Crypto }).crypto;\n}\n\n/** Reads the ambient `SubtleCrypto`, or `undefined` when absent — no Web Crypto at all, or an insecure context. */\nfunction resolveSubtle(): SubtleCrypto | undefined {\n const source = resolveCrypto();\n if (source === undefined) return undefined;\n\n // Same widening rationale as `resolveCrypto`: `Crypto.subtle` is typed non-optional but is genuinely\n // absent outside a secure context.\n return (source as { subtle?: SubtleCrypto }).subtle;\n}\n\n/**\n * Reports whether `crypto.getRandomValues` can be called — i.e. whether {@link randomBytes} and\n * {@link randomString} will succeed. True in every browser and in Node 19+, including insecure contexts.\n */\nexport function isCryptoAvailable(): boolean {\n return typeof resolveCrypto()?.getRandomValues === 'function';\n}\n\n/**\n * Reports whether `crypto.subtle` can be called — i.e. whether the digest helpers will succeed. False\n * outside a **secure context** (plain `http://` on a non-localhost host) even when {@link isCryptoAvailable}\n * is true. Probe this before offering a hash-dependent feature rather than catching the throw.\n */\nexport function isSubtleAvailable(): boolean {\n return typeof resolveSubtle()?.digest === 'function';\n}\n\n/** Returns the ambient `Crypto`, throwing a diagnostic `Error` when unavailable. Internal — not exported from the barrel. */\nexport function requireCrypto(): Crypto {\n const source = resolveCrypto();\n if (source === undefined || typeof source.getRandomValues !== 'function') {\n throw new Error(\n 'Web Crypto is unavailable: `globalThis.crypto.getRandomValues` is not a function. This runtime ' +\n 'cannot produce cryptographically secure bytes — guard the call with `isCryptoAvailable()`.',\n );\n }\n\n return source;\n}\n\n/** Returns the ambient `SubtleCrypto`, throwing a diagnostic `Error` when unavailable. Internal — not exported from the barrel. */\nexport function requireSubtle(): SubtleCrypto {\n const subtle = resolveSubtle();\n if (subtle === undefined || typeof subtle.digest !== 'function') {\n throw new Error(\n 'Web Crypto `subtle` is unavailable: `globalThis.crypto.subtle` is undefined. `crypto.subtle` is ' +\n 'exposed only in a secure context (https, localhost, or a file/extension origin) — an `http://` ' +\n 'page on a LAN host has `crypto.getRandomValues` but no `subtle`. Guard with `isSubtleAvailable()`.',\n );\n }\n\n return subtle;\n}\n","// Byte <-> text codecs: hex, base64, base64url, UTF-8. Pure and synchronous, touching no Web Crypto at\n// all — so every helper here runs under SSR, in a worker, and on an insecure origin, unlike the digest and\n// random helpers. This is the slice's floor: a digest returns bytes, and bytes are unreadable until one of\n// these renders them (ETag header, cache key, checksum shown to a user).\n//\n// Decisions worth stating:\n// - Decoders are STRICT — malformed input throws a `TypeError`, never a best-effort result. A digest that\n// silently mis-decodes compares unequal forever and the bug surfaces far from its cause; a throw is\n// found on the first run. Both `hexToBytes` and `base64ToBytes` validate the full string shape BEFORE\n// any conversion, so a partial result is never produced.\n// - base64url is a first-class pair, not a `.replace()` applied to base64 output at each call site. JWT\n// segments, URL query values, and filename-safe keys all need `-_` and no `=`, and the padding handling\n// is exactly where the hand-rolled version goes wrong.\n// - `btoa`/`atob` do the base64 work rather than a hand-rolled table: both are present in every runtime we\n// target (browsers, Node 16+, workers, Deno/Bun) and are far faster than a JS loop. Their leniency is\n// what the validation above wraps — by the time they are called the input is known-good.\n// - `bytesToBase64` chunks its input. `String.fromCharCode(...bytes)` on a multi-MB array overflows the\n// argument stack (`RangeError: Maximum call stack size exceeded`) — a bug that only appears on large\n// files, i.e. in production.\n// - `bytesToUtf8` is LENIENT: invalid sequences become U+FFFD, `TextDecoder`'s default. That matches what\n// a caller rendering a payload expects. It also makes UTF-8 a lossy round-trip for arbitrary binary by\n// definition — hash bytes must go through hex or base64, never through this.\n\n/** Precomputed byte -> 2-char lowercase hex, so `bytesToHex` is a table lookup rather than a per-byte `toString(16).padStart`. */\nconst HEX_BY_BYTE = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n\n/** Matches an even-length run of hex digits (either case), including the empty string. */\nconst HEX_STRING = /^(?:[0-9a-fA-F]{2})*$/;\n\n/**\n * Matches canonical standard base64: whole 4-char groups, then an optional 2- or 3-char tail with correct\n * padding. Rejects a lone trailing char (`{4}n+1` is not a reachable length), over-padding (`YQ===`), and\n * any character outside the standard alphabet — including whitespace and the base64url `-_`.\n */\nconst BASE64_STRING = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=?)?$/;\n\n/** The base64url counterpart of {@link BASE64_STRING} — `-_` in place of `+/`. Padding is tolerated on input though never emitted. */\nconst BASE64URL_STRING = /^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2}(?:==)?|[A-Za-z0-9_-]{3}=?)?$/;\n\n/** Largest slice fed to `String.fromCharCode(...)` at once — keeps the spread well under the engine argument limit. */\nconst FROM_CHAR_CODE_CHUNK = 0x8000;\n\n/** Shared UTF-8 encoder. `TextEncoder` is part of the Encoding standard, present in every target runtime (including SSR), so module-scope construction is safe. */\nconst UTF8_ENCODER = new TextEncoder();\n\n/** Shared UTF-8 decoder, lenient by default — see the file header on why `fatal` is not set. */\nconst UTF8_DECODER = new TextDecoder();\n\n/**\n * Renders bytes as a lowercase hex string (2 chars per byte, no separator) — the canonical way to show a\n * digest, an ETag, or a checksum. Inverse of {@link hexToBytes}.\n */\nexport function bytesToHex(bytes: Uint8Array): string {\n let hex = '';\n for (const byte of bytes) hex += HEX_BY_BYTE[byte]!;\n return hex;\n}\n\n/**\n * Parses a hex string into bytes, accepting either case. **Throws a `TypeError`** when the input has an odd\n * length or contains a non-hex character — a half-parsed digest is never returned. Inverse of\n * {@link bytesToHex}.\n */\nexport function hexToBytes(hex: string): Uint8Array {\n if (!HEX_STRING.test(hex)) {\n throw new TypeError(\n `hexToBytes: expected an even-length string of hex digits, got \"${hex}\" (length ${hex.length}).`,\n );\n }\n\n const bytes = new Uint8Array(hex.length / 2);\n for (let i = 0; i < bytes.length; i++) {\n bytes[i] = Number.parseInt(hex.slice(i * 2, i * 2 + 2), 16);\n }\n\n return bytes;\n}\n\n/**\n * Encodes bytes as standard, padded base64 (`+`, `/`, `=`). Safe for arbitrarily large inputs — the source\n * is walked in chunks. Inverse of {@link base64ToBytes}; for URL or JWT contexts use\n * {@link bytesToBase64Url}.\n */\nexport function bytesToBase64(bytes: Uint8Array): string {\n let binary = '';\n for (let offset = 0; offset < bytes.length; offset += FROM_CHAR_CODE_CHUNK) {\n binary += String.fromCharCode(...bytes.subarray(offset, offset + FROM_CHAR_CODE_CHUNK));\n }\n\n return btoa(binary);\n}\n\n/**\n * Decodes standard base64 into bytes. Padding may be present or omitted, but the string must otherwise be\n * canonical: **throws a `TypeError`** on any character outside `A-Za-z0-9+/=` (whitespace and the base64url\n * `-_` included), on over-padding, and on an impossible length. Inverse of {@link bytesToBase64}.\n */\nexport function base64ToBytes(base64: string): Uint8Array {\n if (!BASE64_STRING.test(base64)) {\n throw new TypeError(\n `base64ToBytes: expected a canonical standard-base64 string (alphabet A-Za-z0-9+/ with optional ` +\n `= padding), got \"${base64}\".`,\n );\n }\n\n const binary = atob(base64);\n const bytes = new Uint8Array(binary.length);\n for (let i = 0; i < bytes.length; i++) bytes[i] = binary.charCodeAt(i);\n\n return bytes;\n}\n\n/**\n * Encodes bytes as **unpadded** base64url (RFC 4648 §5) — `-_` in place of `+/`, no `=`. This is the form a\n * JWT segment, a URL query value, and a filename-safe cache key all require. Inverse of\n * {@link base64UrlToBytes}.\n */\nexport function bytesToBase64Url(bytes: Uint8Array): string {\n return bytesToBase64(bytes).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n}\n\n/**\n * Decodes base64url into bytes, tolerating the padding that {@link bytesToBase64Url} never emits (some\n * producers add it). **Throws a `TypeError`** on any character outside `A-Za-z0-9-_=` — notably on the\n * standard-base64 `+` and `/`, which signal that {@link base64ToBytes} was the intended decoder.\n */\nexport function base64UrlToBytes(base64Url: string): Uint8Array {\n if (!BASE64URL_STRING.test(base64Url)) {\n throw new TypeError(\n `base64UrlToBytes: expected a base64url string (alphabet A-Za-z0-9-_ with optional = padding), got ` +\n `\"${base64Url}\".`,\n );\n }\n\n const standard = base64Url.replace(/-/g, '+').replace(/_/g, '/');\n\n // Re-pad to a 4-char boundary: `atob` accepts unpadded input, but re-padding keeps this on the exact\n // path `base64ToBytes` validates rather than relying on that leniency.\n const padding = standard.length % 4 === 0 ? '' : '='.repeat(4 - (standard.length % 4));\n\n return base64ToBytes(standard + padding);\n}\n\n/** Encodes a string to its UTF-8 bytes — the normalization every digest of a string goes through. Inverse of {@link bytesToUtf8}. */\nexport function utf8ToBytes(text: string): Uint8Array {\n return UTF8_ENCODER.encode(text);\n}\n\n/**\n * Decodes UTF-8 bytes back to a string. **Lenient**: an invalid sequence becomes U+FFFD rather than\n * throwing, so this is lossy for arbitrary binary — render digest bytes with {@link bytesToHex} or\n * {@link bytesToBase64} instead. Inverse of {@link utf8ToBytes} for any real text.\n */\nexport function bytesToUtf8(bytes: Uint8Array): string {\n return UTF8_DECODER.decode(bytes);\n}\n","// Cryptographic digests over `crypto.subtle`. Async and non-negotiably so — `SubtleCrypto.digest` returns a\n// promise, and there is no synchronous hash in the platform. A caller that needs a hash inside a render pass\n// must compute it in an effect and hold the result in state; do not go looking for a sync variant.\n//\n// Decisions worth stating:\n// - The input type is widened to `string | ArrayBuffer | Uint8Array` and normalized here, because every\n// call site otherwise repeats the same `new TextEncoder().encode(...)` line and they eventually disagree\n// about encoding. Strings are always UTF-8 — the only encoding that makes a digest reproducible across a\n// JS client and a .NET backend computing the same hash.\n// - Bytes are returned, not hex. A digest's natural type is bytes: `timingSafeEqual` consumes them\n// directly, and the caller picks the rendering (`bytesToHex` for an ETag, `bytesToBase64` for a\n// `Content-Digest` header). `sha256Hex` exists because hex is the common case and chaining two calls for\n// it is noise.\n// - SHA-1 is exposed despite being broken for signatures. It is still the correct tool for a non-adversarial\n// checksum and, more to the point, for interoperating with systems that already speak it (git object ids,\n// legacy ETags). Its JSDoc says so; picking it for anything security-bearing is the call site's error.\n// - `crypto.subtle` is absent outside a secure context, so every function here throws at the call site when\n// it is missing — see `WebCrypto.ts` for the full contract and `isSubtleAvailable()` for the probe.\n\nimport { bytesToHex, utf8ToBytes } from './Encoding';\nimport { requireSubtle } from './WebCrypto';\n\n/** Accepted digest input: a UTF-8-encoded string, a raw `ArrayBuffer`, or an existing byte view. */\nexport type BinaryInput = string | ArrayBuffer | Uint8Array;\n\n/** A hash algorithm `crypto.subtle.digest` implements. SHA-256 is the default choice; SHA-1 is checksum/interop only. */\nexport type DigestAlgorithm = 'SHA-1' | 'SHA-256' | 'SHA-384' | 'SHA-512';\n\n/** Normalizes any {@link BinaryInput} to bytes; strings become UTF-8. Internal — not exported from the barrel. */\nexport function toBytes(data: BinaryInput): Uint8Array {\n if (typeof data === 'string') return utf8ToBytes(data);\n if (data instanceof Uint8Array) return data;\n return new Uint8Array(data);\n}\n\n/**\n * Hashes `data` with the named algorithm and resolves to the raw digest bytes — the general form the named\n * helpers below wrap. **Throws** synchronously when `crypto.subtle` is unavailable (insecure context).\n */\nexport async function digest(algorithm: DigestAlgorithm, data: BinaryInput): Promise<Uint8Array> {\n const subtle = requireSubtle();\n\n // TS 5.7 made `Uint8Array` generic over its backing buffer and narrowed `BufferSource` to\n // `ArrayBufferView<ArrayBuffer>`, which excludes the `SharedArrayBuffer`-backed views the default\n // `Uint8Array<ArrayBufferLike>` still admits. `subtle.digest` reads any byte view at runtime, so this\n // widens the static type without changing behaviour — and without narrowing what callers may pass in.\n const hashed = await subtle.digest(algorithm, toBytes(data) as BufferSource);\n\n return new Uint8Array(hashed);\n}\n\n/** Computes the SHA-256 digest of `data` (32 bytes) — the default hash for cache keys, ETags, and content addressing. */\nexport function sha256(data: BinaryInput): Promise<Uint8Array> {\n return digest('SHA-256', data);\n}\n\n/**\n * Computes the SHA-1 digest of `data` (20 bytes). **Not collision-resistant** — use it only for\n * non-adversarial checksums or to interoperate with a system that already speaks SHA-1 (git, legacy ETags).\n * Reach for {@link sha256} everywhere else.\n */\nexport function sha1(data: BinaryInput): Promise<Uint8Array> {\n return digest('SHA-1', data);\n}\n\n/** Computes the SHA-384 digest of `data` (48 bytes) — the truncated SHA-512 variant used by subresource integrity. */\nexport function sha384(data: BinaryInput): Promise<Uint8Array> {\n return digest('SHA-384', data);\n}\n\n/** Computes the SHA-512 digest of `data` (64 bytes) — wider margin than SHA-256, and faster on 64-bit hardware. */\nexport function sha512(data: BinaryInput): Promise<Uint8Array> {\n return digest('SHA-512', data);\n}\n\n/** Computes the SHA-256 digest of `data` as a lowercase 64-char hex string — the ready-to-print form for an ETag or cache key. */\nexport async function sha256Hex(data: BinaryInput): Promise<string> {\n return bytesToHex(await sha256(data));\n}\n","// Cryptographically secure randomness over `crypto.getRandomValues`. Available in insecure contexts too, so\n// this works where the digest helpers do not — see `WebCrypto.ts` for the split.\n//\n// The one non-obvious thing in this file is **modulo-bias rejection sampling**, and it is the reason\n// `randomString` exists at all rather than being a two-line snippet at each call site. The naive form\n//\n// alphabet[randomByte % alphabet.length]\n//\n// is skewed. A byte is uniform over 0..255 — 256 values. With a 62-char alphabet, 256 = 4x62 + 8, so the\n// residues 0..7 are each reachable from 5 bytes while residues 8..61 are reachable from only 4. The first\n// 8 characters of the alphabet come up ~25% more often than the rest. That is invisible in a smoke test and\n// measurable by an attacker over enough samples, which is precisely the wrong failure shape for a token.\n//\n// The fix: discard every byte at or above the largest multiple of the alphabet size that fits in 256\n// (`rejectionLimit`), and only then take the modulo. For 62 that limit is 248, so bytes 248..255 are thrown\n// away and the remaining 248 map 4-to-1 onto 62 characters — exactly uniform. The cost is a re-draw for\n// ~3% of bytes, which is why the generator over-draws and loops instead of asking for exactly `length`.\n//\n// `randomStringFrom` takes its byte source as a parameter so the rejection path is testable with a\n// deterministic stream. It is exported from the file but deliberately absent from the barrel — the\n// \"internal\" signal in this repo is absence from `index.ts`, not a naming prefix.\n//\n// Note the scope boundary: this slice does NOT generate identifiers. `foundation/identifiers` owns UUID\n// generation (`Guid.createV4` / `Guid.createV7`) and should be used for entity ids — `randomString` is for\n// opaque tokens, nonces, and suffixes where a UUID's structure would be meaningless.\n\nimport { requireCrypto } from './WebCrypto';\n\n/**\n * Default alphabet: URL-safe base62 (`A-Z`, `a-z`, `0-9`). No `+/=~`, so a generated string is safe in a\n * path segment, a query value, a filename, and an HTML attribute without escaping.\n */\nexport const URL_SAFE_ALPHABET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n\n/** `getRandomValues` rejects a view longer than 65536 bytes, so larger requests are filled in passes. */\nconst MAX_BYTES_PER_CALL = 65_536;\n\n/**\n * Returns the exclusive upper bound for an unbiased byte: the largest multiple of `size` that fits in 256.\n * Bytes at or above it must be discarded — see the file header. Internal — not exported from the barrel.\n */\nexport function rejectionLimit(size: number): number {\n return 256 - (256 % size);\n}\n\n/**\n * Fills `length` cryptographically secure random bytes. Requests above the platform's 65536-byte per-call\n * ceiling are filled in successive passes. **Throws** a `RangeError` on a negative or non-integer length,\n * and an `Error` when Web Crypto is unavailable — never falls back to `Math.random`.\n */\nexport function randomBytes(length: number): Uint8Array {\n if (!Number.isInteger(length) || length < 0) {\n throw new RangeError(`randomBytes: length must be a non-negative integer, got ${length}.`);\n }\n\n const source = requireCrypto();\n const bytes = new Uint8Array(length);\n\n for (let offset = 0; offset < length; offset += MAX_BYTES_PER_CALL) {\n // `subarray` is a view over the same buffer, so each pass fills `bytes` in place.\n source.getRandomValues(bytes.subarray(offset, Math.min(offset + MAX_BYTES_PER_CALL, length)));\n }\n\n return bytes;\n}\n\n/**\n * Builds a random string of `length` characters from `chars` using the byte stream `nextBytes`, discarding\n * biased bytes (see the file header). The injected source is what makes rejection testable. Internal — not\n * exported from the barrel; call {@link randomString} instead.\n */\nexport function randomStringFrom(\n length: number,\n chars: readonly string[],\n nextBytes: (count: number) => Uint8Array,\n): string {\n if (!Number.isInteger(length) || length < 0) {\n throw new RangeError(`randomStringFrom: length must be a non-negative integer, got ${length}.`);\n }\n\n if (chars.length === 0 || chars.length > 256) {\n throw new RangeError(\n `randomStringFrom: alphabet must hold 1..256 characters, got ${chars.length}. A larger alphabet ` +\n `cannot be sampled unbiasedly from a single byte.`,\n );\n }\n\n if (length === 0) return '';\n\n const size = chars.length;\n const limit = rejectionLimit(size);\n const picked: string[] = [];\n\n while (picked.length < length) {\n const needed = length - picked.length;\n\n // Over-draw by the expected rejection rate plus a floor, so the common case is a single draw.\n const bytes = nextBytes(needed + Math.ceil(needed / 4) + 8);\n if (bytes.length === 0) {\n throw new RangeError('randomStringFrom: the byte source returned no bytes.');\n }\n\n for (const byte of bytes) {\n if (byte >= limit) continue; // Biased residue — discard rather than fold it in.\n picked.push(chars[byte % size]!);\n if (picked.length === length) break;\n }\n }\n\n return picked.join('');\n}\n\n/**\n * Generates a random string of `length` characters, drawn uniformly from `alphabet` (default\n * {@link URL_SAFE_ALPHABET}) with rejection sampling — no modulo bias. Use it for opaque tokens, nonces, and\n * collision-resistant suffixes; use `Guid` from `foundation/identifiers` for entity identifiers.\n *\n * The alphabet is split by code point, so an emoji or astral-plane character counts as one character and is\n * never torn into surrogate halves. It must hold 1..256 code points; duplicated characters skew the result\n * proportionally and are the caller's responsibility.\n */\nexport function randomString(length: number, alphabet: string = URL_SAFE_ALPHABET): string {\n return randomStringFrom(length, [...alphabet], randomBytes);\n}\n","// Constant-time byte comparison. Exists because `a === b` on a secret is a side channel: the engine's string\n// or array compare returns at the first differing byte, so how long the comparison took reveals how many\n// leading bytes matched. An attacker who can submit guesses and time the response recovers a token one byte\n// at a time — linear work instead of exponential.\n//\n// The fix is to look at every byte regardless: XOR each pair, OR the differences together, and decide once\n// at the end. No branch depends on the data.\n//\n// Length is folded into the same accumulator rather than checked up front with an early `return false`. An\n// early length check is a second, coarser side channel: it separates \"wrong length\" from \"right length,\n// wrong content\" by timing. Seeding the accumulator with `a.length ^ b.length` and walking to the longer of\n// the two collapses both outcomes onto the same path. (The loop bound still tracks the longer input — an\n// input's length is public in essentially every protocol, its *contents* are not.)\n//\n// HONEST LIMITATION, stated because this is security code: JavaScript cannot guarantee constant time. A JIT\n// may deoptimize, bounds checks and `?? 0` are engine-dependent, GC can pause mid-loop, and the runtime is\n// free to reorder. This is a best-effort mitigation that removes the *obvious* early-exit leak, not a\n// hardware guarantee like a constant-time assembly routine. High-value secrets should be compared\n// server-side (Node's `crypto.timingSafeEqual`, .NET's `CryptographicOperations.FixedTimeEquals`), not here.\n\n/**\n * Compares two byte arrays in (best-effort) constant time — no early exit on the first mismatch, and no\n * separate fast path for a length mismatch. Returns true only when both length and every byte match.\n *\n * Use it whenever one side is secret: a digest, an HMAC, a CSRF or session token, a signed URL parameter.\n * For plain non-secret data `===` on the hex form is fine and faster.\n *\n * To compare strings, encode both with `utf8ToBytes` first — a `string` overload is deliberately absent\n * because the encoding step's own timing would need the same care and hiding it here would suggest a\n * guarantee this cannot make. See the file header on what JS can and cannot promise.\n */\nexport function timingSafeEqual(a: Uint8Array, b: Uint8Array): boolean {\n // Seeded with the length difference so a wrong-length input takes the same path as a wrong-content one.\n let difference = a.length ^ b.length;\n\n const span = Math.max(a.length, b.length);\n for (let i = 0; i < span; i++) {\n // `?? 0` covers the tail of the shorter array; under `noUncheckedIndexedAccess` it is also the honest\n // type for an indexed read, so the guard and the type narrowing are the same expression.\n difference |= (a[i] ?? 0) ^ (b[i] ?? 0);\n }\n\n return difference === 0;\n}\n","// Stable content hashing for arbitrary values — the \"cache key from a params object\" primitive.\n//\n// `JSON.stringify` is not usable for this directly: it emits keys in insertion order, so `{a:1,b:2}` and\n// `{b:2,a:1}` produce different strings and therefore different keys. Two call sites that build the same\n// query with their properties written in a different order then miss each other's cache entry forever. The\n// bug is invisible locally (one call site, one order) and shows up as a mysteriously low hit rate.\n//\n// So the value is rewritten into a canonical form first — object keys sorted at every depth, array order\n// preserved (order is semantic in an array, incidental in an object) — and only then stringified and\n// hashed.\n//\n// Behaviours that follow from delegating to `JSON.stringify`, documented rather than papered over:\n// - `toJSON()` is honoured before sorting, so a `Date`/`Temporal` value canonicalizes to its ISO string\n// instead of collapsing to `{}` the way a blind `Object.keys` walk would leave it.\n// - `undefined`, functions, and symbol values disappear from objects; `Map`/`Set` hash as `{}`. Feed\n// plain data, or map those types yourself before hashing.\n// - A circular reference throws a `TypeError`. The same object appearing twice in a DAG is fine — only a\n// true cycle is rejected — because the guard is unwound on the way back out.\n//\n// `hashObject` is async and needs `crypto.subtle` (see `WebCrypto.ts`). `stableStringify` is pure and works\n// anywhere, and is exported in its own right: it is often all a caller needs for an in-memory `Map` key,\n// where the digest is pure overhead.\n\nimport { sha256Hex } from './Digest';\n\n/** Recursively canonicalizes a value: `toJSON` first, arrays in order, object keys sorted. `seen` rejects cycles. */\nfunction canonicalize(value: unknown, seen: WeakSet<object>): unknown {\n if (value === null || typeof value !== 'object') return value;\n\n // Checked before the object is registered, so a `toJSON` that returns its own receiver terminates here\n // rather than recursing forever.\n if (seen.has(value)) {\n throw new TypeError('stableStringify: circular reference — a value cannot contain itself.');\n }\n\n seen.add(value);\n\n const canonical = canonicalizeObject(value, seen);\n\n // Unwound so a repeated (but non-cyclic) reference stays legal.\n seen.delete(value);\n\n return canonical;\n}\n\n/** Canonicalizes the object cases of {@link canonicalize}, with `value` already registered in `seen`. */\nfunction canonicalizeObject(value: object, seen: WeakSet<object>): unknown {\n const serializable = value as { toJSON?: () => unknown };\n if (typeof serializable.toJSON === 'function') {\n return canonicalize(serializable.toJSON(), seen);\n }\n\n if (Array.isArray(value)) {\n return value.map((item: unknown) => canonicalize(item, seen));\n }\n\n const record = value as Record<string, unknown>;\n\n return Object.fromEntries(\n Object.keys(record)\n .sort()\n .map((key): [string, unknown] => [key, canonicalize(record[key], seen)]),\n );\n}\n\n/**\n * Serializes `value` to JSON with object keys sorted at every depth, so two structurally equal values\n * always produce the same string regardless of property insertion order. Array order is preserved.\n *\n * Pure and synchronous — usable under SSR and as an in-memory `Map` key without hashing. Returns the\n * literal `'undefined'` for an input `JSON.stringify` would drop entirely (`undefined`, a function, a\n * symbol), so the result is always a string. **Throws a `TypeError`** on a circular reference.\n */\nexport function stableStringify(value: unknown): string {\n return JSON.stringify(canonicalize(value, new WeakSet())) ?? 'undefined';\n}\n\n/**\n * Hashes any JSON-serializable value to a lowercase 64-char SHA-256 hex string, order-independently:\n * `{ a: 1, b: 2 }` and `{ b: 2, a: 1 }` produce the same hash at any nesting depth. The canonical cache key\n * for a params object, a filter set, or a request body.\n *\n * Async and requires a secure context — see {@link stableStringify} for the pure, sync alternative, and\n * `isSubtleAvailable()` to probe before calling.\n */\nexport function hashObject(value: unknown): Promise<string> {\n return sha256Hex(stableStringify(value));\n}\n"],"names":[],"mappings":"AAqBA,SAAS,gBAAoC;AAI3C,SAAQ,WAAmC;AAC7C;AAGA,SAAS,gBAA0C;AACjD,QAAM,SAAS,cAAA;AACf,MAAI,WAAW,OAAW,QAAO;AAIjC,SAAQ,OAAqC;AAC/C;AAMO,SAAS,oBAA6B;AAC3C,SAAO,OAAO,iBAAiB,oBAAoB;AACrD;AAOO,SAAS,oBAA6B;AAC3C,SAAO,OAAO,iBAAiB,WAAW;AAC5C;AAGO,SAAS,gBAAwB;AACtC,QAAM,SAAS,cAAA;AACf,MAAI,WAAW,UAAa,OAAO,OAAO,oBAAoB,YAAY;AACxE,UAAM,IAAI;AAAA,MACR;AAAA,IAAA;AAAA,EAGJ;AAEA,SAAO;AACT;AAGO,SAAS,gBAA8B;AAC5C,QAAM,SAAS,cAAA;AACf,MAAI,WAAW,UAAa,OAAO,OAAO,WAAW,YAAY;AAC/D,UAAM,IAAI;AAAA,MACR;AAAA,IAAA;AAAA,EAIJ;AAEA,SAAO;AACT;ACxDA,MAAM,cAAc,MAAM,KAAK,EAAE,QAAQ,OAAO,CAAC,GAAG,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC;AAGzF,MAAM,aAAa;AAOnB,MAAM,gBAAgB;AAGtB,MAAM,mBAAmB;AAGzB,MAAM,uBAAuB;AAG7B,MAAM,eAAe,IAAI,YAAA;AAGzB,MAAM,eAAe,IAAI,YAAA;AAMlB,SAAS,WAAW,OAA2B;AACpD,MAAI,MAAM;AACV,aAAW,QAAQ,MAAO,QAAO,YAAY,IAAI;AACjD,SAAO;AACT;AAOO,SAAS,WAAW,KAAyB;AAClD,MAAI,CAAC,WAAW,KAAK,GAAG,GAAG;AACzB,UAAM,IAAI;AAAA,MACR,kEAAkE,GAAG,aAAa,IAAI,MAAM;AAAA,IAAA;AAAA,EAEhG;AAEA,QAAM,QAAQ,IAAI,WAAW,IAAI,SAAS,CAAC;AAC3C,WAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;AACrC,UAAM,CAAC,IAAI,OAAO,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,GAAG,EAAE;AAAA,EAC5D;AAEA,SAAO;AACT;AAOO,SAAS,cAAc,OAA2B;AACvD,MAAI,SAAS;AACb,WAAS,SAAS,GAAG,SAAS,MAAM,QAAQ,UAAU,sBAAsB;AAC1E,cAAU,OAAO,aAAa,GAAG,MAAM,SAAS,QAAQ,SAAS,oBAAoB,CAAC;AAAA,EACxF;AAEA,SAAO,KAAK,MAAM;AACpB;AAOO,SAAS,cAAc,QAA4B;AACxD,MAAI,CAAC,cAAc,KAAK,MAAM,GAAG;AAC/B,UAAM,IAAI;AAAA,MACR,mHACsB,MAAM;AAAA,IAAA;AAAA,EAEhC;AAEA,QAAM,SAAS,KAAK,MAAM;AAC1B,QAAM,QAAQ,IAAI,WAAW,OAAO,MAAM;AAC1C,WAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,IAAK,OAAM,CAAC,IAAI,OAAO,WAAW,CAAC;AAErE,SAAO;AACT;AAOO,SAAS,iBAAiB,OAA2B;AAC1D,SAAO,cAAc,KAAK,EAAE,QAAQ,OAAO,GAAG,EAAE,QAAQ,OAAO,GAAG,EAAE,QAAQ,OAAO,EAAE;AACvF;AAOO,SAAS,iBAAiB,WAA+B;AAC9D,MAAI,CAAC,iBAAiB,KAAK,SAAS,GAAG;AACrC,UAAM,IAAI;AAAA,MACR,sGACM,SAAS;AAAA,IAAA;AAAA,EAEnB;AAEA,QAAM,WAAW,UAAU,QAAQ,MAAM,GAAG,EAAE,QAAQ,MAAM,GAAG;AAI/D,QAAM,UAAU,SAAS,SAAS,MAAM,IAAI,KAAK,IAAI,OAAO,IAAK,SAAS,SAAS,CAAE;AAErF,SAAO,cAAc,WAAW,OAAO;AACzC;AAGO,SAAS,YAAY,MAA0B;AACpD,SAAO,aAAa,OAAO,IAAI;AACjC;AAOO,SAAS,YAAY,OAA2B;AACrD,SAAO,aAAa,OAAO,KAAK;AAClC;AC9HO,SAAS,QAAQ,MAA+B;AACrD,MAAI,OAAO,SAAS,SAAU,QAAO,YAAY,IAAI;AACrD,MAAI,gBAAgB,WAAY,QAAO;AACvC,SAAO,IAAI,WAAW,IAAI;AAC5B;AAMA,eAAsB,OAAO,WAA4B,MAAwC;AAC/F,QAAM,SAAS,cAAA;AAMf,QAAM,SAAS,MAAM,OAAO,OAAO,WAAW,QAAQ,IAAI,CAAiB;AAE3E,SAAO,IAAI,WAAW,MAAM;AAC9B;AAGO,SAAS,OAAO,MAAwC;AAC7D,SAAO,OAAO,WAAW,IAAI;AAC/B;AAOO,SAAS,KAAK,MAAwC;AAC3D,SAAO,OAAO,SAAS,IAAI;AAC7B;AAGO,SAAS,OAAO,MAAwC;AAC7D,SAAO,OAAO,WAAW,IAAI;AAC/B;AAGO,SAAS,OAAO,MAAwC;AAC7D,SAAO,OAAO,WAAW,IAAI;AAC/B;AAGA,eAAsB,UAAU,MAAoC;AAClE,SAAO,WAAW,MAAM,OAAO,IAAI,CAAC;AACtC;AC9CO,MAAM,oBAAoB;AAGjC,MAAM,qBAAqB;AAMpB,SAAS,eAAe,MAAsB;AACnD,SAAO,MAAO,MAAM;AACtB;AAOO,SAAS,YAAY,QAA4B;AACtD,MAAI,CAAC,OAAO,UAAU,MAAM,KAAK,SAAS,GAAG;AAC3C,UAAM,IAAI,WAAW,2DAA2D,MAAM,GAAG;AAAA,EAC3F;AAEA,QAAM,SAAS,cAAA;AACf,QAAM,QAAQ,IAAI,WAAW,MAAM;AAEnC,WAAS,SAAS,GAAG,SAAS,QAAQ,UAAU,oBAAoB;AAElE,WAAO,gBAAgB,MAAM,SAAS,QAAQ,KAAK,IAAI,SAAS,oBAAoB,MAAM,CAAC,CAAC;AAAA,EAC9F;AAEA,SAAO;AACT;AAOO,SAAS,iBACd,QACA,OACA,WACQ;AACR,MAAI,CAAC,OAAO,UAAU,MAAM,KAAK,SAAS,GAAG;AAC3C,UAAM,IAAI,WAAW,gEAAgE,MAAM,GAAG;AAAA,EAChG;AAEA,MAAI,MAAM,WAAW,KAAK,MAAM,SAAS,KAAK;AAC5C,UAAM,IAAI;AAAA,MACR,+DAA+D,MAAM,MAAM;AAAA,IAAA;AAAA,EAG/E;AAEA,MAAI,WAAW,EAAG,QAAO;AAEzB,QAAM,OAAO,MAAM;AACnB,QAAM,QAAQ,eAAe,IAAI;AACjC,QAAM,SAAmB,CAAA;AAEzB,SAAO,OAAO,SAAS,QAAQ;AAC7B,UAAM,SAAS,SAAS,OAAO;AAG/B,UAAM,QAAQ,UAAU,SAAS,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC;AAC1D,QAAI,MAAM,WAAW,GAAG;AACtB,YAAM,IAAI,WAAW,sDAAsD;AAAA,IAC7E;AAEA,eAAW,QAAQ,OAAO;AACxB,UAAI,QAAQ,MAAO;AACnB,aAAO,KAAK,MAAM,OAAO,IAAI,CAAE;AAC/B,UAAI,OAAO,WAAW,OAAQ;AAAA,IAChC;AAAA,EACF;AAEA,SAAO,OAAO,KAAK,EAAE;AACvB;AAWO,SAAS,aAAa,QAAgB,WAAmB,mBAA2B;AACzF,SAAO,iBAAiB,QAAQ,CAAC,GAAG,QAAQ,GAAG,WAAW;AAC5D;AC5FO,SAAS,gBAAgB,GAAe,GAAwB;AAErE,MAAI,aAAa,EAAE,SAAS,EAAE;AAE9B,QAAM,OAAO,KAAK,IAAI,EAAE,QAAQ,EAAE,MAAM;AACxC,WAAS,IAAI,GAAG,IAAI,MAAM,KAAK;AAG7B,mBAAe,EAAE,CAAC,KAAK,MAAM,EAAE,CAAC,KAAK;AAAA,EACvC;AAEA,SAAO,eAAe;AACxB;ACjBA,SAAS,aAAa,OAAgB,MAAgC;AACpE,MAAI,UAAU,QAAQ,OAAO,UAAU,SAAU,QAAO;AAIxD,MAAI,KAAK,IAAI,KAAK,GAAG;AACnB,UAAM,IAAI,UAAU,sEAAsE;AAAA,EAC5F;AAEA,OAAK,IAAI,KAAK;AAEd,QAAM,YAAY,mBAAmB,OAAO,IAAI;AAGhD,OAAK,OAAO,KAAK;AAEjB,SAAO;AACT;AAGA,SAAS,mBAAmB,OAAe,MAAgC;AACzE,QAAM,eAAe;AACrB,MAAI,OAAO,aAAa,WAAW,YAAY;AAC7C,WAAO,aAAa,aAAa,OAAA,GAAU,IAAI;AAAA,EACjD;AAEA,MAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,WAAO,MAAM,IAAI,CAAC,SAAkB,aAAa,MAAM,IAAI,CAAC;AAAA,EAC9D;AAEA,QAAM,SAAS;AAEf,SAAO,OAAO;AAAA,IACZ,OAAO,KAAK,MAAM,EACf,KAAA,EACA,IAAI,CAAC,QAA2B,CAAC,KAAK,aAAa,OAAO,GAAG,GAAG,IAAI,CAAC,CAAC;AAAA,EAAA;AAE7E;AAUO,SAAS,gBAAgB,OAAwB;AACtD,SAAO,KAAK,UAAU,aAAa,2BAAW,QAAA,CAAS,CAAC,KAAK;AAC/D;AAUO,SAAS,WAAW,OAAiC;AAC1D,SAAO,UAAU,gBAAgB,KAAK,CAAC;AACzC;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Adds `amount` calendar days (may be negative); preserves wall-clock time across a DST boundary. */
|
|
2
|
+
export declare function addDays(date: Date, amount: number): Date;
|
|
3
|
+
/** Subtracts `amount` calendar days; preserves wall-clock time across a DST boundary. */
|
|
4
|
+
export declare function subDays(date: Date, amount: number): Date;
|
|
5
|
+
/** Adds `amount` weeks (7 calendar days each); preserves wall-clock time across a DST boundary. */
|
|
6
|
+
export declare function addWeeks(date: Date, amount: number): Date;
|
|
7
|
+
/** Subtracts `amount` weeks (7 calendar days each). */
|
|
8
|
+
export declare function subWeeks(date: Date, amount: number): Date;
|
|
9
|
+
/**
|
|
10
|
+
* Adds `amount` calendar months, clamping the day-of-month to the target month's length —
|
|
11
|
+
* Jan 31 + 1 = Feb 28 (Feb 29 in a leap year), Mar 31 - 1 = Feb 28. Time-of-day is preserved.
|
|
12
|
+
*/
|
|
13
|
+
export declare function addMonths(date: Date, amount: number): Date;
|
|
14
|
+
/** Subtracts `amount` calendar months, clamping the day-of-month to the target month's length. */
|
|
15
|
+
export declare function subMonths(date: Date, amount: number): Date;
|
|
16
|
+
/** Adds `amount` calendar years, clamping Feb 29 to Feb 28 when the target year isn't a leap year. */
|
|
17
|
+
export declare function addYears(date: Date, amount: number): Date;
|
|
18
|
+
/** Subtracts `amount` calendar years, clamping Feb 29 to Feb 28 when the target year isn't a leap year. */
|
|
19
|
+
export declare function subYears(date: Date, amount: number): Date;
|
|
20
|
+
/** Adds `amount` hours of elapsed time; wall-clock time shifts across a DST boundary. */
|
|
21
|
+
export declare function addHours(date: Date, amount: number): Date;
|
|
22
|
+
/** Subtracts `amount` hours of elapsed time; wall-clock time shifts across a DST boundary. */
|
|
23
|
+
export declare function subHours(date: Date, amount: number): Date;
|
|
24
|
+
/** Adds `amount` minutes of elapsed time. */
|
|
25
|
+
export declare function addMinutes(date: Date, amount: number): Date;
|
|
26
|
+
/** Subtracts `amount` minutes of elapsed time. */
|
|
27
|
+
export declare function subMinutes(date: Date, amount: number): Date;
|
|
28
|
+
/** Adds `amount` seconds of elapsed time. */
|
|
29
|
+
export declare function addSeconds(date: Date, amount: number): Date;
|
|
30
|
+
/** Subtracts `amount` seconds of elapsed time. */
|
|
31
|
+
export declare function subSeconds(date: Date, amount: number): Date;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Day index a week starts on: `0` Sunday … `6` Saturday. */
|
|
2
|
+
export type WeekStartsOn = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3
|
+
/** Returns the first instant of `date`'s local day (00:00:00.000). */
|
|
4
|
+
export declare function startOfDay(date: Date): Date;
|
|
5
|
+
/** Returns the last instant of `date`'s local day (23:59:59.999). */
|
|
6
|
+
export declare function endOfDay(date: Date): Date;
|
|
7
|
+
/**
|
|
8
|
+
* Returns the first instant of `date`'s week. `weekStartsOn` defaults to `1` (Monday, ISO-8601);
|
|
9
|
+
* pass `0` for a Sunday-first (US) calendar.
|
|
10
|
+
*/
|
|
11
|
+
export declare function startOfWeek(date: Date, weekStartsOn?: WeekStartsOn): Date;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the last instant of `date`'s week (day 7 at 23:59:59.999). `weekStartsOn` defaults to `1`
|
|
14
|
+
* (Monday, ISO-8601); pass `0` for a Sunday-first (US) calendar.
|
|
15
|
+
*/
|
|
16
|
+
export declare function endOfWeek(date: Date, weekStartsOn?: WeekStartsOn): Date;
|
|
17
|
+
/** Returns the first instant of the 1st of `date`'s month. */
|
|
18
|
+
export declare function startOfMonth(date: Date): Date;
|
|
19
|
+
/** Returns the last instant of the last day of `date`'s month (28th-31st at 23:59:59.999). */
|
|
20
|
+
export declare function endOfMonth(date: Date): Date;
|
|
21
|
+
/** Returns the first instant of Jan 1 of `date`'s year. */
|
|
22
|
+
export declare function startOfYear(date: Date): Date;
|
|
23
|
+
/** Returns the last instant of Dec 31 of `date`'s year. */
|
|
24
|
+
export declare function endOfYear(date: Date): Date;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { WeekStartsOn } from './Boundaries';
|
|
2
|
+
/** Tunes whether a range test counts its bounds. */
|
|
3
|
+
export interface BetweenOptions {
|
|
4
|
+
/** Count `start`/`end` themselves as inside the range. Defaults to `true`. */
|
|
5
|
+
readonly inclusive?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** True when both dates fall on the same local calendar day. */
|
|
8
|
+
export declare function isSameDay(a: Date, b: Date): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* True when both dates fall in the same week. `weekStartsOn` defaults to `1` (Monday, ISO-8601) and
|
|
11
|
+
* must match the value used elsewhere in the same calendar — Dec 31 and Jan 1 can share a week.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isSameWeek(a: Date, b: Date, weekStartsOn?: WeekStartsOn): boolean;
|
|
14
|
+
/** True when both dates fall in the same month of the same year. */
|
|
15
|
+
export declare function isSameMonth(a: Date, b: Date): boolean;
|
|
16
|
+
/** True when both dates fall in the same calendar year. */
|
|
17
|
+
export declare function isSameYear(a: Date, b: Date): boolean;
|
|
18
|
+
/** True when `date` is strictly earlier than `other` (millisecond precision). */
|
|
19
|
+
export declare function isBefore(date: Date, other: Date): boolean;
|
|
20
|
+
/** True when `date` is strictly later than `other` (millisecond precision). */
|
|
21
|
+
export declare function isAfter(date: Date, other: Date): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* True when `date` falls in `[start, end]` — bounds included by default, excluded with
|
|
24
|
+
* `{ inclusive: false }`. Returns `false` for a reversed range (`start` after `end`) and for any
|
|
25
|
+
* invalid input; the bounds are never swapped for you.
|
|
26
|
+
*/
|
|
27
|
+
export declare function isBetween(date: Date, start: Date, end: Date, options?: BetweenOptions): boolean;
|
|
28
|
+
/** True when `date` falls on the same local day as `now` (defaults to the current clock; inject for tests). */
|
|
29
|
+
export declare function isToday(date: Date, now?: Date): boolean;
|
|
30
|
+
/** True when `date` is strictly before `now` (defaults to the current clock; inject for tests). */
|
|
31
|
+
export declare function isPast(date: Date, now?: Date): boolean;
|
|
32
|
+
/** True when `date` is strictly after `now` (defaults to the current clock; inject for tests). */
|
|
33
|
+
export declare function isFuture(date: Date, now?: Date): boolean;
|
|
34
|
+
/** Returns a copy of the earliest of the given dates. Invalid dates are ignored unless all of them are. */
|
|
35
|
+
export declare function minDate(first: Date, ...rest: readonly Date[]): Date;
|
|
36
|
+
/** Returns a copy of the latest of the given dates. Invalid dates are ignored unless all of them are. */
|
|
37
|
+
export declare function maxDate(first: Date, ...rest: readonly Date[]): Date;
|
|
38
|
+
/**
|
|
39
|
+
* Returns a copy of `date` pulled inside `[min, max]`. Either bound may be omitted or `null` to leave
|
|
40
|
+
* that side open. Bounds are applied low-then-high, so a caller-inverted pair (`min` after `max`)
|
|
41
|
+
* resolves to `max`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function clampDate(date: Date, min?: Date | null, max?: Date | null): Date;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** Signed whole SECONDS from `from` to `to`, truncated toward zero. Positive when `to` is later. */
|
|
2
|
+
export declare function differenceInSeconds(from: Date, to: Date): number;
|
|
3
|
+
/** Signed whole MINUTES from `from` to `to`, truncated toward zero. Positive when `to` is later. */
|
|
4
|
+
export declare function differenceInMinutes(from: Date, to: Date): number;
|
|
5
|
+
/** Signed whole HOURS of elapsed time from `from` to `to`, truncated toward zero. Positive when `to` is later. */
|
|
6
|
+
export declare function differenceInHours(from: Date, to: Date): number;
|
|
7
|
+
/**
|
|
8
|
+
* Signed CALENDAR days from `from` to `to`. Both endpoints are snapped to local start-of-day first, so
|
|
9
|
+
* the result counts date boundaries crossed rather than 24-hour blocks, and a DST transition never
|
|
10
|
+
* produces an off-by-one. Positive when `to` is later.
|
|
11
|
+
*/
|
|
12
|
+
export declare function differenceInDays(from: Date, to: Date): number;
|
|
13
|
+
/**
|
|
14
|
+
* Signed whole WEEKS from `from` to `to`, derived from {@link differenceInDays} and truncated toward
|
|
15
|
+
* zero — 13 calendar days apart is 1 week. Positive when `to` is later.
|
|
16
|
+
*/
|
|
17
|
+
export declare function differenceInWeeks(from: Date, to: Date): number;
|
|
18
|
+
/**
|
|
19
|
+
* Signed whole calendar MONTHS from `from` to `to`, truncated toward zero — a partial trailing month is
|
|
20
|
+
* dropped, so Jan 15 → Feb 14 is 0. Agrees with `addMonths` clamping (Jan 31 → Feb 28 is 1). Positive
|
|
21
|
+
* when `to` is later.
|
|
22
|
+
*/
|
|
23
|
+
export declare function differenceInMonths(from: Date, to: Date): number;
|
|
24
|
+
/**
|
|
25
|
+
* Signed whole calendar YEARS from `from` to `to`, derived from {@link differenceInMonths} and truncated
|
|
26
|
+
* toward zero — the usual "age in years" calculation. Positive when `to` is later.
|
|
27
|
+
*/
|
|
28
|
+
export declare function differenceInYears(from: Date, to: Date): number;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Milliseconds in one second. */
|
|
2
|
+
export declare const MS_PER_SECOND = 1000;
|
|
3
|
+
/** Milliseconds in one minute. */
|
|
4
|
+
export declare const MS_PER_MINUTE = 60000;
|
|
5
|
+
/** Milliseconds in one hour. */
|
|
6
|
+
export declare const MS_PER_HOUR = 3600000;
|
|
7
|
+
/** Milliseconds in one 24-hour period (nominal — a DST day is 23 or 25 hours). */
|
|
8
|
+
export declare const MS_PER_DAY = 86400000;
|
|
9
|
+
/** Copies a `Date` by timestamp. An invalid input yields an equally-invalid copy (`NaN` time). */
|
|
10
|
+
export declare function cloneDate(date: Date): Date;
|
|
11
|
+
/** Returns the length in days of `monthIndex` (0-11) in `year`, leap years included. */
|
|
12
|
+
export declare function daysInMonth(year: number, monthIndex: number): number;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** A date range with inclusive bounds. A reversed range (`start` after `end`) is treated as empty. */
|
|
2
|
+
export interface DateInterval {
|
|
3
|
+
/** Lower bound of the range. */
|
|
4
|
+
readonly start: Date;
|
|
5
|
+
/** Upper bound of the range. */
|
|
6
|
+
readonly end: Date;
|
|
7
|
+
}
|
|
8
|
+
/** Tunes whether an overlap test counts a shared endpoint. */
|
|
9
|
+
export interface OverlapOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Treat both ranges as closed `[start, end]`, so ranges that merely touch at an endpoint count as
|
|
12
|
+
* overlapping. Defaults to `false` (half-open `[start, end)` — touching ranges do not overlap).
|
|
13
|
+
*/
|
|
14
|
+
readonly inclusive?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Returns one `Date` per calendar day from `start` to `end`, both ends INCLUSIVE, each snapped to local
|
|
18
|
+
* start-of-day. Returns `[]` when the range is reversed or either bound is invalid.
|
|
19
|
+
*
|
|
20
|
+
* Day stepping is calendar-based (not `+24h`), so a DST transition inside the range neither duplicates
|
|
21
|
+
* nor skips a day.
|
|
22
|
+
*/
|
|
23
|
+
export declare function eachDayOfInterval(start: Date, end: Date): Date[];
|
|
24
|
+
/**
|
|
25
|
+
* True when `date` falls inside `interval`, bounds INCLUSIVE. Returns `false` for a reversed interval or
|
|
26
|
+
* any invalid date. Compares at millisecond precision — pass day boundaries
|
|
27
|
+
* (`startOfDay`/`endOfDay`) when a whole-day test is meant.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isWithinInterval(date: Date, interval: DateInterval): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* True when ranges `a` and `b` share any time. Half-open by default, so ranges that only touch at an
|
|
32
|
+
* endpoint do NOT overlap; pass `{ inclusive: true }` to count a shared endpoint as an overlap.
|
|
33
|
+
* Returns `false` when either range is reversed or holds an invalid date.
|
|
34
|
+
*
|
|
35
|
+
* A zero-length range (`start` equal to `end`) never overlaps anything under the default half-open
|
|
36
|
+
* semantics; it does under `{ inclusive: true }`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function overlaps(a: DateInterval, b: DateInterval, options?: OverlapOptions): boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Narrows `value` to a usable `Date` — a `Date` instance whose time is not `NaN`. Use it before any
|
|
3
|
+
* op in this slice when the input came from outside (props, storage, a hand-built `new Date(input)`).
|
|
4
|
+
*/
|
|
5
|
+
export declare function isValidDate(value: unknown): value is Date;
|
|
6
|
+
/**
|
|
7
|
+
* Parses an ISO-8601 `YYYY-MM-DD` or `YYYY-MM-DDTHH:mm[:ss[.sss]][Z|±HH:mm]` string, returning `null`
|
|
8
|
+
* for any other input — including a well-shaped but impossible date such as `2026-02-30`. Never returns
|
|
9
|
+
* an `Invalid Date`.
|
|
10
|
+
*
|
|
11
|
+
* A date-only string resolves to LOCAL midnight (not UTC midnight, which is what `new Date(string)`
|
|
12
|
+
* would give). A date-time string keeps standard semantics: with an offset it is that absolute instant,
|
|
13
|
+
* without one it is local wall-clock.
|
|
14
|
+
*/
|
|
15
|
+
export declare function parseIsoDate(value: string): Date | null;
|
|
16
|
+
/**
|
|
17
|
+
* Serializes `date` to `YYYY-MM-DD` using its LOCAL calendar fields — the day never shifts by timezone
|
|
18
|
+
* the way `toISOString().slice(0, 10)` does. Round-trips exactly with {@link parseIsoDate}.
|
|
19
|
+
*
|
|
20
|
+
* Throws a `RangeError` on an invalid `Date`, or on a year outside `0000`-`9999` (which ISO-8601 can
|
|
21
|
+
* only express with the extended `±YYYYYY` form this function does not emit). Guard with
|
|
22
|
+
* {@link isValidDate} when the input is untrusted.
|
|
23
|
+
*/
|
|
24
|
+
export declare function toIsoDateString(date: Date): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { addDays, subDays, addWeeks, subWeeks, addMonths, subMonths, addYears, subYears, addHours, subHours, addMinutes, subMinutes, addSeconds, subSeconds, } from './Arithmetic';
|
|
2
|
+
export { startOfDay, endOfDay, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear, type WeekStartsOn, } from './Boundaries';
|
|
3
|
+
export { isSameDay, isSameWeek, isSameMonth, isSameYear, isBefore, isAfter, isBetween, isToday, isPast, isFuture, minDate, maxDate, clampDate, type BetweenOptions, } from './Comparison';
|
|
4
|
+
export { differenceInSeconds, differenceInMinutes, differenceInHours, differenceInDays, differenceInWeeks, differenceInMonths, differenceInYears, } from './Difference';
|
|
5
|
+
export { eachDayOfInterval, isWithinInterval, overlaps, type DateInterval, type OverlapOptions, } from './Interval';
|
|
6
|
+
export { isValidDate, parseIsoDate, toIsoDateString } from './IsoDate';
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
const MS_PER_SECOND = 1e3;
|
|
2
|
+
const MS_PER_MINUTE = 6e4;
|
|
3
|
+
const MS_PER_HOUR = 36e5;
|
|
4
|
+
const MS_PER_DAY = 864e5;
|
|
5
|
+
function cloneDate(date) {
|
|
6
|
+
return new Date(date.getTime());
|
|
7
|
+
}
|
|
8
|
+
function daysInMonth(year, monthIndex) {
|
|
9
|
+
const probe = new Date(2e3, 0, 1, 12);
|
|
10
|
+
probe.setFullYear(year, monthIndex + 1, 0);
|
|
11
|
+
return probe.getDate();
|
|
12
|
+
}
|
|
13
|
+
function addDays(date, amount) {
|
|
14
|
+
const result = cloneDate(date);
|
|
15
|
+
result.setDate(result.getDate() + amount);
|
|
16
|
+
return result;
|
|
17
|
+
}
|
|
18
|
+
function subDays(date, amount) {
|
|
19
|
+
return addDays(date, -amount);
|
|
20
|
+
}
|
|
21
|
+
function addWeeks(date, amount) {
|
|
22
|
+
return addDays(date, amount * 7);
|
|
23
|
+
}
|
|
24
|
+
function subWeeks(date, amount) {
|
|
25
|
+
return addDays(date, -amount * 7);
|
|
26
|
+
}
|
|
27
|
+
function addMonths(date, amount) {
|
|
28
|
+
const result = cloneDate(date);
|
|
29
|
+
const day = result.getDate();
|
|
30
|
+
result.setDate(1);
|
|
31
|
+
result.setMonth(result.getMonth() + amount);
|
|
32
|
+
result.setDate(Math.min(day, daysInMonth(result.getFullYear(), result.getMonth())));
|
|
33
|
+
return result;
|
|
34
|
+
}
|
|
35
|
+
function subMonths(date, amount) {
|
|
36
|
+
return addMonths(date, -amount);
|
|
37
|
+
}
|
|
38
|
+
function addYears(date, amount) {
|
|
39
|
+
return addMonths(date, amount * 12);
|
|
40
|
+
}
|
|
41
|
+
function subYears(date, amount) {
|
|
42
|
+
return addMonths(date, -amount * 12);
|
|
43
|
+
}
|
|
44
|
+
function addHours(date, amount) {
|
|
45
|
+
const result = cloneDate(date);
|
|
46
|
+
result.setTime(result.getTime() + amount * MS_PER_HOUR);
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
function subHours(date, amount) {
|
|
50
|
+
return addHours(date, -amount);
|
|
51
|
+
}
|
|
52
|
+
function addMinutes(date, amount) {
|
|
53
|
+
const result = cloneDate(date);
|
|
54
|
+
result.setTime(result.getTime() + amount * MS_PER_MINUTE);
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
function subMinutes(date, amount) {
|
|
58
|
+
return addMinutes(date, -amount);
|
|
59
|
+
}
|
|
60
|
+
function addSeconds(date, amount) {
|
|
61
|
+
const result = cloneDate(date);
|
|
62
|
+
result.setTime(result.getTime() + amount * MS_PER_SECOND);
|
|
63
|
+
return result;
|
|
64
|
+
}
|
|
65
|
+
function subSeconds(date, amount) {
|
|
66
|
+
return addSeconds(date, -amount);
|
|
67
|
+
}
|
|
68
|
+
function startOfDay(date) {
|
|
69
|
+
const result = cloneDate(date);
|
|
70
|
+
result.setHours(0, 0, 0, 0);
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
function endOfDay(date) {
|
|
74
|
+
const result = cloneDate(date);
|
|
75
|
+
result.setHours(23, 59, 59, 999);
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
function startOfWeek(date, weekStartsOn = 1) {
|
|
79
|
+
const offset = (date.getDay() - weekStartsOn + 7) % 7;
|
|
80
|
+
return startOfDay(subDays(date, offset));
|
|
81
|
+
}
|
|
82
|
+
function endOfWeek(date, weekStartsOn = 1) {
|
|
83
|
+
return endOfDay(addDays(startOfWeek(date, weekStartsOn), 6));
|
|
84
|
+
}
|
|
85
|
+
function startOfMonth(date) {
|
|
86
|
+
const result = cloneDate(date);
|
|
87
|
+
result.setDate(1);
|
|
88
|
+
result.setHours(0, 0, 0, 0);
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
function endOfMonth(date) {
|
|
92
|
+
const result = cloneDate(date);
|
|
93
|
+
result.setMonth(result.getMonth() + 1, 0);
|
|
94
|
+
result.setHours(23, 59, 59, 999);
|
|
95
|
+
return result;
|
|
96
|
+
}
|
|
97
|
+
function startOfYear(date) {
|
|
98
|
+
const result = cloneDate(date);
|
|
99
|
+
result.setMonth(0, 1);
|
|
100
|
+
result.setHours(0, 0, 0, 0);
|
|
101
|
+
return result;
|
|
102
|
+
}
|
|
103
|
+
function endOfYear(date) {
|
|
104
|
+
const result = cloneDate(date);
|
|
105
|
+
result.setMonth(11, 31);
|
|
106
|
+
result.setHours(23, 59, 59, 999);
|
|
107
|
+
return result;
|
|
108
|
+
}
|
|
109
|
+
const DATE_ONLY = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
110
|
+
const DATE_TIME = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2})?(\.\d{1,9})?(Z|[+-]\d{2}:?\d{2})?$/;
|
|
111
|
+
function isValidDate(value) {
|
|
112
|
+
return value instanceof Date && !Number.isNaN(value.getTime());
|
|
113
|
+
}
|
|
114
|
+
function parseIsoDate(value) {
|
|
115
|
+
if (typeof value !== "string") return null;
|
|
116
|
+
const text = value.trim();
|
|
117
|
+
if (text === "") return null;
|
|
118
|
+
const dateOnly = DATE_ONLY.exec(text);
|
|
119
|
+
if (dateOnly !== null) {
|
|
120
|
+
const year = Number(dateOnly[1]);
|
|
121
|
+
const month = Number(dateOnly[2]);
|
|
122
|
+
const day = Number(dateOnly[3]);
|
|
123
|
+
const result = new Date(2e3, 0, 1, 12);
|
|
124
|
+
result.setFullYear(year, month - 1, day);
|
|
125
|
+
result.setHours(0, 0, 0, 0);
|
|
126
|
+
if (result.getFullYear() !== year || result.getMonth() !== month - 1 || result.getDate() !== day) {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
return result;
|
|
130
|
+
}
|
|
131
|
+
if (!DATE_TIME.test(text)) return null;
|
|
132
|
+
const parsed = new Date(text);
|
|
133
|
+
return isValidDate(parsed) ? parsed : null;
|
|
134
|
+
}
|
|
135
|
+
function toIsoDateString(date) {
|
|
136
|
+
if (!isValidDate(date)) {
|
|
137
|
+
throw new RangeError("toIsoDateString: expected a valid Date, got an invalid one");
|
|
138
|
+
}
|
|
139
|
+
const year = date.getFullYear();
|
|
140
|
+
if (year < 0 || year > 9999) {
|
|
141
|
+
throw new RangeError(`toIsoDateString: year ${year} is outside the representable range 0000-9999`);
|
|
142
|
+
}
|
|
143
|
+
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
144
|
+
const day = String(date.getDate()).padStart(2, "0");
|
|
145
|
+
return `${String(year).padStart(4, "0")}-${month}-${day}`;
|
|
146
|
+
}
|
|
147
|
+
function isSameDay(a, b) {
|
|
148
|
+
return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
|
|
149
|
+
}
|
|
150
|
+
function isSameWeek(a, b, weekStartsOn = 1) {
|
|
151
|
+
return startOfWeek(a, weekStartsOn).getTime() === startOfWeek(b, weekStartsOn).getTime();
|
|
152
|
+
}
|
|
153
|
+
function isSameMonth(a, b) {
|
|
154
|
+
return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth();
|
|
155
|
+
}
|
|
156
|
+
function isSameYear(a, b) {
|
|
157
|
+
return a.getFullYear() === b.getFullYear();
|
|
158
|
+
}
|
|
159
|
+
function isBefore(date, other) {
|
|
160
|
+
return date.getTime() < other.getTime();
|
|
161
|
+
}
|
|
162
|
+
function isAfter(date, other) {
|
|
163
|
+
return date.getTime() > other.getTime();
|
|
164
|
+
}
|
|
165
|
+
function isBetween(date, start, end, options) {
|
|
166
|
+
const value = date.getTime();
|
|
167
|
+
const from = start.getTime();
|
|
168
|
+
const to = end.getTime();
|
|
169
|
+
if (Number.isNaN(value) || Number.isNaN(from) || Number.isNaN(to)) return false;
|
|
170
|
+
if (from > to) return false;
|
|
171
|
+
return options?.inclusive === false ? value > from && value < to : value >= from && value <= to;
|
|
172
|
+
}
|
|
173
|
+
function isToday(date, now = /* @__PURE__ */ new Date()) {
|
|
174
|
+
return isSameDay(date, now);
|
|
175
|
+
}
|
|
176
|
+
function isPast(date, now = /* @__PURE__ */ new Date()) {
|
|
177
|
+
return isBefore(date, now);
|
|
178
|
+
}
|
|
179
|
+
function isFuture(date, now = /* @__PURE__ */ new Date()) {
|
|
180
|
+
return isAfter(date, now);
|
|
181
|
+
}
|
|
182
|
+
function select(first, rest, keep) {
|
|
183
|
+
const candidates = [first, ...rest].filter(isValidDate);
|
|
184
|
+
let best = candidates.at(0) ?? first;
|
|
185
|
+
for (const candidate of candidates) {
|
|
186
|
+
if (keep(candidate.getTime(), best.getTime())) best = candidate;
|
|
187
|
+
}
|
|
188
|
+
return cloneDate(best);
|
|
189
|
+
}
|
|
190
|
+
function minDate(first, ...rest) {
|
|
191
|
+
return select(first, rest, (candidate, best) => candidate < best);
|
|
192
|
+
}
|
|
193
|
+
function maxDate(first, ...rest) {
|
|
194
|
+
return select(first, rest, (candidate, best) => candidate > best);
|
|
195
|
+
}
|
|
196
|
+
function clampDate(date, min, max) {
|
|
197
|
+
let result = date;
|
|
198
|
+
if (min != null && isBefore(result, min)) result = min;
|
|
199
|
+
if (max != null && isAfter(result, max)) result = max;
|
|
200
|
+
return cloneDate(result);
|
|
201
|
+
}
|
|
202
|
+
function differenceInSeconds(from, to) {
|
|
203
|
+
return Math.trunc((to.getTime() - from.getTime()) / MS_PER_SECOND);
|
|
204
|
+
}
|
|
205
|
+
function differenceInMinutes(from, to) {
|
|
206
|
+
return Math.trunc((to.getTime() - from.getTime()) / MS_PER_MINUTE);
|
|
207
|
+
}
|
|
208
|
+
function differenceInHours(from, to) {
|
|
209
|
+
return Math.trunc((to.getTime() - from.getTime()) / MS_PER_HOUR);
|
|
210
|
+
}
|
|
211
|
+
function differenceInDays(from, to) {
|
|
212
|
+
return Math.round((startOfDay(to).getTime() - startOfDay(from).getTime()) / MS_PER_DAY);
|
|
213
|
+
}
|
|
214
|
+
function differenceInWeeks(from, to) {
|
|
215
|
+
return Math.trunc(differenceInDays(from, to) / 7);
|
|
216
|
+
}
|
|
217
|
+
function differenceInMonths(from, to) {
|
|
218
|
+
const target = to.getTime();
|
|
219
|
+
let months = (to.getFullYear() - from.getFullYear()) * 12 + (to.getMonth() - from.getMonth());
|
|
220
|
+
if (Number.isNaN(months) || Number.isNaN(target)) return NaN;
|
|
221
|
+
if (months > 0 && addMonths(from, months).getTime() > target) months -= 1;
|
|
222
|
+
else if (months < 0 && addMonths(from, months).getTime() < target) months += 1;
|
|
223
|
+
return months;
|
|
224
|
+
}
|
|
225
|
+
function differenceInYears(from, to) {
|
|
226
|
+
return Math.trunc(differenceInMonths(from, to) / 12);
|
|
227
|
+
}
|
|
228
|
+
function eachDayOfInterval(start, end) {
|
|
229
|
+
const last = startOfDay(end).getTime();
|
|
230
|
+
const days = [];
|
|
231
|
+
let cursor = startOfDay(start);
|
|
232
|
+
while (cursor.getTime() <= last) {
|
|
233
|
+
days.push(cursor);
|
|
234
|
+
cursor = addDays(cursor, 1);
|
|
235
|
+
}
|
|
236
|
+
return days;
|
|
237
|
+
}
|
|
238
|
+
function isWithinInterval(date, interval) {
|
|
239
|
+
return isBetween(date, interval.start, interval.end);
|
|
240
|
+
}
|
|
241
|
+
function overlaps(a, b, options) {
|
|
242
|
+
const aStart = a.start.getTime();
|
|
243
|
+
const aEnd = a.end.getTime();
|
|
244
|
+
const bStart = b.start.getTime();
|
|
245
|
+
const bEnd = b.end.getTime();
|
|
246
|
+
if (Number.isNaN(aStart) || Number.isNaN(aEnd) || Number.isNaN(bStart) || Number.isNaN(bEnd)) return false;
|
|
247
|
+
if (aStart > aEnd || bStart > bEnd) return false;
|
|
248
|
+
if (options?.inclusive === true) return aStart <= bEnd && bStart <= aEnd;
|
|
249
|
+
if (aStart === aEnd || bStart === bEnd) return false;
|
|
250
|
+
return aStart < bEnd && bStart < aEnd;
|
|
251
|
+
}
|
|
252
|
+
export {
|
|
253
|
+
addDays,
|
|
254
|
+
addHours,
|
|
255
|
+
addMinutes,
|
|
256
|
+
addMonths,
|
|
257
|
+
addSeconds,
|
|
258
|
+
addWeeks,
|
|
259
|
+
addYears,
|
|
260
|
+
clampDate,
|
|
261
|
+
differenceInDays,
|
|
262
|
+
differenceInHours,
|
|
263
|
+
differenceInMinutes,
|
|
264
|
+
differenceInMonths,
|
|
265
|
+
differenceInSeconds,
|
|
266
|
+
differenceInWeeks,
|
|
267
|
+
differenceInYears,
|
|
268
|
+
eachDayOfInterval,
|
|
269
|
+
endOfDay,
|
|
270
|
+
endOfMonth,
|
|
271
|
+
endOfWeek,
|
|
272
|
+
endOfYear,
|
|
273
|
+
isAfter,
|
|
274
|
+
isBefore,
|
|
275
|
+
isBetween,
|
|
276
|
+
isFuture,
|
|
277
|
+
isPast,
|
|
278
|
+
isSameDay,
|
|
279
|
+
isSameMonth,
|
|
280
|
+
isSameWeek,
|
|
281
|
+
isSameYear,
|
|
282
|
+
isToday,
|
|
283
|
+
isValidDate,
|
|
284
|
+
isWithinInterval,
|
|
285
|
+
maxDate,
|
|
286
|
+
minDate,
|
|
287
|
+
overlaps,
|
|
288
|
+
parseIsoDate,
|
|
289
|
+
startOfDay,
|
|
290
|
+
startOfMonth,
|
|
291
|
+
startOfWeek,
|
|
292
|
+
startOfYear,
|
|
293
|
+
subDays,
|
|
294
|
+
subHours,
|
|
295
|
+
subMinutes,
|
|
296
|
+
subMonths,
|
|
297
|
+
subSeconds,
|
|
298
|
+
subWeeks,
|
|
299
|
+
subYears,
|
|
300
|
+
toIsoDateString
|
|
301
|
+
};
|
|
302
|
+
//# sourceMappingURL=index.js.map
|