@vuetify/v0 0.1.1 → 0.1.3

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.
Files changed (31) hide show
  1. package/README.md +20 -3
  2. package/dist/browser/index.js +5662 -3984
  3. package/dist/components/index.d.mts +7 -4
  4. package/dist/components/index.mjs +5 -5
  5. package/dist/{components-BOipMGkD.mjs → components-C0zEvP7w.mjs} +580 -89
  6. package/dist/composables/index.d.mts +4 -5
  7. package/dist/composables/index.mjs +4 -4
  8. package/dist/constants/index.d.mts +1 -1
  9. package/dist/constants/index.mjs +1 -1
  10. package/dist/date/index.d.mts +1 -1
  11. package/dist/date/index.mjs +19 -15
  12. package/dist/{globals-qE_M6ZhX.mjs → globals-BwYsH-rt.mjs} +1 -1
  13. package/dist/{index-DmNXO254.d.mts → index-2wh69fk5.d.mts} +2782 -460
  14. package/dist/{index-DlxrzbvZ.d.mts → index-BLK67J_-.d.mts} +41 -1
  15. package/dist/{index-CoO8LW8o.d.mts → index-DBZTizq2.d.mts} +1 -1
  16. package/dist/{index-Bx6Ke-u_.d.mts → index-DFM5iBqh.d.mts} +906 -342
  17. package/dist/index.d.mts +7 -8
  18. package/dist/index.mjs +5 -5
  19. package/dist/json/attributes.json +140 -0
  20. package/dist/json/importMap.json +36 -0
  21. package/dist/json/tags.json +75 -0
  22. package/dist/json/web-types.json +440 -1
  23. package/dist/types/index.d.mts +2 -2
  24. package/dist/{useClickOutside-DcrXfUVx.mjs → useClickOutside-DrkNYxDe.mjs} +4200 -3013
  25. package/dist/utilities/index.d.mts +2 -2
  26. package/dist/utilities/index.mjs +2 -1
  27. package/dist/{utilities-B58TiS_S.mjs → utilities-BbKjbXTx.mjs} +9 -0
  28. package/package.json +4 -3
  29. package/dist/index-qSuLpob3.d.mts +0 -1544
  30. /package/dist/{adapter-L4Php1_S.d.mts → adapter-D95FHAtt.d.mts} +0 -0
  31. /package/dist/{index-cPmI99rd.d.mts → index-Bmem4l8m.d.mts} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { r as isSelfClosingTag } from "./htmlElements-DO9n35bD.mjs";
2
- import { c as isNullOrUndefined, f as isString, s as isNull, u as isObject } from "./utilities-B58TiS_S.mjs";
3
- import { Kt as createRegistry, Lt as useProxyModel, P as createOverflow, Rt as createGroup, Ut as createSelection, b as createStep, j as createPagination, o as useToggleScope, rn as createContext, t as useClickOutside, wt as createSingle, yt as useLocale } from "./useClickOutside-DcrXfUVx.mjs";
4
- import { t as IN_BROWSER } from "./globals-qE_M6ZhX.mjs";
5
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onUnmounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
2
+ import { t as IN_BROWSER } from "./globals-BwYsH-rt.mjs";
3
+ import { c as isNullOrUndefined, f as isString, s as isNull, u as isObject } from "./utilities-BbKjbXTx.mjs";
4
+ import { Dt as useProxyModel, Lt as createOverflow, Mt as useLocale, O as useStack, Qt as createBreadcrumbs, S as createStep, c as useToggleScope, in as createSelection, qt as createGroup, sn as createRegistry, t as useClickOutside, tn as createSingle, wt as createPagination, yn as createContext } from "./useClickOutside-DrkNYxDe.mjs";
5
+ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onUnmounted, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
6
6
 
7
7
  //#region src/components/Atom/Atom.vue
8
8
  /**
@@ -26,7 +26,7 @@ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock
26
26
  * serving as the foundation for all other components that need polymorphic
27
27
  * rendering capabilities.
28
28
  */
29
- const _sfc_main$46 = /* @__PURE__ */ defineComponent({
29
+ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
30
30
  name: "Atom",
31
31
  __name: "Atom",
32
32
  props: {
@@ -57,12 +57,12 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
57
57
  };
58
58
  }
59
59
  });
60
- var Atom_default = _sfc_main$46;
60
+ var Atom_default = _sfc_main$54;
61
61
 
62
62
  //#endregion
63
63
  //#region src/components/Avatar/AvatarRoot.vue
64
- const [useAvatarRoot, provideAvatarContext] = createContext();
65
- const _sfc_main$45 = /* @__PURE__ */ defineComponent({
64
+ const [useAvatarRoot, provideAvatarRoot] = createContext();
65
+ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
66
66
  name: "AvatarRoot",
67
67
  __name: "AvatarRoot",
68
68
  props: {
@@ -75,7 +75,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
75
75
  mandatory: "force",
76
76
  multiple: false
77
77
  });
78
- provideAvatarContext(__props.namespace, selection);
78
+ provideAvatarRoot(__props.namespace, selection);
79
79
  return (_ctx, _cache) => {
80
80
  return openBlock(), createBlock(unref(Atom_default), {
81
81
  as: __props.as,
@@ -87,11 +87,11 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
87
87
  };
88
88
  }
89
89
  });
90
- var AvatarRoot_default = _sfc_main$45;
90
+ var AvatarRoot_default = _sfc_main$53;
91
91
 
92
92
  //#endregion
93
93
  //#region src/components/Avatar/AvatarFallback.vue
94
- const _sfc_main$44 = /* @__PURE__ */ defineComponent({
94
+ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
95
95
  name: "AvatarFallback",
96
96
  __name: "AvatarFallback",
97
97
  props: {
@@ -116,11 +116,11 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
116
116
  };
117
117
  }
118
118
  });
119
- var AvatarFallback_default = _sfc_main$44;
119
+ var AvatarFallback_default = _sfc_main$52;
120
120
 
121
121
  //#endregion
122
122
  //#region src/components/Avatar/AvatarImage.vue
123
- const _sfc_main$43 = /* @__PURE__ */ defineComponent({
123
+ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
124
124
  name: "AvatarImage",
125
125
  inheritAttrs: false,
126
126
  __name: "AvatarImage",
@@ -180,7 +180,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
180
180
  };
181
181
  }
182
182
  });
183
- var AvatarImage_default = _sfc_main$43;
183
+ var AvatarImage_default = _sfc_main$51;
184
184
 
185
185
  //#endregion
186
186
  //#region src/components/Avatar/index.ts
@@ -195,10 +195,405 @@ const Avatar = {
195
195
  Fallback: AvatarFallback_default
196
196
  };
197
197
 
198
+ //#endregion
199
+ //#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
200
+ const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
201
+ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
202
+ name: "BreadcrumbsRoot",
203
+ __name: "BreadcrumbsRoot",
204
+ props: {
205
+ namespace: { default: "v0:breadcrumbs" },
206
+ divider: { default: "/" },
207
+ ellipsis: { default: "…" },
208
+ gap: { default: 8 },
209
+ label: {},
210
+ as: { default: "nav" },
211
+ renderless: { type: Boolean }
212
+ },
213
+ setup(__props) {
214
+ const locale = useLocale();
215
+ const containerRef = useTemplateRef("container");
216
+ const breadcrumbs = createBreadcrumbs({ enroll: true });
217
+ const group = createGroup({
218
+ enroll: true,
219
+ multiple: true
220
+ });
221
+ const ellipsisWidth = shallowRef(0);
222
+ const firstItemWidth = shallowRef(0);
223
+ const firstDividerWidth = shallowRef(0);
224
+ const overflow = createOverflow({
225
+ container: () => containerRef.value?.element,
226
+ gap: __props.gap,
227
+ reserved: () => {
228
+ let r = 0;
229
+ if (firstItemWidth.value > 0) r += firstItemWidth.value + __props.gap;
230
+ if (firstDividerWidth.value > 0) r += firstDividerWidth.value + __props.gap;
231
+ if (ellipsisWidth.value > 0) r += ellipsisWidth.value + __props.gap;
232
+ return r;
233
+ },
234
+ reverse: true
235
+ });
236
+ const isOverflowing = overflow.isOverflowing;
237
+ let _firstItemIndex = null;
238
+ let _firstDividerIndex = null;
239
+ function measureToRef(el, target) {
240
+ if (!IN_BROWSER || !el) {
241
+ target.value = 0;
242
+ return;
243
+ }
244
+ const htmlEl = el;
245
+ const style = getComputedStyle(htmlEl);
246
+ const marginX = Number.parseFloat(style.marginLeft) + Number.parseFloat(style.marginRight);
247
+ target.value = htmlEl.offsetWidth + marginX;
248
+ }
249
+ function measureElement(index, type, el) {
250
+ if (type === "item" && (_firstItemIndex === null || index <= _firstItemIndex)) {
251
+ _firstItemIndex = el ? index : null;
252
+ measureToRef(el, firstItemWidth);
253
+ return;
254
+ }
255
+ if (type === "divider" && (_firstDividerIndex === null || index <= _firstDividerIndex)) {
256
+ _firstDividerIndex = el ? index : null;
257
+ measureToRef(el, firstDividerWidth);
258
+ return;
259
+ }
260
+ overflow.measure(index, el);
261
+ }
262
+ watch([() => overflow.capacity.value, () => group.size], ([capacity]) => {
263
+ const all = group.values();
264
+ const contentTickets = [];
265
+ const ellipsisTickets = [];
266
+ for (const ticket of all) if (ticket.type === "ellipsis") ellipsisTickets.push(ticket);
267
+ else contentTickets.push(ticket);
268
+ const contentSize = contentTickets.length;
269
+ const measuredCount = Math.max(0, contentSize - 2);
270
+ const fI = firstItemWidth.value;
271
+ const fD = firstDividerWidth.value;
272
+ const eW = ellipsisWidth.value;
273
+ const reserved = fI + __props.gap + fD + __props.gap + eW + __props.gap;
274
+ if (capacity === Infinity || capacity >= measuredCount) {
275
+ for (const t of ellipsisTickets) group.unselect(t.id);
276
+ for (const t of contentTickets) if (!t.isSelected.value) group.select(t.id);
277
+ return;
278
+ }
279
+ for (const t of ellipsisTickets) group.select(t.id);
280
+ for (let i = 0; i < 2 && i < contentSize; i++) if (!contentTickets[i].isSelected.value) group.select(contentTickets[i].id);
281
+ const lastIndex = contentSize - 1;
282
+ const poolStart = 2;
283
+ const poolSize = Math.max(0, lastIndex - poolStart + 1);
284
+ const toShow = Math.min(poolSize, capacity);
285
+ const showStart = lastIndex - toShow + 1;
286
+ for (let i = poolStart; i <= lastIndex; i++) {
287
+ const t = contentTickets[i];
288
+ if (i >= showStart) {
289
+ if (!t.isSelected.value) group.select(t.id);
290
+ } else group.unselect(t.id);
291
+ }
292
+ if (toShow > 0 && showStart > poolStart && contentTickets[showStart].type === "item") {
293
+ const sep = showStart - 1;
294
+ if (sep >= poolStart && contentTickets[sep].type === "divider" && !contentTickets[sep].isSelected.value) group.select(contentTickets[sep].id);
295
+ }
296
+ if (capacity === 0) {
297
+ if (lastIndex >= poolStart && !contentTickets[lastIndex].isSelected.value) group.select(contentTickets[lastIndex].id);
298
+ const w = overflow.width.value;
299
+ if (w < reserved + fD && contentSize > 1) group.unselect(contentTickets[1].id);
300
+ if (w < fI + __props.gap + eW + __props.gap) for (const t of ellipsisTickets) group.unselect(t.id);
301
+ if (w < fI + __props.gap) group.unselect(contentTickets[0].id);
302
+ }
303
+ }, { immediate: true });
304
+ provideBreadcrumbsRoot(__props.namespace, {
305
+ breadcrumbs,
306
+ group,
307
+ overflow,
308
+ divider: toRef(() => __props.divider),
309
+ ellipsis: toRef(() => __props.ellipsis),
310
+ isOverflowing,
311
+ ellipsisWidth,
312
+ measureElement
313
+ });
314
+ const slotProps = toRef(() => ({
315
+ isOverflowing: overflow.isOverflowing.value,
316
+ capacity: overflow.capacity.value,
317
+ total: group.size,
318
+ depth: breadcrumbs.depth.value,
319
+ isRoot: breadcrumbs.isRoot.value,
320
+ first: breadcrumbs.first,
321
+ prev: breadcrumbs.prev,
322
+ select: breadcrumbs.select,
323
+ attrs: {
324
+ "aria-label": __props.label ?? locale.t("Breadcrumbs.label", void 0, "Breadcrumb"),
325
+ "role": __props.as === "nav" ? void 0 : "navigation"
326
+ }
327
+ }));
328
+ return (_ctx, _cache) => {
329
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
330
+ ref: "container",
331
+ as: __props.as,
332
+ renderless: __props.renderless
333
+ }, slotProps.value.attrs), {
334
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
335
+ _: 3
336
+ }, 16, ["as", "renderless"]);
337
+ };
338
+ }
339
+ });
340
+ var BreadcrumbsRoot_default = _sfc_main$50;
341
+
342
+ //#endregion
343
+ //#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
344
+ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
345
+ name: "BreadcrumbsDivider",
346
+ __name: "BreadcrumbsDivider",
347
+ props: {
348
+ namespace: { default: "v0:breadcrumbs" },
349
+ id: {},
350
+ divider: {},
351
+ as: { default: "li" },
352
+ renderless: { type: Boolean }
353
+ },
354
+ setup(__props) {
355
+ const elRef = useTemplateRef("el");
356
+ const context = useBreadcrumbsRoot(__props.namespace);
357
+ const ticket = context.group.register({
358
+ id: __props.id,
359
+ type: "divider"
360
+ });
361
+ watch(() => elRef.value?.element, (element) => {
362
+ context.measureElement(ticket.index, "divider", element ?? void 0);
363
+ }, { immediate: true });
364
+ onUnmounted(() => {
365
+ context.measureElement(ticket.index, "divider", void 0);
366
+ context.group.unregister(ticket.id);
367
+ });
368
+ const divider = toRef(() => __props.divider ?? context.divider.value);
369
+ const isSelected = toRef(() => ticket.isSelected.value);
370
+ const slotProps = toRef(() => ({
371
+ id: ticket.id,
372
+ divider: divider.value,
373
+ isSelected: isSelected.value,
374
+ attrs: {
375
+ "aria-hidden": "true",
376
+ "data-selected": isSelected.value || void 0
377
+ }
378
+ }));
379
+ return (_ctx, _cache) => {
380
+ return withDirectives((openBlock(), createBlock(unref(Atom_default), mergeProps({
381
+ ref: "el",
382
+ as: __props.as,
383
+ renderless: __props.renderless
384
+ }, slotProps.value.attrs), {
385
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), () => [createTextVNode(toDisplayString(divider.value), 1)])]),
386
+ _: 3
387
+ }, 16, ["as", "renderless"])), [[vShow, isSelected.value]]);
388
+ };
389
+ }
390
+ });
391
+ var BreadcrumbsDivider_default = _sfc_main$49;
392
+
393
+ //#endregion
394
+ //#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
395
+ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
396
+ name: "BreadcrumbsEllipsis",
397
+ __name: "BreadcrumbsEllipsis",
398
+ props: {
399
+ namespace: { default: "v0:breadcrumbs" },
400
+ id: {},
401
+ ellipsis: {},
402
+ as: { default: "li" },
403
+ renderless: { type: Boolean }
404
+ },
405
+ setup(__props) {
406
+ const elRef = useTemplateRef("el");
407
+ const context = useBreadcrumbsRoot(__props.namespace);
408
+ const ticket = context.group.register({
409
+ id: __props.id,
410
+ type: "ellipsis"
411
+ });
412
+ watch(() => elRef.value?.element, (element) => {
413
+ if (!IN_BROWSER || !element) {
414
+ context.ellipsisWidth.value = 0;
415
+ return;
416
+ }
417
+ const el = element;
418
+ const style = getComputedStyle(el);
419
+ const marginX = Number.parseFloat(style.marginLeft) + Number.parseFloat(style.marginRight);
420
+ context.ellipsisWidth.value = el.offsetWidth + marginX;
421
+ }, { immediate: true });
422
+ onUnmounted(() => {
423
+ context.ellipsisWidth.value = 0;
424
+ context.group.unregister(ticket.id);
425
+ });
426
+ const resolvedEllipsis = toRef(() => __props.ellipsis ?? context.ellipsis.value);
427
+ const isSelected = toRef(() => ticket.isSelected.value);
428
+ const slotProps = toRef(() => ({
429
+ id: ticket.id,
430
+ ellipsis: resolvedEllipsis.value,
431
+ isSelected: isSelected.value,
432
+ attrs: {
433
+ "aria-hidden": "true",
434
+ "data-selected": isSelected.value || void 0
435
+ }
436
+ }));
437
+ return (_ctx, _cache) => {
438
+ return withDirectives((openBlock(), createBlock(unref(Atom_default), mergeProps({
439
+ ref: "el",
440
+ as: __props.as,
441
+ renderless: __props.renderless
442
+ }, slotProps.value.attrs), {
443
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), () => [createTextVNode(toDisplayString(resolvedEllipsis.value), 1)])]),
444
+ _: 3
445
+ }, 16, ["as", "renderless"])), [[vShow, isSelected.value]]);
446
+ };
447
+ }
448
+ });
449
+ var BreadcrumbsEllipsis_default = _sfc_main$48;
450
+
451
+ //#endregion
452
+ //#region src/components/Breadcrumbs/BreadcrumbsItem.vue
453
+ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
454
+ name: "BreadcrumbsItem",
455
+ __name: "BreadcrumbsItem",
456
+ props: {
457
+ namespace: { default: "v0:breadcrumbs" },
458
+ id: {},
459
+ value: {},
460
+ text: { default: "" },
461
+ as: { default: "li" },
462
+ renderless: { type: Boolean }
463
+ },
464
+ setup(__props) {
465
+ const elRef = useTemplateRef("el");
466
+ const context = useBreadcrumbsRoot(__props.namespace);
467
+ const crumb = context.breadcrumbs.register({
468
+ id: __props.id,
469
+ value: __props.value,
470
+ text: __props.text
471
+ });
472
+ const ticket = context.group.register({
473
+ id: crumb.id,
474
+ value: __props.value,
475
+ type: "item"
476
+ });
477
+ watch(() => elRef.value?.element, (element) => {
478
+ context.measureElement(ticket.index, "item", element ?? void 0);
479
+ }, { immediate: true });
480
+ onUnmounted(() => {
481
+ context.measureElement(ticket.index, "item", void 0);
482
+ context.group.unregister(ticket.id);
483
+ context.breadcrumbs.unregister(crumb.id);
484
+ });
485
+ const isSelected = toRef(() => ticket.isSelected.value);
486
+ const slotProps = toRef(() => ({
487
+ id: ticket.id,
488
+ isSelected: isSelected.value,
489
+ attrs: { "data-selected": isSelected.value || void 0 }
490
+ }));
491
+ return (_ctx, _cache) => {
492
+ return withDirectives((openBlock(), createBlock(unref(Atom_default), mergeProps({
493
+ ref: "el",
494
+ as: __props.as,
495
+ renderless: __props.renderless
496
+ }, slotProps.value.attrs), {
497
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
498
+ _: 3
499
+ }, 16, ["as", "renderless"])), [[vShow, isSelected.value]]);
500
+ };
501
+ }
502
+ });
503
+ var BreadcrumbsItem_default = _sfc_main$47;
504
+
505
+ //#endregion
506
+ //#region src/components/Breadcrumbs/BreadcrumbsLink.vue
507
+ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
508
+ name: "BreadcrumbsLink",
509
+ __name: "BreadcrumbsLink",
510
+ props: {
511
+ as: { default: "a" },
512
+ renderless: { type: Boolean }
513
+ },
514
+ setup(__props) {
515
+ return (_ctx, _cache) => {
516
+ return openBlock(), createBlock(unref(Atom_default), {
517
+ as: __props.as,
518
+ renderless: __props.renderless
519
+ }, {
520
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
521
+ _: 3
522
+ }, 8, ["as", "renderless"]);
523
+ };
524
+ }
525
+ });
526
+ var BreadcrumbsLink_default = _sfc_main$46;
527
+
528
+ //#endregion
529
+ //#region src/components/Breadcrumbs/BreadcrumbsList.vue
530
+ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
531
+ name: "BreadcrumbsList",
532
+ __name: "BreadcrumbsList",
533
+ props: {
534
+ as: { default: "ol" },
535
+ renderless: { type: Boolean }
536
+ },
537
+ setup(__props) {
538
+ const slotProps = toRef(() => ({ attrs: { role: "list" } }));
539
+ return (_ctx, _cache) => {
540
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
541
+ as: __props.as,
542
+ renderless: __props.renderless
543
+ }, slotProps.value.attrs), {
544
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
545
+ _: 3
546
+ }, 16, ["as", "renderless"]);
547
+ };
548
+ }
549
+ });
550
+ var BreadcrumbsList_default = _sfc_main$45;
551
+
552
+ //#endregion
553
+ //#region src/components/Breadcrumbs/BreadcrumbsPage.vue
554
+ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
555
+ name: "BreadcrumbsPage",
556
+ __name: "BreadcrumbsPage",
557
+ props: {
558
+ as: { default: "span" },
559
+ renderless: { type: Boolean }
560
+ },
561
+ setup(__props) {
562
+ const slotProps = toRef(() => ({ attrs: { "aria-current": "page" } }));
563
+ return (_ctx, _cache) => {
564
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
565
+ as: __props.as,
566
+ renderless: __props.renderless
567
+ }, slotProps.value.attrs), {
568
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
569
+ _: 3
570
+ }, 16, ["as", "renderless"]);
571
+ };
572
+ }
573
+ });
574
+ var BreadcrumbsPage_default = _sfc_main$44;
575
+
576
+ //#endregion
577
+ //#region src/components/Breadcrumbs/index.ts
578
+ /**
579
+ * Breadcrumbs component for responsive navigation trails.
580
+ *
581
+ * @see https://0.vuetifyjs.com/components/breadcrumbs
582
+ */
583
+ const Breadcrumbs = {
584
+ Root: BreadcrumbsRoot_default,
585
+ List: BreadcrumbsList_default,
586
+ Item: BreadcrumbsItem_default,
587
+ Link: BreadcrumbsLink_default,
588
+ Page: BreadcrumbsPage_default,
589
+ Divider: BreadcrumbsDivider_default,
590
+ Ellipsis: BreadcrumbsEllipsis_default
591
+ };
592
+
198
593
  //#endregion
199
594
  //#region src/components/Checkbox/CheckboxGroup.vue
200
595
  const [useCheckboxGroup, provideCheckboxGroup] = createContext();
201
- const _sfc_main$42 = /* @__PURE__ */ defineComponent({
596
+ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
202
597
  name: "CheckboxGroup",
203
598
  __name: "CheckboxGroup",
204
599
  props: /* @__PURE__ */ mergeModels({
@@ -264,12 +659,12 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
264
659
  };
265
660
  }
266
661
  });
267
- var CheckboxGroup_default = _sfc_main$42;
662
+ var CheckboxGroup_default = _sfc_main$43;
268
663
 
269
664
  //#endregion
270
665
  //#region src/components/Checkbox/CheckboxRoot.vue
271
666
  const [useCheckboxRoot, provideCheckboxRoot] = createContext();
272
- const _sfc_main$41 = /* @__PURE__ */ defineComponent({
667
+ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
273
668
  name: "CheckboxRoot",
274
669
  inheritAttrs: false,
275
670
  __name: "CheckboxRoot",
@@ -403,7 +798,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
403
798
  };
404
799
  }
405
800
  });
406
- var CheckboxRoot_default = _sfc_main$41;
801
+ var CheckboxRoot_default = _sfc_main$42;
407
802
 
408
803
  //#endregion
409
804
  //#region src/components/Checkbox/CheckboxHiddenInput.vue
@@ -425,7 +820,7 @@ const visuallyHiddenStyle$1 = {
425
820
  whiteSpace: "nowrap",
426
821
  border: "0"
427
822
  };
428
- const _sfc_main$40 = /* @__PURE__ */ defineComponent({
823
+ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
429
824
  name: "CheckboxHiddenInput",
430
825
  __name: "CheckboxHiddenInput",
431
826
  props: {
@@ -461,11 +856,11 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
461
856
  };
462
857
  }
463
858
  });
464
- var CheckboxHiddenInput_default = _sfc_main$40;
859
+ var CheckboxHiddenInput_default = _sfc_main$41;
465
860
 
466
861
  //#endregion
467
862
  //#region src/components/Checkbox/CheckboxIndicator.vue
468
- const _sfc_main$39 = /* @__PURE__ */ defineComponent({
863
+ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
469
864
  name: "CheckboxIndicator",
470
865
  __name: "CheckboxIndicator",
471
866
  props: {
@@ -498,11 +893,11 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
498
893
  };
499
894
  }
500
895
  });
501
- var CheckboxIndicator_default = _sfc_main$39;
896
+ var CheckboxIndicator_default = _sfc_main$40;
502
897
 
503
898
  //#endregion
504
899
  //#region src/components/Checkbox/CheckboxSelectAll.vue
505
- const _sfc_main$38 = /* @__PURE__ */ defineComponent({
900
+ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
506
901
  name: "CheckboxSelectAll",
507
902
  inheritAttrs: false,
508
903
  __name: "CheckboxSelectAll",
@@ -588,7 +983,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
588
983
  };
589
984
  }
590
985
  });
591
- var CheckboxSelectAll_default = _sfc_main$38;
986
+ var CheckboxSelectAll_default = _sfc_main$39;
592
987
 
593
988
  //#endregion
594
989
  //#region src/components/Checkbox/index.ts
@@ -624,7 +1019,7 @@ const Checkbox = {
624
1019
  //#endregion
625
1020
  //#region src/components/Dialog/DialogRoot.vue
626
1021
  const [useDialogContext, provideDialogContext] = createContext();
627
- const _sfc_main$37 = /* @__PURE__ */ defineComponent({
1022
+ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
628
1023
  name: "DialogRoot",
629
1024
  __name: "DialogRoot",
630
1025
  props: /* @__PURE__ */ mergeModels({
@@ -639,7 +1034,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
639
1034
  },
640
1035
  "modelModifiers": {}
641
1036
  }),
642
- emits: /* @__PURE__ */ mergeModels(["update:modelValue"], ["update:modelValue"]),
1037
+ emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
643
1038
  setup(__props) {
644
1039
  const isOpen = useModel(__props, "modelValue");
645
1040
  const id = __props.id ?? useId();
@@ -676,11 +1071,11 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
676
1071
  };
677
1072
  }
678
1073
  });
679
- var DialogRoot_default = _sfc_main$37;
1074
+ var DialogRoot_default = _sfc_main$38;
680
1075
 
681
1076
  //#endregion
682
1077
  //#region src/components/Dialog/DialogClose.vue
683
- const _sfc_main$36 = /* @__PURE__ */ defineComponent({
1078
+ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
684
1079
  name: "DialogClose",
685
1080
  __name: "DialogClose",
686
1081
  props: {
@@ -708,11 +1103,11 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
708
1103
  };
709
1104
  }
710
1105
  });
711
- var DialogClose_default = _sfc_main$36;
1106
+ var DialogClose_default = _sfc_main$37;
712
1107
 
713
1108
  //#endregion
714
1109
  //#region src/components/Dialog/DialogContent.vue
715
- const _sfc_main$35 = /* @__PURE__ */ defineComponent({
1110
+ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
716
1111
  name: "DialogContent",
717
1112
  __name: "DialogContent",
718
1113
  props: {
@@ -721,6 +1116,10 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
721
1116
  type: Boolean,
722
1117
  default: true
723
1118
  },
1119
+ blocking: {
1120
+ type: Boolean,
1121
+ default: false
1122
+ },
724
1123
  as: { default: "dialog" },
725
1124
  renderless: { type: Boolean }
726
1125
  },
@@ -729,15 +1128,23 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
729
1128
  const emit = __emit;
730
1129
  const context = useDialogContext(__props.namespace);
731
1130
  const contentRef = useTemplateRef("content");
732
- onMounted(() => {
733
- if (context.isOpen.value) (contentRef.value?.element)?.showModal();
1131
+ const ticket = useStack().register({
1132
+ onDismiss: () => context.close(),
1133
+ blocking: __props.blocking
734
1134
  });
1135
+ watch(context.isOpen, (isOpen) => {
1136
+ if (isOpen) ticket.select();
1137
+ else ticket.unselect();
1138
+ }, { immediate: true });
735
1139
  watch(context.isOpen, (isOpen) => {
736
1140
  const element = contentRef.value?.element;
737
1141
  if (!element) return;
738
1142
  if (isOpen) element.showModal?.();
739
1143
  else element.close?.();
740
1144
  });
1145
+ onMounted(() => {
1146
+ if (context.isOpen.value) (contentRef.value?.element)?.showModal();
1147
+ });
741
1148
  useToggleScope(
742
1149
  () => __props.closeOnClickOutside && context.isOpen.value,
743
1150
  /* v8 ignore start -- callback tested via useClickOutside */
@@ -754,8 +1161,11 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
754
1161
  context.isOpen.value = false;
755
1162
  emit("close", e);
756
1163
  }
1164
+ const styles = toRef(() => ({ zIndex: ticket.zIndex.value }));
757
1165
  const slotProps = toRef(() => ({
758
1166
  isOpen: context.isOpen.value,
1167
+ globalTop: ticket.globalTop.value,
1168
+ zIndex: ticket.zIndex.value,
759
1169
  attrs: {
760
1170
  "id": context.id,
761
1171
  "role": "dialog",
@@ -767,22 +1177,23 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
767
1177
  return (_ctx, _cache) => {
768
1178
  return openBlock(), createBlock(unref(Atom_default), mergeProps({
769
1179
  ref: "content",
770
- as: __props.as
1180
+ as: __props.as,
1181
+ style: styles.value
771
1182
  }, slotProps.value.attrs, {
772
1183
  onCancel,
773
1184
  onClose
774
1185
  }), {
775
1186
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
776
1187
  _: 3
777
- }, 16, ["as"]);
1188
+ }, 16, ["as", "style"]);
778
1189
  };
779
1190
  }
780
1191
  });
781
- var DialogContent_default = _sfc_main$35;
1192
+ var DialogContent_default = _sfc_main$36;
782
1193
 
783
1194
  //#endregion
784
1195
  //#region src/components/Dialog/DialogDescription.vue
785
- const _sfc_main$34 = /* @__PURE__ */ defineComponent({
1196
+ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
786
1197
  name: "DialogDescription",
787
1198
  __name: "DialogDescription",
788
1199
  props: {
@@ -801,11 +1212,11 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
801
1212
  };
802
1213
  }
803
1214
  });
804
- var DialogDescription_default = _sfc_main$34;
1215
+ var DialogDescription_default = _sfc_main$35;
805
1216
 
806
1217
  //#endregion
807
1218
  //#region src/components/Dialog/DialogTitle.vue
808
- const _sfc_main$33 = /* @__PURE__ */ defineComponent({
1219
+ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
809
1220
  name: "DialogTitle",
810
1221
  __name: "DialogTitle",
811
1222
  props: {
@@ -824,11 +1235,11 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
824
1235
  };
825
1236
  }
826
1237
  });
827
- var DialogTitle_default = _sfc_main$33;
1238
+ var DialogTitle_default = _sfc_main$34;
828
1239
 
829
1240
  //#endregion
830
1241
  //#region src/components/Dialog/DialogActivator.vue
831
- const _sfc_main$32 = /* @__PURE__ */ defineComponent({
1242
+ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
832
1243
  name: "DialogActivator",
833
1244
  __name: "DialogActivator",
834
1245
  props: {
@@ -858,7 +1269,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
858
1269
  };
859
1270
  }
860
1271
  });
861
- var DialogActivator_default = _sfc_main$32;
1272
+ var DialogActivator_default = _sfc_main$33;
862
1273
 
863
1274
  //#endregion
864
1275
  //#region src/components/Dialog/index.ts
@@ -902,8 +1313,8 @@ const Dialog = {
902
1313
 
903
1314
  //#endregion
904
1315
  //#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
905
- const [useExpansionPanelRoot, provideExpansionPanelSelection] = createContext();
906
- const _sfc_main$31 = /* @__PURE__ */ defineComponent({
1316
+ const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext();
1317
+ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
907
1318
  name: "ExpansionPanelRoot",
908
1319
  __name: "ExpansionPanelRoot",
909
1320
  props: /* @__PURE__ */ mergeModels({
@@ -948,7 +1359,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
948
1359
  unselect: selection.unselect,
949
1360
  toggle: selection.toggle
950
1361
  }));
951
- provideExpansionPanelSelection(__props.namespace, selection);
1362
+ provideExpansionPanelRoot(__props.namespace, selection);
952
1363
  return (_ctx, _cache) => {
953
1364
  return openBlock(), createBlock(unref(Atom_default), {
954
1365
  as: __props.as,
@@ -960,12 +1371,12 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
960
1371
  };
961
1372
  }
962
1373
  });
963
- var ExpansionPanelRoot_default = _sfc_main$31;
1374
+ var ExpansionPanelRoot_default = _sfc_main$32;
964
1375
 
965
1376
  //#endregion
966
1377
  //#region src/components/ExpansionPanel/ExpansionPanelItem.vue
967
1378
  const [useExpansionPanelItem, provideExpansionPanelItem] = createContext({ suffix: "item" });
968
- const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1379
+ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
969
1380
  name: "ExpansionPanelItem",
970
1381
  __name: "ExpansionPanelItem",
971
1382
  props: {
@@ -1009,11 +1420,11 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1009
1420
  };
1010
1421
  }
1011
1422
  });
1012
- var ExpansionPanelItem_default = _sfc_main$30;
1423
+ var ExpansionPanelItem_default = _sfc_main$31;
1013
1424
 
1014
1425
  //#endregion
1015
1426
  //#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
1016
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1427
+ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1017
1428
  name: "ExpansionPanelActivator",
1018
1429
  __name: "ExpansionPanelActivator",
1019
1430
  props: {
@@ -1059,11 +1470,11 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1059
1470
  };
1060
1471
  }
1061
1472
  });
1062
- var ExpansionPanelActivator_default = _sfc_main$29;
1473
+ var ExpansionPanelActivator_default = _sfc_main$30;
1063
1474
 
1064
1475
  //#endregion
1065
1476
  //#region src/components/ExpansionPanel/ExpansionPanelContent.vue
1066
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1477
+ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1067
1478
  name: "ExpansionPanelContent",
1068
1479
  __name: "ExpansionPanelContent",
1069
1480
  props: {
@@ -1094,11 +1505,11 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1094
1505
  };
1095
1506
  }
1096
1507
  });
1097
- var ExpansionPanelContent_default = _sfc_main$28;
1508
+ var ExpansionPanelContent_default = _sfc_main$29;
1098
1509
 
1099
1510
  //#endregion
1100
1511
  //#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
1101
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1512
+ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1102
1513
  name: "ExpansionPanelHeader",
1103
1514
  __name: "ExpansionPanelHeader",
1104
1515
  props: {
@@ -1123,7 +1534,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1123
1534
  };
1124
1535
  }
1125
1536
  });
1126
- var ExpansionPanelHeader_default = _sfc_main$27;
1537
+ var ExpansionPanelHeader_default = _sfc_main$28;
1127
1538
 
1128
1539
  //#endregion
1129
1540
  //#region src/components/ExpansionPanel/index.ts
@@ -1143,7 +1554,7 @@ const ExpansionPanel = {
1143
1554
  //#endregion
1144
1555
  //#region src/components/Group/GroupRoot.vue
1145
1556
  const [useGroupRoot, provideGroupRoot] = createContext();
1146
- const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1557
+ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1147
1558
  name: "GroupRoot",
1148
1559
  __name: "GroupRoot",
1149
1560
  props: /* @__PURE__ */ mergeModels({
@@ -1193,11 +1604,11 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1193
1604
  };
1194
1605
  }
1195
1606
  });
1196
- var GroupRoot_default = _sfc_main$26;
1607
+ var GroupRoot_default = _sfc_main$27;
1197
1608
 
1198
1609
  //#endregion
1199
1610
  //#region src/components/Group/GroupItem.vue
1200
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1611
+ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1201
1612
  name: "GroupItem",
1202
1613
  __name: "GroupItem",
1203
1614
  props: {
@@ -1246,7 +1657,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1246
1657
  };
1247
1658
  }
1248
1659
  });
1249
- var GroupItem_default = _sfc_main$25;
1660
+ var GroupItem_default = _sfc_main$26;
1250
1661
 
1251
1662
  //#endregion
1252
1663
  //#region src/components/Group/index.ts
@@ -1265,7 +1676,7 @@ const Group = {
1265
1676
  const [usePaginationRoot, providePaginationRoot] = createContext();
1266
1677
  const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
1267
1678
  const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
1268
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1679
+ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1269
1680
  name: "PaginationRoot",
1270
1681
  __name: "PaginationRoot",
1271
1682
  props: /* @__PURE__ */ mergeModels({
@@ -1365,11 +1776,11 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1365
1776
  };
1366
1777
  }
1367
1778
  });
1368
- var PaginationRoot_default = _sfc_main$24;
1779
+ var PaginationRoot_default = _sfc_main$25;
1369
1780
 
1370
1781
  //#endregion
1371
1782
  //#region src/components/Pagination/PaginationEllipsis.vue
1372
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1783
+ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1373
1784
  name: "PaginationEllipsis",
1374
1785
  __name: "PaginationEllipsis",
1375
1786
  props: {
@@ -1410,11 +1821,11 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1410
1821
  };
1411
1822
  }
1412
1823
  });
1413
- var PaginationEllipsis_default = _sfc_main$23;
1824
+ var PaginationEllipsis_default = _sfc_main$24;
1414
1825
 
1415
1826
  //#endregion
1416
1827
  //#region src/components/Pagination/PaginationFirst.vue
1417
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1828
+ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1418
1829
  name: "PaginationFirst",
1419
1830
  __name: "PaginationFirst",
1420
1831
  props: {
@@ -1469,11 +1880,11 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1469
1880
  };
1470
1881
  }
1471
1882
  });
1472
- var PaginationFirst_default = _sfc_main$22;
1883
+ var PaginationFirst_default = _sfc_main$23;
1473
1884
 
1474
1885
  //#endregion
1475
1886
  //#region src/components/Pagination/PaginationItem.vue
1476
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1887
+ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1477
1888
  name: "PaginationItem",
1478
1889
  __name: "PaginationItem",
1479
1890
  props: {
@@ -1539,11 +1950,11 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1539
1950
  };
1540
1951
  }
1541
1952
  });
1542
- var PaginationItem_default = _sfc_main$21;
1953
+ var PaginationItem_default = _sfc_main$22;
1543
1954
 
1544
1955
  //#endregion
1545
1956
  //#region src/components/Pagination/PaginationLast.vue
1546
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1957
+ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1547
1958
  name: "PaginationLast",
1548
1959
  __name: "PaginationLast",
1549
1960
  props: {
@@ -1598,11 +2009,11 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1598
2009
  };
1599
2010
  }
1600
2011
  });
1601
- var PaginationLast_default = _sfc_main$20;
2012
+ var PaginationLast_default = _sfc_main$21;
1602
2013
 
1603
2014
  //#endregion
1604
2015
  //#region src/components/Pagination/PaginationNext.vue
1605
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2016
+ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1606
2017
  name: "PaginationNext",
1607
2018
  __name: "PaginationNext",
1608
2019
  props: {
@@ -1657,11 +2068,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1657
2068
  };
1658
2069
  }
1659
2070
  });
1660
- var PaginationNext_default = _sfc_main$19;
2071
+ var PaginationNext_default = _sfc_main$20;
1661
2072
 
1662
2073
  //#endregion
1663
2074
  //#region src/components/Pagination/PaginationPrev.vue
1664
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2075
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1665
2076
  name: "PaginationPrev",
1666
2077
  __name: "PaginationPrev",
1667
2078
  props: {
@@ -1716,11 +2127,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1716
2127
  };
1717
2128
  }
1718
2129
  });
1719
- var PaginationPrev_default = _sfc_main$18;
2130
+ var PaginationPrev_default = _sfc_main$19;
1720
2131
 
1721
2132
  //#endregion
1722
2133
  //#region src/components/Pagination/PaginationStatus.vue
1723
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2134
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1724
2135
  name: "PaginationStatus",
1725
2136
  __name: "PaginationStatus",
1726
2137
  props: {
@@ -1764,7 +2175,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1764
2175
  };
1765
2176
  }
1766
2177
  });
1767
- var PaginationStatus_default = _sfc_main$17;
2178
+ var PaginationStatus_default = _sfc_main$18;
1768
2179
 
1769
2180
  //#endregion
1770
2181
  //#region src/components/Pagination/index.ts
@@ -1787,7 +2198,7 @@ const Pagination = {
1787
2198
  //#endregion
1788
2199
  //#region src/components/Popover/PopoverRoot.vue
1789
2200
  const [usePopoverContext, providePopoverContext] = createContext("Popover");
1790
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2201
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1791
2202
  name: "PopoverRoot",
1792
2203
  __name: "PopoverRoot",
1793
2204
  props: /* @__PURE__ */ mergeModels({
@@ -1829,11 +2240,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1829
2240
  };
1830
2241
  }
1831
2242
  });
1832
- var PopoverRoot_default = _sfc_main$16;
2243
+ var PopoverRoot_default = _sfc_main$17;
1833
2244
 
1834
2245
  //#endregion
1835
2246
  //#region src/components/Popover/PopoverActivator.vue
1836
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2247
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1837
2248
  name: "PopoverActivator",
1838
2249
  __name: "PopoverActivator",
1839
2250
  props: {
@@ -1865,11 +2276,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1865
2276
  };
1866
2277
  }
1867
2278
  });
1868
- var PopoverActivator_default = _sfc_main$15;
2279
+ var PopoverActivator_default = _sfc_main$16;
1869
2280
 
1870
2281
  //#endregion
1871
2282
  //#region src/components/Popover/PopoverContent.vue
1872
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2283
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1873
2284
  name: "PopoverContent",
1874
2285
  __name: "PopoverContent",
1875
2286
  props: {
@@ -1924,6 +2335,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1924
2335
  return openBlock(), createBlock(unref(Atom_default), mergeProps({
1925
2336
  ref_key: "ref",
1926
2337
  ref: ref$1,
2338
+ as: props.as,
1927
2339
  style: style.value
1928
2340
  }, slotProps.value.attrs, {
1929
2341
  onBeforetoggle: onBeforeToggle,
@@ -1931,11 +2343,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1931
2343
  }), {
1932
2344
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1933
2345
  _: 3
1934
- }, 16, ["style"]);
2346
+ }, 16, ["as", "style"]);
1935
2347
  };
1936
2348
  }
1937
2349
  });
1938
- var PopoverContent_default = _sfc_main$14;
2350
+ var PopoverContent_default = _sfc_main$15;
1939
2351
 
1940
2352
  //#endregion
1941
2353
  //#region src/components/Popover/index.ts
@@ -1953,7 +2365,7 @@ const Popover = {
1953
2365
  //#endregion
1954
2366
  //#region src/components/Radio/RadioGroup.vue
1955
2367
  const [useRadioGroup, provideRadioGroup] = createContext();
1956
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2368
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1957
2369
  name: "RadioGroup",
1958
2370
  __name: "RadioGroup",
1959
2371
  props: /* @__PURE__ */ mergeModels({
@@ -2015,12 +2427,12 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2015
2427
  };
2016
2428
  }
2017
2429
  });
2018
- var RadioGroup_default = _sfc_main$13;
2430
+ var RadioGroup_default = _sfc_main$14;
2019
2431
 
2020
2432
  //#endregion
2021
2433
  //#region src/components/Radio/RadioRoot.vue
2022
2434
  const [useRadioRoot, provideRadioRoot] = createContext();
2023
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2435
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2024
2436
  name: "RadioRoot",
2025
2437
  inheritAttrs: false,
2026
2438
  __name: "RadioRoot",
@@ -2145,7 +2557,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2145
2557
  };
2146
2558
  }
2147
2559
  });
2148
- var RadioRoot_default = _sfc_main$12;
2560
+ var RadioRoot_default = _sfc_main$13;
2149
2561
 
2150
2562
  //#endregion
2151
2563
  //#region src/components/Radio/RadioHiddenInput.vue
@@ -2167,7 +2579,7 @@ const visuallyHiddenStyle = {
2167
2579
  whiteSpace: "nowrap",
2168
2580
  border: "0"
2169
2581
  };
2170
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2582
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2171
2583
  name: "RadioHiddenInput",
2172
2584
  __name: "RadioHiddenInput",
2173
2585
  props: {
@@ -2202,11 +2614,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2202
2614
  };
2203
2615
  }
2204
2616
  });
2205
- var RadioHiddenInput_default = _sfc_main$11;
2617
+ var RadioHiddenInput_default = _sfc_main$12;
2206
2618
 
2207
2619
  //#endregion
2208
2620
  //#region src/components/Radio/RadioIndicator.vue
2209
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2621
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2210
2622
  name: "RadioIndicator",
2211
2623
  __name: "RadioIndicator",
2212
2624
  props: {
@@ -2236,7 +2648,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2236
2648
  };
2237
2649
  }
2238
2650
  });
2239
- var RadioIndicator_default = _sfc_main$10;
2651
+ var RadioIndicator_default = _sfc_main$11;
2240
2652
 
2241
2653
  //#endregion
2242
2654
  //#region src/components/Radio/index.ts
@@ -2279,6 +2691,85 @@ const Radio = {
2279
2691
  Root: RadioRoot_default
2280
2692
  };
2281
2693
 
2694
+ //#endregion
2695
+ //#region src/components/Scrim/Scrim.vue
2696
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2697
+ name: "Scrim",
2698
+ inheritAttrs: false,
2699
+ __name: "Scrim",
2700
+ props: {
2701
+ transition: { default: "fade" },
2702
+ teleport: {
2703
+ type: Boolean,
2704
+ default: true
2705
+ },
2706
+ teleportTo: { default: "body" },
2707
+ as: { default: "div" },
2708
+ renderless: { type: Boolean }
2709
+ },
2710
+ setup(__props) {
2711
+ const attrs = useAttrs();
2712
+ const stack = useStack();
2713
+ const tickets = computed(() => Array.from(stack.selectedItems.value));
2714
+ function onDismiss(ticket) {
2715
+ if (!ticket.blocking) ticket.dismiss();
2716
+ }
2717
+ function getSlotProps(ticket) {
2718
+ return {
2719
+ ticket,
2720
+ zIndex: ticket.zIndex.value - 1,
2721
+ isBlocking: ticket.blocking,
2722
+ dismiss: () => onDismiss(ticket)
2723
+ };
2724
+ }
2725
+ function getStyle(ticket) {
2726
+ return { zIndex: ticket.zIndex.value - 1 };
2727
+ }
2728
+ return (_ctx, _cache) => {
2729
+ return __props.teleport ? (openBlock(), createBlock(Teleport, {
2730
+ key: 0,
2731
+ to: __props.teleportTo
2732
+ }, [createVNode(TransitionGroup, { name: __props.transition }, {
2733
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
2734
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
2735
+ key: ticket.id,
2736
+ as: __props.as,
2737
+ style: getStyle(ticket)
2738
+ }, { ref_for: true }, unref(attrs), { onClick: () => onDismiss(ticket) }), {
2739
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, getSlotProps(ticket)))]),
2740
+ _: 2
2741
+ }, 1040, [
2742
+ "as",
2743
+ "style",
2744
+ "onClick"
2745
+ ]);
2746
+ }), 128))]),
2747
+ _: 3
2748
+ }, 8, ["name"])], 8, ["to"])) : (openBlock(), createBlock(TransitionGroup, {
2749
+ key: 1,
2750
+ name: __props.transition
2751
+ }, {
2752
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
2753
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
2754
+ key: ticket.id,
2755
+ as: __props.as,
2756
+ style: getStyle(ticket)
2757
+ }, { ref_for: true }, unref(attrs), { onClick: () => onDismiss(ticket) }), {
2758
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, getSlotProps(ticket)))]),
2759
+ _: 2
2760
+ }, 1040, [
2761
+ "as",
2762
+ "style",
2763
+ "onClick"
2764
+ ]);
2765
+ }), 128))]),
2766
+ _: 3
2767
+ }, 8, ["name"]));
2768
+ };
2769
+ }
2770
+ });
2771
+ var Scrim_default = _sfc_main$10;
2772
+
2282
2773
  //#endregion
2283
2774
  //#region src/components/Selection/SelectionRoot.vue
2284
2775
  const [useSelectionRoot, provideSelectionRoot] = createContext();
@@ -2934,4 +3425,4 @@ const Tabs = {
2934
3425
  };
2935
3426
 
2936
3427
  //#endregion
2937
- export { Group as $, provideRadioGroup as A, CheckboxGroup_default as At, PaginationPrev_default as B, Radio as C, Checkbox as Ct, provideRadioRoot as D, CheckboxRoot_default as Dt, RadioRoot_default as E, CheckboxHiddenInput_default as Et, PopoverRoot_default as F, AvatarFallback_default as Ft, PaginationEllipsis_default as G, PaginationLast_default as H, providePopoverContext as I, AvatarRoot_default as It, providePaginationItems as J, PaginationRoot_default as K, usePopoverContext as L, provideAvatarContext as Lt, Popover as M, useCheckboxGroup as Mt, PopoverContent_default as N, Avatar as Nt, useRadioRoot as O, provideCheckboxRoot as Ot, PopoverActivator_default as P, AvatarImage_default as Pt, usePaginationRoot as Q, Pagination as R, useAvatarRoot as Rt, useSelectionRoot as S, useDialogContext as St, RadioHiddenInput_default as T, CheckboxIndicator_default as Tt, PaginationItem_default as U, PaginationNext_default as V, PaginationFirst_default as W, usePaginationControls as X, providePaginationRoot as Y, usePaginationItems as Z, useSingleRoot as _, DialogDescription_default as _t, TabsRoot_default as a, ExpansionPanelHeader_default as at, SelectionRoot_default as b, DialogRoot_default as bt, Step as c, ExpansionPanelItem_default as ct, provideStepRoot as d, ExpansionPanelRoot_default as dt, GroupItem_default as et, useStepRoot as f, provideExpansionPanelSelection as ft, provideSingleRoot as g, DialogTitle_default as gt, SingleRoot_default as h, DialogActivator_default as ht, TabsList_default as i, ExpansionPanel as it, useRadioGroup as j, provideCheckboxGroup as jt, RadioGroup_default as k, useCheckboxRoot as kt, StepItem_default as l, provideExpansionPanelItem as lt, SingleItem_default as m, Dialog as mt, TabsPanel_default as n, provideGroupRoot as nt, provideTabsRoot as o, ExpansionPanelContent_default as ot, Single as p, useExpansionPanelRoot as pt, providePaginationControls as q, TabsItem_default as r, useGroupRoot as rt, useTabsRoot as s, ExpansionPanelActivator_default as st, Tabs as t, GroupRoot_default as tt, StepRoot_default as u, useExpansionPanelItem as ut, Selection as v, DialogContent_default as vt, RadioIndicator_default as w, CheckboxSelectAll_default as wt, provideSelectionRoot as x, provideDialogContext as xt, SelectionItem_default as y, DialogClose_default as yt, PaginationStatus_default as z, Atom_default as zt };
3428
+ export { usePaginationRoot as $, RadioGroup_default as A, useCheckboxRoot as At, PaginationStatus_default as B, BreadcrumbsDivider_default as Bt, Scrim_default as C, useDialogContext as Ct, RadioRoot_default as D, CheckboxHiddenInput_default as Dt, RadioHiddenInput_default as E, CheckboxIndicator_default as Et, PopoverActivator_default as F, BreadcrumbsPage_default as Ft, PaginationFirst_default as G, AvatarImage_default as Gt, PaginationNext_default as H, provideBreadcrumbsRoot as Ht, PopoverRoot_default as I, BreadcrumbsList_default as It, providePaginationControls as J, provideAvatarRoot as Jt, PaginationEllipsis_default as K, AvatarFallback_default as Kt, providePopoverContext as L, BreadcrumbsLink_default as Lt, useRadioGroup as M, provideCheckboxGroup as Mt, Popover as N, useCheckboxGroup as Nt, provideRadioRoot as O, CheckboxRoot_default as Ot, PopoverContent_default as P, Breadcrumbs as Pt, usePaginationItems as Q, usePopoverContext as R, BreadcrumbsItem_default as Rt, useSelectionRoot as S, provideDialogContext as St, RadioIndicator_default as T, CheckboxSelectAll_default as Tt, PaginationLast_default as U, useBreadcrumbsRoot as Ut, PaginationPrev_default as V, BreadcrumbsRoot_default as Vt, PaginationItem_default as W, Avatar as Wt, providePaginationRoot as X, Atom_default as Xt, providePaginationItems as Y, useAvatarRoot as Yt, usePaginationControls as Z, useSingleRoot as _, DialogTitle_default as _t, TabsRoot_default as a, ExpansionPanel as at, SelectionRoot_default as b, DialogClose_default as bt, Step as c, ExpansionPanelActivator_default as ct, provideStepRoot as d, useExpansionPanelItem as dt, Group as et, useStepRoot as f, ExpansionPanelRoot_default as ft, provideSingleRoot as g, DialogActivator_default as gt, SingleRoot_default as h, Dialog as ht, TabsList_default as i, useGroupRoot as it, provideRadioGroup as j, CheckboxGroup_default as jt, useRadioRoot as k, provideCheckboxRoot as kt, StepItem_default as l, ExpansionPanelItem_default as lt, SingleItem_default as m, useExpansionPanelRoot as mt, TabsPanel_default as n, GroupRoot_default as nt, provideTabsRoot as o, ExpansionPanelHeader_default as ot, Single as p, provideExpansionPanelRoot as pt, PaginationRoot_default as q, AvatarRoot_default as qt, TabsItem_default as r, provideGroupRoot as rt, useTabsRoot as s, ExpansionPanelContent_default as st, Tabs as t, GroupItem_default as tt, StepRoot_default as u, provideExpansionPanelItem as ut, Selection as v, DialogDescription_default as vt, Radio as w, Checkbox as wt, provideSelectionRoot as x, DialogRoot_default as xt, SelectionItem_default as y, DialogContent_default as yt, Pagination as z, BreadcrumbsEllipsis_default as zt };