@astryx-vue/core 0.16.5 → 0.18.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/AppShell/index.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- 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/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Dk9BQQbT.js → Collapsible-ExzU7vC0.js} +104 -40
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-mNR6dV0B.js → CommandPalette-CECjNvGB.js} +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CR9XbpTa.js → ComplexSelector-Dmaag1wm.js} +5 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-ChGin5zS.js → DateTimeInput-Cfkuec_h.js} +1 -1
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Field/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BNVd70jg.js → Markdown-DnnWjJGX.js} +1 -1
- package/dist/{MediaTheme-Bkj-_DFN.js → MediaTheme-DfcdEWx-.js} +2 -36
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CXX1Hsty.js → MultiSelector-BK6nZweN.js} +26 -14
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BvZFvwso.js → Pagination-DFQNX_Mb.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BiupstfT.js → PowerSearch-BAOqpQag.js} +10 -10
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +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-DiSLNzl8.js → Selector-Bo7qkt1P.js} +157 -62
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BD8MugZo.js → Table-iemur_3E.js} +378 -7
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/{Theme-8bDq2nud.js → Theme-1RJVaRgz.js} +329 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CzbqvHDN.js → Toast-D4Q6wvYu.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-mu0Sak58.js → Tokenizer-CsFiYUJ_.js} +171 -103
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CNj4KnHH.js → TreeList-ugSF9DWj.js} +117 -2
- package/dist/Typeahead/index.d.ts +2 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-Db8Tu27Z.js → Typeahead--kEp21ut.js} +159 -71
- package/dist/{useKeyboardHighlight-CGCf1O57.js → assertOptions-CK_gJ0d3.js} +12 -1
- package/dist/composables/index.d.ts +4 -3
- package/dist/composables/index.js +5 -5
- package/dist/composables-BgfubKnk.js +5437 -0
- package/dist/handle-BPXdHbkr.js +458 -0
- package/dist/{index-sXu15K4j.d.ts → index-B-3EGjfQ.d.ts} +2 -2
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-9eluGe3a.d.ts → index-BBTU-TKb.d.ts} +1 -1
- package/dist/{index-CE74Qsbn.d.ts → index-BKpnfdq1.d.ts} +9 -9
- package/dist/{index-D_xBhUV5.d.ts → index-B_PKY-Wn.d.ts} +11 -11
- package/dist/{index-Bfm6mF-r.d.ts → index-BfoazhEu.d.ts} +1 -1
- package/dist/{index-BWzEt0gT.d.ts → index-BhxqUt3y.d.ts} +1 -1
- package/dist/{index-CJdOt5Cc.d.ts → index-BtqvPjAf.d.ts} +3 -3
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-DBwEz4M9.d.ts → index-BzmcDJau.d.ts} +11 -11
- package/dist/{index-CQ1bsxLC.d.ts → index-C1qJlC65.d.ts} +1 -1
- package/dist/{index-CMLnSg3T.d.ts → index-C4S65SAW.d.ts} +8 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
- package/dist/{index-B0R5CLPF.d.ts → index-CsYDrQ9R.d.ts} +1 -1
- package/dist/{index-C2cH8OLC.d.ts → index-D31bgBoy.d.ts} +1 -1
- package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
- package/dist/index-DGXCnzOL.d.ts +69 -0
- package/dist/{index-BPf_jmME.d.ts → index-DMcf0QeR.d.ts} +3 -3
- package/dist/{index-SWw-WMTO.d.ts → index-DPhQZXYw.d.ts} +3 -3
- package/dist/{index-B-Jla56c.d.ts → index-DmAEpn5E.d.ts} +1 -1
- package/dist/{index-B0yaHi__.d.ts → index-DtZUOyCy.d.ts} +12 -5
- package/dist/{index-BQ3cm7mP.d.ts → index-FeZXsFO-.d.ts} +1 -1
- package/dist/{index-Byan7Dad.d.ts → index-GmoeIuhl.d.ts} +1 -1
- package/dist/{index-ygmRS6Np.d.ts → index-KcCNhdAw.d.ts} +1 -1
- package/dist/{index-BPHqOCfp.d.ts → index-PffxihMx.d.ts} +4 -4
- package/dist/{index-unAZVFGz.d.ts → index-Qdbssopn.d.ts} +2 -2
- package/dist/{index-LHvLg1Pv.d.ts → index-Y4H4X6Vy.d.ts} +88 -82
- package/dist/{index-Xc3q9f84.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-BXDqyk2_.d.ts → index-gu5EvbE0.d.ts} +170 -2
- package/dist/{index-BFZxzCYu.d.ts → index-o00Upzjp.d.ts} +3 -3
- package/dist/{index-BEZ4ezJk.d.ts → index-ql9ApSTF.d.ts} +7 -0
- package/dist/index.d.ts +39 -37
- package/dist/index.js +31 -30
- package/dist/landing-Bs0aMIsR.js +2049 -0
- package/dist/{loadCatalog-DFyDz_4e.d.ts → loadCatalog-BJwcyX8i.d.ts} +2 -0
- package/dist/{loadCatalog-C3MSknfx.js → loadCatalog-C1kms5sO.js} +5 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-OCGw4bi6.js → locale-CHhsd9Mq.js} +1 -1
- package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
- package/dist/tokenName-0U-WEH09.js +36 -0
- package/dist/{typeahead-RkZw0Ktn.js → typeahead-BgfLP7vR.js} +2 -0
- package/dist/{index-DbFIQDoa.d.ts → types-C1ydeFiu.d.ts} +43 -65
- package/dist/{types-uWxXh1Jm.d.ts → types-fRasDCe4.d.ts} +47 -6
- package/dist/useAnimatedLayout-C0koWm4a.d.ts +56 -0
- package/dist/{useAsyncSource-Gk0VtE7_.js → useAsyncSource-7GTcK8ep.js} +31 -1
- package/dist/{useAsyncSource-aGzrvRkI.d.ts → useAsyncSource-DbG2FSuI.d.ts} +19 -2
- package/dist/{useCombobox-D374_pT8.js → useCombobox-DIR9yoEu.js} +150 -3
- package/dist/{useTypeaheadAnnouncement-CSikDlpK.js → useTypeaheadMenuConfig--4f7jR6G.js} +264 -20
- package/package.json +1 -1
- package/styles/motion.css +10 -0
- package/styles/selector.css +10 -0
- package/styles/table.css +19 -0
- package/dist/composables-CCsHfpCS.js +0 -1256
- package/dist/{Chat-PEkZTrQE.js → Chat-Wq7e98zS.js} +1 -1
- package/dist/{CodeBlock-9Lfec8C8.js → CodeBlock-CLVXVlB7.js} +1 -1
- package/dist/{DateInput-kXAc_r5m.js → DateInput-BitZfGEY.js} +1 -1
- package/dist/{DateRangeInput-DW7IzFQM.js → DateRangeInput-kxXBsUTU.js} +1 -1
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _i as MoreMenuSection, ci as MoreMenuEmits, di as MoreMenuItem, fi as MoreMenuItemVariant, gi as MoreMenuResolvedPresentation, hi as MoreMenuProps, li as MoreMenuIcon, mi as MoreMenuPresentation, oi as _default, pi as MoreMenuOption, si as MoreMenuDivider, ui as MoreMenuInitialFocus, vi as MoreMenuSlots } from "../index-
|
|
1
|
+
import { _i as MoreMenuSection, ci as MoreMenuEmits, di as MoreMenuItem, fi as MoreMenuItemVariant, gi as MoreMenuResolvedPresentation, hi as MoreMenuProps, li as MoreMenuIcon, mi as MoreMenuPresentation, oi as _default, pi as MoreMenuOption, si as MoreMenuDivider, ui as MoreMenuInitialFocus, vi as MoreMenuSlots } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-
|
|
1
|
+
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-BKpnfdq1.js";
|
|
2
2
|
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorCreateChange, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorHandle, type MultiSelectorHandleRef, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSelectedItem, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorStatusVariant, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-
|
|
1
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-BK6nZweN.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -5,9 +5,9 @@ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
|
5
5
|
import { i as trackInteractionModality, n as isKeyboardModality, p as isImeKeyEvent } from "./interactionModality-B5dR7nnb.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
|
-
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
9
|
-
import { t as useCombobox } from "./useCombobox-D374_pT8.js";
|
|
10
8
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
9
|
+
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
10
|
+
import { t as useCombobox } from "./useCombobox-DIR9yoEu.js";
|
|
11
11
|
import { t as useDisclosureHandle } from "./useDisclosureHandle-Df3HhAfC.js";
|
|
12
12
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
13
13
|
import { n as focusElement } from "./focus-x7mxEqjR.js";
|
|
@@ -19,11 +19,11 @@ import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
|
19
19
|
import { t as _sfc_main$6 } from "./Field-BXkGR8H0.js";
|
|
20
20
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
21
21
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
22
|
-
import { n as fieldStatusPlacement, r as _sfc_main$7, t as normalizeTriggerVariant } from "./triggerVariant-BDVvyLtv.js";
|
|
23
22
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
23
|
+
import { n as fieldStatusPlacement, r as _sfc_main$7, t as normalizeTriggerVariant } from "./triggerVariant-BDVvyLtv.js";
|
|
24
24
|
import { t as multiSelectorMessages } from "./multi-selector-CpVI6bt5.js";
|
|
25
25
|
import { t as _sfc_main$8 } from "./InputClearButton-CED-zP2y.js";
|
|
26
|
-
import { n as bindListboxEscape, t as
|
|
26
|
+
import { n as useKeyboardHighlight, r as bindListboxEscape, t as assertOptionsArray } from "./assertOptions-CK_gJ0d3.js";
|
|
27
27
|
import { t as _sfc_main$9 } from "./Token-jBbgdevV.js";
|
|
28
28
|
import { n as scrollOptionIntoView, r as useAnchoredListbox, t as createStillPointerGate } from "./stillPointerGate-0vdn-hSa.js";
|
|
29
29
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
@@ -232,6 +232,14 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
232
232
|
function onRowEnter(event, index) {
|
|
233
233
|
if (pointerGate.moved(event)) emit("highlight", index);
|
|
234
234
|
}
|
|
235
|
+
/** 主题用 highlighted、selected、disabled 状态属性挂样式。 */
|
|
236
|
+
function stateAttrs(option) {
|
|
237
|
+
return {
|
|
238
|
+
"data-highlighted": props.optionIndex(option.value) === props.activeIndex ? "highlighted" : void 0,
|
|
239
|
+
"data-selected": props.isSelected(option.value) ? "selected" : void 0,
|
|
240
|
+
"data-disabled": option.disabled ? "disabled" : void 0
|
|
241
|
+
};
|
|
242
|
+
}
|
|
235
243
|
const markSize = computed(() => props.size === "lg" ? "md" : "sm");
|
|
236
244
|
__expose({
|
|
237
245
|
focusSearch: () => searchRef.value?.focus(),
|
|
@@ -260,6 +268,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
260
268
|
type: "text",
|
|
261
269
|
role: "combobox",
|
|
262
270
|
autocomplete: "off",
|
|
271
|
+
autocorrect: "off",
|
|
272
|
+
enterkeyhint: "search",
|
|
263
273
|
"aria-label": __props.searchPlaceholder,
|
|
264
274
|
"aria-expanded": "true",
|
|
265
275
|
"aria-controls": __props.listboxId,
|
|
@@ -384,21 +394,22 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
384
394
|
class: "astryx-multi-selector-heading",
|
|
385
395
|
role: "rowgroup",
|
|
386
396
|
"aria-label": row.label
|
|
387
|
-
}, [createElementVNode("span", _hoisted_18, toDisplayString(row.label), 1)], 8, _hoisted_17)) : row.option && !__props.grid ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/mouse-events-have-key-events -- 选项不进 Tab 序,方向键和空格由组合框处理。 "), createElementVNode("div", {
|
|
397
|
+
}, [createElementVNode("span", _hoisted_18, toDisplayString(row.label), 1)], 8, _hoisted_17)) : row.option && !__props.grid ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/mouse-events-have-key-events -- 选项不进 Tab 序,方向键和空格由组合框处理。 "), createElementVNode("div", mergeProps({
|
|
388
398
|
id: __props.optionDomId(__props.optionIndex(row.option.value)),
|
|
389
|
-
class:
|
|
399
|
+
class: ["astryx-multi-selector-option", {
|
|
390
400
|
"is-active": __props.optionIndex(row.option.value) === __props.activeIndex,
|
|
391
401
|
"is-disabled": row.option.disabled
|
|
392
|
-
}]
|
|
402
|
+
}],
|
|
393
403
|
role: "option",
|
|
394
404
|
"aria-selected": __props.isSelected(row.option.value),
|
|
395
405
|
"aria-disabled": row.option.disabled || void 0,
|
|
396
|
-
"data-option-id": String(row.option.value)
|
|
406
|
+
"data-option-id": String(row.option.value)
|
|
407
|
+
}, { ref_for: true }, stateAttrs(row.option), {
|
|
397
408
|
tabindex: "-1",
|
|
398
409
|
onMousedown: _cache[17] || (_cache[17] = withModifiers(() => {}, ["prevent"])),
|
|
399
410
|
onMouseenter: ($event) => onRowEnter($event, __props.optionIndex(row.option.value)),
|
|
400
411
|
onClick: ($event) => emit("toggle", row.option.value)
|
|
401
|
-
}, [
|
|
412
|
+
}), [
|
|
402
413
|
__props.checkboxPosition === "start" ? (openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
403
414
|
key: 0,
|
|
404
415
|
state: __props.checkboxState(row.option),
|
|
@@ -424,16 +435,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
424
435
|
"size",
|
|
425
436
|
"is-disabled"
|
|
426
437
|
])) : createCommentVNode("v-if", true)
|
|
427
|
-
],
|
|
438
|
+
], 16, _hoisted_19)], 2112)) : row.option ? (openBlock(), createElementBlock("div", mergeProps({
|
|
428
439
|
key: 4,
|
|
429
|
-
class:
|
|
440
|
+
class: ["astryx-multi-selector-option", {
|
|
430
441
|
"is-active": __props.optionIndex(row.option.value) === __props.activeIndex,
|
|
431
442
|
"is-disabled": row.option.disabled
|
|
432
|
-
}]
|
|
443
|
+
}],
|
|
433
444
|
role: "row",
|
|
434
445
|
"aria-selected": __props.isSelected(row.option.value),
|
|
435
446
|
"aria-disabled": row.option.disabled || void 0
|
|
436
|
-
}, [
|
|
447
|
+
}, { ref_for: true }, stateAttrs(row.option)), [
|
|
437
448
|
createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/mouse-events-have-key-events -- 选项不进 Tab 序,方向键和空格由组合框处理。 "),
|
|
438
449
|
createElementVNode("div", {
|
|
439
450
|
id: __props.optionDomId(__props.optionIndex(row.option.value)),
|
|
@@ -482,7 +493,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
482
493
|
node: actionOf(row.option),
|
|
483
494
|
"dom-id": __props.actionDomId(__props.optionIndex(row.option.value))
|
|
484
495
|
}, null, 8, ["node", "dom-id"])) : createCommentVNode("v-if", true)], 42, _hoisted_28)
|
|
485
|
-
],
|
|
496
|
+
], 16, _hoisted_23)) : createCommentVNode("v-if", true)], 64);
|
|
486
497
|
}), 128)) : createCommentVNode("v-if", true),
|
|
487
498
|
__props.showEmpty ? (openBlock(), createElementBlock("div", _hoisted_29, [!__props.query.trim() ? renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(__props.emptyText), 1)], void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(__props.emptySearchText), 1)], 64))])) : createCommentVNode("v-if", true)
|
|
488
499
|
], 32);
|
|
@@ -622,6 +633,7 @@ function applyMultiSelectorKey(event, ctx) {
|
|
|
622
633
|
//#region src/MultiSelector/useMultiSelectorMenu.ts
|
|
623
634
|
/** 多选面板的列表、创建行和选项操作。触发器自己的展示留在组件里。 */
|
|
624
635
|
function useMultiSelectorMenu(host) {
|
|
636
|
+
assertOptionsArray("MultiSelector", host.props.options);
|
|
625
637
|
const query = ref("");
|
|
626
638
|
const selectedValues = computed(() => host.props.modelValue ?? []);
|
|
627
639
|
const searchPlaceholder = computed(() => host.props.searchPlaceholder ?? host.messages.value.multiSelector.search);
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-BG23kC3S.js";
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
2
|
+
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-KcCNhdAw.js";
|
|
3
3
|
export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ai as NumberInputStatus, ii as NumberInputProps, ni as _default, ri as NumberInputEmits } from "../index-
|
|
1
|
+
import { ai as NumberInputStatus, ii as NumberInputProps, ni as _default, ri as NumberInputEmits } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as OverflowListEmits, Qr as OverflowListCollapsedItem, Zr as _default, ei as OverflowListItem, ti as OverflowListProps } from "../index-
|
|
1
|
+
import { $r as OverflowListEmits, Qr as OverflowListCollapsedItem, Zr as _default, ei as OverflowListItem, ti as OverflowListProps } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-
|
|
1
|
+
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-DMcf0QeR.js";
|
|
2
2
|
export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-DFQNX_Mb.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -3,7 +3,7 @@ import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
|
3
3
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
4
4
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
5
5
|
import { t as paginationMessages } from "./pagination-CxZBYsPu.js";
|
|
6
|
-
import { t as _sfc_main$1 } from "./Selector-
|
|
6
|
+
import { t as _sfc_main$1 } from "./Selector-Bo7qkt1P.js";
|
|
7
7
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, watch, withDirectives, withKeys } from "vue";
|
|
8
8
|
import "../styles/pagination.css";
|
|
9
9
|
/**
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding, r as PopoverPlacement, t as PopoverAlignment } from "../types-OGMYGejX.js";
|
|
2
|
-
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-
|
|
2
|
+
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-PffxihMx.js";
|
|
3
3
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole, type UsePopoverOptions, type UsePopoverReturn, usePopover };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-
|
|
1
|
+
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-DmAEpn5E.js";
|
|
2
2
|
export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-
|
|
1
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-BAOqpQag.js";
|
|
2
2
|
export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -5,7 +5,7 @@ import { i as useLayerGutter } from "./context-M-er0-Rk.js";
|
|
|
5
5
|
import { t as useDismiss } from "./useDismiss-Dfb0Ky7T.js";
|
|
6
6
|
import { r as truncateCharacters, t as characterCount } from "./characters-wTnzjkkR.js";
|
|
7
7
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
8
|
-
import { t as createStaticSource } from "./useAsyncSource-
|
|
8
|
+
import { t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
9
9
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
11
11
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
@@ -13,20 +13,20 @@ import { t as _sfc_main$7 } from "./Tooltip-DQipgW1R.js";
|
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
14
|
import { t as _sfc_main$8 } from "./Field-BXkGR8H0.js";
|
|
15
15
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
16
|
-
import { t as _sfc_main$9 } from "./DateInput-
|
|
17
|
-
import { l as powerSearchMessages } from "./loadCatalog-
|
|
18
|
-
import { t as _sfc_main$10 } from "./DateRangeInput-
|
|
19
|
-
import { t as _sfc_main$11 } from "./DateTimeInput-
|
|
16
|
+
import { t as _sfc_main$9 } from "./DateInput-BitZfGEY.js";
|
|
17
|
+
import { l as powerSearchMessages } from "./loadCatalog-C1kms5sO.js";
|
|
18
|
+
import { t as _sfc_main$10 } from "./DateRangeInput-kxXBsUTU.js";
|
|
19
|
+
import { t as _sfc_main$11 } from "./DateTimeInput-Cfkuec_h.js";
|
|
20
20
|
import { n as tokenNamingKey, t as _sfc_main$12 } from "./Token-jBbgdevV.js";
|
|
21
21
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
|
|
22
|
-
import { t as _sfc_main$13 } from "./MultiSelector-
|
|
22
|
+
import { t as _sfc_main$13 } from "./MultiSelector-BK6nZweN.js";
|
|
23
23
|
import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-BPeesTRv.js";
|
|
24
|
-
import { t as _sfc_main$15 } from "./Selector-
|
|
25
|
-
import {
|
|
26
|
-
import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-
|
|
24
|
+
import { t as _sfc_main$15 } from "./Selector-Bo7qkt1P.js";
|
|
25
|
+
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig--4f7jR6G.js";
|
|
26
|
+
import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-CsFiYUJ_.js";
|
|
27
27
|
import { t as _sfc_main$17 } from "./TextInput-_SIiqVOY.js";
|
|
28
28
|
import { t as _sfc_main$18 } from "./TimeInput-8ASOMV3B.js";
|
|
29
|
-
import { t as _sfc_main$19 } from "./Typeahead
|
|
29
|
+
import { t as _sfc_main$19 } from "./Typeahead--kEp21ut.js";
|
|
30
30
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
31
31
|
import "../styles/layer.css";
|
|
32
32
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-
|
|
1
|
+
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-YKCx03zD.js";
|
|
2
2
|
export { _default as ProgressBar, type ProgressBarMark, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant };
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as RadioGroupProps, Gr as RadioProps, Ir as _default$1, Jr as RadioStatus, Kr as RadioSize, Lr as _default, Rr as RadioChangeEvent, Ur as RadioOption, Vr as RadioGroupSlots, Wr as RadioOrientation, Xr as RadioValue, Yr as RadioStatusType, qr as RadioSlots, zr as RadioGroupEmits } from "../index-
|
|
1
|
+
import { Br as RadioGroupProps, Gr as RadioProps, Ir as _default$1, Jr as RadioStatus, Kr as RadioSize, Lr as _default, Rr as RadioChangeEvent, Ur as RadioOption, Vr as RadioGroupSlots, Wr as RadioOrientation, Xr as RadioValue, Yr as RadioStatusType, qr as RadioSlots, zr as RadioGroupEmits } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as _default, Hr as RadioListProps, Nr as _default$1, Pr as RadioListItemProps } from "../index-
|
|
1
|
+
import { Fr as _default, Hr as RadioListProps, Nr as _default$1, Pr as RadioListItemProps } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as _default, Mr as ScrollableAreaSlots, jr as ScrollableAreaProps } from "../index-
|
|
1
|
+
import { Ar as _default, Mr as ScrollableAreaSlots, jr as ScrollableAreaProps } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-
|
|
1
|
+
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-C93nwgTW.js";
|
|
2
2
|
export { _default as SegmentedControl, type SegmentedControlContextValue, type SegmentedControlEmits, _default$1 as SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlItemSlots, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dr as SelectableCardEmits, Er as _default, Or as SelectableCardProps, kr as SelectableCardSlots } from "../index-
|
|
1
|
+
import { Dr as SelectableCardEmits, Er as _default, Or as SelectableCardProps, kr as SelectableCardSlots } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-BzmcDJau.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/Selector/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Selector-
|
|
1
|
+
import { t as _sfc_main } from "../Selector-Bo7qkt1P.js";
|
|
2
2
|
export { _sfc_main as Selector };
|