vlite3 1.3.6 → 1.3.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/CategoryManager/CategoryManager.vue2.js +1 -1
- 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/Dropdown/Dropdown.vue.d.ts +8 -2
- package/components/Dropdown/Dropdown.vue.js +117 -104
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Form/CustomFields.vue.js +1 -1
- package/components/Form/CustomFields.vue2.js +1 -1
- package/components/ImportData/ImportStep1.vue.d.ts +2 -2
- package/components/ImportData/ImportStep2.vue.d.ts +2 -2
- package/components/Navbar/NavbarTabs.vue.js +82 -82
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/PermissionMatrix/PermissionTopBar.vue.js +36 -36
- package/components/Screen/ScreenFilter.vue.js +1 -1
- package/components/SidebarMenu/SidebarMenuItem.vue.js +193 -187
- package/components/ThemeToggle.vue.d.ts +1 -1
- package/components/ThemeToggle.vue.js +2 -2
- package/composables/useTheme.d.ts +1 -1
- package/composables/useTheme.js +15 -15
- package/package.json +1 -1
- package/style.css +77 -51
- /package/components/ColorPicker/{ColorIro.vue2.js → ColorIro.vue.js} +0 -0
- /package/components/Dropdown/{DropdownMenu.vue2.js → DropdownMenu.vue3.js} +0 -0
|
@@ -6,8 +6,8 @@ import O from "../Input.vue.js";
|
|
|
6
6
|
import "../../core/config.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import y from "../Button.vue.js";
|
|
9
|
-
import E from "./ColorIro.
|
|
10
|
-
/* empty css
|
|
9
|
+
import E from "./ColorIro.vue.js";
|
|
10
|
+
/* empty css */
|
|
11
11
|
import { useEyeDropper as P } from "@vueuse/core";
|
|
12
12
|
const I = {
|
|
13
13
|
key: 0,
|
|
@@ -4,7 +4,7 @@ import k from "../Icon.vue.js";
|
|
|
4
4
|
import { $t as E } from "../../utils/i18n.js";
|
|
5
5
|
import { useCommandPaletteItems as Y } from "./useCommandPaletteItems.js";
|
|
6
6
|
import { useCommandPaletteNav as Z } from "./useCommandPaletteNav.js";
|
|
7
|
-
import ee from "./CommandPaletteItem.
|
|
7
|
+
import ee from "./CommandPaletteItem.vue.js";
|
|
8
8
|
const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[70vh]" }, oe = { class: "flex items-center gap-3 px-4 py-3 border-b border-border/80 shrink-0" }, se = ["placeholder"], ne = ["aria-label"], re = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex flex-col items-center justify-center py-14 px-6 text-center select-none",
|
|
@@ -60,7 +60,10 @@ declare function __VLS_template(): {
|
|
|
60
60
|
header?(_: {}): any;
|
|
61
61
|
footer?(_: {}): any;
|
|
62
62
|
};
|
|
63
|
-
refs: {
|
|
63
|
+
refs: {
|
|
64
|
+
dropdownWrapper: HTMLDivElement;
|
|
65
|
+
focusTrapAfter: HTMLSpanElement;
|
|
66
|
+
};
|
|
64
67
|
rootEl: HTMLDivElement;
|
|
65
68
|
};
|
|
66
69
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -116,7 +119,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
116
119
|
showSelectedIcon: boolean;
|
|
117
120
|
doubleConfirmation: boolean;
|
|
118
121
|
isNested: boolean;
|
|
119
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
122
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
123
|
+
dropdownWrapper: HTMLDivElement;
|
|
124
|
+
focusTrapAfter: HTMLSpanElement;
|
|
125
|
+
}, HTMLDivElement>;
|
|
120
126
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
121
127
|
export default _default;
|
|
122
128
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as ae, ref as a, computed as f, inject as ie, onMounted as se, onUnmounted as re, watch as x, provide as L, reactive as de, toRefs as ue, openBlock as R, createElementBlock as ce, normalizeStyle as fe, createVNode as N, unref as u, withCtx as m, createBlock as me, normalizeClass as ve, createSlots as he, renderSlot as v, normalizeProps as z, guardReactiveProps as j, createCommentVNode as ye, createElementVNode as ge } from "vue";
|
|
2
|
+
import be from "v-tooltip-lite";
|
|
3
3
|
import "v-tooltip-lite/style.css";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { useDropdownIds as
|
|
8
|
-
import { useDropdownSelection as
|
|
9
|
-
import { useDropdownHydration as
|
|
10
|
-
const
|
|
4
|
+
import pe from "./DropdownMenu.vue.js";
|
|
5
|
+
import Ce from "./DropdownTrigger.vue.js";
|
|
6
|
+
import we from "../ConfirmationModal.vue.js";
|
|
7
|
+
import { useDropdownIds as Oe } from "./composables/useDropdownIds.js";
|
|
8
|
+
import { useDropdownSelection as Se } from "./composables/useDropdownSelection.js";
|
|
9
|
+
import { useDropdownHydration as $e } from "./composables/useDropdownHydration.js";
|
|
10
|
+
const He = /* @__PURE__ */ ae({
|
|
11
11
|
__name: "Dropdown",
|
|
12
12
|
props: {
|
|
13
13
|
selected: {},
|
|
@@ -52,152 +52,158 @@ const xe = /* @__PURE__ */ le({
|
|
|
52
52
|
variant: { default: "default" }
|
|
53
53
|
},
|
|
54
54
|
emits: ["onSelect", "update:modelValue", "onOpen", "onClose", "update:isOpen", "load-more", "search"],
|
|
55
|
-
setup(t, { emit:
|
|
56
|
-
const l = t, h =
|
|
55
|
+
setup(t, { emit: U }) {
|
|
56
|
+
const l = t, h = U, b = a(!1), y = a(null), r = a({
|
|
57
57
|
title: "Confirm Selection",
|
|
58
58
|
description: "Are you sure you want to select this option?",
|
|
59
59
|
confirmText: "Confirm",
|
|
60
60
|
cancelText: "Cancel",
|
|
61
61
|
variant: "primary"
|
|
62
|
-
}),
|
|
62
|
+
}), q = f(() => l.position ? l.position : l.direction === "rtl" ? "bottom-end" : "bottom-start"), F = f(() => l.nestedPosition ? l.nestedPosition : l.direction === "rtl" ? "left-start" : "right-start"), p = a(l.isOpen || !1), C = a(0), G = a(null), S = a(null), $ = () => {
|
|
63
|
+
S.value && setTimeout(() => {
|
|
64
|
+
S.value?.focus({ preventScroll: !0 });
|
|
65
|
+
}, 10);
|
|
66
|
+
}, J = `dropdown-${Math.random().toString(36).substring(2, 9)}`, I = f(() => l.menuId || J), g = a([]), s = ie("dropdown-context", null), K = (e) => {
|
|
63
67
|
g.value.includes(e) || g.value.push(e), s?.registerChildId?.(e);
|
|
64
|
-
},
|
|
68
|
+
}, Q = (e) => {
|
|
65
69
|
g.value = g.value.filter((o) => o !== e), s?.unregisterChildId?.(e);
|
|
66
70
|
};
|
|
67
|
-
|
|
68
|
-
s?.registerChildId && s.registerChildId(`#${
|
|
69
|
-
}),
|
|
70
|
-
s?.unregisterChildId && s.unregisterChildId(`#${
|
|
71
|
-
}),
|
|
71
|
+
se(() => {
|
|
72
|
+
s?.registerChildId && s.registerChildId(`#${I.value}`);
|
|
73
|
+
}), re(() => {
|
|
74
|
+
s?.unregisterChildId && s.unregisterChildId(`#${I.value}`);
|
|
75
|
+
}), x(
|
|
72
76
|
() => l.isOpen,
|
|
73
77
|
(e) => {
|
|
74
78
|
if (e !== void 0) {
|
|
75
79
|
if ((l.disabled || l.readonly) && e) return;
|
|
76
|
-
|
|
80
|
+
p.value = e;
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
);
|
|
80
|
-
const
|
|
84
|
+
const A = (e) => {
|
|
81
85
|
if (l.disabled || l.readonly) {
|
|
82
|
-
|
|
86
|
+
p.value = !1, h("update:isOpen", !1);
|
|
83
87
|
return;
|
|
84
88
|
}
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
},
|
|
89
|
-
e ?
|
|
89
|
+
p.value = e, h("update:isOpen", e), h(e ? "onOpen" : "onClose"), s?.onChildToggle?.(e);
|
|
90
|
+
}, w = () => {
|
|
91
|
+
A(!1);
|
|
92
|
+
}, X = (e) => {
|
|
93
|
+
e ? C.value++ : C.value = Math.max(0, C.value - 1);
|
|
90
94
|
};
|
|
91
95
|
L("dropdown-context", {
|
|
92
|
-
close:
|
|
96
|
+
close: w,
|
|
93
97
|
onChildToggle: (e) => {
|
|
94
|
-
|
|
98
|
+
X(e), s?.onChildToggle?.(e);
|
|
95
99
|
},
|
|
96
|
-
registerChildId:
|
|
97
|
-
unregisterChildId:
|
|
100
|
+
registerChildId: K,
|
|
101
|
+
unregisterChildId: Q
|
|
98
102
|
}), L("modal-context", null);
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
|
|
103
|
+
const k = f(() => l.options ? l.options.map((e) => typeof e == "string" || typeof e == "number" ? { label: String(e), value: String(e) } : e) : []), O = a([]), E = a(!1), T = a(!1);
|
|
104
|
+
x(
|
|
105
|
+
k,
|
|
102
106
|
(e) => {
|
|
103
107
|
if (e) {
|
|
104
108
|
if (l.remote) {
|
|
105
|
-
const o = [...
|
|
109
|
+
const o = [...O.value];
|
|
106
110
|
e.forEach((n) => {
|
|
107
|
-
o.some((
|
|
108
|
-
}),
|
|
111
|
+
o.some((i) => i.value !== void 0 && n.value !== void 0 ? typeof i.value == "object" && i.key && n.key ? i.key === n.key && i.value[i.key] === n.value[n.key] : i.value === n.value : i.label === n.label) || o.push(n);
|
|
112
|
+
}), O.value = o;
|
|
109
113
|
} else
|
|
110
|
-
|
|
111
|
-
!
|
|
112
|
-
|
|
114
|
+
O.value = e;
|
|
115
|
+
!E.value && e.length > 0 && (E.value = !0, setTimeout(() => {
|
|
116
|
+
T.value = !0, H(M.value);
|
|
113
117
|
}, 10));
|
|
114
118
|
}
|
|
115
119
|
},
|
|
116
120
|
{ immediate: !0 }
|
|
117
121
|
);
|
|
118
122
|
const c = f(() => {
|
|
119
|
-
const e = [...
|
|
120
|
-
return
|
|
121
|
-
o.has(
|
|
123
|
+
const e = [...O.value], o = new Set(e.map((n) => n.value ?? n.label));
|
|
124
|
+
return B.value.forEach((n, d) => {
|
|
125
|
+
o.has(d) || (e.unshift(n), o.add(d));
|
|
122
126
|
}), e;
|
|
123
|
-
}), { selectedBuffer:
|
|
127
|
+
}), { selectedBuffer: B, isHydrating: Y, hydrateSelected: H } = $e({
|
|
124
128
|
fetchSelected: l.fetchSelected,
|
|
125
129
|
getAvailableOptions: () => c.value,
|
|
126
|
-
isReady: () =>
|
|
127
|
-
}), { getAllRecursiveIds:
|
|
128
|
-
...
|
|
130
|
+
isReady: () => T.value
|
|
131
|
+
}), { getAllRecursiveIds: Z } = Oe(), _ = de({
|
|
132
|
+
...ue(l),
|
|
129
133
|
options: c
|
|
130
|
-
}), { currentValue:
|
|
131
|
-
|
|
134
|
+
}), { currentValue: M, selectedLabel: V, selectedIcon: W, selectOption: ee } = Se(
|
|
135
|
+
_,
|
|
132
136
|
h
|
|
133
|
-
),
|
|
134
|
-
const e = l.ignoreClickOutside || [], o =
|
|
137
|
+
), te = f(() => {
|
|
138
|
+
const e = l.ignoreClickOutside || [], o = Z(c.value);
|
|
135
139
|
return [.../* @__PURE__ */ new Set([...e, ...o, ...g.value])];
|
|
136
140
|
});
|
|
137
|
-
|
|
138
|
-
() =>
|
|
141
|
+
x(
|
|
142
|
+
() => M.value,
|
|
139
143
|
(e) => {
|
|
140
|
-
|
|
144
|
+
T.value && H(e);
|
|
141
145
|
},
|
|
142
146
|
{ deep: !0 }
|
|
143
147
|
);
|
|
144
|
-
const
|
|
148
|
+
const le = (e) => {
|
|
145
149
|
if (l.disabled || l.readonly || e.disabled) return;
|
|
146
|
-
l.doubleConfirmation || !!e.confirmation ? (y.value = e, typeof e.confirmation == "object" ?
|
|
150
|
+
l.doubleConfirmation || !!e.confirmation ? (y.value = e, typeof e.confirmation == "object" ? r.value = {
|
|
147
151
|
title: e.confirmation.title || "Confirm Selection",
|
|
148
152
|
description: e.confirmation.description || "Are you sure you want to select this option?",
|
|
149
153
|
confirmText: e.confirmation.confirmText || "Confirm",
|
|
150
154
|
cancelText: e.confirmation.cancelText || "Cancel",
|
|
151
155
|
variant: e.confirmation.variant || "primary"
|
|
152
|
-
} :
|
|
156
|
+
} : r.value = {
|
|
153
157
|
title: "Confirm Selection",
|
|
154
158
|
description: `Are you sure you want to select "${e.label}"?`,
|
|
155
159
|
confirmText: "Confirm",
|
|
156
160
|
cancelText: "Cancel",
|
|
157
161
|
variant: "primary"
|
|
158
|
-
}, b.value = !0,
|
|
162
|
+
}, b.value = !0, w()) : (D(e), l.closeOnSelect && (w(), $()));
|
|
159
163
|
}, D = (e) => {
|
|
160
164
|
if (l.disabled || l.readonly || e.disabled) return;
|
|
161
165
|
const o = e.value ?? e.label;
|
|
162
|
-
|
|
163
|
-
const n =
|
|
166
|
+
B.value.has(o) || B.value.set(o, e);
|
|
167
|
+
const n = ee(e);
|
|
164
168
|
if (!l.isNested) {
|
|
165
|
-
const
|
|
166
|
-
(e._path || [
|
|
167
|
-
typeof
|
|
168
|
-
value:
|
|
169
|
-
option:
|
|
169
|
+
const d = e._originalOption || e, i = d.value ?? d.label;
|
|
170
|
+
(e._path || [d]).forEach((P) => {
|
|
171
|
+
typeof P.onSelect == "function" && P.onSelect({
|
|
172
|
+
value: i,
|
|
173
|
+
option: P,
|
|
170
174
|
data: c.value || [],
|
|
171
175
|
values: n
|
|
172
176
|
});
|
|
173
177
|
});
|
|
174
178
|
}
|
|
175
|
-
},
|
|
176
|
-
y.value && (D(y.value), y.value = null, b.value = !1);
|
|
177
|
-
},
|
|
178
|
-
y.value = null, b.value = !1;
|
|
179
|
+
}, ne = () => {
|
|
180
|
+
y.value && (D(y.value), y.value = null, b.value = !1, $());
|
|
181
|
+
}, oe = () => {
|
|
182
|
+
y.value = null, b.value = !1, $();
|
|
179
183
|
};
|
|
180
|
-
return (e, o) => (
|
|
184
|
+
return (e, o) => (R(), ce("div", {
|
|
181
185
|
class: "relative inline-block text-left",
|
|
182
|
-
style:
|
|
186
|
+
style: fe({ direction: t.direction }),
|
|
187
|
+
ref_key: "dropdownWrapper",
|
|
188
|
+
ref: G
|
|
183
189
|
}, [
|
|
184
|
-
|
|
190
|
+
N(u(be), {
|
|
185
191
|
content: "",
|
|
186
192
|
trigger: "click",
|
|
187
193
|
arrow: !1,
|
|
188
194
|
disabled: t.disabled || t.readonly,
|
|
189
195
|
teleport: t.teleport,
|
|
190
196
|
offset: t.offset,
|
|
191
|
-
placement:
|
|
192
|
-
isOpen:
|
|
193
|
-
keepAlive:
|
|
194
|
-
menuId:
|
|
195
|
-
ignoreClickOutside:
|
|
197
|
+
placement: q.value,
|
|
198
|
+
isOpen: p.value,
|
|
199
|
+
keepAlive: C.value > 0,
|
|
200
|
+
menuId: I.value,
|
|
201
|
+
ignoreClickOutside: te.value,
|
|
196
202
|
class: "w-full",
|
|
197
203
|
className: "dropdown " + (t.className || "") + (t.variant === "transparent" ? " unstyled-dropdown" : "") + (t.variant === "secondary" ? " dropdown-secondary" : ""),
|
|
198
204
|
onOnShow: o[2] || (o[2] = (n) => e.$emit("onOpen")),
|
|
199
205
|
onOnHide: o[3] || (o[3] = (n) => e.$emit("onClose")),
|
|
200
|
-
"onUpdate:isOpen":
|
|
206
|
+
"onUpdate:isOpen": A,
|
|
201
207
|
triggerClass: "w-full",
|
|
202
208
|
styles: {
|
|
203
209
|
padding: "0",
|
|
@@ -207,14 +213,14 @@ const xe = /* @__PURE__ */ le({
|
|
|
207
213
|
}
|
|
208
214
|
}, {
|
|
209
215
|
trigger: m(({ isOpen: n }) => [
|
|
210
|
-
v(e.$slots, "trigger",
|
|
211
|
-
selectedLabel: u(
|
|
212
|
-
selectedIcon: t.showSelectedIcon ? u(
|
|
216
|
+
v(e.$slots, "trigger", z(j({
|
|
217
|
+
selectedLabel: u(V),
|
|
218
|
+
selectedIcon: t.showSelectedIcon ? u(W) : void 0,
|
|
213
219
|
isOpen: n
|
|
214
220
|
})), () => [
|
|
215
|
-
|
|
216
|
-
"selected-label": u(
|
|
217
|
-
"selected-icon": t.showSelectedIcon ? u(
|
|
221
|
+
N(Ce, {
|
|
222
|
+
"selected-label": u(V),
|
|
223
|
+
"selected-icon": t.showSelectedIcon ? u(W) : void 0,
|
|
218
224
|
"is-open": n,
|
|
219
225
|
direction: t.direction,
|
|
220
226
|
disabled: t.disabled,
|
|
@@ -225,33 +231,33 @@ const xe = /* @__PURE__ */ le({
|
|
|
225
231
|
])
|
|
226
232
|
]),
|
|
227
233
|
default: m(() => [
|
|
228
|
-
!(t.disabled || t.readonly) && (
|
|
234
|
+
!(t.disabled || t.readonly) && (k.value.length || c.value.length || e.$slots.menu || e.$slots.item || e.$slots.default || t.remote || t.searchable) ? (R(), me(pe, {
|
|
229
235
|
key: 0,
|
|
230
|
-
options:
|
|
236
|
+
options: k.value,
|
|
231
237
|
cachedOptions: c.value,
|
|
232
|
-
class:
|
|
238
|
+
class: ve(t.className),
|
|
233
239
|
emptyMessage: t.emptyMessage,
|
|
234
240
|
searchEmptyMessage: t.searchEmptyMessage,
|
|
235
|
-
selected: u(
|
|
241
|
+
selected: u(M),
|
|
236
242
|
selectedIndex: t.selectedIndex,
|
|
237
243
|
maxHeight: t.maxHeight,
|
|
238
|
-
nestedPosition:
|
|
244
|
+
nestedPosition: F.value,
|
|
239
245
|
nestedOffset: t.nestedOffset,
|
|
240
246
|
selectable: t.selectable,
|
|
241
247
|
direction: t.direction,
|
|
242
248
|
isCustomSlotMenu: !!e.$slots?.default || !!e.$slots?.menu,
|
|
243
249
|
layout: t.layout,
|
|
244
250
|
columns: t.columns,
|
|
245
|
-
loading: t.loading || u(
|
|
251
|
+
loading: t.loading || u(Y),
|
|
246
252
|
hasMore: t.hasMore,
|
|
247
253
|
searchable: t.searchable,
|
|
248
254
|
remote: t.remote,
|
|
249
255
|
debounceTime: t.debounceTime,
|
|
250
|
-
onSelect:
|
|
251
|
-
onClose:
|
|
256
|
+
onSelect: le,
|
|
257
|
+
onClose: w,
|
|
252
258
|
onLoadMore: o[0] || (o[0] = (n) => e.$emit("load-more")),
|
|
253
259
|
onSearch: o[1] || (o[1] = (n) => e.$emit("search", n))
|
|
254
|
-
},
|
|
260
|
+
}, he({ _: 2 }, [
|
|
255
261
|
e.$slots.menu || e.$slots?.default ? {
|
|
256
262
|
name: "menu",
|
|
257
263
|
fn: m(() => [
|
|
@@ -263,7 +269,7 @@ const xe = /* @__PURE__ */ le({
|
|
|
263
269
|
e.$slots.item ? {
|
|
264
270
|
name: "item",
|
|
265
271
|
fn: m((n) => [
|
|
266
|
-
v(e.$slots, "item",
|
|
272
|
+
v(e.$slots, "item", z(j(n)))
|
|
267
273
|
]),
|
|
268
274
|
key: "1"
|
|
269
275
|
} : void 0,
|
|
@@ -281,23 +287,30 @@ const xe = /* @__PURE__ */ le({
|
|
|
281
287
|
]),
|
|
282
288
|
key: "3"
|
|
283
289
|
} : void 0
|
|
284
|
-
]), 1032, ["options", "cachedOptions", "class", "emptyMessage", "searchEmptyMessage", "selected", "selectedIndex", "maxHeight", "nestedPosition", "nestedOffset", "selectable", "direction", "isCustomSlotMenu", "layout", "columns", "loading", "hasMore", "searchable", "remote", "debounceTime"])) :
|
|
290
|
+
]), 1032, ["options", "cachedOptions", "class", "emptyMessage", "searchEmptyMessage", "selected", "selectedIndex", "maxHeight", "nestedPosition", "nestedOffset", "selectable", "direction", "isCustomSlotMenu", "layout", "columns", "loading", "hasMore", "searchable", "remote", "debounceTime"])) : ye("", !0)
|
|
285
291
|
]),
|
|
286
292
|
_: 3
|
|
287
293
|
}, 8, ["disabled", "teleport", "offset", "placement", "isOpen", "keepAlive", "menuId", "ignoreClickOutside", "className", "styles"]),
|
|
288
|
-
|
|
294
|
+
N(we, {
|
|
289
295
|
show: b.value,
|
|
290
|
-
title:
|
|
291
|
-
description:
|
|
292
|
-
"confirm-text":
|
|
293
|
-
"cancel-text":
|
|
294
|
-
variant:
|
|
295
|
-
onConfirm:
|
|
296
|
-
onCancel:
|
|
297
|
-
}, null, 8, ["show", "title", "description", "confirm-text", "cancel-text", "variant"])
|
|
296
|
+
title: r.value.title,
|
|
297
|
+
description: r.value.description,
|
|
298
|
+
"confirm-text": r.value.confirmText,
|
|
299
|
+
"cancel-text": r.value.cancelText,
|
|
300
|
+
variant: r.value.variant,
|
|
301
|
+
onConfirm: ne,
|
|
302
|
+
onCancel: oe
|
|
303
|
+
}, null, 8, ["show", "title", "description", "confirm-text", "cancel-text", "variant"]),
|
|
304
|
+
ge("span", {
|
|
305
|
+
ref_key: "focusTrapAfter",
|
|
306
|
+
ref: S,
|
|
307
|
+
tabindex: "-1",
|
|
308
|
+
class: "outline-none pointer-events-none absolute opacity-0 w-0 h-0",
|
|
309
|
+
"aria-hidden": "true"
|
|
310
|
+
}, null, 512)
|
|
298
311
|
], 4));
|
|
299
312
|
}
|
|
300
313
|
});
|
|
301
314
|
export {
|
|
302
|
-
|
|
315
|
+
He as default
|
|
303
316
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CustomFields.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-58c4250f"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -155,7 +155,7 @@ const ie = { class: "custom-fields-wrapper" }, ce = { class: "flex justify-betwe
|
|
|
155
155
|
}, null, 8, ["disabled"]))
|
|
156
156
|
]),
|
|
157
157
|
p("div", me, [
|
|
158
|
-
R.value.length >
|
|
158
|
+
R.value.length > 1 ? (n(), d("div", be, [
|
|
159
159
|
r.draggable && !r.disabled && !r.readonly ? (n(), d("div", fe)) : i("", !0),
|
|
160
160
|
r.showRowNumbers ? (n(), d("div", ve, " # ")) : i("", !0),
|
|
161
161
|
(n(!0), d(V, null, C(R.value, (o, l) => (n(), d("div", {
|
|
@@ -8,21 +8,21 @@ type __VLS_Props = {
|
|
|
8
8
|
importData: any[];
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
next: (...args: any[]) => void;
|
|
12
11
|
"update:importMethod": (...args: any[]) => void;
|
|
13
12
|
"update:csvFile": (...args: any[]) => void;
|
|
14
13
|
"update:mappings": (...args: any[]) => void;
|
|
15
14
|
"update:headers": (...args: any[]) => void;
|
|
16
15
|
"update:preview": (...args: any[]) => void;
|
|
17
16
|
"update:importData": (...args: any[]) => void;
|
|
17
|
+
next: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onNext?: (...args: any[]) => any;
|
|
20
19
|
"onUpdate:importMethod"?: (...args: any[]) => any;
|
|
21
20
|
"onUpdate:csvFile"?: (...args: any[]) => any;
|
|
22
21
|
"onUpdate:mappings"?: (...args: any[]) => any;
|
|
23
22
|
"onUpdate:headers"?: (...args: any[]) => any;
|
|
24
23
|
"onUpdate:preview"?: (...args: any[]) => any;
|
|
25
24
|
"onUpdate:importData"?: (...args: any[]) => any;
|
|
25
|
+
onNext?: (...args: any[]) => any;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
27
|
fileInput: HTMLInputElement;
|
|
28
28
|
}, HTMLDivElement>;
|
|
@@ -9,12 +9,12 @@ type __VLS_Props = {
|
|
|
9
9
|
}[];
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
next: (...args: any[]) => void;
|
|
13
12
|
"update:mappings": (...args: any[]) => void;
|
|
13
|
+
next: (...args: any[]) => void;
|
|
14
14
|
prev: (...args: any[]) => void;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onNext?: (...args: any[]) => any;
|
|
17
16
|
"onUpdate:mappings"?: (...args: any[]) => any;
|
|
17
|
+
onNext?: (...args: any[]) => any;
|
|
18
18
|
onPrev?: (...args: any[]) => any;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
20
|
export default _default;
|