@vuetify/v0 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-L4Php1_S.d.mts +97 -0
- package/dist/browser/index.js +1069 -809
- package/dist/components/index.d.mts +4 -4
- package/dist/components/index.mjs +6 -6
- package/dist/{components-BI9xdoz5.mjs → components-D_yAxHwn.mjs} +433 -113
- package/dist/composables/index.d.mts +5 -4
- package/dist/composables/index.mjs +4 -4
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +3 -3
- package/dist/date/index.d.mts +124 -0
- package/dist/date/index.mjs +7514 -0
- package/dist/{globals-WKdFmgwy.mjs → globals-BhNI7no7.mjs} +1 -1
- package/dist/{index-Bby5ljat.d.mts → index-DknfL2GU.d.mts} +1 -1
- package/dist/{index-_y91DmIS.d.mts → index-OghXharF.d.mts} +721 -359
- package/dist/{index-DYSwiS9k.d.mts → index-ZW2YLa57.d.mts} +21 -2
- package/dist/{index-rcTqb9U3.d.mts → index-isYKpbs6.d.mts} +426 -266
- package/dist/{index-C8YcMooA.d.mts → index-kvJsAOSg.d.mts} +13 -9
- package/dist/index.d.mts +8 -7
- package/dist/index.mjs +7 -7
- package/dist/json/attributes.json +100 -0
- package/dist/json/importMap.json +64 -0
- package/dist/json/tags.json +45 -0
- package/dist/json/web-types.json +1303 -392
- package/dist/types/index.d.mts +2 -2
- package/dist/{useClickOutside-B47X8X6-.mjs → useClickOutside-w-Y2QxHh.mjs} +591 -657
- package/dist/utilities/index.d.mts +3 -3
- package/dist/utilities/index.mjs +2 -2
- package/dist/{utilities-9i1hJnMd.mjs → utilities-B58TiS_S.mjs} +41 -34
- package/package.json +3 -2
- /package/dist/{constants-3l8TGg5J.mjs → constants-DHKqjdjH.mjs} +0 -0
- /package/dist/{htmlElements-CXObxj0V.mjs → htmlElements-DO9n35bD.mjs} +0 -0
- /package/dist/{index-DMQJJUrv.d.mts → index-cPmI99rd.d.mts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as isSelfClosingTag } from "./htmlElements-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as IN_BROWSER } from "./globals-
|
|
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 { Ct as createSingle, Gt as createRegistry, Ht as createSelection, It as useProxyModel, Lt as createGroup, P as createOverflow, b as createStep, j as createPagination, nn as createContext, o as useToggleScope, t as useClickOutside, vt as useLocale } from "./useClickOutside-w-Y2QxHh.mjs";
|
|
4
|
+
import { t as IN_BROWSER } from "./globals-BhNI7no7.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$
|
|
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$
|
|
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$
|
|
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$
|
|
90
|
+
var AvatarRoot_default = _sfc_main$45;
|
|
91
91
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/Avatar/AvatarFallback.vue
|
|
94
|
-
const _sfc_main$
|
|
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$
|
|
119
|
+
var AvatarFallback_default = _sfc_main$44;
|
|
120
120
|
|
|
121
121
|
//#endregion
|
|
122
122
|
//#region src/components/Avatar/AvatarImage.vue
|
|
123
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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: () =>
|
|
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$
|
|
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$
|
|
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$
|
|
464
|
+
var CheckboxHiddenInput_default = _sfc_main$40;
|
|
465
465
|
|
|
466
466
|
//#endregion
|
|
467
467
|
//#region src/components/Checkbox/CheckboxIndicator.vue
|
|
468
|
-
const _sfc_main$
|
|
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$
|
|
501
|
+
var CheckboxIndicator_default = _sfc_main$39;
|
|
502
502
|
|
|
503
503
|
//#endregion
|
|
504
504
|
//#region src/components/Checkbox/CheckboxSelectAll.vue
|
|
505
|
-
const _sfc_main$
|
|
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 =
|
|
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$
|
|
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$
|
|
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 =
|
|
647
|
-
const titleId =
|
|
648
|
-
const descriptionId =
|
|
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
|
|
658
|
-
titleId
|
|
659
|
-
descriptionId
|
|
656
|
+
id,
|
|
657
|
+
titleId,
|
|
658
|
+
descriptionId,
|
|
660
659
|
open,
|
|
661
660
|
close
|
|
662
661
|
});
|
|
663
662
|
const slotProps = toRef(() => ({
|
|
664
|
-
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$
|
|
679
|
+
var DialogRoot_default = _sfc_main$37;
|
|
681
680
|
|
|
682
681
|
//#endregion
|
|
683
682
|
//#region src/components/Dialog/DialogClose.vue
|
|
684
|
-
const _sfc_main$
|
|
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$
|
|
711
|
+
var DialogClose_default = _sfc_main$36;
|
|
713
712
|
|
|
714
713
|
//#endregion
|
|
715
714
|
//#region src/components/Dialog/DialogContent.vue
|
|
716
|
-
const _sfc_main$
|
|
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$
|
|
781
|
+
var DialogContent_default = _sfc_main$35;
|
|
783
782
|
|
|
784
783
|
//#endregion
|
|
785
784
|
//#region src/components/Dialog/DialogDescription.vue
|
|
786
|
-
const _sfc_main$
|
|
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$
|
|
804
|
+
var DialogDescription_default = _sfc_main$34;
|
|
806
805
|
|
|
807
806
|
//#endregion
|
|
808
807
|
//#region src/components/Dialog/DialogTitle.vue
|
|
809
|
-
const _sfc_main$
|
|
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$
|
|
827
|
+
var DialogTitle_default = _sfc_main$33;
|
|
829
828
|
|
|
830
829
|
//#endregion
|
|
831
830
|
//#region src/components/Dialog/DialogActivator.vue
|
|
832
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1012
|
+
var ExpansionPanelItem_default = _sfc_main$30;
|
|
1014
1013
|
|
|
1015
1014
|
//#endregion
|
|
1016
1015
|
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
|
|
1017
|
-
const _sfc_main$
|
|
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$
|
|
1062
|
+
var ExpansionPanelActivator_default = _sfc_main$29;
|
|
1064
1063
|
|
|
1065
1064
|
//#endregion
|
|
1066
1065
|
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue
|
|
1067
|
-
const _sfc_main$
|
|
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$
|
|
1097
|
+
var ExpansionPanelContent_default = _sfc_main$28;
|
|
1099
1098
|
|
|
1100
1099
|
//#endregion
|
|
1101
1100
|
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
|
|
1102
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
1196
|
+
var GroupRoot_default = _sfc_main$26;
|
|
1198
1197
|
|
|
1199
1198
|
//#endregion
|
|
1200
1199
|
//#region src/components/Group/GroupItem.vue
|
|
1201
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
1368
|
+
var PaginationRoot_default = _sfc_main$24;
|
|
1370
1369
|
|
|
1371
1370
|
//#endregion
|
|
1372
1371
|
//#region src/components/Pagination/PaginationEllipsis.vue
|
|
1373
|
-
const _sfc_main$
|
|
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: () =>
|
|
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$
|
|
1413
|
+
var PaginationEllipsis_default = _sfc_main$23;
|
|
1415
1414
|
|
|
1416
1415
|
//#endregion
|
|
1417
1416
|
//#region src/components/Pagination/PaginationFirst.vue
|
|
1418
|
-
const _sfc_main$
|
|
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: () =>
|
|
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$
|
|
1472
|
+
var PaginationFirst_default = _sfc_main$22;
|
|
1474
1473
|
|
|
1475
1474
|
//#endregion
|
|
1476
1475
|
//#region src/components/Pagination/PaginationItem.vue
|
|
1477
|
-
const _sfc_main$
|
|
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: () =>
|
|
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$
|
|
1542
|
+
var PaginationItem_default = _sfc_main$21;
|
|
1544
1543
|
|
|
1545
1544
|
//#endregion
|
|
1546
1545
|
//#region src/components/Pagination/PaginationLast.vue
|
|
1547
|
-
const _sfc_main$
|
|
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: () =>
|
|
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$
|
|
1601
|
+
var PaginationLast_default = _sfc_main$20;
|
|
1603
1602
|
|
|
1604
1603
|
//#endregion
|
|
1605
1604
|
//#region src/components/Pagination/PaginationNext.vue
|
|
1606
|
-
const _sfc_main$
|
|
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: () =>
|
|
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$
|
|
1660
|
+
var PaginationNext_default = _sfc_main$19;
|
|
1662
1661
|
|
|
1663
1662
|
//#endregion
|
|
1664
1663
|
//#region src/components/Pagination/PaginationPrev.vue
|
|
1665
|
-
const _sfc_main$
|
|
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: () =>
|
|
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$
|
|
1719
|
+
var PaginationPrev_default = _sfc_main$18;
|
|
1721
1720
|
|
|
1722
1721
|
//#endregion
|
|
1723
1722
|
//#region src/components/Pagination/PaginationStatus.vue
|
|
1724
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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 =
|
|
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
|
|
1814
|
+
id
|
|
1817
1815
|
});
|
|
1818
1816
|
const slotProps = toRef(() => ({
|
|
1819
|
-
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$
|
|
1832
|
+
var PopoverRoot_default = _sfc_main$16;
|
|
1835
1833
|
|
|
1836
1834
|
//#endregion
|
|
1837
1835
|
//#region src/components/Popover/PopoverActivator.vue
|
|
1838
|
-
const _sfc_main$
|
|
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$
|
|
1868
|
+
var PopoverActivator_default = _sfc_main$15;
|
|
1871
1869
|
|
|
1872
1870
|
//#endregion
|
|
1873
1871
|
//#region src/components/Popover/PopoverContent.vue
|
|
1874
|
-
const _sfc_main$
|
|
1872
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
1875
1873
|
name: "PopoverContent",
|
|
1876
1874
|
__name: "PopoverContent",
|
|
1877
1875
|
props: {
|
|
@@ -1935,7 +1933,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1935
1933
|
};
|
|
1936
1934
|
}
|
|
1937
1935
|
});
|
|
1938
|
-
var PopoverContent_default = _sfc_main$
|
|
1936
|
+
var PopoverContent_default = _sfc_main$14;
|
|
1939
1937
|
|
|
1940
1938
|
//#endregion
|
|
1941
1939
|
//#region src/components/Popover/index.ts
|
|
@@ -1953,7 +1951,7 @@ const Popover = {
|
|
|
1953
1951
|
//#endregion
|
|
1954
1952
|
//#region src/components/Radio/RadioGroup.vue
|
|
1955
1953
|
const [useRadioGroup, provideRadioGroup] = createContext();
|
|
1956
|
-
const _sfc_main$
|
|
1954
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
1957
1955
|
name: "RadioGroup",
|
|
1958
1956
|
__name: "RadioGroup",
|
|
1959
1957
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2012,17 +2010,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2012
2010
|
};
|
|
2013
2011
|
}
|
|
2014
2012
|
});
|
|
2015
|
-
var RadioGroup_default = _sfc_main$
|
|
2013
|
+
var RadioGroup_default = _sfc_main$13;
|
|
2016
2014
|
|
|
2017
2015
|
//#endregion
|
|
2018
2016
|
//#region src/components/Radio/RadioRoot.vue
|
|
2019
2017
|
const [useRadioRoot, provideRadioRoot] = createContext();
|
|
2020
|
-
const _sfc_main$
|
|
2018
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
2021
2019
|
name: "RadioRoot",
|
|
2022
2020
|
inheritAttrs: false,
|
|
2023
2021
|
__name: "RadioRoot",
|
|
2024
2022
|
props: {
|
|
2025
|
-
id: { default: () =>
|
|
2023
|
+
id: { default: () => useId() },
|
|
2026
2024
|
label: {},
|
|
2027
2025
|
value: {},
|
|
2028
2026
|
name: {},
|
|
@@ -2142,7 +2140,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2142
2140
|
};
|
|
2143
2141
|
}
|
|
2144
2142
|
});
|
|
2145
|
-
var RadioRoot_default = _sfc_main$
|
|
2143
|
+
var RadioRoot_default = _sfc_main$12;
|
|
2146
2144
|
|
|
2147
2145
|
//#endregion
|
|
2148
2146
|
//#region src/components/Radio/RadioHiddenInput.vue
|
|
@@ -2164,7 +2162,7 @@ const visuallyHiddenStyle = {
|
|
|
2164
2162
|
whiteSpace: "nowrap",
|
|
2165
2163
|
border: "0"
|
|
2166
2164
|
};
|
|
2167
|
-
const _sfc_main$
|
|
2165
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
2168
2166
|
name: "RadioHiddenInput",
|
|
2169
2167
|
__name: "RadioHiddenInput",
|
|
2170
2168
|
props: {
|
|
@@ -2199,11 +2197,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2199
2197
|
};
|
|
2200
2198
|
}
|
|
2201
2199
|
});
|
|
2202
|
-
var RadioHiddenInput_default = _sfc_main$
|
|
2200
|
+
var RadioHiddenInput_default = _sfc_main$11;
|
|
2203
2201
|
|
|
2204
2202
|
//#endregion
|
|
2205
2203
|
//#region src/components/Radio/RadioIndicator.vue
|
|
2206
|
-
const _sfc_main$
|
|
2204
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
2207
2205
|
name: "RadioIndicator",
|
|
2208
2206
|
__name: "RadioIndicator",
|
|
2209
2207
|
props: {
|
|
@@ -2233,7 +2231,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2233
2231
|
};
|
|
2234
2232
|
}
|
|
2235
2233
|
});
|
|
2236
|
-
var RadioIndicator_default = _sfc_main$
|
|
2234
|
+
var RadioIndicator_default = _sfc_main$10;
|
|
2237
2235
|
|
|
2238
2236
|
//#endregion
|
|
2239
2237
|
//#region src/components/Radio/index.ts
|
|
@@ -2279,7 +2277,7 @@ const Radio = {
|
|
|
2279
2277
|
//#endregion
|
|
2280
2278
|
//#region src/components/Selection/SelectionRoot.vue
|
|
2281
2279
|
const [useSelectionRoot, provideSelectionRoot] = createContext();
|
|
2282
|
-
const _sfc_main$
|
|
2280
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2283
2281
|
name: "SelectionRoot",
|
|
2284
2282
|
__name: "SelectionRoot",
|
|
2285
2283
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2329,11 +2327,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2329
2327
|
};
|
|
2330
2328
|
}
|
|
2331
2329
|
});
|
|
2332
|
-
var SelectionRoot_default = _sfc_main$
|
|
2330
|
+
var SelectionRoot_default = _sfc_main$9;
|
|
2333
2331
|
|
|
2334
2332
|
//#endregion
|
|
2335
2333
|
//#region src/components/Selection/SelectionItem.vue
|
|
2336
|
-
const _sfc_main$
|
|
2334
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2337
2335
|
name: "SelectionItem",
|
|
2338
2336
|
__name: "SelectionItem",
|
|
2339
2337
|
props: {
|
|
@@ -2375,7 +2373,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2375
2373
|
};
|
|
2376
2374
|
}
|
|
2377
2375
|
});
|
|
2378
|
-
var SelectionItem_default = _sfc_main$
|
|
2376
|
+
var SelectionItem_default = _sfc_main$8;
|
|
2379
2377
|
|
|
2380
2378
|
//#endregion
|
|
2381
2379
|
//#region src/components/Selection/index.ts
|
|
@@ -2392,7 +2390,7 @@ const Selection = {
|
|
|
2392
2390
|
//#endregion
|
|
2393
2391
|
//#region src/components/Single/SingleRoot.vue
|
|
2394
2392
|
const [useSingleRoot, provideSingleRoot] = createContext();
|
|
2395
|
-
const _sfc_main$
|
|
2393
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2396
2394
|
name: "SingleRoot",
|
|
2397
2395
|
__name: "SingleRoot",
|
|
2398
2396
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2436,11 +2434,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2436
2434
|
};
|
|
2437
2435
|
}
|
|
2438
2436
|
});
|
|
2439
|
-
var SingleRoot_default = _sfc_main$
|
|
2437
|
+
var SingleRoot_default = _sfc_main$7;
|
|
2440
2438
|
|
|
2441
2439
|
//#endregion
|
|
2442
2440
|
//#region src/components/Single/SingleItem.vue
|
|
2443
|
-
const _sfc_main$
|
|
2441
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2444
2442
|
name: "SingleItem",
|
|
2445
2443
|
__name: "SingleItem",
|
|
2446
2444
|
props: {
|
|
@@ -2482,7 +2480,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2482
2480
|
};
|
|
2483
2481
|
}
|
|
2484
2482
|
});
|
|
2485
|
-
var SingleItem_default = _sfc_main$
|
|
2483
|
+
var SingleItem_default = _sfc_main$6;
|
|
2486
2484
|
|
|
2487
2485
|
//#endregion
|
|
2488
2486
|
//#region src/components/Single/index.ts
|
|
@@ -2499,7 +2497,7 @@ const Single = {
|
|
|
2499
2497
|
//#endregion
|
|
2500
2498
|
//#region src/components/Step/StepRoot.vue
|
|
2501
2499
|
const [useStepRoot, provideStepRoot] = createContext();
|
|
2502
|
-
const _sfc_main$
|
|
2500
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2503
2501
|
name: "StepRoot",
|
|
2504
2502
|
__name: "StepRoot",
|
|
2505
2503
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2548,11 +2546,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
2548
2546
|
};
|
|
2549
2547
|
}
|
|
2550
2548
|
});
|
|
2551
|
-
var StepRoot_default = _sfc_main$
|
|
2549
|
+
var StepRoot_default = _sfc_main$5;
|
|
2552
2550
|
|
|
2553
2551
|
//#endregion
|
|
2554
2552
|
//#region src/components/Step/StepItem.vue
|
|
2555
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2553
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2556
2554
|
name: "StepItem",
|
|
2557
2555
|
__name: "StepItem",
|
|
2558
2556
|
props: {
|
|
@@ -2594,7 +2592,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2594
2592
|
};
|
|
2595
2593
|
}
|
|
2596
2594
|
});
|
|
2597
|
-
var StepItem_default = _sfc_main;
|
|
2595
|
+
var StepItem_default = _sfc_main$4;
|
|
2598
2596
|
|
|
2599
2597
|
//#endregion
|
|
2600
2598
|
//#region src/components/Step/index.ts
|
|
@@ -2609,4 +2607,326 @@ const Step = {
|
|
|
2609
2607
|
};
|
|
2610
2608
|
|
|
2611
2609
|
//#endregion
|
|
2612
|
-
|
|
2610
|
+
//#region src/components/Tabs/TabsRoot.vue
|
|
2611
|
+
const [useTabsRoot, provideTabsRoot] = createContext();
|
|
2612
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2613
|
+
name: "TabsRoot",
|
|
2614
|
+
__name: "TabsRoot",
|
|
2615
|
+
props: /* @__PURE__ */ mergeModels({
|
|
2616
|
+
namespace: { default: "v0:tabs" },
|
|
2617
|
+
disabled: {
|
|
2618
|
+
type: Boolean,
|
|
2619
|
+
default: false
|
|
2620
|
+
},
|
|
2621
|
+
enroll: {
|
|
2622
|
+
type: Boolean,
|
|
2623
|
+
default: false
|
|
2624
|
+
},
|
|
2625
|
+
mandatory: {
|
|
2626
|
+
type: [Boolean, String],
|
|
2627
|
+
default: "force"
|
|
2628
|
+
},
|
|
2629
|
+
circular: {
|
|
2630
|
+
type: Boolean,
|
|
2631
|
+
default: true
|
|
2632
|
+
},
|
|
2633
|
+
orientation: { default: "horizontal" },
|
|
2634
|
+
activation: { default: "automatic" }
|
|
2635
|
+
}, {
|
|
2636
|
+
"modelValue": {},
|
|
2637
|
+
"modelModifiers": {}
|
|
2638
|
+
}),
|
|
2639
|
+
emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
2640
|
+
setup(__props) {
|
|
2641
|
+
const model = useModel(__props, "modelValue");
|
|
2642
|
+
const rootId = useId();
|
|
2643
|
+
const step = createStep({
|
|
2644
|
+
disabled: toRef(() => __props.disabled),
|
|
2645
|
+
enroll: __props.enroll,
|
|
2646
|
+
mandatory: __props.mandatory,
|
|
2647
|
+
circular: __props.circular,
|
|
2648
|
+
events: true
|
|
2649
|
+
});
|
|
2650
|
+
useProxyModel(step, model, { multiple: false });
|
|
2651
|
+
const context = {
|
|
2652
|
+
...step,
|
|
2653
|
+
orientation: toRef(() => __props.orientation),
|
|
2654
|
+
activation: toRef(() => __props.activation),
|
|
2655
|
+
circular: toRef(() => __props.circular),
|
|
2656
|
+
rootId
|
|
2657
|
+
};
|
|
2658
|
+
provideTabsRoot(__props.namespace, context);
|
|
2659
|
+
const slotProps = toRef(() => ({
|
|
2660
|
+
isDisabled: toValue(step.disabled),
|
|
2661
|
+
orientation: __props.orientation,
|
|
2662
|
+
activation: __props.activation,
|
|
2663
|
+
first: step.first,
|
|
2664
|
+
last: step.last,
|
|
2665
|
+
next: step.next,
|
|
2666
|
+
prev: step.prev,
|
|
2667
|
+
step: step.step,
|
|
2668
|
+
select: step.select,
|
|
2669
|
+
unselect: step.unselect,
|
|
2670
|
+
toggle: step.toggle,
|
|
2671
|
+
attrs: { "aria-multiselectable": false }
|
|
2672
|
+
}));
|
|
2673
|
+
return (_ctx, _cache) => {
|
|
2674
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)));
|
|
2675
|
+
};
|
|
2676
|
+
}
|
|
2677
|
+
});
|
|
2678
|
+
var TabsRoot_default = _sfc_main$3;
|
|
2679
|
+
|
|
2680
|
+
//#endregion
|
|
2681
|
+
//#region src/components/Tabs/TabsList.vue
|
|
2682
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2683
|
+
name: "TabsList",
|
|
2684
|
+
inheritAttrs: false,
|
|
2685
|
+
__name: "TabsList",
|
|
2686
|
+
props: {
|
|
2687
|
+
label: {},
|
|
2688
|
+
namespace: { default: "v0:tabs" },
|
|
2689
|
+
as: { default: "div" },
|
|
2690
|
+
renderless: { type: Boolean }
|
|
2691
|
+
},
|
|
2692
|
+
setup(__props) {
|
|
2693
|
+
const attrs = useAttrs();
|
|
2694
|
+
const tabs = useTabsRoot(__props.namespace);
|
|
2695
|
+
const isDisabled = toRef(() => toValue(tabs.disabled));
|
|
2696
|
+
const slotProps = toRef(() => ({
|
|
2697
|
+
orientation: tabs.orientation.value,
|
|
2698
|
+
isDisabled: isDisabled.value,
|
|
2699
|
+
attrs: {
|
|
2700
|
+
"role": "tablist",
|
|
2701
|
+
"aria-orientation": tabs.orientation.value,
|
|
2702
|
+
"aria-label": __props.label,
|
|
2703
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
2704
|
+
"data-disabled": isDisabled.value || void 0
|
|
2705
|
+
}
|
|
2706
|
+
}));
|
|
2707
|
+
return (_ctx, _cache) => {
|
|
2708
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps({
|
|
2709
|
+
...unref(attrs),
|
|
2710
|
+
...slotProps.value.attrs
|
|
2711
|
+
}, {
|
|
2712
|
+
as: __props.as,
|
|
2713
|
+
renderless: __props.renderless
|
|
2714
|
+
}), {
|
|
2715
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
2716
|
+
_: 3
|
|
2717
|
+
}, 16, ["as", "renderless"]);
|
|
2718
|
+
};
|
|
2719
|
+
}
|
|
2720
|
+
});
|
|
2721
|
+
var TabsList_default = _sfc_main$2;
|
|
2722
|
+
|
|
2723
|
+
//#endregion
|
|
2724
|
+
//#region src/components/Tabs/TabsItem.vue
|
|
2725
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
2726
|
+
name: "TabsItem",
|
|
2727
|
+
inheritAttrs: false,
|
|
2728
|
+
__name: "TabsItem",
|
|
2729
|
+
props: {
|
|
2730
|
+
id: {},
|
|
2731
|
+
value: {},
|
|
2732
|
+
disabled: {},
|
|
2733
|
+
namespace: { default: "v0:tabs" },
|
|
2734
|
+
ariaLabel: {},
|
|
2735
|
+
ariaLabelledby: {},
|
|
2736
|
+
ariaDescribedby: {},
|
|
2737
|
+
as: { default: "button" },
|
|
2738
|
+
renderless: { type: Boolean }
|
|
2739
|
+
},
|
|
2740
|
+
setup(__props) {
|
|
2741
|
+
const attrs = useAttrs();
|
|
2742
|
+
const rootRef = useTemplateRef("root");
|
|
2743
|
+
const tabs = useTabsRoot(__props.namespace);
|
|
2744
|
+
const el = toRef(() => rootRef.value?.element ?? void 0);
|
|
2745
|
+
const ticket = tabs.register({
|
|
2746
|
+
id: __props.id,
|
|
2747
|
+
value: __props.value,
|
|
2748
|
+
disabled: __props.disabled,
|
|
2749
|
+
el
|
|
2750
|
+
});
|
|
2751
|
+
const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(tabs.disabled));
|
|
2752
|
+
const tabId = toRef(() => `${tabs.rootId}-tab-${ticket.id}`);
|
|
2753
|
+
const panelId = toRef(() => `${tabs.rootId}-panel-${ticket.id}`);
|
|
2754
|
+
onUnmounted(() => {
|
|
2755
|
+
tabs.unregister(ticket.id);
|
|
2756
|
+
});
|
|
2757
|
+
function focusSelectedTab() {
|
|
2758
|
+
nextTick(() => {
|
|
2759
|
+
const selected = tabs.selectedItem.value;
|
|
2760
|
+
if (selected) toValue(selected.el)?.focus();
|
|
2761
|
+
});
|
|
2762
|
+
}
|
|
2763
|
+
function onKeydown(e) {
|
|
2764
|
+
const isHorizontal = tabs.orientation.value === "horizontal";
|
|
2765
|
+
if (isHorizontal && e.key === "ArrowRight" || !isHorizontal && e.key === "ArrowDown") {
|
|
2766
|
+
e.preventDefault();
|
|
2767
|
+
tabs.next();
|
|
2768
|
+
focusSelectedTab();
|
|
2769
|
+
return;
|
|
2770
|
+
}
|
|
2771
|
+
if (isHorizontal && e.key === "ArrowLeft" || !isHorizontal && e.key === "ArrowUp") {
|
|
2772
|
+
e.preventDefault();
|
|
2773
|
+
tabs.prev();
|
|
2774
|
+
focusSelectedTab();
|
|
2775
|
+
return;
|
|
2776
|
+
}
|
|
2777
|
+
if (e.key === "Home") {
|
|
2778
|
+
e.preventDefault();
|
|
2779
|
+
tabs.first();
|
|
2780
|
+
focusSelectedTab();
|
|
2781
|
+
return;
|
|
2782
|
+
}
|
|
2783
|
+
if (e.key === "End") {
|
|
2784
|
+
e.preventDefault();
|
|
2785
|
+
tabs.last();
|
|
2786
|
+
focusSelectedTab();
|
|
2787
|
+
return;
|
|
2788
|
+
}
|
|
2789
|
+
if (tabs.activation.value === "manual" && (e.key === "Enter" || e.key === " ")) {
|
|
2790
|
+
e.preventDefault();
|
|
2791
|
+
ticket.select();
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
function onClick() {
|
|
2795
|
+
if (!isDisabled.value) ticket.select();
|
|
2796
|
+
}
|
|
2797
|
+
function onFocus() {
|
|
2798
|
+
if (tabs.activation.value === "automatic" && !isDisabled.value) ticket.select();
|
|
2799
|
+
}
|
|
2800
|
+
const slotProps = toRef(() => ({
|
|
2801
|
+
id: String(ticket.id),
|
|
2802
|
+
isSelected: toValue(ticket.isSelected),
|
|
2803
|
+
isDisabled: toValue(isDisabled),
|
|
2804
|
+
select: ticket.select,
|
|
2805
|
+
attrs: {
|
|
2806
|
+
"id": tabId.value,
|
|
2807
|
+
"role": "tab",
|
|
2808
|
+
"tabindex": toValue(ticket.isSelected) ? 0 : -1,
|
|
2809
|
+
"aria-selected": toValue(ticket.isSelected),
|
|
2810
|
+
"aria-controls": panelId.value,
|
|
2811
|
+
"aria-disabled": toValue(isDisabled) || void 0,
|
|
2812
|
+
"aria-label": __props.ariaLabel,
|
|
2813
|
+
"aria-labelledby": __props.ariaLabelledby,
|
|
2814
|
+
"aria-describedby": __props.ariaDescribedby,
|
|
2815
|
+
"data-selected": toValue(ticket.isSelected) || void 0,
|
|
2816
|
+
"data-disabled": toValue(isDisabled) || void 0,
|
|
2817
|
+
"disabled": __props.as === "button" ? toValue(isDisabled) : void 0,
|
|
2818
|
+
"type": __props.as === "button" ? "button" : void 0,
|
|
2819
|
+
"onClick": onClick,
|
|
2820
|
+
"onKeydown": onKeydown,
|
|
2821
|
+
"onFocus": onFocus
|
|
2822
|
+
}
|
|
2823
|
+
}));
|
|
2824
|
+
return (_ctx, _cache) => {
|
|
2825
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps({ ref: "root" }, {
|
|
2826
|
+
...unref(attrs),
|
|
2827
|
+
...slotProps.value.attrs
|
|
2828
|
+
}, {
|
|
2829
|
+
as: __props.as,
|
|
2830
|
+
renderless: __props.renderless
|
|
2831
|
+
}), {
|
|
2832
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
2833
|
+
_: 3
|
|
2834
|
+
}, 16, ["as", "renderless"]);
|
|
2835
|
+
};
|
|
2836
|
+
}
|
|
2837
|
+
});
|
|
2838
|
+
var TabsItem_default = _sfc_main$1;
|
|
2839
|
+
|
|
2840
|
+
//#endregion
|
|
2841
|
+
//#region src/components/Tabs/TabsPanel.vue
|
|
2842
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2843
|
+
name: "TabsPanel",
|
|
2844
|
+
inheritAttrs: false,
|
|
2845
|
+
__name: "TabsPanel",
|
|
2846
|
+
props: {
|
|
2847
|
+
value: {},
|
|
2848
|
+
namespace: { default: "v0:tabs" },
|
|
2849
|
+
as: { default: "div" },
|
|
2850
|
+
renderless: { type: Boolean }
|
|
2851
|
+
},
|
|
2852
|
+
setup(__props) {
|
|
2853
|
+
const attrs = useAttrs();
|
|
2854
|
+
const tabs = useTabsRoot(__props.namespace);
|
|
2855
|
+
const ticket = toRef(() => {
|
|
2856
|
+
const ids = tabs.browse(__props.value);
|
|
2857
|
+
if (ids && ids.length > 0) return tabs.get(ids[0]) ?? null;
|
|
2858
|
+
return null;
|
|
2859
|
+
});
|
|
2860
|
+
const isSelected = toRef(() => {
|
|
2861
|
+
const t = ticket.value;
|
|
2862
|
+
return t ? toValue(t.isSelected) : false;
|
|
2863
|
+
});
|
|
2864
|
+
const ticketId = toRef(() => ticket.value?.id ?? __props.value);
|
|
2865
|
+
const panelId = toRef(() => `${tabs.rootId}-panel-${ticketId.value}`);
|
|
2866
|
+
const tabId = toRef(() => `${tabs.rootId}-tab-${ticketId.value}`);
|
|
2867
|
+
const slotProps = toRef(() => ({
|
|
2868
|
+
isSelected: isSelected.value,
|
|
2869
|
+
attrs: {
|
|
2870
|
+
"id": panelId.value,
|
|
2871
|
+
"role": "tabpanel",
|
|
2872
|
+
"aria-labelledby": tabId.value,
|
|
2873
|
+
"tabindex": isSelected.value ? 0 : -1,
|
|
2874
|
+
"hidden": !isSelected.value,
|
|
2875
|
+
"data-selected": isSelected.value || void 0
|
|
2876
|
+
}
|
|
2877
|
+
}));
|
|
2878
|
+
return (_ctx, _cache) => {
|
|
2879
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps({
|
|
2880
|
+
...unref(attrs),
|
|
2881
|
+
...slotProps.value.attrs
|
|
2882
|
+
}, {
|
|
2883
|
+
as: __props.as,
|
|
2884
|
+
renderless: __props.renderless
|
|
2885
|
+
}), {
|
|
2886
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
2887
|
+
_: 3
|
|
2888
|
+
}, 16, ["as", "renderless"]);
|
|
2889
|
+
};
|
|
2890
|
+
}
|
|
2891
|
+
});
|
|
2892
|
+
var TabsPanel_default = _sfc_main;
|
|
2893
|
+
|
|
2894
|
+
//#endregion
|
|
2895
|
+
//#region src/components/Tabs/index.ts
|
|
2896
|
+
/**
|
|
2897
|
+
* Tabs component with sub-components for building accessible tab interfaces.
|
|
2898
|
+
*
|
|
2899
|
+
* @see https://0.vuetifyjs.com/components/tabs
|
|
2900
|
+
*
|
|
2901
|
+
* @example
|
|
2902
|
+
* ```vue
|
|
2903
|
+
* <script lang="ts" setup>
|
|
2904
|
+
* import { Tabs } from '@vuetify/v0'
|
|
2905
|
+
*
|
|
2906
|
+
* const selected = ref('profile')
|
|
2907
|
+
* <\/script>
|
|
2908
|
+
*
|
|
2909
|
+
* <template>
|
|
2910
|
+
* <Tabs.Root v-model="selected">
|
|
2911
|
+
* <Tabs.List label="Account settings">
|
|
2912
|
+
* <Tabs.Item value="profile">Profile</Tabs.Item>
|
|
2913
|
+
* <Tabs.Item value="password">Password</Tabs.Item>
|
|
2914
|
+
* <Tabs.Item value="billing" disabled>Billing</Tabs.Item>
|
|
2915
|
+
* </Tabs.List>
|
|
2916
|
+
*
|
|
2917
|
+
* <Tabs.Panel value="profile">Profile content</Tabs.Panel>
|
|
2918
|
+
* <Tabs.Panel value="password">Password content</Tabs.Panel>
|
|
2919
|
+
* <Tabs.Panel value="billing">Billing content</Tabs.Panel>
|
|
2920
|
+
* </Tabs.Root>
|
|
2921
|
+
* </template>
|
|
2922
|
+
* ```
|
|
2923
|
+
*/
|
|
2924
|
+
const Tabs = {
|
|
2925
|
+
Root: TabsRoot_default,
|
|
2926
|
+
List: TabsList_default,
|
|
2927
|
+
Item: TabsItem_default,
|
|
2928
|
+
Panel: TabsPanel_default
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
//#endregion
|
|
2932
|
+
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 };
|