vlite3 0.9.7 → 0.9.8
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/Accordion/Accordion.vue.d.ts +1 -1
- package/components/Accordion/AccordionItem.vue.d.ts +1 -1
- package/components/Accordion/AccordionTrigger.vue.d.ts +1 -1
- package/components/Alert.vue.d.ts +1 -1
- package/components/Avatar.vue.d.ts +2 -2
- package/components/Avatar.vue.js +1 -1
- package/components/AvatarUploader/AvatarUploader.vue.d.ts +1 -1
- package/components/BackButton.vue.d.ts +1 -1
- package/components/Badge.vue.d.ts +1 -1
- package/components/Barcode/Barcode.vue.d.ts +1 -1
- package/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -1
- package/components/Button.vue.d.ts +2 -2
- package/components/CheckBox.vue.d.ts +1 -1
- package/components/Chip/Chip.vue.d.ts +1 -1
- package/components/ColorPicker/ColorIro.vue3.js +2 -2
- package/components/ColorPicker/ColorPicker.vue.js +2 -2
- package/components/DataTable/DataTable.vue.js +55 -54
- package/components/DataTable/DataTableHeader.vue.js +5 -3
- package/components/DataTable/DataTableRow.vue.js +23 -24
- package/components/DatePicker.vue.js +93 -73
- package/components/Form/FormField.vue.d.ts +1 -1
- package/components/Input.vue.d.ts +3 -3
- package/components/Kanban/KanbanBoard.vue2.js +29 -27
- package/components/List/List.vue.d.ts +1 -1
- package/components/List/List.vue.js +1 -1
- package/components/Navbar/Navbar.vue.d.ts +2 -2
- package/components/Navbar/NavbarItem.vue.d.ts +1 -1
- package/components/Navbar/NavbarTabs.vue.d.ts +1 -1
- package/components/NumberInput.vue.d.ts +1 -1
- package/components/OTPInput/OTPInput.vue.d.ts +1 -1
- package/components/PermissionMatrix/PermissionEditor.vue.d.ts +2 -2
- package/components/PermissionMatrix/PermissionMatrix.vue.d.ts +2 -2
- package/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
- package/components/Screen/Screen.vue.d.ts +1 -1
- package/components/Screen/ScreenFilter.vue.js +1 -1
- package/components/SidePanel.vue.d.ts +1 -1
- package/components/Spinner/Spinner.vue.d.ts +2 -2
- package/components/Stats/Stats.vue.d.ts +1 -1
- package/components/StatusChip/StatusChip.vue.d.ts +1 -1
- package/index.js +255 -254
- package/package.json +1 -1
- package/utils/functions.d.ts +25 -10
- package/utils/functions.js +112 -70
- /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as I, computed as d, openBlock as g, createBlock as D, unref as o, withCtx as u, createElementVNode as N, createVNode as m, renderSlot as T, mergeProps as x } from "vue";
|
|
2
|
+
import w from "./Button.vue.js";
|
|
3
|
+
import z from "./Dropdown/Dropdown.vue.js";
|
|
4
4
|
import "@iconify/vue";
|
|
5
|
-
import { $t as
|
|
5
|
+
import { $t as k } from "../utils/i18n.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
|
-
import
|
|
8
|
+
import $, { TimePicker as B } from "v-datepicker-lite";
|
|
9
9
|
import "v-datepicker-lite/style.css";
|
|
10
|
-
const
|
|
10
|
+
const j = { class: "overflow-hidden min-w-[300px]" }, q = /* @__PURE__ */ I({
|
|
11
11
|
__name: "DatePicker",
|
|
12
12
|
props: {
|
|
13
13
|
placeholder: {},
|
|
@@ -29,112 +29,132 @@ const $ = { class: "overflow-hidden min-w-[300px]" }, M = /* @__PURE__ */ k({
|
|
|
29
29
|
readonly: { type: Boolean }
|
|
30
30
|
},
|
|
31
31
|
emits: ["update:modelValue", "change"],
|
|
32
|
-
setup(
|
|
33
|
-
const l =
|
|
32
|
+
setup(t, { emit: P }) {
|
|
33
|
+
const l = t, s = P, a = d({
|
|
34
34
|
get: () => l.modelValue ?? l.value,
|
|
35
|
-
set: (
|
|
36
|
-
s("update:modelValue",
|
|
35
|
+
set: (e) => {
|
|
36
|
+
s("update:modelValue", e), s("change", e);
|
|
37
37
|
}
|
|
38
|
-
}),
|
|
38
|
+
}), S = (e) => e instanceof Date ? e.getHours() !== 0 || e.getMinutes() !== 0 : typeof e == "string" ? e.includes("T") || /\d{2}:\d{2}/.test(e) : !1, c = (e) => {
|
|
39
|
+
try {
|
|
40
|
+
if (e && typeof e == "object" && e.start && e.end) {
|
|
41
|
+
const b = new Date(e.start), y = new Date(e.end);
|
|
42
|
+
if (!isNaN(b.getTime()) && !isNaN(y.getTime())) return { start: b, end: y };
|
|
43
|
+
}
|
|
44
|
+
const n = new Date(e);
|
|
45
|
+
if (isNaN(n.getTime())) return null;
|
|
46
|
+
const i = new Date(n), h = new Date(n);
|
|
47
|
+
return h.setDate(i.getDate() + 6), { start: i, end: h };
|
|
48
|
+
} catch {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
}, r = d(() => {
|
|
39
52
|
if (!a.value) return "";
|
|
40
53
|
if (l.mode === "time") return a.value;
|
|
54
|
+
if (l.mode === "week") {
|
|
55
|
+
const e = c(a.value);
|
|
56
|
+
if (!e) return "";
|
|
57
|
+
const n = e.start.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" }), i = e.end.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
58
|
+
return `${n} - ${i}`;
|
|
59
|
+
}
|
|
41
60
|
try {
|
|
42
|
-
const
|
|
43
|
-
if (isNaN(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
i.setDate(t.getDate() + 6);
|
|
47
|
-
const w = t.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" }), S = i.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
48
|
-
return `${w} - ${S}`;
|
|
49
|
-
}
|
|
50
|
-
const d = l.mode === "dateTime" && x(a.value);
|
|
51
|
-
return t.toLocaleDateString("en-US", {
|
|
61
|
+
const e = new Date(a.value);
|
|
62
|
+
if (isNaN(e.getTime())) return String(a.value);
|
|
63
|
+
const n = l.mode === "dateTime" && S(a.value);
|
|
64
|
+
return e.toLocaleDateString("en-US", {
|
|
52
65
|
month: "short",
|
|
53
66
|
day: "numeric",
|
|
54
67
|
year: "numeric",
|
|
55
|
-
...
|
|
68
|
+
...n ? { hour: "2-digit", minute: "2-digit", hour12: l.timeFormat === "12h" } : {}
|
|
56
69
|
});
|
|
57
70
|
} catch {
|
|
58
71
|
return String(a.value);
|
|
59
72
|
}
|
|
60
|
-
}),
|
|
61
|
-
if (l.placeholderI18n) return
|
|
73
|
+
}), f = d(() => {
|
|
74
|
+
if (l.placeholderI18n) return k(l.placeholderI18n);
|
|
62
75
|
if (l.placeholder !== void 0) return l.placeholder;
|
|
63
|
-
const
|
|
64
|
-
return
|
|
65
|
-
}),
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
76
|
+
const e = k("vlite.datePicker.placeholder");
|
|
77
|
+
return e !== "vlite.datePicker.placeholder" ? e : "Select date";
|
|
78
|
+
}), v = (e) => {
|
|
79
|
+
if (l.mode === "week") {
|
|
80
|
+
const n = c(e);
|
|
81
|
+
if (n) {
|
|
82
|
+
a.value = { start: n.start, end: n.end };
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
a.value = e;
|
|
87
|
+
}, V = d(() => l.mode === "week" && a.value && typeof a.value == "object" && a.value.start ? a.value.start : a.value);
|
|
88
|
+
return (e, n) => t.mode !== "time" ? (g(), D(o(z), {
|
|
69
89
|
key: 0,
|
|
70
90
|
position: "bottom-start",
|
|
71
91
|
class: "w-full",
|
|
72
92
|
maxHeight: "max-h-[500px]",
|
|
73
|
-
teleport:
|
|
74
|
-
disabled:
|
|
93
|
+
teleport: t.teleport,
|
|
94
|
+
disabled: t.disabled || t.readonly
|
|
75
95
|
}, {
|
|
76
|
-
trigger:
|
|
77
|
-
|
|
96
|
+
trigger: u(() => [
|
|
97
|
+
T(e.$slots, "default", {
|
|
78
98
|
value: a.value,
|
|
79
|
-
displayValue:
|
|
99
|
+
displayValue: r.value
|
|
80
100
|
}, () => [
|
|
81
|
-
|
|
82
|
-
text:
|
|
83
|
-
variant:
|
|
84
|
-
size:
|
|
85
|
-
icon:
|
|
86
|
-
disabled:
|
|
87
|
-
},
|
|
101
|
+
m(w, x({
|
|
102
|
+
text: r.value || f.value,
|
|
103
|
+
variant: t.variant || "outline",
|
|
104
|
+
size: t.size || "md",
|
|
105
|
+
icon: t.icon || "lucide:calendar",
|
|
106
|
+
disabled: t.disabled
|
|
107
|
+
}, t.btnProps, { class: "w-full justify-start text-left font-normal" }), null, 16, ["text", "variant", "size", "icon", "disabled"])
|
|
88
108
|
])
|
|
89
109
|
]),
|
|
90
|
-
default:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
value:
|
|
94
|
-
mode:
|
|
95
|
-
"min-date":
|
|
96
|
-
"max-date":
|
|
97
|
-
"disabled-dates":
|
|
110
|
+
default: u(() => [
|
|
111
|
+
N("div", j, [
|
|
112
|
+
m(o($), {
|
|
113
|
+
value: V.value,
|
|
114
|
+
mode: t.mode,
|
|
115
|
+
"min-date": t.minDate,
|
|
116
|
+
"max-date": t.maxDate,
|
|
117
|
+
"disabled-dates": t.disabledDates,
|
|
98
118
|
class: "w-full",
|
|
99
|
-
minuteInterval:
|
|
119
|
+
minuteInterval: t.minuteInterval,
|
|
100
120
|
"time-format": "12h",
|
|
101
|
-
disabled:
|
|
102
|
-
readonly:
|
|
103
|
-
onChange:
|
|
121
|
+
disabled: t.disabled,
|
|
122
|
+
readonly: t.readonly,
|
|
123
|
+
onChange: v
|
|
104
124
|
}, null, 8, ["value", "mode", "min-date", "max-date", "disabled-dates", "minuteInterval", "disabled", "readonly"])
|
|
105
125
|
])
|
|
106
126
|
]),
|
|
107
127
|
_: 3
|
|
108
|
-
}, 8, ["teleport", "disabled"])) : (
|
|
128
|
+
}, 8, ["teleport", "disabled"])) : (g(), D(o(B), {
|
|
109
129
|
key: 1,
|
|
110
130
|
"model-value": a.value,
|
|
111
131
|
"onUpdate:modelValue": [
|
|
112
|
-
|
|
113
|
-
|
|
132
|
+
n[0] || (n[0] = (i) => a.value = i),
|
|
133
|
+
v
|
|
114
134
|
],
|
|
115
|
-
mode:
|
|
116
|
-
"min-date":
|
|
117
|
-
"max-date":
|
|
118
|
-
"disabled-dates":
|
|
135
|
+
mode: t.mode,
|
|
136
|
+
"min-date": t.minDate,
|
|
137
|
+
"max-date": t.maxDate,
|
|
138
|
+
"disabled-dates": t.disabledDates,
|
|
119
139
|
class: "w-full",
|
|
120
|
-
minuteInterval:
|
|
140
|
+
minuteInterval: t.minuteInterval,
|
|
121
141
|
"time-format": "12h",
|
|
122
|
-
disabled:
|
|
123
|
-
readonly:
|
|
142
|
+
disabled: t.disabled,
|
|
143
|
+
readonly: t.readonly
|
|
124
144
|
}, {
|
|
125
|
-
default:
|
|
126
|
-
|
|
127
|
-
text:
|
|
128
|
-
variant:
|
|
129
|
-
size:
|
|
130
|
-
icon:
|
|
131
|
-
disabled:
|
|
132
|
-
},
|
|
145
|
+
default: u(() => [
|
|
146
|
+
m(w, x({
|
|
147
|
+
text: r.value || f.value,
|
|
148
|
+
variant: t.variant || "outline",
|
|
149
|
+
size: t.size || "md",
|
|
150
|
+
icon: t.icon || (t.mode === "time" ? "lucide:clock" : "lucide:calendar"),
|
|
151
|
+
disabled: t.disabled
|
|
152
|
+
}, t.btnProps, { class: "w-full justify-start text-left font-normal" }), null, 16, ["text", "variant", "size", "icon", "disabled"])
|
|
133
153
|
]),
|
|
134
154
|
_: 1
|
|
135
155
|
}, 8, ["model-value", "mode", "min-date", "max-date", "disabled-dates", "minuteInterval", "disabled", "readonly"]));
|
|
136
156
|
}
|
|
137
157
|
});
|
|
138
158
|
export {
|
|
139
|
-
|
|
159
|
+
q as default
|
|
140
160
|
};
|
|
@@ -27,10 +27,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
27
27
|
onAddonAction?: (action: string) => any;
|
|
28
28
|
onAddonChange?: (name: string, payload: IFormFieldChangePayload) => any;
|
|
29
29
|
}>, {
|
|
30
|
-
readonly: boolean;
|
|
31
30
|
variant: InputVariant;
|
|
32
31
|
size: InputSize;
|
|
33
32
|
rounded: InputRounded;
|
|
33
|
+
readonly: boolean;
|
|
34
34
|
error: string;
|
|
35
35
|
disabled: boolean;
|
|
36
36
|
loading: boolean;
|
|
@@ -26,12 +26,12 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {}, {},
|
|
|
26
26
|
"onClick:icon"?: (event: MouseEvent) => any;
|
|
27
27
|
"onClick:icon-right"?: (event: MouseEvent) => any;
|
|
28
28
|
}>, {
|
|
29
|
-
|
|
29
|
+
type: import('../types').InputType;
|
|
30
|
+
class: string;
|
|
30
31
|
variant: InputVariant;
|
|
31
32
|
size: InputSize;
|
|
32
33
|
rounded: InputRounded;
|
|
33
|
-
|
|
34
|
-
class: string;
|
|
34
|
+
readonly: boolean;
|
|
35
35
|
disabled: boolean;
|
|
36
36
|
loading: boolean;
|
|
37
37
|
modelValue: string | number;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { defineComponent as T, defineAsyncComponent as V, ref as j, watch as z, onMounted as A, computed as F, openBlock as d, createElementBlock as i, normalizeClass as
|
|
1
|
+
import { defineComponent as T, defineAsyncComponent as V, ref as j, watch as z, onMounted as A, computed as F, openBlock as d, createElementBlock as i, normalizeClass as c, createElementVNode as r, renderSlot as g, unref as n, toDisplayString as y, setBlockTracking as v, Fragment as f, renderList as h, createVNode as x, withCtx as H, isMemoSame as J, createCommentVNode as O } from "vue";
|
|
2
2
|
import { VueDraggable as R } from "vue-draggable-plus";
|
|
3
3
|
import { useKanbanBoard as q } from "./useKanbanBoard.js";
|
|
4
|
+
import "../../core/config.js";
|
|
5
|
+
import "dayjs";
|
|
4
6
|
import { $t as G } from "../../utils/i18n.js";
|
|
5
7
|
const P = { class: "flex items-center justify-between font-semibold text-foreground" }, Q = {
|
|
6
8
|
key: 0,
|
|
@@ -8,7 +10,7 @@ const P = { class: "flex items-center justify-between font-semibold text-foregro
|
|
|
8
10
|
}, W = { class: "bg-body p-3 rounded-md shadow-sm border border-border text-sm" }, X = {
|
|
9
11
|
key: 0,
|
|
10
12
|
class: "py-4 flex justify-center shrink-0"
|
|
11
|
-
},
|
|
13
|
+
}, ae = /* @__PURE__ */ T({
|
|
12
14
|
__name: "KanbanBoard",
|
|
13
15
|
props: {
|
|
14
16
|
column: {},
|
|
@@ -24,42 +26,42 @@ const P = { class: "flex items-center justify-between font-semibold text-foregro
|
|
|
24
26
|
},
|
|
25
27
|
emits: ["change", "update:columnData"],
|
|
26
28
|
setup(o, { emit: C }) {
|
|
27
|
-
const k = V(() => import("../Spinner/Spinner.vue2.js")),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
const k = V(() => import("../Spinner/Spinner.vue2.js")), t = o, m = C, D = j(null), { items: s, isInitialLoading: I, isLoadingMore: S, pageInfo: w, loadInitial: B, loadMore: K } = q(
|
|
30
|
+
t.column.id,
|
|
31
|
+
t.loadData,
|
|
32
|
+
t.columnData
|
|
31
33
|
), N = (e) => {
|
|
32
|
-
s.value = e,
|
|
34
|
+
s.value = e, m("update:columnData", e);
|
|
33
35
|
};
|
|
34
36
|
z(
|
|
35
|
-
() =>
|
|
37
|
+
() => t.columnData,
|
|
36
38
|
(e) => {
|
|
37
39
|
e && JSON.stringify(e) !== JSON.stringify(s.value) && (s.value = [...e]);
|
|
38
40
|
},
|
|
39
41
|
{ deep: !0 }
|
|
40
42
|
), A(() => {
|
|
41
|
-
|
|
43
|
+
t.loadData && (!t.columnData || t.columnData.length === 0) && B();
|
|
42
44
|
});
|
|
43
45
|
const $ = (e) => {
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
+
const l = e.target;
|
|
47
|
+
l.scrollTop + l.clientHeight >= l.scrollHeight - 50 && K();
|
|
46
48
|
}, M = (e) => {
|
|
47
|
-
|
|
49
|
+
m("change", { type: "add", event: e, columnId: t.column.id });
|
|
48
50
|
}, U = (e) => {
|
|
49
|
-
|
|
51
|
+
m("change", { type: "remove", event: e, columnId: t.column.id });
|
|
50
52
|
}, E = (e) => {
|
|
51
|
-
|
|
53
|
+
m("change", { type: "update", event: e, columnId: t.column.id });
|
|
52
54
|
}, L = F(
|
|
53
|
-
() =>
|
|
55
|
+
() => t.column.titleI18n ? G(t.column.titleI18n) : t.column.title
|
|
54
56
|
);
|
|
55
|
-
return (e,
|
|
56
|
-
class:
|
|
57
|
+
return (e, l) => (d(), i("div", {
|
|
58
|
+
class: c([
|
|
57
59
|
"flex flex-col bg-card rounded-lg overflow-hidden shrink-0 border border-border/60",
|
|
58
60
|
o.boardClass || "w-80"
|
|
59
61
|
])
|
|
60
62
|
}, [
|
|
61
63
|
r("div", {
|
|
62
|
-
class:
|
|
64
|
+
class: c(["p-3 border-b border-border/80 ", o.headerClass])
|
|
63
65
|
}, [
|
|
64
66
|
g(e.$slots, "header", {
|
|
65
67
|
column: o.column,
|
|
@@ -73,20 +75,20 @@ const P = { class: "flex items-center justify-between font-semibold text-foregro
|
|
|
73
75
|
r("div", {
|
|
74
76
|
ref_key: "scrollContainer",
|
|
75
77
|
ref: D,
|
|
76
|
-
class:
|
|
78
|
+
class: c([
|
|
77
79
|
"flex-1 flex flex-col overflow-y-auto p-3 custom-scrollbar scrollable-container",
|
|
78
80
|
o.bodyClass
|
|
79
81
|
]),
|
|
80
82
|
onScroll: $
|
|
81
83
|
}, [
|
|
82
84
|
n(I) && n(s).length === 0 ? (d(), i("div", Q, [
|
|
83
|
-
|
|
85
|
+
l[0] || (v(-1, !0), (l[0] = (d(), i(f, null, h(3, (a) => r("div", {
|
|
84
86
|
key: "skeleton-" + a,
|
|
85
87
|
class: "bg-body p-3 rounded-md shadow-sm border border-border animate-pulse flex flex-col gap-3"
|
|
86
|
-
}, [...
|
|
88
|
+
}, [...l[3] || (l[3] = [
|
|
87
89
|
r("div", { class: "h-4 bg-muted/60 rounded w-2/3" }, null, -1),
|
|
88
90
|
r("div", { class: "h-3 bg-muted/60 rounded w-1/3" }, null, -1)
|
|
89
|
-
])])), 64))).cacheIndex = 0, v(1),
|
|
91
|
+
])])), 64))).cacheIndex = 0, v(1), l[0])
|
|
90
92
|
])) : (d(), i(f, { key: 1 }, [
|
|
91
93
|
g(e.$slots, "prepend-item", {
|
|
92
94
|
column: o.column,
|
|
@@ -98,15 +100,15 @@ const P = { class: "flex items-center justify-between font-semibold text-foregro
|
|
|
98
100
|
group: o.group,
|
|
99
101
|
animation: 150,
|
|
100
102
|
ghostClass: o.ghostClass || "kanban-ghost",
|
|
101
|
-
class:
|
|
103
|
+
class: c(["flex-1 flex flex-col gap-2 min-h-[50px] py-1", o.draggableClass]),
|
|
102
104
|
onAdd: M,
|
|
103
105
|
onRemove: U,
|
|
104
106
|
onUpdate: E
|
|
105
107
|
}, {
|
|
106
108
|
default: H(() => [
|
|
107
|
-
(d(!0), i(f, null, h(n(s), (a, Y, Z,
|
|
109
|
+
(d(!0), i(f, null, h(n(s), (a, Y, Z, u) => {
|
|
108
110
|
const b = [a];
|
|
109
|
-
if (
|
|
111
|
+
if (u && u.key === a[o.itemKey || "id"] && J(u, b)) return u;
|
|
110
112
|
const p = (d(), i("div", {
|
|
111
113
|
key: a[o.itemKey || "id"],
|
|
112
114
|
class: "cursor-grab active:cursor-grabbing"
|
|
@@ -119,7 +121,7 @@ const P = { class: "flex items-center justify-between font-semibold text-foregro
|
|
|
119
121
|
], !0)
|
|
120
122
|
]));
|
|
121
123
|
return p.memo = b, p;
|
|
122
|
-
},
|
|
124
|
+
}, l, 1), 128))
|
|
123
125
|
]),
|
|
124
126
|
_: 3
|
|
125
127
|
}, 8, ["model-value", "group", "ghostClass", "class"]),
|
|
@@ -140,5 +142,5 @@ const P = { class: "flex items-center justify-between font-semibold text-foregro
|
|
|
140
142
|
}
|
|
141
143
|
});
|
|
142
144
|
export {
|
|
143
|
-
|
|
145
|
+
ae as default
|
|
144
146
|
};
|
|
@@ -2,8 +2,8 @@ import { ListProps } from './types';
|
|
|
2
2
|
declare function __VLS_template(): any;
|
|
3
3
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ListProps> & Readonly<{}>, {
|
|
5
|
-
variant: import('./types').ListVariant;
|
|
6
5
|
class: string;
|
|
6
|
+
variant: import('./types').ListVariant;
|
|
7
7
|
loading: boolean;
|
|
8
8
|
columns: import('./types').ListColumns;
|
|
9
9
|
showColon: boolean;
|
|
@@ -5,7 +5,7 @@ import { $t as U } from "../../utils/i18n.js";
|
|
|
5
5
|
import { getObjectValue as $ } from "./utils.js";
|
|
6
6
|
const W = {
|
|
7
7
|
key: 0,
|
|
8
|
-
class: "px-3 py-2.5 border-b border-border/70 flex items-center gap-2 bg-
|
|
8
|
+
class: "px-3 py-2.5 border-b border-border/70 flex items-center gap-2 bg-muted"
|
|
9
9
|
}, X = { class: "text-sm font-semibold text-gray-900 tracking-tight" }, Y = { class: "sm:hidden" }, Z = { class: "hidden sm:block" }, _ = { class: "sm:hidden" }, ee = { class: "hidden sm:block" }, te = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "px-3 py-8 text-center text-sm text-muted-foreground"
|
|
@@ -82,11 +82,11 @@ declare const __VLS_component: import('vue').DefineComponent<NavbarProps, {}, {}
|
|
|
82
82
|
}, string, import('vue').PublicProps, Readonly<NavbarProps> & Readonly<{
|
|
83
83
|
"onToggle-mobile"?: () => any;
|
|
84
84
|
}>, {
|
|
85
|
-
variant: import('../../types/navbar.type').NavbarVariant;
|
|
86
|
-
floating: boolean;
|
|
87
85
|
class: string;
|
|
88
86
|
height: string;
|
|
89
87
|
border: boolean;
|
|
88
|
+
variant: import('../../types/navbar.type').NavbarVariant;
|
|
89
|
+
floating: boolean;
|
|
90
90
|
compact: boolean;
|
|
91
91
|
position: import('../../types/navbar.type').NavbarPosition;
|
|
92
92
|
contentClass: string;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
25
25
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
26
26
|
onClick?: (event: MouseEvent) => any;
|
|
27
27
|
}>, {
|
|
28
|
-
variant: "default" | "pill" | "underline" | "ghost";
|
|
29
28
|
class: string;
|
|
29
|
+
variant: "default" | "pill" | "underline" | "ghost";
|
|
30
30
|
disabled: boolean;
|
|
31
31
|
active: boolean;
|
|
32
32
|
orientation: "horizontal" | "vertical";
|
|
@@ -10,9 +10,9 @@ interface Props {
|
|
|
10
10
|
class?: string;
|
|
11
11
|
}
|
|
12
12
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
class: string;
|
|
13
14
|
variant: NavbarTabsVariant;
|
|
14
15
|
size: NavbarTabsSize;
|
|
15
|
-
class: string;
|
|
16
16
|
activeClass: string;
|
|
17
17
|
inactiveClass: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -24,11 +24,11 @@ declare const _default: import('vue').DefineComponent<NumberInputProps, {}, {},
|
|
|
24
24
|
onFocus?: (event: FocusEvent) => any;
|
|
25
25
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
26
26
|
}>, {
|
|
27
|
-
readonly: boolean;
|
|
28
27
|
mode: "solid" | "outline" | "ghost";
|
|
29
28
|
variant: "split" | "stacked";
|
|
30
29
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
31
30
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
31
|
+
readonly: boolean;
|
|
32
32
|
disabled: boolean;
|
|
33
33
|
modelValue: number;
|
|
34
34
|
step: number;
|
|
@@ -20,9 +20,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
20
20
|
onComplete?: (value: string) => any;
|
|
21
21
|
}>, {
|
|
22
22
|
length: number;
|
|
23
|
+
type: "text" | "number";
|
|
23
24
|
variant: "solid" | "outline" | "ghost";
|
|
24
25
|
size: "sm" | "md" | "lg";
|
|
25
|
-
type: "text" | "number";
|
|
26
26
|
error: boolean;
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
placeholder: string;
|
|
@@ -18,9 +18,9 @@ declare const _default: import('vue').DefineComponent<PermissionEditorProps, {},
|
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<PermissionEditorProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
20
20
|
}>, {
|
|
21
|
-
readonly: boolean;
|
|
22
|
-
size: PermissionMatrixSize;
|
|
23
21
|
class: string;
|
|
22
|
+
size: PermissionMatrixSize;
|
|
23
|
+
readonly: boolean;
|
|
24
24
|
layout: PermissionEditorLayout;
|
|
25
25
|
searchable: boolean;
|
|
26
26
|
defaultExpanded: string[];
|
|
@@ -4,9 +4,9 @@ declare const _default: import('vue').DefineComponent<PermissionMatrixProps, {},
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<PermissionMatrixProps> & Readonly<{
|
|
5
5
|
"onUpdate:modelValue"?: (value: PermissionMap) => any;
|
|
6
6
|
}>, {
|
|
7
|
-
readonly: boolean;
|
|
8
|
-
size: PermissionMatrixSize;
|
|
9
7
|
class: string;
|
|
8
|
+
size: PermissionMatrixSize;
|
|
9
|
+
readonly: boolean;
|
|
10
10
|
searchable: boolean;
|
|
11
11
|
toggleMode: import('./types').PermissionToggleMode;
|
|
12
12
|
collapsible: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ProgressBarProps, ProgressBarVariant, ProgressBarSize } from '../../types/progressbar';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<ProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
3
|
+
type: import('../../types/progressbar').ProgressBarType;
|
|
3
4
|
variant: ProgressBarVariant;
|
|
4
5
|
size: ProgressBarSize;
|
|
5
6
|
rounded: string;
|
|
6
|
-
type: import('../../types/progressbar').ProgressBarType;
|
|
7
7
|
striped: boolean;
|
|
8
8
|
indeterminate: boolean;
|
|
9
9
|
showValue: boolean;
|
|
@@ -120,8 +120,8 @@ declare const __VLS_component: import('vue').DefineComponent<ScreenProps, {}, {}
|
|
|
120
120
|
onDelete?: (items: any[]) => any;
|
|
121
121
|
onAdd?: () => any;
|
|
122
122
|
}>, {
|
|
123
|
-
data: any[];
|
|
124
123
|
name: string;
|
|
124
|
+
data: any[];
|
|
125
125
|
loading: boolean;
|
|
126
126
|
exportProps: Record<string, any> | boolean;
|
|
127
127
|
importProps: Record<string, any> | boolean;
|
|
@@ -12,7 +12,7 @@ import "v-datepicker-lite";
|
|
|
12
12
|
import "v-datepicker-lite/style.css";
|
|
13
13
|
import "@jaames/iro";
|
|
14
14
|
import "@vueuse/core";
|
|
15
|
-
/* empty css
|
|
15
|
+
/* empty css */
|
|
16
16
|
import "iconify-icon-picker";
|
|
17
17
|
import "iconify-icon-picker/style.css";
|
|
18
18
|
import "vue-draggable-plus";
|
|
@@ -50,8 +50,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
50
50
|
onOnAfterOpen?: () => any;
|
|
51
51
|
onOnAfterClose?: () => any;
|
|
52
52
|
}>, {
|
|
53
|
-
size: SidePanelSize;
|
|
54
53
|
class: string;
|
|
54
|
+
size: SidePanelSize;
|
|
55
55
|
headerClass: string;
|
|
56
56
|
position: SidePanelPosition;
|
|
57
57
|
show: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SpinnerProps, SpinnerSize, SpinnerColor, SpinnerVariant } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<SpinnerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {
|
|
3
|
-
variant: SpinnerVariant;
|
|
4
|
-
size: SpinnerSize;
|
|
5
3
|
class: string;
|
|
6
4
|
color: SpinnerColor;
|
|
5
|
+
variant: SpinnerVariant;
|
|
6
|
+
size: SpinnerSize;
|
|
7
7
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
8
8
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StatsProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<StatsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatsProps> & Readonly<{}>, {
|
|
3
|
-
variant: import('./types').StatsVariant;
|
|
4
3
|
class: string;
|
|
4
|
+
variant: import('./types').StatsVariant;
|
|
5
5
|
columns: number | string;
|
|
6
6
|
layout: import('./types').StatsLayout;
|
|
7
7
|
attached: boolean;
|
|
@@ -14,8 +14,8 @@ interface Props {
|
|
|
14
14
|
class?: string;
|
|
15
15
|
}
|
|
16
16
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
class: string;
|
|
17
18
|
size: ChipProps["size"];
|
|
18
19
|
hideIcon: boolean | null;
|
|
19
|
-
class: string;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
21
|
export default _default;
|