@astryx-vue/core 0.28.1 → 0.30.0
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/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-B195FgtL.js → AlertDialog-D_lrpZz_.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-DpFHPRlE.js → Avatar-IVvsyeGV.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DVU5-fWC.js → Banner-Ctg1puM6.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DVe5Nw9Z.js → BottomSheet-CmNOXlZO.js} +39 -29
- package/dist/{BottomSheet-D3893Ymj.js → BottomSheet-_K41Oliv.js} +8 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-CQa-Jjnn.js → Breadcrumbs-CdGqhFKU.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-yJiHoWps.js → Button-CvHeZGf1.js} +3 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/{ButtonTooltip-CNKOQHYR.js → ButtonTooltip-ZpQP-aQg.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DPhwOTjx.js → Carousel-CbdHb8MD.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bg1IuDMt.js → Chat-B7ccEmTR.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-C-UseBJo.js → CheckboxInput-5r6VWqId.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DGM-cgX5.js → CheckboxListItem-CKeQzQ0W.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-3QLhu3jZ.js → CodeBlock-4i1vvmOc.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CtY5ZCR7.js → CommandPalette-BMwvTjff.js} +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CZiUA6Gm.js → ComplexSelector-B4iFyilD.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-8I420g7H.js → ContextMenu-DquYeIEF.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-KZF_A_31.js → DateInput-MNNyi4XK.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-4GCWgLFN.js → DateRangeInput-DOHntScL.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BGcdOmRp.js → DateTimeInput-BaghFHW6.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-DjhG_vpE.js → Dialog-CGf64DqF.js} +1 -1
- package/dist/{Dialog-CKDlXonX.js → Dialog-Ctha_b_L.js} +1 -1
- package/dist/{DialogHeader-C1Bz4Knk.js → DialogHeader-BxTV37GT.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BqcPP0z7.js → Drawer-DAnc2ut9.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CSqkl-Xl.js → DropdownMenu-BPi0pm0w.js} +2 -2
- package/dist/{DropdownMenu-B-dBiomz.js → DropdownMenu-DuSVFQoS.js} +3 -3
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DNjqNAT3.js → EmptyState-BGo1nrnT.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DrUMz0oj.js → Field-d5R_kRMv.js} +1 -1
- package/dist/{FieldInfoTip-DmDOcxU1.js → FieldInfoTip-BhKtjq3g.js} +2 -2
- package/dist/{FieldLabel-DsFZnW1l.js → FieldLabel-BHNpYFx7.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-0u4zjJfx.js → FileInput-BCg4HROm.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BG1PBVkf.js → Heading-BFK3PftX.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-Fr6RLRR8.js → HoverCard-DGjsPn-Q.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CEjiXpUg.js → IconButton-BZgU_THt.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CKRaCO6I.js → InfoTip-E2-OzKti.js} +1 -1
- package/dist/{InputClearButton-ByUJXRmY.js → InputClearButton-B62_uexC.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-H8DP0TAG.js → InputGroup-DKBqRYFf.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CEmlN48L.js → InternationalizationProvider-C-hZoz8a.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-LI6h7LFn.js → Lightbox-Bou1gTfv.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Dx2ql41g.js → Link-CaJ5lmKk.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BHWf2IOO.js → Markdown-BE6vdvPG.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-GPcHAauX.js → MoreMenu-CNzTagqr.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BSA613nO.js → MultiSelector-MGEiRi1W.js} +6 -6
- package/dist/{NavDisclosure-B66SHKdd.js → NavDisclosure-DsUYuMJr.js} +1 -1
- package/dist/{NavHeadingSurface-BZCzkCPJ.js → NavHeadingSurface-QdM33nOf.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BoKuJq-K.js → NavMenu-ZN5cqCxO.js} +1 -1
- package/dist/{NavMenuItem-Ez3_K8iI.js → NavMenuItem-xm3e0V8q.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-lqUmTsqB.js → NumberInput-D4ECOHh_.js} +4 -4
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B6En7wIj.js → OverflowList-m1tf_fR1.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DWfvdCpK.js → Pagination-BdjxuxM3.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CB5UYJZc.js → Popover-DEj8xWN-.js} +5 -5
- package/dist/PowerSearch/index.d.ts +2 -2
- package/dist/PowerSearch/index.js +1 -1
- package/dist/PowerSearch-BJDFietK.js +4829 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-yw2BCtB_.js → ProgressBar-DCAEXJuP.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B8QoJyJu.js → RadioGroup-B3UoJrOA.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BEv82wbs.js → RadioListItem-CD7kUGlN.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BkWz-I2J.js → SegmentedControl-DGd6JlaD.js} +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-4sexgsUO.js → Selector-BD0u-5Fy.js} +5 -5
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-B_0Fv-ZU.js → SideNav-DoqCLRiX.js} +4 -4
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Bmksx8ng.js → Slider-DHR7HZ7N.js} +2 -2
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bz4l43St.js → StatusDot-DFJavm30.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CeNEvvTn.js → Switch-CnFC7jGw.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BLLxHXwu.js → TabList-fMlX8m6n.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CRLL1RGr.js → Table-DoKmVdhZ.js} +13 -13
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DkSHitKh.js → Text-D48QFTtL.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CAcjMvls.js → TextArea-y9mmYAIy.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BvQQTG75.js → TextInput-BLGEh7vE.js} +5 -5
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Bv-M13fy.js → Thumbnail-Dm8krgGF.js} +2 -2
- package/dist/{TimeField-B83zAjAA.js → TimeField-DS30hnty.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BoIZG-dF.js → TimeInput-DcY4b3dg.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-qjI_QrCz.js → Timer-DgQdZAEa.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CJ_HUcek.js → Timestamp-BhBuBHu8.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CFpOSuAr.js → Toast-CnLk7LzS.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BtXMvoOA.js → ToggleButton-B9IJcpdJ.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DrkIayoF.js → Tokenizer-D7ZCTbnf.js} +165 -154
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-ByLqPCP7.js → Tooltip-CxzlUVN0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Rcz2zriX.js → TopNav-CK_F6Ud5.js} +3 -3
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-D2O3n477.js → Typeahead-Cs-46obm.js} +5 -5
- package/dist/composables/index.js +4 -4
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-DW_ASIiu.d.ts → index-BIqW3_GP.d.ts} +3 -3
- package/dist/{index-MBiq-7Np.d.ts → index-BL9fE6gs.d.ts} +7 -7
- package/dist/{index-GyRgg1-v.d.ts → index-BVeTS-R5.d.ts} +6 -6
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-ClJINYPl.d.ts → index-C6IcBhAn.d.ts} +2 -2
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-C0nKJSA2.d.ts → index-D33x3IfY.d.ts} +1 -1
- package/dist/{index--kbwaSXW.d.ts → index-DGe-ApvN.d.ts} +2 -2
- package/dist/{index-ZKBj_1nu.d.ts → index-DIw5D3zj.d.ts} +2 -2
- package/dist/{index-BqQlY3fL.d.ts → index-DQ3akoRZ.d.ts} +4 -4
- package/dist/{index-0RIgvtdm.d.ts → index-DVS4jM-l.d.ts} +1 -1
- package/dist/{index-CBH9Gyte.d.ts → index-DvrrgBYc.d.ts} +1 -1
- package/dist/{index-aHC2C89h.d.ts → index-Ea2V_FSK.d.ts} +4 -4
- package/dist/{index-CbA8rR_b.d.ts → index-FeZXsFO-.d.ts} +2 -2
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-0COIBuxA.d.ts → index-hUa5oQ5O.d.ts} +93 -82
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +27 -27
- package/dist/index.js +83 -81
- package/dist/{lazyBottomSheet-BK8yIqcZ.js → lazyBottomSheet-Cmd-WMEE.js} +1 -1
- package/dist/{loadCatalog-Blm5sm1o.js → loadCatalog-FwMzmCx1.js} +131 -1
- package/dist/{loadCatalog-DDLjLKYA.d.ts → loadCatalog-VYidi1Xi.d.ts} +48 -1
- package/dist/locale/index.d.ts +3 -3
- package/dist/locale/index.js +3 -3
- package/dist/{locale-Y7dHbjs4.js → locale-CVpkedoa.js} +1 -1
- package/dist/{useLayerMountTarget-BmZyeKWE.js → mount-7R_s-bHB.js} +15 -42
- package/dist/{stillPointerGate-D3loXLh7.js → stillPointerGate-BbMABRyU.js} +1 -1
- package/dist/{tooltipFocusRules-DvVDuqZI.js → tooltipFocusRules-CpUOvFEU.js} +1 -1
- package/dist/{tooltipTriggerRules-DyPyWOdP.js → tooltipTriggerRules-zN2xGd9K.js} +1 -1
- package/dist/{triggerVariant-DG0VhG-X.js → triggerVariant-DPuBmzpp.js} +1 -1
- package/dist/{useDismiss-C7_S7qUA.js → useDismiss-BKtyCwx4.js} +1 -1
- package/dist/{useInputStatusIcon-CGj9gMj8.js → useInputStatusIcon-BngSzjVd.js} +1 -1
- package/dist/useLayerMountTarget-zwZQglr2.js +44 -0
- package/dist/{useTooltip-Bsm43vbi.js → useTooltip-DvBKna-w.js} +3 -3
- package/dist/{useTruncationTooltip-wc6Lzz34.js → useTruncationTooltip-DNAii2Nv.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-Do0jOyEm.js → useTypeaheadMenuConfig-BT9Lwsu7.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +5 -0
- package/styles/power-search-sheet.css +205 -0
- package/styles.css +1 -0
- package/dist/PowerSearch-BW0jBC1d.js +0 -2762
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-B9IJcpdJ.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-CNZyA18Y.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-C6BzQzvp.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Button-CvHeZGf1.js";
|
|
5
5
|
import { n as buttonHitAreaContextKey } from "./context-Cgkyk-b7.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-DQ3akoRZ.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerPresentation, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-D7ZCTbnf.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,43 +1,160 @@
|
|
|
1
1
|
import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { t as _sfc_main$5 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$5 } from "./Button-CvHeZGf1.js";
|
|
4
4
|
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
5
5
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
|
-
import { t as _sfc_main$6 } from "./ButtonTooltip-
|
|
6
|
+
import { t as _sfc_main$6 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
8
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
9
9
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
10
10
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
11
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
11
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BngSzjVd.js";
|
|
12
12
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
13
13
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
14
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
15
|
-
import { t as _sfc_main$7 } from "./Dialog-
|
|
16
|
-
import { t as _sfc_main$8 } from "./Heading-
|
|
15
|
+
import { t as _sfc_main$7 } from "./Dialog-CGf64DqF.js";
|
|
16
|
+
import { t as _sfc_main$8 } from "./Heading-BFK3PftX.js";
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
18
|
import { t as _sfc_main$9 } from "./Stack-DPB-Ztf7.js";
|
|
19
|
-
import { t as _sfc_main$10 } from "./Text-
|
|
19
|
+
import { t as _sfc_main$10 } from "./Text-D48QFTtL.js";
|
|
20
20
|
import { t as _sfc_main$11 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
21
21
|
import { t as useHeldPresentation } from "./useHeldPresentation-7MH-RlSF.js";
|
|
22
|
-
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
22
|
+
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-Cmd-WMEE.js";
|
|
23
23
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
24
24
|
import { t as _sfc_main$12 } from "./Spinner-DEVPDsD0.js";
|
|
25
|
-
import { t as _sfc_main$13 } from "./Field-
|
|
25
|
+
import { t as _sfc_main$13 } from "./Field-d5R_kRMv.js";
|
|
26
26
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
27
27
|
import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
28
|
-
import { t as _sfc_main$14 } from "./EmptyState-
|
|
28
|
+
import { t as _sfc_main$14 } from "./EmptyState-BGo1nrnT.js";
|
|
29
29
|
import { t as _sfc_main$15 } from "./Token-C7Dt5ygK.js";
|
|
30
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
31
|
-
import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
32
|
-
import { t as _sfc_main$17 } from "./TextInput-
|
|
30
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BbMABRyU.js";
|
|
31
|
+
import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-BT9Lwsu7.js";
|
|
32
|
+
import { t as _sfc_main$17 } from "./TextInput-BLGEh7vE.js";
|
|
33
33
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
34
34
|
import "../styles/layer.css";
|
|
35
35
|
import "../styles/alert-dialog.css";
|
|
36
36
|
import "../styles/visually-hidden-utility.css";
|
|
37
|
-
import "../styles/typeahead.css";
|
|
38
37
|
import "../styles/sheet-confirmation.css";
|
|
38
|
+
import "../styles/typeahead.css";
|
|
39
39
|
import "../styles/tokenizer-sheet.css";
|
|
40
40
|
import "../styles/tokenizer.css";
|
|
41
|
+
//#region src/layer/SheetConfirmation.vue
|
|
42
|
+
const _hoisted_1$3 = { class: "astryx-alert-dialog__content" };
|
|
43
|
+
const _hoisted_2$3 = { class: "astryx-alert-dialog__footer" };
|
|
44
|
+
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
45
|
+
name: "AstryxSheetConfirmation",
|
|
46
|
+
__name: "SheetConfirmation",
|
|
47
|
+
props: {
|
|
48
|
+
isOpen: { type: Boolean },
|
|
49
|
+
title: {},
|
|
50
|
+
description: {},
|
|
51
|
+
cancelLabel: {},
|
|
52
|
+
actionLabel: {}
|
|
53
|
+
},
|
|
54
|
+
emits: ["openChange", "action"],
|
|
55
|
+
setup(__props, { emit: __emit }) {
|
|
56
|
+
/**
|
|
57
|
+
* 触屏底部弹层盖在自己上面的确认框:「全部清除」和「放弃改动」共用(上游
|
|
58
|
+
* internal/SheetConfirmation.tsx)。
|
|
59
|
+
*
|
|
60
|
+
* 和 AlertDialog 不同:能点遮罩关闭;两个大号按钮占满整行、上下排开、隔开一点,
|
|
61
|
+
* 危险操作在阅读顺序里排前面,安全操作先拿到焦点。保留 alert-dialog 的主题挂点。
|
|
62
|
+
*/
|
|
63
|
+
const emit = __emit;
|
|
64
|
+
const titleId = `astryx-sheet-confirmation-${useId()}`;
|
|
65
|
+
const descriptionId = `${titleId}-description`;
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
68
|
+
class: "astryx-alert-dialog astryx-sheet-confirmation",
|
|
69
|
+
"is-open": __props.isOpen,
|
|
70
|
+
purpose: "info",
|
|
71
|
+
role: "alertdialog",
|
|
72
|
+
"aria-labelledby": titleId,
|
|
73
|
+
"aria-describedby": descriptionId,
|
|
74
|
+
width: 400,
|
|
75
|
+
onOpenChange: _cache[2] || (_cache[2] = ($event) => emit("openChange", $event))
|
|
76
|
+
}, {
|
|
77
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$3, [createVNode(_sfc_main$8, {
|
|
78
|
+
id: titleId,
|
|
79
|
+
class: "astryx-alert-dialog__title astryx-alert-dialog-title",
|
|
80
|
+
level: 2
|
|
81
|
+
}, {
|
|
82
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
83
|
+
_: 1
|
|
84
|
+
}), createVNode(_sfc_main$10, {
|
|
85
|
+
id: descriptionId,
|
|
86
|
+
as: "div",
|
|
87
|
+
class: "astryx-alert-dialog__description astryx-alert-dialog-description",
|
|
88
|
+
color: "secondary",
|
|
89
|
+
type: "body"
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.description), 1)]),
|
|
92
|
+
_: 1
|
|
93
|
+
})]), createElementVNode("div", _hoisted_2$3, [createVNode(_sfc_main$9, {
|
|
94
|
+
class: "astryx-alert-dialog__actions",
|
|
95
|
+
direction: "vertical",
|
|
96
|
+
gap: 4,
|
|
97
|
+
"h-align": "stretch"
|
|
98
|
+
}, {
|
|
99
|
+
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
100
|
+
class: "astryx-sheet-confirmation__action",
|
|
101
|
+
label: __props.actionLabel,
|
|
102
|
+
variant: "destructive",
|
|
103
|
+
size: "lg",
|
|
104
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("action"))
|
|
105
|
+
}, null, 8, ["label"]), createVNode(_sfc_main$5, {
|
|
106
|
+
class: "astryx-sheet-confirmation__action",
|
|
107
|
+
label: __props.cancelLabel,
|
|
108
|
+
variant: "secondary",
|
|
109
|
+
size: "lg",
|
|
110
|
+
"data-autofocus": "",
|
|
111
|
+
onClick: _cache[1] || (_cache[1] = ($event) => emit("openChange", false))
|
|
112
|
+
}, null, 8, ["label"])]),
|
|
113
|
+
_: 1
|
|
114
|
+
})])]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["is-open"]);
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/composables/internal/dismissSearchOnTouchDrag.ts
|
|
122
|
+
/**
|
|
123
|
+
* 在结果列表上用手指上下拖动时,把焦点从搜索框挪开(上游
|
|
124
|
+
* internal/useDismissSearchOnTouchDrag.ts)。
|
|
125
|
+
*
|
|
126
|
+
* 搜索框失去焦点,屏幕键盘就收起来,下面的行露出来;输入的文字保留。焦点交给调用方
|
|
127
|
+
* 给的目标(弹层自己的面板),不会落到弹层后面的页面上。不监听 scroll:过滤结果会
|
|
128
|
+
* 把 scrollTop 收回来,打字时也会触发 scroll。小幅移动、轻点、多指手势都不动焦点。
|
|
129
|
+
*/
|
|
130
|
+
const DRAG_THRESHOLD_PX = 8;
|
|
131
|
+
function dismissSearchOnTouchDrag(getSearchInputs, getFocusTarget) {
|
|
132
|
+
let startY = null;
|
|
133
|
+
const reset = () => {
|
|
134
|
+
startY = null;
|
|
135
|
+
};
|
|
136
|
+
return {
|
|
137
|
+
onTouchstart(event) {
|
|
138
|
+
startY = event.touches.length === 1 ? event.touches[0].clientY : null;
|
|
139
|
+
},
|
|
140
|
+
onTouchmove(event) {
|
|
141
|
+
if (event.touches.length !== 1) {
|
|
142
|
+
reset();
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
if (startY == null || Math.abs(event.touches[0].clientY - startY) < DRAG_THRESHOLD_PX) return;
|
|
146
|
+
reset();
|
|
147
|
+
const focused = getSearchInputs().find((input) => input != null && input === input.ownerDocument.activeElement);
|
|
148
|
+
if (focused == null) return;
|
|
149
|
+
const target = getFocusTarget?.();
|
|
150
|
+
if (target != null) target.focus({ preventScroll: true });
|
|
151
|
+
else focused.blur();
|
|
152
|
+
},
|
|
153
|
+
onTouchend: reset,
|
|
154
|
+
onTouchcancel: reset
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
//#endregion
|
|
41
158
|
//#region src/composables/internal/useTokenRemoveTap.ts
|
|
42
159
|
/**
|
|
43
160
|
* 手指点 Token 自带的删除按钮时,别把触屏键盘弹起来。
|
|
@@ -148,43 +265,6 @@ function pickInputAttrs(attrs) {
|
|
|
148
265
|
return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
|
|
149
266
|
}
|
|
150
267
|
//#endregion
|
|
151
|
-
//#region src/composables/internal/dismissSearchOnTouchDrag.ts
|
|
152
|
-
/**
|
|
153
|
-
* 在结果列表上用手指上下拖动时,把焦点从搜索框挪开(上游
|
|
154
|
-
* internal/useDismissSearchOnTouchDrag.ts)。
|
|
155
|
-
*
|
|
156
|
-
* 搜索框失去焦点,屏幕键盘就收起来,下面的行露出来;输入的文字保留。焦点交给调用方
|
|
157
|
-
* 给的目标(弹层自己的面板),不会落到弹层后面的页面上。不监听 scroll:过滤结果会
|
|
158
|
-
* 把 scrollTop 收回来,打字时也会触发 scroll。小幅移动、轻点、多指手势都不动焦点。
|
|
159
|
-
*/
|
|
160
|
-
const DRAG_THRESHOLD_PX = 8;
|
|
161
|
-
function dismissSearchOnTouchDrag(getSearchInputs, getFocusTarget) {
|
|
162
|
-
let startY = null;
|
|
163
|
-
const reset = () => {
|
|
164
|
-
startY = null;
|
|
165
|
-
};
|
|
166
|
-
return {
|
|
167
|
-
onTouchstart(event) {
|
|
168
|
-
startY = event.touches.length === 1 ? event.touches[0].clientY : null;
|
|
169
|
-
},
|
|
170
|
-
onTouchmove(event) {
|
|
171
|
-
if (event.touches.length !== 1) {
|
|
172
|
-
reset();
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
if (startY == null || Math.abs(event.touches[0].clientY - startY) < DRAG_THRESHOLD_PX) return;
|
|
176
|
-
reset();
|
|
177
|
-
const focused = getSearchInputs().find((input) => input != null && input === input.ownerDocument.activeElement);
|
|
178
|
-
if (focused == null) return;
|
|
179
|
-
const target = getFocusTarget?.();
|
|
180
|
-
if (target != null) target.focus({ preventScroll: true });
|
|
181
|
-
else focused.blur();
|
|
182
|
-
},
|
|
183
|
-
onTouchend: reset,
|
|
184
|
-
onTouchcancel: reset
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
//#endregion
|
|
188
268
|
//#region src/composables/internal/sheetDraft.ts
|
|
189
269
|
/** 两份选择是否是同一组条目,不看顺序。 */
|
|
190
270
|
function hasSameSelection(a, b) {
|
|
@@ -219,86 +299,6 @@ function nameSheetDraftChange(valueAtOpen, draftValue, lastDraftChange) {
|
|
|
219
299
|
};
|
|
220
300
|
return null;
|
|
221
301
|
}
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/layer/SheetConfirmation.vue
|
|
224
|
-
const _hoisted_1$3 = { class: "astryx-alert-dialog__content" };
|
|
225
|
-
const _hoisted_2$3 = { class: "astryx-alert-dialog__footer" };
|
|
226
|
-
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
227
|
-
name: "AstryxSheetConfirmation",
|
|
228
|
-
__name: "SheetConfirmation",
|
|
229
|
-
props: {
|
|
230
|
-
isOpen: { type: Boolean },
|
|
231
|
-
title: {},
|
|
232
|
-
description: {},
|
|
233
|
-
cancelLabel: {},
|
|
234
|
-
actionLabel: {}
|
|
235
|
-
},
|
|
236
|
-
emits: ["openChange", "action"],
|
|
237
|
-
setup(__props, { emit: __emit }) {
|
|
238
|
-
/**
|
|
239
|
-
* 触屏底部弹层盖在自己上面的确认框:「全部清除」和「放弃改动」共用(上游
|
|
240
|
-
* internal/SheetConfirmation.tsx)。
|
|
241
|
-
*
|
|
242
|
-
* 和 AlertDialog 不同:能点遮罩关闭;两个大号按钮占满整行、上下排开、隔开一点,
|
|
243
|
-
* 危险操作在阅读顺序里排前面,安全操作先拿到焦点。保留 alert-dialog 的主题挂点。
|
|
244
|
-
*/
|
|
245
|
-
const emit = __emit;
|
|
246
|
-
const titleId = `astryx-sheet-confirmation-${useId()}`;
|
|
247
|
-
const descriptionId = `${titleId}-description`;
|
|
248
|
-
return (_ctx, _cache) => {
|
|
249
|
-
return openBlock(), createBlock(_sfc_main$7, {
|
|
250
|
-
class: "astryx-alert-dialog astryx-sheet-confirmation",
|
|
251
|
-
"is-open": __props.isOpen,
|
|
252
|
-
purpose: "info",
|
|
253
|
-
role: "alertdialog",
|
|
254
|
-
"aria-labelledby": titleId,
|
|
255
|
-
"aria-describedby": descriptionId,
|
|
256
|
-
width: 400,
|
|
257
|
-
onOpenChange: _cache[2] || (_cache[2] = ($event) => emit("openChange", $event))
|
|
258
|
-
}, {
|
|
259
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$3, [createVNode(_sfc_main$8, {
|
|
260
|
-
id: titleId,
|
|
261
|
-
class: "astryx-alert-dialog__title astryx-alert-dialog-title",
|
|
262
|
-
level: 2
|
|
263
|
-
}, {
|
|
264
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
265
|
-
_: 1
|
|
266
|
-
}), createVNode(_sfc_main$10, {
|
|
267
|
-
id: descriptionId,
|
|
268
|
-
as: "div",
|
|
269
|
-
class: "astryx-alert-dialog__description astryx-alert-dialog-description",
|
|
270
|
-
color: "secondary",
|
|
271
|
-
type: "body"
|
|
272
|
-
}, {
|
|
273
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.description), 1)]),
|
|
274
|
-
_: 1
|
|
275
|
-
})]), createElementVNode("div", _hoisted_2$3, [createVNode(_sfc_main$9, {
|
|
276
|
-
class: "astryx-alert-dialog__actions",
|
|
277
|
-
direction: "vertical",
|
|
278
|
-
gap: 4,
|
|
279
|
-
"h-align": "stretch"
|
|
280
|
-
}, {
|
|
281
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
282
|
-
class: "astryx-sheet-confirmation__action",
|
|
283
|
-
label: __props.actionLabel,
|
|
284
|
-
variant: "destructive",
|
|
285
|
-
size: "lg",
|
|
286
|
-
onClick: _cache[0] || (_cache[0] = ($event) => emit("action"))
|
|
287
|
-
}, null, 8, ["label"]), createVNode(_sfc_main$5, {
|
|
288
|
-
class: "astryx-sheet-confirmation__action",
|
|
289
|
-
label: __props.cancelLabel,
|
|
290
|
-
variant: "secondary",
|
|
291
|
-
size: "lg",
|
|
292
|
-
"data-autofocus": "",
|
|
293
|
-
onClick: _cache[1] || (_cache[1] = ($event) => emit("openChange", false))
|
|
294
|
-
}, null, 8, ["label"])]),
|
|
295
|
-
_: 1
|
|
296
|
-
})])]),
|
|
297
|
-
_: 1
|
|
298
|
-
}, 8, ["is-open"]);
|
|
299
|
-
};
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
302
|
/** 离列表底部这么近就画下一批。 */
|
|
303
303
|
const LOAD_MORE_THRESHOLD_PX = 200;
|
|
304
304
|
/**
|
|
@@ -1261,32 +1261,19 @@ function useTokenizerMenu(options) {
|
|
|
1261
1261
|
};
|
|
1262
1262
|
}
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
//#region src/
|
|
1264
|
+
//#region src/layer/useSheetPresentation.ts
|
|
1265
1265
|
const warnedInertSets = /* @__PURE__ */ new Set();
|
|
1266
|
-
/** 在底部弹层呈现里没有地方生效的属性名。 */
|
|
1267
|
-
function inertSheetProps(props, hasItemSlot) {
|
|
1268
|
-
return [
|
|
1269
|
-
["item slot", hasItemSlot],
|
|
1270
|
-
["hasClear", Boolean(props.hasClear || props.clearable)],
|
|
1271
|
-
["hasEntriesOnFocus", Boolean(props.hasEntriesOnFocus || props.showOnFocus)],
|
|
1272
|
-
["menuWidth", props.menuWidth != null],
|
|
1273
|
-
["menu", props.menu != null],
|
|
1274
|
-
["overflow", props.overflow != null && props.overflow !== "none"],
|
|
1275
|
-
["hasAutoFocus", Boolean(props.hasAutoFocus)]
|
|
1276
|
-
].filter(([, isSet]) => isSet).map(([name]) => name);
|
|
1277
|
-
}
|
|
1278
1266
|
/**
|
|
1279
|
-
* Tokenizer
|
|
1267
|
+
* 字段的呈现:行内控件还是触屏底部弹层(上游 isSheetPresented 闩锁),Tokenizer 和 PowerSearch 共用。
|
|
1280
1268
|
*
|
|
1281
1269
|
* 换呈现时焦点在旧控件上,就交给新控件(输入框和触发器互换),不掉回页面。
|
|
1282
|
-
*
|
|
1283
|
-
*
|
|
1270
|
+
* 底部弹层可能成为呈现时先把它的模块加载好。只描述行内控件的属性在底部弹层里
|
|
1271
|
+
* 没有地方生效,开发期按组件提示一次。
|
|
1284
1272
|
*/
|
|
1285
|
-
function
|
|
1286
|
-
const { props } = options;
|
|
1273
|
+
function useSheetPresentation(options) {
|
|
1287
1274
|
const sheetOpen = ref(false);
|
|
1288
1275
|
let isHandingOff = false;
|
|
1289
|
-
const { isSheet, settle } = useHeldPresentation(
|
|
1276
|
+
const { isSheet, settle } = useHeldPresentation(options.presentation, sheetOpen);
|
|
1290
1277
|
watch(isSheet, (sheet) => {
|
|
1291
1278
|
if (sheet) preloadBottomSheet();
|
|
1292
1279
|
const root = options.root();
|
|
@@ -1302,12 +1289,12 @@ function useTokenizerPresentation(options) {
|
|
|
1302
1289
|
});
|
|
1303
1290
|
}, { flush: "pre" });
|
|
1304
1291
|
if (isDevBuild()) {
|
|
1305
|
-
const inert = computed(() => isSheet.value ?
|
|
1292
|
+
const inert = computed(() => isSheet.value ? options.inertProps() : []);
|
|
1306
1293
|
watch(inert, (names) => {
|
|
1307
|
-
const key = names.join(",")
|
|
1308
|
-
if (
|
|
1294
|
+
const key = `${options.component}:${names.join(",")}`;
|
|
1295
|
+
if (names.length === 0 || warnedInertSets.has(key)) return;
|
|
1309
1296
|
warnedInertSets.add(key);
|
|
1310
|
-
devWarn(
|
|
1297
|
+
devWarn(options.component, `\`${names.join("`, `")}\` ${names.length === 1 ? "has" : "have"} no surface in the bottom-sheet presentation and ${names.length === 1 ? "is" : "are"} not rendered there. Pass \`presentation="popover"\` to keep the inline field on every device.`);
|
|
1311
1298
|
}, { immediate: true });
|
|
1312
1299
|
}
|
|
1313
1300
|
return {
|
|
@@ -1320,6 +1307,30 @@ function useTokenizerPresentation(options) {
|
|
|
1320
1307
|
};
|
|
1321
1308
|
}
|
|
1322
1309
|
//#endregion
|
|
1310
|
+
//#region src/Tokenizer/useTokenizerPresentation.ts
|
|
1311
|
+
/** 在底部弹层呈现里没有地方生效的属性名。 */
|
|
1312
|
+
function inertSheetProps(props, hasItemSlot) {
|
|
1313
|
+
return [
|
|
1314
|
+
["item slot", hasItemSlot],
|
|
1315
|
+
["hasClear", Boolean(props.hasClear || props.clearable)],
|
|
1316
|
+
["hasEntriesOnFocus", Boolean(props.hasEntriesOnFocus || props.showOnFocus)],
|
|
1317
|
+
["menuWidth", props.menuWidth != null],
|
|
1318
|
+
["menu", props.menu != null],
|
|
1319
|
+
["overflow", props.overflow != null && props.overflow !== "none"],
|
|
1320
|
+
["hasAutoFocus", Boolean(props.hasAutoFocus)]
|
|
1321
|
+
].filter(([, isSet]) => isSet).map(([name]) => name);
|
|
1322
|
+
}
|
|
1323
|
+
/** Tokenizer 的呈现:行内浮层还是触屏底部弹层,见 useSheetPresentation。 */
|
|
1324
|
+
function useTokenizerPresentation(options) {
|
|
1325
|
+
return useSheetPresentation({
|
|
1326
|
+
component: "Tokenizer",
|
|
1327
|
+
presentation: () => options.props.presentation ?? "adaptive",
|
|
1328
|
+
root: options.root,
|
|
1329
|
+
focusControl: options.focusControl,
|
|
1330
|
+
inertProps: () => inertSheetProps(options.props, options.hasItemSlot())
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
//#endregion
|
|
1323
1334
|
//#region src/Tokenizer/useTokenizerSelection.ts
|
|
1324
1335
|
/** Tokenizer 选择的增删:两种呈现共用提交和播报,行内菜单的焦点与清单去留也在这里。 */
|
|
1325
1336
|
function useTokenizerSelection(options) {
|
|
@@ -2064,4 +2075,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2064
2075
|
}
|
|
2065
2076
|
});
|
|
2066
2077
|
//#endregion
|
|
2067
|
-
export {
|
|
2078
|
+
export { _sfc_main$3 as a, dismissSearchOnTouchDrag as i, useSheetPresentation as n, useTokenRemoveTap as r, _sfc_main as t };
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-hUa5oQ5O.js";
|
|
2
2
|
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CJd4JkbJ.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as useTooltip } from "../useTooltip-
|
|
2
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as useTooltip } from "../useTooltip-DvBKna-w.js";
|
|
2
|
+
import { t as _sfc_main } from "../Tooltip-CxzlUVN0.js";
|
|
3
3
|
export { _sfc_main as Tooltip, useTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-
|
|
1
|
+
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-DvBKna-w.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-hUa5oQ5O.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-CK_F6Ud5.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -12,9 +12,9 @@ import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js
|
|
|
12
12
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
13
13
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
14
14
|
import { t as _sfc_main$12 } from "./NavItem-kj9FbbFS.js";
|
|
15
|
-
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-
|
|
16
|
-
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-
|
|
17
|
-
import { t as _sfc_main$16 } from "./NavHeadingSurface-
|
|
15
|
+
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-DsUYuMJr.js";
|
|
16
|
+
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-xm3e0V8q.js";
|
|
17
|
+
import { t as _sfc_main$16 } from "./NavHeadingSurface-QdM33nOf.js";
|
|
18
18
|
import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
19
19
|
import "../styles/top-nav.css";
|
|
20
20
|
//#region src/MobileNav/MobileNavScope.vue
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { c as TypeaheadSize, i as TypeaheadItemProps, l as TypeaheadSlots, r as TypeaheadEmits, s as TypeaheadProps, t as BaseTypeaheadProps, u as TypeaheadStatus } from "../types-DL-hRibg.js";
|
|
2
|
-
import { n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { n as _default$1, r as _default, t as _default$2 } from "../index-Ea2V_FSK.js";
|
|
3
3
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-BT9Lwsu7.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-Cs-46obm.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
3
3
|
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./ButtonTooltip-
|
|
4
|
+
import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BngSzjVd.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
12
|
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
13
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$5 } from "./Field-d5R_kRMv.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
16
|
import { t as _sfc_main$6 } from "./Token-C7Dt5ygK.js";
|
|
17
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
18
|
-
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
17
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BbMABRyU.js";
|
|
18
|
+
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-BT9Lwsu7.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
20
20
|
import "../styles/layer.css";
|
|
21
21
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { t as usePressFeedback } from "../usePressFeedback-BhNcuxQv.js";
|
|
3
|
-
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-
|
|
4
|
-
import { t as useDismiss } from "../useDismiss-
|
|
5
|
-
import { n as useLayer } from "../tooltipTriggerRules-
|
|
3
|
+
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-zwZQglr2.js";
|
|
4
|
+
import { t as useDismiss } from "../useDismiss-BKtyCwx4.js";
|
|
5
|
+
import { n as useLayer } from "../tooltipTriggerRules-zN2xGd9K.js";
|
|
6
6
|
import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
|
|
8
8
|
import { t as characterCount } from "../characters-wTnzjkkR.js";
|
|
@@ -25,7 +25,7 @@ import { t as useFocusTrap } from "../useFocusTrap-BD9POtMp.js";
|
|
|
25
25
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
26
26
|
import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-hv4NYIUi.js";
|
|
27
27
|
import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
|
|
28
|
-
import { t as useInputStatusIcon } from "../useInputStatusIcon-
|
|
28
|
+
import { t as useInputStatusIcon } from "../useInputStatusIcon-BngSzjVd.js";
|
|
29
29
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
30
30
|
import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-DU6pAIHy.js";
|
|
31
31
|
import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
|
|
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
175
175
|
}>, {
|
|
176
176
|
position: OverlayPosition;
|
|
177
177
|
align: OverlayAlign;
|
|
178
|
-
scrim: OverlayScrimMode;
|
|
179
178
|
showOn: OverlayShowOn;
|
|
179
|
+
scrim: OverlayScrimMode;
|
|
180
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
181
181
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
182
182
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
|
|
|
192
192
|
isOpen: boolean;
|
|
193
193
|
position: OverlayPosition;
|
|
194
194
|
align: OverlayAlign;
|
|
195
|
-
scrim: OverlayScrimMode;
|
|
196
195
|
showOn: OverlayShowOn;
|
|
196
|
+
scrim: OverlayScrimMode;
|
|
197
197
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
198
198
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
199
199
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,11 +35,11 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
35
35
|
focus: typeof focus;
|
|
36
36
|
blur: typeof blur;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
38
|
+
isSelected: boolean;
|
|
38
39
|
isDisabled: boolean;
|
|
39
|
-
as: ItemElement;
|
|
40
|
-
layout: ItemLayout;
|
|
41
40
|
density: ListDensity;
|
|
42
|
-
|
|
41
|
+
layout: ItemLayout;
|
|
42
|
+
as: ItemElement;
|
|
43
43
|
align: ItemAlign;
|
|
44
44
|
isHighlighted: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -174,36 +174,36 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
174
174
|
focus: () => void;
|
|
175
175
|
blur: () => void | undefined;
|
|
176
176
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
-
search: (query: string) => any;
|
|
178
177
|
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
178
|
+
search: (query: string) => any;
|
|
179
179
|
click: (event: MouseEvent) => any;
|
|
180
|
-
focus: (event: FocusEvent) => any;
|
|
181
180
|
keydown: (event: KeyboardEvent) => any;
|
|
182
181
|
openChange: (isOpen: boolean) => any;
|
|
183
182
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
183
|
+
focus: (event: FocusEvent) => any;
|
|
184
184
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
185
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
186
185
|
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
186
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
187
187
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
188
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
189
188
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
190
189
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
191
190
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
191
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
192
192
|
}>, {
|
|
193
193
|
required: boolean;
|
|
194
|
-
isLoading: boolean;
|
|
195
194
|
variant: MultiSelectorVariant;
|
|
196
195
|
status: MultiSelectorStatus;
|
|
197
196
|
modelValue: readonly (string | number)[];
|
|
197
|
+
isLoading: boolean;
|
|
198
198
|
statusVariant: MultiSelectorStatusVariant;
|
|
199
199
|
isReadOnly: boolean;
|
|
200
|
-
presentation: MultiSelectorPresentation;
|
|
201
200
|
labelHidden: boolean;
|
|
202
201
|
disabled: boolean;
|
|
203
202
|
clearable: boolean;
|
|
203
|
+
presentation: MultiSelectorPresentation;
|
|
204
|
+
searchable: boolean;
|
|
204
205
|
hasCreate: boolean;
|
|
205
206
|
optional: boolean;
|
|
206
|
-
searchable: boolean;
|
|
207
207
|
selectAll: boolean;
|
|
208
208
|
triggerDisplay: MultiSelectorTriggerDisplay;
|
|
209
209
|
maxBadges: number;
|