@wow-two-beta/ui-vue 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +113 -0
- package/dist/analytics/Analytics.d.ts +50 -0
- package/dist/analytics/AnalyticsEvent.d.ts +49 -0
- package/dist/analytics/AnalyticsProvider.d.ts +37 -0
- package/dist/analytics/ConsoleAnalyticsProvider.d.ts +8 -0
- package/dist/analytics/MemoryAnalyticsProvider.d.ts +19 -0
- package/dist/analytics/index.d.ts +5 -0
- package/dist/analytics/index.js +196 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/auth/AuthBridge.d.ts +30 -0
- package/dist/auth/AuthContext.d.ts +41 -0
- package/dist/auth/AuthProvider.vue.d.ts +33 -0
- package/dist/auth/AuthSession.d.ts +41 -0
- package/dist/auth/BearerStrategy.d.ts +36 -0
- package/dist/auth/CookieStrategy.d.ts +29 -0
- package/dist/auth/RedirectStrategy.d.ts +24 -0
- package/dist/auth/TokenStorage.d.ts +9 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +275 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/chunks/Accept-BWpCXDmS.js +35 -0
- package/dist/chunks/Accept-BWpCXDmS.js.map +1 -0
- package/dist/chunks/Align-DqFtCY3a.js +12 -0
- package/dist/chunks/Align-DqFtCY3a.js.map +1 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js +53 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js.map +1 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js +46 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js.map +1 -0
- package/dist/chunks/ApiError-l0YdcqqV.js +15 -0
- package/dist/chunks/ApiError-l0YdcqqV.js.map +1 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js +996 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js.map +1 -0
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js +78 -0
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js.map +1 -0
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js +1094 -0
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js.map +1 -0
- package/dist/chunks/Bytes-7Jxs6Bq6.js +21 -0
- package/dist/chunks/Bytes-7Jxs6Bq6.js.map +1 -0
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js +12748 -0
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js.map +1 -0
- package/dist/chunks/Chord-D9Z-j3O0.js +139 -0
- package/dist/chunks/Chord-D9Z-j3O0.js.map +1 -0
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js +21 -0
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js.map +1 -0
- package/dist/chunks/Compare-Du6p-OX1.js +18 -0
- package/dist/chunks/Compare-Du6p-OX1.js.map +1 -0
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js +229 -0
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js.map +1 -0
- package/dist/chunks/CornerPosition-FneGck5D.js +14 -0
- package/dist/chunks/CornerPosition-FneGck5D.js.map +1 -0
- package/dist/chunks/CssExtensions-BzLJG57F.js +161 -0
- package/dist/chunks/CssExtensions-BzLJG57F.js.map +1 -0
- package/dist/chunks/DateExtensions-QahSUlRy.js +282 -0
- package/dist/chunks/DateExtensions-QahSUlRy.js.map +1 -0
- package/dist/chunks/DeepEqual-7lBKnkNS.js +29 -0
- package/dist/chunks/DeepEqual-7lBKnkNS.js.map +1 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js +214 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js.map +1 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js +207 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js.map +1 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js +1923 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js.map +1 -0
- package/dist/chunks/Environment-CuQav_mw.js +68 -0
- package/dist/chunks/Environment-CuQav_mw.js.map +1 -0
- package/dist/chunks/Equality-DIQYQysz.js +21 -0
- package/dist/chunks/Equality-DIQYQysz.js.map +1 -0
- package/dist/chunks/ErrorLike-Cfj0lZW3.js +27 -0
- package/dist/chunks/ErrorLike-Cfj0lZW3.js.map +1 -0
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js +26 -0
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js.map +1 -0
- package/dist/chunks/ErrorRecognizers-oTklha6D.js +17 -0
- package/dist/chunks/ErrorRecognizers-oTklha6D.js.map +1 -0
- package/dist/chunks/FeedbackBus-BRbyOMCn.js +39 -0
- package/dist/chunks/FeedbackBus-BRbyOMCn.js.map +1 -0
- package/dist/chunks/FieldErrors-2zjhia4U.js +56 -0
- package/dist/chunks/FieldErrors-2zjhia4U.js.map +1 -0
- package/dist/chunks/FileName-CmNjFV7t.js +30 -0
- package/dist/chunks/FileName-CmNjFV7t.js.map +1 -0
- package/dist/chunks/FormControlContext-B71MFW26.js +22 -0
- package/dist/chunks/FormControlContext-B71MFW26.js.map +1 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js +73 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js.map +1 -0
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js +23 -0
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js.map +1 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js +27 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js.map +1 -0
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js +68 -0
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js.map +1 -0
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js +34 -0
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js.map +1 -0
- package/dist/chunks/Listbox.variants-CqAkYsmK.js +44 -0
- package/dist/chunks/Listbox.variants-CqAkYsmK.js.map +1 -0
- package/dist/chunks/LocaleContext-B3UXrI6p.js +39 -0
- package/dist/chunks/LocaleContext-B3UXrI6p.js.map +1 -0
- package/dist/chunks/Messages-BGfQHMmW.js +201 -0
- package/dist/chunks/Messages-BGfQHMmW.js.map +1 -0
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js +191 -0
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js.map +1 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js +86 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js.map +1 -0
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js +2073 -0
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js.map +1 -0
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-gi0uHIuK.js +2727 -0
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-gi0uHIuK.js.map +1 -0
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js +943 -0
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js.map +1 -0
- package/dist/chunks/Orientation-u-sYunuG.js +10 -0
- package/dist/chunks/Orientation-u-sYunuG.js.map +1 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js +33 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js.map +1 -0
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js +17 -0
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js.map +1 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js +18 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js.map +1 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js +212 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js.map +1 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js +34 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js.map +1 -0
- package/dist/chunks/Presence-C7IJvh_P.js +120 -0
- package/dist/chunks/Presence-C7IJvh_P.js.map +1 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js +16 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js.map +1 -0
- package/dist/chunks/Primitive-Cm3ECaVw.js +20 -0
- package/dist/chunks/Primitive-Cm3ECaVw.js.map +1 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js +16 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js.map +1 -0
- package/dist/chunks/QueryPermission--OKfvS9c.js +82 -0
- package/dist/chunks/QueryPermission--OKfvS9c.js.map +1 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js +12 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js.map +1 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js +235 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js.map +1 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js +20 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js.map +1 -0
- package/dist/chunks/SerializeError-CclP2jCW.js +61 -0
- package/dist/chunks/SerializeError-CclP2jCW.js.map +1 -0
- package/dist/chunks/Severity-D0C5oAt-.js +16 -0
- package/dist/chunks/Severity-D0C5oAt-.js.map +1 -0
- package/dist/chunks/Side-CSys3p-F.js +23 -0
- package/dist/chunks/Side-CSys3p-F.js.map +1 -0
- package/dist/chunks/Slot-D2lIitvV.js +103 -0
- package/dist/chunks/Slot-D2lIitvV.js.map +1 -0
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js +10364 -0
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js +23 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js +76 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js.map +1 -0
- package/dist/chunks/StatusTone-BoPK1s09.js +16 -0
- package/dist/chunks/StatusTone-BoPK1s09.js.map +1 -0
- package/dist/chunks/StorageBroker-COC81ZGB.js +64 -0
- package/dist/chunks/StorageBroker-COC81ZGB.js.map +1 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js +65 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js.map +1 -0
- package/dist/chunks/SubmitErrors-K8nmmj0P.js +374 -0
- package/dist/chunks/SubmitErrors-K8nmmj0P.js.map +1 -0
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js +143 -0
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js.map +1 -0
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js +2159 -0
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js.map +1 -0
- package/dist/chunks/ToError-CyTBsmLO.js +52 -0
- package/dist/chunks/ToError-CyTBsmLO.js.map +1 -0
- package/dist/chunks/Tones-CI65uuq9.js +90 -0
- package/dist/chunks/Tones-CI65uuq9.js.map +1 -0
- package/dist/chunks/TransitionExtensions-hFi80JX2.js +19 -0
- package/dist/chunks/TransitionExtensions-hFi80JX2.js.map +1 -0
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js +82 -0
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js.map +1 -0
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js +51 -0
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js.map +1 -0
- package/dist/chunks/cn-CzDCF-Ah.js +9 -0
- package/dist/chunks/cn-CzDCF-Ah.js.map +1 -0
- package/dist/chunks/dataAttr-7BR67dTj.js +7 -0
- package/dist/chunks/dataAttr-7BR67dTj.js.map +1 -0
- package/dist/chunks/index-BD7H9CkO.js +130 -0
- package/dist/chunks/index-BD7H9CkO.js.map +1 -0
- package/dist/chunks/index-BGzbbN9T.js +1707 -0
- package/dist/chunks/index-BGzbbN9T.js.map +1 -0
- package/dist/chunks/index-C034dEhy.js +205 -0
- package/dist/chunks/index-C034dEhy.js.map +1 -0
- package/dist/chunks/index-Cbydgcdk.js +234 -0
- package/dist/chunks/index-Cbydgcdk.js.map +1 -0
- package/dist/chunks/index-CzKEU1kI.js +11 -0
- package/dist/chunks/index-CzKEU1kI.js.map +1 -0
- package/dist/chunks/index-KL15HQew.js +61 -0
- package/dist/chunks/index-KL15HQew.js.map +1 -0
- package/dist/chunks/index-drjQ833B.js +10 -0
- package/dist/chunks/index-drjQ833B.js.map +1 -0
- package/dist/chunks/useClipboard-BVRwXC--.js +37 -0
- package/dist/chunks/useClipboard-BVRwXC--.js.map +1 -0
- package/dist/chunks/useControlled-B6M4kTLn.js +24 -0
- package/dist/chunks/useControlled-B6M4kTLn.js.map +1 -0
- package/dist/chunks/useDebounceHandler-BIZgvvGp.js +20 -0
- package/dist/chunks/useDebounceHandler-BIZgvvGp.js.map +1 -0
- package/dist/chunks/useEscape-CYPdpm_l.js +15 -0
- package/dist/chunks/useEscape-CYPdpm_l.js.map +1 -0
- package/dist/chunks/useEventListener-gohT6zGs.js +16 -0
- package/dist/chunks/useEventListener-gohT6zGs.js.map +1 -0
- package/dist/chunks/useId-CtgAhGrn.js +9 -0
- package/dist/chunks/useId-CtgAhGrn.js.map +1 -0
- package/dist/chunks/useMediaQuery-DwVcSgGk.js +27 -0
- package/dist/chunks/useMediaQuery-DwVcSgGk.js.map +1 -0
- package/dist/chunks/useOutsideClick-CW80BJfE.js +22 -0
- package/dist/chunks/useOutsideClick-CW80BJfE.js.map +1 -0
- package/dist/chunks/useRecentItems-DFnt5CBy.js +137 -0
- package/dist/chunks/useRecentItems-DFnt5CBy.js.map +1 -0
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js +8 -0
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js.map +1 -0
- package/dist/chunks/useResizeObserver-BUU7lC-n.js +17 -0
- package/dist/chunks/useResizeObserver-BUU7lC-n.js.map +1 -0
- package/dist/chunks/useScrollLock-d6YIGUcs.js +37 -0
- package/dist/chunks/useScrollLock-d6YIGUcs.js.map +1 -0
- package/dist/domain/color/Gradient.d.ts +60 -0
- package/dist/domain/color/GradientType.d.ts +8 -0
- package/dist/domain/color/index.d.ts +3 -0
- package/dist/domain/color/index.js +6 -0
- package/dist/domain/color/index.js.map +1 -0
- package/dist/domain/emoji/EmojiCatalog.d.ts +29 -0
- package/dist/domain/emoji/EmojiCatalogData.d.ts +3 -0
- package/dist/domain/emoji/EmojiCategory.d.ts +20 -0
- package/dist/domain/emoji/index.d.ts +3 -0
- package/dist/domain/emoji/index.js +6 -0
- package/dist/domain/emoji/index.js.map +1 -0
- package/dist/feedback/FeedbackBus.d.ts +71 -0
- package/dist/feedback/FeedbackQueryErrors.d.ts +21 -0
- package/dist/feedback/index.d.ts +2 -0
- package/dist/feedback/index.js +20 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/flags/FlagClient.d.ts +72 -0
- package/dist/flags/FlagProvider.d.ts +38 -0
- package/dist/flags/FlagTypes.d.ts +85 -0
- package/dist/flags/FlagsContext.d.ts +32 -0
- package/dist/flags/FlagsProvider.vue.d.ts +24 -0
- package/dist/flags/StaticFlagProvider.d.ts +51 -0
- package/dist/flags/index.d.ts +6 -0
- package/dist/flags/index.js +243 -0
- package/dist/flags/index.js.map +1 -0
- package/dist/forms-engine/AppForm.d.ts +258 -0
- package/dist/forms-engine/DeepEqual.d.ts +8 -0
- package/dist/forms-engine/FocusFirstInvalid.d.ts +15 -0
- package/dist/forms-engine/FormGlue.d.ts +55 -0
- package/dist/forms-engine/Paths.d.ts +47 -0
- package/dist/forms-engine/SchemaValidation.d.ts +29 -0
- package/dist/forms-engine/StandardSchema.d.ts +55 -0
- package/dist/forms-engine/SubmitErrors.d.ts +33 -0
- package/dist/forms-engine/UseFieldArray.d.ts +87 -0
- package/dist/forms-engine/house/HouseFormCore.d.ts +33 -0
- package/dist/forms-engine/house/UseAppForm.d.ts +16 -0
- package/dist/forms-engine/house/index.d.ts +7 -0
- package/dist/forms-engine/house/index.js +315 -0
- package/dist/forms-engine/house/index.js.map +1 -0
- package/dist/forms-engine/index.d.ts +10 -0
- package/dist/forms-engine/index.js +127 -0
- package/dist/forms-engine/index.js.map +1 -0
- package/dist/forms-engine/tanstack/TanstackFormOverlay.d.ts +49 -0
- package/dist/forms-engine/tanstack/UseAppForm.d.ts +26 -0
- package/dist/forms-engine/tanstack/index.d.ts +8 -0
- package/dist/forms-engine/tanstack/index.js +407 -0
- package/dist/forms-engine/tanstack/index.js.map +1 -0
- package/dist/foundation/animation/Animate.d.ts +73 -0
- package/dist/foundation/animation/AnimatedLayout.d.ts +72 -0
- package/dist/foundation/animation/Flip.d.ts +90 -0
- package/dist/foundation/animation/UseFlip.d.ts +22 -0
- package/dist/foundation/animation/index.d.ts +4 -0
- package/dist/foundation/animation/index.js +241 -0
- package/dist/foundation/animation/index.js.map +1 -0
- package/dist/foundation/async/Abort.d.ts +33 -0
- package/dist/foundation/async/Combinators.d.ts +17 -0
- package/dist/foundation/async/Deferred.d.ts +18 -0
- package/dist/foundation/async/Limit.d.ts +36 -0
- package/dist/foundation/async/Rate.d.ts +31 -0
- package/dist/foundation/async/Retry.d.ts +20 -0
- package/dist/foundation/async/Timeout.d.ts +32 -0
- package/dist/foundation/async/index.d.ts +7 -0
- package/dist/foundation/async/index.js +290 -0
- package/dist/foundation/async/index.js.map +1 -0
- package/dist/foundation/clipboard/ClipboardPermission.d.ts +17 -0
- package/dist/foundation/clipboard/ClipboardResult.d.ts +102 -0
- package/dist/foundation/clipboard/ClipboardSupport.d.ts +55 -0
- package/dist/foundation/clipboard/CopyItems.d.ts +44 -0
- package/dist/foundation/clipboard/CopyText.d.ts +16 -0
- package/dist/foundation/clipboard/LegacyCopy.d.ts +38 -0
- package/dist/foundation/clipboard/PasteItems.d.ts +25 -0
- package/dist/foundation/clipboard/ReadClipboard.d.ts +29 -0
- package/dist/foundation/clipboard/UseClipboardCopy.d.ts +40 -0
- package/dist/foundation/clipboard/UsePasteHandler.d.ts +35 -0
- package/dist/foundation/clipboard/index.d.ts +10 -0
- package/dist/foundation/clipboard/index.js +437 -0
- package/dist/foundation/clipboard/index.js.map +1 -0
- package/dist/foundation/collections/Arrays.d.ts +131 -0
- package/dist/foundation/collections/Comparison.d.ts +39 -0
- package/dist/foundation/collections/Records.d.ts +72 -0
- package/dist/foundation/collections/SetOps.d.ts +45 -0
- package/dist/foundation/collections/Tree.d.ts +63 -0
- package/dist/foundation/collections/index.d.ts +5 -0
- package/dist/foundation/collections/index.js +460 -0
- package/dist/foundation/collections/index.js.map +1 -0
- package/dist/foundation/commands/Command.d.ts +46 -0
- package/dist/foundation/commands/CommandRegistry.d.ts +36 -0
- package/dist/foundation/commands/CommandShortcut.d.ts +8 -0
- package/dist/foundation/commands/CommandsContext.d.ts +30 -0
- package/dist/foundation/commands/CommandsProvider.vue.d.ts +18 -0
- package/dist/foundation/commands/SearchCommands.d.ts +28 -0
- package/dist/foundation/commands/UseCommandRegistry.d.ts +19 -0
- package/dist/foundation/commands/UseCommandShortcuts.d.ts +18 -0
- package/dist/foundation/commands/index.d.ts +8 -0
- package/dist/foundation/commands/index.js +278 -0
- package/dist/foundation/commands/index.js.map +1 -0
- package/dist/foundation/config/ConfigField.d.ts +60 -0
- package/dist/foundation/config/ConfigSource.d.ts +24 -0
- package/dist/foundation/config/DefineConfig.d.ts +43 -0
- package/dist/foundation/config/index.d.ts +3 -0
- package/dist/foundation/config/index.js +186 -0
- package/dist/foundation/config/index.js.map +1 -0
- package/dist/foundation/crypto/Digest.d.ts +25 -0
- package/dist/foundation/crypto/Encoding.d.ts +43 -0
- package/dist/foundation/crypto/HashObject.d.ts +18 -0
- package/dist/foundation/crypto/Random.d.ts +32 -0
- package/dist/foundation/crypto/TimingSafeEqual.d.ts +12 -0
- package/dist/foundation/crypto/WebCrypto.d.ts +15 -0
- package/dist/foundation/crypto/index.d.ts +6 -0
- package/dist/foundation/crypto/index.js +226 -0
- package/dist/foundation/crypto/index.js.map +1 -0
- package/dist/foundation/datetime/Arithmetic.d.ts +31 -0
- package/dist/foundation/datetime/Boundaries.d.ts +24 -0
- package/dist/foundation/datetime/Comparison.d.ts +43 -0
- package/dist/foundation/datetime/Difference.d.ts +28 -0
- package/dist/foundation/datetime/Internals.d.ts +12 -0
- package/dist/foundation/datetime/Interval.d.ts +38 -0
- package/dist/foundation/datetime/IsoDate.d.ts +24 -0
- package/dist/foundation/datetime/index.d.ts +6 -0
- package/dist/foundation/datetime/index.js +302 -0
- package/dist/foundation/datetime/index.js.map +1 -0
- package/dist/foundation/device/Breakpoints.d.ts +54 -0
- package/dist/foundation/device/DisplayMode.d.ts +13 -0
- package/dist/foundation/device/Platform.d.ts +27 -0
- package/dist/foundation/device/PointerType.d.ts +11 -0
- package/dist/foundation/device/UseBreakpoint.d.ts +20 -0
- package/dist/foundation/device/UseDisplayMode.d.ts +23 -0
- package/dist/foundation/device/UseOnlineStatus.d.ts +12 -0
- package/dist/foundation/device/UsePointer.d.ts +25 -0
- package/dist/foundation/device/index.d.ts +8 -0
- package/dist/foundation/device/index.js +187 -0
- package/dist/foundation/device/index.js.map +1 -0
- package/dist/foundation/errors/ErrorChain.d.ts +23 -0
- package/dist/foundation/errors/ErrorLike.d.ts +35 -0
- package/dist/foundation/errors/ErrorMessage.d.ts +13 -0
- package/dist/foundation/errors/ErrorRecognizers.d.ts +18 -0
- package/dist/foundation/errors/SerializeError.d.ts +25 -0
- package/dist/foundation/errors/ToError.d.ts +15 -0
- package/dist/foundation/errors/index.d.ts +6 -0
- package/dist/foundation/errors/index.js +18 -0
- package/dist/foundation/errors/index.js.map +1 -0
- package/dist/foundation/files/Accept.d.ts +30 -0
- package/dist/foundation/files/DownloadFile.d.ts +10 -0
- package/dist/foundation/files/FileName.d.ts +21 -0
- package/dist/foundation/files/ReadFile.d.ts +6 -0
- package/dist/foundation/files/index.d.ts +4 -0
- package/dist/foundation/files/index.js +62 -0
- package/dist/foundation/files/index.js.map +1 -0
- package/dist/foundation/format/Bytes.d.ts +15 -0
- package/dist/foundation/format/Count.d.ts +10 -0
- package/dist/foundation/format/Duration.d.ts +13 -0
- package/dist/foundation/format/Text.d.ts +51 -0
- package/dist/foundation/format/index.d.ts +4 -0
- package/dist/foundation/format/index.js +100 -0
- package/dist/foundation/format/index.js.map +1 -0
- package/dist/foundation/geolocation/CanLocate.d.ts +18 -0
- package/dist/foundation/geolocation/Coordinates.d.ts +41 -0
- package/dist/foundation/geolocation/DistanceBetween.d.ts +21 -0
- package/dist/foundation/geolocation/GeolocationPermission.d.ts +13 -0
- package/dist/foundation/geolocation/GeolocationReading.d.ts +30 -0
- package/dist/foundation/geolocation/GetCurrentPosition.d.ts +14 -0
- package/dist/foundation/geolocation/PositionResult.d.ts +74 -0
- package/dist/foundation/geolocation/UseGeolocation.d.ts +38 -0
- package/dist/foundation/geolocation/UseWatchPosition.d.ts +16 -0
- package/dist/foundation/geolocation/WatchPosition.d.ts +19 -0
- package/dist/foundation/geolocation/index.d.ts +10 -0
- package/dist/foundation/geolocation/index.js +236 -0
- package/dist/foundation/geolocation/index.js.map +1 -0
- package/dist/foundation/gestures/GestureAxis.d.ts +11 -0
- package/dist/foundation/gestures/GestureMath.d.ts +182 -0
- package/dist/foundation/gestures/SwipeDirection.d.ts +13 -0
- package/dist/foundation/gestures/UseDrag.d.ts +75 -0
- package/dist/foundation/gestures/UseLongPress.d.ts +42 -0
- package/dist/foundation/gestures/UsePinch.d.ts +47 -0
- package/dist/foundation/gestures/UseSwipe.d.ts +46 -0
- package/dist/foundation/gestures/index.d.ts +7 -0
- package/dist/foundation/gestures/index.js +440 -0
- package/dist/foundation/gestures/index.js.map +1 -0
- package/dist/foundation/hooks/index.d.ts +17 -0
- package/dist/foundation/hooks/index.js +34 -0
- package/dist/foundation/hooks/index.js.map +1 -0
- package/dist/foundation/hooks/useAutosave/index.d.ts +1 -0
- package/dist/foundation/hooks/useAutosave/useAutosave.d.ts +46 -0
- package/dist/foundation/hooks/useClipboard/index.d.ts +1 -0
- package/dist/foundation/hooks/useClipboard/useClipboard.d.ts +24 -0
- package/dist/foundation/hooks/useControlled/index.d.ts +1 -0
- package/dist/foundation/hooks/useControlled/useControlled.d.ts +31 -0
- package/dist/foundation/hooks/useDebounceHandler/index.d.ts +1 -0
- package/dist/foundation/hooks/useDebounceHandler/useDebounceHandler.d.ts +16 -0
- package/dist/foundation/hooks/useDisclosure/index.d.ts +1 -0
- package/dist/foundation/hooks/useDisclosure/useDisclosure.d.ts +18 -0
- package/dist/foundation/hooks/useEscape/index.d.ts +1 -0
- package/dist/foundation/hooks/useEscape/useEscape.d.ts +10 -0
- package/dist/foundation/hooks/useEventListener/index.d.ts +1 -0
- package/dist/foundation/hooks/useEventListener/useEventListener.d.ts +17 -0
- package/dist/foundation/hooks/useFocusTrap/index.d.ts +1 -0
- package/dist/foundation/hooks/useFocusTrap/useFocusTrap.d.ts +15 -0
- package/dist/foundation/hooks/useId/index.d.ts +1 -0
- package/dist/foundation/hooks/useId/useId.d.ts +8 -0
- package/dist/foundation/hooks/useMediaQuery/index.d.ts +1 -0
- package/dist/foundation/hooks/useMediaQuery/useMediaQuery.d.ts +12 -0
- package/dist/foundation/hooks/useOutsideClick/index.d.ts +1 -0
- package/dist/foundation/hooks/useOutsideClick/useOutsideClick.d.ts +12 -0
- package/dist/foundation/hooks/usePersistentState/index.d.ts +1 -0
- package/dist/foundation/hooks/usePersistentState/usePersistentState.d.ts +31 -0
- package/dist/foundation/hooks/useRecentItems/index.d.ts +1 -0
- package/dist/foundation/hooks/useRecentItems/useRecentItems.d.ts +34 -0
- package/dist/foundation/hooks/useReducedMotion/index.d.ts +1 -0
- package/dist/foundation/hooks/useReducedMotion/useReducedMotion.d.ts +7 -0
- package/dist/foundation/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/foundation/hooks/useResizeObserver/useResizeObserver.d.ts +11 -0
- package/dist/foundation/hooks/useScrollLock/index.d.ts +1 -0
- package/dist/foundation/hooks/useScrollLock/useScrollLock.d.ts +11 -0
- package/dist/foundation/hooks/useTypeahead/index.d.ts +1 -0
- package/dist/foundation/hooks/useTypeahead/useTypeahead.d.ts +42 -0
- package/dist/foundation/http/ApiError.d.ts +7 -0
- package/dist/foundation/http/ApiResponse.d.ts +4 -0
- package/dist/foundation/http/CreateApiClient.d.ts +65 -0
- package/dist/foundation/http/DateBrands.d.ts +8 -0
- package/dist/foundation/http/Envelope.d.ts +33 -0
- package/dist/foundation/http/FieldErrors.d.ts +16 -0
- package/dist/foundation/http/Page.d.ts +47 -0
- package/dist/foundation/http/ProblemDetails.d.ts +9 -0
- package/dist/foundation/http/index.d.ts +9 -0
- package/dist/foundation/http/index.js +180 -0
- package/dist/foundation/http/index.js.map +1 -0
- package/dist/foundation/http/temporalReviver.d.ts +9 -0
- package/dist/foundation/i18n/FormattedRelative.vue.d.ts +10 -0
- package/dist/foundation/i18n/LocaleContext.d.ts +35 -0
- package/dist/foundation/i18n/LocaleFormatters.d.ts +24 -0
- package/dist/foundation/i18n/LocaleProvider.vue.d.ts +18 -0
- package/dist/foundation/i18n/index.d.ts +4 -0
- package/dist/foundation/i18n/index.js +79 -0
- package/dist/foundation/i18n/index.js.map +1 -0
- package/dist/foundation/icons/Icon.vue.d.ts +40 -0
- package/dist/foundation/icons/Spinner.vue.d.ts +7 -0
- package/dist/foundation/icons/index.d.ts +2 -0
- package/dist/foundation/icons/index.js +7 -0
- package/dist/foundation/icons/index.js.map +1 -0
- package/dist/foundation/idb/IdbPromises.d.ts +25 -0
- package/dist/foundation/idb/IndexedDbSupport.d.ts +32 -0
- package/dist/foundation/idb/KeyValueStore.d.ts +84 -0
- package/dist/foundation/idb/OpenDatabase.d.ts +62 -0
- package/dist/foundation/idb/Transactions.d.ts +44 -0
- package/dist/foundation/idb/index.d.ts +5 -0
- package/dist/foundation/idb/index.js +403 -0
- package/dist/foundation/idb/index.js.map +1 -0
- package/dist/foundation/identifiers/Guid.d.ts +41 -0
- package/dist/foundation/identifiers/index.d.ts +1 -0
- package/dist/foundation/identifiers/index.js +68 -0
- package/dist/foundation/identifiers/index.js.map +1 -0
- package/dist/foundation/logger/ConsoleLogSink.d.ts +8 -0
- package/dist/foundation/logger/LogLevel.d.ts +34 -0
- package/dist/foundation/logger/LogRecord.d.ts +17 -0
- package/dist/foundation/logger/LogSink.d.ts +17 -0
- package/dist/foundation/logger/Logger.d.ts +55 -0
- package/dist/foundation/logger/MemoryLogSink.d.ts +11 -0
- package/dist/foundation/logger/Redaction.d.ts +29 -0
- package/dist/foundation/logger/index.d.ts +7 -0
- package/dist/foundation/logger/index.js +232 -0
- package/dist/foundation/logger/index.js.map +1 -0
- package/dist/foundation/media/CanCaptureMedia.d.ts +36 -0
- package/dist/foundation/media/FacingMode.d.ts +45 -0
- package/dist/foundation/media/ListMediaDevices.d.ts +41 -0
- package/dist/foundation/media/MediaPermission.d.ts +23 -0
- package/dist/foundation/media/MediaStreamResult.d.ts +45 -0
- package/dist/foundation/media/RequestMediaStream.d.ts +37 -0
- package/dist/foundation/media/StopMediaStream.d.ts +10 -0
- package/dist/foundation/media/UseMediaStream.d.ts +41 -0
- package/dist/foundation/media/index.d.ts +8 -0
- package/dist/foundation/media/index.js +218 -0
- package/dist/foundation/media/index.js.map +1 -0
- package/dist/foundation/net/ConnectionState.d.ts +36 -0
- package/dist/foundation/net/CreateEventStream.d.ts +101 -0
- package/dist/foundation/net/CreatePoller.d.ts +59 -0
- package/dist/foundation/net/CreateSocketClient.d.ts +93 -0
- package/dist/foundation/net/Liveness.d.ts +41 -0
- package/dist/foundation/net/Reconnect.d.ts +49 -0
- package/dist/foundation/net/UseEventStream.d.ts +25 -0
- package/dist/foundation/net/UsePolling.d.ts +26 -0
- package/dist/foundation/net/UseSocket.d.ts +32 -0
- package/dist/foundation/net/index.d.ts +9 -0
- package/dist/foundation/net/index.js +840 -0
- package/dist/foundation/net/index.js.map +1 -0
- package/dist/foundation/notifications/CanNotify.d.ts +11 -0
- package/dist/foundation/notifications/NotificationPermission.d.ts +31 -0
- package/dist/foundation/notifications/Notify.d.ts +66 -0
- package/dist/foundation/notifications/QueryPermission.d.ts +55 -0
- package/dist/foundation/notifications/UseNotificationPermission.d.ts +27 -0
- package/dist/foundation/notifications/UsePermissionState.d.ts +14 -0
- package/dist/foundation/notifications/index.d.ts +6 -0
- package/dist/foundation/notifications/index.js +199 -0
- package/dist/foundation/notifications/index.js.map +1 -0
- package/dist/foundation/observers/ObserveIntersection.d.ts +57 -0
- package/dist/foundation/observers/ObserveMutation.d.ts +52 -0
- package/dist/foundation/observers/UseInView.d.ts +41 -0
- package/dist/foundation/observers/UseIntersectionObserver.d.ts +18 -0
- package/dist/foundation/observers/UseMutationObserver.d.ts +21 -0
- package/dist/foundation/observers/UseVisibility.d.ts +33 -0
- package/dist/foundation/observers/VisibilitySteps.d.ts +14 -0
- package/dist/foundation/observers/index.d.ts +7 -0
- package/dist/foundation/observers/index.js +199 -0
- package/dist/foundation/observers/index.js.map +1 -0
- package/dist/foundation/primitives/accessibleIcon/AccessibleIcon.d.ts +27 -0
- package/dist/foundation/primitives/accessibleIcon/index.d.ts +1 -0
- package/dist/foundation/primitives/anchoredPositioner/AnchoredPositioner.vue.d.ts +37 -0
- package/dist/foundation/primitives/anchoredPositioner/index.d.ts +1 -0
- package/dist/foundation/primitives/announce/Announce.vue.d.ts +28 -0
- package/dist/foundation/primitives/announce/index.d.ts +1 -0
- package/dist/foundation/primitives/collection/Collection.d.ts +24 -0
- package/dist/foundation/primitives/collection/index.d.ts +1 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeContext.d.ts +26 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeProvider.vue.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/index.d.ts +2 -0
- package/dist/foundation/primitives/directionProvider/DirectionContext.d.ts +23 -0
- package/dist/foundation/primitives/directionProvider/DirectionProvider.vue.d.ts +14 -0
- package/dist/foundation/primitives/directionProvider/index.d.ts +2 -0
- package/dist/foundation/primitives/dismissableLayer/DismissableLayer.vue.d.ts +22 -0
- package/dist/foundation/primitives/dismissableLayer/index.d.ts +1 -0
- package/dist/foundation/primitives/focusScope/FocusScope.vue.d.ts +26 -0
- package/dist/foundation/primitives/focusScope/index.d.ts +1 -0
- package/dist/foundation/primitives/formControlContext/FormControlContext.d.ts +57 -0
- package/dist/foundation/primitives/formControlContext/FormControlProvider.vue.d.ts +25 -0
- package/dist/foundation/primitives/formControlContext/index.d.ts +2 -0
- package/dist/foundation/primitives/index.d.ts +17 -0
- package/dist/foundation/primitives/index.js +52 -0
- package/dist/foundation/primitives/index.js.map +1 -0
- package/dist/foundation/primitives/overlayArrow/OverlayArrow.vue.d.ts +27 -0
- package/dist/foundation/primitives/overlayArrow/index.d.ts +1 -0
- package/dist/foundation/primitives/portal/Portal.vue.d.ts +16 -0
- package/dist/foundation/primitives/portal/index.d.ts +1 -0
- package/dist/foundation/primitives/presence/Presence.d.ts +32 -0
- package/dist/foundation/primitives/presence/index.d.ts +1 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusContext.d.ts +74 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusGroup.vue.d.ts +20 -0
- package/dist/foundation/primitives/rovingFocusGroup/index.d.ts +2 -0
- package/dist/foundation/primitives/scrollLockProvider/ScrollLockProvider.vue.d.ts +15 -0
- package/dist/foundation/primitives/scrollLockProvider/index.d.ts +1 -0
- package/dist/foundation/primitives/scrollViewport/ScrollViewport.vue.d.ts +41 -0
- package/dist/foundation/primitives/scrollViewport/index.d.ts +1 -0
- package/dist/foundation/primitives/slot/Primitive.d.ts +69 -0
- package/dist/foundation/primitives/slot/Slot.d.ts +38 -0
- package/dist/foundation/primitives/slot/index.d.ts +2 -0
- package/dist/foundation/primitives/visuallyHidden/VisuallyHidden.vue.d.ts +11 -0
- package/dist/foundation/primitives/visuallyHidden/index.d.ts +1 -0
- package/dist/foundation/resilience/BackoffStrategy.d.ts +10 -0
- package/dist/foundation/resilience/JitterStrategy.d.ts +12 -0
- package/dist/foundation/resilience/RetryDelay.d.ts +5 -0
- package/dist/foundation/resilience/RetryPolicy.d.ts +34 -0
- package/dist/foundation/resilience/index.d.ts +4 -0
- package/dist/foundation/resilience/index.js +63 -0
- package/dist/foundation/resilience/index.js.map +1 -0
- package/dist/foundation/screen/Fullscreen.d.ts +73 -0
- package/dist/foundation/screen/ScreenEnvironment.d.ts +42 -0
- package/dist/foundation/screen/ScreenOrientation.d.ts +110 -0
- package/dist/foundation/screen/ScreenResult.d.ts +38 -0
- package/dist/foundation/screen/UseFullscreen.d.ts +28 -0
- package/dist/foundation/screen/UseOrientation.d.ts +28 -0
- package/dist/foundation/screen/UseWakeLock.d.ts +18 -0
- package/dist/foundation/screen/WakeLock.d.ts +79 -0
- package/dist/foundation/screen/index.d.ts +7 -0
- package/dist/foundation/screen/index.js +402 -0
- package/dist/foundation/screen/index.js.map +1 -0
- package/dist/foundation/selection/Field.d.ts +31 -0
- package/dist/foundation/selection/Filter.d.ts +71 -0
- package/dist/foundation/selection/Selection.d.ts +116 -0
- package/dist/foundation/selection/Sort.d.ts +69 -0
- package/dist/foundation/selection/UseFilters.d.ts +34 -0
- package/dist/foundation/selection/UseSelection.d.ts +54 -0
- package/dist/foundation/selection/UseSort.d.ts +36 -0
- package/dist/foundation/selection/index.d.ts +7 -0
- package/dist/foundation/selection/index.js +407 -0
- package/dist/foundation/selection/index.js.map +1 -0
- package/dist/foundation/share/CanShare.d.ts +11 -0
- package/dist/foundation/share/Share.d.ts +45 -0
- package/dist/foundation/share/ShareData.d.ts +43 -0
- package/dist/foundation/share/ShareOrCopy.d.ts +27 -0
- package/dist/foundation/share/UseShare.d.ts +30 -0
- package/dist/foundation/share/index.d.ts +5 -0
- package/dist/foundation/share/index.js +111 -0
- package/dist/foundation/share/index.js.map +1 -0
- package/dist/foundation/shortcuts/Chord.d.ts +51 -0
- package/dist/foundation/shortcuts/UseHotkeys.d.ts +34 -0
- package/dist/foundation/shortcuts/index.d.ts +3 -0
- package/dist/foundation/shortcuts/index.js +15 -0
- package/dist/foundation/shortcuts/index.js.map +1 -0
- package/dist/foundation/speech/CreateSpeechRecognizer.d.ts +79 -0
- package/dist/foundation/speech/ListVoices.d.ts +78 -0
- package/dist/foundation/speech/Speak.d.ts +52 -0
- package/dist/foundation/speech/SpeechControls.d.ts +57 -0
- package/dist/foundation/speech/SpeechRecognitionResult.d.ts +45 -0
- package/dist/foundation/speech/SpeechRecognitionTypes.d.ts +67 -0
- package/dist/foundation/speech/SpeechResult.d.ts +32 -0
- package/dist/foundation/speech/SpeechSupport.d.ts +69 -0
- package/dist/foundation/speech/UseSpeechRecognition.d.ts +45 -0
- package/dist/foundation/speech/UseSpeechSynthesis.d.ts +37 -0
- package/dist/foundation/speech/index.d.ts +10 -0
- package/dist/foundation/speech/index.js +573 -0
- package/dist/foundation/speech/index.js.map +1 -0
- package/dist/foundation/storage/NamespacedBroker.d.ts +7 -0
- package/dist/foundation/storage/StorageBroker.d.ts +17 -0
- package/dist/foundation/storage/VersionedStore.d.ts +42 -0
- package/dist/foundation/storage/index.d.ts +3 -0
- package/dist/foundation/storage/index.js +65 -0
- package/dist/foundation/storage/index.js.map +1 -0
- package/dist/foundation/storage/zustand/ZustandPersist.d.ts +36 -0
- package/dist/foundation/storage/zustand/index.d.ts +1 -0
- package/dist/foundation/storage/zustand/index.js +11 -0
- package/dist/foundation/storage/zustand/index.js.map +1 -0
- package/dist/foundation/sync/CreateSyncChannel.d.ts +16 -0
- package/dist/foundation/sync/LeaderElection.d.ts +88 -0
- package/dist/foundation/sync/MemorySyncHub.d.ts +29 -0
- package/dist/foundation/sync/SyncChannel.d.ts +65 -0
- package/dist/foundation/sync/UseBroadcastState.d.ts +31 -0
- package/dist/foundation/sync/UseLeaderElection.d.ts +25 -0
- package/dist/foundation/sync/UseSyncChannel.d.ts +16 -0
- package/dist/foundation/sync/index.d.ts +7 -0
- package/dist/foundation/sync/index.js +484 -0
- package/dist/foundation/sync/index.js.map +1 -0
- package/dist/foundation/themes/Oklch.d.ts +42 -0
- package/dist/foundation/themes/Theme.d.ts +112 -0
- package/dist/foundation/themes/Tokens.d.ts +40 -0
- package/dist/foundation/themes/css.d.ts +20 -0
- package/dist/foundation/themes/generate.d.ts +6 -0
- package/dist/foundation/themes/index.d.ts +11 -0
- package/dist/foundation/themes/index.js +37 -0
- package/dist/foundation/themes/index.js.map +1 -0
- package/dist/foundation/themes/pool.d.ts +3 -0
- package/dist/foundation/themes/registry.d.ts +16 -0
- package/dist/foundation/themes/validate.d.ts +25 -0
- package/dist/foundation/themes/validated.d.ts +3 -0
- package/dist/foundation/undo/HistoryCore.d.ts +92 -0
- package/dist/foundation/undo/SnapshotHistory.d.ts +33 -0
- package/dist/foundation/undo/UndoHistory.d.ts +41 -0
- package/dist/foundation/undo/UseUndoHistory.d.ts +66 -0
- package/dist/foundation/undo/UseUndoShortcuts.d.ts +20 -0
- package/dist/foundation/undo/index.d.ts +5 -0
- package/dist/foundation/undo/index.js +361 -0
- package/dist/foundation/undo/index.js.map +1 -0
- package/dist/foundation/uploads/UploadItem.d.ts +47 -0
- package/dist/foundation/uploads/UploadQueue.d.ts +79 -0
- package/dist/foundation/uploads/UploadTransport.d.ts +41 -0
- package/dist/foundation/uploads/UseUploadQueue.d.ts +47 -0
- package/dist/foundation/uploads/XhrUploadTransport.d.ts +23 -0
- package/dist/foundation/uploads/index.d.ts +5 -0
- package/dist/foundation/uploads/index.js +449 -0
- package/dist/foundation/uploads/index.js.map +1 -0
- package/dist/foundation/utils/Align/Align.d.ts +10 -0
- package/dist/foundation/utils/Align/index.d.ts +1 -0
- package/dist/foundation/utils/ColorExtensions/ColorExtensions.d.ts +51 -0
- package/dist/foundation/utils/ColorExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Compare/Compare.d.ts +7 -0
- package/dist/foundation/utils/Compare/index.d.ts +1 -0
- package/dist/foundation/utils/CornerPosition/CornerPosition.d.ts +12 -0
- package/dist/foundation/utils/CornerPosition/index.d.ts +1 -0
- package/dist/foundation/utils/CssExtensions/CssExtensions.d.ts +115 -0
- package/dist/foundation/utils/CssExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/ElementTag/ElementTag.d.ts +28 -0
- package/dist/foundation/utils/ElementTag/index.d.ts +1 -0
- package/dist/foundation/utils/Environment/Environment.d.ts +12 -0
- package/dist/foundation/utils/Environment/index.d.ts +1 -0
- package/dist/foundation/utils/Equality/Equality.d.ts +13 -0
- package/dist/foundation/utils/Equality/index.d.ts +1 -0
- package/dist/foundation/utils/HtmlExtensions/HtmlExtensions.d.ts +22 -0
- package/dist/foundation/utils/HtmlExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/KeyboardExtensions/KeyboardExtensions.d.ts +32 -0
- package/dist/foundation/utils/KeyboardExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Layers/Layers.d.ts +35 -0
- package/dist/foundation/utils/Layers/index.d.ts +1 -0
- package/dist/foundation/utils/OptionalExtensions/OptionalExtensions.d.ts +12 -0
- package/dist/foundation/utils/OptionalExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Orientation/Orientation.d.ts +8 -0
- package/dist/foundation/utils/Orientation/index.d.ts +1 -0
- package/dist/foundation/utils/OverlayPosition/OverlayPosition.d.ts +16 -0
- package/dist/foundation/utils/OverlayPosition/index.d.ts +1 -0
- package/dist/foundation/utils/PressExtensions/PressExtensions.d.ts +17 -0
- package/dist/foundation/utils/PressExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/ProgressTone/ProgressTone.d.ts +14 -0
- package/dist/foundation/utils/ProgressTone/index.d.ts +1 -0
- package/dist/foundation/utils/Severity/Severity.d.ts +14 -0
- package/dist/foundation/utils/Severity/index.d.ts +1 -0
- package/dist/foundation/utils/Side/Side.d.ts +12 -0
- package/dist/foundation/utils/Side/index.d.ts +1 -0
- package/dist/foundation/utils/StatusTone/StatusTone.d.ts +14 -0
- package/dist/foundation/utils/StatusTone/index.d.ts +1 -0
- package/dist/foundation/utils/StyleTokens/StyleTokens.d.ts +68 -0
- package/dist/foundation/utils/StyleTokens/index.d.ts +1 -0
- package/dist/foundation/utils/SurfaceStyles/SurfaceStyles.d.ts +397 -0
- package/dist/foundation/utils/SurfaceStyles/index.d.ts +1 -0
- package/dist/foundation/utils/Tones/Tones.d.ts +21 -0
- package/dist/foundation/utils/Tones/index.d.ts +1 -0
- package/dist/foundation/utils/TransitionExtensions/TransitionExtensions.d.ts +18 -0
- package/dist/foundation/utils/TransitionExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/cn/cn.d.ts +6 -0
- package/dist/foundation/utils/cn/index.d.ts +1 -0
- package/dist/foundation/utils/composeEventHandlers/composeEventHandlers.d.ts +9 -0
- package/dist/foundation/utils/composeEventHandlers/index.d.ts +1 -0
- package/dist/foundation/utils/dataAttr/dataAttr.d.ts +6 -0
- package/dist/foundation/utils/dataAttr/index.d.ts +1 -0
- package/dist/foundation/utils/index.d.ts +33 -0
- package/dist/foundation/utils/index.js +67 -0
- package/dist/foundation/utils/index.js.map +1 -0
- package/dist/foundation/utils/polymorphic/index.d.ts +1 -0
- package/dist/foundation/utils/polymorphic/polymorphic.d.ts +29 -0
- package/dist/foundation/utils/tv/index.d.ts +1 -0
- package/dist/foundation/utils/tv/tv.d.ts +1 -0
- package/dist/foundation/validation/Composites.d.ts +62 -0
- package/dist/foundation/validation/Formats.d.ts +9 -0
- package/dist/foundation/validation/Messages.d.ts +69 -0
- package/dist/foundation/validation/Primitives.d.ts +49 -0
- package/dist/foundation/validation/StandardSchema.d.ts +55 -0
- package/dist/foundation/validation/ValidationError.d.ts +14 -0
- package/dist/foundation/validation/ValidationResult.d.ts +49 -0
- package/dist/foundation/validation/Validator.d.ts +69 -0
- package/dist/foundation/validation/index.d.ts +8 -0
- package/dist/foundation/validation/index.js +512 -0
- package/dist/foundation/validation/index.js.map +1 -0
- package/dist/foundation/virtualization/Measurements.d.ts +79 -0
- package/dist/foundation/virtualization/UseVirtualList.d.ts +79 -0
- package/dist/foundation/virtualization/Windowing.d.ts +78 -0
- package/dist/foundation/virtualization/index.d.ts +3 -0
- package/dist/foundation/virtualization/index.js +300 -0
- package/dist/foundation/virtualization/index.js.map +1 -0
- package/dist/foundation/workers/RunInWorker.d.ts +41 -0
- package/dist/foundation/workers/UseWorker.d.ts +28 -0
- package/dist/foundation/workers/WorkerClient.d.ts +85 -0
- package/dist/foundation/workers/WorkerHost.d.ts +80 -0
- package/dist/foundation/workers/WorkerProtocol.d.ts +78 -0
- package/dist/foundation/workers/WorkerSupport.d.ts +15 -0
- package/dist/foundation/workers/index.d.ts +6 -0
- package/dist/foundation/workers/index.js +292 -0
- package/dist/foundation/workers/index.js.map +1 -0
- package/dist/index.css +314 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +636 -0
- package/dist/index.js.map +1 -0
- package/dist/presentation/actions/backToTopButton/BackToTopButton.vue.d.ts +33 -0
- package/dist/presentation/actions/backToTopButton/index.d.ts +1 -0
- package/dist/presentation/actions/button/Button.variants.d.ts +311 -0
- package/dist/presentation/actions/button/Button.vue.d.ts +119 -0
- package/dist/presentation/actions/button/index.d.ts +2 -0
- package/dist/presentation/actions/buttonGroup/ButtonGroup.vue.d.ts +22 -0
- package/dist/presentation/actions/buttonGroup/index.d.ts +1 -0
- package/dist/presentation/actions/copyButton/CopyButton.vue.d.ts +35 -0
- package/dist/presentation/actions/copyButton/index.d.ts +1 -0
- package/dist/presentation/actions/disclosureButton/DisclosureButton.vue.d.ts +32 -0
- package/dist/presentation/actions/disclosureButton/index.d.ts +1 -0
- package/dist/presentation/actions/fab/FAB.variants.d.ts +158 -0
- package/dist/presentation/actions/fab/FAB.vue.d.ts +29 -0
- package/dist/presentation/actions/fab/index.d.ts +2 -0
- package/dist/presentation/actions/index.d.ts +14 -0
- package/dist/presentation/actions/index.js +47 -0
- package/dist/presentation/actions/index.js.map +1 -0
- package/dist/presentation/actions/link/Link.variants.d.ts +111 -0
- package/dist/presentation/actions/link/Link.vue.d.ts +24 -0
- package/dist/presentation/actions/link/index.d.ts +2 -0
- package/dist/presentation/actions/optionTile/OptionTile.variants.d.ts +10 -0
- package/dist/presentation/actions/optionTile/OptionTile.vue.d.ts +31 -0
- package/dist/presentation/actions/optionTile/index.d.ts +2 -0
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.variants.d.ts +76 -0
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.vue.d.ts +27 -0
- package/dist/presentation/actions/optionTileGroup/index.d.ts +2 -0
- package/dist/presentation/actions/segmentedControl/SegmentedControl.vue.d.ts +20 -0
- package/dist/presentation/actions/segmentedControl/index.d.ts +1 -0
- package/dist/presentation/actions/speedDial/SpeedDial.vue.d.ts +28 -0
- package/dist/presentation/actions/speedDial/SpeedDialAction.vue.d.ts +40 -0
- package/dist/presentation/actions/speedDial/SpeedDialContext.d.ts +36 -0
- package/dist/presentation/actions/speedDial/SpeedDialList.vue.d.ts +13 -0
- package/dist/presentation/actions/speedDial/SpeedDialTrigger.vue.d.ts +30 -0
- package/dist/presentation/actions/speedDial/index.d.ts +166 -0
- package/dist/presentation/actions/toggleButton/ToggleButton.variants.d.ts +141 -0
- package/dist/presentation/actions/toggleButton/ToggleButton.vue.d.ts +59 -0
- package/dist/presentation/actions/toggleButton/index.d.ts +2 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.variants.d.ts +33 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.vue.d.ts +72 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroupContext.d.ts +24 -0
- package/dist/presentation/actions/toggleButtonGroup/index.d.ts +3 -0
- package/dist/presentation/actions/toolbar/Toolbar.vue.d.ts +19 -0
- package/dist/presentation/actions/toolbar/ToolbarButton.vue.d.ts +16 -0
- package/dist/presentation/actions/toolbar/ToolbarContext.d.ts +9 -0
- package/dist/presentation/actions/toolbar/ToolbarLink.vue.d.ts +11 -0
- package/dist/presentation/actions/toolbar/ToolbarSeparator.vue.d.ts +3 -0
- package/dist/presentation/actions/toolbar/index.d.ts +87 -0
- package/dist/presentation/display/accordion/Accordion.vue.d.ts +45 -0
- package/dist/presentation/display/accordion/AccordionContent.vue.d.ts +14 -0
- package/dist/presentation/display/accordion/AccordionContext.d.ts +29 -0
- package/dist/presentation/display/accordion/AccordionItem.vue.d.ts +20 -0
- package/dist/presentation/display/accordion/AccordionTrigger.vue.d.ts +14 -0
- package/dist/presentation/display/accordion/index.d.ts +5 -0
- package/dist/presentation/display/activityFeed/ActivityFeed.vue.d.ts +18 -0
- package/dist/presentation/display/activityFeed/ActivityItem.vue.d.ts +29 -0
- package/dist/presentation/display/activityFeed/index.d.ts +2 -0
- package/dist/presentation/display/animatedNumber/AnimatedNumber.vue.d.ts +34 -0
- package/dist/presentation/display/animatedNumber/index.d.ts +1 -0
- package/dist/presentation/display/annotationMarker/AnnotationMarker.vue.d.ts +43 -0
- package/dist/presentation/display/annotationMarker/index.d.ts +1 -0
- package/dist/presentation/display/audioPlayer/AudioPlayer.vue.d.ts +38 -0
- package/dist/presentation/display/audioPlayer/index.d.ts +1 -0
- package/dist/presentation/display/audioWaveform/AudioWaveform.vue.d.ts +57 -0
- package/dist/presentation/display/audioWaveform/index.d.ts +1 -0
- package/dist/presentation/display/avatar/Avatar.variants.d.ts +312 -0
- package/dist/presentation/display/avatar/Avatar.vue.d.ts +49 -0
- package/dist/presentation/display/avatar/index.d.ts +2 -0
- package/dist/presentation/display/avatarGroup/AvatarGroup.vue.d.ts +25 -0
- package/dist/presentation/display/avatarGroup/index.d.ts +1 -0
- package/dist/presentation/display/badge/Badge.variants.d.ts +128 -0
- package/dist/presentation/display/badge/Badge.vue.d.ts +20 -0
- package/dist/presentation/display/badge/index.d.ts +2 -0
- package/dist/presentation/display/badgeOverlay/BadgeOverlay.vue.d.ts +24 -0
- package/dist/presentation/display/badgeOverlay/index.d.ts +1 -0
- package/dist/presentation/display/card/Card.vue.d.ts +32 -0
- package/dist/presentation/display/card/CardBody.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardDescription.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardFooter.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardHeader.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardTitle.vue.d.ts +12 -0
- package/dist/presentation/display/card/index.d.ts +6 -0
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +34 -0
- package/dist/presentation/display/carousel/CarouselContext.d.ts +38 -0
- package/dist/presentation/display/carousel/CarouselDot.vue.d.ts +9 -0
- package/dist/presentation/display/carousel/CarouselDots.vue.d.ts +7 -0
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +12 -0
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +12 -0
- package/dist/presentation/display/carousel/CarouselSlide.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/CarouselSlides.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/index.d.ts +10 -0
- package/dist/presentation/display/chatBubble/ChatBubble.vue.d.ts +79 -0
- package/dist/presentation/display/chatBubble/index.d.ts +1 -0
- package/dist/presentation/display/code/Code.variants.d.ts +48 -0
- package/dist/presentation/display/code/Code.vue.d.ts +17 -0
- package/dist/presentation/display/code/index.d.ts +2 -0
- package/dist/presentation/display/collapsible/Collapsible.vue.d.ts +40 -0
- package/dist/presentation/display/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/presentation/display/collapsible/CollapsibleContentInner.vue.d.ts +23 -0
- package/dist/presentation/display/collapsible/CollapsibleContext.d.ts +17 -0
- package/dist/presentation/display/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/presentation/display/collapsible/index.d.ts +4 -0
- package/dist/presentation/display/commentThread/Comment.vue.d.ts +39 -0
- package/dist/presentation/display/commentThread/CommentThread.vue.d.ts +14 -0
- package/dist/presentation/display/commentThread/index.d.ts +2 -0
- package/dist/presentation/display/confetti/Confetti.vue.d.ts +40 -0
- package/dist/presentation/display/confetti/index.d.ts +1 -0
- package/dist/presentation/display/countBadge/CountBadge.vue.d.ts +24 -0
- package/dist/presentation/display/countBadge/index.d.ts +1 -0
- package/dist/presentation/display/countUp/CountUp.vue.d.ts +40 -0
- package/dist/presentation/display/countUp/index.d.ts +1 -0
- package/dist/presentation/display/dataGrid/CellEditor.vue.d.ts +29 -0
- package/dist/presentation/display/dataGrid/DataGrid.vue.d.ts +47 -0
- package/dist/presentation/display/dataGrid/DataGridTypes.d.ts +65 -0
- package/dist/presentation/display/dataGrid/index.d.ts +2 -0
- package/dist/presentation/display/dataTable/DataTable.vue.d.ts +91 -0
- package/dist/presentation/display/dataTable/index.d.ts +1 -0
- package/dist/presentation/display/descriptionList/DescriptionList.vue.d.ts +54 -0
- package/dist/presentation/display/descriptionList/index.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +38 -0
- package/dist/presentation/display/diffViewer/index.d.ts +1 -0
- package/dist/presentation/display/emptyState/EmptyState.vue.d.ts +43 -0
- package/dist/presentation/display/emptyState/index.d.ts +1 -0
- package/dist/presentation/display/eventCalendar/AgendaView.vue.d.ts +13 -0
- package/dist/presentation/display/eventCalendar/EventCalendar.vue.d.ts +41 -0
- package/dist/presentation/display/eventCalendar/EventCalendarTypes.d.ts +28 -0
- package/dist/presentation/display/eventCalendar/MonthView.vue.d.ts +17 -0
- package/dist/presentation/display/eventCalendar/TimeGridView.vue.d.ts +18 -0
- package/dist/presentation/display/eventCalendar/index.d.ts +2 -0
- package/dist/presentation/display/eyebrow/Eyebrow.vue.d.ts +32 -0
- package/dist/presentation/display/eyebrow/index.d.ts +1 -0
- package/dist/presentation/display/featureCard/FeatureCard.vue.d.ts +83 -0
- package/dist/presentation/display/featureCard/index.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +19 -0
- package/dist/presentation/display/frameGlyph/index.d.ts +1 -0
- package/dist/presentation/display/gantt/Gantt.vue.d.ts +58 -0
- package/dist/presentation/display/gantt/index.d.ts +1 -0
- package/dist/presentation/display/gradientText/GradientText.vue.d.ts +54 -0
- package/dist/presentation/display/gradientText/index.d.ts +1 -0
- package/dist/presentation/display/heading/Heading.variants.d.ts +201 -0
- package/dist/presentation/display/heading/Heading.vue.d.ts +26 -0
- package/dist/presentation/display/heading/index.d.ts +2 -0
- package/dist/presentation/display/heatmapCalendar/HeatmapCalendar.vue.d.ts +61 -0
- package/dist/presentation/display/heatmapCalendar/index.d.ts +1 -0
- package/dist/presentation/display/highlight/Highlight.vue.d.ts +20 -0
- package/dist/presentation/display/highlight/index.d.ts +1 -0
- package/dist/presentation/display/image/Image.vue.d.ts +15 -0
- package/dist/presentation/display/image/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +73 -0
- package/dist/presentation/display/index.js +192 -0
- package/dist/presentation/display/index.js.map +1 -0
- package/dist/presentation/display/infoRow/InfoRow.vue.d.ts +39 -0
- package/dist/presentation/display/infoRow/index.d.ts +1 -0
- package/dist/presentation/display/kbd/Kbd.vue.d.ts +13 -0
- package/dist/presentation/display/kbd/index.d.ts +1 -0
- package/dist/presentation/display/keyboardShortcut/KeyboardShortcut.vue.d.ts +13 -0
- package/dist/presentation/display/keyboardShortcut/index.d.ts +1 -0
- package/dist/presentation/display/list/List.variants.d.ts +112 -0
- package/dist/presentation/display/list/List.vue.d.ts +23 -0
- package/dist/presentation/display/list/ListItem.vue.d.ts +23 -0
- package/dist/presentation/display/list/index.d.ts +3 -0
- package/dist/presentation/display/mark/Mark.vue.d.ts +13 -0
- package/dist/presentation/display/mark/index.d.ts +1 -0
- package/dist/presentation/display/marquee/Marquee.vue.d.ts +39 -0
- package/dist/presentation/display/marquee/index.d.ts +1 -0
- package/dist/presentation/display/messageList/DaySeparator.vue.d.ts +17 -0
- package/dist/presentation/display/messageList/MessageList.vue.d.ts +39 -0
- package/dist/presentation/display/messageList/index.d.ts +2 -0
- package/dist/presentation/display/metaInline/MetaInline.vue.d.ts +21 -0
- package/dist/presentation/display/metaInline/index.d.ts +1 -0
- package/dist/presentation/display/metricChip/MetricChip.vue.d.ts +54 -0
- package/dist/presentation/display/metricChip/index.d.ts +1 -0
- package/dist/presentation/display/moduleGlyphs/CellsGlyph.vue.d.ts +13 -0
- package/dist/presentation/display/moduleGlyphs/DotsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/HorizontalBarsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/ModuleGlyphs.d.ts +15 -0
- package/dist/presentation/display/moduleGlyphs/VerticalBarsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/index.d.ts +5 -0
- package/dist/presentation/display/nodeEditor/NodeEditor.vue.d.ts +58 -0
- package/dist/presentation/display/nodeEditor/index.d.ts +1 -0
- package/dist/presentation/display/notificationDot/NotificationDot.vue.d.ts +47 -0
- package/dist/presentation/display/notificationDot/index.d.ts +1 -0
- package/dist/presentation/display/pdfViewer/PDFViewer.vue.d.ts +40 -0
- package/dist/presentation/display/pdfViewer/index.d.ts +1 -0
- package/dist/presentation/display/pricingCard/PricingCard.vue.d.ts +107 -0
- package/dist/presentation/display/pricingCard/index.d.ts +1 -0
- package/dist/presentation/display/quote/Quote.vue.d.ts +13 -0
- package/dist/presentation/display/quote/index.d.ts +1 -0
- package/dist/presentation/display/radiusGlyph/RadiusGlyph.vue.d.ts +23 -0
- package/dist/presentation/display/radiusGlyph/index.d.ts +1 -0
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +47 -0
- package/dist/presentation/display/reactionBar/index.d.ts +1 -0
- package/dist/presentation/display/scheduleView/ScheduleView.vue.d.ts +58 -0
- package/dist/presentation/display/scheduleView/index.d.ts +1 -0
- package/dist/presentation/display/scrollReveal/ScrollReveal.vue.d.ts +50 -0
- package/dist/presentation/display/scrollReveal/index.d.ts +1 -0
- package/dist/presentation/display/sectionHeader/SectionHeader.vue.d.ts +49 -0
- package/dist/presentation/display/sectionHeader/index.d.ts +1 -0
- package/dist/presentation/display/separator/Separator.vue.d.ts +14 -0
- package/dist/presentation/display/separator/index.d.ts +1 -0
- package/dist/presentation/display/snippet/Snippet.vue.d.ts +21 -0
- package/dist/presentation/display/snippet/index.d.ts +1 -0
- package/dist/presentation/display/sortable/Sortable.vue.d.ts +18 -0
- package/dist/presentation/display/sortable/SortableContext.d.ts +22 -0
- package/dist/presentation/display/sortable/SortableHandle.vue.d.ts +14 -0
- package/dist/presentation/display/sortable/SortableItem.vue.d.ts +16 -0
- package/dist/presentation/display/sortable/index.d.ts +4 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +62 -0
- package/dist/presentation/display/sparkline/index.d.ts +1 -0
- package/dist/presentation/display/stat/Stat.vue.d.ts +48 -0
- package/dist/presentation/display/stat/index.d.ts +1 -0
- package/dist/presentation/display/status/Status.vue.d.ts +35 -0
- package/dist/presentation/display/status/index.d.ts +1 -0
- package/dist/presentation/display/stepCard/StepCard.vue.d.ts +85 -0
- package/dist/presentation/display/stepCard/index.d.ts +1 -0
- package/dist/presentation/display/swipeActions/SwipeActions.vue.d.ts +28 -0
- package/dist/presentation/display/swipeActions/index.d.ts +1 -0
- package/dist/presentation/display/table/Table.vue.d.ts +30 -0
- package/dist/presentation/display/table/TableBody.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableCaption.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableCell.vue.d.ts +14 -0
- package/dist/presentation/display/table/TableContext.d.ts +46 -0
- package/dist/presentation/display/table/TableFooter.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableHead.vue.d.ts +26 -0
- package/dist/presentation/display/table/TableHeaderCell.vue.d.ts +14 -0
- package/dist/presentation/display/table/TableRow.vue.d.ts +12 -0
- package/dist/presentation/display/table/index.d.ts +9 -0
- package/dist/presentation/display/tabs/Tabs.vue.d.ts +33 -0
- package/dist/presentation/display/tabs/TabsContext.d.ts +34 -0
- package/dist/presentation/display/tabs/TabsList.vue.d.ts +256 -0
- package/dist/presentation/display/tabs/TabsPanel.vue.d.ts +16 -0
- package/dist/presentation/display/tabs/TabsTab.vue.d.ts +20 -0
- package/dist/presentation/display/tabs/index.d.ts +5 -0
- package/dist/presentation/display/tag/Tag.variants.d.ts +84 -0
- package/dist/presentation/display/tag/Tag.vue.d.ts +25 -0
- package/dist/presentation/display/tag/index.d.ts +2 -0
- package/dist/presentation/display/text/Text.variants.d.ts +301 -0
- package/dist/presentation/display/text/Text.vue.d.ts +33 -0
- package/dist/presentation/display/text/index.d.ts +2 -0
- package/dist/presentation/display/threadView/ThreadView.vue.d.ts +46 -0
- package/dist/presentation/display/threadView/index.d.ts +1 -0
- package/dist/presentation/display/tilt/Tilt.vue.d.ts +31 -0
- package/dist/presentation/display/tilt/index.d.ts +1 -0
- package/dist/presentation/display/timeline/Timeline.vue.d.ts +19 -0
- package/dist/presentation/display/timeline/TimelineContext.d.ts +40 -0
- package/dist/presentation/display/timeline/TimelineDescription.vue.d.ts +14 -0
- package/dist/presentation/display/timeline/TimelineItem.vue.d.ts +22 -0
- package/dist/presentation/display/timeline/TimelineTitle.vue.d.ts +14 -0
- package/dist/presentation/display/timeline/index.d.ts +5 -0
- package/dist/presentation/display/tooltip/Tooltip.vue.d.ts +53 -0
- package/dist/presentation/display/tooltip/index.d.ts +1 -0
- package/dist/presentation/display/tree/Tree.vue.d.ts +275 -0
- package/dist/presentation/display/tree/TreeContext.d.ts +29 -0
- package/dist/presentation/display/tree/TreeGroup.vue.d.ts +28 -0
- package/dist/presentation/display/tree/TreeGroupContent.vue.d.ts +17 -0
- package/dist/presentation/display/tree/TreeItem.vue.d.ts +20 -0
- package/dist/presentation/display/tree/TreeNodeRow.vue.d.ts +27 -0
- package/dist/presentation/display/tree/index.d.ts +4 -0
- package/dist/presentation/display/typewriter/Typewriter.vue.d.ts +32 -0
- package/dist/presentation/display/typewriter/index.d.ts +1 -0
- package/dist/presentation/display/videoPlayer/VideoPlayer.vue.d.ts +55 -0
- package/dist/presentation/display/videoPlayer/index.d.ts +1 -0
- package/dist/presentation/feedback/alert/Alert.vue.d.ts +41 -0
- package/dist/presentation/feedback/alert/index.d.ts +1 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.variants.d.ts +61 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/alertSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/banner/Banner.vue.d.ts +41 -0
- package/dist/presentation/feedback/banner/index.d.ts +1 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.variants.d.ts +61 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/bannerSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/callout/Callout.vue.d.ts +27 -0
- package/dist/presentation/feedback/callout/index.d.ts +1 -0
- package/dist/presentation/feedback/feedbackToasts/FeedbackToasts.vue.d.ts +18 -0
- package/dist/presentation/feedback/feedbackToasts/index.d.ts +1 -0
- package/dist/presentation/feedback/index.d.ts +27 -0
- package/dist/presentation/feedback/index.js +49 -0
- package/dist/presentation/feedback/index.js.map +1 -0
- package/dist/presentation/feedback/inlineSpinner/InlineSpinner.vue.d.ts +22 -0
- package/dist/presentation/feedback/inlineSpinner/index.d.ts +1 -0
- package/dist/presentation/feedback/liveCursor/LiveCursor.vue.d.ts +33 -0
- package/dist/presentation/feedback/liveCursor/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingOverlay/LoadingOverlay.vue.d.ts +36 -0
- package/dist/presentation/feedback/loadingOverlay/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingState/LoadingState.vue.d.ts +26 -0
- package/dist/presentation/feedback/loadingState/index.d.ts +1 -0
- package/dist/presentation/feedback/meterBar/MeterBar.vue.d.ts +21 -0
- package/dist/presentation/feedback/meterBar/index.d.ts +1 -0
- package/dist/presentation/feedback/notificationCenter/NotificationCenter.vue.d.ts +30 -0
- package/dist/presentation/feedback/notificationCenter/NotificationItem.vue.d.ts +40 -0
- package/dist/presentation/feedback/notificationCenter/index.d.ts +2 -0
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklist.vue.d.ts +56 -0
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklistTask.vue.d.ts +27 -0
- package/dist/presentation/feedback/onboardingChecklist/index.d.ts +3 -0
- package/dist/presentation/feedback/presenceIndicator/PresenceIndicator.vue.d.ts +34 -0
- package/dist/presentation/feedback/presenceIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.variants.d.ts +104 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.vue.d.ts +19 -0
- package/dist/presentation/feedback/progressBar/index.d.ts +2 -0
- package/dist/presentation/feedback/progressCircle/ProgressCircle.vue.d.ts +21 -0
- package/dist/presentation/feedback/progressCircle/index.d.ts +1 -0
- package/dist/presentation/feedback/progressSteps/ProgressSteps.vue.d.ts +16 -0
- package/dist/presentation/feedback/progressSteps/index.d.ts +1 -0
- package/dist/presentation/feedback/skeleton/Skeleton.variants.d.ts +57 -0
- package/dist/presentation/feedback/skeleton/Skeleton.vue.d.ts +17 -0
- package/dist/presentation/feedback/skeleton/index.d.ts +2 -0
- package/dist/presentation/feedback/spinner/Spinner.variants.d.ts +115 -0
- package/dist/presentation/feedback/spinner/Spinner.vue.d.ts +17 -0
- package/dist/presentation/feedback/spinner/index.d.ts +2 -0
- package/dist/presentation/feedback/statusIndicator/StatusIndicator.vue.d.ts +31 -0
- package/dist/presentation/feedback/statusIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +41 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.variants.d.ts +61 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.vue.d.ts +20 -0
- package/dist/presentation/feedback/toastSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/toaster/Toaster.vue.d.ts +84 -0
- package/dist/presentation/feedback/toaster/index.d.ts +1 -0
- package/dist/presentation/feedback/tour/Tour.vue.d.ts +45 -0
- package/dist/presentation/feedback/tour/index.d.ts +1 -0
- package/dist/presentation/feedback/trendIndicator/TrendIndicator.vue.d.ts +32 -0
- package/dist/presentation/feedback/trendIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/typingIndicator/TypingIndicator.vue.d.ts +36 -0
- package/dist/presentation/feedback/typingIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/undoBar/UndoBar.vue.d.ts +34 -0
- package/dist/presentation/feedback/undoBar/index.d.ts +1 -0
- package/dist/presentation/forms/ColorExtensions.d.ts +37 -0
- package/dist/presentation/forms/DateExtensions.d.ts +70 -0
- package/dist/presentation/forms/InputStyles.d.ts +228 -0
- package/dist/presentation/forms/MonthGrid.vue.d.ts +40 -0
- package/dist/presentation/forms/addressForm/AddressForm.vue.d.ts +54 -0
- package/dist/presentation/forms/addressForm/index.d.ts +1 -0
- package/dist/presentation/forms/calendar/Calendar.vue.d.ts +33 -0
- package/dist/presentation/forms/calendar/index.d.ts +1 -0
- package/dist/presentation/forms/characterCount/CharacterCount.vue.d.ts +15 -0
- package/dist/presentation/forms/characterCount/index.d.ts +1 -0
- package/dist/presentation/forms/chatComposer/ChatComposer.vue.d.ts +74 -0
- package/dist/presentation/forms/chatComposer/index.d.ts +1 -0
- package/dist/presentation/forms/checkbox/Checkbox.variants.d.ts +133 -0
- package/dist/presentation/forms/checkbox/Checkbox.vue.d.ts +48 -0
- package/dist/presentation/forms/checkbox/index.d.ts +2 -0
- package/dist/presentation/forms/checkboxField/CheckboxField.vue.d.ts +35 -0
- package/dist/presentation/forms/checkboxField/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroup.vue.d.ts +39 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroupContext.d.ts +14 -0
- package/dist/presentation/forms/checkboxGroup/index.d.ts +2 -0
- package/dist/presentation/forms/choiceCard/ChoiceCard.vue.d.ts +35 -0
- package/dist/presentation/forms/choiceCard/index.d.ts +1 -0
- package/dist/presentation/forms/codeEditor/CodeEditor.vue.d.ts +50 -0
- package/dist/presentation/forms/codeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/colorArea/ColorArea.vue.d.ts +40 -0
- package/dist/presentation/forms/colorArea/index.d.ts +1 -0
- package/dist/presentation/forms/colorField/ColorField.vue.d.ts +44 -0
- package/dist/presentation/forms/colorField/index.d.ts +1 -0
- package/dist/presentation/forms/colorPicker/ColorPicker.vue.d.ts +62 -0
- package/dist/presentation/forms/colorPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorSlider/ColorSlider.vue.d.ts +47 -0
- package/dist/presentation/forms/colorSlider/index.d.ts +1 -0
- package/dist/presentation/forms/colorSwatch/ColorSwatch.variants.d.ts +186 -0
- package/dist/presentation/forms/colorSwatch/ColorSwatch.vue.d.ts +33 -0
- package/dist/presentation/forms/colorSwatch/index.d.ts +2 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchItem.vue.d.ts +27 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchPicker.vue.d.ts +41 -0
- package/dist/presentation/forms/colorSwatchPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorWheel/ColorWheel.vue.d.ts +34 -0
- package/dist/presentation/forms/colorWheel/index.d.ts +1 -0
- package/dist/presentation/forms/combobox/Combobox.vue.d.ts +60 -0
- package/dist/presentation/forms/combobox/ComboboxContent.vue.d.ts +39 -0
- package/dist/presentation/forms/combobox/ComboboxContext.d.ts +53 -0
- package/dist/presentation/forms/combobox/ComboboxEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/combobox/ComboboxGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/combobox/ComboboxInput.vue.d.ts +12 -0
- package/dist/presentation/forms/combobox/ComboboxItem.vue.d.ts +28 -0
- package/dist/presentation/forms/combobox/ComboboxSeparator.vue.d.ts +3 -0
- package/dist/presentation/forms/combobox/index.d.ts +8 -0
- package/dist/presentation/forms/cronInput/CronInput.vue.d.ts +68 -0
- package/dist/presentation/forms/cronInput/index.d.ts +1 -0
- package/dist/presentation/forms/currencyInput/CurrencyInput.vue.d.ts +12 -0
- package/dist/presentation/forms/currencyInput/index.d.ts +1 -0
- package/dist/presentation/forms/dateField/DateField.vue.d.ts +42 -0
- package/dist/presentation/forms/dateField/index.d.ts +1 -0
- package/dist/presentation/forms/datePicker/DatePicker.vue.d.ts +53 -0
- package/dist/presentation/forms/datePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateRangePicker/DateRangePicker.vue.d.ts +54 -0
- package/dist/presentation/forms/dateRangePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateTimeField/DateTimeField.vue.d.ts +42 -0
- package/dist/presentation/forms/dateTimeField/index.d.ts +1 -0
- package/dist/presentation/forms/editable/Editable.vue.d.ts +60 -0
- package/dist/presentation/forms/editable/EditableCancel.vue.d.ts +12 -0
- package/dist/presentation/forms/editable/EditableContext.d.ts +37 -0
- package/dist/presentation/forms/editable/EditableInput.vue.d.ts +12 -0
- package/dist/presentation/forms/editable/EditablePreview.vue.d.ts +7 -0
- package/dist/presentation/forms/editable/EditableSubmit.vue.d.ts +14 -0
- package/dist/presentation/forms/editable/index.d.ts +7 -0
- package/dist/presentation/forms/emailInput/EmailInput.vue.d.ts +43 -0
- package/dist/presentation/forms/emailInput/index.d.ts +1 -0
- package/dist/presentation/forms/emojiPicker/CategoryNav.vue.d.ts +19 -0
- package/dist/presentation/forms/emojiPicker/EmojiGrid.vue.d.ts +26 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.variants.d.ts +77 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/emojiPicker/EmojiPickerPopover.vue.d.ts +68 -0
- package/dist/presentation/forms/emojiPicker/EmojiTile.vue.d.ts +22 -0
- package/dist/presentation/forms/emojiPicker/index.d.ts +4 -0
- package/dist/presentation/forms/emojiPicker/useEmojiPicker.d.ts +45 -0
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.variants.d.ts +23 -0
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.vue.d.ts +32 -0
- package/dist/presentation/forms/emojiSizeControl/index.d.ts +2 -0
- package/dist/presentation/forms/field/Field.vue.d.ts +37 -0
- package/dist/presentation/forms/field/index.d.ts +6 -0
- package/dist/presentation/forms/fieldset/Fieldset.vue.d.ts +22 -0
- package/dist/presentation/forms/fieldset/index.d.ts +1 -0
- package/dist/presentation/forms/filePicker/FilePicker.vue.d.ts +34 -0
- package/dist/presentation/forms/filePicker/index.d.ts +1 -0
- package/dist/presentation/forms/fileUpload/FileUpload.vue.d.ts +60 -0
- package/dist/presentation/forms/fileUpload/index.d.ts +1 -0
- package/dist/presentation/forms/fontPicker/FontPicker.vue.d.ts +43 -0
- package/dist/presentation/forms/fontPicker/index.d.ts +1 -0
- package/dist/presentation/forms/formErrorMessage/FormErrorMessage.vue.d.ts +24 -0
- package/dist/presentation/forms/formErrorMessage/index.d.ts +1 -0
- package/dist/presentation/forms/formHelperText/FormHelperText.vue.d.ts +19 -0
- package/dist/presentation/forms/formHelperText/index.d.ts +1 -0
- package/dist/presentation/forms/gradientPicker/GradientPicker.vue.d.ts +50 -0
- package/dist/presentation/forms/gradientPicker/index.d.ts +1 -0
- package/dist/presentation/forms/iconPicker/IconPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/iconPicker/index.d.ts +1 -0
- package/dist/presentation/forms/index.d.ts +75 -0
- package/dist/presentation/forms/index.js +165 -0
- package/dist/presentation/forms/index.js.map +1 -0
- package/dist/presentation/forms/inputAddon/InputAddon.vue.d.ts +20 -0
- package/dist/presentation/forms/inputAddon/index.d.ts +1 -0
- package/dist/presentation/forms/inputGroup/InputGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/inputGroup/index.d.ts +1 -0
- package/dist/presentation/forms/jsonEditor/JSONEditor.vue.d.ts +49 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorContext.d.ts +28 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorHelpers.d.ts +6 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTextView.vue.d.ts +14 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeNode.vue.d.ts +15 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeView.vue.d.ts +8 -0
- package/dist/presentation/forms/jsonEditor/index.d.ts +2 -0
- package/dist/presentation/forms/keyboardShortcutPicker/KeyboardShortcutPicker.vue.d.ts +43 -0
- package/dist/presentation/forms/keyboardShortcutPicker/index.d.ts +1 -0
- package/dist/presentation/forms/knob/Knob.vue.d.ts +75 -0
- package/dist/presentation/forms/knob/index.d.ts +1 -0
- package/dist/presentation/forms/label/Label.vue.d.ts +34 -0
- package/dist/presentation/forms/label/index.d.ts +1 -0
- package/dist/presentation/forms/labeledInput/LabeledInput.vue.d.ts +23 -0
- package/dist/presentation/forms/labeledInput/index.d.ts +2 -0
- package/dist/presentation/forms/legend/Legend.vue.d.ts +21 -0
- package/dist/presentation/forms/legend/index.d.ts +1 -0
- package/dist/presentation/forms/listbox/Listbox.variants.d.ts +71 -0
- package/dist/presentation/forms/listbox/Listbox.vue.d.ts +70 -0
- package/dist/presentation/forms/listbox/ListboxContext.d.ts +47 -0
- package/dist/presentation/forms/listbox/ListboxEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/listbox/ListboxGroup.vue.d.ts +20 -0
- package/dist/presentation/forms/listbox/ListboxItem.vue.d.ts +24 -0
- package/dist/presentation/forms/listbox/ListboxSeparator.vue.d.ts +3 -0
- package/dist/presentation/forms/listbox/index.d.ts +7 -0
- package/dist/presentation/forms/markdownEditor/MarkdownEditor.vue.d.ts +73 -0
- package/dist/presentation/forms/markdownEditor/index.d.ts +1 -0
- package/dist/presentation/forms/maskedInput/MaskedInput.vue.d.ts +42 -0
- package/dist/presentation/forms/maskedInput/index.d.ts +1 -0
- package/dist/presentation/forms/multiSelect/MultiSelect.vue.d.ts +52 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContent.vue.d.ts +31 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContext.d.ts +38 -0
- package/dist/presentation/forms/multiSelect/MultiSelectItem.vue.d.ts +25 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTags.vue.d.ts +14 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTrigger.vue.d.ts +20 -0
- package/dist/presentation/forms/multiSelect/index.d.ts +6 -0
- package/dist/presentation/forms/numberInput/NumberInput.vue.d.ts +51 -0
- package/dist/presentation/forms/numberInput/index.d.ts +1 -0
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +48 -0
- package/dist/presentation/forms/passwordInput/index.d.ts +1 -0
- package/dist/presentation/forms/passwordStrength/PasswordStrength.vue.d.ts +16 -0
- package/dist/presentation/forms/passwordStrength/index.d.ts +1 -0
- package/dist/presentation/forms/percentInput/PercentInput.vue.d.ts +8 -0
- package/dist/presentation/forms/percentInput/index.d.ts +1 -0
- package/dist/presentation/forms/phoneInput/PhoneInput.vue.d.ts +45 -0
- package/dist/presentation/forms/phoneInput/index.d.ts +1 -0
- package/dist/presentation/forms/pinInput/PinInput.vue.d.ts +46 -0
- package/dist/presentation/forms/pinInput/index.d.ts +1 -0
- package/dist/presentation/forms/radio/Radio.vue.d.ts +35 -0
- package/dist/presentation/forms/radio/index.d.ts +1 -0
- package/dist/presentation/forms/radioField/RadioField.vue.d.ts +35 -0
- package/dist/presentation/forms/radioField/index.d.ts +1 -0
- package/dist/presentation/forms/radioGroup/RadioGroup.vue.d.ts +41 -0
- package/dist/presentation/forms/radioGroup/RadioGroupContext.d.ts +16 -0
- package/dist/presentation/forms/radioGroup/index.d.ts +2 -0
- package/dist/presentation/forms/rangeCalendar/RangeCalendar.vue.d.ts +37 -0
- package/dist/presentation/forms/rangeCalendar/index.d.ts +1 -0
- package/dist/presentation/forms/reactionPicker/ReactionPicker.vue.d.ts +32 -0
- package/dist/presentation/forms/reactionPicker/index.d.ts +1 -0
- package/dist/presentation/forms/recurrenceEditor/RecurrenceEditor.vue.d.ts +88 -0
- package/dist/presentation/forms/recurrenceEditor/index.d.ts +1 -0
- package/dist/presentation/forms/searchInput/SearchInput.vue.d.ts +48 -0
- package/dist/presentation/forms/searchInput/index.d.ts +1 -0
- package/dist/presentation/forms/select/Select.variants.d.ts +263 -0
- package/dist/presentation/forms/select/Select.vue.d.ts +69 -0
- package/dist/presentation/forms/select/SelectContent.vue.d.ts +44 -0
- package/dist/presentation/forms/select/SelectContext.d.ts +76 -0
- package/dist/presentation/forms/select/SelectItem.vue.d.ts +33 -0
- package/dist/presentation/forms/select/SelectTrigger.vue.d.ts +21 -0
- package/dist/presentation/forms/select/SelectValue.vue.d.ts +22 -0
- package/dist/presentation/forms/select/index.d.ts +7 -0
- package/dist/presentation/forms/slider/Slider.vue.d.ts +38 -0
- package/dist/presentation/forms/slider/index.d.ts +1 -0
- package/dist/presentation/forms/stepper/Stepper.vue.d.ts +34 -0
- package/dist/presentation/forms/stepper/StepperContext.d.ts +44 -0
- package/dist/presentation/forms/stepper/StepperList.vue.d.ts +256 -0
- package/dist/presentation/forms/stepper/StepperPanel.vue.d.ts +16 -0
- package/dist/presentation/forms/stepper/StepperStep.vue.d.ts +23 -0
- package/dist/presentation/forms/stepper/index.d.ts +5 -0
- package/dist/presentation/forms/switch/Switch.vue.d.ts +35 -0
- package/dist/presentation/forms/switch/index.d.ts +1 -0
- package/dist/presentation/forms/switchField/SwitchField.vue.d.ts +33 -0
- package/dist/presentation/forms/switchField/index.d.ts +1 -0
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +75 -0
- package/dist/presentation/forms/tagsInput/index.d.ts +1 -0
- package/dist/presentation/forms/telInput/TelInput.vue.d.ts +43 -0
- package/dist/presentation/forms/telInput/index.d.ts +1 -0
- package/dist/presentation/forms/textAreaInput/TextAreaInput.vue.d.ts +46 -0
- package/dist/presentation/forms/textAreaInput/index.d.ts +1 -0
- package/dist/presentation/forms/textInput/TextInput.vue.d.ts +43 -0
- package/dist/presentation/forms/textInput/index.d.ts +1 -0
- package/dist/presentation/forms/timeField/TimeField.vue.d.ts +38 -0
- package/dist/presentation/forms/timeField/index.d.ts +1 -0
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +50 -0
- package/dist/presentation/forms/timePicker/index.d.ts +1 -0
- package/dist/presentation/forms/urlInput/UrlInput.vue.d.ts +43 -0
- package/dist/presentation/forms/urlInput/index.d.ts +1 -0
- package/dist/presentation/forms/wizard/Wizard.vue.d.ts +38 -0
- package/dist/presentation/forms/wizard/WizardContext.d.ts +38 -0
- package/dist/presentation/forms/wizard/WizardFooter.vue.d.ts +29 -0
- package/dist/presentation/forms/wizard/WizardStep.vue.d.ts +29 -0
- package/dist/presentation/forms/wizard/WizardSteps.vue.d.ts +7 -0
- package/dist/presentation/forms/wizard/index.d.ts +6 -0
- package/dist/presentation/layout/appShell/AppShell.vue.d.ts +90 -0
- package/dist/presentation/layout/appShell/AppShellAside.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellContent.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellFooter.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellHeader.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellSidebar.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/index.d.ts +7 -0
- package/dist/presentation/layout/aspectRatio/AspectRatio.vue.d.ts +18 -0
- package/dist/presentation/layout/aspectRatio/index.d.ts +1 -0
- package/dist/presentation/layout/box/Box.vue.d.ts +19 -0
- package/dist/presentation/layout/box/index.d.ts +1 -0
- package/dist/presentation/layout/center/Center.vue.d.ts +13 -0
- package/dist/presentation/layout/center/index.d.ts +1 -0
- package/dist/presentation/layout/cluster/Cluster.vue.d.ts +22 -0
- package/dist/presentation/layout/cluster/index.d.ts +1 -0
- package/dist/presentation/layout/container/Container.variants.d.ts +84 -0
- package/dist/presentation/layout/container/Container.vue.d.ts +21 -0
- package/dist/presentation/layout/container/index.d.ts +2 -0
- package/dist/presentation/layout/controlGroup/ControlGroup.variants.d.ts +136 -0
- package/dist/presentation/layout/controlGroup/ControlGroup.vue.d.ts +35 -0
- package/dist/presentation/layout/controlGroup/index.d.ts +2 -0
- package/dist/presentation/layout/divider/Divider.variants.d.ts +47 -0
- package/dist/presentation/layout/divider/Divider.vue.d.ts +38 -0
- package/dist/presentation/layout/divider/index.d.ts +2 -0
- package/dist/presentation/layout/flex/Flex.vue.d.ts +18 -0
- package/dist/presentation/layout/flex/index.d.ts +1 -0
- package/dist/presentation/layout/frame/Frame.vue.d.ts +38 -0
- package/dist/presentation/layout/frame/index.d.ts +1 -0
- package/dist/presentation/layout/grid/Grid.variants.d.ts +193 -0
- package/dist/presentation/layout/grid/Grid.vue.d.ts +32 -0
- package/dist/presentation/layout/grid/index.d.ts +2 -0
- package/dist/presentation/layout/hStack/HStack.vue.d.ts +14 -0
- package/dist/presentation/layout/hStack/index.d.ts +1 -0
- package/dist/presentation/layout/index.d.ts +24 -0
- package/dist/presentation/layout/index.js +64 -0
- package/dist/presentation/layout/index.js.map +1 -0
- package/dist/presentation/layout/inline/Inline.vue.d.ts +42 -0
- package/dist/presentation/layout/inline/index.d.ts +1 -0
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +86 -0
- package/dist/presentation/layout/navbar/Navbar.vue.d.ts +43 -0
- package/dist/presentation/layout/navbar/index.d.ts +2 -0
- package/dist/presentation/layout/overlay/Overlay.variants.d.ts +231 -0
- package/dist/presentation/layout/overlay/Overlay.vue.d.ts +64 -0
- package/dist/presentation/layout/overlay/index.d.ts +2 -0
- package/dist/presentation/layout/pullToRefresh/PullToRefresh.vue.d.ts +22 -0
- package/dist/presentation/layout/pullToRefresh/index.d.ts +1 -0
- package/dist/presentation/layout/resizablePanels/ResizablePanel.vue.d.ts +21 -0
- package/dist/presentation/layout/resizablePanels/ResizablePanels.vue.d.ts +59 -0
- package/dist/presentation/layout/resizablePanels/ResizableSeparator.vue.d.ts +10 -0
- package/dist/presentation/layout/resizablePanels/index.d.ts +4 -0
- package/dist/presentation/layout/scrollArea/ScrollArea.vue.d.ts +31 -0
- package/dist/presentation/layout/scrollArea/index.d.ts +1 -0
- package/dist/presentation/layout/section/Section.variants.d.ts +76 -0
- package/dist/presentation/layout/section/Section.vue.d.ts +33 -0
- package/dist/presentation/layout/section/index.d.ts +2 -0
- package/dist/presentation/layout/spacer/Spacer.vue.d.ts +15 -0
- package/dist/presentation/layout/spacer/index.d.ts +1 -0
- package/dist/presentation/layout/stack/Stack.variants.d.ts +330 -0
- package/dist/presentation/layout/stack/Stack.vue.d.ts +37 -0
- package/dist/presentation/layout/stack/index.d.ts +2 -0
- package/dist/presentation/layout/surface/Surface.vue.d.ts +39 -0
- package/dist/presentation/layout/surface/index.d.ts +1 -0
- package/dist/presentation/layout/twoColumn/TwoColumn.vue.d.ts +28 -0
- package/dist/presentation/layout/twoColumn/index.d.ts +1 -0
- package/dist/presentation/layout/vStack/VStack.vue.d.ts +14 -0
- package/dist/presentation/layout/vStack/index.d.ts +1 -0
- package/dist/presentation/nav/NavHelpers.d.ts +11 -0
- package/dist/presentation/nav/breadcrumb/Breadcrumb.vue.d.ts +27 -0
- package/dist/presentation/nav/breadcrumb/index.d.ts +1 -0
- package/dist/presentation/nav/commandPalette/CommandPalette.vue.d.ts +53 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteContent.vue.d.ts +17 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteContext.d.ts +42 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteEmpty.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteGroup.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteInput.vue.d.ts +14 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteItem.vue.d.ts +36 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteList.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteSeparator.vue.d.ts +12 -0
- package/dist/presentation/nav/commandPalette/index.d.ts +9 -0
- package/dist/presentation/nav/contextMenu/ContextMenu.vue.d.ts +18 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContent.vue.d.ts +29 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContext.d.ts +20 -0
- package/dist/presentation/nav/contextMenu/ContextMenuTrigger.vue.d.ts +27 -0
- package/dist/presentation/nav/contextMenu/index.d.ts +4 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenu.vue.d.ts +44 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContent.vue.d.ts +20 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContext.d.ts +28 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuTrigger.vue.d.ts +24 -0
- package/dist/presentation/nav/dropdownMenu/index.d.ts +4 -0
- package/dist/presentation/nav/index.d.ts +11 -0
- package/dist/presentation/nav/index.js +62 -0
- package/dist/presentation/nav/index.js.map +1 -0
- package/dist/presentation/nav/menu/Menu.variants.d.ts +61 -0
- package/dist/presentation/nav/menu/Menu.vue.d.ts +65 -0
- package/dist/presentation/nav/menu/MenuContext.d.ts +25 -0
- package/dist/presentation/nav/menu/MenuGroup.vue.d.ts +19 -0
- package/dist/presentation/nav/menu/MenuItem.vue.d.ts +33 -0
- package/dist/presentation/nav/menu/MenuLabel.vue.d.ts +20 -0
- package/dist/presentation/nav/menu/MenuSeparator.vue.d.ts +12 -0
- package/dist/presentation/nav/menu/index.d.ts +7 -0
- package/dist/presentation/nav/menubar/Menubar.variants.d.ts +6 -0
- package/dist/presentation/nav/menubar/Menubar.vue.d.ts +274 -0
- package/dist/presentation/nav/menubar/MenubarContent.vue.d.ts +30 -0
- package/dist/presentation/nav/menubar/MenubarContext.d.ts +34 -0
- package/dist/presentation/nav/menubar/MenubarMenu.vue.d.ts +14 -0
- package/dist/presentation/nav/menubar/MenubarTrigger.vue.d.ts +20 -0
- package/dist/presentation/nav/menubar/index.d.ts +5 -0
- package/dist/presentation/nav/navItem/NavItem.vue.d.ts +30 -0
- package/dist/presentation/nav/navItem/index.d.ts +1 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenu.vue.d.ts +33 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContent.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContext.d.ts +24 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuItem.vue.d.ts +16 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuLink.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuList.vue.d.ts +262 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuTrigger.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/index.d.ts +7 -0
- package/dist/presentation/nav/pagination/Pagination.vue.d.ts +24 -0
- package/dist/presentation/nav/pagination/index.d.ts +1 -0
- package/dist/presentation/nav/scrollSpy/ScrollSpy.vue.d.ts +31 -0
- package/dist/presentation/nav/scrollSpy/UseScrollSpy.d.ts +20 -0
- package/dist/presentation/nav/scrollSpy/index.d.ts +2 -0
- package/dist/presentation/nav/tableOfContents/TableOfContents.vue.d.ts +41 -0
- package/dist/presentation/nav/tableOfContents/index.d.ts +1 -0
- package/dist/presentation/overlays/OverlayBody.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayChrome.d.ts +9 -0
- package/dist/presentation/overlays/OverlayCloseButton.vue.d.ts +24 -0
- package/dist/presentation/overlays/OverlayDescription.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayFooter.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayHeader.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayHelpers.d.ts +11 -0
- package/dist/presentation/overlays/OverlayTitle.vue.d.ts +20 -0
- package/dist/presentation/overlays/actionSheet/ActionSheet.vue.d.ts +52 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetAction.vue.d.ts +29 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetCancel.vue.d.ts +19 -0
- package/dist/presentation/overlays/actionSheet/index.d.ts +4 -0
- package/dist/presentation/overlays/alertModal/AlertModal.vue.d.ts +28 -0
- package/dist/presentation/overlays/alertModal/AlertModalAction.vue.d.ts +24 -0
- package/dist/presentation/overlays/alertModal/AlertModalCancel.vue.d.ts +19 -0
- package/dist/presentation/overlays/alertModal/AlertModalContent.vue.d.ts +15 -0
- package/dist/presentation/overlays/alertModal/index.d.ts +12 -0
- package/dist/presentation/overlays/backdrop/Backdrop.vue.d.ts +40 -0
- package/dist/presentation/overlays/backdrop/index.d.ts +1 -0
- package/dist/presentation/overlays/bottomSheet/BottomSheet.vue.d.ts +79 -0
- package/dist/presentation/overlays/bottomSheet/index.d.ts +3 -0
- package/dist/presentation/overlays/drawer/Drawer.vue.d.ts +68 -0
- package/dist/presentation/overlays/drawer/DrawerContent.vue.d.ts +54 -0
- package/dist/presentation/overlays/drawer/DrawerTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/drawer/index.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +68 -0
- package/dist/presentation/overlays/hoverCard/HoverCardArrow.vue.d.ts +10 -0
- package/dist/presentation/overlays/hoverCard/HoverCardContent.vue.d.ts +20 -0
- package/dist/presentation/overlays/hoverCard/HoverCardTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/hoverCard/index.d.ts +4 -0
- package/dist/presentation/overlays/index.d.ts +8 -0
- package/dist/presentation/overlays/index.js +62 -0
- package/dist/presentation/overlays/index.js.map +1 -0
- package/dist/presentation/overlays/modal/Modal.vue.d.ts +75 -0
- package/dist/presentation/overlays/modal/ModalContent.vue.d.ts +38 -0
- package/dist/presentation/overlays/modal/ModalTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/modal/index.d.ts +22 -0
- package/dist/presentation/overlays/popover/Popover.vue.d.ts +70 -0
- package/dist/presentation/overlays/popover/PopoverArrow.vue.d.ts +10 -0
- package/dist/presentation/overlays/popover/PopoverContent.vue.d.ts +34 -0
- package/dist/presentation/overlays/popover/PopoverTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/popover/index.d.ts +4 -0
- package/dist/query/CreateQueryClient.d.ts +19 -0
- package/dist/query/Devtools.vue.d.ts +10 -0
- package/dist/query/Endpoints.d.ts +14 -0
- package/dist/query/PageHelpers.d.ts +10 -0
- package/dist/query/Persistence.d.ts +40 -0
- package/dist/query/QueryPlugin.d.ts +14 -0
- package/dist/query/QueryProgressBridge.d.ts +16 -0
- package/dist/query/QueryProvider.vue.d.ts +17 -0
- package/dist/query/QueryTestUtils.d.ts +54 -0
- package/dist/query/ToApiError.d.ts +7 -0
- package/dist/query/UseAppInfiniteQuery.d.ts +45 -0
- package/dist/query/UseAppLazyQuery.d.ts +40 -0
- package/dist/query/UseAppMutation.d.ts +32 -0
- package/dist/query/UseAppPaginatedQuery.d.ts +39 -0
- package/dist/query/UseAppQueries.d.ts +43 -0
- package/dist/query/UseAppQuery.d.ts +38 -0
- package/dist/query/UseAppSuspenseQuery.d.ts +42 -0
- package/dist/query/UseOptimisticMutation.d.ts +25 -0
- package/dist/query/UsePrefetchQuery.d.ts +26 -0
- package/dist/query/UseQueryCache.d.ts +31 -0
- package/dist/query/index.d.ts +19 -0
- package/dist/query/index.js +461 -0
- package/dist/query/index.js.map +1 -0
- package/dist/query/testing.d.ts +1 -0
- package/dist/query/testing.js +48 -0
- package/dist/query/testing.js.map +1 -0
- package/dist/router/AppErrorBoundary.vue.d.ts +26 -0
- package/dist/router/AppNavLink.vue.d.ts +40 -0
- package/dist/router/CreateAppRouter.d.ts +65 -0
- package/dist/router/DocumentMeta.d.ts +9 -0
- package/dist/router/DocumentTitle.d.ts +18 -0
- package/dist/router/Guards.d.ts +29 -0
- package/dist/router/LazyRoute.d.ts +16 -0
- package/dist/router/NavigationProgress.vue.d.ts +19 -0
- package/dist/router/NavigationProgressModes.d.ts +18 -0
- package/dist/router/NotFound.vue.d.ts +10 -0
- package/dist/router/PageViewTracker.d.ts +23 -0
- package/dist/router/Paths.d.ts +18 -0
- package/dist/router/ProgressProvider.vue.d.ts +19 -0
- package/dist/router/RouteAnnouncer.vue.d.ts +10 -0
- package/dist/router/RouteConfig.d.ts +82 -0
- package/dist/router/RouteHandles.d.ts +24 -0
- package/dist/router/RoutePersistence.d.ts +21 -0
- package/dist/router/UseBreadcrumbs.d.ts +17 -0
- package/dist/router/UseNavigationBlocker.d.ts +41 -0
- package/dist/router/UseNavigationProgress.d.ts +32 -0
- package/dist/router/UsePrefetch.d.ts +19 -0
- package/dist/router/UseRouteNavigating.d.ts +15 -0
- package/dist/router/UseTypedSearchParams.d.ts +17 -0
- package/dist/router/index.d.ts +23 -0
- package/dist/router/index.js +711 -0
- package/dist/router/index.js.map +1 -0
- package/dist/themes.css +15374 -0
- package/dist/themes.json +2898 -0
- package/package.json +432 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const ColorTone = {
|
|
2
|
+
/** Refers to the primary brand palette. */
|
|
3
|
+
Primary: "primary",
|
|
4
|
+
/** Refers to the neutral / default grey palette. */
|
|
5
|
+
Neutral: "neutral",
|
|
6
|
+
/** Refers to the destructive / error palette. */
|
|
7
|
+
Danger: "danger",
|
|
8
|
+
/** Refers to the positive / confirmation palette. */
|
|
9
|
+
Success: "success",
|
|
10
|
+
/** Refers to the caution palette. */
|
|
11
|
+
Warning: "warning"
|
|
12
|
+
};
|
|
13
|
+
const TONE_TOKEN_MAP = {
|
|
14
|
+
primary: { main: "primary", fg: "primary-foreground", soft: "primary-soft", softFg: "primary-soft-foreground" },
|
|
15
|
+
neutral: { main: "foreground", fg: "background", soft: "muted", softFg: "foreground" },
|
|
16
|
+
danger: { main: "destructive", fg: "destructive-foreground", soft: "destructive-soft", softFg: "destructive-soft-foreground" },
|
|
17
|
+
success: { main: "success", fg: "success-foreground", soft: "success-soft", softFg: "success-soft-foreground" },
|
|
18
|
+
warning: { main: "warning", fg: "warning-foreground", soft: "warning-soft", softFg: "warning-soft-foreground" }
|
|
19
|
+
};
|
|
20
|
+
function toneColorOverride(input, tone) {
|
|
21
|
+
if (input === void 0 || input === null) return void 0;
|
|
22
|
+
const activeTone = tone ?? "primary";
|
|
23
|
+
const tokens = TONE_TOKEN_MAP[activeTone];
|
|
24
|
+
const out = {};
|
|
25
|
+
if (typeof input === "string") {
|
|
26
|
+
out[`--color-${tokens.main}`] = input;
|
|
27
|
+
out[`--color-${tokens.fg}`] = "#ffffff";
|
|
28
|
+
out[`--color-${tokens.soft}`] = `color-mix(in oklch, ${input} 12%, white)`;
|
|
29
|
+
out[`--color-${tokens.softFg}`] = input;
|
|
30
|
+
out["--color-ring"] = input;
|
|
31
|
+
} else {
|
|
32
|
+
if (input.bg !== void 0) out[`--color-${tokens.main}`] = input.bg;
|
|
33
|
+
if (input.text !== void 0) out[`--color-${tokens.fg}`] = input.text;
|
|
34
|
+
if (input.soft !== void 0) out[`--color-${tokens.soft}`] = input.soft;
|
|
35
|
+
if (input.softText !== void 0) out[`--color-${tokens.softFg}`] = input.softText;
|
|
36
|
+
if (input.ring !== void 0) out["--color-ring"] = input.ring;
|
|
37
|
+
}
|
|
38
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
39
|
+
}
|
|
40
|
+
const ColorExtensions = {
|
|
41
|
+
toneColorOverride,
|
|
42
|
+
TONE_TOKEN_MAP
|
|
43
|
+
};
|
|
44
|
+
function from(condition, value) {
|
|
45
|
+
return condition ? value : void 0;
|
|
46
|
+
}
|
|
47
|
+
const OptionalExtensions = {
|
|
48
|
+
from
|
|
49
|
+
};
|
|
50
|
+
const Environment = {
|
|
51
|
+
/** Refers to a local development build. */
|
|
52
|
+
Development: "development",
|
|
53
|
+
/** Refers to a production build. */
|
|
54
|
+
Production: "production",
|
|
55
|
+
/** Refers to a test build. */
|
|
56
|
+
Test: "test"
|
|
57
|
+
};
|
|
58
|
+
const IS_DEV = process.env.NODE_ENV !== "production";
|
|
59
|
+
const IS_PRODUCTION = !IS_DEV;
|
|
60
|
+
export {
|
|
61
|
+
ColorExtensions as C,
|
|
62
|
+
Environment as E,
|
|
63
|
+
IS_DEV as I,
|
|
64
|
+
OptionalExtensions as O,
|
|
65
|
+
ColorTone as a,
|
|
66
|
+
IS_PRODUCTION as b
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=Environment-CuQav_mw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Environment-CuQav_mw.js","sources":["../../src/foundation/utils/ColorExtensions/ColorExtensions.ts","../../src/foundation/utils/OptionalExtensions/OptionalExtensions.ts","../../src/foundation/utils/Environment/Environment.ts"],"sourcesContent":["import type { CSSProperties } from 'vue';\n\n/** Defines the tone vocabulary shared by tone-aware components (Button, Checkbox, ToggleButton, Tag, Alert, etc.). */\nexport const ColorTone = {\n /** Refers to the primary brand palette. */\n Primary: 'primary',\n /** Refers to the neutral / default grey palette. */\n Neutral: 'neutral',\n /** Refers to the destructive / error palette. */\n Danger: 'danger',\n /** Refers to the positive / confirmation palette. */\n Success: 'success',\n /** Refers to the caution palette. */\n Warning: 'warning',\n} as const;\n\nexport type ColorTone = (typeof ColorTone)[keyof typeof ColorTone];\n\n/* Explicit color overrides for the active tone's slot set. Pair with a base `tone` prop on the component. */\nexport interface ColorOverride {\n /* Main background / fill color. Drives `bg-{tone}`, `hover:bg-{tone}/X`, `active:bg-{tone}/X`, `border-{tone}`, `ring-{tone}`. */\n bg?: string;\n\n /* Text/icon color on top of `bg`. Drives `text-{tone}-foreground`. */\n text?: string;\n\n /* Light tinted background for soft variants. Drives `bg-{tone}-soft`. */\n soft?: string;\n\n /* Text on top of `soft` background. Drives `text-{tone}-soft-foreground`. */\n softText?: string;\n\n /* Focus ring color override (else inherits the component's tone). */\n ring?: string;\n}\n\n/* Accepted shapes for the `color` prop: a single seed string (lib derives rest) OR an explicit slot override object. */\nexport type ColorProp = string | ColorOverride;\n\n/* Per-tone CSS variable name suffixes (after `--color-`). */\nconst TONE_TOKEN_MAP: Record<\n ColorTone,\n { main: string; fg: string; soft: string; softFg: string }\n> = {\n primary: { main: 'primary', fg: 'primary-foreground', soft: 'primary-soft', softFg: 'primary-soft-foreground' },\n neutral: { main: 'foreground', fg: 'background', soft: 'muted', softFg: 'foreground' },\n danger: { main: 'destructive', fg: 'destructive-foreground', soft: 'destructive-soft', softFg: 'destructive-soft-foreground' },\n success: { main: 'success', fg: 'success-foreground', soft: 'success-soft', softFg: 'success-soft-foreground' },\n warning: { main: 'warning', fg: 'warning-foreground', soft: 'warning-soft', softFg: 'warning-soft-foreground' },\n};\n\n/**\n * Convert a `color` / `colors` prop into a CSS-variable override style for\n * the active tone's slot set. Returned style overrides the component's theme\n * tokens locally — every Tailwind utility (`bg-{tone}`, `hover:bg-{tone}/X`,\n * `text-{tone}-foreground`, etc.) that references the var picks it up\n * automatically. No variant config refactor required.\n *\n * Single-seed mode (`input` is a string):\n * - `bg` ← seed\n * - `text` ← white (default contrast; override via `colors.text`)\n * - `soft` ← seed mixed 12% over white via `color-mix(in oklch, ...)`\n * - `softText` ← seed\n * - `ring` ← seed\n *\n * Object mode (`input` is a `ColorOverride`):\n * - Each slot independently overridable; unset slots retain the theme default.\n */\nfunction toneColorOverride(\n input: ColorProp | undefined,\n tone: ColorTone | undefined,\n): CSSProperties | undefined {\n if (input === undefined || input === null) return undefined;\n const activeTone = tone ?? 'primary';\n const tokens = TONE_TOKEN_MAP[activeTone];\n const out: Record<string, string> = {};\n\n if (typeof input === 'string') {\n out[`--color-${tokens.main}`] = input;\n out[`--color-${tokens.fg}`] = '#ffffff';\n out[`--color-${tokens.soft}`] = `color-mix(in oklch, ${input} 12%, white)`;\n out[`--color-${tokens.softFg}`] = input;\n out['--color-ring'] = input;\n } else {\n if (input.bg !== undefined) out[`--color-${tokens.main}`] = input.bg;\n if (input.text !== undefined) out[`--color-${tokens.fg}`] = input.text;\n if (input.soft !== undefined) out[`--color-${tokens.soft}`] = input.soft;\n if (input.softText !== undefined) out[`--color-${tokens.softFg}`] = input.softText;\n if (input.ring !== undefined) out['--color-ring'] = input.ring;\n }\n\n return Object.keys(out).length > 0 ? (out as CSSProperties) : undefined;\n}\n\n// =============================================================================\n// Grouped namespace export\n// =============================================================================\n\nexport const ColorExtensions = {\n toneColorOverride,\n TONE_TOKEN_MAP,\n} as const;\n","/** Optional value extensions — call as `OptionalExtensions.x(...)`. */\n\n/**\n * Construct an optional from a `(condition, value)` pair: returns `value` when\n * `condition` is truthy, otherwise `undefined`. Use to keep DOM attributes\n * absent when their default/false meaning is what we want (e.g. `aria-busy`,\n * `tabIndex`, `disabled`).\n */\nfunction from<T>(condition: unknown, value: T): T | undefined {\n return condition ? value : undefined;\n}\n\nexport const OptionalExtensions = {\n from,\n} as const;\n","/** Defines the build environment. */\nexport const Environment = {\n /** Refers to a local development build. */\n Development: 'development',\n /** Refers to a production build. */\n Production: 'production',\n /** Refers to a test build. */\n Test: 'test',\n} as const;\n\nexport type Environment = (typeof Environment)[keyof typeof Environment];\n\n/* Gate dev-only warnings/affordances on these. The literal `'production'` is kept\n inline so the consumer's bundler folds it and dev branches dead-code-eliminate. */\nexport const IS_DEV = process.env.NODE_ENV !== 'production';\nexport const IS_PRODUCTION = !IS_DEV;\n"],"names":[],"mappings":"AAGO,MAAM,YAAY;AAAA;AAAA,EAEvB,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,QAAQ;AAAA;AAAA,EAER,SAAS;AAAA;AAAA,EAET,SAAS;AACX;AA0BA,MAAM,iBAGF;AAAA,EACF,SAAS,EAAE,MAAM,WAAe,IAAI,sBAA0B,MAAM,gBAAoB,QAAQ,0BAAA;AAAA,EAChG,SAAS,EAAE,MAAM,cAAe,IAAI,cAA0B,MAAM,SAAoB,QAAQ,aAAA;AAAA,EAChG,QAAS,EAAE,MAAM,eAAe,IAAI,0BAA0B,MAAM,oBAAoB,QAAQ,8BAAA;AAAA,EAChG,SAAS,EAAE,MAAM,WAAe,IAAI,sBAA0B,MAAM,gBAAoB,QAAQ,0BAAA;AAAA,EAChG,SAAS,EAAE,MAAM,WAAe,IAAI,sBAA0B,MAAM,gBAAoB,QAAQ,0BAAA;AAClG;AAmBA,SAAS,kBACP,OACA,MAC2B;AAC3B,MAAI,UAAU,UAAa,UAAU,KAAM,QAAO;AAClD,QAAM,aAAa,QAAQ;AAC3B,QAAM,SAAS,eAAe,UAAU;AACxC,QAAM,MAA8B,CAAA;AAEpC,MAAI,OAAO,UAAU,UAAU;AAC7B,QAAI,WAAW,OAAO,IAAI,EAAE,IAAI;AAChC,QAAI,WAAW,OAAO,EAAE,EAAE,IAAI;AAC9B,QAAI,WAAW,OAAO,IAAI,EAAE,IAAI,uBAAuB,KAAK;AAC5D,QAAI,WAAW,OAAO,MAAM,EAAE,IAAI;AAClC,QAAI,cAAc,IAAI;AAAA,EACxB,OAAO;AACL,QAAI,MAAM,OAAO,OAAW,KAAI,WAAW,OAAO,IAAI,EAAE,IAAI,MAAM;AAClE,QAAI,MAAM,SAAS,OAAW,KAAI,WAAW,OAAO,EAAE,EAAE,IAAI,MAAM;AAClE,QAAI,MAAM,SAAS,OAAW,KAAI,WAAW,OAAO,IAAI,EAAE,IAAI,MAAM;AACpE,QAAI,MAAM,aAAa,OAAW,KAAI,WAAW,OAAO,MAAM,EAAE,IAAI,MAAM;AAC1E,QAAI,MAAM,SAAS,OAAW,KAAI,cAAc,IAAI,MAAM;AAAA,EAC5D;AAEA,SAAO,OAAO,KAAK,GAAG,EAAE,SAAS,IAAK,MAAwB;AAChE;AAMO,MAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA;AACF;AC7FA,SAAS,KAAQ,WAAoB,OAAyB;AAC5D,SAAO,YAAY,QAAQ;AAC7B;AAEO,MAAM,qBAAqB;AAAA,EAChC;AACF;ACbO,MAAM,cAAc;AAAA;AAAA,EAEzB,aAAa;AAAA;AAAA,EAEb,YAAY;AAAA;AAAA,EAEZ,MAAM;AACR;AAMO,MAAM,SAAS,QAAQ,IAAI,aAAa;AACxC,MAAM,gBAAgB,CAAC;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const Equality = {
|
|
2
|
+
/** Checks NaN-safe strict equality (Object.is) — fits primitives + reference equality for objects. */
|
|
3
|
+
strictEquals: (a, b) => Object.is(a, b),
|
|
4
|
+
/** Checks plain `===` equality (NaN !== NaN). */
|
|
5
|
+
referenceEquals: (a, b) => a === b,
|
|
6
|
+
/** Provides a comparer that compares two objects by an extracted scalar key. */
|
|
7
|
+
byKey: (extract) => (a, b) => Object.is(extract(a), extract(b)),
|
|
8
|
+
/** Checks shallow object equality — equal iff every key has identical (Object.is) value. */
|
|
9
|
+
shallowEquals: (a, b) => {
|
|
10
|
+
if (Object.is(a, b)) return true;
|
|
11
|
+
if (a == null || b == null) return false;
|
|
12
|
+
const ak = Object.keys(a);
|
|
13
|
+
const bk = Object.keys(b);
|
|
14
|
+
if (ak.length !== bk.length) return false;
|
|
15
|
+
return ak.every((k) => Object.prototype.hasOwnProperty.call(b, k) && Object.is(a[k], b[k]));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
Equality as E
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=Equality-DIQYQysz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Equality-DIQYQysz.js","sources":["../../src/foundation/utils/Equality/Equality.ts"],"sourcesContent":["/* Provides reusable equality comparers for selection components and diff checks. */\n\n/** Represents a function that decides whether two values are equal. */\nexport type EqualityComparer<T> = (a: T, b: T) => boolean;\n\n/** Contains the standard equality comparers. */\nexport const Equality = {\n /** Checks NaN-safe strict equality (Object.is) — fits primitives + reference equality for objects. */\n strictEquals: <T>(a: T, b: T): boolean => Object.is(a, b),\n\n /** Checks plain `===` equality (NaN !== NaN). */\n referenceEquals: <T>(a: T, b: T): boolean => a === b,\n\n /** Provides a comparer that compares two objects by an extracted scalar key. */\n byKey:\n <T, K = unknown>(extract: (item: T) => K): EqualityComparer<T> =>\n (a, b) =>\n Object.is(extract(a), extract(b)),\n\n /** Checks shallow object equality — equal iff every key has identical (Object.is) value. */\n shallowEquals: <T extends Record<string, unknown>>(a: T, b: T): boolean => {\n if (Object.is(a, b)) return true;\n if (a == null || b == null) return false;\n const ak = Object.keys(a);\n const bk = Object.keys(b);\n if (ak.length !== bk.length) return false;\n return ak.every((k) => Object.prototype.hasOwnProperty.call(b, k) && Object.is(a[k], b[k]));\n },\n} as const;\n"],"names":[],"mappings":"AAMO,MAAM,WAAW;AAAA;AAAA,EAEtB,cAAc,CAAI,GAAM,MAAkB,OAAO,GAAG,GAAG,CAAC;AAAA;AAAA,EAGxD,iBAAiB,CAAI,GAAM,MAAkB,MAAM;AAAA;AAAA,EAGnD,OACE,CAAiB,YACjB,CAAC,GAAG,MACF,OAAO,GAAG,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAAA;AAAA,EAGpC,eAAe,CAAoC,GAAM,MAAkB;AACzE,QAAI,OAAO,GAAG,GAAG,CAAC,EAAG,QAAO;AAC5B,QAAI,KAAK,QAAQ,KAAK,KAAM,QAAO;AACnC,UAAM,KAAK,OAAO,KAAK,CAAC;AACxB,UAAM,KAAK,OAAO,KAAK,CAAC;AACxB,QAAI,GAAG,WAAW,GAAG,OAAQ,QAAO;AACpC,WAAO,GAAG,MAAM,CAAC,MAAM,OAAO,UAAU,eAAe,KAAK,GAAG,CAAC,KAAK,OAAO,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AAAA,EAC5F;AACF;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function isObjectLike(value) {
|
|
2
|
+
return value !== null && (typeof value === "object" || typeof value === "function");
|
|
3
|
+
}
|
|
4
|
+
function readMember(source, key) {
|
|
5
|
+
try {
|
|
6
|
+
return source[key];
|
|
7
|
+
} catch {
|
|
8
|
+
return void 0;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function isError(value) {
|
|
12
|
+
try {
|
|
13
|
+
return value instanceof Error;
|
|
14
|
+
} catch {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function isErrorLike(value) {
|
|
19
|
+
return isObjectLike(value) && typeof readMember(value, "message") === "string";
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
isError as a,
|
|
23
|
+
isObjectLike as b,
|
|
24
|
+
isErrorLike as i,
|
|
25
|
+
readMember as r
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=ErrorLike-Cfj0lZW3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorLike-Cfj0lZW3.js","sources":["../../src/foundation/errors/ErrorLike.ts"],"sourcesContent":["/**\n * Defines the structural shape every helper in this slice accepts — anything carrying a string\n * `message`. Deliberately structural rather than `Error`: a value crossing a realm boundary\n * (iframe, worker, `structuredClone`), rehydrated from JSON, or built by a library that never\n * subclassed `Error` all fail `instanceof` while still being perfectly usable errors.\n */\nexport interface ErrorLike {\n /** The human-readable failure description — the one member that makes a value error-like. */\n readonly message: string;\n\n /** The error kind — `'TypeError'`, `'AbortError'`, a custom tag. Absent on hand-rolled shapes. */\n readonly name?: string;\n\n /** The captured stack trace, when the source recorded one. */\n readonly stack?: string;\n\n /** The machine-readable code — Node's `'ETIMEDOUT'`, a legacy `DOMException` number, an app code. */\n readonly code?: string | number;\n\n /** The underlying failure this one wraps (the standard ES2022 `cause`). Untyped — anything can be thrown. */\n readonly cause?: unknown;\n}\n\n/**\n * Checks whether a value can carry properties at all — `typeof null` is `'object'`, and a function\n * is a legal throw target. Internal; not barrelled.\n */\nexport function isObjectLike(value: unknown): value is object {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n}\n\n/**\n * Reads a property without trusting the source. A getter can throw and a `Proxy` `get` trap can\n * throw, so an unguarded read would turn error handling into a second failure. Internal; not barrelled.\n */\nexport function readMember(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 * Checks `instanceof Error` without trusting the value — `instanceof` invokes `getPrototypeOf`,\n * which a `Proxy` trap can throw from. Internal; not barrelled.\n */\nexport function isError(value: unknown): value is Error {\n try {\n return value instanceof Error;\n } catch {\n return false;\n }\n}\n\n/** Checks whether a value is structurally an {@link ErrorLike} — an object (or function) whose `message` reads as a string. */\nexport function isErrorLike(value: unknown): value is ErrorLike {\n return isObjectLike(value) && typeof readMember(value, 'message') === 'string';\n}\n"],"names":[],"mappings":"AA2BO,SAAS,aAAa,OAAiC;AAC5D,SAAO,UAAU,SAAS,OAAO,UAAU,YAAY,OAAO,UAAU;AAC1E;AAMO,SAAS,WAAW,QAAgB,KAAsB;AAC/D,MAAI;AACF,WAAQ,OAAmC,GAAG;AAAA,EAChD,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAMO,SAAS,QAAQ,OAAgC;AACtD,MAAI;AACF,WAAO,iBAAiB;AAAA,EAC1B,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAGO,SAAS,YAAY,OAAoC;AAC9D,SAAO,aAAa,KAAK,KAAK,OAAO,WAAW,OAAO,SAAS,MAAM;AACxE;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { b as isObjectLike, r as readMember } from "./ErrorLike-Cfj0lZW3.js";
|
|
2
|
+
const DefaultErrorMessage = "Something went wrong";
|
|
3
|
+
function usableMessage(candidate) {
|
|
4
|
+
if (typeof candidate !== "string") return void 0;
|
|
5
|
+
const trimmed = candidate.trim();
|
|
6
|
+
if (trimmed === "" || trimmed === "[object Object]") return void 0;
|
|
7
|
+
return trimmed;
|
|
8
|
+
}
|
|
9
|
+
function getErrorMessage(value, fallback = DefaultErrorMessage) {
|
|
10
|
+
try {
|
|
11
|
+
const direct = usableMessage(value);
|
|
12
|
+
if (direct !== void 0) return direct;
|
|
13
|
+
if (isObjectLike(value)) {
|
|
14
|
+
const message = usableMessage(readMember(value, "message"));
|
|
15
|
+
if (message !== void 0) return message;
|
|
16
|
+
}
|
|
17
|
+
return usableMessage(fallback) ?? DefaultErrorMessage;
|
|
18
|
+
} catch {
|
|
19
|
+
return DefaultErrorMessage;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
DefaultErrorMessage as D,
|
|
24
|
+
getErrorMessage as g
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=ErrorMessage-Cqt7WaFn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorMessage-Cqt7WaFn.js","sources":["../../src/foundation/errors/ErrorMessage.ts"],"sourcesContent":["import { isObjectLike, readMember } from './ErrorLike';\n\n/** Provides the message shown when a caught value carries nothing a person could read. Also the floor when a caller's own fallback is blank. */\nexport const DefaultErrorMessage = 'Something went wrong';\n\n/**\n * Accepts a candidate only if it is text worth showing — trimmed, non-blank, and not the\n * `'[object Object]'` tag an upstream `String(object)` may already have baked into a message.\n */\nfunction usableMessage(candidate: unknown): string | undefined {\n if (typeof candidate !== 'string') return undefined;\n const trimmed = candidate.trim();\n if (trimmed === '' || trimmed === '[object Object]') return undefined;\n return trimmed;\n}\n\n/**\n * Extracts the message a UI can show for a caught value — the string itself, or its `message` member.\n *\n * Narrower than `toError` on purpose. `toError` is total and must produce *some* `Error`, so it\n * stringifies whatever it gets; this returns UI copy, so a value with no message (a bare number, `{}`,\n * a JSON blob, `null`) yields `fallback` rather than rendering machine noise into a toast. Guaranteed\n * never to return `''` or `'[object Object]'` — a blank `fallback` degrades to {@link DefaultErrorMessage}.\n *\n * Never throws: a `message` getter that throws reads as absent.\n */\nexport function getErrorMessage(value: unknown, fallback: string = DefaultErrorMessage): string {\n try {\n const direct = usableMessage(value);\n if (direct !== undefined) return direct;\n\n if (isObjectLike(value)) {\n const message = usableMessage(readMember(value, 'message'));\n if (message !== undefined) return message;\n }\n\n return usableMessage(fallback) ?? DefaultErrorMessage;\n } catch {\n return DefaultErrorMessage;\n }\n}\n"],"names":[],"mappings":";AAGO,MAAM,sBAAsB;AAMnC,SAAS,cAAc,WAAwC;AAC7D,MAAI,OAAO,cAAc,SAAU,QAAO;AAC1C,QAAM,UAAU,UAAU,KAAA;AAC1B,MAAI,YAAY,MAAM,YAAY,kBAAmB,QAAO;AAC5D,SAAO;AACT;AAYO,SAAS,gBAAgB,OAAgB,WAAmB,qBAA6B;AAC9F,MAAI;AACF,UAAM,SAAS,cAAc,KAAK;AAClC,QAAI,WAAW,OAAW,QAAO;AAEjC,QAAI,aAAa,KAAK,GAAG;AACvB,YAAM,UAAU,cAAc,WAAW,OAAO,SAAS,CAAC;AAC1D,UAAI,YAAY,OAAW,QAAO;AAAA,IACpC;AAEA,WAAO,cAAc,QAAQ,KAAK;AAAA,EACpC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { b as isObjectLike, r as readMember } from "./ErrorLike-Cfj0lZW3.js";
|
|
2
|
+
function nameOf(value) {
|
|
3
|
+
if (!isObjectLike(value)) return void 0;
|
|
4
|
+
const name = readMember(value, "name");
|
|
5
|
+
return typeof name === "string" ? name : void 0;
|
|
6
|
+
}
|
|
7
|
+
function isAbortError(value) {
|
|
8
|
+
return nameOf(value) === "AbortError";
|
|
9
|
+
}
|
|
10
|
+
function isTimeoutError(value) {
|
|
11
|
+
return nameOf(value) === "TimeoutError";
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
isTimeoutError as a,
|
|
15
|
+
isAbortError as i
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=ErrorRecognizers-oTklha6D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorRecognizers-oTklha6D.js","sources":["../../src/foundation/errors/ErrorRecognizers.ts"],"sourcesContent":["import { isObjectLike, readMember } from './ErrorLike';\n\n/** Reads a value's `name` as a string — the single property both recognizers key off. Guarded, so a throwing getter reads as absent. */\nfunction nameOf(value: unknown): string | undefined {\n if (!isObjectLike(value)) return undefined;\n const name = readMember(value, 'name');\n return typeof name === 'string' ? name : undefined;\n}\n\n/**\n * Checks whether a caught value is a cancellation — the `AbortError` every `fetch` / `AbortController`\n * path produces. The one recognizer every request layer needs: an abort means the caller moved on, so\n * it must be swallowed, never reported as a failure.\n *\n * Matched on `name`, deliberately not `instanceof DOMException`: the check has to hold for a\n * `DOMException` from another realm (iframe · worker), for environments with no `DOMException` global,\n * and for the plain `{ name: 'AbortError' }` that libraries and test doubles throw.\n */\nexport function isAbortError(value: unknown): boolean {\n return nameOf(value) === 'AbortError';\n}\n\n/**\n * Checks whether a caught value is a timeout — `AbortSignal.timeout()` rejects with a `TimeoutError`\n * `DOMException`, and libraries copy that name.\n *\n * Name-only by design: no substring match on `message`. The word \"timeout\" appearing in prose is not a\n * contract, and matching it would misclassify unrelated failures (and break under translation).\n */\nexport function isTimeoutError(value: unknown): boolean {\n return nameOf(value) === 'TimeoutError';\n}\n"],"names":[],"mappings":";AAGA,SAAS,OAAO,OAAoC;AAClD,MAAI,CAAC,aAAa,KAAK,EAAG,QAAO;AACjC,QAAM,OAAO,WAAW,OAAO,MAAM;AACrC,SAAO,OAAO,SAAS,WAAW,OAAO;AAC3C;AAWO,SAAS,aAAa,OAAyB;AACpD,SAAO,OAAO,KAAK,MAAM;AAC3B;AASO,SAAS,eAAe,OAAyB;AACtD,SAAO,OAAO,KAAK,MAAM;AAC3B;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { S as Severity } from "./Severity-D0C5oAt-.js";
|
|
2
|
+
const NoticeTone = {
|
|
3
|
+
/** Refers to an informational notice. */
|
|
4
|
+
Info: Severity.Info,
|
|
5
|
+
/** Refers to a positive / success notice. */
|
|
6
|
+
Success: Severity.Success,
|
|
7
|
+
/** Refers to a caution / warning notice. */
|
|
8
|
+
Warning: Severity.Warning,
|
|
9
|
+
/** Refers to a destructive / error notice. */
|
|
10
|
+
Danger: Severity.Danger
|
|
11
|
+
};
|
|
12
|
+
function createFeedbackBus() {
|
|
13
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
14
|
+
let idSeq = 0;
|
|
15
|
+
return {
|
|
16
|
+
notify(notice) {
|
|
17
|
+
const published = { ...notice, id: notice.id ?? `n_${++idSeq}` };
|
|
18
|
+
for (const listener of [...listeners]) listener(published);
|
|
19
|
+
return published.id;
|
|
20
|
+
},
|
|
21
|
+
subscribe(listener) {
|
|
22
|
+
listeners.add(listener);
|
|
23
|
+
return () => {
|
|
24
|
+
listeners.delete(listener);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const feedbackBus = createFeedbackBus();
|
|
30
|
+
function notify(notice) {
|
|
31
|
+
return feedbackBus.notify(notice);
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
NoticeTone as N,
|
|
35
|
+
createFeedbackBus as c,
|
|
36
|
+
feedbackBus as f,
|
|
37
|
+
notify as n
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=FeedbackBus-BRbyOMCn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBus-BRbyOMCn.js","sources":["../../src/feedback/FeedbackBus.ts"],"sourcesContent":["import type { VNode } from 'vue';\n\nimport { Severity } from '../foundation/utils';\n\n/** Defines the tone of a notice — the house `Severity` vocabulary minus `neutral` (a notice always carries intent). */\nexport const NoticeTone = {\n /** Refers to an informational notice. */\n Info: Severity.Info,\n /** Refers to a positive / success notice. */\n Success: Severity.Success,\n /** Refers to a caution / warning notice. */\n Warning: Severity.Warning,\n /** Refers to a destructive / error notice. */\n Danger: Severity.Danger,\n} as const;\n\nexport type NoticeTone = (typeof NoticeTone)[keyof typeof NoticeTone];\n\n/**\n * A renderable slice of a notice. React's `ReactNode` becomes `string | VNode`\n * for the same reason the `Toaster` payload did: notices travel as data through\n * `notify()`, not through a slot, so a caller who wants markup builds it with\n * `h()`. Structurally identical to `presentation/feedback`'s `ToastNode` — the\n * adapter's assignment is what keeps the two from drifting, and this module\n * cannot import that one (boundaries: `feedback` never reaches into\n * `presentation`).\n */\nexport type NoticeNode = string | VNode;\n\n/** Defines a feedback notice published on the bus — the headless payload a presentation adapter renders (toast, banner, notification center…). */\nexport interface FeedbackNotice {\n /** The semantic tone — maps 1:1 onto the toast `severity` vocabulary. */\n readonly tone: NoticeTone;\n\n /** The headline. */\n readonly title: NoticeNode;\n\n /** The optional supporting body. */\n readonly description?: NoticeNode;\n\n /** An optional action slot (e.g. a retry button) — passed through to the rendering surface. */\n readonly action?: NoticeNode;\n\n /** An optional stable identity — assigned by the bus (`n_<seq>`) when omitted; callers set it for future dedupe / notification-center use. */\n readonly id?: string;\n\n /** ms before the rendering surface auto-dismisses. Surface default when omitted; `Infinity` = sticky. */\n readonly durationMs?: number;\n}\n\n/** Defines a notice as delivered to subscribers — identity always assigned. */\nexport interface PublishedNotice extends FeedbackNotice {\n readonly id: string;\n}\n\n/** Defines a listener notified on every published notice. */\nexport type NoticeListener = (notice: PublishedNotice) => void;\n\n/**\n * Defines the module-scope feedback hub wiring app code to whatever surface renders notices.\n * Fire-and-forget pub/sub (no replay): a notice published with no subscriber is dropped, so mount\n * the adapter (`<FeedbackToasts/>`) before publishing. Nothing subscribes automatically — GWDNBM,\n * every wire is explicit:\n *\n * - **Notices in** — `notify({ tone, title })` from anywhere (composables, api client code, stores);\n * `feedbackQueryErrors(bus)` plugs a `/query` global error seam in.\n * - **Toasts out** — `<FeedbackToasts/>` (`/presentation/feedback`) subscribes and forwards each\n * notice into the imperative `toaster.toast()` API.\n *\n * Plain module state rather than a Vue plugin / `provide`: the bus is publisher-agnostic, and a\n * publisher is rarely inside a component's `setup()` (an interceptor, a store action). The\n * `bus` prop on the adapter is the isolation seam an app needs instead.\n */\nexport interface FeedbackBus {\n /** Publishes a notice to all subscribers — safe to call with none mounted (no-op); returns the notice id. */\n notify(notice: FeedbackNotice): string;\n\n /** Subscribes to published notices; returns an unsubscribe. */\n subscribe(listener: NoticeListener): () => void;\n}\n\n/** Creates a {@link FeedbackBus} — one per app, module scope, shared by publishers and the rendering adapter. Apps that don't need isolation use the default {@link feedbackBus}. */\nexport function createFeedbackBus(): FeedbackBus {\n const listeners = new Set<NoticeListener>();\n let idSeq = 0;\n\n return {\n notify(notice: FeedbackNotice): string {\n const published: PublishedNotice = { ...notice, id: notice.id ?? `n_${++idSeq}` };\n for (const listener of [...listeners]) listener(published);\n return published.id;\n },\n\n subscribe(listener: NoticeListener): () => void {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n },\n };\n}\n\n/** The default app-wide bus — what `notify` and the adapters bind to unless handed an explicit bus. */\nexport const feedbackBus: FeedbackBus = createFeedbackBus();\n\n/** Publishes a notice on the default {@link feedbackBus} — the everyday `notify({ tone: 'success', title: 'Saved' })` entry point. */\nexport function notify(notice: FeedbackNotice): string {\n return feedbackBus.notify(notice);\n}\n"],"names":[],"mappings":";AAKO,MAAM,aAAa;AAAA;AAAA,EAExB,MAAM,SAAS;AAAA;AAAA,EAEf,SAAS,SAAS;AAAA;AAAA,EAElB,SAAS,SAAS;AAAA;AAAA,EAElB,QAAQ,SAAS;AACnB;AAoEO,SAAS,oBAAiC;AAC/C,QAAM,gCAAgB,IAAA;AACtB,MAAI,QAAQ;AAEZ,SAAO;AAAA,IACL,OAAO,QAAgC;AACrC,YAAM,YAA6B,EAAE,GAAG,QAAQ,IAAI,OAAO,MAAM,KAAK,EAAE,KAAK,GAAA;AAC7E,iBAAW,YAAY,CAAC,GAAG,SAAS,YAAY,SAAS;AACzD,aAAO,UAAU;AAAA,IACnB;AAAA,IAEA,UAAU,UAAsC;AAC9C,gBAAU,IAAI,QAAQ;AACtB,aAAO,MAAM;AACX,kBAAU,OAAO,QAAQ;AAAA,MAC3B;AAAA,IACF;AAAA,EAAA;AAEJ;AAGO,MAAM,cAA2B,kBAAA;AAGjC,SAAS,OAAO,QAAgC;AACrD,SAAO,YAAY,OAAO,MAAM;AAClC;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { F as FLUENT_VALIDATION_PARAMS, a as FLUENT_VALIDATION_CODES } from "./Messages-BGfQHMmW.js";
|
|
2
|
+
import { A as ApiError } from "./ApiError-l0YdcqqV.js";
|
|
3
|
+
function normalizeCode(code) {
|
|
4
|
+
if (typeof code !== "string" || code.length === 0) return void 0;
|
|
5
|
+
return FLUENT_VALIDATION_CODES[code] ?? code;
|
|
6
|
+
}
|
|
7
|
+
function normalizeParams(params) {
|
|
8
|
+
if (params === null || typeof params !== "object" || Array.isArray(params)) return void 0;
|
|
9
|
+
const normalized = {};
|
|
10
|
+
let count = 0;
|
|
11
|
+
for (const [key, value] of Object.entries(params)) {
|
|
12
|
+
normalized[FLUENT_VALIDATION_PARAMS[key] ?? key] = value;
|
|
13
|
+
count += 1;
|
|
14
|
+
}
|
|
15
|
+
return count > 0 ? normalized : void 0;
|
|
16
|
+
}
|
|
17
|
+
function fieldIssues(error) {
|
|
18
|
+
if (!(error instanceof ApiError)) return {};
|
|
19
|
+
const errors = error.problem?.errors;
|
|
20
|
+
if (Array.isArray(errors)) {
|
|
21
|
+
const map = {};
|
|
22
|
+
for (const entry of errors) {
|
|
23
|
+
if (entry === null || typeof entry !== "object") continue;
|
|
24
|
+
const { property, message, code, params } = entry;
|
|
25
|
+
if (typeof property !== "string" || typeof message !== "string") continue;
|
|
26
|
+
(map[property] ??= []).push({
|
|
27
|
+
message,
|
|
28
|
+
code: normalizeCode(code),
|
|
29
|
+
params: normalizeParams(params)
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return map;
|
|
33
|
+
}
|
|
34
|
+
if (errors !== null && typeof errors === "object") {
|
|
35
|
+
const map = {};
|
|
36
|
+
for (const [field, value] of Object.entries(errors)) {
|
|
37
|
+
const issues = (Array.isArray(value) ? value : [value]).filter((item) => typeof item === "string").map((message) => ({ message }));
|
|
38
|
+
if (issues.length > 0) map[field] = issues;
|
|
39
|
+
}
|
|
40
|
+
return map;
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
function fieldErrors(error) {
|
|
45
|
+
const issues = fieldIssues(error);
|
|
46
|
+
const map = {};
|
|
47
|
+
for (const [field, entries] of Object.entries(issues)) {
|
|
48
|
+
map[field] = entries.map((issue) => issue.message);
|
|
49
|
+
}
|
|
50
|
+
return map;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
fieldErrors as a,
|
|
54
|
+
fieldIssues as f
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=FieldErrors-2zjhia4U.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldErrors-2zjhia4U.js","sources":["../../src/foundation/http/FieldErrors.ts"],"sourcesContent":["import {\n FLUENT_VALIDATION_CODES,\n FLUENT_VALIDATION_PARAMS,\n type FieldIssue,\n} from '../validation/Messages';\n\nimport { ApiError } from './ApiError';\n\n/*\n * Reads the per-field validation failures out of a thrown error's problem body.\n *\n * TWO READERS, ONE PARSE. `fieldIssues` is the wide one — it keeps each failure's rule code and\n * operands, which is what a message catalogue keys on (`foundation/validation/Messages.ts`).\n * `fieldErrors` is the narrow one, kept for the `Record<string, string[]>` shape the forms engine has\n * always exposed; it delegates and drops everything but the message.\n *\n * WHY THE CODE WAS WORTH RESCUING: the wow-two backend already puts it on the wire —\n * `{\"errors\":[{\"property\":\"Rules[0].Content.Url\",\"message\":\"URL is required.\",\"code\":\"NotEmptyValidator\"}]}`\n * — and every client discarded it right here, which is why the client and the server could never agree\n * on the wording of a rule they both enforce.\n *\n * NORMALIZATION HAPPENS ON THIS SIDE ON PURPOSE. FluentValidation's `ErrorCode` vocabulary\n * (`NotEmptyValidator`) is not the vocabulary the client's own validators report (`required`), and one\n * catalogue cannot serve two. Translating here — rather than waiting for the server to emit the shared\n * codes — lets a form adopt the catalogue today and keeps working unchanged once the backend normalizes\n * too, since an already-shared code passes through the alias table untouched.\n */\n\n/** Normalizes a source rule code onto the shared vocabulary, passing an unknown code through unchanged. */\nfunction normalizeCode(code: unknown): string | undefined {\n if (typeof code !== 'string' || code.length === 0) return undefined;\n return FLUENT_VALIDATION_CODES[code] ?? code;\n}\n\n/** Renames a payload's operand keys onto the vocabulary's (`MaxLength` → `max`), keeping unlisted ones. */\nfunction normalizeParams(params: unknown): Readonly<Record<string, unknown>> | undefined {\n if (params === null || typeof params !== 'object' || Array.isArray(params)) return undefined;\n const normalized: Record<string, unknown> = {};\n let count = 0;\n for (const [key, value] of Object.entries(params as Record<string, unknown>)) {\n normalized[FLUENT_VALIDATION_PARAMS[key] ?? key] = value;\n count += 1;\n }\n return count > 0 ? normalized : undefined;\n}\n\n/**\n * Extracts the per-field validation failures from a thrown error — the `errors` member of an\n * {@link ApiError}'s problem body, normalized to `field → issues` with each rule code and its operands\n * preserved. Handles both the ASP.NET ValidationProblemDetails / ModelState dict (`{ field: string[] }`,\n * a bare string value counts as one message — that shape carries no code) and the wow-two backend's\n * array shape (`[{ property, message, code?, params? }]`, grouped by property). Anything else —\n * non-`ApiError`, no problem body, no `errors` member — yields `{}` so callers can map unconditionally.\n */\nexport function fieldIssues(error: unknown): Record<string, FieldIssue[]> {\n if (!(error instanceof ApiError)) return {};\n const errors = error.problem?.errors;\n\n if (Array.isArray(errors)) {\n const map: Record<string, FieldIssue[]> = {};\n for (const entry of errors as unknown[]) {\n if (entry === null || typeof entry !== 'object') continue;\n const { property, message, code, params } = entry as {\n property?: unknown;\n message?: unknown;\n code?: unknown;\n params?: unknown;\n };\n if (typeof property !== 'string' || typeof message !== 'string') continue;\n (map[property] ??= []).push({\n message,\n code: normalizeCode(code),\n params: normalizeParams(params),\n });\n }\n return map;\n }\n\n if (errors !== null && typeof errors === 'object') {\n const map: Record<string, FieldIssue[]> = {};\n for (const [field, value] of Object.entries(errors)) {\n // The ModelState shape carries messages only — no code, so these never reach a catalogue entry\n // and render exactly as the server wrote them.\n const issues = (Array.isArray(value) ? value : [value])\n .filter((item): item is string => typeof item === 'string')\n .map((message) => ({ message }));\n if (issues.length > 0) map[field] = issues;\n }\n return map;\n }\n\n return {};\n}\n\n/**\n * Extracts the per-field validation messages from a thrown error, normalized to `field → messages` for\n * mapping onto form fields. The message-only view of {@link fieldIssues} — reach for that one when the\n * rule code matters (message catalogue, per-code UI); this stays the shape every existing caller expects.\n */\nexport function fieldErrors(error: unknown): Record<string, string[]> {\n const issues = fieldIssues(error);\n const map: Record<string, string[]> = {};\n for (const [field, entries] of Object.entries(issues)) {\n map[field] = entries.map((issue) => issue.message);\n }\n return map;\n}\n"],"names":[],"mappings":";;AA6BA,SAAS,cAAc,MAAmC;AACxD,MAAI,OAAO,SAAS,YAAY,KAAK,WAAW,EAAG,QAAO;AAC1D,SAAO,wBAAwB,IAAI,KAAK;AAC1C;AAGA,SAAS,gBAAgB,QAAgE;AACvF,MAAI,WAAW,QAAQ,OAAO,WAAW,YAAY,MAAM,QAAQ,MAAM,EAAG,QAAO;AACnF,QAAM,aAAsC,CAAA;AAC5C,MAAI,QAAQ;AACZ,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,MAAiC,GAAG;AAC5E,eAAW,yBAAyB,GAAG,KAAK,GAAG,IAAI;AACnD,aAAS;AAAA,EACX;AACA,SAAO,QAAQ,IAAI,aAAa;AAClC;AAUO,SAAS,YAAY,OAA8C;AACxE,MAAI,EAAE,iBAAiB,UAAW,QAAO,CAAA;AACzC,QAAM,SAAS,MAAM,SAAS;AAE9B,MAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,UAAM,MAAoC,CAAA;AAC1C,eAAW,SAAS,QAAqB;AACvC,UAAI,UAAU,QAAQ,OAAO,UAAU,SAAU;AACjD,YAAM,EAAE,UAAU,SAAS,MAAM,WAAW;AAM5C,UAAI,OAAO,aAAa,YAAY,OAAO,YAAY,SAAU;AACjE,OAAC,IAAI,QAAQ,MAAM,CAAA,GAAI,KAAK;AAAA,QAC1B;AAAA,QACA,MAAM,cAAc,IAAI;AAAA,QACxB,QAAQ,gBAAgB,MAAM;AAAA,MAAA,CAC/B;AAAA,IACH;AACA,WAAO;AAAA,EACT;AAEA,MAAI,WAAW,QAAQ,OAAO,WAAW,UAAU;AACjD,UAAM,MAAoC,CAAA;AAC1C,eAAW,CAAC,OAAO,KAAK,KAAK,OAAO,QAAQ,MAAM,GAAG;AAGnD,YAAM,UAAU,MAAM,QAAQ,KAAK,IAAI,QAAQ,CAAC,KAAK,GAClD,OAAO,CAAC,SAAyB,OAAO,SAAS,QAAQ,EACzD,IAAI,CAAC,aAAa,EAAE,QAAA,EAAU;AACjC,UAAI,OAAO,SAAS,EAAG,KAAI,KAAK,IAAI;AAAA,IACtC;AACA,WAAO;AAAA,EACT;AAEA,SAAO,CAAA;AACT;AAOO,SAAS,YAAY,OAA0C;AACpE,QAAM,SAAS,YAAY,KAAK;AAChC,QAAM,MAAgC,CAAA;AACtC,aAAW,CAAC,OAAO,OAAO,KAAK,OAAO,QAAQ,MAAM,GAAG;AACrD,QAAI,KAAK,IAAI,QAAQ,IAAI,CAAC,UAAU,MAAM,OAAO;AAAA,EACnD;AACA,SAAO;AACT;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
function fileExtension(filename) {
|
|
2
|
+
const lastDot = filename.lastIndexOf(".");
|
|
3
|
+
if (lastDot <= 0 || lastDot === filename.length - 1) return "";
|
|
4
|
+
return filename.slice(lastDot + 1).toLowerCase();
|
|
5
|
+
}
|
|
6
|
+
function fileBaseName(filename) {
|
|
7
|
+
const lastDot = filename.lastIndexOf(".");
|
|
8
|
+
if (lastDot <= 0 || lastDot === filename.length - 1) return filename;
|
|
9
|
+
return filename.slice(0, lastDot);
|
|
10
|
+
}
|
|
11
|
+
const CONTROL_CHARS = new RegExp("[\\u0000-\\u001f\\u007f]", "g");
|
|
12
|
+
const RESERVED_CHARS = /[/\\<>:"|?*]+/g;
|
|
13
|
+
function safeFileName(name, options) {
|
|
14
|
+
const replacement = options?.replacement ?? "-";
|
|
15
|
+
const maxLength = Math.max(1, options?.maxLength ?? 255);
|
|
16
|
+
const cleaned = name.replace(CONTROL_CHARS, "").replace(RESERVED_CHARS, replacement).replace(/\s+/g, " ").replace(/^[.\s]+|[.\s]+$/g, "").trim();
|
|
17
|
+
if (cleaned === "") return "file";
|
|
18
|
+
if (cleaned.length <= maxLength) return cleaned;
|
|
19
|
+
const extension = fileExtension(cleaned);
|
|
20
|
+
if (extension === "") return cleaned.slice(0, maxLength);
|
|
21
|
+
const suffix = `.${extension}`;
|
|
22
|
+
const headLength = Math.max(1, maxLength - suffix.length);
|
|
23
|
+
return fileBaseName(cleaned).slice(0, headLength) + suffix;
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
fileExtension as a,
|
|
27
|
+
fileBaseName as f,
|
|
28
|
+
safeFileName as s
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=FileName-CmNjFV7t.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileName-CmNjFV7t.js","sources":["../../src/foundation/files/FileName.ts"],"sourcesContent":["// File-name parsing — extension and base-name extraction, plus safe-name sanitizing for a download. Pure string\n// work, deliberately separate from the DOM helpers so it stays node-testable.\n\n/**\n * Returns the lower-cased extension of a file name, without the leading dot. Yields `''` when there is no\n * extension, when the name is a dotfile (`.gitignore` — the dot starts the name, it doesn't separate one), or\n * when the dot is trailing.\n */\nexport function fileExtension(filename: string): string {\n const lastDot = filename.lastIndexOf('.');\n if (lastDot <= 0 || lastDot === filename.length - 1) return '';\n return filename.slice(lastDot + 1).toLowerCase();\n}\n\n/** Returns the file name without its extension (`report.final.pdf` → `report.final`). Dotfiles are returned whole. */\nexport function fileBaseName(filename: string): string {\n const lastDot = filename.lastIndexOf('.');\n if (lastDot <= 0 || lastDot === filename.length - 1) return filename;\n return filename.slice(0, lastDot);\n}\n\n/** Tunes download-name sanitizing. */\nexport interface SafeFileNameOptions {\n /** The character replacing each illegal run. Defaults to `-`. */\n readonly replacement?: string;\n\n /** Maximum length of the result (extension preserved when truncating). Defaults to `255`. */\n readonly maxLength?: number;\n}\n\n/**\n * Control characters (C0 range plus DEL) — built from escape sequences rather than a regex literal so no literal\n * control byte ever appears in this source file.\n */\n// eslint-disable-next-line no-control-regex -- stripping control chars is the point of this pattern\nconst CONTROL_CHARS = new RegExp('[\\\\u0000-\\\\u001f\\\\u007f]', 'g');\n\n/** Path separators + the characters Windows reserves in a file name. */\nconst RESERVED_CHARS = /[/\\\\<>:\"|?*]+/g;\n\n/**\n * Sanitizes a string into a file name safe across Windows / macOS / Linux: strips path separators, the reserved\n * characters `< > : \" | ? *`, and control characters; collapses whitespace; trims leading/trailing dots and\n * spaces. Truncates to `maxLength` while preserving the extension. Returns `'file'` when nothing usable remains.\n */\nexport function safeFileName(name: string, options?: SafeFileNameOptions): string {\n const replacement = options?.replacement ?? '-';\n const maxLength = Math.max(1, options?.maxLength ?? 255);\n\n const cleaned = name\n .replace(CONTROL_CHARS, '')\n .replace(RESERVED_CHARS, replacement)\n .replace(/\\s+/g, ' ')\n .replace(/^[.\\s]+|[.\\s]+$/g, '')\n .trim();\n\n if (cleaned === '') return 'file';\n if (cleaned.length <= maxLength) return cleaned;\n\n // Truncate the base, keep the extension so the file still opens with the right handler.\n const extension = fileExtension(cleaned);\n if (extension === '') return cleaned.slice(0, maxLength);\n\n const suffix = `.${extension}`;\n const headLength = Math.max(1, maxLength - suffix.length);\n return fileBaseName(cleaned).slice(0, headLength) + suffix;\n}\n"],"names":[],"mappings":"AAQO,SAAS,cAAc,UAA0B;AACtD,QAAM,UAAU,SAAS,YAAY,GAAG;AACxC,MAAI,WAAW,KAAK,YAAY,SAAS,SAAS,EAAG,QAAO;AAC5D,SAAO,SAAS,MAAM,UAAU,CAAC,EAAE,YAAA;AACrC;AAGO,SAAS,aAAa,UAA0B;AACrD,QAAM,UAAU,SAAS,YAAY,GAAG;AACxC,MAAI,WAAW,KAAK,YAAY,SAAS,SAAS,EAAG,QAAO;AAC5D,SAAO,SAAS,MAAM,GAAG,OAAO;AAClC;AAgBA,MAAM,gBAAgB,IAAI,OAAO,4BAA4B,GAAG;AAGhE,MAAM,iBAAiB;AAOhB,SAAS,aAAa,MAAc,SAAuC;AAChF,QAAM,cAAc,SAAS,eAAe;AAC5C,QAAM,YAAY,KAAK,IAAI,GAAG,SAAS,aAAa,GAAG;AAEvD,QAAM,UAAU,KACb,QAAQ,eAAe,EAAE,EACzB,QAAQ,gBAAgB,WAAW,EACnC,QAAQ,QAAQ,GAAG,EACnB,QAAQ,oBAAoB,EAAE,EAC9B,KAAA;AAEH,MAAI,YAAY,GAAI,QAAO;AAC3B,MAAI,QAAQ,UAAU,UAAW,QAAO;AAGxC,QAAM,YAAY,cAAc,OAAO;AACvC,MAAI,cAAc,GAAI,QAAO,QAAQ,MAAM,GAAG,SAAS;AAEvD,QAAM,SAAS,IAAI,SAAS;AAC5B,QAAM,aAAa,KAAK,IAAI,GAAG,YAAY,OAAO,MAAM;AACxD,SAAO,aAAa,OAAO,EAAE,MAAM,GAAG,UAAU,IAAI;AACtD;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { inject, watch, toValue } from "vue";
|
|
2
|
+
const FormControlKey = Symbol("wow-two.formControl");
|
|
3
|
+
function useFormControl() {
|
|
4
|
+
return inject(FormControlKey, null);
|
|
5
|
+
}
|
|
6
|
+
function useFormControlChrome(kind, isRendered) {
|
|
7
|
+
const context = useFormControl();
|
|
8
|
+
watch(
|
|
9
|
+
() => toValue(isRendered),
|
|
10
|
+
(isRenderedNow, _previous, onCleanup) => {
|
|
11
|
+
if (!isRenderedNow || !context) return;
|
|
12
|
+
onCleanup(context.registerChrome(kind));
|
|
13
|
+
},
|
|
14
|
+
{ immediate: true, flush: "post" }
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
FormControlKey as F,
|
|
19
|
+
useFormControlChrome as a,
|
|
20
|
+
useFormControl as u
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=FormControlContext-B71MFW26.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormControlContext-B71MFW26.js","sources":["../../src/foundation/primitives/formControlContext/FormControlContext.ts"],"sourcesContent":["import { inject, toValue, watch, type InjectionKey, type MaybeRefOrGetter } from 'vue';\n\n/** The chrome slots a form control can be described/named by. */\nexport type FormControlChromeKind = 'label' | 'helper' | 'error';\n\nexport interface FormControlContextValue {\n readonly id: string;\n readonly labelId: string;\n readonly helperId: string;\n readonly errorId: string;\n /**\n * The `aria-labelledby` target — `labelId` only while a Label chrome is actually\n * mounted, else `undefined`. Widgets that can't be named via `for` (button\n * triggers, ARIA sliders) reference THIS, never `labelId` directly — referencing\n * a non-rendered id is an axe `aria-valid-attr-value` violation.\n */\n readonly labelledBy?: string;\n /**\n * The `aria-describedby` target — only the ids of helper/error chrome actually\n * mounted (space-joined), else `undefined`. Controls wire this verbatim; never\n * hand-compose `helperId`/`errorId` (dangling ids when the chrome isn't rendered).\n */\n readonly describedBy?: string;\n /**\n * The field's error messages (client + server merged, client first) — fed by the\n * forms-engine `Field` glue so error chrome (`FormErrorMessage`) renders them\n * without hand-wiring. `undefined` outside an engine-driven field.\n */\n readonly errors?: readonly string[];\n readonly isInvalid: boolean;\n readonly isDisabled: boolean;\n readonly isRequired: boolean;\n readonly isReadOnly: boolean;\n /** Registers a mounted chrome node (label/helper/error); returns the unregister. Chrome uses {@link useFormControlChrome}. */\n registerChrome: (kind: FormControlChromeKind) => () => void;\n}\n\nexport const FormControlKey: InjectionKey<FormControlContextValue> = Symbol('wow-two.formControl');\n\n/**\n * Read the surrounding form-control context. Returns `null` when used\n * outside a provider — atoms gracefully degrade to standalone mode.\n *\n * Every field on the returned object is a live getter, so `ctx.describedBy`\n * re-reads on each access. Destructuring takes a one-time snapshot; bind to\n * the object instead.\n */\nexport function useFormControl(): FormControlContextValue | null {\n return inject(FormControlKey, null);\n}\n\n/**\n * Registers a chrome node (label/helper/error) with the surrounding form control\n * while `isRendered` — flips the context's `labelledBy`/`describedBy` to include\n * the node's id only for the frames it actually exists. Call unconditionally;\n * pass `isRendered: false` when the chrome renders nothing or renders under an\n * explicit `id` prop instead of the context id.\n *\n * `isRendered` accepts a ref or getter as well as a plain boolean — the React\n * version re-ran its effect on every render, where Vue needs the reactive source\n * named. `flush: 'post'` is the `useLayoutEffect` equivalent: the registration\n * lands after the DOM updates, before paint.\n */\nexport function useFormControlChrome(\n kind: FormControlChromeKind,\n isRendered: MaybeRefOrGetter<boolean>,\n): void {\n const context = useFormControl();\n watch(\n () => toValue(isRendered),\n (isRenderedNow, _previous, onCleanup) => {\n if (!isRenderedNow || !context) return;\n onCleanup(context.registerChrome(kind));\n },\n { immediate: true, flush: 'post' },\n );\n}\n"],"names":[],"mappings":";AAqCO,MAAM,iBAAwD,OAAO,qBAAqB;AAU1F,SAAS,iBAAiD;AAC/D,SAAO,OAAO,gBAAgB,IAAI;AACpC;AAcO,SAAS,qBACd,MACA,YACM;AACN,QAAM,UAAU,eAAA;AAChB;AAAA,IACE,MAAM,QAAQ,UAAU;AAAA,IACxB,CAAC,eAAe,WAAW,cAAc;AACvC,UAAI,CAAC,iBAAiB,CAAC,QAAS;AAChC,gBAAU,QAAQ,eAAe,IAAI,CAAC;AAAA,IACxC;AAAA,IACA,EAAE,WAAW,MAAM,OAAO,OAAA;AAAA,EAAO;AAErC;"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent, useId, shallowRef, provide, renderSlot } from "vue";
|
|
2
|
+
import { F as FormControlKey } from "./FormControlContext-B71MFW26.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
...{ name: "FormControlProvider" },
|
|
5
|
+
__name: "FormControlProvider",
|
|
6
|
+
props: {
|
|
7
|
+
id: {},
|
|
8
|
+
errors: {},
|
|
9
|
+
isInvalid: { type: Boolean, default: false },
|
|
10
|
+
isDisabled: { type: Boolean, default: false },
|
|
11
|
+
isRequired: { type: Boolean, default: false },
|
|
12
|
+
isReadOnly: { type: Boolean, default: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const generatedId = useId();
|
|
17
|
+
const chrome = shallowRef({ label: 0, helper: 0, error: 0 });
|
|
18
|
+
function registerChrome(kind) {
|
|
19
|
+
chrome.value = { ...chrome.value, [kind]: chrome.value[kind] + 1 };
|
|
20
|
+
return () => {
|
|
21
|
+
chrome.value = { ...chrome.value, [kind]: chrome.value[kind] - 1 };
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
const id = () => props.id ?? generatedId;
|
|
25
|
+
const context = {
|
|
26
|
+
get id() {
|
|
27
|
+
return id();
|
|
28
|
+
},
|
|
29
|
+
get labelId() {
|
|
30
|
+
return `${id()}-label`;
|
|
31
|
+
},
|
|
32
|
+
get helperId() {
|
|
33
|
+
return `${id()}-helper`;
|
|
34
|
+
},
|
|
35
|
+
get errorId() {
|
|
36
|
+
return `${id()}-error`;
|
|
37
|
+
},
|
|
38
|
+
get labelledBy() {
|
|
39
|
+
return chrome.value.label > 0 ? `${id()}-label` : void 0;
|
|
40
|
+
},
|
|
41
|
+
get describedBy() {
|
|
42
|
+
return [
|
|
43
|
+
chrome.value.helper > 0 && `${id()}-helper`,
|
|
44
|
+
chrome.value.error > 0 && `${id()}-error`
|
|
45
|
+
].filter(Boolean).join(" ") || void 0;
|
|
46
|
+
},
|
|
47
|
+
get errors() {
|
|
48
|
+
return props.errors;
|
|
49
|
+
},
|
|
50
|
+
get isInvalid() {
|
|
51
|
+
return props.isInvalid;
|
|
52
|
+
},
|
|
53
|
+
get isDisabled() {
|
|
54
|
+
return props.isDisabled;
|
|
55
|
+
},
|
|
56
|
+
get isRequired() {
|
|
57
|
+
return props.isRequired;
|
|
58
|
+
},
|
|
59
|
+
get isReadOnly() {
|
|
60
|
+
return props.isReadOnly;
|
|
61
|
+
},
|
|
62
|
+
registerChrome
|
|
63
|
+
};
|
|
64
|
+
provide(FormControlKey, context);
|
|
65
|
+
return (_ctx, _cache) => {
|
|
66
|
+
return renderSlot(_ctx.$slots, "default");
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
_sfc_main as _
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js","sources":["../../src/foundation/primitives/formControlContext/FormControlProvider.vue"],"sourcesContent":["<script lang=\"ts\">\nexport interface FormControlProviderProps {\n /** The id override for the auto-generated id (also used as control's `id`). */\n id?: string;\n /** The field's error messages — exposed to chrome via context. */\n errors?: readonly string[];\n isInvalid?: boolean;\n isDisabled?: boolean;\n isRequired?: boolean;\n isReadOnly?: boolean;\n}\n\ntype ChromeCounts = Record<'label' | 'helper' | 'error', number>;\n</script>\n\n<script setup lang=\"ts\">\nimport { provide, shallowRef, useId } from 'vue';\nimport {\n FormControlKey,\n type FormControlChromeKind,\n type FormControlContextValue,\n} from './FormControlContext';\n\n/**\n * Wires Label ↔ control ↔ HelperText/ErrorMessage via stable IDs and shared\n * state flags. Used by `Field` (L4) and the forms-engine `Field` glue — atoms\n * (Input, Label, etc.) read via `useFormControl()` to get the right\n * `id`/`for`/`aria-describedby`. Chrome nodes self-register on mount, so\n * `labelledBy`/`describedBy` only ever reference ids that exist in the DOM.\n */\ndefineOptions({ name: 'FormControlProvider' });\n\nconst props = withDefaults(defineProps<FormControlProviderProps>(), {\n isInvalid: false,\n isDisabled: false,\n isRequired: false,\n isReadOnly: false,\n});\n\n// Vue 3.5's own `useId` — SSR-stable and hydration-safe, the same guarantee\n// React's `useId` gave. The React package wrapped it in `hooks/useId` only to\n// add a debug prefix.\nconst generatedId = useId();\n\nconst chrome = shallowRef<ChromeCounts>({ label: 0, helper: 0, error: 0 });\n\nfunction registerChrome(kind: FormControlChromeKind): () => void {\n chrome.value = { ...chrome.value, [kind]: chrome.value[kind] + 1 };\n return () => {\n chrome.value = { ...chrome.value, [kind]: chrome.value[kind] - 1 };\n };\n}\n\nconst id = (): string => props.id ?? generatedId;\n\n// Getters, so every field re-reads on access exactly like the React context\n// object that was rebuilt each render.\nconst context: FormControlContextValue = {\n get id() {\n return id();\n },\n get labelId() {\n return `${id()}-label`;\n },\n get helperId() {\n return `${id()}-helper`;\n },\n get errorId() {\n return `${id()}-error`;\n },\n get labelledBy() {\n return chrome.value.label > 0 ? `${id()}-label` : undefined;\n },\n get describedBy() {\n return (\n [\n chrome.value.helper > 0 && `${id()}-helper`,\n chrome.value.error > 0 && `${id()}-error`,\n ]\n .filter(Boolean)\n .join(' ') || undefined\n );\n },\n get errors() {\n return props.errors;\n },\n get isInvalid() {\n return props.isInvalid;\n },\n get isDisabled() {\n return props.isDisabled;\n },\n get isRequired() {\n return props.isRequired;\n },\n get isReadOnly() {\n return props.isReadOnly;\n },\n registerChrome,\n};\n\nprovide(FormControlKey, context);\n</script>\n\n<template>\n <slot />\n</template>\n"],"names":["_renderSlot"],"mappings":";;;;;;;;;;;;;;AAgCA,UAAM,QAAQ;AAUd,UAAM,cAAc,MAAA;AAEpB,UAAM,SAAS,WAAyB,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG;AAEzE,aAAS,eAAe,MAAyC;AAC/D,aAAO,QAAQ,EAAE,GAAG,OAAO,OAAO,CAAC,IAAI,GAAG,OAAO,MAAM,IAAI,IAAI,EAAA;AAC/D,aAAO,MAAM;AACX,eAAO,QAAQ,EAAE,GAAG,OAAO,OAAO,CAAC,IAAI,GAAG,OAAO,MAAM,IAAI,IAAI,EAAA;AAAA,MACjE;AAAA,IACF;AAEA,UAAM,KAAK,MAAc,MAAM,MAAM;AAIrC,UAAM,UAAmC;AAAA,MACvC,IAAI,KAAK;AACP,eAAO,GAAA;AAAA,MACT;AAAA,MACA,IAAI,UAAU;AACZ,eAAO,GAAG,IAAI;AAAA,MAChB;AAAA,MACA,IAAI,WAAW;AACb,eAAO,GAAG,IAAI;AAAA,MAChB;AAAA,MACA,IAAI,UAAU;AACZ,eAAO,GAAG,IAAI;AAAA,MAChB;AAAA,MACA,IAAI,aAAa;AACf,eAAO,OAAO,MAAM,QAAQ,IAAI,GAAG,GAAA,CAAI,WAAW;AAAA,MACpD;AAAA,MACA,IAAI,cAAc;AAChB,eACE;AAAA,UACE,OAAO,MAAM,SAAS,KAAK,GAAG,IAAI;AAAA,UAClC,OAAO,MAAM,QAAQ,KAAK,GAAG,IAAI;AAAA,QAAA,EAEhC,OAAO,OAAO,EACd,KAAK,GAAG,KAAK;AAAA,MAEpB;AAAA,MACA,IAAI,SAAS;AACX,eAAO,MAAM;AAAA,MACf;AAAA,MACA,IAAI,YAAY;AACd,eAAO,MAAM;AAAA,MACf;AAAA,MACA,IAAI,aAAa;AACf,eAAO,MAAM;AAAA,MACf;AAAA,MACA,IAAI,aAAa;AACf,eAAO,MAAM;AAAA,MACf;AAAA,MACA,IAAI,aAAa;AACf,eAAO,MAAM;AAAA,MACf;AAAA,MACA;AAAA,IAAA;AAGF,YAAQ,gBAAgB,OAAO;;aAI7BA,WAAQ,KAAA,QAAA,SAAA;AAAA;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const HtmlElement = {
|
|
2
|
+
/** Refers to a `<button>` element. */
|
|
3
|
+
Button: "button",
|
|
4
|
+
/** Refers to an `<a>` (anchor) element. */
|
|
5
|
+
Anchor: "a",
|
|
6
|
+
/** Refers to a `<span>` element. */
|
|
7
|
+
Span: "span",
|
|
8
|
+
/** Refers to a `<div>` element. */
|
|
9
|
+
Div: "div"
|
|
10
|
+
};
|
|
11
|
+
const ButtonType = {
|
|
12
|
+
/** Refers to a non-submitting button. */
|
|
13
|
+
Button: "button",
|
|
14
|
+
/** Refers to a form-submitting button. */
|
|
15
|
+
Submit: "submit",
|
|
16
|
+
/** Refers to a form-resetting button. */
|
|
17
|
+
Reset: "reset"
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
ButtonType as B,
|
|
21
|
+
HtmlElement as H
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=HtmlExtensions-jlKY5f9C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HtmlExtensions-jlKY5f9C.js","sources":["../../src/foundation/utils/HtmlExtensions/HtmlExtensions.ts"],"sourcesContent":["/* HTML attribute & element value enums (const + type pairs). */\n\n/** Defines an HTML element tag name (for intrinsic elements and polymorphic components). */\nexport const HtmlElement = {\n /** Refers to a `<button>` element. */\n Button: 'button',\n /** Refers to an `<a>` (anchor) element. */\n Anchor: 'a',\n /** Refers to a `<span>` element. */\n Span: 'span',\n /** Refers to a `<div>` element. */\n Div: 'div',\n} as const;\n\nexport type HtmlElement = (typeof HtmlElement)[keyof typeof HtmlElement];\n\n/** Defines the `<button type=\"\">` attribute value. */\nexport const ButtonType = {\n /** Refers to a non-submitting button. */\n Button: 'button',\n /** Refers to a form-submitting button. */\n Submit: 'submit',\n /** Refers to a form-resetting button. */\n Reset: 'reset',\n} as const;\n\nexport type ButtonType = (typeof ButtonType)[keyof typeof ButtonType];\n"],"names":[],"mappings":"AAGO,MAAM,cAAc;AAAA;AAAA,EAEzB,QAAQ;AAAA;AAAA,EAER,QAAQ;AAAA;AAAA,EAER,MAAM;AAAA;AAAA,EAEN,KAAK;AACP;AAKO,MAAM,aAAa;AAAA;AAAA,EAExB,QAAQ;AAAA;AAAA,EAER,QAAQ;AAAA;AAAA,EAER,OAAO;AACT;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, unref } from "vue";
|
|
2
|
+
import { c as cn } from "./cn-CzDCF-Ah.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
...{ name: "Icon" },
|
|
5
|
+
__name: "Icon",
|
|
6
|
+
props: {
|
|
7
|
+
icon: {},
|
|
8
|
+
size: { default: 20 }
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const attrs = useAttrs();
|
|
12
|
+
const labelled = computed(() => attrs["aria-label"] != null);
|
|
13
|
+
return (_ctx, _cache) => {
|
|
14
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.icon), {
|
|
15
|
+
size: __props.size,
|
|
16
|
+
class: normalizeClass(unref(cn)("shrink-0")),
|
|
17
|
+
"aria-hidden": labelled.value ? void 0 : true,
|
|
18
|
+
role: labelled.value ? "img" : void 0,
|
|
19
|
+
focusable: "false"
|
|
20
|
+
}, null, 8, ["size", "class", "aria-hidden", "role"]);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
_sfc_main as _
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js","sources":["../../src/foundation/icons/Icon.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { Component, SVGAttributes } from 'vue';\n\nexport interface IconAdapterProps extends SVGAttributes {\n /**\n * The pixel size handed to the adapter. `number` only, NOT `number | string`.\n *\n * Component props are contravariant: an adapter satisfies this type only if it accepts every\n * prop declared here. `lucide-vue-next` types its own `size` as `number`, so widening this to\n * `number | string` — as the React original did, where the looser `SVGProps` made it moot —\n * makes every lucide icon unassignable to `IconAdapter` and forces an `as unknown as` cast at\n * each import site. Narrow is the fix; a CSS-unit size belongs on `class`, not on this prop.\n */\n size?: number;\n}\n\nexport type IconAdapter = Component<IconAdapterProps>;\n\nexport interface IconProps extends Omit<SVGAttributes, 'aria-hidden'> {\n /** The icon component — pass a `lucide-vue-next` icon, custom SVG component, or any matching shape. */\n icon: IconAdapter;\n\n /** The pixel size of the rendered SVG. Default 20. */\n size?: number;\n\n /**\n * The aria-label for when the icon stands alone (decorative siblings\n * should pass it via parent). Sets `role=\"img\"` and unhides from AT.\n * Without it, the icon is `aria-hidden` and decorative.\n */\n 'aria-label'?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue';\nimport { cn } from '../utils/cn';\n\n/**\n * Generic icon wrapper. Accepts any icon component matching the lucide-vue-next\n * shape (`{ size, color, class, ...svgAttrs }`).\n *\n * - Without `aria-label` → decorative, `aria-hidden`.\n * - With `aria-label` → semantic, `role=\"img\"`.\n *\n * Every other SVG attribute falls through to the rendered icon, and — as with\n * the React original's trailing `{...rest}` — a caller-supplied attribute wins\n * over the wrapper's own binding.\n */\ndefineOptions({ name: 'Icon' });\n\nwithDefaults(\n defineProps<{\n /** The icon component — pass a `lucide-vue-next` icon, custom SVG component, or any matching shape. */\n icon: IconAdapter;\n /** The pixel size of the rendered SVG. Default 20. */\n size?: number;\n }>(),\n { size: 20 },\n);\n\nconst attrs = useAttrs();\n\n/** `aria-label` arrives as a fallthrough attr; its presence flips the icon from decorative to semantic. */\nconst labelled = computed(() => attrs['aria-label'] != null);\n</script>\n\n<template>\n <component\n :is=\"icon\"\n :size=\"size\"\n :class=\"cn('shrink-0')\"\n :aria-hidden=\"labelled ? undefined : true\"\n :role=\"labelled ? 'img' : undefined\"\n focusable=\"false\"\n />\n</template>\n"],"names":["_openBlock","_createBlock","_resolveDynamicComponent","_unref"],"mappings":";;;;;;;;;;AA6DA,UAAM,QAAQ,SAAA;AAGd,UAAM,WAAW,SAAS,MAAM,MAAM,YAAY,KAAK,IAAI;;AAIzD,aAAAA,aAAAC,YAOEC,wBANK,QAAA,IAAI,GAAA;AAAA,QACR,MAAM,QAAA;AAAA,QACN,sBAAOC,MAAA,EAAA,EAAE,UAAA,CAAA;AAAA,QACT,eAAa,SAAA,QAAW,SAAS;AAAA,QACjC,MAAM,SAAA,QAAQ,QAAW;AAAA,QAC1B,WAAU;AAAA,MAAA;;;;"}
|