@vuetify/v0 1.0.0-alpha.1 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-T7AedXkz.d.mts → adapter-58IvIfAZ.d.mts} +1 -1
- package/dist/{adapter-DtgIrQsG.mjs → adapter-Be9zUc-n.mjs} +1 -1
- package/dist/{adapter-DoziXEzS.d.mts → adapter-BvWEd9w-.d.mts} +2 -2
- package/dist/{adapter-J7ude3gO.d.mts → adapter-DlX3FA3A.d.mts} +1 -1
- package/dist/{adapter-CDpOQ8sn.mjs → adapter-gQ2SNKZq.mjs} +3 -3
- package/dist/{adapters-Da2twiUn.mjs → adapters-BJ5n7rgh.mjs} +1 -1
- package/dist/adapters-BnKW0BF_.mjs +2 -0
- package/dist/adapters-CBrvizWb.mjs +4 -0
- package/dist/adapters-CMJGA1k7.mjs +2 -0
- package/dist/adapters-Dse4bPxk.mjs +5 -0
- package/dist/browser/index.js +166 -159
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-CaPQCjo5.mjs → components-CqDewYTU.mjs} +63 -37
- package/dist/composables/index.d.mts +18 -18
- package/dist/composables/index.mjs +26 -24
- package/dist/{consola-Byg0ybzh.d.mts → consola-BdgyPEfx.d.mts} +1 -1
- package/dist/constants/index.d.mts +2 -2
- package/dist/constants/index.mjs +3 -3
- package/dist/{createDataTable-B4UflKnT.mjs → createDataTable-rXBqGglI.mjs} +15 -12
- package/dist/{createGroup-BC2nfttd.mjs → createGroup-BU4olYtB.mjs} +7 -7
- package/dist/{createTokens-oJAeh262.mjs → createRegistry-Dl-bSSTr.mjs} +6 -299
- package/dist/{createSelection-BA9guLah.mjs → createSelection-Csaa-C8p.mjs} +1 -1
- package/dist/{createSingle-BHxHLZeg.mjs → createSingle-8xbHAIpY.mjs} +1 -1
- package/dist/createTokens-lNg2M_P_.mjs +302 -0
- package/dist/data-table/adapters/client/index.d.mts +1 -1
- package/dist/data-table/adapters/client/index.mjs +1 -1
- package/dist/data-table/adapters/index.d.mts +4 -4
- package/dist/data-table/adapters/index.mjs +5 -5
- package/dist/data-table/adapters/server/index.d.mts +1 -1
- package/dist/data-table/adapters/server/index.mjs +1 -1
- package/dist/data-table/adapters/virtual/index.d.mts +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +1 -1
- package/dist/data-table/index.d.mts +5 -5
- package/dist/data-table/index.mjs +5 -5
- package/dist/date/index.d.mts +2 -2
- package/dist/date/index.mjs +4 -4
- package/dist/features/adapters/flagsmith/index.d.mts +1 -1
- package/dist/features/adapters/flagsmith/index.mjs +1 -1
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -1
- package/dist/features/adapters/launchdarkly/index.mjs +1 -1
- package/dist/features/adapters/posthog/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +2 -2
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-Berkg6mP.mjs → globals-CKdzjeLe.mjs} +1 -1
- package/dist/htmlElements-D4oMQZPJ.mjs +28 -0
- package/dist/{index-M8EpGjjA.d.mts → index-1XdASTjp.d.mts} +1 -1
- package/dist/{index-Gk3x_7zD.d.mts → index-B7cqgTBL.d.mts} +115 -117
- package/dist/{index-DVPq3_Fz.d.mts → index-BJGcVy7e.d.mts} +4 -4
- package/dist/index-BgCkepP_.d.mts +31 -0
- package/dist/{index-DFvLSoto.d.mts → index-BxKMMWnQ.d.mts} +9 -9
- package/dist/{index-tyzwWFHS.d.mts → index-BzFHTW59.d.mts} +1 -1
- package/dist/{index-CDcl4wPo.d.mts → index-CT5SCLzW.d.mts} +1 -1
- package/dist/{index-TtSSvHY6.d.mts → index-DE3bWw11.d.mts} +2 -2
- package/dist/{index-F2Fmxnzi.d.mts → index-Dp1HjBxJ.d.mts} +1 -1
- package/dist/{index-B_AlCD7t.d.mts → index-DuddF-NR.d.mts} +2 -9
- package/dist/{index-Dxx0eMLi.d.mts → index-GOpjKzaJ.d.mts} +1 -1
- package/dist/index.d.mts +23 -23
- package/dist/index.mjs +30 -28
- package/dist/json/attributes.json +4 -4
- package/dist/json/web-types.json +5 -5
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +2 -2
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +2 -2
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +2 -2
- package/dist/logger/adapters/pino/index.d.mts +1 -1
- package/dist/logger/adapters/v0/index.d.mts +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +5 -5
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.d.mts +2 -2
- package/dist/notifications/index.mjs +3 -54
- package/dist/palettes/ant/generate/index.mjs +1 -0
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +3 -3
- package/dist/palettes/leonardo/generate/index.mjs +1 -0
- package/dist/palettes/material/generate/index.mjs +1 -0
- package/dist/palettes/material/index.d.mts +1 -1
- package/dist/palettes/md1/index.d.mts +1 -1
- package/dist/palettes/md2/index.d.mts +1 -1
- package/dist/palettes/radix/index.d.mts +1 -1
- package/dist/palettes/tailwind/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/index.mjs +2 -2
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.mjs +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +2 -2
- package/dist/{pino-BxddSW2l.d.mts → pino-DNfCEb0p.d.mts} +1 -1
- package/dist/{posthog-CPvNHMUb.mjs → posthog-DZNnPXxS.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/{server-ZiHJ4tfq.d.mts → server-3ilWFwqe.d.mts} +1 -1
- package/dist/{server-B6OtHgBT.mjs → server-y7zLSCSx.mjs} +1 -1
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/index.mjs +1 -1
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/adapters/memory/index.mjs +1 -1
- package/dist/storage/index.d.mts +3 -3
- package/dist/storage/index.mjs +2 -2
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +4 -4
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/{toArray-BA_JxFPv.mjs → toArray-as9BWxBK.mjs} +1 -0
- package/dist/types/index.d.mts +2 -2
- package/dist/{unhead-D2YqAcmF.mjs → unhead-DZiD-4Tx.mjs} +2 -2
- package/dist/{useClickOutside-B9a6Jext.mjs → useClickOutside-CmCUD_Pf.mjs} +46 -905
- package/dist/{useFeatures-wgMwaQ5W.mjs → useFeatures-ZIvzzuEV.mjs} +8 -7
- package/dist/{useLocale-qMmVnAwS.mjs → useLocale-DTJx3aKR.mjs} +10 -7
- package/dist/{useLogger-DFIRqm-N.mjs → useLogger-BBTcMN61.mjs} +3 -3
- package/dist/useNotifications-H4knpvNw.mjs +869 -0
- package/dist/{usePermissions-tZhkBJmq.mjs → usePermissions-B_G12Dwd.mjs} +6 -6
- package/dist/{useRules-D3UXEtu7.mjs → useRules--7Qoo60I.mjs} +7 -5
- package/dist/{useTheme-BeD__R8t.mjs → useTheme-Co05TEeD.mjs} +11 -8
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +10 -5
- package/dist/{v0-6XptGYVx.mjs → v0-BrTEO5sv.mjs} +2 -2
- package/dist/{v0-Dzw5OwNo.d.mts → v0-CdusXjY_.d.mts} +1 -1
- package/dist/{v0-I2mHxD9T.mjs → v0-D0Mh3EVG.mjs} +1 -1
- package/dist/{v0-CWXUkMY0.d.mts → v0-D7Fm2C3Y.d.mts} +1 -1
- package/dist/{v0-CNitYI9N.mjs → v0-DeiZuexg.mjs} +1 -1
- package/dist/{v0-BG7RhKBv.mjs → v0-Dq3zhexO.mjs} +2 -2
- package/dist/{v0-C2UMaHUa.d.mts → v0-DrOub-e1.d.mts} +1 -1
- package/dist/{virtual-To-dSw2_.mjs → virtual-C0yHf1DC.mjs} +2 -2
- package/dist/{virtual-BCOfxnRS.d.mts → virtual-D4fckewC.d.mts} +1 -1
- package/package.json +1 -1
- package/dist/adapters-BhNTUuxE.mjs +0 -2
- package/dist/adapters-CFjrKxA2.mjs +0 -5
- package/dist/adapters-CiCexgsk.mjs +0 -4
- package/dist/adapters-DegUcfkd.mjs +0 -2
- package/dist/htmlElements-CIePKaTX.mjs +0 -75
- package/dist/index-D6mQAEs2.d.mts +0 -79
- /package/dist/{adapter-DNKjooxI.d.mts → adapter-Dhq68tz0.d.mts} +0 -0
- /package/dist/{createPagination-qvJkcTUY.mjs → createPagination-CHF7SmmK.mjs} +0 -0
- /package/dist/{flagsmith-DQnnahG5.mjs → flagsmith-Dbh1h8WF.mjs} +0 -0
- /package/dist/{index-DxruGeVY.d.mts → index-C6rdXZ7j.d.mts} +0 -0
- /package/dist/{index-DvuJXuAN.d.mts → index-CFhUdAHM.d.mts} +0 -0
- /package/dist/{index-PWQavSPf.d.mts → index-CROz1VSV.d.mts} +0 -0
- /package/dist/{index-D4odwkZg.d.mts → index-DTvqw22G.d.mts} +0 -0
- /package/dist/{launchdarkly-2_48EJ1_.mjs → launchdarkly-BKtW-idu.mjs} +0 -0
- /package/dist/{memory-DUyWthic.d.mts → memory-CeSQE-QV.d.mts} +0 -0
- /package/dist/{memory-XCMtkld1.mjs → memory-oYBvtkgx.mjs} +0 -0
- /package/dist/{v0-4OQBCeda.mjs → v0-Bmow1q_x.mjs} +0 -0
package/dist/browser/index.js
CHANGED
|
@@ -1,80 +1,7 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
2
|
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, effectScope, guardReactiveProps, hasInjectionContext, inject, isRef, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveDynamicComponent, shallowReactive, shallowReadonly, shallowRef, toDisplayString, toRaw, toRef, toValue, unref, useAttrs, useId as useId$1, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
3
|
-
/**
|
|
4
|
-
* Set of HTML elements that are self-closing (void elements)
|
|
5
|
-
* These elements cannot have children and don't need closing tags
|
|
6
|
-
*/
|
|
7
|
-
const SELF_CLOSING_TAGS = /* @__PURE__ */ new Set([
|
|
8
|
-
"area",
|
|
9
|
-
"base",
|
|
10
|
-
"br",
|
|
11
|
-
"col",
|
|
12
|
-
"embed",
|
|
13
|
-
"hr",
|
|
14
|
-
"img",
|
|
15
|
-
"input",
|
|
16
|
-
"link",
|
|
17
|
-
"meta",
|
|
18
|
-
"source",
|
|
19
|
-
"track",
|
|
20
|
-
"wbr"
|
|
21
|
-
]);
|
|
22
|
-
/**
|
|
23
|
-
* Common HTML element types for polymorphic components
|
|
24
|
-
*/
|
|
25
|
-
const COMMON_ELEMENTS = {
|
|
26
|
-
DIV: "div",
|
|
27
|
-
SPAN: "span",
|
|
28
|
-
SECTION: "section",
|
|
29
|
-
ARTICLE: "article",
|
|
30
|
-
ASIDE: "aside",
|
|
31
|
-
HEADER: "header",
|
|
32
|
-
FOOTER: "footer",
|
|
33
|
-
MAIN: "main",
|
|
34
|
-
NAV: "nav",
|
|
35
|
-
P: "p",
|
|
36
|
-
H1: "h1",
|
|
37
|
-
H2: "h2",
|
|
38
|
-
H3: "h3",
|
|
39
|
-
H4: "h4",
|
|
40
|
-
H5: "h5",
|
|
41
|
-
H6: "h6",
|
|
42
|
-
BUTTON: "button",
|
|
43
|
-
A: "a",
|
|
44
|
-
INPUT: "input",
|
|
45
|
-
TEXTAREA: "textarea",
|
|
46
|
-
SELECT: "select",
|
|
47
|
-
LABEL: "label",
|
|
48
|
-
UL: "ul",
|
|
49
|
-
OL: "ol",
|
|
50
|
-
LI: "li",
|
|
51
|
-
DL: "dl",
|
|
52
|
-
DT: "dt",
|
|
53
|
-
DD: "dd",
|
|
54
|
-
IMG: "img",
|
|
55
|
-
VIDEO: "video",
|
|
56
|
-
AUDIO: "audio",
|
|
57
|
-
CANVAS: "canvas",
|
|
58
|
-
SVG: "svg",
|
|
59
|
-
TABLE: "table",
|
|
60
|
-
THEAD: "thead",
|
|
61
|
-
TBODY: "tbody",
|
|
62
|
-
TFOOT: "tfoot",
|
|
63
|
-
TR: "tr",
|
|
64
|
-
TH: "th",
|
|
65
|
-
TD: "td",
|
|
66
|
-
FORM: "form",
|
|
67
|
-
FIELDSET: "fieldset",
|
|
68
|
-
LEGEND: "legend"
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Check if an element is self-closing
|
|
72
|
-
*/
|
|
73
|
-
function isSelfClosingTag(tag) {
|
|
74
|
-
return SELF_CLOSING_TAGS.has(tag.toLowerCase());
|
|
75
|
-
}
|
|
76
|
-
//#endregion
|
|
77
3
|
//#region src/utilities/color.ts
|
|
4
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
78
5
|
function hexToRgb(hex) {
|
|
79
6
|
const clean = hex.startsWith("#") ? hex.slice(1) : hex;
|
|
80
7
|
if (clean.length === 3 || clean.length === 4) {
|
|
@@ -108,6 +35,7 @@ function hexToRgb(hex) {
|
|
|
108
35
|
a
|
|
109
36
|
};
|
|
110
37
|
}
|
|
38
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
111
39
|
function rgbToHex({ r, g, b, a }) {
|
|
112
40
|
const hex = "#" + [
|
|
113
41
|
r,
|
|
@@ -143,6 +71,7 @@ function luminance(rgb) {
|
|
|
143
71
|
function clamp$1(y) {
|
|
144
72
|
return y > blkThrs ? y : y + Math.pow(blkThrs - y, blkClmp);
|
|
145
73
|
}
|
|
74
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
146
75
|
function apca(text, background) {
|
|
147
76
|
const txtY = clamp$1(luminance(text));
|
|
148
77
|
const bgY = clamp$1(luminance(background));
|
|
@@ -166,10 +95,10 @@ const WHITE = {
|
|
|
166
95
|
g: 255,
|
|
167
96
|
b: 255
|
|
168
97
|
};
|
|
98
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
169
99
|
function foreground(hex) {
|
|
170
|
-
const rgb = hexToRgb(hex);
|
|
171
|
-
|
|
172
|
-
return Math.abs(apca(BLACK, rgb)) > onWhite ? "#000000" : "#ffffff";
|
|
100
|
+
const rgb = /* @__PURE__ */ hexToRgb(hex);
|
|
101
|
+
return Math.abs(/* @__PURE__ */ apca(BLACK, rgb)) > Math.abs(/* @__PURE__ */ apca(WHITE, rgb)) ? "#000000" : "#ffffff";
|
|
173
102
|
}
|
|
174
103
|
//#endregion
|
|
175
104
|
//#region src/constants/globals.ts
|
|
@@ -179,7 +108,7 @@ const SUPPORTS_MATCH_MEDIA = IN_BROWSER && "matchMedia" in window && typeof wind
|
|
|
179
108
|
const SUPPORTS_OBSERVER = IN_BROWSER && "ResizeObserver" in window;
|
|
180
109
|
const SUPPORTS_INTERSECTION_OBSERVER = IN_BROWSER && "IntersectionObserver" in window;
|
|
181
110
|
const SUPPORTS_MUTATION_OBSERVER = IN_BROWSER && "MutationObserver" in window;
|
|
182
|
-
const version = "1.0.0-alpha.
|
|
111
|
+
const version = "1.0.0-alpha.2";
|
|
183
112
|
/* v8 ignore next -- build-time constant, __DEV__ short-circuits in tests */
|
|
184
113
|
const __LOGGER_ENABLED__ = false;
|
|
185
114
|
//#endregion
|
|
@@ -200,15 +129,24 @@ function getInstanceCompat() {
|
|
|
200
129
|
if (INSTANCE_KEY in vueExports) return vueExports[INSTANCE_KEY];
|
|
201
130
|
return Vue.getCurrentInstance();
|
|
202
131
|
}
|
|
132
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
203
133
|
function instanceExists() {
|
|
204
134
|
return !/* @__PURE__ */ isNull(getInstanceCompat());
|
|
205
135
|
}
|
|
136
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
206
137
|
function instanceName() {
|
|
207
138
|
return getInstanceCompat()?.type?.name;
|
|
208
139
|
}
|
|
209
140
|
//#endregion
|
|
210
141
|
//#region src/utilities/helpers.ts
|
|
211
142
|
/**
|
|
143
|
+
* @module utilities/helpers
|
|
144
|
+
*
|
|
145
|
+
* @remarks
|
|
146
|
+
* Collection of utility functions for type checking, object manipulation,
|
|
147
|
+
* and common transformations. All exports are tree-shakeable.
|
|
148
|
+
*/
|
|
149
|
+
/**
|
|
212
150
|
* Checks if a value is a function
|
|
213
151
|
*
|
|
214
152
|
* @param item The value to check
|
|
@@ -532,7 +470,7 @@ let idCounter = 0;
|
|
|
532
470
|
*/
|
|
533
471
|
/* @__NO_SIDE_EFFECTS__ */
|
|
534
472
|
function useId() {
|
|
535
|
-
if (instanceExists()) return useId$1();
|
|
473
|
+
if (/* @__PURE__ */ instanceExists()) return useId$1();
|
|
536
474
|
return `v0-${idCounter++}`;
|
|
537
475
|
}
|
|
538
476
|
/**
|
|
@@ -588,6 +526,32 @@ function resolveIds(ids, getter) {
|
|
|
588
526
|
function resolveIndexes(items) {
|
|
589
527
|
return Array.from(items).map((item) => item?.index).filter((index) => !/* @__PURE__ */ isUndefined(index));
|
|
590
528
|
}
|
|
529
|
+
/**
|
|
530
|
+
* Set of HTML elements that are self-closing (void elements)
|
|
531
|
+
* These elements cannot have children and don't need closing tags
|
|
532
|
+
*/
|
|
533
|
+
const SELF_CLOSING_TAGS = /* @__PURE__ */ new Set([
|
|
534
|
+
"area",
|
|
535
|
+
"base",
|
|
536
|
+
"br",
|
|
537
|
+
"col",
|
|
538
|
+
"embed",
|
|
539
|
+
"hr",
|
|
540
|
+
"img",
|
|
541
|
+
"input",
|
|
542
|
+
"link",
|
|
543
|
+
"meta",
|
|
544
|
+
"source",
|
|
545
|
+
"track",
|
|
546
|
+
"wbr"
|
|
547
|
+
]);
|
|
548
|
+
/**
|
|
549
|
+
* Check if an element is self-closing
|
|
550
|
+
*/
|
|
551
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
552
|
+
function isSelfClosingTag(tag) {
|
|
553
|
+
return SELF_CLOSING_TAGS.has(tag.toLowerCase());
|
|
554
|
+
}
|
|
591
555
|
//#endregion
|
|
592
556
|
//#region src/components/Atom/Atom.vue
|
|
593
557
|
/**
|
|
@@ -627,7 +591,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
627
591
|
const element = useTemplateRef("element");
|
|
628
592
|
__expose({ element });
|
|
629
593
|
const attrs = useAttrs();
|
|
630
|
-
const isSelfClosing = toRef(() => /* @__PURE__ */ isString(__props.as) && isSelfClosingTag(__props.as));
|
|
594
|
+
const isSelfClosing = toRef(() => /* @__PURE__ */ isString(__props.as) && /* @__PURE__ */ isSelfClosingTag(__props.as));
|
|
631
595
|
const slotProps = toRef(() => attrs);
|
|
632
596
|
return (_ctx, _cache) => {
|
|
633
597
|
return __props.renderless || unref(isNull)(__props.as) ? renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 0 }, slotProps.value))) : !isSelfClosing.value ? (openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ key: 1 }, slotProps.value, {
|
|
@@ -879,7 +843,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
879
843
|
"type": __props.as === "button" ? "button" : void 0,
|
|
880
844
|
"aria-haspopup": "dialog",
|
|
881
845
|
"aria-expanded": context.isOpen.value,
|
|
882
|
-
"data-
|
|
846
|
+
"data-open": context.isOpen.value || void 0
|
|
883
847
|
}
|
|
884
848
|
}));
|
|
885
849
|
return (_ctx, _cache) => {
|
|
@@ -1581,6 +1545,7 @@ function createRegistry(options) {
|
|
|
1581
1545
|
else catalog.set(value, next);
|
|
1582
1546
|
}
|
|
1583
1547
|
function keys() {
|
|
1548
|
+
if (reactive) return Array.from(collection.keys());
|
|
1584
1549
|
const cached = cache.get("keys");
|
|
1585
1550
|
if (!/* @__PURE__ */ isUndefined(cached)) return cached;
|
|
1586
1551
|
const keys = Array.from(collection.keys());
|
|
@@ -1588,6 +1553,7 @@ function createRegistry(options) {
|
|
|
1588
1553
|
return keys;
|
|
1589
1554
|
}
|
|
1590
1555
|
function values() {
|
|
1556
|
+
if (reactive) return Array.from(collection.values());
|
|
1591
1557
|
const cached = cache.get("values");
|
|
1592
1558
|
if (!/* @__PURE__ */ isUndefined(cached)) return cached;
|
|
1593
1559
|
const values = Array.from(collection.values());
|
|
@@ -1595,6 +1561,7 @@ function createRegistry(options) {
|
|
|
1595
1561
|
return values;
|
|
1596
1562
|
}
|
|
1597
1563
|
function entries() {
|
|
1564
|
+
if (reactive) return Array.from(collection.entries());
|
|
1598
1565
|
const cached = cache.get("entries");
|
|
1599
1566
|
if (!/* @__PURE__ */ isUndefined(cached)) return cached;
|
|
1600
1567
|
const entries = Array.from(collection.entries());
|
|
@@ -2492,7 +2459,7 @@ function createTokens(tokens = {}, options = {}) {
|
|
|
2492
2459
|
const logger = useLogger();
|
|
2493
2460
|
const registry = createRegistry(options);
|
|
2494
2461
|
const cache = /* @__PURE__ */ new Map();
|
|
2495
|
-
registry.onboard(flatten(tokens, options.prefix, !!options.flat));
|
|
2462
|
+
registry.onboard(/* @__PURE__ */ flatten(tokens, options.prefix, !!options.flat));
|
|
2496
2463
|
function isAlias(token) {
|
|
2497
2464
|
return /* @__PURE__ */ isString(token) && token.length > 2 && token[0] === "{" && token.at(-1) === "}";
|
|
2498
2465
|
}
|
|
@@ -2660,6 +2627,7 @@ function useTokens(namespace = "v0:tokens") {
|
|
|
2660
2627
|
* @param prefix An optional prefix to prepend to each token ID.
|
|
2661
2628
|
* @returns An array of flattened tokens, each with an ID and value.
|
|
2662
2629
|
*/
|
|
2630
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
2663
2631
|
function flatten(tokens, prefix = "", flat = false) {
|
|
2664
2632
|
const flattened = [];
|
|
2665
2633
|
const stack = [{
|
|
@@ -2826,7 +2794,10 @@ var Vuetify0LocaleAdapter = class {
|
|
|
2826
2794
|
function createLocale(_options = {}) {
|
|
2827
2795
|
const { adapter: externalAdapter, messages = {}, fallback: fallbackLocale, ...options } = _options;
|
|
2828
2796
|
const tokens = createTokens(messages);
|
|
2829
|
-
const registry = createSingle(
|
|
2797
|
+
const registry = createSingle({
|
|
2798
|
+
...options,
|
|
2799
|
+
reactive: true
|
|
2800
|
+
});
|
|
2830
2801
|
for (const id in messages) {
|
|
2831
2802
|
registry.register({ id });
|
|
2832
2803
|
if (id === options.default && !registry.selectedId.value) registry.select(id);
|
|
@@ -2845,7 +2816,7 @@ function createLocale(_options = {}) {
|
|
|
2845
2816
|
}
|
|
2846
2817
|
function register(registration = {}) {
|
|
2847
2818
|
const { messages: msgs, ...rest } = registration;
|
|
2848
|
-
if (msgs && rest.id && !registry.has(rest.id)) tokens.onboard(flatten({ [rest.id]: msgs }));
|
|
2819
|
+
if (msgs && rest.id && !registry.has(rest.id)) tokens.onboard(/* @__PURE__ */ flatten({ [rest.id]: msgs }));
|
|
2849
2820
|
return registry.register(rest);
|
|
2850
2821
|
}
|
|
2851
2822
|
return {
|
|
@@ -3598,6 +3569,7 @@ function useVirtualFocus(items, options) {
|
|
|
3598
3569
|
* console.log(valueAsArray) // ['Example Value']
|
|
3599
3570
|
* ```
|
|
3600
3571
|
*/
|
|
3572
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3601
3573
|
function toArray(value) {
|
|
3602
3574
|
return /* @__PURE__ */ isNullOrUndefined(value) ? [] : /* @__PURE__ */ isArray(value) ? value : [value];
|
|
3603
3575
|
}
|
|
@@ -3631,7 +3603,7 @@ function toArray(value) {
|
|
|
3631
3603
|
* ```
|
|
3632
3604
|
*/
|
|
3633
3605
|
function defaultFilter(query, item, keys, mode = "some") {
|
|
3634
|
-
const queries = toArray(query).map((q) => String(q).toLowerCase());
|
|
3606
|
+
const queries = (/* @__PURE__ */ toArray(query)).map((q) => String(q).toLowerCase());
|
|
3635
3607
|
const stringValues = (/* @__PURE__ */ isObject(item) ? keys?.length ? keys.map((k) => item[k]) : Object.values(item) : [item]).map((v) => String(v).toLowerCase());
|
|
3636
3608
|
if (mode === "some") return queries.some((q) => stringValues.some((val) => val.includes(q)));
|
|
3637
3609
|
if (mode === "every") return queries.every((q) => stringValues.every((val) => val.includes(q)));
|
|
@@ -3670,7 +3642,7 @@ function createFilter(options = {}) {
|
|
|
3670
3642
|
return { items: computed(() => {
|
|
3671
3643
|
const q = toValue(_query);
|
|
3672
3644
|
query.value = q;
|
|
3673
|
-
const queries = toArray(q).filter((q) => String(q).trim());
|
|
3645
|
+
const queries = (/* @__PURE__ */ toArray(q)).filter((q) => String(q).trim());
|
|
3674
3646
|
if (queries.length === 0) return toValue(items);
|
|
3675
3647
|
const queryParam = queries.length === 1 ? queries[0] : queries;
|
|
3676
3648
|
return toValue(items).filter((item) => filterFunction(queryParam, item));
|
|
@@ -3865,7 +3837,7 @@ function createCombobox(options = {}) {
|
|
|
3865
3837
|
const hasError = shallowRef(false);
|
|
3866
3838
|
const errors = computed(() => {
|
|
3867
3839
|
const messages = toValue(errorMessages);
|
|
3868
|
-
return messages ? toArray(messages) : [];
|
|
3840
|
+
return messages ? /* @__PURE__ */ toArray(messages) : [];
|
|
3869
3841
|
});
|
|
3870
3842
|
const isValid = toRef(() => {
|
|
3871
3843
|
if (toValue(error)) return false;
|
|
@@ -4223,26 +4195,26 @@ function createGroup(_options = {}) {
|
|
|
4223
4195
|
return mixedIds.has(id);
|
|
4224
4196
|
}
|
|
4225
4197
|
function mix(ids) {
|
|
4226
|
-
for (const id of toArray(ids)) {
|
|
4198
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
4227
4199
|
if (!selection.has(id)) continue;
|
|
4228
4200
|
selection.selectedIds.delete(id);
|
|
4229
4201
|
mixedIds.add(id);
|
|
4230
4202
|
}
|
|
4231
4203
|
}
|
|
4232
4204
|
function unmix(ids) {
|
|
4233
|
-
for (const id of toArray(ids)) mixedIds.delete(id);
|
|
4205
|
+
for (const id of /* @__PURE__ */ toArray(ids)) mixedIds.delete(id);
|
|
4234
4206
|
}
|
|
4235
4207
|
function select(ids) {
|
|
4236
|
-
for (const id of toArray(ids)) {
|
|
4208
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
4237
4209
|
mixedIds.delete(id);
|
|
4238
4210
|
selection.select(id);
|
|
4239
4211
|
}
|
|
4240
4212
|
}
|
|
4241
4213
|
function unselect(ids) {
|
|
4242
|
-
for (const id of toArray(ids)) selection.unselect(id);
|
|
4214
|
+
for (const id of /* @__PURE__ */ toArray(ids)) selection.unselect(id);
|
|
4243
4215
|
}
|
|
4244
4216
|
function toggle(ids) {
|
|
4245
|
-
for (const id of toArray(ids)) if (mixed(id)) select(id);
|
|
4217
|
+
for (const id of /* @__PURE__ */ toArray(ids)) if (mixed(id)) select(id);
|
|
4246
4218
|
else selection.toggle(id);
|
|
4247
4219
|
}
|
|
4248
4220
|
function register(registration = {}) {
|
|
@@ -4775,9 +4747,10 @@ var ClientAdapter = class extends DataTableAdapter {
|
|
|
4775
4747
|
* @param columns Column tree to extract leaves from
|
|
4776
4748
|
* @returns Flat array of leaf columns
|
|
4777
4749
|
*/
|
|
4750
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
4778
4751
|
function extractLeaves(columns) {
|
|
4779
4752
|
const leaves = [];
|
|
4780
|
-
for (const col of columns) if (col.children?.length) leaves.push(
|
|
4753
|
+
for (const col of columns) if (col.children?.length) leaves.push(.../* @__PURE__ */ extractLeaves(col.children));
|
|
4781
4754
|
else leaves.push(col);
|
|
4782
4755
|
return leaves;
|
|
4783
4756
|
}
|
|
@@ -4787,9 +4760,10 @@ function extractLeaves(columns) {
|
|
|
4787
4760
|
* @param columns Column tree to measure
|
|
4788
4761
|
* @returns Maximum nesting depth
|
|
4789
4762
|
*/
|
|
4763
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
4790
4764
|
function computeDepth(columns) {
|
|
4791
4765
|
let max = 0;
|
|
4792
|
-
for (const col of columns) if (col.children?.length) max = Math.max(max, 1 + computeDepth(col.children));
|
|
4766
|
+
for (const col of columns) if (col.children?.length) max = Math.max(max, 1 + /* @__PURE__ */ computeDepth(col.children));
|
|
4793
4767
|
return max;
|
|
4794
4768
|
}
|
|
4795
4769
|
/**
|
|
@@ -4801,13 +4775,14 @@ function computeDepth(columns) {
|
|
|
4801
4775
|
* @param columns Column tree to resolve
|
|
4802
4776
|
* @returns 2D array of header cells with colspan/rowspan
|
|
4803
4777
|
*/
|
|
4778
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
4804
4779
|
function resolveHeaders(columns) {
|
|
4805
4780
|
if (columns.length === 0) return [];
|
|
4806
|
-
const maxDepth = computeDepth(columns);
|
|
4781
|
+
const maxDepth = /* @__PURE__ */ computeDepth(columns);
|
|
4807
4782
|
const rows = Array.from({ length: maxDepth + 1 }, () => []);
|
|
4808
4783
|
function walk(cols, depth) {
|
|
4809
4784
|
for (const col of cols) if (col.children?.length) {
|
|
4810
|
-
const leaves = extractLeaves(col.children);
|
|
4785
|
+
const leaves = /* @__PURE__ */ extractLeaves(col.children);
|
|
4811
4786
|
rows[depth].push({
|
|
4812
4787
|
key: col.key,
|
|
4813
4788
|
title: col.title ?? "",
|
|
@@ -4978,7 +4953,7 @@ var VirtualAdapter = class extends DataTableAdapter {
|
|
|
4978
4953
|
* ```
|
|
4979
4954
|
*/
|
|
4980
4955
|
function createDataTable(options) {
|
|
4981
|
-
const { items: _items, columns, itemValue = "id", filter: filterOptions = {}, pagination: paginationOptions = {}, sortMultiple = false, mandate = false, firstSortOrder = "asc", selectStrategy = "page", itemSelectable, groupBy,
|
|
4956
|
+
const { items: _items, columns, itemValue = "id", filter: filterOptions = {}, pagination: paginationOptions = {}, sortMultiple = false, mandate = false, firstSortOrder = "asc", selectStrategy = "page", itemSelectable, groupBy, openAll = false, expandMultiple = true, locale: initialLocale, adapter = new ClientAdapter() } = options;
|
|
4982
4957
|
const _query = shallowRef("");
|
|
4983
4958
|
function search(value) {
|
|
4984
4959
|
_query.value = value;
|
|
@@ -4989,8 +4964,8 @@ function createDataTable(options) {
|
|
|
4989
4964
|
if (!/* @__PURE__ */ isNullOrUndefined(selected)) return String(selected);
|
|
4990
4965
|
return initialLocale;
|
|
4991
4966
|
});
|
|
4992
|
-
const leaves = extractLeaves(columns);
|
|
4993
|
-
const headers = toRef(() => resolveHeaders(columns));
|
|
4967
|
+
const leaves = /* @__PURE__ */ extractLeaves(columns);
|
|
4968
|
+
const headers = toRef(() => /* @__PURE__ */ resolveHeaders(columns));
|
|
4994
4969
|
const sortable = leaves.filter((col) => col.sortable === true);
|
|
4995
4970
|
const group = createGroup({ multiple: sortMultiple });
|
|
4996
4971
|
group.onboard(sortable.map((col) => ({
|
|
@@ -5194,7 +5169,7 @@ function createDataTable(options) {
|
|
|
5194
5169
|
});
|
|
5195
5170
|
return result;
|
|
5196
5171
|
});
|
|
5197
|
-
if (
|
|
5172
|
+
if (openAll) {
|
|
5198
5173
|
for (const group of groups.value) opened.add(group.key);
|
|
5199
5174
|
if (groups.value.length === 0) {
|
|
5200
5175
|
const stop = watch(groups, (newGroups) => {
|
|
@@ -5384,7 +5359,7 @@ function createForm(options = {}) {
|
|
|
5384
5359
|
for (const ticket of registry.values()) ticket.value.reset();
|
|
5385
5360
|
}
|
|
5386
5361
|
async function submit(id) {
|
|
5387
|
-
const ids = id ? toArray(id) : [...registry.keys()];
|
|
5362
|
+
const ids = id ? /* @__PURE__ */ toArray(id) : [...registry.keys()];
|
|
5388
5363
|
return (await Promise.all(ids.map(async (key) => {
|
|
5389
5364
|
const ticket = registry.get(key);
|
|
5390
5365
|
if (!ticket) return true;
|
|
@@ -5458,6 +5433,7 @@ function useForm(namespace = "v0:form") {
|
|
|
5458
5433
|
* @param value The value to check.
|
|
5459
5434
|
* @returns `true` if the value conforms to the Standard Schema interface.
|
|
5460
5435
|
*/
|
|
5436
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
5461
5437
|
function isStandardSchema(value) {
|
|
5462
5438
|
return /* @__PURE__ */ isObject(value) && "~standard" in value;
|
|
5463
5439
|
}
|
|
@@ -5473,6 +5449,7 @@ function isStandardSchema(value) {
|
|
|
5473
5449
|
*
|
|
5474
5450
|
* @see https://standardschema.dev/
|
|
5475
5451
|
*/
|
|
5452
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
5476
5453
|
function toRule(schema) {
|
|
5477
5454
|
return async (value) => {
|
|
5478
5455
|
let result = schema["~standard"].validate(value);
|
|
@@ -5541,8 +5518,8 @@ function createResolve(aliases, locale) {
|
|
|
5541
5518
|
result.push(rule);
|
|
5542
5519
|
continue;
|
|
5543
5520
|
}
|
|
5544
|
-
if (isStandardSchema(rule)) {
|
|
5545
|
-
result.push(toRule(rule));
|
|
5521
|
+
if (/* @__PURE__ */ isStandardSchema(rule)) {
|
|
5522
|
+
result.push(/* @__PURE__ */ toRule(rule));
|
|
5546
5523
|
continue;
|
|
5547
5524
|
}
|
|
5548
5525
|
const predicate = aliases[rule];
|
|
@@ -5577,7 +5554,7 @@ function createRules(_options = {}) {
|
|
|
5577
5554
|
const { aliases: customAliases } = _options;
|
|
5578
5555
|
let locale;
|
|
5579
5556
|
try {
|
|
5580
|
-
if (instanceExists()) locale = useLocale();
|
|
5557
|
+
if (/* @__PURE__ */ instanceExists()) locale = useLocale();
|
|
5581
5558
|
} catch {}
|
|
5582
5559
|
const aliases = { ...customAliases };
|
|
5583
5560
|
return {
|
|
@@ -5673,7 +5650,7 @@ function createValidation(_options = {}) {
|
|
|
5673
5650
|
const isValidating = shallowRef(false);
|
|
5674
5651
|
let generation = 0;
|
|
5675
5652
|
function register(input) {
|
|
5676
|
-
if (/* @__PURE__ */ isFunction(input) || /* @__PURE__ */ isString(input) || isStandardSchema(input)) {
|
|
5653
|
+
if (/* @__PURE__ */ isFunction(input) || /* @__PURE__ */ isString(input) || /* @__PURE__ */ isStandardSchema(input)) {
|
|
5677
5654
|
const resolved = rulesContext.resolve([input]);
|
|
5678
5655
|
return group.register({ value: resolved[0] ?? (() => true) });
|
|
5679
5656
|
}
|
|
@@ -5791,7 +5768,7 @@ function createInput(options) {
|
|
|
5791
5768
|
}, { flush: "sync" });
|
|
5792
5769
|
const errors = computed(() => {
|
|
5793
5770
|
const manual = toValue(errorMessages);
|
|
5794
|
-
return [...manual ? toArray(manual) : [], ...validation.errors.value];
|
|
5771
|
+
return [...manual ? /* @__PURE__ */ toArray(manual) : [], ...validation.errors.value];
|
|
5795
5772
|
});
|
|
5796
5773
|
const isValid = toRef(() => {
|
|
5797
5774
|
if (toValue(error)) return false;
|
|
@@ -5934,7 +5911,7 @@ function createNested(_options = {}) {
|
|
|
5934
5911
|
}
|
|
5935
5912
|
function open(ids) {
|
|
5936
5913
|
if (toValue(group.disabled)) return;
|
|
5937
|
-
for (const id of toArray(ids)) {
|
|
5914
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
5938
5915
|
if (!group.has(id)) continue;
|
|
5939
5916
|
const item = group.get(id);
|
|
5940
5917
|
if (!item || toValue(item.disabled)) continue;
|
|
@@ -5953,7 +5930,7 @@ function createNested(_options = {}) {
|
|
|
5953
5930
|
}
|
|
5954
5931
|
function close(ids) {
|
|
5955
5932
|
if (toValue(group.disabled)) return;
|
|
5956
|
-
for (const id of toArray(ids)) {
|
|
5933
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
5957
5934
|
if (!group.has(id)) continue;
|
|
5958
5935
|
const item = group.get(id);
|
|
5959
5936
|
if (!item || toValue(item.disabled)) continue;
|
|
@@ -5962,7 +5939,7 @@ function createNested(_options = {}) {
|
|
|
5962
5939
|
}
|
|
5963
5940
|
function flip(ids) {
|
|
5964
5941
|
if (toValue(group.disabled)) return;
|
|
5965
|
-
for (const id of toArray(ids)) {
|
|
5942
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
5966
5943
|
if (!group.has(id)) continue;
|
|
5967
5944
|
const item = group.get(id);
|
|
5968
5945
|
if (!item || toValue(item.disabled)) continue;
|
|
@@ -5975,7 +5952,7 @@ function createNested(_options = {}) {
|
|
|
5975
5952
|
* Useful for expanding a section with its immediate subcategories.
|
|
5976
5953
|
*/
|
|
5977
5954
|
function unfold(ids) {
|
|
5978
|
-
for (const id of toArray(ids)) {
|
|
5955
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
5979
5956
|
if (!group.has(id)) continue;
|
|
5980
5957
|
open(id);
|
|
5981
5958
|
const childIds = children.get(id) ?? [];
|
|
@@ -5987,7 +5964,7 @@ function createNested(_options = {}) {
|
|
|
5987
5964
|
* Makes the node visible in a collapsed tree without opening the node itself.
|
|
5988
5965
|
*/
|
|
5989
5966
|
function reveal(ids) {
|
|
5990
|
-
for (const id of toArray(ids)) {
|
|
5967
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
5991
5968
|
if (!group.has(id)) continue;
|
|
5992
5969
|
const ancestorIds = getAncestors(id);
|
|
5993
5970
|
if (ancestorIds.length > 0) open(ancestorIds);
|
|
@@ -5998,7 +5975,7 @@ function createNested(_options = {}) {
|
|
|
5998
5975
|
* Opens the entire subtree rooted at the given node.
|
|
5999
5976
|
*/
|
|
6000
5977
|
function expand(ids) {
|
|
6001
|
-
for (const id of toArray(ids)) {
|
|
5978
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
6002
5979
|
if (!group.has(id)) continue;
|
|
6003
5980
|
if (!isLeaf(id)) open(id);
|
|
6004
5981
|
for (const descendantId of getDescendants(id)) if (!isLeaf(descendantId)) open(descendantId);
|
|
@@ -6024,7 +6001,7 @@ function createNested(_options = {}) {
|
|
|
6024
6001
|
return activeIds.has(id);
|
|
6025
6002
|
}
|
|
6026
6003
|
function activate(ids) {
|
|
6027
|
-
for (const id of toArray(ids)) {
|
|
6004
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
6028
6005
|
if (!group.has(id)) continue;
|
|
6029
6006
|
if (activeMode === "single") {
|
|
6030
6007
|
for (const activeId of activeIds) if (activeId !== id) activeIds.delete(activeId);
|
|
@@ -6033,7 +6010,7 @@ function createNested(_options = {}) {
|
|
|
6033
6010
|
}
|
|
6034
6011
|
}
|
|
6035
6012
|
function deactivate(ids) {
|
|
6036
|
-
for (const id of toArray(ids)) activeIds.delete(id);
|
|
6013
|
+
for (const id of /* @__PURE__ */ toArray(ids)) activeIds.delete(id);
|
|
6037
6014
|
}
|
|
6038
6015
|
function deactivateAll() {
|
|
6039
6016
|
activeIds.clear();
|
|
@@ -6165,7 +6142,7 @@ function createNested(_options = {}) {
|
|
|
6165
6142
|
}
|
|
6166
6143
|
function select(ids) {
|
|
6167
6144
|
if (toValue(group.disabled)) return;
|
|
6168
|
-
for (const id of toArray(ids)) {
|
|
6145
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
6169
6146
|
if (!group.has(id)) continue;
|
|
6170
6147
|
const item = group.get(id);
|
|
6171
6148
|
if (!item || toValue(item.disabled)) continue;
|
|
@@ -6192,7 +6169,7 @@ function createNested(_options = {}) {
|
|
|
6192
6169
|
}
|
|
6193
6170
|
function unselect(ids) {
|
|
6194
6171
|
if (toValue(group.disabled)) return;
|
|
6195
|
-
for (const id of toArray(ids)) {
|
|
6172
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
6196
6173
|
if (!group.has(id)) continue;
|
|
6197
6174
|
const item = group.get(id);
|
|
6198
6175
|
if (!item || toValue(item.disabled)) continue;
|
|
@@ -6219,7 +6196,7 @@ function createNested(_options = {}) {
|
|
|
6219
6196
|
}
|
|
6220
6197
|
function toggle(ids) {
|
|
6221
6198
|
if (toValue(group.disabled)) return;
|
|
6222
|
-
for (const id of toArray(ids)) {
|
|
6199
|
+
for (const id of /* @__PURE__ */ toArray(ids)) {
|
|
6223
6200
|
const item = group.get(id);
|
|
6224
6201
|
if (!item || toValue(item.disabled)) continue;
|
|
6225
6202
|
if (selectionMode === "independent") group.toggle(id);
|
|
@@ -9188,7 +9165,7 @@ function createDate(options) {
|
|
|
9188
9165
|
const { locales = defaultLocales, adapter, locale: initialLocale, firstDayOfWeek: explicitFirstDay } = options;
|
|
9189
9166
|
let selectedId;
|
|
9190
9167
|
try {
|
|
9191
|
-
if (instanceExists()) selectedId = useLocale().selectedId;
|
|
9168
|
+
if (/* @__PURE__ */ instanceExists()) selectedId = useLocale().selectedId;
|
|
9192
9169
|
} catch {}
|
|
9193
9170
|
const locale = computed(() => {
|
|
9194
9171
|
const selected = selectedId?.value;
|
|
@@ -9204,7 +9181,7 @@ function createDate(options) {
|
|
|
9204
9181
|
const loc = locale.value;
|
|
9205
9182
|
return loc ? deriveFirstDayOfWeek(loc) : 0;
|
|
9206
9183
|
});
|
|
9207
|
-
if (instanceExists()) onScopeDispose(watchEffect(() => {
|
|
9184
|
+
if (/* @__PURE__ */ instanceExists()) onScopeDispose(watchEffect(() => {
|
|
9208
9185
|
const loc = locale.value;
|
|
9209
9186
|
if (loc && adapter.locale !== loc) adapter.locale = loc;
|
|
9210
9187
|
const fdow = firstDayOfWeek.value;
|
|
@@ -9316,7 +9293,7 @@ function createDatePlugin(options) {
|
|
|
9316
9293
|
* ```
|
|
9317
9294
|
*/
|
|
9318
9295
|
function useDate(namespace = "v0:date") {
|
|
9319
|
-
if (
|
|
9296
|
+
if (!/* @__PURE__ */ instanceExists()) throw new Error("[v0] useDate() must be called inside a Vue component with createDatePlugin installed.\n\nExample:\n import { Vuetify0DateAdapter } from '@vuetify/v0/date'\n import { createDatePlugin } from '@vuetify/v0'\n\n app.use(createDatePlugin({ adapter: new Vuetify0DateAdapter() }))");
|
|
9320
9297
|
return useContext(namespace);
|
|
9321
9298
|
}
|
|
9322
9299
|
//#endregion
|
|
@@ -9378,7 +9355,8 @@ function createFeatures(_options = {}) {
|
|
|
9378
9355
|
const tokens = createTokens(features, { flat: true });
|
|
9379
9356
|
const registry = createGroup({
|
|
9380
9357
|
...options,
|
|
9381
|
-
events: true
|
|
9358
|
+
events: true,
|
|
9359
|
+
reactive: true
|
|
9382
9360
|
});
|
|
9383
9361
|
for (const [id, { value }] of tokens.entries()) register({
|
|
9384
9362
|
id,
|
|
@@ -9468,6 +9446,7 @@ const keyAliasMap = {
|
|
|
9468
9446
|
minus: "-",
|
|
9469
9447
|
hyphen: "-"
|
|
9470
9448
|
};
|
|
9449
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
9471
9450
|
function normalizeKey(key) {
|
|
9472
9451
|
const lowerKey = key.toLowerCase();
|
|
9473
9452
|
return keyAliasMap[lowerKey] ?? lowerKey;
|
|
@@ -9519,7 +9498,7 @@ function splitKeyCombination(combination, isInternal = false) {
|
|
|
9519
9498
|
function flushBuffer(separator) {
|
|
9520
9499
|
if (buffer) {
|
|
9521
9500
|
if (separator) separators.push(separator);
|
|
9522
|
-
keys.push(normalizeKey(buffer));
|
|
9501
|
+
keys.push(/* @__PURE__ */ normalizeKey(buffer));
|
|
9523
9502
|
buffer = "";
|
|
9524
9503
|
}
|
|
9525
9504
|
}
|
|
@@ -9552,7 +9531,7 @@ function splitKeyCombination(combination, isInternal = false) {
|
|
|
9552
9531
|
return emptyResult;
|
|
9553
9532
|
}
|
|
9554
9533
|
if (keys.length === 0 && combination) return {
|
|
9555
|
-
keys: [normalizeKey(combination)],
|
|
9534
|
+
keys: [/* @__PURE__ */ normalizeKey(combination)],
|
|
9556
9535
|
separators
|
|
9557
9536
|
};
|
|
9558
9537
|
/* v8 ignore stop */
|
|
@@ -11059,7 +11038,7 @@ function createPermissions(_options = {}) {
|
|
|
11059
11038
|
const record = {};
|
|
11060
11039
|
for (const role in permissions) {
|
|
11061
11040
|
if (!record[role]) record[role] = {};
|
|
11062
|
-
for (const [actions, subjects, condition = true] of permissions[role]) for (const action of toArray(actions)) for (const subject of toArray(subjects)) {
|
|
11041
|
+
for (const [actions, subjects, condition = true] of permissions[role]) for (const action of /* @__PURE__ */ toArray(actions)) for (const subject of /* @__PURE__ */ toArray(subjects)) {
|
|
11063
11042
|
if (!record[role][action]) record[role][action] = {};
|
|
11064
11043
|
record[role][action][subject] = condition;
|
|
11065
11044
|
}
|
|
@@ -11314,7 +11293,7 @@ function useProxyModel(context, model, options) {
|
|
|
11314
11293
|
const _transformOut = options?.transformOut;
|
|
11315
11294
|
function transformIn(val) {
|
|
11316
11295
|
const value = toValue(val);
|
|
11317
|
-
return toArray(/* @__PURE__ */ isFunction(_transformIn) ? _transformIn(value) : value);
|
|
11296
|
+
return /* @__PURE__ */ toArray(/* @__PURE__ */ isFunction(_transformIn) ? _transformIn(value) : value);
|
|
11318
11297
|
}
|
|
11319
11298
|
function transformOut(val) {
|
|
11320
11299
|
if (/* @__PURE__ */ isFunction(_transformOut)) return _transformOut(val);
|
|
@@ -11693,7 +11672,7 @@ function createStack(_options = {}) {
|
|
|
11693
11672
|
...input,
|
|
11694
11673
|
id
|
|
11695
11674
|
});
|
|
11696
|
-
if (instanceExists()) onScopeDispose(() => {
|
|
11675
|
+
if (/* @__PURE__ */ instanceExists()) onScopeDispose(() => {
|
|
11697
11676
|
selection.unregister(id);
|
|
11698
11677
|
}, true);
|
|
11699
11678
|
return ticket;
|
|
@@ -11817,7 +11796,7 @@ function getStackFallback() {
|
|
|
11817
11796
|
*/
|
|
11818
11797
|
function useStack(namespace = "v0:stack") {
|
|
11819
11798
|
const fallback = getStackFallback();
|
|
11820
|
-
if (
|
|
11799
|
+
if (!/* @__PURE__ */ instanceExists()) return fallback;
|
|
11821
11800
|
try {
|
|
11822
11801
|
return useContext(namespace);
|
|
11823
11802
|
} catch {
|
|
@@ -12027,7 +12006,7 @@ var ThemeAdapter = class ThemeAdapter {
|
|
|
12027
12006
|
return css;
|
|
12028
12007
|
}
|
|
12029
12008
|
decompose(hex) {
|
|
12030
|
-
const { r, g, b, a } = hexToRgb(hex);
|
|
12009
|
+
const { r, g, b, a } = /* @__PURE__ */ hexToRgb(hex);
|
|
12031
12010
|
return /* @__PURE__ */ isUndefined(a) ? `${r}, ${g}, ${b}` : `${r}, ${g}, ${b}, ${a}`;
|
|
12032
12011
|
}
|
|
12033
12012
|
};
|
|
@@ -12213,7 +12192,10 @@ function createTheme(_options = {}) {
|
|
|
12213
12192
|
palette,
|
|
12214
12193
|
...themes
|
|
12215
12194
|
}, { flat: true });
|
|
12216
|
-
const registry = createSingle(
|
|
12195
|
+
const registry = createSingle({
|
|
12196
|
+
...options,
|
|
12197
|
+
reactive: true
|
|
12198
|
+
});
|
|
12217
12199
|
for (const id in themes) {
|
|
12218
12200
|
const { colors: value, ...theme } = themes[id];
|
|
12219
12201
|
register({
|
|
@@ -12232,7 +12214,7 @@ function createTheme(_options = {}) {
|
|
|
12232
12214
|
const themeColors = resolve(theme.value);
|
|
12233
12215
|
if (genForeground) for (const [key, value] of Object.entries(themeColors)) {
|
|
12234
12216
|
const onKey = `on-${key}`;
|
|
12235
|
-
if (!key.startsWith("on-") && !(onKey in themeColors)) themeColors[onKey] = foreground(value);
|
|
12217
|
+
if (!key.startsWith("on-") && !(onKey in themeColors)) themeColors[onKey] = /* @__PURE__ */ foreground(value);
|
|
12236
12218
|
}
|
|
12237
12219
|
resolved[theme.id] = themeColors;
|
|
12238
12220
|
}
|
|
@@ -12251,7 +12233,7 @@ function createTheme(_options = {}) {
|
|
|
12251
12233
|
}
|
|
12252
12234
|
function register(registration = {}) {
|
|
12253
12235
|
const { colors, ...rest } = registration;
|
|
12254
|
-
if (colors && rest.id && !registry.has(rest.id)) tokens.onboard(flatten({ [rest.id]: { colors } }, "", true));
|
|
12236
|
+
if (colors && rest.id && !registry.has(rest.id)) tokens.onboard(/* @__PURE__ */ flatten({ [rest.id]: { colors } }, "", true));
|
|
12255
12237
|
const item = {
|
|
12256
12238
|
lazy: false,
|
|
12257
12239
|
dark: false,
|
|
@@ -12459,8 +12441,8 @@ function useEventListener(target, event, listener, options) {
|
|
|
12459
12441
|
], ([el, events, listeners, opts]) => {
|
|
12460
12442
|
cleanup();
|
|
12461
12443
|
if (!el) return;
|
|
12462
|
-
const eventList = toArray(events);
|
|
12463
|
-
const listenerList = toArray(listeners);
|
|
12444
|
+
const eventList = /* @__PURE__ */ toArray(events);
|
|
12445
|
+
const listenerList = /* @__PURE__ */ toArray(listeners);
|
|
12464
12446
|
for (const event of eventList) for (const listenerFn of listenerList) cleanups.push(register(el, event, listenerFn, opts));
|
|
12465
12447
|
}, {
|
|
12466
12448
|
immediate: true,
|
|
@@ -12614,7 +12596,7 @@ function useClickOutside(target, handler, options = {}) {
|
|
|
12614
12596
|
* Resolve target(s) to an array of HTMLElements.
|
|
12615
12597
|
*/
|
|
12616
12598
|
function getTargets() {
|
|
12617
|
-
return toArray(target).map((source) => toValue(source)).filter((el) => !!el && /* @__PURE__ */ isFunction(el.contains));
|
|
12599
|
+
return (/* @__PURE__ */ toArray(target)).map((source) => toValue(source)).filter((el) => !!el && /* @__PURE__ */ isFunction(el.contains));
|
|
12618
12600
|
}
|
|
12619
12601
|
/**
|
|
12620
12602
|
* Resolve ignore targets to a tuple of [selectors, elements].
|
|
@@ -13992,6 +13974,23 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
13992
13974
|
});
|
|
13993
13975
|
onBeforeUnmount(() => ticket.unregister());
|
|
13994
13976
|
const { width, height } = useElementSize(el);
|
|
13977
|
+
const scrollPaddingStart = shallowRef();
|
|
13978
|
+
const scrollPaddingEnd = shallowRef();
|
|
13979
|
+
function syncScrollPadding() {
|
|
13980
|
+
const element = el.value;
|
|
13981
|
+
if (!element) {
|
|
13982
|
+
scrollPaddingStart.value = void 0;
|
|
13983
|
+
scrollPaddingEnd.value = void 0;
|
|
13984
|
+
return;
|
|
13985
|
+
}
|
|
13986
|
+
const cs = getComputedStyle(element);
|
|
13987
|
+
const start = isVertical.value ? cs.paddingBlockStart : cs.paddingInlineStart;
|
|
13988
|
+
const end = isVertical.value ? cs.paddingBlockEnd : cs.paddingInlineEnd;
|
|
13989
|
+
scrollPaddingStart.value = start && start !== "0px" ? start : void 0;
|
|
13990
|
+
scrollPaddingEnd.value = end && end !== "0px" ? end : void 0;
|
|
13991
|
+
}
|
|
13992
|
+
useResizeObserver(el, syncScrollPadding, { immediate: true });
|
|
13993
|
+
watch(isVertical, syncScrollPadding);
|
|
13995
13994
|
const slideStep = toRef(() => {
|
|
13996
13995
|
if (!el.value) return 0;
|
|
13997
13996
|
if ((isVertical.value ? height.value : width.value) === 0) return 0;
|
|
@@ -14091,6 +14090,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
14091
14090
|
});
|
|
14092
14091
|
});
|
|
14093
14092
|
const viewportStyle = toRef(() => {
|
|
14093
|
+
const axis = isVertical.value ? "block" : "inline";
|
|
14094
14094
|
return {
|
|
14095
14095
|
"display": "flex",
|
|
14096
14096
|
"flex-direction": isVertical.value ? "column" : "row",
|
|
@@ -14098,6 +14098,8 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
14098
14098
|
[isVertical.value ? "overflow-x" : "overflow-y"]: "hidden",
|
|
14099
14099
|
"scroll-snap-type": snapDisabled.value ? "none" : `${isVertical.value ? "y" : "x"} mandatory`,
|
|
14100
14100
|
"scrollbar-width": "none",
|
|
14101
|
+
...scrollPaddingStart.value ? { [`scroll-padding-${axis}-start`]: scrollPaddingStart.value } : {},
|
|
14102
|
+
...scrollPaddingEnd.value ? { [`scroll-padding-${axis}-end`]: scrollPaddingEnd.value } : {},
|
|
14101
14103
|
...snapDisabled.value ? { "user-select": "none" } : {}
|
|
14102
14104
|
};
|
|
14103
14105
|
});
|
|
@@ -16014,7 +16016,7 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
16014
16016
|
"type": __props.as === "button" ? "button" : void 0,
|
|
16015
16017
|
"aria-haspopup": "dialog",
|
|
16016
16018
|
"aria-expanded": context.isOpen.value,
|
|
16017
|
-
"data-
|
|
16019
|
+
"data-open": context.isOpen.value || void 0
|
|
16018
16020
|
}
|
|
16019
16021
|
}));
|
|
16020
16022
|
return (_ctx, _cache) => {
|
|
@@ -17070,10 +17072,11 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
17070
17072
|
},
|
|
17071
17073
|
setup(__props) {
|
|
17072
17074
|
const parent = useLocale();
|
|
17075
|
+
const scopedParent = parent;
|
|
17073
17076
|
const selectedId = toRef(() => __props.locale);
|
|
17074
17077
|
const selectedItem = toRef(() => parent.get(__props.locale));
|
|
17075
|
-
const rootT =
|
|
17076
|
-
const rootN =
|
|
17078
|
+
const rootT = scopedParent._rootT ?? parent.t;
|
|
17079
|
+
const rootN = scopedParent._rootN ?? parent.n;
|
|
17077
17080
|
function t(key, ...params) {
|
|
17078
17081
|
const prev = new Set(parent.selectedIds);
|
|
17079
17082
|
parent.selectedIds.clear();
|
|
@@ -18269,10 +18272,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
|
18269
18272
|
id: __props.id,
|
|
18270
18273
|
isOpen: isSelected
|
|
18271
18274
|
});
|
|
18272
|
-
providePopoverContext(
|
|
18273
|
-
...popover,
|
|
18274
|
-
isSelected
|
|
18275
|
-
});
|
|
18275
|
+
providePopoverContext(popover);
|
|
18276
18276
|
const slotProps = toRef(() => ({
|
|
18277
18277
|
id: popover.id,
|
|
18278
18278
|
isSelected: isSelected.value,
|
|
@@ -18311,7 +18311,7 @@ const _sfc_main$91 = /* @__PURE__ */ defineComponent({
|
|
|
18311
18311
|
attrs: {
|
|
18312
18312
|
"popovertarget": toValue(popovertarget),
|
|
18313
18313
|
"type": __props.as === "button" ? "button" : void 0,
|
|
18314
|
-
"data-
|
|
18314
|
+
"data-open": context.isOpen.value || void 0
|
|
18315
18315
|
}
|
|
18316
18316
|
}));
|
|
18317
18317
|
return (_ctx, _cache) => {
|
|
@@ -19699,7 +19699,7 @@ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
|
|
|
19699
19699
|
"aria-expanded": context.isOpen.value,
|
|
19700
19700
|
"aria-haspopup": "listbox",
|
|
19701
19701
|
"aria-controls": context.listboxId,
|
|
19702
|
-
"data-
|
|
19702
|
+
"data-open": context.isOpen.value || void 0
|
|
19703
19703
|
}
|
|
19704
19704
|
}));
|
|
19705
19705
|
return (_ctx, _cache) => {
|
|
@@ -21089,31 +21089,38 @@ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
|
|
|
21089
21089
|
const splitter = useSplitterRoot();
|
|
21090
21090
|
const panelId = /* @__PURE__ */ useId();
|
|
21091
21091
|
const rootSize = shallowRef(0);
|
|
21092
|
-
|
|
21092
|
+
function isPx(value) {
|
|
21093
|
+
return /* @__PURE__ */ isString(value) && value.endsWith("px");
|
|
21094
|
+
}
|
|
21095
|
+
if (isPx(__props.defaultSize) || isPx(__props.minSize) || isPx(__props.maxSize) || isPx(__props.collapsedSize)) useResizeObserver(splitter.rootEl, (entries) => {
|
|
21093
21096
|
const rect = entries[0]?.contentRect;
|
|
21094
21097
|
rootSize.value = splitter.orientation.value === "horizontal" ? rect?.width ?? 0 : rect?.height ?? 0;
|
|
21095
21098
|
});
|
|
21096
|
-
function
|
|
21097
|
-
if (!/* @__PURE__ */ isString(
|
|
21098
|
-
const
|
|
21099
|
-
|
|
21100
|
-
|
|
21099
|
+
function percent(value, fallback) {
|
|
21100
|
+
if (!/* @__PURE__ */ isString(value)) return value;
|
|
21101
|
+
const num = Number.parseFloat(value);
|
|
21102
|
+
if (Number.isNaN(num)) return fallback;
|
|
21103
|
+
if (value.endsWith("px")) {
|
|
21104
|
+
const dimension = rootSize.value || (splitter.orientation.value === "horizontal" ? splitter.rootEl.value?.offsetWidth : splitter.rootEl.value?.offsetHeight) || 0;
|
|
21105
|
+
return dimension > 0 ? num / dimension * 100 : fallback;
|
|
21106
|
+
}
|
|
21107
|
+
return num;
|
|
21101
21108
|
}
|
|
21102
21109
|
const ticket = splitter.panels.register({
|
|
21103
21110
|
id: panelId,
|
|
21104
|
-
size: __props.defaultSize,
|
|
21105
|
-
minSize: __props.minSize,
|
|
21106
|
-
maxSize:
|
|
21111
|
+
size: percent(__props.defaultSize, 0),
|
|
21112
|
+
minSize: percent(__props.minSize, 0),
|
|
21113
|
+
maxSize: percent(__props.maxSize, 100),
|
|
21107
21114
|
collapsible: __props.collapsible,
|
|
21108
|
-
collapsedSize: __props.collapsedSize,
|
|
21109
|
-
defaultSize: __props.defaultSize
|
|
21115
|
+
collapsedSize: percent(__props.collapsedSize, 0),
|
|
21116
|
+
defaultSize: percent(__props.defaultSize, 0)
|
|
21110
21117
|
});
|
|
21111
21118
|
watchEffect(() => {
|
|
21112
|
-
ticket.minSize = __props.minSize;
|
|
21113
|
-
ticket.maxSize =
|
|
21119
|
+
ticket.minSize = percent(__props.minSize, 0);
|
|
21120
|
+
ticket.maxSize = percent(__props.maxSize, 100);
|
|
21114
21121
|
ticket.collapsible = __props.collapsible;
|
|
21115
|
-
ticket.collapsedSize = __props.collapsedSize;
|
|
21116
|
-
ticket.defaultSize = __props.defaultSize;
|
|
21122
|
+
ticket.collapsedSize = percent(__props.collapsedSize, 0);
|
|
21123
|
+
ticket.defaultSize = percent(__props.defaultSize, 0);
|
|
21117
21124
|
});
|
|
21118
21125
|
onBeforeUnmount(() => {
|
|
21119
21126
|
splitter.panels.unregister(ticket.id);
|
|
@@ -23206,4 +23213,4 @@ const Treeview = {
|
|
|
23206
23213
|
SelectAll: _sfc_main$160
|
|
23207
23214
|
};
|
|
23208
23215
|
//#endregion
|
|
23209
|
-
export { AlertDialog, _sfc_main as AlertDialogAction, _sfc_main$1 as AlertDialogActivator, _sfc_main$2 as AlertDialogCancel, _sfc_main$3 as AlertDialogClose, _sfc_main$4 as AlertDialogContent, _sfc_main$5 as AlertDialogDescription, _sfc_main$6 as AlertDialogRoot, _sfc_main$7 as AlertDialogTitle, _sfc_main$8 as AspectRatio, _sfc_main$9 as Atom, Avatar, _sfc_main$10 as AvatarFallback, _sfc_main$11 as AvatarImage, _sfc_main$12 as AvatarRoot, Breadcrumbs, _sfc_main$13 as BreadcrumbsDivider, _sfc_main$14 as BreadcrumbsEllipsis, _sfc_main$15 as BreadcrumbsItem, _sfc_main$16 as BreadcrumbsLink, _sfc_main$17 as BreadcrumbsList, _sfc_main$18 as BreadcrumbsPage, _sfc_main$19 as BreadcrumbsRoot, Button, _sfc_main$20 as ButtonContent, _sfc_main$21 as ButtonGroup, _sfc_main$22 as ButtonHiddenInput, _sfc_main$23 as ButtonIcon, _sfc_main$24 as ButtonLoading, _sfc_main$25 as ButtonRoot, COMMON_ELEMENTS, Carousel, _sfc_main$26 as CarouselIndicator, _sfc_main$27 as CarouselItem, _sfc_main$28 as CarouselLiveRegion, _sfc_main$29 as CarouselNext, _sfc_main$30 as CarouselPrevious, _sfc_main$31 as CarouselProgress, _sfc_main$32 as CarouselRoot, _sfc_main$33 as CarouselViewport, Checkbox, _sfc_main$34 as CheckboxGroup, _sfc_main$35 as CheckboxHiddenInput, _sfc_main$36 as CheckboxIndicator, _sfc_main$37 as CheckboxRoot, _sfc_main$38 as CheckboxSelectAll, ClientAdapter, Collapsible, _sfc_main$39 as CollapsibleActivator, _sfc_main$40 as CollapsibleContent, _sfc_main$41 as CollapsibleCue, _sfc_main$42 as CollapsibleRoot, Combobox, _sfc_main$43 as ComboboxActivator, ClientAdapter$1 as ComboboxClientAdapter, _sfc_main$44 as ComboboxContent, _sfc_main$45 as ComboboxControl, _sfc_main$46 as ComboboxCue, _sfc_main$47 as ComboboxDescription, _sfc_main$48 as ComboboxEmpty, _sfc_main$49 as ComboboxError, _sfc_main$50 as ComboboxItem, _sfc_main$51 as ComboboxRoot, ServerAdapter as ComboboxServerAdapter, ConsolaLoggerAdapter, DataTableAdapter, Dialog, _sfc_main$52 as DialogActivator, _sfc_main$53 as DialogClose, _sfc_main$54 as DialogContent, _sfc_main$55 as DialogDescription, _sfc_main$56 as DialogRoot, _sfc_main$57 as DialogTitle, ExpansionPanel, _sfc_main$58 as ExpansionPanelActivator, _sfc_main$59 as ExpansionPanelContent, _sfc_main$60 as ExpansionPanelCue, _sfc_main$61 as ExpansionPanelGroup, _sfc_main$62 as ExpansionPanelHeader, _sfc_main$63 as ExpansionPanelRoot, FeaturesAdapter, _sfc_main$64 as Form, Group, _sfc_main$65 as GroupItem, _sfc_main$66 as GroupRoot, IN_BROWSER, Image, _sfc_main$67 as ImageFallback, _sfc_main$68 as ImageImg, _sfc_main$69 as ImagePlaceholder, _sfc_main$70 as ImageRoot, Input, _sfc_main$71 as InputControl, _sfc_main$72 as InputDescription, _sfc_main$73 as InputError, _sfc_main$74 as InputRoot, _sfc_main$75 as Locale, MemoryAdapter, NumberField, _sfc_main$76 as NumberFieldControl, _sfc_main$77 as NumberFieldDecrement, _sfc_main$78 as NumberFieldDescription, _sfc_main$79 as NumberFieldError, _sfc_main$80 as NumberFieldIncrement, _sfc_main$81 as NumberFieldRoot, _sfc_main$82 as NumberFieldScrub, Pagination, _sfc_main$83 as PaginationEllipsis, _sfc_main$84 as PaginationFirst, _sfc_main$85 as PaginationItem, _sfc_main$86 as PaginationLast, _sfc_main$87 as PaginationNext, _sfc_main$88 as PaginationPrev, _sfc_main$89 as PaginationRoot, _sfc_main$90 as PaginationStatus, PermissionAdapter, PinoLoggerAdapter, Popover, _sfc_main$91 as PopoverActivator, _sfc_main$92 as PopoverContent, _sfc_main$93 as PopoverRoot, _sfc_main$94 as Portal, _sfc_main$95 as Presence, Progress, _sfc_main$96 as ProgressBuffer, _sfc_main$97 as ProgressFill, _sfc_main$98 as ProgressHiddenInput, _sfc_main$99 as ProgressLabel, _sfc_main$100 as ProgressRoot, _sfc_main$101 as ProgressTrack, _sfc_main$102 as ProgressValue, Radio, _sfc_main$103 as RadioGroup, _sfc_main$104 as RadioHiddenInput, _sfc_main$105 as RadioIndicator, _sfc_main$106 as RadioRoot, Rating, _sfc_main$107 as RatingHiddenInput, _sfc_main$108 as RatingItem, _sfc_main$109 as RatingRoot, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, _sfc_main$110 as Scrim, Select, _sfc_main$111 as SelectActivator, _sfc_main$112 as SelectContent, _sfc_main$113 as SelectCue, _sfc_main$114 as SelectItem, _sfc_main$115 as SelectPlaceholder, _sfc_main$116 as SelectRoot, _sfc_main$117 as SelectValue, Selection, _sfc_main$118 as SelectionItem, _sfc_main$119 as SelectionRoot, ServerAdapter$1 as ServerAdapter, Single, _sfc_main$120 as SingleItem, _sfc_main$121 as SingleRoot, Slider, _sfc_main$122 as SliderHiddenInput, _sfc_main$123 as SliderRange, _sfc_main$124 as SliderRoot, _sfc_main$125 as SliderThumb, _sfc_main$126 as SliderTrack, Snackbar, _sfc_main$127 as SnackbarClose, _sfc_main$128 as SnackbarContent, _sfc_main$129 as SnackbarPortal, _sfc_main$130 as SnackbarQueue, _sfc_main$131 as SnackbarRoot, Splitter, _sfc_main$132 as SplitterHandle, _sfc_main$133 as SplitterPanel, _sfc_main$134 as SplitterRoot, Step, _sfc_main$135 as StepItem, _sfc_main$136 as StepRoot, Switch, _sfc_main$137 as SwitchGroup, _sfc_main$138 as SwitchHiddenInput, _sfc_main$139 as SwitchRoot, _sfc_main$140 as SwitchSelectAll, _sfc_main$141 as SwitchThumb, _sfc_main$142 as SwitchTrack, Tabs, _sfc_main$143 as TabsItem, _sfc_main$144 as TabsList, _sfc_main$145 as TabsPanel, _sfc_main$146 as TabsRoot, _sfc_main$147 as Theme, Toggle, _sfc_main$148 as ToggleGroup, _sfc_main$149 as ToggleIndicator, _sfc_main$150 as ToggleRoot, Treeview, _sfc_main$151 as TreeviewActivator, _sfc_main$152 as TreeviewCheckbox, _sfc_main$153 as TreeviewContent, _sfc_main$154 as TreeviewCue, _sfc_main$155 as TreeviewGroup, _sfc_main$156 as TreeviewIndicator, _sfc_main$157 as TreeviewItem, _sfc_main$158 as TreeviewList, _sfc_main$159 as TreeviewRoot, _sfc_main$160 as TreeviewSelectAll, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, VirtualAdapter, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0RtlAdapter, __LOGGER_ENABLED__, apca, clamp, computeDepth, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createCombobox, createComboboxContext, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createInput, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createNotifications, createNotificationsContext, createNotificationsPlugin, createNumberField, createNumeric, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createProgress, createProgressContext, createQueue, createQueueContext, createRating, createRatingContext, createRegistry, createRegistryContext, createRtl, createRtlContext, createRtlFallback, createRtlPlugin, createRules, createRulesContext, createRulesFallback, createRulesPlugin, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createValidation, createVirtual, createVirtualContext, extractLeaves, flatten, foreground, hexToRgb, instanceExists, instanceName, isArray, isBoolean, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isStandardSchema, isString, isSymbol, isUndefined, mergeDeep, provideAlertDialogContext, provideAvatarRoot, provideBreadcrumbsRoot, provideButtonGroup, provideButtonRoot, provideCarouselRoot, provideCheckboxGroup, provideCheckboxRoot, provideCollapsible, provideComboboxContext, provideContext, provideDialogContext, provideExpansionPanelGroup, provideExpansionPanelRoot, provideGroupRoot, provideImageRoot, provideInputRoot, provideNumberFieldRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideProgressRoot, provideRadioGroup, provideRadioRoot, provideRatingRoot, provideSelectContext, provideSelectionRoot, provideSingleRoot, provideSliderRoot, provideSnackbarQueueContext, provideSnackbarRootContext, provideSplitterRoot, provideStepRoot, provideSwitchGroup, provideSwitchRoot, provideTabsRoot, provideToggleGroup, provideToggleRoot, provideTreeviewItem, provideTreeviewList, provideTreeviewRoot, range, resolveHeaders, resolveIds, resolveIndexes, rgbToHex, toArray, toElement, toReactive, useAlertDialogContext, useAvatarRoot, useBreadcrumbs, useBreadcrumbsRoot, useBreakpoints, useButtonGroup, useButtonRoot, useCarouselRoot, useCheckboxGroup, useCheckboxRoot, useClickOutside, useCollapsible, useCombobox, useComboboxContext, useContext, useDataTable, useDate, useDialogContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useExpansionPanelGroup, useExpansionPanelRoot, useFeatures, useFilter, useForm, useGroup, useGroupRoot, useHotkey, useHydration, useId, useImage, useImageRoot, useInputRoot, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useNotifications, useNumberFieldRoot, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePaginationRoot, usePermissions, usePopover, usePopoverContext, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, usePresence, useProgress, useProgressRoot, useProxyModel, useProxyRegistry, useQueue, useRadioGroup, useRadioRoot, useRaf, useRating, useRatingRoot, useRegistry, useResizeObserver, useRovingFocus, useRtl, useRules, useSelectContext, useSelection, useSelectionRoot, useSingle, useSingleRoot, useSliderRoot, useSnackbarQueueContext, useSnackbarRootContext, useSplitterRoot, useStack, useStep, useStepRoot, useStorage, useSwitchGroup, useSwitchRoot, useTabsRoot, useTheme, useTimeline, useTimer, useToggleGroup, useToggleRoot, useToggleScope, useTokens, useTreeviewItem, useTreeviewList, useTreeviewRoot, useVirtual, useVirtualFocus, useWindowEventListener, version };
|
|
23216
|
+
export { AlertDialog, _sfc_main as AlertDialogAction, _sfc_main$1 as AlertDialogActivator, _sfc_main$2 as AlertDialogCancel, _sfc_main$3 as AlertDialogClose, _sfc_main$4 as AlertDialogContent, _sfc_main$5 as AlertDialogDescription, _sfc_main$6 as AlertDialogRoot, _sfc_main$7 as AlertDialogTitle, _sfc_main$8 as AspectRatio, _sfc_main$9 as Atom, Avatar, _sfc_main$10 as AvatarFallback, _sfc_main$11 as AvatarImage, _sfc_main$12 as AvatarRoot, Breadcrumbs, _sfc_main$13 as BreadcrumbsDivider, _sfc_main$14 as BreadcrumbsEllipsis, _sfc_main$15 as BreadcrumbsItem, _sfc_main$16 as BreadcrumbsLink, _sfc_main$17 as BreadcrumbsList, _sfc_main$18 as BreadcrumbsPage, _sfc_main$19 as BreadcrumbsRoot, Button, _sfc_main$20 as ButtonContent, _sfc_main$21 as ButtonGroup, _sfc_main$22 as ButtonHiddenInput, _sfc_main$23 as ButtonIcon, _sfc_main$24 as ButtonLoading, _sfc_main$25 as ButtonRoot, Carousel, _sfc_main$26 as CarouselIndicator, _sfc_main$27 as CarouselItem, _sfc_main$28 as CarouselLiveRegion, _sfc_main$29 as CarouselNext, _sfc_main$30 as CarouselPrevious, _sfc_main$31 as CarouselProgress, _sfc_main$32 as CarouselRoot, _sfc_main$33 as CarouselViewport, Checkbox, _sfc_main$34 as CheckboxGroup, _sfc_main$35 as CheckboxHiddenInput, _sfc_main$36 as CheckboxIndicator, _sfc_main$37 as CheckboxRoot, _sfc_main$38 as CheckboxSelectAll, ClientAdapter, Collapsible, _sfc_main$39 as CollapsibleActivator, _sfc_main$40 as CollapsibleContent, _sfc_main$41 as CollapsibleCue, _sfc_main$42 as CollapsibleRoot, Combobox, _sfc_main$43 as ComboboxActivator, ClientAdapter$1 as ComboboxClientAdapter, _sfc_main$44 as ComboboxContent, _sfc_main$45 as ComboboxControl, _sfc_main$46 as ComboboxCue, _sfc_main$47 as ComboboxDescription, _sfc_main$48 as ComboboxEmpty, _sfc_main$49 as ComboboxError, _sfc_main$50 as ComboboxItem, _sfc_main$51 as ComboboxRoot, ServerAdapter as ComboboxServerAdapter, ConsolaLoggerAdapter, DataTableAdapter, Dialog, _sfc_main$52 as DialogActivator, _sfc_main$53 as DialogClose, _sfc_main$54 as DialogContent, _sfc_main$55 as DialogDescription, _sfc_main$56 as DialogRoot, _sfc_main$57 as DialogTitle, ExpansionPanel, _sfc_main$58 as ExpansionPanelActivator, _sfc_main$59 as ExpansionPanelContent, _sfc_main$60 as ExpansionPanelCue, _sfc_main$61 as ExpansionPanelGroup, _sfc_main$62 as ExpansionPanelHeader, _sfc_main$63 as ExpansionPanelRoot, FeaturesAdapter, _sfc_main$64 as Form, Group, _sfc_main$65 as GroupItem, _sfc_main$66 as GroupRoot, IN_BROWSER, Image, _sfc_main$67 as ImageFallback, _sfc_main$68 as ImageImg, _sfc_main$69 as ImagePlaceholder, _sfc_main$70 as ImageRoot, Input, _sfc_main$71 as InputControl, _sfc_main$72 as InputDescription, _sfc_main$73 as InputError, _sfc_main$74 as InputRoot, _sfc_main$75 as Locale, MemoryAdapter, NumberField, _sfc_main$76 as NumberFieldControl, _sfc_main$77 as NumberFieldDecrement, _sfc_main$78 as NumberFieldDescription, _sfc_main$79 as NumberFieldError, _sfc_main$80 as NumberFieldIncrement, _sfc_main$81 as NumberFieldRoot, _sfc_main$82 as NumberFieldScrub, Pagination, _sfc_main$83 as PaginationEllipsis, _sfc_main$84 as PaginationFirst, _sfc_main$85 as PaginationItem, _sfc_main$86 as PaginationLast, _sfc_main$87 as PaginationNext, _sfc_main$88 as PaginationPrev, _sfc_main$89 as PaginationRoot, _sfc_main$90 as PaginationStatus, PermissionAdapter, PinoLoggerAdapter, Popover, _sfc_main$91 as PopoverActivator, _sfc_main$92 as PopoverContent, _sfc_main$93 as PopoverRoot, _sfc_main$94 as Portal, _sfc_main$95 as Presence, Progress, _sfc_main$96 as ProgressBuffer, _sfc_main$97 as ProgressFill, _sfc_main$98 as ProgressHiddenInput, _sfc_main$99 as ProgressLabel, _sfc_main$100 as ProgressRoot, _sfc_main$101 as ProgressTrack, _sfc_main$102 as ProgressValue, Radio, _sfc_main$103 as RadioGroup, _sfc_main$104 as RadioHiddenInput, _sfc_main$105 as RadioIndicator, _sfc_main$106 as RadioRoot, Rating, _sfc_main$107 as RatingHiddenInput, _sfc_main$108 as RatingItem, _sfc_main$109 as RatingRoot, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, _sfc_main$110 as Scrim, Select, _sfc_main$111 as SelectActivator, _sfc_main$112 as SelectContent, _sfc_main$113 as SelectCue, _sfc_main$114 as SelectItem, _sfc_main$115 as SelectPlaceholder, _sfc_main$116 as SelectRoot, _sfc_main$117 as SelectValue, Selection, _sfc_main$118 as SelectionItem, _sfc_main$119 as SelectionRoot, ServerAdapter$1 as ServerAdapter, Single, _sfc_main$120 as SingleItem, _sfc_main$121 as SingleRoot, Slider, _sfc_main$122 as SliderHiddenInput, _sfc_main$123 as SliderRange, _sfc_main$124 as SliderRoot, _sfc_main$125 as SliderThumb, _sfc_main$126 as SliderTrack, Snackbar, _sfc_main$127 as SnackbarClose, _sfc_main$128 as SnackbarContent, _sfc_main$129 as SnackbarPortal, _sfc_main$130 as SnackbarQueue, _sfc_main$131 as SnackbarRoot, Splitter, _sfc_main$132 as SplitterHandle, _sfc_main$133 as SplitterPanel, _sfc_main$134 as SplitterRoot, Step, _sfc_main$135 as StepItem, _sfc_main$136 as StepRoot, Switch, _sfc_main$137 as SwitchGroup, _sfc_main$138 as SwitchHiddenInput, _sfc_main$139 as SwitchRoot, _sfc_main$140 as SwitchSelectAll, _sfc_main$141 as SwitchThumb, _sfc_main$142 as SwitchTrack, Tabs, _sfc_main$143 as TabsItem, _sfc_main$144 as TabsList, _sfc_main$145 as TabsPanel, _sfc_main$146 as TabsRoot, _sfc_main$147 as Theme, Toggle, _sfc_main$148 as ToggleGroup, _sfc_main$149 as ToggleIndicator, _sfc_main$150 as ToggleRoot, Treeview, _sfc_main$151 as TreeviewActivator, _sfc_main$152 as TreeviewCheckbox, _sfc_main$153 as TreeviewContent, _sfc_main$154 as TreeviewCue, _sfc_main$155 as TreeviewGroup, _sfc_main$156 as TreeviewIndicator, _sfc_main$157 as TreeviewItem, _sfc_main$158 as TreeviewList, _sfc_main$159 as TreeviewRoot, _sfc_main$160 as TreeviewSelectAll, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, VirtualAdapter, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0RtlAdapter, __LOGGER_ENABLED__, apca, clamp, computeDepth, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createCombobox, createComboboxContext, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createInput, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createNotifications, createNotificationsContext, createNotificationsPlugin, createNumberField, createNumeric, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createProgress, createProgressContext, createQueue, createQueueContext, createRating, createRatingContext, createRegistry, createRegistryContext, createRtl, createRtlContext, createRtlFallback, createRtlPlugin, createRules, createRulesContext, createRulesFallback, createRulesPlugin, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createValidation, createVirtual, createVirtualContext, extractLeaves, flatten, foreground, hexToRgb, instanceExists, instanceName, isArray, isBoolean, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isStandardSchema, isString, isSymbol, isUndefined, mergeDeep, provideAlertDialogContext, provideAvatarRoot, provideBreadcrumbsRoot, provideButtonGroup, provideButtonRoot, provideCarouselRoot, provideCheckboxGroup, provideCheckboxRoot, provideCollapsible, provideComboboxContext, provideContext, provideDialogContext, provideExpansionPanelGroup, provideExpansionPanelRoot, provideGroupRoot, provideImageRoot, provideInputRoot, provideNumberFieldRoot, providePaginationControls, providePaginationItems, providePaginationRoot, providePopoverContext, provideProgressRoot, provideRadioGroup, provideRadioRoot, provideRatingRoot, provideSelectContext, provideSelectionRoot, provideSingleRoot, provideSliderRoot, provideSnackbarQueueContext, provideSnackbarRootContext, provideSplitterRoot, provideStepRoot, provideSwitchGroup, provideSwitchRoot, provideTabsRoot, provideToggleGroup, provideToggleRoot, provideTreeviewItem, provideTreeviewList, provideTreeviewRoot, range, resolveHeaders, resolveIds, resolveIndexes, rgbToHex, toArray, toElement, toReactive, useAlertDialogContext, useAvatarRoot, useBreadcrumbs, useBreadcrumbsRoot, useBreakpoints, useButtonGroup, useButtonRoot, useCarouselRoot, useCheckboxGroup, useCheckboxRoot, useClickOutside, useCollapsible, useCombobox, useComboboxContext, useContext, useDataTable, useDate, useDialogContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useExpansionPanelGroup, useExpansionPanelRoot, useFeatures, useFilter, useForm, useGroup, useGroupRoot, useHotkey, useHydration, useId, useImage, useImageRoot, useInputRoot, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useNotifications, useNumberFieldRoot, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePaginationRoot, usePermissions, usePopover, usePopoverContext, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, usePresence, useProgress, useProgressRoot, useProxyModel, useProxyRegistry, useQueue, useRadioGroup, useRadioRoot, useRaf, useRating, useRatingRoot, useRegistry, useResizeObserver, useRovingFocus, useRtl, useRules, useSelectContext, useSelection, useSelectionRoot, useSingle, useSingleRoot, useSliderRoot, useSnackbarQueueContext, useSnackbarRootContext, useSplitterRoot, useStack, useStep, useStepRoot, useStorage, useSwitchGroup, useSwitchRoot, useTabsRoot, useTheme, useTimeline, useTimer, useToggleGroup, useToggleRoot, useToggleScope, useTokens, useTreeviewItem, useTreeviewList, useTreeviewRoot, useVirtual, useVirtualFocus, useWindowEventListener, version };
|