cisse-vue-ui 0.5.9 → 0.5.11
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-C7rAWzZ9.cjs → Timeline.vue_vue_type_script_setup_true_lang-1yrOZ-T-.cjs} +101 -97
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-1yrOZ-T-.cjs.map +1 -0
- package/dist/{Timeline.vue_vue_type_script_setup_true_lang-8PC6bUib.js → Timeline.vue_vue_type_script_setup_true_lang-SaNCS3ie.js} +101 -97
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-SaNCS3ie.js.map +1 -0
- package/dist/components/core/CardComponent.vue.d.ts +1 -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-BZoYEuhh.js → index-Cf5paArr.js} +2 -2
- package/dist/index-Cf5paArr.js.map +1 -0
- package/dist/{index-Q3aj7JNL.cjs → index-DX1YDiXc.cjs} +2 -2
- package/dist/index-DX1YDiXc.cjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-8PC6bUib.js.map +0 -1
- package/dist/Timeline.vue_vue_type_script_setup_true_lang-C7rAWzZ9.cjs.map +0 -1
- package/dist/index-BZoYEuhh.js.map +0 -1
- package/dist/index-Q3aj7JNL.cjs.map +0 -1
|
@@ -4,21 +4,25 @@ 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$
|
|
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 = {
|
|
9
9
|
key: 0,
|
|
10
|
+
class: "border-b border-gray-200 dark:border-gray-700"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_3$7 = {
|
|
13
|
+
key: 1,
|
|
10
14
|
class: "flex items-center justify-between border-b border-gray-200 px-5 py-3 dark:border-gray-700"
|
|
11
15
|
};
|
|
12
|
-
const
|
|
13
|
-
const
|
|
16
|
+
const _hoisted_4$6 = { class: "flex flex-col gap-0.5" };
|
|
17
|
+
const _hoisted_5$4 = {
|
|
14
18
|
key: 0,
|
|
15
19
|
class: "text-md font-semibold text-gray-800 dark:text-gray-200"
|
|
16
20
|
};
|
|
17
|
-
const
|
|
21
|
+
const _hoisted_6$4 = {
|
|
18
22
|
key: 1,
|
|
19
23
|
class: "text-sm font-normal text-gray-600 dark:text-gray-400"
|
|
20
24
|
};
|
|
21
|
-
const
|
|
25
|
+
const _hoisted_7$4 = { class: "flex gap-2" };
|
|
22
26
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
23
27
|
__name: "CardComponent",
|
|
24
28
|
props: {
|
|
@@ -27,21 +31,23 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
27
31
|
},
|
|
28
32
|
setup(__props) {
|
|
29
33
|
return (_ctx, _cache) => {
|
|
30
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
31
|
-
|
|
32
|
-
vue.
|
|
33
|
-
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
35
|
+
_ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
|
|
36
|
+
vue.renderSlot(_ctx.$slots, "header")
|
|
37
|
+
])) : __props.title || __props.description || _ctx.$slots.title || _ctx.$slots.description || _ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$7, [
|
|
38
|
+
vue.createElementVNode("div", _hoisted_4$6, [
|
|
39
|
+
__props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$4, [
|
|
34
40
|
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
35
41
|
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
36
42
|
])
|
|
37
43
|
])) : vue.createCommentVNode("", true),
|
|
38
|
-
__props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("span",
|
|
44
|
+
__props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$4, [
|
|
39
45
|
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
40
46
|
vue.createTextVNode(vue.toDisplayString(__props.description), 1)
|
|
41
47
|
])
|
|
42
48
|
])) : vue.createCommentVNode("", true)
|
|
43
49
|
]),
|
|
44
|
-
vue.createElementVNode("div",
|
|
50
|
+
vue.createElementVNode("div", _hoisted_7$4, [
|
|
45
51
|
vue.renderSlot(_ctx.$slots, "actions")
|
|
46
52
|
])
|
|
47
53
|
])) : vue.createCommentVNode("", true),
|
|
@@ -50,8 +56,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
50
56
|
};
|
|
51
57
|
}
|
|
52
58
|
});
|
|
53
|
-
const _hoisted_1$
|
|
54
|
-
const _hoisted_2$
|
|
59
|
+
const _hoisted_1$b = { class: "overflow-hidden" };
|
|
60
|
+
const _hoisted_2$8 = { class: "overflow-x-auto" };
|
|
55
61
|
const _hoisted_3$6 = { class: "w-full divide-y divide-black/10 text-left dark:divide-white/10" };
|
|
56
62
|
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
63
|
const _hoisted_5$3 = {
|
|
@@ -161,8 +167,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
161
167
|
};
|
|
162
168
|
const hasActionSlot = vue.computed(() => !!slots.action);
|
|
163
169
|
return (_ctx, _cache) => {
|
|
164
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
165
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
170
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
171
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
166
172
|
vue.createElementVNode("table", _hoisted_3$6, [
|
|
167
173
|
vue.createElementVNode("thead", _hoisted_4$5, [
|
|
168
174
|
vue.createElementVNode("tr", null, [
|
|
@@ -236,8 +242,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
236
242
|
};
|
|
237
243
|
}
|
|
238
244
|
});
|
|
239
|
-
const _hoisted_1$
|
|
240
|
-
const _hoisted_2$
|
|
245
|
+
const _hoisted_1$a = { class: "space-y-3" };
|
|
246
|
+
const _hoisted_2$7 = { class: "flex items-center gap-3 p-3" };
|
|
241
247
|
const _hoisted_3$5 = { class: "text-sm text-gray-600 dark:text-gray-400" };
|
|
242
248
|
const _hoisted_4$4 = {
|
|
243
249
|
key: 0,
|
|
@@ -302,10 +308,10 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
302
308
|
};
|
|
303
309
|
const hasEmptySlot = vue.computed(() => !!slots.empty);
|
|
304
310
|
return (_ctx, _cache) => {
|
|
305
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
311
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
306
312
|
__props.selectable && selectableItems.value.length > 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0 }, {
|
|
307
313
|
default: vue.withCtx(() => [
|
|
308
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
314
|
+
vue.createElementVNode("div", _hoisted_2$7, [
|
|
309
315
|
vue.createVNode(Checkbox_vue_vue_type_script_setup_true_lang._sfc_main, {
|
|
310
316
|
"model-value": allSelected.value,
|
|
311
317
|
indeterminate: someSelected.value,
|
|
@@ -679,11 +685,11 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
679
685
|
};
|
|
680
686
|
}
|
|
681
687
|
});
|
|
682
|
-
const _hoisted_1$
|
|
688
|
+
const _hoisted_1$9 = {
|
|
683
689
|
key: 0,
|
|
684
690
|
class: "mb-2 block text-sm font-medium text-gray-700 dark:text-gray-300"
|
|
685
691
|
};
|
|
686
|
-
const _hoisted_2$
|
|
692
|
+
const _hoisted_2$6 = { class: "relative" };
|
|
687
693
|
const _hoisted_3$4 = ["disabled", "placeholder"];
|
|
688
694
|
const _hoisted_4$3 = ["disabled"];
|
|
689
695
|
const _hoisted_5$1 = {
|
|
@@ -799,8 +805,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
799
805
|
ref: containerRef,
|
|
800
806
|
class: "autocomplete-container"
|
|
801
807
|
}, [
|
|
802
|
-
__props.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
803
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
808
|
+
__props.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$9, vue.toDisplayString(__props.label), 1)) : vue.createCommentVNode("", true),
|
|
809
|
+
vue.createElementVNode("div", _hoisted_2$6, [
|
|
804
810
|
vue.createElementVNode("div", {
|
|
805
811
|
ref_key: "inputWrapperRef",
|
|
806
812
|
ref: inputWrapperRef,
|
|
@@ -1068,8 +1074,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1068
1074
|
};
|
|
1069
1075
|
}
|
|
1070
1076
|
});
|
|
1071
|
-
const _hoisted_1$
|
|
1072
|
-
const _hoisted_2$
|
|
1077
|
+
const _hoisted_1$8 = { class: "relative inline-block" };
|
|
1078
|
+
const _hoisted_2$5 = ["src", "alt"];
|
|
1073
1079
|
const _hoisted_3$3 = { key: 1 };
|
|
1074
1080
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
1075
1081
|
__name: "Avatar",
|
|
@@ -1117,7 +1123,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1117
1123
|
});
|
|
1118
1124
|
const showImage = vue.computed(() => props.src && !imageError.value);
|
|
1119
1125
|
return (_ctx, _cache) => {
|
|
1120
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1126
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
|
|
1121
1127
|
vue.createElementVNode("div", {
|
|
1122
1128
|
class: vue.normalizeClass([
|
|
1123
1129
|
"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 +1137,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1131
1137
|
alt: __props.alt || __props.name,
|
|
1132
1138
|
class: "size-full object-cover",
|
|
1133
1139
|
onError: _cache[0] || (_cache[0] = ($event) => imageError.value = true)
|
|
1134
|
-
}, null, 40, _hoisted_2$
|
|
1140
|
+
}, 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
1141
|
key: 2,
|
|
1136
1142
|
icon: "lucide:user",
|
|
1137
1143
|
class: "size-1/2"
|
|
@@ -1149,8 +1155,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
1149
1155
|
};
|
|
1150
1156
|
}
|
|
1151
1157
|
});
|
|
1152
|
-
const _hoisted_1$
|
|
1153
|
-
const _hoisted_2$
|
|
1158
|
+
const _hoisted_1$7 = ["aria-selected", "disabled", "onClick"];
|
|
1159
|
+
const _hoisted_2$4 = { class: "mt-4" };
|
|
1154
1160
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
1155
1161
|
__name: "Tabs",
|
|
1156
1162
|
props: {
|
|
@@ -1216,17 +1222,17 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
1216
1222
|
activeTab.value === tab.key ? variantClasses[__props.variant].active : variantClasses[__props.variant].inactive
|
|
1217
1223
|
]),
|
|
1218
1224
|
onClick: ($event) => selectTab(tab)
|
|
1219
|
-
}, vue.toDisplayString(tab.label), 11, _hoisted_1$
|
|
1225
|
+
}, vue.toDisplayString(tab.label), 11, _hoisted_1$7);
|
|
1220
1226
|
}), 128))
|
|
1221
1227
|
], 2),
|
|
1222
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1228
|
+
vue.createElementVNode("div", _hoisted_2$4, [
|
|
1223
1229
|
vue.renderSlot(_ctx.$slots, "default", { activeTab: activeTab.value })
|
|
1224
1230
|
])
|
|
1225
1231
|
]);
|
|
1226
1232
|
};
|
|
1227
1233
|
}
|
|
1228
1234
|
});
|
|
1229
|
-
const _hoisted_1$
|
|
1235
|
+
const _hoisted_1$6 = { role: "tabpanel" };
|
|
1230
1236
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
1231
1237
|
__name: "TabPanel",
|
|
1232
1238
|
props: {
|
|
@@ -1237,7 +1243,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1237
1243
|
const activeTab = vue.inject("activeTab");
|
|
1238
1244
|
const isActive = vue.computed(() => (activeTab == null ? void 0 : activeTab.value) === props.value);
|
|
1239
1245
|
return (_ctx, _cache) => {
|
|
1240
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1246
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
1241
1247
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1242
1248
|
], 512)), [
|
|
1243
1249
|
[vue.vShow, isActive.value]
|
|
@@ -1245,7 +1251,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1245
1251
|
};
|
|
1246
1252
|
}
|
|
1247
1253
|
});
|
|
1248
|
-
const _hoisted_1$
|
|
1254
|
+
const _hoisted_1$5 = {
|
|
1249
1255
|
key: 2,
|
|
1250
1256
|
class: "text-sm font-semibold"
|
|
1251
1257
|
};
|
|
@@ -1318,7 +1324,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1318
1324
|
key: 1,
|
|
1319
1325
|
icon: step.icon,
|
|
1320
1326
|
class: "size-6"
|
|
1321
|
-
}, null, 8, ["icon"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
1327
|
+
}, null, 8, ["icon"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$5, vue.toDisplayString(index + 1), 1))
|
|
1322
1328
|
], 2),
|
|
1323
1329
|
vue.createElementVNode("div", {
|
|
1324
1330
|
class: vue.normalizeClass([
|
|
@@ -1346,15 +1352,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1346
1352
|
};
|
|
1347
1353
|
}
|
|
1348
1354
|
});
|
|
1349
|
-
const _hoisted_1$5 = { class: "overflow-hidden" };
|
|
1350
|
-
const _hoisted_2$4 = { class: "space-y-4 p-6" };
|
|
1351
1355
|
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
1352
1356
|
__name: "CollapsibleCard",
|
|
1353
1357
|
props: {
|
|
1354
1358
|
title: {},
|
|
1355
1359
|
description: {},
|
|
1356
1360
|
defaultExpanded: { type: Boolean, default: true },
|
|
1357
|
-
cardClass: { default: "rounded-xl overflow-hidden border border-gray-200 dark:border-gray-700" },
|
|
1358
1361
|
headerClass: { default: "w-full text-left" },
|
|
1359
1362
|
contentClass: { default: "" }
|
|
1360
1363
|
},
|
|
@@ -1367,57 +1370,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1367
1370
|
};
|
|
1368
1371
|
const hasCustomHeader = () => !!slots.header;
|
|
1369
1372
|
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
|
-
]),
|
|
1373
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$i, null, vue.createSlots({
|
|
1421
1374
|
default: vue.withCtx(() => [
|
|
1422
1375
|
vue.createVNode(vue.Transition, {
|
|
1423
1376
|
"enter-active-class": "transition-all duration-200 ease-out",
|
|
@@ -1428,19 +1381,70 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1428
1381
|
"leave-to-class": "opacity-0 max-h-0"
|
|
1429
1382
|
}, {
|
|
1430
1383
|
default: vue.withCtx(() => [
|
|
1431
|
-
vue.withDirectives(vue.createElementVNode("div",
|
|
1432
|
-
vue.
|
|
1384
|
+
vue.withDirectives(vue.createElementVNode("div", {
|
|
1385
|
+
class: vue.normalizeClass(["overflow-hidden", __props.contentClass])
|
|
1386
|
+
}, [
|
|
1387
|
+
vue.createElementVNode("div", {
|
|
1388
|
+
class: vue.normalizeClass(hasCustomHeader() ? "" : "space-y-4 p-6")
|
|
1389
|
+
}, [
|
|
1433
1390
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1434
|
-
])
|
|
1435
|
-
],
|
|
1391
|
+
], 2)
|
|
1392
|
+
], 2), [
|
|
1436
1393
|
[vue.vShow, isExpanded.value]
|
|
1437
1394
|
])
|
|
1438
1395
|
]),
|
|
1439
1396
|
_: 3
|
|
1440
1397
|
})
|
|
1441
1398
|
]),
|
|
1442
|
-
_:
|
|
1443
|
-
},
|
|
1399
|
+
_: 2
|
|
1400
|
+
}, [
|
|
1401
|
+
hasCustomHeader() ? {
|
|
1402
|
+
name: "header",
|
|
1403
|
+
fn: vue.withCtx(() => [
|
|
1404
|
+
vue.createElementVNode("button", {
|
|
1405
|
+
type: "button",
|
|
1406
|
+
class: vue.normalizeClass(__props.headerClass),
|
|
1407
|
+
onClick: toggle
|
|
1408
|
+
}, [
|
|
1409
|
+
vue.renderSlot(_ctx.$slots, "header", {
|
|
1410
|
+
expanded: isExpanded.value,
|
|
1411
|
+
toggle
|
|
1412
|
+
})
|
|
1413
|
+
], 2)
|
|
1414
|
+
]),
|
|
1415
|
+
key: "0"
|
|
1416
|
+
} : __props.title || __props.description ? {
|
|
1417
|
+
name: "title",
|
|
1418
|
+
fn: vue.withCtx(() => [
|
|
1419
|
+
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
1420
|
+
]),
|
|
1421
|
+
key: "1"
|
|
1422
|
+
} : void 0,
|
|
1423
|
+
!hasCustomHeader() && __props.description ? {
|
|
1424
|
+
name: "description",
|
|
1425
|
+
fn: vue.withCtx(() => [
|
|
1426
|
+
vue.createTextVNode(vue.toDisplayString(__props.description), 1)
|
|
1427
|
+
]),
|
|
1428
|
+
key: "2"
|
|
1429
|
+
} : void 0,
|
|
1430
|
+
!hasCustomHeader() ? {
|
|
1431
|
+
name: "actions",
|
|
1432
|
+
fn: vue.withCtx(() => [
|
|
1433
|
+
vue.renderSlot(_ctx.$slots, "actions"),
|
|
1434
|
+
vue.createElementVNode("button", {
|
|
1435
|
+
type: "button",
|
|
1436
|
+
class: "rounded-lg p-1.5 text-gray-500 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800",
|
|
1437
|
+
onClick: toggle
|
|
1438
|
+
}, [
|
|
1439
|
+
vue.createVNode(vue.unref(vue$1.Icon), {
|
|
1440
|
+
icon: isExpanded.value ? "lucide:chevron-up" : "lucide:chevron-down",
|
|
1441
|
+
class: "size-5"
|
|
1442
|
+
}, null, 8, ["icon"])
|
|
1443
|
+
])
|
|
1444
|
+
]),
|
|
1445
|
+
key: "3"
|
|
1446
|
+
} : void 0
|
|
1447
|
+
]), 1024);
|
|
1444
1448
|
};
|
|
1445
1449
|
}
|
|
1446
1450
|
});
|
|
@@ -2072,4 +2076,4 @@ exports._sfc_main$6 = _sfc_main$c;
|
|
|
2072
2076
|
exports._sfc_main$7 = _sfc_main$b;
|
|
2073
2077
|
exports._sfc_main$8 = _sfc_main$a;
|
|
2074
2078
|
exports._sfc_main$9 = _sfc_main$9;
|
|
2075
|
-
//# sourceMappingURL=Timeline.vue_vue_type_script_setup_true_lang-
|
|
2079
|
+
//# sourceMappingURL=Timeline.vue_vue_type_script_setup_true_lang-1yrOZ-T-.cjs.map
|