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