cisse-vue-ui 0.5.10 → 0.5.12
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/{Timeline.vue_vue_type_script_setup_true_lang-DCXZzhrY.cjs → Timeline.vue_vue_type_script_setup_true_lang-5MnyzOrB.cjs} +116 -106
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-5MnyzOrB.cjs.map +1 -0
- package/dist/{Timeline.vue_vue_type_script_setup_true_lang-D5uv4FP6.js → Timeline.vue_vue_type_script_setup_true_lang-go_BS8Q4.js} +117 -107
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-go_BS8Q4.js.map +1 -0
- package/dist/components/core/CardComponent.vue.d.ts +3 -0
- package/dist/components/core/CollapsibleCard.vue.d.ts +1 -5
- package/dist/components/core/index.cjs +1 -1
- package/dist/components/core/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{index-DS5kUvoq.js → index-BZaMLErH.js} +2 -2
- package/dist/index-BZaMLErH.js.map +1 -0
- package/dist/{index-DJ1G63XP.cjs → index-L9lZawxP.cjs} +2 -2
- package/dist/index-L9lZawxP.cjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-D5uv4FP6.js.map +0 -1
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-DCXZzhrY.cjs.map +0 -1
- package/dist/index-DJ1G63XP.cjs.map +0 -1
- package/dist/index-DS5kUvoq.js.map +0 -1
|
@@ -1,56 +1,68 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, createCommentVNode, renderSlot, createElementVNode, createTextVNode, toDisplayString, useSlots,
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, renderSlot, normalizeClass, createElementVNode, createTextVNode, toDisplayString, useSlots, createVNode, Fragment, renderList, createBlock, resolveDynamicComponent, withCtx, onMounted, nextTick, getCurrentInstance, getCurrentScope, hasInjectionContext, inject, watch, shallowRef, toValue, watchEffect, unref, createSlots, ref, withDirectives, vModelText, withModifiers, Teleport, Transition, normalizeStyle, resolveComponent, mergeProps, provide, vShow, onUnmounted } from "vue";
|
|
2
2
|
import { _ as _sfc_main$j } from "./Checkbox.vue_vue_type_script_setup_true_lang-B-nLCCNY.js";
|
|
3
3
|
import { e as _sfc_main$k, d as _sfc_main$l, c as _sfc_main$m, b as _sfc_main$n, a as _sfc_main$o } from "./BadgeType.vue_vue_type_script_setup_true_lang-CnB5eNEM.js";
|
|
4
4
|
import { Icon } from "@iconify/vue";
|
|
5
5
|
import { u as useDropdown } from "./useDropdown-iVu14E6s.js";
|
|
6
|
-
const _hoisted_1$
|
|
7
|
-
const _hoisted_2$
|
|
8
|
-
|
|
9
|
-
class: "flex items-center justify-between border-b border-gray-200 px-5 py-3 dark:border-gray-700"
|
|
10
|
-
};
|
|
11
|
-
const _hoisted_3$7 = { class: "flex flex-col gap-0.5" };
|
|
12
|
-
const _hoisted_4$6 = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "text-md font-semibold text-gray-800 dark:text-gray-200"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_5$4 = {
|
|
6
|
+
const _hoisted_1$c = { class: "flex flex-col overflow-hidden rounded-lg bg-white shadow-md dark:bg-slate-950" };
|
|
7
|
+
const _hoisted_2$9 = { class: "flex flex-col gap-0.5" };
|
|
8
|
+
const _hoisted_3$7 = {
|
|
17
9
|
key: 1,
|
|
18
10
|
class: "text-sm font-normal text-gray-600 dark:text-gray-400"
|
|
19
11
|
};
|
|
20
|
-
const
|
|
12
|
+
const _hoisted_4$6 = { class: "flex gap-2" };
|
|
21
13
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
22
14
|
__name: "CardComponent",
|
|
23
15
|
props: {
|
|
24
16
|
title: {},
|
|
25
|
-
description: {}
|
|
17
|
+
description: {},
|
|
18
|
+
titleClass: {},
|
|
19
|
+
dividerClass: {}
|
|
26
20
|
},
|
|
27
21
|
setup(__props) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const titleClasses = computed(
|
|
24
|
+
() => props.titleClass || "text-gray-800 dark:text-gray-200"
|
|
25
|
+
);
|
|
26
|
+
const dividerClasses = computed(
|
|
27
|
+
() => props.dividerClass || "border-gray-200 dark:border-gray-700"
|
|
28
|
+
);
|
|
28
29
|
return (_ctx, _cache) => {
|
|
29
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
31
|
+
_ctx.$slots.header ? (openBlock(), createElementBlock("div", {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: normalizeClass(["border-b", dividerClasses.value])
|
|
34
|
+
}, [
|
|
35
|
+
renderSlot(_ctx.$slots, "header")
|
|
36
|
+
], 2)) : __props.title || __props.description || _ctx.$slots.title || _ctx.$slots.description || _ctx.$slots.actions ? (openBlock(), createElementBlock("div", {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: normalizeClass(["flex items-center justify-between border-b px-5 py-3", dividerClasses.value])
|
|
39
|
+
}, [
|
|
40
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
41
|
+
__props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("span", {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: normalizeClass(["text-md font-semibold", titleClasses.value])
|
|
44
|
+
}, [
|
|
33
45
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
34
46
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
35
47
|
])
|
|
36
|
-
])) : createCommentVNode("", true),
|
|
37
|
-
__props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("span",
|
|
48
|
+
], 2)) : createCommentVNode("", true),
|
|
49
|
+
__props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_3$7, [
|
|
38
50
|
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
39
51
|
createTextVNode(toDisplayString(__props.description), 1)
|
|
40
52
|
])
|
|
41
53
|
])) : createCommentVNode("", true)
|
|
42
54
|
]),
|
|
43
|
-
createElementVNode("div",
|
|
55
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
44
56
|
renderSlot(_ctx.$slots, "actions")
|
|
45
57
|
])
|
|
46
|
-
])) : createCommentVNode("", true),
|
|
58
|
+
], 2)) : createCommentVNode("", true),
|
|
47
59
|
renderSlot(_ctx.$slots, "default")
|
|
48
60
|
]);
|
|
49
61
|
};
|
|
50
62
|
}
|
|
51
63
|
});
|
|
52
|
-
const _hoisted_1$
|
|
53
|
-
const _hoisted_2$
|
|
64
|
+
const _hoisted_1$b = { class: "overflow-hidden" };
|
|
65
|
+
const _hoisted_2$8 = { class: "overflow-x-auto" };
|
|
54
66
|
const _hoisted_3$6 = { class: "w-full divide-y divide-black/10 text-left dark:divide-white/10" };
|
|
55
67
|
const _hoisted_4$5 = { class: "bg-black/5 text-sm font-semibold text-gray-600 uppercase dark:bg-white/5 dark:text-gray-400" };
|
|
56
68
|
const _hoisted_5$3 = {
|
|
@@ -160,8 +172,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
160
172
|
};
|
|
161
173
|
const hasActionSlot = computed(() => !!slots.action);
|
|
162
174
|
return (_ctx, _cache) => {
|
|
163
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
164
|
-
createElementVNode("div", _hoisted_2$
|
|
175
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
176
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
165
177
|
createElementVNode("table", _hoisted_3$6, [
|
|
166
178
|
createElementVNode("thead", _hoisted_4$5, [
|
|
167
179
|
createElementVNode("tr", null, [
|
|
@@ -235,8 +247,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
235
247
|
};
|
|
236
248
|
}
|
|
237
249
|
});
|
|
238
|
-
const _hoisted_1$
|
|
239
|
-
const _hoisted_2$
|
|
250
|
+
const _hoisted_1$a = { class: "space-y-3" };
|
|
251
|
+
const _hoisted_2$7 = { class: "flex items-center gap-3 p-3" };
|
|
240
252
|
const _hoisted_3$5 = { class: "text-sm text-gray-600 dark:text-gray-400" };
|
|
241
253
|
const _hoisted_4$4 = {
|
|
242
254
|
key: 0,
|
|
@@ -301,10 +313,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
301
313
|
};
|
|
302
314
|
const hasEmptySlot = computed(() => !!slots.empty);
|
|
303
315
|
return (_ctx, _cache) => {
|
|
304
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
316
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
305
317
|
__props.selectable && selectableItems.value.length > 0 ? (openBlock(), createBlock(_sfc_main$i, { key: 0 }, {
|
|
306
318
|
default: withCtx(() => [
|
|
307
|
-
createElementVNode("div", _hoisted_2$
|
|
319
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
308
320
|
createVNode(_sfc_main$j, {
|
|
309
321
|
"model-value": allSelected.value,
|
|
310
322
|
indeterminate: someSelected.value,
|
|
@@ -678,11 +690,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
678
690
|
};
|
|
679
691
|
}
|
|
680
692
|
});
|
|
681
|
-
const _hoisted_1$
|
|
693
|
+
const _hoisted_1$9 = {
|
|
682
694
|
key: 0,
|
|
683
695
|
class: "mb-2 block text-sm font-medium text-gray-700 dark:text-gray-300"
|
|
684
696
|
};
|
|
685
|
-
const _hoisted_2$
|
|
697
|
+
const _hoisted_2$6 = { class: "relative" };
|
|
686
698
|
const _hoisted_3$4 = ["disabled", "placeholder"];
|
|
687
699
|
const _hoisted_4$3 = ["disabled"];
|
|
688
700
|
const _hoisted_5$1 = {
|
|
@@ -798,8 +810,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
798
810
|
ref: containerRef,
|
|
799
811
|
class: "autocomplete-container"
|
|
800
812
|
}, [
|
|
801
|
-
__props.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
802
|
-
createElementVNode("div", _hoisted_2$
|
|
813
|
+
__props.label ? (openBlock(), createElementBlock("label", _hoisted_1$9, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
814
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
803
815
|
createElementVNode("div", {
|
|
804
816
|
ref_key: "inputWrapperRef",
|
|
805
817
|
ref: inputWrapperRef,
|
|
@@ -1067,8 +1079,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1067
1079
|
};
|
|
1068
1080
|
}
|
|
1069
1081
|
});
|
|
1070
|
-
const _hoisted_1$
|
|
1071
|
-
const _hoisted_2$
|
|
1082
|
+
const _hoisted_1$8 = { class: "relative inline-block" };
|
|
1083
|
+
const _hoisted_2$5 = ["src", "alt"];
|
|
1072
1084
|
const _hoisted_3$3 = { key: 1 };
|
|
1073
1085
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1074
1086
|
__name: "Avatar",
|
|
@@ -1116,7 +1128,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1116
1128
|
});
|
|
1117
1129
|
const showImage = computed(() => props.src && !imageError.value);
|
|
1118
1130
|
return (_ctx, _cache) => {
|
|
1119
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1131
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
1120
1132
|
createElementVNode("div", {
|
|
1121
1133
|
class: normalizeClass([
|
|
1122
1134
|
"flex items-center justify-center overflow-hidden bg-gray-200 font-medium text-gray-600 dark:bg-gray-700 dark:text-gray-300",
|
|
@@ -1130,7 +1142,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1130
1142
|
alt: __props.alt || __props.name,
|
|
1131
1143
|
class: "size-full object-cover",
|
|
1132
1144
|
onError: _cache[0] || (_cache[0] = ($event) => imageError.value = true)
|
|
1133
|
-
}, null, 40, _hoisted_2$
|
|
1145
|
+
}, null, 40, _hoisted_2$5)) : initials.value ? (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(initials.value), 1)) : (openBlock(), createBlock(unref(Icon), {
|
|
1134
1146
|
key: 2,
|
|
1135
1147
|
icon: "lucide:user",
|
|
1136
1148
|
class: "size-1/2"
|
|
@@ -1148,8 +1160,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1148
1160
|
};
|
|
1149
1161
|
}
|
|
1150
1162
|
});
|
|
1151
|
-
const _hoisted_1$
|
|
1152
|
-
const _hoisted_2$
|
|
1163
|
+
const _hoisted_1$7 = ["aria-selected", "disabled", "onClick"];
|
|
1164
|
+
const _hoisted_2$4 = { class: "mt-4" };
|
|
1153
1165
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1154
1166
|
__name: "Tabs",
|
|
1155
1167
|
props: {
|
|
@@ -1215,17 +1227,17 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1215
1227
|
activeTab.value === tab.key ? variantClasses[__props.variant].active : variantClasses[__props.variant].inactive
|
|
1216
1228
|
]),
|
|
1217
1229
|
onClick: ($event) => selectTab(tab)
|
|
1218
|
-
}, toDisplayString(tab.label), 11, _hoisted_1$
|
|
1230
|
+
}, toDisplayString(tab.label), 11, _hoisted_1$7);
|
|
1219
1231
|
}), 128))
|
|
1220
1232
|
], 2),
|
|
1221
|
-
createElementVNode("div", _hoisted_2$
|
|
1233
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
1222
1234
|
renderSlot(_ctx.$slots, "default", { activeTab: activeTab.value })
|
|
1223
1235
|
])
|
|
1224
1236
|
]);
|
|
1225
1237
|
};
|
|
1226
1238
|
}
|
|
1227
1239
|
});
|
|
1228
|
-
const _hoisted_1$
|
|
1240
|
+
const _hoisted_1$6 = { role: "tabpanel" };
|
|
1229
1241
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1230
1242
|
__name: "TabPanel",
|
|
1231
1243
|
props: {
|
|
@@ -1236,7 +1248,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1236
1248
|
const activeTab = inject("activeTab");
|
|
1237
1249
|
const isActive = computed(() => (activeTab == null ? void 0 : activeTab.value) === props.value);
|
|
1238
1250
|
return (_ctx, _cache) => {
|
|
1239
|
-
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
1251
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1240
1252
|
renderSlot(_ctx.$slots, "default")
|
|
1241
1253
|
], 512)), [
|
|
1242
1254
|
[vShow, isActive.value]
|
|
@@ -1244,7 +1256,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1244
1256
|
};
|
|
1245
1257
|
}
|
|
1246
1258
|
});
|
|
1247
|
-
const _hoisted_1$
|
|
1259
|
+
const _hoisted_1$5 = {
|
|
1248
1260
|
key: 2,
|
|
1249
1261
|
class: "text-sm font-semibold"
|
|
1250
1262
|
};
|
|
@@ -1317,7 +1329,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1317
1329
|
key: 1,
|
|
1318
1330
|
icon: step.icon,
|
|
1319
1331
|
class: "size-6"
|
|
1320
|
-
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1332
|
+
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_1$5, toDisplayString(index + 1), 1))
|
|
1321
1333
|
], 2),
|
|
1322
1334
|
createElementVNode("div", {
|
|
1323
1335
|
class: normalizeClass([
|
|
@@ -1345,15 +1357,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1345
1357
|
};
|
|
1346
1358
|
}
|
|
1347
1359
|
});
|
|
1348
|
-
const _hoisted_1$5 = { class: "overflow-hidden" };
|
|
1349
|
-
const _hoisted_2$4 = { class: "space-y-4 p-6" };
|
|
1350
1360
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1351
1361
|
__name: "CollapsibleCard",
|
|
1352
1362
|
props: {
|
|
1353
1363
|
title: {},
|
|
1354
1364
|
description: {},
|
|
1355
1365
|
defaultExpanded: { type: Boolean, default: true },
|
|
1356
|
-
cardClass: { default: "rounded-lg overflow-hidden bg-white shadow-md dark:bg-slate-950" },
|
|
1357
1366
|
headerClass: { default: "w-full text-left" },
|
|
1358
1367
|
contentClass: { default: "" }
|
|
1359
1368
|
},
|
|
@@ -1366,57 +1375,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1366
1375
|
};
|
|
1367
1376
|
const hasCustomHeader = () => !!slots.header;
|
|
1368
1377
|
return (_ctx, _cache) => {
|
|
1369
|
-
return
|
|
1370
|
-
key: 0,
|
|
1371
|
-
class: normalizeClass(__props.cardClass)
|
|
1372
|
-
}, [
|
|
1373
|
-
createElementVNode("button", {
|
|
1374
|
-
type: "button",
|
|
1375
|
-
class: normalizeClass(__props.headerClass),
|
|
1376
|
-
onClick: toggle
|
|
1377
|
-
}, [
|
|
1378
|
-
renderSlot(_ctx.$slots, "header", {
|
|
1379
|
-
expanded: isExpanded.value,
|
|
1380
|
-
toggle
|
|
1381
|
-
})
|
|
1382
|
-
], 2),
|
|
1383
|
-
createVNode(Transition, {
|
|
1384
|
-
"enter-active-class": "transition-all duration-200 ease-out",
|
|
1385
|
-
"enter-from-class": "opacity-0 max-h-0",
|
|
1386
|
-
"enter-to-class": "opacity-100 max-h-[2000px]",
|
|
1387
|
-
"leave-active-class": "transition-all duration-200 ease-in",
|
|
1388
|
-
"leave-from-class": "opacity-100 max-h-[2000px]",
|
|
1389
|
-
"leave-to-class": "opacity-0 max-h-0"
|
|
1390
|
-
}, {
|
|
1391
|
-
default: withCtx(() => [
|
|
1392
|
-
withDirectives(createElementVNode("div", {
|
|
1393
|
-
class: normalizeClass(["overflow-hidden", __props.contentClass])
|
|
1394
|
-
}, [
|
|
1395
|
-
renderSlot(_ctx.$slots, "default")
|
|
1396
|
-
], 2), [
|
|
1397
|
-
[vShow, isExpanded.value]
|
|
1398
|
-
])
|
|
1399
|
-
]),
|
|
1400
|
-
_: 3
|
|
1401
|
-
})
|
|
1402
|
-
], 2)) : (openBlock(), createBlock(_sfc_main$i, {
|
|
1403
|
-
key: 1,
|
|
1404
|
-
title: __props.title,
|
|
1405
|
-
description: __props.description
|
|
1406
|
-
}, {
|
|
1407
|
-
actions: withCtx(() => [
|
|
1408
|
-
renderSlot(_ctx.$slots, "actions"),
|
|
1409
|
-
createElementVNode("button", {
|
|
1410
|
-
type: "button",
|
|
1411
|
-
class: "rounded-lg p-1.5 text-gray-500 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800",
|
|
1412
|
-
onClick: toggle
|
|
1413
|
-
}, [
|
|
1414
|
-
createVNode(unref(Icon), {
|
|
1415
|
-
icon: isExpanded.value ? "lucide:chevron-up" : "lucide:chevron-down",
|
|
1416
|
-
class: "size-5"
|
|
1417
|
-
}, null, 8, ["icon"])
|
|
1418
|
-
])
|
|
1419
|
-
]),
|
|
1378
|
+
return openBlock(), createBlock(_sfc_main$i, null, createSlots({
|
|
1420
1379
|
default: withCtx(() => [
|
|
1421
1380
|
createVNode(Transition, {
|
|
1422
1381
|
"enter-active-class": "transition-all duration-200 ease-out",
|
|
@@ -1427,19 +1386,70 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1427
1386
|
"leave-to-class": "opacity-0 max-h-0"
|
|
1428
1387
|
}, {
|
|
1429
1388
|
default: withCtx(() => [
|
|
1430
|
-
withDirectives(createElementVNode("div",
|
|
1431
|
-
|
|
1389
|
+
withDirectives(createElementVNode("div", {
|
|
1390
|
+
class: normalizeClass(["overflow-hidden", __props.contentClass])
|
|
1391
|
+
}, [
|
|
1392
|
+
createElementVNode("div", {
|
|
1393
|
+
class: normalizeClass(hasCustomHeader() ? "" : "space-y-4 p-6")
|
|
1394
|
+
}, [
|
|
1432
1395
|
renderSlot(_ctx.$slots, "default")
|
|
1433
|
-
])
|
|
1434
|
-
],
|
|
1396
|
+
], 2)
|
|
1397
|
+
], 2), [
|
|
1435
1398
|
[vShow, isExpanded.value]
|
|
1436
1399
|
])
|
|
1437
1400
|
]),
|
|
1438
1401
|
_: 3
|
|
1439
1402
|
})
|
|
1440
1403
|
]),
|
|
1441
|
-
_:
|
|
1442
|
-
},
|
|
1404
|
+
_: 2
|
|
1405
|
+
}, [
|
|
1406
|
+
hasCustomHeader() ? {
|
|
1407
|
+
name: "header",
|
|
1408
|
+
fn: withCtx(() => [
|
|
1409
|
+
createElementVNode("button", {
|
|
1410
|
+
type: "button",
|
|
1411
|
+
class: normalizeClass(__props.headerClass),
|
|
1412
|
+
onClick: toggle
|
|
1413
|
+
}, [
|
|
1414
|
+
renderSlot(_ctx.$slots, "header", {
|
|
1415
|
+
expanded: isExpanded.value,
|
|
1416
|
+
toggle
|
|
1417
|
+
})
|
|
1418
|
+
], 2)
|
|
1419
|
+
]),
|
|
1420
|
+
key: "0"
|
|
1421
|
+
} : __props.title || __props.description ? {
|
|
1422
|
+
name: "title",
|
|
1423
|
+
fn: withCtx(() => [
|
|
1424
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
1425
|
+
]),
|
|
1426
|
+
key: "1"
|
|
1427
|
+
} : void 0,
|
|
1428
|
+
!hasCustomHeader() && __props.description ? {
|
|
1429
|
+
name: "description",
|
|
1430
|
+
fn: withCtx(() => [
|
|
1431
|
+
createTextVNode(toDisplayString(__props.description), 1)
|
|
1432
|
+
]),
|
|
1433
|
+
key: "2"
|
|
1434
|
+
} : void 0,
|
|
1435
|
+
!hasCustomHeader() ? {
|
|
1436
|
+
name: "actions",
|
|
1437
|
+
fn: withCtx(() => [
|
|
1438
|
+
renderSlot(_ctx.$slots, "actions"),
|
|
1439
|
+
createElementVNode("button", {
|
|
1440
|
+
type: "button",
|
|
1441
|
+
class: "rounded-lg p-1.5 text-gray-500 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800",
|
|
1442
|
+
onClick: toggle
|
|
1443
|
+
}, [
|
|
1444
|
+
createVNode(unref(Icon), {
|
|
1445
|
+
icon: isExpanded.value ? "lucide:chevron-up" : "lucide:chevron-down",
|
|
1446
|
+
class: "size-5"
|
|
1447
|
+
}, null, 8, ["icon"])
|
|
1448
|
+
])
|
|
1449
|
+
]),
|
|
1450
|
+
key: "3"
|
|
1451
|
+
} : void 0
|
|
1452
|
+
]), 1024);
|
|
1443
1453
|
};
|
|
1444
1454
|
}
|
|
1445
1455
|
});
|
|
@@ -2073,4 +2083,4 @@ export {
|
|
|
2073
2083
|
_sfc_main$1 as q,
|
|
2074
2084
|
_sfc_main as r
|
|
2075
2085
|
};
|
|
2076
|
-
//# sourceMappingURL=Timeline.vue_vue_type_script_setup_true_lang-
|
|
2086
|
+
//# sourceMappingURL=Timeline.vue_vue_type_script_setup_true_lang-go_BS8Q4.js.map
|