@vuetify/v0 0.1.3 → 0.1.5
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-CJIj5ySf.d.mts +11 -0
- package/dist/adapter-Cmeg49W9.mjs +229 -0
- package/dist/adapter-D2JoR-4d.d.mts +344 -0
- package/dist/adapters-BQ-Lr3PW.mjs +1 -0
- package/dist/adapters-DEXpW9If.mjs +1 -0
- package/dist/adapters-Q9WaOsJp.mjs +1 -0
- package/dist/adapters-SSDVth5e.mjs +1 -0
- package/dist/browser/index.js +953 -1026
- package/dist/components/index.d.mts +20 -7
- package/dist/components/index.mjs +38 -6
- package/dist/{components-C0zEvP7w.mjs → components-BbbGkTcN.mjs} +579 -107
- package/dist/composables/index.d.mts +17 -4
- package/dist/composables/index.mjs +36 -4
- package/dist/consola-DiUk9j3y.d.mts +15 -0
- package/dist/consola-GBy8XRuL.mjs +31 -0
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +3 -3
- package/dist/constants-B8pMSkcW.mjs +1 -0
- package/dist/createDataTable-cNf6DdHz.mjs +387 -0
- package/dist/createGroup-BrZPZudL.mjs +363 -0
- package/dist/createPagination-Wc_vRGNQ.mjs +234 -0
- package/dist/createSelection-BURpoE3p.mjs +261 -0
- package/dist/createSingle-BE1vHaZy.mjs +179 -0
- package/dist/createTokens-jwf8-iGn.mjs +682 -0
- package/dist/createTrinity-DkwPrPRS.mjs +149 -0
- package/dist/data-table/adapters/client/index.d.mts +3 -0
- package/dist/data-table/adapters/client/index.mjs +9 -0
- package/dist/data-table/adapters/index.d.mts +5 -0
- package/dist/data-table/adapters/index.mjs +12 -0
- package/dist/data-table/adapters/server/index.d.mts +3 -0
- package/dist/data-table/adapters/server/index.mjs +7 -0
- package/dist/data-table/adapters/virtual/index.d.mts +3 -0
- package/dist/data-table/adapters/virtual/index.mjs +9 -0
- package/dist/data-table/index.d.mts +7 -0
- package/dist/data-table/index.mjs +25 -0
- package/dist/date/index.d.mts +1 -1
- package/dist/date/index.mjs +2 -2
- package/dist/features/adapters/flagsmith/index.d.mts +16 -0
- package/dist/features/adapters/flagsmith/index.mjs +3 -0
- package/dist/features/adapters/launchdarkly/index.d.mts +15 -0
- package/dist/features/adapters/launchdarkly/index.mjs +3 -0
- package/dist/features/adapters/posthog/index.d.mts +15 -0
- package/dist/features/adapters/posthog/index.mjs +4 -0
- package/dist/features/index.d.mts +17 -0
- package/dist/features/index.mjs +18 -0
- package/dist/flagsmith-CHmpPGR7.mjs +40 -0
- package/dist/{globals-BwYsH-rt.mjs → globals-vN-O052q.mjs} +2 -2
- package/dist/index-BDTbJClL.d.mts +11 -0
- package/dist/{index-2wh69fk5.d.mts → index-BTMzRHep.d.mts} +187 -1417
- package/dist/index-BuOz3Rgm.d.mts +32 -0
- package/dist/{index-Bmem4l8m.d.mts → index-Bv1VN_j5.d.mts} +1 -1
- package/dist/{index-DFM5iBqh.d.mts → index-DRax9EgT.d.mts} +1044 -437
- package/dist/index-DdWxDPX3.d.mts +251 -0
- package/dist/{index-DBZTizq2.d.mts → index-UNwEBkQT.d.mts} +16 -2
- package/dist/index.d.mts +20 -7
- package/dist/index.mjs +39 -7
- package/dist/json/attributes.json +172 -0
- package/dist/json/importMap.json +28 -0
- package/dist/json/tags.json +73 -0
- package/dist/json/web-types.json +475 -1
- package/dist/launchdarkly-W8t8ZANX.mjs +28 -0
- package/dist/locale/adapters/index.d.mts +3 -0
- package/dist/locale/adapters/index.mjs +6 -0
- package/dist/locale/adapters/v0/index.d.mts +3 -0
- package/dist/locale/adapters/v0/index.mjs +5 -0
- package/dist/locale/index.d.mts +17 -0
- package/dist/locale/index.mjs +17 -0
- package/dist/logger/adapters/consola/index.d.mts +3 -0
- package/dist/logger/adapters/consola/index.mjs +3 -0
- package/dist/logger/adapters/index.d.mts +5 -0
- package/dist/logger/adapters/index.mjs +8 -0
- package/dist/logger/adapters/pino/index.d.mts +3 -0
- package/dist/logger/adapters/pino/index.mjs +5 -0
- package/dist/logger/adapters/v0/index.d.mts +3 -0
- package/dist/logger/adapters/v0/index.mjs +5 -0
- package/dist/logger/index.d.mts +17 -0
- package/dist/logger/index.mjs +10 -0
- package/dist/memory-BsZGbGnG.mjs +27 -0
- package/dist/memory-DVjquu_v.d.mts +25 -0
- package/dist/permissions/adapters/index.d.mts +18 -0
- package/dist/permissions/adapters/index.mjs +6 -0
- package/dist/permissions/adapters/v0/index.d.mts +18 -0
- package/dist/permissions/adapters/v0/index.mjs +5 -0
- package/dist/permissions/index.d.mts +17 -0
- package/dist/permissions/index.mjs +15 -0
- package/dist/pino-DFxkZLiu.mjs +49 -0
- package/dist/pino-p-jDkNQd.d.mts +24 -0
- package/dist/posthog-BOUoZTTf.mjs +50 -0
- package/dist/server-B-HWxaTQ.d.mts +20 -0
- package/dist/server-C2R2POGE.mjs +45 -0
- package/dist/storage/adapters/index.d.mts +3 -0
- package/dist/storage/adapters/index.mjs +3 -0
- package/dist/storage/adapters/memory/index.d.mts +2 -0
- package/dist/storage/adapters/memory/index.mjs +3 -0
- package/dist/storage/index.d.mts +17 -0
- package/dist/storage/index.mjs +37 -0
- package/dist/theme/adapters/index.d.mts +17 -0
- package/dist/theme/adapters/index.mjs +6 -0
- package/dist/theme/adapters/v0/index.d.mts +17 -0
- package/dist/theme/adapters/v0/index.mjs +5 -0
- package/dist/theme/index.d.mts +17 -0
- package/dist/theme/index.mjs +16 -0
- package/dist/toArray-VIn8vYt3.mjs +38 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/useClickOutside-DIi0kjN5.mjs +4716 -0
- package/dist/useFeatures-6O7EPJUS.mjs +122 -0
- package/dist/useLocale-DHjbekzS.mjs +85 -0
- package/dist/useLogger-BXqiUvt2.mjs +283 -0
- package/dist/usePermissions-DFacFVqO.mjs +128 -0
- package/dist/useTheme-D0_1mjTw.mjs +135 -0
- package/dist/utilities/index.d.mts +3 -3
- package/dist/utilities/index.mjs +3 -3
- package/dist/{utilities-BbKjbXTx.mjs → utilities-Dx8wzGa5.mjs} +20 -3
- package/dist/v0-BNXo1ecc.d.mts +10 -0
- package/dist/v0-BOxb3nD1.d.mts +33 -0
- package/dist/v0-BPzPP8C5.d.mts +9 -0
- package/dist/v0-BYqmw3qM.mjs +21 -0
- package/dist/v0-C8DBv9mh.mjs +73 -0
- package/dist/v0-CfSj99gF.mjs +37 -0
- package/dist/v0-DHMoZ7dS.d.mts +22 -0
- package/dist/v0-Dc5mcpQs.mjs +41 -0
- package/dist/v0-Dwufx8ae.mjs +83 -0
- package/dist/virtual-A4e1yrdn.d.mts +9 -0
- package/dist/virtual-BoTGK6HT.mjs +44 -0
- package/package.json +34 -2
- package/dist/useClickOutside-DrkNYxDe.mjs +0 -8871
- /package/dist/{adapter-D95FHAtt.d.mts → adapter-DcwxFryd.d.mts} +0 -0
- /package/dist/{constants-DHKqjdjH.mjs → adapters-BGJKsBrw.mjs} +0 -0
- /package/dist/{htmlElements-DO9n35bD.mjs → htmlElements-d8iBCGpO.mjs} +0 -0
- /package/dist/{index-BLK67J_-.d.mts → index-BFBN5Zl3.d.mts} +0 -0
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import { r as isSelfClosingTag } from "./htmlElements-
|
|
2
|
-
import { t as IN_BROWSER } from "./globals-
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
1
|
+
import { r as isSelfClosingTag } from "./htmlElements-d8iBCGpO.mjs";
|
|
2
|
+
import { t as IN_BROWSER } from "./globals-vN-O052q.mjs";
|
|
3
|
+
import { c as isNull, d as isObject, l as isNullOrUndefined, p as isString } from "./utilities-Dx8wzGa5.mjs";
|
|
4
|
+
import { n as createContext } from "./createTrinity-DkwPrPRS.mjs";
|
|
5
|
+
import { i as createRegistry } from "./createTokens-jwf8-iGn.mjs";
|
|
6
|
+
import { t as createSelection } from "./createSelection-BURpoE3p.mjs";
|
|
7
|
+
import { t as createSingle } from "./createSingle-BE1vHaZy.mjs";
|
|
8
|
+
import { $ as createOverflow, Q as useProxyModel, S as useStack, c as useToggleScope, g as createStep, t as useClickOutside, ut as createBreadcrumbs } from "./useClickOutside-DIi0kjN5.mjs";
|
|
9
|
+
import { t as createGroup } from "./createGroup-BrZPZudL.mjs";
|
|
10
|
+
import { a as useLocale } from "./useLocale-DHjbekzS.mjs";
|
|
11
|
+
import { t as createPagination } from "./createPagination-Wc_vRGNQ.mjs";
|
|
5
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";
|
|
6
13
|
|
|
7
14
|
//#region src/components/Atom/Atom.vue
|
|
@@ -26,7 +33,7 @@ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createComme
|
|
|
26
33
|
* serving as the foundation for all other components that need polymorphic
|
|
27
34
|
* rendering capabilities.
|
|
28
35
|
*/
|
|
29
|
-
const _sfc_main$
|
|
36
|
+
const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
30
37
|
name: "Atom",
|
|
31
38
|
__name: "Atom",
|
|
32
39
|
props: {
|
|
@@ -57,12 +64,12 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
57
64
|
};
|
|
58
65
|
}
|
|
59
66
|
});
|
|
60
|
-
var Atom_default = _sfc_main$
|
|
67
|
+
var Atom_default = _sfc_main$60;
|
|
61
68
|
|
|
62
69
|
//#endregion
|
|
63
70
|
//#region src/components/Avatar/AvatarRoot.vue
|
|
64
71
|
const [useAvatarRoot, provideAvatarRoot] = createContext();
|
|
65
|
-
const _sfc_main$
|
|
72
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
66
73
|
name: "AvatarRoot",
|
|
67
74
|
__name: "AvatarRoot",
|
|
68
75
|
props: {
|
|
@@ -87,11 +94,11 @@ const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
|
87
94
|
};
|
|
88
95
|
}
|
|
89
96
|
});
|
|
90
|
-
var AvatarRoot_default = _sfc_main$
|
|
97
|
+
var AvatarRoot_default = _sfc_main$59;
|
|
91
98
|
|
|
92
99
|
//#endregion
|
|
93
100
|
//#region src/components/Avatar/AvatarFallback.vue
|
|
94
|
-
const _sfc_main$
|
|
101
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
95
102
|
name: "AvatarFallback",
|
|
96
103
|
__name: "AvatarFallback",
|
|
97
104
|
props: {
|
|
@@ -116,11 +123,11 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
116
123
|
};
|
|
117
124
|
}
|
|
118
125
|
});
|
|
119
|
-
var AvatarFallback_default = _sfc_main$
|
|
126
|
+
var AvatarFallback_default = _sfc_main$58;
|
|
120
127
|
|
|
121
128
|
//#endregion
|
|
122
129
|
//#region src/components/Avatar/AvatarImage.vue
|
|
123
|
-
const _sfc_main$
|
|
130
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
124
131
|
name: "AvatarImage",
|
|
125
132
|
inheritAttrs: false,
|
|
126
133
|
__name: "AvatarImage",
|
|
@@ -180,7 +187,7 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
180
187
|
};
|
|
181
188
|
}
|
|
182
189
|
});
|
|
183
|
-
var AvatarImage_default = _sfc_main$
|
|
190
|
+
var AvatarImage_default = _sfc_main$57;
|
|
184
191
|
|
|
185
192
|
//#endregion
|
|
186
193
|
//#region src/components/Avatar/index.ts
|
|
@@ -198,7 +205,7 @@ const Avatar = {
|
|
|
198
205
|
//#endregion
|
|
199
206
|
//#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
|
|
200
207
|
const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
|
|
201
|
-
const _sfc_main$
|
|
208
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
202
209
|
name: "BreadcrumbsRoot",
|
|
203
210
|
__name: "BreadcrumbsRoot",
|
|
204
211
|
props: {
|
|
@@ -337,11 +344,11 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
337
344
|
};
|
|
338
345
|
}
|
|
339
346
|
});
|
|
340
|
-
var BreadcrumbsRoot_default = _sfc_main$
|
|
347
|
+
var BreadcrumbsRoot_default = _sfc_main$56;
|
|
341
348
|
|
|
342
349
|
//#endregion
|
|
343
350
|
//#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
|
|
344
|
-
const _sfc_main$
|
|
351
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
345
352
|
name: "BreadcrumbsDivider",
|
|
346
353
|
__name: "BreadcrumbsDivider",
|
|
347
354
|
props: {
|
|
@@ -388,11 +395,11 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
388
395
|
};
|
|
389
396
|
}
|
|
390
397
|
});
|
|
391
|
-
var BreadcrumbsDivider_default = _sfc_main$
|
|
398
|
+
var BreadcrumbsDivider_default = _sfc_main$55;
|
|
392
399
|
|
|
393
400
|
//#endregion
|
|
394
401
|
//#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
|
|
395
|
-
const _sfc_main$
|
|
402
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
396
403
|
name: "BreadcrumbsEllipsis",
|
|
397
404
|
__name: "BreadcrumbsEllipsis",
|
|
398
405
|
props: {
|
|
@@ -446,11 +453,11 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
446
453
|
};
|
|
447
454
|
}
|
|
448
455
|
});
|
|
449
|
-
var BreadcrumbsEllipsis_default = _sfc_main$
|
|
456
|
+
var BreadcrumbsEllipsis_default = _sfc_main$54;
|
|
450
457
|
|
|
451
458
|
//#endregion
|
|
452
459
|
//#region src/components/Breadcrumbs/BreadcrumbsItem.vue
|
|
453
|
-
const _sfc_main$
|
|
460
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
454
461
|
name: "BreadcrumbsItem",
|
|
455
462
|
__name: "BreadcrumbsItem",
|
|
456
463
|
props: {
|
|
@@ -500,11 +507,11 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
500
507
|
};
|
|
501
508
|
}
|
|
502
509
|
});
|
|
503
|
-
var BreadcrumbsItem_default = _sfc_main$
|
|
510
|
+
var BreadcrumbsItem_default = _sfc_main$53;
|
|
504
511
|
|
|
505
512
|
//#endregion
|
|
506
513
|
//#region src/components/Breadcrumbs/BreadcrumbsLink.vue
|
|
507
|
-
const _sfc_main$
|
|
514
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
508
515
|
name: "BreadcrumbsLink",
|
|
509
516
|
__name: "BreadcrumbsLink",
|
|
510
517
|
props: {
|
|
@@ -523,11 +530,11 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
523
530
|
};
|
|
524
531
|
}
|
|
525
532
|
});
|
|
526
|
-
var BreadcrumbsLink_default = _sfc_main$
|
|
533
|
+
var BreadcrumbsLink_default = _sfc_main$52;
|
|
527
534
|
|
|
528
535
|
//#endregion
|
|
529
536
|
//#region src/components/Breadcrumbs/BreadcrumbsList.vue
|
|
530
|
-
const _sfc_main$
|
|
537
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
531
538
|
name: "BreadcrumbsList",
|
|
532
539
|
__name: "BreadcrumbsList",
|
|
533
540
|
props: {
|
|
@@ -547,11 +554,11 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
547
554
|
};
|
|
548
555
|
}
|
|
549
556
|
});
|
|
550
|
-
var BreadcrumbsList_default = _sfc_main$
|
|
557
|
+
var BreadcrumbsList_default = _sfc_main$51;
|
|
551
558
|
|
|
552
559
|
//#endregion
|
|
553
560
|
//#region src/components/Breadcrumbs/BreadcrumbsPage.vue
|
|
554
|
-
const _sfc_main$
|
|
561
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
555
562
|
name: "BreadcrumbsPage",
|
|
556
563
|
__name: "BreadcrumbsPage",
|
|
557
564
|
props: {
|
|
@@ -571,7 +578,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
571
578
|
};
|
|
572
579
|
}
|
|
573
580
|
});
|
|
574
|
-
var BreadcrumbsPage_default = _sfc_main$
|
|
581
|
+
var BreadcrumbsPage_default = _sfc_main$50;
|
|
575
582
|
|
|
576
583
|
//#endregion
|
|
577
584
|
//#region src/components/Breadcrumbs/index.ts
|
|
@@ -593,7 +600,7 @@ const Breadcrumbs = {
|
|
|
593
600
|
//#endregion
|
|
594
601
|
//#region src/components/Checkbox/CheckboxGroup.vue
|
|
595
602
|
const [useCheckboxGroup, provideCheckboxGroup] = createContext();
|
|
596
|
-
const _sfc_main$
|
|
603
|
+
const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
597
604
|
name: "CheckboxGroup",
|
|
598
605
|
__name: "CheckboxGroup",
|
|
599
606
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -659,12 +666,12 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
659
666
|
};
|
|
660
667
|
}
|
|
661
668
|
});
|
|
662
|
-
var CheckboxGroup_default = _sfc_main$
|
|
669
|
+
var CheckboxGroup_default = _sfc_main$49;
|
|
663
670
|
|
|
664
671
|
//#endregion
|
|
665
672
|
//#region src/components/Checkbox/CheckboxRoot.vue
|
|
666
673
|
const [useCheckboxRoot, provideCheckboxRoot] = createContext();
|
|
667
|
-
const _sfc_main$
|
|
674
|
+
const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
668
675
|
name: "CheckboxRoot",
|
|
669
676
|
inheritAttrs: false,
|
|
670
677
|
__name: "CheckboxRoot",
|
|
@@ -798,18 +805,18 @@ const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
|
798
805
|
};
|
|
799
806
|
}
|
|
800
807
|
});
|
|
801
|
-
var CheckboxRoot_default = _sfc_main$
|
|
808
|
+
var CheckboxRoot_default = _sfc_main$48;
|
|
802
809
|
|
|
803
810
|
//#endregion
|
|
804
811
|
//#region src/components/Checkbox/CheckboxHiddenInput.vue
|
|
805
|
-
const _hoisted_1$
|
|
812
|
+
const _hoisted_1$2 = [
|
|
806
813
|
"checked",
|
|
807
814
|
"disabled",
|
|
808
815
|
"form",
|
|
809
816
|
"name",
|
|
810
817
|
"value"
|
|
811
818
|
];
|
|
812
|
-
const visuallyHiddenStyle$
|
|
819
|
+
const visuallyHiddenStyle$2 = {
|
|
813
820
|
position: "absolute",
|
|
814
821
|
width: "1px",
|
|
815
822
|
height: "1px",
|
|
@@ -820,7 +827,7 @@ const visuallyHiddenStyle$1 = {
|
|
|
820
827
|
whiteSpace: "nowrap",
|
|
821
828
|
border: "0"
|
|
822
829
|
};
|
|
823
|
-
const _sfc_main$
|
|
830
|
+
const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
824
831
|
name: "CheckboxHiddenInput",
|
|
825
832
|
__name: "CheckboxHiddenInput",
|
|
826
833
|
props: {
|
|
@@ -848,19 +855,19 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
848
855
|
form: form.value,
|
|
849
856
|
inert: "",
|
|
850
857
|
name: name.value,
|
|
851
|
-
style: visuallyHiddenStyle$
|
|
858
|
+
style: visuallyHiddenStyle$2,
|
|
852
859
|
tabindex: "-1",
|
|
853
860
|
type: "checkbox",
|
|
854
861
|
value: value.value
|
|
855
|
-
}, null, 8, _hoisted_1$
|
|
862
|
+
}, null, 8, _hoisted_1$2);
|
|
856
863
|
};
|
|
857
864
|
}
|
|
858
865
|
});
|
|
859
|
-
var CheckboxHiddenInput_default = _sfc_main$
|
|
866
|
+
var CheckboxHiddenInput_default = _sfc_main$47;
|
|
860
867
|
|
|
861
868
|
//#endregion
|
|
862
869
|
//#region src/components/Checkbox/CheckboxIndicator.vue
|
|
863
|
-
const _sfc_main$
|
|
870
|
+
const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
864
871
|
name: "CheckboxIndicator",
|
|
865
872
|
__name: "CheckboxIndicator",
|
|
866
873
|
props: {
|
|
@@ -893,11 +900,11 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
893
900
|
};
|
|
894
901
|
}
|
|
895
902
|
});
|
|
896
|
-
var CheckboxIndicator_default = _sfc_main$
|
|
903
|
+
var CheckboxIndicator_default = _sfc_main$46;
|
|
897
904
|
|
|
898
905
|
//#endregion
|
|
899
906
|
//#region src/components/Checkbox/CheckboxSelectAll.vue
|
|
900
|
-
const _sfc_main$
|
|
907
|
+
const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
901
908
|
name: "CheckboxSelectAll",
|
|
902
909
|
inheritAttrs: false,
|
|
903
910
|
__name: "CheckboxSelectAll",
|
|
@@ -983,7 +990,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
983
990
|
};
|
|
984
991
|
}
|
|
985
992
|
});
|
|
986
|
-
var CheckboxSelectAll_default = _sfc_main$
|
|
993
|
+
var CheckboxSelectAll_default = _sfc_main$45;
|
|
987
994
|
|
|
988
995
|
//#endregion
|
|
989
996
|
//#region src/components/Checkbox/index.ts
|
|
@@ -1019,7 +1026,7 @@ const Checkbox = {
|
|
|
1019
1026
|
//#endregion
|
|
1020
1027
|
//#region src/components/Dialog/DialogRoot.vue
|
|
1021
1028
|
const [useDialogContext, provideDialogContext] = createContext();
|
|
1022
|
-
const _sfc_main$
|
|
1029
|
+
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
1023
1030
|
name: "DialogRoot",
|
|
1024
1031
|
__name: "DialogRoot",
|
|
1025
1032
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1071,11 +1078,11 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
1071
1078
|
};
|
|
1072
1079
|
}
|
|
1073
1080
|
});
|
|
1074
|
-
var DialogRoot_default = _sfc_main$
|
|
1081
|
+
var DialogRoot_default = _sfc_main$44;
|
|
1075
1082
|
|
|
1076
1083
|
//#endregion
|
|
1077
1084
|
//#region src/components/Dialog/DialogClose.vue
|
|
1078
|
-
const _sfc_main$
|
|
1085
|
+
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
1079
1086
|
name: "DialogClose",
|
|
1080
1087
|
__name: "DialogClose",
|
|
1081
1088
|
props: {
|
|
@@ -1103,11 +1110,11 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
1103
1110
|
};
|
|
1104
1111
|
}
|
|
1105
1112
|
});
|
|
1106
|
-
var DialogClose_default = _sfc_main$
|
|
1113
|
+
var DialogClose_default = _sfc_main$43;
|
|
1107
1114
|
|
|
1108
1115
|
//#endregion
|
|
1109
1116
|
//#region src/components/Dialog/DialogContent.vue
|
|
1110
|
-
const _sfc_main$
|
|
1117
|
+
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
1111
1118
|
name: "DialogContent",
|
|
1112
1119
|
__name: "DialogContent",
|
|
1113
1120
|
props: {
|
|
@@ -1189,11 +1196,11 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
1189
1196
|
};
|
|
1190
1197
|
}
|
|
1191
1198
|
});
|
|
1192
|
-
var DialogContent_default = _sfc_main$
|
|
1199
|
+
var DialogContent_default = _sfc_main$42;
|
|
1193
1200
|
|
|
1194
1201
|
//#endregion
|
|
1195
1202
|
//#region src/components/Dialog/DialogDescription.vue
|
|
1196
|
-
const _sfc_main$
|
|
1203
|
+
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
1197
1204
|
name: "DialogDescription",
|
|
1198
1205
|
__name: "DialogDescription",
|
|
1199
1206
|
props: {
|
|
@@ -1212,11 +1219,11 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
1212
1219
|
};
|
|
1213
1220
|
}
|
|
1214
1221
|
});
|
|
1215
|
-
var DialogDescription_default = _sfc_main$
|
|
1222
|
+
var DialogDescription_default = _sfc_main$41;
|
|
1216
1223
|
|
|
1217
1224
|
//#endregion
|
|
1218
1225
|
//#region src/components/Dialog/DialogTitle.vue
|
|
1219
|
-
const _sfc_main$
|
|
1226
|
+
const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
1220
1227
|
name: "DialogTitle",
|
|
1221
1228
|
__name: "DialogTitle",
|
|
1222
1229
|
props: {
|
|
@@ -1235,11 +1242,11 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
1235
1242
|
};
|
|
1236
1243
|
}
|
|
1237
1244
|
});
|
|
1238
|
-
var DialogTitle_default = _sfc_main$
|
|
1245
|
+
var DialogTitle_default = _sfc_main$40;
|
|
1239
1246
|
|
|
1240
1247
|
//#endregion
|
|
1241
1248
|
//#region src/components/Dialog/DialogActivator.vue
|
|
1242
|
-
const _sfc_main$
|
|
1249
|
+
const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
1243
1250
|
name: "DialogActivator",
|
|
1244
1251
|
__name: "DialogActivator",
|
|
1245
1252
|
props: {
|
|
@@ -1269,7 +1276,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
1269
1276
|
};
|
|
1270
1277
|
}
|
|
1271
1278
|
});
|
|
1272
|
-
var DialogActivator_default = _sfc_main$
|
|
1279
|
+
var DialogActivator_default = _sfc_main$39;
|
|
1273
1280
|
|
|
1274
1281
|
//#endregion
|
|
1275
1282
|
//#region src/components/Dialog/index.ts
|
|
@@ -1314,7 +1321,7 @@ const Dialog = {
|
|
|
1314
1321
|
//#endregion
|
|
1315
1322
|
//#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
|
|
1316
1323
|
const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext();
|
|
1317
|
-
const _sfc_main$
|
|
1324
|
+
const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
1318
1325
|
name: "ExpansionPanelRoot",
|
|
1319
1326
|
__name: "ExpansionPanelRoot",
|
|
1320
1327
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1371,12 +1378,12 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
1371
1378
|
};
|
|
1372
1379
|
}
|
|
1373
1380
|
});
|
|
1374
|
-
var ExpansionPanelRoot_default = _sfc_main$
|
|
1381
|
+
var ExpansionPanelRoot_default = _sfc_main$38;
|
|
1375
1382
|
|
|
1376
1383
|
//#endregion
|
|
1377
1384
|
//#region src/components/ExpansionPanel/ExpansionPanelItem.vue
|
|
1378
1385
|
const [useExpansionPanelItem, provideExpansionPanelItem] = createContext({ suffix: "item" });
|
|
1379
|
-
const _sfc_main$
|
|
1386
|
+
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
1380
1387
|
name: "ExpansionPanelItem",
|
|
1381
1388
|
__name: "ExpansionPanelItem",
|
|
1382
1389
|
props: {
|
|
@@ -1420,11 +1427,11 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
1420
1427
|
};
|
|
1421
1428
|
}
|
|
1422
1429
|
});
|
|
1423
|
-
var ExpansionPanelItem_default = _sfc_main$
|
|
1430
|
+
var ExpansionPanelItem_default = _sfc_main$37;
|
|
1424
1431
|
|
|
1425
1432
|
//#endregion
|
|
1426
1433
|
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
|
|
1427
|
-
const _sfc_main$
|
|
1434
|
+
const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
1428
1435
|
name: "ExpansionPanelActivator",
|
|
1429
1436
|
__name: "ExpansionPanelActivator",
|
|
1430
1437
|
props: {
|
|
@@ -1470,11 +1477,11 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
1470
1477
|
};
|
|
1471
1478
|
}
|
|
1472
1479
|
});
|
|
1473
|
-
var ExpansionPanelActivator_default = _sfc_main$
|
|
1480
|
+
var ExpansionPanelActivator_default = _sfc_main$36;
|
|
1474
1481
|
|
|
1475
1482
|
//#endregion
|
|
1476
1483
|
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue
|
|
1477
|
-
const _sfc_main$
|
|
1484
|
+
const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
1478
1485
|
name: "ExpansionPanelContent",
|
|
1479
1486
|
__name: "ExpansionPanelContent",
|
|
1480
1487
|
props: {
|
|
@@ -1505,11 +1512,11 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1505
1512
|
};
|
|
1506
1513
|
}
|
|
1507
1514
|
});
|
|
1508
|
-
var ExpansionPanelContent_default = _sfc_main$
|
|
1515
|
+
var ExpansionPanelContent_default = _sfc_main$35;
|
|
1509
1516
|
|
|
1510
1517
|
//#endregion
|
|
1511
1518
|
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
|
|
1512
|
-
const _sfc_main$
|
|
1519
|
+
const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
1513
1520
|
name: "ExpansionPanelHeader",
|
|
1514
1521
|
__name: "ExpansionPanelHeader",
|
|
1515
1522
|
props: {
|
|
@@ -1534,7 +1541,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1534
1541
|
};
|
|
1535
1542
|
}
|
|
1536
1543
|
});
|
|
1537
|
-
var ExpansionPanelHeader_default = _sfc_main$
|
|
1544
|
+
var ExpansionPanelHeader_default = _sfc_main$34;
|
|
1538
1545
|
|
|
1539
1546
|
//#endregion
|
|
1540
1547
|
//#region src/components/ExpansionPanel/index.ts
|
|
@@ -1554,7 +1561,7 @@ const ExpansionPanel = {
|
|
|
1554
1561
|
//#endregion
|
|
1555
1562
|
//#region src/components/Group/GroupRoot.vue
|
|
1556
1563
|
const [useGroupRoot, provideGroupRoot] = createContext();
|
|
1557
|
-
const _sfc_main$
|
|
1564
|
+
const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
1558
1565
|
name: "GroupRoot",
|
|
1559
1566
|
__name: "GroupRoot",
|
|
1560
1567
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1604,11 +1611,11 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
1604
1611
|
};
|
|
1605
1612
|
}
|
|
1606
1613
|
});
|
|
1607
|
-
var GroupRoot_default = _sfc_main$
|
|
1614
|
+
var GroupRoot_default = _sfc_main$33;
|
|
1608
1615
|
|
|
1609
1616
|
//#endregion
|
|
1610
1617
|
//#region src/components/Group/GroupItem.vue
|
|
1611
|
-
const _sfc_main$
|
|
1618
|
+
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
1612
1619
|
name: "GroupItem",
|
|
1613
1620
|
__name: "GroupItem",
|
|
1614
1621
|
props: {
|
|
@@ -1657,7 +1664,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
1657
1664
|
};
|
|
1658
1665
|
}
|
|
1659
1666
|
});
|
|
1660
|
-
var GroupItem_default = _sfc_main$
|
|
1667
|
+
var GroupItem_default = _sfc_main$32;
|
|
1661
1668
|
|
|
1662
1669
|
//#endregion
|
|
1663
1670
|
//#region src/components/Group/index.ts
|
|
@@ -1676,7 +1683,7 @@ const Group = {
|
|
|
1676
1683
|
const [usePaginationRoot, providePaginationRoot] = createContext();
|
|
1677
1684
|
const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
|
|
1678
1685
|
const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
|
|
1679
|
-
const _sfc_main$
|
|
1686
|
+
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
1680
1687
|
name: "PaginationRoot",
|
|
1681
1688
|
__name: "PaginationRoot",
|
|
1682
1689
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1776,11 +1783,11 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
1776
1783
|
};
|
|
1777
1784
|
}
|
|
1778
1785
|
});
|
|
1779
|
-
var PaginationRoot_default = _sfc_main$
|
|
1786
|
+
var PaginationRoot_default = _sfc_main$31;
|
|
1780
1787
|
|
|
1781
1788
|
//#endregion
|
|
1782
1789
|
//#region src/components/Pagination/PaginationEllipsis.vue
|
|
1783
|
-
const _sfc_main$
|
|
1790
|
+
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
1784
1791
|
name: "PaginationEllipsis",
|
|
1785
1792
|
__name: "PaginationEllipsis",
|
|
1786
1793
|
props: {
|
|
@@ -1821,11 +1828,11 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
1821
1828
|
};
|
|
1822
1829
|
}
|
|
1823
1830
|
});
|
|
1824
|
-
var PaginationEllipsis_default = _sfc_main$
|
|
1831
|
+
var PaginationEllipsis_default = _sfc_main$30;
|
|
1825
1832
|
|
|
1826
1833
|
//#endregion
|
|
1827
1834
|
//#region src/components/Pagination/PaginationFirst.vue
|
|
1828
|
-
const _sfc_main$
|
|
1835
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
1829
1836
|
name: "PaginationFirst",
|
|
1830
1837
|
__name: "PaginationFirst",
|
|
1831
1838
|
props: {
|
|
@@ -1880,11 +1887,11 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
1880
1887
|
};
|
|
1881
1888
|
}
|
|
1882
1889
|
});
|
|
1883
|
-
var PaginationFirst_default = _sfc_main$
|
|
1890
|
+
var PaginationFirst_default = _sfc_main$29;
|
|
1884
1891
|
|
|
1885
1892
|
//#endregion
|
|
1886
1893
|
//#region src/components/Pagination/PaginationItem.vue
|
|
1887
|
-
const _sfc_main$
|
|
1894
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
1888
1895
|
name: "PaginationItem",
|
|
1889
1896
|
__name: "PaginationItem",
|
|
1890
1897
|
props: {
|
|
@@ -1950,11 +1957,11 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1950
1957
|
};
|
|
1951
1958
|
}
|
|
1952
1959
|
});
|
|
1953
|
-
var PaginationItem_default = _sfc_main$
|
|
1960
|
+
var PaginationItem_default = _sfc_main$28;
|
|
1954
1961
|
|
|
1955
1962
|
//#endregion
|
|
1956
1963
|
//#region src/components/Pagination/PaginationLast.vue
|
|
1957
|
-
const _sfc_main$
|
|
1964
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
1958
1965
|
name: "PaginationLast",
|
|
1959
1966
|
__name: "PaginationLast",
|
|
1960
1967
|
props: {
|
|
@@ -2009,11 +2016,11 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
2009
2016
|
};
|
|
2010
2017
|
}
|
|
2011
2018
|
});
|
|
2012
|
-
var PaginationLast_default = _sfc_main$
|
|
2019
|
+
var PaginationLast_default = _sfc_main$27;
|
|
2013
2020
|
|
|
2014
2021
|
//#endregion
|
|
2015
2022
|
//#region src/components/Pagination/PaginationNext.vue
|
|
2016
|
-
const _sfc_main$
|
|
2023
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
2017
2024
|
name: "PaginationNext",
|
|
2018
2025
|
__name: "PaginationNext",
|
|
2019
2026
|
props: {
|
|
@@ -2068,11 +2075,11 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
2068
2075
|
};
|
|
2069
2076
|
}
|
|
2070
2077
|
});
|
|
2071
|
-
var PaginationNext_default = _sfc_main$
|
|
2078
|
+
var PaginationNext_default = _sfc_main$26;
|
|
2072
2079
|
|
|
2073
2080
|
//#endregion
|
|
2074
2081
|
//#region src/components/Pagination/PaginationPrev.vue
|
|
2075
|
-
const _sfc_main$
|
|
2082
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
2076
2083
|
name: "PaginationPrev",
|
|
2077
2084
|
__name: "PaginationPrev",
|
|
2078
2085
|
props: {
|
|
@@ -2127,11 +2134,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
2127
2134
|
};
|
|
2128
2135
|
}
|
|
2129
2136
|
});
|
|
2130
|
-
var PaginationPrev_default = _sfc_main$
|
|
2137
|
+
var PaginationPrev_default = _sfc_main$25;
|
|
2131
2138
|
|
|
2132
2139
|
//#endregion
|
|
2133
2140
|
//#region src/components/Pagination/PaginationStatus.vue
|
|
2134
|
-
const _sfc_main$
|
|
2141
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
2135
2142
|
name: "PaginationStatus",
|
|
2136
2143
|
__name: "PaginationStatus",
|
|
2137
2144
|
props: {
|
|
@@ -2175,7 +2182,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2175
2182
|
};
|
|
2176
2183
|
}
|
|
2177
2184
|
});
|
|
2178
|
-
var PaginationStatus_default = _sfc_main$
|
|
2185
|
+
var PaginationStatus_default = _sfc_main$24;
|
|
2179
2186
|
|
|
2180
2187
|
//#endregion
|
|
2181
2188
|
//#region src/components/Pagination/index.ts
|
|
@@ -2198,7 +2205,7 @@ const Pagination = {
|
|
|
2198
2205
|
//#endregion
|
|
2199
2206
|
//#region src/components/Popover/PopoverRoot.vue
|
|
2200
2207
|
const [usePopoverContext, providePopoverContext] = createContext("Popover");
|
|
2201
|
-
const _sfc_main$
|
|
2208
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
2202
2209
|
name: "PopoverRoot",
|
|
2203
2210
|
__name: "PopoverRoot",
|
|
2204
2211
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2240,11 +2247,11 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2240
2247
|
};
|
|
2241
2248
|
}
|
|
2242
2249
|
});
|
|
2243
|
-
var PopoverRoot_default = _sfc_main$
|
|
2250
|
+
var PopoverRoot_default = _sfc_main$23;
|
|
2244
2251
|
|
|
2245
2252
|
//#endregion
|
|
2246
2253
|
//#region src/components/Popover/PopoverActivator.vue
|
|
2247
|
-
const _sfc_main$
|
|
2254
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
2248
2255
|
name: "PopoverActivator",
|
|
2249
2256
|
__name: "PopoverActivator",
|
|
2250
2257
|
props: {
|
|
@@ -2276,11 +2283,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2276
2283
|
};
|
|
2277
2284
|
}
|
|
2278
2285
|
});
|
|
2279
|
-
var PopoverActivator_default = _sfc_main$
|
|
2286
|
+
var PopoverActivator_default = _sfc_main$22;
|
|
2280
2287
|
|
|
2281
2288
|
//#endregion
|
|
2282
2289
|
//#region src/components/Popover/PopoverContent.vue
|
|
2283
|
-
const _sfc_main$
|
|
2290
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
2284
2291
|
name: "PopoverContent",
|
|
2285
2292
|
__name: "PopoverContent",
|
|
2286
2293
|
props: {
|
|
@@ -2347,7 +2354,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2347
2354
|
};
|
|
2348
2355
|
}
|
|
2349
2356
|
});
|
|
2350
|
-
var PopoverContent_default = _sfc_main$
|
|
2357
|
+
var PopoverContent_default = _sfc_main$21;
|
|
2351
2358
|
|
|
2352
2359
|
//#endregion
|
|
2353
2360
|
//#region src/components/Popover/index.ts
|
|
@@ -2365,7 +2372,7 @@ const Popover = {
|
|
|
2365
2372
|
//#endregion
|
|
2366
2373
|
//#region src/components/Radio/RadioGroup.vue
|
|
2367
2374
|
const [useRadioGroup, provideRadioGroup] = createContext();
|
|
2368
|
-
const _sfc_main$
|
|
2375
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
2369
2376
|
name: "RadioGroup",
|
|
2370
2377
|
__name: "RadioGroup",
|
|
2371
2378
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2427,12 +2434,12 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2427
2434
|
};
|
|
2428
2435
|
}
|
|
2429
2436
|
});
|
|
2430
|
-
var RadioGroup_default = _sfc_main$
|
|
2437
|
+
var RadioGroup_default = _sfc_main$20;
|
|
2431
2438
|
|
|
2432
2439
|
//#endregion
|
|
2433
2440
|
//#region src/components/Radio/RadioRoot.vue
|
|
2434
2441
|
const [useRadioRoot, provideRadioRoot] = createContext();
|
|
2435
|
-
const _sfc_main$
|
|
2442
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2436
2443
|
name: "RadioRoot",
|
|
2437
2444
|
inheritAttrs: false,
|
|
2438
2445
|
__name: "RadioRoot",
|
|
@@ -2557,18 +2564,18 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
2557
2564
|
};
|
|
2558
2565
|
}
|
|
2559
2566
|
});
|
|
2560
|
-
var RadioRoot_default = _sfc_main$
|
|
2567
|
+
var RadioRoot_default = _sfc_main$19;
|
|
2561
2568
|
|
|
2562
2569
|
//#endregion
|
|
2563
2570
|
//#region src/components/Radio/RadioHiddenInput.vue
|
|
2564
|
-
const _hoisted_1 = [
|
|
2571
|
+
const _hoisted_1$1 = [
|
|
2565
2572
|
"checked",
|
|
2566
2573
|
"disabled",
|
|
2567
2574
|
"form",
|
|
2568
2575
|
"name",
|
|
2569
2576
|
"value"
|
|
2570
2577
|
];
|
|
2571
|
-
const visuallyHiddenStyle = {
|
|
2578
|
+
const visuallyHiddenStyle$1 = {
|
|
2572
2579
|
position: "absolute",
|
|
2573
2580
|
width: "1px",
|
|
2574
2581
|
height: "1px",
|
|
@@ -2579,7 +2586,7 @@ const visuallyHiddenStyle = {
|
|
|
2579
2586
|
whiteSpace: "nowrap",
|
|
2580
2587
|
border: "0"
|
|
2581
2588
|
};
|
|
2582
|
-
const _sfc_main$
|
|
2589
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
2583
2590
|
name: "RadioHiddenInput",
|
|
2584
2591
|
__name: "RadioHiddenInput",
|
|
2585
2592
|
props: {
|
|
@@ -2606,19 +2613,19 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
2606
2613
|
form: form.value,
|
|
2607
2614
|
inert: "",
|
|
2608
2615
|
name: name.value,
|
|
2609
|
-
style: visuallyHiddenStyle,
|
|
2616
|
+
style: visuallyHiddenStyle$1,
|
|
2610
2617
|
tabindex: "-1",
|
|
2611
2618
|
type: "radio",
|
|
2612
2619
|
value: value.value
|
|
2613
|
-
}, null, 8, _hoisted_1);
|
|
2620
|
+
}, null, 8, _hoisted_1$1);
|
|
2614
2621
|
};
|
|
2615
2622
|
}
|
|
2616
2623
|
});
|
|
2617
|
-
var RadioHiddenInput_default = _sfc_main$
|
|
2624
|
+
var RadioHiddenInput_default = _sfc_main$18;
|
|
2618
2625
|
|
|
2619
2626
|
//#endregion
|
|
2620
2627
|
//#region src/components/Radio/RadioIndicator.vue
|
|
2621
|
-
const _sfc_main$
|
|
2628
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
2622
2629
|
name: "RadioIndicator",
|
|
2623
2630
|
__name: "RadioIndicator",
|
|
2624
2631
|
props: {
|
|
@@ -2648,7 +2655,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
2648
2655
|
};
|
|
2649
2656
|
}
|
|
2650
2657
|
});
|
|
2651
|
-
var RadioIndicator_default = _sfc_main$
|
|
2658
|
+
var RadioIndicator_default = _sfc_main$17;
|
|
2652
2659
|
|
|
2653
2660
|
//#endregion
|
|
2654
2661
|
//#region src/components/Radio/index.ts
|
|
@@ -2693,7 +2700,7 @@ const Radio = {
|
|
|
2693
2700
|
|
|
2694
2701
|
//#endregion
|
|
2695
2702
|
//#region src/components/Scrim/Scrim.vue
|
|
2696
|
-
const _sfc_main$
|
|
2703
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
2697
2704
|
name: "Scrim",
|
|
2698
2705
|
inheritAttrs: false,
|
|
2699
2706
|
__name: "Scrim",
|
|
@@ -2768,12 +2775,12 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
2768
2775
|
};
|
|
2769
2776
|
}
|
|
2770
2777
|
});
|
|
2771
|
-
var Scrim_default = _sfc_main$
|
|
2778
|
+
var Scrim_default = _sfc_main$16;
|
|
2772
2779
|
|
|
2773
2780
|
//#endregion
|
|
2774
2781
|
//#region src/components/Selection/SelectionRoot.vue
|
|
2775
2782
|
const [useSelectionRoot, provideSelectionRoot] = createContext();
|
|
2776
|
-
const _sfc_main$
|
|
2783
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
2777
2784
|
name: "SelectionRoot",
|
|
2778
2785
|
__name: "SelectionRoot",
|
|
2779
2786
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2823,11 +2830,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2823
2830
|
};
|
|
2824
2831
|
}
|
|
2825
2832
|
});
|
|
2826
|
-
var SelectionRoot_default = _sfc_main$
|
|
2833
|
+
var SelectionRoot_default = _sfc_main$15;
|
|
2827
2834
|
|
|
2828
2835
|
//#endregion
|
|
2829
2836
|
//#region src/components/Selection/SelectionItem.vue
|
|
2830
|
-
const _sfc_main$
|
|
2837
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
2831
2838
|
name: "SelectionItem",
|
|
2832
2839
|
__name: "SelectionItem",
|
|
2833
2840
|
props: {
|
|
@@ -2869,7 +2876,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2869
2876
|
};
|
|
2870
2877
|
}
|
|
2871
2878
|
});
|
|
2872
|
-
var SelectionItem_default = _sfc_main$
|
|
2879
|
+
var SelectionItem_default = _sfc_main$14;
|
|
2873
2880
|
|
|
2874
2881
|
//#endregion
|
|
2875
2882
|
//#region src/components/Selection/index.ts
|
|
@@ -2883,6 +2890,471 @@ const Selection = {
|
|
|
2883
2890
|
Item: SelectionItem_default
|
|
2884
2891
|
};
|
|
2885
2892
|
|
|
2893
|
+
//#endregion
|
|
2894
|
+
//#region src/components/Switch/SwitchGroup.vue
|
|
2895
|
+
const [useSwitchGroup, provideSwitchGroup] = createContext();
|
|
2896
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
2897
|
+
name: "SwitchGroup",
|
|
2898
|
+
__name: "SwitchGroup",
|
|
2899
|
+
props: /* @__PURE__ */ mergeModels({
|
|
2900
|
+
namespace: { default: "v0:switch:group" },
|
|
2901
|
+
disabled: {
|
|
2902
|
+
type: Boolean,
|
|
2903
|
+
default: false
|
|
2904
|
+
},
|
|
2905
|
+
enroll: {
|
|
2906
|
+
type: Boolean,
|
|
2907
|
+
default: false
|
|
2908
|
+
},
|
|
2909
|
+
mandatory: {
|
|
2910
|
+
type: [Boolean, String],
|
|
2911
|
+
default: false
|
|
2912
|
+
},
|
|
2913
|
+
label: {},
|
|
2914
|
+
ariaLabelledby: {},
|
|
2915
|
+
ariaDescribedby: {},
|
|
2916
|
+
as: { default: "div" },
|
|
2917
|
+
renderless: { type: Boolean }
|
|
2918
|
+
}, {
|
|
2919
|
+
"modelValue": {},
|
|
2920
|
+
"modelModifiers": {}
|
|
2921
|
+
}),
|
|
2922
|
+
emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
2923
|
+
setup(__props) {
|
|
2924
|
+
const model = useModel(__props, "modelValue");
|
|
2925
|
+
const group = createGroup({
|
|
2926
|
+
disabled: toRef(() => __props.disabled),
|
|
2927
|
+
enroll: __props.enroll,
|
|
2928
|
+
mandatory: __props.mandatory,
|
|
2929
|
+
events: true
|
|
2930
|
+
});
|
|
2931
|
+
useProxyModel(group, model, { multiple: true });
|
|
2932
|
+
provideSwitchGroup(__props.namespace, group);
|
|
2933
|
+
const slotProps = toRef(() => ({
|
|
2934
|
+
isDisabled: toValue(group.disabled),
|
|
2935
|
+
isNoneSelected: group.isNoneSelected.value,
|
|
2936
|
+
isAllSelected: group.isAllSelected.value,
|
|
2937
|
+
isMixed: group.isMixed.value,
|
|
2938
|
+
select: group.select,
|
|
2939
|
+
unselect: group.unselect,
|
|
2940
|
+
toggle: group.toggle,
|
|
2941
|
+
selectAll: group.selectAll,
|
|
2942
|
+
unselectAll: group.unselectAll,
|
|
2943
|
+
toggleAll: group.toggleAll,
|
|
2944
|
+
attrs: {
|
|
2945
|
+
"role": "group",
|
|
2946
|
+
"aria-label": __props.label || void 0,
|
|
2947
|
+
"aria-labelledby": __props.ariaLabelledby || void 0,
|
|
2948
|
+
"aria-describedby": __props.ariaDescribedby || void 0
|
|
2949
|
+
}
|
|
2950
|
+
}));
|
|
2951
|
+
return (_ctx, _cache) => {
|
|
2952
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps(slotProps.value.attrs, {
|
|
2953
|
+
as: __props.as,
|
|
2954
|
+
renderless: __props.renderless
|
|
2955
|
+
}), {
|
|
2956
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
2957
|
+
_: 3
|
|
2958
|
+
}, 16, ["as", "renderless"]);
|
|
2959
|
+
};
|
|
2960
|
+
}
|
|
2961
|
+
});
|
|
2962
|
+
var SwitchGroup_default = _sfc_main$13;
|
|
2963
|
+
|
|
2964
|
+
//#endregion
|
|
2965
|
+
//#region src/components/Switch/SwitchRoot.vue
|
|
2966
|
+
const [useSwitchRoot, provideSwitchRoot] = createContext();
|
|
2967
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
2968
|
+
name: "SwitchRoot",
|
|
2969
|
+
inheritAttrs: false,
|
|
2970
|
+
__name: "SwitchRoot",
|
|
2971
|
+
props: /* @__PURE__ */ mergeModels({
|
|
2972
|
+
id: { default: () => useId() },
|
|
2973
|
+
label: {},
|
|
2974
|
+
value: {},
|
|
2975
|
+
name: {},
|
|
2976
|
+
form: {},
|
|
2977
|
+
disabled: { default: false },
|
|
2978
|
+
indeterminate: { default: false },
|
|
2979
|
+
namespace: { default: "v0:switch:root" },
|
|
2980
|
+
groupNamespace: { default: "v0:switch:group" },
|
|
2981
|
+
ariaLabelledby: {},
|
|
2982
|
+
ariaDescribedby: {},
|
|
2983
|
+
ariaInvalid: { type: Boolean },
|
|
2984
|
+
as: { default: "button" },
|
|
2985
|
+
renderless: { type: Boolean }
|
|
2986
|
+
}, {
|
|
2987
|
+
"modelValue": { type: Boolean },
|
|
2988
|
+
"modelModifiers": {}
|
|
2989
|
+
}),
|
|
2990
|
+
emits: /* @__PURE__ */ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
2991
|
+
setup(__props) {
|
|
2992
|
+
const attrs = useAttrs();
|
|
2993
|
+
let group = null;
|
|
2994
|
+
try {
|
|
2995
|
+
group = useSwitchGroup(__props.groupNamespace);
|
|
2996
|
+
} catch {}
|
|
2997
|
+
const model = useModel(__props, "modelValue");
|
|
2998
|
+
const ticket = group?.register({
|
|
2999
|
+
id: __props.id,
|
|
3000
|
+
value: __props.value,
|
|
3001
|
+
disabled: __props.disabled,
|
|
3002
|
+
indeterminate: __props.indeterminate
|
|
3003
|
+
});
|
|
3004
|
+
const isChecked = toRef(() => ticket ? toValue(ticket.isSelected) : model.value ?? false);
|
|
3005
|
+
const isMixed = toRef(() => ticket ? toValue(ticket.isMixed) : toValue(__props.indeterminate) ?? false);
|
|
3006
|
+
const isDisabled = toRef(() => group && ticket ? toValue(ticket.disabled) || toValue(group.disabled) : toValue(__props.disabled) ?? false);
|
|
3007
|
+
const dataState = toRef(() => isMixed.value ? "indeterminate" : isChecked.value ? "checked" : "unchecked");
|
|
3008
|
+
function toggle() {
|
|
3009
|
+
if (isDisabled.value) return;
|
|
3010
|
+
if (ticket) ticket.toggle();
|
|
3011
|
+
else model.value = !model.value;
|
|
3012
|
+
}
|
|
3013
|
+
function select() {
|
|
3014
|
+
if (isDisabled.value) return;
|
|
3015
|
+
if (ticket) ticket.select();
|
|
3016
|
+
else model.value = true;
|
|
3017
|
+
}
|
|
3018
|
+
function unselect() {
|
|
3019
|
+
if (isDisabled.value) return;
|
|
3020
|
+
if (ticket) ticket.unselect();
|
|
3021
|
+
else model.value = false;
|
|
3022
|
+
}
|
|
3023
|
+
function mix() {
|
|
3024
|
+
if (isDisabled.value || !ticket) return;
|
|
3025
|
+
ticket.mix();
|
|
3026
|
+
}
|
|
3027
|
+
function unmix() {
|
|
3028
|
+
if (isDisabled.value || !ticket) return;
|
|
3029
|
+
ticket.unmix();
|
|
3030
|
+
}
|
|
3031
|
+
function onClick() {
|
|
3032
|
+
toggle();
|
|
3033
|
+
}
|
|
3034
|
+
function onKeydown(e) {
|
|
3035
|
+
if (e.key !== " ") return;
|
|
3036
|
+
e.preventDefault();
|
|
3037
|
+
toggle();
|
|
3038
|
+
}
|
|
3039
|
+
onUnmounted(() => {
|
|
3040
|
+
if (!ticket || !group) return;
|
|
3041
|
+
group.unregister(ticket.id);
|
|
3042
|
+
});
|
|
3043
|
+
const context = {
|
|
3044
|
+
id: __props.id,
|
|
3045
|
+
label: __props.label,
|
|
3046
|
+
value: __props.value,
|
|
3047
|
+
name: __props.name,
|
|
3048
|
+
form: __props.form,
|
|
3049
|
+
isChecked,
|
|
3050
|
+
isMixed,
|
|
3051
|
+
isDisabled,
|
|
3052
|
+
select,
|
|
3053
|
+
unselect,
|
|
3054
|
+
toggle,
|
|
3055
|
+
mix,
|
|
3056
|
+
unmix
|
|
3057
|
+
};
|
|
3058
|
+
provideSwitchRoot(__props.namespace, context);
|
|
3059
|
+
const slotProps = toRef(() => ({
|
|
3060
|
+
id: __props.id,
|
|
3061
|
+
label: __props.label,
|
|
3062
|
+
value: __props.value,
|
|
3063
|
+
isChecked: isChecked.value,
|
|
3064
|
+
isMixed: isMixed.value,
|
|
3065
|
+
isDisabled: isDisabled.value,
|
|
3066
|
+
select,
|
|
3067
|
+
unselect,
|
|
3068
|
+
toggle,
|
|
3069
|
+
mix,
|
|
3070
|
+
unmix,
|
|
3071
|
+
attrs: {
|
|
3072
|
+
"type": __props.as === "button" ? "button" : void 0,
|
|
3073
|
+
"role": "switch",
|
|
3074
|
+
"aria-checked": isMixed.value ? "mixed" : isChecked.value,
|
|
3075
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
3076
|
+
"aria-label": __props.label || void 0,
|
|
3077
|
+
"aria-labelledby": __props.ariaLabelledby || void 0,
|
|
3078
|
+
"aria-describedby": __props.ariaDescribedby || void 0,
|
|
3079
|
+
"aria-invalid": __props.ariaInvalid || void 0,
|
|
3080
|
+
"tabindex": isDisabled.value ? void 0 : 0,
|
|
3081
|
+
"data-state": dataState.value,
|
|
3082
|
+
"data-disabled": isDisabled.value ? true : void 0
|
|
3083
|
+
}
|
|
3084
|
+
}));
|
|
3085
|
+
return (_ctx, _cache) => {
|
|
3086
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(Atom_default), mergeProps({
|
|
3087
|
+
...unref(attrs),
|
|
3088
|
+
...slotProps.value.attrs
|
|
3089
|
+
}, {
|
|
3090
|
+
as: __props.as,
|
|
3091
|
+
renderless: __props.renderless,
|
|
3092
|
+
onClick,
|
|
3093
|
+
onKeydown
|
|
3094
|
+
}), {
|
|
3095
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3096
|
+
_: 3
|
|
3097
|
+
}, 16, ["as", "renderless"]), __props.name ? (openBlock(), createBlock(SwitchHiddenInput_default, { key: 0 })) : createCommentVNode("v-if", true)], 64);
|
|
3098
|
+
};
|
|
3099
|
+
}
|
|
3100
|
+
});
|
|
3101
|
+
var SwitchRoot_default = _sfc_main$12;
|
|
3102
|
+
|
|
3103
|
+
//#endregion
|
|
3104
|
+
//#region src/components/Switch/SwitchHiddenInput.vue
|
|
3105
|
+
const _hoisted_1 = [
|
|
3106
|
+
"checked",
|
|
3107
|
+
"disabled",
|
|
3108
|
+
"form",
|
|
3109
|
+
"name",
|
|
3110
|
+
"value"
|
|
3111
|
+
];
|
|
3112
|
+
const visuallyHiddenStyle = {
|
|
3113
|
+
position: "absolute",
|
|
3114
|
+
width: "1px",
|
|
3115
|
+
height: "1px",
|
|
3116
|
+
padding: "0",
|
|
3117
|
+
margin: "-1px",
|
|
3118
|
+
overflow: "hidden",
|
|
3119
|
+
clip: "rect(0, 0, 0, 0)",
|
|
3120
|
+
whiteSpace: "nowrap",
|
|
3121
|
+
border: "0"
|
|
3122
|
+
};
|
|
3123
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
3124
|
+
name: "SwitchHiddenInput",
|
|
3125
|
+
__name: "SwitchHiddenInput",
|
|
3126
|
+
props: {
|
|
3127
|
+
namespace: { default: "v0:switch:root" },
|
|
3128
|
+
name: {},
|
|
3129
|
+
value: {},
|
|
3130
|
+
form: {}
|
|
3131
|
+
},
|
|
3132
|
+
setup(__props) {
|
|
3133
|
+
const root = useSwitchRoot(__props.namespace);
|
|
3134
|
+
const name = toRef(() => __props.name ?? root.name);
|
|
3135
|
+
const form = toRef(() => __props.form ?? root.form);
|
|
3136
|
+
const value = toRef(() => {
|
|
3137
|
+
const v = __props.value ?? root.value ?? "on";
|
|
3138
|
+
if (/* @__PURE__ */ isNullOrUndefined(v)) return "on";
|
|
3139
|
+
if (/* @__PURE__ */ isObject(v)) return JSON.stringify(v);
|
|
3140
|
+
return String(v);
|
|
3141
|
+
});
|
|
3142
|
+
const isChecked = root.isChecked;
|
|
3143
|
+
const isDisabled = root.isDisabled;
|
|
3144
|
+
return (_ctx, _cache) => {
|
|
3145
|
+
return openBlock(), createElementBlock("input", {
|
|
3146
|
+
checked: unref(isChecked),
|
|
3147
|
+
disabled: unref(isDisabled),
|
|
3148
|
+
form: form.value,
|
|
3149
|
+
inert: "",
|
|
3150
|
+
name: name.value,
|
|
3151
|
+
style: visuallyHiddenStyle,
|
|
3152
|
+
tabindex: "-1",
|
|
3153
|
+
type: "checkbox",
|
|
3154
|
+
value: value.value
|
|
3155
|
+
}, null, 8, _hoisted_1);
|
|
3156
|
+
};
|
|
3157
|
+
}
|
|
3158
|
+
});
|
|
3159
|
+
var SwitchHiddenInput_default = _sfc_main$11;
|
|
3160
|
+
|
|
3161
|
+
//#endregion
|
|
3162
|
+
//#region src/components/Switch/SwitchSelectAll.vue
|
|
3163
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
3164
|
+
name: "SwitchSelectAll",
|
|
3165
|
+
inheritAttrs: false,
|
|
3166
|
+
__name: "SwitchSelectAll",
|
|
3167
|
+
props: {
|
|
3168
|
+
label: {},
|
|
3169
|
+
disabled: { type: Boolean },
|
|
3170
|
+
namespace: {},
|
|
3171
|
+
groupNamespace: {},
|
|
3172
|
+
ariaLabelledby: {},
|
|
3173
|
+
ariaDescribedby: {},
|
|
3174
|
+
as: {},
|
|
3175
|
+
renderless: { type: Boolean }
|
|
3176
|
+
},
|
|
3177
|
+
setup(__props) {
|
|
3178
|
+
const attrs = useAttrs();
|
|
3179
|
+
const props = __props;
|
|
3180
|
+
const { as = "button", renderless, label, namespace = "v0:switch:root", groupNamespace = "v0:switch:group" } = props;
|
|
3181
|
+
const group = useSwitchGroup(groupNamespace);
|
|
3182
|
+
const id = useId();
|
|
3183
|
+
const isAllSelected = toRef(() => group.isAllSelected.value);
|
|
3184
|
+
const isMixed = toRef(() => group.isMixed.value);
|
|
3185
|
+
const isDisabled = toRef(() => toValue(props.disabled) || toValue(group.disabled));
|
|
3186
|
+
const dataState = toRef(() => isMixed.value ? "indeterminate" : isAllSelected.value ? "checked" : "unchecked");
|
|
3187
|
+
function onClick() {
|
|
3188
|
+
if (isDisabled.value) return;
|
|
3189
|
+
group.toggleAll();
|
|
3190
|
+
}
|
|
3191
|
+
function onKeydown(e) {
|
|
3192
|
+
if (e.key !== " ") return;
|
|
3193
|
+
e.preventDefault();
|
|
3194
|
+
if (isDisabled.value) return;
|
|
3195
|
+
group.toggleAll();
|
|
3196
|
+
}
|
|
3197
|
+
provideSwitchRoot(namespace, {
|
|
3198
|
+
id,
|
|
3199
|
+
label,
|
|
3200
|
+
value: void 0,
|
|
3201
|
+
name: void 0,
|
|
3202
|
+
form: void 0,
|
|
3203
|
+
isChecked: isAllSelected,
|
|
3204
|
+
isMixed,
|
|
3205
|
+
isDisabled,
|
|
3206
|
+
select: group.selectAll,
|
|
3207
|
+
unselect: group.unselectAll,
|
|
3208
|
+
toggle: group.toggleAll,
|
|
3209
|
+
mix: () => {},
|
|
3210
|
+
unmix: () => {}
|
|
3211
|
+
});
|
|
3212
|
+
const slotProps = toRef(() => ({
|
|
3213
|
+
label,
|
|
3214
|
+
isAllSelected: isAllSelected.value,
|
|
3215
|
+
isMixed: isMixed.value,
|
|
3216
|
+
isDisabled: isDisabled.value,
|
|
3217
|
+
selectAll: group.selectAll,
|
|
3218
|
+
unselectAll: group.unselectAll,
|
|
3219
|
+
toggleAll: group.toggleAll,
|
|
3220
|
+
attrs: {
|
|
3221
|
+
"type": as === "button" ? "button" : void 0,
|
|
3222
|
+
"role": "switch",
|
|
3223
|
+
"aria-checked": isMixed.value ? "mixed" : isAllSelected.value,
|
|
3224
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
3225
|
+
"aria-label": label || void 0,
|
|
3226
|
+
"aria-labelledby": props.ariaLabelledby || void 0,
|
|
3227
|
+
"aria-describedby": props.ariaDescribedby || void 0,
|
|
3228
|
+
"tabindex": isDisabled.value ? void 0 : 0,
|
|
3229
|
+
"data-state": dataState.value,
|
|
3230
|
+
"data-disabled": isDisabled.value ? true : void 0
|
|
3231
|
+
}
|
|
3232
|
+
}));
|
|
3233
|
+
return (_ctx, _cache) => {
|
|
3234
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps({
|
|
3235
|
+
...unref(attrs),
|
|
3236
|
+
...slotProps.value.attrs
|
|
3237
|
+
}, {
|
|
3238
|
+
as: unref(as),
|
|
3239
|
+
renderless: unref(renderless),
|
|
3240
|
+
onClick,
|
|
3241
|
+
onKeydown
|
|
3242
|
+
}), {
|
|
3243
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3244
|
+
_: 3
|
|
3245
|
+
}, 16, ["as", "renderless"]);
|
|
3246
|
+
};
|
|
3247
|
+
}
|
|
3248
|
+
});
|
|
3249
|
+
var SwitchSelectAll_default = _sfc_main$10;
|
|
3250
|
+
|
|
3251
|
+
//#endregion
|
|
3252
|
+
//#region src/components/Switch/SwitchThumb.vue
|
|
3253
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
3254
|
+
name: "SwitchThumb",
|
|
3255
|
+
__name: "SwitchThumb",
|
|
3256
|
+
props: {
|
|
3257
|
+
namespace: { default: "v0:switch:root" },
|
|
3258
|
+
as: { default: "span" },
|
|
3259
|
+
renderless: { type: Boolean }
|
|
3260
|
+
},
|
|
3261
|
+
setup(__props) {
|
|
3262
|
+
const root = useSwitchRoot(__props.namespace);
|
|
3263
|
+
const isChecked = toRef(() => toValue(root.isChecked));
|
|
3264
|
+
const isMixed = toRef(() => toValue(root.isMixed));
|
|
3265
|
+
const isVisible = toRef(() => isChecked.value || isMixed.value);
|
|
3266
|
+
const dataState = toRef(() => isMixed.value ? "indeterminate" : isChecked.value ? "checked" : "unchecked");
|
|
3267
|
+
const slotProps = toRef(() => ({
|
|
3268
|
+
isChecked: isChecked.value,
|
|
3269
|
+
isMixed: isMixed.value,
|
|
3270
|
+
attrs: {
|
|
3271
|
+
"data-state": dataState.value,
|
|
3272
|
+
"style": { visibility: isVisible.value ? "visible" : "hidden" }
|
|
3273
|
+
}
|
|
3274
|
+
}));
|
|
3275
|
+
return (_ctx, _cache) => {
|
|
3276
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps(slotProps.value.attrs, {
|
|
3277
|
+
as: __props.as,
|
|
3278
|
+
renderless: __props.renderless
|
|
3279
|
+
}), {
|
|
3280
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3281
|
+
_: 3
|
|
3282
|
+
}, 16, ["as", "renderless"]);
|
|
3283
|
+
};
|
|
3284
|
+
}
|
|
3285
|
+
});
|
|
3286
|
+
var SwitchThumb_default = _sfc_main$9;
|
|
3287
|
+
|
|
3288
|
+
//#endregion
|
|
3289
|
+
//#region src/components/Switch/SwitchTrack.vue
|
|
3290
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3291
|
+
name: "SwitchTrack",
|
|
3292
|
+
__name: "SwitchTrack",
|
|
3293
|
+
props: {
|
|
3294
|
+
namespace: { default: "v0:switch:root" },
|
|
3295
|
+
as: { default: "span" },
|
|
3296
|
+
renderless: { type: Boolean }
|
|
3297
|
+
},
|
|
3298
|
+
setup(__props) {
|
|
3299
|
+
const root = useSwitchRoot(__props.namespace);
|
|
3300
|
+
const isChecked = toRef(() => toValue(root.isChecked));
|
|
3301
|
+
const isMixed = toRef(() => toValue(root.isMixed));
|
|
3302
|
+
const dataState = toRef(() => isMixed.value ? "indeterminate" : isChecked.value ? "checked" : "unchecked");
|
|
3303
|
+
const slotProps = toRef(() => ({
|
|
3304
|
+
isChecked: isChecked.value,
|
|
3305
|
+
isMixed: isMixed.value,
|
|
3306
|
+
attrs: { "data-state": dataState.value }
|
|
3307
|
+
}));
|
|
3308
|
+
return (_ctx, _cache) => {
|
|
3309
|
+
return openBlock(), createBlock(unref(Atom_default), mergeProps(slotProps.value.attrs, {
|
|
3310
|
+
as: __props.as,
|
|
3311
|
+
renderless: __props.renderless
|
|
3312
|
+
}), {
|
|
3313
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)))]),
|
|
3314
|
+
_: 3
|
|
3315
|
+
}, 16, ["as", "renderless"]);
|
|
3316
|
+
};
|
|
3317
|
+
}
|
|
3318
|
+
});
|
|
3319
|
+
var SwitchTrack_default = _sfc_main$8;
|
|
3320
|
+
|
|
3321
|
+
//#endregion
|
|
3322
|
+
//#region src/components/Switch/index.ts
|
|
3323
|
+
/**
|
|
3324
|
+
* Switch component with sub-components for toggle controls.
|
|
3325
|
+
*
|
|
3326
|
+
* @see https://0.vuetifyjs.com/components/forms/switch
|
|
3327
|
+
*
|
|
3328
|
+
* @example
|
|
3329
|
+
* ```vue
|
|
3330
|
+
* <script lang="ts" setup>
|
|
3331
|
+
* import { Switch } from '@vuetify/v0'
|
|
3332
|
+
* import { ref } from 'vue'
|
|
3333
|
+
*
|
|
3334
|
+
* const enabled = ref(false)
|
|
3335
|
+
* <\/script>
|
|
3336
|
+
*
|
|
3337
|
+
* <template>
|
|
3338
|
+
* <label>
|
|
3339
|
+
* <Switch.Root v-model="enabled">
|
|
3340
|
+
* <Switch.Track>
|
|
3341
|
+
* <Switch.Thumb />
|
|
3342
|
+
* </Switch.Track>
|
|
3343
|
+
* </Switch.Root>
|
|
3344
|
+
* Enable notifications
|
|
3345
|
+
* </label>
|
|
3346
|
+
* </template>
|
|
3347
|
+
* ```
|
|
3348
|
+
*/
|
|
3349
|
+
const Switch = {
|
|
3350
|
+
Group: SwitchGroup_default,
|
|
3351
|
+
HiddenInput: SwitchHiddenInput_default,
|
|
3352
|
+
Root: SwitchRoot_default,
|
|
3353
|
+
SelectAll: SwitchSelectAll_default,
|
|
3354
|
+
Thumb: SwitchThumb_default,
|
|
3355
|
+
Track: SwitchTrack_default
|
|
3356
|
+
};
|
|
3357
|
+
|
|
2886
3358
|
//#endregion
|
|
2887
3359
|
//#region src/components/Single/SingleRoot.vue
|
|
2888
3360
|
const [useSingleRoot, provideSingleRoot] = createContext();
|
|
@@ -3425,4 +3897,4 @@ const Tabs = {
|
|
|
3425
3897
|
};
|
|
3426
3898
|
|
|
3427
3899
|
//#endregion
|
|
3428
|
-
export {
|
|
3900
|
+
export { PaginationNext_default as $, provideBreadcrumbsRoot as $t, SelectionItem_default as A, DialogContent_default as At, useRadioRoot as B, provideCheckboxRoot as Bt, SwitchRoot_default as C, ExpansionPanelRoot_default as Ct, provideSwitchGroup as D, DialogActivator_default as Dt, SwitchGroup_default as E, Dialog as Et, Radio as F, Checkbox as Ft, PopoverContent_default as G, Breadcrumbs as Gt, provideRadioGroup as H, CheckboxGroup_default as Ht, RadioIndicator_default as I, CheckboxSelectAll_default as It, providePopoverContext as J, BreadcrumbsLink_default as Jt, PopoverActivator_default as K, BreadcrumbsPage_default as Kt, RadioHiddenInput_default as L, CheckboxIndicator_default as Lt, provideSelectionRoot as M, DialogRoot_default as Mt, useSelectionRoot as N, provideDialogContext as Nt, useSwitchGroup as O, DialogTitle_default as Ot, Scrim_default as P, useDialogContext as Pt, PaginationPrev_default as Q, BreadcrumbsRoot_default as Qt, RadioRoot_default as R, CheckboxHiddenInput_default as Rt, SwitchHiddenInput_default as S, useExpansionPanelItem as St, useSwitchRoot as T, useExpansionPanelRoot as Tt, useRadioGroup as U, provideCheckboxGroup as Ut, RadioGroup_default as V, useCheckboxRoot as Vt, Popover as W, useCheckboxGroup as Wt, Pagination as X, BreadcrumbsEllipsis_default as Xt, usePopoverContext as Y, BreadcrumbsItem_default as Yt, PaginationStatus_default as Z, BreadcrumbsDivider_default as Zt, useSingleRoot as _, ExpansionPanelHeader_default as _t, TabsRoot_default as a, provideAvatarRoot as an, providePaginationControls as at, SwitchThumb_default as b, ExpansionPanelItem_default as bt, Step as c, usePaginationControls as ct, provideStepRoot as d, Group as dt, useBreadcrumbsRoot as en, PaginationLast_default as et, useStepRoot as f, GroupItem_default as ft, provideSingleRoot as g, ExpansionPanel as gt, SingleRoot_default as h, useGroupRoot as ht, TabsList_default as i, AvatarRoot_default as in, PaginationRoot_default as it, SelectionRoot_default as j, DialogClose_default as jt, Selection as k, DialogDescription_default as kt, StepItem_default as l, usePaginationItems as lt, SingleItem_default as m, provideGroupRoot as mt, TabsPanel_default as n, AvatarImage_default as nn, PaginationFirst_default as nt, provideTabsRoot as o, useAvatarRoot as on, providePaginationItems as ot, Single as p, GroupRoot_default as pt, PopoverRoot_default as q, BreadcrumbsList_default as qt, TabsItem_default as r, AvatarFallback_default as rn, PaginationEllipsis_default as rt, useTabsRoot as s, Atom_default as sn, providePaginationRoot as st, Tabs as t, Avatar as tn, PaginationItem_default as tt, StepRoot_default as u, usePaginationRoot as ut, Switch as v, ExpansionPanelContent_default as vt, provideSwitchRoot as w, provideExpansionPanelRoot as wt, SwitchSelectAll_default as x, provideExpansionPanelItem as xt, SwitchTrack_default as y, ExpansionPanelActivator_default as yt, provideRadioRoot as z, CheckboxRoot_default as zt };
|