@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
|
@@ -2,8 +2,8 @@ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
|
2
2
|
import { i as trackInteractionModality, p as isImeKeyEvent, t as getInteractionModality } from "./interactionModality-B5dR7nnb.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
4
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
|
-
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
6
5
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
6
|
+
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
7
|
import { t as useInputStatusIcon } from "./useInputStatusIcon-ne9V7ZQC.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
@@ -11,11 +11,12 @@ import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.j
|
|
|
11
11
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
12
12
|
import { t as _sfc_main$2 } from "./Field-BXkGR8H0.js";
|
|
13
13
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
14
|
+
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
14
15
|
import { t as tokenizerMessages } from "./tokenizer-ChiAuPN-.js";
|
|
15
16
|
import { t as _sfc_main$3 } from "./Token-jBbgdevV.js";
|
|
16
17
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
|
|
17
|
-
import { a as
|
|
18
|
-
import { Fragment,
|
|
18
|
+
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$4, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig--4f7jR6G.js";
|
|
19
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
19
20
|
import "../styles/layer.css";
|
|
20
21
|
import "../styles/visually-hidden-utility.css";
|
|
21
22
|
import "../styles/typeahead.css";
|
|
@@ -130,6 +131,64 @@ function pickInputAttrs(attrs) {
|
|
|
130
131
|
return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
|
|
131
132
|
}
|
|
132
133
|
//#endregion
|
|
134
|
+
//#region src/Tokenizer/useTokenizerDisabled.ts
|
|
135
|
+
/**
|
|
136
|
+
* 禁用的 Tokenizer 仍是 Tab 停点:输入框用 aria-disabled 加只读,不用原生 disabled,
|
|
137
|
+
* 有禁用说明时悬停和键盘聚焦都能读到它。
|
|
138
|
+
* 例外是 `overflow="unfocused-layer"` 且没有说明:输入框在失焦时才展开的浮层里,
|
|
139
|
+
* 禁用的字段打不开那层,此时仍用原生 disabled。
|
|
140
|
+
*/
|
|
141
|
+
function useTokenizerDisabled(props) {
|
|
142
|
+
/** 新名 disabledMessage 优先,旧名 disabledReason 继续可用。 */
|
|
143
|
+
const disabledMessage = computed(() => {
|
|
144
|
+
const message = props.disabledMessage?.trim() ? props.disabledMessage : props.disabledReason;
|
|
145
|
+
return message?.trim() ? message : void 0;
|
|
146
|
+
});
|
|
147
|
+
const showsDisabledMessage = computed(() => Boolean(props.disabled) && Boolean(disabledMessage.value));
|
|
148
|
+
return {
|
|
149
|
+
disabledMessage,
|
|
150
|
+
showsDisabledMessage,
|
|
151
|
+
focusableDisabled: computed(() => Boolean(props.disabled) && (showsDisabledMessage.value || props.overflow !== "unfocused-layer")),
|
|
152
|
+
disabledTooltip: useButtonTooltip(showsDisabledMessage)
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/Tokenizer/useTokenizerFieldAria.ts
|
|
157
|
+
/** 输入框的名字、说明和状态图标。 */
|
|
158
|
+
function useTokenizerFieldAria(options) {
|
|
159
|
+
const { props, attrs, inputId, fieldLabelId, disabledId, hasDisabledDescription } = options;
|
|
160
|
+
const fieldStatus = computed(() => {
|
|
161
|
+
if (!props.statusMessage || props.status === "default") return void 0;
|
|
162
|
+
return {
|
|
163
|
+
type: props.status,
|
|
164
|
+
message: props.statusMessage
|
|
165
|
+
};
|
|
166
|
+
});
|
|
167
|
+
/** 调用方的 aria-labelledby 接在字段自己的标签后面,不取代它。 */
|
|
168
|
+
const labelledBy = computed(() => {
|
|
169
|
+
const external = attrs["aria-labelledby"];
|
|
170
|
+
return typeof external === "string" && external !== "" ? `${fieldLabelId} ${external}` : void 0;
|
|
171
|
+
});
|
|
172
|
+
const { statusIcon, statusIconProps } = useInputStatusIcon({
|
|
173
|
+
status: () => fieldStatus.value,
|
|
174
|
+
statusVariant: () => props.statusVariant ?? "attached"
|
|
175
|
+
});
|
|
176
|
+
return {
|
|
177
|
+
fieldStatus,
|
|
178
|
+
labelledBy,
|
|
179
|
+
statusIcon,
|
|
180
|
+
statusIconProps,
|
|
181
|
+
describedBy: computed(() => {
|
|
182
|
+
return [
|
|
183
|
+
typeof attrs["aria-describedby"] === "string" ? attrs["aria-describedby"] : void 0,
|
|
184
|
+
props.description ? `${inputId}-description` : void 0,
|
|
185
|
+
props.statusMessage ? `${inputId}-status` : void 0,
|
|
186
|
+
hasDisabledDescription.value ? disabledId : void 0
|
|
187
|
+
].filter(Boolean).join(" ") || void 0;
|
|
188
|
+
})
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
133
192
|
//#region src/Tokenizer/useTokenizerKeys.ts
|
|
134
193
|
/** 输入框和标签上的按键:退格删最后一个、方向键在标签和输入框之间移动焦点。 */
|
|
135
194
|
function useTokenizerKeys(options) {
|
|
@@ -208,17 +267,13 @@ const _hoisted_7 = [
|
|
|
208
267
|
"value",
|
|
209
268
|
"disabled"
|
|
210
269
|
];
|
|
211
|
-
const _hoisted_8 = [
|
|
212
|
-
"role",
|
|
213
|
-
"aria-label",
|
|
214
|
-
"data-placement"
|
|
215
|
-
];
|
|
216
270
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
217
271
|
name: "AstryxTokenizer",
|
|
218
272
|
inheritAttrs: false,
|
|
219
273
|
__name: "Tokenizer",
|
|
220
274
|
props: {
|
|
221
275
|
modelValue: { default: () => [] },
|
|
276
|
+
menu: {},
|
|
222
277
|
searchSource: {},
|
|
223
278
|
label: {},
|
|
224
279
|
isLabelHidden: { type: Boolean },
|
|
@@ -358,21 +413,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
358
413
|
const placeholderHeight = ref(0);
|
|
359
414
|
const announce = useAnnounce();
|
|
360
415
|
const anchorRef = useTemplateRef("anchorRef");
|
|
361
|
-
const
|
|
416
|
+
const popupRef = useTemplateRef("popupRef");
|
|
417
|
+
const listboxRef = computed(() => popupRef.value?.el ?? null);
|
|
362
418
|
useScrollbars(listboxRef);
|
|
363
419
|
const inputRef = useTemplateRef("inputRef");
|
|
364
420
|
const tokenEls = /* @__PURE__ */ new Map();
|
|
365
421
|
const placeholder = computed(() => props.placeholder ?? messages.value.tokenizer.placeholder);
|
|
366
422
|
const emptyText = computed(() => props.emptySearchText ?? props.emptyText ?? messages.value.tokenizer.empty);
|
|
367
|
-
|
|
368
|
-
const disabledMessage = computed(() => {
|
|
369
|
-
const message = props.disabledMessage?.trim() ? props.disabledMessage : props.disabledReason;
|
|
370
|
-
return message?.trim() ? message : void 0;
|
|
371
|
-
});
|
|
372
|
-
const focusableDisabled = computed(() => Boolean(props.disabled && disabledMessage.value));
|
|
373
|
-
/** 有禁用原因时鼠标悬停或键盘聚焦都能读到它。 */
|
|
374
|
-
const showsDisabledMessage = computed(() => Boolean(props.disabled) && Boolean(disabledMessage.value));
|
|
375
|
-
const disabledTooltip = useButtonTooltip(showsDisabledMessage);
|
|
423
|
+
const { disabledMessage, showsDisabledMessage, focusableDisabled, disabledTooltip } = useTokenizerDisabled(props);
|
|
376
424
|
/** 两个名字任一为真就画清除按钮。 */
|
|
377
425
|
const showsClear = computed(() => props.hasClear || props.clearable);
|
|
378
426
|
/** 两个名字任一为真就在聚焦时先展开。 */
|
|
@@ -384,29 +432,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
384
432
|
const atMax = computed(() => props.maxEntries != null && values.value.length >= props.maxEntries);
|
|
385
433
|
const collapsed = computed(() => props.overflow !== "none" && !focused.value);
|
|
386
434
|
const floating = computed(() => props.overflow === "unfocused-layer" && focused.value);
|
|
387
|
-
const fieldStatus =
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
/** 调用方的 aria-labelledby 接在字段自己的标签后面,不取代它。 */
|
|
395
|
-
const labelledBy = computed(() => {
|
|
396
|
-
const external = attrs["aria-labelledby"];
|
|
397
|
-
return typeof external === "string" && external !== "" ? `${fieldLabelId} ${external}` : void 0;
|
|
398
|
-
});
|
|
399
|
-
const { statusIcon, statusIconProps } = useInputStatusIcon({
|
|
400
|
-
status: () => fieldStatus.value,
|
|
401
|
-
statusVariant: () => props.statusVariant
|
|
402
|
-
});
|
|
403
|
-
const describedBy = computed(() => {
|
|
404
|
-
return [
|
|
405
|
-
typeof attrs["aria-describedby"] === "string" ? attrs["aria-describedby"] : void 0,
|
|
406
|
-
props.description ? `${inputId}-description` : void 0,
|
|
407
|
-
props.statusMessage ? `${inputId}-status` : void 0,
|
|
408
|
-
focusableDisabled.value ? disabledId : void 0
|
|
409
|
-
].filter(Boolean).join(" ") || void 0;
|
|
435
|
+
const { fieldStatus, labelledBy, statusIcon, statusIconProps, describedBy } = useTokenizerFieldAria({
|
|
436
|
+
props,
|
|
437
|
+
attrs,
|
|
438
|
+
inputId,
|
|
439
|
+
fieldLabelId,
|
|
440
|
+
disabledId,
|
|
441
|
+
hasDisabledDescription: computed(() => focusableDisabled.value && Boolean(disabledMessage.value))
|
|
410
442
|
});
|
|
411
443
|
function inputAttrs() {
|
|
412
444
|
return pickInputAttrs(attrs);
|
|
@@ -417,7 +449,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
417
449
|
showOnFocus: () => showsEntriesOnFocus.value && !atMax.value,
|
|
418
450
|
minQueryLength: () => props.minQueryLength,
|
|
419
451
|
maxItems: () => props.maxMenuItems,
|
|
420
|
-
disabled: () => props.disabled || atMax.value,
|
|
452
|
+
disabled: () => props.disabled || atMax.value || props.menu?.role === "dialog",
|
|
421
453
|
excludeIds: () => values.value.map((item) => item.id),
|
|
422
454
|
blockedLabels: () => values.value.map((item) => item.label),
|
|
423
455
|
creatable: () => isCreatable.value && !atMax.value,
|
|
@@ -428,18 +460,33 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
428
460
|
emit("changeQuery", query);
|
|
429
461
|
}
|
|
430
462
|
});
|
|
463
|
+
/** 搜索忙碌时由输入框念一次「加载中」;列表里的转圈只是装饰。 */
|
|
464
|
+
const settleBusy = useBusyAnnouncement(() => menu.status.value === "loading", () => messages.value.tokenizer.loading, inputRef);
|
|
431
465
|
useTypeaheadAnnouncement({
|
|
432
466
|
menu,
|
|
467
|
+
settleBusy,
|
|
433
468
|
emptyText: () => emptyText.value,
|
|
434
469
|
emptySearchText: () => emptyText.value,
|
|
435
470
|
resultCount: (count) => messages.value.tokenizer.resultCount(count)
|
|
436
471
|
});
|
|
472
|
+
const menuConfig = useTypeaheadMenuConfig({
|
|
473
|
+
config: () => props.menu,
|
|
474
|
+
popupEl: () => listboxRef.value,
|
|
475
|
+
inputEl: () => inputRef.value,
|
|
476
|
+
listbox: {
|
|
477
|
+
isOpen: menu.combobox.isOpen,
|
|
478
|
+
open: () => menu.open(),
|
|
479
|
+
close: () => menu.close()
|
|
480
|
+
},
|
|
481
|
+
isDisabled: () => props.disabled,
|
|
482
|
+
canOpenList: () => showsEntriesOnFocus.value || menu.query.value !== ""
|
|
483
|
+
});
|
|
437
484
|
const anchored = useAnchoredListbox({
|
|
438
485
|
anchor: anchorRef,
|
|
439
486
|
layer: listboxRef,
|
|
440
|
-
isOpen:
|
|
487
|
+
isOpen: menuConfig.popupOpen,
|
|
441
488
|
menuWidth: () => props.menuWidth,
|
|
442
|
-
onDismiss: () => menu.close()
|
|
489
|
+
onDismiss: () => menuConfig.isDialog.value ? menuConfig.dismiss() : menu.close()
|
|
443
490
|
});
|
|
444
491
|
onMounted(() => {
|
|
445
492
|
if (props.hasAutoFocus) inputRef.value?.focus();
|
|
@@ -455,12 +502,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
455
502
|
const hiddenCount = computed(() => Math.max(0, tokenCount.value - visibleCount.value));
|
|
456
503
|
const measureMoreLabel = computed(() => messages.value.tokenizer.more(Math.max(hiddenCount.value, 1)));
|
|
457
504
|
const visibleItems = computed(() => values.value.slice(0, visibleCount.value));
|
|
458
|
-
watch(collapsed, () =>
|
|
459
|
-
|
|
460
|
-
});
|
|
461
|
-
watch(() => menu.combobox.isOpen.value, (isOpen) => {
|
|
462
|
-
emit("openChange", isOpen);
|
|
463
|
-
});
|
|
505
|
+
watch(collapsed, () => void nextTick(() => overflow.remeasure()));
|
|
506
|
+
watch(menuConfig.popupOpen, (isOpen) => emit("openChange", isOpen));
|
|
464
507
|
watch(() => menu.combobox.activeIndex.value, (index) => {
|
|
465
508
|
if (!menu.combobox.isOpen.value || index < 0) return;
|
|
466
509
|
nextTick(() => scrollOptionIntoView(listboxRef.value, menu.entries.value[index]?.id));
|
|
@@ -473,13 +516,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
473
516
|
if (props.disabled || atMax.value || values.value.some((entry) => entry.id === item.id)) return;
|
|
474
517
|
const fromFocusList = showsEntriesOnFocus.value && type === "add" && menu.query.value === "";
|
|
475
518
|
const pickedIndex = Math.max(0, menu.entries.value.findIndex((entry) => entry.item.id === item.id));
|
|
519
|
+
menuConfig.beginPick();
|
|
476
520
|
commit([...values.value, item], {
|
|
477
521
|
type,
|
|
478
522
|
item
|
|
479
523
|
});
|
|
480
524
|
announce(messages.value.tokenizer.added(item.label));
|
|
481
|
-
menu.
|
|
482
|
-
if (!fromFocusList) menu.close();
|
|
525
|
+
menu.resetQuery();
|
|
526
|
+
if (!fromFocusList && !menuConfig.endPick()) menu.close();
|
|
483
527
|
nextTick(() => {
|
|
484
528
|
inputRef.value?.focus();
|
|
485
529
|
if (!fromFocusList) return;
|
|
@@ -527,8 +571,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
527
571
|
}
|
|
528
572
|
function onFocusOut(event) {
|
|
529
573
|
disabledTooltip.onBlur();
|
|
530
|
-
|
|
531
|
-
if (next instanceof Node && (anchorRef.value?.contains(next) || listboxRef.value?.contains(next))) return;
|
|
574
|
+
if (isInsideTokenizer(event.relatedTarget)) return;
|
|
532
575
|
focused.value = false;
|
|
533
576
|
menu.close();
|
|
534
577
|
emit("blur", event);
|
|
@@ -544,7 +587,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
544
587
|
getListbox: () => listboxRef.value,
|
|
545
588
|
listboxId: () => listboxId
|
|
546
589
|
});
|
|
547
|
-
const { onInputKeyDown, onTokenKeyDown } = useTokenizerKeys({
|
|
590
|
+
const { onInputKeyDown: onListKeyDown, onTokenKeyDown } = useTokenizerKeys({
|
|
548
591
|
values,
|
|
549
592
|
disabled: () => props.disabled,
|
|
550
593
|
menu,
|
|
@@ -553,6 +596,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
553
596
|
remove,
|
|
554
597
|
focusToken
|
|
555
598
|
});
|
|
599
|
+
function onInputKeyDown(event) {
|
|
600
|
+
if (!menuConfig.closeOnEscape(event)) onListKeyDown(event);
|
|
601
|
+
}
|
|
556
602
|
function onFieldClick(event) {
|
|
557
603
|
if (props.disabled) return;
|
|
558
604
|
const target = event.target;
|
|
@@ -570,7 +616,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
570
616
|
}
|
|
571
617
|
__expose({
|
|
572
618
|
focus: () => inputRef.value?.focus(),
|
|
573
|
-
blur: () => inputRef.value?.blur()
|
|
619
|
+
blur: () => inputRef.value?.blur(),
|
|
620
|
+
open: menuConfig.open,
|
|
621
|
+
close: menuConfig.close
|
|
574
622
|
});
|
|
575
623
|
return (_ctx, _cache) => {
|
|
576
624
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -589,7 +637,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
589
637
|
"is-disabled": props.disabled,
|
|
590
638
|
"is-required": props.required,
|
|
591
639
|
"is-optional": props.optional,
|
|
592
|
-
status: fieldStatus
|
|
640
|
+
status: unref(fieldStatus),
|
|
593
641
|
"status-variant": props.statusVariant,
|
|
594
642
|
width: props.width
|
|
595
643
|
}, {
|
|
@@ -617,8 +665,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
617
665
|
onClick: onFieldClick,
|
|
618
666
|
onFocusin: onFocusIn,
|
|
619
667
|
onFocusout: onFocusOut,
|
|
620
|
-
onPointerenter: _cache[
|
|
621
|
-
onPointerleave: _cache[
|
|
668
|
+
onPointerenter: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
669
|
+
onPointerleave: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
|
|
622
670
|
}, [
|
|
623
671
|
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("v-if", true),
|
|
624
672
|
createElementVNode("span", {
|
|
@@ -675,23 +723,25 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
675
723
|
role: "combobox",
|
|
676
724
|
autocomplete: "off",
|
|
677
725
|
autocapitalize: "off",
|
|
726
|
+
autocorrect: "off",
|
|
727
|
+
enterkeyhint: "search",
|
|
678
728
|
"data-autofocus": props.hasAutoFocus || void 0,
|
|
679
729
|
placeholder: values.value.length === 0 ? placeholder.value : void 0,
|
|
680
730
|
value: unref(menu).query.value,
|
|
681
|
-
disabled: props.disabled && !focusableDisabled
|
|
682
|
-
readonly: focusableDisabled
|
|
683
|
-
"aria-disabled": focusableDisabled
|
|
684
|
-
"aria-expanded": unref(
|
|
685
|
-
"aria-haspopup": unref(optionGrid).popupKind.value,
|
|
731
|
+
disabled: props.disabled && !unref(focusableDisabled),
|
|
732
|
+
readonly: unref(focusableDisabled) || atMax.value || void 0,
|
|
733
|
+
"aria-disabled": unref(focusableDisabled) ? "true" : void 0,
|
|
734
|
+
"aria-expanded": unref(menuConfig).popupOpen.value,
|
|
735
|
+
"aria-haspopup": unref(menuConfig).isDialog.value ? "dialog" : unref(optionGrid).popupKind.value,
|
|
686
736
|
"aria-controls": listboxId,
|
|
687
737
|
"aria-autocomplete": "list",
|
|
688
|
-
"aria-activedescendant": unref(optionGrid).gridMode.value ? unref(optionGrid).actionGrid.activeDescendant.value : unref(menu).activeId.value ? `${listboxId}-option-${unref(menu).combobox.activeIndex.value}` : void 0,
|
|
689
|
-
"aria-labelledby": labelledBy
|
|
690
|
-
"aria-describedby": describedBy
|
|
738
|
+
"aria-activedescendant": unref(menuConfig).isDialog.value ? void 0 : unref(optionGrid).gridMode.value ? unref(optionGrid).actionGrid.activeDescendant.value : unref(menu).activeId.value ? `${listboxId}-option-${unref(menu).combobox.activeIndex.value}` : void 0,
|
|
739
|
+
"aria-labelledby": unref(labelledBy),
|
|
740
|
+
"aria-describedby": unref(describedBy),
|
|
691
741
|
"aria-required": props.required || void 0,
|
|
692
742
|
"aria-invalid": props.status === "error" ? true : void 0,
|
|
693
743
|
onInput,
|
|
694
|
-
onKeydown:
|
|
744
|
+
onKeydown: onInputKeyDown
|
|
695
745
|
}), null, 16, _hoisted_5),
|
|
696
746
|
renderSlot(_ctx.$slots, "end"),
|
|
697
747
|
showsClear.value && values.value.length > 0 && !props.disabled ? (openBlock(), createElementBlock("button", {
|
|
@@ -700,7 +750,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
700
750
|
class: "astryx-tokenizer-clear",
|
|
701
751
|
"aria-label": unref(messages).tokenizer.clear,
|
|
702
752
|
onClick: clearAll
|
|
703
|
-
}, [..._cache[
|
|
753
|
+
}, [..._cache[2] || (_cache[2] = [createElementVNode("svg", {
|
|
704
754
|
width: "16",
|
|
705
755
|
height: "16",
|
|
706
756
|
viewBox: "0 0 16 16",
|
|
@@ -713,11 +763,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
713
763
|
"stroke-linecap": "round"
|
|
714
764
|
})], -1)])], 8, _hoisted_6)) : createCommentVNode("v-if", true),
|
|
715
765
|
unref(statusIcon) ? (openBlock(), createBlock(resolveDynamicComponent(unref(statusIcon)), normalizeProps(mergeProps({ key: 2 }, unref(statusIconProps))), null, 16)) : createCommentVNode("v-if", true),
|
|
716
|
-
focusableDisabled
|
|
766
|
+
unref(focusableDisabled) && unref(disabledMessage) ? (openBlock(), createElementBlock("span", {
|
|
717
767
|
key: 3,
|
|
718
768
|
id: disabledId,
|
|
719
769
|
class: "astryx-visually-hidden"
|
|
720
|
-
}, toDisplayString(disabledMessage
|
|
770
|
+
}, toDisplayString(unref(disabledMessage)), 1)) : createCommentVNode("v-if", true),
|
|
721
771
|
(openBlock(true), createElementBlock(Fragment, null, renderList(hiddenCarrierItems.value, (item) => {
|
|
722
772
|
return openBlock(), createElementBlock("input", {
|
|
723
773
|
key: `${props.name}-${item.id}`,
|
|
@@ -744,12 +794,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
744
794
|
"status-variant",
|
|
745
795
|
"width"
|
|
746
796
|
]),
|
|
747
|
-
showsDisabledMessage
|
|
797
|
+
unref(showsDisabledMessage) ? (openBlock(), createBlock(_sfc_main$1, {
|
|
748
798
|
key: 0,
|
|
749
799
|
id: disabledTooltipId,
|
|
750
800
|
anchor: anchorRef.value,
|
|
751
801
|
open: unref(disabledTooltip).isOpen.value,
|
|
752
|
-
text: disabledMessage
|
|
802
|
+
text: unref(disabledMessage) ?? "",
|
|
753
803
|
onPointerEnter: unref(disabledTooltip).onTooltipPointerEnter,
|
|
754
804
|
onPointerLeave: unref(disabledTooltip).onTooltipPointerLeave
|
|
755
805
|
}, null, 8, [
|
|
@@ -759,17 +809,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
759
809
|
"onPointerEnter",
|
|
760
810
|
"onPointerLeave"
|
|
761
811
|
])) : createCommentVNode("v-if", true),
|
|
762
|
-
(
|
|
812
|
+
createVNode(_sfc_main$4, {
|
|
763
813
|
id: listboxId,
|
|
764
|
-
ref_key: "
|
|
765
|
-
ref:
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
}, [createVNode(_sfc_main$4, {
|
|
814
|
+
ref_key: "popupRef",
|
|
815
|
+
ref: popupRef,
|
|
816
|
+
"is-open": unref(menuConfig).popupOpen.value,
|
|
817
|
+
config: props.menu,
|
|
818
|
+
label: unref(messages).tokenizer.results,
|
|
819
|
+
grid: unref(optionGrid).gridMode.value,
|
|
820
|
+
placement: unref(anchored).position.value.placement,
|
|
821
|
+
"popup-style": unref(anchored).style.value,
|
|
773
822
|
entries: unref(menu).entries.value.map((entry) => ({
|
|
774
823
|
id: entry.id,
|
|
775
824
|
label: entry.label,
|
|
@@ -780,37 +829,56 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
780
829
|
selected: values.value.some((item) => item.id === entry.item.id)
|
|
781
830
|
})),
|
|
782
831
|
"active-index": unref(menu).combobox.activeIndex.value,
|
|
783
|
-
grid: unref(optionGrid).gridMode.value,
|
|
784
832
|
"action-index": unref(optionGrid).actionGrid.column.value === "action" ? unref(menu).combobox.activeIndex.value : -1,
|
|
785
|
-
status: unref(menu).
|
|
786
|
-
"listbox-id": listboxId,
|
|
833
|
+
status: unref(menu).menuStatus.value,
|
|
787
834
|
"empty-text": emptyText.value,
|
|
788
835
|
"loading-text": unref(messages).tokenizer.loading,
|
|
789
836
|
"error-text": unref(messages).tokenizer.error,
|
|
837
|
+
query: unref(menu).query.value,
|
|
838
|
+
"is-settled": unref(menu).isSettled.value,
|
|
790
839
|
onSelect: onMenuSelect,
|
|
791
|
-
onHighlight: highlight
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
840
|
+
onHighlight: highlight,
|
|
841
|
+
onClose: unref(menuConfig).close,
|
|
842
|
+
onKeydown: unref(menuConfig).closeOnEscape
|
|
843
|
+
}, createSlots({ _: 2 }, [
|
|
844
|
+
_ctx.$slots.item ? {
|
|
845
|
+
name: "item",
|
|
846
|
+
fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, "item", {
|
|
847
|
+
item: unref(menu).entries.value.find((entry) => entry.id === slotProps.entry.id).item,
|
|
848
|
+
isActive: slotProps.isActive,
|
|
849
|
+
isSelected: slotProps.isSelected
|
|
850
|
+
})]),
|
|
851
|
+
key: "0"
|
|
852
|
+
} : void 0,
|
|
853
|
+
_ctx.$slots.empty ? {
|
|
854
|
+
name: "empty",
|
|
855
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
|
|
856
|
+
key: "1"
|
|
857
|
+
} : void 0,
|
|
858
|
+
_ctx.$slots.menu ? {
|
|
859
|
+
name: "menu",
|
|
860
|
+
fn: withCtx((menuProps) => [renderSlot(_ctx.$slots, "menu", normalizeProps(guardReactiveProps(menuProps)))]),
|
|
861
|
+
key: "2"
|
|
862
|
+
} : void 0
|
|
863
|
+
]), 1032, [
|
|
864
|
+
"is-open",
|
|
865
|
+
"config",
|
|
866
|
+
"label",
|
|
867
|
+
"grid",
|
|
868
|
+
"placement",
|
|
869
|
+
"popup-style",
|
|
805
870
|
"entries",
|
|
806
871
|
"active-index",
|
|
807
|
-
"grid",
|
|
808
872
|
"action-index",
|
|
809
873
|
"status",
|
|
810
874
|
"empty-text",
|
|
811
875
|
"loading-text",
|
|
812
|
-
"error-text"
|
|
813
|
-
|
|
876
|
+
"error-text",
|
|
877
|
+
"query",
|
|
878
|
+
"is-settled",
|
|
879
|
+
"onClose",
|
|
880
|
+
"onKeydown"
|
|
881
|
+
])
|
|
814
882
|
], 64);
|
|
815
883
|
};
|
|
816
884
|
}
|
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-Y4H4X6Vy.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.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DPhQZXYw.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
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-Y4H4X6Vy.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/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-C4S65SAW.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-ugSF9DWj.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|