vlite3 1.3.10 → 1.4.1
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 +2 -2
- package/components/Accordion/AccordionItem.vue.d.ts +1 -1
- package/components/Accordion/AccordionItem.vue.js +11 -7
- package/components/Accordion/AccordionTrigger.vue.d.ts +1 -1
- package/components/AsyncSelect/createAsyncSelect.d.ts +44 -3
- package/components/AsyncSelect/createAsyncSelect.js +107 -76
- package/components/CategoryManager/CategoryManager.vue2.js +35 -31
- package/components/Dropdown/DropdownBooleanItem.vue.js +6 -6
- package/components/Dropdown/DropdownItem.vue.js +17 -17
- package/components/Dropdown/DropdownMenu.vue.js +2 -2
- package/components/Dropdown/{DropdownMenu.vue3.js → DropdownMenu.vue2.js} +23 -23
- package/components/Form/Form.vue.d.ts +17 -5
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +347 -285
- package/components/Form/FormField.vue.js +108 -82
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +7 -6
- package/components/Form/composables/useForm.js +100 -95
- package/components/Form/types.d.ts +33 -5
- package/components/NavbarCommandPalette.vue.d.ts +1 -1
- package/components/NumberInput.vue.js +1 -1
- package/components/NumberInput.vue2.js +47 -45
- package/components/RichTextEditor/RichTextEditor.vue.js +43 -48
- package/components/RichTextEditor/RichTextLinkPopover.vue3.js +2 -2
- package/components/RichTextEditor/RichTextToolbar.vue.d.ts +12 -3
- package/components/RichTextEditor/{RichTextToolbar.vue.js → RichTextToolbar.vue2.js} +157 -121
- package/components/RichTextEditor/RichTextToolbar.vue3.js +2 -2
- package/components/RichTextEditor/index.d.ts +2 -0
- package/components/RichTextEditor/types.d.ts +38 -0
- package/components/RichTextEditor/types.js +52 -0
- package/components/Screen/ScreenFilter.vue.js +15 -11
- package/components/SidebarMenu/SidebarMenu.vue.d.ts +2 -2
- package/components/Tabes/Tabes.vue.js +2 -2
- package/components/Tabes/Tabes.vue2.js +73 -71
- package/components/Workbook/Sheet.vue.d.ts +1 -1
- package/index.js +298 -295
- package/package.json +1 -1
- package/style.css +37 -1
- /package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover.vue2.js} +0 -0
|
@@ -18,12 +18,16 @@ import "@vueuse/core";
|
|
|
18
18
|
import "iconify-icon-picker";
|
|
19
19
|
import "iconify-icon-picker/style.css";
|
|
20
20
|
/* empty css */
|
|
21
|
-
/* empty css
|
|
21
|
+
/* empty css */
|
|
22
|
+
/* empty css */
|
|
23
|
+
/* empty css */
|
|
22
24
|
import "../../core/config.js";
|
|
25
|
+
/* empty css */
|
|
26
|
+
/* empty css */
|
|
23
27
|
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
28
|
class: "pt-2 px-2 min-w-[295px]",
|
|
25
29
|
style: { "will-change": "transform", contain: "layout style" }
|
|
26
|
-
},
|
|
30
|
+
}, ae = /* @__PURE__ */ B({
|
|
27
31
|
__name: "ScreenFilter",
|
|
28
32
|
props: {
|
|
29
33
|
schema: {},
|
|
@@ -32,12 +36,12 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
32
36
|
},
|
|
33
37
|
emits: ["update:modelValue", "change"],
|
|
34
38
|
setup(i, { emit: $ }) {
|
|
35
|
-
const
|
|
36
|
-
(e) =>
|
|
39
|
+
const m = i, c = $, s = M(!1), p = d(() => m.modelValue ? Object.keys(m.modelValue).filter(
|
|
40
|
+
(e) => m.modelValue[e] !== "" && m.modelValue[e] !== null && m.modelValue[e] !== void 0
|
|
37
41
|
).length : 0), x = (e) => {
|
|
38
|
-
|
|
42
|
+
c("update:modelValue", e.values), c("change", e.values), s.value = !1;
|
|
39
43
|
}, k = () => {
|
|
40
|
-
|
|
44
|
+
c("update:modelValue", {}), c("change", {});
|
|
41
45
|
}, g = d(() => {
|
|
42
46
|
const e = y("vlite.screen.filters");
|
|
43
47
|
return e !== "vlite.screen.filters" ? e : "Filters";
|
|
@@ -52,7 +56,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
52
56
|
key: 0,
|
|
53
57
|
title: g.value,
|
|
54
58
|
show: s.value,
|
|
55
|
-
"onUpdate:show": t[3] || (t[3] = (
|
|
59
|
+
"onUpdate:show": t[3] || (t[3] = (u) => s.value = u),
|
|
56
60
|
"max-width": "sm:max-w-md"
|
|
57
61
|
}, {
|
|
58
62
|
trigger: o(() => [
|
|
@@ -60,7 +64,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
60
64
|
key: 0,
|
|
61
65
|
variant: "secondary",
|
|
62
66
|
class: "flex items-center gap-1.5 pl-3 pr-1.5 shrink-0",
|
|
63
|
-
onClick: t[0] || (t[0] = (
|
|
67
|
+
onClick: t[0] || (t[0] = (u) => s.value = !0)
|
|
64
68
|
}, {
|
|
65
69
|
default: o(() => [
|
|
66
70
|
a(h, {
|
|
@@ -82,7 +86,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
82
86
|
})) : (r(), n(f, {
|
|
83
87
|
key: 1,
|
|
84
88
|
variant: "outline",
|
|
85
|
-
onClick: t[2] || (t[2] = (
|
|
89
|
+
onClick: t[2] || (t[2] = (u) => s.value = !0),
|
|
86
90
|
title: V.value,
|
|
87
91
|
size: "lg",
|
|
88
92
|
asIcon: "",
|
|
@@ -124,7 +128,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
124
128
|
}, 8, ["title", "show"])) : (r(), n(w(z), {
|
|
125
129
|
key: 1,
|
|
126
130
|
isOpen: s.value,
|
|
127
|
-
"onUpdate:isOpen": t[4] || (t[4] = (
|
|
131
|
+
"onUpdate:isOpen": t[4] || (t[4] = (u) => s.value = u),
|
|
128
132
|
"close-on-select": !1,
|
|
129
133
|
position: "bottom-end",
|
|
130
134
|
maxHeight: "430px",
|
|
@@ -186,5 +190,5 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
|
|
|
186
190
|
}
|
|
187
191
|
});
|
|
188
192
|
export {
|
|
189
|
-
|
|
193
|
+
ae as default
|
|
190
194
|
};
|
|
@@ -3,10 +3,10 @@ declare const _default: import('vue').DefineComponent<SidebarMenuProps, {}, {},
|
|
|
3
3
|
variant: "default" | "ghost";
|
|
4
4
|
compact: boolean;
|
|
5
5
|
orientation: "vertical" | "horizontal";
|
|
6
|
-
iconSize: string;
|
|
7
6
|
items: SidebarMenuItemSchema[];
|
|
8
|
-
mobileBreakpoint: "sm" | "md" | "lg" | "xl" | "none";
|
|
9
7
|
allowMultiple: boolean;
|
|
8
|
+
iconSize: string;
|
|
9
|
+
mobileBreakpoint: "sm" | "md" | "lg" | "xl" | "none";
|
|
10
10
|
menuOffset: [number, number];
|
|
11
11
|
indentSize: number;
|
|
12
12
|
defaultExpanded: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tabes.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-b32d2e32"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, ref as d, watch as m, onMounted as Z, computed as v, openBlock as g, createElementBlock as z, normalizeClass as l, withDirectives as h, createVNode as x, vShow as y, createElementVNode as f, normalizeStyle as ee, createCommentVNode as j, Fragment as te, renderList as re, createBlock as M, resolveDynamicComponent as ae, mergeProps as ne, withCtx as oe, toDisplayString as se, nextTick as le } from "vue";
|
|
2
2
|
import { useResizeObserver as T } from "@vueuse/core";
|
|
3
3
|
import R from "../Icon.vue.js";
|
|
4
4
|
import A from "../FadeOverlay/FadeOverlay.vue.js";
|
|
5
5
|
import { $t as ie } from "../../utils/i18n.js";
|
|
6
|
-
const
|
|
6
|
+
const ce = ["data-variant"], ge = /* @__PURE__ */ Y({
|
|
7
7
|
__name: "Tabes",
|
|
8
8
|
props: {
|
|
9
9
|
options: {},
|
|
@@ -17,28 +17,28 @@ const me = /* @__PURE__ */ Z({
|
|
|
17
17
|
},
|
|
18
18
|
emits: ["update:modelValue", "change"],
|
|
19
19
|
setup(c, { emit: E }) {
|
|
20
|
-
const t = c, $ = E, b = d(null), i = d(null), p = d(/* @__PURE__ */ new Map()), w = d(!1), C = d(!1),
|
|
20
|
+
const t = c, $ = E, b = d(null), i = d(null), p = d(/* @__PURE__ */ new Map()), w = d(!1), C = d(!1), o = () => {
|
|
21
21
|
if (!i.value) return;
|
|
22
|
-
const { scrollLeft: e, scrollWidth:
|
|
23
|
-
w.value = e > 1, C.value = Math.ceil(e + r) <
|
|
22
|
+
const { scrollLeft: e, scrollWidth: a, clientWidth: r } = i.value;
|
|
23
|
+
w.value = e > 1, C.value = Math.ceil(e + r) < a - 1;
|
|
24
24
|
}, S = (e) => {
|
|
25
25
|
i.value && i.value.scrollBy({ left: e, behavior: "smooth" });
|
|
26
26
|
}, V = () => {
|
|
27
27
|
if (!i.value || !b.value) return;
|
|
28
28
|
const e = p.value.get(t.modelValue);
|
|
29
29
|
if (!e) return;
|
|
30
|
-
const
|
|
31
|
-
r.left <
|
|
32
|
-
left: r.left -
|
|
30
|
+
const a = i.value, r = e.getBoundingClientRect(), n = a.getBoundingClientRect(), s = 40;
|
|
31
|
+
r.left < n.left + s ? a.scrollBy({
|
|
32
|
+
left: r.left - n.left - s,
|
|
33
33
|
behavior: "smooth"
|
|
34
|
-
}) : r.right >
|
|
35
|
-
left: r.right -
|
|
34
|
+
}) : r.right > n.right - s && a.scrollBy({
|
|
35
|
+
left: r.right - n.right + s,
|
|
36
36
|
behavior: "smooth"
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
T(i,
|
|
40
|
-
const O = (e,
|
|
41
|
-
e ? p.value.set(
|
|
39
|
+
T(i, o);
|
|
40
|
+
const O = (e, a) => {
|
|
41
|
+
e ? p.value.set(a, e) : p.value.delete(a);
|
|
42
42
|
}, k = d({
|
|
43
43
|
width: "0px",
|
|
44
44
|
height: "0px",
|
|
@@ -46,23 +46,23 @@ const me = /* @__PURE__ */ Z({
|
|
|
46
46
|
opacity: 0
|
|
47
47
|
}), B = d(!1), u = async () => {
|
|
48
48
|
await le();
|
|
49
|
-
const e = b.value,
|
|
50
|
-
if (!e || !
|
|
49
|
+
const e = b.value, a = p.value.get(t.modelValue);
|
|
50
|
+
if (!e || !a) {
|
|
51
51
|
k.value.opacity = 0;
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
const r = e.getBoundingClientRect(),
|
|
54
|
+
const r = e.getBoundingClientRect(), n = a.getBoundingClientRect(), s = n.left - r.left, Q = n.top - r.top, U = n.width, X = n.height;
|
|
55
55
|
k.value = {
|
|
56
|
-
width: `${
|
|
57
|
-
height: `${
|
|
58
|
-
transform: `translate(${
|
|
56
|
+
width: `${U}px`,
|
|
57
|
+
height: `${X}px`,
|
|
58
|
+
transform: `translate(${s}px, ${Q}px)`,
|
|
59
59
|
opacity: 1
|
|
60
60
|
}, B.value || setTimeout(() => {
|
|
61
61
|
B.value = !0;
|
|
62
62
|
}, 50);
|
|
63
63
|
};
|
|
64
64
|
T(b, () => {
|
|
65
|
-
u(),
|
|
65
|
+
u(), o();
|
|
66
66
|
}), m(
|
|
67
67
|
() => t.modelValue,
|
|
68
68
|
async () => {
|
|
@@ -71,26 +71,26 @@ const me = /* @__PURE__ */ Z({
|
|
|
71
71
|
), m(
|
|
72
72
|
() => t.options,
|
|
73
73
|
async () => {
|
|
74
|
-
await u(),
|
|
74
|
+
await u(), o();
|
|
75
75
|
},
|
|
76
76
|
{ deep: !0 }
|
|
77
77
|
), m(
|
|
78
78
|
() => t.size,
|
|
79
79
|
async () => {
|
|
80
|
-
await u(),
|
|
80
|
+
await u(), o();
|
|
81
81
|
}
|
|
82
82
|
), m(
|
|
83
83
|
() => t.block,
|
|
84
84
|
async () => {
|
|
85
|
-
await u(),
|
|
85
|
+
await u(), o();
|
|
86
86
|
}
|
|
87
87
|
), m(
|
|
88
88
|
() => t.wrap,
|
|
89
89
|
async () => {
|
|
90
|
-
await u(),
|
|
90
|
+
await u(), o();
|
|
91
91
|
}
|
|
92
|
-
),
|
|
93
|
-
await u(),
|
|
92
|
+
), Z(async () => {
|
|
93
|
+
await u(), o(), setTimeout(o, 100), setTimeout(V, 100);
|
|
94
94
|
});
|
|
95
95
|
const D = v(() => {
|
|
96
96
|
const e = t.variant === "line";
|
|
@@ -101,7 +101,7 @@ const me = /* @__PURE__ */ Z({
|
|
|
101
101
|
]), N = (e) => {
|
|
102
102
|
e.disabled || ($("update:modelValue", e.value), $("change", e.value));
|
|
103
103
|
}, P = v(() => {
|
|
104
|
-
const e = t.variant === "line",
|
|
104
|
+
const e = t.variant === "line", a = {
|
|
105
105
|
surface: "bg-secondary/80 p-1",
|
|
106
106
|
primary: "bg-secondary p-1",
|
|
107
107
|
secondary: "bg-secondary p-1",
|
|
@@ -110,51 +110,51 @@ const me = /* @__PURE__ */ Z({
|
|
|
110
110
|
outline: "bg-transparent border border-border p-1",
|
|
111
111
|
line: "bg-transparent gap-6 rounded-none p-0 border-b border-border"
|
|
112
112
|
}, r = t.wrap && !e ? "flex-wrap" : "";
|
|
113
|
-
return [`${t.block || e ? "flex min-w-full w-max" : "inline-flex"} rounded-lg relative isolate ${r}`,
|
|
113
|
+
return [`${t.block || e ? "flex min-w-full w-max" : "inline-flex"} rounded-lg relative isolate ${r}`, a[t.variant]];
|
|
114
114
|
}), I = v(() => t.variant === "surface" || t.variant === "primary" || t.variant === "secondary" ? "var(--color-secondary)" : t.variant === "danger" ? "color-mix(in srgb, var(--color-danger) 10%, transparent)" : t.variant === "success" ? "color-mix(in srgb, var(--color-success) 10%, transparent)" : "var(--color-background)"), W = {
|
|
115
115
|
sm: "text-xs px-2.5 py-1",
|
|
116
116
|
md: "-text-fs-2 px-3 py-1",
|
|
117
117
|
lg: "-text-fs-1 px-4 py-1"
|
|
118
|
-
},
|
|
119
|
-
const e = t.variant === "line",
|
|
120
|
-
return [
|
|
121
|
-
}),
|
|
122
|
-
const
|
|
123
|
-
let
|
|
124
|
-
if (
|
|
118
|
+
}, _ = v(() => {
|
|
119
|
+
const e = t.variant === "line", a = e ? "relative z-10 flex items-center justify-center gap-2 font-medium transition-colors duration-50 ease-out cursor-pointer select-none outline-none pb-3 border-b-2 border-transparent hover:text-foreground shrink-0" : "relative z-10 flex items-center justify-center gap-2 font-medium transition-colors duration-50 ease-out cursor-pointer select-none rounded-md outline-none shrink-0", r = (t.block || t.wrap) && !e ? "flex-1" : "";
|
|
120
|
+
return [a, r];
|
|
121
|
+
}), F = (e) => {
|
|
122
|
+
const a = e.value === t.modelValue, r = t.variant === "line";
|
|
123
|
+
let n = "";
|
|
124
|
+
if (a)
|
|
125
125
|
if (r)
|
|
126
|
-
|
|
126
|
+
n = "text-primary";
|
|
127
127
|
else
|
|
128
128
|
switch (t.variant) {
|
|
129
129
|
case "surface":
|
|
130
|
-
|
|
130
|
+
n = "text-foreground";
|
|
131
131
|
break;
|
|
132
132
|
case "primary":
|
|
133
|
-
|
|
133
|
+
n = "text-primary-foreground";
|
|
134
134
|
break;
|
|
135
135
|
case "secondary":
|
|
136
|
-
|
|
136
|
+
n = "text-secondary";
|
|
137
137
|
break;
|
|
138
138
|
case "danger":
|
|
139
|
-
|
|
139
|
+
n = "text-danger-fg";
|
|
140
140
|
break;
|
|
141
141
|
case "success":
|
|
142
|
-
|
|
142
|
+
n = "text-success-fg";
|
|
143
143
|
break;
|
|
144
144
|
case "outline":
|
|
145
|
-
|
|
145
|
+
n = "text-accent-foreground";
|
|
146
146
|
break;
|
|
147
147
|
default:
|
|
148
|
-
|
|
148
|
+
n = "text-foreground";
|
|
149
149
|
}
|
|
150
150
|
else
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
return [
|
|
154
|
-
},
|
|
155
|
-
const
|
|
156
|
-
return t.variant === "line" ? `${
|
|
157
|
-
}),
|
|
151
|
+
n = r ? "text-muted-foreground" : "text-muted-foreground hover:text-foreground/80";
|
|
152
|
+
const s = e.disabled ? "opacity-50 cursor-not-allowed" : "";
|
|
153
|
+
return [_.value, n, t?.tabClass, s].join(" ");
|
|
154
|
+
}, q = v(() => {
|
|
155
|
+
const a = `absolute left-0 top-0 z-0 pointer-events-none ${B.value ? "transition-all duration-300 ease-[cubic-bezier(0.25,0.1,0.25,1)]" : ""}`;
|
|
156
|
+
return t.variant === "line" ? `${a} !h-[2px] !top-auto bottom-0` : `${a} rounded-md shadow-sm`;
|
|
157
|
+
}), G = () => ({
|
|
158
158
|
surface: "bg-[#ffff] dark:bg-[#0B0B0B]",
|
|
159
159
|
primary: "bg-primary",
|
|
160
160
|
secondary: "bg-secondary-foreground",
|
|
@@ -162,11 +162,11 @@ const me = /* @__PURE__ */ Z({
|
|
|
162
162
|
success: "bg-success",
|
|
163
163
|
outline: "bg-accent/50 ring-1 ring-border",
|
|
164
164
|
line: "bg-primary"
|
|
165
|
-
})[t.variant],
|
|
166
|
-
return (e,
|
|
165
|
+
})[t.variant], H = (e) => e.labelI18n ? ie(e.labelI18n) : e.label, J = (e) => e.to ? "router-link" : e.href ? "a" : "button", K = (e) => e.to ? { to: e.to } : e.href ? { href: e.href, target: "_blank", rel: "noopener noreferrer" } : { type: "button" };
|
|
166
|
+
return (e, a) => (g(), z("div", {
|
|
167
167
|
class: l([D.value, "group"])
|
|
168
168
|
}, [
|
|
169
|
-
x(
|
|
169
|
+
h(x(A, {
|
|
170
170
|
direction: "left",
|
|
171
171
|
color: I.value,
|
|
172
172
|
coverage: "100px",
|
|
@@ -177,15 +177,15 @@ const me = /* @__PURE__ */ Z({
|
|
|
177
177
|
}, null, 8, ["color", "class"]), [
|
|
178
178
|
[y, w.value]
|
|
179
179
|
]),
|
|
180
|
-
|
|
180
|
+
h(f("div", {
|
|
181
181
|
class: l(["left-0 pl-1", L.value])
|
|
182
182
|
}, [
|
|
183
183
|
f("button", {
|
|
184
|
-
onClick:
|
|
184
|
+
onClick: a[0] || (a[0] = (r) => S(-200)),
|
|
185
185
|
class: "pointer-events-auto h-full px-1 flex items-center justify-center text-muted-foreground hover:text-foreground transition-colors focus:outline-none",
|
|
186
186
|
"aria-label": "Scroll left"
|
|
187
187
|
}, [
|
|
188
|
-
|
|
188
|
+
x(R, {
|
|
189
189
|
icon: "lucide:chevron-left",
|
|
190
190
|
class: "w-5 h-5"
|
|
191
191
|
})
|
|
@@ -197,32 +197,34 @@ const me = /* @__PURE__ */ Z({
|
|
|
197
197
|
ref_key: "scrollRef",
|
|
198
198
|
ref: i,
|
|
199
199
|
class: "flex-1 min-w-0 max-w-full overflow-x-auto scrollbar-hide scroll-smooth",
|
|
200
|
-
onScroll:
|
|
200
|
+
onScroll: o
|
|
201
201
|
}, [
|
|
202
202
|
f("div", {
|
|
203
203
|
ref_key: "containerRef",
|
|
204
204
|
ref: b,
|
|
205
205
|
class: l([P.value, "tabes-container"]),
|
|
206
206
|
role: "tablist",
|
|
207
|
+
"data-variant": t.variant,
|
|
207
208
|
"data-tabes": ""
|
|
208
209
|
}, [
|
|
209
210
|
c.modelValue !== void 0 && !c.wrap ? (g(), z("div", {
|
|
210
211
|
key: 0,
|
|
211
|
-
class: l([
|
|
212
|
+
class: l([q.value, G()]),
|
|
212
213
|
style: ee(k.value)
|
|
213
214
|
}, null, 6)) : j("", !0),
|
|
214
|
-
(g(!0), z(te, null, re(c.options, (r) => (g(), M(
|
|
215
|
+
(g(!0), z(te, null, re(c.options, (r) => (g(), M(ae(J(r)), ne({
|
|
215
216
|
key: r.value,
|
|
216
217
|
ref_for: !0,
|
|
217
|
-
ref: (
|
|
218
|
+
ref: (n) => O(n?.$el || n, r.value),
|
|
218
219
|
role: "tab",
|
|
220
|
+
"data-tabes-item": "",
|
|
219
221
|
"aria-selected": c.modelValue === r.value,
|
|
220
222
|
disabled: r.disabled,
|
|
221
|
-
class: [
|
|
222
|
-
}, { ref_for: !0 },
|
|
223
|
-
onClick: (
|
|
223
|
+
class: [F(r), W[t.size]]
|
|
224
|
+
}, { ref_for: !0 }, K(r), {
|
|
225
|
+
onClick: (n) => N(r)
|
|
224
226
|
}), {
|
|
225
|
-
default:
|
|
227
|
+
default: oe(() => [
|
|
226
228
|
r.icon ? (g(), M(R, {
|
|
227
229
|
key: 0,
|
|
228
230
|
icon: r.icon,
|
|
@@ -230,13 +232,13 @@ const me = /* @__PURE__ */ Z({
|
|
|
230
232
|
}, null, 8, ["icon", "class"])) : j("", !0),
|
|
231
233
|
f("span", {
|
|
232
234
|
class: l(["whitespace-nowrap z-20 relative", c.textClass])
|
|
233
|
-
},
|
|
235
|
+
}, se(H(r)), 3)
|
|
234
236
|
]),
|
|
235
237
|
_: 2
|
|
236
238
|
}, 1040, ["aria-selected", "disabled", "class", "onClick"]))), 128))
|
|
237
|
-
],
|
|
239
|
+
], 10, ce)
|
|
238
240
|
], 544),
|
|
239
|
-
x(
|
|
241
|
+
h(x(A, {
|
|
240
242
|
direction: "right",
|
|
241
243
|
color: I.value,
|
|
242
244
|
coverage: "100px",
|
|
@@ -247,15 +249,15 @@ const me = /* @__PURE__ */ Z({
|
|
|
247
249
|
}, null, 8, ["color", "class"]), [
|
|
248
250
|
[y, C.value]
|
|
249
251
|
]),
|
|
250
|
-
|
|
252
|
+
h(f("div", {
|
|
251
253
|
class: l(["right-0 pr-1", L.value])
|
|
252
254
|
}, [
|
|
253
255
|
f("button", {
|
|
254
|
-
onClick:
|
|
256
|
+
onClick: a[1] || (a[1] = (r) => S(200)),
|
|
255
257
|
class: "pointer-events-auto h-full px-1 flex items-center justify-center text-muted-foreground hover:text-foreground transition-colors focus:outline-none",
|
|
256
258
|
"aria-label": "Scroll right"
|
|
257
259
|
}, [
|
|
258
|
-
|
|
260
|
+
x(R, {
|
|
259
261
|
icon: "lucide:chevron-right",
|
|
260
262
|
class: "w-5 h-5"
|
|
261
263
|
})
|
|
@@ -267,5 +269,5 @@ const me = /* @__PURE__ */ Z({
|
|
|
267
269
|
}
|
|
268
270
|
});
|
|
269
271
|
export {
|
|
270
|
-
|
|
272
|
+
ge as default
|
|
271
273
|
};
|
|
@@ -34,8 +34,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
34
34
|
onDuplicate?: (id: string) => any;
|
|
35
35
|
}>, {
|
|
36
36
|
itemClass: string;
|
|
37
|
-
confirmDelete: boolean;
|
|
38
37
|
isEditing: boolean;
|
|
38
|
+
confirmDelete: boolean;
|
|
39
39
|
canDelete: boolean;
|
|
40
40
|
allowIconChange: boolean;
|
|
41
41
|
activeItemClass: string;
|