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