@vuetify/v0 0.1.10 → 0.1.11
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-CqP9Z4JU.d.mts → adapter-Dv4TFNh9.d.mts} +7 -7
- package/dist/browser/index.js +1125 -162
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +19 -19
- package/dist/{components-TiigKVsl.mjs → components-Cxi4P1uo.mjs} +1028 -285
- package/dist/composables/index.d.mts +12 -12
- package/dist/composables/index.mjs +17 -17
- package/dist/{consola-C1OjyZVf.d.mts → consola-mE3TUsie.d.mts} +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-DoqbfLt0.mjs → createDataTable-DnaaoU_Q.mjs} +2 -2
- package/dist/{createGroup-DpbGTwFy.mjs → createGroup-BgDjEOXE.mjs} +1 -1
- package/dist/{createSelection-B6bQNyuF.mjs → createSelection-I3pID-Mh.mjs} +1 -1
- package/dist/{createSingle-fWHREEJO.mjs → createSingle-CqX-KXFr.mjs} +1 -1
- package/dist/{createTokens-N8QIWw_D.mjs → createTokens-vyh3quuB.mjs} +1 -1
- package/dist/data-table/adapters/client/index.mjs +1 -1
- package/dist/data-table/adapters/index.mjs +1 -1
- package/dist/data-table/adapters/server/index.mjs +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +1 -1
- package/dist/data-table/index.d.mts +1 -1
- package/dist/data-table/index.mjs +10 -10
- package/dist/date/index.d.mts +9 -6
- package/dist/date/index.mjs +22 -15
- package/dist/features/adapters/flagsmith/index.d.mts +1 -13
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -12
- package/dist/features/adapters/posthog/index.d.mts +1 -12
- package/dist/features/adapters/posthog/index.mjs +2 -2
- package/dist/features/index.d.mts +2 -2
- package/dist/features/index.mjs +8 -8
- package/dist/{globals-F7fiJVG1.mjs → globals-TLLuB8XQ.mjs} +1 -1
- package/dist/index-BTG8veDR.d.mts +13 -0
- package/dist/{index-DXdQb5BV.d.mts → index-Bz8iXBEX.d.mts} +1387 -372
- package/dist/index-CDGG7lCB.d.mts +1 -0
- package/dist/index-CrqJIYCP.d.mts +13 -0
- package/dist/index-D9G_YWS_.d.mts +14 -0
- package/dist/{index-Cv1XUHyA.d.mts → index-Dlz-FzrC.d.mts} +20 -1
- package/dist/index-LhFpnU-f.d.mts +1 -0
- package/dist/{index-Dfa5Wb4T.d.mts → index-bMdAIUKN.d.mts} +44 -11
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +20 -20
- package/dist/json/attributes.json +193 -1
- package/dist/json/importMap.json +52 -0
- package/dist/json/tags.json +108 -0
- package/dist/json/web-types.json +621 -3
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +2 -2
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +2 -2
- package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
- package/dist/locale/adapters/vue-i18n/index.mjs +1 -1
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +8 -8
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +2 -2
- package/dist/logger/adapters/pino/index.d.mts +1 -1
- package/dist/logger/adapters/pino/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.d.mts +1 -1
- package/dist/logger/adapters/v0/index.mjs +2 -2
- package/dist/logger/index.d.mts +5 -5
- package/dist/logger/index.mjs +3 -3
- package/dist/notifications/index.d.mts +1 -2
- package/dist/notifications/index.mjs +1 -1
- package/dist/palettes/index.d.mts +1 -2
- package/dist/permissions/adapters/index.d.mts +1 -2
- package/dist/permissions/adapters/index.mjs +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.mjs +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +5 -5
- package/dist/{pino-CM1iLXmi.d.mts → pino-DUx_ooLa.d.mts} +1 -1
- package/dist/{posthog-CdcdfMYS.mjs → posthog-0A_Ageii.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +9 -9
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/index.d.mts +3 -3
- package/dist/storage/index.mjs +17 -17
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +2 -2
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +2 -2
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +8 -8
- package/dist/{useClickOutside-DNuJQ9EG.mjs → useClickOutside-R0S58NVr.mjs} +135 -24
- package/dist/{useFeatures-CWNXTIXk.mjs → useFeatures-Bn16wSHD.mjs} +3 -3
- package/dist/{useLocale-Dzl6lCCF.mjs → useLocale-B8NaQT2b.mjs} +4 -4
- package/dist/{useLogger-Bw836Jbg.mjs → useLogger-xp_tiLJ5.mjs} +2 -2
- package/dist/{usePermissions-DrRVDeVy.mjs → usePermissions-nkU9OBB8.mjs} +2 -2
- package/dist/{useRules-TMGuA8al.mjs → useRules-RkVMgycJ.mjs} +2 -2
- package/dist/{useTheme-qMpg3Ti6.mjs → useTheme-QFLbV6tH.mjs} +14 -7
- package/dist/utilities/index.d.mts +2 -2
- package/dist/utilities/index.mjs +120 -21
- package/dist/{v0-CIEQpOK2.mjs → v0-AoEx-7U5.mjs} +8 -3
- package/dist/{v0-JPf99NKg.d.mts → v0-BdhPBG_p.d.mts} +1 -1
- package/dist/{v0-3zDdS4II.d.mts → v0-CItl0K-e.d.mts} +1 -1
- package/dist/{v0-DgaVf3xM.mjs → v0-CkxwC3wm.mjs} +1 -1
- package/dist/{v0-BsuBuBSa.mjs → v0-Di7YUWAH.mjs} +1 -1
- package/package.json +1 -1
- package/dist/v0-BBRwZ3at.d.mts +0 -10
- /package/dist/{adapter-D3dUnE__.d.mts → adapter-CN3E66HY.d.mts} +0 -0
- /package/dist/{adapter-CJQav2JB.d.mts → adapter-DcJbLnTC.d.mts} +0 -0
- /package/dist/{index-BvTD7kU8.d.mts → index-BAHMiB95.d.mts} +0 -0
- /package/dist/{index-dJKXAO5D.d.mts → index-BC1S8-8J.d.mts} +0 -0
- /package/dist/{index-CLDBngUs.d.mts → index-B_fIwnhR.d.mts} +0 -0
- /package/dist/{index-DSao7i57.d.mts → index-DiLStryt.d.mts} +0 -0
- /package/dist/{memory-DyBabFV1.d.mts → memory-CDrksYgA.d.mts} +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { r as isSelfClosingTag } from "./htmlElements-DcYtv0hg.mjs";
|
|
2
|
-
import { t as IN_BROWSER } from "./globals-
|
|
2
|
+
import { t as IN_BROWSER } from "./globals-TLLuB8XQ.mjs";
|
|
3
3
|
import { clamp, isArray, isElement, isNull, isNullOrUndefined, isObject, isString, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
|
|
4
4
|
import { n as createContext, r as provideContext } from "./createTrinity-C_c8eedz.mjs";
|
|
5
|
-
import { a as createRegistry } from "./createTokens-
|
|
6
|
-
import { t as createSelection } from "./createSelection-
|
|
7
|
-
import { t as createSingle } from "./createSingle-
|
|
8
|
-
import { Dt as createBreadcrumbs, N as useRaf, P as usePopover, Q as useLazy, R as useNotifications, T as createSlider, a as useVirtualFocus, gt as createOverflow, ht as useProxyModel, l as useToggleScope, mt as useTimer, n as useDocumentEventListener, nt as createForm, t as useClickOutside, u as createValidation, v as createStep, w as useStack } from "./useClickOutside-
|
|
9
|
-
import { t as createGroup } from "./createGroup-
|
|
5
|
+
import { a as createRegistry } from "./createTokens-vyh3quuB.mjs";
|
|
6
|
+
import { t as createSelection } from "./createSelection-I3pID-Mh.mjs";
|
|
7
|
+
import { t as createSingle } from "./createSingle-CqX-KXFr.mjs";
|
|
8
|
+
import { Dt as createBreadcrumbs, H as createNested, M as useRovingFocus, N as useRaf, P as usePopover, Q as useLazy, R as useNotifications, T as createSlider, a as useVirtualFocus, bt as useResizeObserver, gt as createOverflow, ht as useProxyModel, l as useToggleScope, mt as useTimer, n as useDocumentEventListener, nt as createForm, t as useClickOutside, u as createValidation, v as createStep, w as useStack } from "./useClickOutside-R0S58NVr.mjs";
|
|
9
|
+
import { t as createGroup } from "./createGroup-BgDjEOXE.mjs";
|
|
10
10
|
import { t as toArray } from "./toArray-VdROPpy-.mjs";
|
|
11
|
-
import { a as useLocale } from "./useLocale-
|
|
11
|
+
import { a as useLocale } from "./useLocale-B8NaQT2b.mjs";
|
|
12
12
|
import { t as createPagination } from "./createPagination-DZSJ8aO5.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { i as useTheme } from "./useTheme-QFLbV6tH.mjs";
|
|
14
|
+
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, onUnmounted, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
14
15
|
//#region src/components/Atom/Atom.vue
|
|
15
16
|
/**
|
|
16
17
|
* @module Atom
|
|
@@ -33,7 +34,7 @@ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createComme
|
|
|
33
34
|
* serving as the foundation for all other components that need polymorphic
|
|
34
35
|
* rendering capabilities.
|
|
35
36
|
*/
|
|
36
|
-
const _sfc_main$
|
|
37
|
+
const _sfc_main$104 = /* @__PURE__ */ defineComponent({
|
|
37
38
|
name: "Atom",
|
|
38
39
|
__name: "Atom",
|
|
39
40
|
props: {
|
|
@@ -67,7 +68,7 @@ const _sfc_main$92 = /* @__PURE__ */ defineComponent({
|
|
|
67
68
|
//#endregion
|
|
68
69
|
//#region src/components/Avatar/AvatarRoot.vue
|
|
69
70
|
const [useAvatarRoot, provideAvatarRoot] = createContext();
|
|
70
|
-
const _sfc_main$
|
|
71
|
+
const _sfc_main$103 = /* @__PURE__ */ defineComponent({
|
|
71
72
|
name: "AvatarRoot",
|
|
72
73
|
__name: "AvatarRoot",
|
|
73
74
|
props: {
|
|
@@ -82,7 +83,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
|
82
83
|
});
|
|
83
84
|
provideAvatarRoot(__props.namespace, selection);
|
|
84
85
|
return (_ctx, _cache) => {
|
|
85
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
86
|
+
return openBlock(), createBlock(unref(_sfc_main$104), {
|
|
86
87
|
as: __props.as,
|
|
87
88
|
renderless: __props.renderless
|
|
88
89
|
}, {
|
|
@@ -94,7 +95,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
|
94
95
|
});
|
|
95
96
|
//#endregion
|
|
96
97
|
//#region src/components/Avatar/AvatarFallback.vue
|
|
97
|
-
const _sfc_main$
|
|
98
|
+
const _sfc_main$102 = /* @__PURE__ */ defineComponent({
|
|
98
99
|
name: "AvatarFallback",
|
|
99
100
|
__name: "AvatarFallback",
|
|
100
101
|
props: {
|
|
@@ -108,7 +109,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
108
109
|
const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
|
|
109
110
|
onUnmounted(() => context.unregister(ticket.id));
|
|
110
111
|
return (_ctx, _cache) => {
|
|
111
|
-
return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
112
|
+
return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$104), {
|
|
112
113
|
key: 0,
|
|
113
114
|
as: __props.as,
|
|
114
115
|
renderless: __props.renderless
|
|
@@ -121,7 +122,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
121
122
|
});
|
|
122
123
|
//#endregion
|
|
123
124
|
//#region src/components/Avatar/AvatarImage.vue
|
|
124
|
-
const _sfc_main$
|
|
125
|
+
const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
125
126
|
name: "AvatarImage",
|
|
126
127
|
inheritAttrs: false,
|
|
127
128
|
__name: "AvatarImage",
|
|
@@ -171,7 +172,7 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
171
172
|
}
|
|
172
173
|
}));
|
|
173
174
|
return (_ctx, _cache) => {
|
|
174
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
175
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
175
176
|
as: __props.as,
|
|
176
177
|
renderless: __props.renderless
|
|
177
178
|
}), {
|
|
@@ -189,14 +190,14 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
189
190
|
* @see https://0.vuetifyjs.com/components/avatar
|
|
190
191
|
*/
|
|
191
192
|
const Avatar = {
|
|
192
|
-
Root: _sfc_main$
|
|
193
|
-
Image: _sfc_main$
|
|
194
|
-
Fallback: _sfc_main$
|
|
193
|
+
Root: _sfc_main$103,
|
|
194
|
+
Image: _sfc_main$101,
|
|
195
|
+
Fallback: _sfc_main$102
|
|
195
196
|
};
|
|
196
197
|
//#endregion
|
|
197
198
|
//#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
|
|
198
199
|
const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
|
|
199
|
-
const _sfc_main$
|
|
200
|
+
const _sfc_main$100 = /* @__PURE__ */ defineComponent({
|
|
200
201
|
name: "BreadcrumbsRoot",
|
|
201
202
|
__name: "BreadcrumbsRoot",
|
|
202
203
|
props: {
|
|
@@ -324,7 +325,7 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
|
324
325
|
}
|
|
325
326
|
}));
|
|
326
327
|
return (_ctx, _cache) => {
|
|
327
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
328
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
328
329
|
ref: "container",
|
|
329
330
|
as: __props.as,
|
|
330
331
|
renderless: __props.renderless
|
|
@@ -337,7 +338,7 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
|
337
338
|
});
|
|
338
339
|
//#endregion
|
|
339
340
|
//#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
|
|
340
|
-
const _sfc_main$
|
|
341
|
+
const _sfc_main$99 = /* @__PURE__ */ defineComponent({
|
|
341
342
|
name: "BreadcrumbsDivider",
|
|
342
343
|
__name: "BreadcrumbsDivider",
|
|
343
344
|
props: {
|
|
@@ -373,7 +374,7 @@ const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
|
373
374
|
}
|
|
374
375
|
}));
|
|
375
376
|
return (_ctx, _cache) => {
|
|
376
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
377
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
377
378
|
ref: "el",
|
|
378
379
|
as: __props.as,
|
|
379
380
|
renderless: __props.renderless
|
|
@@ -386,7 +387,7 @@ const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
|
386
387
|
});
|
|
387
388
|
//#endregion
|
|
388
389
|
//#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
|
|
389
|
-
const _sfc_main$
|
|
390
|
+
const _sfc_main$98 = /* @__PURE__ */ defineComponent({
|
|
390
391
|
name: "BreadcrumbsEllipsis",
|
|
391
392
|
__name: "BreadcrumbsEllipsis",
|
|
392
393
|
props: {
|
|
@@ -429,7 +430,7 @@ const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
|
429
430
|
}
|
|
430
431
|
}));
|
|
431
432
|
return (_ctx, _cache) => {
|
|
432
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
433
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
433
434
|
ref: "el",
|
|
434
435
|
as: __props.as,
|
|
435
436
|
renderless: __props.renderless
|
|
@@ -442,7 +443,7 @@ const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
|
442
443
|
});
|
|
443
444
|
//#endregion
|
|
444
445
|
//#region src/components/Breadcrumbs/BreadcrumbsItem.vue
|
|
445
|
-
const _sfc_main$
|
|
446
|
+
const _sfc_main$97 = /* @__PURE__ */ defineComponent({
|
|
446
447
|
name: "BreadcrumbsItem",
|
|
447
448
|
__name: "BreadcrumbsItem",
|
|
448
449
|
props: {
|
|
@@ -481,7 +482,7 @@ const _sfc_main$85 = /* @__PURE__ */ defineComponent({
|
|
|
481
482
|
attrs: { "data-selected": isSelected.value || void 0 }
|
|
482
483
|
}));
|
|
483
484
|
return (_ctx, _cache) => {
|
|
484
|
-
return withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
485
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
485
486
|
ref: "el",
|
|
486
487
|
as: __props.as,
|
|
487
488
|
renderless: __props.renderless
|
|
@@ -494,7 +495,7 @@ const _sfc_main$85 = /* @__PURE__ */ defineComponent({
|
|
|
494
495
|
});
|
|
495
496
|
//#endregion
|
|
496
497
|
//#region src/components/Breadcrumbs/BreadcrumbsLink.vue
|
|
497
|
-
const _sfc_main$
|
|
498
|
+
const _sfc_main$96 = /* @__PURE__ */ defineComponent({
|
|
498
499
|
name: "BreadcrumbsLink",
|
|
499
500
|
__name: "BreadcrumbsLink",
|
|
500
501
|
props: {
|
|
@@ -503,7 +504,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
|
503
504
|
},
|
|
504
505
|
setup(__props) {
|
|
505
506
|
return (_ctx, _cache) => {
|
|
506
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
507
|
+
return openBlock(), createBlock(unref(_sfc_main$104), {
|
|
507
508
|
as: __props.as,
|
|
508
509
|
renderless: __props.renderless
|
|
509
510
|
}, {
|
|
@@ -515,7 +516,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
|
515
516
|
});
|
|
516
517
|
//#endregion
|
|
517
518
|
//#region src/components/Breadcrumbs/BreadcrumbsList.vue
|
|
518
|
-
const _sfc_main$
|
|
519
|
+
const _sfc_main$95 = /* @__PURE__ */ defineComponent({
|
|
519
520
|
name: "BreadcrumbsList",
|
|
520
521
|
__name: "BreadcrumbsList",
|
|
521
522
|
props: {
|
|
@@ -525,7 +526,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
|
|
|
525
526
|
setup(__props) {
|
|
526
527
|
const slotProps = toRef(() => ({ attrs: { role: "list" } }));
|
|
527
528
|
return (_ctx, _cache) => {
|
|
528
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
529
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
529
530
|
as: __props.as,
|
|
530
531
|
renderless: __props.renderless
|
|
531
532
|
}, slotProps.value.attrs), {
|
|
@@ -537,7 +538,7 @@ const _sfc_main$83 = /* @__PURE__ */ defineComponent({
|
|
|
537
538
|
});
|
|
538
539
|
//#endregion
|
|
539
540
|
//#region src/components/Breadcrumbs/BreadcrumbsPage.vue
|
|
540
|
-
const _sfc_main$
|
|
541
|
+
const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
541
542
|
name: "BreadcrumbsPage",
|
|
542
543
|
__name: "BreadcrumbsPage",
|
|
543
544
|
props: {
|
|
@@ -547,7 +548,7 @@ const _sfc_main$82 = /* @__PURE__ */ defineComponent({
|
|
|
547
548
|
setup(__props) {
|
|
548
549
|
const slotProps = toRef(() => ({ attrs: { "aria-current": "page" } }));
|
|
549
550
|
return (_ctx, _cache) => {
|
|
550
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
551
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
551
552
|
as: __props.as,
|
|
552
553
|
renderless: __props.renderless
|
|
553
554
|
}, slotProps.value.attrs), {
|
|
@@ -565,18 +566,18 @@ const _sfc_main$82 = /* @__PURE__ */ defineComponent({
|
|
|
565
566
|
* @see https://0.vuetifyjs.com/components/breadcrumbs
|
|
566
567
|
*/
|
|
567
568
|
const Breadcrumbs = {
|
|
568
|
-
Root: _sfc_main$
|
|
569
|
-
List: _sfc_main$
|
|
570
|
-
Item: _sfc_main$
|
|
571
|
-
Link: _sfc_main$
|
|
572
|
-
Page: _sfc_main$
|
|
573
|
-
Divider: _sfc_main$
|
|
574
|
-
Ellipsis: _sfc_main$
|
|
569
|
+
Root: _sfc_main$100,
|
|
570
|
+
List: _sfc_main$95,
|
|
571
|
+
Item: _sfc_main$97,
|
|
572
|
+
Link: _sfc_main$96,
|
|
573
|
+
Page: _sfc_main$94,
|
|
574
|
+
Divider: _sfc_main$99,
|
|
575
|
+
Ellipsis: _sfc_main$98
|
|
575
576
|
};
|
|
576
577
|
//#endregion
|
|
577
578
|
//#region src/components/Button/ButtonGroup.vue
|
|
578
579
|
const [useButtonGroup, provideButtonGroup] = createContext();
|
|
579
|
-
const _sfc_main$
|
|
580
|
+
const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
580
581
|
name: "ButtonGroup",
|
|
581
582
|
__name: "ButtonGroup",
|
|
582
583
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -623,7 +624,7 @@ const _sfc_main$81 = /* @__PURE__ */ defineComponent({
|
|
|
623
624
|
}
|
|
624
625
|
}));
|
|
625
626
|
return (_ctx, _cache) => {
|
|
626
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
627
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
627
628
|
as: __props.as,
|
|
628
629
|
renderless: __props.renderless
|
|
629
630
|
}), {
|
|
@@ -653,7 +654,7 @@ const visuallyHiddenStyle$4 = {
|
|
|
653
654
|
whiteSpace: "nowrap",
|
|
654
655
|
border: "0"
|
|
655
656
|
};
|
|
656
|
-
const _sfc_main$
|
|
657
|
+
const _sfc_main$92 = /* @__PURE__ */ defineComponent({
|
|
657
658
|
name: "ButtonHiddenInput",
|
|
658
659
|
__name: "ButtonHiddenInput",
|
|
659
660
|
props: {
|
|
@@ -691,7 +692,7 @@ const _sfc_main$80 = /* @__PURE__ */ defineComponent({
|
|
|
691
692
|
//#endregion
|
|
692
693
|
//#region src/components/Button/ButtonRoot.vue
|
|
693
694
|
const [useButtonRoot, provideButtonRoot] = createContext();
|
|
694
|
-
const _sfc_main$
|
|
695
|
+
const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
695
696
|
name: "ButtonRoot",
|
|
696
697
|
inheritAttrs: false,
|
|
697
698
|
__name: "ButtonRoot",
|
|
@@ -786,7 +787,7 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
786
787
|
"data-disabled": isDisabled.value ? true : void 0,
|
|
787
788
|
"data-selected": group && isSelected.value ? true : void 0,
|
|
788
789
|
"data-solo": isSolo.value ? true : void 0,
|
|
789
|
-
"onClick": onClick
|
|
790
|
+
"onClick": ticket ? onClick : void 0
|
|
790
791
|
}));
|
|
791
792
|
const slotProps = toRef(() => ({
|
|
792
793
|
isLoading: isLoading.value,
|
|
@@ -797,22 +798,23 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
797
798
|
attrs: elementAttrs.value
|
|
798
799
|
}));
|
|
799
800
|
return (_ctx, _cache) => {
|
|
800
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
801
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$104), mergeProps({
|
|
801
802
|
...unref(attrs),
|
|
802
803
|
...slotProps.value.attrs
|
|
803
804
|
}, {
|
|
804
805
|
as: __props.as,
|
|
805
|
-
renderless: __props.renderless
|
|
806
|
+
renderless: __props.renderless,
|
|
807
|
+
onClick
|
|
806
808
|
}), {
|
|
807
809
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
808
810
|
_: 3
|
|
809
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
811
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$92, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
810
812
|
};
|
|
811
813
|
}
|
|
812
814
|
});
|
|
813
815
|
//#endregion
|
|
814
816
|
//#region src/components/Button/ButtonContent.vue
|
|
815
|
-
const _sfc_main$
|
|
817
|
+
const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
816
818
|
name: "ButtonContent",
|
|
817
819
|
__name: "ButtonContent",
|
|
818
820
|
props: {
|
|
@@ -830,7 +832,7 @@ const _sfc_main$78 = /* @__PURE__ */ defineComponent({
|
|
|
830
832
|
});
|
|
831
833
|
//#endregion
|
|
832
834
|
//#region src/components/Button/ButtonIcon.vue
|
|
833
|
-
const _sfc_main$
|
|
835
|
+
const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
834
836
|
name: "ButtonIcon",
|
|
835
837
|
__name: "ButtonIcon",
|
|
836
838
|
props: {
|
|
@@ -849,7 +851,7 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
|
849
851
|
attrs: { "aria-hidden": true }
|
|
850
852
|
}));
|
|
851
853
|
return (_ctx, _cache) => {
|
|
852
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
854
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
853
855
|
as: __props.as,
|
|
854
856
|
renderless: __props.renderless
|
|
855
857
|
}), {
|
|
@@ -861,7 +863,7 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
|
861
863
|
});
|
|
862
864
|
//#endregion
|
|
863
865
|
//#region src/components/Button/ButtonLoading.vue
|
|
864
|
-
const _sfc_main$
|
|
866
|
+
const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
865
867
|
name: "ButtonLoading",
|
|
866
868
|
__name: "ButtonLoading",
|
|
867
869
|
props: {
|
|
@@ -912,17 +914,17 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
|
912
914
|
* ```
|
|
913
915
|
*/
|
|
914
916
|
const Button = {
|
|
915
|
-
Content: _sfc_main$
|
|
916
|
-
Group: _sfc_main$
|
|
917
|
-
HiddenInput: _sfc_main$
|
|
918
|
-
Icon: _sfc_main$
|
|
919
|
-
Loading: _sfc_main$
|
|
920
|
-
Root: _sfc_main$
|
|
917
|
+
Content: _sfc_main$90,
|
|
918
|
+
Group: _sfc_main$93,
|
|
919
|
+
HiddenInput: _sfc_main$92,
|
|
920
|
+
Icon: _sfc_main$89,
|
|
921
|
+
Loading: _sfc_main$88,
|
|
922
|
+
Root: _sfc_main$91
|
|
921
923
|
};
|
|
922
924
|
//#endregion
|
|
923
925
|
//#region src/components/Checkbox/CheckboxGroup.vue
|
|
924
926
|
const [useCheckboxGroup, provideCheckboxGroup] = createContext();
|
|
925
|
-
const _sfc_main$
|
|
927
|
+
const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
926
928
|
name: "CheckboxGroup",
|
|
927
929
|
__name: "CheckboxGroup",
|
|
928
930
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -978,7 +980,7 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
978
980
|
}
|
|
979
981
|
}));
|
|
980
982
|
return (_ctx, _cache) => {
|
|
981
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
983
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
982
984
|
as: __props.as,
|
|
983
985
|
renderless: __props.renderless
|
|
984
986
|
}), {
|
|
@@ -991,7 +993,7 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
991
993
|
//#endregion
|
|
992
994
|
//#region src/components/Checkbox/CheckboxRoot.vue
|
|
993
995
|
const [useCheckboxRoot, provideCheckboxRoot] = createContext();
|
|
994
|
-
const _sfc_main$
|
|
996
|
+
const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
995
997
|
name: "CheckboxRoot",
|
|
996
998
|
inheritAttrs: false,
|
|
997
999
|
__name: "CheckboxRoot",
|
|
@@ -1110,7 +1112,7 @@ const _sfc_main$74 = /* @__PURE__ */ defineComponent({
|
|
|
1110
1112
|
}
|
|
1111
1113
|
}));
|
|
1112
1114
|
return (_ctx, _cache) => {
|
|
1113
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
1115
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$104), mergeProps({
|
|
1114
1116
|
...unref(attrs),
|
|
1115
1117
|
...slotProps.value.attrs
|
|
1116
1118
|
}, {
|
|
@@ -1121,7 +1123,7 @@ const _sfc_main$74 = /* @__PURE__ */ defineComponent({
|
|
|
1121
1123
|
}), {
|
|
1122
1124
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1123
1125
|
_: 3
|
|
1124
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
1126
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$85, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
1125
1127
|
};
|
|
1126
1128
|
}
|
|
1127
1129
|
});
|
|
@@ -1145,7 +1147,7 @@ const visuallyHiddenStyle$3 = {
|
|
|
1145
1147
|
whiteSpace: "nowrap",
|
|
1146
1148
|
border: "0"
|
|
1147
1149
|
};
|
|
1148
|
-
const _sfc_main$
|
|
1150
|
+
const _sfc_main$85 = /* @__PURE__ */ defineComponent({
|
|
1149
1151
|
name: "CheckboxHiddenInput",
|
|
1150
1152
|
__name: "CheckboxHiddenInput",
|
|
1151
1153
|
props: {
|
|
@@ -1183,7 +1185,7 @@ const _sfc_main$73 = /* @__PURE__ */ defineComponent({
|
|
|
1183
1185
|
});
|
|
1184
1186
|
//#endregion
|
|
1185
1187
|
//#region src/components/Checkbox/CheckboxIndicator.vue
|
|
1186
|
-
const _sfc_main$
|
|
1188
|
+
const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
1187
1189
|
name: "CheckboxIndicator",
|
|
1188
1190
|
__name: "CheckboxIndicator",
|
|
1189
1191
|
props: {
|
|
@@ -1206,7 +1208,7 @@ const _sfc_main$72 = /* @__PURE__ */ defineComponent({
|
|
|
1206
1208
|
}
|
|
1207
1209
|
}));
|
|
1208
1210
|
return (_ctx, _cache) => {
|
|
1209
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1211
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
1210
1212
|
as: __props.as,
|
|
1211
1213
|
renderless: __props.renderless
|
|
1212
1214
|
}), {
|
|
@@ -1218,7 +1220,7 @@ const _sfc_main$72 = /* @__PURE__ */ defineComponent({
|
|
|
1218
1220
|
});
|
|
1219
1221
|
//#endregion
|
|
1220
1222
|
//#region src/components/Checkbox/CheckboxSelectAll.vue
|
|
1221
|
-
const _sfc_main$
|
|
1223
|
+
const _sfc_main$83 = /* @__PURE__ */ defineComponent({
|
|
1222
1224
|
name: "CheckboxSelectAll",
|
|
1223
1225
|
inheritAttrs: false,
|
|
1224
1226
|
__name: "CheckboxSelectAll",
|
|
@@ -1289,7 +1291,7 @@ const _sfc_main$71 = /* @__PURE__ */ defineComponent({
|
|
|
1289
1291
|
}
|
|
1290
1292
|
}));
|
|
1291
1293
|
return (_ctx, _cache) => {
|
|
1292
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1294
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
1293
1295
|
...unref(attrs),
|
|
1294
1296
|
...slotProps.value.attrs
|
|
1295
1297
|
}, {
|
|
@@ -1328,16 +1330,16 @@ const _sfc_main$71 = /* @__PURE__ */ defineComponent({
|
|
|
1328
1330
|
* ```
|
|
1329
1331
|
*/
|
|
1330
1332
|
const Checkbox = {
|
|
1331
|
-
Group: _sfc_main$
|
|
1332
|
-
HiddenInput: _sfc_main$
|
|
1333
|
-
Indicator: _sfc_main$
|
|
1334
|
-
Root: _sfc_main$
|
|
1335
|
-
SelectAll: _sfc_main$
|
|
1333
|
+
Group: _sfc_main$87,
|
|
1334
|
+
HiddenInput: _sfc_main$85,
|
|
1335
|
+
Indicator: _sfc_main$84,
|
|
1336
|
+
Root: _sfc_main$86,
|
|
1337
|
+
SelectAll: _sfc_main$83
|
|
1336
1338
|
};
|
|
1337
1339
|
//#endregion
|
|
1338
1340
|
//#region src/components/Dialog/DialogRoot.vue
|
|
1339
1341
|
const [useDialogContext, provideDialogContext] = createContext();
|
|
1340
|
-
const _sfc_main$
|
|
1342
|
+
const _sfc_main$82 = /* @__PURE__ */ defineComponent({
|
|
1341
1343
|
name: "DialogRoot",
|
|
1342
1344
|
__name: "DialogRoot",
|
|
1343
1345
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1379,7 +1381,7 @@ const _sfc_main$70 = /* @__PURE__ */ defineComponent({
|
|
|
1379
1381
|
close
|
|
1380
1382
|
}));
|
|
1381
1383
|
return (_ctx, _cache) => {
|
|
1382
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1384
|
+
return openBlock(), createBlock(unref(_sfc_main$104), {
|
|
1383
1385
|
as: __props.as,
|
|
1384
1386
|
renderless: ""
|
|
1385
1387
|
}, {
|
|
@@ -1391,7 +1393,7 @@ const _sfc_main$70 = /* @__PURE__ */ defineComponent({
|
|
|
1391
1393
|
});
|
|
1392
1394
|
//#endregion
|
|
1393
1395
|
//#region src/components/Dialog/DialogClose.vue
|
|
1394
|
-
const _sfc_main$
|
|
1396
|
+
const _sfc_main$81 = /* @__PURE__ */ defineComponent({
|
|
1395
1397
|
name: "DialogClose",
|
|
1396
1398
|
__name: "DialogClose",
|
|
1397
1399
|
props: {
|
|
@@ -1412,7 +1414,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
1412
1414
|
}
|
|
1413
1415
|
}));
|
|
1414
1416
|
return (_ctx, _cache) => {
|
|
1415
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1417
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
|
|
1416
1418
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1417
1419
|
_: 3
|
|
1418
1420
|
}, 16, ["as"]);
|
|
@@ -1421,7 +1423,7 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
1421
1423
|
});
|
|
1422
1424
|
//#endregion
|
|
1423
1425
|
//#region src/components/Dialog/DialogContent.vue
|
|
1424
|
-
const _sfc_main$
|
|
1426
|
+
const _sfc_main$80 = /* @__PURE__ */ defineComponent({
|
|
1425
1427
|
name: "DialogContent",
|
|
1426
1428
|
__name: "DialogContent",
|
|
1427
1429
|
props: {
|
|
@@ -1489,7 +1491,7 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
1489
1491
|
}
|
|
1490
1492
|
}));
|
|
1491
1493
|
return (_ctx, _cache) => {
|
|
1492
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1494
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
1493
1495
|
ref: "content",
|
|
1494
1496
|
as: __props.as,
|
|
1495
1497
|
style: styles.value
|
|
@@ -1505,7 +1507,7 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
1505
1507
|
});
|
|
1506
1508
|
//#endregion
|
|
1507
1509
|
//#region src/components/Dialog/DialogDescription.vue
|
|
1508
|
-
const _sfc_main$
|
|
1510
|
+
const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
1509
1511
|
name: "DialogDescription",
|
|
1510
1512
|
__name: "DialogDescription",
|
|
1511
1513
|
props: {
|
|
@@ -1517,7 +1519,7 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
1517
1519
|
const context = useDialogContext(__props.namespace);
|
|
1518
1520
|
const slotProps = toRef(() => ({ attrs: { id: context.descriptionId } }));
|
|
1519
1521
|
return (_ctx, _cache) => {
|
|
1520
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1522
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, slotProps.value.attrs), {
|
|
1521
1523
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1522
1524
|
_: 3
|
|
1523
1525
|
}, 16, ["as"]);
|
|
@@ -1526,7 +1528,7 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
1526
1528
|
});
|
|
1527
1529
|
//#endregion
|
|
1528
1530
|
//#region src/components/Dialog/DialogTitle.vue
|
|
1529
|
-
const _sfc_main$
|
|
1531
|
+
const _sfc_main$78 = /* @__PURE__ */ defineComponent({
|
|
1530
1532
|
name: "DialogTitle",
|
|
1531
1533
|
__name: "DialogTitle",
|
|
1532
1534
|
props: {
|
|
@@ -1538,7 +1540,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
1538
1540
|
const context = useDialogContext(__props.namespace);
|
|
1539
1541
|
const slotProps = toRef(() => ({ attrs: { id: context.titleId } }));
|
|
1540
1542
|
return (_ctx, _cache) => {
|
|
1541
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1543
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, slotProps.value.attrs), {
|
|
1542
1544
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1543
1545
|
_: 3
|
|
1544
1546
|
}, 16, ["as"]);
|
|
@@ -1547,7 +1549,7 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
1547
1549
|
});
|
|
1548
1550
|
//#endregion
|
|
1549
1551
|
//#region src/components/Dialog/DialogActivator.vue
|
|
1550
|
-
const _sfc_main$
|
|
1552
|
+
const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
1551
1553
|
name: "DialogActivator",
|
|
1552
1554
|
__name: "DialogActivator",
|
|
1553
1555
|
props: {
|
|
@@ -1570,7 +1572,7 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
1570
1572
|
}
|
|
1571
1573
|
}));
|
|
1572
1574
|
return (_ctx, _cache) => {
|
|
1573
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1575
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
|
|
1574
1576
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1575
1577
|
_: 3
|
|
1576
1578
|
}, 16, ["as"]);
|
|
@@ -1609,17 +1611,17 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
1609
1611
|
* ```
|
|
1610
1612
|
*/
|
|
1611
1613
|
const Dialog = {
|
|
1612
|
-
Root: _sfc_main$
|
|
1613
|
-
Activator: _sfc_main$
|
|
1614
|
-
Content: _sfc_main$
|
|
1615
|
-
Title: _sfc_main$
|
|
1616
|
-
Description: _sfc_main$
|
|
1617
|
-
Close: _sfc_main$
|
|
1614
|
+
Root: _sfc_main$82,
|
|
1615
|
+
Activator: _sfc_main$77,
|
|
1616
|
+
Content: _sfc_main$80,
|
|
1617
|
+
Title: _sfc_main$78,
|
|
1618
|
+
Description: _sfc_main$79,
|
|
1619
|
+
Close: _sfc_main$81
|
|
1618
1620
|
};
|
|
1619
1621
|
//#endregion
|
|
1620
1622
|
//#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
|
|
1621
1623
|
const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext();
|
|
1622
|
-
const _sfc_main$
|
|
1624
|
+
const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
1623
1625
|
name: "ExpansionPanelRoot",
|
|
1624
1626
|
__name: "ExpansionPanelRoot",
|
|
1625
1627
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1666,7 +1668,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
1666
1668
|
}));
|
|
1667
1669
|
provideExpansionPanelRoot(__props.namespace, selection);
|
|
1668
1670
|
return (_ctx, _cache) => {
|
|
1669
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1671
|
+
return openBlock(), createBlock(unref(_sfc_main$104), {
|
|
1670
1672
|
as: __props.as,
|
|
1671
1673
|
renderless: __props.renderless
|
|
1672
1674
|
}, {
|
|
@@ -1679,7 +1681,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
1679
1681
|
//#endregion
|
|
1680
1682
|
//#region src/components/ExpansionPanel/ExpansionPanelItem.vue
|
|
1681
1683
|
const [useExpansionPanelItem, provideExpansionPanelItem] = createContext({ suffix: "item" });
|
|
1682
|
-
const _sfc_main$
|
|
1684
|
+
const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
1683
1685
|
name: "ExpansionPanelItem",
|
|
1684
1686
|
__name: "ExpansionPanelItem",
|
|
1685
1687
|
props: {
|
|
@@ -1713,7 +1715,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
1713
1715
|
isDisabled
|
|
1714
1716
|
});
|
|
1715
1717
|
return (_ctx, _cache) => {
|
|
1716
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1718
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
1717
1719
|
as: __props.as,
|
|
1718
1720
|
renderless: __props.renderless
|
|
1719
1721
|
}), {
|
|
@@ -1725,7 +1727,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
1725
1727
|
});
|
|
1726
1728
|
//#endregion
|
|
1727
1729
|
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
|
|
1728
|
-
const _sfc_main$
|
|
1730
|
+
const _sfc_main$74 = /* @__PURE__ */ defineComponent({
|
|
1729
1731
|
name: "ExpansionPanelActivator",
|
|
1730
1732
|
__name: "ExpansionPanelActivator",
|
|
1731
1733
|
props: {
|
|
@@ -1761,7 +1763,7 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
1761
1763
|
}
|
|
1762
1764
|
}));
|
|
1763
1765
|
return (_ctx, _cache) => {
|
|
1764
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1766
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
1765
1767
|
as: __props.as,
|
|
1766
1768
|
renderless: __props.renderless
|
|
1767
1769
|
}), {
|
|
@@ -1773,7 +1775,7 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
1773
1775
|
});
|
|
1774
1776
|
//#endregion
|
|
1775
1777
|
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue
|
|
1776
|
-
const _sfc_main$
|
|
1778
|
+
const _sfc_main$73 = /* @__PURE__ */ defineComponent({
|
|
1777
1779
|
name: "ExpansionPanelContent",
|
|
1778
1780
|
__name: "ExpansionPanelContent",
|
|
1779
1781
|
props: {
|
|
@@ -1794,7 +1796,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
1794
1796
|
}
|
|
1795
1797
|
}));
|
|
1796
1798
|
return (_ctx, _cache) => {
|
|
1797
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1799
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
1798
1800
|
as: __props.as,
|
|
1799
1801
|
renderless: __props.renderless
|
|
1800
1802
|
}), {
|
|
@@ -1806,7 +1808,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
1806
1808
|
});
|
|
1807
1809
|
//#endregion
|
|
1808
1810
|
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
|
|
1809
|
-
const _sfc_main$
|
|
1811
|
+
const _sfc_main$72 = /* @__PURE__ */ defineComponent({
|
|
1810
1812
|
name: "ExpansionPanelHeader",
|
|
1811
1813
|
__name: "ExpansionPanelHeader",
|
|
1812
1814
|
props: {
|
|
@@ -1821,7 +1823,7 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
1821
1823
|
attrs: { "data-selected": item.ticket.isSelected.value || void 0 }
|
|
1822
1824
|
}));
|
|
1823
1825
|
return (_ctx, _cache) => {
|
|
1824
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1826
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
1825
1827
|
as: __props.as,
|
|
1826
1828
|
renderless: __props.renderless
|
|
1827
1829
|
}), {
|
|
@@ -1839,15 +1841,15 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
1839
1841
|
* @see https://0.vuetifyjs.com/components/expansion-panels
|
|
1840
1842
|
*/
|
|
1841
1843
|
const ExpansionPanel = {
|
|
1842
|
-
Root: _sfc_main$
|
|
1843
|
-
Item: _sfc_main$
|
|
1844
|
-
Header: _sfc_main$
|
|
1845
|
-
Activator: _sfc_main$
|
|
1846
|
-
Content: _sfc_main$
|
|
1844
|
+
Root: _sfc_main$76,
|
|
1845
|
+
Item: _sfc_main$75,
|
|
1846
|
+
Header: _sfc_main$72,
|
|
1847
|
+
Activator: _sfc_main$74,
|
|
1848
|
+
Content: _sfc_main$73
|
|
1847
1849
|
};
|
|
1848
1850
|
//#endregion
|
|
1849
1851
|
//#region src/components/Form/Form.vue
|
|
1850
|
-
const _sfc_main$
|
|
1852
|
+
const _sfc_main$71 = /* @__PURE__ */ defineComponent({
|
|
1851
1853
|
name: "Form",
|
|
1852
1854
|
inheritAttrs: false,
|
|
1853
1855
|
__name: "Form",
|
|
@@ -1905,7 +1907,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
1905
1907
|
reset: form.reset
|
|
1906
1908
|
}));
|
|
1907
1909
|
return (_ctx, _cache) => {
|
|
1908
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1910
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, unref(attrs), {
|
|
1909
1911
|
onReset,
|
|
1910
1912
|
onSubmit
|
|
1911
1913
|
}), {
|
|
@@ -1918,7 +1920,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
1918
1920
|
//#endregion
|
|
1919
1921
|
//#region src/components/Group/GroupRoot.vue
|
|
1920
1922
|
const [useGroupRoot, provideGroupRoot] = createContext();
|
|
1921
|
-
const _sfc_main$
|
|
1923
|
+
const _sfc_main$70 = /* @__PURE__ */ defineComponent({
|
|
1922
1924
|
name: "GroupRoot",
|
|
1923
1925
|
__name: "GroupRoot",
|
|
1924
1926
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1970,7 +1972,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
1970
1972
|
});
|
|
1971
1973
|
//#endregion
|
|
1972
1974
|
//#region src/components/Group/GroupItem.vue
|
|
1973
|
-
const _sfc_main$
|
|
1975
|
+
const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
1974
1976
|
name: "GroupItem",
|
|
1975
1977
|
__name: "GroupItem",
|
|
1976
1978
|
props: {
|
|
@@ -2027,8 +2029,8 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
2027
2029
|
* @see https://0.vuetifyjs.com/components/group
|
|
2028
2030
|
*/
|
|
2029
2031
|
const Group = {
|
|
2030
|
-
Root: _sfc_main$
|
|
2031
|
-
Item: _sfc_main$
|
|
2032
|
+
Root: _sfc_main$70,
|
|
2033
|
+
Item: _sfc_main$69
|
|
2032
2034
|
};
|
|
2033
2035
|
//#endregion
|
|
2034
2036
|
//#region src/components/Input/InputRoot.vue
|
|
@@ -2044,7 +2046,7 @@ function parseValidateOn(value) {
|
|
|
2044
2046
|
modifier
|
|
2045
2047
|
};
|
|
2046
2048
|
}
|
|
2047
|
-
const _sfc_main$
|
|
2049
|
+
const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
2048
2050
|
name: "InputRoot",
|
|
2049
2051
|
inheritAttrs: false,
|
|
2050
2052
|
__name: "InputRoot",
|
|
@@ -2176,7 +2178,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
2176
2178
|
}
|
|
2177
2179
|
}));
|
|
2178
2180
|
return (_ctx, _cache) => {
|
|
2179
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2181
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2180
2182
|
...unref(attrs),
|
|
2181
2183
|
...slotProps.value.attrs
|
|
2182
2184
|
}, {
|
|
@@ -2191,7 +2193,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
2191
2193
|
});
|
|
2192
2194
|
//#endregion
|
|
2193
2195
|
//#region src/components/Input/InputControl.vue
|
|
2194
|
-
const _sfc_main$
|
|
2196
|
+
const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
2195
2197
|
name: "InputControl",
|
|
2196
2198
|
inheritAttrs: false,
|
|
2197
2199
|
__name: "InputControl",
|
|
@@ -2249,7 +2251,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
2249
2251
|
attrs: controlAttrs.value
|
|
2250
2252
|
}));
|
|
2251
2253
|
return (_ctx, _cache) => {
|
|
2252
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2254
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2253
2255
|
...unref(attrs),
|
|
2254
2256
|
...controlAttrs.value
|
|
2255
2257
|
}, {
|
|
@@ -2267,7 +2269,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
2267
2269
|
});
|
|
2268
2270
|
//#endregion
|
|
2269
2271
|
//#region src/components/Input/InputDescription.vue
|
|
2270
|
-
const _sfc_main$
|
|
2272
|
+
const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
2271
2273
|
name: "InputDescription",
|
|
2272
2274
|
inheritAttrs: false,
|
|
2273
2275
|
__name: "InputDescription",
|
|
@@ -2286,7 +2288,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
2286
2288
|
root.hasDescription.value = false;
|
|
2287
2289
|
});
|
|
2288
2290
|
return (_ctx, _cache) => {
|
|
2289
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2291
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(unref(attrs), {
|
|
2290
2292
|
id: unref(root).descriptionId,
|
|
2291
2293
|
as: __props.as,
|
|
2292
2294
|
renderless: __props.renderless
|
|
@@ -2303,7 +2305,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
2303
2305
|
});
|
|
2304
2306
|
//#endregion
|
|
2305
2307
|
//#region src/components/Input/InputError.vue
|
|
2306
|
-
const _sfc_main$
|
|
2308
|
+
const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
2307
2309
|
name: "InputError",
|
|
2308
2310
|
inheritAttrs: false,
|
|
2309
2311
|
__name: "InputError",
|
|
@@ -2332,7 +2334,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
2332
2334
|
}
|
|
2333
2335
|
}));
|
|
2334
2336
|
return (_ctx, _cache) => {
|
|
2335
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2337
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2336
2338
|
...unref(attrs),
|
|
2337
2339
|
...slotProps.value.attrs
|
|
2338
2340
|
}, {
|
|
@@ -2377,17 +2379,55 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
2377
2379
|
* ```
|
|
2378
2380
|
*/
|
|
2379
2381
|
const Input = {
|
|
2380
|
-
Control: _sfc_main$
|
|
2381
|
-
Description: _sfc_main$
|
|
2382
|
-
Error: _sfc_main$
|
|
2383
|
-
Root: _sfc_main$
|
|
2382
|
+
Control: _sfc_main$67,
|
|
2383
|
+
Description: _sfc_main$66,
|
|
2384
|
+
Error: _sfc_main$65,
|
|
2385
|
+
Root: _sfc_main$68
|
|
2384
2386
|
};
|
|
2385
2387
|
//#endregion
|
|
2388
|
+
//#region src/components/Locale/Locale.vue
|
|
2389
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
2390
|
+
name: "Locale",
|
|
2391
|
+
inheritAttrs: false,
|
|
2392
|
+
__name: "Locale",
|
|
2393
|
+
props: {
|
|
2394
|
+
locale: {},
|
|
2395
|
+
renderless: {
|
|
2396
|
+
type: Boolean,
|
|
2397
|
+
default: false
|
|
2398
|
+
},
|
|
2399
|
+
as: { default: "div" }
|
|
2400
|
+
},
|
|
2401
|
+
setup(__props) {
|
|
2402
|
+
const parent = useLocale();
|
|
2403
|
+
const selectedId = toRef(() => __props.locale);
|
|
2404
|
+
const selectedItem = toRef(() => parent.get(__props.locale));
|
|
2405
|
+
provideContext("v0:locale", {
|
|
2406
|
+
...parent,
|
|
2407
|
+
selectedId,
|
|
2408
|
+
selectedItem
|
|
2409
|
+
});
|
|
2410
|
+
const attrs = toRef(() => ({
|
|
2411
|
+
"data-locale": __props.locale,
|
|
2412
|
+
"lang": __props.locale
|
|
2413
|
+
}));
|
|
2414
|
+
return (_ctx, _cache) => {
|
|
2415
|
+
return __props.renderless ? renderSlot(_ctx.$slots, "default", {
|
|
2416
|
+
key: 0,
|
|
2417
|
+
attrs: attrs.value
|
|
2418
|
+
}) : (openBlock(), createBlock(resolveDynamicComponent(__props.as), normalizeProps(mergeProps({ key: 1 }, attrs.value)), {
|
|
2419
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { attrs: attrs.value })]),
|
|
2420
|
+
_: 3
|
|
2421
|
+
}, 16));
|
|
2422
|
+
};
|
|
2423
|
+
}
|
|
2424
|
+
});
|
|
2425
|
+
//#endregion
|
|
2386
2426
|
//#region src/components/Pagination/PaginationRoot.vue
|
|
2387
2427
|
const [usePaginationRoot, providePaginationRoot] = createContext();
|
|
2388
2428
|
const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
|
|
2389
2429
|
const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
|
|
2390
|
-
const _sfc_main$
|
|
2430
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
2391
2431
|
name: "PaginationRoot",
|
|
2392
2432
|
__name: "PaginationRoot",
|
|
2393
2433
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2474,7 +2514,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
2474
2514
|
providePaginationControls(__props.namespace, controls);
|
|
2475
2515
|
providePaginationItems(__props.namespace, items);
|
|
2476
2516
|
return (_ctx, _cache) => {
|
|
2477
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2517
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2478
2518
|
ref_key: "atom",
|
|
2479
2519
|
ref: atom
|
|
2480
2520
|
}, slotProps.value.attrs, {
|
|
@@ -2489,7 +2529,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
2489
2529
|
});
|
|
2490
2530
|
//#endregion
|
|
2491
2531
|
//#region src/components/Pagination/PaginationEllipsis.vue
|
|
2492
|
-
const _sfc_main$
|
|
2532
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
2493
2533
|
name: "PaginationEllipsis",
|
|
2494
2534
|
__name: "PaginationEllipsis",
|
|
2495
2535
|
props: {
|
|
@@ -2517,7 +2557,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
2517
2557
|
}));
|
|
2518
2558
|
onBeforeUnmount(() => items.unregister(__props.id));
|
|
2519
2559
|
return (_ctx, _cache) => {
|
|
2520
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2560
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2521
2561
|
ref_key: "atom",
|
|
2522
2562
|
ref: atom
|
|
2523
2563
|
}, slotProps.value.attrs, {
|
|
@@ -2532,7 +2572,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
2532
2572
|
});
|
|
2533
2573
|
//#endregion
|
|
2534
2574
|
//#region src/components/Pagination/PaginationFirst.vue
|
|
2535
|
-
const _sfc_main$
|
|
2575
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
2536
2576
|
name: "PaginationFirst",
|
|
2537
2577
|
__name: "PaginationFirst",
|
|
2538
2578
|
props: {
|
|
@@ -2574,7 +2614,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
2574
2614
|
}));
|
|
2575
2615
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2576
2616
|
return (_ctx, _cache) => {
|
|
2577
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2617
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2578
2618
|
ref_key: "atom",
|
|
2579
2619
|
ref: atom
|
|
2580
2620
|
}, slotProps.value.attrs, {
|
|
@@ -2589,7 +2629,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
2589
2629
|
});
|
|
2590
2630
|
//#endregion
|
|
2591
2631
|
//#region src/components/Pagination/PaginationItem.vue
|
|
2592
|
-
const _sfc_main$
|
|
2632
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
2593
2633
|
name: "PaginationItem",
|
|
2594
2634
|
__name: "PaginationItem",
|
|
2595
2635
|
props: {
|
|
@@ -2642,7 +2682,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
2642
2682
|
}));
|
|
2643
2683
|
onBeforeUnmount(() => items.unregister(__props.id));
|
|
2644
2684
|
return (_ctx, _cache) => {
|
|
2645
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2685
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2646
2686
|
ref_key: "atom",
|
|
2647
2687
|
ref: atom
|
|
2648
2688
|
}, slotProps.value.attrs, {
|
|
@@ -2657,7 +2697,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
2657
2697
|
});
|
|
2658
2698
|
//#endregion
|
|
2659
2699
|
//#region src/components/Pagination/PaginationLast.vue
|
|
2660
|
-
const _sfc_main$
|
|
2700
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
2661
2701
|
name: "PaginationLast",
|
|
2662
2702
|
__name: "PaginationLast",
|
|
2663
2703
|
props: {
|
|
@@ -2699,7 +2739,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
2699
2739
|
}));
|
|
2700
2740
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2701
2741
|
return (_ctx, _cache) => {
|
|
2702
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2742
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2703
2743
|
ref_key: "atom",
|
|
2704
2744
|
ref: atom
|
|
2705
2745
|
}, slotProps.value.attrs, {
|
|
@@ -2714,7 +2754,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
2714
2754
|
});
|
|
2715
2755
|
//#endregion
|
|
2716
2756
|
//#region src/components/Pagination/PaginationNext.vue
|
|
2717
|
-
const _sfc_main$
|
|
2757
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
2718
2758
|
name: "PaginationNext",
|
|
2719
2759
|
__name: "PaginationNext",
|
|
2720
2760
|
props: {
|
|
@@ -2756,7 +2796,7 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
2756
2796
|
}));
|
|
2757
2797
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2758
2798
|
return (_ctx, _cache) => {
|
|
2759
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2799
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2760
2800
|
ref_key: "atom",
|
|
2761
2801
|
ref: atom
|
|
2762
2802
|
}, slotProps.value.attrs, {
|
|
@@ -2771,7 +2811,7 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
2771
2811
|
});
|
|
2772
2812
|
//#endregion
|
|
2773
2813
|
//#region src/components/Pagination/PaginationPrev.vue
|
|
2774
|
-
const _sfc_main$
|
|
2814
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
2775
2815
|
name: "PaginationPrev",
|
|
2776
2816
|
__name: "PaginationPrev",
|
|
2777
2817
|
props: {
|
|
@@ -2813,7 +2853,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
2813
2853
|
}));
|
|
2814
2854
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2815
2855
|
return (_ctx, _cache) => {
|
|
2816
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2856
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2817
2857
|
ref_key: "atom",
|
|
2818
2858
|
ref: atom
|
|
2819
2859
|
}, slotProps.value.attrs, {
|
|
@@ -2828,7 +2868,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
2828
2868
|
});
|
|
2829
2869
|
//#endregion
|
|
2830
2870
|
//#region src/components/Pagination/PaginationStatus.vue
|
|
2831
|
-
const _sfc_main$
|
|
2871
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
2832
2872
|
name: "PaginationStatus",
|
|
2833
2873
|
__name: "PaginationStatus",
|
|
2834
2874
|
props: {
|
|
@@ -2862,7 +2902,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
2862
2902
|
}
|
|
2863
2903
|
}));
|
|
2864
2904
|
return (_ctx, _cache) => {
|
|
2865
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2905
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
2866
2906
|
as: __props.as,
|
|
2867
2907
|
renderless: __props.renderless
|
|
2868
2908
|
}), {
|
|
@@ -2880,19 +2920,19 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
2880
2920
|
* @see https://0.vuetifyjs.com/components/pagination
|
|
2881
2921
|
*/
|
|
2882
2922
|
const Pagination = {
|
|
2883
|
-
Root: _sfc_main$
|
|
2884
|
-
Item: _sfc_main$
|
|
2885
|
-
First: _sfc_main$
|
|
2886
|
-
Prev: _sfc_main$
|
|
2887
|
-
Ellipsis: _sfc_main$
|
|
2888
|
-
Next: _sfc_main$
|
|
2889
|
-
Last: _sfc_main$
|
|
2890
|
-
Status: _sfc_main$
|
|
2923
|
+
Root: _sfc_main$63,
|
|
2924
|
+
Item: _sfc_main$60,
|
|
2925
|
+
First: _sfc_main$61,
|
|
2926
|
+
Prev: _sfc_main$57,
|
|
2927
|
+
Ellipsis: _sfc_main$62,
|
|
2928
|
+
Next: _sfc_main$58,
|
|
2929
|
+
Last: _sfc_main$59,
|
|
2930
|
+
Status: _sfc_main$56
|
|
2891
2931
|
};
|
|
2892
2932
|
//#endregion
|
|
2893
2933
|
//#region src/components/Popover/PopoverRoot.vue
|
|
2894
2934
|
const [usePopoverContext, providePopoverContext] = createContext("Popover");
|
|
2895
|
-
const _sfc_main$
|
|
2935
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
2896
2936
|
name: "PopoverRoot",
|
|
2897
2937
|
__name: "PopoverRoot",
|
|
2898
2938
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2923,7 +2963,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
2923
2963
|
toggle: popover.toggle
|
|
2924
2964
|
}));
|
|
2925
2965
|
return (_ctx, _cache) => {
|
|
2926
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2966
|
+
return openBlock(), createBlock(unref(_sfc_main$104), {
|
|
2927
2967
|
as: __props.as,
|
|
2928
2968
|
renderless: ""
|
|
2929
2969
|
}, {
|
|
@@ -2935,7 +2975,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
2935
2975
|
});
|
|
2936
2976
|
//#endregion
|
|
2937
2977
|
//#region src/components/Popover/PopoverActivator.vue
|
|
2938
|
-
const _sfc_main$
|
|
2978
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
2939
2979
|
name: "PopoverActivator",
|
|
2940
2980
|
__name: "PopoverActivator",
|
|
2941
2981
|
props: {
|
|
@@ -2960,7 +3000,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
2960
3000
|
}
|
|
2961
3001
|
}));
|
|
2962
3002
|
return (_ctx, _cache) => {
|
|
2963
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3003
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
2964
3004
|
as: __props.as,
|
|
2965
3005
|
style: style.value
|
|
2966
3006
|
}, slotProps.value.attrs), {
|
|
@@ -2972,7 +3012,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
2972
3012
|
});
|
|
2973
3013
|
//#endregion
|
|
2974
3014
|
//#region src/components/Popover/PopoverContent.vue
|
|
2975
|
-
const _sfc_main$
|
|
3015
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
2976
3016
|
name: "PopoverContent",
|
|
2977
3017
|
__name: "PopoverContent",
|
|
2978
3018
|
props: {
|
|
@@ -3012,7 +3052,7 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
3012
3052
|
}
|
|
3013
3053
|
}));
|
|
3014
3054
|
return (_ctx, _cache) => {
|
|
3015
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3055
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
3016
3056
|
ref_key: "ref",
|
|
3017
3057
|
ref,
|
|
3018
3058
|
as: props.as,
|
|
@@ -3032,14 +3072,14 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
3032
3072
|
* @see https://0.vuetifyjs.com/components/popover
|
|
3033
3073
|
*/
|
|
3034
3074
|
const Popover = {
|
|
3035
|
-
Root: _sfc_main$
|
|
3036
|
-
Activator: _sfc_main$
|
|
3037
|
-
Content: _sfc_main$
|
|
3075
|
+
Root: _sfc_main$55,
|
|
3076
|
+
Activator: _sfc_main$54,
|
|
3077
|
+
Content: _sfc_main$53
|
|
3038
3078
|
};
|
|
3039
3079
|
//#endregion
|
|
3040
3080
|
//#region src/components/Radio/RadioGroup.vue
|
|
3041
3081
|
const [useRadioGroup, provideRadioGroup] = createContext();
|
|
3042
|
-
const _sfc_main$
|
|
3082
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
3043
3083
|
name: "RadioGroup",
|
|
3044
3084
|
__name: "RadioGroup",
|
|
3045
3085
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3091,7 +3131,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
3091
3131
|
}
|
|
3092
3132
|
}));
|
|
3093
3133
|
return (_ctx, _cache) => {
|
|
3094
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3134
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
3095
3135
|
as: __props.as,
|
|
3096
3136
|
renderless: __props.renderless
|
|
3097
3137
|
}), {
|
|
@@ -3104,7 +3144,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
3104
3144
|
//#endregion
|
|
3105
3145
|
//#region src/components/Radio/RadioRoot.vue
|
|
3106
3146
|
const [useRadioRoot, provideRadioRoot] = createContext();
|
|
3107
|
-
const _sfc_main$
|
|
3147
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
3108
3148
|
name: "RadioRoot",
|
|
3109
3149
|
inheritAttrs: false,
|
|
3110
3150
|
__name: "RadioRoot",
|
|
@@ -3214,7 +3254,7 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
3214
3254
|
}
|
|
3215
3255
|
}));
|
|
3216
3256
|
return (_ctx, _cache) => {
|
|
3217
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
3257
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$104), mergeProps({ ref: "root" }, {
|
|
3218
3258
|
...unref(attrs),
|
|
3219
3259
|
...slotProps.value.attrs
|
|
3220
3260
|
}, {
|
|
@@ -3225,7 +3265,7 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
3225
3265
|
}), {
|
|
3226
3266
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3227
3267
|
_: 3
|
|
3228
|
-
}, 16, ["as", "renderless"]), unref(name) ? (openBlock(), createBlock(_sfc_main$
|
|
3268
|
+
}, 16, ["as", "renderless"]), unref(name) ? (openBlock(), createBlock(_sfc_main$50, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
3229
3269
|
};
|
|
3230
3270
|
}
|
|
3231
3271
|
});
|
|
@@ -3249,7 +3289,7 @@ const visuallyHiddenStyle$2 = {
|
|
|
3249
3289
|
whiteSpace: "nowrap",
|
|
3250
3290
|
border: "0"
|
|
3251
3291
|
};
|
|
3252
|
-
const _sfc_main$
|
|
3292
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
3253
3293
|
name: "RadioHiddenInput",
|
|
3254
3294
|
__name: "RadioHiddenInput",
|
|
3255
3295
|
props: {
|
|
@@ -3286,7 +3326,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
3286
3326
|
});
|
|
3287
3327
|
//#endregion
|
|
3288
3328
|
//#region src/components/Radio/RadioIndicator.vue
|
|
3289
|
-
const _sfc_main$
|
|
3329
|
+
const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
3290
3330
|
name: "RadioIndicator",
|
|
3291
3331
|
__name: "RadioIndicator",
|
|
3292
3332
|
props: {
|
|
@@ -3306,7 +3346,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
3306
3346
|
}
|
|
3307
3347
|
}));
|
|
3308
3348
|
return (_ctx, _cache) => {
|
|
3309
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3349
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
3310
3350
|
as: __props.as,
|
|
3311
3351
|
renderless: __props.renderless
|
|
3312
3352
|
}), {
|
|
@@ -3351,14 +3391,14 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
3351
3391
|
* ```
|
|
3352
3392
|
*/
|
|
3353
3393
|
const Radio = {
|
|
3354
|
-
Group: _sfc_main$
|
|
3355
|
-
HiddenInput: _sfc_main$
|
|
3356
|
-
Indicator: _sfc_main$
|
|
3357
|
-
Root: _sfc_main$
|
|
3394
|
+
Group: _sfc_main$52,
|
|
3395
|
+
HiddenInput: _sfc_main$50,
|
|
3396
|
+
Indicator: _sfc_main$49,
|
|
3397
|
+
Root: _sfc_main$51
|
|
3358
3398
|
};
|
|
3359
3399
|
//#endregion
|
|
3360
3400
|
//#region src/components/Scrim/Scrim.vue
|
|
3361
|
-
const _sfc_main$
|
|
3401
|
+
const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
3362
3402
|
name: "Scrim",
|
|
3363
3403
|
inheritAttrs: false,
|
|
3364
3404
|
__name: "Scrim",
|
|
@@ -3396,7 +3436,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
3396
3436
|
to: __props.teleportTo
|
|
3397
3437
|
}, [createVNode(TransitionGroup, { name: __props.transition }, {
|
|
3398
3438
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
|
|
3399
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3439
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
3400
3440
|
key: ticket.id,
|
|
3401
3441
|
as: __props.as,
|
|
3402
3442
|
style: getStyle(ticket)
|
|
@@ -3415,7 +3455,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
3415
3455
|
name: __props.transition
|
|
3416
3456
|
}, {
|
|
3417
3457
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
|
|
3418
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3458
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
3419
3459
|
key: ticket.id,
|
|
3420
3460
|
as: __props.as,
|
|
3421
3461
|
style: getStyle(ticket)
|
|
@@ -3452,7 +3492,7 @@ const visuallyHiddenStyle$1 = {
|
|
|
3452
3492
|
whiteSpace: "nowrap",
|
|
3453
3493
|
border: "0"
|
|
3454
3494
|
};
|
|
3455
|
-
const _sfc_main$
|
|
3495
|
+
const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
3456
3496
|
name: "SelectHiddenInput",
|
|
3457
3497
|
__name: "SelectHiddenInput",
|
|
3458
3498
|
props: { namespace: { default: "v0:select" } },
|
|
@@ -3486,7 +3526,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
3486
3526
|
//#endregion
|
|
3487
3527
|
//#region src/components/Select/SelectRoot.vue
|
|
3488
3528
|
const [useSelectContext, provideSelectContext] = createContext();
|
|
3489
|
-
const _sfc_main$
|
|
3529
|
+
const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
3490
3530
|
name: "SelectRoot",
|
|
3491
3531
|
__name: "SelectRoot",
|
|
3492
3532
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3592,19 +3632,19 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
3592
3632
|
toggle
|
|
3593
3633
|
}));
|
|
3594
3634
|
return (_ctx, _cache) => {
|
|
3595
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
3635
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$104), {
|
|
3596
3636
|
as: __props.as,
|
|
3597
3637
|
renderless: ""
|
|
3598
3638
|
}, {
|
|
3599
3639
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3600
3640
|
_: 3
|
|
3601
|
-
}, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
3641
|
+
}, 8, ["as"]), __props.name ? (openBlock(), createBlock(_sfc_main$47, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
3602
3642
|
};
|
|
3603
3643
|
}
|
|
3604
3644
|
});
|
|
3605
3645
|
//#endregion
|
|
3606
3646
|
//#region src/components/Select/SelectActivator.vue
|
|
3607
|
-
const _sfc_main$
|
|
3647
|
+
const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
3608
3648
|
name: "SelectActivator",
|
|
3609
3649
|
__name: "SelectActivator",
|
|
3610
3650
|
props: {
|
|
@@ -3666,7 +3706,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
3666
3706
|
}
|
|
3667
3707
|
}));
|
|
3668
3708
|
return (_ctx, _cache) => {
|
|
3669
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3709
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
3670
3710
|
ref: "activator",
|
|
3671
3711
|
as: __props.as,
|
|
3672
3712
|
style: style.value
|
|
@@ -3682,7 +3722,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
3682
3722
|
});
|
|
3683
3723
|
//#endregion
|
|
3684
3724
|
//#region src/components/Select/SelectContent.vue
|
|
3685
|
-
const _sfc_main$
|
|
3725
|
+
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
3686
3726
|
name: "SelectContent",
|
|
3687
3727
|
__name: "SelectContent",
|
|
3688
3728
|
props: {
|
|
@@ -3705,7 +3745,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
3705
3745
|
}));
|
|
3706
3746
|
const style = toRef(() => context.popover.contentStyles.value);
|
|
3707
3747
|
return (_ctx, _cache) => {
|
|
3708
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3748
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
3709
3749
|
ref_key: "content",
|
|
3710
3750
|
ref: content,
|
|
3711
3751
|
as: __props.as,
|
|
@@ -3719,7 +3759,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
3719
3759
|
});
|
|
3720
3760
|
//#endregion
|
|
3721
3761
|
//#region src/components/Select/SelectCue.vue
|
|
3722
|
-
const _sfc_main$
|
|
3762
|
+
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
3723
3763
|
name: "SelectCue",
|
|
3724
3764
|
__name: "SelectCue",
|
|
3725
3765
|
props: {
|
|
@@ -3737,7 +3777,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
3737
3777
|
}
|
|
3738
3778
|
}));
|
|
3739
3779
|
return (_ctx, _cache) => {
|
|
3740
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3780
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, slotProps.value.attrs), {
|
|
3741
3781
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3742
3782
|
_: 3
|
|
3743
3783
|
}, 16, ["as"]);
|
|
@@ -3746,7 +3786,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
3746
3786
|
});
|
|
3747
3787
|
//#endregion
|
|
3748
3788
|
//#region src/components/Select/SelectItem.vue
|
|
3749
|
-
const _sfc_main$
|
|
3789
|
+
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
3750
3790
|
name: "SelectItem",
|
|
3751
3791
|
__name: "SelectItem",
|
|
3752
3792
|
props: {
|
|
@@ -3792,7 +3832,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
3792
3832
|
}
|
|
3793
3833
|
}));
|
|
3794
3834
|
return (_ctx, _cache) => {
|
|
3795
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3835
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
|
|
3796
3836
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3797
3837
|
_: 3
|
|
3798
3838
|
}, 16, ["as"]);
|
|
@@ -3801,7 +3841,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
3801
3841
|
});
|
|
3802
3842
|
//#endregion
|
|
3803
3843
|
//#region src/components/Select/SelectPlaceholder.vue
|
|
3804
|
-
const _sfc_main$
|
|
3844
|
+
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
3805
3845
|
name: "SelectPlaceholder",
|
|
3806
3846
|
__name: "SelectPlaceholder",
|
|
3807
3847
|
props: {
|
|
@@ -3813,7 +3853,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
3813
3853
|
const context = useSelectContext(__props.namespace);
|
|
3814
3854
|
const hasValue = toRef(() => context.selection.selectedIds.size > 0);
|
|
3815
3855
|
return (_ctx, _cache) => {
|
|
3816
|
-
return !hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3856
|
+
return !hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$104), {
|
|
3817
3857
|
key: 0,
|
|
3818
3858
|
as: __props.as
|
|
3819
3859
|
}, {
|
|
@@ -3825,7 +3865,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
3825
3865
|
});
|
|
3826
3866
|
//#endregion
|
|
3827
3867
|
//#region src/components/Select/SelectValue.vue
|
|
3828
|
-
const _sfc_main$
|
|
3868
|
+
const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
3829
3869
|
name: "SelectValue",
|
|
3830
3870
|
__name: "SelectValue",
|
|
3831
3871
|
props: {
|
|
@@ -3847,7 +3887,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
3847
3887
|
attrs: {}
|
|
3848
3888
|
}));
|
|
3849
3889
|
return (_ctx, _cache) => {
|
|
3850
|
-
return hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3890
|
+
return hasValue.value ? (openBlock(), createBlock(unref(_sfc_main$104), {
|
|
3851
3891
|
key: 0,
|
|
3852
3892
|
as: __props.as
|
|
3853
3893
|
}, {
|
|
@@ -3903,18 +3943,18 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
3903
3943
|
* ```
|
|
3904
3944
|
*/
|
|
3905
3945
|
const Select = {
|
|
3906
|
-
Root: _sfc_main$
|
|
3907
|
-
Activator: _sfc_main$
|
|
3908
|
-
Value: _sfc_main$
|
|
3909
|
-
Content: _sfc_main$
|
|
3910
|
-
Cue: _sfc_main$
|
|
3911
|
-
Item: _sfc_main$
|
|
3912
|
-
Placeholder: _sfc_main$
|
|
3946
|
+
Root: _sfc_main$46,
|
|
3947
|
+
Activator: _sfc_main$45,
|
|
3948
|
+
Value: _sfc_main$40,
|
|
3949
|
+
Content: _sfc_main$44,
|
|
3950
|
+
Cue: _sfc_main$43,
|
|
3951
|
+
Item: _sfc_main$42,
|
|
3952
|
+
Placeholder: _sfc_main$41
|
|
3913
3953
|
};
|
|
3914
3954
|
//#endregion
|
|
3915
3955
|
//#region src/components/Selection/SelectionRoot.vue
|
|
3916
3956
|
const [useSelectionRoot, provideSelectionRoot] = createContext();
|
|
3917
|
-
const _sfc_main$
|
|
3957
|
+
const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
3918
3958
|
name: "SelectionRoot",
|
|
3919
3959
|
__name: "SelectionRoot",
|
|
3920
3960
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3966,7 +4006,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
3966
4006
|
});
|
|
3967
4007
|
//#endregion
|
|
3968
4008
|
//#region src/components/Selection/SelectionItem.vue
|
|
3969
|
-
const _sfc_main$
|
|
4009
|
+
const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
3970
4010
|
name: "SelectionItem",
|
|
3971
4011
|
__name: "SelectionItem",
|
|
3972
4012
|
props: {
|
|
@@ -4016,12 +4056,12 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
4016
4056
|
* @see https://0.vuetifyjs.com/components/selection
|
|
4017
4057
|
*/
|
|
4018
4058
|
const Selection = {
|
|
4019
|
-
Root: _sfc_main$
|
|
4020
|
-
Item: _sfc_main$
|
|
4059
|
+
Root: _sfc_main$39,
|
|
4060
|
+
Item: _sfc_main$38
|
|
4021
4061
|
};
|
|
4022
4062
|
//#endregion
|
|
4023
4063
|
//#region src/components/Snackbar/SnackbarPortal.vue
|
|
4024
|
-
const _sfc_main$
|
|
4064
|
+
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
4025
4065
|
name: "SnackbarPortal",
|
|
4026
4066
|
inheritAttrs: false,
|
|
4027
4067
|
__name: "SnackbarPortal",
|
|
@@ -4042,13 +4082,13 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
4042
4082
|
return __props.teleport ? (openBlock(), createBlock(Teleport, {
|
|
4043
4083
|
key: 0,
|
|
4044
4084
|
to: __props.teleport
|
|
4045
|
-
}, [createVNode(unref(_sfc_main$
|
|
4085
|
+
}, [createVNode(unref(_sfc_main$104), mergeProps({
|
|
4046
4086
|
as: __props.as,
|
|
4047
4087
|
style: styles.value
|
|
4048
4088
|
}, _ctx.$attrs), {
|
|
4049
4089
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
4050
4090
|
_: 3
|
|
4051
|
-
}, 16, ["as", "style"])], 8, ["to"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
4091
|
+
}, 16, ["as", "style"])], 8, ["to"])) : (openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
4052
4092
|
key: 1,
|
|
4053
4093
|
as: __props.as,
|
|
4054
4094
|
style: styles.value
|
|
@@ -4062,7 +4102,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
4062
4102
|
//#endregion
|
|
4063
4103
|
//#region src/components/Snackbar/SnackbarQueue.vue
|
|
4064
4104
|
const [useSnackbarQueueContext, provideSnackbarQueueContext] = createContext({ suffix: "queue" });
|
|
4065
|
-
const _sfc_main$
|
|
4105
|
+
const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
4066
4106
|
name: "SnackbarQueue",
|
|
4067
4107
|
__name: "SnackbarQueue",
|
|
4068
4108
|
props: {
|
|
@@ -4118,7 +4158,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
4118
4158
|
}
|
|
4119
4159
|
}));
|
|
4120
4160
|
return (_ctx, _cache) => {
|
|
4121
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4161
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
4122
4162
|
ref_key: "container",
|
|
4123
4163
|
ref: container
|
|
4124
4164
|
}, slotProps.value.attrs, { as: __props.as }), {
|
|
@@ -4131,7 +4171,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
4131
4171
|
//#endregion
|
|
4132
4172
|
//#region src/components/Snackbar/SnackbarRoot.vue
|
|
4133
4173
|
const [useSnackbarRootContext, provideSnackbarRootContext] = createContext({ suffix: "root" });
|
|
4134
|
-
const _sfc_main$
|
|
4174
|
+
const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
4135
4175
|
name: "SnackbarRoot",
|
|
4136
4176
|
__name: "SnackbarRoot",
|
|
4137
4177
|
props: {
|
|
@@ -4157,7 +4197,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
4157
4197
|
attrs: { role: "status" }
|
|
4158
4198
|
}));
|
|
4159
4199
|
return (_ctx, _cache) => {
|
|
4160
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4200
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, { as: __props.as }), {
|
|
4161
4201
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
4162
4202
|
_: 3
|
|
4163
4203
|
}, 16, ["as"]);
|
|
@@ -4166,7 +4206,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
4166
4206
|
});
|
|
4167
4207
|
//#endregion
|
|
4168
4208
|
//#region src/components/Snackbar/SnackbarContent.vue
|
|
4169
|
-
const _sfc_main$
|
|
4209
|
+
const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
4170
4210
|
name: "SnackbarContent",
|
|
4171
4211
|
__name: "SnackbarContent",
|
|
4172
4212
|
props: {
|
|
@@ -4175,7 +4215,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
4175
4215
|
},
|
|
4176
4216
|
setup(__props) {
|
|
4177
4217
|
return (_ctx, _cache) => {
|
|
4178
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4218
|
+
return openBlock(), createBlock(unref(_sfc_main$104), { as: __props.as }, {
|
|
4179
4219
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
4180
4220
|
_: 3
|
|
4181
4221
|
}, 8, ["as"]);
|
|
@@ -4184,7 +4224,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
4184
4224
|
});
|
|
4185
4225
|
//#endregion
|
|
4186
4226
|
//#region src/components/Snackbar/SnackbarClose.vue
|
|
4187
|
-
const _sfc_main$
|
|
4227
|
+
const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
4188
4228
|
name: "SnackbarClose",
|
|
4189
4229
|
__name: "SnackbarClose",
|
|
4190
4230
|
props: {
|
|
@@ -4203,7 +4243,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
4203
4243
|
"onClick": onClick
|
|
4204
4244
|
} }));
|
|
4205
4245
|
return (_ctx, _cache) => {
|
|
4206
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4246
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, { as: __props.as }), {
|
|
4207
4247
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
4208
4248
|
_: 3
|
|
4209
4249
|
}, 16, ["as"]);
|
|
@@ -4238,16 +4278,16 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
4238
4278
|
* ```
|
|
4239
4279
|
*/
|
|
4240
4280
|
const Snackbar = {
|
|
4241
|
-
Portal: _sfc_main$
|
|
4242
|
-
Queue: _sfc_main$
|
|
4243
|
-
Root: _sfc_main$
|
|
4244
|
-
Content: _sfc_main$
|
|
4245
|
-
Close: _sfc_main$
|
|
4281
|
+
Portal: _sfc_main$37,
|
|
4282
|
+
Queue: _sfc_main$36,
|
|
4283
|
+
Root: _sfc_main$35,
|
|
4284
|
+
Content: _sfc_main$34,
|
|
4285
|
+
Close: _sfc_main$33
|
|
4246
4286
|
};
|
|
4247
4287
|
//#endregion
|
|
4248
4288
|
//#region src/components/Slider/SliderRoot.vue
|
|
4249
4289
|
const [useSliderRoot, provideSliderRoot] = createContext();
|
|
4250
|
-
const _sfc_main$
|
|
4290
|
+
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
4251
4291
|
name: "SliderRoot",
|
|
4252
4292
|
inheritAttrs: false,
|
|
4253
4293
|
__name: "SliderRoot",
|
|
@@ -4369,7 +4409,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
4369
4409
|
}
|
|
4370
4410
|
}));
|
|
4371
4411
|
return (_ctx, _cache) => {
|
|
4372
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
4412
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$104), mergeProps({
|
|
4373
4413
|
...unref(attrs),
|
|
4374
4414
|
...slotProps.value.attrs
|
|
4375
4415
|
}, {
|
|
@@ -4379,7 +4419,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
4379
4419
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
4380
4420
|
_: 3
|
|
4381
4421
|
}, 16, ["as", "renderless"]), __props.name ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(slider).values.value, (_, index) => {
|
|
4382
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4422
|
+
return openBlock(), createBlock(_sfc_main$31, {
|
|
4383
4423
|
key: index,
|
|
4384
4424
|
index
|
|
4385
4425
|
}, null, 8, ["index"]);
|
|
@@ -4395,7 +4435,7 @@ const _hoisted_1$1 = [
|
|
|
4395
4435
|
"name",
|
|
4396
4436
|
"value"
|
|
4397
4437
|
];
|
|
4398
|
-
const _sfc_main$
|
|
4438
|
+
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
4399
4439
|
name: "SliderHiddenInput",
|
|
4400
4440
|
__name: "SliderHiddenInput",
|
|
4401
4441
|
props: {
|
|
@@ -4420,7 +4460,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
4420
4460
|
});
|
|
4421
4461
|
//#endregion
|
|
4422
4462
|
//#region src/components/Slider/SliderRange.vue
|
|
4423
|
-
const _sfc_main$
|
|
4463
|
+
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
4424
4464
|
name: "SliderRange",
|
|
4425
4465
|
inheritAttrs: false,
|
|
4426
4466
|
__name: "SliderRange",
|
|
@@ -4461,7 +4501,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
4461
4501
|
}
|
|
4462
4502
|
}));
|
|
4463
4503
|
return (_ctx, _cache) => {
|
|
4464
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4504
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
4465
4505
|
...unref(attrs),
|
|
4466
4506
|
...slotProps.value.attrs
|
|
4467
4507
|
}, {
|
|
@@ -4481,7 +4521,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
4481
4521
|
});
|
|
4482
4522
|
//#endregion
|
|
4483
4523
|
//#region src/components/Slider/SliderThumb.vue
|
|
4484
|
-
const _sfc_main$
|
|
4524
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
4485
4525
|
name: "SliderThumb",
|
|
4486
4526
|
inheritAttrs: false,
|
|
4487
4527
|
__name: "SliderThumb",
|
|
@@ -4575,7 +4615,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
4575
4615
|
}
|
|
4576
4616
|
}));
|
|
4577
4617
|
return (_ctx, _cache) => {
|
|
4578
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4618
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ ref: "thumb" }, {
|
|
4579
4619
|
...unref(attrs),
|
|
4580
4620
|
...slotProps.value.attrs
|
|
4581
4621
|
}, {
|
|
@@ -4595,7 +4635,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
4595
4635
|
});
|
|
4596
4636
|
//#endregion
|
|
4597
4637
|
//#region src/components/Slider/SliderTrack.vue
|
|
4598
|
-
const _sfc_main$
|
|
4638
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
4599
4639
|
name: "SliderTrack",
|
|
4600
4640
|
inheritAttrs: false,
|
|
4601
4641
|
__name: "SliderTrack",
|
|
@@ -4644,7 +4684,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
4644
4684
|
"onPointerdown": onPointerdown
|
|
4645
4685
|
} }));
|
|
4646
4686
|
return (_ctx, _cache) => {
|
|
4647
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4687
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ ref: "track" }, {
|
|
4648
4688
|
...unref(attrs),
|
|
4649
4689
|
...slotProps.value.attrs
|
|
4650
4690
|
}, {
|
|
@@ -4689,16 +4729,16 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
4689
4729
|
* ```
|
|
4690
4730
|
*/
|
|
4691
4731
|
const Slider = {
|
|
4692
|
-
Root: _sfc_main$
|
|
4693
|
-
Track: _sfc_main$
|
|
4694
|
-
Range: _sfc_main$
|
|
4695
|
-
Thumb: _sfc_main$
|
|
4696
|
-
HiddenInput: _sfc_main$
|
|
4732
|
+
Root: _sfc_main$32,
|
|
4733
|
+
Track: _sfc_main$28,
|
|
4734
|
+
Range: _sfc_main$30,
|
|
4735
|
+
Thumb: _sfc_main$29,
|
|
4736
|
+
HiddenInput: _sfc_main$31
|
|
4697
4737
|
};
|
|
4698
4738
|
//#endregion
|
|
4699
4739
|
//#region src/components/Splitter/SplitterRoot.vue
|
|
4700
4740
|
const [useSplitterRoot, provideSplitterRoot] = createContext("v0:splitter");
|
|
4701
|
-
const _sfc_main$
|
|
4741
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
4702
4742
|
name: "SplitterRoot",
|
|
4703
4743
|
inheritAttrs: false,
|
|
4704
4744
|
__name: "SplitterRoot",
|
|
@@ -4719,6 +4759,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
4719
4759
|
const rootEl = toRef(() => rootAtom.value?.element ?? null);
|
|
4720
4760
|
const draggingHandle = shallowRef(null);
|
|
4721
4761
|
const dragging = toRef(() => !/* @__PURE__ */ isNull(draggingHandle.value));
|
|
4762
|
+
const expandAccum = /* @__PURE__ */ new Map();
|
|
4763
|
+
const EXPAND_THRESHOLD = 5;
|
|
4722
4764
|
const panels = createSelection({
|
|
4723
4765
|
multiple: true,
|
|
4724
4766
|
enroll: true,
|
|
@@ -4748,15 +4790,38 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
4748
4790
|
const min2 = effectiveMin(after);
|
|
4749
4791
|
const lower = Math.max(min1, total - after.maxSize);
|
|
4750
4792
|
const upper = Math.min(before.maxSize, total - min2);
|
|
4751
|
-
|
|
4793
|
+
let size = /* @__PURE__ */ clamp(before.size + delta, lower, upper);
|
|
4794
|
+
const beforeCollapsed = !toValue(before.isSelected);
|
|
4795
|
+
if (before.collapsible && !beforeCollapsed && size <= before.minSize && delta < 0) {
|
|
4796
|
+
size = before.collapsedSize;
|
|
4797
|
+
before.unselect();
|
|
4798
|
+
expandAccum.set(before.id, 0);
|
|
4799
|
+
} else if (before.collapsible && beforeCollapsed && delta > 0) {
|
|
4800
|
+
const accum = (expandAccum.get(before.id) ?? 0) + delta;
|
|
4801
|
+
expandAccum.set(before.id, accum);
|
|
4802
|
+
if (accum >= EXPAND_THRESHOLD) {
|
|
4803
|
+
size = /* @__PURE__ */ clamp(Math.max(accum, before.minSize), before.minSize, before.maxSize);
|
|
4804
|
+
before.select();
|
|
4805
|
+
expandAccum.delete(before.id);
|
|
4806
|
+
} else size = before.collapsedSize;
|
|
4807
|
+
}
|
|
4808
|
+
const afterSize = total - size;
|
|
4809
|
+
const afterCollapsed = !toValue(after.isSelected);
|
|
4810
|
+
if (after.collapsible && !afterCollapsed && afterSize <= after.minSize && delta > 0) {
|
|
4811
|
+
size = total - after.collapsedSize;
|
|
4812
|
+
after.unselect();
|
|
4813
|
+
expandAccum.set(after.id, 0);
|
|
4814
|
+
} else if (after.collapsible && afterCollapsed && delta < 0) {
|
|
4815
|
+
const accum = (expandAccum.get(after.id) ?? 0) + Math.abs(delta);
|
|
4816
|
+
expandAccum.set(after.id, accum);
|
|
4817
|
+
if (accum >= EXPAND_THRESHOLD) {
|
|
4818
|
+
size = total - /* @__PURE__ */ clamp(Math.max(accum, after.minSize), after.minSize, after.maxSize);
|
|
4819
|
+
after.select();
|
|
4820
|
+
expandAccum.delete(after.id);
|
|
4821
|
+
} else size = total - after.collapsedSize;
|
|
4822
|
+
}
|
|
4752
4823
|
before.size = size;
|
|
4753
4824
|
after.size = total - size;
|
|
4754
|
-
for (const p of [before, after]) {
|
|
4755
|
-
if (!p.collapsible) continue;
|
|
4756
|
-
const collapsed = !toValue(p.isSelected);
|
|
4757
|
-
if (!collapsed && p.size <= p.collapsedSize) p.unselect();
|
|
4758
|
-
else if (collapsed && p.size > p.collapsedSize) p.select();
|
|
4759
|
-
}
|
|
4760
4825
|
if (options?.emit) emitLayout();
|
|
4761
4826
|
}
|
|
4762
4827
|
function collapse(index, neighborIndex) {
|
|
@@ -4823,6 +4888,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
4823
4888
|
}
|
|
4824
4889
|
function onEndDrag() {
|
|
4825
4890
|
draggingHandle.value = null;
|
|
4891
|
+
expandAccum.clear();
|
|
4826
4892
|
emitLayout();
|
|
4827
4893
|
}
|
|
4828
4894
|
function emitLayout() {
|
|
@@ -4857,7 +4923,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
4857
4923
|
}
|
|
4858
4924
|
}));
|
|
4859
4925
|
return (_ctx, _cache) => {
|
|
4860
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4926
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ ref: "root" }, {
|
|
4861
4927
|
...unref(attrs),
|
|
4862
4928
|
...slotProps.value.attrs
|
|
4863
4929
|
}, {
|
|
@@ -4884,7 +4950,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
4884
4950
|
});
|
|
4885
4951
|
//#endregion
|
|
4886
4952
|
//#region src/components/Splitter/SplitterPanel.vue
|
|
4887
|
-
const _sfc_main$
|
|
4953
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
4888
4954
|
name: "SplitterPanel",
|
|
4889
4955
|
inheritAttrs: false,
|
|
4890
4956
|
__name: "SplitterPanel",
|
|
@@ -4913,18 +4979,29 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
4913
4979
|
const emit = __emit;
|
|
4914
4980
|
const splitter = useSplitterRoot();
|
|
4915
4981
|
const panelId = /* @__PURE__ */ useId$1();
|
|
4982
|
+
const rootSize = shallowRef(0);
|
|
4983
|
+
if (/* @__PURE__ */ isString(__props.maxSize)) useResizeObserver(splitter.rootEl, (entries) => {
|
|
4984
|
+
const rect = entries[0]?.contentRect;
|
|
4985
|
+
rootSize.value = splitter.orientation.value === "horizontal" ? rect?.width ?? 0 : rect?.height ?? 0;
|
|
4986
|
+
});
|
|
4987
|
+
function resolveMaxSize() {
|
|
4988
|
+
if (!/* @__PURE__ */ isString(__props.maxSize)) return __props.maxSize;
|
|
4989
|
+
const px = Number.parseFloat(__props.maxSize);
|
|
4990
|
+
const dimension = rootSize.value || (splitter.orientation.value === "horizontal" ? splitter.rootEl.value?.offsetWidth : splitter.rootEl.value?.offsetHeight) || 0;
|
|
4991
|
+
return dimension > 0 ? px / dimension * 100 : 100;
|
|
4992
|
+
}
|
|
4916
4993
|
const ticket = splitter.panels.register({
|
|
4917
4994
|
id: panelId,
|
|
4918
4995
|
size: __props.defaultSize,
|
|
4919
4996
|
minSize: __props.minSize,
|
|
4920
|
-
maxSize:
|
|
4997
|
+
maxSize: resolveMaxSize(),
|
|
4921
4998
|
collapsible: __props.collapsible,
|
|
4922
4999
|
collapsedSize: __props.collapsedSize,
|
|
4923
5000
|
defaultSize: __props.defaultSize
|
|
4924
5001
|
});
|
|
4925
5002
|
watchEffect(() => {
|
|
4926
5003
|
ticket.minSize = __props.minSize;
|
|
4927
|
-
ticket.maxSize =
|
|
5004
|
+
ticket.maxSize = resolveMaxSize();
|
|
4928
5005
|
ticket.collapsible = __props.collapsible;
|
|
4929
5006
|
ticket.collapsedSize = __props.collapsedSize;
|
|
4930
5007
|
ticket.defaultSize = __props.defaultSize;
|
|
@@ -4972,7 +5049,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
4972
5049
|
}
|
|
4973
5050
|
}));
|
|
4974
5051
|
return (_ctx, _cache) => {
|
|
4975
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5052
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
4976
5053
|
...unref(attrs),
|
|
4977
5054
|
...slotProps.value.attrs
|
|
4978
5055
|
}, {
|
|
@@ -5001,7 +5078,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
5001
5078
|
});
|
|
5002
5079
|
//#endregion
|
|
5003
5080
|
//#region src/components/Splitter/SplitterHandle.vue
|
|
5004
|
-
const _sfc_main$
|
|
5081
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
5005
5082
|
name: "SplitterHandle",
|
|
5006
5083
|
inheritAttrs: false,
|
|
5007
5084
|
__name: "SplitterHandle",
|
|
@@ -5173,7 +5250,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5173
5250
|
}
|
|
5174
5251
|
}));
|
|
5175
5252
|
return (_ctx, _cache) => {
|
|
5176
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5253
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
5177
5254
|
...unref(attrs),
|
|
5178
5255
|
...slotProps.value.attrs
|
|
5179
5256
|
}, {
|
|
@@ -5224,14 +5301,14 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5224
5301
|
* ```
|
|
5225
5302
|
*/
|
|
5226
5303
|
const Splitter = {
|
|
5227
|
-
Root: _sfc_main$
|
|
5228
|
-
Panel: _sfc_main$
|
|
5229
|
-
Handle: _sfc_main$
|
|
5304
|
+
Root: _sfc_main$27,
|
|
5305
|
+
Panel: _sfc_main$26,
|
|
5306
|
+
Handle: _sfc_main$25
|
|
5230
5307
|
};
|
|
5231
5308
|
//#endregion
|
|
5232
5309
|
//#region src/components/Switch/SwitchGroup.vue
|
|
5233
5310
|
const [useSwitchGroup, provideSwitchGroup] = createContext();
|
|
5234
|
-
const _sfc_main$
|
|
5311
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
5235
5312
|
name: "SwitchGroup",
|
|
5236
5313
|
__name: "SwitchGroup",
|
|
5237
5314
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5287,7 +5364,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
5287
5364
|
}
|
|
5288
5365
|
}));
|
|
5289
5366
|
return (_ctx, _cache) => {
|
|
5290
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5367
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
5291
5368
|
as: __props.as,
|
|
5292
5369
|
renderless: __props.renderless
|
|
5293
5370
|
}), {
|
|
@@ -5300,7 +5377,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
5300
5377
|
//#endregion
|
|
5301
5378
|
//#region src/components/Switch/SwitchRoot.vue
|
|
5302
5379
|
const [useSwitchRoot, provideSwitchRoot] = createContext();
|
|
5303
|
-
const _sfc_main$
|
|
5380
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
5304
5381
|
name: "SwitchRoot",
|
|
5305
5382
|
inheritAttrs: false,
|
|
5306
5383
|
__name: "SwitchRoot",
|
|
@@ -5419,7 +5496,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
5419
5496
|
}
|
|
5420
5497
|
}));
|
|
5421
5498
|
return (_ctx, _cache) => {
|
|
5422
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$
|
|
5499
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$104), mergeProps({
|
|
5423
5500
|
...unref(attrs),
|
|
5424
5501
|
...slotProps.value.attrs
|
|
5425
5502
|
}, {
|
|
@@ -5430,7 +5507,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
5430
5507
|
}), {
|
|
5431
5508
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
5432
5509
|
_: 3
|
|
5433
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$
|
|
5510
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$22, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
5434
5511
|
};
|
|
5435
5512
|
}
|
|
5436
5513
|
});
|
|
@@ -5454,7 +5531,7 @@ const visuallyHiddenStyle = {
|
|
|
5454
5531
|
whiteSpace: "nowrap",
|
|
5455
5532
|
border: "0"
|
|
5456
5533
|
};
|
|
5457
|
-
const _sfc_main$
|
|
5534
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
5458
5535
|
name: "SwitchHiddenInput",
|
|
5459
5536
|
__name: "SwitchHiddenInput",
|
|
5460
5537
|
props: {
|
|
@@ -5492,7 +5569,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
5492
5569
|
});
|
|
5493
5570
|
//#endregion
|
|
5494
5571
|
//#region src/components/Switch/SwitchSelectAll.vue
|
|
5495
|
-
const _sfc_main$
|
|
5572
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
5496
5573
|
name: "SwitchSelectAll",
|
|
5497
5574
|
inheritAttrs: false,
|
|
5498
5575
|
__name: "SwitchSelectAll",
|
|
@@ -5563,7 +5640,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
5563
5640
|
}
|
|
5564
5641
|
}));
|
|
5565
5642
|
return (_ctx, _cache) => {
|
|
5566
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5643
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
5567
5644
|
...unref(attrs),
|
|
5568
5645
|
...slotProps.value.attrs
|
|
5569
5646
|
}, {
|
|
@@ -5580,7 +5657,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
5580
5657
|
});
|
|
5581
5658
|
//#endregion
|
|
5582
5659
|
//#region src/components/Switch/SwitchThumb.vue
|
|
5583
|
-
const _sfc_main$
|
|
5660
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
5584
5661
|
name: "SwitchThumb",
|
|
5585
5662
|
__name: "SwitchThumb",
|
|
5586
5663
|
props: {
|
|
@@ -5603,7 +5680,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
5603
5680
|
}
|
|
5604
5681
|
}));
|
|
5605
5682
|
return (_ctx, _cache) => {
|
|
5606
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5683
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
5607
5684
|
as: __props.as,
|
|
5608
5685
|
renderless: __props.renderless
|
|
5609
5686
|
}), {
|
|
@@ -5615,7 +5692,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
5615
5692
|
});
|
|
5616
5693
|
//#endregion
|
|
5617
5694
|
//#region src/components/Switch/SwitchTrack.vue
|
|
5618
|
-
const _sfc_main$
|
|
5695
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
5619
5696
|
name: "SwitchTrack",
|
|
5620
5697
|
__name: "SwitchTrack",
|
|
5621
5698
|
props: {
|
|
@@ -5634,7 +5711,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
5634
5711
|
attrs: { "data-state": dataState.value }
|
|
5635
5712
|
}));
|
|
5636
5713
|
return (_ctx, _cache) => {
|
|
5637
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5714
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
5638
5715
|
as: __props.as,
|
|
5639
5716
|
dir: "ltr",
|
|
5640
5717
|
renderless: __props.renderless
|
|
@@ -5674,17 +5751,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
5674
5751
|
* ```
|
|
5675
5752
|
*/
|
|
5676
5753
|
const Switch = {
|
|
5677
|
-
Group: _sfc_main$
|
|
5678
|
-
HiddenInput: _sfc_main$
|
|
5679
|
-
Root: _sfc_main$
|
|
5680
|
-
SelectAll: _sfc_main$
|
|
5681
|
-
Thumb: _sfc_main$
|
|
5682
|
-
Track: _sfc_main$
|
|
5754
|
+
Group: _sfc_main$24,
|
|
5755
|
+
HiddenInput: _sfc_main$22,
|
|
5756
|
+
Root: _sfc_main$23,
|
|
5757
|
+
SelectAll: _sfc_main$21,
|
|
5758
|
+
Thumb: _sfc_main$20,
|
|
5759
|
+
Track: _sfc_main$19
|
|
5683
5760
|
};
|
|
5684
5761
|
//#endregion
|
|
5685
5762
|
//#region src/components/Single/SingleRoot.vue
|
|
5686
5763
|
const [useSingleRoot, provideSingleRoot] = createContext();
|
|
5687
|
-
const _sfc_main$
|
|
5764
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
5688
5765
|
name: "SingleRoot",
|
|
5689
5766
|
__name: "SingleRoot",
|
|
5690
5767
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5730,7 +5807,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
5730
5807
|
});
|
|
5731
5808
|
//#endregion
|
|
5732
5809
|
//#region src/components/Single/SingleItem.vue
|
|
5733
|
-
const _sfc_main$
|
|
5810
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
5734
5811
|
name: "SingleItem",
|
|
5735
5812
|
__name: "SingleItem",
|
|
5736
5813
|
props: {
|
|
@@ -5780,13 +5857,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5780
5857
|
* @see https://0.vuetifyjs.com/components/single
|
|
5781
5858
|
*/
|
|
5782
5859
|
const Single = {
|
|
5783
|
-
Root: _sfc_main$
|
|
5784
|
-
Item: _sfc_main$
|
|
5860
|
+
Root: _sfc_main$18,
|
|
5861
|
+
Item: _sfc_main$17
|
|
5785
5862
|
};
|
|
5786
5863
|
//#endregion
|
|
5787
5864
|
//#region src/components/Step/StepRoot.vue
|
|
5788
5865
|
const [useStepRoot, provideStepRoot] = createContext();
|
|
5789
|
-
const _sfc_main$
|
|
5866
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
5790
5867
|
name: "StepRoot",
|
|
5791
5868
|
__name: "StepRoot",
|
|
5792
5869
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5837,7 +5914,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5837
5914
|
});
|
|
5838
5915
|
//#endregion
|
|
5839
5916
|
//#region src/components/Step/StepItem.vue
|
|
5840
|
-
const _sfc_main$
|
|
5917
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
5841
5918
|
name: "StepItem",
|
|
5842
5919
|
__name: "StepItem",
|
|
5843
5920
|
props: {
|
|
@@ -5887,13 +5964,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
5887
5964
|
* @see https://0.vuetifyjs.com/components/step
|
|
5888
5965
|
*/
|
|
5889
5966
|
const Step = {
|
|
5890
|
-
Root: _sfc_main$
|
|
5891
|
-
Item: _sfc_main$
|
|
5967
|
+
Root: _sfc_main$16,
|
|
5968
|
+
Item: _sfc_main$15
|
|
5892
5969
|
};
|
|
5893
5970
|
//#endregion
|
|
5894
5971
|
//#region src/components/Tabs/TabsRoot.vue
|
|
5895
5972
|
const [useTabsRoot, provideTabsRoot] = createContext();
|
|
5896
|
-
const _sfc_main$
|
|
5973
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
5897
5974
|
name: "TabsRoot",
|
|
5898
5975
|
__name: "TabsRoot",
|
|
5899
5976
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5961,7 +6038,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
5961
6038
|
});
|
|
5962
6039
|
//#endregion
|
|
5963
6040
|
//#region src/components/Tabs/TabsList.vue
|
|
5964
|
-
const _sfc_main$
|
|
6041
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
5965
6042
|
name: "TabsList",
|
|
5966
6043
|
inheritAttrs: false,
|
|
5967
6044
|
__name: "TabsList",
|
|
@@ -5987,7 +6064,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
5987
6064
|
}
|
|
5988
6065
|
}));
|
|
5989
6066
|
return (_ctx, _cache) => {
|
|
5990
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6067
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
5991
6068
|
...unref(attrs),
|
|
5992
6069
|
...slotProps.value.attrs
|
|
5993
6070
|
}, {
|
|
@@ -6002,7 +6079,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6002
6079
|
});
|
|
6003
6080
|
//#endregion
|
|
6004
6081
|
//#region src/components/Tabs/TabsItem.vue
|
|
6005
|
-
const _sfc_main$
|
|
6082
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
6006
6083
|
name: "TabsItem",
|
|
6007
6084
|
inheritAttrs: false,
|
|
6008
6085
|
__name: "TabsItem",
|
|
@@ -6102,7 +6179,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
6102
6179
|
}
|
|
6103
6180
|
}));
|
|
6104
6181
|
return (_ctx, _cache) => {
|
|
6105
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6182
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({ ref: "root" }, {
|
|
6106
6183
|
...unref(attrs),
|
|
6107
6184
|
...slotProps.value.attrs
|
|
6108
6185
|
}, {
|
|
@@ -6117,7 +6194,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
6117
6194
|
});
|
|
6118
6195
|
//#endregion
|
|
6119
6196
|
//#region src/components/Tabs/TabsPanel.vue
|
|
6120
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6197
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
6121
6198
|
name: "TabsPanel",
|
|
6122
6199
|
inheritAttrs: false,
|
|
6123
6200
|
__name: "TabsPanel",
|
|
@@ -6154,7 +6231,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6154
6231
|
}
|
|
6155
6232
|
}));
|
|
6156
6233
|
return (_ctx, _cache) => {
|
|
6157
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6234
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps({
|
|
6158
6235
|
...unref(attrs),
|
|
6159
6236
|
...slotProps.value.attrs
|
|
6160
6237
|
}, {
|
|
@@ -6198,10 +6275,676 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6198
6275
|
* ```
|
|
6199
6276
|
*/
|
|
6200
6277
|
const Tabs = {
|
|
6201
|
-
Root: _sfc_main$
|
|
6202
|
-
List: _sfc_main$
|
|
6203
|
-
Item: _sfc_main$
|
|
6204
|
-
Panel: _sfc_main
|
|
6278
|
+
Root: _sfc_main$14,
|
|
6279
|
+
List: _sfc_main$13,
|
|
6280
|
+
Item: _sfc_main$12,
|
|
6281
|
+
Panel: _sfc_main$11
|
|
6282
|
+
};
|
|
6283
|
+
//#endregion
|
|
6284
|
+
//#region src/components/Theme/Theme.vue
|
|
6285
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
6286
|
+
name: "Theme",
|
|
6287
|
+
inheritAttrs: false,
|
|
6288
|
+
__name: "Theme",
|
|
6289
|
+
props: {
|
|
6290
|
+
theme: {},
|
|
6291
|
+
renderless: {
|
|
6292
|
+
type: Boolean,
|
|
6293
|
+
default: false
|
|
6294
|
+
},
|
|
6295
|
+
as: { default: "div" }
|
|
6296
|
+
},
|
|
6297
|
+
setup(__props) {
|
|
6298
|
+
const parent = useTheme();
|
|
6299
|
+
const selectedId = toRef(() => __props.theme);
|
|
6300
|
+
const selectedItem = toRef(() => parent.get(__props.theme));
|
|
6301
|
+
const isDark = toRef(() => selectedItem.value?.dark ?? false);
|
|
6302
|
+
provideContext("v0:theme", {
|
|
6303
|
+
...parent,
|
|
6304
|
+
selectedId,
|
|
6305
|
+
selectedItem,
|
|
6306
|
+
isDark
|
|
6307
|
+
});
|
|
6308
|
+
const attrs = toRef(() => ({ "data-theme": __props.theme }));
|
|
6309
|
+
return (_ctx, _cache) => {
|
|
6310
|
+
return __props.renderless ? renderSlot(_ctx.$slots, "default", {
|
|
6311
|
+
key: 0,
|
|
6312
|
+
attrs: attrs.value
|
|
6313
|
+
}) : (openBlock(), createBlock(resolveDynamicComponent(__props.as), normalizeProps(mergeProps({ key: 1 }, attrs.value)), {
|
|
6314
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { attrs: attrs.value })]),
|
|
6315
|
+
_: 3
|
|
6316
|
+
}, 16));
|
|
6317
|
+
};
|
|
6318
|
+
}
|
|
6319
|
+
});
|
|
6320
|
+
//#endregion
|
|
6321
|
+
//#region src/components/Treeview/TreeviewRoot.vue
|
|
6322
|
+
const [useTreeviewRoot, provideTreeviewRoot] = createContext();
|
|
6323
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
6324
|
+
name: "TreeviewRoot",
|
|
6325
|
+
__name: "TreeviewRoot",
|
|
6326
|
+
props: /* @__PURE__ */ mergeModels({
|
|
6327
|
+
namespace: { default: "v0:treeview" },
|
|
6328
|
+
disabled: {
|
|
6329
|
+
type: Boolean,
|
|
6330
|
+
default: false
|
|
6331
|
+
},
|
|
6332
|
+
enroll: {
|
|
6333
|
+
type: Boolean,
|
|
6334
|
+
default: false
|
|
6335
|
+
},
|
|
6336
|
+
mandatory: {
|
|
6337
|
+
type: [Boolean, String],
|
|
6338
|
+
default: false
|
|
6339
|
+
},
|
|
6340
|
+
multiple: {
|
|
6341
|
+
type: Boolean,
|
|
6342
|
+
default: true
|
|
6343
|
+
},
|
|
6344
|
+
open: { default: "multiple" },
|
|
6345
|
+
openAll: {
|
|
6346
|
+
type: Boolean,
|
|
6347
|
+
default: false
|
|
6348
|
+
},
|
|
6349
|
+
reveal: {
|
|
6350
|
+
type: Boolean,
|
|
6351
|
+
default: false
|
|
6352
|
+
},
|
|
6353
|
+
selection: { default: "cascade" },
|
|
6354
|
+
active: { default: "single" }
|
|
6355
|
+
}, {
|
|
6356
|
+
"modelValue": {},
|
|
6357
|
+
"modelModifiers": {}
|
|
6358
|
+
}),
|
|
6359
|
+
emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
6360
|
+
setup(__props) {
|
|
6361
|
+
const model = useModel(__props, "modelValue");
|
|
6362
|
+
const nested = createNested({
|
|
6363
|
+
disabled: toRef(() => __props.disabled),
|
|
6364
|
+
enroll: __props.enroll,
|
|
6365
|
+
mandatory: __props.mandatory,
|
|
6366
|
+
multiple: __props.multiple,
|
|
6367
|
+
open: __props.open,
|
|
6368
|
+
openAll: __props.openAll,
|
|
6369
|
+
reveal: __props.reveal,
|
|
6370
|
+
selection: __props.selection,
|
|
6371
|
+
active: __props.active,
|
|
6372
|
+
events: true
|
|
6373
|
+
});
|
|
6374
|
+
useProxyModel(nested, model, { multiple: __props.multiple });
|
|
6375
|
+
provideTreeviewRoot(__props.namespace, nested);
|
|
6376
|
+
const slotProps = toRef(() => ({
|
|
6377
|
+
isDisabled: toValue(nested.disabled),
|
|
6378
|
+
isNoneSelected: nested.isNoneSelected.value,
|
|
6379
|
+
isAllSelected: nested.isAllSelected.value,
|
|
6380
|
+
isMixed: nested.isMixed.value,
|
|
6381
|
+
select: nested.select,
|
|
6382
|
+
unselect: nested.unselect,
|
|
6383
|
+
toggle: nested.toggle,
|
|
6384
|
+
selectAll: nested.selectAll,
|
|
6385
|
+
unselectAll: nested.unselectAll,
|
|
6386
|
+
expandAll: nested.expandAll,
|
|
6387
|
+
collapseAll: nested.collapseAll
|
|
6388
|
+
}));
|
|
6389
|
+
return (_ctx, _cache) => {
|
|
6390
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)));
|
|
6391
|
+
};
|
|
6392
|
+
}
|
|
6393
|
+
});
|
|
6394
|
+
//#endregion
|
|
6395
|
+
//#region src/components/Treeview/TreeviewList.vue
|
|
6396
|
+
const [useTreeviewList, provideTreeviewList] = createContext({ suffix: "list" });
|
|
6397
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
6398
|
+
name: "TreeviewList",
|
|
6399
|
+
__name: "TreeviewList",
|
|
6400
|
+
props: {
|
|
6401
|
+
namespace: { default: "v0:treeview" },
|
|
6402
|
+
multiselectable: { type: Boolean },
|
|
6403
|
+
label: {},
|
|
6404
|
+
as: { default: "ul" },
|
|
6405
|
+
renderless: { type: Boolean }
|
|
6406
|
+
},
|
|
6407
|
+
setup(__props) {
|
|
6408
|
+
const nested = useTreeviewRoot(__props.namespace);
|
|
6409
|
+
const roving = useRovingFocus(() => nested.visibleItems().map((item) => ({
|
|
6410
|
+
id: item.id,
|
|
6411
|
+
el: item.el,
|
|
6412
|
+
disabled: toRef(() => toValue(item.disabled))
|
|
6413
|
+
})), { orientation: "vertical" });
|
|
6414
|
+
provideTreeviewList(__props.namespace, roving);
|
|
6415
|
+
function onFocusin(e) {
|
|
6416
|
+
const target = e.target;
|
|
6417
|
+
if (target.getAttribute("role") !== "treeitem") return;
|
|
6418
|
+
const match = nested.visibleItems().find((item) => toValue(item.el) === target);
|
|
6419
|
+
if (match && roving.focusedId.value !== match.id) roving.focusedId.value = match.id;
|
|
6420
|
+
}
|
|
6421
|
+
function expandable(ticket) {
|
|
6422
|
+
if (!ticket) return false;
|
|
6423
|
+
return (toValue(ticket.el)?.hasAttribute("aria-expanded") ?? false) || !toValue(ticket.isLeaf);
|
|
6424
|
+
}
|
|
6425
|
+
function isRtl(e) {
|
|
6426
|
+
if (!IN_BROWSER) return false;
|
|
6427
|
+
const el = e.currentTarget;
|
|
6428
|
+
return el ? getComputedStyle(el).direction === "rtl" : false;
|
|
6429
|
+
}
|
|
6430
|
+
function openOrChild(ticket) {
|
|
6431
|
+
if (expandable(ticket) && !toValue(ticket.isOpen)) nested.open(ticket.id);
|
|
6432
|
+
else if (toValue(ticket.isOpen)) {
|
|
6433
|
+
const childIds = nested.children.get(ticket.id);
|
|
6434
|
+
if (childIds?.length) roving.focus(childIds[0]);
|
|
6435
|
+
}
|
|
6436
|
+
}
|
|
6437
|
+
function closeOrParent(ticket) {
|
|
6438
|
+
if (toValue(ticket.isOpen) && expandable(ticket)) nested.close(ticket.id);
|
|
6439
|
+
else if (!/* @__PURE__ */ isNullOrUndefined(ticket.parentId)) roving.focus(ticket.parentId);
|
|
6440
|
+
}
|
|
6441
|
+
function onKeydown(e) {
|
|
6442
|
+
const id = roving.focusedId.value;
|
|
6443
|
+
const ticket = /* @__PURE__ */ isNullOrUndefined(id) ? void 0 : nested.get(id);
|
|
6444
|
+
const rtl = isRtl(e);
|
|
6445
|
+
switch (e.key) {
|
|
6446
|
+
case "ArrowUp":
|
|
6447
|
+
e.preventDefault();
|
|
6448
|
+
roving.prev();
|
|
6449
|
+
break;
|
|
6450
|
+
case "ArrowDown":
|
|
6451
|
+
e.preventDefault();
|
|
6452
|
+
roving.next();
|
|
6453
|
+
break;
|
|
6454
|
+
case "ArrowRight":
|
|
6455
|
+
e.preventDefault();
|
|
6456
|
+
if (!ticket) break;
|
|
6457
|
+
if (rtl) closeOrParent(ticket);
|
|
6458
|
+
else openOrChild(ticket);
|
|
6459
|
+
break;
|
|
6460
|
+
case "ArrowLeft":
|
|
6461
|
+
e.preventDefault();
|
|
6462
|
+
if (!ticket) break;
|
|
6463
|
+
if (rtl) openOrChild(ticket);
|
|
6464
|
+
else closeOrParent(ticket);
|
|
6465
|
+
break;
|
|
6466
|
+
case "Home":
|
|
6467
|
+
e.preventDefault();
|
|
6468
|
+
roving.first();
|
|
6469
|
+
break;
|
|
6470
|
+
case "End":
|
|
6471
|
+
e.preventDefault();
|
|
6472
|
+
roving.last();
|
|
6473
|
+
break;
|
|
6474
|
+
case "Enter":
|
|
6475
|
+
e.preventDefault();
|
|
6476
|
+
if (ticket) {
|
|
6477
|
+
if (expandable(ticket)) nested.flip(ticket.id);
|
|
6478
|
+
nested.activate(ticket.id);
|
|
6479
|
+
}
|
|
6480
|
+
break;
|
|
6481
|
+
case " ":
|
|
6482
|
+
e.preventDefault();
|
|
6483
|
+
if (ticket) nested.toggle(ticket.id);
|
|
6484
|
+
break;
|
|
6485
|
+
case "*":
|
|
6486
|
+
e.preventDefault();
|
|
6487
|
+
if (ticket) {
|
|
6488
|
+
const sibs = nested.siblings(ticket.id);
|
|
6489
|
+
for (const sibId of sibs) if (expandable(nested.get(sibId))) nested.open(sibId);
|
|
6490
|
+
}
|
|
6491
|
+
break;
|
|
6492
|
+
}
|
|
6493
|
+
}
|
|
6494
|
+
const slotProps = toRef(() => ({ attrs: {
|
|
6495
|
+
"role": "tree",
|
|
6496
|
+
"aria-multiselectable": __props.multiselectable ?? nested.multiple,
|
|
6497
|
+
"aria-label": __props.label || void 0,
|
|
6498
|
+
onKeydown,
|
|
6499
|
+
onFocusin
|
|
6500
|
+
} }));
|
|
6501
|
+
return (_ctx, _cache) => {
|
|
6502
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6503
|
+
as: __props.as,
|
|
6504
|
+
renderless: __props.renderless
|
|
6505
|
+
}), {
|
|
6506
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6507
|
+
_: 3
|
|
6508
|
+
}, 16, ["as", "renderless"]);
|
|
6509
|
+
};
|
|
6510
|
+
}
|
|
6511
|
+
});
|
|
6512
|
+
//#endregion
|
|
6513
|
+
//#region src/components/Treeview/TreeviewItem.vue
|
|
6514
|
+
const [useTreeviewItem, provideTreeviewItem] = createContext({ suffix: "item" });
|
|
6515
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
6516
|
+
name: "TreeviewItem",
|
|
6517
|
+
__name: "TreeviewItem",
|
|
6518
|
+
props: {
|
|
6519
|
+
id: {},
|
|
6520
|
+
value: {},
|
|
6521
|
+
disabled: {},
|
|
6522
|
+
namespace: { default: "v0:treeview" },
|
|
6523
|
+
as: { default: "li" },
|
|
6524
|
+
renderless: { type: Boolean }
|
|
6525
|
+
},
|
|
6526
|
+
setup(__props) {
|
|
6527
|
+
const nested = useTreeviewRoot(__props.namespace);
|
|
6528
|
+
const rootRef = useTemplateRef("root");
|
|
6529
|
+
const el = toRef(() => rootRef.value?.element ?? void 0);
|
|
6530
|
+
const parentId = useTreeviewItem(__props.namespace, null)?.ticket.id;
|
|
6531
|
+
const ticket = nested.register({
|
|
6532
|
+
id: __props.id,
|
|
6533
|
+
value: __props.value,
|
|
6534
|
+
disabled: __props.disabled,
|
|
6535
|
+
parentId,
|
|
6536
|
+
el
|
|
6537
|
+
});
|
|
6538
|
+
const isDisabled = toRef(() => toValue(ticket.disabled) || toValue(nested.disabled));
|
|
6539
|
+
const hasContent = shallowRef(false);
|
|
6540
|
+
const roving = useTreeviewList(__props.namespace, null);
|
|
6541
|
+
onBeforeUnmount(() => nested.unregister(ticket.id));
|
|
6542
|
+
provideTreeviewItem(__props.namespace, {
|
|
6543
|
+
ticket,
|
|
6544
|
+
isDisabled,
|
|
6545
|
+
hasContent
|
|
6546
|
+
});
|
|
6547
|
+
const slotProps = toRef(() => ({
|
|
6548
|
+
id: ticket.id,
|
|
6549
|
+
value: __props.value,
|
|
6550
|
+
isSelected: toValue(ticket.isSelected),
|
|
6551
|
+
isMixed: toValue(ticket.isMixed),
|
|
6552
|
+
isDisabled: toValue(isDisabled),
|
|
6553
|
+
isOpen: toValue(ticket.isOpen),
|
|
6554
|
+
isActive: toValue(ticket.isActive),
|
|
6555
|
+
isLeaf: toValue(ticket.isLeaf),
|
|
6556
|
+
depth: toValue(ticket.depth),
|
|
6557
|
+
select: ticket.select,
|
|
6558
|
+
unselect: ticket.unselect,
|
|
6559
|
+
toggle: ticket.toggle,
|
|
6560
|
+
flip: ticket.flip,
|
|
6561
|
+
open: ticket.open,
|
|
6562
|
+
close: ticket.close,
|
|
6563
|
+
activate: ticket.activate,
|
|
6564
|
+
deactivate: ticket.deactivate
|
|
6565
|
+
}));
|
|
6566
|
+
return (_ctx, _cache) => {
|
|
6567
|
+
return openBlock(), createBlock(unref(_sfc_main$104), {
|
|
6568
|
+
ref: "root",
|
|
6569
|
+
"aria-disabled": slotProps.value.isDisabled || void 0,
|
|
6570
|
+
"aria-expanded": hasContent.value ? slotProps.value.isOpen : void 0,
|
|
6571
|
+
"aria-level": slotProps.value.depth + 1,
|
|
6572
|
+
"aria-posinset": unref(ticket).position(),
|
|
6573
|
+
"aria-selected": slotProps.value.isSelected,
|
|
6574
|
+
"aria-setsize": unref(ticket).siblings().length,
|
|
6575
|
+
as: __props.as,
|
|
6576
|
+
"data-active": slotProps.value.isActive || void 0,
|
|
6577
|
+
"data-disabled": slotProps.value.isDisabled || void 0,
|
|
6578
|
+
"data-open": slotProps.value.isOpen || void 0,
|
|
6579
|
+
"data-selected": slotProps.value.isSelected || void 0,
|
|
6580
|
+
renderless: __props.renderless,
|
|
6581
|
+
role: "treeitem",
|
|
6582
|
+
style: normalizeStyle({ "--v0-treeview-depth": slotProps.value.depth }),
|
|
6583
|
+
tabindex: unref(roving) ? unref(roving).isTabbable(unref(ticket).id) ? 0 : -1 : void 0
|
|
6584
|
+
}, {
|
|
6585
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6586
|
+
_: 3
|
|
6587
|
+
}, 8, [
|
|
6588
|
+
"aria-disabled",
|
|
6589
|
+
"aria-expanded",
|
|
6590
|
+
"aria-level",
|
|
6591
|
+
"aria-posinset",
|
|
6592
|
+
"aria-selected",
|
|
6593
|
+
"aria-setsize",
|
|
6594
|
+
"as",
|
|
6595
|
+
"data-active",
|
|
6596
|
+
"data-disabled",
|
|
6597
|
+
"data-open",
|
|
6598
|
+
"data-selected",
|
|
6599
|
+
"renderless",
|
|
6600
|
+
"style",
|
|
6601
|
+
"tabindex"
|
|
6602
|
+
]);
|
|
6603
|
+
};
|
|
6604
|
+
}
|
|
6605
|
+
});
|
|
6606
|
+
//#endregion
|
|
6607
|
+
//#region src/components/Treeview/TreeviewActivator.vue
|
|
6608
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
6609
|
+
name: "TreeviewActivator",
|
|
6610
|
+
__name: "TreeviewActivator",
|
|
6611
|
+
props: {
|
|
6612
|
+
namespace: { default: "v0:treeview" },
|
|
6613
|
+
as: { default: "button" },
|
|
6614
|
+
renderless: { type: Boolean }
|
|
6615
|
+
},
|
|
6616
|
+
setup(__props) {
|
|
6617
|
+
const item = useTreeviewItem(__props.namespace);
|
|
6618
|
+
const slotProps = toRef(() => ({
|
|
6619
|
+
isOpen: toValue(item.ticket.isOpen),
|
|
6620
|
+
isLeaf: toValue(item.ticket.isLeaf),
|
|
6621
|
+
isDisabled: item.isDisabled.value,
|
|
6622
|
+
flip: item.ticket.flip,
|
|
6623
|
+
attrs: {
|
|
6624
|
+
"role": __props.as === "button" ? void 0 : "button",
|
|
6625
|
+
"tabindex": -1,
|
|
6626
|
+
"aria-disabled": item.isDisabled.value || void 0,
|
|
6627
|
+
"data-disabled": item.isDisabled.value || void 0,
|
|
6628
|
+
"data-open": toValue(item.ticket.isOpen) || void 0,
|
|
6629
|
+
"disabled": __props.as === "button" ? item.isDisabled.value : void 0,
|
|
6630
|
+
"type": __props.as === "button" ? "button" : void 0,
|
|
6631
|
+
"onClick": item.ticket.flip
|
|
6632
|
+
}
|
|
6633
|
+
}));
|
|
6634
|
+
return (_ctx, _cache) => {
|
|
6635
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6636
|
+
as: __props.as,
|
|
6637
|
+
renderless: __props.renderless
|
|
6638
|
+
}), {
|
|
6639
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6640
|
+
_: 3
|
|
6641
|
+
}, 16, ["as", "renderless"]);
|
|
6642
|
+
};
|
|
6643
|
+
}
|
|
6644
|
+
});
|
|
6645
|
+
//#endregion
|
|
6646
|
+
//#region src/components/Treeview/TreeviewCheckbox.vue
|
|
6647
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
6648
|
+
name: "TreeviewCheckbox",
|
|
6649
|
+
__name: "TreeviewCheckbox",
|
|
6650
|
+
props: {
|
|
6651
|
+
namespace: { default: "v0:treeview" },
|
|
6652
|
+
as: { default: "div" },
|
|
6653
|
+
renderless: { type: Boolean }
|
|
6654
|
+
},
|
|
6655
|
+
setup(__props) {
|
|
6656
|
+
const item = useTreeviewItem(__props.namespace);
|
|
6657
|
+
const slotProps = toRef(() => ({
|
|
6658
|
+
isSelected: toValue(item.ticket.isSelected),
|
|
6659
|
+
isMixed: toValue(item.ticket.isMixed),
|
|
6660
|
+
isDisabled: item.isDisabled.value,
|
|
6661
|
+
toggle: item.ticket.toggle,
|
|
6662
|
+
select: item.ticket.select,
|
|
6663
|
+
unselect: item.ticket.unselect,
|
|
6664
|
+
attrs: {
|
|
6665
|
+
"role": "checkbox",
|
|
6666
|
+
"aria-checked": toValue(item.ticket.isMixed) ? "mixed" : toValue(item.ticket.isSelected),
|
|
6667
|
+
"aria-disabled": item.isDisabled.value || void 0,
|
|
6668
|
+
"tabindex": -1,
|
|
6669
|
+
"data-selected": toValue(item.ticket.isSelected) || void 0,
|
|
6670
|
+
"data-disabled": item.isDisabled.value || void 0,
|
|
6671
|
+
"data-mixed": toValue(item.ticket.isMixed) || void 0,
|
|
6672
|
+
"onClick": item.ticket.toggle
|
|
6673
|
+
}
|
|
6674
|
+
}));
|
|
6675
|
+
return (_ctx, _cache) => {
|
|
6676
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6677
|
+
as: __props.as,
|
|
6678
|
+
renderless: __props.renderless
|
|
6679
|
+
}), {
|
|
6680
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6681
|
+
_: 3
|
|
6682
|
+
}, 16, ["as", "renderless"]);
|
|
6683
|
+
};
|
|
6684
|
+
}
|
|
6685
|
+
});
|
|
6686
|
+
//#endregion
|
|
6687
|
+
//#region src/components/Treeview/TreeviewContent.vue
|
|
6688
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
6689
|
+
name: "TreeviewContent",
|
|
6690
|
+
__name: "TreeviewContent",
|
|
6691
|
+
props: { namespace: { default: "v0:treeview" } },
|
|
6692
|
+
setup(__props) {
|
|
6693
|
+
const item = useTreeviewItem(__props.namespace);
|
|
6694
|
+
item.hasContent.value = true;
|
|
6695
|
+
onDeactivated(() => {
|
|
6696
|
+
item.hasContent.value = false;
|
|
6697
|
+
});
|
|
6698
|
+
onActivated(() => {
|
|
6699
|
+
item.hasContent.value = true;
|
|
6700
|
+
});
|
|
6701
|
+
onBeforeUnmount(() => {
|
|
6702
|
+
item.hasContent.value = false;
|
|
6703
|
+
});
|
|
6704
|
+
return (_ctx, _cache) => {
|
|
6705
|
+
return toValue(unref(item).ticket.isOpen) ? renderSlot(_ctx.$slots, "default", {
|
|
6706
|
+
key: 0,
|
|
6707
|
+
isOpen: toValue(unref(item).ticket.isOpen)
|
|
6708
|
+
}) : createCommentVNode("v-if", true);
|
|
6709
|
+
};
|
|
6710
|
+
}
|
|
6711
|
+
});
|
|
6712
|
+
//#endregion
|
|
6713
|
+
//#region src/components/Treeview/TreeviewCue.vue
|
|
6714
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
6715
|
+
name: "TreeviewCue",
|
|
6716
|
+
__name: "TreeviewCue",
|
|
6717
|
+
props: {
|
|
6718
|
+
namespace: { default: "v0:treeview" },
|
|
6719
|
+
as: { default: "span" },
|
|
6720
|
+
renderless: { type: Boolean }
|
|
6721
|
+
},
|
|
6722
|
+
setup(__props) {
|
|
6723
|
+
const item = useTreeviewItem(__props.namespace);
|
|
6724
|
+
const isOpen = toRef(() => toValue(item.ticket.isOpen));
|
|
6725
|
+
const state = toRef(() => isOpen.value ? "open" : "closed");
|
|
6726
|
+
const slotProps = toRef(() => ({
|
|
6727
|
+
isOpen: isOpen.value,
|
|
6728
|
+
isLeaf: !item.hasContent.value,
|
|
6729
|
+
attrs: {
|
|
6730
|
+
"aria-hidden": true,
|
|
6731
|
+
"data-state": state.value,
|
|
6732
|
+
"style": { visibility: item.hasContent.value ? "visible" : "hidden" }
|
|
6733
|
+
}
|
|
6734
|
+
}));
|
|
6735
|
+
return (_ctx, _cache) => {
|
|
6736
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6737
|
+
as: __props.as,
|
|
6738
|
+
renderless: __props.renderless
|
|
6739
|
+
}), {
|
|
6740
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6741
|
+
_: 3
|
|
6742
|
+
}, 16, ["as", "renderless"]);
|
|
6743
|
+
};
|
|
6744
|
+
}
|
|
6745
|
+
});
|
|
6746
|
+
//#endregion
|
|
6747
|
+
//#region src/components/Treeview/TreeviewGroup.vue
|
|
6748
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6749
|
+
name: "TreeviewGroup",
|
|
6750
|
+
__name: "TreeviewGroup",
|
|
6751
|
+
props: {
|
|
6752
|
+
as: { default: "ul" },
|
|
6753
|
+
renderless: { type: Boolean }
|
|
6754
|
+
},
|
|
6755
|
+
setup(__props) {
|
|
6756
|
+
const slotProps = toRef(() => ({ attrs: { role: "group" } }));
|
|
6757
|
+
return (_ctx, _cache) => {
|
|
6758
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6759
|
+
as: __props.as,
|
|
6760
|
+
renderless: __props.renderless
|
|
6761
|
+
}), {
|
|
6762
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6763
|
+
_: 3
|
|
6764
|
+
}, 16, ["as", "renderless"]);
|
|
6765
|
+
};
|
|
6766
|
+
}
|
|
6767
|
+
});
|
|
6768
|
+
//#endregion
|
|
6769
|
+
//#region src/components/Treeview/TreeviewIndicator.vue
|
|
6770
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6771
|
+
name: "TreeviewIndicator",
|
|
6772
|
+
__name: "TreeviewIndicator",
|
|
6773
|
+
props: {
|
|
6774
|
+
namespace: { default: "v0:treeview" },
|
|
6775
|
+
as: { default: "span" },
|
|
6776
|
+
renderless: { type: Boolean }
|
|
6777
|
+
},
|
|
6778
|
+
setup(__props) {
|
|
6779
|
+
const item = useTreeviewItem(__props.namespace);
|
|
6780
|
+
const isSelected = toRef(() => toValue(item.ticket.isSelected));
|
|
6781
|
+
const isMixed = toRef(() => toValue(item.ticket.isMixed));
|
|
6782
|
+
const isVisible = toRef(() => isSelected.value || isMixed.value);
|
|
6783
|
+
const state = toRef(() => isMixed.value ? "indeterminate" : isSelected.value ? "checked" : "unchecked");
|
|
6784
|
+
const slotProps = toRef(() => ({
|
|
6785
|
+
isSelected: isSelected.value,
|
|
6786
|
+
isMixed: isMixed.value,
|
|
6787
|
+
attrs: {
|
|
6788
|
+
"aria-hidden": true,
|
|
6789
|
+
"data-state": state.value,
|
|
6790
|
+
"style": { visibility: isVisible.value ? "visible" : "hidden" }
|
|
6791
|
+
}
|
|
6792
|
+
}));
|
|
6793
|
+
return (_ctx, _cache) => {
|
|
6794
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6795
|
+
as: __props.as,
|
|
6796
|
+
renderless: __props.renderless
|
|
6797
|
+
}), {
|
|
6798
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6799
|
+
_: 3
|
|
6800
|
+
}, 16, ["as", "renderless"]);
|
|
6801
|
+
};
|
|
6802
|
+
}
|
|
6803
|
+
});
|
|
6804
|
+
//#endregion
|
|
6805
|
+
//#region src/components/Treeview/TreeviewSelectAll.vue
|
|
6806
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6807
|
+
name: "TreeviewSelectAll",
|
|
6808
|
+
__name: "TreeviewSelectAll",
|
|
6809
|
+
props: {
|
|
6810
|
+
label: {},
|
|
6811
|
+
disabled: {
|
|
6812
|
+
type: Boolean,
|
|
6813
|
+
default: false
|
|
6814
|
+
},
|
|
6815
|
+
namespace: { default: "v0:treeview" },
|
|
6816
|
+
as: { default: "div" },
|
|
6817
|
+
renderless: { type: Boolean }
|
|
6818
|
+
},
|
|
6819
|
+
setup(__props) {
|
|
6820
|
+
const nested = useTreeviewRoot(__props.namespace);
|
|
6821
|
+
const isAllSelected = toRef(() => nested.isAllSelected.value);
|
|
6822
|
+
const isMixed = toRef(() => nested.isMixed.value);
|
|
6823
|
+
const isDisabled = toRef(() => __props.disabled || toValue(nested.disabled));
|
|
6824
|
+
const state = toRef(() => isMixed.value ? "indeterminate" : isAllSelected.value ? "checked" : "unchecked");
|
|
6825
|
+
function onClick() {
|
|
6826
|
+
if (isDisabled.value) return;
|
|
6827
|
+
nested.toggleAll();
|
|
6828
|
+
}
|
|
6829
|
+
function onKeydown(e) {
|
|
6830
|
+
if (e.key !== "Enter" && e.key !== " ") return;
|
|
6831
|
+
e.preventDefault();
|
|
6832
|
+
if (isDisabled.value) return;
|
|
6833
|
+
nested.toggleAll();
|
|
6834
|
+
}
|
|
6835
|
+
function noop() {}
|
|
6836
|
+
const empty = [];
|
|
6837
|
+
provideTreeviewItem(__props.namespace, {
|
|
6838
|
+
ticket: {
|
|
6839
|
+
id: "__select-all__",
|
|
6840
|
+
index: -1,
|
|
6841
|
+
value: void 0,
|
|
6842
|
+
valueIsIndex: false,
|
|
6843
|
+
unregister: noop,
|
|
6844
|
+
disabled: isDisabled,
|
|
6845
|
+
isSelected: isAllSelected,
|
|
6846
|
+
select: nested.selectAll,
|
|
6847
|
+
unselect: nested.unselectAll,
|
|
6848
|
+
toggle: nested.toggleAll,
|
|
6849
|
+
isMixed,
|
|
6850
|
+
mix: noop,
|
|
6851
|
+
unmix: noop,
|
|
6852
|
+
el: void 0,
|
|
6853
|
+
parentId: void 0,
|
|
6854
|
+
isOpen: shallowRef(false),
|
|
6855
|
+
isActive: shallowRef(false),
|
|
6856
|
+
isLeaf: shallowRef(true),
|
|
6857
|
+
depth: shallowRef(0),
|
|
6858
|
+
open: noop,
|
|
6859
|
+
close: noop,
|
|
6860
|
+
flip: noop,
|
|
6861
|
+
reveal: noop,
|
|
6862
|
+
activate: noop,
|
|
6863
|
+
deactivate: noop,
|
|
6864
|
+
getPath: () => [],
|
|
6865
|
+
getAncestors: () => [],
|
|
6866
|
+
getDescendants: () => [],
|
|
6867
|
+
isAncestorOf: () => false,
|
|
6868
|
+
hasAncestor: () => false,
|
|
6869
|
+
siblings: () => empty,
|
|
6870
|
+
position: () => 0
|
|
6871
|
+
},
|
|
6872
|
+
isDisabled,
|
|
6873
|
+
hasContent: shallowRef(false)
|
|
6874
|
+
});
|
|
6875
|
+
const slotProps = toRef(() => ({
|
|
6876
|
+
label: __props.label,
|
|
6877
|
+
isAllSelected: isAllSelected.value,
|
|
6878
|
+
isMixed: isMixed.value,
|
|
6879
|
+
isDisabled: isDisabled.value,
|
|
6880
|
+
selectAll: nested.selectAll,
|
|
6881
|
+
unselectAll: nested.unselectAll,
|
|
6882
|
+
toggleAll: nested.toggleAll,
|
|
6883
|
+
attrs: {
|
|
6884
|
+
"role": "checkbox",
|
|
6885
|
+
"aria-checked": isMixed.value ? "mixed" : isAllSelected.value,
|
|
6886
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
6887
|
+
"aria-label": __props.label || void 0,
|
|
6888
|
+
"tabindex": isDisabled.value ? void 0 : 0,
|
|
6889
|
+
"data-state": state.value,
|
|
6890
|
+
"data-disabled": isDisabled.value ? true : void 0,
|
|
6891
|
+
"onClick": onClick,
|
|
6892
|
+
"onKeydown": onKeydown
|
|
6893
|
+
}
|
|
6894
|
+
}));
|
|
6895
|
+
return (_ctx, _cache) => {
|
|
6896
|
+
return openBlock(), createBlock(unref(_sfc_main$104), mergeProps(slotProps.value.attrs, {
|
|
6897
|
+
as: __props.as,
|
|
6898
|
+
renderless: __props.renderless
|
|
6899
|
+
}), {
|
|
6900
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
6901
|
+
_: 3
|
|
6902
|
+
}, 16, ["as", "renderless"]);
|
|
6903
|
+
};
|
|
6904
|
+
}
|
|
6905
|
+
});
|
|
6906
|
+
//#endregion
|
|
6907
|
+
//#region src/components/Treeview/index.ts
|
|
6908
|
+
/**
|
|
6909
|
+
* Treeview component with sub-components for hierarchical data.
|
|
6910
|
+
*
|
|
6911
|
+
* @see https://0.vuetifyjs.com/components/treeview
|
|
6912
|
+
*
|
|
6913
|
+
* @example
|
|
6914
|
+
* ```vue
|
|
6915
|
+
* <script setup lang="ts">
|
|
6916
|
+
* import { Treeview } from '@vuetify/v0'
|
|
6917
|
+
* <\/script>
|
|
6918
|
+
*
|
|
6919
|
+
* <template>
|
|
6920
|
+
* <Treeview.Root>
|
|
6921
|
+
* <Treeview.List>
|
|
6922
|
+
* <Treeview.Item>
|
|
6923
|
+
* <Treeview.Activator>Documents</Treeview.Activator>
|
|
6924
|
+
* <Treeview.Content>
|
|
6925
|
+
* <Treeview.Group>
|
|
6926
|
+
* <Treeview.Item>
|
|
6927
|
+
* <Treeview.Activator>Resume.pdf</Treeview.Activator>
|
|
6928
|
+
* </Treeview.Item>
|
|
6929
|
+
* </Treeview.Group>
|
|
6930
|
+
* </Treeview.Content>
|
|
6931
|
+
* </Treeview.Item>
|
|
6932
|
+
* </Treeview.List>
|
|
6933
|
+
* </Treeview.Root>
|
|
6934
|
+
* </template>
|
|
6935
|
+
* ```
|
|
6936
|
+
*/
|
|
6937
|
+
const Treeview = {
|
|
6938
|
+
Root: _sfc_main$9,
|
|
6939
|
+
List: _sfc_main$8,
|
|
6940
|
+
Item: _sfc_main$7,
|
|
6941
|
+
Activator: _sfc_main$6,
|
|
6942
|
+
Content: _sfc_main$4,
|
|
6943
|
+
Cue: _sfc_main$3,
|
|
6944
|
+
Group: _sfc_main$2,
|
|
6945
|
+
Checkbox: _sfc_main$5,
|
|
6946
|
+
Indicator: _sfc_main$1,
|
|
6947
|
+
SelectAll: _sfc_main
|
|
6205
6948
|
};
|
|
6206
6949
|
//#endregion
|
|
6207
|
-
export {
|
|
6950
|
+
export { Slider as $, _sfc_main$88 as $n, _sfc_main$60 as $t, useStepRoot as A, _sfc_main$76 as An, provideSelectContext as At, _sfc_main$22 as B, provideDialogContext as Bn, provideRadioGroup as Bt, _sfc_main$14 as C, ExpansionPanel as Cn, provideAvatarRoot as Cr, _sfc_main$40 as Ct, _sfc_main$15 as D, _sfc_main$75 as Dn, _sfc_main$44 as Dt, Step as E, _sfc_main$74 as En, _sfc_main$43 as Et, useSingleRoot as F, _sfc_main$78 as Fn, _sfc_main$50 as Ft, provideSwitchGroup as G, _sfc_main$85 as Gn, _sfc_main$55 as Gt, provideSwitchRoot as H, Checkbox as Hn, Popover as Ht, Switch as I, _sfc_main$79 as In, _sfc_main$51 as It, _sfc_main$25 as J, useCheckboxRoot as Jn, Pagination as Jt, useSwitchGroup as K, _sfc_main$86 as Kn, providePopoverContext as Kt, _sfc_main$19 as L, _sfc_main$80 as Ln, provideRadioRoot as Lt, _sfc_main$17 as M, useExpansionPanelRoot as Mn, _sfc_main$48 as Mt, _sfc_main$18 as N, Dialog as Nn, Radio as Nt, _sfc_main$16 as O, provideExpansionPanelItem as On, _sfc_main$45 as Ot, provideSingleRoot as P, _sfc_main$77 as Pn, _sfc_main$49 as Pt, useSplitterRoot as Q, Button as Qn, _sfc_main$59 as Qt, _sfc_main$20 as R, _sfc_main$81 as Rn, useRadioRoot as Rt, _sfc_main$13 as S, _sfc_main$71 as Sn, _sfc_main$103 as Sr, Select as St, useTabsRoot as T, _sfc_main$73 as Tn, _sfc_main$104 as Tr, _sfc_main$42 as Tt, useSwitchRoot as U, _sfc_main$83 as Un, _sfc_main$53 as Ut, _sfc_main$23 as V, useDialogContext as Vn, useRadioGroup as Vt, _sfc_main$24 as W, _sfc_main$84 as Wn, _sfc_main$54 as Wt, _sfc_main$27 as X, provideCheckboxGroup as Xn, _sfc_main$57 as Xt, _sfc_main$26 as Y, _sfc_main$87 as Yn, _sfc_main$56 as Yt, provideSplitterRoot as Z, useCheckboxGroup as Zn, _sfc_main$58 as Zt, useTreeviewRoot as _, Group as _n, provideBreadcrumbsRoot as _r, Selection as _t, _sfc_main$3 as a, providePaginationRoot as an, _sfc_main$92 as ar, provideSliderRoot as at, _sfc_main$11 as b, provideGroupRoot as bn, _sfc_main$101 as br, provideSelectionRoot as bt, _sfc_main$6 as c, usePaginationRoot as cn, useButtonGroup as cr, _sfc_main$33 as ct, useTreeviewItem as d, _sfc_main$65 as dn, _sfc_main$95 as dr, provideSnackbarRootContext as dt, _sfc_main$61 as en, _sfc_main$89 as er, _sfc_main$28 as et, _sfc_main$8 as f, _sfc_main$66 as fn, _sfc_main$96 as fr, useSnackbarRootContext as ft, provideTreeviewRoot as g, useInputRoot as gn, _sfc_main$100 as gr, _sfc_main$37 as gt, _sfc_main$9 as h, provideInputRoot as hn, _sfc_main$99 as hr, useSnackbarQueueContext as ht, _sfc_main$2 as i, providePaginationItems as in, useButtonRoot as ir, _sfc_main$32 as it, Single as j, provideExpansionPanelRoot as jn, useSelectContext as jt, provideStepRoot as k, useExpansionPanelItem as kn, _sfc_main$46 as kt, _sfc_main$7 as l, _sfc_main$64 as ln, Breadcrumbs as lr, _sfc_main$34 as lt, useTreeviewList as m, _sfc_main$68 as mn, _sfc_main$98 as mr, provideSnackbarQueueContext as mt, _sfc_main as n, _sfc_main$63 as nn, _sfc_main$91 as nr, _sfc_main$30 as nt, _sfc_main$4 as o, usePaginationControls as on, _sfc_main$93 as or, useSliderRoot as ot, provideTreeviewList as p, _sfc_main$67 as pn, _sfc_main$97 as pr, _sfc_main$36 as pt, Splitter as q, provideCheckboxRoot as qn, usePopoverContext as qt, _sfc_main$1 as r, providePaginationControls as rn, provideButtonRoot as rr, _sfc_main$31 as rt, _sfc_main$5 as s, usePaginationItems as sn, provideButtonGroup as sr, Snackbar as st, Treeview as t, _sfc_main$62 as tn, _sfc_main$90 as tr, _sfc_main$29 as tt, provideTreeviewItem as u, Input as un, _sfc_main$94 as ur, _sfc_main$35 as ut, _sfc_main$10 as v, _sfc_main$69 as vn, useBreadcrumbsRoot as vr, _sfc_main$38 as vt, provideTabsRoot as w, _sfc_main$72 as wn, useAvatarRoot as wr, _sfc_main$41 as wt, _sfc_main$12 as x, useGroupRoot as xn, _sfc_main$102 as xr, useSelectionRoot as xt, Tabs as y, _sfc_main$70 as yn, Avatar as yr, _sfc_main$39 as yt, _sfc_main$21 as z, _sfc_main$82 as zn, _sfc_main$52 as zt };
|