vlite3 1.2.10 → 1.2.13
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/CommandPalette/CommandPaletteContent.vue2.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
- package/components/Dropdown/Dropdown.vue.d.ts +2 -0
- package/components/Dropdown/Dropdown.vue.js +17 -15
- package/components/Form/Form.vue.d.ts +1 -0
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +29 -28
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +1 -1
- package/components/ImportData/ImportStep2.vue.js +6 -6
- package/components/Kanban/Kanban.vue.js +1 -1
- package/components/Kanban/Kanban.vue2.js +1 -1
- package/components/Kanban/KanbanBoard.vue.js +1 -1
- package/components/Kanban/KanbanBoard.vue2.js +17 -17
- package/components/Label.vue.js +4 -4
- package/components/Modal.vue.js +1 -1
- package/components/Modal.vue2.js +1 -1
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/PermissionMatrix/PermissionEditorMatrix.vue.js +1 -1
- package/components/PermissionMatrix/PermissionMatrix.vue.js +1 -1
- package/components/PermissionMatrix/PermissionMatrix.vue2.js +1 -1
- package/components/Screen/ScreenFilter.vue.js +33 -30
- package/components/SidePanel.vue.js +1 -1
- package/components/Workbook/Sheet.vue.js +66 -64
- package/components/Workbook/Workbook.vue.js +2 -2
- package/components/Workbook/Workbook.vue2.js +81 -77
- package/package.json +2 -1
- package/style.css +77 -74
|
@@ -13,7 +13,7 @@ const W = {
|
|
|
13
13
|
class: "text-center py-12 text-muted-foreground"
|
|
14
14
|
}, Y = {
|
|
15
15
|
key: 2,
|
|
16
|
-
class: "permission-matrix-wrapper border rounded-lg overflow-auto"
|
|
16
|
+
class: "permission-matrix-wrapper border rounded-lg scrollbar-thin always-scroll overflow-auto"
|
|
17
17
|
}, Z = { class: "w-full border-collapse" }, _ = { class: "bg-muted" }, K = { class: "flex flex-col items-center gap-0.5" }, ee = ["onClick"], te = { class: "flex items-center gap-2" }, le = ["onClick"], se = { class: "flex items-center justify-center pointer-events-none" }, ne = { class: "flex items-center gap-2 pl-6" }, oe = ["onClick"], ae = { class: "flex items-center justify-center pointer-events-none" }, ye = /* @__PURE__ */ R({
|
|
18
18
|
__name: "PermissionMatrix",
|
|
19
19
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, ref as M, computed as d, openBlock as
|
|
1
|
+
import { defineComponent as B, ref as M, computed as d, openBlock as r, createBlock as n, withCtx as o, createElementVNode as l, createVNode as a, unref as w, toDisplayString as v, withModifiers as F, setBlockTracking as C, createElementBlock as S } from "vue";
|
|
2
2
|
import f from "../Button.vue.js";
|
|
3
3
|
import j from "../Modal.vue.js";
|
|
4
4
|
import z from "../Dropdown/Dropdown.vue.js";
|
|
@@ -20,10 +20,10 @@ import "iconify-icon-picker/style.css";
|
|
|
20
20
|
/* empty css */
|
|
21
21
|
/* empty css */
|
|
22
22
|
import "../../core/config.js";
|
|
23
|
-
const
|
|
24
|
-
class: "pt-
|
|
23
|
+
const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }, A = { style: { "will-change": "transform", contain: "layout style" } }, E = {
|
|
24
|
+
class: "pt-2 px-2 min-w-[295px]",
|
|
25
25
|
style: { "will-change": "transform", contain: "layout style" }
|
|
26
|
-
},
|
|
26
|
+
}, re = /* @__PURE__ */ B({
|
|
27
27
|
__name: "ScreenFilter",
|
|
28
28
|
props: {
|
|
29
29
|
schema: {},
|
|
@@ -32,11 +32,11 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["update:modelValue", "change"],
|
|
34
34
|
setup(i, { emit: $ }) {
|
|
35
|
-
const u = i, m = $,
|
|
35
|
+
const u = i, m = $, s = M(!1), p = d(() => u.modelValue ? Object.keys(u.modelValue).filter(
|
|
36
36
|
(e) => u.modelValue[e] !== "" && u.modelValue[e] !== null && u.modelValue[e] !== void 0
|
|
37
|
-
).length : 0),
|
|
38
|
-
m("update:modelValue", e.values), m("change", e.values),
|
|
39
|
-
},
|
|
37
|
+
).length : 0), x = (e) => {
|
|
38
|
+
m("update:modelValue", e.values), m("change", e.values), s.value = !1;
|
|
39
|
+
}, k = () => {
|
|
40
40
|
m("update:modelValue", {}), m("change", {});
|
|
41
41
|
}, g = d(() => {
|
|
42
42
|
const e = y("vlite.screen.filters");
|
|
@@ -48,19 +48,19 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
48
48
|
const e = y("vlite.screen.filter");
|
|
49
49
|
return e !== "vlite.screen.filter" ? e : "Filter";
|
|
50
50
|
});
|
|
51
|
-
return (e, t) => i.type === "modal" ? (
|
|
51
|
+
return (e, t) => i.type === "modal" ? (r(), n(j, {
|
|
52
52
|
key: 0,
|
|
53
53
|
title: g.value,
|
|
54
|
-
show:
|
|
55
|
-
"onUpdate:show": t[3] || (t[3] = (c) =>
|
|
54
|
+
show: s.value,
|
|
55
|
+
"onUpdate:show": t[3] || (t[3] = (c) => s.value = c),
|
|
56
56
|
"max-width": "sm:max-w-md"
|
|
57
57
|
}, {
|
|
58
58
|
trigger: o(() => [
|
|
59
|
-
p.value > 0 ? (
|
|
59
|
+
p.value > 0 ? (r(), n(f, {
|
|
60
60
|
key: 0,
|
|
61
61
|
variant: "secondary",
|
|
62
62
|
class: "flex items-center gap-1.5 pl-3 pr-1.5 shrink-0",
|
|
63
|
-
onClick: t[0] || (t[0] = (c) =>
|
|
63
|
+
onClick: t[0] || (t[0] = (c) => s.value = !0)
|
|
64
64
|
}, {
|
|
65
65
|
default: o(() => [
|
|
66
66
|
a(h, {
|
|
@@ -69,7 +69,7 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
69
69
|
}),
|
|
70
70
|
l("span", null, v(g.value) + " (" + v(p.value) + ")", 1),
|
|
71
71
|
l("div", {
|
|
72
|
-
onClick: F(
|
|
72
|
+
onClick: F(k, ["stop"]),
|
|
73
73
|
class: "ml-1 p-1 hover:bg-black/10 dark:hover:bg-white/10 rounded-full transition-colors cursor-pointer"
|
|
74
74
|
}, [
|
|
75
75
|
a(h, {
|
|
@@ -79,18 +79,18 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
79
79
|
])
|
|
80
80
|
]),
|
|
81
81
|
_: 1
|
|
82
|
-
})) : (
|
|
82
|
+
})) : (r(), n(f, {
|
|
83
83
|
key: 1,
|
|
84
84
|
variant: "outline",
|
|
85
|
-
onClick: t[2] || (t[2] = (c) =>
|
|
85
|
+
onClick: t[2] || (t[2] = (c) => s.value = !0),
|
|
86
86
|
title: V.value,
|
|
87
87
|
size: "lg",
|
|
88
88
|
asIcon: "",
|
|
89
89
|
class: "shrink-0 h-9! w-9!"
|
|
90
90
|
}, {
|
|
91
91
|
default: o(() => [
|
|
92
|
-
l("div",
|
|
93
|
-
t[1] || (C(-1, !0), (t[1] = (
|
|
92
|
+
l("div", N, [
|
|
93
|
+
t[1] || (C(-1, !0), (t[1] = (r(), S("svg", {
|
|
94
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
95
|
width: "1.132em",
|
|
96
96
|
height: "1.132em",
|
|
@@ -111,26 +111,28 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
111
111
|
}, 8, ["title"]))
|
|
112
112
|
]),
|
|
113
113
|
default: o(() => [
|
|
114
|
-
l("div",
|
|
114
|
+
l("div", A, [
|
|
115
115
|
a(w(O), {
|
|
116
116
|
schema: i.schema,
|
|
117
117
|
values: i.modelValue,
|
|
118
118
|
"submit-text": b.value,
|
|
119
|
-
onOnSubmit:
|
|
119
|
+
onOnSubmit: x
|
|
120
120
|
}, null, 8, ["schema", "values", "submit-text"])
|
|
121
121
|
])
|
|
122
122
|
]),
|
|
123
123
|
_: 1
|
|
124
|
-
}, 8, ["title", "show"])) : (
|
|
124
|
+
}, 8, ["title", "show"])) : (r(), n(w(z), {
|
|
125
125
|
key: 1,
|
|
126
|
-
isOpen:
|
|
127
|
-
"onUpdate:isOpen": t[4] || (t[4] = (c) =>
|
|
126
|
+
isOpen: s.value,
|
|
127
|
+
"onUpdate:isOpen": t[4] || (t[4] = (c) => s.value = c),
|
|
128
128
|
"close-on-select": !1,
|
|
129
129
|
position: "bottom-end",
|
|
130
|
+
maxHeight: "410px",
|
|
131
|
+
"class-name": "pb-0! always-scroll",
|
|
130
132
|
class: "w-auto"
|
|
131
133
|
}, {
|
|
132
134
|
trigger: o(() => [
|
|
133
|
-
p.value > 0 ? (
|
|
135
|
+
p.value > 0 ? (r(), n(f, {
|
|
134
136
|
key: 0,
|
|
135
137
|
variant: "secondary",
|
|
136
138
|
class: "flex items-center gap-1.5 pl-3 pr-1.5 shrink-0 bg-gray-150! hover:bg-gray-100!",
|
|
@@ -143,7 +145,7 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
143
145
|
}),
|
|
144
146
|
l("span", null, v(g.value) + " (" + v(p.value) + ")", 1),
|
|
145
147
|
l("div", {
|
|
146
|
-
onClick: F(
|
|
148
|
+
onClick: F(k, ["stop"]),
|
|
147
149
|
class: "ml-1 p-1 hover:bg-black/10 dark:hover:bg-white/10 rounded-full transition-colors cursor-pointer"
|
|
148
150
|
}, [
|
|
149
151
|
a(h, {
|
|
@@ -153,7 +155,7 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
153
155
|
])
|
|
154
156
|
]),
|
|
155
157
|
_: 1
|
|
156
|
-
})) : (
|
|
158
|
+
})) : (r(), n(f, {
|
|
157
159
|
key: 1,
|
|
158
160
|
variant: "outline",
|
|
159
161
|
icon: "hugeicons:filter-add",
|
|
@@ -163,18 +165,19 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
163
165
|
}, null, 8, ["title"]))
|
|
164
166
|
]),
|
|
165
167
|
default: o(() => [
|
|
166
|
-
l("div",
|
|
168
|
+
l("div", E, [
|
|
167
169
|
a(w(O), {
|
|
168
170
|
schema: i.schema,
|
|
169
171
|
values: i.modelValue,
|
|
170
172
|
"submit-text": b.value,
|
|
171
|
-
|
|
173
|
+
className: "gap-3!",
|
|
174
|
+
"footer-class": "mt-0.5! translate-y-0.5 pb-4.5! border-0! border-transparent! rounded-none!",
|
|
172
175
|
"submit-props": {
|
|
173
176
|
size: "sm",
|
|
174
177
|
class: "w-full",
|
|
175
178
|
textClass: "-text-fs-1!"
|
|
176
179
|
},
|
|
177
|
-
onOnSubmit:
|
|
180
|
+
onOnSubmit: x
|
|
178
181
|
}, null, 8, ["schema", "values", "submit-text"])
|
|
179
182
|
])
|
|
180
183
|
]),
|
|
@@ -183,5 +186,5 @@ const A = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
183
186
|
}
|
|
184
187
|
});
|
|
185
188
|
export {
|
|
186
|
-
|
|
189
|
+
re as default
|
|
187
190
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SidePanel.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-37a55d1c"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as N, ref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as N, ref as g, computed as p, openBlock as r, createElementBlock as u, normalizeClass as T, createElementVNode as c, withModifiers as d, createBlock as y, withCtx as h, createVNode as m, createCommentVNode as w, withDirectives as j, withKeys as C, vModelText as z, toDisplayString as D, unref as K, createTextVNode as M, nextTick as O } from "vue";
|
|
2
|
+
import k from "../Icon.vue.js";
|
|
3
|
+
import R from "../Dropdown/Dropdown.vue.js";
|
|
4
4
|
import { $t as s } from "../../utils/i18n.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
7
|
+
import A from "../Button.vue.js";
|
|
8
8
|
import U from "../IconPicker.vue.js";
|
|
9
9
|
const q = {
|
|
10
10
|
type: "button",
|
|
@@ -12,12 +12,12 @@ const q = {
|
|
|
12
12
|
}, F = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "flex items-center justify-center p-0.5"
|
|
15
|
-
}, G = { class: "flex-1 min-w-0 pr-1" }, H = {
|
|
15
|
+
}, G = { class: "flex-1 min-w-0 pr-1" }, H = ["onKeydown"], J = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "block truncate text-sm font-medium leading-normal"
|
|
18
|
-
},
|
|
19
|
-
class: /* @__PURE__ */
|
|
20
|
-
},
|
|
18
|
+
}, L = {
|
|
19
|
+
class: /* @__PURE__ */ T(["flex items-center"])
|
|
20
|
+
}, te = /* @__PURE__ */ N({
|
|
21
21
|
__name: "Sheet",
|
|
22
22
|
props: {
|
|
23
23
|
sheet: {},
|
|
@@ -32,22 +32,25 @@ const q = {
|
|
|
32
32
|
inactiveItemClass: { default: "" }
|
|
33
33
|
},
|
|
34
34
|
emits: ["select", "update:title", "update:icon", "edit-start", "edit-end", "duplicate", "delete"],
|
|
35
|
-
setup(
|
|
36
|
-
const e =
|
|
35
|
+
setup(i, { emit: B }) {
|
|
36
|
+
const e = i, o = B, f = g(null), a = g(e.sheet.title), E = p(
|
|
37
37
|
() => e.sheet.titleI18n ? s(e.sheet.titleI18n) : e.sheet.title
|
|
38
|
-
),
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
), x = () => {
|
|
39
|
+
a.value = e.sheet.title, o("edit-start", e.sheet.id), O(() => {
|
|
40
|
+
f.value?.focus(), f.value?.select();
|
|
41
41
|
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
};
|
|
43
|
+
let v = !1;
|
|
44
|
+
const b = () => {
|
|
45
|
+
if (!e.isEditing || v) return;
|
|
46
|
+
v = !0;
|
|
47
|
+
const l = a.value.trim();
|
|
48
|
+
l ? o("update:title", e.sheet.id, l) : a.value = e.sheet.title, o("edit-end", e.sheet.id), setTimeout(() => {
|
|
49
|
+
v = !1;
|
|
50
|
+
}, 100);
|
|
51
|
+
}, I = () => {
|
|
52
|
+
a.value = e.sheet.title, o("edit-end", e.sheet.id);
|
|
53
|
+
}, $ = p(() => [
|
|
51
54
|
{
|
|
52
55
|
label: s("vlite.workbook.rename") !== "vlite.workbook.rename" ? s("vlite.workbook.rename") : "Rename",
|
|
53
56
|
value: "rename",
|
|
@@ -75,83 +78,82 @@ const q = {
|
|
|
75
78
|
}
|
|
76
79
|
} : void 0
|
|
77
80
|
}
|
|
78
|
-
]), S = (
|
|
79
|
-
if (
|
|
80
|
-
if (!e.canDelete
|
|
81
|
+
]), S = (l) => {
|
|
82
|
+
if (l.value === "rename" && x(), l.value === "duplicate" && o("duplicate", e.sheet.id), l.value === "delete") {
|
|
83
|
+
if (!e.canDelete) return;
|
|
81
84
|
o("delete", e.sheet.id);
|
|
82
85
|
}
|
|
83
|
-
},
|
|
84
|
-
t && t.value && t.value !== "delete" || e.canDelete && o("delete", e.sheet.id);
|
|
85
|
-
}, V = f(() => [
|
|
86
|
+
}, V = p(() => [
|
|
86
87
|
"group relative flex items-center min-w-[120px] max-w-[240px] h-9 px-3 border-r border-border select-none cursor-pointer transition-all duration-200 ease-out",
|
|
87
88
|
e.itemClass,
|
|
88
89
|
e.isActive ? `bg-muted text-foreground ring-1 ring-border ring-b-0 z-10 ${e.activeItemClass}` : `text-muted-foreground hover:bg-accent/50 ${e.inactiveItemClass}`,
|
|
89
90
|
e.isEditing ? "cursor-text" : ""
|
|
90
91
|
].filter(Boolean).join(" "));
|
|
91
|
-
return (
|
|
92
|
-
class:
|
|
93
|
-
onClick:
|
|
94
|
-
onDblclick:
|
|
92
|
+
return (l, t) => (r(), u("div", {
|
|
93
|
+
class: T(V.value),
|
|
94
|
+
onClick: t[5] || (t[5] = (n) => o("select", i.sheet.id)),
|
|
95
|
+
onDblclick: x
|
|
95
96
|
}, [
|
|
96
97
|
c("div", {
|
|
97
|
-
onClick:
|
|
98
|
+
onClick: t[1] || (t[1] = d(() => {
|
|
98
99
|
}, ["stop"])),
|
|
99
100
|
class: "mr-2 flex items-center shrink-0"
|
|
100
101
|
}, [
|
|
101
|
-
(
|
|
102
|
+
(i.sheet.icon || i.isEditing) && i.allowIconChange ? (r(), y(U, {
|
|
102
103
|
key: 0,
|
|
103
|
-
value:
|
|
104
|
+
value: i.sheet.icon || "lucide:file",
|
|
104
105
|
position: "bottom-start",
|
|
105
|
-
onOnSelect:
|
|
106
|
+
onOnSelect: t[0] || (t[0] = (n) => o("update:icon", i.sheet.id, n))
|
|
106
107
|
}, {
|
|
107
|
-
default:
|
|
108
|
+
default: h(() => [
|
|
108
109
|
c("button", q, [
|
|
109
|
-
|
|
110
|
-
icon:
|
|
110
|
+
m(k, {
|
|
111
|
+
icon: i.sheet.icon || "lucide:file",
|
|
111
112
|
class: "w-4 h-4 opacity-70 hover:opacity-100 transition-opacity"
|
|
112
113
|
}, null, 8, ["icon"])
|
|
113
114
|
])
|
|
114
115
|
]),
|
|
115
116
|
_: 1
|
|
116
|
-
}, 8, ["value"])) :
|
|
117
|
-
|
|
118
|
-
icon:
|
|
117
|
+
}, 8, ["value"])) : i.sheet.icon ? (r(), u("div", F, [
|
|
118
|
+
m(k, {
|
|
119
|
+
icon: i.sheet.icon,
|
|
119
120
|
class: "w-4 h-4 opacity-70"
|
|
120
121
|
}, null, 8, ["icon"])
|
|
121
122
|
])) : w("", !0)
|
|
122
123
|
]),
|
|
123
124
|
c("div", G, [
|
|
124
|
-
|
|
125
|
+
i.isEditing ? j((r(), u("input", {
|
|
125
126
|
key: 0,
|
|
126
127
|
ref_key: "inputRef",
|
|
127
|
-
ref:
|
|
128
|
-
"onUpdate:modelValue":
|
|
128
|
+
ref: f,
|
|
129
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => a.value = n),
|
|
129
130
|
type: "text",
|
|
130
131
|
class: "w-full bg-transparent border-none outline-none p-0 text-sm font-medium text-foreground placeholder-muted-foreground focus:ring-0",
|
|
131
|
-
onBlur:
|
|
132
|
-
onKeydown:
|
|
133
|
-
|
|
132
|
+
onBlur: b,
|
|
133
|
+
onKeydown: [
|
|
134
|
+
C(d(b, ["prevent"]), ["enter"]),
|
|
135
|
+
C(d(I, ["prevent"]), ["esc"])
|
|
136
|
+
],
|
|
137
|
+
onClick: t[3] || (t[3] = d(() => {
|
|
134
138
|
}, ["stop"]))
|
|
135
|
-
}, null,
|
|
136
|
-
[
|
|
137
|
-
]) : (
|
|
139
|
+
}, null, 40, H)), [
|
|
140
|
+
[z, a.value]
|
|
141
|
+
]) : (r(), u("span", J, D(E.value), 1))
|
|
138
142
|
]),
|
|
139
143
|
c("div", {
|
|
140
144
|
class: "opacity-0 group-hover:opacity-100 transition-opacity ml-auto pl-1 -mr-2 flex items-center",
|
|
141
|
-
onClick:
|
|
145
|
+
onClick: t[4] || (t[4] = d(() => {
|
|
142
146
|
}, ["stop"]))
|
|
143
147
|
}, [
|
|
144
|
-
|
|
148
|
+
m(K(R), {
|
|
145
149
|
options: $.value,
|
|
146
150
|
position: "bottom-end",
|
|
147
151
|
width: "140px",
|
|
148
152
|
teleport: !0,
|
|
149
|
-
onOnSelect: S
|
|
150
|
-
onOnConfirm: b,
|
|
151
|
-
onConfirm: b
|
|
153
|
+
onOnSelect: S
|
|
152
154
|
}, {
|
|
153
|
-
trigger:
|
|
154
|
-
|
|
155
|
+
trigger: h(() => [
|
|
156
|
+
m(A, {
|
|
155
157
|
icon: "lucide:more-vertical",
|
|
156
158
|
asIcon: "",
|
|
157
159
|
size: "xs",
|
|
@@ -159,14 +161,14 @@ const q = {
|
|
|
159
161
|
variant: "ghost"
|
|
160
162
|
})
|
|
161
163
|
]),
|
|
162
|
-
item:
|
|
163
|
-
c("div",
|
|
164
|
-
|
|
164
|
+
item: h(({ option: n }) => [
|
|
165
|
+
c("div", L, [
|
|
166
|
+
n?.icon ? (r(), y(k, {
|
|
165
167
|
key: 0,
|
|
166
|
-
icon:
|
|
168
|
+
icon: n?.icon,
|
|
167
169
|
class: "w-3.5 h-3.5 mr-2 opacity-70"
|
|
168
170
|
}, null, 8, ["icon"])) : w("", !0),
|
|
169
|
-
M(" " +
|
|
171
|
+
M(" " + D(n?.label), 1)
|
|
170
172
|
])
|
|
171
173
|
]),
|
|
172
174
|
_: 1
|
|
@@ -176,5 +178,5 @@ const q = {
|
|
|
176
178
|
}
|
|
177
179
|
});
|
|
178
180
|
export {
|
|
179
|
-
|
|
181
|
+
te as default
|
|
180
182
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Workbook.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e674bcbc"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|