@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/foundation/clipboard/ClipboardResult.ts","../../../src/foundation/clipboard/ClipboardSupport.ts","../../../src/foundation/clipboard/LegacyCopy.ts","../../../src/foundation/clipboard/CopyText.ts","../../../src/foundation/clipboard/CopyItems.ts","../../../src/foundation/clipboard/ReadClipboard.ts","../../../src/foundation/clipboard/PasteItems.ts","../../../src/foundation/clipboard/UsePasteHandler.ts","../../../src/foundation/clipboard/UseClipboardCopy.ts","../../../src/foundation/clipboard/ClipboardPermission.ts"],"sourcesContent":["// The vocabulary every entry point in this slice answers in — the result unions, the options, and the helpers\n// that build a result from a caught value.\n//\n// WHY A DISCRIMINATED RESULT AND NOT A PROMISE THAT REJECTS. A clipboard write fails for four reasons that a UI\n// must render differently: the API is absent (render a manual \"select and press Ctrl+C\" affordance), the user or\n// the platform refused (explain the permission), the platform broke (a toast), or it worked. Collapsing those\n// into \"rejected\" throws away the distinction, and collapsing them into reactive state — what\n// `foundation/hooks`' `useClipboard` does — makes the outcome unreadable to any caller that is not a component.\n// So every entry point resolves to one of these unions and NOTHING in the slice throws.\n//\n// The three non-success arms are ONE type ({@link ClipboardFailure}) shared by the write and both read results,\n// not three parallel copies. Reading and writing fail for exactly the same reasons, so a consumer writes one\n// error renderer, and the helpers below build a value assignable to every result union.\n//\n// `denied` is split out from `failed` on the error's `name`, not its message: `NotAllowedError` is what the\n// platform raises when the permission was refused or there was no transient activation, and `SecurityError` is\n// what some engines raise for the same call in a non-secure context. Both mean \"the platform refused\", which is\n// a different repair for the user (grant the permission / use HTTPS) than \"the platform broke\".\n//\n// Matching on `name` rather than `instanceof DOMException` is deliberate, for the same reason\n// `foundation/errors`' recognizers do it: the check has to hold for a `DOMException` from another realm, for\n// environments with no `DOMException` global, and for the plain `{ name: 'NotAllowedError' }` a test double\n// throws.\n\nimport { toError } from '../errors';\n\n/**\n * The ways a clipboard operation ends without producing a payload. Shared by {@link ClipboardWriteResult} and\n * both read results, so one `switch` renders every error path in the slice.\n *\n * - `denied` — the platform refused: permission not granted, the paste prompt dismissed, or no user gesture\n * behind the call.\n * - `unsupported` — no Clipboard API here: SSR, a non-secure context, or an engine without the method. A\n * capability fact, not a failure — nothing went wrong, the road is simply not there.\n * - `failed` — anything else, carrying the normalized `Error`.\n */\nexport type ClipboardFailure =\n | { readonly status: 'denied'; readonly error: Error }\n | { readonly status: 'unsupported' }\n | { readonly status: 'failed'; readonly error: Error };\n\n/** The outcome of a clipboard write — `copied` on success, otherwise a {@link ClipboardFailure}. */\nexport type ClipboardWriteResult = { readonly status: 'copied' } | ClipboardFailure;\n\n/** The `status` discriminant of a {@link ClipboardWriteResult} — for a consumer's own switch or status→copy map. */\nexport type ClipboardWriteStatus = ClipboardWriteResult['status'];\n\n/** One MIME-typed payload read off the system clipboard. */\nexport interface ClipboardReadItem {\n /** The MIME type the platform reported — `text/plain`, `text/html`, `image/png`, … */\n readonly type: string;\n\n /** The payload itself. Read it with `blob.text()` for textual types, or hand it to `URL.createObjectURL`. */\n readonly blob: Blob;\n}\n\n/**\n * The outcome of a clipboard text read. `read` carries the text — an empty clipboard reads as `''`, which is a\n * successful read of nothing rather than a failure.\n */\nexport type ClipboardReadTextResult = { readonly status: 'read'; readonly text: string } | ClipboardFailure;\n\n/** The outcome of a multi-format clipboard read. `read` carries one entry per MIME type the platform offered. */\nexport type ClipboardReadItemsResult =\n | { readonly status: 'read'; readonly items: readonly ClipboardReadItem[] }\n | ClipboardFailure;\n\n/** The `status` discriminant shared by both read results. */\nexport type ClipboardReadStatus = ClipboardReadTextResult['status'];\n\n/** Tunes a clipboard read. */\nexport interface ClipboardReadOptions {\n /**\n * Called with the normalized error on a `denied` or `failed` result — the seam for a toast or telemetry hook.\n * Never called for `unsupported`, which is a capability fact rather than a failure. A throw from this callback\n * is swallowed. Called at most once per operation, on the final result.\n */\n readonly onError?: (error: Error) => void;\n}\n\n/** Tunes a clipboard write. */\nexport interface ClipboardCopyOptions extends ClipboardReadOptions {\n /**\n * Whether a write the Clipboard API cannot complete retries through the deprecated\n * `document.execCommand('copy')` path. Defaults to `false`.\n *\n * Opt in for reach — older Safari and any non-secure context have no `navigator.clipboard` at all, and\n * `execCommand` is the only write available there. Leave it off to stay on standards-track APIs only. See\n * `LegacyCopy.ts` for the deprecation caveats and for exactly when the retry runs.\n */\n readonly legacyFallback?: boolean;\n}\n\n/** The shape every result family shares, so one reporter can serve every entry point. */\ntype ClipboardOutcome = { readonly status: string; readonly error?: Error };\n\n/** Reads a caught value's `name` as a string. Guarded, so a throwing getter reads as absent. */\nfunction nameOf(value: unknown): string | undefined {\n try {\n if (typeof value !== 'object' || value === null) return undefined;\n const name: unknown = (value as { name?: unknown }).name;\n return typeof name === 'string' ? name : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Checks whether a caught value is the platform refusing rather than breaking — the split behind `denied`.\n * Exported for the sibling modules; absent from the barrel, where the statuses are the answer callers want.\n *\n * @param value The caught value.\n */\nexport function isPermissionRefusal(value: unknown): boolean {\n const name = nameOf(value);\n return name === 'NotAllowedError' || name === 'SecurityError';\n}\n\n/**\n * Turns a caught value into the `denied` or `failed` arm it belongs in. Serves reads and writes alike — the\n * returned {@link ClipboardFailure} is assignable to every result union in the slice. Exported for the sibling\n * modules; absent from the barrel. Never throws: `toError` is total.\n *\n * @param error The caught value.\n */\nexport function toClipboardFailure(error: unknown): ClipboardFailure {\n const failure = toError(error);\n return isPermissionRefusal(error) ? { status: 'denied', error: failure } : { status: 'failed', error: failure };\n}\n\n/**\n * Hands a consumer's callback the failure carried by `result`, absorbing a throw from the callback itself. A\n * reporter that throws must not convert a typed result into an unhandled rejection.\n *\n * Called once per entry point, on the FINAL result — so a write that degrades through the legacy fallback\n * reports the outcome the caller receives, not each intermediate attempt. Exported for the sibling modules;\n * absent from the barrel.\n *\n * @param result The outcome about to be returned.\n * @param onError The consumer's reporter, if they supplied one.\n * @returns `result`, unchanged — so a call site can `return reportClipboardOutcome(...)`.\n */\nexport function reportClipboardOutcome<TResult extends ClipboardOutcome>(\n result: TResult,\n onError: ((error: Error) => void) | undefined,\n): TResult {\n if (onError === undefined) return result;\n if (result.error === undefined) return result;\n\n try {\n onError(result.error);\n } catch {\n // The consumer's own reporter failed. There is nothing useful left to do with that — the result still\n // reaches the caller, which is the guarantee that matters.\n }\n return result;\n}\n","// Capability detection — the four questions a UI asks BEFORE it renders a clipboard affordance, plus the two\n// guarded global reads every other module in the slice goes through.\n//\n// Per-method, not per-API. `navigator.clipboard` existing tells you almost nothing: Firefox exposes the object\n// and `writeText` on it while withholding `readText` from page script entirely, and every engine shipped\n// `writeText` years before `write`. So each predicate probes the exact method its operation calls, and the\n// modules never touch `navigator.clipboard` directly.\n//\n// Every read is wrapped: `navigator` can be absent (SSR), a getter can throw (a hardened page, an over-eager\n// polyfill), and a partial implementation can leave a property that is not a function. All of those have to\n// become `false`, never an exception — a feature check that throws is worse than no feature check.\n//\n// `ClipboardItem` is read off `globalThis` rather than referenced as a bare global for the same reason: it is\n// undefined in Node and in older Safari, and a bare reference would be a `ReferenceError` instead of a `false`.\n\n/** The `ClipboardItem` constructor, narrowed to the one overload this slice calls. */\nexport type ClipboardItemConstructor = new (items: Record<string, Blob>) => ClipboardItem;\n\n/** Reads a member off an object, guarded — a throwing getter reads as `undefined`. */\nfunction member(source: object, key: string): unknown {\n try {\n return (source as Record<string, unknown>)[key];\n } catch {\n return undefined;\n }\n}\n\n/**\n * Reads `navigator.clipboard` if it is there and usable. Guarded end-to-end; returns `undefined` under SSR.\n * Exported for the sibling modules; absent from the barrel.\n */\nexport function clipboardApi(): Clipboard | undefined {\n try {\n if (typeof navigator === 'undefined') return undefined;\n const clipboard = member(navigator, 'clipboard');\n if (typeof clipboard !== 'object' || clipboard === null) return undefined;\n return clipboard as Clipboard;\n } catch {\n return undefined;\n }\n}\n\n/** The Clipboard API methods this slice calls. */\nexport type ClipboardMethodName = 'writeText' | 'write' | 'readText' | 'read';\n\n/**\n * Resolves one of the Clipboard API's methods, bound to the clipboard object, or `undefined` when this engine\n * does not implement it. The single gate every operation passes through. Exported for the sibling modules;\n * absent from the barrel.\n *\n * Bound rather than returned bare: a caller invoking a detached `writeText` would lose its receiver and get a\n * `TypeError` (\"Illegal invocation\") from the real implementation.\n *\n * @param name The method to resolve — `writeText`, `write`, `readText`, or `read`.\n */\nexport function clipboardMethod<TName extends ClipboardMethodName>(name: TName): Clipboard[TName] | undefined {\n const clipboard = clipboardApi();\n if (clipboard === undefined) return undefined;\n\n const method = member(clipboard, name);\n if (typeof method !== 'function') return undefined;\n\n try {\n return (method as (...args: unknown[]) => unknown).bind(clipboard) as Clipboard[TName];\n } catch {\n return undefined;\n }\n}\n\n/**\n * Reads the `ClipboardItem` constructor, which multi-format writes need and which Node and older Safari lack.\n * Exported for the sibling modules; absent from the barrel.\n */\nexport function clipboardItemConstructor(): ClipboardItemConstructor | undefined {\n try {\n const constructor = member(globalThis, 'ClipboardItem');\n if (typeof constructor !== 'function') return undefined;\n return constructor as ClipboardItemConstructor;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Whether plain-text copying is available — `navigator.clipboard.writeText`.\n *\n * `false` under SSR, in a non-secure context, and on engines predating the Clipboard API. It does NOT predict\n * the permission: a copy can still come back `denied` if the call has no user gesture behind it. Treat it as\n * \"is the road there\", not \"will the trip succeed\".\n */\nexport function canCopy(): boolean {\n return clipboardMethod('writeText') !== undefined;\n}\n\n/**\n * Whether multi-format copying is available — `navigator.clipboard.write` plus a `ClipboardItem` constructor.\n * Strictly narrower than {@link canCopy}: every engine shipped `writeText` first.\n */\nexport function canCopyItems(): boolean {\n return clipboardMethod('write') !== undefined && clipboardItemConstructor() !== undefined;\n}\n\n/**\n * Whether reading from the clipboard is available — `navigator.clipboard.readText`.\n *\n * `false` in Firefox, which does not expose reading to page script at all, and under SSR. Even where it is\n * `true`, the read needs a user gesture and shows an explicit paste prompt. If all you need is the payload the\n * user just pasted, do not read at all — handle the `paste` event with `getPasteItems`, which needs no\n * permission and no prompt.\n */\nexport function canReadClipboard(): boolean {\n return clipboardMethod('readText') !== undefined;\n}\n\n/**\n * Whether the deprecated `document.execCommand('copy')` path is available — the only write that exists in a\n * non-secure context or on older Safari. Requires a document; `false` under SSR.\n *\n * A `true` here does not mean the copy will succeed: `execCommand` still requires the call to sit inside a user\n * gesture, and reports its own refusal by returning `false`.\n */\nexport function canLegacyCopy(): boolean {\n try {\n if (typeof document === 'undefined') return false;\n return typeof member(document, 'execCommand') === 'function';\n } catch {\n return false;\n }\n}\n","// The deprecated write path: a hidden `<textarea>`, selected, copied with `document.execCommand('copy')`, and\n// removed. Opt-in only, via `legacyFallback: true`.\n//\n// WHY IT EXISTS AT ALL. `navigator.clipboard` requires a secure context. Any page served over plain HTTP — a LAN\n// tool, a staging box on an IP address, an embedded device's admin UI — has no Clipboard API whatsoever, and\n// neither does Safari before 13.1. In those places `execCommand` is not the worse option, it is the only one.\n//\n// WHY IT IS OPT-IN. `document.execCommand` is deprecated: removed from the standard, kept alive by web\n// compatibility, and free to disappear from any engine. It is also synchronous and re-entrant into layout, which\n// makes it a jank source on a large payload. A consumer should choose that trade, not inherit it.\n//\n// THE ELEMENT IS ALWAYS REMOVED. Removal is in a `finally`, not on the success path — if `execCommand` throws\n// (a hardened page, an extension patching it), an early `return` would leave a focus-stealing textarea in the\n// DOM forever, and every retry would leave another. The same `finally` restores focus to whatever had it, since\n// selecting the textarea takes focus away from the button the user just clicked and losing it mid-interaction\n// strands a keyboard user.\n//\n// The textarea is positioned rather than `display: none` / `hidden`: an element outside the layout tree cannot\n// be selected, and an unselected textarea copies nothing.\n\nimport { toClipboardFailure, type ClipboardCopyOptions, type ClipboardWriteResult } from './ClipboardResult';\nimport { canLegacyCopy } from './ClipboardSupport';\n\n/** Off-screen but laid out — selection requires a rendered element, so `display: none` would copy nothing. */\nconst HiddenTextareaCss =\n 'position:fixed;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:none;outline:none;box-shadow:none;background:transparent;opacity:0;pointer-events:none;';\n\n/** Restores focus to whatever held it before the textarea took it. Guarded — a stand-in may have no `focus`. */\nfunction restoreFocus(previous: Element | null): void {\n try {\n if (previous === null) return;\n const focus = (previous as { focus?: unknown }).focus;\n if (typeof focus !== 'function') return;\n (previous as HTMLElement).focus({ preventScroll: true });\n } catch {\n // The previously focused element is gone or refuses focus. Not worth failing a completed copy over.\n }\n}\n\n/** Detaches the temporary textarea, preferring `remove()` and falling back to the parent. Never throws. */\nfunction detach(element: HTMLTextAreaElement): void {\n try {\n if (typeof element.remove === 'function') {\n element.remove();\n return;\n }\n element.parentNode?.removeChild(element);\n } catch {\n // Nothing further to try. The failure to detach must not mask the copy's own result.\n }\n}\n\n/**\n * Copies `text` through the deprecated `document.execCommand('copy')` path.\n *\n * Synchronous, unlike every other write in this slice — `execCommand` is. Requires a user gesture: outside one\n * the command reports its own refusal by returning `false`, which surfaces here as `failed` (the legacy API has\n * no way to say \"denied\" specifically). Returns `unsupported` under SSR or where `execCommand` is gone.\n *\n * Exported for the sibling modules and for a consumer that wants the legacy path explicitly; the temporary\n * element is removed on every path, including a throw from `execCommand` itself.\n *\n * Never throws.\n *\n * @param text The text to place on the clipboard.\n * @deprecated Prefer `copyText`, which uses the Clipboard API and falls back here only on `legacyFallback: true`.\n */\nexport function legacyCopyText(text: string): ClipboardWriteResult {\n if (!canLegacyCopy()) return { status: 'unsupported' };\n\n let element: HTMLTextAreaElement | undefined;\n let previouslyFocused: Element | null = null;\n\n try {\n const body: unknown = document.body;\n if (typeof body !== 'object' || body === null) return { status: 'unsupported' };\n\n previouslyFocused = document.activeElement;\n\n element = document.createElement('textarea');\n element.value = text;\n element.setAttribute('aria-hidden', 'true');\n element.setAttribute('tabindex', '-1');\n element.setAttribute('readonly', 'readonly');\n element.style.cssText = HiddenTextareaCss;\n\n (body as HTMLElement).appendChild(element);\n\n element.focus({ preventScroll: true });\n element.select();\n element.setSelectionRange(0, text.length);\n\n const copied = document.execCommand('copy');\n return copied\n ? { status: 'copied' }\n : { status: 'failed', error: new Error('document.execCommand(\"copy\") reported failure.') };\n } catch (error) {\n return toClipboardFailure(error);\n } finally {\n if (element !== undefined) detach(element);\n restoreFocus(previouslyFocused);\n }\n}\n\n/**\n * Retries a write that the Clipboard API could not complete through the legacy path, when the caller opted in.\n *\n * The retry runs whenever `modern` is not `copied` — not only on `unsupported`. A `denied` from\n * `navigator.clipboard` is exactly the case `execCommand` can still serve: the legacy command is gated on the\n * user gesture the call already sits in, not on the Clipboard API's permission.\n *\n * Which result wins:\n * - the legacy attempt, when it copied — a success outranks any diagnosis;\n * - otherwise `modern`, when the Clipboard API was actually present (its `denied` / `failed` is the more\n * specific account of what went wrong);\n * - otherwise the legacy attempt's own result — with no Clipboard API at all, `modern` is a bare `unsupported`\n * and the legacy failure says more.\n *\n * Exported for the sibling write modules; absent from the barrel. Never throws.\n *\n * @param modern The result the Clipboard API path produced.\n * @param text The plain-text payload, or `undefined` when the write has no text arm to degrade to.\n * @param options The caller's options — the retry runs only on `legacyFallback: true`.\n */\nexport function withLegacyFallback(\n modern: ClipboardWriteResult,\n text: string | undefined,\n options: ClipboardCopyOptions | undefined,\n): ClipboardWriteResult {\n if (modern.status === 'copied') return modern;\n if (options?.legacyFallback !== true) return modern;\n if (text === undefined) return modern;\n\n const legacy = legacyCopyText(text);\n if (legacy.status === 'copied') return legacy;\n return modern.status === 'unsupported' ? legacy : modern;\n}\n","// The plain-text write — the one every \"copy link\" / \"copy code\" button wants, and the slice's most-used entry\n// point.\n//\n// The whole body sits inside a `try`, not only the `await`. `navigator.clipboard.writeText` can throw\n// synchronously rather than reject (a partial implementation, a polyfill, an extension patching the method), and\n// a synchronous throw would escape an `await`-only guard and reach the consumer's click handler as an unhandled\n// error — the exact failure mode the never-throws contract exists to prevent.\n//\n// A non-string `text` is answered, not coerced. The signature says `string`, so a non-string only arrives from\n// untyped JavaScript, and coercing it is a guess: `String(value)` on a `Symbol` throws, and on an object it\n// silently copies \"[object Object]\" to the user's clipboard — a wrong success is worse than a typed failure.\n\nimport {\n reportClipboardOutcome,\n toClipboardFailure,\n type ClipboardCopyOptions,\n type ClipboardWriteResult,\n} from './ClipboardResult';\nimport { clipboardMethod } from './ClipboardSupport';\nimport { withLegacyFallback } from './LegacyCopy';\n\n/** Runs the Clipboard API write, mapping every outcome onto the result union. Never throws. */\nasync function writeTextThroughApi(text: string): Promise<ClipboardWriteResult> {\n const writeText = clipboardMethod('writeText');\n if (writeText === undefined) return { status: 'unsupported' };\n\n try {\n await writeText(text);\n return { status: 'copied' };\n } catch (error) {\n return toClipboardFailure(error);\n }\n}\n\n/**\n * Writes `text` to the system clipboard.\n *\n * Call it from a user gesture: browsers require transient activation for a clipboard write, and without one the\n * platform refuses — which surfaces as `denied`, not `unsupported`, since the API was in fact present.\n *\n * Resolves to `unsupported` under SSR, in a non-secure context, and on engines with no Clipboard API. Pass\n * `legacyFallback: true` to retry those through the deprecated `document.execCommand` path.\n *\n * Never throws, never rejects.\n *\n * @param text The text to place on the clipboard. An empty string is a valid payload — it clears the clipboard.\n * @param options Error reporting and the legacy-fallback opt-in.\n */\nexport async function copyText(text: string, options?: ClipboardCopyOptions): Promise<ClipboardWriteResult> {\n try {\n if (typeof text !== 'string') {\n return reportClipboardOutcome(\n { status: 'failed', error: new TypeError('copyText expects a string.') } as const,\n options?.onError,\n );\n }\n\n const result = withLegacyFallback(await writeTextThroughApi(text), text, options);\n return reportClipboardOutcome(result, options?.onError);\n } catch (error) {\n // Unreachable by design — every helper above is itself total. Kept so a future edit to one of them cannot\n // turn this entry point into a rejecting promise.\n return reportClipboardOutcome(toClipboardFailure(error), options?.onError);\n }\n}\n","// The multi-format write — one clipboard entry carrying the same content in several MIME types at once.\n//\n// WHY MULTI-FORMAT IS THE POINT. The clipboard holds ONE item with MANY representations, and the paste target\n// picks the richest one it understands. Write `text/html` alone and a plain `<textarea>` receives nothing; write\n// `text/plain` alone and a rich editor receives markup-free text. Writing both in a SINGLE `write` call means\n// pasting into Word or Notion keeps the formatting while pasting into a terminal still works. Two sequential\n// `writeText` + `write` calls do NOT achieve this — the second overwrites the first.\n//\n// `copyBlob` is the single-format case of the same call, spelled for the payload consumers actually reach for\n// (a generated PNG, a canvas export).\n//\n// Legacy degradation is text-only, and only from a string arm. `document.execCommand('copy')` can put text on\n// the clipboard and nothing else, so a rich write degrades to its `text/plain` representation or not at all. A\n// `Blob`-valued text arm is skipped rather than awaited: reading it is async, while the legacy path is\n// synchronous and must stay inside the user gesture that authorized the copy.\n\nimport {\n reportClipboardOutcome,\n toClipboardFailure,\n type ClipboardCopyOptions,\n type ClipboardWriteResult,\n} from './ClipboardResult';\nimport { clipboardItemConstructor, clipboardMethod } from './ClipboardSupport';\nimport { withLegacyFallback } from './LegacyCopy';\n\n/**\n * The representations of one clipboard entry, keyed by MIME type.\n *\n * A `string` value is wrapped in a `Blob` of that same type before it reaches the platform. Engines accept only\n * a small set of types — `text/plain`, `text/html`, `image/png` are the portable ones; anything else may be\n * refused with a `failed` result.\n *\n * @example\n * copyItems({ 'text/plain': 'Total: 42', 'text/html': '<b>Total:</b> 42' });\n */\nexport type ClipboardWriteItems = Readonly<Record<string, Blob | string>>;\n\n/** The MIME type a blob with no type of its own is written under — deliberately generic, and often refused. */\nconst FallbackMimeType = 'application/octet-stream';\n\n/** The representation the legacy path can degrade to. */\nconst PlainTextMimeType = 'text/plain';\n\n/** Pulls the plain-text arm out, for the legacy fallback only. `undefined` unless it is a literal string. */\nfunction plainTextArm(items: ClipboardWriteItems): string | undefined {\n try {\n const value = items[PlainTextMimeType];\n return typeof value === 'string' ? value : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Normalizes every representation to a `Blob` typed with its own key. Throws only if `Blob` itself does. */\nfunction toBlobRecord(items: ClipboardWriteItems): Record<string, Blob> {\n const record: Record<string, Blob> = {};\n for (const [type, value] of Object.entries(items)) {\n record[type] = typeof value === 'string' ? new Blob([value], { type }) : value;\n }\n return record;\n}\n\n/** Runs the Clipboard API multi-format write, mapping every outcome onto the result union. Never throws. */\nasync function writeItemsThroughApi(items: ClipboardWriteItems): Promise<ClipboardWriteResult> {\n const write = clipboardMethod('write');\n const ClipboardItemConstructor = clipboardItemConstructor();\n if (write === undefined || ClipboardItemConstructor === undefined) return { status: 'unsupported' };\n\n try {\n await write([new ClipboardItemConstructor(toBlobRecord(items))]);\n return { status: 'copied' };\n } catch (error) {\n return toClipboardFailure(error);\n }\n}\n\n/**\n * Writes several representations of one payload to the clipboard in a single entry, so the paste target can pick\n * the richest format it understands.\n *\n * Needs `navigator.clipboard.write` and a `ClipboardItem` constructor — strictly newer than the `writeText`\n * behind `copyText`, so `unsupported` is more likely here. With `legacyFallback: true` an unsupported or refused\n * write degrades to the `text/plain` arm alone, and only when that arm is a literal string.\n *\n * Call it from a user gesture. Never throws, never rejects.\n *\n * @param items The representations, keyed by MIME type. An empty object resolves to `failed` — a write with no\n * payload is a caller mistake, and reporting it as `copied` would claim something reached the clipboard.\n * @param options Error reporting and the legacy-fallback opt-in.\n */\nexport async function copyItems(\n items: ClipboardWriteItems,\n options?: ClipboardCopyOptions,\n): Promise<ClipboardWriteResult> {\n try {\n if (typeof items !== 'object' || items === null) {\n return reportClipboardOutcome(\n { status: 'failed', error: new TypeError('copyItems expects an object keyed by MIME type.') } as const,\n options?.onError,\n );\n }\n\n if (Object.keys(items).length === 0) {\n return reportClipboardOutcome(\n { status: 'failed', error: new Error('copyItems was given no representations to write.') } as const,\n options?.onError,\n );\n }\n\n const result = withLegacyFallback(await writeItemsThroughApi(items), plainTextArm(items), options);\n return reportClipboardOutcome(result, options?.onError);\n } catch (error) {\n return reportClipboardOutcome(toClipboardFailure(error), options?.onError);\n }\n}\n\n/**\n * Writes a single binary payload — a generated image, a canvas export, a downloaded file — to the clipboard.\n *\n * The single-format case of {@link copyItems}, and subject to the same support: it needs\n * `navigator.clipboard.write`, and the legacy fallback cannot serve it (`execCommand` writes text only).\n *\n * Engines accept a narrow set of types for binary payloads; `image/png` is the portable one. A type the platform\n * refuses comes back `failed`.\n *\n * Never throws, never rejects.\n *\n * @param blob The payload.\n * @param mimeType The type to write it under. Defaults to the blob's own `type`, then to\n * `application/octet-stream` — which most engines refuse, so pass a real type for a typeless blob.\n * @param options Error reporting. `legacyFallback` has no effect here.\n */\nexport async function copyBlob(\n blob: Blob,\n mimeType?: string,\n options?: ClipboardCopyOptions,\n): Promise<ClipboardWriteResult> {\n try {\n if (typeof blob !== 'object' || blob === null) {\n return reportClipboardOutcome(\n { status: 'failed', error: new TypeError('copyBlob expects a Blob.') } as const,\n options?.onError,\n );\n }\n\n const ownType: unknown = (blob as { type?: unknown }).type;\n const type =\n mimeType ?? (typeof ownType === 'string' && ownType.length > 0 ? ownType : FallbackMimeType);\n\n return await copyItems({ [type]: blob }, options);\n } catch (error) {\n return reportClipboardOutcome(toClipboardFailure(error), options?.onError);\n }\n}\n","// Reading the clipboard — the most restricted operation in the slice, and usually the wrong one to reach for.\n//\n// READ THIS BEFORE USING EITHER FUNCTION. Reading the clipboard is reading a user's data, so browsers gate it far\n// harder than writing:\n// - it requires a user gesture, and outside one the platform refuses (`denied`);\n// - Chromium shows an explicit \"Allow the site to see text and images on the clipboard?\" prompt, and a\n// dismissal is a `denied` — a decision by the user, not a bug to retry;\n// - Firefox does not expose `readText` / `read` to page script at ALL. Only extensions get them. That surfaces\n// here as `unsupported` rather than a generic `failed`, because the two need different UI: `failed` invites a\n// retry, `unsupported` means stop asking and render the manual affordance instead.\n//\n// IF YOU WANT WHAT THE USER JUST PASTED, DO NOT READ. Handle the `paste` event and call `getPasteItems` — the\n// payload arrives on the event, no permission, no prompt, no gesture check, and it works in every engine\n// including Firefox. Reading is for the narrow case of pulling the clipboard WITHOUT a paste, like a \"detect a\n// copied invite code on focus\" affordance. That case is rare and worth questioning.\n//\n// An empty clipboard reads as `''` / `[]` and is a successful read of nothing, not a failure — a consumer\n// distinguishes \"nothing to paste\" from \"we could not look\" by the status, not by the payload's emptiness.\n\nimport {\n reportClipboardOutcome,\n toClipboardFailure,\n type ClipboardReadItem,\n type ClipboardReadItemsResult,\n type ClipboardReadOptions,\n type ClipboardReadTextResult,\n} from './ClipboardResult';\nimport { clipboardMethod } from './ClipboardSupport';\n\n/**\n * Turns one platform `ClipboardItem` into its flat `{ type, blob }` representations.\n *\n * Each type is resolved independently and a type that fails to resolve is SKIPPED rather than failing the read:\n * a clipboard entry carrying `text/plain` plus an exotic type the engine cannot materialize should still yield\n * its text. Never throws.\n */\nasync function flattenItem(item: ClipboardItem): Promise<ClipboardReadItem[]> {\n const flattened: ClipboardReadItem[] = [];\n\n let types: readonly string[];\n try {\n const declared: unknown = item.types;\n if (!Array.isArray(declared)) return flattened;\n types = declared as readonly string[];\n } catch {\n return flattened;\n }\n\n for (const type of types) {\n if (typeof type !== 'string') continue;\n try {\n const blob = await item.getType(type);\n if (typeof blob === 'object' && blob !== null) flattened.push({ type, blob });\n } catch {\n // This representation could not be materialized. The others still can.\n }\n }\n\n return flattened;\n}\n\n/**\n * Reads the clipboard's plain text.\n *\n * Requires a user gesture and, in Chromium, an explicit permission prompt the user can dismiss — a dismissal is\n * `denied`. Resolves to `unsupported` under SSR and in Firefox, which withholds clipboard reading from page\n * script entirely.\n *\n * Prefer `getPasteItems` on a `paste` event wherever the flow is \"the user pastes something\": that path needs no\n * permission and works everywhere.\n *\n * Never throws, never rejects.\n *\n * @param options Error reporting.\n */\nexport async function readText(options?: ClipboardReadOptions): Promise<ClipboardReadTextResult> {\n try {\n const read = clipboardMethod('readText');\n if (read === undefined) return { status: 'unsupported' };\n\n const text = await read();\n return typeof text === 'string'\n ? { status: 'read', text }\n : reportClipboardOutcome(\n {\n status: 'failed',\n error: new TypeError('navigator.clipboard.readText resolved with a non-string.'),\n } as const,\n options?.onError,\n );\n } catch (error) {\n return reportClipboardOutcome(toClipboardFailure(error), options?.onError);\n }\n}\n\n/**\n * Reads every representation currently on the clipboard — the multi-format counterpart of {@link readText}, and\n * the only way to pull a copied image.\n *\n * Same gating as {@link readText}, and narrower support still: `navigator.clipboard.read` postdates `readText`\n * in every engine that has it. Representations the platform cannot materialize are dropped from the result\n * rather than failing the whole read.\n *\n * Never throws, never rejects.\n *\n * @param options Error reporting.\n */\nexport async function readItems(options?: ClipboardReadOptions): Promise<ClipboardReadItemsResult> {\n try {\n const read = clipboardMethod('read');\n if (read === undefined) return { status: 'unsupported' };\n\n const raw: unknown = await read();\n if (!Array.isArray(raw)) {\n return reportClipboardOutcome(\n { status: 'failed', error: new TypeError('navigator.clipboard.read resolved with a non-array.') } as const,\n options?.onError,\n );\n }\n\n const items: ClipboardReadItem[] = [];\n for (const entry of raw as readonly ClipboardItem[]) {\n if (typeof entry !== 'object' || entry === null) continue;\n items.push(...(await flattenItem(entry)));\n }\n\n return { status: 'read', items };\n } catch (error) {\n return reportClipboardOutcome(toClipboardFailure(error), options?.onError);\n }\n}\n","// Extracting a paste — the clipboard path that needs NO permission at all, and the right answer for most\n// \"let the user paste an image\" features.\n//\n// WHY THIS IS THE DEFAULT AND `readText` IS NOT. When the user presses Ctrl+V they have already authorized the\n// transfer; the browser hands the payload to the page on the `paste` event with no prompt, no gesture check, and\n// no engine carve-outs — this works in Firefox, where `navigator.clipboard.readText` does not exist. Any feature\n// framed as \"the user pastes something\" should be built here. Reading the clipboard directly is for the narrow\n// case of looking WITHOUT a paste.\n//\n// EVERY READ IS GUARDED. `clipboardData` is nullable in the DOM's own types, `getData` throws in some engines\n// when called outside the event's dispatch, and a synthetic event (a test double, a virtual-DOM shim) may carry\n// a partial `DataTransfer`. A paste handler that throws on a malformed event breaks the user's paste entirely,\n// so every access falls back to \"this representation is absent\".\n//\n// Files come from `items` first and `files` second. `DataTransferItemList` is what carries an image pasted from\n// the OS screenshot tool, where `files` is sometimes empty; `files` is the reliable one for a file copied out of\n// a file manager. Reading `items` first and only falling back avoids reporting the same file twice.\n\n/** What a paste carried, normalized to the three representations a consumer acts on. */\nexport interface PasteItems {\n /** The `text/plain` representation, or `undefined` when the paste carried none (a bare image paste). */\n readonly text: string | undefined;\n\n /** The `text/html` representation, or `undefined`. Present when copying from a rich source — sanitize before rendering. */\n readonly html: string | undefined;\n\n /** Files on the paste — a screenshot, an image, a document. Empty when the paste was text only. */\n readonly files: readonly File[];\n}\n\n/** Reads a member off an object, guarded — a throwing getter reads as `undefined`. */\nfunction member(source: object, key: string): unknown {\n try {\n return (source as Record<string, unknown>)[key];\n } catch {\n return undefined;\n }\n}\n\n/** Reads one MIME representation as a string. Absent, blank, and throwing all read as `undefined`. */\nfunction readData(data: DataTransfer, type: string): string | undefined {\n try {\n const getData = member(data, 'getData');\n if (typeof getData !== 'function') return undefined;\n\n const value: unknown = (getData as (type: string) => unknown).call(data, type);\n return typeof value === 'string' && value.length > 0 ? value : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Collects files from `DataTransfer.items`, skipping non-file entries and any entry that refuses to resolve. */\nfunction filesFromItems(data: DataTransfer): File[] {\n const files: File[] = [];\n try {\n const list = member(data, 'items');\n if (typeof list !== 'object' || list === null) return files;\n\n const length = member(list, 'length');\n if (typeof length !== 'number') return files;\n\n const items = list as DataTransferItemList;\n for (let index = 0; index < length; index++) {\n try {\n const item = items[index];\n if (item === undefined || item === null) continue;\n if (item.kind !== 'file' || typeof item.getAsFile !== 'function') continue;\n\n const file = item.getAsFile();\n if (file !== null) files.push(file);\n } catch {\n // One malformed entry does not invalidate the others.\n }\n }\n } catch {\n // No usable item list. `files` is the fallback.\n }\n return files;\n}\n\n/** Collects files from `DataTransfer.files` — the `FileList` fallback when the item list yielded nothing. */\nfunction filesFromFileList(data: DataTransfer): File[] {\n const files: File[] = [];\n try {\n const list = member(data, 'files');\n if (typeof list !== 'object' || list === null) return files;\n\n const length = member(list, 'length');\n if (typeof length !== 'number') return files;\n\n const fileList = list as FileList;\n for (let index = 0; index < length; index++) {\n const file = fileList[index];\n if (file !== undefined && file !== null) files.push(file);\n }\n } catch {\n // Nothing readable here either. An empty file list is a valid answer.\n }\n return files;\n}\n\n/**\n * Extracts the text, HTML, and files a `paste` event carried.\n *\n * Needs no permission and no user gesture — the event IS the user's authorization — and works in every engine,\n * including the ones that withhold `navigator.clipboard.read`. This is the path to build \"paste an image\"\n * features on.\n *\n * Does not call `preventDefault`: suppressing the browser's own paste is the consumer's decision, and a handler\n * that reads the payload for a side effect usually wants the default insert to happen too. `usePasteHandler`\n * exposes it as an option.\n *\n * Never throws — a malformed or partial event yields `{ text: undefined, html: undefined, files: [] }`.\n *\n * @param event The `paste` event, from a `@paste` binding or a native listener.\n */\nexport function getPasteItems(event: ClipboardEvent): PasteItems {\n const empty: PasteItems = { text: undefined, html: undefined, files: [] };\n\n try {\n if (typeof event !== 'object' || event === null) return empty;\n\n const transfer = member(event, 'clipboardData');\n if (typeof transfer !== 'object' || transfer === null) return empty;\n\n const data = transfer as DataTransfer;\n const fromItems = filesFromItems(data);\n\n return {\n text: readData(data, 'text/plain'),\n html: readData(data, 'text/html'),\n files: fromItems.length > 0 ? fromItems : filesFromFileList(data),\n };\n } catch {\n return empty;\n }\n}\n","// The Vue binding of the paste path — a `paste` listener with the extraction already done and the teardown\n// guaranteed.\n//\n// WHY A COMPOSABLE RATHER THAN AN `@paste` BINDING. A template `@paste` only fires for a paste into that\n// element, which requires it to be focusable and focused. The common feature — \"paste a screenshot anywhere on\n// this page\" — needs a `window` listener, and hand-rolling one means a watcher and a cleanup that people\n// forget. Defaulting to `window` and accepting a `target` ref covers both shapes.\n//\n// The handler is called through the closure rather than captured into the listener, so it can never go stale;\n// a component's `setup` runs once, so the one the consumer passes is the one and only. Only `enabled` /\n// `target` / `preventDefault` re-run the effect, because only those change what is bound.\n//\n// SSR: the effect is post-flush, the default target is resolved LAZILY behind a `typeof window` guard, and a\n// `target` ref is `null` on the server — so nothing here reaches for `window` during a server render. This is\n// the same lazy-default shape `foundation/hooks`' `useEventListener` uses.\n//\n// A throw from the consumer's handler is swallowed. Inside a native listener a throw does not reject anything —\n// it escapes to `window.onerror` and, worse, skips the rest of the listener including a `preventDefault` the\n// consumer asked for. Absorbing it keeps the slice's never-throws contract at the one boundary where the\n// consumer's own code runs.\n\nimport { toValue, watchPostEffect, type MaybeRefOrGetter } from 'vue';\n\nimport { getPasteItems, type PasteItems } from './PasteItems';\n\n/** Tunes a {@link usePasteHandler} binding. */\nexport interface UsePasteHandlerOptions {\n /**\n * The element to listen on. Defaults to `window`, which catches a paste anywhere on the page — the right\n * default for a drop-zone or an editor surface that is not itself focused. Pass a ref or getter to scope the\n * listener to one element.\n */\n readonly target?: MaybeRefOrGetter<HTMLElement | null | undefined>;\n\n /**\n * Whether the listener is attached. Defaults to `true`; pass `false` to suspend it without tearing down — a\n * modal that should own pastes only while open.\n */\n readonly enabled?: MaybeRefOrGetter<boolean | undefined>;\n\n /**\n * Whether to call `preventDefault()` on the event, suppressing the browser's own paste. Defaults to `false`.\n *\n * Turn it on when the handler fully owns the paste (inserting the image itself); leave it off when the handler\n * is a side effect and the default insert should still happen. Applied BEFORE the handler runs, so a throw\n * from the handler cannot skip it.\n */\n readonly preventDefault?: MaybeRefOrGetter<boolean | undefined>;\n}\n\n/**\n * Binds a `paste` listener that hands the handler the event's already-extracted text, HTML, and files.\n *\n * Needs no clipboard permission — see `PasteItems.ts` for why this is the path to prefer over `readText`.\n * Detaches on scope disposal, and on any change to `enabled` / `target` / `preventDefault`.\n *\n * @param handler Called on every paste with the extracted payload and the original event. A throw from it is\n * swallowed.\n * @param options Where to listen, whether to listen, and whether to suppress the default paste.\n */\nexport function usePasteHandler(\n handler: (items: PasteItems, event: ClipboardEvent) => void,\n options?: UsePasteHandlerOptions,\n): void {\n watchPostEffect((onCleanup) => {\n if ((toValue(options?.enabled) ?? true) === false) return;\n\n // Resolved lazily and guarded: importing this in an SSR pass must never touch `window`.\n const node: EventTarget | null =\n toValue(options?.target) ?? (typeof window === 'undefined' ? null : window);\n if (node === null || typeof node.addEventListener !== 'function') return;\n\n // Captured at attach time so remove uses the same behaviour the listener was bound with.\n const preventDefault = toValue(options?.preventDefault) ?? false;\n\n const listener = (event: Event): void => {\n const pasteEvent = event as ClipboardEvent;\n if (preventDefault) {\n try {\n pasteEvent.preventDefault();\n } catch {\n // A synthetic event without a usable `preventDefault`. The handler still gets its payload.\n }\n }\n\n try {\n handler(getPasteItems(pasteEvent), pasteEvent);\n } catch {\n // The consumer's handler failed. Their problem — and not a reason to break the listener for the next\n // paste, which is what an escaping throw would risk.\n }\n };\n\n node.addEventListener('paste', listener);\n onCleanup(() => node.removeEventListener('paste', listener));\n });\n}\n","// The Vue binding of the write path — the transient \"Copied!\" affordance, without hiding the outcome.\n//\n// THE DIFFERENCE FROM `foundation/hooks`' `useClipboard`: that composable's `copy` resolves `Promise<void>` on\n// both success and failure, folding the error into reactive state. A caller cannot branch on the outcome, and\n// anything that is not a component cannot see it at all. Here `copy` resolves to the same\n// `ClipboardWriteResult` the framework-free `copyText` returns, so the awaiting code can branch AND the\n// rendered `status` still drives the icon swap. State is the affordance; the result is the answer. Neither\n// replaces the other.\n//\n// `status` carries the failure statuses too, not just `copied`. A copy that came back `denied` needs its own\n// rendering — \"Press Ctrl+C to copy\" beside a still-selectable field — and a composable that exposed only a\n// boolean would force the consumer to keep a parallel error state, which is the flaw above in a different shape.\n//\n// The auto-reset applies to EVERY terminal status, not only `copied`: a stuck error badge is as wrong as a stuck\n// \"Copied!\". A consumer that wants a sticky failure passes `resetAfterMs: 0` and calls `reset` itself.\n//\n// The timer is cleared on scope disposal, and a `disposed` flag gates the post-await state write. The `await`\n// can outlive the component — a user copying and immediately closing the dialog — and scheduling a timeout from\n// a callback whose scope is gone would leave a timer with nothing to update.\n//\n// Nothing here touches a platform global at setup: `copyText` is only reached from a user gesture.\n\nimport { onScopeDispose, shallowRef, toValue, type MaybeRefOrGetter, type ShallowRef } from 'vue';\n\nimport type { ClipboardCopyOptions, ClipboardWriteResult, ClipboardWriteStatus } from './ClipboardResult';\nimport { copyText } from './CopyText';\n\n/** How long a status lingers before the composable returns to `idle`, when the caller does not say. */\nconst DefaultResetAfterMs = 2000;\n\n/** Where a {@link useClipboardCopy} instance sits: `idle` before the first attempt, otherwise the last outcome. */\nexport type ClipboardCopyState = 'idle' | ClipboardWriteStatus;\n\n/** Tunes a {@link useClipboardCopy} instance. */\nexport interface UseClipboardCopyOptions extends ClipboardCopyOptions {\n /**\n * How long `status` holds the last outcome before returning to `idle`, in milliseconds. Defaults to 2000 —\n * long enough to read \"Copied!\", short enough not to linger.\n *\n * Pass `0` to hold the status until {@link ClipboardCopyControls.reset} is called, which is what a failure\n * message the user must acknowledge wants.\n */\n readonly resetAfterMs?: number;\n}\n\n/** What {@link useClipboardCopy} returns. */\nexport interface ClipboardCopyControls {\n /**\n * The last outcome, or `idle` before the first attempt and after the reset window. Drives the icon swap, the\n * \"Copied!\" label, and the `denied` / `unsupported` fallback copy.\n */\n readonly status: Readonly<ShallowRef<ClipboardCopyState>>;\n\n /**\n * Writes `text` to the clipboard and resolves to the full result — the awaiting caller branches on the\n * outcome, while `status` drives the render. Never throws, never rejects.\n */\n readonly copy: (text: string) => Promise<ClipboardWriteResult>;\n\n /** Returns `status` to `idle` immediately and cancels the pending auto-reset. */\n readonly reset: () => void;\n}\n\n/**\n * Wraps `copyText` in a transient status for post-action UI, without swallowing the outcome.\n *\n * Call `copy` from a user gesture — the platform requires transient activation, and a copy fired from a watcher\n * or a timeout comes back `denied`.\n *\n * @param options Error reporting, the legacy-fallback opt-in, and the auto-reset window. Read fresh on every\n * call, so a ref or getter keeps them live.\n */\nexport function useClipboardCopy(\n options?: MaybeRefOrGetter<UseClipboardCopyOptions | undefined>,\n): ClipboardCopyControls {\n const status = shallowRef<ClipboardCopyState>('idle');\n\n let timer: ReturnType<typeof setTimeout> | null = null;\n let disposed = false;\n\n /** Cancels a pending auto-reset. Safe to call when none is scheduled. */\n function clearTimer(): void {\n if (timer === null) return;\n clearTimeout(timer);\n timer = null;\n }\n\n onScopeDispose(() => {\n disposed = true;\n clearTimer();\n });\n\n const copy = async (text: string): Promise<ClipboardWriteResult> => {\n const result = await copyText(text, toValue(options));\n\n // The scope may have been disposed while the write was in flight. The RESULT still goes back to the\n // caller — it is the answer to their call, not a piece of this component's state.\n if (disposed) return result;\n\n clearTimer();\n status.value = result.status;\n\n const resetAfterMs = toValue(options)?.resetAfterMs ?? DefaultResetAfterMs;\n if (resetAfterMs > 0) {\n timer = setTimeout(() => {\n timer = null;\n status.value = 'idle';\n }, resetAfterMs);\n }\n\n return result;\n };\n\n const reset = (): void => {\n clearTimer();\n status.value = 'idle';\n };\n\n return { status, copy, reset };\n}\n","// The permission read — thin on purpose, and less useful than it looks.\n//\n// It delegates to `foundation/notifications`' `queryPermission`, which already wraps `navigator.permissions`\n// with exactly the guards this needs: absent API, an unknown permission name (Safari THROWS synchronously rather\n// than resolving), and an off-spec state string. Duplicating that here would be a second copy of a subtle\n// wrapper. The import is a deep one rather than the notifications barrel so this slice does not pull that\n// slice's Vue composables and `Notification` plumbing into the clipboard bundle.\n//\n// WHY `unsupported` IS THE COMMON ANSWER. `clipboard-read` and `clipboard-write` are not universally implemented\n// permission NAMES: Chromium has both, Firefox has neither, Safari rejects them. So this returns `unsupported`\n// on most of the web — which means \"we could not ask\", NOT \"the operation will fail\". Firefox writes to the\n// clipboard perfectly well while reporting `unsupported` here.\n//\n// CONSEQUENCE FOR CALLERS: do not gate a copy button on this. Attempt the write and branch on its result — the\n// operation is the only honest test of whether it is allowed. This helper is for the narrow case of rendering a\n// pre-emptive explanation where the answer happens to be known (a Chromium-only internal tool, a \"we will ask\n// for clipboard access\" notice before a paste-detection feature).\n\nimport { queryPermission, type PermissionQueryState } from '../notifications/QueryPermission';\n\n/** Which half of the clipboard a permission query is about. */\nexport type ClipboardPermissionMode = 'read' | 'write';\n\n/** The Permissions API names, which differ from this slice's vocabulary and are not implemented everywhere. */\nconst PermissionNames: Readonly<Record<ClipboardPermissionMode, string>> = {\n read: 'clipboard-read',\n write: 'clipboard-write',\n};\n\n/**\n * Reads the browser's recorded permission for clipboard reading or writing.\n *\n * Returns `unsupported` wherever the Permissions API is absent or does not implement the name — which is most\n * browsers, including all of Firefox and Safari. Read that as \"unknown\", never as \"denied\": the capability is\n * frequently available where the QUERY is not.\n *\n * A one-shot snapshot; the browser fires no event on this promise.\n *\n * Never throws, never rejects.\n *\n * @param mode `'read'` for `clipboard-read`, `'write'` for `clipboard-write`.\n */\nexport async function getClipboardPermission(mode: ClipboardPermissionMode): Promise<PermissionQueryState> {\n const name = PermissionNames[mode];\n if (name === undefined) return 'unsupported';\n return queryPermission(name);\n}\n"],"names":["member"],"mappings":";;;AAiGA,SAAS,OAAO,OAAoC;AAClD,MAAI;AACF,QAAI,OAAO,UAAU,YAAY,UAAU,KAAM,QAAO;AACxD,UAAM,OAAiB,MAA6B;AACpD,WAAO,OAAO,SAAS,WAAW,OAAO;AAAA,EAC3C,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAQO,SAAS,oBAAoB,OAAyB;AAC3D,QAAM,OAAO,OAAO,KAAK;AACzB,SAAO,SAAS,qBAAqB,SAAS;AAChD;AASO,SAAS,mBAAmB,OAAkC;AACnE,QAAM,UAAU,QAAQ,KAAK;AAC7B,SAAO,oBAAoB,KAAK,IAAI,EAAE,QAAQ,UAAU,OAAO,QAAA,IAAY,EAAE,QAAQ,UAAU,OAAO,QAAA;AACxG;AAcO,SAAS,uBACd,QACA,SACS;AACT,MAAI,YAAY,OAAW,QAAO;AAClC,MAAI,OAAO,UAAU,OAAW,QAAO;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I,SAAS,OAAW,QAAO;AAC/B,SAAO,gBAAgB,IAAI;AAC7B;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/foundation/clipboard/CopyItems.ts","../../../src/foundation/clipboard/ReadClipboard.ts","../../../src/foundation/clipboard/PasteItems.ts","../../../src/foundation/clipboard/hooks/UsePasteHandler.ts","../../../src/foundation/clipboard/hooks/UseClipboardCopy.ts","../../../src/foundation/clipboard/ClipboardPermission.ts","../../../src/foundation/clipboard/ClipboardFailureCode.ts"],"sourcesContent":["import {\n reportClipboardOutcome,\n toClipboardFailure,\n type ClipboardCopyOptions,\n type ClipboardWriteResult,\n} from './ClipboardResult';\nimport { clipboardItemConstructor, clipboardMethod } from './ClipboardSupport';\nimport { withLegacyFallback } from './LegacyCopy';\n\n/**\n * The representations of one clipboard entry, keyed by MIME type.\n *\n * A `string` value is wrapped in a `Blob` of that same type before it reaches the platform. Engines accept only\n * a small set of types — `text/plain`, `text/html`, `image/png` are the portable ones; anything else may be\n * refused with a `failed` result.\n *\n * @example\n * copyItems({ 'text/plain': 'Total: 42', 'text/html': '<b>Total:</b> 42' });\n */\nexport type ClipboardWriteItems = Readonly<Record<string, Blob | string>>;\n\n/** The MIME type a blob with no type of its own is written under — deliberately generic, and often refused. */\nconst FallbackMimeType = 'application/octet-stream';\n\n/** The representation the legacy path can degrade to. */\nconst PlainTextMimeType = 'text/plain';\n\n/** Pulls the plain-text arm out, for the legacy fallback only. `undefined` unless it is a literal string. */\nfunction plainTextArm(items: ClipboardWriteItems): string | undefined {\n try {\n const value = items[PlainTextMimeType];\n return typeof value === 'string' ? value : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Normalizes every representation to a `Blob` typed with its own key. Throws only if `Blob` itself does. */\nfunction toBlobRecord(items: ClipboardWriteItems): Record<string, Blob> {\n const record: Record<string, Blob> = {};\n for (const [type, value] of Object.entries(items)) {\n record[type] = typeof value === 'string' ? new Blob([value], { type }) : value;\n }\n return record;\n}\n\n/** Runs the Clipboard API multi-format write, mapping every outcome onto the result union. Never throws. */\nasync function writeItemsThroughApi(items: ClipboardWriteItems): Promise<ClipboardWriteResult> {\n const write = clipboardMethod('write');\n const ClipboardItemConstructor = clipboardItemConstructor();\n if (write === undefined || ClipboardItemConstructor === undefined)\n return { ok: false, failure: { status: 'unsupported' } };\n\n try {\n await write([new ClipboardItemConstructor(toBlobRecord(items))]);\n return { ok: true, value: undefined };\n } catch (error) {\n return { ok: false, failure: toClipboardFailure(error) };\n }\n}\n\n/**\n * Writes several representations of one payload to the clipboard in a single entry, so the paste target can pick\n * the richest format it understands.\n *\n * Needs `navigator.clipboard.write` and a `ClipboardItem` constructor — strictly newer than the `writeText`\n * behind `copyText`, so `unsupported` is more likely here. With `legacyFallback: true` an unsupported or refused\n * write degrades to the `text/plain` arm alone, and only when that arm is a literal string.\n *\n * Call it from a user gesture. Never throws, never rejects.\n *\n * @param items The representations, keyed by MIME type. An empty object resolves to `failed` — a write with no\n * payload is a caller mistake, and reporting it as `copied` would claim something reached the clipboard.\n * @param options Error reporting and the legacy-fallback opt-in.\n */\nexport async function copyItems(\n items: ClipboardWriteItems,\n options?: ClipboardCopyOptions,\n): Promise<ClipboardWriteResult> {\n try {\n if (typeof items !== 'object' || items === null) {\n return reportClipboardOutcome(\n {\n ok: false,\n failure: { status: 'failed', error: new TypeError('copyItems expects an object keyed by MIME type.') },\n } as const,\n options?.onError,\n );\n }\n\n if (Object.keys(items).length === 0) {\n return reportClipboardOutcome(\n {\n ok: false,\n failure: { status: 'failed', error: new Error('copyItems was given no representations to write.') },\n } as const,\n options?.onError,\n );\n }\n\n const result = withLegacyFallback(await writeItemsThroughApi(items), plainTextArm(items), options);\n return reportClipboardOutcome(result, options?.onError);\n } catch (error) {\n return reportClipboardOutcome({ ok: false, failure: toClipboardFailure(error) }, options?.onError);\n }\n}\n\n/**\n * Writes a single binary payload — a generated image, a canvas export, a downloaded file — to the clipboard.\n *\n * The single-format case of {@link copyItems}, and subject to the same support: it needs\n * `navigator.clipboard.write`, and the legacy fallback cannot serve it (`execCommand` writes text only).\n *\n * Engines accept a narrow set of types for binary payloads; `image/png` is the portable one. A type the platform\n * refuses comes back `failed`.\n *\n * Never throws, never rejects.\n *\n * @param blob The payload.\n * @param mimeType The type to write it under. Defaults to the blob's own `type`, then to\n * `application/octet-stream` — which most engines refuse, so pass a real type for a typeless blob.\n * @param options Error reporting. `legacyFallback` has no effect here.\n */\nexport async function copyBlob(\n blob: Blob,\n mimeType?: string,\n options?: ClipboardCopyOptions,\n): Promise<ClipboardWriteResult> {\n try {\n if (typeof blob !== 'object' || blob === null) {\n return reportClipboardOutcome(\n { ok: false, failure: { status: 'failed', error: new TypeError('copyBlob expects a Blob.') } } as const,\n options?.onError,\n );\n }\n\n const ownType: unknown = (blob as { type?: unknown }).type;\n const type = mimeType ?? (typeof ownType === 'string' && ownType.length > 0 ? ownType : FallbackMimeType);\n\n return await copyItems({ [type]: blob }, options);\n } catch (error) {\n return reportClipboardOutcome({ ok: false, failure: toClipboardFailure(error) }, options?.onError);\n }\n}\n","import {\n reportClipboardOutcome,\n toClipboardFailure,\n type ClipboardReadItem,\n type ClipboardReadItemsResult,\n type ClipboardReadOptions,\n type ClipboardReadTextResult,\n} from './ClipboardResult';\nimport { clipboardMethod } from './ClipboardSupport';\n\n/**\n * Turns one platform `ClipboardItem` into its flat `{ type, blob }` representations.\n *\n * Each type is resolved independently and a type that fails to resolve is SKIPPED rather than failing the read:\n * a clipboard entry carrying `text/plain` plus an exotic type the engine cannot materialize should still yield\n * its text. Never throws.\n */\nasync function flattenItem(item: ClipboardItem): Promise<ClipboardReadItem[]> {\n const flattened: ClipboardReadItem[] = [];\n\n let types: ReadonlyArray<string>;\n try {\n const declared: unknown = item.types;\n if (!Array.isArray(declared)) return flattened;\n types = declared as readonly string[];\n } catch {\n return flattened;\n }\n\n for (const type of types) {\n if (typeof type !== 'string') continue;\n try {\n const blob = await item.getType(type);\n if (typeof blob === 'object' && blob !== null) flattened.push({ type, blob });\n } catch {\n // This representation could not be materialized. The others still can.\n }\n }\n\n return flattened;\n}\n\n/**\n * Reads the clipboard's plain text.\n *\n * Requires a user gesture and, in Chromium, an explicit permission prompt the user can dismiss — a dismissal is\n * `denied`. Resolves to `unsupported` when the runtime lacks the method, including under SSR.\n *\n * Prefer `getPasteItems` on a `paste` event wherever the flow is \"the user pastes something\": that path needs no\n * permission and works everywhere.\n *\n * Never throws, never rejects.\n *\n * @param options Error reporting.\n */\nexport async function readText(options?: ClipboardReadOptions): Promise<ClipboardReadTextResult> {\n try {\n const read = clipboardMethod('readText');\n if (read === undefined) return { ok: false, failure: { status: 'unsupported' } };\n\n const text = await read();\n return typeof text === 'string'\n ? { ok: true, value: text }\n : reportClipboardOutcome(\n {\n ok: false,\n failure: {\n status: 'failed',\n error: new TypeError('navigator.clipboard.readText resolved with a non-string.'),\n },\n } as const,\n options?.onError,\n );\n } catch (error) {\n return reportClipboardOutcome({ ok: false, failure: toClipboardFailure(error) }, options?.onError);\n }\n}\n\n/**\n * Reads every representation currently on the clipboard — the multi-format counterpart of {@link readText}, and\n * the only way to pull a copied image.\n *\n * Same gating as {@link readText}, and narrower support still: `navigator.clipboard.read` postdates `readText`\n * in every engine that has it. Representations the platform cannot materialize are dropped from the result\n * rather than failing the whole read.\n *\n * Never throws, never rejects.\n *\n * @param options Error reporting.\n */\nexport async function readItems(options?: ClipboardReadOptions): Promise<ClipboardReadItemsResult> {\n try {\n const read = clipboardMethod('read');\n if (read === undefined) return { ok: false, failure: { status: 'unsupported' } };\n\n const raw: unknown = await read();\n if (!Array.isArray(raw)) {\n return reportClipboardOutcome(\n {\n ok: false,\n failure: { status: 'failed', error: new TypeError('navigator.clipboard.read resolved with a non-array.') },\n } as const,\n options?.onError,\n );\n }\n\n const items: ClipboardReadItem[] = [];\n for (const entry of raw as readonly ClipboardItem[]) {\n if (typeof entry !== 'object' || entry === null) continue;\n items.push(...(await flattenItem(entry)));\n }\n\n return { ok: true, value: items };\n } catch (error) {\n return reportClipboardOutcome({ ok: false, failure: toClipboardFailure(error) }, options?.onError);\n }\n}\n","/** What a paste carried, normalized to the three representations a consumer acts on. */\nexport interface PasteItems {\n /** The `text/plain` representation, or `undefined` when the paste carried none (a bare image paste). */\n readonly text: string | undefined;\n\n /** The `text/html` representation, or `undefined`. Present from a rich source — sanitize before rendering. */\n readonly html: string | undefined;\n\n /** Files on the paste — a screenshot, an image, a document. Empty when the paste was text only. */\n readonly files: ReadonlyArray<File>;\n}\n\n/** Reads a member off an object, guarded — a throwing getter reads as `undefined`. */\nfunction member(source: object, key: string): unknown {\n try {\n return (source as Record<string, unknown>)[key];\n } catch {\n return undefined;\n }\n}\n\n/** Reads one MIME representation as a string. Absent, blank, and throwing all read as `undefined`. */\nfunction readData(data: DataTransfer, type: string): string | undefined {\n try {\n const getData = member(data, 'getData');\n if (typeof getData !== 'function') return undefined;\n\n const value: unknown = (getData as (type: string) => unknown).call(data, type);\n return typeof value === 'string' && value.length > 0 ? value : undefined;\n } catch {\n return undefined;\n }\n}\n\n/** Collects files from `DataTransfer.items`, skipping non-file entries and any entry that refuses to resolve. */\nfunction filesFromItems(data: DataTransfer): File[] {\n const files: File[] = [];\n try {\n const list = member(data, 'items');\n if (typeof list !== 'object' || list === null) return files;\n\n const length = member(list, 'length');\n if (typeof length !== 'number') return files;\n\n const items = list as DataTransferItemList;\n for (let index = 0; index < length; index++) {\n try {\n const item = items[index];\n if (item === undefined || item === null) continue;\n if (item.kind !== 'file' || typeof item.getAsFile !== 'function') continue;\n\n const file = item.getAsFile();\n if (file !== null) files.push(file);\n } catch {\n // One malformed entry does not invalidate the others.\n }\n }\n } catch {\n // No usable item list. `files` is the fallback.\n }\n return files;\n}\n\n/** Collects files from `DataTransfer.files` — the `FileList` fallback when the item list yielded nothing. */\nfunction filesFromFileList(data: DataTransfer): File[] {\n const files: File[] = [];\n try {\n const list = member(data, 'files');\n if (typeof list !== 'object' || list === null) return files;\n\n const length = member(list, 'length');\n if (typeof length !== 'number') return files;\n\n const fileList = list as FileList;\n for (let index = 0; index < length; index++) {\n const file = fileList[index];\n if (file !== undefined && file !== null) files.push(file);\n }\n } catch {\n // Nothing readable here either. An empty file list is a valid answer.\n }\n return files;\n}\n\n/**\n * Extracts the text, HTML, and files a `paste` event carried.\n *\n * Needs no permission and no user gesture — the event IS the user's authorization — and works in every engine,\n * including the ones that withhold `navigator.clipboard.read`. This is the path to build \"paste an image\"\n * features on.\n *\n * Does not call `preventDefault`: suppressing the browser's own paste is the consumer's decision, and a handler\n * that reads the payload for a side effect usually wants the default insert to happen too. `usePasteHandler`\n * exposes it as an option.\n *\n * Never throws — a malformed or partial event yields `{ text: undefined, html: undefined, files: [] }`.\n *\n * @param event The `paste` event, from a `@paste` binding or a native listener.\n */\nexport function getPasteItems(event: ClipboardEvent): PasteItems {\n const empty: PasteItems = { text: undefined, html: undefined, files: [] };\n\n try {\n if (typeof event !== 'object' || event === null) return empty;\n\n const transfer = member(event, 'clipboardData');\n if (typeof transfer !== 'object' || transfer === null) return empty;\n\n const data = transfer as DataTransfer;\n const fromItems = filesFromItems(data);\n\n return {\n text: readData(data, 'text/plain'),\n html: readData(data, 'text/html'),\n files: fromItems.length > 0 ? fromItems : filesFromFileList(data),\n };\n } catch {\n return empty;\n }\n}\n","import { toValue, watchPostEffect, type MaybeRefOrGetter } from 'vue';\n\nimport { getPasteItems, type PasteItems } from '../PasteItems';\n\n/** Tunes a {@link usePasteHandler} binding. */\nexport interface UsePasteHandlerOptions {\n /**\n * The element to listen on. Defaults to `window`, which catches a paste anywhere on the page — the right\n * default for a drop-zone or an editor surface that is not itself focused. Pass a ref or getter to scope the\n * listener to one element.\n */\n readonly target?: MaybeRefOrGetter<HTMLElement | null | undefined>;\n\n /**\n * Whether the listener is attached. Defaults to `true`; pass `false` to suspend it without tearing down — a\n * modal that should own pastes only while open.\n */\n readonly enabled?: MaybeRefOrGetter<boolean | undefined>;\n\n /**\n * Whether to call `preventDefault()` on the event, suppressing the browser's own paste. Defaults to `false`.\n *\n * Turn it on when the handler fully owns the paste (inserting the image itself); leave it off when the handler\n * is a side effect and the default insert should still happen. Applied BEFORE the handler runs, so a throw\n * from the handler cannot skip it.\n */\n readonly preventDefault?: MaybeRefOrGetter<boolean | undefined>;\n}\n\n/**\n * Binds a `paste` listener that hands the handler the event's already-extracted text, HTML, and files.\n *\n * Needs no clipboard permission — see `PasteItems.ts` for why this is the path to prefer over `readText`.\n * Detaches on scope disposal, and on any change to `enabled` / `target` / `preventDefault`.\n *\n * @param handler Called on every paste with the extracted payload and the original event. A throw from it is\n * swallowed.\n * @param options Where to listen, whether to listen, and whether to suppress the default paste.\n */\nexport function usePasteHandler(\n handler: (items: PasteItems, event: ClipboardEvent) => void,\n options?: UsePasteHandlerOptions,\n): void {\n watchPostEffect((onCleanup) => {\n if ((toValue(options?.enabled) ?? true) === false) return;\n\n // Resolved lazily and guarded: importing this in an SSR pass must never touch `window`.\n const node: EventTarget | null =\n options?.target !== undefined ? (toValue(options.target) ?? null) : typeof window === 'undefined' ? null : window;\n if (node === null || typeof node.addEventListener !== 'function') return;\n\n // Captured at attach time so remove uses the same behaviour the listener was bound with.\n const preventDefault = toValue(options?.preventDefault) ?? false;\n\n const listener = (event: Event): void => {\n const pasteEvent = event as ClipboardEvent;\n if (preventDefault) {\n try {\n pasteEvent.preventDefault();\n } catch {\n // A synthetic event without a usable `preventDefault`. The handler still gets its payload.\n }\n }\n\n try {\n handler(getPasteItems(pasteEvent), pasteEvent);\n } catch {\n // The consumer's handler failed. Their problem — and not a reason to break the listener for the next\n // paste, which is what an escaping throw would risk.\n }\n };\n\n node.addEventListener('paste', listener);\n onCleanup(() => node.removeEventListener('paste', listener));\n });\n}\n","import { onScopeDispose, shallowRef, toValue, type MaybeRefOrGetter, type ShallowRef } from 'vue';\n\nimport type { ClipboardCopyOptions, ClipboardWriteResult, ClipboardWriteStatus } from '../ClipboardResult';\nimport { copyText } from '../CopyText';\n\n/** How long a status lingers before the composable returns to `idle`, when the caller does not say. */\nconst DefaultResetAfterMs = 2000;\n\n/** Where a {@link useClipboardCopy} instance sits: `idle` before the first attempt, otherwise the last outcome. */\nexport type ClipboardCopyState = 'idle' | ClipboardWriteStatus;\n\n/** Tunes a {@link useClipboardCopy} instance. */\nexport interface UseClipboardCopyOptions extends ClipboardCopyOptions {\n /**\n * How long `status` holds the last outcome before returning to `idle`, in milliseconds. Defaults to 2000 —\n * long enough to read \"Copied!\", short enough not to linger.\n *\n * Pass `0` to hold the status until {@link ClipboardCopyControls.reset} is called, which is what a failure\n * message the user must acknowledge wants.\n */\n readonly resetAfterMs?: number;\n}\n\n/** What {@link useClipboardCopy} returns. */\nexport interface ClipboardCopyControls {\n /**\n * The last outcome, or `idle` before the first attempt and after the reset window. Drives the icon swap, the\n * \"Copied!\" label, and the `denied` / `unsupported` fallback copy.\n */\n readonly status: Readonly<ShallowRef<ClipboardCopyState>>;\n\n /**\n * Writes `text` to the clipboard and resolves to the full result — the awaiting caller branches on the\n * outcome, while `status` drives the render. Never throws, never rejects.\n */\n readonly copy: (text: string) => Promise<ClipboardWriteResult>;\n\n /** Returns `status` to `idle` immediately and cancels the pending auto-reset. */\n readonly reset: () => void;\n}\n\n/**\n * Wraps `copyText` in a transient status for post-action UI, without swallowing the outcome.\n *\n * Call `copy` from a user gesture — the platform requires transient activation, and a copy fired from a watcher\n * or a timeout comes back `denied`.\n *\n * @param options Error reporting, the legacy-fallback opt-in, and the auto-reset window. Read fresh on every\n * call, so a ref or getter keeps them live.\n */\nexport function useClipboardCopy(\n options?: MaybeRefOrGetter<UseClipboardCopyOptions | undefined>,\n): ClipboardCopyControls {\n const status = shallowRef<ClipboardCopyState>('idle');\n\n let timer: ReturnType<typeof setTimeout> | null = null;\n let disposed = false;\n let generation = 0;\n\n /** Cancels a pending auto-reset. Safe to call when none is scheduled. */\n function clearTimer(): void {\n if (timer === null) return;\n clearTimeout(timer);\n timer = null;\n }\n\n onScopeDispose(() => {\n disposed = true;\n clearTimer();\n });\n\n const copy = async (text: string): Promise<ClipboardWriteResult> => {\n const operation = ++generation;\n clearTimer();\n const result = await copyText(text, toValue(options));\n\n // The scope may have been disposed while the write was in flight. The RESULT still goes back to the\n // caller — it is the answer to their call, not a piece of this component's state.\n if (disposed || operation !== generation) return result;\n\n clearTimer();\n status.value = result.ok ? 'copied' : result.failure.status;\n\n const resetAfterMs = toValue(options)?.resetAfterMs ?? DefaultResetAfterMs;\n if (resetAfterMs > 0) {\n timer = setTimeout(() => {\n timer = null;\n status.value = 'idle';\n }, resetAfterMs);\n }\n\n return result;\n };\n\n const reset = (): void => {\n generation++;\n clearTimer();\n status.value = 'idle';\n };\n\n return { status, copy, reset };\n}\n","import { queryPermission, type PermissionQueryState } from '../notifications/QueryPermission';\n\n/** Which half of the clipboard a permission query is about. */\nexport const ClipboardPermissionMode = {\n /** Asks about reading the clipboard — the `clipboard-read` permission name. */\n Read: 'read',\n\n /** Asks about writing the clipboard — the `clipboard-write` permission name. */\n Write: 'write',\n} as const;\n\n/** Which half of the clipboard a permission query is about. */\nexport type ClipboardPermissionMode = (typeof ClipboardPermissionMode)[keyof typeof ClipboardPermissionMode];\n\n/** The Permissions API names, which differ from this slice's vocabulary and are not implemented everywhere. */\nconst PermissionNames: Readonly<Record<ClipboardPermissionMode, string>> = {\n read: 'clipboard-read',\n write: 'clipboard-write',\n};\n\n/**\n * Reads the browser's recorded permission for clipboard reading or writing.\n *\n * Returns `unsupported` when the Permissions API cannot query the name. Treat this as unknown,\n * not denied: clipboard operations may remain available without a supported permission query.\n *\n * A one-shot snapshot; the browser fires no event on this promise.\n *\n * Never throws, never rejects.\n *\n * @param mode `'read'` for `clipboard-read`, `'write'` for `clipboard-write`.\n */\nexport async function getClipboardPermission(mode: ClipboardPermissionMode): Promise<PermissionQueryState> {\n const name = PermissionNames[mode];\n if (name === undefined) return 'unsupported';\n return queryPermission(name);\n}\n","/** Closed failure vocabulary for ClipboardFailure. */\nexport const ClipboardFailureCode = {\n Denied: 'denied',\n Unsupported: 'unsupported',\n Failed: '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AAQ;AACV;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClipboardFailureCode } from '../ClipboardFailureCode';
|
|
2
|
+
/** Expected reasons the operation could not produce its requested value. */
|
|
3
|
+
export type ClipboardFailure = {
|
|
4
|
+
readonly status: typeof ClipboardFailureCode.Denied;
|
|
5
|
+
readonly error: Error;
|
|
6
|
+
} | {
|
|
7
|
+
readonly status: typeof ClipboardFailureCode.Unsupported;
|
|
8
|
+
} | {
|
|
9
|
+
readonly status: typeof ClipboardFailureCode.Failed;
|
|
10
|
+
readonly error: Error;
|
|
11
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Result } from '../../results';
|
|
2
|
+
import { ClipboardReadItem } from '../ClipboardResult';
|
|
3
|
+
import { ClipboardFailure } from './ClipboardFailure';
|
|
4
|
+
/** The completed operation, carrying either its value or its typed failure. */
|
|
5
|
+
export type ClipboardReadItemsResult = Result<ReadonlyArray<ClipboardReadItem>, ClipboardFailure>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EqualityComparer } from '
|
|
1
|
+
import { EqualityComparer } from './Equality';
|
|
2
2
|
/**
|
|
3
3
|
* Removes duplicates, keeping the FIRST occurrence of each key and the input's order.
|
|
4
4
|
*
|
|
@@ -10,7 +10,7 @@ import { EqualityComparer } from '../utils/Equality';
|
|
|
10
10
|
* @param keyFn Optional key extractor receiving the item and its index.
|
|
11
11
|
* @returns A new array holding the first item per distinct key.
|
|
12
12
|
*/
|
|
13
|
-
export declare function unique<T, TKey = T>(items:
|
|
13
|
+
export declare function unique<T, TKey = T>(items: ReadonlyArray<T>, keyFn?: (item: T, index: number) => TKey): T[];
|
|
14
14
|
/**
|
|
15
15
|
* Buckets items by an extracted key into a `Map`.
|
|
16
16
|
*
|
|
@@ -22,7 +22,7 @@ export declare function unique<T, TKey = T>(items: readonly T[], keyFn?: (item:
|
|
|
22
22
|
* @param keyFn Extracts the group key from an item and its index.
|
|
23
23
|
* @returns A new `Map` of key to a new array of that key's items, both in first-seen order.
|
|
24
24
|
*/
|
|
25
|
-
export declare function groupBy<T, TKey>(items:
|
|
25
|
+
export declare function groupBy<T, TKey>(items: ReadonlyArray<T>, keyFn: (item: T, index: number) => TKey): Map<TKey, T[]>;
|
|
26
26
|
/**
|
|
27
27
|
* Splits a list in two by a predicate, in one pass, preserving order in both halves.
|
|
28
28
|
*
|
|
@@ -30,7 +30,7 @@ export declare function groupBy<T, TKey>(items: readonly T[], keyFn: (item: T, i
|
|
|
30
30
|
* @param predicate Decides whether an item belongs to the first half.
|
|
31
31
|
* @returns A `[matched, rest]` tuple of two new arrays.
|
|
32
32
|
*/
|
|
33
|
-
export declare function partition<T>(items:
|
|
33
|
+
export declare function partition<T>(items: ReadonlyArray<T>, predicate: (item: T, index: number) => boolean): [T[], T[]];
|
|
34
34
|
/**
|
|
35
35
|
* Slices a list into consecutive groups of at most `size`. The final group is short when the length is
|
|
36
36
|
* not a multiple of `size`.
|
|
@@ -41,7 +41,7 @@ export declare function partition<T>(items: readonly T[], predicate: (item: T, i
|
|
|
41
41
|
* @throws {RangeError} When `size` is not a positive integer — a zero or negative size has no meaningful
|
|
42
42
|
* result and would loop forever.
|
|
43
43
|
*/
|
|
44
|
-
export declare function chunk<T>(items:
|
|
44
|
+
export declare function chunk<T>(items: ReadonlyArray<T>, size: number): T[][];
|
|
45
45
|
/**
|
|
46
46
|
* Reorders one item, using drag-and-drop semantics: the item is REMOVED first, then re-inserted at `to`
|
|
47
47
|
* measured in the shortened list. This is the behaviour a pointer drag implies — dropping item 0 onto
|
|
@@ -56,7 +56,7 @@ export declare function chunk<T>(items: readonly T[], size: number): T[][];
|
|
|
56
56
|
* @param to The index it should occupy afterwards.
|
|
57
57
|
* @returns A new array with the item relocated; a new copy when `from` and `to` resolve to the same slot.
|
|
58
58
|
*/
|
|
59
|
-
export declare function move<T>(items:
|
|
59
|
+
export declare function move<T>(items: ReadonlyArray<T>, from: number, to: number): T[];
|
|
60
60
|
/**
|
|
61
61
|
* Inserts one value at an index. The index is clamped to `[0, length]`, so `length` appends and a
|
|
62
62
|
* negative index prepends.
|
|
@@ -66,7 +66,7 @@ export declare function move<T>(items: readonly T[], from: number, to: number):
|
|
|
66
66
|
* @param value The value to insert.
|
|
67
67
|
* @returns A new array one longer than the input.
|
|
68
68
|
*/
|
|
69
|
-
export declare function insertAt<T>(items:
|
|
69
|
+
export declare function insertAt<T>(items: ReadonlyArray<T>, index: number, value: T): T[];
|
|
70
70
|
/**
|
|
71
71
|
* Removes the item at an index. An out-of-range index removes nothing and still returns a fresh copy.
|
|
72
72
|
*
|
|
@@ -74,7 +74,7 @@ export declare function insertAt<T>(items: readonly T[], index: number, value: T
|
|
|
74
74
|
* @param index The index to drop.
|
|
75
75
|
* @returns A new array, one shorter when the index was in range.
|
|
76
76
|
*/
|
|
77
|
-
export declare function removeAt<T>(items:
|
|
77
|
+
export declare function removeAt<T>(items: ReadonlyArray<T>, index: number): T[];
|
|
78
78
|
/**
|
|
79
79
|
* Replaces the item at an index. An out-of-range index replaces nothing and still returns a fresh copy —
|
|
80
80
|
* it never grows the array or punches an `undefined` hole in it.
|
|
@@ -84,11 +84,11 @@ export declare function removeAt<T>(items: readonly T[], index: number): T[];
|
|
|
84
84
|
* @param value The replacement value.
|
|
85
85
|
* @returns A new array of the same length as the input.
|
|
86
86
|
*/
|
|
87
|
-
export declare function replaceAt<T>(items:
|
|
87
|
+
export declare function replaceAt<T>(items: ReadonlyArray<T>, index: number, value: T): T[];
|
|
88
88
|
/**
|
|
89
89
|
* Adds an item when absent, removes it when present — the checkbox/chip/multi-select primitive.
|
|
90
90
|
*
|
|
91
|
-
* Equality defaults to `foundation/
|
|
91
|
+
* Equality defaults to `foundation/collections`' `Equality.strictEquals` (`Object.is`), which is reference
|
|
92
92
|
* equality for objects; pass `Equality.byKey((row) => row.id)` (or any comparer) when the toggled value is
|
|
93
93
|
* a fresh object each render. EVERY match is removed, so a list that already held duplicates toggles all of
|
|
94
94
|
* them off at once. An added item is appended at the end.
|
|
@@ -98,7 +98,7 @@ export declare function replaceAt<T>(items: readonly T[], index: number, value:
|
|
|
98
98
|
* @param equalsFn Decides whether a list entry IS the toggled item.
|
|
99
99
|
* @returns A new array with the item removed or appended.
|
|
100
100
|
*/
|
|
101
|
-
export declare function toggleItem<T>(items:
|
|
101
|
+
export declare function toggleItem<T>(items: ReadonlyArray<T>, item: T, equalsFn?: EqualityComparer<T>): T[];
|
|
102
102
|
/**
|
|
103
103
|
* Pairs two lists positionally, stopping at the SHORTER one — the extra tail is dropped rather than
|
|
104
104
|
* padded with `undefined`, so the result type has no holes to narrow away at every call site.
|
|
@@ -107,7 +107,7 @@ export declare function toggleItem<T>(items: readonly T[], item: T, equalsFn?: E
|
|
|
107
107
|
* @param second The list supplying each pair's second slot.
|
|
108
108
|
* @returns A new array of `[first, second]` tuples, `min(first.length, second.length)` long.
|
|
109
109
|
*/
|
|
110
|
-
export declare function zip<TFirst, TSecond>(first:
|
|
110
|
+
export declare function zip<TFirst, TSecond>(first: ReadonlyArray<TFirst>, second: ReadonlyArray<TSecond>): Array<[TFirst, TSecond]>;
|
|
111
111
|
/**
|
|
112
112
|
* Splits a list of pairs back into two lists — the inverse of {@link zip}.
|
|
113
113
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param second The right array.
|
|
10
10
|
* @returns `true` when both have the same length and every index holds the same value.
|
|
11
11
|
*/
|
|
12
|
-
export declare function arrayShallowEqual<T>(first:
|
|
12
|
+
export declare function arrayShallowEqual<T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>): boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Compares two values one level deep.
|
|
15
15
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @returns A new `Map` in first-seen key order.
|
|
8
8
|
* @see groupBy — the same shape when a key can legitimately hold several items.
|
|
9
9
|
*/
|
|
10
|
-
export declare function keyBy<T, TKey>(items:
|
|
10
|
+
export declare function keyBy<T, TKey>(items: ReadonlyArray<T>, keyFn: (item: T, index: number) => TKey): Map<TKey, T>;
|
|
11
11
|
/**
|
|
12
12
|
* Transforms every value, keeping the keys and their order. Overloaded on the container: a `Map` in gives
|
|
13
13
|
* a `Map` out, a record in gives a record out.
|
|
@@ -36,7 +36,7 @@ export declare function mapValues<TKey extends PropertyKey, TValue, TResult>(sou
|
|
|
36
36
|
* @param keys The keys to keep.
|
|
37
37
|
* @returns A new object holding only the present named keys.
|
|
38
38
|
*/
|
|
39
|
-
export declare function pickKeys<T extends object, TKey extends keyof T>(source: T, keys:
|
|
39
|
+
export declare function pickKeys<T extends object, TKey extends keyof T>(source: T, keys: ReadonlyArray<TKey>): Pick<T, TKey>;
|
|
40
40
|
/**
|
|
41
41
|
* Copies every own enumerable string key EXCEPT the named ones into a new object — the immutable spelling
|
|
42
42
|
* of `delete`, and the typed one (the result type loses the removed keys).
|
|
@@ -45,7 +45,7 @@ export declare function pickKeys<T extends object, TKey extends keyof T>(source:
|
|
|
45
45
|
* @param keys The keys to drop.
|
|
46
46
|
* @returns A new object without the named keys.
|
|
47
47
|
*/
|
|
48
|
-
export declare function omitKeys<T extends object, TKey extends keyof T>(source: T, keys:
|
|
48
|
+
export declare function omitKeys<T extends object, TKey extends keyof T>(source: T, keys: ReadonlyArray<TKey>): Omit<T, TKey>;
|
|
49
49
|
/**
|
|
50
50
|
* Collects key/value pairs into a record. Accepts any iterable, so a `Map`, a `URLSearchParams`, or the
|
|
51
51
|
* output of {@link recordToEntries} all feed it directly. The LAST pair wins on a duplicate key.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).
|
|
11
11
|
* @returns A new array; neither input is mutated.
|
|
12
12
|
*/
|
|
13
|
-
export declare function union<T, TKey = T>(first:
|
|
13
|
+
export declare function union<T, TKey = T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>, keyFn?: (item: T) => TKey): T[];
|
|
14
14
|
/**
|
|
15
15
|
* Only the items whose key appears in BOTH lists, de-duplicated, in `first`'s order and holding `first`'s
|
|
16
16
|
* item instances.
|
|
@@ -20,7 +20,7 @@ export declare function union<T, TKey = T>(first: readonly T[], second: readonly
|
|
|
20
20
|
* @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).
|
|
21
21
|
* @returns A new array; neither input is mutated.
|
|
22
22
|
*/
|
|
23
|
-
export declare function intersection<T, TKey = T>(first:
|
|
23
|
+
export declare function intersection<T, TKey = T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>, keyFn?: (item: T) => TKey): T[];
|
|
24
24
|
/**
|
|
25
25
|
* The items of `first` whose key does NOT appear in `second`, de-duplicated, in `first`'s order.
|
|
26
26
|
*
|
|
@@ -32,7 +32,7 @@ export declare function intersection<T, TKey = T>(first: readonly T[], second: r
|
|
|
32
32
|
* @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).
|
|
33
33
|
* @returns A new array; neither input is mutated.
|
|
34
34
|
*/
|
|
35
|
-
export declare function difference<T, TKey = T>(first:
|
|
35
|
+
export declare function difference<T, TKey = T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>, keyFn?: (item: T) => TKey): T[];
|
|
36
36
|
/**
|
|
37
37
|
* Everything present in exactly one of the two lists — the "what changed" relation, `first`-only entries
|
|
38
38
|
* followed by `second`-only entries.
|
|
@@ -42,4 +42,4 @@ export declare function difference<T, TKey = T>(first: readonly T[], second: rea
|
|
|
42
42
|
* @param keyFn Optional key extractor; defaults to the item itself (SameValueZero).
|
|
43
43
|
* @returns A new array; neither input is mutated.
|
|
44
44
|
*/
|
|
45
|
-
export declare function symmetricDifference<T, TKey = T>(first:
|
|
45
|
+
export declare function symmetricDifference<T, TKey = T>(first: ReadonlyArray<T>, second: ReadonlyArray<T>, keyFn?: (item: T) => TKey): T[];
|
|
@@ -28,7 +28,7 @@ export interface BuildTreeOptions<T, TId> {
|
|
|
28
28
|
* @param options The `id` / `parentId` accessors.
|
|
29
29
|
* @returns A new array of root nodes.
|
|
30
30
|
*/
|
|
31
|
-
export declare function buildTree<T, TId>(items:
|
|
31
|
+
export declare function buildTree<T, TId>(items: ReadonlyArray<T>, options: BuildTreeOptions<T, TId>): TreeNode<T>[];
|
|
32
32
|
/**
|
|
33
33
|
* Walks a nested structure depth-first, pre-order, into one flat list — parent before its children, which
|
|
34
34
|
* is the order a collapsed/expanded tree view renders rows in.
|
|
@@ -39,7 +39,7 @@ export declare function buildTree<T, TId>(items: readonly T[], options: BuildTre
|
|
|
39
39
|
* @param childrenKey The property holding a node's children; defaults to `'children'`.
|
|
40
40
|
* @returns A new flat array of the same node objects.
|
|
41
41
|
*/
|
|
42
|
-
export declare function flattenTree<TNode extends object>(nodes:
|
|
42
|
+
export declare function flattenTree<TNode extends object>(nodes: ReadonlyArray<TNode>, childrenKey?: PropertyKey): TNode[];
|
|
43
43
|
/**
|
|
44
44
|
* Finds the first node matching a predicate, depth-first, pre-order — the lookup behind "select the node
|
|
45
45
|
* for this route" and "reveal the row with this id".
|
|
@@ -49,7 +49,7 @@ export declare function flattenTree<TNode extends object>(nodes: readonly TNode[
|
|
|
49
49
|
* @param childrenKey The property holding a node's children; defaults to `'children'`.
|
|
50
50
|
* @returns The matching node, or `undefined` when nothing matches.
|
|
51
51
|
*/
|
|
52
|
-
export declare function findInTree<TNode extends object>(nodes:
|
|
52
|
+
export declare function findInTree<TNode extends object>(nodes: ReadonlyArray<TNode>, predicate: (node: TNode, depth: number) => boolean, childrenKey?: PropertyKey): TNode | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Rebuilds a {@link TreeNode} tree with every item transformed, keeping the shape and the order.
|
|
55
55
|
*
|
|
@@ -59,5 +59,6 @@ export declare function findInTree<TNode extends object>(nodes: readonly TNode[]
|
|
|
59
59
|
* @param nodes The roots to map; never mutated.
|
|
60
60
|
* @param mapFn Produces the replacement item from the current item and its 0-based depth.
|
|
61
61
|
* @returns A new tree of new nodes.
|
|
62
|
+
* @throws {TypeError} When the input contains a cycle; shared subtrees remain supported.
|
|
62
63
|
*/
|
|
63
|
-
export declare function mapTree<T, TResult>(nodes:
|
|
64
|
+
export declare function mapTree<T, TResult>(nodes: ReadonlyArray<TreeNode<T>>, mapFn: (item: T, depth: number) => TResult): TreeNode<TResult>[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { chunk, groupBy, insertAt, move, partition, range, removeAt, replaceAt, toggleItem, unique, unzip, zip, } from './Arrays';
|
|
2
2
|
export { difference, intersection, symmetricDifference, union } from './SetOps';
|
|
3
|
-
export { entriesToRecord, invertRecord, keyBy, mapValues, omitKeys, pickKeys, recordToEntries
|
|
3
|
+
export { entriesToRecord, invertRecord, keyBy, mapValues, omitKeys, pickKeys, recordToEntries } from './Records';
|
|
4
4
|
export { arrayShallowEqual, deepEqual, shallowEqual } from './Comparison';
|
|
5
|
-
export { buildTree, findInTree, flattenTree, mapTree, type BuildTreeOptions, type TreeNode
|
|
5
|
+
export { buildTree, findInTree, flattenTree, mapTree, type BuildTreeOptions, type TreeNode } from './Tree';
|
|
6
|
+
export { Equality, type EqualityComparer } from './Equality';
|