@astryx-vue/core 0.23.0 → 0.24.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/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-mlCoLtma.js → Breadcrumbs-Nv-089W0.js} +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/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BNwTTDHu.js → CheckboxInput-FKfsoLcl.js} +14 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BLY16jPG.js → CheckboxList-DuSVBtMk.js} +20 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CVQ7XS4L.js → ClickableCard-dNmSVHBu.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CVCIsgAU.js → ComplexSelector-C4CO8Fd2.js} +1 -1
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DYLdP-Ok.js → ContextMenu-SzsWZf18.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BVEOMFwc.js → DropdownMenu-BhxKnh6D.js} +2 -2
- package/dist/{DropdownMenu-PjqSkkQs.js → DropdownMenu-Der2x_k_.js} +3 -3
- package/dist/{DropdownMenuRadioItem.vue-C9DdN6UE.d.ts → DropdownMenuRadioItem.vue-DINRx71W.d.ts} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-Bc4snKv8.js → ListItem-gj_lOvEt.js} +4 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DAhOiau3.js → MoreMenu-Dokwc4Mg.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-ERv5u6r4.js → MultiSelector-CId8-qAX.js} +2 -2
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-CB3loauj.js → NavItem-_eIEwV41.js} +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-DuTUReOl.js → Pagination-C0Bx80Tu.js} +2 -2
- 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-CewQJzEt.js → PowerSearch-Dq6Gi9z1.js} +5 -5
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DrCL5-AN.js → RadioGroup-IKBXLzYU.js} +27 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CRi4E1zq.js → RadioList-NW4fGKgm.js} +4 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DFUYTOVH.js → SegmentedControl-DRxcUlVP.js} +71 -4
- 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-D6yzPO5O.js → Selector-BW_oxWDM.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-z_6FwEJy.js → SideNav-B5mMRj98.js} +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DMHlRq7q.js → Slider-oD3AY4jh.js} +64 -20
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-OPRkoPLi.js → Switch-DG_A9cD0.js} +5 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CCjpL_Ku.js → Table-zNW23VwP.js} +4 -4
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DTrNL430.js → ToggleButton-Bnn_MiOn.js} +9 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CPNzkSj3.js → Token-B-j3AKxB.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DdddkJb1.js → Tokenizer-Cpdy_L00.js} +1 -1
- 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/TopNav/index.js +1 -1
- package/dist/{TopNav-C1wpttKX.js → TopNav-q8xDVlM_.js} +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DOAcS3PM.js → TreeList-CEGInQtF.js} +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-6y_r-VNU.js → Typeahead-C-PdRnRQ.js} +1 -1
- package/dist/{disabledInteraction-CPzL8kVP.js → disabledInteraction-Bqoyhoss.js} +9 -1
- package/dist/{index-beOIC0Qk.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-ZT45ZWd5.d.ts → index-85RFPeV0.d.ts} +3 -3
- package/dist/{index-CP-fJFcJ.d.ts → index-BOCb89V9.d.ts} +3 -3
- package/dist/{index-nk2xIHpr.d.ts → index-BWcZ-L80.d.ts} +3 -3
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-CpLLSVCn.d.ts → index-C2HVLdNb.d.ts} +2 -2
- package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-BJputYk6.d.ts → index-CH-xSiJz.d.ts} +3 -3
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-BaFphczL.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-GgHVkJtB.d.ts → index-CRtGmCHi.d.ts} +1 -1
- package/dist/{index-DXHmlFcC.d.ts → index-CuW4AQ7M.d.ts} +3 -3
- package/dist/{index-Dc6mU3rv.d.ts → index-CyMStZq4.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BlhbRf58.d.ts → index-DDVCVpnG.d.ts} +1 -1
- package/dist/{index-B5MCvW75.d.ts → index-DRDOArzq.d.ts} +63 -47
- package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-SRA6e30Q.d.ts → index-HULXozsK.d.ts} +5 -5
- package/dist/{index-B-3EGjfQ.d.ts → index-Q1oG9yIT.d.ts} +2 -2
- package/dist/{index-B6svLvfZ.d.ts → index-Qdbssopn.d.ts} +1 -1
- package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
- package/dist/{index-B3U6GJKl.d.ts → index-lmd9LZKB.d.ts} +1 -1
- package/dist/{index-C9uW39Mj.d.ts → index-mK1ICsVg.d.ts} +3 -3
- 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-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
- package/dist/index.d.ts +30 -30
- package/dist/index.js +30 -30
- package/dist/{types-Dxs5rf-2.d.ts → types-Gw2OjSK9.d.ts} +9 -9
- package/dist/{useMenuDrillIn-f3m-59Qb.js → useMenuDrillIn-CQrzwZvx.js} +1 -1
- package/package.json +1 -1
- package/styles/checkbox-list.css +5 -0
- package/styles/radio-indicator.css +2 -2
- package/styles/radio.css +25 -0
- package/styles/segmented-control.css +46 -1
- package/styles/slider.css +8 -2
- package/styles/switch.css +2 -1
- package/styles/toggle-button.css +3 -0
- package/dist/{Item-CzKm9wxQ.js → Item-DyaYlbyE.js} +1 -1
|
@@ -4,6 +4,8 @@ import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
+
import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
8
|
+
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
7
9
|
import { t as _sfc_main$4 } from "./Field-D4UmRHlD.js";
|
|
8
10
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
9
11
|
import { t as sliderMessages } from "./slider-6ZlGhyPD.js";
|
|
@@ -69,6 +71,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
69
71
|
isFocusable: { type: Boolean },
|
|
70
72
|
tooltipText: {},
|
|
71
73
|
dragging: { type: Boolean },
|
|
74
|
+
dragActive: { type: Boolean },
|
|
72
75
|
keyboardFocus: { type: Boolean },
|
|
73
76
|
extraAttrs: {}
|
|
74
77
|
},
|
|
@@ -86,7 +89,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
86
89
|
const focused = shallowRef(false);
|
|
87
90
|
const hovered = shallowRef(false);
|
|
88
91
|
const dismissed = shallowRef(false);
|
|
89
|
-
const open = computed(() => !!props.tooltipText && !props.isDisabled && !dismissed.value && (focused.value || hovered.value
|
|
92
|
+
const open = computed(() => !!props.tooltipText && !props.isDisabled && !dismissed.value && (props.dragActive ? props.dragging : focused.value || hovered.value));
|
|
90
93
|
const style = computed(() => props.orientation === "horizontal" ? { insetInlineStart: position(props.percentage) } : { bottom: position(props.percentage) });
|
|
91
94
|
watch(() => props.dragging, () => {
|
|
92
95
|
dismissed.value = false;
|
|
@@ -180,24 +183,32 @@ function useSlider(options) {
|
|
|
180
183
|
if (typeof document !== "undefined") trackInteractionModality();
|
|
181
184
|
let pointerId = null;
|
|
182
185
|
let latest;
|
|
186
|
+
let coincidentPress = null;
|
|
187
|
+
let coincidentOrigin = false;
|
|
188
|
+
function resetDrag() {
|
|
189
|
+
dragging.value = null;
|
|
190
|
+
pointerId = null;
|
|
191
|
+
latest = void 0;
|
|
192
|
+
coincidentPress = null;
|
|
193
|
+
coincidentOrigin = false;
|
|
194
|
+
}
|
|
183
195
|
watch([
|
|
184
196
|
() => p.isDisabled,
|
|
185
197
|
() => p.orientation,
|
|
186
198
|
() => Array.isArray(options.model())
|
|
187
|
-
],
|
|
188
|
-
dragging.value = null;
|
|
189
|
-
pointerId = null;
|
|
190
|
-
latest = void 0;
|
|
191
|
-
});
|
|
199
|
+
], resetDrag);
|
|
192
200
|
watch(values, () => {
|
|
193
201
|
latest = void 0;
|
|
194
202
|
});
|
|
203
|
+
function boundsFor(index, base) {
|
|
204
|
+
return [index === 1 ? add(base[0], gap.value) : min.value, base.length === 2 && index === 0 ? add(base[1], -gap.value) : max.value];
|
|
205
|
+
}
|
|
195
206
|
function bounds(index) {
|
|
196
|
-
return
|
|
207
|
+
return boundsFor(index, values.value);
|
|
197
208
|
}
|
|
198
|
-
function update(index, raw, shouldSnap = true) {
|
|
199
|
-
const next = [...
|
|
200
|
-
const [lower, upper] =
|
|
209
|
+
function update(index, raw, shouldSnap = true, base = values.value) {
|
|
210
|
+
const next = [...base];
|
|
211
|
+
const [lower, upper] = boundsFor(index, base);
|
|
201
212
|
next[index] = clamp(shouldSnap ? snap(raw, min.value, step.value) : raw, lower, upper);
|
|
202
213
|
const value = next.length === 2 ? [next[0], next[1]] : next[0];
|
|
203
214
|
latest = value;
|
|
@@ -219,24 +230,53 @@ function useSlider(options) {
|
|
|
219
230
|
const mark = target.closest("[data-mark-value]");
|
|
220
231
|
const thumb = target.closest("[data-thumb-index]");
|
|
221
232
|
const raw = mark ? Number(mark.dataset.markValue) : pointerValue(event);
|
|
222
|
-
const
|
|
233
|
+
const isCoincident = values.value.length === 2 && values.value[0] === values.value[1];
|
|
234
|
+
const parks = isCoincident && (thumb != null || raw === values.value[0]);
|
|
235
|
+
let index = thumb ? Number(thumb.dataset.thumbIndex) : values.value.length === 2 && Math.abs(raw - values.value[1]) < Math.abs(raw - values.value[0]) ? 1 : 0;
|
|
236
|
+
if (parks && thumb == null) index = 1;
|
|
237
|
+
if (isCoincident && !parks) index = raw > values.value[0] ? 1 : 0;
|
|
223
238
|
event.preventDefault();
|
|
224
239
|
dragging.value = index;
|
|
225
240
|
pointerId = event.pointerId;
|
|
241
|
+
coincidentPress = parks ? pointerValue(event) : null;
|
|
242
|
+
coincidentOrigin = parks;
|
|
226
243
|
options.track.value.querySelectorAll("[role=\"slider\"]")[index]?.focus({ preventScroll: true });
|
|
227
244
|
keyboardFocus.value = null;
|
|
228
|
-
update(index, raw);
|
|
245
|
+
update(index, parks ? values.value[index] : raw);
|
|
229
246
|
options.track.value.setPointerCapture?.(event.pointerId);
|
|
230
247
|
}
|
|
248
|
+
function handTo(index) {
|
|
249
|
+
if (index === dragging.value) return;
|
|
250
|
+
dragging.value = index;
|
|
251
|
+
options.track.value?.querySelectorAll("[role=\"slider\"]")[index]?.focus({ preventScroll: true });
|
|
252
|
+
keyboardFocus.value = null;
|
|
253
|
+
}
|
|
231
254
|
function pointerMove(event) {
|
|
232
|
-
if (
|
|
255
|
+
if (p.isDisabled || pointerId !== event.pointerId || dragging.value === null) return;
|
|
256
|
+
const value = pointerValue(event);
|
|
257
|
+
if (coincidentPress !== null) {
|
|
258
|
+
if (value === coincidentPress) return;
|
|
259
|
+
const origin = coincidentPress;
|
|
260
|
+
coincidentPress = null;
|
|
261
|
+
handTo(value > origin ? 1 : 0);
|
|
262
|
+
} else if (coincidentOrigin) {
|
|
263
|
+
const current = values.value;
|
|
264
|
+
const held = dragging.value;
|
|
265
|
+
const other = held === 0 ? 1 : 0;
|
|
266
|
+
if (held === 0 && value > current[1] || held === 1 && value < current[0]) {
|
|
267
|
+
const base = [...current];
|
|
268
|
+
base[held] = current[other];
|
|
269
|
+
handTo(other);
|
|
270
|
+
update(other, value, true, base);
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
update(dragging.value, value);
|
|
233
275
|
}
|
|
234
276
|
function pointerEnd(event) {
|
|
235
277
|
if (pointerId !== event.pointerId || dragging.value === null) return;
|
|
236
278
|
const value = latest ?? (values.value.length === 2 ? [values.value[0], values.value[1]] : values.value[0]);
|
|
237
|
-
|
|
238
|
-
pointerId = null;
|
|
239
|
-
latest = void 0;
|
|
279
|
+
resetDrag();
|
|
240
280
|
if (options.track.value?.hasPointerCapture?.(event.pointerId)) options.track.value.releasePointerCapture(event.pointerId);
|
|
241
281
|
if (!p.isDisabled) options.end(value);
|
|
242
282
|
}
|
|
@@ -416,7 +456,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
416
456
|
const isRange = computed(() => values.value.length === 2);
|
|
417
457
|
const showsDisabledMessage = computed(() => !!props.isDisabled && !!props.disabledMessage?.trim());
|
|
418
458
|
const tooltip = useButtonTooltip(showsDisabledMessage);
|
|
419
|
-
const
|
|
459
|
+
const ariaRequired = useAriaRequired(props);
|
|
460
|
+
const required = computed(() => ariaRequired.value === true);
|
|
420
461
|
const marks = computed(() => props.marks?.filter((mark) => Number.isFinite(mark.value) && mark.value >= min.value && mark.value <= max.value) ?? []);
|
|
421
462
|
const hasMarkLabels = computed(() => marks.value.some((mark) => mark.label));
|
|
422
463
|
const format = (value) => props.formatValue?.(value) ?? String(value);
|
|
@@ -448,6 +489,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
448
489
|
return value <= values.value.at(-1) && (!isRange.value || value >= values.value[0]);
|
|
449
490
|
}
|
|
450
491
|
function callConsumerPointer(event) {
|
|
492
|
+
if (props.isDisabled) return;
|
|
451
493
|
for (const name of {
|
|
452
494
|
pointerdown: ["onPointerdown", "onPointerDown"],
|
|
453
495
|
pointermove: ["onPointermove", "onPointerMove"],
|
|
@@ -471,9 +513,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
471
513
|
callConsumerPointer(event);
|
|
472
514
|
}
|
|
473
515
|
const shellStyle = computed(() => [attrs.style, parts.containerStyle.value]);
|
|
474
|
-
const thumbAttrs = computed(() => isRange.value ? {} : parts.forwardedAttrs());
|
|
516
|
+
const thumbAttrs = computed(() => isRange.value ? {} : withholdCallerHandlers(parts.forwardedAttrs(), !!props.isDisabled));
|
|
475
517
|
const trackAttrs = computed(() => ({
|
|
476
|
-
...isRange.value ? parts.forwardedAttrs() : {},
|
|
518
|
+
...isRange.value ? withholdCallerHandlers(parts.forwardedAttrs(), !!props.isDisabled) : {},
|
|
477
519
|
...props.isDisabled ? {} : press.pressableProps
|
|
478
520
|
}));
|
|
479
521
|
function focus(index = 0, options) {
|
|
@@ -535,7 +577,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
535
577
|
"data-orientation": __props.orientation,
|
|
536
578
|
"data-disabled": __props.isDisabled || void 0,
|
|
537
579
|
role: isRange.value ? "group" : void 0,
|
|
538
|
-
"aria-labelledby": isRange.value ? field.labelId : void 0,
|
|
580
|
+
"aria-labelledby": isRange.value ? [field.labelId, unref(attrs)["aria-labelledby"]].filter(Boolean).join(" ") : void 0,
|
|
539
581
|
onPointerdown: onPointerDown,
|
|
540
582
|
onPointermove: onPointerMove,
|
|
541
583
|
onPointerup: onPointerEnd,
|
|
@@ -591,6 +633,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
591
633
|
"is-disabled": __props.isDisabled,
|
|
592
634
|
"is-focusable": !__props.isDisabled || showsDisabledMessage.value,
|
|
593
635
|
dragging: unref(dragging) === index,
|
|
636
|
+
"drag-active": unref(dragging) !== null,
|
|
594
637
|
"keyboard-focus": unref(control).keyboardFocus.value === index,
|
|
595
638
|
"extra-attrs": thumbAttrs.value,
|
|
596
639
|
"tooltip-text": __props.valueDisplay === "tooltip" ? format(value) : void 0,
|
|
@@ -612,6 +655,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
612
655
|
"is-disabled",
|
|
613
656
|
"is-focusable",
|
|
614
657
|
"dragging",
|
|
658
|
+
"drag-active",
|
|
615
659
|
"keyboard-focus",
|
|
616
660
|
"extra-attrs",
|
|
617
661
|
"tooltip-text",
|
package/dist/Stack/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
|
|
2
|
-
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-
|
|
2
|
+
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BgT6mH3U.js";
|
|
3
3
|
export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-
|
|
1
|
+
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Q1oG9yIT.js";
|
|
2
2
|
export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-
|
|
1
|
+
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-DRDOArzq.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Switch-
|
|
1
|
+
import { t as _sfc_main } from "../Switch-DG_A9cD0.js";
|
|
2
2
|
export { _sfc_main as Switch };
|
|
@@ -7,6 +7,7 @@ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
|
7
7
|
import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
8
8
|
import { t as _sfc_main$3 } from "./FieldLabel-CZbayYFD.js";
|
|
9
9
|
import { t as _sfc_main$4 } from "./FieldStatus-DmCWPT6U.js";
|
|
10
|
+
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
10
11
|
import { t as switchMessages } from "./switch-B9xwxdOU.js";
|
|
11
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
12
13
|
import "../styles/switch.css";
|
|
@@ -78,6 +79,7 @@ const _hoisted_3 = [
|
|
|
78
79
|
"name",
|
|
79
80
|
"form",
|
|
80
81
|
"readonly",
|
|
82
|
+
"required",
|
|
81
83
|
"aria-checked",
|
|
82
84
|
"aria-labelledby",
|
|
83
85
|
"aria-describedby",
|
|
@@ -196,7 +198,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
196
198
|
"aria-busy"
|
|
197
199
|
]);
|
|
198
200
|
function inputAttrs() {
|
|
199
|
-
return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
|
|
201
|
+
return Object.fromEntries(Object.entries(withholdCallerHandlers(attrs, !!props.isDisabled)).filter(([key]) => !controlledAttrs.has(key)));
|
|
200
202
|
}
|
|
201
203
|
function describedBy() {
|
|
202
204
|
return [
|
|
@@ -263,6 +265,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
263
265
|
name: __props.isDisabled ? void 0 : __props.htmlName ?? inputAttrs().name,
|
|
264
266
|
form: __props.isDisabled ? "" : inputAttrs().form,
|
|
265
267
|
readonly: __props.isReadOnly || showsDisabledMessage.value,
|
|
268
|
+
required: __props.isRequired && !__props.isOptional,
|
|
266
269
|
"aria-checked": unref(action).value.value,
|
|
267
270
|
"aria-labelledby": labelledBy(),
|
|
268
271
|
"aria-describedby": describedBy(),
|
|
@@ -270,7 +273,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
270
273
|
"aria-readonly": __props.isReadOnly || void 0,
|
|
271
274
|
"aria-busy": busy.value || void 0,
|
|
272
275
|
"aria-required": unref(ariaRequired),
|
|
273
|
-
"aria-invalid": __props.status?.type === "error" ? true : inputAttrs()["aria-invalid"],
|
|
276
|
+
"aria-invalid": __props.status?.type === "error" ? true : __props.isRequired ? false : inputAttrs()["aria-invalid"],
|
|
274
277
|
onClick: click,
|
|
275
278
|
onChange: change,
|
|
276
279
|
onKeydown: keydown,
|
package/dist/TabList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-
|
|
1
|
+
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-mK1ICsVg.js";
|
|
2
2
|
export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-
|
|
1
|
+
import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-DRDOArzq.js";
|
|
2
2
|
import { $ as useTableSelectionState, A as TableLoadingState, B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowMenuItem, G as TableTextOverflow, H as TableSortDirection, I as TableRowModel, J as TableSelectedKeysSetter, K as TableVerticalAlign, L as TableRowPatch, M as TablePlugin, N as TableProps, O as TableGroupPatch, P as TableRowListeners, Q as useTableSelection, R as TableRowProps, S as TableDividers, T as TableFilterState, U as TableSortEntry, W as TableSortState, X as UseTableSelectionConfig, Y as TableSelectionState, Z as UseTableSelectionStateConfig, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePanelPatch, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as TableVirtualizationContribution, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSelectionToolbarProps } from "../useResizable-CJd4JkbJ.js";
|
|
3
3
|
export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TableLoadingState, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowModel, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type TableVirtualizationContribution, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableColumnsVirtualizationConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTableInfiniteScrollConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableRowsVirtualizationConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/Table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-
|
|
1
|
+
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-zNW23VwP.js";
|
|
2
2
|
export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
|
@@ -13,16 +13,16 @@ import { t as useScrollableArea } from "./useScrollableArea-BaHkGWbX.js";
|
|
|
13
13
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
14
14
|
import { t as _sfc_main$20 } from "./Tooltip-CByjfHBZ.js";
|
|
15
15
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
16
|
-
import { t as _sfc_main$21 } from "./CheckboxInput-
|
|
16
|
+
import { t as _sfc_main$21 } from "./CheckboxInput-FKfsoLcl.js";
|
|
17
17
|
import { t as _sfc_main$22 } from "./ComponentIcon-Dw4xQxg3.js";
|
|
18
18
|
import { t as _sfc_main$23 } from "./Popover-DpR4rwiW.js";
|
|
19
19
|
import { t as _sfc_main$24 } from "./DateInput-D9Jv70H7.js";
|
|
20
20
|
import { s as tableMessages } from "./loadCatalog-BeQt6Uq-.js";
|
|
21
21
|
import { r as useCollator } from "./locale-B4FpGKpc.js";
|
|
22
|
-
import { t as _sfc_main$25 } from "./MultiSelector-
|
|
22
|
+
import { t as _sfc_main$25 } from "./MultiSelector-CId8-qAX.js";
|
|
23
23
|
import { t as _sfc_main$26 } from "./NumberInput-Bl5TFhGD.js";
|
|
24
|
-
import { t as _sfc_main$27 } from "./Pagination-
|
|
25
|
-
import { t as _sfc_main$28 } from "./Selector-
|
|
24
|
+
import { t as _sfc_main$27 } from "./Pagination-C0Bx80Tu.js";
|
|
25
|
+
import { t as _sfc_main$28 } from "./Selector-BW_oxWDM.js";
|
|
26
26
|
import { t as _sfc_main$29 } from "./TextInput-D6tHM2sA.js";
|
|
27
27
|
import { t as _sfc_main$30 } from "./Toolbar-DSWH8ll4.js";
|
|
28
28
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, reactive, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, useId, watch, withCtx, withModifiers } from "vue";
|
package/dist/Text/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-B8suOGP8.js";
|
|
2
|
-
import { n as useTruncation, r as _default, t as Truncation } from "../index-
|
|
2
|
+
import { n as useTruncation, r as _default, t as Truncation } from "../index-rdwI-mcm.js";
|
|
3
3
|
export { _default as Text, type TextAs, type TextColor, type TextDisplay, type TextJustify, type TextProps, type TextSize, type TextTruncateTooltip, type TextType, type TextWeight, type TextWordBreak, type TextWrap, type Truncation, useTruncation };
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-
|
|
1
|
+
import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-DRDOArzq.js";
|
|
2
2
|
export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-
|
|
1
|
+
import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-DRDOArzq.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-DRDOArzq.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputEntryError, type TimeInputProps, type TimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-DRDOArzq.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-DRDOArzq.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
|
@@ -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-Bnn_MiOn.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -21,6 +21,7 @@ const _hoisted_3 = {
|
|
|
21
21
|
};
|
|
22
22
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
23
23
|
name: "AstryxToggleButton",
|
|
24
|
+
inheritAttrs: false,
|
|
24
25
|
__name: "ToggleButton",
|
|
25
26
|
props: /*@__PURE__*/ mergeModels({
|
|
26
27
|
label: {},
|
|
@@ -117,7 +118,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
117
118
|
return (_ctx, _cache) => {
|
|
118
119
|
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
119
120
|
ref_key: "button",
|
|
120
|
-
ref: button
|
|
121
|
+
ref: button
|
|
122
|
+
}, {
|
|
123
|
+
..._ctx.$attrs,
|
|
124
|
+
...groupItemProps.value
|
|
125
|
+
}, {
|
|
121
126
|
class: "astryx-toggle-button",
|
|
122
127
|
"aria-pressed": isPressed.value ? "true" : "false",
|
|
123
128
|
"data-pressed": isPressed.value ? "true" : "false",
|
|
@@ -131,8 +136,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
131
136
|
size: size.value,
|
|
132
137
|
tooltip: __props.tooltip,
|
|
133
138
|
variant: "ghost",
|
|
134
|
-
"click-action": clickAction.value
|
|
135
|
-
|
|
139
|
+
"click-action": clickAction.value,
|
|
140
|
+
onClick: handleClick
|
|
141
|
+
}), createSlots({
|
|
136
142
|
default: withCtx(() => [!__props.isIconOnly ? (openBlock(), createElementBlock("span", _hoisted_1$1, [createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])])) : createCommentVNode("v-if", true)]),
|
|
137
143
|
_: 2
|
|
138
144
|
}, [_ctx.$slots.icon || _ctx.$slots.pressedIcon ? {
|
package/dist/Token/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
|
5
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
7
7
|
import { t as textDirection } from "./textDirection-D4ObTwbB.js";
|
|
8
|
-
import { n as disabledInteractionProps } from "./disabledInteraction-
|
|
8
|
+
import { n as disabledInteractionProps } from "./disabledInteraction-Bqoyhoss.js";
|
|
9
9
|
import { t as tokenMessages } from "./token-DcbdjdZ2.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
11
11
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-CH-xSiJz.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, 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-Cpdy_L00.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -14,7 +14,7 @@ import { t as _sfc_main$2 } from "./Field-D4UmRHlD.js";
|
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
15
15
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
16
16
|
import { t as tokenizerMessages } from "./tokenizer-ChiAuPN-.js";
|
|
17
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
17
|
+
import { t as _sfc_main$3 } from "./Token-B-j3AKxB.js";
|
|
18
18
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-1Tgkns0J.js";
|
|
19
19
|
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$4, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-GvdIymRg.js";
|
|
20
20
|
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";
|
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-DRDOArzq.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-DYabo8TI.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-DRDOArzq.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-q8xDVlM_.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 };
|
|
@@ -11,7 +11,7 @@ import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-BlcdCg8M
|
|
|
11
11
|
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
|
-
import { t as _sfc_main$12 } from "./NavItem-
|
|
14
|
+
import { t as _sfc_main$12 } from "./NavItem-_eIEwV41.js";
|
|
15
15
|
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-CqAThYgR.js";
|
|
16
16
|
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-BxfjAf1T.js";
|
|
17
17
|
import { t as _sfc_main$16 } from "./NavHeadingSurface-DJ4pWvEi.js";
|
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-CKnr0JlT.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-CEGInQtF.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -9,7 +9,7 @@ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
|
9
9
|
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
10
10
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
11
11
|
import { t as useFocusAcrossSwap } from "./focusAcrossSwap-Casww_IY.js";
|
|
12
|
-
import { t as consumeWhileDisabled } from "./disabledInteraction-
|
|
12
|
+
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
13
13
|
import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
14
14
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
15
15
|
import "../styles/tree-list.css";
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-GvdIymRg.js";
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-C-PdRnRQ.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -13,7 +13,7 @@ import { t as _sfc_main$5 } from "./Field-D4UmRHlD.js";
|
|
|
13
13
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
14
14
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
|
-
import { t as _sfc_main$6 } from "./Token-
|
|
16
|
+
import { t as _sfc_main$6 } from "./Token-B-j3AKxB.js";
|
|
17
17
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-1Tgkns0J.js";
|
|
18
18
|
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-GvdIymRg.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";
|
|
@@ -43,5 +43,13 @@ function disabledInteractionProps(onKeyDown) {
|
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* 可聚焦的禁用控件交给元素的调用方 props:除了聚焦和失焦,所有 `on*` 处理函数都不给,
|
|
48
|
+
* 和原生 `disabled` 一样,控件不会运行任何调用方回调。没禁用时原样返回。
|
|
49
|
+
*/
|
|
50
|
+
function withholdCallerHandlers(props, isDisabled) {
|
|
51
|
+
if (!isDisabled) return props;
|
|
52
|
+
return Object.fromEntries(Object.entries(props).filter(([key]) => !/^on[A-Z]/.test(key) || /^on(?:Focus|Blur)/.test(key)));
|
|
53
|
+
}
|
|
46
54
|
//#endregion
|
|
47
|
-
export { disabledInteractionProps as n, consumeWhileDisabled as t };
|
|
55
|
+
export { disabledInteractionProps as n, withholdCallerHandlers as r, consumeWhileDisabled as t };
|
|
@@ -122,9 +122,9 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
122
122
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
123
123
|
}>, {
|
|
124
124
|
size: PaginationSize;
|
|
125
|
-
step: number;
|
|
126
125
|
isDisabled: boolean;
|
|
127
126
|
variant: PaginationVariant;
|
|
127
|
+
step: number;
|
|
128
128
|
disabled: boolean;
|
|
129
129
|
page: number;
|
|
130
130
|
pageSize: number;
|
|
@@ -176,24 +176,24 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
176
176
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
177
|
search: (query: string) => any;
|
|
178
178
|
click: (event: MouseEvent) => any;
|
|
179
|
+
focus: (event: FocusEvent) => any;
|
|
179
180
|
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
180
181
|
keydown: (event: KeyboardEvent) => any;
|
|
181
182
|
openChange: (isOpen: boolean) => any;
|
|
182
183
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
183
|
-
focus: (event: FocusEvent) => any;
|
|
184
184
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
185
185
|
onSearch?: ((query: string) => any) | undefined;
|
|
186
186
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
187
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
187
188
|
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
188
189
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
189
190
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
190
191
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
191
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
192
192
|
}>, {
|
|
193
193
|
required: boolean;
|
|
194
|
-
status: MultiSelectorStatus;
|
|
195
194
|
isLoading: boolean;
|
|
196
195
|
variant: MultiSelectorVariant;
|
|
196
|
+
status: MultiSelectorStatus;
|
|
197
197
|
modelValue: readonly (string | number)[];
|
|
198
198
|
statusVariant: MultiSelectorStatusVariant;
|
|
199
199
|
presentation: MultiSelectorPresentation;
|
|
@@ -140,8 +140,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
|
140
140
|
height: string | number;
|
|
141
141
|
isInline: boolean;
|
|
142
142
|
purpose: BottomSheetPurpose;
|
|
143
|
-
snapPoints: readonly BottomSheetSnapPoint[];
|
|
144
143
|
hasScrim: boolean;
|
|
144
|
+
snapPoints: readonly BottomSheetSnapPoint[];
|
|
145
145
|
finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
|
|
146
146
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
147
147
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -175,11 +175,11 @@ type __VLS_Slots = {} & {
|
|
|
175
175
|
default?: (props: typeof __VLS_1) => any;
|
|
176
176
|
};
|
|
177
177
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
178
|
-
"update:activeSheet": (value: string | null) => any;
|
|
179
178
|
cancel: (event: Event) => any;
|
|
179
|
+
"update:activeSheet": (value: string | null) => any;
|
|
180
180
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
181
|
-
"onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
|
|
182
181
|
onCancel?: ((event: Event) => any) | undefined;
|
|
182
|
+
"onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
|
|
183
183
|
}>, {
|
|
184
184
|
hasScrim: boolean;
|
|
185
185
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ListItemProps, a as ItemLayout, b as ListProps, g as ListEdgeCompensation, h as ListEdge, m as ListDensity, o as ItemProps, r as ItemElement, s as ItemSlots, t as ItemAlign, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "./types-
|
|
1
|
+
import { _ as ListItemProps, a as ItemLayout, b as ListProps, g as ListEdgeCompensation, h as ListEdge, m as ListDensity, o as ItemProps, r as ItemElement, s as ItemSlots, t as ItemAlign, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "./types-Gw2OjSK9.js";
|
|
2
2
|
import { ComputedRef, InjectionKey } from "vue";
|
|
3
3
|
//#region src/List/context.d.ts
|
|
4
4
|
/**
|
|
@@ -35,10 +35,10 @@ 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
|
-
layout: ItemLayout;
|
|
39
38
|
isDisabled: boolean;
|
|
40
|
-
density: ListDensity;
|
|
41
39
|
as: ItemElement;
|
|
40
|
+
density: ListDensity;
|
|
41
|
+
layout: ItemLayout;
|
|
42
42
|
isSelected: boolean;
|
|
43
43
|
align: ItemAlign;
|
|
44
44
|
isHighlighted: boolean;
|