@vuetify/v0 0.0.24-beta.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +2 -2
  2. package/dist/adapter-L4Php1_S.d.mts +97 -0
  3. package/dist/browser/index.js +1318 -842
  4. package/dist/components/index.d.mts +4 -4
  5. package/dist/components/index.mjs +6 -6
  6. package/dist/{components-Dd4KKVtk.mjs → components-V4KaMfn-.mjs} +442 -117
  7. package/dist/composables/index.d.mts +5 -4
  8. package/dist/composables/index.mjs +4 -4
  9. package/dist/constants/index.d.mts +1 -1
  10. package/dist/constants/index.mjs +3 -3
  11. package/dist/date/index.d.mts +124 -0
  12. package/dist/date/index.mjs +7514 -0
  13. package/dist/{globals-CiCJWcbb.mjs → globals-CgcVstn0.mjs} +1 -1
  14. package/dist/{index-CAEB2sxS.d.mts → index-CSjKBMhp.d.mts} +738 -349
  15. package/dist/{index-C8YcMooA.d.mts → index-CoO8LW8o.d.mts} +13 -9
  16. package/dist/{index-DYSwiS9k.d.mts → index-DlxrzbvZ.d.mts} +21 -1
  17. package/dist/{index-rcTqb9U3.d.mts → index-DsiFkTD8.d.mts} +662 -306
  18. package/dist/{index-Bby5ljat.d.mts → index-t-t6sAn3.d.mts} +222 -41
  19. package/dist/index.d.mts +8 -7
  20. package/dist/index.mjs +7 -7
  21. package/dist/json/attributes.json +104 -0
  22. package/dist/json/importMap.json +20 -0
  23. package/dist/json/tags.json +46 -0
  24. package/dist/json/web-types.json +309 -9
  25. package/dist/types/index.d.mts +2 -2
  26. package/dist/{useClickOutside-BfEvdnA4.mjs → useClickOutside-Cj8CguMD.mjs} +844 -699
  27. package/dist/utilities/index.d.mts +3 -3
  28. package/dist/utilities/index.mjs +2 -2
  29. package/dist/{utilities-9i1hJnMd.mjs → utilities-B58TiS_S.mjs} +41 -34
  30. package/package.json +21 -3
  31. /package/dist/{constants-3l8TGg5J.mjs → constants-DHKqjdjH.mjs} +0 -0
  32. /package/dist/{htmlElements-CXObxj0V.mjs → htmlElements-DO9n35bD.mjs} +0 -0
  33. /package/dist/{index-DMQJJUrv.d.mts → index-cPmI99rd.d.mts} +0 -0
@@ -1,8 +1,8 @@
1
- import { r as isSelfClosingTag } from "./htmlElements-CXObxj0V.mjs";
2
- import { a as genId, d as isNullOrUndefined, h as isString, p as isObject, u as isNull } from "./utilities-9i1hJnMd.mjs";
3
- import { $t as createContext, Ht as createRegistry, Nt as useProxyModel, P as createOverflow, Pt as createGroup, b as createStep, bt as createSingle, ht as useLocale, j as createPagination, o as useToggleScope, t as useClickOutside, zt as createSelection } from "./useClickOutside-BfEvdnA4.mjs";
4
- import { t as IN_BROWSER } from "./globals-CiCJWcbb.mjs";
5
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeProps, onBeforeUnmount, onMounted, onUnmounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
1
+ import { r as isSelfClosingTag } from "./htmlElements-DO9n35bD.mjs";
2
+ import { c as isNullOrUndefined, f as isString, s as isNull, u as isObject } from "./utilities-B58TiS_S.mjs";
3
+ import { Bt as useProxyModel, Dt as createSingle, Kt as createSelection, P as createOverflow, St as useLocale, Vt as createGroup, Yt as createRegistry, b as createStep, j as createPagination, o as useToggleScope, on as createContext, t as useClickOutside } from "./useClickOutside-Cj8CguMD.mjs";
4
+ import { t as IN_BROWSER } from "./globals-CgcVstn0.mjs";
5
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onUnmounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
6
6
 
7
7
  //#region src/components/Atom/Atom.vue
8
8
  /**
@@ -26,7 +26,7 @@ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock
26
26
  * serving as the foundation for all other components that need polymorphic
27
27
  * rendering capabilities.
28
28
  */
29
- const _sfc_main$42 = /* @__PURE__ */ defineComponent({
29
+ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
30
30
  name: "Atom",
31
31
  __name: "Atom",
32
32
  props: {
@@ -57,12 +57,12 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
57
57
  };
58
58
  }
59
59
  });
60
- var Atom_default = _sfc_main$42;
60
+ var Atom_default = _sfc_main$46;
61
61
 
62
62
  //#endregion
63
63
  //#region src/components/Avatar/AvatarRoot.vue
64
64
  const [useAvatarRoot, provideAvatarContext] = createContext();
65
- const _sfc_main$41 = /* @__PURE__ */ defineComponent({
65
+ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
66
66
  name: "AvatarRoot",
67
67
  __name: "AvatarRoot",
68
68
  props: {
@@ -87,11 +87,11 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
87
87
  };
88
88
  }
89
89
  });
90
- var AvatarRoot_default = _sfc_main$41;
90
+ var AvatarRoot_default = _sfc_main$45;
91
91
 
92
92
  //#endregion
93
93
  //#region src/components/Avatar/AvatarFallback.vue
94
- const _sfc_main$40 = /* @__PURE__ */ defineComponent({
94
+ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
95
95
  name: "AvatarFallback",
96
96
  __name: "AvatarFallback",
97
97
  props: {
@@ -116,11 +116,11 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
116
116
  };
117
117
  }
118
118
  });
119
- var AvatarFallback_default = _sfc_main$40;
119
+ var AvatarFallback_default = _sfc_main$44;
120
120
 
121
121
  //#endregion
122
122
  //#region src/components/Avatar/AvatarImage.vue
123
- const _sfc_main$39 = /* @__PURE__ */ defineComponent({
123
+ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
124
124
  name: "AvatarImage",
125
125
  inheritAttrs: false,
126
126
  __name: "AvatarImage",
@@ -180,7 +180,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
180
180
  };
181
181
  }
182
182
  });
183
- var AvatarImage_default = _sfc_main$39;
183
+ var AvatarImage_default = _sfc_main$43;
184
184
 
185
185
  //#endregion
186
186
  //#region src/components/Avatar/index.ts
@@ -198,7 +198,7 @@ const Avatar = {
198
198
  //#endregion
199
199
  //#region src/components/Checkbox/CheckboxGroup.vue
200
200
  const [useCheckboxGroup, provideCheckboxGroup] = createContext();
201
- const _sfc_main$38 = /* @__PURE__ */ defineComponent({
201
+ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
202
202
  name: "CheckboxGroup",
203
203
  __name: "CheckboxGroup",
204
204
  props: /* @__PURE__ */ mergeModels({
@@ -264,17 +264,17 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
264
264
  };
265
265
  }
266
266
  });
267
- var CheckboxGroup_default = _sfc_main$38;
267
+ var CheckboxGroup_default = _sfc_main$42;
268
268
 
269
269
  //#endregion
270
270
  //#region src/components/Checkbox/CheckboxRoot.vue
271
271
  const [useCheckboxRoot, provideCheckboxRoot] = createContext();
272
- const _sfc_main$37 = /* @__PURE__ */ defineComponent({
272
+ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
273
273
  name: "CheckboxRoot",
274
274
  inheritAttrs: false,
275
275
  __name: "CheckboxRoot",
276
276
  props: /* @__PURE__ */ mergeModels({
277
- id: { default: () => /* @__PURE__ */ genId() },
277
+ id: { default: () => useId() },
278
278
  label: {},
279
279
  value: {},
280
280
  name: {},
@@ -403,7 +403,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
403
403
  };
404
404
  }
405
405
  });
406
- var CheckboxRoot_default = _sfc_main$37;
406
+ var CheckboxRoot_default = _sfc_main$41;
407
407
 
408
408
  //#endregion
409
409
  //#region src/components/Checkbox/CheckboxHiddenInput.vue
@@ -425,7 +425,7 @@ const visuallyHiddenStyle$1 = {
425
425
  whiteSpace: "nowrap",
426
426
  border: "0"
427
427
  };
428
- const _sfc_main$36 = /* @__PURE__ */ defineComponent({
428
+ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
429
429
  name: "CheckboxHiddenInput",
430
430
  __name: "CheckboxHiddenInput",
431
431
  props: {
@@ -461,11 +461,11 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
461
461
  };
462
462
  }
463
463
  });
464
- var CheckboxHiddenInput_default = _sfc_main$36;
464
+ var CheckboxHiddenInput_default = _sfc_main$40;
465
465
 
466
466
  //#endregion
467
467
  //#region src/components/Checkbox/CheckboxIndicator.vue
468
- const _sfc_main$35 = /* @__PURE__ */ defineComponent({
468
+ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
469
469
  name: "CheckboxIndicator",
470
470
  __name: "CheckboxIndicator",
471
471
  props: {
@@ -498,11 +498,11 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
498
498
  };
499
499
  }
500
500
  });
501
- var CheckboxIndicator_default = _sfc_main$35;
501
+ var CheckboxIndicator_default = _sfc_main$39;
502
502
 
503
503
  //#endregion
504
504
  //#region src/components/Checkbox/CheckboxSelectAll.vue
505
- const _sfc_main$34 = /* @__PURE__ */ defineComponent({
505
+ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
506
506
  name: "CheckboxSelectAll",
507
507
  inheritAttrs: false,
508
508
  __name: "CheckboxSelectAll",
@@ -521,7 +521,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
521
521
  const props = __props;
522
522
  const { as = "button", renderless, label, namespace = "v0:checkbox:root", groupNamespace = "v0:checkbox:group" } = props;
523
523
  const group = useCheckboxGroup(groupNamespace);
524
- const id = /* @__PURE__ */ genId();
524
+ const id = useId();
525
525
  const isAllSelected = toRef(() => group.isAllSelected.value);
526
526
  const isMixed = toRef(() => group.isMixed.value);
527
527
  const isDisabled = toRef(() => toValue(props.disabled) || toValue(group.disabled));
@@ -588,7 +588,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
588
588
  };
589
589
  }
590
590
  });
591
- var CheckboxSelectAll_default = _sfc_main$34;
591
+ var CheckboxSelectAll_default = _sfc_main$38;
592
592
 
593
593
  //#endregion
594
594
  //#region src/components/Checkbox/index.ts
@@ -624,7 +624,7 @@ const Checkbox = {
624
624
  //#endregion
625
625
  //#region src/components/Dialog/DialogRoot.vue
626
626
  const [useDialogContext, provideDialogContext] = createContext();
627
- const _sfc_main$33 = /* @__PURE__ */ defineComponent({
627
+ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
628
628
  name: "DialogRoot",
629
629
  __name: "DialogRoot",
630
630
  props: /* @__PURE__ */ mergeModels({
@@ -641,11 +641,10 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
641
641
  }),
642
642
  emits: /* @__PURE__ */ mergeModels(["update:modelValue"], ["update:modelValue"]),
643
643
  setup(__props) {
644
- const props = createPropsRestProxy(__props, ["as", "namespace"]);
645
644
  const isOpen = useModel(__props, "modelValue");
646
- const id = toRef(() => props.id ?? useId());
647
- const titleId = toRef(() => `${toValue(id)}-title`);
648
- const descriptionId = toRef(() => `${toValue(id)}-description`);
645
+ const id = __props.id ?? useId();
646
+ const titleId = `${id}-title`;
647
+ const descriptionId = `${id}-description`;
649
648
  function open() {
650
649
  isOpen.value = true;
651
650
  }
@@ -654,14 +653,14 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
654
653
  }
655
654
  provideDialogContext(__props.namespace, {
656
655
  isOpen,
657
- id: toValue(id),
658
- titleId: toValue(titleId),
659
- descriptionId: toValue(descriptionId),
656
+ id,
657
+ titleId,
658
+ descriptionId,
660
659
  open,
661
660
  close
662
661
  });
663
662
  const slotProps = toRef(() => ({
664
- id: toValue(id),
663
+ id,
665
664
  isOpen: isOpen.value,
666
665
  open,
667
666
  close
@@ -677,11 +676,11 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
677
676
  };
678
677
  }
679
678
  });
680
- var DialogRoot_default = _sfc_main$33;
679
+ var DialogRoot_default = _sfc_main$37;
681
680
 
682
681
  //#endregion
683
682
  //#region src/components/Dialog/DialogClose.vue
684
- const _sfc_main$32 = /* @__PURE__ */ defineComponent({
683
+ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
685
684
  name: "DialogClose",
686
685
  __name: "DialogClose",
687
686
  props: {
@@ -709,11 +708,11 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
709
708
  };
710
709
  }
711
710
  });
712
- var DialogClose_default = _sfc_main$32;
711
+ var DialogClose_default = _sfc_main$36;
713
712
 
714
713
  //#endregion
715
714
  //#region src/components/Dialog/DialogContent.vue
716
- const _sfc_main$31 = /* @__PURE__ */ defineComponent({
715
+ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
717
716
  name: "DialogContent",
718
717
  __name: "DialogContent",
719
718
  props: {
@@ -779,11 +778,11 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
779
778
  };
780
779
  }
781
780
  });
782
- var DialogContent_default = _sfc_main$31;
781
+ var DialogContent_default = _sfc_main$35;
783
782
 
784
783
  //#endregion
785
784
  //#region src/components/Dialog/DialogDescription.vue
786
- const _sfc_main$30 = /* @__PURE__ */ defineComponent({
785
+ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
787
786
  name: "DialogDescription",
788
787
  __name: "DialogDescription",
789
788
  props: {
@@ -802,11 +801,11 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
802
801
  };
803
802
  }
804
803
  });
805
- var DialogDescription_default = _sfc_main$30;
804
+ var DialogDescription_default = _sfc_main$34;
806
805
 
807
806
  //#endregion
808
807
  //#region src/components/Dialog/DialogTitle.vue
809
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
808
+ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
810
809
  name: "DialogTitle",
811
810
  __name: "DialogTitle",
812
811
  props: {
@@ -825,11 +824,11 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
825
824
  };
826
825
  }
827
826
  });
828
- var DialogTitle_default = _sfc_main$29;
827
+ var DialogTitle_default = _sfc_main$33;
829
828
 
830
829
  //#endregion
831
830
  //#region src/components/Dialog/DialogActivator.vue
832
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
831
+ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
833
832
  name: "DialogActivator",
834
833
  __name: "DialogActivator",
835
834
  props: {
@@ -859,7 +858,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
859
858
  };
860
859
  }
861
860
  });
862
- var DialogActivator_default = _sfc_main$28;
861
+ var DialogActivator_default = _sfc_main$32;
863
862
 
864
863
  //#endregion
865
864
  //#region src/components/Dialog/index.ts
@@ -904,7 +903,7 @@ const Dialog = {
904
903
  //#endregion
905
904
  //#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
906
905
  const [useExpansionPanelRoot, provideExpansionPanelSelection] = createContext();
907
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
906
+ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
908
907
  name: "ExpansionPanelRoot",
909
908
  __name: "ExpansionPanelRoot",
910
909
  props: /* @__PURE__ */ mergeModels({
@@ -961,12 +960,12 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
961
960
  };
962
961
  }
963
962
  });
964
- var ExpansionPanelRoot_default = _sfc_main$27;
963
+ var ExpansionPanelRoot_default = _sfc_main$31;
965
964
 
966
965
  //#endregion
967
966
  //#region src/components/ExpansionPanel/ExpansionPanelItem.vue
968
967
  const [useExpansionPanelItem, provideExpansionPanelItem] = createContext({ suffix: "item" });
969
- const _sfc_main$26 = /* @__PURE__ */ defineComponent({
968
+ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
970
969
  name: "ExpansionPanelItem",
971
970
  __name: "ExpansionPanelItem",
972
971
  props: {
@@ -1010,11 +1009,11 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1010
1009
  };
1011
1010
  }
1012
1011
  });
1013
- var ExpansionPanelItem_default = _sfc_main$26;
1012
+ var ExpansionPanelItem_default = _sfc_main$30;
1014
1013
 
1015
1014
  //#endregion
1016
1015
  //#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
1017
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1016
+ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
1018
1017
  name: "ExpansionPanelActivator",
1019
1018
  __name: "ExpansionPanelActivator",
1020
1019
  props: {
@@ -1060,11 +1059,11 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1060
1059
  };
1061
1060
  }
1062
1061
  });
1063
- var ExpansionPanelActivator_default = _sfc_main$25;
1062
+ var ExpansionPanelActivator_default = _sfc_main$29;
1064
1063
 
1065
1064
  //#endregion
1066
1065
  //#region src/components/ExpansionPanel/ExpansionPanelContent.vue
1067
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1066
+ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
1068
1067
  name: "ExpansionPanelContent",
1069
1068
  __name: "ExpansionPanelContent",
1070
1069
  props: {
@@ -1095,11 +1094,11 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1095
1094
  };
1096
1095
  }
1097
1096
  });
1098
- var ExpansionPanelContent_default = _sfc_main$24;
1097
+ var ExpansionPanelContent_default = _sfc_main$28;
1099
1098
 
1100
1099
  //#endregion
1101
1100
  //#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
1102
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1101
+ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
1103
1102
  name: "ExpansionPanelHeader",
1104
1103
  __name: "ExpansionPanelHeader",
1105
1104
  props: {
@@ -1124,7 +1123,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1124
1123
  };
1125
1124
  }
1126
1125
  });
1127
- var ExpansionPanelHeader_default = _sfc_main$23;
1126
+ var ExpansionPanelHeader_default = _sfc_main$27;
1128
1127
 
1129
1128
  //#endregion
1130
1129
  //#region src/components/ExpansionPanel/index.ts
@@ -1144,7 +1143,7 @@ const ExpansionPanel = {
1144
1143
  //#endregion
1145
1144
  //#region src/components/Group/GroupRoot.vue
1146
1145
  const [useGroupRoot, provideGroupRoot] = createContext();
1147
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1146
+ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
1148
1147
  name: "GroupRoot",
1149
1148
  __name: "GroupRoot",
1150
1149
  props: /* @__PURE__ */ mergeModels({
@@ -1194,11 +1193,11 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1194
1193
  };
1195
1194
  }
1196
1195
  });
1197
- var GroupRoot_default = _sfc_main$22;
1196
+ var GroupRoot_default = _sfc_main$26;
1198
1197
 
1199
1198
  //#endregion
1200
1199
  //#region src/components/Group/GroupItem.vue
1201
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1200
+ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
1202
1201
  name: "GroupItem",
1203
1202
  __name: "GroupItem",
1204
1203
  props: {
@@ -1247,7 +1246,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1247
1246
  };
1248
1247
  }
1249
1248
  });
1250
- var GroupItem_default = _sfc_main$21;
1249
+ var GroupItem_default = _sfc_main$25;
1251
1250
 
1252
1251
  //#endregion
1253
1252
  //#region src/components/Group/index.ts
@@ -1266,7 +1265,7 @@ const Group = {
1266
1265
  const [usePaginationRoot, providePaginationRoot] = createContext();
1267
1266
  const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
1268
1267
  const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
1269
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1268
+ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
1270
1269
  name: "PaginationRoot",
1271
1270
  __name: "PaginationRoot",
1272
1271
  props: /* @__PURE__ */ mergeModels({
@@ -1366,17 +1365,17 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1366
1365
  };
1367
1366
  }
1368
1367
  });
1369
- var PaginationRoot_default = _sfc_main$20;
1368
+ var PaginationRoot_default = _sfc_main$24;
1370
1369
 
1371
1370
  //#endregion
1372
1371
  //#region src/components/Pagination/PaginationEllipsis.vue
1373
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1372
+ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
1374
1373
  name: "PaginationEllipsis",
1375
1374
  __name: "PaginationEllipsis",
1376
1375
  props: {
1377
1376
  namespace: { default: "v0:pagination" },
1378
1377
  ellipsis: {},
1379
- id: { default: () => /* @__PURE__ */ genId() },
1378
+ id: { default: () => useId() },
1380
1379
  as: { default: "span" },
1381
1380
  renderless: { type: Boolean }
1382
1381
  },
@@ -1411,17 +1410,17 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1411
1410
  };
1412
1411
  }
1413
1412
  });
1414
- var PaginationEllipsis_default = _sfc_main$19;
1413
+ var PaginationEllipsis_default = _sfc_main$23;
1415
1414
 
1416
1415
  //#endregion
1417
1416
  //#region src/components/Pagination/PaginationFirst.vue
1418
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1417
+ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
1419
1418
  name: "PaginationFirst",
1420
1419
  __name: "PaginationFirst",
1421
1420
  props: {
1422
1421
  namespace: { default: "v0:pagination" },
1423
1422
  disabled: { type: Boolean },
1424
- id: { default: () => /* @__PURE__ */ genId() },
1423
+ id: { default: () => useId() },
1425
1424
  as: { default: "button" },
1426
1425
  renderless: { type: Boolean }
1427
1426
  },
@@ -1470,11 +1469,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1470
1469
  };
1471
1470
  }
1472
1471
  });
1473
- var PaginationFirst_default = _sfc_main$18;
1472
+ var PaginationFirst_default = _sfc_main$22;
1474
1473
 
1475
1474
  //#endregion
1476
1475
  //#region src/components/Pagination/PaginationItem.vue
1477
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1476
+ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
1478
1477
  name: "PaginationItem",
1479
1478
  __name: "PaginationItem",
1480
1479
  props: {
@@ -1484,7 +1483,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1484
1483
  type: Boolean,
1485
1484
  default: false
1486
1485
  },
1487
- id: { default: () => /* @__PURE__ */ genId() },
1486
+ id: { default: () => useId() },
1488
1487
  as: { default: "button" },
1489
1488
  renderless: { type: Boolean }
1490
1489
  },
@@ -1540,17 +1539,17 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1540
1539
  };
1541
1540
  }
1542
1541
  });
1543
- var PaginationItem_default = _sfc_main$17;
1542
+ var PaginationItem_default = _sfc_main$21;
1544
1543
 
1545
1544
  //#endregion
1546
1545
  //#region src/components/Pagination/PaginationLast.vue
1547
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1546
+ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
1548
1547
  name: "PaginationLast",
1549
1548
  __name: "PaginationLast",
1550
1549
  props: {
1551
1550
  namespace: { default: "v0:pagination" },
1552
1551
  disabled: { type: Boolean },
1553
- id: { default: () => /* @__PURE__ */ genId() },
1552
+ id: { default: () => useId() },
1554
1553
  as: { default: "button" },
1555
1554
  renderless: { type: Boolean }
1556
1555
  },
@@ -1599,17 +1598,17 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1599
1598
  };
1600
1599
  }
1601
1600
  });
1602
- var PaginationLast_default = _sfc_main$16;
1601
+ var PaginationLast_default = _sfc_main$20;
1603
1602
 
1604
1603
  //#endregion
1605
1604
  //#region src/components/Pagination/PaginationNext.vue
1606
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1605
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1607
1606
  name: "PaginationNext",
1608
1607
  __name: "PaginationNext",
1609
1608
  props: {
1610
1609
  namespace: { default: "v0:pagination" },
1611
1610
  disabled: { type: Boolean },
1612
- id: { default: () => /* @__PURE__ */ genId() },
1611
+ id: { default: () => useId() },
1613
1612
  as: { default: "button" },
1614
1613
  renderless: { type: Boolean }
1615
1614
  },
@@ -1658,17 +1657,17 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1658
1657
  };
1659
1658
  }
1660
1659
  });
1661
- var PaginationNext_default = _sfc_main$15;
1660
+ var PaginationNext_default = _sfc_main$19;
1662
1661
 
1663
1662
  //#endregion
1664
1663
  //#region src/components/Pagination/PaginationPrev.vue
1665
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1664
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1666
1665
  name: "PaginationPrev",
1667
1666
  __name: "PaginationPrev",
1668
1667
  props: {
1669
1668
  namespace: { default: "v0:pagination" },
1670
1669
  disabled: { type: Boolean },
1671
- id: { default: () => /* @__PURE__ */ genId() },
1670
+ id: { default: () => useId() },
1672
1671
  as: { default: "button" },
1673
1672
  renderless: { type: Boolean }
1674
1673
  },
@@ -1717,11 +1716,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1717
1716
  };
1718
1717
  }
1719
1718
  });
1720
- var PaginationPrev_default = _sfc_main$14;
1719
+ var PaginationPrev_default = _sfc_main$18;
1721
1720
 
1722
1721
  //#endregion
1723
1722
  //#region src/components/Pagination/PaginationStatus.vue
1724
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1723
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1725
1724
  name: "PaginationStatus",
1726
1725
  __name: "PaginationStatus",
1727
1726
  props: {
@@ -1765,7 +1764,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1765
1764
  };
1766
1765
  }
1767
1766
  });
1768
- var PaginationStatus_default = _sfc_main$13;
1767
+ var PaginationStatus_default = _sfc_main$17;
1769
1768
 
1770
1769
  //#endregion
1771
1770
  //#region src/components/Pagination/index.ts
@@ -1788,7 +1787,7 @@ const Pagination = {
1788
1787
  //#endregion
1789
1788
  //#region src/components/Popover/PopoverRoot.vue
1790
1789
  const [usePopoverContext, providePopoverContext] = createContext("Popover");
1791
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1790
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1792
1791
  name: "PopoverRoot",
1793
1792
  __name: "PopoverRoot",
1794
1793
  props: /* @__PURE__ */ mergeModels({
@@ -1804,19 +1803,18 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1804
1803
  }),
1805
1804
  emits: ["update:modelValue"],
1806
1805
  setup(__props) {
1807
- const props = createPropsRestProxy(__props, ["as"]);
1808
1806
  const isSelected = useModel(__props, "modelValue");
1809
- const id = toRef(() => props.id ?? useId());
1807
+ const id = __props.id ?? useId();
1810
1808
  function toggle() {
1811
1809
  isSelected.value = !isSelected.value;
1812
1810
  }
1813
1811
  providePopoverContext({
1814
1812
  isSelected,
1815
1813
  toggle,
1816
- id: toValue(id)
1814
+ id
1817
1815
  });
1818
1816
  const slotProps = toRef(() => ({
1819
- id: toValue(id),
1817
+ id,
1820
1818
  isSelected: isSelected.value,
1821
1819
  toggle
1822
1820
  }));
@@ -1831,11 +1829,11 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1831
1829
  };
1832
1830
  }
1833
1831
  });
1834
- var PopoverRoot_default = _sfc_main$12;
1832
+ var PopoverRoot_default = _sfc_main$16;
1835
1833
 
1836
1834
  //#endregion
1837
1835
  //#region src/components/Popover/PopoverActivator.vue
1838
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
1836
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1839
1837
  name: "PopoverActivator",
1840
1838
  __name: "PopoverActivator",
1841
1839
  props: {
@@ -1867,11 +1865,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
1867
1865
  };
1868
1866
  }
1869
1867
  });
1870
- var PopoverActivator_default = _sfc_main$11;
1868
+ var PopoverActivator_default = _sfc_main$15;
1871
1869
 
1872
1870
  //#endregion
1873
1871
  //#region src/components/Popover/PopoverContent.vue
1874
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
1872
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1875
1873
  name: "PopoverContent",
1876
1874
  __name: "PopoverContent",
1877
1875
  props: {
@@ -1902,11 +1900,13 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
1902
1900
  });
1903
1901
  watch(context.isSelected, (isOpen) => {
1904
1902
  const element = ref$1.value?.element;
1905
- if (!element || isOpen === element.matches?.(":popover-open")) return;
1903
+ if (!element?.isConnected) return;
1904
+ if (isOpen === element.matches?.(":popover-open")) return;
1906
1905
  if (isOpen) element.showPopover?.();
1907
1906
  else element.hidePopover?.();
1908
1907
  });
1909
1908
  function onToggle(e) {
1909
+ if (!ref$1.value?.element?.isConnected) return;
1910
1910
  context.isSelected.value = e.newState === "open";
1911
1911
  }
1912
1912
  /* v8 ignore stop */
@@ -1935,7 +1935,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
1935
1935
  };
1936
1936
  }
1937
1937
  });
1938
- var PopoverContent_default = _sfc_main$10;
1938
+ var PopoverContent_default = _sfc_main$14;
1939
1939
 
1940
1940
  //#endregion
1941
1941
  //#region src/components/Popover/index.ts
@@ -1953,7 +1953,7 @@ const Popover = {
1953
1953
  //#endregion
1954
1954
  //#region src/components/Radio/RadioGroup.vue
1955
1955
  const [useRadioGroup, provideRadioGroup] = createContext();
1956
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1956
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1957
1957
  name: "RadioGroup",
1958
1958
  __name: "RadioGroup",
1959
1959
  props: /* @__PURE__ */ mergeModels({
@@ -1971,6 +1971,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1971
1971
  ariaDescribedby: {},
1972
1972
  ariaRequired: { type: Boolean },
1973
1973
  name: {},
1974
+ activation: { default: "automatic" },
1974
1975
  as: { default: "div" },
1975
1976
  renderless: { type: Boolean }
1976
1977
  }, {
@@ -1988,11 +1989,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1988
1989
  useProxyModel(single, model, { multiple: false });
1989
1990
  provideRadioGroup(__props.namespace, {
1990
1991
  ...single,
1991
- name: __props.name
1992
+ name: __props.name,
1993
+ activation: toRef(() => __props.activation)
1992
1994
  });
1993
1995
  const slotProps = toRef(() => ({
1994
1996
  isDisabled: toValue(single.disabled),
1995
1997
  isNoneSelected: single.selectedIds.size === 0,
1998
+ activation: __props.activation,
1996
1999
  attrs: {
1997
2000
  "role": "radiogroup",
1998
2001
  "aria-label": __props.label || void 0,
@@ -2012,17 +2015,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2012
2015
  };
2013
2016
  }
2014
2017
  });
2015
- var RadioGroup_default = _sfc_main$9;
2018
+ var RadioGroup_default = _sfc_main$13;
2016
2019
 
2017
2020
  //#endregion
2018
2021
  //#region src/components/Radio/RadioRoot.vue
2019
2022
  const [useRadioRoot, provideRadioRoot] = createContext();
2020
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2023
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2021
2024
  name: "RadioRoot",
2022
2025
  inheritAttrs: false,
2023
2026
  __name: "RadioRoot",
2024
2027
  props: {
2025
- id: { default: () => /* @__PURE__ */ genId() },
2028
+ id: { default: () => useId() },
2026
2029
  label: {},
2027
2030
  value: {},
2028
2031
  name: {},
@@ -2067,7 +2070,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2067
2070
  select();
2068
2071
  }
2069
2072
  function onKeydown(e) {
2070
- if (e.key === " ") {
2073
+ if (e.key === " " || e.key === "Enter") {
2071
2074
  e.preventDefault();
2072
2075
  select();
2073
2076
  return;
@@ -2087,7 +2090,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2087
2090
  else nextIndex = currentIndex === items.length - 1 ? 0 : currentIndex + 1;
2088
2091
  const nextItem = items[nextIndex];
2089
2092
  if (!nextItem) return;
2090
- nextItem.select();
2093
+ if (group.activation.value === "automatic") nextItem.select();
2091
2094
  toValue(nextItem.el)?.focus();
2092
2095
  }
2093
2096
  onUnmounted(() => {
@@ -2142,7 +2145,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2142
2145
  };
2143
2146
  }
2144
2147
  });
2145
- var RadioRoot_default = _sfc_main$8;
2148
+ var RadioRoot_default = _sfc_main$12;
2146
2149
 
2147
2150
  //#endregion
2148
2151
  //#region src/components/Radio/RadioHiddenInput.vue
@@ -2164,7 +2167,7 @@ const visuallyHiddenStyle = {
2164
2167
  whiteSpace: "nowrap",
2165
2168
  border: "0"
2166
2169
  };
2167
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2170
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2168
2171
  name: "RadioHiddenInput",
2169
2172
  __name: "RadioHiddenInput",
2170
2173
  props: {
@@ -2199,11 +2202,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2199
2202
  };
2200
2203
  }
2201
2204
  });
2202
- var RadioHiddenInput_default = _sfc_main$7;
2205
+ var RadioHiddenInput_default = _sfc_main$11;
2203
2206
 
2204
2207
  //#endregion
2205
2208
  //#region src/components/Radio/RadioIndicator.vue
2206
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2209
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2207
2210
  name: "RadioIndicator",
2208
2211
  __name: "RadioIndicator",
2209
2212
  props: {
@@ -2233,7 +2236,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2233
2236
  };
2234
2237
  }
2235
2238
  });
2236
- var RadioIndicator_default = _sfc_main$6;
2239
+ var RadioIndicator_default = _sfc_main$10;
2237
2240
 
2238
2241
  //#endregion
2239
2242
  //#region src/components/Radio/index.ts
@@ -2279,7 +2282,7 @@ const Radio = {
2279
2282
  //#endregion
2280
2283
  //#region src/components/Selection/SelectionRoot.vue
2281
2284
  const [useSelectionRoot, provideSelectionRoot] = createContext();
2282
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2285
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2283
2286
  name: "SelectionRoot",
2284
2287
  __name: "SelectionRoot",
2285
2288
  props: /* @__PURE__ */ mergeModels({
@@ -2329,11 +2332,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2329
2332
  };
2330
2333
  }
2331
2334
  });
2332
- var SelectionRoot_default = _sfc_main$5;
2335
+ var SelectionRoot_default = _sfc_main$9;
2333
2336
 
2334
2337
  //#endregion
2335
2338
  //#region src/components/Selection/SelectionItem.vue
2336
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2339
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2337
2340
  name: "SelectionItem",
2338
2341
  __name: "SelectionItem",
2339
2342
  props: {
@@ -2375,7 +2378,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2375
2378
  };
2376
2379
  }
2377
2380
  });
2378
- var SelectionItem_default = _sfc_main$4;
2381
+ var SelectionItem_default = _sfc_main$8;
2379
2382
 
2380
2383
  //#endregion
2381
2384
  //#region src/components/Selection/index.ts
@@ -2392,7 +2395,7 @@ const Selection = {
2392
2395
  //#endregion
2393
2396
  //#region src/components/Single/SingleRoot.vue
2394
2397
  const [useSingleRoot, provideSingleRoot] = createContext();
2395
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2398
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2396
2399
  name: "SingleRoot",
2397
2400
  __name: "SingleRoot",
2398
2401
  props: /* @__PURE__ */ mergeModels({
@@ -2436,11 +2439,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2436
2439
  };
2437
2440
  }
2438
2441
  });
2439
- var SingleRoot_default = _sfc_main$3;
2442
+ var SingleRoot_default = _sfc_main$7;
2440
2443
 
2441
2444
  //#endregion
2442
2445
  //#region src/components/Single/SingleItem.vue
2443
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2446
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2444
2447
  name: "SingleItem",
2445
2448
  __name: "SingleItem",
2446
2449
  props: {
@@ -2482,7 +2485,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2482
2485
  };
2483
2486
  }
2484
2487
  });
2485
- var SingleItem_default = _sfc_main$2;
2488
+ var SingleItem_default = _sfc_main$6;
2486
2489
 
2487
2490
  //#endregion
2488
2491
  //#region src/components/Single/index.ts
@@ -2499,7 +2502,7 @@ const Single = {
2499
2502
  //#endregion
2500
2503
  //#region src/components/Step/StepRoot.vue
2501
2504
  const [useStepRoot, provideStepRoot] = createContext();
2502
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2505
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2503
2506
  name: "StepRoot",
2504
2507
  __name: "StepRoot",
2505
2508
  props: /* @__PURE__ */ mergeModels({
@@ -2548,11 +2551,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2548
2551
  };
2549
2552
  }
2550
2553
  });
2551
- var StepRoot_default = _sfc_main$1;
2554
+ var StepRoot_default = _sfc_main$5;
2552
2555
 
2553
2556
  //#endregion
2554
2557
  //#region src/components/Step/StepItem.vue
2555
- const _sfc_main = /* @__PURE__ */ defineComponent({
2558
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2556
2559
  name: "StepItem",
2557
2560
  __name: "StepItem",
2558
2561
  props: {
@@ -2594,7 +2597,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2594
2597
  };
2595
2598
  }
2596
2599
  });
2597
- var StepItem_default = _sfc_main;
2600
+ var StepItem_default = _sfc_main$4;
2598
2601
 
2599
2602
  //#endregion
2600
2603
  //#region src/components/Step/index.ts
@@ -2609,4 +2612,326 @@ const Step = {
2609
2612
  };
2610
2613
 
2611
2614
  //#endregion
2612
- export { ExpansionPanelContent_default as $, usePopoverContext as A, provideAvatarContext as At, providePaginationControls as B, provideRadioGroup as C, CheckboxGroup_default as Ct, PopoverActivator_default as D, AvatarImage_default as Dt, PopoverContent_default as E, Avatar as Et, PaginationLast_default as F, usePaginationRoot as G, providePaginationRoot as H, PaginationItem_default as I, GroupRoot_default as J, Group as K, PaginationFirst_default as L, PaginationStatus_default as M, Atom_default as Mt, PaginationPrev_default as N, PopoverRoot_default as O, AvatarFallback_default as Ot, PaginationNext_default as P, ExpansionPanelHeader_default as Q, PaginationEllipsis_default as R, RadioGroup_default as S, useCheckboxRoot as St, Popover as T, useCheckboxGroup as Tt, usePaginationControls as U, providePaginationItems as V, usePaginationItems as W, useGroupRoot as X, provideGroupRoot as Y, ExpansionPanel as Z, RadioIndicator_default as _, CheckboxSelectAll_default as _t, useStepRoot as a, provideExpansionPanelSelection as at, provideRadioRoot as b, CheckboxRoot_default as bt, SingleRoot_default as c, DialogActivator_default as ct, Selection as d, DialogContent_default as dt, ExpansionPanelActivator_default as et, SelectionItem_default as f, DialogClose_default as ft, Radio as g, Checkbox as gt, useSelectionRoot as h, useDialogContext as ht, provideStepRoot as i, ExpansionPanelRoot_default as it, Pagination as j, useAvatarRoot as jt, providePopoverContext as k, AvatarRoot_default as kt, provideSingleRoot as l, DialogTitle_default as lt, provideSelectionRoot as m, provideDialogContext as mt, StepItem_default as n, provideExpansionPanelItem as nt, Single as o, useExpansionPanelRoot as ot, SelectionRoot_default as p, DialogRoot_default as pt, GroupItem_default as q, StepRoot_default as r, useExpansionPanelItem as rt, SingleItem_default as s, Dialog as st, Step as t, ExpansionPanelItem_default as tt, useSingleRoot as u, DialogDescription_default as ut, RadioHiddenInput_default as v, CheckboxIndicator_default as vt, useRadioGroup as w, provideCheckboxGroup as wt, useRadioRoot as x, provideCheckboxRoot as xt, RadioRoot_default as y, CheckboxHiddenInput_default as yt, PaginationRoot_default as z };
2615
+ //#region src/components/Tabs/TabsRoot.vue
2616
+ const [useTabsRoot, provideTabsRoot] = createContext();
2617
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2618
+ name: "TabsRoot",
2619
+ __name: "TabsRoot",
2620
+ props: /* @__PURE__ */ mergeModels({
2621
+ namespace: { default: "v0:tabs" },
2622
+ disabled: {
2623
+ type: Boolean,
2624
+ default: false
2625
+ },
2626
+ enroll: {
2627
+ type: Boolean,
2628
+ default: false
2629
+ },
2630
+ mandatory: {
2631
+ type: [Boolean, String],
2632
+ default: "force"
2633
+ },
2634
+ circular: {
2635
+ type: Boolean,
2636
+ default: true
2637
+ },
2638
+ orientation: { default: "horizontal" },
2639
+ activation: { default: "automatic" }
2640
+ }, {
2641
+ "modelValue": {},
2642
+ "modelModifiers": {}
2643
+ }),
2644
+ emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
2645
+ setup(__props) {
2646
+ const model = useModel(__props, "modelValue");
2647
+ const rootId = useId();
2648
+ const step = createStep({
2649
+ disabled: toRef(() => __props.disabled),
2650
+ enroll: __props.enroll,
2651
+ mandatory: __props.mandatory,
2652
+ circular: __props.circular,
2653
+ events: true
2654
+ });
2655
+ useProxyModel(step, model, { multiple: false });
2656
+ const context = {
2657
+ ...step,
2658
+ orientation: toRef(() => __props.orientation),
2659
+ activation: toRef(() => __props.activation),
2660
+ circular: toRef(() => __props.circular),
2661
+ rootId
2662
+ };
2663
+ provideTabsRoot(__props.namespace, context);
2664
+ const slotProps = toRef(() => ({
2665
+ isDisabled: toValue(step.disabled),
2666
+ orientation: __props.orientation,
2667
+ activation: __props.activation,
2668
+ first: step.first,
2669
+ last: step.last,
2670
+ next: step.next,
2671
+ prev: step.prev,
2672
+ step: step.step,
2673
+ select: step.select,
2674
+ unselect: step.unselect,
2675
+ toggle: step.toggle,
2676
+ attrs: { "aria-multiselectable": false }
2677
+ }));
2678
+ return (_ctx, _cache) => {
2679
+ return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)));
2680
+ };
2681
+ }
2682
+ });
2683
+ var TabsRoot_default = _sfc_main$3;
2684
+
2685
+ //#endregion
2686
+ //#region src/components/Tabs/TabsList.vue
2687
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2688
+ name: "TabsList",
2689
+ inheritAttrs: false,
2690
+ __name: "TabsList",
2691
+ props: {
2692
+ label: {},
2693
+ namespace: { default: "v0:tabs" },
2694
+ as: { default: "div" },
2695
+ renderless: { type: Boolean }
2696
+ },
2697
+ setup(__props) {
2698
+ const attrs = useAttrs();
2699
+ const tabs = useTabsRoot(__props.namespace);
2700
+ const isDisabled = toRef(() => toValue(tabs.disabled));
2701
+ const slotProps = toRef(() => ({
2702
+ orientation: tabs.orientation.value,
2703
+ isDisabled: isDisabled.value,
2704
+ attrs: {
2705
+ "role": "tablist",
2706
+ "aria-orientation": tabs.orientation.value,
2707
+ "aria-label": __props.label,
2708
+ "aria-disabled": isDisabled.value || void 0,
2709
+ "data-disabled": isDisabled.value || void 0
2710
+ }
2711
+ }));
2712
+ return (_ctx, _cache) => {
2713
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
2714
+ ...unref(attrs),
2715
+ ...slotProps.value.attrs
2716
+ }, {
2717
+ as: __props.as,
2718
+ renderless: __props.renderless
2719
+ }), {
2720
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2721
+ _: 3
2722
+ }, 16, ["as", "renderless"]);
2723
+ };
2724
+ }
2725
+ });
2726
+ var TabsList_default = _sfc_main$2;
2727
+
2728
+ //#endregion
2729
+ //#region src/components/Tabs/TabsItem.vue
2730
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2731
+ name: "TabsItem",
2732
+ inheritAttrs: false,
2733
+ __name: "TabsItem",
2734
+ props: {
2735
+ id: {},
2736
+ value: {},
2737
+ disabled: {},
2738
+ namespace: { default: "v0:tabs" },
2739
+ ariaLabel: {},
2740
+ ariaLabelledby: {},
2741
+ ariaDescribedby: {},
2742
+ as: { default: "button" },
2743
+ renderless: { type: Boolean }
2744
+ },
2745
+ setup(__props) {
2746
+ const attrs = useAttrs();
2747
+ const rootRef = useTemplateRef("root");
2748
+ const tabs = useTabsRoot(__props.namespace);
2749
+ const el = toRef(() => rootRef.value?.element ?? void 0);
2750
+ const ticket = tabs.register({
2751
+ id: __props.id,
2752
+ value: __props.value,
2753
+ disabled: __props.disabled,
2754
+ el
2755
+ });
2756
+ const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(tabs.disabled));
2757
+ const tabId = toRef(() => `${tabs.rootId}-tab-${ticket.id}`);
2758
+ const panelId = toRef(() => `${tabs.rootId}-panel-${ticket.id}`);
2759
+ onUnmounted(() => {
2760
+ tabs.unregister(ticket.id);
2761
+ });
2762
+ function focusSelectedTab() {
2763
+ nextTick(() => {
2764
+ const selected = tabs.selectedItem.value;
2765
+ if (selected) toValue(selected.el)?.focus();
2766
+ });
2767
+ }
2768
+ function onKeydown(e) {
2769
+ const isHorizontal = tabs.orientation.value === "horizontal";
2770
+ if (isHorizontal && e.key === "ArrowRight" || !isHorizontal && e.key === "ArrowDown") {
2771
+ e.preventDefault();
2772
+ tabs.next();
2773
+ focusSelectedTab();
2774
+ return;
2775
+ }
2776
+ if (isHorizontal && e.key === "ArrowLeft" || !isHorizontal && e.key === "ArrowUp") {
2777
+ e.preventDefault();
2778
+ tabs.prev();
2779
+ focusSelectedTab();
2780
+ return;
2781
+ }
2782
+ if (e.key === "Home") {
2783
+ e.preventDefault();
2784
+ tabs.first();
2785
+ focusSelectedTab();
2786
+ return;
2787
+ }
2788
+ if (e.key === "End") {
2789
+ e.preventDefault();
2790
+ tabs.last();
2791
+ focusSelectedTab();
2792
+ return;
2793
+ }
2794
+ if (tabs.activation.value === "manual" && (e.key === "Enter" || e.key === " ")) {
2795
+ e.preventDefault();
2796
+ ticket.select();
2797
+ }
2798
+ }
2799
+ function onClick() {
2800
+ if (!isDisabled.value) ticket.select();
2801
+ }
2802
+ function onFocus() {
2803
+ if (tabs.activation.value === "automatic" && !isDisabled.value) ticket.select();
2804
+ }
2805
+ const slotProps = toRef(() => ({
2806
+ id: String(ticket.id),
2807
+ isSelected: toValue(ticket.isSelected),
2808
+ isDisabled: toValue(isDisabled),
2809
+ select: ticket.select,
2810
+ attrs: {
2811
+ "id": tabId.value,
2812
+ "role": "tab",
2813
+ "tabindex": toValue(ticket.isSelected) ? 0 : -1,
2814
+ "aria-selected": toValue(ticket.isSelected),
2815
+ "aria-controls": panelId.value,
2816
+ "aria-disabled": toValue(isDisabled) || void 0,
2817
+ "aria-label": __props.ariaLabel,
2818
+ "aria-labelledby": __props.ariaLabelledby,
2819
+ "aria-describedby": __props.ariaDescribedby,
2820
+ "data-selected": toValue(ticket.isSelected) || void 0,
2821
+ "data-disabled": toValue(isDisabled) || void 0,
2822
+ "disabled": __props.as === "button" ? toValue(isDisabled) : void 0,
2823
+ "type": __props.as === "button" ? "button" : void 0,
2824
+ "onClick": onClick,
2825
+ "onKeydown": onKeydown,
2826
+ "onFocus": onFocus
2827
+ }
2828
+ }));
2829
+ return (_ctx, _cache) => {
2830
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({ ref: "root" }, {
2831
+ ...unref(attrs),
2832
+ ...slotProps.value.attrs
2833
+ }, {
2834
+ as: __props.as,
2835
+ renderless: __props.renderless
2836
+ }), {
2837
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2838
+ _: 3
2839
+ }, 16, ["as", "renderless"]);
2840
+ };
2841
+ }
2842
+ });
2843
+ var TabsItem_default = _sfc_main$1;
2844
+
2845
+ //#endregion
2846
+ //#region src/components/Tabs/TabsPanel.vue
2847
+ const _sfc_main = /* @__PURE__ */ defineComponent({
2848
+ name: "TabsPanel",
2849
+ inheritAttrs: false,
2850
+ __name: "TabsPanel",
2851
+ props: {
2852
+ value: {},
2853
+ namespace: { default: "v0:tabs" },
2854
+ as: { default: "div" },
2855
+ renderless: { type: Boolean }
2856
+ },
2857
+ setup(__props) {
2858
+ const attrs = useAttrs();
2859
+ const tabs = useTabsRoot(__props.namespace);
2860
+ const ticket = toRef(() => {
2861
+ const ids = tabs.browse(__props.value);
2862
+ if (ids && ids.length > 0) return tabs.get(ids[0]) ?? null;
2863
+ return null;
2864
+ });
2865
+ const isSelected = toRef(() => {
2866
+ const t = ticket.value;
2867
+ return t ? toValue(t.isSelected) : false;
2868
+ });
2869
+ const ticketId = toRef(() => ticket.value?.id ?? __props.value);
2870
+ const panelId = toRef(() => `${tabs.rootId}-panel-${ticketId.value}`);
2871
+ const tabId = toRef(() => `${tabs.rootId}-tab-${ticketId.value}`);
2872
+ const slotProps = toRef(() => ({
2873
+ isSelected: isSelected.value,
2874
+ attrs: {
2875
+ "id": panelId.value,
2876
+ "role": "tabpanel",
2877
+ "aria-labelledby": tabId.value,
2878
+ "tabindex": isSelected.value ? 0 : -1,
2879
+ "hidden": !isSelected.value,
2880
+ "data-selected": isSelected.value || void 0
2881
+ }
2882
+ }));
2883
+ return (_ctx, _cache) => {
2884
+ return openBlock(), createBlock(unref(Atom_default), mergeProps({
2885
+ ...unref(attrs),
2886
+ ...slotProps.value.attrs
2887
+ }, {
2888
+ as: __props.as,
2889
+ renderless: __props.renderless
2890
+ }), {
2891
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
2892
+ _: 3
2893
+ }, 16, ["as", "renderless"]);
2894
+ };
2895
+ }
2896
+ });
2897
+ var TabsPanel_default = _sfc_main;
2898
+
2899
+ //#endregion
2900
+ //#region src/components/Tabs/index.ts
2901
+ /**
2902
+ * Tabs component with sub-components for building accessible tab interfaces.
2903
+ *
2904
+ * @see https://0.vuetifyjs.com/components/tabs
2905
+ *
2906
+ * @example
2907
+ * ```vue
2908
+ * <script lang="ts" setup>
2909
+ * import { Tabs } from '@vuetify/v0'
2910
+ *
2911
+ * const selected = ref('profile')
2912
+ * <\/script>
2913
+ *
2914
+ * <template>
2915
+ * <Tabs.Root v-model="selected">
2916
+ * <Tabs.List label="Account settings">
2917
+ * <Tabs.Item value="profile">Profile</Tabs.Item>
2918
+ * <Tabs.Item value="password">Password</Tabs.Item>
2919
+ * <Tabs.Item value="billing" disabled>Billing</Tabs.Item>
2920
+ * </Tabs.List>
2921
+ *
2922
+ * <Tabs.Panel value="profile">Profile content</Tabs.Panel>
2923
+ * <Tabs.Panel value="password">Password content</Tabs.Panel>
2924
+ * <Tabs.Panel value="billing">Billing content</Tabs.Panel>
2925
+ * </Tabs.Root>
2926
+ * </template>
2927
+ * ```
2928
+ */
2929
+ const Tabs = {
2930
+ Root: TabsRoot_default,
2931
+ List: TabsList_default,
2932
+ Item: TabsItem_default,
2933
+ Panel: TabsPanel_default
2934
+ };
2935
+
2936
+ //#endregion
2937
+ export { Group as $, provideRadioGroup as A, CheckboxGroup_default as At, PaginationPrev_default as B, Radio as C, Checkbox as Ct, provideRadioRoot as D, CheckboxRoot_default as Dt, RadioRoot_default as E, CheckboxHiddenInput_default as Et, PopoverRoot_default as F, AvatarFallback_default as Ft, PaginationEllipsis_default as G, PaginationLast_default as H, providePopoverContext as I, AvatarRoot_default as It, providePaginationItems as J, PaginationRoot_default as K, usePopoverContext as L, provideAvatarContext as Lt, Popover as M, useCheckboxGroup as Mt, PopoverContent_default as N, Avatar as Nt, useRadioRoot as O, provideCheckboxRoot as Ot, PopoverActivator_default as P, AvatarImage_default as Pt, usePaginationRoot as Q, Pagination as R, useAvatarRoot as Rt, useSelectionRoot as S, useDialogContext as St, RadioHiddenInput_default as T, CheckboxIndicator_default as Tt, PaginationItem_default as U, PaginationNext_default as V, PaginationFirst_default as W, usePaginationControls as X, providePaginationRoot as Y, usePaginationItems as Z, useSingleRoot as _, DialogDescription_default as _t, TabsRoot_default as a, ExpansionPanelHeader_default as at, SelectionRoot_default as b, DialogRoot_default as bt, Step as c, ExpansionPanelItem_default as ct, provideStepRoot as d, ExpansionPanelRoot_default as dt, GroupItem_default as et, useStepRoot as f, provideExpansionPanelSelection as ft, provideSingleRoot as g, DialogTitle_default as gt, SingleRoot_default as h, DialogActivator_default as ht, TabsList_default as i, ExpansionPanel as it, useRadioGroup as j, provideCheckboxGroup as jt, RadioGroup_default as k, useCheckboxRoot as kt, StepItem_default as l, provideExpansionPanelItem as lt, SingleItem_default as m, Dialog as mt, TabsPanel_default as n, provideGroupRoot as nt, provideTabsRoot as o, ExpansionPanelContent_default as ot, Single as p, useExpansionPanelRoot as pt, providePaginationControls as q, TabsItem_default as r, useGroupRoot as rt, useTabsRoot as s, ExpansionPanelActivator_default as st, Tabs as t, GroupRoot_default as tt, StepRoot_default as u, useExpansionPanelItem as ut, Selection as v, DialogContent_default as vt, RadioIndicator_default as w, CheckboxSelectAll_default as wt, provideSelectionRoot as x, provideDialogContext as xt, SelectionItem_default as y, DialogClose_default as yt, PaginationStatus_default as z, Atom_default as zt };