vlite3 0.9.2 → 0.9.4
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/Alert.vue.js +40 -38
- package/components/Carousel/Carousel.vue.d.ts +2 -2
- package/components/Carousel/Carousel.vue.js +2 -2
- package/components/Carousel/Carousel.vue2.js +1 -1
- package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
- package/components/DataTable/DataTable.vue.js +20 -20
- package/components/DataTable/DataTableRow.vue.js +1 -1
- package/components/DateTime/DateTime.vue.js +31 -0
- package/components/DateTime/DateTime.vue2.js +4 -0
- package/components/DateTime/index.d.ts +1 -0
- package/components/Dropdown/Dropdown.vue.js +37 -37
- package/components/Form/CustomFields.vue.d.ts +2 -0
- package/components/Form/CustomFields.vue.js +2 -2
- package/components/Form/CustomFields.vue2.js +125 -97
- package/components/Form/FormField.vue.js +128 -127
- package/components/Form/types.d.ts +1 -0
- package/components/List/ListFieldRow.vue.js +1 -1
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/NumberInput.vue.js +1 -1
- package/components/NumberInput.vue2.js +45 -45
- package/components/Screen/Screen.vue.js +70 -70
- package/components/Screen/ScreenFilter.vue.js +3 -2
- package/components/Screen/components/ScreenEmptyState.vue.js +11 -10
- package/components/Screen/components/ScreenQuickFilters.vue.js +3 -3
- package/components/Screen/components/ScreenViewToggle.vue.js +5 -5
- package/components/Workbook/Sheet.vue.d.ts +1 -1
- package/components/Workbook/Workbook.vue.d.ts +1 -1
- package/core/config.d.ts +2 -2
- package/core/config.js +7 -7
- package/core/index.js +3 -3
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
- package/style.css +9 -9
- package/types/config.type.d.ts +1 -1
- package/components/Date/Date.vue.js +0 -21
- package/components/Date/Date.vue2.js +0 -4
- package/components/Date/index.d.ts +0 -1
- /package/components/{Date/Date.vue.d.ts → DateTime/DateTime.vue.d.ts} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isComponent as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { $t as
|
|
6
|
-
import
|
|
1
|
+
import { defineComponent as T, computed as r, markRaw as j, openBlock as u, createBlock as f, mergeProps as c, toHandlers as L, createSlots as E, unref as $, withCtx as o, createVNode as A, createTextVNode as p, toDisplayString as v, createCommentVNode as N, resolveDynamicComponent as H } from "vue";
|
|
2
|
+
import { isComponent as z, isAddonObject as h } from "./utils/form.utils.js";
|
|
3
|
+
import q from "../NumberInput.vue.js";
|
|
4
|
+
import g from "../Button.vue.js";
|
|
5
|
+
import { $t as G } from "../../utils/i18n.js";
|
|
6
|
+
import y from "../Input.vue.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
const
|
|
8
|
+
import J from "../Switch.vue.js";
|
|
9
|
+
import K from "../CheckBox.vue.js";
|
|
10
|
+
import M from "../FilePicker/FilePicker.vue.js";
|
|
11
|
+
import Q from "../AvatarUploader/AvatarUploader.vue.js";
|
|
12
|
+
import V from "../Dropdown/Dropdown.vue.js";
|
|
13
|
+
import W from "../MultiSelect/MultiSelect.vue.js";
|
|
14
|
+
import X from "../DatePicker.vue.js";
|
|
15
|
+
import Y from "../ColorPicker/ColorPicker.vue.js";
|
|
16
|
+
import Z from "../IconPicker.vue.js";
|
|
17
|
+
import _ from "./CustomFields.vue.js";
|
|
18
|
+
const ge = /* @__PURE__ */ T({
|
|
19
19
|
__name: "FormField",
|
|
20
20
|
props: {
|
|
21
21
|
field: {},
|
|
@@ -33,17 +33,17 @@ const pe = /* @__PURE__ */ I({
|
|
|
33
33
|
loading: { type: Boolean, default: !1 }
|
|
34
34
|
},
|
|
35
35
|
emits: ["change", "addonChange", "addonAction"],
|
|
36
|
-
setup(t, { emit:
|
|
37
|
-
const e = t,
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
},
|
|
36
|
+
setup(t, { emit: P }) {
|
|
37
|
+
const e = t, m = P, n = (a, l) => {
|
|
38
|
+
m("change", { value: a, data: l });
|
|
39
|
+
}, S = (a) => {
|
|
40
|
+
m("change", { value: a });
|
|
41
|
+
}, b = r(
|
|
42
42
|
() => e.field.type === "number" && e.field.isSensitiveField === !0
|
|
43
|
-
),
|
|
43
|
+
), U = r(() => {
|
|
44
44
|
const a = e.field.type;
|
|
45
|
-
if (
|
|
46
|
-
return
|
|
45
|
+
if (z(a))
|
|
46
|
+
return j(a);
|
|
47
47
|
switch (a) {
|
|
48
48
|
case "text":
|
|
49
49
|
case "email":
|
|
@@ -52,48 +52,48 @@ const pe = /* @__PURE__ */ I({
|
|
|
52
52
|
case "url":
|
|
53
53
|
case "search":
|
|
54
54
|
case "textarea":
|
|
55
|
-
return
|
|
55
|
+
return y;
|
|
56
56
|
case "number":
|
|
57
|
-
return
|
|
57
|
+
return b.value ? y : q;
|
|
58
58
|
case "switch":
|
|
59
|
-
return
|
|
59
|
+
return J;
|
|
60
60
|
case "check":
|
|
61
|
-
return
|
|
61
|
+
return K;
|
|
62
62
|
case "select":
|
|
63
|
-
return
|
|
63
|
+
return V;
|
|
64
64
|
case "multiSelect":
|
|
65
|
-
return
|
|
65
|
+
return W;
|
|
66
66
|
case "date":
|
|
67
67
|
case "time":
|
|
68
|
-
return
|
|
68
|
+
return X;
|
|
69
69
|
case "file":
|
|
70
70
|
case "fileUploader":
|
|
71
|
-
return
|
|
71
|
+
return M;
|
|
72
72
|
case "avatarUpload":
|
|
73
|
-
return J;
|
|
74
|
-
case "color":
|
|
75
73
|
return Q;
|
|
74
|
+
case "color":
|
|
75
|
+
return Y;
|
|
76
76
|
case "iconPicker":
|
|
77
|
-
return
|
|
77
|
+
return Z;
|
|
78
78
|
case "customFields":
|
|
79
|
-
return
|
|
79
|
+
return _;
|
|
80
80
|
default:
|
|
81
|
-
return
|
|
81
|
+
return y;
|
|
82
82
|
}
|
|
83
|
-
}),
|
|
84
|
-
const a = e.field.type, l = {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
}), k = r(() => {
|
|
84
|
+
const a = e.field.type, { disabled: l, readonly: d, ...D } = e.field, i = {
|
|
85
|
+
...D,
|
|
86
|
+
disabled: e.disabled || l === !0,
|
|
87
|
+
readonly: e.readonly || d === !0,
|
|
88
88
|
...e.field.props || {},
|
|
89
89
|
label: "",
|
|
90
90
|
labelI18n: ""
|
|
91
|
-
},
|
|
91
|
+
}, C = e.field.placeholderI18n ? G(e.field.placeholderI18n) : e.field.placeholder, x = e.variant === "floating" && e.label && !e.floatingActive, s = x ? "" : C;
|
|
92
92
|
return a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || a === "textarea" || !a ? {
|
|
93
|
-
...
|
|
93
|
+
...i,
|
|
94
94
|
modelValue: e.value ?? "",
|
|
95
95
|
type: a || "text",
|
|
96
|
-
placeholder:
|
|
96
|
+
placeholder: s,
|
|
97
97
|
label: e.label,
|
|
98
98
|
icon: e.field.icon,
|
|
99
99
|
iconRight: e.field.iconRight,
|
|
@@ -108,13 +108,13 @@ const pe = /* @__PURE__ */ I({
|
|
|
108
108
|
max: e.field.max,
|
|
109
109
|
rows: a === "textarea" ? e.field.props?.rows || 3 : void 0,
|
|
110
110
|
class: `${e.field.className}`
|
|
111
|
-
} : a === "number" &&
|
|
112
|
-
...
|
|
111
|
+
} : a === "number" && b.value ? {
|
|
112
|
+
...i,
|
|
113
113
|
// Convert numeric value to string so Input.vue (string-based) displays it correctly
|
|
114
114
|
modelValue: e.value !== void 0 && e.value !== null ? String(e.value) : "",
|
|
115
115
|
// 'password' activates the eye-toggle inside Input.vue
|
|
116
116
|
type: "password",
|
|
117
|
-
placeholder:
|
|
117
|
+
placeholder: s,
|
|
118
118
|
label: e.label,
|
|
119
119
|
variant: e.variant,
|
|
120
120
|
size: e.size,
|
|
@@ -124,7 +124,7 @@ const pe = /* @__PURE__ */ I({
|
|
|
124
124
|
showClearButton: !1,
|
|
125
125
|
class: e.field.className ?? ""
|
|
126
126
|
} : a === "number" ? {
|
|
127
|
-
...
|
|
127
|
+
...i,
|
|
128
128
|
modelValue: e.value ?? void 0,
|
|
129
129
|
min: e.field.min,
|
|
130
130
|
max: e.field.max,
|
|
@@ -133,59 +133,59 @@ const pe = /* @__PURE__ */ I({
|
|
|
133
133
|
mode: e.field.props?.mode ?? (e.variant === "transparent" ? "ghost" : "outline"),
|
|
134
134
|
size: e.size,
|
|
135
135
|
rounded: e.rounded,
|
|
136
|
-
placeholder:
|
|
136
|
+
placeholder: s,
|
|
137
137
|
class: e.field.className
|
|
138
138
|
} : a === "switch" ? {
|
|
139
|
-
...
|
|
139
|
+
...i,
|
|
140
140
|
modelValue: !!e.value,
|
|
141
141
|
size: "sm",
|
|
142
142
|
label: ""
|
|
143
143
|
// Label handled externally
|
|
144
144
|
} : a === "check" ? {
|
|
145
|
-
...
|
|
145
|
+
...i,
|
|
146
146
|
modelValue: !!e.value,
|
|
147
147
|
label: ""
|
|
148
148
|
// Label handled externally
|
|
149
149
|
} : a === "select" ? {
|
|
150
|
-
...
|
|
150
|
+
...i,
|
|
151
151
|
modelValue: e.value,
|
|
152
152
|
options: e.field.options || [],
|
|
153
|
-
placeholder:
|
|
153
|
+
placeholder: s,
|
|
154
154
|
selectable: !0,
|
|
155
155
|
closeOnSelect: !0,
|
|
156
156
|
triggerProps: {
|
|
157
157
|
variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline",
|
|
158
158
|
size: e.size,
|
|
159
|
-
...
|
|
159
|
+
...x ? { text: "" } : {}
|
|
160
160
|
}
|
|
161
161
|
} : a === "multiSelect" ? {
|
|
162
|
-
...
|
|
162
|
+
...i,
|
|
163
163
|
modelValue: Array.isArray(e.value) ? e.value : [],
|
|
164
164
|
options: e.field.options || [],
|
|
165
|
-
placeholder:
|
|
165
|
+
placeholder: C,
|
|
166
166
|
variant: e.variant,
|
|
167
167
|
size: e.size,
|
|
168
168
|
rounded: e.rounded
|
|
169
169
|
} : a === "date" || a === "time" ? {
|
|
170
|
-
...
|
|
170
|
+
...i,
|
|
171
171
|
modelValue: e.value,
|
|
172
172
|
mode: a === "time" ? "time" : "date",
|
|
173
|
-
placeholder:
|
|
173
|
+
placeholder: s,
|
|
174
174
|
btnProps: {
|
|
175
175
|
variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline",
|
|
176
176
|
size: e.size,
|
|
177
177
|
class: "px-3!",
|
|
178
|
-
...
|
|
178
|
+
...x ? { text: "" } : {}
|
|
179
179
|
}
|
|
180
180
|
} : a === "fileUploader" || a === "file" ? {
|
|
181
|
-
...
|
|
181
|
+
...i,
|
|
182
182
|
modelValue: e.value,
|
|
183
183
|
multiSelect: e.field.props?.multiple || !1,
|
|
184
184
|
maxFiles: e.field.maxFiles || e.field.props?.maxFiles,
|
|
185
185
|
fileTypes: e.field.props?.accept ? e.field.props.accept.split(",") : [],
|
|
186
186
|
returnFormat: "base64",
|
|
187
187
|
variant: a === "file" ? "input" : "dropzone",
|
|
188
|
-
placeholder:
|
|
188
|
+
placeholder: s,
|
|
189
189
|
size: e.size,
|
|
190
190
|
rounded: e.rounded,
|
|
191
191
|
maxSize: e.field.maxFileSize ? e.field.maxFileSize * 1024 * 1024 : void 0,
|
|
@@ -193,165 +193,166 @@ const pe = /* @__PURE__ */ I({
|
|
|
193
193
|
allowRename: e.field.props?.allowRename ?? !0
|
|
194
194
|
} : a === "avatarUpload" ? {
|
|
195
195
|
size: "2xl",
|
|
196
|
-
...
|
|
196
|
+
...i,
|
|
197
197
|
modelValue: e.value,
|
|
198
198
|
editable: !e.readonly,
|
|
199
199
|
maxSize: e.field.maxFileSize ? e.field.maxFileSize * 1024 * 1024 : void 0,
|
|
200
200
|
loading: e.loading
|
|
201
201
|
} : a === "color" ? {
|
|
202
|
-
...
|
|
202
|
+
...i,
|
|
203
203
|
modelValue: e.value || "#000000"
|
|
204
204
|
} : a === "iconPicker" ? {
|
|
205
|
-
...
|
|
205
|
+
...i,
|
|
206
206
|
value: e.value || "lucide:smile"
|
|
207
207
|
} : a === "customFields" ? {
|
|
208
|
-
...
|
|
208
|
+
...i,
|
|
209
209
|
label: e?.field?.label,
|
|
210
210
|
labelI18n: e?.field?.labelI18n,
|
|
211
211
|
modelValue: Array.isArray(e.value) ? e.value : [],
|
|
212
212
|
schema: e.field.props?.schema || [],
|
|
213
213
|
headers: e.field.props?.headers || [],
|
|
214
|
+
draggable: e.field.props?.draggable || !1,
|
|
214
215
|
values: e.values,
|
|
215
216
|
variant: e.variant,
|
|
216
217
|
size: e.size,
|
|
217
218
|
rounded: e.rounded,
|
|
218
219
|
isUpdate: e.isUpdate
|
|
219
|
-
} :
|
|
220
|
-
...
|
|
220
|
+
} : z(a) ? {
|
|
221
|
+
...i,
|
|
221
222
|
value: e.value,
|
|
222
223
|
values: e.values
|
|
223
|
-
} :
|
|
224
|
-
}),
|
|
224
|
+
} : i;
|
|
225
|
+
}), R = r(() => {
|
|
225
226
|
const a = e.field.type;
|
|
226
227
|
return a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || a === "textarea" || a === "switch" || a === "check" || !a ? {
|
|
227
|
-
"update:modelValue":
|
|
228
|
-
} : a === "number" &&
|
|
228
|
+
"update:modelValue": S
|
|
229
|
+
} : a === "number" && b.value ? {
|
|
229
230
|
"update:modelValue": (l) => {
|
|
230
|
-
const
|
|
231
|
-
|
|
231
|
+
const d = l === "" ? void 0 : Number(l);
|
|
232
|
+
m("change", { value: isNaN(d) ? void 0 : d });
|
|
232
233
|
}
|
|
233
234
|
} : a === "number" ? {
|
|
234
|
-
"update:modelValue":
|
|
235
|
+
"update:modelValue": S
|
|
235
236
|
} : a === "select" ? {
|
|
236
237
|
onSelect: (l) => {
|
|
237
|
-
|
|
238
|
+
n(l.value, l.data);
|
|
238
239
|
}
|
|
239
240
|
} : a === "multiSelect" ? {
|
|
240
|
-
change: (l) =>
|
|
241
|
+
change: (l) => n(l)
|
|
241
242
|
} : a === "date" || a === "time" ? {
|
|
242
|
-
change: (l) =>
|
|
243
|
+
change: (l) => n(l)
|
|
243
244
|
} : a === "fileUploader" || a === "file" ? {
|
|
244
245
|
change: (l) => {
|
|
245
|
-
|
|
246
|
+
n(l);
|
|
246
247
|
},
|
|
247
248
|
"update:modelValue": (l) => {
|
|
248
|
-
|
|
249
|
+
n(l);
|
|
249
250
|
}
|
|
250
251
|
} : a === "avatarUpload" ? {
|
|
251
252
|
change: (l) => {
|
|
252
|
-
|
|
253
|
+
n(l);
|
|
253
254
|
},
|
|
254
255
|
"update:modelValue": (l) => {
|
|
255
|
-
|
|
256
|
+
n(l);
|
|
256
257
|
}
|
|
257
258
|
} : a === "color" ? {
|
|
258
|
-
change: (l) =>
|
|
259
|
+
change: (l) => n(l)
|
|
259
260
|
} : a === "iconPicker" ? {
|
|
260
|
-
onSelect: (l) =>
|
|
261
|
+
onSelect: (l) => n(l)
|
|
261
262
|
} : a === "customFields" ? {
|
|
262
|
-
change: (l) =>
|
|
263
|
-
} :
|
|
263
|
+
change: (l) => n(l)
|
|
264
|
+
} : z(a) ? {
|
|
264
265
|
onChange: (l) => {
|
|
265
|
-
|
|
266
|
+
n(l.value, l.data);
|
|
266
267
|
}
|
|
267
268
|
} : {};
|
|
268
|
-
}),
|
|
269
|
+
}), B = r(() => h(e.field.addonLeft) || h(e.field.addonRight)), I = r(() => {
|
|
269
270
|
const a = e.field.type;
|
|
270
271
|
return a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || !a;
|
|
271
|
-
}),
|
|
272
|
-
|
|
273
|
-
},
|
|
274
|
-
a.action &&
|
|
272
|
+
}), O = r(() => B.value && I.value), w = (a, l) => {
|
|
273
|
+
m("addonChange", a.name, { value: l.value });
|
|
274
|
+
}, F = (a) => {
|
|
275
|
+
a.action && m("addonAction", a.action);
|
|
275
276
|
};
|
|
276
|
-
return (a, l) =>
|
|
277
|
-
...
|
|
277
|
+
return (a, l) => O.value ? (u(), f(y, c({ key: 0 }, {
|
|
278
|
+
...k.value,
|
|
278
279
|
...t.field?.props || {}
|
|
279
|
-
},
|
|
280
|
-
|
|
280
|
+
}, L(R.value)), E({ _: 2 }, [
|
|
281
|
+
$(h)(t.field.addonLeft) ? {
|
|
281
282
|
name: "addon-left",
|
|
282
|
-
fn:
|
|
283
|
-
t.field.addonLeft.type === "select" ? (
|
|
283
|
+
fn: o(() => [
|
|
284
|
+
t.field.addonLeft.type === "select" ? (u(), f(V, c({
|
|
284
285
|
key: 0,
|
|
285
286
|
modelValue: t.field.addonLeft.name ? t.values[t.field.addonLeft.name] : void 0,
|
|
286
287
|
options: t.field.addonLeft.options || []
|
|
287
288
|
}, t.field.addonLeft.props || {}, {
|
|
288
|
-
onOnSelect: l[0] || (l[0] = (
|
|
289
|
+
onOnSelect: l[0] || (l[0] = (d) => w(t.field.addonLeft, d))
|
|
289
290
|
}), {
|
|
290
|
-
trigger:
|
|
291
|
-
|
|
292
|
-
default:
|
|
293
|
-
|
|
291
|
+
trigger: o(({ selectedLabel: d }) => [
|
|
292
|
+
A(g, { variant: "outline" }, {
|
|
293
|
+
default: o(() => [
|
|
294
|
+
p(v(d), 1)
|
|
294
295
|
]),
|
|
295
296
|
_: 2
|
|
296
297
|
}, 1024)
|
|
297
298
|
]),
|
|
298
299
|
_: 1
|
|
299
|
-
}, 16, ["modelValue", "options"])) : t.field.addonLeft.type === "button" ? (
|
|
300
|
+
}, 16, ["modelValue", "options"])) : t.field.addonLeft.type === "button" ? (u(), f(g, c({
|
|
300
301
|
key: 1,
|
|
301
302
|
variant: "outline"
|
|
302
303
|
}, t.field.addonLeft.props || {}, {
|
|
303
|
-
onClick: l[1] || (l[1] = (
|
|
304
|
+
onClick: l[1] || (l[1] = (d) => F(t.field.addonLeft))
|
|
304
305
|
}), {
|
|
305
|
-
default:
|
|
306
|
-
|
|
306
|
+
default: o(() => [
|
|
307
|
+
p(v(t.field.addonLeft.text), 1)
|
|
307
308
|
]),
|
|
308
309
|
_: 1
|
|
309
|
-
}, 16)) :
|
|
310
|
+
}, 16)) : N("", !0)
|
|
310
311
|
]),
|
|
311
312
|
key: "0"
|
|
312
313
|
} : void 0,
|
|
313
|
-
|
|
314
|
+
$(h)(t.field.addonRight) ? {
|
|
314
315
|
name: "addon-right",
|
|
315
|
-
fn:
|
|
316
|
-
t.field.addonRight.type === "select" ? (
|
|
316
|
+
fn: o(() => [
|
|
317
|
+
t.field.addonRight.type === "select" ? (u(), f(V, c({
|
|
317
318
|
key: 0,
|
|
318
319
|
modelValue: t.field.addonRight.name ? t.values[t.field.addonRight.name] : void 0,
|
|
319
320
|
options: t.field.addonRight.options || []
|
|
320
321
|
}, t.field.addonRight.props || {}, {
|
|
321
|
-
onOnSelect: l[2] || (l[2] = (
|
|
322
|
+
onOnSelect: l[2] || (l[2] = (d) => w(t.field.addonRight, d))
|
|
322
323
|
}), {
|
|
323
|
-
trigger:
|
|
324
|
-
|
|
325
|
-
default:
|
|
326
|
-
|
|
324
|
+
trigger: o(({ selectedLabel: d }) => [
|
|
325
|
+
A(g, { variant: "outline" }, {
|
|
326
|
+
default: o(() => [
|
|
327
|
+
p(v(d), 1)
|
|
327
328
|
]),
|
|
328
329
|
_: 2
|
|
329
330
|
}, 1024)
|
|
330
331
|
]),
|
|
331
332
|
_: 1
|
|
332
|
-
}, 16, ["modelValue", "options"])) : t.field.addonRight.type === "button" ? (
|
|
333
|
+
}, 16, ["modelValue", "options"])) : t.field.addonRight.type === "button" ? (u(), f(g, c({
|
|
333
334
|
key: 1,
|
|
334
335
|
variant: "outline"
|
|
335
336
|
}, t.field.addonRight.props || {}, {
|
|
336
|
-
onClick: l[3] || (l[3] = (
|
|
337
|
+
onClick: l[3] || (l[3] = (d) => F(t.field.addonRight))
|
|
337
338
|
}), {
|
|
338
|
-
default:
|
|
339
|
-
|
|
339
|
+
default: o(() => [
|
|
340
|
+
p(v(t.field.addonRight.text), 1)
|
|
340
341
|
]),
|
|
341
342
|
_: 1
|
|
342
|
-
}, 16)) :
|
|
343
|
+
}, 16)) : N("", !0)
|
|
343
344
|
]),
|
|
344
345
|
key: "1"
|
|
345
346
|
} : void 0
|
|
346
|
-
]), 1040)) : (
|
|
347
|
+
]), 1040)) : (u(), f(H(U.value), c({
|
|
347
348
|
key: 1,
|
|
348
349
|
class: ["switch", "check"].includes(t.field?.type) ? "" : "w-full"
|
|
349
350
|
}, {
|
|
350
|
-
...
|
|
351
|
+
...k.value,
|
|
351
352
|
...t.field?.props || {}
|
|
352
|
-
},
|
|
353
|
+
}, L(R.value)), null, 16, ["class"]));
|
|
353
354
|
}
|
|
354
355
|
});
|
|
355
356
|
export {
|
|
356
|
-
|
|
357
|
+
ge as default
|
|
357
358
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, ref as D, computed as f, openBlock as l, createElementBlock as a, normalizeClass as s, createElementVNode as v, createBlock as u, createCommentVNode as T, toDisplayString as w, renderSlot as C, resolveDynamicComponent as B, Fragment as m, createVNode as S } from "vue";
|
|
2
2
|
import x from "../Icon.vue.js";
|
|
3
3
|
import b from "../Price/Price.vue.js";
|
|
4
|
-
import h from "../
|
|
4
|
+
import h from "../DateTime/DateTime.vue.js";
|
|
5
5
|
import { $t as I } from "../../utils/i18n.js";
|
|
6
6
|
import { getObjectValue as N, formatNumber as Y, getStatusColorClass as F } from "./utils.js";
|
|
7
7
|
const A = { class: "flex items-center gap-2 min-w-0" }, E = { class: "text-xs font-normal text-muted-foreground leading-snug truncate" }, O = { class: "min-w-0" }, z = {
|
|
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
|
|
|
3
3
|
import v from "./Modal.vue.js";
|
|
4
4
|
import N from "./CommandPalette/CommandPaletteContent.vue.js";
|
|
5
5
|
import { $t as R } from "../utils/i18n.js";
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
const U = { class: "block truncate -text-fs-1.5" }, V = { class: "ml-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ml-1" }, q = /* @__PURE__ */ x({
|
|
8
8
|
__name: "NavbarCommandPalette",
|
|
9
9
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./NumberInput.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9a771336"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|