@vuetify/v0 0.2.1 → 1.0.0-alpha.1

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 (113) hide show
  1. package/README.md +5 -1
  2. package/dist/{adapter-CCIeOzqr.mjs → adapter-CDpOQ8sn.mjs} +29 -20
  3. package/dist/{adapter-CcHB7rs3.d.mts → adapter-DoziXEzS.d.mts} +1 -1
  4. package/dist/{adapter-Drq1v5wV.mjs → adapter-DtgIrQsG.mjs} +5 -2
  5. package/dist/{adapter-BZjmDNJF.d.mts → adapter-J7ude3gO.d.mts} +2 -2
  6. package/dist/adapters-CFjrKxA2.mjs +5 -0
  7. package/dist/adapters-CiCexgsk.mjs +4 -0
  8. package/dist/{adapters-Cd8NDs18.mjs → adapters-Da2twiUn.mjs} +1 -1
  9. package/dist/adapters-DegUcfkd.mjs +2 -0
  10. package/dist/browser/index.js +10113 -8547
  11. package/dist/components/index.d.mts +3 -3
  12. package/dist/components/index.mjs +2 -2
  13. package/dist/{components-C142GPl_.mjs → components-CaPQCjo5.mjs} +1356 -386
  14. package/dist/composables/index.d.mts +11 -11
  15. package/dist/composables/index.mjs +24 -24
  16. package/dist/constants/index.mjs +2 -2
  17. package/dist/{createDataTable-DKE5QsMe.mjs → createDataTable-B4UflKnT.mjs} +100 -30
  18. package/dist/{createGroup-CzRZ9COh.mjs → createGroup-BC2nfttd.mjs} +24 -9
  19. package/dist/{createPagination-Tp4C4He8.mjs → createPagination-qvJkcTUY.mjs} +11 -7
  20. package/dist/{createSelection-Dsb3I0zm.mjs → createSelection-BA9guLah.mjs} +28 -21
  21. package/dist/{createSingle-C7IGUjP6.mjs → createSingle-BHxHLZeg.mjs} +13 -17
  22. package/dist/{createTokens-CHTawmud.mjs → createTokens-oJAeh262.mjs} +27 -15
  23. package/dist/{createTrinity-vvXk0ARD.mjs → createTrinity-BTCs1pYx.mjs} +34 -31
  24. package/dist/data-table/adapters/client/index.d.mts +1 -1
  25. package/dist/data-table/adapters/client/index.mjs +1 -1
  26. package/dist/data-table/adapters/index.d.mts +4 -4
  27. package/dist/data-table/adapters/index.mjs +5 -5
  28. package/dist/data-table/adapters/server/index.d.mts +1 -1
  29. package/dist/data-table/adapters/server/index.mjs +1 -1
  30. package/dist/data-table/adapters/virtual/index.d.mts +1 -1
  31. package/dist/data-table/adapters/virtual/index.mjs +1 -1
  32. package/dist/data-table/index.d.mts +6 -6
  33. package/dist/data-table/index.mjs +6 -6
  34. package/dist/date/index.mjs +1 -1
  35. package/dist/features/adapters/posthog/index.mjs +1 -1
  36. package/dist/features/index.d.mts +1 -1
  37. package/dist/features/index.mjs +1 -1
  38. package/dist/{globals-BrRJkuSY.mjs → globals-Berkg6mP.mjs} +1 -1
  39. package/dist/{htmlElements-DcYtv0hg.mjs → htmlElements-CIePKaTX.mjs} +1 -1
  40. package/dist/{index-76fQGkkO.d.mts → index-D4odwkZg.d.mts} +8 -11
  41. package/dist/{index-B_XLHftL.d.mts → index-DFvLSoto.d.mts} +296 -258
  42. package/dist/{index-DoGxDgdN.d.mts → index-DVPq3_Fz.d.mts} +55 -4
  43. package/dist/{index-BFuSOgUi.d.mts → index-Gk3x_7zD.d.mts} +1570 -437
  44. package/dist/{index-BUsrN1vL.d.mts → index-TtSSvHY6.d.mts} +1 -1
  45. package/dist/index.d.mts +12 -12
  46. package/dist/index.mjs +27 -27
  47. package/dist/json/attributes.json +276 -0
  48. package/dist/json/importMap.json +60 -0
  49. package/dist/json/tags.json +136 -2
  50. package/dist/json/web-types.json +1183 -344
  51. package/dist/locale/adapters/index.d.mts +2 -2
  52. package/dist/locale/adapters/index.mjs +2 -2
  53. package/dist/locale/adapters/v0/index.d.mts +1 -1
  54. package/dist/locale/adapters/v0/index.mjs +1 -1
  55. package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
  56. package/dist/locale/index.d.mts +3 -3
  57. package/dist/locale/index.mjs +2 -2
  58. package/dist/logger/adapters/index.mjs +2 -2
  59. package/dist/logger/adapters/v0/index.mjs +1 -1
  60. package/dist/logger/index.d.mts +1 -1
  61. package/dist/logger/index.mjs +2 -2
  62. package/dist/notifications/index.d.mts +1 -1
  63. package/dist/notifications/index.mjs +1 -1
  64. package/dist/palettes/ant/index.d.mts +1 -1
  65. package/dist/palettes/index.d.mts +2 -2
  66. package/dist/palettes/material/index.d.mts +1 -1
  67. package/dist/palettes/md1/index.d.mts +1 -1
  68. package/dist/palettes/md2/index.d.mts +1 -1
  69. package/dist/palettes/radix/index.d.mts +1 -1
  70. package/dist/palettes/tailwind/index.d.mts +1 -1
  71. package/dist/permissions/adapters/index.d.mts +1 -1
  72. package/dist/permissions/adapters/v0/index.d.mts +1 -1
  73. package/dist/permissions/index.d.mts +1 -1
  74. package/dist/permissions/index.mjs +1 -1
  75. package/dist/{posthog-Ccm8FQfD.mjs → posthog-CPvNHMUb.mjs} +1 -1
  76. package/dist/rules/index.d.mts +1 -1
  77. package/dist/rules/index.mjs +1 -1
  78. package/dist/{server-CIftA0pK.mjs → server-B6OtHgBT.mjs} +1 -1
  79. package/dist/{server-DNUTnISs.d.mts → server-ZiHJ4tfq.d.mts} +1 -1
  80. package/dist/storage/index.d.mts +1 -1
  81. package/dist/storage/index.mjs +1 -1
  82. package/dist/theme/adapters/index.d.mts +1 -1
  83. package/dist/theme/adapters/index.mjs +4 -4
  84. package/dist/theme/adapters/unhead/index.d.mts +1 -1
  85. package/dist/theme/adapters/unhead/index.mjs +1 -1
  86. package/dist/theme/adapters/v0/index.d.mts +1 -1
  87. package/dist/theme/adapters/v0/index.mjs +1 -1
  88. package/dist/theme/index.d.mts +1 -1
  89. package/dist/theme/index.mjs +3 -3
  90. package/dist/{toArray-doLQVI56.mjs → toArray-BA_JxFPv.mjs} +9 -0
  91. package/dist/{unhead--58lO3Z-.mjs → unhead-D2YqAcmF.mjs} +2 -2
  92. package/dist/{useClickOutside-BjO3Nty9.mjs → useClickOutside-B9a6Jext.mjs} +572 -160
  93. package/dist/{useFeatures-D9bGOvh4.mjs → useFeatures-wgMwaQ5W.mjs} +14 -5
  94. package/dist/{useLocale-BRQTt3Ka.mjs → useLocale-qMmVnAwS.mjs} +14 -5
  95. package/dist/{useLogger-Daz-Zr0z.mjs → useLogger-DFIRqm-N.mjs} +33 -16
  96. package/dist/{usePermissions-Yp3guoLH.mjs → usePermissions-tZhkBJmq.mjs} +11 -3
  97. package/dist/{useRules-BFPH7q8w.mjs → useRules-D3UXEtu7.mjs} +10 -2
  98. package/dist/{useTheme-zRa0Nh_g.mjs → useTheme-BeD__R8t.mjs} +14 -5
  99. package/dist/utilities/index.mjs +5 -5
  100. package/dist/{v0-CcV0VwYd.mjs → v0-6XptGYVx.mjs} +2 -2
  101. package/dist/{v0-DOq_Ia5H.mjs → v0-BG7RhKBv.mjs} +2 -2
  102. package/dist/{v0-Bno8FQ_F.mjs → v0-CNitYI9N.mjs} +1 -1
  103. package/dist/{v0-BpgPZ1qB.d.mts → v0-CWXUkMY0.d.mts} +1 -1
  104. package/dist/{v0-BAG8p0si.d.mts → v0-Dzw5OwNo.d.mts} +1 -1
  105. package/dist/{v0-D-AEQbvj.mjs → v0-I2mHxD9T.mjs} +1 -1
  106. package/dist/{virtual-BaQWQ9ji.d.mts → virtual-BCOfxnRS.d.mts} +1 -1
  107. package/dist/{virtual-D1HwNBLS.mjs → virtual-To-dSw2_.mjs} +2 -2
  108. package/package.json +10 -7
  109. package/SKILL.md +0 -95
  110. package/dist/adapters-BbNfjyvY.mjs +0 -5
  111. package/dist/adapters-BzRMo72Y.mjs +0 -4
  112. package/dist/adapters-_DyP1X4U.mjs +0 -2
  113. /package/dist/{index-c55Utzva.d.mts → index-DvuJXuAN.d.mts} +0 -0
@@ -1,16 +1,17 @@
1
- import { r as isSelfClosingTag } from "./htmlElements-DcYtv0hg.mjs";
2
- import { t as IN_BROWSER } from "./globals-BrRJkuSY.mjs";
3
- import { clamp, isArray, isElement, isNull, isNullOrUndefined, isObject, isString, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
4
- import { n as createContext, r as provideContext } from "./createTrinity-vvXk0ARD.mjs";
5
- import { a as createRegistry } from "./createTokens-CHTawmud.mjs";
6
- import { t as createSelection } from "./createSelection-Dsb3I0zm.mjs";
7
- import { t as createSingle } from "./createSingle-C7IGUjP6.mjs";
8
- import { Bt as usePopover, C as usePresence, D as useNotifications, Ht as createBreadcrumbs, N as useLazy, Pt as createCombobox, Q as createStep, S as useProxyModel, St as createNumberField, Vt as useTimer, a as useToggleScope, b as useRovingFocus, ct as createProgress, dt as createOverflow, ht as useResizeObserver, jt as createForm, kt as createInput, n as useDocumentEventListener, nt as createRating, p as useStack, t as useClickOutside, tt as createSlider, wt as createNested, x as useRaf, zt as useVirtualFocus } from "./useClickOutside-BjO3Nty9.mjs";
9
- import { t as createGroup } from "./createGroup-CzRZ9COh.mjs";
10
- import { a as useLocale } from "./useLocale-BRQTt3Ka.mjs";
11
- import { t as createPagination } from "./createPagination-Tp4C4He8.mjs";
12
- import { i as useTheme } from "./useTheme-zRa0Nh_g.mjs";
13
- import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, onUnmounted, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
1
+ import { r as isSelfClosingTag } from "./htmlElements-CIePKaTX.mjs";
2
+ import { t as IN_BROWSER } from "./globals-Berkg6mP.mjs";
3
+ import { clamp, isArray, isElement, isNull, isNullOrUndefined, isNumber, isObject, isString, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
4
+ import { n as createContext, r as provideContext } from "./createTrinity-BTCs1pYx.mjs";
5
+ import { i as useLogger } from "./useLogger-DFIRqm-N.mjs";
6
+ import { a as createRegistry } from "./createTokens-oJAeh262.mjs";
7
+ import { t as createSelection } from "./createSelection-BA9guLah.mjs";
8
+ import { t as createSingle } from "./createSingle-BHxHLZeg.mjs";
9
+ import { a as useLocale } from "./useLocale-qMmVnAwS.mjs";
10
+ import { $ as createStep, At as createForm, Bt as useTimer, C as usePresence, Ct as createNumberField, D as useNotifications, F as useIntersectionObserver, I as useImage, N as useLazy, Nt as createCombobox, Ot as createInput, Rt as useVirtualFocus, S as useProxyModel, Tt as createNested, Vt as createBreadcrumbs, _t as toElement, a as useToggleScope, b as useRovingFocus, ft as createOverflow, gt as useResizeObserver, ht as useElementSize, lt as createProgress, n as useDocumentEventListener, nt as createSlider, p as useStack, r as useEventListener, rt as createRating, t as useClickOutside, x as useRaf, zt as usePopover } from "./useClickOutside-B9a6Jext.mjs";
11
+ import { t as createGroup } from "./createGroup-BC2nfttd.mjs";
12
+ import { t as createPagination } from "./createPagination-qvJkcTUY.mjs";
13
+ import { i as useTheme } from "./useTheme-BeD__R8t.mjs";
14
+ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
14
15
  //#region src/components/Atom/Atom.vue
15
16
  /**
16
17
  * @module Atom
@@ -35,7 +36,7 @@ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createComme
35
36
  * serving as the foundation for all other components that need polymorphic
36
37
  * rendering capabilities.
37
38
  */
38
- const _sfc_main$149 = /* @__PURE__ */ defineComponent({
39
+ const _sfc_main$162 = /* @__PURE__ */ defineComponent({
39
40
  name: "Atom",
40
41
  __name: "Atom",
41
42
  props: {
@@ -69,7 +70,7 @@ const _sfc_main$149 = /* @__PURE__ */ defineComponent({
69
70
  //#endregion
70
71
  //#region src/components/AlertDialog/AlertDialogRoot.vue
71
72
  const [useAlertDialogContext, provideAlertDialogContext] = createContext();
72
- const _sfc_main$148 = /* @__PURE__ */ defineComponent({
73
+ const _sfc_main$161 = /* @__PURE__ */ defineComponent({
73
74
  name: "AlertDialogRoot",
74
75
  __name: "AlertDialogRoot",
75
76
  props: /* @__PURE__ */ mergeModels({
@@ -86,7 +87,7 @@ const _sfc_main$148 = /* @__PURE__ */ defineComponent({
86
87
  }),
87
88
  emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
88
89
  setup(__props) {
89
- const id = __props.id ?? useId();
90
+ const id = __props.id ?? /* @__PURE__ */ useId$1();
90
91
  const isOpen = useModel(__props, "modelValue");
91
92
  const isPending = shallowRef(false);
92
93
  const titleId = `${id}-title`;
@@ -115,7 +116,7 @@ const _sfc_main$148 = /* @__PURE__ */ defineComponent({
115
116
  close
116
117
  }));
117
118
  return (_ctx, _cache) => {
118
- return openBlock(), createBlock(unref(_sfc_main$149), {
119
+ return openBlock(), createBlock(unref(_sfc_main$162), {
119
120
  as: __props.as,
120
121
  renderless: ""
121
122
  }, {
@@ -127,7 +128,7 @@ const _sfc_main$148 = /* @__PURE__ */ defineComponent({
127
128
  });
128
129
  //#endregion
129
130
  //#region src/components/AlertDialog/AlertDialogAction.vue
130
- const _sfc_main$147 = /* @__PURE__ */ defineComponent({
131
+ const _sfc_main$160 = /* @__PURE__ */ defineComponent({
131
132
  name: "AlertDialogAction",
132
133
  __name: "AlertDialogAction",
133
134
  props: {
@@ -168,7 +169,7 @@ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
168
169
  }
169
170
  }));
170
171
  return (_ctx, _cache) => {
171
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
172
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
172
173
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
173
174
  _: 3
174
175
  }, 16, ["as"]);
@@ -177,7 +178,7 @@ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
177
178
  });
178
179
  //#endregion
179
180
  //#region src/components/AlertDialog/AlertDialogActivator.vue
180
- const _sfc_main$146 = /* @__PURE__ */ defineComponent({
181
+ const _sfc_main$159 = /* @__PURE__ */ defineComponent({
181
182
  name: "AlertDialogActivator",
182
183
  __name: "AlertDialogActivator",
183
184
  props: {
@@ -200,7 +201,7 @@ const _sfc_main$146 = /* @__PURE__ */ defineComponent({
200
201
  }
201
202
  }));
202
203
  return (_ctx, _cache) => {
203
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
204
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
204
205
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
205
206
  _: 3
206
207
  }, 16, ["as"]);
@@ -209,7 +210,7 @@ const _sfc_main$146 = /* @__PURE__ */ defineComponent({
209
210
  });
210
211
  //#endregion
211
212
  //#region src/components/AlertDialog/AlertDialogCancel.vue
212
- const _sfc_main$145 = /* @__PURE__ */ defineComponent({
213
+ const _sfc_main$158 = /* @__PURE__ */ defineComponent({
213
214
  name: "AlertDialogCancel",
214
215
  __name: "AlertDialogCancel",
215
216
  props: {
@@ -236,7 +237,7 @@ const _sfc_main$145 = /* @__PURE__ */ defineComponent({
236
237
  }
237
238
  }));
238
239
  return (_ctx, _cache) => {
239
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
240
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
240
241
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
241
242
  _: 3
242
243
  }, 16, ["as"]);
@@ -245,7 +246,7 @@ const _sfc_main$145 = /* @__PURE__ */ defineComponent({
245
246
  });
246
247
  //#endregion
247
248
  //#region src/components/AlertDialog/AlertDialogClose.vue
248
- const _sfc_main$144 = /* @__PURE__ */ defineComponent({
249
+ const _sfc_main$157 = /* @__PURE__ */ defineComponent({
249
250
  name: "AlertDialogClose",
250
251
  __name: "AlertDialogClose",
251
252
  props: {
@@ -255,6 +256,7 @@ const _sfc_main$144 = /* @__PURE__ */ defineComponent({
255
256
  },
256
257
  setup(__props) {
257
258
  const context = useAlertDialogContext(__props.namespace);
259
+ const locale = useLocale();
258
260
  function onClick() {
259
261
  context.close();
260
262
  }
@@ -262,11 +264,11 @@ const _sfc_main$144 = /* @__PURE__ */ defineComponent({
262
264
  isOpen: context.isOpen.value,
263
265
  attrs: {
264
266
  "type": __props.as === "button" ? "button" : void 0,
265
- "aria-label": "Close"
267
+ "aria-label": locale.t("AlertDialog.close")
266
268
  }
267
269
  }));
268
270
  return (_ctx, _cache) => {
269
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
271
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
270
272
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
271
273
  _: 3
272
274
  }, 16, ["as"]);
@@ -275,7 +277,7 @@ const _sfc_main$144 = /* @__PURE__ */ defineComponent({
275
277
  });
276
278
  //#endregion
277
279
  //#region src/components/AlertDialog/AlertDialogContent.vue
278
- const _sfc_main$143 = /* @__PURE__ */ defineComponent({
280
+ const _sfc_main$156 = /* @__PURE__ */ defineComponent({
279
281
  name: "AlertDialogContent",
280
282
  __name: "AlertDialogContent",
281
283
  props: {
@@ -351,7 +353,7 @@ const _sfc_main$143 = /* @__PURE__ */ defineComponent({
351
353
  }
352
354
  }));
353
355
  return (_ctx, _cache) => {
354
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
356
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
355
357
  ref: "content",
356
358
  as: __props.as,
357
359
  style: styles.value
@@ -367,7 +369,7 @@ const _sfc_main$143 = /* @__PURE__ */ defineComponent({
367
369
  });
368
370
  //#endregion
369
371
  //#region src/components/AlertDialog/AlertDialogDescription.vue
370
- const _sfc_main$142 = /* @__PURE__ */ defineComponent({
372
+ const _sfc_main$155 = /* @__PURE__ */ defineComponent({
371
373
  name: "AlertDialogDescription",
372
374
  __name: "AlertDialogDescription",
373
375
  props: {
@@ -379,7 +381,7 @@ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
379
381
  const context = useAlertDialogContext(__props.namespace);
380
382
  const slotProps = toRef(() => ({ attrs: { id: context.descriptionId } }));
381
383
  return (_ctx, _cache) => {
382
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
384
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
383
385
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
384
386
  _: 3
385
387
  }, 16, ["as"]);
@@ -388,7 +390,7 @@ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
388
390
  });
389
391
  //#endregion
390
392
  //#region src/components/AlertDialog/AlertDialogTitle.vue
391
- const _sfc_main$141 = /* @__PURE__ */ defineComponent({
393
+ const _sfc_main$154 = /* @__PURE__ */ defineComponent({
392
394
  name: "AlertDialogTitle",
393
395
  __name: "AlertDialogTitle",
394
396
  props: {
@@ -400,7 +402,7 @@ const _sfc_main$141 = /* @__PURE__ */ defineComponent({
400
402
  const context = useAlertDialogContext(__props.namespace);
401
403
  const slotProps = toRef(() => ({ attrs: { id: context.titleId } }));
402
404
  return (_ctx, _cache) => {
403
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
405
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
404
406
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
405
407
  _: 3
406
408
  }, 16, ["as"]);
@@ -438,19 +440,46 @@ const _sfc_main$141 = /* @__PURE__ */ defineComponent({
438
440
  * ```
439
441
  */
440
442
  const AlertDialog = {
441
- Root: _sfc_main$148,
442
- Activator: _sfc_main$146,
443
- Content: _sfc_main$143,
444
- Title: _sfc_main$141,
445
- Description: _sfc_main$142,
446
- Cancel: _sfc_main$145,
447
- Close: _sfc_main$144,
448
- Action: _sfc_main$147
443
+ Root: _sfc_main$161,
444
+ Activator: _sfc_main$159,
445
+ Content: _sfc_main$156,
446
+ Title: _sfc_main$154,
447
+ Description: _sfc_main$155,
448
+ Cancel: _sfc_main$158,
449
+ Close: _sfc_main$157,
450
+ Action: _sfc_main$160
449
451
  };
450
452
  //#endregion
453
+ //#region src/components/AspectRatio/AspectRatio.vue
454
+ const _sfc_main$153 = /* @__PURE__ */ defineComponent({
455
+ name: "AspectRatio",
456
+ __name: "AspectRatio",
457
+ props: {
458
+ ratio: { default: 1 },
459
+ as: { default: "div" },
460
+ renderless: { type: Boolean }
461
+ },
462
+ setup(__props) {
463
+ const resolved = toRef(() => /* @__PURE__ */ isNumber(__props.ratio) ? String(__props.ratio) : __props.ratio);
464
+ const slotProps = toRef(() => ({
465
+ ratio: resolved.value,
466
+ attrs: { style: { aspectRatio: resolved.value } }
467
+ }));
468
+ return (_ctx, _cache) => {
469
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
470
+ as: __props.as,
471
+ renderless: __props.renderless
472
+ }), {
473
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
474
+ _: 3
475
+ }, 16, ["as", "renderless"]);
476
+ };
477
+ }
478
+ });
479
+ //#endregion
451
480
  //#region src/components/Avatar/AvatarRoot.vue
452
481
  const [useAvatarRoot, provideAvatarRoot] = createContext();
453
- const _sfc_main$140 = /* @__PURE__ */ defineComponent({
482
+ const _sfc_main$152 = /* @__PURE__ */ defineComponent({
454
483
  name: "AvatarRoot",
455
484
  __name: "AvatarRoot",
456
485
  props: {
@@ -465,7 +494,7 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
465
494
  });
466
495
  provideAvatarRoot(__props.namespace, selection);
467
496
  return (_ctx, _cache) => {
468
- return openBlock(), createBlock(unref(_sfc_main$149), {
497
+ return openBlock(), createBlock(unref(_sfc_main$162), {
469
498
  as: __props.as,
470
499
  renderless: __props.renderless
471
500
  }, {
@@ -477,7 +506,7 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
477
506
  });
478
507
  //#endregion
479
508
  //#region src/components/Avatar/AvatarFallback.vue
480
- const _sfc_main$139 = /* @__PURE__ */ defineComponent({
509
+ const _sfc_main$151 = /* @__PURE__ */ defineComponent({
481
510
  name: "AvatarFallback",
482
511
  __name: "AvatarFallback",
483
512
  props: {
@@ -489,9 +518,9 @@ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
489
518
  const context = useAvatarRoot(__props.namespace);
490
519
  const ticket = context.register({ type: "fallback" });
491
520
  const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
492
- onUnmounted(() => context.unregister(ticket.id));
521
+ onBeforeUnmount(() => context.unregister(ticket.id));
493
522
  return (_ctx, _cache) => {
494
- return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$149), {
523
+ return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$162), {
495
524
  key: 0,
496
525
  as: __props.as,
497
526
  renderless: __props.renderless
@@ -504,7 +533,7 @@ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
504
533
  });
505
534
  //#endregion
506
535
  //#region src/components/Avatar/AvatarImage.vue
507
- const _sfc_main$138 = /* @__PURE__ */ defineComponent({
536
+ const _sfc_main$150 = /* @__PURE__ */ defineComponent({
508
537
  name: "AvatarImage",
509
538
  inheritAttrs: false,
510
539
  __name: "AvatarImage",
@@ -519,36 +548,51 @@ const _sfc_main$138 = /* @__PURE__ */ defineComponent({
519
548
  setup(__props, { emit: __emit }) {
520
549
  const emit = __emit;
521
550
  const context = useAvatarRoot(__props.namespace);
551
+ const image = useImage({ src: toRef(() => __props.src) });
522
552
  const ticket = context.register({
523
553
  priority: __props.priority,
524
554
  type: "image",
525
555
  disabled: true
526
556
  });
527
557
  function onLoad(e) {
528
- ticket.disabled = false;
529
- ticket.select();
558
+ image.onLoad(e);
530
559
  emit("load", e);
531
560
  }
532
561
  function onError(e) {
533
- ticket.disabled = true;
534
- const first = context.seek("first");
535
- if (first) context.select(first.id);
562
+ image.onError(e);
536
563
  emit("error", e);
537
564
  }
538
- onUnmounted(() => {
565
+ watch(image.isLoaded, (isLoaded) => {
566
+ if (isLoaded) {
567
+ ticket.disabled = false;
568
+ ticket.select();
569
+ }
570
+ });
571
+ watch(image.isError, (isError) => {
572
+ if (isError) {
573
+ ticket.disabled = true;
574
+ const first = context.seek("first");
575
+ if (first) context.select(first.id);
576
+ }
577
+ });
578
+ onBeforeUnmount(() => {
539
579
  context.unregister(ticket.id);
540
580
  });
541
581
  const slotProps = toRef(() => ({
542
582
  isSelected: ticket.isSelected.value,
583
+ status: image.status.value,
584
+ isLoaded: image.isLoaded.value,
585
+ isError: image.isError.value,
586
+ retry: image.retry,
543
587
  attrs: {
544
588
  role: "img",
545
- src: __props.src,
589
+ src: image.source.value,
546
590
  onLoad,
547
591
  onError
548
592
  }
549
593
  }));
550
594
  return (_ctx, _cache) => {
551
- return withDirectives((openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
595
+ return withDirectives((openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
552
596
  as: __props.as,
553
597
  renderless: __props.renderless
554
598
  }), {
@@ -566,14 +610,14 @@ const _sfc_main$138 = /* @__PURE__ */ defineComponent({
566
610
  * @see https://0.vuetifyjs.com/components/semantic/avatar
567
611
  */
568
612
  const Avatar = {
569
- Root: _sfc_main$140,
570
- Image: _sfc_main$138,
571
- Fallback: _sfc_main$139
613
+ Root: _sfc_main$152,
614
+ Image: _sfc_main$150,
615
+ Fallback: _sfc_main$151
572
616
  };
573
617
  //#endregion
574
618
  //#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
575
619
  const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
576
- const _sfc_main$137 = /* @__PURE__ */ defineComponent({
620
+ const _sfc_main$149 = /* @__PURE__ */ defineComponent({
577
621
  name: "BreadcrumbsRoot",
578
622
  __name: "BreadcrumbsRoot",
579
623
  props: {
@@ -701,7 +745,7 @@ const _sfc_main$137 = /* @__PURE__ */ defineComponent({
701
745
  }
702
746
  }));
703
747
  return (_ctx, _cache) => {
704
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
748
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
705
749
  ref: "container",
706
750
  as: __props.as,
707
751
  renderless: __props.renderless
@@ -714,7 +758,7 @@ const _sfc_main$137 = /* @__PURE__ */ defineComponent({
714
758
  });
715
759
  //#endregion
716
760
  //#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
717
- const _sfc_main$136 = /* @__PURE__ */ defineComponent({
761
+ const _sfc_main$148 = /* @__PURE__ */ defineComponent({
718
762
  name: "BreadcrumbsDivider",
719
763
  __name: "BreadcrumbsDivider",
720
764
  props: {
@@ -734,7 +778,7 @@ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
734
778
  watch(() => elRef.value?.element, (element) => {
735
779
  context.measureElement(ticket.index, "divider", element ?? void 0);
736
780
  }, { immediate: true });
737
- onUnmounted(() => {
781
+ onBeforeUnmount(() => {
738
782
  context.measureElement(ticket.index, "divider", void 0);
739
783
  context.group.unregister(ticket.id);
740
784
  });
@@ -750,7 +794,7 @@ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
750
794
  }
751
795
  }));
752
796
  return (_ctx, _cache) => {
753
- return withDirectives((openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
797
+ return withDirectives((openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
754
798
  ref: "el",
755
799
  as: __props.as,
756
800
  renderless: __props.renderless
@@ -763,7 +807,7 @@ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
763
807
  });
764
808
  //#endregion
765
809
  //#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
766
- const _sfc_main$135 = /* @__PURE__ */ defineComponent({
810
+ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
767
811
  name: "BreadcrumbsEllipsis",
768
812
  __name: "BreadcrumbsEllipsis",
769
813
  props: {
@@ -790,7 +834,7 @@ const _sfc_main$135 = /* @__PURE__ */ defineComponent({
790
834
  const marginX = Number.parseFloat(style.marginLeft) + Number.parseFloat(style.marginRight);
791
835
  context.ellipsisWidth.value = el.offsetWidth + marginX;
792
836
  }, { immediate: true });
793
- onUnmounted(() => {
837
+ onBeforeUnmount(() => {
794
838
  context.ellipsisWidth.value = 0;
795
839
  context.group.unregister(ticket.id);
796
840
  });
@@ -806,7 +850,7 @@ const _sfc_main$135 = /* @__PURE__ */ defineComponent({
806
850
  }
807
851
  }));
808
852
  return (_ctx, _cache) => {
809
- return withDirectives((openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
853
+ return withDirectives((openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
810
854
  ref: "el",
811
855
  as: __props.as,
812
856
  renderless: __props.renderless
@@ -819,7 +863,7 @@ const _sfc_main$135 = /* @__PURE__ */ defineComponent({
819
863
  });
820
864
  //#endregion
821
865
  //#region src/components/Breadcrumbs/BreadcrumbsItem.vue
822
- const _sfc_main$134 = /* @__PURE__ */ defineComponent({
866
+ const _sfc_main$146 = /* @__PURE__ */ defineComponent({
823
867
  name: "BreadcrumbsItem",
824
868
  __name: "BreadcrumbsItem",
825
869
  props: {
@@ -846,7 +890,7 @@ const _sfc_main$134 = /* @__PURE__ */ defineComponent({
846
890
  watch(() => elRef.value?.element, (element) => {
847
891
  context.measureElement(ticket.index, "item", element ?? void 0);
848
892
  }, { immediate: true });
849
- onUnmounted(() => {
893
+ onBeforeUnmount(() => {
850
894
  context.measureElement(ticket.index, "item", void 0);
851
895
  context.group.unregister(ticket.id);
852
896
  context.breadcrumbs.unregister(crumb.id);
@@ -858,7 +902,7 @@ const _sfc_main$134 = /* @__PURE__ */ defineComponent({
858
902
  attrs: { "data-selected": isSelected.value || void 0 }
859
903
  }));
860
904
  return (_ctx, _cache) => {
861
- return withDirectives((openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
905
+ return withDirectives((openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
862
906
  ref: "el",
863
907
  as: __props.as,
864
908
  renderless: __props.renderless
@@ -871,7 +915,7 @@ const _sfc_main$134 = /* @__PURE__ */ defineComponent({
871
915
  });
872
916
  //#endregion
873
917
  //#region src/components/Breadcrumbs/BreadcrumbsLink.vue
874
- const _sfc_main$133 = /* @__PURE__ */ defineComponent({
918
+ const _sfc_main$145 = /* @__PURE__ */ defineComponent({
875
919
  name: "BreadcrumbsLink",
876
920
  __name: "BreadcrumbsLink",
877
921
  props: {
@@ -880,7 +924,7 @@ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
880
924
  },
881
925
  setup(__props) {
882
926
  return (_ctx, _cache) => {
883
- return openBlock(), createBlock(unref(_sfc_main$149), {
927
+ return openBlock(), createBlock(unref(_sfc_main$162), {
884
928
  as: __props.as,
885
929
  renderless: __props.renderless
886
930
  }, {
@@ -892,7 +936,7 @@ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
892
936
  });
893
937
  //#endregion
894
938
  //#region src/components/Breadcrumbs/BreadcrumbsList.vue
895
- const _sfc_main$132 = /* @__PURE__ */ defineComponent({
939
+ const _sfc_main$144 = /* @__PURE__ */ defineComponent({
896
940
  name: "BreadcrumbsList",
897
941
  __name: "BreadcrumbsList",
898
942
  props: {
@@ -902,7 +946,7 @@ const _sfc_main$132 = /* @__PURE__ */ defineComponent({
902
946
  setup(__props) {
903
947
  const slotProps = toRef(() => ({ attrs: { role: "list" } }));
904
948
  return (_ctx, _cache) => {
905
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
949
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
906
950
  as: __props.as,
907
951
  renderless: __props.renderless
908
952
  }, slotProps.value.attrs), {
@@ -914,7 +958,7 @@ const _sfc_main$132 = /* @__PURE__ */ defineComponent({
914
958
  });
915
959
  //#endregion
916
960
  //#region src/components/Breadcrumbs/BreadcrumbsPage.vue
917
- const _sfc_main$131 = /* @__PURE__ */ defineComponent({
961
+ const _sfc_main$143 = /* @__PURE__ */ defineComponent({
918
962
  name: "BreadcrumbsPage",
919
963
  __name: "BreadcrumbsPage",
920
964
  props: {
@@ -924,7 +968,7 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
924
968
  setup(__props) {
925
969
  const slotProps = toRef(() => ({ attrs: { "aria-current": "page" } }));
926
970
  return (_ctx, _cache) => {
927
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
971
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
928
972
  as: __props.as,
929
973
  renderless: __props.renderless
930
974
  }, slotProps.value.attrs), {
@@ -942,18 +986,18 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
942
986
  * @see https://0.vuetifyjs.com/components/semantic/breadcrumbs
943
987
  */
944
988
  const Breadcrumbs = {
945
- Root: _sfc_main$137,
946
- List: _sfc_main$132,
947
- Item: _sfc_main$134,
948
- Link: _sfc_main$133,
949
- Page: _sfc_main$131,
950
- Divider: _sfc_main$136,
951
- Ellipsis: _sfc_main$135
989
+ Root: _sfc_main$149,
990
+ List: _sfc_main$144,
991
+ Item: _sfc_main$146,
992
+ Link: _sfc_main$145,
993
+ Page: _sfc_main$143,
994
+ Divider: _sfc_main$148,
995
+ Ellipsis: _sfc_main$147
952
996
  };
953
997
  //#endregion
954
998
  //#region src/components/Button/ButtonGroup.vue
955
999
  const [useButtonGroup, provideButtonGroup] = createContext();
956
- const _sfc_main$130 = /* @__PURE__ */ defineComponent({
1000
+ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
957
1001
  name: "ButtonGroup",
958
1002
  __name: "ButtonGroup",
959
1003
  props: /* @__PURE__ */ mergeModels({
@@ -1000,7 +1044,7 @@ const _sfc_main$130 = /* @__PURE__ */ defineComponent({
1000
1044
  }
1001
1045
  }));
1002
1046
  return (_ctx, _cache) => {
1003
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
1047
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1004
1048
  as: __props.as,
1005
1049
  renderless: __props.renderless
1006
1050
  }), {
@@ -1030,7 +1074,7 @@ const visuallyHiddenStyle$5 = {
1030
1074
  whiteSpace: "nowrap",
1031
1075
  border: "0"
1032
1076
  };
1033
- const _sfc_main$129 = /* @__PURE__ */ defineComponent({
1077
+ const _sfc_main$141 = /* @__PURE__ */ defineComponent({
1034
1078
  name: "ButtonHiddenInput",
1035
1079
  __name: "ButtonHiddenInput",
1036
1080
  props: {
@@ -1068,7 +1112,7 @@ const _sfc_main$129 = /* @__PURE__ */ defineComponent({
1068
1112
  //#endregion
1069
1113
  //#region src/components/Button/ButtonRoot.vue
1070
1114
  const [useButtonRoot, provideButtonRoot] = createContext();
1071
- const _sfc_main$128 = /* @__PURE__ */ defineComponent({
1115
+ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
1072
1116
  name: "ButtonRoot",
1073
1117
  inheritAttrs: false,
1074
1118
  __name: "ButtonRoot",
@@ -1131,7 +1175,7 @@ const _sfc_main$128 = /* @__PURE__ */ defineComponent({
1131
1175
  if (isDisabled.value || isReadonly.value || isPassive.value || __props.loading || !ticket) return;
1132
1176
  ticket.toggle();
1133
1177
  }
1134
- onUnmounted(() => {
1178
+ onBeforeUnmount(() => {
1135
1179
  timer.stop();
1136
1180
  ticket?.unregister();
1137
1181
  });
@@ -1174,28 +1218,28 @@ const _sfc_main$128 = /* @__PURE__ */ defineComponent({
1174
1218
  attrs: elementAttrs.value
1175
1219
  }));
1176
1220
  return (_ctx, _cache) => {
1177
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
1221
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
1178
1222
  as: __props.as,
1179
1223
  renderless: __props.renderless
1180
1224
  }), {
1181
1225
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1182
1226
  _: 3
1183
- }, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$129, { key: 0 })) : createCommentVNode("v-if", true)], 64);
1227
+ }, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$141, { key: 0 })) : createCommentVNode("v-if", true)], 64);
1184
1228
  };
1185
1229
  }
1186
1230
  });
1187
1231
  //#endregion
1188
1232
  //#region src/components/Button/ButtonContent.vue
1189
- const _sfc_main$127 = /* @__PURE__ */ defineComponent({
1233
+ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
1190
1234
  name: "ButtonContent",
1191
1235
  __name: "ButtonContent",
1192
1236
  props: {
1193
- id: { default: () => useId() },
1237
+ id: { default: () => /* @__PURE__ */ useId$1() },
1194
1238
  namespace: { default: "v0:button:root" }
1195
1239
  },
1196
1240
  setup(__props) {
1197
1241
  const ticket = useButtonRoot(__props.namespace).single.register({ id: __props.id });
1198
- onUnmounted(() => ticket.unregister());
1242
+ onBeforeUnmount(() => ticket.unregister());
1199
1243
  const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
1200
1244
  return (_ctx, _cache) => {
1201
1245
  return openBlock(), createElementBlock("span", { style: normalizeStyle({ visibility: unref(ticket).isSelected.value ? "visible" : "hidden" }) }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))], 4);
@@ -1204,7 +1248,7 @@ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
1204
1248
  });
1205
1249
  //#endregion
1206
1250
  //#region src/components/Button/ButtonIcon.vue
1207
- const _sfc_main$126 = /* @__PURE__ */ defineComponent({
1251
+ const _sfc_main$138 = /* @__PURE__ */ defineComponent({
1208
1252
  name: "ButtonIcon",
1209
1253
  __name: "ButtonIcon",
1210
1254
  props: {
@@ -1223,7 +1267,7 @@ const _sfc_main$126 = /* @__PURE__ */ defineComponent({
1223
1267
  attrs: { "aria-hidden": true }
1224
1268
  }));
1225
1269
  return (_ctx, _cache) => {
1226
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
1270
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1227
1271
  as: __props.as,
1228
1272
  renderless: __props.renderless
1229
1273
  }), {
@@ -1235,11 +1279,11 @@ const _sfc_main$126 = /* @__PURE__ */ defineComponent({
1235
1279
  });
1236
1280
  //#endregion
1237
1281
  //#region src/components/Button/ButtonLoading.vue
1238
- const _sfc_main$125 = /* @__PURE__ */ defineComponent({
1282
+ const _sfc_main$137 = /* @__PURE__ */ defineComponent({
1239
1283
  name: "ButtonLoading",
1240
1284
  __name: "ButtonLoading",
1241
1285
  props: {
1242
- id: { default: () => useId() },
1286
+ id: { default: () => /* @__PURE__ */ useId$1() },
1243
1287
  namespace: { default: "v0:button:root" }
1244
1288
  },
1245
1289
  setup(__props) {
@@ -1258,45 +1302,800 @@ const _sfc_main$125 = /* @__PURE__ */ defineComponent({
1258
1302
  if (fallback) fallback.select();
1259
1303
  }
1260
1304
  }, { immediate: true });
1261
- onUnmounted(() => ticket.unregister());
1305
+ onBeforeUnmount(() => ticket.unregister());
1262
1306
  const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
1263
1307
  return (_ctx, _cache) => {
1264
- return unref(ticket).isSelected.value ? renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 0 }, slotProps.value))) : createCommentVNode("v-if", true);
1308
+ return unref(ticket).isSelected.value ? renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 0 }, slotProps.value))) : createCommentVNode("v-if", true);
1309
+ };
1310
+ }
1311
+ });
1312
+ //#endregion
1313
+ //#region src/components/Button/index.ts
1314
+ /**
1315
+ * Button component with sub-components for interactive button controls.
1316
+ *
1317
+ * @see https://0.vuetifyjs.com/components/actions/button
1318
+ *
1319
+ * @example
1320
+ * ```vue
1321
+ * <script setup lang="ts">
1322
+ * import { Button } from '@vuetify/v0'
1323
+ * <\/script>
1324
+ *
1325
+ * <template>
1326
+ * <Button.Root>
1327
+ * <Button.Content>Click me</Button.Content>
1328
+ * </Button.Root>
1329
+ * </template>
1330
+ * ```
1331
+ */
1332
+ const Button = {
1333
+ Content: _sfc_main$139,
1334
+ Group: _sfc_main$142,
1335
+ HiddenInput: _sfc_main$141,
1336
+ Icon: _sfc_main$138,
1337
+ Loading: _sfc_main$137,
1338
+ Root: _sfc_main$140
1339
+ };
1340
+ //#endregion
1341
+ //#region src/components/Carousel/CarouselRoot.vue
1342
+ const [useCarouselRoot, provideCarouselRoot] = createContext();
1343
+ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
1344
+ name: "CarouselRoot",
1345
+ __name: "CarouselRoot",
1346
+ props: /* @__PURE__ */ mergeModels({
1347
+ id: { default: () => /* @__PURE__ */ useId$1() },
1348
+ label: {},
1349
+ namespace: { default: "v0:carousel" },
1350
+ disabled: {
1351
+ type: Boolean,
1352
+ default: false
1353
+ },
1354
+ circular: {
1355
+ type: Boolean,
1356
+ default: false
1357
+ },
1358
+ orientation: { default: "horizontal" },
1359
+ perView: { default: 1 },
1360
+ autoplay: { default: 0 },
1361
+ behavior: { default: "smooth" },
1362
+ as: { default: "div" },
1363
+ renderless: { type: Boolean }
1364
+ }, {
1365
+ "modelValue": {},
1366
+ "modelModifiers": {}
1367
+ }),
1368
+ emits: ["update:modelValue"],
1369
+ setup(__props) {
1370
+ const locale = useLocale();
1371
+ const model = useModel(__props, "modelValue");
1372
+ const step = createStep({
1373
+ disabled: toRef(() => __props.disabled),
1374
+ mandatory: "force",
1375
+ circular: __props.circular,
1376
+ events: true,
1377
+ reactive: true
1378
+ });
1379
+ useProxyModel(step, model, { multiple: false });
1380
+ function next() {
1381
+ if (__props.circular && __props.perView > 1) {
1382
+ const maxStart = Math.max(0, step.size - __props.perView);
1383
+ if (step.selectedIndex.value >= maxStart) {
1384
+ step.first();
1385
+ return;
1386
+ }
1387
+ }
1388
+ step.next();
1389
+ }
1390
+ function prev() {
1391
+ if (__props.circular && __props.perView > 1 && step.selectedIndex.value === 0) {
1392
+ step.step(Math.max(0, step.size - __props.perView));
1393
+ return;
1394
+ }
1395
+ step.prev();
1396
+ }
1397
+ const timer = __props.autoplay > 0 ? useTimer(() => next(), {
1398
+ duration: __props.autoplay,
1399
+ repeat: true
1400
+ }) : null;
1401
+ function pause() {
1402
+ timer?.pause();
1403
+ }
1404
+ function resume() {
1405
+ timer?.resume();
1406
+ }
1407
+ function play() {
1408
+ timer?.start();
1409
+ }
1410
+ function stop() {
1411
+ timer?.stop();
1412
+ }
1413
+ const parts = createRegistry();
1414
+ const context = {
1415
+ ...step,
1416
+ next,
1417
+ prev,
1418
+ play,
1419
+ pause,
1420
+ resume,
1421
+ orientation: toRef(() => __props.orientation),
1422
+ perView: toRef(() => __props.perView),
1423
+ circular: toRef(() => __props.circular),
1424
+ rootId: __props.id,
1425
+ behavior: toRef(() => __props.behavior),
1426
+ parts,
1427
+ autoplay: toRef(() => __props.autoplay),
1428
+ remaining: toRef(() => timer?.remaining.value ?? 0),
1429
+ isAutoplay: toRef(() => timer?.isActive.value ?? false),
1430
+ isPaused: toRef(() => timer?.isPaused.value ?? false),
1431
+ get size() {
1432
+ return step.size;
1433
+ }
1434
+ };
1435
+ provideCarouselRoot(__props.namespace, context);
1436
+ const slotProps = toRef(() => ({
1437
+ isDisabled: toValue(step.disabled),
1438
+ orientation: __props.orientation,
1439
+ perView: __props.perView,
1440
+ first: step.first,
1441
+ last: step.last,
1442
+ next,
1443
+ prev,
1444
+ step: step.step,
1445
+ select: step.select,
1446
+ isAutoplay: timer?.isActive.value ?? false,
1447
+ isPaused: timer?.isPaused.value ?? false,
1448
+ remaining: timer?.remaining.value ?? 0,
1449
+ play,
1450
+ stop,
1451
+ pause,
1452
+ resume,
1453
+ attrs: {
1454
+ "role": "region",
1455
+ "aria-roledescription": "carousel",
1456
+ "aria-label": __props.label ?? locale.t("Carousel.label"),
1457
+ "aria-disabled": toValue(step.disabled),
1458
+ "data-disabled": toValue(step.disabled) || void 0
1459
+ }
1460
+ }));
1461
+ return (_ctx, _cache) => {
1462
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1463
+ as: __props.as,
1464
+ renderless: __props.renderless
1465
+ }), {
1466
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1467
+ _: 3
1468
+ }, 16, ["as", "renderless"]);
1469
+ };
1470
+ }
1471
+ });
1472
+ //#endregion
1473
+ //#region src/components/Carousel/CarouselViewport.vue
1474
+ const _sfc_main$135 = /* @__PURE__ */ defineComponent({
1475
+ name: "CarouselViewport",
1476
+ inheritAttrs: false,
1477
+ __name: "CarouselViewport",
1478
+ props: {
1479
+ namespace: { default: "v0:carousel" },
1480
+ as: { default: "div" },
1481
+ renderless: { type: Boolean }
1482
+ },
1483
+ setup(__props) {
1484
+ const attrs = useAttrs();
1485
+ const viewportRef = useTemplateRef("viewport");
1486
+ const carousel = useCarouselRoot(__props.namespace);
1487
+ const isVertical = toRef(() => carousel.orientation.value === "vertical");
1488
+ const isDragging = shallowRef(false);
1489
+ const syncing = shallowRef(false);
1490
+ const snapDisabled = shallowRef(false);
1491
+ const viewportId = `${carousel.rootId}-viewport`;
1492
+ const el = toRef(() => /* @__PURE__ */ toElement(viewportRef.value?.element) ?? null);
1493
+ const ticket = carousel.parts.register({
1494
+ type: "viewport",
1495
+ el
1496
+ });
1497
+ onBeforeUnmount(() => ticket.unregister());
1498
+ const { width, height } = useElementSize(el);
1499
+ const slideStep = toRef(() => {
1500
+ if (!el.value) return 0;
1501
+ if ((isVertical.value ? height.value : width.value) === 0) return 0;
1502
+ const first = toValue(carousel.seek("first")?.el);
1503
+ const second = toValue(carousel.seek("first", 1)?.el);
1504
+ if (!first) return 0;
1505
+ if (!second) return isVertical.value ? first.offsetHeight : first.offsetWidth;
1506
+ return isVertical.value ? second.offsetTop - first.offsetTop : second.offsetLeft - first.offsetLeft;
1507
+ });
1508
+ if (IN_BROWSER) {
1509
+ useEventListener(el, "scrollend", () => {
1510
+ if (syncing.value || snapDisabled.value) {
1511
+ syncing.value = false;
1512
+ return;
1513
+ }
1514
+ const viewport = el.value;
1515
+ if (!viewport || slideStep.value === 0) return;
1516
+ isDragging.value = false;
1517
+ const scrollPos = isVertical.value ? viewport.scrollTop : viewport.scrollLeft;
1518
+ const snapIndex = Math.round(scrollPos / slideStep.value);
1519
+ const id = carousel.lookup(snapIndex);
1520
+ if (!/* @__PURE__ */ isUndefined(id) && id !== carousel.selectedItem.value?.id) carousel.select(id);
1521
+ });
1522
+ useEventListener(el, "scroll", () => {
1523
+ if (!syncing.value) isDragging.value = true;
1524
+ });
1525
+ let lastWheel = 0;
1526
+ useEventListener(el, "wheel", (e) => {
1527
+ if (e.shiftKey === isVertical.value) return;
1528
+ const delta = e.deltaY || e.deltaX;
1529
+ if (delta === 0) return;
1530
+ e.preventDefault();
1531
+ const now = performance.now();
1532
+ if (now - lastWheel < 300) return;
1533
+ lastWheel = now;
1534
+ if (delta > 0) carousel.next();
1535
+ else carousel.prev();
1536
+ }, { passive: false });
1537
+ let dragStart = 0;
1538
+ let scrollStart = 0;
1539
+ useEventListener(el, "mousedown", (e) => {
1540
+ if (e.button !== 0) return;
1541
+ const viewport = el.value;
1542
+ if (!viewport) return;
1543
+ carousel.pause();
1544
+ dragStart = isVertical.value ? e.clientY : e.clientX;
1545
+ scrollStart = isVertical.value ? viewport.scrollTop : viewport.scrollLeft;
1546
+ snapDisabled.value = true;
1547
+ });
1548
+ useToggleScope(() => snapDisabled.value, () => {
1549
+ useDocumentEventListener("mousemove", (e) => {
1550
+ const viewport = el.value;
1551
+ if (!viewport) return;
1552
+ e.preventDefault();
1553
+ const delta = (isVertical.value ? e.clientY : e.clientX) - dragStart;
1554
+ if (isVertical.value) viewport.scrollTop = scrollStart - delta;
1555
+ else viewport.scrollLeft = scrollStart - delta;
1556
+ });
1557
+ useDocumentEventListener("mouseup", () => {
1558
+ const viewport = el.value;
1559
+ carousel.resume();
1560
+ if (!viewport || slideStep.value === 0) {
1561
+ snapDisabled.value = false;
1562
+ isDragging.value = false;
1563
+ return;
1564
+ }
1565
+ const scrollPos = isVertical.value ? viewport.scrollTop : viewport.scrollLeft;
1566
+ const snapIndex = Math.round(scrollPos / slideStep.value);
1567
+ const position = snapIndex * slideStep.value;
1568
+ syncing.value = true;
1569
+ viewport.scrollTo({
1570
+ [isVertical.value ? "top" : "left"]: position,
1571
+ behavior: carousel.behavior.value
1572
+ });
1573
+ const id = carousel.lookup(snapIndex);
1574
+ if (!/* @__PURE__ */ isUndefined(id) && id !== carousel.selectedItem.value?.id) carousel.select(id);
1575
+ snapDisabled.value = false;
1576
+ isDragging.value = false;
1577
+ });
1578
+ onScopeDispose(() => {
1579
+ carousel.resume();
1580
+ snapDisabled.value = false;
1581
+ isDragging.value = false;
1582
+ });
1583
+ });
1584
+ useEventListener(el, "touchstart", () => carousel.pause(), { passive: true });
1585
+ useEventListener(el, "touchend", () => carousel.resume(), { passive: true });
1586
+ }
1587
+ watch(() => carousel.selectedIndex.value, (index) => {
1588
+ const viewport = el.value;
1589
+ if (!viewport || slideStep.value === 0) return;
1590
+ syncing.value = true;
1591
+ const position = index * slideStep.value;
1592
+ viewport.scrollTo({
1593
+ [isVertical.value ? "top" : "left"]: position,
1594
+ behavior: carousel.behavior.value
1595
+ });
1596
+ });
1597
+ const viewportStyle = toRef(() => {
1598
+ return {
1599
+ "display": "flex",
1600
+ "flex-direction": isVertical.value ? "column" : "row",
1601
+ [isVertical.value ? "overflow-y" : "overflow-x"]: "auto",
1602
+ [isVertical.value ? "overflow-x" : "overflow-y"]: "hidden",
1603
+ "scroll-snap-type": snapDisabled.value ? "none" : `${isVertical.value ? "y" : "x"} mandatory`,
1604
+ "scrollbar-width": "none",
1605
+ ...snapDisabled.value ? { "user-select": "none" } : {}
1606
+ };
1607
+ });
1608
+ const slotProps = toRef(() => ({
1609
+ isDragging: isDragging.value,
1610
+ attrs: {
1611
+ "id": viewportId,
1612
+ "data-orientation": carousel.orientation.value,
1613
+ "data-dragging": isDragging.value || void 0,
1614
+ "style": viewportStyle.value
1615
+ }
1616
+ }));
1617
+ return (_ctx, _cache) => {
1618
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "viewport" }, mergeProps(unref(attrs), slotProps.value.attrs), {
1619
+ as: __props.as,
1620
+ renderless: __props.renderless,
1621
+ style: [unref(attrs).style, slotProps.value.attrs.style]
1622
+ }), {
1623
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1624
+ _: 3
1625
+ }, 16, [
1626
+ "as",
1627
+ "renderless",
1628
+ "style"
1629
+ ]);
1630
+ };
1631
+ }
1632
+ });
1633
+ //#endregion
1634
+ //#region src/components/Carousel/CarouselItem.vue
1635
+ const _sfc_main$134 = /* @__PURE__ */ defineComponent({
1636
+ name: "CarouselItem",
1637
+ inheritAttrs: false,
1638
+ __name: "CarouselItem",
1639
+ props: {
1640
+ id: {},
1641
+ value: {},
1642
+ disabled: {},
1643
+ namespace: { default: "v0:carousel" },
1644
+ as: { default: "div" },
1645
+ renderless: { type: Boolean }
1646
+ },
1647
+ setup(__props) {
1648
+ const attrs = useAttrs();
1649
+ const rootEl = useTemplateRef("root");
1650
+ const locale = useLocale();
1651
+ const carousel = useCarouselRoot(__props.namespace);
1652
+ const el = toRef(() => /* @__PURE__ */ toElement(rootEl.value?.element) ?? null);
1653
+ const ticket = carousel.register({
1654
+ id: __props.id,
1655
+ value: __props.value,
1656
+ disabled: __props.disabled,
1657
+ el
1658
+ });
1659
+ const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(carousel.disabled));
1660
+ onBeforeUnmount(() => {
1661
+ ticket.unregister();
1662
+ });
1663
+ const isActive = toRef(() => {
1664
+ const selected = carousel.selectedIndex.value;
1665
+ const perView = carousel.perView.value;
1666
+ const index = ticket.index;
1667
+ return index >= selected && index < selected + perView;
1668
+ });
1669
+ const slideStyle = { "scroll-snap-align": "start" };
1670
+ const slotProps = toRef(() => ({
1671
+ id: String(ticket.id),
1672
+ isSelected: toValue(ticket.isSelected),
1673
+ isActive: isActive.value,
1674
+ isDisabled: isDisabled.value,
1675
+ index: ticket.index,
1676
+ select: ticket.select,
1677
+ unselect: ticket.unselect,
1678
+ toggle: ticket.toggle,
1679
+ attrs: {
1680
+ "id": `${carousel.rootId}-slide-${ticket.index}`,
1681
+ "role": "group",
1682
+ "aria-roledescription": "slide",
1683
+ "aria-label": locale.t("Carousel.slide", {
1684
+ current: ticket.index + 1,
1685
+ size: carousel.size
1686
+ }),
1687
+ "aria-hidden": isActive.value ? void 0 : true,
1688
+ "data-selected": toValue(ticket.isSelected) || void 0,
1689
+ "data-active": isActive.value || void 0,
1690
+ "data-disabled": isDisabled.value || void 0,
1691
+ "data-index": ticket.index,
1692
+ "style": slideStyle
1693
+ }
1694
+ }));
1695
+ return (_ctx, _cache) => {
1696
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
1697
+ as: __props.as,
1698
+ renderless: __props.renderless,
1699
+ style: [unref(attrs).style, slotProps.value.attrs.style]
1700
+ }), {
1701
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1702
+ _: 3
1703
+ }, 16, [
1704
+ "as",
1705
+ "renderless",
1706
+ "style"
1707
+ ]);
1708
+ };
1709
+ }
1710
+ });
1711
+ //#endregion
1712
+ //#region src/components/Carousel/CarouselPrevious.vue
1713
+ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
1714
+ name: "CarouselPrevious",
1715
+ inheritAttrs: false,
1716
+ __name: "CarouselPrevious",
1717
+ props: {
1718
+ namespace: { default: "v0:carousel" },
1719
+ as: { default: "button" },
1720
+ renderless: { type: Boolean }
1721
+ },
1722
+ setup(__props) {
1723
+ const attrs = useAttrs();
1724
+ const rootEl = useTemplateRef("root");
1725
+ const locale = useLocale();
1726
+ const carousel = useCarouselRoot(__props.namespace);
1727
+ const el = toRef(() => /* @__PURE__ */ toElement(rootEl.value?.element) ?? null);
1728
+ const ticket = carousel.parts.register({
1729
+ type: "previous",
1730
+ el
1731
+ });
1732
+ onBeforeUnmount(() => ticket.unregister());
1733
+ const viewportId = `${carousel.rootId}-viewport`;
1734
+ const isAtEdge = toRef(() => !carousel.circular.value && carousel.selectedIndex.value === 0);
1735
+ const isDisabled = toRef(() => toValue(carousel.disabled) || isAtEdge.value);
1736
+ function onClick() {
1737
+ if (!isDisabled.value) carousel.prev();
1738
+ }
1739
+ const slotProps = toRef(() => ({
1740
+ isDisabled: isDisabled.value,
1741
+ isAtEdge: isAtEdge.value,
1742
+ attrs: {
1743
+ "type": __props.as === "button" ? "button" : void 0,
1744
+ "aria-label": locale.t("Carousel.prev"),
1745
+ "aria-controls": viewportId,
1746
+ "aria-disabled": isDisabled.value,
1747
+ "disabled": __props.as === "button" ? isDisabled.value : void 0,
1748
+ "data-disabled": isDisabled.value || void 0,
1749
+ "data-edge": isAtEdge.value || void 0,
1750
+ "onClick": onClick
1751
+ }
1752
+ }));
1753
+ return (_ctx, _cache) => {
1754
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
1755
+ as: __props.as,
1756
+ renderless: __props.renderless
1757
+ }), {
1758
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1759
+ _: 3
1760
+ }, 16, ["as", "renderless"]);
1761
+ };
1762
+ }
1763
+ });
1764
+ //#endregion
1765
+ //#region src/components/Carousel/CarouselNext.vue
1766
+ const _sfc_main$132 = /* @__PURE__ */ defineComponent({
1767
+ name: "CarouselNext",
1768
+ inheritAttrs: false,
1769
+ __name: "CarouselNext",
1770
+ props: {
1771
+ namespace: { default: "v0:carousel" },
1772
+ as: { default: "button" },
1773
+ renderless: { type: Boolean }
1774
+ },
1775
+ setup(__props) {
1776
+ const attrs = useAttrs();
1777
+ const rootEl = useTemplateRef("root");
1778
+ const locale = useLocale();
1779
+ const carousel = useCarouselRoot(__props.namespace);
1780
+ const el = toRef(() => /* @__PURE__ */ toElement(rootEl.value?.element) ?? null);
1781
+ const ticket = carousel.parts.register({
1782
+ type: "next",
1783
+ el
1784
+ });
1785
+ onBeforeUnmount(() => ticket.unregister());
1786
+ const viewportId = `${carousel.rootId}-viewport`;
1787
+ const isAtEdge = toRef(() => {
1788
+ if (carousel.circular.value) return false;
1789
+ return carousel.selectedIndex.value >= carousel.size - carousel.perView.value;
1790
+ });
1791
+ const isDisabled = toRef(() => toValue(carousel.disabled) || isAtEdge.value);
1792
+ function onClick() {
1793
+ if (!isDisabled.value) carousel.next();
1794
+ }
1795
+ const slotProps = toRef(() => ({
1796
+ isDisabled: isDisabled.value,
1797
+ isAtEdge: isAtEdge.value,
1798
+ attrs: {
1799
+ "type": __props.as === "button" ? "button" : void 0,
1800
+ "aria-label": locale.t("Carousel.next"),
1801
+ "aria-controls": viewportId,
1802
+ "aria-disabled": isDisabled.value,
1803
+ "disabled": __props.as === "button" ? isDisabled.value : void 0,
1804
+ "data-disabled": isDisabled.value || void 0,
1805
+ "data-edge": isAtEdge.value || void 0,
1806
+ "onClick": onClick
1807
+ }
1808
+ }));
1809
+ return (_ctx, _cache) => {
1810
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
1811
+ as: __props.as,
1812
+ renderless: __props.renderless
1813
+ }), {
1814
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1815
+ _: 3
1816
+ }, 16, ["as", "renderless"]);
1817
+ };
1818
+ }
1819
+ });
1820
+ //#endregion
1821
+ //#region src/components/Carousel/CarouselIndicator.vue
1822
+ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
1823
+ name: "CarouselIndicator",
1824
+ inheritAttrs: false,
1825
+ __name: "CarouselIndicator",
1826
+ props: {
1827
+ label: {},
1828
+ namespace: { default: "v0:carousel" },
1829
+ as: { default: "div" },
1830
+ renderless: { type: Boolean }
1831
+ },
1832
+ setup(__props) {
1833
+ const attrs = useAttrs();
1834
+ const rootEl = useTemplateRef("root");
1835
+ const locale = useLocale();
1836
+ const carousel = useCarouselRoot(__props.namespace);
1837
+ const el = toRef(() => /* @__PURE__ */ toElement(rootEl.value?.element) ?? null);
1838
+ const ticket = carousel.parts.register({
1839
+ type: "indicator",
1840
+ el
1841
+ });
1842
+ onBeforeUnmount(() => ticket.unregister());
1843
+ function selectIndex(index) {
1844
+ const id = carousel.lookup(index);
1845
+ if (!/* @__PURE__ */ isUndefined(id)) carousel.select(id);
1846
+ }
1847
+ function focusSelected() {
1848
+ nextTick(() => {
1849
+ (/* @__PURE__ */ toElement(rootEl.value?.element))?.querySelector("[tabindex=\"0\"]")?.focus();
1850
+ });
1851
+ }
1852
+ function onKeydown(index, e) {
1853
+ const horizontal = carousel.orientation.value === "horizontal";
1854
+ const size = carousel.size;
1855
+ if (horizontal && e.key === "ArrowRight" || !horizontal && e.key === "ArrowDown") {
1856
+ e.preventDefault();
1857
+ selectIndex(index + 1 < size ? index + 1 : carousel.circular.value ? 0 : index);
1858
+ focusSelected();
1859
+ return;
1860
+ }
1861
+ if (horizontal && e.key === "ArrowLeft" || !horizontal && e.key === "ArrowUp") {
1862
+ e.preventDefault();
1863
+ selectIndex(index - 1 >= 0 ? index - 1 : carousel.circular.value ? size - 1 : index);
1864
+ focusSelected();
1865
+ return;
1866
+ }
1867
+ if (e.key === "Home") {
1868
+ e.preventDefault();
1869
+ carousel.first();
1870
+ focusSelected();
1871
+ return;
1872
+ }
1873
+ if (e.key === "End") {
1874
+ e.preventDefault();
1875
+ carousel.last();
1876
+ focusSelected();
1877
+ return;
1878
+ }
1879
+ if (e.key === "Enter" || e.key === " ") {
1880
+ e.preventDefault();
1881
+ selectIndex(index);
1882
+ }
1883
+ }
1884
+ const slotProps = toRef(() => {
1885
+ const selected = carousel.selectedIndex.value;
1886
+ const size = carousel.size;
1887
+ const perView = carousel.perView.value;
1888
+ return {
1889
+ size,
1890
+ selectedIndex: selected,
1891
+ items: Array.from({ length: size }, (_, i) => {
1892
+ const isSelected = i === selected;
1893
+ const isActive = i >= selected && i < selected + perView;
1894
+ return {
1895
+ index: i,
1896
+ isSelected,
1897
+ isActive,
1898
+ attrs: {
1899
+ "role": "tab",
1900
+ "tabindex": isSelected ? 0 : -1,
1901
+ "aria-selected": isSelected,
1902
+ "aria-controls": `${carousel.rootId}-slide-${i}`,
1903
+ "aria-label": locale.t("Carousel.indicator", {
1904
+ current: i + 1,
1905
+ size
1906
+ }),
1907
+ "data-selected": isSelected || void 0,
1908
+ "data-active": isActive || void 0,
1909
+ "onClick"() {
1910
+ selectIndex(i);
1911
+ },
1912
+ "onKeydown": (e) => onKeydown(i, e)
1913
+ }
1914
+ };
1915
+ }),
1916
+ attrs: {
1917
+ "role": "tablist",
1918
+ "aria-label": __props.label ?? locale.t("Carousel.indicators"),
1919
+ "aria-orientation": carousel.orientation.value
1920
+ }
1921
+ };
1922
+ });
1923
+ return (_ctx, _cache) => {
1924
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
1925
+ as: __props.as,
1926
+ renderless: __props.renderless
1927
+ }), {
1928
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1929
+ _: 3
1930
+ }, 16, ["as", "renderless"]);
1931
+ };
1932
+ }
1933
+ });
1934
+ //#endregion
1935
+ //#region src/components/Carousel/CarouselProgress.vue
1936
+ const _sfc_main$130 = /* @__PURE__ */ defineComponent({
1937
+ name: "CarouselProgress",
1938
+ inheritAttrs: false,
1939
+ __name: "CarouselProgress",
1940
+ props: {
1941
+ namespace: { default: "v0:carousel" },
1942
+ as: { default: "div" },
1943
+ renderless: { type: Boolean }
1944
+ },
1945
+ setup(__props) {
1946
+ const attrs = useAttrs();
1947
+ const rootEl = useTemplateRef("root");
1948
+ const locale = useLocale();
1949
+ const carousel = useCarouselRoot(__props.namespace);
1950
+ const el = toRef(() => /* @__PURE__ */ toElement(rootEl.value?.element) ?? null);
1951
+ const ticket = carousel.parts.register({
1952
+ type: "progress",
1953
+ el
1954
+ });
1955
+ onBeforeUnmount(() => ticket.unregister());
1956
+ const progress = toRef(() => {
1957
+ const duration = carousel.autoplay.value;
1958
+ if (duration <= 0) return 0;
1959
+ return 1 - carousel.remaining.value / duration;
1960
+ });
1961
+ const state = toRef(() => {
1962
+ if (!carousel.isAutoplay.value) return "idle";
1963
+ if (carousel.isPaused.value) return "paused";
1964
+ return "active";
1965
+ });
1966
+ const slotProps = toRef(() => {
1967
+ const percent = Math.round(progress.value * 100);
1968
+ return {
1969
+ progress: progress.value,
1970
+ isAutoplay: carousel.isAutoplay.value,
1971
+ isPaused: carousel.isPaused.value,
1972
+ attrs: {
1973
+ "role": "progressbar",
1974
+ "aria-valuenow": percent,
1975
+ "aria-valuemin": 0,
1976
+ "aria-valuemax": 100,
1977
+ "aria-valuetext": locale.t("Carousel.progress", { percent }),
1978
+ "aria-label": locale.t("Carousel.progressLabel"),
1979
+ "data-state": state.value,
1980
+ "style": { width: `${percent}%` }
1981
+ }
1982
+ };
1983
+ });
1984
+ return (_ctx, _cache) => {
1985
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
1986
+ as: __props.as,
1987
+ renderless: __props.renderless,
1988
+ style: [unref(attrs).style, slotProps.value.attrs.style]
1989
+ }), {
1990
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1991
+ _: 3
1992
+ }, 16, [
1993
+ "as",
1994
+ "renderless",
1995
+ "style"
1996
+ ]);
1997
+ };
1998
+ }
1999
+ });
2000
+ //#endregion
2001
+ //#region src/components/Carousel/CarouselLiveRegion.vue
2002
+ const _sfc_main$129 = /* @__PURE__ */ defineComponent({
2003
+ name: "CarouselLiveRegion",
2004
+ inheritAttrs: false,
2005
+ __name: "CarouselLiveRegion",
2006
+ props: {
2007
+ namespace: { default: "v0:carousel" },
2008
+ as: { default: "div" },
2009
+ renderless: { type: Boolean }
2010
+ },
2011
+ setup(__props) {
2012
+ const attrs = useAttrs();
2013
+ const rootEl = useTemplateRef("root");
2014
+ const locale = useLocale();
2015
+ const carousel = useCarouselRoot(__props.namespace);
2016
+ const el = toRef(() => /* @__PURE__ */ toElement(rootEl.value?.element) ?? null);
2017
+ const ticket = carousel.parts.register({
2018
+ type: "live-region",
2019
+ el
2020
+ });
2021
+ onBeforeUnmount(() => ticket.unregister());
2022
+ const text = shallowRef("");
2023
+ /* v8 ignore start -- watch fires after mount, setTimeout callback requires timer */
2024
+ let pending;
2025
+ watch(() => carousel.selectedIndex.value, (index, prevIndex) => {
2026
+ if (/* @__PURE__ */ isUndefined(prevIndex)) return;
2027
+ clearTimeout(pending);
2028
+ pending = setTimeout(() => {
2029
+ text.value = locale.t("Carousel.liveRegion", {
2030
+ current: index + 1,
2031
+ size: carousel.size
2032
+ });
2033
+ }, 100);
2034
+ });
2035
+ onBeforeUnmount(() => clearTimeout(pending));
2036
+ /* v8 ignore stop */
2037
+ const slotProps = toRef(() => ({
2038
+ current: carousel.selectedIndex.value + 1,
2039
+ size: carousel.size,
2040
+ text: text.value,
2041
+ attrs: {
2042
+ "aria-atomic": true,
2043
+ "aria-live": "polite",
2044
+ "role": "status"
2045
+ }
2046
+ }));
2047
+ return (_ctx, _cache) => {
2048
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
2049
+ as: __props.as,
2050
+ renderless: __props.renderless
2051
+ }), {
2052
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), () => [createTextVNode(toDisplayString(text.value), 1)])]),
2053
+ _: 3
2054
+ }, 16, ["as", "renderless"]);
1265
2055
  };
1266
2056
  }
1267
2057
  });
1268
2058
  //#endregion
1269
- //#region src/components/Button/index.ts
2059
+ //#region src/components/Carousel/index.ts
1270
2060
  /**
1271
- * Button component with sub-components for interactive button controls.
2061
+ * Carousel component with sub-components for building accessible slide navigation.
1272
2062
  *
1273
- * @see https://0.vuetifyjs.com/components/actions/button
2063
+ * @see https://0.vuetifyjs.com/components/semantic/carousel
1274
2064
  *
1275
2065
  * @example
1276
2066
  * ```vue
1277
2067
  * <script setup lang="ts">
1278
- * import { Button } from '@vuetify/v0'
2068
+ * import { Carousel } from '@vuetify/v0'
1279
2069
  * <\/script>
1280
2070
  *
1281
2071
  * <template>
1282
- * <Button.Root>
1283
- * <Button.Content>Click me</Button.Content>
1284
- * </Button.Root>
2072
+ * <Carousel.Root circular>
2073
+ * <Carousel.Viewport>
2074
+ * <Carousel.Item v-for="i in 5" :key="i" :value="i">
2075
+ * Slide {{ i }}
2076
+ * </Carousel.Item>
2077
+ * </Carousel.Viewport>
2078
+ *
2079
+ * <Carousel.Previous>Previous</Carousel.Previous>
2080
+ * <Carousel.Next>Next</Carousel.Next>
2081
+ * </Carousel.Root>
1285
2082
  * </template>
1286
2083
  * ```
1287
2084
  */
1288
- const Button = {
1289
- Content: _sfc_main$127,
1290
- Group: _sfc_main$130,
1291
- HiddenInput: _sfc_main$129,
1292
- Icon: _sfc_main$126,
1293
- Loading: _sfc_main$125,
1294
- Root: _sfc_main$128
2085
+ const Carousel = {
2086
+ Root: _sfc_main$136,
2087
+ Viewport: _sfc_main$135,
2088
+ Item: _sfc_main$134,
2089
+ Previous: _sfc_main$133,
2090
+ Next: _sfc_main$132,
2091
+ Indicator: _sfc_main$131,
2092
+ Progress: _sfc_main$130,
2093
+ LiveRegion: _sfc_main$129
1295
2094
  };
1296
2095
  //#endregion
1297
2096
  //#region src/components/Checkbox/CheckboxGroup.vue
1298
2097
  const [useCheckboxGroup, provideCheckboxGroup] = createContext();
1299
- const _sfc_main$124 = /* @__PURE__ */ defineComponent({
2098
+ const _sfc_main$128 = /* @__PURE__ */ defineComponent({
1300
2099
  name: "CheckboxGroup",
1301
2100
  __name: "CheckboxGroup",
1302
2101
  props: /* @__PURE__ */ mergeModels({
@@ -1352,7 +2151,7 @@ const _sfc_main$124 = /* @__PURE__ */ defineComponent({
1352
2151
  }
1353
2152
  }));
1354
2153
  return (_ctx, _cache) => {
1355
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
2154
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1356
2155
  as: __props.as,
1357
2156
  renderless: __props.renderless
1358
2157
  }), {
@@ -1365,12 +2164,12 @@ const _sfc_main$124 = /* @__PURE__ */ defineComponent({
1365
2164
  //#endregion
1366
2165
  //#region src/components/Checkbox/CheckboxRoot.vue
1367
2166
  const [useCheckboxRoot, provideCheckboxRoot] = createContext();
1368
- const _sfc_main$123 = /* @__PURE__ */ defineComponent({
2167
+ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
1369
2168
  name: "CheckboxRoot",
1370
2169
  inheritAttrs: false,
1371
2170
  __name: "CheckboxRoot",
1372
2171
  props: /* @__PURE__ */ mergeModels({
1373
- id: { default: () => useId() },
2172
+ id: { default: () => /* @__PURE__ */ useId$1() },
1374
2173
  label: {},
1375
2174
  value: {},
1376
2175
  name: {},
@@ -1437,7 +2236,7 @@ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
1437
2236
  e.preventDefault();
1438
2237
  toggle();
1439
2238
  }
1440
- onUnmounted(() => {
2239
+ onBeforeUnmount(() => {
1441
2240
  if (!ticket || !group) return;
1442
2241
  group.unregister(ticket.id);
1443
2242
  });
@@ -1484,10 +2283,7 @@ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
1484
2283
  }
1485
2284
  }));
1486
2285
  return (_ctx, _cache) => {
1487
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps({
1488
- ...unref(attrs),
1489
- ...slotProps.value.attrs
1490
- }, {
2286
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
1491
2287
  as: __props.as,
1492
2288
  renderless: __props.renderless,
1493
2289
  onClick,
@@ -1495,7 +2291,7 @@ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
1495
2291
  }), {
1496
2292
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1497
2293
  _: 3
1498
- }, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$122, { key: 0 })) : createCommentVNode("v-if", true)], 64);
2294
+ }, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$126, { key: 0 })) : createCommentVNode("v-if", true)], 64);
1499
2295
  };
1500
2296
  }
1501
2297
  });
@@ -1519,7 +2315,7 @@ const visuallyHiddenStyle$4 = {
1519
2315
  whiteSpace: "nowrap",
1520
2316
  border: "0"
1521
2317
  };
1522
- const _sfc_main$122 = /* @__PURE__ */ defineComponent({
2318
+ const _sfc_main$126 = /* @__PURE__ */ defineComponent({
1523
2319
  name: "CheckboxHiddenInput",
1524
2320
  __name: "CheckboxHiddenInput",
1525
2321
  props: {
@@ -1557,7 +2353,7 @@ const _sfc_main$122 = /* @__PURE__ */ defineComponent({
1557
2353
  });
1558
2354
  //#endregion
1559
2355
  //#region src/components/Checkbox/CheckboxIndicator.vue
1560
- const _sfc_main$121 = /* @__PURE__ */ defineComponent({
2356
+ const _sfc_main$125 = /* @__PURE__ */ defineComponent({
1561
2357
  name: "CheckboxIndicator",
1562
2358
  __name: "CheckboxIndicator",
1563
2359
  props: {
@@ -1580,7 +2376,7 @@ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
1580
2376
  }
1581
2377
  }));
1582
2378
  return (_ctx, _cache) => {
1583
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
2379
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1584
2380
  as: __props.as,
1585
2381
  renderless: __props.renderless
1586
2382
  }), {
@@ -1592,7 +2388,7 @@ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
1592
2388
  });
1593
2389
  //#endregion
1594
2390
  //#region src/components/Checkbox/CheckboxSelectAll.vue
1595
- const _sfc_main$120 = /* @__PURE__ */ defineComponent({
2391
+ const _sfc_main$124 = /* @__PURE__ */ defineComponent({
1596
2392
  name: "CheckboxSelectAll",
1597
2393
  inheritAttrs: false,
1598
2394
  __name: "CheckboxSelectAll",
@@ -1609,7 +2405,7 @@ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
1609
2405
  setup(__props) {
1610
2406
  const attrs = useAttrs();
1611
2407
  const group = useCheckboxGroup(__props.groupNamespace);
1612
- const id = useId();
2408
+ const id = /* @__PURE__ */ useId$1();
1613
2409
  const isAllSelected = toRef(() => group.isAllSelected.value);
1614
2410
  const isMixed = toRef(() => group.isMixed.value);
1615
2411
  const isDisabled = toRef(() => toValue(__props.disabled) || toValue(group.disabled));
@@ -1662,10 +2458,7 @@ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
1662
2458
  }
1663
2459
  }));
1664
2460
  return (_ctx, _cache) => {
1665
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
1666
- ...unref(attrs),
1667
- ...slotProps.value.attrs
1668
- }, {
2461
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
1669
2462
  as: __props.as,
1670
2463
  renderless: __props.renderless,
1671
2464
  onClick,
@@ -1701,16 +2494,16 @@ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
1701
2494
  * ```
1702
2495
  */
1703
2496
  const Checkbox = {
1704
- Group: _sfc_main$124,
1705
- HiddenInput: _sfc_main$122,
1706
- Indicator: _sfc_main$121,
1707
- Root: _sfc_main$123,
1708
- SelectAll: _sfc_main$120
2497
+ Group: _sfc_main$128,
2498
+ HiddenInput: _sfc_main$126,
2499
+ Indicator: _sfc_main$125,
2500
+ Root: _sfc_main$127,
2501
+ SelectAll: _sfc_main$124
1709
2502
  };
1710
2503
  //#endregion
1711
2504
  //#region src/components/Collapsible/CollapsibleRoot.vue
1712
2505
  const [useCollapsible, provideCollapsible] = createContext();
1713
- const _sfc_main$119 = /* @__PURE__ */ defineComponent({
2506
+ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
1714
2507
  name: "CollapsibleRoot",
1715
2508
  __name: "CollapsibleRoot",
1716
2509
  props: /* @__PURE__ */ mergeModels({
@@ -1736,7 +2529,7 @@ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
1736
2529
  disabled: isDisabled,
1737
2530
  events: true
1738
2531
  });
1739
- const id = useId();
2532
+ const id = /* @__PURE__ */ useId$1();
1740
2533
  const activatorId = toRef(() => id);
1741
2534
  const contentId = toRef(() => `${id}-content`);
1742
2535
  const ticket = selection.register({
@@ -1778,7 +2571,7 @@ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
1778
2571
  }
1779
2572
  }));
1780
2573
  return (_ctx, _cache) => {
1781
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
2574
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1782
2575
  as: __props.as,
1783
2576
  renderless: __props.renderless
1784
2577
  }), {
@@ -1790,7 +2583,7 @@ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
1790
2583
  });
1791
2584
  //#endregion
1792
2585
  //#region src/components/Collapsible/CollapsibleActivator.vue
1793
- const _sfc_main$118 = /* @__PURE__ */ defineComponent({
2586
+ const _sfc_main$122 = /* @__PURE__ */ defineComponent({
1794
2587
  name: "CollapsibleActivator",
1795
2588
  __name: "CollapsibleActivator",
1796
2589
  props: {
@@ -1826,7 +2619,7 @@ const _sfc_main$118 = /* @__PURE__ */ defineComponent({
1826
2619
  }
1827
2620
  }));
1828
2621
  return (_ctx, _cache) => {
1829
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
2622
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1830
2623
  as: __props.as,
1831
2624
  renderless: __props.renderless
1832
2625
  }), {
@@ -1838,7 +2631,7 @@ const _sfc_main$118 = /* @__PURE__ */ defineComponent({
1838
2631
  });
1839
2632
  //#endregion
1840
2633
  //#region src/components/Collapsible/CollapsibleContent.vue
1841
- const _sfc_main$117 = /* @__PURE__ */ defineComponent({
2634
+ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
1842
2635
  name: "CollapsibleContent",
1843
2636
  __name: "CollapsibleContent",
1844
2637
  props: {
@@ -1860,7 +2653,7 @@ const _sfc_main$117 = /* @__PURE__ */ defineComponent({
1860
2653
  }
1861
2654
  }));
1862
2655
  return (_ctx, _cache) => {
1863
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
2656
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
1864
2657
  as: __props.as,
1865
2658
  renderless: __props.renderless
1866
2659
  }), {
@@ -1872,7 +2665,7 @@ const _sfc_main$117 = /* @__PURE__ */ defineComponent({
1872
2665
  });
1873
2666
  //#endregion
1874
2667
  //#region src/components/Collapsible/CollapsibleCue.vue
1875
- const _sfc_main$116 = /* @__PURE__ */ defineComponent({
2668
+ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
1876
2669
  name: "CollapsibleCue",
1877
2670
  __name: "CollapsibleCue",
1878
2671
  props: {
@@ -1890,7 +2683,7 @@ const _sfc_main$116 = /* @__PURE__ */ defineComponent({
1890
2683
  }
1891
2684
  }));
1892
2685
  return (_ctx, _cache) => {
1893
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
2686
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
1894
2687
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
1895
2688
  _: 3
1896
2689
  }, 16, ["as"]);
@@ -1925,10 +2718,10 @@ const _sfc_main$116 = /* @__PURE__ */ defineComponent({
1925
2718
  * ```
1926
2719
  */
1927
2720
  const Collapsible = {
1928
- Root: _sfc_main$119,
1929
- Activator: _sfc_main$118,
1930
- Cue: _sfc_main$116,
1931
- Content: _sfc_main$117
2721
+ Root: _sfc_main$123,
2722
+ Activator: _sfc_main$122,
2723
+ Cue: _sfc_main$120,
2724
+ Content: _sfc_main$121
1932
2725
  };
1933
2726
  //#endregion
1934
2727
  //#region src/components/Combobox/ComboboxHiddenInput.vue
@@ -1949,7 +2742,7 @@ const visuallyHiddenStyle$3 = {
1949
2742
  whiteSpace: "nowrap",
1950
2743
  border: "0"
1951
2744
  };
1952
- const _sfc_main$115 = /* @__PURE__ */ defineComponent({
2745
+ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
1953
2746
  name: "ComboboxHiddenInput",
1954
2747
  __name: "ComboboxHiddenInput",
1955
2748
  props: { namespace: { default: "v0:combobox" } },
@@ -1983,7 +2776,7 @@ const _sfc_main$115 = /* @__PURE__ */ defineComponent({
1983
2776
  //#endregion
1984
2777
  //#region src/components/Combobox/ComboboxRoot.vue
1985
2778
  const [useComboboxContext, provideComboboxContext] = createContext();
1986
- const _sfc_main$114 = /* @__PURE__ */ defineComponent({
2779
+ const _sfc_main$118 = /* @__PURE__ */ defineComponent({
1987
2780
  name: "ComboboxRoot",
1988
2781
  __name: "ComboboxRoot",
1989
2782
  props: /* @__PURE__ */ mergeModels({
@@ -2053,19 +2846,19 @@ const _sfc_main$114 = /* @__PURE__ */ defineComponent({
2053
2846
  clear: context.clear
2054
2847
  }));
2055
2848
  return (_ctx, _cache) => {
2056
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), {
2849
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), {
2057
2850
  as: __props.as,
2058
2851
  renderless: ""
2059
2852
  }, {
2060
2853
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2061
2854
  _: 3
2062
- }, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$115, { key: 0 })) : createCommentVNode("v-if", true)], 64);
2855
+ }, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$119, { key: 0 })) : createCommentVNode("v-if", true)], 64);
2063
2856
  };
2064
2857
  }
2065
2858
  });
2066
2859
  //#endregion
2067
2860
  //#region src/components/Combobox/ComboboxActivator.vue
2068
- const _sfc_main$113 = /* @__PURE__ */ defineComponent({
2861
+ const _sfc_main$117 = /* @__PURE__ */ defineComponent({
2069
2862
  name: "ComboboxActivator",
2070
2863
  __name: "ComboboxActivator",
2071
2864
  props: {
@@ -2081,7 +2874,7 @@ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
2081
2874
  attrs: { "data-state": context.isOpen.value ? "open" : "closed" }
2082
2875
  }));
2083
2876
  return (_ctx, _cache) => {
2084
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
2877
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
2085
2878
  as: __props.as,
2086
2879
  style: style.value
2087
2880
  }), {
@@ -2093,7 +2886,7 @@ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
2093
2886
  });
2094
2887
  //#endregion
2095
2888
  //#region src/components/Combobox/ComboboxContent.vue
2096
- const _sfc_main$112 = /* @__PURE__ */ defineComponent({
2889
+ const _sfc_main$116 = /* @__PURE__ */ defineComponent({
2097
2890
  name: "ComboboxContent",
2098
2891
  __name: "ComboboxContent",
2099
2892
  props: {
@@ -2127,7 +2920,7 @@ const _sfc_main$112 = /* @__PURE__ */ defineComponent({
2127
2920
  }));
2128
2921
  const style = toRef(() => context.popover.contentStyles.value);
2129
2922
  return (_ctx, _cache) => {
2130
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
2923
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
2131
2924
  ref_key: "content",
2132
2925
  ref: content
2133
2926
  }, slotProps.value.attrs, {
@@ -2142,7 +2935,7 @@ const _sfc_main$112 = /* @__PURE__ */ defineComponent({
2142
2935
  });
2143
2936
  //#endregion
2144
2937
  //#region src/components/Combobox/ComboboxControl.vue
2145
- const _sfc_main$111 = /* @__PURE__ */ defineComponent({
2938
+ const _sfc_main$115 = /* @__PURE__ */ defineComponent({
2146
2939
  name: "ComboboxControl",
2147
2940
  __name: "ComboboxControl",
2148
2941
  props: {
@@ -2227,7 +3020,7 @@ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
2227
3020
  }
2228
3021
  }));
2229
3022
  return (_ctx, _cache) => {
2230
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
3023
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
2231
3024
  ref_key: "input",
2232
3025
  ref: input
2233
3026
  }, slotProps.value.attrs, {
@@ -2247,7 +3040,7 @@ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
2247
3040
  });
2248
3041
  //#endregion
2249
3042
  //#region src/components/Combobox/ComboboxCue.vue
2250
- const _sfc_main$110 = /* @__PURE__ */ defineComponent({
3043
+ const _sfc_main$114 = /* @__PURE__ */ defineComponent({
2251
3044
  name: "ComboboxCue",
2252
3045
  __name: "ComboboxCue",
2253
3046
  props: {
@@ -2269,7 +3062,7 @@ const _sfc_main$110 = /* @__PURE__ */ defineComponent({
2269
3062
  }
2270
3063
  }));
2271
3064
  return (_ctx, _cache) => {
2272
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, { as: __props.as }), {
3065
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, { as: __props.as }), {
2273
3066
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2274
3067
  _: 3
2275
3068
  }, 16, ["as"]);
@@ -2278,7 +3071,7 @@ const _sfc_main$110 = /* @__PURE__ */ defineComponent({
2278
3071
  });
2279
3072
  //#endregion
2280
3073
  //#region src/components/Combobox/ComboboxDescription.vue
2281
- const _sfc_main$109 = /* @__PURE__ */ defineComponent({
3074
+ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
2282
3075
  name: "ComboboxDescription",
2283
3076
  inheritAttrs: false,
2284
3077
  __name: "ComboboxDescription",
@@ -2297,7 +3090,7 @@ const _sfc_main$109 = /* @__PURE__ */ defineComponent({
2297
3090
  context.hasDescription.value = false;
2298
3091
  });
2299
3092
  return (_ctx, _cache) => {
2300
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(unref(attrs), {
3093
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(unref(attrs), {
2301
3094
  id: unref(context).descriptionId,
2302
3095
  as: __props.as,
2303
3096
  renderless: __props.renderless
@@ -2314,7 +3107,7 @@ const _sfc_main$109 = /* @__PURE__ */ defineComponent({
2314
3107
  });
2315
3108
  //#endregion
2316
3109
  //#region src/components/Combobox/ComboboxEmpty.vue
2317
- const _sfc_main$108 = /* @__PURE__ */ defineComponent({
3110
+ const _sfc_main$112 = /* @__PURE__ */ defineComponent({
2318
3111
  name: "ComboboxEmpty",
2319
3112
  __name: "ComboboxEmpty",
2320
3113
  props: {
@@ -2326,7 +3119,7 @@ const _sfc_main$108 = /* @__PURE__ */ defineComponent({
2326
3119
  const context = useComboboxContext(__props.namespace);
2327
3120
  const slotProps = toRef(() => ({ query: context.query.value }));
2328
3121
  return (_ctx, _cache) => {
2329
- return unref(context).isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$149), {
3122
+ return unref(context).isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$162), {
2330
3123
  key: 0,
2331
3124
  as: __props.as
2332
3125
  }, {
@@ -2338,7 +3131,7 @@ const _sfc_main$108 = /* @__PURE__ */ defineComponent({
2338
3131
  });
2339
3132
  //#endregion
2340
3133
  //#region src/components/Combobox/ComboboxError.vue
2341
- const _sfc_main$107 = /* @__PURE__ */ defineComponent({
3134
+ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
2342
3135
  name: "ComboboxError",
2343
3136
  inheritAttrs: false,
2344
3137
  __name: "ComboboxError",
@@ -2367,10 +3160,7 @@ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
2367
3160
  }
2368
3161
  }));
2369
3162
  return (_ctx, _cache) => {
2370
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
2371
- ...unref(attrs),
2372
- ...slotProps.value.attrs
2373
- }, {
3163
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
2374
3164
  as: __props.as,
2375
3165
  renderless: __props.renderless
2376
3166
  }), {
@@ -2382,7 +3172,7 @@ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
2382
3172
  });
2383
3173
  //#endregion
2384
3174
  //#region src/components/Combobox/ComboboxItem.vue
2385
- const _sfc_main$106 = /* @__PURE__ */ defineComponent({
3175
+ const _sfc_main$110 = /* @__PURE__ */ defineComponent({
2386
3176
  name: "ComboboxItem",
2387
3177
  __name: "ComboboxItem",
2388
3178
  props: {
@@ -2408,7 +3198,7 @@ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
2408
3198
  function onClick() {
2409
3199
  if (!toValue(isDisabled)) context.select(ticket.id);
2410
3200
  }
2411
- onUnmounted(() => {
3201
+ onBeforeUnmount(() => {
2412
3202
  context.selection.unregister(ticket.id);
2413
3203
  });
2414
3204
  const slotProps = toRef(() => ({
@@ -2430,7 +3220,7 @@ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
2430
3220
  }
2431
3221
  }));
2432
3222
  return (_ctx, _cache) => {
2433
- return withDirectives((openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
3223
+ return withDirectives((openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
2434
3224
  as: __props.as,
2435
3225
  onClick
2436
3226
  }), {
@@ -2485,20 +3275,20 @@ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
2485
3275
  * ```
2486
3276
  */
2487
3277
  const Combobox = {
2488
- Root: _sfc_main$114,
2489
- Activator: _sfc_main$113,
2490
- Control: _sfc_main$111,
2491
- Cue: _sfc_main$110,
2492
- Content: _sfc_main$112,
2493
- Item: _sfc_main$106,
2494
- Empty: _sfc_main$108,
2495
- Description: _sfc_main$109,
2496
- Error: _sfc_main$107
3278
+ Root: _sfc_main$118,
3279
+ Activator: _sfc_main$117,
3280
+ Control: _sfc_main$115,
3281
+ Cue: _sfc_main$114,
3282
+ Content: _sfc_main$116,
3283
+ Item: _sfc_main$110,
3284
+ Empty: _sfc_main$112,
3285
+ Description: _sfc_main$113,
3286
+ Error: _sfc_main$111
2497
3287
  };
2498
3288
  //#endregion
2499
3289
  //#region src/components/Dialog/DialogRoot.vue
2500
3290
  const [useDialogContext, provideDialogContext] = createContext();
2501
- const _sfc_main$105 = /* @__PURE__ */ defineComponent({
3291
+ const _sfc_main$109 = /* @__PURE__ */ defineComponent({
2502
3292
  name: "DialogRoot",
2503
3293
  __name: "DialogRoot",
2504
3294
  props: /* @__PURE__ */ mergeModels({
@@ -2516,7 +3306,7 @@ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
2516
3306
  emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
2517
3307
  setup(__props) {
2518
3308
  const isOpen = useModel(__props, "modelValue");
2519
- const id = __props.id ?? useId();
3309
+ const id = __props.id ?? /* @__PURE__ */ useId$1();
2520
3310
  const titleId = `${id}-title`;
2521
3311
  const descriptionId = `${id}-description`;
2522
3312
  function open() {
@@ -2540,7 +3330,7 @@ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
2540
3330
  close
2541
3331
  }));
2542
3332
  return (_ctx, _cache) => {
2543
- return openBlock(), createBlock(unref(_sfc_main$149), {
3333
+ return openBlock(), createBlock(unref(_sfc_main$162), {
2544
3334
  as: __props.as,
2545
3335
  renderless: ""
2546
3336
  }, {
@@ -2552,7 +3342,7 @@ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
2552
3342
  });
2553
3343
  //#endregion
2554
3344
  //#region src/components/Dialog/DialogClose.vue
2555
- const _sfc_main$104 = /* @__PURE__ */ defineComponent({
3345
+ const _sfc_main$108 = /* @__PURE__ */ defineComponent({
2556
3346
  name: "DialogClose",
2557
3347
  __name: "DialogClose",
2558
3348
  props: {
@@ -2562,6 +3352,7 @@ const _sfc_main$104 = /* @__PURE__ */ defineComponent({
2562
3352
  },
2563
3353
  setup(__props) {
2564
3354
  const context = useDialogContext(__props.namespace);
3355
+ const locale = useLocale();
2565
3356
  function onClick() {
2566
3357
  context.close();
2567
3358
  }
@@ -2569,11 +3360,11 @@ const _sfc_main$104 = /* @__PURE__ */ defineComponent({
2569
3360
  isOpen: context.isOpen.value,
2570
3361
  attrs: {
2571
3362
  "type": __props.as === "button" ? "button" : void 0,
2572
- "aria-label": "Close"
3363
+ "aria-label": locale.t("Dialog.close")
2573
3364
  }
2574
3365
  }));
2575
3366
  return (_ctx, _cache) => {
2576
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
3367
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
2577
3368
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2578
3369
  _: 3
2579
3370
  }, 16, ["as"]);
@@ -2582,7 +3373,7 @@ const _sfc_main$104 = /* @__PURE__ */ defineComponent({
2582
3373
  });
2583
3374
  //#endregion
2584
3375
  //#region src/components/Dialog/DialogContent.vue
2585
- const _sfc_main$103 = /* @__PURE__ */ defineComponent({
3376
+ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
2586
3377
  name: "DialogContent",
2587
3378
  __name: "DialogContent",
2588
3379
  props: {
@@ -2650,7 +3441,7 @@ const _sfc_main$103 = /* @__PURE__ */ defineComponent({
2650
3441
  }
2651
3442
  }));
2652
3443
  return (_ctx, _cache) => {
2653
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
3444
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
2654
3445
  ref: "content",
2655
3446
  as: __props.as,
2656
3447
  style: styles.value
@@ -2666,7 +3457,7 @@ const _sfc_main$103 = /* @__PURE__ */ defineComponent({
2666
3457
  });
2667
3458
  //#endregion
2668
3459
  //#region src/components/Dialog/DialogDescription.vue
2669
- const _sfc_main$102 = /* @__PURE__ */ defineComponent({
3460
+ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
2670
3461
  name: "DialogDescription",
2671
3462
  __name: "DialogDescription",
2672
3463
  props: {
@@ -2678,7 +3469,7 @@ const _sfc_main$102 = /* @__PURE__ */ defineComponent({
2678
3469
  const context = useDialogContext(__props.namespace);
2679
3470
  const slotProps = toRef(() => ({ attrs: { id: context.descriptionId } }));
2680
3471
  return (_ctx, _cache) => {
2681
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
3472
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
2682
3473
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2683
3474
  _: 3
2684
3475
  }, 16, ["as"]);
@@ -2687,7 +3478,7 @@ const _sfc_main$102 = /* @__PURE__ */ defineComponent({
2687
3478
  });
2688
3479
  //#endregion
2689
3480
  //#region src/components/Dialog/DialogTitle.vue
2690
- const _sfc_main$101 = /* @__PURE__ */ defineComponent({
3481
+ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
2691
3482
  name: "DialogTitle",
2692
3483
  __name: "DialogTitle",
2693
3484
  props: {
@@ -2699,7 +3490,7 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
2699
3490
  const context = useDialogContext(__props.namespace);
2700
3491
  const slotProps = toRef(() => ({ attrs: { id: context.titleId } }));
2701
3492
  return (_ctx, _cache) => {
2702
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
3493
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
2703
3494
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2704
3495
  _: 3
2705
3496
  }, 16, ["as"]);
@@ -2708,7 +3499,7 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
2708
3499
  });
2709
3500
  //#endregion
2710
3501
  //#region src/components/Dialog/DialogActivator.vue
2711
- const _sfc_main$100 = /* @__PURE__ */ defineComponent({
3502
+ const _sfc_main$104 = /* @__PURE__ */ defineComponent({
2712
3503
  name: "DialogActivator",
2713
3504
  __name: "DialogActivator",
2714
3505
  props: {
@@ -2731,7 +3522,7 @@ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
2731
3522
  }
2732
3523
  }));
2733
3524
  return (_ctx, _cache) => {
2734
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
3525
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
2735
3526
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2736
3527
  _: 3
2737
3528
  }, 16, ["as"]);
@@ -2770,17 +3561,17 @@ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
2770
3561
  * ```
2771
3562
  */
2772
3563
  const Dialog = {
2773
- Root: _sfc_main$105,
2774
- Activator: _sfc_main$100,
2775
- Content: _sfc_main$103,
2776
- Title: _sfc_main$101,
2777
- Description: _sfc_main$102,
2778
- Close: _sfc_main$104
3564
+ Root: _sfc_main$109,
3565
+ Activator: _sfc_main$104,
3566
+ Content: _sfc_main$107,
3567
+ Title: _sfc_main$105,
3568
+ Description: _sfc_main$106,
3569
+ Close: _sfc_main$108
2779
3570
  };
2780
3571
  //#endregion
2781
3572
  //#region src/components/ExpansionPanel/ExpansionPanelGroup.vue
2782
3573
  const [useExpansionPanelGroup, provideExpansionPanelGroup] = createContext();
2783
- const _sfc_main$99 = /* @__PURE__ */ defineComponent({
3574
+ const _sfc_main$103 = /* @__PURE__ */ defineComponent({
2784
3575
  name: "ExpansionPanelGroup",
2785
3576
  __name: "ExpansionPanelGroup",
2786
3577
  props: /* @__PURE__ */ mergeModels({
@@ -2827,7 +3618,7 @@ const _sfc_main$99 = /* @__PURE__ */ defineComponent({
2827
3618
  }));
2828
3619
  provideExpansionPanelGroup(__props.namespace, selection);
2829
3620
  return (_ctx, _cache) => {
2830
- return openBlock(), createBlock(unref(_sfc_main$149), {
3621
+ return openBlock(), createBlock(unref(_sfc_main$162), {
2831
3622
  as: __props.as,
2832
3623
  renderless: __props.renderless
2833
3624
  }, {
@@ -2840,7 +3631,7 @@ const _sfc_main$99 = /* @__PURE__ */ defineComponent({
2840
3631
  //#endregion
2841
3632
  //#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
2842
3633
  const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext({ suffix: "item" });
2843
- const _sfc_main$98 = /* @__PURE__ */ defineComponent({
3634
+ const _sfc_main$102 = /* @__PURE__ */ defineComponent({
2844
3635
  name: "ExpansionPanelRoot",
2845
3636
  __name: "ExpansionPanelRoot",
2846
3637
  props: {
@@ -2874,7 +3665,7 @@ const _sfc_main$98 = /* @__PURE__ */ defineComponent({
2874
3665
  isDisabled
2875
3666
  });
2876
3667
  return (_ctx, _cache) => {
2877
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
3668
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
2878
3669
  as: __props.as,
2879
3670
  renderless: __props.renderless
2880
3671
  }), {
@@ -2886,7 +3677,7 @@ const _sfc_main$98 = /* @__PURE__ */ defineComponent({
2886
3677
  });
2887
3678
  //#endregion
2888
3679
  //#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
2889
- const _sfc_main$97 = /* @__PURE__ */ defineComponent({
3680
+ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
2890
3681
  name: "ExpansionPanelActivator",
2891
3682
  __name: "ExpansionPanelActivator",
2892
3683
  props: {
@@ -2922,7 +3713,7 @@ const _sfc_main$97 = /* @__PURE__ */ defineComponent({
2922
3713
  }
2923
3714
  }));
2924
3715
  return (_ctx, _cache) => {
2925
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
3716
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
2926
3717
  as: __props.as,
2927
3718
  renderless: __props.renderless
2928
3719
  }), {
@@ -2934,7 +3725,7 @@ const _sfc_main$97 = /* @__PURE__ */ defineComponent({
2934
3725
  });
2935
3726
  //#endregion
2936
3727
  //#region src/components/ExpansionPanel/ExpansionPanelContent.vue
2937
- const _sfc_main$96 = /* @__PURE__ */ defineComponent({
3728
+ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
2938
3729
  name: "ExpansionPanelContent",
2939
3730
  __name: "ExpansionPanelContent",
2940
3731
  props: {
@@ -2955,7 +3746,7 @@ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
2955
3746
  }
2956
3747
  }));
2957
3748
  return (_ctx, _cache) => {
2958
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
3749
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
2959
3750
  as: __props.as,
2960
3751
  renderless: __props.renderless
2961
3752
  }), {
@@ -2967,7 +3758,7 @@ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
2967
3758
  });
2968
3759
  //#endregion
2969
3760
  //#region src/components/ExpansionPanel/ExpansionPanelCue.vue
2970
- const _sfc_main$95 = /* @__PURE__ */ defineComponent({
3761
+ const _sfc_main$99 = /* @__PURE__ */ defineComponent({
2971
3762
  name: "ExpansionPanelCue",
2972
3763
  __name: "ExpansionPanelCue",
2973
3764
  props: {
@@ -2985,7 +3776,7 @@ const _sfc_main$95 = /* @__PURE__ */ defineComponent({
2985
3776
  }
2986
3777
  }));
2987
3778
  return (_ctx, _cache) => {
2988
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
3779
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
2989
3780
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2990
3781
  _: 3
2991
3782
  }, 16, ["as"]);
@@ -2994,7 +3785,7 @@ const _sfc_main$95 = /* @__PURE__ */ defineComponent({
2994
3785
  });
2995
3786
  //#endregion
2996
3787
  //#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
2997
- const _sfc_main$94 = /* @__PURE__ */ defineComponent({
3788
+ const _sfc_main$98 = /* @__PURE__ */ defineComponent({
2998
3789
  name: "ExpansionPanelHeader",
2999
3790
  __name: "ExpansionPanelHeader",
3000
3791
  props: {
@@ -3009,7 +3800,7 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
3009
3800
  attrs: { "data-selected": item.ticket.isSelected.value || void 0 }
3010
3801
  }));
3011
3802
  return (_ctx, _cache) => {
3012
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
3803
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
3013
3804
  as: __props.as,
3014
3805
  renderless: __props.renderless
3015
3806
  }), {
@@ -3050,16 +3841,16 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
3050
3841
  * ```
3051
3842
  */
3052
3843
  const ExpansionPanel = {
3053
- Group: _sfc_main$99,
3054
- Root: _sfc_main$98,
3055
- Header: _sfc_main$94,
3056
- Activator: _sfc_main$97,
3057
- Cue: _sfc_main$95,
3058
- Content: _sfc_main$96
3844
+ Group: _sfc_main$103,
3845
+ Root: _sfc_main$102,
3846
+ Header: _sfc_main$98,
3847
+ Activator: _sfc_main$101,
3848
+ Cue: _sfc_main$99,
3849
+ Content: _sfc_main$100
3059
3850
  };
3060
3851
  //#endregion
3061
3852
  //#region src/components/Form/Form.vue
3062
- const _sfc_main$93 = /* @__PURE__ */ defineComponent({
3853
+ const _sfc_main$97 = /* @__PURE__ */ defineComponent({
3063
3854
  name: "Form",
3064
3855
  inheritAttrs: false,
3065
3856
  __name: "Form",
@@ -3117,7 +3908,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
3117
3908
  reset: form.reset
3118
3909
  }));
3119
3910
  return (_ctx, _cache) => {
3120
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, unref(attrs), {
3911
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, unref(attrs), {
3121
3912
  onReset,
3122
3913
  onSubmit
3123
3914
  }), {
@@ -3130,7 +3921,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
3130
3921
  //#endregion
3131
3922
  //#region src/components/Group/GroupRoot.vue
3132
3923
  const [useGroupRoot, provideGroupRoot] = createContext();
3133
- const _sfc_main$92 = /* @__PURE__ */ defineComponent({
3924
+ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
3134
3925
  name: "GroupRoot",
3135
3926
  __name: "GroupRoot",
3136
3927
  props: /* @__PURE__ */ mergeModels({
@@ -3182,7 +3973,7 @@ const _sfc_main$92 = /* @__PURE__ */ defineComponent({
3182
3973
  });
3183
3974
  //#endregion
3184
3975
  //#region src/components/Group/GroupItem.vue
3185
- const _sfc_main$91 = /* @__PURE__ */ defineComponent({
3976
+ const _sfc_main$95 = /* @__PURE__ */ defineComponent({
3186
3977
  name: "GroupItem",
3187
3978
  __name: "GroupItem",
3188
3979
  props: {
@@ -3202,7 +3993,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
3202
3993
  indeterminate: __props.indeterminate
3203
3994
  });
3204
3995
  const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(group.disabled));
3205
- onUnmounted(() => {
3996
+ onBeforeUnmount(() => {
3206
3997
  group.unregister(ticket.id);
3207
3998
  });
3208
3999
  const slotProps = toRef(() => ({
@@ -3240,8 +4031,207 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
3240
4031
  * @see https://0.vuetifyjs.com/components/providers/group
3241
4032
  */
3242
4033
  const Group = {
3243
- Root: _sfc_main$92,
3244
- Item: _sfc_main$91
4034
+ Root: _sfc_main$96,
4035
+ Item: _sfc_main$95
4036
+ };
4037
+ //#endregion
4038
+ //#region src/components/Image/ImageRoot.vue
4039
+ const [useImageRoot, provideImageRoot] = createContext();
4040
+ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
4041
+ name: "ImageRoot",
4042
+ __name: "ImageRoot",
4043
+ props: {
4044
+ src: {},
4045
+ lazy: {
4046
+ type: Boolean,
4047
+ default: false
4048
+ },
4049
+ rootMargin: { default: "0px" },
4050
+ threshold: { default: 0 },
4051
+ root: { default: null },
4052
+ namespace: { default: "v0:image" },
4053
+ as: { default: "div" },
4054
+ renderless: { type: Boolean }
4055
+ },
4056
+ setup(__props) {
4057
+ const atomRef = useTemplateRef("atom");
4058
+ const rootEl = toRef(() => /* @__PURE__ */ toElement(atomRef.value?.element) ?? null);
4059
+ if (__props.lazy && __props.renderless) useLogger().warn("[v0:image] `lazy` requires a wrapper element but `renderless` is set — the image will never load. Remove `renderless` or use useIntersectionObserver manually.");
4060
+ const { isIntersecting } = __props.lazy ? useIntersectionObserver(rootEl, () => {}, {
4061
+ once: true,
4062
+ rootMargin: __props.rootMargin,
4063
+ threshold: __props.threshold,
4064
+ root: __props.root
4065
+ }) : { isIntersecting: shallowRef(true) };
4066
+ const image = useImage({
4067
+ src: toRef(() => __props.src),
4068
+ eager: isIntersecting
4069
+ });
4070
+ provideImageRoot(__props.namespace, image);
4071
+ const slotProps = toRef(() => ({
4072
+ status: image.status.value,
4073
+ isIdle: image.isIdle.value,
4074
+ isLoading: image.isLoading.value,
4075
+ isLoaded: image.isLoaded.value,
4076
+ isError: image.isError.value,
4077
+ retry: image.retry,
4078
+ attrs: { "data-state": image.status.value }
4079
+ }));
4080
+ return (_ctx, _cache) => {
4081
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "atom" }, slotProps.value.attrs, {
4082
+ as: __props.as,
4083
+ renderless: __props.renderless
4084
+ }), {
4085
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
4086
+ _: 3
4087
+ }, 16, ["as", "renderless"]);
4088
+ };
4089
+ }
4090
+ });
4091
+ //#endregion
4092
+ //#region src/components/Image/ImageFallback.vue
4093
+ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
4094
+ name: "ImageFallback",
4095
+ __name: "ImageFallback",
4096
+ props: {
4097
+ namespace: { default: "v0:image" },
4098
+ as: { default: "div" },
4099
+ renderless: { type: Boolean }
4100
+ },
4101
+ setup(__props) {
4102
+ const context = useImageRoot(__props.namespace);
4103
+ const slotProps = toRef(() => ({
4104
+ retry: context.retry,
4105
+ attrs: {
4106
+ "role": "img",
4107
+ "data-state": "error"
4108
+ }
4109
+ }));
4110
+ return (_ctx, _cache) => {
4111
+ return unref(context).isError.value ? (openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ key: 0 }, slotProps.value.attrs, {
4112
+ as: __props.as,
4113
+ renderless: __props.renderless
4114
+ }), {
4115
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
4116
+ _: 3
4117
+ }, 16, ["as", "renderless"])) : createCommentVNode("v-if", true);
4118
+ };
4119
+ }
4120
+ });
4121
+ //#endregion
4122
+ //#region src/components/Image/ImageImg.vue
4123
+ const _sfc_main$92 = /* @__PURE__ */ defineComponent({
4124
+ name: "ImageImg",
4125
+ __name: "ImageImg",
4126
+ props: {
4127
+ alt: {},
4128
+ srcset: {},
4129
+ sizes: {},
4130
+ width: {},
4131
+ height: {},
4132
+ crossorigin: {},
4133
+ referrerpolicy: {},
4134
+ decoding: { default: "async" },
4135
+ loading: {},
4136
+ fetchpriority: {},
4137
+ namespace: { default: "v0:image" },
4138
+ as: { default: "img" },
4139
+ renderless: { type: Boolean }
4140
+ },
4141
+ emits: [
4142
+ "load",
4143
+ "error",
4144
+ "loadstart"
4145
+ ],
4146
+ setup(__props, { emit: __emit }) {
4147
+ const emit = __emit;
4148
+ const context = useImageRoot(__props.namespace);
4149
+ function onLoad(e) {
4150
+ context.onLoad(e);
4151
+ emit("load", e);
4152
+ }
4153
+ function onError(e) {
4154
+ context.onError(e);
4155
+ emit("error", e);
4156
+ }
4157
+ watch(context.status, (status, prev) => {
4158
+ if (status === "loading" && prev !== "loading" && context.source.value) emit("loadstart", context.source.value);
4159
+ }, { immediate: true });
4160
+ const slotProps = toRef(() => ({
4161
+ isLoaded: context.isLoaded.value,
4162
+ status: context.status.value,
4163
+ attrs: {
4164
+ "role": "img",
4165
+ "src": context.source.value,
4166
+ srcset: __props.srcset,
4167
+ sizes: __props.sizes,
4168
+ alt: __props.alt,
4169
+ width: __props.width,
4170
+ height: __props.height,
4171
+ crossorigin: __props.crossorigin,
4172
+ referrerpolicy: __props.referrerpolicy,
4173
+ decoding: __props.decoding,
4174
+ loading: __props.loading,
4175
+ fetchpriority: __props.fetchpriority,
4176
+ "data-state": context.status.value,
4177
+ onLoad,
4178
+ onError
4179
+ }
4180
+ }));
4181
+ return (_ctx, _cache) => {
4182
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
4183
+ as: __props.as,
4184
+ renderless: __props.renderless
4185
+ }), {
4186
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
4187
+ _: 3
4188
+ }, 16, ["as", "renderless"]);
4189
+ };
4190
+ }
4191
+ });
4192
+ //#endregion
4193
+ //#region src/components/Image/ImagePlaceholder.vue
4194
+ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
4195
+ name: "ImagePlaceholder",
4196
+ __name: "ImagePlaceholder",
4197
+ props: {
4198
+ namespace: { default: "v0:image" },
4199
+ as: { default: "div" },
4200
+ renderless: { type: Boolean }
4201
+ },
4202
+ setup(__props) {
4203
+ const context = useImageRoot(__props.namespace);
4204
+ const isVisible = toRef(() => context.isIdle.value || context.isLoading.value);
4205
+ const slotProps = toRef(() => ({
4206
+ status: context.status.value,
4207
+ attrs: {
4208
+ "aria-hidden": true,
4209
+ "data-state": context.status.value
4210
+ }
4211
+ }));
4212
+ return (_ctx, _cache) => {
4213
+ return isVisible.value ? (openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ key: 0 }, slotProps.value.attrs, {
4214
+ as: __props.as,
4215
+ renderless: __props.renderless
4216
+ }), {
4217
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
4218
+ _: 3
4219
+ }, 16, ["as", "renderless"])) : createCommentVNode("v-if", true);
4220
+ };
4221
+ }
4222
+ });
4223
+ //#endregion
4224
+ //#region src/components/Image/index.ts
4225
+ /**
4226
+ * Image component with sub-components for managing image loading lifecycle.
4227
+ *
4228
+ * @see https://0.vuetifyjs.com/components/semantic/image
4229
+ */
4230
+ const Image = {
4231
+ Root: _sfc_main$94,
4232
+ Img: _sfc_main$92,
4233
+ Placeholder: _sfc_main$91,
4234
+ Fallback: _sfc_main$93
3245
4235
  };
3246
4236
  //#endregion
3247
4237
  //#region src/components/Input/InputRoot.vue
@@ -3282,12 +4272,18 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
3282
4272
  renderless: { type: Boolean }
3283
4273
  }, {
3284
4274
  "modelValue": { default: "" },
3285
- "modelModifiers": {}
4275
+ "modelModifiers": {},
4276
+ "focused": {
4277
+ type: Boolean,
4278
+ default: false
4279
+ },
4280
+ "focusedModifiers": {}
3286
4281
  }),
3287
- emits: /* @__PURE__ */ mergeModels(["update:model-value", "update:isFocused"], ["update:modelValue"]),
4282
+ emits: /* @__PURE__ */ mergeModels(["update:model-value", "update:focused"], ["update:modelValue", "update:focused"]),
3288
4283
  setup(__props) {
3289
4284
  const attrs = useAttrs();
3290
4285
  const model = useModel(__props, "modelValue");
4286
+ const focused = useModel(__props, "focused");
3291
4287
  const input = createInput({
3292
4288
  value: model,
3293
4289
  id: __props.id,
@@ -3310,6 +4306,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
3310
4306
  return trigger === event;
3311
4307
  }
3312
4308
  watch(input.isFocused, (val) => {
4309
+ focused.value = val;
3313
4310
  if (val) return;
3314
4311
  input.isTouched.value = true;
3315
4312
  if (shouldValidate("blur")) input.validate();
@@ -3374,10 +4371,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
3374
4371
  }
3375
4372
  }));
3376
4373
  return (_ctx, _cache) => {
3377
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
3378
- ...unref(attrs),
3379
- ...slotProps.value.attrs
3380
- }, {
4374
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
3381
4375
  as: __props.as,
3382
4376
  renderless: __props.renderless
3383
4377
  }), {
@@ -3450,10 +4444,7 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
3450
4444
  attrs: controlAttrs.value
3451
4445
  }));
3452
4446
  return (_ctx, _cache) => {
3453
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
3454
- ...unref(attrs),
3455
- ...controlAttrs.value
3456
- }, {
4447
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
3457
4448
  as: __props.as,
3458
4449
  renderless: __props.renderless
3459
4450
  }), {
@@ -3483,7 +4474,7 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
3483
4474
  const descriptionAttrs = toRef(() => ({ id: root.descriptionId }));
3484
4475
  const slotProps = toRef(() => ({ id: root.descriptionId }));
3485
4476
  return (_ctx, _cache) => {
3486
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), descriptionAttrs.value), {
4477
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), descriptionAttrs.value), {
3487
4478
  as: __props.as,
3488
4479
  renderless: __props.renderless
3489
4480
  }), {
@@ -3520,10 +4511,7 @@ const _sfc_main$87 = /* @__PURE__ */ defineComponent({
3520
4511
  }
3521
4512
  }));
3522
4513
  return (_ctx, _cache) => {
3523
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
3524
- ...unref(attrs),
3525
- ...slotProps.value.attrs
3526
- }, {
4514
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
3527
4515
  as: __props.as,
3528
4516
  renderless: __props.renderless
3529
4517
  }), {
@@ -3789,7 +4777,7 @@ const _sfc_main$85 = /* @__PURE__ */ defineComponent({
3789
4777
  }
3790
4778
  }));
3791
4779
  return (_ctx, _cache) => {
3792
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
4780
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
3793
4781
  as: __props.as,
3794
4782
  renderless: __props.renderless
3795
4783
  }), {
@@ -3819,9 +4807,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
3819
4807
  text.value = /* @__PURE__ */ isNull(root.value.value) ? "" : String(root.value.value);
3820
4808
  }
3821
4809
  onMounted(syncText);
3822
- watch(() => root.value.value, () => {
3823
- if (!root.isFocused.value) syncText();
3824
- });
4810
+ watch(() => root.value.value, syncText);
3825
4811
  const displayValue = toRef(() => {
3826
4812
  return root.isFocused.value ? text.value : root.display.value;
3827
4813
  });
@@ -3934,7 +4920,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
3934
4920
  attrs: controlAttrs.value
3935
4921
  }));
3936
4922
  return (_ctx, _cache) => {
3937
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
4923
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
3938
4924
  as: __props.as,
3939
4925
  renderless: __props.renderless
3940
4926
  }), {
@@ -3958,6 +4944,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
3958
4944
  setup(__props) {
3959
4945
  const attrs = useAttrs();
3960
4946
  const root = useNumberFieldRoot(__props.namespace);
4947
+ const locale = useLocale();
3961
4948
  const isDisabled = toRef(() => {
3962
4949
  return root.isDisabled.value || root.isReadonly.value || !root.canDecrement.value;
3963
4950
  });
@@ -3991,7 +4978,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
3991
4978
  return {
3992
4979
  "type": "button",
3993
4980
  "tabindex": -1,
3994
- "aria-label": "Decrement",
4981
+ "aria-label": locale.t("NumberField.decrement"),
3995
4982
  "disabled": disabled || void 0,
3996
4983
  "data-disabled": disabled ? true : void 0,
3997
4984
  onBlur,
@@ -4005,7 +4992,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
4005
4992
  attrs: controlAttrs.value
4006
4993
  }));
4007
4994
  return (_ctx, _cache) => {
4008
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
4995
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
4009
4996
  as: __props.as,
4010
4997
  renderless: __props.renderless
4011
4998
  }), {
@@ -4035,7 +5022,7 @@ const _sfc_main$82 = /* @__PURE__ */ defineComponent({
4035
5022
  const descriptionAttrs = toRef(() => ({ id: root.descriptionId }));
4036
5023
  const slotProps = toRef(() => ({ id: root.descriptionId }));
4037
5024
  return (_ctx, _cache) => {
4038
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), descriptionAttrs.value), {
5025
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), descriptionAttrs.value), {
4039
5026
  as: __props.as,
4040
5027
  renderless: __props.renderless
4041
5028
  }), {
@@ -4072,7 +5059,7 @@ const _sfc_main$81 = /* @__PURE__ */ defineComponent({
4072
5059
  }
4073
5060
  }));
4074
5061
  return (_ctx, _cache) => {
4075
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5062
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
4076
5063
  as: __props.as,
4077
5064
  renderless: __props.renderless
4078
5065
  }), {
@@ -4096,6 +5083,7 @@ const _sfc_main$80 = /* @__PURE__ */ defineComponent({
4096
5083
  setup(__props) {
4097
5084
  const attrs = useAttrs();
4098
5085
  const root = useNumberFieldRoot(__props.namespace);
5086
+ const locale = useLocale();
4099
5087
  const isDisabled = toRef(() => {
4100
5088
  return root.isDisabled.value || root.isReadonly.value || !root.canIncrement.value;
4101
5089
  });
@@ -4129,7 +5117,7 @@ const _sfc_main$80 = /* @__PURE__ */ defineComponent({
4129
5117
  return {
4130
5118
  "type": "button",
4131
5119
  "tabindex": -1,
4132
- "aria-label": "Increment",
5120
+ "aria-label": locale.t("NumberField.increment"),
4133
5121
  "disabled": disabled || void 0,
4134
5122
  "data-disabled": disabled ? true : void 0,
4135
5123
  onBlur,
@@ -4143,7 +5131,7 @@ const _sfc_main$80 = /* @__PURE__ */ defineComponent({
4143
5131
  attrs: controlAttrs.value
4144
5132
  }));
4145
5133
  return (_ctx, _cache) => {
4146
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
5134
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), controlAttrs.value), {
4147
5135
  as: __props.as,
4148
5136
  renderless: __props.renderless
4149
5137
  }), {
@@ -4210,7 +5198,7 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
4210
5198
  "data-readonly": root.isReadonly.value ? true : void 0
4211
5199
  } }));
4212
5200
  return (_ctx, _cache) => {
4213
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), scrubAttrs.value), {
5201
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), scrubAttrs.value), {
4214
5202
  as: __props.as,
4215
5203
  renderless: __props.renderless
4216
5204
  }), {
@@ -4346,7 +5334,7 @@ const _sfc_main$78 = /* @__PURE__ */ defineComponent({
4346
5334
  providePaginationControls(__props.namespace, controls);
4347
5335
  providePaginationItems(__props.namespace, items);
4348
5336
  return (_ctx, _cache) => {
4349
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5337
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4350
5338
  ref_key: "atom",
4351
5339
  ref: atom
4352
5340
  }, slotProps.value.attrs, {
@@ -4367,7 +5355,7 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
4367
5355
  props: {
4368
5356
  namespace: { default: "v0:pagination" },
4369
5357
  ellipsis: {},
4370
- id: { default: () => useId() },
5358
+ id: { default: () => /* @__PURE__ */ useId$1() },
4371
5359
  as: { default: "span" },
4372
5360
  renderless: { type: Boolean }
4373
5361
  },
@@ -4389,7 +5377,7 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
4389
5377
  }));
4390
5378
  onBeforeUnmount(() => items.unregister(__props.id));
4391
5379
  return (_ctx, _cache) => {
4392
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5380
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4393
5381
  ref_key: "atom",
4394
5382
  ref: atom
4395
5383
  }, slotProps.value.attrs, {
@@ -4410,7 +5398,7 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
4410
5398
  props: {
4411
5399
  namespace: { default: "v0:pagination" },
4412
5400
  disabled: { type: Boolean },
4413
- id: { default: () => useId() },
5401
+ id: { default: () => /* @__PURE__ */ useId$1() },
4414
5402
  as: { default: "button" },
4415
5403
  renderless: { type: Boolean }
4416
5404
  },
@@ -4446,7 +5434,7 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
4446
5434
  }));
4447
5435
  onBeforeUnmount(() => controls.unregister(__props.id));
4448
5436
  return (_ctx, _cache) => {
4449
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5437
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4450
5438
  ref_key: "atom",
4451
5439
  ref: atom
4452
5440
  }, slotProps.value.attrs, {
@@ -4471,7 +5459,7 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
4471
5459
  type: Boolean,
4472
5460
  default: false
4473
5461
  },
4474
- id: { default: () => useId() },
5462
+ id: { default: () => /* @__PURE__ */ useId$1() },
4475
5463
  as: { default: "button" },
4476
5464
  renderless: { type: Boolean }
4477
5465
  },
@@ -4514,7 +5502,7 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
4514
5502
  }));
4515
5503
  onBeforeUnmount(() => items.unregister(__props.id));
4516
5504
  return (_ctx, _cache) => {
4517
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5505
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4518
5506
  ref_key: "atom",
4519
5507
  ref: atom
4520
5508
  }, slotProps.value.attrs, {
@@ -4535,7 +5523,7 @@ const _sfc_main$74 = /* @__PURE__ */ defineComponent({
4535
5523
  props: {
4536
5524
  namespace: { default: "v0:pagination" },
4537
5525
  disabled: { type: Boolean },
4538
- id: { default: () => useId() },
5526
+ id: { default: () => /* @__PURE__ */ useId$1() },
4539
5527
  as: { default: "button" },
4540
5528
  renderless: { type: Boolean }
4541
5529
  },
@@ -4571,7 +5559,7 @@ const _sfc_main$74 = /* @__PURE__ */ defineComponent({
4571
5559
  }));
4572
5560
  onBeforeUnmount(() => controls.unregister(__props.id));
4573
5561
  return (_ctx, _cache) => {
4574
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5562
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4575
5563
  ref_key: "atom",
4576
5564
  ref: atom
4577
5565
  }, slotProps.value.attrs, {
@@ -4592,7 +5580,7 @@ const _sfc_main$73 = /* @__PURE__ */ defineComponent({
4592
5580
  props: {
4593
5581
  namespace: { default: "v0:pagination" },
4594
5582
  disabled: { type: Boolean },
4595
- id: { default: () => useId() },
5583
+ id: { default: () => /* @__PURE__ */ useId$1() },
4596
5584
  as: { default: "button" },
4597
5585
  renderless: { type: Boolean }
4598
5586
  },
@@ -4628,7 +5616,7 @@ const _sfc_main$73 = /* @__PURE__ */ defineComponent({
4628
5616
  }));
4629
5617
  onBeforeUnmount(() => controls.unregister(__props.id));
4630
5618
  return (_ctx, _cache) => {
4631
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5619
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4632
5620
  ref_key: "atom",
4633
5621
  ref: atom
4634
5622
  }, slotProps.value.attrs, {
@@ -4649,7 +5637,7 @@ const _sfc_main$72 = /* @__PURE__ */ defineComponent({
4649
5637
  props: {
4650
5638
  namespace: { default: "v0:pagination" },
4651
5639
  disabled: { type: Boolean },
4652
- id: { default: () => useId() },
5640
+ id: { default: () => /* @__PURE__ */ useId$1() },
4653
5641
  as: { default: "button" },
4654
5642
  renderless: { type: Boolean }
4655
5643
  },
@@ -4685,7 +5673,7 @@ const _sfc_main$72 = /* @__PURE__ */ defineComponent({
4685
5673
  }));
4686
5674
  onBeforeUnmount(() => controls.unregister(__props.id));
4687
5675
  return (_ctx, _cache) => {
4688
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5676
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4689
5677
  ref_key: "atom",
4690
5678
  ref: atom
4691
5679
  }, slotProps.value.attrs, {
@@ -4734,7 +5722,7 @@ const _sfc_main$71 = /* @__PURE__ */ defineComponent({
4734
5722
  }
4735
5723
  }));
4736
5724
  return (_ctx, _cache) => {
4737
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
5725
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
4738
5726
  as: __props.as,
4739
5727
  renderless: __props.renderless
4740
5728
  }), {
@@ -4763,7 +5751,7 @@ const Pagination = {
4763
5751
  };
4764
5752
  //#endregion
4765
5753
  //#region src/components/Popover/PopoverRoot.vue
4766
- const [usePopoverContext, providePopoverContext] = createContext("Popover");
5754
+ const [usePopoverContext, providePopoverContext] = createContext("v0:popover");
4767
5755
  const _sfc_main$70 = /* @__PURE__ */ defineComponent({
4768
5756
  name: "PopoverRoot",
4769
5757
  __name: "PopoverRoot",
@@ -4795,7 +5783,7 @@ const _sfc_main$70 = /* @__PURE__ */ defineComponent({
4795
5783
  toggle: popover.toggle
4796
5784
  }));
4797
5785
  return (_ctx, _cache) => {
4798
- return openBlock(), createBlock(unref(_sfc_main$149), {
5786
+ return openBlock(), createBlock(unref(_sfc_main$162), {
4799
5787
  as: __props.as,
4800
5788
  renderless: ""
4801
5789
  }, {
@@ -4831,7 +5819,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
4831
5819
  }
4832
5820
  }));
4833
5821
  return (_ctx, _cache) => {
4834
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5822
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4835
5823
  as: __props.as,
4836
5824
  style: style.value
4837
5825
  }, slotProps.value.attrs), {
@@ -4882,7 +5870,7 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
4882
5870
  }
4883
5871
  }));
4884
5872
  return (_ctx, _cache) => {
4885
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5873
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
4886
5874
  ref_key: "ref",
4887
5875
  ref,
4888
5876
  as: __props.as,
@@ -4928,12 +5916,25 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
4928
5916
  disabled: {
4929
5917
  type: Boolean,
4930
5918
  default: false
5919
+ },
5920
+ blocking: {
5921
+ type: Boolean,
5922
+ default: false
4931
5923
  }
4932
5924
  },
4933
- setup(__props) {
4934
- const ticket = useStack().register();
5925
+ emits: ["close"],
5926
+ setup(__props, { emit: __emit }) {
5927
+ const emit = __emit;
5928
+ const ticket = useStack().register({
5929
+ disabled: __props.disabled,
5930
+ blocking: __props.blocking,
5931
+ onDismiss: () => emit("close")
5932
+ });
4935
5933
  ticket.select();
4936
- const slotProps = toRef(() => ({ zIndex: ticket.zIndex.value }));
5934
+ const slotProps = toRef(() => ({
5935
+ zIndex: ticket.zIndex.value,
5936
+ close: ticket.dismiss
5937
+ }));
4937
5938
  return (_ctx, _cache) => {
4938
5939
  return openBlock(), createBlock(Teleport, {
4939
5940
  disabled: __props.disabled,
@@ -5113,7 +6114,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
5113
6114
  };
5114
6115
  });
5115
6116
  return (_ctx, _cache) => {
5116
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6117
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5117
6118
  as: __props.as,
5118
6119
  renderless: __props.renderless
5119
6120
  }), {
@@ -5154,7 +6155,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
5154
6155
  }
5155
6156
  }));
5156
6157
  return (_ctx, _cache) => {
5157
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6158
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5158
6159
  as: __props.as,
5159
6160
  renderless: __props.renderless,
5160
6161
  style: [unref(attrs).style, slotProps.value.attrs.style]
@@ -5185,7 +6186,7 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
5185
6186
  const attrs = useAttrs();
5186
6187
  const root = useProgressRoot(__props.namespace);
5187
6188
  const ticket = root.register({ value: toRef(() => __props.value ?? 0) });
5188
- onUnmounted(() => {
6189
+ onBeforeUnmount(() => {
5189
6190
  ticket.unregister();
5190
6191
  });
5191
6192
  const current = toRef(() => toValue(ticket.value) ?? 0);
@@ -5201,7 +6202,7 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
5201
6202
  }
5202
6203
  }));
5203
6204
  return (_ctx, _cache) => {
5204
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6205
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5205
6206
  as: __props.as,
5206
6207
  renderless: __props.renderless,
5207
6208
  style: [unref(attrs).style, slotProps.value.attrs.style]
@@ -5237,7 +6238,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
5237
6238
  attrs: { id: root.labelId }
5238
6239
  }));
5239
6240
  return (_ctx, _cache) => {
5240
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6241
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5241
6242
  as: __props.as,
5242
6243
  renderless: __props.renderless
5243
6244
  }), {
@@ -5263,7 +6264,7 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
5263
6264
  const root = useProgressRoot(__props.namespace);
5264
6265
  const slotProps = toRef(() => ({ attrs: { "data-state": root.isIndeterminate.value ? "indeterminate" : "determinate" } }));
5265
6266
  return (_ctx, _cache) => {
5266
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6267
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5267
6268
  as: __props.as,
5268
6269
  renderless: __props.renderless
5269
6270
  }), {
@@ -5295,7 +6296,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
5295
6296
  attrs: {}
5296
6297
  }));
5297
6298
  return (_ctx, _cache) => {
5298
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6299
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5299
6300
  as: __props.as,
5300
6301
  renderless: __props.renderless
5301
6302
  }), {
@@ -5401,7 +6402,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
5401
6402
  }
5402
6403
  }));
5403
6404
  return (_ctx, _cache) => {
5404
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
6405
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
5405
6406
  as: __props.as,
5406
6407
  renderless: __props.renderless
5407
6408
  }), {
@@ -5419,7 +6420,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
5419
6420
  inheritAttrs: false,
5420
6421
  __name: "RadioRoot",
5421
6422
  props: {
5422
- id: { default: () => useId() },
6423
+ id: { default: () => /* @__PURE__ */ useId$1() },
5423
6424
  label: {},
5424
6425
  value: {},
5425
6426
  name: {},
@@ -5487,7 +6488,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
5487
6488
  if (group.activation.value === "automatic") nextItem.select();
5488
6489
  toValue(nextItem.el)?.focus();
5489
6490
  }
5490
- onUnmounted(() => {
6491
+ onBeforeUnmount(() => {
5491
6492
  group.unregister(ticket.id);
5492
6493
  });
5493
6494
  const context = {
@@ -5524,10 +6525,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
5524
6525
  }
5525
6526
  }));
5526
6527
  return (_ctx, _cache) => {
5527
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps({ ref: "root" }, {
5528
- ...unref(attrs),
5529
- ...slotProps.value.attrs
5530
- }, {
6528
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
5531
6529
  as: __props.as,
5532
6530
  renderless: __props.renderless,
5533
6531
  onClick,
@@ -5616,7 +6614,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
5616
6614
  }
5617
6615
  }));
5618
6616
  return (_ctx, _cache) => {
5619
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
6617
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
5620
6618
  as: __props.as,
5621
6619
  renderless: __props.renderless
5622
6620
  }), {
@@ -5728,6 +6726,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
5728
6726
  isDisabled,
5729
6727
  isReadonly
5730
6728
  };
6729
+ const locale = useLocale();
5731
6730
  provideRatingRoot(__props.namespace, context);
5732
6731
  const slotProps = toRef(() => ({
5733
6732
  value: displayValue.value,
@@ -5741,7 +6740,10 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
5741
6740
  "aria-valuenow": rating.value.value,
5742
6741
  "aria-valuemin": 0,
5743
6742
  "aria-valuemax": rating.size,
5744
- "aria-valuetext": `${rating.value.value} out of ${rating.size}`,
6743
+ "aria-valuetext": locale.t("Rating.valueText", {
6744
+ value: rating.value.value,
6745
+ size: rating.size
6746
+ }),
5745
6747
  "aria-disabled": isDisabled.value ? true : void 0,
5746
6748
  "aria-readonly": isReadonly.value ? true : void 0,
5747
6749
  "data-disabled": isDisabled.value ? true : void 0,
@@ -5752,10 +6754,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
5752
6754
  }
5753
6755
  }));
5754
6756
  return (_ctx, _cache) => {
5755
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps({
5756
- ...unref(attrs),
5757
- ...slotProps.value.attrs
5758
- }, {
6757
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5759
6758
  as: __props.as,
5760
6759
  renderless: __props.renderless
5761
6760
  }), {
@@ -5846,10 +6845,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
5846
6845
  }
5847
6846
  }));
5848
6847
  return (_ctx, _cache) => {
5849
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
5850
- ...unref(attrs),
5851
- ...slotProps.value.attrs
5852
- }, {
6848
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
5853
6849
  as: __props.as,
5854
6850
  renderless: __props.renderless
5855
6851
  }), {
@@ -5940,7 +6936,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
5940
6936
  to: __props.teleportTo
5941
6937
  }, [createVNode(TransitionGroup, { name: __props.transition }, {
5942
6938
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
5943
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
6939
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
5944
6940
  key: ticket.id,
5945
6941
  as: __props.as,
5946
6942
  style: getStyle(ticket)
@@ -5959,7 +6955,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
5959
6955
  name: __props.transition
5960
6956
  }, {
5961
6957
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
5962
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
6958
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
5963
6959
  key: ticket.id,
5964
6960
  as: __props.as,
5965
6961
  style: getStyle(ticket)
@@ -6059,7 +7055,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
6059
7055
  emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
6060
7056
  setup(__props) {
6061
7057
  const model = useModel(__props, "modelValue");
6062
- const id = __props.id ?? useId();
7058
+ const id = __props.id ?? /* @__PURE__ */ useId$1();
6063
7059
  const listboxId = `${id}-listbox`;
6064
7060
  const activatorId = `${id}-activator`;
6065
7061
  const selection = createSelection({
@@ -6075,7 +7071,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
6075
7071
  const activatorEl = shallowRef(null);
6076
7072
  const virtualFocus = useVirtualFocus(() => selection.values().map((ticket) => ({
6077
7073
  id: ticket.id,
6078
- el: () => document.querySelector(`#${CSS.escape(`${id}-option-${ticket.id}`)}`),
7074
+ el: () => IN_BROWSER ? document.querySelector(`#${CSS.escape(`${id}-option-${ticket.id}`)}`) : null,
6079
7075
  disabled: ticket.disabled
6080
7076
  })), {
6081
7077
  control: activatorEl,
@@ -6137,7 +7133,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
6137
7133
  toggle
6138
7134
  }));
6139
7135
  return (_ctx, _cache) => {
6140
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), {
7136
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), {
6141
7137
  as: __props.as,
6142
7138
  renderless: ""
6143
7139
  }, {
@@ -6211,7 +7207,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
6211
7207
  }
6212
7208
  }));
6213
7209
  return (_ctx, _cache) => {
6214
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
7210
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
6215
7211
  ref: "activator",
6216
7212
  as: __props.as,
6217
7213
  style: style.value
@@ -6256,7 +7252,7 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
6256
7252
  }));
6257
7253
  const style = toRef(() => context.popover.contentStyles.value);
6258
7254
  return (_ctx, _cache) => {
6259
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
7255
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
6260
7256
  ref_key: "content",
6261
7257
  ref: content
6262
7258
  }, slotProps.value.attrs, {
@@ -6289,7 +7285,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
6289
7285
  }
6290
7286
  }));
6291
7287
  return (_ctx, _cache) => {
6292
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs), {
7288
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs), {
6293
7289
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
6294
7290
  _: 3
6295
7291
  }, 16, ["as"]);
@@ -6323,7 +7319,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
6323
7319
  function onClick() {
6324
7320
  if (!toValue(isDisabled)) context.select(ticket.id);
6325
7321
  }
6326
- onUnmounted(() => {
7322
+ onBeforeUnmount(() => {
6327
7323
  context.selection.unregister(ticket.id);
6328
7324
  });
6329
7325
  const slotProps = toRef(() => ({
@@ -6344,7 +7340,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
6344
7340
  }
6345
7341
  }));
6346
7342
  return (_ctx, _cache) => {
6347
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
7343
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
6348
7344
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
6349
7345
  _: 3
6350
7346
  }, 16, ["as"]);
@@ -6365,7 +7361,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
6365
7361
  const context = useSelectContext(__props.namespace);
6366
7362
  const hasValue = toRef(() => context.selection.selectedIds.size > 0 || !/* @__PURE__ */ isNullOrUndefined(context.modelValue.value));
6367
7363
  return (_ctx, _cache) => {
6368
- return !hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$149), {
7364
+ return !hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$162), {
6369
7365
  key: 0,
6370
7366
  as: __props.as
6371
7367
  }, {
@@ -6408,7 +7404,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
6408
7404
  };
6409
7405
  });
6410
7406
  return (_ctx, _cache) => {
6411
- return hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$149), {
7407
+ return hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$162), {
6412
7408
  key: 0,
6413
7409
  as: __props.as
6414
7410
  }, {
@@ -6545,7 +7541,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
6545
7541
  disabled: __props.disabled
6546
7542
  });
6547
7543
  const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(selection.disabled));
6548
- onUnmounted(() => {
7544
+ onBeforeUnmount(() => {
6549
7545
  selection.unregister(ticket.id);
6550
7546
  });
6551
7547
  const slotProps = toRef(() => ({
@@ -6648,7 +7644,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
6648
7644
  disabled: __props.disabled
6649
7645
  });
6650
7646
  const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(single.disabled));
6651
- onUnmounted(() => {
7647
+ onBeforeUnmount(() => {
6652
7648
  single.unregister(ticket.id);
6653
7649
  });
6654
7650
  const slotProps = toRef(() => ({
@@ -6692,7 +7688,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
6692
7688
  inheritAttrs: false,
6693
7689
  __name: "SliderRoot",
6694
7690
  props: /* @__PURE__ */ mergeModels({
6695
- id: { default: () => useId() },
7691
+ id: { default: () => /* @__PURE__ */ useId$1() },
6696
7692
  min: { default: 0 },
6697
7693
  max: { default: 100 },
6698
7694
  step: { default: 1 },
@@ -6817,10 +7813,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
6817
7813
  }
6818
7814
  }));
6819
7815
  return (_ctx, _cache) => {
6820
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps({
6821
- ...unref(attrs),
6822
- ...slotProps.value.attrs
6823
- }, {
7816
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6824
7817
  as: __props.as,
6825
7818
  renderless: __props.renderless
6826
7819
  }), {
@@ -6909,10 +7902,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
6909
7902
  }
6910
7903
  }));
6911
7904
  return (_ctx, _cache) => {
6912
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
6913
- ...unref(attrs),
6914
- ...slotProps.value.attrs
6915
- }, {
7905
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
6916
7906
  as: __props.as,
6917
7907
  renderless: __props.renderless,
6918
7908
  style: [unref(attrs).style, slotProps.value.attrs.style]
@@ -6946,7 +7936,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
6946
7936
  const root = useSliderRoot(__props.namespace);
6947
7937
  const thumbRef = useTemplateRef("thumb");
6948
7938
  const ticket = root.register();
6949
- onUnmounted(() => {
7939
+ onBeforeUnmount(() => {
6950
7940
  root.unregister(ticket.id);
6951
7941
  });
6952
7942
  const index = toRef(() => ticket.index);
@@ -7023,7 +8013,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
7023
8013
  }
7024
8014
  }));
7025
8015
  return (_ctx, _cache) => {
7026
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ ref: "thumb" }, mergeProps(unref(attrs), slotProps.value.attrs), {
8016
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "thumb" }, mergeProps(unref(attrs), slotProps.value.attrs), {
7027
8017
  as: __props.as,
7028
8018
  renderless: __props.renderless,
7029
8019
  style: [unref(attrs).style, slotProps.value.attrs.style]
@@ -7089,7 +8079,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
7089
8079
  "onPointerdown": onPointerdown
7090
8080
  } }));
7091
8081
  return (_ctx, _cache) => {
7092
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ ref: "track" }, mergeProps(unref(attrs), slotProps.value.attrs), {
8082
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "track" }, mergeProps(unref(attrs), slotProps.value.attrs), {
7093
8083
  as: __props.as,
7094
8084
  renderless: __props.renderless,
7095
8085
  style: [unref(attrs).style, slotProps.value.attrs.style]
@@ -7157,7 +8147,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
7157
8147
  disabled: __props.teleport === false,
7158
8148
  to: __props.teleport || "body"
7159
8149
  }, {
7160
- default: withCtx(({ zIndex }) => [createVNode(unref(_sfc_main$149), mergeProps({
8150
+ default: withCtx(({ zIndex }) => [createVNode(unref(_sfc_main$162), mergeProps({
7161
8151
  as: __props.as,
7162
8152
  style: { zIndex }
7163
8153
  }, _ctx.$attrs), {
@@ -7212,7 +8202,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
7212
8202
  if (/* @__PURE__ */ isElement(el) && /* @__PURE__ */ isElement(e.relatedTarget) && el.contains(e.relatedTarget)) return;
7213
8203
  resume("focus");
7214
8204
  }
7215
- onUnmounted(() => {
8205
+ onBeforeUnmount(() => {
7216
8206
  if (reasons.size > 0) {
7217
8207
  reasons.clear();
7218
8208
  notifications.queue.resume();
@@ -7228,7 +8218,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
7228
8218
  }
7229
8219
  }));
7230
8220
  return (_ctx, _cache) => {
7231
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
8221
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
7232
8222
  ref_key: "container",
7233
8223
  ref: container
7234
8224
  }, slotProps.value.attrs, { as: __props.as }), {
@@ -7267,7 +8257,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
7267
8257
  attrs: { role: "status" }
7268
8258
  }));
7269
8259
  return (_ctx, _cache) => {
7270
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, { as: __props.as }), {
8260
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, { as: __props.as }), {
7271
8261
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
7272
8262
  _: 3
7273
8263
  }, 16, ["as"]);
@@ -7285,7 +8275,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
7285
8275
  },
7286
8276
  setup(__props) {
7287
8277
  return (_ctx, _cache) => {
7288
- return openBlock(), createBlock(unref(_sfc_main$149), { as: __props.as }, {
8278
+ return openBlock(), createBlock(unref(_sfc_main$162), { as: __props.as }, {
7289
8279
  default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
7290
8280
  _: 3
7291
8281
  }, 8, ["as"]);
@@ -7304,16 +8294,17 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
7304
8294
  },
7305
8295
  setup(__props) {
7306
8296
  const context = useSnackbarRootContext(__props.namespace);
8297
+ const locale = useLocale();
7307
8298
  function onClick() {
7308
8299
  context.onDismiss();
7309
8300
  }
7310
8301
  const slotProps = toRef(() => ({ attrs: {
7311
8302
  "type": __props.as === "button" ? "button" : void 0,
7312
- "aria-label": "Close",
8303
+ "aria-label": locale.t("Snackbar.close"),
7313
8304
  "onClick": onClick
7314
8305
  } }));
7315
8306
  return (_ctx, _cache) => {
7316
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, { as: __props.as }), {
8307
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, { as: __props.as }), {
7317
8308
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
7318
8309
  _: 3
7319
8310
  }, 16, ["as"]);
@@ -7548,10 +8539,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
7548
8539
  }
7549
8540
  }));
7550
8541
  return (_ctx, _cache) => {
7551
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ ref: "root" }, {
7552
- ...unref(attrs),
7553
- ...slotProps.value.attrs
7554
- }, {
8542
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
7555
8543
  as: __props.as,
7556
8544
  renderless: __props.renderless,
7557
8545
  style: [
@@ -7631,7 +8619,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
7631
8619
  ticket.collapsedSize = __props.collapsedSize;
7632
8620
  ticket.defaultSize = __props.defaultSize;
7633
8621
  });
7634
- onUnmounted(() => {
8622
+ onBeforeUnmount(() => {
7635
8623
  splitter.panels.unregister(ticket.id);
7636
8624
  });
7637
8625
  const size = toRef(() => ticket.size);
@@ -7674,10 +8662,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
7674
8662
  }
7675
8663
  }));
7676
8664
  return (_ctx, _cache) => {
7677
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
7678
- ...unref(attrs),
7679
- ...slotProps.value.attrs
7680
- }, {
8665
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
7681
8666
  as: __props.as,
7682
8667
  renderless: __props.renderless,
7683
8668
  style: [
@@ -7722,7 +8707,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
7722
8707
  const PAGE_STEP = 10;
7723
8708
  const splitter = useSplitterRoot();
7724
8709
  const ticket = splitter.handles.register();
7725
- onUnmounted(() => {
8710
+ onBeforeUnmount(() => {
7726
8711
  splitter.handles.unregister(ticket.id);
7727
8712
  });
7728
8713
  const hovering = shallowRef(false);
@@ -7875,7 +8860,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
7875
8860
  }
7876
8861
  }));
7877
8862
  return (_ctx, _cache) => {
7878
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
8863
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
7879
8864
  as: __props.as,
7880
8865
  renderless: __props.renderless,
7881
8866
  style: [
@@ -7999,7 +8984,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
7999
8984
  disabled: __props.disabled
8000
8985
  });
8001
8986
  const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(step.disabled));
8002
- onUnmounted(() => {
8987
+ onBeforeUnmount(() => {
8003
8988
  step.unregister(ticket.id);
8004
8989
  });
8005
8990
  const slotProps = toRef(() => ({
@@ -8094,7 +9079,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
8094
9079
  }
8095
9080
  }));
8096
9081
  return (_ctx, _cache) => {
8097
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
9082
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
8098
9083
  as: __props.as,
8099
9084
  renderless: __props.renderless
8100
9085
  }), {
@@ -8112,7 +9097,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
8112
9097
  inheritAttrs: false,
8113
9098
  __name: "SwitchRoot",
8114
9099
  props: /* @__PURE__ */ mergeModels({
8115
- id: { default: () => useId() },
9100
+ id: { default: () => /* @__PURE__ */ useId$1() },
8116
9101
  label: {},
8117
9102
  value: {},
8118
9103
  name: {},
@@ -8179,7 +9164,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
8179
9164
  e.preventDefault();
8180
9165
  toggle();
8181
9166
  }
8182
- onUnmounted(() => {
9167
+ onBeforeUnmount(() => {
8183
9168
  if (!ticket || !group) return;
8184
9169
  group.unregister(ticket.id);
8185
9170
  });
@@ -8226,10 +9211,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
8226
9211
  }
8227
9212
  }));
8228
9213
  return (_ctx, _cache) => {
8229
- return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$149), mergeProps({
8230
- ...unref(attrs),
8231
- ...slotProps.value.attrs
8232
- }, {
9214
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
8233
9215
  as: __props.as,
8234
9216
  renderless: __props.renderless,
8235
9217
  onClick,
@@ -8316,7 +9298,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
8316
9298
  setup(__props) {
8317
9299
  const attrs = useAttrs();
8318
9300
  const group = useSwitchGroup(__props.groupNamespace);
8319
- const id = useId();
9301
+ const id = /* @__PURE__ */ useId$1();
8320
9302
  const isAllSelected = toRef(() => group.isAllSelected.value);
8321
9303
  const isMixed = toRef(() => group.isMixed.value);
8322
9304
  const isDisabled = toRef(() => toValue(__props.disabled) || toValue(group.disabled));
@@ -8369,10 +9351,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
8369
9351
  }
8370
9352
  }));
8371
9353
  return (_ctx, _cache) => {
8372
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
8373
- ...unref(attrs),
8374
- ...slotProps.value.attrs
8375
- }, {
9354
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
8376
9355
  as: __props.as,
8377
9356
  renderless: __props.renderless,
8378
9357
  onClick,
@@ -8409,7 +9388,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
8409
9388
  }
8410
9389
  }));
8411
9390
  return (_ctx, _cache) => {
8412
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
9391
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
8413
9392
  as: __props.as,
8414
9393
  renderless: __props.renderless
8415
9394
  }), {
@@ -8440,7 +9419,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
8440
9419
  attrs: { "data-state": dataState.value }
8441
9420
  }));
8442
9421
  return (_ctx, _cache) => {
8443
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
9422
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
8444
9423
  as: __props.as,
8445
9424
  dir: "ltr",
8446
9425
  renderless: __props.renderless
@@ -8520,7 +9499,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
8520
9499
  emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
8521
9500
  setup(__props) {
8522
9501
  const model = useModel(__props, "modelValue");
8523
- const rootId = useId();
9502
+ const rootId = /* @__PURE__ */ useId$1();
8524
9503
  const step = createStep({
8525
9504
  disabled: toRef(() => __props.disabled),
8526
9505
  enroll: __props.enroll,
@@ -8584,10 +9563,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
8584
9563
  }
8585
9564
  }));
8586
9565
  return (_ctx, _cache) => {
8587
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
8588
- ...unref(attrs),
8589
- ...slotProps.value.attrs
8590
- }, {
9566
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
8591
9567
  as: __props.as,
8592
9568
  renderless: __props.renderless
8593
9569
  }), {
@@ -8628,7 +9604,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
8628
9604
  const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(tabs.disabled));
8629
9605
  const tabId = toRef(() => `${tabs.rootId}-tab-${ticket.id}`);
8630
9606
  const panelId = toRef(() => `${tabs.rootId}-panel-${ticket.id}`);
8631
- onUnmounted(() => {
9607
+ onBeforeUnmount(() => {
8632
9608
  tabs.unregister(ticket.id);
8633
9609
  });
8634
9610
  function focusSelectedTab() {
@@ -8735,7 +9711,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
8735
9711
  }
8736
9712
  }));
8737
9713
  return (_ctx, _cache) => {
8738
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
9714
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({ ref: "root" }, mergeProps(unref(attrs), slotProps.value.attrs), {
8739
9715
  as: __props.as,
8740
9716
  renderless: __props.renderless
8741
9717
  }), {
@@ -8784,10 +9760,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
8784
9760
  }
8785
9761
  }));
8786
9762
  return (_ctx, _cache) => {
8787
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
8788
- ...unref(attrs),
8789
- ...slotProps.value.attrs
8790
- }, {
9763
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
8791
9764
  as: __props.as,
8792
9765
  renderless: __props.renderless
8793
9766
  }), {
@@ -8877,7 +9850,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
8877
9850
  isDark: isDark.value
8878
9851
  }));
8879
9852
  return (_ctx, _cache) => {
8880
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
9853
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps({
8881
9854
  as: __props.as,
8882
9855
  "data-theme": selectedId.value,
8883
9856
  renderless: __props.renderless
@@ -8948,7 +9921,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
8948
9921
  }
8949
9922
  }));
8950
9923
  return (_ctx, _cache) => {
8951
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
9924
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
8952
9925
  as: __props.as,
8953
9926
  renderless: __props.renderless
8954
9927
  }), {
@@ -8966,7 +9939,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
8966
9939
  inheritAttrs: false,
8967
9940
  __name: "ToggleRoot",
8968
9941
  props: /* @__PURE__ */ mergeModels({
8969
- id: { default: () => useId() },
9942
+ id: { default: () => /* @__PURE__ */ useId$1() },
8970
9943
  value: {},
8971
9944
  disabled: {
8972
9945
  type: Boolean,
@@ -9015,7 +9988,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9015
9988
  e.preventDefault();
9016
9989
  toggle();
9017
9990
  }
9018
- onUnmounted(() => {
9991
+ onBeforeUnmount(() => {
9019
9992
  ticket?.unregister();
9020
9993
  });
9021
9994
  const context = {
@@ -9038,10 +10011,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9038
10011
  }
9039
10012
  }));
9040
10013
  return (_ctx, _cache) => {
9041
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps({
9042
- ...unref(attrs),
9043
- ...slotProps.value.attrs
9044
- }, {
10014
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
9045
10015
  as: __props.as,
9046
10016
  renderless: __props.renderless,
9047
10017
  onClick,
@@ -9074,7 +10044,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
9074
10044
  }
9075
10045
  }));
9076
10046
  return (_ctx, _cache) => {
9077
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10047
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9078
10048
  as: __props.as,
9079
10049
  renderless: __props.renderless
9080
10050
  }), {
@@ -9292,7 +10262,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
9292
10262
  onFocusin
9293
10263
  } }));
9294
10264
  return (_ctx, _cache) => {
9295
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10265
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9296
10266
  as: __props.as,
9297
10267
  renderless: __props.renderless
9298
10268
  }), {
@@ -9357,7 +10327,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
9357
10327
  deactivate: ticket.deactivate
9358
10328
  }));
9359
10329
  return (_ctx, _cache) => {
9360
- return openBlock(), createBlock(unref(_sfc_main$149), {
10330
+ return openBlock(), createBlock(unref(_sfc_main$162), {
9361
10331
  ref: "root",
9362
10332
  "aria-disabled": slotProps.value.isDisabled || void 0,
9363
10333
  "aria-expanded": hasContent.value ? slotProps.value.isOpen : void 0,
@@ -9425,7 +10395,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
9425
10395
  }
9426
10396
  }));
9427
10397
  return (_ctx, _cache) => {
9428
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10398
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9429
10399
  as: __props.as,
9430
10400
  renderless: __props.renderless
9431
10401
  }), {
@@ -9466,7 +10436,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
9466
10436
  }
9467
10437
  }));
9468
10438
  return (_ctx, _cache) => {
9469
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10439
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9470
10440
  as: __props.as,
9471
10441
  renderless: __props.renderless
9472
10442
  }), {
@@ -9526,7 +10496,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
9526
10496
  }
9527
10497
  }));
9528
10498
  return (_ctx, _cache) => {
9529
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10499
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9530
10500
  as: __props.as,
9531
10501
  renderless: __props.renderless
9532
10502
  }), {
@@ -9548,7 +10518,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9548
10518
  setup(__props) {
9549
10519
  const slotProps = toRef(() => ({ attrs: { role: "group" } }));
9550
10520
  return (_ctx, _cache) => {
9551
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10521
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9552
10522
  as: __props.as,
9553
10523
  renderless: __props.renderless
9554
10524
  }), {
@@ -9584,7 +10554,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9584
10554
  }
9585
10555
  }));
9586
10556
  return (_ctx, _cache) => {
9587
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10557
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9588
10558
  as: __props.as,
9589
10559
  renderless: __props.renderless
9590
10560
  }), {
@@ -9686,7 +10656,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9686
10656
  }
9687
10657
  }));
9688
10658
  return (_ctx, _cache) => {
9689
- return openBlock(), createBlock(unref(_sfc_main$149), mergeProps(slotProps.value.attrs, {
10659
+ return openBlock(), createBlock(unref(_sfc_main$162), mergeProps(slotProps.value.attrs, {
9690
10660
  as: __props.as,
9691
10661
  renderless: __props.renderless
9692
10662
  }), {
@@ -9740,4 +10710,4 @@ const Treeview = {
9740
10710
  SelectAll: _sfc_main
9741
10711
  };
9742
10712
  //#endregion
9743
- export { _sfc_main$28 as $, Group as $n, useCheckboxGroup as $r, _sfc_main$58 as $t, _sfc_main$16 as A, _sfc_main$143 as Ai, providePaginationItems as An, _sfc_main$110 as Ar, Select as At, provideSwitchRoot as B, _sfc_main$83 as Bn, _sfc_main$118 as Br, _sfc_main$51 as Bt, _sfc_main$12 as C, _sfc_main$139 as Ci, _sfc_main$73 as Cn, provideDialogContext as Cr, provideSingleRoot as Ct, Tabs as D, AlertDialog as Di, _sfc_main$77 as Dn, _sfc_main$107 as Dr, _sfc_main$42 as Dt, _sfc_main$13 as E, useAvatarRoot as Ei, _sfc_main$76 as En, _sfc_main$106 as Er, _sfc_main$41 as Et, _sfc_main$18 as F, _sfc_main$148 as Fi, NumberField as Fn, provideComboboxContext as Fr, _sfc_main$47 as Ft, Step as G, _sfc_main$86 as Gn, _sfc_main$120 as Gr, provideRatingRoot as Gt, _sfc_main$23 as H, _sfc_main$85 as Hn, provideCollapsible as Hr, _sfc_main$52 as Ht, _sfc_main$19 as I, provideAlertDialogContext as Ii, _sfc_main$79 as In, useComboboxContext as Ir, _sfc_main$48 as It, provideStepRoot as J, _sfc_main$88 as Jn, _sfc_main$123 as Jr, _sfc_main$55 as Jt, _sfc_main$24 as K, Input as Kn, _sfc_main$121 as Kr, useRatingRoot as Kt, _sfc_main$20 as L, useAlertDialogContext as Li, _sfc_main$80 as Ln, Collapsible as Lr, _sfc_main$49 as Lt, provideTabsRoot as M, _sfc_main$145 as Mi, usePaginationControls as Mn, _sfc_main$112 as Mr, _sfc_main$44 as Mt, useTabsRoot as N, _sfc_main$146 as Ni, usePaginationItems as Nn, _sfc_main$113 as Nr, _sfc_main$45 as Nt, _sfc_main$14 as O, _sfc_main$141 as Oi, _sfc_main$78 as On, _sfc_main$108 as Or, provideSelectionRoot as Ot, Switch as P, _sfc_main$147 as Pi, usePaginationRoot as Pn, _sfc_main$114 as Pr, _sfc_main$46 as Pt, _sfc_main$27 as Q, useInputRoot as Qn, provideCheckboxGroup as Qr, useRadioRoot as Qt, _sfc_main$21 as R, _sfc_main$149 as Ri, _sfc_main$81 as Rn, _sfc_main$116 as Rr, provideSelectContext as Rt, useToggleRoot as S, _sfc_main$138 as Si, _sfc_main$72 as Sn, _sfc_main$105 as Sr, _sfc_main$40 as St, useToggleGroup as T, provideAvatarRoot as Ti, _sfc_main$75 as Tn, Combobox as Tr, Selection as Tt, provideSwitchGroup as U, provideNumberFieldRoot as Un, useCollapsible as Ur, _sfc_main$53 as Ut, useSwitchRoot as V, _sfc_main$84 as Vn, _sfc_main$119 as Vr, Rating as Vt, useSwitchGroup as W, useNumberFieldRoot as Wn, Checkbox as Wr, _sfc_main$54 as Wt, Splitter as X, _sfc_main$90 as Xn, useCheckboxRoot as Xr, _sfc_main$57 as Xt, useStepRoot as Y, _sfc_main$89 as Yn, provideCheckboxRoot as Yr, _sfc_main$56 as Yt, _sfc_main$26 as Z, provideInputRoot as Zn, _sfc_main$124 as Zr, provideRadioRoot as Zt, useTreeviewRoot as _, _sfc_main$136 as _i, _sfc_main$70 as _n, _sfc_main$100 as _r, _sfc_main$38 as _t, _sfc_main$3 as a, provideButtonRoot as ai, _sfc_main$61 as an, ExpansionPanel as ar, _sfc_main$31 as at, _sfc_main$11 as b, useBreadcrumbsRoot as bi, Pagination as bn, _sfc_main$103 as br, Single as bt, _sfc_main$6 as c, _sfc_main$130 as ci, _sfc_main$64 as cn, _sfc_main$96 as cr, _sfc_main$32 as ct, useTreeviewItem as d, Breadcrumbs as di, _sfc_main$65 as dn, provideExpansionPanelRoot as dr, _sfc_main$33 as dt, Button as ei, provideRadioGroup as en, _sfc_main$91 as er, provideSplitterRoot as et, _sfc_main$8 as f, _sfc_main$131 as fi, _sfc_main$66 as fn, useExpansionPanelRoot as fr, Slider as ft, provideTreeviewRoot as g, _sfc_main$135 as gi, _sfc_main$69 as gn, Dialog as gr, _sfc_main$37 as gt, _sfc_main$9 as h, _sfc_main$134 as hi, _sfc_main$68 as hn, useExpansionPanelGroup as hr, _sfc_main$36 as ht, _sfc_main$2 as i, _sfc_main$128 as ii, _sfc_main$60 as in, _sfc_main$93 as ir, _sfc_main$30 as it, _sfc_main$17 as j, _sfc_main$144 as ji, providePaginationRoot as jn, _sfc_main$111 as jr, _sfc_main$43 as jt, _sfc_main$15 as k, _sfc_main$142 as ki, providePaginationControls as kn, _sfc_main$109 as kr, useSelectionRoot as kt, _sfc_main$7 as l, provideButtonGroup as li, provideProgressRoot as ln, _sfc_main$97 as lr, provideSnackbarQueueContext as lt, useTreeviewList as m, _sfc_main$133 as mi, Popover as mn, provideExpansionPanelGroup as mr, _sfc_main$35 as mt, _sfc_main as n, _sfc_main$126 as ni, Progress as nn, provideGroupRoot as nr, Snackbar as nt, _sfc_main$4 as o, useButtonRoot as oi, _sfc_main$62 as on, _sfc_main$94 as or, provideSnackbarRootContext as ot, provideTreeviewList as p, _sfc_main$132 as pi, _sfc_main$67 as pn, _sfc_main$99 as pr, _sfc_main$34 as pt, _sfc_main$25 as q, _sfc_main$87 as qn, _sfc_main$122 as qr, Radio as qt, _sfc_main$1 as r, _sfc_main$127 as ri, _sfc_main$59 as rn, useGroupRoot as rr, _sfc_main$29 as rt, _sfc_main$5 as s, _sfc_main$129 as si, _sfc_main$63 as sn, _sfc_main$95 as sr, useSnackbarRootContext as st, Treeview as t, _sfc_main$125 as ti, useRadioGroup as tn, _sfc_main$92 as tr, useSplitterRoot as tt, provideTreeviewItem as u, useButtonGroup as ui, useProgressRoot as un, _sfc_main$98 as ur, useSnackbarQueueContext as ut, Toggle as v, _sfc_main$137 as vi, providePopoverContext as vn, _sfc_main$101 as vr, provideSliderRoot as vt, provideToggleGroup as w, _sfc_main$140 as wi, _sfc_main$74 as wn, useDialogContext as wr, useSingleRoot as wt, provideToggleRoot as x, Avatar as xi, _sfc_main$71 as xn, _sfc_main$104 as xr, _sfc_main$39 as xt, _sfc_main$10 as y, provideBreadcrumbsRoot as yi, usePopoverContext as yn, _sfc_main$102 as yr, useSliderRoot as yt, _sfc_main$22 as z, _sfc_main$82 as zn, _sfc_main$117 as zr, useSelectContext as zt };
10713
+ export { _sfc_main$28 as $, _sfc_main$160 as $i, Image as $n, _sfc_main$125 as $r, _sfc_main$58 as $t, _sfc_main$16 as A, _sfc_main$143 as Ai, providePaginationItems as An, provideDialogContext as Ar, Select as At, provideSwitchRoot as B, _sfc_main$150 as Bi, _sfc_main$83 as Bn, _sfc_main$117 as Br, _sfc_main$51 as Bt, _sfc_main$12 as C, provideButtonRoot as Ci, _sfc_main$73 as Cn, Dialog as Cr, provideSingleRoot as Ct, Tabs as D, provideButtonGroup as Di, _sfc_main$77 as Dn, _sfc_main$107 as Dr, _sfc_main$42 as Dt, _sfc_main$13 as E, _sfc_main$142 as Ei, _sfc_main$76 as En, _sfc_main$106 as Er, _sfc_main$41 as Et, _sfc_main$18 as F, _sfc_main$148 as Fi, NumberField as Fn, _sfc_main$112 as Fr, _sfc_main$47 as Ft, Step as G, _sfc_main$153 as Gi, _sfc_main$86 as Gn, _sfc_main$120 as Gr, provideRatingRoot as Gt, _sfc_main$23 as H, _sfc_main$152 as Hi, _sfc_main$85 as Hn, provideComboboxContext as Hr, _sfc_main$52 as Ht, _sfc_main$19 as I, _sfc_main$149 as Ii, _sfc_main$79 as In, _sfc_main$113 as Ir, _sfc_main$48 as It, provideStepRoot as J, _sfc_main$155 as Ji, _sfc_main$88 as Jn, _sfc_main$123 as Jr, _sfc_main$55 as Jt, _sfc_main$24 as K, AlertDialog as Ki, Input as Kn, _sfc_main$121 as Kr, useRatingRoot as Kt, _sfc_main$20 as L, provideBreadcrumbsRoot as Li, _sfc_main$80 as Ln, _sfc_main$114 as Lr, _sfc_main$49 as Lt, provideTabsRoot as M, _sfc_main$145 as Mi, usePaginationControls as Mn, Combobox as Mr, _sfc_main$44 as Mt, useTabsRoot as N, _sfc_main$146 as Ni, usePaginationItems as Nn, _sfc_main$110 as Nr, _sfc_main$45 as Nt, _sfc_main$14 as O, useButtonGroup as Oi, _sfc_main$78 as On, _sfc_main$108 as Or, provideSelectionRoot as Ot, Switch as P, _sfc_main$147 as Pi, usePaginationRoot as Pn, _sfc_main$111 as Pr, _sfc_main$46 as Pt, _sfc_main$27 as Q, _sfc_main$159 as Qi, useInputRoot as Qn, _sfc_main$124 as Qr, useRadioRoot as Qt, _sfc_main$21 as R, useBreadcrumbsRoot as Ri, _sfc_main$81 as Rn, _sfc_main$115 as Rr, provideSelectContext as Rt, useToggleRoot as S, _sfc_main$140 as Si, _sfc_main$72 as Sn, useExpansionPanelGroup as Sr, _sfc_main$40 as St, useToggleGroup as T, _sfc_main$141 as Ti, _sfc_main$75 as Tn, _sfc_main$105 as Tr, Selection as Tt, provideSwitchGroup as U, provideAvatarRoot as Ui, provideNumberFieldRoot as Un, useComboboxContext as Ur, _sfc_main$53 as Ut, useSwitchRoot as V, _sfc_main$151 as Vi, _sfc_main$84 as Vn, _sfc_main$118 as Vr, Rating as Vt, useSwitchGroup as W, useAvatarRoot as Wi, useNumberFieldRoot as Wn, Collapsible as Wr, _sfc_main$54 as Wt, Splitter as X, _sfc_main$157 as Xi, _sfc_main$90 as Xn, useCollapsible as Xr, _sfc_main$57 as Xt, useStepRoot as Y, _sfc_main$156 as Yi, _sfc_main$89 as Yn, provideCollapsible as Yr, _sfc_main$56 as Yt, _sfc_main$26 as Z, _sfc_main$158 as Zi, provideInputRoot as Zn, Checkbox as Zr, provideRadioRoot as Zt, useTreeviewRoot as _, useCarouselRoot as _i, _sfc_main$70 as _n, _sfc_main$102 as _r, _sfc_main$38 as _t, _sfc_main$3 as a, provideCheckboxGroup as ai, _sfc_main$61 as an, useImageRoot as ar, _sfc_main$31 as at, _sfc_main$11 as b, _sfc_main$138 as bi, Pagination as bn, _sfc_main$103 as br, Single as bt, _sfc_main$6 as c, _sfc_main$129 as ci, _sfc_main$64 as cn, _sfc_main$96 as cr, _sfc_main$32 as ct, useTreeviewItem as d, _sfc_main$132 as di, _sfc_main$65 as dn, _sfc_main$97 as dr, _sfc_main$33 as dt, _sfc_main$161 as ea, _sfc_main$126 as ei, provideRadioGroup as en, _sfc_main$91 as er, provideSplitterRoot as et, _sfc_main$8 as f, _sfc_main$133 as fi, _sfc_main$66 as fn, ExpansionPanel as fr, Slider as ft, provideTreeviewRoot as g, provideCarouselRoot as gi, _sfc_main$69 as gn, _sfc_main$101 as gr, _sfc_main$37 as gt, _sfc_main$9 as h, _sfc_main$136 as hi, _sfc_main$68 as hn, _sfc_main$100 as hr, _sfc_main$36 as ht, _sfc_main$2 as i, _sfc_main$128 as ii, _sfc_main$60 as in, provideImageRoot as ir, _sfc_main$30 as it, _sfc_main$17 as j, _sfc_main$144 as ji, providePaginationRoot as jn, useDialogContext as jr, _sfc_main$43 as jt, _sfc_main$15 as k, Breadcrumbs as ki, providePaginationControls as kn, _sfc_main$109 as kr, useSelectionRoot as kt, _sfc_main$7 as l, _sfc_main$130 as li, provideProgressRoot as ln, provideGroupRoot as lr, provideSnackbarQueueContext as lt, useTreeviewList as m, _sfc_main$135 as mi, Popover as mn, _sfc_main$99 as mr, _sfc_main$35 as mt, _sfc_main as n, useAlertDialogContext as na, provideCheckboxRoot as ni, Progress as nn, _sfc_main$93 as nr, Snackbar as nt, _sfc_main$4 as o, useCheckboxGroup as oi, _sfc_main$62 as on, Group as or, provideSnackbarRootContext as ot, provideTreeviewList as p, _sfc_main$134 as pi, _sfc_main$67 as pn, _sfc_main$98 as pr, _sfc_main$34 as pt, _sfc_main$25 as q, _sfc_main$154 as qi, _sfc_main$87 as qn, _sfc_main$122 as qr, Radio as qt, _sfc_main$1 as r, _sfc_main$162 as ra, useCheckboxRoot as ri, _sfc_main$59 as rn, _sfc_main$94 as rr, _sfc_main$29 as rt, _sfc_main$5 as s, Carousel as si, _sfc_main$63 as sn, _sfc_main$95 as sr, useSnackbarRootContext as st, Treeview as t, provideAlertDialogContext as ta, _sfc_main$127 as ti, useRadioGroup as tn, _sfc_main$92 as tr, useSplitterRoot as tt, provideTreeviewItem as u, _sfc_main$131 as ui, useProgressRoot as un, useGroupRoot as ur, useSnackbarQueueContext as ut, Toggle as v, Button as vi, providePopoverContext as vn, provideExpansionPanelRoot as vr, provideSliderRoot as vt, provideToggleGroup as w, useButtonRoot as wi, _sfc_main$74 as wn, _sfc_main$104 as wr, useSingleRoot as wt, provideToggleRoot as x, _sfc_main$139 as xi, _sfc_main$71 as xn, provideExpansionPanelGroup as xr, _sfc_main$39 as xt, _sfc_main$10 as y, _sfc_main$137 as yi, usePopoverContext as yn, useExpansionPanelRoot as yr, useSliderRoot as yt, _sfc_main$22 as z, Avatar as zi, _sfc_main$82 as zn, _sfc_main$116 as zr, useSelectContext as zt };