@dynamicforms/vuetify-inputs 0.5.9 → 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.
@@ -12,29 +12,30 @@ 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 = (p) => {
15
+ var r = (c) => {
16
16
  try {
17
- i(n.next(p));
18
- } catch (s) {
19
- a(s);
17
+ i(n.next(c));
18
+ } catch (d) {
19
+ a(d);
20
20
  }
21
- }, d = (p) => {
21
+ }, m = (c) => {
22
22
  try {
23
- i(n.throw(p));
24
- } catch (s) {
25
- a(s);
23
+ i(n.throw(c));
24
+ } catch (d) {
25
+ a(d);
26
26
  }
27
- }, i = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(r, d);
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 We, markRaw as rt, onBeforeUnmount as He, createBlock as P, openBlock as V, resolveDynamicComponent as he, version as it, isRef as te, resolveComponent as D, createElementBlock as R, createCommentVNode as L, createTextVNode as st, Fragment as Ke, toDisplayString as Be, inject as ut, computed as k, h as we, unref as o, normalizeClass as Ie, createSlots as q, withCtx as b, createVNode as B, renderSlot as re, normalizeProps as X, guardReactiveProps as G, createElementVNode as ne, renderList as ct, withModifiers as dt, mergeDefaults as Y, mergeProps as O, 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 fe, 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";
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";
33
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 de, parse as kt } from "date-fns";
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 zt, IndentBlock as Wt, 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";
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";
@@ -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 zn(e) {
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)", Wn = 300, Hn = /* @__PURE__ */ M({
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,49 +214,49 @@ 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, d = E(), i = E(), p = 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: p
220
- }), ie(l, (u) => {
221
- i.value && u !== p.value && i.value.data.set(u);
222
- }), ie(() => a.disabled, (u) => {
223
- u ? i.value.enableReadOnlyMode(Ce) : i.value.disableReadOnlyMode(Ce);
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 s() {
226
- const u = window.CKEDITOR_VERSION;
227
- if (!u)
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 [m] = u.split(".").map(Number);
230
- m >= 42 || u.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
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 _(u) {
233
- const m = pt((h) => {
233
+ function _(s) {
234
+ const p = pt((h) => {
234
235
  if (a.disableTwoWayDataBinding)
235
236
  return;
236
- const g = p.value = u.data.get();
237
- r("update:modelValue", g, h, u), r("input", g, h, u);
238
- }, Wn, { leading: !0 });
239
- u.model.document.on("change:data", m), u.editing.view.document.on("focus", (h) => {
240
- r("focus", h, u);
241
- }), u.editing.view.document.on("blur", (h) => {
242
- r("blur", h, u);
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 s(), We(() => {
246
- const u = zn(
246
+ return d(), ze(() => {
247
+ const s = Wn(
247
248
  Object.assign({}, a.config)
248
249
  );
249
- l.value && (u.initialData = l.value), a.editor.create(d.value, u).then((m) => {
250
- i.value = rt(m), _(m), l.value !== u.initialData && m.data.set(l.value), a.disabled && m.enableReadOnlyMode(Ce), r("ready", m);
251
- }).catch((m) => {
252
- console.error(m);
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
- }), (u, m) => (V(), P(he(u.tagName), {
257
+ }), (s, p) => (V(), D(ve(s.tagName), {
257
258
  ref_key: "element",
258
- ref: d
259
+ ref: m
259
260
  }, null, 512));
260
261
  }
261
262
  });
@@ -278,71 +279,10 @@ const Kn = {
278
279
  e.component("Ckeditor", Hn);
279
280
  }
280
281
  };
281
- function Te(e) {
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 d = e.defaultFormattingWidth || e.defaultWidth, i = n != null && n.width ? String(n.width) : d;
293
- a = e.formattingValues[i] || e.formattingValues[d];
294
- } else {
295
- const d = e.defaultWidth, i = n != null && n.width ? String(n.width) : e.defaultWidth;
296
- a = e.values[i] || e.values[d];
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 d = r[0], i = l && e.parsePatterns[l] || e.parsePatterns[e.defaultParseWidth], p = Array.isArray(i) ? Gn(i, (u) => u.test(d)) : (
308
- // [TODO] -- I challenge you to fix the type
309
- Xn(i, (u) => u.test(d))
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 _ = t.slice(d.length);
317
- return { value: s, rest: _ };
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 d = e.valueCallback ? e.valueCallback(r[0]) : r[0];
337
- d = n.valueCallback ? n.valueCallback(d) : d;
338
- const i = t.slice(a.length);
339
- return { value: d, rest: i };
340
- };
341
- }
342
- function Yn(e) {
282
+ function Xn(e) {
343
283
  return e.one !== void 0;
344
284
  }
345
- const Qn = {
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 Zn(e) {
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 Jn = (e, t, n) => {
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 = Qn[e];
578
+ const r = Gn[e];
639
579
  if (typeof r == "string")
640
580
  l += r;
641
581
  else {
642
- const d = Zn(t);
643
- Yn(r) ? l += r[d].replace("{{count}}", String(t)) : l += r[a][d].replace("{{count}}", String(t));
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
- }, eo = {
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
- }, to = {
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
- }, no = {
603
+ }, Jn = {
657
604
  full: "{{date}} {{time}}",
658
605
  long: "{{date}} {{time}}",
659
606
  medium: "{{date}} {{time}}",
660
607
  short: "{{date}} {{time}}"
661
- }, oo = {
608
+ }, eo = {
662
609
  date: Te({
663
- formats: eo,
610
+ formats: Qn,
664
611
  defaultWidth: "full"
665
612
  }),
666
613
  time: Te({
667
- formats: to,
614
+ formats: Zn,
668
615
  defaultWidth: "full"
669
616
  }),
670
617
  dateTime: Te({
671
- formats: no,
618
+ formats: Jn,
672
619
  defaultWidth: "full"
673
620
  })
674
- }, lo = {
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
- }, ao = (e, t, n, l) => {
704
- const a = lo[e];
650
+ }, no = (e, t, n, l) => {
651
+ const a = to[e];
705
652
  return typeof a == "function" ? a(t) : a;
706
- }, ro = {
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
- }, io = {
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
- }, so = {
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
- }, uo = {
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
- }, co = {
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
- }, mo = {
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
- }, po = (e, t) => Number(e) + ".", fo = {
820
- ordinalNumber: po,
821
- era: me({
822
- values: ro,
782
+ }, uo = (e, t) => Number(e) + ".", co = {
783
+ ordinalNumber: uo,
784
+ era: de({
785
+ values: oo,
823
786
  defaultWidth: "wide"
824
787
  }),
825
- quarter: me({
826
- values: io,
788
+ quarter: de({
789
+ values: lo,
827
790
  defaultWidth: "wide",
828
791
  argumentCallback: (e) => e - 1
829
792
  }),
830
- month: me({
831
- values: so,
793
+ month: de({
794
+ values: ao,
832
795
  defaultWidth: "wide"
833
796
  }),
834
- day: me({
835
- values: uo,
797
+ day: de({
798
+ values: ro,
836
799
  defaultWidth: "wide"
837
800
  }),
838
- dayPeriod: me({
839
- values: co,
801
+ dayPeriod: de({
802
+ values: io,
840
803
  defaultWidth: "wide",
841
- formattingValues: mo,
804
+ formattingValues: so,
842
805
  defaultFormattingWidth: "wide"
843
806
  })
844
- }, vo = /^(\d+)\./i, ho = /\d+/i, bo = {
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: qn({
939
+ ordinalNumber: fo({
936
940
  matchPattern: vo,
937
941
  parsePattern: ho,
938
942
  valueCallback: (e) => parseInt(e, 10)
939
943
  }),
940
- era: pe({
944
+ era: me({
941
945
  matchPatterns: bo,
942
946
  defaultMatchWidth: "wide",
943
947
  parsePatterns: go,
944
948
  defaultParseWidth: "any"
945
949
  }),
946
- quarter: pe({
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: pe({
957
+ month: me({
954
958
  matchPatterns: ko,
955
959
  defaultMatchWidth: "wide",
956
960
  parsePatterns: Vo,
957
961
  defaultParseWidth: "wide"
958
962
  }),
959
- day: pe({
963
+ day: me({
960
964
  matchPatterns: _o,
961
965
  defaultMatchWidth: "wide",
962
966
  parsePatterns: jo,
963
967
  defaultParseWidth: "any"
964
968
  }),
965
- dayPeriod: pe({
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: Jn,
974
- formatLong: oo,
975
- formatRelative: ao,
976
- localize: fo,
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 = D("v-icon"), a = D("v-img");
996
- return V(), R("div", Do, [
997
- t.label.icon ? (V(), R(Ke, { key: 0 }, [
998
- t.label.iconComponent === "v-icon" ? (V(), P(l, {
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
- icon: t.label.icon,
1004
+ name: t.label.icon,
1001
1005
  size: "1.25em"
1002
- }, null, 8, ["icon"])) : t.label.iconComponent === "v-img" ? (V(), P(a, {
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(), P(he(t.label.iconComponent), {
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"]))
@@ -1017,13 +1021,13 @@ const Jn = (e, t, n) => {
1017
1021
  for (const [l, a] of t)
1018
1022
  n[l] = a;
1019
1023
  return n;
1020
- }, oe = /* @__PURE__ */ be(xo, [["__scopeId", "data-v-0034f29f"]]), Je = Symbol("vuetifyInputsSettingsKey");
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 Q = { enabled: void 0, clearable: !0 };
1030
+ const q = { enabled: void 0, clearable: !0 };
1027
1031
  function K(e, t) {
1028
1032
  const n = ut(Je, {}), l = E(null), a = k({
1029
1033
  get() {
@@ -1042,21 +1046,21 @@ function K(e, t) {
1042
1046
  set(v) {
1043
1047
  e.control.touched = v;
1044
1048
  }
1045
- }), d = e.control ? r : E(!1), i = k(() => e.control ? e.control.valid : !0), p = k(
1049
+ }), m = e.control ? r : E(!1), i = k(() => e.control ? e.control.valid : !0), c = k(
1046
1050
  () => e.control ? e.control.errors : (e.errors || []).map((v) => new bt(v))
1047
- ), s = k(() => d.value && p.value.length > 0 ? " " : void 0), _ = k(() => e.control ? e.control.enabled : e.enabled !== !1), u = k(
1051
+ ), d = k(() => m.value && c.value.length > 0 ? " " : void 0), _ = k(() => e.control ? e.control.enabled : e.enabled !== !1), s = k(
1048
1052
  () => e.control ? e.control.visibility : e.visibility || Oe.DisplayMode.FULL
1049
- ), m = k(
1053
+ ), p = k(
1050
1054
  () => ee(e.label || "") ? new $o(e.label || "") : e.label
1051
1055
  ), h = k(() => e.placeholder || ""), g = k(() => e.helpText || ""), w = k(() => e.hint || ""), j = k(() => e.cssClass || "");
1052
1056
  return {
1053
1057
  value: a,
1054
1058
  valid: i,
1055
1059
  enabled: _,
1056
- errors: p,
1057
- visibility: u,
1058
- label: m,
1059
- touched: d,
1060
+ errors: c,
1061
+ visibility: s,
1062
+ label: p,
1063
+ touched: m,
1060
1064
  vuetifyBindings: k(() => {
1061
1065
  var v, A;
1062
1066
  return x({
@@ -1064,14 +1068,14 @@ function K(e, t) {
1064
1068
  class: j.value,
1065
1069
  density: "default",
1066
1070
  variant: (A = n.defaultVariant) != null ? A : "underlined",
1067
- label: m.value.text,
1068
- messages: s.value,
1069
- errorMessages: s.value,
1071
+ label: p.value.text,
1072
+ messages: d.value,
1073
+ errorMessages: d.value,
1070
1074
  // 'error-count': errors?.value.length || 0,
1071
1075
  readonly: !_.value,
1072
1076
  disabled: !_.value,
1073
1077
  placeholder: h.value,
1074
- "persistent-placeholder": !fe(h.value),
1078
+ "persistent-placeholder": !pe(h.value),
1075
1079
  hint: w.value,
1076
1080
  persistentHint: !0,
1077
1081
  // we want persistent hint always
@@ -1099,10 +1103,12 @@ const le = /* @__PURE__ */ M({
1099
1103
  l.push(we("div", { class: t.classes }, a.componentBody));
1100
1104
  break;
1101
1105
  case "vue-markdown":
1102
- l.push(we(
1103
- wt,
1104
- { class: [t.classes, "df-messages-widget-markdown"], source: a.componentBindings.source }
1105
- ));
1106
+ l.push(
1107
+ we(wt, {
1108
+ class: [t.classes, "df-messages-widget-markdown"],
1109
+ source: a.componentBindings.source
1110
+ })
1111
+ );
1106
1112
  break;
1107
1113
  default:
1108
1114
  l.push(
@@ -1112,7 +1118,7 @@ const le = /* @__PURE__ */ M({
1112
1118
  }
1113
1119
  }), l;
1114
1120
  };
1115
- return (l, a) => (V(), P(n));
1121
+ return (l, a) => (V(), D(n));
1116
1122
  }
1117
1123
  }), So = { class: "d-flex w-100 style-resetting" }, Eo = /* @__PURE__ */ M({
1118
1124
  __name: "input-base",
@@ -1133,27 +1139,27 @@ const le = /* @__PURE__ */ M({
1133
1139
  },
1134
1140
  emits: ["update:modelValue", "click:clear", "blur"],
1135
1141
  setup(e, { emit: t }) {
1136
- const n = e, l = t, { errors: a, label: r, value: d, touched: i, visibility: p, vuetifyBindings: s } = K(n, l), _ = k(() => !!(o(n.clearable) && o(d))), u = E(!1);
1137
- function m(h) {
1138
- u.value = h, h || (i.value = !0, l("blur"));
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"));
1139
1145
  }
1140
1146
  return (h, g) => {
1141
- const w = D("v-field"), j = D("v-input");
1142
- return o(p) !== o(H).SUPPRESS ? (V(), P(j, {
1147
+ const w = S("v-field"), j = S("v-input");
1148
+ return o(c) !== o(H).SUPPRESS ? (V(), D(j, {
1143
1149
  key: 0,
1144
- name: o(s).name,
1145
- hint: o(s).hint,
1146
- "persistent-hint": o(s).persistentHint,
1147
- "hide-details": o(s).hideDetails,
1148
- "error-messages": o(s).errorMessages,
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,
1149
1155
  class: Ie([
1150
1156
  h.cssClass,
1151
1157
  {
1152
- "d-none": o(p) === o(H).HIDDEN,
1153
- invisible: o(p) === o(H).INVISIBLE
1158
+ "d-none": o(c) === o(H).HIDDEN,
1159
+ invisible: o(c) === o(H).INVISIBLE
1154
1160
  }
1155
1161
  ])
1156
- }, q({
1162
+ }, X({
1157
1163
  message: b(({ message: v }) => [
1158
1164
  B(le, {
1159
1165
  message: v,
@@ -1162,24 +1168,24 @@ const le = /* @__PURE__ */ M({
1162
1168
  ]),
1163
1169
  default: b(() => [
1164
1170
  B(w, {
1165
- variant: o(s).variant,
1166
- label: o(s).label,
1167
- disabled: o(s).disabled,
1171
+ variant: o(d).variant,
1172
+ label: o(d).label,
1173
+ disabled: o(d).disabled,
1168
1174
  clearable: _.value,
1169
1175
  "persistent-clear": !0,
1170
- dirty: !!o(d),
1171
- active: u.value,
1176
+ dirty: !!o(m),
1177
+ active: s.value,
1172
1178
  loading: h.loading,
1173
1179
  "onClick:clear": g[0] || (g[0] = (v) => l("click:clear")),
1174
- "onUpdate:focused": g[1] || (g[1] = (v) => m(v))
1175
- }, q({
1180
+ "onUpdate:focused": g[1] || (g[1] = (v) => p(v))
1181
+ }, X({
1176
1182
  default: b((v) => [
1177
1183
  ne("div", So, [
1178
- re(h.$slots, "default", X(G(v)), void 0, !0)
1184
+ re(h.$slots, "default", Z(J(v)), void 0, !0)
1179
1185
  ])
1180
1186
  ]),
1181
1187
  loader: b((v) => [
1182
- re(h.$slots, "loader", X(G(v)), void 0, !0)
1188
+ re(h.$slots, "loader", Z(J(v)), void 0, !0)
1183
1189
  ]),
1184
1190
  _: 2
1185
1191
  }, [
@@ -1196,7 +1202,7 @@ const le = /* @__PURE__ */ M({
1196
1202
  h.$slots["prepend-inner"] ? {
1197
1203
  name: "prepend-inner",
1198
1204
  fn: b((v) => [
1199
- re(h.$slots, "prepend-inner", X(G(v)), void 0, !0)
1205
+ re(h.$slots, "prepend-inner", Z(J(v)), void 0, !0)
1200
1206
  ]),
1201
1207
  key: "1"
1202
1208
  } : void 0
@@ -1207,24 +1213,24 @@ const le = /* @__PURE__ */ M({
1207
1213
  h.$slots.prepend ? {
1208
1214
  name: "prepend",
1209
1215
  fn: b((v) => [
1210
- re(h.$slots, "prepend", X(G(v)), void 0, !0)
1216
+ re(h.$slots, "prepend", Z(J(v)), void 0, !0)
1211
1217
  ]),
1212
1218
  key: "0"
1213
1219
  } : void 0
1214
1220
  ]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
1215
1221
  };
1216
1222
  }
1217
- }), Pe = /* @__PURE__ */ be(Eo, [["__scopeId", "data-v-7ba7207d"]]), ve = {
1223
+ }), Pe = /* @__PURE__ */ be(Eo, [["__scopeId", "data-v-3689b7f9"]]), fe = {
1218
1224
  Yes: "Yes",
1219
1225
  No: "No",
1220
1226
  Close: "Close"
1221
1227
  };
1222
- function Rl(e) {
1223
- Object.keys(ve).forEach((t) => {
1224
- ve[t] = e(t);
1228
+ function Wl(e) {
1229
+ Object.keys(fe).forEach((t) => {
1230
+ fe[t] = e(t);
1225
1231
  });
1226
1232
  }
1227
- var z = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(z || {});
1233
+ var R = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(R || {});
1228
1234
  const Re = 0;
1229
1235
  ((e) => {
1230
1236
  function t(a) {
@@ -1241,23 +1247,23 @@ const Re = 0;
1241
1247
  return Object.values(e).includes(r);
1242
1248
  }
1243
1249
  e.isDefined = l;
1244
- })(z || (z = {}));
1245
- Object.freeze(z);
1246
- const ze = ["xs", "sm", "md", "lg", "xl"];
1250
+ })(R || (R = {}));
1251
+ Object.freeze(R);
1252
+ const We = ["xs", "sm", "md", "lg", "xl"];
1247
1253
  class Ao {
1248
1254
  constructor(t) {
1249
1255
  $e(this, "_value");
1250
- this._value = this.cleanBreakpoint(t, !0), t && ze.forEach((n) => {
1256
+ this._value = this.cleanBreakpoint(t, !0), t && We.forEach((n) => {
1251
1257
  const l = this.cleanBreakpoint(t[n]);
1252
1258
  l && (this._value[n] = l);
1253
1259
  });
1254
1260
  }
1255
1261
  getOptionsForBreakpoint(t) {
1256
1262
  const n = this.cleanBreakpoint(this._value), l = Object.keys(n);
1257
- for (const a of ze) {
1263
+ for (const a of We) {
1258
1264
  const r = this._value[a];
1259
- for (const d of l)
1260
- (r == null ? void 0 : r[d]) != null && (n[d] = r[d]);
1265
+ for (const m of l)
1266
+ (r == null ? void 0 : r[m]) != null && (n[m] = r[m]);
1261
1267
  if (a === t) break;
1262
1268
  }
1263
1269
  return n;
@@ -1271,11 +1277,10 @@ function Fo() {
1271
1277
  return k(() => No(e));
1272
1278
  }
1273
1279
  class Lo extends Ao {
1274
- // eslint-disable-next-line class-methods-use-this
1275
1280
  cleanBreakpoint(t, n = !1) {
1276
1281
  if ((!t || !ft(t)) && !n) return null;
1277
1282
  const l = {};
1278
- return n && (l.renderAs = z.BUTTON, l.showLabel = !0, l.showIcon = !0), t && (t.renderAs != null && (l.renderAs = z.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;
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;
1279
1284
  }
1280
1285
  }
1281
1286
  class ke extends gt {
@@ -1290,8 +1295,8 @@ class ke extends gt {
1290
1295
  label: l.showLabel ? l.label : void 0,
1291
1296
  icon: l.showIcon ? l.icon : void 0,
1292
1297
  renderAs: l.renderAs,
1293
- showLabel: ee(l.label) && !fe(l.label) ? l.showLabel : !1,
1294
- showIcon: ee(l.icon) && !fe(l.icon) ? l.showIcon : !1
1298
+ showLabel: ee(l.label) && !pe(l.label) ? l.showLabel : !1,
1299
+ showIcon: ee(l.icon) && !pe(l.icon) ? l.showIcon : !1
1295
1300
  };
1296
1301
  });
1297
1302
  }
@@ -1302,13 +1307,13 @@ class ke extends gt {
1302
1307
  return this.value.showLabel ? this.value.label : void 0;
1303
1308
  }
1304
1309
  get showLabel() {
1305
- return ee(this.value.label) && !fe(this.value.label) ? this.value.showLabel : !1;
1310
+ return ee(this.value.label) && !pe(this.value.label) ? this.value.showLabel : !1;
1306
1311
  }
1307
1312
  get icon() {
1308
1313
  return this.value.showIcon ? this.value.icon : void 0;
1309
1314
  }
1310
1315
  get showIcon() {
1311
- return ee(this.value.icon) && !fe(this.value.icon) ? this.value.showIcon : !1;
1316
+ return ee(this.value.icon) && !pe(this.value.icon) ? this.value.showIcon : !1;
1312
1317
  }
1313
1318
  get renderAs() {
1314
1319
  return this.value.renderAs;
@@ -1319,9 +1324,9 @@ class ke extends gt {
1319
1324
  // any properties in data should overwrite properties in the constant
1320
1325
  value: {
1321
1326
  name: "close",
1322
- label: ve.Close,
1327
+ label: fe.Close,
1323
1328
  icon: "close-outline",
1324
- renderAs: z.BUTTON,
1329
+ renderAs: R.BUTTON,
1325
1330
  showLabel: !0,
1326
1331
  showIcon: !0
1327
1332
  }
@@ -1334,9 +1339,9 @@ class ke extends gt {
1334
1339
  // any properties in data should overwrite properties in the constant
1335
1340
  value: {
1336
1341
  name: "yes",
1337
- label: ve.Yes,
1342
+ label: fe.Yes,
1338
1343
  icon: "thumbs-up-outline",
1339
- renderAs: z.BUTTON,
1344
+ renderAs: R.BUTTON,
1340
1345
  showLabel: !0,
1341
1346
  showIcon: !0
1342
1347
  }
@@ -1349,9 +1354,9 @@ class ke extends gt {
1349
1354
  // any properties in data should overwrite properties in the constant
1350
1355
  value: {
1351
1356
  name: "no",
1352
- label: ve.No,
1357
+ label: fe.No,
1353
1358
  icon: "thumbs-down-outline",
1354
- renderAs: z.BUTTON,
1359
+ renderAs: R.BUTTON,
1355
1360
  showLabel: !0,
1356
1361
  showIcon: !0
1357
1362
  }
@@ -1361,7 +1366,7 @@ class ke extends gt {
1361
1366
  }
1362
1367
  const Mo = {
1363
1368
  key: 1,
1364
- style: { width: ".5rem" }
1369
+ style: { width: "0.5rem" }
1365
1370
  }, Uo = { key: 2 }, Oo = /* @__PURE__ */ M({
1366
1371
  __name: "df-actions",
1367
1372
  props: {
@@ -1370,42 +1375,43 @@ const Mo = {
1370
1375
  showAsGroup: { default: "no" }
1371
1376
  },
1372
1377
  setup(e) {
1373
- const t = e, n = Fo(), l = k(() => o(t.actions)), a = k(() => l.value.map((r) => x({
1374
- action: r
1375
- }, o(r.getBreakpointValue(n)))));
1376
- return (r, d) => {
1377
- const i = D("v-icon"), p = D("v-btn");
1378
- return l.value.length > 0 ? (V(), R("div", {
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
+ );
1383
+ return (r, m) => {
1384
+ const i = S("v-btn");
1385
+ return l.value.length > 0 ? (V(), O("div", {
1379
1386
  key: 0,
1380
1387
  class: Ie(["text-end", {
1381
1388
  "button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
1382
1389
  "with-border": r.showAsGroup === "grouped"
1383
1390
  }])
1384
1391
  }, [
1385
- (V(!0), R(Ke, null, ct(a.value, (s, _) => (V(), P(p, {
1386
- key: _,
1387
- variant: s.renderAs === o(z).BUTTON ? "tonal" : "text",
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",
1388
1395
  elevation: 0,
1389
1396
  size: r.buttonSize,
1390
- onClick: dt((u) => s.action.execute(u), ["stop"])
1397
+ onClick: dt((_) => c.action.execute(_), ["stop"])
1391
1398
  }, {
1392
1399
  default: b(() => [
1393
- s.icon ? (V(), P(i, {
1400
+ c.icon ? (V(), D(o(he), {
1394
1401
  key: 0,
1395
- size: "24",
1396
- icon: s.icon
1397
- }, null, 8, ["icon"])) : L("", !0),
1398
- s.icon && s.label ? (V(), R("span", Mo)) : L("", !0),
1399
- 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)
1400
1406
  ]),
1401
1407
  _: 2
1402
1408
  }, 1032, ["variant", "size", "onClick"]))), 128))
1403
1409
  ], 2)) : L("", !0);
1404
1410
  };
1405
1411
  }
1406
- }), Ro = /* @__PURE__ */ be(Oo, [["__scopeId", "data-v-3502f34e"]]), zo = /* @__PURE__ */ M({
1412
+ }), Ro = /* @__PURE__ */ be(Oo, [["__scopeId", "data-v-554a12b4"]]), Wo = /* @__PURE__ */ M({
1407
1413
  __name: "df-checkbox",
1408
- props: /* @__PURE__ */ Y({
1414
+ props: /* @__PURE__ */ G({
1409
1415
  allowNull: { type: Boolean },
1410
1416
  control: {},
1411
1417
  modelValue: {},
@@ -1419,33 +1425,33 @@ const Mo = {
1419
1425
  cssClass: {},
1420
1426
  clearable: { type: Boolean },
1421
1427
  passthroughAttrs: {}
1422
- }, F(x({}, Q), { allowNull: !1 })),
1428
+ }, F(x({}, q), { allowNull: !1 })),
1423
1429
  emits: ["update:modelValue", "click:clear"],
1424
1430
  setup(e, { emit: t }) {
1425
- const n = e, l = t, { errors: a, label: r, touched: d, value: i, vuetifyBindings: p } = K(n, l), s = k(() => n.allowNull && i.value == null), _ = k({
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({
1426
1432
  get() {
1427
1433
  return i.value;
1428
1434
  },
1429
1435
  set() {
1430
1436
  }
1431
1437
  });
1432
- function u() {
1433
- const m = vt(i.value);
1434
- m === !0 ? i.value = n.allowNull ? null : !1 : i.value = m === !1;
1438
+ function s() {
1439
+ const p = vt(i.value);
1440
+ p === !0 ? i.value = n.allowNull ? null : !1 : i.value = p === !1;
1435
1441
  }
1436
- return (m, h) => {
1437
- const g = D("v-checkbox");
1438
- return V(), P(g, O({
1442
+ return (p, h) => {
1443
+ const g = S("v-checkbox");
1444
+ return V(), D(g, U({
1439
1445
  modelValue: _.value,
1440
1446
  "onUpdate:modelValue": h[0] || (h[0] = (w) => _.value = w)
1441
- }, o(p), {
1447
+ }, o(c), {
1442
1448
  density: "compact",
1443
- indeterminate: s.value,
1449
+ indeterminate: d.value,
1444
1450
  "false-value": !1,
1445
1451
  "true-value": !0,
1446
- onChange: u,
1447
- onBlur: h[1] || (h[1] = (w) => d.value = !0)
1448
- }), q({
1452
+ onChange: s,
1453
+ onBlur: h[1] || (h[1] = (w) => m.value = !0)
1454
+ }), X({
1449
1455
  message: b(({ message: w }) => [
1450
1456
  B(o(le), {
1451
1457
  message: w,
@@ -1467,9 +1473,9 @@ const Mo = {
1467
1473
  ]), 1040, ["modelValue", "indeterminate"]);
1468
1474
  };
1469
1475
  }
1470
- }), Wo = /* @__PURE__ */ M({
1476
+ }), zo = /* @__PURE__ */ M({
1471
1477
  __name: "df-color",
1472
- props: /* @__PURE__ */ Y({
1478
+ props: /* @__PURE__ */ G({
1473
1479
  allowNull: { type: Boolean },
1474
1480
  control: {},
1475
1481
  modelValue: {},
@@ -1483,23 +1489,23 @@ const Mo = {
1483
1489
  cssClass: {},
1484
1490
  clearable: { type: Boolean },
1485
1491
  passthroughAttrs: {}
1486
- }, F(x({}, Q), { allowNull: !1 })),
1492
+ }, F(x({}, q), { allowNull: !1 })),
1487
1493
  emits: ["update:modelValue", "click:clear"],
1488
1494
  setup(e, { emit: t }) {
1489
- const n = e, l = t, { errors: a, label: r, touched: d, value: i, vuetifyBindings: p } = K(n, l), s = E(!1), _ = k(() => [
1490
- (u) => n.control || !u && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(u) ? !0 : "Not a valid hex string."
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."
1491
1497
  ]);
1492
- return (u, m) => {
1493
- const h = D("v-color-picker"), g = D("v-menu"), w = D("v-text-field");
1494
- return V(), P(w, O({
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({
1495
1501
  modelValue: o(i),
1496
- "onUpdate:modelValue": m[2] || (m[2] = (j) => te(i) ? i.value = j : null)
1497
- }, o(p), {
1498
- clearable: u.allowNull,
1502
+ "onUpdate:modelValue": p[2] || (p[2] = (j) => te(i) ? i.value = j : null)
1503
+ }, o(c), {
1504
+ clearable: s.allowNull,
1499
1505
  type: "text",
1500
1506
  rules: _.value,
1501
- onBlur: m[3] || (m[3] = (j) => d.value = !0)
1502
- }), q({
1507
+ onBlur: p[3] || (p[3] = (j) => m.value = !0)
1508
+ }), X({
1503
1509
  message: b(({ message: j }) => [
1504
1510
  B(o(le), {
1505
1511
  message: j,
@@ -1513,15 +1519,15 @@ const Mo = {
1513
1519
  ]),
1514
1520
  default: b(() => [
1515
1521
  B(g, {
1516
- modelValue: s.value,
1517
- "onUpdate:modelValue": m[1] || (m[1] = (j) => s.value = j),
1522
+ modelValue: d.value,
1523
+ "onUpdate:modelValue": p[1] || (p[1] = (j) => d.value = j),
1518
1524
  "close-on-content-click": !1,
1519
1525
  activator: "parent"
1520
1526
  }, {
1521
1527
  default: b(() => [
1522
1528
  B(h, {
1523
1529
  modelValue: o(i),
1524
- "onUpdate:modelValue": m[0] || (m[0] = (j) => te(i) ? i.value = j : null),
1530
+ "onUpdate:modelValue": p[0] || (p[0] = (j) => te(i) ? i.value = j : null),
1525
1531
  mode: "hexa"
1526
1532
  }, null, 8, ["modelValue"])
1527
1533
  ]),
@@ -1545,7 +1551,7 @@ const Mo = {
1545
1551
  }
1546
1552
  }), Ho = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, Ko = /* @__PURE__ */ M({
1547
1553
  __name: "df-datetime",
1548
- props: /* @__PURE__ */ Y({
1554
+ props: /* @__PURE__ */ G({
1549
1555
  inputType: {},
1550
1556
  displayFormatDate: {},
1551
1557
  displayFormatTime: {},
@@ -1562,7 +1568,7 @@ const Mo = {
1562
1568
  cssClass: {},
1563
1569
  clearable: { type: Boolean },
1564
1570
  passthroughAttrs: {}
1565
- }, F(x({}, Q), {
1571
+ }, F(x({}, q), {
1566
1572
  inputType: "datetime",
1567
1573
  displayFormatDate: "P",
1568
1574
  displayFormatTime: "p"
@@ -1573,28 +1579,28 @@ const Mo = {
1573
1579
  var f;
1574
1580
  return (f = n.locale) != null ? f : o(Po.dateTimeLocale);
1575
1581
  }), r = k(() => {
1576
- var f, c;
1577
- return (c = (f = a.value.options) == null ? void 0 : f.weekStartsOn) != null ? c : 1;
1578
- }), { touched: d, value: i, vuetifyBindings: p } = K(n, l), { inputType: s, displayFormatDate: _, displayFormatTime: u } = _e(n), m = E(""), h = 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({
1579
1585
  get() {
1580
- return o(m) === "date";
1586
+ return o(p) === "date";
1581
1587
  },
1582
1588
  set(f) {
1583
- m.value = f ? "date" : "";
1589
+ p.value = f ? "date" : "";
1584
1590
  }
1585
1591
  }), g = k({
1586
1592
  get() {
1587
- return o(m) === "time";
1593
+ return o(p) === "time";
1588
1594
  },
1589
1595
  set(f) {
1590
- m.value = f ? "time" : "";
1596
+ p.value = f ? "time" : "";
1591
1597
  }
1592
- }), w = (f) => `${de(f, "yyyy-MM-dd")}T${de(f, "HH:mm")}:00`, j = E(null);
1593
- function v(f, c) {
1598
+ }), w = (f) => `${ce(f, "yyyy-MM-dd")}T${ce(f, "HH:mm")}:00`, j = E(null);
1599
+ function v(f, u) {
1594
1600
  if (f == null)
1595
1601
  j.value = null;
1596
- else if (c === -1)
1597
- if (o(s) === "time")
1602
+ else if (u === -1)
1603
+ if (o(d) === "time")
1598
1604
  j.value = w(/* @__PURE__ */ new Date()), v(`T${f}`, 1);
1599
1605
  else {
1600
1606
  const $ = w(new Date(f));
@@ -1602,8 +1608,8 @@ const Mo = {
1602
1608
  }
1603
1609
  else {
1604
1610
  j.value == null && (j.value = w(/* @__PURE__ */ new Date()));
1605
- const $ = j.value.split(/[TZ]/g), U = f.split(/[TZ]/g);
1606
- $[c] = U[c], j.value = w(/* @__PURE__ */ new Date(`${$[0]}T${$[1].split(".")[0]}`)), o(s) === "date" ? i.value = $[0] : o(s) === "time" ? i.value = $[1] : i.value = o(j) + de(/* @__PURE__ */ new Date(), "XXX");
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");
1607
1613
  }
1608
1614
  }
1609
1615
  ie(i, (f) => v(f, -1), { immediate: !0 });
@@ -1611,8 +1617,8 @@ const Mo = {
1611
1617
  get() {
1612
1618
  const f = o(j);
1613
1619
  if (f == null) return null;
1614
- const c = new Date(f);
1615
- return Number.isNaN(c.getTime()) ? null : c;
1620
+ const u = new Date(f);
1621
+ return Number.isNaN(u.getTime()) ? null : u;
1616
1622
  },
1617
1623
  set(f) {
1618
1624
  v(w(f), 0);
@@ -1625,84 +1631,84 @@ const Mo = {
1625
1631
  set(f) {
1626
1632
  v(`T${f}`, 1);
1627
1633
  }
1628
- }), T = k({
1634
+ }), C = k({
1629
1635
  get() {
1630
1636
  const f = o(A);
1631
- return f == null ? "" : de(f, o(_), { locale: a.value });
1637
+ return f == null ? "" : ce(f, o(_), { locale: a.value });
1632
1638
  },
1633
1639
  set(f) {
1634
1640
  try {
1635
- const c = kt(f, o(_), /* @__PURE__ */ new Date(), { locale: a.value });
1636
- v(w(c), 0);
1637
- } catch (c) {
1638
- console.error(c);
1641
+ const u = kt(f, o(_), /* @__PURE__ */ new Date(), { locale: a.value });
1642
+ v(w(u), 0);
1643
+ } catch (u) {
1644
+ console.error(u);
1639
1645
  }
1640
1646
  }
1641
1647
  }), W = k({
1642
1648
  get() {
1643
1649
  const f = o(A);
1644
- return f == null ? "" : de(f, o(u), { locale: a.value });
1650
+ return f == null ? "" : ce(f, o(s), { locale: a.value });
1645
1651
  },
1646
1652
  set(f) {
1647
- const c = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1648
- if (c == null) return;
1649
- let $ = Le(c[1]);
1650
- const U = Le(c[2]);
1651
- Me($) || Me(U) || (c[3] && c[3].toLowerCase() === "pm" && $ < 13 && ($ += 12), v(`T${$.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}:00`, 1));
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));
1652
1658
  }
1653
1659
  });
1654
- return (f, c) => {
1655
- const $ = D("v-date-picker"), U = D("v-confirm-edit"), se = D("v-menu"), ue = D("v-text-field"), C = D("v-time-picker");
1656
- return V(), P(o(Pe), O(n, {
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, {
1657
1663
  clearable: f.clearable,
1658
- "onClick:clear": c[14] || (c[14] = (I) => i.value = null),
1659
- onBlur: c[15] || (c[15] = (I) => d.value = !0)
1664
+ "onClick:clear": u[14] || (u[14] = (I) => i.value = null),
1665
+ onBlur: u[15] || (u[15] = (I) => m.value = !0)
1660
1666
  }), {
1661
1667
  default: b((I) => [
1662
1668
  ne("div", Ho, [
1663
- ["date", "datetime"].includes(o(s)) ? (V(), P(ue, O({
1669
+ ["date", "datetime"].includes(o(d)) ? (V(), D(ue, U({
1664
1670
  key: 0,
1665
- modelValue: T.value,
1666
- "onUpdate:modelValue": c[4] || (c[4] = (y) => T.value = y),
1671
+ modelValue: C.value,
1672
+ "onUpdate:modelValue": u[4] || (u[4] = (y) => C.value = y),
1667
1673
  style: { "flex-grow": "4" },
1668
1674
  density: "compact",
1669
1675
  variant: "plain",
1670
1676
  clearable: !1,
1671
1677
  "hide-details": !0,
1672
- readonly: o(p).readonly,
1673
- disabled: o(p).disabled,
1674
- name: `${o(p).name}-date`
1678
+ readonly: o(c).readonly,
1679
+ disabled: o(c).disabled,
1680
+ name: `${o(c).name}-date`
1675
1681
  }, f.passthroughAttrs, {
1676
- onClick: c[5] || (c[5] = (y) => m.value = "date"),
1677
- onKeydown: c[6] || (c[6] = Ae((y) => m.value = "date", ["space"])),
1682
+ onClick: u[5] || (u[5] = (y) => p.value = "date"),
1683
+ onKeydown: u[6] || (u[6] = Ae((y) => p.value = "date", ["space"])),
1678
1684
  onFocus: (y) => I.focus(),
1679
1685
  onBlur: (y) => I.blur()
1680
1686
  }), {
1681
1687
  default: b(() => [
1682
1688
  B(se, {
1683
1689
  modelValue: h.value,
1684
- "onUpdate:modelValue": c[3] || (c[3] = (y) => h.value = y),
1690
+ "onUpdate:modelValue": u[3] || (u[3] = (y) => h.value = y),
1685
1691
  "close-on-content-click": !1,
1686
1692
  activator: "parent"
1687
1693
  }, {
1688
1694
  default: b(() => [
1689
- B(U, {
1695
+ B(z, {
1690
1696
  modelValue: A.value,
1691
- "onUpdate:modelValue": c[0] || (c[0] = (y) => A.value = y),
1692
- onCancel: c[1] || (c[1] = (y) => m.value = ""),
1693
- onSave: c[2] || (c[2] = (y) => m.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 = "")
1694
1700
  }, {
1695
- default: b(({ model: y, actions: Z }) => [
1701
+ default: b(({ model: y, actions: Y }) => [
1696
1702
  B($, {
1697
1703
  modelValue: y.value,
1698
- "onUpdate:modelValue": (ce) => y.value = ce,
1704
+ "onUpdate:modelValue": (P) => y.value = P,
1699
1705
  "hide-header": !0,
1700
1706
  "first-day-of-week": r.value,
1701
1707
  "show-adjacent-months": !0,
1702
1708
  "show-week": !0
1703
1709
  }, {
1704
1710
  actions: b(() => [
1705
- (V(), P(he(Z)))
1711
+ (V(), D(ve(Y)))
1706
1712
  ]),
1707
1713
  _: 2
1708
1714
  }, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
@@ -1713,49 +1719,49 @@ const Mo = {
1713
1719
  _: 1
1714
1720
  }, 8, ["modelValue"])
1715
1721
  ]),
1716
- _: 2
1717
- }, 1040, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
1718
- ["time", "datetime"].includes(o(s)) ? (V(), P(ue, O({
1722
+ _: 1
1723
+ }, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
1724
+ ["time", "datetime"].includes(o(d)) ? (V(), D(ue, U({
1719
1725
  key: 1,
1720
1726
  modelValue: W.value,
1721
- "onUpdate:modelValue": c[11] || (c[11] = (y) => W.value = y),
1727
+ "onUpdate:modelValue": u[11] || (u[11] = (y) => W.value = y),
1722
1728
  style: { "flex-grow": "3" },
1723
1729
  density: "compact",
1724
1730
  variant: "plain",
1725
1731
  clearable: !1,
1726
1732
  "hide-details": !0,
1727
- readonly: o(p).readonly,
1728
- disabled: o(p).disabled,
1729
- name: `${o(p).name}-time`
1733
+ readonly: o(c).readonly,
1734
+ disabled: o(c).disabled,
1735
+ name: `${o(c).name}-time`
1730
1736
  }, f.passthroughAttrs, {
1731
- onClick: c[12] || (c[12] = (y) => m.value = "time"),
1732
- onKeydown: c[13] || (c[13] = Ae((y) => m.value = "time", ["space"])),
1737
+ onClick: u[12] || (u[12] = (y) => p.value = "time"),
1738
+ onKeydown: u[13] || (u[13] = Ae((y) => p.value = "time", ["space"])),
1733
1739
  onFocus: (y) => I.focus(),
1734
1740
  onBlur: (y) => I.blur()
1735
1741
  }), {
1736
1742
  default: b(() => [
1737
1743
  B(se, {
1738
1744
  modelValue: g.value,
1739
- "onUpdate:modelValue": c[10] || (c[10] = (y) => g.value = y),
1745
+ "onUpdate:modelValue": u[10] || (u[10] = (y) => g.value = y),
1740
1746
  "close-on-content-click": !1,
1741
1747
  activator: "parent"
1742
1748
  }, {
1743
1749
  default: b(() => [
1744
- B(U, {
1750
+ B(z, {
1745
1751
  modelValue: N.value,
1746
- "onUpdate:modelValue": c[7] || (c[7] = (y) => N.value = y),
1747
- onCancel: c[8] || (c[8] = (y) => m.value = ""),
1748
- onSave: c[9] || (c[9] = (y) => m.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 = "")
1749
1755
  }, {
1750
- default: b(({ model: y, actions: Z }) => [
1751
- B(C, {
1756
+ default: b(({ model: y, actions: Y }) => [
1757
+ B(T, {
1752
1758
  modelValue: y.value,
1753
- "onUpdate:modelValue": (ce) => y.value = ce,
1759
+ "onUpdate:modelValue": (P) => y.value = P,
1754
1760
  "hide-header": !0,
1755
1761
  format: "24hr"
1756
1762
  }, {
1757
1763
  actions: b(() => [
1758
- (V(), P(he(Z)))
1764
+ (V(), D(ve(Y)))
1759
1765
  ]),
1760
1766
  _: 2
1761
1767
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1766,8 +1772,8 @@ const Mo = {
1766
1772
  _: 1
1767
1773
  }, 8, ["modelValue"])
1768
1774
  ]),
1769
- _: 2
1770
- }, 1040, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0)
1775
+ _: 1
1776
+ }, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0)
1771
1777
  ])
1772
1778
  ]),
1773
1779
  _: 1
@@ -1779,7 +1785,7 @@ const Mo = {
1779
1785
  style: { position: "relative" }
1780
1786
  }, Go = /* @__PURE__ */ M({
1781
1787
  __name: "df-file",
1782
- props: /* @__PURE__ */ Y({
1788
+ props: /* @__PURE__ */ G({
1783
1789
  comms: {},
1784
1790
  control: {},
1785
1791
  modelValue: {},
@@ -1793,10 +1799,10 @@ const Mo = {
1793
1799
  cssClass: {},
1794
1800
  clearable: { type: Boolean },
1795
1801
  passthroughAttrs: {}
1796
- }, Q),
1802
+ }, q),
1797
1803
  emits: ["update:modelValue", "click:clear"],
1798
1804
  setup(e, { emit: t }) {
1799
- const n = e, l = t, { touched: a, value: r, vuetifyBindings: d } = K(n, l), i = E(null), p = E(null), s = E(0), _ = E(Math.round(Math.random() * 1e3)), u = E(), m = k(() => p.value && s.value < 100), h = k(() => !u.value && r.value ? n.modelValue : "");
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 : "");
1800
1806
  function g() {
1801
1807
  i.value && window.clearInterval(i.value);
1802
1808
  }
@@ -1810,65 +1816,62 @@ const Mo = {
1810
1816
  });
1811
1817
  function j() {
1812
1818
  return ge(this, null, function* () {
1813
- r.value && (yield n.comms.delete(r.value)), r.value = null, s.value = 0, _.value = Math.round(Math.random() * 1e3), p.value = null, u.value = null, g();
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();
1814
1820
  });
1815
1821
  }
1816
1822
  function v(N) {
1817
1823
  return ge(this, null, function* () {
1818
- s.value = -1, p.value = N;
1824
+ d.value = -1, c.value = N;
1819
1825
  try {
1820
- r.value = yield n.comms.upload(
1821
- N,
1822
- (T, W) => {
1823
- s.value = Math.round(T * 100 / W);
1824
- }
1825
- ), s.value = 100, w();
1826
- } catch (T) {
1827
- throw s.value = 0, p.value = null, _.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;
1828
1831
  }
1829
1832
  });
1830
1833
  }
1831
1834
  function A(N) {
1832
1835
  N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") : v(N));
1833
1836
  }
1834
- return (N, T) => {
1835
- const W = D("v-icon"), f = D("v-progress-linear"), c = D("v-file-input");
1836
- return V(), P(o(Pe), O(F(x({}, n), { loading: m.value }), {
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 }), {
1837
1840
  clearable: "",
1838
1841
  "onClick:clear": j,
1839
- onBlur: T[1] || (T[1] = ($) => a.value = !0)
1842
+ onBlur: C[1] || (C[1] = (u) => a.value = !0)
1840
1843
  }), {
1841
1844
  "prepend-inner": b(() => [
1842
- B(W, { icon: "$file" })
1845
+ B(o(he), { name: "mdi-paperclip" })
1843
1846
  ]),
1844
1847
  loader: b(() => [
1845
- p.value && s.value < 100 ? (V(), P(f, {
1848
+ c.value && d.value < 100 ? (V(), D(W, {
1846
1849
  key: 0,
1847
- "model-value": s.value,
1848
- indeterminate: s.value === -1
1850
+ "model-value": d.value,
1851
+ indeterminate: d.value === -1
1849
1852
  }, null, 8, ["model-value", "indeterminate"])) : L("", !0)
1850
1853
  ]),
1851
- default: b(($) => [
1854
+ default: b((u) => [
1852
1855
  ne("div", Xo, [
1853
- B(c, O({
1854
- modelValue: u.value,
1855
- "onUpdate:modelValue": T[0] || (T[0] = (U) => u.value = U),
1856
+ B(f, U({
1857
+ modelValue: s.value,
1858
+ "onUpdate:modelValue": C[0] || (C[0] = ($) => s.value = $),
1856
1859
  label: h.value,
1857
1860
  density: "compact",
1858
1861
  variant: "plain",
1859
- readonly: o(d).readonly,
1860
- disabled: o(d).disabled,
1861
- name: o(d).name,
1862
+ readonly: o(m).readonly,
1863
+ disabled: o(m).disabled,
1864
+ name: o(m).name,
1862
1865
  "hide-details": !0,
1863
1866
  "show-size": !0,
1864
1867
  multiple: !1,
1865
- style: p.value && s.value < 100 ? "visibility: hidden" : "",
1868
+ style: c.value && d.value < 100 ? "visibility: hidden" : "",
1866
1869
  clearable: !1
1867
1870
  }, N.passthroughAttrs, {
1868
1871
  "prepend-icon": "",
1869
1872
  "onUpdate:modelValue": A,
1870
- onFocus: (U) => $.focus(),
1871
- onBlur: (U) => $.blur()
1873
+ onFocus: ($) => u.focus(),
1874
+ onBlur: ($) => u.blur()
1872
1875
  }), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
1873
1876
  ])
1874
1877
  ]),
@@ -1878,7 +1881,7 @@ const Mo = {
1878
1881
  }
1879
1882
  }), qo = { class: "container" }, Yo = /* @__PURE__ */ M({
1880
1883
  __name: "df-input",
1881
- props: /* @__PURE__ */ Y({
1884
+ props: /* @__PURE__ */ G({
1882
1885
  inputType: {},
1883
1886
  precision: {},
1884
1887
  step: {},
@@ -1896,7 +1899,7 @@ const Mo = {
1896
1899
  cssClass: {},
1897
1900
  clearable: { type: Boolean },
1898
1901
  passthroughAttrs: {}
1899
- }, F(x({}, Q), {
1902
+ }, F(x({}, q), {
1900
1903
  inputType: "text",
1901
1904
  precision: null,
1902
1905
  step: void 0,
@@ -1905,21 +1908,23 @@ const Mo = {
1905
1908
  })),
1906
1909
  emits: ["update:modelValue", "click:clear"],
1907
1910
  setup(e, { emit: t }) {
1908
- const n = e, l = t, { errors: a, label: r, touched: d, value: i, vuetifyBindings: p } = K(n, l), { inputType: s, max: _, min: u, precision: m, step: h } = _e(n), g = k(() => s.value === "number"), w = k(() => g.value ? { min: o(u), max: o(_), precision: o(m), step: o(h) } : {});
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
+ );
1909
1914
  return (j, v) => {
1910
- const A = D("v-text-field"), N = D("v-number-input");
1911
- return V(), R("div", qo, [
1912
- g.value ? (V(), P(N, O({
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({
1913
1918
  key: 1,
1914
1919
  modelValue: o(i),
1915
- "onUpdate:modelValue": v[2] || (v[2] = (T) => te(i) ? i.value = T : null)
1916
- }, x(x({}, o(p)), w.value), {
1920
+ "onUpdate:modelValue": v[2] || (v[2] = (C) => te(i) ? i.value = C : null)
1921
+ }, x(x({}, o(c)), w.value), {
1917
1922
  density: "compact",
1918
1923
  "control-variant": "stacked"
1919
- }), q({
1920
- message: b(({ message: T }) => [
1924
+ }), X({
1925
+ message: b(({ message: C }) => [
1921
1926
  B(o(le), {
1922
- message: T,
1927
+ message: C,
1923
1928
  errors: o(a)
1924
1929
  }, null, 8, ["message", "errors"])
1925
1930
  ]),
@@ -1927,25 +1932,25 @@ const Mo = {
1927
1932
  }, [
1928
1933
  o(r).icon ? {
1929
1934
  name: "label",
1930
- fn: b((T) => [
1935
+ fn: b((C) => [
1931
1936
  B(o(oe), {
1932
- data: T,
1937
+ data: C,
1933
1938
  label: o(r)
1934
1939
  }, null, 8, ["data", "label"])
1935
1940
  ]),
1936
1941
  key: "0"
1937
1942
  } : void 0
1938
- ]), 1040, ["modelValue"])) : (V(), P(A, O({
1943
+ ]), 1040, ["modelValue"])) : (V(), D(A, U({
1939
1944
  key: 0,
1940
1945
  modelValue: o(i),
1941
- "onUpdate:modelValue": v[0] || (v[0] = (T) => te(i) ? i.value = T : null)
1942
- }, o(p), {
1943
- type: o(s),
1944
- onBlur: v[1] || (v[1] = (T) => d.value = !0)
1945
- }), q({
1946
- message: b(({ message: T }) => [
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 }) => [
1947
1952
  B(o(le), {
1948
- message: T,
1953
+ message: C,
1949
1954
  errors: o(a)
1950
1955
  }, null, 8, ["message", "errors"])
1951
1956
  ]),
@@ -1953,9 +1958,9 @@ const Mo = {
1953
1958
  }, [
1954
1959
  o(r).icon ? {
1955
1960
  name: "label",
1956
- fn: b((T) => [
1961
+ fn: b((C) => [
1957
1962
  B(o(oe), {
1958
- data: T,
1963
+ data: C,
1959
1964
  label: o(r)
1960
1965
  }, null, 8, ["data", "label"])
1961
1966
  ]),
@@ -1965,7 +1970,7 @@ const Mo = {
1965
1970
  ]);
1966
1971
  };
1967
1972
  }
1968
- }), Qo = /* @__PURE__ */ be(Yo, [["__scopeId", "data-v-a3a9a978"]]), Zo = { class: "editor-container" }, Jo = { class: "editor-container__editor" }, el = { ref: "editorElement" }, tl = /* @__PURE__ */ M({
1973
+ }), Qo = /* @__PURE__ */ be(Yo, [["__scopeId", "data-v-3937c3c8"]]), Zo = { class: "editor-container" }, Jo = { class: "editor-container__editor" }, el = { ref: "editorElement" }, tl = /* @__PURE__ */ M({
1969
1974
  __name: "ck-editor-custom",
1970
1975
  props: {
1971
1976
  modelValue: { default: "" },
@@ -1974,10 +1979,10 @@ const Mo = {
1974
1979
  },
1975
1980
  emits: ["update:modelValue"],
1976
1981
  setup(e, { expose: t, emit: n }) {
1977
- mt((u) => ({
1978
- "3d4d5a06": u.minHeight
1982
+ mt((s) => ({
1983
+ "5f8a2e8c": s.minHeight
1979
1984
  }));
1980
- const l = n, a = E(!1), r = cn, s = {
1985
+ const l = n, a = E(!1), r = cn, d = {
1981
1986
  toolbar: {
1982
1987
  items: [
1983
1988
  "undo",
@@ -2030,8 +2035,8 @@ const Mo = {
2030
2035
  Ut,
2031
2036
  Ot,
2032
2037
  Rt,
2033
- zt,
2034
2038
  Wt,
2039
+ zt,
2035
2040
  Ht,
2036
2041
  Kt,
2037
2042
  Xt,
@@ -2064,9 +2069,7 @@ const Mo = {
2064
2069
  ]
2065
2070
  },
2066
2071
  htmlSupport: {
2067
- allow: [
2068
- { name: /^.*$/, styles: !0, attributes: !0, classes: !0 }
2069
- ]
2072
+ allow: [{ name: /^.*$/, styles: !0, attributes: !0, classes: !0 }]
2070
2073
  },
2071
2074
  image: {
2072
2075
  toolbar: [
@@ -2092,7 +2095,7 @@ const Mo = {
2092
2095
  }
2093
2096
  }
2094
2097
  },
2095
- placeholder: "Type or paste your content here!",
2098
+ placeholder: "",
2096
2099
  style: {
2097
2100
  definitions: [
2098
2101
  { name: "Article category", element: "h3", classes: ["category"] },
@@ -2108,25 +2111,25 @@ const Mo = {
2108
2111
  },
2109
2112
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
2110
2113
  };
2111
- We(() => {
2114
+ ze(() => {
2112
2115
  a.value = !0;
2113
2116
  });
2114
- const _ = (u) => {
2117
+ const _ = (s) => {
2115
2118
  };
2116
- return t({ onEditorReady: _ }), (u, m) => {
2117
- const h = D("ckeditor");
2118
- return V(), R("div", Zo, [
2119
+ return t({ onEditorReady: _ }), (s, p) => {
2120
+ const h = S("ckeditor");
2121
+ return V(), O("div", Zo, [
2119
2122
  ne("div", Jo, [
2120
2123
  ne("div", el, [
2121
- a.value ? (V(), P(h, {
2124
+ a.value ? (V(), D(h, {
2122
2125
  key: 0,
2123
- "model-value": u.modelValue,
2126
+ "model-value": s.modelValue,
2124
2127
  editor: o(r),
2125
- config: s,
2126
- disabled: u.disabled,
2127
- style: Xe(`min-height: ${u.minHeight}`),
2128
+ config: d,
2129
+ disabled: s.disabled,
2130
+ style: Xe(`min-height: ${s.minHeight}`),
2128
2131
  onReady: _,
2129
- "onUpdate:modelValue": m[0] || (m[0] = (g) => l("update:modelValue", g))
2132
+ "onUpdate:modelValue": p[0] || (p[0] = (g) => l("update:modelValue", g))
2130
2133
  }, null, 8, ["model-value", "editor", "disabled", "style"])) : L("", !0)
2131
2134
  ], 512)
2132
2135
  ])
@@ -2135,7 +2138,7 @@ const Mo = {
2135
2138
  }
2136
2139
  }), nl = /* @__PURE__ */ M({
2137
2140
  __name: "df-rtf-editor",
2138
- props: /* @__PURE__ */ Y({
2141
+ props: /* @__PURE__ */ G({
2139
2142
  minHeight: {},
2140
2143
  control: {},
2141
2144
  modelValue: {},
@@ -2149,22 +2152,23 @@ const Mo = {
2149
2152
  cssClass: {},
2150
2153
  clearable: { type: Boolean },
2151
2154
  passthroughAttrs: {}
2152
- }, F(x({}, Q), { minHeight: void 0 })),
2155
+ }, F(x({}, q), { minHeight: void 0 })),
2153
2156
  emits: ["update:modelValue", "click:clear"],
2154
2157
  setup(e, { emit: t }) {
2155
2158
  const n = e, l = t, { value: a, vuetifyBindings: r } = K(n, l);
2156
- return (d, i) => (V(), P(o(Pe), X(G(n)), {
2157
- default: b((p) => [
2158
- B(tl, O({
2159
+ return (m, i) => (V(), D(o(Pe), U(n, { class: "ck-editor-custom" }), {
2160
+ default: b((c) => [
2161
+ B(tl, U({
2159
2162
  ref: "$editor",
2160
2163
  modelValue: o(a),
2161
- "onUpdate:modelValue": i[0] || (i[0] = (s) => te(a) ? a.value = s : null),
2162
- class: { "mt-8": !!d.label },
2163
- "min-height": d.minHeight,
2164
- disabled: o(r).disabled
2165
- }, d.passthroughAttrs, {
2166
- onFocusin: (s) => p.focus(),
2167
- onFocusout: (s) => p.blur()
2164
+ "onUpdate:modelValue": i[0] || (i[0] = (d) => te(a) ? a.value = d : null),
2165
+ class: { "mt-6": !!m.label },
2166
+ "min-height": m.minHeight,
2167
+ disabled: o(r).disabled,
2168
+ placeholder: "dfsjghdf"
2169
+ }, m.passthroughAttrs, {
2170
+ onFocusin: (d) => c.focus(),
2171
+ onFocusout: (d) => c.blur()
2168
2172
  }), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
2169
2173
  ]),
2170
2174
  _: 1
@@ -2174,7 +2178,7 @@ const Mo = {
2174
2178
  function ol(e) {
2175
2179
  return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
2176
2180
  }
2177
- function J(e, t) {
2181
+ function Q(e, t) {
2178
2182
  var n;
2179
2183
  return e == null || Ue(e) && e.length === 0 ? null : t ? Ge(e) : Ue(e) ? (n = qe(e)) != null ? n : null : e;
2180
2184
  }
@@ -2184,8 +2188,8 @@ function Ve(e, t) {
2184
2188
  return e.filter((l) => n.some((a) => a === l.id));
2185
2189
  }
2186
2190
  function ye(e, t, n, l, a) {
2187
- var d;
2188
- const r = J(e, n);
2191
+ var m;
2192
+ const r = Q(e, n);
2189
2193
  if (r == null) {
2190
2194
  t.value = n ? [] : null;
2191
2195
  return;
@@ -2196,7 +2200,7 @@ function ye(e, t, n, l, a) {
2196
2200
  t.value = r;
2197
2201
  else {
2198
2202
  const i = qe(Ve(a, r));
2199
- t.value = (d = i == null ? void 0 : i.id) != null ? d : null;
2203
+ t.value = (m = i == null ? void 0 : i.id) != null ? m : null;
2200
2204
  }
2201
2205
  }
2202
2206
  const ll = {
@@ -2204,12 +2208,12 @@ const ll = {
2204
2208
  class: "me-1"
2205
2209
  }, al = /* @__PURE__ */ M({
2206
2210
  __name: "df-select",
2207
- props: /* @__PURE__ */ Y({
2211
+ props: /* @__PURE__ */ G({
2208
2212
  choices: {},
2209
2213
  multiple: { type: Boolean },
2210
2214
  allowTags: { type: Boolean },
2211
2215
  allowNull: { type: Boolean },
2212
- fetchChoices: {},
2216
+ fetchChoices: { type: Function },
2213
2217
  control: {},
2214
2218
  modelValue: {},
2215
2219
  label: {},
@@ -2222,7 +2226,7 @@ const ll = {
2222
2226
  cssClass: {},
2223
2227
  clearable: { type: Boolean },
2224
2228
  passthroughAttrs: {}
2225
- }, F(x({}, Q), {
2229
+ }, F(x({}, q), {
2226
2230
  choices: void 0,
2227
2231
  multiple: !1,
2228
2232
  allowTags: !1,
@@ -2231,43 +2235,58 @@ const ll = {
2231
2235
  })),
2232
2236
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
2233
2237
  setup(e, { emit: t }) {
2234
- const n = e, { choices: l, multiple: a, allowTags: r, allowNull: d, cssClass: i, visibility: p } = _e(n), s = t, { errors: _, label: u, touched: m, value: h, vuetifyBindings: g } = K(n, s), w = E(null), j = E(!1), v = E([]), A = k(() => o(j) ? o(v) : o(l) || []), N = E(!1), T = k(() => ol(A.value));
2235
- function W(C) {
2236
- s("update:modelValueDisplay", Ve(A.value, C));
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));
2237
2242
  }
2238
2243
  let f = !1;
2239
- function c(C) {
2240
- f = !0, h.value = C, Ne(() => {
2244
+ function u(T) {
2245
+ f = !0, h.value = T, Ne(() => {
2241
2246
  f = !1;
2242
2247
  });
2243
2248
  }
2244
- ie(w, (C) => {
2245
- g.value.readonly || Ne(() => {
2246
- const I = J(C, a.value);
2247
- W(I), c(I);
2248
- });
2249
- }, { deep: !0 }), ie(h, (C) => {
2250
- if (!f) {
2251
- const I = J(C, a.value);
2252
- ye(I, w, a.value, !1, A.value);
2253
- }
2254
- }, { deep: !0 });
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
+ );
2255
2268
  function $() {
2256
2269
  if (g.value.readonly || r.value) return;
2257
- const C = J(w.value, a.value);
2258
- ye(C, w, a.value, !1, A.value), c(C);
2270
+ const T = Q(w.value, a.value);
2271
+ ye(T, w, a.value, !1, A.value), u(T);
2259
2272
  }
2260
- function U(C) {
2273
+ function z(T) {
2261
2274
  let I;
2262
- a.value && Array.isArray(w.value) ? I = J(w.value.filter((y) => y !== C), a.value) : I = null, ye(I, w, a.value, !1, A.value), c(I);
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);
2263
2279
  }
2264
- function se(C, I) {
2280
+ function se(T, I) {
2265
2281
  return ge(this, null, function* () {
2266
2282
  if (!(l.value || n.fetchChoices === void 0)) {
2267
2283
  N.value = !0;
2268
2284
  try {
2269
- const y = Ve(A.value, J(w.value, a.value)), Z = yield n.fetchChoices(C, I);
2270
- v.value = ht([...y, ...Z], "id"), j.value = !0;
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;
2271
2290
  } finally {
2272
2291
  N.value = !1;
2273
2292
  }
@@ -2275,117 +2294,116 @@ const ll = {
2275
2294
  });
2276
2295
  }
2277
2296
  function ue() {
2278
- let C = h.value;
2279
- !d.value && C == null && T.value.length && (C = T.value[0].value), C = J(C, a.value), ye(C, w, a.value, r.value, A.value), W(C), c(C);
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);
2280
2299
  }
2281
2300
  return ue(), n.fetchChoices !== void 0 && se(void 0, h.value).then(() => {
2282
2301
  ue();
2283
- }), (C, I) => {
2284
- const y = D("v-icon"), Z = D("v-chip"), ce = D("v-list-item");
2285
- return o(p) !== o(H).SUPPRESS ? (V(), P(he(o(r) ? "v-combobox" : "v-autocomplete"), 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({
2286
2305
  key: 0,
2287
2306
  modelValue: w.value,
2288
- "onUpdate:modelValue": I[0] || (I[0] = (S) => w.value = S),
2307
+ "onUpdate:modelValue": I[0] || (I[0] = (P) => w.value = P),
2289
2308
  class: [
2290
2309
  o(i),
2291
2310
  {
2292
- "d-none": o(p) === o(H).HIDDEN,
2293
- invisible: o(p) === o(H).INVISIBLE
2311
+ "d-none": o(c) === o(H).HIDDEN,
2312
+ invisible: o(c) === o(H).INVISIBLE
2294
2313
  }
2295
2314
  ],
2296
- items: T.value,
2315
+ items: C.value,
2297
2316
  "return-object": !1
2298
2317
  }, o(g), {
2299
2318
  label: o(g).label,
2300
2319
  chips: "",
2301
2320
  "auto-select-first": !0,
2302
- "closable-chips": o(d) || o(a) && w.value.length > 1,
2303
- clearable: o(d),
2321
+ "closable-chips": o(m) || o(a) && w.value.length > 1,
2322
+ clearable: o(m),
2304
2323
  multiple: o(a),
2305
2324
  loading: N.value,
2306
2325
  "hide-selected": !1,
2307
2326
  "aria-describedby": o(g).helpText ? `${o(g).name}-help` : null,
2308
2327
  "menu-props": { maxHeight: "400" },
2309
2328
  "hide-details": "auto",
2310
- "onUpdate:search": I[1] || (I[1] = (S) => se(S, void 0)),
2329
+ "onUpdate:search": I[1] || (I[1] = (P) => se(P, void 0)),
2311
2330
  "onUpdate:modelValue": $,
2312
- "onClick:clear": I[2] || (I[2] = (S) => w.value = null),
2313
- onBlur: I[3] || (I[3] = (S) => m.value = !0)
2314
- }), q({
2315
- chip: b(({ item: S }) => [
2316
- (V(), P(Z, {
2317
- key: S.value,
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,
2318
2337
  label: "",
2319
2338
  size: "small",
2320
2339
  class: "d-flex align-middle",
2321
2340
  variant: o(a) ? "tonal" : "text",
2322
2341
  closable: o(a),
2323
- "onClick:close": (ae) => U(S.value)
2342
+ "onClick:close": (ae) => z(P.value)
2324
2343
  }, {
2325
2344
  prepend: b(() => {
2326
2345
  var ae;
2327
2346
  return [
2328
- (ae = S.raw) != null && ae.icon ? (V(), P(y, {
2347
+ (ae = P.raw) != null && ae.icon ? (V(), D(o(he), {
2329
2348
  key: 0,
2330
- size: "24",
2331
2349
  class: "me-1",
2332
- icon: S.raw.icon
2333
- }, null, 8, ["icon"])) : L("", !0)
2350
+ name: P.raw.icon
2351
+ }, null, 8, ["name"])) : L("", !0)
2334
2352
  ];
2335
2353
  }),
2336
2354
  default: b(() => [
2337
2355
  ne("span", {
2338
2356
  class: Ie({ "text-body-1": !o(a) })
2339
- }, Be(S.title), 3)
2357
+ }, Be(P.title), 3)
2340
2358
  ]),
2341
2359
  _: 2
2342
2360
  }, 1032, ["variant", "closable", "onClick:close"]))
2343
2361
  ]),
2344
- item: b(({ props: S, item: ae }) => [
2345
- B(ce, X(G(S)), {
2362
+ item: b(({ props: P, item: ae }) => [
2363
+ B(Y, Z(J(P)), {
2346
2364
  prepend: b(() => {
2347
2365
  var De;
2348
2366
  return [
2349
- (De = ae.raw) != null && De.icon ? (V(), R("span", ll, [
2350
- B(y, {
2367
+ (De = ae.raw) != null && De.icon ? (V(), O("span", ll, [
2368
+ B(o(he), {
2351
2369
  class: "action-icon",
2352
- icon: ae.raw.icon
2353
- }, null, 8, ["icon"])
2370
+ name: ae.raw.icon
2371
+ }, null, 8, ["name"])
2354
2372
  ])) : L("", !0)
2355
2373
  ];
2356
2374
  }),
2357
2375
  _: 2
2358
2376
  }, 1040)
2359
2377
  ]),
2360
- message: b(({ message: S }) => [
2378
+ message: b(({ message: P }) => [
2361
2379
  B(o(le), {
2362
- message: S,
2380
+ message: P,
2363
2381
  errors: o(_)
2364
2382
  }, null, 8, ["message", "errors"])
2365
2383
  ]),
2366
2384
  _: 2
2367
2385
  }, [
2368
- o(u).icon ? {
2386
+ o(s).icon ? {
2369
2387
  name: "label",
2370
- fn: b((S) => [
2388
+ fn: b((P) => [
2371
2389
  B(o(oe), {
2372
- data: S,
2373
- label: o(u)
2390
+ data: P,
2391
+ label: o(s)
2374
2392
  }, null, 8, ["data", "label"])
2375
2393
  ]),
2376
2394
  key: "0"
2377
2395
  } : void 0,
2378
- C.$slots["append-inner"] ? {
2396
+ T.$slots["append-inner"] ? {
2379
2397
  name: "append-inner",
2380
- fn: b((S) => [
2381
- re(C.$slots, "append-inner", X(G(S)))
2398
+ fn: b((P) => [
2399
+ re(T.$slots, "append-inner", Z(J(P)))
2382
2400
  ]),
2383
2401
  key: "1"
2384
2402
  } : void 0,
2385
- C.$slots["prepend-inner"] ? {
2403
+ T.$slots["prepend-inner"] ? {
2386
2404
  name: "prepend-inner",
2387
- fn: b((S) => [
2388
- re(C.$slots, "prepend-inner", X(G(S)))
2405
+ fn: b((P) => [
2406
+ re(T.$slots, "prepend-inner", Z(J(P)))
2389
2407
  ]),
2390
2408
  key: "2"
2391
2409
  } : void 0
@@ -2394,7 +2412,7 @@ const ll = {
2394
2412
  }
2395
2413
  }), rl = { class: "container" }, il = /* @__PURE__ */ M({
2396
2414
  __name: "df-text-area",
2397
- props: /* @__PURE__ */ Y({
2415
+ props: /* @__PURE__ */ G({
2398
2416
  rows: {},
2399
2417
  maxRows: {},
2400
2418
  control: {},
@@ -2409,33 +2427,33 @@ const ll = {
2409
2427
  cssClass: {},
2410
2428
  clearable: { type: Boolean },
2411
2429
  passthroughAttrs: {}
2412
- }, F(x({}, Q), {
2430
+ }, F(x({}, q), {
2413
2431
  rows: void 0,
2414
2432
  maxRows: void 0
2415
2433
  })),
2416
2434
  emits: ["update:modelValue", "click:clear"],
2417
2435
  setup(e, { emit: t }) {
2418
- const n = e, l = t, { errors: a, label: r, touched: d, value: i, vuetifyBindings: p } = K(n, l), { cssClass: s, visibility: _ } = _e(n);
2419
- return (u, m) => {
2420
- const h = D("v-textarea");
2421
- return V(), R("div", rl, [
2422
- o(_) !== o(H).SUPPRESS ? (V(), P(h, 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({
2423
2441
  key: 0,
2424
2442
  modelValue: o(i),
2425
- "onUpdate:modelValue": m[0] || (m[0] = (g) => te(i) ? i.value = g : null),
2443
+ "onUpdate:modelValue": p[0] || (p[0] = (g) => te(i) ? i.value = g : null),
2426
2444
  class: [
2427
- o(s),
2445
+ o(d),
2428
2446
  {
2429
2447
  "d-none": o(_) === o(H).HIDDEN,
2430
2448
  invisible: o(_) === o(H).INVISIBLE
2431
2449
  }
2432
2450
  ],
2433
- rows: u.rows,
2434
- "auto-grow": (u.maxRows || 0) > 0,
2435
- "max-rows": u.maxRows
2436
- }, o(p), {
2437
- onBlur: m[1] || (m[1] = (g) => d.value = !0)
2438
- }), q({
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({
2439
2457
  message: b(({ message: g }) => [
2440
2458
  B(o(le), {
2441
2459
  message: g,
@@ -2458,11 +2476,11 @@ const ll = {
2458
2476
  ]);
2459
2477
  };
2460
2478
  }
2461
- }), sl = /* @__PURE__ */ be(il, [["__scopeId", "data-v-b2f125f8"]]), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2479
+ }), sl = /* @__PURE__ */ be(il, [["__scopeId", "data-v-d9284a00"]]), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2462
2480
  __proto__: null,
2463
2481
  DfActions: Ro,
2464
- DfCheckbox: zo,
2465
- DfColor: Wo,
2482
+ DfCheckbox: Wo,
2483
+ DfColor: zo,
2466
2484
  DfDateTime: Ko,
2467
2485
  DfFile: Go,
2468
2486
  DfInput: Qo,
@@ -2497,7 +2515,7 @@ const ll = {
2497
2515
  VTimePicker: En
2498
2516
  }, Symbol.toStringTag, { value: "Module" })), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2499
2517
  __proto__: null
2500
- }, Symbol.toStringTag, { value: "Module" })), Wl = {
2518
+ }, Symbol.toStringTag, { value: "Module" })), Hl = {
2501
2519
  install: (e, t) => {
2502
2520
  var n, l;
2503
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));
@@ -2505,11 +2523,11 @@ const ll = {
2505
2523
  };
2506
2524
  export {
2507
2525
  ke as Action,
2508
- z as ActionDisplayStyle,
2526
+ R as ActionDisplayStyle,
2509
2527
  Po as DateTimeLocaleConfig,
2510
2528
  Ro as DfActions,
2511
- zo as DfCheckbox,
2512
- Wo as DfColor,
2529
+ Wo as DfCheckbox,
2530
+ zo as DfColor,
2513
2531
  Ko as DfDateTime,
2514
2532
  Go as DfFile,
2515
2533
  Qo as DfInput,
@@ -2519,19 +2537,19 @@ export {
2519
2537
  nl as DfRtfEditor,
2520
2538
  al as DfSelect,
2521
2539
  sl as DfTextArea,
2522
- Wl as DynamicFormsInputs,
2540
+ Hl as DynamicFormsInputs,
2523
2541
  Pe as InputBase,
2524
2542
  $o as Label,
2525
2543
  le as MessagesWidget,
2526
2544
  Lo as ResponsiveActionRenderOptions,
2527
2545
  Ao as ResponsiveRenderOptions,
2528
2546
  cl as VuetifyComponents,
2529
- Q as defaultBaseProps,
2547
+ q as defaultBaseProps,
2530
2548
  Re as defaultDisplayStyle,
2531
2549
  No as getBreakpointName,
2532
- ze as responsiveBreakpoints,
2533
- ve as translatableStrings,
2534
- Rl as translateStrings,
2550
+ We as responsiveBreakpoints,
2551
+ fe as translatableStrings,
2552
+ Wl as translateStrings,
2535
2553
  Fo as useBreakpoint,
2536
2554
  K as useInputBase,
2537
2555
  Je as vuetifyInputsSettingsKey