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