@vuetify/v0 1.0.2 → 1.0.4
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/adapter-BCtceV3b.mjs +66 -0
- package/dist/{adapter-C5F2huij.d.mts → adapter-Bc0yPSfo.d.mts} +6 -1
- package/dist/browser/index.d.ts +499 -376
- package/dist/browser/index.js +594 -241
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +2 -2
- package/dist/{components-EPI-OV3g.mjs → components-BEULKf1l.mjs} +795 -497
- package/dist/composables/index.d.mts +2 -2
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-Ce3inP9P.mjs → composables-UDLJSkis.mjs} +80 -94
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-BnL2eb_0.mjs → createDataTable-odNvR9Tl.mjs} +3 -3
- package/dist/{createGroup-CJjPnhGu.mjs → createGroup-DK5KxHjn.mjs} +1 -1
- package/dist/{createRegistry-BCyeTWME.mjs → createRegistry-DCWma-GG.mjs} +1 -1
- package/dist/{createSelection-MKYbRsRh.mjs → createSelection-B3L-4fLH.mjs} +1 -1
- package/dist/{createSingle-BqTldaCh.mjs → createSingle-DBWZc1_G.mjs} +1 -1
- package/dist/{createTokens-1CBBjmzi.mjs → createTokens-C4ZmZFHA.mjs} +2 -2
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.d.mts +2 -2
- package/dist/date/index.mjs +7 -36
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-BVulH1kl.mjs → globals-BUTW4MHG.mjs} +1 -1
- package/dist/{index-DBm7uM6h.d.mts → index-CRi_o77U.d.mts} +521 -405
- package/dist/{index-0Wnlny_C.d.mts → index-CrAgM2EJ.d.mts} +5 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +25 -25
- package/dist/json/attributes.json +29 -1
- package/dist/json/importMap.json +4 -0
- package/dist/json/tags.json +12 -0
- package/dist/json/web-types.json +74 -2
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/index.d.mts +1 -1
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +5 -0
- package/dist/locale/messages/en/index.mjs +7 -2
- package/dist/logger/adapters/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.d.mts +1 -1
- package/dist/notifications/index.mjs +2 -2
- package/dist/palettes/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +2 -2
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/{unhead-OxL9-io3.mjs → unhead-DHgoHwNp.mjs} +1 -1
- package/dist/{useEventListener-DvBy0REl.mjs → useEventListener-DH8rxkg9.mjs} +1 -1
- package/dist/{useFeatures-BzLoyh-D.mjs → useFeatures-C69UhG6j.mjs} +3 -3
- package/dist/{useLocale-6nnyjL_b.mjs → useLocale-x-_byBGJ.mjs} +4 -4
- package/dist/{useLogger-SKBSf2Ry.mjs → useLogger-YmzhmbpJ.mjs} +2 -2
- package/dist/{useNotifications-CD7VNgfs.mjs → useNotifications-HplEE-rp.mjs} +3 -3
- package/dist/{usePermissions-CT4nIEtD.mjs → usePermissions-DOEFSPvv.mjs} +2 -2
- package/dist/{useRovingFocus-DPa2z5II.mjs → useRovingFocus-B_21NzGP.mjs} +26 -18
- package/dist/{useRules-DhN_Glen.mjs → useRules-D3t_9FXV.mjs} +2 -2
- package/dist/{useStorage-vwbN1KlV.mjs → useStorage-Dk0vBk5G.mjs} +3 -3
- package/dist/{useTheme-HbZK7iGf.mjs → useTheme-BgZhqWsW.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-CvlDO4sB.mjs → v0-BOwub0NK.mjs} +1 -1
- package/dist/{v0-C2JHbe3R.mjs → v0-_kEIVNjG.mjs} +1 -1
- package/dist/{v0-D-N-Egmx.mjs → v0-sv4EvUA-.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adapter-Cy7wXVFe.mjs +0 -4
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { n as isSelfClosingTag } from "./htmlElements-CHXZfsZu.mjs";
|
|
2
|
-
import { t as IN_BROWSER } from "./globals-
|
|
2
|
+
import { t as IN_BROWSER } from "./globals-BUTW4MHG.mjs";
|
|
3
3
|
import { clamp, isArray, isElement, isNull, isNullOrUndefined, isNumber, isObject, isString, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
|
|
4
4
|
import { n as createContext, r as provideContext } from "./createTrinity-z-3q9QWR.mjs";
|
|
5
|
-
import { i as useLogger } from "./useLogger-
|
|
6
|
-
import { t as createRegistry } from "./createRegistry-
|
|
7
|
-
import { t as createSelection } from "./createSelection-
|
|
8
|
-
import { t as createSingle } from "./createSingle-
|
|
9
|
-
import { a as useLocale } from "./useLocale-
|
|
10
|
-
import { n as useEventListener, t as useDocumentEventListener } from "./useEventListener-
|
|
11
|
-
import { B as createBreadcrumbs, C as useIntersectionObserver, D as useLazy, F as useDelay, I as createStep, J as useResizeObserver, N as useVirtualFocus, O as createCombobox, P as usePopover, U as useImage, W as createOverflow, _ as useRaf, at as useStack, b as createInput, c as useTooltip, g as usePresence, l as createSlider, n as createNested, ot as toElement, p as createProgress, q as useElementSize, st as useClickOutside, t as useRovingFocus, tt as useToggleScope, u as createRating, v as createNumberField, w as createForm, z as useProxyModel } from "./useRovingFocus-
|
|
12
|
-
import { t as createGroup } from "./createGroup-
|
|
13
|
-
import { c as useTimer, i as useNotifications } from "./useNotifications-
|
|
5
|
+
import { i as useLogger } from "./useLogger-YmzhmbpJ.mjs";
|
|
6
|
+
import { t as createRegistry } from "./createRegistry-DCWma-GG.mjs";
|
|
7
|
+
import { t as createSelection } from "./createSelection-B3L-4fLH.mjs";
|
|
8
|
+
import { t as createSingle } from "./createSingle-DBWZc1_G.mjs";
|
|
9
|
+
import { a as useLocale } from "./useLocale-x-_byBGJ.mjs";
|
|
10
|
+
import { n as useEventListener, t as useDocumentEventListener } from "./useEventListener-DH8rxkg9.mjs";
|
|
11
|
+
import { B as createBreadcrumbs, C as useIntersectionObserver, D as useLazy, F as useDelay, I as createStep, J as useResizeObserver, N as useVirtualFocus, O as createCombobox, P as usePopover, U as useImage, W as createOverflow, _ as useRaf, at as useStack, b as createInput, c as useTooltip, g as usePresence, l as createSlider, n as createNested, ot as toElement, p as createProgress, q as useElementSize, st as useClickOutside, t as useRovingFocus, tt as useToggleScope, u as createRating, v as createNumberField, w as createForm, z as useProxyModel } from "./useRovingFocus-B_21NzGP.mjs";
|
|
12
|
+
import { t as createGroup } from "./createGroup-DK5KxHjn.mjs";
|
|
13
|
+
import { c as useTimer, i as useNotifications } from "./useNotifications-HplEE-rp.mjs";
|
|
14
14
|
import { t as createPagination } from "./createPagination-B5dfqY-a.mjs";
|
|
15
|
-
import { i as useTheme } from "./useTheme-
|
|
16
|
-
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
15
|
+
import { i as useTheme } from "./useTheme-BgZhqWsW.mjs";
|
|
16
|
+
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, onUnmounted, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowReadonly, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
17
17
|
//#region src/components/Atom/Atom.vue
|
|
18
18
|
/**
|
|
19
19
|
* @module Atom
|
|
@@ -38,7 +38,7 @@ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createComme
|
|
|
38
38
|
* serving as the foundation for all other components that need polymorphic
|
|
39
39
|
* rendering capabilities.
|
|
40
40
|
*/
|
|
41
|
-
const _sfc_main$
|
|
41
|
+
const _sfc_main$172 = /* @__PURE__ */ defineComponent({
|
|
42
42
|
name: "Atom",
|
|
43
43
|
__name: "Atom",
|
|
44
44
|
props: {
|
|
@@ -72,7 +72,7 @@ const _sfc_main$171 = /* @__PURE__ */ defineComponent({
|
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/AlertDialog/AlertDialogRoot.vue
|
|
74
74
|
const [useAlertDialogContext, provideAlertDialogContext] = createContext();
|
|
75
|
-
const _sfc_main$
|
|
75
|
+
const _sfc_main$171 = /* @__PURE__ */ defineComponent({
|
|
76
76
|
name: "AlertDialogRoot",
|
|
77
77
|
__name: "AlertDialogRoot",
|
|
78
78
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -92,6 +92,7 @@ const _sfc_main$170 = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
const id = __props.id ?? /* @__PURE__ */ useId$1();
|
|
93
93
|
const isOpen = useModel(__props, "modelValue");
|
|
94
94
|
const isPending = shallowRef(false);
|
|
95
|
+
const cancelEl = shallowRef(null);
|
|
95
96
|
const titleId = `${id}-title`;
|
|
96
97
|
const descriptionId = `${id}-description`;
|
|
97
98
|
function open() {
|
|
@@ -107,6 +108,7 @@ const _sfc_main$170 = /* @__PURE__ */ defineComponent({
|
|
|
107
108
|
titleId,
|
|
108
109
|
descriptionId,
|
|
109
110
|
isPending,
|
|
111
|
+
cancelEl,
|
|
110
112
|
open,
|
|
111
113
|
close
|
|
112
114
|
});
|
|
@@ -118,7 +120,7 @@ const _sfc_main$170 = /* @__PURE__ */ defineComponent({
|
|
|
118
120
|
close
|
|
119
121
|
}));
|
|
120
122
|
return (_ctx, _cache) => {
|
|
121
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
123
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
122
124
|
as: __props.as,
|
|
123
125
|
renderless: ""
|
|
124
126
|
}, {
|
|
@@ -130,7 +132,7 @@ const _sfc_main$170 = /* @__PURE__ */ defineComponent({
|
|
|
130
132
|
});
|
|
131
133
|
//#endregion
|
|
132
134
|
//#region src/components/AlertDialog/AlertDialogAction.vue
|
|
133
|
-
const _sfc_main$
|
|
135
|
+
const _sfc_main$170 = /* @__PURE__ */ defineComponent({
|
|
134
136
|
name: "AlertDialogAction",
|
|
135
137
|
__name: "AlertDialogAction",
|
|
136
138
|
props: {
|
|
@@ -161,18 +163,27 @@ const _sfc_main$169 = /* @__PURE__ */ defineComponent({
|
|
|
161
163
|
});
|
|
162
164
|
if (!waited) context.close();
|
|
163
165
|
}
|
|
166
|
+
function onKeydown(e) {
|
|
167
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
168
|
+
e.preventDefault();
|
|
169
|
+
onClick();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
164
172
|
const slotProps = toRef(() => ({
|
|
165
173
|
isPending: context.isPending.value,
|
|
166
174
|
attrs: {
|
|
167
175
|
"type": __props.as === "button" ? "button" : void 0,
|
|
168
|
-
"
|
|
176
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
177
|
+
"tabindex": __props.disabled ? -1 : 0,
|
|
178
|
+
"disabled": __props.as === "button" ? __props.disabled || void 0 : void 0,
|
|
169
179
|
"data-disabled": __props.disabled ? "" : void 0,
|
|
170
180
|
"data-pending": context.isPending.value ? "" : void 0,
|
|
171
|
-
"onClick": onClick
|
|
181
|
+
"onClick": onClick,
|
|
182
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
172
183
|
}
|
|
173
184
|
}));
|
|
174
185
|
return (_ctx, _cache) => {
|
|
175
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
186
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
176
187
|
as: __props.as,
|
|
177
188
|
renderless: __props.renderless
|
|
178
189
|
}, slotProps.value.attrs), {
|
|
@@ -184,7 +195,7 @@ const _sfc_main$169 = /* @__PURE__ */ defineComponent({
|
|
|
184
195
|
});
|
|
185
196
|
//#endregion
|
|
186
197
|
//#region src/components/AlertDialog/AlertDialogActivator.vue
|
|
187
|
-
const _sfc_main$
|
|
198
|
+
const _sfc_main$169 = /* @__PURE__ */ defineComponent({
|
|
188
199
|
name: "AlertDialogActivator",
|
|
189
200
|
__name: "AlertDialogActivator",
|
|
190
201
|
props: {
|
|
@@ -197,18 +208,27 @@ const _sfc_main$168 = /* @__PURE__ */ defineComponent({
|
|
|
197
208
|
function onClick() {
|
|
198
209
|
context.open();
|
|
199
210
|
}
|
|
211
|
+
function onKeydown(e) {
|
|
212
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
213
|
+
e.preventDefault();
|
|
214
|
+
onClick();
|
|
215
|
+
}
|
|
216
|
+
}
|
|
200
217
|
const slotProps = toRef(() => ({
|
|
201
218
|
isOpen: context.isOpen.value,
|
|
202
219
|
attrs: {
|
|
203
220
|
"type": __props.as === "button" ? "button" : void 0,
|
|
221
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
222
|
+
"tabindex": 0,
|
|
204
223
|
"aria-haspopup": "dialog",
|
|
205
224
|
"aria-expanded": context.isOpen.value,
|
|
206
225
|
"data-open": context.isOpen.value || void 0,
|
|
207
|
-
"onClick": onClick
|
|
226
|
+
"onClick": onClick,
|
|
227
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
208
228
|
}
|
|
209
229
|
}));
|
|
210
230
|
return (_ctx, _cache) => {
|
|
211
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
231
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
212
232
|
as: __props.as,
|
|
213
233
|
renderless: __props.renderless
|
|
214
234
|
}, slotProps.value.attrs), {
|
|
@@ -220,7 +240,7 @@ const _sfc_main$168 = /* @__PURE__ */ defineComponent({
|
|
|
220
240
|
});
|
|
221
241
|
//#endregion
|
|
222
242
|
//#region src/components/AlertDialog/AlertDialogCancel.vue
|
|
223
|
-
const _sfc_main$
|
|
243
|
+
const _sfc_main$168 = /* @__PURE__ */ defineComponent({
|
|
224
244
|
name: "AlertDialogCancel",
|
|
225
245
|
__name: "AlertDialogCancel",
|
|
226
246
|
props: {
|
|
@@ -234,21 +254,38 @@ const _sfc_main$167 = /* @__PURE__ */ defineComponent({
|
|
|
234
254
|
},
|
|
235
255
|
setup(__props) {
|
|
236
256
|
const context = useAlertDialogContext(__props.namespace);
|
|
257
|
+
const cancelRef = useTemplateRef("cancel");
|
|
258
|
+
onMounted(() => {
|
|
259
|
+
context.cancelEl.value = cancelRef.value?.element ?? null;
|
|
260
|
+
});
|
|
261
|
+
onUnmounted(() => {
|
|
262
|
+
context.cancelEl.value = null;
|
|
263
|
+
});
|
|
237
264
|
function onClick() {
|
|
238
265
|
if (__props.disabled) return;
|
|
239
266
|
context.close();
|
|
240
267
|
}
|
|
268
|
+
function onKeydown(e) {
|
|
269
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
270
|
+
e.preventDefault();
|
|
271
|
+
onClick();
|
|
272
|
+
}
|
|
273
|
+
}
|
|
241
274
|
const slotProps = toRef(() => ({
|
|
242
275
|
isOpen: context.isOpen.value,
|
|
243
276
|
attrs: {
|
|
244
277
|
"type": __props.as === "button" ? "button" : void 0,
|
|
245
|
-
"
|
|
278
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
279
|
+
"tabindex": __props.disabled ? -1 : 0,
|
|
280
|
+
"disabled": __props.as === "button" ? __props.disabled || void 0 : void 0,
|
|
246
281
|
"data-disabled": __props.disabled ? "" : void 0,
|
|
247
|
-
"onClick": onClick
|
|
282
|
+
"onClick": onClick,
|
|
283
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
248
284
|
}
|
|
249
285
|
}));
|
|
250
286
|
return (_ctx, _cache) => {
|
|
251
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
287
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
288
|
+
ref: "cancel",
|
|
252
289
|
as: __props.as,
|
|
253
290
|
renderless: __props.renderless
|
|
254
291
|
}, slotProps.value.attrs), {
|
|
@@ -260,7 +297,7 @@ const _sfc_main$167 = /* @__PURE__ */ defineComponent({
|
|
|
260
297
|
});
|
|
261
298
|
//#endregion
|
|
262
299
|
//#region src/components/AlertDialog/AlertDialogClose.vue
|
|
263
|
-
const _sfc_main$
|
|
300
|
+
const _sfc_main$167 = /* @__PURE__ */ defineComponent({
|
|
264
301
|
name: "AlertDialogClose",
|
|
265
302
|
__name: "AlertDialogClose",
|
|
266
303
|
props: {
|
|
@@ -274,16 +311,25 @@ const _sfc_main$166 = /* @__PURE__ */ defineComponent({
|
|
|
274
311
|
function onClick() {
|
|
275
312
|
context.close();
|
|
276
313
|
}
|
|
314
|
+
function onKeydown(e) {
|
|
315
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
316
|
+
e.preventDefault();
|
|
317
|
+
onClick();
|
|
318
|
+
}
|
|
319
|
+
}
|
|
277
320
|
const slotProps = toRef(() => ({
|
|
278
321
|
isOpen: context.isOpen.value,
|
|
279
322
|
attrs: {
|
|
280
323
|
"type": __props.as === "button" ? "button" : void 0,
|
|
324
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
325
|
+
"tabindex": 0,
|
|
281
326
|
"aria-label": locale.ti("AlertDialog.close") ?? "Close",
|
|
282
|
-
"onClick": onClick
|
|
327
|
+
"onClick": onClick,
|
|
328
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
283
329
|
}
|
|
284
330
|
}));
|
|
285
331
|
return (_ctx, _cache) => {
|
|
286
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
332
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
287
333
|
as: __props.as,
|
|
288
334
|
renderless: __props.renderless
|
|
289
335
|
}, slotProps.value.attrs), {
|
|
@@ -295,7 +341,7 @@ const _sfc_main$166 = /* @__PURE__ */ defineComponent({
|
|
|
295
341
|
});
|
|
296
342
|
//#endregion
|
|
297
343
|
//#region src/components/AlertDialog/AlertDialogContent.vue
|
|
298
|
-
const _sfc_main$
|
|
344
|
+
const _sfc_main$166 = /* @__PURE__ */ defineComponent({
|
|
299
345
|
name: "AlertDialogContent",
|
|
300
346
|
__name: "AlertDialogContent",
|
|
301
347
|
props: {
|
|
@@ -329,15 +375,23 @@ const _sfc_main$165 = /* @__PURE__ */ defineComponent({
|
|
|
329
375
|
if (isOpen) ticket.select();
|
|
330
376
|
else ticket.unselect();
|
|
331
377
|
}, { immediate: true });
|
|
378
|
+
function focusCancel() {
|
|
379
|
+
context.cancelEl.value?.focus();
|
|
380
|
+
}
|
|
332
381
|
watch(context.isOpen, (isOpen) => {
|
|
333
382
|
const element = contentRef.value?.element;
|
|
334
383
|
/* v8 ignore next -- defensive guard, element is always present after mount */
|
|
335
384
|
if (!element) return;
|
|
336
|
-
if (isOpen)
|
|
337
|
-
|
|
385
|
+
if (isOpen) {
|
|
386
|
+
element.showModal?.();
|
|
387
|
+
focusCancel();
|
|
388
|
+
} else element.close?.();
|
|
338
389
|
});
|
|
339
390
|
onMounted(() => {
|
|
340
|
-
if (context.isOpen.value)
|
|
391
|
+
if (context.isOpen.value) {
|
|
392
|
+
(contentRef.value?.element)?.showModal();
|
|
393
|
+
focusCancel();
|
|
394
|
+
}
|
|
341
395
|
});
|
|
342
396
|
useToggleScope(
|
|
343
397
|
() => __props.closeOnClickOutside && context.isOpen.value,
|
|
@@ -375,7 +429,7 @@ const _sfc_main$165 = /* @__PURE__ */ defineComponent({
|
|
|
375
429
|
}
|
|
376
430
|
}));
|
|
377
431
|
return (_ctx, _cache) => {
|
|
378
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
432
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
379
433
|
ref: "content",
|
|
380
434
|
as: __props.as,
|
|
381
435
|
renderless: __props.renderless
|
|
@@ -388,7 +442,7 @@ const _sfc_main$165 = /* @__PURE__ */ defineComponent({
|
|
|
388
442
|
});
|
|
389
443
|
//#endregion
|
|
390
444
|
//#region src/components/AlertDialog/AlertDialogDescription.vue
|
|
391
|
-
const _sfc_main$
|
|
445
|
+
const _sfc_main$165 = /* @__PURE__ */ defineComponent({
|
|
392
446
|
name: "AlertDialogDescription",
|
|
393
447
|
__name: "AlertDialogDescription",
|
|
394
448
|
props: {
|
|
@@ -400,7 +454,7 @@ const _sfc_main$164 = /* @__PURE__ */ defineComponent({
|
|
|
400
454
|
const context = useAlertDialogContext(__props.namespace);
|
|
401
455
|
const slotProps = toRef(() => ({ attrs: { id: context.descriptionId } }));
|
|
402
456
|
return (_ctx, _cache) => {
|
|
403
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
457
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
404
458
|
as: __props.as,
|
|
405
459
|
renderless: __props.renderless
|
|
406
460
|
}, slotProps.value.attrs), {
|
|
@@ -412,7 +466,7 @@ const _sfc_main$164 = /* @__PURE__ */ defineComponent({
|
|
|
412
466
|
});
|
|
413
467
|
//#endregion
|
|
414
468
|
//#region src/components/AlertDialog/AlertDialogTitle.vue
|
|
415
|
-
const _sfc_main$
|
|
469
|
+
const _sfc_main$164 = /* @__PURE__ */ defineComponent({
|
|
416
470
|
name: "AlertDialogTitle",
|
|
417
471
|
__name: "AlertDialogTitle",
|
|
418
472
|
props: {
|
|
@@ -424,7 +478,7 @@ const _sfc_main$163 = /* @__PURE__ */ defineComponent({
|
|
|
424
478
|
const context = useAlertDialogContext(__props.namespace);
|
|
425
479
|
const slotProps = toRef(() => ({ attrs: { id: context.titleId } }));
|
|
426
480
|
return (_ctx, _cache) => {
|
|
427
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
481
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
428
482
|
as: __props.as,
|
|
429
483
|
renderless: __props.renderless
|
|
430
484
|
}, slotProps.value.attrs), {
|
|
@@ -488,7 +542,7 @@ const AlertDialog = {
|
|
|
488
542
|
* </template>
|
|
489
543
|
* ```
|
|
490
544
|
*/
|
|
491
|
-
Root: _sfc_main$
|
|
545
|
+
Root: _sfc_main$171,
|
|
492
546
|
/**
|
|
493
547
|
* Activator component that opens the alert dialog.
|
|
494
548
|
*
|
|
@@ -507,7 +561,7 @@ const AlertDialog = {
|
|
|
507
561
|
* </template>
|
|
508
562
|
* ```
|
|
509
563
|
*/
|
|
510
|
-
Activator: _sfc_main$
|
|
564
|
+
Activator: _sfc_main$169,
|
|
511
565
|
/**
|
|
512
566
|
* Content container for the alert dialog using native `<dialog>` element.
|
|
513
567
|
*
|
|
@@ -529,7 +583,7 @@ const AlertDialog = {
|
|
|
529
583
|
* </template>
|
|
530
584
|
* ```
|
|
531
585
|
*/
|
|
532
|
-
Content: _sfc_main$
|
|
586
|
+
Content: _sfc_main$166,
|
|
533
587
|
/**
|
|
534
588
|
* Title component for accessible alert dialog labeling.
|
|
535
589
|
*
|
|
@@ -546,7 +600,7 @@ const AlertDialog = {
|
|
|
546
600
|
* </template>
|
|
547
601
|
* ```
|
|
548
602
|
*/
|
|
549
|
-
Title: _sfc_main$
|
|
603
|
+
Title: _sfc_main$164,
|
|
550
604
|
/**
|
|
551
605
|
* Description component for accessible alert dialog description.
|
|
552
606
|
*
|
|
@@ -565,7 +619,7 @@ const AlertDialog = {
|
|
|
565
619
|
* </template>
|
|
566
620
|
* ```
|
|
567
621
|
*/
|
|
568
|
-
Description: _sfc_main$
|
|
622
|
+
Description: _sfc_main$165,
|
|
569
623
|
/**
|
|
570
624
|
* Cancel button component for dismissing the alert dialog.
|
|
571
625
|
*
|
|
@@ -582,7 +636,7 @@ const AlertDialog = {
|
|
|
582
636
|
* </template>
|
|
583
637
|
* ```
|
|
584
638
|
*/
|
|
585
|
-
Cancel: _sfc_main$
|
|
639
|
+
Cancel: _sfc_main$168,
|
|
586
640
|
/**
|
|
587
641
|
* Close button component for closing the alert dialog.
|
|
588
642
|
*
|
|
@@ -599,7 +653,7 @@ const AlertDialog = {
|
|
|
599
653
|
* </template>
|
|
600
654
|
* ```
|
|
601
655
|
*/
|
|
602
|
-
Close: _sfc_main$
|
|
656
|
+
Close: _sfc_main$167,
|
|
603
657
|
/**
|
|
604
658
|
* Action button component for confirming the alert dialog.
|
|
605
659
|
*
|
|
@@ -616,11 +670,11 @@ const AlertDialog = {
|
|
|
616
670
|
* </template>
|
|
617
671
|
* ```
|
|
618
672
|
*/
|
|
619
|
-
Action: _sfc_main$
|
|
673
|
+
Action: _sfc_main$170
|
|
620
674
|
};
|
|
621
675
|
//#endregion
|
|
622
676
|
//#region src/components/AspectRatio/AspectRatio.vue
|
|
623
|
-
const _sfc_main$
|
|
677
|
+
const _sfc_main$163 = /* @__PURE__ */ defineComponent({
|
|
624
678
|
name: "AspectRatio",
|
|
625
679
|
__name: "AspectRatio",
|
|
626
680
|
props: {
|
|
@@ -635,7 +689,7 @@ const _sfc_main$162 = /* @__PURE__ */ defineComponent({
|
|
|
635
689
|
attrs: { style: { aspectRatio: resolved.value } }
|
|
636
690
|
}));
|
|
637
691
|
return (_ctx, _cache) => {
|
|
638
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
692
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
639
693
|
as: __props.as,
|
|
640
694
|
renderless: __props.renderless
|
|
641
695
|
}), {
|
|
@@ -648,7 +702,7 @@ const _sfc_main$162 = /* @__PURE__ */ defineComponent({
|
|
|
648
702
|
//#endregion
|
|
649
703
|
//#region src/components/Avatar/AvatarGroup.vue
|
|
650
704
|
const [useAvatarGroup, provideAvatarGroup] = createContext();
|
|
651
|
-
const _sfc_main$
|
|
705
|
+
const _sfc_main$162 = /* @__PURE__ */ defineComponent({
|
|
652
706
|
name: "AvatarGroup",
|
|
653
707
|
__name: "AvatarGroup",
|
|
654
708
|
props: {
|
|
@@ -747,7 +801,7 @@ const _sfc_main$161 = /* @__PURE__ */ defineComponent({
|
|
|
747
801
|
}
|
|
748
802
|
}));
|
|
749
803
|
return (_ctx, _cache) => {
|
|
750
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
804
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "container" }, slotProps.value.attrs, {
|
|
751
805
|
as: __props.as,
|
|
752
806
|
renderless: __props.renderless
|
|
753
807
|
}), {
|
|
@@ -760,7 +814,7 @@ const _sfc_main$161 = /* @__PURE__ */ defineComponent({
|
|
|
760
814
|
//#endregion
|
|
761
815
|
//#region src/components/Avatar/AvatarRoot.vue
|
|
762
816
|
const [useAvatarRoot, provideAvatarRoot] = createContext();
|
|
763
|
-
const _sfc_main$
|
|
817
|
+
const _sfc_main$161 = /* @__PURE__ */ defineComponent({
|
|
764
818
|
name: "AvatarRoot",
|
|
765
819
|
__name: "AvatarRoot",
|
|
766
820
|
props: {
|
|
@@ -817,7 +871,7 @@ const _sfc_main$160 = /* @__PURE__ */ defineComponent({
|
|
|
817
871
|
}));
|
|
818
872
|
const inGroup = !/* @__PURE__ */ isNullOrUndefined(group);
|
|
819
873
|
return (_ctx, _cache) => {
|
|
820
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
874
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), {
|
|
821
875
|
ref: "atom",
|
|
822
876
|
"aria-hidden": isHidden.value || void 0,
|
|
823
877
|
as: __props.as,
|
|
@@ -839,7 +893,7 @@ const _sfc_main$160 = /* @__PURE__ */ defineComponent({
|
|
|
839
893
|
});
|
|
840
894
|
//#endregion
|
|
841
895
|
//#region src/components/Avatar/AvatarFallback.vue
|
|
842
|
-
const _sfc_main$
|
|
896
|
+
const _sfc_main$160 = /* @__PURE__ */ defineComponent({
|
|
843
897
|
name: "AvatarFallback",
|
|
844
898
|
__name: "AvatarFallback",
|
|
845
899
|
props: {
|
|
@@ -853,7 +907,7 @@ const _sfc_main$159 = /* @__PURE__ */ defineComponent({
|
|
|
853
907
|
const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
|
|
854
908
|
onBeforeUnmount(() => context.unregister(ticket.id));
|
|
855
909
|
return (_ctx, _cache) => {
|
|
856
|
-
return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
910
|
+
return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$172), {
|
|
857
911
|
key: 0,
|
|
858
912
|
as: __props.as,
|
|
859
913
|
renderless: __props.renderless
|
|
@@ -866,7 +920,7 @@ const _sfc_main$159 = /* @__PURE__ */ defineComponent({
|
|
|
866
920
|
});
|
|
867
921
|
//#endregion
|
|
868
922
|
//#region src/components/Avatar/AvatarImage.vue
|
|
869
|
-
const _sfc_main$
|
|
923
|
+
const _sfc_main$159 = /* @__PURE__ */ defineComponent({
|
|
870
924
|
name: "AvatarImage",
|
|
871
925
|
__name: "AvatarImage",
|
|
872
926
|
props: {
|
|
@@ -934,7 +988,7 @@ const _sfc_main$158 = /* @__PURE__ */ defineComponent({
|
|
|
934
988
|
}
|
|
935
989
|
}));
|
|
936
990
|
return (_ctx, _cache) => {
|
|
937
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
991
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
938
992
|
as: __props.as,
|
|
939
993
|
renderless: __props.renderless
|
|
940
994
|
}), {
|
|
@@ -958,7 +1012,7 @@ const _sfc_main$158 = /* @__PURE__ */ defineComponent({
|
|
|
958
1012
|
* is set, this component self-measures and feeds its width back to the
|
|
959
1013
|
* group so createOverflow can reserve space for it (wired in Task 4).
|
|
960
1014
|
*/
|
|
961
|
-
const _sfc_main$
|
|
1015
|
+
const _sfc_main$158 = /* @__PURE__ */ defineComponent({
|
|
962
1016
|
name: "AvatarIndicator",
|
|
963
1017
|
__name: "AvatarIndicator",
|
|
964
1018
|
props: {
|
|
@@ -1006,7 +1060,7 @@ const _sfc_main$157 = /* @__PURE__ */ defineComponent({
|
|
|
1006
1060
|
};
|
|
1007
1061
|
});
|
|
1008
1062
|
return (_ctx, _cache) => {
|
|
1009
|
-
return unref(group) && count.value > 0 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1063
|
+
return unref(group) && count.value > 0 ? (openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1010
1064
|
key: 0,
|
|
1011
1065
|
ref: "atom"
|
|
1012
1066
|
}, slotProps.value.attrs, {
|
|
@@ -1047,20 +1101,20 @@ const Avatar = {
|
|
|
1047
1101
|
* </template>
|
|
1048
1102
|
* ```
|
|
1049
1103
|
*/
|
|
1050
|
-
Root: _sfc_main$
|
|
1104
|
+
Root: _sfc_main$161,
|
|
1051
1105
|
/**
|
|
1052
1106
|
* Image inside an Avatar.Root. Registers with the avatar's image
|
|
1053
1107
|
* selection and shows when loaded.
|
|
1054
1108
|
*
|
|
1055
1109
|
* @see https://0.vuetifyjs.com/components/semantic/avatar
|
|
1056
1110
|
*/
|
|
1057
|
-
Image: _sfc_main$
|
|
1111
|
+
Image: _sfc_main$159,
|
|
1058
1112
|
/**
|
|
1059
1113
|
* Fallback content when no image is loaded.
|
|
1060
1114
|
*
|
|
1061
1115
|
* @see https://0.vuetifyjs.com/components/semantic/avatar
|
|
1062
1116
|
*/
|
|
1063
|
-
Fallback: _sfc_main$
|
|
1117
|
+
Fallback: _sfc_main$160,
|
|
1064
1118
|
/**
|
|
1065
1119
|
* Group container for stacked / collapsing avatars. Owns the visibility
|
|
1066
1120
|
* math driven by `max` and (optionally) width-based truncation.
|
|
@@ -1087,19 +1141,19 @@ const Avatar = {
|
|
|
1087
1141
|
* </template>
|
|
1088
1142
|
* ```
|
|
1089
1143
|
*/
|
|
1090
|
-
Group: _sfc_main$
|
|
1144
|
+
Group: _sfc_main$162,
|
|
1091
1145
|
/**
|
|
1092
1146
|
* Overflow indicator for Avatar.Group. Renders only when items are
|
|
1093
1147
|
* hidden. Slot receives the hidden count and hidden tickets.
|
|
1094
1148
|
*
|
|
1095
1149
|
* @see https://0.vuetifyjs.com/components/semantic/avatar
|
|
1096
1150
|
*/
|
|
1097
|
-
Indicator: _sfc_main$
|
|
1151
|
+
Indicator: _sfc_main$158
|
|
1098
1152
|
};
|
|
1099
1153
|
//#endregion
|
|
1100
1154
|
//#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
|
|
1101
1155
|
const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
|
|
1102
|
-
const _sfc_main$
|
|
1156
|
+
const _sfc_main$157 = /* @__PURE__ */ defineComponent({
|
|
1103
1157
|
name: "BreadcrumbsRoot",
|
|
1104
1158
|
__name: "BreadcrumbsRoot",
|
|
1105
1159
|
props: {
|
|
@@ -1248,7 +1302,7 @@ const _sfc_main$156 = /* @__PURE__ */ defineComponent({
|
|
|
1248
1302
|
}
|
|
1249
1303
|
}));
|
|
1250
1304
|
return (_ctx, _cache) => {
|
|
1251
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1305
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1252
1306
|
ref: "container",
|
|
1253
1307
|
as: __props.as,
|
|
1254
1308
|
renderless: __props.renderless
|
|
@@ -1261,7 +1315,7 @@ const _sfc_main$156 = /* @__PURE__ */ defineComponent({
|
|
|
1261
1315
|
});
|
|
1262
1316
|
//#endregion
|
|
1263
1317
|
//#region src/components/Breadcrumbs/BreadcrumbsActivator.vue
|
|
1264
|
-
const _sfc_main$
|
|
1318
|
+
const _sfc_main$156 = /* @__PURE__ */ defineComponent({
|
|
1265
1319
|
name: "BreadcrumbsActivator",
|
|
1266
1320
|
__name: "BreadcrumbsActivator",
|
|
1267
1321
|
props: {
|
|
@@ -1303,7 +1357,7 @@ const _sfc_main$155 = /* @__PURE__ */ defineComponent({
|
|
|
1303
1357
|
}
|
|
1304
1358
|
}));
|
|
1305
1359
|
return (_ctx, _cache) => {
|
|
1306
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1360
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1307
1361
|
as: __props.as,
|
|
1308
1362
|
renderless: __props.renderless
|
|
1309
1363
|
}, slotProps.value.attrs), {
|
|
@@ -1315,7 +1369,7 @@ const _sfc_main$155 = /* @__PURE__ */ defineComponent({
|
|
|
1315
1369
|
});
|
|
1316
1370
|
//#endregion
|
|
1317
1371
|
//#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
|
|
1318
|
-
const _sfc_main$
|
|
1372
|
+
const _sfc_main$155 = /* @__PURE__ */ defineComponent({
|
|
1319
1373
|
name: "BreadcrumbsDivider",
|
|
1320
1374
|
__name: "BreadcrumbsDivider",
|
|
1321
1375
|
props: {
|
|
@@ -1351,7 +1405,7 @@ const _sfc_main$154 = /* @__PURE__ */ defineComponent({
|
|
|
1351
1405
|
}
|
|
1352
1406
|
}));
|
|
1353
1407
|
return (_ctx, _cache) => {
|
|
1354
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
1408
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1355
1409
|
ref: "el",
|
|
1356
1410
|
as: __props.as,
|
|
1357
1411
|
renderless: __props.renderless
|
|
@@ -1364,7 +1418,7 @@ const _sfc_main$154 = /* @__PURE__ */ defineComponent({
|
|
|
1364
1418
|
});
|
|
1365
1419
|
//#endregion
|
|
1366
1420
|
//#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
|
|
1367
|
-
const _sfc_main$
|
|
1421
|
+
const _sfc_main$154 = /* @__PURE__ */ defineComponent({
|
|
1368
1422
|
name: "BreadcrumbsEllipsis",
|
|
1369
1423
|
__name: "BreadcrumbsEllipsis",
|
|
1370
1424
|
props: {
|
|
@@ -1409,7 +1463,7 @@ const _sfc_main$153 = /* @__PURE__ */ defineComponent({
|
|
|
1409
1463
|
}
|
|
1410
1464
|
}));
|
|
1411
1465
|
return (_ctx, _cache) => {
|
|
1412
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
1466
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1413
1467
|
ref: "el",
|
|
1414
1468
|
as: __props.as,
|
|
1415
1469
|
renderless: __props.renderless
|
|
@@ -1422,7 +1476,7 @@ const _sfc_main$153 = /* @__PURE__ */ defineComponent({
|
|
|
1422
1476
|
});
|
|
1423
1477
|
//#endregion
|
|
1424
1478
|
//#region src/components/Breadcrumbs/BreadcrumbsItem.vue
|
|
1425
|
-
const _sfc_main$
|
|
1479
|
+
const _sfc_main$153 = /* @__PURE__ */ defineComponent({
|
|
1426
1480
|
name: "BreadcrumbsItem",
|
|
1427
1481
|
__name: "BreadcrumbsItem",
|
|
1428
1482
|
props: {
|
|
@@ -1464,7 +1518,7 @@ const _sfc_main$152 = /* @__PURE__ */ defineComponent({
|
|
|
1464
1518
|
}
|
|
1465
1519
|
}));
|
|
1466
1520
|
return (_ctx, _cache) => {
|
|
1467
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
1521
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1468
1522
|
ref: "el",
|
|
1469
1523
|
as: __props.as,
|
|
1470
1524
|
renderless: __props.renderless
|
|
@@ -1477,7 +1531,7 @@ const _sfc_main$152 = /* @__PURE__ */ defineComponent({
|
|
|
1477
1531
|
});
|
|
1478
1532
|
//#endregion
|
|
1479
1533
|
//#region src/components/Breadcrumbs/BreadcrumbsLink.vue
|
|
1480
|
-
const _sfc_main$
|
|
1534
|
+
const _sfc_main$152 = /* @__PURE__ */ defineComponent({
|
|
1481
1535
|
name: "BreadcrumbsLink",
|
|
1482
1536
|
__name: "BreadcrumbsLink",
|
|
1483
1537
|
props: {
|
|
@@ -1486,7 +1540,7 @@ const _sfc_main$151 = /* @__PURE__ */ defineComponent({
|
|
|
1486
1540
|
},
|
|
1487
1541
|
setup(__props) {
|
|
1488
1542
|
return (_ctx, _cache) => {
|
|
1489
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1543
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
1490
1544
|
as: __props.as,
|
|
1491
1545
|
renderless: __props.renderless
|
|
1492
1546
|
}, {
|
|
@@ -1498,7 +1552,7 @@ const _sfc_main$151 = /* @__PURE__ */ defineComponent({
|
|
|
1498
1552
|
});
|
|
1499
1553
|
//#endregion
|
|
1500
1554
|
//#region src/components/Breadcrumbs/BreadcrumbsList.vue
|
|
1501
|
-
const _sfc_main$
|
|
1555
|
+
const _sfc_main$151 = /* @__PURE__ */ defineComponent({
|
|
1502
1556
|
name: "BreadcrumbsList",
|
|
1503
1557
|
__name: "BreadcrumbsList",
|
|
1504
1558
|
props: {
|
|
@@ -1508,7 +1562,7 @@ const _sfc_main$150 = /* @__PURE__ */ defineComponent({
|
|
|
1508
1562
|
setup(__props) {
|
|
1509
1563
|
const slotProps = toRef(() => ({ attrs: { role: "list" } }));
|
|
1510
1564
|
return (_ctx, _cache) => {
|
|
1511
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1565
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1512
1566
|
as: __props.as,
|
|
1513
1567
|
renderless: __props.renderless
|
|
1514
1568
|
}, slotProps.value.attrs), {
|
|
@@ -1520,7 +1574,7 @@ const _sfc_main$150 = /* @__PURE__ */ defineComponent({
|
|
|
1520
1574
|
});
|
|
1521
1575
|
//#endregion
|
|
1522
1576
|
//#region src/components/Breadcrumbs/BreadcrumbsPage.vue
|
|
1523
|
-
const _sfc_main$
|
|
1577
|
+
const _sfc_main$150 = /* @__PURE__ */ defineComponent({
|
|
1524
1578
|
name: "BreadcrumbsPage",
|
|
1525
1579
|
__name: "BreadcrumbsPage",
|
|
1526
1580
|
props: {
|
|
@@ -1530,7 +1584,7 @@ const _sfc_main$149 = /* @__PURE__ */ defineComponent({
|
|
|
1530
1584
|
setup(__props) {
|
|
1531
1585
|
const slotProps = toRef(() => ({ attrs: { "aria-current": "page" } }));
|
|
1532
1586
|
return (_ctx, _cache) => {
|
|
1533
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1587
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
1534
1588
|
as: __props.as,
|
|
1535
1589
|
renderless: __props.renderless
|
|
1536
1590
|
}, slotProps.value.attrs), {
|
|
@@ -1585,7 +1639,7 @@ const Breadcrumbs = {
|
|
|
1585
1639
|
* </template>
|
|
1586
1640
|
* ```
|
|
1587
1641
|
*/
|
|
1588
|
-
Root: _sfc_main$
|
|
1642
|
+
Root: _sfc_main$157,
|
|
1589
1643
|
/**
|
|
1590
1644
|
* Semantic list wrapper for breadcrumb items.
|
|
1591
1645
|
* Renders as an ordered list with role="list".
|
|
@@ -1601,7 +1655,7 @@ const Breadcrumbs = {
|
|
|
1601
1655
|
* </template>
|
|
1602
1656
|
* ```
|
|
1603
1657
|
*/
|
|
1604
|
-
List: _sfc_main$
|
|
1658
|
+
List: _sfc_main$151,
|
|
1605
1659
|
/**
|
|
1606
1660
|
* Individual breadcrumb item. Registers with root and
|
|
1607
1661
|
* self-measures for overflow visibility.
|
|
@@ -1628,7 +1682,7 @@ const Breadcrumbs = {
|
|
|
1628
1682
|
* </template>
|
|
1629
1683
|
* ```
|
|
1630
1684
|
*/
|
|
1631
|
-
Item: _sfc_main$
|
|
1685
|
+
Item: _sfc_main$153,
|
|
1632
1686
|
/**
|
|
1633
1687
|
* Navigable breadcrumb link. Renders as an anchor by default.
|
|
1634
1688
|
* All attributes (href, to, etc.) fall through to the underlying element.
|
|
@@ -1655,7 +1709,7 @@ const Breadcrumbs = {
|
|
|
1655
1709
|
* </template>
|
|
1656
1710
|
* ```
|
|
1657
1711
|
*/
|
|
1658
|
-
Link: _sfc_main$
|
|
1712
|
+
Link: _sfc_main$152,
|
|
1659
1713
|
/**
|
|
1660
1714
|
* Current page indicator. Renders as a span with
|
|
1661
1715
|
* aria-current="page".
|
|
@@ -1672,7 +1726,7 @@ const Breadcrumbs = {
|
|
|
1672
1726
|
* </template>
|
|
1673
1727
|
* ```
|
|
1674
1728
|
*/
|
|
1675
|
-
Page: _sfc_main$
|
|
1729
|
+
Page: _sfc_main$150,
|
|
1676
1730
|
/**
|
|
1677
1731
|
* Visual separator between breadcrumb items. Renders as a list
|
|
1678
1732
|
* item with aria-hidden="true". Uses divider character from Root
|
|
@@ -1698,7 +1752,7 @@ const Breadcrumbs = {
|
|
|
1698
1752
|
* </template>
|
|
1699
1753
|
* ```
|
|
1700
1754
|
*/
|
|
1701
|
-
Divider: _sfc_main$
|
|
1755
|
+
Divider: _sfc_main$155,
|
|
1702
1756
|
/**
|
|
1703
1757
|
* Ellipsis indicator shown when items are truncated by overflow.
|
|
1704
1758
|
* Auto-hidden until overflow is detected. Renders with
|
|
@@ -1717,7 +1771,7 @@ const Breadcrumbs = {
|
|
|
1717
1771
|
* </template>
|
|
1718
1772
|
* ```
|
|
1719
1773
|
*/
|
|
1720
|
-
Ellipsis: _sfc_main$
|
|
1774
|
+
Ellipsis: _sfc_main$154,
|
|
1721
1775
|
/**
|
|
1722
1776
|
* Disclosure control that reveals the crumbs hidden by truncation.
|
|
1723
1777
|
* Place inside an Ellipsis, which stays the list item.
|
|
@@ -1733,12 +1787,12 @@ const Breadcrumbs = {
|
|
|
1733
1787
|
* </template>
|
|
1734
1788
|
* ```
|
|
1735
1789
|
*/
|
|
1736
|
-
Activator: _sfc_main$
|
|
1790
|
+
Activator: _sfc_main$156
|
|
1737
1791
|
};
|
|
1738
1792
|
//#endregion
|
|
1739
1793
|
//#region src/components/Button/ButtonGroup.vue
|
|
1740
1794
|
const [useButtonGroup, provideButtonGroup] = createContext();
|
|
1741
|
-
const _sfc_main$
|
|
1795
|
+
const _sfc_main$149 = /* @__PURE__ */ defineComponent({
|
|
1742
1796
|
name: "ButtonGroup",
|
|
1743
1797
|
__name: "ButtonGroup",
|
|
1744
1798
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1785,7 +1839,7 @@ const _sfc_main$148 = /* @__PURE__ */ defineComponent({
|
|
|
1785
1839
|
}
|
|
1786
1840
|
}));
|
|
1787
1841
|
return (_ctx, _cache) => {
|
|
1788
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1842
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
1789
1843
|
as: __props.as,
|
|
1790
1844
|
renderless: __props.renderless
|
|
1791
1845
|
}), {
|
|
@@ -1804,7 +1858,7 @@ const _hoisted_1$8 = [
|
|
|
1804
1858
|
"name",
|
|
1805
1859
|
"value"
|
|
1806
1860
|
];
|
|
1807
|
-
const visuallyHiddenStyle$
|
|
1861
|
+
const visuallyHiddenStyle$6 = {
|
|
1808
1862
|
position: "absolute",
|
|
1809
1863
|
width: "1px",
|
|
1810
1864
|
height: "1px",
|
|
@@ -1815,7 +1869,7 @@ const visuallyHiddenStyle$5 = {
|
|
|
1815
1869
|
whiteSpace: "nowrap",
|
|
1816
1870
|
border: "0"
|
|
1817
1871
|
};
|
|
1818
|
-
const _sfc_main$
|
|
1872
|
+
const _sfc_main$148 = /* @__PURE__ */ defineComponent({
|
|
1819
1873
|
name: "ButtonHiddenInput",
|
|
1820
1874
|
__name: "ButtonHiddenInput",
|
|
1821
1875
|
props: {
|
|
@@ -1842,7 +1896,7 @@ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
|
|
|
1842
1896
|
form: form.value,
|
|
1843
1897
|
inert: "",
|
|
1844
1898
|
name: name.value,
|
|
1845
|
-
style: visuallyHiddenStyle$
|
|
1899
|
+
style: visuallyHiddenStyle$6,
|
|
1846
1900
|
tabindex: "-1",
|
|
1847
1901
|
type: "checkbox",
|
|
1848
1902
|
value: value.value
|
|
@@ -1853,7 +1907,7 @@ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
|
|
|
1853
1907
|
//#endregion
|
|
1854
1908
|
//#region src/components/Button/ButtonRoot.vue
|
|
1855
1909
|
const [useButtonRoot, provideButtonRoot] = createContext();
|
|
1856
|
-
const _sfc_main$
|
|
1910
|
+
const _sfc_main$147 = /* @__PURE__ */ defineComponent({
|
|
1857
1911
|
name: "ButtonRoot",
|
|
1858
1912
|
inheritAttrs: false,
|
|
1859
1913
|
__name: "ButtonRoot",
|
|
@@ -1966,19 +2020,19 @@ const _sfc_main$146 = /* @__PURE__ */ defineComponent({
|
|
|
1966
2020
|
attrs: elementAttrs.value
|
|
1967
2021
|
}));
|
|
1968
2022
|
return (_ctx, _cache) => {
|
|
1969
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
2023
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
1970
2024
|
as: __props.as,
|
|
1971
2025
|
renderless: __props.renderless
|
|
1972
2026
|
}), {
|
|
1973
2027
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1974
2028
|
_: 3
|
|
1975
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
2029
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$148, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
1976
2030
|
};
|
|
1977
2031
|
}
|
|
1978
2032
|
});
|
|
1979
2033
|
//#endregion
|
|
1980
2034
|
//#region src/components/Button/ButtonContent.vue
|
|
1981
|
-
const _sfc_main$
|
|
2035
|
+
const _sfc_main$146 = /* @__PURE__ */ defineComponent({
|
|
1982
2036
|
name: "ButtonContent",
|
|
1983
2037
|
__name: "ButtonContent",
|
|
1984
2038
|
props: {
|
|
@@ -1996,7 +2050,7 @@ const _sfc_main$145 = /* @__PURE__ */ defineComponent({
|
|
|
1996
2050
|
});
|
|
1997
2051
|
//#endregion
|
|
1998
2052
|
//#region src/components/Button/ButtonIcon.vue
|
|
1999
|
-
const _sfc_main$
|
|
2053
|
+
const _sfc_main$145 = /* @__PURE__ */ defineComponent({
|
|
2000
2054
|
name: "ButtonIcon",
|
|
2001
2055
|
__name: "ButtonIcon",
|
|
2002
2056
|
props: {
|
|
@@ -2015,7 +2069,7 @@ const _sfc_main$144 = /* @__PURE__ */ defineComponent({
|
|
|
2015
2069
|
attrs: { "aria-hidden": true }
|
|
2016
2070
|
}));
|
|
2017
2071
|
return (_ctx, _cache) => {
|
|
2018
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2072
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
2019
2073
|
as: __props.as,
|
|
2020
2074
|
renderless: __props.renderless
|
|
2021
2075
|
}), {
|
|
@@ -2027,7 +2081,7 @@ const _sfc_main$144 = /* @__PURE__ */ defineComponent({
|
|
|
2027
2081
|
});
|
|
2028
2082
|
//#endregion
|
|
2029
2083
|
//#region src/components/Button/ButtonLoading.vue
|
|
2030
|
-
const _sfc_main$
|
|
2084
|
+
const _sfc_main$144 = /* @__PURE__ */ defineComponent({
|
|
2031
2085
|
name: "ButtonLoading",
|
|
2032
2086
|
__name: "ButtonLoading",
|
|
2033
2087
|
props: {
|
|
@@ -2099,7 +2153,7 @@ const Button = {
|
|
|
2099
2153
|
* </template>
|
|
2100
2154
|
* ```
|
|
2101
2155
|
*/
|
|
2102
|
-
Content: _sfc_main$
|
|
2156
|
+
Content: _sfc_main$146,
|
|
2103
2157
|
/**
|
|
2104
2158
|
* Selection container for toggle button groups.
|
|
2105
2159
|
*
|
|
@@ -2122,7 +2176,7 @@ const Button = {
|
|
|
2122
2176
|
* </template>
|
|
2123
2177
|
* ```
|
|
2124
2178
|
*/
|
|
2125
|
-
Group: _sfc_main$
|
|
2179
|
+
Group: _sfc_main$149,
|
|
2126
2180
|
/**
|
|
2127
2181
|
* Hidden input component for form submission.
|
|
2128
2182
|
*
|
|
@@ -2144,7 +2198,7 @@ const Button = {
|
|
|
2144
2198
|
* </template>
|
|
2145
2199
|
* ```
|
|
2146
2200
|
*/
|
|
2147
|
-
HiddenInput: _sfc_main$
|
|
2201
|
+
HiddenInput: _sfc_main$148,
|
|
2148
2202
|
/**
|
|
2149
2203
|
* Icon wrapper with accessibility enforcement.
|
|
2150
2204
|
*
|
|
@@ -2166,7 +2220,7 @@ const Button = {
|
|
|
2166
2220
|
* </template>
|
|
2167
2221
|
* ```
|
|
2168
2222
|
*/
|
|
2169
|
-
Icon: _sfc_main$
|
|
2223
|
+
Icon: _sfc_main$145,
|
|
2170
2224
|
/**
|
|
2171
2225
|
* Loading indicator that becomes visible after the grace period.
|
|
2172
2226
|
*
|
|
@@ -2192,7 +2246,7 @@ const Button = {
|
|
|
2192
2246
|
* </template>
|
|
2193
2247
|
* ```
|
|
2194
2248
|
*/
|
|
2195
|
-
Loading: _sfc_main$
|
|
2249
|
+
Loading: _sfc_main$144,
|
|
2196
2250
|
/**
|
|
2197
2251
|
* Root component for buttons.
|
|
2198
2252
|
*
|
|
@@ -2215,12 +2269,12 @@ const Button = {
|
|
|
2215
2269
|
* </template>
|
|
2216
2270
|
* ```
|
|
2217
2271
|
*/
|
|
2218
|
-
Root: _sfc_main$
|
|
2272
|
+
Root: _sfc_main$147
|
|
2219
2273
|
};
|
|
2220
2274
|
//#endregion
|
|
2221
2275
|
//#region src/components/Carousel/CarouselRoot.vue
|
|
2222
2276
|
const [useCarouselRoot, provideCarouselRoot] = createContext();
|
|
2223
|
-
const _sfc_main$
|
|
2277
|
+
const _sfc_main$143 = /* @__PURE__ */ defineComponent({
|
|
2224
2278
|
name: "CarouselRoot",
|
|
2225
2279
|
__name: "CarouselRoot",
|
|
2226
2280
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2339,7 +2393,7 @@ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
|
|
|
2339
2393
|
}
|
|
2340
2394
|
}));
|
|
2341
2395
|
return (_ctx, _cache) => {
|
|
2342
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2396
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
2343
2397
|
as: __props.as,
|
|
2344
2398
|
renderless: __props.renderless
|
|
2345
2399
|
}), {
|
|
@@ -2351,7 +2405,7 @@ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
|
|
|
2351
2405
|
});
|
|
2352
2406
|
//#endregion
|
|
2353
2407
|
//#region src/components/Carousel/CarouselViewport.vue
|
|
2354
|
-
const _sfc_main$
|
|
2408
|
+
const _sfc_main$142 = /* @__PURE__ */ defineComponent({
|
|
2355
2409
|
name: "CarouselViewport",
|
|
2356
2410
|
inheritAttrs: false,
|
|
2357
2411
|
__name: "CarouselViewport",
|
|
@@ -2529,7 +2583,7 @@ const _sfc_main$141 = /* @__PURE__ */ defineComponent({
|
|
|
2529
2583
|
}
|
|
2530
2584
|
}));
|
|
2531
2585
|
return (_ctx, _cache) => {
|
|
2532
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2586
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "viewport" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2533
2587
|
as: __props.as,
|
|
2534
2588
|
renderless: __props.renderless,
|
|
2535
2589
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -2546,7 +2600,7 @@ const _sfc_main$141 = /* @__PURE__ */ defineComponent({
|
|
|
2546
2600
|
});
|
|
2547
2601
|
//#endregion
|
|
2548
2602
|
//#region src/components/Carousel/CarouselItem.vue
|
|
2549
|
-
const _sfc_main$
|
|
2603
|
+
const _sfc_main$141 = /* @__PURE__ */ defineComponent({
|
|
2550
2604
|
name: "CarouselItem",
|
|
2551
2605
|
inheritAttrs: false,
|
|
2552
2606
|
__name: "CarouselItem",
|
|
@@ -2607,7 +2661,7 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
|
|
|
2607
2661
|
}
|
|
2608
2662
|
}));
|
|
2609
2663
|
return (_ctx, _cache) => {
|
|
2610
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2664
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2611
2665
|
as: __props.as,
|
|
2612
2666
|
renderless: __props.renderless,
|
|
2613
2667
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -2624,7 +2678,7 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
|
|
|
2624
2678
|
});
|
|
2625
2679
|
//#endregion
|
|
2626
2680
|
//#region src/components/Carousel/CarouselPrevious.vue
|
|
2627
|
-
const _sfc_main$
|
|
2681
|
+
const _sfc_main$140 = /* @__PURE__ */ defineComponent({
|
|
2628
2682
|
name: "CarouselPrevious",
|
|
2629
2683
|
inheritAttrs: false,
|
|
2630
2684
|
__name: "CarouselPrevious",
|
|
@@ -2650,22 +2704,31 @@ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
|
|
|
2650
2704
|
function onClick() {
|
|
2651
2705
|
if (!isDisabled.value) carousel.prev();
|
|
2652
2706
|
}
|
|
2707
|
+
function onKeydown(e) {
|
|
2708
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
2709
|
+
e.preventDefault();
|
|
2710
|
+
onClick();
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2653
2713
|
const slotProps = toRef(() => ({
|
|
2654
2714
|
isDisabled: isDisabled.value,
|
|
2655
2715
|
isAtEdge: isAtEdge.value,
|
|
2656
2716
|
attrs: {
|
|
2657
2717
|
"type": __props.as === "button" ? "button" : void 0,
|
|
2718
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
2719
|
+
"tabindex": isDisabled.value ? -1 : 0,
|
|
2658
2720
|
"aria-label": locale.ti("Carousel.prev") ?? "Previous slide",
|
|
2659
2721
|
"aria-controls": viewportId,
|
|
2660
2722
|
"aria-disabled": isDisabled.value,
|
|
2661
2723
|
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
2662
2724
|
"data-disabled": isDisabled.value || void 0,
|
|
2663
2725
|
"data-edge": isAtEdge.value || void 0,
|
|
2664
|
-
"onClick": onClick
|
|
2726
|
+
"onClick": onClick,
|
|
2727
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
2665
2728
|
}
|
|
2666
2729
|
}));
|
|
2667
2730
|
return (_ctx, _cache) => {
|
|
2668
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2731
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2669
2732
|
as: __props.as,
|
|
2670
2733
|
renderless: __props.renderless
|
|
2671
2734
|
}), {
|
|
@@ -2677,7 +2740,7 @@ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
|
|
|
2677
2740
|
});
|
|
2678
2741
|
//#endregion
|
|
2679
2742
|
//#region src/components/Carousel/CarouselNext.vue
|
|
2680
|
-
const _sfc_main$
|
|
2743
|
+
const _sfc_main$139 = /* @__PURE__ */ defineComponent({
|
|
2681
2744
|
name: "CarouselNext",
|
|
2682
2745
|
inheritAttrs: false,
|
|
2683
2746
|
__name: "CarouselNext",
|
|
@@ -2706,22 +2769,31 @@ const _sfc_main$138 = /* @__PURE__ */ defineComponent({
|
|
|
2706
2769
|
function onClick() {
|
|
2707
2770
|
if (!isDisabled.value) carousel.next();
|
|
2708
2771
|
}
|
|
2772
|
+
function onKeydown(e) {
|
|
2773
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
2774
|
+
e.preventDefault();
|
|
2775
|
+
onClick();
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2709
2778
|
const slotProps = toRef(() => ({
|
|
2710
2779
|
isDisabled: isDisabled.value,
|
|
2711
2780
|
isAtEdge: isAtEdge.value,
|
|
2712
2781
|
attrs: {
|
|
2713
2782
|
"type": __props.as === "button" ? "button" : void 0,
|
|
2783
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
2784
|
+
"tabindex": isDisabled.value ? -1 : 0,
|
|
2714
2785
|
"aria-label": locale.ti("Carousel.next") ?? "Next slide",
|
|
2715
2786
|
"aria-controls": viewportId,
|
|
2716
2787
|
"aria-disabled": isDisabled.value,
|
|
2717
2788
|
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
2718
2789
|
"data-disabled": isDisabled.value || void 0,
|
|
2719
2790
|
"data-edge": isAtEdge.value || void 0,
|
|
2720
|
-
"onClick": onClick
|
|
2791
|
+
"onClick": onClick,
|
|
2792
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
2721
2793
|
}
|
|
2722
2794
|
}));
|
|
2723
2795
|
return (_ctx, _cache) => {
|
|
2724
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2796
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2725
2797
|
as: __props.as,
|
|
2726
2798
|
renderless: __props.renderless
|
|
2727
2799
|
}), {
|
|
@@ -2733,7 +2805,7 @@ const _sfc_main$138 = /* @__PURE__ */ defineComponent({
|
|
|
2733
2805
|
});
|
|
2734
2806
|
//#endregion
|
|
2735
2807
|
//#region src/components/Carousel/CarouselIndicator.vue
|
|
2736
|
-
const _sfc_main$
|
|
2808
|
+
const _sfc_main$138 = /* @__PURE__ */ defineComponent({
|
|
2737
2809
|
name: "CarouselIndicator",
|
|
2738
2810
|
inheritAttrs: false,
|
|
2739
2811
|
__name: "CarouselIndicator",
|
|
@@ -2835,7 +2907,7 @@ const _sfc_main$137 = /* @__PURE__ */ defineComponent({
|
|
|
2835
2907
|
};
|
|
2836
2908
|
});
|
|
2837
2909
|
return (_ctx, _cache) => {
|
|
2838
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2910
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2839
2911
|
as: __props.as,
|
|
2840
2912
|
renderless: __props.renderless
|
|
2841
2913
|
}), {
|
|
@@ -2847,7 +2919,7 @@ const _sfc_main$137 = /* @__PURE__ */ defineComponent({
|
|
|
2847
2919
|
});
|
|
2848
2920
|
//#endregion
|
|
2849
2921
|
//#region src/components/Carousel/CarouselProgress.vue
|
|
2850
|
-
const _sfc_main$
|
|
2922
|
+
const _sfc_main$137 = /* @__PURE__ */ defineComponent({
|
|
2851
2923
|
name: "CarouselProgress",
|
|
2852
2924
|
inheritAttrs: false,
|
|
2853
2925
|
__name: "CarouselProgress",
|
|
@@ -2896,7 +2968,7 @@ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
|
|
|
2896
2968
|
};
|
|
2897
2969
|
});
|
|
2898
2970
|
return (_ctx, _cache) => {
|
|
2899
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2971
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2900
2972
|
as: __props.as,
|
|
2901
2973
|
renderless: __props.renderless,
|
|
2902
2974
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -2913,7 +2985,7 @@ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
|
|
|
2913
2985
|
});
|
|
2914
2986
|
//#endregion
|
|
2915
2987
|
//#region src/components/Carousel/CarouselLiveRegion.vue
|
|
2916
|
-
const _sfc_main$
|
|
2988
|
+
const _sfc_main$136 = /* @__PURE__ */ defineComponent({
|
|
2917
2989
|
name: "CarouselLiveRegion",
|
|
2918
2990
|
inheritAttrs: false,
|
|
2919
2991
|
__name: "CarouselLiveRegion",
|
|
@@ -2959,7 +3031,7 @@ const _sfc_main$135 = /* @__PURE__ */ defineComponent({
|
|
|
2959
3031
|
}
|
|
2960
3032
|
}));
|
|
2961
3033
|
return (_ctx, _cache) => {
|
|
2962
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3034
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
2963
3035
|
as: __props.as,
|
|
2964
3036
|
renderless: __props.renderless
|
|
2965
3037
|
}), {
|
|
@@ -3023,7 +3095,7 @@ const Carousel = {
|
|
|
3023
3095
|
* </template>
|
|
3024
3096
|
* ```
|
|
3025
3097
|
*/
|
|
3026
|
-
Root: _sfc_main$
|
|
3098
|
+
Root: _sfc_main$143,
|
|
3027
3099
|
/**
|
|
3028
3100
|
* Scroll-snap container for carousel items. Handles native drag/swipe
|
|
3029
3101
|
* via CSS scroll-snap and synchronizes scroll position with selection.
|
|
@@ -3046,7 +3118,7 @@ const Carousel = {
|
|
|
3046
3118
|
* </template>
|
|
3047
3119
|
* ```
|
|
3048
3120
|
*/
|
|
3049
|
-
Viewport: _sfc_main$
|
|
3121
|
+
Viewport: _sfc_main$142,
|
|
3050
3122
|
/**
|
|
3051
3123
|
* Individual carousel slide that registers with the step context.
|
|
3052
3124
|
* Exposes selection state, visibility, and ARIA attributes.
|
|
@@ -3072,7 +3144,7 @@ const Carousel = {
|
|
|
3072
3144
|
* </template>
|
|
3073
3145
|
* ```
|
|
3074
3146
|
*/
|
|
3075
|
-
Item: _sfc_main$
|
|
3147
|
+
Item: _sfc_main$141,
|
|
3076
3148
|
/**
|
|
3077
3149
|
* Navigation button that moves to the previous slide. Automatically
|
|
3078
3150
|
* disables at the first slide in non-circular mode.
|
|
@@ -3096,7 +3168,7 @@ const Carousel = {
|
|
|
3096
3168
|
* </template>
|
|
3097
3169
|
* ```
|
|
3098
3170
|
*/
|
|
3099
|
-
Previous: _sfc_main$
|
|
3171
|
+
Previous: _sfc_main$140,
|
|
3100
3172
|
/**
|
|
3101
3173
|
* Navigation button that moves to the next slide. Automatically
|
|
3102
3174
|
* disables at the last visible boundary in non-circular mode.
|
|
@@ -3120,7 +3192,7 @@ const Carousel = {
|
|
|
3120
3192
|
* </template>
|
|
3121
3193
|
* ```
|
|
3122
3194
|
*/
|
|
3123
|
-
Next: _sfc_main$
|
|
3195
|
+
Next: _sfc_main$139,
|
|
3124
3196
|
/**
|
|
3125
3197
|
* Dot indicator navigation showing the active slide. Exposes an
|
|
3126
3198
|
* `items` array via slot props — one entry per slide with selection
|
|
@@ -3142,7 +3214,7 @@ const Carousel = {
|
|
|
3142
3214
|
* </template>
|
|
3143
3215
|
* ```
|
|
3144
3216
|
*/
|
|
3145
|
-
Indicator: _sfc_main$
|
|
3217
|
+
Indicator: _sfc_main$138,
|
|
3146
3218
|
/**
|
|
3147
3219
|
* Autoplay progress bar that fills based on remaining timer duration.
|
|
3148
3220
|
* Exposes progress (0–1), autoplay state, and width styling via
|
|
@@ -3166,7 +3238,7 @@ const Carousel = {
|
|
|
3166
3238
|
* </template>
|
|
3167
3239
|
* ```
|
|
3168
3240
|
*/
|
|
3169
|
-
Progress: _sfc_main$
|
|
3241
|
+
Progress: _sfc_main$137,
|
|
3170
3242
|
/**
|
|
3171
3243
|
* Visually-hidden live region that announces slide changes to screen
|
|
3172
3244
|
* readers. Should be styled with sr-only/visually-hidden CSS.
|
|
@@ -3183,12 +3255,12 @@ const Carousel = {
|
|
|
3183
3255
|
* </template>
|
|
3184
3256
|
* ```
|
|
3185
3257
|
*/
|
|
3186
|
-
LiveRegion: _sfc_main$
|
|
3258
|
+
LiveRegion: _sfc_main$136
|
|
3187
3259
|
};
|
|
3188
3260
|
//#endregion
|
|
3189
3261
|
//#region src/components/Checkbox/CheckboxGroup.vue
|
|
3190
3262
|
const [useCheckboxGroup, provideCheckboxGroup] = createContext();
|
|
3191
|
-
const _sfc_main$
|
|
3263
|
+
const _sfc_main$135 = /* @__PURE__ */ defineComponent({
|
|
3192
3264
|
name: "CheckboxGroup",
|
|
3193
3265
|
__name: "CheckboxGroup",
|
|
3194
3266
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3244,7 +3316,7 @@ const _sfc_main$134 = /* @__PURE__ */ defineComponent({
|
|
|
3244
3316
|
}
|
|
3245
3317
|
}));
|
|
3246
3318
|
return (_ctx, _cache) => {
|
|
3247
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3319
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
3248
3320
|
as: __props.as,
|
|
3249
3321
|
renderless: __props.renderless
|
|
3250
3322
|
}), {
|
|
@@ -3257,7 +3329,7 @@ const _sfc_main$134 = /* @__PURE__ */ defineComponent({
|
|
|
3257
3329
|
//#endregion
|
|
3258
3330
|
//#region src/components/Checkbox/CheckboxRoot.vue
|
|
3259
3331
|
const [useCheckboxRoot, provideCheckboxRoot] = createContext();
|
|
3260
|
-
const _sfc_main$
|
|
3332
|
+
const _sfc_main$134 = /* @__PURE__ */ defineComponent({
|
|
3261
3333
|
name: "CheckboxRoot",
|
|
3262
3334
|
inheritAttrs: false,
|
|
3263
3335
|
__name: "CheckboxRoot",
|
|
@@ -3378,13 +3450,13 @@ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
|
|
|
3378
3450
|
}
|
|
3379
3451
|
}));
|
|
3380
3452
|
return (_ctx, _cache) => {
|
|
3381
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
3453
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
3382
3454
|
as: __props.as,
|
|
3383
3455
|
renderless: __props.renderless
|
|
3384
3456
|
}), {
|
|
3385
3457
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3386
3458
|
_: 3
|
|
3387
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
3459
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$133, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
3388
3460
|
};
|
|
3389
3461
|
}
|
|
3390
3462
|
});
|
|
@@ -3397,7 +3469,7 @@ const _hoisted_1$7 = [
|
|
|
3397
3469
|
"name",
|
|
3398
3470
|
"value"
|
|
3399
3471
|
];
|
|
3400
|
-
const visuallyHiddenStyle$
|
|
3472
|
+
const visuallyHiddenStyle$5 = {
|
|
3401
3473
|
position: "absolute",
|
|
3402
3474
|
width: "1px",
|
|
3403
3475
|
height: "1px",
|
|
@@ -3408,7 +3480,7 @@ const visuallyHiddenStyle$4 = {
|
|
|
3408
3480
|
whiteSpace: "nowrap",
|
|
3409
3481
|
border: "0"
|
|
3410
3482
|
};
|
|
3411
|
-
const _sfc_main$
|
|
3483
|
+
const _sfc_main$133 = /* @__PURE__ */ defineComponent({
|
|
3412
3484
|
name: "CheckboxHiddenInput",
|
|
3413
3485
|
__name: "CheckboxHiddenInput",
|
|
3414
3486
|
props: {
|
|
@@ -3436,7 +3508,7 @@ const _sfc_main$132 = /* @__PURE__ */ defineComponent({
|
|
|
3436
3508
|
form: form.value,
|
|
3437
3509
|
inert: "",
|
|
3438
3510
|
name: name.value,
|
|
3439
|
-
style: visuallyHiddenStyle$
|
|
3511
|
+
style: visuallyHiddenStyle$5,
|
|
3440
3512
|
tabindex: "-1",
|
|
3441
3513
|
type: "checkbox",
|
|
3442
3514
|
value: value.value
|
|
@@ -3446,7 +3518,7 @@ const _sfc_main$132 = /* @__PURE__ */ defineComponent({
|
|
|
3446
3518
|
});
|
|
3447
3519
|
//#endregion
|
|
3448
3520
|
//#region src/components/Checkbox/CheckboxIndicator.vue
|
|
3449
|
-
const _sfc_main$
|
|
3521
|
+
const _sfc_main$132 = /* @__PURE__ */ defineComponent({
|
|
3450
3522
|
name: "CheckboxIndicator",
|
|
3451
3523
|
__name: "CheckboxIndicator",
|
|
3452
3524
|
props: {
|
|
@@ -3469,7 +3541,7 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
|
|
|
3469
3541
|
}
|
|
3470
3542
|
}));
|
|
3471
3543
|
return (_ctx, _cache) => {
|
|
3472
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3544
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
3473
3545
|
as: __props.as,
|
|
3474
3546
|
renderless: __props.renderless
|
|
3475
3547
|
}), {
|
|
@@ -3481,7 +3553,7 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
|
|
|
3481
3553
|
});
|
|
3482
3554
|
//#endregion
|
|
3483
3555
|
//#region src/components/Checkbox/CheckboxSelectAll.vue
|
|
3484
|
-
const _sfc_main$
|
|
3556
|
+
const _sfc_main$131 = /* @__PURE__ */ defineComponent({
|
|
3485
3557
|
name: "CheckboxSelectAll",
|
|
3486
3558
|
inheritAttrs: false,
|
|
3487
3559
|
__name: "CheckboxSelectAll",
|
|
@@ -3553,7 +3625,7 @@ const _sfc_main$130 = /* @__PURE__ */ defineComponent({
|
|
|
3553
3625
|
}
|
|
3554
3626
|
}));
|
|
3555
3627
|
return (_ctx, _cache) => {
|
|
3556
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3628
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
3557
3629
|
as: __props.as,
|
|
3558
3630
|
renderless: __props.renderless
|
|
3559
3631
|
}), {
|
|
@@ -3615,7 +3687,7 @@ const Checkbox = {
|
|
|
3615
3687
|
* </template>
|
|
3616
3688
|
* ```
|
|
3617
3689
|
*/
|
|
3618
|
-
Group: _sfc_main$
|
|
3690
|
+
Group: _sfc_main$135,
|
|
3619
3691
|
/**
|
|
3620
3692
|
* Hidden input component for form submission.
|
|
3621
3693
|
*
|
|
@@ -3638,7 +3710,7 @@ const Checkbox = {
|
|
|
3638
3710
|
* </template>
|
|
3639
3711
|
* ```
|
|
3640
3712
|
*/
|
|
3641
|
-
HiddenInput: _sfc_main$
|
|
3713
|
+
HiddenInput: _sfc_main$133,
|
|
3642
3714
|
/**
|
|
3643
3715
|
* Visual indicator component for checkboxes.
|
|
3644
3716
|
*
|
|
@@ -3664,7 +3736,7 @@ const Checkbox = {
|
|
|
3664
3736
|
* </template>
|
|
3665
3737
|
* ```
|
|
3666
3738
|
*/
|
|
3667
|
-
Indicator: _sfc_main$
|
|
3739
|
+
Indicator: _sfc_main$132,
|
|
3668
3740
|
/**
|
|
3669
3741
|
* Root component for individual checkboxes.
|
|
3670
3742
|
*
|
|
@@ -3694,7 +3766,7 @@ const Checkbox = {
|
|
|
3694
3766
|
* </template>
|
|
3695
3767
|
* ```
|
|
3696
3768
|
*/
|
|
3697
|
-
Root: _sfc_main$
|
|
3769
|
+
Root: _sfc_main$134,
|
|
3698
3770
|
/**
|
|
3699
3771
|
* Select all checkbox for group multi-selection.
|
|
3700
3772
|
*
|
|
@@ -3729,12 +3801,12 @@ const Checkbox = {
|
|
|
3729
3801
|
* </template>
|
|
3730
3802
|
* ```
|
|
3731
3803
|
*/
|
|
3732
|
-
SelectAll: _sfc_main$
|
|
3804
|
+
SelectAll: _sfc_main$131
|
|
3733
3805
|
};
|
|
3734
3806
|
//#endregion
|
|
3735
3807
|
//#region src/components/Collapsible/CollapsibleRoot.vue
|
|
3736
3808
|
const [useCollapsible, provideCollapsible] = createContext();
|
|
3737
|
-
const _sfc_main$
|
|
3809
|
+
const _sfc_main$130 = /* @__PURE__ */ defineComponent({
|
|
3738
3810
|
name: "CollapsibleRoot",
|
|
3739
3811
|
__name: "CollapsibleRoot",
|
|
3740
3812
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3802,7 +3874,7 @@ const _sfc_main$129 = /* @__PURE__ */ defineComponent({
|
|
|
3802
3874
|
}
|
|
3803
3875
|
}));
|
|
3804
3876
|
return (_ctx, _cache) => {
|
|
3805
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3877
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
3806
3878
|
as: __props.as,
|
|
3807
3879
|
renderless: __props.renderless
|
|
3808
3880
|
}), {
|
|
@@ -3814,7 +3886,7 @@ const _sfc_main$129 = /* @__PURE__ */ defineComponent({
|
|
|
3814
3886
|
});
|
|
3815
3887
|
//#endregion
|
|
3816
3888
|
//#region src/components/Collapsible/CollapsibleActivator.vue
|
|
3817
|
-
const _sfc_main$
|
|
3889
|
+
const _sfc_main$129 = /* @__PURE__ */ defineComponent({
|
|
3818
3890
|
name: "CollapsibleActivator",
|
|
3819
3891
|
__name: "CollapsibleActivator",
|
|
3820
3892
|
props: {
|
|
@@ -3846,11 +3918,11 @@ const _sfc_main$128 = /* @__PURE__ */ defineComponent({
|
|
|
3846
3918
|
"disabled": __props.as === "button" ? context.disabled.value : void 0,
|
|
3847
3919
|
"type": __props.as === "button" ? "button" : void 0,
|
|
3848
3920
|
"onClick": context.toggle,
|
|
3849
|
-
onKeydown
|
|
3921
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
3850
3922
|
}
|
|
3851
3923
|
}));
|
|
3852
3924
|
return (_ctx, _cache) => {
|
|
3853
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3925
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
3854
3926
|
as: __props.as,
|
|
3855
3927
|
renderless: __props.renderless
|
|
3856
3928
|
}), {
|
|
@@ -3862,7 +3934,7 @@ const _sfc_main$128 = /* @__PURE__ */ defineComponent({
|
|
|
3862
3934
|
});
|
|
3863
3935
|
//#endregion
|
|
3864
3936
|
//#region src/components/Collapsible/CollapsibleContent.vue
|
|
3865
|
-
const _sfc_main$
|
|
3937
|
+
const _sfc_main$128 = /* @__PURE__ */ defineComponent({
|
|
3866
3938
|
name: "CollapsibleContent",
|
|
3867
3939
|
__name: "CollapsibleContent",
|
|
3868
3940
|
props: {
|
|
@@ -3884,7 +3956,7 @@ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
|
|
|
3884
3956
|
}
|
|
3885
3957
|
}));
|
|
3886
3958
|
return (_ctx, _cache) => {
|
|
3887
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3959
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
3888
3960
|
as: __props.as,
|
|
3889
3961
|
renderless: __props.renderless
|
|
3890
3962
|
}), {
|
|
@@ -3896,7 +3968,7 @@ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
|
|
|
3896
3968
|
});
|
|
3897
3969
|
//#endregion
|
|
3898
3970
|
//#region src/components/Collapsible/CollapsibleCue.vue
|
|
3899
|
-
const _sfc_main$
|
|
3971
|
+
const _sfc_main$127 = /* @__PURE__ */ defineComponent({
|
|
3900
3972
|
name: "CollapsibleCue",
|
|
3901
3973
|
__name: "CollapsibleCue",
|
|
3902
3974
|
props: {
|
|
@@ -3914,7 +3986,7 @@ const _sfc_main$126 = /* @__PURE__ */ defineComponent({
|
|
|
3914
3986
|
}
|
|
3915
3987
|
}));
|
|
3916
3988
|
return (_ctx, _cache) => {
|
|
3917
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3989
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
3918
3990
|
as: __props.as,
|
|
3919
3991
|
renderless: __props.renderless
|
|
3920
3992
|
}, slotProps.value.attrs), {
|
|
@@ -3952,10 +4024,10 @@ const _sfc_main$126 = /* @__PURE__ */ defineComponent({
|
|
|
3952
4024
|
* ```
|
|
3953
4025
|
*/
|
|
3954
4026
|
const Collapsible = {
|
|
3955
|
-
Root: _sfc_main$
|
|
3956
|
-
Activator: _sfc_main$
|
|
3957
|
-
Cue: _sfc_main$
|
|
3958
|
-
Content: _sfc_main$
|
|
4027
|
+
Root: _sfc_main$130,
|
|
4028
|
+
Activator: _sfc_main$129,
|
|
4029
|
+
Cue: _sfc_main$127,
|
|
4030
|
+
Content: _sfc_main$128
|
|
3959
4031
|
};
|
|
3960
4032
|
//#endregion
|
|
3961
4033
|
//#region src/components/Combobox/ComboboxHiddenInput.vue
|
|
@@ -3965,7 +4037,7 @@ const _hoisted_1$6 = [
|
|
|
3965
4037
|
"name",
|
|
3966
4038
|
"value"
|
|
3967
4039
|
];
|
|
3968
|
-
const visuallyHiddenStyle$
|
|
4040
|
+
const visuallyHiddenStyle$4 = {
|
|
3969
4041
|
position: "absolute",
|
|
3970
4042
|
width: "1px",
|
|
3971
4043
|
height: "1px",
|
|
@@ -3976,7 +4048,7 @@ const visuallyHiddenStyle$3 = {
|
|
|
3976
4048
|
whiteSpace: "nowrap",
|
|
3977
4049
|
border: "0"
|
|
3978
4050
|
};
|
|
3979
|
-
const _sfc_main$
|
|
4051
|
+
const _sfc_main$126 = /* @__PURE__ */ defineComponent({
|
|
3980
4052
|
name: "ComboboxHiddenInput",
|
|
3981
4053
|
__name: "ComboboxHiddenInput",
|
|
3982
4054
|
props: { namespace: { default: "v0:combobox" } },
|
|
@@ -3998,7 +4070,7 @@ const _sfc_main$125 = /* @__PURE__ */ defineComponent({
|
|
|
3998
4070
|
form: unref(context).form,
|
|
3999
4071
|
inert: "",
|
|
4000
4072
|
name: unref(context).name,
|
|
4001
|
-
style: visuallyHiddenStyle$
|
|
4073
|
+
style: visuallyHiddenStyle$4,
|
|
4002
4074
|
tabindex: "-1",
|
|
4003
4075
|
type: "hidden",
|
|
4004
4076
|
value: val
|
|
@@ -4010,7 +4082,7 @@ const _sfc_main$125 = /* @__PURE__ */ defineComponent({
|
|
|
4010
4082
|
//#endregion
|
|
4011
4083
|
//#region src/components/Combobox/ComboboxRoot.vue
|
|
4012
4084
|
const [useComboboxContext, provideComboboxContext] = createContext();
|
|
4013
|
-
const _sfc_main$
|
|
4085
|
+
const _sfc_main$125 = /* @__PURE__ */ defineComponent({
|
|
4014
4086
|
name: "ComboboxRoot",
|
|
4015
4087
|
__name: "ComboboxRoot",
|
|
4016
4088
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -4080,19 +4152,19 @@ const _sfc_main$124 = /* @__PURE__ */ defineComponent({
|
|
|
4080
4152
|
clear: context.clear
|
|
4081
4153
|
}));
|
|
4082
4154
|
return (_ctx, _cache) => {
|
|
4083
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
4155
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), {
|
|
4084
4156
|
as: __props.as,
|
|
4085
4157
|
renderless: ""
|
|
4086
4158
|
}, {
|
|
4087
4159
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
4088
4160
|
_: 3
|
|
4089
|
-
}, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
4161
|
+
}, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$126, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
4090
4162
|
};
|
|
4091
4163
|
}
|
|
4092
4164
|
});
|
|
4093
4165
|
//#endregion
|
|
4094
4166
|
//#region src/components/Combobox/ComboboxActivator.vue
|
|
4095
|
-
const _sfc_main$
|
|
4167
|
+
const _sfc_main$124 = /* @__PURE__ */ defineComponent({
|
|
4096
4168
|
name: "ComboboxActivator",
|
|
4097
4169
|
__name: "ComboboxActivator",
|
|
4098
4170
|
props: {
|
|
@@ -4110,7 +4182,7 @@ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
|
|
|
4110
4182
|
}
|
|
4111
4183
|
}));
|
|
4112
4184
|
return (_ctx, _cache) => {
|
|
4113
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4185
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
4114
4186
|
as: __props.as,
|
|
4115
4187
|
renderless: __props.renderless
|
|
4116
4188
|
}), {
|
|
@@ -4122,7 +4194,7 @@ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
|
|
|
4122
4194
|
});
|
|
4123
4195
|
//#endregion
|
|
4124
4196
|
//#region src/components/Combobox/ComboboxContent.vue
|
|
4125
|
-
const _sfc_main$
|
|
4197
|
+
const _sfc_main$123 = /* @__PURE__ */ defineComponent({
|
|
4126
4198
|
name: "ComboboxContent",
|
|
4127
4199
|
__name: "ComboboxContent",
|
|
4128
4200
|
props: {
|
|
@@ -4156,7 +4228,7 @@ const _sfc_main$122 = /* @__PURE__ */ defineComponent({
|
|
|
4156
4228
|
}
|
|
4157
4229
|
}));
|
|
4158
4230
|
return (_ctx, _cache) => {
|
|
4159
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4231
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4160
4232
|
ref_key: "content",
|
|
4161
4233
|
ref: content
|
|
4162
4234
|
}, slotProps.value.attrs, {
|
|
@@ -4171,7 +4243,7 @@ const _sfc_main$122 = /* @__PURE__ */ defineComponent({
|
|
|
4171
4243
|
});
|
|
4172
4244
|
//#endregion
|
|
4173
4245
|
//#region src/components/Combobox/ComboboxControl.vue
|
|
4174
|
-
const _sfc_main$
|
|
4246
|
+
const _sfc_main$122 = /* @__PURE__ */ defineComponent({
|
|
4175
4247
|
name: "ComboboxControl",
|
|
4176
4248
|
__name: "ComboboxControl",
|
|
4177
4249
|
props: {
|
|
@@ -4258,7 +4330,7 @@ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
|
|
|
4258
4330
|
}
|
|
4259
4331
|
}));
|
|
4260
4332
|
return (_ctx, _cache) => {
|
|
4261
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4333
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4262
4334
|
ref_key: "input",
|
|
4263
4335
|
ref: input
|
|
4264
4336
|
}, slotProps.value.attrs, {
|
|
@@ -4273,7 +4345,7 @@ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
|
|
|
4273
4345
|
});
|
|
4274
4346
|
//#endregion
|
|
4275
4347
|
//#region src/components/Combobox/ComboboxCue.vue
|
|
4276
|
-
const _sfc_main$
|
|
4348
|
+
const _sfc_main$121 = /* @__PURE__ */ defineComponent({
|
|
4277
4349
|
name: "ComboboxCue",
|
|
4278
4350
|
__name: "ComboboxCue",
|
|
4279
4351
|
props: {
|
|
@@ -4295,7 +4367,7 @@ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
|
|
|
4295
4367
|
}
|
|
4296
4368
|
}));
|
|
4297
4369
|
return (_ctx, _cache) => {
|
|
4298
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4370
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
4299
4371
|
as: __props.as,
|
|
4300
4372
|
renderless: __props.renderless
|
|
4301
4373
|
}), {
|
|
@@ -4307,7 +4379,7 @@ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
|
|
|
4307
4379
|
});
|
|
4308
4380
|
//#endregion
|
|
4309
4381
|
//#region src/components/Combobox/ComboboxDescription.vue
|
|
4310
|
-
const _sfc_main$
|
|
4382
|
+
const _sfc_main$120 = /* @__PURE__ */ defineComponent({
|
|
4311
4383
|
name: "ComboboxDescription",
|
|
4312
4384
|
inheritAttrs: false,
|
|
4313
4385
|
__name: "ComboboxDescription",
|
|
@@ -4326,7 +4398,7 @@ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
|
|
|
4326
4398
|
context.hasDescription.value = false;
|
|
4327
4399
|
});
|
|
4328
4400
|
return (_ctx, _cache) => {
|
|
4329
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4401
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(unref(attrs), {
|
|
4330
4402
|
id: unref(context).descriptionId,
|
|
4331
4403
|
as: __props.as,
|
|
4332
4404
|
renderless: __props.renderless
|
|
@@ -4343,7 +4415,7 @@ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
|
|
|
4343
4415
|
});
|
|
4344
4416
|
//#endregion
|
|
4345
4417
|
//#region src/components/Combobox/ComboboxEmpty.vue
|
|
4346
|
-
const _sfc_main$
|
|
4418
|
+
const _sfc_main$119 = /* @__PURE__ */ defineComponent({
|
|
4347
4419
|
name: "ComboboxEmpty",
|
|
4348
4420
|
__name: "ComboboxEmpty",
|
|
4349
4421
|
props: {
|
|
@@ -4356,7 +4428,7 @@ const _sfc_main$118 = /* @__PURE__ */ defineComponent({
|
|
|
4356
4428
|
const locale = useLocale();
|
|
4357
4429
|
const slotProps = toRef(() => ({ query: context.query.value }));
|
|
4358
4430
|
return (_ctx, _cache) => {
|
|
4359
|
-
return unref(context).isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4431
|
+
return unref(context).isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$172), {
|
|
4360
4432
|
key: 0,
|
|
4361
4433
|
as: __props.as,
|
|
4362
4434
|
renderless: __props.renderless
|
|
@@ -4369,7 +4441,7 @@ const _sfc_main$118 = /* @__PURE__ */ defineComponent({
|
|
|
4369
4441
|
});
|
|
4370
4442
|
//#endregion
|
|
4371
4443
|
//#region src/components/Combobox/ComboboxError.vue
|
|
4372
|
-
const _sfc_main$
|
|
4444
|
+
const _sfc_main$118 = /* @__PURE__ */ defineComponent({
|
|
4373
4445
|
name: "ComboboxError",
|
|
4374
4446
|
inheritAttrs: false,
|
|
4375
4447
|
__name: "ComboboxError",
|
|
@@ -4398,7 +4470,7 @@ const _sfc_main$117 = /* @__PURE__ */ defineComponent({
|
|
|
4398
4470
|
}
|
|
4399
4471
|
}));
|
|
4400
4472
|
return (_ctx, _cache) => {
|
|
4401
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4473
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
4402
4474
|
as: __props.as,
|
|
4403
4475
|
renderless: __props.renderless
|
|
4404
4476
|
}), {
|
|
@@ -4410,7 +4482,7 @@ const _sfc_main$117 = /* @__PURE__ */ defineComponent({
|
|
|
4410
4482
|
});
|
|
4411
4483
|
//#endregion
|
|
4412
4484
|
//#region src/components/Combobox/ComboboxItem.vue
|
|
4413
|
-
const _sfc_main$
|
|
4485
|
+
const _sfc_main$117 = /* @__PURE__ */ defineComponent({
|
|
4414
4486
|
name: "ComboboxItem",
|
|
4415
4487
|
__name: "ComboboxItem",
|
|
4416
4488
|
props: {
|
|
@@ -4459,7 +4531,7 @@ const _sfc_main$116 = /* @__PURE__ */ defineComponent({
|
|
|
4459
4531
|
}
|
|
4460
4532
|
}));
|
|
4461
4533
|
return (_ctx, _cache) => {
|
|
4462
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
4534
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
4463
4535
|
as: __props.as,
|
|
4464
4536
|
renderless: __props.renderless
|
|
4465
4537
|
}), {
|
|
@@ -4503,9 +4575,8 @@ const _sfc_main$116 = /* @__PURE__ */ defineComponent({
|
|
|
4503
4575
|
* :key="item.id"
|
|
4504
4576
|
* :id="item.id"
|
|
4505
4577
|
* :value="item.label"
|
|
4506
|
-
* v-slot="{ isSelected, attrs }"
|
|
4507
4578
|
* >
|
|
4508
|
-
*
|
|
4579
|
+
* {{ item.label }}
|
|
4509
4580
|
* </Combobox.Item>
|
|
4510
4581
|
* <Combobox.Empty>No results found</Combobox.Empty>
|
|
4511
4582
|
* </Combobox.Content>
|
|
@@ -4542,7 +4613,7 @@ const Combobox = {
|
|
|
4542
4613
|
* </template>
|
|
4543
4614
|
* ```
|
|
4544
4615
|
*/
|
|
4545
|
-
Root: _sfc_main$
|
|
4616
|
+
Root: _sfc_main$125,
|
|
4546
4617
|
/**
|
|
4547
4618
|
* Wrapper for the control and cue. Sets CSS anchor-name so the dropdown
|
|
4548
4619
|
* positions relative to this element.
|
|
@@ -4557,7 +4628,7 @@ const Combobox = {
|
|
|
4557
4628
|
* </Combobox.Activator>
|
|
4558
4629
|
* ```
|
|
4559
4630
|
*/
|
|
4560
|
-
Activator: _sfc_main$
|
|
4631
|
+
Activator: _sfc_main$124,
|
|
4561
4632
|
/**
|
|
4562
4633
|
* Text input that drives the query string and keyboard navigation.
|
|
4563
4634
|
* Binds `role="combobox"` and manages `aria-activedescendant` via virtual focus.
|
|
@@ -4573,7 +4644,7 @@ const Combobox = {
|
|
|
4573
4644
|
* <Combobox.Control open-on="input" placeholder="Start typing..." />
|
|
4574
4645
|
* ```
|
|
4575
4646
|
*/
|
|
4576
|
-
Control: _sfc_main$
|
|
4647
|
+
Control: _sfc_main$122,
|
|
4577
4648
|
/**
|
|
4578
4649
|
* Visual cue for open/close state. Exposes `data-state="open|closed"` for
|
|
4579
4650
|
* CSS-driven styling. Clicking toggles the dropdown.
|
|
@@ -4587,7 +4658,7 @@ const Combobox = {
|
|
|
4587
4658
|
* </Combobox.Cue>
|
|
4588
4659
|
* ```
|
|
4589
4660
|
*/
|
|
4590
|
-
Cue: _sfc_main$
|
|
4661
|
+
Cue: _sfc_main$121,
|
|
4591
4662
|
/**
|
|
4592
4663
|
* Dropdown content container using native popover API with CSS anchor
|
|
4593
4664
|
* positioning. Renders `role="listbox"` with lazy mounting.
|
|
@@ -4603,7 +4674,7 @@ const Combobox = {
|
|
|
4603
4674
|
* </Combobox.Content>
|
|
4604
4675
|
* ```
|
|
4605
4676
|
*/
|
|
4606
|
-
Content: _sfc_main$
|
|
4677
|
+
Content: _sfc_main$123,
|
|
4607
4678
|
/**
|
|
4608
4679
|
* Option item within the combobox dropdown. Registers with selection and
|
|
4609
4680
|
* virtual focus. Hidden via `v-show` when filtered out so selection state
|
|
@@ -4613,14 +4684,17 @@ const Combobox = {
|
|
|
4613
4684
|
*
|
|
4614
4685
|
* @example
|
|
4615
4686
|
* ```vue
|
|
4616
|
-
* <Combobox.Item
|
|
4617
|
-
*
|
|
4618
|
-
*
|
|
4619
|
-
*
|
|
4687
|
+
* <Combobox.Item
|
|
4688
|
+
* id="apple"
|
|
4689
|
+
* value="Apple"
|
|
4690
|
+
* class="data-[highlighted]:bg-primary"
|
|
4691
|
+
* v-slot="{ isSelected }"
|
|
4692
|
+
* >
|
|
4693
|
+
* Apple {{ isSelected ? '✓' : '' }}
|
|
4620
4694
|
* </Combobox.Item>
|
|
4621
4695
|
* ```
|
|
4622
4696
|
*/
|
|
4623
|
-
Item: _sfc_main$
|
|
4697
|
+
Item: _sfc_main$117,
|
|
4624
4698
|
/**
|
|
4625
4699
|
* Empty state shown when no items match the current query. Exposes the
|
|
4626
4700
|
* query string via slot props for contextual messaging.
|
|
@@ -4634,7 +4708,7 @@ const Combobox = {
|
|
|
4634
4708
|
* </Combobox.Empty>
|
|
4635
4709
|
* ```
|
|
4636
4710
|
*/
|
|
4637
|
-
Empty: _sfc_main$
|
|
4711
|
+
Empty: _sfc_main$119,
|
|
4638
4712
|
/**
|
|
4639
4713
|
* Help text component connected via aria-describedby.
|
|
4640
4714
|
* Auto-generates an ID that Combobox.Control references in its
|
|
@@ -4652,7 +4726,7 @@ const Combobox = {
|
|
|
4652
4726
|
* </Combobox.Root>
|
|
4653
4727
|
* ```
|
|
4654
4728
|
*/
|
|
4655
|
-
Description: _sfc_main$
|
|
4729
|
+
Description: _sfc_main$120,
|
|
4656
4730
|
/**
|
|
4657
4731
|
* Error message component with aria-live announcements.
|
|
4658
4732
|
* Renders error messages from Root's errorMessages prop.
|
|
@@ -4673,12 +4747,12 @@ const Combobox = {
|
|
|
4673
4747
|
* </Combobox.Root>
|
|
4674
4748
|
* ```
|
|
4675
4749
|
*/
|
|
4676
|
-
Error: _sfc_main$
|
|
4750
|
+
Error: _sfc_main$118
|
|
4677
4751
|
};
|
|
4678
4752
|
//#endregion
|
|
4679
4753
|
//#region src/components/Dialog/DialogRoot.vue
|
|
4680
4754
|
const [useDialogContext, provideDialogContext] = createContext();
|
|
4681
|
-
const _sfc_main$
|
|
4755
|
+
const _sfc_main$116 = /* @__PURE__ */ defineComponent({
|
|
4682
4756
|
name: "DialogRoot",
|
|
4683
4757
|
__name: "DialogRoot",
|
|
4684
4758
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -4720,7 +4794,7 @@ const _sfc_main$115 = /* @__PURE__ */ defineComponent({
|
|
|
4720
4794
|
close
|
|
4721
4795
|
}));
|
|
4722
4796
|
return (_ctx, _cache) => {
|
|
4723
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4797
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
4724
4798
|
as: __props.as,
|
|
4725
4799
|
renderless: ""
|
|
4726
4800
|
}, {
|
|
@@ -4732,7 +4806,7 @@ const _sfc_main$115 = /* @__PURE__ */ defineComponent({
|
|
|
4732
4806
|
});
|
|
4733
4807
|
//#endregion
|
|
4734
4808
|
//#region src/components/Dialog/DialogClose.vue
|
|
4735
|
-
const _sfc_main$
|
|
4809
|
+
const _sfc_main$115 = /* @__PURE__ */ defineComponent({
|
|
4736
4810
|
name: "DialogClose",
|
|
4737
4811
|
__name: "DialogClose",
|
|
4738
4812
|
props: {
|
|
@@ -4746,16 +4820,25 @@ const _sfc_main$114 = /* @__PURE__ */ defineComponent({
|
|
|
4746
4820
|
function onClick() {
|
|
4747
4821
|
context.close();
|
|
4748
4822
|
}
|
|
4823
|
+
function onKeydown(e) {
|
|
4824
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
4825
|
+
e.preventDefault();
|
|
4826
|
+
onClick();
|
|
4827
|
+
}
|
|
4828
|
+
}
|
|
4749
4829
|
const slotProps = toRef(() => ({
|
|
4750
4830
|
isOpen: context.isOpen.value,
|
|
4751
4831
|
attrs: {
|
|
4752
4832
|
"type": __props.as === "button" ? "button" : void 0,
|
|
4833
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
4834
|
+
"tabindex": 0,
|
|
4753
4835
|
"aria-label": locale.ti("Dialog.close") ?? "Close",
|
|
4754
|
-
"onClick": onClick
|
|
4836
|
+
"onClick": onClick,
|
|
4837
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
4755
4838
|
}
|
|
4756
4839
|
}));
|
|
4757
4840
|
return (_ctx, _cache) => {
|
|
4758
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4841
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4759
4842
|
as: __props.as,
|
|
4760
4843
|
renderless: __props.renderless
|
|
4761
4844
|
}, slotProps.value.attrs), {
|
|
@@ -4767,7 +4850,7 @@ const _sfc_main$114 = /* @__PURE__ */ defineComponent({
|
|
|
4767
4850
|
});
|
|
4768
4851
|
//#endregion
|
|
4769
4852
|
//#region src/components/Dialog/DialogContent.vue
|
|
4770
|
-
const _sfc_main$
|
|
4853
|
+
const _sfc_main$114 = /* @__PURE__ */ defineComponent({
|
|
4771
4854
|
name: "DialogContent",
|
|
4772
4855
|
__name: "DialogContent",
|
|
4773
4856
|
props: {
|
|
@@ -4839,7 +4922,7 @@ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
|
|
|
4839
4922
|
}
|
|
4840
4923
|
}));
|
|
4841
4924
|
return (_ctx, _cache) => {
|
|
4842
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4925
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4843
4926
|
ref: "content",
|
|
4844
4927
|
as: __props.as,
|
|
4845
4928
|
renderless: __props.renderless
|
|
@@ -4852,7 +4935,7 @@ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
|
|
|
4852
4935
|
});
|
|
4853
4936
|
//#endregion
|
|
4854
4937
|
//#region src/components/Dialog/DialogDescription.vue
|
|
4855
|
-
const _sfc_main$
|
|
4938
|
+
const _sfc_main$113 = /* @__PURE__ */ defineComponent({
|
|
4856
4939
|
name: "DialogDescription",
|
|
4857
4940
|
__name: "DialogDescription",
|
|
4858
4941
|
props: {
|
|
@@ -4864,7 +4947,7 @@ const _sfc_main$112 = /* @__PURE__ */ defineComponent({
|
|
|
4864
4947
|
const context = useDialogContext(__props.namespace);
|
|
4865
4948
|
const slotProps = toRef(() => ({ attrs: { id: context.descriptionId } }));
|
|
4866
4949
|
return (_ctx, _cache) => {
|
|
4867
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4950
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4868
4951
|
as: __props.as,
|
|
4869
4952
|
renderless: __props.renderless
|
|
4870
4953
|
}, slotProps.value.attrs), {
|
|
@@ -4876,7 +4959,7 @@ const _sfc_main$112 = /* @__PURE__ */ defineComponent({
|
|
|
4876
4959
|
});
|
|
4877
4960
|
//#endregion
|
|
4878
4961
|
//#region src/components/Dialog/DialogTitle.vue
|
|
4879
|
-
const _sfc_main$
|
|
4962
|
+
const _sfc_main$112 = /* @__PURE__ */ defineComponent({
|
|
4880
4963
|
name: "DialogTitle",
|
|
4881
4964
|
__name: "DialogTitle",
|
|
4882
4965
|
props: {
|
|
@@ -4888,7 +4971,7 @@ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
|
|
|
4888
4971
|
const context = useDialogContext(__props.namespace);
|
|
4889
4972
|
const slotProps = toRef(() => ({ attrs: { id: context.titleId } }));
|
|
4890
4973
|
return (_ctx, _cache) => {
|
|
4891
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4974
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4892
4975
|
as: __props.as,
|
|
4893
4976
|
renderless: __props.renderless
|
|
4894
4977
|
}, slotProps.value.attrs), {
|
|
@@ -4900,7 +4983,7 @@ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
|
|
|
4900
4983
|
});
|
|
4901
4984
|
//#endregion
|
|
4902
4985
|
//#region src/components/Dialog/DialogActivator.vue
|
|
4903
|
-
const _sfc_main$
|
|
4986
|
+
const _sfc_main$111 = /* @__PURE__ */ defineComponent({
|
|
4904
4987
|
name: "DialogActivator",
|
|
4905
4988
|
__name: "DialogActivator",
|
|
4906
4989
|
props: {
|
|
@@ -4913,18 +4996,27 @@ const _sfc_main$110 = /* @__PURE__ */ defineComponent({
|
|
|
4913
4996
|
function onClick() {
|
|
4914
4997
|
context.open();
|
|
4915
4998
|
}
|
|
4999
|
+
function onKeydown(e) {
|
|
5000
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
5001
|
+
e.preventDefault();
|
|
5002
|
+
onClick();
|
|
5003
|
+
}
|
|
5004
|
+
}
|
|
4916
5005
|
const slotProps = toRef(() => ({
|
|
4917
5006
|
isOpen: context.isOpen.value,
|
|
4918
5007
|
attrs: {
|
|
4919
5008
|
"type": __props.as === "button" ? "button" : void 0,
|
|
5009
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
5010
|
+
"tabindex": 0,
|
|
4920
5011
|
"aria-haspopup": "dialog",
|
|
4921
5012
|
"aria-expanded": context.isOpen.value,
|
|
4922
5013
|
"data-open": context.isOpen.value || void 0,
|
|
4923
|
-
"onClick": onClick
|
|
5014
|
+
"onClick": onClick,
|
|
5015
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
4924
5016
|
}
|
|
4925
5017
|
}));
|
|
4926
5018
|
return (_ctx, _cache) => {
|
|
4927
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5019
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
4928
5020
|
as: __props.as,
|
|
4929
5021
|
renderless: __props.renderless
|
|
4930
5022
|
}, slotProps.value.attrs), {
|
|
@@ -4988,7 +5080,7 @@ const Dialog = {
|
|
|
4988
5080
|
* </template>
|
|
4989
5081
|
* ```
|
|
4990
5082
|
*/
|
|
4991
|
-
Root: _sfc_main$
|
|
5083
|
+
Root: _sfc_main$116,
|
|
4992
5084
|
/**
|
|
4993
5085
|
* Activator component that opens the dialog.
|
|
4994
5086
|
*
|
|
@@ -5007,7 +5099,7 @@ const Dialog = {
|
|
|
5007
5099
|
* </template>
|
|
5008
5100
|
* ```
|
|
5009
5101
|
*/
|
|
5010
|
-
Activator: _sfc_main$
|
|
5102
|
+
Activator: _sfc_main$111,
|
|
5011
5103
|
/**
|
|
5012
5104
|
* Content container for the dialog using native `<dialog>` element.
|
|
5013
5105
|
*
|
|
@@ -5028,7 +5120,7 @@ const Dialog = {
|
|
|
5028
5120
|
* </template>
|
|
5029
5121
|
* ```
|
|
5030
5122
|
*/
|
|
5031
|
-
Content: _sfc_main$
|
|
5123
|
+
Content: _sfc_main$114,
|
|
5032
5124
|
/**
|
|
5033
5125
|
* Title component for accessible dialog labeling.
|
|
5034
5126
|
*
|
|
@@ -5045,7 +5137,7 @@ const Dialog = {
|
|
|
5045
5137
|
* </template>
|
|
5046
5138
|
* ```
|
|
5047
5139
|
*/
|
|
5048
|
-
Title: _sfc_main$
|
|
5140
|
+
Title: _sfc_main$112,
|
|
5049
5141
|
/**
|
|
5050
5142
|
* Description component for accessible dialog description.
|
|
5051
5143
|
*
|
|
@@ -5064,7 +5156,7 @@ const Dialog = {
|
|
|
5064
5156
|
* </template>
|
|
5065
5157
|
* ```
|
|
5066
5158
|
*/
|
|
5067
|
-
Description: _sfc_main$
|
|
5159
|
+
Description: _sfc_main$113,
|
|
5068
5160
|
/**
|
|
5069
5161
|
* Close button component for closing the dialog.
|
|
5070
5162
|
*
|
|
@@ -5081,12 +5173,12 @@ const Dialog = {
|
|
|
5081
5173
|
* </template>
|
|
5082
5174
|
* ```
|
|
5083
5175
|
*/
|
|
5084
|
-
Close: _sfc_main$
|
|
5176
|
+
Close: _sfc_main$115
|
|
5085
5177
|
};
|
|
5086
5178
|
//#endregion
|
|
5087
5179
|
//#region src/components/ExpansionPanel/ExpansionPanelGroup.vue
|
|
5088
5180
|
const [useExpansionPanelGroup, provideExpansionPanelGroup] = createContext();
|
|
5089
|
-
const _sfc_main$
|
|
5181
|
+
const _sfc_main$110 = /* @__PURE__ */ defineComponent({
|
|
5090
5182
|
name: "ExpansionPanelGroup",
|
|
5091
5183
|
__name: "ExpansionPanelGroup",
|
|
5092
5184
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5133,7 +5225,7 @@ const _sfc_main$109 = /* @__PURE__ */ defineComponent({
|
|
|
5133
5225
|
}));
|
|
5134
5226
|
provideExpansionPanelGroup(__props.namespace, selection);
|
|
5135
5227
|
return (_ctx, _cache) => {
|
|
5136
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5228
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
5137
5229
|
as: __props.as,
|
|
5138
5230
|
renderless: __props.renderless
|
|
5139
5231
|
}, {
|
|
@@ -5146,7 +5238,7 @@ const _sfc_main$109 = /* @__PURE__ */ defineComponent({
|
|
|
5146
5238
|
//#endregion
|
|
5147
5239
|
//#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
|
|
5148
5240
|
const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext({ suffix: "item" });
|
|
5149
|
-
const _sfc_main$
|
|
5241
|
+
const _sfc_main$109 = /* @__PURE__ */ defineComponent({
|
|
5150
5242
|
name: "ExpansionPanelRoot",
|
|
5151
5243
|
__name: "ExpansionPanelRoot",
|
|
5152
5244
|
props: {
|
|
@@ -5180,7 +5272,7 @@ const _sfc_main$108 = /* @__PURE__ */ defineComponent({
|
|
|
5180
5272
|
isDisabled
|
|
5181
5273
|
});
|
|
5182
5274
|
return (_ctx, _cache) => {
|
|
5183
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5275
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
5184
5276
|
as: __props.as,
|
|
5185
5277
|
renderless: __props.renderless
|
|
5186
5278
|
}), {
|
|
@@ -5192,7 +5284,7 @@ const _sfc_main$108 = /* @__PURE__ */ defineComponent({
|
|
|
5192
5284
|
});
|
|
5193
5285
|
//#endregion
|
|
5194
5286
|
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
|
|
5195
|
-
const _sfc_main$
|
|
5287
|
+
const _sfc_main$108 = /* @__PURE__ */ defineComponent({
|
|
5196
5288
|
name: "ExpansionPanelActivator",
|
|
5197
5289
|
__name: "ExpansionPanelActivator",
|
|
5198
5290
|
props: {
|
|
@@ -5229,11 +5321,11 @@ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
|
|
|
5229
5321
|
"disabled": __props.as === "button" ? item.isDisabled.value : void 0,
|
|
5230
5322
|
"type": __props.as === "button" ? "button" : void 0,
|
|
5231
5323
|
"onClick": onClick,
|
|
5232
|
-
onKeydown
|
|
5324
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
5233
5325
|
}
|
|
5234
5326
|
}));
|
|
5235
5327
|
return (_ctx, _cache) => {
|
|
5236
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5328
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
5237
5329
|
as: __props.as,
|
|
5238
5330
|
renderless: __props.renderless
|
|
5239
5331
|
}), {
|
|
@@ -5245,7 +5337,7 @@ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
|
|
|
5245
5337
|
});
|
|
5246
5338
|
//#endregion
|
|
5247
5339
|
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue
|
|
5248
|
-
const _sfc_main$
|
|
5340
|
+
const _sfc_main$107 = /* @__PURE__ */ defineComponent({
|
|
5249
5341
|
name: "ExpansionPanelContent",
|
|
5250
5342
|
__name: "ExpansionPanelContent",
|
|
5251
5343
|
props: {
|
|
@@ -5266,7 +5358,7 @@ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
|
|
|
5266
5358
|
}
|
|
5267
5359
|
}));
|
|
5268
5360
|
return (_ctx, _cache) => {
|
|
5269
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5361
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
5270
5362
|
as: __props.as,
|
|
5271
5363
|
renderless: __props.renderless
|
|
5272
5364
|
}), {
|
|
@@ -5278,7 +5370,7 @@ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
|
|
|
5278
5370
|
});
|
|
5279
5371
|
//#endregion
|
|
5280
5372
|
//#region src/components/ExpansionPanel/ExpansionPanelCue.vue
|
|
5281
|
-
const _sfc_main$
|
|
5373
|
+
const _sfc_main$106 = /* @__PURE__ */ defineComponent({
|
|
5282
5374
|
name: "ExpansionPanelCue",
|
|
5283
5375
|
__name: "ExpansionPanelCue",
|
|
5284
5376
|
props: {
|
|
@@ -5296,7 +5388,7 @@ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
|
|
|
5296
5388
|
}
|
|
5297
5389
|
}));
|
|
5298
5390
|
return (_ctx, _cache) => {
|
|
5299
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5391
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
5300
5392
|
as: __props.as,
|
|
5301
5393
|
renderless: __props.renderless
|
|
5302
5394
|
}, slotProps.value.attrs), {
|
|
@@ -5308,7 +5400,7 @@ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
|
|
|
5308
5400
|
});
|
|
5309
5401
|
//#endregion
|
|
5310
5402
|
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
|
|
5311
|
-
const _sfc_main$
|
|
5403
|
+
const _sfc_main$105 = /* @__PURE__ */ defineComponent({
|
|
5312
5404
|
name: "ExpansionPanelHeader",
|
|
5313
5405
|
__name: "ExpansionPanelHeader",
|
|
5314
5406
|
props: {
|
|
@@ -5323,7 +5415,7 @@ const _sfc_main$104 = /* @__PURE__ */ defineComponent({
|
|
|
5323
5415
|
attrs: { "data-selected": item.ticket.isSelected.value || void 0 }
|
|
5324
5416
|
}));
|
|
5325
5417
|
return (_ctx, _cache) => {
|
|
5326
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5418
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
5327
5419
|
as: __props.as,
|
|
5328
5420
|
renderless: __props.renderless
|
|
5329
5421
|
}), {
|
|
@@ -5369,7 +5461,7 @@ const ExpansionPanel = {
|
|
|
5369
5461
|
*
|
|
5370
5462
|
* @see https://0.vuetifyjs.com/components/disclosure/expansion-panel
|
|
5371
5463
|
*/
|
|
5372
|
-
Group: _sfc_main$
|
|
5464
|
+
Group: _sfc_main$110,
|
|
5373
5465
|
/**
|
|
5374
5466
|
* Root component representing a single expansion panel.
|
|
5375
5467
|
*
|
|
@@ -5396,7 +5488,7 @@ const ExpansionPanel = {
|
|
|
5396
5488
|
* </template>
|
|
5397
5489
|
* ```
|
|
5398
5490
|
*/
|
|
5399
|
-
Root: _sfc_main$
|
|
5491
|
+
Root: _sfc_main$109,
|
|
5400
5492
|
/**
|
|
5401
5493
|
* (optional) Component for the header section of an expansion panel item.
|
|
5402
5494
|
*
|
|
@@ -5417,7 +5509,7 @@ const ExpansionPanel = {
|
|
|
5417
5509
|
* </template>
|
|
5418
5510
|
* ```
|
|
5419
5511
|
*/
|
|
5420
|
-
Header: _sfc_main$
|
|
5512
|
+
Header: _sfc_main$105,
|
|
5421
5513
|
/**
|
|
5422
5514
|
* Component for the activator section of an expansion panel header.
|
|
5423
5515
|
*
|
|
@@ -5436,7 +5528,7 @@ const ExpansionPanel = {
|
|
|
5436
5528
|
* </template>
|
|
5437
5529
|
* ```
|
|
5438
5530
|
*/
|
|
5439
|
-
Activator: _sfc_main$
|
|
5531
|
+
Activator: _sfc_main$108,
|
|
5440
5532
|
/**
|
|
5441
5533
|
* Visual cue for expansion state (e.g., chevron icon).
|
|
5442
5534
|
*
|
|
@@ -5456,7 +5548,7 @@ const ExpansionPanel = {
|
|
|
5456
5548
|
* </template>
|
|
5457
5549
|
* ```
|
|
5458
5550
|
*/
|
|
5459
|
-
Cue: _sfc_main$
|
|
5551
|
+
Cue: _sfc_main$106,
|
|
5460
5552
|
/**
|
|
5461
5553
|
* Component for the content section of an expansion panel item.
|
|
5462
5554
|
*
|
|
@@ -5475,11 +5567,11 @@ const ExpansionPanel = {
|
|
|
5475
5567
|
* </template>
|
|
5476
5568
|
* ```
|
|
5477
5569
|
*/
|
|
5478
|
-
Content: _sfc_main$
|
|
5570
|
+
Content: _sfc_main$107
|
|
5479
5571
|
};
|
|
5480
5572
|
//#endregion
|
|
5481
5573
|
//#region src/components/Form/Form.vue
|
|
5482
|
-
const _sfc_main$
|
|
5574
|
+
const _sfc_main$104 = /* @__PURE__ */ defineComponent({
|
|
5483
5575
|
name: "Form",
|
|
5484
5576
|
inheritAttrs: false,
|
|
5485
5577
|
__name: "Form",
|
|
@@ -5546,7 +5638,7 @@ const _sfc_main$103 = /* @__PURE__ */ defineComponent({
|
|
|
5546
5638
|
}
|
|
5547
5639
|
}));
|
|
5548
5640
|
return (_ctx, _cache) => {
|
|
5549
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5641
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
5550
5642
|
as: __props.as,
|
|
5551
5643
|
renderless: __props.renderless
|
|
5552
5644
|
}), {
|
|
@@ -5559,7 +5651,7 @@ const _sfc_main$103 = /* @__PURE__ */ defineComponent({
|
|
|
5559
5651
|
//#endregion
|
|
5560
5652
|
//#region src/components/Group/GroupRoot.vue
|
|
5561
5653
|
const [useGroupRoot, provideGroupRoot] = createContext();
|
|
5562
|
-
const _sfc_main$
|
|
5654
|
+
const _sfc_main$103 = /* @__PURE__ */ defineComponent({
|
|
5563
5655
|
name: "GroupRoot",
|
|
5564
5656
|
__name: "GroupRoot",
|
|
5565
5657
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5611,7 +5703,7 @@ const _sfc_main$102 = /* @__PURE__ */ defineComponent({
|
|
|
5611
5703
|
});
|
|
5612
5704
|
//#endregion
|
|
5613
5705
|
//#region src/components/Group/GroupItem.vue
|
|
5614
|
-
const _sfc_main$
|
|
5706
|
+
const _sfc_main$102 = /* @__PURE__ */ defineComponent({
|
|
5615
5707
|
name: "GroupItem",
|
|
5616
5708
|
__name: "GroupItem",
|
|
5617
5709
|
props: {
|
|
@@ -5635,6 +5727,11 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
|
5635
5727
|
if (toValue(isDisabled)) return;
|
|
5636
5728
|
ticket.toggle();
|
|
5637
5729
|
}
|
|
5730
|
+
function onKeydown(e) {
|
|
5731
|
+
if (e.key !== " ") return;
|
|
5732
|
+
e.preventDefault();
|
|
5733
|
+
onClick();
|
|
5734
|
+
}
|
|
5638
5735
|
onBeforeUnmount(() => {
|
|
5639
5736
|
group.unregister(ticket.id);
|
|
5640
5737
|
});
|
|
@@ -5652,12 +5749,14 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
|
5652
5749
|
unmix: ticket.unmix,
|
|
5653
5750
|
attrs: {
|
|
5654
5751
|
"role": "checkbox",
|
|
5752
|
+
"tabindex": toValue(isDisabled) ? -1 : 0,
|
|
5655
5753
|
"aria-checked": toValue(ticket.isMixed) ? "mixed" : toValue(ticket.isSelected),
|
|
5656
5754
|
"aria-disabled": toValue(isDisabled),
|
|
5657
5755
|
"data-selected": toValue(ticket.isSelected) || void 0,
|
|
5658
5756
|
"data-disabled": toValue(isDisabled) || void 0,
|
|
5659
5757
|
"data-mixed": toValue(ticket.isMixed) || void 0,
|
|
5660
|
-
"onClick": onClick
|
|
5758
|
+
"onClick": onClick,
|
|
5759
|
+
"onKeydown": onKeydown
|
|
5661
5760
|
}
|
|
5662
5761
|
}));
|
|
5663
5762
|
return (_ctx, _cache) => {
|
|
@@ -5693,7 +5792,7 @@ const Group = {
|
|
|
5693
5792
|
* </template>
|
|
5694
5793
|
* ```
|
|
5695
5794
|
*/
|
|
5696
|
-
Root: _sfc_main$
|
|
5795
|
+
Root: _sfc_main$103,
|
|
5697
5796
|
/**
|
|
5698
5797
|
* Item component for multi-selection groups.
|
|
5699
5798
|
*
|
|
@@ -5712,12 +5811,12 @@ const Group = {
|
|
|
5712
5811
|
* </template>
|
|
5713
5812
|
* ```
|
|
5714
5813
|
*/
|
|
5715
|
-
Item: _sfc_main$
|
|
5814
|
+
Item: _sfc_main$102
|
|
5716
5815
|
};
|
|
5717
5816
|
//#endregion
|
|
5718
5817
|
//#region src/components/Image/ImageRoot.vue
|
|
5719
5818
|
const [useImageRoot, provideImageRoot] = createContext();
|
|
5720
|
-
const _sfc_main$
|
|
5819
|
+
const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
5721
5820
|
name: "ImageRoot",
|
|
5722
5821
|
__name: "ImageRoot",
|
|
5723
5822
|
props: {
|
|
@@ -5758,7 +5857,7 @@ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
|
|
|
5758
5857
|
attrs: { "data-state": image.status.value }
|
|
5759
5858
|
}));
|
|
5760
5859
|
return (_ctx, _cache) => {
|
|
5761
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5860
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "atom" }, slotProps.value.attrs, {
|
|
5762
5861
|
as: __props.as,
|
|
5763
5862
|
renderless: __props.renderless
|
|
5764
5863
|
}), {
|
|
@@ -5770,7 +5869,7 @@ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
|
|
|
5770
5869
|
});
|
|
5771
5870
|
//#endregion
|
|
5772
5871
|
//#region src/components/Image/ImageFallback.vue
|
|
5773
|
-
const _sfc_main$
|
|
5872
|
+
const _sfc_main$100 = /* @__PURE__ */ defineComponent({
|
|
5774
5873
|
name: "ImageFallback",
|
|
5775
5874
|
__name: "ImageFallback",
|
|
5776
5875
|
props: {
|
|
@@ -5788,7 +5887,7 @@ const _sfc_main$99 = /* @__PURE__ */ defineComponent({
|
|
|
5788
5887
|
}
|
|
5789
5888
|
}));
|
|
5790
5889
|
return (_ctx, _cache) => {
|
|
5791
|
-
return unref(context).isError.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5890
|
+
return unref(context).isError.value ? (openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ key: 0 }, slotProps.value.attrs, {
|
|
5792
5891
|
as: __props.as,
|
|
5793
5892
|
renderless: __props.renderless
|
|
5794
5893
|
}), {
|
|
@@ -5800,7 +5899,7 @@ const _sfc_main$99 = /* @__PURE__ */ defineComponent({
|
|
|
5800
5899
|
});
|
|
5801
5900
|
//#endregion
|
|
5802
5901
|
//#region src/components/Image/ImageImg.vue
|
|
5803
|
-
const _sfc_main$
|
|
5902
|
+
const _sfc_main$99 = /* @__PURE__ */ defineComponent({
|
|
5804
5903
|
name: "ImageImg",
|
|
5805
5904
|
__name: "ImageImg",
|
|
5806
5905
|
props: {
|
|
@@ -5859,7 +5958,7 @@ const _sfc_main$98 = /* @__PURE__ */ defineComponent({
|
|
|
5859
5958
|
}
|
|
5860
5959
|
}));
|
|
5861
5960
|
return (_ctx, _cache) => {
|
|
5862
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5961
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
5863
5962
|
as: __props.as,
|
|
5864
5963
|
renderless: __props.renderless
|
|
5865
5964
|
}), {
|
|
@@ -5871,7 +5970,7 @@ const _sfc_main$98 = /* @__PURE__ */ defineComponent({
|
|
|
5871
5970
|
});
|
|
5872
5971
|
//#endregion
|
|
5873
5972
|
//#region src/components/Image/ImagePlaceholder.vue
|
|
5874
|
-
const _sfc_main$
|
|
5973
|
+
const _sfc_main$98 = /* @__PURE__ */ defineComponent({
|
|
5875
5974
|
name: "ImagePlaceholder",
|
|
5876
5975
|
__name: "ImagePlaceholder",
|
|
5877
5976
|
props: {
|
|
@@ -5890,7 +5989,7 @@ const _sfc_main$97 = /* @__PURE__ */ defineComponent({
|
|
|
5890
5989
|
}
|
|
5891
5990
|
}));
|
|
5892
5991
|
return (_ctx, _cache) => {
|
|
5893
|
-
return isVisible.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5992
|
+
return isVisible.value ? (openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ key: 0 }, slotProps.value.attrs, {
|
|
5894
5993
|
as: __props.as,
|
|
5895
5994
|
renderless: __props.renderless
|
|
5896
5995
|
}), {
|
|
@@ -5929,7 +6028,7 @@ const Image = {
|
|
|
5929
6028
|
* </template>
|
|
5930
6029
|
* ```
|
|
5931
6030
|
*/
|
|
5932
|
-
Root: _sfc_main$
|
|
6031
|
+
Root: _sfc_main$101,
|
|
5933
6032
|
/**
|
|
5934
6033
|
* The `<img>` element. Reads the gated source from context and reports
|
|
5935
6034
|
* load/error events.
|
|
@@ -5941,7 +6040,7 @@ const Image = {
|
|
|
5941
6040
|
* <Image.Img alt="Description" width="800" height="600" />
|
|
5942
6041
|
* ```
|
|
5943
6042
|
*/
|
|
5944
|
-
Img: _sfc_main$
|
|
6043
|
+
Img: _sfc_main$99,
|
|
5945
6044
|
/**
|
|
5946
6045
|
* Placeholder content shown while the image is idle or loading.
|
|
5947
6046
|
*
|
|
@@ -5954,7 +6053,7 @@ const Image = {
|
|
|
5954
6053
|
* </Image.Placeholder>
|
|
5955
6054
|
* ```
|
|
5956
6055
|
*/
|
|
5957
|
-
Placeholder: _sfc_main$
|
|
6056
|
+
Placeholder: _sfc_main$98,
|
|
5958
6057
|
/**
|
|
5959
6058
|
* Fallback content shown when the image fails to load. Exposes `retry()`
|
|
5960
6059
|
* via slot props.
|
|
@@ -5968,7 +6067,7 @@ const Image = {
|
|
|
5968
6067
|
* </Image.Fallback>
|
|
5969
6068
|
* ```
|
|
5970
6069
|
*/
|
|
5971
|
-
Fallback: _sfc_main$
|
|
6070
|
+
Fallback: _sfc_main$100
|
|
5972
6071
|
};
|
|
5973
6072
|
//#endregion
|
|
5974
6073
|
//#region src/components/Input/InputRoot.vue
|
|
@@ -5984,7 +6083,7 @@ function parseValidateOn$1(value) {
|
|
|
5984
6083
|
modifier
|
|
5985
6084
|
};
|
|
5986
6085
|
}
|
|
5987
|
-
const _sfc_main$
|
|
6086
|
+
const _sfc_main$97 = /* @__PURE__ */ defineComponent({
|
|
5988
6087
|
name: "InputRoot",
|
|
5989
6088
|
inheritAttrs: false,
|
|
5990
6089
|
__name: "InputRoot",
|
|
@@ -6067,7 +6166,7 @@ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
|
|
|
6067
6166
|
id: input.id,
|
|
6068
6167
|
label: __props.label,
|
|
6069
6168
|
name: __props.name,
|
|
6070
|
-
type: __props.type,
|
|
6169
|
+
type: toRef(() => __props.type),
|
|
6071
6170
|
form: __props.form,
|
|
6072
6171
|
required: __props.required,
|
|
6073
6172
|
descriptionId: input.descriptionId,
|
|
@@ -6112,7 +6211,7 @@ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
|
|
|
6112
6211
|
}
|
|
6113
6212
|
}));
|
|
6114
6213
|
return (_ctx, _cache) => {
|
|
6115
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6214
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
6116
6215
|
as: __props.as,
|
|
6117
6216
|
renderless: __props.renderless
|
|
6118
6217
|
}), {
|
|
@@ -6124,7 +6223,7 @@ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
|
|
|
6124
6223
|
});
|
|
6125
6224
|
//#endregion
|
|
6126
6225
|
//#region src/components/Input/InputControl.vue
|
|
6127
|
-
const _sfc_main$
|
|
6226
|
+
const _sfc_main$96 = /* @__PURE__ */ defineComponent({
|
|
6128
6227
|
name: "InputControl",
|
|
6129
6228
|
inheritAttrs: false,
|
|
6130
6229
|
__name: "InputControl",
|
|
@@ -6156,7 +6255,7 @@ const _sfc_main$95 = /* @__PURE__ */ defineComponent({
|
|
|
6156
6255
|
const isFocused = root.isFocused.value;
|
|
6157
6256
|
return {
|
|
6158
6257
|
"id": root.id,
|
|
6159
|
-
"type": root.type,
|
|
6258
|
+
"type": root.type.value,
|
|
6160
6259
|
"name": root.name,
|
|
6161
6260
|
"value": root.value.value,
|
|
6162
6261
|
"form": root.form,
|
|
@@ -6185,7 +6284,7 @@ const _sfc_main$95 = /* @__PURE__ */ defineComponent({
|
|
|
6185
6284
|
attrs: controlAttrs.value
|
|
6186
6285
|
}));
|
|
6187
6286
|
return (_ctx, _cache) => {
|
|
6188
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6287
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
|
|
6189
6288
|
as: __props.as,
|
|
6190
6289
|
renderless: __props.renderless
|
|
6191
6290
|
}), {
|
|
@@ -6197,7 +6296,7 @@ const _sfc_main$95 = /* @__PURE__ */ defineComponent({
|
|
|
6197
6296
|
});
|
|
6198
6297
|
//#endregion
|
|
6199
6298
|
//#region src/components/Input/InputDescription.vue
|
|
6200
|
-
const _sfc_main$
|
|
6299
|
+
const _sfc_main$95 = /* @__PURE__ */ defineComponent({
|
|
6201
6300
|
name: "InputDescription",
|
|
6202
6301
|
inheritAttrs: false,
|
|
6203
6302
|
__name: "InputDescription",
|
|
@@ -6215,7 +6314,7 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
|
6215
6314
|
const descriptionAttrs = toRef(() => ({ id: root.descriptionId }));
|
|
6216
6315
|
const slotProps = toRef(() => ({ id: root.descriptionId }));
|
|
6217
6316
|
return (_ctx, _cache) => {
|
|
6218
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6317
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), descriptionAttrs.value), {
|
|
6219
6318
|
as: __props.as,
|
|
6220
6319
|
renderless: __props.renderless
|
|
6221
6320
|
}), {
|
|
@@ -6227,7 +6326,7 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
|
6227
6326
|
});
|
|
6228
6327
|
//#endregion
|
|
6229
6328
|
//#region src/components/Input/InputError.vue
|
|
6230
|
-
const _sfc_main$
|
|
6329
|
+
const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
6231
6330
|
name: "InputError",
|
|
6232
6331
|
inheritAttrs: false,
|
|
6233
6332
|
__name: "InputError",
|
|
@@ -6252,7 +6351,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
|
6252
6351
|
}
|
|
6253
6352
|
}));
|
|
6254
6353
|
return (_ctx, _cache) => {
|
|
6255
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6354
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
6256
6355
|
as: __props.as,
|
|
6257
6356
|
renderless: __props.renderless
|
|
6258
6357
|
}), {
|
|
@@ -6309,7 +6408,7 @@ const Input = {
|
|
|
6309
6408
|
* </Input.Root>
|
|
6310
6409
|
* ```
|
|
6311
6410
|
*/
|
|
6312
|
-
Control: _sfc_main$
|
|
6411
|
+
Control: _sfc_main$96,
|
|
6313
6412
|
/**
|
|
6314
6413
|
* Help text component connected via aria-describedby.
|
|
6315
6414
|
*
|
|
@@ -6326,7 +6425,7 @@ const Input = {
|
|
|
6326
6425
|
* </Input.Root>
|
|
6327
6426
|
* ```
|
|
6328
6427
|
*/
|
|
6329
|
-
Description: _sfc_main$
|
|
6428
|
+
Description: _sfc_main$95,
|
|
6330
6429
|
/**
|
|
6331
6430
|
* Error message component with aria-live announcements.
|
|
6332
6431
|
*
|
|
@@ -6346,7 +6445,7 @@ const Input = {
|
|
|
6346
6445
|
* </Input.Root>
|
|
6347
6446
|
* ```
|
|
6348
6447
|
*/
|
|
6349
|
-
Error: _sfc_main$
|
|
6448
|
+
Error: _sfc_main$94,
|
|
6350
6449
|
/**
|
|
6351
6450
|
* Root component for text inputs with validation.
|
|
6352
6451
|
*
|
|
@@ -6375,11 +6474,11 @@ const Input = {
|
|
|
6375
6474
|
* </template>
|
|
6376
6475
|
* ```
|
|
6377
6476
|
*/
|
|
6378
|
-
Root: _sfc_main$
|
|
6477
|
+
Root: _sfc_main$97
|
|
6379
6478
|
};
|
|
6380
6479
|
//#endregion
|
|
6381
6480
|
//#region src/components/Locale/Locale.vue
|
|
6382
|
-
const _sfc_main$
|
|
6481
|
+
const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
6383
6482
|
name: "Locale",
|
|
6384
6483
|
inheritAttrs: false,
|
|
6385
6484
|
__name: "Locale",
|
|
@@ -6458,13 +6557,14 @@ function parseValidateOn(value) {
|
|
|
6458
6557
|
modifier
|
|
6459
6558
|
};
|
|
6460
6559
|
}
|
|
6461
|
-
const _sfc_main$
|
|
6560
|
+
const _sfc_main$92 = /* @__PURE__ */ defineComponent({
|
|
6462
6561
|
name: "NumberFieldRoot",
|
|
6463
6562
|
inheritAttrs: false,
|
|
6464
6563
|
__name: "NumberFieldRoot",
|
|
6465
6564
|
props: /* @__PURE__ */ mergeModels({
|
|
6466
6565
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
6467
6566
|
label: {},
|
|
6567
|
+
ariaLabelledby: {},
|
|
6468
6568
|
name: {},
|
|
6469
6569
|
form: {},
|
|
6470
6570
|
required: { type: Boolean },
|
|
@@ -6554,6 +6654,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
|
6554
6654
|
input,
|
|
6555
6655
|
id: input.id,
|
|
6556
6656
|
label: __props.label,
|
|
6657
|
+
ariaLabelledby: __props.ariaLabelledby,
|
|
6557
6658
|
name: __props.name,
|
|
6558
6659
|
form: __props.form,
|
|
6559
6660
|
required: __props.required,
|
|
@@ -6601,7 +6702,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
|
6601
6702
|
}
|
|
6602
6703
|
}));
|
|
6603
6704
|
return (_ctx, _cache) => {
|
|
6604
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6705
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
6605
6706
|
as: __props.as,
|
|
6606
6707
|
renderless: __props.renderless
|
|
6607
6708
|
}), {
|
|
@@ -6613,7 +6714,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
|
6613
6714
|
});
|
|
6614
6715
|
//#endregion
|
|
6615
6716
|
//#region src/components/NumberField/NumberFieldControl.vue
|
|
6616
|
-
const _sfc_main$
|
|
6717
|
+
const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
6617
6718
|
name: "NumberFieldControl",
|
|
6618
6719
|
inheritAttrs: false,
|
|
6619
6720
|
__name: "NumberFieldControl",
|
|
@@ -6625,6 +6726,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
6625
6726
|
setup(__props) {
|
|
6626
6727
|
const attrs = useAttrs();
|
|
6627
6728
|
const root = useNumberFieldRoot(__props.namespace);
|
|
6729
|
+
const locale = useLocale();
|
|
6628
6730
|
const leap = Math.max(1, Math.round(root.numeric.leap / root.numeric.step));
|
|
6629
6731
|
const text = shallowRef("");
|
|
6630
6732
|
function syncText() {
|
|
@@ -6720,7 +6822,8 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
6720
6822
|
"aria-valuemin": Number.isFinite(root.numeric.min) ? root.numeric.min : void 0,
|
|
6721
6823
|
"aria-valuemax": Number.isFinite(root.numeric.max) ? root.numeric.max : void 0,
|
|
6722
6824
|
"aria-invalid": invalid || void 0,
|
|
6723
|
-
"aria-label": root.label ||
|
|
6825
|
+
"aria-label": root.ariaLabelledby ? void 0 : root.label || (locale.ti("NumberField.label") ?? "Number"),
|
|
6826
|
+
"aria-labelledby": root.ariaLabelledby || void 0,
|
|
6724
6827
|
"aria-describedby": describedby.value,
|
|
6725
6828
|
"aria-errormessage": root.hasError.value && root.errors.value.length > 0 ? root.errorId : void 0,
|
|
6726
6829
|
"aria-required": root.required || void 0,
|
|
@@ -6744,7 +6847,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
6744
6847
|
attrs: controlAttrs.value
|
|
6745
6848
|
}));
|
|
6746
6849
|
return (_ctx, _cache) => {
|
|
6747
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6850
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
|
|
6748
6851
|
as: __props.as,
|
|
6749
6852
|
renderless: __props.renderless
|
|
6750
6853
|
}), {
|
|
@@ -6756,7 +6859,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
6756
6859
|
});
|
|
6757
6860
|
//#endregion
|
|
6758
6861
|
//#region src/components/NumberField/NumberFieldDecrement.vue
|
|
6759
|
-
const _sfc_main$
|
|
6862
|
+
const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
6760
6863
|
name: "NumberFieldDecrement",
|
|
6761
6864
|
inheritAttrs: false,
|
|
6762
6865
|
__name: "NumberFieldDecrement",
|
|
@@ -6818,7 +6921,7 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
6818
6921
|
attrs: controlAttrs.value
|
|
6819
6922
|
}));
|
|
6820
6923
|
return (_ctx, _cache) => {
|
|
6821
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6924
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
|
|
6822
6925
|
as: __props.as,
|
|
6823
6926
|
renderless: __props.renderless
|
|
6824
6927
|
}), {
|
|
@@ -6830,7 +6933,7 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
6830
6933
|
});
|
|
6831
6934
|
//#endregion
|
|
6832
6935
|
//#region src/components/NumberField/NumberFieldDescription.vue
|
|
6833
|
-
const _sfc_main$
|
|
6936
|
+
const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
6834
6937
|
name: "NumberFieldDescription",
|
|
6835
6938
|
inheritAttrs: false,
|
|
6836
6939
|
__name: "NumberFieldDescription",
|
|
@@ -6848,7 +6951,7 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
|
6848
6951
|
const descriptionAttrs = toRef(() => ({ id: root.descriptionId }));
|
|
6849
6952
|
const slotProps = toRef(() => ({ id: root.descriptionId }));
|
|
6850
6953
|
return (_ctx, _cache) => {
|
|
6851
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6954
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), descriptionAttrs.value), {
|
|
6852
6955
|
as: __props.as,
|
|
6853
6956
|
renderless: __props.renderless
|
|
6854
6957
|
}), {
|
|
@@ -6860,7 +6963,7 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
|
6860
6963
|
});
|
|
6861
6964
|
//#endregion
|
|
6862
6965
|
//#region src/components/NumberField/NumberFieldError.vue
|
|
6863
|
-
const _sfc_main$
|
|
6966
|
+
const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
6864
6967
|
name: "NumberFieldError",
|
|
6865
6968
|
inheritAttrs: false,
|
|
6866
6969
|
__name: "NumberFieldError",
|
|
@@ -6885,7 +6988,7 @@ const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
|
6885
6988
|
}
|
|
6886
6989
|
}));
|
|
6887
6990
|
return (_ctx, _cache) => {
|
|
6888
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6991
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
6889
6992
|
as: __props.as,
|
|
6890
6993
|
renderless: __props.renderless
|
|
6891
6994
|
}), {
|
|
@@ -6897,7 +7000,7 @@ const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
|
6897
7000
|
});
|
|
6898
7001
|
//#endregion
|
|
6899
7002
|
//#region src/components/NumberField/NumberFieldIncrement.vue
|
|
6900
|
-
const _sfc_main$
|
|
7003
|
+
const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
6901
7004
|
name: "NumberFieldIncrement",
|
|
6902
7005
|
inheritAttrs: false,
|
|
6903
7006
|
__name: "NumberFieldIncrement",
|
|
@@ -6959,7 +7062,7 @@ const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
|
6959
7062
|
attrs: controlAttrs.value
|
|
6960
7063
|
}));
|
|
6961
7064
|
return (_ctx, _cache) => {
|
|
6962
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7065
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
|
|
6963
7066
|
as: __props.as,
|
|
6964
7067
|
renderless: __props.renderless
|
|
6965
7068
|
}), {
|
|
@@ -6971,7 +7074,7 @@ const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
|
6971
7074
|
});
|
|
6972
7075
|
//#endregion
|
|
6973
7076
|
//#region src/components/NumberField/NumberFieldScrub.vue
|
|
6974
|
-
const _sfc_main$
|
|
7077
|
+
const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
6975
7078
|
name: "NumberFieldScrub",
|
|
6976
7079
|
inheritAttrs: false,
|
|
6977
7080
|
__name: "NumberFieldScrub",
|
|
@@ -7021,7 +7124,7 @@ const _sfc_main$85 = /* @__PURE__ */ defineComponent({
|
|
|
7021
7124
|
onPointerup
|
|
7022
7125
|
} }));
|
|
7023
7126
|
return (_ctx, _cache) => {
|
|
7024
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7127
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
7025
7128
|
as: __props.as,
|
|
7026
7129
|
renderless: __props.renderless
|
|
7027
7130
|
}), {
|
|
@@ -7082,7 +7185,7 @@ const NumberField = {
|
|
|
7082
7185
|
* </template>
|
|
7083
7186
|
* ```
|
|
7084
7187
|
*/
|
|
7085
|
-
Root: _sfc_main$
|
|
7188
|
+
Root: _sfc_main$92,
|
|
7086
7189
|
/**
|
|
7087
7190
|
* Native input element with spinbutton semantics.
|
|
7088
7191
|
*
|
|
@@ -7097,7 +7200,7 @@ const NumberField = {
|
|
|
7097
7200
|
* <NumberField.Control />
|
|
7098
7201
|
* ```
|
|
7099
7202
|
*/
|
|
7100
|
-
Control: _sfc_main$
|
|
7203
|
+
Control: _sfc_main$91,
|
|
7101
7204
|
/**
|
|
7102
7205
|
* Increment button with spin-on-hold behavior.
|
|
7103
7206
|
*
|
|
@@ -7112,7 +7215,7 @@ const NumberField = {
|
|
|
7112
7215
|
* <NumberField.Increment>+</NumberField.Increment>
|
|
7113
7216
|
* ```
|
|
7114
7217
|
*/
|
|
7115
|
-
Increment: _sfc_main$
|
|
7218
|
+
Increment: _sfc_main$87,
|
|
7116
7219
|
/**
|
|
7117
7220
|
* Decrement button with spin-on-hold behavior.
|
|
7118
7221
|
*
|
|
@@ -7127,7 +7230,7 @@ const NumberField = {
|
|
|
7127
7230
|
* <NumberField.Decrement>-</NumberField.Decrement>
|
|
7128
7231
|
* ```
|
|
7129
7232
|
*/
|
|
7130
|
-
Decrement: _sfc_main$
|
|
7233
|
+
Decrement: _sfc_main$90,
|
|
7131
7234
|
/**
|
|
7132
7235
|
* Click-and-drag scrub control using Pointer Lock API.
|
|
7133
7236
|
*
|
|
@@ -7142,7 +7245,7 @@ const NumberField = {
|
|
|
7142
7245
|
* <NumberField.Scrub>Amount</NumberField.Scrub>
|
|
7143
7246
|
* ```
|
|
7144
7247
|
*/
|
|
7145
|
-
Scrub: _sfc_main$
|
|
7248
|
+
Scrub: _sfc_main$86,
|
|
7146
7249
|
/**
|
|
7147
7250
|
* Help text component connected via aria-describedby.
|
|
7148
7251
|
*
|
|
@@ -7156,7 +7259,7 @@ const NumberField = {
|
|
|
7156
7259
|
* <NumberField.Description>Enter a value between 0 and 100</NumberField.Description>
|
|
7157
7260
|
* ```
|
|
7158
7261
|
*/
|
|
7159
|
-
Description: _sfc_main$
|
|
7262
|
+
Description: _sfc_main$89,
|
|
7160
7263
|
/**
|
|
7161
7264
|
* Error message component connected via aria-errormessage.
|
|
7162
7265
|
*
|
|
@@ -7172,7 +7275,7 @@ const NumberField = {
|
|
|
7172
7275
|
* </NumberField.Error>
|
|
7173
7276
|
* ```
|
|
7174
7277
|
*/
|
|
7175
|
-
Error: _sfc_main$
|
|
7278
|
+
Error: _sfc_main$88
|
|
7176
7279
|
};
|
|
7177
7280
|
//#endregion
|
|
7178
7281
|
//#region src/components/Overflow/OverflowRoot.vue
|
|
@@ -7193,7 +7296,7 @@ const NumberField = {
|
|
|
7193
7296
|
* `createOverflow` as a getter so capacity recomputes when the prop changes.
|
|
7194
7297
|
*/
|
|
7195
7298
|
const [useOverflowRoot, provideOverflowRoot] = createContext();
|
|
7196
|
-
const _sfc_main$
|
|
7299
|
+
const _sfc_main$85 = /* @__PURE__ */ defineComponent({
|
|
7197
7300
|
name: "OverflowRoot",
|
|
7198
7301
|
__name: "OverflowRoot",
|
|
7199
7302
|
props: {
|
|
@@ -7254,7 +7357,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
|
7254
7357
|
}
|
|
7255
7358
|
}));
|
|
7256
7359
|
return (_ctx, _cache) => {
|
|
7257
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7360
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7258
7361
|
ref: "container",
|
|
7259
7362
|
as: __props.as,
|
|
7260
7363
|
renderless: __props.renderless
|
|
@@ -7282,7 +7385,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
|
7282
7385
|
* slot consumer must spread `slotProps.attrs` onto their own element to
|
|
7283
7386
|
* preserve the data hook and live-region semantics.
|
|
7284
7387
|
*/
|
|
7285
|
-
const _sfc_main$
|
|
7388
|
+
const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
7286
7389
|
name: "OverflowIndicator",
|
|
7287
7390
|
__name: "OverflowIndicator",
|
|
7288
7391
|
props: {
|
|
@@ -7323,7 +7426,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
|
|
|
7323
7426
|
}
|
|
7324
7427
|
}));
|
|
7325
7428
|
return (_ctx, _cache) => {
|
|
7326
|
-
return unref(root).isOverflowing.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7429
|
+
return unref(root).isOverflowing.value ? (openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7327
7430
|
key: 0,
|
|
7328
7431
|
ref: "atom",
|
|
7329
7432
|
as: __props.as,
|
|
@@ -7351,7 +7454,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
|
|
|
7351
7454
|
* so the slot consumer is responsible for honoring `isHidden` themselves —
|
|
7352
7455
|
* read it from `slotProps.isHidden` and conditionally render or apply CSS.
|
|
7353
7456
|
*/
|
|
7354
|
-
const _sfc_main$
|
|
7457
|
+
const _sfc_main$83 = /* @__PURE__ */ defineComponent({
|
|
7355
7458
|
name: "OverflowItem",
|
|
7356
7459
|
__name: "OverflowItem",
|
|
7357
7460
|
props: {
|
|
@@ -7401,7 +7504,7 @@ const _sfc_main$82 = /* @__PURE__ */ defineComponent({
|
|
|
7401
7504
|
}
|
|
7402
7505
|
}));
|
|
7403
7506
|
return (_ctx, _cache) => {
|
|
7404
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
7507
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7405
7508
|
ref: "atom",
|
|
7406
7509
|
as: __props.as,
|
|
7407
7510
|
renderless: __props.renderless
|
|
@@ -7447,7 +7550,7 @@ const Overflow = {
|
|
|
7447
7550
|
* </template>
|
|
7448
7551
|
* ```
|
|
7449
7552
|
*/
|
|
7450
|
-
Root: _sfc_main$
|
|
7553
|
+
Root: _sfc_main$85,
|
|
7451
7554
|
/**
|
|
7452
7555
|
* Individual overflow item. Registers with Root and self-measures.
|
|
7453
7556
|
* Hidden when its index falls outside capacity.
|
|
@@ -7463,7 +7566,7 @@ const Overflow = {
|
|
|
7463
7566
|
* </template>
|
|
7464
7567
|
* ```
|
|
7465
7568
|
*/
|
|
7466
|
-
Item: _sfc_main$
|
|
7569
|
+
Item: _sfc_main$83,
|
|
7467
7570
|
/**
|
|
7468
7571
|
* Indicator that renders only when items are hidden. Exposes the
|
|
7469
7572
|
* hidden count and the array of hidden tickets via slot props.
|
|
@@ -7479,14 +7582,14 @@ const Overflow = {
|
|
|
7479
7582
|
* </template>
|
|
7480
7583
|
* ```
|
|
7481
7584
|
*/
|
|
7482
|
-
Indicator: _sfc_main$
|
|
7585
|
+
Indicator: _sfc_main$84
|
|
7483
7586
|
};
|
|
7484
7587
|
//#endregion
|
|
7485
7588
|
//#region src/components/Pagination/PaginationRoot.vue
|
|
7486
7589
|
const [usePaginationRoot, providePaginationRoot] = createContext();
|
|
7487
7590
|
const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
|
|
7488
7591
|
const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
|
|
7489
|
-
const _sfc_main$
|
|
7592
|
+
const _sfc_main$82 = /* @__PURE__ */ defineComponent({
|
|
7490
7593
|
name: "PaginationRoot",
|
|
7491
7594
|
__name: "PaginationRoot",
|
|
7492
7595
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -7573,7 +7676,7 @@ const _sfc_main$81 = /* @__PURE__ */ defineComponent({
|
|
|
7573
7676
|
providePaginationControls(__props.namespace, controls);
|
|
7574
7677
|
providePaginationItems(__props.namespace, items);
|
|
7575
7678
|
return (_ctx, _cache) => {
|
|
7576
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7679
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7577
7680
|
ref_key: "atom",
|
|
7578
7681
|
ref: atom
|
|
7579
7682
|
}, slotProps.value.attrs, {
|
|
@@ -7588,7 +7691,7 @@ const _sfc_main$81 = /* @__PURE__ */ defineComponent({
|
|
|
7588
7691
|
});
|
|
7589
7692
|
//#endregion
|
|
7590
7693
|
//#region src/components/Pagination/PaginationEllipsis.vue
|
|
7591
|
-
const _sfc_main$
|
|
7694
|
+
const _sfc_main$81 = /* @__PURE__ */ defineComponent({
|
|
7592
7695
|
name: "PaginationEllipsis",
|
|
7593
7696
|
__name: "PaginationEllipsis",
|
|
7594
7697
|
props: {
|
|
@@ -7616,7 +7719,7 @@ const _sfc_main$80 = /* @__PURE__ */ defineComponent({
|
|
|
7616
7719
|
}));
|
|
7617
7720
|
onBeforeUnmount(() => items.unregister(__props.id));
|
|
7618
7721
|
return (_ctx, _cache) => {
|
|
7619
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7722
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7620
7723
|
ref_key: "atom",
|
|
7621
7724
|
ref: atom
|
|
7622
7725
|
}, slotProps.value.attrs, {
|
|
@@ -7631,7 +7734,7 @@ const _sfc_main$80 = /* @__PURE__ */ defineComponent({
|
|
|
7631
7734
|
});
|
|
7632
7735
|
//#endregion
|
|
7633
7736
|
//#region src/components/Pagination/PaginationFirst.vue
|
|
7634
|
-
const _sfc_main$
|
|
7737
|
+
const _sfc_main$80 = /* @__PURE__ */ defineComponent({
|
|
7635
7738
|
name: "PaginationFirst",
|
|
7636
7739
|
__name: "PaginationFirst",
|
|
7637
7740
|
props: {
|
|
@@ -7658,6 +7761,12 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
7658
7761
|
if (isDisabled.value) return;
|
|
7659
7762
|
pagination.first();
|
|
7660
7763
|
}
|
|
7764
|
+
function onKeydown(e) {
|
|
7765
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
7766
|
+
e.preventDefault();
|
|
7767
|
+
first();
|
|
7768
|
+
}
|
|
7769
|
+
}
|
|
7661
7770
|
const slotProps = toRef(() => ({
|
|
7662
7771
|
isDisabled: isDisabled.value,
|
|
7663
7772
|
first,
|
|
@@ -7668,12 +7777,14 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
7668
7777
|
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
7669
7778
|
"tabindex": isDisabled.value ? -1 : 0,
|
|
7670
7779
|
"type": __props.as === "button" ? "button" : void 0,
|
|
7671
|
-
"
|
|
7780
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
7781
|
+
"onClick": first,
|
|
7782
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
7672
7783
|
}
|
|
7673
7784
|
}));
|
|
7674
7785
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
7675
7786
|
return (_ctx, _cache) => {
|
|
7676
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7787
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7677
7788
|
ref_key: "atom",
|
|
7678
7789
|
ref: atom
|
|
7679
7790
|
}, slotProps.value.attrs, {
|
|
@@ -7688,7 +7799,7 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
7688
7799
|
});
|
|
7689
7800
|
//#endregion
|
|
7690
7801
|
//#region src/components/Pagination/PaginationItem.vue
|
|
7691
|
-
const _sfc_main$
|
|
7802
|
+
const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
7692
7803
|
name: "PaginationItem",
|
|
7693
7804
|
__name: "PaginationItem",
|
|
7694
7805
|
props: {
|
|
@@ -7749,7 +7860,7 @@ const _sfc_main$78 = /* @__PURE__ */ defineComponent({
|
|
|
7749
7860
|
}));
|
|
7750
7861
|
onBeforeUnmount(() => items.unregister(__props.id));
|
|
7751
7862
|
return (_ctx, _cache) => {
|
|
7752
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7863
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7753
7864
|
ref_key: "atom",
|
|
7754
7865
|
ref: atom
|
|
7755
7866
|
}, slotProps.value.attrs, {
|
|
@@ -7764,7 +7875,7 @@ const _sfc_main$78 = /* @__PURE__ */ defineComponent({
|
|
|
7764
7875
|
});
|
|
7765
7876
|
//#endregion
|
|
7766
7877
|
//#region src/components/Pagination/PaginationLast.vue
|
|
7767
|
-
const _sfc_main$
|
|
7878
|
+
const _sfc_main$78 = /* @__PURE__ */ defineComponent({
|
|
7768
7879
|
name: "PaginationLast",
|
|
7769
7880
|
__name: "PaginationLast",
|
|
7770
7881
|
props: {
|
|
@@ -7791,6 +7902,12 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
|
7791
7902
|
if (isDisabled.value) return;
|
|
7792
7903
|
pagination.last();
|
|
7793
7904
|
}
|
|
7905
|
+
function onKeydown(e) {
|
|
7906
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
7907
|
+
e.preventDefault();
|
|
7908
|
+
last();
|
|
7909
|
+
}
|
|
7910
|
+
}
|
|
7794
7911
|
const slotProps = toRef(() => ({
|
|
7795
7912
|
isDisabled: isDisabled.value,
|
|
7796
7913
|
last,
|
|
@@ -7801,12 +7918,14 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
|
7801
7918
|
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
7802
7919
|
"tabindex": isDisabled.value ? -1 : 0,
|
|
7803
7920
|
"type": __props.as === "button" ? "button" : void 0,
|
|
7804
|
-
"
|
|
7921
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
7922
|
+
"onClick": last,
|
|
7923
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
7805
7924
|
}
|
|
7806
7925
|
}));
|
|
7807
7926
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
7808
7927
|
return (_ctx, _cache) => {
|
|
7809
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7928
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7810
7929
|
ref_key: "atom",
|
|
7811
7930
|
ref: atom
|
|
7812
7931
|
}, slotProps.value.attrs, {
|
|
@@ -7821,7 +7940,7 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
|
7821
7940
|
});
|
|
7822
7941
|
//#endregion
|
|
7823
7942
|
//#region src/components/Pagination/PaginationNext.vue
|
|
7824
|
-
const _sfc_main$
|
|
7943
|
+
const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
7825
7944
|
name: "PaginationNext",
|
|
7826
7945
|
__name: "PaginationNext",
|
|
7827
7946
|
props: {
|
|
@@ -7848,6 +7967,12 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
|
7848
7967
|
if (isDisabled.value) return;
|
|
7849
7968
|
pagination.next();
|
|
7850
7969
|
}
|
|
7970
|
+
function onKeydown(e) {
|
|
7971
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
7972
|
+
e.preventDefault();
|
|
7973
|
+
next();
|
|
7974
|
+
}
|
|
7975
|
+
}
|
|
7851
7976
|
const slotProps = toRef(() => ({
|
|
7852
7977
|
isDisabled: isDisabled.value,
|
|
7853
7978
|
next,
|
|
@@ -7858,12 +7983,14 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
|
7858
7983
|
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
7859
7984
|
"tabindex": isDisabled.value ? -1 : 0,
|
|
7860
7985
|
"type": __props.as === "button" ? "button" : void 0,
|
|
7861
|
-
"
|
|
7986
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
7987
|
+
"onClick": next,
|
|
7988
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
7862
7989
|
}
|
|
7863
7990
|
}));
|
|
7864
7991
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
7865
7992
|
return (_ctx, _cache) => {
|
|
7866
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7993
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7867
7994
|
ref_key: "atom",
|
|
7868
7995
|
ref: atom
|
|
7869
7996
|
}, slotProps.value.attrs, {
|
|
@@ -7878,7 +8005,7 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
|
7878
8005
|
});
|
|
7879
8006
|
//#endregion
|
|
7880
8007
|
//#region src/components/Pagination/PaginationPrev.vue
|
|
7881
|
-
const _sfc_main$
|
|
8008
|
+
const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
7882
8009
|
name: "PaginationPrev",
|
|
7883
8010
|
__name: "PaginationPrev",
|
|
7884
8011
|
props: {
|
|
@@ -7905,6 +8032,12 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
7905
8032
|
if (isDisabled.value) return;
|
|
7906
8033
|
pagination.prev();
|
|
7907
8034
|
}
|
|
8035
|
+
function onKeydown(e) {
|
|
8036
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
8037
|
+
e.preventDefault();
|
|
8038
|
+
prev();
|
|
8039
|
+
}
|
|
8040
|
+
}
|
|
7908
8041
|
const slotProps = toRef(() => ({
|
|
7909
8042
|
isDisabled: isDisabled.value,
|
|
7910
8043
|
prev,
|
|
@@ -7915,12 +8048,14 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
7915
8048
|
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
7916
8049
|
"tabindex": isDisabled.value ? -1 : 0,
|
|
7917
8050
|
"type": __props.as === "button" ? "button" : void 0,
|
|
7918
|
-
"
|
|
8051
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
8052
|
+
"onClick": prev,
|
|
8053
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
7919
8054
|
}
|
|
7920
8055
|
}));
|
|
7921
8056
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
7922
8057
|
return (_ctx, _cache) => {
|
|
7923
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8058
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
7924
8059
|
ref_key: "atom",
|
|
7925
8060
|
ref: atom
|
|
7926
8061
|
}, slotProps.value.attrs, {
|
|
@@ -7935,7 +8070,7 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
7935
8070
|
});
|
|
7936
8071
|
//#endregion
|
|
7937
8072
|
//#region src/components/Pagination/PaginationStatus.vue
|
|
7938
|
-
const _sfc_main$
|
|
8073
|
+
const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
7939
8074
|
name: "PaginationStatus",
|
|
7940
8075
|
__name: "PaginationStatus",
|
|
7941
8076
|
props: {
|
|
@@ -7972,7 +8107,7 @@ const _sfc_main$74 = /* @__PURE__ */ defineComponent({
|
|
|
7972
8107
|
}
|
|
7973
8108
|
}));
|
|
7974
8109
|
return (_ctx, _cache) => {
|
|
7975
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8110
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
7976
8111
|
as: __props.as,
|
|
7977
8112
|
renderless: __props.renderless
|
|
7978
8113
|
}), {
|
|
@@ -8020,7 +8155,7 @@ const Pagination = {
|
|
|
8020
8155
|
* </template>
|
|
8021
8156
|
* ```
|
|
8022
8157
|
*/
|
|
8023
|
-
Root: _sfc_main$
|
|
8158
|
+
Root: _sfc_main$82,
|
|
8024
8159
|
/**
|
|
8025
8160
|
* Individual page button that navigates to a specific page number.
|
|
8026
8161
|
*
|
|
@@ -8042,7 +8177,7 @@ const Pagination = {
|
|
|
8042
8177
|
* </template>
|
|
8043
8178
|
* ```
|
|
8044
8179
|
*/
|
|
8045
|
-
Item: _sfc_main$
|
|
8180
|
+
Item: _sfc_main$79,
|
|
8046
8181
|
/**
|
|
8047
8182
|
* Navigation button that jumps to the first page. Automatically
|
|
8048
8183
|
* disables when already on the first page.
|
|
@@ -8070,7 +8205,7 @@ const Pagination = {
|
|
|
8070
8205
|
* </template>
|
|
8071
8206
|
* ```
|
|
8072
8207
|
*/
|
|
8073
|
-
First: _sfc_main$
|
|
8208
|
+
First: _sfc_main$80,
|
|
8074
8209
|
/**
|
|
8075
8210
|
* Navigation button that moves to the previous page. Automatically
|
|
8076
8211
|
* disables when already on the first page.
|
|
@@ -8098,7 +8233,7 @@ const Pagination = {
|
|
|
8098
8233
|
* </template>
|
|
8099
8234
|
* ```
|
|
8100
8235
|
*/
|
|
8101
|
-
Prev: _sfc_main$
|
|
8236
|
+
Prev: _sfc_main$76,
|
|
8102
8237
|
/**
|
|
8103
8238
|
* Visual indicator for omitted page numbers. Hidden from screen
|
|
8104
8239
|
* readers via aria-hidden. Inherits ellipsis character from Root
|
|
@@ -8121,7 +8256,7 @@ const Pagination = {
|
|
|
8121
8256
|
* </template>
|
|
8122
8257
|
* ```
|
|
8123
8258
|
*/
|
|
8124
|
-
Ellipsis: _sfc_main$
|
|
8259
|
+
Ellipsis: _sfc_main$81,
|
|
8125
8260
|
/**
|
|
8126
8261
|
* Navigation button that moves to the next page. Automatically
|
|
8127
8262
|
* disables when already on the last page.
|
|
@@ -8149,7 +8284,7 @@ const Pagination = {
|
|
|
8149
8284
|
* </template>
|
|
8150
8285
|
* ```
|
|
8151
8286
|
*/
|
|
8152
|
-
Next: _sfc_main$
|
|
8287
|
+
Next: _sfc_main$77,
|
|
8153
8288
|
/**
|
|
8154
8289
|
* Navigation button that jumps to the last page. Automatically
|
|
8155
8290
|
* disables when already on the last page.
|
|
@@ -8177,7 +8312,7 @@ const Pagination = {
|
|
|
8177
8312
|
* </template>
|
|
8178
8313
|
* ```
|
|
8179
8314
|
*/
|
|
8180
|
-
Last: _sfc_main$
|
|
8315
|
+
Last: _sfc_main$78,
|
|
8181
8316
|
/**
|
|
8182
8317
|
* Visually-hidden live region that announces page changes to screen
|
|
8183
8318
|
* readers. Should be styled with sr-only/visually-hidden CSS.
|
|
@@ -8198,12 +8333,12 @@ const Pagination = {
|
|
|
8198
8333
|
* </template>
|
|
8199
8334
|
* ```
|
|
8200
8335
|
*/
|
|
8201
|
-
Status: _sfc_main$
|
|
8336
|
+
Status: _sfc_main$75
|
|
8202
8337
|
};
|
|
8203
8338
|
//#endregion
|
|
8204
8339
|
//#region src/components/Popover/PopoverRoot.vue
|
|
8205
8340
|
const [usePopoverContext, providePopoverContext] = createContext("v0:popover");
|
|
8206
|
-
const _sfc_main$
|
|
8341
|
+
const _sfc_main$74 = /* @__PURE__ */ defineComponent({
|
|
8207
8342
|
name: "PopoverRoot",
|
|
8208
8343
|
__name: "PopoverRoot",
|
|
8209
8344
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -8231,7 +8366,7 @@ const _sfc_main$73 = /* @__PURE__ */ defineComponent({
|
|
|
8231
8366
|
toggle: popover.toggle
|
|
8232
8367
|
}));
|
|
8233
8368
|
return (_ctx, _cache) => {
|
|
8234
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8369
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
8235
8370
|
as: __props.as,
|
|
8236
8371
|
renderless: ""
|
|
8237
8372
|
}, {
|
|
@@ -8243,7 +8378,7 @@ const _sfc_main$73 = /* @__PURE__ */ defineComponent({
|
|
|
8243
8378
|
});
|
|
8244
8379
|
//#endregion
|
|
8245
8380
|
//#region src/components/Popover/PopoverActivator.vue
|
|
8246
|
-
const _sfc_main$
|
|
8381
|
+
const _sfc_main$73 = /* @__PURE__ */ defineComponent({
|
|
8247
8382
|
name: "PopoverActivator",
|
|
8248
8383
|
__name: "PopoverActivator",
|
|
8249
8384
|
props: {
|
|
@@ -8258,19 +8393,28 @@ const _sfc_main$72 = /* @__PURE__ */ defineComponent({
|
|
|
8258
8393
|
if (__props.target) return { anchorName: `--${String(__props.target).replace(/[^a-zA-Z0-9_-]/g, "")}` };
|
|
8259
8394
|
return context.anchorStyles.value;
|
|
8260
8395
|
});
|
|
8396
|
+
function onKeydown(e) {
|
|
8397
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
8398
|
+
e.preventDefault();
|
|
8399
|
+
context.toggle();
|
|
8400
|
+
}
|
|
8401
|
+
}
|
|
8261
8402
|
const slotProps = toRef(() => ({
|
|
8262
8403
|
isOpen: context.isOpen.value,
|
|
8263
8404
|
attrs: {
|
|
8264
8405
|
"popovertarget": toValue(popovertarget),
|
|
8265
8406
|
"type": __props.as === "button" ? "button" : void 0,
|
|
8407
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
8408
|
+
"tabindex": 0,
|
|
8266
8409
|
"aria-expanded": context.isOpen.value,
|
|
8267
8410
|
"aria-controls": toValue(popovertarget),
|
|
8268
8411
|
"data-open": context.isOpen.value || void 0,
|
|
8269
|
-
"style": style.value
|
|
8412
|
+
"style": style.value,
|
|
8413
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
8270
8414
|
}
|
|
8271
8415
|
}));
|
|
8272
8416
|
return (_ctx, _cache) => {
|
|
8273
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8417
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
8274
8418
|
as: __props.as,
|
|
8275
8419
|
renderless: __props.renderless
|
|
8276
8420
|
}, slotProps.value.attrs), {
|
|
@@ -8282,7 +8426,7 @@ const _sfc_main$72 = /* @__PURE__ */ defineComponent({
|
|
|
8282
8426
|
});
|
|
8283
8427
|
//#endregion
|
|
8284
8428
|
//#region src/components/Popover/PopoverContent.vue
|
|
8285
|
-
const _sfc_main$
|
|
8429
|
+
const _sfc_main$72 = /* @__PURE__ */ defineComponent({
|
|
8286
8430
|
name: "PopoverContent",
|
|
8287
8431
|
__name: "PopoverContent",
|
|
8288
8432
|
props: {
|
|
@@ -8323,7 +8467,7 @@ const _sfc_main$71 = /* @__PURE__ */ defineComponent({
|
|
|
8323
8467
|
}
|
|
8324
8468
|
}));
|
|
8325
8469
|
return (_ctx, _cache) => {
|
|
8326
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8470
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
8327
8471
|
ref_key: "ref",
|
|
8328
8472
|
ref,
|
|
8329
8473
|
as: __props.as,
|
|
@@ -8367,7 +8511,7 @@ const Popover = {
|
|
|
8367
8511
|
* </template>
|
|
8368
8512
|
* ```
|
|
8369
8513
|
*/
|
|
8370
|
-
Root: _sfc_main$
|
|
8514
|
+
Root: _sfc_main$74,
|
|
8371
8515
|
/**
|
|
8372
8516
|
* Activator component that opens the popover.
|
|
8373
8517
|
*
|
|
@@ -8386,7 +8530,7 @@ const Popover = {
|
|
|
8386
8530
|
* </template>
|
|
8387
8531
|
* ```
|
|
8388
8532
|
*/
|
|
8389
|
-
Activator: _sfc_main$
|
|
8533
|
+
Activator: _sfc_main$73,
|
|
8390
8534
|
/**
|
|
8391
8535
|
* Component for the content section of a popover.
|
|
8392
8536
|
*
|
|
@@ -8405,7 +8549,7 @@ const Popover = {
|
|
|
8405
8549
|
* </template>
|
|
8406
8550
|
* ```
|
|
8407
8551
|
*/
|
|
8408
|
-
Content: _sfc_main$
|
|
8552
|
+
Content: _sfc_main$72
|
|
8409
8553
|
};
|
|
8410
8554
|
//#endregion
|
|
8411
8555
|
//#region src/components/Portal/Portal.vue
|
|
@@ -8421,7 +8565,7 @@ const Popover = {
|
|
|
8421
8565
|
* Standardizes the teleport + stack registration pattern used by
|
|
8422
8566
|
* overlay components (Snackbar, Toast, Dialog, etc.).
|
|
8423
8567
|
*/
|
|
8424
|
-
const _sfc_main$
|
|
8568
|
+
const _sfc_main$71 = /* @__PURE__ */ defineComponent({
|
|
8425
8569
|
name: "Portal",
|
|
8426
8570
|
__name: "Portal",
|
|
8427
8571
|
props: {
|
|
@@ -8484,7 +8628,7 @@ const _sfc_main$70 = /* @__PURE__ */ defineComponent({
|
|
|
8484
8628
|
* - Lifecycle events: `enter`, `leave`, `after-leave`
|
|
8485
8629
|
* - Animation-agnostic: works with CSS, WAAPI, GSAP, or nothing
|
|
8486
8630
|
*/
|
|
8487
|
-
const _sfc_main$
|
|
8631
|
+
const _sfc_main$70 = /* @__PURE__ */ defineComponent({
|
|
8488
8632
|
name: "Presence",
|
|
8489
8633
|
__name: "Presence",
|
|
8490
8634
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -8544,7 +8688,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
8544
8688
|
//#endregion
|
|
8545
8689
|
//#region src/components/Progress/ProgressHiddenInput.vue
|
|
8546
8690
|
const _hoisted_1$5 = ["name", "value"];
|
|
8547
|
-
const _sfc_main$
|
|
8691
|
+
const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
8548
8692
|
name: "ProgressHiddenInput",
|
|
8549
8693
|
__name: "ProgressHiddenInput",
|
|
8550
8694
|
props: { namespace: { default: "v0:progress:root" } },
|
|
@@ -8564,12 +8708,13 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
8564
8708
|
//#endregion
|
|
8565
8709
|
//#region src/components/Progress/ProgressRoot.vue
|
|
8566
8710
|
const [useProgressRoot, provideProgressRoot] = createContext();
|
|
8567
|
-
const _sfc_main$
|
|
8711
|
+
const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
8568
8712
|
name: "ProgressRoot",
|
|
8569
8713
|
inheritAttrs: false,
|
|
8570
8714
|
__name: "ProgressRoot",
|
|
8571
8715
|
props: /* @__PURE__ */ mergeModels({
|
|
8572
8716
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
8717
|
+
ariaLabel: {},
|
|
8573
8718
|
modelValue: {},
|
|
8574
8719
|
min: { default: 0 },
|
|
8575
8720
|
max: { default: 100 },
|
|
@@ -8604,11 +8749,13 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
8604
8749
|
});
|
|
8605
8750
|
useProxyModel(progress, internal, { multiple: true });
|
|
8606
8751
|
const labelId = `${__props.id}-label`;
|
|
8752
|
+
const hasLabel = shallowRef(false);
|
|
8607
8753
|
const context = {
|
|
8608
8754
|
...progress,
|
|
8609
8755
|
id: __props.id,
|
|
8610
8756
|
name: __props.name,
|
|
8611
|
-
labelId
|
|
8757
|
+
labelId,
|
|
8758
|
+
hasLabel
|
|
8612
8759
|
};
|
|
8613
8760
|
provideProgressRoot(__props.namespace, context);
|
|
8614
8761
|
const slotProps = toRef(() => {
|
|
@@ -8627,7 +8774,8 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
8627
8774
|
"aria-valuemin": __props.min,
|
|
8628
8775
|
"aria-valuemax": __props.max,
|
|
8629
8776
|
"aria-valuetext": indeterminate ? void 0 : `${Math.round(pct)}%`,
|
|
8630
|
-
"aria-
|
|
8777
|
+
"aria-label": hasLabel.value ? void 0 : __props.ariaLabel,
|
|
8778
|
+
"aria-labelledby": hasLabel.value ? labelId : void 0,
|
|
8631
8779
|
"aria-busy": indeterminate ? true : void 0,
|
|
8632
8780
|
"data-state": indeterminate ? "indeterminate" : "determinate",
|
|
8633
8781
|
"data-complete": total >= __props.max ? true : void 0
|
|
@@ -8635,19 +8783,19 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
8635
8783
|
};
|
|
8636
8784
|
});
|
|
8637
8785
|
return (_ctx, _cache) => {
|
|
8638
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
8786
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
8639
8787
|
as: __props.as,
|
|
8640
8788
|
renderless: __props.renderless
|
|
8641
8789
|
}), {
|
|
8642
8790
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
8643
8791
|
_: 3
|
|
8644
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
8792
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$69, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
8645
8793
|
};
|
|
8646
8794
|
}
|
|
8647
8795
|
});
|
|
8648
8796
|
//#endregion
|
|
8649
8797
|
//#region src/components/Progress/ProgressBuffer.vue
|
|
8650
|
-
const _sfc_main$
|
|
8798
|
+
const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
8651
8799
|
name: "ProgressBuffer",
|
|
8652
8800
|
inheritAttrs: false,
|
|
8653
8801
|
__name: "ProgressBuffer",
|
|
@@ -8676,7 +8824,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
8676
8824
|
}
|
|
8677
8825
|
}));
|
|
8678
8826
|
return (_ctx, _cache) => {
|
|
8679
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8827
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
8680
8828
|
as: __props.as,
|
|
8681
8829
|
renderless: __props.renderless,
|
|
8682
8830
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -8693,7 +8841,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
8693
8841
|
});
|
|
8694
8842
|
//#endregion
|
|
8695
8843
|
//#region src/components/Progress/ProgressFill.vue
|
|
8696
|
-
const _sfc_main$
|
|
8844
|
+
const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
8697
8845
|
name: "ProgressFill",
|
|
8698
8846
|
inheritAttrs: false,
|
|
8699
8847
|
__name: "ProgressFill",
|
|
@@ -8724,7 +8872,7 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
8724
8872
|
}
|
|
8725
8873
|
}));
|
|
8726
8874
|
return (_ctx, _cache) => {
|
|
8727
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8875
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
8728
8876
|
as: __props.as,
|
|
8729
8877
|
renderless: __props.renderless,
|
|
8730
8878
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -8741,7 +8889,7 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
8741
8889
|
});
|
|
8742
8890
|
//#endregion
|
|
8743
8891
|
//#region src/components/Progress/ProgressLabel.vue
|
|
8744
|
-
const _sfc_main$
|
|
8892
|
+
const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
8745
8893
|
name: "ProgressLabel",
|
|
8746
8894
|
inheritAttrs: false,
|
|
8747
8895
|
__name: "ProgressLabel",
|
|
@@ -8753,6 +8901,12 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
8753
8901
|
setup(__props) {
|
|
8754
8902
|
const attrs = useAttrs();
|
|
8755
8903
|
const root = useProgressRoot(__props.namespace);
|
|
8904
|
+
onMounted(() => {
|
|
8905
|
+
root.hasLabel.value = true;
|
|
8906
|
+
});
|
|
8907
|
+
onBeforeUnmount(() => {
|
|
8908
|
+
root.hasLabel.value = false;
|
|
8909
|
+
});
|
|
8756
8910
|
const slotProps = toRef(() => ({
|
|
8757
8911
|
total: root.total.value,
|
|
8758
8912
|
percent: root.percent.value,
|
|
@@ -8760,7 +8914,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
8760
8914
|
attrs: { id: root.labelId }
|
|
8761
8915
|
}));
|
|
8762
8916
|
return (_ctx, _cache) => {
|
|
8763
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8917
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
8764
8918
|
as: __props.as,
|
|
8765
8919
|
renderless: __props.renderless
|
|
8766
8920
|
}), {
|
|
@@ -8772,7 +8926,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
8772
8926
|
});
|
|
8773
8927
|
//#endregion
|
|
8774
8928
|
//#region src/components/Progress/ProgressTrack.vue
|
|
8775
|
-
const _sfc_main$
|
|
8929
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
8776
8930
|
name: "ProgressTrack",
|
|
8777
8931
|
inheritAttrs: false,
|
|
8778
8932
|
__name: "ProgressTrack",
|
|
@@ -8786,7 +8940,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
8786
8940
|
const root = useProgressRoot(__props.namespace);
|
|
8787
8941
|
const slotProps = toRef(() => ({ attrs: { "data-state": root.isIndeterminate.value ? "indeterminate" : "determinate" } }));
|
|
8788
8942
|
return (_ctx, _cache) => {
|
|
8789
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8943
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
8790
8944
|
as: __props.as,
|
|
8791
8945
|
renderless: __props.renderless
|
|
8792
8946
|
}), {
|
|
@@ -8798,7 +8952,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
8798
8952
|
});
|
|
8799
8953
|
//#endregion
|
|
8800
8954
|
//#region src/components/Progress/ProgressValue.vue
|
|
8801
|
-
const _sfc_main$
|
|
8955
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
8802
8956
|
name: "ProgressValue",
|
|
8803
8957
|
inheritAttrs: false,
|
|
8804
8958
|
__name: "ProgressValue",
|
|
@@ -8818,7 +8972,7 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
8818
8972
|
attrs: {}
|
|
8819
8973
|
}));
|
|
8820
8974
|
return (_ctx, _cache) => {
|
|
8821
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
8975
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
8822
8976
|
as: __props.as,
|
|
8823
8977
|
renderless: __props.renderless
|
|
8824
8978
|
}), {
|
|
@@ -8890,7 +9044,7 @@ const Progress = {
|
|
|
8890
9044
|
* </template>
|
|
8891
9045
|
* ```
|
|
8892
9046
|
*/
|
|
8893
|
-
Root: _sfc_main$
|
|
9047
|
+
Root: _sfc_main$68,
|
|
8894
9048
|
/**
|
|
8895
9049
|
* Track container for the progress bar.
|
|
8896
9050
|
*
|
|
@@ -8913,7 +9067,7 @@ const Progress = {
|
|
|
8913
9067
|
* </template>
|
|
8914
9068
|
* ```
|
|
8915
9069
|
*/
|
|
8916
|
-
Track: _sfc_main$
|
|
9070
|
+
Track: _sfc_main$64,
|
|
8917
9071
|
/**
|
|
8918
9072
|
* Fill element representing the current progress value.
|
|
8919
9073
|
*
|
|
@@ -8934,7 +9088,7 @@ const Progress = {
|
|
|
8934
9088
|
* </template>
|
|
8935
9089
|
* ```
|
|
8936
9090
|
*/
|
|
8937
|
-
Fill: _sfc_main$
|
|
9091
|
+
Fill: _sfc_main$66,
|
|
8938
9092
|
/**
|
|
8939
9093
|
* Buffer indicator for streaming or loading progress.
|
|
8940
9094
|
*
|
|
@@ -8958,7 +9112,7 @@ const Progress = {
|
|
|
8958
9112
|
* </template>
|
|
8959
9113
|
* ```
|
|
8960
9114
|
*/
|
|
8961
|
-
Buffer: _sfc_main$
|
|
9115
|
+
Buffer: _sfc_main$67,
|
|
8962
9116
|
/**
|
|
8963
9117
|
* Text display for the current progress value.
|
|
8964
9118
|
*
|
|
@@ -8981,7 +9135,7 @@ const Progress = {
|
|
|
8981
9135
|
* </template>
|
|
8982
9136
|
* ```
|
|
8983
9137
|
*/
|
|
8984
|
-
Value: _sfc_main$
|
|
9138
|
+
Value: _sfc_main$63,
|
|
8985
9139
|
/**
|
|
8986
9140
|
* Accessible label for the progress indicator.
|
|
8987
9141
|
*
|
|
@@ -9002,7 +9156,7 @@ const Progress = {
|
|
|
9002
9156
|
* </template>
|
|
9003
9157
|
* ```
|
|
9004
9158
|
*/
|
|
9005
|
-
Label: _sfc_main$
|
|
9159
|
+
Label: _sfc_main$65,
|
|
9006
9160
|
/**
|
|
9007
9161
|
* Hidden native input for form submission.
|
|
9008
9162
|
*
|
|
@@ -9032,12 +9186,12 @@ const Progress = {
|
|
|
9032
9186
|
* </template>
|
|
9033
9187
|
* ```
|
|
9034
9188
|
*/
|
|
9035
|
-
HiddenInput: _sfc_main$
|
|
9189
|
+
HiddenInput: _sfc_main$69
|
|
9036
9190
|
};
|
|
9037
9191
|
//#endregion
|
|
9038
9192
|
//#region src/components/Radio/RadioGroup.vue
|
|
9039
9193
|
const [useRadioGroup, provideRadioGroup] = createContext();
|
|
9040
|
-
const _sfc_main$
|
|
9194
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
9041
9195
|
name: "RadioGroup",
|
|
9042
9196
|
__name: "RadioGroup",
|
|
9043
9197
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -9089,7 +9243,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
9089
9243
|
}
|
|
9090
9244
|
}));
|
|
9091
9245
|
return (_ctx, _cache) => {
|
|
9092
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9246
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
9093
9247
|
as: __props.as,
|
|
9094
9248
|
renderless: __props.renderless
|
|
9095
9249
|
}), {
|
|
@@ -9102,7 +9256,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
9102
9256
|
//#endregion
|
|
9103
9257
|
//#region src/components/Radio/RadioRoot.vue
|
|
9104
9258
|
const [useRadioRoot, provideRadioRoot] = createContext();
|
|
9105
|
-
const _sfc_main$
|
|
9259
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
9106
9260
|
name: "RadioRoot",
|
|
9107
9261
|
inheritAttrs: false,
|
|
9108
9262
|
__name: "RadioRoot",
|
|
@@ -9214,13 +9368,13 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
9214
9368
|
}
|
|
9215
9369
|
}));
|
|
9216
9370
|
return (_ctx, _cache) => {
|
|
9217
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
9371
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
9218
9372
|
as: __props.as,
|
|
9219
9373
|
renderless: __props.renderless
|
|
9220
9374
|
}), {
|
|
9221
9375
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
9222
9376
|
_: 3
|
|
9223
|
-
}, 16, ["as", "renderless"]), unref(name) ? (openBlock(), createBlock(_sfc_main$
|
|
9377
|
+
}, 16, ["as", "renderless"]), unref(name) ? (openBlock(), createBlock(_sfc_main$60, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
9224
9378
|
};
|
|
9225
9379
|
}
|
|
9226
9380
|
});
|
|
@@ -9233,7 +9387,7 @@ const _hoisted_1$4 = [
|
|
|
9233
9387
|
"name",
|
|
9234
9388
|
"value"
|
|
9235
9389
|
];
|
|
9236
|
-
const visuallyHiddenStyle$
|
|
9390
|
+
const visuallyHiddenStyle$3 = {
|
|
9237
9391
|
position: "absolute",
|
|
9238
9392
|
width: "1px",
|
|
9239
9393
|
height: "1px",
|
|
@@ -9244,7 +9398,7 @@ const visuallyHiddenStyle$2 = {
|
|
|
9244
9398
|
whiteSpace: "nowrap",
|
|
9245
9399
|
border: "0"
|
|
9246
9400
|
};
|
|
9247
|
-
const _sfc_main$
|
|
9401
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
9248
9402
|
name: "RadioHiddenInput",
|
|
9249
9403
|
__name: "RadioHiddenInput",
|
|
9250
9404
|
props: {
|
|
@@ -9271,7 +9425,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
9271
9425
|
form: form.value,
|
|
9272
9426
|
inert: "",
|
|
9273
9427
|
name: name.value,
|
|
9274
|
-
style: visuallyHiddenStyle$
|
|
9428
|
+
style: visuallyHiddenStyle$3,
|
|
9275
9429
|
tabindex: "-1",
|
|
9276
9430
|
type: "radio",
|
|
9277
9431
|
value: value.value
|
|
@@ -9281,7 +9435,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
9281
9435
|
});
|
|
9282
9436
|
//#endregion
|
|
9283
9437
|
//#region src/components/Radio/RadioIndicator.vue
|
|
9284
|
-
const _sfc_main$
|
|
9438
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
9285
9439
|
name: "RadioIndicator",
|
|
9286
9440
|
__name: "RadioIndicator",
|
|
9287
9441
|
props: {
|
|
@@ -9301,7 +9455,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
9301
9455
|
}
|
|
9302
9456
|
}));
|
|
9303
9457
|
return (_ctx, _cache) => {
|
|
9304
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9458
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
9305
9459
|
as: __props.as,
|
|
9306
9460
|
renderless: __props.renderless
|
|
9307
9461
|
}), {
|
|
@@ -9374,7 +9528,7 @@ const Radio = {
|
|
|
9374
9528
|
* </template>
|
|
9375
9529
|
* ```
|
|
9376
9530
|
*/
|
|
9377
|
-
Group: _sfc_main$
|
|
9531
|
+
Group: _sfc_main$62,
|
|
9378
9532
|
/**
|
|
9379
9533
|
* Hidden input component for form submission.
|
|
9380
9534
|
*
|
|
@@ -9399,7 +9553,7 @@ const Radio = {
|
|
|
9399
9553
|
* </template>
|
|
9400
9554
|
* ```
|
|
9401
9555
|
*/
|
|
9402
|
-
HiddenInput: _sfc_main$
|
|
9556
|
+
HiddenInput: _sfc_main$60,
|
|
9403
9557
|
/**
|
|
9404
9558
|
* Visual indicator component for radio buttons.
|
|
9405
9559
|
*
|
|
@@ -9427,7 +9581,7 @@ const Radio = {
|
|
|
9427
9581
|
* </template>
|
|
9428
9582
|
* ```
|
|
9429
9583
|
*/
|
|
9430
|
-
Indicator: _sfc_main$
|
|
9584
|
+
Indicator: _sfc_main$59,
|
|
9431
9585
|
/**
|
|
9432
9586
|
* Root component for individual radio buttons.
|
|
9433
9587
|
*
|
|
@@ -9454,12 +9608,12 @@ const Radio = {
|
|
|
9454
9608
|
* </template>
|
|
9455
9609
|
* ```
|
|
9456
9610
|
*/
|
|
9457
|
-
Root: _sfc_main$
|
|
9611
|
+
Root: _sfc_main$61
|
|
9458
9612
|
};
|
|
9459
9613
|
//#endregion
|
|
9460
9614
|
//#region src/components/Rating/RatingRoot.vue
|
|
9461
9615
|
const [useRatingRoot, provideRatingRoot] = createContext();
|
|
9462
|
-
const _sfc_main$
|
|
9616
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
9463
9617
|
name: "RatingRoot",
|
|
9464
9618
|
inheritAttrs: false,
|
|
9465
9619
|
__name: "RatingRoot",
|
|
@@ -9472,6 +9626,8 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
9472
9626
|
},
|
|
9473
9627
|
disabled: { default: false },
|
|
9474
9628
|
readonly: { default: false },
|
|
9629
|
+
ariaLabel: {},
|
|
9630
|
+
ariaLabelledby: {},
|
|
9475
9631
|
name: {},
|
|
9476
9632
|
namespace: { default: "v0:rating:root" },
|
|
9477
9633
|
as: { default: "div" },
|
|
@@ -9536,6 +9692,8 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
9536
9692
|
value: rating.value.value,
|
|
9537
9693
|
size: rating.size
|
|
9538
9694
|
}) ?? `${rating.value.value} of ${rating.size} stars`,
|
|
9695
|
+
"aria-label": __props.ariaLabelledby ? void 0 : __props.ariaLabel || (locale.ti("Rating.label") ?? "Rating"),
|
|
9696
|
+
"aria-labelledby": __props.ariaLabelledby || void 0,
|
|
9539
9697
|
"aria-disabled": isDisabled.value,
|
|
9540
9698
|
"aria-readonly": isReadonly.value ? true : void 0,
|
|
9541
9699
|
"data-disabled": isDisabled.value ? true : void 0,
|
|
@@ -9546,13 +9704,13 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
9546
9704
|
}
|
|
9547
9705
|
}));
|
|
9548
9706
|
return (_ctx, _cache) => {
|
|
9549
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
9707
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
9550
9708
|
as: __props.as,
|
|
9551
9709
|
renderless: __props.renderless
|
|
9552
9710
|
}), {
|
|
9553
9711
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
9554
9712
|
_: 3
|
|
9555
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
9713
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$57, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
9556
9714
|
};
|
|
9557
9715
|
}
|
|
9558
9716
|
});
|
|
@@ -9563,7 +9721,7 @@ const _hoisted_1$3 = [
|
|
|
9563
9721
|
"name",
|
|
9564
9722
|
"value"
|
|
9565
9723
|
];
|
|
9566
|
-
const _sfc_main$
|
|
9724
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
9567
9725
|
name: "RatingHiddenInput",
|
|
9568
9726
|
__name: "RatingHiddenInput",
|
|
9569
9727
|
props: { namespace: { default: "v0:rating:root" } },
|
|
@@ -9584,7 +9742,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
9584
9742
|
});
|
|
9585
9743
|
//#endregion
|
|
9586
9744
|
//#region src/components/Rating/RatingItem.vue
|
|
9587
|
-
const _sfc_main$
|
|
9745
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
9588
9746
|
name: "RatingItem",
|
|
9589
9747
|
inheritAttrs: false,
|
|
9590
9748
|
__name: "RatingItem",
|
|
@@ -9637,7 +9795,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
9637
9795
|
}
|
|
9638
9796
|
}));
|
|
9639
9797
|
return (_ctx, _cache) => {
|
|
9640
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9798
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
9641
9799
|
as: __props.as,
|
|
9642
9800
|
renderless: __props.renderless
|
|
9643
9801
|
}), {
|
|
@@ -9674,7 +9832,6 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
9674
9832
|
* v-for="i in 5"
|
|
9675
9833
|
* :key="i"
|
|
9676
9834
|
* :index="i"
|
|
9677
|
-
* as="button"
|
|
9678
9835
|
* v-slot="{ state }"
|
|
9679
9836
|
* >
|
|
9680
9837
|
* {{ state === 'full' ? '★' : '☆' }}
|
|
@@ -9710,7 +9867,6 @@ const Rating = {
|
|
|
9710
9867
|
* v-for="i in 5"
|
|
9711
9868
|
* :key="i"
|
|
9712
9869
|
* :index="i"
|
|
9713
|
-
* as="button"
|
|
9714
9870
|
* v-slot="{ state }"
|
|
9715
9871
|
* >
|
|
9716
9872
|
* {{ state === 'full' ? '★' : '☆' }}
|
|
@@ -9719,7 +9875,7 @@ const Rating = {
|
|
|
9719
9875
|
* </template>
|
|
9720
9876
|
* ```
|
|
9721
9877
|
*/
|
|
9722
|
-
Root: _sfc_main$
|
|
9878
|
+
Root: _sfc_main$58,
|
|
9723
9879
|
/**
|
|
9724
9880
|
* Individual rating item (star/icon).
|
|
9725
9881
|
*
|
|
@@ -9741,7 +9897,6 @@ const Rating = {
|
|
|
9741
9897
|
* <template>
|
|
9742
9898
|
* <Rating.Item
|
|
9743
9899
|
* :index="1"
|
|
9744
|
-
* as="button"
|
|
9745
9900
|
* class="[&[data-state=full]]:text-amber-500 [&[data-state=empty]]:text-gray-300"
|
|
9746
9901
|
* v-slot="{ state }"
|
|
9747
9902
|
* >
|
|
@@ -9750,7 +9905,7 @@ const Rating = {
|
|
|
9750
9905
|
* </template>
|
|
9751
9906
|
* ```
|
|
9752
9907
|
*/
|
|
9753
|
-
Item: _sfc_main$
|
|
9908
|
+
Item: _sfc_main$56,
|
|
9754
9909
|
/**
|
|
9755
9910
|
* Hidden native input for form submission.
|
|
9756
9911
|
*
|
|
@@ -9777,7 +9932,6 @@ const Rating = {
|
|
|
9777
9932
|
* v-for="i in 5"
|
|
9778
9933
|
* :key="i"
|
|
9779
9934
|
* :index="i"
|
|
9780
|
-
* as="button"
|
|
9781
9935
|
* v-slot="{ state }"
|
|
9782
9936
|
* >
|
|
9783
9937
|
* {{ state === 'full' ? '★' : '☆' }}
|
|
@@ -9786,11 +9940,11 @@ const Rating = {
|
|
|
9786
9940
|
* </template>
|
|
9787
9941
|
* ```
|
|
9788
9942
|
*/
|
|
9789
|
-
HiddenInput: _sfc_main$
|
|
9943
|
+
HiddenInput: _sfc_main$57
|
|
9790
9944
|
};
|
|
9791
9945
|
//#endregion
|
|
9792
9946
|
//#region src/components/Scrim/Scrim.vue
|
|
9793
|
-
const _sfc_main$
|
|
9947
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
9794
9948
|
name: "Scrim",
|
|
9795
9949
|
inheritAttrs: false,
|
|
9796
9950
|
__name: "Scrim",
|
|
@@ -9831,7 +9985,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
9831
9985
|
to: __props.teleportTo
|
|
9832
9986
|
}, [createVNode(TransitionGroup, { name: __props.transition }, {
|
|
9833
9987
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
|
|
9834
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9988
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
9835
9989
|
key: ticket.id,
|
|
9836
9990
|
as: __props.as,
|
|
9837
9991
|
renderless: __props.renderless
|
|
@@ -9846,7 +10000,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
9846
10000
|
name: __props.transition
|
|
9847
10001
|
}, {
|
|
9848
10002
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
|
|
9849
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10003
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
9850
10004
|
key: ticket.id,
|
|
9851
10005
|
as: __props.as,
|
|
9852
10006
|
renderless: __props.renderless
|
|
@@ -9868,7 +10022,7 @@ const _hoisted_1$2 = [
|
|
|
9868
10022
|
"name",
|
|
9869
10023
|
"value"
|
|
9870
10024
|
];
|
|
9871
|
-
const visuallyHiddenStyle$
|
|
10025
|
+
const visuallyHiddenStyle$2 = {
|
|
9872
10026
|
position: "absolute",
|
|
9873
10027
|
width: "1px",
|
|
9874
10028
|
height: "1px",
|
|
@@ -9879,7 +10033,7 @@ const visuallyHiddenStyle$1 = {
|
|
|
9879
10033
|
whiteSpace: "nowrap",
|
|
9880
10034
|
border: "0"
|
|
9881
10035
|
};
|
|
9882
|
-
const _sfc_main$
|
|
10036
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
9883
10037
|
name: "SelectHiddenInput",
|
|
9884
10038
|
__name: "SelectHiddenInput",
|
|
9885
10039
|
props: { namespace: { default: "v0:select" } },
|
|
@@ -9901,7 +10055,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
9901
10055
|
form: unref(context).form,
|
|
9902
10056
|
inert: "",
|
|
9903
10057
|
name: unref(context).name,
|
|
9904
|
-
style: visuallyHiddenStyle$
|
|
10058
|
+
style: visuallyHiddenStyle$2,
|
|
9905
10059
|
tabindex: "-1",
|
|
9906
10060
|
type: "hidden",
|
|
9907
10061
|
value: val
|
|
@@ -9913,7 +10067,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
9913
10067
|
//#endregion
|
|
9914
10068
|
//#region src/components/Select/SelectRoot.vue
|
|
9915
10069
|
const [useSelectContext, provideSelectContext] = createContext();
|
|
9916
|
-
const _sfc_main$
|
|
10070
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
9917
10071
|
name: "SelectRoot",
|
|
9918
10072
|
__name: "SelectRoot",
|
|
9919
10073
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10020,19 +10174,19 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
10020
10174
|
toggle
|
|
10021
10175
|
}));
|
|
10022
10176
|
return (_ctx, _cache) => {
|
|
10023
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
10177
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), {
|
|
10024
10178
|
as: __props.as,
|
|
10025
10179
|
renderless: ""
|
|
10026
10180
|
}, {
|
|
10027
10181
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
10028
10182
|
_: 3
|
|
10029
|
-
}, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
10183
|
+
}, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$54, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
10030
10184
|
};
|
|
10031
10185
|
}
|
|
10032
10186
|
});
|
|
10033
10187
|
//#endregion
|
|
10034
10188
|
//#region src/components/Select/SelectActivator.vue
|
|
10035
|
-
const _sfc_main$
|
|
10189
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
10036
10190
|
name: "SelectActivator",
|
|
10037
10191
|
__name: "SelectActivator",
|
|
10038
10192
|
props: {
|
|
@@ -10099,7 +10253,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
10099
10253
|
}
|
|
10100
10254
|
}));
|
|
10101
10255
|
return (_ctx, _cache) => {
|
|
10102
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10256
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
10103
10257
|
ref: "activator",
|
|
10104
10258
|
as: __props.as,
|
|
10105
10259
|
renderless: __props.renderless
|
|
@@ -10112,7 +10266,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
10112
10266
|
});
|
|
10113
10267
|
//#endregion
|
|
10114
10268
|
//#region src/components/Select/SelectContent.vue
|
|
10115
|
-
const _sfc_main$
|
|
10269
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
10116
10270
|
name: "SelectContent",
|
|
10117
10271
|
__name: "SelectContent",
|
|
10118
10272
|
props: {
|
|
@@ -10142,7 +10296,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
10142
10296
|
}
|
|
10143
10297
|
}));
|
|
10144
10298
|
return (_ctx, _cache) => {
|
|
10145
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10299
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
10146
10300
|
ref_key: "content",
|
|
10147
10301
|
ref: content,
|
|
10148
10302
|
as: __props.as,
|
|
@@ -10156,7 +10310,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
10156
10310
|
});
|
|
10157
10311
|
//#endregion
|
|
10158
10312
|
//#region src/components/Select/SelectCue.vue
|
|
10159
|
-
const _sfc_main$
|
|
10313
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
10160
10314
|
name: "SelectCue",
|
|
10161
10315
|
__name: "SelectCue",
|
|
10162
10316
|
props: {
|
|
@@ -10174,7 +10328,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
10174
10328
|
}
|
|
10175
10329
|
}));
|
|
10176
10330
|
return (_ctx, _cache) => {
|
|
10177
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10331
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
10178
10332
|
as: __props.as,
|
|
10179
10333
|
renderless: __props.renderless
|
|
10180
10334
|
}, slotProps.value.attrs), {
|
|
@@ -10186,7 +10340,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
10186
10340
|
});
|
|
10187
10341
|
//#endregion
|
|
10188
10342
|
//#region src/components/Select/SelectItem.vue
|
|
10189
|
-
const _sfc_main$
|
|
10343
|
+
const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
10190
10344
|
name: "SelectItem",
|
|
10191
10345
|
__name: "SelectItem",
|
|
10192
10346
|
props: {
|
|
@@ -10233,7 +10387,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
10233
10387
|
}
|
|
10234
10388
|
}));
|
|
10235
10389
|
return (_ctx, _cache) => {
|
|
10236
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10390
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
10237
10391
|
as: __props.as,
|
|
10238
10392
|
renderless: __props.renderless
|
|
10239
10393
|
}, slotProps.value.attrs), {
|
|
@@ -10245,7 +10399,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
10245
10399
|
});
|
|
10246
10400
|
//#endregion
|
|
10247
10401
|
//#region src/components/Select/SelectPlaceholder.vue
|
|
10248
|
-
const _sfc_main$
|
|
10402
|
+
const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
10249
10403
|
name: "SelectPlaceholder",
|
|
10250
10404
|
__name: "SelectPlaceholder",
|
|
10251
10405
|
props: {
|
|
@@ -10257,7 +10411,7 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
10257
10411
|
const context = useSelectContext(__props.namespace);
|
|
10258
10412
|
const hasValue = toRef(() => context.selection.selectedIds.size > 0 || !/* @__PURE__ */ isNullOrUndefined(context.modelValue.value));
|
|
10259
10413
|
return (_ctx, _cache) => {
|
|
10260
|
-
return !hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
10414
|
+
return !hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$172), {
|
|
10261
10415
|
key: 0,
|
|
10262
10416
|
as: __props.as,
|
|
10263
10417
|
renderless: __props.renderless
|
|
@@ -10270,7 +10424,7 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
10270
10424
|
});
|
|
10271
10425
|
//#endregion
|
|
10272
10426
|
//#region src/components/Select/SelectValue.vue
|
|
10273
|
-
const _sfc_main$
|
|
10427
|
+
const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
10274
10428
|
name: "SelectValue",
|
|
10275
10429
|
__name: "SelectValue",
|
|
10276
10430
|
props: {
|
|
@@ -10301,7 +10455,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
10301
10455
|
};
|
|
10302
10456
|
});
|
|
10303
10457
|
return (_ctx, _cache) => {
|
|
10304
|
-
return hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
10458
|
+
return hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$172), {
|
|
10305
10459
|
key: 0,
|
|
10306
10460
|
as: __props.as,
|
|
10307
10461
|
renderless: __props.renderless
|
|
@@ -10348,9 +10502,8 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
10348
10502
|
* :key="item.id"
|
|
10349
10503
|
* :id="item.id"
|
|
10350
10504
|
* :value="item.label"
|
|
10351
|
-
* v-slot="{ isSelected, attrs }"
|
|
10352
10505
|
* >
|
|
10353
|
-
*
|
|
10506
|
+
* {{ item.label }}
|
|
10354
10507
|
* </Select.Item>
|
|
10355
10508
|
* </Select.Content>
|
|
10356
10509
|
* </Select.Root>
|
|
@@ -10385,7 +10538,7 @@ const Select = {
|
|
|
10385
10538
|
* </template>
|
|
10386
10539
|
* ```
|
|
10387
10540
|
*/
|
|
10388
|
-
Root: _sfc_main$
|
|
10541
|
+
Root: _sfc_main$53,
|
|
10389
10542
|
/**
|
|
10390
10543
|
* Activator button that opens the select dropdown.
|
|
10391
10544
|
*
|
|
@@ -10404,7 +10557,7 @@ const Select = {
|
|
|
10404
10557
|
* </template>
|
|
10405
10558
|
* ```
|
|
10406
10559
|
*/
|
|
10407
|
-
Activator: _sfc_main$
|
|
10560
|
+
Activator: _sfc_main$52,
|
|
10408
10561
|
/**
|
|
10409
10562
|
* Display component for the selected value. Slot-based — consumers provide rendering.
|
|
10410
10563
|
*
|
|
@@ -10424,7 +10577,7 @@ const Select = {
|
|
|
10424
10577
|
* </template>
|
|
10425
10578
|
* ```
|
|
10426
10579
|
*/
|
|
10427
|
-
Value: _sfc_main$
|
|
10580
|
+
Value: _sfc_main$47,
|
|
10428
10581
|
/**
|
|
10429
10582
|
* Dropdown content container using native popover API with CSS anchor positioning.
|
|
10430
10583
|
*
|
|
@@ -10444,7 +10597,7 @@ const Select = {
|
|
|
10444
10597
|
* </template>
|
|
10445
10598
|
* ```
|
|
10446
10599
|
*/
|
|
10447
|
-
Content: _sfc_main$
|
|
10600
|
+
Content: _sfc_main$51,
|
|
10448
10601
|
/**
|
|
10449
10602
|
* Visual cue for open/close state. Exposes `data-state="open|closed"` for CSS-driven styling.
|
|
10450
10603
|
*
|
|
@@ -10461,7 +10614,7 @@ const Select = {
|
|
|
10461
10614
|
* </Select.Activator>
|
|
10462
10615
|
* ```
|
|
10463
10616
|
*/
|
|
10464
|
-
Cue: _sfc_main$
|
|
10617
|
+
Cue: _sfc_main$50,
|
|
10465
10618
|
/**
|
|
10466
10619
|
* Option item within the select dropdown. Registers with selection and virtual focus.
|
|
10467
10620
|
*
|
|
@@ -10474,13 +10627,13 @@ const Select = {
|
|
|
10474
10627
|
* <\/script>
|
|
10475
10628
|
*
|
|
10476
10629
|
* <template>
|
|
10477
|
-
* <Select.Item id="apple" value="Apple" v-slot="{ isSelected
|
|
10478
|
-
*
|
|
10630
|
+
* <Select.Item id="apple" value="Apple" v-slot="{ isSelected }">
|
|
10631
|
+
* Apple {{ isSelected ? '✓' : '' }}
|
|
10479
10632
|
* </Select.Item>
|
|
10480
10633
|
* </template>
|
|
10481
10634
|
* ```
|
|
10482
10635
|
*/
|
|
10483
|
-
Item: _sfc_main$
|
|
10636
|
+
Item: _sfc_main$49,
|
|
10484
10637
|
/**
|
|
10485
10638
|
* Placeholder text shown when no value is selected. Automatically hidden when a selection exists.
|
|
10486
10639
|
*
|
|
@@ -10495,12 +10648,12 @@ const Select = {
|
|
|
10495
10648
|
* </Select.Activator>
|
|
10496
10649
|
* ```
|
|
10497
10650
|
*/
|
|
10498
|
-
Placeholder: _sfc_main$
|
|
10651
|
+
Placeholder: _sfc_main$48
|
|
10499
10652
|
};
|
|
10500
10653
|
//#endregion
|
|
10501
10654
|
//#region src/components/Selection/SelectionRoot.vue
|
|
10502
10655
|
const [useSelectionRoot, provideSelectionRoot] = createContext();
|
|
10503
|
-
const _sfc_main$
|
|
10656
|
+
const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
10504
10657
|
name: "SelectionRoot",
|
|
10505
10658
|
__name: "SelectionRoot",
|
|
10506
10659
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10552,7 +10705,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
10552
10705
|
});
|
|
10553
10706
|
//#endregion
|
|
10554
10707
|
//#region src/components/Selection/SelectionItem.vue
|
|
10555
|
-
const _sfc_main$
|
|
10708
|
+
const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
10556
10709
|
name: "SelectionItem",
|
|
10557
10710
|
__name: "SelectionItem",
|
|
10558
10711
|
props: {
|
|
@@ -10574,6 +10727,11 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
10574
10727
|
if (toValue(isDisabled)) return;
|
|
10575
10728
|
ticket.toggle();
|
|
10576
10729
|
}
|
|
10730
|
+
function onKeydown(e) {
|
|
10731
|
+
if (e.key !== "Enter" && e.key !== " ") return;
|
|
10732
|
+
e.preventDefault();
|
|
10733
|
+
onClick();
|
|
10734
|
+
}
|
|
10577
10735
|
onBeforeUnmount(() => {
|
|
10578
10736
|
selection.unregister(ticket.id);
|
|
10579
10737
|
});
|
|
@@ -10587,11 +10745,14 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
10587
10745
|
unselect: ticket.unselect,
|
|
10588
10746
|
toggle: ticket.toggle,
|
|
10589
10747
|
attrs: {
|
|
10748
|
+
"role": "option",
|
|
10749
|
+
"tabindex": toValue(isDisabled) ? -1 : 0,
|
|
10590
10750
|
"aria-selected": toValue(ticket.isSelected),
|
|
10591
10751
|
"aria-disabled": toValue(isDisabled),
|
|
10592
10752
|
"data-selected": toValue(ticket.isSelected) || void 0,
|
|
10593
10753
|
"data-disabled": toValue(isDisabled) || void 0,
|
|
10594
|
-
"onClick": onClick
|
|
10754
|
+
"onClick": onClick,
|
|
10755
|
+
"onKeydown": onKeydown
|
|
10595
10756
|
}
|
|
10596
10757
|
}));
|
|
10597
10758
|
return (_ctx, _cache) => {
|
|
@@ -10631,7 +10792,7 @@ const Selection = {
|
|
|
10631
10792
|
* </template>
|
|
10632
10793
|
* ```
|
|
10633
10794
|
*/
|
|
10634
|
-
Root: _sfc_main$
|
|
10795
|
+
Root: _sfc_main$46,
|
|
10635
10796
|
/**
|
|
10636
10797
|
* Item component for selection contexts.
|
|
10637
10798
|
*
|
|
@@ -10650,12 +10811,12 @@ const Selection = {
|
|
|
10650
10811
|
* </template>
|
|
10651
10812
|
* ```
|
|
10652
10813
|
*/
|
|
10653
|
-
Item: _sfc_main$
|
|
10814
|
+
Item: _sfc_main$45
|
|
10654
10815
|
};
|
|
10655
10816
|
//#endregion
|
|
10656
10817
|
//#region src/components/Single/SingleRoot.vue
|
|
10657
10818
|
const [useSingleRoot, provideSingleRoot] = createContext();
|
|
10658
|
-
const _sfc_main$
|
|
10819
|
+
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
10659
10820
|
name: "SingleRoot",
|
|
10660
10821
|
__name: "SingleRoot",
|
|
10661
10822
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10701,7 +10862,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
10701
10862
|
});
|
|
10702
10863
|
//#endregion
|
|
10703
10864
|
//#region src/components/Single/SingleItem.vue
|
|
10704
|
-
const _sfc_main$
|
|
10865
|
+
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
10705
10866
|
name: "SingleItem",
|
|
10706
10867
|
__name: "SingleItem",
|
|
10707
10868
|
props: {
|
|
@@ -10723,6 +10884,11 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
10723
10884
|
if (toValue(isDisabled)) return;
|
|
10724
10885
|
ticket.toggle();
|
|
10725
10886
|
}
|
|
10887
|
+
function onKeydown(e) {
|
|
10888
|
+
if (e.key !== "Enter" && e.key !== " ") return;
|
|
10889
|
+
e.preventDefault();
|
|
10890
|
+
onClick();
|
|
10891
|
+
}
|
|
10726
10892
|
onBeforeUnmount(() => {
|
|
10727
10893
|
single.unregister(ticket.id);
|
|
10728
10894
|
});
|
|
@@ -10736,11 +10902,14 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
10736
10902
|
unselect: ticket.unselect,
|
|
10737
10903
|
toggle: ticket.toggle,
|
|
10738
10904
|
attrs: {
|
|
10905
|
+
"role": "option",
|
|
10906
|
+
"tabindex": toValue(isDisabled) ? -1 : 0,
|
|
10739
10907
|
"aria-selected": toValue(ticket.isSelected),
|
|
10740
10908
|
"aria-disabled": toValue(isDisabled),
|
|
10741
10909
|
"data-selected": toValue(ticket.isSelected) || void 0,
|
|
10742
10910
|
"data-disabled": toValue(isDisabled) || void 0,
|
|
10743
|
-
"onClick": onClick
|
|
10911
|
+
"onClick": onClick,
|
|
10912
|
+
"onKeydown": onKeydown
|
|
10744
10913
|
}
|
|
10745
10914
|
}));
|
|
10746
10915
|
return (_ctx, _cache) => {
|
|
@@ -10780,7 +10949,7 @@ const Single = {
|
|
|
10780
10949
|
* </template>
|
|
10781
10950
|
* ```
|
|
10782
10951
|
*/
|
|
10783
|
-
Root: _sfc_main$
|
|
10952
|
+
Root: _sfc_main$44,
|
|
10784
10953
|
/**
|
|
10785
10954
|
* Component representing a selectable item within Single.Root.
|
|
10786
10955
|
*
|
|
@@ -10801,12 +10970,12 @@ const Single = {
|
|
|
10801
10970
|
* </template>
|
|
10802
10971
|
* ```
|
|
10803
10972
|
*/
|
|
10804
|
-
Item: _sfc_main$
|
|
10973
|
+
Item: _sfc_main$43
|
|
10805
10974
|
};
|
|
10806
10975
|
//#endregion
|
|
10807
10976
|
//#region src/components/Slider/SliderRoot.vue
|
|
10808
10977
|
const [useSliderRoot, provideSliderRoot] = createContext();
|
|
10809
|
-
const _sfc_main$
|
|
10978
|
+
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
10810
10979
|
name: "SliderRoot",
|
|
10811
10980
|
inheritAttrs: false,
|
|
10812
10981
|
__name: "SliderRoot",
|
|
@@ -10948,14 +11117,14 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
10948
11117
|
}
|
|
10949
11118
|
}));
|
|
10950
11119
|
return (_ctx, _cache) => {
|
|
10951
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
11120
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
10952
11121
|
as: __props.as,
|
|
10953
11122
|
renderless: __props.renderless
|
|
10954
11123
|
}), {
|
|
10955
11124
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
10956
11125
|
_: 3
|
|
10957
11126
|
}, 16, ["as", "renderless"]), __props.name ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(slider).values.value, (_, index) => {
|
|
10958
|
-
return openBlock(), createBlock(_sfc_main$
|
|
11127
|
+
return openBlock(), createBlock(_sfc_main$41, {
|
|
10959
11128
|
key: index,
|
|
10960
11129
|
index
|
|
10961
11130
|
}, null, 8, ["index"]);
|
|
@@ -10971,7 +11140,7 @@ const _hoisted_1$1 = [
|
|
|
10971
11140
|
"name",
|
|
10972
11141
|
"value"
|
|
10973
11142
|
];
|
|
10974
|
-
const _sfc_main$
|
|
11143
|
+
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
10975
11144
|
name: "SliderHiddenInput",
|
|
10976
11145
|
__name: "SliderHiddenInput",
|
|
10977
11146
|
props: {
|
|
@@ -10996,7 +11165,7 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
10996
11165
|
});
|
|
10997
11166
|
//#endregion
|
|
10998
11167
|
//#region src/components/Slider/SliderRange.vue
|
|
10999
|
-
const _sfc_main$
|
|
11168
|
+
const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
11000
11169
|
name: "SliderRange",
|
|
11001
11170
|
inheritAttrs: false,
|
|
11002
11171
|
__name: "SliderRange",
|
|
@@ -11037,7 +11206,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
11037
11206
|
}
|
|
11038
11207
|
}));
|
|
11039
11208
|
return (_ctx, _cache) => {
|
|
11040
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11209
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
11041
11210
|
as: __props.as,
|
|
11042
11211
|
renderless: __props.renderless,
|
|
11043
11212
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -11054,7 +11223,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
11054
11223
|
});
|
|
11055
11224
|
//#endregion
|
|
11056
11225
|
//#region src/components/Slider/SliderThumb.vue
|
|
11057
|
-
const _sfc_main$
|
|
11226
|
+
const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
11058
11227
|
name: "SliderThumb",
|
|
11059
11228
|
inheritAttrs: false,
|
|
11060
11229
|
__name: "SliderThumb",
|
|
@@ -11069,6 +11238,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
11069
11238
|
setup(__props) {
|
|
11070
11239
|
const attrs = useAttrs();
|
|
11071
11240
|
const root = useSliderRoot(__props.namespace);
|
|
11241
|
+
const locale = useLocale();
|
|
11072
11242
|
const thumbRef = useTemplateRef("thumb");
|
|
11073
11243
|
const ticket = root.register();
|
|
11074
11244
|
onBeforeUnmount(() => {
|
|
@@ -11134,7 +11304,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
11134
11304
|
"aria-orientation": toValue(root.orientation),
|
|
11135
11305
|
"aria-disabled": isDisabled.value,
|
|
11136
11306
|
"aria-readonly": isReadonly.value ? true : void 0,
|
|
11137
|
-
"aria-label": __props.ariaLabel ||
|
|
11307
|
+
"aria-label": __props.ariaLabelledby ? void 0 : __props.ariaLabel || (locale.ti("Slider.label") ?? "Slider"),
|
|
11138
11308
|
"aria-labelledby": __props.ariaLabelledby || void 0,
|
|
11139
11309
|
"data-state": dataState.value,
|
|
11140
11310
|
"data-disabled": isDisabled.value ? true : void 0,
|
|
@@ -11148,7 +11318,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
11148
11318
|
}
|
|
11149
11319
|
}));
|
|
11150
11320
|
return (_ctx, _cache) => {
|
|
11151
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11321
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "thumb" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
11152
11322
|
as: __props.as,
|
|
11153
11323
|
renderless: __props.renderless,
|
|
11154
11324
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -11165,7 +11335,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
11165
11335
|
});
|
|
11166
11336
|
//#endregion
|
|
11167
11337
|
//#region src/components/Slider/SliderTrack.vue
|
|
11168
|
-
const _sfc_main$
|
|
11338
|
+
const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
11169
11339
|
name: "SliderTrack",
|
|
11170
11340
|
inheritAttrs: false,
|
|
11171
11341
|
__name: "SliderTrack",
|
|
@@ -11214,7 +11384,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
11214
11384
|
"onPointerdown": onPointerdown
|
|
11215
11385
|
} }));
|
|
11216
11386
|
return (_ctx, _cache) => {
|
|
11217
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11387
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "track" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
11218
11388
|
as: __props.as,
|
|
11219
11389
|
renderless: __props.renderless,
|
|
11220
11390
|
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
@@ -11286,7 +11456,7 @@ const Slider = {
|
|
|
11286
11456
|
* </template>
|
|
11287
11457
|
* ```
|
|
11288
11458
|
*/
|
|
11289
|
-
Root: _sfc_main$
|
|
11459
|
+
Root: _sfc_main$42,
|
|
11290
11460
|
/**
|
|
11291
11461
|
* Track element that contains the Range and handles click-to-position.
|
|
11292
11462
|
*
|
|
@@ -11303,7 +11473,7 @@ const Slider = {
|
|
|
11303
11473
|
* </Slider.Track>
|
|
11304
11474
|
* ```
|
|
11305
11475
|
*/
|
|
11306
|
-
Track: _sfc_main$
|
|
11476
|
+
Track: _sfc_main$38,
|
|
11307
11477
|
/**
|
|
11308
11478
|
* Filled region between thumb positions.
|
|
11309
11479
|
*
|
|
@@ -11320,7 +11490,7 @@ const Slider = {
|
|
|
11320
11490
|
* </Slider.Track>
|
|
11321
11491
|
* ```
|
|
11322
11492
|
*/
|
|
11323
|
-
Range: _sfc_main$
|
|
11493
|
+
Range: _sfc_main$40,
|
|
11324
11494
|
/**
|
|
11325
11495
|
* Draggable thumb control with keyboard navigation.
|
|
11326
11496
|
*
|
|
@@ -11337,7 +11507,7 @@ const Slider = {
|
|
|
11337
11507
|
* <Slider.Thumb />
|
|
11338
11508
|
* ```
|
|
11339
11509
|
*/
|
|
11340
|
-
Thumb: _sfc_main$
|
|
11510
|
+
Thumb: _sfc_main$39,
|
|
11341
11511
|
/**
|
|
11342
11512
|
* Hidden native input for form submission.
|
|
11343
11513
|
*
|
|
@@ -11371,15 +11541,57 @@ const Slider = {
|
|
|
11371
11541
|
* </template>
|
|
11372
11542
|
* ```
|
|
11373
11543
|
*/
|
|
11374
|
-
HiddenInput: _sfc_main$
|
|
11544
|
+
HiddenInput: _sfc_main$41
|
|
11545
|
+
};
|
|
11546
|
+
//#endregion
|
|
11547
|
+
//#region src/components/Snackbar/SnackbarAnnouncer.vue
|
|
11548
|
+
const visuallyHiddenStyle$1 = {
|
|
11549
|
+
position: "absolute",
|
|
11550
|
+
width: "1px",
|
|
11551
|
+
height: "1px",
|
|
11552
|
+
padding: "0",
|
|
11553
|
+
margin: "-1px",
|
|
11554
|
+
overflow: "hidden",
|
|
11555
|
+
clip: "rect(0, 0, 0, 0)",
|
|
11556
|
+
whiteSpace: "nowrap",
|
|
11557
|
+
border: "0"
|
|
11375
11558
|
};
|
|
11559
|
+
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
11560
|
+
name: "SnackbarAnnouncer",
|
|
11561
|
+
__name: "SnackbarAnnouncer",
|
|
11562
|
+
props: { namespace: { default: "v0:notifications" } },
|
|
11563
|
+
setup(__props) {
|
|
11564
|
+
const portal = usePortal(__props.namespace);
|
|
11565
|
+
const polite = toRef(() => portal?.polite.value ?? "");
|
|
11566
|
+
const assertive = toRef(() => portal?.assertive.value ?? "");
|
|
11567
|
+
return (_ctx, _cache) => {
|
|
11568
|
+
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", {
|
|
11569
|
+
"aria-atomic": "true",
|
|
11570
|
+
"aria-live": "polite",
|
|
11571
|
+
role: "status",
|
|
11572
|
+
style: visuallyHiddenStyle$1
|
|
11573
|
+
}, toDisplayString(polite.value), 1), createElementVNode("div", {
|
|
11574
|
+
"aria-atomic": "true",
|
|
11575
|
+
"aria-live": "assertive",
|
|
11576
|
+
role: "alert",
|
|
11577
|
+
style: visuallyHiddenStyle$1
|
|
11578
|
+
}, toDisplayString(assertive.value), 1)], 64);
|
|
11579
|
+
};
|
|
11580
|
+
}
|
|
11581
|
+
});
|
|
11376
11582
|
//#endregion
|
|
11377
11583
|
//#region src/components/Snackbar/SnackbarPortal.vue
|
|
11584
|
+
const [usePortal, providePortal] = createContext({ suffix: "portal" });
|
|
11378
11585
|
const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
11379
11586
|
name: "SnackbarPortal",
|
|
11380
11587
|
inheritAttrs: false,
|
|
11381
11588
|
__name: "SnackbarPortal",
|
|
11382
11589
|
props: {
|
|
11590
|
+
announcer: {
|
|
11591
|
+
type: Boolean,
|
|
11592
|
+
default: true
|
|
11593
|
+
},
|
|
11594
|
+
namespace: { default: "v0:notifications" },
|
|
11383
11595
|
teleport: {
|
|
11384
11596
|
type: [
|
|
11385
11597
|
String,
|
|
@@ -11392,28 +11604,61 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
11392
11604
|
renderless: { type: Boolean }
|
|
11393
11605
|
},
|
|
11394
11606
|
setup(__props) {
|
|
11607
|
+
const polite = shallowRef("");
|
|
11608
|
+
const assertive = shallowRef("");
|
|
11609
|
+
let politeNext = "";
|
|
11610
|
+
let assertiveNext = "";
|
|
11611
|
+
const politeFrame = useRaf(() => {
|
|
11612
|
+
polite.value = politeNext;
|
|
11613
|
+
});
|
|
11614
|
+
const assertiveFrame = useRaf(() => {
|
|
11615
|
+
assertive.value = assertiveNext;
|
|
11616
|
+
});
|
|
11617
|
+
function announce(message, urgent = false) {
|
|
11618
|
+
const region = urgent ? assertive : polite;
|
|
11619
|
+
region.value = "";
|
|
11620
|
+
if (urgent) {
|
|
11621
|
+
assertiveNext = message;
|
|
11622
|
+
assertiveFrame();
|
|
11623
|
+
} else {
|
|
11624
|
+
politeNext = message;
|
|
11625
|
+
politeFrame();
|
|
11626
|
+
}
|
|
11627
|
+
}
|
|
11628
|
+
providePortal(__props.namespace, {
|
|
11629
|
+
announce,
|
|
11630
|
+
polite: shallowReadonly(polite),
|
|
11631
|
+
assertive: shallowReadonly(assertive)
|
|
11632
|
+
});
|
|
11395
11633
|
function getSlotProps(zIndex) {
|
|
11396
11634
|
return {
|
|
11397
11635
|
zIndex,
|
|
11398
|
-
attrs: { style: {
|
|
11399
|
-
position: "relative",
|
|
11400
|
-
zIndex
|
|
11401
|
-
} }
|
|
11636
|
+
attrs: { style: { zIndex } }
|
|
11402
11637
|
};
|
|
11403
11638
|
}
|
|
11639
|
+
const atomRef = useTemplateRef("atom");
|
|
11640
|
+
watch(toRef(() => /* @__PURE__ */ toElement(atomRef.value?.element) ?? null), (value) => {
|
|
11641
|
+
if (!IN_BROWSER || /* @__PURE__ */ isNull(value)) return;
|
|
11642
|
+
const element = value;
|
|
11643
|
+
if (getComputedStyle(element).position === "static") element.style.position = "relative";
|
|
11644
|
+
});
|
|
11404
11645
|
return (_ctx, _cache) => {
|
|
11405
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11646
|
+
return openBlock(), createBlock(unref(_sfc_main$71), {
|
|
11406
11647
|
disabled: __props.teleport === false,
|
|
11407
11648
|
scrim: false,
|
|
11408
11649
|
to: __props.teleport || "body"
|
|
11409
11650
|
}, {
|
|
11410
|
-
default: withCtx(({ zIndex }) => [createVNode(unref(_sfc_main$
|
|
11651
|
+
default: withCtx(({ zIndex }) => [createVNode(unref(_sfc_main$172), mergeProps({
|
|
11652
|
+
ref: "atom",
|
|
11411
11653
|
as: __props.as,
|
|
11412
11654
|
renderless: __props.renderless
|
|
11413
11655
|
}, mergeProps(_ctx.$attrs, getSlotProps(zIndex).attrs)), {
|
|
11414
11656
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(getSlotProps(zIndex))))]),
|
|
11415
11657
|
_: 2
|
|
11416
|
-
}, 1040, ["as", "renderless"])
|
|
11658
|
+
}, 1040, ["as", "renderless"]), __props.announcer ? (openBlock(), createBlock(_sfc_main$37, {
|
|
11659
|
+
key: 0,
|
|
11660
|
+
namespace: __props.namespace
|
|
11661
|
+
}, null, 8, ["namespace"])) : createCommentVNode("v-if", true)]),
|
|
11417
11662
|
_: 3
|
|
11418
11663
|
}, 8, ["disabled", "to"]);
|
|
11419
11664
|
};
|
|
@@ -11478,7 +11723,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
11478
11723
|
}
|
|
11479
11724
|
}));
|
|
11480
11725
|
return (_ctx, _cache) => {
|
|
11481
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11726
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
11482
11727
|
ref_key: "container",
|
|
11483
11728
|
ref: container,
|
|
11484
11729
|
as: __props.as,
|
|
@@ -11506,6 +11751,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
11506
11751
|
emits: ["dismiss"],
|
|
11507
11752
|
setup(__props, { emit: __emit }) {
|
|
11508
11753
|
const emit = __emit;
|
|
11754
|
+
const portal = usePortal(__props.namespace, null);
|
|
11509
11755
|
const queue = useSnackbarQueueContext(__props.namespace, null);
|
|
11510
11756
|
function onDismiss() {
|
|
11511
11757
|
if (queue) queue.dismiss(__props.id);
|
|
@@ -11515,12 +11761,21 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
11515
11761
|
id: __props.id,
|
|
11516
11762
|
onDismiss
|
|
11517
11763
|
});
|
|
11764
|
+
const atomRef = useTemplateRef("atom");
|
|
11765
|
+
const el = toRef(() => /* @__PURE__ */ toElement(atomRef.value?.element) ?? null);
|
|
11766
|
+
onMounted(async () => {
|
|
11767
|
+
if (!portal) return;
|
|
11768
|
+
await nextTick();
|
|
11769
|
+
const text = el.value?.textContent;
|
|
11770
|
+
if (text) portal.announce(text, __props.urgent);
|
|
11771
|
+
});
|
|
11518
11772
|
const slotProps = toRef(() => ({
|
|
11519
11773
|
id: __props.id,
|
|
11520
11774
|
attrs: { role: __props.urgent ? "alert" : "status" }
|
|
11521
11775
|
}));
|
|
11522
11776
|
return (_ctx, _cache) => {
|
|
11523
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11777
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
11778
|
+
ref: "atom",
|
|
11524
11779
|
as: __props.as,
|
|
11525
11780
|
renderless: __props.renderless
|
|
11526
11781
|
}, slotProps.value.attrs), {
|
|
@@ -11541,7 +11796,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
11541
11796
|
},
|
|
11542
11797
|
setup(__props) {
|
|
11543
11798
|
return (_ctx, _cache) => {
|
|
11544
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11799
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
11545
11800
|
as: __props.as,
|
|
11546
11801
|
renderless: __props.renderless
|
|
11547
11802
|
}, {
|
|
@@ -11567,13 +11822,22 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
11567
11822
|
function onClick() {
|
|
11568
11823
|
context.onDismiss();
|
|
11569
11824
|
}
|
|
11825
|
+
function onKeydown(e) {
|
|
11826
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
11827
|
+
e.preventDefault();
|
|
11828
|
+
onClick();
|
|
11829
|
+
}
|
|
11830
|
+
}
|
|
11570
11831
|
const slotProps = toRef(() => ({ attrs: {
|
|
11571
11832
|
"type": __props.as === "button" ? "button" : void 0,
|
|
11833
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
11834
|
+
"tabindex": 0,
|
|
11572
11835
|
"aria-label": locale.ti("Snackbar.close") ?? "Dismiss",
|
|
11573
|
-
"onClick": onClick
|
|
11836
|
+
"onClick": onClick,
|
|
11837
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
11574
11838
|
} }));
|
|
11575
11839
|
return (_ctx, _cache) => {
|
|
11576
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
11840
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
11577
11841
|
as: __props.as,
|
|
11578
11842
|
renderless: __props.renderless
|
|
11579
11843
|
}, slotProps.value.attrs), {
|
|
@@ -11717,7 +11981,33 @@ const Snackbar = {
|
|
|
11717
11981
|
* </template>
|
|
11718
11982
|
* ```
|
|
11719
11983
|
*/
|
|
11720
|
-
Close: _sfc_main$32
|
|
11984
|
+
Close: _sfc_main$32,
|
|
11985
|
+
/**
|
|
11986
|
+
* Visually-hidden polite + assertive live-region pair that announces
|
|
11987
|
+
* snackbar messages. Auto-rendered by Snackbar.Portal — place explicitly
|
|
11988
|
+
* with `:announcer="false"` on the Portal to control position or markup
|
|
11989
|
+
* order.
|
|
11990
|
+
*
|
|
11991
|
+
* @see https://0.vuetifyjs.com/components/semantic/snackbar
|
|
11992
|
+
*
|
|
11993
|
+
* @example
|
|
11994
|
+
* ```vue
|
|
11995
|
+
* <script setup lang="ts">
|
|
11996
|
+
* import { Snackbar } from '@vuetify/v0'
|
|
11997
|
+
* <\/script>
|
|
11998
|
+
*
|
|
11999
|
+
* <template>
|
|
12000
|
+
* <Snackbar.Portal :announcer="false">
|
|
12001
|
+
* <Snackbar.Announcer />
|
|
12002
|
+
* <Snackbar.Root>
|
|
12003
|
+
* <Snackbar.Content>Saved</Snackbar.Content>
|
|
12004
|
+
* <Snackbar.Close />
|
|
12005
|
+
* </Snackbar.Root>
|
|
12006
|
+
* </Snackbar.Portal>
|
|
12007
|
+
* </template>
|
|
12008
|
+
* ```
|
|
12009
|
+
*/
|
|
12010
|
+
Announcer: _sfc_main$37
|
|
11721
12011
|
};
|
|
11722
12012
|
//#endregion
|
|
11723
12013
|
//#region src/components/Splitter/SplitterRoot.vue
|
|
@@ -11922,7 +12212,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
11922
12212
|
}
|
|
11923
12213
|
}));
|
|
11924
12214
|
return (_ctx, _cache) => {
|
|
11925
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
12215
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
11926
12216
|
as: __props.as,
|
|
11927
12217
|
renderless: __props.renderless,
|
|
11928
12218
|
style: [
|
|
@@ -12054,7 +12344,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
12054
12344
|
}
|
|
12055
12345
|
}));
|
|
12056
12346
|
return (_ctx, _cache) => {
|
|
12057
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
12347
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
12058
12348
|
as: __props.as,
|
|
12059
12349
|
renderless: __props.renderless,
|
|
12060
12350
|
style: [
|
|
@@ -12259,7 +12549,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
12259
12549
|
}
|
|
12260
12550
|
}));
|
|
12261
12551
|
return (_ctx, _cache) => {
|
|
12262
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
12552
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
12263
12553
|
as: __props.as,
|
|
12264
12554
|
renderless: __props.renderless,
|
|
12265
12555
|
style: [
|
|
@@ -12435,6 +12725,11 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
12435
12725
|
if (toValue(isDisabled)) return;
|
|
12436
12726
|
ticket.toggle();
|
|
12437
12727
|
}
|
|
12728
|
+
function onKeydown(e) {
|
|
12729
|
+
if (e.key !== "Enter" && e.key !== " ") return;
|
|
12730
|
+
e.preventDefault();
|
|
12731
|
+
onClick();
|
|
12732
|
+
}
|
|
12438
12733
|
onBeforeUnmount(() => {
|
|
12439
12734
|
step.unregister(ticket.id);
|
|
12440
12735
|
});
|
|
@@ -12448,11 +12743,14 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
12448
12743
|
unselect: ticket.unselect,
|
|
12449
12744
|
toggle: ticket.toggle,
|
|
12450
12745
|
attrs: {
|
|
12746
|
+
"role": "tab",
|
|
12747
|
+
"tabindex": toValue(isDisabled) ? -1 : 0,
|
|
12451
12748
|
"aria-selected": toValue(ticket.isSelected),
|
|
12452
12749
|
"aria-disabled": toValue(isDisabled),
|
|
12453
12750
|
"data-selected": toValue(ticket.isSelected) || void 0,
|
|
12454
12751
|
"data-disabled": toValue(isDisabled) || void 0,
|
|
12455
|
-
"onClick": onClick
|
|
12752
|
+
"onClick": onClick,
|
|
12753
|
+
"onKeydown": onKeydown
|
|
12456
12754
|
}
|
|
12457
12755
|
}));
|
|
12458
12756
|
return (_ctx, _cache) => {
|
|
@@ -12570,7 +12868,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
12570
12868
|
}
|
|
12571
12869
|
}));
|
|
12572
12870
|
return (_ctx, _cache) => {
|
|
12573
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
12871
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
12574
12872
|
as: __props.as,
|
|
12575
12873
|
renderless: __props.renderless
|
|
12576
12874
|
}), {
|
|
@@ -12704,7 +13002,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
12704
13002
|
}
|
|
12705
13003
|
}));
|
|
12706
13004
|
return (_ctx, _cache) => {
|
|
12707
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
13005
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
12708
13006
|
as: __props.as,
|
|
12709
13007
|
renderless: __props.renderless
|
|
12710
13008
|
}), {
|
|
@@ -12844,7 +13142,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
12844
13142
|
}
|
|
12845
13143
|
}));
|
|
12846
13144
|
return (_ctx, _cache) => {
|
|
12847
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13145
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
12848
13146
|
as: __props.as,
|
|
12849
13147
|
renderless: __props.renderless
|
|
12850
13148
|
}), {
|
|
@@ -12878,7 +13176,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
12878
13176
|
}
|
|
12879
13177
|
}));
|
|
12880
13178
|
return (_ctx, _cache) => {
|
|
12881
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13179
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
12882
13180
|
as: __props.as,
|
|
12883
13181
|
renderless: __props.renderless
|
|
12884
13182
|
}), {
|
|
@@ -12912,7 +13210,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
12912
13210
|
}
|
|
12913
13211
|
}));
|
|
12914
13212
|
return (_ctx, _cache) => {
|
|
12915
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13213
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
12916
13214
|
as: __props.as,
|
|
12917
13215
|
dir: "ltr",
|
|
12918
13216
|
renderless: __props.renderless
|
|
@@ -13213,7 +13511,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
13213
13511
|
}
|
|
13214
13512
|
}));
|
|
13215
13513
|
return (_ctx, _cache) => {
|
|
13216
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13514
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
13217
13515
|
as: __props.as,
|
|
13218
13516
|
renderless: __props.renderless
|
|
13219
13517
|
}), {
|
|
@@ -13361,7 +13659,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
13361
13659
|
}
|
|
13362
13660
|
}));
|
|
13363
13661
|
return (_ctx, _cache) => {
|
|
13364
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13662
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
13365
13663
|
as: __props.as,
|
|
13366
13664
|
renderless: __props.renderless
|
|
13367
13665
|
}), {
|
|
@@ -13410,7 +13708,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
13410
13708
|
}
|
|
13411
13709
|
}));
|
|
13412
13710
|
return (_ctx, _cache) => {
|
|
13413
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13711
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
13414
13712
|
as: __props.as,
|
|
13415
13713
|
renderless: __props.renderless
|
|
13416
13714
|
}), {
|
|
@@ -13520,7 +13818,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
13520
13818
|
isDark: isDark.value
|
|
13521
13819
|
}));
|
|
13522
13820
|
return (_ctx, _cache) => {
|
|
13523
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13821
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
13524
13822
|
as: __props.as,
|
|
13525
13823
|
"data-theme": selectedId.value,
|
|
13526
13824
|
renderless: __props.renderless
|
|
@@ -13597,7 +13895,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
13597
13895
|
}
|
|
13598
13896
|
}));
|
|
13599
13897
|
return (_ctx, _cache) => {
|
|
13600
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13898
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
13601
13899
|
as: __props.as,
|
|
13602
13900
|
renderless: __props.renderless
|
|
13603
13901
|
}), {
|
|
@@ -13682,15 +13980,15 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
13682
13980
|
"role": __props.as === "button" ? void 0 : "button",
|
|
13683
13981
|
"aria-pressed": isPressed.value,
|
|
13684
13982
|
"aria-disabled": isDisabled.value,
|
|
13685
|
-
"tabindex": isDisabled.value ?
|
|
13983
|
+
"tabindex": isDisabled.value ? -1 : 0,
|
|
13686
13984
|
"data-state": isPressed.value ? "on" : "off",
|
|
13687
13985
|
"data-disabled": isDisabled.value ? true : void 0,
|
|
13688
13986
|
"onClick": onClick,
|
|
13689
|
-
"onKeydown": onKeydown
|
|
13987
|
+
"onKeydown": __props.as === "button" ? void 0 : onKeydown
|
|
13690
13988
|
}
|
|
13691
13989
|
}));
|
|
13692
13990
|
return (_ctx, _cache) => {
|
|
13693
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13991
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
13694
13992
|
as: __props.as,
|
|
13695
13993
|
renderless: __props.renderless
|
|
13696
13994
|
}), {
|
|
@@ -13721,7 +14019,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
13721
14019
|
}
|
|
13722
14020
|
}));
|
|
13723
14021
|
return (_ctx, _cache) => {
|
|
13724
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14022
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
13725
14023
|
as: __props.as,
|
|
13726
14024
|
renderless: __props.renderless
|
|
13727
14025
|
}), {
|
|
@@ -13918,7 +14216,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
13918
14216
|
isDisabled: isDisabled.value
|
|
13919
14217
|
}));
|
|
13920
14218
|
return (_ctx, _cache) => {
|
|
13921
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14219
|
+
return openBlock(), createBlock(unref(_sfc_main$172), {
|
|
13922
14220
|
as: __props.as,
|
|
13923
14221
|
renderless: ""
|
|
13924
14222
|
}, {
|
|
@@ -13985,7 +14283,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13985
14283
|
styles: root.anchorStyles.value
|
|
13986
14284
|
}));
|
|
13987
14285
|
return (_ctx, _cache) => {
|
|
13988
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14286
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
13989
14287
|
as: __props.as,
|
|
13990
14288
|
renderless: __props.renderless,
|
|
13991
14289
|
style: unref(root).anchorStyles.value
|
|
@@ -14042,7 +14340,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
14042
14340
|
styles: root.contentStyles.value
|
|
14043
14341
|
}));
|
|
14044
14342
|
return (_ctx, _cache) => {
|
|
14045
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14343
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({
|
|
14046
14344
|
ref: "atom",
|
|
14047
14345
|
as: __props.as,
|
|
14048
14346
|
renderless: __props.renderless,
|
|
@@ -14352,7 +14650,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14352
14650
|
onFocusin
|
|
14353
14651
|
} }));
|
|
14354
14652
|
return (_ctx, _cache) => {
|
|
14355
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14653
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14356
14654
|
as: __props.as,
|
|
14357
14655
|
renderless: __props.renderless
|
|
14358
14656
|
}), {
|
|
@@ -14433,7 +14731,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14433
14731
|
}
|
|
14434
14732
|
}));
|
|
14435
14733
|
return (_ctx, _cache) => {
|
|
14436
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14734
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps({ ref: "root" }, slotProps.value.attrs, {
|
|
14437
14735
|
as: __props.as,
|
|
14438
14736
|
renderless: __props.renderless
|
|
14439
14737
|
}), {
|
|
@@ -14472,7 +14770,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
14472
14770
|
}
|
|
14473
14771
|
}));
|
|
14474
14772
|
return (_ctx, _cache) => {
|
|
14475
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14773
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14476
14774
|
as: __props.as,
|
|
14477
14775
|
renderless: __props.renderless
|
|
14478
14776
|
}), {
|
|
@@ -14513,7 +14811,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
14513
14811
|
}
|
|
14514
14812
|
}));
|
|
14515
14813
|
return (_ctx, _cache) => {
|
|
14516
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14814
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14517
14815
|
as: __props.as,
|
|
14518
14816
|
renderless: __props.renderless
|
|
14519
14817
|
}), {
|
|
@@ -14573,7 +14871,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14573
14871
|
}
|
|
14574
14872
|
}));
|
|
14575
14873
|
return (_ctx, _cache) => {
|
|
14576
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14874
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14577
14875
|
as: __props.as,
|
|
14578
14876
|
renderless: __props.renderless
|
|
14579
14877
|
}), {
|
|
@@ -14595,7 +14893,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
14595
14893
|
setup(__props) {
|
|
14596
14894
|
const slotProps = toRef(() => ({ attrs: { role: "group" } }));
|
|
14597
14895
|
return (_ctx, _cache) => {
|
|
14598
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14896
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14599
14897
|
as: __props.as,
|
|
14600
14898
|
renderless: __props.renderless
|
|
14601
14899
|
}), {
|
|
@@ -14631,7 +14929,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14631
14929
|
}
|
|
14632
14930
|
}));
|
|
14633
14931
|
return (_ctx, _cache) => {
|
|
14634
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
14932
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14635
14933
|
as: __props.as,
|
|
14636
14934
|
renderless: __props.renderless
|
|
14637
14935
|
}), {
|
|
@@ -14733,7 +15031,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14733
15031
|
}
|
|
14734
15032
|
}));
|
|
14735
15033
|
return (_ctx, _cache) => {
|
|
14736
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
15034
|
+
return openBlock(), createBlock(unref(_sfc_main$172), mergeProps(slotProps.value.attrs, {
|
|
14737
15035
|
as: __props.as,
|
|
14738
15036
|
renderless: __props.renderless
|
|
14739
15037
|
}), {
|
|
@@ -14866,7 +15164,7 @@ const Treeview = {
|
|
|
14866
15164
|
*
|
|
14867
15165
|
* @example
|
|
14868
15166
|
* ```vue
|
|
14869
|
-
* <Treeview.Cue v-slot="{ attrs }">
|
|
15167
|
+
* <Treeview.Cue v-slot="{ attrs }" renderless>
|
|
14870
15168
|
* <span v-bind="attrs">▶</span>
|
|
14871
15169
|
* </Treeview.Cue>
|
|
14872
15170
|
* ```
|
|
@@ -14896,7 +15194,7 @@ const Treeview = {
|
|
|
14896
15194
|
*
|
|
14897
15195
|
* @example
|
|
14898
15196
|
* ```vue
|
|
14899
|
-
* <Treeview.Checkbox v-slot="{ attrs, isSelected, isMixed }">
|
|
15197
|
+
* <Treeview.Checkbox v-slot="{ attrs, isSelected, isMixed }" renderless>
|
|
14900
15198
|
* <span v-bind="attrs">{{ isMixed ? '−' : isSelected ? '✓' : '○' }}</span>
|
|
14901
15199
|
* </Treeview.Checkbox>
|
|
14902
15200
|
* ```
|
|
@@ -14910,7 +15208,7 @@ const Treeview = {
|
|
|
14910
15208
|
*
|
|
14911
15209
|
* @example
|
|
14912
15210
|
* ```vue
|
|
14913
|
-
* <Treeview.Indicator v-slot="{ attrs }">
|
|
15211
|
+
* <Treeview.Indicator v-slot="{ attrs }" renderless>
|
|
14914
15212
|
* <span v-bind="attrs">●</span>
|
|
14915
15213
|
* </Treeview.Indicator>
|
|
14916
15214
|
* ```
|
|
@@ -14927,7 +15225,7 @@ const Treeview = {
|
|
|
14927
15225
|
*
|
|
14928
15226
|
* @example
|
|
14929
15227
|
* ```vue
|
|
14930
|
-
* <Treeview.SelectAll v-slot="{ attrs, isAllSelected, isMixed }">
|
|
15228
|
+
* <Treeview.SelectAll v-slot="{ attrs, isAllSelected, isMixed }" renderless>
|
|
14931
15229
|
* <button v-bind="attrs">
|
|
14932
15230
|
* {{ isMixed ? '−' : isAllSelected ? '✓' : '○' }} Select All
|
|
14933
15231
|
* </button>
|
|
@@ -14937,4 +15235,4 @@ const Treeview = {
|
|
|
14937
15235
|
SelectAll: _sfc_main
|
|
14938
15236
|
};
|
|
14939
15237
|
//#endregion
|
|
14940
|
-
export { _sfc_main$28 as $,
|
|
15238
|
+
export { _sfc_main$28 as $, Avatar as $i, _sfc_main$90 as $n, _sfc_main$124 as $r, useRatingRoot as $t, provideToggleGroup as A, useCarouselRoot as Ai, _sfc_main$77 as An, _sfc_main$109 as Ar, provideSingleRoot as At, Switch as B, provideButtonGroup as Bi, usePaginationItems as Bn, _sfc_main$114 as Br, _sfc_main$49 as Bt, useTooltipRoot as C, _sfc_main$138 as Ci, _sfc_main$73 as Cn, useGroupRoot as Cr, _sfc_main$41 as Ct, provideToggleRoot as D, _sfc_main$142 as Di, Pagination as Dn, _sfc_main$106 as Dr, Single as Dt, _sfc_main$14 as E, _sfc_main$141 as Ei, usePopoverContext as En, _sfc_main$105 as Er, useSliderRoot as Et, _sfc_main$18 as F, _sfc_main$147 as Fi, _sfc_main$82 as Fn, useExpansionPanelGroup as Fr, provideSelectionRoot as Ft, _sfc_main$25 as G, _sfc_main$152 as Gi, _sfc_main$85 as Gn, Combobox as Gr, provideSelectContext as Gt, _sfc_main$22 as H, Breadcrumbs as Hi, Overflow as Hn, _sfc_main$116 as Hr, _sfc_main$51 as Ht, _sfc_main$19 as I, provideButtonRoot as Ii, providePaginationControls as In, Dialog as Ir, useSelectionRoot as It, _sfc_main$26 as J, _sfc_main$155 as Ji, NumberField as Jn, _sfc_main$119 as Jr, Rating as Jt, provideSwitchRoot as K, _sfc_main$153 as Ki, provideOverflowRoot as Kn, _sfc_main$117 as Kr, useSelectContext as Kt, _sfc_main$20 as L, useButtonRoot as Li, providePaginationItems as Ln, _sfc_main$111 as Lr, Select as Lt, _sfc_main$16 as M, _sfc_main$144 as Mi, _sfc_main$79 as Mn, useExpansionPanelRoot as Mr, Selection as Mt, Tabs as N, _sfc_main$145 as Ni, _sfc_main$80 as Nn, _sfc_main$110 as Nr, _sfc_main$45 as Nt, useToggleRoot as O, _sfc_main$143 as Oi, _sfc_main$75 as On, _sfc_main$107 as Or, _sfc_main$43 as Ot, _sfc_main$17 as P, _sfc_main$146 as Pi, _sfc_main$81 as Pn, provideExpansionPanelGroup as Pr, _sfc_main$46 as Pt, _sfc_main$27 as Q, useBreadcrumbsRoot as Qi, _sfc_main$89 as Qn, _sfc_main$123 as Qr, provideRatingRoot as Qt, provideTabsRoot as R, _sfc_main$148 as Ri, providePaginationRoot as Rn, _sfc_main$112 as Rr, _sfc_main$47 as Rt, provideTooltipRoot as S, _sfc_main$137 as Si, _sfc_main$72 as Sn, provideGroupRoot as Sr, _sfc_main$40 as St, _sfc_main$13 as T, _sfc_main$140 as Ti, providePopoverContext as Tn, ExpansionPanel as Tr, provideSliderRoot as Tt, _sfc_main$23 as U, _sfc_main$150 as Ui, _sfc_main$83 as Un, provideDialogContext as Ur, _sfc_main$52 as Ut, _sfc_main$21 as V, useButtonGroup as Vi, usePaginationRoot as Vn, _sfc_main$115 as Vr, _sfc_main$50 as Vt, _sfc_main$24 as W, _sfc_main$151 as Wi, _sfc_main$84 as Wn, useDialogContext as Wr, _sfc_main$53 as Wt, useSwitchGroup as X, _sfc_main$157 as Xi, _sfc_main$87 as Xn, _sfc_main$121 as Xr, _sfc_main$57 as Xt, provideSwitchGroup as Y, _sfc_main$156 as Yi, _sfc_main$86 as Yn, _sfc_main$120 as Yr, _sfc_main$56 as Yt, Step as Z, provideBreadcrumbsRoot as Zi, _sfc_main$88 as Zn, _sfc_main$122 as Zr, _sfc_main$58 as Zt, useTreeviewRoot as _, _sfc_main$170 as _a, _sfc_main$135 as _i, useProgressRoot as _n, provideImageRoot as _r, _sfc_main$36 as _t, _sfc_main$3 as a, useAvatarRoot as aa, _sfc_main$128 as ai, useRadioRoot as an, Input as ar, _sfc_main$31 as at, _sfc_main$11 as b, useAlertDialogContext as ba, Carousel as bi, _sfc_main$71 as bn, _sfc_main$102 as br, _sfc_main$38 as bt, _sfc_main$6 as c, useAvatarGroup as ca, provideCollapsible as ci, useRadioGroup as cn, _sfc_main$96 as cr, Snackbar as ct, useTreeviewItem as d, _sfc_main$164 as da, _sfc_main$131 as di, _sfc_main$64 as dn, useInputRoot as dr, _sfc_main$34 as dt, _sfc_main$158 as ea, _sfc_main$125 as ei, Radio as en, _sfc_main$91 as er, provideStepRoot as et, _sfc_main$8 as f, _sfc_main$165 as fa, _sfc_main$132 as fi, _sfc_main$65 as fn, Image as fr, provideSnackbarRootContext as ft, provideTreeviewRoot as g, _sfc_main$169 as ga, useCheckboxRoot as gi, provideProgressRoot as gn, _sfc_main$101 as gr, useSnackbarQueueContext as gt, _sfc_main$9 as h, _sfc_main$168 as ha, provideCheckboxRoot as hi, _sfc_main$68 as hn, _sfc_main$100 as hr, provideSnackbarQueueContext as ht, _sfc_main$2 as i, provideAvatarRoot as ia, _sfc_main$127 as ii, provideRadioRoot as in, _sfc_main$93 as ir, _sfc_main$30 as it, useToggleGroup as j, Button as ji, _sfc_main$78 as jn, provideExpansionPanelRoot as jr, useSingleRoot as jt, _sfc_main$15 as k, provideCarouselRoot as ki, _sfc_main$76 as kn, _sfc_main$108 as kr, _sfc_main$44 as kt, _sfc_main$7 as l, _sfc_main$163 as la, useCollapsible as li, Progress as ln, _sfc_main$97 as lr, _sfc_main$32 as lt, useTreeviewList as m, _sfc_main$167 as ma, _sfc_main$134 as mi, _sfc_main$67 as mn, _sfc_main$99 as mr, _sfc_main$35 as mt, _sfc_main as n, _sfc_main$160 as na, useComboboxContext as ni, _sfc_main$60 as nn, provideNumberFieldRoot as nr, Splitter as nt, _sfc_main$4 as o, _sfc_main$162 as oa, _sfc_main$129 as oi, _sfc_main$62 as on, _sfc_main$94 as or, provideSplitterRoot as ot, provideTreeviewList as p, _sfc_main$166 as pa, _sfc_main$133 as pi, _sfc_main$66 as pn, _sfc_main$98 as pr, useSnackbarRootContext as pt, useSwitchRoot as q, _sfc_main$154 as qi, useOverflowRoot as qn, _sfc_main$118 as qr, _sfc_main$55 as qt, _sfc_main$1 as r, _sfc_main$161 as ra, Collapsible as ri, _sfc_main$61 as rn, useNumberFieldRoot as rr, _sfc_main$29 as rt, _sfc_main$5 as s, provideAvatarGroup as sa, _sfc_main$130 as si, provideRadioGroup as sn, _sfc_main$95 as sr, useSplitterRoot as st, Treeview as t, _sfc_main$159 as ta, provideComboboxContext as ti, _sfc_main$59 as tn, _sfc_main$92 as tr, useStepRoot as tt, provideTreeviewItem as u, AlertDialog as ua, Checkbox as ui, _sfc_main$63 as un, provideInputRoot as ur, _sfc_main$33 as ut, Tooltip as v, _sfc_main$171 as va, provideCheckboxGroup as vi, _sfc_main$69 as vn, useImageRoot as vr, _sfc_main$37 as vt, Toggle as w, _sfc_main$139 as wi, _sfc_main$74 as wn, _sfc_main$104 as wr, _sfc_main$42 as wt, _sfc_main$12 as x, _sfc_main$172 as xa, _sfc_main$136 as xi, Popover as xn, _sfc_main$103 as xr, _sfc_main$39 as xt, _sfc_main$10 as y, provideAlertDialogContext as ya, useCheckboxGroup as yi, _sfc_main$70 as yn, Group as yr, Slider as yt, useTabsRoot as z, _sfc_main$149 as zi, usePaginationControls as zn, _sfc_main$113 as zr, _sfc_main$48 as zt };
|