@dynamicforms/vuetify-inputs 0.5.8 → 0.5.11
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/{style.css → dynamicforms-vuetify-inputs.css} +2 -2
- package/dist/dynamicforms-vuetify-inputs.js +654 -629
- package/dist/dynamicforms-vuetify-inputs.js.map +1 -1
- package/dist/dynamicforms-vuetify-inputs.umd.cjs +10 -10
- package/dist/dynamicforms-vuetify-inputs.umd.cjs.map +1 -1
- package/dist/index.d.ts +6 -6
- package/package.json +8 -7
|
@@ -12,36 +12,37 @@ var je = (e, t, n) => t in e ? et(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
12
12
|
}, F = (e, t) => tt(e, nt(t));
|
|
13
13
|
var $e = (e, t, n) => je(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
14
|
var ge = (e, t, n) => new Promise((l, a) => {
|
|
15
|
-
var r = (
|
|
15
|
+
var r = (c) => {
|
|
16
16
|
try {
|
|
17
|
-
i(n.next(
|
|
18
|
-
} catch (
|
|
19
|
-
a(
|
|
17
|
+
i(n.next(c));
|
|
18
|
+
} catch (d) {
|
|
19
|
+
a(d);
|
|
20
20
|
}
|
|
21
|
-
}, m = (
|
|
21
|
+
}, m = (c) => {
|
|
22
22
|
try {
|
|
23
|
-
i(n.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
a(
|
|
23
|
+
i(n.throw(c));
|
|
24
|
+
} catch (d) {
|
|
25
|
+
a(d);
|
|
26
26
|
}
|
|
27
|
-
}, i = (
|
|
27
|
+
}, i = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(r, m);
|
|
28
28
|
i((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as Se from "vue";
|
|
31
|
-
import { defineComponent as M, mergeModels as Ee, useModel as at, ref as E, watch as ie, onMounted as
|
|
32
|
-
import { debounce as pt, isString as ee, isEmpty as
|
|
33
|
-
import
|
|
31
|
+
import { defineComponent as M, mergeModels as Ee, useModel as at, ref as E, watch as ie, onMounted as ze, markRaw as rt, onBeforeUnmount as He, createBlock as D, openBlock as V, resolveDynamicComponent as ve, version as it, isRef as te, resolveComponent as S, createElementBlock as O, createCommentVNode as L, createTextVNode as st, Fragment as Ke, unref as o, toDisplayString as Be, inject as ut, computed as k, h as we, normalizeClass as Ie, createSlots as X, withCtx as b, createVNode as B, renderSlot as re, normalizeProps as Z, guardReactiveProps as J, createElementVNode as ne, renderList as ct, withModifiers as dt, mergeDefaults as G, mergeProps as U, normalizeStyle as Xe, toRefs as _e, withKeys as Ae, useCssVars as mt, nextTick as Ne } from "vue";
|
|
32
|
+
import { debounce as pt, isString as ee, isEmpty as pe, isObjectLike as ft, isBoolean as Fe, clone as vt, toNumber as Le, isNaN as Me, isArray as Ue, castArray as Ge, first as qe, unionBy as ht } from "lodash-es";
|
|
33
|
+
import { CachedIcon as he } from "vue-cached-icon";
|
|
34
|
+
import Oe, { ValidationErrorRenderContent as bt, DisplayMode as H, Action as gt } from "@dynamicforms/vue-forms";
|
|
34
35
|
import wt from "vue-markdown-render";
|
|
35
36
|
import { useDisplay as yt } from "vuetify";
|
|
36
|
-
import { format as
|
|
37
|
-
import { AccessibilityHelp as Vt, Alignment as _t, AutoImage as jt, AutoLink as Ct, Autosave as Tt, BalloonToolbar as Bt, BlockQuote as It, Bold as Pt, CloudServices as Dt, Essentials as xt, GeneralHtmlSupport as $t, Heading as St, HorizontalLine as Et, ImageBlock as At, ImageCaption as Nt, ImageInline as Ft, ImageInsertViaUrl as Lt, ImageResize as Mt, ImageStyle as Ut, ImageToolbar as Ot, ImageUpload as Rt, Indent as
|
|
37
|
+
import { format as ce, parse as kt } from "date-fns";
|
|
38
|
+
import { AccessibilityHelp as Vt, Alignment as _t, AutoImage as jt, AutoLink as Ct, Autosave as Tt, BalloonToolbar as Bt, BlockQuote as It, Bold as Pt, CloudServices as Dt, Essentials as xt, GeneralHtmlSupport as $t, Heading as St, HorizontalLine as Et, ImageBlock as At, ImageCaption as Nt, ImageInline as Ft, ImageInsertViaUrl as Lt, ImageResize as Mt, ImageStyle as Ut, ImageToolbar as Ot, ImageUpload as Rt, Indent as Wt, IndentBlock as zt, Italic as Ht, Link as Kt, List as Xt, Autoformat as Gt, MediaEmbed as qt, Paragraph as Yt, PasteFromMarkdownExperimental as Qt, PasteFromOffice as Zt, SelectAll as Jt, Style as en, Table as tn, TableCellProperties as nn, TableColumnResize as on, TableProperties as ln, TableToolbar as an, Undo as rn, TextTransformation as sn, Base64UploadAdapter as un, ClassicEditor as cn } from "ckeditor5";
|
|
38
39
|
import { VAutocomplete as dn } from "vuetify/components/VAutocomplete";
|
|
39
40
|
import { VBtn as mn } from "vuetify/components/VBtn";
|
|
40
41
|
import { VCheckbox as pn } from "vuetify/components/VCheckbox";
|
|
41
42
|
import { VChip as fn } from "vuetify/components/VChip";
|
|
42
43
|
import { VCombobox as vn } from "vuetify/components/VCombobox";
|
|
43
|
-
import { VColorPicker as
|
|
44
|
-
import { VConfirmEdit as
|
|
44
|
+
import { VColorPicker as hn } from "vuetify/components/VColorPicker";
|
|
45
|
+
import { VConfirmEdit as bn } from "vuetify/components/VConfirmEdit";
|
|
45
46
|
import { VDatePicker as gn } from "vuetify/components/VDatePicker";
|
|
46
47
|
import { VField as wn } from "vuetify/components/VField";
|
|
47
48
|
import { VFileInput as yn } from "vuetify/components/VFileInput";
|
|
@@ -188,7 +189,7 @@ const Rn = On(
|
|
|
188
189
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
189
190
|
* For licensing, see LICENSE.md.
|
|
190
191
|
*/
|
|
191
|
-
function
|
|
192
|
+
function Wn(e) {
|
|
192
193
|
return Ze(e.licenseKey) ? e : An(e, [
|
|
193
194
|
/**
|
|
194
195
|
* This part of the code is not executed in open-source implementations using a GPL key.
|
|
@@ -198,7 +199,7 @@ function zn(e) {
|
|
|
198
199
|
Rn
|
|
199
200
|
]);
|
|
200
201
|
}
|
|
201
|
-
const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)",
|
|
202
|
+
const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn = /* @__PURE__ */ M({
|
|
202
203
|
name: "CKEditor",
|
|
203
204
|
__name: "ckeditor",
|
|
204
205
|
props: /* @__PURE__ */ Ee({
|
|
@@ -213,47 +214,47 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, Hn =
|
|
|
213
214
|
}),
|
|
214
215
|
emits: /* @__PURE__ */ Ee(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
215
216
|
setup(e, { expose: t, emit: n }) {
|
|
216
|
-
const l = at(e, "modelValue"), a = e, r = n, m = E(), i = E(),
|
|
217
|
+
const l = at(e, "modelValue"), a = e, r = n, m = E(), i = E(), c = E();
|
|
217
218
|
t({
|
|
218
219
|
instance: i,
|
|
219
|
-
lastEditorData:
|
|
220
|
-
}), ie(l, (
|
|
221
|
-
i.value &&
|
|
222
|
-
}), ie(() => a.disabled, (
|
|
223
|
-
|
|
220
|
+
lastEditorData: c
|
|
221
|
+
}), ie(l, (s) => {
|
|
222
|
+
i.value && s !== c.value && i.value.data.set(s);
|
|
223
|
+
}), ie(() => a.disabled, (s) => {
|
|
224
|
+
s ? i.value.enableReadOnlyMode(Ce) : i.value.disableReadOnlyMode(Ce);
|
|
224
225
|
});
|
|
225
|
-
function
|
|
226
|
-
const
|
|
227
|
-
if (!
|
|
226
|
+
function d() {
|
|
227
|
+
const s = window.CKEDITOR_VERSION;
|
|
228
|
+
if (!s)
|
|
228
229
|
return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
|
|
229
|
-
const [
|
|
230
|
-
|
|
230
|
+
const [p] = s.split(".").map(Number);
|
|
231
|
+
p >= 42 || s.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
-
const
|
|
233
|
+
function _(s) {
|
|
234
|
+
const p = pt((h) => {
|
|
234
235
|
if (a.disableTwoWayDataBinding)
|
|
235
236
|
return;
|
|
236
|
-
const
|
|
237
|
-
r("update:modelValue",
|
|
238
|
-
},
|
|
239
|
-
|
|
240
|
-
r("focus",
|
|
241
|
-
}),
|
|
242
|
-
r("blur",
|
|
237
|
+
const g = c.value = s.data.get();
|
|
238
|
+
r("update:modelValue", g, h, s), r("input", g, h, s);
|
|
239
|
+
}, zn, { leading: !0 });
|
|
240
|
+
s.model.document.on("change:data", p), s.editing.view.document.on("focus", (h) => {
|
|
241
|
+
r("focus", h, s);
|
|
242
|
+
}), s.editing.view.document.on("blur", (h) => {
|
|
243
|
+
r("blur", h, s);
|
|
243
244
|
});
|
|
244
245
|
}
|
|
245
|
-
return
|
|
246
|
-
const
|
|
246
|
+
return d(), ze(() => {
|
|
247
|
+
const s = Wn(
|
|
247
248
|
Object.assign({}, a.config)
|
|
248
249
|
);
|
|
249
|
-
l.value && (
|
|
250
|
-
i.value = rt(
|
|
251
|
-
}).catch((
|
|
252
|
-
console.error(
|
|
250
|
+
l.value && (s.initialData = l.value), a.editor.create(m.value, s).then((p) => {
|
|
251
|
+
i.value = rt(p), _(p), l.value !== s.initialData && p.data.set(l.value), a.disabled && p.enableReadOnlyMode(Ce), r("ready", p);
|
|
252
|
+
}).catch((p) => {
|
|
253
|
+
console.error(p);
|
|
253
254
|
});
|
|
254
255
|
}), He(() => {
|
|
255
256
|
i.value && (i.value.destroy(), i.value = void 0), r("destroy");
|
|
256
|
-
}), (
|
|
257
|
+
}), (s, p) => (V(), D(ve(s.tagName), {
|
|
257
258
|
ref_key: "element",
|
|
258
259
|
ref: m
|
|
259
260
|
}, null, 512));
|
|
@@ -278,71 +279,10 @@ const Kn = {
|
|
|
278
279
|
e.component("Ckeditor", Hn);
|
|
279
280
|
}
|
|
280
281
|
};
|
|
281
|
-
function
|
|
282
|
-
return (t = {}) => {
|
|
283
|
-
const n = t.width ? String(t.width) : e.defaultWidth;
|
|
284
|
-
return e.formats[n] || e.formats[e.defaultWidth];
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
function me(e) {
|
|
288
|
-
return (t, n) => {
|
|
289
|
-
const l = n != null && n.context ? String(n.context) : "standalone";
|
|
290
|
-
let a;
|
|
291
|
-
if (l === "formatting" && e.formattingValues) {
|
|
292
|
-
const m = e.defaultFormattingWidth || e.defaultWidth, i = n != null && n.width ? String(n.width) : m;
|
|
293
|
-
a = e.formattingValues[i] || e.formattingValues[m];
|
|
294
|
-
} else {
|
|
295
|
-
const m = e.defaultWidth, i = n != null && n.width ? String(n.width) : e.defaultWidth;
|
|
296
|
-
a = e.values[i] || e.values[m];
|
|
297
|
-
}
|
|
298
|
-
const r = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
299
|
-
return a[r];
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
function pe(e) {
|
|
303
|
-
return (t, n = {}) => {
|
|
304
|
-
const l = n.width, a = l && e.matchPatterns[l] || e.matchPatterns[e.defaultMatchWidth], r = t.match(a);
|
|
305
|
-
if (!r)
|
|
306
|
-
return null;
|
|
307
|
-
const m = r[0], i = l && e.parsePatterns[l] || e.parsePatterns[e.defaultParseWidth], p = Array.isArray(i) ? Gn(i, (u) => u.test(m)) : (
|
|
308
|
-
// [TODO] -- I challenge you to fix the type
|
|
309
|
-
Xn(i, (u) => u.test(m))
|
|
310
|
-
);
|
|
311
|
-
let s;
|
|
312
|
-
s = e.valueCallback ? e.valueCallback(p) : p, s = n.valueCallback ? (
|
|
313
|
-
// [TODO] -- I challenge you to fix the type
|
|
314
|
-
n.valueCallback(s)
|
|
315
|
-
) : s;
|
|
316
|
-
const j = t.slice(m.length);
|
|
317
|
-
return { value: s, rest: j };
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
function Xn(e, t) {
|
|
321
|
-
for (const n in e)
|
|
322
|
-
if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
|
|
323
|
-
return n;
|
|
324
|
-
}
|
|
325
|
-
function Gn(e, t) {
|
|
326
|
-
for (let n = 0; n < e.length; n++)
|
|
327
|
-
if (t(e[n]))
|
|
328
|
-
return n;
|
|
329
|
-
}
|
|
330
|
-
function qn(e) {
|
|
331
|
-
return (t, n = {}) => {
|
|
332
|
-
const l = t.match(e.matchPattern);
|
|
333
|
-
if (!l) return null;
|
|
334
|
-
const a = l[0], r = t.match(e.parsePattern);
|
|
335
|
-
if (!r) return null;
|
|
336
|
-
let m = e.valueCallback ? e.valueCallback(r[0]) : r[0];
|
|
337
|
-
m = n.valueCallback ? n.valueCallback(m) : m;
|
|
338
|
-
const i = t.slice(a.length);
|
|
339
|
-
return { value: m, rest: i };
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
function Yn(e) {
|
|
282
|
+
function Xn(e) {
|
|
343
283
|
return e.one !== void 0;
|
|
344
284
|
}
|
|
345
|
-
const
|
|
285
|
+
const Gn = {
|
|
346
286
|
lessThanXSeconds: {
|
|
347
287
|
present: {
|
|
348
288
|
one: "manj kot {{count}} sekunda",
|
|
@@ -619,7 +559,7 @@ const Qn = {
|
|
|
619
559
|
}
|
|
620
560
|
}
|
|
621
561
|
};
|
|
622
|
-
function
|
|
562
|
+
function qn(e) {
|
|
623
563
|
switch (e % 100) {
|
|
624
564
|
case 1:
|
|
625
565
|
return "one";
|
|
@@ -632,46 +572,53 @@ function Zn(e) {
|
|
|
632
572
|
return "other";
|
|
633
573
|
}
|
|
634
574
|
}
|
|
635
|
-
const
|
|
575
|
+
const Yn = (e, t, n) => {
|
|
636
576
|
let l = "", a = "present";
|
|
637
577
|
n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (a = "future", l = "čez ") : (a = "past", l = "pred "));
|
|
638
|
-
const r =
|
|
578
|
+
const r = Gn[e];
|
|
639
579
|
if (typeof r == "string")
|
|
640
580
|
l += r;
|
|
641
581
|
else {
|
|
642
|
-
const m =
|
|
643
|
-
|
|
582
|
+
const m = qn(t);
|
|
583
|
+
Xn(r) ? l += r[m].replace("{{count}}", String(t)) : l += r[a][m].replace("{{count}}", String(t));
|
|
644
584
|
}
|
|
645
585
|
return l;
|
|
646
|
-
}
|
|
586
|
+
};
|
|
587
|
+
function Te(e) {
|
|
588
|
+
return (t = {}) => {
|
|
589
|
+
const n = t.width ? String(t.width) : e.defaultWidth;
|
|
590
|
+
return e.formats[n] || e.formats[e.defaultWidth];
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
const Qn = {
|
|
647
594
|
full: "EEEE, dd. MMMM y",
|
|
648
595
|
long: "dd. MMMM y",
|
|
649
596
|
medium: "d. MMM y",
|
|
650
597
|
short: "d. MM. yy"
|
|
651
|
-
},
|
|
598
|
+
}, Zn = {
|
|
652
599
|
full: "HH:mm:ss zzzz",
|
|
653
600
|
long: "HH:mm:ss z",
|
|
654
601
|
medium: "HH:mm:ss",
|
|
655
602
|
short: "HH:mm"
|
|
656
|
-
},
|
|
603
|
+
}, Jn = {
|
|
657
604
|
full: "{{date}} {{time}}",
|
|
658
605
|
long: "{{date}} {{time}}",
|
|
659
606
|
medium: "{{date}} {{time}}",
|
|
660
607
|
short: "{{date}} {{time}}"
|
|
661
|
-
},
|
|
608
|
+
}, eo = {
|
|
662
609
|
date: Te({
|
|
663
|
-
formats:
|
|
610
|
+
formats: Qn,
|
|
664
611
|
defaultWidth: "full"
|
|
665
612
|
}),
|
|
666
613
|
time: Te({
|
|
667
|
-
formats:
|
|
614
|
+
formats: Zn,
|
|
668
615
|
defaultWidth: "full"
|
|
669
616
|
}),
|
|
670
617
|
dateTime: Te({
|
|
671
|
-
formats:
|
|
618
|
+
formats: Jn,
|
|
672
619
|
defaultWidth: "full"
|
|
673
620
|
})
|
|
674
|
-
},
|
|
621
|
+
}, to = {
|
|
675
622
|
lastWeek: (e) => {
|
|
676
623
|
switch (e.getDay()) {
|
|
677
624
|
case 0:
|
|
@@ -700,18 +647,34 @@ const Jn = (e, t, n) => {
|
|
|
700
647
|
}
|
|
701
648
|
},
|
|
702
649
|
other: "P"
|
|
703
|
-
},
|
|
704
|
-
const a =
|
|
650
|
+
}, no = (e, t, n, l) => {
|
|
651
|
+
const a = to[e];
|
|
705
652
|
return typeof a == "function" ? a(t) : a;
|
|
706
|
-
}
|
|
653
|
+
};
|
|
654
|
+
function de(e) {
|
|
655
|
+
return (t, n) => {
|
|
656
|
+
const l = n != null && n.context ? String(n.context) : "standalone";
|
|
657
|
+
let a;
|
|
658
|
+
if (l === "formatting" && e.formattingValues) {
|
|
659
|
+
const m = e.defaultFormattingWidth || e.defaultWidth, i = n != null && n.width ? String(n.width) : m;
|
|
660
|
+
a = e.formattingValues[i] || e.formattingValues[m];
|
|
661
|
+
} else {
|
|
662
|
+
const m = e.defaultWidth, i = n != null && n.width ? String(n.width) : e.defaultWidth;
|
|
663
|
+
a = e.values[i] || e.values[m];
|
|
664
|
+
}
|
|
665
|
+
const r = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
666
|
+
return a[r];
|
|
667
|
+
};
|
|
668
|
+
}
|
|
669
|
+
const oo = {
|
|
707
670
|
narrow: ["pr. n. št.", "po n. št."],
|
|
708
671
|
abbreviated: ["pr. n. št.", "po n. št."],
|
|
709
672
|
wide: ["pred našim štetjem", "po našem štetju"]
|
|
710
|
-
},
|
|
673
|
+
}, lo = {
|
|
711
674
|
narrow: ["1", "2", "3", "4"],
|
|
712
675
|
abbreviated: ["1. čet.", "2. čet.", "3. čet.", "4. čet."],
|
|
713
676
|
wide: ["1. četrtletje", "2. četrtletje", "3. četrtletje", "4. četrtletje"]
|
|
714
|
-
},
|
|
677
|
+
}, ao = {
|
|
715
678
|
narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
716
679
|
abbreviated: [
|
|
717
680
|
"jan.",
|
|
@@ -741,7 +704,7 @@ const Jn = (e, t, n) => {
|
|
|
741
704
|
"november",
|
|
742
705
|
"december"
|
|
743
706
|
]
|
|
744
|
-
},
|
|
707
|
+
}, ro = {
|
|
745
708
|
narrow: ["n", "p", "t", "s", "č", "p", "s"],
|
|
746
709
|
short: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
|
|
747
710
|
abbreviated: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
|
|
@@ -754,7 +717,7 @@ const Jn = (e, t, n) => {
|
|
|
754
717
|
"petek",
|
|
755
718
|
"sobota"
|
|
756
719
|
]
|
|
757
|
-
},
|
|
720
|
+
}, io = {
|
|
758
721
|
narrow: {
|
|
759
722
|
am: "d",
|
|
760
723
|
pm: "p",
|
|
@@ -785,7 +748,7 @@ const Jn = (e, t, n) => {
|
|
|
785
748
|
evening: "večer",
|
|
786
749
|
night: "noč"
|
|
787
750
|
}
|
|
788
|
-
},
|
|
751
|
+
}, so = {
|
|
789
752
|
narrow: {
|
|
790
753
|
am: "d",
|
|
791
754
|
pm: "p",
|
|
@@ -816,32 +779,73 @@ const Jn = (e, t, n) => {
|
|
|
816
779
|
evening: "zvečer",
|
|
817
780
|
night: "ponoči"
|
|
818
781
|
}
|
|
819
|
-
},
|
|
820
|
-
ordinalNumber:
|
|
821
|
-
era:
|
|
822
|
-
values:
|
|
782
|
+
}, uo = (e, t) => Number(e) + ".", co = {
|
|
783
|
+
ordinalNumber: uo,
|
|
784
|
+
era: de({
|
|
785
|
+
values: oo,
|
|
823
786
|
defaultWidth: "wide"
|
|
824
787
|
}),
|
|
825
|
-
quarter:
|
|
826
|
-
values:
|
|
788
|
+
quarter: de({
|
|
789
|
+
values: lo,
|
|
827
790
|
defaultWidth: "wide",
|
|
828
791
|
argumentCallback: (e) => e - 1
|
|
829
792
|
}),
|
|
830
|
-
month:
|
|
831
|
-
values:
|
|
793
|
+
month: de({
|
|
794
|
+
values: ao,
|
|
832
795
|
defaultWidth: "wide"
|
|
833
796
|
}),
|
|
834
|
-
day:
|
|
835
|
-
values:
|
|
797
|
+
day: de({
|
|
798
|
+
values: ro,
|
|
836
799
|
defaultWidth: "wide"
|
|
837
800
|
}),
|
|
838
|
-
dayPeriod:
|
|
839
|
-
values:
|
|
801
|
+
dayPeriod: de({
|
|
802
|
+
values: io,
|
|
840
803
|
defaultWidth: "wide",
|
|
841
|
-
formattingValues:
|
|
804
|
+
formattingValues: so,
|
|
842
805
|
defaultFormattingWidth: "wide"
|
|
843
806
|
})
|
|
844
|
-
}
|
|
807
|
+
};
|
|
808
|
+
function me(e) {
|
|
809
|
+
return (t, n = {}) => {
|
|
810
|
+
const l = n.width, a = l && e.matchPatterns[l] || e.matchPatterns[e.defaultMatchWidth], r = t.match(a);
|
|
811
|
+
if (!r)
|
|
812
|
+
return null;
|
|
813
|
+
const m = r[0], i = l && e.parsePatterns[l] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(i) ? po(i, (s) => s.test(m)) : (
|
|
814
|
+
// [TODO] -- I challenge you to fix the type
|
|
815
|
+
mo(i, (s) => s.test(m))
|
|
816
|
+
);
|
|
817
|
+
let d;
|
|
818
|
+
d = e.valueCallback ? e.valueCallback(c) : c, d = n.valueCallback ? (
|
|
819
|
+
// [TODO] -- I challenge you to fix the type
|
|
820
|
+
n.valueCallback(d)
|
|
821
|
+
) : d;
|
|
822
|
+
const _ = t.slice(m.length);
|
|
823
|
+
return { value: d, rest: _ };
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
function mo(e, t) {
|
|
827
|
+
for (const n in e)
|
|
828
|
+
if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
|
|
829
|
+
return n;
|
|
830
|
+
}
|
|
831
|
+
function po(e, t) {
|
|
832
|
+
for (let n = 0; n < e.length; n++)
|
|
833
|
+
if (t(e[n]))
|
|
834
|
+
return n;
|
|
835
|
+
}
|
|
836
|
+
function fo(e) {
|
|
837
|
+
return (t, n = {}) => {
|
|
838
|
+
const l = t.match(e.matchPattern);
|
|
839
|
+
if (!l) return null;
|
|
840
|
+
const a = l[0], r = t.match(e.parsePattern);
|
|
841
|
+
if (!r) return null;
|
|
842
|
+
let m = e.valueCallback ? e.valueCallback(r[0]) : r[0];
|
|
843
|
+
m = n.valueCallback ? n.valueCallback(m) : m;
|
|
844
|
+
const i = t.slice(a.length);
|
|
845
|
+
return { value: m, rest: i };
|
|
846
|
+
};
|
|
847
|
+
}
|
|
848
|
+
const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
|
|
845
849
|
abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
|
|
846
850
|
wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
|
|
847
851
|
}, go = {
|
|
@@ -932,37 +936,37 @@ const Jn = (e, t, n) => {
|
|
|
932
936
|
night: /(po)?no/i
|
|
933
937
|
}
|
|
934
938
|
}, Bo = {
|
|
935
|
-
ordinalNumber:
|
|
939
|
+
ordinalNumber: fo({
|
|
936
940
|
matchPattern: vo,
|
|
937
|
-
parsePattern:
|
|
941
|
+
parsePattern: ho,
|
|
938
942
|
valueCallback: (e) => parseInt(e, 10)
|
|
939
943
|
}),
|
|
940
|
-
era:
|
|
941
|
-
matchPatterns:
|
|
944
|
+
era: me({
|
|
945
|
+
matchPatterns: bo,
|
|
942
946
|
defaultMatchWidth: "wide",
|
|
943
947
|
parsePatterns: go,
|
|
944
948
|
defaultParseWidth: "any"
|
|
945
949
|
}),
|
|
946
|
-
quarter:
|
|
950
|
+
quarter: me({
|
|
947
951
|
matchPatterns: wo,
|
|
948
952
|
defaultMatchWidth: "wide",
|
|
949
953
|
parsePatterns: yo,
|
|
950
954
|
defaultParseWidth: "any",
|
|
951
955
|
valueCallback: (e) => e + 1
|
|
952
956
|
}),
|
|
953
|
-
month:
|
|
957
|
+
month: me({
|
|
954
958
|
matchPatterns: ko,
|
|
955
959
|
defaultMatchWidth: "wide",
|
|
956
960
|
parsePatterns: Vo,
|
|
957
961
|
defaultParseWidth: "wide"
|
|
958
962
|
}),
|
|
959
|
-
day:
|
|
963
|
+
day: me({
|
|
960
964
|
matchPatterns: _o,
|
|
961
965
|
defaultMatchWidth: "wide",
|
|
962
966
|
parsePatterns: jo,
|
|
963
967
|
defaultParseWidth: "any"
|
|
964
968
|
}),
|
|
965
|
-
dayPeriod:
|
|
969
|
+
dayPeriod: me({
|
|
966
970
|
matchPatterns: Co,
|
|
967
971
|
defaultMatchWidth: "any",
|
|
968
972
|
parsePatterns: To,
|
|
@@ -970,10 +974,10 @@ const Jn = (e, t, n) => {
|
|
|
970
974
|
})
|
|
971
975
|
}, Io = {
|
|
972
976
|
code: "sl",
|
|
973
|
-
formatDistance:
|
|
974
|
-
formatLong:
|
|
975
|
-
formatRelative:
|
|
976
|
-
localize:
|
|
977
|
+
formatDistance: Yn,
|
|
978
|
+
formatLong: eo,
|
|
979
|
+
formatRelative: no,
|
|
980
|
+
localize: co,
|
|
977
981
|
match: Bo,
|
|
978
982
|
options: {
|
|
979
983
|
weekStartsOn: 1,
|
|
@@ -992,18 +996,18 @@ const Jn = (e, t, n) => {
|
|
|
992
996
|
},
|
|
993
997
|
setup(e) {
|
|
994
998
|
return (t, n) => {
|
|
995
|
-
const l =
|
|
996
|
-
return V(),
|
|
997
|
-
t.label.icon ? (V(),
|
|
998
|
-
t.label.iconComponent === "v-icon" ? (V(),
|
|
999
|
+
const l = S("v-img");
|
|
1000
|
+
return V(), O("div", Do, [
|
|
1001
|
+
t.label.icon ? (V(), O(Ke, { key: 0 }, [
|
|
1002
|
+
t.label.iconComponent === "v-icon" ? (V(), D(o(he), {
|
|
999
1003
|
key: 0,
|
|
1000
|
-
|
|
1004
|
+
name: t.label.icon,
|
|
1001
1005
|
size: "1.25em"
|
|
1002
|
-
}, null, 8, ["
|
|
1006
|
+
}, null, 8, ["name"])) : t.label.iconComponent === "v-img" ? (V(), D(l, {
|
|
1003
1007
|
key: 1,
|
|
1004
1008
|
class: "icon",
|
|
1005
1009
|
src: t.label.icon
|
|
1006
|
-
}, null, 8, ["src"])) : (V(),
|
|
1010
|
+
}, null, 8, ["src"])) : (V(), D(ve(t.label.iconComponent), {
|
|
1007
1011
|
key: 2,
|
|
1008
1012
|
src: t.label.icon
|
|
1009
1013
|
}, null, 8, ["src"]))
|
|
@@ -1012,65 +1016,72 @@ const Jn = (e, t, n) => {
|
|
|
1012
1016
|
]);
|
|
1013
1017
|
};
|
|
1014
1018
|
}
|
|
1015
|
-
}),
|
|
1019
|
+
}), be = (e, t) => {
|
|
1016
1020
|
const n = e.__vccOpts || e;
|
|
1017
1021
|
for (const [l, a] of t)
|
|
1018
1022
|
n[l] = a;
|
|
1019
1023
|
return n;
|
|
1020
|
-
}, oe = /* @__PURE__ */
|
|
1024
|
+
}, oe = /* @__PURE__ */ be(xo, [["__scopeId", "data-v-6d63a202"]]), Je = Symbol("vuetifyInputsSettingsKey");
|
|
1021
1025
|
class $o {
|
|
1022
1026
|
constructor(t, n, l = "v-icon") {
|
|
1023
1027
|
this.text = t, this.icon = n, this.iconComponent = l;
|
|
1024
1028
|
}
|
|
1025
1029
|
}
|
|
1026
|
-
const
|
|
1030
|
+
const q = { enabled: void 0, clearable: !0 };
|
|
1027
1031
|
function K(e, t) {
|
|
1028
|
-
const n = ut(Je, {}), l = E(null), a =
|
|
1032
|
+
const n = ut(Je, {}), l = E(null), a = k({
|
|
1029
1033
|
get() {
|
|
1030
1034
|
return e.control ? e.control.value : e.modelValue === void 0 ? l.value : e.modelValue;
|
|
1031
1035
|
},
|
|
1032
|
-
set(
|
|
1033
|
-
e.control && (e.control.value =
|
|
1036
|
+
set(v) {
|
|
1037
|
+
e.control && (e.control.value = v), e.modelValue === void 0 && (l.value = v), t("update:modelValue", v);
|
|
1034
1038
|
}
|
|
1035
1039
|
});
|
|
1036
1040
|
if (e.control && !(e.control instanceof Oe.FieldBase))
|
|
1037
1041
|
throw new Error("control prop is not a vue-form control instance");
|
|
1038
|
-
const r =
|
|
1039
|
-
()
|
|
1040
|
-
|
|
1042
|
+
const r = k({
|
|
1043
|
+
get() {
|
|
1044
|
+
return e.control.touched;
|
|
1045
|
+
},
|
|
1046
|
+
set(v) {
|
|
1047
|
+
e.control.touched = v;
|
|
1048
|
+
}
|
|
1049
|
+
}), m = e.control ? r : E(!1), i = k(() => e.control ? e.control.valid : !0), c = k(
|
|
1050
|
+
() => e.control ? e.control.errors : (e.errors || []).map((v) => new bt(v))
|
|
1051
|
+
), d = k(() => m.value && c.value.length > 0 ? " " : void 0), _ = k(() => e.control ? e.control.enabled : e.enabled !== !1), s = k(
|
|
1041
1052
|
() => e.control ? e.control.visibility : e.visibility || Oe.DisplayMode.FULL
|
|
1042
|
-
),
|
|
1053
|
+
), p = k(
|
|
1043
1054
|
() => ee(e.label || "") ? new $o(e.label || "") : e.label
|
|
1044
|
-
),
|
|
1055
|
+
), h = k(() => e.placeholder || ""), g = k(() => e.helpText || ""), w = k(() => e.hint || ""), j = k(() => e.cssClass || "");
|
|
1045
1056
|
return {
|
|
1046
1057
|
value: a,
|
|
1047
|
-
valid:
|
|
1048
|
-
enabled:
|
|
1049
|
-
errors:
|
|
1050
|
-
visibility:
|
|
1051
|
-
label:
|
|
1052
|
-
touched:
|
|
1053
|
-
vuetifyBindings:
|
|
1054
|
-
var
|
|
1058
|
+
valid: i,
|
|
1059
|
+
enabled: _,
|
|
1060
|
+
errors: c,
|
|
1061
|
+
visibility: s,
|
|
1062
|
+
label: p,
|
|
1063
|
+
touched: m,
|
|
1064
|
+
vuetifyBindings: k(() => {
|
|
1065
|
+
var v, A;
|
|
1055
1066
|
return x({
|
|
1056
|
-
name: (
|
|
1057
|
-
class:
|
|
1067
|
+
name: (v = e.control) == null ? void 0 : v.fieldName,
|
|
1068
|
+
class: j.value,
|
|
1058
1069
|
density: "default",
|
|
1059
|
-
variant: (
|
|
1060
|
-
label:
|
|
1061
|
-
messages:
|
|
1062
|
-
errorMessages:
|
|
1070
|
+
variant: (A = n.defaultVariant) != null ? A : "underlined",
|
|
1071
|
+
label: p.value.text,
|
|
1072
|
+
messages: d.value,
|
|
1073
|
+
errorMessages: d.value,
|
|
1063
1074
|
// 'error-count': errors?.value.length || 0,
|
|
1064
|
-
readonly: !
|
|
1065
|
-
disabled: !
|
|
1066
|
-
placeholder:
|
|
1067
|
-
"persistent-placeholder": !
|
|
1068
|
-
hint:
|
|
1075
|
+
readonly: !_.value,
|
|
1076
|
+
disabled: !_.value,
|
|
1077
|
+
placeholder: h.value,
|
|
1078
|
+
"persistent-placeholder": !pe(h.value),
|
|
1079
|
+
hint: w.value,
|
|
1069
1080
|
persistentHint: !0,
|
|
1070
1081
|
// we want persistent hint always
|
|
1071
1082
|
hideDetails: "auto",
|
|
1072
1083
|
// we want to hide the hint element when hint isn't there
|
|
1073
|
-
helpText:
|
|
1084
|
+
helpText: g.value
|
|
1074
1085
|
}, e.passthroughAttrs || {});
|
|
1075
1086
|
})
|
|
1076
1087
|
};
|
|
@@ -1092,10 +1103,12 @@ const le = /* @__PURE__ */ M({
|
|
|
1092
1103
|
l.push(we("div", { class: t.classes }, a.componentBody));
|
|
1093
1104
|
break;
|
|
1094
1105
|
case "vue-markdown":
|
|
1095
|
-
l.push(
|
|
1096
|
-
wt,
|
|
1097
|
-
|
|
1098
|
-
|
|
1106
|
+
l.push(
|
|
1107
|
+
we(wt, {
|
|
1108
|
+
class: [t.classes, "df-messages-widget-markdown"],
|
|
1109
|
+
source: a.componentBindings.source
|
|
1110
|
+
})
|
|
1111
|
+
);
|
|
1099
1112
|
break;
|
|
1100
1113
|
default:
|
|
1101
1114
|
l.push(
|
|
@@ -1105,7 +1118,7 @@ const le = /* @__PURE__ */ M({
|
|
|
1105
1118
|
}
|
|
1106
1119
|
}), l;
|
|
1107
1120
|
};
|
|
1108
|
-
return (l, a) => (V(),
|
|
1121
|
+
return (l, a) => (V(), D(n));
|
|
1109
1122
|
}
|
|
1110
1123
|
}), So = { class: "d-flex w-100 style-resetting" }, Eo = /* @__PURE__ */ M({
|
|
1111
1124
|
__name: "input-base",
|
|
@@ -1126,70 +1139,70 @@ const le = /* @__PURE__ */ M({
|
|
|
1126
1139
|
},
|
|
1127
1140
|
emits: ["update:modelValue", "click:clear", "blur"],
|
|
1128
1141
|
setup(e, { emit: t }) {
|
|
1129
|
-
const n = e, l = t, { errors: a, label: r, value: m, touched: i, visibility:
|
|
1130
|
-
function
|
|
1131
|
-
|
|
1142
|
+
const n = e, l = t, { errors: a, label: r, value: m, touched: i, visibility: c, vuetifyBindings: d } = K(n, l), _ = k(() => !!(o(n.clearable) && o(m))), s = E(!1);
|
|
1143
|
+
function p(h) {
|
|
1144
|
+
s.value = h, h || (i.value = !0, l("blur"));
|
|
1132
1145
|
}
|
|
1133
|
-
return (
|
|
1134
|
-
const
|
|
1135
|
-
return o(
|
|
1146
|
+
return (h, g) => {
|
|
1147
|
+
const w = S("v-field"), j = S("v-input");
|
|
1148
|
+
return o(c) !== o(H).SUPPRESS ? (V(), D(j, {
|
|
1136
1149
|
key: 0,
|
|
1137
|
-
name: o(
|
|
1138
|
-
hint: o(
|
|
1139
|
-
"persistent-hint": o(
|
|
1140
|
-
"hide-details": o(
|
|
1141
|
-
"error-messages": o(
|
|
1150
|
+
name: o(d).name,
|
|
1151
|
+
hint: o(d).hint,
|
|
1152
|
+
"persistent-hint": o(d).persistentHint,
|
|
1153
|
+
"hide-details": o(d).hideDetails,
|
|
1154
|
+
"error-messages": o(d).errorMessages,
|
|
1142
1155
|
class: Ie([
|
|
1143
|
-
|
|
1156
|
+
h.cssClass,
|
|
1144
1157
|
{
|
|
1145
|
-
"d-none": o(
|
|
1146
|
-
invisible: o(
|
|
1158
|
+
"d-none": o(c) === o(H).HIDDEN,
|
|
1159
|
+
invisible: o(c) === o(H).INVISIBLE
|
|
1147
1160
|
}
|
|
1148
1161
|
])
|
|
1149
|
-
},
|
|
1150
|
-
message: b(({ message:
|
|
1162
|
+
}, X({
|
|
1163
|
+
message: b(({ message: v }) => [
|
|
1151
1164
|
B(le, {
|
|
1152
|
-
message:
|
|
1165
|
+
message: v,
|
|
1153
1166
|
errors: o(a)
|
|
1154
1167
|
}, null, 8, ["message", "errors"])
|
|
1155
1168
|
]),
|
|
1156
1169
|
default: b(() => [
|
|
1157
|
-
B(
|
|
1158
|
-
variant: o(
|
|
1159
|
-
label: o(
|
|
1160
|
-
disabled: o(
|
|
1161
|
-
clearable:
|
|
1170
|
+
B(w, {
|
|
1171
|
+
variant: o(d).variant,
|
|
1172
|
+
label: o(d).label,
|
|
1173
|
+
disabled: o(d).disabled,
|
|
1174
|
+
clearable: _.value,
|
|
1162
1175
|
"persistent-clear": !0,
|
|
1163
1176
|
dirty: !!o(m),
|
|
1164
|
-
active:
|
|
1165
|
-
loading:
|
|
1166
|
-
"onClick:clear":
|
|
1167
|
-
"onUpdate:focused":
|
|
1168
|
-
},
|
|
1169
|
-
default: b((
|
|
1177
|
+
active: s.value,
|
|
1178
|
+
loading: h.loading,
|
|
1179
|
+
"onClick:clear": g[0] || (g[0] = (v) => l("click:clear")),
|
|
1180
|
+
"onUpdate:focused": g[1] || (g[1] = (v) => p(v))
|
|
1181
|
+
}, X({
|
|
1182
|
+
default: b((v) => [
|
|
1170
1183
|
ne("div", So, [
|
|
1171
|
-
re(
|
|
1184
|
+
re(h.$slots, "default", Z(J(v)), void 0, !0)
|
|
1172
1185
|
])
|
|
1173
1186
|
]),
|
|
1174
|
-
loader: b((
|
|
1175
|
-
re(
|
|
1187
|
+
loader: b((v) => [
|
|
1188
|
+
re(h.$slots, "loader", Z(J(v)), void 0, !0)
|
|
1176
1189
|
]),
|
|
1177
1190
|
_: 2
|
|
1178
1191
|
}, [
|
|
1179
1192
|
o(r).icon ? {
|
|
1180
1193
|
name: "label",
|
|
1181
|
-
fn: b((
|
|
1194
|
+
fn: b((v) => [
|
|
1182
1195
|
B(oe, {
|
|
1183
|
-
data:
|
|
1196
|
+
data: v,
|
|
1184
1197
|
label: o(r)
|
|
1185
1198
|
}, null, 8, ["data", "label"])
|
|
1186
1199
|
]),
|
|
1187
1200
|
key: "0"
|
|
1188
1201
|
} : void 0,
|
|
1189
|
-
|
|
1202
|
+
h.$slots["prepend-inner"] ? {
|
|
1190
1203
|
name: "prepend-inner",
|
|
1191
|
-
fn: b((
|
|
1192
|
-
re(
|
|
1204
|
+
fn: b((v) => [
|
|
1205
|
+
re(h.$slots, "prepend-inner", Z(J(v)), void 0, !0)
|
|
1193
1206
|
]),
|
|
1194
1207
|
key: "1"
|
|
1195
1208
|
} : void 0
|
|
@@ -1197,27 +1210,27 @@ const le = /* @__PURE__ */ M({
|
|
|
1197
1210
|
]),
|
|
1198
1211
|
_: 2
|
|
1199
1212
|
}, [
|
|
1200
|
-
|
|
1213
|
+
h.$slots.prepend ? {
|
|
1201
1214
|
name: "prepend",
|
|
1202
|
-
fn: b((
|
|
1203
|
-
re(
|
|
1215
|
+
fn: b((v) => [
|
|
1216
|
+
re(h.$slots, "prepend", Z(J(v)), void 0, !0)
|
|
1204
1217
|
]),
|
|
1205
1218
|
key: "0"
|
|
1206
1219
|
} : void 0
|
|
1207
1220
|
]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
|
|
1208
1221
|
};
|
|
1209
1222
|
}
|
|
1210
|
-
}), Pe = /* @__PURE__ */
|
|
1223
|
+
}), Pe = /* @__PURE__ */ be(Eo, [["__scopeId", "data-v-3689b7f9"]]), fe = {
|
|
1211
1224
|
Yes: "Yes",
|
|
1212
1225
|
No: "No",
|
|
1213
1226
|
Close: "Close"
|
|
1214
1227
|
};
|
|
1215
|
-
function
|
|
1216
|
-
Object.keys(
|
|
1217
|
-
|
|
1228
|
+
function Wl(e) {
|
|
1229
|
+
Object.keys(fe).forEach((t) => {
|
|
1230
|
+
fe[t] = e(t);
|
|
1218
1231
|
});
|
|
1219
1232
|
}
|
|
1220
|
-
var
|
|
1233
|
+
var R = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(R || {});
|
|
1221
1234
|
const Re = 0;
|
|
1222
1235
|
((e) => {
|
|
1223
1236
|
function t(a) {
|
|
@@ -1234,20 +1247,20 @@ const Re = 0;
|
|
|
1234
1247
|
return Object.values(e).includes(r);
|
|
1235
1248
|
}
|
|
1236
1249
|
e.isDefined = l;
|
|
1237
|
-
})(
|
|
1238
|
-
Object.freeze(
|
|
1239
|
-
const
|
|
1250
|
+
})(R || (R = {}));
|
|
1251
|
+
Object.freeze(R);
|
|
1252
|
+
const We = ["xs", "sm", "md", "lg", "xl"];
|
|
1240
1253
|
class Ao {
|
|
1241
1254
|
constructor(t) {
|
|
1242
1255
|
$e(this, "_value");
|
|
1243
|
-
this._value = this.cleanBreakpoint(t, !0), t &&
|
|
1256
|
+
this._value = this.cleanBreakpoint(t, !0), t && We.forEach((n) => {
|
|
1244
1257
|
const l = this.cleanBreakpoint(t[n]);
|
|
1245
1258
|
l && (this._value[n] = l);
|
|
1246
1259
|
});
|
|
1247
1260
|
}
|
|
1248
1261
|
getOptionsForBreakpoint(t) {
|
|
1249
1262
|
const n = this.cleanBreakpoint(this._value), l = Object.keys(n);
|
|
1250
|
-
for (const a of
|
|
1263
|
+
for (const a of We) {
|
|
1251
1264
|
const r = this._value[a];
|
|
1252
1265
|
for (const m of l)
|
|
1253
1266
|
(r == null ? void 0 : r[m]) != null && (n[m] = r[m]);
|
|
@@ -1261,14 +1274,13 @@ function No(e) {
|
|
|
1261
1274
|
}
|
|
1262
1275
|
function Fo() {
|
|
1263
1276
|
const e = yt();
|
|
1264
|
-
return
|
|
1277
|
+
return k(() => No(e));
|
|
1265
1278
|
}
|
|
1266
1279
|
class Lo extends Ao {
|
|
1267
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1268
1280
|
cleanBreakpoint(t, n = !1) {
|
|
1269
1281
|
if ((!t || !ft(t)) && !n) return null;
|
|
1270
1282
|
const l = {};
|
|
1271
|
-
return n && (l.renderAs =
|
|
1283
|
+
return n && (l.renderAs = R.BUTTON, l.showLabel = !0, l.showIcon = !0), t && (t.renderAs != null && (l.renderAs = R.fromAny(t.renderAs)), ee(t.label) && (l.label = t.label), ee(t.icon) && (l.icon = t.icon), Fe(t.showLabel) && (l.showLabel = t.showLabel), Fe(t.showIcon) && (l.showIcon = t.showIcon)), Object.keys(l).length ? l : null;
|
|
1272
1284
|
}
|
|
1273
1285
|
}
|
|
1274
1286
|
class ke extends gt {
|
|
@@ -1276,15 +1288,15 @@ class ke extends gt {
|
|
|
1276
1288
|
return super.create(t);
|
|
1277
1289
|
}
|
|
1278
1290
|
getBreakpointValue(t) {
|
|
1279
|
-
return
|
|
1291
|
+
return k(() => {
|
|
1280
1292
|
const l = new Lo(this.value).getOptionsForBreakpoint(t.value);
|
|
1281
1293
|
return {
|
|
1282
1294
|
name: l.name,
|
|
1283
1295
|
label: l.showLabel ? l.label : void 0,
|
|
1284
1296
|
icon: l.showIcon ? l.icon : void 0,
|
|
1285
1297
|
renderAs: l.renderAs,
|
|
1286
|
-
showLabel: ee(l.label) && !
|
|
1287
|
-
showIcon: ee(l.icon) && !
|
|
1298
|
+
showLabel: ee(l.label) && !pe(l.label) ? l.showLabel : !1,
|
|
1299
|
+
showIcon: ee(l.icon) && !pe(l.icon) ? l.showIcon : !1
|
|
1288
1300
|
};
|
|
1289
1301
|
});
|
|
1290
1302
|
}
|
|
@@ -1295,13 +1307,13 @@ class ke extends gt {
|
|
|
1295
1307
|
return this.value.showLabel ? this.value.label : void 0;
|
|
1296
1308
|
}
|
|
1297
1309
|
get showLabel() {
|
|
1298
|
-
return ee(this.value.label) && !
|
|
1310
|
+
return ee(this.value.label) && !pe(this.value.label) ? this.value.showLabel : !1;
|
|
1299
1311
|
}
|
|
1300
1312
|
get icon() {
|
|
1301
1313
|
return this.value.showIcon ? this.value.icon : void 0;
|
|
1302
1314
|
}
|
|
1303
1315
|
get showIcon() {
|
|
1304
|
-
return ee(this.value.icon) && !
|
|
1316
|
+
return ee(this.value.icon) && !pe(this.value.icon) ? this.value.showIcon : !1;
|
|
1305
1317
|
}
|
|
1306
1318
|
get renderAs() {
|
|
1307
1319
|
return this.value.renderAs;
|
|
@@ -1312,9 +1324,9 @@ class ke extends gt {
|
|
|
1312
1324
|
// any properties in data should overwrite properties in the constant
|
|
1313
1325
|
value: {
|
|
1314
1326
|
name: "close",
|
|
1315
|
-
label:
|
|
1327
|
+
label: fe.Close,
|
|
1316
1328
|
icon: "close-outline",
|
|
1317
|
-
renderAs:
|
|
1329
|
+
renderAs: R.BUTTON,
|
|
1318
1330
|
showLabel: !0,
|
|
1319
1331
|
showIcon: !0
|
|
1320
1332
|
}
|
|
@@ -1327,9 +1339,9 @@ class ke extends gt {
|
|
|
1327
1339
|
// any properties in data should overwrite properties in the constant
|
|
1328
1340
|
value: {
|
|
1329
1341
|
name: "yes",
|
|
1330
|
-
label:
|
|
1342
|
+
label: fe.Yes,
|
|
1331
1343
|
icon: "thumbs-up-outline",
|
|
1332
|
-
renderAs:
|
|
1344
|
+
renderAs: R.BUTTON,
|
|
1333
1345
|
showLabel: !0,
|
|
1334
1346
|
showIcon: !0
|
|
1335
1347
|
}
|
|
@@ -1342,9 +1354,9 @@ class ke extends gt {
|
|
|
1342
1354
|
// any properties in data should overwrite properties in the constant
|
|
1343
1355
|
value: {
|
|
1344
1356
|
name: "no",
|
|
1345
|
-
label:
|
|
1357
|
+
label: fe.No,
|
|
1346
1358
|
icon: "thumbs-down-outline",
|
|
1347
|
-
renderAs:
|
|
1359
|
+
renderAs: R.BUTTON,
|
|
1348
1360
|
showLabel: !0,
|
|
1349
1361
|
showIcon: !0
|
|
1350
1362
|
}
|
|
@@ -1354,7 +1366,7 @@ class ke extends gt {
|
|
|
1354
1366
|
}
|
|
1355
1367
|
const Mo = {
|
|
1356
1368
|
key: 1,
|
|
1357
|
-
style: { width: ".5rem" }
|
|
1369
|
+
style: { width: "0.5rem" }
|
|
1358
1370
|
}, Uo = { key: 2 }, Oo = /* @__PURE__ */ M({
|
|
1359
1371
|
__name: "df-actions",
|
|
1360
1372
|
props: {
|
|
@@ -1363,42 +1375,43 @@ const Mo = {
|
|
|
1363
1375
|
showAsGroup: { default: "no" }
|
|
1364
1376
|
},
|
|
1365
1377
|
setup(e) {
|
|
1366
|
-
const t = e, n = Fo(), l =
|
|
1367
|
-
|
|
1368
|
-
|
|
1378
|
+
const t = e, n = Fo(), l = k(() => o(t.actions)), a = k(
|
|
1379
|
+
() => l.value.map((r) => x({
|
|
1380
|
+
action: r
|
|
1381
|
+
}, o(r.getBreakpointValue(n))))
|
|
1382
|
+
);
|
|
1369
1383
|
return (r, m) => {
|
|
1370
|
-
const i =
|
|
1371
|
-
return l.value.length > 0 ? (V(),
|
|
1384
|
+
const i = S("v-btn");
|
|
1385
|
+
return l.value.length > 0 ? (V(), O("div", {
|
|
1372
1386
|
key: 0,
|
|
1373
1387
|
class: Ie(["text-end", {
|
|
1374
1388
|
"button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
|
|
1375
1389
|
"with-border": r.showAsGroup === "grouped"
|
|
1376
1390
|
}])
|
|
1377
1391
|
}, [
|
|
1378
|
-
(V(!0),
|
|
1379
|
-
key:
|
|
1380
|
-
variant:
|
|
1392
|
+
(V(!0), O(Ke, null, ct(a.value, (c, d) => (V(), D(i, {
|
|
1393
|
+
key: d,
|
|
1394
|
+
variant: c.renderAs === o(R).BUTTON ? "tonal" : "text",
|
|
1381
1395
|
elevation: 0,
|
|
1382
1396
|
size: r.buttonSize,
|
|
1383
|
-
onClick: dt((
|
|
1397
|
+
onClick: dt((_) => c.action.execute(_), ["stop"])
|
|
1384
1398
|
}, {
|
|
1385
1399
|
default: b(() => [
|
|
1386
|
-
|
|
1400
|
+
c.icon ? (V(), D(o(he), {
|
|
1387
1401
|
key: 0,
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
s.label ? (V(), R("span", Uo, Be(s.label), 1)) : L("", !0)
|
|
1402
|
+
name: c.icon
|
|
1403
|
+
}, null, 8, ["name"])) : L("", !0),
|
|
1404
|
+
c.icon && c.label ? (V(), O("span", Mo)) : L("", !0),
|
|
1405
|
+
c.label ? (V(), O("span", Uo, Be(c.label), 1)) : L("", !0)
|
|
1393
1406
|
]),
|
|
1394
1407
|
_: 2
|
|
1395
1408
|
}, 1032, ["variant", "size", "onClick"]))), 128))
|
|
1396
1409
|
], 2)) : L("", !0);
|
|
1397
1410
|
};
|
|
1398
1411
|
}
|
|
1399
|
-
}), Ro = /* @__PURE__ */
|
|
1412
|
+
}), Ro = /* @__PURE__ */ be(Oo, [["__scopeId", "data-v-554a12b4"]]), Wo = /* @__PURE__ */ M({
|
|
1400
1413
|
__name: "df-checkbox",
|
|
1401
|
-
props: /* @__PURE__ */
|
|
1414
|
+
props: /* @__PURE__ */ G({
|
|
1402
1415
|
allowNull: { type: Boolean },
|
|
1403
1416
|
control: {},
|
|
1404
1417
|
modelValue: {},
|
|
@@ -1412,36 +1425,36 @@ const Mo = {
|
|
|
1412
1425
|
cssClass: {},
|
|
1413
1426
|
clearable: { type: Boolean },
|
|
1414
1427
|
passthroughAttrs: {}
|
|
1415
|
-
}, F(x({},
|
|
1428
|
+
}, F(x({}, q), { allowNull: !1 })),
|
|
1416
1429
|
emits: ["update:modelValue", "click:clear"],
|
|
1417
1430
|
setup(e, { emit: t }) {
|
|
1418
|
-
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings:
|
|
1431
|
+
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings: c } = K(n, l), d = k(() => n.allowNull && i.value == null), _ = k({
|
|
1419
1432
|
get() {
|
|
1420
1433
|
return i.value;
|
|
1421
1434
|
},
|
|
1422
1435
|
set() {
|
|
1423
1436
|
}
|
|
1424
1437
|
});
|
|
1425
|
-
function
|
|
1426
|
-
const
|
|
1427
|
-
|
|
1438
|
+
function s() {
|
|
1439
|
+
const p = vt(i.value);
|
|
1440
|
+
p === !0 ? i.value = n.allowNull ? null : !1 : i.value = p === !1;
|
|
1428
1441
|
}
|
|
1429
|
-
return (
|
|
1430
|
-
const
|
|
1431
|
-
return V(),
|
|
1432
|
-
modelValue:
|
|
1433
|
-
"onUpdate:modelValue":
|
|
1434
|
-
}, o(
|
|
1442
|
+
return (p, h) => {
|
|
1443
|
+
const g = S("v-checkbox");
|
|
1444
|
+
return V(), D(g, U({
|
|
1445
|
+
modelValue: _.value,
|
|
1446
|
+
"onUpdate:modelValue": h[0] || (h[0] = (w) => _.value = w)
|
|
1447
|
+
}, o(c), {
|
|
1435
1448
|
density: "compact",
|
|
1436
|
-
indeterminate:
|
|
1449
|
+
indeterminate: d.value,
|
|
1437
1450
|
"false-value": !1,
|
|
1438
1451
|
"true-value": !0,
|
|
1439
|
-
onChange:
|
|
1440
|
-
onBlur:
|
|
1441
|
-
}),
|
|
1442
|
-
message: b(({ message:
|
|
1452
|
+
onChange: s,
|
|
1453
|
+
onBlur: h[1] || (h[1] = (w) => m.value = !0)
|
|
1454
|
+
}), X({
|
|
1455
|
+
message: b(({ message: w }) => [
|
|
1443
1456
|
B(o(le), {
|
|
1444
|
-
message:
|
|
1457
|
+
message: w,
|
|
1445
1458
|
errors: o(a)
|
|
1446
1459
|
}, null, 8, ["message", "errors"])
|
|
1447
1460
|
]),
|
|
@@ -1449,9 +1462,9 @@ const Mo = {
|
|
|
1449
1462
|
}, [
|
|
1450
1463
|
o(r).icon ? {
|
|
1451
1464
|
name: "label",
|
|
1452
|
-
fn: b((
|
|
1465
|
+
fn: b((w) => [
|
|
1453
1466
|
B(o(oe), {
|
|
1454
|
-
data:
|
|
1467
|
+
data: w,
|
|
1455
1468
|
label: o(r)
|
|
1456
1469
|
}, null, 8, ["data", "label"])
|
|
1457
1470
|
]),
|
|
@@ -1460,9 +1473,9 @@ const Mo = {
|
|
|
1460
1473
|
]), 1040, ["modelValue", "indeterminate"]);
|
|
1461
1474
|
};
|
|
1462
1475
|
}
|
|
1463
|
-
}),
|
|
1476
|
+
}), zo = /* @__PURE__ */ M({
|
|
1464
1477
|
__name: "df-color",
|
|
1465
|
-
props: /* @__PURE__ */
|
|
1478
|
+
props: /* @__PURE__ */ G({
|
|
1466
1479
|
allowNull: { type: Boolean },
|
|
1467
1480
|
control: {},
|
|
1468
1481
|
modelValue: {},
|
|
@@ -1476,26 +1489,26 @@ const Mo = {
|
|
|
1476
1489
|
cssClass: {},
|
|
1477
1490
|
clearable: { type: Boolean },
|
|
1478
1491
|
passthroughAttrs: {}
|
|
1479
|
-
}, F(x({},
|
|
1492
|
+
}, F(x({}, q), { allowNull: !1 })),
|
|
1480
1493
|
emits: ["update:modelValue", "click:clear"],
|
|
1481
1494
|
setup(e, { emit: t }) {
|
|
1482
|
-
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings:
|
|
1483
|
-
(
|
|
1495
|
+
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings: c } = K(n, l), d = E(!1), _ = k(() => [
|
|
1496
|
+
(s) => n.control || !s && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(s) ? !0 : "Not a valid hex string."
|
|
1484
1497
|
]);
|
|
1485
|
-
return (
|
|
1486
|
-
const
|
|
1487
|
-
return V(),
|
|
1498
|
+
return (s, p) => {
|
|
1499
|
+
const h = S("v-color-picker"), g = S("v-menu"), w = S("v-text-field");
|
|
1500
|
+
return V(), D(w, U({
|
|
1488
1501
|
modelValue: o(i),
|
|
1489
|
-
"onUpdate:modelValue":
|
|
1490
|
-
}, o(
|
|
1491
|
-
clearable:
|
|
1502
|
+
"onUpdate:modelValue": p[2] || (p[2] = (j) => te(i) ? i.value = j : null)
|
|
1503
|
+
}, o(c), {
|
|
1504
|
+
clearable: s.allowNull,
|
|
1492
1505
|
type: "text",
|
|
1493
|
-
rules:
|
|
1494
|
-
onBlur:
|
|
1495
|
-
}),
|
|
1496
|
-
message: b(({ message:
|
|
1506
|
+
rules: _.value,
|
|
1507
|
+
onBlur: p[3] || (p[3] = (j) => m.value = !0)
|
|
1508
|
+
}), X({
|
|
1509
|
+
message: b(({ message: j }) => [
|
|
1497
1510
|
B(o(le), {
|
|
1498
|
-
message:
|
|
1511
|
+
message: j,
|
|
1499
1512
|
errors: o(a)
|
|
1500
1513
|
}, null, 8, ["message", "errors"])
|
|
1501
1514
|
]),
|
|
@@ -1505,16 +1518,16 @@ const Mo = {
|
|
|
1505
1518
|
}, null, 4)
|
|
1506
1519
|
]),
|
|
1507
1520
|
default: b(() => [
|
|
1508
|
-
B(
|
|
1509
|
-
modelValue:
|
|
1510
|
-
"onUpdate:modelValue":
|
|
1521
|
+
B(g, {
|
|
1522
|
+
modelValue: d.value,
|
|
1523
|
+
"onUpdate:modelValue": p[1] || (p[1] = (j) => d.value = j),
|
|
1511
1524
|
"close-on-content-click": !1,
|
|
1512
1525
|
activator: "parent"
|
|
1513
1526
|
}, {
|
|
1514
1527
|
default: b(() => [
|
|
1515
|
-
B(
|
|
1528
|
+
B(h, {
|
|
1516
1529
|
modelValue: o(i),
|
|
1517
|
-
"onUpdate:modelValue":
|
|
1530
|
+
"onUpdate:modelValue": p[0] || (p[0] = (j) => te(i) ? i.value = j : null),
|
|
1518
1531
|
mode: "hexa"
|
|
1519
1532
|
}, null, 8, ["modelValue"])
|
|
1520
1533
|
]),
|
|
@@ -1525,9 +1538,9 @@ const Mo = {
|
|
|
1525
1538
|
}, [
|
|
1526
1539
|
o(r).icon ? {
|
|
1527
1540
|
name: "label",
|
|
1528
|
-
fn: b((
|
|
1541
|
+
fn: b((j) => [
|
|
1529
1542
|
B(o(oe), {
|
|
1530
|
-
data:
|
|
1543
|
+
data: j,
|
|
1531
1544
|
label: o(r)
|
|
1532
1545
|
}, null, 8, ["data", "label"])
|
|
1533
1546
|
]),
|
|
@@ -1538,7 +1551,7 @@ const Mo = {
|
|
|
1538
1551
|
}
|
|
1539
1552
|
}), Ho = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, Ko = /* @__PURE__ */ M({
|
|
1540
1553
|
__name: "df-datetime",
|
|
1541
|
-
props: /* @__PURE__ */
|
|
1554
|
+
props: /* @__PURE__ */ G({
|
|
1542
1555
|
inputType: {},
|
|
1543
1556
|
displayFormatDate: {},
|
|
1544
1557
|
displayFormatTime: {},
|
|
@@ -1555,147 +1568,147 @@ const Mo = {
|
|
|
1555
1568
|
cssClass: {},
|
|
1556
1569
|
clearable: { type: Boolean },
|
|
1557
1570
|
passthroughAttrs: {}
|
|
1558
|
-
}, F(x({},
|
|
1571
|
+
}, F(x({}, q), {
|
|
1559
1572
|
inputType: "datetime",
|
|
1560
1573
|
displayFormatDate: "P",
|
|
1561
1574
|
displayFormatTime: "p"
|
|
1562
1575
|
})),
|
|
1563
1576
|
emits: ["update:modelValue", "click:clear"],
|
|
1564
1577
|
setup(e, { emit: t }) {
|
|
1565
|
-
const n = e, l = t, a =
|
|
1578
|
+
const n = e, l = t, a = k(() => {
|
|
1566
1579
|
var f;
|
|
1567
1580
|
return (f = n.locale) != null ? f : o(Po.dateTimeLocale);
|
|
1568
|
-
}), r =
|
|
1569
|
-
var f,
|
|
1570
|
-
return (
|
|
1571
|
-
}), { touched: m, value: i, vuetifyBindings:
|
|
1581
|
+
}), r = k(() => {
|
|
1582
|
+
var f, u;
|
|
1583
|
+
return (u = (f = a.value.options) == null ? void 0 : f.weekStartsOn) != null ? u : 1;
|
|
1584
|
+
}), { touched: m, value: i, vuetifyBindings: c } = K(n, l), { inputType: d, displayFormatDate: _, displayFormatTime: s } = _e(n), p = E(""), h = k({
|
|
1572
1585
|
get() {
|
|
1573
|
-
return o(
|
|
1586
|
+
return o(p) === "date";
|
|
1574
1587
|
},
|
|
1575
1588
|
set(f) {
|
|
1576
|
-
|
|
1589
|
+
p.value = f ? "date" : "";
|
|
1577
1590
|
}
|
|
1578
|
-
}),
|
|
1591
|
+
}), g = k({
|
|
1579
1592
|
get() {
|
|
1580
|
-
return o(
|
|
1593
|
+
return o(p) === "time";
|
|
1581
1594
|
},
|
|
1582
1595
|
set(f) {
|
|
1583
|
-
|
|
1596
|
+
p.value = f ? "time" : "";
|
|
1584
1597
|
}
|
|
1585
|
-
}),
|
|
1586
|
-
function
|
|
1598
|
+
}), w = (f) => `${ce(f, "yyyy-MM-dd")}T${ce(f, "HH:mm")}:00`, j = E(null);
|
|
1599
|
+
function v(f, u) {
|
|
1587
1600
|
if (f == null)
|
|
1588
|
-
|
|
1589
|
-
else if (
|
|
1590
|
-
if (o(
|
|
1591
|
-
|
|
1601
|
+
j.value = null;
|
|
1602
|
+
else if (u === -1)
|
|
1603
|
+
if (o(d) === "time")
|
|
1604
|
+
j.value = w(/* @__PURE__ */ new Date()), v(`T${f}`, 1);
|
|
1592
1605
|
else {
|
|
1593
|
-
const $ =
|
|
1594
|
-
|
|
1606
|
+
const $ = w(new Date(f));
|
|
1607
|
+
v($, 0), v($, 1);
|
|
1595
1608
|
}
|
|
1596
1609
|
else {
|
|
1597
|
-
|
|
1598
|
-
const $ =
|
|
1599
|
-
$[
|
|
1610
|
+
j.value == null && (j.value = w(/* @__PURE__ */ new Date()));
|
|
1611
|
+
const $ = j.value.split(/[TZ]/g), z = f.split(/[TZ]/g);
|
|
1612
|
+
$[u] = z[u], j.value = w(/* @__PURE__ */ new Date(`${$[0]}T${$[1].split(".")[0]}`)), o(d) === "date" ? i.value = $[0] : o(d) === "time" ? i.value = $[1] : i.value = o(j) + ce(/* @__PURE__ */ new Date(), "XXX");
|
|
1600
1613
|
}
|
|
1601
1614
|
}
|
|
1602
|
-
ie(i, (f) =>
|
|
1603
|
-
const
|
|
1615
|
+
ie(i, (f) => v(f, -1), { immediate: !0 });
|
|
1616
|
+
const A = k({
|
|
1604
1617
|
get() {
|
|
1605
|
-
const f = o(
|
|
1618
|
+
const f = o(j);
|
|
1606
1619
|
if (f == null) return null;
|
|
1607
|
-
const
|
|
1608
|
-
return Number.isNaN(
|
|
1620
|
+
const u = new Date(f);
|
|
1621
|
+
return Number.isNaN(u.getTime()) ? null : u;
|
|
1609
1622
|
},
|
|
1610
1623
|
set(f) {
|
|
1611
|
-
w(
|
|
1624
|
+
v(w(f), 0);
|
|
1612
1625
|
}
|
|
1613
|
-
}),
|
|
1626
|
+
}), N = k({
|
|
1614
1627
|
get() {
|
|
1615
|
-
const f = o(
|
|
1628
|
+
const f = o(j);
|
|
1616
1629
|
return f == null ? "" : f.split(/[TZ]/g)[1].split(".")[0];
|
|
1617
1630
|
},
|
|
1618
1631
|
set(f) {
|
|
1619
|
-
|
|
1632
|
+
v(`T${f}`, 1);
|
|
1620
1633
|
}
|
|
1621
|
-
}),
|
|
1634
|
+
}), C = k({
|
|
1622
1635
|
get() {
|
|
1623
|
-
const f = o(
|
|
1624
|
-
return f == null ? "" :
|
|
1636
|
+
const f = o(A);
|
|
1637
|
+
return f == null ? "" : ce(f, o(_), { locale: a.value });
|
|
1625
1638
|
},
|
|
1626
1639
|
set(f) {
|
|
1627
1640
|
try {
|
|
1628
|
-
const
|
|
1629
|
-
w(
|
|
1630
|
-
} catch (
|
|
1631
|
-
console.error(
|
|
1641
|
+
const u = kt(f, o(_), /* @__PURE__ */ new Date(), { locale: a.value });
|
|
1642
|
+
v(w(u), 0);
|
|
1643
|
+
} catch (u) {
|
|
1644
|
+
console.error(u);
|
|
1632
1645
|
}
|
|
1633
1646
|
}
|
|
1634
|
-
}), W =
|
|
1647
|
+
}), W = k({
|
|
1635
1648
|
get() {
|
|
1636
|
-
const f = o(
|
|
1637
|
-
return f == null ? "" :
|
|
1649
|
+
const f = o(A);
|
|
1650
|
+
return f == null ? "" : ce(f, o(s), { locale: a.value });
|
|
1638
1651
|
},
|
|
1639
1652
|
set(f) {
|
|
1640
|
-
const
|
|
1641
|
-
if (
|
|
1642
|
-
let $ = Le(
|
|
1643
|
-
const
|
|
1644
|
-
Me($) || Me(
|
|
1653
|
+
const u = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
1654
|
+
if (u == null) return;
|
|
1655
|
+
let $ = Le(u[1]);
|
|
1656
|
+
const z = Le(u[2]);
|
|
1657
|
+
Me($) || Me(z) || (u[3] && u[3].toLowerCase() === "pm" && $ < 13 && ($ += 12), v(`T${$.toString().padStart(2, "0")}:${z.toString().padStart(2, "0")}:00`, 1));
|
|
1645
1658
|
}
|
|
1646
1659
|
});
|
|
1647
|
-
return (f,
|
|
1648
|
-
const $ =
|
|
1649
|
-
return V(),
|
|
1660
|
+
return (f, u) => {
|
|
1661
|
+
const $ = S("v-date-picker"), z = S("v-confirm-edit"), se = S("v-menu"), ue = S("v-text-field"), T = S("v-time-picker");
|
|
1662
|
+
return V(), D(o(Pe), U(n, {
|
|
1650
1663
|
clearable: f.clearable,
|
|
1651
|
-
"onClick:clear":
|
|
1652
|
-
onBlur:
|
|
1664
|
+
"onClick:clear": u[14] || (u[14] = (I) => i.value = null),
|
|
1665
|
+
onBlur: u[15] || (u[15] = (I) => m.value = !0)
|
|
1653
1666
|
}), {
|
|
1654
1667
|
default: b((I) => [
|
|
1655
1668
|
ne("div", Ho, [
|
|
1656
|
-
["date", "datetime"].includes(o(
|
|
1669
|
+
["date", "datetime"].includes(o(d)) ? (V(), D(ue, U({
|
|
1657
1670
|
key: 0,
|
|
1658
|
-
modelValue:
|
|
1659
|
-
"onUpdate:modelValue":
|
|
1671
|
+
modelValue: C.value,
|
|
1672
|
+
"onUpdate:modelValue": u[4] || (u[4] = (y) => C.value = y),
|
|
1660
1673
|
style: { "flex-grow": "4" },
|
|
1661
1674
|
density: "compact",
|
|
1662
1675
|
variant: "plain",
|
|
1663
1676
|
clearable: !1,
|
|
1664
1677
|
"hide-details": !0,
|
|
1665
|
-
readonly: o(
|
|
1666
|
-
disabled: o(
|
|
1667
|
-
name: `${o(
|
|
1678
|
+
readonly: o(c).readonly,
|
|
1679
|
+
disabled: o(c).disabled,
|
|
1680
|
+
name: `${o(c).name}-date`
|
|
1668
1681
|
}, f.passthroughAttrs, {
|
|
1669
|
-
onClick:
|
|
1670
|
-
onKeydown:
|
|
1671
|
-
onFocus: (
|
|
1672
|
-
onBlur: (
|
|
1682
|
+
onClick: u[5] || (u[5] = (y) => p.value = "date"),
|
|
1683
|
+
onKeydown: u[6] || (u[6] = Ae((y) => p.value = "date", ["space"])),
|
|
1684
|
+
onFocus: (y) => I.focus(),
|
|
1685
|
+
onBlur: (y) => I.blur()
|
|
1673
1686
|
}), {
|
|
1674
1687
|
default: b(() => [
|
|
1675
1688
|
B(se, {
|
|
1676
|
-
modelValue:
|
|
1677
|
-
"onUpdate:modelValue":
|
|
1689
|
+
modelValue: h.value,
|
|
1690
|
+
"onUpdate:modelValue": u[3] || (u[3] = (y) => h.value = y),
|
|
1678
1691
|
"close-on-content-click": !1,
|
|
1679
1692
|
activator: "parent"
|
|
1680
1693
|
}, {
|
|
1681
1694
|
default: b(() => [
|
|
1682
|
-
B(
|
|
1683
|
-
modelValue:
|
|
1684
|
-
"onUpdate:modelValue":
|
|
1685
|
-
onCancel:
|
|
1686
|
-
onSave:
|
|
1695
|
+
B(z, {
|
|
1696
|
+
modelValue: A.value,
|
|
1697
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => A.value = y),
|
|
1698
|
+
onCancel: u[1] || (u[1] = (y) => p.value = ""),
|
|
1699
|
+
onSave: u[2] || (u[2] = (y) => p.value = "")
|
|
1687
1700
|
}, {
|
|
1688
|
-
default: b(({ model:
|
|
1701
|
+
default: b(({ model: y, actions: Y }) => [
|
|
1689
1702
|
B($, {
|
|
1690
|
-
modelValue:
|
|
1691
|
-
"onUpdate:modelValue": (
|
|
1703
|
+
modelValue: y.value,
|
|
1704
|
+
"onUpdate:modelValue": (P) => y.value = P,
|
|
1692
1705
|
"hide-header": !0,
|
|
1693
1706
|
"first-day-of-week": r.value,
|
|
1694
1707
|
"show-adjacent-months": !0,
|
|
1695
1708
|
"show-week": !0
|
|
1696
1709
|
}, {
|
|
1697
1710
|
actions: b(() => [
|
|
1698
|
-
(V(),
|
|
1711
|
+
(V(), D(ve(Y)))
|
|
1699
1712
|
]),
|
|
1700
1713
|
_: 2
|
|
1701
1714
|
}, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
|
|
@@ -1706,49 +1719,49 @@ const Mo = {
|
|
|
1706
1719
|
_: 1
|
|
1707
1720
|
}, 8, ["modelValue"])
|
|
1708
1721
|
]),
|
|
1709
|
-
_:
|
|
1710
|
-
},
|
|
1711
|
-
["time", "datetime"].includes(o(
|
|
1722
|
+
_: 1
|
|
1723
|
+
}, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
|
|
1724
|
+
["time", "datetime"].includes(o(d)) ? (V(), D(ue, U({
|
|
1712
1725
|
key: 1,
|
|
1713
1726
|
modelValue: W.value,
|
|
1714
|
-
"onUpdate:modelValue":
|
|
1727
|
+
"onUpdate:modelValue": u[11] || (u[11] = (y) => W.value = y),
|
|
1715
1728
|
style: { "flex-grow": "3" },
|
|
1716
1729
|
density: "compact",
|
|
1717
1730
|
variant: "plain",
|
|
1718
1731
|
clearable: !1,
|
|
1719
1732
|
"hide-details": !0,
|
|
1720
|
-
readonly: o(
|
|
1721
|
-
disabled: o(
|
|
1722
|
-
name: `${o(
|
|
1733
|
+
readonly: o(c).readonly,
|
|
1734
|
+
disabled: o(c).disabled,
|
|
1735
|
+
name: `${o(c).name}-time`
|
|
1723
1736
|
}, f.passthroughAttrs, {
|
|
1724
|
-
onClick:
|
|
1725
|
-
onKeydown:
|
|
1726
|
-
onFocus: (
|
|
1727
|
-
onBlur: (
|
|
1737
|
+
onClick: u[12] || (u[12] = (y) => p.value = "time"),
|
|
1738
|
+
onKeydown: u[13] || (u[13] = Ae((y) => p.value = "time", ["space"])),
|
|
1739
|
+
onFocus: (y) => I.focus(),
|
|
1740
|
+
onBlur: (y) => I.blur()
|
|
1728
1741
|
}), {
|
|
1729
1742
|
default: b(() => [
|
|
1730
1743
|
B(se, {
|
|
1731
|
-
modelValue:
|
|
1732
|
-
"onUpdate:modelValue":
|
|
1744
|
+
modelValue: g.value,
|
|
1745
|
+
"onUpdate:modelValue": u[10] || (u[10] = (y) => g.value = y),
|
|
1733
1746
|
"close-on-content-click": !1,
|
|
1734
1747
|
activator: "parent"
|
|
1735
1748
|
}, {
|
|
1736
1749
|
default: b(() => [
|
|
1737
|
-
B(
|
|
1738
|
-
modelValue:
|
|
1739
|
-
"onUpdate:modelValue":
|
|
1740
|
-
onCancel:
|
|
1741
|
-
onSave:
|
|
1750
|
+
B(z, {
|
|
1751
|
+
modelValue: N.value,
|
|
1752
|
+
"onUpdate:modelValue": u[7] || (u[7] = (y) => N.value = y),
|
|
1753
|
+
onCancel: u[8] || (u[8] = (y) => p.value = ""),
|
|
1754
|
+
onSave: u[9] || (u[9] = (y) => p.value = "")
|
|
1742
1755
|
}, {
|
|
1743
|
-
default: b(({ model:
|
|
1744
|
-
B(
|
|
1745
|
-
modelValue:
|
|
1746
|
-
"onUpdate:modelValue": (
|
|
1756
|
+
default: b(({ model: y, actions: Y }) => [
|
|
1757
|
+
B(T, {
|
|
1758
|
+
modelValue: y.value,
|
|
1759
|
+
"onUpdate:modelValue": (P) => y.value = P,
|
|
1747
1760
|
"hide-header": !0,
|
|
1748
1761
|
format: "24hr"
|
|
1749
1762
|
}, {
|
|
1750
1763
|
actions: b(() => [
|
|
1751
|
-
(V(),
|
|
1764
|
+
(V(), D(ve(Y)))
|
|
1752
1765
|
]),
|
|
1753
1766
|
_: 2
|
|
1754
1767
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1759,8 +1772,8 @@ const Mo = {
|
|
|
1759
1772
|
_: 1
|
|
1760
1773
|
}, 8, ["modelValue"])
|
|
1761
1774
|
]),
|
|
1762
|
-
_:
|
|
1763
|
-
},
|
|
1775
|
+
_: 1
|
|
1776
|
+
}, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0)
|
|
1764
1777
|
])
|
|
1765
1778
|
]),
|
|
1766
1779
|
_: 1
|
|
@@ -1772,7 +1785,7 @@ const Mo = {
|
|
|
1772
1785
|
style: { position: "relative" }
|
|
1773
1786
|
}, Go = /* @__PURE__ */ M({
|
|
1774
1787
|
__name: "df-file",
|
|
1775
|
-
props: /* @__PURE__ */
|
|
1788
|
+
props: /* @__PURE__ */ G({
|
|
1776
1789
|
comms: {},
|
|
1777
1790
|
control: {},
|
|
1778
1791
|
modelValue: {},
|
|
@@ -1786,67 +1799,64 @@ const Mo = {
|
|
|
1786
1799
|
cssClass: {},
|
|
1787
1800
|
clearable: { type: Boolean },
|
|
1788
1801
|
passthroughAttrs: {}
|
|
1789
|
-
},
|
|
1802
|
+
}, q),
|
|
1790
1803
|
emits: ["update:modelValue", "click:clear"],
|
|
1791
1804
|
setup(e, { emit: t }) {
|
|
1792
|
-
const n = e, l = t, { touched: a, value: r, vuetifyBindings: m } = K(n, l), i = E(null),
|
|
1793
|
-
function
|
|
1805
|
+
const n = e, l = t, { touched: a, value: r, vuetifyBindings: m } = K(n, l), i = E(null), c = E(null), d = E(0), _ = E(Math.round(Math.random() * 1e3)), s = E(), p = k(() => c.value && d.value < 100), h = k(() => !s.value && r.value ? n.modelValue : "");
|
|
1806
|
+
function g() {
|
|
1794
1807
|
i.value && window.clearInterval(i.value);
|
|
1795
1808
|
}
|
|
1796
|
-
function
|
|
1797
|
-
|
|
1809
|
+
function w() {
|
|
1810
|
+
g(), i.value = window.setInterval(() => {
|
|
1798
1811
|
r.value && n.comms.touch(r.value);
|
|
1799
1812
|
}, 60 * 1e3);
|
|
1800
1813
|
}
|
|
1801
|
-
He(() =>
|
|
1802
|
-
|
|
1814
|
+
He(() => g()), ie(r, (N) => {
|
|
1815
|
+
N ? w() : g();
|
|
1803
1816
|
});
|
|
1804
|
-
function
|
|
1817
|
+
function j() {
|
|
1805
1818
|
return ge(this, null, function* () {
|
|
1806
|
-
r.value && (yield n.comms.delete(r.value)), r.value = null,
|
|
1819
|
+
r.value && (yield n.comms.delete(r.value)), r.value = null, d.value = 0, _.value = Math.round(Math.random() * 1e3), c.value = null, s.value = null, g();
|
|
1807
1820
|
});
|
|
1808
1821
|
}
|
|
1809
|
-
function
|
|
1822
|
+
function v(N) {
|
|
1810
1823
|
return ge(this, null, function* () {
|
|
1811
|
-
|
|
1824
|
+
d.value = -1, c.value = N;
|
|
1812
1825
|
try {
|
|
1813
|
-
r.value = yield n.comms.upload(
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
), s.value = 100, g();
|
|
1819
|
-
} catch (T) {
|
|
1820
|
-
throw s.value = 0, p.value = null, j.value = Math.round(Math.random() * 1e3), u.value = null, T;
|
|
1826
|
+
r.value = yield n.comms.upload(N, (C, W) => {
|
|
1827
|
+
d.value = Math.round(C * 100 / W);
|
|
1828
|
+
}), d.value = 100, w();
|
|
1829
|
+
} catch (C) {
|
|
1830
|
+
throw d.value = 0, c.value = null, _.value = Math.round(Math.random() * 1e3), s.value = null, C;
|
|
1821
1831
|
}
|
|
1822
1832
|
});
|
|
1823
1833
|
}
|
|
1824
|
-
function N
|
|
1825
|
-
|
|
1834
|
+
function A(N) {
|
|
1835
|
+
N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") : v(N));
|
|
1826
1836
|
}
|
|
1827
|
-
return (
|
|
1828
|
-
const W =
|
|
1829
|
-
return V(),
|
|
1837
|
+
return (N, C) => {
|
|
1838
|
+
const W = S("v-progress-linear"), f = S("v-file-input");
|
|
1839
|
+
return V(), D(o(Pe), U(F(x({}, n), { loading: p.value }), {
|
|
1830
1840
|
clearable: "",
|
|
1831
|
-
"onClick:clear":
|
|
1832
|
-
onBlur:
|
|
1841
|
+
"onClick:clear": j,
|
|
1842
|
+
onBlur: C[1] || (C[1] = (u) => a.value = !0)
|
|
1833
1843
|
}), {
|
|
1834
1844
|
"prepend-inner": b(() => [
|
|
1835
|
-
B(
|
|
1845
|
+
B(o(he), { name: "mdi-paperclip" })
|
|
1836
1846
|
]),
|
|
1837
1847
|
loader: b(() => [
|
|
1838
|
-
|
|
1848
|
+
c.value && d.value < 100 ? (V(), D(W, {
|
|
1839
1849
|
key: 0,
|
|
1840
|
-
"model-value":
|
|
1841
|
-
indeterminate:
|
|
1850
|
+
"model-value": d.value,
|
|
1851
|
+
indeterminate: d.value === -1
|
|
1842
1852
|
}, null, 8, ["model-value", "indeterminate"])) : L("", !0)
|
|
1843
1853
|
]),
|
|
1844
|
-
default: b((
|
|
1854
|
+
default: b((u) => [
|
|
1845
1855
|
ne("div", Xo, [
|
|
1846
|
-
B(
|
|
1847
|
-
modelValue:
|
|
1848
|
-
"onUpdate:modelValue":
|
|
1849
|
-
label:
|
|
1856
|
+
B(f, U({
|
|
1857
|
+
modelValue: s.value,
|
|
1858
|
+
"onUpdate:modelValue": C[0] || (C[0] = ($) => s.value = $),
|
|
1859
|
+
label: h.value,
|
|
1850
1860
|
density: "compact",
|
|
1851
1861
|
variant: "plain",
|
|
1852
1862
|
readonly: o(m).readonly,
|
|
@@ -1855,13 +1865,13 @@ const Mo = {
|
|
|
1855
1865
|
"hide-details": !0,
|
|
1856
1866
|
"show-size": !0,
|
|
1857
1867
|
multiple: !1,
|
|
1858
|
-
style:
|
|
1868
|
+
style: c.value && d.value < 100 ? "visibility: hidden" : "",
|
|
1859
1869
|
clearable: !1
|
|
1860
|
-
},
|
|
1870
|
+
}, N.passthroughAttrs, {
|
|
1861
1871
|
"prepend-icon": "",
|
|
1862
|
-
"onUpdate:modelValue":
|
|
1863
|
-
onFocus: (
|
|
1864
|
-
onBlur: (
|
|
1872
|
+
"onUpdate:modelValue": A,
|
|
1873
|
+
onFocus: ($) => u.focus(),
|
|
1874
|
+
onBlur: ($) => u.blur()
|
|
1865
1875
|
}), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
|
|
1866
1876
|
])
|
|
1867
1877
|
]),
|
|
@@ -1871,7 +1881,7 @@ const Mo = {
|
|
|
1871
1881
|
}
|
|
1872
1882
|
}), qo = { class: "container" }, Yo = /* @__PURE__ */ M({
|
|
1873
1883
|
__name: "df-input",
|
|
1874
|
-
props: /* @__PURE__ */
|
|
1884
|
+
props: /* @__PURE__ */ G({
|
|
1875
1885
|
inputType: {},
|
|
1876
1886
|
precision: {},
|
|
1877
1887
|
step: {},
|
|
@@ -1889,7 +1899,7 @@ const Mo = {
|
|
|
1889
1899
|
cssClass: {},
|
|
1890
1900
|
clearable: { type: Boolean },
|
|
1891
1901
|
passthroughAttrs: {}
|
|
1892
|
-
}, F(x({},
|
|
1902
|
+
}, F(x({}, q), {
|
|
1893
1903
|
inputType: "text",
|
|
1894
1904
|
precision: null,
|
|
1895
1905
|
step: void 0,
|
|
@@ -1898,21 +1908,23 @@ const Mo = {
|
|
|
1898
1908
|
})),
|
|
1899
1909
|
emits: ["update:modelValue", "click:clear"],
|
|
1900
1910
|
setup(e, { emit: t }) {
|
|
1901
|
-
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings:
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1911
|
+
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings: c } = K(n, l), { inputType: d, max: _, min: s, precision: p, step: h } = _e(n), g = k(() => d.value === "number"), w = k(
|
|
1912
|
+
() => g.value ? { min: o(s), max: o(_), precision: o(p), step: o(h) } : {}
|
|
1913
|
+
);
|
|
1914
|
+
return (j, v) => {
|
|
1915
|
+
const A = S("v-text-field"), N = S("v-number-input");
|
|
1916
|
+
return V(), O("div", qo, [
|
|
1917
|
+
g.value ? (V(), D(N, U({
|
|
1906
1918
|
key: 1,
|
|
1907
1919
|
modelValue: o(i),
|
|
1908
|
-
"onUpdate:modelValue":
|
|
1909
|
-
}, x(x({}, o(
|
|
1920
|
+
"onUpdate:modelValue": v[2] || (v[2] = (C) => te(i) ? i.value = C : null)
|
|
1921
|
+
}, x(x({}, o(c)), w.value), {
|
|
1910
1922
|
density: "compact",
|
|
1911
1923
|
"control-variant": "stacked"
|
|
1912
|
-
}),
|
|
1913
|
-
message: b(({ message:
|
|
1924
|
+
}), X({
|
|
1925
|
+
message: b(({ message: C }) => [
|
|
1914
1926
|
B(o(le), {
|
|
1915
|
-
message:
|
|
1927
|
+
message: C,
|
|
1916
1928
|
errors: o(a)
|
|
1917
1929
|
}, null, 8, ["message", "errors"])
|
|
1918
1930
|
]),
|
|
@@ -1920,25 +1932,25 @@ const Mo = {
|
|
|
1920
1932
|
}, [
|
|
1921
1933
|
o(r).icon ? {
|
|
1922
1934
|
name: "label",
|
|
1923
|
-
fn: b((
|
|
1935
|
+
fn: b((C) => [
|
|
1924
1936
|
B(o(oe), {
|
|
1925
|
-
data:
|
|
1937
|
+
data: C,
|
|
1926
1938
|
label: o(r)
|
|
1927
1939
|
}, null, 8, ["data", "label"])
|
|
1928
1940
|
]),
|
|
1929
1941
|
key: "0"
|
|
1930
1942
|
} : void 0
|
|
1931
|
-
]), 1040, ["modelValue"])) : (V(),
|
|
1943
|
+
]), 1040, ["modelValue"])) : (V(), D(A, U({
|
|
1932
1944
|
key: 0,
|
|
1933
1945
|
modelValue: o(i),
|
|
1934
|
-
"onUpdate:modelValue":
|
|
1935
|
-
}, o(
|
|
1936
|
-
type: o(
|
|
1937
|
-
onBlur:
|
|
1938
|
-
}),
|
|
1939
|
-
message: b(({ message:
|
|
1946
|
+
"onUpdate:modelValue": v[0] || (v[0] = (C) => te(i) ? i.value = C : null)
|
|
1947
|
+
}, o(c), {
|
|
1948
|
+
type: o(d),
|
|
1949
|
+
onBlur: v[1] || (v[1] = (C) => m.value = !0)
|
|
1950
|
+
}), X({
|
|
1951
|
+
message: b(({ message: C }) => [
|
|
1940
1952
|
B(o(le), {
|
|
1941
|
-
message:
|
|
1953
|
+
message: C,
|
|
1942
1954
|
errors: o(a)
|
|
1943
1955
|
}, null, 8, ["message", "errors"])
|
|
1944
1956
|
]),
|
|
@@ -1946,9 +1958,9 @@ const Mo = {
|
|
|
1946
1958
|
}, [
|
|
1947
1959
|
o(r).icon ? {
|
|
1948
1960
|
name: "label",
|
|
1949
|
-
fn: b((
|
|
1961
|
+
fn: b((C) => [
|
|
1950
1962
|
B(o(oe), {
|
|
1951
|
-
data:
|
|
1963
|
+
data: C,
|
|
1952
1964
|
label: o(r)
|
|
1953
1965
|
}, null, 8, ["data", "label"])
|
|
1954
1966
|
]),
|
|
@@ -1958,7 +1970,7 @@ const Mo = {
|
|
|
1958
1970
|
]);
|
|
1959
1971
|
};
|
|
1960
1972
|
}
|
|
1961
|
-
}), Qo = /* @__PURE__ */
|
|
1973
|
+
}), Qo = /* @__PURE__ */ be(Yo, [["__scopeId", "data-v-3937c3c8"]]), Zo = { class: "editor-container" }, Jo = { class: "editor-container__editor" }, el = { ref: "editorElement" }, tl = /* @__PURE__ */ M({
|
|
1962
1974
|
__name: "ck-editor-custom",
|
|
1963
1975
|
props: {
|
|
1964
1976
|
modelValue: { default: "" },
|
|
@@ -1967,10 +1979,10 @@ const Mo = {
|
|
|
1967
1979
|
},
|
|
1968
1980
|
emits: ["update:modelValue"],
|
|
1969
1981
|
setup(e, { expose: t, emit: n }) {
|
|
1970
|
-
mt((
|
|
1971
|
-
"
|
|
1982
|
+
mt((s) => ({
|
|
1983
|
+
"5f8a2e8c": s.minHeight
|
|
1972
1984
|
}));
|
|
1973
|
-
const l = n, a = E(!1), r = cn,
|
|
1985
|
+
const l = n, a = E(!1), r = cn, d = {
|
|
1974
1986
|
toolbar: {
|
|
1975
1987
|
items: [
|
|
1976
1988
|
"undo",
|
|
@@ -2023,8 +2035,8 @@ const Mo = {
|
|
|
2023
2035
|
Ut,
|
|
2024
2036
|
Ot,
|
|
2025
2037
|
Rt,
|
|
2026
|
-
zt,
|
|
2027
2038
|
Wt,
|
|
2039
|
+
zt,
|
|
2028
2040
|
Ht,
|
|
2029
2041
|
Kt,
|
|
2030
2042
|
Xt,
|
|
@@ -2057,9 +2069,7 @@ const Mo = {
|
|
|
2057
2069
|
]
|
|
2058
2070
|
},
|
|
2059
2071
|
htmlSupport: {
|
|
2060
|
-
allow: [
|
|
2061
|
-
{ name: /^.*$/, styles: !0, attributes: !0, classes: !0 }
|
|
2062
|
-
]
|
|
2072
|
+
allow: [{ name: /^.*$/, styles: !0, attributes: !0, classes: !0 }]
|
|
2063
2073
|
},
|
|
2064
2074
|
image: {
|
|
2065
2075
|
toolbar: [
|
|
@@ -2085,7 +2095,7 @@ const Mo = {
|
|
|
2085
2095
|
}
|
|
2086
2096
|
}
|
|
2087
2097
|
},
|
|
2088
|
-
placeholder: "
|
|
2098
|
+
placeholder: "",
|
|
2089
2099
|
style: {
|
|
2090
2100
|
definitions: [
|
|
2091
2101
|
{ name: "Article category", element: "h3", classes: ["category"] },
|
|
@@ -2101,25 +2111,25 @@ const Mo = {
|
|
|
2101
2111
|
},
|
|
2102
2112
|
table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
|
|
2103
2113
|
};
|
|
2104
|
-
|
|
2114
|
+
ze(() => {
|
|
2105
2115
|
a.value = !0;
|
|
2106
2116
|
});
|
|
2107
|
-
const
|
|
2117
|
+
const _ = (s) => {
|
|
2108
2118
|
};
|
|
2109
|
-
return t({ onEditorReady:
|
|
2110
|
-
const
|
|
2111
|
-
return V(),
|
|
2119
|
+
return t({ onEditorReady: _ }), (s, p) => {
|
|
2120
|
+
const h = S("ckeditor");
|
|
2121
|
+
return V(), O("div", Zo, [
|
|
2112
2122
|
ne("div", Jo, [
|
|
2113
2123
|
ne("div", el, [
|
|
2114
|
-
a.value ? (V(),
|
|
2124
|
+
a.value ? (V(), D(h, {
|
|
2115
2125
|
key: 0,
|
|
2116
|
-
"model-value":
|
|
2126
|
+
"model-value": s.modelValue,
|
|
2117
2127
|
editor: o(r),
|
|
2118
|
-
config:
|
|
2119
|
-
disabled:
|
|
2120
|
-
style: Xe(`min-height: ${
|
|
2121
|
-
onReady:
|
|
2122
|
-
"onUpdate:modelValue":
|
|
2128
|
+
config: d,
|
|
2129
|
+
disabled: s.disabled,
|
|
2130
|
+
style: Xe(`min-height: ${s.minHeight}`),
|
|
2131
|
+
onReady: _,
|
|
2132
|
+
"onUpdate:modelValue": p[0] || (p[0] = (g) => l("update:modelValue", g))
|
|
2123
2133
|
}, null, 8, ["model-value", "editor", "disabled", "style"])) : L("", !0)
|
|
2124
2134
|
], 512)
|
|
2125
2135
|
])
|
|
@@ -2128,7 +2138,7 @@ const Mo = {
|
|
|
2128
2138
|
}
|
|
2129
2139
|
}), nl = /* @__PURE__ */ M({
|
|
2130
2140
|
__name: "df-rtf-editor",
|
|
2131
|
-
props: /* @__PURE__ */
|
|
2141
|
+
props: /* @__PURE__ */ G({
|
|
2132
2142
|
minHeight: {},
|
|
2133
2143
|
control: {},
|
|
2134
2144
|
modelValue: {},
|
|
@@ -2142,22 +2152,23 @@ const Mo = {
|
|
|
2142
2152
|
cssClass: {},
|
|
2143
2153
|
clearable: { type: Boolean },
|
|
2144
2154
|
passthroughAttrs: {}
|
|
2145
|
-
}, F(x({},
|
|
2155
|
+
}, F(x({}, q), { minHeight: void 0 })),
|
|
2146
2156
|
emits: ["update:modelValue", "click:clear"],
|
|
2147
2157
|
setup(e, { emit: t }) {
|
|
2148
2158
|
const n = e, l = t, { value: a, vuetifyBindings: r } = K(n, l);
|
|
2149
|
-
return (m, i) => (V(),
|
|
2150
|
-
default: b((
|
|
2151
|
-
B(tl,
|
|
2159
|
+
return (m, i) => (V(), D(o(Pe), U(n, { class: "ck-editor-custom" }), {
|
|
2160
|
+
default: b((c) => [
|
|
2161
|
+
B(tl, U({
|
|
2152
2162
|
ref: "$editor",
|
|
2153
2163
|
modelValue: o(a),
|
|
2154
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
2155
|
-
class: { "mt-
|
|
2164
|
+
"onUpdate:modelValue": i[0] || (i[0] = (d) => te(a) ? a.value = d : null),
|
|
2165
|
+
class: { "mt-6": !!m.label },
|
|
2156
2166
|
"min-height": m.minHeight,
|
|
2157
|
-
disabled: o(r).disabled
|
|
2167
|
+
disabled: o(r).disabled,
|
|
2168
|
+
placeholder: "dfsjghdf"
|
|
2158
2169
|
}, m.passthroughAttrs, {
|
|
2159
|
-
onFocusin: (
|
|
2160
|
-
onFocusout: (
|
|
2170
|
+
onFocusin: (d) => c.focus(),
|
|
2171
|
+
onFocusout: (d) => c.blur()
|
|
2161
2172
|
}), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
|
|
2162
2173
|
]),
|
|
2163
2174
|
_: 1
|
|
@@ -2167,7 +2178,7 @@ const Mo = {
|
|
|
2167
2178
|
function ol(e) {
|
|
2168
2179
|
return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
|
|
2169
2180
|
}
|
|
2170
|
-
function
|
|
2181
|
+
function Q(e, t) {
|
|
2171
2182
|
var n;
|
|
2172
2183
|
return e == null || Ue(e) && e.length === 0 ? null : t ? Ge(e) : Ue(e) ? (n = qe(e)) != null ? n : null : e;
|
|
2173
2184
|
}
|
|
@@ -2178,7 +2189,7 @@ function Ve(e, t) {
|
|
|
2178
2189
|
}
|
|
2179
2190
|
function ye(e, t, n, l, a) {
|
|
2180
2191
|
var m;
|
|
2181
|
-
const r =
|
|
2192
|
+
const r = Q(e, n);
|
|
2182
2193
|
if (r == null) {
|
|
2183
2194
|
t.value = n ? [] : null;
|
|
2184
2195
|
return;
|
|
@@ -2197,12 +2208,12 @@ const ll = {
|
|
|
2197
2208
|
class: "me-1"
|
|
2198
2209
|
}, al = /* @__PURE__ */ M({
|
|
2199
2210
|
__name: "df-select",
|
|
2200
|
-
props: /* @__PURE__ */
|
|
2211
|
+
props: /* @__PURE__ */ G({
|
|
2201
2212
|
choices: {},
|
|
2202
2213
|
multiple: { type: Boolean },
|
|
2203
2214
|
allowTags: { type: Boolean },
|
|
2204
2215
|
allowNull: { type: Boolean },
|
|
2205
|
-
fetchChoices: {},
|
|
2216
|
+
fetchChoices: { type: Function },
|
|
2206
2217
|
control: {},
|
|
2207
2218
|
modelValue: {},
|
|
2208
2219
|
label: {},
|
|
@@ -2215,7 +2226,7 @@ const ll = {
|
|
|
2215
2226
|
cssClass: {},
|
|
2216
2227
|
clearable: { type: Boolean },
|
|
2217
2228
|
passthroughAttrs: {}
|
|
2218
|
-
}, F(x({},
|
|
2229
|
+
}, F(x({}, q), {
|
|
2219
2230
|
choices: void 0,
|
|
2220
2231
|
multiple: !1,
|
|
2221
2232
|
allowTags: !1,
|
|
@@ -2224,161 +2235,175 @@ const ll = {
|
|
|
2224
2235
|
})),
|
|
2225
2236
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
2226
2237
|
setup(e, { emit: t }) {
|
|
2227
|
-
const n = e, { choices: l, multiple: a, allowTags: r, allowNull: m, cssClass: i, visibility:
|
|
2228
|
-
|
|
2229
|
-
|
|
2238
|
+
const n = e, { choices: l, multiple: a, allowTags: r, allowNull: m, cssClass: i, visibility: c } = _e(n), d = t, { errors: _, label: s, touched: p, value: h, vuetifyBindings: g } = K(n, d), w = E(null), j = E(!1), v = E([]), A = k(() => o(j) ? o(v) : o(l) || []), N = E(!1), C = k(() => ol(A.value));
|
|
2239
|
+
C.value && n.fetchChoices !== void 0 && console.warn("Both options and fetchChoices are set. Only one of them should be set.");
|
|
2240
|
+
function W(T) {
|
|
2241
|
+
d("update:modelValueDisplay", Ve(A.value, T));
|
|
2230
2242
|
}
|
|
2231
2243
|
let f = !1;
|
|
2232
|
-
function
|
|
2233
|
-
f = !0,
|
|
2244
|
+
function u(T) {
|
|
2245
|
+
f = !0, h.value = T, Ne(() => {
|
|
2234
2246
|
f = !1;
|
|
2235
2247
|
});
|
|
2236
2248
|
}
|
|
2237
|
-
ie(
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2249
|
+
ie(
|
|
2250
|
+
w,
|
|
2251
|
+
(T) => {
|
|
2252
|
+
g.value.readonly || Ne(() => {
|
|
2253
|
+
const I = Q(T, a.value);
|
|
2254
|
+
W(I), u(I);
|
|
2255
|
+
});
|
|
2256
|
+
},
|
|
2257
|
+
{ deep: !0 }
|
|
2258
|
+
), ie(
|
|
2259
|
+
h,
|
|
2260
|
+
(T) => {
|
|
2261
|
+
if (!f) {
|
|
2262
|
+
const I = Q(T, a.value);
|
|
2263
|
+
ye(I, w, a.value, !1, A.value);
|
|
2264
|
+
}
|
|
2265
|
+
},
|
|
2266
|
+
{ deep: !0 }
|
|
2267
|
+
);
|
|
2248
2268
|
function $() {
|
|
2249
|
-
if (
|
|
2250
|
-
const
|
|
2251
|
-
ye(
|
|
2269
|
+
if (g.value.readonly || r.value) return;
|
|
2270
|
+
const T = Q(w.value, a.value);
|
|
2271
|
+
ye(T, w, a.value, !1, A.value), u(T);
|
|
2252
2272
|
}
|
|
2253
|
-
function
|
|
2273
|
+
function z(T) {
|
|
2254
2274
|
let I;
|
|
2255
|
-
a.value && Array.isArray(
|
|
2275
|
+
a.value && Array.isArray(w.value) ? I = Q(
|
|
2276
|
+
w.value.filter((y) => y !== T),
|
|
2277
|
+
a.value
|
|
2278
|
+
) : I = null, ye(I, w, a.value, !1, A.value), u(I);
|
|
2256
2279
|
}
|
|
2257
|
-
function se(
|
|
2280
|
+
function se(T, I) {
|
|
2258
2281
|
return ge(this, null, function* () {
|
|
2259
2282
|
if (!(l.value || n.fetchChoices === void 0)) {
|
|
2260
|
-
|
|
2283
|
+
N.value = !0;
|
|
2261
2284
|
try {
|
|
2262
|
-
const
|
|
2263
|
-
|
|
2285
|
+
const y = Ve(
|
|
2286
|
+
A.value,
|
|
2287
|
+
Q(w.value, a.value)
|
|
2288
|
+
), Y = yield n.fetchChoices(T, I);
|
|
2289
|
+
v.value = ht([...y, ...Y], "id"), j.value = !0;
|
|
2264
2290
|
} finally {
|
|
2265
|
-
|
|
2291
|
+
N.value = !1;
|
|
2266
2292
|
}
|
|
2267
2293
|
}
|
|
2268
2294
|
});
|
|
2269
2295
|
}
|
|
2270
2296
|
function ue() {
|
|
2271
|
-
let
|
|
2272
|
-
!m.value &&
|
|
2297
|
+
let T = h.value;
|
|
2298
|
+
!m.value && T == null && C.value.length && (T = C.value[0].value), T = Q(T, a.value), ye(T, w, a.value, r.value, A.value), W(T), u(T);
|
|
2273
2299
|
}
|
|
2274
|
-
return ue(), n.fetchChoices !== void 0 && se(void 0,
|
|
2300
|
+
return ue(), n.fetchChoices !== void 0 && se(void 0, h.value).then(() => {
|
|
2275
2301
|
ue();
|
|
2276
|
-
}), (
|
|
2277
|
-
const
|
|
2278
|
-
return o(
|
|
2302
|
+
}), (T, I) => {
|
|
2303
|
+
const y = S("v-chip"), Y = S("v-list-item");
|
|
2304
|
+
return o(c) !== o(H).SUPPRESS ? (V(), D(ve(o(r) ? "v-combobox" : "v-autocomplete"), U({
|
|
2279
2305
|
key: 0,
|
|
2280
|
-
modelValue:
|
|
2281
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
2306
|
+
modelValue: w.value,
|
|
2307
|
+
"onUpdate:modelValue": I[0] || (I[0] = (P) => w.value = P),
|
|
2282
2308
|
class: [
|
|
2283
2309
|
o(i),
|
|
2284
2310
|
{
|
|
2285
|
-
"d-none": o(
|
|
2286
|
-
invisible: o(
|
|
2311
|
+
"d-none": o(c) === o(H).HIDDEN,
|
|
2312
|
+
invisible: o(c) === o(H).INVISIBLE
|
|
2287
2313
|
}
|
|
2288
2314
|
],
|
|
2289
|
-
items:
|
|
2315
|
+
items: C.value,
|
|
2290
2316
|
"return-object": !1
|
|
2291
|
-
}, o(
|
|
2292
|
-
label: o(
|
|
2317
|
+
}, o(g), {
|
|
2318
|
+
label: o(g).label,
|
|
2293
2319
|
chips: "",
|
|
2294
2320
|
"auto-select-first": !0,
|
|
2295
|
-
"closable-chips": o(m) || o(a) &&
|
|
2321
|
+
"closable-chips": o(m) || o(a) && w.value.length > 1,
|
|
2296
2322
|
clearable: o(m),
|
|
2297
2323
|
multiple: o(a),
|
|
2298
|
-
loading:
|
|
2324
|
+
loading: N.value,
|
|
2299
2325
|
"hide-selected": !1,
|
|
2300
|
-
"aria-describedby": o(
|
|
2326
|
+
"aria-describedby": o(g).helpText ? `${o(g).name}-help` : null,
|
|
2301
2327
|
"menu-props": { maxHeight: "400" },
|
|
2302
2328
|
"hide-details": "auto",
|
|
2303
|
-
"onUpdate:search": I[1] || (I[1] = (
|
|
2329
|
+
"onUpdate:search": I[1] || (I[1] = (P) => se(P, void 0)),
|
|
2304
2330
|
"onUpdate:modelValue": $,
|
|
2305
|
-
"onClick:clear": I[2] || (I[2] = (
|
|
2306
|
-
onBlur: I[3] || (I[3] = (
|
|
2307
|
-
}),
|
|
2308
|
-
chip: b(({ item:
|
|
2309
|
-
(V(),
|
|
2310
|
-
key:
|
|
2331
|
+
"onClick:clear": I[2] || (I[2] = (P) => w.value = null),
|
|
2332
|
+
onBlur: I[3] || (I[3] = (P) => p.value = !0)
|
|
2333
|
+
}), X({
|
|
2334
|
+
chip: b(({ item: P }) => [
|
|
2335
|
+
(V(), D(y, {
|
|
2336
|
+
key: P.value,
|
|
2311
2337
|
label: "",
|
|
2312
2338
|
size: "small",
|
|
2313
2339
|
class: "d-flex align-middle",
|
|
2314
2340
|
variant: o(a) ? "tonal" : "text",
|
|
2315
2341
|
closable: o(a),
|
|
2316
|
-
"onClick:close": (ae) =>
|
|
2342
|
+
"onClick:close": (ae) => z(P.value)
|
|
2317
2343
|
}, {
|
|
2318
2344
|
prepend: b(() => {
|
|
2319
2345
|
var ae;
|
|
2320
2346
|
return [
|
|
2321
|
-
(ae =
|
|
2347
|
+
(ae = P.raw) != null && ae.icon ? (V(), D(o(he), {
|
|
2322
2348
|
key: 0,
|
|
2323
|
-
size: "24",
|
|
2324
2349
|
class: "me-1",
|
|
2325
|
-
|
|
2326
|
-
}, null, 8, ["
|
|
2350
|
+
name: P.raw.icon
|
|
2351
|
+
}, null, 8, ["name"])) : L("", !0)
|
|
2327
2352
|
];
|
|
2328
2353
|
}),
|
|
2329
2354
|
default: b(() => [
|
|
2330
2355
|
ne("span", {
|
|
2331
2356
|
class: Ie({ "text-body-1": !o(a) })
|
|
2332
|
-
}, Be(
|
|
2357
|
+
}, Be(P.title), 3)
|
|
2333
2358
|
]),
|
|
2334
2359
|
_: 2
|
|
2335
2360
|
}, 1032, ["variant", "closable", "onClick:close"]))
|
|
2336
2361
|
]),
|
|
2337
|
-
item: b(({ props:
|
|
2338
|
-
B(
|
|
2362
|
+
item: b(({ props: P, item: ae }) => [
|
|
2363
|
+
B(Y, Z(J(P)), {
|
|
2339
2364
|
prepend: b(() => {
|
|
2340
2365
|
var De;
|
|
2341
2366
|
return [
|
|
2342
|
-
(De = ae.raw) != null && De.icon ? (V(),
|
|
2343
|
-
B(
|
|
2367
|
+
(De = ae.raw) != null && De.icon ? (V(), O("span", ll, [
|
|
2368
|
+
B(o(he), {
|
|
2344
2369
|
class: "action-icon",
|
|
2345
|
-
|
|
2346
|
-
}, null, 8, ["
|
|
2370
|
+
name: ae.raw.icon
|
|
2371
|
+
}, null, 8, ["name"])
|
|
2347
2372
|
])) : L("", !0)
|
|
2348
2373
|
];
|
|
2349
2374
|
}),
|
|
2350
2375
|
_: 2
|
|
2351
2376
|
}, 1040)
|
|
2352
2377
|
]),
|
|
2353
|
-
message: b(({ message:
|
|
2378
|
+
message: b(({ message: P }) => [
|
|
2354
2379
|
B(o(le), {
|
|
2355
|
-
message:
|
|
2356
|
-
errors: o(
|
|
2380
|
+
message: P,
|
|
2381
|
+
errors: o(_)
|
|
2357
2382
|
}, null, 8, ["message", "errors"])
|
|
2358
2383
|
]),
|
|
2359
2384
|
_: 2
|
|
2360
2385
|
}, [
|
|
2361
|
-
o(
|
|
2386
|
+
o(s).icon ? {
|
|
2362
2387
|
name: "label",
|
|
2363
|
-
fn: b((
|
|
2388
|
+
fn: b((P) => [
|
|
2364
2389
|
B(o(oe), {
|
|
2365
|
-
data:
|
|
2366
|
-
label: o(
|
|
2390
|
+
data: P,
|
|
2391
|
+
label: o(s)
|
|
2367
2392
|
}, null, 8, ["data", "label"])
|
|
2368
2393
|
]),
|
|
2369
2394
|
key: "0"
|
|
2370
2395
|
} : void 0,
|
|
2371
|
-
|
|
2396
|
+
T.$slots["append-inner"] ? {
|
|
2372
2397
|
name: "append-inner",
|
|
2373
|
-
fn: b((
|
|
2374
|
-
re(
|
|
2398
|
+
fn: b((P) => [
|
|
2399
|
+
re(T.$slots, "append-inner", Z(J(P)))
|
|
2375
2400
|
]),
|
|
2376
2401
|
key: "1"
|
|
2377
2402
|
} : void 0,
|
|
2378
|
-
|
|
2403
|
+
T.$slots["prepend-inner"] ? {
|
|
2379
2404
|
name: "prepend-inner",
|
|
2380
|
-
fn: b((
|
|
2381
|
-
re(
|
|
2405
|
+
fn: b((P) => [
|
|
2406
|
+
re(T.$slots, "prepend-inner", Z(J(P)))
|
|
2382
2407
|
]),
|
|
2383
2408
|
key: "2"
|
|
2384
2409
|
} : void 0
|
|
@@ -2387,7 +2412,7 @@ const ll = {
|
|
|
2387
2412
|
}
|
|
2388
2413
|
}), rl = { class: "container" }, il = /* @__PURE__ */ M({
|
|
2389
2414
|
__name: "df-text-area",
|
|
2390
|
-
props: /* @__PURE__ */
|
|
2415
|
+
props: /* @__PURE__ */ G({
|
|
2391
2416
|
rows: {},
|
|
2392
2417
|
maxRows: {},
|
|
2393
2418
|
control: {},
|
|
@@ -2402,36 +2427,36 @@ const ll = {
|
|
|
2402
2427
|
cssClass: {},
|
|
2403
2428
|
clearable: { type: Boolean },
|
|
2404
2429
|
passthroughAttrs: {}
|
|
2405
|
-
}, F(x({},
|
|
2430
|
+
}, F(x({}, q), {
|
|
2406
2431
|
rows: void 0,
|
|
2407
2432
|
maxRows: void 0
|
|
2408
2433
|
})),
|
|
2409
2434
|
emits: ["update:modelValue", "click:clear"],
|
|
2410
2435
|
setup(e, { emit: t }) {
|
|
2411
|
-
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings:
|
|
2412
|
-
return (
|
|
2413
|
-
const
|
|
2414
|
-
return V(),
|
|
2415
|
-
o(
|
|
2436
|
+
const n = e, l = t, { errors: a, label: r, touched: m, value: i, vuetifyBindings: c } = K(n, l), { cssClass: d, visibility: _ } = _e(n);
|
|
2437
|
+
return (s, p) => {
|
|
2438
|
+
const h = S("v-textarea");
|
|
2439
|
+
return V(), O("div", rl, [
|
|
2440
|
+
o(_) !== o(H).SUPPRESS ? (V(), D(h, U({
|
|
2416
2441
|
key: 0,
|
|
2417
2442
|
modelValue: o(i),
|
|
2418
|
-
"onUpdate:modelValue":
|
|
2443
|
+
"onUpdate:modelValue": p[0] || (p[0] = (g) => te(i) ? i.value = g : null),
|
|
2419
2444
|
class: [
|
|
2420
|
-
o(
|
|
2445
|
+
o(d),
|
|
2421
2446
|
{
|
|
2422
|
-
"d-none": o(
|
|
2423
|
-
invisible: o(
|
|
2447
|
+
"d-none": o(_) === o(H).HIDDEN,
|
|
2448
|
+
invisible: o(_) === o(H).INVISIBLE
|
|
2424
2449
|
}
|
|
2425
2450
|
],
|
|
2426
|
-
rows:
|
|
2427
|
-
"auto-grow": (
|
|
2428
|
-
"max-rows":
|
|
2429
|
-
}, o(
|
|
2430
|
-
onBlur:
|
|
2431
|
-
}),
|
|
2432
|
-
message: b(({ message:
|
|
2451
|
+
rows: s.rows,
|
|
2452
|
+
"auto-grow": (s.maxRows || 0) > 0,
|
|
2453
|
+
"max-rows": s.maxRows
|
|
2454
|
+
}, o(c), {
|
|
2455
|
+
onBlur: p[1] || (p[1] = (g) => m.value = !0)
|
|
2456
|
+
}), X({
|
|
2457
|
+
message: b(({ message: g }) => [
|
|
2433
2458
|
B(o(le), {
|
|
2434
|
-
message:
|
|
2459
|
+
message: g,
|
|
2435
2460
|
errors: o(a)
|
|
2436
2461
|
}, null, 8, ["message", "errors"])
|
|
2437
2462
|
]),
|
|
@@ -2439,9 +2464,9 @@ const ll = {
|
|
|
2439
2464
|
}, [
|
|
2440
2465
|
o(r).icon ? {
|
|
2441
2466
|
name: "label",
|
|
2442
|
-
fn: b((
|
|
2467
|
+
fn: b((g) => [
|
|
2443
2468
|
B(o(oe), {
|
|
2444
|
-
data:
|
|
2469
|
+
data: g,
|
|
2445
2470
|
label: o(r)
|
|
2446
2471
|
}, null, 8, ["data", "label"])
|
|
2447
2472
|
]),
|
|
@@ -2451,11 +2476,11 @@ const ll = {
|
|
|
2451
2476
|
]);
|
|
2452
2477
|
};
|
|
2453
2478
|
}
|
|
2454
|
-
}), sl = /* @__PURE__ */
|
|
2479
|
+
}), sl = /* @__PURE__ */ be(il, [["__scopeId", "data-v-d9284a00"]]), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2455
2480
|
__proto__: null,
|
|
2456
2481
|
DfActions: Ro,
|
|
2457
|
-
DfCheckbox:
|
|
2458
|
-
DfColor:
|
|
2482
|
+
DfCheckbox: Wo,
|
|
2483
|
+
DfColor: zo,
|
|
2459
2484
|
DfDateTime: Ko,
|
|
2460
2485
|
DfFile: Go,
|
|
2461
2486
|
DfInput: Qo,
|
|
@@ -2469,9 +2494,9 @@ const ll = {
|
|
|
2469
2494
|
VCheckbox: pn,
|
|
2470
2495
|
VChip: fn,
|
|
2471
2496
|
VCol: kn,
|
|
2472
|
-
VColorPicker:
|
|
2497
|
+
VColorPicker: hn,
|
|
2473
2498
|
VCombobox: vn,
|
|
2474
|
-
VConfirmEdit:
|
|
2499
|
+
VConfirmEdit: bn,
|
|
2475
2500
|
VDatePicker: gn,
|
|
2476
2501
|
VField: wn,
|
|
2477
2502
|
VFileInput: yn,
|
|
@@ -2490,7 +2515,7 @@ const ll = {
|
|
|
2490
2515
|
VTimePicker: En
|
|
2491
2516
|
}, Symbol.toStringTag, { value: "Module" })), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2492
2517
|
__proto__: null
|
|
2493
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2518
|
+
}, Symbol.toStringTag, { value: "Module" })), Hl = {
|
|
2494
2519
|
install: (e, t) => {
|
|
2495
2520
|
var n, l;
|
|
2496
2521
|
e.use(Kn), e.provide(Je, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(ul).map(([a, r]) => e.component(a, r)), (l = t == null ? void 0 : t.registerVuetifyComponents) != null && l && Object.entries(cl).map(([a, r]) => e.component(a, r));
|
|
@@ -2498,11 +2523,11 @@ const ll = {
|
|
|
2498
2523
|
};
|
|
2499
2524
|
export {
|
|
2500
2525
|
ke as Action,
|
|
2501
|
-
|
|
2526
|
+
R as ActionDisplayStyle,
|
|
2502
2527
|
Po as DateTimeLocaleConfig,
|
|
2503
2528
|
Ro as DfActions,
|
|
2504
|
-
|
|
2505
|
-
|
|
2529
|
+
Wo as DfCheckbox,
|
|
2530
|
+
zo as DfColor,
|
|
2506
2531
|
Ko as DfDateTime,
|
|
2507
2532
|
Go as DfFile,
|
|
2508
2533
|
Qo as DfInput,
|
|
@@ -2512,19 +2537,19 @@ export {
|
|
|
2512
2537
|
nl as DfRtfEditor,
|
|
2513
2538
|
al as DfSelect,
|
|
2514
2539
|
sl as DfTextArea,
|
|
2515
|
-
|
|
2540
|
+
Hl as DynamicFormsInputs,
|
|
2516
2541
|
Pe as InputBase,
|
|
2517
2542
|
$o as Label,
|
|
2518
2543
|
le as MessagesWidget,
|
|
2519
2544
|
Lo as ResponsiveActionRenderOptions,
|
|
2520
2545
|
Ao as ResponsiveRenderOptions,
|
|
2521
2546
|
cl as VuetifyComponents,
|
|
2522
|
-
|
|
2547
|
+
q as defaultBaseProps,
|
|
2523
2548
|
Re as defaultDisplayStyle,
|
|
2524
2549
|
No as getBreakpointName,
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2550
|
+
We as responsiveBreakpoints,
|
|
2551
|
+
fe as translatableStrings,
|
|
2552
|
+
Wl as translateStrings,
|
|
2528
2553
|
Fo as useBreakpoint,
|
|
2529
2554
|
K as useInputBase,
|
|
2530
2555
|
Je as vuetifyInputsSettingsKey
|