@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/uploads/UploadItem.ts","../../../src/foundation/uploads/UploadTransport.ts","../../../src/foundation/uploads/XhrUploadTransport.ts","../../../src/foundation/uploads/UploadQueue.ts","../../../src/foundation/uploads/UseUploadQueue.ts"],"sourcesContent":["// The item contract — the vocabulary the queue, the composable, and any UI row all speak. Split from the queue so a\n// consumer can type a prop (`item: UploadItem<MyResponse>`) without importing the store.\n//\n// Non-obvious decisions:\n// - `status` is a const-object union, not a TS `enum` — matches `BackoffStrategy` / `CommandRunOutcome` and stays\n// erasable under `isolatedModules` + `verbatimModuleSyntax`.\n// - An item is IMMUTABLE: the queue replaces the whole object on every change rather than mutating in place, so a\n// UI row can key on item identity and a listener can diff snapshots. Nothing here is ever written twice.\n// - A file rejected up front (wrong type / too big) still becomes an item — status `failed` plus a `rejection`\n// reason. Dropping it silently would leave the user staring at a picker that \"did nothing\"; making it an item\n// means the same list renders the reason. `rejection` is what separates \"never attempted\" from \"the transport\n// failed\", which is why `retry()` refuses the former: a 20 MB file stays 20 MB no matter how often it is sent.\n// - `attempt` counts attempts STARTED over the item's lifetime, not retries: `0` while queued, `1` on the first\n// upload, `2` after one retry. A manual `retry()` continues the count rather than resetting it, so the number\n// always answers \"how many times has this file been put on the wire\".\n\n/** Defines the lifecycle state of a queued upload. */\nexport const UploadStatus = {\n /** Refers to an accepted file waiting for a free concurrency slot. */\n Queued: 'queued',\n /** Refers to an upload on the wire — including the backoff wait between retry attempts, which still holds its slot. */\n Uploading: 'uploading',\n /** Refers to an upload the transport completed; `result` carries its value. */\n Succeeded: 'succeeded',\n /** Refers to an upload that exhausted its retries, or a file rejected before it was ever sent (see `rejection`). */\n Failed: 'failed',\n /** Refers to an upload aborted by `cancel` / `cancelAll` / `clear`. Never retried automatically. */\n Cancelled: 'cancelled',\n} as const;\n\nexport type UploadStatus = (typeof UploadStatus)[keyof typeof UploadStatus];\n\n/** Defines why a file was rejected before any upload attempt — set on `rejection`, never on a transport failure. */\nexport const UploadRejectionReason = {\n /** Refers to a file that failed the queue's `accept` list. */\n Type: 'type',\n /** Refers to a file larger than the queue's `maxSize`. */\n Size: 'size',\n} as const;\n\nexport type UploadRejectionReason = (typeof UploadRejectionReason)[keyof typeof UploadRejectionReason];\n\n/** Describes one file's journey through the queue. Immutable — the queue swaps the object rather than mutating it. */\nexport interface UploadItem<TResult = unknown> {\n /** The stable id assigned at `add`; the handle every queue action takes. Survives retries and status changes. */\n readonly id: string;\n\n /** The file being uploaded. Identity is preserved across retries. */\n readonly file: File;\n\n /** The current lifecycle state. */\n readonly status: UploadStatus;\n\n /** Upload progress as a fraction `0`–`1`, normalized against `file.size` (see `bytesUploaded`). */\n readonly progress: number;\n\n /** Bytes of `file` uploaded so far. Resets to `0` at the start of each attempt — a retry re-sends from scratch. */\n readonly bytesUploaded: number;\n\n /** How many attempts have been STARTED for this item: `0` while queued, `1` on the first upload, `2` after one retry. */\n readonly attempt: number;\n\n /** The normalized failure (via `foundation/errors`' `toError`) for a `failed` item; absent otherwise. */\n readonly error?: Error;\n\n /** Why the file was rejected up front. Present only on a `failed` item that was never sent — a retry cannot help it. */\n readonly rejection?: UploadRejectionReason;\n\n /** The transport's return value for a `succeeded` item; absent otherwise. */\n readonly result?: TResult;\n}\n\n/** Checks whether a status is terminal — the queue will not move it again on its own. */\nexport function isUploadTerminal(status: UploadStatus): boolean {\n return status === UploadStatus.Succeeded || status === UploadStatus.Failed || status === UploadStatus.Cancelled;\n}\n\n/** Checks whether an item currently holds a concurrency slot (on the wire, or waiting out a retry backoff). */\nexport function isUploadActive(status: UploadStatus): boolean {\n return status === UploadStatus.Uploading;\n}\n","// The transport seam — the one thing this slice does NOT own. The queue solves scheduling (concurrency, retry,\n// cancellation, progress aggregation); how a byte actually reaches a server is the consumer's decision, so\n// `UploadTransport` is an interface they implement and `createUploadQueue` requires. Nothing in the queue\n// references `fetch`, `XMLHttpRequest`, a URL, or a header — swap in S3 multipart, tus, a presigned PUT, or an\n// in-memory fake without touching the scheduler. `XhrUploadTransport.ts` ships one implementation as a\n// convenience, not as the contract.\n//\n// Non-obvious decisions:\n// - `onProgress` reports the TRANSPORT's numbers (`loaded` / `total`), not the file's. A multipart body carries\n// boundary + header overhead, so `total` legitimately exceeds `file.size` and `loaded` can too. The queue\n// normalizes on the ratio; a transport must not pre-scale, it just forwards what it observes.\n// - Retry eligibility is status-driven because `foundation/resilience`'s `shouldRetry` is status-driven. A\n// transport signals \"this is a 413, don't bother retrying\" by throwing an error with a numeric `status` —\n// `UploadHttpError` is the ready-made carrier. `readUploadErrorStatus` reads that field STRUCTURALLY, so an\n// `ApiError` from `foundation/http`, or any custom error with a `status`, interoperates without this slice\n// depending on the HTTP layer.\n// - No status ⇒ `0`, which `DefaultTransientStatuses` treats as transient. A thrown `TypeError` from a dropped\n// connection is therefore retryable by default, which is the behaviour you want; a `4xx` you deliberately\n// surfaced is not.\n\n/** Provides the per-attempt handles a transport receives — cancellation in, progress out. */\nexport interface UploadTransportContext {\n /** Aborts this attempt. A transport MUST honour it and reject with an `AbortError` (or let `fetch`/`xhr` do so). */\n readonly signal: AbortSignal;\n\n /**\n * Reports bytes sent so far. `totalBytes` is the transport's own total (multipart overhead included) and is\n * used only as the denominator — omit it when the length is not computable.\n */\n readonly onProgress: (bytesUploaded: number, totalBytes?: number) => void;\n}\n\n/** Defines how a file is sent. The single seam a consumer implements to plug any backend into the queue. */\nexport interface UploadTransport<TResult = unknown> {\n /**\n * Sends one file, resolving with whatever the caller wants to keep (an id, a URL, the parsed body). Reject to\n * signal failure; reject with an `AbortError` when `context.signal` fires. Called once per attempt — a retry\n * calls it again with a fresh `signal`.\n */\n readonly upload: (file: File, context: UploadTransportContext) => Promise<TResult>;\n}\n\n/**\n * Defines a transport failure that carries an HTTP status, so the queue's retry decision can respect HTTP\n * semantics (`503` retries, `413` does not). Throw this from a custom transport, or throw anything with a\n * numeric `status` — {@link readUploadErrorStatus} is structural.\n */\nexport class UploadHttpError extends Error {\n /** The HTTP status of the failed response (`0` when the request never got one). */\n readonly status: number;\n\n /** The raw response body, when the transport captured one — useful for surfacing a server-side reason. */\n readonly body?: string;\n\n /** Creates an error for a non-2xx (or network-level) upload response. */\n constructor(status: number, message?: string, body?: string) {\n super(message ?? `Upload failed with status ${status}`);\n this.name = 'UploadHttpError';\n this.status = status;\n if (body !== undefined) this.body = body;\n }\n}\n\n/**\n * Reads the HTTP status a caught transport failure carries, for `shouldRetry`. Returns `0` — the \"network /\n * unknown\" status that the default policy treats as transient — when the value has no numeric `status`.\n *\n * Structural on purpose: `UploadHttpError`, `foundation/http`'s `ApiError`, and a hand-rolled\n * `Object.assign(new Error(), { status })` all read the same, so no error class is privileged and this slice\n * stays free of an HTTP-layer import. Guarded against a throwing getter — it runs inside a `catch`.\n */\nexport function readUploadErrorStatus(error: unknown): number {\n if (typeof error !== 'object' || error === null) return 0;\n try {\n const status: unknown = (error as { status?: unknown }).status;\n return typeof status === 'number' && Number.isFinite(status) ? status : 0;\n } catch {\n return 0;\n }\n}\n","// The one built-in transport — a multipart `POST` over `XMLHttpRequest`.\n//\n// WHY XHR AND NOT `fetch`: `fetch` CANNOT REPORT REQUEST-BODY PROGRESS. Its `ReadableStream` progress story\n// covers the RESPONSE body only; there is no upload-side equivalent, and the streaming-request work\n// (`duplex: 'half'`) is neither universally shipped nor a progress API. `XMLHttpRequest.upload` fires real\n// `progress` events with `loaded` / `total` during the send, so it remains the only portable way to drive an\n// upload progress bar. That single fact — not legacy inertia — is why this file exists in 2026.\n//\n// It is a convenience, never a dependency: `UploadQueue` knows only the `UploadTransport` interface, so a\n// consumer who needs S3 multipart, tus, or a presigned PUT (and no progress bar) writes their own with `fetch`\n// and loses nothing.\n//\n// Non-obvious decisions:\n// - `Content-Type` is deliberately NOT settable through `headers`. The browser derives it from the `FormData`\n// body, including the multipart boundary; setting it by hand produces a body the server cannot parse. An\n// explicit `content-type` entry is dropped rather than silently corrupting the request.\n// - Abort rejects with a plain `AbortError`-named error, not a `DOMException` subclass check: `foundation/errors`'\n// `isAbortError` matches on `name`, which holds across realms (iframe · worker) and in environments without\n// the global. `xhr.abort()` also fires `load`-adjacent events in some engines, so a `settled` latch guarantees\n// exactly one settlement.\n// - The abort listener is removed on every exit path. A long-lived `AbortSignal` (one per queue item, reused\n// across a `cancelAll`) would otherwise accumulate one listener per attempt.\n// - A non-2xx rejects with `UploadHttpError` carrying the status, which is what makes the queue's retry decision\n// HTTP-aware: `503` retries under the default policy, `413` stops immediately.\n\nimport { UploadHttpError, type UploadTransport, type UploadTransportContext } from './UploadTransport';\n\n/** Configures the built-in `XMLHttpRequest` multipart transport. */\nexport interface XhrUploadTransportOptions {\n /** The endpoint the file is sent to. */\n readonly url: string;\n\n /** The HTTP method. Defaults to `POST`. */\n readonly method?: string;\n\n /** Extra request headers. A `Content-Type` entry is ignored — the browser owns it (multipart boundary). */\n readonly headers?: Readonly<Record<string, string>>;\n\n /** The multipart field name the file is sent under. Defaults to `file`. */\n readonly fieldName?: string;\n\n /** Whether to send cookies / TLS client certs cross-origin (`XMLHttpRequest.withCredentials`). Defaults to `false`. */\n readonly withCredentials?: boolean;\n}\n\n/** Creates the `AbortError`-named rejection every cancellation path shares — see `isAbortError` in `foundation/errors`. */\nfunction createAbortError(): Error {\n const error = new Error('The upload was aborted.');\n error.name = 'AbortError';\n return error;\n}\n\n/** Parses a response body: JSON when it parses, the raw string when it does not, `undefined` when empty. */\nfunction parseResponseBody(text: string): unknown {\n if (text === '') return undefined;\n try {\n return JSON.parse(text) as unknown;\n } catch {\n return text;\n }\n}\n\n/**\n * Creates an {@link UploadTransport} that sends each file as a `multipart/form-data` request over\n * `XMLHttpRequest`, forwarding real upload-progress events to the queue.\n *\n * Resolves with the parsed JSON response body (the raw text when it is not JSON, `undefined` when empty), cast\n * to `TResult` — the server's contract is the caller's to declare. Rejects with {@link UploadHttpError} on a\n * non-2xx or a network failure, and with an `AbortError` when the attempt's signal fires.\n */\nexport function xhrUploadTransport<TResult = unknown>(options: XhrUploadTransportOptions): UploadTransport<TResult> {\n const { url, method = 'POST', headers, fieldName = 'file', withCredentials = false } = options;\n\n return {\n upload(file: File, context: UploadTransportContext): Promise<TResult> {\n return new Promise<TResult>((resolve, reject) => {\n const { signal, onProgress } = context;\n if (signal.aborted) {\n reject(createAbortError());\n return;\n }\n\n const request = new XMLHttpRequest();\n const body = new FormData();\n body.append(fieldName, file, file.name);\n\n let settled = false;\n\n /** Settles exactly once and detaches the signal listener, whichever event won the race. */\n const settle = (action: () => void): void => {\n if (settled) return;\n settled = true;\n signal.removeEventListener('abort', onAbort);\n action();\n };\n\n function onAbort(): void {\n settle(() => {\n request.abort();\n reject(createAbortError());\n });\n }\n\n request.open(method, url, true);\n request.withCredentials = withCredentials;\n for (const [name, value] of Object.entries(headers ?? {})) {\n // Skipped, not overridden: the multipart boundary is generated with the body and cannot be restated.\n if (name.toLowerCase() === 'content-type') continue;\n request.setRequestHeader(name, value);\n }\n\n request.upload.addEventListener('progress', (event: ProgressEvent) => {\n onProgress(event.loaded, event.lengthComputable ? event.total : undefined);\n });\n\n request.addEventListener('load', () => {\n settle(() => {\n const { status, responseText } = request;\n if (status >= 200 && status < 300) {\n resolve(parseResponseBody(responseText) as TResult);\n return;\n }\n reject(new UploadHttpError(status, `Upload of \"${file.name}\" failed with status ${status}.`, responseText));\n });\n });\n\n request.addEventListener('error', () => {\n // Status `0` — the request never reached a response. The default retry policy treats it as transient.\n settle(() => reject(new UploadHttpError(0, `Upload of \"${file.name}\" failed: network error.`)));\n });\n\n request.addEventListener('timeout', () => {\n settle(() => reject(new UploadHttpError(0, `Upload of \"${file.name}\" timed out.`)));\n });\n\n request.addEventListener('abort', () => {\n settle(() => reject(createAbortError()));\n });\n\n signal.addEventListener('abort', onAbort, { once: true });\n request.send(body);\n });\n },\n };\n}\n","// The scheduler — the headless core of the uploads vector. Owns admission (validate), ordering, a bounded\n// concurrency pool, retry, cancellation, and progress aggregation. Framework-free (no Vue import) so it can be\n// created at module scope, inside a provider, or in a plain node test; `UseUploadQueue.ts` is the Vue seam on\n// top, exactly as `commands` splits `CommandRegistry` from `useCommandRegistry`.\n//\n// THE CONTRACT: NOTHING HERE THROWS AT THE CALLER. A transport that rejects, a transport that throws\n// synchronously, a cancelled attempt, and a file rejected up front are all NORMAL OUTCOMES that land on an item's\n// `status` and leave the pool running. A queue whose `add` could throw would force a try/catch around a drop\n// handler, and one failing file would take down the other nine.\n//\n// Non-obvious decisions:\n// - RETRY MATH IS NOT WRITTEN HERE. `shouldRetry` decides, `computeRetryDelay` sizes the wait, both from\n// `foundation/resilience` — the same primitives `foundation/http`'s client and `/query` use, so an upload backs\n// off identically to every other request in the app. The only timing code below is a plain abortable\n// `setTimeout`, which schedules the delay it is handed; it never computes one.\n// - `shouldRetry` is status-driven, so a transport failure is read for a numeric `status`\n// (`readUploadErrorStatus`). No status ⇒ `0` ⇒ transient under the default policy: a dropped connection retries,\n// a `413` does not. That is the correct default for uploads, where the payload is unchanged by a retry.\n// - A CANCELLED UPLOAD IS NEVER RETRIED. `isAbortError` (plus a direct `signal.aborted` check, for a transport\n// that rejects with something else) short-circuits before the retry decision. Retrying a cancel would make the\n// button lie.\n// - An item stays `uploading` THROUGH its backoff wait, holding its concurrency slot. Freeing the slot would let\n// a queue of failing files spawn unbounded parallel waiters and defeat the cap.\n// - Progress is normalized on the RATIO the transport reports, not its raw `loaded`: a multipart body is bigger\n// than the file (boundary + headers), so `loaded` alone would overshoot `file.size`.\n// - `version()` exists for the subscribing composable: `items()` builds a fresh array per call, so it can never\n// be the tracked value (identity changes on every read). The monotonic counter is the stable cursor; items\n// themselves are swapped immutably so a row can key on item identity.\n// - Every mutation notifies, including each progress event. A chatty transport therefore means frequent\n// listeners; throttle in YOUR listener if that matters — the queue will not silently drop state changes.\n// - `patch` is a no-op for an unknown id. An in-flight upload whose item was `remove`d or `clear`ed keeps running\n// until its abort lands, and its late writes must not resurrect a deleted row.\n\nimport { isAbortError, toError } from '../errors';\nimport { fileExtension, matchesAccept, safeFileName } from '../files';\nimport { formatBytes } from '../format';\nimport { Guid } from '../identifiers';\nimport { DefaultRetryPolicy, computeRetryDelay, shouldRetry, type RetryPolicy } from '../resilience';\n\nimport { UploadRejectionReason, UploadStatus, isUploadTerminal, type UploadItem } from './UploadItem';\nimport { readUploadErrorStatus, type UploadTransport } from './UploadTransport';\n\n/** The default number of uploads in flight at once — enough to saturate a connection without starving the rest of the app. */\nexport const DefaultUploadConcurrency = 3;\n\n/** Notified after any queue mutation — admission, status change, progress, removal. Carries no payload; re-read the queue. */\nexport type UploadQueueListener = () => void;\n\n/** Configures a queue at creation. Only `transport` is required. */\nexport interface UploadQueueOptions<TResult = unknown> {\n /** How a file is actually sent. The queue never assumes `fetch` or `XMLHttpRequest`; see {@link UploadTransport}. */\n readonly transport: UploadTransport<TResult>;\n\n /** Max uploads in flight. Defaults to {@link DefaultUploadConcurrency}; values below `1` are clamped up. */\n readonly concurrency?: number;\n\n /** An `accept`-attribute list (`image/*,.pdf`) admitted files must match, via `foundation/files`' `matchesAccept`. */\n readonly accept?: string;\n\n /** The largest admitted file, in bytes. A larger file is rejected up front rather than queued. */\n readonly maxSize?: number;\n\n /** The retry policy for failed attempts, or `false` to fail on the first error. Defaults to `DefaultRetryPolicy`. */\n readonly retry?: RetryPolicy | false;\n}\n\n/** Describes the queue as a whole — what a summary bar renders without walking the item list. */\nexport interface UploadQueueState {\n /** How many items the queue holds, in any status. */\n readonly total: number;\n\n /** How many items sit in each status. A file rejected up front counts under `failed`. */\n readonly counts: Readonly<Record<UploadStatus, number>>;\n\n /** Aggregate progress `0`–`1`, byte-weighted over in-play items. `0` when nothing is in play. */\n readonly progress: number;\n\n /** Total bytes uploaded across in-play items. */\n readonly bytesUploaded: number;\n\n /**\n * Total bytes of in-play items — everything except cancelled items and files rejected up front, whose bytes\n * will never arrive and would otherwise pin `progress` below `1` forever.\n */\n readonly totalBytes: number;\n\n /** Whether any item is still queued or uploading. */\n readonly isUploading: boolean;\n}\n\n/** The headless upload store — admission, scheduling, cancellation, retry, and change notification. */\nexport interface UploadQueue<TResult = unknown> {\n /**\n * Admits one file or many, returning the new item ids in the order given. Always returns an array, including\n * for a single file. A file failing `accept` / `maxSize` still gets an id — as a `failed` item carrying a\n * `rejection` — so the caller can render why. Never throws.\n */\n readonly add: (input: File | readonly File[]) => readonly string[];\n\n /**\n * Aborts an item. A queued item flips to `cancelled` immediately; an uploading one is aborted through its\n * signal and settles `cancelled` once the transport unwinds (asynchronously). Reports whether anything was\n * cancellable — `false` for an unknown id or an already-terminal item.\n */\n readonly cancel: (id: string) => boolean;\n\n /** Aborts every queued and uploading item. In-flight ones settle asynchronously, as with {@link cancel}. */\n readonly cancelAll: () => void;\n\n /**\n * Re-queues a `failed` or `cancelled` item for another run; `attempt` continues from where it stopped.\n * Refuses (`false`) an item rejected up front — re-sending an oversized file cannot change the verdict.\n */\n readonly retry: (id: string) => boolean;\n\n /** Drops an item, aborting it first when in flight (nothing would be listening for its result). */\n readonly remove: (id: string) => boolean;\n\n /** Drops every item, cancelling anything still in flight. */\n readonly clear: () => void;\n\n /** Every item in admission order. Fresh array per call — never track it directly; track `version()` instead. */\n readonly items: () => readonly UploadItem<TResult>[];\n\n /** Looks up one item — `undefined` when absent. Item identity is stable between changes to that item. */\n readonly get: (id: string) => UploadItem<TResult> | undefined;\n\n /** The aggregate snapshot — counts, byte totals, overall progress. Fresh object per call. */\n readonly state: () => UploadQueueState;\n\n /** Subscribes to mutations; returns an unsubscribe. */\n readonly subscribe: (listener: UploadQueueListener) => () => void;\n\n /** A monotonic counter bumped on every mutation — the stable-identity snapshot the composables subscribe to. */\n readonly version: () => number;\n}\n\n/** Waits `ms`, resolving early (never rejecting) if `signal` aborts. The caller re-checks `signal.aborted` after. */\nfunction sleep(ms: number, signal: AbortSignal): Promise<void> {\n return new Promise<void>((resolve) => {\n if (signal.aborted) {\n resolve();\n return;\n }\n // `finish` closes over `timer` declared below it: legal because it only ever runs after both are initialized\n // (as the timer's own callback, or as an abort listener attached last).\n const finish = (): void => {\n clearTimeout(timer);\n signal.removeEventListener('abort', finish);\n resolve();\n };\n const timer = setTimeout(finish, ms);\n signal.addEventListener('abort', finish, { once: true });\n });\n}\n\n/**\n * Creates an {@link UploadQueue}. One per upload surface is the norm; create extra ones to isolate a modal's\n * uploads from a background set, or per test.\n */\nexport function createUploadQueue<TResult = unknown>(options: UploadQueueOptions<TResult>): UploadQueue<TResult> {\n const { transport, accept, maxSize } = options;\n const concurrency = Math.max(1, Math.floor(options.concurrency ?? DefaultUploadConcurrency));\n const retryPolicy: RetryPolicy | false = options.retry ?? DefaultRetryPolicy;\n\n const entries = new Map<string, UploadItem<TResult>>();\n /** The in-flight set — one controller per running attempt. Its size IS the concurrency count. */\n const controllers = new Map<string, AbortController>();\n const listeners = new Set<UploadQueueListener>();\n let revision = 0;\n let pumping = false;\n\n /** Bumps the version then fans out over a copy, so a listener may unsubscribe while being notified. */\n function notify(): void {\n revision += 1;\n for (const listener of [...listeners]) listener();\n }\n\n /** Replaces an item with a changed copy and notifies. Silently drops writes for an id that is no longer queued. */\n function patch(id: string, changes: Partial<Omit<UploadItem<TResult>, 'id' | 'file'>>): void {\n const current = entries.get(id);\n if (current === undefined) return;\n entries.set(id, { ...current, ...changes });\n notify();\n }\n\n /** Describes a file's type for a rejection message — the MIME type, or the extension when the browser left it blank. */\n function describeFileType(file: File): string {\n if (file.type !== '') return file.type;\n const extension = fileExtension(file.name);\n return extension === '' ? 'of an unknown type' : `a \".${extension}\" file`;\n }\n\n /** Applies the admission rules. `undefined` = admitted. */\n function validate(file: File): UploadRejectionReason | undefined {\n if (accept !== undefined && !matchesAccept(file, accept)) return UploadRejectionReason.Type;\n if (maxSize !== undefined && file.size > maxSize) return UploadRejectionReason.Size;\n return undefined;\n }\n\n /** Builds the user-facing reason for a rejection. The name is sanitized — it is attacker-controlled text headed for a UI. */\n function rejectionError(file: File, reason: UploadRejectionReason): Error {\n const name = safeFileName(file.name);\n if (reason === UploadRejectionReason.Size) {\n return new Error(`\"${name}\" is ${formatBytes(file.size)}, over the ${formatBytes(maxSize ?? 0)} limit.`);\n }\n return new Error(`\"${name}\" is ${describeFileType(file)}, which does not match \"${accept ?? ''}\".`);\n }\n\n /** Records a transport progress report, normalized onto `file.size` (see the ratio note in the header). */\n function recordProgress(id: string, loaded: number, total?: number): void {\n const current = entries.get(id);\n if (current === undefined || current.status !== UploadStatus.Uploading) return;\n\n const size = current.file.size;\n const denominator = total !== undefined && total > 0 ? total : size;\n const fraction = denominator > 0 ? Math.min(1, Math.max(0, loaded / denominator)) : 0;\n const bytesUploaded = Math.round(fraction * size);\n\n // Transports re-fire identical events; skipping the no-op keeps a listener from waking for nothing.\n if (fraction === current.progress && bytesUploaded === current.bytesUploaded) return;\n patch(id, { progress: fraction, bytesUploaded });\n }\n\n /**\n * Runs one item to a terminal state: attempt → retry loop → settle. Never rejects; every exit path is a status.\n * Holds a slot in `controllers` for its whole life, backoff waits included, and pumps the next item on exit.\n */\n async function runItem(id: string): Promise<void> {\n const initial = entries.get(id);\n if (initial === undefined) return;\n\n // Attempts already spent in earlier run cycles — a manual `retry()` continues the count, never resets it.\n const baseAttempt = initial.attempt;\n const controller = new AbortController();\n controllers.set(id, controller);\n\n let retries = 0;\n let previousDelayMs = 0;\n\n try {\n for (;;) {\n const current = entries.get(id);\n if (current === undefined) return;\n\n patch(id, {\n status: UploadStatus.Uploading,\n attempt: baseAttempt + retries + 1,\n progress: 0,\n bytesUploaded: 0,\n error: undefined,\n });\n\n try {\n const result = await transport.upload(current.file, {\n signal: controller.signal,\n onProgress: (loaded: number, total?: number) => recordProgress(id, loaded, total),\n });\n // A transport that ignores its signal can still resolve after a cancel; the user's intent wins.\n if (controller.signal.aborted) {\n patch(id, { status: UploadStatus.Cancelled });\n return;\n }\n patch(id, {\n status: UploadStatus.Succeeded,\n progress: 1,\n bytesUploaded: current.file.size,\n result,\n });\n return;\n } catch (caught) {\n if (isAbortError(caught) || controller.signal.aborted) {\n patch(id, { status: UploadStatus.Cancelled });\n return;\n }\n\n const status = readUploadErrorStatus(caught);\n if (retryPolicy !== false && shouldRetry(retryPolicy, retries, status)) {\n const attemptNumber = retries + 1;\n const delayMs = computeRetryDelay(retryPolicy, attemptNumber, previousDelayMs);\n retryPolicy.onRetry?.({ attempt: attemptNumber, error: caught, status, delayMs });\n await sleep(delayMs, controller.signal);\n if (controller.signal.aborted) {\n patch(id, { status: UploadStatus.Cancelled });\n return;\n }\n previousDelayMs = delayMs;\n retries = attemptNumber;\n continue;\n }\n\n patch(id, { status: UploadStatus.Failed, error: toError(caught) });\n return;\n }\n }\n } finally {\n controllers.delete(id);\n pump();\n }\n }\n\n /**\n * Starts queued items until the pool is full. Re-entrancy-guarded: `runItem`'s `finally` pumps again, and a\n * transport that throws synchronously would otherwise recurse once per queued item.\n */\n function pump(): void {\n if (pumping) return;\n pumping = true;\n try {\n while (controllers.size < concurrency) {\n let next: UploadItem<TResult> | undefined;\n for (const item of entries.values()) {\n if (item.status === UploadStatus.Queued) {\n next = item;\n break;\n }\n }\n if (next === undefined) return;\n void runItem(next.id);\n }\n } finally {\n pumping = false;\n }\n }\n\n /** Builds the item an admitted or rejected file starts life as. */\n function createItem(file: File): UploadItem<TResult> {\n const id = Guid.createV7() as string;\n const rejection = validate(file);\n if (rejection !== undefined) {\n return {\n id,\n file,\n status: UploadStatus.Failed,\n progress: 0,\n bytesUploaded: 0,\n attempt: 0,\n rejection,\n error: rejectionError(file, rejection),\n };\n }\n return { id, file, status: UploadStatus.Queued, progress: 0, bytesUploaded: 0, attempt: 0 };\n }\n\n function cancel(id: string): boolean {\n const item = entries.get(id);\n if (item === undefined || isUploadTerminal(item.status)) return false;\n\n const controller = controllers.get(id);\n if (controller !== undefined) {\n // The status flips inside `runItem` once the transport unwinds — cancellation is inherently async.\n controller.abort();\n return true;\n }\n patch(id, { status: UploadStatus.Cancelled });\n pump();\n return true;\n }\n\n /** Hoisted out of the returned object so `clear` can call it without a `this` binding (the API is destructurable). */\n function cancelAll(): void {\n for (const item of [...entries.values()]) {\n if (!isUploadTerminal(item.status)) cancel(item.id);\n }\n }\n\n return {\n add(input: File | readonly File[]): readonly string[] {\n const files = input instanceof File ? [input] : input;\n const created = files.map(createItem);\n for (const item of created) entries.set(item.id, item);\n // ONE notification for the whole admission — dropping ten files notifies once, not ten times. The `pump`\n // below then adds one more per item it actually starts, since each of those is a real status change.\n notify();\n pump();\n return created.map((item) => item.id);\n },\n\n cancel,\n\n cancelAll,\n\n retry(id: string): boolean {\n const item = entries.get(id);\n if (item === undefined || item.rejection !== undefined) return false;\n if (item.status !== UploadStatus.Failed && item.status !== UploadStatus.Cancelled) return false;\n\n patch(id, {\n status: UploadStatus.Queued,\n progress: 0,\n bytesUploaded: 0,\n error: undefined,\n result: undefined,\n });\n pump();\n return true;\n },\n\n remove(id: string): boolean {\n if (!entries.has(id)) return false;\n controllers.get(id)?.abort();\n controllers.delete(id);\n entries.delete(id);\n notify();\n pump();\n return true;\n },\n\n clear(): void {\n cancelAll();\n entries.clear();\n // Dropped rather than awaited: a transport that ignores its abort must not wedge the pool forever. The\n // orphaned `runItem` finishes into `patch`, which no-ops on the vanished ids.\n controllers.clear();\n notify();\n },\n\n items(): readonly UploadItem<TResult>[] {\n return [...entries.values()];\n },\n\n get(id: string): UploadItem<TResult> | undefined {\n return entries.get(id);\n },\n\n state(): UploadQueueState {\n const counts: Record<UploadStatus, number> = {\n [UploadStatus.Queued]: 0,\n [UploadStatus.Uploading]: 0,\n [UploadStatus.Succeeded]: 0,\n [UploadStatus.Failed]: 0,\n [UploadStatus.Cancelled]: 0,\n };\n\n let bytesUploaded = 0;\n let totalBytes = 0;\n for (const item of entries.values()) {\n counts[item.status] += 1;\n // Cancelled + rejected bytes are excluded from both sides — they are never arriving.\n if (item.status === UploadStatus.Cancelled || item.rejection !== undefined) continue;\n bytesUploaded += item.bytesUploaded;\n totalBytes += item.file.size;\n }\n\n return {\n total: entries.size,\n counts,\n bytesUploaded,\n totalBytes,\n progress: totalBytes > 0 ? Math.min(1, bytesUploaded / totalBytes) : 0,\n isUploading: counts[UploadStatus.Queued] > 0 || counts[UploadStatus.Uploading] > 0,\n };\n },\n\n subscribe(listener: UploadQueueListener): () => void {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n },\n\n version(): number {\n return revision;\n },\n };\n}\n","// The Vue subscription seam over a queue — how a component updates as uploads progress. Mirrors `commands`'\n// `UseCommandRegistry.ts`: the store is framework-free, this file is the only part that imports Vue.\n//\n// Non-obvious decisions:\n// - These track `queue.version()` as the subscription snapshot, NOT `items()` / `state()`. Both build a fresh\n// value per call, so either as the snapshot would look changed on every read. The monotonic counter is\n// identity-stable between mutations; the arrays and the aggregate derive from it through a `computed`.\n// - The subscription is attached in `onMounted` and dropped in `onScopeDispose`, the same shape\n// `foundation/hooks`' `useMediaQuery` uses. The queue is plain in-memory state with no client-only source, so\n// the SSR pass reads a correct version rather than a placeholder — the mount hook exists for the listener, not\n// for a platform global.\n// - `useUploadQueueSnapshot(queue)` takes the queue EXPLICITLY, so an app that owns a module-scope queue (uploads\n// that must survive tearing down the panel) can subscribe without this file creating anything.\n// - `useUploadQueue(options)` is the convenience on top and creates its queue ONCE, at setup — the queue holds\n// in-flight work, so rebuilding it on a changed option would strand running uploads. Consequence, stated\n// plainly: `concurrency` / `accept` / `maxSize` / `retry` are read at SETUP and later changes are ignored.\n// Need them dynamic → own the queue and re-create it deliberately.\n// - `transport` is the exception: it is delegated through `toValue`, so an inline `{ upload: ... }` closing over\n// current props stays live instead of being frozen at setup. Same trick `provideCommands` uses for `onError`,\n// and it is what makes the common inline call site correct without any memoization by the caller.\n// - The action callbacks are the queue's own methods, already referentially stable, so nothing wraps them.\n\nimport {\n computed,\n onMounted,\n onScopeDispose,\n shallowRef,\n toValue,\n type ComputedRef,\n type MaybeRefOrGetter,\n type ShallowRef,\n} from 'vue';\n\nimport type { UploadItem } from './UploadItem';\nimport { createUploadQueue, type UploadQueue, type UploadQueueOptions, type UploadQueueState } from './UploadQueue';\n\n/**\n * Subscribes to a queue's mutations and returns its version counter. The building block behind\n * {@link useUploadQueueSnapshot}; use it directly to derive a custom projection\n * (`computed(() => (version.value, queue.items().filter(failed)))`).\n */\nexport function useUploadQueueVersion<TResult = unknown>(\n queue: UploadQueue<TResult>,\n): Readonly<ShallowRef<number>> {\n const version = shallowRef(queue.version());\n\n let unsubscribe: (() => void) | undefined;\n\n onMounted(() => {\n // Re-read first: a mutation between setup and mount would otherwise be missed entirely.\n version.value = queue.version();\n unsubscribe = queue.subscribe(() => {\n version.value = queue.version();\n });\n });\n\n onScopeDispose(() => {\n unsubscribe?.();\n unsubscribe = undefined;\n });\n\n return version;\n}\n\n/** The item list plus the aggregate state of an explicitly-owned queue, updating the caller on every change. */\nexport function useUploadQueueSnapshot<TResult = unknown>(\n queue: UploadQueue<TResult>,\n): {\n readonly items: ComputedRef<readonly UploadItem<TResult>[]>;\n readonly state: ComputedRef<UploadQueueState>;\n} {\n const version = useUploadQueueVersion(queue);\n // `version` is the mutation cursor that invalidates both reads — touched, then discarded.\n return {\n items: computed(() => {\n void version.value;\n return queue.items();\n }),\n state: computed(() => {\n void version.value;\n return queue.state();\n }),\n };\n}\n\n/** What {@link useUploadQueue} hands a component — live state plus every queue action. */\nexport interface UseUploadQueueResult<TResult = unknown> {\n /** The underlying queue, for anything the flattened actions don't cover (`get`, `subscribe`, passing it down). */\n readonly queue: UploadQueue<TResult>;\n\n /** Every item in admission order, refreshed on each change. */\n readonly items: ComputedRef<readonly UploadItem<TResult>[]>;\n\n /** The aggregate snapshot — counts, byte totals, overall progress. */\n readonly state: ComputedRef<UploadQueueState>;\n\n /** Admits one file or many; returns the new item ids. See `UploadQueue.add`. */\n readonly add: UploadQueue<TResult>['add'];\n\n /** Aborts one item. See `UploadQueue.cancel`. */\n readonly cancel: UploadQueue<TResult>['cancel'];\n\n /** Aborts every queued and uploading item. */\n readonly cancelAll: UploadQueue<TResult>['cancelAll'];\n\n /** Re-queues a failed or cancelled item. */\n readonly retry: UploadQueue<TResult>['retry'];\n\n /** Drops an item, aborting it first when in flight. */\n readonly remove: UploadQueue<TResult>['remove'];\n\n /** Drops every item, cancelling anything still in flight. */\n readonly clear: UploadQueue<TResult>['clear'];\n}\n\n/**\n * Creates an upload queue scoped to the component and subscribes to it — the one-call entry point for an upload\n * panel or drop zone.\n *\n * The queue is created at setup and kept for the scope's lifetime, so `concurrency` / `accept` / `maxSize` /\n * `retry` are setup-time values (`transport` stays live — see the file header). Disposal does NOT cancel\n * in-flight uploads; call `cancelAll` from `onScopeDispose` if that is the behaviour you want, or hoist the\n * queue out of the component with `createUploadQueue` + {@link useUploadQueueSnapshot} so uploads survive it.\n *\n * @param options Queue configuration. A ref or getter keeps `transport` live; the rest is read once.\n */\nexport function useUploadQueue<TResult = unknown>(\n options: MaybeRefOrGetter<UploadQueueOptions<TResult>>,\n): UseUploadQueueResult<TResult> {\n const queue = createUploadQueue<TResult>({\n ...toValue(options),\n // Delegated, not captured: the current transport handles every attempt.\n transport: { upload: (file, context) => toValue(options).transport.upload(file, context) },\n });\n\n const { items, state } = useUploadQueueSnapshot(queue);\n\n return {\n queue,\n items,\n state,\n add: queue.add,\n cancel: queue.cancel,\n cancelAll: queue.cancelAll,\n retry: queue.retry,\n remove: queue.remove,\n clear: queue.clear,\n };\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Defines the alignment of items along an axis. */
|
|
2
|
+
export declare const Align: {
|
|
3
|
+
/** Refers to alignment at the logical start. */
|
|
4
|
+
readonly Start: "start";
|
|
5
|
+
/** Refers to centered alignment. */
|
|
6
|
+
readonly Center: "center";
|
|
7
|
+
/** Refers to alignment at the logical end. */
|
|
8
|
+
readonly End: "end";
|
|
9
|
+
};
|
|
10
|
+
export type Align = (typeof Align)[keyof typeof Align];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Align';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
/** Defines the tone vocabulary shared by tone-aware components (Button, Checkbox, ToggleButton, Tag, Alert, etc.). */
|
|
3
|
+
export declare const ColorTone: {
|
|
4
|
+
/** Refers to the primary brand palette. */
|
|
5
|
+
readonly Primary: "primary";
|
|
6
|
+
/** Refers to the neutral / default grey palette. */
|
|
7
|
+
readonly Neutral: "neutral";
|
|
8
|
+
/** Refers to the destructive / error palette. */
|
|
9
|
+
readonly Danger: "danger";
|
|
10
|
+
/** Refers to the positive / confirmation palette. */
|
|
11
|
+
readonly Success: "success";
|
|
12
|
+
/** Refers to the caution palette. */
|
|
13
|
+
readonly Warning: "warning";
|
|
14
|
+
};
|
|
15
|
+
export type ColorTone = (typeof ColorTone)[keyof typeof ColorTone];
|
|
16
|
+
export interface ColorOverride {
|
|
17
|
+
bg?: string;
|
|
18
|
+
text?: string;
|
|
19
|
+
soft?: string;
|
|
20
|
+
softText?: string;
|
|
21
|
+
ring?: string;
|
|
22
|
+
}
|
|
23
|
+
export type ColorProp = string | ColorOverride;
|
|
24
|
+
/**
|
|
25
|
+
* Convert a `color` / `colors` prop into a CSS-variable override style for
|
|
26
|
+
* the active tone's slot set. Returned style overrides the component's theme
|
|
27
|
+
* tokens locally — every Tailwind utility (`bg-{tone}`, `hover:bg-{tone}/X`,
|
|
28
|
+
* `text-{tone}-foreground`, etc.) that references the var picks it up
|
|
29
|
+
* automatically. No variant config refactor required.
|
|
30
|
+
*
|
|
31
|
+
* Single-seed mode (`input` is a string):
|
|
32
|
+
* - `bg` ← seed
|
|
33
|
+
* - `text` ← white (default contrast; override via `colors.text`)
|
|
34
|
+
* - `soft` ← seed mixed 12% over white via `color-mix(in oklch, ...)`
|
|
35
|
+
* - `softText` ← seed
|
|
36
|
+
* - `ring` ← seed
|
|
37
|
+
*
|
|
38
|
+
* Object mode (`input` is a `ColorOverride`):
|
|
39
|
+
* - Each slot independently overridable; unset slots retain the theme default.
|
|
40
|
+
*/
|
|
41
|
+
declare function toneColorOverride(input: ColorProp | undefined, tone: ColorTone | undefined): CSSProperties | undefined;
|
|
42
|
+
export declare const ColorExtensions: {
|
|
43
|
+
readonly toneColorOverride: typeof toneColorOverride;
|
|
44
|
+
readonly TONE_TOKEN_MAP: Record<ColorTone, {
|
|
45
|
+
main: string;
|
|
46
|
+
fg: string;
|
|
47
|
+
soft: string;
|
|
48
|
+
softFg: string;
|
|
49
|
+
}>;
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ColorExtensions';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a cached locale-aware `Intl.Collator`. Numeric-aware by default — `"item 2"` sorts before
|
|
3
|
+
* `"item 10"`. Pass `options` to override (e.g. `{ sensitivity: 'base' }` for case-insensitive).
|
|
4
|
+
*/
|
|
5
|
+
export declare function createCollator(locale?: string, options?: Intl.CollatorOptions): Intl.Collator;
|
|
6
|
+
/** Locale + numeric aware string comparison — the SDK default text comparator (sorts `"2"` before `"10"`). */
|
|
7
|
+
export declare function compareStrings(a: string, b: string, locale?: string): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Compare';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Defines the corner an overlay anchors to. */
|
|
2
|
+
export declare const CornerPosition: {
|
|
3
|
+
/** Refers to the top-right corner. */
|
|
4
|
+
readonly TopRight: "top-right";
|
|
5
|
+
/** Refers to the top-left corner. */
|
|
6
|
+
readonly TopLeft: "top-left";
|
|
7
|
+
/** Refers to the bottom-right corner. */
|
|
8
|
+
readonly BottomRight: "bottom-right";
|
|
9
|
+
/** Refers to the bottom-left corner. */
|
|
10
|
+
readonly BottomLeft: "bottom-left";
|
|
11
|
+
};
|
|
12
|
+
export type CornerPosition = (typeof CornerPosition)[keyof typeof CornerPosition];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CornerPosition';
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { Padding } from '../StyleTokens';
|
|
3
|
+
/** CSS-value extensions — types, token maps, resolvers. Call as `CssExtensions.x(...)`. */
|
|
4
|
+
export type PaddingToken = Padding;
|
|
5
|
+
/** Defines the corner-radius token vocabulary local to CSS resolvers — diverges from the shared `Radius` (carries `xs`, omits `2xl`). */
|
|
6
|
+
export declare const RadiusToken: {
|
|
7
|
+
/** Refers to no rounding (square corners). */
|
|
8
|
+
readonly None: "none";
|
|
9
|
+
/** Refers to an extra-small radius. */
|
|
10
|
+
readonly Xs: "xs";
|
|
11
|
+
/** Refers to a small radius. */
|
|
12
|
+
readonly Sm: "sm";
|
|
13
|
+
/** Refers to a medium radius. */
|
|
14
|
+
readonly Md: "md";
|
|
15
|
+
/** Refers to a large radius. */
|
|
16
|
+
readonly Lg: "lg";
|
|
17
|
+
/** Refers to an extra-large radius. */
|
|
18
|
+
readonly Xl: "xl";
|
|
19
|
+
/** Refers to a fully-rounded (pill) radius. */
|
|
20
|
+
readonly Full: "full";
|
|
21
|
+
};
|
|
22
|
+
export type RadiusToken = (typeof RadiusToken)[keyof typeof RadiusToken];
|
|
23
|
+
export type SizeValue = string | number;
|
|
24
|
+
export type PaddingProp = PaddingToken | {
|
|
25
|
+
x?: SizeValue;
|
|
26
|
+
y?: SizeValue;
|
|
27
|
+
};
|
|
28
|
+
export type RadiusProp = RadiusToken | SizeValue;
|
|
29
|
+
export interface BoxSizeOverrides {
|
|
30
|
+
width?: SizeValue;
|
|
31
|
+
height?: SizeValue;
|
|
32
|
+
minWidth?: SizeValue;
|
|
33
|
+
minHeight?: SizeValue;
|
|
34
|
+
maxWidth?: SizeValue;
|
|
35
|
+
maxHeight?: SizeValue;
|
|
36
|
+
/** Shorthand for square boxes — applied as fallback for both `width` and `height`. Explicit `width`/`height` win when both are set. */
|
|
37
|
+
boxSize?: SizeValue;
|
|
38
|
+
/** CSS `aspect-ratio`. String like `'16/9'` or number like `1.5`. Pairs naturally with a single width/height. */
|
|
39
|
+
aspectRatio?: string | number;
|
|
40
|
+
}
|
|
41
|
+
/** Defines the canonical size preset vocabulary — shared across components. Each component picks the subset it supports via `Extract<SizePreset, ...>` and owns its internal dimension mapping. */
|
|
42
|
+
export declare const SizePreset: {
|
|
43
|
+
/** Refers to the extra-small step. */
|
|
44
|
+
readonly Xs: "xs";
|
|
45
|
+
/** Refers to the small step. */
|
|
46
|
+
readonly Sm: "sm";
|
|
47
|
+
/** Refers to the medium (default) step. */
|
|
48
|
+
readonly Md: "md";
|
|
49
|
+
/** Refers to the large step. */
|
|
50
|
+
readonly Lg: "lg";
|
|
51
|
+
/** Refers to the extra-large step. */
|
|
52
|
+
readonly Xl: "xl";
|
|
53
|
+
/** Refers to the 2x extra-large step. */
|
|
54
|
+
readonly Xxl: "2xl";
|
|
55
|
+
};
|
|
56
|
+
export type SizePreset = (typeof SizePreset)[keyof typeof SizePreset];
|
|
57
|
+
/** Defines the absolute-positioning preset — a 9-anchor value-set; pair with raw inset overrides. */
|
|
58
|
+
export declare const AbsolutePositionPreset: {
|
|
59
|
+
/** Refers to the top-right corner. */
|
|
60
|
+
readonly TopRight: "top-right";
|
|
61
|
+
/** Refers to the top-left corner. */
|
|
62
|
+
readonly TopLeft: "top-left";
|
|
63
|
+
/** Refers to the bottom-right corner. */
|
|
64
|
+
readonly BottomRight: "bottom-right";
|
|
65
|
+
/** Refers to the bottom-left corner. */
|
|
66
|
+
readonly BottomLeft: "bottom-left";
|
|
67
|
+
/** Refers to the top edge, horizontally centered. */
|
|
68
|
+
readonly Top: "top";
|
|
69
|
+
/** Refers to the bottom edge, horizontally centered. */
|
|
70
|
+
readonly Bottom: "bottom";
|
|
71
|
+
/** Refers to the left edge, vertically centered. */
|
|
72
|
+
readonly Left: "left";
|
|
73
|
+
/** Refers to the right edge, vertically centered. */
|
|
74
|
+
readonly Right: "right";
|
|
75
|
+
/** Refers to the dead center. */
|
|
76
|
+
readonly Center: "center";
|
|
77
|
+
};
|
|
78
|
+
export type AbsolutePositionPreset = (typeof AbsolutePositionPreset)[keyof typeof AbsolutePositionPreset];
|
|
79
|
+
export interface AbsoluteInsetOverrides {
|
|
80
|
+
top?: SizeValue;
|
|
81
|
+
right?: SizeValue;
|
|
82
|
+
bottom?: SizeValue;
|
|
83
|
+
left?: SizeValue;
|
|
84
|
+
}
|
|
85
|
+
export type AbsolutePosition = AbsolutePositionPreset | AbsoluteInsetOverrides;
|
|
86
|
+
declare function toCss(v: SizeValue): string;
|
|
87
|
+
declare function resolvePadding(padding: PaddingProp | undefined): CSSProperties | undefined;
|
|
88
|
+
declare function resolveRadius(radius: RadiusProp | undefined): CSSProperties | undefined;
|
|
89
|
+
declare function resolveBoxSize(overrides: BoxSizeOverrides): CSSProperties | undefined;
|
|
90
|
+
/** Union type for size props that accept either a named preset, a raw value (applied as `boxSize`), or an explicit dim object. */
|
|
91
|
+
export type SizeUnion<P extends string> = P | (string & {}) | number | BoxSizeOverrides;
|
|
92
|
+
/**
|
|
93
|
+
* Parse a union-style size prop into (a) a preset name (if matched), or (b) a `BoxSizeOverrides` payload.
|
|
94
|
+
*
|
|
95
|
+
* Resolution order:
|
|
96
|
+
* - `undefined` → `{}`
|
|
97
|
+
* - object → `{ box: input }`
|
|
98
|
+
* - preset string → `{ preset: input }`
|
|
99
|
+
* - any other string → `{ box: { boxSize: input } }`
|
|
100
|
+
* - number → `{ box: { boxSize: input } }`
|
|
101
|
+
*/
|
|
102
|
+
declare function parseSizeUnion<P extends string>(input: SizeUnion<P> | undefined, presets: ReadonlySet<string>): {
|
|
103
|
+
preset?: P;
|
|
104
|
+
box?: BoxSizeOverrides;
|
|
105
|
+
};
|
|
106
|
+
export declare const CssExtensions: {
|
|
107
|
+
readonly toCss: typeof toCss;
|
|
108
|
+
readonly resolvePadding: typeof resolvePadding;
|
|
109
|
+
readonly resolveRadius: typeof resolveRadius;
|
|
110
|
+
readonly resolveBoxSize: typeof resolveBoxSize;
|
|
111
|
+
readonly parseSizeUnion: typeof parseSizeUnion;
|
|
112
|
+
readonly PADDING_TOKEN_TO_CSS: Record<"xs" | "sm" | "md" | "lg" | "xl", string>;
|
|
113
|
+
readonly RADIUS_TOKEN_TO_CSS: Record<"xs" | "sm" | "md" | "lg" | "xl", string>;
|
|
114
|
+
};
|
|
115
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CssExtensions';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** Defines the HTML tag a polymorphic component renders as. */
|
|
2
|
+
export declare const ElementTag: {
|
|
3
|
+
/** Refers to a `<span>`. */
|
|
4
|
+
readonly Span: "span";
|
|
5
|
+
/** Refers to a `<div>`. */
|
|
6
|
+
readonly Div: "div";
|
|
7
|
+
/** Refers to a `<p>`. */
|
|
8
|
+
readonly P: "p";
|
|
9
|
+
/** Refers to an `<h1>`. */
|
|
10
|
+
readonly H1: "h1";
|
|
11
|
+
/** Refers to an `<h2>`. */
|
|
12
|
+
readonly H2: "h2";
|
|
13
|
+
/** Refers to an `<h3>`. */
|
|
14
|
+
readonly H3: "h3";
|
|
15
|
+
/** Refers to an `<h4>`. */
|
|
16
|
+
readonly H4: "h4";
|
|
17
|
+
/** Refers to an `<h5>`. */
|
|
18
|
+
readonly H5: "h5";
|
|
19
|
+
/** Refers to an `<h6>`. */
|
|
20
|
+
readonly H6: "h6";
|
|
21
|
+
/** Refers to a `<section>`. */
|
|
22
|
+
readonly Section: "section";
|
|
23
|
+
/** Refers to an `<article>`. */
|
|
24
|
+
readonly Article: "article";
|
|
25
|
+
/** Refers to an `<li>`. */
|
|
26
|
+
readonly Li: "li";
|
|
27
|
+
};
|
|
28
|
+
export type ElementTag = (typeof ElementTag)[keyof typeof ElementTag];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ElementTag';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Defines the build environment. */
|
|
2
|
+
export declare const Environment: {
|
|
3
|
+
/** Refers to a local development build. */
|
|
4
|
+
readonly Development: "development";
|
|
5
|
+
/** Refers to a production build. */
|
|
6
|
+
readonly Production: "production";
|
|
7
|
+
/** Refers to a test build. */
|
|
8
|
+
readonly Test: "test";
|
|
9
|
+
};
|
|
10
|
+
export type Environment = (typeof Environment)[keyof typeof Environment];
|
|
11
|
+
export declare const IS_DEV: boolean;
|
|
12
|
+
export declare const IS_PRODUCTION: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Environment';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Represents a function that decides whether two values are equal. */
|
|
2
|
+
export type EqualityComparer<T> = (a: T, b: T) => boolean;
|
|
3
|
+
/** Contains the standard equality comparers. */
|
|
4
|
+
export declare const Equality: {
|
|
5
|
+
/** Checks NaN-safe strict equality (Object.is) — fits primitives + reference equality for objects. */
|
|
6
|
+
readonly strictEquals: <T>(a: T, b: T) => boolean;
|
|
7
|
+
/** Checks plain `===` equality (NaN !== NaN). */
|
|
8
|
+
readonly referenceEquals: <T>(a: T, b: T) => boolean;
|
|
9
|
+
/** Provides a comparer that compares two objects by an extracted scalar key. */
|
|
10
|
+
readonly byKey: <T, K = unknown>(extract: (item: T) => K) => EqualityComparer<T>;
|
|
11
|
+
/** Checks shallow object equality — equal iff every key has identical (Object.is) value. */
|
|
12
|
+
readonly shallowEquals: <T extends Record<string, unknown>>(a: T, b: T) => boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Equality';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Defines an HTML element tag name (for intrinsic elements and polymorphic components). */
|
|
2
|
+
export declare const HtmlElement: {
|
|
3
|
+
/** Refers to a `<button>` element. */
|
|
4
|
+
readonly Button: "button";
|
|
5
|
+
/** Refers to an `<a>` (anchor) element. */
|
|
6
|
+
readonly Anchor: "a";
|
|
7
|
+
/** Refers to a `<span>` element. */
|
|
8
|
+
readonly Span: "span";
|
|
9
|
+
/** Refers to a `<div>` element. */
|
|
10
|
+
readonly Div: "div";
|
|
11
|
+
};
|
|
12
|
+
export type HtmlElement = (typeof HtmlElement)[keyof typeof HtmlElement];
|
|
13
|
+
/** Defines the `<button type="">` attribute value. */
|
|
14
|
+
export declare const ButtonType: {
|
|
15
|
+
/** Refers to a non-submitting button. */
|
|
16
|
+
readonly Button: "button";
|
|
17
|
+
/** Refers to a form-submitting button. */
|
|
18
|
+
readonly Submit: "submit";
|
|
19
|
+
/** Refers to a form-resetting button. */
|
|
20
|
+
readonly Reset: "reset";
|
|
21
|
+
};
|
|
22
|
+
export type ButtonType = (typeof ButtonType)[keyof typeof ButtonType];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HtmlExtensions';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Defines a keyboard key value from `KeyboardEvent.key`. */
|
|
2
|
+
export declare const Key: {
|
|
3
|
+
/** Refers to the space bar. */
|
|
4
|
+
readonly Space: " ";
|
|
5
|
+
/** Refers to the Enter / Return key. */
|
|
6
|
+
readonly Enter: "Enter";
|
|
7
|
+
/** Refers to the Escape key. */
|
|
8
|
+
readonly Escape: "Escape";
|
|
9
|
+
/** Refers to the Tab key. */
|
|
10
|
+
readonly Tab: "Tab";
|
|
11
|
+
/** Refers to the Backspace key. */
|
|
12
|
+
readonly Backspace: "Backspace";
|
|
13
|
+
/** Refers to the Delete key. */
|
|
14
|
+
readonly Delete: "Delete";
|
|
15
|
+
/** Refers to the Home key. */
|
|
16
|
+
readonly Home: "Home";
|
|
17
|
+
/** Refers to the End key. */
|
|
18
|
+
readonly End: "End";
|
|
19
|
+
/** Refers to the Page Up key. */
|
|
20
|
+
readonly PageUp: "PageUp";
|
|
21
|
+
/** Refers to the Page Down key. */
|
|
22
|
+
readonly PageDown: "PageDown";
|
|
23
|
+
/** Refers to the up-arrow key. */
|
|
24
|
+
readonly ArrowUp: "ArrowUp";
|
|
25
|
+
/** Refers to the down-arrow key. */
|
|
26
|
+
readonly ArrowDown: "ArrowDown";
|
|
27
|
+
/** Refers to the left-arrow key. */
|
|
28
|
+
readonly ArrowLeft: "ArrowLeft";
|
|
29
|
+
/** Refers to the right-arrow key. */
|
|
30
|
+
readonly ArrowRight: "ArrowRight";
|
|
31
|
+
};
|
|
32
|
+
export type Key = (typeof Key)[keyof typeof Key];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './KeyboardExtensions';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/** Contains the semantic z-index tiers; matching `z-{name}` utilities ship via @theme. */
|
|
2
|
+
export declare const Layer: {
|
|
3
|
+
/** Slips under the base layer; visually hidden. */
|
|
4
|
+
readonly Hide: -1;
|
|
5
|
+
/** Sits in the default DOM flow with no z-index applied. */
|
|
6
|
+
readonly Base: 0;
|
|
7
|
+
/** Slightly elevates over siblings — badges, sticky list items, in-grid overlays. */
|
|
8
|
+
readonly Raised: 10;
|
|
9
|
+
/** Pins widgets inside a section — panels, inline overlays. */
|
|
10
|
+
readonly Docked: 20;
|
|
11
|
+
/** Anchors a page-level sticky header or footer. */
|
|
12
|
+
readonly Sticky: 30;
|
|
13
|
+
/** Hosts system banners — cookie notice, status banner, persistent FAB. */
|
|
14
|
+
readonly Banner: 40;
|
|
15
|
+
/** Hosts dropdowns, popovers, comboboxes, menus, hover-cards anchored to a trigger. */
|
|
16
|
+
readonly Dropdown: 50;
|
|
17
|
+
/** Dims the page behind a modal — backdrop / scrim layer. */
|
|
18
|
+
readonly Overlay: 60;
|
|
19
|
+
/** Hosts modal / dialog / drawer / sheet content above its backdrop. */
|
|
20
|
+
readonly Modal: 70;
|
|
21
|
+
/** Hosts popovers / menus opened FROM inside a modal — must beat Modal. */
|
|
22
|
+
readonly Popover: 80;
|
|
23
|
+
/** Hosts toasts, snackbars, undo bars — survives above modals. */
|
|
24
|
+
readonly Toast: 90;
|
|
25
|
+
/** Hosts tooltips and live-cursors — highest functional layer. */
|
|
26
|
+
readonly Tooltip: 100;
|
|
27
|
+
/** Hosts DevTools / design-system inspector overlays — always wins. */
|
|
28
|
+
readonly Debug: 9999;
|
|
29
|
+
};
|
|
30
|
+
/** Represents the name of a semantic z-index tier. */
|
|
31
|
+
export type LayerName = keyof typeof Layer;
|
|
32
|
+
/** Provides an inline `style` object for programmatic z-index assignment. */
|
|
33
|
+
export declare function layerStyle(layer: LayerName): {
|
|
34
|
+
zIndex: number;
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Layers';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Optional value extensions — call as `OptionalExtensions.x(...)`. */
|
|
2
|
+
/**
|
|
3
|
+
* Construct an optional from a `(condition, value)` pair: returns `value` when
|
|
4
|
+
* `condition` is truthy, otherwise `undefined`. Use to keep DOM attributes
|
|
5
|
+
* absent when their default/false meaning is what we want (e.g. `aria-busy`,
|
|
6
|
+
* `tabIndex`, `disabled`).
|
|
7
|
+
*/
|
|
8
|
+
declare function from<T>(condition: unknown, value: T): T | undefined;
|
|
9
|
+
export declare const OptionalExtensions: {
|
|
10
|
+
readonly from: typeof from;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './OptionalExtensions';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Defines the layout axis of a component (forms / layout / nav / actions / display / feedback). */
|
|
2
|
+
export declare const Orientation: {
|
|
3
|
+
/** Refers to a horizontal (left-to-right) axis. */
|
|
4
|
+
readonly Horizontal: "horizontal";
|
|
5
|
+
/** Refers to a vertical (top-to-bottom) axis. */
|
|
6
|
+
readonly Vertical: "vertical";
|
|
7
|
+
};
|
|
8
|
+
export type Orientation = (typeof Orientation)[keyof typeof Orientation];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Orientation';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Defines the anchor position of a floating overlay — the four corners plus top/bottom center. */
|
|
2
|
+
export declare const OverlayPosition: {
|
|
3
|
+
/** Refers to the top-right corner. */
|
|
4
|
+
readonly TopRight: "top-right";
|
|
5
|
+
/** Refers to the top-left corner. */
|
|
6
|
+
readonly TopLeft: "top-left";
|
|
7
|
+
/** Refers to the bottom-right corner. */
|
|
8
|
+
readonly BottomRight: "bottom-right";
|
|
9
|
+
/** Refers to the bottom-left corner. */
|
|
10
|
+
readonly BottomLeft: "bottom-left";
|
|
11
|
+
/** Refers to the top edge, horizontally centered. */
|
|
12
|
+
readonly TopCenter: "top-center";
|
|
13
|
+
/** Refers to the bottom edge, horizontally centered. */
|
|
14
|
+
readonly BottomCenter: "bottom-center";
|
|
15
|
+
};
|
|
16
|
+
export type OverlayPosition = (typeof OverlayPosition)[keyof typeof OverlayPosition];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './OverlayPosition';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Press-interaction extensions — types + constants shared by interactive components. */
|
|
2
|
+
/** Unified press event — pointer OR keyboard activation on any HTML element. */
|
|
3
|
+
export type PressEvent<T extends HTMLElement = HTMLElement> = (PointerEvent | KeyboardEvent) & {
|
|
4
|
+
currentTarget: T;
|
|
5
|
+
};
|
|
6
|
+
export declare const PressExtensions: {
|
|
7
|
+
/**
|
|
8
|
+
* Bounds for `longPressDelay` props. Below `min`: overlaps with normal
|
|
9
|
+
* click latency, too easy to trigger accidentally. Above `max`: clearly a
|
|
10
|
+
* developer error (5-min hold). `default` is the conventional 500ms.
|
|
11
|
+
*/
|
|
12
|
+
readonly longPressDelay: {
|
|
13
|
+
readonly min: 200;
|
|
14
|
+
readonly max: 300000;
|
|
15
|
+
readonly default: 500;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PressExtensions';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Defines the tone of a progress indicator. */
|
|
2
|
+
export declare const ProgressTone: {
|
|
3
|
+
/** Refers to the brand palette. */
|
|
4
|
+
readonly Brand: "brand";
|
|
5
|
+
/** Refers to the positive / success palette. */
|
|
6
|
+
readonly Success: "success";
|
|
7
|
+
/** Refers to the caution palette. */
|
|
8
|
+
readonly Warning: "warning";
|
|
9
|
+
/** Refers to the destructive / error palette. */
|
|
10
|
+
readonly Danger: "danger";
|
|
11
|
+
/** Refers to the neutral / default palette. */
|
|
12
|
+
readonly Neutral: "neutral";
|
|
13
|
+
};
|
|
14
|
+
export type ProgressTone = (typeof ProgressTone)[keyof typeof ProgressTone];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ProgressTone';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Defines the severity of a feedback surface (alert / banner / toast / callout). */
|
|
2
|
+
export declare const Severity: {
|
|
3
|
+
/** Refers to a neutral, non-semantic message. */
|
|
4
|
+
readonly Neutral: "neutral";
|
|
5
|
+
/** Refers to an informational message. */
|
|
6
|
+
readonly Info: "info";
|
|
7
|
+
/** Refers to a positive / success message. */
|
|
8
|
+
readonly Success: "success";
|
|
9
|
+
/** Refers to a caution / warning message. */
|
|
10
|
+
readonly Warning: "warning";
|
|
11
|
+
/** Refers to a destructive / error message. */
|
|
12
|
+
readonly Danger: "danger";
|
|
13
|
+
};
|
|
14
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Severity';
|