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