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