@webilio-xyz/webilio-vue 1.1.9 → 1.1.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/{ButtonComponent-DOEH129x.js → ButtonComponent-ttzIkK79.js} +2 -2
- package/dist/{CardTitleComponent-yoZlgZ_5.js → CardTitleComponent-TKGf3K-Y.js} +2 -2
- package/dist/Component.js +98 -98
- package/dist/Input.js +263 -236
- package/dist/{LabelComponent-DgoJlPcL.js → LabelComponent-DwonPfyx.js} +235 -171
- package/dist/Layout.js +92 -92
- package/dist/Modal.js +56 -56
- package/dist/Models.js +5 -5
- package/dist/Table.js +134 -134
- package/dist/{_baseIteratee-r_6HOn93.js → _baseIteratee-B9n7IWT3.js} +115 -116
- package/dist/{debounce-C1ND-yYU.js → debounce-Cx8aOQWk.js} +1 -1
- package/dist/toString-BzuWRW2B.js +29 -0
- package/package.json +1 -1
- package/dist/toString-CykDHNcE.js +0 -29
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as o, openBlock as e, renderSlot as n } from "vue";
|
|
2
2
|
import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const c = {}, s = { class: "btn px-4 py-2" };
|
|
4
4
|
function _(t, p) {
|
|
5
|
-
return
|
|
5
|
+
return e(), o("button", s, [
|
|
6
6
|
n(t.$slots, "default")
|
|
7
7
|
]);
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as n, renderSlot as r } from "vue";
|
|
2
2
|
import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const s = {}, l = { class: "flex items-center" }, i = { class: "inline-block text-2xl sm:text-xl font-extrabold tracking-tight" };
|
|
4
4
|
function a(e, _) {
|
|
5
|
-
return
|
|
5
|
+
return o(), t("div", l, [
|
|
6
6
|
n("h1", i, [
|
|
7
7
|
r(e.$slots, "default")
|
|
8
8
|
])
|
package/dist/Component.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.breadcrumb-item[data-v-01d278b9]:before,.breadcrumb-item[data-v-01d278b9]:after{content:"";position:absolute;left:0;height:52%;width:100%;background:#fff;border-left:2px solid #666;border-right:2px solid #666;z-index:-2}.breadcrumb-item[data-v-01d278b9]:before{transform:skew(30deg);border-top:2px solid #666}.breadcrumb-item[data-v-01d278b9]:after{bottom:-2px;transform:skew(-30deg);border-bottom:2px solid #666}.breadcrumb-item[data-v-01d278b9]:before,.breadcrumb-item[data-v-01d278b9]:after{background:var(--active-bg-color, transparent)}.breadcrumb-item[data-v-01d278b9]:hover:before,.breadcrumb-item[data-v-01d278b9]:hover:after{background:var(--hover-bg-color, lightgray)}.no-focus-border[data-v-6911550c]:focus{outline:none;border:none}.icon-size[data-v-6911550c]{font-size:25px}.bg-accent-50[data-v-a7244478]{background-color:#f8fafc}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { ref as y,
|
|
3
|
-
import { B as M } from "./ButtonComponent-
|
|
2
|
+
import { ref as y, createElementBlock as a, createCommentVNode as _, openBlock as l, createElementVNode as t, toDisplayString as m, computed as b, normalizeStyle as w, normalizeClass as k, Fragment as B, renderList as A, onMounted as O, createVNode as C, withModifiers as L, createBlock as S, withCtx as j, createTextVNode as J, unref as $, renderSlot as D, onBeforeUnmount as V, resolveComponent as H } from "vue";
|
|
3
|
+
import { B as M } from "./ButtonComponent-ttzIkK79.js";
|
|
4
4
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import "laravel-vue-i18n";
|
|
6
6
|
import "@vuepic/vue-datepicker";
|
|
7
|
-
import { u as Z, _ as G, E as K } from "./LabelComponent-
|
|
7
|
+
import { u as Z, _ as G, E as K } from "./LabelComponent-DwonPfyx.js";
|
|
8
8
|
import { AkCloudUpload as W, AkChevronRightSmall as X, AkChevronDownSmall as Q, AkSend as Y } from "@kalimahapps/vue-icons";
|
|
9
|
-
import { d as ee } from "./debounce-
|
|
9
|
+
import { d as ee } from "./debounce-Cx8aOQWk.js";
|
|
10
10
|
import { a as te } from "./isObject-BD_iszZg.js";
|
|
11
11
|
var oe = "Expected a function";
|
|
12
12
|
function re(o, e, r) {
|
|
@@ -26,10 +26,7 @@ const ne = {
|
|
|
26
26
|
}, le = { class: "font-bold" }, se = {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "block sm:inline mx-2"
|
|
29
|
-
}, ae = { class: "absolute top-0 bottom-0 right-0 px-4 py-3" }, ie =
|
|
30
|
-
ie,
|
|
31
|
-
ce
|
|
32
|
-
], de = {
|
|
29
|
+
}, ae = { class: "absolute top-0 bottom-0 right-0 px-4 py-3" }, ie = {
|
|
33
30
|
__name: "AlertComponent",
|
|
34
31
|
props: {
|
|
35
32
|
alertMessage: {
|
|
@@ -47,9 +44,9 @@ const ne = {
|
|
|
47
44
|
},
|
|
48
45
|
setup(o) {
|
|
49
46
|
const e = y(!1);
|
|
50
|
-
return (r, n) => e.value ?
|
|
47
|
+
return (r, n) => e.value ? _("", !0) : (l(), a("div", ne, [
|
|
51
48
|
t("strong", le, m(o.alertMessage), 1),
|
|
52
|
-
o.message ? (l(), a("span", se, m(o.message), 1)) :
|
|
49
|
+
o.message ? (l(), a("span", se, m(o.message), 1)) : _("", !0),
|
|
53
50
|
t("span", ae, [
|
|
54
51
|
o.closable ? (l(), a("svg", {
|
|
55
52
|
key: 0,
|
|
@@ -58,11 +55,14 @@ const ne = {
|
|
|
58
55
|
role: "button",
|
|
59
56
|
xmlns: "http://www.w3.org/2000/svg",
|
|
60
57
|
viewBox: "0 0 20 20"
|
|
61
|
-
},
|
|
58
|
+
}, n[1] || (n[1] = [
|
|
59
|
+
t("title", null, " Close ", -1),
|
|
60
|
+
t("path", { d: "M14.348 14.849a1.2 1.2 0 0 1-1.697 0L10 11.819l-2.651 3.029a1.2 1.2 0 1 1-1.697-1.697l2.758-3.15-2.759-3.152a1.2 1.2 0 1 1 1.697-1.697L10 8.183l2.651-3.031a1.2 1.2 0 1 1 1.697 1.697l-2.758 3.152 2.758 3.15a1.2 1.2 0 0 1 0 1.698z" }, null, -1)
|
|
61
|
+
]))) : _("", !0)
|
|
62
62
|
])
|
|
63
63
|
]));
|
|
64
64
|
}
|
|
65
|
-
},
|
|
65
|
+
}, ce = ["title"], T = {
|
|
66
66
|
__name: "AvatarComponent",
|
|
67
67
|
props: {
|
|
68
68
|
name: {
|
|
@@ -108,17 +108,17 @@ const ne = {
|
|
|
108
108
|
title: o.name,
|
|
109
109
|
class: k(["no-underline rounded-full bg-gray-200 flex justify-center items-center text-gray-500 p-2", s.computedSizeClass]),
|
|
110
110
|
style: w(n())
|
|
111
|
-
}, m(r.value), 15,
|
|
111
|
+
}, m(r.value), 15, ce));
|
|
112
112
|
}
|
|
113
|
-
},
|
|
113
|
+
}, ue = {
|
|
114
114
|
class: "breadcrumb flex space-x-2",
|
|
115
115
|
itemscope: "",
|
|
116
116
|
itemtype: "http://schema.org/BreadcrumbList"
|
|
117
|
-
},
|
|
117
|
+
}, de = ["href"], pe = { itemprop: "name" }, me = {
|
|
118
118
|
key: 1,
|
|
119
119
|
itemprop: "name",
|
|
120
120
|
class: "inline-block relative px-4 py-2 text-gray-500"
|
|
121
|
-
},
|
|
121
|
+
}, fe = ["content"], ve = {
|
|
122
122
|
__name: "BreadcrumbsComponent",
|
|
123
123
|
props: {
|
|
124
124
|
items: {
|
|
@@ -140,7 +140,7 @@ const ne = {
|
|
|
140
140
|
"--hover-bg-color": n.active ? e.activeItemColor : e.hoverItemColor
|
|
141
141
|
});
|
|
142
142
|
return (n, s) => (l(), a("nav", null, [
|
|
143
|
-
t("ol",
|
|
143
|
+
t("ol", ue, [
|
|
144
144
|
(l(!0), a(B, null, A(e.items, (i, c) => (l(), a("li", {
|
|
145
145
|
key: c,
|
|
146
146
|
class: "breadcrumb-item relative",
|
|
@@ -155,20 +155,20 @@ const ne = {
|
|
|
155
155
|
itemprop: "item",
|
|
156
156
|
class: k(["inline-block relative px-4 py-2 text-gray-500 no-underline", o.hoverItemColor])
|
|
157
157
|
}, [
|
|
158
|
-
t("span",
|
|
159
|
-
], 10,
|
|
158
|
+
t("span", pe, m(i.name), 1)
|
|
159
|
+
], 10, de)) : (l(), a("span", me, m(i.name), 1)),
|
|
160
160
|
t("meta", {
|
|
161
161
|
itemprop: "position",
|
|
162
162
|
content: c + 1
|
|
163
|
-
}, null, 8,
|
|
163
|
+
}, null, 8, fe)
|
|
164
164
|
], 4))), 128))
|
|
165
165
|
])
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, _e = /* @__PURE__ */ R(ve, [["__scopeId", "data-v-01d278b9"]]), ge = { class: "w-full space-y-4" }, he = { class: "flex items-center w-full" }, ye = { class: "ml-2 text-gray-500" }, Ce = ["id", "name", "accept", "disabled", "multiple"], xe = {
|
|
169
169
|
key: 0,
|
|
170
170
|
class: "flex flex-col space-y-2 w-full"
|
|
171
|
-
},
|
|
171
|
+
}, be = { class: "flex items-center" }, ke = { class: "flex flex-col" }, Se = { class: "font-semibold text-gray-800" }, $e = { class: "text-sm text-gray-500" }, we = {
|
|
172
172
|
__name: "DropzoneComponent",
|
|
173
173
|
props: {
|
|
174
174
|
label: {
|
|
@@ -206,14 +206,14 @@ const ne = {
|
|
|
206
206
|
c.value = Z("input_group_");
|
|
207
207
|
});
|
|
208
208
|
const z = (u) => {
|
|
209
|
-
const g = n.accept.split(",").map((q) => q.trim()),
|
|
210
|
-
return g.includes(`.${
|
|
209
|
+
const g = n.accept.split(",").map((q) => q.trim()), v = u.name.split(".").pop().toLowerCase(), h = n.maxSizeInMegaBytes * 1024 * 1024;
|
|
210
|
+
return g.includes(`.${v}`) ? u.size > h ? (p.value = `File size exceeds the maximum limit of ${n.maxSizeInMegaBytes} MB.`, !1) : (p.value = null, !0) : (p.value = `Invalid file type. Accepted types are: ${n.accept}`, !1);
|
|
211
211
|
}, d = (u) => {
|
|
212
|
-
const
|
|
213
|
-
s.value = n.multiple ? [...s.value, ...
|
|
212
|
+
const v = Array.from(u.target.files).filter(z);
|
|
213
|
+
s.value = n.multiple ? [...s.value, ...v] : v, v.forEach((h) => r("file-selected", h)), E();
|
|
214
214
|
}, F = (u) => {
|
|
215
|
-
const
|
|
216
|
-
s.value = n.multiple ? [...s.value, ...
|
|
215
|
+
const v = Array.from(u.dataTransfer.files).filter(z);
|
|
216
|
+
s.value = n.multiple ? [...s.value, ...v] : v, v.forEach((h) => r("file-selected", h)), E();
|
|
217
217
|
}, I = () => {
|
|
218
218
|
i.value.click();
|
|
219
219
|
}, U = (u) => {
|
|
@@ -222,7 +222,7 @@ const ne = {
|
|
|
222
222
|
}, E = () => {
|
|
223
223
|
i.value.value = null;
|
|
224
224
|
}, N = b(() => n.error || p.value);
|
|
225
|
-
return (u, g) => (l(), a("div",
|
|
225
|
+
return (u, g) => (l(), a("div", ge, [
|
|
226
226
|
C(G, {
|
|
227
227
|
for: c.value,
|
|
228
228
|
value: o.label,
|
|
@@ -235,7 +235,7 @@ const ne = {
|
|
|
235
235
|
onDragover: g[0] || (g[0] = L(() => {
|
|
236
236
|
}, ["prevent"]))
|
|
237
237
|
}, [
|
|
238
|
-
t("div",
|
|
238
|
+
t("div", he, [
|
|
239
239
|
C(M, {
|
|
240
240
|
class: "bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600",
|
|
241
241
|
onClick: I
|
|
@@ -245,7 +245,7 @@ const ne = {
|
|
|
245
245
|
]),
|
|
246
246
|
_: 1
|
|
247
247
|
}),
|
|
248
|
-
t("span",
|
|
248
|
+
t("span", ye, m(u.$t("or drop your file here")), 1)
|
|
249
249
|
]),
|
|
250
250
|
t("input", {
|
|
251
251
|
id: c.value,
|
|
@@ -258,23 +258,23 @@ const ne = {
|
|
|
258
258
|
type: "file",
|
|
259
259
|
class: "hidden",
|
|
260
260
|
onChange: d
|
|
261
|
-
}, null, 40,
|
|
262
|
-
N.value ? (l(), $(
|
|
261
|
+
}, null, 40, Ce),
|
|
262
|
+
N.value ? (l(), S($(K), {
|
|
263
263
|
key: 0,
|
|
264
264
|
class: "mt-2",
|
|
265
265
|
message: N.value
|
|
266
|
-
}, null, 8, ["message"])) :
|
|
266
|
+
}, null, 8, ["message"])) : _("", !0)
|
|
267
267
|
], 32),
|
|
268
|
-
s.value.length ? (l(), a("div",
|
|
269
|
-
(l(!0), a(B, null, A(s.value, (
|
|
268
|
+
s.value.length ? (l(), a("div", xe, [
|
|
269
|
+
(l(!0), a(B, null, A(s.value, (v, h) => (l(), a("div", {
|
|
270
270
|
key: h,
|
|
271
271
|
class: "flex items-center justify-between w-full"
|
|
272
272
|
}, [
|
|
273
|
-
t("div",
|
|
274
|
-
C(
|
|
275
|
-
t("div",
|
|
276
|
-
t("span",
|
|
277
|
-
t("span",
|
|
273
|
+
t("div", be, [
|
|
274
|
+
C($(W), { class: "bg-danger text-white rounded-full w-6 h-6 p-1 m-1" }),
|
|
275
|
+
t("div", ke, [
|
|
276
|
+
t("span", Se, m(v.name), 1),
|
|
277
|
+
t("span", $e, m(f(v)) + " · " + m(x(v)), 1)
|
|
278
278
|
])
|
|
279
279
|
]),
|
|
280
280
|
C(M, {
|
|
@@ -288,10 +288,10 @@ const ne = {
|
|
|
288
288
|
_: 2
|
|
289
289
|
}, 1032, ["onClick"])
|
|
290
290
|
]))), 128))
|
|
291
|
-
])) :
|
|
291
|
+
])) : _("", !0)
|
|
292
292
|
]));
|
|
293
293
|
}
|
|
294
|
-
},
|
|
294
|
+
}, ze = { class: "flex items-center space-x-2 w-full" }, Ie = { class: "flex-grow" }, Be = { class: "border-t-2 pt-4" }, Ae = { class: "p-4 border-primary border-l-4" }, Fe = {
|
|
295
295
|
__name: "FoldableComponent",
|
|
296
296
|
props: {},
|
|
297
297
|
emits: ["open", "close"],
|
|
@@ -302,34 +302,34 @@ const ne = {
|
|
|
302
302
|
i.value = !0, r("open");
|
|
303
303
|
}, i = y(!1);
|
|
304
304
|
return (c, p) => (l(), a("div", null, [
|
|
305
|
-
t("div",
|
|
305
|
+
t("div", ze, [
|
|
306
306
|
t("div", null, [
|
|
307
|
-
i.value ? (l(), $(
|
|
307
|
+
i.value ? (l(), S($(Q), {
|
|
308
308
|
key: 1,
|
|
309
309
|
class: "text-2xl cursor-pointer",
|
|
310
310
|
onClick: n
|
|
311
|
-
})) : (l(), $(
|
|
311
|
+
})) : (l(), S($(X), {
|
|
312
312
|
key: 0,
|
|
313
313
|
class: "text-2xl cursor-pointer",
|
|
314
314
|
onClick: s
|
|
315
315
|
}))
|
|
316
316
|
]),
|
|
317
|
-
t("div",
|
|
317
|
+
t("div", Ie, [
|
|
318
318
|
D(c.$slots, "header")
|
|
319
319
|
])
|
|
320
320
|
]),
|
|
321
321
|
t("div", {
|
|
322
322
|
class: k([{ "h-0": !i.value }, "overflow-y-hidden duration-600 transition-all relative border-gray-500"])
|
|
323
323
|
}, [
|
|
324
|
-
t("div",
|
|
325
|
-
t("div",
|
|
324
|
+
t("div", Be, [
|
|
325
|
+
t("div", Ae, [
|
|
326
326
|
D(c.$slots, "content")
|
|
327
327
|
])
|
|
328
328
|
])
|
|
329
329
|
], 2)
|
|
330
330
|
]));
|
|
331
331
|
}
|
|
332
|
-
},
|
|
332
|
+
}, Ee = {
|
|
333
333
|
__name: "InfiniteScrollComponent",
|
|
334
334
|
emits: ["scroll"],
|
|
335
335
|
setup(o, { emit: e }) {
|
|
@@ -350,7 +350,7 @@ const ne = {
|
|
|
350
350
|
D(c.$slots, "default")
|
|
351
351
|
], 512));
|
|
352
352
|
}
|
|
353
|
-
},
|
|
353
|
+
}, De = { class: "flex w-full" }, Me = { class: "flex-1 border rounded-l-2xl ml-1 p-2" }, Re = ["placeholder"], Te = { class: "border rounded-r-2xl flex items-center p-2 leading-loose cursor-pointer" }, Ne = {
|
|
354
354
|
__name: "NotesInputComponent",
|
|
355
355
|
props: {
|
|
356
356
|
avatar: {
|
|
@@ -370,7 +370,7 @@ const ne = {
|
|
|
370
370
|
},
|
|
371
371
|
setup(o) {
|
|
372
372
|
const e = o;
|
|
373
|
-
return (r, n) => (l(), a("div",
|
|
373
|
+
return (r, n) => (l(), a("div", De, [
|
|
374
374
|
t("div", null, [
|
|
375
375
|
C(T, {
|
|
376
376
|
name: e.avatar.name,
|
|
@@ -380,25 +380,25 @@ const ne = {
|
|
|
380
380
|
textColor: e.avatar.textColor
|
|
381
381
|
}, null, 8, ["name", "size", "initials", "backgroundColor", "textColor"])
|
|
382
382
|
]),
|
|
383
|
-
t("div",
|
|
383
|
+
t("div", Me, [
|
|
384
384
|
t("input", {
|
|
385
385
|
class: "w-full h-full leading-loose no-focus-border",
|
|
386
386
|
type: "text",
|
|
387
387
|
placeholder: e.inputPlaceholder
|
|
388
|
-
}, null, 8,
|
|
388
|
+
}, null, 8, Re)
|
|
389
389
|
]),
|
|
390
|
-
t("div",
|
|
391
|
-
C(
|
|
390
|
+
t("div", Te, [
|
|
391
|
+
C($(Y), { class: "icon-size" })
|
|
392
392
|
])
|
|
393
393
|
]));
|
|
394
394
|
}
|
|
395
|
-
}, P = /* @__PURE__ */ R(
|
|
395
|
+
}, P = /* @__PURE__ */ R(Ne, [["__scopeId", "data-v-6911550c"]]), qe = {
|
|
396
396
|
key: 0,
|
|
397
397
|
class: "grid grid-cols-1 gap-2 px-2"
|
|
398
|
-
},
|
|
398
|
+
}, Le = { class: "pr-2" }, je = { class: "flex-1" }, Je = { class: "border rounded-2xl p-3 bg-accent-50" }, Oe = { class: "mt-2" }, Pe = { class: "flex" }, Ue = { class: "ml-4 mt-1 text-secondary w-full" }, Ve = ["onClick"], He = {
|
|
399
399
|
key: 1,
|
|
400
400
|
class: "text-center bg-accent-50 py-6 text-accent-400 rounded font-bold"
|
|
401
|
-
},
|
|
401
|
+
}, Ze = {
|
|
402
402
|
__name: "NotesCommentComponent",
|
|
403
403
|
props: {
|
|
404
404
|
user: {
|
|
@@ -458,12 +458,12 @@ const ne = {
|
|
|
458
458
|
};
|
|
459
459
|
return (f, x) => {
|
|
460
460
|
const z = H("NotesCommentComponent", !0);
|
|
461
|
-
return n.value.length ? (l(), a("div",
|
|
461
|
+
return n.value.length ? (l(), a("div", qe, [
|
|
462
462
|
(l(!0), a(B, null, A(n.value, (d, F) => (l(), a("div", {
|
|
463
463
|
key: F,
|
|
464
464
|
class: "flex"
|
|
465
465
|
}, [
|
|
466
|
-
t("div",
|
|
466
|
+
t("div", Le, [
|
|
467
467
|
C(T, {
|
|
468
468
|
name: d.user.name,
|
|
469
469
|
size: d.user.size,
|
|
@@ -472,44 +472,44 @@ const ne = {
|
|
|
472
472
|
textColor: d.user.textColor
|
|
473
473
|
}, null, 8, ["name", "size", "initials", "backgroundColor", "textColor"])
|
|
474
474
|
]),
|
|
475
|
-
t("div",
|
|
476
|
-
t("div",
|
|
475
|
+
t("div", je, [
|
|
476
|
+
t("div", Je, [
|
|
477
477
|
t("div", null, m(d.content), 1),
|
|
478
478
|
d.created_at ? (l(), a("div", {
|
|
479
479
|
key: 0,
|
|
480
480
|
class: "text-right text-xs",
|
|
481
481
|
style: w({ color: e.createdAtTextColor })
|
|
482
|
-
}, m(new Date(d.created_at).toLocaleString()), 5)) :
|
|
482
|
+
}, m(new Date(d.created_at).toLocaleString()), 5)) : _("", !0)
|
|
483
483
|
]),
|
|
484
|
-
t("div",
|
|
485
|
-
d.children && d.children.length ? (l(),
|
|
484
|
+
t("div", Oe, [
|
|
485
|
+
d.children && d.children.length ? (l(), S(z, {
|
|
486
486
|
key: 0,
|
|
487
487
|
comments: d.children,
|
|
488
488
|
user: d.user
|
|
489
|
-
}, null, 8, ["comments", "user"])) :
|
|
489
|
+
}, null, 8, ["comments", "user"])) : _("", !0)
|
|
490
490
|
]),
|
|
491
|
-
t("div",
|
|
492
|
-
t("div",
|
|
491
|
+
t("div", Pe, [
|
|
492
|
+
t("div", Ue, [
|
|
493
493
|
s(d) ? (l(), a("span", {
|
|
494
494
|
key: 0,
|
|
495
495
|
class: "cursor-pointer hover:underline",
|
|
496
496
|
onClick: (I) => c(d)
|
|
497
|
-
}, "Répondre", 8,
|
|
498
|
-
i(d) ? (l(),
|
|
497
|
+
}, "Répondre", 8, Ve)) : _("", !0),
|
|
498
|
+
i(d) ? (l(), S(P, {
|
|
499
499
|
key: 1,
|
|
500
500
|
onSend: (I) => p(I, d)
|
|
501
|
-
}, null, 8, ["onSend"])) :
|
|
501
|
+
}, null, 8, ["onSend"])) : _("", !0)
|
|
502
502
|
])
|
|
503
503
|
])
|
|
504
504
|
])
|
|
505
505
|
]))), 128))
|
|
506
|
-
])) : (l(), a("div",
|
|
506
|
+
])) : (l(), a("div", He, " Aucun commentaires pour l'instant "));
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
},
|
|
509
|
+
}, Ge = /* @__PURE__ */ R(Ze, [["__scopeId", "data-v-a7244478"]]), Ke = { class: "w-full" }, We = { class: "relative flex items-center justify-between w-full" }, Xe = { class: "mt-2 text-sm text-gray-500" }, Qe = {
|
|
510
510
|
class: "absolute left-0 w-full h-1 bg-gray-300 -z-10 transform -translate-y-1/2",
|
|
511
511
|
style: { top: "32%" }
|
|
512
|
-
},
|
|
512
|
+
}, Ye = {
|
|
513
513
|
__name: "StepsComponent",
|
|
514
514
|
props: {
|
|
515
515
|
steps: {
|
|
@@ -536,8 +536,8 @@ const ne = {
|
|
|
536
536
|
const i = r.value / s * 100;
|
|
537
537
|
return Math.min(i, 100);
|
|
538
538
|
});
|
|
539
|
-
return (s, i) => (l(), a("div",
|
|
540
|
-
t("div",
|
|
539
|
+
return (s, i) => (l(), a("div", Ke, [
|
|
540
|
+
t("div", We, [
|
|
541
541
|
(l(!0), a(B, null, A(e.steps, (c, p) => (l(), a("div", {
|
|
542
542
|
key: p,
|
|
543
543
|
class: "flex flex-col items-center"
|
|
@@ -552,9 +552,9 @@ const ne = {
|
|
|
552
552
|
}
|
|
553
553
|
])
|
|
554
554
|
}, m(p + 1), 3),
|
|
555
|
-
t("span",
|
|
555
|
+
t("span", Xe, m(c), 1)
|
|
556
556
|
]))), 128)),
|
|
557
|
-
t("div",
|
|
557
|
+
t("div", Qe, [
|
|
558
558
|
t("div", {
|
|
559
559
|
class: k(["h-full transition-all duration-500 ease-in-out", o.progressBarColor]),
|
|
560
560
|
style: w({ width: n.value + "%" })
|
|
@@ -563,7 +563,7 @@ const ne = {
|
|
|
563
563
|
])
|
|
564
564
|
]));
|
|
565
565
|
}
|
|
566
|
-
},
|
|
566
|
+
}, et = {
|
|
567
567
|
__name: "TagComponent",
|
|
568
568
|
props: {
|
|
569
569
|
backgroundColor: {
|
|
@@ -594,30 +594,30 @@ const ne = {
|
|
|
594
594
|
class: "px-4 py-2 inline-block"
|
|
595
595
|
}, m(e.text), 5));
|
|
596
596
|
}
|
|
597
|
-
},
|
|
598
|
-
AlertComponent:
|
|
597
|
+
}, ut = {
|
|
598
|
+
AlertComponent: ie,
|
|
599
599
|
ButtonComponent: M,
|
|
600
600
|
AvatarComponent: T,
|
|
601
|
-
BreadcrumbsComponent:
|
|
602
|
-
DropzoneComponent:
|
|
603
|
-
FoldableComponent:
|
|
604
|
-
InfiniteScrollComponent:
|
|
605
|
-
NotesCommentComponent:
|
|
601
|
+
BreadcrumbsComponent: _e,
|
|
602
|
+
DropzoneComponent: we,
|
|
603
|
+
FoldableComponent: Fe,
|
|
604
|
+
InfiniteScrollComponent: Ee,
|
|
605
|
+
NotesCommentComponent: Ge,
|
|
606
606
|
NotesInputComponent: P,
|
|
607
|
-
StepsComponent:
|
|
608
|
-
TagComponent:
|
|
607
|
+
StepsComponent: Ye,
|
|
608
|
+
TagComponent: et
|
|
609
609
|
};
|
|
610
610
|
export {
|
|
611
|
-
|
|
611
|
+
ie as AlertComponent,
|
|
612
612
|
T as AvatarComponent,
|
|
613
|
-
|
|
613
|
+
_e as BreadcrumbsComponent,
|
|
614
614
|
M as ButtonComponent,
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
615
|
+
we as DropzoneComponent,
|
|
616
|
+
Fe as FoldableComponent,
|
|
617
|
+
Ee as InfiniteScrollComponent,
|
|
618
|
+
Ge as NotesCommentComponent,
|
|
619
619
|
P as NotesInputComponent,
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
620
|
+
Ye as StepsComponent,
|
|
621
|
+
et as TagComponent,
|
|
622
|
+
ut as default
|
|
623
623
|
};
|