@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,8 @@
|
|
|
1
|
+
import { ChordPlatformOptions } from '../shortcuts';
|
|
2
|
+
import { Command } from './Command';
|
|
3
|
+
/**
|
|
4
|
+
* Renders a command's shortcut for display (`'mod+k'` → `⌘K` on Apple, `Ctrl+K` elsewhere). Returns `undefined`
|
|
5
|
+
* when the command carries no shortcut, and the raw string when it carries one the chord parser rejects.
|
|
6
|
+
* Pass `{ applePlatform }` to force the platform (SSR, tests, a per-user preference).
|
|
7
|
+
*/
|
|
8
|
+
export declare function commandShortcutLabel(command: Command, options?: ChordPlatformOptions): string | undefined;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { Command } from './Command';
|
|
3
|
+
import { CommandErrorHandler, CommandRegistry } from './CommandRegistry';
|
|
4
|
+
/** The injection key — React's `createContext(undefined)` becomes a key plus an explicit throw at the read site. */
|
|
5
|
+
export declare const CommandsKey: InjectionKey<CommandRegistry>;
|
|
6
|
+
/**
|
|
7
|
+
* The provider half — used by `CommandsProvider`, and by any component that owns a registry.
|
|
8
|
+
*
|
|
9
|
+
* @param registry An existing registry to share (module-scope singleton, a test's registry). Omitted → one is
|
|
10
|
+
* created and owned here.
|
|
11
|
+
* @param onError Where a failing command's error goes. Read live, and ignored when `registry` is supplied —
|
|
12
|
+
* that registry carries its own handler.
|
|
13
|
+
* @returns The registry that was provided.
|
|
14
|
+
*/
|
|
15
|
+
export declare function provideCommands(registry?: MaybeRefOrGetter<CommandRegistry | undefined>, onError?: MaybeRefOrGetter<CommandErrorHandler | undefined>): CommandRegistry;
|
|
16
|
+
/** Reads the ambient registry. Throws when no {@link CommandsKey} provider is mounted — see the file header. */
|
|
17
|
+
export declare function useCommands(): CommandRegistry;
|
|
18
|
+
/**
|
|
19
|
+
* Reads one command from the ambient registry by id, updating when that command is registered, replaced, or
|
|
20
|
+
* removed. `undefined` while nothing owns the id — a palette row can render a disabled placeholder from it.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCommand(id: MaybeRefOrGetter<string>): ComputedRef<Command | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Registers commands for as long as the calling scope lives, unregistering when it is disposed. The array may be
|
|
25
|
+
* an inline literal, a ref, or a getter — registration re-runs when the commands' text metadata changes, and
|
|
26
|
+
* `run` / `when` always call through to the latest value.
|
|
27
|
+
*
|
|
28
|
+
* Pass `registry` to target a specific registry; otherwise the ambient one is used (and a missing provider throws).
|
|
29
|
+
*/
|
|
30
|
+
export declare function useRegisterCommands(commands: MaybeRefOrGetter<readonly Command[]>, registry?: CommandRegistry): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CommandErrorHandler, CommandRegistry } from './CommandRegistry';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/** Props for `CommandsProvider`. */
|
|
4
|
+
export interface CommandsProviderProps {
|
|
5
|
+
/** An existing registry to share (module-scope singleton, a test's registry). Omitted → the provider owns one. */
|
|
6
|
+
registry?: CommandRegistry;
|
|
7
|
+
/** Where a failing command's error goes. Ignored when `registry` is supplied — that registry carries its own handler. */
|
|
8
|
+
onError?: CommandErrorHandler;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithSlots< DefineComponent<CommandsProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CommandsProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Command } from './Command';
|
|
2
|
+
/** The rank of a command the query excludes — compare against this to test a match. */
|
|
3
|
+
export declare const NO_MATCH: number;
|
|
4
|
+
/** The tier a match landed in — lower sorts first. Exported so a surface can label or style a match by its origin. */
|
|
5
|
+
export declare const CommandMatchRank: {
|
|
6
|
+
/** The title starts with the query — the strongest signal. */
|
|
7
|
+
readonly TitlePrefix: 0;
|
|
8
|
+
/** The title contains the query somewhere after the start. */
|
|
9
|
+
readonly TitleSubstring: 1;
|
|
10
|
+
/** One of the `keywords` contains the query. */
|
|
11
|
+
readonly Keyword: 2;
|
|
12
|
+
/** The `group` label contains the query — the weakest signal. */
|
|
13
|
+
readonly Group: 3;
|
|
14
|
+
};
|
|
15
|
+
export type CommandMatchRank = (typeof CommandMatchRank)[keyof typeof CommandMatchRank];
|
|
16
|
+
/**
|
|
17
|
+
* Scores one command against a query — a {@link CommandMatchRank} when it matches, {@link NO_MATCH} when it
|
|
18
|
+
* doesn't. Case-insensitive; the query is trimmed. An empty query matches everything at the best rank.
|
|
19
|
+
*/
|
|
20
|
+
export declare function rankCommand(command: Command, query: string): number;
|
|
21
|
+
/**
|
|
22
|
+
* Filters and ranks commands for a palette's search box. Non-matching commands are dropped; matches sort by
|
|
23
|
+
* {@link CommandMatchRank}, ties keeping their original relative order. An empty / whitespace-only query returns
|
|
24
|
+
* the input untouched (same reference, original order).
|
|
25
|
+
*
|
|
26
|
+
* Availability is NOT applied here — pass `registry.available()` when the palette should hide blocked commands.
|
|
27
|
+
*/
|
|
28
|
+
export declare function searchCommands(commands: readonly Command[], query: string): readonly Command[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComputedRef, ShallowRef } from 'vue';
|
|
2
|
+
import { Command } from './Command';
|
|
3
|
+
import { CommandRegistry } from './CommandRegistry';
|
|
4
|
+
/**
|
|
5
|
+
* Subscribes to a registry's mutations and returns its current version counter. The building block behind
|
|
6
|
+
* {@link useCommandList} / {@link useAvailableCommands}; use it directly to derive a custom projection
|
|
7
|
+
* (`computed(() => (version.value, registry.list().filter(mine)))`).
|
|
8
|
+
*/
|
|
9
|
+
export declare function useCommandRegistryVersion(registry: CommandRegistry): Readonly<ShallowRef<number>>;
|
|
10
|
+
/** Every registered command in insertion order, updating the caller whenever the registry mutates. */
|
|
11
|
+
export declare function useCommandList(registry: CommandRegistry): ComputedRef<readonly Command[]>;
|
|
12
|
+
/**
|
|
13
|
+
* The commands a palette should show — `available()` re-evaluated on every registry mutation.
|
|
14
|
+
*
|
|
15
|
+
* Availability also depends on whatever `when()` reads, and a registry mutation is the only trigger here: a
|
|
16
|
+
* `when` predicate closing over unrelated state won't re-run on its own. Keep predicates over state the registry
|
|
17
|
+
* sees (re-register on change — `useRegisterCommands` does this for you), not over free-floating variables.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useAvailableCommands(registry: CommandRegistry): ComputedRef<readonly Command[]>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { HotkeyOptions } from '../shortcuts';
|
|
3
|
+
import { CommandContext } from './Command';
|
|
4
|
+
import { CommandRegistry } from './CommandRegistry';
|
|
5
|
+
/** Tunes command-shortcut binding — every `useHotkeyMap` option, plus the payload passed to the command. */
|
|
6
|
+
export interface CommandShortcutOptions extends HotkeyOptions {
|
|
7
|
+
/** Forwarded to `registry.run(id, context)` on every trigger. Read live, so changing it needs no re-binding. */
|
|
8
|
+
readonly context?: MaybeRefOrGetter<CommandContext>;
|
|
9
|
+
/** Notified after a triggered command settles — the seam for closing a palette or logging the outcome. */
|
|
10
|
+
readonly onRun?: (id: string) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Binds the chord of every available command in `registry`, running the command on trigger. Re-binds whenever the
|
|
14
|
+
* registry changes. Commands without a `shortcut`, and commands `when()`/`enabled` currently blocks, bind nothing.
|
|
15
|
+
*
|
|
16
|
+
* Failures are swallowed by design — `registry.run` never throws and routes errors to the registry's `onError`.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useCommandShortcuts(registry: CommandRegistry, options?: CommandShortcutOptions): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { CommandRunOutcome, isCommandAvailable, type Command, type CommandContext, } from './Command';
|
|
2
|
+
export { createCommandRegistry, type CommandErrorHandler, type CommandRegistry, type CommandRegistryListener, type CommandRegistryOptions, } from './CommandRegistry';
|
|
3
|
+
export { CommandMatchRank, NO_MATCH, rankCommand, searchCommands } from './SearchCommands';
|
|
4
|
+
export { commandShortcutLabel } from './CommandShortcut';
|
|
5
|
+
export { useAvailableCommands, useCommandList, useCommandRegistryVersion, } from './UseCommandRegistry';
|
|
6
|
+
export { useCommandShortcuts, type CommandShortcutOptions } from './UseCommandShortcuts';
|
|
7
|
+
export { CommandsKey, provideCommands, useCommand, useCommands, useRegisterCommands, } from './CommandsContext';
|
|
8
|
+
export { default as CommandsProvider, type CommandsProviderProps } from './CommandsProvider.vue';
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { a as formatChordString } from "../../chunks/Chord-D9Z-j3O0.js";
|
|
2
|
+
import { computed, shallowRef, onMounted, onScopeDispose, toValue, provide, inject, watch, defineComponent, renderSlot } from "vue";
|
|
3
|
+
import { u as useHotkeyMap } from "../../chunks/UseHotkeys-CKIYK5Mq.js";
|
|
4
|
+
function isCommandAvailable(command) {
|
|
5
|
+
if (command.enabled === false) return false;
|
|
6
|
+
return command.when === void 0 || command.when();
|
|
7
|
+
}
|
|
8
|
+
const CommandRunOutcome = {
|
|
9
|
+
/** The handler ran to completion (an async handler resolved). */
|
|
10
|
+
Ran: "ran",
|
|
11
|
+
/** No command is registered under that id. */
|
|
12
|
+
NotFound: "not-found",
|
|
13
|
+
/** The command exists but `when()` / `enabled` blocked it. */
|
|
14
|
+
Unavailable: "unavailable",
|
|
15
|
+
/** The handler threw or rejected — the error was routed to the registry's `onError`. */
|
|
16
|
+
Failed: "failed"
|
|
17
|
+
};
|
|
18
|
+
function createCommandRegistry(options) {
|
|
19
|
+
const entries = /* @__PURE__ */ new Map();
|
|
20
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
21
|
+
let revision = 0;
|
|
22
|
+
function notify() {
|
|
23
|
+
revision += 1;
|
|
24
|
+
for (const listener of [...listeners]) listener();
|
|
25
|
+
}
|
|
26
|
+
function removeExact(command) {
|
|
27
|
+
if (entries.get(command.id) !== command) return false;
|
|
28
|
+
entries.delete(command.id);
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
register(command) {
|
|
33
|
+
entries.set(command.id, command);
|
|
34
|
+
notify();
|
|
35
|
+
return () => {
|
|
36
|
+
if (removeExact(command)) notify();
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
registerAll(commands) {
|
|
40
|
+
const registered = [...commands];
|
|
41
|
+
for (const command of registered) entries.set(command.id, command);
|
|
42
|
+
notify();
|
|
43
|
+
return () => {
|
|
44
|
+
let removed = false;
|
|
45
|
+
for (const command of registered) removed = removeExact(command) || removed;
|
|
46
|
+
if (removed) notify();
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
unregister(id) {
|
|
50
|
+
if (!entries.delete(id)) return false;
|
|
51
|
+
notify();
|
|
52
|
+
return true;
|
|
53
|
+
},
|
|
54
|
+
get(id) {
|
|
55
|
+
return entries.get(id);
|
|
56
|
+
},
|
|
57
|
+
list() {
|
|
58
|
+
return [...entries.values()];
|
|
59
|
+
},
|
|
60
|
+
available() {
|
|
61
|
+
return [...entries.values()].filter(isCommandAvailable);
|
|
62
|
+
},
|
|
63
|
+
async run(id, context) {
|
|
64
|
+
const command = entries.get(id);
|
|
65
|
+
if (command === void 0) return CommandRunOutcome.NotFound;
|
|
66
|
+
try {
|
|
67
|
+
if (!isCommandAvailable(command)) return CommandRunOutcome.Unavailable;
|
|
68
|
+
await command.run(context);
|
|
69
|
+
return CommandRunOutcome.Ran;
|
|
70
|
+
} catch (error) {
|
|
71
|
+
options?.onError?.(error, command);
|
|
72
|
+
return CommandRunOutcome.Failed;
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
subscribe(listener) {
|
|
76
|
+
listeners.add(listener);
|
|
77
|
+
return () => {
|
|
78
|
+
listeners.delete(listener);
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
version() {
|
|
82
|
+
return revision;
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
const NO_MATCH = Number.POSITIVE_INFINITY;
|
|
87
|
+
const CommandMatchRank = {
|
|
88
|
+
/** The title starts with the query — the strongest signal. */
|
|
89
|
+
TitlePrefix: 0,
|
|
90
|
+
/** The title contains the query somewhere after the start. */
|
|
91
|
+
TitleSubstring: 1,
|
|
92
|
+
/** One of the `keywords` contains the query. */
|
|
93
|
+
Keyword: 2,
|
|
94
|
+
/** The `group` label contains the query — the weakest signal. */
|
|
95
|
+
Group: 3
|
|
96
|
+
};
|
|
97
|
+
function rankCommand(command, query) {
|
|
98
|
+
const needle = query.trim().toLowerCase();
|
|
99
|
+
if (needle === "") return CommandMatchRank.TitlePrefix;
|
|
100
|
+
const title = command.title.toLowerCase();
|
|
101
|
+
if (title.startsWith(needle)) return CommandMatchRank.TitlePrefix;
|
|
102
|
+
if (title.includes(needle)) return CommandMatchRank.TitleSubstring;
|
|
103
|
+
const keywords = command.keywords;
|
|
104
|
+
if (keywords !== void 0 && keywords.some((keyword) => keyword.toLowerCase().includes(needle))) {
|
|
105
|
+
return CommandMatchRank.Keyword;
|
|
106
|
+
}
|
|
107
|
+
const group = command.group;
|
|
108
|
+
if (group !== void 0 && group.toLowerCase().includes(needle)) return CommandMatchRank.Group;
|
|
109
|
+
return NO_MATCH;
|
|
110
|
+
}
|
|
111
|
+
function searchCommands(commands, query) {
|
|
112
|
+
if (query.trim() === "") return commands;
|
|
113
|
+
const matches = [];
|
|
114
|
+
commands.forEach((command, index) => {
|
|
115
|
+
const rank = rankCommand(command, query);
|
|
116
|
+
if (rank !== NO_MATCH) matches.push({ command, rank, index });
|
|
117
|
+
});
|
|
118
|
+
matches.sort((left, right) => left.rank - right.rank || left.index - right.index);
|
|
119
|
+
return matches.map((match) => match.command);
|
|
120
|
+
}
|
|
121
|
+
function commandShortcutLabel(command, options) {
|
|
122
|
+
const shortcut = command.shortcut;
|
|
123
|
+
if (shortcut === void 0) return void 0;
|
|
124
|
+
try {
|
|
125
|
+
return formatChordString(shortcut, options);
|
|
126
|
+
} catch {
|
|
127
|
+
return shortcut;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
function useCommandRegistryVersion(registry) {
|
|
131
|
+
const version = shallowRef(registry.version());
|
|
132
|
+
let unsubscribe;
|
|
133
|
+
onMounted(() => {
|
|
134
|
+
version.value = registry.version();
|
|
135
|
+
unsubscribe = registry.subscribe(() => {
|
|
136
|
+
version.value = registry.version();
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
onScopeDispose(() => {
|
|
140
|
+
unsubscribe?.();
|
|
141
|
+
unsubscribe = void 0;
|
|
142
|
+
});
|
|
143
|
+
return version;
|
|
144
|
+
}
|
|
145
|
+
function useCommandList(registry) {
|
|
146
|
+
const version = useCommandRegistryVersion(registry);
|
|
147
|
+
return computed(() => {
|
|
148
|
+
void version.value;
|
|
149
|
+
return registry.list();
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
function useAvailableCommands(registry) {
|
|
153
|
+
const version = useCommandRegistryVersion(registry);
|
|
154
|
+
return computed(() => {
|
|
155
|
+
void version.value;
|
|
156
|
+
return registry.available();
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
function useCommandShortcuts(registry, options) {
|
|
160
|
+
const version = useCommandRegistryVersion(registry);
|
|
161
|
+
const trigger = (id) => {
|
|
162
|
+
void registry.run(id, toValue(options?.context)).then(() => options?.onRun?.(id));
|
|
163
|
+
};
|
|
164
|
+
useHotkeyMap(() => {
|
|
165
|
+
void version.value;
|
|
166
|
+
const bindings = {};
|
|
167
|
+
for (const command of registry.available()) {
|
|
168
|
+
const shortcut = command.shortcut;
|
|
169
|
+
if (shortcut === void 0) continue;
|
|
170
|
+
const id = command.id;
|
|
171
|
+
bindings[shortcut] = () => trigger(id);
|
|
172
|
+
}
|
|
173
|
+
return bindings;
|
|
174
|
+
}, options);
|
|
175
|
+
}
|
|
176
|
+
const CommandsKey = Symbol("wow-two.commands");
|
|
177
|
+
function provideCommands(registry, onError) {
|
|
178
|
+
const owned = createCommandRegistry({
|
|
179
|
+
onError: (error, command) => toValue(onError)?.(error, command)
|
|
180
|
+
});
|
|
181
|
+
const resolved = toValue(registry) ?? owned;
|
|
182
|
+
provide(CommandsKey, resolved);
|
|
183
|
+
return resolved;
|
|
184
|
+
}
|
|
185
|
+
function useCommands() {
|
|
186
|
+
const registry = inject(CommandsKey, void 0);
|
|
187
|
+
if (registry === void 0) {
|
|
188
|
+
throw new Error("useCommands must be used inside a <CommandsProvider>");
|
|
189
|
+
}
|
|
190
|
+
return registry;
|
|
191
|
+
}
|
|
192
|
+
function useCommand(id) {
|
|
193
|
+
const registry = useCommands();
|
|
194
|
+
const version = useCommandRegistryVersion(registry);
|
|
195
|
+
return computed(() => {
|
|
196
|
+
void version.value;
|
|
197
|
+
return registry.get(toValue(id));
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
function metadataSignature(command) {
|
|
201
|
+
return JSON.stringify([
|
|
202
|
+
command.id,
|
|
203
|
+
command.title,
|
|
204
|
+
command.description ?? "",
|
|
205
|
+
command.group ?? "",
|
|
206
|
+
command.keywords ?? [],
|
|
207
|
+
command.shortcut ?? "",
|
|
208
|
+
command.enabled !== false
|
|
209
|
+
]);
|
|
210
|
+
}
|
|
211
|
+
function bindToLatest(command, latest) {
|
|
212
|
+
const id = command.id;
|
|
213
|
+
const resolve = () => toValue(latest).find((candidate) => candidate.id === id);
|
|
214
|
+
return {
|
|
215
|
+
...command,
|
|
216
|
+
when: () => {
|
|
217
|
+
const current = resolve();
|
|
218
|
+
return current !== void 0 && isCommandAvailable(current);
|
|
219
|
+
},
|
|
220
|
+
run: (context) => resolve()?.run(context)
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function useRegisterCommands(commands, registry) {
|
|
224
|
+
const target = registry ?? inject(CommandsKey, void 0);
|
|
225
|
+
if (target === void 0) {
|
|
226
|
+
throw new Error("useRegisterCommands must be used inside a <CommandsProvider>, or given an explicit registry");
|
|
227
|
+
}
|
|
228
|
+
const signature = computed(() => toValue(commands).map(metadataSignature).join(""));
|
|
229
|
+
watch(
|
|
230
|
+
signature,
|
|
231
|
+
(_next, _previous, onCleanup) => {
|
|
232
|
+
const dispose = target.registerAll(
|
|
233
|
+
toValue(commands).map((command) => bindToLatest(command, commands))
|
|
234
|
+
);
|
|
235
|
+
onCleanup(dispose);
|
|
236
|
+
},
|
|
237
|
+
{ immediate: true }
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
241
|
+
...{ name: "CommandsProvider" },
|
|
242
|
+
__name: "CommandsProvider",
|
|
243
|
+
props: {
|
|
244
|
+
registry: {},
|
|
245
|
+
onError: { type: Function }
|
|
246
|
+
},
|
|
247
|
+
setup(__props) {
|
|
248
|
+
const props = __props;
|
|
249
|
+
provideCommands(
|
|
250
|
+
() => props.registry,
|
|
251
|
+
() => props.onError
|
|
252
|
+
);
|
|
253
|
+
return (_ctx, _cache) => {
|
|
254
|
+
return renderSlot(_ctx.$slots, "default");
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
export {
|
|
259
|
+
CommandMatchRank,
|
|
260
|
+
CommandRunOutcome,
|
|
261
|
+
CommandsKey,
|
|
262
|
+
_sfc_main as CommandsProvider,
|
|
263
|
+
NO_MATCH,
|
|
264
|
+
commandShortcutLabel,
|
|
265
|
+
createCommandRegistry,
|
|
266
|
+
isCommandAvailable,
|
|
267
|
+
provideCommands,
|
|
268
|
+
rankCommand,
|
|
269
|
+
searchCommands,
|
|
270
|
+
useAvailableCommands,
|
|
271
|
+
useCommand,
|
|
272
|
+
useCommandList,
|
|
273
|
+
useCommandRegistryVersion,
|
|
274
|
+
useCommandShortcuts,
|
|
275
|
+
useCommands,
|
|
276
|
+
useRegisterCommands
|
|
277
|
+
};
|
|
278
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/foundation/commands/Command.ts","../../../src/foundation/commands/CommandRegistry.ts","../../../src/foundation/commands/SearchCommands.ts","../../../src/foundation/commands/CommandShortcut.ts","../../../src/foundation/commands/UseCommandRegistry.ts","../../../src/foundation/commands/UseCommandShortcuts.ts","../../../src/foundation/commands/CommandsContext.ts","../../../src/foundation/commands/CommandsProvider.vue"],"sourcesContent":["// The command contract — the pure, framework-free vocabulary of the commands vector. A `Command` is one\n// invocable action (`file.save`, `nav.settings`) carrying everything a palette, menu, or keybinding layer needs\n// to present and run it: identity, label, extra search terms, an optional chord, and an availability predicate.\n//\n// Two deliberate type choices keep this file dependency-free:\n// - `icon` is `unknown`. Naming a Vue icon component type here would drag presentation into foundation; the\n// render site knows its own icon library and casts (`command.icon as Component`).\n// - `context` is `unknown` rather than a generic parameter. Making `Command<TContext>` generic would force the\n// registry, the search, and every composable generic too, for a payload that only the app's own `run` reads back.\n//\n// Registry mechanics (register / run / subscribe) live in `CommandRegistry.ts`; this file stays a vocabulary.\n\n/** The opaque payload handed to a command's `run` — apps narrow it inside their own handler (`ctx as MyCtx`). */\nexport type CommandContext = unknown;\n\n/** Describes one invocable action — the unit a palette lists, a menu renders, and a chord triggers. */\nexport interface Command {\n /** The stable identity. Re-registering the same `id` replaces the prior entry, so keep it constant across renders. */\n readonly id: string;\n\n /** The human label — the primary search field and the text a palette row shows. */\n readonly title: string;\n\n /** Optional supporting text for the row. Deliberately NOT searched: a long description matches nearly every query. */\n readonly description?: string;\n\n /** Optional grouping label (`Navigation`, `Editor`) — used for section headers and searched at the lowest rank. */\n readonly group?: string;\n\n /** Extra search terms that don't belong in the title (`['theme', 'appearance']` for \"Toggle dark mode\"). */\n readonly keywords?: readonly string[];\n\n /** Optional chord string in `foundation/shortcuts` syntax (`'mod+k'`) — bound by `useCommandShortcuts`, rendered by `commandShortcutLabel`. */\n readonly shortcut?: string;\n\n /** Optional icon slot, intentionally untyped — foundation must not name a Vue icon component type. The render site casts. */\n readonly icon?: unknown;\n\n /** Availability predicate re-evaluated on every read. Must be cheap and side-effect free (`available()` calls it per command). */\n readonly when?: () => boolean;\n\n /** Hard off-switch — `false` hides the command from `available()` regardless of `when`. Defaults to `true`. */\n readonly enabled?: boolean;\n\n /** The handler. May be sync or async; the registry awaits it and routes a rejection to its `onError`. */\n readonly run: (context?: CommandContext) => void | Promise<void>;\n}\n\n/**\n * Reports whether a command may run right now — `enabled !== false` **and** `when()` (when present) passing.\n * Exported so a surface holding a plain array (not a registry) applies the same rule the registry does.\n * Propagates a throw from `when`; `registry.run` guards against that, direct callers should not pass a throwing predicate.\n */\nexport function isCommandAvailable(command: Command): boolean {\n if (command.enabled === false) return false;\n return command.when === undefined || command.when();\n}\n\n/**\n * Defines the result of `registry.run(...)`. Every path resolves to one of these — the registry never throws, so a\n * keystroke handler needs no try/catch and a caller can distinguish \"no such command\" from \"blocked\" from \"failed\".\n */\nexport const CommandRunOutcome = {\n /** The handler ran to completion (an async handler resolved). */\n Ran: 'ran',\n /** No command is registered under that id. */\n NotFound: 'not-found',\n /** The command exists but `when()` / `enabled` blocked it. */\n Unavailable: 'unavailable',\n /** The handler threw or rejected — the error was routed to the registry's `onError`. */\n Failed: 'failed',\n} as const;\n\nexport type CommandRunOutcome = (typeof CommandRunOutcome)[keyof typeof CommandRunOutcome];\n","// The registry — the headless core of the commands vector: a mutable, insertion-ordered `id → Command` store that\n// a palette, menu, or keybinding layer reads from. Framework-free on purpose (no Vue import) so one can be\n// created at module scope, inside a provider, or in a plain node test.\n//\n// Non-obvious decisions:\n// - Re-registering an existing `id` REPLACES the entry (last wins) and keeps its ORIGINAL position in `list()`.\n// A `Map.set` on an existing key doesn't move it, which is what we want: a re-registration refreshing a command\n// must not make the palette's rows jump around.\n// - A `register` disposer removes only the entry it registered. A stale disposer firing after a replace is a\n// no-op — exactly what an effect cleanup racing a re-registration needs (cleanup runs after the next register).\n// - `run` never throws. A missing id, a `when()`-blocked command, a throwing predicate, and a rejecting handler\n// all resolve to a `CommandRunOutcome`, with the error routed to `onError`. A keystroke handler shouldn't need\n// a try/catch, and a palette shouldn't crash because one command misbehaves.\n// - Mutations bump a monotonic `version()` on top of notifying listeners. A subscribing composable needs a\n// snapshot whose identity is stable between mutations; `list()` / `available()` build fresh arrays every call\n// and would look changed on every read. The version number is the stable cursor those composables read instead.\n// - `registerAll` applies every entry then notifies ONCE, so registering a screen's ten commands wakes\n// subscribers a single time.\n\nimport { CommandRunOutcome, isCommandAvailable, type Command, type CommandContext } from './Command';\n\n/** Receives an error thrown or rejected by a command's `run` (or its `when` predicate), alongside the offending command. */\nexport type CommandErrorHandler = (error: unknown, command: Command) => void;\n\n/** Notified after any registry mutation — register, replace, or unregister. Carries no payload; re-read the registry. */\nexport type CommandRegistryListener = () => void;\n\n/** Tunes a registry at creation. */\nexport interface CommandRegistryOptions {\n /** Where a failing `run` is reported. Omitted → failures are swallowed and surface only as a `'failed'` outcome. */\n readonly onError?: CommandErrorHandler;\n}\n\n/** The headless command store — registration, lookup, availability, execution, and change notification. */\nexport interface CommandRegistry {\n /** Registers (or replaces, when the `id` already exists) a command; returns a disposer that removes exactly this entry. */\n readonly register: (command: Command) => () => void;\n\n /** Registers many commands with a single change notification; returns one disposer removing all of them. */\n readonly registerAll: (commands: readonly Command[]) => () => void;\n\n /** Removes the command under `id`; returns whether anything was removed. */\n readonly unregister: (id: string) => boolean;\n\n /** Looks up one command by id — `undefined` when absent. Identity is stable between mutations (safe as a snapshot). */\n readonly get: (id: string) => Command | undefined;\n\n /** Every registered command in insertion order (a replaced entry keeps its original slot). Fresh array per call. */\n readonly list: () => readonly Command[];\n\n /** The subset of `list()` that `isCommandAvailable` accepts — what a palette should actually show. Fresh array per call. */\n readonly available: () => readonly Command[];\n\n /** Executes a command by id. Never throws — see {@link CommandRunOutcome}. An async handler is awaited. */\n readonly run: (id: string, context?: CommandContext) => Promise<CommandRunOutcome>;\n\n /** Subscribes to mutations; returns an unsubscribe. */\n readonly subscribe: (listener: CommandRegistryListener) => () => 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/**\n * Creates a {@link CommandRegistry}. One per app is the norm (a `CommandsProvider` owns it); create extra ones for\n * isolation in tests or for a scoped palette that must not see the global set.\n */\nexport function createCommandRegistry(options?: CommandRegistryOptions): CommandRegistry {\n const entries = new Map<string, Command>();\n const listeners = new Set<CommandRegistryListener>();\n let revision = 0;\n\n /** Bumps the version then fans out to listeners 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 /** Removes `command` only if it is still the entry under its id; reports whether it removed anything. */\n function removeExact(command: Command): boolean {\n if (entries.get(command.id) !== command) return false;\n entries.delete(command.id);\n return true;\n }\n\n return {\n register(command: Command): () => void {\n entries.set(command.id, command);\n notify();\n return () => {\n if (removeExact(command)) notify();\n };\n },\n\n registerAll(commands: readonly Command[]): () => void {\n const registered = [...commands];\n for (const command of registered) entries.set(command.id, command);\n notify();\n return () => {\n let removed = false;\n for (const command of registered) removed = removeExact(command) || removed;\n if (removed) notify();\n };\n },\n\n unregister(id: string): boolean {\n if (!entries.delete(id)) return false;\n notify();\n return true;\n },\n\n get(id: string): Command | undefined {\n return entries.get(id);\n },\n\n list(): readonly Command[] {\n return [...entries.values()];\n },\n\n available(): readonly Command[] {\n return [...entries.values()].filter(isCommandAvailable);\n },\n\n async run(id: string, context?: CommandContext): Promise<CommandRunOutcome> {\n const command = entries.get(id);\n if (command === undefined) return CommandRunOutcome.NotFound;\n try {\n // Inside the try so a throwing `when` degrades to `'failed'` rather than escaping the \"never throws\" promise.\n if (!isCommandAvailable(command)) return CommandRunOutcome.Unavailable;\n await command.run(context);\n return CommandRunOutcome.Ran;\n } catch (error) {\n options?.onError?.(error, command);\n return CommandRunOutcome.Failed;\n }\n },\n\n subscribe(listener: CommandRegistryListener): () => void {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n },\n\n version(): number {\n return revision;\n },\n };\n}\n","// Search + ranking — the pure half of a palette's filter box. Kept out of the registry so any list can be ranked\n// (a static array, a scoped subset, an app set merged with the SDK's) without owning a registry, and so the\n// ranking is testable without mounting anything.\n//\n// Non-obvious decisions:\n// - Matching covers `title`, `keywords`, and `group` only. `description` is deliberately excluded: a sentence-long\n// description matches almost any short query, which floods the list and destroys the ranking.\n// - Ranking is tiered, not fuzzy. Fuzzy scoring reorders rows unpredictably as the user types; four ordered tiers\n// (title prefix → title substring → keyword → group) stay legible and cheap.\n// - Ties keep the caller's original order — the sort is explicitly stabilized on the source index rather than\n// relying on engine sort stability, so a palette's rows never reshuffle between keystrokes.\n// - An empty (or whitespace-only) query returns the SAME array reference it was given, so a `useMemo`d caller\n// doesn't churn on the common \"nothing typed yet\" path.\n\nimport type { Command } from './Command';\n\n/** The rank of a command the query excludes — compare against this to test a match. */\nexport const NO_MATCH = Number.POSITIVE_INFINITY;\n\n/** The tier a match landed in — lower sorts first. Exported so a surface can label or style a match by its origin. */\nexport const CommandMatchRank = {\n /** The title starts with the query — the strongest signal. */\n TitlePrefix: 0,\n /** The title contains the query somewhere after the start. */\n TitleSubstring: 1,\n /** One of the `keywords` contains the query. */\n Keyword: 2,\n /** The `group` label contains the query — the weakest signal. */\n Group: 3,\n} as const;\n\nexport type CommandMatchRank = (typeof CommandMatchRank)[keyof typeof CommandMatchRank];\n\n/**\n * Scores one command against a query — a {@link CommandMatchRank} when it matches, {@link NO_MATCH} when it\n * doesn't. Case-insensitive; the query is trimmed. An empty query matches everything at the best rank.\n */\nexport function rankCommand(command: Command, query: string): number {\n const needle = query.trim().toLowerCase();\n if (needle === '') return CommandMatchRank.TitlePrefix;\n\n const title = command.title.toLowerCase();\n if (title.startsWith(needle)) return CommandMatchRank.TitlePrefix;\n if (title.includes(needle)) return CommandMatchRank.TitleSubstring;\n\n const keywords = command.keywords;\n if (keywords !== undefined && keywords.some((keyword) => keyword.toLowerCase().includes(needle))) {\n return CommandMatchRank.Keyword;\n }\n\n const group = command.group;\n if (group !== undefined && group.toLowerCase().includes(needle)) return CommandMatchRank.Group;\n\n return NO_MATCH;\n}\n\n/**\n * Filters and ranks commands for a palette's search box. Non-matching commands are dropped; matches sort by\n * {@link CommandMatchRank}, ties keeping their original relative order. An empty / whitespace-only query returns\n * the input untouched (same reference, original order).\n *\n * Availability is NOT applied here — pass `registry.available()` when the palette should hide blocked commands.\n */\nexport function searchCommands(commands: readonly Command[], query: string): readonly Command[] {\n if (query.trim() === '') return commands;\n\n const matches: { readonly command: Command; readonly rank: number; readonly index: number }[] = [];\n commands.forEach((command, index) => {\n const rank = rankCommand(command, query);\n if (rank !== NO_MATCH) matches.push({ command, rank, index });\n });\n\n matches.sort((left, right) => left.rank - right.rank || left.index - right.index);\n return matches.map((match) => match.command);\n}\n","// The display half of a command's shortcut. A palette row shows `⌘K` / `Ctrl+K` next to the title; without this\n// helper every surface would re-derive that label from the raw `'mod+k'` string and eventually drift from what\n// `useCommandShortcuts` actually binds. Delegating to `foundation/shortcuts`' `formatChordString` keeps the label\n// and the binding on one parser, including the platform split (`mod` → ⌘ on Apple, Ctrl elsewhere).\n//\n// An unparseable chord degrades to the raw string instead of throwing: a typo'd shortcut should render oddly, not\n// crash the palette rendering it. The error still surfaces loudly the moment the chord is bound.\n\nimport { formatChordString, type ChordPlatformOptions } from '../shortcuts';\n\nimport type { Command } from './Command';\n\n/**\n * Renders a command's shortcut for display (`'mod+k'` → `⌘K` on Apple, `Ctrl+K` elsewhere). Returns `undefined`\n * when the command carries no shortcut, and the raw string when it carries one the chord parser rejects.\n * Pass `{ applePlatform }` to force the platform (SSR, tests, a per-user preference).\n */\nexport function commandShortcutLabel(command: Command, options?: ChordPlatformOptions): string | undefined {\n const shortcut = command.shortcut;\n if (shortcut === undefined) return undefined;\n try {\n return formatChordString(shortcut, options);\n } catch {\n return shortcut;\n }\n}\n","// The Vue subscription seam over a registry — how a component updates when commands come and go.\n//\n// The non-obvious part is why these track `registry.version()` instead of the command list directly: `list()` /\n// `available()` build a fresh array per call, so either as the tracked value would report a change on every\n// read. The monotonic version number is identity-stable between mutations, so it is what the subscription\n// mirrors into a `shallowRef`; the arrays are derived from it through a `computed` that touches the version.\n//\n// The subscription is attached in `onMounted` and dropped in `onScopeDispose`, matching every other subscription\n// in the port. Nothing here reads a platform global — a registry is plain in-memory state — so the SSR pass\n// reads a correct version rather than a placeholder; the mount hook exists for the listener alone.\n//\n// These composables take the registry explicitly (no injection), so a scoped palette can drive its own registry.\n// `CommandsContext.ts` provides the ambient-registry conveniences on top.\n\nimport { computed, onMounted, onScopeDispose, shallowRef, type ComputedRef, type ShallowRef } from 'vue';\n\nimport type { Command } from './Command';\nimport type { CommandRegistry } from './CommandRegistry';\n\n/**\n * Subscribes to a registry's mutations and returns its current version counter. The building block behind\n * {@link useCommandList} / {@link useAvailableCommands}; use it directly to derive a custom projection\n * (`computed(() => (version.value, registry.list().filter(mine)))`).\n */\nexport function useCommandRegistryVersion(registry: CommandRegistry): Readonly<ShallowRef<number>> {\n const version = shallowRef(registry.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 = registry.version();\n unsubscribe = registry.subscribe(() => {\n version.value = registry.version();\n });\n });\n\n onScopeDispose(() => {\n unsubscribe?.();\n unsubscribe = undefined;\n });\n\n return version;\n}\n\n/** Every registered command in insertion order, updating the caller whenever the registry mutates. */\nexport function useCommandList(registry: CommandRegistry): ComputedRef<readonly Command[]> {\n const version = useCommandRegistryVersion(registry);\n // `version` is the mutation cursor that invalidates the list — touched, then discarded.\n return computed(() => {\n void version.value;\n return registry.list();\n });\n}\n\n/**\n * The commands a palette should show — `available()` re-evaluated on every registry mutation.\n *\n * Availability also depends on whatever `when()` reads, and a registry mutation is the only trigger here: a\n * `when` predicate closing over unrelated state won't re-run on its own. Keep predicates over state the registry\n * sees (re-register on change — `useRegisterCommands` does this for you), not over free-floating variables.\n */\nexport function useAvailableCommands(registry: CommandRegistry): ComputedRef<readonly Command[]> {\n const version = useCommandRegistryVersion(registry);\n return computed(() => {\n void version.value;\n return registry.available();\n });\n}\n","// Binds every available command that carries a `shortcut` to its chord, in one composable. This is the join\n// between the commands vector and `foundation/shortcuts`: the registry owns \"what can run\", `useHotkeyMap` owns\n// \"what the keyboard did\", and this composable keeps the two in sync as commands register and unregister.\n//\n// Non-obvious decisions:\n// - The map is a GETTER over `registry.available()` that touches the version cursor, so it is rebuilt on every\n// registry mutation and a command whose `when()` starts failing loses its binding instead of firing invisibly.\n// `useHotkeyMap` accepts a `MaybeRefOrGetter` map for exactly this shape.\n// - Two commands claiming the same chord collapse to one entry — last registered wins, matching the registry's\n// own last-wins rule for duplicate ids. Object keys can't hold both, and silently binding only one is better\n// than throwing while building the map.\n// - `context` and `onRun` are read through `toValue` at trigger time, so changing either needs no re-binding.\n// - Chord parsing is NOT duplicated here — the raw `shortcut` string is handed to `useHotkeyMap`, which parses it\n// with the same `applePlatform` option `commandShortcutLabel` uses for display.\n\nimport { toValue, type MaybeRefOrGetter } from 'vue';\n\nimport { useHotkeyMap, type HotkeyOptions } from '../shortcuts';\n\nimport type { CommandContext } from './Command';\nimport type { CommandRegistry } from './CommandRegistry';\nimport { useCommandRegistryVersion } from './UseCommandRegistry';\n\n/** Tunes command-shortcut binding — every `useHotkeyMap` option, plus the payload passed to the command. */\nexport interface CommandShortcutOptions extends HotkeyOptions {\n /** Forwarded to `registry.run(id, context)` on every trigger. Read live, so changing it needs no re-binding. */\n readonly context?: MaybeRefOrGetter<CommandContext>;\n\n /** Notified after a triggered command settles — the seam for closing a palette or logging the outcome. */\n readonly onRun?: (id: string) => void;\n}\n\n/**\n * Binds the chord of every available command in `registry`, running the command on trigger. Re-binds whenever the\n * registry changes. Commands without a `shortcut`, and commands `when()`/`enabled` currently blocks, bind nothing.\n *\n * Failures are swallowed by design — `registry.run` never throws and routes errors to the registry's `onError`.\n */\nexport function useCommandShortcuts(registry: CommandRegistry, options?: CommandShortcutOptions): void {\n const version = useCommandRegistryVersion(registry);\n\n const trigger = (id: string): void => {\n void registry.run(id, toValue(options?.context)).then(() => options?.onRun?.(id));\n };\n\n useHotkeyMap(() => {\n // `version` is the mutation cursor that invalidates the map — touched, then discarded.\n void version.value;\n const bindings: Record<string, (event: KeyboardEvent) => void> = {};\n for (const command of registry.available()) {\n const shortcut = command.shortcut;\n if (shortcut === undefined) continue;\n const id = command.id;\n bindings[shortcut] = () => trigger(id);\n }\n return bindings;\n }, options);\n}\n","// The Vue seam — an ambient registry so a screen deep in the tree can contribute commands without threading a\n// registry through props, following the repo's `LocaleContext` / `DirectionContext` provide + inject shape.\n//\n// Non-obvious decisions:\n// - `useCommands` THROWS without a provider, where `useLocale` falls back to a default. A locale has a sane\n// default (`en-US`); a registry does not — a silent fallback would accept registrations into a throwaway store\n// and the palette would just be empty, which is far harder to debug than a named error.\n// - `useRegisterCommands` keys its watcher on a CONTENT signature of the commands, never on array identity. The\n// React original needed that to avoid an infinite register → notify → re-render → register loop; here it earns\n// its place for a plainer reason: a `computed` array rebuilt on an unrelated dependency would otherwise churn\n// the registry (and the palette's row order) for no change the user could see.\n// - Because the watcher skips identity changes, the entries it registers delegate `run` / `when` back through\n// `toValue` to the LATEST value of the caller's source. Without that, a handler closing over reactive state\n// would be frozen at the value that last changed the signature. Text metadata is part of the signature, so it\n// re-registers when it changes; behaviour is always live. Net effect: the caller memoizes nothing.\n// - The signature is built with `JSON.stringify`, not a delimiter join: JSON quoting makes each field\n// self-delimiting, so a title containing the delimiter can't forge a boundary and alias two different sets.\n// - Nothing here touches a platform global, so the registration watcher is `immediate` — a server-rendered\n// palette lists the commands its subtree registered, exactly as the client does.\n\nimport {\n computed,\n inject,\n provide,\n toValue,\n watch,\n type ComputedRef,\n type InjectionKey,\n type MaybeRefOrGetter,\n} from 'vue';\n\nimport { isCommandAvailable, type Command } from './Command';\nimport { createCommandRegistry, type CommandErrorHandler, type CommandRegistry } from './CommandRegistry';\nimport { useCommandRegistryVersion } from './UseCommandRegistry';\n\n/** The injection key — React's `createContext(undefined)` becomes a key plus an explicit throw at the read site. */\nexport const CommandsKey: InjectionKey<CommandRegistry> = Symbol('wow-two.commands');\n\n/**\n * The provider half — used by `CommandsProvider`, and by any component that owns a registry.\n *\n * @param registry An existing registry to share (module-scope singleton, a test's registry). Omitted → one is\n * created and owned here.\n * @param onError Where a failing command's error goes. Read live, and ignored when `registry` is supplied —\n * that registry carries its own handler.\n * @returns The registry that was provided.\n */\nexport function provideCommands(\n registry?: MaybeRefOrGetter<CommandRegistry | undefined>,\n onError?: MaybeRefOrGetter<CommandErrorHandler | undefined>,\n): CommandRegistry {\n // Read live so a fresh `onError` closure is picked up without rebuilding the registry.\n const owned = createCommandRegistry({\n onError: (error, command) => toValue(onError)?.(error, command),\n });\n const resolved = toValue(registry) ?? owned;\n provide(CommandsKey, resolved);\n return resolved;\n}\n\n/** Reads the ambient registry. Throws when no {@link CommandsKey} provider is mounted — see the file header. */\nexport function useCommands(): CommandRegistry {\n const registry = inject(CommandsKey, undefined);\n if (registry === undefined) {\n throw new Error('useCommands must be used inside a <CommandsProvider>');\n }\n return registry;\n}\n\n/**\n * Reads one command from the ambient registry by id, updating when that command is registered, replaced, or\n * removed. `undefined` while nothing owns the id — a palette row can render a disabled placeholder from it.\n */\nexport function useCommand(id: MaybeRefOrGetter<string>): ComputedRef<Command | undefined> {\n const registry = useCommands();\n const version = useCommandRegistryVersion(registry);\n // `get` returns the stored object, whose identity is stable between mutations; `version` is the cursor that\n // says when to look again.\n return computed(() => {\n void version.value;\n return registry.get(toValue(id));\n });\n}\n\n/**\n * Builds the content key that decides when a registration is stale — every searchable / rendered text field plus\n * `enabled`. `run`, `when`, and `icon` are excluded (functions and opaque slots don't serialize); they stay fresh\n * through {@link bindToLatest} instead.\n */\nfunction metadataSignature(command: Command): string {\n return JSON.stringify([\n command.id,\n command.title,\n command.description ?? '',\n command.group ?? '',\n command.keywords ?? [],\n command.shortcut ?? '',\n command.enabled !== false,\n ]);\n}\n\n/**\n * Wraps a command so `run` / `when` resolve against the latest value of the caller's source rather than the\n * snapshot captured when the watcher last ran. Metadata comes from the snapshot — it is covered by the\n * signature, so it can't drift.\n */\nfunction bindToLatest(command: Command, latest: MaybeRefOrGetter<readonly Command[]>): Command {\n const id = command.id;\n const resolve = (): Command | undefined => toValue(latest).find((candidate) => candidate.id === id);\n return {\n ...command,\n when: () => {\n const current = resolve();\n // Gone from the caller's array but not yet unregistered (mid-cleanup) → treat as unavailable.\n return current !== undefined && isCommandAvailable(current);\n },\n run: (context) => resolve()?.run(context),\n };\n}\n\n/**\n * Registers commands for as long as the calling scope lives, unregistering when it is disposed. The array may be\n * an inline literal, a ref, or a getter — registration re-runs when the commands' text metadata changes, and\n * `run` / `when` always call through to the latest value.\n *\n * Pass `registry` to target a specific registry; otherwise the ambient one is used (and a missing provider throws).\n */\nexport function useRegisterCommands(\n commands: MaybeRefOrGetter<readonly Command[]>,\n registry?: CommandRegistry,\n): void {\n const target = registry ?? inject(CommandsKey, undefined);\n if (target === undefined) {\n throw new Error('useRegisterCommands must be used inside a <CommandsProvider>, or given an explicit registry');\n }\n\n // The content-stable key standing in for the array — see the file header on why identity fails.\n const signature = computed(() => toValue(commands).map(metadataSignature).join(''));\n\n watch(\n signature,\n (_next, _previous, onCleanup) => {\n const dispose = target.registerAll(\n toValue(commands).map((command) => bindToLatest(command, commands)),\n );\n onCleanup(dispose);\n },\n { immediate: true },\n );\n}\n","<script lang=\"ts\">\nimport type { CommandErrorHandler, CommandRegistry } from './CommandRegistry';\n\n/** Props for `CommandsProvider`. */\nexport interface CommandsProviderProps {\n /** An existing registry to share (module-scope singleton, a test's registry). Omitted → the provider owns one. */\n registry?: CommandRegistry;\n\n /** Where a failing command's error goes. Ignored when `registry` is supplied — that registry carries its own handler. */\n onError?: CommandErrorHandler;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { provideCommands } from './CommandsContext';\n\n/**\n * Provides a command registry to every descendant — the mount point for `useCommands` / `useRegisterCommands`.\n *\n * Renders no element of its own — the slot passes straight through. A component that already owns a registry can\n * call `provideCommands` directly instead of wrapping its subtree in this.\n */\ndefineOptions({ name: 'CommandsProvider' });\n\nconst props = defineProps<CommandsProviderProps>();\n\nprovideCommands(\n () => props.registry,\n () => props.onError,\n);\n</script>\n\n<template>\n <slot />\n</template>\n"],"names":["_renderSlot"],"mappings":";;;AAqDO,SAAS,mBAAmB,SAA2B;AAC5D,MAAI,QAAQ,YAAY,MAAO,QAAO;AACtC,SAAO,QAAQ,SAAS,UAAa,QAAQ,KAAA;AAC/C;AAMO,MAAM,oBAAoB;AAAA;AAAA,EAE/B,KAAK;AAAA;AAAA,EAEL,UAAU;AAAA;AAAA,EAEV,aAAa;AAAA;AAAA,EAEb,QAAQ;AACV;ACJO,SAAS,sBAAsB,SAAmD;AACvF,QAAM,8BAAc,IAAA;AACpB,QAAM,gCAAgB,IAAA;AACtB,MAAI,WAAW;AAGf,WAAS,SAAe;AACtB,gBAAY;AACZ,eAAW,YAAY,CAAC,GAAG,SAAS,EAAG,UAAA;AAAA,EACzC;AAGA,WAAS,YAAY,SAA2B;AAC9C,QAAI,QAAQ,IAAI,QAAQ,EAAE,MAAM,QAAS,QAAO;AAChD,YAAQ,OAAO,QAAQ,EAAE;AACzB,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL,SAAS,SAA8B;AACrC,cAAQ,IAAI,QAAQ,IAAI,OAAO;AAC/B,aAAA;AACA,aAAO,MAAM;AACX,YAAI,YAAY,OAAO,EAAG,QAAA;AAAA,MAC5B;AAAA,IACF;AAAA,IAEA,YAAY,UAA0C;AACpD,YAAM,aAAa,CAAC,GAAG,QAAQ;AAC/B,iBAAW,WAAW,WAAY,SAAQ,IAAI,QAAQ,IAAI,OAAO;AACjE,aAAA;AACA,aAAO,MAAM;AACX,YAAI,UAAU;AACd,mBAAW,WAAW,WAAY,WAAU,YAAY,OAAO,KAAK;AACpE,YAAI,QAAS,QAAA;AAAA,MACf;AAAA,IACF;AAAA,IAEA,WAAW,IAAqB;AAC9B,UAAI,CAAC,QAAQ,OAAO,EAAE,EAAG,QAAO;AAChC,aAAA;AACA,aAAO;AAAA,IACT;AAAA,IAEA,IAAI,IAAiC;AACnC,aAAO,QAAQ,IAAI,EAAE;AAAA,IACvB;AAAA,IAEA,OAA2B;AACzB,aAAO,CAAC,GAAG,QAAQ,QAAQ;AAAA,IAC7B;AAAA,IAEA,YAAgC;AAC9B,aAAO,CAAC,GAAG,QAAQ,QAAQ,EAAE,OAAO,kBAAkB;AAAA,IACxD;AAAA,IAEA,MAAM,IAAI,IAAY,SAAsD;AAC1E,YAAM,UAAU,QAAQ,IAAI,EAAE;AAC9B,UAAI,YAAY,OAAW,QAAO,kBAAkB;AACpD,UAAI;AAEF,YAAI,CAAC,mBAAmB,OAAO,UAAU,kBAAkB;AAC3D,cAAM,QAAQ,IAAI,OAAO;AACzB,eAAO,kBAAkB;AAAA,MAC3B,SAAS,OAAO;AACd,iBAAS,UAAU,OAAO,OAAO;AACjC,eAAO,kBAAkB;AAAA,MAC3B;AAAA,IACF;AAAA,IAEA,UAAU,UAA+C;AACvD,gBAAU,IAAI,QAAQ;AACtB,aAAO,MAAM;AACX,kBAAU,OAAO,QAAQ;AAAA,MAC3B;AAAA,IACF;AAAA,IAEA,UAAkB;AAChB,aAAO;AAAA,IACT;AAAA,EAAA;AAEJ;ACnIO,MAAM,WAAW,OAAO;AAGxB,MAAM,mBAAmB;AAAA;AAAA,EAE9B,aAAa;AAAA;AAAA,EAEb,gBAAgB;AAAA;AAAA,EAEhB,SAAS;AAAA;AAAA,EAET,OAAO;AACT;AAQO,SAAS,YAAY,SAAkB,OAAuB;AACnE,QAAM,SAAS,MAAM,KAAA,EAAO,YAAA;AAC5B,MAAI,WAAW,GAAI,QAAO,iBAAiB;AAE3C,QAAM,QAAQ,QAAQ,MAAM,YAAA;AAC5B,MAAI,MAAM,WAAW,MAAM,UAAU,iBAAiB;AACtD,MAAI,MAAM,SAAS,MAAM,UAAU,iBAAiB;AAEpD,QAAM,WAAW,QAAQ;AACzB,MAAI,aAAa,UAAa,SAAS,KAAK,CAAC,YAAY,QAAQ,YAAA,EAAc,SAAS,MAAM,CAAC,GAAG;AAChG,WAAO,iBAAiB;AAAA,EAC1B;AAEA,QAAM,QAAQ,QAAQ;AACtB,MAAI,UAAU,UAAa,MAAM,YAAA,EAAc,SAAS,MAAM,EAAG,QAAO,iBAAiB;AAEzF,SAAO;AACT;AASO,SAAS,eAAe,UAA8B,OAAmC;AAC9F,MAAI,MAAM,WAAW,GAAI,QAAO;AAEhC,QAAM,UAA0F,CAAA;AAChG,WAAS,QAAQ,CAAC,SAAS,UAAU;AACnC,UAAM,OAAO,YAAY,SAAS,KAAK;AACvC,QAAI,SAAS,SAAU,SAAQ,KAAK,EAAE,SAAS,MAAM,OAAO;AAAA,EAC9D,CAAC;AAED,UAAQ,KAAK,CAAC,MAAM,UAAU,KAAK,OAAO,MAAM,QAAQ,KAAK,QAAQ,MAAM,KAAK;AAChF,SAAO,QAAQ,IAAI,CAAC,UAAU,MAAM,OAAO;AAC7C;ACzDO,SAAS,qBAAqB,SAAkB,SAAoD;AACzG,QAAM,WAAW,QAAQ;AACzB,MAAI,aAAa,OAAW,QAAO;AACnC,MAAI;AACF,WAAO,kBAAkB,UAAU,OAAO;AAAA,EAC5C,QAAQ;AACN,WAAO;AAAA,EACT;AACF;ACDO,SAAS,0BAA0B,UAAyD;AACjG,QAAM,UAAU,WAAW,SAAS,QAAA,CAAS;AAE7C,MAAI;AAEJ,YAAU,MAAM;AAEd,YAAQ,QAAQ,SAAS,QAAA;AACzB,kBAAc,SAAS,UAAU,MAAM;AACrC,cAAQ,QAAQ,SAAS,QAAA;AAAA,IAC3B,CAAC;AAAA,EACH,CAAC;AAED,iBAAe,MAAM;AACnB,kBAAA;AACA,kBAAc;AAAA,EAChB,CAAC;AAED,SAAO;AACT;AAGO,SAAS,eAAe,UAA4D;AACzF,QAAM,UAAU,0BAA0B,QAAQ;AAElD,SAAO,SAAS,MAAM;AACpB,SAAK,QAAQ;AACb,WAAO,SAAS,KAAA;AAAA,EAClB,CAAC;AACH;AASO,SAAS,qBAAqB,UAA4D;AAC/F,QAAM,UAAU,0BAA0B,QAAQ;AAClD,SAAO,SAAS,MAAM;AACpB,SAAK,QAAQ;AACb,WAAO,SAAS,UAAA;AAAA,EAClB,CAAC;AACH;AC9BO,SAAS,oBAAoB,UAA2B,SAAwC;AACrG,QAAM,UAAU,0BAA0B,QAAQ;AAElD,QAAM,UAAU,CAAC,OAAqB;AACpC,SAAK,SAAS,IAAI,IAAI,QAAQ,SAAS,OAAO,CAAC,EAAE,KAAK,MAAM,SAAS,QAAQ,EAAE,CAAC;AAAA,EAClF;AAEA,eAAa,MAAM;AAEjB,SAAK,QAAQ;AACb,UAAM,WAA2D,CAAA;AACjE,eAAW,WAAW,SAAS,aAAa;AAC1C,YAAM,WAAW,QAAQ;AACzB,UAAI,aAAa,OAAW;AAC5B,YAAM,KAAK,QAAQ;AACnB,eAAS,QAAQ,IAAI,MAAM,QAAQ,EAAE;AAAA,IACvC;AACA,WAAO;AAAA,EACT,GAAG,OAAO;AACZ;ACrBO,MAAM,cAA6C,OAAO,kBAAkB;AAW5E,SAAS,gBACd,UACA,SACiB;AAEjB,QAAM,QAAQ,sBAAsB;AAAA,IAClC,SAAS,CAAC,OAAO,YAAY,QAAQ,OAAO,IAAI,OAAO,OAAO;AAAA,EAAA,CAC/D;AACD,QAAM,WAAW,QAAQ,QAAQ,KAAK;AACtC,UAAQ,aAAa,QAAQ;AAC7B,SAAO;AACT;AAGO,SAAS,cAA+B;AAC7C,QAAM,WAAW,OAAO,aAAa,MAAS;AAC9C,MAAI,aAAa,QAAW;AAC1B,UAAM,IAAI,MAAM,sDAAsD;AAAA,EACxE;AACA,SAAO;AACT;AAMO,SAAS,WAAW,IAAgE;AACzF,QAAM,WAAW,YAAA;AACjB,QAAM,UAAU,0BAA0B,QAAQ;AAGlD,SAAO,SAAS,MAAM;AACpB,SAAK,QAAQ;AACb,WAAO,SAAS,IAAI,QAAQ,EAAE,CAAC;AAAA,EACjC,CAAC;AACH;AAOA,SAAS,kBAAkB,SAA0B;AACnD,SAAO,KAAK,UAAU;AAAA,IACpB,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ,eAAe;AAAA,IACvB,QAAQ,SAAS;AAAA,IACjB,QAAQ,YAAY,CAAA;AAAA,IACpB,QAAQ,YAAY;AAAA,IACpB,QAAQ,YAAY;AAAA,EAAA,CACrB;AACH;AAOA,SAAS,aAAa,SAAkB,QAAuD;AAC7F,QAAM,KAAK,QAAQ;AACnB,QAAM,UAAU,MAA2B,QAAQ,MAAM,EAAE,KAAK,CAAC,cAAc,UAAU,OAAO,EAAE;AAClG,SAAO;AAAA,IACL,GAAG;AAAA,IACH,MAAM,MAAM;AACV,YAAM,UAAU,QAAA;AAEhB,aAAO,YAAY,UAAa,mBAAmB,OAAO;AAAA,IAC5D;AAAA,IACA,KAAK,CAAC,YAAY,QAAA,GAAW,IAAI,OAAO;AAAA,EAAA;AAE5C;AASO,SAAS,oBACd,UACA,UACM;AACN,QAAM,SAAS,YAAY,OAAO,aAAa,MAAS;AACxD,MAAI,WAAW,QAAW;AACxB,UAAM,IAAI,MAAM,6FAA6F;AAAA,EAC/G;AAGA,QAAM,YAAY,SAAS,MAAM,QAAQ,QAAQ,EAAE,IAAI,iBAAiB,EAAE,KAAK,EAAE,CAAC;AAElF;AAAA,IACE;AAAA,IACA,CAAC,OAAO,WAAW,cAAc;AAC/B,YAAM,UAAU,OAAO;AAAA,QACrB,QAAQ,QAAQ,EAAE,IAAI,CAAC,YAAY,aAAa,SAAS,QAAQ,CAAC;AAAA,MAAA;AAEpE,gBAAU,OAAO;AAAA,IACnB;AAAA,IACA,EAAE,WAAW,KAAA;AAAA,EAAK;AAEtB;;;;;;;;;AC7HA,UAAM,QAAQ;AAEd;AAAA,MACE,MAAM,MAAM;AAAA,MACZ,MAAM,MAAM;AAAA,IAAA;;aAKZA,WAAQ,KAAA,QAAA,SAAA;AAAA;;;"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/** Tunes one field's presence policy and fallback. A `default` (or `required: false`) makes the field optional. */
|
|
2
|
+
export interface ConfigFieldOptions<T> {
|
|
3
|
+
/** Marks the field required. Defaults to `true` unless a `default` is supplied. */
|
|
4
|
+
readonly required?: boolean;
|
|
5
|
+
/** The value used when the key is absent or empty. Supplying it makes the field optional. */
|
|
6
|
+
readonly default?: T;
|
|
7
|
+
/** Redacts the raw value from `ConfigError` messages — set for tokens, keys, and passwords. */
|
|
8
|
+
readonly secret?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Describes a single configuration key: its scalar type, presence policy, and how to parse a present raw
|
|
12
|
+
* string into `T`. `Optional` is a phantom flag the schema inference reads to widen the output to `T | undefined`
|
|
13
|
+
* for a field that is `required: false` with no `default`.
|
|
14
|
+
*/
|
|
15
|
+
export interface ConfigField<T, Optional extends boolean = false> {
|
|
16
|
+
/** The human-facing type name used in error messages (`string`, `number`, `one of [...]`, …). */
|
|
17
|
+
readonly typeName: string;
|
|
18
|
+
/** Whether a missing key is an error. `false` when a `default` is present or `required: false`. */
|
|
19
|
+
readonly required: boolean;
|
|
20
|
+
/** Whether an explicit `default` was supplied. */
|
|
21
|
+
readonly hasDefault: boolean;
|
|
22
|
+
/** The configured fallback, meaningful only when `hasDefault` is `true`. */
|
|
23
|
+
readonly defaultValue?: T;
|
|
24
|
+
/** Whether the raw value is redacted from error output. */
|
|
25
|
+
readonly secret: boolean;
|
|
26
|
+
/** Phantom marker: `true` widens the inferred output type to `T | undefined`. Never read at runtime. */
|
|
27
|
+
readonly __optional?: Optional;
|
|
28
|
+
/** Parses a present, non-empty raw string into `T`; throws a `string` message describing the failure. */
|
|
29
|
+
parse(raw: string): T;
|
|
30
|
+
}
|
|
31
|
+
/** Computes a field's phantom optionality from its options literal — optional iff no `default` and `required: false`. */
|
|
32
|
+
type Optionality<O> = O extends {
|
|
33
|
+
default: unknown;
|
|
34
|
+
} ? false : O extends {
|
|
35
|
+
required: false;
|
|
36
|
+
} ? true : false;
|
|
37
|
+
/** The upper bound for a field of unknown scalar type — every concrete `ConfigField<T, …>` is assignable to it. */
|
|
38
|
+
export type AnyConfigField = ConfigField<unknown, boolean>;
|
|
39
|
+
/** A string field — the raw value is trimmed and rejected when empty (empty already reads as "missing"). */
|
|
40
|
+
export declare function str<const O extends ConfigFieldOptions<string> = ConfigFieldOptions<string>>(options?: O): ConfigField<string, Optionality<O>>;
|
|
41
|
+
/** A finite-number field — rejects any raw string that does not parse to a finite JS number. */
|
|
42
|
+
export declare function num<const O extends ConfigFieldOptions<number> = ConfigFieldOptions<number>>(options?: O): ConfigField<number, Optionality<O>>;
|
|
43
|
+
/** A boolean field — accepts `true/1/yes/on` and `false/0/no/off` (case-insensitive); rejects anything else. */
|
|
44
|
+
export declare function bool<const O extends ConfigFieldOptions<boolean> = ConfigFieldOptions<boolean>>(options?: O): ConfigField<boolean, Optionality<O>>;
|
|
45
|
+
/** An enum field — the value must be one of `values`; the output type narrows to that literal union. */
|
|
46
|
+
export declare function oneOf<const V extends readonly string[], const O extends ConfigFieldOptions<V[number]> = ConfigFieldOptions<V[number]>>(values: V, options?: O): ConfigField<V[number], Optionality<O>>;
|
|
47
|
+
/** A URL field — validated with the `URL` constructor; the parsed string is returned unchanged. */
|
|
48
|
+
export declare function url<const O extends ConfigFieldOptions<string> = ConfigFieldOptions<string>>(options?: O): ConfigField<string, Optionality<O>>;
|
|
49
|
+
/** A TCP-port field — a finite integer in `1..65535`. */
|
|
50
|
+
export declare function port<const O extends ConfigFieldOptions<number> = ConfigFieldOptions<number>>(options?: O): ConfigField<number, Optionality<O>>;
|
|
51
|
+
/** A JSON field — `JSON.parse`d into `T`; a malformed document is rejected. */
|
|
52
|
+
export declare function json<T, const O extends ConfigFieldOptions<T> = ConfigFieldOptions<T>>(options?: O): ConfigField<T, Optionality<O>>;
|
|
53
|
+
/** Tunes how a `list` field splits its raw value. */
|
|
54
|
+
export interface ListFieldOptions extends ConfigFieldOptions<readonly string[]> {
|
|
55
|
+
/** The item separator. Defaults to a comma. */
|
|
56
|
+
readonly separator?: string;
|
|
57
|
+
}
|
|
58
|
+
/** A string-list field — splits on `separator` (default `,`), trims each item, and drops empty items. */
|
|
59
|
+
export declare function list<const O extends ListFieldOptions = ListFieldOptions>(options?: O): ConfigField<readonly string[], Optionality<O>>;
|
|
60
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** A flat, read-only key/value store of raw configuration strings. */
|
|
2
|
+
export type ConfigSource = Readonly<Record<string, string | undefined>>;
|
|
3
|
+
/** The default runtime-config global — `window.__APP_CONFIG__`, injected per-environment ahead of build-time env. */
|
|
4
|
+
export declare const DEFAULT_RUNTIME_CONFIG_KEY = "__APP_CONFIG__";
|
|
5
|
+
/**
|
|
6
|
+
* The build-time source — Vite's `import.meta.env`, inlined at build. Returns `{}` outside a bundler context
|
|
7
|
+
* (e.g. a plain Node test) where `import.meta.env` is absent, so it is always safe to include.
|
|
8
|
+
*/
|
|
9
|
+
export declare function importMetaEnvSource(): ConfigSource;
|
|
10
|
+
/**
|
|
11
|
+
* The runtime source — a global object (default `window.__APP_CONFIG__`) a deployment injects before the app
|
|
12
|
+
* boots. Returns `{}` when there is no `window` (SSR / Node) or the global is absent or not an object.
|
|
13
|
+
*/
|
|
14
|
+
export declare function windowConfigSource(globalKey?: string): ConfigSource;
|
|
15
|
+
/** An explicit source over a plain record — the injection seam for tests and for values resolved elsewhere. */
|
|
16
|
+
export declare function staticSource(values: Record<string, string | undefined>): ConfigSource;
|
|
17
|
+
/** The default source order: runtime `window.__APP_CONFIG__` layered ahead of build-time `import.meta.env`. */
|
|
18
|
+
export declare function defaultSources(): readonly ConfigSource[];
|
|
19
|
+
/**
|
|
20
|
+
* Resolves `key` across an ordered source list, first non-empty match wins (earlier source = higher priority).
|
|
21
|
+
* A non-string hit (e.g. `import.meta.env.DEV` is a boolean) is coerced to its string form; an empty string is
|
|
22
|
+
* treated as absent so an unset-but-declared env var falls through to the next source or the field default.
|
|
23
|
+
*/
|
|
24
|
+
export declare function resolveRaw(sources: readonly ConfigSource[], key: string): string | undefined;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AnyConfigField, ConfigField } from './ConfigField';
|
|
2
|
+
import { ConfigSource } from './ConfigSource';
|
|
3
|
+
/** A schema: a map from output key to its field spec. */
|
|
4
|
+
export type ConfigSchema = Readonly<Record<string, AnyConfigField>>;
|
|
5
|
+
/** Widens an optional field's output to include `undefined`; a required / defaulted field stays `T`. */
|
|
6
|
+
type InferField<F> = F extends ConfigField<infer T, infer Optional> ? (Optional extends true ? T | undefined : T) : never;
|
|
7
|
+
/** The resolved, typed config object inferred from a schema. */
|
|
8
|
+
export type InferConfig<S extends ConfigSchema> = {
|
|
9
|
+
readonly [K in keyof S]: InferField<S[K]>;
|
|
10
|
+
};
|
|
11
|
+
/** Tunes where `defineConfig` reads from and how keys are namespaced. */
|
|
12
|
+
export interface DefineConfigOptions {
|
|
13
|
+
/** The ordered source list; earlier wins. Defaults to `[window.__APP_CONFIG__, import.meta.env]`. */
|
|
14
|
+
readonly sources?: readonly ConfigSource[];
|
|
15
|
+
/** A prefix prepended to every schema key on lookup (e.g. `'VITE_'` → key `API_URL` reads `VITE_API_URL`). */
|
|
16
|
+
readonly prefix?: string;
|
|
17
|
+
}
|
|
18
|
+
/** One resolution failure — a missing required key or a value that failed its field's `parse`. */
|
|
19
|
+
export interface ConfigIssue {
|
|
20
|
+
/** The schema key (output name, without the lookup prefix). */
|
|
21
|
+
readonly key: string;
|
|
22
|
+
/** The full source key looked up (with prefix). */
|
|
23
|
+
readonly lookupKey: string;
|
|
24
|
+
/** Why it failed. */
|
|
25
|
+
readonly reason: 'missing' | 'invalid';
|
|
26
|
+
/** A human-readable description; a `secret` field's raw value is never included. */
|
|
27
|
+
readonly message: string;
|
|
28
|
+
}
|
|
29
|
+
/** Thrown by `defineConfig` when one or more keys are missing or invalid — aggregates every issue found. */
|
|
30
|
+
export declare class ConfigError extends Error {
|
|
31
|
+
/** Every resolution failure across the schema. */
|
|
32
|
+
readonly issues: readonly ConfigIssue[];
|
|
33
|
+
constructor(issues: readonly ConfigIssue[]);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Resolves a typed configuration object from `schema`. Each key is looked up across the source list (prefix
|
|
37
|
+
* applied), parsed through its field, and defaulted when absent. Empty strings count as absent. All missing /
|
|
38
|
+
* invalid problems are aggregated and thrown together as a single {@link ConfigError}; on success the returned
|
|
39
|
+
* object is frozen. Pass an explicit `sources` (e.g. `[staticSource({...})]`) to make resolution deterministic
|
|
40
|
+
* in tests.
|
|
41
|
+
*/
|
|
42
|
+
export declare function defineConfig<const S extends ConfigSchema>(schema: S, options?: DefineConfigOptions): InferConfig<S>;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { type ConfigField, type ConfigFieldOptions, type AnyConfigField, type ListFieldOptions, str, num, bool, oneOf, url, port, json, list, } from './ConfigField';
|
|
2
|
+
export { type ConfigSource, DEFAULT_RUNTIME_CONFIG_KEY, importMetaEnvSource, windowConfigSource, staticSource, defaultSources, resolveRaw, } from './ConfigSource';
|
|
3
|
+
export { type ConfigSchema, type InferConfig, type DefineConfigOptions, type ConfigIssue, ConfigError, defineConfig, } from './DefineConfig';
|