@vuetify/v0 0.1.2 → 0.1.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.
Files changed (131) hide show
  1. package/README.md +20 -3
  2. package/dist/adapter-BN-h5JbD.d.mts +344 -0
  3. package/dist/adapter-CJIj5ySf.d.mts +11 -0
  4. package/dist/adapter-D_0ptsPm.mjs +229 -0
  5. package/dist/adapters-BQ-Lr3PW.mjs +1 -0
  6. package/dist/adapters-DEXpW9If.mjs +1 -0
  7. package/dist/adapters-Q9WaOsJp.mjs +1 -0
  8. package/dist/adapters-SSDVth5e.mjs +1 -0
  9. package/dist/browser/index.js +5593 -4490
  10. package/dist/components/index.d.mts +20 -4
  11. package/dist/components/index.mjs +38 -6
  12. package/dist/{components-z56rRlS4.mjs → components-CMuzTJdK.mjs} +588 -90
  13. package/dist/composables/index.d.mts +17 -5
  14. package/dist/composables/index.mjs +36 -4
  15. package/dist/consola-DiUk9j3y.d.mts +15 -0
  16. package/dist/consola-GBy8XRuL.mjs +31 -0
  17. package/dist/constants/index.d.mts +1 -1
  18. package/dist/constants/index.mjs +3 -3
  19. package/dist/constants-B8pMSkcW.mjs +1 -0
  20. package/dist/createDataTable-BJnmvxfb.mjs +387 -0
  21. package/dist/createGroup-CPhp6FUh.mjs +363 -0
  22. package/dist/createPagination-cyOWlpfH.mjs +234 -0
  23. package/dist/createSelection-uqEbFgha.mjs +261 -0
  24. package/dist/createSingle-B59ya3aa.mjs +179 -0
  25. package/dist/createTokens-BlhLdHXE.mjs +682 -0
  26. package/dist/createTrinity-EeHQSsb6.mjs +149 -0
  27. package/dist/data-table/adapters/client/index.d.mts +3 -0
  28. package/dist/data-table/adapters/client/index.mjs +9 -0
  29. package/dist/data-table/adapters/index.d.mts +5 -0
  30. package/dist/data-table/adapters/index.mjs +12 -0
  31. package/dist/data-table/adapters/server/index.d.mts +3 -0
  32. package/dist/data-table/adapters/server/index.mjs +7 -0
  33. package/dist/data-table/adapters/virtual/index.d.mts +3 -0
  34. package/dist/data-table/adapters/virtual/index.mjs +9 -0
  35. package/dist/data-table/index.d.mts +7 -0
  36. package/dist/data-table/index.mjs +25 -0
  37. package/dist/date/index.d.mts +1 -1
  38. package/dist/date/index.mjs +19 -15
  39. package/dist/features/adapters/flagsmith/index.d.mts +16 -0
  40. package/dist/features/adapters/flagsmith/index.mjs +3 -0
  41. package/dist/features/adapters/launchdarkly/index.d.mts +15 -0
  42. package/dist/features/adapters/launchdarkly/index.mjs +3 -0
  43. package/dist/features/adapters/posthog/index.d.mts +15 -0
  44. package/dist/features/adapters/posthog/index.mjs +4 -0
  45. package/dist/features/index.d.mts +17 -0
  46. package/dist/features/index.mjs +18 -0
  47. package/dist/flagsmith-CHmpPGR7.mjs +40 -0
  48. package/dist/{globals-VwjZ5i4B.mjs → globals-B_GVfG06.mjs} +2 -2
  49. package/dist/index-7mWYFHA6.d.mts +251 -0
  50. package/dist/index-BDTbJClL.d.mts +11 -0
  51. package/dist/{index-DlxrzbvZ.d.mts → index-BFBN5Zl3.d.mts} +41 -1
  52. package/dist/index-BuOz3Rgm.d.mts +32 -0
  53. package/dist/{index-cPmI99rd.d.mts → index-Bv1VN_j5.d.mts} +1 -1
  54. package/dist/{index-PuLeBGZ3.d.mts → index-CQrDeqsK.d.mts} +894 -329
  55. package/dist/{index-CLKfXGEQ.d.mts → index-Dd0m0LIJ.d.mts} +2228 -1178
  56. package/dist/{index-CoO8LW8o.d.mts → index-UNwEBkQT.d.mts} +16 -2
  57. package/dist/index.d.mts +20 -8
  58. package/dist/index.mjs +39 -7
  59. package/dist/json/attributes.json +140 -0
  60. package/dist/json/importMap.json +36 -0
  61. package/dist/json/tags.json +75 -0
  62. package/dist/json/web-types.json +440 -1
  63. package/dist/launchdarkly-W8t8ZANX.mjs +28 -0
  64. package/dist/locale/adapters/index.d.mts +3 -0
  65. package/dist/locale/adapters/index.mjs +6 -0
  66. package/dist/locale/adapters/v0/index.d.mts +3 -0
  67. package/dist/locale/adapters/v0/index.mjs +5 -0
  68. package/dist/locale/index.d.mts +17 -0
  69. package/dist/locale/index.mjs +17 -0
  70. package/dist/logger/adapters/consola/index.d.mts +3 -0
  71. package/dist/logger/adapters/consola/index.mjs +3 -0
  72. package/dist/logger/adapters/index.d.mts +5 -0
  73. package/dist/logger/adapters/index.mjs +8 -0
  74. package/dist/logger/adapters/pino/index.d.mts +3 -0
  75. package/dist/logger/adapters/pino/index.mjs +5 -0
  76. package/dist/logger/adapters/v0/index.d.mts +3 -0
  77. package/dist/logger/adapters/v0/index.mjs +5 -0
  78. package/dist/logger/index.d.mts +17 -0
  79. package/dist/logger/index.mjs +10 -0
  80. package/dist/memory-BsZGbGnG.mjs +27 -0
  81. package/dist/memory-DVjquu_v.d.mts +25 -0
  82. package/dist/permissions/adapters/index.d.mts +18 -0
  83. package/dist/permissions/adapters/index.mjs +6 -0
  84. package/dist/permissions/adapters/v0/index.d.mts +18 -0
  85. package/dist/permissions/adapters/v0/index.mjs +5 -0
  86. package/dist/permissions/index.d.mts +17 -0
  87. package/dist/permissions/index.mjs +15 -0
  88. package/dist/pino-01x_NmWp.mjs +49 -0
  89. package/dist/pino-p-jDkNQd.d.mts +24 -0
  90. package/dist/posthog-BrGBPPir.mjs +50 -0
  91. package/dist/server-6cs14bj1.d.mts +20 -0
  92. package/dist/server-ClCwiLMA.mjs +45 -0
  93. package/dist/storage/adapters/index.d.mts +3 -0
  94. package/dist/storage/adapters/index.mjs +3 -0
  95. package/dist/storage/adapters/memory/index.d.mts +2 -0
  96. package/dist/storage/adapters/memory/index.mjs +3 -0
  97. package/dist/storage/index.d.mts +17 -0
  98. package/dist/storage/index.mjs +37 -0
  99. package/dist/theme/adapters/index.d.mts +17 -0
  100. package/dist/theme/adapters/index.mjs +6 -0
  101. package/dist/theme/adapters/v0/index.d.mts +17 -0
  102. package/dist/theme/adapters/v0/index.mjs +5 -0
  103. package/dist/theme/index.d.mts +17 -0
  104. package/dist/theme/index.mjs +16 -0
  105. package/dist/toArray-DIeXVX1C.mjs +38 -0
  106. package/dist/types/index.d.mts +2 -2
  107. package/dist/{useClickOutside-Dp1MHIjr.mjs → useClickOutside-p8HP07At.mjs} +2437 -5442
  108. package/dist/useFeatures-C4JF3Hgr.mjs +122 -0
  109. package/dist/useLocale-DlbShzF-.mjs +85 -0
  110. package/dist/useLogger-CO9JwbSJ.mjs +283 -0
  111. package/dist/usePermissions-DQVT_4nD.mjs +128 -0
  112. package/dist/useTheme-Bcw1Ebyt.mjs +135 -0
  113. package/dist/utilities/index.d.mts +3 -3
  114. package/dist/utilities/index.mjs +3 -2
  115. package/dist/{utilities-B58TiS_S.mjs → utilities-BqS1sC1W.mjs} +27 -1
  116. package/dist/v0-B40YkIQ-.mjs +21 -0
  117. package/dist/v0-BOxb3nD1.d.mts +33 -0
  118. package/dist/v0-BogbIzpM.mjs +41 -0
  119. package/dist/v0-BtQCSBOG.mjs +37 -0
  120. package/dist/v0-C-9dv_1S.d.mts +10 -0
  121. package/dist/v0-CtjuUUPl.mjs +73 -0
  122. package/dist/v0-DHMoZ7dS.d.mts +22 -0
  123. package/dist/v0-ONBWyQYQ.mjs +83 -0
  124. package/dist/v0-RepwEY1F.d.mts +9 -0
  125. package/dist/virtual-B3IPkHC0.d.mts +9 -0
  126. package/dist/virtual-BP9WXRzN.mjs +44 -0
  127. package/package.json +37 -4
  128. package/dist/index-qSuLpob3.d.mts +0 -1544
  129. /package/dist/{adapter-L4Php1_S.d.mts → adapter-DcwxFryd.d.mts} +0 -0
  130. /package/dist/{constants-DHKqjdjH.mjs → adapters-BGJKsBrw.mjs} +0 -0
  131. /package/dist/{htmlElements-DO9n35bD.mjs → htmlElements-d8iBCGpO.mjs} +0 -0
@@ -1,8 +1,15 @@
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-Dp1MHIjr.mjs";
4
- import { t as IN_BROWSER } from "./globals-VwjZ5i4B.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";
1
+ import { r as isSelfClosingTag } from "./htmlElements-d8iBCGpO.mjs";
2
+ import { t as IN_BROWSER } from "./globals-B_GVfG06.mjs";
3
+ import { c as isNull, d as isObject, l as isNullOrUndefined, p as isString } from "./utilities-BqS1sC1W.mjs";
4
+ import { n as createContext } from "./createTrinity-EeHQSsb6.mjs";
5
+ import { i as createRegistry } from "./createTokens-BlhLdHXE.mjs";
6
+ import { t as createSelection } from "./createSelection-uqEbFgha.mjs";
7
+ import { t as createSingle } from "./createSingle-B59ya3aa.mjs";
8
+ import { $ as createOverflow, Q as useProxyModel, S as useStack, c as useToggleScope, g as createStep, lt as createBreadcrumbs, t as useClickOutside } from "./useClickOutside-p8HP07At.mjs";
9
+ import { t as createGroup } from "./createGroup-CPhp6FUh.mjs";
10
+ import { a as useLocale } from "./useLocale-DlbShzF-.mjs";
11
+ import { t as createPagination } from "./createPagination-cyOWlpfH.mjs";
12
+ 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
13
 
7
14
  //#region src/components/Atom/Atom.vue
8
15
  /**
@@ -26,7 +33,7 @@ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock
26
33
  * serving as the foundation for all other components that need polymorphic
27
34
  * rendering capabilities.
28
35
  */
29
- const _sfc_main$46 = /* @__PURE__ */ defineComponent({
36
+ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
30
37
  name: "Atom",
31
38
  __name: "Atom",
32
39
  props: {
@@ -57,12 +64,12 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
57
64
  };
58
65
  }
59
66
  });
60
- var Atom_default = _sfc_main$46;
67
+ var Atom_default = _sfc_main$54;
61
68
 
62
69
  //#endregion
63
70
  //#region src/components/Avatar/AvatarRoot.vue
64
- const [useAvatarRoot, provideAvatarContext] = createContext();
65
- const _sfc_main$45 = /* @__PURE__ */ defineComponent({
71
+ const [useAvatarRoot, provideAvatarRoot] = createContext();
72
+ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
66
73
  name: "AvatarRoot",
67
74
  __name: "AvatarRoot",
68
75
  props: {
@@ -75,7 +82,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
75
82
  mandatory: "force",
76
83
  multiple: false
77
84
  });
78
- provideAvatarContext(__props.namespace, selection);
85
+ provideAvatarRoot(__props.namespace, selection);
79
86
  return (_ctx, _cache) => {
80
87
  return openBlock(), createBlock(unref(Atom_default), {
81
88
  as: __props.as,
@@ -87,11 +94,11 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
87
94
  };
88
95
  }
89
96
  });
90
- var AvatarRoot_default = _sfc_main$45;
97
+ var AvatarRoot_default = _sfc_main$53;
91
98
 
92
99
  //#endregion
93
100
  //#region src/components/Avatar/AvatarFallback.vue
94
- const _sfc_main$44 = /* @__PURE__ */ defineComponent({
101
+ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
95
102
  name: "AvatarFallback",
96
103
  __name: "AvatarFallback",
97
104
  props: {
@@ -116,11 +123,11 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
116
123
  };
117
124
  }
118
125
  });
119
- var AvatarFallback_default = _sfc_main$44;
126
+ var AvatarFallback_default = _sfc_main$52;
120
127
 
121
128
  //#endregion
122
129
  //#region src/components/Avatar/AvatarImage.vue
123
- const _sfc_main$43 = /* @__PURE__ */ defineComponent({
130
+ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
124
131
  name: "AvatarImage",
125
132
  inheritAttrs: false,
126
133
  __name: "AvatarImage",
@@ -180,7 +187,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
180
187
  };
181
188
  }
182
189
  });
183
- var AvatarImage_default = _sfc_main$43;
190
+ var AvatarImage_default = _sfc_main$51;
184
191
 
185
192
  //#endregion
186
193
  //#region src/components/Avatar/index.ts
@@ -195,10 +202,405 @@ const Avatar = {
195
202
  Fallback: AvatarFallback_default
196
203
  };
197
204
 
205
+ //#endregion
206
+ //#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
207
+ const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
208
+ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
209
+ name: "BreadcrumbsRoot",
210
+ __name: "BreadcrumbsRoot",
211
+ props: {
212
+ namespace: { default: "v0:breadcrumbs" },
213
+ divider: { default: "/" },
214
+ ellipsis: { default: "…" },
215
+ gap: { default: 8 },
216
+ label: {},
217
+ as: { default: "nav" },
218
+ renderless: { type: Boolean }
219
+ },
220
+ setup(__props) {
221
+ const locale = useLocale();
222
+ const containerRef = useTemplateRef("container");
223
+ const breadcrumbs = createBreadcrumbs({ enroll: true });
224
+ const group = createGroup({
225
+ enroll: true,
226
+ multiple: true
227
+ });
228
+ const ellipsisWidth = shallowRef(0);
229
+ const firstItemWidth = shallowRef(0);
230
+ const firstDividerWidth = shallowRef(0);
231
+ const overflow = createOverflow({
232
+ container: () => containerRef.value?.element,
233
+ gap: __props.gap,
234
+ reserved: () => {
235
+ let r = 0;
236
+ if (firstItemWidth.value > 0) r += firstItemWidth.value + __props.gap;
237
+ if (firstDividerWidth.value > 0) r += firstDividerWidth.value + __props.gap;
238
+ if (ellipsisWidth.value > 0) r += ellipsisWidth.value + __props.gap;
239
+ return r;
240
+ },
241
+ reverse: true
242
+ });
243
+ const isOverflowing = overflow.isOverflowing;
244
+ let _firstItemIndex = null;
245
+ let _firstDividerIndex = null;
246
+ function measureToRef(el, target) {
247
+ if (!IN_BROWSER || !el) {
248
+ target.value = 0;
249
+ return;
250
+ }
251
+ const htmlEl = el;
252
+ const style = getComputedStyle(htmlEl);
253
+ const marginX = Number.parseFloat(style.marginLeft) + Number.parseFloat(style.marginRight);
254
+ target.value = htmlEl.offsetWidth + marginX;
255
+ }
256
+ function measureElement(index, type, el) {
257
+ if (type === "item" && (_firstItemIndex === null || index <= _firstItemIndex)) {
258
+ _firstItemIndex = el ? index : null;
259
+ measureToRef(el, firstItemWidth);
260
+ return;
261
+ }
262
+ if (type === "divider" && (_firstDividerIndex === null || index <= _firstDividerIndex)) {
263
+ _firstDividerIndex = el ? index : null;
264
+ measureToRef(el, firstDividerWidth);
265
+ return;
266
+ }
267
+ overflow.measure(index, el);
268
+ }
269
+ watch([() => overflow.capacity.value, () => group.size], ([capacity]) => {
270
+ const all = group.values();
271
+ const contentTickets = [];
272
+ const ellipsisTickets = [];
273
+ for (const ticket of all) if (ticket.type === "ellipsis") ellipsisTickets.push(ticket);
274
+ else contentTickets.push(ticket);
275
+ const contentSize = contentTickets.length;
276
+ const measuredCount = Math.max(0, contentSize - 2);
277
+ const fI = firstItemWidth.value;
278
+ const fD = firstDividerWidth.value;
279
+ const eW = ellipsisWidth.value;
280
+ const reserved = fI + __props.gap + fD + __props.gap + eW + __props.gap;
281
+ if (capacity === Infinity || capacity >= measuredCount) {
282
+ for (const t of ellipsisTickets) group.unselect(t.id);
283
+ for (const t of contentTickets) if (!t.isSelected.value) group.select(t.id);
284
+ return;
285
+ }
286
+ for (const t of ellipsisTickets) group.select(t.id);
287
+ for (let i = 0; i < 2 && i < contentSize; i++) if (!contentTickets[i].isSelected.value) group.select(contentTickets[i].id);
288
+ const lastIndex = contentSize - 1;
289
+ const poolStart = 2;
290
+ const poolSize = Math.max(0, lastIndex - poolStart + 1);
291
+ const toShow = Math.min(poolSize, capacity);
292
+ const showStart = lastIndex - toShow + 1;
293
+ for (let i = poolStart; i <= lastIndex; i++) {
294
+ const t = contentTickets[i];
295
+ if (i >= showStart) {
296
+ if (!t.isSelected.value) group.select(t.id);
297
+ } else group.unselect(t.id);
298
+ }
299
+ if (toShow > 0 && showStart > poolStart && contentTickets[showStart].type === "item") {
300
+ const sep = showStart - 1;
301
+ if (sep >= poolStart && contentTickets[sep].type === "divider" && !contentTickets[sep].isSelected.value) group.select(contentTickets[sep].id);
302
+ }
303
+ if (capacity === 0) {
304
+ if (lastIndex >= poolStart && !contentTickets[lastIndex].isSelected.value) group.select(contentTickets[lastIndex].id);
305
+ const w = overflow.width.value;
306
+ if (w < reserved + fD && contentSize > 1) group.unselect(contentTickets[1].id);
307
+ if (w < fI + __props.gap + eW + __props.gap) for (const t of ellipsisTickets) group.unselect(t.id);
308
+ if (w < fI + __props.gap) group.unselect(contentTickets[0].id);
309
+ }
310
+ }, { immediate: true });
311
+ provideBreadcrumbsRoot(__props.namespace, {
312
+ breadcrumbs,
313
+ group,
314
+ overflow,
315
+ divider: toRef(() => __props.divider),
316
+ ellipsis: toRef(() => __props.ellipsis),
317
+ isOverflowing,
318
+ ellipsisWidth,
319
+ measureElement
320
+ });
321
+ const slotProps = toRef(() => ({
322
+ isOverflowing: overflow.isOverflowing.value,
323
+ capacity: overflow.capacity.value,
324
+ total: group.size,
325
+ depth: breadcrumbs.depth.value,
326
+ isRoot: breadcrumbs.isRoot.value,
327
+ first: breadcrumbs.first,
328
+ prev: breadcrumbs.prev,
329
+ select: breadcrumbs.select,
330
+ attrs: {
331
+ "aria-label": __props.label ?? locale.t("Breadcrumbs.label", void 0, "Breadcrumb"),
332
+ "role": __props.as === "nav" ? void 0 : "navigation"
333
+ }
334
+ }));
335
+ return (_ctx, _cache) => {
336
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
337
+ ref: "container",
338
+ as: __props.as,
339
+ renderless: __props.renderless
340
+ }, slotProps.value.attrs), {
341
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
342
+ _: 3
343
+ }, 16, ["as", "renderless"]);
344
+ };
345
+ }
346
+ });
347
+ var BreadcrumbsRoot_default = _sfc_main$50;
348
+
349
+ //#endregion
350
+ //#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
351
+ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
352
+ name: "BreadcrumbsDivider",
353
+ __name: "BreadcrumbsDivider",
354
+ props: {
355
+ namespace: { default: "v0:breadcrumbs" },
356
+ id: {},
357
+ divider: {},
358
+ as: { default: "li" },
359
+ renderless: { type: Boolean }
360
+ },
361
+ setup(__props) {
362
+ const elRef = useTemplateRef("el");
363
+ const context = useBreadcrumbsRoot(__props.namespace);
364
+ const ticket = context.group.register({
365
+ id: __props.id,
366
+ type: "divider"
367
+ });
368
+ watch(() => elRef.value?.element, (element) => {
369
+ context.measureElement(ticket.index, "divider", element ?? void 0);
370
+ }, { immediate: true });
371
+ onUnmounted(() => {
372
+ context.measureElement(ticket.index, "divider", void 0);
373
+ context.group.unregister(ticket.id);
374
+ });
375
+ const divider = toRef(() => __props.divider ?? context.divider.value);
376
+ const isSelected = toRef(() => ticket.isSelected.value);
377
+ const slotProps = toRef(() => ({
378
+ id: ticket.id,
379
+ divider: divider.value,
380
+ isSelected: isSelected.value,
381
+ attrs: {
382
+ "aria-hidden": "true",
383
+ "data-selected": isSelected.value || void 0
384
+ }
385
+ }));
386
+ return (_ctx, _cache) => {
387
+ return withDirectives((openBlock(), createBlock(unref(Atom_default), mergeProps({
388
+ ref: "el",
389
+ as: __props.as,
390
+ renderless: __props.renderless
391
+ }, slotProps.value.attrs), {
392
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), () => [createTextVNode(toDisplayString(divider.value), 1)])]),
393
+ _: 3
394
+ }, 16, ["as", "renderless"])), [[vShow, isSelected.value]]);
395
+ };
396
+ }
397
+ });
398
+ var BreadcrumbsDivider_default = _sfc_main$49;
399
+
400
+ //#endregion
401
+ //#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
402
+ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
403
+ name: "BreadcrumbsEllipsis",
404
+ __name: "BreadcrumbsEllipsis",
405
+ props: {
406
+ namespace: { default: "v0:breadcrumbs" },
407
+ id: {},
408
+ ellipsis: {},
409
+ as: { default: "li" },
410
+ renderless: { type: Boolean }
411
+ },
412
+ setup(__props) {
413
+ const elRef = useTemplateRef("el");
414
+ const context = useBreadcrumbsRoot(__props.namespace);
415
+ const ticket = context.group.register({
416
+ id: __props.id,
417
+ type: "ellipsis"
418
+ });
419
+ watch(() => elRef.value?.element, (element) => {
420
+ if (!IN_BROWSER || !element) {
421
+ context.ellipsisWidth.value = 0;
422
+ return;
423
+ }
424
+ const el = element;
425
+ const style = getComputedStyle(el);
426
+ const marginX = Number.parseFloat(style.marginLeft) + Number.parseFloat(style.marginRight);
427
+ context.ellipsisWidth.value = el.offsetWidth + marginX;
428
+ }, { immediate: true });
429
+ onUnmounted(() => {
430
+ context.ellipsisWidth.value = 0;
431
+ context.group.unregister(ticket.id);
432
+ });
433
+ const resolvedEllipsis = toRef(() => __props.ellipsis ?? context.ellipsis.value);
434
+ const isSelected = toRef(() => ticket.isSelected.value);
435
+ const slotProps = toRef(() => ({
436
+ id: ticket.id,
437
+ ellipsis: resolvedEllipsis.value,
438
+ isSelected: isSelected.value,
439
+ attrs: {
440
+ "aria-hidden": "true",
441
+ "data-selected": isSelected.value || void 0
442
+ }
443
+ }));
444
+ return (_ctx, _cache) => {
445
+ return withDirectives((openBlock(), createBlock(unref(Atom_default), mergeProps({
446
+ ref: "el",
447
+ as: __props.as,
448
+ renderless: __props.renderless
449
+ }, slotProps.value.attrs), {
450
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), () => [createTextVNode(toDisplayString(resolvedEllipsis.value), 1)])]),
451
+ _: 3
452
+ }, 16, ["as", "renderless"])), [[vShow, isSelected.value]]);
453
+ };
454
+ }
455
+ });
456
+ var BreadcrumbsEllipsis_default = _sfc_main$48;
457
+
458
+ //#endregion
459
+ //#region src/components/Breadcrumbs/BreadcrumbsItem.vue
460
+ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
461
+ name: "BreadcrumbsItem",
462
+ __name: "BreadcrumbsItem",
463
+ props: {
464
+ namespace: { default: "v0:breadcrumbs" },
465
+ id: {},
466
+ value: {},
467
+ text: { default: "" },
468
+ as: { default: "li" },
469
+ renderless: { type: Boolean }
470
+ },
471
+ setup(__props) {
472
+ const elRef = useTemplateRef("el");
473
+ const context = useBreadcrumbsRoot(__props.namespace);
474
+ const crumb = context.breadcrumbs.register({
475
+ id: __props.id,
476
+ value: __props.value,
477
+ text: __props.text
478
+ });
479
+ const ticket = context.group.register({
480
+ id: crumb.id,
481
+ value: __props.value,
482
+ type: "item"
483
+ });
484
+ watch(() => elRef.value?.element, (element) => {
485
+ context.measureElement(ticket.index, "item", element ?? void 0);
486
+ }, { immediate: true });
487
+ onUnmounted(() => {
488
+ context.measureElement(ticket.index, "item", void 0);
489
+ context.group.unregister(ticket.id);
490
+ context.breadcrumbs.unregister(crumb.id);
491
+ });
492
+ const isSelected = toRef(() => ticket.isSelected.value);
493
+ const slotProps = toRef(() => ({
494
+ id: ticket.id,
495
+ isSelected: isSelected.value,
496
+ attrs: { "data-selected": isSelected.value || void 0 }
497
+ }));
498
+ return (_ctx, _cache) => {
499
+ return withDirectives((openBlock(), createBlock(unref(Atom_default), mergeProps({
500
+ ref: "el",
501
+ as: __props.as,
502
+ renderless: __props.renderless
503
+ }, slotProps.value.attrs), {
504
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
505
+ _: 3
506
+ }, 16, ["as", "renderless"])), [[vShow, isSelected.value]]);
507
+ };
508
+ }
509
+ });
510
+ var BreadcrumbsItem_default = _sfc_main$47;
511
+
512
+ //#endregion
513
+ //#region src/components/Breadcrumbs/BreadcrumbsLink.vue
514
+ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
515
+ name: "BreadcrumbsLink",
516
+ __name: "BreadcrumbsLink",
517
+ props: {
518
+ as: { default: "a" },
519
+ renderless: { type: Boolean }
520
+ },
521
+ setup(__props) {
522
+ return (_ctx, _cache) => {
523
+ return openBlock(), createBlock(unref(Atom_default), {
524
+ as: __props.as,
525
+ renderless: __props.renderless
526
+ }, {
527
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
528
+ _: 3
529
+ }, 8, ["as", "renderless"]);
530
+ };
531
+ }
532
+ });
533
+ var BreadcrumbsLink_default = _sfc_main$46;
534
+
535
+ //#endregion
536
+ //#region src/components/Breadcrumbs/BreadcrumbsList.vue
537
+ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
538
+ name: "BreadcrumbsList",
539
+ __name: "BreadcrumbsList",
540
+ props: {
541
+ as: { default: "ol" },
542
+ renderless: { type: Boolean }
543
+ },
544
+ setup(__props) {
545
+ const slotProps = toRef(() => ({ attrs: { role: "list" } }));
546
+ return (_ctx, _cache) => {
547
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
548
+ as: __props.as,
549
+ renderless: __props.renderless
550
+ }, slotProps.value.attrs), {
551
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
552
+ _: 3
553
+ }, 16, ["as", "renderless"]);
554
+ };
555
+ }
556
+ });
557
+ var BreadcrumbsList_default = _sfc_main$45;
558
+
559
+ //#endregion
560
+ //#region src/components/Breadcrumbs/BreadcrumbsPage.vue
561
+ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
562
+ name: "BreadcrumbsPage",
563
+ __name: "BreadcrumbsPage",
564
+ props: {
565
+ as: { default: "span" },
566
+ renderless: { type: Boolean }
567
+ },
568
+ setup(__props) {
569
+ const slotProps = toRef(() => ({ attrs: { "aria-current": "page" } }));
570
+ return (_ctx, _cache) => {
571
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
572
+ as: __props.as,
573
+ renderless: __props.renderless
574
+ }, slotProps.value.attrs), {
575
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
576
+ _: 3
577
+ }, 16, ["as", "renderless"]);
578
+ };
579
+ }
580
+ });
581
+ var BreadcrumbsPage_default = _sfc_main$44;
582
+
583
+ //#endregion
584
+ //#region src/components/Breadcrumbs/index.ts
585
+ /**
586
+ * Breadcrumbs component for responsive navigation trails.
587
+ *
588
+ * @see https://0.vuetifyjs.com/components/breadcrumbs
589
+ */
590
+ const Breadcrumbs = {
591
+ Root: BreadcrumbsRoot_default,
592
+ List: BreadcrumbsList_default,
593
+ Item: BreadcrumbsItem_default,
594
+ Link: BreadcrumbsLink_default,
595
+ Page: BreadcrumbsPage_default,
596
+ Divider: BreadcrumbsDivider_default,
597
+ Ellipsis: BreadcrumbsEllipsis_default
598
+ };
599
+
198
600
  //#endregion
199
601
  //#region src/components/Checkbox/CheckboxGroup.vue
200
602
  const [useCheckboxGroup, provideCheckboxGroup] = createContext();
201
- const _sfc_main$42 = /* @__PURE__ */ defineComponent({
603
+ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
202
604
  name: "CheckboxGroup",
203
605
  __name: "CheckboxGroup",
204
606
  props: /* @__PURE__ */ mergeModels({
@@ -264,12 +666,12 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
264
666
  };
265
667
  }
266
668
  });
267
- var CheckboxGroup_default = _sfc_main$42;
669
+ var CheckboxGroup_default = _sfc_main$43;
268
670
 
269
671
  //#endregion
270
672
  //#region src/components/Checkbox/CheckboxRoot.vue
271
673
  const [useCheckboxRoot, provideCheckboxRoot] = createContext();
272
- const _sfc_main$41 = /* @__PURE__ */ defineComponent({
674
+ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
273
675
  name: "CheckboxRoot",
274
676
  inheritAttrs: false,
275
677
  __name: "CheckboxRoot",
@@ -403,7 +805,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
403
805
  };
404
806
  }
405
807
  });
406
- var CheckboxRoot_default = _sfc_main$41;
808
+ var CheckboxRoot_default = _sfc_main$42;
407
809
 
408
810
  //#endregion
409
811
  //#region src/components/Checkbox/CheckboxHiddenInput.vue
@@ -425,7 +827,7 @@ const visuallyHiddenStyle$1 = {
425
827
  whiteSpace: "nowrap",
426
828
  border: "0"
427
829
  };
428
- const _sfc_main$40 = /* @__PURE__ */ defineComponent({
830
+ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
429
831
  name: "CheckboxHiddenInput",
430
832
  __name: "CheckboxHiddenInput",
431
833
  props: {
@@ -461,11 +863,11 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
461
863
  };
462
864
  }
463
865
  });
464
- var CheckboxHiddenInput_default = _sfc_main$40;
866
+ var CheckboxHiddenInput_default = _sfc_main$41;
465
867
 
466
868
  //#endregion
467
869
  //#region src/components/Checkbox/CheckboxIndicator.vue
468
- const _sfc_main$39 = /* @__PURE__ */ defineComponent({
870
+ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
469
871
  name: "CheckboxIndicator",
470
872
  __name: "CheckboxIndicator",
471
873
  props: {
@@ -498,11 +900,11 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
498
900
  };
499
901
  }
500
902
  });
501
- var CheckboxIndicator_default = _sfc_main$39;
903
+ var CheckboxIndicator_default = _sfc_main$40;
502
904
 
503
905
  //#endregion
504
906
  //#region src/components/Checkbox/CheckboxSelectAll.vue
505
- const _sfc_main$38 = /* @__PURE__ */ defineComponent({
907
+ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
506
908
  name: "CheckboxSelectAll",
507
909
  inheritAttrs: false,
508
910
  __name: "CheckboxSelectAll",
@@ -588,7 +990,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
588
990
  };
589
991
  }
590
992
  });
591
- var CheckboxSelectAll_default = _sfc_main$38;
993
+ var CheckboxSelectAll_default = _sfc_main$39;
592
994
 
593
995
  //#endregion
594
996
  //#region src/components/Checkbox/index.ts
@@ -624,7 +1026,7 @@ const Checkbox = {
624
1026
  //#endregion
625
1027
  //#region src/components/Dialog/DialogRoot.vue
626
1028
  const [useDialogContext, provideDialogContext] = createContext();
627
- const _sfc_main$37 = /* @__PURE__ */ defineComponent({
1029
+ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
628
1030
  name: "DialogRoot",
629
1031
  __name: "DialogRoot",
630
1032
  props: /* @__PURE__ */ mergeModels({
@@ -639,7 +1041,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
639
1041
  },
640
1042
  "modelModifiers": {}
641
1043
  }),
642
- emits: /* @__PURE__ */ mergeModels(["update:modelValue"], ["update:modelValue"]),
1044
+ emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
643
1045
  setup(__props) {
644
1046
  const isOpen = useModel(__props, "modelValue");
645
1047
  const id = __props.id ?? useId();
@@ -676,11 +1078,11 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
676
1078
  };
677
1079
  }
678
1080
  });
679
- var DialogRoot_default = _sfc_main$37;
1081
+ var DialogRoot_default = _sfc_main$38;
680
1082
 
681
1083
  //#endregion
682
1084
  //#region src/components/Dialog/DialogClose.vue
683
- const _sfc_main$36 = /* @__PURE__ */ defineComponent({
1085
+ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
684
1086
  name: "DialogClose",
685
1087
  __name: "DialogClose",
686
1088
  props: {
@@ -708,11 +1110,11 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
708
1110
  };
709
1111
  }
710
1112
  });
711
- var DialogClose_default = _sfc_main$36;
1113
+ var DialogClose_default = _sfc_main$37;
712
1114
 
713
1115
  //#endregion
714
1116
  //#region src/components/Dialog/DialogContent.vue
715
- const _sfc_main$35 = /* @__PURE__ */ defineComponent({
1117
+ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
716
1118
  name: "DialogContent",
717
1119
  __name: "DialogContent",
718
1120
  props: {
@@ -721,6 +1123,10 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
721
1123
  type: Boolean,
722
1124
  default: true
723
1125
  },
1126
+ blocking: {
1127
+ type: Boolean,
1128
+ default: false
1129
+ },
724
1130
  as: { default: "dialog" },
725
1131
  renderless: { type: Boolean }
726
1132
  },
@@ -729,15 +1135,23 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
729
1135
  const emit = __emit;
730
1136
  const context = useDialogContext(__props.namespace);
731
1137
  const contentRef = useTemplateRef("content");
732
- onMounted(() => {
733
- if (context.isOpen.value) (contentRef.value?.element)?.showModal();
1138
+ const ticket = useStack().register({
1139
+ onDismiss: () => context.close(),
1140
+ blocking: __props.blocking
734
1141
  });
1142
+ watch(context.isOpen, (isOpen) => {
1143
+ if (isOpen) ticket.select();
1144
+ else ticket.unselect();
1145
+ }, { immediate: true });
735
1146
  watch(context.isOpen, (isOpen) => {
736
1147
  const element = contentRef.value?.element;
737
1148
  if (!element) return;
738
1149
  if (isOpen) element.showModal?.();
739
1150
  else element.close?.();
740
1151
  });
1152
+ onMounted(() => {
1153
+ if (context.isOpen.value) (contentRef.value?.element)?.showModal();
1154
+ });
741
1155
  useToggleScope(
742
1156
  () => __props.closeOnClickOutside && context.isOpen.value,
743
1157
  /* v8 ignore start -- callback tested via useClickOutside */
@@ -754,8 +1168,11 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
754
1168
  context.isOpen.value = false;
755
1169
  emit("close", e);
756
1170
  }
1171
+ const styles = toRef(() => ({ zIndex: ticket.zIndex.value }));
757
1172
  const slotProps = toRef(() => ({
758
1173
  isOpen: context.isOpen.value,
1174
+ globalTop: ticket.globalTop.value,
1175
+ zIndex: ticket.zIndex.value,
759
1176
  attrs: {
760
1177
  "id": context.id,
761
1178
  "role": "dialog",
@@ -767,22 +1184,23 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
767
1184
  return (_ctx, _cache) => {
768
1185
  return openBlock(), createBlock(unref(Atom_default), mergeProps({
769
1186
  ref: "content",
770
- as: __props.as
1187
+ as: __props.as,
1188
+ style: styles.value
771
1189
  }, slotProps.value.attrs, {
772
1190
  onCancel,
773
1191
  onClose
774
1192
  }), {
775
1193
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
776
1194
  _: 3
777
- }, 16, ["as"]);
1195
+ }, 16, ["as", "style"]);
778
1196
  };
779
1197
  }
780
1198
  });
781
- var DialogContent_default = _sfc_main$35;
1199
+ var DialogContent_default = _sfc_main$36;
782
1200
 
783
1201
  //#endregion
784
1202
  //#region src/components/Dialog/DialogDescription.vue
785
- const _sfc_main$34 = /* @__PURE__ */ defineComponent({
1203
+ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
786
1204
  name: "DialogDescription",
787
1205
  __name: "DialogDescription",
788
1206
  props: {
@@ -801,11 +1219,11 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
801
1219
  };
802
1220
  }
803
1221
  });
804
- var DialogDescription_default = _sfc_main$34;
1222
+ var DialogDescription_default = _sfc_main$35;
805
1223
 
806
1224
  //#endregion
807
1225
  //#region src/components/Dialog/DialogTitle.vue
808
- const _sfc_main$33 = /* @__PURE__ */ defineComponent({
1226
+ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
809
1227
  name: "DialogTitle",
810
1228
  __name: "DialogTitle",
811
1229
  props: {
@@ -824,11 +1242,11 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
824
1242
  };
825
1243
  }
826
1244
  });
827
- var DialogTitle_default = _sfc_main$33;
1245
+ var DialogTitle_default = _sfc_main$34;
828
1246
 
829
1247
  //#endregion
830
1248
  //#region src/components/Dialog/DialogActivator.vue
831
- const _sfc_main$32 = /* @__PURE__ */ defineComponent({
1249
+ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
832
1250
  name: "DialogActivator",
833
1251
  __name: "DialogActivator",
834
1252
  props: {
@@ -858,7 +1276,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
858
1276
  };
859
1277
  }
860
1278
  });
861
- var DialogActivator_default = _sfc_main$32;
1279
+ var DialogActivator_default = _sfc_main$33;
862
1280
 
863
1281
  //#endregion
864
1282
  //#region src/components/Dialog/index.ts
@@ -902,8 +1320,8 @@ const Dialog = {
902
1320
 
903
1321
  //#endregion
904
1322
  //#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
905
- const [useExpansionPanelRoot, provideExpansionPanelSelection] = createContext();
906
- const _sfc_main$31 = /* @__PURE__ */ defineComponent({
1323
+ const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext();
1324
+ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
907
1325
  name: "ExpansionPanelRoot",
908
1326
  __name: "ExpansionPanelRoot",
909
1327
  props: /* @__PURE__ */ mergeModels({
@@ -948,7 +1366,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
948
1366
  unselect: selection.unselect,
949
1367
  toggle: selection.toggle
950
1368
  }));
951
- provideExpansionPanelSelection(__props.namespace, selection);
1369
+ provideExpansionPanelRoot(__props.namespace, selection);
952
1370
  return (_ctx, _cache) => {
953
1371
  return openBlock(), createBlock(unref(Atom_default), {
954
1372
  as: __props.as,
@@ -960,12 +1378,12 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
960
1378
  };
961
1379
  }
962
1380
  });
963
- var ExpansionPanelRoot_default = _sfc_main$31;
1381
+ var ExpansionPanelRoot_default = _sfc_main$32;
964
1382
 
965
1383
  //#endregion
966
1384
  //#region src/components/ExpansionPanel/ExpansionPanelItem.vue
967
1385
  const [useExpansionPanelItem, provideExpansionPanelItem] = createContext({ suffix: "item" });
968
- const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1386
+ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
969
1387
  name: "ExpansionPanelItem",
970
1388
  __name: "ExpansionPanelItem",
971
1389
  props: {
@@ -1009,11 +1427,11 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1009
1427
  };
1010
1428
  }
1011
1429
  });
1012
- var ExpansionPanelItem_default = _sfc_main$30;
1430
+ var ExpansionPanelItem_default = _sfc_main$31;
1013
1431
 
1014
1432
  //#endregion
1015
1433
  //#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
1016
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1434
+ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1017
1435
  name: "ExpansionPanelActivator",
1018
1436
  __name: "ExpansionPanelActivator",
1019
1437
  props: {
@@ -1059,11 +1477,11 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1059
1477
  };
1060
1478
  }
1061
1479
  });
1062
- var ExpansionPanelActivator_default = _sfc_main$29;
1480
+ var ExpansionPanelActivator_default = _sfc_main$30;
1063
1481
 
1064
1482
  //#endregion
1065
1483
  //#region src/components/ExpansionPanel/ExpansionPanelContent.vue
1066
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1484
+ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1067
1485
  name: "ExpansionPanelContent",
1068
1486
  __name: "ExpansionPanelContent",
1069
1487
  props: {
@@ -1094,11 +1512,11 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1094
1512
  };
1095
1513
  }
1096
1514
  });
1097
- var ExpansionPanelContent_default = _sfc_main$28;
1515
+ var ExpansionPanelContent_default = _sfc_main$29;
1098
1516
 
1099
1517
  //#endregion
1100
1518
  //#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
1101
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1519
+ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1102
1520
  name: "ExpansionPanelHeader",
1103
1521
  __name: "ExpansionPanelHeader",
1104
1522
  props: {
@@ -1123,7 +1541,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1123
1541
  };
1124
1542
  }
1125
1543
  });
1126
- var ExpansionPanelHeader_default = _sfc_main$27;
1544
+ var ExpansionPanelHeader_default = _sfc_main$28;
1127
1545
 
1128
1546
  //#endregion
1129
1547
  //#region src/components/ExpansionPanel/index.ts
@@ -1143,7 +1561,7 @@ const ExpansionPanel = {
1143
1561
  //#endregion
1144
1562
  //#region src/components/Group/GroupRoot.vue
1145
1563
  const [useGroupRoot, provideGroupRoot] = createContext();
1146
- const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1564
+ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1147
1565
  name: "GroupRoot",
1148
1566
  __name: "GroupRoot",
1149
1567
  props: /* @__PURE__ */ mergeModels({
@@ -1193,11 +1611,11 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1193
1611
  };
1194
1612
  }
1195
1613
  });
1196
- var GroupRoot_default = _sfc_main$26;
1614
+ var GroupRoot_default = _sfc_main$27;
1197
1615
 
1198
1616
  //#endregion
1199
1617
  //#region src/components/Group/GroupItem.vue
1200
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1618
+ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1201
1619
  name: "GroupItem",
1202
1620
  __name: "GroupItem",
1203
1621
  props: {
@@ -1246,7 +1664,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1246
1664
  };
1247
1665
  }
1248
1666
  });
1249
- var GroupItem_default = _sfc_main$25;
1667
+ var GroupItem_default = _sfc_main$26;
1250
1668
 
1251
1669
  //#endregion
1252
1670
  //#region src/components/Group/index.ts
@@ -1265,7 +1683,7 @@ const Group = {
1265
1683
  const [usePaginationRoot, providePaginationRoot] = createContext();
1266
1684
  const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
1267
1685
  const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
1268
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1686
+ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1269
1687
  name: "PaginationRoot",
1270
1688
  __name: "PaginationRoot",
1271
1689
  props: /* @__PURE__ */ mergeModels({
@@ -1365,11 +1783,11 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1365
1783
  };
1366
1784
  }
1367
1785
  });
1368
- var PaginationRoot_default = _sfc_main$24;
1786
+ var PaginationRoot_default = _sfc_main$25;
1369
1787
 
1370
1788
  //#endregion
1371
1789
  //#region src/components/Pagination/PaginationEllipsis.vue
1372
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1790
+ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1373
1791
  name: "PaginationEllipsis",
1374
1792
  __name: "PaginationEllipsis",
1375
1793
  props: {
@@ -1410,11 +1828,11 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1410
1828
  };
1411
1829
  }
1412
1830
  });
1413
- var PaginationEllipsis_default = _sfc_main$23;
1831
+ var PaginationEllipsis_default = _sfc_main$24;
1414
1832
 
1415
1833
  //#endregion
1416
1834
  //#region src/components/Pagination/PaginationFirst.vue
1417
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1835
+ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1418
1836
  name: "PaginationFirst",
1419
1837
  __name: "PaginationFirst",
1420
1838
  props: {
@@ -1469,11 +1887,11 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1469
1887
  };
1470
1888
  }
1471
1889
  });
1472
- var PaginationFirst_default = _sfc_main$22;
1890
+ var PaginationFirst_default = _sfc_main$23;
1473
1891
 
1474
1892
  //#endregion
1475
1893
  //#region src/components/Pagination/PaginationItem.vue
1476
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1894
+ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1477
1895
  name: "PaginationItem",
1478
1896
  __name: "PaginationItem",
1479
1897
  props: {
@@ -1539,11 +1957,11 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1539
1957
  };
1540
1958
  }
1541
1959
  });
1542
- var PaginationItem_default = _sfc_main$21;
1960
+ var PaginationItem_default = _sfc_main$22;
1543
1961
 
1544
1962
  //#endregion
1545
1963
  //#region src/components/Pagination/PaginationLast.vue
1546
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1964
+ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1547
1965
  name: "PaginationLast",
1548
1966
  __name: "PaginationLast",
1549
1967
  props: {
@@ -1598,11 +2016,11 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1598
2016
  };
1599
2017
  }
1600
2018
  });
1601
- var PaginationLast_default = _sfc_main$20;
2019
+ var PaginationLast_default = _sfc_main$21;
1602
2020
 
1603
2021
  //#endregion
1604
2022
  //#region src/components/Pagination/PaginationNext.vue
1605
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2023
+ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1606
2024
  name: "PaginationNext",
1607
2025
  __name: "PaginationNext",
1608
2026
  props: {
@@ -1657,11 +2075,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1657
2075
  };
1658
2076
  }
1659
2077
  });
1660
- var PaginationNext_default = _sfc_main$19;
2078
+ var PaginationNext_default = _sfc_main$20;
1661
2079
 
1662
2080
  //#endregion
1663
2081
  //#region src/components/Pagination/PaginationPrev.vue
1664
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2082
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1665
2083
  name: "PaginationPrev",
1666
2084
  __name: "PaginationPrev",
1667
2085
  props: {
@@ -1716,11 +2134,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1716
2134
  };
1717
2135
  }
1718
2136
  });
1719
- var PaginationPrev_default = _sfc_main$18;
2137
+ var PaginationPrev_default = _sfc_main$19;
1720
2138
 
1721
2139
  //#endregion
1722
2140
  //#region src/components/Pagination/PaginationStatus.vue
1723
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2141
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1724
2142
  name: "PaginationStatus",
1725
2143
  __name: "PaginationStatus",
1726
2144
  props: {
@@ -1764,7 +2182,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1764
2182
  };
1765
2183
  }
1766
2184
  });
1767
- var PaginationStatus_default = _sfc_main$17;
2185
+ var PaginationStatus_default = _sfc_main$18;
1768
2186
 
1769
2187
  //#endregion
1770
2188
  //#region src/components/Pagination/index.ts
@@ -1787,7 +2205,7 @@ const Pagination = {
1787
2205
  //#endregion
1788
2206
  //#region src/components/Popover/PopoverRoot.vue
1789
2207
  const [usePopoverContext, providePopoverContext] = createContext("Popover");
1790
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2208
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1791
2209
  name: "PopoverRoot",
1792
2210
  __name: "PopoverRoot",
1793
2211
  props: /* @__PURE__ */ mergeModels({
@@ -1829,11 +2247,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1829
2247
  };
1830
2248
  }
1831
2249
  });
1832
- var PopoverRoot_default = _sfc_main$16;
2250
+ var PopoverRoot_default = _sfc_main$17;
1833
2251
 
1834
2252
  //#endregion
1835
2253
  //#region src/components/Popover/PopoverActivator.vue
1836
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2254
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1837
2255
  name: "PopoverActivator",
1838
2256
  __name: "PopoverActivator",
1839
2257
  props: {
@@ -1865,11 +2283,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1865
2283
  };
1866
2284
  }
1867
2285
  });
1868
- var PopoverActivator_default = _sfc_main$15;
2286
+ var PopoverActivator_default = _sfc_main$16;
1869
2287
 
1870
2288
  //#endregion
1871
2289
  //#region src/components/Popover/PopoverContent.vue
1872
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2290
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1873
2291
  name: "PopoverContent",
1874
2292
  __name: "PopoverContent",
1875
2293
  props: {
@@ -1924,6 +2342,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1924
2342
  return openBlock(), createBlock(unref(Atom_default), mergeProps({
1925
2343
  ref_key: "ref",
1926
2344
  ref: ref$1,
2345
+ as: props.as,
1927
2346
  style: style.value
1928
2347
  }, slotProps.value.attrs, {
1929
2348
  onBeforetoggle: onBeforeToggle,
@@ -1931,11 +2350,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1931
2350
  }), {
1932
2351
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1933
2352
  _: 3
1934
- }, 16, ["style"]);
2353
+ }, 16, ["as", "style"]);
1935
2354
  };
1936
2355
  }
1937
2356
  });
1938
- var PopoverContent_default = _sfc_main$14;
2357
+ var PopoverContent_default = _sfc_main$15;
1939
2358
 
1940
2359
  //#endregion
1941
2360
  //#region src/components/Popover/index.ts
@@ -1953,7 +2372,7 @@ const Popover = {
1953
2372
  //#endregion
1954
2373
  //#region src/components/Radio/RadioGroup.vue
1955
2374
  const [useRadioGroup, provideRadioGroup] = createContext();
1956
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2375
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1957
2376
  name: "RadioGroup",
1958
2377
  __name: "RadioGroup",
1959
2378
  props: /* @__PURE__ */ mergeModels({
@@ -2015,12 +2434,12 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2015
2434
  };
2016
2435
  }
2017
2436
  });
2018
- var RadioGroup_default = _sfc_main$13;
2437
+ var RadioGroup_default = _sfc_main$14;
2019
2438
 
2020
2439
  //#endregion
2021
2440
  //#region src/components/Radio/RadioRoot.vue
2022
2441
  const [useRadioRoot, provideRadioRoot] = createContext();
2023
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2442
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2024
2443
  name: "RadioRoot",
2025
2444
  inheritAttrs: false,
2026
2445
  __name: "RadioRoot",
@@ -2145,7 +2564,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2145
2564
  };
2146
2565
  }
2147
2566
  });
2148
- var RadioRoot_default = _sfc_main$12;
2567
+ var RadioRoot_default = _sfc_main$13;
2149
2568
 
2150
2569
  //#endregion
2151
2570
  //#region src/components/Radio/RadioHiddenInput.vue
@@ -2167,7 +2586,7 @@ const visuallyHiddenStyle = {
2167
2586
  whiteSpace: "nowrap",
2168
2587
  border: "0"
2169
2588
  };
2170
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2589
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2171
2590
  name: "RadioHiddenInput",
2172
2591
  __name: "RadioHiddenInput",
2173
2592
  props: {
@@ -2202,11 +2621,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2202
2621
  };
2203
2622
  }
2204
2623
  });
2205
- var RadioHiddenInput_default = _sfc_main$11;
2624
+ var RadioHiddenInput_default = _sfc_main$12;
2206
2625
 
2207
2626
  //#endregion
2208
2627
  //#region src/components/Radio/RadioIndicator.vue
2209
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2628
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2210
2629
  name: "RadioIndicator",
2211
2630
  __name: "RadioIndicator",
2212
2631
  props: {
@@ -2236,7 +2655,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2236
2655
  };
2237
2656
  }
2238
2657
  });
2239
- var RadioIndicator_default = _sfc_main$10;
2658
+ var RadioIndicator_default = _sfc_main$11;
2240
2659
 
2241
2660
  //#endregion
2242
2661
  //#region src/components/Radio/index.ts
@@ -2279,6 +2698,85 @@ const Radio = {
2279
2698
  Root: RadioRoot_default
2280
2699
  };
2281
2700
 
2701
+ //#endregion
2702
+ //#region src/components/Scrim/Scrim.vue
2703
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2704
+ name: "Scrim",
2705
+ inheritAttrs: false,
2706
+ __name: "Scrim",
2707
+ props: {
2708
+ transition: { default: "fade" },
2709
+ teleport: {
2710
+ type: Boolean,
2711
+ default: true
2712
+ },
2713
+ teleportTo: { default: "body" },
2714
+ as: { default: "div" },
2715
+ renderless: { type: Boolean }
2716
+ },
2717
+ setup(__props) {
2718
+ const attrs = useAttrs();
2719
+ const stack = useStack();
2720
+ const tickets = computed(() => Array.from(stack.selectedItems.value));
2721
+ function onDismiss(ticket) {
2722
+ if (!ticket.blocking) ticket.dismiss();
2723
+ }
2724
+ function getSlotProps(ticket) {
2725
+ return {
2726
+ ticket,
2727
+ zIndex: ticket.zIndex.value - 1,
2728
+ isBlocking: ticket.blocking,
2729
+ dismiss: () => onDismiss(ticket)
2730
+ };
2731
+ }
2732
+ function getStyle(ticket) {
2733
+ return { zIndex: ticket.zIndex.value - 1 };
2734
+ }
2735
+ return (_ctx, _cache) => {
2736
+ return __props.teleport ? (openBlock(), createBlock(Teleport, {
2737
+ key: 0,
2738
+ to: __props.teleportTo
2739
+ }, [createVNode(TransitionGroup, { name: __props.transition }, {
2740
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
2741
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
2742
+ key: ticket.id,
2743
+ as: __props.as,
2744
+ style: getStyle(ticket)
2745
+ }, { ref_for: true }, unref(attrs), { onClick: () => onDismiss(ticket) }), {
2746
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, getSlotProps(ticket)))]),
2747
+ _: 2
2748
+ }, 1040, [
2749
+ "as",
2750
+ "style",
2751
+ "onClick"
2752
+ ]);
2753
+ }), 128))]),
2754
+ _: 3
2755
+ }, 8, ["name"])], 8, ["to"])) : (openBlock(), createBlock(TransitionGroup, {
2756
+ key: 1,
2757
+ name: __props.transition
2758
+ }, {
2759
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
2760
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
2761
+ key: ticket.id,
2762
+ as: __props.as,
2763
+ style: getStyle(ticket)
2764
+ }, { ref_for: true }, unref(attrs), { onClick: () => onDismiss(ticket) }), {
2765
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, getSlotProps(ticket)))]),
2766
+ _: 2
2767
+ }, 1040, [
2768
+ "as",
2769
+ "style",
2770
+ "onClick"
2771
+ ]);
2772
+ }), 128))]),
2773
+ _: 3
2774
+ }, 8, ["name"]));
2775
+ };
2776
+ }
2777
+ });
2778
+ var Scrim_default = _sfc_main$10;
2779
+
2282
2780
  //#endregion
2283
2781
  //#region src/components/Selection/SelectionRoot.vue
2284
2782
  const [useSelectionRoot, provideSelectionRoot] = createContext();
@@ -2934,4 +3432,4 @@ const Tabs = {
2934
3432
  };
2935
3433
 
2936
3434
  //#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 };
3435
+ 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 };