@wow-two-beta/ui-vue 0.0.5 → 0.0.6
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/README.md +201 -65
- package/dist/analytics/Analytics.d.ts +5 -5
- package/dist/analytics/AnalyticsProvider.d.ts +1 -1
- package/dist/analytics/MemoryAnalyticsProvider.d.ts +4 -4
- package/dist/analytics/index.js +9 -1
- package/dist/analytics/index.js.map +1 -1
- package/dist/auth/AuthBridge.d.ts +4 -4
- package/dist/auth/AuthSession.d.ts +14 -7
- package/dist/auth/BearerStrategy.d.ts +12 -8
- package/dist/auth/CookieStrategy.d.ts +11 -8
- package/dist/auth/RedirectStrategy.d.ts +2 -2
- package/dist/auth/TokenStorage.d.ts +2 -2
- package/dist/auth/index.d.ts +4 -4
- package/dist/auth/index.js +138 -64
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/providers/AuthContext.d.ts +43 -0
- package/dist/auth/providers/AuthProvider.vue.d.ts +39 -0
- package/dist/chunks/Align-DqFtCY3a.js.map +1 -1
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js.map +1 -1
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-QM4vCs2n.js +46 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-QM4vCs2n.js.map +1 -0
- package/dist/chunks/ApiError-_AOua_XE.js +41 -0
- package/dist/chunks/ApiError-_AOua_XE.js.map +1 -0
- package/dist/chunks/AppErrorFactory-DCdNbVfv.js +54 -0
- package/dist/chunks/AppErrorFactory-DCdNbVfv.js.map +1 -0
- package/dist/chunks/AriaAttribute-CmUjjXjp.js +42 -0
- package/dist/chunks/AriaAttribute-CmUjjXjp.js.map +1 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CSRUFdcY.js +936 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CSRUFdcY.js.map +1 -0
- package/dist/chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-DM8CjnY2.js +76 -0
- package/dist/chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-DM8CjnY2.js.map +1 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-CLqRVtAu.js +632 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-CLqRVtAu.js.map +1 -0
- package/dist/chunks/Bytes-CzQrdbN4.js +21 -0
- package/dist/chunks/Bytes-CzQrdbN4.js.map +1 -0
- package/dist/chunks/CharacterCountCallout.vue_vue_type_script_setup_true_lang-CJaPwXly.js +2076 -0
- package/dist/chunks/CharacterCountCallout.vue_vue_type_script_setup_true_lang-CJaPwXly.js.map +1 -0
- package/dist/chunks/Chord-C3OKRsgk.js +139 -0
- package/dist/chunks/Chord-C3OKRsgk.js.map +1 -0
- package/dist/chunks/Cn-CzDCF-Ah.js +9 -0
- package/dist/chunks/Cn-CzDCF-Ah.js.map +1 -0
- package/dist/chunks/ColorExtensions-DiCSaVbJ.js +53 -0
- package/dist/chunks/ColorExtensions-DiCSaVbJ.js.map +1 -0
- package/dist/chunks/ColorModeContext-DC77vyvQ.js +19 -0
- package/dist/chunks/ColorModeContext-DC77vyvQ.js.map +1 -0
- package/dist/chunks/CommandPaletteModalSeparator.vue_vue_type_script_setup_true_lang-B6FGFSfj.js +2080 -0
- package/dist/chunks/CommandPaletteModalSeparator.vue_vue_type_script_setup_true_lang-B6FGFSfj.js.map +1 -0
- package/dist/chunks/Compare-C5NGppdh.js +35 -0
- package/dist/chunks/Compare-C5NGppdh.js.map +1 -0
- package/dist/chunks/ComposeEventHandlers-rgxao5aD.js +12 -0
- package/dist/chunks/ComposeEventHandlers-rgxao5aD.js.map +1 -0
- package/dist/chunks/CornerPosition-FneGck5D.js.map +1 -1
- package/dist/chunks/CssExtensions-ctGVlfYU.js +161 -0
- package/dist/chunks/CssExtensions-ctGVlfYU.js.map +1 -0
- package/dist/chunks/DataAttr-7BR67dTj.js +7 -0
- package/dist/chunks/DataAttr-7BR67dTj.js.map +1 -0
- package/dist/chunks/DeepEqual-xCcUOAA8.js +131 -0
- package/dist/chunks/DeepEqual-xCcUOAA8.js.map +1 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-DElE4ZeQ.js +322 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-DElE4ZeQ.js.map +1 -0
- package/dist/chunks/DomOrderExtensions-Czsyvn6e.js +16 -0
- package/dist/chunks/DomOrderExtensions-Czsyvn6e.js.map +1 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-dLwafPAj.js +212 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-dLwafPAj.js.map +1 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js.map +1 -1
- package/dist/chunks/Environment-BLuXHzzF.js +16 -0
- package/dist/chunks/Environment-BLuXHzzF.js.map +1 -0
- package/dist/chunks/Equality-BabbLMBX.js +27 -0
- package/dist/chunks/Equality-BabbLMBX.js.map +1 -0
- package/dist/chunks/ErrorLike-CRnbeEM0.js +27 -0
- package/dist/chunks/ErrorLike-CRnbeEM0.js.map +1 -0
- package/dist/chunks/ErrorRecognizers-DO2SHD6N.js +17 -0
- package/dist/chunks/ErrorRecognizers-DO2SHD6N.js.map +1 -0
- package/dist/chunks/ExactNumber-CboRl3_0.js +224 -0
- package/dist/chunks/ExactNumber-CboRl3_0.js.map +1 -0
- package/dist/chunks/FeedbackBus-CTj18X4n.js.map +1 -1
- package/dist/chunks/FieldErrorCallout.vue_vue_type_script_setup_true_lang-C185v77U.js +55 -0
- package/dist/chunks/FieldErrorCallout.vue_vue_type_script_setup_true_lang-C185v77U.js.map +1 -0
- package/dist/chunks/FieldErrors-DIHjOm5W.js +57 -0
- package/dist/chunks/FieldErrors-DIHjOm5W.js.map +1 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-YYE7Zysp.js +497 -0
- package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-YYE7Zysp.js.map +1 -0
- package/dist/chunks/FileName-DUtj4I5A.js +33 -0
- package/dist/chunks/FileName-DUtj4I5A.js.map +1 -0
- package/dist/chunks/FormControlContext-B71MFW26.js.map +1 -1
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js +70 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js.map +1 -0
- package/dist/chunks/GoogleIdentity-D12Kr334.js +123 -0
- package/dist/chunks/GoogleIdentity-D12Kr334.js.map +1 -0
- package/dist/chunks/Guid-CflnxKPZ.js +68 -0
- package/dist/chunks/Guid-CflnxKPZ.js.map +1 -0
- package/dist/chunks/HtmlValues-jlKY5f9C.js +23 -0
- package/dist/chunks/HtmlValues-jlKY5f9C.js.map +1 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-BVWSqaoe.js +28 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-BVWSqaoe.js.map +1 -0
- package/dist/chunks/InlineLayout.vue_vue_type_script_setup_true_lang-CdG8lfst.js +68 -0
- package/dist/chunks/InlineLayout.vue_vue_type_script_setup_true_lang-CdG8lfst.js.map +1 -0
- package/dist/chunks/Key-CQlkK53D.js +34 -0
- package/dist/chunks/Key-CQlkK53D.js.map +1 -0
- package/dist/chunks/LinkItem.vue_vue_type_script_setup_true_lang-BjPIqvPc.js +1809 -0
- package/dist/chunks/LinkItem.vue_vue_type_script_setup_true_lang-BjPIqvPc.js.map +1 -0
- package/dist/chunks/LocaleContext-B7vUZmX-.js +41 -0
- package/dist/chunks/LocaleContext-B7vUZmX-.js.map +1 -0
- package/dist/chunks/Messages-CSW3nyTs.js +201 -0
- package/dist/chunks/Messages-CSW3nyTs.js.map +1 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-ed_LzXDI.js +86 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-ed_LzXDI.js.map +1 -0
- package/dist/chunks/OnboardingChecklistCardTask.vue_vue_type_script_setup_true_lang-vqTtyR9L.js +9796 -0
- package/dist/chunks/OnboardingChecklistCardTask.vue_vue_type_script_setup_true_lang-vqTtyR9L.js.map +1 -0
- package/dist/chunks/OptionalExtensions-NiO6gV0W.js +10 -0
- package/dist/chunks/OptionalExtensions-NiO6gV0W.js.map +1 -0
- package/dist/chunks/Orientation-u-sYunuG.js.map +1 -1
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js.map +1 -1
- package/dist/chunks/OverlayPosition-BNybkMGG.js.map +1 -1
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-DPJZHdv2.js +268 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-DPJZHdv2.js.map +1 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js +32 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js.map +1 -0
- package/dist/chunks/Presence-BwBquQOQ.js +138 -0
- package/dist/chunks/Presence-BwBquQOQ.js.map +1 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js.map +1 -1
- package/dist/chunks/Primitive-Bt_MgDir.js +20 -0
- package/dist/chunks/Primitive-Bt_MgDir.js.map +1 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js.map +1 -1
- package/dist/chunks/QueryPermission-BsLR2WRk.js +94 -0
- package/dist/chunks/QueryPermission-BsLR2WRk.js.map +1 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js.map +1 -1
- package/dist/chunks/ResultExtensions-B7dWH0FZ.js +58 -0
- package/dist/chunks/ResultExtensions-B7dWH0FZ.js.map +1 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-BGZe5AX4.js +244 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-BGZe5AX4.js.map +1 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-DAYt3wgP.js +20 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-DAYt3wgP.js.map +1 -0
- package/dist/chunks/SerializeError-BzTdy-3I.js +61 -0
- package/dist/chunks/SerializeError-BzTdy-3I.js.map +1 -0
- package/dist/chunks/Severity-D0C5oAt-.js.map +1 -1
- package/dist/chunks/Side-Kw61CDou.js +14 -0
- package/dist/chunks/Side-Kw61CDou.js.map +1 -0
- package/dist/chunks/Slot-CLT4PkWl.js +99 -0
- package/dist/chunks/Slot-CLT4PkWl.js.map +1 -0
- package/dist/chunks/SortableGroupMoveButton.vue_vue_type_script_setup_true_lang-TLzaptOC.js +14429 -0
- package/dist/chunks/SortableGroupMoveButton.vue_vue_type_script_setup_true_lang-TLzaptOC.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-CU7oxE3n.js +23 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-CU7oxE3n.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-jgKrZLIK.js +76 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-jgKrZLIK.js.map +1 -0
- package/dist/chunks/StackLayout.vue_vue_type_script_setup_true_lang-BTht83c-.js +172 -0
- package/dist/chunks/StackLayout.vue_vue_type_script_setup_true_lang-BTht83c-.js.map +1 -0
- package/dist/chunks/StatusTone-BoPK1s09.js.map +1 -1
- package/dist/chunks/StorageBroker-COC81ZGB.js.map +1 -1
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js.map +1 -1
- package/dist/chunks/SubmitErrors-1_5oKOb1.js +402 -0
- package/dist/chunks/SubmitErrors-1_5oKOb1.js.map +1 -0
- package/dist/chunks/SurfaceStyles-BYLzCbuJ.js +144 -0
- package/dist/chunks/SurfaceStyles-BYLzCbuJ.js.map +1 -0
- package/dist/chunks/SwipeActionsLayout.vue_vue_type_script_setup_true_lang-Dc0UJfs9.js +2388 -0
- package/dist/chunks/SwipeActionsLayout.vue_vue_type_script_setup_true_lang-Dc0UJfs9.js.map +1 -0
- package/dist/chunks/ToError-vXncXe19.js +52 -0
- package/dist/chunks/ToError-vXncXe19.js.map +1 -0
- package/dist/chunks/Tones-DSlTgkaB.js +108 -0
- package/dist/chunks/Tones-DSlTgkaB.js.map +1 -0
- package/dist/chunks/TransitionExtensions-HyBfcJnn.js +19 -0
- package/dist/chunks/TransitionExtensions-HyBfcJnn.js.map +1 -0
- package/dist/chunks/UrlExtensions-DqgLm0KY.js +46 -0
- package/dist/chunks/UrlExtensions-DqgLm0KY.js.map +1 -0
- package/dist/chunks/UseClipboard-x6nEdQ9f.js +230 -0
- package/dist/chunks/UseClipboard-x6nEdQ9f.js.map +1 -0
- package/dist/chunks/UseControlled-BQneb7BW.js +29 -0
- package/dist/chunks/UseControlled-BQneb7BW.js.map +1 -0
- package/dist/chunks/UseDebounceHandler-BIZgvvGp.js +20 -0
- package/dist/chunks/UseDebounceHandler-BIZgvvGp.js.map +1 -0
- package/dist/chunks/UseEscape-CYPdpm_l.js +15 -0
- package/dist/chunks/UseEscape-CYPdpm_l.js.map +1 -0
- package/dist/chunks/UseEventListener-C1WgWGoT.js +17 -0
- package/dist/chunks/UseEventListener-C1WgWGoT.js.map +1 -0
- package/dist/chunks/UseHotkeys-dSOwoutT.js +82 -0
- package/dist/chunks/UseHotkeys-dSOwoutT.js.map +1 -0
- package/dist/chunks/UseId-CtgAhGrn.js +9 -0
- package/dist/chunks/UseId-CtgAhGrn.js.map +1 -0
- package/dist/chunks/UseNavigationProgress-Bx_MWd39.js +51 -0
- package/dist/chunks/UseNavigationProgress-Bx_MWd39.js.map +1 -0
- package/dist/chunks/UseOutsideClick-8TTSb9x6.js +57 -0
- package/dist/chunks/UseOutsideClick-8TTSb9x6.js.map +1 -0
- package/dist/chunks/UseRecentItems-Bgj28t5Y.js +63 -0
- package/dist/chunks/UseRecentItems-Bgj28t5Y.js.map +1 -0
- package/dist/chunks/UseReducedMotion-NZ5fg-Xb.js +36 -0
- package/dist/chunks/UseReducedMotion-NZ5fg-Xb.js.map +1 -0
- package/dist/chunks/UseResizeObserver-BUU7lC-n.js +17 -0
- package/dist/chunks/UseResizeObserver-BUU7lC-n.js.map +1 -0
- package/dist/chunks/UseScrollLock-DSk4L9xF.js +38 -0
- package/dist/chunks/UseScrollLock-DSk4L9xF.js.map +1 -0
- package/dist/chunks/UseTypeahead-C-y7nBo2.js +82 -0
- package/dist/chunks/UseTypeahead-C-y7nBo2.js.map +1 -0
- package/dist/chunks/index-BNxprnsV.js +81 -0
- package/dist/chunks/index-BNxprnsV.js.map +1 -0
- package/dist/chunks/index-BvFTmSpn.js +251 -0
- package/dist/chunks/index-BvFTmSpn.js.map +1 -0
- package/dist/chunks/index-BzMmo8Zb.js +245 -0
- package/dist/chunks/index-BzMmo8Zb.js.map +1 -0
- package/dist/chunks/index-Ck71aqGg.js +11 -0
- package/dist/chunks/index-Ck71aqGg.js.map +1 -0
- package/dist/chunks/index-ClXOmDLK.js +9 -0
- package/dist/chunks/index-ClXOmDLK.js.map +1 -0
- package/dist/chunks/index-DAbvXWP_.js +118 -0
- package/dist/chunks/index-DAbvXWP_.js.map +1 -0
- package/dist/chunks/index-DOC7DwST.js +12 -0
- package/dist/chunks/index-DOC7DwST.js.map +1 -0
- package/dist/chunks/index-DQ01kvk7.js +28 -0
- package/dist/chunks/index-DQ01kvk7.js.map +1 -0
- package/dist/chunks/index-DqGUKtAH.js +1783 -0
- package/dist/chunks/index-DqGUKtAH.js.map +1 -0
- package/dist/chunks/index-KL15HQew.js.map +1 -1
- package/dist/domain/color/Gradient.d.ts +2 -2
- package/dist/domain/color/index.d.ts +1 -1
- package/dist/domain/emoji/EmojiCatalog.d.ts +4 -4
- package/dist/domain/emoji/EmojiCatalogData.d.ts +1 -1
- package/dist/feedback/FeedbackBus.d.ts +10 -10
- package/dist/feedback/FeedbackQueryErrors.d.ts +5 -20
- package/dist/feedback/index.js +4 -5
- package/dist/feedback/index.js.map +1 -1
- package/dist/flags/FlagClient.d.ts +3 -3
- package/dist/flags/FlagProvider.d.ts +3 -3
- package/dist/flags/FlagTypes.d.ts +6 -6
- package/dist/flags/StaticFlagProvider.d.ts +4 -10
- package/dist/flags/index.d.ts +2 -2
- package/dist/flags/index.js +106 -26
- package/dist/flags/index.js.map +1 -1
- package/dist/flags/providers/FlagsContext.d.ts +31 -0
- package/dist/flags/providers/FlagsProvider.vue.d.ts +24 -0
- package/dist/formsEngine/AppForm.d.ts +259 -0
- package/dist/formsEngine/DeepEqual.d.ts +8 -0
- package/dist/formsEngine/FocusFirstInvalid.d.ts +9 -0
- package/dist/formsEngine/FormGlue.d.ts +54 -0
- package/dist/formsEngine/FormOperations.d.ts +11 -0
- package/dist/formsEngine/FormSnapshot.d.ts +7 -0
- package/dist/formsEngine/Paths.d.ts +47 -0
- package/dist/formsEngine/SchemaValidation.d.ts +39 -0
- package/dist/formsEngine/SubmitErrors.d.ts +28 -0
- package/dist/formsEngine/UseFieldArray.d.ts +87 -0
- package/dist/formsEngine/adapters/house/HouseFormCore.d.ts +34 -0
- package/dist/formsEngine/adapters/house/UseAppForm.d.ts +16 -0
- package/dist/formsEngine/adapters/house/index.js +436 -0
- package/dist/formsEngine/adapters/house/index.js.map +1 -0
- package/dist/formsEngine/adapters/tanstack/TanstackFormOverlay.d.ts +56 -0
- package/dist/formsEngine/adapters/tanstack/UseAppForm.d.ts +26 -0
- package/dist/formsEngine/adapters/tanstack/index.js +516 -0
- package/dist/formsEngine/adapters/tanstack/index.js.map +1 -0
- package/dist/formsEngine/index.d.ts +10 -0
- package/dist/formsEngine/index.js +130 -0
- package/dist/formsEngine/index.js.map +1 -0
- package/dist/foundation/animation/Animate.d.ts +1 -1
- package/dist/foundation/animation/Flip.d.ts +1 -1
- package/dist/foundation/animation/UseFlip.d.ts +1 -1
- package/dist/foundation/animation/animatedLayout/AnimatedLayout.d.ts +72 -0
- package/dist/foundation/animation/animatedLayout/index.d.ts +1 -0
- package/dist/foundation/animation/index.d.ts +5 -3
- package/dist/foundation/animation/index.js +17 -18
- package/dist/foundation/animation/index.js.map +1 -1
- package/dist/foundation/async/Retry.d.ts +1 -1
- package/dist/foundation/async/index.d.ts +1 -0
- package/dist/foundation/async/index.js +12 -6
- package/dist/foundation/async/index.js.map +1 -1
- package/dist/foundation/channels/LeaderElection.d.ts +97 -0
- package/dist/foundation/channels/SyncChannel.d.ts +76 -0
- package/dist/foundation/channels/hooks/UseBroadcastState.d.ts +31 -0
- package/dist/foundation/channels/hooks/UseLeaderElection.d.ts +25 -0
- package/dist/foundation/channels/hooks/UseSyncChannel.d.ts +16 -0
- package/dist/foundation/channels/index.d.ts +7 -0
- package/dist/foundation/channels/index.js +493 -0
- package/dist/foundation/channels/index.js.map +1 -0
- package/dist/foundation/clipboard/ClipboardFailureCode.d.ts +7 -0
- package/dist/foundation/clipboard/ClipboardPermission.d.ts +10 -4
- package/dist/foundation/clipboard/ClipboardResult.d.ts +9 -43
- package/dist/foundation/clipboard/ClipboardSupport.d.ts +14 -3
- package/dist/foundation/clipboard/PasteItems.d.ts +2 -2
- package/dist/foundation/clipboard/ReadClipboard.d.ts +1 -2
- package/dist/foundation/clipboard/hooks/UseClipboard.d.ts +25 -0
- package/dist/foundation/clipboard/hooks/UseClipboardCopy.d.ts +40 -0
- package/dist/foundation/clipboard/hooks/UsePasteHandler.d.ts +35 -0
- package/dist/foundation/clipboard/index.d.ts +5 -3
- package/dist/foundation/clipboard/index.js +52 -186
- package/dist/foundation/clipboard/index.js.map +1 -1
- package/dist/foundation/clipboard/models/ClipboardFailure.d.ts +11 -0
- package/dist/foundation/clipboard/models/ClipboardReadItemsResult.d.ts +5 -0
- package/dist/foundation/clipboard/models/ClipboardReadTextResult.d.ts +4 -0
- package/dist/foundation/clipboard/models/ClipboardWriteResult.d.ts +4 -0
- package/dist/foundation/collections/Arrays.d.ts +12 -12
- package/dist/foundation/collections/Comparison.d.ts +1 -1
- package/dist/foundation/collections/Records.d.ts +3 -3
- package/dist/foundation/collections/SetOps.d.ts +4 -4
- package/dist/foundation/collections/Tree.d.ts +5 -4
- package/dist/foundation/collections/index.d.ts +3 -2
- package/dist/foundation/collections/index.js +98 -94
- package/dist/foundation/collections/index.js.map +1 -1
- package/dist/foundation/commands/Command.d.ts +14 -22
- package/dist/foundation/commands/CommandRegistry.d.ts +11 -10
- package/dist/foundation/commands/CommandRunFailureCode.d.ts +7 -0
- package/dist/foundation/commands/SearchCommands.d.ts +3 -3
- package/dist/foundation/commands/hooks/UseCommandRegistry.d.ts +19 -0
- package/dist/foundation/commands/hooks/UseCommandShortcuts.d.ts +18 -0
- package/dist/foundation/commands/index.d.ts +9 -6
- package/dist/foundation/commands/index.js +16 -22
- package/dist/foundation/commands/index.js.map +1 -1
- package/dist/foundation/commands/models/CommandRunFailure.d.ts +11 -0
- package/dist/foundation/commands/models/CommandRunResult.d.ts +4 -0
- package/dist/foundation/commands/providers/CommandsContext.d.ts +30 -0
- package/dist/foundation/commands/providers/CommandsProvider.vue.d.ts +18 -0
- package/dist/foundation/config/ConfigField.d.ts +2 -2
- package/dist/foundation/config/ConfigSource.d.ts +3 -3
- package/dist/foundation/config/DefineConfig.d.ts +3 -3
- package/dist/foundation/config/Environment.d.ts +12 -0
- package/dist/foundation/config/index.d.ts +2 -1
- package/dist/foundation/config/index.js +11 -7
- package/dist/foundation/config/index.js.map +1 -1
- package/dist/foundation/crypto/Digest.d.ts +18 -4
- package/dist/foundation/crypto/Encoding.d.ts +4 -1
- package/dist/foundation/crypto/Random.d.ts +3 -3
- package/dist/foundation/crypto/WebCrypto.d.ts +2 -2
- package/dist/foundation/crypto/index.d.ts +2 -2
- package/dist/foundation/crypto/index.js +36 -26
- package/dist/foundation/crypto/index.js.map +1 -1
- package/dist/foundation/datetime/Comparison.d.ts +2 -2
- package/dist/foundation/datetime/Internals.d.ts +4 -4
- package/dist/foundation/datetime/TemporalCodecs.d.ts +26 -0
- package/dist/foundation/datetime/index.d.ts +2 -1
- package/dist/foundation/datetime/index.js +147 -20
- package/dist/foundation/datetime/index.js.map +1 -1
- package/dist/foundation/device/Breakpoints.d.ts +4 -10
- package/dist/foundation/device/hooks/UseBreakpoint.d.ts +4 -0
- package/dist/foundation/device/hooks/UseDisplayMode.d.ts +23 -0
- package/dist/foundation/device/hooks/UseMediaQuery.d.ts +14 -0
- package/dist/foundation/device/hooks/UsePointer.d.ts +25 -0
- package/dist/foundation/device/index.d.ts +9 -7
- package/dist/foundation/device/index.js +51 -45
- package/dist/foundation/device/index.js.map +1 -1
- package/dist/foundation/dom/DomOrderExtensions.d.ts +4 -0
- package/dist/foundation/dom/Polymorphic.d.ts +29 -0
- package/dist/foundation/dom/UrlExtensions.d.ts +5 -0
- package/dist/foundation/dom/enums/AriaAttribute.d.ts +48 -0
- package/dist/foundation/dom/enums/AttributeValue.d.ts +9 -0
- package/dist/foundation/dom/enums/DomEvent.d.ts +25 -0
- package/dist/foundation/dom/index.d.ts +16 -0
- package/dist/foundation/dom/index.js +31 -0
- package/dist/foundation/dom/index.js.map +1 -0
- package/dist/foundation/errors/ErrorLike.d.ts +1 -1
- package/dist/foundation/errors/ErrorMessage.d.ts +1 -1
- package/dist/foundation/errors/SerializeError.d.ts +13 -4
- package/dist/foundation/errors/ToError.d.ts +4 -1
- package/dist/foundation/errors/index.js +32 -12
- package/dist/foundation/errors/index.js.map +1 -1
- package/dist/foundation/files/index.d.ts +1 -1
- package/dist/foundation/files/index.js +2 -2
- package/dist/foundation/files/index.js.map +1 -1
- package/dist/foundation/formatters/Text.d.ts +52 -0
- package/dist/foundation/formatters/index.js +102 -0
- package/dist/foundation/formatters/index.js.map +1 -0
- package/dist/foundation/geolocation/DistanceBetween.d.ts +1 -1
- package/dist/foundation/geolocation/GetCurrentPosition.d.ts +3 -3
- package/dist/foundation/geolocation/PositionFailureCode.d.ts +9 -0
- package/dist/foundation/geolocation/PositionMapping.d.ts +50 -0
- package/dist/foundation/geolocation/WatchPosition.d.ts +3 -3
- package/dist/foundation/geolocation/hooks/UseGeolocation.d.ts +38 -0
- package/dist/foundation/geolocation/hooks/UseWatchPosition.d.ts +16 -0
- package/dist/foundation/geolocation/index.d.ts +6 -5
- package/dist/foundation/geolocation/index.js +39 -23
- package/dist/foundation/geolocation/index.js.map +1 -1
- package/dist/foundation/geolocation/models/GeolocationReading.d.ts +37 -0
- package/dist/foundation/geolocation/models/PositionFailure.d.ts +14 -0
- package/dist/foundation/geolocation/models/PositionReadResult.d.ts +5 -0
- package/dist/foundation/gestures/GestureMath.d.ts +4 -4
- package/dist/foundation/gestures/hooks/UseDrag.d.ts +75 -0
- package/dist/foundation/gestures/hooks/UseLongPress.d.ts +42 -0
- package/dist/foundation/gestures/hooks/UsePinch.d.ts +47 -0
- package/dist/foundation/gestures/hooks/UseSwipe.d.ts +46 -0
- package/dist/foundation/gestures/index.d.ts +6 -6
- package/dist/foundation/gestures/index.js +15 -14
- package/dist/foundation/gestures/index.js.map +1 -1
- package/dist/foundation/history/HistoryCore.d.ts +92 -0
- package/dist/foundation/history/hooks/UseUndoHistory.d.ts +66 -0
- package/dist/foundation/history/hooks/UseUndoShortcuts.d.ts +20 -0
- package/dist/foundation/history/index.d.ts +5 -0
- package/dist/foundation/history/index.js +363 -0
- package/dist/foundation/history/index.js.map +1 -0
- package/dist/foundation/http/ApiError.d.ts +7 -4
- package/dist/foundation/http/ApiFailure.d.ts +21 -0
- package/dist/foundation/http/ApiJsonCodec.d.ts +8 -0
- package/dist/foundation/http/CreateApiClient.d.ts +27 -42
- package/dist/foundation/http/Envelope.d.ts +7 -29
- package/dist/foundation/http/FieldErrors.d.ts +1 -1
- package/dist/foundation/http/index.d.ts +6 -5
- package/dist/foundation/http/index.js +123 -124
- package/dist/foundation/http/index.js.map +1 -1
- package/dist/foundation/http/models/Page.d.ts +47 -0
- package/dist/foundation/i18n/IntlCache.d.ts +4 -0
- package/dist/foundation/i18n/formattedRelative/FormattedRelative.vue.d.ts +9 -0
- package/dist/foundation/i18n/formattedRelative/index.d.ts +1 -0
- package/dist/foundation/i18n/index.d.ts +4 -3
- package/dist/foundation/i18n/index.js +13 -22
- package/dist/foundation/i18n/index.js.map +1 -1
- package/dist/foundation/i18n/providers/LocaleContext.d.ts +35 -0
- package/dist/foundation/i18n/providers/LocaleProvider.vue.d.ts +18 -0
- package/dist/foundation/icons/icon/Icon.vue.d.ts +44 -0
- package/dist/foundation/icons/icon/index.d.ts +1 -0
- package/dist/foundation/icons/index.d.ts +2 -2
- package/dist/foundation/icons/index.js +2 -2
- package/dist/foundation/icons/spinner/Spinner.vue.d.ts +6 -0
- package/dist/foundation/icons/spinner/index.d.ts +1 -0
- package/dist/foundation/idb/KeyValueStore.d.ts +3 -3
- package/dist/foundation/idb/Transactions.d.ts +1 -1
- package/dist/foundation/idb/index.d.ts +2 -2
- package/dist/foundation/idb/index.js +21 -4
- package/dist/foundation/idb/index.js.map +1 -1
- package/dist/foundation/identifiers/Guid.d.ts +6 -3
- package/dist/foundation/identifiers/index.d.ts +1 -0
- package/dist/foundation/identifiers/index.js +4 -65
- package/dist/foundation/identifiers/index.js.map +1 -1
- package/dist/foundation/json/JsonFailureCode.d.ts +9 -0
- package/dist/foundation/json/JsonLimits.d.ts +6 -0
- package/dist/foundation/json/JsonText.d.ts +12 -0
- package/dist/foundation/json/LosslessJson.d.ts +8 -0
- package/dist/foundation/json/adapters/losslessJson/JsonAdapter.d.ts +5 -0
- package/dist/foundation/json/index.d.ts +5 -0
- package/dist/foundation/json/index.js +7 -0
- package/dist/foundation/json/index.js.map +1 -0
- package/dist/foundation/json/models/JsonFailure.d.ts +6 -0
- package/dist/foundation/json/models/LosslessJsonValue.d.ts +5 -0
- package/dist/foundation/logger/ConsoleLogSink.d.ts +4 -1
- package/dist/foundation/logger/LogLevel.d.ts +8 -2
- package/dist/foundation/logger/LogRecord.d.ts +2 -2
- package/dist/foundation/logger/LogSink.d.ts +5 -2
- package/dist/foundation/logger/Logger.d.ts +15 -6
- package/dist/foundation/logger/MemoryLogSink.d.ts +1 -1
- package/dist/foundation/logger/Redaction.d.ts +4 -4
- package/dist/foundation/logger/index.js +8 -3
- package/dist/foundation/logger/index.js.map +1 -1
- package/dist/foundation/media/CanCaptureMedia.d.ts +10 -1
- package/dist/foundation/media/FacingMode.d.ts +11 -4
- package/dist/foundation/media/ListMediaDevices.d.ts +8 -5
- package/dist/foundation/media/MediaStreamFailureCode.d.ts +10 -0
- package/dist/foundation/media/MediaStreamMapping.d.ts +15 -0
- package/dist/foundation/media/RequestMediaStream.d.ts +4 -4
- package/dist/foundation/media/UseMediaStream.d.ts +18 -5
- package/dist/foundation/media/index.d.ts +2 -1
- package/dist/foundation/media/index.js +51 -23
- package/dist/foundation/media/index.js.map +1 -1
- package/dist/foundation/media/models/MediaStreamFailure.d.ts +16 -0
- package/dist/foundation/media/models/MediaStreamRequestResult.d.ts +4 -0
- package/dist/foundation/net/ConnectionState.d.ts +6 -3
- package/dist/foundation/net/CreateEventStream.d.ts +10 -4
- package/dist/foundation/net/CreatePoller.d.ts +9 -3
- package/dist/foundation/net/CreateSocketClient.d.ts +5 -5
- package/dist/foundation/net/Liveness.d.ts +1 -1
- package/dist/foundation/net/Reconnect.d.ts +1 -1
- package/dist/foundation/net/hooks/UseEventStream.d.ts +25 -0
- package/dist/foundation/net/hooks/UsePolling.d.ts +26 -0
- package/dist/foundation/net/hooks/UseSocket.d.ts +32 -0
- package/dist/foundation/net/index.d.ts +3 -3
- package/dist/foundation/net/index.js +7 -5
- package/dist/foundation/net/index.js.map +1 -1
- package/dist/foundation/notifications/NotificationFailureCode.d.ts +7 -0
- package/dist/foundation/notifications/NotificationPermission.d.ts +12 -1
- package/dist/foundation/notifications/Notify.d.ts +7 -24
- package/dist/foundation/notifications/QueryPermission.d.ts +12 -1
- package/dist/foundation/notifications/hooks/UseNotificationPermission.d.ts +27 -0
- package/dist/foundation/notifications/hooks/UsePermissionState.d.ts +14 -0
- package/dist/foundation/notifications/index.d.ts +4 -3
- package/dist/foundation/notifications/index.js +41 -19
- package/dist/foundation/notifications/index.js.map +1 -1
- package/dist/foundation/notifications/models/NotificationFailure.d.ts +10 -0
- package/dist/foundation/notifications/models/NotificationShowResult.d.ts +4 -0
- package/dist/foundation/numbers/ExactNumber.d.ts +13 -0
- package/dist/foundation/numbers/NumberLimits.d.ts +7 -0
- package/dist/foundation/numbers/adapters/bignumber/DecimalArithmetic.d.ts +4 -0
- package/dist/foundation/numbers/enums/NumberFailureCode.d.ts +10 -0
- package/dist/foundation/numbers/enums/NumberRounding.d.ts +13 -0
- package/dist/foundation/numbers/index.d.ts +6 -0
- package/dist/foundation/numbers/index.js +8 -0
- package/dist/foundation/numbers/index.js.map +1 -0
- package/dist/foundation/numbers/models/ExactNumber.d.ts +47 -0
- package/dist/foundation/numbers/models/NumberFailure.d.ts +6 -0
- package/dist/foundation/numbers/models/NumberRoundingOptions.d.ts +6 -0
- package/dist/foundation/oauth/GoogleIdentity.d.ts +98 -0
- package/dist/foundation/oauth/index.d.ts +1 -0
- package/dist/foundation/oauth/index.js +7 -0
- package/dist/foundation/oauth/index.js.map +1 -0
- package/dist/foundation/observers/ObserveIntersection.d.ts +1 -1
- package/dist/foundation/observers/ObserveMutation.d.ts +2 -2
- package/dist/foundation/observers/VisibilitySteps.d.ts +1 -1
- package/dist/foundation/observers/hooks/UseInView.d.ts +41 -0
- package/dist/foundation/observers/hooks/UseIntersectionObserver.d.ts +18 -0
- package/dist/foundation/observers/hooks/UseMutationObserver.d.ts +21 -0
- package/dist/foundation/observers/index.d.ts +5 -4
- package/dist/foundation/observers/index.js +15 -13
- package/dist/foundation/observers/index.js.map +1 -1
- package/dist/foundation/optionals/index.d.ts +1 -0
- package/dist/foundation/optionals/index.js +5 -0
- package/dist/foundation/optionals/index.js.map +1 -0
- package/dist/foundation/primitives/accessibleIcon/AccessibleIcon.d.ts +5 -6
- package/dist/foundation/primitives/anchoredPositioner/AnchoredPositioner.vue.d.ts +11 -10
- package/dist/foundation/primitives/anchoredPositioner/index.d.ts +1 -1
- package/dist/foundation/primitives/announce/Announce.vue.d.ts +7 -6
- package/dist/foundation/primitives/colorModeProvider/ColorModeProvider.vue.d.ts +8 -8
- package/dist/foundation/primitives/colorModeProvider/index.d.ts +2 -2
- package/dist/foundation/primitives/directionProvider/DirectionProvider.vue.d.ts +4 -4
- package/dist/foundation/primitives/dismissableLayer/DismissableLayer.vue.d.ts +12 -12
- package/dist/foundation/primitives/focusScope/FocusScope.vue.d.ts +18 -16
- package/dist/foundation/primitives/focusScope/FocusScopeRegistry.d.ts +27 -0
- package/dist/foundation/primitives/formControlContext/FormControlContext.d.ts +12 -3
- package/dist/foundation/primitives/formControlContext/FormControlProvider.vue.d.ts +14 -14
- package/dist/foundation/primitives/formControlContext/index.d.ts +1 -1
- package/dist/foundation/primitives/index.js +11 -11
- package/dist/foundation/primitives/overlayArrow/OverlayArrow.vue.d.ts +6 -6
- package/dist/foundation/primitives/portal/Portal.vue.d.ts +5 -5
- package/dist/foundation/primitives/presence/Presence.d.ts +5 -5
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusContext.d.ts +1 -1
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusGroup.vue.d.ts +11 -10
- package/dist/foundation/primitives/scrollLockProvider/ScrollLockProvider.vue.d.ts +6 -6
- package/dist/foundation/primitives/scrollLockProvider/index.d.ts +1 -1
- package/dist/foundation/primitives/scrollViewport/ScrollViewport.vue.d.ts +10 -9
- package/dist/foundation/primitives/slot/ComponentElement.d.ts +7 -0
- package/dist/foundation/primitives/slot/Primitive.d.ts +8 -8
- package/dist/foundation/primitives/slot/Slot.d.ts +3 -3
- package/dist/foundation/primitives/slot/index.d.ts +2 -1
- package/dist/foundation/primitives/visuallyHidden/VisuallyHidden.vue.d.ts +4 -3
- package/dist/foundation/resilience/RetryDelay.d.ts +4 -1
- package/dist/foundation/resilience/RetryPolicy.d.ts +6 -6
- package/dist/foundation/resilience/index.d.ts +2 -2
- package/dist/foundation/resilience/index.js.map +1 -1
- package/dist/foundation/results/AppErrorFactory.d.ts +22 -0
- package/dist/foundation/results/AppErrorType.d.ts +13 -0
- package/dist/foundation/results/ResultExtensions.d.ts +33 -0
- package/dist/foundation/results/index.d.ts +5 -0
- package/dist/foundation/results/index.js +8 -0
- package/dist/foundation/results/index.js.map +1 -0
- package/dist/foundation/results/models/AppError.d.ts +10 -0
- package/dist/foundation/results/models/Result.d.ts +9 -0
- package/dist/foundation/screen/Fullscreen.d.ts +6 -6
- package/dist/foundation/screen/ScreenOrientation.d.ts +7 -14
- package/dist/foundation/screen/ScreenOutcome.d.ts +5 -0
- package/dist/foundation/screen/WakeLock.d.ts +2 -2
- package/dist/foundation/screen/enums/OrientationLockFailureCode.d.ts +9 -0
- package/dist/foundation/screen/enums/ScreenFailureCode.d.ts +8 -0
- package/dist/foundation/screen/hooks/UseFullscreen.d.ts +28 -0
- package/dist/foundation/screen/hooks/UseOrientation.d.ts +28 -0
- package/dist/foundation/screen/hooks/UseWakeLock.d.ts +18 -0
- package/dist/foundation/screen/index.d.ts +7 -5
- package/dist/foundation/screen/index.js +37 -26
- package/dist/foundation/screen/index.js.map +1 -1
- package/dist/foundation/screen/models/OrientationLockFailure.d.ts +7 -0
- package/dist/foundation/screen/models/OrientationLockResult.d.ts +3 -0
- package/dist/foundation/screen/models/ScreenFailure.d.ts +14 -0
- package/dist/foundation/screen/models/ScreenRequestResult.d.ts +4 -0
- package/dist/foundation/selection/hooks/UseFilters.d.ts +34 -0
- package/dist/foundation/selection/hooks/UseSelection.d.ts +54 -0
- package/dist/foundation/selection/hooks/UseSort.d.ts +36 -0
- package/dist/foundation/selection/hooks/UseTypeahead.d.ts +42 -0
- package/dist/foundation/selection/index.d.ts +8 -7
- package/dist/foundation/selection/index.js +28 -30
- package/dist/foundation/selection/index.js.map +1 -1
- package/dist/foundation/selection/models/Filter.d.ts +71 -0
- package/dist/foundation/selection/models/Selection.d.ts +116 -0
- package/dist/foundation/selection/models/Sort.d.ts +69 -0
- package/dist/foundation/share/Share.d.ts +7 -23
- package/dist/foundation/share/ShareData.d.ts +1 -1
- package/dist/foundation/share/ShareFailureCode.d.ts +7 -0
- package/dist/foundation/share/ShareOrCopy.d.ts +6 -8
- package/dist/foundation/share/UseShare.d.ts +14 -7
- package/dist/foundation/share/index.d.ts +3 -2
- package/dist/foundation/share/index.js +43 -18
- package/dist/foundation/share/index.js.map +1 -1
- package/dist/foundation/share/models/ShareFailure.d.ts +10 -0
- package/dist/foundation/share/models/ShareSendOrCopyResult.d.ts +4 -0
- package/dist/foundation/share/models/ShareSendResult.d.ts +4 -0
- package/dist/foundation/shortcuts/Chord.d.ts +1 -1
- package/dist/foundation/shortcuts/hooks/UseHotkeys.d.ts +34 -0
- package/dist/foundation/shortcuts/index.d.ts +3 -2
- package/dist/foundation/shortcuts/index.js +5 -3
- package/dist/foundation/shortcuts/index.js.map +1 -1
- package/dist/foundation/speech/CreateSpeechRecognizer.d.ts +5 -20
- package/dist/foundation/speech/ListVoices.d.ts +3 -3
- package/dist/foundation/speech/Speak.d.ts +6 -7
- package/dist/foundation/speech/SpeechControls.d.ts +2 -0
- package/dist/foundation/speech/SpeechResult.d.ts +7 -23
- package/dist/foundation/speech/enums/RecognizerStartFailureCode.d.ts +6 -0
- package/dist/foundation/speech/enums/SpeechFailureCode.d.ts +7 -0
- package/dist/foundation/speech/hooks/UseSpeechRecognition.d.ts +45 -0
- package/dist/foundation/speech/hooks/UseSpeechSynthesis.d.ts +37 -0
- package/dist/foundation/speech/index.d.ts +6 -4
- package/dist/foundation/speech/index.js +62 -31
- package/dist/foundation/speech/index.js.map +1 -1
- package/dist/foundation/speech/models/RecognizerStartFailure.d.ts +8 -0
- package/dist/foundation/speech/models/RecognizerStartResult.d.ts +4 -0
- package/dist/foundation/speech/models/SpeechFailure.d.ts +10 -0
- package/dist/foundation/speech/models/SpeechSpeakResult.d.ts +4 -0
- package/dist/foundation/state/hooks/UseControlled.d.ts +35 -0
- package/dist/foundation/state/index.d.ts +2 -0
- package/dist/foundation/state/index.js +7 -0
- package/dist/foundation/state/index.js.map +1 -0
- package/dist/foundation/storage/StorageBroker.d.ts +1 -1
- package/dist/foundation/storage/adapters/zustand/ZustandPersist.d.ts +36 -0
- package/dist/foundation/storage/adapters/zustand/index.d.ts +1 -0
- package/dist/foundation/storage/adapters/zustand/index.js.map +1 -0
- package/dist/foundation/storage/hooks/UseAutosave.d.ts +44 -0
- package/dist/foundation/storage/hooks/UsePersistentState.d.ts +31 -0
- package/dist/foundation/storage/hooks/UseRecentItems.d.ts +34 -0
- package/dist/foundation/storage/index.d.ts +4 -1
- package/dist/foundation/storage/index.js +118 -3
- package/dist/foundation/storage/index.js.map +1 -1
- package/dist/foundation/styles/SurfaceStyles.d.ts +191 -0
- package/dist/foundation/styles/constants/Layers.d.ts +35 -0
- package/dist/foundation/styles/constants/Tones.d.ts +21 -0
- package/dist/foundation/styles/extensions/ColorExtensions.d.ts +51 -0
- package/dist/foundation/styles/extensions/CssExtensions.d.ts +124 -0
- package/dist/foundation/styles/index.d.ts +20 -0
- package/dist/foundation/styles/index.js +45 -0
- package/dist/foundation/styles/index.js.map +1 -0
- package/dist/foundation/themes/ForegroundContrast.d.ts +3 -0
- package/dist/foundation/themes/Oklch.d.ts +2 -0
- package/dist/foundation/themes/Registry.d.ts +18 -0
- package/dist/foundation/themes/Tokens.d.ts +5 -5
- package/dist/foundation/themes/Validate.d.ts +30 -0
- package/dist/foundation/themes/constants/Authored.d.ts +3 -0
- package/dist/foundation/themes/constants/Pool.d.ts +3 -0
- package/dist/foundation/themes/index.d.ts +6 -6
- package/dist/foundation/themes/index.js +30 -29
- package/dist/foundation/uploads/UploadItem.d.ts +3 -3
- package/dist/foundation/uploads/UploadQueue.d.ts +3 -3
- package/dist/foundation/uploads/UseUploadQueue.d.ts +4 -4
- package/dist/foundation/uploads/XhrUploadTransport.d.ts +1 -1
- package/dist/foundation/uploads/index.d.ts +2 -2
- package/dist/foundation/uploads/index.js +11 -11
- package/dist/foundation/uploads/index.js.map +1 -1
- package/dist/foundation/validators/Composites.d.ts +71 -0
- package/dist/foundation/validators/Messages.d.ts +69 -0
- package/dist/foundation/validators/ValidationError.d.ts +14 -0
- package/dist/foundation/validators/ValidationOutcome.d.ts +40 -0
- package/dist/foundation/validators/Validator.d.ts +76 -0
- package/dist/foundation/validators/index.d.ts +8 -0
- package/dist/foundation/validators/index.js +484 -0
- package/dist/foundation/validators/index.js.map +1 -0
- package/dist/foundation/validators/models/ValidationFailure.d.ts +6 -0
- package/dist/foundation/validators/models/ValidatorParseResult.d.ts +3 -0
- package/dist/foundation/virtualization/Measurements.d.ts +2 -2
- package/dist/foundation/virtualization/UseVirtualList.d.ts +6 -3
- package/dist/foundation/virtualization/Windowing.d.ts +7 -4
- package/dist/foundation/virtualization/index.d.ts +3 -3
- package/dist/foundation/virtualization/index.js +15 -19
- package/dist/foundation/virtualization/index.js.map +1 -1
- package/dist/foundation/workers/RunInWorker.d.ts +8 -20
- package/dist/foundation/workers/UseWorker.d.ts +2 -7
- package/dist/foundation/workers/WorkerClient.d.ts +6 -9
- package/dist/foundation/workers/WorkerHost.d.ts +3 -3
- package/dist/foundation/workers/WorkerProtocol.d.ts +2 -2
- package/dist/foundation/workers/WorkerRunFailureCode.d.ts +6 -0
- package/dist/foundation/workers/index.d.ts +3 -2
- package/dist/foundation/workers/index.js +16 -6
- package/dist/foundation/workers/index.js.map +1 -1
- package/dist/foundation/workers/models/WorkerRunFailure.d.ts +8 -0
- package/dist/foundation/workers/models/WorkerRunResult.d.ts +3 -0
- package/dist/index.css +170 -44
- package/dist/index.d.ts +7 -2
- package/dist/index.js +559 -550
- package/dist/index.js.map +1 -1
- package/dist/presentation/actions/backToTopButton/BackToTopButton.vue.d.ts +20 -18
- package/dist/presentation/actions/backToTopButton/index.d.ts +1 -1
- package/dist/presentation/actions/button/Button.variants.d.ts +83 -241
- package/dist/presentation/actions/button/Button.vue.d.ts +67 -72
- package/dist/presentation/actions/button/index.d.ts +1 -1
- package/dist/presentation/actions/buttonGroup/ButtonGroup.vue.d.ts +12 -11
- package/dist/presentation/actions/copyButton/CopyButton.vue.d.ts +22 -16
- package/dist/presentation/actions/disclosureButton/DisclosureButton.vue.d.ts +20 -18
- package/dist/presentation/actions/disclosureButton/index.d.ts +1 -1
- package/dist/presentation/actions/fabButton/FabButton.variants.d.ts +80 -0
- package/dist/presentation/actions/fabButton/FabButton.vue.d.ts +32 -0
- package/dist/presentation/actions/fabButton/index.d.ts +2 -0
- package/dist/presentation/actions/googleSignInButton/GoogleSignInButton.vue.d.ts +37 -0
- package/dist/presentation/actions/googleSignInButton/index.d.ts +1 -0
- package/dist/presentation/actions/index.d.ts +3 -8
- package/dist/presentation/actions/index.js +18 -35
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroup.vue.d.ts +27 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupAction.vue.d.ts +41 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupContext.d.ts +36 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupList.vue.d.ts +12 -0
- package/dist/presentation/actions/speedDialGroup/SpeedDialGroupTrigger.vue.d.ts +31 -0
- package/dist/presentation/actions/speedDialGroup/index.d.ts +18 -0
- package/dist/presentation/actions/toolbar/Toolbar.vue.d.ts +10 -9
- package/dist/presentation/actions/toolbar/ToolbarButton.vue.d.ts +8 -7
- package/dist/presentation/actions/toolbar/ToolbarContext.d.ts +1 -1
- package/dist/presentation/actions/toolbar/ToolbarLink.vue.d.ts +4 -3
- package/dist/presentation/actions/toolbar/ToolbarSeparator.vue.d.ts +1 -2
- package/dist/presentation/actions/toolbar/index.d.ts +6 -74
- package/dist/presentation/display/accordionGroup/AccordionGroup.vue.d.ts +44 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupContent.vue.d.ts +13 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupContext.d.ts +29 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupItem.vue.d.ts +19 -0
- package/dist/presentation/display/accordionGroup/AccordionGroupTrigger.vue.d.ts +13 -0
- package/dist/presentation/display/accordionGroup/index.d.ts +5 -0
- package/dist/presentation/display/activityTimeline/ActivityItem.vue.d.ts +28 -0
- package/dist/presentation/display/activityTimeline/ActivityTimeline.vue.d.ts +17 -0
- package/dist/presentation/display/activityTimeline/index.d.ts +2 -0
- package/dist/presentation/display/animatedNumberText/AnimatedNumberText.vue.d.ts +33 -0
- package/dist/presentation/display/animatedNumberText/index.d.ts +1 -0
- package/dist/presentation/display/annotationBadge/AnnotationBadge.vue.d.ts +42 -0
- package/dist/presentation/display/annotationBadge/index.d.ts +1 -0
- package/dist/presentation/display/audioPlayer/AudioPlayer.vue.d.ts +19 -20
- package/dist/presentation/display/audioWaveformPreview/AudioWaveformPreview.vue.d.ts +57 -0
- package/dist/presentation/display/audioWaveformPreview/index.d.ts +1 -0
- package/dist/presentation/display/avatar/Avatar.variants.d.ts +77 -227
- package/dist/presentation/display/avatar/Avatar.vue.d.ts +24 -22
- package/dist/presentation/display/avatarGroup/AvatarGroup.vue.d.ts +10 -11
- package/dist/presentation/display/badge/Badge.variants.d.ts +35 -97
- package/dist/presentation/display/badge/Badge.vue.d.ts +6 -7
- package/dist/presentation/display/badgeOverlay/BadgeOverlay.vue.d.ts +8 -9
- package/dist/presentation/display/card/Card.vue.d.ts +10 -11
- package/dist/presentation/display/card/CardBody.vue.d.ts +3 -4
- package/dist/presentation/display/card/CardDescription.vue.d.ts +3 -4
- package/dist/presentation/display/card/CardFooter.vue.d.ts +3 -4
- package/dist/presentation/display/card/CardHeader.vue.d.ts +3 -4
- package/dist/presentation/display/card/CardTitle.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +23 -18
- package/dist/presentation/display/carousel/CarouselDot.vue.d.ts +4 -5
- package/dist/presentation/display/carousel/CarouselDots.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/CarouselSlide.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/CarouselSlides.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +3 -4
- package/dist/presentation/display/carousel/index.d.ts +1 -1
- package/dist/presentation/display/chatBubbleCard/ChatBubbleCard.vue.d.ts +78 -0
- package/dist/presentation/display/chatBubbleCard/index.d.ts +1 -0
- package/dist/presentation/display/codeText/CodeText.variants.d.ts +26 -0
- package/dist/presentation/display/codeText/CodeText.vue.d.ts +16 -0
- package/dist/presentation/display/codeText/index.d.ts +2 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroup.vue.d.ts +28 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContent.vue.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContentInner.vue.d.ts +22 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupContext.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/CollapsibleGroupTrigger.vue.d.ts +17 -0
- package/dist/presentation/display/collapsibleGroup/index.d.ts +4 -0
- package/dist/presentation/display/colorSwatchPreview/ColorSwatchPreview.variants.d.ts +92 -0
- package/dist/presentation/display/colorSwatchPreview/ColorSwatchPreview.vue.d.ts +32 -0
- package/dist/presentation/display/colorSwatchPreview/index.d.ts +2 -0
- package/dist/presentation/display/commentThreadGroup/Comment.vue.d.ts +38 -0
- package/dist/presentation/display/commentThreadGroup/CommentThreadGroup.vue.d.ts +13 -0
- package/dist/presentation/display/commentThreadGroup/index.d.ts +2 -0
- package/dist/presentation/display/confettiOverlay/ConfettiOverlay.vue.d.ts +39 -0
- package/dist/presentation/display/confettiOverlay/index.d.ts +1 -0
- package/dist/presentation/display/countBadge/CountBadge.vue.d.ts +11 -12
- package/dist/presentation/display/countUpText/CountUpText.vue.d.ts +39 -0
- package/dist/presentation/display/countUpText/index.d.ts +1 -0
- package/dist/presentation/display/dataTable/DataTable.vue.d.ts +25 -26
- package/dist/presentation/display/descriptionGroup/DescriptionGroup.vue.d.ts +53 -0
- package/dist/presentation/display/descriptionGroup/index.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +16 -17
- package/dist/presentation/display/emptyState/EmptyState.vue.d.ts +9 -10
- package/dist/presentation/display/eventCalendarViewer/AgendaView.vue.d.ts +12 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewer.vue.d.ts +37 -0
- package/dist/presentation/display/eventCalendarViewer/EventCalendarViewerTypes.d.ts +28 -0
- package/dist/presentation/display/eventCalendarViewer/MonthView.vue.d.ts +16 -0
- package/dist/presentation/display/eventCalendarViewer/TimeGridView.vue.d.ts +17 -0
- package/dist/presentation/display/eventCalendarViewer/index.d.ts +2 -0
- package/dist/presentation/display/eyebrowText/EyebrowText.vue.d.ts +31 -0
- package/dist/presentation/display/eyebrowText/index.d.ts +1 -0
- package/dist/presentation/display/featureCard/FeatureCard.vue.d.ts +7 -61
- package/dist/presentation/display/fieldHelperText/FieldHelperText.vue.d.ts +19 -0
- package/dist/presentation/display/fieldHelperText/index.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +4 -5
- package/dist/presentation/display/ganttTimeline/GanttTimeline.vue.d.ts +58 -0
- package/dist/presentation/display/ganttTimeline/index.d.ts +1 -0
- package/dist/presentation/display/gradientText/GradientText.vue.d.ts +23 -18
- package/dist/presentation/display/gradientText/index.d.ts +1 -1
- package/dist/presentation/display/heading/Heading.variants.d.ts +50 -140
- package/dist/presentation/display/heading/Heading.vue.d.ts +9 -10
- package/dist/presentation/display/heading/index.d.ts +1 -1
- package/dist/presentation/display/heatmapCalendarGrid/HeatmapCalendarGrid.vue.d.ts +64 -0
- package/dist/presentation/display/heatmapCalendarGrid/index.d.ts +1 -0
- package/dist/presentation/display/highlightText/HighlightText.vue.d.ts +19 -0
- package/dist/presentation/display/highlightText/index.d.ts +1 -0
- package/dist/presentation/display/imagePreview/ImagePreview.vue.d.ts +15 -0
- package/dist/presentation/display/imagePreview/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +42 -42
- package/dist/presentation/display/index.js +143 -138
- package/dist/presentation/display/infoRow/InfoRow.vue.d.ts +8 -9
- package/dist/presentation/display/kbdText/KbdText.vue.d.ts +13 -0
- package/dist/presentation/display/kbdText/index.d.ts +1 -0
- package/dist/presentation/display/keyboardShortcutText/KeyboardShortcutText.vue.d.ts +12 -0
- package/dist/presentation/display/keyboardShortcutText/index.d.ts +1 -0
- package/dist/presentation/display/labelText/LabelText.vue.d.ts +34 -0
- package/dist/presentation/display/labelText/index.d.ts +1 -0
- package/dist/presentation/display/legendText/LegendText.vue.d.ts +21 -0
- package/dist/presentation/display/legendText/index.d.ts +1 -0
- package/dist/presentation/display/listGroup/ListGroup.variants.d.ts +62 -0
- package/dist/presentation/display/listGroup/ListGroup.vue.d.ts +22 -0
- package/dist/presentation/display/listGroup/ListGroupContext.d.ts +16 -0
- package/dist/presentation/display/listGroup/ListGroupItem.vue.d.ts +28 -0
- package/dist/presentation/display/listGroup/index.d.ts +4 -0
- package/dist/presentation/display/markText/MarkText.vue.d.ts +13 -0
- package/dist/presentation/display/markText/index.d.ts +1 -0
- package/dist/presentation/display/marqueeGroup/MarqueeGroup.vue.d.ts +44 -0
- package/dist/presentation/display/marqueeGroup/index.d.ts +1 -0
- package/dist/presentation/display/messageGroup/DaySeparator.vue.d.ts +16 -0
- package/dist/presentation/display/messageGroup/MessageGroup.vue.d.ts +38 -0
- package/dist/presentation/display/messageGroup/index.d.ts +2 -0
- package/dist/presentation/display/metaInlineText/MetaInlineText.vue.d.ts +20 -0
- package/dist/presentation/display/metaInlineText/index.d.ts +1 -0
- package/dist/presentation/display/metricBadge/MetricBadge.vue.d.ts +53 -0
- package/dist/presentation/display/metricBadge/index.d.ts +1 -0
- package/dist/presentation/display/moduleGlyphs/CellsGlyph.vue.d.ts +4 -5
- package/dist/presentation/display/moduleGlyphs/DotsGlyph.vue.d.ts +4 -5
- package/dist/presentation/display/moduleGlyphs/HorizontalBarsGlyph.vue.d.ts +4 -5
- package/dist/presentation/display/moduleGlyphs/ModuleGlyphs.d.ts +3 -3
- package/dist/presentation/display/moduleGlyphs/VerticalBarsGlyph.vue.d.ts +4 -5
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.d.ts +30 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationItem.vue.d.ts +40 -0
- package/dist/presentation/display/notificationCenterGroup/index.d.ts +2 -0
- package/dist/presentation/display/notificationIndicator/NotificationIndicator.vue.d.ts +46 -0
- package/dist/presentation/display/notificationIndicator/index.d.ts +1 -0
- package/dist/presentation/display/onboardingChecklistCard/OnboardingChecklistCard.vue.d.ts +57 -0
- package/dist/presentation/display/onboardingChecklistCard/OnboardingChecklistCardTask.vue.d.ts +27 -0
- package/dist/presentation/display/onboardingChecklistCard/index.d.ts +3 -0
- package/dist/presentation/display/pdfViewer/PdfViewer.vue.d.ts +39 -0
- package/dist/presentation/display/pdfViewer/index.d.ts +1 -1
- package/dist/presentation/display/pricingCard/PricingCard.vue.d.ts +16 -70
- package/dist/presentation/display/quoteText/QuoteText.vue.d.ts +13 -0
- package/dist/presentation/display/quoteText/index.d.ts +1 -0
- package/dist/presentation/display/radiusGlyph/RadiusGlyph.vue.d.ts +6 -7
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +18 -19
- package/dist/presentation/display/reactionBar/index.d.ts +1 -1
- package/dist/presentation/display/scheduleView/ScheduleView.vue.d.ts +22 -23
- package/dist/presentation/display/scrollRevealGroup/ScrollRevealGroup.vue.d.ts +49 -0
- package/dist/presentation/display/scrollRevealGroup/index.d.ts +1 -0
- package/dist/presentation/display/sectionHeading/SectionHeading.vue.d.ts +48 -0
- package/dist/presentation/display/sectionHeading/index.d.ts +1 -0
- package/dist/presentation/display/snippetText/SnippetText.vue.d.ts +20 -0
- package/dist/presentation/display/snippetText/index.d.ts +1 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +21 -22
- package/dist/presentation/display/sparkline/index.d.ts +1 -1
- package/dist/presentation/display/statCard/StatCard.vue.d.ts +47 -0
- package/dist/presentation/display/statCard/index.d.ts +1 -0
- package/dist/presentation/display/status/Status.vue.d.ts +11 -12
- package/dist/presentation/display/stepCard/StepCard.vue.d.ts +8 -62
- package/dist/presentation/display/stepperGroup/StepperGroup.vue.d.ts +28 -0
- package/dist/presentation/display/stepperGroup/StepperGroupContext.d.ts +44 -0
- package/dist/presentation/display/stepperGroup/StepperGroupList.vue.d.ts +13 -0
- package/dist/presentation/display/stepperGroup/StepperGroupPanel.vue.d.ts +15 -0
- package/dist/presentation/display/stepperGroup/StepperGroupStep.vue.d.ts +22 -0
- package/dist/presentation/display/stepperGroup/index.d.ts +5 -0
- package/dist/presentation/display/table/Table.vue.d.ts +17 -18
- package/dist/presentation/display/table/TableBody.vue.d.ts +3 -4
- package/dist/presentation/display/table/TableCaption.vue.d.ts +3 -4
- package/dist/presentation/display/table/TableCell.vue.d.ts +3 -4
- package/dist/presentation/display/table/TableContext.d.ts +3 -3
- package/dist/presentation/display/table/TableFooter.vue.d.ts +3 -4
- package/dist/presentation/display/table/TableHead.vue.d.ts +6 -7
- package/dist/presentation/display/table/TableHeaderCell.vue.d.ts +3 -4
- package/dist/presentation/display/table/TableRow.vue.d.ts +3 -4
- package/dist/presentation/display/table/index.d.ts +1 -1
- package/dist/presentation/display/tabsGroup/TabsGroup.vue.d.ts +32 -0
- package/dist/presentation/display/tabsGroup/TabsGroupContext.d.ts +34 -0
- package/dist/presentation/display/tabsGroup/TabsGroupList.vue.d.ts +13 -0
- package/dist/presentation/display/tabsGroup/TabsGroupPanel.vue.d.ts +15 -0
- package/dist/presentation/display/tabsGroup/TabsGroupTab.vue.d.ts +19 -0
- package/dist/presentation/display/tabsGroup/index.d.ts +5 -0
- package/dist/presentation/display/tag/Tag.variants.d.ts +23 -61
- package/dist/presentation/display/tag/Tag.vue.d.ts +8 -9
- package/dist/presentation/display/text/Text.variants.d.ts +74 -220
- package/dist/presentation/display/text/Text.vue.d.ts +16 -16
- package/dist/presentation/display/text/index.d.ts +1 -1
- package/dist/presentation/display/threadView/ThreadView.vue.d.ts +15 -16
- package/dist/presentation/display/timeline/Timeline.vue.d.ts +6 -7
- package/dist/presentation/display/timeline/TimelineContext.d.ts +1 -1
- package/dist/presentation/display/timeline/TimelineDescription.vue.d.ts +3 -4
- package/dist/presentation/display/timeline/TimelineItem.vue.d.ts +6 -7
- package/dist/presentation/display/timeline/TimelineTitle.vue.d.ts +3 -4
- package/dist/presentation/display/timeline/index.d.ts +1 -1
- package/dist/presentation/display/treeViewer/TreeViewer.vue.d.ts +32 -0
- package/dist/presentation/display/treeViewer/TreeViewerContext.d.ts +29 -0
- package/dist/presentation/display/treeViewer/TreeViewerGroup.vue.d.ts +27 -0
- package/dist/presentation/display/treeViewer/TreeViewerGroupContent.vue.d.ts +16 -0
- package/dist/presentation/display/treeViewer/TreeViewerItem.vue.d.ts +19 -0
- package/dist/presentation/display/treeViewer/TreeViewerNodeRow.vue.d.ts +26 -0
- package/dist/presentation/display/treeViewer/index.d.ts +4 -0
- package/dist/presentation/display/typewriterText/TypewriterText.vue.d.ts +37 -0
- package/dist/presentation/display/typewriterText/index.d.ts +1 -0
- package/dist/presentation/display/videoPlayer/VideoPlayer.vue.d.ts +26 -27
- package/dist/presentation/display/videoPlayer/index.d.ts +1 -1
- package/dist/presentation/feedback/alert/Alert.vue.d.ts +23 -23
- package/dist/presentation/feedback/alertSimple/AlertSimple.variants.d.ts +20 -54
- package/dist/presentation/feedback/alertSimple/AlertSimple.vue.d.ts +7 -7
- package/dist/presentation/feedback/banner/Banner.vue.d.ts +23 -23
- package/dist/presentation/feedback/bannerSimple/BannerSimple.variants.d.ts +20 -54
- package/dist/presentation/feedback/bannerSimple/BannerSimple.vue.d.ts +7 -7
- package/dist/presentation/feedback/callout/Callout.vue.d.ts +15 -15
- package/dist/presentation/feedback/characterCountCallout/CharacterCountCallout.vue.d.ts +14 -0
- package/dist/presentation/feedback/characterCountCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.d.ts +17 -0
- package/dist/presentation/feedback/feedbackToastHost/index.d.ts +1 -0
- package/dist/presentation/feedback/fieldErrorCallout/FieldErrorCallout.vue.d.ts +24 -0
- package/dist/presentation/feedback/fieldErrorCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/index.d.ts +9 -9
- package/dist/presentation/feedback/index.js +35 -38
- package/dist/presentation/feedback/index.js.map +1 -1
- package/dist/presentation/feedback/inlineSpinner/InlineSpinner.vue.d.ts +10 -12
- package/dist/presentation/feedback/liveCursorIndicator/LiveCursorIndicator.vue.d.ts +33 -0
- package/dist/presentation/feedback/liveCursorIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingOverlay/LoadingOverlay.vue.d.ts +18 -19
- package/dist/presentation/feedback/loadingOverlay/index.d.ts +1 -1
- package/dist/presentation/feedback/loadingState/LoadingState.vue.d.ts +14 -14
- package/dist/presentation/feedback/meterBar/MeterBar.vue.d.ts +12 -13
- package/dist/presentation/feedback/passwordStrengthCallout/PasswordStrengthCallout.vue.d.ts +15 -0
- package/dist/presentation/feedback/passwordStrengthCallout/index.d.ts +1 -0
- package/dist/presentation/feedback/presenceIndicator/PresenceIndicator.vue.d.ts +12 -13
- package/dist/presentation/feedback/presenceIndicator/index.d.ts +1 -1
- package/dist/presentation/feedback/progressBar/ProgressBar.variants.d.ts +33 -91
- package/dist/presentation/feedback/progressBar/ProgressBar.vue.d.ts +11 -12
- package/dist/presentation/feedback/progressBar/index.d.ts +1 -1
- package/dist/presentation/feedback/progressCircleIndicator/ProgressCircleIndicator.vue.d.ts +20 -0
- package/dist/presentation/feedback/progressCircleIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressStepsIndicator/ProgressStepsIndicator.vue.d.ts +15 -0
- package/dist/presentation/feedback/progressStepsIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/skeletonState/SkeletonState.variants.d.ts +31 -0
- package/dist/presentation/feedback/skeletonState/SkeletonState.vue.d.ts +17 -0
- package/dist/presentation/feedback/skeletonState/index.d.ts +2 -0
- package/dist/presentation/feedback/spinner/Spinner.variants.d.ts +32 -90
- package/dist/presentation/feedback/spinner/Spinner.vue.d.ts +9 -10
- package/dist/presentation/feedback/statusIndicator/StatusIndicator.vue.d.ts +14 -14
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +23 -23
- package/dist/presentation/feedback/toastHost/ToastHost.vue.d.ts +95 -0
- package/dist/presentation/feedback/toastHost/index.d.ts +1 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.variants.d.ts +20 -54
- package/dist/presentation/feedback/toastSimple/ToastSimple.vue.d.ts +9 -9
- package/dist/presentation/feedback/trendIndicator/TrendIndicator.vue.d.ts +16 -16
- package/dist/presentation/feedback/typingIndicator/TypingIndicator.vue.d.ts +13 -13
- package/dist/presentation/feedback/typingIndicator/index.d.ts +1 -1
- package/dist/presentation/feedback/undoBar/UndoBar.vue.d.ts +21 -21
- package/dist/presentation/forms/DateExtensions.d.ts +4 -4
- package/dist/presentation/forms/InputStyles.d.ts +53 -155
- package/dist/presentation/forms/MonthGrid.vue.d.ts +22 -24
- package/dist/presentation/forms/TimeColumns.vue.d.ts +12 -17
- package/dist/presentation/forms/UseNativeFormReset.d.ts +3 -0
- package/dist/presentation/forms/addressEditor/AddressEditor.vue.d.ts +48 -0
- package/dist/presentation/forms/addressEditor/index.d.ts +1 -0
- package/dist/presentation/forms/calendarPicker/CalendarPicker.vue.d.ts +28 -0
- package/dist/presentation/forms/calendarPicker/index.d.ts +1 -0
- package/dist/presentation/forms/chatComposerInput/ChatComposerInput.vue.d.ts +68 -0
- package/dist/presentation/forms/chatComposerInput/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxField/CheckboxField.vue.d.ts +15 -11
- package/dist/presentation/forms/checkboxGroup/CheckboxGroup.vue.d.ts +14 -19
- package/dist/presentation/forms/checkboxInput/CheckboxInput.variants.d.ts +67 -0
- package/dist/presentation/forms/checkboxInput/CheckboxInput.vue.d.ts +45 -0
- package/dist/presentation/forms/checkboxInput/index.d.ts +2 -0
- package/dist/presentation/forms/choiceCard/ChoiceCard.vue.d.ts +17 -14
- package/dist/presentation/forms/codeEditor/CodeEditor.vue.d.ts +33 -33
- package/dist/presentation/forms/colorArea/ColorArea.vue.d.ts +18 -26
- package/dist/presentation/forms/colorArea/index.d.ts +1 -1
- package/dist/presentation/forms/colorInput/ColorInput.vue.d.ts +39 -0
- package/dist/presentation/forms/colorInput/index.d.ts +1 -0
- package/dist/presentation/forms/colorPicker/ColorPicker.vue.d.ts +21 -26
- package/dist/presentation/forms/colorPicker/index.d.ts +1 -1
- package/dist/presentation/forms/colorSliderInput/ColorSliderInput.vue.d.ts +42 -0
- package/dist/presentation/forms/colorSliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchItem.vue.d.ts +12 -13
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchPicker.vue.d.ts +17 -22
- package/dist/presentation/forms/colorSwatchPicker/index.d.ts +1 -1
- package/dist/presentation/forms/colorWheelInput/ColorWheelInput.vue.d.ts +29 -0
- package/dist/presentation/forms/colorWheelInput/index.d.ts +1 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPicker.vue.d.ts +47 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerContent.vue.d.ts +38 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerContext.d.ts +53 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerInput.vue.d.ts +11 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerItem.vue.d.ts +27 -0
- package/dist/presentation/forms/comboboxPicker/ComboboxPickerSeparator.vue.d.ts +2 -0
- package/dist/presentation/forms/comboboxPicker/index.d.ts +8 -0
- package/dist/presentation/forms/controlGroupField/ControlGroupField.variants.d.ts +70 -0
- package/dist/presentation/forms/controlGroupField/ControlGroupField.vue.d.ts +34 -0
- package/dist/presentation/forms/controlGroupField/index.d.ts +2 -0
- package/dist/presentation/forms/cronInput/CronInput.vue.d.ts +27 -33
- package/dist/presentation/forms/currencyInput/CurrencyInput.vue.d.ts +6 -7
- package/dist/presentation/forms/dataGridEditor/CellEditor.vue.d.ts +28 -0
- package/dist/presentation/forms/dataGridEditor/DataGridEditor.vue.d.ts +46 -0
- package/dist/presentation/forms/dataGridEditor/DataGridEditorTypes.d.ts +65 -0
- package/dist/presentation/forms/dataGridEditor/index.d.ts +2 -0
- package/dist/presentation/forms/dateInput/DateInput.vue.d.ts +49 -0
- package/dist/presentation/forms/dateInput/index.d.ts +1 -0
- package/dist/presentation/forms/datePicker/DatePicker.vue.d.ts +23 -28
- package/dist/presentation/forms/dateRangePicker/DateRangePicker.vue.d.ts +24 -29
- package/dist/presentation/forms/dateTimeInput/DateTimeInput.vue.d.ts +54 -0
- package/dist/presentation/forms/dateTimeInput/index.d.ts +1 -0
- package/dist/presentation/forms/editableInput/EditableInput.vue.d.ts +49 -0
- package/dist/presentation/forms/editableInput/EditableInputCancel.vue.d.ts +11 -0
- package/dist/presentation/forms/editableInput/EditableInputContext.d.ts +37 -0
- package/dist/presentation/forms/editableInput/EditableInputInput.vue.d.ts +11 -0
- package/dist/presentation/forms/editableInput/EditableInputPreview.vue.d.ts +6 -0
- package/dist/presentation/forms/editableInput/EditableInputSubmit.vue.d.ts +13 -0
- package/dist/presentation/forms/editableInput/index.d.ts +7 -0
- package/dist/presentation/forms/emailInput/EmailInput.vue.d.ts +21 -26
- package/dist/presentation/forms/emojiPicker/CategoryNav.vue.d.ts +3 -4
- package/dist/presentation/forms/emojiPicker/EmojiGrid.vue.d.ts +4 -5
- package/dist/presentation/forms/emojiPicker/EmojiPicker.variants.d.ts +10 -4
- package/dist/presentation/forms/emojiPicker/EmojiPicker.vue.d.ts +4 -9
- package/dist/presentation/forms/emojiPicker/EmojiPickerPopover.vue.d.ts +3 -13
- package/dist/presentation/forms/emojiPicker/EmojiTile.vue.d.ts +3 -4
- package/dist/presentation/forms/emojiPicker/UseEmojiPicker.d.ts +48 -0
- package/dist/presentation/forms/emojiPicker/index.d.ts +2 -2
- package/dist/presentation/forms/emojiSizePicker/EmojiSizePicker.variants.d.ts +23 -0
- package/dist/presentation/forms/emojiSizePicker/EmojiSizePicker.vue.d.ts +30 -0
- package/dist/presentation/forms/emojiSizePicker/index.d.ts +2 -0
- package/dist/presentation/forms/field/Field.vue.d.ts +13 -14
- package/dist/presentation/forms/filePicker/FilePicker.vue.d.ts +14 -15
- package/dist/presentation/forms/fileUploadPicker/FileUploadPicker.vue.d.ts +59 -0
- package/dist/presentation/forms/fileUploadPicker/index.d.ts +1 -0
- package/dist/presentation/forms/fontPicker/FontPicker.vue.d.ts +21 -27
- package/dist/presentation/forms/fontPicker/index.d.ts +1 -1
- package/dist/presentation/forms/gradientPicker/GradientPicker.vue.d.ts +18 -24
- package/dist/presentation/forms/iconPicker/IconPicker.vue.d.ts +22 -28
- package/dist/presentation/forms/index.d.ts +33 -35
- package/dist/presentation/forms/index.js +163 -157
- package/dist/presentation/forms/index.js.map +1 -1
- package/dist/presentation/forms/jsonEditor/JsonEditor.vue.d.ts +41 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorContext.d.ts +28 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorExtensions.d.ts +13 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTextView.vue.d.ts +13 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTreeNode.vue.d.ts +14 -0
- package/dist/presentation/forms/jsonEditor/JsonEditorTreeView.vue.d.ts +7 -0
- package/dist/presentation/forms/jsonEditor/index.d.ts +2 -2
- package/dist/presentation/forms/keyboardShortcutPicker/KeyboardShortcutPicker.vue.d.ts +16 -22
- package/dist/presentation/forms/keyboardShortcutPicker/index.d.ts +1 -1
- package/dist/presentation/forms/knobInput/KnobInput.vue.d.ts +69 -0
- package/dist/presentation/forms/knobInput/index.d.ts +1 -0
- package/dist/presentation/forms/labeledField/LabeledField.vue.d.ts +22 -0
- package/dist/presentation/forms/labeledField/index.d.ts +2 -0
- package/dist/presentation/forms/listboxPicker/ListboxPicker.variants.d.ts +41 -0
- package/dist/presentation/forms/listboxPicker/ListboxPicker.vue.d.ts +66 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerContext.d.ts +47 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerGroup.vue.d.ts +20 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerItem.vue.d.ts +24 -0
- package/dist/presentation/forms/listboxPicker/ListboxPickerSeparator.vue.d.ts +2 -0
- package/dist/presentation/forms/listboxPicker/index.d.ts +7 -0
- package/dist/presentation/forms/markdownEditor/MarkdownEditor.vue.d.ts +28 -36
- package/dist/presentation/forms/markdownEditor/index.d.ts +1 -1
- package/dist/presentation/forms/maskedInput/MaskedInput.vue.d.ts +20 -25
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPicker.vue.d.ts +49 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContent.vue.d.ts +30 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerContext.d.ts +47 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerItem.vue.d.ts +24 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerTags.vue.d.ts +23 -0
- package/dist/presentation/forms/multiSelectPicker/MultiSelectPickerTrigger.vue.d.ts +24 -0
- package/dist/presentation/forms/multiSelectPicker/index.d.ts +6 -0
- package/dist/presentation/forms/nodeEditor/NodeEditor.vue.d.ts +58 -0
- package/dist/presentation/forms/numberInput/NumberInput.vue.d.ts +32 -32
- package/dist/presentation/forms/optionTileGroupField/OptionTileGroupField.variants.d.ts +34 -0
- package/dist/presentation/forms/optionTileGroupField/OptionTileGroupField.vue.d.ts +27 -0
- package/dist/presentation/forms/optionTileGroupField/index.d.ts +2 -0
- package/dist/presentation/forms/optionTilePicker/OptionTilePicker.variants.d.ts +8 -0
- package/dist/presentation/forms/optionTilePicker/OptionTilePicker.vue.d.ts +35 -0
- package/dist/presentation/forms/optionTilePicker/index.d.ts +2 -0
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +28 -33
- package/dist/presentation/forms/percentInput/PercentInput.vue.d.ts +3 -4
- package/dist/presentation/forms/phoneInput/PhoneInput.vue.d.ts +18 -24
- package/dist/presentation/forms/phoneInput/index.d.ts +1 -1
- package/dist/presentation/forms/pinInput/PinInput.vue.d.ts +20 -25
- package/dist/presentation/forms/radioField/RadioField.vue.d.ts +15 -11
- package/dist/presentation/forms/radioGroup/RadioGroup.vue.d.ts +15 -20
- package/dist/presentation/forms/radioInput/RadioInput.vue.d.ts +29 -0
- package/dist/presentation/forms/radioInput/index.d.ts +1 -0
- package/dist/presentation/forms/rangeCalendarPicker/RangeCalendarPicker.vue.d.ts +32 -0
- package/dist/presentation/forms/rangeCalendarPicker/index.d.ts +1 -0
- package/dist/presentation/forms/reactionPicker/ReactionPicker.vue.d.ts +14 -15
- package/dist/presentation/forms/recurrenceEditor/RecurrenceEditor.vue.d.ts +25 -31
- package/dist/presentation/forms/searchInput/SearchInput.vue.d.ts +23 -28
- package/dist/presentation/forms/segmentedPicker/SegmentedPicker.vue.d.ts +20 -0
- package/dist/presentation/forms/segmentedPicker/index.d.ts +1 -0
- package/dist/presentation/forms/selectPicker/SelectPicker.variants.d.ts +129 -0
- package/dist/presentation/forms/selectPicker/SelectPicker.vue.d.ts +62 -0
- package/dist/presentation/forms/selectPicker/SelectPickerContent.vue.d.ts +43 -0
- package/dist/presentation/forms/selectPicker/SelectPickerContext.d.ts +76 -0
- package/dist/presentation/forms/selectPicker/SelectPickerItem.vue.d.ts +33 -0
- package/dist/presentation/forms/selectPicker/SelectPickerTrigger.vue.d.ts +20 -0
- package/dist/presentation/forms/selectPicker/SelectPickerValue.vue.d.ts +22 -0
- package/dist/presentation/forms/selectPicker/index.d.ts +7 -0
- package/dist/presentation/forms/sliderInput/SliderInput.vue.d.ts +33 -0
- package/dist/presentation/forms/sliderInput/index.d.ts +1 -0
- package/dist/presentation/forms/sortableGroup/SortableGroup.vue.d.ts +17 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupContext.d.ts +23 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupHandle.vue.d.ts +13 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupItem.vue.d.ts +15 -0
- package/dist/presentation/forms/sortableGroup/SortableGroupMoveButton.vue.d.ts +15 -0
- package/dist/presentation/forms/sortableGroup/index.d.ts +5 -0
- package/dist/presentation/forms/switchField/SwitchField.vue.d.ts +13 -14
- package/dist/presentation/forms/switchInput/SwitchInput.vue.d.ts +29 -0
- package/dist/presentation/forms/switchInput/index.d.ts +1 -0
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +36 -43
- package/dist/presentation/forms/telInput/TelInput.vue.d.ts +21 -26
- package/dist/presentation/forms/textAreaInput/TextAreaInput.vue.d.ts +23 -28
- package/dist/presentation/forms/textInput/TextInput.vue.d.ts +21 -26
- package/dist/presentation/forms/timeInput/TimeInput.vue.d.ts +48 -0
- package/dist/presentation/forms/timeInput/index.d.ts +1 -0
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +22 -27
- package/dist/presentation/forms/toggleGroup/ToggleGroup.variants.d.ts +33 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroup.vue.d.ts +73 -0
- package/dist/presentation/forms/toggleGroup/ToggleGroupContext.d.ts +24 -0
- package/dist/presentation/forms/toggleGroup/index.d.ts +3 -0
- package/dist/presentation/forms/toggleInput/ToggleInput.variants.d.ts +75 -0
- package/dist/presentation/forms/toggleInput/ToggleInput.vue.d.ts +57 -0
- package/dist/presentation/forms/toggleInput/index.d.ts +2 -0
- package/dist/presentation/forms/urlInput/UrlInput.vue.d.ts +21 -26
- package/dist/presentation/forms/wizardForm/WizardForm.vue.d.ts +35 -0
- package/dist/presentation/forms/wizardForm/WizardFormContext.d.ts +38 -0
- package/dist/presentation/forms/wizardForm/WizardFormFooter.vue.d.ts +28 -0
- package/dist/presentation/forms/wizardForm/WizardFormStep.vue.d.ts +28 -0
- package/dist/presentation/forms/wizardForm/WizardFormSteps.vue.d.ts +6 -0
- package/dist/presentation/forms/wizardForm/index.d.ts +6 -0
- package/dist/presentation/layout/anchorLayout/AnchorLayout.variants.d.ts +117 -0
- package/dist/presentation/layout/anchorLayout/AnchorLayout.vue.d.ts +63 -0
- package/dist/presentation/layout/anchorLayout/index.d.ts +2 -0
- package/dist/presentation/layout/appShell/AppShell.vue.d.ts +19 -34
- package/dist/presentation/layout/appShell/AppShellAside.vue.d.ts +3 -4
- package/dist/presentation/layout/appShell/AppShellContent.vue.d.ts +3 -4
- package/dist/presentation/layout/appShell/AppShellFooter.vue.d.ts +3 -4
- package/dist/presentation/layout/appShell/AppShellHeader.vue.d.ts +3 -4
- package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +3 -4
- package/dist/presentation/layout/appShell/AppShellSidebar.vue.d.ts +3 -4
- package/dist/presentation/layout/aspectRatioLayout/AspectRatioLayout.vue.d.ts +18 -0
- package/dist/presentation/layout/aspectRatioLayout/index.d.ts +1 -0
- package/dist/presentation/layout/boxLayout/BoxLayout.vue.d.ts +19 -0
- package/dist/presentation/layout/boxLayout/index.d.ts +1 -0
- package/dist/presentation/layout/centerLayout/CenterLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/centerLayout/index.d.ts +1 -0
- package/dist/presentation/layout/clusterLayout/ClusterLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/clusterLayout/index.d.ts +1 -0
- package/dist/presentation/layout/containerLayout/ContainerLayout.variants.d.ts +46 -0
- package/dist/presentation/layout/containerLayout/ContainerLayout.vue.d.ts +21 -0
- package/dist/presentation/layout/containerLayout/index.d.ts +2 -0
- package/dist/presentation/layout/dividerLayout/DividerLayout.variants.d.ts +25 -0
- package/dist/presentation/layout/dividerLayout/DividerLayout.vue.d.ts +37 -0
- package/dist/presentation/layout/dividerLayout/index.d.ts +2 -0
- package/dist/presentation/layout/fieldsetLayout/FieldsetLayout.vue.d.ts +22 -0
- package/dist/presentation/layout/fieldsetLayout/index.d.ts +1 -0
- package/dist/presentation/layout/flexLayout/FlexLayout.vue.d.ts +18 -0
- package/dist/presentation/layout/flexLayout/index.d.ts +1 -0
- package/dist/presentation/layout/frameLayout/FrameLayout.vue.d.ts +38 -0
- package/dist/presentation/layout/frameLayout/index.d.ts +1 -0
- package/dist/presentation/layout/grid/Grid.variants.d.ts +59 -153
- package/dist/presentation/layout/grid/Grid.vue.d.ts +13 -13
- package/dist/presentation/layout/hStackLayout/HStackLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/hStackLayout/index.d.ts +1 -0
- package/dist/presentation/layout/index.d.ts +24 -19
- package/dist/presentation/layout/index.js +60 -56
- package/dist/presentation/layout/inlineLayout/InlineLayout.vue.d.ts +42 -0
- package/dist/presentation/layout/inlineLayout/index.d.ts +1 -0
- package/dist/presentation/layout/inputAddonLayout/InputAddonLayout.vue.d.ts +19 -0
- package/dist/presentation/layout/inputAddonLayout/index.d.ts +1 -0
- package/dist/presentation/layout/inputGroup/InputGroup.vue.d.ts +18 -0
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +20 -62
- package/dist/presentation/layout/navbar/Navbar.vue.d.ts +14 -15
- package/dist/presentation/layout/navbar/index.d.ts +1 -1
- package/dist/presentation/layout/pullToRefreshLayout/PullToRefreshLayout.vue.d.ts +21 -0
- package/dist/presentation/layout/pullToRefreshLayout/index.d.ts +1 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizablePanel.vue.d.ts +21 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizablePanelsLayout.vue.d.ts +61 -0
- package/dist/presentation/layout/resizablePanelsLayout/ResizableSeparator.vue.d.ts +9 -0
- package/dist/presentation/layout/resizablePanelsLayout/index.d.ts +4 -0
- package/dist/presentation/layout/scrollArea/ScrollArea.vue.d.ts +8 -8
- package/dist/presentation/layout/section/Section.variants.d.ts +20 -54
- package/dist/presentation/layout/section/Section.vue.d.ts +15 -17
- package/dist/presentation/layout/section/index.d.ts +1 -1
- package/dist/presentation/layout/separatorLayout/SeparatorLayout.vue.d.ts +13 -0
- package/dist/presentation/layout/separatorLayout/index.d.ts +1 -0
- package/dist/presentation/layout/spacerLayout/SpacerLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/spacerLayout/index.d.ts +1 -0
- package/dist/presentation/layout/stackLayout/StackLayout.variants.d.ts +172 -0
- package/dist/presentation/layout/stackLayout/StackLayout.vue.d.ts +37 -0
- package/dist/presentation/layout/stackLayout/index.d.ts +2 -0
- package/dist/presentation/layout/surfaceLayout/SurfaceLayout.vue.d.ts +40 -0
- package/dist/presentation/layout/surfaceLayout/index.d.ts +1 -0
- package/dist/presentation/layout/swipeActionsLayout/SwipeActionsLayout.vue.d.ts +27 -0
- package/dist/presentation/layout/swipeActionsLayout/index.d.ts +1 -0
- package/dist/presentation/layout/tiltLayout/TiltLayout.vue.d.ts +30 -0
- package/dist/presentation/layout/tiltLayout/index.d.ts +1 -0
- package/dist/presentation/layout/twoColumnLayout/TwoColumnLayout.vue.d.ts +27 -0
- package/dist/presentation/layout/twoColumnLayout/index.d.ts +1 -0
- package/dist/presentation/layout/vStackLayout/VStackLayout.vue.d.ts +14 -0
- package/dist/presentation/layout/vStackLayout/index.d.ts +1 -0
- package/dist/presentation/nav/NavExtensions.d.ts +14 -0
- package/dist/presentation/nav/breadcrumb/Breadcrumb.vue.d.ts +7 -8
- package/dist/presentation/nav/breadcrumb/index.d.ts +1 -1
- package/dist/presentation/nav/contextMenu/ContextMenu.vue.d.ts +1 -2
- package/dist/presentation/nav/contextMenu/ContextMenuContent.vue.d.ts +6 -7
- package/dist/presentation/nav/contextMenu/ContextMenuTrigger.vue.d.ts +8 -9
- package/dist/presentation/nav/contextMenu/index.d.ts +3 -3
- package/dist/presentation/nav/dropdownMenu/DropdownMenu.vue.d.ts +12 -26
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContent.vue.d.ts +1 -2
- package/dist/presentation/nav/dropdownMenu/DropdownMenuTrigger.vue.d.ts +6 -7
- package/dist/presentation/nav/dropdownMenu/index.d.ts +3 -3
- package/dist/presentation/nav/index.d.ts +1 -1
- package/dist/presentation/nav/index.js +49 -56
- package/dist/presentation/nav/linkItem/LinkItem.variants.d.ts +61 -0
- package/dist/presentation/nav/linkItem/LinkItem.vue.d.ts +25 -0
- package/dist/presentation/nav/linkItem/index.d.ts +2 -0
- package/dist/presentation/nav/menu/Menu.variants.d.ts +17 -43
- package/dist/presentation/nav/menu/Menu.vue.d.ts +26 -30
- package/dist/presentation/nav/menu/MenuGroup.vue.d.ts +4 -5
- package/dist/presentation/nav/menu/MenuItem.vue.d.ts +9 -10
- package/dist/presentation/nav/menu/MenuLabel.vue.d.ts +3 -4
- package/dist/presentation/nav/menu/MenuSeparator.vue.d.ts +3 -4
- package/dist/presentation/nav/menubar/Menubar.variants.d.ts +3 -5
- package/dist/presentation/nav/menubar/Menubar.vue.d.ts +12 -255
- package/dist/presentation/nav/menubar/MenubarContent.vue.d.ts +6 -7
- package/dist/presentation/nav/menubar/MenubarMenu.vue.d.ts +2 -3
- package/dist/presentation/nav/menubar/MenubarTrigger.vue.d.ts +3 -4
- package/dist/presentation/nav/navItem/NavItem.vue.d.ts +15 -16
- package/dist/presentation/nav/navigationMenu/NavigationMenu.vue.d.ts +11 -12
- package/dist/presentation/nav/navigationMenu/NavigationMenuContent.vue.d.ts +3 -4
- package/dist/presentation/nav/navigationMenu/NavigationMenuItem.vue.d.ts +4 -5
- package/dist/presentation/nav/navigationMenu/NavigationMenuLink.vue.d.ts +3 -4
- package/dist/presentation/nav/navigationMenu/NavigationMenuList.vue.d.ts +3 -246
- package/dist/presentation/nav/navigationMenu/NavigationMenuTrigger.vue.d.ts +3 -4
- package/dist/presentation/nav/navigationMenu/index.d.ts +5 -5
- package/dist/presentation/nav/pagination/Pagination.vue.d.ts +11 -14
- package/dist/presentation/nav/scrollSpy/ScrollSpy.vue.d.ts +7 -8
- package/dist/presentation/nav/scrollSpy/UseScrollSpy.d.ts +1 -1
- package/dist/presentation/nav/tableOfContents/TableOfContents.vue.d.ts +15 -16
- package/dist/presentation/nav/tableOfContents/index.d.ts +1 -1
- package/dist/presentation/overlays/OverlayBody.vue.d.ts +3 -4
- package/dist/presentation/overlays/OverlayCloseButton.vue.d.ts +6 -7
- package/dist/presentation/overlays/OverlayDescription.vue.d.ts +3 -4
- package/dist/presentation/overlays/OverlayExtensions.d.ts +14 -0
- package/dist/presentation/overlays/OverlayFooter.vue.d.ts +3 -4
- package/dist/presentation/overlays/OverlayHeader.vue.d.ts +3 -4
- package/dist/presentation/overlays/OverlayTitle.vue.d.ts +3 -4
- package/dist/presentation/overlays/actionSheet/ActionSheet.vue.d.ts +12 -17
- package/dist/presentation/overlays/actionSheet/ActionSheetAction.vue.d.ts +7 -8
- package/dist/presentation/overlays/actionSheet/ActionSheetCancel.vue.d.ts +3 -4
- package/dist/presentation/overlays/actionSheet/index.d.ts +2 -2
- package/dist/presentation/overlays/alertModal/AlertModal.vue.d.ts +6 -10
- package/dist/presentation/overlays/alertModal/AlertModalAction.vue.d.ts +5 -6
- package/dist/presentation/overlays/alertModal/AlertModalCancel.vue.d.ts +3 -4
- package/dist/presentation/overlays/alertModal/AlertModalContent.vue.d.ts +3 -4
- package/dist/presentation/overlays/alertModal/index.d.ts +3 -3
- package/dist/presentation/overlays/backdropOverlay/BackdropOverlay.vue.d.ts +39 -0
- package/dist/presentation/overlays/backdropOverlay/index.d.ts +1 -0
- package/dist/presentation/overlays/bottomSheet/BottomSheet.vue.d.ts +27 -32
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModal.vue.d.ts +37 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalContent.vue.d.ts +16 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalContext.d.ts +42 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalEmpty.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalGroup.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalInput.vue.d.ts +13 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalItem.vue.d.ts +35 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalList.vue.d.ts +18 -0
- package/dist/presentation/overlays/commandPaletteModal/CommandPaletteModalSeparator.vue.d.ts +11 -0
- package/dist/presentation/overlays/commandPaletteModal/index.d.ts +9 -0
- package/dist/presentation/overlays/drawer/Drawer.vue.d.ts +16 -29
- package/dist/presentation/overlays/drawer/DrawerContent.vue.d.ts +14 -15
- package/dist/presentation/overlays/drawer/DrawerTrigger.vue.d.ts +6 -7
- package/dist/presentation/overlays/drawer/index.d.ts +1 -1
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +17 -30
- package/dist/presentation/overlays/hoverCard/HoverCardArrow.vue.d.ts +3 -4
- package/dist/presentation/overlays/hoverCard/HoverCardContent.vue.d.ts +5 -7
- package/dist/presentation/overlays/hoverCard/HoverCardTrigger.vue.d.ts +6 -7
- package/dist/presentation/overlays/hoverCard/index.d.ts +2 -2
- package/dist/presentation/overlays/index.d.ts +4 -1
- package/dist/presentation/overlays/index.js +50 -37
- package/dist/presentation/overlays/index.js.map +1 -1
- package/dist/presentation/overlays/modal/Modal.vue.d.ts +16 -30
- package/dist/presentation/overlays/modal/ModalContent.vue.d.ts +13 -14
- package/dist/presentation/overlays/modal/ModalTrigger.vue.d.ts +6 -7
- package/dist/presentation/overlays/modal/index.d.ts +2 -2
- package/dist/presentation/overlays/popover/Popover.vue.d.ts +21 -30
- package/dist/presentation/overlays/popover/PopoverArrow.vue.d.ts +3 -4
- package/dist/presentation/overlays/popover/PopoverContent.vue.d.ts +10 -11
- package/dist/presentation/overlays/popover/PopoverTrigger.vue.d.ts +6 -7
- package/dist/presentation/overlays/tooltip/Tooltip.vue.d.ts +41 -0
- package/dist/presentation/overlays/tourPopover/TourPopover.vue.d.ts +46 -0
- package/dist/presentation/overlays/tourPopover/index.d.ts +1 -0
- package/dist/query/PageExtensions.d.ts +16 -0
- package/dist/query/Testing.d.ts +1 -0
- package/dist/query/Testing.js +48 -0
- package/dist/query/Testing.js.map +1 -0
- package/dist/query/adapters/tanstack/CreateQueryClient.d.ts +33 -0
- package/dist/query/adapters/tanstack/Endpoints.d.ts +19 -0
- package/dist/query/adapters/tanstack/OptimisticTransactions.d.ts +3 -0
- package/dist/query/adapters/tanstack/Persistence.d.ts +41 -0
- package/dist/query/adapters/tanstack/QueryOutcome.d.ts +8 -0
- package/dist/query/adapters/tanstack/QueryProgressBridge.d.ts +15 -0
- package/dist/query/adapters/tanstack/QueryProvider.vue.d.ts +16 -0
- package/dist/query/adapters/tanstack/QueryTestUtils.d.ts +54 -0
- package/dist/query/adapters/tanstack/hooks/UseAppInfiniteQuery.d.ts +49 -0
- package/dist/query/adapters/tanstack/hooks/UseAppLazyQuery.d.ts +44 -0
- package/dist/query/adapters/tanstack/hooks/UseAppMutation.d.ts +36 -0
- package/dist/query/adapters/tanstack/hooks/UseAppPaginatedQuery.d.ts +49 -0
- package/dist/query/adapters/tanstack/hooks/UseAppQueries.d.ts +50 -0
- package/dist/query/adapters/tanstack/hooks/UseAppQuery.d.ts +42 -0
- package/dist/query/adapters/tanstack/hooks/UseAppSuspenseQuery.d.ts +50 -0
- package/dist/query/adapters/tanstack/hooks/UseOptimisticMutation.d.ts +38 -0
- package/dist/query/adapters/tanstack/hooks/UsePrefetchQuery.d.ts +28 -0
- package/dist/query/adapters/tanstack/hooks/UseQueryCache.d.ts +33 -0
- package/dist/query/adapters/tanstack/index.d.ts +19 -0
- package/dist/query/adapters/tanstack/queryDevtools/QueryDevtools.vue.d.ts +9 -0
- package/dist/query/adapters/tanstack/queryDevtools/index.d.ts +1 -0
- package/dist/query/index.d.ts +1 -19
- package/dist/query/index.js +155 -93
- package/dist/query/index.js.map +1 -1
- package/dist/router/Paths.d.ts +4 -6
- package/dist/router/ProgressProvider.vue.d.ts +5 -6
- package/dist/router/adapters/vueRouter/CreateAppRouter.d.ts +65 -0
- package/dist/router/adapters/vueRouter/DocumentMeta.d.ts +13 -0
- package/dist/router/adapters/vueRouter/Guards.d.ts +32 -0
- package/dist/router/adapters/vueRouter/LazyRoute.d.ts +19 -0
- package/dist/router/adapters/vueRouter/RouteConfig.d.ts +97 -0
- package/dist/router/adapters/vueRouter/RouteHandles.d.ts +30 -0
- package/dist/router/adapters/vueRouter/RoutePersistence.d.ts +20 -0
- package/dist/router/adapters/vueRouter/appErrorBoundary/AppErrorBoundary.vue.d.ts +25 -0
- package/dist/router/adapters/vueRouter/appErrorBoundary/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/appNavLink/AppNavLink.vue.d.ts +39 -0
- package/dist/router/adapters/vueRouter/appNavLink/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/hooks/UseBreadcrumbs.d.ts +17 -0
- package/dist/router/adapters/vueRouter/hooks/UsePrefetch.d.ts +19 -0
- package/dist/router/adapters/vueRouter/index.d.ts +23 -0
- package/dist/router/adapters/vueRouter/navigationProgress/NavigationProgress.vue.d.ts +18 -0
- package/dist/router/adapters/vueRouter/navigationProgress/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/notFound/NotFound.vue.d.ts +9 -0
- package/dist/router/adapters/vueRouter/notFound/index.d.ts +1 -0
- package/dist/router/adapters/vueRouter/routeAnnouncer/RouteAnnouncer.vue.d.ts +9 -0
- package/dist/router/adapters/vueRouter/routeAnnouncer/index.d.ts +1 -0
- package/dist/router/index.d.ts +1 -23
- package/dist/router/index.js +63 -29
- package/dist/router/index.js.map +1 -1
- package/dist/themes.css +1115 -1115
- package/dist/themes.json +5 -4
- package/package.json +93 -48
- package/dist/auth/AuthContext.d.ts +0 -41
- package/dist/auth/AuthProvider.vue.d.ts +0 -33
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js +0 -46
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js.map +0 -1
- package/dist/chunks/ApiError-l0YdcqqV.js +0 -15
- package/dist/chunks/ApiError-l0YdcqqV.js.map +0 -1
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-iLYlhK05.js +0 -1002
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-iLYlhK05.js.map +0 -1
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-CKG--_g8.js +0 -78
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-CKG--_g8.js.map +0 -1
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNaGird.js +0 -1094
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNaGird.js.map +0 -1
- package/dist/chunks/Bytes-7Jxs6Bq6.js +0 -21
- package/dist/chunks/Bytes-7Jxs6Bq6.js.map +0 -1
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-DfeVsj9h.js +0 -13193
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-DfeVsj9h.js.map +0 -1
- package/dist/chunks/Chord-D9Z-j3O0.js +0 -139
- package/dist/chunks/Chord-D9Z-j3O0.js.map +0 -1
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js +0 -21
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js.map +0 -1
- package/dist/chunks/Compare-Du6p-OX1.js +0 -18
- package/dist/chunks/Compare-Du6p-OX1.js.map +0 -1
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js +0 -229
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js.map +0 -1
- package/dist/chunks/CssExtensions-BzLJG57F.js +0 -161
- package/dist/chunks/CssExtensions-BzLJG57F.js.map +0 -1
- package/dist/chunks/DateExtensions-C6a-h8ji.js +0 -272
- package/dist/chunks/DateExtensions-C6a-h8ji.js.map +0 -1
- package/dist/chunks/DeepEqual-7lBKnkNS.js +0 -29
- package/dist/chunks/DeepEqual-7lBKnkNS.js.map +0 -1
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-ptH1ttBL.js +0 -214
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-ptH1ttBL.js.map +0 -1
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-4n5w3lg2.js +0 -207
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-4n5w3lg2.js.map +0 -1
- package/dist/chunks/Environment-CuQav_mw.js +0 -68
- package/dist/chunks/Environment-CuQav_mw.js.map +0 -1
- package/dist/chunks/Equality-DIQYQysz.js +0 -21
- package/dist/chunks/Equality-DIQYQysz.js.map +0 -1
- package/dist/chunks/ErrorLike-Cfj0lZW3.js +0 -27
- package/dist/chunks/ErrorLike-Cfj0lZW3.js.map +0 -1
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js +0 -26
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js.map +0 -1
- package/dist/chunks/ErrorRecognizers-oTklha6D.js +0 -17
- package/dist/chunks/ErrorRecognizers-oTklha6D.js.map +0 -1
- package/dist/chunks/FieldErrors-2zjhia4U.js +0 -56
- package/dist/chunks/FieldErrors-2zjhia4U.js.map +0 -1
- package/dist/chunks/FileName-CmNjFV7t.js +0 -30
- package/dist/chunks/FileName-CmNjFV7t.js.map +0 -1
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js +0 -73
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js.map +0 -1
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js +0 -23
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js.map +0 -1
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js +0 -27
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js.map +0 -1
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js +0 -68
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js.map +0 -1
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js +0 -34
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js.map +0 -1
- package/dist/chunks/Listbox.variants-CqAkYsmK.js +0 -44
- package/dist/chunks/Listbox.variants-CqAkYsmK.js.map +0 -1
- package/dist/chunks/LocaleContext-B3UXrI6p.js +0 -39
- package/dist/chunks/LocaleContext-B3UXrI6p.js.map +0 -1
- package/dist/chunks/Messages-BGfQHMmW.js +0 -201
- package/dist/chunks/Messages-BGfQHMmW.js.map +0 -1
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-Co5jaeXk.js +0 -191
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-Co5jaeXk.js.map +0 -1
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js +0 -86
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js.map +0 -1
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cy0zvm5d.js +0 -2073
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cy0zvm5d.js.map +0 -1
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-DySfo3fD.js +0 -2727
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-DySfo3fD.js.map +0 -1
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-CKSVGCby.js +0 -964
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-CKSVGCby.js.map +0 -1
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js +0 -17
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js.map +0 -1
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-DYd617X5.js +0 -212
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-DYd617X5.js.map +0 -1
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js +0 -34
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js.map +0 -1
- package/dist/chunks/Presence-DE4MlrJz.js +0 -138
- package/dist/chunks/Presence-DE4MlrJz.js.map +0 -1
- package/dist/chunks/Primitive-Cm3ECaVw.js +0 -20
- package/dist/chunks/Primitive-Cm3ECaVw.js.map +0 -1
- package/dist/chunks/QueryPermission--OKfvS9c.js +0 -82
- package/dist/chunks/QueryPermission--OKfvS9c.js.map +0 -1
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js +0 -235
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js.map +0 -1
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js +0 -20
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js.map +0 -1
- package/dist/chunks/SerializeError-CclP2jCW.js +0 -61
- package/dist/chunks/SerializeError-CclP2jCW.js.map +0 -1
- package/dist/chunks/Side-CSys3p-F.js +0 -23
- package/dist/chunks/Side-CSys3p-F.js.map +0 -1
- package/dist/chunks/Slot-D2lIitvV.js +0 -103
- package/dist/chunks/Slot-D2lIitvV.js.map +0 -1
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-8WPwGZ5e.js +0 -10375
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-8WPwGZ5e.js.map +0 -1
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js +0 -23
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js.map +0 -1
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js +0 -76
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js.map +0 -1
- package/dist/chunks/SubmitErrors-K8nmmj0P.js +0 -374
- package/dist/chunks/SubmitErrors-K8nmmj0P.js.map +0 -1
- package/dist/chunks/SurfaceStyles-B6W7zdMi.js +0 -143
- package/dist/chunks/SurfaceStyles-B6W7zdMi.js.map +0 -1
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-C9eM0AoG.js +0 -2157
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-C9eM0AoG.js.map +0 -1
- package/dist/chunks/ToError-CyTBsmLO.js +0 -52
- package/dist/chunks/ToError-CyTBsmLO.js.map +0 -1
- package/dist/chunks/Tones-WKBNZ_u2.js +0 -112
- package/dist/chunks/Tones-WKBNZ_u2.js.map +0 -1
- package/dist/chunks/TransitionExtensions-hFi80JX2.js +0 -19
- package/dist/chunks/TransitionExtensions-hFi80JX2.js.map +0 -1
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js +0 -82
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js.map +0 -1
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js +0 -51
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js.map +0 -1
- package/dist/chunks/cn-CzDCF-Ah.js +0 -9
- package/dist/chunks/cn-CzDCF-Ah.js.map +0 -1
- package/dist/chunks/dataAttr-7BR67dTj.js +0 -7
- package/dist/chunks/dataAttr-7BR67dTj.js.map +0 -1
- package/dist/chunks/index-BGzbbN9T.js +0 -1707
- package/dist/chunks/index-BGzbbN9T.js.map +0 -1
- package/dist/chunks/index-C034dEhy.js +0 -205
- package/dist/chunks/index-C034dEhy.js.map +0 -1
- package/dist/chunks/index-CEoYQiWL.js +0 -130
- package/dist/chunks/index-CEoYQiWL.js.map +0 -1
- package/dist/chunks/index-CzKEU1kI.js +0 -11
- package/dist/chunks/index-CzKEU1kI.js.map +0 -1
- package/dist/chunks/index-op-kbVUk.js +0 -234
- package/dist/chunks/index-op-kbVUk.js.map +0 -1
- package/dist/chunks/useClipboard-BVRwXC--.js +0 -37
- package/dist/chunks/useClipboard-BVRwXC--.js.map +0 -1
- package/dist/chunks/useControlled-B6M4kTLn.js +0 -24
- package/dist/chunks/useControlled-B6M4kTLn.js.map +0 -1
- package/dist/chunks/useDebounceHandler-BIZgvvGp.js +0 -20
- package/dist/chunks/useDebounceHandler-BIZgvvGp.js.map +0 -1
- package/dist/chunks/useEscape-CYPdpm_l.js +0 -15
- package/dist/chunks/useEscape-CYPdpm_l.js.map +0 -1
- package/dist/chunks/useEventListener-gohT6zGs.js +0 -16
- package/dist/chunks/useEventListener-gohT6zGs.js.map +0 -1
- package/dist/chunks/useId-CtgAhGrn.js +0 -9
- package/dist/chunks/useId-CtgAhGrn.js.map +0 -1
- package/dist/chunks/useMediaQuery-DwVcSgGk.js +0 -27
- package/dist/chunks/useMediaQuery-DwVcSgGk.js.map +0 -1
- package/dist/chunks/useOutsideClick-CW80BJfE.js +0 -22
- package/dist/chunks/useOutsideClick-CW80BJfE.js.map +0 -1
- package/dist/chunks/useRecentItems-DFnt5CBy.js +0 -137
- package/dist/chunks/useRecentItems-DFnt5CBy.js.map +0 -1
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js +0 -8
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js.map +0 -1
- package/dist/chunks/useResizeObserver-BUU7lC-n.js +0 -17
- package/dist/chunks/useResizeObserver-BUU7lC-n.js.map +0 -1
- package/dist/chunks/useScrollLock-d6YIGUcs.js +0 -37
- package/dist/chunks/useScrollLock-d6YIGUcs.js.map +0 -1
- package/dist/flags/FlagsContext.d.ts +0 -32
- package/dist/flags/FlagsProvider.vue.d.ts +0 -24
- package/dist/forms-engine/AppForm.d.ts +0 -258
- package/dist/forms-engine/DeepEqual.d.ts +0 -8
- package/dist/forms-engine/FocusFirstInvalid.d.ts +0 -15
- package/dist/forms-engine/FormGlue.d.ts +0 -55
- package/dist/forms-engine/Paths.d.ts +0 -47
- package/dist/forms-engine/SchemaValidation.d.ts +0 -29
- package/dist/forms-engine/SubmitErrors.d.ts +0 -33
- package/dist/forms-engine/UseFieldArray.d.ts +0 -87
- package/dist/forms-engine/house/HouseFormCore.d.ts +0 -33
- package/dist/forms-engine/house/UseAppForm.d.ts +0 -16
- package/dist/forms-engine/house/index.js +0 -315
- package/dist/forms-engine/house/index.js.map +0 -1
- package/dist/forms-engine/index.d.ts +0 -10
- package/dist/forms-engine/index.js +0 -127
- package/dist/forms-engine/index.js.map +0 -1
- package/dist/forms-engine/tanstack/TanstackFormOverlay.d.ts +0 -49
- package/dist/forms-engine/tanstack/UseAppForm.d.ts +0 -26
- package/dist/forms-engine/tanstack/index.js +0 -407
- package/dist/forms-engine/tanstack/index.js.map +0 -1
- package/dist/foundation/animation/AnimatedLayout.d.ts +0 -72
- package/dist/foundation/clipboard/UseClipboardCopy.d.ts +0 -40
- package/dist/foundation/clipboard/UsePasteHandler.d.ts +0 -35
- package/dist/foundation/commands/CommandsContext.d.ts +0 -30
- package/dist/foundation/commands/CommandsProvider.vue.d.ts +0 -18
- package/dist/foundation/commands/UseCommandRegistry.d.ts +0 -19
- package/dist/foundation/commands/UseCommandShortcuts.d.ts +0 -18
- package/dist/foundation/device/UseBreakpoint.d.ts +0 -20
- package/dist/foundation/device/UseDisplayMode.d.ts +0 -23
- package/dist/foundation/device/UsePointer.d.ts +0 -25
- package/dist/foundation/format/Text.d.ts +0 -51
- package/dist/foundation/format/index.js +0 -100
- package/dist/foundation/format/index.js.map +0 -1
- package/dist/foundation/geolocation/GeolocationReading.d.ts +0 -30
- package/dist/foundation/geolocation/PositionResult.d.ts +0 -74
- package/dist/foundation/geolocation/UseGeolocation.d.ts +0 -38
- package/dist/foundation/geolocation/UseWatchPosition.d.ts +0 -16
- package/dist/foundation/gestures/UseDrag.d.ts +0 -75
- package/dist/foundation/gestures/UseLongPress.d.ts +0 -42
- package/dist/foundation/gestures/UsePinch.d.ts +0 -47
- package/dist/foundation/gestures/UseSwipe.d.ts +0 -46
- package/dist/foundation/hooks/index.d.ts +0 -17
- package/dist/foundation/hooks/index.js +0 -34
- package/dist/foundation/hooks/index.js.map +0 -1
- package/dist/foundation/hooks/useAutosave/index.d.ts +0 -1
- package/dist/foundation/hooks/useAutosave/useAutosave.d.ts +0 -46
- package/dist/foundation/hooks/useClipboard/index.d.ts +0 -1
- package/dist/foundation/hooks/useClipboard/useClipboard.d.ts +0 -24
- package/dist/foundation/hooks/useControlled/index.d.ts +0 -1
- package/dist/foundation/hooks/useControlled/useControlled.d.ts +0 -31
- package/dist/foundation/hooks/useDebounceHandler/index.d.ts +0 -1
- package/dist/foundation/hooks/useDisclosure/index.d.ts +0 -1
- package/dist/foundation/hooks/useEscape/index.d.ts +0 -1
- package/dist/foundation/hooks/useEventListener/index.d.ts +0 -1
- package/dist/foundation/hooks/useFocusTrap/index.d.ts +0 -1
- package/dist/foundation/hooks/useId/index.d.ts +0 -1
- package/dist/foundation/hooks/useMediaQuery/index.d.ts +0 -1
- package/dist/foundation/hooks/useMediaQuery/useMediaQuery.d.ts +0 -12
- package/dist/foundation/hooks/useOutsideClick/index.d.ts +0 -1
- package/dist/foundation/hooks/usePersistentState/index.d.ts +0 -1
- package/dist/foundation/hooks/usePersistentState/usePersistentState.d.ts +0 -31
- package/dist/foundation/hooks/useRecentItems/index.d.ts +0 -1
- package/dist/foundation/hooks/useRecentItems/useRecentItems.d.ts +0 -34
- package/dist/foundation/hooks/useReducedMotion/index.d.ts +0 -1
- package/dist/foundation/hooks/useResizeObserver/index.d.ts +0 -1
- package/dist/foundation/hooks/useScrollLock/index.d.ts +0 -1
- package/dist/foundation/hooks/useTypeahead/index.d.ts +0 -1
- package/dist/foundation/hooks/useTypeahead/useTypeahead.d.ts +0 -42
- package/dist/foundation/http/Page.d.ts +0 -47
- package/dist/foundation/http/temporalReviver.d.ts +0 -9
- package/dist/foundation/i18n/FormattedRelative.vue.d.ts +0 -10
- package/dist/foundation/i18n/LocaleContext.d.ts +0 -35
- package/dist/foundation/i18n/LocaleProvider.vue.d.ts +0 -18
- package/dist/foundation/icons/Icon.vue.d.ts +0 -40
- package/dist/foundation/icons/Spinner.vue.d.ts +0 -7
- package/dist/foundation/media/MediaStreamResult.d.ts +0 -45
- package/dist/foundation/net/UseEventStream.d.ts +0 -25
- package/dist/foundation/net/UsePolling.d.ts +0 -26
- package/dist/foundation/net/UseSocket.d.ts +0 -32
- package/dist/foundation/notifications/UseNotificationPermission.d.ts +0 -27
- package/dist/foundation/notifications/UsePermissionState.d.ts +0 -14
- package/dist/foundation/observers/UseInView.d.ts +0 -41
- package/dist/foundation/observers/UseIntersectionObserver.d.ts +0 -18
- package/dist/foundation/observers/UseMutationObserver.d.ts +0 -21
- package/dist/foundation/screen/ScreenResult.d.ts +0 -38
- package/dist/foundation/screen/UseFullscreen.d.ts +0 -28
- package/dist/foundation/screen/UseOrientation.d.ts +0 -28
- package/dist/foundation/screen/UseWakeLock.d.ts +0 -18
- package/dist/foundation/selection/Filter.d.ts +0 -71
- package/dist/foundation/selection/Selection.d.ts +0 -116
- package/dist/foundation/selection/Sort.d.ts +0 -69
- package/dist/foundation/selection/UseFilters.d.ts +0 -34
- package/dist/foundation/selection/UseSelection.d.ts +0 -54
- package/dist/foundation/selection/UseSort.d.ts +0 -36
- package/dist/foundation/shortcuts/UseHotkeys.d.ts +0 -34
- package/dist/foundation/speech/UseSpeechRecognition.d.ts +0 -45
- package/dist/foundation/speech/UseSpeechSynthesis.d.ts +0 -37
- package/dist/foundation/storage/zustand/ZustandPersist.d.ts +0 -36
- package/dist/foundation/storage/zustand/index.d.ts +0 -1
- package/dist/foundation/storage/zustand/index.js.map +0 -1
- package/dist/foundation/sync/LeaderElection.d.ts +0 -88
- package/dist/foundation/sync/SyncChannel.d.ts +0 -65
- package/dist/foundation/sync/UseBroadcastState.d.ts +0 -31
- package/dist/foundation/sync/UseLeaderElection.d.ts +0 -25
- package/dist/foundation/sync/UseSyncChannel.d.ts +0 -16
- package/dist/foundation/sync/index.d.ts +0 -7
- package/dist/foundation/sync/index.js +0 -484
- package/dist/foundation/sync/index.js.map +0 -1
- package/dist/foundation/themes/pool.d.ts +0 -3
- package/dist/foundation/themes/registry.d.ts +0 -16
- package/dist/foundation/themes/validate.d.ts +0 -25
- package/dist/foundation/themes/validated.d.ts +0 -3
- package/dist/foundation/undo/HistoryCore.d.ts +0 -92
- package/dist/foundation/undo/UseUndoHistory.d.ts +0 -66
- package/dist/foundation/undo/UseUndoShortcuts.d.ts +0 -20
- package/dist/foundation/undo/index.d.ts +0 -5
- package/dist/foundation/undo/index.js +0 -361
- package/dist/foundation/undo/index.js.map +0 -1
- package/dist/foundation/utils/Align/index.d.ts +0 -1
- package/dist/foundation/utils/ColorExtensions/ColorExtensions.d.ts +0 -51
- package/dist/foundation/utils/ColorExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/Compare/index.d.ts +0 -1
- package/dist/foundation/utils/CornerPosition/index.d.ts +0 -1
- package/dist/foundation/utils/CssExtensions/CssExtensions.d.ts +0 -115
- package/dist/foundation/utils/CssExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/ElementTag/index.d.ts +0 -1
- package/dist/foundation/utils/Environment/Environment.d.ts +0 -12
- package/dist/foundation/utils/Environment/index.d.ts +0 -1
- package/dist/foundation/utils/Equality/index.d.ts +0 -1
- package/dist/foundation/utils/HtmlExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/KeyboardExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/Layers/Layers.d.ts +0 -35
- package/dist/foundation/utils/Layers/index.d.ts +0 -1
- package/dist/foundation/utils/OptionalExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/Orientation/index.d.ts +0 -1
- package/dist/foundation/utils/OverlayPosition/index.d.ts +0 -1
- package/dist/foundation/utils/PressExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/ProgressTone/index.d.ts +0 -1
- package/dist/foundation/utils/Severity/index.d.ts +0 -1
- package/dist/foundation/utils/Side/index.d.ts +0 -1
- package/dist/foundation/utils/StatusTone/index.d.ts +0 -1
- package/dist/foundation/utils/StyleTokens/index.d.ts +0 -1
- package/dist/foundation/utils/SurfaceStyles/SurfaceStyles.d.ts +0 -397
- package/dist/foundation/utils/SurfaceStyles/index.d.ts +0 -1
- package/dist/foundation/utils/Tones/Tones.d.ts +0 -21
- package/dist/foundation/utils/Tones/index.d.ts +0 -1
- package/dist/foundation/utils/TransitionExtensions/index.d.ts +0 -1
- package/dist/foundation/utils/cn/index.d.ts +0 -1
- package/dist/foundation/utils/composeEventHandlers/index.d.ts +0 -1
- package/dist/foundation/utils/dataAttr/index.d.ts +0 -1
- package/dist/foundation/utils/index.d.ts +0 -33
- package/dist/foundation/utils/index.js +0 -67
- package/dist/foundation/utils/index.js.map +0 -1
- package/dist/foundation/utils/polymorphic/index.d.ts +0 -1
- package/dist/foundation/utils/polymorphic/polymorphic.d.ts +0 -29
- package/dist/foundation/utils/tv/index.d.ts +0 -1
- package/dist/foundation/validation/Composites.d.ts +0 -62
- package/dist/foundation/validation/Messages.d.ts +0 -69
- package/dist/foundation/validation/ValidationError.d.ts +0 -14
- package/dist/foundation/validation/ValidationResult.d.ts +0 -49
- package/dist/foundation/validation/Validator.d.ts +0 -69
- package/dist/foundation/validation/index.d.ts +0 -8
- package/dist/foundation/validation/index.js +0 -512
- package/dist/foundation/validation/index.js.map +0 -1
- package/dist/presentation/actions/fab/FAB.variants.d.ts +0 -158
- package/dist/presentation/actions/fab/FAB.vue.d.ts +0 -29
- package/dist/presentation/actions/fab/index.d.ts +0 -2
- package/dist/presentation/actions/link/Link.variants.d.ts +0 -111
- package/dist/presentation/actions/link/Link.vue.d.ts +0 -24
- package/dist/presentation/actions/link/index.d.ts +0 -2
- package/dist/presentation/actions/optionTile/OptionTile.variants.d.ts +0 -10
- package/dist/presentation/actions/optionTile/OptionTile.vue.d.ts +0 -31
- package/dist/presentation/actions/optionTile/index.d.ts +0 -2
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.variants.d.ts +0 -76
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.vue.d.ts +0 -27
- package/dist/presentation/actions/optionTileGroup/index.d.ts +0 -2
- package/dist/presentation/actions/segmentedControl/SegmentedControl.vue.d.ts +0 -20
- package/dist/presentation/actions/segmentedControl/index.d.ts +0 -1
- package/dist/presentation/actions/speedDial/SpeedDial.vue.d.ts +0 -28
- package/dist/presentation/actions/speedDial/SpeedDialAction.vue.d.ts +0 -41
- package/dist/presentation/actions/speedDial/SpeedDialContext.d.ts +0 -36
- package/dist/presentation/actions/speedDial/SpeedDialList.vue.d.ts +0 -13
- package/dist/presentation/actions/speedDial/SpeedDialTrigger.vue.d.ts +0 -30
- package/dist/presentation/actions/speedDial/index.d.ts +0 -164
- package/dist/presentation/actions/toggleButton/ToggleButton.variants.d.ts +0 -141
- package/dist/presentation/actions/toggleButton/ToggleButton.vue.d.ts +0 -59
- package/dist/presentation/actions/toggleButton/index.d.ts +0 -2
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.variants.d.ts +0 -33
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.vue.d.ts +0 -72
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -24
- package/dist/presentation/actions/toggleButtonGroup/index.d.ts +0 -3
- package/dist/presentation/display/accordion/Accordion.vue.d.ts +0 -45
- package/dist/presentation/display/accordion/AccordionContent.vue.d.ts +0 -14
- package/dist/presentation/display/accordion/AccordionContext.d.ts +0 -29
- package/dist/presentation/display/accordion/AccordionItem.vue.d.ts +0 -20
- package/dist/presentation/display/accordion/AccordionTrigger.vue.d.ts +0 -14
- package/dist/presentation/display/accordion/index.d.ts +0 -5
- package/dist/presentation/display/activityFeed/ActivityFeed.vue.d.ts +0 -18
- package/dist/presentation/display/activityFeed/ActivityItem.vue.d.ts +0 -29
- package/dist/presentation/display/activityFeed/index.d.ts +0 -2
- package/dist/presentation/display/animatedNumber/AnimatedNumber.vue.d.ts +0 -34
- package/dist/presentation/display/animatedNumber/index.d.ts +0 -1
- package/dist/presentation/display/annotationMarker/AnnotationMarker.vue.d.ts +0 -43
- package/dist/presentation/display/annotationMarker/index.d.ts +0 -1
- package/dist/presentation/display/audioWaveform/AudioWaveform.vue.d.ts +0 -58
- package/dist/presentation/display/audioWaveform/index.d.ts +0 -1
- package/dist/presentation/display/chatBubble/ChatBubble.vue.d.ts +0 -79
- package/dist/presentation/display/chatBubble/index.d.ts +0 -1
- package/dist/presentation/display/code/Code.variants.d.ts +0 -48
- package/dist/presentation/display/code/Code.vue.d.ts +0 -17
- package/dist/presentation/display/code/index.d.ts +0 -2
- package/dist/presentation/display/collapsible/Collapsible.vue.d.ts +0 -40
- package/dist/presentation/display/collapsible/CollapsibleContent.vue.d.ts +0 -18
- package/dist/presentation/display/collapsible/CollapsibleContentInner.vue.d.ts +0 -23
- package/dist/presentation/display/collapsible/CollapsibleContext.d.ts +0 -17
- package/dist/presentation/display/collapsible/CollapsibleTrigger.vue.d.ts +0 -18
- package/dist/presentation/display/collapsible/index.d.ts +0 -4
- package/dist/presentation/display/commentThread/Comment.vue.d.ts +0 -39
- package/dist/presentation/display/commentThread/CommentThread.vue.d.ts +0 -14
- package/dist/presentation/display/commentThread/index.d.ts +0 -2
- package/dist/presentation/display/confetti/Confetti.vue.d.ts +0 -40
- package/dist/presentation/display/confetti/index.d.ts +0 -1
- package/dist/presentation/display/countUp/CountUp.vue.d.ts +0 -40
- package/dist/presentation/display/countUp/index.d.ts +0 -1
- package/dist/presentation/display/dataGrid/CellEditor.vue.d.ts +0 -29
- package/dist/presentation/display/dataGrid/DataGrid.vue.d.ts +0 -47
- package/dist/presentation/display/dataGrid/DataGridTypes.d.ts +0 -65
- package/dist/presentation/display/dataGrid/index.d.ts +0 -2
- package/dist/presentation/display/descriptionList/DescriptionList.vue.d.ts +0 -54
- package/dist/presentation/display/descriptionList/index.d.ts +0 -1
- package/dist/presentation/display/eventCalendar/AgendaView.vue.d.ts +0 -13
- package/dist/presentation/display/eventCalendar/EventCalendar.vue.d.ts +0 -42
- package/dist/presentation/display/eventCalendar/EventCalendarTypes.d.ts +0 -28
- package/dist/presentation/display/eventCalendar/MonthView.vue.d.ts +0 -17
- package/dist/presentation/display/eventCalendar/TimeGridView.vue.d.ts +0 -18
- package/dist/presentation/display/eventCalendar/index.d.ts +0 -2
- package/dist/presentation/display/eyebrow/Eyebrow.vue.d.ts +0 -32
- package/dist/presentation/display/eyebrow/index.d.ts +0 -1
- package/dist/presentation/display/gantt/Gantt.vue.d.ts +0 -59
- package/dist/presentation/display/gantt/index.d.ts +0 -1
- package/dist/presentation/display/heatmapCalendar/HeatmapCalendar.vue.d.ts +0 -62
- package/dist/presentation/display/heatmapCalendar/index.d.ts +0 -1
- package/dist/presentation/display/highlight/Highlight.vue.d.ts +0 -20
- package/dist/presentation/display/highlight/index.d.ts +0 -1
- package/dist/presentation/display/image/Image.vue.d.ts +0 -15
- package/dist/presentation/display/image/index.d.ts +0 -1
- package/dist/presentation/display/kbd/Kbd.vue.d.ts +0 -13
- package/dist/presentation/display/kbd/index.d.ts +0 -1
- package/dist/presentation/display/keyboardShortcut/KeyboardShortcut.vue.d.ts +0 -13
- package/dist/presentation/display/keyboardShortcut/index.d.ts +0 -1
- package/dist/presentation/display/list/List.variants.d.ts +0 -112
- package/dist/presentation/display/list/List.vue.d.ts +0 -23
- package/dist/presentation/display/list/ListContext.d.ts +0 -16
- package/dist/presentation/display/list/ListItem.vue.d.ts +0 -29
- package/dist/presentation/display/list/index.d.ts +0 -4
- package/dist/presentation/display/mark/Mark.vue.d.ts +0 -13
- package/dist/presentation/display/mark/index.d.ts +0 -1
- package/dist/presentation/display/marquee/Marquee.vue.d.ts +0 -39
- package/dist/presentation/display/marquee/index.d.ts +0 -1
- package/dist/presentation/display/messageList/DaySeparator.vue.d.ts +0 -17
- package/dist/presentation/display/messageList/MessageList.vue.d.ts +0 -39
- package/dist/presentation/display/messageList/index.d.ts +0 -2
- package/dist/presentation/display/metaInline/MetaInline.vue.d.ts +0 -21
- package/dist/presentation/display/metaInline/index.d.ts +0 -1
- package/dist/presentation/display/metricChip/MetricChip.vue.d.ts +0 -54
- package/dist/presentation/display/metricChip/index.d.ts +0 -1
- package/dist/presentation/display/nodeEditor/NodeEditor.vue.d.ts +0 -58
- package/dist/presentation/display/notificationDot/NotificationDot.vue.d.ts +0 -47
- package/dist/presentation/display/notificationDot/index.d.ts +0 -1
- package/dist/presentation/display/pdfViewer/PDFViewer.vue.d.ts +0 -40
- package/dist/presentation/display/quote/Quote.vue.d.ts +0 -13
- package/dist/presentation/display/quote/index.d.ts +0 -1
- package/dist/presentation/display/scrollReveal/ScrollReveal.vue.d.ts +0 -50
- package/dist/presentation/display/scrollReveal/index.d.ts +0 -1
- package/dist/presentation/display/sectionHeader/SectionHeader.vue.d.ts +0 -49
- package/dist/presentation/display/sectionHeader/index.d.ts +0 -1
- package/dist/presentation/display/separator/Separator.vue.d.ts +0 -14
- package/dist/presentation/display/separator/index.d.ts +0 -1
- package/dist/presentation/display/snippet/Snippet.vue.d.ts +0 -21
- package/dist/presentation/display/snippet/index.d.ts +0 -1
- package/dist/presentation/display/sortable/Sortable.vue.d.ts +0 -18
- package/dist/presentation/display/sortable/SortableContext.d.ts +0 -22
- package/dist/presentation/display/sortable/SortableHandle.vue.d.ts +0 -14
- package/dist/presentation/display/sortable/SortableItem.vue.d.ts +0 -16
- package/dist/presentation/display/sortable/index.d.ts +0 -4
- package/dist/presentation/display/stat/Stat.vue.d.ts +0 -48
- package/dist/presentation/display/stat/index.d.ts +0 -1
- package/dist/presentation/display/swipeActions/SwipeActions.vue.d.ts +0 -28
- package/dist/presentation/display/swipeActions/index.d.ts +0 -1
- package/dist/presentation/display/tabs/Tabs.vue.d.ts +0 -33
- package/dist/presentation/display/tabs/TabsContext.d.ts +0 -34
- package/dist/presentation/display/tabs/TabsList.vue.d.ts +0 -256
- package/dist/presentation/display/tabs/TabsPanel.vue.d.ts +0 -16
- package/dist/presentation/display/tabs/TabsTab.vue.d.ts +0 -20
- package/dist/presentation/display/tabs/index.d.ts +0 -5
- package/dist/presentation/display/tilt/Tilt.vue.d.ts +0 -31
- package/dist/presentation/display/tilt/index.d.ts +0 -1
- package/dist/presentation/display/tooltip/Tooltip.vue.d.ts +0 -53
- package/dist/presentation/display/tree/Tree.vue.d.ts +0 -275
- package/dist/presentation/display/tree/TreeContext.d.ts +0 -29
- package/dist/presentation/display/tree/TreeGroup.vue.d.ts +0 -28
- package/dist/presentation/display/tree/TreeGroupContent.vue.d.ts +0 -17
- package/dist/presentation/display/tree/TreeItem.vue.d.ts +0 -20
- package/dist/presentation/display/tree/TreeNodeRow.vue.d.ts +0 -27
- package/dist/presentation/display/tree/index.d.ts +0 -4
- package/dist/presentation/display/typewriter/Typewriter.vue.d.ts +0 -32
- package/dist/presentation/display/typewriter/index.d.ts +0 -1
- package/dist/presentation/feedback/feedbackToasts/FeedbackToasts.vue.d.ts +0 -18
- package/dist/presentation/feedback/feedbackToasts/index.d.ts +0 -1
- package/dist/presentation/feedback/liveCursor/LiveCursor.vue.d.ts +0 -33
- package/dist/presentation/feedback/liveCursor/index.d.ts +0 -1
- package/dist/presentation/feedback/notificationCenter/NotificationCenter.vue.d.ts +0 -30
- package/dist/presentation/feedback/notificationCenter/NotificationItem.vue.d.ts +0 -40
- package/dist/presentation/feedback/notificationCenter/index.d.ts +0 -2
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklist.vue.d.ts +0 -56
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklistTask.vue.d.ts +0 -27
- package/dist/presentation/feedback/onboardingChecklist/index.d.ts +0 -3
- package/dist/presentation/feedback/progressCircle/ProgressCircle.vue.d.ts +0 -21
- package/dist/presentation/feedback/progressCircle/index.d.ts +0 -1
- package/dist/presentation/feedback/progressSteps/ProgressSteps.vue.d.ts +0 -16
- package/dist/presentation/feedback/progressSteps/index.d.ts +0 -1
- package/dist/presentation/feedback/skeleton/Skeleton.variants.d.ts +0 -57
- package/dist/presentation/feedback/skeleton/Skeleton.vue.d.ts +0 -17
- package/dist/presentation/feedback/skeleton/index.d.ts +0 -2
- package/dist/presentation/feedback/toaster/Toaster.vue.d.ts +0 -84
- package/dist/presentation/feedback/toaster/index.d.ts +0 -1
- package/dist/presentation/feedback/tour/Tour.vue.d.ts +0 -46
- package/dist/presentation/feedback/tour/index.d.ts +0 -1
- package/dist/presentation/forms/addressForm/AddressForm.vue.d.ts +0 -54
- package/dist/presentation/forms/addressForm/index.d.ts +0 -1
- package/dist/presentation/forms/calendar/Calendar.vue.d.ts +0 -33
- package/dist/presentation/forms/calendar/index.d.ts +0 -1
- package/dist/presentation/forms/characterCount/CharacterCount.vue.d.ts +0 -15
- package/dist/presentation/forms/characterCount/index.d.ts +0 -1
- package/dist/presentation/forms/chatComposer/ChatComposer.vue.d.ts +0 -74
- package/dist/presentation/forms/chatComposer/index.d.ts +0 -1
- package/dist/presentation/forms/checkbox/Checkbox.variants.d.ts +0 -133
- package/dist/presentation/forms/checkbox/Checkbox.vue.d.ts +0 -48
- package/dist/presentation/forms/checkbox/index.d.ts +0 -2
- package/dist/presentation/forms/colorField/ColorField.vue.d.ts +0 -44
- package/dist/presentation/forms/colorField/index.d.ts +0 -1
- package/dist/presentation/forms/colorSlider/ColorSlider.vue.d.ts +0 -47
- package/dist/presentation/forms/colorSlider/index.d.ts +0 -1
- package/dist/presentation/forms/colorSwatch/ColorSwatch.variants.d.ts +0 -186
- package/dist/presentation/forms/colorSwatch/ColorSwatch.vue.d.ts +0 -33
- package/dist/presentation/forms/colorSwatch/index.d.ts +0 -2
- package/dist/presentation/forms/colorWheel/ColorWheel.vue.d.ts +0 -34
- package/dist/presentation/forms/colorWheel/index.d.ts +0 -1
- package/dist/presentation/forms/combobox/Combobox.vue.d.ts +0 -60
- package/dist/presentation/forms/combobox/ComboboxContent.vue.d.ts +0 -39
- package/dist/presentation/forms/combobox/ComboboxContext.d.ts +0 -53
- package/dist/presentation/forms/combobox/ComboboxEmpty.vue.d.ts +0 -10
- package/dist/presentation/forms/combobox/ComboboxGroup.vue.d.ts +0 -19
- package/dist/presentation/forms/combobox/ComboboxInput.vue.d.ts +0 -12
- package/dist/presentation/forms/combobox/ComboboxItem.vue.d.ts +0 -28
- package/dist/presentation/forms/combobox/ComboboxSeparator.vue.d.ts +0 -3
- package/dist/presentation/forms/combobox/index.d.ts +0 -8
- package/dist/presentation/forms/dateField/DateField.vue.d.ts +0 -54
- package/dist/presentation/forms/dateField/index.d.ts +0 -1
- package/dist/presentation/forms/dateTimeField/DateTimeField.vue.d.ts +0 -59
- package/dist/presentation/forms/dateTimeField/index.d.ts +0 -1
- package/dist/presentation/forms/editable/Editable.vue.d.ts +0 -60
- package/dist/presentation/forms/editable/EditableCancel.vue.d.ts +0 -12
- package/dist/presentation/forms/editable/EditableContext.d.ts +0 -37
- package/dist/presentation/forms/editable/EditableInput.vue.d.ts +0 -12
- package/dist/presentation/forms/editable/EditablePreview.vue.d.ts +0 -7
- package/dist/presentation/forms/editable/EditableSubmit.vue.d.ts +0 -14
- package/dist/presentation/forms/editable/index.d.ts +0 -7
- package/dist/presentation/forms/emojiPicker/useEmojiPicker.d.ts +0 -45
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.variants.d.ts +0 -23
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.vue.d.ts +0 -32
- package/dist/presentation/forms/emojiSizeControl/index.d.ts +0 -2
- package/dist/presentation/forms/fieldset/Fieldset.vue.d.ts +0 -22
- package/dist/presentation/forms/fieldset/index.d.ts +0 -1
- package/dist/presentation/forms/fileUpload/FileUpload.vue.d.ts +0 -60
- package/dist/presentation/forms/fileUpload/index.d.ts +0 -1
- package/dist/presentation/forms/formErrorMessage/FormErrorMessage.vue.d.ts +0 -24
- package/dist/presentation/forms/formErrorMessage/index.d.ts +0 -1
- package/dist/presentation/forms/formHelperText/FormHelperText.vue.d.ts +0 -19
- package/dist/presentation/forms/formHelperText/index.d.ts +0 -1
- package/dist/presentation/forms/inputAddon/InputAddon.vue.d.ts +0 -20
- package/dist/presentation/forms/inputAddon/index.d.ts +0 -1
- package/dist/presentation/forms/inputGroup/InputGroup.vue.d.ts +0 -19
- package/dist/presentation/forms/jsonEditor/JSONEditor.vue.d.ts +0 -49
- package/dist/presentation/forms/jsonEditor/JSONEditorContext.d.ts +0 -28
- package/dist/presentation/forms/jsonEditor/JSONEditorHelpers.d.ts +0 -6
- package/dist/presentation/forms/jsonEditor/JSONEditorTextView.vue.d.ts +0 -14
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeNode.vue.d.ts +0 -15
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeView.vue.d.ts +0 -8
- package/dist/presentation/forms/knob/Knob.vue.d.ts +0 -75
- package/dist/presentation/forms/knob/index.d.ts +0 -1
- package/dist/presentation/forms/label/Label.vue.d.ts +0 -34
- package/dist/presentation/forms/label/index.d.ts +0 -1
- package/dist/presentation/forms/labeledInput/LabeledInput.vue.d.ts +0 -23
- package/dist/presentation/forms/labeledInput/index.d.ts +0 -2
- package/dist/presentation/forms/legend/Legend.vue.d.ts +0 -21
- package/dist/presentation/forms/legend/index.d.ts +0 -1
- package/dist/presentation/forms/listbox/Listbox.variants.d.ts +0 -71
- package/dist/presentation/forms/listbox/Listbox.vue.d.ts +0 -70
- package/dist/presentation/forms/listbox/ListboxContext.d.ts +0 -47
- package/dist/presentation/forms/listbox/ListboxEmpty.vue.d.ts +0 -10
- package/dist/presentation/forms/listbox/ListboxGroup.vue.d.ts +0 -20
- package/dist/presentation/forms/listbox/ListboxItem.vue.d.ts +0 -24
- package/dist/presentation/forms/listbox/ListboxSeparator.vue.d.ts +0 -3
- package/dist/presentation/forms/listbox/index.d.ts +0 -7
- package/dist/presentation/forms/multiSelect/MultiSelect.vue.d.ts +0 -60
- package/dist/presentation/forms/multiSelect/MultiSelectContent.vue.d.ts +0 -31
- package/dist/presentation/forms/multiSelect/MultiSelectContext.d.ts +0 -47
- package/dist/presentation/forms/multiSelect/MultiSelectItem.vue.d.ts +0 -25
- package/dist/presentation/forms/multiSelect/MultiSelectTags.vue.d.ts +0 -24
- package/dist/presentation/forms/multiSelect/MultiSelectTrigger.vue.d.ts +0 -25
- package/dist/presentation/forms/multiSelect/index.d.ts +0 -6
- package/dist/presentation/forms/passwordStrength/PasswordStrength.vue.d.ts +0 -16
- package/dist/presentation/forms/passwordStrength/index.d.ts +0 -1
- package/dist/presentation/forms/radio/Radio.vue.d.ts +0 -35
- package/dist/presentation/forms/radio/index.d.ts +0 -1
- package/dist/presentation/forms/rangeCalendar/RangeCalendar.vue.d.ts +0 -37
- package/dist/presentation/forms/rangeCalendar/index.d.ts +0 -1
- package/dist/presentation/forms/select/Select.variants.d.ts +0 -263
- package/dist/presentation/forms/select/Select.vue.d.ts +0 -69
- package/dist/presentation/forms/select/SelectContent.vue.d.ts +0 -44
- package/dist/presentation/forms/select/SelectContext.d.ts +0 -76
- package/dist/presentation/forms/select/SelectItem.vue.d.ts +0 -33
- package/dist/presentation/forms/select/SelectTrigger.vue.d.ts +0 -21
- package/dist/presentation/forms/select/SelectValue.vue.d.ts +0 -22
- package/dist/presentation/forms/select/index.d.ts +0 -7
- package/dist/presentation/forms/slider/Slider.vue.d.ts +0 -38
- package/dist/presentation/forms/slider/index.d.ts +0 -1
- package/dist/presentation/forms/stepper/Stepper.vue.d.ts +0 -34
- package/dist/presentation/forms/stepper/StepperContext.d.ts +0 -44
- package/dist/presentation/forms/stepper/StepperList.vue.d.ts +0 -256
- package/dist/presentation/forms/stepper/StepperPanel.vue.d.ts +0 -16
- package/dist/presentation/forms/stepper/StepperStep.vue.d.ts +0 -23
- package/dist/presentation/forms/stepper/index.d.ts +0 -5
- package/dist/presentation/forms/switch/Switch.vue.d.ts +0 -35
- package/dist/presentation/forms/switch/index.d.ts +0 -1
- package/dist/presentation/forms/timeField/TimeField.vue.d.ts +0 -53
- package/dist/presentation/forms/timeField/index.d.ts +0 -1
- package/dist/presentation/forms/wizard/Wizard.vue.d.ts +0 -38
- package/dist/presentation/forms/wizard/WizardContext.d.ts +0 -38
- package/dist/presentation/forms/wizard/WizardFooter.vue.d.ts +0 -29
- package/dist/presentation/forms/wizard/WizardStep.vue.d.ts +0 -29
- package/dist/presentation/forms/wizard/WizardSteps.vue.d.ts +0 -7
- package/dist/presentation/forms/wizard/index.d.ts +0 -6
- package/dist/presentation/layout/aspectRatio/AspectRatio.vue.d.ts +0 -18
- package/dist/presentation/layout/aspectRatio/index.d.ts +0 -1
- package/dist/presentation/layout/box/Box.vue.d.ts +0 -19
- package/dist/presentation/layout/box/index.d.ts +0 -1
- package/dist/presentation/layout/center/Center.vue.d.ts +0 -13
- package/dist/presentation/layout/center/index.d.ts +0 -1
- package/dist/presentation/layout/cluster/Cluster.vue.d.ts +0 -22
- package/dist/presentation/layout/cluster/index.d.ts +0 -1
- package/dist/presentation/layout/container/Container.variants.d.ts +0 -84
- package/dist/presentation/layout/container/Container.vue.d.ts +0 -21
- package/dist/presentation/layout/container/index.d.ts +0 -2
- package/dist/presentation/layout/controlGroup/ControlGroup.variants.d.ts +0 -136
- package/dist/presentation/layout/controlGroup/ControlGroup.vue.d.ts +0 -35
- package/dist/presentation/layout/controlGroup/index.d.ts +0 -2
- package/dist/presentation/layout/divider/Divider.variants.d.ts +0 -47
- package/dist/presentation/layout/divider/Divider.vue.d.ts +0 -38
- package/dist/presentation/layout/divider/index.d.ts +0 -2
- package/dist/presentation/layout/flex/Flex.vue.d.ts +0 -18
- package/dist/presentation/layout/flex/index.d.ts +0 -1
- package/dist/presentation/layout/frame/Frame.vue.d.ts +0 -38
- package/dist/presentation/layout/frame/index.d.ts +0 -1
- package/dist/presentation/layout/hStack/HStack.vue.d.ts +0 -14
- package/dist/presentation/layout/hStack/index.d.ts +0 -1
- package/dist/presentation/layout/inline/Inline.vue.d.ts +0 -42
- package/dist/presentation/layout/inline/index.d.ts +0 -1
- package/dist/presentation/layout/overlay/Overlay.variants.d.ts +0 -231
- package/dist/presentation/layout/overlay/Overlay.vue.d.ts +0 -64
- package/dist/presentation/layout/overlay/index.d.ts +0 -2
- package/dist/presentation/layout/pullToRefresh/PullToRefresh.vue.d.ts +0 -22
- package/dist/presentation/layout/pullToRefresh/index.d.ts +0 -1
- package/dist/presentation/layout/resizablePanels/ResizablePanel.vue.d.ts +0 -21
- package/dist/presentation/layout/resizablePanels/ResizablePanels.vue.d.ts +0 -59
- package/dist/presentation/layout/resizablePanels/ResizableSeparator.vue.d.ts +0 -10
- package/dist/presentation/layout/resizablePanels/index.d.ts +0 -4
- package/dist/presentation/layout/spacer/Spacer.vue.d.ts +0 -15
- package/dist/presentation/layout/spacer/index.d.ts +0 -1
- package/dist/presentation/layout/stack/Stack.variants.d.ts +0 -330
- package/dist/presentation/layout/stack/Stack.vue.d.ts +0 -37
- package/dist/presentation/layout/stack/index.d.ts +0 -2
- package/dist/presentation/layout/surface/Surface.vue.d.ts +0 -39
- package/dist/presentation/layout/surface/index.d.ts +0 -1
- package/dist/presentation/layout/twoColumn/TwoColumn.vue.d.ts +0 -28
- package/dist/presentation/layout/twoColumn/index.d.ts +0 -1
- package/dist/presentation/layout/vStack/VStack.vue.d.ts +0 -14
- package/dist/presentation/layout/vStack/index.d.ts +0 -1
- package/dist/presentation/nav/NavHelpers.d.ts +0 -11
- package/dist/presentation/nav/commandPalette/CommandPalette.vue.d.ts +0 -53
- package/dist/presentation/nav/commandPalette/CommandPaletteContent.vue.d.ts +0 -17
- package/dist/presentation/nav/commandPalette/CommandPaletteContext.d.ts +0 -42
- package/dist/presentation/nav/commandPalette/CommandPaletteEmpty.vue.d.ts +0 -19
- package/dist/presentation/nav/commandPalette/CommandPaletteGroup.vue.d.ts +0 -19
- package/dist/presentation/nav/commandPalette/CommandPaletteInput.vue.d.ts +0 -14
- package/dist/presentation/nav/commandPalette/CommandPaletteItem.vue.d.ts +0 -36
- package/dist/presentation/nav/commandPalette/CommandPaletteList.vue.d.ts +0 -19
- package/dist/presentation/nav/commandPalette/CommandPaletteSeparator.vue.d.ts +0 -12
- package/dist/presentation/nav/commandPalette/index.d.ts +0 -9
- package/dist/presentation/overlays/OverlayHelpers.d.ts +0 -11
- package/dist/presentation/overlays/backdrop/Backdrop.vue.d.ts +0 -40
- package/dist/presentation/overlays/backdrop/index.d.ts +0 -1
- package/dist/query/CreateQueryClient.d.ts +0 -19
- package/dist/query/Devtools.vue.d.ts +0 -10
- package/dist/query/Endpoints.d.ts +0 -14
- package/dist/query/PageHelpers.d.ts +0 -10
- package/dist/query/Persistence.d.ts +0 -40
- package/dist/query/QueryProgressBridge.d.ts +0 -16
- package/dist/query/QueryProvider.vue.d.ts +0 -17
- package/dist/query/QueryTestUtils.d.ts +0 -54
- package/dist/query/ToApiError.d.ts +0 -7
- package/dist/query/UseAppInfiniteQuery.d.ts +0 -45
- package/dist/query/UseAppLazyQuery.d.ts +0 -40
- package/dist/query/UseAppMutation.d.ts +0 -32
- package/dist/query/UseAppPaginatedQuery.d.ts +0 -39
- package/dist/query/UseAppQueries.d.ts +0 -43
- package/dist/query/UseAppQuery.d.ts +0 -38
- package/dist/query/UseAppSuspenseQuery.d.ts +0 -42
- package/dist/query/UseOptimisticMutation.d.ts +0 -25
- package/dist/query/UsePrefetchQuery.d.ts +0 -26
- package/dist/query/UseQueryCache.d.ts +0 -31
- package/dist/query/testing.d.ts +0 -1
- package/dist/query/testing.js +0 -48
- package/dist/query/testing.js.map +0 -1
- package/dist/router/AppErrorBoundary.vue.d.ts +0 -26
- package/dist/router/AppNavLink.vue.d.ts +0 -40
- package/dist/router/CreateAppRouter.d.ts +0 -65
- package/dist/router/DocumentMeta.d.ts +0 -9
- package/dist/router/Guards.d.ts +0 -29
- package/dist/router/LazyRoute.d.ts +0 -16
- package/dist/router/NavigationProgress.vue.d.ts +0 -19
- package/dist/router/NotFound.vue.d.ts +0 -10
- package/dist/router/RouteAnnouncer.vue.d.ts +0 -10
- package/dist/router/RouteConfig.d.ts +0 -82
- package/dist/router/RouteHandles.d.ts +0 -24
- package/dist/router/RoutePersistence.d.ts +0 -21
- package/dist/router/UseBreadcrumbs.d.ts +0 -17
- package/dist/router/UsePrefetch.d.ts +0 -19
- /package/dist/{forms-engine → formsEngine}/StandardSchema.d.ts +0 -0
- /package/dist/{forms-engine → formsEngine/adapters}/house/index.d.ts +0 -0
- /package/dist/{forms-engine → formsEngine/adapters}/tanstack/index.d.ts +0 -0
- /package/dist/foundation/{utils/TransitionExtensions → animation}/TransitionExtensions.d.ts +0 -0
- /package/dist/foundation/{hooks/useDebounceHandler/useDebounceHandler.d.ts → async/UseDebounceHandler.d.ts} +0 -0
- /package/dist/foundation/{sync → channels}/CreateSyncChannel.d.ts +0 -0
- /package/dist/foundation/{sync → channels}/MemorySyncHub.d.ts +0 -0
- /package/dist/foundation/{utils/Equality → collections}/Equality.d.ts +0 -0
- /package/dist/foundation/device/{DisplayMode.d.ts → enums/DisplayMode.d.ts} +0 -0
- /package/dist/foundation/device/{PointerType.d.ts → enums/PointerType.d.ts} +0 -0
- /package/dist/foundation/device/{UseOnlineStatus.d.ts → hooks/UseOnlineStatus.d.ts} +0 -0
- /package/dist/foundation/{hooks/useReducedMotion/useReducedMotion.d.ts → device/hooks/UseReducedMotion.d.ts} +0 -0
- /package/dist/foundation/{utils/composeEventHandlers/composeEventHandlers.d.ts → dom/ComposeEventHandlers.d.ts} +0 -0
- /package/dist/foundation/{utils/dataAttr/dataAttr.d.ts → dom/DataAttr.d.ts} +0 -0
- /package/dist/foundation/{utils/PressExtensions → dom}/PressExtensions.d.ts +0 -0
- /package/dist/foundation/{utils/ElementTag → dom/enums}/ElementTag.d.ts +0 -0
- /package/dist/foundation/{utils/HtmlExtensions/HtmlExtensions.d.ts → dom/enums/HtmlValues.d.ts} +0 -0
- /package/dist/foundation/{utils/KeyboardExtensions/KeyboardExtensions.d.ts → dom/enums/Key.d.ts} +0 -0
- /package/dist/foundation/{hooks/useEventListener/useEventListener.d.ts → dom/hooks/UseEventListener.d.ts} +0 -0
- /package/dist/foundation/{hooks/useFocusTrap/useFocusTrap.d.ts → dom/hooks/UseFocusTrap.d.ts} +0 -0
- /package/dist/foundation/{hooks/useOutsideClick/useOutsideClick.d.ts → dom/hooks/UseOutsideClick.d.ts} +0 -0
- /package/dist/foundation/{hooks/useScrollLock/useScrollLock.d.ts → dom/hooks/UseScrollLock.d.ts} +0 -0
- /package/dist/foundation/{format → formatters}/Bytes.d.ts +0 -0
- /package/dist/foundation/{format → formatters}/Count.d.ts +0 -0
- /package/dist/foundation/{format → formatters}/Duration.d.ts +0 -0
- /package/dist/foundation/{format → formatters}/index.d.ts +0 -0
- /package/dist/foundation/geolocation/{Coordinates.d.ts → models/Coordinates.d.ts} +0 -0
- /package/dist/foundation/gestures/{GestureAxis.d.ts → enums/GestureAxis.d.ts} +0 -0
- /package/dist/foundation/gestures/{SwipeDirection.d.ts → enums/SwipeDirection.d.ts} +0 -0
- /package/dist/foundation/{undo → history}/SnapshotHistory.d.ts +0 -0
- /package/dist/foundation/{undo → history}/UndoHistory.d.ts +0 -0
- /package/dist/foundation/http/{ApiResponse.d.ts → models/ApiResponse.d.ts} +0 -0
- /package/dist/foundation/http/{DateBrands.d.ts → models/DateBrands.d.ts} +0 -0
- /package/dist/foundation/http/{ProblemDetails.d.ts → models/ProblemDetails.d.ts} +0 -0
- /package/dist/foundation/{utils/Compare → i18n}/Compare.d.ts +0 -0
- /package/dist/foundation/{hooks/useId/useId.d.ts → identifiers/UseId.d.ts} +0 -0
- /package/dist/foundation/{hooks/useResizeObserver/useResizeObserver.d.ts → observers/hooks/UseResizeObserver.d.ts} +0 -0
- /package/dist/foundation/observers/{UseVisibility.d.ts → hooks/UseVisibility.d.ts} +0 -0
- /package/dist/foundation/{utils/OptionalExtensions → optionals}/OptionalExtensions.d.ts +0 -0
- /package/dist/foundation/resilience/{BackoffStrategy.d.ts → enums/BackoffStrategy.d.ts} +0 -0
- /package/dist/foundation/resilience/{JitterStrategy.d.ts → enums/JitterStrategy.d.ts} +0 -0
- /package/dist/foundation/selection/{Field.d.ts → models/Field.d.ts} +0 -0
- /package/dist/foundation/{hooks/useEscape/useEscape.d.ts → shortcuts/hooks/UseEscape.d.ts} +0 -0
- /package/dist/foundation/{hooks/useDisclosure/useDisclosure.d.ts → state/hooks/UseDisclosure.d.ts} +0 -0
- /package/dist/foundation/storage/{zustand → adapters/zustand}/index.js +0 -0
- /package/dist/foundation/{utils/cn/cn.d.ts → styles/Cn.d.ts} +0 -0
- /package/dist/foundation/{utils/tv/tv.d.ts → styles/Tv.d.ts} +0 -0
- /package/dist/foundation/{utils/Align → styles/enums}/Align.d.ts +0 -0
- /package/dist/foundation/{utils/CornerPosition → styles/enums}/CornerPosition.d.ts +0 -0
- /package/dist/foundation/{utils/Orientation → styles/enums}/Orientation.d.ts +0 -0
- /package/dist/foundation/{utils/OverlayPosition → styles/enums}/OverlayPosition.d.ts +0 -0
- /package/dist/foundation/{utils/ProgressTone → styles/enums}/ProgressTone.d.ts +0 -0
- /package/dist/foundation/{utils/Severity → styles/enums}/Severity.d.ts +0 -0
- /package/dist/foundation/{utils/Side → styles/enums}/Side.d.ts +0 -0
- /package/dist/foundation/{utils/StatusTone → styles/enums}/StatusTone.d.ts +0 -0
- /package/dist/foundation/{utils/StyleTokens → styles/enums}/StyleTokens.d.ts +0 -0
- /package/dist/foundation/themes/{css.d.ts → Css.d.ts} +0 -0
- /package/dist/foundation/themes/{generate.d.ts → Generate.d.ts} +0 -0
- /package/dist/foundation/{validation → validators}/Formats.d.ts +0 -0
- /package/dist/foundation/{validation → validators}/Primitives.d.ts +0 -0
- /package/dist/foundation/{validation → validators}/StandardSchema.d.ts +0 -0
- /package/dist/presentation/{display → forms}/nodeEditor/index.d.ts +0 -0
- /package/dist/presentation/{forms → layout}/inputGroup/index.d.ts +0 -0
- /package/dist/presentation/{display → overlays}/tooltip/index.d.ts +0 -0
- /package/dist/query/{QueryPlugin.d.ts → adapters/tanstack/QueryPlugin.d.ts} +0 -0
- /package/dist/router/{DocumentTitle.d.ts → adapters/vueRouter/DocumentTitle.d.ts} +0 -0
- /package/dist/router/{PageViewTracker.d.ts → adapters/vueRouter/PageViewTracker.d.ts} +0 -0
- /package/dist/router/{UseNavigationBlocker.d.ts → adapters/vueRouter/hooks/UseNavigationBlocker.d.ts} +0 -0
- /package/dist/router/{UseRouteNavigating.d.ts → adapters/vueRouter/hooks/UseRouteNavigating.d.ts} +0 -0
- /package/dist/router/{UseTypedSearchParams.d.ts → adapters/vueRouter/hooks/UseTypedSearchParams.d.ts} +0 -0
- /package/dist/router/{UseNavigationProgress.d.ts → hooks/UseNavigationProgress.d.ts} +0 -0
package/dist/query/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/query/ToApiError.ts","../../src/query/CreateQueryClient.ts","../../src/query/QueryProvider.vue","../../src/query/Endpoints.ts","../../src/query/UseAppQuery.ts","../../src/query/UseAppInfiniteQuery.ts","../../src/query/UseAppMutation.ts","../../src/query/UseOptimisticMutation.ts","../../src/query/UseAppQueries.ts","../../src/query/UseAppPaginatedQuery.ts","../../src/query/PageHelpers.ts","../../src/query/UseAppLazyQuery.ts","../../src/query/UseQueryCache.ts","../../src/query/UsePrefetchQuery.ts","../../src/query/UseAppSuspenseQuery.ts","../../src/query/QueryProgressBridge.ts","../../src/query/Devtools.vue","../../src/query/Persistence.ts"],"sourcesContent":["import { getErrorMessage } from '../foundation/errors';\nimport { ApiError } from '../foundation/http';\n\n/**\n * Coerces any thrown value into the SDK `ApiError` — passes through an `ApiError`, wraps everything\n * else as status `0` (network / unknown) with the message `getErrorMessage` reads off it, so an\n * `Error` from another realm (iframe · worker) keeps its message instead of failing `instanceof`.\n */\nexport function toApiError(error: unknown): ApiError {\n if (error instanceof ApiError) return error;\n return new ApiError(0, null, getErrorMessage(error, 'Unknown error'));\n}\n","import { CancelledError, MutationCache, QueryCache, QueryClient } from '@tanstack/vue-query';\n\nimport { isAbortError } from '../foundation/errors';\nimport type { ApiError } from '../foundation/http';\n\nimport { computeRetryDelay, DefaultRetryPolicy, shouldRetry, type RetryPolicy } from '../foundation/resilience';\n\nimport { toApiError } from './ToApiError';\n\nconst StaleTimeMs = 30_000;\nconst GcTimeMs = 5 * 60_000;\n\n/**\n * Checks for a cancellation — TanStack's own `CancelledError`, or the native `AbortError` a queryFn\n * rethrows when its signal aborts outside the library (the transport client deliberately never wraps\n * aborts). A cancellation is intent, not failure: it must neither retry (`toApiError` maps it to\n * status `0`, which the transient set would otherwise retry) nor reach the global `onError` toast.\n */\nfunction isCancellation(error: unknown): boolean {\n return error instanceof CancelledError || isAbortError(error);\n}\n\n/** The metadata bag a hook's `meta` option attaches to its query/mutation — free-form keys, read back by the global error seam. `suppressGlobalError: true` keeps that call's failures out of the global `onError` (per-query opt-out for polling / boundary-handled errors). */\nexport type AppQueryMeta = Record<string, unknown>;\n\n/** Carries the failing query's / mutation's context into the global `onError`. */\nexport interface QueryErrorContext {\n /** The `meta` attached at the call site, or `undefined` when none was set. */\n readonly meta: AppQueryMeta | undefined;\n}\n\n/** Defines options for `createQueryClient`. */\nexport interface CreateQueryClientOptions {\n /** Emits a coerced `ApiError` whenever any query or mutation fails — wire a toast here (`feedbackQueryErrors()` from `/feedback` fits directly). Cancellations and calls whose `meta` sets `suppressGlobalError: true` are skipped; `context.meta` carries the call's `meta` for app-side filtering. */\n readonly onError?: (error: ApiError, context: QueryErrorContext) => void;\n\n /** The retry policy for transient query failures (backoff · jitter · retryable statuses). Default `DefaultRetryPolicy`. Mutations never retry; `onRetry` is transport-level only — the TanStack retry seam has no pre-retry hook, so it is not invoked here. */\n readonly retry?: RetryPolicy;\n}\n\n/** Creates the app `QueryClient` — house defaults (30s stale · 5m gc · no focus-refetch · mutations no-retry) + a configurable `RetryPolicy` + global error coercion to `ApiError`. */\nexport function createQueryClient(options: CreateQueryClientOptions = {}): QueryClient {\n const handleError = (error: unknown, meta: AppQueryMeta | undefined): void => {\n if (isCancellation(error)) return;\n if (meta?.suppressGlobalError === true) return;\n options.onError?.(toApiError(error), { meta });\n };\n const policy = options.retry ?? DefaultRetryPolicy;\n\n return new QueryClient({\n queryCache: new QueryCache({ onError: (error, query) => handleError(error, query.meta) }),\n mutationCache: new MutationCache({\n onError: (error, _variables, _context, mutation) => handleError(error, mutation.meta),\n }),\n defaultOptions: {\n queries: {\n staleTime: StaleTimeMs,\n gcTime: GcTimeMs,\n refetchOnWindowFocus: false,\n retry: (failureCount, error) =>\n !isCancellation(error) && shouldRetry(policy, failureCount, toApiError(error).status),\n retryDelay: (attemptIndex) => computeRetryDelay(policy, attemptIndex + 1),\n },\n mutations: { retry: 0 },\n },\n });\n}\n","<script lang=\"ts\">\nimport type { QueryClient } from '@tanstack/vue-query';\n\n/** Defines the props for {@link QueryProvider}. */\nexport interface QueryProviderProps {\n /** The app `QueryClient` (from `createQueryClient`). */\n client: QueryClient;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { onMounted, onUnmounted, provide } from 'vue';\n// `QueryClient` is already imported as a TYPE by the plain `<script>` block above — the two blocks\n// compile into ONE module, so only the injection-key VALUE comes in here.\nimport { VUE_QUERY_CLIENT } from '@tanstack/vue-query';\n\n/**\n * Mounts the app `QueryClient` above its subtree.\n *\n * `@tanstack/vue-query` ships no `QueryClientProvider` component — it installs as an app plugin\n * (`queryPlugin`). This is the component form React had, rebuilt on the same injection key the\n * library's own `useQueryClient()` reads, so every hook in this module works underneath it. Use it\n * when a SUBTREE (or a test) needs its own client; use `queryPlugin` for the whole app.\n *\n * `client.mount()` runs from `onMounted`, which never executes on the server — the plugin skips it\n * there for the same reason: mounting subscribes the focus / online managers to browser globals.\n *\n * Renders no element of its own — the slot passes straight through.\n */\ndefineOptions({ name: 'QueryProvider' });\n\ndefineSlots<{\n /** The subtree with access to the client. */\n default(): unknown;\n}>();\n\nconst props = defineProps<QueryProviderProps>();\n\nprovide(VUE_QUERY_CLIENT, props.client);\n\nonMounted(() => props.client.mount());\nonUnmounted(() => props.client.unmount());\n</script>\n\n<template>\n <slot />\n</template>\n","// Typed endpoint definitions — the generic core of a query-factory registry (the data-layer\n// `definePath`). An app declares per-resource factories over `defineEndpoint`\n// (`const codesApi = { list: (q?: string) => defineEndpoint({ key: …, queryFn: … }) }`); this module\n// owns only the typing core — key + fetcher declared once, together, so the pairing can never desync.\n// A def is a plain `{ key, queryFn }`: it spreads into `useAppQuery` / `useAppSuspenseQuery` /\n// `useAppLazyQuery`, feeds `usePrefetchQuery` / `prefetchProps` / `useQueryCache().prefetch` whole,\n// and pairs with a bare `QueryClient` (`fetchQuery({ queryKey: def.key, queryFn: def.queryFn })`).\n// Mutations stay plain client calls into `useAppMutation` — no def shape for writes (an\n// `useOptimisticMutation` target may reuse a def's `key` to locate the cached read it patches).\n\nimport type { QueryKey } from '@tanstack/vue-query';\n\n/** Defines a typed endpoint — a query key fused with the fetcher that fills it. */\nexport interface Endpoint<TRaw> {\n /** The query key this endpoint caches under — the same key every consuming surface reads. */\n readonly key: QueryKey;\n\n /** Fetches the raw payload; receives the abort signal so the request cancels with the query. */\n readonly queryFn: (context: { signal: AbortSignal }) => Promise<TRaw>;\n}\n\n/** Defines a parameterized endpoint factory — call with the endpoint's args for a def keyed to them. */\nexport type EndpointFn<TArgs extends readonly unknown[], TRaw> = (...args: TArgs) => Endpoint<TRaw>;\n\n/** Creates a typed endpoint definition — constrains the shape, infers `TRaw` from the fetcher, and returns the def unchanged (pure typing; deleting the call leaves valid code). */\nexport function defineEndpoint<TRaw>(endpoint: Endpoint<TRaw>): Endpoint<TRaw> {\n return endpoint;\n}\n","import { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQuery, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiError } from '../foundation/http';\n\nimport type { AppQueryMeta } from './CreateQueryClient';\nimport { toApiError } from './ToApiError';\n\n/** Defines options for `useAppQuery` — `TRaw` first so it infers from `queryFn` (a spread def) and `TData` defaults to it when `map` is absent. */\nexport interface UseAppQueryOptions<TRaw, TData = TRaw> {\n /** The cache key (from `queryKeys`). A ref or getter re-keys the query reactively — React re-ran the hook instead. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches the raw payload; receives the `AbortSignal` so the request cancels on unmount. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<TRaw>;\n\n /** Maps the raw payload to the domain shape — identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n\n /** Gates the query — skips fetching while `false`. A ref or getter toggles it reactively. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n\n /** Metadata surfaced to the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out of it. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a single-resource query's slice — every member reactive. */\nexport interface UseAppQueryReturn<TData> {\n /** The mapped domain payload, or `undefined` until it resolves. */\n readonly data: Ref<TData | undefined>;\n\n /** True while there is no data yet and a fetch is in flight. */\n readonly loading: ComputedRef<boolean>;\n\n /** The failure coerced to `ApiError`, or `null`. */\n readonly error: ComputedRef<ApiError | null>;\n\n /** Refetches the query. */\n readonly refetch: () => unknown;\n}\n\n/**\n * Manages a single-resource query — wraps `useQuery`, maps raw→domain via `select`, and coerces\n * failures to `ApiError`.\n *\n * Returns REFS, not values: `@tanstack/vue-query` hands back a ref per field, and a composable that\n * unwrapped them would freeze at the first render. Read `data.value` (or bind `data` in a template).\n */\nexport function useAppQuery<TRaw, TData = TRaw>({\n key,\n queryFn,\n map,\n enabled,\n meta,\n}: UseAppQueryOptions<TRaw, TData>): UseAppQueryReturn<TData> {\n // A getter for the WHOLE options object: `key` and `enabled` are `MaybeRefOrGetter`, and this is\n // the one form that re-evaluates every one of them together on each dependency change.\n const query = useQuery<TRaw, Error, TData, QueryKey>(() => ({\n queryKey: toValue(key),\n queryFn: ({ signal }) => queryFn({ signal }),\n select: map ?? ((raw: TRaw) => raw as unknown as TData),\n enabled: toValue(enabled),\n meta,\n }));\n\n return {\n data: query.data,\n loading: computed(() => query.isPending.value && query.isFetching.value),\n error: computed(() => (query.error.value ? toApiError(query.error.value) : null)),\n refetch: query.refetch,\n };\n}\n","import { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useInfiniteQuery, type InfiniteData, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiError } from '../foundation/http';\n\nimport type { AppQueryMeta } from './CreateQueryClient';\nimport { toApiError } from './ToApiError';\n\n/** Defines options for `useAppInfiniteQuery`. */\nexport interface UseAppInfiniteQueryOptions<TItem, TPage> {\n /** The cache key (from `queryKeys`). */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches one page for `pageParam`; receives the `AbortSignal`. */\n readonly queryFn: (ctx: { pageParam: unknown; signal: AbortSignal }) => Promise<TPage>;\n\n /** Derives the next page's param from the last page — return `undefined`/`null` to stop. */\n readonly getNextPageParam: (lastPage: TPage, allPages: readonly TPage[]) => unknown;\n\n /** The param for the first page. */\n readonly initialPageParam: unknown;\n\n /** Extracts items from a page — the page itself is the item array when omitted. */\n readonly mapPage?: (page: TPage) => readonly TItem[];\n\n /** Poll interval in ms, or a fn of the current items → ms / `false` (poll-while-running). */\n readonly refetchInterval?: number | ((items: readonly TItem[]) => number | false);\n\n /** Gates the query — skips fetching while `false`. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n\n /** Metadata surfaced to the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out of it (e.g. polls that would otherwise toast per failed refetch). */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents an infinite query's slice — every member reactive. */\nexport interface UseAppInfiniteQueryReturn<TItem> {\n /** Every fetched page flattened to items. */\n readonly items: ComputedRef<readonly TItem[]>;\n\n /** True while there is no page yet and a fetch is in flight. */\n readonly loading: ComputedRef<boolean>;\n\n /** The failure coerced to `ApiError`, or `null`. */\n readonly error: ComputedRef<ApiError | null>;\n\n /** Whether another page can be fetched. */\n readonly hasNextPage: Ref<boolean>;\n\n /** Fetches the next page. */\n readonly fetchNextPage: (...args: never[]) => unknown;\n\n /** True while the next page is in flight. */\n readonly isFetchingNextPage: Ref<boolean>;\n\n /** Refetches every fetched page. */\n readonly refetch: () => unknown;\n}\n\n/** Manages a paginated resource — wraps `useInfiniteQuery`, flattens pages to items, and supports poll-while-running. */\nexport function useAppInfiniteQuery<TItem, TPage>({\n key,\n queryFn,\n getNextPageParam,\n initialPageParam,\n mapPage,\n refetchInterval,\n enabled,\n meta,\n}: UseAppInfiniteQueryOptions<TItem, TPage>): UseAppInfiniteQueryReturn<TItem> {\n // React memoized this with `useCallback` so the `useMemo` below did not re-run each render; Vue\n // recomputes only when a tracked dependency changes, so a plain closure is enough.\n const extract = (page: TPage): readonly TItem[] =>\n mapPage ? mapPage(page) : (page as unknown as readonly TItem[]);\n\n const query = useInfiniteQuery<TPage, Error, InfiniteData<TPage, unknown>, QueryKey, unknown>(() => ({\n queryKey: toValue(key),\n queryFn: ({ pageParam, signal }) => queryFn({ pageParam, signal }),\n getNextPageParam,\n initialPageParam,\n enabled: toValue(enabled),\n meta,\n refetchInterval:\n refetchInterval === undefined\n ? undefined\n : (query_) => {\n if (typeof refetchInterval === 'number') return refetchInterval;\n const current = (query_.state.data?.pages ?? []).flatMap((page) => [...extract(page)]);\n return refetchInterval(current);\n },\n }));\n\n return {\n items: computed(() => (query.data.value?.pages ?? []).flatMap((page) => [...extract(page)])),\n loading: computed(() => query.isPending.value && query.isFetching.value),\n error: computed(() => (query.error.value ? toApiError(query.error.value) : null)),\n hasNextPage: query.hasNextPage,\n fetchNextPage: query.fetchNextPage,\n isFetchingNextPage: query.isFetchingNextPage,\n refetch: query.refetch,\n };\n}\n","import { computed, type ComputedRef, type Ref } from 'vue';\nimport { useMutation, useQueryClient, type QueryClient, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiError } from '../foundation/http';\n\nimport type { AppQueryMeta } from './CreateQueryClient';\nimport { toApiError } from './ToApiError';\n\n/** Defines options for `useAppMutation`. */\nexport interface UseAppMutationOptions<TData, TVars> {\n /** Performs the mutation against the backend. */\n readonly mutationFn: (vars: TVars) => Promise<TData>;\n\n /** Query keys to invalidate on success — derived from the vars and the server's returned value. */\n readonly invalidates?: (vars: TVars, data: TData) => readonly QueryKey[];\n\n /** Reconciles the cache from the server's confirmed result (e.g. `setQueryData`) after invalidation. */\n readonly onConfirmed?: (data: TData, vars: TVars, queryClient: QueryClient) => void;\n\n /** Metadata surfaced to the global `onError` seam — `suppressGlobalError: true` keeps this mutation's failures out of it. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a mutation's slice — state as refs, commands as plain functions. */\nexport interface UseAppMutationReturn<TData, TVars> {\n /** Fires the mutation, fire-and-forget. */\n readonly mutate: (vars: TVars) => void;\n\n /** Fires the mutation and resolves with its result. */\n readonly mutateAsync: (vars: TVars) => Promise<TData>;\n\n /** The last successful result. */\n readonly data: Ref<TData | undefined>;\n\n /** True while the mutation is in flight. */\n readonly loading: Ref<boolean>;\n\n /** The failure coerced to `ApiError`, or `null`. */\n readonly error: ComputedRef<ApiError | null>;\n\n /** Clears the mutation back to idle. */\n readonly reset: () => void;\n}\n\n/** Manages a passive mutation — reconciles the cache only from the backend-confirmed result; no optimistic update, no rollback. */\nexport function useAppMutation<TData, TVars>({\n mutationFn,\n invalidates,\n onConfirmed,\n meta,\n}: UseAppMutationOptions<TData, TVars>): UseAppMutationReturn<TData, TVars> {\n const queryClient = useQueryClient();\n\n const mutation = useMutation<TData, Error, TVars>({\n mutationFn,\n meta,\n onSuccess: async (data, vars) => {\n const keys = invalidates?.(vars, data) ?? [];\n await Promise.all(keys.map((queryKey) => queryClient.invalidateQueries({ queryKey })));\n onConfirmed?.(data, vars, queryClient);\n },\n });\n\n return {\n mutate: mutation.mutate,\n mutateAsync: mutation.mutateAsync,\n data: mutation.data,\n loading: mutation.isPending,\n error: computed(() => (mutation.error.value ? toApiError(mutation.error.value) : null)),\n reset: mutation.reset,\n };\n}\n","import { computed } from 'vue';\nimport { useMutation, useQueryClient, type QueryKey } from '@tanstack/vue-query';\n\nimport type { Endpoint } from './Endpoints';\nimport { toApiError } from './ToApiError';\nimport type { UseAppMutationReturn } from './UseAppMutation';\n\n/** Defines one cached query an optimistic mutation patches — where it lives and how it changes. */\nexport interface OptimisticTarget<TVars, TCached = unknown> {\n /** Locates the cached entry to patch — a query key, or an endpoint def (patched at its `key`). */\n readonly key: QueryKey | Endpoint<TCached>;\n\n /**\n * Produces the next cached value from the current one and the mutation vars — pure, no side effects.\n * `current` is `undefined` when the key holds no data yet; returning a value then seeds the entry\n * (and rollback removes the seed).\n */\n // Method syntax on purpose: its bivariant parameters let targets of different `TCached` shapes\n // (each annotating its own `current`) share one `targets` array typed `OptimisticTarget<TVars>[]`.\n apply(current: TCached | undefined, vars: TVars): TCached;\n}\n\n/** Defines options for `useOptimisticMutation`. */\nexport interface UseOptimisticMutationOptions<TData, TVars> {\n /** Performs the mutation against the backend. */\n readonly mutationFn: (vars: TVars) => Promise<TData>;\n\n /** The cached queries this mutation patches — each is cancelled, snapshotted, and applied before the request fires, then rolled back on error. */\n readonly targets: readonly OptimisticTarget<TVars>[];\n\n /** Invalidates every target key once the mutation settles (success or error) so the server truth reconciles the patch — `true` when omitted. */\n readonly invalidateOnSettle?: boolean;\n}\n\n/** A per-target snapshot taken before the patch — the unit of rollback. */\ninterface TargetSnapshot {\n readonly queryKey: QueryKey;\n readonly previous: unknown;\n}\n\n/** Resolves a target locator to its query key — unwraps an endpoint def, passes a bare key through. */\nfunction resolveKey(key: QueryKey | Endpoint<unknown>): QueryKey {\n return 'queryFn' in key ? key.key : key;\n}\n\n/** Manages an optimistic mutation — the canonical TanStack v5 flow in the house shape: cancel + snapshot + patch every target on mutate, roll the patches back on error, reconcile with the server on settle. `useAppMutation` stays the passive default. */\nexport function useOptimisticMutation<TData, TVars>({\n mutationFn,\n targets,\n invalidateOnSettle = true,\n}: UseOptimisticMutationOptions<TData, TVars>): UseAppMutationReturn<TData, TVars> {\n const queryClient = useQueryClient();\n\n const mutation = useMutation<TData, Error, TVars, readonly TargetSnapshot[]>({\n mutationFn,\n onMutate: async (vars) => {\n // Cancel in-flight fetches first so a late server response can't clobber the patch.\n await Promise.all(\n targets.map((target) => queryClient.cancelQueries({ queryKey: resolveKey(target.key) })),\n );\n\n // Snapshot, then patch. A later mutation on the same key snapshots this patch — rollbacks chain.\n return targets.map((target) => {\n const queryKey = resolveKey(target.key);\n const previous = queryClient.getQueryData(queryKey);\n queryClient.setQueryData(queryKey, () => target.apply(previous, vars));\n return { queryKey, previous };\n });\n },\n onError: (_error, _vars, snapshots) => {\n // Restore each target exactly — a seeded entry (no previous) is removed, since `setQueryData(key, undefined)` is ignored.\n for (const { queryKey, previous } of snapshots ?? []) {\n if (previous === undefined) queryClient.removeQueries({ queryKey, exact: true });\n else queryClient.setQueryData(queryKey, () => previous);\n }\n },\n onSettled: async () => {\n if (!invalidateOnSettle) return;\n await Promise.all(\n targets.map((target) => queryClient.invalidateQueries({ queryKey: resolveKey(target.key) })),\n );\n },\n });\n\n return {\n mutate: mutation.mutate,\n mutateAsync: mutation.mutateAsync,\n data: mutation.data,\n loading: mutation.isPending,\n error: computed(() => (mutation.error.value ? toApiError(mutation.error.value) : null)),\n reset: mutation.reset,\n };\n}\n","import { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQueries, type QueryKey, type QueryObserverResult } from '@tanstack/vue-query';\n\nimport type { ApiError } from '../foundation/http';\n\nimport { toApiError } from './ToApiError';\n\n/** Defines one entry in a parallel `useAppQueries` batch — `TRaw` first so it infers from `queryFn` (a spread def) and `TData` defaults to it when `map` is absent. */\nexport interface AppQueriesEntry<TRaw, TData = TRaw> {\n /** The cache key (from `queryKeys`). */\n readonly key: QueryKey;\n\n /** Fetches this entry's raw payload; receives the `AbortSignal` so the request cancels on unmount. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<TRaw>;\n\n /** Maps the raw payload to the domain shape — identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n}\n\n/** Represents one entry's slice of a `useAppQueries` batch. */\nexport interface AppQueryResult<TData> {\n /** The mapped domain payload, or `undefined` until this entry resolves. */\n readonly data: TData | undefined;\n\n /** True while this entry has no data yet and a fetch is in flight. */\n readonly loading: boolean;\n\n /** This entry's failure coerced to `ApiError`, or `null`. */\n readonly error: ApiError | null;\n}\n\n/** Defines options for `useAppQueries`. */\nexport interface UseAppQueriesOptions<TRaw, TData = TRaw> {\n /** The queries to run in parallel — the count may vary. A ref or getter re-builds the batch reactively. */\n readonly queries: MaybeRefOrGetter<readonly AppQueriesEntry<TRaw, TData>[]>;\n\n /** Gates the whole batch — skips fetching every entry while `false`. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n}\n\n/** Represents a parallel batch's aggregated slice — every member reactive. */\nexport interface UseAppQueriesReturn<TData> {\n /** One slice per entry, in the order they were given. */\n readonly results: ComputedRef<readonly AppQueryResult<TData>[]>;\n\n /** Just the payloads, positionally aligned with the entries. */\n readonly data: ComputedRef<readonly (TData | undefined)[]>;\n\n /** True while any entry is still loading. */\n readonly loading: ComputedRef<boolean>;\n\n /** Every entry's failure, coerced. */\n readonly errors: ComputedRef<readonly ApiError[]>;\n}\n\n/** Manages a dynamic batch of parallel queries — wraps `useQueries`, maps each raw→domain, and aggregates loading/errors. */\nexport function useAppQueries<TRaw, TData = TRaw>({\n queries,\n enabled,\n}: UseAppQueriesOptions<TRaw, TData>): UseAppQueriesReturn<TData> {\n // `useQueries` types its result off a tuple of per-entry option types; a homogeneous, run-time\n // sized array cannot be expressed that way, so the result is asserted — the same widening the\n // React original applied to `UseQueryResult<TData, Error>[]`.\n const results = useQueries({\n queries: computed(() =>\n toValue(queries).map((entry) => ({\n queryKey: entry.key,\n queryFn: ({ signal }: { signal: AbortSignal }) => entry.queryFn({ signal }),\n select: entry.map ?? ((raw: TRaw) => raw as unknown as TData),\n enabled: toValue(enabled),\n })),\n ),\n }) as unknown as Ref<readonly QueryObserverResult<TData, Error>[]>;\n\n const mapped = computed<readonly AppQueryResult<TData>[]>(() =>\n results.value.map((query) => ({\n data: query.data,\n loading: query.isPending && query.isFetching,\n error: query.error ? toApiError(query.error) : null,\n })),\n );\n\n return {\n results: mapped,\n data: computed(() => mapped.value.map((result) => result.data)),\n loading: computed(() => mapped.value.some((result) => result.loading)),\n errors: computed(() => mapped.value.flatMap((result) => (result.error ? [result.error] : []))),\n };\n}\n","import { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { keepPreviousData, useQuery, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiError } from '../foundation/http';\n\nimport type { AppQueryMeta } from './CreateQueryClient';\nimport { toApiError } from './ToApiError';\n\n/** Defines options for `useAppPaginatedQuery`. */\nexport interface UseAppPaginatedQueryOptions<TItem, TPage> {\n /** The base cache key (from `queryKeys`) — the active `page` is appended to form the per-page key. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches one page; receives the controlled `page` and the `AbortSignal`. */\n readonly queryFn: (ctx: { page: number; signal: AbortSignal }) => Promise<TPage>;\n\n /** The controlled page index — the caller owns it; changing it loads that page. A ref or getter drives it reactively (React re-rendered instead). */\n readonly page: MaybeRefOrGetter<number>;\n\n /** Extracts items from a page — the page itself is the item array when omitted. */\n readonly mapPage?: (page: TPage) => readonly TItem[];\n\n /** Gates the query — skips fetching while `false`. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n\n /** Metadata surfaced to the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out of it. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a page/offset paginated query's slice — every member reactive. */\nexport interface UseAppPaginatedQueryReturn<TItem, TPage> {\n /** The current page's items. */\n readonly items: ComputedRef<readonly TItem[]>;\n\n /** The raw page as fetched (`TPage`) — total count / page count / `hasMore` live here; `undefined` until the first page resolves. While `isPlaceholder`, it is the held previous page. */\n readonly page: Ref<TPage | undefined>;\n\n /** True while there is no page yet and a fetch is in flight. */\n readonly loading: ComputedRef<boolean>;\n\n /** The failure coerced to `ApiError`, or `null`. */\n readonly error: ComputedRef<ApiError | null>;\n\n /** True while the held previous page is being shown during a page change. */\n readonly isPlaceholder: Ref<boolean>;\n\n /** Refetches the active page. */\n readonly refetch: () => unknown;\n}\n\n/** Manages page/offset pagination — wraps `useQuery` with `keepPreviousData` so the list holds steady between pages. */\nexport function useAppPaginatedQuery<TItem, TPage>({\n key,\n queryFn,\n page,\n mapPage,\n enabled,\n meta,\n}: UseAppPaginatedQueryOptions<TItem, TPage>): UseAppPaginatedQueryReturn<TItem, TPage> {\n const query = useQuery<TPage, Error, TPage, QueryKey>(() => ({\n queryKey: [...toValue(key), toValue(page)],\n queryFn: ({ signal }) => queryFn({ page: toValue(page), signal }),\n placeholderData: keepPreviousData,\n enabled: toValue(enabled),\n meta,\n }));\n\n const items = computed<readonly TItem[]>(() => {\n const data = query.data.value;\n if (data === undefined) return [];\n return mapPage ? mapPage(data) : (data as unknown as readonly TItem[]);\n });\n\n return {\n items,\n page: query.data,\n loading: computed(() => query.isPending.value && query.isFetching.value),\n error: computed(() => (query.error.value ? toApiError(query.error.value) : null)),\n isPlaceholder: query.isPlaceholderData,\n refetch: query.refetch,\n };\n}\n","import type { IHasItems, TokenPage } from '../foundation/http';\n\n// Ergonomic glue between the `foundation/http` pagination contracts (`Page` / `TokenPage`) and the\n// paging hooks — fully additive, so a product binding `TPage = Page<T>` / `TokenPage<T>` drops the\n// hand-written `getNextPageParam` / `mapPage` boilerplate.\n\n/**\n * A ready `getNextPageParam` for `useAppInfiniteQuery` over `TokenPage` pages — reads `nextPageToken`,\n * returning `undefined` on the last page (an absent token stops paging).\n *\n * `useAppInfiniteQuery<TItem, TokenPage<TItem>>({ getNextPageParam: byPageToken<TItem>(), … })`\n */\nexport function byPageToken<TItem, TToken = string>(): (lastPage: TokenPage<TItem, TToken>) => TToken | undefined {\n return (lastPage) => lastPage.nextPageToken;\n}\n\n/** A ready `mapPage` for any `IHasItems` page — pass `mapPage: pageItems` instead of `(p) => p.items`. */\nexport function pageItems<T>(page: IHasItems<T>): readonly T[] {\n return page.items;\n}\n","import { shallowRef, toValue, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQueryClient, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiError } from '../foundation/http';\n\nimport type { AppQueryMeta } from './CreateQueryClient';\nimport { toApiError } from './ToApiError';\n\n/** Defines options for `useAppLazyQuery` — `TRaw` first so it infers from `queryFn` (a spread def) and `TData` defaults to it when `map` is absent. */\nexport interface UseAppLazyQueryOptions<TRaw, TData = TRaw> {\n /** The cache key (from `queryKeys`) — read at each `fetch()`, so a ref or getter re-keys the next call. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches the raw payload; receives the `AbortSignal`. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<TRaw>;\n\n /** Maps the raw payload to the domain shape — identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n\n /** Metadata surfaced to the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out of it. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents an imperative query's slice — state as refs, plus the two commands. */\nexport interface UseAppLazyQueryReturn<TData> {\n /** The mapped payload from the latest settled `fetch()`, or `undefined` while idle. */\n readonly data: Ref<TData | undefined>;\n\n /** True while a `fetch()` is in flight. */\n readonly loading: Ref<boolean>;\n\n /** The latest failure coerced to `ApiError`, or `null`. */\n readonly error: Ref<ApiError | null>;\n\n /** Runs the request on demand; resolves the mapped data and rejects with the raw error. */\n readonly fetch: () => Promise<TData>;\n\n /** Returns the hook to its idle state and orphans any in-flight call. */\n readonly reset: () => void;\n}\n\n/**\n * Manages an imperative query — does not fetch on mount; `fetch()` runs the request on demand,\n * caching by key via the client (which dedupes concurrent calls and serves a still-fresh cache entry\n * without refetching — the client's `staleTime` window applies). Drives local `data`/`loading`/`error`\n * state with latest-call-wins semantics: a slower earlier `fetch()` (or one orphaned by `reset`) never\n * overwrites newer state, though every call's promise still settles with its own outcome. `fetch()`\n * resolves the mapped data and rejects with the raw error, while `error` holds the coerced `ApiError`.\n * For fetch-on-submit / export-on-click flows. `reset` returns it to the idle state.\n */\nexport function useAppLazyQuery<TRaw, TData = TRaw>({\n key,\n queryFn,\n map,\n meta,\n}: UseAppLazyQueryOptions<TRaw, TData>): UseAppLazyQueryReturn<TData> {\n const client = useQueryClient();\n\n const data = shallowRef<TData | undefined>(undefined);\n const loading = shallowRef(false);\n const error = shallowRef<ApiError | null>(null);\n\n // Sequences fetches so only the LATEST call writes state — a slow earlier fetch (or one orphaned\n // by `reset`) settling late must not clobber newer data or resurrect a reset hook. The returned\n // promise still resolves/rejects with its own outcome for every caller. A plain local: never\n // rendered, so reactivity would be waste.\n let sequence = 0;\n\n const fetch = async (): Promise<TData> => {\n const current = ++sequence;\n loading.value = true;\n error.value = null;\n try {\n const raw = await client.fetchQuery<TRaw, Error, TRaw, QueryKey>({\n queryKey: toValue(key),\n queryFn: ({ signal }) => queryFn({ signal }),\n meta,\n });\n const mapped = map ? map(raw) : (raw as unknown as TData);\n if (current === sequence) {\n data.value = mapped;\n loading.value = false;\n }\n return mapped;\n } catch (caught) {\n if (current === sequence) {\n error.value = toApiError(caught);\n loading.value = false;\n }\n throw caught;\n }\n };\n\n const reset = (): void => {\n sequence += 1; // orphan any in-flight fetch — its late settle no longer writes state\n data.value = undefined;\n error.value = null;\n loading.value = false;\n };\n\n return { data, loading, error, fetch, reset };\n}\n","import { useQueryClient, type QueryKey } from '@tanstack/vue-query';\n\n/** Defines a prefetch target for the query cache — a key paired with its fetcher. */\nexport interface QueryCachePrefetch {\n /** The query key to warm — the same key the live query reads. */\n readonly key: QueryKey;\n\n /** Fetches the data to cache; receives the `AbortSignal`. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<unknown>;\n}\n\n/** Defines the imperative cache accessor returned by `useQueryCache`. */\nexport interface QueryCacheApi {\n /** Reads the cached value at `key`, or `undefined` when absent. */\n readonly get: <TData>(key: QueryKey) => TData | undefined;\n\n /** Writes `key` — a value, or an updater `(previous) => next` (the TanStack setter form). */\n readonly set: <TData>(key: QueryKey, data: TData | ((previous: TData | undefined) => TData)) => void;\n\n /** Marks the queries under `key` stale and refetches the active ones. */\n readonly invalidate: (key: QueryKey) => Promise<void>;\n\n /** Removes the queries under `key` from the cache. */\n readonly remove: (key: QueryKey) => void;\n\n /** Warms `key` in the background — deduped against a live query. */\n readonly prefetch: (target: QueryCachePrefetch) => Promise<void>;\n}\n\n/**\n * Provides access to the query cache — imperative get/set/invalidate/remove/prefetch by key,\n * wrapping the active `QueryClient`.\n *\n * Returns a plain object, as React did. There is nothing reactive here: every member is a command,\n * and the client is stable for the component's lifetime, so React's `useMemo` has no counterpart.\n */\nexport function useQueryCache(): QueryCacheApi {\n const client = useQueryClient();\n\n return {\n get: <TData>(key: QueryKey): TData | undefined => client.getQueryData<TData>(key),\n set: <TData>(key: QueryKey, data: TData | ((previous: TData | undefined) => TData)): void => {\n client.setQueryData<TData>(key, data);\n },\n invalidate: (key: QueryKey): Promise<void> => client.invalidateQueries({ queryKey: key }),\n remove: (key: QueryKey): void => {\n client.removeQueries({ queryKey: key });\n },\n prefetch: ({ key, queryFn }: QueryCachePrefetch): Promise<void> =>\n client.prefetchQuery({ queryKey: key, queryFn: ({ signal }) => queryFn({ signal }) }),\n };\n}\n","import { onScopeDispose } from 'vue';\nimport { useQueryClient, type QueryClient, type QueryKey } from '@tanstack/vue-query';\n\n/**\n * The app client bound by the most recently mounted `usePrefetchQuery`. Powers the standalone\n * `prefetchProps`, mirroring the router's module-level prefetch registry — data prefetch needs a\n * client, so the composable binds it here.\n */\nlet activeClient: QueryClient | undefined;\n\n/** Defines a prefetch target — a query key paired with its fetcher. */\nexport interface PrefetchTarget {\n /** The query key to warm — the same key the live query reads. */\n readonly key: QueryKey;\n\n /** Fetches the data to cache; receives the abort signal the library manages. */\n readonly queryFn: (context: { signal: AbortSignal }) => Promise<unknown>;\n}\n\n/**\n * Defines the hover/focus listeners to `v-bind` onto a link for data prefetch.\n *\n * `onMouseenter`, not React's `onMouseEnter`: Vue derives the DOM event name with `hyphenate()`, so\n * a camel-humped `onMouseEnter` key would bind a `mouse-enter` event that never fires.\n */\nexport interface PrefetchProps {\n /** Warms the target query when the pointer enters the link. */\n readonly onMouseenter: () => void;\n\n /** Warms the target query when the link gains focus. */\n readonly onFocus: () => void;\n}\n\n/** Warms a query's data against a client — a background fetch deduped against the live query. */\nfunction warm(client: QueryClient, { key, queryFn }: PrefetchTarget): void {\n void client.prefetchQuery({ queryKey: key, queryFn });\n}\n\n/** Manages intent-based data prefetch — returns a `prefetch(target)` that warms a query on hover/focus. */\nexport function usePrefetchQuery(): (target: PrefetchTarget) => void {\n const client = useQueryClient();\n\n // Bind the client for the standalone `prefetchProps`, mirroring the router's registry. React did\n // this in an effect; the scope teardown is the Vue counterpart of that effect's cleanup.\n activeClient = client;\n onScopeDispose(() => {\n if (activeClient === client) activeClient = undefined;\n });\n\n return (target: PrefetchTarget) => warm(client, target);\n}\n\n/** Builds hover/focus listeners that warm a query's data on intent — `v-bind` onto a link beside the router's `prefetchProps`. Requires a mounted `usePrefetchQuery`. */\nexport function prefetchProps(target: PrefetchTarget): PrefetchProps {\n const run = (): void => {\n if (activeClient) warm(activeClient, target);\n };\n return { onMouseenter: run, onFocus: run };\n}\n","import { toValue, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQuery, type QueryKey } from '@tanstack/vue-query';\n\nimport type { AppQueryMeta } from './CreateQueryClient';\n\n/** Defines a suspenseful query — a key, a fetcher, and an optional raw→view mapper. `TRaw` first so it infers from `queryFn` (a spread def); `TData` defaults to it when `map` is absent. */\nexport interface AppSuspenseQueryOptions<TRaw, TData = TRaw> {\n /** The query key that identifies and caches this query. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches the raw data; receives the abort signal the library manages. */\n readonly queryFn: (context: { signal: AbortSignal }) => Promise<TRaw>;\n\n /** Maps the raw fetched shape to the view shape; identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n\n /** Metadata surfaced to the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out of it (boundary-handled errors would otherwise double-surface). */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a resolved suspenseful query — `data` is already filled when the composable resolves. */\nexport interface AppSuspenseQueryReturn<TData> {\n /** The resolved payload. Defined on resolve, and kept live afterwards. */\n readonly data: Ref<TData>;\n\n /** Refetches the query. */\n readonly refetch: () => unknown;\n}\n\n/**\n * Manages a suspenseful query — the composable AWAITS the first resolution, so a `<script setup>`\n * that awaits it suspends until data is there.\n *\n * ```vue\n * <script setup lang=\"ts\">\n * const { data } = await useAppSuspenseQuery({ key: ['user'], queryFn });\n * </script>\n * ```\n *\n * `@tanstack/vue-query` ships no `useSuspenseQuery` — Vue suspends on an async `setup()` rather than\n * on a thrown promise, so the library exposes `suspense()` on the query result and this awaits it.\n * That makes this composable ASYNC where React's was synchronous, the one shape change the two\n * suspense models force.\n *\n * The caller still owns both boundaries: a `<Suspense>` for loading, and an error boundary for\n * failure — a rejected query rejects this promise and bubbles past the hook.\n */\nexport async function useAppSuspenseQuery<TRaw, TData = TRaw>({\n key,\n queryFn,\n map,\n meta,\n}: AppSuspenseQueryOptions<TRaw, TData>): Promise<AppSuspenseQueryReturn<TData>> {\n const query = useQuery<TRaw, Error, TData, QueryKey>(() => ({\n queryKey: toValue(key),\n queryFn: ({ signal }) => queryFn({ signal }),\n select: map,\n meta,\n }));\n\n const result = await query.suspense();\n if (result.error) throw result.error; // `suspense()` settles on failure too — rethrow for the boundary\n\n // `data` is `Ref<TData | undefined>` in general; the await above is what makes it defined here.\n return { data: query.data as Ref<TData>, refetch: query.refetch };\n}\n","import { defineComponent, onScopeDispose, watch } from 'vue';\nimport { useIsFetching, useIsMutating } from '@tanstack/vue-query';\n\n// Deep import (not the `../router` barrel): the barrel statically imports vue-router, and a barrel\n// import here would merge the whole router graph into the shared chunk `/query` loads — breaking\n// `/query`'s isolation from the OPTIONAL vue-router peer. `UseNavigationProgress` is plain Vue.\nimport { useNavigationProgress } from '../router/UseNavigationProgress';\n\n/**\n * Lights the router's manual heartbeat while the query layer has any fetch or mutation in flight.\n *\n * Call inside BOTH a query client scope (`queryPlugin` / `<QueryProvider>`) and a `<ProgressProvider>`\n * — `useNavigationProgress` THROWS outside one. Wires effects only; it drives\n * `<NavigationProgress variant=\"heartbeat\" mode=\"manual\" />`.\n */\nexport function useQueryProgressBridge(): void {\n const fetching = useIsFetching();\n const mutating = useIsMutating();\n const { begin } = useNavigationProgress();\n\n let end: (() => void) | null = null;\n\n // Open a manual busy span on 0→>0, close it on >0→0. `flush: 'sync'` is deliberately NOT used —\n // the default pre-flush is enough, and the callback touches no browser global, so it is SSR-safe\n // even though `immediate` runs it on the server.\n watch(\n () => fetching.value + mutating.value,\n (activity) => {\n if (activity > 0 && end === null) end = begin();\n else if (activity === 0 && end !== null) {\n end();\n end = null;\n }\n },\n { immediate: true },\n );\n\n // Close any still-open span when the bridge's scope is disposed mid-request.\n onScopeDispose(() => {\n end?.();\n end = null;\n });\n}\n\n/**\n * Renders nothing; wires `useQueryProgressBridge`.\n *\n * The component form React shipped, kept so an app can drop `<QueryProgressBridge />` into its\n * shell unchanged. Authored as a `defineComponent` rather than an SFC — it has no template.\n */\nexport const QueryProgressBridge = defineComponent({\n name: 'QueryProgressBridge',\n setup() {\n useQueryProgressBridge();\n return () => null;\n },\n});\n","<script lang=\"ts\">\n/** Defines the props for {@link QueryDevtools}. */\nexport interface QueryDevtoolsProps {\n /** Whether the panel starts open. Default `false`. */\n initialIsOpen?: boolean;\n}\n\n/*\n * The devtools specifier, assembled at runtime.\n *\n * `@tanstack/vue-query-devtools` is NOT a dependency of this package — devtools are the app's\n * choice, and a library must not force one. A literal specifier would make the bundler resolve\n * (and therefore require) it at build time even inside a dead `import.meta.env.DEV` branch, so the\n * string is built here and the import stays opaque. The app installs the package to get the panel;\n * without it the component renders nothing and says nothing.\n */\nconst DevtoolsPackage = ['@tanstack', 'vue-query-devtools'].join('/');\n</script>\n\n<script setup lang=\"ts\">\nimport { onMounted, shallowRef, type Component } from 'vue';\n\n/** Renders the TanStack Query devtools in dev only, when the optional devtools package is installed. */\ndefineOptions({ name: 'QueryDevtools' });\n\nconst props = withDefaults(defineProps<QueryDevtoolsProps>(), { initialIsOpen: false });\n\nconst devtools = shallowRef<Component | null>(null);\n\n// `onMounted` never runs on the server, and the import is dev-only — production tree-shakes the\n// branch away because `import.meta.env.DEV` is statically false there.\nonMounted(async () => {\n if (!import.meta.env.DEV) return;\n try {\n const module = (await import(/* @vite-ignore */ DevtoolsPackage)) as { VueQueryDevtools?: Component };\n devtools.value = module.VueQueryDevtools ?? null;\n } catch {\n // Devtools not installed — the normal case for an app that never opted in.\n }\n});\n</script>\n\n<template>\n <component :is=\"devtools\" v-if=\"devtools\" :initial-is-open=\"props.initialIsOpen\" />\n</template>\n","import { dehydrate, hydrate, type DehydratedState, type QueryClient } from '@tanstack/vue-query';\n\nconst DefaultStorageKey = 'app:query-cache';\nconst DefaultMaxAgeMs = 24 * 60 * 60_000; // 24h\nconst WriteThrottleMs = 1_000;\n\n/** The envelope written to storage — the dehydrated cache plus what restore has to validate before trusting it. */\ninterface PersistedSnapshot {\n readonly buster: string;\n readonly timestamp: number;\n readonly state: DehydratedState;\n}\n\n/** Defines options for `setupQueryPersistence`. */\nexport interface SetupQueryPersistenceOptions {\n /** The `localStorage` key the dehydrated cache is written under. */\n readonly storageKey?: string;\n /** The max age of a restored cache in ms; an older cache is discarded on restore. */\n readonly maxAgeMs?: number;\n /** A cache-busting string; a mismatch discards the persisted cache. */\n readonly buster?: string;\n}\n\n/** Represents the handles returned by `setupQueryPersistence`. */\nexport interface QueryPersistenceHandle {\n /** Stops persisting further cache changes. */\n readonly unsubscribe: () => void;\n /** Resolves once the persisted cache has been restored into the client. */\n readonly restored: Promise<void>;\n}\n\n/**\n * Wires `localStorage` persistence for the query cache (opt-in — call from `main.ts`); returns null\n * when there is no `window` (SSR-safe).\n *\n * Built on `dehydrate` / `hydrate` straight out of `@tanstack/vue-query` rather than on the\n * `persist-client` + `sync-storage-persister` package pair the React version used: those two are\n * separate installs, and the whole of what they add over this is an async persister interface this\n * synchronous store does not need. The restore is therefore SYNCHRONOUS — the cache is already\n * hydrated when the call returns, and `restored` is an already-settled promise kept for API parity.\n *\n * Caveats to weigh before opting in:\n * - **Sensitive data** — every successful query dehydrates into `localStorage` in plain text,\n * including authenticated user data; any script on the origin can read it. Do not enable on apps\n * whose cache holds secrets/PII, or scope what queries cache to begin with.\n * - **Version busting** — pass `buster` (e.g. the app version) whenever a release changes cached\n * shapes; a restored stale shape otherwise flows into typed hooks unchecked.\n * - **Quota** — a full `localStorage` makes the write silently fail (no retry strategy is wired);\n * the app keeps working, persistence just lags.\n * - **Temporal revive** — payloads parsed via `reviveTemporal` serialize to ISO strings and are\n * restored WITHOUT re-reviving: restored entries hold plain strings where live fetches hold\n * `Temporal.*` objects. Don't combine persistence with `reviveTemporal` yet.\n */\nexport function setupQueryPersistence(\n client: QueryClient,\n options: SetupQueryPersistenceOptions = {},\n): QueryPersistenceHandle | null {\n if (typeof window === 'undefined') return null;\n\n const { storageKey = DefaultStorageKey, maxAgeMs = DefaultMaxAgeMs, buster = '' } = options;\n\n restore(client, storageKey, maxAgeMs, buster);\n\n // Throttled: a burst of cache events (one query settling touches the cache several times) must not\n // serialize the whole cache once per event.\n let timer: ReturnType<typeof setTimeout> | null = null;\n const schedule = (): void => {\n if (timer !== null) return;\n timer = setTimeout(() => {\n timer = null;\n write(client, storageKey, buster);\n }, WriteThrottleMs);\n };\n\n const unsubscribeQueries = client.getQueryCache().subscribe(schedule);\n const unsubscribeMutations = client.getMutationCache().subscribe(schedule);\n\n return {\n unsubscribe: () => {\n unsubscribeQueries();\n unsubscribeMutations();\n if (timer !== null) {\n clearTimeout(timer);\n timer = null;\n }\n },\n restored: Promise.resolve(),\n };\n}\n\n/** Hydrates the client from storage when the snapshot is present, current, and matches the buster. */\nfunction restore(client: QueryClient, storageKey: string, maxAgeMs: number, buster: string): void {\n try {\n const raw = window.localStorage.getItem(storageKey);\n if (!raw) return;\n\n const snapshot = JSON.parse(raw) as PersistedSnapshot;\n const isStale = Date.now() - snapshot.timestamp > maxAgeMs;\n if (snapshot.buster !== buster || isStale) {\n window.localStorage.removeItem(storageKey);\n return;\n }\n\n hydrate(client, snapshot.state);\n } catch {\n // Unreadable / unparseable / storage unavailable — a missing cache is always a valid state.\n }\n}\n\n/** Serializes the dehydrated cache into storage, tolerating storage being unavailable (private mode / quota). */\nfunction write(client: QueryClient, storageKey: string, buster: string): void {\n try {\n const snapshot: PersistedSnapshot = { buster, timestamp: Date.now(), state: dehydrate(client) };\n window.localStorage.setItem(storageKey, JSON.stringify(snapshot));\n } catch {\n // Persistence is best-effort — swallow.\n }\n}\n"],"names":["_renderSlot","_openBlock","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;AAQO,SAAS,WAAW,OAA0B;AACnD,MAAI,iBAAiB,SAAU,QAAO;AACtC,SAAO,IAAI,SAAS,GAAG,MAAM,gBAAgB,OAAO,eAAe,CAAC;AACtE;ACFA,MAAM,cAAc;AACpB,MAAM,WAAW,IAAI;AAQrB,SAAS,eAAe,OAAyB;AAC/C,SAAO,iBAAiB,kBAAkB,aAAa,KAAK;AAC9D;AAqBO,SAAS,kBAAkB,UAAoC,IAAiB;AACrF,QAAM,cAAc,CAAC,OAAgB,SAAyC;AAC5E,QAAI,eAAe,KAAK,EAAG;AAC3B,QAAI,MAAM,wBAAwB,KAAM;AACxC,YAAQ,UAAU,WAAW,KAAK,GAAG,EAAE,MAAM;AAAA,EAC/C;AACA,QAAM,SAAS,QAAQ,SAAS;AAEhC,SAAO,IAAI,YAAY;AAAA,IACrB,YAAY,IAAI,WAAW,EAAE,SAAS,CAAC,OAAO,UAAU,YAAY,OAAO,MAAM,IAAI,GAAG;AAAA,IACxF,eAAe,IAAI,cAAc;AAAA,MAC/B,SAAS,CAAC,OAAO,YAAY,UAAU,aAAa,YAAY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D,QAAI,SAAS,WAAW,UAAU,SAAS;AACzC,aAAO,aAAa,WAAW,UAAU;AACzC;AAAA,IACF;AAEA,YAAQ,QAAQ,SAAS,KAAK;AAAA,EAChC,QAAQ;AAAA,EAER;AACF;AAGA,SAAS,MAAM,QAAqB,YAAoB,QAAsB;AAC5E,MAAI;AACF,UAAM,WAA8B,EAAE,QAAQ,WAAW,KAAK,OAAO,OAAO,UAAU,MAAM,EAAA;AAC5F,WAAO,aAAa,QAAQ,YAAY,KAAK,UAAU,QAAQ,CAAC;AAAA,EAClE,QAAQ;AAAA,EAER;AACF;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/query/adapters/tanstack/QueryOutcome.ts","../../src/query/adapters/tanstack/CreateQueryClient.ts","../../src/query/adapters/tanstack/QueryProvider.vue","../../src/query/adapters/tanstack/Endpoints.ts","../../src/query/adapters/tanstack/hooks/UseAppQuery.ts","../../src/query/adapters/tanstack/hooks/UseAppInfiniteQuery.ts","../../src/query/adapters/tanstack/hooks/UseAppMutation.ts","../../src/query/adapters/tanstack/OptimisticTransactions.ts","../../src/query/adapters/tanstack/hooks/UseOptimisticMutation.ts","../../src/query/adapters/tanstack/hooks/UseAppQueries.ts","../../src/query/adapters/tanstack/hooks/UseAppPaginatedQuery.ts","../../src/query/PageExtensions.ts","../../src/query/adapters/tanstack/hooks/UseAppLazyQuery.ts","../../src/query/adapters/tanstack/hooks/UseQueryCache.ts","../../src/query/adapters/tanstack/hooks/UsePrefetchQuery.ts","../../src/query/adapters/tanstack/hooks/UseAppSuspenseQuery.ts","../../src/query/adapters/tanstack/QueryProgressBridge.ts","../../src/query/adapters/tanstack/queryDevtools/QueryDevtools.vue","../../src/query/adapters/tanstack/Persistence.ts"],"sourcesContent":["import { CancelledError } from '@tanstack/vue-query';\nimport { ApiError, ApiFailureFactory, type ApiFailure } from '../../../foundation/http';\nimport { isAbortError, isTimeoutError } from '../../../foundation/errors';\nimport { ResultExtensions, type Result } from '../../../foundation/results';\n\n/** Unwraps only at the vendor boundary, where query failure requires rejection. */\nexport async function resolveQueryResult<T>(pending: Promise<Result<T, ApiFailure>>): Promise<T> {\n const outcome = await pending;\n if (!outcome.ok) throw new ApiError(outcome.failure);\n return outcome.value;\n}\n\n/** Returns safe display state; programmer exceptions are never mislabeled as network failures. */\nexport function toApiFailure(error: unknown): ApiFailure {\n if (error instanceof ApiError) return error.failure;\n if (isTimeoutError(error)) return ApiFailureFactory.create('timeout');\n if (error instanceof CancelledError || isAbortError(error)) return ApiFailureFactory.create('cancelled');\n return ApiFailureFactory.create('protocol');\n}\n\n/** Restores expected outcomes after a vendor command, preserving programmer-error rejection. */\nexport async function queryOutcome<T>(run: () => Promise<T>): Promise<Result<T, ApiFailure>> {\n try {\n return ResultExtensions.ok(await run());\n } catch (error) {\n if (error instanceof ApiError || error instanceof CancelledError || isAbortError(error) || isTimeoutError(error)) {\n return ResultExtensions.fail(toApiFailure(error));\n }\n throw error;\n }\n}\n","import { CancelledError, MutationCache, QueryCache, QueryClient } from '@tanstack/vue-query';\n\nimport { isAbortError } from '../../../foundation/errors';\nimport { ApiError, type ApiFailure } from '../../../foundation/http';\n\nimport { computeRetryDelay, DefaultRetryPolicy, shouldRetry, type RetryPolicy } from '../../../foundation/resilience';\n\nimport { toApiFailure } from './QueryOutcome';\n\nconst StaleTimeMs = 30_000;\nconst GcTimeMs = 5 * 60_000;\n\n/** Recognizes vendor cancellation and the transport cancellation failure bridge. */\nfunction isCancellation(error: unknown): boolean {\n return (\n error instanceof CancelledError ||\n isAbortError(error) ||\n (error instanceof ApiError && error.failure.code === 'cancelled')\n );\n}\n\n/**\n * The metadata bag a hook's `meta` option attaches to its query/mutation — free-form keys read back\n * by the global error seam. `suppressGlobalError: true` keeps that call's failures out of the\n * global `onError` (per-query opt-out for polling / boundary-handled errors).\n */\nexport type AppQueryMeta = Record<string, unknown>;\n\n/** Carries the failing query's / mutation's context into the global `onError`. */\nexport interface QueryErrorContext {\n /** The `meta` attached at the call site, or `undefined` when none was set. */\n readonly meta: AppQueryMeta | undefined;\n}\n\n/** Defines options for `createQueryClient`. */\nexport interface CreateQueryClientOptions {\n /**\n * Emits a coerced `ApiFailure` whenever any query or mutation fails. Cancellations and calls whose\n * `meta` sets `suppressGlobalError: true` are skipped; `context.meta` carries the call's `meta`.\n */\n readonly onError?: (error: ApiFailure, context: QueryErrorContext) => void;\n\n /**\n * The retry policy for transient query failures (backoff · jitter · retryable statuses). Default\n * `DefaultRetryPolicy`. Mutations never retry; `onRetry` is transport-level only — the TanStack\n * retry seam has no pre-retry hook, so it is not invoked here.\n */\n readonly retry?: RetryPolicy;\n}\n\n/**\n * Creates the app `QueryClient` — house defaults (30s stale · 5m gc · no focus-refetch · mutations\n * no-retry) + a configurable `RetryPolicy` + global error coercion to `ApiFailure`.\n */\nexport function createQueryClient(options: CreateQueryClientOptions = {}): QueryClient {\n const handleError = (error: unknown, meta: AppQueryMeta | undefined): void => {\n if (isCancellation(error)) return;\n if (meta?.suppressGlobalError === true) return;\n options.onError?.(toApiFailure(error), { meta });\n };\n const policy = options.retry ?? DefaultRetryPolicy;\n\n return new QueryClient({\n queryCache: new QueryCache({ onError: (error, query) => handleError(error, query.meta) }),\n mutationCache: new MutationCache({\n onError: (error, _variables, _context, mutation) => handleError(error, mutation.meta),\n }),\n defaultOptions: {\n queries: {\n staleTime: StaleTimeMs,\n gcTime: GcTimeMs,\n refetchOnWindowFocus: false,\n retry: (failureCount, error) =>\n error instanceof ApiError &&\n ['http', 'transport'].includes(error.failure.code) &&\n shouldRetry(policy, failureCount, error.status),\n retryDelay: (attemptIndex) => computeRetryDelay(policy, attemptIndex + 1),\n },\n mutations: { retry: 0 },\n },\n });\n}\n","<script lang=\"ts\">\nimport type { QueryClient } from '@tanstack/vue-query';\n\n/** Defines the props for {@link QueryProvider}. */\nexport interface QueryProviderProps {\n /** The app client captured at mount; remount the provider to replace its query scope. */\n readonly client: QueryClient;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { onMounted, onUnmounted, provide } from 'vue';\n// `QueryClient` is already imported as a TYPE by the plain `<script>` block above — the two blocks\n// compile into ONE module, so only the injection-key VALUE comes in here.\nimport { VUE_QUERY_CLIENT } from '@tanstack/vue-query';\n\n/**\n * Renders no element of its own — the slot passes straight through — while mounting the app `QueryClient`\n * above that subtree.\n *\n * `@tanstack/vue-query` ships no `QueryClientProvider` component — it installs as an app plugin\n * (`queryPlugin`). This is the component form, built on the same injection key the library's own\n * `useQueryClient()` reads, so every hook in this module works underneath it. Use it when a SUBTREE\n * (or a test) needs its own client; use `queryPlugin` for the whole app.\n *\n * `client.mount()` runs from `onMounted`, which never executes on the server — the plugin skips it\n * there for the same reason: mounting subscribes the focus / online managers to browser globals.\n */\ndefineOptions({ name: 'QueryProvider' });\n\ndefineSlots<{\n /** The subtree with access to the client. */\n default(): unknown;\n}>();\n\nconst props = defineProps<QueryProviderProps>();\nconst client = props.client;\n\nprovide(VUE_QUERY_CLIENT, client);\n\nonMounted(() => client.mount());\nonUnmounted(() => client.unmount());\n</script>\n\n<template>\n <slot />\n</template>\n","import type { ApiFailure } from '../../../foundation/http';\nimport type { Result } from '../../../foundation/results';\n// Typed endpoint definitions — the generic core of a query-factory registry (the data-layer\n// `definePath`). An app declares per-resource factories over `defineEndpoint`\n// (`const codesApi = { list: (q?: string) => defineEndpoint({ key: …, queryFn: … }) }`); this module\n// owns only the typing core — key + fetcher declared once, together, so the pairing can never desync.\n// A def is a plain `{ key, queryFn }`: it spreads into `useAppQuery` / `useAppSuspenseQuery` /\n// `useAppLazyQuery`, feeds `usePrefetchQuery` / `prefetchProps` / `useQueryCache().prefetch` whole,\n// The house query adapters unwrap Result at the TanStack rejection boundary; raw vendor fetchers\n// must explicitly adapt the outcome rather than cache the Result object as payload.\n// Mutations stay plain client calls into `useAppMutation` — no def shape for writes (an\n// `useOptimisticMutation` target may reuse a def's `key` to locate the cached read it patches).\n\nimport type { QueryKey } from '@tanstack/vue-query';\n\n/** Defines a typed endpoint — a query key fused with the fetcher that fills it. */\nexport interface Endpoint<TRaw> {\n /** The query key this endpoint caches under — the same key every consuming surface reads. */\n readonly key: QueryKey;\n\n /** Fetches the raw payload; receives the abort signal so the request cancels with the query. */\n readonly queryFn: (context: { signal: AbortSignal }) => Promise<Result<TRaw, ApiFailure>>;\n}\n\n/** Defines a parameterized endpoint factory — call with the endpoint's args for a def keyed to them. */\nexport type EndpointFn<TArgs extends ReadonlyArray<unknown>, TRaw> = (...args: TArgs) => Endpoint<TRaw>;\n\n/**\n * Creates a typed endpoint definition — constrains the shape, infers `TRaw` from the fetcher, and\n * returns the def unchanged (pure typing; deleting the call leaves valid code).\n */\nexport function defineEndpoint<TRaw>(endpoint: Endpoint<TRaw>): Endpoint<TRaw> {\n return endpoint;\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { Result } from '../../../../foundation/results';\nimport { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQuery, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiFailure } from '../../../../foundation/http';\n\nimport type { AppQueryMeta } from '../CreateQueryClient';\nimport { toApiFailure } from '../QueryOutcome';\n\n/**\n * Defines options for `useAppQuery` — `TRaw` first so it infers from `queryFn` (a spread def) and\n * `TData` defaults to it when `map` is absent.\n */\nexport interface UseAppQueryOptions<TRaw, TData = TRaw> {\n /** The cache key (from `queryKeys`). A ref or getter re-keys the query reactively. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches the raw payload; receives the `AbortSignal` so the request cancels on unmount. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<Result<TRaw, ApiFailure>>;\n\n /** Maps the raw payload to the domain shape — identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n\n /** Gates the query — skips fetching while `false`. A ref or getter toggles it reactively. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n\n /** Metadata for the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a single-resource query's slice — every member reactive. */\nexport interface UseAppQueryReturn<TData> {\n /** The mapped domain payload, or `undefined` until it resolves. */\n readonly data: Ref<TData | undefined>;\n\n /** True while there is no data yet and a fetch is in flight. */\n readonly loading: ComputedRef<boolean>;\n\n /** The failure coerced to `ApiFailure`, or `null`. */\n readonly error: ComputedRef<ApiFailure | null>;\n\n /** Refetches the query. */\n readonly refetch: () => unknown;\n}\n\n/**\n * Manages a single-resource query — wraps `useQuery`, maps raw→domain via `select`, and coerces\n * failures to `ApiFailure`.\n *\n * Returns REFS, not values: `@tanstack/vue-query` hands back a ref per field, and a composable that\n * unwrapped them would freeze at the first render. Read `data.value` (or bind `data` in a template).\n */\nexport function useAppQuery<TRaw, TData = TRaw>({\n key,\n queryFn,\n map,\n enabled,\n meta,\n}: UseAppQueryOptions<TRaw, TData>): UseAppQueryReturn<TData> {\n // A getter for the WHOLE options object: `key` and `enabled` are `MaybeRefOrGetter`, and this is\n // the one form that re-evaluates every one of them together on each dependency change.\n const query = useQuery<TRaw, Error, TData, QueryKey>(() => ({\n queryKey: toValue(key),\n queryFn: ({ signal }) => resolveQueryResult(queryFn({ signal })),\n select: map ?? ((raw: TRaw) => raw as unknown as TData),\n enabled: toValue(enabled),\n meta,\n }));\n\n return {\n data: query.data,\n loading: computed(() => query.isPending.value && query.isFetching.value),\n error: computed(() => (query.error.value ? toApiFailure(query.error.value) : null)),\n refetch: query.refetch,\n };\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { Result } from '../../../../foundation/results';\nimport { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useInfiniteQuery, type InfiniteData, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiFailure } from '../../../../foundation/http';\n\nimport type { AppQueryMeta } from '../CreateQueryClient';\nimport { toApiFailure } from '../QueryOutcome';\n\n/** Defines options for `useAppInfiniteQuery`. */\nexport interface UseAppInfiniteQueryOptions<TItem, TPage> {\n /** The cache key (from `queryKeys`). */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches one page for `pageParam`; receives the `AbortSignal`. */\n readonly queryFn: (ctx: { pageParam: unknown; signal: AbortSignal }) => Promise<Result<TPage, ApiFailure>>;\n\n /** Derives the next page's param from the last page — return `undefined`/`null` to stop. */\n readonly getNextPageParam: (lastPage: TPage, allPages: ReadonlyArray<TPage>) => unknown;\n\n /** The param for the first page. */\n readonly initialPageParam: unknown;\n\n /** Extracts items from a page — the page itself is the item array when omitted. */\n readonly mapPage?: (page: TPage) => ReadonlyArray<TItem>;\n\n /** Poll interval in ms, or a fn of the current items → ms / `false` (poll-while-running). */\n readonly refetchInterval?: number | ((items: ReadonlyArray<TItem>) => number | false);\n\n /** Gates the query — skips fetching while `false`. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n\n /**\n * Metadata for the global `onError` seam — `suppressGlobalError: true` keeps this query's failures\n * out (e.g. polls that would otherwise toast per failed refetch).\n */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents an infinite query's slice — every member reactive. */\nexport interface UseAppInfiniteQueryReturn<TItem> {\n /** Every fetched page flattened to items. */\n readonly items: ComputedRef<ReadonlyArray<TItem>>;\n\n /** True while there is no page yet and a fetch is in flight. */\n readonly loading: ComputedRef<boolean>;\n\n /** The failure coerced to `ApiFailure`, or `null`. */\n readonly error: ComputedRef<ApiFailure | null>;\n\n /** Whether another page can be fetched. */\n readonly hasNextPage: Ref<boolean>;\n\n /** Fetches the next page. */\n readonly fetchNextPage: (...args: never[]) => unknown;\n\n /** True while the next page is in flight. */\n readonly isFetchingNextPage: Ref<boolean>;\n\n /** Refetches every fetched page. */\n readonly refetch: () => unknown;\n}\n\n/** Manages a paginated resource — wraps `useInfiniteQuery`, flattens pages to items, supports poll-while-running. */\nexport function useAppInfiniteQuery<TItem, TPage>({\n key,\n queryFn,\n getNextPageParam,\n initialPageParam,\n mapPage,\n refetchInterval,\n enabled,\n meta,\n}: UseAppInfiniteQueryOptions<TItem, TPage>): UseAppInfiniteQueryReturn<TItem> {\n // A plain closure is enough — Vue recomputes only when a tracked dependency changes.\n const extract = (page: TPage): ReadonlyArray<TItem> =>\n mapPage ? mapPage(page) : (page as unknown as ReadonlyArray<TItem>);\n\n const query = useInfiniteQuery<TPage, Error, InfiniteData<TPage, unknown>, QueryKey, unknown>(() => ({\n queryKey: toValue(key),\n queryFn: ({ pageParam, signal }) => resolveQueryResult(queryFn({ pageParam, signal })),\n getNextPageParam,\n initialPageParam,\n enabled: toValue(enabled),\n meta,\n refetchInterval:\n refetchInterval === undefined\n ? undefined\n : (query_) => {\n if (typeof refetchInterval === 'number') return refetchInterval;\n const current = (query_.state.data?.pages ?? []).flatMap((page) => [...extract(page)]);\n return refetchInterval(current);\n },\n }));\n\n return {\n items: computed(() => (query.data.value?.pages ?? []).flatMap((page) => [...extract(page)])),\n loading: computed(() => query.isPending.value && query.isFetching.value),\n error: computed(() => (query.error.value ? toApiFailure(query.error.value) : null)),\n hasNextPage: query.hasNextPage,\n fetchNextPage: query.fetchNextPage,\n isFetchingNextPage: query.isFetchingNextPage,\n refetch: query.refetch,\n };\n}\n","import { queryOutcome } from '../QueryOutcome';\nimport { resolveQueryResult } from '../QueryOutcome';\nimport type { Result } from '../../../../foundation/results';\nimport { computed, type ComputedRef, type Ref } from 'vue';\nimport { useMutation, useQueryClient, type QueryClient, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiFailure } from '../../../../foundation/http';\n\nimport type { AppQueryMeta } from '../CreateQueryClient';\nimport { toApiFailure } from '../QueryOutcome';\n\n/** Defines options for `useAppMutation`. */\nexport interface UseAppMutationOptions<TData, TVars> {\n /** Performs the mutation against the backend. */\n readonly mutationFn: (vars: TVars) => Promise<Result<TData, ApiFailure>>;\n\n /** Query keys to invalidate on success — derived from the vars and the server's returned value. */\n readonly invalidates?: (vars: TVars, data: TData) => ReadonlyArray<QueryKey>;\n\n /** Reconciles the cache from the server's confirmed result (e.g. `setQueryData`) after invalidation. */\n readonly onConfirmed?: (data: TData, vars: TVars, queryClient: QueryClient) => void;\n\n /** Metadata for the global `onError` seam — `suppressGlobalError: true` keeps this mutation's failures out. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a mutation's slice — state as refs, commands as plain functions. */\nexport interface UseAppMutationReturn<TData, TVars> {\n /** Fires the mutation, fire-and-forget. */\n readonly mutate: (vars: TVars) => void;\n\n /** Fires the mutation and resolves with its result. */\n readonly mutateAsync: (vars: TVars) => Promise<Result<TData, ApiFailure>>;\n\n /** The last successful result. */\n readonly data: Ref<TData | undefined>;\n\n /** True while the mutation is in flight. */\n readonly loading: Ref<boolean>;\n\n /** The failure coerced to `ApiFailure`, or `null`. */\n readonly error: ComputedRef<ApiFailure | null>;\n\n /** Clears the mutation back to idle. */\n readonly reset: () => void;\n}\n\n/**\n * Manages a passive mutation — reconciles the cache only from the backend-confirmed result; no\n * optimistic update, no rollback.\n */\nexport function useAppMutation<TData, TVars>({\n mutationFn,\n invalidates,\n onConfirmed,\n meta,\n}: UseAppMutationOptions<TData, TVars>): UseAppMutationReturn<TData, TVars> {\n const queryClient = useQueryClient();\n\n const mutation = useMutation<TData, Error, TVars>({\n mutationFn: (vars) => resolveQueryResult(mutationFn(vars)),\n meta,\n onSuccess: async (data, vars) => {\n const keys = invalidates?.(vars, data) ?? [];\n await Promise.all(keys.map((queryKey) => queryClient.invalidateQueries({ queryKey })));\n onConfirmed?.(data, vars, queryClient);\n },\n });\n\n return {\n mutate: mutation.mutate,\n mutateAsync: (vars) => queryOutcome(() => mutation.mutateAsync(vars)),\n data: mutation.data,\n loading: mutation.isPending,\n error: computed(() => (mutation.error.value ? toApiFailure(mutation.error.value) : null)),\n reset: mutation.reset,\n };\n}\n","import type { QueryClient } from '@tanstack/vue-query';\n\nconst tails = new WeakMap<QueryClient, Promise<void>>();\n\n/** Serializes optimistic cache transactions per client so rollback never erases a later write. */\nexport async function runOptimisticTransaction<T>(client: QueryClient, run: () => Promise<T>): Promise<T> {\n const previous = tails.get(client) ?? Promise.resolve();\n let release!: () => void;\n const current = new Promise<void>((resolve) => {\n release = resolve;\n });\n tails.set(client, current);\n await previous;\n try {\n return await run();\n } finally {\n release();\n if (tails.get(client) === current) tails.delete(client);\n }\n}\n","import { runOptimisticTransaction } from '../OptimisticTransactions';\nimport { queryOutcome } from '../QueryOutcome';\nimport { resolveQueryResult } from '../QueryOutcome';\nimport type { ApiFailure } from '../../../../foundation/http';\nimport type { Result } from '../../../../foundation/results';\nimport { computed } from 'vue';\nimport { useMutation, useQueryClient, type QueryKey } from '@tanstack/vue-query';\n\nimport type { Endpoint } from '../Endpoints';\nimport { toApiFailure } from '../QueryOutcome';\nimport type { UseAppMutationReturn } from './UseAppMutation';\n\n/** Defines one cached query an optimistic mutation patches — where it lives and how it changes. */\nexport interface OptimisticTarget<TVars, TCached = unknown> {\n /** Locates the cached entry to patch — a query key, or an endpoint def (patched at its `key`). */\n readonly key: QueryKey | Endpoint<TCached>;\n\n /**\n * Produces the next cached value from the current one and the mutation vars — pure, no side effects.\n * `current` is `undefined` when the key holds no data yet; returning a value then seeds the entry\n * (and rollback removes the seed).\n */\n // Method syntax on purpose: its bivariant parameters let targets of different `TCached` shapes\n // (each annotating its own `current`) share one `targets` array typed `ReadonlyArray<OptimisticTarget<TVars>>`.\n apply(current: TCached | undefined, vars: TVars): TCached;\n}\n\n/** Defines options for `useOptimisticMutation`. */\nexport interface UseOptimisticMutationOptions<TData, TVars> {\n /** Performs the mutation against the backend. */\n readonly mutationFn: (vars: TVars) => Promise<Result<TData, ApiFailure>>;\n\n /**\n * The cached queries this mutation patches — each is cancelled, snapshotted, and applied before\n * the request fires, then rolled back on error.\n */\n readonly targets: ReadonlyArray<OptimisticTarget<TVars>>;\n\n /**\n * Invalidates every target key once the mutation settles (success or error) so the server truth\n * reconciles the patch — `true` when omitted.\n */\n readonly invalidateOnSettle?: boolean;\n}\n\n/** A per-target snapshot taken before the patch — the unit of rollback. */\ninterface TargetSnapshot {\n readonly queryKey: QueryKey;\n readonly previous: unknown;\n}\n\n/** Resolves a target locator to its query key — unwraps an endpoint def, passes a bare key through. */\nfunction resolveKey(key: QueryKey | Endpoint<unknown>): QueryKey {\n return 'queryFn' in key ? key.key : key;\n}\n\n/**\n * Manages an optimistic mutation — cancel + snapshot + patch every target on mutate, roll the\n * patches back on error, reconcile with the server on settle. Transactions serialize per client\n * through reconciliation, preventing an older rollback from erasing a later write. Independent\n * clients remain independent. Target apply functions must be pure; `useAppMutation` is the passive default.\n */\nexport function useOptimisticMutation<TData, TVars>({\n mutationFn,\n targets,\n invalidateOnSettle = true,\n}: UseOptimisticMutationOptions<TData, TVars>): UseAppMutationReturn<TData, TVars> {\n const queryClient = useQueryClient();\n\n const mutation = useMutation<TData, Error, TVars>({\n mutationFn: (vars) =>\n runOptimisticTransaction(queryClient, async () => {\n const keys = targets.map((target) => resolveKey(target.key));\n await Promise.all(keys.map((queryKey) => queryClient.cancelQueries({ queryKey, exact: true })));\n const snapshots: TargetSnapshot[] = [];\n try {\n for (const target of targets) {\n const queryKey = resolveKey(target.key);\n const previous = queryClient.getQueryData(queryKey);\n snapshots.push({ queryKey, previous });\n queryClient.setQueryData(queryKey, () => target.apply(previous, vars));\n }\n return await resolveQueryResult(mutationFn(vars));\n } catch (error) {\n // Reverse order also restores duplicate targets to the transaction's initial value.\n for (const { queryKey, previous } of [...snapshots].reverse()) {\n if (previous === undefined) queryClient.removeQueries({ queryKey, exact: true });\n else queryClient.setQueryData(queryKey, () => previous);\n }\n throw error;\n } finally {\n // The transaction stays locked through reconciliation; the next snapshot sees settled data.\n if (invalidateOnSettle)\n await Promise.all(keys.map((queryKey) => queryClient.invalidateQueries({ queryKey, exact: true })));\n }\n }),\n });\n\n return {\n mutate: mutation.mutate,\n mutateAsync: (vars) => queryOutcome(() => mutation.mutateAsync(vars)),\n data: mutation.data,\n loading: mutation.isPending,\n error: computed(() => (mutation.error.value ? toApiFailure(mutation.error.value) : null)),\n reset: mutation.reset,\n };\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { Result } from '../../../../foundation/results';\nimport { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQueries, type QueryKey, type QueryObserverResult } from '@tanstack/vue-query';\n\nimport type { ApiFailure } from '../../../../foundation/http';\n\nimport { toApiFailure } from '../QueryOutcome';\n\n/**\n * Defines one entry in a parallel `useAppQueries` batch — `TRaw` first so it infers from `queryFn`\n * (a spread def) and `TData` defaults to it when `map` is absent.\n */\nexport interface AppQueriesEntry<TRaw, TData = TRaw> {\n /** The cache key (from `queryKeys`). */\n readonly key: QueryKey;\n\n /** Fetches this entry's raw payload; receives the `AbortSignal` so the request cancels on unmount. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<Result<TRaw, ApiFailure>>;\n\n /** Maps the raw payload to the domain shape — identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n}\n\n/** Represents one entry's slice of a `useAppQueries` batch. */\nexport interface AppQueryState<TData> {\n /** The mapped domain payload, or `undefined` until this entry resolves. */\n readonly data: TData | undefined;\n\n /** True while this entry has no data yet and a fetch is in flight. */\n readonly loading: boolean;\n\n /** This entry's failure coerced to `ApiFailure`, or `null`. */\n readonly error: ApiFailure | null;\n}\n\n/** Defines options for `useAppQueries`. */\nexport interface UseAppQueriesOptions<TRaw, TData = TRaw> {\n /** The queries to run in parallel — the count may vary. A ref or getter re-builds the batch reactively. */\n readonly queries: MaybeRefOrGetter<ReadonlyArray<AppQueriesEntry<TRaw, TData>>>;\n\n /** Gates the whole batch — skips fetching every entry while `false`. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n}\n\n/** Represents a parallel batch's aggregated slice — every member reactive. */\nexport interface UseAppQueriesReturn<TData> {\n /** One slice per entry, in the order they were given. */\n readonly results: ComputedRef<ReadonlyArray<AppQueryState<TData>>>;\n\n /** Just the payloads, positionally aligned with the entries. */\n readonly data: ComputedRef<ReadonlyArray<TData | undefined>>;\n\n /** True while any entry is still loading. */\n readonly loading: ComputedRef<boolean>;\n\n /** Every entry's failure, coerced. */\n readonly errors: ComputedRef<ReadonlyArray<ApiFailure>>;\n}\n\n/**\n * Manages a dynamic batch of parallel queries — wraps `useQueries`, maps each raw→domain, and\n * aggregates loading/errors.\n */\nexport function useAppQueries<TRaw, TData = TRaw>({\n queries,\n enabled,\n}: UseAppQueriesOptions<TRaw, TData>): UseAppQueriesReturn<TData> {\n // `useQueries` types its result off a tuple of per-entry option types; a homogeneous, run-time\n // sized array cannot be expressed that way, so the result is asserted — the same widening the\n // React original applied to `UseQueryResult<TData, Error>[]`.\n const results = useQueries({\n queries: computed(() =>\n toValue(queries).map((entry) => ({\n queryKey: entry.key,\n queryFn: ({ signal }: { signal: AbortSignal }) => resolveQueryResult(entry.queryFn({ signal })),\n select: entry.map ?? ((raw: TRaw) => raw as unknown as TData),\n enabled: toValue(enabled),\n })),\n ),\n }) as unknown as Ref<ReadonlyArray<QueryObserverResult<TData, Error>>>;\n\n const mapped = computed<ReadonlyArray<AppQueryState<TData>>>(() =>\n results.value.map((query) => ({\n data: query.data,\n loading: query.isPending && query.isFetching,\n error: query.error ? toApiFailure(query.error) : null,\n })),\n );\n\n return {\n results: mapped,\n data: computed(() => mapped.value.map((result) => result.data)),\n loading: computed(() => mapped.value.some((result) => result.loading)),\n errors: computed(() => mapped.value.flatMap((result) => (result.error ? [result.error] : []))),\n };\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { Result } from '../../../../foundation/results';\nimport { computed, toValue, type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { keepPreviousData, useQuery, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiFailure } from '../../../../foundation/http';\n\nimport type { AppQueryMeta } from '../CreateQueryClient';\nimport { toApiFailure } from '../QueryOutcome';\n\n/** Defines options for `useAppPaginatedQuery`. */\nexport interface UseAppPaginatedQueryOptions<TItem, TPage> {\n /** The base cache key (from `queryKeys`) — the active `page` is appended to form the per-page key. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches one page; receives the controlled `page` and the `AbortSignal`. */\n readonly queryFn: (ctx: { page: number; signal: AbortSignal }) => Promise<Result<TPage, ApiFailure>>;\n\n /**\n * The controlled page index — the caller owns it; changing it loads that page. A ref or getter\n * drives it reactively.\n */\n readonly page: MaybeRefOrGetter<number>;\n\n /** Extracts items from a page — the page itself is the item array when omitted. */\n readonly mapPage?: (page: TPage) => ReadonlyArray<TItem>;\n\n /** Gates the query — skips fetching while `false`. */\n readonly enabled?: MaybeRefOrGetter<boolean>;\n\n /** Metadata for the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a page/offset paginated query's slice — every member reactive. */\nexport interface UseAppPaginatedQueryReturn<TItem, TPage> {\n /** The current page's items. */\n readonly items: ComputedRef<ReadonlyArray<TItem>>;\n\n /**\n * The raw page as fetched (`TPage`) — total count / page count / `hasMore` live here; `undefined`\n * until the first page resolves. While `isPlaceholder`, it is the held previous page.\n */\n readonly page: Ref<TPage | undefined>;\n\n /** True while there is no page yet and a fetch is in flight. */\n readonly loading: ComputedRef<boolean>;\n\n /** The failure coerced to `ApiFailure`, or `null`. */\n readonly error: ComputedRef<ApiFailure | null>;\n\n /** True while the held previous page is being shown during a page change. */\n readonly isPlaceholder: Ref<boolean>;\n\n /** Refetches the active page. */\n readonly refetch: () => unknown;\n}\n\n/**\n * Manages page/offset pagination — wraps `useQuery` with `keepPreviousData` so the list holds\n * steady between pages.\n */\nexport function useAppPaginatedQuery<TItem, TPage>({\n key,\n queryFn,\n page,\n mapPage,\n enabled,\n meta,\n}: UseAppPaginatedQueryOptions<TItem, TPage>): UseAppPaginatedQueryReturn<TItem, TPage> {\n const query = useQuery<TPage, Error, TPage, QueryKey>(() => {\n const currentPage = toValue(page);\n return {\n queryKey: [...toValue(key), currentPage],\n queryFn: ({ signal }) => resolveQueryResult(queryFn({ page: currentPage, signal })),\n placeholderData: keepPreviousData,\n enabled: toValue(enabled),\n meta,\n };\n });\n\n const items = computed<ReadonlyArray<TItem>>(() => {\n const data = query.data.value;\n if (data === undefined) return [];\n return mapPage ? mapPage(data) : (data as unknown as ReadonlyArray<TItem>);\n });\n\n return {\n items,\n page: query.data,\n loading: computed(() => query.isPending.value && query.isFetching.value),\n error: computed(() => (query.error.value ? toApiFailure(query.error.value) : null)),\n isPlaceholder: query.isPlaceholderData,\n refetch: query.refetch,\n };\n}\n","import type { IHasItems, TokenPage } from '../foundation/http';\n\n// Ergonomic glue between the `foundation/http` pagination contracts (`Page` / `TokenPage`) and the\n// paging hooks — fully additive, so a product binding `TPage = Page<T>` / `TokenPage<T>` drops the\n// hand-written `getNextPageParam` / `mapPage` boilerplate.\n\n/** Extends the `foundation/http` page contracts for the paging hooks (`getNextPageParam` / `mapPage`). */\nexport const PageExtensions = {\n /**\n * A ready `getNextPageParam` for `useAppInfiniteQuery` over `TokenPage` pages — reads `nextPageToken`,\n * returning `undefined` on the last page (an absent token stops paging).\n *\n * `useAppInfiniteQuery<TItem, TokenPage<TItem>>({ getNextPageParam: PageExtensions.byPageToken<TItem>() })`\n */\n byPageToken<TItem, TToken = string>(): (lastPage: TokenPage<TItem, TToken>) => TToken | undefined {\n return (lastPage) => lastPage.nextPageToken;\n },\n\n /**\n * A ready `mapPage` for any `IHasItems` page — pass `mapPage: PageExtensions.pageItems` instead of\n * `(p) => p.items`.\n */\n pageItems<T>(page: IHasItems<T>): ReadonlyArray<T> {\n return page.items;\n },\n} as const;\n","import { resolveQueryResult } from '../QueryOutcome';\nimport { ResultExtensions, type Result } from '../../../../foundation/results';\nimport { onScopeDispose, shallowRef, toValue, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQueryClient, type QueryKey } from '@tanstack/vue-query';\n\nimport type { ApiFailure } from '../../../../foundation/http';\n\nimport type { AppQueryMeta } from '../CreateQueryClient';\nimport { toApiFailure, queryOutcome } from '../QueryOutcome';\n\n/**\n * Defines options for `useAppLazyQuery` — `TRaw` first so it infers from `queryFn` (a spread def)\n * and `TData` defaults to it when `map` is absent.\n */\nexport interface UseAppLazyQueryOptions<TRaw, TData = TRaw> {\n /** The cache key (from `queryKeys`) — read at each `fetch()`, so a ref or getter re-keys the next call. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches the raw payload; receives the `AbortSignal`. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<Result<TRaw, ApiFailure>>;\n\n /** Maps the raw payload to the domain shape — identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n\n /** Metadata for the global `onError` seam — `suppressGlobalError: true` keeps this query's failures out. */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents an imperative query's slice — state as refs, plus the two commands. */\nexport interface UseAppLazyQueryReturn<TData> {\n /** The mapped payload from the latest settled `fetch()`, or `undefined` while idle. */\n readonly data: Ref<TData | undefined>;\n\n /** True while a `fetch()` is in flight. */\n readonly loading: Ref<boolean>;\n\n /** The latest failure coerced to `ApiFailure`, or `null`. */\n readonly error: Ref<ApiFailure | null>;\n\n /** Runs the request on demand; returns the mapped success or expected failure. */\n readonly fetch: () => Promise<Result<TData, ApiFailure>>;\n\n /** Returns the hook to its idle state and orphans any in-flight call. */\n readonly reset: () => void;\n}\n\n/**\n * Manages an imperative query — does not fetch on mount; `fetch()` runs the request on demand,\n * caching by key via the client (which dedupes concurrent calls and serves a still-fresh cache entry\n * without refetching — the client's `staleTime` window applies). Drives local `data`/`loading`/`error`\n * state with latest-call-wins semantics: a slower earlier `fetch()` (or one orphaned by `reset`) never\n * overwrites newer state, though every call's promise still settles with its own outcome. `fetch()`\n * returns the mapped success or expected failure, while `error` holds the coerced `ApiFailure`.\n * For fetch-on-submit / export-on-click flows. `reset` returns it to the idle state.\n */\nexport function useAppLazyQuery<TRaw, TData = TRaw>({\n key,\n queryFn,\n map,\n meta,\n}: UseAppLazyQueryOptions<TRaw, TData>): UseAppLazyQueryReturn<TData> {\n const client = useQueryClient();\n\n const data = shallowRef<TData | undefined>(undefined);\n const loading = shallowRef(false);\n const error = shallowRef<ApiFailure | null>(null);\n\n // Sequences fetches so only the LATEST call writes state — a slow earlier fetch (or one orphaned\n // by `reset`) settling late must not clobber newer data or resurrect a reset hook. The returned\n // promise still settles with its own outcome for every caller. A plain local: never\n // rendered, so reactivity would be waste.\n let sequence = 0;\n\n const fetch = async (): Promise<Result<TData, ApiFailure>> => {\n const current = ++sequence;\n loading.value = true;\n error.value = null;\n try {\n const outcome = await queryOutcome(() =>\n client.fetchQuery<TRaw, Error, TRaw, QueryKey>({\n queryKey: toValue(key),\n queryFn: ({ signal }) => resolveQueryResult(queryFn({ signal })),\n meta,\n }),\n );\n if (!outcome.ok) {\n if (current === sequence) {\n error.value = outcome.failure;\n loading.value = false;\n }\n return outcome;\n }\n const raw = outcome.value;\n const mapped = map ? map(raw) : (raw as unknown as TData);\n if (current === sequence) {\n data.value = mapped;\n loading.value = false;\n }\n return ResultExtensions.ok(mapped);\n } catch (caught) {\n if (current === sequence) {\n error.value = toApiFailure(caught);\n loading.value = false;\n }\n throw caught;\n }\n };\n\n const reset = (): void => {\n sequence += 1; // orphan any in-flight fetch — its late settle no longer writes state\n data.value = undefined;\n error.value = null;\n loading.value = false;\n };\n\n onScopeDispose(reset);\n return { data, loading, error, fetch, reset };\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { ApiFailure } from '../../../../foundation/http';\nimport type { Result } from '../../../../foundation/results';\nimport { useQueryClient, type QueryKey } from '@tanstack/vue-query';\n\n/** Defines a prefetch target for the query cache — a key paired with its fetcher. */\nexport interface QueryCachePrefetch {\n /** The query key to warm — the same key the live query reads. */\n readonly key: QueryKey;\n\n /** Fetches the data to cache; receives the `AbortSignal`. */\n readonly queryFn: (ctx: { signal: AbortSignal }) => Promise<Result<unknown, ApiFailure>>;\n}\n\n/** Defines the imperative cache accessor returned by `useQueryCache`. */\nexport interface QueryCacheApi {\n /** Reads the cached value at `key`, or `undefined` when absent. */\n readonly get: <TData>(key: QueryKey) => TData | undefined;\n\n /** Writes `key` — a value, or an updater `(previous) => next` (the TanStack setter form). */\n readonly set: <TData>(key: QueryKey, data: TData | ((previous: TData | undefined) => TData)) => void;\n\n /** Marks the queries under `key` stale and refetches the active ones. */\n readonly invalidate: (key: QueryKey) => Promise<void>;\n\n /** Removes the queries under `key` from the cache. */\n readonly remove: (key: QueryKey) => void;\n\n /** Warms `key` in the background — deduped against a live query. */\n readonly prefetch: (target: QueryCachePrefetch) => Promise<void>;\n}\n\n/**\n * Provides access to the query cache — imperative get/set/invalidate/remove/prefetch by key,\n * wrapping the active `QueryClient`.\n *\n * Returns a plain object. There is nothing reactive here: every member is a command, and the client\n * is stable for the component's lifetime.\n */\nexport function useQueryCache(): QueryCacheApi {\n const client = useQueryClient();\n\n return {\n get: <TData>(key: QueryKey): TData | undefined => client.getQueryData<TData>(key),\n set: <TData>(key: QueryKey, data: TData | ((previous: TData | undefined) => TData)): void => {\n client.setQueryData<TData>(key, data);\n },\n invalidate: (key: QueryKey): Promise<void> => client.invalidateQueries({ queryKey: key }),\n remove: (key: QueryKey): void => {\n client.removeQueries({ queryKey: key });\n },\n prefetch: ({ key, queryFn }: QueryCachePrefetch): Promise<void> =>\n client.prefetchQuery({ queryKey: key, queryFn: ({ signal }) => resolveQueryResult(queryFn({ signal })) }),\n };\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { ApiFailure } from '../../../../foundation/http';\nimport type { Result } from '../../../../foundation/results';\nimport { useQueryClient, type QueryClient, type QueryKey } from '@tanstack/vue-query';\n\n/** Defines a prefetch target — a query key paired with its fetcher. */\nexport interface PrefetchTarget {\n /** The query key to warm — the same key the live query reads. */\n readonly key: QueryKey;\n\n /** Fetches the data to cache; receives the abort signal the library manages. */\n readonly queryFn: (context: { signal: AbortSignal }) => Promise<Result<unknown, ApiFailure>>;\n}\n\n/**\n * Defines the hover/focus listeners to `v-bind` onto a link for data prefetch.\n *\n * `onMouseenter`, not `onMouseEnter`: Vue derives the DOM event name with `hyphenate()`, so a\n * camel-humped `onMouseEnter` key would bind a `mouse-enter` event that never fires.\n */\nexport interface PrefetchProps {\n /** Warms the target query when the pointer enters the link. */\n readonly onMouseenter: () => void;\n\n /** Warms the target query when the link gains focus. */\n readonly onFocus: () => void;\n}\n\n/** Warms a query's data against a client — a background fetch deduped against the live query. */\nfunction warm(client: QueryClient, { key, queryFn }: PrefetchTarget): void {\n void client.prefetchQuery({ queryKey: key, queryFn: ({ signal }) => resolveQueryResult(queryFn({ signal })) });\n}\n\n/** Manages intent-based data prefetch — returns a `prefetch(target)` that warms a query on hover/focus. */\nexport function usePrefetchQuery(): (target: PrefetchTarget) => void {\n const client = useQueryClient();\n\n return (target: PrefetchTarget) => warm(client, target);\n}\n\n/** Builds hover/focus prefetch listeners. The explicit client isolates app roots and server requests. */\nexport function prefetchProps(target: PrefetchTarget, client: QueryClient): PrefetchProps {\n const run = (): void => {\n warm(client, target);\n };\n return { onMouseenter: run, onFocus: run };\n}\n","import { resolveQueryResult } from '../QueryOutcome';\nimport type { ApiFailure } from '../../../../foundation/http';\nimport type { Result } from '../../../../foundation/results';\nimport { toValue, type MaybeRefOrGetter, type Ref } from 'vue';\nimport { useQuery, type QueryKey } from '@tanstack/vue-query';\n\nimport type { AppQueryMeta } from '../CreateQueryClient';\n\n/**\n * Defines a suspenseful query — a key, a fetcher, and an optional raw→view mapper. `TRaw` first so\n * it infers from `queryFn` (a spread def); `TData` defaults to it when `map` is absent.\n */\nexport interface AppSuspenseQueryOptions<TRaw, TData = TRaw> {\n /** The query key that identifies and caches this query. */\n readonly key: MaybeRefOrGetter<QueryKey>;\n\n /** Fetches the raw data; receives the abort signal the library manages. */\n readonly queryFn: (context: { signal: AbortSignal }) => Promise<Result<TRaw, ApiFailure>>;\n\n /** Maps the raw fetched shape to the view shape; identity when omitted. */\n readonly map?: (raw: TRaw) => TData;\n\n /**\n * Metadata for the global `onError` seam — `suppressGlobalError: true` keeps this query's failures\n * out (boundary-handled errors would otherwise double-surface).\n */\n readonly meta?: AppQueryMeta;\n}\n\n/** Represents a resolved suspenseful query — `data` is already filled when the composable resolves. */\nexport interface AppSuspenseQueryReturn<TData> {\n /** The resolved payload. Defined on resolve, and kept live afterwards. */\n readonly data: Ref<TData>;\n\n /** Refetches the query. */\n readonly refetch: () => unknown;\n}\n\n/**\n * Manages a suspenseful query — the composable AWAITS the first resolution, so a `<script setup>`\n * that awaits it suspends until data is there.\n *\n * ```vue\n * <script setup lang=\"ts\">\n * const { data } = await useAppSuspenseQuery({ key: ['user'], queryFn });\n * </script>\n * ```\n *\n * `@tanstack/vue-query` ships no `useSuspenseQuery` — Vue suspends on an async `setup()` rather than\n * on a thrown promise, so the library exposes `suspense()` on the query result and this awaits it.\n * That makes this composable ASYNC where React's was synchronous, the one shape change the two\n * suspense models force.\n *\n * The caller still owns both boundaries: a `<Suspense>` for loading, and an error boundary for\n * failure — a rejected query rejects this promise and bubbles past the hook.\n */\nexport async function useAppSuspenseQuery<TRaw, TData = TRaw>({\n key,\n queryFn,\n map,\n meta,\n}: AppSuspenseQueryOptions<TRaw, TData>): Promise<AppSuspenseQueryReturn<TData>> {\n const query = useQuery<TRaw, Error, TData, QueryKey>(() => ({\n queryKey: toValue(key),\n queryFn: ({ signal }) => resolveQueryResult(queryFn({ signal })),\n select: map,\n meta,\n }));\n\n const result = await query.suspense();\n if (result.error) throw result.error; // `suspense()` settles on failure too — rethrow for the boundary\n\n // `data` is `Ref<TData | undefined>` in general; the await above is what makes it defined here.\n return { data: query.data as Ref<TData>, refetch: query.refetch };\n}\n","import { defineComponent, onScopeDispose, watch } from 'vue';\nimport { useIsFetching, useIsMutating } from '@tanstack/vue-query';\n\n// Deep import (not the `../router` barrel): the barrel statically imports vue-router, and a barrel\n// import here would merge the whole router graph into the shared chunk `/query` loads — breaking\n// `/query`'s isolation from the OPTIONAL vue-router peer. `UseNavigationProgress` is plain Vue.\nimport { useNavigationProgress } from '../../../router/hooks/UseNavigationProgress';\n\n/**\n * Lights the router's manual heartbeat while the query layer has any fetch or mutation in flight.\n *\n * Call inside BOTH a query client scope (`queryPlugin` / `<QueryProvider>`) and a `<ProgressProvider>`\n * — `useNavigationProgress` THROWS outside one. Wires effects only; it drives\n * `<NavigationProgress variant=\"heartbeat\" mode=\"manual\" />`.\n */\nexport function useQueryProgressBridge(): void {\n const fetching = useIsFetching();\n const mutating = useIsMutating();\n const { begin } = useNavigationProgress();\n\n let end: (() => void) | null = null;\n\n // Open a manual busy span on 0→>0, close it on >0→0. `flush: 'sync'` is deliberately NOT used —\n // the default pre-flush is enough, and the callback touches no browser global, so it is SSR-safe\n // even though `immediate` runs it on the server.\n watch(\n () => fetching.value + mutating.value,\n (activity) => {\n if (activity > 0 && end === null) end = begin();\n else if (activity === 0 && end !== null) {\n end();\n end = null;\n }\n },\n { immediate: true },\n );\n\n // Close any still-open span when the bridge's scope is disposed mid-request.\n onScopeDispose(() => {\n end?.();\n end = null;\n });\n}\n\n/**\n * Renders nothing; wires `useQueryProgressBridge`.\n *\n * The component form React shipped, kept so an app can drop `<QueryProgressBridge />` into its\n * shell unchanged. Authored as a `defineComponent` rather than an SFC — it has no template.\n */\nexport const QueryProgressBridge = defineComponent({\n name: 'QueryProgressBridge',\n setup() {\n useQueryProgressBridge();\n return () => null;\n },\n});\n","<script lang=\"ts\">\n/** Defines the props for {@link QueryDevtools}. */\nexport interface QueryDevtoolsProps {\n /** Whether the panel starts open. Default `false`. */\n readonly initialIsOpen?: boolean;\n}\n\n/*\n * The devtools specifier, assembled at runtime.\n *\n * `@tanstack/vue-query-devtools` is NOT a dependency of this package — devtools are the app's\n * choice, and a library must not force one. A literal specifier would make the bundler resolve\n * (and therefore require) it at build time even inside a dead `import.meta.env.DEV` branch, so the\n * string is built here and the import stays opaque. The app installs the package to get the panel;\n * without it the component renders nothing and says nothing.\n */\nconst DevtoolsPackage = ['@tanstack', 'vue-query-devtools'].join('/');\n</script>\n\n<script setup lang=\"ts\">\nimport { onMounted, shallowRef, type Component } from 'vue';\n\n/** Renders the TanStack Query devtools in dev only, when the optional devtools package is installed. */\ndefineOptions({ name: 'QueryDevtools' });\n\nconst props = withDefaults(defineProps<QueryDevtoolsProps>(), { initialIsOpen: false });\n\nconst devtools = shallowRef<Component | null>(null);\n\n// `onMounted` never runs on the server, and the import is dev-only — production tree-shakes the\n// branch away because `import.meta.env.DEV` is statically false there.\nonMounted(async () => {\n if (!import.meta.env.DEV) return;\n try {\n const module = (await import(/* @vite-ignore */ DevtoolsPackage)) as { VueQueryDevtools?: Component };\n devtools.value = module.VueQueryDevtools ?? null;\n } catch {\n // Devtools not installed — the normal case for an app that never opted in.\n }\n});\n</script>\n\n<template>\n <component :is=\"devtools\" v-if=\"devtools\" :initial-is-open=\"props.initialIsOpen\" />\n</template>\n","import { dehydrate, hydrate, type DehydratedState, type QueryClient, type QueryKey } from '@tanstack/vue-query';\n\nconst DefaultStorageKey = 'app:query-cache';\nconst DefaultMaxAgeMs = 24 * 60 * 60_000; // 24h\nconst WriteThrottleMs = 1_000;\n\n/** The envelope written to storage — the dehydrated cache plus what restore has to validate before trusting it. */\ninterface PersistedSnapshot {\n readonly buster: string;\n readonly timestamp: number;\n readonly state: DehydratedState;\n}\n\n/** Defines options for `setupQueryPersistence`. */\nexport interface SetupQueryPersistenceOptions {\n /** Explicit allowlist predicate, used on both write and restore. Scope keys to this identity/tenant. */\n readonly includes: (key: QueryKey) => boolean;\n /** The `localStorage` key the dehydrated cache is written under. */\n readonly storageKey?: string;\n /** The max age of a restored cache in ms; an older cache is discarded on restore. */\n readonly maxAgeMs?: number;\n /** A cache-busting string; a mismatch discards the persisted cache. */\n readonly buster?: string;\n}\n\n/** Represents the handles returned by `setupQueryPersistence`. */\nexport interface QueryPersistenceHandle {\n /** Stops persisting further cache changes. */\n readonly unsubscribe: () => void;\n /** Resolves once the persisted cache has been restored into the client. */\n readonly restored: Promise<void>;\n}\n\n/**\n * Wires `localStorage` persistence for the query cache (opt-in — call from `main.ts`); returns null\n * when there is no `window` (SSR-safe).\n *\n * Built on `dehydrate` / `hydrate` straight out of `@tanstack/vue-query` rather than on the\n * `persist-client` + `sync-storage-persister` package pair: those two are separate installs, and the\n * whole of what they add over this is an async persister interface this synchronous store does not\n * need. The restore is therefore SYNCHRONOUS — the cache is already hydrated when the call returns,\n * and `restored` is an already-settled promise kept for API parity.\n *\n * Caveats to weigh before opting in:\n * - **Sensitive data** — every allowlisted successful query dehydrates into `localStorage` in plain text,\n * including authenticated user data; any script on the origin can read it. Do not enable on apps\n * whose cache holds secrets/PII, or scope what queries cache to begin with.\n * - **Version busting** — pass `buster` (e.g. the app version) whenever a release changes cached\n * shapes; a restored stale shape otherwise flows into typed hooks unchecked.\n * - **Quota** — a full `localStorage` makes the write silently fail (no retry strategy is wired);\n * the app keeps working, persistence just lags.\n * - **Rich values** — this JSON persistence does not preserve Temporal objects or class instances.\n * Allowlist only JSON payload caches; keep decoded rich values in computed presentation mappings.\n */\nexport function setupQueryPersistence(\n client: QueryClient,\n options: SetupQueryPersistenceOptions,\n): QueryPersistenceHandle | null {\n if (typeof window === 'undefined') return null;\n\n const { storageKey = DefaultStorageKey, maxAgeMs = DefaultMaxAgeMs, buster = '', includes } = options;\n\n restore(client, storageKey, maxAgeMs, buster, includes);\n\n // Throttled: a burst of cache events (one query settling touches the cache several times) must not\n // serialize the whole cache once per event.\n let timer: ReturnType<typeof setTimeout> | null = null;\n const schedule = (): void => {\n if (timer !== null) return;\n timer = setTimeout(() => {\n timer = null;\n write(client, storageKey, buster, includes);\n }, WriteThrottleMs);\n };\n\n const unsubscribeQueries = client.getQueryCache().subscribe(schedule);\n const unsubscribeMutations = client.getMutationCache().subscribe(schedule);\n\n return {\n unsubscribe: () => {\n unsubscribeQueries();\n unsubscribeMutations();\n if (timer !== null) {\n clearTimeout(timer);\n timer = null;\n }\n },\n restored: Promise.resolve(),\n };\n}\n\n/** Hydrates the client from storage when the snapshot is present, current, and matches the buster. */\nfunction restore(\n client: QueryClient,\n storageKey: string,\n maxAgeMs: number,\n buster: string,\n includes: (key: QueryKey) => boolean,\n): void {\n try {\n const raw = window.localStorage.getItem(storageKey);\n if (!raw) return;\n\n const snapshot = JSON.parse(raw) as PersistedSnapshot;\n const isStale =\n !Number.isFinite(snapshot.timestamp) ||\n snapshot.timestamp > Date.now() ||\n Date.now() - snapshot.timestamp > maxAgeMs;\n if (snapshot.buster !== buster || isStale) {\n window.localStorage.removeItem(storageKey);\n return;\n }\n\n if (!snapshot.state || !Array.isArray(snapshot.state.queries)) return;\n // Mutations are never persisted. Recheck the allowlist before hydration touches the client.\n const queries = snapshot.state.queries.filter((query) => Array.isArray(query.queryKey) && includes(query.queryKey));\n hydrate(client, { queries, mutations: [] });\n } catch {\n // Unreadable / unparseable / storage unavailable — a missing cache is always a valid state.\n }\n}\n\n/** Serializes the dehydrated cache into storage, tolerating storage being unavailable (private mode / quota). */\nfunction write(client: QueryClient, storageKey: string, buster: string, includes: (key: QueryKey) => boolean): void {\n try {\n const snapshot: PersistedSnapshot = {\n buster,\n timestamp: Date.now(),\n state: dehydrate(client, {\n shouldDehydrateQuery: (query) => query.state.status === 'success' && includes(query.queryKey),\n shouldDehydrateMutation: () => false,\n }),\n };\n window.localStorage.setItem(storageKey, JSON.stringify(snapshot));\n } catch {\n // Persistence is best-effort — swallow.\n }\n}\n"],"names":["_renderSlot","_openBlock","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;AAMA,eAAsB,mBAAsB,SAAqD;AAC/F,QAAM,UAAU,MAAM;AACtB,MAAI,CAAC,QAAQ,UAAU,IAAI,SAAS,QAAQ,OAAO;AACnD,SAAO,QAAQ;AACjB;AAGO,SAAS,aAAa,OAA4B;AACvD,MAAI,iBAAiB,SAAU,QAAO,MAAM;AAC5C,MAAI,eAAe,KAAK,EAAG,QAAO,kBAAkB,OAAO,SAAS;AACpE,MAAI,iBAAiB,kBAAkB,aAAa,KAAK,EAAG,QAAO,kBAAkB,OAAO,WAAW;AACvG,SAAO,kBAAkB,OAAO,UAAU;AAC5C;AAGA,eAAsB,aAAgB,KAAuD;AAC3F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AAAA,QACvB,sBAAsB,CAAC,UAAU,MAAM,MAAM,WAAW,aAAa,SAAS,MAAM,QAAQ;AAAA,QAC5F,yBAAyB,MAAM;AAAA,MAAA,CAChC;AAAA,IAAA;AAEH,WAAO,aAAa,QAAQ,YAAY,KAAK,UAAU,QAAQ,CAAC;AAAA,EAClE,QAAQ;AAAA,EAER;AACF;"}
|
package/dist/router/Paths.d.ts
CHANGED
|
@@ -4,15 +4,13 @@ export type PathParamName<Template extends string> = Template extends `${string}
|
|
|
4
4
|
export type PathParams<Template extends string> = {
|
|
5
5
|
readonly [Key in PathParamName<Template>]: string;
|
|
6
6
|
};
|
|
7
|
-
/** Defines a path builder's argument tuple — empty when the template
|
|
8
|
-
export type PathBuilderArgs<Template extends string> = [
|
|
9
|
-
|
|
10
|
-
] extends [never] ? [] : [params: PathParams<Template>];
|
|
11
|
-
/** Defines a typed path builder — call with the template's params for the concrete href; `.pattern` is the route-table template. */
|
|
7
|
+
/** Defines a path builder's argument tuple — empty when the template has no `:params`, else one params object. */
|
|
8
|
+
export type PathBuilderArgs<Template extends string> = [PathParamName<Template>] extends [never] ? [] : [params: PathParams<Template>];
|
|
9
|
+
/** Defines a typed path builder — call with the template's params for the href; `.pattern` is the route template. */
|
|
12
10
|
export interface PathBuilder<Template extends string> {
|
|
13
11
|
(...args: PathBuilderArgs<Template>): string;
|
|
14
12
|
/** The route pattern template (e.g. `/projects/:id`) — used as the route table's `path`. */
|
|
15
13
|
readonly pattern: Template;
|
|
16
14
|
}
|
|
17
|
-
/** Creates a typed path builder
|
|
15
|
+
/** Creates a typed path builder — substitutes + URL-encodes each `:param`, and carries the template as `.pattern`. */
|
|
18
16
|
export declare function definePath<const Template extends string>(template: Template): PathBuilder<Template>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { NavigationProgressState } from './UseNavigationProgress';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
1
|
+
import { NavigationProgressState } from './hooks/UseNavigationProgress';
|
|
3
2
|
/** Defines the props for {@link ProgressProvider}. */
|
|
4
3
|
export interface ProgressProviderProps {
|
|
5
4
|
/** An externally created state to provide (from `createNavigationProgress()`); a fresh one when omitted. */
|
|
6
|
-
state?: NavigationProgressState;
|
|
5
|
+
readonly state?: NavigationProgressState;
|
|
7
6
|
}
|
|
8
|
-
declare const _default: __VLS_WithSlots<
|
|
9
|
-
state: NavigationProgressState;
|
|
10
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
declare const _default: __VLS_WithSlots<import('vue').DefineComponent<ProgressProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProviderProps> & Readonly<{}>, {
|
|
8
|
+
readonly state: NavigationProgressState;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
11
10
|
/** The subtree that can drive and observe the shared manual busy state. */
|
|
12
11
|
default(): unknown;
|
|
13
12
|
}>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { Router } from 'vue-router';
|
|
3
|
+
import { PageView } from './PageViewTracker';
|
|
4
|
+
import { RouteConfig } from './RouteConfig';
|
|
5
|
+
import { RoutePersistenceOptions } from './RoutePersistence';
|
|
6
|
+
/**
|
|
7
|
+
* Defines the history strategy the router uses.
|
|
8
|
+
*
|
|
9
|
+
* Named `RouterHistoryMode`, not `RouterHistory`: vue-router exports a `RouterHistory` TYPE for the
|
|
10
|
+
* history object itself, and one name for two things in the same import graph is a trap.
|
|
11
|
+
* `RouterHistory` stays exported as an alias so existing call sites keep compiling.
|
|
12
|
+
*/
|
|
13
|
+
export declare const RouterHistoryMode: {
|
|
14
|
+
/** Refers to the HTML5 History API — clean URLs (default). */
|
|
15
|
+
readonly Browser: "browser";
|
|
16
|
+
/** Refers to hash-based history — static hosting / file protocol. */
|
|
17
|
+
readonly Hash: "hash";
|
|
18
|
+
/** Refers to in-memory history — SSR and tests; no URL bar involvement. */
|
|
19
|
+
readonly Memory: "memory";
|
|
20
|
+
};
|
|
21
|
+
export type RouterHistoryMode = (typeof RouterHistoryMode)[keyof typeof RouterHistoryMode];
|
|
22
|
+
/** @deprecated Alias for {@link RouterHistoryMode} — collides with vue-router's own `RouterHistory` type. */
|
|
23
|
+
export declare const RouterHistory: {
|
|
24
|
+
/** Refers to the HTML5 History API — clean URLs (default). */
|
|
25
|
+
readonly Browser: "browser";
|
|
26
|
+
/** Refers to hash-based history — static hosting / file protocol. */
|
|
27
|
+
readonly Hash: "hash";
|
|
28
|
+
/** Refers to in-memory history — SSR and tests; no URL bar involvement. */
|
|
29
|
+
readonly Memory: "memory";
|
|
30
|
+
};
|
|
31
|
+
/** @deprecated Alias for {@link RouterHistoryMode} — collides with vue-router's own `RouterHistory` type. */
|
|
32
|
+
export type RouterHistory = RouterHistoryMode;
|
|
33
|
+
/** Options for `createAppRouter` — every field defaults sensibly; apps usually pass none. */
|
|
34
|
+
export interface CreateAppRouterOptions {
|
|
35
|
+
/** A leading path prefix for every route — vue-router's history `base`. */
|
|
36
|
+
readonly basename?: string;
|
|
37
|
+
/** Overrides the built-in `*` catch-all page. */
|
|
38
|
+
readonly notFound?: Component;
|
|
39
|
+
/** Whether to restore scroll position across navigations. Default `true`. */
|
|
40
|
+
readonly scrollRestoration?: boolean;
|
|
41
|
+
/** The document-title suffix (usually the app name) applied on every navigation. */
|
|
42
|
+
readonly titleSuffix?: string;
|
|
43
|
+
/** The history strategy. Default `RouterHistoryMode.Browser` — and always memory history without a `window`. */
|
|
44
|
+
readonly history?: RouterHistoryMode;
|
|
45
|
+
/** Emits a page-view on each navigation — an analytics sink; when set, installs a page-view tracker. */
|
|
46
|
+
readonly onPageView?: (view: PageView) => void;
|
|
47
|
+
/** Route persistence settings, or `false` to install none. Default: installed (persist on, restore off). */
|
|
48
|
+
readonly routePersistence?: RoutePersistenceOptions | false;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Builds the app's router from a declarative `RouteConfig`. The app declares its routes; this wrapper
|
|
52
|
+
* owns the vue-router machinery — scroll behavior, the catch-all, and the root-mounted behaviors
|
|
53
|
+
* (title · meta tags · route persistence · page views). vue-router installs as a plugin and has no
|
|
54
|
+
* root element, so those behaviors are router hooks registered here; each is separately exported as
|
|
55
|
+
* an `install*` function.
|
|
56
|
+
*
|
|
57
|
+
* It is the single extension point: cross-cutting routing behavior is added here, every consumer
|
|
58
|
+
* inherits it.
|
|
59
|
+
*
|
|
60
|
+
* ```ts
|
|
61
|
+
* const router = createAppRouter(routes, { titleSuffix: 'Acme' });
|
|
62
|
+
* createApp(App).use(router).mount('#app');
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function createAppRouter(config: RouteConfig, options?: CreateAppRouterOptions): Router;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Router } from 'vue-router';
|
|
2
|
+
/**
|
|
3
|
+
* Syncs document `<meta>` tags to the deepest matched route's `handle.meta` (description, `og:*`, and
|
|
4
|
+
* arbitrary keys). Returns the unregister function.
|
|
5
|
+
*
|
|
6
|
+
* `handle.meta` may be a literal or a `RouteHandleResolver` — the resolver form is what gives a
|
|
7
|
+
* `:slug` route a title and description derived from its params, since a static handle cannot know
|
|
8
|
+
* them. A resolver returning `undefined` falls through to the next-shallowest match.
|
|
9
|
+
*
|
|
10
|
+
* React's null-rendering `<DocumentMeta>` becomes an `afterEach` hook, for the same reason
|
|
11
|
+
* `installDocumentTitle` does; `createAppRouter` wires it for you. No-op without a `document` (SSR).
|
|
12
|
+
*/
|
|
13
|
+
export declare function installDocumentMeta(router: Router): () => void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { LocationQuery } from 'vue-router';
|
|
3
|
+
import { RouteGuard } from './RouteConfig';
|
|
4
|
+
/** The shapes `resolveReturnTo` reads a `returnTo` out of — a query string, parsed params, or `route.query`. */
|
|
5
|
+
export type ReturnToSource = URLSearchParams | string | LocationQuery;
|
|
6
|
+
/**
|
|
7
|
+
* Builds a route guard that allows activation when authenticated, else redirects to `loginPath`
|
|
8
|
+
* with the attempted path+search captured as a `returnTo` query param for post-login restore.
|
|
9
|
+
*
|
|
10
|
+
* Takes an `isAuthenticated` callback so the check stays app-owned — pass a stub today, swap the
|
|
11
|
+
* real one in later without touching any route.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* const isAuthenticated = () => Boolean(localStorage.getItem('token'));
|
|
15
|
+
* // { path: '/library', guard: requireAuth(isAuthenticated), lazy: … }
|
|
16
|
+
*/
|
|
17
|
+
export declare function requireAuth(isAuthenticated: () => boolean | Promise<boolean>, loginPath?: string): RouteGuard;
|
|
18
|
+
/**
|
|
19
|
+
* Builds a login redirect (`{loginPath}?returnTo=…`) encoding the attempted path+search.
|
|
20
|
+
* `from` accepts a full URL or a root-relative `fullPath`.
|
|
21
|
+
*/
|
|
22
|
+
export declare function buildReturnTo(loginPath: string, from: string): string;
|
|
23
|
+
/** Resolves the safe same-origin return path from a `returnTo` param, rejecting open-redirect targets → `fallback`. */
|
|
24
|
+
export declare function resolveReturnTo(search: ReturnToSource, fallback?: string): string;
|
|
25
|
+
/**
|
|
26
|
+
* Provides access to the safe post-login return path read from the current URL's `returnTo` param.
|
|
27
|
+
*
|
|
28
|
+
* Returns a `ComputedRef`, not a bare string — the value has to track `route.query`.
|
|
29
|
+
*/
|
|
30
|
+
export declare function useReturnTo(fallback?: MaybeRefOrGetter<string>): ComputedRef<string>;
|
|
31
|
+
/** @internal Reports whether a target is a same-origin root-relative path — the open-redirect guard. */
|
|
32
|
+
export declare function isSafeInternalPath(target: string): boolean;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { LazyRoute } from './RouteConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Forces a full reload to fetch the current deploy's chunk manifest — a last resort for a persistent
|
|
5
|
+
* chunk-load failure. No-op without a `window` (SSR).
|
|
6
|
+
*/
|
|
7
|
+
export declare function reloadOnChunkError(): void;
|
|
8
|
+
/**
|
|
9
|
+
* Wraps a code-split importer so a transient chunk-load failure — typically a stale deploy whose
|
|
10
|
+
* hashed chunk no longer exists after a redeploy — retries once after a short delay before
|
|
11
|
+
* rejecting. A persistent failure rejects so the router's error handling catches it. Stays
|
|
12
|
+
* type-compatible with `LazyRoute`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function lazyRoute(importer: LazyRoute): LazyRoute;
|
|
15
|
+
/**
|
|
16
|
+
* @internal Normalizes a `default | Component` lazy module into the single component vue-router's
|
|
17
|
+
* async `component` loader expects.
|
|
18
|
+
*/
|
|
19
|
+
export declare function toAsyncComponent(lazy: LazyRoute): () => Promise<Component>;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Component, VNode } from 'vue';
|
|
2
|
+
import { RouteLocationNormalized, RouteLocationRaw, RouteParamsGeneric } from 'vue-router';
|
|
3
|
+
/** Defines a breadcrumb label. */
|
|
4
|
+
export type CrumbNode = string | VNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defines per-route meta tags surfaced to the document head (read off the deepest match's `meta.meta`).
|
|
7
|
+
*
|
|
8
|
+
* A key beginning `og:` is written as `<meta property="…">`, which the Open Graph spec requires and
|
|
9
|
+
* scrapers key on; every other key is written as `<meta name="…">`, the form Twitter cards and
|
|
10
|
+
* `description` use. The prefix IS the discriminator — there is no second field to set.
|
|
11
|
+
*/
|
|
12
|
+
export interface RouteMeta {
|
|
13
|
+
/** The meta description for this route. */
|
|
14
|
+
readonly description?: string;
|
|
15
|
+
readonly [key: string]: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Defines a per-route value computed from the active location — the escape hatch for anything a
|
|
19
|
+
* static handle cannot know, a `:slug` page's title being the case that forces it.
|
|
20
|
+
*
|
|
21
|
+
* Runs on every navigation, so it must stay synchronous and cheap: read `route.params` / `route.query`
|
|
22
|
+
* and a module-scope lookup, never fetch. A page whose title only exists after a request sets it from
|
|
23
|
+
* the component instead, once the data lands.
|
|
24
|
+
*/
|
|
25
|
+
export type RouteHandleResolver<TValue> = (route: RouteLocationNormalized) => TValue | undefined;
|
|
26
|
+
/** Defines the outcome of a route guard — `true` to allow activation, or a location to redirect to. */
|
|
27
|
+
export type GuardDecision = true | {
|
|
28
|
+
readonly redirect: RouteLocationRaw;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Defines the context a route guard receives.
|
|
32
|
+
*
|
|
33
|
+
* React's guards ran inside a react-router loader and read a `Request`; vue-router guards run as
|
|
34
|
+
* `beforeEnter` and receive the two normalized locations instead. `params` is `to.params`, kept
|
|
35
|
+
* under React's name because guards read it constantly.
|
|
36
|
+
*/
|
|
37
|
+
export interface GuardContext {
|
|
38
|
+
/** The location being navigated to. */
|
|
39
|
+
readonly to: RouteLocationNormalized;
|
|
40
|
+
/** The location being navigated from. */
|
|
41
|
+
readonly from: RouteLocationNormalized;
|
|
42
|
+
/** The matched path params — the same object as `to.params`. */
|
|
43
|
+
readonly params: RouteParamsGeneric;
|
|
44
|
+
}
|
|
45
|
+
/** Defines a route guard — runs before the route activates; returns allow (`true`) or a redirect. */
|
|
46
|
+
export type RouteGuard = (context: GuardContext) => GuardDecision | Promise<GuardDecision>;
|
|
47
|
+
/**
|
|
48
|
+
* Defines per-route metadata surfaced to breadcrumbs / title / analytics — app keys pass through
|
|
49
|
+
* untouched. Compiles into the route record's native vue-router `meta`, so `route.meta.title`
|
|
50
|
+
* reads it without any helper.
|
|
51
|
+
*/
|
|
52
|
+
export interface RouteHandle {
|
|
53
|
+
/** The breadcrumb label for this route. */
|
|
54
|
+
readonly crumb?: CrumbNode;
|
|
55
|
+
/** The document title for this route, or a resolver against the active location. */
|
|
56
|
+
readonly title?: string | RouteHandleResolver<string>;
|
|
57
|
+
/** The per-route meta tags (description / og) for the document head, or a resolver against the active location. */
|
|
58
|
+
readonly meta?: RouteMeta | RouteHandleResolver<RouteMeta>;
|
|
59
|
+
readonly [key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
/** Defines a code-split route module — resolves to a `default` or a named `Component` export. */
|
|
62
|
+
export type LazyRoute = () => Promise<{
|
|
63
|
+
default: Component;
|
|
64
|
+
} | {
|
|
65
|
+
Component: Component;
|
|
66
|
+
}>;
|
|
67
|
+
/**
|
|
68
|
+
* Defines the declarative route unit an app authors — a curated subset of vue-router's
|
|
69
|
+
* `RouteRecordRaw`. `createAppRouter` compiles it: guards become `beforeEnter`, `handle` becomes
|
|
70
|
+
* `meta`, `id` becomes `name`, and the `*` catch-all is appended for you.
|
|
71
|
+
*/
|
|
72
|
+
export interface AppRoute {
|
|
73
|
+
/** The path segment, relative to the parent. Omit for a pathless layout route. */
|
|
74
|
+
readonly path?: string;
|
|
75
|
+
/** Renders in the parent's `<RouterView>` — compiles to a child with `path: ''`. Mutually exclusive with `path`. */
|
|
76
|
+
readonly index?: boolean;
|
|
77
|
+
/** The eager component. Use `lazy` to code-split instead. */
|
|
78
|
+
readonly component?: Component;
|
|
79
|
+
/** A `*Layout` rendering a `<RouterView>`; an alias of `component`, kept for the React authoring shape. */
|
|
80
|
+
readonly layout?: Component;
|
|
81
|
+
/** A code-split module for this route — preferred for pages. */
|
|
82
|
+
readonly lazy?: LazyRoute;
|
|
83
|
+
/** Redirect this route to another location. Combined with `guard`, the guards run first (React's ordering). */
|
|
84
|
+
readonly redirect?: RouteLocationRaw;
|
|
85
|
+
/** A guard (or chain) run before activation — compiles to the record's `beforeEnter`. */
|
|
86
|
+
readonly guard?: RouteGuard | ReadonlyArray<RouteGuard>;
|
|
87
|
+
/** Per-route metadata (crumb / title / meta / app keys) — compiles to the record's `meta`. */
|
|
88
|
+
readonly handle?: RouteHandle;
|
|
89
|
+
/** A route-scoped error component; `AppErrorBoundary` renders it instead of its own fallback. */
|
|
90
|
+
readonly errorComponent?: Component;
|
|
91
|
+
/** Nested child routes. */
|
|
92
|
+
readonly children?: ReadonlyArray<AppRoute>;
|
|
93
|
+
/** A stable id — compiles to the record's `name`, vue-router's stable identity. */
|
|
94
|
+
readonly id?: string;
|
|
95
|
+
}
|
|
96
|
+
/** Defines the full route tree an app passes to `createAppRouter`. */
|
|
97
|
+
export type RouteConfig = ReadonlyArray<AppRoute>;
|