@vuetify/v0 0.1.5 → 0.1.7
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/README.md +0 -1
- package/dist/{adapter-Cmeg49W9.mjs → adapter-B4zE-hA5.mjs} +10 -15
- package/dist/adapter-CqP9Z4JU.d.mts +1087 -0
- package/dist/{adapter-D2JoR-4d.d.mts → adapter-DIx4Rntl.d.mts} +6 -49
- package/dist/adapters-BjeDmKc6.mjs +1 -0
- package/dist/adapters-Bv5aRv3l.mjs +1 -0
- package/dist/adapters-C66XaKkw.mjs +1 -0
- package/dist/adapters-DkVblyML.mjs +1 -0
- package/dist/adapters-uJLWGQJl.mjs +1 -0
- package/dist/browser/index.js +2251 -826
- package/dist/components/index.d.mts +2 -20
- package/dist/components/index.mjs +34 -39
- package/dist/{components-BbbGkTcN.mjs → components-CACff-Lt.mjs} +1154 -317
- package/dist/composables/index.d.mts +18 -17
- package/dist/composables/index.mjs +34 -37
- package/dist/{consola-DiUk9j3y.d.mts → consola-BVzYzeLH.d.mts} +1 -1
- package/dist/{consola-GBy8XRuL.mjs → consola-Ceox8BWi.mjs} +1 -2
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +3 -5
- package/dist/{createDataTable-cNf6DdHz.mjs → createDataTable-CLI4TALE.mjs} +9 -11
- package/dist/{createGroup-BrZPZudL.mjs → createGroup-Cf6lK9BR.mjs} +7 -9
- package/dist/{createPagination-Wc_vRGNQ.mjs → createPagination-Bu8vE0JW.mjs} +3 -5
- package/dist/{createSelection-BURpoE3p.mjs → createSelection-DvOR2tKk.mjs} +216 -63
- package/dist/{createSingle-BE1vHaZy.mjs → createSingle-Bbcwcq4R.mjs} +3 -5
- package/dist/{createTokens-jwf8-iGn.mjs → createTokens-CMRBDlzN.mjs} +41 -26
- package/dist/{createTrinity-DkwPrPRS.mjs → createTrinity-C_c8eedz.mjs} +10 -13
- package/dist/data-table/adapters/client/index.d.mts +1 -2
- package/dist/data-table/adapters/client/index.mjs +7 -9
- package/dist/data-table/adapters/index.d.mts +4 -4
- package/dist/data-table/adapters/index.mjs +10 -12
- package/dist/data-table/adapters/server/index.d.mts +1 -2
- package/dist/data-table/adapters/server/index.mjs +5 -7
- package/dist/data-table/adapters/virtual/index.d.mts +1 -2
- package/dist/data-table/adapters/virtual/index.mjs +7 -9
- package/dist/data-table/index.d.mts +5 -6
- package/dist/data-table/index.mjs +22 -25
- package/dist/date/index.d.mts +1 -3
- package/dist/date/index.mjs +3932 -3943
- package/dist/features/adapters/flagsmith/index.d.mts +2 -4
- package/dist/features/adapters/flagsmith/index.mjs +2 -3
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -3
- package/dist/features/adapters/launchdarkly/index.mjs +2 -3
- package/dist/features/adapters/posthog/index.d.mts +1 -3
- package/dist/features/adapters/posthog/index.mjs +3 -4
- package/dist/features/index.d.mts +2 -16
- package/dist/features/index.mjs +13 -18
- package/dist/{flagsmith-CHmpPGR7.mjs → flagsmith-CrWUeIhT.mjs} +1 -2
- package/dist/{globals-vN-O052q.mjs → globals-BqRH_jdr.mjs} +2 -3
- package/dist/{htmlElements-d8iBCGpO.mjs → htmlElements-DcYtv0hg.mjs} +7 -10
- package/dist/index-8sflFIN8.d.mts +856 -0
- package/dist/{index-BTMzRHep.d.mts → index-BE848tZ2.d.mts} +938 -889
- package/dist/{index-DRax9EgT.d.mts → index-CKbxWC4t.d.mts} +1358 -542
- package/dist/index-CeNfBYuo.d.mts +46 -0
- package/dist/{index-DdWxDPX3.d.mts → index-CmCMrlt3.d.mts} +3 -3
- package/dist/{index-BFBN5Zl3.d.mts → index-Dor6eAEc.d.mts} +0 -1
- package/dist/{index-UNwEBkQT.d.mts → index-MHkcqY_y.d.mts} +1 -2
- package/dist/{index-BuOz3Rgm.d.mts → index-dJKXAO5D.d.mts} +1 -2
- package/dist/index.d.mts +22 -20
- package/dist/index.mjs +38 -40
- package/dist/json/attributes.json +196 -12
- package/dist/json/importMap.json +40 -0
- package/dist/json/tags.json +86 -0
- package/dist/json/web-types.json +605 -13
- package/dist/{launchdarkly-W8t8ZANX.mjs → launchdarkly-jF2KZGoH.mjs} +1 -2
- package/dist/locale/adapters/index.d.mts +1 -2
- package/dist/locale/adapters/index.mjs +4 -6
- package/dist/locale/adapters/v0/index.d.mts +1 -2
- package/dist/locale/adapters/v0/index.mjs +3 -5
- package/dist/locale/index.d.mts +2 -16
- package/dist/locale/index.mjs +14 -17
- package/dist/logger/adapters/consola/index.d.mts +1 -2
- package/dist/logger/adapters/consola/index.mjs +2 -3
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +6 -8
- package/dist/logger/adapters/pino/index.d.mts +1 -2
- package/dist/logger/adapters/pino/index.mjs +3 -5
- package/dist/logger/adapters/v0/index.d.mts +1 -2
- package/dist/logger/adapters/v0/index.mjs +3 -5
- package/dist/logger/index.d.mts +5 -16
- package/dist/logger/index.mjs +8 -10
- package/dist/{memory-BsZGbGnG.mjs → memory-XCMtkld1.mjs} +1 -2
- package/dist/palettes/ant/generate/index.d.mts +9 -0
- package/dist/palettes/ant/generate/index.mjs +98 -0
- package/dist/palettes/ant/index.d.mts +6 -0
- package/dist/palettes/ant/index.mjs +149 -0
- package/dist/palettes/index.d.mts +12 -0
- package/dist/palettes/index.mjs +1 -0
- package/dist/palettes/leonardo/generate/index.d.mts +10 -0
- package/dist/palettes/leonardo/generate/index.mjs +120 -0
- package/dist/palettes/material/generate/index.d.mts +10 -0
- package/dist/palettes/material/generate/index.mjs +103 -0
- package/dist/palettes/material/index.d.mts +6 -0
- package/dist/palettes/material/index.mjs +173 -0
- package/dist/palettes/md1/index.d.mts +6 -0
- package/dist/palettes/md1/index.mjs +261 -0
- package/dist/palettes/md2/index.d.mts +6 -0
- package/dist/palettes/md2/index.mjs +297 -0
- package/dist/palettes/radix/index.d.mts +6 -0
- package/dist/palettes/radix/index.mjs +439 -0
- package/dist/palettes/tailwind/index.d.mts +6 -0
- package/dist/palettes/tailwind/index.mjs +291 -0
- package/dist/permissions/adapters/index.d.mts +2 -17
- package/dist/permissions/adapters/index.mjs +4 -6
- package/dist/permissions/adapters/v0/index.d.mts +1 -17
- package/dist/permissions/adapters/v0/index.mjs +3 -5
- package/dist/permissions/index.d.mts +1 -16
- package/dist/permissions/index.mjs +12 -15
- package/dist/{pino-DFxkZLiu.mjs → pino-B7tJ3m18.mjs} +2 -4
- package/dist/{pino-p-jDkNQd.d.mts → pino-Bzighnkd.d.mts} +1 -2
- package/dist/{posthog-BOUoZTTf.mjs → posthog-DbPqmaAp.mjs} +2 -4
- package/dist/rules/index.d.mts +2 -0
- package/dist/rules/index.mjs +15 -0
- package/dist/{server-C2R2POGE.mjs → server-CZ6ahbEH.mjs} +2 -4
- package/dist/{server-B-HWxaTQ.d.mts → server-Ch9J86tb.d.mts} +1 -2
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/index.mjs +2 -3
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/adapters/memory/index.mjs +2 -3
- package/dist/storage/index.d.mts +3 -16
- package/dist/storage/index.mjs +33 -37
- package/dist/theme/adapters/index.d.mts +1 -16
- package/dist/theme/adapters/index.mjs +4 -6
- package/dist/theme/adapters/v0/index.d.mts +1 -16
- package/dist/theme/adapters/v0/index.mjs +3 -5
- package/dist/theme/index.d.mts +1 -16
- package/dist/theme/index.mjs +13 -16
- package/dist/{toArray-VIn8vYt3.mjs → toArray-VdROPpy-.mjs} +2 -4
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/{useClickOutside-DIi0kjN5.mjs → useClickOutside-YOGwKo7v.mjs} +603 -287
- package/dist/{useFeatures-6O7EPJUS.mjs → useFeatures-BGDgUrdr.mjs} +5 -8
- package/dist/{useLocale-DHjbekzS.mjs → useLocale-C8I_fNAS.mjs} +7 -9
- package/dist/{useLogger-BXqiUvt2.mjs → useLogger-B70T4SgK.mjs} +13 -16
- package/dist/{usePermissions-DFacFVqO.mjs → usePermissions-afVt2qR7.mjs} +5 -7
- package/dist/useRules-7C92Xzyt.mjs +144 -0
- package/dist/{useTheme-D0_1mjTw.mjs → useTheme-jp2wL2FJ.mjs} +11 -13
- package/dist/utilities/index.d.mts +1 -2
- package/dist/utilities/index.mjs +426 -4
- package/dist/{v0-BNXo1ecc.d.mts → v0-1bfmyZ5_.d.mts} +2 -2
- package/dist/{v0-BOxb3nD1.d.mts → v0-1xxC39wf.d.mts} +1 -2
- package/dist/{v0-BYqmw3qM.mjs → v0-B1QQGE4O.mjs} +2 -5
- package/dist/{v0-DHMoZ7dS.d.mts → v0-CAKa6tzG.d.mts} +1 -1
- package/dist/{v0-Dwufx8ae.mjs → v0-CGlkn5u7.mjs} +3 -6
- package/dist/{v0-CfSj99gF.mjs → v0-CHvU3jQE.mjs} +3 -5
- package/dist/{v0-BPzPP8C5.d.mts → v0-CdUL2eOn.d.mts} +1 -2
- package/dist/{v0-C8DBv9mh.mjs → v0-V-cQsuZD.mjs} +3 -5
- package/dist/{v0-Dc5mcpQs.mjs → v0-YAqbXudL.mjs} +3 -5
- package/dist/{virtual-A4e1yrdn.d.mts → virtual-DwBiFA25.d.mts} +1 -2
- package/dist/{virtual-BoTGK6HT.mjs → virtual-eDNVH1fz.mjs} +3 -5
- package/package.json +39 -11
- package/dist/adapter-DcwxFryd.d.mts +0 -97
- package/dist/adapters-BGJKsBrw.mjs +0 -1
- package/dist/adapters-BQ-Lr3PW.mjs +0 -1
- package/dist/adapters-DEXpW9If.mjs +0 -1
- package/dist/adapters-Q9WaOsJp.mjs +0 -1
- package/dist/adapters-SSDVth5e.mjs +0 -1
- package/dist/constants-B8pMSkcW.mjs +0 -1
- package/dist/utilities-Dx8wzGa5.mjs +0 -429
- /package/dist/{adapter-CJIj5ySf.d.mts → adapter-JTFG3Jn8.d.mts} +0 -0
- /package/dist/{index-Bv1VN_j5.d.mts → index-B5ZDDkXv.d.mts} +0 -0
- /package/dist/{index-BDTbJClL.d.mts → index-NsE5nARK.d.mts} +0 -0
- /package/dist/{memory-DVjquu_v.d.mts → memory-BTtRdnNn.d.mts} +0 -0
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { r as isSelfClosingTag } from "./htmlElements-
|
|
2
|
-
import { t as IN_BROWSER } from "./globals-
|
|
3
|
-
import {
|
|
4
|
-
import { n as createContext } from "./createTrinity-
|
|
5
|
-
import { i as createRegistry } from "./createTokens-
|
|
6
|
-
import { t as createSelection } from "./createSelection-
|
|
7
|
-
import { t as createSingle } from "./createSingle-
|
|
8
|
-
import {
|
|
9
|
-
import { t as createGroup } from "./createGroup-
|
|
10
|
-
import { a as useLocale } from "./useLocale-
|
|
11
|
-
import { t as createPagination } from "./createPagination-
|
|
12
|
-
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onUnmounted, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
13
|
-
|
|
1
|
+
import { r as isSelfClosingTag } from "./htmlElements-DcYtv0hg.mjs";
|
|
2
|
+
import { t as IN_BROWSER } from "./globals-BqRH_jdr.mjs";
|
|
3
|
+
import { clamp, isArray, isNull, isNullOrUndefined, isObject, isString, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
|
|
4
|
+
import { n as createContext } from "./createTrinity-C_c8eedz.mjs";
|
|
5
|
+
import { i as createRegistry } from "./createTokens-CMRBDlzN.mjs";
|
|
6
|
+
import { t as createSelection } from "./createSelection-DvOR2tKk.mjs";
|
|
7
|
+
import { t as createSingle } from "./createSingle-Bbcwcq4R.mjs";
|
|
8
|
+
import { C as useStack, _ as createStep, c as useToggleScope, n as useDocumentEventListener, ot as useProxyModel, st as createOverflow, t as useClickOutside, vt as createBreadcrumbs, w as createSlider } from "./useClickOutside-YOGwKo7v.mjs";
|
|
9
|
+
import { t as createGroup } from "./createGroup-Cf6lK9BR.mjs";
|
|
10
|
+
import { a as useLocale } from "./useLocale-C8I_fNAS.mjs";
|
|
11
|
+
import { t as createPagination } from "./createPagination-Bu8vE0JW.mjs";
|
|
12
|
+
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
14
13
|
//#region src/components/Atom/Atom.vue
|
|
15
14
|
/**
|
|
16
15
|
* @module Atom
|
|
@@ -33,7 +32,7 @@ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createComme
|
|
|
33
32
|
* serving as the foundation for all other components that need polymorphic
|
|
34
33
|
* rendering capabilities.
|
|
35
34
|
*/
|
|
36
|
-
const _sfc_main$
|
|
35
|
+
const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
37
36
|
name: "Atom",
|
|
38
37
|
__name: "Atom",
|
|
39
38
|
props: {
|
|
@@ -64,12 +63,10 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
});
|
|
67
|
-
var Atom_default = _sfc_main$60;
|
|
68
|
-
|
|
69
66
|
//#endregion
|
|
70
67
|
//#region src/components/Avatar/AvatarRoot.vue
|
|
71
68
|
const [useAvatarRoot, provideAvatarRoot] = createContext();
|
|
72
|
-
const _sfc_main$
|
|
69
|
+
const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
73
70
|
name: "AvatarRoot",
|
|
74
71
|
__name: "AvatarRoot",
|
|
75
72
|
props: {
|
|
@@ -84,7 +81,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
84
81
|
});
|
|
85
82
|
provideAvatarRoot(__props.namespace, selection);
|
|
86
83
|
return (_ctx, _cache) => {
|
|
87
|
-
return openBlock(), createBlock(unref(
|
|
84
|
+
return openBlock(), createBlock(unref(_sfc_main$68), {
|
|
88
85
|
as: __props.as,
|
|
89
86
|
renderless: __props.renderless
|
|
90
87
|
}, {
|
|
@@ -94,11 +91,9 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
94
91
|
};
|
|
95
92
|
}
|
|
96
93
|
});
|
|
97
|
-
var AvatarRoot_default = _sfc_main$59;
|
|
98
|
-
|
|
99
94
|
//#endregion
|
|
100
95
|
//#region src/components/Avatar/AvatarFallback.vue
|
|
101
|
-
const _sfc_main$
|
|
96
|
+
const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
102
97
|
name: "AvatarFallback",
|
|
103
98
|
__name: "AvatarFallback",
|
|
104
99
|
props: {
|
|
@@ -112,7 +107,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
112
107
|
const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
|
|
113
108
|
onUnmounted(() => context.unregister(ticket.id));
|
|
114
109
|
return (_ctx, _cache) => {
|
|
115
|
-
return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(
|
|
110
|
+
return unref(ticket).isSelected.value ? (openBlock(), createBlock(unref(_sfc_main$68), {
|
|
116
111
|
key: 0,
|
|
117
112
|
as: __props.as,
|
|
118
113
|
renderless: __props.renderless
|
|
@@ -123,11 +118,9 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
123
118
|
};
|
|
124
119
|
}
|
|
125
120
|
});
|
|
126
|
-
var AvatarFallback_default = _sfc_main$58;
|
|
127
|
-
|
|
128
121
|
//#endregion
|
|
129
122
|
//#region src/components/Avatar/AvatarImage.vue
|
|
130
|
-
const _sfc_main$
|
|
123
|
+
const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
131
124
|
name: "AvatarImage",
|
|
132
125
|
inheritAttrs: false,
|
|
133
126
|
__name: "AvatarImage",
|
|
@@ -177,7 +170,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
177
170
|
}
|
|
178
171
|
}));
|
|
179
172
|
return (_ctx, _cache) => {
|
|
180
|
-
return withDirectives((openBlock(), createBlock(unref(
|
|
173
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
181
174
|
as: __props.as,
|
|
182
175
|
renderless: __props.renderless
|
|
183
176
|
}), {
|
|
@@ -187,8 +180,6 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
187
180
|
};
|
|
188
181
|
}
|
|
189
182
|
});
|
|
190
|
-
var AvatarImage_default = _sfc_main$57;
|
|
191
|
-
|
|
192
183
|
//#endregion
|
|
193
184
|
//#region src/components/Avatar/index.ts
|
|
194
185
|
/**
|
|
@@ -197,15 +188,14 @@ var AvatarImage_default = _sfc_main$57;
|
|
|
197
188
|
* @see https://0.vuetifyjs.com/components/avatar
|
|
198
189
|
*/
|
|
199
190
|
const Avatar = {
|
|
200
|
-
Root:
|
|
201
|
-
Image:
|
|
202
|
-
Fallback:
|
|
191
|
+
Root: _sfc_main$67,
|
|
192
|
+
Image: _sfc_main$65,
|
|
193
|
+
Fallback: _sfc_main$66
|
|
203
194
|
};
|
|
204
|
-
|
|
205
195
|
//#endregion
|
|
206
196
|
//#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
|
|
207
197
|
const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
|
|
208
|
-
const _sfc_main$
|
|
198
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
209
199
|
name: "BreadcrumbsRoot",
|
|
210
200
|
__name: "BreadcrumbsRoot",
|
|
211
201
|
props: {
|
|
@@ -333,7 +323,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
333
323
|
}
|
|
334
324
|
}));
|
|
335
325
|
return (_ctx, _cache) => {
|
|
336
|
-
return openBlock(), createBlock(unref(
|
|
326
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
337
327
|
ref: "container",
|
|
338
328
|
as: __props.as,
|
|
339
329
|
renderless: __props.renderless
|
|
@@ -344,11 +334,9 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
344
334
|
};
|
|
345
335
|
}
|
|
346
336
|
});
|
|
347
|
-
var BreadcrumbsRoot_default = _sfc_main$56;
|
|
348
|
-
|
|
349
337
|
//#endregion
|
|
350
338
|
//#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
|
|
351
|
-
const _sfc_main$
|
|
339
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
352
340
|
name: "BreadcrumbsDivider",
|
|
353
341
|
__name: "BreadcrumbsDivider",
|
|
354
342
|
props: {
|
|
@@ -384,7 +372,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
384
372
|
}
|
|
385
373
|
}));
|
|
386
374
|
return (_ctx, _cache) => {
|
|
387
|
-
return withDirectives((openBlock(), createBlock(unref(
|
|
375
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
388
376
|
ref: "el",
|
|
389
377
|
as: __props.as,
|
|
390
378
|
renderless: __props.renderless
|
|
@@ -395,11 +383,9 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
395
383
|
};
|
|
396
384
|
}
|
|
397
385
|
});
|
|
398
|
-
var BreadcrumbsDivider_default = _sfc_main$55;
|
|
399
|
-
|
|
400
386
|
//#endregion
|
|
401
387
|
//#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
|
|
402
|
-
const _sfc_main$
|
|
388
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
403
389
|
name: "BreadcrumbsEllipsis",
|
|
404
390
|
__name: "BreadcrumbsEllipsis",
|
|
405
391
|
props: {
|
|
@@ -442,7 +428,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
442
428
|
}
|
|
443
429
|
}));
|
|
444
430
|
return (_ctx, _cache) => {
|
|
445
|
-
return withDirectives((openBlock(), createBlock(unref(
|
|
431
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
446
432
|
ref: "el",
|
|
447
433
|
as: __props.as,
|
|
448
434
|
renderless: __props.renderless
|
|
@@ -453,11 +439,9 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
453
439
|
};
|
|
454
440
|
}
|
|
455
441
|
});
|
|
456
|
-
var BreadcrumbsEllipsis_default = _sfc_main$54;
|
|
457
|
-
|
|
458
442
|
//#endregion
|
|
459
443
|
//#region src/components/Breadcrumbs/BreadcrumbsItem.vue
|
|
460
|
-
const _sfc_main$
|
|
444
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
461
445
|
name: "BreadcrumbsItem",
|
|
462
446
|
__name: "BreadcrumbsItem",
|
|
463
447
|
props: {
|
|
@@ -496,7 +480,7 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
496
480
|
attrs: { "data-selected": isSelected.value || void 0 }
|
|
497
481
|
}));
|
|
498
482
|
return (_ctx, _cache) => {
|
|
499
|
-
return withDirectives((openBlock(), createBlock(unref(
|
|
483
|
+
return withDirectives((openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
500
484
|
ref: "el",
|
|
501
485
|
as: __props.as,
|
|
502
486
|
renderless: __props.renderless
|
|
@@ -507,11 +491,9 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
507
491
|
};
|
|
508
492
|
}
|
|
509
493
|
});
|
|
510
|
-
var BreadcrumbsItem_default = _sfc_main$53;
|
|
511
|
-
|
|
512
494
|
//#endregion
|
|
513
495
|
//#region src/components/Breadcrumbs/BreadcrumbsLink.vue
|
|
514
|
-
const _sfc_main$
|
|
496
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
515
497
|
name: "BreadcrumbsLink",
|
|
516
498
|
__name: "BreadcrumbsLink",
|
|
517
499
|
props: {
|
|
@@ -520,7 +502,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
520
502
|
},
|
|
521
503
|
setup(__props) {
|
|
522
504
|
return (_ctx, _cache) => {
|
|
523
|
-
return openBlock(), createBlock(unref(
|
|
505
|
+
return openBlock(), createBlock(unref(_sfc_main$68), {
|
|
524
506
|
as: __props.as,
|
|
525
507
|
renderless: __props.renderless
|
|
526
508
|
}, {
|
|
@@ -530,11 +512,9 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
530
512
|
};
|
|
531
513
|
}
|
|
532
514
|
});
|
|
533
|
-
var BreadcrumbsLink_default = _sfc_main$52;
|
|
534
|
-
|
|
535
515
|
//#endregion
|
|
536
516
|
//#region src/components/Breadcrumbs/BreadcrumbsList.vue
|
|
537
|
-
const _sfc_main$
|
|
517
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
538
518
|
name: "BreadcrumbsList",
|
|
539
519
|
__name: "BreadcrumbsList",
|
|
540
520
|
props: {
|
|
@@ -544,7 +524,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
544
524
|
setup(__props) {
|
|
545
525
|
const slotProps = toRef(() => ({ attrs: { role: "list" } }));
|
|
546
526
|
return (_ctx, _cache) => {
|
|
547
|
-
return openBlock(), createBlock(unref(
|
|
527
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
548
528
|
as: __props.as,
|
|
549
529
|
renderless: __props.renderless
|
|
550
530
|
}, slotProps.value.attrs), {
|
|
@@ -554,11 +534,9 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
554
534
|
};
|
|
555
535
|
}
|
|
556
536
|
});
|
|
557
|
-
var BreadcrumbsList_default = _sfc_main$51;
|
|
558
|
-
|
|
559
537
|
//#endregion
|
|
560
538
|
//#region src/components/Breadcrumbs/BreadcrumbsPage.vue
|
|
561
|
-
const _sfc_main$
|
|
539
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
562
540
|
name: "BreadcrumbsPage",
|
|
563
541
|
__name: "BreadcrumbsPage",
|
|
564
542
|
props: {
|
|
@@ -568,7 +546,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
568
546
|
setup(__props) {
|
|
569
547
|
const slotProps = toRef(() => ({ attrs: { "aria-current": "page" } }));
|
|
570
548
|
return (_ctx, _cache) => {
|
|
571
|
-
return openBlock(), createBlock(unref(
|
|
549
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
572
550
|
as: __props.as,
|
|
573
551
|
renderless: __props.renderless
|
|
574
552
|
}, slotProps.value.attrs), {
|
|
@@ -578,8 +556,6 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
578
556
|
};
|
|
579
557
|
}
|
|
580
558
|
});
|
|
581
|
-
var BreadcrumbsPage_default = _sfc_main$50;
|
|
582
|
-
|
|
583
559
|
//#endregion
|
|
584
560
|
//#region src/components/Breadcrumbs/index.ts
|
|
585
561
|
/**
|
|
@@ -588,19 +564,18 @@ var BreadcrumbsPage_default = _sfc_main$50;
|
|
|
588
564
|
* @see https://0.vuetifyjs.com/components/breadcrumbs
|
|
589
565
|
*/
|
|
590
566
|
const Breadcrumbs = {
|
|
591
|
-
Root:
|
|
592
|
-
List:
|
|
593
|
-
Item:
|
|
594
|
-
Link:
|
|
595
|
-
Page:
|
|
596
|
-
Divider:
|
|
597
|
-
Ellipsis:
|
|
567
|
+
Root: _sfc_main$64,
|
|
568
|
+
List: _sfc_main$59,
|
|
569
|
+
Item: _sfc_main$61,
|
|
570
|
+
Link: _sfc_main$60,
|
|
571
|
+
Page: _sfc_main$58,
|
|
572
|
+
Divider: _sfc_main$63,
|
|
573
|
+
Ellipsis: _sfc_main$62
|
|
598
574
|
};
|
|
599
|
-
|
|
600
575
|
//#endregion
|
|
601
576
|
//#region src/components/Checkbox/CheckboxGroup.vue
|
|
602
577
|
const [useCheckboxGroup, provideCheckboxGroup] = createContext();
|
|
603
|
-
const _sfc_main$
|
|
578
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
604
579
|
name: "CheckboxGroup",
|
|
605
580
|
__name: "CheckboxGroup",
|
|
606
581
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -656,7 +631,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
656
631
|
}
|
|
657
632
|
}));
|
|
658
633
|
return (_ctx, _cache) => {
|
|
659
|
-
return openBlock(), createBlock(unref(
|
|
634
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
660
635
|
as: __props.as,
|
|
661
636
|
renderless: __props.renderless
|
|
662
637
|
}), {
|
|
@@ -666,12 +641,10 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
666
641
|
};
|
|
667
642
|
}
|
|
668
643
|
});
|
|
669
|
-
var CheckboxGroup_default = _sfc_main$49;
|
|
670
|
-
|
|
671
644
|
//#endregion
|
|
672
645
|
//#region src/components/Checkbox/CheckboxRoot.vue
|
|
673
646
|
const [useCheckboxRoot, provideCheckboxRoot] = createContext();
|
|
674
|
-
const _sfc_main$
|
|
647
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
675
648
|
name: "CheckboxRoot",
|
|
676
649
|
inheritAttrs: false,
|
|
677
650
|
__name: "CheckboxRoot",
|
|
@@ -790,7 +763,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
790
763
|
}
|
|
791
764
|
}));
|
|
792
765
|
return (_ctx, _cache) => {
|
|
793
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(
|
|
766
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$68), mergeProps({
|
|
794
767
|
...unref(attrs),
|
|
795
768
|
...slotProps.value.attrs
|
|
796
769
|
}, {
|
|
@@ -801,15 +774,13 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
801
774
|
}), {
|
|
802
775
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
803
776
|
_: 3
|
|
804
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(
|
|
777
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$55, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
805
778
|
};
|
|
806
779
|
}
|
|
807
780
|
});
|
|
808
|
-
var CheckboxRoot_default = _sfc_main$48;
|
|
809
|
-
|
|
810
781
|
//#endregion
|
|
811
782
|
//#region src/components/Checkbox/CheckboxHiddenInput.vue
|
|
812
|
-
const _hoisted_1$
|
|
783
|
+
const _hoisted_1$3 = [
|
|
813
784
|
"checked",
|
|
814
785
|
"disabled",
|
|
815
786
|
"form",
|
|
@@ -827,7 +798,7 @@ const visuallyHiddenStyle$2 = {
|
|
|
827
798
|
whiteSpace: "nowrap",
|
|
828
799
|
border: "0"
|
|
829
800
|
};
|
|
830
|
-
const _sfc_main$
|
|
801
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
831
802
|
name: "CheckboxHiddenInput",
|
|
832
803
|
__name: "CheckboxHiddenInput",
|
|
833
804
|
props: {
|
|
@@ -859,15 +830,13 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
859
830
|
tabindex: "-1",
|
|
860
831
|
type: "checkbox",
|
|
861
832
|
value: value.value
|
|
862
|
-
}, null, 8, _hoisted_1$
|
|
833
|
+
}, null, 8, _hoisted_1$3);
|
|
863
834
|
};
|
|
864
835
|
}
|
|
865
836
|
});
|
|
866
|
-
var CheckboxHiddenInput_default = _sfc_main$47;
|
|
867
|
-
|
|
868
837
|
//#endregion
|
|
869
838
|
//#region src/components/Checkbox/CheckboxIndicator.vue
|
|
870
|
-
const _sfc_main$
|
|
839
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
871
840
|
name: "CheckboxIndicator",
|
|
872
841
|
__name: "CheckboxIndicator",
|
|
873
842
|
props: {
|
|
@@ -890,7 +859,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
890
859
|
}
|
|
891
860
|
}));
|
|
892
861
|
return (_ctx, _cache) => {
|
|
893
|
-
return openBlock(), createBlock(unref(
|
|
862
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
894
863
|
as: __props.as,
|
|
895
864
|
renderless: __props.renderless
|
|
896
865
|
}), {
|
|
@@ -900,11 +869,9 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
900
869
|
};
|
|
901
870
|
}
|
|
902
871
|
});
|
|
903
|
-
var CheckboxIndicator_default = _sfc_main$46;
|
|
904
|
-
|
|
905
872
|
//#endregion
|
|
906
873
|
//#region src/components/Checkbox/CheckboxSelectAll.vue
|
|
907
|
-
const _sfc_main$
|
|
874
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
908
875
|
name: "CheckboxSelectAll",
|
|
909
876
|
inheritAttrs: false,
|
|
910
877
|
__name: "CheckboxSelectAll",
|
|
@@ -975,7 +942,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
975
942
|
}
|
|
976
943
|
}));
|
|
977
944
|
return (_ctx, _cache) => {
|
|
978
|
-
return openBlock(), createBlock(unref(
|
|
945
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
979
946
|
...unref(attrs),
|
|
980
947
|
...slotProps.value.attrs
|
|
981
948
|
}, {
|
|
@@ -990,8 +957,6 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
990
957
|
};
|
|
991
958
|
}
|
|
992
959
|
});
|
|
993
|
-
var CheckboxSelectAll_default = _sfc_main$45;
|
|
994
|
-
|
|
995
960
|
//#endregion
|
|
996
961
|
//#region src/components/Checkbox/index.ts
|
|
997
962
|
/**
|
|
@@ -1016,17 +981,16 @@ var CheckboxSelectAll_default = _sfc_main$45;
|
|
|
1016
981
|
* ```
|
|
1017
982
|
*/
|
|
1018
983
|
const Checkbox = {
|
|
1019
|
-
Group:
|
|
1020
|
-
HiddenInput:
|
|
1021
|
-
Indicator:
|
|
1022
|
-
Root:
|
|
1023
|
-
SelectAll:
|
|
984
|
+
Group: _sfc_main$57,
|
|
985
|
+
HiddenInput: _sfc_main$55,
|
|
986
|
+
Indicator: _sfc_main$54,
|
|
987
|
+
Root: _sfc_main$56,
|
|
988
|
+
SelectAll: _sfc_main$53
|
|
1024
989
|
};
|
|
1025
|
-
|
|
1026
990
|
//#endregion
|
|
1027
991
|
//#region src/components/Dialog/DialogRoot.vue
|
|
1028
992
|
const [useDialogContext, provideDialogContext] = createContext();
|
|
1029
|
-
const _sfc_main$
|
|
993
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
1030
994
|
name: "DialogRoot",
|
|
1031
995
|
__name: "DialogRoot",
|
|
1032
996
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1068,7 +1032,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
1068
1032
|
close
|
|
1069
1033
|
}));
|
|
1070
1034
|
return (_ctx, _cache) => {
|
|
1071
|
-
return openBlock(), createBlock(unref(
|
|
1035
|
+
return openBlock(), createBlock(unref(_sfc_main$68), {
|
|
1072
1036
|
as: __props.as,
|
|
1073
1037
|
renderless: ""
|
|
1074
1038
|
}, {
|
|
@@ -1078,11 +1042,9 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
1078
1042
|
};
|
|
1079
1043
|
}
|
|
1080
1044
|
});
|
|
1081
|
-
var DialogRoot_default = _sfc_main$44;
|
|
1082
|
-
|
|
1083
1045
|
//#endregion
|
|
1084
1046
|
//#region src/components/Dialog/DialogClose.vue
|
|
1085
|
-
const _sfc_main$
|
|
1047
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
1086
1048
|
name: "DialogClose",
|
|
1087
1049
|
__name: "DialogClose",
|
|
1088
1050
|
props: {
|
|
@@ -1103,18 +1065,16 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
1103
1065
|
}
|
|
1104
1066
|
}));
|
|
1105
1067
|
return (_ctx, _cache) => {
|
|
1106
|
-
return openBlock(), createBlock(unref(
|
|
1068
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
|
|
1107
1069
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1108
1070
|
_: 3
|
|
1109
1071
|
}, 16, ["as"]);
|
|
1110
1072
|
};
|
|
1111
1073
|
}
|
|
1112
1074
|
});
|
|
1113
|
-
var DialogClose_default = _sfc_main$43;
|
|
1114
|
-
|
|
1115
1075
|
//#endregion
|
|
1116
1076
|
//#region src/components/Dialog/DialogContent.vue
|
|
1117
|
-
const _sfc_main$
|
|
1077
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
1118
1078
|
name: "DialogContent",
|
|
1119
1079
|
__name: "DialogContent",
|
|
1120
1080
|
props: {
|
|
@@ -1182,7 +1142,7 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
1182
1142
|
}
|
|
1183
1143
|
}));
|
|
1184
1144
|
return (_ctx, _cache) => {
|
|
1185
|
-
return openBlock(), createBlock(unref(
|
|
1145
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
1186
1146
|
ref: "content",
|
|
1187
1147
|
as: __props.as,
|
|
1188
1148
|
style: styles.value
|
|
@@ -1196,11 +1156,9 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
1196
1156
|
};
|
|
1197
1157
|
}
|
|
1198
1158
|
});
|
|
1199
|
-
var DialogContent_default = _sfc_main$42;
|
|
1200
|
-
|
|
1201
1159
|
//#endregion
|
|
1202
1160
|
//#region src/components/Dialog/DialogDescription.vue
|
|
1203
|
-
const _sfc_main$
|
|
1161
|
+
const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
1204
1162
|
name: "DialogDescription",
|
|
1205
1163
|
__name: "DialogDescription",
|
|
1206
1164
|
props: {
|
|
@@ -1212,18 +1170,16 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
1212
1170
|
const context = useDialogContext(__props.namespace);
|
|
1213
1171
|
const slotProps = toRef(() => ({ attrs: { id: context.descriptionId } }));
|
|
1214
1172
|
return (_ctx, _cache) => {
|
|
1215
|
-
return openBlock(), createBlock(unref(
|
|
1173
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ as: __props.as }, slotProps.value.attrs), {
|
|
1216
1174
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1217
1175
|
_: 3
|
|
1218
1176
|
}, 16, ["as"]);
|
|
1219
1177
|
};
|
|
1220
1178
|
}
|
|
1221
1179
|
});
|
|
1222
|
-
var DialogDescription_default = _sfc_main$41;
|
|
1223
|
-
|
|
1224
1180
|
//#endregion
|
|
1225
1181
|
//#region src/components/Dialog/DialogTitle.vue
|
|
1226
|
-
const _sfc_main$
|
|
1182
|
+
const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
1227
1183
|
name: "DialogTitle",
|
|
1228
1184
|
__name: "DialogTitle",
|
|
1229
1185
|
props: {
|
|
@@ -1235,18 +1191,16 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
1235
1191
|
const context = useDialogContext(__props.namespace);
|
|
1236
1192
|
const slotProps = toRef(() => ({ attrs: { id: context.titleId } }));
|
|
1237
1193
|
return (_ctx, _cache) => {
|
|
1238
|
-
return openBlock(), createBlock(unref(
|
|
1194
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ as: __props.as }, slotProps.value.attrs), {
|
|
1239
1195
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1240
1196
|
_: 3
|
|
1241
1197
|
}, 16, ["as"]);
|
|
1242
1198
|
};
|
|
1243
1199
|
}
|
|
1244
1200
|
});
|
|
1245
|
-
var DialogTitle_default = _sfc_main$40;
|
|
1246
|
-
|
|
1247
1201
|
//#endregion
|
|
1248
1202
|
//#region src/components/Dialog/DialogActivator.vue
|
|
1249
|
-
const _sfc_main$
|
|
1203
|
+
const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
1250
1204
|
name: "DialogActivator",
|
|
1251
1205
|
__name: "DialogActivator",
|
|
1252
1206
|
props: {
|
|
@@ -1269,15 +1223,13 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
1269
1223
|
}
|
|
1270
1224
|
}));
|
|
1271
1225
|
return (_ctx, _cache) => {
|
|
1272
|
-
return openBlock(), createBlock(unref(
|
|
1226
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ as: __props.as }, slotProps.value.attrs, { onClick }), {
|
|
1273
1227
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
1274
1228
|
_: 3
|
|
1275
1229
|
}, 16, ["as"]);
|
|
1276
1230
|
};
|
|
1277
1231
|
}
|
|
1278
1232
|
});
|
|
1279
|
-
var DialogActivator_default = _sfc_main$39;
|
|
1280
|
-
|
|
1281
1233
|
//#endregion
|
|
1282
1234
|
//#region src/components/Dialog/index.ts
|
|
1283
1235
|
/**
|
|
@@ -1310,18 +1262,17 @@ var DialogActivator_default = _sfc_main$39;
|
|
|
1310
1262
|
* ```
|
|
1311
1263
|
*/
|
|
1312
1264
|
const Dialog = {
|
|
1313
|
-
Root:
|
|
1314
|
-
Activator:
|
|
1315
|
-
Content:
|
|
1316
|
-
Title:
|
|
1317
|
-
Description:
|
|
1318
|
-
Close:
|
|
1265
|
+
Root: _sfc_main$52,
|
|
1266
|
+
Activator: _sfc_main$47,
|
|
1267
|
+
Content: _sfc_main$50,
|
|
1268
|
+
Title: _sfc_main$48,
|
|
1269
|
+
Description: _sfc_main$49,
|
|
1270
|
+
Close: _sfc_main$51
|
|
1319
1271
|
};
|
|
1320
|
-
|
|
1321
1272
|
//#endregion
|
|
1322
1273
|
//#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
|
|
1323
1274
|
const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext();
|
|
1324
|
-
const _sfc_main$
|
|
1275
|
+
const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
1325
1276
|
name: "ExpansionPanelRoot",
|
|
1326
1277
|
__name: "ExpansionPanelRoot",
|
|
1327
1278
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1368,7 +1319,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
1368
1319
|
}));
|
|
1369
1320
|
provideExpansionPanelRoot(__props.namespace, selection);
|
|
1370
1321
|
return (_ctx, _cache) => {
|
|
1371
|
-
return openBlock(), createBlock(unref(
|
|
1322
|
+
return openBlock(), createBlock(unref(_sfc_main$68), {
|
|
1372
1323
|
as: __props.as,
|
|
1373
1324
|
renderless: __props.renderless
|
|
1374
1325
|
}, {
|
|
@@ -1378,12 +1329,10 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
1378
1329
|
};
|
|
1379
1330
|
}
|
|
1380
1331
|
});
|
|
1381
|
-
var ExpansionPanelRoot_default = _sfc_main$38;
|
|
1382
|
-
|
|
1383
1332
|
//#endregion
|
|
1384
1333
|
//#region src/components/ExpansionPanel/ExpansionPanelItem.vue
|
|
1385
1334
|
const [useExpansionPanelItem, provideExpansionPanelItem] = createContext({ suffix: "item" });
|
|
1386
|
-
const _sfc_main$
|
|
1335
|
+
const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
1387
1336
|
name: "ExpansionPanelItem",
|
|
1388
1337
|
__name: "ExpansionPanelItem",
|
|
1389
1338
|
props: {
|
|
@@ -1417,7 +1366,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
1417
1366
|
isDisabled
|
|
1418
1367
|
});
|
|
1419
1368
|
return (_ctx, _cache) => {
|
|
1420
|
-
return openBlock(), createBlock(unref(
|
|
1369
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
1421
1370
|
as: __props.as,
|
|
1422
1371
|
renderless: __props.renderless
|
|
1423
1372
|
}), {
|
|
@@ -1427,11 +1376,9 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
1427
1376
|
};
|
|
1428
1377
|
}
|
|
1429
1378
|
});
|
|
1430
|
-
var ExpansionPanelItem_default = _sfc_main$37;
|
|
1431
|
-
|
|
1432
1379
|
//#endregion
|
|
1433
1380
|
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
|
|
1434
|
-
const _sfc_main$
|
|
1381
|
+
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
1435
1382
|
name: "ExpansionPanelActivator",
|
|
1436
1383
|
__name: "ExpansionPanelActivator",
|
|
1437
1384
|
props: {
|
|
@@ -1467,7 +1414,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
1467
1414
|
}
|
|
1468
1415
|
}));
|
|
1469
1416
|
return (_ctx, _cache) => {
|
|
1470
|
-
return openBlock(), createBlock(unref(
|
|
1417
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
1471
1418
|
as: __props.as,
|
|
1472
1419
|
renderless: __props.renderless
|
|
1473
1420
|
}), {
|
|
@@ -1477,11 +1424,9 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
1477
1424
|
};
|
|
1478
1425
|
}
|
|
1479
1426
|
});
|
|
1480
|
-
var ExpansionPanelActivator_default = _sfc_main$36;
|
|
1481
|
-
|
|
1482
1427
|
//#endregion
|
|
1483
1428
|
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue
|
|
1484
|
-
const _sfc_main$
|
|
1429
|
+
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
1485
1430
|
name: "ExpansionPanelContent",
|
|
1486
1431
|
__name: "ExpansionPanelContent",
|
|
1487
1432
|
props: {
|
|
@@ -1502,7 +1447,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
1502
1447
|
}
|
|
1503
1448
|
}));
|
|
1504
1449
|
return (_ctx, _cache) => {
|
|
1505
|
-
return openBlock(), createBlock(unref(
|
|
1450
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
1506
1451
|
as: __props.as,
|
|
1507
1452
|
renderless: __props.renderless
|
|
1508
1453
|
}), {
|
|
@@ -1512,11 +1457,9 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
1512
1457
|
};
|
|
1513
1458
|
}
|
|
1514
1459
|
});
|
|
1515
|
-
var ExpansionPanelContent_default = _sfc_main$35;
|
|
1516
|
-
|
|
1517
1460
|
//#endregion
|
|
1518
1461
|
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
|
|
1519
|
-
const _sfc_main$
|
|
1462
|
+
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
1520
1463
|
name: "ExpansionPanelHeader",
|
|
1521
1464
|
__name: "ExpansionPanelHeader",
|
|
1522
1465
|
props: {
|
|
@@ -1531,7 +1474,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
1531
1474
|
attrs: { "data-selected": item.ticket.isSelected.value || void 0 }
|
|
1532
1475
|
}));
|
|
1533
1476
|
return (_ctx, _cache) => {
|
|
1534
|
-
return openBlock(), createBlock(unref(
|
|
1477
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
1535
1478
|
as: __props.as,
|
|
1536
1479
|
renderless: __props.renderless
|
|
1537
1480
|
}), {
|
|
@@ -1541,8 +1484,6 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
1541
1484
|
};
|
|
1542
1485
|
}
|
|
1543
1486
|
});
|
|
1544
|
-
var ExpansionPanelHeader_default = _sfc_main$34;
|
|
1545
|
-
|
|
1546
1487
|
//#endregion
|
|
1547
1488
|
//#region src/components/ExpansionPanel/index.ts
|
|
1548
1489
|
/**
|
|
@@ -1551,17 +1492,16 @@ var ExpansionPanelHeader_default = _sfc_main$34;
|
|
|
1551
1492
|
* @see https://0.vuetifyjs.com/components/expansion-panels
|
|
1552
1493
|
*/
|
|
1553
1494
|
const ExpansionPanel = {
|
|
1554
|
-
Root:
|
|
1555
|
-
Item:
|
|
1556
|
-
Header:
|
|
1557
|
-
Activator:
|
|
1558
|
-
Content:
|
|
1495
|
+
Root: _sfc_main$46,
|
|
1496
|
+
Item: _sfc_main$45,
|
|
1497
|
+
Header: _sfc_main$42,
|
|
1498
|
+
Activator: _sfc_main$44,
|
|
1499
|
+
Content: _sfc_main$43
|
|
1559
1500
|
};
|
|
1560
|
-
|
|
1561
1501
|
//#endregion
|
|
1562
1502
|
//#region src/components/Group/GroupRoot.vue
|
|
1563
1503
|
const [useGroupRoot, provideGroupRoot] = createContext();
|
|
1564
|
-
const _sfc_main$
|
|
1504
|
+
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
1565
1505
|
name: "GroupRoot",
|
|
1566
1506
|
__name: "GroupRoot",
|
|
1567
1507
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1611,11 +1551,9 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
1611
1551
|
};
|
|
1612
1552
|
}
|
|
1613
1553
|
});
|
|
1614
|
-
var GroupRoot_default = _sfc_main$33;
|
|
1615
|
-
|
|
1616
1554
|
//#endregion
|
|
1617
1555
|
//#region src/components/Group/GroupItem.vue
|
|
1618
|
-
const _sfc_main$
|
|
1556
|
+
const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
1619
1557
|
name: "GroupItem",
|
|
1620
1558
|
__name: "GroupItem",
|
|
1621
1559
|
props: {
|
|
@@ -1664,8 +1602,6 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
1664
1602
|
};
|
|
1665
1603
|
}
|
|
1666
1604
|
});
|
|
1667
|
-
var GroupItem_default = _sfc_main$32;
|
|
1668
|
-
|
|
1669
1605
|
//#endregion
|
|
1670
1606
|
//#region src/components/Group/index.ts
|
|
1671
1607
|
/**
|
|
@@ -1674,16 +1610,15 @@ var GroupItem_default = _sfc_main$32;
|
|
|
1674
1610
|
* @see https://0.vuetifyjs.com/components/group
|
|
1675
1611
|
*/
|
|
1676
1612
|
const Group = {
|
|
1677
|
-
Root:
|
|
1678
|
-
Item:
|
|
1613
|
+
Root: _sfc_main$41,
|
|
1614
|
+
Item: _sfc_main$40
|
|
1679
1615
|
};
|
|
1680
|
-
|
|
1681
1616
|
//#endregion
|
|
1682
1617
|
//#region src/components/Pagination/PaginationRoot.vue
|
|
1683
1618
|
const [usePaginationRoot, providePaginationRoot] = createContext();
|
|
1684
1619
|
const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
|
|
1685
1620
|
const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
|
|
1686
|
-
const _sfc_main$
|
|
1621
|
+
const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
1687
1622
|
name: "PaginationRoot",
|
|
1688
1623
|
__name: "PaginationRoot",
|
|
1689
1624
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1770,7 +1705,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
1770
1705
|
providePaginationControls(__props.namespace, controls);
|
|
1771
1706
|
providePaginationItems(__props.namespace, items);
|
|
1772
1707
|
return (_ctx, _cache) => {
|
|
1773
|
-
return openBlock(), createBlock(unref(
|
|
1708
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
1774
1709
|
ref_key: "atom",
|
|
1775
1710
|
ref: atom
|
|
1776
1711
|
}, slotProps.value.attrs, {
|
|
@@ -1783,11 +1718,9 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
1783
1718
|
};
|
|
1784
1719
|
}
|
|
1785
1720
|
});
|
|
1786
|
-
var PaginationRoot_default = _sfc_main$31;
|
|
1787
|
-
|
|
1788
1721
|
//#endregion
|
|
1789
1722
|
//#region src/components/Pagination/PaginationEllipsis.vue
|
|
1790
|
-
const _sfc_main$
|
|
1723
|
+
const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
1791
1724
|
name: "PaginationEllipsis",
|
|
1792
1725
|
__name: "PaginationEllipsis",
|
|
1793
1726
|
props: {
|
|
@@ -1815,7 +1748,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
1815
1748
|
}));
|
|
1816
1749
|
onBeforeUnmount(() => items.unregister(__props.id));
|
|
1817
1750
|
return (_ctx, _cache) => {
|
|
1818
|
-
return openBlock(), createBlock(unref(
|
|
1751
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
1819
1752
|
ref_key: "atom",
|
|
1820
1753
|
ref: atom
|
|
1821
1754
|
}, slotProps.value.attrs, {
|
|
@@ -1828,11 +1761,9 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
1828
1761
|
};
|
|
1829
1762
|
}
|
|
1830
1763
|
});
|
|
1831
|
-
var PaginationEllipsis_default = _sfc_main$30;
|
|
1832
|
-
|
|
1833
1764
|
//#endregion
|
|
1834
1765
|
//#region src/components/Pagination/PaginationFirst.vue
|
|
1835
|
-
const _sfc_main$
|
|
1766
|
+
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
1836
1767
|
name: "PaginationFirst",
|
|
1837
1768
|
__name: "PaginationFirst",
|
|
1838
1769
|
props: {
|
|
@@ -1874,7 +1805,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1874
1805
|
}));
|
|
1875
1806
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
1876
1807
|
return (_ctx, _cache) => {
|
|
1877
|
-
return openBlock(), createBlock(unref(
|
|
1808
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
1878
1809
|
ref_key: "atom",
|
|
1879
1810
|
ref: atom
|
|
1880
1811
|
}, slotProps.value.attrs, {
|
|
@@ -1887,11 +1818,9 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1887
1818
|
};
|
|
1888
1819
|
}
|
|
1889
1820
|
});
|
|
1890
|
-
var PaginationFirst_default = _sfc_main$29;
|
|
1891
|
-
|
|
1892
1821
|
//#endregion
|
|
1893
1822
|
//#region src/components/Pagination/PaginationItem.vue
|
|
1894
|
-
const _sfc_main$
|
|
1823
|
+
const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
1895
1824
|
name: "PaginationItem",
|
|
1896
1825
|
__name: "PaginationItem",
|
|
1897
1826
|
props: {
|
|
@@ -1944,7 +1873,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1944
1873
|
}));
|
|
1945
1874
|
onBeforeUnmount(() => items.unregister(__props.id));
|
|
1946
1875
|
return (_ctx, _cache) => {
|
|
1947
|
-
return openBlock(), createBlock(unref(
|
|
1876
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
1948
1877
|
ref_key: "atom",
|
|
1949
1878
|
ref: atom
|
|
1950
1879
|
}, slotProps.value.attrs, {
|
|
@@ -1957,11 +1886,9 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1957
1886
|
};
|
|
1958
1887
|
}
|
|
1959
1888
|
});
|
|
1960
|
-
var PaginationItem_default = _sfc_main$28;
|
|
1961
|
-
|
|
1962
1889
|
//#endregion
|
|
1963
1890
|
//#region src/components/Pagination/PaginationLast.vue
|
|
1964
|
-
const _sfc_main$
|
|
1891
|
+
const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
1965
1892
|
name: "PaginationLast",
|
|
1966
1893
|
__name: "PaginationLast",
|
|
1967
1894
|
props: {
|
|
@@ -2003,7 +1930,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
2003
1930
|
}));
|
|
2004
1931
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2005
1932
|
return (_ctx, _cache) => {
|
|
2006
|
-
return openBlock(), createBlock(unref(
|
|
1933
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2007
1934
|
ref_key: "atom",
|
|
2008
1935
|
ref: atom
|
|
2009
1936
|
}, slotProps.value.attrs, {
|
|
@@ -2016,11 +1943,9 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
2016
1943
|
};
|
|
2017
1944
|
}
|
|
2018
1945
|
});
|
|
2019
|
-
var PaginationLast_default = _sfc_main$27;
|
|
2020
|
-
|
|
2021
1946
|
//#endregion
|
|
2022
1947
|
//#region src/components/Pagination/PaginationNext.vue
|
|
2023
|
-
const _sfc_main$
|
|
1948
|
+
const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
2024
1949
|
name: "PaginationNext",
|
|
2025
1950
|
__name: "PaginationNext",
|
|
2026
1951
|
props: {
|
|
@@ -2062,7 +1987,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
2062
1987
|
}));
|
|
2063
1988
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2064
1989
|
return (_ctx, _cache) => {
|
|
2065
|
-
return openBlock(), createBlock(unref(
|
|
1990
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2066
1991
|
ref_key: "atom",
|
|
2067
1992
|
ref: atom
|
|
2068
1993
|
}, slotProps.value.attrs, {
|
|
@@ -2075,11 +2000,9 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
2075
2000
|
};
|
|
2076
2001
|
}
|
|
2077
2002
|
});
|
|
2078
|
-
var PaginationNext_default = _sfc_main$26;
|
|
2079
|
-
|
|
2080
2003
|
//#endregion
|
|
2081
2004
|
//#region src/components/Pagination/PaginationPrev.vue
|
|
2082
|
-
const _sfc_main$
|
|
2005
|
+
const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
2083
2006
|
name: "PaginationPrev",
|
|
2084
2007
|
__name: "PaginationPrev",
|
|
2085
2008
|
props: {
|
|
@@ -2121,7 +2044,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
2121
2044
|
}));
|
|
2122
2045
|
onBeforeUnmount(() => controls.unregister(__props.id));
|
|
2123
2046
|
return (_ctx, _cache) => {
|
|
2124
|
-
return openBlock(), createBlock(unref(
|
|
2047
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2125
2048
|
ref_key: "atom",
|
|
2126
2049
|
ref: atom
|
|
2127
2050
|
}, slotProps.value.attrs, {
|
|
@@ -2134,11 +2057,9 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
2134
2057
|
};
|
|
2135
2058
|
}
|
|
2136
2059
|
});
|
|
2137
|
-
var PaginationPrev_default = _sfc_main$25;
|
|
2138
|
-
|
|
2139
2060
|
//#endregion
|
|
2140
2061
|
//#region src/components/Pagination/PaginationStatus.vue
|
|
2141
|
-
const _sfc_main$
|
|
2062
|
+
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
2142
2063
|
name: "PaginationStatus",
|
|
2143
2064
|
__name: "PaginationStatus",
|
|
2144
2065
|
props: {
|
|
@@ -2172,7 +2093,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
2172
2093
|
}
|
|
2173
2094
|
}));
|
|
2174
2095
|
return (_ctx, _cache) => {
|
|
2175
|
-
return openBlock(), createBlock(unref(
|
|
2096
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
2176
2097
|
as: __props.as,
|
|
2177
2098
|
renderless: __props.renderless
|
|
2178
2099
|
}), {
|
|
@@ -2182,8 +2103,6 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
2182
2103
|
};
|
|
2183
2104
|
}
|
|
2184
2105
|
});
|
|
2185
|
-
var PaginationStatus_default = _sfc_main$24;
|
|
2186
|
-
|
|
2187
2106
|
//#endregion
|
|
2188
2107
|
//#region src/components/Pagination/index.ts
|
|
2189
2108
|
/**
|
|
@@ -2192,20 +2111,19 @@ var PaginationStatus_default = _sfc_main$24;
|
|
|
2192
2111
|
* @see https://0.vuetifyjs.com/components/pagination
|
|
2193
2112
|
*/
|
|
2194
2113
|
const Pagination = {
|
|
2195
|
-
Root:
|
|
2196
|
-
Item:
|
|
2197
|
-
First:
|
|
2198
|
-
Prev:
|
|
2199
|
-
Ellipsis:
|
|
2200
|
-
Next:
|
|
2201
|
-
Last:
|
|
2202
|
-
Status:
|
|
2114
|
+
Root: _sfc_main$39,
|
|
2115
|
+
Item: _sfc_main$36,
|
|
2116
|
+
First: _sfc_main$37,
|
|
2117
|
+
Prev: _sfc_main$33,
|
|
2118
|
+
Ellipsis: _sfc_main$38,
|
|
2119
|
+
Next: _sfc_main$34,
|
|
2120
|
+
Last: _sfc_main$35,
|
|
2121
|
+
Status: _sfc_main$32
|
|
2203
2122
|
};
|
|
2204
|
-
|
|
2205
2123
|
//#endregion
|
|
2206
2124
|
//#region src/components/Popover/PopoverRoot.vue
|
|
2207
2125
|
const [usePopoverContext, providePopoverContext] = createContext("Popover");
|
|
2208
|
-
const _sfc_main$
|
|
2126
|
+
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
2209
2127
|
name: "PopoverRoot",
|
|
2210
2128
|
__name: "PopoverRoot",
|
|
2211
2129
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2237,7 +2155,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
2237
2155
|
toggle
|
|
2238
2156
|
}));
|
|
2239
2157
|
return (_ctx, _cache) => {
|
|
2240
|
-
return openBlock(), createBlock(unref(
|
|
2158
|
+
return openBlock(), createBlock(unref(_sfc_main$68), {
|
|
2241
2159
|
as: __props.as,
|
|
2242
2160
|
renderless: ""
|
|
2243
2161
|
}, {
|
|
@@ -2247,11 +2165,9 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
2247
2165
|
};
|
|
2248
2166
|
}
|
|
2249
2167
|
});
|
|
2250
|
-
var PopoverRoot_default = _sfc_main$23;
|
|
2251
|
-
|
|
2252
2168
|
//#endregion
|
|
2253
2169
|
//#region src/components/Popover/PopoverActivator.vue
|
|
2254
|
-
const _sfc_main$
|
|
2170
|
+
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
2255
2171
|
name: "PopoverActivator",
|
|
2256
2172
|
__name: "PopoverActivator",
|
|
2257
2173
|
props: {
|
|
@@ -2273,7 +2189,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
2273
2189
|
}
|
|
2274
2190
|
}));
|
|
2275
2191
|
return (_ctx, _cache) => {
|
|
2276
|
-
return openBlock(), createBlock(unref(
|
|
2192
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2277
2193
|
as: __props.as,
|
|
2278
2194
|
style: style.value
|
|
2279
2195
|
}, slotProps.value.attrs), {
|
|
@@ -2283,11 +2199,9 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
2283
2199
|
};
|
|
2284
2200
|
}
|
|
2285
2201
|
});
|
|
2286
|
-
var PopoverActivator_default = _sfc_main$22;
|
|
2287
|
-
|
|
2288
2202
|
//#endregion
|
|
2289
2203
|
//#region src/components/Popover/PopoverContent.vue
|
|
2290
|
-
const _sfc_main$
|
|
2204
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
2291
2205
|
name: "PopoverContent",
|
|
2292
2206
|
__name: "PopoverContent",
|
|
2293
2207
|
props: {
|
|
@@ -2302,7 +2216,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
2302
2216
|
const props = createPropsRestProxy(__props, ["positionArea", "positionTry"]);
|
|
2303
2217
|
const emit = __emit;
|
|
2304
2218
|
const context = usePopoverContext();
|
|
2305
|
-
const ref
|
|
2219
|
+
const ref = useTemplateRef("ref");
|
|
2306
2220
|
const id = toRef(() => props.id ?? context.id);
|
|
2307
2221
|
const style = toRef(() => ({
|
|
2308
2222
|
"position": "fixed",
|
|
@@ -2314,17 +2228,17 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
2314
2228
|
}));
|
|
2315
2229
|
/* v8 ignore start -- browser popover API */
|
|
2316
2230
|
onMounted(() => {
|
|
2317
|
-
if (context.isSelected.value) ref
|
|
2231
|
+
if (context.isSelected.value) ref.value?.element?.showPopover();
|
|
2318
2232
|
});
|
|
2319
2233
|
watch(context.isSelected, (isOpen) => {
|
|
2320
|
-
const element = ref
|
|
2234
|
+
const element = ref.value?.element;
|
|
2321
2235
|
if (!element?.isConnected) return;
|
|
2322
2236
|
if (isOpen === element.matches?.(":popover-open")) return;
|
|
2323
2237
|
if (isOpen) element.showPopover?.();
|
|
2324
2238
|
else element.hidePopover?.();
|
|
2325
2239
|
});
|
|
2326
2240
|
function onToggle(e) {
|
|
2327
|
-
if (!ref
|
|
2241
|
+
if (!ref.value?.element?.isConnected) return;
|
|
2328
2242
|
context.isSelected.value = e.newState === "open";
|
|
2329
2243
|
}
|
|
2330
2244
|
/* v8 ignore stop */
|
|
@@ -2339,9 +2253,9 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
2339
2253
|
}
|
|
2340
2254
|
}));
|
|
2341
2255
|
return (_ctx, _cache) => {
|
|
2342
|
-
return openBlock(), createBlock(unref(
|
|
2256
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2343
2257
|
ref_key: "ref",
|
|
2344
|
-
ref
|
|
2258
|
+
ref,
|
|
2345
2259
|
as: props.as,
|
|
2346
2260
|
style: style.value
|
|
2347
2261
|
}, slotProps.value.attrs, {
|
|
@@ -2354,8 +2268,6 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
2354
2268
|
};
|
|
2355
2269
|
}
|
|
2356
2270
|
});
|
|
2357
|
-
var PopoverContent_default = _sfc_main$21;
|
|
2358
|
-
|
|
2359
2271
|
//#endregion
|
|
2360
2272
|
//#region src/components/Popover/index.ts
|
|
2361
2273
|
/**
|
|
@@ -2364,15 +2276,14 @@ var PopoverContent_default = _sfc_main$21;
|
|
|
2364
2276
|
* @see https://0.vuetifyjs.com/components/popover
|
|
2365
2277
|
*/
|
|
2366
2278
|
const Popover = {
|
|
2367
|
-
Root:
|
|
2368
|
-
Activator:
|
|
2369
|
-
Content:
|
|
2279
|
+
Root: _sfc_main$31,
|
|
2280
|
+
Activator: _sfc_main$30,
|
|
2281
|
+
Content: _sfc_main$29
|
|
2370
2282
|
};
|
|
2371
|
-
|
|
2372
2283
|
//#endregion
|
|
2373
2284
|
//#region src/components/Radio/RadioGroup.vue
|
|
2374
2285
|
const [useRadioGroup, provideRadioGroup] = createContext();
|
|
2375
|
-
const _sfc_main$
|
|
2286
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
2376
2287
|
name: "RadioGroup",
|
|
2377
2288
|
__name: "RadioGroup",
|
|
2378
2289
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2424,7 +2335,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
2424
2335
|
}
|
|
2425
2336
|
}));
|
|
2426
2337
|
return (_ctx, _cache) => {
|
|
2427
|
-
return openBlock(), createBlock(unref(
|
|
2338
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
2428
2339
|
as: __props.as,
|
|
2429
2340
|
renderless: __props.renderless
|
|
2430
2341
|
}), {
|
|
@@ -2434,12 +2345,10 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
2434
2345
|
};
|
|
2435
2346
|
}
|
|
2436
2347
|
});
|
|
2437
|
-
var RadioGroup_default = _sfc_main$20;
|
|
2438
|
-
|
|
2439
2348
|
//#endregion
|
|
2440
2349
|
//#region src/components/Radio/RadioRoot.vue
|
|
2441
2350
|
const [useRadioRoot, provideRadioRoot] = createContext();
|
|
2442
|
-
const _sfc_main$
|
|
2351
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
2443
2352
|
name: "RadioRoot",
|
|
2444
2353
|
inheritAttrs: false,
|
|
2445
2354
|
__name: "RadioRoot",
|
|
@@ -2549,7 +2458,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
2549
2458
|
}
|
|
2550
2459
|
}));
|
|
2551
2460
|
return (_ctx, _cache) => {
|
|
2552
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(
|
|
2461
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$68), mergeProps({ ref: "root" }, {
|
|
2553
2462
|
...unref(attrs),
|
|
2554
2463
|
...slotProps.value.attrs
|
|
2555
2464
|
}, {
|
|
@@ -2560,15 +2469,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
2560
2469
|
}), {
|
|
2561
2470
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
2562
2471
|
_: 3
|
|
2563
|
-
}, 16, ["as", "renderless"]), unref(name) ? (openBlock(), createBlock(
|
|
2472
|
+
}, 16, ["as", "renderless"]), unref(name) ? (openBlock(), createBlock(_sfc_main$26, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
2564
2473
|
};
|
|
2565
2474
|
}
|
|
2566
2475
|
});
|
|
2567
|
-
var RadioRoot_default = _sfc_main$19;
|
|
2568
|
-
|
|
2569
2476
|
//#endregion
|
|
2570
2477
|
//#region src/components/Radio/RadioHiddenInput.vue
|
|
2571
|
-
const _hoisted_1$
|
|
2478
|
+
const _hoisted_1$2 = [
|
|
2572
2479
|
"checked",
|
|
2573
2480
|
"disabled",
|
|
2574
2481
|
"form",
|
|
@@ -2586,7 +2493,7 @@ const visuallyHiddenStyle$1 = {
|
|
|
2586
2493
|
whiteSpace: "nowrap",
|
|
2587
2494
|
border: "0"
|
|
2588
2495
|
};
|
|
2589
|
-
const _sfc_main$
|
|
2496
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
2590
2497
|
name: "RadioHiddenInput",
|
|
2591
2498
|
__name: "RadioHiddenInput",
|
|
2592
2499
|
props: {
|
|
@@ -2617,15 +2524,13 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2617
2524
|
tabindex: "-1",
|
|
2618
2525
|
type: "radio",
|
|
2619
2526
|
value: value.value
|
|
2620
|
-
}, null, 8, _hoisted_1$
|
|
2527
|
+
}, null, 8, _hoisted_1$2);
|
|
2621
2528
|
};
|
|
2622
2529
|
}
|
|
2623
2530
|
});
|
|
2624
|
-
var RadioHiddenInput_default = _sfc_main$18;
|
|
2625
|
-
|
|
2626
2531
|
//#endregion
|
|
2627
2532
|
//#region src/components/Radio/RadioIndicator.vue
|
|
2628
|
-
const _sfc_main$
|
|
2533
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
2629
2534
|
name: "RadioIndicator",
|
|
2630
2535
|
__name: "RadioIndicator",
|
|
2631
2536
|
props: {
|
|
@@ -2645,7 +2550,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2645
2550
|
}
|
|
2646
2551
|
}));
|
|
2647
2552
|
return (_ctx, _cache) => {
|
|
2648
|
-
return openBlock(), createBlock(unref(
|
|
2553
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
2649
2554
|
as: __props.as,
|
|
2650
2555
|
renderless: __props.renderless
|
|
2651
2556
|
}), {
|
|
@@ -2655,8 +2560,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2655
2560
|
};
|
|
2656
2561
|
}
|
|
2657
2562
|
});
|
|
2658
|
-
var RadioIndicator_default = _sfc_main$17;
|
|
2659
|
-
|
|
2660
2563
|
//#endregion
|
|
2661
2564
|
//#region src/components/Radio/index.ts
|
|
2662
2565
|
/**
|
|
@@ -2692,15 +2595,14 @@ var RadioIndicator_default = _sfc_main$17;
|
|
|
2692
2595
|
* ```
|
|
2693
2596
|
*/
|
|
2694
2597
|
const Radio = {
|
|
2695
|
-
Group:
|
|
2696
|
-
HiddenInput:
|
|
2697
|
-
Indicator:
|
|
2698
|
-
Root:
|
|
2598
|
+
Group: _sfc_main$28,
|
|
2599
|
+
HiddenInput: _sfc_main$26,
|
|
2600
|
+
Indicator: _sfc_main$25,
|
|
2601
|
+
Root: _sfc_main$27
|
|
2699
2602
|
};
|
|
2700
|
-
|
|
2701
2603
|
//#endregion
|
|
2702
2604
|
//#region src/components/Scrim/Scrim.vue
|
|
2703
|
-
const _sfc_main$
|
|
2605
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
2704
2606
|
name: "Scrim",
|
|
2705
2607
|
inheritAttrs: false,
|
|
2706
2608
|
__name: "Scrim",
|
|
@@ -2738,7 +2640,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2738
2640
|
to: __props.teleportTo
|
|
2739
2641
|
}, [createVNode(TransitionGroup, { name: __props.transition }, {
|
|
2740
2642
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
|
|
2741
|
-
return openBlock(), createBlock(unref(
|
|
2643
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2742
2644
|
key: ticket.id,
|
|
2743
2645
|
as: __props.as,
|
|
2744
2646
|
style: getStyle(ticket)
|
|
@@ -2757,7 +2659,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2757
2659
|
name: __props.transition
|
|
2758
2660
|
}, {
|
|
2759
2661
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(tickets.value, (ticket) => {
|
|
2760
|
-
return openBlock(), createBlock(unref(
|
|
2662
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
2761
2663
|
key: ticket.id,
|
|
2762
2664
|
as: __props.as,
|
|
2763
2665
|
style: getStyle(ticket)
|
|
@@ -2775,12 +2677,10 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2775
2677
|
};
|
|
2776
2678
|
}
|
|
2777
2679
|
});
|
|
2778
|
-
var Scrim_default = _sfc_main$16;
|
|
2779
|
-
|
|
2780
2680
|
//#endregion
|
|
2781
2681
|
//#region src/components/Selection/SelectionRoot.vue
|
|
2782
2682
|
const [useSelectionRoot, provideSelectionRoot] = createContext();
|
|
2783
|
-
const _sfc_main$
|
|
2683
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
2784
2684
|
name: "SelectionRoot",
|
|
2785
2685
|
__name: "SelectionRoot",
|
|
2786
2686
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2830,11 +2730,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2830
2730
|
};
|
|
2831
2731
|
}
|
|
2832
2732
|
});
|
|
2833
|
-
var SelectionRoot_default = _sfc_main$15;
|
|
2834
|
-
|
|
2835
2733
|
//#endregion
|
|
2836
2734
|
//#region src/components/Selection/SelectionItem.vue
|
|
2837
|
-
const _sfc_main$
|
|
2735
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
2838
2736
|
name: "SelectionItem",
|
|
2839
2737
|
__name: "SelectionItem",
|
|
2840
2738
|
props: {
|
|
@@ -2876,8 +2774,6 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2876
2774
|
};
|
|
2877
2775
|
}
|
|
2878
2776
|
});
|
|
2879
|
-
var SelectionItem_default = _sfc_main$14;
|
|
2880
|
-
|
|
2881
2777
|
//#endregion
|
|
2882
2778
|
//#region src/components/Selection/index.ts
|
|
2883
2779
|
/**
|
|
@@ -2886,10 +2782,982 @@ var SelectionItem_default = _sfc_main$14;
|
|
|
2886
2782
|
* @see https://0.vuetifyjs.com/components/selection
|
|
2887
2783
|
*/
|
|
2888
2784
|
const Selection = {
|
|
2889
|
-
Root:
|
|
2890
|
-
Item:
|
|
2785
|
+
Root: _sfc_main$23,
|
|
2786
|
+
Item: _sfc_main$22
|
|
2787
|
+
};
|
|
2788
|
+
//#endregion
|
|
2789
|
+
//#region src/components/Slider/SliderRoot.vue
|
|
2790
|
+
const [useSliderRoot, provideSliderRoot] = createContext();
|
|
2791
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
2792
|
+
name: "SliderRoot",
|
|
2793
|
+
inheritAttrs: false,
|
|
2794
|
+
__name: "SliderRoot",
|
|
2795
|
+
props: /* @__PURE__ */ mergeModels({
|
|
2796
|
+
id: { default: () => useId() },
|
|
2797
|
+
min: { default: 0 },
|
|
2798
|
+
max: { default: 100 },
|
|
2799
|
+
step: { default: 1 },
|
|
2800
|
+
disabled: { default: false },
|
|
2801
|
+
readonly: { default: false },
|
|
2802
|
+
orientation: { default: "horizontal" },
|
|
2803
|
+
inverted: {
|
|
2804
|
+
type: Boolean,
|
|
2805
|
+
default: false
|
|
2806
|
+
},
|
|
2807
|
+
minStepsBetweenThumbs: { default: 0 },
|
|
2808
|
+
crossover: {
|
|
2809
|
+
type: Boolean,
|
|
2810
|
+
default: false
|
|
2811
|
+
},
|
|
2812
|
+
name: {},
|
|
2813
|
+
form: {},
|
|
2814
|
+
namespace: { default: "v0:slider:root" },
|
|
2815
|
+
as: { default: "div" },
|
|
2816
|
+
renderless: { type: Boolean }
|
|
2817
|
+
}, {
|
|
2818
|
+
"modelValue": { default: () => [] },
|
|
2819
|
+
"modelModifiers": {}
|
|
2820
|
+
}),
|
|
2821
|
+
emits: /* @__PURE__ */ mergeModels([
|
|
2822
|
+
"update:model-value",
|
|
2823
|
+
"start",
|
|
2824
|
+
"end"
|
|
2825
|
+
], ["update:modelValue"]),
|
|
2826
|
+
setup(__props, { emit: __emit }) {
|
|
2827
|
+
const attrs = useAttrs();
|
|
2828
|
+
const emit = __emit;
|
|
2829
|
+
const model = useModel(__props, "modelValue");
|
|
2830
|
+
const scalar = !/* @__PURE__ */ isArray(model.value) && !/* @__PURE__ */ isUndefined(model.value);
|
|
2831
|
+
const internal = computed({
|
|
2832
|
+
get: () => /* @__PURE__ */ isArray(model.value) ? model.value : [model.value],
|
|
2833
|
+
set: (arr) => {
|
|
2834
|
+
model.value = scalar ? arr[0] ?? 0 : arr;
|
|
2835
|
+
}
|
|
2836
|
+
});
|
|
2837
|
+
const slider = createSlider({
|
|
2838
|
+
min: __props.min,
|
|
2839
|
+
max: __props.max,
|
|
2840
|
+
step: __props.step,
|
|
2841
|
+
disabled: __props.disabled,
|
|
2842
|
+
readonly: __props.readonly,
|
|
2843
|
+
orientation: __props.orientation,
|
|
2844
|
+
inverted: __props.inverted,
|
|
2845
|
+
minStepsBetweenThumbs: __props.minStepsBetweenThumbs,
|
|
2846
|
+
crossover: __props.crossover
|
|
2847
|
+
});
|
|
2848
|
+
useProxyModel(slider, internal, { multiple: true });
|
|
2849
|
+
const dragging = shallowRef(null);
|
|
2850
|
+
const track = shallowRef(null);
|
|
2851
|
+
const dragOffset = shallowRef(0);
|
|
2852
|
+
function getPercent(e) {
|
|
2853
|
+
const el = track.value;
|
|
2854
|
+
if (!el) return 0;
|
|
2855
|
+
const rect = el.getBoundingClientRect();
|
|
2856
|
+
return toValue(slider.orientation) === "vertical" ? (rect.bottom - e.clientY - dragOffset.value) / rect.height * 100 : (e.clientX - rect.left - dragOffset.value) / rect.width * 100;
|
|
2857
|
+
}
|
|
2858
|
+
useToggleScope(() => !/* @__PURE__ */ isNull(dragging.value), () => {
|
|
2859
|
+
if (IN_BROWSER) document.documentElement.style.touchAction = "none";
|
|
2860
|
+
useDocumentEventListener("pointermove", (e) => {
|
|
2861
|
+
if (/* @__PURE__ */ isNull(dragging.value)) return;
|
|
2862
|
+
const percent = getPercent(e);
|
|
2863
|
+
slider.set(dragging.value, slider.fromPercent(percent));
|
|
2864
|
+
});
|
|
2865
|
+
useDocumentEventListener("pointerup", () => {
|
|
2866
|
+
if (IN_BROWSER) document.documentElement.style.touchAction = "";
|
|
2867
|
+
const values = [...slider.values.value];
|
|
2868
|
+
emit("end", scalar ? values[0] ?? 0 : values);
|
|
2869
|
+
dragging.value = null;
|
|
2870
|
+
dragOffset.value = 0;
|
|
2871
|
+
});
|
|
2872
|
+
});
|
|
2873
|
+
function onDrag(index, event, thumbEl) {
|
|
2874
|
+
if (toValue(__props.disabled)) return;
|
|
2875
|
+
if (toValue(__props.readonly)) return;
|
|
2876
|
+
if (event.button !== 0) return;
|
|
2877
|
+
event.preventDefault();
|
|
2878
|
+
if (thumbEl) {
|
|
2879
|
+
const rect = thumbEl.getBoundingClientRect();
|
|
2880
|
+
dragOffset.value = toValue(slider.orientation) === "vertical" ? event.clientY - (rect.top + rect.height / 2) : event.clientX - (rect.left + rect.width / 2);
|
|
2881
|
+
} else dragOffset.value = 0;
|
|
2882
|
+
dragging.value = index;
|
|
2883
|
+
const values = [...slider.values.value];
|
|
2884
|
+
emit("start", scalar ? values[0] ?? 0 : values);
|
|
2885
|
+
}
|
|
2886
|
+
const context = {
|
|
2887
|
+
...slider,
|
|
2888
|
+
id: __props.id,
|
|
2889
|
+
name: __props.name,
|
|
2890
|
+
form: __props.form,
|
|
2891
|
+
dragging,
|
|
2892
|
+
track,
|
|
2893
|
+
onDrag
|
|
2894
|
+
};
|
|
2895
|
+
provideSliderRoot(__props.namespace, context);
|
|
2896
|
+
const isDisabled = toRef(() => toValue(__props.disabled));
|
|
2897
|
+
const isReadonly = toRef(() => toValue(__props.readonly));
|
|
2898
|
+
const slotProps = toRef(() => ({
|
|
2899
|
+
id: __props.id,
|
|
2900
|
+
values: slider.values.value,
|
|
2901
|
+
min: __props.min,
|
|
2902
|
+
max: __props.max,
|
|
2903
|
+
isDisabled: isDisabled.value,
|
|
2904
|
+
isReadonly: isReadonly.value,
|
|
2905
|
+
orientation: toValue(slider.orientation),
|
|
2906
|
+
attrs: {
|
|
2907
|
+
"data-disabled": isDisabled.value ? true : void 0,
|
|
2908
|
+
"data-readonly": isReadonly.value ? true : void 0,
|
|
2909
|
+
"data-orientation": toValue(slider.orientation)
|
|
2910
|
+
}
|
|
2911
|
+
}));
|
|
2912
|
+
return (_ctx, _cache) => {
|
|
2913
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$68), mergeProps({
|
|
2914
|
+
...unref(attrs),
|
|
2915
|
+
...slotProps.value.attrs
|
|
2916
|
+
}, {
|
|
2917
|
+
as: __props.as,
|
|
2918
|
+
renderless: __props.renderless
|
|
2919
|
+
}), {
|
|
2920
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
2921
|
+
_: 3
|
|
2922
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(slider).values.value, (_, index) => {
|
|
2923
|
+
return openBlock(), createBlock(_sfc_main$20, {
|
|
2924
|
+
key: index,
|
|
2925
|
+
index
|
|
2926
|
+
}, null, 8, ["index"]);
|
|
2927
|
+
}), 128)) : createCommentVNode("v-if", true)], 64);
|
|
2928
|
+
};
|
|
2929
|
+
}
|
|
2930
|
+
});
|
|
2931
|
+
//#endregion
|
|
2932
|
+
//#region src/components/Slider/SliderHiddenInput.vue
|
|
2933
|
+
const _hoisted_1$1 = [
|
|
2934
|
+
"disabled",
|
|
2935
|
+
"form",
|
|
2936
|
+
"name",
|
|
2937
|
+
"value"
|
|
2938
|
+
];
|
|
2939
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
2940
|
+
name: "SliderHiddenInput",
|
|
2941
|
+
__name: "SliderHiddenInput",
|
|
2942
|
+
props: {
|
|
2943
|
+
namespace: { default: "v0:slider:root" },
|
|
2944
|
+
index: { default: 0 }
|
|
2945
|
+
},
|
|
2946
|
+
setup(__props) {
|
|
2947
|
+
const root = useSliderRoot(__props.namespace);
|
|
2948
|
+
const value = toRef(() => root.values.value[__props.index] ?? root.min);
|
|
2949
|
+
const isDisabled = toRef(() => toValue(root.disabled));
|
|
2950
|
+
return (_ctx, _cache) => {
|
|
2951
|
+
return openBlock(), createElementBlock("input", {
|
|
2952
|
+
disabled: isDisabled.value,
|
|
2953
|
+
form: unref(root).form,
|
|
2954
|
+
name: unref(root).name,
|
|
2955
|
+
tabindex: "-1",
|
|
2956
|
+
type: "hidden",
|
|
2957
|
+
value: value.value
|
|
2958
|
+
}, null, 8, _hoisted_1$1);
|
|
2959
|
+
};
|
|
2960
|
+
}
|
|
2961
|
+
});
|
|
2962
|
+
//#endregion
|
|
2963
|
+
//#region src/components/Slider/SliderRange.vue
|
|
2964
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2965
|
+
name: "SliderRange",
|
|
2966
|
+
inheritAttrs: false,
|
|
2967
|
+
__name: "SliderRange",
|
|
2968
|
+
props: {
|
|
2969
|
+
namespace: { default: "v0:slider:root" },
|
|
2970
|
+
as: { default: "span" },
|
|
2971
|
+
renderless: { type: Boolean }
|
|
2972
|
+
},
|
|
2973
|
+
setup(__props) {
|
|
2974
|
+
const attrs = useAttrs();
|
|
2975
|
+
const root = useSliderRoot(__props.namespace);
|
|
2976
|
+
const rawStart = toRef(() => {
|
|
2977
|
+
const values = root.values.value;
|
|
2978
|
+
if (values.length === 0) return 0;
|
|
2979
|
+
if (values.length === 1) return root.fromValue(root.min);
|
|
2980
|
+
return root.fromValue(Math.min(...values));
|
|
2981
|
+
});
|
|
2982
|
+
const rawEnd = toRef(() => {
|
|
2983
|
+
const values = root.values.value;
|
|
2984
|
+
if (values.length === 0) return 0;
|
|
2985
|
+
if (values.length === 1) return root.fromValue(values[0]);
|
|
2986
|
+
return root.fromValue(Math.max(...values));
|
|
2987
|
+
});
|
|
2988
|
+
const start = toRef(() => Math.min(rawStart.value, rawEnd.value));
|
|
2989
|
+
const end = toRef(() => Math.max(rawStart.value, rawEnd.value));
|
|
2990
|
+
const isVertical = toRef(() => toValue(root.orientation) === "vertical");
|
|
2991
|
+
const slotProps = toRef(() => ({
|
|
2992
|
+
start: start.value,
|
|
2993
|
+
end: end.value,
|
|
2994
|
+
attrs: {
|
|
2995
|
+
"data-disabled": toValue(root.disabled) ? true : void 0,
|
|
2996
|
+
"data-readonly": toValue(root.readonly) ? true : void 0,
|
|
2997
|
+
"data-orientation": toValue(root.orientation),
|
|
2998
|
+
"style": {
|
|
2999
|
+
[isVertical.value ? "bottom" : "left"]: `${start.value}%`,
|
|
3000
|
+
[isVertical.value ? "height" : "width"]: `${end.value - start.value}%`
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
}));
|
|
3004
|
+
return (_ctx, _cache) => {
|
|
3005
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
3006
|
+
...unref(attrs),
|
|
3007
|
+
...slotProps.value.attrs
|
|
3008
|
+
}, {
|
|
3009
|
+
as: __props.as,
|
|
3010
|
+
renderless: __props.renderless,
|
|
3011
|
+
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
3012
|
+
}), {
|
|
3013
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3014
|
+
_: 3
|
|
3015
|
+
}, 16, [
|
|
3016
|
+
"as",
|
|
3017
|
+
"renderless",
|
|
3018
|
+
"style"
|
|
3019
|
+
]);
|
|
3020
|
+
};
|
|
3021
|
+
}
|
|
3022
|
+
});
|
|
3023
|
+
//#endregion
|
|
3024
|
+
//#region src/components/Slider/SliderThumb.vue
|
|
3025
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
3026
|
+
name: "SliderThumb",
|
|
3027
|
+
inheritAttrs: false,
|
|
3028
|
+
__name: "SliderThumb",
|
|
3029
|
+
props: {
|
|
3030
|
+
namespace: { default: "v0:slider:root" },
|
|
3031
|
+
ariaLabel: {},
|
|
3032
|
+
ariaLabelledby: {},
|
|
3033
|
+
ariaValuetext: {},
|
|
3034
|
+
as: { default: "span" },
|
|
3035
|
+
renderless: { type: Boolean }
|
|
3036
|
+
},
|
|
3037
|
+
setup(__props) {
|
|
3038
|
+
const attrs = useAttrs();
|
|
3039
|
+
const root = useSliderRoot(__props.namespace);
|
|
3040
|
+
const thumbRef = useTemplateRef("thumb");
|
|
3041
|
+
const ticket = root.register();
|
|
3042
|
+
onUnmounted(() => {
|
|
3043
|
+
root.unregister(ticket.id);
|
|
3044
|
+
});
|
|
3045
|
+
const index = toRef(() => ticket.index);
|
|
3046
|
+
const value = toRef(() => toValue(ticket.value));
|
|
3047
|
+
const pct = toRef(() => root.fromValue(value.value));
|
|
3048
|
+
const isDragging = toRef(() => root.dragging.value === index.value);
|
|
3049
|
+
const isDisabled = toRef(() => toValue(root.disabled));
|
|
3050
|
+
const isReadonly = toRef(() => toValue(root.readonly));
|
|
3051
|
+
const isVertical = toRef(() => toValue(root.orientation) === "vertical");
|
|
3052
|
+
const valueMin = toRef(() => {
|
|
3053
|
+
if (root.crossover) return root.min;
|
|
3054
|
+
const prev = root.values.value[index.value - 1];
|
|
3055
|
+
return /* @__PURE__ */ isUndefined(prev) ? root.min : prev;
|
|
3056
|
+
});
|
|
3057
|
+
const valueMax = toRef(() => {
|
|
3058
|
+
if (root.crossover) return root.max;
|
|
3059
|
+
const next = root.values.value[index.value + 1];
|
|
3060
|
+
return /* @__PURE__ */ isUndefined(next) ? root.max : next;
|
|
3061
|
+
});
|
|
3062
|
+
function onPointerdown(e) {
|
|
3063
|
+
root.onDrag(index.value, e, thumbRef.value?.element ?? void 0);
|
|
3064
|
+
}
|
|
3065
|
+
function onKeydown(e) {
|
|
3066
|
+
if (isDisabled.value || isReadonly.value) return;
|
|
3067
|
+
const isInverted = toValue(root.inverted);
|
|
3068
|
+
const actions = {
|
|
3069
|
+
ArrowRight: () => isInverted ? root.down(index.value) : root.up(index.value),
|
|
3070
|
+
ArrowUp: () => root.up(index.value),
|
|
3071
|
+
ArrowLeft: () => isInverted ? root.up(index.value) : root.down(index.value),
|
|
3072
|
+
ArrowDown: () => root.down(index.value),
|
|
3073
|
+
PageUp: () => root.up(index.value, 10),
|
|
3074
|
+
PageDown: () => root.down(index.value, 10),
|
|
3075
|
+
Home: () => root.floor(index.value),
|
|
3076
|
+
End: () => root.ceil(index.value)
|
|
3077
|
+
};
|
|
3078
|
+
if (e.shiftKey && e.key.startsWith("Arrow")) {
|
|
3079
|
+
e.preventDefault();
|
|
3080
|
+
const base = e.key === "ArrowRight" || e.key === "ArrowUp" ? "up" : "down";
|
|
3081
|
+
root[(e.key === "ArrowRight" || e.key === "ArrowLeft") && isInverted ? base === "up" ? "down" : "up" : base](index.value, 10);
|
|
3082
|
+
return;
|
|
3083
|
+
}
|
|
3084
|
+
const action = actions[e.key];
|
|
3085
|
+
if (!action) return;
|
|
3086
|
+
e.preventDefault();
|
|
3087
|
+
action();
|
|
3088
|
+
}
|
|
3089
|
+
const dataState = toRef(() => isDragging.value ? "dragging" : "idle");
|
|
3090
|
+
const slotProps = toRef(() => ({
|
|
3091
|
+
index: index.value,
|
|
3092
|
+
value: value.value,
|
|
3093
|
+
percent: pct.value,
|
|
3094
|
+
isDragging: isDragging.value,
|
|
3095
|
+
attrs: {
|
|
3096
|
+
"role": "slider",
|
|
3097
|
+
"tabindex": isDisabled.value ? -1 : 0,
|
|
3098
|
+
"aria-valuenow": value.value,
|
|
3099
|
+
"aria-valuemin": valueMin.value,
|
|
3100
|
+
"aria-valuemax": valueMax.value,
|
|
3101
|
+
"aria-valuetext": __props.ariaValuetext || void 0,
|
|
3102
|
+
"aria-orientation": toValue(root.orientation),
|
|
3103
|
+
"aria-disabled": isDisabled.value ? true : void 0,
|
|
3104
|
+
"aria-readonly": isReadonly.value ? true : void 0,
|
|
3105
|
+
"aria-label": __props.ariaLabel || void 0,
|
|
3106
|
+
"aria-labelledby": __props.ariaLabelledby || void 0,
|
|
3107
|
+
"data-state": dataState.value,
|
|
3108
|
+
"data-disabled": isDisabled.value ? true : void 0,
|
|
3109
|
+
"data-readonly": isReadonly.value ? true : void 0,
|
|
3110
|
+
"style": {
|
|
3111
|
+
[isVertical.value ? "bottom" : "left"]: `${pct.value}%`,
|
|
3112
|
+
"touch-action": "none"
|
|
3113
|
+
},
|
|
3114
|
+
"onKeydown": onKeydown,
|
|
3115
|
+
"onPointerdown": onPointerdown
|
|
3116
|
+
}
|
|
3117
|
+
}));
|
|
3118
|
+
return (_ctx, _cache) => {
|
|
3119
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ ref: "thumb" }, {
|
|
3120
|
+
...unref(attrs),
|
|
3121
|
+
...slotProps.value.attrs
|
|
3122
|
+
}, {
|
|
3123
|
+
as: __props.as,
|
|
3124
|
+
renderless: __props.renderless,
|
|
3125
|
+
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
3126
|
+
}), {
|
|
3127
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3128
|
+
_: 3
|
|
3129
|
+
}, 16, [
|
|
3130
|
+
"as",
|
|
3131
|
+
"renderless",
|
|
3132
|
+
"style"
|
|
3133
|
+
]);
|
|
3134
|
+
};
|
|
3135
|
+
}
|
|
3136
|
+
});
|
|
3137
|
+
//#endregion
|
|
3138
|
+
//#region src/components/Slider/SliderTrack.vue
|
|
3139
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
3140
|
+
name: "SliderTrack",
|
|
3141
|
+
inheritAttrs: false,
|
|
3142
|
+
__name: "SliderTrack",
|
|
3143
|
+
props: {
|
|
3144
|
+
namespace: { default: "v0:slider:root" },
|
|
3145
|
+
as: { default: "div" },
|
|
3146
|
+
renderless: { type: Boolean }
|
|
3147
|
+
},
|
|
3148
|
+
setup(__props) {
|
|
3149
|
+
const attrs = useAttrs();
|
|
3150
|
+
const root = useSliderRoot(__props.namespace);
|
|
3151
|
+
const trackRef = useTemplateRef("track");
|
|
3152
|
+
watchEffect(() => {
|
|
3153
|
+
root.track.value = trackRef.value?.element ?? null;
|
|
3154
|
+
});
|
|
3155
|
+
function nearest(value) {
|
|
3156
|
+
let closest = 0;
|
|
3157
|
+
let distance = Infinity;
|
|
3158
|
+
for (let index = 0; index < root.values.value.length; index++) {
|
|
3159
|
+
const d = Math.abs(root.values.value[index] - value);
|
|
3160
|
+
if (d < distance) {
|
|
3161
|
+
distance = d;
|
|
3162
|
+
closest = index;
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
return closest;
|
|
3166
|
+
}
|
|
3167
|
+
function onPointerdown(e) {
|
|
3168
|
+
if (toValue(root.disabled)) return;
|
|
3169
|
+
if (toValue(root.readonly)) return;
|
|
3170
|
+
if (e.button !== 0) return;
|
|
3171
|
+
const el = trackRef.value?.element;
|
|
3172
|
+
if (!el) return;
|
|
3173
|
+
const rect = el.getBoundingClientRect();
|
|
3174
|
+
const percent = toValue(root.orientation) === "vertical" ? (rect.bottom - e.clientY) / rect.height * 100 : (e.clientX - rect.left) / rect.width * 100;
|
|
3175
|
+
const value = root.fromPercent(percent);
|
|
3176
|
+
const index = nearest(value);
|
|
3177
|
+
root.set(index, value);
|
|
3178
|
+
root.onDrag(index, e);
|
|
3179
|
+
}
|
|
3180
|
+
const slotProps = toRef(() => ({ attrs: {
|
|
3181
|
+
"data-disabled": toValue(root.disabled) ? true : void 0,
|
|
3182
|
+
"data-readonly": toValue(root.readonly) ? true : void 0,
|
|
3183
|
+
"data-orientation": toValue(root.orientation),
|
|
3184
|
+
"style": { "touch-action": "none" },
|
|
3185
|
+
"onPointerdown": onPointerdown
|
|
3186
|
+
} }));
|
|
3187
|
+
return (_ctx, _cache) => {
|
|
3188
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ ref: "track" }, {
|
|
3189
|
+
...unref(attrs),
|
|
3190
|
+
...slotProps.value.attrs
|
|
3191
|
+
}, {
|
|
3192
|
+
as: __props.as,
|
|
3193
|
+
renderless: __props.renderless,
|
|
3194
|
+
style: [unref(attrs).style, slotProps.value.attrs.style]
|
|
3195
|
+
}), {
|
|
3196
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3197
|
+
_: 3
|
|
3198
|
+
}, 16, [
|
|
3199
|
+
"as",
|
|
3200
|
+
"renderless",
|
|
3201
|
+
"style"
|
|
3202
|
+
]);
|
|
3203
|
+
};
|
|
3204
|
+
}
|
|
3205
|
+
});
|
|
3206
|
+
//#endregion
|
|
3207
|
+
//#region src/components/Slider/index.ts
|
|
3208
|
+
/**
|
|
3209
|
+
* Slider component with sub-components for range input controls.
|
|
3210
|
+
*
|
|
3211
|
+
* @see https://0.vuetifyjs.com/components/slider
|
|
3212
|
+
*
|
|
3213
|
+
* @example
|
|
3214
|
+
* ```vue
|
|
3215
|
+
* <script setup lang="ts">
|
|
3216
|
+
* import { Slider } from '@vuetify/v0'
|
|
3217
|
+
* import { ref } from 'vue'
|
|
3218
|
+
*
|
|
3219
|
+
* const value = ref([50])
|
|
3220
|
+
* <\/script>
|
|
3221
|
+
*
|
|
3222
|
+
* <template>
|
|
3223
|
+
* <Slider.Root v-model="value" :min="0" :max="100">
|
|
3224
|
+
* <Slider.Track>
|
|
3225
|
+
* <Slider.Range />
|
|
3226
|
+
* </Slider.Track>
|
|
3227
|
+
* <Slider.Thumb />
|
|
3228
|
+
* </Slider.Root>
|
|
3229
|
+
* </template>
|
|
3230
|
+
* ```
|
|
3231
|
+
*/
|
|
3232
|
+
const Slider = {
|
|
3233
|
+
Root: _sfc_main$21,
|
|
3234
|
+
Track: _sfc_main$17,
|
|
3235
|
+
Range: _sfc_main$19,
|
|
3236
|
+
Thumb: _sfc_main$18,
|
|
3237
|
+
HiddenInput: _sfc_main$20
|
|
3238
|
+
};
|
|
3239
|
+
//#endregion
|
|
3240
|
+
//#region src/components/Splitter/SplitterRoot.vue
|
|
3241
|
+
const [useSplitterRoot, provideSplitterRoot] = createContext("v0:splitter");
|
|
3242
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
3243
|
+
name: "SplitterRoot",
|
|
3244
|
+
inheritAttrs: false,
|
|
3245
|
+
__name: "SplitterRoot",
|
|
3246
|
+
props: {
|
|
3247
|
+
orientation: { default: "horizontal" },
|
|
3248
|
+
disabled: {
|
|
3249
|
+
type: Boolean,
|
|
3250
|
+
default: false
|
|
3251
|
+
},
|
|
3252
|
+
as: { default: "div" },
|
|
3253
|
+
renderless: { type: Boolean }
|
|
3254
|
+
},
|
|
3255
|
+
emits: ["layout"],
|
|
3256
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3257
|
+
const attrs = useAttrs();
|
|
3258
|
+
const emit = __emit;
|
|
3259
|
+
const rootAtom = useTemplateRef("root");
|
|
3260
|
+
const rootEl = toRef(() => rootAtom.value?.element ?? null);
|
|
3261
|
+
const draggingHandle = shallowRef(null);
|
|
3262
|
+
const dragging = toRef(() => !/* @__PURE__ */ isNull(draggingHandle.value));
|
|
3263
|
+
const panels = createSelection({
|
|
3264
|
+
multiple: true,
|
|
3265
|
+
enroll: true,
|
|
3266
|
+
reactive: true
|
|
3267
|
+
});
|
|
3268
|
+
const handles = createRegistry();
|
|
3269
|
+
watch(() => panels.collection.size, (size, prev) => {
|
|
3270
|
+
const values = panels.values();
|
|
3271
|
+
if (values.length === 0) return;
|
|
3272
|
+
const total = values.reduce((sum, t) => sum + t.size, 0);
|
|
3273
|
+
if (total === 0 || total === 100) return;
|
|
3274
|
+
distribute(!/* @__PURE__ */ isUndefined(prev) && size > prev ? values.map((t) => t.defaultSize) : values.map((t) => t.size));
|
|
3275
|
+
}, { flush: "post" });
|
|
3276
|
+
function panel(index) {
|
|
3277
|
+
const id = panels.lookup(index);
|
|
3278
|
+
return /* @__PURE__ */ isNullOrUndefined(id) ? void 0 : panels.get(id);
|
|
3279
|
+
}
|
|
3280
|
+
function effectiveMin(ticket) {
|
|
3281
|
+
return ticket.collapsible && !toValue(ticket.isSelected) ? ticket.collapsedSize : ticket.minSize;
|
|
3282
|
+
}
|
|
3283
|
+
function resize(index, delta, options) {
|
|
3284
|
+
const before = panel(index);
|
|
3285
|
+
const after = panel(index + 1);
|
|
3286
|
+
if (!before || !after) return;
|
|
3287
|
+
const total = before.size + after.size;
|
|
3288
|
+
const min1 = effectiveMin(before);
|
|
3289
|
+
const min2 = effectiveMin(after);
|
|
3290
|
+
const lower = Math.max(min1, total - after.maxSize);
|
|
3291
|
+
const upper = Math.min(before.maxSize, total - min2);
|
|
3292
|
+
const size = /* @__PURE__ */ clamp(before.size + delta, lower, upper);
|
|
3293
|
+
before.size = size;
|
|
3294
|
+
after.size = total - size;
|
|
3295
|
+
for (const p of [before, after]) {
|
|
3296
|
+
if (!p.collapsible) continue;
|
|
3297
|
+
const collapsed = !toValue(p.isSelected);
|
|
3298
|
+
if (!collapsed && p.size <= p.collapsedSize) p.unselect();
|
|
3299
|
+
else if (collapsed && p.size > p.collapsedSize) p.select();
|
|
3300
|
+
}
|
|
3301
|
+
if (options?.emit) emitLayout();
|
|
3302
|
+
}
|
|
3303
|
+
function collapse(index, neighborIndex) {
|
|
3304
|
+
const ticket = panel(index);
|
|
3305
|
+
if (!ticket?.collapsible || !toValue(ticket.isSelected)) return;
|
|
3306
|
+
const neighbor = panel(neighborIndex ?? (index > 0 ? index - 1 : index + 1));
|
|
3307
|
+
if (!neighbor) return;
|
|
3308
|
+
const diff = ticket.size - ticket.collapsedSize;
|
|
3309
|
+
const absorbed = Math.min(diff, neighbor.maxSize - neighbor.size);
|
|
3310
|
+
neighbor.size += absorbed;
|
|
3311
|
+
ticket.size = ticket.collapsedSize;
|
|
3312
|
+
let remaining = diff - absorbed;
|
|
3313
|
+
if (remaining > 0) for (const p of panels.values()) {
|
|
3314
|
+
if (p.id === ticket.id || p.id === neighbor.id || remaining <= 0) continue;
|
|
3315
|
+
const room = p.maxSize - p.size;
|
|
3316
|
+
const take = Math.min(remaining, room);
|
|
3317
|
+
p.size += take;
|
|
3318
|
+
remaining -= take;
|
|
3319
|
+
}
|
|
3320
|
+
if (remaining > 0) ticket.size += remaining;
|
|
3321
|
+
if (ticket.size <= ticket.collapsedSize) ticket.unselect();
|
|
3322
|
+
emitLayout();
|
|
3323
|
+
}
|
|
3324
|
+
function expand(index, neighborIndex) {
|
|
3325
|
+
const ticket = panel(index);
|
|
3326
|
+
if (!ticket?.collapsible || toValue(ticket.isSelected)) return;
|
|
3327
|
+
const neighbor = panel(neighborIndex ?? (index > 0 ? index - 1 : index + 1));
|
|
3328
|
+
if (!neighbor) return;
|
|
3329
|
+
const diff = Math.min(ticket.defaultSize, ticket.maxSize) - ticket.collapsedSize;
|
|
3330
|
+
const available = neighbor.size - neighbor.minSize;
|
|
3331
|
+
const take = Math.min(diff, available);
|
|
3332
|
+
if (ticket.collapsedSize + take < ticket.minSize) return;
|
|
3333
|
+
neighbor.size -= take;
|
|
3334
|
+
ticket.size = ticket.collapsedSize + take;
|
|
3335
|
+
ticket.select();
|
|
3336
|
+
emitLayout();
|
|
3337
|
+
}
|
|
3338
|
+
function distribute(incoming) {
|
|
3339
|
+
const values = panels.values();
|
|
3340
|
+
if (incoming.length !== values.length) return;
|
|
3341
|
+
for (const [index, ticket] of values.entries()) {
|
|
3342
|
+
const value = incoming[index];
|
|
3343
|
+
ticket.size = /* @__PURE__ */ clamp(value, ticket.collapsible && value <= ticket.collapsedSize ? ticket.collapsedSize : ticket.minSize, ticket.maxSize);
|
|
3344
|
+
}
|
|
3345
|
+
let remainder = 100 - values.reduce((sum, t) => sum + t.size, 0);
|
|
3346
|
+
for (const ticket of values) {
|
|
3347
|
+
if (remainder === 0) break;
|
|
3348
|
+
const min = ticket.collapsible && ticket.size <= ticket.collapsedSize ? ticket.collapsedSize : ticket.minSize;
|
|
3349
|
+
const room = remainder > 0 ? ticket.maxSize - ticket.size : ticket.size - min;
|
|
3350
|
+
const adjust = remainder > 0 ? Math.min(remainder, room) : Math.max(remainder, -room);
|
|
3351
|
+
ticket.size += adjust;
|
|
3352
|
+
remainder -= adjust;
|
|
3353
|
+
}
|
|
3354
|
+
for (const ticket of values) {
|
|
3355
|
+
if (!ticket.collapsible) continue;
|
|
3356
|
+
const collapsed = !toValue(ticket.isSelected);
|
|
3357
|
+
if (!collapsed && ticket.size <= ticket.collapsedSize) ticket.unselect();
|
|
3358
|
+
else if (collapsed && ticket.size > ticket.collapsedSize) ticket.select();
|
|
3359
|
+
}
|
|
3360
|
+
emit("layout", values.map((t) => t.size));
|
|
3361
|
+
}
|
|
3362
|
+
function onStartDrag(index) {
|
|
3363
|
+
draggingHandle.value = index;
|
|
3364
|
+
}
|
|
3365
|
+
function onEndDrag() {
|
|
3366
|
+
draggingHandle.value = null;
|
|
3367
|
+
emitLayout();
|
|
3368
|
+
}
|
|
3369
|
+
function emitLayout() {
|
|
3370
|
+
emit("layout", panels.values().map((t) => t.size));
|
|
3371
|
+
}
|
|
3372
|
+
provideSplitterRoot({
|
|
3373
|
+
orientation: toRef(() => __props.orientation),
|
|
3374
|
+
disabled: toRef(() => __props.disabled),
|
|
3375
|
+
panels,
|
|
3376
|
+
handles,
|
|
3377
|
+
dragging,
|
|
3378
|
+
draggingHandle,
|
|
3379
|
+
rootEl,
|
|
3380
|
+
panel,
|
|
3381
|
+
resize,
|
|
3382
|
+
onStartDrag,
|
|
3383
|
+
onEndDrag,
|
|
3384
|
+
collapse,
|
|
3385
|
+
expand,
|
|
3386
|
+
distribute
|
|
3387
|
+
});
|
|
3388
|
+
__expose({ distribute });
|
|
3389
|
+
const slotProps = toRef(() => ({
|
|
3390
|
+
orientation: __props.orientation,
|
|
3391
|
+
isDisabled: __props.disabled,
|
|
3392
|
+
sizes: panels.values().map((t) => t.size),
|
|
3393
|
+
isDragging: dragging.value,
|
|
3394
|
+
distribute,
|
|
3395
|
+
attrs: {
|
|
3396
|
+
"data-orientation": __props.orientation,
|
|
3397
|
+
"data-dragging": dragging.value || void 0
|
|
3398
|
+
}
|
|
3399
|
+
}));
|
|
3400
|
+
return (_ctx, _cache) => {
|
|
3401
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ ref: "root" }, {
|
|
3402
|
+
...unref(attrs),
|
|
3403
|
+
...slotProps.value.attrs
|
|
3404
|
+
}, {
|
|
3405
|
+
as: __props.as,
|
|
3406
|
+
renderless: __props.renderless,
|
|
3407
|
+
style: {
|
|
3408
|
+
display: "flex",
|
|
3409
|
+
flexDirection: __props.orientation === "horizontal" ? "row" : "column"
|
|
3410
|
+
}
|
|
3411
|
+
}), {
|
|
3412
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3413
|
+
_: 3
|
|
3414
|
+
}, 16, [
|
|
3415
|
+
"as",
|
|
3416
|
+
"renderless",
|
|
3417
|
+
"style"
|
|
3418
|
+
]);
|
|
3419
|
+
};
|
|
3420
|
+
}
|
|
3421
|
+
});
|
|
3422
|
+
//#endregion
|
|
3423
|
+
//#region src/components/Splitter/SplitterPanel.vue
|
|
3424
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3425
|
+
name: "SplitterPanel",
|
|
3426
|
+
inheritAttrs: false,
|
|
3427
|
+
__name: "SplitterPanel",
|
|
3428
|
+
props: /* @__PURE__ */ mergeModels({
|
|
3429
|
+
defaultSize: {},
|
|
3430
|
+
minSize: { default: 0 },
|
|
3431
|
+
maxSize: { default: 100 },
|
|
3432
|
+
collapsible: {
|
|
3433
|
+
type: Boolean,
|
|
3434
|
+
default: false
|
|
3435
|
+
},
|
|
3436
|
+
collapsedSize: { default: 0 },
|
|
3437
|
+
as: { default: "div" },
|
|
3438
|
+
renderless: { type: Boolean }
|
|
3439
|
+
}, {
|
|
3440
|
+
"collapsed": {
|
|
3441
|
+
type: Boolean,
|
|
3442
|
+
default: void 0
|
|
3443
|
+
},
|
|
3444
|
+
"collapsedModifiers": {}
|
|
3445
|
+
}),
|
|
3446
|
+
emits: /* @__PURE__ */ mergeModels(["update:collapsed", "resize"], ["update:collapsed"]),
|
|
3447
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3448
|
+
const attrs = useAttrs();
|
|
3449
|
+
const collapsed = useModel(__props, "collapsed");
|
|
3450
|
+
const emit = __emit;
|
|
3451
|
+
const splitter = useSplitterRoot();
|
|
3452
|
+
const panelId = /* @__PURE__ */ useId$1();
|
|
3453
|
+
const ticket = splitter.panels.register({
|
|
3454
|
+
id: panelId,
|
|
3455
|
+
size: __props.defaultSize,
|
|
3456
|
+
minSize: __props.minSize,
|
|
3457
|
+
maxSize: __props.maxSize,
|
|
3458
|
+
collapsible: __props.collapsible,
|
|
3459
|
+
collapsedSize: __props.collapsedSize,
|
|
3460
|
+
defaultSize: __props.defaultSize
|
|
3461
|
+
});
|
|
3462
|
+
watchEffect(() => {
|
|
3463
|
+
ticket.minSize = __props.minSize;
|
|
3464
|
+
ticket.maxSize = __props.maxSize;
|
|
3465
|
+
ticket.collapsible = __props.collapsible;
|
|
3466
|
+
ticket.collapsedSize = __props.collapsedSize;
|
|
3467
|
+
ticket.defaultSize = __props.defaultSize;
|
|
3468
|
+
});
|
|
3469
|
+
onUnmounted(() => {
|
|
3470
|
+
splitter.panels.unregister(ticket.id);
|
|
3471
|
+
});
|
|
3472
|
+
const size = toRef(() => ticket.size);
|
|
3473
|
+
const isCollapsed = toRef(() => __props.collapsible && !toValue(ticket.isSelected));
|
|
3474
|
+
function collapse() {
|
|
3475
|
+
splitter.collapse(ticket.index);
|
|
3476
|
+
}
|
|
3477
|
+
function expand() {
|
|
3478
|
+
splitter.expand(ticket.index);
|
|
3479
|
+
}
|
|
3480
|
+
__expose({
|
|
3481
|
+
collapse,
|
|
3482
|
+
expand,
|
|
3483
|
+
size,
|
|
3484
|
+
isCollapsed
|
|
3485
|
+
});
|
|
3486
|
+
watch(collapsed, (val) => {
|
|
3487
|
+
if (val === void 0) return;
|
|
3488
|
+
if (val && !isCollapsed.value) collapse();
|
|
3489
|
+
else if (!val && isCollapsed.value) expand();
|
|
3490
|
+
}, {
|
|
3491
|
+
immediate: true,
|
|
3492
|
+
flush: "post"
|
|
3493
|
+
});
|
|
3494
|
+
watch(isCollapsed, (val) => {
|
|
3495
|
+
if (collapsed.value === void 0) return;
|
|
3496
|
+
collapsed.value = val;
|
|
3497
|
+
});
|
|
3498
|
+
watch(size, (val) => emit("resize", val));
|
|
3499
|
+
const slotProps = toRef(() => ({
|
|
3500
|
+
size: size.value,
|
|
3501
|
+
isCollapsed: isCollapsed.value,
|
|
3502
|
+
collapse,
|
|
3503
|
+
expand,
|
|
3504
|
+
attrs: {
|
|
3505
|
+
"id": panelId,
|
|
3506
|
+
"data-orientation": splitter.orientation.value,
|
|
3507
|
+
"data-panel-index": ticket.index,
|
|
3508
|
+
"data-collapsed": isCollapsed.value || void 0
|
|
3509
|
+
}
|
|
3510
|
+
}));
|
|
3511
|
+
return (_ctx, _cache) => {
|
|
3512
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
3513
|
+
...unref(attrs),
|
|
3514
|
+
...slotProps.value.attrs
|
|
3515
|
+
}, {
|
|
3516
|
+
as: __props.as,
|
|
3517
|
+
renderless: __props.renderless,
|
|
3518
|
+
style: {
|
|
3519
|
+
flexGrow: 0,
|
|
3520
|
+
flexShrink: 0,
|
|
3521
|
+
flexBasis: `${size.value}%`,
|
|
3522
|
+
overflow: "hidden"
|
|
3523
|
+
}
|
|
3524
|
+
}), {
|
|
3525
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3526
|
+
_: 3
|
|
3527
|
+
}, 16, [
|
|
3528
|
+
"as",
|
|
3529
|
+
"renderless",
|
|
3530
|
+
"style"
|
|
3531
|
+
]);
|
|
3532
|
+
};
|
|
3533
|
+
}
|
|
3534
|
+
});
|
|
3535
|
+
//#endregion
|
|
3536
|
+
//#region src/components/Splitter/SplitterHandle.vue
|
|
3537
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3538
|
+
name: "SplitterHandle",
|
|
3539
|
+
inheritAttrs: false,
|
|
3540
|
+
__name: "SplitterHandle",
|
|
3541
|
+
props: {
|
|
3542
|
+
disabled: {
|
|
3543
|
+
type: Boolean,
|
|
3544
|
+
default: false
|
|
3545
|
+
},
|
|
3546
|
+
label: {},
|
|
3547
|
+
as: { default: "div" },
|
|
3548
|
+
renderless: { type: Boolean }
|
|
3549
|
+
},
|
|
3550
|
+
setup(__props) {
|
|
3551
|
+
const attrs = useAttrs();
|
|
3552
|
+
const ARROW_STEP = 1;
|
|
3553
|
+
const PAGE_STEP = 10;
|
|
3554
|
+
const splitter = useSplitterRoot();
|
|
3555
|
+
const ticket = splitter.handles.register();
|
|
3556
|
+
onUnmounted(() => {
|
|
3557
|
+
splitter.handles.unregister(ticket.id);
|
|
3558
|
+
});
|
|
3559
|
+
const hovering = shallowRef(false);
|
|
3560
|
+
const startPosition = shallowRef(0);
|
|
3561
|
+
let rafId = 0;
|
|
3562
|
+
let latestPos = 0;
|
|
3563
|
+
const isDisabled = toRef(() => __props.disabled || splitter.disabled.value);
|
|
3564
|
+
const isHorizontal = toRef(() => splitter.orientation.value === "horizontal");
|
|
3565
|
+
const state = toRef(() => {
|
|
3566
|
+
if (splitter.draggingHandle.value === ticket.index) return "drag";
|
|
3567
|
+
if (hovering.value) return "hover";
|
|
3568
|
+
return "inactive";
|
|
3569
|
+
});
|
|
3570
|
+
const valuenow = toRef(() => Math.round(splitter.panel(ticket.index)?.size ?? 0));
|
|
3571
|
+
const valuemin = toRef(() => {
|
|
3572
|
+
const p = splitter.panel(ticket.index);
|
|
3573
|
+
if (!p) return 0;
|
|
3574
|
+
return p.collapsible ? p.collapsedSize : p.minSize;
|
|
3575
|
+
});
|
|
3576
|
+
const valuemax = toRef(() => {
|
|
3577
|
+
const p = splitter.panel(ticket.index);
|
|
3578
|
+
const adjacent = splitter.panel(ticket.index + 1);
|
|
3579
|
+
if (!p || !adjacent) return 100;
|
|
3580
|
+
const adjMin = adjacent.collapsible ? adjacent.collapsedSize : adjacent.minSize;
|
|
3581
|
+
return Math.min(p.maxSize, p.size + adjacent.size - adjMin);
|
|
3582
|
+
});
|
|
3583
|
+
function onPointerDown(e) {
|
|
3584
|
+
if (isDisabled.value) return;
|
|
3585
|
+
e.currentTarget.setPointerCapture(e.pointerId);
|
|
3586
|
+
startPosition.value = isHorizontal.value ? e.clientX : e.clientY;
|
|
3587
|
+
if (IN_BROWSER) {
|
|
3588
|
+
document.documentElement.style.userSelect = "none";
|
|
3589
|
+
document.documentElement.style.touchAction = "none";
|
|
3590
|
+
}
|
|
3591
|
+
splitter.onStartDrag(ticket.index);
|
|
3592
|
+
}
|
|
3593
|
+
useToggleScope(() => splitter.draggingHandle.value === ticket.index, () => {
|
|
3594
|
+
useDocumentEventListener("pointermove", (e) => {
|
|
3595
|
+
latestPos = isHorizontal.value ? e.clientX : e.clientY;
|
|
3596
|
+
if (rafId) return;
|
|
3597
|
+
rafId = requestAnimationFrame(() => {
|
|
3598
|
+
const root = splitter.rootEl.value;
|
|
3599
|
+
if (!root) return;
|
|
3600
|
+
const rootSize = isHorizontal.value ? root.offsetWidth : root.offsetHeight;
|
|
3601
|
+
if (!rootSize) return;
|
|
3602
|
+
const delta = (latestPos - startPosition.value) / rootSize * 100;
|
|
3603
|
+
startPosition.value = latestPos;
|
|
3604
|
+
splitter.resize(ticket.index, delta);
|
|
3605
|
+
rafId = 0;
|
|
3606
|
+
});
|
|
3607
|
+
});
|
|
3608
|
+
useDocumentEventListener("pointerup", () => {
|
|
3609
|
+
if (rafId) cancelAnimationFrame(rafId);
|
|
3610
|
+
rafId = 0;
|
|
3611
|
+
if (IN_BROWSER) {
|
|
3612
|
+
document.documentElement.style.userSelect = "";
|
|
3613
|
+
document.documentElement.style.touchAction = "";
|
|
3614
|
+
}
|
|
3615
|
+
splitter.onEndDrag();
|
|
3616
|
+
});
|
|
3617
|
+
onScopeDispose(() => {
|
|
3618
|
+
if (rafId) cancelAnimationFrame(rafId);
|
|
3619
|
+
rafId = 0;
|
|
3620
|
+
splitter.onEndDrag();
|
|
3621
|
+
if (IN_BROWSER) {
|
|
3622
|
+
document.documentElement.style.userSelect = "";
|
|
3623
|
+
document.documentElement.style.touchAction = "";
|
|
3624
|
+
}
|
|
3625
|
+
});
|
|
3626
|
+
});
|
|
3627
|
+
function onKeydown(e) {
|
|
3628
|
+
if (isDisabled.value) return;
|
|
3629
|
+
const forward = isHorizontal.value ? "ArrowRight" : "ArrowDown";
|
|
3630
|
+
const backward = isHorizontal.value ? "ArrowLeft" : "ArrowUp";
|
|
3631
|
+
switch (e.key) {
|
|
3632
|
+
case forward:
|
|
3633
|
+
e.preventDefault();
|
|
3634
|
+
splitter.resize(ticket.index, ARROW_STEP, { emit: true });
|
|
3635
|
+
break;
|
|
3636
|
+
case backward:
|
|
3637
|
+
e.preventDefault();
|
|
3638
|
+
splitter.resize(ticket.index, -ARROW_STEP, { emit: true });
|
|
3639
|
+
break;
|
|
3640
|
+
case "PageDown":
|
|
3641
|
+
e.preventDefault();
|
|
3642
|
+
splitter.resize(ticket.index, PAGE_STEP, { emit: true });
|
|
3643
|
+
break;
|
|
3644
|
+
case "PageUp":
|
|
3645
|
+
e.preventDefault();
|
|
3646
|
+
splitter.resize(ticket.index, -PAGE_STEP, { emit: true });
|
|
3647
|
+
break;
|
|
3648
|
+
case "Home": {
|
|
3649
|
+
e.preventDefault();
|
|
3650
|
+
const p = splitter.panel(ticket.index);
|
|
3651
|
+
if (p?.collapsible) splitter.collapse(ticket.index, ticket.index + 1);
|
|
3652
|
+
else {
|
|
3653
|
+
const current = p?.size ?? 0;
|
|
3654
|
+
splitter.resize(ticket.index, valuemin.value - current, { emit: true });
|
|
3655
|
+
}
|
|
3656
|
+
break;
|
|
3657
|
+
}
|
|
3658
|
+
case "End": {
|
|
3659
|
+
e.preventDefault();
|
|
3660
|
+
const p = splitter.panel(ticket.index);
|
|
3661
|
+
if (p?.collapsible && !toValue(p.isSelected)) splitter.expand(ticket.index, ticket.index + 1);
|
|
3662
|
+
else {
|
|
3663
|
+
const current = p?.size ?? 0;
|
|
3664
|
+
splitter.resize(ticket.index, valuemax.value - current, { emit: true });
|
|
3665
|
+
}
|
|
3666
|
+
break;
|
|
3667
|
+
}
|
|
3668
|
+
case "Enter": {
|
|
3669
|
+
e.preventDefault();
|
|
3670
|
+
const p = splitter.panel(ticket.index);
|
|
3671
|
+
if (!p?.collapsible) break;
|
|
3672
|
+
if (toValue(p.isSelected)) splitter.collapse(ticket.index, ticket.index + 1);
|
|
3673
|
+
else splitter.expand(ticket.index, ticket.index + 1);
|
|
3674
|
+
break;
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
function onPointerEnter() {
|
|
3679
|
+
hovering.value = true;
|
|
3680
|
+
}
|
|
3681
|
+
function onPointerLeave() {
|
|
3682
|
+
hovering.value = false;
|
|
3683
|
+
}
|
|
3684
|
+
const ariaOrientation = toRef(() => splitter.orientation.value === "horizontal" ? "vertical" : "horizontal");
|
|
3685
|
+
const ariaControls = toRef(() => {
|
|
3686
|
+
const p = splitter.panel(ticket.index);
|
|
3687
|
+
return /* @__PURE__ */ isNullOrUndefined(p) ? void 0 : String(p.id);
|
|
3688
|
+
});
|
|
3689
|
+
const slotProps = toRef(() => ({
|
|
3690
|
+
isDragging: splitter.draggingHandle.value === ticket.index,
|
|
3691
|
+
isDisabled: isDisabled.value,
|
|
3692
|
+
state: state.value,
|
|
3693
|
+
attrs: {
|
|
3694
|
+
"role": "separator",
|
|
3695
|
+
"tabindex": isDisabled.value ? -1 : 0,
|
|
3696
|
+
"aria-valuenow": valuenow.value,
|
|
3697
|
+
"aria-valuemin": valuemin.value,
|
|
3698
|
+
"aria-valuemax": valuemax.value,
|
|
3699
|
+
"aria-orientation": ariaOrientation.value,
|
|
3700
|
+
"aria-controls": ariaControls.value,
|
|
3701
|
+
"aria-label": __props.label || void 0,
|
|
3702
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
3703
|
+
"data-state": state.value,
|
|
3704
|
+
"data-orientation": splitter.orientation.value,
|
|
3705
|
+
"data-disabled": isDisabled.value || void 0,
|
|
3706
|
+
"style": { "touch-action": "none" },
|
|
3707
|
+
"onPointerdown": onPointerDown,
|
|
3708
|
+
"onPointerenter": onPointerEnter,
|
|
3709
|
+
"onPointerleave": onPointerLeave,
|
|
3710
|
+
"onKeydown": onKeydown
|
|
3711
|
+
}
|
|
3712
|
+
}));
|
|
3713
|
+
return (_ctx, _cache) => {
|
|
3714
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
3715
|
+
...unref(attrs),
|
|
3716
|
+
...slotProps.value.attrs
|
|
3717
|
+
}, {
|
|
3718
|
+
as: __props.as,
|
|
3719
|
+
renderless: __props.renderless,
|
|
3720
|
+
style: { flexShrink: 0 }
|
|
3721
|
+
}), {
|
|
3722
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3723
|
+
_: 3
|
|
3724
|
+
}, 16, ["as", "renderless"]);
|
|
3725
|
+
};
|
|
3726
|
+
}
|
|
3727
|
+
});
|
|
3728
|
+
//#endregion
|
|
3729
|
+
//#region src/components/Splitter/index.ts
|
|
3730
|
+
/**
|
|
3731
|
+
* Splitter component with sub-components for building resizable panel layouts.
|
|
3732
|
+
*
|
|
3733
|
+
* @see https://0.vuetifyjs.com/components/splitter
|
|
3734
|
+
*
|
|
3735
|
+
* @example
|
|
3736
|
+
* ```vue
|
|
3737
|
+
* <script lang="ts" setup>
|
|
3738
|
+
* import { Splitter } from '@vuetify/v0'
|
|
3739
|
+
* <\/script>
|
|
3740
|
+
*
|
|
3741
|
+
* <template>
|
|
3742
|
+
* <Splitter.Root orientation="horizontal">
|
|
3743
|
+
* <Splitter.Panel :default-size="60" :min-size="20">
|
|
3744
|
+
* Left content
|
|
3745
|
+
* </Splitter.Panel>
|
|
3746
|
+
*
|
|
3747
|
+
* <Splitter.Handle />
|
|
3748
|
+
*
|
|
3749
|
+
* <Splitter.Panel :default-size="40" :min-size="20">
|
|
3750
|
+
* Right content
|
|
3751
|
+
* </Splitter.Panel>
|
|
3752
|
+
* </Splitter.Root>
|
|
3753
|
+
* </template>
|
|
3754
|
+
* ```
|
|
3755
|
+
*/
|
|
3756
|
+
const Splitter = {
|
|
3757
|
+
Root: _sfc_main$16,
|
|
3758
|
+
Panel: _sfc_main$15,
|
|
3759
|
+
Handle: _sfc_main$14
|
|
2891
3760
|
};
|
|
2892
|
-
|
|
2893
3761
|
//#endregion
|
|
2894
3762
|
//#region src/components/Switch/SwitchGroup.vue
|
|
2895
3763
|
const [useSwitchGroup, provideSwitchGroup] = createContext();
|
|
@@ -2949,7 +3817,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
2949
3817
|
}
|
|
2950
3818
|
}));
|
|
2951
3819
|
return (_ctx, _cache) => {
|
|
2952
|
-
return openBlock(), createBlock(unref(
|
|
3820
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
2953
3821
|
as: __props.as,
|
|
2954
3822
|
renderless: __props.renderless
|
|
2955
3823
|
}), {
|
|
@@ -2959,8 +3827,6 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
2959
3827
|
};
|
|
2960
3828
|
}
|
|
2961
3829
|
});
|
|
2962
|
-
var SwitchGroup_default = _sfc_main$13;
|
|
2963
|
-
|
|
2964
3830
|
//#endregion
|
|
2965
3831
|
//#region src/components/Switch/SwitchRoot.vue
|
|
2966
3832
|
const [useSwitchRoot, provideSwitchRoot] = createContext();
|
|
@@ -3083,7 +3949,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3083
3949
|
}
|
|
3084
3950
|
}));
|
|
3085
3951
|
return (_ctx, _cache) => {
|
|
3086
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(
|
|
3952
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(_sfc_main$68), mergeProps({
|
|
3087
3953
|
...unref(attrs),
|
|
3088
3954
|
...slotProps.value.attrs
|
|
3089
3955
|
}, {
|
|
@@ -3094,12 +3960,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3094
3960
|
}), {
|
|
3095
3961
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3096
3962
|
_: 3
|
|
3097
|
-
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(
|
|
3963
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(_sfc_main$11, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
3098
3964
|
};
|
|
3099
3965
|
}
|
|
3100
3966
|
});
|
|
3101
|
-
var SwitchRoot_default = _sfc_main$12;
|
|
3102
|
-
|
|
3103
3967
|
//#endregion
|
|
3104
3968
|
//#region src/components/Switch/SwitchHiddenInput.vue
|
|
3105
3969
|
const _hoisted_1 = [
|
|
@@ -3156,8 +4020,6 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3156
4020
|
};
|
|
3157
4021
|
}
|
|
3158
4022
|
});
|
|
3159
|
-
var SwitchHiddenInput_default = _sfc_main$11;
|
|
3160
|
-
|
|
3161
4023
|
//#endregion
|
|
3162
4024
|
//#region src/components/Switch/SwitchSelectAll.vue
|
|
3163
4025
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
@@ -3231,7 +4093,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3231
4093
|
}
|
|
3232
4094
|
}));
|
|
3233
4095
|
return (_ctx, _cache) => {
|
|
3234
|
-
return openBlock(), createBlock(unref(
|
|
4096
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
3235
4097
|
...unref(attrs),
|
|
3236
4098
|
...slotProps.value.attrs
|
|
3237
4099
|
}, {
|
|
@@ -3246,8 +4108,6 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3246
4108
|
};
|
|
3247
4109
|
}
|
|
3248
4110
|
});
|
|
3249
|
-
var SwitchSelectAll_default = _sfc_main$10;
|
|
3250
|
-
|
|
3251
4111
|
//#endregion
|
|
3252
4112
|
//#region src/components/Switch/SwitchThumb.vue
|
|
3253
4113
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
@@ -3273,7 +4133,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3273
4133
|
}
|
|
3274
4134
|
}));
|
|
3275
4135
|
return (_ctx, _cache) => {
|
|
3276
|
-
return openBlock(), createBlock(unref(
|
|
4136
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
3277
4137
|
as: __props.as,
|
|
3278
4138
|
renderless: __props.renderless
|
|
3279
4139
|
}), {
|
|
@@ -3283,8 +4143,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3283
4143
|
};
|
|
3284
4144
|
}
|
|
3285
4145
|
});
|
|
3286
|
-
var SwitchThumb_default = _sfc_main$9;
|
|
3287
|
-
|
|
3288
4146
|
//#endregion
|
|
3289
4147
|
//#region src/components/Switch/SwitchTrack.vue
|
|
3290
4148
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
@@ -3306,8 +4164,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3306
4164
|
attrs: { "data-state": dataState.value }
|
|
3307
4165
|
}));
|
|
3308
4166
|
return (_ctx, _cache) => {
|
|
3309
|
-
return openBlock(), createBlock(unref(
|
|
4167
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps(slotProps.value.attrs, {
|
|
3310
4168
|
as: __props.as,
|
|
4169
|
+
dir: "ltr",
|
|
3311
4170
|
renderless: __props.renderless
|
|
3312
4171
|
}), {
|
|
3313
4172
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
@@ -3316,8 +4175,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3316
4175
|
};
|
|
3317
4176
|
}
|
|
3318
4177
|
});
|
|
3319
|
-
var SwitchTrack_default = _sfc_main$8;
|
|
3320
|
-
|
|
3321
4178
|
//#endregion
|
|
3322
4179
|
//#region src/components/Switch/index.ts
|
|
3323
4180
|
/**
|
|
@@ -3347,14 +4204,13 @@ var SwitchTrack_default = _sfc_main$8;
|
|
|
3347
4204
|
* ```
|
|
3348
4205
|
*/
|
|
3349
4206
|
const Switch = {
|
|
3350
|
-
Group:
|
|
3351
|
-
HiddenInput:
|
|
3352
|
-
Root:
|
|
3353
|
-
SelectAll:
|
|
3354
|
-
Thumb:
|
|
3355
|
-
Track:
|
|
4207
|
+
Group: _sfc_main$13,
|
|
4208
|
+
HiddenInput: _sfc_main$11,
|
|
4209
|
+
Root: _sfc_main$12,
|
|
4210
|
+
SelectAll: _sfc_main$10,
|
|
4211
|
+
Thumb: _sfc_main$9,
|
|
4212
|
+
Track: _sfc_main$8
|
|
3356
4213
|
};
|
|
3357
|
-
|
|
3358
4214
|
//#endregion
|
|
3359
4215
|
//#region src/components/Single/SingleRoot.vue
|
|
3360
4216
|
const [useSingleRoot, provideSingleRoot] = createContext();
|
|
@@ -3402,8 +4258,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3402
4258
|
};
|
|
3403
4259
|
}
|
|
3404
4260
|
});
|
|
3405
|
-
var SingleRoot_default = _sfc_main$7;
|
|
3406
|
-
|
|
3407
4261
|
//#endregion
|
|
3408
4262
|
//#region src/components/Single/SingleItem.vue
|
|
3409
4263
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
@@ -3448,8 +4302,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3448
4302
|
};
|
|
3449
4303
|
}
|
|
3450
4304
|
});
|
|
3451
|
-
var SingleItem_default = _sfc_main$6;
|
|
3452
|
-
|
|
3453
4305
|
//#endregion
|
|
3454
4306
|
//#region src/components/Single/index.ts
|
|
3455
4307
|
/**
|
|
@@ -3458,10 +4310,9 @@ var SingleItem_default = _sfc_main$6;
|
|
|
3458
4310
|
* @see https://0.vuetifyjs.com/components/single
|
|
3459
4311
|
*/
|
|
3460
4312
|
const Single = {
|
|
3461
|
-
Root:
|
|
3462
|
-
Item:
|
|
4313
|
+
Root: _sfc_main$7,
|
|
4314
|
+
Item: _sfc_main$6
|
|
3463
4315
|
};
|
|
3464
|
-
|
|
3465
4316
|
//#endregion
|
|
3466
4317
|
//#region src/components/Step/StepRoot.vue
|
|
3467
4318
|
const [useStepRoot, provideStepRoot] = createContext();
|
|
@@ -3514,8 +4365,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3514
4365
|
};
|
|
3515
4366
|
}
|
|
3516
4367
|
});
|
|
3517
|
-
var StepRoot_default = _sfc_main$5;
|
|
3518
|
-
|
|
3519
4368
|
//#endregion
|
|
3520
4369
|
//#region src/components/Step/StepItem.vue
|
|
3521
4370
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
@@ -3560,8 +4409,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3560
4409
|
};
|
|
3561
4410
|
}
|
|
3562
4411
|
});
|
|
3563
|
-
var StepItem_default = _sfc_main$4;
|
|
3564
|
-
|
|
3565
4412
|
//#endregion
|
|
3566
4413
|
//#region src/components/Step/index.ts
|
|
3567
4414
|
/**
|
|
@@ -3570,10 +4417,9 @@ var StepItem_default = _sfc_main$4;
|
|
|
3570
4417
|
* @see https://0.vuetifyjs.com/components/step
|
|
3571
4418
|
*/
|
|
3572
4419
|
const Step = {
|
|
3573
|
-
Root:
|
|
3574
|
-
Item:
|
|
4420
|
+
Root: _sfc_main$5,
|
|
4421
|
+
Item: _sfc_main$4
|
|
3575
4422
|
};
|
|
3576
|
-
|
|
3577
4423
|
//#endregion
|
|
3578
4424
|
//#region src/components/Tabs/TabsRoot.vue
|
|
3579
4425
|
const [useTabsRoot, provideTabsRoot] = createContext();
|
|
@@ -3643,8 +4489,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3643
4489
|
};
|
|
3644
4490
|
}
|
|
3645
4491
|
});
|
|
3646
|
-
var TabsRoot_default = _sfc_main$3;
|
|
3647
|
-
|
|
3648
4492
|
//#endregion
|
|
3649
4493
|
//#region src/components/Tabs/TabsList.vue
|
|
3650
4494
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -3673,7 +4517,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3673
4517
|
}
|
|
3674
4518
|
}));
|
|
3675
4519
|
return (_ctx, _cache) => {
|
|
3676
|
-
return openBlock(), createBlock(unref(
|
|
4520
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
3677
4521
|
...unref(attrs),
|
|
3678
4522
|
...slotProps.value.attrs
|
|
3679
4523
|
}, {
|
|
@@ -3686,8 +4530,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3686
4530
|
};
|
|
3687
4531
|
}
|
|
3688
4532
|
});
|
|
3689
|
-
var TabsList_default = _sfc_main$2;
|
|
3690
|
-
|
|
3691
4533
|
//#endregion
|
|
3692
4534
|
//#region src/components/Tabs/TabsItem.vue
|
|
3693
4535
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -3790,7 +4632,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3790
4632
|
}
|
|
3791
4633
|
}));
|
|
3792
4634
|
return (_ctx, _cache) => {
|
|
3793
|
-
return openBlock(), createBlock(unref(
|
|
4635
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({ ref: "root" }, {
|
|
3794
4636
|
...unref(attrs),
|
|
3795
4637
|
...slotProps.value.attrs
|
|
3796
4638
|
}, {
|
|
@@ -3803,8 +4645,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3803
4645
|
};
|
|
3804
4646
|
}
|
|
3805
4647
|
});
|
|
3806
|
-
var TabsItem_default = _sfc_main$1;
|
|
3807
|
-
|
|
3808
4648
|
//#endregion
|
|
3809
4649
|
//#region src/components/Tabs/TabsPanel.vue
|
|
3810
4650
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -3844,7 +4684,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3844
4684
|
}
|
|
3845
4685
|
}));
|
|
3846
4686
|
return (_ctx, _cache) => {
|
|
3847
|
-
return openBlock(), createBlock(unref(
|
|
4687
|
+
return openBlock(), createBlock(unref(_sfc_main$68), mergeProps({
|
|
3848
4688
|
...unref(attrs),
|
|
3849
4689
|
...slotProps.value.attrs
|
|
3850
4690
|
}, {
|
|
@@ -3857,8 +4697,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3857
4697
|
};
|
|
3858
4698
|
}
|
|
3859
4699
|
});
|
|
3860
|
-
var TabsPanel_default = _sfc_main;
|
|
3861
|
-
|
|
3862
4700
|
//#endregion
|
|
3863
4701
|
//#region src/components/Tabs/index.ts
|
|
3864
4702
|
/**
|
|
@@ -3890,11 +4728,10 @@ var TabsPanel_default = _sfc_main;
|
|
|
3890
4728
|
* ```
|
|
3891
4729
|
*/
|
|
3892
4730
|
const Tabs = {
|
|
3893
|
-
Root:
|
|
3894
|
-
List:
|
|
3895
|
-
Item:
|
|
3896
|
-
Panel:
|
|
4731
|
+
Root: _sfc_main$3,
|
|
4732
|
+
List: _sfc_main$2,
|
|
4733
|
+
Item: _sfc_main$1,
|
|
4734
|
+
Panel: _sfc_main
|
|
3897
4735
|
};
|
|
3898
|
-
|
|
3899
4736
|
//#endregion
|
|
3900
|
-
export {
|
|
4737
|
+
export { provideRadioRoot as $, _sfc_main$56 as $t, _sfc_main$14 as A, ExpansionPanel as At, _sfc_main$21 as B, Dialog as Bt, _sfc_main$12 as C, usePaginationItems as Ct, provideSwitchGroup as D, _sfc_main$41 as Dt, _sfc_main$13 as E, _sfc_main$40 as Et, Slider as F, provideExpansionPanelItem as Ft, _sfc_main$23 as G, _sfc_main$51 as Gt, useSliderRoot as H, _sfc_main$48 as Ht, _sfc_main$17 as I, useExpansionPanelItem as It, _sfc_main$24 as J, useDialogContext as Jt, provideSelectionRoot as K, _sfc_main$52 as Kt, _sfc_main$18 as L, _sfc_main$46 as Lt, _sfc_main$16 as M, _sfc_main$43 as Mt, provideSplitterRoot as N, _sfc_main$44 as Nt, useSwitchGroup as O, provideGroupRoot as Ot, useSplitterRoot as P, _sfc_main$45 as Pt, _sfc_main$27 as Q, _sfc_main$55 as Qt, _sfc_main$19 as R, provideExpansionPanelRoot as Rt, _sfc_main$11 as S, usePaginationControls as St, useSwitchRoot as T, Group as Tt, Selection as U, _sfc_main$49 as Ut, provideSliderRoot as V, _sfc_main$47 as Vt, _sfc_main$22 as W, _sfc_main$50 as Wt, _sfc_main$25 as X, _sfc_main$53 as Xt, Radio as Y, Checkbox as Yt, _sfc_main$26 as Z, _sfc_main$54 as Zt, useSingleRoot as _, _sfc_main$66 as _n, _sfc_main$38 as _t, _sfc_main$3 as a, Breadcrumbs as an, _sfc_main$29 as at, _sfc_main$9 as b, useAvatarRoot as bn, providePaginationItems as bt, Step as c, _sfc_main$60 as cn, providePopoverContext as ct, provideStepRoot as d, _sfc_main$63 as dn, _sfc_main$32 as dt, provideCheckboxRoot as en, useRadioRoot as et, useStepRoot as f, _sfc_main$64 as fn, _sfc_main$33 as ft, provideSingleRoot as g, _sfc_main$65 as gn, _sfc_main$37 as gt, _sfc_main$7 as h, Avatar as hn, _sfc_main$36 as ht, _sfc_main$2 as i, useCheckboxGroup as in, Popover as it, _sfc_main$15 as j, _sfc_main$42 as jt, Splitter as k, useGroupRoot as kt, _sfc_main$4 as l, _sfc_main$61 as ln, usePopoverContext as lt, _sfc_main$6 as m, useBreadcrumbsRoot as mn, _sfc_main$35 as mt, _sfc_main as n, _sfc_main$57 as nn, provideRadioGroup as nt, provideTabsRoot as o, _sfc_main$58 as on, _sfc_main$30 as ot, Single as p, provideBreadcrumbsRoot as pn, _sfc_main$34 as pt, useSelectionRoot as q, provideDialogContext as qt, _sfc_main$1 as r, provideCheckboxGroup as rn, useRadioGroup as rt, useTabsRoot as s, _sfc_main$59 as sn, _sfc_main$31 as st, Tabs as t, useCheckboxRoot as tn, _sfc_main$28 as tt, _sfc_main$5 as u, _sfc_main$62 as un, Pagination as ut, Switch as v, _sfc_main$67 as vn, _sfc_main$39 as vt, provideSwitchRoot as w, usePaginationRoot as wt, _sfc_main$10 as x, _sfc_main$68 as xn, providePaginationRoot as xt, _sfc_main$8 as y, provideAvatarRoot as yn, providePaginationControls as yt, _sfc_main$20 as z, useExpansionPanelRoot as zt };
|