vlite3 1.4.37 → 1.4.40
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/components/Badge.vue.js +5 -5
- package/components/Badge.vue3.js +5 -0
- package/components/CategoryManager/CategoryManager.vue2.js +5 -4
- package/components/Chip/Chip.vue.js +21 -21
- package/components/Chip/Chip.vue3.js +5 -0
- package/components/ColorPicker/ColorIro.vue3.js +2 -2
- package/components/ColorPicker/ColorPicker.vue.js +2 -2
- package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem.vue2.js → CommandPaletteItem.vue.js} +1 -1
- package/components/Comment/CommentItem.vue2.js +3 -2
- package/components/DataTable/DataTable.vue.d.ts +1 -0
- package/components/DataTable/DataTable.vue.js +204 -203
- package/components/DataTable/DataTableRow.vue.js +54 -51
- package/components/DataTable/types.d.ts +5 -0
- package/components/DataTable/useDataTableTree.d.ts +4 -3
- package/components/DataTable/useDataTableTree.js +102 -92
- package/components/FileTree/FileTree.vue.d.ts +3 -1
- package/components/FileTree/FileTree.vue.js +1 -1
- package/components/FileTree/FileTree.vue2.js +157 -116
- package/components/FileTree/FileTreeNode.vue.d.ts +9 -5
- package/components/FileTree/FileTreeNode.vue.js +147 -189
- package/components/Form/{AccordionView.vue2.js → AccordionView.vue.js} +1 -1
- package/components/Form/Form.vue2.js +45 -43
- package/components/Form/index.vue2.js +1 -1
- package/components/ImportData/ImportData.vue.js +4 -2
- package/components/Invoice/InvoiceVariant1.vue.js +3 -2
- package/components/Invoice/InvoiceVariant2.vue.js +3 -2
- package/components/Invoice/InvoiceVariant3.vue.js +3 -2
- package/components/Invoice/InvoiceVariant4.vue.js +3 -2
- package/components/MultiSelect/MultiSelect.vue.js +3 -2
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/PricingPlan/PricingPlanItem.vue.js +10 -9
- package/components/Screen/ScreenFilter.vue.js +20 -19
- package/components/StatusChip/StatusChip.vue.js +8 -7
- package/components/StatusChip/StatusChip.vue3.js +5 -0
- package/components/Timeline/TimelineItem.vue.js +3 -2
- package/components/TreeConnectors/TreeConnectors.vue.d.ts +1 -1
- package/components/TreeConnectors/TreeConnectors.vue.js +26 -17
- package/components/TreeConnectors/geometry.d.ts +29 -3
- package/components/TreeConnectors/geometry.js +128 -46
- package/components/TreeConnectors/index.d.ts +1 -1
- package/index.js +473 -470
- package/package.json +1 -1
- package/style.css +15 -1
- package/components/Badge.vue2.js +0 -4
- package/components/Chip/Chip.vue2.js +0 -4
- package/components/StatusChip/StatusChip.vue2.js +0 -4
- /package/components/ColorPicker/{ColorIro.vue2.js → ColorIro.vue.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ge, computed as o, inject as He, getCurrentInstance as $e, onMounted as Me, onUnmounted as _, shallowRef as ee, watch as te, nextTick as Oe, openBlock as n, createElementBlock as c, withKeys as ye, withModifiers as ae, normalizeClass as
|
|
1
|
+
import { defineComponent as Ge, computed as o, inject as He, getCurrentInstance as $e, onMounted as Me, onUnmounted as _, shallowRef as ee, watch as te, nextTick as Oe, openBlock as n, createElementBlock as c, withKeys as ye, withModifiers as ae, normalizeClass as m, createElementVNode as p, createVNode as k, mergeProps as O, toDisplayString as j, renderSlot as he, unref as l, createCommentVNode as d, createBlock as C, withCtx as be, Fragment as je, renderList as Ke, isMemoSame as Ye } from "vue";
|
|
2
2
|
import { useForm as Je } from "./composables/useForm.js";
|
|
3
3
|
import X from "./FormFields.vue.js";
|
|
4
4
|
import Qe from "./FormField.vue.js";
|
|
@@ -9,7 +9,9 @@ import Ze from "../BackButton.vue.js";
|
|
|
9
9
|
import _e from "../Timeline/Timeline.vue.js";
|
|
10
10
|
import "@iconify/vue";
|
|
11
11
|
import { resolveI18nText as et } from "../../utils/i18n.js";
|
|
12
|
+
/* empty css */
|
|
12
13
|
import { useVLiteConfig as tt } from "../../core/config.js";
|
|
14
|
+
/* empty css */
|
|
13
15
|
import { resolveFieldType as at } from "./utils/form.utils.js";
|
|
14
16
|
const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { class: "flex items-center gap-2 shrink-0" }, nt = {
|
|
15
17
|
key: 0,
|
|
@@ -23,13 +25,13 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
23
25
|
}, ct = {
|
|
24
26
|
key: 3,
|
|
25
27
|
class: "form-step"
|
|
26
|
-
},
|
|
28
|
+
}, mt = { class: "text-lg font-semibold text-foreground" }, vt = {
|
|
27
29
|
key: 0,
|
|
28
30
|
class: "text-sm text-muted-foreground mt-1"
|
|
29
31
|
}, ft = {
|
|
30
32
|
key: 0,
|
|
31
33
|
class: "flex gap-3 items-center"
|
|
32
|
-
},
|
|
34
|
+
}, Ut = /* @__PURE__ */ Ge({
|
|
33
35
|
__name: "Form",
|
|
34
36
|
props: {
|
|
35
37
|
schema: {},
|
|
@@ -137,8 +139,8 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
137
139
|
if (Array.isArray(t)) return t;
|
|
138
140
|
try {
|
|
139
141
|
const a = t({
|
|
140
|
-
values:
|
|
141
|
-
globalValues:
|
|
142
|
+
values: v.value,
|
|
143
|
+
globalValues: v.value,
|
|
142
144
|
isUpdate: i.isUpdate
|
|
143
145
|
});
|
|
144
146
|
return Array.isArray(a) ? a : [];
|
|
@@ -151,7 +153,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
151
153
|
const t = G.value, a = [];
|
|
152
154
|
for (let s = 0; s < t.length; s++) {
|
|
153
155
|
const x = t[s];
|
|
154
|
-
!Array.isArray(x) || x.length === 0 || x.some((
|
|
156
|
+
!Array.isArray(x) || x.length === 0 || x.some((ve) => R(ve)) && a.push({ schema: x, originalIndex: s });
|
|
155
157
|
}
|
|
156
158
|
return a;
|
|
157
159
|
}), Ae = o(
|
|
@@ -166,11 +168,11 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
166
168
|
t.set(`form-group-${a.originalIndex}`, a.schema);
|
|
167
169
|
return t;
|
|
168
170
|
}), h = o(() => u.value ? null : (T.value ? i.schema.flat() : i.schema).find((a) => at(a, {
|
|
169
|
-
values:
|
|
170
|
-
globalValues:
|
|
171
|
+
values: v.value,
|
|
172
|
+
globalValues: v.value,
|
|
171
173
|
isUpdate: i.isUpdate
|
|
172
174
|
}) === "thumbnailSelector") ?? null), P = o(() => !!h.value), {
|
|
173
|
-
formValues:
|
|
175
|
+
formValues: v,
|
|
174
176
|
errors: b,
|
|
175
177
|
isSubmitting: y,
|
|
176
178
|
fieldLoading: V,
|
|
@@ -211,7 +213,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
211
213
|
}
|
|
212
214
|
);
|
|
213
215
|
const M = (t, a) => {
|
|
214
|
-
re(t, a.value, a.data), f("onChange",
|
|
216
|
+
re(t, a.value, a.data), f("onChange", v.value);
|
|
215
217
|
}, Ve = async () => {
|
|
216
218
|
if (!u.value) return !0;
|
|
217
219
|
const t = ne.value;
|
|
@@ -251,11 +253,11 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
251
253
|
if (!a) return;
|
|
252
254
|
const s = a.tagName.toLowerCase();
|
|
253
255
|
s !== "textarea" && s !== "button" && (a.isContentEditable || (t.preventDefault(), w()));
|
|
254
|
-
},
|
|
256
|
+
}, me = (t) => {
|
|
255
257
|
(t.metaKey || t.ctrlKey) && t.key === "s" && (t.preventDefault(), w());
|
|
256
258
|
};
|
|
257
259
|
xe({
|
|
258
|
-
formValues:
|
|
260
|
+
formValues: v,
|
|
259
261
|
errors: b,
|
|
260
262
|
isSubmitting: y,
|
|
261
263
|
handleSubmit: w,
|
|
@@ -269,17 +271,17 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
269
271
|
f("onCancel"), g && g?.close?.();
|
|
270
272
|
};
|
|
271
273
|
return (t, a) => (n(), c("form", {
|
|
272
|
-
class:
|
|
274
|
+
class: m(["form-container", i.class, e.isPage && "pb-10"]),
|
|
273
275
|
onSubmit: ae(w, ["prevent"]),
|
|
274
276
|
onKeydown: [
|
|
275
277
|
Ee,
|
|
276
|
-
ye(ae(
|
|
277
|
-
ye(ae(
|
|
278
|
+
ye(ae(me, ["meta", "prevent"]), ["s"]),
|
|
279
|
+
ye(ae(me, ["ctrl", "prevent"]), ["s"])
|
|
278
280
|
]
|
|
279
281
|
}, [
|
|
280
282
|
e.isPage ? (n(), c("div", {
|
|
281
283
|
key: 0,
|
|
282
|
-
class:
|
|
284
|
+
class: m([
|
|
283
285
|
"form-page-header sticky top-0 z-30 bg-background flex items-center justify-between pb-3.5 pt-4 -mt-3.5 mb-4.5",
|
|
284
286
|
e.pageHeaderClass
|
|
285
287
|
])
|
|
@@ -290,12 +292,12 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
290
292
|
class: "max-sm:w-8 max-sm:h-8 max-sm:min-w-8 max-sm:min-h-8 max-sm:px-0 shrink-0"
|
|
291
293
|
}), null, 16, ["fallback"]),
|
|
292
294
|
p("h1", {
|
|
293
|
-
class:
|
|
295
|
+
class: m(["text-foreground max-sm:text-lg text-fs-5 truncate", e.pageTitleClass])
|
|
294
296
|
}, j(ke.value), 3)
|
|
295
297
|
]),
|
|
296
298
|
p("div", st, [
|
|
297
299
|
he(t.$slots, "header-actions", {
|
|
298
|
-
values: l(
|
|
300
|
+
values: l(v),
|
|
299
301
|
isSubmitting: l(y),
|
|
300
302
|
handleSubmit: w
|
|
301
303
|
}, void 0, !0),
|
|
@@ -313,7 +315,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
313
315
|
], 2)) : d("", !0),
|
|
314
316
|
!e.schemaLoading && u.value && se.value.length > 0 ? (n(), c("div", {
|
|
315
317
|
key: 1,
|
|
316
|
-
class:
|
|
318
|
+
class: m(["form-timeline", e.timelineTextPosition == "right" ? "mb-2" : "mb-8"])
|
|
317
319
|
}, [
|
|
318
320
|
k(l(_e), {
|
|
319
321
|
steps: se.value,
|
|
@@ -325,21 +327,21 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
325
327
|
}, null, 8, ["steps", "activeStep", "textPosition"])
|
|
326
328
|
], 2)) : d("", !0),
|
|
327
329
|
p("div", {
|
|
328
|
-
class:
|
|
330
|
+
class: m(e.footer && L.value ? "pb-2" : "")
|
|
329
331
|
}, [
|
|
330
332
|
e.schemaLoading ? (n(), C(We, {
|
|
331
333
|
key: 0,
|
|
332
334
|
isGrouped: T.value
|
|
333
335
|
}, null, 8, ["isGrouped"])) : (n(), c("div", {
|
|
334
336
|
key: 1,
|
|
335
|
-
class:
|
|
337
|
+
class: m(P.value ? "flex flex-col lg:flex-row gap-10 lg:gap-16" : "")
|
|
336
338
|
}, [
|
|
337
339
|
P.value ? (n(), c("div", nt, [
|
|
338
340
|
h.value && l(R)(h.value) ? (n(), C(Qe, {
|
|
339
341
|
key: 0,
|
|
340
342
|
field: h.value,
|
|
341
|
-
value: l(
|
|
342
|
-
values: l(
|
|
343
|
+
value: l(v)[h.value.name],
|
|
344
|
+
values: l(v),
|
|
343
345
|
errors: l(b),
|
|
344
346
|
variant: U.value,
|
|
345
347
|
size: I.value,
|
|
@@ -353,17 +355,17 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
353
355
|
}, null, 8, ["field", "value", "values", "errors", "variant", "size", "rounded", "disabled", "readonly", "error", "isUpdate", "loading"])) : d("", !0)
|
|
354
356
|
])) : d("", !0),
|
|
355
357
|
p("div", {
|
|
356
|
-
class:
|
|
358
|
+
class: m(P.value ? "flex-1 min-w-0 order-last lg:order-first" : "w-full")
|
|
357
359
|
}, [
|
|
358
360
|
T.value ? T.value && !u.value && e.groupLayout === "basic" ? (n(), c("div", {
|
|
359
361
|
key: 1,
|
|
360
|
-
class:
|
|
362
|
+
class: m(["form-groups space-y-6", e.groupContainerClass])
|
|
361
363
|
}, [
|
|
362
|
-
(n(!0), c(je, null, Ke(H.value, (s, x,
|
|
364
|
+
(n(!0), c(je, null, Ke(H.value, (s, x, ve, W) => {
|
|
363
365
|
const fe = [
|
|
364
366
|
s.schema,
|
|
365
367
|
s.originalIndex,
|
|
366
|
-
l(
|
|
368
|
+
l(v),
|
|
367
369
|
l(b),
|
|
368
370
|
l(V),
|
|
369
371
|
U.value,
|
|
@@ -381,7 +383,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
381
383
|
if (W && W.key === s.originalIndex && Ye(W, fe)) return W;
|
|
382
384
|
const ge = (n(), c("div", {
|
|
383
385
|
key: s.originalIndex,
|
|
384
|
-
class:
|
|
386
|
+
class: m([
|
|
385
387
|
"form-group overflow-hidden bg-body",
|
|
386
388
|
e.groupClass,
|
|
387
389
|
H.value.length > 1 ? "border rounded" : ""
|
|
@@ -389,17 +391,17 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
389
391
|
}, [
|
|
390
392
|
J.value?.[s.originalIndex] ? (n(), c("div", {
|
|
391
393
|
key: 0,
|
|
392
|
-
class:
|
|
394
|
+
class: m(["form-group-header bg-muted/50 px-4 py-2.5 border-b", e.headerClass])
|
|
393
395
|
}, [
|
|
394
396
|
p("h3", ut, j(J.value[s.originalIndex]), 1),
|
|
395
397
|
Q.value?.[s.originalIndex] ? (n(), c("p", dt, j(Q.value[s.originalIndex]), 1)) : d("", !0)
|
|
396
398
|
], 2)) : d("", !0),
|
|
397
399
|
p("div", {
|
|
398
|
-
class:
|
|
400
|
+
class: m(["form-group-body", [e.groupBodyClass, H.value.length > 1 ? "p-4.5" : ""]])
|
|
399
401
|
}, [
|
|
400
402
|
k(X, {
|
|
401
403
|
schema: s.schema,
|
|
402
|
-
values: l(
|
|
404
|
+
values: l(v),
|
|
403
405
|
errors: l(b),
|
|
404
406
|
fieldLoading: l(V),
|
|
405
407
|
variant: U.value,
|
|
@@ -421,18 +423,18 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
421
423
|
}, a, 3), 128))
|
|
422
424
|
], 2)) : T.value && !u.value && e.groupLayout === "accordion" ? (n(), c("div", {
|
|
423
425
|
key: 2,
|
|
424
|
-
class:
|
|
426
|
+
class: m(e.groupContainerClass)
|
|
425
427
|
}, [
|
|
426
428
|
k(Xe, {
|
|
427
429
|
variant: "solid",
|
|
428
430
|
items: Ae.value,
|
|
429
431
|
"allow-multiple": "",
|
|
430
|
-
class:
|
|
432
|
+
class: m(e.groupClass)
|
|
431
433
|
}, {
|
|
432
434
|
content: be(({ item: s }) => [
|
|
433
435
|
k(X, {
|
|
434
436
|
schema: Te.value.get(s.id) || [],
|
|
435
|
-
values: l(
|
|
437
|
+
values: l(v),
|
|
436
438
|
errors: l(b),
|
|
437
439
|
fieldLoading: l(V),
|
|
438
440
|
variant: U.value,
|
|
@@ -454,14 +456,14 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
454
456
|
], 2)) : u.value ? (n(), c("div", ct, [
|
|
455
457
|
e.tabs?.[r.value] ? (n(), c("div", {
|
|
456
458
|
key: 0,
|
|
457
|
-
class:
|
|
459
|
+
class: m(["form-step-header mb-6", e.headerClass])
|
|
458
460
|
}, [
|
|
459
|
-
p("h2",
|
|
460
|
-
e.tabs[r.value].description ? (n(), c("p",
|
|
461
|
+
p("h2", mt, j(e.tabs[r.value].title), 1),
|
|
462
|
+
e.tabs[r.value].description ? (n(), c("p", vt, j(e.tabs[r.value].description), 1)) : d("", !0)
|
|
461
463
|
], 2)) : d("", !0),
|
|
462
464
|
k(X, {
|
|
463
465
|
schema: ne.value,
|
|
464
|
-
values: l(
|
|
466
|
+
values: l(v),
|
|
465
467
|
errors: l(b),
|
|
466
468
|
fieldLoading: l(V),
|
|
467
469
|
variant: U.value,
|
|
@@ -480,7 +482,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
480
482
|
])) : d("", !0) : (n(), c("div", ot, [
|
|
481
483
|
k(X, {
|
|
482
484
|
schema: e.schema,
|
|
483
|
-
values: l(
|
|
485
|
+
values: l(v),
|
|
484
486
|
errors: l(b),
|
|
485
487
|
fieldLoading: l(V),
|
|
486
488
|
variant: U.value,
|
|
@@ -520,7 +522,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
520
522
|
}, 8, ["schema", "values", "errors", "fieldLoading", "variant", "size", "rounded", "className", "isUpdate", "showRequiredAsterisk", "isFieldVisible", "isFieldDisabled", "isFieldReadonly", "excludeTypes", "layout"])
|
|
521
523
|
])),
|
|
522
524
|
he(t.$slots, "default", {
|
|
523
|
-
values: l(
|
|
525
|
+
values: l(v),
|
|
524
526
|
errors: l(b),
|
|
525
527
|
isSubmitting: l(y),
|
|
526
528
|
handleSubmit: w
|
|
@@ -532,7 +534,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
532
534
|
key: 2,
|
|
533
535
|
ref_key: "footerRef",
|
|
534
536
|
ref: F,
|
|
535
|
-
class:
|
|
537
|
+
class: m([
|
|
536
538
|
"form-footer items-center gap-3 z-20 rounded-b-md!",
|
|
537
539
|
e.isPage ? "flex sm:hidden" : "flex",
|
|
538
540
|
e.footerClass,
|
|
@@ -570,7 +572,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
570
572
|
}), null, 16, ["text", "loading"])) : d("", !0)
|
|
571
573
|
])) : d("", !0),
|
|
572
574
|
p("div", {
|
|
573
|
-
class:
|
|
575
|
+
class: m(["flex gap-3 items-center", [
|
|
574
576
|
u.value && "ml-auto",
|
|
575
577
|
!u.value || N.value ? "w-full justify-end" : ""
|
|
576
578
|
]])
|
|
@@ -613,5 +615,5 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
613
615
|
}
|
|
614
616
|
});
|
|
615
617
|
export {
|
|
616
|
-
|
|
618
|
+
Ut as default
|
|
617
619
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, computed as d, openBlock as n, createElementBlock as g, createElementVNode as R, createBlock as r, withCtx as x, createTextVNode as k, toDisplayString as I, createCommentVNode as v, unref as l } from "vue";
|
|
2
2
|
import B from "./TableView.vue.js";
|
|
3
|
-
import C from "./AccordionView.
|
|
3
|
+
import C from "./AccordionView.vue.js";
|
|
4
4
|
import U from "../Label.vue.js";
|
|
5
5
|
import N from "../Button.vue.js";
|
|
6
6
|
import { useCustomFieldRows as V } from "./composables/useCustomFieldRows.js";
|
|
@@ -4,7 +4,9 @@ import I from "../Button.vue.js";
|
|
|
4
4
|
import fe from "../Timeline/Timeline.vue.js";
|
|
5
5
|
import "@iconify/vue";
|
|
6
6
|
import { $t as E } from "../../utils/i18n.js";
|
|
7
|
+
/* empty css */
|
|
7
8
|
import "../../core/config.js";
|
|
9
|
+
/* empty css */
|
|
8
10
|
import he from "./ImportStep1.vue.js";
|
|
9
11
|
import ge from "./ImportStep2.vue.js";
|
|
10
12
|
import ye from "./ImportStep3.vue.js";
|
|
@@ -13,7 +15,7 @@ import { showToast as j } from "../../composables/useNotifications.js";
|
|
|
13
15
|
const we = { class: "px-2" }, xe = { class: "min-h-[300px]" }, De = {
|
|
14
16
|
key: 0,
|
|
15
17
|
class: "mt-4 p-3 bg-destructive/10 border border-destructive/20 rounded-lg text-sm text-destructive"
|
|
16
|
-
}, ke = { class: "list-disc pl-5 space-y-1" }, _e = { class: "flex items-center justify-between w-full" }, Ie = { key: 1 },
|
|
18
|
+
}, ke = { class: "list-disc pl-5 space-y-1" }, _e = { class: "flex items-center justify-between w-full" }, Ie = { key: 1 }, je = /* @__PURE__ */ ne({
|
|
17
19
|
__name: "ImportData",
|
|
18
20
|
props: {
|
|
19
21
|
title: { default: "Import Data" },
|
|
@@ -257,5 +259,5 @@ const we = { class: "px-2" }, xe = { class: "min-h-[300px]" }, De = {
|
|
|
257
259
|
}
|
|
258
260
|
});
|
|
259
261
|
export {
|
|
260
|
-
|
|
262
|
+
je as default
|
|
261
263
|
};
|
|
@@ -5,6 +5,7 @@ import T from "../Barcode/Barcode.vue.js";
|
|
|
5
5
|
import N from "../QRCode/QRCode.vue.js";
|
|
6
6
|
import k from "../Avatar.vue.js";
|
|
7
7
|
import M from "../StatusChip/StatusChip.vue.js";
|
|
8
|
+
/* empty css */
|
|
8
9
|
import B from "./InvoiceTotals.vue.js";
|
|
9
10
|
const S = { class: "flex items-center justify-between gap-3" }, V = { class: "shrink-0" }, $ = {
|
|
10
11
|
key: 0,
|
|
@@ -80,7 +81,7 @@ const S = { class: "flex items-center justify-between gap-3" }, V = { class: "sh
|
|
|
80
81
|
}, Se = {
|
|
81
82
|
key: 1,
|
|
82
83
|
class: "shrink-0"
|
|
83
|
-
}, Ve = { class: "w-full lg:w-2/5 min-w-[220px]" },
|
|
84
|
+
}, Ve = { class: "w-full lg:w-2/5 min-w-[220px]" }, Oe = /* @__PURE__ */ _({
|
|
84
85
|
__name: "InvoiceVariant1",
|
|
85
86
|
props: {
|
|
86
87
|
data: {},
|
|
@@ -392,5 +393,5 @@ const S = { class: "flex items-center justify-between gap-3" }, V = { class: "sh
|
|
|
392
393
|
}
|
|
393
394
|
});
|
|
394
395
|
export {
|
|
395
|
-
|
|
396
|
+
Oe as default
|
|
396
397
|
};
|
|
@@ -5,6 +5,7 @@ import I from "../Barcode/Barcode.vue.js";
|
|
|
5
5
|
import w from "../QRCode/QRCode.vue.js";
|
|
6
6
|
import v from "../Avatar.vue.js";
|
|
7
7
|
import j from "../StatusChip/StatusChip.vue.js";
|
|
8
|
+
/* empty css */
|
|
8
9
|
import z from "./InvoiceTotals.vue.js";
|
|
9
10
|
const N = {
|
|
10
11
|
key: 0,
|
|
@@ -57,7 +58,7 @@ const N = {
|
|
|
57
58
|
}, pe = {
|
|
58
59
|
key: 1,
|
|
59
60
|
class: "bg-white overflow-hidden"
|
|
60
|
-
},
|
|
61
|
+
}, je = /* @__PURE__ */ y({
|
|
61
62
|
__name: "InvoiceVariant2",
|
|
62
63
|
props: {
|
|
63
64
|
data: {},
|
|
@@ -262,5 +263,5 @@ const N = {
|
|
|
262
263
|
}
|
|
263
264
|
});
|
|
264
265
|
export {
|
|
265
|
-
|
|
266
|
+
je as default
|
|
266
267
|
};
|
|
@@ -5,6 +5,7 @@ import D from "../QRCode/QRCode.vue.js";
|
|
|
5
5
|
import N from "../Barcode/Barcode.vue.js";
|
|
6
6
|
import y from "../Avatar.vue.js";
|
|
7
7
|
import T from "../StatusChip/StatusChip.vue.js";
|
|
8
|
+
/* empty css */
|
|
8
9
|
import B from "./InvoiceTotals.vue.js";
|
|
9
10
|
const S = { class: "flex items-center gap-3" }, V = {
|
|
10
11
|
key: 0,
|
|
@@ -57,7 +58,7 @@ const S = { class: "flex items-center gap-3" }, V = {
|
|
|
57
58
|
}, Ve = { class: "text-foreground" }, $e = { class: "whitespace-pre-wrap" }, qe = {
|
|
58
59
|
key: 1,
|
|
59
60
|
class: "text-center text-muted-foreground opacity-70 text-xs"
|
|
60
|
-
},
|
|
61
|
+
}, Ue = /* @__PURE__ */ b({
|
|
61
62
|
__name: "InvoiceVariant3",
|
|
62
63
|
props: {
|
|
63
64
|
data: {},
|
|
@@ -307,5 +308,5 @@ const S = { class: "flex items-center gap-3" }, V = {
|
|
|
307
308
|
}
|
|
308
309
|
});
|
|
309
310
|
export {
|
|
310
|
-
|
|
311
|
+
Ue as default
|
|
311
312
|
};
|
|
@@ -5,6 +5,7 @@ import T from "../Barcode/Barcode.vue.js";
|
|
|
5
5
|
import N from "../QRCode/QRCode.vue.js";
|
|
6
6
|
import k from "../Avatar.vue.js";
|
|
7
7
|
import V from "../StatusChip/StatusChip.vue.js";
|
|
8
|
+
/* empty css */
|
|
8
9
|
import B from "./InvoiceTotals.vue.js";
|
|
9
10
|
const S = { class: "flex flex-col sm:flex-row justify-between items-start gap-4" }, $ = { class: "flex flex-col gap-3" }, M = { class: "flex items-center gap-2.5 mt-1.5 flex-wrap" }, q = { class: "flex flex-wrap gap-5" }, C = { key: 0 }, L = { key: 1 }, j = { key: 2 }, E = { key: 3 }, P = { class: "flex flex-col items-start sm:items-end gap-2 shrink-0" }, F = { key: 0 }, O = { key: 1 }, K = { key: 2 }, Q = { key: 3 }, U = { class: "flex flex-col gap-0.5" }, A = { key: 0 }, G = { key: 1 }, H = {
|
|
10
11
|
key: 2,
|
|
@@ -56,7 +57,7 @@ const S = { class: "flex flex-col sm:flex-row justify-between items-start gap-4"
|
|
|
56
57
|
}, Me = {
|
|
57
58
|
key: 1,
|
|
58
59
|
class: "shrink-0 inline-block overflow-hidden"
|
|
59
|
-
}, qe = { key: 0 }, Ce = { class: "w-full md:w-[42%] min-w-[260px]" }, Le = { key: 0 }, je = { key: 1 },
|
|
60
|
+
}, qe = { key: 0 }, Ce = { class: "w-full md:w-[42%] min-w-[260px]" }, Le = { key: 0 }, je = { key: 1 }, Je = /* @__PURE__ */ _({
|
|
60
61
|
__name: "InvoiceVariant4",
|
|
61
62
|
props: {
|
|
62
63
|
data: {},
|
|
@@ -373,5 +374,5 @@ const S = { class: "flex flex-col sm:flex-row justify-between items-start gap-4"
|
|
|
373
374
|
}
|
|
374
375
|
});
|
|
375
376
|
export {
|
|
376
|
-
|
|
377
|
+
Je as default
|
|
377
378
|
};
|
|
@@ -4,6 +4,7 @@ import W from "../Dropdown/Dropdown.vue.js";
|
|
|
4
4
|
import X from "../Dropdown/DropdownMenu.vue.js";
|
|
5
5
|
import { $t as C } from "../../utils/i18n.js";
|
|
6
6
|
import L from "../Badge.vue.js";
|
|
7
|
+
/* empty css */
|
|
7
8
|
import { useMultiSelectHydration as Y } from "./composables/useMultiSelectHydration.js";
|
|
8
9
|
const Z = ["tabindex", "data-testid"], _ = {
|
|
9
10
|
key: 0,
|
|
@@ -11,7 +12,7 @@ const Z = ["tabindex", "data-testid"], _ = {
|
|
|
11
12
|
}, ee = { class: "truncate min-w-0" }, te = ["onClick"], ae = {
|
|
12
13
|
key: 0,
|
|
13
14
|
class: "flex items-center gap-2 pl-2 shrink-0 text-muted-foreground"
|
|
14
|
-
},
|
|
15
|
+
}, me = /* @__PURE__ */ F({
|
|
15
16
|
__name: "MultiSelect",
|
|
16
17
|
props: {
|
|
17
18
|
modelValue: { default: () => [] },
|
|
@@ -236,5 +237,5 @@ const Z = ["tabindex", "data-testid"], _ = {
|
|
|
236
237
|
}
|
|
237
238
|
});
|
|
238
239
|
export {
|
|
239
|
-
|
|
240
|
+
me as default
|
|
240
241
|
};
|
|
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
|
|
|
3
3
|
import v from "./Modal.vue.js";
|
|
4
4
|
import N from "./CommandPalette/CommandPaletteContent.vue.js";
|
|
5
5
|
import { $t as U } from "../utils/i18n.js";
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
const V = { class: "block truncate -text-fs-1.5" }, S = { class: "ml-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ml-1" }, A = /* @__PURE__ */ x({
|
|
8
8
|
__name: "NavbarCommandPalette",
|
|
9
9
|
props: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as F, computed as o, openBlock as i, createElementBlock as a, normalizeClass as
|
|
1
|
+
import { defineComponent as F, computed as o, openBlock as i, createElementBlock as a, normalizeClass as m, createVNode as v, withCtx as h, createTextVNode as b, toDisplayString as l, createCommentVNode as u, createElementVNode as s, Fragment as j, renderList as D, createBlock as y } from "vue";
|
|
2
2
|
import _ from "../Icon.vue.js";
|
|
3
3
|
import E from "../Button.vue.js";
|
|
4
4
|
import S from "../Badge.vue.js";
|
|
5
|
+
/* empty css */
|
|
5
6
|
import { $t as n } from "../../utils/i18n.js";
|
|
6
7
|
const L = {
|
|
7
8
|
key: 0,
|
|
@@ -12,7 +13,7 @@ const L = {
|
|
|
12
13
|
}, A = { class: "mb-8 text-center flex items-center justify-center" }, G = { class: "text-4xl font-extrabold text-foreground tracking-tight" }, H = {
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "text-muted-foreground text-sm font-medium ml-1 self-end mb-1.5 opacity-80"
|
|
15
|
-
}, J = { class: "flex-1 space-y-2.5 mb-8" }, K = { class: "mt-0 shrink-0 transition-transform group-hover/feature:scale-110" }, O = { class: "mt-auto pt-4 border-t border-border/70" },
|
|
16
|
+
}, J = { class: "flex-1 space-y-2.5 mb-8" }, K = { class: "mt-0 shrink-0 transition-transform group-hover/feature:scale-110" }, O = { class: "mt-auto pt-4 border-t border-border/70" }, ee = /* @__PURE__ */ F({
|
|
16
17
|
__name: "PricingPlanItem",
|
|
17
18
|
props: {
|
|
18
19
|
item: {},
|
|
@@ -42,7 +43,7 @@ const L = {
|
|
|
42
43
|
return t !== "vlite.pricingPlan.mostPopular" ? t : "Most Popular";
|
|
43
44
|
});
|
|
44
45
|
return (t, r) => (i(), a("div", {
|
|
45
|
-
class:
|
|
46
|
+
class: m(C.value),
|
|
46
47
|
onClick: w
|
|
47
48
|
}, [
|
|
48
49
|
x.value ? (i(), a("div", L, [
|
|
@@ -55,14 +56,14 @@ const L = {
|
|
|
55
56
|
]),
|
|
56
57
|
_: 1
|
|
57
58
|
}, 8, ["variant"])
|
|
58
|
-
])) :
|
|
59
|
+
])) : u("", !0),
|
|
59
60
|
s("div", M, [
|
|
60
61
|
s("h3", R, l(I.value), 1),
|
|
61
|
-
p.value ? (i(), a("p", q, l(p.value), 1)) :
|
|
62
|
+
p.value ? (i(), a("p", q, l(p.value), 1)) : u("", !0)
|
|
62
63
|
]),
|
|
63
64
|
s("div", A, [
|
|
64
65
|
s("span", G, l(c.item.price), 1),
|
|
65
|
-
f.value ? (i(), a("span", H, l(f.value), 1)) :
|
|
66
|
+
f.value ? (i(), a("span", H, l(f.value), 1)) : u("", !0)
|
|
66
67
|
]),
|
|
67
68
|
s("ul", J, [
|
|
68
69
|
(i(!0), a(j, null, D(c.item.features, (d, N) => (i(), a("li", {
|
|
@@ -81,7 +82,7 @@ const L = {
|
|
|
81
82
|
}))
|
|
82
83
|
]),
|
|
83
84
|
s("span", {
|
|
84
|
-
class:
|
|
85
|
+
class: m(
|
|
85
86
|
g(d) ? "text-foreground/90 font-medium" : "text-muted-foreground/60 decoration-slate-300/50"
|
|
86
87
|
)
|
|
87
88
|
}, l($(d)), 3)
|
|
@@ -90,7 +91,7 @@ const L = {
|
|
|
90
91
|
s("div", O, [
|
|
91
92
|
v(E, {
|
|
92
93
|
variant: V.value,
|
|
93
|
-
class:
|
|
94
|
+
class: m(["w-full font-semibold shadow-sm rounded-lg", { "ring-2 ring-primary ring-offset-2": c.selected }]),
|
|
94
95
|
size: "lg"
|
|
95
96
|
}, {
|
|
96
97
|
default: h(() => [
|
|
@@ -103,5 +104,5 @@ const L = {
|
|
|
103
104
|
}
|
|
104
105
|
});
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
+
ee as default
|
|
107
108
|
};
|