vlite3 0.7.13 → 0.7.15
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/Button.vue.js +1 -1
- package/components/ColorPicker/ColorIro.vue3.js +2 -2
- package/components/ColorPicker/ColorPicker.vue.js +18 -17
- package/components/{CommandPaletteContent.vue.d.ts → CommandPalette/CommandPaletteContent.vue.d.ts} +3 -3
- package/components/CommandPalette/CommandPaletteContent.vue.js +7 -0
- package/components/CommandPalette/CommandPaletteContent.vue2.js +180 -0
- package/components/CommandPalette/CommandPaletteItem.vue.d.ts +15 -0
- package/components/CommandPalette/CommandPaletteItem.vue2.js +7 -0
- package/components/CommandPalette/CommandPaletteItem.vue3.js +60 -0
- package/components/CommandPalette/index.d.ts +5 -0
- package/components/CommandPalette/types.d.ts +40 -0
- package/components/CommandPalette/useCommandPaletteItems.d.ts +15 -0
- package/components/CommandPalette/useCommandPaletteItems.js +99 -0
- package/components/CommandPalette/useCommandPaletteNav.d.ts +13 -0
- package/components/CommandPalette/useCommandPaletteNav.js +49 -0
- package/components/DataList/DataList.vue.js +53 -50
- package/components/DataTable/DataTable.vue.js +185 -173
- package/components/DatePicker.vue.js +3 -2
- package/components/DateRangePicker.vue.js +26 -25
- package/components/Dropdown/Dropdown.vue.js +20 -20
- package/components/Dropdown/DropdownMenu.vue.js +5 -256
- package/components/Dropdown/DropdownMenu.vue2.js +256 -2
- package/components/Form/CustomFields.vue.js +1 -1
- package/components/Form/CustomFields.vue2.js +102 -97
- package/components/Form/Form.vue.d.ts +0 -1
- package/components/Form/Form.vue.js +2 -2
- package/components/Form/Form.vue2.js +20 -20
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +90 -78
- package/components/IconPicker.vue.js +3 -2
- package/components/ImportData/ImportStep2.vue.js +10 -9
- package/components/List/List.vue.js +205 -180
- package/components/Modal.vue.js +2 -2
- package/components/Modal.vue2.js +82 -96
- package/components/MultiSelect/MultiSelect.vue.js +7 -7
- package/components/Navbar/Navbar.vue.js +12 -12
- package/components/NavbarCommandPalette.vue.d.ts +7 -30
- package/components/NavbarCommandPalette.vue.js +40 -40
- package/components/PermissionMatrix/PermissionEditorList.vue.js +1 -1
- package/components/PermissionMatrix/PermissionEditorList.vue2.js +84 -75
- package/components/PermissionMatrix/PermissionEditorMatrix.vue.js +2 -2
- package/components/PermissionMatrix/PermissionEditorMatrix.vue2.js +122 -107
- package/components/PermissionMatrix/PermissionMatrix.vue.js +2 -2
- package/components/PermissionMatrix/PermissionMatrix.vue2.js +161 -138
- package/components/PermissionMatrix/PermissionTopBar.vue.js +19 -18
- package/components/Screen/Screen.vue.js +169 -166
- package/components/Screen/ScreenFilter.vue.js +4 -3
- package/components/SidePanel.vue.js +5 -146
- package/components/SidePanel.vue2.js +146 -2
- package/components/SidebarMenu/SidebarMenuItem.vue.js +26 -25
- package/components/Workbook/Sheet.vue.js +3 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/components/CommandPaletteContent.vue.js +0 -7
- package/components/CommandPaletteContent.vue2.js +0 -311
- /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { $t as
|
|
5
|
-
import { getObjectValue as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as J, useSlots as K, computed as g, openBlock as r, createElementBlock as l, normalizeClass as C, renderSlot as p, createBlock as x, createCommentVNode as k, createElementVNode as d, toDisplayString as N, Fragment as b, renderList as f, unref as S, isMemoSame as B, createSlots as j, withCtx as L, mergeProps as M } from "vue";
|
|
2
|
+
import Q from "../Icon.vue.js";
|
|
3
|
+
import F from "./ListFieldRow.vue.js";
|
|
4
|
+
import { $t as U } from "../../utils/i18n.js";
|
|
5
|
+
import { getObjectValue as $ } from "./utils.js";
|
|
6
|
+
const W = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "px-3 py-2.5 border-b border-border/70 flex items-center gap-2 bg-gray-50"
|
|
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"
|
|
12
|
-
},
|
|
12
|
+
}, re = { key: 1 }, oe = { key: 2 }, le = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "px-3 py-8 text-center text-sm text-muted-foreground"
|
|
15
|
-
},
|
|
15
|
+
}, ne = {
|
|
16
16
|
key: 3,
|
|
17
17
|
class: "border-t border-border/70 px-3 py-2.5"
|
|
18
|
-
},
|
|
18
|
+
}, me = /* @__PURE__ */ J({
|
|
19
19
|
__name: "List",
|
|
20
20
|
props: {
|
|
21
21
|
fields: {},
|
|
@@ -31,31 +31,31 @@ const H = {
|
|
|
31
31
|
skeletonRows: { default: 6 },
|
|
32
32
|
stackedBorderStyle: { default: "none" }
|
|
33
33
|
},
|
|
34
|
-
setup(
|
|
35
|
-
const o =
|
|
36
|
-
const
|
|
37
|
-
return
|
|
38
|
-
})), i =
|
|
34
|
+
setup(s) {
|
|
35
|
+
const o = s, G = K(), y = g(() => o.fields.filter((n) => {
|
|
36
|
+
const u = $(n.key, o.data);
|
|
37
|
+
return n.whenTrue && !u ? !1 : n.when ? n.when(u, o.data) : !0;
|
|
38
|
+
})), i = g(() => {
|
|
39
39
|
if (o.columns === 1)
|
|
40
|
-
return { left: [], right: [], full:
|
|
41
|
-
const
|
|
42
|
-
for (const
|
|
43
|
-
if (
|
|
44
|
-
|
|
40
|
+
return { left: [], right: [], full: y.value };
|
|
41
|
+
const n = [], u = [], t = [];
|
|
42
|
+
for (const h of y.value) {
|
|
43
|
+
if (h.lineByLine) {
|
|
44
|
+
t.push(h);
|
|
45
45
|
continue;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
n.length <= u.length ? n.push(h) : u.push(h);
|
|
48
48
|
}
|
|
49
|
-
const e = Math.abs(
|
|
49
|
+
const e = Math.abs(n.length - u.length);
|
|
50
50
|
if (e >= 2) {
|
|
51
|
-
const
|
|
52
|
-
|
|
51
|
+
const h = n.length > u.length ? n : u, a = h.splice(h.length - Math.floor(e / 2));
|
|
52
|
+
t.unshift(...a);
|
|
53
53
|
}
|
|
54
|
-
return { left:
|
|
55
|
-
}),
|
|
54
|
+
return { left: n, right: u, full: t };
|
|
55
|
+
}), D = g(() => i.value.full.length > 0), P = g(
|
|
56
56
|
() => i.value.left.length > 0 || i.value.right.length > 0
|
|
57
|
-
),
|
|
58
|
-
const
|
|
57
|
+
), E = g(() => o.titleI18n ? U(o.titleI18n) : o.title ?? ""), O = g(() => o.variant === "stacked"), q = g(() => {
|
|
58
|
+
const n = {
|
|
59
59
|
default: "border border-border rounded",
|
|
60
60
|
card: "border border-border rounded bg-card shadow-sm",
|
|
61
61
|
minimal: "rounded",
|
|
@@ -66,205 +66,230 @@ const H = {
|
|
|
66
66
|
};
|
|
67
67
|
return [
|
|
68
68
|
"list-component w-full overflow-hidden",
|
|
69
|
-
|
|
69
|
+
n[o.variant] ?? n.default,
|
|
70
70
|
o.class
|
|
71
71
|
].join(" ");
|
|
72
|
-
}),
|
|
73
|
-
() => Object.keys(
|
|
74
|
-
),
|
|
75
|
-
function
|
|
76
|
-
return o.stackedBorderStyle === "divider" &&
|
|
72
|
+
}), R = g(() => o.columns === 1 ? "grid grid-cols-1" : o.columns === 3 ? "grid grid-cols-1 md:grid-cols-3" : "grid grid-cols-1 md:grid-cols-2"), T = g(() => o.columns === 1 ? "" : "border-r border-border/70"), z = g(() => o.columns === 1 ? 1 : o.columns === 3 ? 3 : 2), A = g(() => o.columns === 1 ? "grid grid-cols-1 pb-2.5 pt-1 px-1" : o.columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 pb-2.5 pt-1 px-1" : "grid grid-cols-1 sm:grid-cols-2 pb-2.5 pt-1 px-1"), I = g(
|
|
73
|
+
() => Object.keys(G).filter((n) => !["title", "header", "footer"].includes(n))
|
|
74
|
+
), V = g(() => Array.from({ length: o.skeletonRows }));
|
|
75
|
+
function H(n) {
|
|
76
|
+
return o.stackedBorderStyle === "divider" && n % z.value !== 0 ? "flex flex-col gap-1.5 py-2 border-l border-border pl-4 pr-3.5" : "flex flex-col gap-1.5 px-3.5 py-2";
|
|
77
77
|
}
|
|
78
|
-
return (
|
|
79
|
-
class:
|
|
78
|
+
return (n, u) => (r(), l("div", {
|
|
79
|
+
class: C(q.value),
|
|
80
80
|
role: "table",
|
|
81
81
|
"aria-label": "Information list"
|
|
82
82
|
}, [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
E.value || s.titleIcon || n.$slots.title ? (r(), l("div", W, [
|
|
84
|
+
p(n.$slots, "title", {}, () => [
|
|
85
|
+
s.titleIcon ? (r(), x(Q, {
|
|
86
86
|
key: 0,
|
|
87
|
-
icon:
|
|
87
|
+
icon: s.titleIcon,
|
|
88
88
|
class: "w-4 h-4 text-muted-foreground shrink-0"
|
|
89
|
-
}, null, 8, ["icon"])) :
|
|
90
|
-
|
|
89
|
+
}, null, 8, ["icon"])) : k("", !0),
|
|
90
|
+
d("h3", X, N(E.value), 1)
|
|
91
91
|
])
|
|
92
|
-
])) :
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
(
|
|
92
|
+
])) : k("", !0),
|
|
93
|
+
s.loading ? (r(), l(b, { key: 1 }, [
|
|
94
|
+
O.value ? (r(), l(b, { key: 0 }, [
|
|
95
|
+
d("div", Y, [
|
|
96
|
+
(r(!0), l(b, null, f(V.value, (t, e) => (r(), l("div", {
|
|
97
97
|
key: "sk-sm-" + e,
|
|
98
98
|
class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
|
|
99
|
-
}, [...
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
}, [...u[10] || (u[10] = [
|
|
100
|
+
d("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
|
|
101
|
+
d("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
|
|
102
102
|
])]))), 128))
|
|
103
103
|
]),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
class:
|
|
104
|
+
d("div", Z, [
|
|
105
|
+
d("div", {
|
|
106
|
+
class: C(A.value)
|
|
107
107
|
}, [
|
|
108
|
-
(
|
|
108
|
+
(r(!0), l(b, null, f(V.value, (t, e) => (r(), l("div", {
|
|
109
109
|
key: "sk-s-" + e,
|
|
110
|
-
class:
|
|
111
|
-
}, [...
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
class: C(H(e))
|
|
111
|
+
}, [...u[11] || (u[11] = [
|
|
112
|
+
d("div", { class: "h-3 w-1/3 rounded bg-muted/60 animate-pulse" }, null, -1),
|
|
113
|
+
d("div", { class: "h-4 w-2/3 rounded bg-muted animate-pulse" }, null, -1)
|
|
114
114
|
])], 2))), 128))
|
|
115
115
|
], 2)
|
|
116
116
|
])
|
|
117
|
-
], 64)) : (
|
|
117
|
+
], 64)) : (r(), l("div", {
|
|
118
118
|
key: 1,
|
|
119
|
-
class:
|
|
119
|
+
class: C(R.value)
|
|
120
120
|
}, [
|
|
121
|
-
|
|
122
|
-
(
|
|
121
|
+
d("div", null, [
|
|
122
|
+
(r(!0), l(b, null, f(V.value, (t, e) => (r(), l("div", {
|
|
123
123
|
key: "sk-l-" + e,
|
|
124
124
|
class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
|
|
125
|
-
}, [...
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
}, [...u[12] || (u[12] = [
|
|
126
|
+
d("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
|
|
127
|
+
d("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
|
|
128
128
|
])]))), 128))
|
|
129
129
|
]),
|
|
130
|
-
|
|
130
|
+
s.columns !== 1 ? (r(), l("div", {
|
|
131
131
|
key: 0,
|
|
132
|
-
class:
|
|
132
|
+
class: C(T.value)
|
|
133
133
|
}, [
|
|
134
|
-
(
|
|
134
|
+
(r(!0), l(b, null, f(V.value, (t, e) => (r(), l("div", {
|
|
135
135
|
key: "sk-r-" + e,
|
|
136
136
|
class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
|
|
137
|
-
}, [...
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
}, [...u[13] || (u[13] = [
|
|
138
|
+
d("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
|
|
139
|
+
d("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
|
|
140
140
|
])]))), 128))
|
|
141
|
-
], 2)) :
|
|
141
|
+
], 2)) : k("", !0)
|
|
142
142
|
], 2))
|
|
143
|
-
], 64)) : (
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
(
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"show-colon": d.showColon,
|
|
153
|
-
"is-last": e === h.value.length - 1,
|
|
154
|
-
"show-border-bottom": e < h.value.length - 1
|
|
155
|
-
}, p({ _: 2 }, [
|
|
156
|
-
f(w.value, (s) => ({
|
|
157
|
-
name: s,
|
|
158
|
-
fn: C((b) => [
|
|
159
|
-
k(l.$slots, s, x({ ref_for: !0 }, b))
|
|
160
|
-
])
|
|
161
|
-
}))
|
|
162
|
-
]), 1032, ["field", "data", "index", "show-colon", "is-last", "show-border-bottom"]))), 128))
|
|
163
|
-
]),
|
|
164
|
-
u("div", U, [
|
|
165
|
-
u("div", {
|
|
166
|
-
class: g(V.value)
|
|
167
|
-
}, [
|
|
168
|
-
(t(!0), r(c, null, f(h.value, (n, e) => (t(), y($, {
|
|
169
|
-
key: n.key + e,
|
|
170
|
-
field: n,
|
|
143
|
+
], 64)) : (r(), l(b, { key: 2 }, [
|
|
144
|
+
O.value ? (r(), l(b, { key: 0 }, [
|
|
145
|
+
d("div", _, [
|
|
146
|
+
(r(!0), l(b, null, f(y.value, (t, e, h, a) => {
|
|
147
|
+
const m = [t, S($)(t.key, o.data), s.variant, s.showColon];
|
|
148
|
+
if (a && a.key === "mob-" + t.key + e && B(a, m)) return a;
|
|
149
|
+
const v = (r(), x(F, {
|
|
150
|
+
key: "mob-" + t.key + e,
|
|
151
|
+
field: t,
|
|
171
152
|
data: o.data,
|
|
172
153
|
index: e,
|
|
173
|
-
variant:
|
|
174
|
-
"show-colon":
|
|
175
|
-
"is-last": e ===
|
|
176
|
-
"show-border-bottom":
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
fn: C((b) => [
|
|
183
|
-
k(l.$slots, s, x({ ref_for: !0 }, b))
|
|
154
|
+
variant: "default",
|
|
155
|
+
"show-colon": s.showColon,
|
|
156
|
+
"is-last": e === y.value.length - 1,
|
|
157
|
+
"show-border-bottom": e < y.value.length - 1
|
|
158
|
+
}, j({ _: 2 }, [
|
|
159
|
+
f(I.value, (c) => ({
|
|
160
|
+
name: c,
|
|
161
|
+
fn: L((w) => [
|
|
162
|
+
p(n.$slots, c, M({ ref_for: !0 }, w))
|
|
184
163
|
])
|
|
185
164
|
}))
|
|
186
|
-
]), 1032, ["field", "data", "index", "
|
|
165
|
+
]), 1032, ["field", "data", "index", "show-colon", "is-last", "show-border-bottom"]));
|
|
166
|
+
return v.memo = m, v;
|
|
167
|
+
}, u, 0), 128))
|
|
168
|
+
]),
|
|
169
|
+
d("div", ee, [
|
|
170
|
+
d("div", {
|
|
171
|
+
class: C(A.value)
|
|
172
|
+
}, [
|
|
173
|
+
(r(!0), l(b, null, f(y.value, (t, e, h, a) => {
|
|
174
|
+
const m = [t, S($)(t.key, o.data), s.variant, s.showColon];
|
|
175
|
+
if (a && a.key === t.key + e && B(a, m)) return a;
|
|
176
|
+
const v = (r(), x(F, {
|
|
177
|
+
key: t.key + e,
|
|
178
|
+
field: t,
|
|
179
|
+
data: o.data,
|
|
180
|
+
index: e,
|
|
181
|
+
variant: s.variant,
|
|
182
|
+
"show-colon": !1,
|
|
183
|
+
"is-last": e === y.value.length - 1,
|
|
184
|
+
"show-border-bottom": !1,
|
|
185
|
+
"stacked-col-index": e % z.value,
|
|
186
|
+
"stacked-border-style": s.stackedBorderStyle
|
|
187
|
+
}, j({ _: 2 }, [
|
|
188
|
+
f(I.value, (c) => ({
|
|
189
|
+
name: c,
|
|
190
|
+
fn: L((w) => [
|
|
191
|
+
p(n.$slots, c, M({ ref_for: !0 }, w))
|
|
192
|
+
])
|
|
193
|
+
}))
|
|
194
|
+
]), 1032, ["field", "data", "index", "variant", "is-last", "stacked-col-index", "stacked-border-style"]));
|
|
195
|
+
return v.memo = m, v;
|
|
196
|
+
}, u, 2), 128))
|
|
187
197
|
], 2)
|
|
188
198
|
]),
|
|
189
|
-
|
|
190
|
-
], 64)) : (
|
|
191
|
-
|
|
192
|
-
class:
|
|
199
|
+
y.value.length === 0 ? (r(), l("div", te, " No information to display. ")) : k("", !0)
|
|
200
|
+
], 64)) : (r(), l(b, { key: 1 }, [
|
|
201
|
+
d("div", {
|
|
202
|
+
class: C(R.value)
|
|
193
203
|
}, [
|
|
194
|
-
i.value.left.length > 0 ? (
|
|
204
|
+
i.value.left.length > 0 ? (r(), l("div", {
|
|
195
205
|
key: 0,
|
|
196
|
-
class:
|
|
206
|
+
class: C(T.value)
|
|
197
207
|
}, [
|
|
198
|
-
(
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
208
|
+
(r(!0), l(b, null, f(i.value.left, (t, e, h, a) => {
|
|
209
|
+
const m = [t, S($)(t.key, o.data), s.variant, s.showColon];
|
|
210
|
+
if (a && a.key === t.key + e && B(a, m)) return a;
|
|
211
|
+
const v = (r(), x(F, {
|
|
212
|
+
key: t.key + e,
|
|
213
|
+
field: t,
|
|
214
|
+
data: o.data,
|
|
215
|
+
index: e,
|
|
216
|
+
variant: s.variant,
|
|
217
|
+
"show-colon": s.showColon,
|
|
218
|
+
"is-last": e === i.value.left.length - 1,
|
|
219
|
+
"show-border-bottom": e < i.value.left.length - 1 || e === i.value.left.length - 1 && !D.value
|
|
220
|
+
}, j({ _: 2 }, [
|
|
221
|
+
f(I.value, (c) => ({
|
|
222
|
+
name: c,
|
|
223
|
+
fn: L((w) => [
|
|
224
|
+
p(n.$slots, c, M({ ref_for: !0 }, w))
|
|
225
|
+
])
|
|
226
|
+
}))
|
|
227
|
+
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]));
|
|
228
|
+
return v.memo = m, v;
|
|
229
|
+
}, u, 4), 128))
|
|
230
|
+
], 2)) : k("", !0),
|
|
231
|
+
s.columns !== 1 && i.value.right.length > 0 ? (r(), l("div", re, [
|
|
232
|
+
(r(!0), l(b, null, f(i.value.right, (t, e, h, a) => {
|
|
233
|
+
const m = [t, S($)(t.key, o.data), s.variant, s.showColon];
|
|
234
|
+
if (a && a.key === t.key + e && B(a, m)) return a;
|
|
235
|
+
const v = (r(), x(F, {
|
|
236
|
+
key: t.key + e,
|
|
237
|
+
field: t,
|
|
238
|
+
data: o.data,
|
|
239
|
+
index: e,
|
|
240
|
+
variant: s.variant,
|
|
241
|
+
"show-colon": s.showColon,
|
|
242
|
+
"is-last": e === i.value.right.length - 1,
|
|
243
|
+
"show-border-bottom": e < i.value.right.length - 1 || e === i.value.right.length - 1 && !D.value
|
|
244
|
+
}, j({ _: 2 }, [
|
|
245
|
+
f(I.value, (c) => ({
|
|
246
|
+
name: c,
|
|
247
|
+
fn: L((w) => [
|
|
248
|
+
p(n.$slots, c, M({ ref_for: !0 }, w))
|
|
249
|
+
])
|
|
250
|
+
}))
|
|
251
|
+
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]));
|
|
252
|
+
return v.memo = m, v;
|
|
253
|
+
}, u, 6), 128))
|
|
254
|
+
])) : k("", !0),
|
|
255
|
+
s.columns === 3 ? (r(), l("div", oe)) : k("", !0)
|
|
256
|
+
], 2),
|
|
257
|
+
D.value ? (r(), l("div", {
|
|
258
|
+
key: 0,
|
|
259
|
+
class: C(P.value ? "border-t border-border" : "")
|
|
260
|
+
}, [
|
|
261
|
+
(r(!0), l(b, null, f(i.value.full, (t, e, h, a) => {
|
|
262
|
+
const m = [t, S($)(t.key, o.data), s.variant, s.showColon];
|
|
263
|
+
if (a && a.key === t.key + e && B(a, m)) return a;
|
|
264
|
+
const v = (r(), x(F, {
|
|
265
|
+
key: t.key + e,
|
|
266
|
+
field: t,
|
|
220
267
|
data: o.data,
|
|
221
268
|
index: e,
|
|
222
|
-
variant:
|
|
223
|
-
"show-colon":
|
|
224
|
-
"is-last": e === i.value.
|
|
225
|
-
"show-border-bottom": e < i.value.
|
|
226
|
-
},
|
|
227
|
-
f(
|
|
228
|
-
name:
|
|
229
|
-
fn:
|
|
230
|
-
|
|
269
|
+
variant: s.variant,
|
|
270
|
+
"show-colon": s.showColon,
|
|
271
|
+
"is-last": e === i.value.full.length - 1,
|
|
272
|
+
"show-border-bottom": e < i.value.full.length - 1
|
|
273
|
+
}, j({ _: 2 }, [
|
|
274
|
+
f(I.value, (c) => ({
|
|
275
|
+
name: c,
|
|
276
|
+
fn: L((w) => [
|
|
277
|
+
p(n.$slots, c, M({ ref_for: !0 }, w))
|
|
231
278
|
])
|
|
232
279
|
}))
|
|
233
|
-
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
], 2),
|
|
237
|
-
|
|
238
|
-
key: 0,
|
|
239
|
-
class: g(E.value ? "border-t border-border" : "")
|
|
240
|
-
}, [
|
|
241
|
-
(t(!0), r(c, null, f(i.value.full, (n, e) => (t(), y($, {
|
|
242
|
-
key: n.key + e,
|
|
243
|
-
field: n,
|
|
244
|
-
data: o.data,
|
|
245
|
-
index: e,
|
|
246
|
-
variant: d.variant,
|
|
247
|
-
"show-colon": d.showColon,
|
|
248
|
-
"is-last": e === i.value.full.length - 1,
|
|
249
|
-
"show-border-bottom": e < i.value.full.length - 1
|
|
250
|
-
}, p({ _: 2 }, [
|
|
251
|
-
f(w.value, (s) => ({
|
|
252
|
-
name: s,
|
|
253
|
-
fn: C((b) => [
|
|
254
|
-
k(l.$slots, s, x({ ref_for: !0 }, b))
|
|
255
|
-
])
|
|
256
|
-
}))
|
|
257
|
-
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))), 128))
|
|
258
|
-
], 2)) : m("", !0),
|
|
259
|
-
h.value.length === 0 ? (t(), r("div", Z, " No information to display. ")) : m("", !0)
|
|
280
|
+
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]));
|
|
281
|
+
return v.memo = m, v;
|
|
282
|
+
}, u, 8), 128))
|
|
283
|
+
], 2)) : k("", !0),
|
|
284
|
+
y.value.length === 0 ? (r(), l("div", le, " No information to display. ")) : k("", !0)
|
|
260
285
|
], 64))
|
|
261
286
|
], 64)),
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
])) :
|
|
287
|
+
n.$slots.footer ? (r(), l("div", ne, [
|
|
288
|
+
p(n.$slots, "footer")
|
|
289
|
+
])) : k("", !0)
|
|
265
290
|
], 2));
|
|
266
291
|
}
|
|
267
292
|
});
|
|
268
293
|
export {
|
|
269
|
-
|
|
294
|
+
me as default
|
|
270
295
|
};
|
package/components/Modal.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Modal.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-537da95f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|