@code-coaching/vuetiful 0.20.0 → 0.21.0
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/style.css +1 -1
- package/dist/styles/all.css +198 -0
- package/dist/types/components/molecules/VCard/VCard.test.d.ts +1 -0
- package/dist/types/components/molecules/VCard/VCard.vue.d.ts +52 -0
- package/dist/types/components/molecules/VCard/VCardBody.test.d.ts +1 -0
- package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +2 -0
- package/dist/types/components/molecules/VCard/VCardFooter.test.d.ts +1 -0
- package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +2 -0
- package/dist/types/components/molecules/VCard/VCardHeader.test.d.ts +1 -0
- package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +2 -0
- package/dist/types/components/molecules/index.d.ts +5 -1
- package/dist/vuetiful.es.mjs +251 -120
- package/dist/vuetiful.umd.js +9 -9
- package/package.json +1 -1
- package/src/components/molecules/VCard/VCard.test.ts +47 -0
- package/src/components/molecules/VCard/VCard.vue +71 -0
- package/src/components/molecules/VCard/VCardBody.test.ts +21 -0
- package/src/components/molecules/VCard/VCardBody.vue +5 -0
- package/src/components/molecules/VCard/VCardFooter.test.ts +45 -0
- package/src/components/molecules/VCard/VCardFooter.vue +11 -0
- package/src/components/molecules/VCard/VCardHeader.test.ts +68 -0
- package/src/components/molecules/VCard/VCardHeader.vue +33 -0
- package/src/components/molecules/index.ts +9 -0
package/dist/vuetiful.es.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, useAttrs, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, toDisplayString, renderSlot, createBlock, resolveDynamicComponent, withCtx, withDirectives, createTextVNode, onMounted, Fragment, cloneVNode, h as h$1, inject, provide, watchEffect, onUnmounted, watch, nextTick, toRaw, createCommentVNode, reactive, readonly, toRefs, createVNode, Transition, renderList, pushScopeId, popScopeId, mergeProps, vShow, resolveComponent } from "vue";
|
|
2
|
-
const _hoisted_1$
|
|
3
|
-
const _hoisted_2$
|
|
2
|
+
const _hoisted_1$i = ["src", "alt"];
|
|
3
|
+
const _hoisted_2$9 = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "avatar-initials h-full w-full",
|
|
6
6
|
viewBox: "0 0 512 512"
|
|
7
7
|
};
|
|
8
|
-
const _sfc_main$
|
|
8
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "VAvatar",
|
|
10
10
|
props: {
|
|
11
11
|
initials: { type: String, default: "" },
|
|
@@ -39,7 +39,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
src: imgSrc.value,
|
|
40
40
|
alt: __props.alt,
|
|
41
41
|
onError: _cache[0] || (_cache[0] = () => imgSrc.value = __props.fallback)
|
|
42
|
-
}, null, 40, _hoisted_1$
|
|
42
|
+
}, null, 40, _hoisted_1$i)) : (openBlock(), createElementBlock("svg", _hoisted_2$9, [
|
|
43
43
|
createElementVNode("text", {
|
|
44
44
|
x: "50%",
|
|
45
45
|
y: "50%",
|
|
@@ -61,17 +61,17 @@ var _export_sfc = (sfc, props) => {
|
|
|
61
61
|
}
|
|
62
62
|
return target;
|
|
63
63
|
};
|
|
64
|
-
const _sfc_main$
|
|
65
|
-
const _hoisted_1$
|
|
64
|
+
const _sfc_main$x = {};
|
|
65
|
+
const _hoisted_1$h = {
|
|
66
66
|
class: /* @__PURE__ */ normalizeClass(`vuetiful-badge badge`)
|
|
67
67
|
};
|
|
68
|
-
function _sfc_render$
|
|
69
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
68
|
+
function _sfc_render$4(_ctx, _cache) {
|
|
69
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
70
70
|
renderSlot(_ctx.$slots, "default")
|
|
71
71
|
]);
|
|
72
72
|
}
|
|
73
|
-
var VBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
74
|
-
const _sfc_main$
|
|
73
|
+
var VBadge = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$4]]);
|
|
74
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
75
75
|
__name: "VButton",
|
|
76
76
|
props: {
|
|
77
77
|
icon: {
|
|
@@ -121,16 +121,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
const _sfc_main$
|
|
125
|
-
const _hoisted_1$
|
|
124
|
+
const _sfc_main$v = {};
|
|
125
|
+
const _hoisted_1$g = {
|
|
126
126
|
class: /* @__PURE__ */ normalizeClass(`vuetiful-chip chip`)
|
|
127
127
|
};
|
|
128
|
-
function _sfc_render$
|
|
129
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
128
|
+
function _sfc_render$3(_ctx, _cache) {
|
|
129
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
130
130
|
renderSlot(_ctx.$slots, "default")
|
|
131
131
|
]);
|
|
132
132
|
}
|
|
133
|
-
var VChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
133
|
+
var VChip = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$3]]);
|
|
134
134
|
var deepFreezeEs6 = { exports: {} };
|
|
135
135
|
function deepFreeze(obj) {
|
|
136
136
|
if (obj instanceof Map) {
|
|
@@ -46471,12 +46471,12 @@ const useHighlight = () => {
|
|
|
46471
46471
|
};
|
|
46472
46472
|
};
|
|
46473
46473
|
var githubDark = "";
|
|
46474
|
-
const _hoisted_1$
|
|
46475
|
-
const _hoisted_2$
|
|
46474
|
+
const _hoisted_1$f = { class: "code-block max-w-full bg-neutral-900/90 text-sm text-white shadow rounded-container-token" };
|
|
46475
|
+
const _hoisted_2$8 = {
|
|
46476
46476
|
class: /* @__PURE__ */ normalizeClass(`code-block-language`)
|
|
46477
46477
|
};
|
|
46478
46478
|
const _hoisted_3$5 = ["innerHTML"];
|
|
46479
|
-
const _sfc_main$
|
|
46479
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
46480
46480
|
__name: "VCodeBlock",
|
|
46481
46481
|
props: {
|
|
46482
46482
|
language: {
|
|
@@ -46534,12 +46534,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
46534
46534
|
emit("copy");
|
|
46535
46535
|
}
|
|
46536
46536
|
return (_ctx, _cache) => {
|
|
46537
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
46537
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
46538
46538
|
createElementVNode("header", {
|
|
46539
46539
|
class: normalizeClass(`code-block-header flex items-center justify-between p-2 pb-0 pl-4 text-xs uppercase text-white/50 ${__props.headerClass}`)
|
|
46540
46540
|
}, [
|
|
46541
|
-
createElementVNode("span", _hoisted_2$
|
|
46542
|
-
withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
46541
|
+
createElementVNode("span", _hoisted_2$8, toDisplayString(languageFormatter(__props.language)), 1),
|
|
46542
|
+
withDirectives((openBlock(), createBlock(unref(_sfc_main$w), {
|
|
46543
46543
|
class: normalizeClass(`code-block-btn ${__props.buttonClass}`),
|
|
46544
46544
|
onClick: _cache[0] || (_cache[0] = ($event) => onCopyClick())
|
|
46545
46545
|
}, {
|
|
@@ -46563,7 +46563,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
46563
46563
|
};
|
|
46564
46564
|
}
|
|
46565
46565
|
});
|
|
46566
|
-
const _sfc_main$
|
|
46566
|
+
const _sfc_main$t = defineComponent({
|
|
46567
46567
|
props: {
|
|
46568
46568
|
bgLight: {
|
|
46569
46569
|
type: String,
|
|
@@ -46654,9 +46654,9 @@ const _sfc_main$p = defineComponent({
|
|
|
46654
46654
|
};
|
|
46655
46655
|
}
|
|
46656
46656
|
});
|
|
46657
|
-
const _hoisted_1$
|
|
46658
|
-
const _hoisted_2$
|
|
46659
|
-
function _sfc_render$
|
|
46657
|
+
const _hoisted_1$e = ["aria-checked", "title"];
|
|
46658
|
+
const _hoisted_2$7 = ["d"];
|
|
46659
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46660
46660
|
return openBlock(), createElementBlock("div", {
|
|
46661
46661
|
class: normalizeClass(`lightswitch-track ${_ctx.classesTrack}`),
|
|
46662
46662
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onToggleHandler && _ctx.onToggleHandler(...args)),
|
|
@@ -46680,12 +46680,12 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46680
46680
|
createElementVNode("path", {
|
|
46681
46681
|
fill: "currentColor",
|
|
46682
46682
|
d: _ctx.currentMode ? _ctx.svgPath.sun : _ctx.svgPath.moon
|
|
46683
|
-
}, null, 8, _hoisted_2$
|
|
46683
|
+
}, null, 8, _hoisted_2$7)
|
|
46684
46684
|
], 2))
|
|
46685
46685
|
], 2)
|
|
46686
|
-
], 42, _hoisted_1$
|
|
46686
|
+
], 42, _hoisted_1$e);
|
|
46687
46687
|
}
|
|
46688
|
-
var VLightSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
46688
|
+
var VLightSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$2]]);
|
|
46689
46689
|
function u$2(r2, n2, ...a2) {
|
|
46690
46690
|
if (r2 in n2) {
|
|
46691
46691
|
let e2 = n2[r2];
|
|
@@ -47796,7 +47796,7 @@ let j = Symbol("TabsSSRContext"), xe = defineComponent({ name: "TabGroup", emits
|
|
|
47796
47796
|
return !m2.value && a2.unmount && !a2.static ? h$1(f$1, { as: "span", ...h2 }) : H$2({ ourProps: h2, theirProps: w2, slot: r2, attrs: v2, slots: i2, features: N$1.Static | N$1.RenderStrategy, visible: m2.value, name: "TabPanel" });
|
|
47797
47797
|
};
|
|
47798
47798
|
} });
|
|
47799
|
-
const _sfc_main$
|
|
47799
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
47800
47800
|
__name: "VRadioDescription",
|
|
47801
47801
|
props: {
|
|
47802
47802
|
as: {
|
|
@@ -47815,7 +47815,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
47815
47815
|
};
|
|
47816
47816
|
}
|
|
47817
47817
|
});
|
|
47818
|
-
const _sfc_main$
|
|
47818
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
47819
47819
|
__name: "VRadioGroup",
|
|
47820
47820
|
props: {
|
|
47821
47821
|
as: {
|
|
@@ -47883,7 +47883,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
47883
47883
|
};
|
|
47884
47884
|
}
|
|
47885
47885
|
});
|
|
47886
|
-
const _sfc_main$
|
|
47886
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
47887
47887
|
__name: "VRadioItem",
|
|
47888
47888
|
props: {
|
|
47889
47889
|
value: {
|
|
@@ -47909,7 +47909,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
47909
47909
|
};
|
|
47910
47910
|
}
|
|
47911
47911
|
});
|
|
47912
|
-
const _sfc_main$
|
|
47912
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
47913
47913
|
__name: "VRadioLabel",
|
|
47914
47914
|
props: {
|
|
47915
47915
|
as: {
|
|
@@ -47928,11 +47928,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
47928
47928
|
};
|
|
47929
47929
|
}
|
|
47930
47930
|
});
|
|
47931
|
-
const _hoisted_1$
|
|
47931
|
+
const _hoisted_1$d = {
|
|
47932
47932
|
key: 0,
|
|
47933
47933
|
class: "sr-only"
|
|
47934
47934
|
};
|
|
47935
|
-
const _sfc_main$
|
|
47935
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
47936
47936
|
__name: "VSwitch",
|
|
47937
47937
|
props: {
|
|
47938
47938
|
modelValue: {
|
|
@@ -48008,7 +48008,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
48008
48008
|
createElementVNode("div", {
|
|
48009
48009
|
class: normalizeClass(`slide-toggle-track flex transition-all duration-[150ms] border-token rounded-token ${unref(trackSize)} ${__props.disabled ? "cursor-not-allowed" : "cursor-pointer"} ${__props.switchClass}`)
|
|
48010
48010
|
}, [
|
|
48011
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
48011
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$d, [
|
|
48012
48012
|
renderSlot(_ctx.$slots, "default")
|
|
48013
48013
|
])) : createCommentVNode("", true),
|
|
48014
48014
|
createElementVNode("div", {
|
|
@@ -48021,7 +48021,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
48021
48021
|
};
|
|
48022
48022
|
}
|
|
48023
48023
|
});
|
|
48024
|
-
const _sfc_main$
|
|
48024
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
48025
48025
|
__name: "VSwitchDescription",
|
|
48026
48026
|
props: {
|
|
48027
48027
|
as: {
|
|
@@ -48040,7 +48040,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
48040
48040
|
};
|
|
48041
48041
|
}
|
|
48042
48042
|
});
|
|
48043
|
-
const _sfc_main$
|
|
48043
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
48044
48044
|
__name: "VSwitchGroup",
|
|
48045
48045
|
props: {
|
|
48046
48046
|
as: {
|
|
@@ -48059,7 +48059,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
48059
48059
|
};
|
|
48060
48060
|
}
|
|
48061
48061
|
});
|
|
48062
|
-
const _sfc_main$
|
|
48062
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
48063
48063
|
__name: "VSwitchLabel",
|
|
48064
48064
|
props: {
|
|
48065
48065
|
as: {
|
|
@@ -48204,8 +48204,8 @@ const useDarkMode = () => {
|
|
|
48204
48204
|
MODE
|
|
48205
48205
|
};
|
|
48206
48206
|
};
|
|
48207
|
-
const _hoisted_1$
|
|
48208
|
-
const _sfc_main$
|
|
48207
|
+
const _hoisted_1$c = ["aria-labelledby", "aria-describedby"];
|
|
48208
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
48209
48209
|
__name: "VDrawer",
|
|
48210
48210
|
props: {
|
|
48211
48211
|
regionBackdrop: {
|
|
@@ -48269,7 +48269,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
48269
48269
|
"aria-describedby": unref(describedby)
|
|
48270
48270
|
}, [
|
|
48271
48271
|
renderSlot(_ctx.$slots, "default")
|
|
48272
|
-
], 10, _hoisted_1$
|
|
48272
|
+
], 10, _hoisted_1$c)) : createCommentVNode("", true)
|
|
48273
48273
|
]),
|
|
48274
48274
|
_: 3
|
|
48275
48275
|
}, 8, ["name"]),
|
|
@@ -48294,8 +48294,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
48294
48294
|
});
|
|
48295
48295
|
var VPreview_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
48296
48296
|
const _withScopeId$3 = (n2) => (pushScopeId("data-v-0d055d3d"), n2 = n2(), popScopeId(), n2);
|
|
48297
|
-
const _hoisted_1$
|
|
48298
|
-
const _hoisted_2$
|
|
48297
|
+
const _hoisted_1$b = { class: "vuetiful-previewer overflow-hidden shadow-2xl shadow-surface-500/10 rounded-container-token dark:shadow-black/10" };
|
|
48298
|
+
const _hoisted_2$6 = { class: "flex items-center gap-2" };
|
|
48299
48299
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
48300
48300
|
class: "icon",
|
|
48301
48301
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -48345,7 +48345,7 @@ const _hoisted_9$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ create
|
|
|
48345
48345
|
}, [
|
|
48346
48346
|
/* @__PURE__ */ createElementVNode("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" })
|
|
48347
48347
|
], -1));
|
|
48348
|
-
const _sfc_main$
|
|
48348
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
48349
48349
|
__name: "VPreview",
|
|
48350
48350
|
props: {
|
|
48351
48351
|
hideMobileToggle: {
|
|
@@ -48401,17 +48401,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48401
48401
|
const swatches = ref(false);
|
|
48402
48402
|
const toggleSwatches = () => swatches.value = !swatches.value;
|
|
48403
48403
|
return (_ctx, _cache) => {
|
|
48404
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
48404
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
48405
48405
|
createElementVNode("header", {
|
|
48406
48406
|
class: normalizeClass(`vuetiful-previewer-header flex items-center justify-between gap-4 p-4 bg-surface-200-700-token ${__props.regionHeader}`)
|
|
48407
48407
|
}, [
|
|
48408
|
-
createElementVNode("div", _hoisted_2$
|
|
48409
|
-
createVNode(unref(_sfc_main$
|
|
48408
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
48409
|
+
createVNode(unref(_sfc_main$r), {
|
|
48410
48410
|
modelValue: tabView.value,
|
|
48411
48411
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tabView.value = $event)
|
|
48412
48412
|
}, {
|
|
48413
48413
|
default: withCtx(() => [
|
|
48414
|
-
createVNode(unref(_sfc_main$
|
|
48414
|
+
createVNode(unref(_sfc_main$q), {
|
|
48415
48415
|
"data-test": "radio-item-preview",
|
|
48416
48416
|
value: "preview",
|
|
48417
48417
|
title: "Preview"
|
|
@@ -48423,7 +48423,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48423
48423
|
]),
|
|
48424
48424
|
_: 3
|
|
48425
48425
|
}),
|
|
48426
|
-
createVNode(unref(_sfc_main$
|
|
48426
|
+
createVNode(unref(_sfc_main$q), {
|
|
48427
48427
|
"data-test": "radio-item-code",
|
|
48428
48428
|
value: "code",
|
|
48429
48429
|
title: "Code"
|
|
@@ -48438,14 +48438,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48438
48438
|
]),
|
|
48439
48439
|
_: 3
|
|
48440
48440
|
}, 8, ["modelValue"]),
|
|
48441
|
-
!__props.hideMobileToggle && tabView.value === "preview" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
48441
|
+
!__props.hideMobileToggle && tabView.value === "preview" ? (openBlock(), createBlock(unref(_sfc_main$r), {
|
|
48442
48442
|
key: 0,
|
|
48443
48443
|
class: "hidden sm:!inline-flex",
|
|
48444
48444
|
modelValue: radioSize.value,
|
|
48445
48445
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => radioSize.value = $event)
|
|
48446
48446
|
}, {
|
|
48447
48447
|
default: withCtx(() => [
|
|
48448
|
-
createVNode(unref(_sfc_main$
|
|
48448
|
+
createVNode(unref(_sfc_main$q), {
|
|
48449
48449
|
"data-test": "radio-item-mobile",
|
|
48450
48450
|
value: "mobile"
|
|
48451
48451
|
}, {
|
|
@@ -48456,7 +48456,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48456
48456
|
]),
|
|
48457
48457
|
_: 3
|
|
48458
48458
|
}),
|
|
48459
|
-
createVNode(unref(_sfc_main$
|
|
48459
|
+
createVNode(unref(_sfc_main$q), { value: "full" }, {
|
|
48460
48460
|
default: withCtx(() => [
|
|
48461
48461
|
renderSlot(_ctx.$slots, "desktop-item", {}, () => [
|
|
48462
48462
|
_hoisted_6$2
|
|
@@ -48468,7 +48468,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48468
48468
|
_: 3
|
|
48469
48469
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
48470
48470
|
]),
|
|
48471
|
-
!__props.hideSwatches ? (openBlock(), createBlock(unref(_sfc_main$
|
|
48471
|
+
!__props.hideSwatches ? (openBlock(), createBlock(unref(_sfc_main$w), {
|
|
48472
48472
|
key: 0,
|
|
48473
48473
|
"data-test": "swatch-button",
|
|
48474
48474
|
class: normalizeClass(`${swatches.value ? "variant-filled" : "variant-ghost"} px-4 py-1 border-token border-surface-400-500-token`),
|
|
@@ -48483,7 +48483,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48483
48483
|
_: 3
|
|
48484
48484
|
}, 8, ["class"])) : createCommentVNode("", true)
|
|
48485
48485
|
], 2),
|
|
48486
|
-
swatches.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
48486
|
+
swatches.value ? (openBlock(), createBlock(unref(_sfc_main$r), {
|
|
48487
48487
|
key: 0,
|
|
48488
48488
|
"data-test": "swatches",
|
|
48489
48489
|
class: normalizeClass(`vuetiful-previewer-swatches variant-soft grid grid-cols-6 gap-2 !rounded-none p-4 sm:grid-cols-12`),
|
|
@@ -48494,7 +48494,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48494
48494
|
}, {
|
|
48495
48495
|
default: withCtx(() => [
|
|
48496
48496
|
(openBlock(true), createElementBlock(Fragment, null, renderList(Object.entries(backgrounds), ([key, value], index2) => {
|
|
48497
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
48497
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
48498
48498
|
value: key,
|
|
48499
48499
|
key: index2,
|
|
48500
48500
|
class: normalizeClass(`${value} flex aspect-square cursor-pointer items-center justify-center rounded ring-[1px] ring-surface-500/50`),
|
|
@@ -48547,9 +48547,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
48547
48547
|
};
|
|
48548
48548
|
}
|
|
48549
48549
|
});
|
|
48550
|
-
var VPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
48551
|
-
const _hoisted_1$
|
|
48552
|
-
const _sfc_main$
|
|
48550
|
+
var VPreview = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0d055d3d"]]);
|
|
48551
|
+
const _hoisted_1$a = { class: "v-rail grid h-full w-[70px] grid-rows-[auto_1fr_auto] gap-0 overflow-y-auto sm:w-20" };
|
|
48552
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
48553
48553
|
__name: "VRail",
|
|
48554
48554
|
props: {
|
|
48555
48555
|
active: {
|
|
@@ -48578,7 +48578,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
48578
48578
|
provide("active", props.active);
|
|
48579
48579
|
provide("hover", props.hover);
|
|
48580
48580
|
return (_ctx, _cache) => {
|
|
48581
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
48581
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
48582
48582
|
createElementVNode("div", {
|
|
48583
48583
|
class: normalizeClass(["v-bar-lead", __props.regionLead])
|
|
48584
48584
|
}, [
|
|
@@ -48598,7 +48598,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
48598
48598
|
};
|
|
48599
48599
|
}
|
|
48600
48600
|
});
|
|
48601
|
-
const _sfc_main$
|
|
48601
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
48602
48602
|
__name: "VRailTile",
|
|
48603
48603
|
props: {
|
|
48604
48604
|
value: {
|
|
@@ -48674,9 +48674,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
48674
48674
|
};
|
|
48675
48675
|
}
|
|
48676
48676
|
});
|
|
48677
|
-
const _hoisted_1$
|
|
48678
|
-
const _hoisted_2$
|
|
48679
|
-
const _sfc_main$
|
|
48677
|
+
const _hoisted_1$9 = { class: "vuetiful-shell flex h-full w-full flex-col overflow-hidden" };
|
|
48678
|
+
const _hoisted_2$5 = { class: "vuetiful-shell-content flex h-full w-full flex-auto overflow-hidden" };
|
|
48679
|
+
const _sfc_main$g = defineComponent({
|
|
48680
48680
|
__name: "VShell",
|
|
48681
48681
|
props: {
|
|
48682
48682
|
regionPage: { type: String, default: "" },
|
|
@@ -48691,14 +48691,14 @@ const _sfc_main$c = defineComponent({
|
|
|
48691
48691
|
setup(__props) {
|
|
48692
48692
|
return (_ctx, _cache) => {
|
|
48693
48693
|
var _a;
|
|
48694
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
48694
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
48695
48695
|
_ctx.$slots.fixedHeader ? (openBlock(), createElementBlock("header", {
|
|
48696
48696
|
key: 0,
|
|
48697
48697
|
class: normalizeClass(`vuetiful-fixed-header ${__props.slotFixedHeader}`)
|
|
48698
48698
|
}, [
|
|
48699
48699
|
renderSlot(_ctx.$slots, "fixedHeader")
|
|
48700
48700
|
], 2)) : createCommentVNode("", true),
|
|
48701
|
-
createElementVNode("div", _hoisted_2$
|
|
48701
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
48702
48702
|
_ctx.$slots.sidebarLeft ? (openBlock(), createElementBlock("aside", {
|
|
48703
48703
|
key: 0,
|
|
48704
48704
|
class: normalizeClass(`vuetiful-sidebar-left overflow-y-auto overflow-x-hidden ${__props.slotSidebarLeft}`)
|
|
@@ -48746,8 +48746,8 @@ const _sfc_main$c = defineComponent({
|
|
|
48746
48746
|
});
|
|
48747
48747
|
var VListboxButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
48748
48748
|
const _withScopeId$2 = (n2) => (pushScopeId("data-v-85546624"), n2 = n2(), popScopeId(), n2);
|
|
48749
|
-
const _hoisted_1$
|
|
48750
|
-
const _hoisted_2$
|
|
48749
|
+
const _hoisted_1$8 = { key: 0 };
|
|
48750
|
+
const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
48751
48751
|
class: "icon",
|
|
48752
48752
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48753
48753
|
viewBox: "0 0 512 512"
|
|
@@ -48761,7 +48761,7 @@ const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
48761
48761
|
}, [
|
|
48762
48762
|
/* @__PURE__ */ createElementVNode("path", { d: "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z" })
|
|
48763
48763
|
], -1));
|
|
48764
|
-
const _sfc_main$
|
|
48764
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
48765
48765
|
__name: "VListboxButton",
|
|
48766
48766
|
props: {
|
|
48767
48767
|
as: {
|
|
@@ -48781,9 +48781,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
48781
48781
|
}, {
|
|
48782
48782
|
default: withCtx(({ open }) => [
|
|
48783
48783
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
48784
|
-
!__props.hideIcon ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
48784
|
+
!__props.hideIcon ? (openBlock(), createElementBlock("span", _hoisted_1$8, [
|
|
48785
48785
|
!open ? renderSlot(_ctx.$slots, "open-icon", { key: 0 }, () => [
|
|
48786
|
-
_hoisted_2$
|
|
48786
|
+
_hoisted_2$4
|
|
48787
48787
|
], true) : createCommentVNode("", true),
|
|
48788
48788
|
open ? renderSlot(_ctx.$slots, "close-icon", { key: 1 }, () => [
|
|
48789
48789
|
_hoisted_3$3
|
|
@@ -48795,8 +48795,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
48795
48795
|
};
|
|
48796
48796
|
}
|
|
48797
48797
|
});
|
|
48798
|
-
var VListboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
48799
|
-
const _sfc_main$
|
|
48798
|
+
var VListboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-85546624"]]);
|
|
48799
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
48800
48800
|
__name: "VListboxItems",
|
|
48801
48801
|
props: {
|
|
48802
48802
|
as: {
|
|
@@ -48831,7 +48831,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
48831
48831
|
};
|
|
48832
48832
|
}
|
|
48833
48833
|
});
|
|
48834
|
-
const _sfc_main$
|
|
48834
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
48835
48835
|
__name: "VListboxLabel",
|
|
48836
48836
|
props: {
|
|
48837
48837
|
as: {
|
|
@@ -48850,7 +48850,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
48850
48850
|
};
|
|
48851
48851
|
}
|
|
48852
48852
|
});
|
|
48853
|
-
const _sfc_main$
|
|
48853
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
48854
48854
|
__name: "VListbox",
|
|
48855
48855
|
props: {
|
|
48856
48856
|
by: {
|
|
@@ -48943,7 +48943,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
48943
48943
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => parentModelValue.value = $event)
|
|
48944
48944
|
}, {
|
|
48945
48945
|
default: withCtx(() => [
|
|
48946
|
-
__props.labelText ? (openBlock(), createBlock(_sfc_main$
|
|
48946
|
+
__props.labelText ? (openBlock(), createBlock(_sfc_main$d, {
|
|
48947
48947
|
key: 0,
|
|
48948
48948
|
class: normalizeClass(__props.labelClasses)
|
|
48949
48949
|
}, {
|
|
@@ -48970,7 +48970,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
48970
48970
|
"leave-to-class": "opacity-0"
|
|
48971
48971
|
}, {
|
|
48972
48972
|
default: withCtx(() => [
|
|
48973
|
-
createVNode(_sfc_main$
|
|
48973
|
+
createVNode(_sfc_main$e, { class: "absolute mt-1 min-w-full" }, {
|
|
48974
48974
|
default: withCtx(() => [
|
|
48975
48975
|
renderSlot(_ctx.$slots, "default")
|
|
48976
48976
|
]),
|
|
@@ -48985,7 +48985,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
48985
48985
|
};
|
|
48986
48986
|
}
|
|
48987
48987
|
});
|
|
48988
|
-
const _sfc_main$
|
|
48988
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
48989
48989
|
__name: "VListboxItem",
|
|
48990
48990
|
props: {
|
|
48991
48991
|
value: {
|
|
@@ -49011,7 +49011,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
49011
49011
|
};
|
|
49012
49012
|
}
|
|
49013
49013
|
});
|
|
49014
|
-
const _sfc_main$
|
|
49014
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
49015
49015
|
__name: "VTab",
|
|
49016
49016
|
props: {
|
|
49017
49017
|
disabled: {
|
|
@@ -49051,7 +49051,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
49051
49051
|
};
|
|
49052
49052
|
}
|
|
49053
49053
|
});
|
|
49054
|
-
const _sfc_main$
|
|
49054
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
49055
49055
|
__name: "VTabPanel",
|
|
49056
49056
|
setup(__props) {
|
|
49057
49057
|
return (_ctx, _cache) => {
|
|
@@ -49064,7 +49064,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
49064
49064
|
};
|
|
49065
49065
|
}
|
|
49066
49066
|
});
|
|
49067
|
-
const _sfc_main$
|
|
49067
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
49068
49068
|
__name: "VTabs",
|
|
49069
49069
|
props: {
|
|
49070
49070
|
hideSeparator: {
|
|
@@ -49148,8 +49148,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
49148
49148
|
};
|
|
49149
49149
|
}
|
|
49150
49150
|
});
|
|
49151
|
-
const _hoisted_1$
|
|
49152
|
-
const _sfc_main$
|
|
49151
|
+
const _hoisted_1$7 = { class: "vuetiful-accordion flex w-full flex-col gap-1" };
|
|
49152
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
49153
49153
|
__name: "VAccordion",
|
|
49154
49154
|
props: {
|
|
49155
49155
|
hover: {
|
|
@@ -49166,7 +49166,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
49166
49166
|
provide("hover", props.hover);
|
|
49167
49167
|
provide("background", props.background);
|
|
49168
49168
|
return (_ctx, _cache) => {
|
|
49169
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
49169
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
49170
49170
|
renderSlot(_ctx.$slots, "default")
|
|
49171
49171
|
]);
|
|
49172
49172
|
};
|
|
@@ -49174,8 +49174,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
49174
49174
|
});
|
|
49175
49175
|
var VAccordionItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
49176
49176
|
const _withScopeId$1 = (n2) => (pushScopeId("data-v-75f8b8b4"), n2 = n2(), popScopeId(), n2);
|
|
49177
|
-
const _hoisted_1$
|
|
49178
|
-
const _hoisted_2$
|
|
49177
|
+
const _hoisted_1$6 = { class: "vuetiful-accordion-title" };
|
|
49178
|
+
const _hoisted_2$3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
49179
49179
|
class: "icon",
|
|
49180
49180
|
xmlns: "http://www.w3.org/2000/svg",
|
|
49181
49181
|
viewBox: "0 0 448 512"
|
|
@@ -49189,7 +49189,7 @@ const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
49189
49189
|
}, [
|
|
49190
49190
|
/* @__PURE__ */ createElementVNode("path", { d: "M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z" })
|
|
49191
49191
|
], -1));
|
|
49192
|
-
const _sfc_main$
|
|
49192
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
49193
49193
|
__name: "VAccordionItem",
|
|
49194
49194
|
props: {
|
|
49195
49195
|
title: {
|
|
@@ -49213,9 +49213,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
49213
49213
|
createElementVNode("div", {
|
|
49214
49214
|
class: normalizeClass(["flex items-center justify-between p-4 rounded-container-token hover:cursor-pointer", `${unref(background)} ${unref(hover)} ${open ? "!rounded-bl-none !rounded-br-none" : ""}`])
|
|
49215
49215
|
}, [
|
|
49216
|
-
createElementVNode("span", _hoisted_1$
|
|
49216
|
+
createElementVNode("span", _hoisted_1$6, toDisplayString(__props.title), 1),
|
|
49217
49217
|
!open ? renderSlot(_ctx.$slots, "open-item", { key: 0 }, () => [
|
|
49218
|
-
_hoisted_2$
|
|
49218
|
+
_hoisted_2$3
|
|
49219
49219
|
], true) : createCommentVNode("", true),
|
|
49220
49220
|
open ? renderSlot(_ctx.$slots, "close-item", { key: 1 }, () => [
|
|
49221
49221
|
_hoisted_3$2
|
|
@@ -49238,11 +49238,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
49238
49238
|
};
|
|
49239
49239
|
}
|
|
49240
49240
|
});
|
|
49241
|
-
var VAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
49241
|
+
var VAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-75f8b8b4"]]);
|
|
49242
49242
|
var VAlert_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
49243
49243
|
const _withScopeId = (n2) => (pushScopeId("data-v-5669e826"), n2 = n2(), popScopeId(), n2);
|
|
49244
|
-
const _hoisted_1$
|
|
49245
|
-
const _hoisted_2$
|
|
49244
|
+
const _hoisted_1$5 = { key: 0 };
|
|
49245
|
+
const _hoisted_2$2 = {
|
|
49246
49246
|
key: 0,
|
|
49247
49247
|
class: "icon",
|
|
49248
49248
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -49287,7 +49287,7 @@ const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
49287
49287
|
const _hoisted_16 = [
|
|
49288
49288
|
_hoisted_15
|
|
49289
49289
|
];
|
|
49290
|
-
const _sfc_main$
|
|
49290
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
49291
49291
|
__name: "VAlert",
|
|
49292
49292
|
props: {
|
|
49293
49293
|
hideIcon: {
|
|
@@ -49335,10 +49335,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
49335
49335
|
key: 0,
|
|
49336
49336
|
class: normalizeClass(`vuetiful-alert flex w-full flex-row items-center gap-4 p-4 border-token rounded-container-token ${unref(typeBackground)}`)
|
|
49337
49337
|
}, [
|
|
49338
|
-
!__props.hideIcon ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
49338
|
+
!__props.hideIcon ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
49339
49339
|
_ctx.$slots.pre ? renderSlot(_ctx.$slots, "pre", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
49340
49340
|
!_ctx.$slots.pre ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
49341
|
-
__props.type === "info" ? (openBlock(), createElementBlock("svg", _hoisted_2$
|
|
49341
|
+
__props.type === "info" ? (openBlock(), createElementBlock("svg", _hoisted_2$2, _hoisted_4$1)) : createCommentVNode("", true),
|
|
49342
49342
|
__props.type === "success" ? (openBlock(), createElementBlock("svg", _hoisted_5$1, _hoisted_7)) : createCommentVNode("", true),
|
|
49343
49343
|
__props.type === "warning" ? (openBlock(), createElementBlock("svg", _hoisted_8, _hoisted_10)) : createCommentVNode("", true),
|
|
49344
49344
|
__props.type === "error" ? (openBlock(), createElementBlock("svg", _hoisted_11, _hoisted_13)) : createCommentVNode("", true)
|
|
@@ -49362,47 +49362,178 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
49362
49362
|
};
|
|
49363
49363
|
}
|
|
49364
49364
|
});
|
|
49365
|
-
var VAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
49365
|
+
var VAlert = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-5669e826"]]);
|
|
49366
|
+
var VCard_vue_vue_type_style_index_0_lang = "";
|
|
49367
|
+
const _hoisted_1$4 = ["tabindex"];
|
|
49368
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
49369
|
+
__name: "VCard",
|
|
49370
|
+
props: {
|
|
49371
|
+
hideSeparator: {
|
|
49372
|
+
type: Boolean,
|
|
49373
|
+
default: false
|
|
49374
|
+
},
|
|
49375
|
+
background: {
|
|
49376
|
+
type: String,
|
|
49377
|
+
default: "bg-surface-200-700-token"
|
|
49378
|
+
},
|
|
49379
|
+
text: {
|
|
49380
|
+
type: String,
|
|
49381
|
+
default: "text-surface-900-50-token"
|
|
49382
|
+
},
|
|
49383
|
+
horizontal: {
|
|
49384
|
+
type: Boolean,
|
|
49385
|
+
default: false
|
|
49386
|
+
},
|
|
49387
|
+
clickable: {
|
|
49388
|
+
type: Boolean,
|
|
49389
|
+
default: false
|
|
49390
|
+
}
|
|
49391
|
+
},
|
|
49392
|
+
emits: ["click"],
|
|
49393
|
+
setup(__props, { emit }) {
|
|
49394
|
+
const props = __props;
|
|
49395
|
+
provide("hideSeparator", props.hideSeparator);
|
|
49396
|
+
const onClick = () => {
|
|
49397
|
+
if (!props.clickable)
|
|
49398
|
+
return;
|
|
49399
|
+
emit("click");
|
|
49400
|
+
};
|
|
49401
|
+
const onKeydown = (event) => {
|
|
49402
|
+
if (!props.clickable)
|
|
49403
|
+
return;
|
|
49404
|
+
if (event.key === "Enter") {
|
|
49405
|
+
event.preventDefault();
|
|
49406
|
+
emit("click");
|
|
49407
|
+
}
|
|
49408
|
+
if (event.key === " ") {
|
|
49409
|
+
event.preventDefault();
|
|
49410
|
+
emit("click");
|
|
49411
|
+
}
|
|
49412
|
+
};
|
|
49413
|
+
return (_ctx, _cache) => {
|
|
49414
|
+
return openBlock(), createElementBlock("div", {
|
|
49415
|
+
onClick,
|
|
49416
|
+
onKeydown,
|
|
49417
|
+
tabindex: __props.clickable ? 0 : void 0,
|
|
49418
|
+
class: normalizeClass(`vuetiful-card flex border-token rounded-container-token ring-outline-token ${__props.horizontal ? "flex-row" : "flex-col"} ${__props.background} ${__props.text} ${__props.clickable ? "card-hover hover:cursor-pointer" : ""}`)
|
|
49419
|
+
}, [
|
|
49420
|
+
renderSlot(_ctx.$slots, "default")
|
|
49421
|
+
], 42, _hoisted_1$4);
|
|
49422
|
+
};
|
|
49423
|
+
}
|
|
49424
|
+
});
|
|
49425
|
+
const _sfc_main$3 = {};
|
|
49426
|
+
const _hoisted_1$3 = {
|
|
49427
|
+
"data-test": "vuetiful-card-body-content",
|
|
49428
|
+
class: "vuetiful-card-body p-4"
|
|
49429
|
+
};
|
|
49430
|
+
function _sfc_render$1(_ctx, _cache) {
|
|
49431
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
49432
|
+
renderSlot(_ctx.$slots, "default")
|
|
49433
|
+
]);
|
|
49434
|
+
}
|
|
49435
|
+
var VCardBody = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1]]);
|
|
49436
|
+
const _hoisted_1$2 = {
|
|
49437
|
+
key: 0,
|
|
49438
|
+
"data-test": "vuetiful-card-footer-separator",
|
|
49439
|
+
class: "opacity-90"
|
|
49440
|
+
};
|
|
49441
|
+
const _hoisted_2$1 = {
|
|
49442
|
+
"data-test": "vuetiful-card-footer-content",
|
|
49443
|
+
class: "vuetiful-card-footer p-4"
|
|
49444
|
+
};
|
|
49445
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
49446
|
+
__name: "VCardFooter",
|
|
49447
|
+
setup(__props) {
|
|
49448
|
+
const hideSeparator = inject("hideSeparator", false);
|
|
49449
|
+
return (_ctx, _cache) => {
|
|
49450
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
49451
|
+
!unref(hideSeparator) ? (openBlock(), createElementBlock("hr", _hoisted_1$2)) : createCommentVNode("", true),
|
|
49452
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
49453
|
+
renderSlot(_ctx.$slots, "default")
|
|
49454
|
+
])
|
|
49455
|
+
], 64);
|
|
49456
|
+
};
|
|
49457
|
+
}
|
|
49458
|
+
});
|
|
49459
|
+
var VCardHeader_vue_vue_type_style_index_0_lang = "";
|
|
49460
|
+
const _hoisted_1$1 = {
|
|
49461
|
+
key: 0,
|
|
49462
|
+
"data-test": "vuetiful-card-header-separator",
|
|
49463
|
+
class: "opacity-90"
|
|
49464
|
+
};
|
|
49465
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
49466
|
+
__name: "VCardHeader",
|
|
49467
|
+
setup(__props) {
|
|
49468
|
+
const headerRef = ref();
|
|
49469
|
+
const hasImageAsChild = computed(() => {
|
|
49470
|
+
var _a;
|
|
49471
|
+
const children = (_a = headerRef.value) == null ? void 0 : _a.children;
|
|
49472
|
+
if (!children)
|
|
49473
|
+
return false;
|
|
49474
|
+
const childrenArray = Array.from(children);
|
|
49475
|
+
return childrenArray.some((child) => child.tagName === "IMG");
|
|
49476
|
+
});
|
|
49477
|
+
const hideSeparator = inject("hideSeparator", false);
|
|
49478
|
+
return (_ctx, _cache) => {
|
|
49479
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
49480
|
+
createElementVNode("div", {
|
|
49481
|
+
ref_key: "headerRef",
|
|
49482
|
+
ref: headerRef,
|
|
49483
|
+
"data-test": "vuetiful-card-header-content",
|
|
49484
|
+
class: normalizeClass(`vuetiful-card-header ${unref(hasImageAsChild) ? "" : "p-4"}`)
|
|
49485
|
+
}, [
|
|
49486
|
+
renderSlot(_ctx.$slots, "default")
|
|
49487
|
+
], 2),
|
|
49488
|
+
!unref(hideSeparator) ? (openBlock(), createElementBlock("hr", _hoisted_1$1)) : createCommentVNode("", true)
|
|
49489
|
+
], 64);
|
|
49490
|
+
};
|
|
49491
|
+
}
|
|
49492
|
+
});
|
|
49366
49493
|
var components = /* @__PURE__ */ Object.freeze({
|
|
49367
49494
|
__proto__: null,
|
|
49368
49495
|
[Symbol.toStringTag]: "Module",
|
|
49369
|
-
VAvatar: _sfc_main$
|
|
49370
|
-
VButton: _sfc_main$
|
|
49496
|
+
VAvatar: _sfc_main$y,
|
|
49497
|
+
VButton: _sfc_main$w,
|
|
49371
49498
|
VBadge,
|
|
49372
49499
|
VChip,
|
|
49373
|
-
VCodeBlock: _sfc_main$
|
|
49500
|
+
VCodeBlock: _sfc_main$u,
|
|
49374
49501
|
VLightSwitch,
|
|
49375
|
-
VRadioGroup: _sfc_main$
|
|
49376
|
-
VRadioItem: _sfc_main$
|
|
49377
|
-
VRadioLabel: _sfc_main$
|
|
49378
|
-
VRadioDescription: _sfc_main$
|
|
49379
|
-
VSwitchGroup: _sfc_main$
|
|
49380
|
-
VSwitchLabel: _sfc_main$
|
|
49381
|
-
VSwitchDescription: _sfc_main$
|
|
49382
|
-
VSwitch: _sfc_main$
|
|
49383
|
-
VAccordion: _sfc_main$
|
|
49502
|
+
VRadioGroup: _sfc_main$r,
|
|
49503
|
+
VRadioItem: _sfc_main$q,
|
|
49504
|
+
VRadioLabel: _sfc_main$p,
|
|
49505
|
+
VRadioDescription: _sfc_main$s,
|
|
49506
|
+
VSwitchGroup: _sfc_main$m,
|
|
49507
|
+
VSwitchLabel: _sfc_main$l,
|
|
49508
|
+
VSwitchDescription: _sfc_main$n,
|
|
49509
|
+
VSwitch: _sfc_main$o,
|
|
49510
|
+
VAccordion: _sfc_main$7,
|
|
49384
49511
|
VAccordionItem,
|
|
49385
49512
|
VAlert,
|
|
49386
|
-
|
|
49387
|
-
|
|
49513
|
+
VCard: _sfc_main$4,
|
|
49514
|
+
VCardBody,
|
|
49515
|
+
VCardFooter: _sfc_main$2,
|
|
49516
|
+
VCardHeader: _sfc_main$1,
|
|
49517
|
+
VDrawer: _sfc_main$k,
|
|
49518
|
+
VListbox: _sfc_main$c,
|
|
49388
49519
|
VListboxButton,
|
|
49389
|
-
VListboxItem: _sfc_main$
|
|
49390
|
-
VListboxItems: _sfc_main$
|
|
49391
|
-
VListboxLabel: _sfc_main$
|
|
49520
|
+
VListboxItem: _sfc_main$b,
|
|
49521
|
+
VListboxItems: _sfc_main$e,
|
|
49522
|
+
VListboxLabel: _sfc_main$d,
|
|
49392
49523
|
VPreview,
|
|
49393
|
-
VRail: _sfc_main$
|
|
49394
|
-
VRailTile: _sfc_main$
|
|
49395
|
-
VShell: _sfc_main$
|
|
49396
|
-
VTab: _sfc_main$
|
|
49397
|
-
VTabPanel: _sfc_main$
|
|
49398
|
-
VTabs: _sfc_main$
|
|
49524
|
+
VRail: _sfc_main$i,
|
|
49525
|
+
VRailTile: _sfc_main$h,
|
|
49526
|
+
VShell: _sfc_main$g,
|
|
49527
|
+
VTab: _sfc_main$a,
|
|
49528
|
+
VTabPanel: _sfc_main$9,
|
|
49529
|
+
VTabs: _sfc_main$8
|
|
49399
49530
|
});
|
|
49400
49531
|
var main = "";
|
|
49401
49532
|
var tailwind = "";
|
|
49402
49533
|
const _sfc_main = defineComponent({
|
|
49403
49534
|
components: {
|
|
49404
49535
|
VLightSwitch,
|
|
49405
|
-
VButton: _sfc_main$
|
|
49536
|
+
VButton: _sfc_main$w
|
|
49406
49537
|
},
|
|
49407
49538
|
props: {
|
|
49408
49539
|
bgLight: {
|
|
@@ -49642,4 +49773,4 @@ function install(app) {
|
|
|
49642
49773
|
}
|
|
49643
49774
|
}
|
|
49644
49775
|
var index = { install };
|
|
49645
|
-
export { themeSwitcher as ThemeSwitcher, _sfc_main$
|
|
49776
|
+
export { themeSwitcher as ThemeSwitcher, _sfc_main$7 as VAccordion, VAccordionItem, VAlert, _sfc_main$y as VAvatar, VBadge, _sfc_main$w as VButton, _sfc_main$4 as VCard, VCardBody, _sfc_main$2 as VCardFooter, _sfc_main$1 as VCardHeader, VChip, _sfc_main$u as VCodeBlock, _sfc_main$k as VDrawer, VLightSwitch, _sfc_main$c as VListbox, VListboxButton, _sfc_main$b as VListboxItem, _sfc_main$e as VListboxItems, _sfc_main$d as VListboxLabel, VPreview, _sfc_main$s as VRadioDescription, _sfc_main$r as VRadioGroup, _sfc_main$q as VRadioItem, _sfc_main$p as VRadioLabel, _sfc_main$i as VRail, _sfc_main$h as VRailTile, _sfc_main$g as VShell, _sfc_main$o as VSwitch, _sfc_main$n as VSwitchDescription, _sfc_main$m as VSwitchGroup, _sfc_main$l as VSwitchLabel, _sfc_main$a as VTab, _sfc_main$9 as VTabPanel, _sfc_main$8 as VTabs, index as default, useDarkMode, useDrawer, useHighlight, useRail, useTheme, clipboard as vClipboard };
|