@dynamicforms/vuetify-inputs 0.1.6 → 0.1.7
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/dist/dynamicforms-vuetify-inputs.js +528 -482
- package/dist/dynamicforms-vuetify-inputs.js.map +1 -1
- package/dist/dynamicforms-vuetify-inputs.umd.cjs +12 -12
- package/dist/dynamicforms-vuetify-inputs.umd.cjs.map +1 -1
- package/dist/index.d.ts +50 -0
- package/package.json +3 -10
- package/readme.md +2 -3
- package/dist/vuetify-components-list.js +0 -25
- package/dist/vuetify-components.js +0 -10
|
@@ -1,41 +1,62 @@
|
|
|
1
|
-
var Me = Object.defineProperty,
|
|
1
|
+
var Me = Object.defineProperty, je = Object.defineProperties;
|
|
2
2
|
var ze = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var _e = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var ue = (t, e, l) => e in t ? Me(t, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[e] = l,
|
|
4
|
+
var Ke = Object.prototype.hasOwnProperty, Ge = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ue = (t, e, l) => e in t ? Me(t, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[e] = l, N = (t, e) => {
|
|
6
6
|
for (var l in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
Ke.call(e, l) && ue(t, l, e[l]);
|
|
8
8
|
if (_e)
|
|
9
9
|
for (var l of _e(e))
|
|
10
10
|
Ge.call(e, l) && ue(t, l, e[l]);
|
|
11
11
|
return t;
|
|
12
|
-
}, H = (t, e) =>
|
|
12
|
+
}, H = (t, e) => je(t, ze(e));
|
|
13
13
|
var Y = (t, e, l) => ue(t, typeof e != "symbol" ? e + "" : e, l);
|
|
14
|
-
var
|
|
15
|
-
var a = (
|
|
14
|
+
var oe = (t, e, l) => new Promise((r, n) => {
|
|
15
|
+
var a = (c) => {
|
|
16
16
|
try {
|
|
17
|
-
u(l.next(
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
17
|
+
u(l.next(c));
|
|
18
|
+
} catch (v) {
|
|
19
|
+
n(v);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, f = (c) => {
|
|
22
22
|
try {
|
|
23
|
-
u(l.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
23
|
+
u(l.throw(c));
|
|
24
|
+
} catch (v) {
|
|
25
|
+
n(v);
|
|
26
26
|
}
|
|
27
|
-
}, u = (
|
|
27
|
+
}, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(a, f);
|
|
28
28
|
u((l = l.apply(t, e)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as we from "vue";
|
|
31
|
-
import { defineComponent as F, mergeModels as
|
|
32
|
-
import { debounce as tt, isEmpty as lt, isObjectLike as
|
|
33
|
-
import
|
|
31
|
+
import { defineComponent as F, mergeModels as Ve, useModel as We, ref as S, watch as Z, onMounted as Se, markRaw as qe, onBeforeUnmount as Ne, createBlock as k, openBlock as h, resolveDynamicComponent as J, version as Ze, computed as _, createElementBlock as E, Fragment as $e, renderList as Ee, normalizeClass as re, toDisplayString as ee, unref as o, mergeProps as R, withCtx as y, createTextVNode as be, resolveComponent as x, createCommentVNode as $, createVNode as A, createSlots as Xe, renderSlot as Ye, isRef as G, withModifiers as Qe, mergeDefaults as z, createElementVNode as te, normalizeStyle as he, toRefs as se, withKeys as ke, useCssVars as Je, normalizeProps as Ue, guardReactiveProps as Fe, nextTick as et } from "vue";
|
|
32
|
+
import { debounce as tt, isEmpty as lt, isObjectLike as ot, isString as pe, isBoolean as Te, clone as nt, toNumber as Ce, isNaN as Ie, isArray as Be, castArray as Le, first as Pe } from "lodash-es";
|
|
33
|
+
import fe from "vue-ionicon";
|
|
34
34
|
import { useDisplay as at } from "vuetify";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import { format as
|
|
38
|
-
import { AccessibilityHelp as
|
|
35
|
+
import xe, { ValidationErrorRenderContent as rt, DisplayMode as M, ExecuteAction as it, Action as ce } from "@dynamicforms/vue-forms";
|
|
36
|
+
import st from "vue-markdown-render";
|
|
37
|
+
import { format as ne, parse as ut } from "date-fns";
|
|
38
|
+
import { AccessibilityHelp as ct, Alignment as dt, AutoImage as mt, AutoLink as pt, Autosave as ft, BalloonToolbar as vt, BlockQuote as bt, Bold as ht, CloudServices as gt, Essentials as yt, GeneralHtmlSupport as _t, Heading as wt, HorizontalLine as Vt, ImageBlock as kt, ImageCaption as Tt, ImageInline as Ct, ImageInsertViaUrl as It, ImageResize as Bt, ImageStyle as xt, ImageToolbar as At, ImageUpload as Dt, Indent as St, IndentBlock as Nt, Italic as $t, Link as Et, List as Ut, Autoformat as Ft, MediaEmbed as Lt, Paragraph as Pt, PasteFromMarkdownExperimental as Rt, PasteFromOffice as Ot, SelectAll as Ht, Style as Mt, Table as jt, TableCellProperties as zt, TableColumnResize as Kt, TableProperties as Gt, TableToolbar as Wt, Undo as qt, TextTransformation as Zt, Base64UploadAdapter as Xt, ClassicEditor as Yt } from "ckeditor5";
|
|
39
|
+
import { VAutocomplete as Qt } from "vuetify/components/VAutocomplete";
|
|
40
|
+
import { VBtn as Jt } from "vuetify/components/VBtn";
|
|
41
|
+
import { VCheckbox as el } from "vuetify/components/VCheckbox";
|
|
42
|
+
import { VChip as tl } from "vuetify/components/VChip";
|
|
43
|
+
import { VCombobox as ll } from "vuetify/components/VCombobox";
|
|
44
|
+
import { VColorPicker as ol } from "vuetify/components/VColorPicker";
|
|
45
|
+
import { VConfirmEdit as nl } from "vuetify/components/VConfirmEdit";
|
|
46
|
+
import { VDatePicker as al } from "vuetify/components/VDatePicker";
|
|
47
|
+
import { VFileInput as rl } from "vuetify/components/VFileInput";
|
|
48
|
+
import { VCol as il, VRow as sl } from "vuetify/components/VGrid";
|
|
49
|
+
import { VIcon as ul } from "vuetify/components/VIcon";
|
|
50
|
+
import { VInput as cl } from "vuetify/components/VInput";
|
|
51
|
+
import { VListItem as dl } from "vuetify/components/VList";
|
|
52
|
+
import { VMenu as ml } from "vuetify/components/VMenu";
|
|
53
|
+
import { VNumberInput as pl } from "vuetify/components/VNumberInput";
|
|
54
|
+
import { VProgressLinear as fl } from "vuetify/components/VProgressLinear";
|
|
55
|
+
import { VSelect as vl } from "vuetify/components/VSelect";
|
|
56
|
+
import { VSwitch as bl } from "vuetify/components/VSwitch";
|
|
57
|
+
import { VTextarea as hl } from "vuetify/components/VTextarea";
|
|
58
|
+
import { VTextField as gl } from "vuetify/components/VTextField";
|
|
59
|
+
import { VTimePicker as yl } from "vuetify/labs/VTimePicker";
|
|
39
60
|
/**
|
|
40
61
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
41
62
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -49,12 +70,12 @@ new Array(256).fill("").map((t, e) => ("0" + e.toString(16)).slice(-2));
|
|
|
49
70
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
50
71
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
51
72
|
*/
|
|
52
|
-
function
|
|
73
|
+
function _l(t, e) {
|
|
53
74
|
const l = t.extraPlugins || [];
|
|
54
|
-
return H(
|
|
75
|
+
return H(N({}, t), {
|
|
55
76
|
extraPlugins: [
|
|
56
77
|
...l,
|
|
57
|
-
...e.filter((
|
|
78
|
+
...e.filter((r) => !l.includes(r))
|
|
58
79
|
]
|
|
59
80
|
});
|
|
60
81
|
}
|
|
@@ -72,31 +93,31 @@ function Re(t) {
|
|
|
72
93
|
function Oe(t) {
|
|
73
94
|
return t ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((e) => t.includes(e)) : !1;
|
|
74
95
|
}
|
|
75
|
-
function
|
|
96
|
+
function wl(t) {
|
|
76
97
|
return Re(t) || Oe(t);
|
|
77
98
|
}
|
|
78
99
|
/**
|
|
79
100
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
80
101
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
81
102
|
*/
|
|
82
|
-
function
|
|
103
|
+
function Vl(t) {
|
|
83
104
|
if (!Re(t))
|
|
84
105
|
throw new Error(`Invalid semantic version: ${t || "<blank>"}.`);
|
|
85
|
-
const [e, l,
|
|
106
|
+
const [e, l, r] = t.split(".");
|
|
86
107
|
return {
|
|
87
108
|
major: Number.parseInt(e, 10),
|
|
88
109
|
minor: Number.parseInt(l, 10),
|
|
89
|
-
patch: Number.parseInt(
|
|
110
|
+
patch: Number.parseInt(r, 10)
|
|
90
111
|
};
|
|
91
112
|
}
|
|
92
113
|
/**
|
|
93
114
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
94
115
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
95
116
|
*/
|
|
96
|
-
function
|
|
117
|
+
function kl(t) {
|
|
97
118
|
if (Oe(t))
|
|
98
119
|
return 3;
|
|
99
|
-
const { major: e } =
|
|
120
|
+
const { major: e } = Vl(t);
|
|
100
121
|
switch (!0) {
|
|
101
122
|
case e >= 44:
|
|
102
123
|
return 3;
|
|
@@ -110,9 +131,9 @@ function tl(t) {
|
|
|
110
131
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
111
132
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
112
133
|
*/
|
|
113
|
-
function
|
|
134
|
+
function Tl() {
|
|
114
135
|
const { CKEDITOR_VERSION: t, CKEDITOR: e } = window;
|
|
115
|
-
return
|
|
136
|
+
return wl(t) ? {
|
|
116
137
|
source: e ? "cdn" : "npm",
|
|
117
138
|
version: t
|
|
118
139
|
} : null;
|
|
@@ -121,16 +142,16 @@ function ll() {
|
|
|
121
142
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
122
143
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
123
144
|
*/
|
|
124
|
-
function
|
|
125
|
-
const t =
|
|
126
|
-
return t ?
|
|
145
|
+
function Cl() {
|
|
146
|
+
const t = Tl();
|
|
147
|
+
return t ? kl(t.version) : null;
|
|
127
148
|
}
|
|
128
149
|
/**
|
|
129
150
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
130
151
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
131
152
|
*/
|
|
132
153
|
function He(t, e) {
|
|
133
|
-
switch (e || (e =
|
|
154
|
+
switch (e || (e = Cl() || void 0), e) {
|
|
134
155
|
case 1:
|
|
135
156
|
case 2:
|
|
136
157
|
return t === void 0;
|
|
@@ -144,9 +165,9 @@ function He(t, e) {
|
|
|
144
165
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
145
166
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
146
167
|
*/
|
|
147
|
-
function
|
|
148
|
-
return function(
|
|
149
|
-
He(
|
|
168
|
+
function Il(t, e) {
|
|
169
|
+
return function(r) {
|
|
170
|
+
He(r.config.get("licenseKey")) || r.on("collectUsageData", (n, { setUsageData: a }) => {
|
|
150
171
|
a(`integration.${t}`, e);
|
|
151
172
|
});
|
|
152
173
|
};
|
|
@@ -155,7 +176,7 @@ function ol(t, e) {
|
|
|
155
176
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
156
177
|
* For licensing, see LICENSE.md.
|
|
157
178
|
*/
|
|
158
|
-
const
|
|
179
|
+
const Bl = Il(
|
|
159
180
|
"vue",
|
|
160
181
|
{
|
|
161
182
|
version: "7.3.0",
|
|
@@ -166,20 +187,20 @@ const al = ol(
|
|
|
166
187
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
167
188
|
* For licensing, see LICENSE.md.
|
|
168
189
|
*/
|
|
169
|
-
function
|
|
170
|
-
return He(t.licenseKey) ? t :
|
|
190
|
+
function xl(t) {
|
|
191
|
+
return He(t.licenseKey) ? t : _l(t, [
|
|
171
192
|
/**
|
|
172
193
|
* This part of the code is not executed in open-source implementations using a GPL key.
|
|
173
194
|
* It only runs when a specific license key is provided. If you are uncertain whether
|
|
174
195
|
* this applies to your installation, please contact our support team.
|
|
175
196
|
*/
|
|
176
|
-
|
|
197
|
+
Bl
|
|
177
198
|
]);
|
|
178
199
|
}
|
|
179
|
-
const
|
|
200
|
+
const de = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Al = 300, Dl = /* @__PURE__ */ F({
|
|
180
201
|
name: "CKEditor",
|
|
181
202
|
__name: "ckeditor",
|
|
182
|
-
props: /* @__PURE__ */
|
|
203
|
+
props: /* @__PURE__ */ Ve({
|
|
183
204
|
editor: {},
|
|
184
205
|
config: { default: () => ({}) },
|
|
185
206
|
tagName: { default: "div" },
|
|
@@ -189,51 +210,51 @@ const ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", il = 300, rl =
|
|
|
189
210
|
modelValue: { type: String, default: "" },
|
|
190
211
|
modelModifiers: {}
|
|
191
212
|
}),
|
|
192
|
-
emits: /* @__PURE__ */
|
|
213
|
+
emits: /* @__PURE__ */ Ve(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
193
214
|
setup(t, { expose: e, emit: l }) {
|
|
194
|
-
const
|
|
215
|
+
const r = We(t, "modelValue"), n = t, a = l, f = S(), u = S(), c = S();
|
|
195
216
|
e({
|
|
196
217
|
instance: u,
|
|
197
|
-
lastEditorData:
|
|
198
|
-
}), Z(
|
|
199
|
-
u.value && i !==
|
|
200
|
-
}), Z(() =>
|
|
201
|
-
i ? u.value.enableReadOnlyMode(
|
|
218
|
+
lastEditorData: c
|
|
219
|
+
}), Z(r, (i) => {
|
|
220
|
+
u.value && i !== c.value && u.value.data.set(i);
|
|
221
|
+
}), Z(() => n.disabled, (i) => {
|
|
222
|
+
i ? u.value.enableReadOnlyMode(de) : u.value.disableReadOnlyMode(de);
|
|
202
223
|
});
|
|
203
|
-
function
|
|
224
|
+
function v() {
|
|
204
225
|
const i = window.CKEDITOR_VERSION;
|
|
205
226
|
if (!i)
|
|
206
227
|
return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
|
|
207
228
|
const [m] = i.split(".").map(Number);
|
|
208
229
|
m >= 42 || i.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
|
|
209
230
|
}
|
|
210
|
-
function
|
|
211
|
-
const m = tt((
|
|
212
|
-
if (
|
|
231
|
+
function s(i) {
|
|
232
|
+
const m = tt((p) => {
|
|
233
|
+
if (n.disableTwoWayDataBinding)
|
|
213
234
|
return;
|
|
214
|
-
const g =
|
|
215
|
-
a("update:modelValue", g,
|
|
216
|
-
},
|
|
217
|
-
i.model.document.on("change:data", m), i.editing.view.document.on("focus", (
|
|
218
|
-
a("focus",
|
|
219
|
-
}), i.editing.view.document.on("blur", (
|
|
220
|
-
a("blur",
|
|
235
|
+
const g = c.value = i.data.get();
|
|
236
|
+
a("update:modelValue", g, p, i), a("input", g, p, i);
|
|
237
|
+
}, Al, { leading: !0 });
|
|
238
|
+
i.model.document.on("change:data", m), i.editing.view.document.on("focus", (p) => {
|
|
239
|
+
a("focus", p, i);
|
|
240
|
+
}), i.editing.view.document.on("blur", (p) => {
|
|
241
|
+
a("blur", p, i);
|
|
221
242
|
});
|
|
222
243
|
}
|
|
223
|
-
return
|
|
224
|
-
const i =
|
|
225
|
-
Object.assign({},
|
|
244
|
+
return v(), Se(() => {
|
|
245
|
+
const i = xl(
|
|
246
|
+
Object.assign({}, n.config)
|
|
226
247
|
);
|
|
227
|
-
|
|
228
|
-
u.value = qe(m),
|
|
248
|
+
r.value && (i.initialData = r.value), n.editor.create(f.value, i).then((m) => {
|
|
249
|
+
u.value = qe(m), s(m), r.value !== i.initialData && m.data.set(r.value), n.disabled && m.enableReadOnlyMode(de), a("ready", m);
|
|
229
250
|
}).catch((m) => {
|
|
230
251
|
console.error(m);
|
|
231
252
|
});
|
|
232
|
-
}),
|
|
253
|
+
}), Ne(() => {
|
|
233
254
|
u.value && (u.value.destroy(), u.value = void 0), a("destroy");
|
|
234
|
-
}), (i, m) => (h(),
|
|
255
|
+
}), (i, m) => (h(), k(J(i.tagName), {
|
|
235
256
|
ref_key: "element",
|
|
236
|
-
ref:
|
|
257
|
+
ref: f
|
|
237
258
|
}, null, 512));
|
|
238
259
|
}
|
|
239
260
|
});
|
|
@@ -246,82 +267,82 @@ if (!we.version || !we.version.startsWith("3."))
|
|
|
246
267
|
throw new Error(
|
|
247
268
|
"The CKEditor plugin works only with Vue 3+. For more information, please refer to https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs-v3.html"
|
|
248
269
|
);
|
|
249
|
-
const
|
|
270
|
+
const Sl = {
|
|
250
271
|
/**
|
|
251
272
|
* Installs the plugin, registering the `<ckeditor>` component.
|
|
252
273
|
*
|
|
253
274
|
* @param app The application instance.
|
|
254
275
|
*/
|
|
255
276
|
install(t) {
|
|
256
|
-
t.component("Ckeditor",
|
|
277
|
+
t.component("Ckeditor", Dl);
|
|
257
278
|
}
|
|
258
|
-
},
|
|
259
|
-
function
|
|
279
|
+
}, K = { enabled: void 0 };
|
|
280
|
+
function j(t, e) {
|
|
260
281
|
const l = _({
|
|
261
282
|
get() {
|
|
262
283
|
return t.control ? t.control.value : t.modelValue;
|
|
263
284
|
},
|
|
264
|
-
set(
|
|
265
|
-
t.control && (t.control.value =
|
|
285
|
+
set(p) {
|
|
286
|
+
t.control && (t.control.value = p), e("update:modelValue", p);
|
|
266
287
|
}
|
|
267
288
|
});
|
|
268
|
-
if (t.control && !(t.control instanceof
|
|
289
|
+
if (t.control && !(t.control instanceof xe.FieldBase))
|
|
269
290
|
throw new Error("control prop is not a vue-form control instance");
|
|
270
|
-
const
|
|
271
|
-
() => t.control ? t.control.errors : (t.errors || []).map((
|
|
272
|
-
), a = _(() =>
|
|
273
|
-
() => t.control ? t.control.visibility : t.visibility ||
|
|
274
|
-
),
|
|
291
|
+
const r = _(() => t.control ? t.control.valid : !0), n = _(
|
|
292
|
+
() => t.control ? t.control.errors : (t.errors || []).map((p) => new rt(p))
|
|
293
|
+
), a = _(() => n.value.length > 0 ? " " : void 0), f = _(() => t.control ? t.control.enabled : t.enabled !== !1), u = _(
|
|
294
|
+
() => t.control ? t.control.visibility : t.visibility || xe.DisplayMode.FULL
|
|
295
|
+
), c = _(() => t.label || ""), v = _(() => t.placeholder || ""), s = _(() => t.helpText || ""), i = _(() => t.hint || ""), m = _(() => t.cssClass || "");
|
|
275
296
|
return {
|
|
276
297
|
value: l,
|
|
277
|
-
valid:
|
|
278
|
-
enabled:
|
|
279
|
-
errors:
|
|
298
|
+
valid: r,
|
|
299
|
+
enabled: f,
|
|
300
|
+
errors: n,
|
|
280
301
|
visibility: u,
|
|
281
302
|
vuetifyBindings: _(() => {
|
|
282
|
-
var
|
|
303
|
+
var p;
|
|
283
304
|
return {
|
|
284
|
-
name: (
|
|
305
|
+
name: (p = t.control) == null ? void 0 : p.fieldName,
|
|
285
306
|
class: m.value,
|
|
286
|
-
label:
|
|
307
|
+
label: c.value,
|
|
287
308
|
messages: a.value,
|
|
288
309
|
// 'error-count': errors?.value.length || 0,
|
|
289
|
-
readonly: !
|
|
290
|
-
disabled: !
|
|
291
|
-
placeholder:
|
|
292
|
-
"persistent-placeholder": !lt(
|
|
310
|
+
readonly: !f.value,
|
|
311
|
+
disabled: !f.value,
|
|
312
|
+
placeholder: v.value,
|
|
313
|
+
"persistent-placeholder": !lt(v.value),
|
|
293
314
|
hint: i.value,
|
|
294
315
|
persistentHint: !0,
|
|
295
316
|
// we want persistent hint always
|
|
296
317
|
hideDetails: "auto",
|
|
297
318
|
// we want to hide the hint element when hint isn't there
|
|
298
|
-
helpText:
|
|
319
|
+
helpText: s.value
|
|
299
320
|
};
|
|
300
321
|
})
|
|
301
322
|
};
|
|
302
323
|
}
|
|
303
|
-
const
|
|
324
|
+
const Nl = { class: "custom-error-display text-error" }, $l = { key: 0 }, El = /* @__PURE__ */ F({
|
|
304
325
|
__name: "errors-widget",
|
|
305
326
|
props: {
|
|
306
327
|
errors: {}
|
|
307
328
|
},
|
|
308
329
|
setup(t) {
|
|
309
|
-
return (e, l) => (h(), E("div",
|
|
310
|
-
(h(!0), E(
|
|
330
|
+
return (e, l) => (h(), E("div", Nl, [
|
|
331
|
+
(h(!0), E($e, null, Ee(e.errors, (r, n) => {
|
|
311
332
|
var a;
|
|
312
333
|
return h(), E("div", {
|
|
313
|
-
key:
|
|
314
|
-
class:
|
|
334
|
+
key: n,
|
|
335
|
+
class: re({ "first-error": n === 0, "last-error": n === e.errors.length - 1 })
|
|
315
336
|
}, [
|
|
316
|
-
|
|
337
|
+
r.componentName === "template" ? (h(), E("div", $l, ee(r.componentBody), 1)) : r.componentName === "vue-markdown" ? (h(), k(o(st), {
|
|
317
338
|
key: 1,
|
|
318
|
-
source: (a =
|
|
319
|
-
}, null, 8, ["source"])) : (h(),
|
|
339
|
+
source: (a = r.componentBindings) == null ? void 0 : a.source
|
|
340
|
+
}, null, 8, ["source"])) : (h(), k(J(r.componentName), R({
|
|
320
341
|
key: 2,
|
|
321
342
|
ref_for: !0
|
|
322
|
-
},
|
|
343
|
+
}, r.componentBindings), {
|
|
323
344
|
default: y(() => [
|
|
324
|
-
be(ee(
|
|
345
|
+
be(ee(r.componentBody), 1)
|
|
325
346
|
]),
|
|
326
347
|
_: 2
|
|
327
348
|
}, 1040))
|
|
@@ -331,10 +352,10 @@ const dl = { class: "custom-error-display text-error" }, cl = { key: 0 }, ml = /
|
|
|
331
352
|
}
|
|
332
353
|
}), le = (t, e) => {
|
|
333
354
|
const l = t.__vccOpts || t;
|
|
334
|
-
for (const [
|
|
335
|
-
l[
|
|
355
|
+
for (const [r, n] of e)
|
|
356
|
+
l[r] = n;
|
|
336
357
|
return l;
|
|
337
|
-
}, W = /* @__PURE__ */ le(
|
|
358
|
+
}, W = /* @__PURE__ */ le(El, [["__scopeId", "data-v-b274d086"]]), Ul = {
|
|
338
359
|
key: 0,
|
|
339
360
|
for: "#following-v-input"
|
|
340
361
|
}, ge = /* @__PURE__ */ F({
|
|
@@ -354,40 +375,40 @@ const dl = { class: "custom-error-display text-error" }, cl = { key: 0 }, ml = /
|
|
|
354
375
|
},
|
|
355
376
|
emits: ["update:modelValue", "click:clear"],
|
|
356
377
|
setup(t, { emit: e }) {
|
|
357
|
-
const l = t,
|
|
358
|
-
return (
|
|
359
|
-
const i =
|
|
360
|
-
return
|
|
378
|
+
const l = t, r = e, { errors: n, value: a, visibility: f, vuetifyBindings: u } = j(l, r), c = _(() => o(l.clearable) && o(a));
|
|
379
|
+
return (v, s) => {
|
|
380
|
+
const i = x("v-icon"), m = x("v-input");
|
|
381
|
+
return o(f) !== o(M).SUPPRESS ? (h(), E("div", {
|
|
361
382
|
key: 0,
|
|
362
|
-
class:
|
|
363
|
-
|
|
383
|
+
class: re([
|
|
384
|
+
v.cssClass,
|
|
364
385
|
{
|
|
365
|
-
"d-none":
|
|
366
|
-
invisible:
|
|
386
|
+
"d-none": o(f) === o(M).HIDDEN,
|
|
387
|
+
invisible: o(f) === o(M).INVISIBLE
|
|
367
388
|
}
|
|
368
389
|
])
|
|
369
390
|
}, [
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
hint:
|
|
373
|
-
"persistent-hint":
|
|
374
|
-
"hide-details":
|
|
391
|
+
o(u).label ? (h(), E("label", Ul, ee(o(u).label), 1)) : $("", !0),
|
|
392
|
+
A(m, {
|
|
393
|
+
hint: o(u).hint,
|
|
394
|
+
"persistent-hint": o(u).persistentHint,
|
|
395
|
+
"hide-details": o(u).hideDetails
|
|
375
396
|
}, Xe({
|
|
376
397
|
message: y(() => [
|
|
377
|
-
|
|
398
|
+
A(W, { errors: o(n) }, null, 8, ["errors"])
|
|
378
399
|
]),
|
|
379
400
|
default: y(() => [
|
|
380
|
-
Ye(
|
|
401
|
+
Ye(v.$slots, "default")
|
|
381
402
|
]),
|
|
382
403
|
_: 2
|
|
383
404
|
}, [
|
|
384
|
-
|
|
405
|
+
c.value ? {
|
|
385
406
|
name: "append",
|
|
386
407
|
fn: y(() => [
|
|
387
|
-
|
|
388
|
-
onClick:
|
|
408
|
+
A(i, {
|
|
409
|
+
onClick: s[0] || (s[0] = (p) => r("click:clear"))
|
|
389
410
|
}, {
|
|
390
|
-
default: y(() =>
|
|
411
|
+
default: y(() => s[1] || (s[1] = [
|
|
391
412
|
be("mdi-close-circle")
|
|
392
413
|
])),
|
|
393
414
|
_: 1
|
|
@@ -396,27 +417,27 @@ const dl = { class: "custom-error-display text-error" }, cl = { key: 0 }, ml = /
|
|
|
396
417
|
key: "0"
|
|
397
418
|
} : void 0
|
|
398
419
|
]), 1032, ["hint", "persistent-hint", "hide-details"])
|
|
399
|
-
], 2)) :
|
|
420
|
+
], 2)) : $("", !0);
|
|
400
421
|
};
|
|
401
422
|
}
|
|
402
423
|
});
|
|
403
424
|
var O = /* @__PURE__ */ ((t) => (t[t.BUTTON = 0] = "BUTTON", t[t.TEXT = 1] = "TEXT", t))(O || {});
|
|
404
|
-
const
|
|
425
|
+
const Ae = 0;
|
|
405
426
|
((t) => {
|
|
406
|
-
function e(
|
|
407
|
-
return
|
|
427
|
+
function e(n) {
|
|
428
|
+
return n.toUpperCase() === "BUTTON" ? 0 : n.toUpperCase() === "TEXT" ? 1 : Ae;
|
|
408
429
|
}
|
|
409
430
|
t.fromString = e;
|
|
410
|
-
function l(
|
|
411
|
-
const a = typeof
|
|
412
|
-
return Object.values(t).includes(a) ? a :
|
|
431
|
+
function l(n) {
|
|
432
|
+
const a = typeof n == "number" ? n : t.fromString(n);
|
|
433
|
+
return Object.values(t).includes(a) ? a : Ae;
|
|
413
434
|
}
|
|
414
435
|
t.fromAny = l;
|
|
415
|
-
function
|
|
416
|
-
const a = typeof
|
|
436
|
+
function r(n) {
|
|
437
|
+
const a = typeof n == "number" ? n : t.fromString(n);
|
|
417
438
|
return Object.values(t).includes(a);
|
|
418
439
|
}
|
|
419
|
-
t.isDefined =
|
|
440
|
+
t.isDefined = r;
|
|
420
441
|
})(O || (O = {}));
|
|
421
442
|
Object.freeze(O);
|
|
422
443
|
const De = ["xl", "lg", "md", "sm", "xs"];
|
|
@@ -424,30 +445,30 @@ class ie {
|
|
|
424
445
|
constructor(e, l) {
|
|
425
446
|
Y(this, "_value");
|
|
426
447
|
if (this._value = {}, !e) return;
|
|
427
|
-
let
|
|
428
|
-
!(
|
|
429
|
-
const a = ie.cleanBreakpoint(e[
|
|
430
|
-
a && (this._value[
|
|
448
|
+
let r = ie.cleanBreakpoint(e);
|
|
449
|
+
!(r != null && r.label) && l && (r ? r.label || (r.label = l) : r = { label: l }), r && (this._value = r), De.forEach((n) => {
|
|
450
|
+
const a = ie.cleanBreakpoint(e[n]);
|
|
451
|
+
a && (this._value[n] = a);
|
|
431
452
|
});
|
|
432
453
|
}
|
|
433
454
|
getOptionsForBreakpoint(e) {
|
|
434
|
-
var
|
|
455
|
+
var n, a, f;
|
|
435
456
|
const l = {
|
|
436
457
|
label: this._value.label,
|
|
437
|
-
renderAs: (
|
|
458
|
+
renderAs: (n = this._value.renderAs) != null ? n : O.BUTTON,
|
|
438
459
|
showLabel: (a = this._value.showLabel) != null ? a : !0,
|
|
439
|
-
showIcon: (
|
|
440
|
-
},
|
|
441
|
-
for (const u of
|
|
442
|
-
const
|
|
443
|
-
if (
|
|
460
|
+
showIcon: (f = this._value.showIcon) != null ? f : !0
|
|
461
|
+
}, r = [...De].reverse();
|
|
462
|
+
for (const u of r) {
|
|
463
|
+
const c = this._value[u];
|
|
464
|
+
if (c && (c.label != null && (l.label = c.label), c.renderAs != null && (l.renderAs = c.renderAs), c.showIcon != null && (l.showIcon = c.showIcon), c.showLabel != null && (l.showLabel = c.showLabel)), u === e) break;
|
|
444
465
|
}
|
|
445
466
|
return l;
|
|
446
467
|
}
|
|
447
468
|
static cleanBreakpoint(e) {
|
|
448
|
-
if (!e || !
|
|
469
|
+
if (!e || !ot(e)) return null;
|
|
449
470
|
const l = {};
|
|
450
|
-
return e.renderAs !== void 0 && (l.renderAs = O.fromAny(e.renderAs)),
|
|
471
|
+
return e.renderAs !== void 0 && (l.renderAs = O.fromAny(e.renderAs)), pe(e.label) && (l.label = e.label), Te(e.showLabel) && (l.showLabel = e.showLabel), Te(e.showIcon) && (l.showIcon = e.showIcon), Object.keys(l).length ? l : null;
|
|
451
472
|
}
|
|
452
473
|
}
|
|
453
474
|
class ae {
|
|
@@ -456,8 +477,8 @@ class ae {
|
|
|
456
477
|
Y(this, "displayStyle");
|
|
457
478
|
Y(this, "formAction");
|
|
458
479
|
if (e.name == null) throw new Error(`Action name must not be empty ${e}`);
|
|
459
|
-
const
|
|
460
|
-
this.name = e.name, this.displayStyle = new ie(e.displayStyle,
|
|
480
|
+
const r = !pe(e.label) || e.label.length === 0 ? void 0 : e.label, n = !pe(e.icon) || e.icon.length === 0 ? void 0 : e.icon;
|
|
481
|
+
this.name = e.name, this.displayStyle = new ie(e.displayStyle, r), this.formAction = l, this.formAction.icon = n, this.formAction.label = r;
|
|
461
482
|
}
|
|
462
483
|
get label() {
|
|
463
484
|
var e;
|
|
@@ -479,10 +500,10 @@ class ae {
|
|
|
479
500
|
static makeFormAction(e) {
|
|
480
501
|
let l;
|
|
481
502
|
if (e instanceof it)
|
|
482
|
-
l =
|
|
503
|
+
l = ce.create().registerAction(e);
|
|
483
504
|
else if (e === void 0)
|
|
484
|
-
l =
|
|
485
|
-
else if (e instanceof
|
|
505
|
+
l = ce.create();
|
|
506
|
+
else if (e instanceof ce)
|
|
486
507
|
l = e;
|
|
487
508
|
else
|
|
488
509
|
throw new Error("actionOrExecuteHandler is not of any of supported types");
|
|
@@ -490,7 +511,7 @@ class ae {
|
|
|
490
511
|
}
|
|
491
512
|
static closeAction(e, l) {
|
|
492
513
|
return new ae(
|
|
493
|
-
|
|
514
|
+
N({
|
|
494
515
|
name: "close",
|
|
495
516
|
label: "Close",
|
|
496
517
|
// TODO: needs translation
|
|
@@ -502,7 +523,7 @@ class ae {
|
|
|
502
523
|
}
|
|
503
524
|
static yesAction(e, l) {
|
|
504
525
|
return new ae(
|
|
505
|
-
|
|
526
|
+
N({
|
|
506
527
|
name: "yes",
|
|
507
528
|
label: "Yes",
|
|
508
529
|
// TODO: needs translation
|
|
@@ -514,7 +535,7 @@ class ae {
|
|
|
514
535
|
}
|
|
515
536
|
static noAction(e, l) {
|
|
516
537
|
return new ae(
|
|
517
|
-
|
|
538
|
+
N({
|
|
518
539
|
name: "no",
|
|
519
540
|
label: "No",
|
|
520
541
|
// TODO: needs translation
|
|
@@ -525,10 +546,10 @@ class ae {
|
|
|
525
546
|
);
|
|
526
547
|
}
|
|
527
548
|
}
|
|
528
|
-
const
|
|
549
|
+
const Fl = {
|
|
529
550
|
key: 1,
|
|
530
551
|
style: { width: ".5rem" }
|
|
531
|
-
},
|
|
552
|
+
}, Ll = { key: 2 }, Pl = /* @__PURE__ */ F({
|
|
532
553
|
__name: "df-actions",
|
|
533
554
|
props: {
|
|
534
555
|
actions: {},
|
|
@@ -536,64 +557,64 @@ const pl = {
|
|
|
536
557
|
showAsGroup: { default: "no" }
|
|
537
558
|
},
|
|
538
559
|
setup(t) {
|
|
539
|
-
const e = t, l = G(e.actions) ? e.actions :
|
|
540
|
-
function s
|
|
541
|
-
return
|
|
560
|
+
const e = t, l = G(e.actions) ? e.actions : S(e.actions);
|
|
561
|
+
function r(s) {
|
|
562
|
+
return s.xlAndUp.value ? "xl" : s.lgAndUp.value ? "lg" : s.mdAndUp.value ? "md" : s.smAndUp.value ? "sm" : "xs";
|
|
542
563
|
}
|
|
543
|
-
const
|
|
544
|
-
const
|
|
545
|
-
|
|
564
|
+
const n = at(), a = _(() => {
|
|
565
|
+
const s = {};
|
|
566
|
+
s["%breakpoint%"] = r(n);
|
|
546
567
|
for (const i of l.value)
|
|
547
|
-
|
|
548
|
-
return
|
|
568
|
+
s[i.name] = i.displayStyle.getOptionsForBreakpoint(r(n));
|
|
569
|
+
return s;
|
|
549
570
|
});
|
|
550
|
-
function
|
|
571
|
+
function f(s) {
|
|
551
572
|
var i;
|
|
552
|
-
return (i = a.value[
|
|
573
|
+
return (i = a.value[s.name].showIcon && s.iconAvailable) != null ? i : !0;
|
|
553
574
|
}
|
|
554
|
-
function u(
|
|
555
|
-
return a.value[
|
|
575
|
+
function u(s) {
|
|
576
|
+
return a.value[s.name].showLabel && s.labelAvailable ? !0 : !f(s);
|
|
556
577
|
}
|
|
557
|
-
function
|
|
578
|
+
function c(s) {
|
|
558
579
|
var i;
|
|
559
|
-
return (i = a.value[
|
|
580
|
+
return (i = a.value[s.name].renderAs) != null ? i : O.BUTTON;
|
|
560
581
|
}
|
|
561
|
-
function
|
|
582
|
+
function v(s) {
|
|
562
583
|
var i;
|
|
563
|
-
return
|
|
584
|
+
return s.labelAvailable ? (i = s.formAction.label) != null ? i : "" : s.name;
|
|
564
585
|
}
|
|
565
|
-
return (
|
|
566
|
-
const m =
|
|
567
|
-
return
|
|
586
|
+
return (s, i) => {
|
|
587
|
+
const m = x("v-btn");
|
|
588
|
+
return o(l).length > 0 ? (h(), E("div", {
|
|
568
589
|
key: 0,
|
|
569
|
-
class:
|
|
570
|
-
"button-group":
|
|
571
|
-
"with-border":
|
|
590
|
+
class: re(["text-end", {
|
|
591
|
+
"button-group": s.showAsGroup === "grouped" || s.showAsGroup === "grouped-no-borders",
|
|
592
|
+
"with-border": s.showAsGroup === "grouped"
|
|
572
593
|
}])
|
|
573
594
|
}, [
|
|
574
|
-
(h(!0), E(
|
|
595
|
+
(h(!0), E($e, null, Ee(o(l), (p, g) => (h(), k(m, {
|
|
575
596
|
key: g,
|
|
576
|
-
variant:
|
|
597
|
+
variant: c(p) === o(O).BUTTON ? "tonal" : "text",
|
|
577
598
|
elevation: 0,
|
|
578
|
-
class:
|
|
579
|
-
size:
|
|
580
|
-
onClick: Qe((w) =>
|
|
599
|
+
class: re(g !== -1 ? "" : "ms-3"),
|
|
600
|
+
size: s.buttonSize,
|
|
601
|
+
onClick: Qe((w) => p.formAction.execute(w), ["stop"])
|
|
581
602
|
}, {
|
|
582
603
|
default: y(() => [
|
|
583
|
-
p
|
|
604
|
+
f(p) ? (h(), k(o(fe), {
|
|
584
605
|
key: 0,
|
|
585
606
|
class: "action-icon",
|
|
586
|
-
name:
|
|
587
|
-
}, null, 8, ["name"])) :
|
|
588
|
-
p
|
|
589
|
-
u(
|
|
607
|
+
name: p.formAction.icon
|
|
608
|
+
}, null, 8, ["name"])) : $("", !0),
|
|
609
|
+
f(p) && u(p) ? (h(), E("span", Fl)) : $("", !0),
|
|
610
|
+
u(p) ? (h(), E("span", Ll, ee(v(p)), 1)) : $("", !0)
|
|
590
611
|
]),
|
|
591
612
|
_: 2
|
|
592
613
|
}, 1032, ["variant", "class", "size", "onClick"]))), 128))
|
|
593
|
-
], 2)) :
|
|
614
|
+
], 2)) : $("", !0);
|
|
594
615
|
};
|
|
595
616
|
}
|
|
596
|
-
}),
|
|
617
|
+
}), Rl = /* @__PURE__ */ le(Pl, [["__scopeId", "data-v-eb616f46"]]), Ol = /* @__PURE__ */ F({
|
|
597
618
|
__name: "df-checkbox",
|
|
598
619
|
props: /* @__PURE__ */ z({
|
|
599
620
|
allowNull: { type: Boolean },
|
|
@@ -608,44 +629,44 @@ const pl = {
|
|
|
608
629
|
visibility: {},
|
|
609
630
|
cssClass: {},
|
|
610
631
|
clearable: { type: Boolean }
|
|
611
|
-
}, H(
|
|
632
|
+
}, H(N({}, K), { allowNull: !1 })),
|
|
612
633
|
emits: ["update:modelValue", "click:clear"],
|
|
613
634
|
setup(t, { emit: e }) {
|
|
614
|
-
const l = t,
|
|
635
|
+
const l = t, r = e, { errors: n, value: a, vuetifyBindings: f } = j(l, r), u = _(() => l.allowNull && a.value == null), c = _({
|
|
615
636
|
get() {
|
|
616
637
|
return a.value;
|
|
617
638
|
},
|
|
618
|
-
set(
|
|
639
|
+
set(s) {
|
|
619
640
|
}
|
|
620
641
|
// eslint-disable-line @typescript-eslint/no-unused-vars
|
|
621
642
|
});
|
|
622
|
-
Z(a, (
|
|
623
|
-
|
|
643
|
+
Z(a, (s) => {
|
|
644
|
+
s ? a.value = !0 : l.allowNull && s == null ? a.value = null : a.value = !1;
|
|
624
645
|
}, { immediate: !0 });
|
|
625
|
-
function
|
|
626
|
-
const
|
|
627
|
-
|
|
646
|
+
function v() {
|
|
647
|
+
const s = nt(a.value);
|
|
648
|
+
s === !0 ? a.value = l.allowNull ? null : !1 : a.value = s === !1;
|
|
628
649
|
}
|
|
629
|
-
return (
|
|
630
|
-
const m =
|
|
631
|
-
return h(),
|
|
632
|
-
modelValue:
|
|
633
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
634
|
-
},
|
|
650
|
+
return (s, i) => {
|
|
651
|
+
const m = x("v-checkbox");
|
|
652
|
+
return h(), k(m, R({
|
|
653
|
+
modelValue: c.value,
|
|
654
|
+
"onUpdate:modelValue": i[0] || (i[0] = (p) => c.value = p)
|
|
655
|
+
}, o(f), {
|
|
635
656
|
density: "compact",
|
|
636
657
|
indeterminate: u.value,
|
|
637
658
|
"false-value": !1,
|
|
638
659
|
"true-value": !0,
|
|
639
|
-
onChange:
|
|
660
|
+
onChange: v
|
|
640
661
|
}), {
|
|
641
662
|
message: y(() => [
|
|
642
|
-
|
|
663
|
+
A(o(W), { errors: o(n) }, null, 8, ["errors"])
|
|
643
664
|
]),
|
|
644
665
|
_: 1
|
|
645
666
|
}, 16, ["modelValue", "indeterminate"]);
|
|
646
667
|
};
|
|
647
668
|
}
|
|
648
|
-
}),
|
|
669
|
+
}), Hl = /* @__PURE__ */ F({
|
|
649
670
|
__name: "df-color",
|
|
650
671
|
props: /* @__PURE__ */ z({
|
|
651
672
|
allowNull: { type: Boolean },
|
|
@@ -660,18 +681,18 @@ const pl = {
|
|
|
660
681
|
visibility: {},
|
|
661
682
|
cssClass: {},
|
|
662
683
|
clearable: { type: Boolean }
|
|
663
|
-
}, H(
|
|
684
|
+
}, H(N({}, K), { allowNull: !1 })),
|
|
664
685
|
emits: ["update:modelValue", "click:clear"],
|
|
665
686
|
setup(t, { emit: e }) {
|
|
666
|
-
const l = t,
|
|
667
|
-
(
|
|
687
|
+
const l = t, r = e, { errors: n, value: a, vuetifyBindings: f } = j(l, r), u = S(!1), c = _(() => [
|
|
688
|
+
(s) => !s && l.allowNull || /^#?([a-fA-F0-9]{6}[a-fA-F0-9]{0,2})$/.test(s) ? !0 : "Not a valid hex string."
|
|
668
689
|
]);
|
|
669
|
-
function
|
|
690
|
+
function v() {
|
|
670
691
|
u.value = !1;
|
|
671
692
|
}
|
|
672
|
-
return (
|
|
673
|
-
const m =
|
|
674
|
-
return h(),
|
|
693
|
+
return (s, i) => {
|
|
694
|
+
const m = x("v-text-field"), p = x("v-color-picker"), g = x("v-menu");
|
|
695
|
+
return h(), k(g, {
|
|
675
696
|
modelValue: u.value,
|
|
676
697
|
"onUpdate:modelValue": i[2] || (i[2] = (w) => u.value = w),
|
|
677
698
|
location: "top start",
|
|
@@ -679,32 +700,32 @@ const pl = {
|
|
|
679
700
|
"close-on-content-click": !1
|
|
680
701
|
}, {
|
|
681
702
|
activator: y(({ props: w }) => [
|
|
682
|
-
|
|
683
|
-
modelValue:
|
|
703
|
+
A(m, R({
|
|
704
|
+
modelValue: o(a),
|
|
684
705
|
"onUpdate:modelValue": i[0] || (i[0] = (L) => G(a) ? a.value = L : null)
|
|
685
|
-
},
|
|
686
|
-
clearable:
|
|
706
|
+
}, N(N({}, o(f)), w), {
|
|
707
|
+
clearable: s.allowNull,
|
|
687
708
|
type: "text",
|
|
688
709
|
variant: "underlined",
|
|
689
|
-
rules:
|
|
710
|
+
rules: c.value
|
|
690
711
|
}), {
|
|
691
712
|
message: y(() => [
|
|
692
|
-
|
|
713
|
+
A(o(W), { errors: o(n) }, null, 8, ["errors"])
|
|
693
714
|
]),
|
|
694
715
|
"prepend-inner": y(() => [
|
|
695
716
|
te("div", {
|
|
696
|
-
style: he([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor:
|
|
717
|
+
style: he([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(a) }])
|
|
697
718
|
}, null, 4)
|
|
698
719
|
]),
|
|
699
720
|
_: 2
|
|
700
721
|
}, 1040, ["modelValue", "clearable", "rules"])
|
|
701
722
|
]),
|
|
702
723
|
default: y(() => [
|
|
703
|
-
|
|
704
|
-
modelValue:
|
|
724
|
+
A(p, {
|
|
725
|
+
modelValue: o(a),
|
|
705
726
|
"onUpdate:modelValue": [
|
|
706
727
|
i[1] || (i[1] = (w) => G(a) ? a.value = w : null),
|
|
707
|
-
|
|
728
|
+
v
|
|
708
729
|
],
|
|
709
730
|
mode: "hexa"
|
|
710
731
|
}, null, 8, ["modelValue"])
|
|
@@ -713,7 +734,7 @@ const pl = {
|
|
|
713
734
|
}, 8, ["modelValue"]);
|
|
714
735
|
};
|
|
715
736
|
}
|
|
716
|
-
}),
|
|
737
|
+
}), Ml = { class: "d-flex w-100" }, jl = /* @__PURE__ */ F({
|
|
717
738
|
__name: "df-datetime",
|
|
718
739
|
props: /* @__PURE__ */ z({
|
|
719
740
|
inputType: {},
|
|
@@ -730,177 +751,177 @@ const pl = {
|
|
|
730
751
|
visibility: {},
|
|
731
752
|
cssClass: {},
|
|
732
753
|
clearable: { type: Boolean }
|
|
733
|
-
}, H(
|
|
754
|
+
}, H(N({}, K), {
|
|
734
755
|
inputType: "datetime",
|
|
735
756
|
displayFormatDate: "P",
|
|
736
757
|
displayFormatTime: "p"
|
|
737
758
|
})),
|
|
738
759
|
emits: ["update:modelValue", "click:clear"],
|
|
739
760
|
setup(t, { emit: e }) {
|
|
740
|
-
const l = t,
|
|
761
|
+
const l = t, r = e, { value: n, vuetifyBindings: a } = j(l, r), { inputType: f, displayFormatDate: u, displayFormatTime: c } = se(l), v = S(""), s = _({
|
|
741
762
|
get() {
|
|
742
|
-
return
|
|
763
|
+
return o(v) !== "";
|
|
743
764
|
},
|
|
744
765
|
set(b) {
|
|
745
|
-
b ?
|
|
766
|
+
b ? v.value = "date" : v.value = "";
|
|
746
767
|
}
|
|
747
|
-
}), i = (b) => `${
|
|
748
|
-
function
|
|
768
|
+
}), i = (b) => `${ne(b, "yyyy-MM-dd")}T${ne(b, "HH:mm")}:00`, m = S(null);
|
|
769
|
+
function p(b, d) {
|
|
749
770
|
if (b == null)
|
|
750
771
|
m.value = null;
|
|
751
|
-
else if (
|
|
752
|
-
if (
|
|
753
|
-
m.value = i(/* @__PURE__ */ new Date()),
|
|
772
|
+
else if (d === -1)
|
|
773
|
+
if (o(f) === "time")
|
|
774
|
+
m.value = i(/* @__PURE__ */ new Date()), p(`T${b}`, 1);
|
|
754
775
|
else {
|
|
755
776
|
const T = i(new Date(b));
|
|
756
|
-
|
|
777
|
+
p(T, 0), p(T, 1);
|
|
757
778
|
}
|
|
758
779
|
else {
|
|
759
780
|
m.value == null && (m.value = i(/* @__PURE__ */ new Date()));
|
|
760
781
|
const T = m.value.split(/[TZ]/g), P = b.split(/[TZ]/g);
|
|
761
|
-
T[
|
|
782
|
+
T[d] = P[d], m.value = i(/* @__PURE__ */ new Date(`${T[0]}T${T[1].split(".")[0]}`)), o(f) === "date" ? n.value = T[0] : o(f) === "time" ? n.value = T[1] : n.value = o(m);
|
|
762
783
|
}
|
|
763
784
|
}
|
|
764
|
-
Z(
|
|
785
|
+
Z(n, (b) => p(b, -1), { immediate: !0 });
|
|
765
786
|
const g = _({
|
|
766
787
|
get() {
|
|
767
|
-
const b =
|
|
788
|
+
const b = o(m);
|
|
768
789
|
if (b == null) return null;
|
|
769
|
-
const
|
|
770
|
-
return Number.isNaN(
|
|
790
|
+
const d = new Date(b);
|
|
791
|
+
return Number.isNaN(d.getTime()) ? null : d;
|
|
771
792
|
},
|
|
772
793
|
set(b) {
|
|
773
|
-
|
|
794
|
+
p(i(b), 0);
|
|
774
795
|
}
|
|
775
796
|
}), w = _({
|
|
776
797
|
get() {
|
|
777
|
-
const b =
|
|
798
|
+
const b = o(m);
|
|
778
799
|
return b == null ? "" : b.split(/[TZ]/g)[1].split(".")[0];
|
|
779
800
|
},
|
|
780
801
|
set(b) {
|
|
781
|
-
|
|
802
|
+
p(`T${b}`, 1);
|
|
782
803
|
}
|
|
783
804
|
}), L = _({
|
|
784
805
|
get() {
|
|
785
|
-
const b =
|
|
786
|
-
return b == null ? "" :
|
|
806
|
+
const b = o(g);
|
|
807
|
+
return b == null ? "" : ne(b, o(u));
|
|
787
808
|
},
|
|
788
809
|
set(b) {
|
|
789
810
|
try {
|
|
790
|
-
const
|
|
791
|
-
|
|
792
|
-
} catch (
|
|
793
|
-
console.error(
|
|
811
|
+
const d = ut(b, o(u), /* @__PURE__ */ new Date());
|
|
812
|
+
p(i(d), 0);
|
|
813
|
+
} catch (d) {
|
|
814
|
+
console.error(d);
|
|
794
815
|
}
|
|
795
816
|
}
|
|
796
817
|
}), B = _({
|
|
797
818
|
get() {
|
|
798
|
-
const b =
|
|
799
|
-
return b == null ? "" :
|
|
819
|
+
const b = o(g);
|
|
820
|
+
return b == null ? "" : ne(b, o(c));
|
|
800
821
|
},
|
|
801
822
|
set(b) {
|
|
802
|
-
const
|
|
803
|
-
if (
|
|
804
|
-
let T = Ce(
|
|
805
|
-
const P = Ce(
|
|
806
|
-
Ie(T) || Ie(P) || (
|
|
823
|
+
const d = b.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
824
|
+
if (d == null) return;
|
|
825
|
+
let T = Ce(d[1]);
|
|
826
|
+
const P = Ce(d[2]);
|
|
827
|
+
Ie(T) || Ie(P) || (d[3] && d[3].toLowerCase() === "pm" && T < 13 && (T += 12), p(`T${T.toString().padStart(2, "0")}:${P.toString().padStart(2, "0")}:00`, 1));
|
|
807
828
|
}
|
|
808
829
|
});
|
|
809
|
-
return (b,
|
|
810
|
-
const T =
|
|
811
|
-
return h(),
|
|
830
|
+
return (b, d) => {
|
|
831
|
+
const T = x("v-text-field"), P = x("v-date-picker"), X = x("v-confirm-edit"), I = x("v-time-picker"), C = x("v-menu");
|
|
832
|
+
return h(), k(o(ge), R(l, {
|
|
812
833
|
clearable: "",
|
|
813
|
-
"onClick:clear":
|
|
834
|
+
"onClick:clear": d[13] || (d[13] = (V) => n.value = null)
|
|
814
835
|
}), {
|
|
815
836
|
default: y(() => [
|
|
816
|
-
|
|
817
|
-
modelValue:
|
|
818
|
-
"onUpdate:modelValue":
|
|
837
|
+
A(C, {
|
|
838
|
+
modelValue: s.value,
|
|
839
|
+
"onUpdate:modelValue": d[12] || (d[12] = (V) => s.value = V),
|
|
819
840
|
location: "top start",
|
|
820
|
-
origin: `bottom ${
|
|
841
|
+
origin: `bottom ${o(f) === "datetime" ? "center" : "start"}`,
|
|
821
842
|
"close-on-content-click": !1
|
|
822
843
|
}, {
|
|
823
|
-
activator: y(({ props:
|
|
824
|
-
te("div",
|
|
825
|
-
["date", "datetime"].includes(
|
|
844
|
+
activator: y(({ props: V }) => [
|
|
845
|
+
te("div", Ml, [
|
|
846
|
+
["date", "datetime"].includes(o(f)) ? (h(), k(T, R({
|
|
826
847
|
key: 0,
|
|
827
848
|
modelValue: L.value,
|
|
828
|
-
"onUpdate:modelValue":
|
|
849
|
+
"onUpdate:modelValue": d[0] || (d[0] = (U) => L.value = U),
|
|
829
850
|
style: { "flex-grow": "4" },
|
|
830
851
|
density: "compact",
|
|
831
852
|
clearable: !1,
|
|
832
853
|
"hide-details": !0,
|
|
833
|
-
readonly:
|
|
834
|
-
disabled:
|
|
835
|
-
name: `${
|
|
836
|
-
},
|
|
837
|
-
onClick:
|
|
838
|
-
onKeydown:
|
|
839
|
-
}), null, 16, ["modelValue", "readonly", "disabled", "name"])) :
|
|
840
|
-
["time", "datetime"].includes(
|
|
854
|
+
readonly: o(a).readonly,
|
|
855
|
+
disabled: o(a).disabled,
|
|
856
|
+
name: `${o(a).name}-date`
|
|
857
|
+
}, V, {
|
|
858
|
+
onClick: d[1] || (d[1] = (U) => v.value = "date"),
|
|
859
|
+
onKeydown: d[2] || (d[2] = ke((U) => v.value = "date", ["space"]))
|
|
860
|
+
}), null, 16, ["modelValue", "readonly", "disabled", "name"])) : $("", !0),
|
|
861
|
+
["time", "datetime"].includes(o(f)) ? (h(), k(T, R({
|
|
841
862
|
key: 1,
|
|
842
863
|
modelValue: B.value,
|
|
843
|
-
"onUpdate:modelValue":
|
|
864
|
+
"onUpdate:modelValue": d[3] || (d[3] = (U) => B.value = U),
|
|
844
865
|
style: { "flex-grow": "3" },
|
|
845
866
|
density: "compact",
|
|
846
867
|
clearable: !1,
|
|
847
868
|
"hide-details": !0,
|
|
848
|
-
readonly:
|
|
849
|
-
disabled:
|
|
850
|
-
name: `${
|
|
851
|
-
},
|
|
852
|
-
onClick:
|
|
853
|
-
onKeydown:
|
|
854
|
-
}), null, 16, ["modelValue", "readonly", "disabled", "name"])) :
|
|
869
|
+
readonly: o(a).readonly,
|
|
870
|
+
disabled: o(a).disabled,
|
|
871
|
+
name: `${o(a).name}-time`
|
|
872
|
+
}, V, {
|
|
873
|
+
onClick: d[4] || (d[4] = (U) => v.value = "time"),
|
|
874
|
+
onKeydown: d[5] || (d[5] = ke((U) => v.value = "time", ["space"]))
|
|
875
|
+
}), null, 16, ["modelValue", "readonly", "disabled", "name"])) : $("", !0)
|
|
855
876
|
])
|
|
856
877
|
]),
|
|
857
878
|
default: y(() => [
|
|
858
|
-
|
|
879
|
+
v.value === "date" ? (h(), k(X, {
|
|
859
880
|
key: 0,
|
|
860
881
|
modelValue: g.value,
|
|
861
|
-
"onUpdate:modelValue":
|
|
862
|
-
onCancel:
|
|
863
|
-
onSave:
|
|
882
|
+
"onUpdate:modelValue": d[6] || (d[6] = (V) => g.value = V),
|
|
883
|
+
onCancel: d[7] || (d[7] = (V) => v.value = ""),
|
|
884
|
+
onSave: d[8] || (d[8] = (V) => v.value = "")
|
|
864
885
|
}, {
|
|
865
|
-
default: y(({ model:
|
|
866
|
-
|
|
867
|
-
modelValue:
|
|
868
|
-
"onUpdate:modelValue": (D) =>
|
|
886
|
+
default: y(({ model: V, actions: U }) => [
|
|
887
|
+
A(P, {
|
|
888
|
+
modelValue: V.value,
|
|
889
|
+
"onUpdate:modelValue": (D) => V.value = D,
|
|
869
890
|
"hide-header": !0,
|
|
870
891
|
"first-day-of-week": 1,
|
|
871
892
|
"show-adjacent-months": !0,
|
|
872
893
|
"show-week": !0
|
|
873
894
|
}, {
|
|
874
895
|
actions: y(() => [
|
|
875
|
-
(h(),
|
|
896
|
+
(h(), k(J(U)))
|
|
876
897
|
]),
|
|
877
898
|
_: 2
|
|
878
899
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
879
900
|
]),
|
|
880
901
|
_: 1
|
|
881
|
-
}, 8, ["modelValue"])) :
|
|
882
|
-
|
|
902
|
+
}, 8, ["modelValue"])) : $("", !0),
|
|
903
|
+
v.value === "time" ? (h(), k(X, {
|
|
883
904
|
key: 1,
|
|
884
905
|
modelValue: w.value,
|
|
885
|
-
"onUpdate:modelValue":
|
|
886
|
-
onCancel:
|
|
887
|
-
onSave:
|
|
906
|
+
"onUpdate:modelValue": d[9] || (d[9] = (V) => w.value = V),
|
|
907
|
+
onCancel: d[10] || (d[10] = (V) => v.value = ""),
|
|
908
|
+
onSave: d[11] || (d[11] = (V) => v.value = "")
|
|
888
909
|
}, {
|
|
889
|
-
default: y(({ model:
|
|
890
|
-
|
|
891
|
-
modelValue:
|
|
892
|
-
"onUpdate:modelValue": (D) =>
|
|
910
|
+
default: y(({ model: V, actions: U }) => [
|
|
911
|
+
A(I, {
|
|
912
|
+
modelValue: V.value,
|
|
913
|
+
"onUpdate:modelValue": (D) => V.value = D,
|
|
893
914
|
"hide-header": !0,
|
|
894
915
|
format: "24hr"
|
|
895
916
|
}, {
|
|
896
917
|
actions: y(() => [
|
|
897
|
-
(h(),
|
|
918
|
+
(h(), k(J(U)))
|
|
898
919
|
]),
|
|
899
920
|
_: 2
|
|
900
921
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
901
922
|
]),
|
|
902
923
|
_: 1
|
|
903
|
-
}, 8, ["modelValue"])) :
|
|
924
|
+
}, 8, ["modelValue"])) : $("", !0)
|
|
904
925
|
]),
|
|
905
926
|
_: 1
|
|
906
927
|
}, 8, ["modelValue", "origin"])
|
|
@@ -909,7 +930,7 @@ const pl = {
|
|
|
909
930
|
}, 16);
|
|
910
931
|
};
|
|
911
932
|
}
|
|
912
|
-
}),
|
|
933
|
+
}), zl = { style: { position: "relative", width: "100%" } }, Kl = /* @__PURE__ */ F({
|
|
913
934
|
__name: "df-file",
|
|
914
935
|
props: /* @__PURE__ */ z({
|
|
915
936
|
comms: {},
|
|
@@ -924,38 +945,38 @@ const pl = {
|
|
|
924
945
|
visibility: {},
|
|
925
946
|
cssClass: {},
|
|
926
947
|
clearable: { type: Boolean }
|
|
927
|
-
},
|
|
948
|
+
}, K),
|
|
928
949
|
emits: ["update:modelValue", "click:clear"],
|
|
929
950
|
setup(t, { emit: e }) {
|
|
930
|
-
const l = t,
|
|
951
|
+
const l = t, r = e, { value: n, vuetifyBindings: a } = j(l, r), f = S(null), u = S(null), c = S(0), v = S(Math.round(Math.random() * 1e3)), s = S(), i = _(() => !s.value && n.value ? l.modelValue : "");
|
|
931
952
|
function m() {
|
|
932
|
-
|
|
953
|
+
f.value && window.clearInterval(f.value);
|
|
933
954
|
}
|
|
934
|
-
function
|
|
935
|
-
m(),
|
|
936
|
-
|
|
955
|
+
function p() {
|
|
956
|
+
m(), f.value = window.setInterval(() => {
|
|
957
|
+
n.value && l.comms.touch(n.value);
|
|
937
958
|
}, 60 * 1e3);
|
|
938
959
|
}
|
|
939
|
-
|
|
940
|
-
B ?
|
|
960
|
+
Ne(() => m()), Z(n, (B) => {
|
|
961
|
+
B ? p() : m();
|
|
941
962
|
});
|
|
942
963
|
function g() {
|
|
943
|
-
return
|
|
944
|
-
|
|
964
|
+
return oe(this, null, function* () {
|
|
965
|
+
n.value && (yield l.comms.delete(n.value)), n.value = null, c.value = 0, v.value = Math.round(Math.random() * 1e3), u.value = null, s.value = null, m();
|
|
945
966
|
});
|
|
946
967
|
}
|
|
947
968
|
function w(B) {
|
|
948
|
-
return
|
|
949
|
-
|
|
969
|
+
return oe(this, null, function* () {
|
|
970
|
+
c.value = -1, u.value = B, new FormData().append("file", B, B.name);
|
|
950
971
|
try {
|
|
951
|
-
|
|
972
|
+
n.value = yield l.comms.upload(
|
|
952
973
|
B,
|
|
953
|
-
(
|
|
954
|
-
|
|
974
|
+
(d, T) => {
|
|
975
|
+
c.value = Math.round(d * 100 / T);
|
|
955
976
|
}
|
|
956
|
-
),
|
|
957
|
-
} catch (
|
|
958
|
-
throw
|
|
977
|
+
), c.value = 100, p();
|
|
978
|
+
} catch (d) {
|
|
979
|
+
throw c.value = 0, u.value = null, v.value = Math.round(Math.random() * 1e3), s.value = null, d;
|
|
959
980
|
}
|
|
960
981
|
});
|
|
961
982
|
}
|
|
@@ -963,34 +984,34 @@ const pl = {
|
|
|
963
984
|
B && (Array.isArray(B) ? console.error("Uploading multiple files not supported right now") : w(B));
|
|
964
985
|
}
|
|
965
986
|
return (B, b) => {
|
|
966
|
-
const
|
|
967
|
-
return h(),
|
|
987
|
+
const d = x("v-progress-linear"), T = x("v-file-input");
|
|
988
|
+
return h(), k(o(ge), R(l, {
|
|
968
989
|
clearable: "",
|
|
969
990
|
"onClick:clear": g
|
|
970
991
|
}), {
|
|
971
992
|
default: y(() => [
|
|
972
|
-
te("div",
|
|
973
|
-
u.value &&
|
|
993
|
+
te("div", zl, [
|
|
994
|
+
u.value && c.value < 100 ? (h(), k(d, {
|
|
974
995
|
key: 0,
|
|
975
|
-
"model-value":
|
|
976
|
-
indeterminate:
|
|
996
|
+
"model-value": c.value,
|
|
997
|
+
indeterminate: c.value === -1,
|
|
977
998
|
height: "10",
|
|
978
999
|
style: { position: "absolute", top: "50%", transform: "translateY(-50%)", width: "100%" }
|
|
979
|
-
}, null, 8, ["model-value", "indeterminate"])) :
|
|
980
|
-
|
|
981
|
-
modelValue:
|
|
1000
|
+
}, null, 8, ["model-value", "indeterminate"])) : $("", !0),
|
|
1001
|
+
A(T, {
|
|
1002
|
+
modelValue: s.value,
|
|
982
1003
|
"onUpdate:modelValue": [
|
|
983
|
-
b[0] || (b[0] = (P) =>
|
|
1004
|
+
b[0] || (b[0] = (P) => s.value = P),
|
|
984
1005
|
L
|
|
985
1006
|
],
|
|
986
1007
|
label: i.value,
|
|
987
|
-
readonly:
|
|
988
|
-
disabled:
|
|
989
|
-
name:
|
|
1008
|
+
readonly: o(a).readonly,
|
|
1009
|
+
disabled: o(a).disabled,
|
|
1010
|
+
name: o(a).name,
|
|
990
1011
|
"hide-details": !0,
|
|
991
1012
|
"show-size": !0,
|
|
992
1013
|
multiple: !1,
|
|
993
|
-
style: he(u.value &&
|
|
1014
|
+
style: he(u.value && c.value < 100 ? "visibility: hidden" : ""),
|
|
994
1015
|
clearable: !1
|
|
995
1016
|
}, null, 8, ["modelValue", "label", "readonly", "disabled", "name", "style"])
|
|
996
1017
|
])
|
|
@@ -999,7 +1020,7 @@ const pl = {
|
|
|
999
1020
|
}, 16);
|
|
1000
1021
|
};
|
|
1001
1022
|
}
|
|
1002
|
-
}),
|
|
1023
|
+
}), Gl = { class: "container" }, Wl = /* @__PURE__ */ F({
|
|
1003
1024
|
__name: "df-input",
|
|
1004
1025
|
props: /* @__PURE__ */ z({
|
|
1005
1026
|
inputType: {},
|
|
@@ -1018,7 +1039,7 @@ const pl = {
|
|
|
1018
1039
|
visibility: {},
|
|
1019
1040
|
cssClass: {},
|
|
1020
1041
|
clearable: { type: Boolean }
|
|
1021
|
-
}, H(
|
|
1042
|
+
}, H(N({}, K), {
|
|
1022
1043
|
inputType: "text",
|
|
1023
1044
|
precision: void 0,
|
|
1024
1045
|
step: void 0,
|
|
@@ -1027,40 +1048,40 @@ const pl = {
|
|
|
1027
1048
|
})),
|
|
1028
1049
|
emits: ["update:modelValue", "click:clear"],
|
|
1029
1050
|
setup(t, { emit: e }) {
|
|
1030
|
-
const l = t,
|
|
1051
|
+
const l = t, r = e, { errors: n, value: a, vuetifyBindings: f } = j(l, r), { inputType: u, max: c, min: v, precision: s, step: i } = se(l), m = _(() => u.value === "number"), p = _(() => m.value ? { min: v.value, max: c.value, precision: s.value, step: i.value } : {});
|
|
1031
1052
|
return (g, w) => {
|
|
1032
|
-
const L =
|
|
1033
|
-
return h(), E("div",
|
|
1034
|
-
m.value ? (h(),
|
|
1053
|
+
const L = x("v-text-field"), B = x("v-number-input");
|
|
1054
|
+
return h(), E("div", Gl, [
|
|
1055
|
+
m.value ? (h(), k(B, R({
|
|
1035
1056
|
key: 1,
|
|
1036
|
-
modelValue:
|
|
1057
|
+
modelValue: o(a),
|
|
1037
1058
|
"onUpdate:modelValue": w[1] || (w[1] = (b) => G(a) ? a.value = b : null)
|
|
1038
|
-
},
|
|
1059
|
+
}, N(N({}, o(f)), p.value), {
|
|
1039
1060
|
density: "compact",
|
|
1040
1061
|
"control-variant": "stacked",
|
|
1041
1062
|
variant: "underlined"
|
|
1042
1063
|
}), {
|
|
1043
1064
|
message: y(() => [
|
|
1044
|
-
|
|
1065
|
+
A(o(W), { errors: o(n) }, null, 8, ["errors"])
|
|
1045
1066
|
]),
|
|
1046
1067
|
_: 1
|
|
1047
|
-
}, 16, ["modelValue"])) : (h(),
|
|
1068
|
+
}, 16, ["modelValue"])) : (h(), k(L, R({
|
|
1048
1069
|
key: 0,
|
|
1049
|
-
modelValue:
|
|
1070
|
+
modelValue: o(a),
|
|
1050
1071
|
"onUpdate:modelValue": w[0] || (w[0] = (b) => G(a) ? a.value = b : null)
|
|
1051
|
-
},
|
|
1072
|
+
}, o(f), {
|
|
1052
1073
|
variant: "underlined",
|
|
1053
|
-
type:
|
|
1074
|
+
type: o(u)
|
|
1054
1075
|
}), {
|
|
1055
1076
|
message: y(() => [
|
|
1056
|
-
|
|
1077
|
+
A(o(W), { errors: o(n) }, null, 8, ["errors"])
|
|
1057
1078
|
]),
|
|
1058
1079
|
_: 1
|
|
1059
1080
|
}, 16, ["modelValue", "type"]))
|
|
1060
1081
|
]);
|
|
1061
1082
|
};
|
|
1062
1083
|
}
|
|
1063
|
-
}),
|
|
1084
|
+
}), ql = /* @__PURE__ */ le(Wl, [["__scopeId", "data-v-7ce40eb2"]]), Zl = { class: "editor-container" }, Xl = { class: "editor-container__editor" }, Yl = { ref: "editorElement" }, Ql = /* @__PURE__ */ F({
|
|
1064
1085
|
__name: "ck-editor-custom",
|
|
1065
1086
|
props: {
|
|
1066
1087
|
modelValue: { default: "" },
|
|
@@ -1072,7 +1093,7 @@ const pl = {
|
|
|
1072
1093
|
Je((i) => ({
|
|
1073
1094
|
"3d4d5a06": i.minHeight
|
|
1074
1095
|
}));
|
|
1075
|
-
const
|
|
1096
|
+
const r = l, n = S(!1), a = Yt, v = {
|
|
1076
1097
|
toolbar: {
|
|
1077
1098
|
items: [
|
|
1078
1099
|
"undo",
|
|
@@ -1104,30 +1125,30 @@ const pl = {
|
|
|
1104
1125
|
shouldNotGroupWhenFull: !1
|
|
1105
1126
|
},
|
|
1106
1127
|
plugins: [
|
|
1107
|
-
dt,
|
|
1108
1128
|
ct,
|
|
1129
|
+
dt,
|
|
1109
1130
|
mt,
|
|
1110
|
-
vt,
|
|
1111
1131
|
pt,
|
|
1112
1132
|
ft,
|
|
1133
|
+
vt,
|
|
1113
1134
|
bt,
|
|
1114
1135
|
ht,
|
|
1115
1136
|
gt,
|
|
1116
1137
|
yt,
|
|
1117
1138
|
_t,
|
|
1118
1139
|
wt,
|
|
1119
|
-
kt,
|
|
1120
1140
|
Vt,
|
|
1141
|
+
kt,
|
|
1121
1142
|
Tt,
|
|
1122
1143
|
Ct,
|
|
1123
1144
|
It,
|
|
1124
1145
|
Bt,
|
|
1125
|
-
At,
|
|
1126
1146
|
xt,
|
|
1147
|
+
At,
|
|
1127
1148
|
Dt,
|
|
1149
|
+
St,
|
|
1128
1150
|
Nt,
|
|
1129
1151
|
$t,
|
|
1130
|
-
St,
|
|
1131
1152
|
Et,
|
|
1132
1153
|
Ut,
|
|
1133
1154
|
Ft,
|
|
@@ -1137,9 +1158,9 @@ const pl = {
|
|
|
1137
1158
|
Ot,
|
|
1138
1159
|
Ht,
|
|
1139
1160
|
Mt,
|
|
1140
|
-
Kt,
|
|
1141
|
-
zt,
|
|
1142
1161
|
jt,
|
|
1162
|
+
zt,
|
|
1163
|
+
Kt,
|
|
1143
1164
|
Gt,
|
|
1144
1165
|
Wt,
|
|
1145
1166
|
qt,
|
|
@@ -1203,32 +1224,32 @@ const pl = {
|
|
|
1203
1224
|
},
|
|
1204
1225
|
table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
|
|
1205
1226
|
};
|
|
1206
|
-
|
|
1207
|
-
|
|
1227
|
+
Se(() => {
|
|
1228
|
+
n.value = !0;
|
|
1208
1229
|
});
|
|
1209
|
-
const
|
|
1230
|
+
const s = (i) => {
|
|
1210
1231
|
};
|
|
1211
|
-
return e({ onEditorReady:
|
|
1212
|
-
const
|
|
1213
|
-
return h(), E("div",
|
|
1214
|
-
te("div",
|
|
1215
|
-
te("div",
|
|
1216
|
-
|
|
1232
|
+
return e({ onEditorReady: s }), (i, m) => {
|
|
1233
|
+
const p = x("ckeditor");
|
|
1234
|
+
return h(), E("div", Zl, [
|
|
1235
|
+
te("div", Xl, [
|
|
1236
|
+
te("div", Yl, [
|
|
1237
|
+
n.value ? (h(), k(p, {
|
|
1217
1238
|
key: 0,
|
|
1218
1239
|
"model-value": i.modelValue,
|
|
1219
|
-
editor:
|
|
1220
|
-
config:
|
|
1240
|
+
editor: o(a),
|
|
1241
|
+
config: v,
|
|
1221
1242
|
disabled: i.disabled,
|
|
1222
1243
|
style: he(`min-height: ${i.minHeight}`),
|
|
1223
|
-
onReady:
|
|
1224
|
-
"onUpdate:modelValue": m[0] || (m[0] = (g) =>
|
|
1225
|
-
}, null, 8, ["model-value", "editor", "disabled", "style"])) :
|
|
1244
|
+
onReady: s,
|
|
1245
|
+
"onUpdate:modelValue": m[0] || (m[0] = (g) => r("update:modelValue", g))
|
|
1246
|
+
}, null, 8, ["model-value", "editor", "disabled", "style"])) : $("", !0)
|
|
1226
1247
|
], 512)
|
|
1227
1248
|
])
|
|
1228
1249
|
]);
|
|
1229
1250
|
};
|
|
1230
1251
|
}
|
|
1231
|
-
}),
|
|
1252
|
+
}), Jl = /* @__PURE__ */ F({
|
|
1232
1253
|
__name: "df-rtf-editor",
|
|
1233
1254
|
props: /* @__PURE__ */ z({
|
|
1234
1255
|
minHeight: {},
|
|
@@ -1243,59 +1264,59 @@ const pl = {
|
|
|
1243
1264
|
visibility: {},
|
|
1244
1265
|
cssClass: {},
|
|
1245
1266
|
clearable: { type: Boolean }
|
|
1246
|
-
}, H(
|
|
1267
|
+
}, H(N({}, K), { minHeight: void 0 })),
|
|
1247
1268
|
emits: ["update:modelValue", "click:clear"],
|
|
1248
1269
|
setup(t, { emit: e }) {
|
|
1249
|
-
const l = t,
|
|
1250
|
-
return (
|
|
1270
|
+
const l = t, r = e, { value: n, vuetifyBindings: a } = j(l, r);
|
|
1271
|
+
return (f, u) => (h(), k(o(ge), Ue(Fe(l)), {
|
|
1251
1272
|
default: y(() => [
|
|
1252
|
-
|
|
1273
|
+
A(Ql, {
|
|
1253
1274
|
ref: "$editor",
|
|
1254
|
-
modelValue: n
|
|
1255
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
1256
|
-
"min-height":
|
|
1257
|
-
disabled:
|
|
1275
|
+
modelValue: o(n),
|
|
1276
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => G(n) ? n.value = c : null),
|
|
1277
|
+
"min-height": f.minHeight,
|
|
1278
|
+
disabled: o(a).disabled
|
|
1258
1279
|
}, null, 8, ["modelValue", "min-height", "disabled"])
|
|
1259
1280
|
]),
|
|
1260
1281
|
_: 1
|
|
1261
1282
|
}, 16));
|
|
1262
1283
|
}
|
|
1263
1284
|
});
|
|
1264
|
-
function
|
|
1285
|
+
function eo(t) {
|
|
1265
1286
|
return t.map((e) => ({ value: e.id, title: e.text, icon: e.icon }));
|
|
1266
1287
|
}
|
|
1267
1288
|
function Q(t, e) {
|
|
1268
1289
|
var l;
|
|
1269
1290
|
return t == null || Be(t) && t.length === 0 ? null : e ? Le(t) : Be(t) ? (l = Pe(t)) != null ? l : null : t;
|
|
1270
1291
|
}
|
|
1271
|
-
function
|
|
1292
|
+
function ve(t, e) {
|
|
1272
1293
|
if (e == null) return [];
|
|
1273
1294
|
const l = Le(e);
|
|
1274
|
-
return t.filter((
|
|
1295
|
+
return t.filter((r) => l.some((n) => n === r.id));
|
|
1275
1296
|
}
|
|
1276
|
-
function me(t, e, l,
|
|
1277
|
-
var
|
|
1297
|
+
function me(t, e, l, r, n) {
|
|
1298
|
+
var f;
|
|
1278
1299
|
const a = Q(t, l);
|
|
1279
1300
|
if (a == null) {
|
|
1280
1301
|
e.value = l ? [] : null;
|
|
1281
1302
|
return;
|
|
1282
1303
|
}
|
|
1283
1304
|
if (l)
|
|
1284
|
-
|
|
1285
|
-
else if (
|
|
1305
|
+
r ? e.value = a : e.value = ve(n, a).map((u) => u.id);
|
|
1306
|
+
else if (r)
|
|
1286
1307
|
e.value = a;
|
|
1287
1308
|
else {
|
|
1288
|
-
const u = Pe(
|
|
1289
|
-
e.value = (
|
|
1309
|
+
const u = Pe(ve(n, a));
|
|
1310
|
+
e.value = (f = u == null ? void 0 : u.id) != null ? f : null;
|
|
1290
1311
|
}
|
|
1291
1312
|
}
|
|
1292
|
-
const
|
|
1313
|
+
const to = {
|
|
1293
1314
|
key: 0,
|
|
1294
1315
|
class: "me-1"
|
|
1295
|
-
},
|
|
1316
|
+
}, lo = {
|
|
1296
1317
|
key: 0,
|
|
1297
1318
|
class: "me-1"
|
|
1298
|
-
},
|
|
1319
|
+
}, oo = /* @__PURE__ */ F({
|
|
1299
1320
|
__name: "df-select",
|
|
1300
1321
|
props: /* @__PURE__ */ z({
|
|
1301
1322
|
choices: {},
|
|
@@ -1314,7 +1335,7 @@ const Sl = {
|
|
|
1314
1335
|
visibility: {},
|
|
1315
1336
|
cssClass: {},
|
|
1316
1337
|
clearable: { type: Boolean }
|
|
1317
|
-
}, H(
|
|
1338
|
+
}, H(N({}, K), {
|
|
1318
1339
|
choices: void 0,
|
|
1319
1340
|
multiple: !1,
|
|
1320
1341
|
allowTags: !1,
|
|
@@ -1323,28 +1344,28 @@ const Sl = {
|
|
|
1323
1344
|
})),
|
|
1324
1345
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
1325
1346
|
setup(t, { emit: e }) {
|
|
1326
|
-
const l = t, { choices:
|
|
1347
|
+
const l = t, { choices: r } = l, { multiple: n, allowTags: a, allowNull: f, cssClass: u, visibility: c } = se(l), v = S(!1), s = e, { errors: i, value: m, vuetifyBindings: p } = j(l, s), g = S(null), w = S(r || []), L = S(!1), B = _(() => eo(w.value));
|
|
1327
1348
|
function b(I) {
|
|
1328
|
-
|
|
1349
|
+
s("update:modelValueDisplay", ve(w.value, I));
|
|
1329
1350
|
}
|
|
1330
1351
|
Z(g, (I) => {
|
|
1331
|
-
|
|
1332
|
-
const C = Q(I,
|
|
1352
|
+
p.value.readonly || et(() => {
|
|
1353
|
+
const C = Q(I, n.value);
|
|
1333
1354
|
b(C), m.value = C;
|
|
1334
1355
|
});
|
|
1335
1356
|
}, { deep: !0 });
|
|
1336
|
-
function
|
|
1337
|
-
if (
|
|
1338
|
-
const I = Q(g.value,
|
|
1339
|
-
me(I, g,
|
|
1357
|
+
function d() {
|
|
1358
|
+
if (p.value.readonly || a.value) return;
|
|
1359
|
+
const I = Q(g.value, n.value);
|
|
1360
|
+
me(I, g, n.value, !1, w.value), m.value = I;
|
|
1340
1361
|
}
|
|
1341
1362
|
function T(I) {
|
|
1342
1363
|
let C;
|
|
1343
|
-
|
|
1364
|
+
n.value && Array.isArray(g.value) ? C = Q(g.value.filter((V) => V !== I), n.value) : C = null, me(C, g, n.value, !1, w.value), m.value = C;
|
|
1344
1365
|
}
|
|
1345
1366
|
function P(I, C) {
|
|
1346
|
-
return
|
|
1347
|
-
if (!(
|
|
1367
|
+
return oe(this, null, function* () {
|
|
1368
|
+
if (!(r || l.fetchChoices === void 0)) {
|
|
1348
1369
|
L.value = !0;
|
|
1349
1370
|
try {
|
|
1350
1371
|
w.value = yield l.fetchChoices(I, C);
|
|
@@ -1356,62 +1377,62 @@ const Sl = {
|
|
|
1356
1377
|
}
|
|
1357
1378
|
function X() {
|
|
1358
1379
|
let I = m.value;
|
|
1359
|
-
!
|
|
1380
|
+
!f.value && I == null && B.value.length && (I = B.value[0].value), I = Q(I, n.value), me(I, g, n.value, a.value, w.value), b(I), m.value = I;
|
|
1360
1381
|
}
|
|
1361
1382
|
return X(), l.fetchChoices !== void 0 && P(void 0, m.value).then(() => {
|
|
1362
1383
|
X();
|
|
1363
1384
|
}), (I, C) => {
|
|
1364
|
-
const
|
|
1365
|
-
return
|
|
1385
|
+
const V = x("v-chip"), U = x("v-list-item");
|
|
1386
|
+
return o(c) !== o(M).SUPPRESS ? (h(), k(J(o(a) ? "v-combobox" : "v-autocomplete"), R({
|
|
1366
1387
|
key: 0,
|
|
1367
1388
|
modelValue: g.value,
|
|
1368
1389
|
"onUpdate:modelValue": C[0] || (C[0] = (D) => g.value = D),
|
|
1369
1390
|
class: [
|
|
1370
|
-
|
|
1391
|
+
o(u),
|
|
1371
1392
|
{
|
|
1372
|
-
"d-none":
|
|
1373
|
-
invisible:
|
|
1393
|
+
"d-none": o(c) === o(M).HIDDEN,
|
|
1394
|
+
invisible: o(c) === o(M).INVISIBLE
|
|
1374
1395
|
}
|
|
1375
1396
|
],
|
|
1376
1397
|
density: "compact",
|
|
1377
1398
|
items: B.value,
|
|
1378
1399
|
"return-object": !1
|
|
1379
|
-
},
|
|
1380
|
-
label:
|
|
1400
|
+
}, o(p), {
|
|
1401
|
+
label: v.value ? "" : o(p).label,
|
|
1381
1402
|
chips: "",
|
|
1382
1403
|
"auto-select-first": !0,
|
|
1383
|
-
"closable-chips":
|
|
1384
|
-
clearable:
|
|
1385
|
-
multiple: n
|
|
1404
|
+
"closable-chips": o(f) || o(n) && g.value.length > 1,
|
|
1405
|
+
clearable: o(f),
|
|
1406
|
+
multiple: o(n),
|
|
1386
1407
|
loading: L.value,
|
|
1387
1408
|
"hide-selected": !1,
|
|
1388
|
-
"aria-describedby":
|
|
1409
|
+
"aria-describedby": o(p).helpText ? `${o(p).name}-help` : null,
|
|
1389
1410
|
"menu-props": { maxHeight: "400" },
|
|
1390
1411
|
"hide-details": "auto",
|
|
1391
1412
|
"onUpdate:search": C[1] || (C[1] = (D) => P(D, void 0)),
|
|
1392
|
-
"onUpdate:modelValue":
|
|
1413
|
+
"onUpdate:modelValue": d,
|
|
1393
1414
|
"onClick:clear": C[2] || (C[2] = (D) => g.value.value = null),
|
|
1394
|
-
onFocus: C[3] || (C[3] = (D) =>
|
|
1395
|
-
onBlur: C[4] || (C[4] = (D) =>
|
|
1415
|
+
onFocus: C[3] || (C[3] = (D) => v.value = !0),
|
|
1416
|
+
onBlur: C[4] || (C[4] = (D) => v.value = !1)
|
|
1396
1417
|
}), {
|
|
1397
1418
|
chip: y(({ item: D }) => [
|
|
1398
|
-
(h(), V
|
|
1419
|
+
(h(), k(V, {
|
|
1399
1420
|
key: D.value,
|
|
1400
1421
|
label: "",
|
|
1401
1422
|
size: "small",
|
|
1402
|
-
variant: n
|
|
1403
|
-
closable: n
|
|
1423
|
+
variant: o(n) ? "tonal" : "text",
|
|
1424
|
+
closable: o(n),
|
|
1404
1425
|
"onClick:close": (q) => T(D.value)
|
|
1405
1426
|
}, {
|
|
1406
1427
|
prepend: y(() => {
|
|
1407
1428
|
var q;
|
|
1408
1429
|
return [
|
|
1409
|
-
(q = D.raw) != null && q.icon ? (h(), E("span",
|
|
1410
|
-
|
|
1430
|
+
(q = D.raw) != null && q.icon ? (h(), E("span", to, [
|
|
1431
|
+
A(o(fe), {
|
|
1411
1432
|
class: "action-icon d-inline-block",
|
|
1412
1433
|
name: D.raw.icon
|
|
1413
1434
|
}, null, 8, ["name"])
|
|
1414
|
-
])) :
|
|
1435
|
+
])) : $("", !0)
|
|
1415
1436
|
];
|
|
1416
1437
|
}),
|
|
1417
1438
|
default: y(() => [
|
|
@@ -1421,29 +1442,29 @@ const Sl = {
|
|
|
1421
1442
|
}, 1032, ["variant", "closable", "onClick:close"]))
|
|
1422
1443
|
]),
|
|
1423
1444
|
item: y(({ props: D, item: q }) => [
|
|
1424
|
-
|
|
1445
|
+
A(U, Ue(Fe(D)), {
|
|
1425
1446
|
prepend: y(() => {
|
|
1426
1447
|
var ye;
|
|
1427
1448
|
return [
|
|
1428
|
-
(ye = q.raw) != null && ye.icon ? (h(), E("span",
|
|
1429
|
-
|
|
1449
|
+
(ye = q.raw) != null && ye.icon ? (h(), E("span", lo, [
|
|
1450
|
+
A(o(fe), {
|
|
1430
1451
|
class: "action-icon d-inline-block",
|
|
1431
1452
|
name: q.raw.icon
|
|
1432
1453
|
}, null, 8, ["name"])
|
|
1433
|
-
])) :
|
|
1454
|
+
])) : $("", !0)
|
|
1434
1455
|
];
|
|
1435
1456
|
}),
|
|
1436
1457
|
_: 2
|
|
1437
1458
|
}, 1040)
|
|
1438
1459
|
]),
|
|
1439
1460
|
message: y(() => [
|
|
1440
|
-
|
|
1461
|
+
A(o(W), { errors: o(i) }, null, 8, ["errors"])
|
|
1441
1462
|
]),
|
|
1442
1463
|
_: 1
|
|
1443
|
-
}, 16, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) :
|
|
1464
|
+
}, 16, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : $("", !0);
|
|
1444
1465
|
};
|
|
1445
1466
|
}
|
|
1446
|
-
}),
|
|
1467
|
+
}), no = /* @__PURE__ */ le(oo, [["__scopeId", "data-v-2d1b6f78"]]), ao = { class: "container" }, ro = /* @__PURE__ */ F({
|
|
1447
1468
|
__name: "df-text-area",
|
|
1448
1469
|
props: /* @__PURE__ */ z({
|
|
1449
1470
|
rows: {},
|
|
@@ -1459,74 +1480,99 @@ const Sl = {
|
|
|
1459
1480
|
visibility: {},
|
|
1460
1481
|
cssClass: {},
|
|
1461
1482
|
clearable: { type: Boolean }
|
|
1462
|
-
}, H(
|
|
1483
|
+
}, H(N({}, K), {
|
|
1463
1484
|
rows: void 0,
|
|
1464
1485
|
maxRows: void 0
|
|
1465
1486
|
})),
|
|
1466
1487
|
emits: ["update:modelValue", "click:clear"],
|
|
1467
1488
|
setup(t, { emit: e }) {
|
|
1468
|
-
const l = t,
|
|
1469
|
-
return (
|
|
1470
|
-
const i =
|
|
1471
|
-
return h(), E("div",
|
|
1472
|
-
|
|
1489
|
+
const l = t, r = e, { errors: n, value: a, vuetifyBindings: f } = j(l, r), { cssClass: u, visibility: c } = se(l);
|
|
1490
|
+
return (v, s) => {
|
|
1491
|
+
const i = x("v-textarea");
|
|
1492
|
+
return h(), E("div", ao, [
|
|
1493
|
+
o(c) !== o(M).SUPPRESS ? (h(), k(i, R({
|
|
1473
1494
|
key: 0,
|
|
1474
|
-
modelValue:
|
|
1475
|
-
"onUpdate:modelValue":
|
|
1495
|
+
modelValue: o(a),
|
|
1496
|
+
"onUpdate:modelValue": s[0] || (s[0] = (m) => G(a) ? a.value = m : null),
|
|
1476
1497
|
class: [
|
|
1477
|
-
|
|
1498
|
+
o(u),
|
|
1478
1499
|
{
|
|
1479
|
-
"d-none":
|
|
1480
|
-
invisible:
|
|
1500
|
+
"d-none": o(c) === o(M).HIDDEN,
|
|
1501
|
+
invisible: o(c) === o(M).INVISIBLE
|
|
1481
1502
|
}
|
|
1482
1503
|
],
|
|
1483
1504
|
variant: "underlined",
|
|
1484
|
-
rows:
|
|
1485
|
-
"auto-grow": (
|
|
1486
|
-
"max-rows":
|
|
1487
|
-
},
|
|
1505
|
+
rows: v.rows,
|
|
1506
|
+
"auto-grow": (v.maxRows || 0) > 0,
|
|
1507
|
+
"max-rows": v.maxRows
|
|
1508
|
+
}, o(f)), {
|
|
1488
1509
|
message: y(() => [
|
|
1489
|
-
|
|
1510
|
+
A(o(W), { errors: o(n) }, null, 8, ["errors"])
|
|
1490
1511
|
]),
|
|
1491
1512
|
_: 1
|
|
1492
|
-
}, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) :
|
|
1513
|
+
}, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : $("", !0)
|
|
1493
1514
|
]);
|
|
1494
1515
|
};
|
|
1495
1516
|
}
|
|
1496
|
-
}),
|
|
1517
|
+
}), io = /* @__PURE__ */ le(ro, [["__scopeId", "data-v-2dc106f6"]]), so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1518
|
+
__proto__: null,
|
|
1519
|
+
DfActions: Rl,
|
|
1520
|
+
DfCheckbox: Ol,
|
|
1521
|
+
DfColor: Hl,
|
|
1522
|
+
DfDateTime: jl,
|
|
1523
|
+
DfFile: Kl,
|
|
1524
|
+
DfInput: ql,
|
|
1525
|
+
DfRtfEditor: Jl,
|
|
1526
|
+
DfSelect: no,
|
|
1527
|
+
DfTextArea: io
|
|
1528
|
+
}, Symbol.toStringTag, { value: "Module" })), uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1497
1529
|
__proto__: null,
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1530
|
+
VAutocomplete: Qt,
|
|
1531
|
+
VBtn: Jt,
|
|
1532
|
+
VCheckbox: el,
|
|
1533
|
+
VChip: tl,
|
|
1534
|
+
VCol: il,
|
|
1535
|
+
VColorPicker: ol,
|
|
1536
|
+
VCombobox: ll,
|
|
1537
|
+
VConfirmEdit: nl,
|
|
1538
|
+
VDatePicker: al,
|
|
1539
|
+
VFileInput: rl,
|
|
1540
|
+
VIcon: ul,
|
|
1541
|
+
VInput: cl,
|
|
1542
|
+
VListItem: dl,
|
|
1543
|
+
VMenu: ml,
|
|
1544
|
+
VNumberInput: pl,
|
|
1545
|
+
VProgressLinear: fl,
|
|
1546
|
+
VRow: sl,
|
|
1547
|
+
VSelect: vl,
|
|
1548
|
+
VSwitch: bl,
|
|
1549
|
+
VTextField: gl,
|
|
1550
|
+
VTextarea: hl,
|
|
1551
|
+
VTimePicker: yl
|
|
1552
|
+
}, Symbol.toStringTag, { value: "Module" })), Ho = {
|
|
1508
1553
|
install: (t, e) => {
|
|
1509
|
-
var l;
|
|
1510
|
-
t.use(
|
|
1554
|
+
var l, r;
|
|
1555
|
+
t.use(Sl), (l = e == null ? void 0 : e.registerComponents) != null && l && Object.entries(so).map(([n, a]) => t.component(n, a)), (r = e == null ? void 0 : e.registerVuetifyComponents) != null && r && Object.entries(uo).map(([n, a]) => t.component(n, a));
|
|
1511
1556
|
}
|
|
1512
1557
|
};
|
|
1513
1558
|
export {
|
|
1514
1559
|
ae as Action,
|
|
1515
1560
|
O as ActionDisplayStyle,
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1561
|
+
Rl as DfActions,
|
|
1562
|
+
Ol as DfCheckbox,
|
|
1563
|
+
Hl as DfColor,
|
|
1564
|
+
jl as DfDateTime,
|
|
1565
|
+
Kl as DfFile,
|
|
1566
|
+
ql as DfInput,
|
|
1567
|
+
Jl as DfRtfEditor,
|
|
1568
|
+
no as DfSelect,
|
|
1569
|
+
io as DfTextArea,
|
|
1570
|
+
Ho as DynamicFormsInputs,
|
|
1526
1571
|
W as ErrorsWidget,
|
|
1527
1572
|
ge as InputBase,
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1573
|
+
uo as VuetifyComponents,
|
|
1574
|
+
K as defaultBaseProps,
|
|
1575
|
+
Ae as defaultDisplayStyle,
|
|
1576
|
+
j as useInputBase
|
|
1531
1577
|
};
|
|
1532
1578
|
//# sourceMappingURL=dynamicforms-vuetify-inputs.js.map
|