@wow-two-beta/ui-vue 0.0.4 → 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 +9 -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 +568 -557
- 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 -15
- 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 +6 -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 +150 -143
- 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 +5 -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 -6
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +18 -18
- 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 +17 -0
- package/dist/presentation/forms/UseNativeFormReset.d.ts +3 -0
- package/dist/presentation/forms/addressEditor/AddressEditor.vue.d.ts +48 -0
- package/dist/presentation/forms/addressEditor/index.d.ts +1 -0
- package/dist/presentation/forms/calendarPicker/CalendarPicker.vue.d.ts +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 +25 -30
- 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 +95 -49
- 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-CkxLllEO.js +0 -996
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js.map +0 -1
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js +0 -78
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js.map +0 -1
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js +0 -1094
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.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-lNcRhKIv.js +0 -12748
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.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-QahSUlRy.js +0 -282
- package/dist/chunks/DateExtensions-QahSUlRy.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-6nRnzsJW.js +0 -214
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js.map +0 -1
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js +0 -207
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.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-CLACSqKg.js +0 -191
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.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-Cl2ejukE.js +0 -2073
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js.map +0 -1
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-KC5Iusce.js +0 -2727
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-KC5Iusce.js.map +0 -1
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js +0 -943
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.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-D-OiGICS.js +0 -212
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.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-C7IJvh_P.js +0 -120
- package/dist/chunks/Presence-C7IJvh_P.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-CWCXGjZG.js +0 -10364
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.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-ChdpGRBO.js +0 -143
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js.map +0 -1
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js +0 -2159
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.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-CI65uuq9.js +0 -90
- package/dist/chunks/Tones-CI65uuq9.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-BD7H9CkO.js +0 -130
- package/dist/chunks/index-BD7H9CkO.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-Cbydgcdk.js +0 -234
- package/dist/chunks/index-Cbydgcdk.js.map +0 -1
- package/dist/chunks/index-CzKEU1kI.js +0 -11
- package/dist/chunks/index-CzKEU1kI.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 -40
- 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 -166
- 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 -57
- 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 -41
- 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 -58
- package/dist/presentation/display/gantt/index.d.ts +0 -1
- package/dist/presentation/display/heatmapCalendar/HeatmapCalendar.vue.d.ts +0 -61
- 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/ListItem.vue.d.ts +0 -23
- package/dist/presentation/display/list/index.d.ts +0 -3
- 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 -45
- 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 -42
- package/dist/presentation/forms/dateField/index.d.ts +0 -1
- package/dist/presentation/forms/dateTimeField/DateTimeField.vue.d.ts +0 -42
- 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 -52
- package/dist/presentation/forms/multiSelect/MultiSelectContent.vue.d.ts +0 -31
- package/dist/presentation/forms/multiSelect/MultiSelectContext.d.ts +0 -38
- package/dist/presentation/forms/multiSelect/MultiSelectItem.vue.d.ts +0 -25
- package/dist/presentation/forms/multiSelect/MultiSelectTags.vue.d.ts +0 -14
- package/dist/presentation/forms/multiSelect/MultiSelectTrigger.vue.d.ts +0 -20
- 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 -38
- 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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { E as Equality } from "../../chunks/Equality-
|
|
1
|
+
import { E as Equality } from "../../chunks/Equality-BabbLMBX.js";
|
|
2
|
+
import { E as ExactNumber } from "../../chunks/ExactNumber-CboRl3_0.js";
|
|
2
3
|
function unique(items, keyFn) {
|
|
3
4
|
const seen = /* @__PURE__ */ new Set();
|
|
4
5
|
const result = [];
|
|
@@ -58,14 +59,14 @@ function insertAt(items, index, value) {
|
|
|
58
59
|
function removeAt(items, index) {
|
|
59
60
|
const result = [...items];
|
|
60
61
|
const at = Math.trunc(index);
|
|
61
|
-
if (at < 0 || at >= result.length) return result;
|
|
62
|
+
if (!Number.isFinite(at) || at < 0 || at >= result.length) return result;
|
|
62
63
|
result.splice(at, 1);
|
|
63
64
|
return result;
|
|
64
65
|
}
|
|
65
66
|
function replaceAt(items, index, value) {
|
|
66
67
|
const result = [...items];
|
|
67
68
|
const at = Math.trunc(index);
|
|
68
|
-
if (at < 0 || at >= result.length) return result;
|
|
69
|
+
if (!Number.isFinite(at) || at < 0 || at >= result.length) return result;
|
|
69
70
|
result[at] = value;
|
|
70
71
|
return result;
|
|
71
72
|
}
|
|
@@ -92,18 +93,17 @@ function unzip(pairs) {
|
|
|
92
93
|
}
|
|
93
94
|
function range(start, end, step = 1) {
|
|
94
95
|
if (!Number.isFinite(start) || !Number.isFinite(end)) {
|
|
95
|
-
throw new RangeError(
|
|
96
|
-
`range: start and end must be finite, received ${String(start)}..${String(end)}`
|
|
97
|
-
);
|
|
96
|
+
throw new RangeError(`range: start and end must be finite, received ${String(start)}..${String(end)}`);
|
|
98
97
|
}
|
|
99
98
|
if (step === 0 || !Number.isFinite(step)) {
|
|
100
99
|
throw new RangeError(`range: step must be a non-zero finite number, received ${String(step)}`);
|
|
101
100
|
}
|
|
102
101
|
const result = [];
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
for (let value = start; step > 0 ? value < end : value > end; ) {
|
|
103
|
+
result.push(value);
|
|
104
|
+
const next = value + step;
|
|
105
|
+
if (next === value) throw new RangeError("range: step cannot advance at this magnitude.");
|
|
106
|
+
value = next;
|
|
107
107
|
}
|
|
108
108
|
return result;
|
|
109
109
|
}
|
|
@@ -174,14 +174,14 @@ function mapValues(source, mapFn) {
|
|
|
174
174
|
const record = source;
|
|
175
175
|
const mapped = {};
|
|
176
176
|
for (const key of Object.keys(record)) {
|
|
177
|
-
mapped
|
|
177
|
+
defineEntry(mapped, key, mapFn(record[key], key));
|
|
178
178
|
}
|
|
179
179
|
return mapped;
|
|
180
180
|
}
|
|
181
181
|
function pickKeys(source, keys) {
|
|
182
182
|
const result = {};
|
|
183
183
|
for (const key of keys) {
|
|
184
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) result
|
|
184
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) defineEntry(result, key, source[key]);
|
|
185
185
|
}
|
|
186
186
|
return result;
|
|
187
187
|
}
|
|
@@ -190,13 +190,13 @@ function omitKeys(source, keys) {
|
|
|
190
190
|
const record = source;
|
|
191
191
|
const result = {};
|
|
192
192
|
for (const key of Object.keys(record)) {
|
|
193
|
-
if (!omitted.has(key)) result
|
|
193
|
+
if (!omitted.has(key)) defineEntry(result, key, record[key]);
|
|
194
194
|
}
|
|
195
195
|
return result;
|
|
196
196
|
}
|
|
197
197
|
function entriesToRecord(entries) {
|
|
198
198
|
const result = {};
|
|
199
|
-
for (const [key, value] of entries) result
|
|
199
|
+
for (const [key, value] of entries) defineEntry(result, key, value);
|
|
200
200
|
return result;
|
|
201
201
|
}
|
|
202
202
|
function recordToEntries(record) {
|
|
@@ -205,13 +205,19 @@ function recordToEntries(record) {
|
|
|
205
205
|
}
|
|
206
206
|
function invertRecord(record) {
|
|
207
207
|
const result = {};
|
|
208
|
-
for (const [key, value] of recordToEntries(record)) result
|
|
208
|
+
for (const [key, value] of recordToEntries(record)) defineEntry(result, value, key);
|
|
209
209
|
return result;
|
|
210
210
|
}
|
|
211
|
+
function defineEntry(target, key, value) {
|
|
212
|
+
Object.defineProperty(target, key, { value, writable: true, enumerable: true, configurable: true });
|
|
213
|
+
}
|
|
211
214
|
function arrayShallowEqual(first, second) {
|
|
212
215
|
if (first === second) return true;
|
|
213
216
|
if (first.length !== second.length) return false;
|
|
214
|
-
|
|
217
|
+
for (let index = 0; index < first.length; index++) {
|
|
218
|
+
if (!Object.is(first[index], second[index])) return false;
|
|
219
|
+
}
|
|
220
|
+
return true;
|
|
215
221
|
}
|
|
216
222
|
function shallowEqual(first, second) {
|
|
217
223
|
if (Object.is(first, second)) return true;
|
|
@@ -220,10 +226,7 @@ function shallowEqual(first, second) {
|
|
|
220
226
|
if (Array.isArray(first) || Array.isArray(second)) {
|
|
221
227
|
return Array.isArray(first) && Array.isArray(second) && arrayShallowEqual(first, second);
|
|
222
228
|
}
|
|
223
|
-
return Equality.shallowEquals(
|
|
224
|
-
first,
|
|
225
|
-
second
|
|
226
|
-
);
|
|
229
|
+
return Equality.shallowEquals(first, second);
|
|
227
230
|
}
|
|
228
231
|
function deepEqual(first, second) {
|
|
229
232
|
return deepEqualWithin(first, second, /* @__PURE__ */ new Map());
|
|
@@ -232,6 +235,9 @@ function deepEqualWithin(first, second, seen) {
|
|
|
232
235
|
if (Object.is(first, second)) return true;
|
|
233
236
|
if (first === null || second === null) return false;
|
|
234
237
|
if (typeof first !== "object" || typeof second !== "object") return false;
|
|
238
|
+
if (ExactNumber.isExactNumber(first) || ExactNumber.isExactNumber(second)) {
|
|
239
|
+
return Equality.shallowEquals(first, second);
|
|
240
|
+
}
|
|
235
241
|
const partners = seen.get(first);
|
|
236
242
|
if (partners?.has(second)) return true;
|
|
237
243
|
if (partners) partners.add(second);
|
|
@@ -262,7 +268,10 @@ function compareObjects(first, second, seen) {
|
|
|
262
268
|
if (Array.isArray(first) || Array.isArray(second)) {
|
|
263
269
|
if (!Array.isArray(first) || !Array.isArray(second)) return false;
|
|
264
270
|
if (first.length !== second.length) return false;
|
|
265
|
-
|
|
271
|
+
for (let index = 0; index < first.length; index++) {
|
|
272
|
+
if (!deepEqualWithin(first[index], second[index], seen)) return false;
|
|
273
|
+
}
|
|
274
|
+
return true;
|
|
266
275
|
}
|
|
267
276
|
if (first instanceof Map || second instanceof Map) {
|
|
268
277
|
if (!(first instanceof Map) || !(second instanceof Map)) return false;
|
|
@@ -330,61 +339,41 @@ function setsEqual(first, second, seen) {
|
|
|
330
339
|
return true;
|
|
331
340
|
}
|
|
332
341
|
function buildTree(items, options) {
|
|
333
|
-
const { id, parentId } = options;
|
|
334
342
|
const byId = /* @__PURE__ */ new Map();
|
|
335
|
-
|
|
336
|
-
const key = id(item);
|
|
337
|
-
if (!byId.has(key)) byId.set(key,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
continue;
|
|
348
|
-
}
|
|
349
|
-
const siblings = childrenById.get(parent);
|
|
350
|
-
if (siblings) siblings.push(item);
|
|
351
|
-
else childrenById.set(parent, [item]);
|
|
352
|
-
}
|
|
353
|
-
const expanding = /* @__PURE__ */ new Set();
|
|
354
|
-
const toNode = (item) => {
|
|
355
|
-
const key = id(item);
|
|
356
|
-
if (expanding.has(key)) return { item, children: [] };
|
|
357
|
-
expanding.add(key);
|
|
358
|
-
const children = (childrenById.get(key) ?? []).map(toNode);
|
|
359
|
-
expanding.delete(key);
|
|
360
|
-
return { item, children };
|
|
361
|
-
};
|
|
362
|
-
return roots.map(toNode);
|
|
363
|
-
}
|
|
364
|
-
function detectCyclicIds(items, byId, id, parentId) {
|
|
365
|
-
const cyclicIds = /* @__PURE__ */ new Set();
|
|
366
|
-
for (const item of items) {
|
|
367
|
-
const start = id(item);
|
|
368
|
-
if (cyclicIds.has(start)) continue;
|
|
343
|
+
const nodes = items.map((item, index) => {
|
|
344
|
+
const key = options.id(item);
|
|
345
|
+
if (!byId.has(key)) byId.set(key, index);
|
|
346
|
+
return { item, children: [] };
|
|
347
|
+
});
|
|
348
|
+
const parents = items.map((item) => {
|
|
349
|
+
const key = options.parentId(item);
|
|
350
|
+
return key === null || key === void 0 ? void 0 : byId.get(key);
|
|
351
|
+
});
|
|
352
|
+
const completed = /* @__PURE__ */ new Set();
|
|
353
|
+
const cyclic = /* @__PURE__ */ new Set();
|
|
354
|
+
for (let index = 0; index < nodes.length; index++) {
|
|
369
355
|
const path = [];
|
|
370
|
-
const
|
|
371
|
-
let
|
|
372
|
-
while (
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
for (let
|
|
376
|
-
cyclicIds.add(path[index]);
|
|
377
|
-
}
|
|
356
|
+
const positions = /* @__PURE__ */ new Map();
|
|
357
|
+
let current = index;
|
|
358
|
+
while (current !== void 0 && !completed.has(current)) {
|
|
359
|
+
const position = positions.get(current);
|
|
360
|
+
if (position !== void 0) {
|
|
361
|
+
for (let offset = position; offset < path.length; offset++) cyclic.add(path[offset]);
|
|
378
362
|
break;
|
|
379
363
|
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
path.push(currentId);
|
|
384
|
-
currentId = parentId(owner) ?? void 0;
|
|
364
|
+
positions.set(current, path.length);
|
|
365
|
+
path.push(current);
|
|
366
|
+
current = parents[current];
|
|
385
367
|
}
|
|
368
|
+
for (const visited of path) completed.add(visited);
|
|
386
369
|
}
|
|
387
|
-
|
|
370
|
+
const roots = [];
|
|
371
|
+
nodes.forEach((node, index) => {
|
|
372
|
+
const parent = parents[index];
|
|
373
|
+
if (parent === void 0 || cyclic.has(index)) roots.push(node);
|
|
374
|
+
else nodes[parent].children.push(node);
|
|
375
|
+
});
|
|
376
|
+
return roots;
|
|
388
377
|
}
|
|
389
378
|
function readChildren(node, childrenKey) {
|
|
390
379
|
const children = node[childrenKey];
|
|
@@ -392,40 +381,55 @@ function readChildren(node, childrenKey) {
|
|
|
392
381
|
}
|
|
393
382
|
function flattenTree(nodes, childrenKey = "children") {
|
|
394
383
|
const result = [];
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
if (visited.has(node)) continue;
|
|
399
|
-
visited.add(node);
|
|
384
|
+
findInTree(
|
|
385
|
+
nodes,
|
|
386
|
+
(node) => {
|
|
400
387
|
result.push(node);
|
|
401
|
-
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
|
|
388
|
+
return false;
|
|
389
|
+
},
|
|
390
|
+
childrenKey
|
|
391
|
+
);
|
|
405
392
|
return result;
|
|
406
393
|
}
|
|
407
394
|
function findInTree(nodes, predicate, childrenKey = "children") {
|
|
408
395
|
const visited = /* @__PURE__ */ new Set();
|
|
409
|
-
const
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
if (found !== void 0) return found;
|
|
396
|
+
const stack = [{ nodes, index: 0 }];
|
|
397
|
+
while (stack.length > 0) {
|
|
398
|
+
const frame = stack[stack.length - 1];
|
|
399
|
+
if (frame.index >= frame.nodes.length) {
|
|
400
|
+
stack.pop();
|
|
401
|
+
continue;
|
|
416
402
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
403
|
+
const node = frame.nodes[frame.index++];
|
|
404
|
+
if (visited.has(node)) continue;
|
|
405
|
+
visited.add(node);
|
|
406
|
+
if (predicate(node, stack.length - 1)) return node;
|
|
407
|
+
stack.push({ nodes: readChildren(node, childrenKey), index: 0 });
|
|
408
|
+
}
|
|
409
|
+
return void 0;
|
|
420
410
|
}
|
|
421
411
|
function mapTree(nodes, mapFn) {
|
|
422
|
-
const
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
412
|
+
const result = [];
|
|
413
|
+
const active = /* @__PURE__ */ new Set();
|
|
414
|
+
const stack = [{ nodes, index: 0, output: result }];
|
|
415
|
+
while (stack.length > 0) {
|
|
416
|
+
const frame = stack[stack.length - 1];
|
|
417
|
+
if (frame.index >= frame.nodes.length) {
|
|
418
|
+
if (frame.owner) active.delete(frame.owner);
|
|
419
|
+
stack.pop();
|
|
420
|
+
continue;
|
|
421
|
+
}
|
|
422
|
+
const node = frame.nodes[frame.index++];
|
|
423
|
+
if (active.has(node)) throw new TypeError("mapTree: cyclic input is not a tree.");
|
|
424
|
+
const children = [];
|
|
425
|
+
frame.output.push({ item: mapFn(node.item, stack.length - 1), children });
|
|
426
|
+
active.add(node);
|
|
427
|
+
stack.push({ nodes: node.children, index: 0, output: children, owner: node });
|
|
428
|
+
}
|
|
429
|
+
return result;
|
|
427
430
|
}
|
|
428
431
|
export {
|
|
432
|
+
Equality,
|
|
429
433
|
arrayShallowEqual,
|
|
430
434
|
buildTree,
|
|
431
435
|
chunk,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/foundation/collections/Arrays.ts","../../../src/foundation/collections/SetOps.ts","../../../src/foundation/collections/Records.ts","../../../src/foundation/collections/Comparison.ts","../../../src/foundation/collections/Tree.ts"],"sourcesContent":["// Arrays — the immutable list operations every list-shaped surface re-derives: dedupe, group, split,\n// reorder, and the four positional edits (insert / remove / replace / toggle).\n//\n// WHY A SLICE AND NOT A DEPENDENCY. `lodash` / `remeda` cover most of this, but the SDK ships as a\n// peer-light package: one utility import must not pull a second collection library into every product\n// bundle. Each function here is a handful of lines and the behaviour is pinned by one test file.\n//\n// EVERY FUNCTION RETURNS A NEW ARRAY — including the no-op cases (`move(items, 2, 2)`,\n// `removeAt(items, 99)`). A conditional identity return is the classic reactivity footgun: a caller relying on\n// referential change to re-render would silently stop updating for exactly the inputs that look harmless.\n// The copy is O(n) and n here is a rendered list. (`selection`'s `applySort` deliberately makes the other\n// choice — it returns the input for an empty descriptor list — because an unsorted render is its hot path.)\n//\n// POSITIONAL EDITS CLAMP, THEY DO NOT THROW. Drag-and-drop, keyboard reorder, and server-echoed indices\n// all produce out-of-range values under normal operation; a thrown `RangeError` in a render path turns a\n// cosmetic bug into a blank screen. `chunk` and `range` are the exceptions and DO throw, because a zero or\n// negative step is a programmer error with no sane fallback — and would loop forever.\n\nimport { Equality, type EqualityComparer } from '../utils/Equality';\n\n/**\n * Removes duplicates, keeping the FIRST occurrence of each key and the input's order.\n *\n * Without `keyFn` the item itself is the key, compared with `Set` semantics (SameValueZero — so `NaN`\n * de-duplicates against `NaN`, and `+0` against `-0`). With `keyFn`, the extracted key decides, which is\n * how you de-duplicate rows by `id` while keeping the first-seen row object.\n *\n * @param items The source list; never mutated.\n * @param keyFn Optional key extractor receiving the item and its index.\n * @returns A new array holding the first item per distinct key.\n */\nexport function unique<T, TKey = T>(\n items: readonly T[],\n keyFn?: (item: T, index: number) => TKey,\n): T[] {\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n items.forEach((item, index) => {\n const key = keyFn ? keyFn(item, index) : item;\n if (seen.has(key)) return;\n seen.add(key);\n result.push(item);\n });\n return result;\n}\n\n/**\n * Buckets items by an extracted key into a `Map`.\n *\n * A `Map` rather than a plain object for two reasons: keys stay their real type (a numeric or object key\n * is not stringified), and iteration order is the order keys were FIRST seen — a plain object reorders\n * integer-like keys ahead of string ones, which silently rearranges rendered group headings.\n *\n * @param items The source list; never mutated.\n * @param keyFn Extracts the group key from an item and its index.\n * @returns A new `Map` of key to a new array of that key's items, both in first-seen order.\n */\nexport function groupBy<T, TKey>(\n items: readonly T[],\n keyFn: (item: T, index: number) => TKey,\n): Map<TKey, T[]> {\n const groups = new Map<TKey, T[]>();\n items.forEach((item, index) => {\n const key = keyFn(item, index);\n const group = groups.get(key);\n if (group) group.push(item);\n else groups.set(key, [item]);\n });\n return groups;\n}\n\n/**\n * Splits a list in two by a predicate, in one pass, preserving order in both halves.\n *\n * @param items The source list; never mutated.\n * @param predicate Decides whether an item belongs to the first half.\n * @returns A `[matched, rest]` tuple of two new arrays.\n */\nexport function partition<T>(\n items: readonly T[],\n predicate: (item: T, index: number) => boolean,\n): [T[], T[]] {\n const matched: T[] = [];\n const rest: T[] = [];\n items.forEach((item, index) => {\n (predicate(item, index) ? matched : rest).push(item);\n });\n return [matched, rest];\n}\n\n/**\n * Slices a list into consecutive groups of at most `size`. The final group is short when the length is\n * not a multiple of `size`.\n *\n * @param items The source list; never mutated.\n * @param size The maximum group length; must be a positive integer.\n * @returns A new array of new arrays. An empty input yields `[]`, never `[[]]`.\n * @throws {RangeError} When `size` is not a positive integer — a zero or negative size has no meaningful\n * result and would loop forever.\n */\nexport function chunk<T>(items: readonly T[], size: number): T[][] {\n if (!Number.isInteger(size) || size < 1) {\n throw new RangeError(`chunk: size must be a positive integer, received ${String(size)}`);\n }\n const result: T[][] = [];\n for (let index = 0; index < items.length; index += size) {\n result.push(items.slice(index, index + size));\n }\n return result;\n}\n\n/**\n * Reorders one item, using drag-and-drop semantics: the item is REMOVED first, then re-inserted at `to`\n * measured in the shortened list. This is the behaviour a pointer drag implies — dropping item 0 onto\n * slot 2 of `[a, b, c, d]` yields `[b, c, a, d]`, i.e. the dragged item lands where the cursor is, not one\n * slot past it. Pairs with `foundation/gestures`' `useDrag`.\n *\n * Both indices are truncated and clamped into range, so an over-drag past either end parks the item at\n * that end instead of throwing or dropping it.\n *\n * @param items The source list; never mutated.\n * @param from The index of the item to move.\n * @param to The index it should occupy afterwards.\n * @returns A new array with the item relocated; a new copy when `from` and `to` resolve to the same slot.\n */\nexport function move<T>(items: readonly T[], from: number, to: number): T[] {\n const result = [...items];\n if (result.length === 0) return result;\n const lastIndex = result.length - 1;\n const fromIndex = Math.min(Math.max(Math.trunc(from), 0), lastIndex);\n const toIndex = Math.min(Math.max(Math.trunc(to), 0), lastIndex);\n if (fromIndex === toIndex) return result;\n const [moved] = result.splice(fromIndex, 1);\n result.splice(toIndex, 0, moved as T);\n return result;\n}\n\n/**\n * Inserts one value at an index. The index is clamped to `[0, length]`, so `length` appends and a\n * negative index prepends.\n *\n * @param items The source list; never mutated.\n * @param index Where the new value should land.\n * @param value The value to insert.\n * @returns A new array one longer than the input.\n */\nexport function insertAt<T>(items: readonly T[], index: number, value: T): T[] {\n const result = [...items];\n const at = Math.min(Math.max(Math.trunc(index), 0), result.length);\n result.splice(at, 0, value);\n return result;\n}\n\n/**\n * Removes the item at an index. An out-of-range index removes nothing and still returns a fresh copy.\n *\n * @param items The source list; never mutated.\n * @param index The index to drop.\n * @returns A new array, one shorter when the index was in range.\n */\nexport function removeAt<T>(items: readonly T[], index: number): T[] {\n const result = [...items];\n const at = Math.trunc(index);\n if (at < 0 || at >= result.length) return result;\n result.splice(at, 1);\n return result;\n}\n\n/**\n * Replaces the item at an index. An out-of-range index replaces nothing and still returns a fresh copy —\n * it never grows the array or punches an `undefined` hole in it.\n *\n * @param items The source list; never mutated.\n * @param index The index to overwrite.\n * @param value The replacement value.\n * @returns A new array of the same length as the input.\n */\nexport function replaceAt<T>(items: readonly T[], index: number, value: T): T[] {\n const result = [...items];\n const at = Math.trunc(index);\n if (at < 0 || at >= result.length) return result;\n result[at] = value;\n return result;\n}\n\n/**\n * Adds an item when absent, removes it when present — the checkbox/chip/multi-select primitive.\n *\n * Equality defaults to `foundation/utils`' `Equality.strictEquals` (`Object.is`), which is reference\n * equality for objects; pass `Equality.byKey((row) => row.id)` (or any comparer) when the toggled value is\n * a fresh object each render. EVERY match is removed, so a list that already held duplicates toggles all of\n * them off at once. An added item is appended at the end.\n *\n * @param items The source list; never mutated.\n * @param item The value to toggle.\n * @param equalsFn Decides whether a list entry IS the toggled item.\n * @returns A new array with the item removed or appended.\n */\nexport function toggleItem<T>(\n items: readonly T[],\n item: T,\n equalsFn: EqualityComparer<T> = Equality.strictEquals,\n): T[] {\n const remaining = items.filter((candidate) => !equalsFn(candidate, item));\n return remaining.length === items.length ? [...items, item] : remaining;\n}\n\n/**\n * Pairs two lists positionally, stopping at the SHORTER one — the extra tail is dropped rather than\n * padded with `undefined`, so the result type has no holes to narrow away at every call site.\n *\n * @param first The list supplying each pair's first slot.\n * @param second The list supplying each pair's second slot.\n * @returns A new array of `[first, second]` tuples, `min(first.length, second.length)` long.\n */\nexport function zip<TFirst, TSecond>(\n first: readonly TFirst[],\n second: readonly TSecond[],\n): Array<[TFirst, TSecond]> {\n const length = Math.min(first.length, second.length);\n const result: Array<[TFirst, TSecond]> = [];\n for (let index = 0; index < length; index += 1) {\n result.push([first[index] as TFirst, second[index] as TSecond]);\n }\n return result;\n}\n\n/**\n * Splits a list of pairs back into two lists — the inverse of {@link zip}.\n *\n * @param pairs The tuples to split.\n * @returns A `[firsts, seconds]` tuple of two new arrays, each as long as `pairs`.\n */\nexport function unzip<TFirst, TSecond>(\n pairs: readonly (readonly [TFirst, TSecond])[],\n): [TFirst[], TSecond[]] {\n const first: TFirst[] = [];\n const second: TSecond[] = [];\n for (const pair of pairs) {\n first.push(pair[0]);\n second.push(pair[1]);\n }\n return [first, second];\n}\n\n/**\n * Builds a numeric sequence over the HALF-OPEN interval `[start, end)` — `end` is excluded, so\n * `range(0, items.length)` indexes a list exactly and `range(a, b).length === b - a`.\n *\n * A negative `step` counts down. When the step points away from `end` (`range(0, 5, -1)`) the result is\n * empty rather than infinite.\n *\n * @param start The first value, always included when the range is non-empty.\n * @param end The exclusive bound.\n * @param step The increment; defaults to `1`.\n * @returns A new array of numbers.\n * @throws {RangeError} When `step` is zero or any argument is non-finite — each would loop forever.\n */\nexport function range(start: number, end: number, step = 1): number[] {\n if (!Number.isFinite(start) || !Number.isFinite(end)) {\n throw new RangeError(\n `range: start and end must be finite, received ${String(start)}..${String(end)}`,\n );\n }\n if (step === 0 || !Number.isFinite(step)) {\n throw new RangeError(`range: step must be a non-zero finite number, received ${String(step)}`);\n }\n const result: number[] = [];\n if (step > 0) {\n for (let value = start; value < end; value += step) result.push(value);\n } else {\n for (let value = start; value > end; value += step) result.push(value);\n }\n return result;\n}\n","// SetOps — the four set relations, expressed over ARRAYS rather than `Set`s.\n//\n// WHY ARRAYS IN AND ARRAYS OUT. A `Set` is the right internal index and the wrong public type here: `v-for`\n// renders lists, `key` bindings need a stable order, and a `Set` has no index. Every caller that reached for\n// `new Set([...a].filter(...))` had to spread it straight back to an array anyway, losing order on the way.\n// These take arrays, index with a `Set` internally, and hand back arrays.\n//\n// ORDER IS DEFINED, NOT INCIDENTAL. Results follow the FIRST argument's order, then (for `union` and\n// `symmetricDifference`) the second's. Set theory says these are unordered; a rendered list disagrees, and\n// an undefined order would reshuffle rows on every recompute.\n//\n// SET SEMANTICS MEAN DE-DUPLICATION. All four collapse duplicates within the inputs — `union([a, a], [])`\n// is `[a]`. Use `foundation/collections`' `Arrays` helpers when you want a bag, not a set.\n//\n// The optional `keyFn` is what makes these usable on entities: two fetches return equal-but-not-identical\n// row objects, so `difference(next, previous, (row) => row.id)` is the real-world call, not the identity one.\n\n/** Indexes a list by its comparison key — the shared internal step of every relation below. */\nfunction toKeySet<T, TKey>(items: readonly T[], keyFn?: (item: T) => TKey): Set<TKey | T> {\n const keys = new Set<TKey | T>();\n for (const item of items) keys.add(keyFn ? keyFn(item) : item);\n return keys;\n}\n\n/**\n * Everything in either list, de-duplicated by key.\n *\n * Order is all of `first` followed by the members of `second` not already present. When two items share a\n * key, the one from `first` is the one kept — the left list wins, which is what an \"apply these updates on\n * top of what I have\" call expects.\n *\n * @param first The list whose items and order take precedence.\n * @param second The list contributing anything new.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function union<T, TKey = T>(\n first: readonly T[],\n second: readonly T[],\n keyFn?: (item: T) => TKey,\n): T[] {\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n for (const item of first) {\n const key = keyFn ? keyFn(item) : item;\n if (seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n for (const item of second) {\n const key = keyFn ? keyFn(item) : item;\n if (seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n return result;\n}\n\n/**\n * Only the items whose key appears in BOTH lists, de-duplicated, in `first`'s order and holding `first`'s\n * item instances.\n *\n * @param first The list supplying the result's items and order.\n * @param second The list acting as the membership test.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function intersection<T, TKey = T>(\n first: readonly T[],\n second: readonly T[],\n keyFn?: (item: T) => TKey,\n): T[] {\n const other = toKeySet(second, keyFn);\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n for (const item of first) {\n const key = keyFn ? keyFn(item) : item;\n if (!other.has(key) || seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n return result;\n}\n\n/**\n * The items of `first` whose key does NOT appear in `second`, de-duplicated, in `first`'s order.\n *\n * Asymmetric by definition: `difference(a, b)` answers \"what did I gain\", `difference(b, a)` answers \"what\n * did I lose\".\n *\n * @param first The list to subtract from.\n * @param second The list to subtract.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function difference<T, TKey = T>(\n first: readonly T[],\n second: readonly T[],\n keyFn?: (item: T) => TKey,\n): T[] {\n const other = toKeySet(second, keyFn);\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n for (const item of first) {\n const key = keyFn ? keyFn(item) : item;\n if (other.has(key) || seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n return result;\n}\n\n/**\n * Everything present in exactly one of the two lists — the \"what changed\" relation, `first`-only entries\n * followed by `second`-only entries.\n *\n * @param first The left list.\n * @param second The right list.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function symmetricDifference<T, TKey = T>(\n first: readonly T[],\n second: readonly T[],\n keyFn?: (item: T) => TKey,\n): T[] {\n return [...difference(first, second, keyFn), ...difference(second, first, keyFn)];\n}\n","// Records — the keyed-collection half of the slice: turning a list into a lookup, and reshaping the\n// lookup without mutating it.\n//\n// MAP FOR DERIVED LOOKUPS, RECORD FOR DECLARED SHAPES. `keyBy` returns a `Map` because the key comes from\n// the data at runtime and may be any type — a plain object would stringify a numeric id and reorder\n// integer-like keys ahead of string ones. `pickKeys` / `omitKeys` / `invertRecord` take records because\n// their keys are part of the caller's declared type, and the return type is derived from it (`Pick` /\n// `Omit`), which is the whole reason to prefer them over hand-written destructuring.\n//\n// `mapValues` straddles the two on purpose: it is overloaded so `groupBy(...)` → `mapValues(groups, (rows)\n// => rows.length)` keeps its `Map`, while a config record stays a record. One name, because the intent is\n// identical and a caller should not have to remember which container they are holding.\n//\n// STRING KEYS ONLY on the record helpers. They walk `Object.keys`, so own enumerable STRING keys are\n// visited: symbol keys are skipped, and a numeric key comes back as its string form (JavaScript's rule,\n// not this slice's). Prototype-inherited properties are never copied.\n\n/**\n * Indexes a list by an extracted key. The LAST item wins on a duplicate key, matching the \"latest write\n * of this id\" reading a lookup usually wants — use {@link groupBy} instead when duplicates are meaningful.\n *\n * @param items The source list; never mutated.\n * @param keyFn Extracts an item's key from the item and its index.\n * @returns A new `Map` in first-seen key order.\n * @see groupBy — the same shape when a key can legitimately hold several items.\n */\nexport function keyBy<T, TKey>(\n items: readonly T[],\n keyFn: (item: T, index: number) => TKey,\n): Map<TKey, T> {\n const result = new Map<TKey, T>();\n items.forEach((item, index) => {\n result.set(keyFn(item, index), item);\n });\n return result;\n}\n\n/**\n * Transforms every value, keeping the keys and their order. Overloaded on the container: a `Map` in gives\n * a `Map` out, a record in gives a record out.\n *\n * @param source The `Map` whose values should be transformed; never mutated.\n * @param mapFn Produces the replacement value from the current value and its key.\n * @returns A new `Map` with the same keys in the same order.\n */\nexport function mapValues<TKey, TValue, TResult>(\n source: ReadonlyMap<TKey, TValue>,\n mapFn: (value: TValue, key: TKey) => TResult,\n): Map<TKey, TResult>;\n/**\n * Transforms every value, keeping the keys and their order.\n *\n * @param source The record whose values should be transformed; never mutated.\n * @param mapFn Produces the replacement value from the current value and its key.\n * @returns A new record with the same own enumerable string keys.\n */\nexport function mapValues<TKey extends PropertyKey, TValue, TResult>(\n source: Readonly<Record<TKey, TValue>>,\n mapFn: (value: TValue, key: TKey) => TResult,\n): Record<TKey, TResult>;\nexport function mapValues(\n source: ReadonlyMap<unknown, unknown> | object,\n mapFn: (value: never, key: never) => unknown,\n): Map<unknown, unknown> | Record<string, unknown> {\n if (source instanceof Map) {\n const mapped = new Map<unknown, unknown>();\n for (const [key, value] of source.entries()) {\n mapped.set(key, mapFn(value as never, key as never));\n }\n return mapped;\n }\n const record = source as Record<string, unknown>;\n const mapped: Record<string, unknown> = {};\n for (const key of Object.keys(record)) {\n mapped[key] = mapFn(record[key] as never, key as never);\n }\n return mapped;\n}\n\n/**\n * Copies only the named keys into a new object.\n *\n * A key the source does not actually own is SKIPPED rather than copied as `undefined` — otherwise\n * `pickKeys(partial, ['a', 'b'])` would fabricate a `b` property that fails a `'b' in result` check and\n * serialises as an explicit null in a request body.\n *\n * @param source The object to read from; never mutated.\n * @param keys The keys to keep.\n * @returns A new object holding only the present named keys.\n */\nexport function pickKeys<T extends object, TKey extends keyof T>(\n source: T,\n keys: readonly TKey[],\n): Pick<T, TKey> {\n const result = {} as Pick<T, TKey>;\n for (const key of keys) {\n if (Object.prototype.hasOwnProperty.call(source, key)) result[key] = source[key];\n }\n return result;\n}\n\n/**\n * Copies every own enumerable string key EXCEPT the named ones into a new object — the immutable spelling\n * of `delete`, and the typed one (the result type loses the removed keys).\n *\n * @param source The object to read from; never mutated.\n * @param keys The keys to drop.\n * @returns A new object without the named keys.\n */\nexport function omitKeys<T extends object, TKey extends keyof T>(\n source: T,\n keys: readonly TKey[],\n): Omit<T, TKey> {\n const omitted = new Set<PropertyKey>(keys);\n const record = source as Record<string, unknown>;\n const result: Record<string, unknown> = {};\n for (const key of Object.keys(record)) {\n if (!omitted.has(key)) result[key] = record[key];\n }\n return result as Omit<T, TKey>;\n}\n\n/**\n * Collects key/value pairs into a record. Accepts any iterable, so a `Map`, a `URLSearchParams`, or the\n * output of {@link recordToEntries} all feed it directly. The LAST pair wins on a duplicate key.\n *\n * @param entries The pairs to collect.\n * @returns A new record.\n */\nexport function entriesToRecord<TKey extends PropertyKey, TValue>(\n entries: Iterable<readonly [TKey, TValue]>,\n): Record<TKey, TValue> {\n const result = {} as Record<TKey, TValue>;\n for (const [key, value] of entries) result[key] = value;\n return result;\n}\n\n/**\n * Lists a record's own enumerable string keys with their values, in `Object.keys` order — the typed\n * counterpart to `Object.entries`, which widens every key to `string`.\n *\n * @param record The record to read; never mutated.\n * @returns A new array of `[key, value]` tuples.\n */\nexport function recordToEntries<TKey extends PropertyKey, TValue>(\n record: Readonly<Record<TKey, TValue>>,\n): Array<[TKey, TValue]> {\n const keys = Object.keys(record) as Array<TKey & string>;\n return keys.map((key) => [key, record[key]]);\n}\n\n/**\n * Swaps keys and values. The LAST key wins when two keys share a value, so inverting a non-injective\n * record is lossy by design — the alternative (an array of keys per value) is {@link groupBy}'s job.\n *\n * @param record The record to invert; never mutated.\n * @returns A new record mapping each value back to a key.\n */\nexport function invertRecord<TKey extends PropertyKey, TValue extends PropertyKey>(\n record: Readonly<Record<TKey, TValue>>,\n): Record<TValue, TKey> {\n const result = {} as Record<TValue, TKey>;\n for (const [key, value] of recordToEntries(record)) result[value] = key;\n return result;\n}\n","// Comparison — structural equality for memo boundaries: `v-memo`, `computed` guards, \"is this form\n// dirty\", \"did the server actually send something new\".\n//\n// THREE FUNCTIONS, THREE COSTS, PICK DELIBERATELY. `arrayShallowEqual` is O(n) reference checks and is\n// what a list-prop memo wants. `shallowEqual` is the same one level deep on either arrays or objects.\n// `deepEqual` walks the whole structure — correct, and the one you must not put on a hot path over a large\n// payload without meaning to.\n//\n// `shallowEqual` DELEGATES its plain-object case to `foundation/utils`' `Equality.shallowEquals` rather\n// than re-deriving it; this file only adds the array dispatch and the deep walk, which that helper\n// deliberately does not do.\n//\n// WHY A DEEP VARIANT LIVES HERE AT ALL. `forms-engine` already carries a local `deepEqual`, scoped to form\n// values (primitives, plain objects, arrays, `Date`, `File`/`Blob`) and reachable only from that layer —\n// `foundation` may not import upward. This one is the general one: it additionally handles `Map`, `Set`,\n// `RegExp`, `ArrayBuffer` and typed arrays, and it terminates on circular structures.\n//\n// CIRCULARITY IS CO-INDUCTIVE. A pair already being compared higher in the stack is ASSUMED equal, so two\n// structures that loop the same way compare equal instead of recursing forever — the standard rule, and\n// the only one that terminates. The in-progress pair is dropped again when a comparison fails, because the\n// `Map`/`Set` matchers below probe candidate pairs whose failure must not be remembered as a success.\n//\n// TYPED ARRAYS COMPARE BYTE-WISE (same constructor, same byte length, same bytes). One consequence worth\n// knowing: `+0` and `-0` differ in bits, so they compare UNEQUAL inside a `Float64Array` while comparing\n// equal as plain numbers. Bit-equality is the right reading for a buffer.\n\nimport { Equality } from '../utils/Equality';\n\n/**\n * Compares two arrays element-by-element with `Object.is` — no recursion, no allocation.\n *\n * The cheapest correct check for a list prop rebuilt each render from stable item references (a `.map()`\n * over cached rows, a `computed` dependency). `NaN` equals `NaN`; two structurally identical but distinct\n * objects do not.\n *\n * @param first The left array.\n * @param second The right array.\n * @returns `true` when both have the same length and every index holds the same value.\n */\nexport function arrayShallowEqual<T>(first: readonly T[], second: readonly T[]): boolean {\n if (first === second) return true;\n if (first.length !== second.length) return false;\n return first.every((item, index) => Object.is(item, second[index]));\n}\n\n/**\n * Compares two values one level deep.\n *\n * Dispatches on shape: identical values short-circuit, two arrays go to {@link arrayShallowEqual}, two\n * objects compare their own enumerable keys with `Object.is`, and anything else (a primitive pair that was\n * not already identical, or a mismatched pair such as array vs object) is unequal.\n *\n * @param first The left value.\n * @param second The right value.\n * @returns `true` when the two are equal at one level of depth.\n */\nexport function shallowEqual(first: unknown, second: unknown): boolean {\n if (Object.is(first, second)) return true;\n if (first === null || second === null) return false;\n if (typeof first !== 'object' || typeof second !== 'object') return false;\n if (Array.isArray(first) || Array.isArray(second)) {\n return Array.isArray(first) && Array.isArray(second) && arrayShallowEqual(first, second);\n }\n return Equality.shallowEquals(\n first as Record<string, unknown>,\n second as Record<string, unknown>,\n );\n}\n\n/**\n * Compares two values structurally, all the way down.\n *\n * Understands `Date` (by timestamp), `RegExp` (source + flags), `Array`, `Map`, `Set`, `ArrayBuffer` and\n * every typed array / `DataView` (byte-wise), and plain objects (own enumerable string keys). `NaN` equals\n * `NaN`. Anything else falls back to `Object.is`, so two distinct `class` instances with equal fields DO\n * compare equal — the walk is structural and does not check constructors outside the built-ins above.\n *\n * Terminates on circular structures: a pair already under comparison is treated as equal.\n *\n * @param first The left value.\n * @param second The right value.\n * @returns `true` when the two are structurally equal.\n */\nexport function deepEqual(first: unknown, second: unknown): boolean {\n return deepEqualWithin(first, second, new Map<object, Set<object>>());\n}\n\n/** Runs one comparison against the set of pairs already under comparison on this walk. */\nfunction deepEqualWithin(\n first: unknown,\n second: unknown,\n seen: Map<object, Set<object>>,\n): boolean {\n if (Object.is(first, second)) return true;\n if (first === null || second === null) return false;\n if (typeof first !== 'object' || typeof second !== 'object') return false;\n\n const partners = seen.get(first);\n if (partners?.has(second)) return true;\n if (partners) partners.add(second);\n else seen.set(first, new Set<object>([second]));\n\n const isEqual = compareObjects(first, second, seen);\n // A failed probe must not linger as a remembered success — see the header note on `Map`/`Set` matching.\n if (!isEqual) seen.get(first)?.delete(second);\n return isEqual;\n}\n\n/** Dispatches two non-null objects to the branch that matches their built-in type. */\nfunction compareObjects(first: object, second: object, seen: Map<object, Set<object>>): boolean {\n if (first instanceof Date || second instanceof Date) {\n return (\n first instanceof Date &&\n second instanceof Date &&\n Object.is(first.getTime(), second.getTime())\n );\n }\n if (first instanceof RegExp || second instanceof RegExp) {\n return (\n first instanceof RegExp &&\n second instanceof RegExp &&\n first.source === second.source &&\n first.flags === second.flags\n );\n }\n if (ArrayBuffer.isView(first) || ArrayBuffer.isView(second)) {\n if (!ArrayBuffer.isView(first) || !ArrayBuffer.isView(second)) return false;\n if (first.constructor !== second.constructor) return false;\n return bytesEqual(\n new Uint8Array(first.buffer, first.byteOffset, first.byteLength),\n new Uint8Array(second.buffer, second.byteOffset, second.byteLength),\n );\n }\n if (first instanceof ArrayBuffer || second instanceof ArrayBuffer) {\n if (!(first instanceof ArrayBuffer) || !(second instanceof ArrayBuffer)) return false;\n return bytesEqual(new Uint8Array(first), new Uint8Array(second));\n }\n if (Array.isArray(first) || Array.isArray(second)) {\n if (!Array.isArray(first) || !Array.isArray(second)) return false;\n if (first.length !== second.length) return false;\n return first.every((item, index) => deepEqualWithin(item, second[index], seen));\n }\n if (first instanceof Map || second instanceof Map) {\n if (!(first instanceof Map) || !(second instanceof Map)) return false;\n if (first.size !== second.size) return false;\n return mapsEqual(first, second, seen);\n }\n if (first instanceof Set || second instanceof Set) {\n if (!(first instanceof Set) || !(second instanceof Set)) return false;\n if (first.size !== second.size) return false;\n return setsEqual(first, second, seen);\n }\n\n const leftKeys = Object.keys(first);\n const rightKeys = Object.keys(second);\n if (leftKeys.length !== rightKeys.length) return false;\n const left = first as Record<string, unknown>;\n const right = second as Record<string, unknown>;\n return leftKeys.every(\n (key) =>\n Object.prototype.hasOwnProperty.call(second, key) &&\n deepEqualWithin(left[key], right[key], seen),\n );\n}\n\n/** Compares two byte views of equal-or-different length. */\nfunction bytesEqual(first: Uint8Array, second: Uint8Array): boolean {\n if (first.length !== second.length) return false;\n for (let index = 0; index < first.length; index += 1) {\n if (first[index] !== second[index]) return false;\n }\n return true;\n}\n\n/**\n * Compares two equally-sized maps. Takes the direct route when every key of `first` is a key of `second`\n * (the string/number-key case, O(n)); otherwise falls back to matching each entry against an unclaimed\n * entry of `second`, which is the only correct answer when keys are themselves objects.\n */\nfunction mapsEqual(\n first: ReadonlyMap<unknown, unknown>,\n second: ReadonlyMap<unknown, unknown>,\n seen: Map<object, Set<object>>,\n): boolean {\n let hasEveryKey = true;\n for (const key of first.keys()) {\n if (!second.has(key)) {\n hasEveryKey = false;\n break;\n }\n }\n if (hasEveryKey) {\n for (const [key, value] of first) {\n if (!deepEqualWithin(value, second.get(key), seen)) return false;\n }\n return true;\n }\n\n const unclaimed = [...second.entries()];\n for (const [key, value] of first) {\n const index = unclaimed.findIndex(\n (entry) =>\n deepEqualWithin(key, entry[0], seen) && deepEqualWithin(value, entry[1], seen),\n );\n if (index === -1) return false;\n unclaimed.splice(index, 1);\n }\n return true;\n}\n\n/**\n * Compares two equally-sized sets. Members present in both by identity are settled first and cost nothing;\n * only the structural leftovers are matched pairwise.\n */\nfunction setsEqual(\n first: ReadonlySet<unknown>,\n second: ReadonlySet<unknown>,\n seen: Map<object, Set<object>>,\n): boolean {\n const unmatched: unknown[] = [];\n for (const member of first) {\n if (!second.has(member)) unmatched.push(member);\n }\n if (unmatched.length === 0) return true;\n\n const candidates = [...second].filter((member) => !first.has(member));\n if (candidates.length !== unmatched.length) return false;\n for (const member of unmatched) {\n const index = candidates.findIndex((candidate) => deepEqualWithin(member, candidate, seen));\n if (index === -1) return false;\n candidates.splice(index, 1);\n }\n return true;\n}\n","// Tree — turning the flat `{ id, parentId }` list an API returns into something a tree view can render,\n// and walking it once it is nested.\n//\n// THE OUTPUT WRAPS, IT DOES NOT SPREAD. `buildTree` returns `TreeNode<T>` — `{ item, children }` — rather\n// than `{ ...item, children }`. Spreading copies every row (wasteful on a large list), breaks referential\n// equality against the source rows (so every memo downstream misses), and collides the moment a row has\n// its own `children` field. The wrapper holds the ORIGINAL item reference.\n//\n// SERVER DATA IS NOT A TREE UNTIL PROVEN. Two malformed shapes arrive in practice and neither may throw or\n// hang, because the alternative is a blank screen for one bad row:\n//\n// 1. ORPHAN — `parentId` names a row that is not in the list (deleted, or filtered out by paging). The\n// orphan is PROMOTED TO A ROOT. Dropping it would silently hide data; a root is visible and wrong in\n// a way a user can report.\n// 2. CYCLE — a parent chain that loops (`a → b → c → a`, or a row that is its own parent). Every row ON\n// the cycle is PROMOTED TO A ROOT and its upward link is severed. Rows merely BELOW a cycle keep\n// their parent and nest normally under whichever cycle member became a root. Nothing is dropped and\n// every row appears exactly once. Detection is an explicit upward walk per row with an on-path set,\n// so it terminates by construction.\n//\n// The node builder additionally guards on the id currently being expanded. That is not redundant with the\n// cycle detection above: it covers DUPLICATE ids, where two different rows claim the same id and the\n// parent index can otherwise hand a row back to itself.\n//\n// `flattenTree` / `findInTree` take a `childrenKey` because a consumer's own nested shape (`items`,\n// `nodes`, `subRows`) is as common as this slice's own, and both guard against a self-referential node so\n// a hand-built structure cannot hang them either.\n\n/** One node of a built tree — the source item plus the items that named it as parent. */\nexport interface TreeNode<T> {\n /** The source item, by reference — never a copy, so memo comparisons against the input still hit. */\n readonly item: T;\n /** The direct children, in the order the source list listed them. Empty for a leaf. */\n readonly children: ReadonlyArray<TreeNode<T>>;\n}\n\n/** The two accessors {@link buildTree} needs to read a flat list's parent/child relation. */\nexport interface BuildTreeOptions<T, TId> {\n /** Reads an item's own identity. */\n readonly id: (item: T) => TId;\n /** Reads the id of an item's parent, or a nullish value when the item is a root. */\n readonly parentId: (item: T) => TId | null | undefined;\n}\n\n/**\n * Nests a flat list into roots-with-children.\n *\n * Root order and sibling order both follow the input's order — no sorting happens here, deliberately.\n * Ordering a tree is `foundation/selection`'s job (`applySort` over the flat list before building, or over\n * a node's `children` after); a second comparator in this slice would let a tree order its rows\n * differently from the table beside it.\n *\n * Malformed input is tolerated, not rejected: an item whose parent is missing becomes a root, and an item\n * on a cyclic parent chain becomes a root with its upward link severed. Neither case drops an item, and\n * neither hangs. A duplicate id resolves to its first occurrence for parent lookups.\n *\n * @param items The flat list; never mutated, and its item references are reused in the result.\n * @param options The `id` / `parentId` accessors.\n * @returns A new array of root nodes.\n */\nexport function buildTree<T, TId>(\n items: readonly T[],\n options: BuildTreeOptions<T, TId>,\n): TreeNode<T>[] {\n const { id, parentId } = options;\n\n const byId = new Map<TId, T>();\n for (const item of items) {\n const key = id(item);\n if (!byId.has(key)) byId.set(key, item);\n }\n\n const cyclicIds = detectCyclicIds(items, byId, id, parentId);\n\n const childrenById = new Map<TId, T[]>();\n const roots: T[] = [];\n for (const item of items) {\n const parent = parentId(item);\n const isRoot =\n parent === null || parent === undefined || !byId.has(parent) || cyclicIds.has(id(item));\n if (isRoot) {\n roots.push(item);\n continue;\n }\n const siblings = childrenById.get(parent);\n if (siblings) siblings.push(item);\n else childrenById.set(parent, [item]);\n }\n\n const expanding = new Set<TId>();\n const toNode = (item: T): TreeNode<T> => {\n const key = id(item);\n // Duplicate-id guard: a second row claiming an id already on the path would otherwise re-expand the\n // same child list forever. It renders as a leaf instead.\n if (expanding.has(key)) return { item, children: [] };\n expanding.add(key);\n const children = (childrenById.get(key) ?? []).map(toNode);\n expanding.delete(key);\n return { item, children };\n };\n\n return roots.map(toNode);\n}\n\n/**\n * Collects every id that sits ON a parent cycle. Walks upward from each item with an on-path set, so the\n * walk is bounded by the chain length and a loop is caught the moment it revisits an id.\n */\nfunction detectCyclicIds<T, TId>(\n items: readonly T[],\n byId: ReadonlyMap<TId, T>,\n id: (item: T) => TId,\n parentId: (item: T) => TId | null | undefined,\n): Set<TId> {\n const cyclicIds = new Set<TId>();\n for (const item of items) {\n const start = id(item);\n if (cyclicIds.has(start)) continue;\n\n const path: TId[] = [];\n const onPath = new Set<TId>();\n let currentId: TId | undefined = start;\n while (currentId !== undefined) {\n if (onPath.has(currentId)) {\n // Only the suffix from the revisited id onwards is the loop; anything before it merely leads in.\n const loopStart = path.indexOf(currentId);\n for (let index = loopStart; index < path.length; index += 1) {\n cyclicIds.add(path[index] as TId);\n }\n break;\n }\n const owner = byId.get(currentId);\n if (owner === undefined) break;\n onPath.add(currentId);\n path.push(currentId);\n currentId = parentId(owner) ?? undefined;\n }\n }\n return cyclicIds;\n}\n\n/** Reads a node's children under the configured key, treating anything non-array as \"no children\". */\nfunction readChildren<TNode extends object>(\n node: TNode,\n childrenKey: PropertyKey,\n): readonly TNode[] {\n const children = (node as Record<PropertyKey, unknown>)[childrenKey];\n return Array.isArray(children) ? (children as TNode[]) : [];\n}\n\n/**\n * Walks a nested structure depth-first, pre-order, into one flat list — parent before its children, which\n * is the order a collapsed/expanded tree view renders rows in.\n *\n * A node already visited is skipped, so a self-referential structure terminates and each node appears once.\n *\n * @param nodes The roots to walk; never mutated, and node references are reused in the result.\n * @param childrenKey The property holding a node's children; defaults to `'children'`.\n * @returns A new flat array of the same node objects.\n */\nexport function flattenTree<TNode extends object>(\n nodes: readonly TNode[],\n childrenKey: PropertyKey = 'children',\n): TNode[] {\n const result: TNode[] = [];\n const visited = new Set<TNode>();\n const walk = (level: readonly TNode[]): void => {\n for (const node of level) {\n if (visited.has(node)) continue;\n visited.add(node);\n result.push(node);\n walk(readChildren(node, childrenKey));\n }\n };\n walk(nodes);\n return result;\n}\n\n/**\n * Finds the first node matching a predicate, depth-first, pre-order — the lookup behind \"select the node\n * for this route\" and \"reveal the row with this id\".\n *\n * @param nodes The roots to search.\n * @param predicate Receives each node and its 0-based depth.\n * @param childrenKey The property holding a node's children; defaults to `'children'`.\n * @returns The matching node, or `undefined` when nothing matches.\n */\nexport function findInTree<TNode extends object>(\n nodes: readonly TNode[],\n predicate: (node: TNode, depth: number) => boolean,\n childrenKey: PropertyKey = 'children',\n): TNode | undefined {\n const visited = new Set<TNode>();\n const walk = (level: readonly TNode[], depth: number): TNode | undefined => {\n for (const node of level) {\n if (visited.has(node)) continue;\n visited.add(node);\n if (predicate(node, depth)) return node;\n const found = walk(readChildren(node, childrenKey), depth + 1);\n if (found !== undefined) return found;\n }\n return undefined;\n };\n return walk(nodes, 0);\n}\n\n/**\n * Rebuilds a {@link TreeNode} tree with every item transformed, keeping the shape and the order.\n *\n * Typed to this slice's node shape rather than a `childrenKey`, because the result has to BE a tree: a\n * generic nested object could not be reassembled without knowing which key to write back.\n *\n * @param nodes The roots to map; never mutated.\n * @param mapFn Produces the replacement item from the current item and its 0-based depth.\n * @returns A new tree of new nodes.\n */\nexport function mapTree<T, TResult>(\n nodes: readonly TreeNode<T>[],\n mapFn: (item: T, depth: number) => TResult,\n): TreeNode<TResult>[] {\n const walk = (level: readonly TreeNode<T>[], depth: number): TreeNode<TResult>[] =>\n level.map((node) => ({\n item: mapFn(node.item, depth),\n children: walk(node.children, depth + 1),\n }));\n return walk(nodes, 0);\n}\n"],"names":["mapped"],"mappings":";AA+BO,SAAS,OACd,OACA,OACK;AACL,QAAM,2BAAW,IAAA;AACjB,QAAM,SAAc,CAAA;AACpB,QAAM,QAAQ,CAAC,MAAM,UAAU;AAC7B,UAAM,MAAM,QAAQ,MAAM,MAAM,KAAK,IAAI;AACzC,QAAI,KAAK,IAAI,GAAG,EAAG;AACnB,SAAK,IAAI,GAAG;AACZ,WAAO,KAAK,IAAI;AAAA,EAClB,CAAC;AACD,SAAO;AACT;AAaO,SAAS,QACd,OACA,OACgB;AAChB,QAAM,6BAAa,IAAA;AACnB,QAAM,QAAQ,CAAC,MAAM,UAAU;AAC7B,UAAM,MAAM,MAAM,MAAM,KAAK;AAC7B,UAAM,QAAQ,OAAO,IAAI,GAAG;AAC5B,QAAI,MAAO,OAAM,KAAK,IAAI;AAAA,QACrB,QAAO,IAAI,KAAK,CAAC,IAAI,CAAC;AAAA,EAC7B,CAAC;AACD,SAAO;AACT;AASO,SAAS,UACd,OACA,WACY;AACZ,QAAM,UAAe,CAAA;AACrB,QAAM,OAAY,CAAA;AAClB,QAAM,QAAQ,CAAC,MAAM,UAAU;AAC7B,KAAC,UAAU,MAAM,KAAK,IAAI,UAAU,MAAM,KAAK,IAAI;AAAA,EACrD,CAAC;AACD,SAAO,CAAC,SAAS,IAAI;AACvB;AAYO,SAAS,MAAS,OAAqB,MAAqB;AACjE,MAAI,CAAC,OAAO,UAAU,IAAI,KAAK,OAAO,GAAG;AACvC,UAAM,IAAI,WAAW,oDAAoD,OAAO,IAAI,CAAC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"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/foundation/collections/Arrays.ts","../../../src/foundation/collections/SetOps.ts","../../../src/foundation/collections/Records.ts","../../../src/foundation/collections/Comparison.ts","../../../src/foundation/collections/Tree.ts"],"sourcesContent":["// Arrays — the immutable list operations every list-shaped surface re-derives: dedupe, group, split,\n// reorder, and the four positional edits (insert / remove / replace / toggle).\n//\n// WHY A SLICE AND NOT A DEPENDENCY. `lodash` / `remeda` cover most of this, but the SDK ships as a\n// peer-light package: one utility import must not pull a second collection library into every product\n// bundle. Each function here is a handful of lines and the behaviour is pinned by one test file.\n//\n// EVERY FUNCTION RETURNS A NEW ARRAY — including the no-op cases (`move(items, 2, 2)`,\n// `removeAt(items, 99)`). A conditional identity return is the classic reactivity footgun: a caller relying on\n// referential change to re-render would silently stop updating for exactly the inputs that look harmless.\n// The copy is O(n) and n here is a rendered list. (`selection`'s `applySort` deliberately makes the other\n// choice — it returns the input for an empty descriptor list — because an unsorted render is its hot path.)\n//\n// POSITIONAL EDITS CLAMP, THEY DO NOT THROW. Drag-and-drop, keyboard reorder, and server-echoed indices\n// all produce out-of-range values under normal operation; a thrown `RangeError` in a render path turns a\n// cosmetic bug into a blank screen. `chunk` and `range` are the exceptions and DO throw, because a zero or\n// negative step is a programmer error with no sane fallback — and would loop forever.\n\nimport { Equality, type EqualityComparer } from './Equality';\n\n/**\n * Removes duplicates, keeping the FIRST occurrence of each key and the input's order.\n *\n * Without `keyFn` the item itself is the key, compared with `Set` semantics (SameValueZero — so `NaN`\n * de-duplicates against `NaN`, and `+0` against `-0`). With `keyFn`, the extracted key decides, which is\n * how you de-duplicate rows by `id` while keeping the first-seen row object.\n *\n * @param items The source list; never mutated.\n * @param keyFn Optional key extractor receiving the item and its index.\n * @returns A new array holding the first item per distinct key.\n */\nexport function unique<T, TKey = T>(items: ReadonlyArray<T>, keyFn?: (item: T, index: number) => TKey): T[] {\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n items.forEach((item, index) => {\n const key = keyFn ? keyFn(item, index) : item;\n if (seen.has(key)) return;\n seen.add(key);\n result.push(item);\n });\n return result;\n}\n\n/**\n * Buckets items by an extracted key into a `Map`.\n *\n * A `Map` rather than a plain object for two reasons: keys stay their real type (a numeric or object key\n * is not stringified), and iteration order is the order keys were FIRST seen — a plain object reorders\n * integer-like keys ahead of string ones, which silently rearranges rendered group headings.\n *\n * @param items The source list; never mutated.\n * @param keyFn Extracts the group key from an item and its index.\n * @returns A new `Map` of key to a new array of that key's items, both in first-seen order.\n */\nexport function groupBy<T, TKey>(items: ReadonlyArray<T>, keyFn: (item: T, index: number) => TKey): Map<TKey, T[]> {\n const groups = new Map<TKey, T[]>();\n items.forEach((item, index) => {\n const key = keyFn(item, index);\n const group = groups.get(key);\n if (group) group.push(item);\n else groups.set(key, [item]);\n });\n return groups;\n}\n\n/**\n * Splits a list in two by a predicate, in one pass, preserving order in both halves.\n *\n * @param items The source list; never mutated.\n * @param predicate Decides whether an item belongs to the first half.\n * @returns A `[matched, rest]` tuple of two new arrays.\n */\nexport function partition<T>(items: ReadonlyArray<T>, predicate: (item: T, index: number) => boolean): [T[], T[]] {\n const matched: T[] = [];\n const rest: T[] = [];\n items.forEach((item, index) => {\n (predicate(item, index) ? matched : rest).push(item);\n });\n return [matched, rest];\n}\n\n/**\n * Slices a list into consecutive groups of at most `size`. The final group is short when the length is\n * not a multiple of `size`.\n *\n * @param items The source list; never mutated.\n * @param size The maximum group length; must be a positive integer.\n * @returns A new array of new arrays. An empty input yields `[]`, never `[[]]`.\n * @throws {RangeError} When `size` is not a positive integer — a zero or negative size has no meaningful\n * result and would loop forever.\n */\nexport function chunk<T>(items: ReadonlyArray<T>, size: number): T[][] {\n if (!Number.isInteger(size) || size < 1) {\n throw new RangeError(`chunk: size must be a positive integer, received ${String(size)}`);\n }\n const result: T[][] = [];\n for (let index = 0; index < items.length; index += size) {\n result.push(items.slice(index, index + size));\n }\n return result;\n}\n\n/**\n * Reorders one item, using drag-and-drop semantics: the item is REMOVED first, then re-inserted at `to`\n * measured in the shortened list. This is the behaviour a pointer drag implies — dropping item 0 onto\n * slot 2 of `[a, b, c, d]` yields `[b, c, a, d]`, i.e. the dragged item lands where the cursor is, not one\n * slot past it. Pairs with `foundation/gestures`' `useDrag`.\n *\n * Both indices are truncated and clamped into range, so an over-drag past either end parks the item at\n * that end instead of throwing or dropping it.\n *\n * @param items The source list; never mutated.\n * @param from The index of the item to move.\n * @param to The index it should occupy afterwards.\n * @returns A new array with the item relocated; a new copy when `from` and `to` resolve to the same slot.\n */\nexport function move<T>(items: ReadonlyArray<T>, from: number, to: number): T[] {\n const result = [...items];\n if (result.length === 0) return result;\n const lastIndex = result.length - 1;\n const fromIndex = Math.min(Math.max(Math.trunc(from), 0), lastIndex);\n const toIndex = Math.min(Math.max(Math.trunc(to), 0), lastIndex);\n if (fromIndex === toIndex) return result;\n const [moved] = result.splice(fromIndex, 1);\n result.splice(toIndex, 0, moved as T);\n return result;\n}\n\n/**\n * Inserts one value at an index. The index is clamped to `[0, length]`, so `length` appends and a\n * negative index prepends.\n *\n * @param items The source list; never mutated.\n * @param index Where the new value should land.\n * @param value The value to insert.\n * @returns A new array one longer than the input.\n */\nexport function insertAt<T>(items: ReadonlyArray<T>, index: number, value: T): T[] {\n const result = [...items];\n const at = Math.min(Math.max(Math.trunc(index), 0), result.length);\n result.splice(at, 0, value);\n return result;\n}\n\n/**\n * Removes the item at an index. An out-of-range index removes nothing and still returns a fresh copy.\n *\n * @param items The source list; never mutated.\n * @param index The index to drop.\n * @returns A new array, one shorter when the index was in range.\n */\nexport function removeAt<T>(items: ReadonlyArray<T>, index: number): T[] {\n const result = [...items];\n const at = Math.trunc(index);\n if (!Number.isFinite(at) || at < 0 || at >= result.length) return result;\n result.splice(at, 1);\n return result;\n}\n\n/**\n * Replaces the item at an index. An out-of-range index replaces nothing and still returns a fresh copy —\n * it never grows the array or punches an `undefined` hole in it.\n *\n * @param items The source list; never mutated.\n * @param index The index to overwrite.\n * @param value The replacement value.\n * @returns A new array of the same length as the input.\n */\nexport function replaceAt<T>(items: ReadonlyArray<T>, index: number, value: T): T[] {\n const result = [...items];\n const at = Math.trunc(index);\n if (!Number.isFinite(at) || at < 0 || at >= result.length) return result;\n result[at] = value;\n return result;\n}\n\n/**\n * Adds an item when absent, removes it when present — the checkbox/chip/multi-select primitive.\n *\n * Equality defaults to `foundation/collections`' `Equality.strictEquals` (`Object.is`), which is reference\n * equality for objects; pass `Equality.byKey((row) => row.id)` (or any comparer) when the toggled value is\n * a fresh object each render. EVERY match is removed, so a list that already held duplicates toggles all of\n * them off at once. An added item is appended at the end.\n *\n * @param items The source list; never mutated.\n * @param item The value to toggle.\n * @param equalsFn Decides whether a list entry IS the toggled item.\n * @returns A new array with the item removed or appended.\n */\nexport function toggleItem<T>(\n items: ReadonlyArray<T>,\n item: T,\n equalsFn: EqualityComparer<T> = Equality.strictEquals,\n): T[] {\n const remaining = items.filter((candidate) => !equalsFn(candidate, item));\n return remaining.length === items.length ? [...items, item] : remaining;\n}\n\n/**\n * Pairs two lists positionally, stopping at the SHORTER one — the extra tail is dropped rather than\n * padded with `undefined`, so the result type has no holes to narrow away at every call site.\n *\n * @param first The list supplying each pair's first slot.\n * @param second The list supplying each pair's second slot.\n * @returns A new array of `[first, second]` tuples, `min(first.length, second.length)` long.\n */\nexport function zip<TFirst, TSecond>(\n first: ReadonlyArray<TFirst>,\n second: ReadonlyArray<TSecond>,\n): Array<[TFirst, TSecond]> {\n const length = Math.min(first.length, second.length);\n const result: Array<[TFirst, TSecond]> = [];\n for (let index = 0; index < length; index += 1) {\n result.push([first[index] as TFirst, second[index] as TSecond]);\n }\n return result;\n}\n\n/**\n * Splits a list of pairs back into two lists — the inverse of {@link zip}.\n *\n * @param pairs The tuples to split.\n * @returns A `[firsts, seconds]` tuple of two new arrays, each as long as `pairs`.\n */\nexport function unzip<TFirst, TSecond>(pairs: readonly (readonly [TFirst, TSecond])[]): [TFirst[], TSecond[]] {\n const first: TFirst[] = [];\n const second: TSecond[] = [];\n for (const pair of pairs) {\n first.push(pair[0]);\n second.push(pair[1]);\n }\n return [first, second];\n}\n\n/**\n * Builds a numeric sequence over the HALF-OPEN interval `[start, end)` — `end` is excluded, so\n * `range(0, items.length)` indexes a list exactly and `range(a, b).length === b - a`.\n *\n * A negative `step` counts down. When the step points away from `end` (`range(0, 5, -1)`) the result is\n * empty rather than infinite.\n *\n * @param start The first value, always included when the range is non-empty.\n * @param end The exclusive bound.\n * @param step The increment; defaults to `1`.\n * @returns A new array of numbers.\n * @throws {RangeError} When `step` is zero or any argument is non-finite — each would loop forever.\n */\nexport function range(start: number, end: number, step = 1): number[] {\n if (!Number.isFinite(start) || !Number.isFinite(end)) {\n throw new RangeError(`range: start and end must be finite, received ${String(start)}..${String(end)}`);\n }\n if (step === 0 || !Number.isFinite(step)) {\n throw new RangeError(`range: step must be a non-zero finite number, received ${String(step)}`);\n }\n const result: number[] = [];\n for (let value = start; step > 0 ? value < end : value > end;) {\n result.push(value);\n const next = value + step;\n if (next === value) throw new RangeError('range: step cannot advance at this magnitude.');\n value = next;\n }\n return result;\n}\n","// SetOps — the four set relations, expressed over ARRAYS rather than `Set`s.\n//\n// WHY ARRAYS IN AND ARRAYS OUT. A `Set` is the right internal index and the wrong public type here: `v-for`\n// renders lists, `key` bindings need a stable order, and a `Set` has no index. Every caller that reached for\n// `new Set([...a].filter(...))` had to spread it straight back to an array anyway, losing order on the way.\n// These take arrays, index with a `Set` internally, and hand back arrays.\n//\n// ORDER IS DEFINED, NOT INCIDENTAL. Results follow the FIRST argument's order, then (for `union` and\n// `symmetricDifference`) the second's. Set theory says these are unordered; a rendered list disagrees, and\n// an undefined order would reshuffle rows on every recompute.\n//\n// SET SEMANTICS MEAN DE-DUPLICATION. All four collapse duplicates within the inputs — `union([a, a], [])`\n// is `[a]`. Use `foundation/collections`' `Arrays` helpers when you want a bag, not a set.\n//\n// The optional `keyFn` is what makes these usable on entities: two fetches return equal-but-not-identical\n// row objects, so `difference(next, previous, (row) => row.id)` is the real-world call, not the identity one.\n\n/** Indexes a list by its comparison key — the shared internal step of every relation below. */\nfunction toKeySet<T, TKey>(items: ReadonlyArray<T>, keyFn?: (item: T) => TKey): Set<TKey | T> {\n const keys = new Set<TKey | T>();\n for (const item of items) keys.add(keyFn ? keyFn(item) : item);\n return keys;\n}\n\n/**\n * Everything in either list, de-duplicated by key.\n *\n * Order is all of `first` followed by the members of `second` not already present. When two items share a\n * key, the one from `first` is the one kept — the left list wins, which is what an \"apply these updates on\n * top of what I have\" call expects.\n *\n * @param first The list whose items and order take precedence.\n * @param second The list contributing anything new.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function union<T, TKey = T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>, keyFn?: (item: T) => TKey): T[] {\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n for (const item of first) {\n const key = keyFn ? keyFn(item) : item;\n if (seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n for (const item of second) {\n const key = keyFn ? keyFn(item) : item;\n if (seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n return result;\n}\n\n/**\n * Only the items whose key appears in BOTH lists, de-duplicated, in `first`'s order and holding `first`'s\n * item instances.\n *\n * @param first The list supplying the result's items and order.\n * @param second The list acting as the membership test.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function intersection<T, TKey = T>(\n first: ReadonlyArray<T>,\n second: ReadonlyArray<T>,\n keyFn?: (item: T) => TKey,\n): T[] {\n const other = toKeySet(second, keyFn);\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n for (const item of first) {\n const key = keyFn ? keyFn(item) : item;\n if (!other.has(key) || seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n return result;\n}\n\n/**\n * The items of `first` whose key does NOT appear in `second`, de-duplicated, in `first`'s order.\n *\n * Asymmetric by definition: `difference(a, b)` answers \"what did I gain\", `difference(b, a)` answers \"what\n * did I lose\".\n *\n * @param first The list to subtract from.\n * @param second The list to subtract.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function difference<T, TKey = T>(\n first: ReadonlyArray<T>,\n second: ReadonlyArray<T>,\n keyFn?: (item: T) => TKey,\n): T[] {\n const other = toKeySet(second, keyFn);\n const seen = new Set<TKey | T>();\n const result: T[] = [];\n for (const item of first) {\n const key = keyFn ? keyFn(item) : item;\n if (other.has(key) || seen.has(key)) continue;\n seen.add(key);\n result.push(item);\n }\n return result;\n}\n\n/**\n * Everything present in exactly one of the two lists — the \"what changed\" relation, `first`-only entries\n * followed by `second`-only entries.\n *\n * @param first The left list.\n * @param second The right list.\n * @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).\n * @returns A new array; neither input is mutated.\n */\nexport function symmetricDifference<T, TKey = T>(\n first: ReadonlyArray<T>,\n second: ReadonlyArray<T>,\n keyFn?: (item: T) => TKey,\n): T[] {\n return [...difference(first, second, keyFn), ...difference(second, first, keyFn)];\n}\n","// Records — the keyed-collection half of the slice: turning a list into a lookup, and reshaping the\n// lookup without mutating it.\n//\n// MAP FOR DERIVED LOOKUPS, RECORD FOR DECLARED SHAPES. `keyBy` returns a `Map` because the key comes from\n// the data at runtime and may be any type — a plain object would stringify a numeric id and reorder\n// integer-like keys ahead of string ones. `pickKeys` / `omitKeys` / `invertRecord` take records because\n// their keys are part of the caller's declared type, and the return type is derived from it (`Pick` /\n// `Omit`), which is the whole reason to prefer them over hand-written destructuring.\n//\n// `mapValues` straddles the two on purpose: it is overloaded so `groupBy(...)` → `mapValues(groups, (rows)\n// => rows.length)` keeps its `Map`, while a config record stays a record. One name, because the intent is\n// identical and a caller should not have to remember which container they are holding.\n//\n// STRING KEYS ONLY on the record helpers. They walk `Object.keys`, so own enumerable STRING keys are\n// visited: symbol keys are skipped, and a numeric key comes back as its string form (JavaScript's rule,\n// not this slice's). Prototype-inherited properties are never copied.\n\n/**\n * Indexes a list by an extracted key. The LAST item wins on a duplicate key, matching the \"latest write\n * of this id\" reading a lookup usually wants — use {@link groupBy} instead when duplicates are meaningful.\n *\n * @param items The source list; never mutated.\n * @param keyFn Extracts an item's key from the item and its index.\n * @returns A new `Map` in first-seen key order.\n * @see groupBy — the same shape when a key can legitimately hold several items.\n */\nexport function keyBy<T, TKey>(items: ReadonlyArray<T>, keyFn: (item: T, index: number) => TKey): Map<TKey, T> {\n const result = new Map<TKey, T>();\n items.forEach((item, index) => {\n result.set(keyFn(item, index), item);\n });\n return result;\n}\n\n/**\n * Transforms every value, keeping the keys and their order. Overloaded on the container: a `Map` in gives\n * a `Map` out, a record in gives a record out.\n *\n * @param source The `Map` whose values should be transformed; never mutated.\n * @param mapFn Produces the replacement value from the current value and its key.\n * @returns A new `Map` with the same keys in the same order.\n */\nexport function mapValues<TKey, TValue, TResult>(\n source: ReadonlyMap<TKey, TValue>,\n mapFn: (value: TValue, key: TKey) => TResult,\n): Map<TKey, TResult>;\n/**\n * Transforms every value, keeping the keys and their order.\n *\n * @param source The record whose values should be transformed; never mutated.\n * @param mapFn Produces the replacement value from the current value and its key.\n * @returns A new record with the same own enumerable string keys.\n */\nexport function mapValues<TKey extends PropertyKey, TValue, TResult>(\n source: Readonly<Record<TKey, TValue>>,\n mapFn: (value: TValue, key: TKey) => TResult,\n): Record<TKey, TResult>;\nexport function mapValues(\n source: ReadonlyMap<unknown, unknown> | object,\n mapFn: (value: never, key: never) => unknown,\n): Map<unknown, unknown> | Record<string, unknown> {\n if (source instanceof Map) {\n const mapped = new Map<unknown, unknown>();\n for (const [key, value] of source.entries()) {\n mapped.set(key, mapFn(value as never, key as never));\n }\n return mapped;\n }\n const record = source as Record<string, unknown>;\n const mapped: Record<string, unknown> = {};\n for (const key of Object.keys(record)) {\n defineEntry(mapped, key, mapFn(record[key] as never, key as never));\n }\n return mapped;\n}\n\n/**\n * Copies only the named keys into a new object.\n *\n * A key the source does not actually own is SKIPPED rather than copied as `undefined` — otherwise\n * `pickKeys(partial, ['a', 'b'])` would fabricate a `b` property that fails a `'b' in result` check and\n * serialises as an explicit null in a request body.\n *\n * @param source The object to read from; never mutated.\n * @param keys The keys to keep.\n * @returns A new object holding only the present named keys.\n */\nexport function pickKeys<T extends object, TKey extends keyof T>(source: T, keys: ReadonlyArray<TKey>): Pick<T, TKey> {\n const result = {} as Pick<T, TKey>;\n for (const key of keys) {\n if (Object.prototype.hasOwnProperty.call(source, key)) defineEntry(result, key, source[key]);\n }\n return result;\n}\n\n/**\n * Copies every own enumerable string key EXCEPT the named ones into a new object — the immutable spelling\n * of `delete`, and the typed one (the result type loses the removed keys).\n *\n * @param source The object to read from; never mutated.\n * @param keys The keys to drop.\n * @returns A new object without the named keys.\n */\nexport function omitKeys<T extends object, TKey extends keyof T>(source: T, keys: ReadonlyArray<TKey>): Omit<T, TKey> {\n const omitted = new Set<PropertyKey>(keys);\n const record = source as Record<string, unknown>;\n const result: Record<string, unknown> = {};\n for (const key of Object.keys(record)) {\n if (!omitted.has(key)) defineEntry(result, key, record[key]);\n }\n return result as Omit<T, TKey>;\n}\n\n/**\n * Collects key/value pairs into a record. Accepts any iterable, so a `Map`, a `URLSearchParams`, or the\n * output of {@link recordToEntries} all feed it directly. The LAST pair wins on a duplicate key.\n *\n * @param entries The pairs to collect.\n * @returns A new record.\n */\nexport function entriesToRecord<TKey extends PropertyKey, TValue>(\n entries: Iterable<readonly [TKey, TValue]>,\n): Record<TKey, TValue> {\n const result = {} as Record<TKey, TValue>;\n for (const [key, value] of entries) defineEntry(result, key, value);\n return result;\n}\n\n/**\n * Lists a record's own enumerable string keys with their values, in `Object.keys` order — the typed\n * counterpart to `Object.entries`, which widens every key to `string`.\n *\n * @param record The record to read; never mutated.\n * @returns A new array of `[key, value]` tuples.\n */\nexport function recordToEntries<TKey extends PropertyKey, TValue>(\n record: Readonly<Record<TKey, TValue>>,\n): Array<[TKey, TValue]> {\n const keys = Object.keys(record) as Array<TKey & string>;\n return keys.map((key) => [key, record[key]]);\n}\n\n/**\n * Swaps keys and values. The LAST key wins when two keys share a value, so inverting a non-injective\n * record is lossy by design — the alternative (an array of keys per value) is {@link groupBy}'s job.\n *\n * @param record The record to invert; never mutated.\n * @returns A new record mapping each value back to a key.\n */\nexport function invertRecord<TKey extends PropertyKey, TValue extends PropertyKey>(\n record: Readonly<Record<TKey, TValue>>,\n): Record<TValue, TKey> {\n const result = {} as Record<TValue, TKey>;\n for (const [key, value] of recordToEntries(record)) defineEntry(result, value, key);\n return result;\n}\n\n/** Defines data without invoking Object.prototype's legacy __proto__ setter. */\nfunction defineEntry(target: object, key: PropertyKey, value: unknown): void {\n Object.defineProperty(target, key, { value, writable: true, enumerable: true, configurable: true });\n}\n","// Comparison — structural equality for memo boundaries: `v-memo`, `computed` guards, \"is this form\n// dirty\", \"did the server actually send something new\".\n//\n// THREE FUNCTIONS, THREE COSTS, PICK DELIBERATELY. `arrayShallowEqual` is O(n) reference checks and is\n// what a list-prop memo wants. `shallowEqual` is the same one level deep on either arrays or objects.\n// `deepEqual` walks the whole structure — correct, and the one you must not put on a hot path over a large\n// payload without meaning to.\n//\n// `shallowEqual` DELEGATES its plain-object case to `foundation/collections`' `Equality.shallowEquals` rather\n// than re-deriving it; this file only adds the array dispatch and the deep walk, which that helper\n// deliberately does not do.\n//\n// WHY A DEEP VARIANT LIVES HERE AT ALL. `forms-engine` already carries a local `deepEqual`, scoped to form\n// values (primitives, plain objects, arrays, `Date`, `File`/`Blob`) and reachable only from that layer —\n// `foundation` may not import upward. This one is the general one: it additionally handles `Map`, `Set`,\n// `RegExp`, `ArrayBuffer` and typed arrays, and it terminates on circular structures.\n//\n// CIRCULARITY IS CO-INDUCTIVE. A pair already being compared higher in the stack is ASSUMED equal, so two\n// structures that loop the same way compare equal instead of recursing forever — the standard rule, and\n// the only one that terminates. The in-progress pair is dropped again when a comparison fails, because the\n// `Map`/`Set` matchers below probe candidate pairs whose failure must not be remembered as a success.\n//\n// TYPED ARRAYS COMPARE BYTE-WISE (same constructor, same byte length, same bytes). One consequence worth\n// knowing: `+0` and `-0` differ in bits, so they compare UNEQUAL inside a `Float64Array` while comparing\n// equal as plain numbers. Bit-equality is the right reading for a buffer.\n\nimport { Equality } from './Equality';\nimport { ExactNumber } from '../numbers';\n\n/**\n * Compares two arrays element-by-element with `Object.is` — no recursion, no allocation.\n *\n * The cheapest correct check for a list prop rebuilt each render from stable item references (a `.map()`\n * over cached rows, a `computed` dependency). `NaN` equals `NaN`; two structurally identical but distinct\n * objects do not.\n *\n * @param first The left array.\n * @param second The right array.\n * @returns `true` when both have the same length and every index holds the same value.\n */\nexport function arrayShallowEqual<T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>): boolean {\n if (first === second) return true;\n if (first.length !== second.length) return false;\n for (let index = 0; index < first.length; index++) {\n if (!Object.is(first[index], second[index])) return false;\n }\n return true;\n}\n\n/**\n * Compares two values one level deep.\n *\n * Dispatches on shape: identical values short-circuit, two arrays go to {@link arrayShallowEqual}, two\n * objects compare their own enumerable keys with `Object.is`, and anything else (a primitive pair that was\n * not already identical, or a mismatched pair such as array vs object) is unequal.\n *\n * @param first The left value.\n * @param second The right value.\n * @returns `true` when the two are equal at one level of depth.\n */\nexport function shallowEqual(first: unknown, second: unknown): boolean {\n if (Object.is(first, second)) return true;\n if (first === null || second === null) return false;\n if (typeof first !== 'object' || typeof second !== 'object') return false;\n if (Array.isArray(first) || Array.isArray(second)) {\n return Array.isArray(first) && Array.isArray(second) && arrayShallowEqual(first, second);\n }\n return Equality.shallowEquals(first as Record<string, unknown>, second as Record<string, unknown>);\n}\n\n/**\n * Compares two values structurally, all the way down.\n *\n * Understands `Date` (by timestamp), `RegExp` (source + flags), `Array`, `Map`, `Set`, `ArrayBuffer` and\n * every typed array / `DataView` (byte-wise), and plain objects (own enumerable string keys). `NaN` equals\n * `NaN`. Anything else falls back to `Object.is`, so two distinct `class` instances with equal fields DO\n * compare equal — the walk is structural and does not check constructors outside the built-ins above.\n *\n * Terminates on circular structures: a pair already under comparison is treated as equal.\n *\n * @param first The left value.\n * @param second The right value.\n * @returns `true` when the two are structurally equal.\n */\nexport function deepEqual(first: unknown, second: unknown): boolean {\n return deepEqualWithin(first, second, new Map<object, Set<object>>());\n}\n\n/** Runs one comparison against the set of pairs already under comparison on this walk. */\nfunction deepEqualWithin(first: unknown, second: unknown, seen: Map<object, Set<object>>): boolean {\n if (Object.is(first, second)) return true;\n if (first === null || second === null) return false;\n if (typeof first !== 'object' || typeof second !== 'object') return false;\n if (ExactNumber.isExactNumber(first) || ExactNumber.isExactNumber(second)) {\n return Equality.shallowEquals(first as Record<string, unknown>, second as Record<string, unknown>);\n }\n\n const partners = seen.get(first);\n if (partners?.has(second)) return true;\n if (partners) partners.add(second);\n else seen.set(first, new Set<object>([second]));\n\n const isEqual = compareObjects(first, second, seen);\n // A failed probe must not linger as a remembered success — see the header note on `Map`/`Set` matching.\n if (!isEqual) seen.get(first)?.delete(second);\n return isEqual;\n}\n\n/** Dispatches two non-null objects to the branch that matches their built-in type. */\nfunction compareObjects(first: object, second: object, seen: Map<object, Set<object>>): boolean {\n if (first instanceof Date || second instanceof Date) {\n return first instanceof Date && second instanceof Date && Object.is(first.getTime(), second.getTime());\n }\n if (first instanceof RegExp || second instanceof RegExp) {\n return (\n first instanceof RegExp &&\n second instanceof RegExp &&\n first.source === second.source &&\n first.flags === second.flags\n );\n }\n if (ArrayBuffer.isView(first) || ArrayBuffer.isView(second)) {\n if (!ArrayBuffer.isView(first) || !ArrayBuffer.isView(second)) return false;\n if (first.constructor !== second.constructor) return false;\n return bytesEqual(\n new Uint8Array(first.buffer, first.byteOffset, first.byteLength),\n new Uint8Array(second.buffer, second.byteOffset, second.byteLength),\n );\n }\n if (first instanceof ArrayBuffer || second instanceof ArrayBuffer) {\n if (!(first instanceof ArrayBuffer) || !(second instanceof ArrayBuffer)) return false;\n return bytesEqual(new Uint8Array(first), new Uint8Array(second));\n }\n if (Array.isArray(first) || Array.isArray(second)) {\n if (!Array.isArray(first) || !Array.isArray(second)) return false;\n if (first.length !== second.length) return false;\n for (let index = 0; index < first.length; index++) {\n if (!deepEqualWithin(first[index], second[index], seen)) return false;\n }\n return true;\n }\n if (first instanceof Map || second instanceof Map) {\n if (!(first instanceof Map) || !(second instanceof Map)) return false;\n if (first.size !== second.size) return false;\n return mapsEqual(first, second, seen);\n }\n if (first instanceof Set || second instanceof Set) {\n if (!(first instanceof Set) || !(second instanceof Set)) return false;\n if (first.size !== second.size) return false;\n return setsEqual(first, second, seen);\n }\n\n const leftKeys = Object.keys(first);\n const rightKeys = Object.keys(second);\n if (leftKeys.length !== rightKeys.length) return false;\n const left = first as Record<string, unknown>;\n const right = second as Record<string, unknown>;\n return leftKeys.every(\n (key) => Object.prototype.hasOwnProperty.call(second, key) && deepEqualWithin(left[key], right[key], seen),\n );\n}\n\n/** Compares two byte views of equal-or-different length. */\nfunction bytesEqual(first: Uint8Array, second: Uint8Array): boolean {\n if (first.length !== second.length) return false;\n for (let index = 0; index < first.length; index += 1) {\n if (first[index] !== second[index]) return false;\n }\n return true;\n}\n\n/**\n * Compares two equally-sized maps. Takes the direct route when every key of `first` is a key of `second`\n * (the string/number-key case, O(n)); otherwise falls back to matching each entry against an unclaimed\n * entry of `second`, which is the only correct answer when keys are themselves objects.\n */\nfunction mapsEqual(\n first: ReadonlyMap<unknown, unknown>,\n second: ReadonlyMap<unknown, unknown>,\n seen: Map<object, Set<object>>,\n): boolean {\n let hasEveryKey = true;\n for (const key of first.keys()) {\n if (!second.has(key)) {\n hasEveryKey = false;\n break;\n }\n }\n if (hasEveryKey) {\n for (const [key, value] of first) {\n if (!deepEqualWithin(value, second.get(key), seen)) return false;\n }\n return true;\n }\n\n const unclaimed = [...second.entries()];\n for (const [key, value] of first) {\n const index = unclaimed.findIndex(\n (entry) => deepEqualWithin(key, entry[0], seen) && deepEqualWithin(value, entry[1], seen),\n );\n if (index === -1) return false;\n unclaimed.splice(index, 1);\n }\n return true;\n}\n\n/**\n * Compares two equally-sized sets. Members present in both by identity are settled first and cost nothing;\n * only the structural leftovers are matched pairwise.\n */\nfunction setsEqual(first: ReadonlySet<unknown>, second: ReadonlySet<unknown>, seen: Map<object, Set<object>>): boolean {\n const unmatched: unknown[] = [];\n for (const member of first) {\n if (!second.has(member)) unmatched.push(member);\n }\n if (unmatched.length === 0) return true;\n\n const candidates = [...second].filter((member) => !first.has(member));\n if (candidates.length !== unmatched.length) return false;\n for (const member of unmatched) {\n const index = candidates.findIndex((candidate) => deepEqualWithin(member, candidate, seen));\n if (index === -1) return false;\n candidates.splice(index, 1);\n }\n return true;\n}\n","// Tree — turning the flat `{ id, parentId }` list an API returns into something a tree view can render,\n// and walking it once it is nested.\n//\n// THE OUTPUT WRAPS, IT DOES NOT SPREAD. `buildTree` returns `TreeNode<T>` — `{ item, children }` — rather\n// than `{ ...item, children }`. Spreading copies every row (wasteful on a large list), breaks referential\n// equality against the source rows (so every memo downstream misses), and collides the moment a row has\n// its own `children` field. The wrapper holds the ORIGINAL item reference.\n//\n// SERVER DATA IS NOT A TREE UNTIL PROVEN. Two malformed shapes arrive in practice and neither may throw or\n// hang, because the alternative is a blank screen for one bad row:\n//\n// 1. ORPHAN — `parentId` names a row that is not in the list (deleted, or filtered out by paging). The\n// orphan is PROMOTED TO A ROOT. Dropping it would silently hide data; a root is visible and wrong in\n// a way a user can report.\n// 2. CYCLE — a parent chain that loops (`a → b → c → a`, or a row that is its own parent). Every row ON\n// the cycle is PROMOTED TO A ROOT and its upward link is severed. Rows merely BELOW a cycle keep\n// their parent and nest normally under whichever cycle member became a root. Nothing is dropped and\n// every row appears exactly once. Detection visits each parent edge once, so building is O(n).\n//\n// Duplicate ids resolve to the first owner. Every input row has exactly one output node.\n//\n// `flattenTree` / `findInTree` take a `childrenKey` because a consumer's own nested shape (`items`,\n// `nodes`, `subRows`) is as common as this slice's own, and both guard against a self-referential node so\n// a hand-built structure cannot hang them either.\n\n/** One node of a built tree — the source item plus the items that named it as parent. */\nexport interface TreeNode<T> {\n /** The source item, by reference — never a copy, so memo comparisons against the input still hit. */\n readonly item: T;\n /** The direct children, in the order the source list listed them. Empty for a leaf. */\n readonly children: ReadonlyArray<TreeNode<T>>;\n}\n\n/** The two accessors {@link buildTree} needs to read a flat list's parent/child relation. */\nexport interface BuildTreeOptions<T, TId> {\n /** Reads an item's own identity. */\n readonly id: (item: T) => TId;\n /** Reads the id of an item's parent, or a nullish value when the item is a root. */\n readonly parentId: (item: T) => TId | null | undefined;\n}\n\n/**\n * Nests a flat list into roots-with-children.\n *\n * Root order and sibling order both follow the input's order — no sorting happens here, deliberately.\n * Ordering a tree is `foundation/selection`'s job (`applySort` over the flat list before building, or over\n * a node's `children` after); a second comparator in this slice would let a tree order its rows\n * differently from the table beside it.\n *\n * Malformed input is tolerated, not rejected: an item whose parent is missing becomes a root, and an item\n * on a cyclic parent chain becomes a root with its upward link severed. Neither case drops an item, and\n * neither hangs. A duplicate id resolves to its first occurrence for parent lookups.\n *\n * @param items The flat list; never mutated, and its item references are reused in the result.\n * @param options The `id` / `parentId` accessors.\n * @returns A new array of root nodes.\n */\nexport function buildTree<T, TId>(items: ReadonlyArray<T>, options: BuildTreeOptions<T, TId>): TreeNode<T>[] {\n const byId = new Map<TId, number>();\n const nodes = items.map((item, index) => {\n const key = options.id(item);\n if (!byId.has(key)) byId.set(key, index);\n return { item, children: [] as TreeNode<T>[] };\n });\n const parents = items.map((item) => {\n const key = options.parentId(item);\n return key === null || key === undefined ? undefined : byId.get(key);\n });\n // Each parent edge is visited once. A completed chain never needs walking again.\n const completed = new Set<number>();\n const cyclic = new Set<number>();\n for (let index = 0; index < nodes.length; index++) {\n const path: number[] = [];\n const positions = new Map<number, number>();\n let current: number | undefined = index;\n while (current !== undefined && !completed.has(current)) {\n const position = positions.get(current);\n if (position !== undefined) {\n for (let offset = position; offset < path.length; offset++) cyclic.add(path[offset]!);\n break;\n }\n positions.set(current, path.length);\n path.push(current);\n current = parents[current];\n }\n for (const visited of path) completed.add(visited);\n }\n const roots: TreeNode<T>[] = [];\n nodes.forEach((node, index) => {\n const parent = parents[index];\n if (parent === undefined || cyclic.has(index)) roots.push(node);\n else nodes[parent]!.children.push(node);\n });\n return roots;\n}\n\n/** Reads a node's children under the configured key, treating anything non-array as \"no children\". */\nfunction readChildren<TNode extends object>(node: TNode, childrenKey: PropertyKey): ReadonlyArray<TNode> {\n const children = (node as Record<PropertyKey, unknown>)[childrenKey];\n return Array.isArray(children) ? (children as TNode[]) : [];\n}\n\n/**\n * Walks a nested structure depth-first, pre-order, into one flat list — parent before its children, which\n * is the order a collapsed/expanded tree view renders rows in.\n *\n * A node already visited is skipped, so a self-referential structure terminates and each node appears once.\n *\n * @param nodes The roots to walk; never mutated, and node references are reused in the result.\n * @param childrenKey The property holding a node's children; defaults to `'children'`.\n * @returns A new flat array of the same node objects.\n */\nexport function flattenTree<TNode extends object>(\n nodes: ReadonlyArray<TNode>,\n childrenKey: PropertyKey = 'children',\n): TNode[] {\n const result: TNode[] = [];\n findInTree(\n nodes,\n (node) => {\n result.push(node);\n return false;\n },\n childrenKey,\n );\n return result;\n}\n\n/**\n * Finds the first node matching a predicate, depth-first, pre-order — the lookup behind \"select the node\n * for this route\" and \"reveal the row with this id\".\n *\n * @param nodes The roots to search.\n * @param predicate Receives each node and its 0-based depth.\n * @param childrenKey The property holding a node's children; defaults to `'children'`.\n * @returns The matching node, or `undefined` when nothing matches.\n */\nexport function findInTree<TNode extends object>(\n nodes: ReadonlyArray<TNode>,\n predicate: (node: TNode, depth: number) => boolean,\n childrenKey: PropertyKey = 'children',\n): TNode | undefined {\n const visited = new Set<TNode>();\n const stack = [{ nodes, index: 0 }];\n while (stack.length > 0) {\n const frame = stack[stack.length - 1]!;\n if (frame.index >= frame.nodes.length) {\n stack.pop();\n continue;\n }\n const node = frame.nodes[frame.index++]!;\n if (visited.has(node)) continue;\n visited.add(node);\n if (predicate(node, stack.length - 1)) return node;\n stack.push({ nodes: readChildren(node, childrenKey), index: 0 });\n }\n return undefined;\n}\n\n/**\n * Rebuilds a {@link TreeNode} tree with every item transformed, keeping the shape and the order.\n *\n * Typed to this slice's node shape rather than a `childrenKey`, because the result has to BE a tree: a\n * generic nested object could not be reassembled without knowing which key to write back.\n *\n * @param nodes The roots to map; never mutated.\n * @param mapFn Produces the replacement item from the current item and its 0-based depth.\n * @returns A new tree of new nodes.\n * @throws {TypeError} When the input contains a cycle; shared subtrees remain supported.\n */\nexport function mapTree<T, TResult>(\n nodes: ReadonlyArray<TreeNode<T>>,\n mapFn: (item: T, depth: number) => TResult,\n): TreeNode<TResult>[] {\n const result: TreeNode<TResult>[] = [];\n const active = new Set<TreeNode<T>>();\n const stack: Array<{\n nodes: ReadonlyArray<TreeNode<T>>;\n index: number;\n output: TreeNode<TResult>[];\n owner?: TreeNode<T>;\n }> = [{ nodes, index: 0, output: result }];\n while (stack.length > 0) {\n const frame = stack[stack.length - 1]!;\n if (frame.index >= frame.nodes.length) {\n if (frame.owner) active.delete(frame.owner);\n stack.pop();\n continue;\n }\n const node = frame.nodes[frame.index++]!;\n if (active.has(node)) throw new TypeError('mapTree: cyclic input is not a tree.');\n const children: TreeNode<TResult>[] = [];\n frame.output.push({ item: mapFn(node.item, stack.length - 1), children });\n active.add(node);\n stack.push({ nodes: node.children, index: 0, output: children, owner: node });\n }\n return result;\n}\n"],"names":["mapped"],"mappings":";;AA+BO,SAAS,OAAoB,OAAyB,OAA+C;AAC1G,QAAM,2BAAW,IAAA;AACjB,QAAM,SAAc,CAAA;AACpB,QAAM,QAAQ,CAAC,MAAM,UAAU;AAC7B,UAAM,MAAM,QAAQ,MAAM,MAAM,KAAK,IAAI;AACzC,QAAI,KAAK,IAAI,GAAG,EAAG;AACnB,SAAK,IAAI,GAAG;AACZ,WAAO,KAAK,IAAI;AAAA,EAClB,CAAC;AACD,SAAO;AACT;AAaO,SAAS,QAAiB,OAAyB,OAAyD;AACjH,QAAM,6BAAa,IAAA;AACnB,QAAM,QAAQ,CAAC,MAAM,UAAU;AA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,SAAS,GAAG;AACvB,UAAM,QAAQ,MAAM,MAAM,SAAS,CAAC;AACpC,QAAI,MAAM,SAAS,MAAM,MAAM,QAAQ;AACrC,YAAM,IAAA;AACN;AAAA,IACF;AACA,UAAM,OAAO,MAAM,MAAM,MAAM,OAAO;AACtC,QAAI,QAAQ,IAAI,IAAI,EAAG;AACvB,YAAQ,IAAI,IAAI;AAChB,QAAI,UAAU,MAAM,MAAM,SAAS,CAAC,EAAG,QAAO;AAC9C,UAAM,KAAK,EAAE,OAAO,aAAa,MAAM,WAAW,GAAG,OAAO,GAAG;AAAA,EACjE;AACA,SAAO;AACT;AAaO,SAAS,QACd,OACA,OACqB;AACrB,QAAM,SAA8B,CAAA;AACpC,QAAM,6BAAa,IAAA;AACnB,QAAM,QAKD,CAAC,EAAE,OAAO,OAAO,GAAG,QAAQ,QAAQ;AACzC,SAAO,MAAM,SAAS,GAAG;AACvB,UAAM,QAAQ,MAAM,MAAM,SAAS,CAAC;AACpC,QAAI,MAAM,SAAS,MAAM,MAAM,QAAQ;AACrC,UAAI,MAAM,MAAO,QAAO,OAAO,MAAM,KAAK;AAC1C,YAAM,IAAA;AACN;AAAA,IACF;AACA,UAAM,OAAO,MAAM,MAAM,MAAM,OAAO;AACtC,QAAI,OAAO,IAAI,IAAI,EAAG,OAAM,IAAI,UAAU,sCAAsC;AAChF,UAAM,WAAgC,CAAA;AACtC,UAAM,OAAO,KAAK,EAAE,MAAM,MAAM,KAAK,MAAM,MAAM,SAAS,CAAC,GAAG,SAAA,CAAU;AACxE,WAAO,IAAI,IAAI;AACf,UAAM,KAAK,EAAE,OAAO,KAAK,UAAU,OAAO,GAAG,QAAQ,UAAU,OAAO,KAAA,CAAM;AAAA,EAC9E;AACA,SAAO;AACT;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Result } from '../results';
|
|
1
2
|
/** The opaque payload handed to a command's `run` — apps narrow it inside their own handler (`ctx as MyCtx`). */
|
|
2
3
|
export type CommandContext = unknown;
|
|
3
4
|
/** Describes one invocable action — the unit a palette lists, a menu renders, and a chord triggers. */
|
|
@@ -11,36 +12,27 @@ export interface Command {
|
|
|
11
12
|
/** Optional grouping label (`Navigation`, `Editor`) — used for section headers and searched at the lowest rank. */
|
|
12
13
|
readonly group?: string;
|
|
13
14
|
/** Extra search terms that don't belong in the title (`['theme', 'appearance']` for "Toggle dark mode"). */
|
|
14
|
-
readonly keywords?:
|
|
15
|
-
/**
|
|
15
|
+
readonly keywords?: ReadonlyArray<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Optional chord string in `foundation/shortcuts` syntax (`'mod+k'`) — bound by `useCommandShortcuts`,
|
|
18
|
+
* rendered by `commandShortcutLabel`.
|
|
19
|
+
*/
|
|
16
20
|
readonly shortcut?: string;
|
|
17
|
-
/** Optional icon slot, intentionally untyped —
|
|
21
|
+
/** Optional icon slot, intentionally untyped — the render site casts it to its icon component type. */
|
|
18
22
|
readonly icon?: unknown;
|
|
19
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Availability predicate re-evaluated on every read. Must be cheap and side-effect free (`available()` calls it
|
|
25
|
+
* per command).
|
|
26
|
+
*/
|
|
20
27
|
readonly when?: () => boolean;
|
|
21
28
|
/** Hard off-switch — `false` hides the command from `available()` regardless of `when`. Defaults to `true`. */
|
|
22
29
|
readonly enabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
readonly run: (context?: CommandContext) => void | Promise<void>;
|
|
30
|
+
/** Expected failures return Result; total handlers may return void. Programmer exceptions remain exceptional. */
|
|
31
|
+
readonly run: (context?: CommandContext) => void | Result | Promise<void | Result>;
|
|
25
32
|
}
|
|
26
33
|
/**
|
|
27
34
|
* Reports whether a command may run right now — `enabled !== false` **and** `when()` (when present) passing.
|
|
28
35
|
* Exported so a surface holding a plain array (not a registry) applies the same rule the registry does.
|
|
29
|
-
*
|
|
36
|
+
* Programmer exceptions from a broken predicate propagate; registry execution reports them before rejecting.
|
|
30
37
|
*/
|
|
31
38
|
export declare function isCommandAvailable(command: Command): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Defines the result of `registry.run(...)`. Every path resolves to one of these — the registry never throws, so a
|
|
34
|
-
* keystroke handler needs no try/catch and a caller can distinguish "no such command" from "blocked" from "failed".
|
|
35
|
-
*/
|
|
36
|
-
export declare const CommandRunOutcome: {
|
|
37
|
-
/** The handler ran to completion (an async handler resolved). */
|
|
38
|
-
readonly Ran: "ran";
|
|
39
|
-
/** No command is registered under that id. */
|
|
40
|
-
readonly NotFound: "not-found";
|
|
41
|
-
/** The command exists but `when()` / `enabled` blocked it. */
|
|
42
|
-
readonly Unavailable: "unavailable";
|
|
43
|
-
/** The handler threw or rejected — the error was routed to the registry's `onError`. */
|
|
44
|
-
readonly Failed: "failed";
|
|
45
|
-
};
|
|
46
|
-
export type CommandRunOutcome = (typeof CommandRunOutcome)[keyof typeof CommandRunOutcome];
|