@dynamicforms/vuetify-inputs 0.7.1 → 0.7.3
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.css +1 -4
- package/dist/dynamicforms-vuetify-inputs.js +384 -444
- package/dist/dynamicforms-vuetify-inputs.js.map +1 -1
- package/dist/dynamicforms-vuetify-inputs.umd.cjs +1 -43
- package/dist/dynamicforms-vuetify-inputs.umd.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var tt = Object.defineProperty, nt = Object.defineProperties;
|
|
|
2
2
|
var ot = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ee = Object.getOwnPropertySymbols;
|
|
4
4
|
var at = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var je = (e, t, n) => t in e ? tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n,
|
|
5
|
+
var je = (e, t, n) => t in e ? tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, S = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
at.call(t, n) && je(e, n, t[n]);
|
|
8
8
|
if (Ee)
|
|
@@ -14,30 +14,30 @@ var $e = (e, t, n) => je(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
14
14
|
var ge = (e, t, n) => new Promise((a, l) => {
|
|
15
15
|
var r = (i) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
l(
|
|
17
|
+
f(n.next(i));
|
|
18
|
+
} catch (d) {
|
|
19
|
+
l(d);
|
|
20
20
|
}
|
|
21
21
|
}, s = (i) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
l(
|
|
23
|
+
f(n.throw(i));
|
|
24
|
+
} catch (d) {
|
|
25
|
+
l(d);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, f = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(r, s);
|
|
28
|
+
f((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as Ae from "vue";
|
|
31
|
-
import { defineComponent as H,
|
|
32
|
-
import { debounce as
|
|
31
|
+
import { defineComponent as H, useModel as rt, ref as F, watch as ue, onMounted as Ke, markRaw as it, onBeforeUnmount as Xe, openBlock as V, createBlock as D, resolveDynamicComponent as he, mergeModels as Ne, version as st, isRef as ae, computed as b, unref as o, resolveComponent as A, createElementBlock as W, normalizeClass as Y, Fragment as Ie, createCommentVNode as U, createTextVNode as ut, toDisplayString as _e, inject as Te, createSlots as De, withCtx as w, createVNode as B, renderSlot as se, normalizeProps as te, guardReactiveProps as ne, createElementVNode as le, renderList as ct, withModifiers as dt, mergeProps as R, mergeDefaults as Q, normalizeStyle as Ge, toRefs as Ce, withKeys as Fe, useCssVars as mt, nextTick as Me } from "vue";
|
|
32
|
+
import { debounce as ft, isString as oe, isEmpty as ve, isObjectLike as pt, isBoolean as Le, clone as vt, toNumber as Ue, isNaN as He, isArray as Oe, castArray as qe, first as Ye, unionBy as ht } from "lodash-es";
|
|
33
33
|
import { CachedIcon as be } from "vue-cached-icon";
|
|
34
34
|
import Re, { MessagesWidget as bt, MdString as gt, ValidationErrorRenderContent as wt, DisplayMode as X, Action as yt } from "@dynamicforms/vue-forms";
|
|
35
35
|
import kt from "vue-markdown-render";
|
|
36
36
|
import { useDisplay as Vt } from "vuetify";
|
|
37
|
-
import {
|
|
38
|
-
import { AccessibilityHelp as jt, Alignment as Tt, AutoImage as
|
|
39
|
-
import { VAutocomplete as
|
|
40
|
-
import { VBtn as
|
|
37
|
+
import { parse as Ct, format as me } from "date-fns";
|
|
38
|
+
import { AccessibilityHelp as jt, Alignment as Tt, AutoImage as xt, AutoLink as Bt, Autosave as It, BalloonToolbar as Dt, BlockQuote as _t, Bold as Pt, CloudServices as St, Essentials as Et, GeneralHtmlSupport as $t, Heading as At, HorizontalLine as Nt, ImageBlock as Ft, ImageCaption as Mt, ImageInline as Lt, ImageInsertViaUrl as Ut, ImageResize as Ht, ImageStyle as Ot, ImageToolbar as Rt, ImageUpload as Wt, Indent as zt, IndentBlock as Kt, Italic as Xt, Link as Gt, List as qt, Autoformat as Yt, MediaEmbed as Qt, Paragraph as Zt, PasteFromMarkdownExperimental as Jt, PasteFromOffice as en, SelectAll as tn, Style as nn, Table as on, TableCellProperties as an, TableColumnResize as ln, TableProperties as rn, TableToolbar as sn, Undo as un, TextTransformation as cn, Base64UploadAdapter as dn, ClassicEditor as mn } from "ckeditor5";
|
|
39
|
+
import { VAutocomplete as fn } from "vuetify/components/VAutocomplete";
|
|
40
|
+
import { VBtn as pn } from "vuetify/components/VBtn";
|
|
41
41
|
import { VCheckbox as vn } from "vuetify/components/VCheckbox";
|
|
42
42
|
import { VChip as hn } from "vuetify/components/VChip";
|
|
43
43
|
import { VCombobox as bn } from "vuetify/components/VCombobox";
|
|
@@ -48,60 +48,36 @@ import { VField as kn } from "vuetify/components/VField";
|
|
|
48
48
|
import { VFileInput as Vn } from "vuetify/components/VFileInput";
|
|
49
49
|
import { VCol as Cn, VRow as jn } from "vuetify/components/VGrid";
|
|
50
50
|
import { VIcon as Tn } from "vuetify/components/VIcon";
|
|
51
|
-
import { VImg as
|
|
51
|
+
import { VImg as xn } from "vuetify/components/VImg";
|
|
52
52
|
import { VInput as Bn } from "vuetify/components/VInput";
|
|
53
53
|
import { VListItem as In } from "vuetify/components/VList";
|
|
54
54
|
import { VMenu as Dn } from "vuetify/components/VMenu";
|
|
55
|
-
import { VNumberInput as
|
|
56
|
-
import { VProgressLinear as
|
|
57
|
-
import { VSelect as
|
|
55
|
+
import { VNumberInput as _n } from "vuetify/components/VNumberInput";
|
|
56
|
+
import { VProgressLinear as Pn } from "vuetify/components/VProgressLinear";
|
|
57
|
+
import { VSelect as Sn } from "vuetify/components/VSelect";
|
|
58
58
|
import { VSwitch as En } from "vuetify/components/VSwitch";
|
|
59
59
|
import { VTextarea as $n } from "vuetify/components/VTextarea";
|
|
60
60
|
import { VTextField as An } from "vuetify/components/VTextField";
|
|
61
61
|
import { VTimePicker as Nn } from "vuetify/components/VTimePicker";
|
|
62
|
-
/**
|
|
63
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
64
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
65
|
-
*/
|
|
66
|
-
/**
|
|
67
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
68
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
69
|
-
*/
|
|
70
62
|
new Array(256).fill("").map((e, t) => ("0" + t.toString(16)).slice(-2));
|
|
71
|
-
/**
|
|
72
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
73
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
74
|
-
*/
|
|
75
63
|
function Fn(e, t) {
|
|
76
64
|
const n = e.extraPlugins || [];
|
|
77
|
-
return O(
|
|
65
|
+
return O(S({}, e), {
|
|
78
66
|
extraPlugins: [
|
|
79
67
|
...n,
|
|
80
68
|
...t.filter((a) => !n.includes(a))
|
|
81
69
|
]
|
|
82
70
|
});
|
|
83
71
|
}
|
|
84
|
-
/**
|
|
85
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
86
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
87
|
-
*/
|
|
88
72
|
function Qe(e) {
|
|
89
73
|
return !!e && /^\d+\.\d+\.\d+/.test(e);
|
|
90
74
|
}
|
|
91
|
-
/**
|
|
92
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
93
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
94
|
-
*/
|
|
95
75
|
function Ze(e) {
|
|
96
76
|
return e ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((t) => e.includes(t)) : !1;
|
|
97
77
|
}
|
|
98
78
|
function Mn(e) {
|
|
99
79
|
return Qe(e) || Ze(e);
|
|
100
80
|
}
|
|
101
|
-
/**
|
|
102
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
103
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
104
|
-
*/
|
|
105
81
|
function Ln(e) {
|
|
106
82
|
if (!Qe(e))
|
|
107
83
|
throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
|
|
@@ -112,10 +88,6 @@ function Ln(e) {
|
|
|
112
88
|
patch: Number.parseInt(a, 10)
|
|
113
89
|
};
|
|
114
90
|
}
|
|
115
|
-
/**
|
|
116
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
117
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
118
|
-
*/
|
|
119
91
|
function Un(e) {
|
|
120
92
|
if (Ze(e))
|
|
121
93
|
return 3;
|
|
@@ -129,10 +101,6 @@ function Un(e) {
|
|
|
129
101
|
return 1;
|
|
130
102
|
}
|
|
131
103
|
}
|
|
132
|
-
/**
|
|
133
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
134
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
135
|
-
*/
|
|
136
104
|
function Hn() {
|
|
137
105
|
const { CKEDITOR_VERSION: e, CKEDITOR: t } = window;
|
|
138
106
|
return Mn(e) ? {
|
|
@@ -140,18 +108,10 @@ function Hn() {
|
|
|
140
108
|
version: e
|
|
141
109
|
} : null;
|
|
142
110
|
}
|
|
143
|
-
/**
|
|
144
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
145
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
146
|
-
*/
|
|
147
111
|
function On() {
|
|
148
112
|
const e = Hn();
|
|
149
113
|
return e ? Un(e.version) : null;
|
|
150
114
|
}
|
|
151
|
-
/**
|
|
152
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
153
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
154
|
-
*/
|
|
155
115
|
function Je(e, t) {
|
|
156
116
|
switch (t || (t = On() || void 0), t) {
|
|
157
117
|
case 1:
|
|
@@ -163,10 +123,6 @@ function Je(e, t) {
|
|
|
163
123
|
return !1;
|
|
164
124
|
}
|
|
165
125
|
}
|
|
166
|
-
/**
|
|
167
|
-
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
168
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
169
|
-
*/
|
|
170
126
|
function Rn(e, t) {
|
|
171
127
|
return function(a) {
|
|
172
128
|
Je(a.config.get("licenseKey")) || a.on("collectUsageData", (l, { setUsageData: r }) => {
|
|
@@ -174,10 +130,6 @@ function Rn(e, t) {
|
|
|
174
130
|
});
|
|
175
131
|
};
|
|
176
132
|
}
|
|
177
|
-
/**
|
|
178
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
179
|
-
* For licensing, see LICENSE.md.
|
|
180
|
-
*/
|
|
181
133
|
const Wn = Rn(
|
|
182
134
|
"vue",
|
|
183
135
|
{
|
|
@@ -185,10 +137,6 @@ const Wn = Rn(
|
|
|
185
137
|
frameworkVersion: st
|
|
186
138
|
}
|
|
187
139
|
);
|
|
188
|
-
/**
|
|
189
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
190
|
-
* For licensing, see LICENSE.md.
|
|
191
|
-
*/
|
|
192
140
|
function zn(e) {
|
|
193
141
|
return Je(e.licenseKey) ? e : Fn(e, [
|
|
194
142
|
/**
|
|
@@ -199,7 +147,7 @@ function zn(e) {
|
|
|
199
147
|
Wn
|
|
200
148
|
]);
|
|
201
149
|
}
|
|
202
|
-
const
|
|
150
|
+
const xe = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn = /* @__PURE__ */ H({
|
|
203
151
|
name: "CKEditor",
|
|
204
152
|
__name: "ckeditor",
|
|
205
153
|
props: /* @__PURE__ */ Ne({
|
|
@@ -214,57 +162,52 @@ const _e = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn =
|
|
|
214
162
|
}),
|
|
215
163
|
emits: /* @__PURE__ */ Ne(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
216
164
|
setup(e, { expose: t, emit: n }) {
|
|
217
|
-
const a = rt(e, "modelValue"), l = e, r = n, s = F(),
|
|
165
|
+
const a = rt(e, "modelValue"), l = e, r = n, s = F(), f = F(), i = F();
|
|
218
166
|
t({
|
|
219
|
-
instance:
|
|
167
|
+
instance: f,
|
|
220
168
|
lastEditorData: i
|
|
221
|
-
}), ue(a, (
|
|
222
|
-
|
|
223
|
-
}), ue(() => l.disabled, (
|
|
224
|
-
|
|
169
|
+
}), ue(a, (m) => {
|
|
170
|
+
f.value && m !== i.value && f.value.data.set(m);
|
|
171
|
+
}), ue(() => l.disabled, (m) => {
|
|
172
|
+
m ? f.value.enableReadOnlyMode(xe) : f.value.disableReadOnlyMode(xe);
|
|
225
173
|
});
|
|
226
|
-
function
|
|
227
|
-
const
|
|
228
|
-
if (!
|
|
174
|
+
function d() {
|
|
175
|
+
const m = window.CKEDITOR_VERSION;
|
|
176
|
+
if (!m)
|
|
229
177
|
return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
|
|
230
|
-
const [y] =
|
|
231
|
-
y >= 42 ||
|
|
178
|
+
const [y] = m.split(".").map(Number);
|
|
179
|
+
y >= 42 || m.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
|
|
232
180
|
}
|
|
233
|
-
function h(
|
|
234
|
-
const y =
|
|
181
|
+
function h(m) {
|
|
182
|
+
const y = ft((c) => {
|
|
235
183
|
if (l.disableTwoWayDataBinding)
|
|
236
184
|
return;
|
|
237
|
-
const j = i.value =
|
|
238
|
-
r("update:modelValue", j, c,
|
|
185
|
+
const j = i.value = m.data.get();
|
|
186
|
+
r("update:modelValue", j, c, m), r("input", j, c, m);
|
|
239
187
|
}, Kn, { leading: !0 });
|
|
240
|
-
|
|
241
|
-
r("focus", c,
|
|
242
|
-
}),
|
|
243
|
-
r("blur", c,
|
|
188
|
+
m.model.document.on("change:data", y), m.editing.view.document.on("focus", (c) => {
|
|
189
|
+
r("focus", c, m);
|
|
190
|
+
}), m.editing.view.document.on("blur", (c) => {
|
|
191
|
+
r("blur", c, m);
|
|
244
192
|
});
|
|
245
193
|
}
|
|
246
|
-
return
|
|
247
|
-
const
|
|
194
|
+
return d(), Ke(() => {
|
|
195
|
+
const m = zn(
|
|
248
196
|
Object.assign({}, l.config)
|
|
249
197
|
);
|
|
250
|
-
a.value && (
|
|
251
|
-
|
|
198
|
+
a.value && (m.initialData = a.value), l.editor.create(s.value, m).then((y) => {
|
|
199
|
+
f.value = it(y), h(y), a.value !== m.initialData && y.data.set(a.value), l.disabled && y.enableReadOnlyMode(xe), r("ready", y);
|
|
252
200
|
}).catch((y) => {
|
|
253
201
|
console.error(y);
|
|
254
202
|
});
|
|
255
203
|
}), Xe(() => {
|
|
256
|
-
|
|
257
|
-
}), (
|
|
204
|
+
f.value && (f.value.destroy(), f.value = void 0), r("destroy");
|
|
205
|
+
}), (m, y) => (V(), D(he(m.tagName), {
|
|
258
206
|
ref_key: "element",
|
|
259
207
|
ref: s
|
|
260
208
|
}, null, 512));
|
|
261
209
|
}
|
|
262
210
|
});
|
|
263
|
-
/**
|
|
264
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
265
|
-
* For licensing, see LICENSE.md.
|
|
266
|
-
*/
|
|
267
|
-
/* istanbul ignore if -- @preserve */
|
|
268
211
|
if (!Ae.version || !Ae.version.startsWith("3."))
|
|
269
212
|
throw new Error(
|
|
270
213
|
"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"
|
|
@@ -651,16 +594,16 @@ const Jn = {
|
|
|
651
594
|
const l = oo[e];
|
|
652
595
|
return typeof l == "function" ? l(t) : l;
|
|
653
596
|
};
|
|
654
|
-
function
|
|
597
|
+
function fe(e) {
|
|
655
598
|
return (t, n) => {
|
|
656
599
|
const a = n != null && n.context ? String(n.context) : "standalone";
|
|
657
600
|
let l;
|
|
658
601
|
if (a === "formatting" && e.formattingValues) {
|
|
659
|
-
const s = e.defaultFormattingWidth || e.defaultWidth,
|
|
660
|
-
l = e.formattingValues[
|
|
602
|
+
const s = e.defaultFormattingWidth || e.defaultWidth, f = n != null && n.width ? String(n.width) : s;
|
|
603
|
+
l = e.formattingValues[f] || e.formattingValues[s];
|
|
661
604
|
} else {
|
|
662
|
-
const s = e.defaultWidth,
|
|
663
|
-
l = e.values[
|
|
605
|
+
const s = e.defaultWidth, f = n != null && n.width ? String(n.width) : e.defaultWidth;
|
|
606
|
+
l = e.values[f] || e.values[s];
|
|
664
607
|
}
|
|
665
608
|
const r = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
666
609
|
return l[r];
|
|
@@ -779,51 +722,51 @@ const lo = {
|
|
|
779
722
|
evening: "zvečer",
|
|
780
723
|
night: "ponoči"
|
|
781
724
|
}
|
|
782
|
-
}, mo = (e, t) => Number(e) + ".",
|
|
725
|
+
}, mo = (e, t) => Number(e) + ".", fo = {
|
|
783
726
|
ordinalNumber: mo,
|
|
784
|
-
era:
|
|
727
|
+
era: fe({
|
|
785
728
|
values: lo,
|
|
786
729
|
defaultWidth: "wide"
|
|
787
730
|
}),
|
|
788
|
-
quarter:
|
|
731
|
+
quarter: fe({
|
|
789
732
|
values: ro,
|
|
790
733
|
defaultWidth: "wide",
|
|
791
734
|
argumentCallback: (e) => e - 1
|
|
792
735
|
}),
|
|
793
|
-
month:
|
|
736
|
+
month: fe({
|
|
794
737
|
values: io,
|
|
795
738
|
defaultWidth: "wide"
|
|
796
739
|
}),
|
|
797
|
-
day:
|
|
740
|
+
day: fe({
|
|
798
741
|
values: so,
|
|
799
742
|
defaultWidth: "wide"
|
|
800
743
|
}),
|
|
801
|
-
dayPeriod:
|
|
744
|
+
dayPeriod: fe({
|
|
802
745
|
values: uo,
|
|
803
746
|
defaultWidth: "wide",
|
|
804
747
|
formattingValues: co,
|
|
805
748
|
defaultFormattingWidth: "wide"
|
|
806
749
|
})
|
|
807
750
|
};
|
|
808
|
-
function
|
|
751
|
+
function pe(e) {
|
|
809
752
|
return (t, n = {}) => {
|
|
810
753
|
const a = n.width, l = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], r = t.match(l);
|
|
811
754
|
if (!r)
|
|
812
755
|
return null;
|
|
813
|
-
const s = r[0],
|
|
756
|
+
const s = r[0], f = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], i = Array.isArray(f) ? vo(f, (m) => m.test(s)) : (
|
|
814
757
|
// [TODO] -- I challenge you to fix the type
|
|
815
|
-
|
|
758
|
+
po(f, (m) => m.test(s))
|
|
816
759
|
);
|
|
817
|
-
let
|
|
818
|
-
|
|
760
|
+
let d;
|
|
761
|
+
d = e.valueCallback ? e.valueCallback(i) : i, d = n.valueCallback ? (
|
|
819
762
|
// [TODO] -- I challenge you to fix the type
|
|
820
|
-
n.valueCallback(
|
|
821
|
-
) :
|
|
763
|
+
n.valueCallback(d)
|
|
764
|
+
) : d;
|
|
822
765
|
const h = t.slice(s.length);
|
|
823
|
-
return { value:
|
|
766
|
+
return { value: d, rest: h };
|
|
824
767
|
};
|
|
825
768
|
}
|
|
826
|
-
function
|
|
769
|
+
function po(e, t) {
|
|
827
770
|
for (const n in e)
|
|
828
771
|
if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
|
|
829
772
|
return n;
|
|
@@ -841,8 +784,8 @@ function ho(e) {
|
|
|
841
784
|
if (!r) return null;
|
|
842
785
|
let s = e.valueCallback ? e.valueCallback(r[0]) : r[0];
|
|
843
786
|
s = n.valueCallback ? n.valueCallback(s) : s;
|
|
844
|
-
const
|
|
845
|
-
return { value: s, rest:
|
|
787
|
+
const f = t.slice(l.length);
|
|
788
|
+
return { value: s, rest: f };
|
|
846
789
|
};
|
|
847
790
|
}
|
|
848
791
|
const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
@@ -908,7 +851,7 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
908
851
|
short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
|
|
909
852
|
abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
|
|
910
853
|
wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i
|
|
911
|
-
},
|
|
854
|
+
}, xo = {
|
|
912
855
|
narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],
|
|
913
856
|
any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]
|
|
914
857
|
}, Bo = {
|
|
@@ -941,50 +884,50 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
941
884
|
parsePattern: go,
|
|
942
885
|
valueCallback: (e) => parseInt(e, 10)
|
|
943
886
|
}),
|
|
944
|
-
era:
|
|
887
|
+
era: pe({
|
|
945
888
|
matchPatterns: wo,
|
|
946
889
|
defaultMatchWidth: "wide",
|
|
947
890
|
parsePatterns: yo,
|
|
948
891
|
defaultParseWidth: "any"
|
|
949
892
|
}),
|
|
950
|
-
quarter:
|
|
893
|
+
quarter: pe({
|
|
951
894
|
matchPatterns: ko,
|
|
952
895
|
defaultMatchWidth: "wide",
|
|
953
896
|
parsePatterns: Vo,
|
|
954
897
|
defaultParseWidth: "any",
|
|
955
898
|
valueCallback: (e) => e + 1
|
|
956
899
|
}),
|
|
957
|
-
month:
|
|
900
|
+
month: pe({
|
|
958
901
|
matchPatterns: Co,
|
|
959
902
|
defaultMatchWidth: "wide",
|
|
960
903
|
parsePatterns: jo,
|
|
961
904
|
defaultParseWidth: "wide"
|
|
962
905
|
}),
|
|
963
|
-
day:
|
|
906
|
+
day: pe({
|
|
964
907
|
matchPatterns: To,
|
|
965
908
|
defaultMatchWidth: "wide",
|
|
966
|
-
parsePatterns:
|
|
909
|
+
parsePatterns: xo,
|
|
967
910
|
defaultParseWidth: "any"
|
|
968
911
|
}),
|
|
969
|
-
dayPeriod:
|
|
912
|
+
dayPeriod: pe({
|
|
970
913
|
matchPatterns: Bo,
|
|
971
914
|
defaultMatchWidth: "any",
|
|
972
915
|
parsePatterns: Io,
|
|
973
916
|
defaultParseWidth: "any"
|
|
974
917
|
})
|
|
975
|
-
},
|
|
918
|
+
}, _o = {
|
|
976
919
|
code: "sl",
|
|
977
920
|
formatDistance: Zn,
|
|
978
921
|
formatLong: no,
|
|
979
922
|
formatRelative: ao,
|
|
980
|
-
localize:
|
|
923
|
+
localize: fo,
|
|
981
924
|
match: Do,
|
|
982
925
|
options: {
|
|
983
926
|
weekStartsOn: 1,
|
|
984
927
|
firstWeekContainsDate: 1
|
|
985
928
|
}
|
|
986
|
-
},
|
|
987
|
-
dateTimeLocale: F(
|
|
929
|
+
}, Po = {
|
|
930
|
+
dateTimeLocale: F(_o),
|
|
988
931
|
setDateTimeLocale(e) {
|
|
989
932
|
ae(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
|
|
990
933
|
}
|
|
@@ -1013,22 +956,22 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
1013
956
|
setup(e) {
|
|
1014
957
|
const t = e, n = b(() => t.data ? t.data.label : t.label.text);
|
|
1015
958
|
return (a, l) => {
|
|
1016
|
-
const r =
|
|
959
|
+
const r = A("v-img");
|
|
1017
960
|
return V(), W("div", {
|
|
1018
|
-
class: Y(["df-label", { "allow-wrap":
|
|
961
|
+
class: Y(["df-label", { "allow-wrap": e.allowWrap }])
|
|
1019
962
|
}, [
|
|
1020
|
-
|
|
1021
|
-
|
|
963
|
+
e.label.icon ? (V(), W(Ie, { key: 0 }, [
|
|
964
|
+
e.label.iconComponent === "v-icon" ? (V(), D(o(be), {
|
|
1022
965
|
key: 0,
|
|
1023
|
-
name:
|
|
966
|
+
name: e.label.icon,
|
|
1024
967
|
size: "1.25em"
|
|
1025
|
-
}, null, 8, ["name"])) :
|
|
968
|
+
}, null, 8, ["name"])) : e.label.iconComponent === "v-img" ? (V(), D(r, {
|
|
1026
969
|
key: 1,
|
|
1027
970
|
class: "icon",
|
|
1028
|
-
src:
|
|
1029
|
-
}, null, 8, ["src"])) : (V(), D(he(
|
|
971
|
+
src: e.label.icon
|
|
972
|
+
}, null, 8, ["src"])) : (V(), D(he(e.label.iconComponent), {
|
|
1030
973
|
key: 2,
|
|
1031
|
-
src:
|
|
974
|
+
src: e.label.icon
|
|
1032
975
|
}, null, 8, ["src"]))
|
|
1033
976
|
], 64)) : U("", !0),
|
|
1034
977
|
n.value instanceof o(gt) ? (V(), D(o(kt), {
|
|
@@ -1038,13 +981,13 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
1038
981
|
options: n.value.options,
|
|
1039
982
|
plugins: n.value.plugins
|
|
1040
983
|
}, null, 8, ["source", "options", "plugins"])) : (V(), W(Ie, { key: 2 }, [
|
|
1041
|
-
ut(
|
|
984
|
+
ut(_e(n.value), 1)
|
|
1042
985
|
], 64))
|
|
1043
986
|
], 2);
|
|
1044
987
|
};
|
|
1045
988
|
}
|
|
1046
|
-
}), et = Symbol("vuetifyInputsSettingsKey");
|
|
1047
|
-
class
|
|
989
|
+
}), et = /* @__PURE__ */ Symbol("vuetifyInputsSettingsKey");
|
|
990
|
+
class So {
|
|
1048
991
|
constructor(t, n, a = "v-icon") {
|
|
1049
992
|
this.text = t, this.icon = n, this.iconComponent = a;
|
|
1050
993
|
}
|
|
@@ -1068,46 +1011,46 @@ function G(e, t) {
|
|
|
1068
1011
|
set(v) {
|
|
1069
1012
|
e.control.touched = v;
|
|
1070
1013
|
}
|
|
1071
|
-
}), s = e.control ? r : F(!1),
|
|
1014
|
+
}), s = e.control ? r : F(!1), f = b(() => e.control ? e.control.valid : !0), i = b(
|
|
1072
1015
|
() => e.control ? e.control.errors : (e.errors || []).map((v) => new wt(v))
|
|
1073
|
-
),
|
|
1016
|
+
), d = b(() => s.value && i.value.length > 0 ? " " : void 0), h = b(() => s.value ? i.value : void 0), m = b(() => e.control ? e.control.enabled : e.enabled !== !1), y = b(
|
|
1074
1017
|
() => e.control ? e.control.visibility : e.visibility || Re.DisplayMode.FULL
|
|
1075
1018
|
), c = b(
|
|
1076
|
-
() => oe(e.label || "") ? new
|
|
1077
|
-
), j = b(() => e.placeholder || ""), T = b(() => e.helpText || ""), k = b(() => e.hint || ""), g = b(() => e.cssClass || ""),
|
|
1019
|
+
() => oe(e.label || "") ? new So(e.label || "") : e.label
|
|
1020
|
+
), j = b(() => e.placeholder || ""), T = b(() => e.helpText || ""), k = b(() => e.hint || ""), g = b(() => e.cssClass || ""), _ = b(
|
|
1078
1021
|
() => {
|
|
1079
|
-
var v, L,
|
|
1080
|
-
return (
|
|
1022
|
+
var v, L, p;
|
|
1023
|
+
return (p = (L = (v = e.density) != null ? v : Te("field-density", null)) != null ? L : n.defaultDensity) != null ? p : "default";
|
|
1081
1024
|
}
|
|
1082
|
-
), M = b(() =>
|
|
1025
|
+
), M = b(() => _.value === "inline" ? "default" : _.value), N = b(
|
|
1083
1026
|
() => {
|
|
1084
|
-
var v, L,
|
|
1085
|
-
return (
|
|
1027
|
+
var v, L, p;
|
|
1028
|
+
return (p = (L = (v = e.variant) != null ? v : Te("field-variant", null)) != null ? L : n.defaultVariant) != null ? p : "underlined";
|
|
1086
1029
|
}
|
|
1087
1030
|
);
|
|
1088
1031
|
return {
|
|
1089
1032
|
value: l,
|
|
1090
|
-
valid:
|
|
1091
|
-
enabled:
|
|
1033
|
+
valid: f,
|
|
1034
|
+
enabled: m,
|
|
1092
1035
|
errors: i,
|
|
1093
1036
|
showErrors: h,
|
|
1094
1037
|
visibility: y,
|
|
1095
1038
|
label: c,
|
|
1096
1039
|
touched: s,
|
|
1097
|
-
density:
|
|
1098
|
-
densityClass: b(() => `df-density-${
|
|
1040
|
+
density: _.value,
|
|
1041
|
+
densityClass: b(() => `df-density-${_.value}`),
|
|
1099
1042
|
vuetifyBindings: b(() => {
|
|
1100
1043
|
var v;
|
|
1101
|
-
return
|
|
1044
|
+
return S({
|
|
1102
1045
|
name: (v = e.control) == null ? void 0 : v.fieldName,
|
|
1103
1046
|
class: g.value,
|
|
1104
1047
|
density: M.value,
|
|
1105
|
-
variant:
|
|
1048
|
+
variant: N.value,
|
|
1106
1049
|
label: c.value.text,
|
|
1107
|
-
errorMessages:
|
|
1050
|
+
errorMessages: d.value,
|
|
1108
1051
|
// 'error-count': errors?.value.length || 0,
|
|
1109
|
-
readonly: !
|
|
1110
|
-
disabled: !
|
|
1052
|
+
readonly: !m.value,
|
|
1053
|
+
disabled: !m.value,
|
|
1111
1054
|
placeholder: j.value,
|
|
1112
1055
|
"persistent-placeholder": !ve(j.value),
|
|
1113
1056
|
hint: k.value,
|
|
@@ -1120,7 +1063,7 @@ function G(e, t) {
|
|
|
1120
1063
|
})
|
|
1121
1064
|
};
|
|
1122
1065
|
}
|
|
1123
|
-
const Eo = { class: "d-flex w-100 df-style-resetting" },
|
|
1066
|
+
const Eo = { class: "d-flex w-100 df-style-resetting" }, Pe = /* @__PURE__ */ H({
|
|
1124
1067
|
__name: "input-base",
|
|
1125
1068
|
props: {
|
|
1126
1069
|
control: {},
|
|
@@ -1141,22 +1084,22 @@ const Eo = { class: "d-flex w-100 df-style-resetting" }, Se = /* @__PURE__ */ H(
|
|
|
1141
1084
|
},
|
|
1142
1085
|
emits: ["update:modelValue", "click:clear", "blur"],
|
|
1143
1086
|
setup(e, { emit: t }) {
|
|
1144
|
-
const n = e, a = t, { label: l, showErrors: r, touched: s, value:
|
|
1087
|
+
const n = e, a = t, { label: l, showErrors: r, touched: s, value: f, visibility: i, vuetifyBindings: d } = G(n, a), h = b(() => !!(o(n.clearable) && o(f))), m = F(!1);
|
|
1145
1088
|
function y(c) {
|
|
1146
|
-
|
|
1089
|
+
m.value = c, c || (s.value = !0, a("blur"));
|
|
1147
1090
|
}
|
|
1148
1091
|
return (c, j) => {
|
|
1149
|
-
const T =
|
|
1092
|
+
const T = A("v-field"), k = A("v-input");
|
|
1150
1093
|
return o(i) !== o(X).SUPPRESS ? (V(), D(k, {
|
|
1151
1094
|
key: 0,
|
|
1152
|
-
name: o(
|
|
1153
|
-
density: o(
|
|
1154
|
-
hint: o(
|
|
1155
|
-
"persistent-hint": o(
|
|
1156
|
-
"hide-details": o(
|
|
1157
|
-
"error-messages": o(
|
|
1095
|
+
name: o(d).name,
|
|
1096
|
+
density: o(d).density,
|
|
1097
|
+
hint: o(d).hint,
|
|
1098
|
+
"persistent-hint": o(d).persistentHint,
|
|
1099
|
+
"hide-details": o(d).hideDetails,
|
|
1100
|
+
"error-messages": o(d).errorMessages,
|
|
1158
1101
|
class: Y([
|
|
1159
|
-
|
|
1102
|
+
e.cssClass,
|
|
1160
1103
|
{
|
|
1161
1104
|
"d-none": o(i) === o(X).HIDDEN,
|
|
1162
1105
|
invisible: o(i) === o(X).INVISIBLE
|
|
@@ -1171,15 +1114,15 @@ const Eo = { class: "d-flex w-100 df-style-resetting" }, Se = /* @__PURE__ */ H(
|
|
|
1171
1114
|
]),
|
|
1172
1115
|
default: w(() => [
|
|
1173
1116
|
B(T, {
|
|
1174
|
-
variant: o(
|
|
1175
|
-
density: o(
|
|
1176
|
-
label: o(
|
|
1177
|
-
disabled: o(
|
|
1117
|
+
variant: o(d).variant,
|
|
1118
|
+
density: o(d).density,
|
|
1119
|
+
label: o(d).label,
|
|
1120
|
+
disabled: o(d).disabled,
|
|
1178
1121
|
clearable: h.value,
|
|
1179
1122
|
"persistent-clear": !0,
|
|
1180
|
-
dirty: !!o(
|
|
1181
|
-
active:
|
|
1182
|
-
loading:
|
|
1123
|
+
dirty: !!o(f),
|
|
1124
|
+
active: m.value,
|
|
1125
|
+
loading: e.loading,
|
|
1183
1126
|
"onClick:clear": j[0] || (j[0] = (g) => a("click:clear")),
|
|
1184
1127
|
"onUpdate:focused": j[1] || (j[1] = (g) => y(g))
|
|
1185
1128
|
}, De({
|
|
@@ -1220,7 +1163,7 @@ const Eo = { class: "d-flex w-100 df-style-resetting" }, Se = /* @__PURE__ */ H(
|
|
|
1220
1163
|
]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : U("", !0);
|
|
1221
1164
|
};
|
|
1222
1165
|
}
|
|
1223
|
-
}),
|
|
1166
|
+
}), E = {
|
|
1224
1167
|
Yes: "Yes",
|
|
1225
1168
|
No: "No",
|
|
1226
1169
|
Close: "Close",
|
|
@@ -1243,9 +1186,9 @@ const Eo = { class: "d-flex w-100 df-style-resetting" }, Se = /* @__PURE__ */ H(
|
|
|
1243
1186
|
CodeBright: "Code (bright)"
|
|
1244
1187
|
};
|
|
1245
1188
|
function Aa(e) {
|
|
1246
|
-
Object.keys(
|
|
1189
|
+
Object.keys(E).forEach((t) => {
|
|
1247
1190
|
const n = e(t);
|
|
1248
|
-
n != null && (
|
|
1191
|
+
n != null && (E[t] = n);
|
|
1249
1192
|
});
|
|
1250
1193
|
}
|
|
1251
1194
|
function Na(e, t) {
|
|
@@ -1303,7 +1246,7 @@ function No() {
|
|
|
1303
1246
|
}
|
|
1304
1247
|
class Fo extends $o {
|
|
1305
1248
|
cleanBreakpoint(t, n = !1) {
|
|
1306
|
-
if ((!t || !
|
|
1249
|
+
if ((!t || !pt(t)) && !n) return null;
|
|
1307
1250
|
const a = {};
|
|
1308
1251
|
return n && (a.renderAs = z.BUTTON, a.showLabel = !0, a.showIcon = !0), t && (t.renderAs != null && (a.renderAs = z.fromAny(t.renderAs)), oe(t.label) && (a.label = t.label), oe(t.icon) && (a.icon = t.icon), Le(t.showLabel) && (a.showLabel = t.showLabel), Le(t.showIcon) && (a.showIcon = t.showIcon)), Object.keys(a).length ? a : null;
|
|
1309
1252
|
}
|
|
@@ -1345,48 +1288,48 @@ class ye extends yt {
|
|
|
1345
1288
|
}
|
|
1346
1289
|
static closeAction(t) {
|
|
1347
1290
|
var a;
|
|
1348
|
-
const n = O(
|
|
1291
|
+
const n = O(S({}, t != null ? t : {}), {
|
|
1349
1292
|
// any properties in data should overwrite properties in the constant
|
|
1350
1293
|
value: {
|
|
1351
1294
|
name: "close",
|
|
1352
|
-
label:
|
|
1295
|
+
label: E.Close,
|
|
1353
1296
|
icon: "ion-close-outline",
|
|
1354
1297
|
renderAs: z.BUTTON,
|
|
1355
1298
|
showLabel: !0,
|
|
1356
1299
|
showIcon: !0
|
|
1357
1300
|
}
|
|
1358
1301
|
});
|
|
1359
|
-
return n.value =
|
|
1302
|
+
return n.value = S(S({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
|
|
1360
1303
|
}
|
|
1361
1304
|
static yesAction(t) {
|
|
1362
1305
|
var a;
|
|
1363
|
-
const n = O(
|
|
1306
|
+
const n = O(S({}, t != null ? t : {}), {
|
|
1364
1307
|
// any properties in data should overwrite properties in the constant
|
|
1365
1308
|
value: {
|
|
1366
1309
|
name: "yes",
|
|
1367
|
-
label:
|
|
1310
|
+
label: E.Yes,
|
|
1368
1311
|
icon: "ion-thumbs-up-outline",
|
|
1369
1312
|
renderAs: z.BUTTON,
|
|
1370
1313
|
showLabel: !0,
|
|
1371
1314
|
showIcon: !0
|
|
1372
1315
|
}
|
|
1373
1316
|
});
|
|
1374
|
-
return n.value =
|
|
1317
|
+
return n.value = S(S({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
|
|
1375
1318
|
}
|
|
1376
1319
|
static noAction(t) {
|
|
1377
1320
|
var a;
|
|
1378
|
-
const n = O(
|
|
1321
|
+
const n = O(S({}, t != null ? t : {}), {
|
|
1379
1322
|
// any properties in data should overwrite properties in the constant
|
|
1380
1323
|
value: {
|
|
1381
1324
|
name: "no",
|
|
1382
|
-
label:
|
|
1325
|
+
label: E.No,
|
|
1383
1326
|
icon: "ion-thumbs-down-outline",
|
|
1384
1327
|
renderAs: z.BUTTON,
|
|
1385
1328
|
showLabel: !0,
|
|
1386
1329
|
showIcon: !0
|
|
1387
1330
|
}
|
|
1388
1331
|
});
|
|
1389
|
-
return n.value =
|
|
1332
|
+
return n.value = S(S({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
|
|
1390
1333
|
}
|
|
1391
1334
|
}
|
|
1392
1335
|
const Mo = {
|
|
@@ -1401,24 +1344,24 @@ const Mo = {
|
|
|
1401
1344
|
},
|
|
1402
1345
|
setup(e) {
|
|
1403
1346
|
const t = e, n = No(), a = b(() => o(t.actions)), l = b(
|
|
1404
|
-
() => a.value.map((r) =>
|
|
1347
|
+
() => a.value.map((r) => S({
|
|
1405
1348
|
action: r
|
|
1406
1349
|
}, o(r.getBreakpointValue(n))))
|
|
1407
1350
|
);
|
|
1408
1351
|
return (r, s) => {
|
|
1409
|
-
const
|
|
1352
|
+
const f = A("v-btn");
|
|
1410
1353
|
return a.value.length > 0 ? (V(), W("div", {
|
|
1411
1354
|
key: 0,
|
|
1412
1355
|
class: Y(["text-end df-actions", {
|
|
1413
|
-
"button-group":
|
|
1414
|
-
"with-border":
|
|
1356
|
+
"button-group": e.showAsGroup === "grouped" || e.showAsGroup === "grouped-no-borders",
|
|
1357
|
+
"with-border": e.showAsGroup === "grouped"
|
|
1415
1358
|
}])
|
|
1416
1359
|
}, [
|
|
1417
|
-
(V(!0), W(Ie, null, ct(l.value, (i,
|
|
1418
|
-
key:
|
|
1360
|
+
(V(!0), W(Ie, null, ct(l.value, (i, d) => (V(), D(f, {
|
|
1361
|
+
key: d,
|
|
1419
1362
|
variant: i.renderAs === o(z).BUTTON ? "tonal" : "text",
|
|
1420
1363
|
elevation: 0,
|
|
1421
|
-
size:
|
|
1364
|
+
size: e.buttonSize,
|
|
1422
1365
|
onClick: dt((h) => i.action.execute(h), ["stop"])
|
|
1423
1366
|
}, {
|
|
1424
1367
|
default: w(() => [
|
|
@@ -1427,7 +1370,7 @@ const Mo = {
|
|
|
1427
1370
|
name: i.icon
|
|
1428
1371
|
}, null, 8, ["name"])) : U("", !0),
|
|
1429
1372
|
i.icon && i.label ? (V(), W("span", Mo)) : U("", !0),
|
|
1430
|
-
i.label ? (V(), W("span", Lo,
|
|
1373
|
+
i.label ? (V(), W("span", Lo, _e(i.label), 1)) : U("", !0)
|
|
1431
1374
|
]),
|
|
1432
1375
|
_: 2
|
|
1433
1376
|
}, 1032, ["variant", "size", "onClick"]))), 128))
|
|
@@ -1452,10 +1395,10 @@ const Mo = {
|
|
|
1452
1395
|
passthroughAttrs: {},
|
|
1453
1396
|
density: {},
|
|
1454
1397
|
variant: {}
|
|
1455
|
-
}, O(
|
|
1398
|
+
}, O(S({}, Z), { allowNull: !1 })),
|
|
1456
1399
|
emits: ["update:modelValue", "click:clear"],
|
|
1457
1400
|
setup(e, { emit: t }) {
|
|
1458
|
-
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched:
|
|
1401
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: d } = G(n, a), h = b(() => n.allowNull && i.value == null), m = b({
|
|
1459
1402
|
get() {
|
|
1460
1403
|
return i.value;
|
|
1461
1404
|
},
|
|
@@ -1467,18 +1410,18 @@ const Mo = {
|
|
|
1467
1410
|
c === !0 ? i.value = n.allowNull ? null : !1 : i.value = c === !1;
|
|
1468
1411
|
}
|
|
1469
1412
|
return (c, j) => {
|
|
1470
|
-
const T =
|
|
1413
|
+
const T = A("v-checkbox");
|
|
1471
1414
|
return V(), D(T, R({
|
|
1472
|
-
modelValue:
|
|
1473
|
-
"onUpdate:modelValue": j[0] || (j[0] = (k) =>
|
|
1474
|
-
}, o(p), {
|
|
1415
|
+
modelValue: m.value,
|
|
1416
|
+
"onUpdate:modelValue": j[0] || (j[0] = (k) => m.value = k),
|
|
1475
1417
|
density: "compact",
|
|
1476
1418
|
class: o(l),
|
|
1477
1419
|
indeterminate: h.value,
|
|
1478
1420
|
"false-value": !1,
|
|
1479
|
-
"true-value": !0
|
|
1421
|
+
"true-value": !0
|
|
1422
|
+
}, o(d), {
|
|
1480
1423
|
onChange: y,
|
|
1481
|
-
onBlur: j[1] || (j[1] = (k) =>
|
|
1424
|
+
onBlur: j[1] || (j[1] = (k) => f.value = !0)
|
|
1482
1425
|
}), {
|
|
1483
1426
|
label: w((k) => [
|
|
1484
1427
|
B(o(re), {
|
|
@@ -1515,23 +1458,23 @@ const Mo = {
|
|
|
1515
1458
|
passthroughAttrs: {},
|
|
1516
1459
|
density: {},
|
|
1517
1460
|
variant: {}
|
|
1518
|
-
}, O(
|
|
1461
|
+
}, O(S({}, Z), { allowNull: !1 })),
|
|
1519
1462
|
emits: ["update:modelValue", "click:clear"],
|
|
1520
1463
|
setup(e, { emit: t }) {
|
|
1521
|
-
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched:
|
|
1464
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: d } = G(n, a), h = F(!1), m = b(() => [
|
|
1522
1465
|
(y) => n.control || !y && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(y) ? !0 : "Not a valid hex string."
|
|
1523
1466
|
]);
|
|
1524
1467
|
return (y, c) => {
|
|
1525
|
-
const j =
|
|
1468
|
+
const j = A("v-color-picker"), T = A("v-menu"), k = A("v-text-field");
|
|
1526
1469
|
return V(), D(k, R({
|
|
1527
1470
|
modelValue: o(i),
|
|
1528
|
-
"onUpdate:modelValue": c[2] || (c[2] = (g) => ae(i) ? i.value = g : null)
|
|
1529
|
-
}, o(p), {
|
|
1471
|
+
"onUpdate:modelValue": c[2] || (c[2] = (g) => ae(i) ? i.value = g : null),
|
|
1530
1472
|
class: o(l),
|
|
1531
|
-
clearable:
|
|
1473
|
+
clearable: e.allowNull,
|
|
1532
1474
|
type: "text",
|
|
1533
|
-
rules:
|
|
1534
|
-
|
|
1475
|
+
rules: m.value
|
|
1476
|
+
}, o(d), {
|
|
1477
|
+
onBlur: c[3] || (c[3] = (g) => f.value = !0)
|
|
1535
1478
|
}), {
|
|
1536
1479
|
label: w((g) => [
|
|
1537
1480
|
B(o(re), {
|
|
@@ -1592,7 +1535,7 @@ const Mo = {
|
|
|
1592
1535
|
passthroughAttrs: {},
|
|
1593
1536
|
density: {},
|
|
1594
1537
|
variant: {}
|
|
1595
|
-
}, O(
|
|
1538
|
+
}, O(S({}, Z), {
|
|
1596
1539
|
inputType: "datetime",
|
|
1597
1540
|
displayFormatDate: "P",
|
|
1598
1541
|
displayFormatTime: "p"
|
|
@@ -1600,98 +1543,98 @@ const Mo = {
|
|
|
1600
1543
|
emits: ["update:modelValue", "click:clear"],
|
|
1601
1544
|
setup(e, { emit: t }) {
|
|
1602
1545
|
const n = e, a = t, l = b(() => {
|
|
1603
|
-
var
|
|
1604
|
-
return (
|
|
1546
|
+
var p;
|
|
1547
|
+
return (p = n.locale) != null ? p : o(Po.dateTimeLocale);
|
|
1605
1548
|
}), r = b(() => {
|
|
1606
|
-
var
|
|
1607
|
-
return (u = (
|
|
1608
|
-
}), { densityClass: s, touched:
|
|
1549
|
+
var p, u;
|
|
1550
|
+
return (u = (p = l.value.options) == null ? void 0 : p.weekStartsOn) != null ? u : 1;
|
|
1551
|
+
}), { densityClass: s, touched: f, value: i, vuetifyBindings: d } = G(n, a), { inputType: h, displayFormatDate: m, displayFormatTime: y } = Ce(n), c = F(""), j = b({
|
|
1609
1552
|
get() {
|
|
1610
1553
|
return o(c) === "date";
|
|
1611
1554
|
},
|
|
1612
|
-
set(
|
|
1613
|
-
c.value =
|
|
1555
|
+
set(p) {
|
|
1556
|
+
c.value = p ? "date" : "";
|
|
1614
1557
|
}
|
|
1615
1558
|
}), T = b({
|
|
1616
1559
|
get() {
|
|
1617
1560
|
return o(c) === "time";
|
|
1618
1561
|
},
|
|
1619
|
-
set(
|
|
1620
|
-
c.value =
|
|
1562
|
+
set(p) {
|
|
1563
|
+
c.value = p ? "time" : "";
|
|
1621
1564
|
}
|
|
1622
|
-
}), k = (
|
|
1623
|
-
function
|
|
1624
|
-
if (
|
|
1565
|
+
}), k = (p) => `${me(p, "yyyy-MM-dd")}T${me(p, "HH:mm")}:00`, g = F(null);
|
|
1566
|
+
function _(p, u) {
|
|
1567
|
+
if (p == null)
|
|
1625
1568
|
g.value = null;
|
|
1626
1569
|
else if (u === -1)
|
|
1627
1570
|
if (o(h) === "time")
|
|
1628
|
-
g.value = k(/* @__PURE__ */ new Date()),
|
|
1571
|
+
g.value = k(/* @__PURE__ */ new Date()), _(`T${p}`, 1);
|
|
1629
1572
|
else {
|
|
1630
|
-
const
|
|
1631
|
-
|
|
1573
|
+
const $ = k(new Date(p));
|
|
1574
|
+
_($, 0), _($, 1);
|
|
1632
1575
|
}
|
|
1633
1576
|
else {
|
|
1634
1577
|
g.value == null && (g.value = k(/* @__PURE__ */ new Date()));
|
|
1635
|
-
const
|
|
1636
|
-
|
|
1578
|
+
const $ = g.value.split(/[TZ]/g), K = p.split(/[TZ]/g);
|
|
1579
|
+
$[u] = K[u], g.value = k(/* @__PURE__ */ new Date(`${$[0]}T${$[1].split(".")[0]}`)), o(h) === "date" ? i.value = $[0] : o(h) === "time" ? i.value = $[1] : i.value = o(g) + me(/* @__PURE__ */ new Date(), "XXX");
|
|
1637
1580
|
}
|
|
1638
1581
|
}
|
|
1639
|
-
ue(i, (
|
|
1582
|
+
ue(i, (p) => _(p, -1), { immediate: !0 });
|
|
1640
1583
|
const M = b({
|
|
1641
1584
|
get() {
|
|
1642
|
-
const
|
|
1643
|
-
if (
|
|
1644
|
-
const u = new Date(
|
|
1585
|
+
const p = o(g);
|
|
1586
|
+
if (p == null) return null;
|
|
1587
|
+
const u = new Date(p);
|
|
1645
1588
|
return Number.isNaN(u.getTime()) ? null : u;
|
|
1646
1589
|
},
|
|
1647
|
-
set(
|
|
1648
|
-
|
|
1590
|
+
set(p) {
|
|
1591
|
+
_(k(p), 0);
|
|
1649
1592
|
}
|
|
1650
|
-
}),
|
|
1593
|
+
}), N = b({
|
|
1651
1594
|
get() {
|
|
1652
|
-
const
|
|
1653
|
-
return
|
|
1595
|
+
const p = o(g);
|
|
1596
|
+
return p == null ? "" : p.split(/[TZ]/g)[1].split(".")[0];
|
|
1654
1597
|
},
|
|
1655
|
-
set(
|
|
1656
|
-
|
|
1598
|
+
set(p) {
|
|
1599
|
+
_(`T${p}`, 1);
|
|
1657
1600
|
}
|
|
1658
1601
|
}), v = b({
|
|
1659
1602
|
get() {
|
|
1660
|
-
const
|
|
1661
|
-
return
|
|
1603
|
+
const p = o(M);
|
|
1604
|
+
return p == null ? "" : me(p, o(m), { locale: l.value });
|
|
1662
1605
|
},
|
|
1663
|
-
set(
|
|
1606
|
+
set(p) {
|
|
1664
1607
|
try {
|
|
1665
|
-
const u = Ct(
|
|
1666
|
-
|
|
1608
|
+
const u = Ct(p, o(m), /* @__PURE__ */ new Date(), { locale: l.value });
|
|
1609
|
+
_(k(u), 0);
|
|
1667
1610
|
} catch (u) {
|
|
1668
1611
|
console.error(u);
|
|
1669
1612
|
}
|
|
1670
1613
|
}
|
|
1671
1614
|
}), L = b({
|
|
1672
1615
|
get() {
|
|
1673
|
-
const
|
|
1674
|
-
return
|
|
1616
|
+
const p = o(M);
|
|
1617
|
+
return p == null ? "" : me(p, o(y), { locale: l.value });
|
|
1675
1618
|
},
|
|
1676
|
-
set(
|
|
1677
|
-
const u =
|
|
1619
|
+
set(p) {
|
|
1620
|
+
const u = p.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
1678
1621
|
if (u == null) return;
|
|
1679
|
-
let
|
|
1622
|
+
let $ = Ue(u[1]);
|
|
1680
1623
|
const K = Ue(u[2]);
|
|
1681
|
-
He(
|
|
1624
|
+
He($) || He(K) || (u[3] && u[3].toLowerCase() === "pm" && $ < 13 && ($ += 12), _(`T${$.toString().padStart(2, "0")}:${K.toString().padStart(2, "0")}:00`, 1));
|
|
1682
1625
|
}
|
|
1683
1626
|
});
|
|
1684
|
-
return (
|
|
1685
|
-
const
|
|
1686
|
-
return V(), D(o(
|
|
1627
|
+
return (p, u) => {
|
|
1628
|
+
const $ = A("v-date-picker"), K = A("v-confirm-edit"), ce = A("v-menu"), de = A("v-text-field"), x = A("v-time-picker");
|
|
1629
|
+
return V(), D(o(Pe), R(n, {
|
|
1687
1630
|
class: o(s),
|
|
1688
|
-
clearable:
|
|
1631
|
+
clearable: e.clearable,
|
|
1689
1632
|
"onClick:clear": u[14] || (u[14] = (I) => i.value = null),
|
|
1690
|
-
onBlur: u[15] || (u[15] = (I) =>
|
|
1633
|
+
onBlur: u[15] || (u[15] = (I) => f.value = !0)
|
|
1691
1634
|
}), {
|
|
1692
1635
|
default: w((I) => [
|
|
1693
1636
|
le("div", {
|
|
1694
|
-
class: Y(["d-flex w-100 ml-4 df-input-wrapper",
|
|
1637
|
+
class: Y(["d-flex w-100 ml-4 df-input-wrapper", e.density])
|
|
1695
1638
|
}, [
|
|
1696
1639
|
["date", "datetime"].includes(o(h)) ? (V(), D(de, R({
|
|
1697
1640
|
key: 0,
|
|
@@ -1702,10 +1645,10 @@ const Mo = {
|
|
|
1702
1645
|
variant: "plain",
|
|
1703
1646
|
clearable: !1,
|
|
1704
1647
|
"hide-details": !0,
|
|
1705
|
-
readonly: o(
|
|
1706
|
-
disabled: o(
|
|
1707
|
-
name: `${o(
|
|
1708
|
-
},
|
|
1648
|
+
readonly: o(d).readonly,
|
|
1649
|
+
disabled: o(d).disabled,
|
|
1650
|
+
name: `${o(d).name}-date`
|
|
1651
|
+
}, e.passthroughAttrs, {
|
|
1709
1652
|
onClick: u[5] || (u[5] = (C) => c.value = "date"),
|
|
1710
1653
|
onKeydown: u[6] || (u[6] = Fe((C) => c.value = "date", ["space"])),
|
|
1711
1654
|
onFocus: (C) => I.focus(),
|
|
@@ -1726,9 +1669,9 @@ const Mo = {
|
|
|
1726
1669
|
onSave: u[2] || (u[2] = (C) => c.value = "")
|
|
1727
1670
|
}, {
|
|
1728
1671
|
default: w(({ model: C, actions: J }) => [
|
|
1729
|
-
B(
|
|
1672
|
+
B($, {
|
|
1730
1673
|
modelValue: C.value,
|
|
1731
|
-
"onUpdate:modelValue": (
|
|
1674
|
+
"onUpdate:modelValue": (P) => C.value = P,
|
|
1732
1675
|
"hide-header": !0,
|
|
1733
1676
|
"first-day-of-week": r.value,
|
|
1734
1677
|
"show-adjacent-months": !0,
|
|
@@ -1757,10 +1700,10 @@ const Mo = {
|
|
|
1757
1700
|
variant: "plain",
|
|
1758
1701
|
clearable: !1,
|
|
1759
1702
|
"hide-details": !0,
|
|
1760
|
-
readonly: o(
|
|
1761
|
-
disabled: o(
|
|
1762
|
-
name: `${o(
|
|
1763
|
-
},
|
|
1703
|
+
readonly: o(d).readonly,
|
|
1704
|
+
disabled: o(d).disabled,
|
|
1705
|
+
name: `${o(d).name}-time`
|
|
1706
|
+
}, e.passthroughAttrs, {
|
|
1764
1707
|
onClick: u[12] || (u[12] = (C) => c.value = "time"),
|
|
1765
1708
|
onKeydown: u[13] || (u[13] = Fe((C) => c.value = "time", ["space"])),
|
|
1766
1709
|
onFocus: (C) => I.focus(),
|
|
@@ -1775,15 +1718,15 @@ const Mo = {
|
|
|
1775
1718
|
}, {
|
|
1776
1719
|
default: w(() => [
|
|
1777
1720
|
B(K, {
|
|
1778
|
-
modelValue:
|
|
1779
|
-
"onUpdate:modelValue": u[7] || (u[7] = (C) =>
|
|
1721
|
+
modelValue: N.value,
|
|
1722
|
+
"onUpdate:modelValue": u[7] || (u[7] = (C) => N.value = C),
|
|
1780
1723
|
onCancel: u[8] || (u[8] = (C) => c.value = ""),
|
|
1781
1724
|
onSave: u[9] || (u[9] = (C) => c.value = "")
|
|
1782
1725
|
}, {
|
|
1783
1726
|
default: w(({ model: C, actions: J }) => [
|
|
1784
|
-
B(
|
|
1727
|
+
B(x, {
|
|
1785
1728
|
modelValue: C.value,
|
|
1786
|
-
"onUpdate:modelValue": (
|
|
1729
|
+
"onUpdate:modelValue": (P) => C.value = P,
|
|
1787
1730
|
"hide-header": !0,
|
|
1788
1731
|
format: "24hr"
|
|
1789
1732
|
}, {
|
|
@@ -1828,7 +1771,7 @@ const Mo = {
|
|
|
1828
1771
|
}, Z),
|
|
1829
1772
|
emits: ["update:modelValue", "click:clear"],
|
|
1830
1773
|
setup(e, { emit: t }) {
|
|
1831
|
-
const n = e, a = t, { densityClass: l, touched: r, value: s, vuetifyBindings:
|
|
1774
|
+
const n = e, a = t, { densityClass: l, touched: r, value: s, vuetifyBindings: f } = G(n, a), i = F(null), d = F(null), h = F(0), m = F(Math.round(Math.random() * 1e3)), y = F(), c = b(() => d.value && h.value < 100), j = b(() => !y.value && s.value ? n.modelValue : "");
|
|
1832
1775
|
function T() {
|
|
1833
1776
|
i.value && window.clearInterval(i.value);
|
|
1834
1777
|
}
|
|
@@ -1837,32 +1780,32 @@ const Mo = {
|
|
|
1837
1780
|
s.value && n.comms.touch(s.value);
|
|
1838
1781
|
}, 60 * 1e3);
|
|
1839
1782
|
}
|
|
1840
|
-
Xe(() => T()), ue(s, (
|
|
1841
|
-
|
|
1783
|
+
Xe(() => T()), ue(s, (N) => {
|
|
1784
|
+
N ? k() : T();
|
|
1842
1785
|
});
|
|
1843
1786
|
function g() {
|
|
1844
1787
|
return ge(this, null, function* () {
|
|
1845
|
-
s.value && (yield n.comms.delete(s.value)), s.value = null, h.value = 0,
|
|
1788
|
+
s.value && (yield n.comms.delete(s.value)), s.value = null, h.value = 0, m.value = Math.round(Math.random() * 1e3), d.value = null, y.value = null, T();
|
|
1846
1789
|
});
|
|
1847
1790
|
}
|
|
1848
|
-
function
|
|
1791
|
+
function _(N) {
|
|
1849
1792
|
return ge(this, null, function* () {
|
|
1850
|
-
h.value = -1,
|
|
1793
|
+
h.value = -1, d.value = N;
|
|
1851
1794
|
try {
|
|
1852
|
-
s.value = yield n.comms.upload(
|
|
1795
|
+
s.value = yield n.comms.upload(N, (v, L) => {
|
|
1853
1796
|
h.value = Math.round(v * 100 / L);
|
|
1854
1797
|
}), h.value = 100, k();
|
|
1855
1798
|
} catch (v) {
|
|
1856
|
-
throw h.value = 0,
|
|
1799
|
+
throw h.value = 0, d.value = null, m.value = Math.round(Math.random() * 1e3), y.value = null, v;
|
|
1857
1800
|
}
|
|
1858
1801
|
});
|
|
1859
1802
|
}
|
|
1860
|
-
function M(
|
|
1861
|
-
|
|
1803
|
+
function M(N) {
|
|
1804
|
+
N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") : _(N));
|
|
1862
1805
|
}
|
|
1863
|
-
return (
|
|
1864
|
-
const L =
|
|
1865
|
-
return V(), D(o(
|
|
1806
|
+
return (N, v) => {
|
|
1807
|
+
const L = A("v-progress-linear"), p = A("v-file-input");
|
|
1808
|
+
return V(), D(o(Pe), R(O(S({}, n), { loading: c.value }), {
|
|
1866
1809
|
class: o(l),
|
|
1867
1810
|
clearable: "",
|
|
1868
1811
|
"onClick:clear": g,
|
|
@@ -1872,7 +1815,7 @@ const Mo = {
|
|
|
1872
1815
|
B(o(be), { name: "mdi-paperclip" })
|
|
1873
1816
|
]),
|
|
1874
1817
|
loader: w(() => [
|
|
1875
|
-
|
|
1818
|
+
d.value && h.value < 100 ? (V(), D(L, {
|
|
1876
1819
|
key: 0,
|
|
1877
1820
|
"model-value": h.value,
|
|
1878
1821
|
indeterminate: h.value === -1
|
|
@@ -1880,27 +1823,27 @@ const Mo = {
|
|
|
1880
1823
|
]),
|
|
1881
1824
|
default: w((u) => [
|
|
1882
1825
|
le("div", {
|
|
1883
|
-
class: Y(["d-flex w-100 position-relative df-input-wrapper",
|
|
1826
|
+
class: Y(["d-flex w-100 position-relative df-input-wrapper", e.density])
|
|
1884
1827
|
}, [
|
|
1885
|
-
B(
|
|
1828
|
+
B(p, R({
|
|
1886
1829
|
modelValue: y.value,
|
|
1887
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
1830
|
+
"onUpdate:modelValue": v[0] || (v[0] = ($) => y.value = $),
|
|
1888
1831
|
label: j.value,
|
|
1889
1832
|
density: "compact",
|
|
1890
1833
|
variant: "plain",
|
|
1891
|
-
readonly: o(
|
|
1892
|
-
disabled: o(
|
|
1893
|
-
name: o(
|
|
1834
|
+
readonly: o(f).readonly,
|
|
1835
|
+
disabled: o(f).disabled,
|
|
1836
|
+
name: o(f).name,
|
|
1894
1837
|
"hide-details": !0,
|
|
1895
1838
|
"show-size": !0,
|
|
1896
1839
|
multiple: !1,
|
|
1897
|
-
style:
|
|
1840
|
+
style: d.value && h.value < 100 ? "visibility: hidden" : "",
|
|
1898
1841
|
clearable: !1
|
|
1899
|
-
},
|
|
1842
|
+
}, e.passthroughAttrs, {
|
|
1900
1843
|
"prepend-icon": "",
|
|
1901
1844
|
"onUpdate:modelValue": M,
|
|
1902
|
-
onFocus: (
|
|
1903
|
-
onBlur: (
|
|
1845
|
+
onFocus: ($) => u.focus(),
|
|
1846
|
+
onBlur: ($) => u.blur()
|
|
1904
1847
|
}), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
|
|
1905
1848
|
], 2)
|
|
1906
1849
|
]),
|
|
@@ -1930,7 +1873,7 @@ const Mo = {
|
|
|
1930
1873
|
passthroughAttrs: {},
|
|
1931
1874
|
density: {},
|
|
1932
1875
|
variant: {}
|
|
1933
|
-
}, O(
|
|
1876
|
+
}, O(S({}, Z), {
|
|
1934
1877
|
inputType: "text",
|
|
1935
1878
|
precision: null,
|
|
1936
1879
|
step: void 0,
|
|
@@ -1939,22 +1882,21 @@ const Mo = {
|
|
|
1939
1882
|
})),
|
|
1940
1883
|
emits: ["update:modelValue", "click:clear"],
|
|
1941
1884
|
setup(e, { emit: t }) {
|
|
1942
|
-
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched:
|
|
1943
|
-
() => T.value ? { min: o(y), max: o(
|
|
1885
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: d } = G(n, a), { inputType: h, max: m, min: y, precision: c, step: j } = Ce(n), T = b(() => h.value === "number"), k = b(
|
|
1886
|
+
() => T.value ? { min: o(y), max: o(m), precision: o(c), step: o(j) } : {}
|
|
1944
1887
|
);
|
|
1945
|
-
return (g,
|
|
1946
|
-
const M =
|
|
1888
|
+
return (g, _) => {
|
|
1889
|
+
const M = A("v-text-field"), N = A("v-number-input");
|
|
1947
1890
|
return V(), W("div", {
|
|
1948
1891
|
class: Y(["df-input-container", o(l)])
|
|
1949
1892
|
}, [
|
|
1950
|
-
T.value ? (V(), D(
|
|
1893
|
+
T.value ? (V(), D(N, R({
|
|
1951
1894
|
key: 1,
|
|
1952
1895
|
modelValue: o(i),
|
|
1953
|
-
"onUpdate:modelValue":
|
|
1954
|
-
}, x(x({}, o(p)), k.value), {
|
|
1896
|
+
"onUpdate:modelValue": _[2] || (_[2] = (v) => ae(i) ? i.value = v : null),
|
|
1955
1897
|
density: "compact",
|
|
1956
1898
|
"control-variant": "stacked"
|
|
1957
|
-
}), {
|
|
1899
|
+
}, S(S({}, o(d)), k.value)), {
|
|
1958
1900
|
label: w((v) => [
|
|
1959
1901
|
B(o(re), {
|
|
1960
1902
|
data: v,
|
|
@@ -1971,10 +1913,10 @@ const Mo = {
|
|
|
1971
1913
|
}, 16, ["modelValue"])) : (V(), D(M, R({
|
|
1972
1914
|
key: 0,
|
|
1973
1915
|
modelValue: o(i),
|
|
1974
|
-
"onUpdate:modelValue":
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
onBlur:
|
|
1916
|
+
"onUpdate:modelValue": _[0] || (_[0] = (v) => ae(i) ? i.value = v : null),
|
|
1917
|
+
type: o(h)
|
|
1918
|
+
}, o(d), {
|
|
1919
|
+
onBlur: _[1] || (_[1] = (v) => f.value = !0)
|
|
1978
1920
|
}), {
|
|
1979
1921
|
label: w((v) => [
|
|
1980
1922
|
B(o(re), {
|
|
@@ -2002,8 +1944,8 @@ const Mo = {
|
|
|
2002
1944
|
},
|
|
2003
1945
|
emits: ["update:modelValue"],
|
|
2004
1946
|
setup(e, { expose: t, emit: n }) {
|
|
2005
|
-
mt((
|
|
2006
|
-
|
|
1947
|
+
mt((m) => ({
|
|
1948
|
+
v32dcdf6e: m.minHeight
|
|
2007
1949
|
}));
|
|
2008
1950
|
const a = n, l = F(!1), r = mn, s = {
|
|
2009
1951
|
items: [
|
|
@@ -2034,16 +1976,16 @@ const Mo = {
|
|
|
2034
1976
|
"accessibilityHelp"
|
|
2035
1977
|
],
|
|
2036
1978
|
shouldNotGroupWhenFull: !1
|
|
2037
|
-
},
|
|
1979
|
+
}, f = [
|
|
2038
1980
|
jt,
|
|
2039
1981
|
Tt,
|
|
2040
|
-
|
|
1982
|
+
xt,
|
|
2041
1983
|
Bt,
|
|
2042
1984
|
It,
|
|
2043
1985
|
Dt,
|
|
1986
|
+
_t,
|
|
2044
1987
|
Pt,
|
|
2045
1988
|
St,
|
|
2046
|
-
xt,
|
|
2047
1989
|
Et,
|
|
2048
1990
|
$t,
|
|
2049
1991
|
At,
|
|
@@ -2078,18 +2020,18 @@ const Mo = {
|
|
|
2078
2020
|
dn
|
|
2079
2021
|
], i = {
|
|
2080
2022
|
options: [
|
|
2081
|
-
{ model: "paragraph", title:
|
|
2082
|
-
{ model: "heading1", view: "h1", title:
|
|
2083
|
-
{ model: "heading2", view: "h2", title:
|
|
2084
|
-
{ model: "heading3", view: "h3", title:
|
|
2085
|
-
{ model: "heading4", view: "h4", title:
|
|
2086
|
-
{ model: "heading5", view: "h5", title:
|
|
2087
|
-
{ model: "heading6", view: "h6", title:
|
|
2023
|
+
{ model: "paragraph", title: E.Paragraph, class: "ck-heading_paragraph" },
|
|
2024
|
+
{ model: "heading1", view: "h1", title: E.Heading1, class: "ck-heading_heading1" },
|
|
2025
|
+
{ model: "heading2", view: "h2", title: E.Heading2, class: "ck-heading_heading2" },
|
|
2026
|
+
{ model: "heading3", view: "h3", title: E.Heading3, class: "ck-heading_heading3" },
|
|
2027
|
+
{ model: "heading4", view: "h4", title: E.Heading4, class: "ck-heading_heading4" },
|
|
2028
|
+
{ model: "heading5", view: "h5", title: E.Heading5, class: "ck-heading_heading5" },
|
|
2029
|
+
{ model: "heading6", view: "h6", title: E.Heading6, class: "ck-heading_heading6" }
|
|
2088
2030
|
]
|
|
2089
|
-
},
|
|
2031
|
+
}, d = {
|
|
2090
2032
|
language: ke.language,
|
|
2091
2033
|
toolbar: s,
|
|
2092
|
-
plugins:
|
|
2034
|
+
plugins: f,
|
|
2093
2035
|
balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
|
|
2094
2036
|
heading: i,
|
|
2095
2037
|
htmlSupport: {
|
|
@@ -2114,7 +2056,7 @@ const Mo = {
|
|
|
2114
2056
|
decorators: {
|
|
2115
2057
|
toggleDownloadable: {
|
|
2116
2058
|
mode: "manual",
|
|
2117
|
-
label:
|
|
2059
|
+
label: E.Downloadable,
|
|
2118
2060
|
attributes: { download: "file" }
|
|
2119
2061
|
}
|
|
2120
2062
|
}
|
|
@@ -2122,15 +2064,15 @@ const Mo = {
|
|
|
2122
2064
|
placeholder: "",
|
|
2123
2065
|
style: {
|
|
2124
2066
|
definitions: [
|
|
2125
|
-
{ name:
|
|
2126
|
-
{ name:
|
|
2127
|
-
{ name:
|
|
2128
|
-
{ name:
|
|
2129
|
-
{ name:
|
|
2130
|
-
{ name:
|
|
2131
|
-
{ name:
|
|
2132
|
-
{ name:
|
|
2133
|
-
{ name:
|
|
2067
|
+
{ name: E.ArticleCategory, element: "h3", classes: ["category"] },
|
|
2068
|
+
{ name: E.Title, element: "h2", classes: ["document-title"] },
|
|
2069
|
+
{ name: E.Subtitle, element: "h3", classes: ["document-subtitle"] },
|
|
2070
|
+
{ name: E.InfoBox, element: "p", classes: ["info-box"] },
|
|
2071
|
+
{ name: E.SideQuote, element: "blockquote", classes: ["side-quote"] },
|
|
2072
|
+
{ name: E.Marker, element: "span", classes: ["marker"] },
|
|
2073
|
+
{ name: E.Spoiler, element: "span", classes: ["spoiler"] },
|
|
2074
|
+
{ name: E.CodeDark, element: "pre", classes: ["fancy-code", "fancy-code-dark"] },
|
|
2075
|
+
{ name: E.CodeBright, element: "pre", classes: ["fancy-code", "fancy-code-bright"] }
|
|
2134
2076
|
]
|
|
2135
2077
|
},
|
|
2136
2078
|
table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] },
|
|
@@ -2139,20 +2081,20 @@ const Mo = {
|
|
|
2139
2081
|
Ke(() => {
|
|
2140
2082
|
l.value = !0;
|
|
2141
2083
|
});
|
|
2142
|
-
const h = (
|
|
2084
|
+
const h = (m) => {
|
|
2143
2085
|
};
|
|
2144
|
-
return t({ onEditorReady: h }), (
|
|
2145
|
-
const c =
|
|
2086
|
+
return t({ onEditorReady: h }), (m, y) => {
|
|
2087
|
+
const c = A("ckeditor");
|
|
2146
2088
|
return V(), W("div", Ko, [
|
|
2147
2089
|
le("div", Xo, [
|
|
2148
2090
|
le("div", Go, [
|
|
2149
2091
|
l.value ? (V(), D(c, {
|
|
2150
2092
|
key: 0,
|
|
2151
|
-
"model-value":
|
|
2093
|
+
"model-value": e.modelValue,
|
|
2152
2094
|
editor: o(r),
|
|
2153
|
-
config:
|
|
2154
|
-
disabled:
|
|
2155
|
-
style: Ge(`min-height: ${
|
|
2095
|
+
config: d,
|
|
2096
|
+
disabled: e.disabled,
|
|
2097
|
+
style: Ge(`min-height: ${e.minHeight}`),
|
|
2156
2098
|
onReady: h,
|
|
2157
2099
|
"onUpdate:modelValue": y[0] || (y[0] = (j) => a("update:modelValue", j))
|
|
2158
2100
|
}, null, 8, ["model-value", "editor", "disabled", "style"])) : U("", !0)
|
|
@@ -2179,25 +2121,25 @@ const Mo = {
|
|
|
2179
2121
|
passthroughAttrs: {},
|
|
2180
2122
|
density: {},
|
|
2181
2123
|
variant: {}
|
|
2182
|
-
}, O(
|
|
2124
|
+
}, O(S({}, Z), { minHeight: void 0 })),
|
|
2183
2125
|
emits: ["update:modelValue", "click:clear"],
|
|
2184
2126
|
setup(e, { emit: t }) {
|
|
2185
2127
|
const n = e, a = t, { densityClass: l, value: r, vuetifyBindings: s } = G(n, a);
|
|
2186
|
-
return (
|
|
2128
|
+
return (f, i) => (V(), D(o(Pe), R(n, {
|
|
2187
2129
|
class: ["ck-editor-custom", o(l)]
|
|
2188
2130
|
}), {
|
|
2189
|
-
default: w((
|
|
2131
|
+
default: w((d) => [
|
|
2190
2132
|
B(qo, R({
|
|
2191
2133
|
ref: "$editor",
|
|
2192
2134
|
modelValue: o(r),
|
|
2193
2135
|
"onUpdate:modelValue": i[0] || (i[0] = (h) => ae(r) ? r.value = h : null),
|
|
2194
|
-
class: { "mt-6": !!
|
|
2195
|
-
"min-height":
|
|
2136
|
+
class: { "mt-6": !!e.label },
|
|
2137
|
+
"min-height": e.minHeight,
|
|
2196
2138
|
disabled: o(s).disabled,
|
|
2197
2139
|
placeholder: "dfsjghdf"
|
|
2198
|
-
},
|
|
2199
|
-
onFocusin: (h) =>
|
|
2200
|
-
onFocusout: (h) =>
|
|
2140
|
+
}, e.passthroughAttrs, {
|
|
2141
|
+
onFocusin: (h) => d.focus(),
|
|
2142
|
+
onFocusout: (h) => d.blur()
|
|
2201
2143
|
}), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
|
|
2202
2144
|
]),
|
|
2203
2145
|
_: 1
|
|
@@ -2224,12 +2166,12 @@ function we(e, t, n, a, l) {
|
|
|
2224
2166
|
return;
|
|
2225
2167
|
}
|
|
2226
2168
|
if (n)
|
|
2227
|
-
a ? t.value = r : t.value = Ve(l, r).map((
|
|
2169
|
+
a ? t.value = r : t.value = Ve(l, r).map((f) => f.id);
|
|
2228
2170
|
else if (a)
|
|
2229
2171
|
t.value = r;
|
|
2230
2172
|
else {
|
|
2231
|
-
const
|
|
2232
|
-
t.value = (s =
|
|
2173
|
+
const f = Ye(Ve(l, r));
|
|
2174
|
+
t.value = (s = f == null ? void 0 : f.id) != null ? s : null;
|
|
2233
2175
|
}
|
|
2234
2176
|
}
|
|
2235
2177
|
const Zo = {
|
|
@@ -2257,7 +2199,7 @@ const Zo = {
|
|
|
2257
2199
|
passthroughAttrs: {},
|
|
2258
2200
|
density: {},
|
|
2259
2201
|
variant: {}
|
|
2260
|
-
}, O(
|
|
2202
|
+
}, O(S({}, Z), {
|
|
2261
2203
|
choices: void 0,
|
|
2262
2204
|
multiple: !1,
|
|
2263
2205
|
allowTags: !1,
|
|
@@ -2266,85 +2208,85 @@ const Zo = {
|
|
|
2266
2208
|
})),
|
|
2267
2209
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
2268
2210
|
setup(e, { emit: t }) {
|
|
2269
|
-
const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass:
|
|
2211
|
+
const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass: f, visibility: i } = Ce(n), d = t, {
|
|
2270
2212
|
densityClass: h,
|
|
2271
|
-
label:
|
|
2213
|
+
label: m,
|
|
2272
2214
|
showErrors: y,
|
|
2273
2215
|
touched: c,
|
|
2274
2216
|
value: j,
|
|
2275
2217
|
vuetifyBindings: T
|
|
2276
|
-
} = G(n,
|
|
2218
|
+
} = G(n, d), k = F(null), g = F(!1), _ = F([]), M = b(() => o(g) ? o(_) : o(a) || []), N = F(!1), v = b(() => Qo(M.value));
|
|
2277
2219
|
v.value && n.fetchChoices !== void 0 && console.warn("Both options and fetchChoices are set. Only one of them should be set.");
|
|
2278
|
-
function L(
|
|
2279
|
-
|
|
2220
|
+
function L(x) {
|
|
2221
|
+
d("update:modelValueDisplay", Ve(M.value, x));
|
|
2280
2222
|
}
|
|
2281
|
-
let
|
|
2282
|
-
function u(
|
|
2283
|
-
|
|
2284
|
-
|
|
2223
|
+
let p = !1;
|
|
2224
|
+
function u(x) {
|
|
2225
|
+
p = !0, j.value = x, Me(() => {
|
|
2226
|
+
p = !1;
|
|
2285
2227
|
});
|
|
2286
2228
|
}
|
|
2287
2229
|
ue(
|
|
2288
2230
|
k,
|
|
2289
|
-
(
|
|
2231
|
+
(x) => {
|
|
2290
2232
|
T.value.readonly || Me(() => {
|
|
2291
|
-
const I = ee(
|
|
2233
|
+
const I = ee(x, l.value);
|
|
2292
2234
|
L(I), u(I);
|
|
2293
2235
|
});
|
|
2294
2236
|
},
|
|
2295
2237
|
{ deep: !0 }
|
|
2296
2238
|
), ue(
|
|
2297
2239
|
j,
|
|
2298
|
-
(
|
|
2299
|
-
if (!
|
|
2300
|
-
const I = ee(
|
|
2240
|
+
(x) => {
|
|
2241
|
+
if (!p) {
|
|
2242
|
+
const I = ee(x, l.value);
|
|
2301
2243
|
we(I, k, l.value, !1, M.value);
|
|
2302
2244
|
}
|
|
2303
2245
|
},
|
|
2304
2246
|
{ deep: !0 }
|
|
2305
2247
|
);
|
|
2306
|
-
function
|
|
2248
|
+
function $() {
|
|
2307
2249
|
if (T.value.readonly || r.value) return;
|
|
2308
|
-
const
|
|
2309
|
-
we(
|
|
2250
|
+
const x = ee(k.value, l.value);
|
|
2251
|
+
we(x, k, l.value, !1, M.value), u(x);
|
|
2310
2252
|
}
|
|
2311
|
-
function K(
|
|
2253
|
+
function K(x) {
|
|
2312
2254
|
let I;
|
|
2313
2255
|
l.value && Array.isArray(k.value) ? I = ee(
|
|
2314
|
-
k.value.filter((C) => C !==
|
|
2256
|
+
k.value.filter((C) => C !== x),
|
|
2315
2257
|
l.value
|
|
2316
2258
|
) : I = null, we(I, k, l.value, !1, M.value), u(I);
|
|
2317
2259
|
}
|
|
2318
|
-
function ce(
|
|
2260
|
+
function ce(x, I) {
|
|
2319
2261
|
return ge(this, null, function* () {
|
|
2320
2262
|
if (!(a.value || n.fetchChoices === void 0)) {
|
|
2321
|
-
|
|
2263
|
+
N.value = !0;
|
|
2322
2264
|
try {
|
|
2323
2265
|
const C = Ve(
|
|
2324
2266
|
M.value,
|
|
2325
2267
|
ee(k.value, l.value)
|
|
2326
|
-
), J = yield n.fetchChoices(
|
|
2327
|
-
|
|
2268
|
+
), J = yield n.fetchChoices(x, I);
|
|
2269
|
+
_.value = ht([...C, ...J], "id"), g.value = !0;
|
|
2328
2270
|
} finally {
|
|
2329
|
-
|
|
2271
|
+
N.value = !1;
|
|
2330
2272
|
}
|
|
2331
2273
|
}
|
|
2332
2274
|
});
|
|
2333
2275
|
}
|
|
2334
2276
|
function de() {
|
|
2335
|
-
let
|
|
2336
|
-
!s.value &&
|
|
2277
|
+
let x = j.value;
|
|
2278
|
+
!s.value && x == null && v.value.length && (x = v.value[0].value), x = ee(x, l.value), we(x, k, l.value, r.value, M.value), L(x), u(x);
|
|
2337
2279
|
}
|
|
2338
2280
|
return de(), n.fetchChoices !== void 0 && ce(void 0, j.value).then(() => {
|
|
2339
2281
|
de();
|
|
2340
|
-
}), (
|
|
2341
|
-
const C =
|
|
2282
|
+
}), (x, I) => {
|
|
2283
|
+
const C = A("v-chip"), J = A("v-list-item");
|
|
2342
2284
|
return o(i) !== o(X).SUPPRESS ? (V(), D(he(o(r) ? "v-combobox" : "v-autocomplete"), R({
|
|
2343
2285
|
key: 0,
|
|
2344
2286
|
modelValue: k.value,
|
|
2345
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
2287
|
+
"onUpdate:modelValue": I[0] || (I[0] = (P) => k.value = P),
|
|
2346
2288
|
class: [
|
|
2347
|
-
o(
|
|
2289
|
+
o(f),
|
|
2348
2290
|
o(h),
|
|
2349
2291
|
{
|
|
2350
2292
|
"d-none": o(i) === o(X).HIDDEN,
|
|
@@ -2352,64 +2294,62 @@ const Zo = {
|
|
|
2352
2294
|
}
|
|
2353
2295
|
],
|
|
2354
2296
|
items: v.value,
|
|
2355
|
-
"return-object": !1
|
|
2356
|
-
}, o(T), {
|
|
2357
|
-
label: o(T).label,
|
|
2297
|
+
"return-object": !1,
|
|
2358
2298
|
chips: "",
|
|
2359
2299
|
"auto-select-first": !0,
|
|
2360
2300
|
"closable-chips": o(s) || o(l) && k.value.length > 1,
|
|
2361
2301
|
clearable: o(s),
|
|
2362
2302
|
multiple: o(l),
|
|
2363
|
-
loading:
|
|
2303
|
+
loading: N.value,
|
|
2364
2304
|
"hide-selected": !1,
|
|
2365
2305
|
"aria-describedby": o(T).helpText ? `${o(T).name}-help` : null,
|
|
2366
|
-
"menu-props": { maxHeight: "400" }
|
|
2367
|
-
|
|
2368
|
-
"onUpdate:search": I[1] || (I[1] = (
|
|
2369
|
-
"onUpdate:modelValue":
|
|
2370
|
-
"onClick:clear": I[2] || (I[2] = (
|
|
2371
|
-
onBlur: I[3] || (I[3] = (
|
|
2306
|
+
"menu-props": { maxHeight: "400" }
|
|
2307
|
+
}, o(T), {
|
|
2308
|
+
"onUpdate:search": I[1] || (I[1] = (P) => ce(P, void 0)),
|
|
2309
|
+
"onUpdate:modelValue": $,
|
|
2310
|
+
"onClick:clear": I[2] || (I[2] = (P) => k.value = null),
|
|
2311
|
+
onBlur: I[3] || (I[3] = (P) => c.value = !0)
|
|
2372
2312
|
}), De({
|
|
2373
|
-
chip: w(({ item:
|
|
2313
|
+
chip: w(({ item: P }) => [
|
|
2374
2314
|
(V(), D(C, {
|
|
2375
|
-
key:
|
|
2315
|
+
key: P.value,
|
|
2376
2316
|
label: "",
|
|
2377
2317
|
size: "small",
|
|
2378
2318
|
class: "d-flex align-middle",
|
|
2379
2319
|
variant: o(l) ? "tonal" : "text",
|
|
2380
2320
|
closable: o(l),
|
|
2381
|
-
"onClick:close": (ie) => K(
|
|
2321
|
+
"onClick:close": (ie) => K(P.value)
|
|
2382
2322
|
}, {
|
|
2383
2323
|
prepend: w(() => {
|
|
2384
2324
|
var ie;
|
|
2385
2325
|
return [
|
|
2386
|
-
(ie =
|
|
2326
|
+
(ie = P.raw) != null && ie.icon ? (V(), D(o(be), {
|
|
2387
2327
|
key: 0,
|
|
2388
2328
|
class: "me-1",
|
|
2389
|
-
name:
|
|
2329
|
+
name: P.raw.icon
|
|
2390
2330
|
}, null, 8, ["name"])) : U("", !0)
|
|
2391
2331
|
];
|
|
2392
2332
|
}),
|
|
2393
2333
|
default: w(() => [
|
|
2394
2334
|
le("span", {
|
|
2395
2335
|
class: Y({ "text-body-1": !o(l) })
|
|
2396
|
-
},
|
|
2336
|
+
}, _e(P.title), 3)
|
|
2397
2337
|
]),
|
|
2398
2338
|
_: 2
|
|
2399
2339
|
}, 1032, ["variant", "closable", "onClick:close"]))
|
|
2400
2340
|
]),
|
|
2401
|
-
label: w((
|
|
2341
|
+
label: w((P) => [
|
|
2402
2342
|
B(o(re), {
|
|
2403
|
-
data:
|
|
2404
|
-
label: o(
|
|
2343
|
+
data: P,
|
|
2344
|
+
label: o(m)
|
|
2405
2345
|
}, null, 8, ["data", "label"])
|
|
2406
2346
|
]),
|
|
2407
|
-
item: w(({ props:
|
|
2408
|
-
B(J, te(ne(
|
|
2347
|
+
item: w(({ props: P, item: ie }) => [
|
|
2348
|
+
B(J, te(ne(P)), {
|
|
2409
2349
|
prepend: w(() => {
|
|
2410
|
-
var
|
|
2350
|
+
var Se;
|
|
2411
2351
|
return [
|
|
2412
|
-
(
|
|
2352
|
+
(Se = ie.raw) != null && Se.icon ? (V(), W("span", Zo, [
|
|
2413
2353
|
B(o(be), {
|
|
2414
2354
|
class: "action-icon",
|
|
2415
2355
|
name: ie.raw.icon
|
|
@@ -2420,29 +2360,29 @@ const Zo = {
|
|
|
2420
2360
|
_: 2
|
|
2421
2361
|
}, 1040)
|
|
2422
2362
|
]),
|
|
2423
|
-
message: w(({ message:
|
|
2363
|
+
message: w(({ message: P }) => [
|
|
2424
2364
|
B(o(q), {
|
|
2425
|
-
message:
|
|
2365
|
+
message: P,
|
|
2426
2366
|
errors: o(y)
|
|
2427
2367
|
}, null, 8, ["message", "errors"])
|
|
2428
2368
|
]),
|
|
2429
2369
|
_: 2
|
|
2430
2370
|
}, [
|
|
2431
|
-
|
|
2371
|
+
x.$slots["append-inner"] ? {
|
|
2432
2372
|
name: "append-inner",
|
|
2433
|
-
fn: w((
|
|
2434
|
-
se(
|
|
2373
|
+
fn: w((P) => [
|
|
2374
|
+
se(x.$slots, "append-inner", te(ne(P)))
|
|
2435
2375
|
]),
|
|
2436
2376
|
key: "0"
|
|
2437
2377
|
} : void 0,
|
|
2438
|
-
|
|
2378
|
+
x.$slots["prepend-inner"] ? {
|
|
2439
2379
|
name: "prepend-inner",
|
|
2440
|
-
fn: w((
|
|
2441
|
-
se(
|
|
2380
|
+
fn: w((P) => [
|
|
2381
|
+
se(x.$slots, "prepend-inner", te(ne(P)))
|
|
2442
2382
|
]),
|
|
2443
2383
|
key: "1"
|
|
2444
2384
|
} : void 0
|
|
2445
|
-
]), 1040, ["modelValue", "class", "items", "
|
|
2385
|
+
]), 1040, ["modelValue", "class", "items", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : U("", !0);
|
|
2446
2386
|
};
|
|
2447
2387
|
}
|
|
2448
2388
|
}), ea = /* @__PURE__ */ H({
|
|
@@ -2464,34 +2404,34 @@ const Zo = {
|
|
|
2464
2404
|
passthroughAttrs: {},
|
|
2465
2405
|
density: {},
|
|
2466
2406
|
variant: {}
|
|
2467
|
-
}, O(
|
|
2407
|
+
}, O(S({}, Z), {
|
|
2468
2408
|
rows: void 0,
|
|
2469
2409
|
maxRows: void 0
|
|
2470
2410
|
})),
|
|
2471
2411
|
emits: ["update:modelValue", "click:clear"],
|
|
2472
2412
|
setup(e, { emit: t }) {
|
|
2473
|
-
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched:
|
|
2413
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: d } = G(n, a), { cssClass: h, visibility: m } = Ce(n);
|
|
2474
2414
|
return (y, c) => {
|
|
2475
|
-
const j =
|
|
2415
|
+
const j = A("v-textarea");
|
|
2476
2416
|
return V(), W("div", {
|
|
2477
2417
|
class: Y(["df-textarea-container", o(l)])
|
|
2478
2418
|
}, [
|
|
2479
|
-
o(
|
|
2419
|
+
o(m) !== o(X).SUPPRESS ? (V(), D(j, R({
|
|
2480
2420
|
key: 0,
|
|
2481
2421
|
modelValue: o(i),
|
|
2482
2422
|
"onUpdate:modelValue": c[0] || (c[0] = (T) => ae(i) ? i.value = T : null),
|
|
2483
2423
|
class: [
|
|
2484
2424
|
o(h),
|
|
2485
2425
|
{
|
|
2486
|
-
"d-none": o(
|
|
2487
|
-
invisible: o(
|
|
2426
|
+
"d-none": o(m) === o(X).HIDDEN,
|
|
2427
|
+
invisible: o(m) === o(X).INVISIBLE
|
|
2488
2428
|
}
|
|
2489
2429
|
],
|
|
2490
|
-
rows:
|
|
2491
|
-
"auto-grow": (
|
|
2492
|
-
"max-rows":
|
|
2493
|
-
}, o(
|
|
2494
|
-
onBlur: c[1] || (c[1] = (T) =>
|
|
2430
|
+
rows: e.rows,
|
|
2431
|
+
"auto-grow": (e.maxRows || 0) > 0,
|
|
2432
|
+
"max-rows": e.maxRows
|
|
2433
|
+
}, o(d), {
|
|
2434
|
+
onBlur: c[1] || (c[1] = (T) => f.value = !0)
|
|
2495
2435
|
}), {
|
|
2496
2436
|
label: w((T) => [
|
|
2497
2437
|
B(o(re), {
|
|
@@ -2524,8 +2464,8 @@ const Zo = {
|
|
|
2524
2464
|
DfTextArea: ea
|
|
2525
2465
|
}, Symbol.toStringTag, { value: "Module" })), na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2526
2466
|
__proto__: null,
|
|
2527
|
-
VAutocomplete:
|
|
2528
|
-
VBtn:
|
|
2467
|
+
VAutocomplete: fn,
|
|
2468
|
+
VBtn: pn,
|
|
2529
2469
|
VCheckbox: vn,
|
|
2530
2470
|
VChip: hn,
|
|
2531
2471
|
VCol: Cn,
|
|
@@ -2536,14 +2476,14 @@ const Zo = {
|
|
|
2536
2476
|
VField: kn,
|
|
2537
2477
|
VFileInput: Vn,
|
|
2538
2478
|
VIcon: Tn,
|
|
2539
|
-
VImg:
|
|
2479
|
+
VImg: xn,
|
|
2540
2480
|
VInput: Bn,
|
|
2541
2481
|
VListItem: In,
|
|
2542
2482
|
VMenu: Dn,
|
|
2543
|
-
VNumberInput:
|
|
2544
|
-
VProgressLinear:
|
|
2483
|
+
VNumberInput: _n,
|
|
2484
|
+
VProgressLinear: Pn,
|
|
2545
2485
|
VRow: jn,
|
|
2546
|
-
VSelect:
|
|
2486
|
+
VSelect: Sn,
|
|
2547
2487
|
VSwitch: En,
|
|
2548
2488
|
VTextField: An,
|
|
2549
2489
|
VTextarea: $n,
|
|
@@ -2560,7 +2500,7 @@ export {
|
|
|
2560
2500
|
ye as Action,
|
|
2561
2501
|
z as ActionDisplayStyle,
|
|
2562
2502
|
q as DFInputHint,
|
|
2563
|
-
|
|
2503
|
+
Po as DateTimeLocaleConfig,
|
|
2564
2504
|
Uo as DfActions,
|
|
2565
2505
|
Ho as DfCheckbox,
|
|
2566
2506
|
Oo as DfColor,
|
|
@@ -2575,8 +2515,8 @@ export {
|
|
|
2575
2515
|
Jo as DfSelect,
|
|
2576
2516
|
ea as DfTextArea,
|
|
2577
2517
|
Ma as DynamicFormsInputs,
|
|
2578
|
-
|
|
2579
|
-
|
|
2518
|
+
Pe as InputBase,
|
|
2519
|
+
So as Label,
|
|
2580
2520
|
Fo as ResponsiveActionRenderOptions,
|
|
2581
2521
|
$o as ResponsiveRenderOptions,
|
|
2582
2522
|
na as VuetifyComponents,
|
|
@@ -2586,7 +2526,7 @@ export {
|
|
|
2586
2526
|
Ao as getBreakpointName,
|
|
2587
2527
|
ze as responsiveBreakpoints,
|
|
2588
2528
|
Na as setCkEditorLanguage,
|
|
2589
|
-
|
|
2529
|
+
E as translatableStrings,
|
|
2590
2530
|
Aa as translateStrings,
|
|
2591
2531
|
No as useBreakpoint,
|
|
2592
2532
|
G as useInputBase,
|