@dynamicforms/vuetify-inputs 0.5.7 → 0.5.9

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.
@@ -1,48 +1,47 @@
1
1
  var et = Object.defineProperty, tt = Object.defineProperties;
2
2
  var nt = Object.getOwnPropertyDescriptors;
3
3
  var xe = Object.getOwnPropertySymbols;
4
- var ot = Object.prototype.hasOwnProperty, at = Object.prototype.propertyIsEnumerable;
5
- var _e = (e, t, n) => t in e ? et(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, x = (e, t) => {
4
+ var ot = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
5
+ var je = (e, t, n) => t in e ? et(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, x = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- ot.call(t, n) && _e(e, n, t[n]);
7
+ ot.call(t, n) && je(e, n, t[n]);
8
8
  if (xe)
9
9
  for (var n of xe(t))
10
- at.call(t, n) && _e(e, n, t[n]);
10
+ lt.call(t, n) && je(e, n, t[n]);
11
11
  return e;
12
12
  }, F = (e, t) => tt(e, nt(t));
13
- var $e = (e, t, n) => _e(e, typeof t != "symbol" ? t + "" : t, n);
14
- var he = (e, t, n) => new Promise((a, l) => {
15
- var r = (c) => {
13
+ var $e = (e, t, n) => je(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var ge = (e, t, n) => new Promise((l, a) => {
15
+ var r = (p) => {
16
16
  try {
17
- i(n.next(c));
18
- } catch (u) {
19
- l(u);
17
+ i(n.next(p));
18
+ } catch (s) {
19
+ a(s);
20
20
  }
21
- }, p = (c) => {
21
+ }, d = (p) => {
22
22
  try {
23
- i(n.throw(c));
24
- } catch (u) {
25
- l(u);
23
+ i(n.throw(p));
24
+ } catch (s) {
25
+ a(s);
26
26
  }
27
- }, i = (c) => c.done ? a(c.value) : Promise.resolve(c.value).then(r, p);
27
+ }, i = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(r, d);
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 lt, ref as E, watch as ie, onMounted as ze, markRaw as rt, onBeforeUnmount as He, createBlock as D, openBlock as V, resolveDynamicComponent as be, version as it, isRef as te, resolveComponent as $, createElementBlock as R, createCommentVNode as L, createTextVNode as st, Fragment as Ke, toDisplayString as Be, inject as ut, computed as _, h as ge, 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 Ve, 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 bt } from "lodash-es";
33
- import Te from "vue-ionicon";
34
- import Oe, { ValidationErrorRenderContent as ht, DisplayMode as H, Action as gt } from "@dynamicforms/vue-forms";
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";
33
+ import Oe, { ValidationErrorRenderContent as bt, DisplayMode as H, Action as gt } from "@dynamicforms/vue-forms";
35
34
  import wt from "vue-markdown-render";
36
35
  import { useDisplay as yt } from "vuetify";
37
36
  import { format as de, 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 an, TableToolbar as ln, Undo as rn, TextTransformation as sn, Base64UploadAdapter as un, ClassicEditor as cn } from "ckeditor5";
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";
39
38
  import { VAutocomplete as dn } from "vuetify/components/VAutocomplete";
40
39
  import { VBtn as mn } from "vuetify/components/VBtn";
41
40
  import { VCheckbox as pn } from "vuetify/components/VCheckbox";
42
41
  import { VChip as fn } from "vuetify/components/VChip";
43
42
  import { VCombobox as vn } from "vuetify/components/VCombobox";
44
- import { VColorPicker as bn } from "vuetify/components/VColorPicker";
45
- import { VConfirmEdit as hn } from "vuetify/components/VConfirmEdit";
43
+ import { VColorPicker as hn } from "vuetify/components/VColorPicker";
44
+ import { VConfirmEdit as bn } from "vuetify/components/VConfirmEdit";
46
45
  import { VDatePicker as gn } from "vuetify/components/VDatePicker";
47
46
  import { VField as wn } from "vuetify/components/VField";
48
47
  import { VFileInput as yn } from "vuetify/components/VFileInput";
@@ -58,7 +57,7 @@ import { VSelect as Dn } from "vuetify/components/VSelect";
58
57
  import { VSwitch as xn } from "vuetify/components/VSwitch";
59
58
  import { VTextarea as $n } from "vuetify/components/VTextarea";
60
59
  import { VTextField as Sn } from "vuetify/components/VTextField";
61
- import { VTimePicker as En } from "vuetify/labs/VTimePicker";
60
+ import { VTimePicker as En } from "vuetify/components/VTimePicker";
62
61
  /**
63
62
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
64
63
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -77,7 +76,7 @@ function An(e, t) {
77
76
  return F(x({}, e), {
78
77
  extraPlugins: [
79
78
  ...n,
80
- ...t.filter((a) => !n.includes(a))
79
+ ...t.filter((l) => !n.includes(l))
81
80
  ]
82
81
  });
83
82
  }
@@ -105,11 +104,11 @@ function Nn(e) {
105
104
  function Fn(e) {
106
105
  if (!Ye(e))
107
106
  throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
108
- const [t, n, a] = e.split(".");
107
+ const [t, n, l] = e.split(".");
109
108
  return {
110
109
  major: Number.parseInt(t, 10),
111
110
  minor: Number.parseInt(n, 10),
112
- patch: Number.parseInt(a, 10)
111
+ patch: Number.parseInt(l, 10)
113
112
  };
114
113
  }
115
114
  /**
@@ -168,8 +167,8 @@ function Ze(e, t) {
168
167
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
169
168
  */
170
169
  function On(e, t) {
171
- return function(a) {
172
- Ze(a.config.get("licenseKey")) || a.on("collectUsageData", (l, { setUsageData: r }) => {
170
+ return function(l) {
171
+ Ze(l.config.get("licenseKey")) || l.on("collectUsageData", (a, { setUsageData: r }) => {
173
172
  r(`integration.${e}`, t);
174
173
  });
175
174
  };
@@ -189,7 +188,7 @@ const Rn = On(
189
188
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
190
189
  * For licensing, see LICENSE.md.
191
190
  */
192
- function Wn(e) {
191
+ function zn(e) {
193
192
  return Ze(e.licenseKey) ? e : An(e, [
194
193
  /**
195
194
  * This part of the code is not executed in open-source implementations using a GPL key.
@@ -199,7 +198,7 @@ function Wn(e) {
199
198
  Rn
200
199
  ]);
201
200
  }
202
- const je = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn = /* @__PURE__ */ M({
201
+ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, Hn = /* @__PURE__ */ M({
203
202
  name: "CKEditor",
204
203
  __name: "ckeditor",
205
204
  props: /* @__PURE__ */ Ee({
@@ -214,49 +213,49 @@ const je = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn =
214
213
  }),
215
214
  emits: /* @__PURE__ */ Ee(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
216
215
  setup(e, { expose: t, emit: n }) {
217
- const a = lt(e, "modelValue"), l = e, r = n, p = E(), i = E(), c = E();
216
+ const l = at(e, "modelValue"), a = e, r = n, d = E(), i = E(), p = E();
218
217
  t({
219
218
  instance: i,
220
- lastEditorData: c
221
- }), ie(a, (s) => {
222
- i.value && s !== c.value && i.value.data.set(s);
223
- }), ie(() => l.disabled, (s) => {
224
- s ? i.value.enableReadOnlyMode(je) : i.value.disableReadOnlyMode(je);
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);
225
224
  });
226
- function u() {
227
- const s = window.CKEDITOR_VERSION;
228
- if (!s)
225
+ function s() {
226
+ const u = window.CKEDITOR_VERSION;
227
+ if (!u)
229
228
  return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
230
- const [m] = s.split(".").map(Number);
231
- m >= 42 || s.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
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.");
232
231
  }
233
- function j(s) {
234
- const m = pt((v) => {
235
- if (l.disableTwoWayDataBinding)
232
+ function _(u) {
233
+ const m = pt((h) => {
234
+ if (a.disableTwoWayDataBinding)
236
235
  return;
237
- const h = c.value = s.data.get();
238
- r("update:modelValue", h, v, s), r("input", h, v, s);
239
- }, zn, { leading: !0 });
240
- s.model.document.on("change:data", m), s.editing.view.document.on("focus", (v) => {
241
- r("focus", v, s);
242
- }), s.editing.view.document.on("blur", (v) => {
243
- r("blur", v, s);
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);
244
243
  });
245
244
  }
246
- return u(), ze(() => {
247
- const s = Wn(
248
- Object.assign({}, l.config)
245
+ return s(), We(() => {
246
+ const u = zn(
247
+ Object.assign({}, a.config)
249
248
  );
250
- a.value && (s.initialData = a.value), l.editor.create(p.value, s).then((m) => {
251
- i.value = rt(m), j(m), a.value !== s.initialData && m.data.set(a.value), l.disabled && m.enableReadOnlyMode(je), r("ready", m);
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);
252
251
  }).catch((m) => {
253
252
  console.error(m);
254
253
  });
255
254
  }), He(() => {
256
255
  i.value && (i.value.destroy(), i.value = void 0), r("destroy");
257
- }), (s, m) => (V(), D(be(s.tagName), {
256
+ }), (u, m) => (V(), P(he(u.tagName), {
258
257
  ref_key: "element",
259
- ref: p
258
+ ref: d
260
259
  }, null, 512));
261
260
  }
262
261
  });
@@ -279,7 +278,7 @@ const Kn = {
279
278
  e.component("Ckeditor", Hn);
280
279
  }
281
280
  };
282
- function Ce(e) {
281
+ function Te(e) {
283
282
  return (t = {}) => {
284
283
  const n = t.width ? String(t.width) : e.defaultWidth;
285
284
  return e.formats[n] || e.formats[e.defaultWidth];
@@ -287,35 +286,35 @@ function Ce(e) {
287
286
  }
288
287
  function me(e) {
289
288
  return (t, n) => {
290
- const a = n != null && n.context ? String(n.context) : "standalone";
291
- let l;
292
- if (a === "formatting" && e.formattingValues) {
293
- const p = e.defaultFormattingWidth || e.defaultWidth, i = n != null && n.width ? String(n.width) : p;
294
- l = e.formattingValues[i] || e.formattingValues[p];
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];
295
294
  } else {
296
- const p = e.defaultWidth, i = n != null && n.width ? String(n.width) : e.defaultWidth;
297
- l = e.values[i] || e.values[p];
295
+ const d = e.defaultWidth, i = n != null && n.width ? String(n.width) : e.defaultWidth;
296
+ a = e.values[i] || e.values[d];
298
297
  }
299
298
  const r = e.argumentCallback ? e.argumentCallback(t) : t;
300
- return l[r];
299
+ return a[r];
301
300
  };
302
301
  }
303
302
  function pe(e) {
304
303
  return (t, n = {}) => {
305
- const a = n.width, l = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], r = t.match(l);
304
+ const l = n.width, a = l && e.matchPatterns[l] || e.matchPatterns[e.defaultMatchWidth], r = t.match(a);
306
305
  if (!r)
307
306
  return null;
308
- const p = r[0], i = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(i) ? Gn(i, (s) => s.test(p)) : (
307
+ const d = r[0], i = l && e.parsePatterns[l] || e.parsePatterns[e.defaultParseWidth], p = Array.isArray(i) ? Gn(i, (u) => u.test(d)) : (
309
308
  // [TODO] -- I challenge you to fix the type
310
- Xn(i, (s) => s.test(p))
309
+ Xn(i, (u) => u.test(d))
311
310
  );
312
- let u;
313
- u = e.valueCallback ? e.valueCallback(c) : c, u = n.valueCallback ? (
311
+ let s;
312
+ s = e.valueCallback ? e.valueCallback(p) : p, s = n.valueCallback ? (
314
313
  // [TODO] -- I challenge you to fix the type
315
- n.valueCallback(u)
316
- ) : u;
317
- const j = t.slice(p.length);
318
- return { value: u, rest: j };
314
+ n.valueCallback(s)
315
+ ) : s;
316
+ const _ = t.slice(d.length);
317
+ return { value: s, rest: _ };
319
318
  };
320
319
  }
321
320
  function Xn(e, t) {
@@ -330,14 +329,14 @@ function Gn(e, t) {
330
329
  }
331
330
  function qn(e) {
332
331
  return (t, n = {}) => {
333
- const a = t.match(e.matchPattern);
334
- if (!a) return null;
335
- const l = a[0], r = t.match(e.parsePattern);
332
+ const l = t.match(e.matchPattern);
333
+ if (!l) return null;
334
+ const a = l[0], r = t.match(e.parsePattern);
336
335
  if (!r) return null;
337
- let p = e.valueCallback ? e.valueCallback(r[0]) : r[0];
338
- p = n.valueCallback ? n.valueCallback(p) : p;
339
- const i = t.slice(l.length);
340
- return { value: p, rest: i };
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 };
341
340
  };
342
341
  }
343
342
  function Yn(e) {
@@ -634,16 +633,16 @@ function Zn(e) {
634
633
  }
635
634
  }
636
635
  const Jn = (e, t, n) => {
637
- let a = "", l = "present";
638
- n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (l = "future", a = "čez ") : (l = "past", a = "pred "));
636
+ let l = "", a = "present";
637
+ n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (a = "future", l = "čez ") : (a = "past", l = "pred "));
639
638
  const r = Qn[e];
640
639
  if (typeof r == "string")
641
- a += r;
640
+ l += r;
642
641
  else {
643
- const p = Zn(t);
644
- Yn(r) ? a += r[p].replace("{{count}}", String(t)) : a += r[l][p].replace("{{count}}", String(t));
642
+ const d = Zn(t);
643
+ Yn(r) ? l += r[d].replace("{{count}}", String(t)) : l += r[a][d].replace("{{count}}", String(t));
645
644
  }
646
- return a;
645
+ return l;
647
646
  }, eo = {
648
647
  full: "EEEE, dd. MMMM y",
649
648
  long: "dd. MMMM y",
@@ -660,19 +659,19 @@ const Jn = (e, t, n) => {
660
659
  medium: "{{date}} {{time}}",
661
660
  short: "{{date}} {{time}}"
662
661
  }, oo = {
663
- date: Ce({
662
+ date: Te({
664
663
  formats: eo,
665
664
  defaultWidth: "full"
666
665
  }),
667
- time: Ce({
666
+ time: Te({
668
667
  formats: to,
669
668
  defaultWidth: "full"
670
669
  }),
671
- dateTime: Ce({
670
+ dateTime: Te({
672
671
  formats: no,
673
672
  defaultWidth: "full"
674
673
  })
675
- }, ao = {
674
+ }, lo = {
676
675
  lastWeek: (e) => {
677
676
  switch (e.getDay()) {
678
677
  case 0:
@@ -701,9 +700,9 @@ const Jn = (e, t, n) => {
701
700
  }
702
701
  },
703
702
  other: "P"
704
- }, lo = (e, t, n, a) => {
705
- const l = ao[e];
706
- return typeof l == "function" ? l(t) : l;
703
+ }, ao = (e, t, n, l) => {
704
+ const a = lo[e];
705
+ return typeof a == "function" ? a(t) : a;
707
706
  }, ro = {
708
707
  narrow: ["pr. n. št.", "po n. št."],
709
708
  abbreviated: ["pr. n. št.", "po n. št."],
@@ -842,7 +841,7 @@ const Jn = (e, t, n) => {
842
841
  formattingValues: mo,
843
842
  defaultFormattingWidth: "wide"
844
843
  })
845
- }, vo = /^(\d+)\./i, bo = /\d+/i, ho = {
844
+ }, vo = /^(\d+)\./i, ho = /\d+/i, bo = {
846
845
  abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
847
846
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
848
847
  }, go = {
@@ -935,11 +934,11 @@ const Jn = (e, t, n) => {
935
934
  }, Bo = {
936
935
  ordinalNumber: qn({
937
936
  matchPattern: vo,
938
- parsePattern: bo,
937
+ parsePattern: ho,
939
938
  valueCallback: (e) => parseInt(e, 10)
940
939
  }),
941
940
  era: pe({
942
- matchPatterns: ho,
941
+ matchPatterns: bo,
943
942
  defaultMatchWidth: "wide",
944
943
  parsePatterns: go,
945
944
  defaultParseWidth: "any"
@@ -973,7 +972,7 @@ const Jn = (e, t, n) => {
973
972
  code: "sl",
974
973
  formatDistance: Jn,
975
974
  formatLong: oo,
976
- formatRelative: lo,
975
+ formatRelative: ao,
977
976
  localize: fo,
978
977
  match: Bo,
979
978
  options: {
@@ -993,18 +992,18 @@ const Jn = (e, t, n) => {
993
992
  },
994
993
  setup(e) {
995
994
  return (t, n) => {
996
- const a = $("v-icon"), l = $("v-img");
995
+ const l = D("v-icon"), a = D("v-img");
997
996
  return V(), R("div", Do, [
998
997
  t.label.icon ? (V(), R(Ke, { key: 0 }, [
999
- t.label.iconComponent === "v-icon" ? (V(), D(a, {
998
+ t.label.iconComponent === "v-icon" ? (V(), P(l, {
1000
999
  key: 0,
1001
1000
  icon: t.label.icon,
1002
1001
  size: "1.25em"
1003
- }, null, 8, ["icon"])) : t.label.iconComponent === "v-img" ? (V(), D(l, {
1002
+ }, null, 8, ["icon"])) : t.label.iconComponent === "v-img" ? (V(), P(a, {
1004
1003
  key: 1,
1005
1004
  class: "icon",
1006
1005
  src: t.label.icon
1007
- }, null, 8, ["src"])) : (V(), D(be(t.label.iconComponent), {
1006
+ }, null, 8, ["src"])) : (V(), P(he(t.label.iconComponent), {
1008
1007
  key: 2,
1009
1008
  src: t.label.icon
1010
1009
  }, null, 8, ["src"]))
@@ -1013,70 +1012,77 @@ const Jn = (e, t, n) => {
1013
1012
  ]);
1014
1013
  };
1015
1014
  }
1016
- }), se = (e, t) => {
1015
+ }), be = (e, t) => {
1017
1016
  const n = e.__vccOpts || e;
1018
- for (const [a, l] of t)
1019
- n[a] = l;
1017
+ for (const [l, a] of t)
1018
+ n[l] = a;
1020
1019
  return n;
1021
- }, oe = /* @__PURE__ */ se(xo, [["__scopeId", "data-v-0034f29f"]]), Je = Symbol("vuetifyInputsSettingsKey");
1020
+ }, oe = /* @__PURE__ */ be(xo, [["__scopeId", "data-v-0034f29f"]]), Je = Symbol("vuetifyInputsSettingsKey");
1022
1021
  class $o {
1023
- constructor(t, n, a = "v-icon") {
1024
- this.text = t, this.icon = n, this.iconComponent = a;
1022
+ constructor(t, n, l = "v-icon") {
1023
+ this.text = t, this.icon = n, this.iconComponent = l;
1025
1024
  }
1026
1025
  }
1027
1026
  const Q = { enabled: void 0, clearable: !0 };
1028
1027
  function K(e, t) {
1029
- const n = ut(Je, {}), a = E(null), l = _({
1028
+ const n = ut(Je, {}), l = E(null), a = k({
1030
1029
  get() {
1031
- return e.control ? e.control.value : e.modelValue === void 0 ? a.value : e.modelValue;
1030
+ return e.control ? e.control.value : e.modelValue === void 0 ? l.value : e.modelValue;
1032
1031
  },
1033
- set(y) {
1034
- e.control && (e.control.value = y), e.modelValue === void 0 && (a.value = y), t("update:modelValue", y);
1032
+ set(v) {
1033
+ e.control && (e.control.value = v), e.modelValue === void 0 && (l.value = v), t("update:modelValue", v);
1035
1034
  }
1036
1035
  });
1037
1036
  if (e.control && !(e.control instanceof Oe.FieldBase))
1038
1037
  throw new Error("control prop is not a vue-form control instance");
1039
- const r = E(!1), p = _(() => e.control ? e.control.valid : !0), i = _(
1040
- () => e.control ? e.control.errors : (e.errors || []).map((y) => new ht(y))
1041
- ), c = _(() => r.value && i.value.length > 0 ? " " : void 0), u = _(() => e.control ? e.control.enabled : e.enabled !== !1), j = _(
1038
+ const r = k({
1039
+ get() {
1040
+ return e.control.touched;
1041
+ },
1042
+ set(v) {
1043
+ e.control.touched = v;
1044
+ }
1045
+ }), d = e.control ? r : E(!1), i = k(() => e.control ? e.control.valid : !0), p = k(
1046
+ () => 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(
1042
1048
  () => e.control ? e.control.visibility : e.visibility || Oe.DisplayMode.FULL
1043
- ), s = _(
1049
+ ), m = k(
1044
1050
  () => ee(e.label || "") ? new $o(e.label || "") : e.label
1045
- ), m = _(() => e.placeholder || ""), v = _(() => e.helpText || ""), h = _(() => e.hint || ""), g = _(() => e.cssClass || "");
1051
+ ), h = k(() => e.placeholder || ""), g = k(() => e.helpText || ""), w = k(() => e.hint || ""), j = k(() => e.cssClass || "");
1046
1052
  return {
1047
- value: l,
1048
- valid: p,
1049
- enabled: u,
1050
- errors: i,
1051
- visibility: j,
1052
- label: s,
1053
- touched: r,
1054
- vuetifyBindings: _(() => {
1055
- var y, w;
1053
+ value: a,
1054
+ valid: i,
1055
+ enabled: _,
1056
+ errors: p,
1057
+ visibility: u,
1058
+ label: m,
1059
+ touched: d,
1060
+ vuetifyBindings: k(() => {
1061
+ var v, A;
1056
1062
  return x({
1057
- name: (y = e.control) == null ? void 0 : y.fieldName,
1058
- class: g.value,
1063
+ name: (v = e.control) == null ? void 0 : v.fieldName,
1064
+ class: j.value,
1059
1065
  density: "default",
1060
- variant: (w = n.defaultVariant) != null ? w : "underlined",
1061
- label: s.value.text,
1062
- messages: c.value,
1063
- errorMessages: c.value,
1066
+ variant: (A = n.defaultVariant) != null ? A : "underlined",
1067
+ label: m.value.text,
1068
+ messages: s.value,
1069
+ errorMessages: s.value,
1064
1070
  // 'error-count': errors?.value.length || 0,
1065
- readonly: !u.value,
1066
- disabled: !u.value,
1067
- placeholder: m.value,
1068
- "persistent-placeholder": !fe(m.value),
1069
- hint: h.value,
1071
+ readonly: !_.value,
1072
+ disabled: !_.value,
1073
+ placeholder: h.value,
1074
+ "persistent-placeholder": !fe(h.value),
1075
+ hint: w.value,
1070
1076
  persistentHint: !0,
1071
1077
  // we want persistent hint always
1072
1078
  hideDetails: "auto",
1073
1079
  // we want to hide the hint element when hint isn't there
1074
- helpText: v.value
1080
+ helpText: g.value
1075
1081
  }, e.passthroughAttrs || {});
1076
1082
  })
1077
1083
  };
1078
1084
  }
1079
- const ae = /* @__PURE__ */ M({
1085
+ const le = /* @__PURE__ */ M({
1080
1086
  __name: "messages-widget",
1081
1087
  props: {
1082
1088
  errors: {},
@@ -1085,28 +1091,28 @@ const ae = /* @__PURE__ */ M({
1085
1091
  },
1086
1092
  setup(e) {
1087
1093
  const t = e, n = () => {
1088
- if (t.message !== " ") return ge("span", { class: t.classes }, t.message);
1089
- const a = [];
1090
- return t.errors.forEach((l) => {
1091
- switch (l.componentName) {
1094
+ if (t.message !== " ") return we("span", { class: t.classes }, t.message);
1095
+ const l = [];
1096
+ return t.errors.forEach((a) => {
1097
+ switch (a.componentName) {
1092
1098
  case "template":
1093
- a.push(ge("div", { class: t.classes }, l.componentBody));
1099
+ l.push(we("div", { class: t.classes }, a.componentBody));
1094
1100
  break;
1095
1101
  case "vue-markdown":
1096
- a.push(ge(
1102
+ l.push(we(
1097
1103
  wt,
1098
- { class: [t.classes, "df-messages-widget-markdown"], source: l.componentBindings.source }
1104
+ { class: [t.classes, "df-messages-widget-markdown"], source: a.componentBindings.source }
1099
1105
  ));
1100
1106
  break;
1101
1107
  default:
1102
- a.push(
1103
- ge(l.componentName, F(x({ class: t.classes }, l.componentBindings), { innerHTML: l.componentBody }))
1108
+ l.push(
1109
+ we(a.componentName, F(x({ class: t.classes }, a.componentBindings), { innerHTML: a.componentBody }))
1104
1110
  );
1105
1111
  break;
1106
1112
  }
1107
- }), a;
1113
+ }), l;
1108
1114
  };
1109
- return (a, l) => (V(), D(n));
1115
+ return (l, a) => (V(), P(n));
1110
1116
  }
1111
1117
  }), So = { class: "d-flex w-100 style-resetting" }, Eo = /* @__PURE__ */ M({
1112
1118
  __name: "input-base",
@@ -1127,70 +1133,70 @@ const ae = /* @__PURE__ */ M({
1127
1133
  },
1128
1134
  emits: ["update:modelValue", "click:clear", "blur"],
1129
1135
  setup(e, { emit: t }) {
1130
- const n = e, a = t, { errors: l, label: r, value: p, touched: i, visibility: c, vuetifyBindings: u } = K(n, a), j = _(() => !!(o(n.clearable) && o(p))), s = E(!1);
1131
- function m(v) {
1132
- s.value = v, v || (i.value = !0, a("blur"));
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"));
1133
1139
  }
1134
- return (v, h) => {
1135
- const g = $("v-field"), y = $("v-input");
1136
- return o(c) !== o(H).SUPPRESS ? (V(), D(y, {
1140
+ return (h, g) => {
1141
+ const w = D("v-field"), j = D("v-input");
1142
+ return o(p) !== o(H).SUPPRESS ? (V(), P(j, {
1137
1143
  key: 0,
1138
- name: o(u).name,
1139
- hint: o(u).hint,
1140
- "persistent-hint": o(u).persistentHint,
1141
- "hide-details": o(u).hideDetails,
1142
- "error-messages": o(u).errorMessages,
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,
1143
1149
  class: Ie([
1144
- v.cssClass,
1150
+ h.cssClass,
1145
1151
  {
1146
- "d-none": o(c) === o(H).HIDDEN,
1147
- invisible: o(c) === o(H).INVISIBLE
1152
+ "d-none": o(p) === o(H).HIDDEN,
1153
+ invisible: o(p) === o(H).INVISIBLE
1148
1154
  }
1149
1155
  ])
1150
1156
  }, q({
1151
- message: b(({ message: w }) => [
1152
- B(ae, {
1153
- message: w,
1154
- errors: o(l)
1157
+ message: b(({ message: v }) => [
1158
+ B(le, {
1159
+ message: v,
1160
+ errors: o(a)
1155
1161
  }, null, 8, ["message", "errors"])
1156
1162
  ]),
1157
1163
  default: b(() => [
1158
- B(g, {
1159
- variant: o(u).variant,
1160
- label: o(u).label,
1161
- disabled: o(u).disabled,
1162
- clearable: j.value,
1164
+ B(w, {
1165
+ variant: o(s).variant,
1166
+ label: o(s).label,
1167
+ disabled: o(s).disabled,
1168
+ clearable: _.value,
1163
1169
  "persistent-clear": !0,
1164
- dirty: !!o(p),
1165
- active: s.value,
1166
- loading: v.loading,
1167
- "onClick:clear": h[0] || (h[0] = (w) => a("click:clear")),
1168
- "onUpdate:focused": h[1] || (h[1] = (w) => m(w))
1170
+ dirty: !!o(d),
1171
+ active: u.value,
1172
+ loading: h.loading,
1173
+ "onClick:clear": g[0] || (g[0] = (v) => l("click:clear")),
1174
+ "onUpdate:focused": g[1] || (g[1] = (v) => m(v))
1169
1175
  }, q({
1170
- default: b((w) => [
1176
+ default: b((v) => [
1171
1177
  ne("div", So, [
1172
- re(v.$slots, "default", X(G(w)), void 0, !0)
1178
+ re(h.$slots, "default", X(G(v)), void 0, !0)
1173
1179
  ])
1174
1180
  ]),
1175
- loader: b((w) => [
1176
- re(v.$slots, "loader", X(G(w)), void 0, !0)
1181
+ loader: b((v) => [
1182
+ re(h.$slots, "loader", X(G(v)), void 0, !0)
1177
1183
  ]),
1178
1184
  _: 2
1179
1185
  }, [
1180
1186
  o(r).icon ? {
1181
1187
  name: "label",
1182
- fn: b((w) => [
1188
+ fn: b((v) => [
1183
1189
  B(oe, {
1184
- data: w,
1190
+ data: v,
1185
1191
  label: o(r)
1186
1192
  }, null, 8, ["data", "label"])
1187
1193
  ]),
1188
1194
  key: "0"
1189
1195
  } : void 0,
1190
- v.$slots["prepend-inner"] ? {
1196
+ h.$slots["prepend-inner"] ? {
1191
1197
  name: "prepend-inner",
1192
- fn: b((w) => [
1193
- re(v.$slots, "prepend-inner", X(G(w)), void 0, !0)
1198
+ fn: b((v) => [
1199
+ re(h.$slots, "prepend-inner", X(G(v)), void 0, !0)
1194
1200
  ]),
1195
1201
  key: "1"
1196
1202
  } : void 0
@@ -1198,61 +1204,61 @@ const ae = /* @__PURE__ */ M({
1198
1204
  ]),
1199
1205
  _: 2
1200
1206
  }, [
1201
- v.$slots.prepend ? {
1207
+ h.$slots.prepend ? {
1202
1208
  name: "prepend",
1203
- fn: b((w) => [
1204
- re(v.$slots, "prepend", X(G(w)), void 0, !0)
1209
+ fn: b((v) => [
1210
+ re(h.$slots, "prepend", X(G(v)), void 0, !0)
1205
1211
  ]),
1206
1212
  key: "0"
1207
1213
  } : void 0
1208
1214
  ]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
1209
1215
  };
1210
1216
  }
1211
- }), Pe = /* @__PURE__ */ se(Eo, [["__scopeId", "data-v-7ba7207d"]]), ve = {
1217
+ }), Pe = /* @__PURE__ */ be(Eo, [["__scopeId", "data-v-7ba7207d"]]), ve = {
1212
1218
  Yes: "Yes",
1213
1219
  No: "No",
1214
1220
  Close: "Close"
1215
1221
  };
1216
- function za(e) {
1222
+ function Rl(e) {
1217
1223
  Object.keys(ve).forEach((t) => {
1218
1224
  ve[t] = e(t);
1219
1225
  });
1220
1226
  }
1221
- var W = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(W || {});
1227
+ var z = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(z || {});
1222
1228
  const Re = 0;
1223
1229
  ((e) => {
1224
- function t(l) {
1225
- return l.toUpperCase() === "BUTTON" ? 0 : l.toUpperCase() === "TEXT" ? 1 : Re;
1230
+ function t(a) {
1231
+ return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 : Re;
1226
1232
  }
1227
1233
  e.fromString = t;
1228
- function n(l) {
1229
- const r = typeof l == "number" ? l : e.fromString(l);
1234
+ function n(a) {
1235
+ const r = typeof a == "number" ? a : e.fromString(a);
1230
1236
  return Object.values(e).includes(r) ? r : Re;
1231
1237
  }
1232
1238
  e.fromAny = n;
1233
- function a(l) {
1234
- const r = typeof l == "number" ? l : e.fromString(l);
1239
+ function l(a) {
1240
+ const r = typeof a == "number" ? a : e.fromString(a);
1235
1241
  return Object.values(e).includes(r);
1236
1242
  }
1237
- e.isDefined = a;
1238
- })(W || (W = {}));
1239
- Object.freeze(W);
1240
- const We = ["xs", "sm", "md", "lg", "xl"];
1243
+ e.isDefined = l;
1244
+ })(z || (z = {}));
1245
+ Object.freeze(z);
1246
+ const ze = ["xs", "sm", "md", "lg", "xl"];
1241
1247
  class Ao {
1242
1248
  constructor(t) {
1243
1249
  $e(this, "_value");
1244
- this._value = this.cleanBreakpoint(t, !0), t && We.forEach((n) => {
1245
- const a = this.cleanBreakpoint(t[n]);
1246
- a && (this._value[n] = a);
1250
+ this._value = this.cleanBreakpoint(t, !0), t && ze.forEach((n) => {
1251
+ const l = this.cleanBreakpoint(t[n]);
1252
+ l && (this._value[n] = l);
1247
1253
  });
1248
1254
  }
1249
1255
  getOptionsForBreakpoint(t) {
1250
- const n = this.cleanBreakpoint(this._value), a = Object.keys(n);
1251
- for (const l of We) {
1252
- const r = this._value[l];
1253
- for (const p of a)
1254
- (r == null ? void 0 : r[p]) != null && (n[p] = r[p]);
1255
- if (l === t) break;
1256
+ const n = this.cleanBreakpoint(this._value), l = Object.keys(n);
1257
+ for (const a of ze) {
1258
+ const r = this._value[a];
1259
+ for (const d of l)
1260
+ (r == null ? void 0 : r[d]) != null && (n[d] = r[d]);
1261
+ if (a === t) break;
1256
1262
  }
1257
1263
  return n;
1258
1264
  }
@@ -1262,30 +1268,30 @@ function No(e) {
1262
1268
  }
1263
1269
  function Fo() {
1264
1270
  const e = yt();
1265
- return _(() => No(e));
1271
+ return k(() => No(e));
1266
1272
  }
1267
1273
  class Lo extends Ao {
1268
1274
  // eslint-disable-next-line class-methods-use-this
1269
1275
  cleanBreakpoint(t, n = !1) {
1270
1276
  if ((!t || !ft(t)) && !n) return null;
1271
- const a = {};
1272
- return n && (a.renderAs = W.BUTTON, a.showLabel = !0, a.showIcon = !0), t && (t.renderAs != null && (a.renderAs = W.fromAny(t.renderAs)), ee(t.label) && (a.label = t.label), ee(t.icon) && (a.icon = t.icon), Fe(t.showLabel) && (a.showLabel = t.showLabel), Fe(t.showIcon) && (a.showIcon = t.showIcon)), Object.keys(a).length ? a : null;
1277
+ 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;
1273
1279
  }
1274
1280
  }
1275
- class ye extends gt {
1281
+ class ke extends gt {
1276
1282
  static create(t) {
1277
1283
  return super.create(t);
1278
1284
  }
1279
1285
  getBreakpointValue(t) {
1280
- return _(() => {
1281
- const a = new Lo(this.value).getOptionsForBreakpoint(t.value);
1286
+ return k(() => {
1287
+ const l = new Lo(this.value).getOptionsForBreakpoint(t.value);
1282
1288
  return {
1283
- name: a.name,
1284
- label: a.showLabel ? a.label : void 0,
1285
- icon: a.showIcon ? a.icon : void 0,
1286
- renderAs: a.renderAs,
1287
- showLabel: ee(a.label) && !fe(a.label) ? a.showLabel : !1,
1288
- showIcon: ee(a.icon) && !fe(a.icon) ? a.showIcon : !1
1289
+ name: l.name,
1290
+ label: l.showLabel ? l.label : void 0,
1291
+ icon: l.showIcon ? l.icon : void 0,
1292
+ 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
1289
1295
  };
1290
1296
  });
1291
1297
  }
@@ -1308,49 +1314,49 @@ class ye extends gt {
1308
1314
  return this.value.renderAs;
1309
1315
  }
1310
1316
  static closeAction(t) {
1311
- var a;
1317
+ var l;
1312
1318
  const n = F(x({}, t != null ? t : {}), {
1313
1319
  // any properties in data should overwrite properties in the constant
1314
1320
  value: {
1315
1321
  name: "close",
1316
1322
  label: ve.Close,
1317
1323
  icon: "close-outline",
1318
- renderAs: W.BUTTON,
1324
+ renderAs: z.BUTTON,
1319
1325
  showLabel: !0,
1320
1326
  showIcon: !0
1321
1327
  }
1322
1328
  });
1323
- return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
1329
+ return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ke.create(n);
1324
1330
  }
1325
1331
  static yesAction(t) {
1326
- var a;
1332
+ var l;
1327
1333
  const n = F(x({}, t != null ? t : {}), {
1328
1334
  // any properties in data should overwrite properties in the constant
1329
1335
  value: {
1330
1336
  name: "yes",
1331
1337
  label: ve.Yes,
1332
1338
  icon: "thumbs-up-outline",
1333
- renderAs: W.BUTTON,
1339
+ renderAs: z.BUTTON,
1334
1340
  showLabel: !0,
1335
1341
  showIcon: !0
1336
1342
  }
1337
1343
  });
1338
- return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
1344
+ return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ke.create(n);
1339
1345
  }
1340
1346
  static noAction(t) {
1341
- var a;
1347
+ var l;
1342
1348
  const n = F(x({}, t != null ? t : {}), {
1343
1349
  // any properties in data should overwrite properties in the constant
1344
1350
  value: {
1345
1351
  name: "no",
1346
1352
  label: ve.No,
1347
1353
  icon: "thumbs-down-outline",
1348
- renderAs: W.BUTTON,
1354
+ renderAs: z.BUTTON,
1349
1355
  showLabel: !0,
1350
1356
  showIcon: !0
1351
1357
  }
1352
1358
  });
1353
- return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
1359
+ return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ke.create(n);
1354
1360
  }
1355
1361
  }
1356
1362
  const Mo = {
@@ -1364,40 +1370,40 @@ const Mo = {
1364
1370
  showAsGroup: { default: "no" }
1365
1371
  },
1366
1372
  setup(e) {
1367
- const t = e, n = Fo(), a = _(() => o(t.actions)), l = _(() => a.value.map((r) => x({
1373
+ const t = e, n = Fo(), l = k(() => o(t.actions)), a = k(() => l.value.map((r) => x({
1368
1374
  action: r
1369
1375
  }, o(r.getBreakpointValue(n)))));
1370
- return (r, p) => {
1371
- const i = $("v-btn");
1372
- return a.value.length > 0 ? (V(), R("div", {
1376
+ return (r, d) => {
1377
+ const i = D("v-icon"), p = D("v-btn");
1378
+ return l.value.length > 0 ? (V(), R("div", {
1373
1379
  key: 0,
1374
1380
  class: Ie(["text-end", {
1375
1381
  "button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
1376
1382
  "with-border": r.showAsGroup === "grouped"
1377
1383
  }])
1378
1384
  }, [
1379
- (V(!0), R(Ke, null, ct(l.value, (c, u) => (V(), D(i, {
1380
- key: u,
1381
- variant: c.renderAs === o(W).BUTTON ? "tonal" : "text",
1385
+ (V(!0), R(Ke, null, ct(a.value, (s, _) => (V(), P(p, {
1386
+ key: _,
1387
+ variant: s.renderAs === o(z).BUTTON ? "tonal" : "text",
1382
1388
  elevation: 0,
1383
1389
  size: r.buttonSize,
1384
- onClick: dt((j) => c.action.execute(j), ["stop"])
1390
+ onClick: dt((u) => s.action.execute(u), ["stop"])
1385
1391
  }, {
1386
1392
  default: b(() => [
1387
- c.icon ? (V(), D(o(Te), {
1393
+ s.icon ? (V(), P(i, {
1388
1394
  key: 0,
1389
- class: "action-icon",
1390
- name: c.icon
1391
- }, null, 8, ["name"])) : L("", !0),
1392
- c.icon && c.label ? (V(), R("span", Mo)) : L("", !0),
1393
- c.label ? (V(), R("span", Uo, Be(c.label), 1)) : L("", !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)
1394
1400
  ]),
1395
1401
  _: 2
1396
1402
  }, 1032, ["variant", "size", "onClick"]))), 128))
1397
1403
  ], 2)) : L("", !0);
1398
1404
  };
1399
1405
  }
1400
- }), Ro = /* @__PURE__ */ se(Oo, [["__scopeId", "data-v-7f811834"]]), Wo = /* @__PURE__ */ M({
1406
+ }), Ro = /* @__PURE__ */ be(Oo, [["__scopeId", "data-v-3502f34e"]]), zo = /* @__PURE__ */ M({
1401
1407
  __name: "df-checkbox",
1402
1408
  props: /* @__PURE__ */ Y({
1403
1409
  allowNull: { type: Boolean },
@@ -1416,43 +1422,43 @@ const Mo = {
1416
1422
  }, F(x({}, Q), { allowNull: !1 })),
1417
1423
  emits: ["update:modelValue", "click:clear"],
1418
1424
  setup(e, { emit: t }) {
1419
- const n = e, a = t, { errors: l, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, a), u = _(() => n.allowNull && i.value == null), j = _({
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({
1420
1426
  get() {
1421
1427
  return i.value;
1422
1428
  },
1423
1429
  set() {
1424
1430
  }
1425
1431
  });
1426
- function s() {
1432
+ function u() {
1427
1433
  const m = vt(i.value);
1428
1434
  m === !0 ? i.value = n.allowNull ? null : !1 : i.value = m === !1;
1429
1435
  }
1430
- return (m, v) => {
1431
- const h = $("v-checkbox");
1432
- return V(), D(h, O({
1433
- modelValue: j.value,
1434
- "onUpdate:modelValue": v[0] || (v[0] = (g) => j.value = g)
1435
- }, o(c), {
1436
+ return (m, h) => {
1437
+ const g = D("v-checkbox");
1438
+ return V(), P(g, O({
1439
+ modelValue: _.value,
1440
+ "onUpdate:modelValue": h[0] || (h[0] = (w) => _.value = w)
1441
+ }, o(p), {
1436
1442
  density: "compact",
1437
- indeterminate: u.value,
1443
+ indeterminate: s.value,
1438
1444
  "false-value": !1,
1439
1445
  "true-value": !0,
1440
- onChange: s,
1441
- onBlur: v[1] || (v[1] = (g) => p.value = !0)
1446
+ onChange: u,
1447
+ onBlur: h[1] || (h[1] = (w) => d.value = !0)
1442
1448
  }), q({
1443
- message: b(({ message: g }) => [
1444
- B(o(ae), {
1445
- message: g,
1446
- errors: o(l)
1449
+ message: b(({ message: w }) => [
1450
+ B(o(le), {
1451
+ message: w,
1452
+ errors: o(a)
1447
1453
  }, null, 8, ["message", "errors"])
1448
1454
  ]),
1449
1455
  _: 2
1450
1456
  }, [
1451
1457
  o(r).icon ? {
1452
1458
  name: "label",
1453
- fn: b((g) => [
1459
+ fn: b((w) => [
1454
1460
  B(o(oe), {
1455
- data: g,
1461
+ data: w,
1456
1462
  label: o(r)
1457
1463
  }, null, 8, ["data", "label"])
1458
1464
  ]),
@@ -1461,7 +1467,7 @@ const Mo = {
1461
1467
  ]), 1040, ["modelValue", "indeterminate"]);
1462
1468
  };
1463
1469
  }
1464
- }), zo = /* @__PURE__ */ M({
1470
+ }), Wo = /* @__PURE__ */ M({
1465
1471
  __name: "df-color",
1466
1472
  props: /* @__PURE__ */ Y({
1467
1473
  allowNull: { type: Boolean },
@@ -1480,24 +1486,24 @@ const Mo = {
1480
1486
  }, F(x({}, Q), { allowNull: !1 })),
1481
1487
  emits: ["update:modelValue", "click:clear"],
1482
1488
  setup(e, { emit: t }) {
1483
- const n = e, a = t, { errors: l, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, a), u = E(!1), j = _(() => [
1484
- (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."
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."
1485
1491
  ]);
1486
- return (s, m) => {
1487
- const v = $("v-color-picker"), h = $("v-menu"), g = $("v-text-field");
1488
- return V(), D(g, O({
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({
1489
1495
  modelValue: o(i),
1490
- "onUpdate:modelValue": m[2] || (m[2] = (y) => te(i) ? i.value = y : null)
1491
- }, o(c), {
1492
- clearable: s.allowNull,
1496
+ "onUpdate:modelValue": m[2] || (m[2] = (j) => te(i) ? i.value = j : null)
1497
+ }, o(p), {
1498
+ clearable: u.allowNull,
1493
1499
  type: "text",
1494
- rules: j.value,
1495
- onBlur: m[3] || (m[3] = (y) => p.value = !0)
1500
+ rules: _.value,
1501
+ onBlur: m[3] || (m[3] = (j) => d.value = !0)
1496
1502
  }), q({
1497
- message: b(({ message: y }) => [
1498
- B(o(ae), {
1499
- message: y,
1500
- errors: o(l)
1503
+ message: b(({ message: j }) => [
1504
+ B(o(le), {
1505
+ message: j,
1506
+ errors: o(a)
1501
1507
  }, null, 8, ["message", "errors"])
1502
1508
  ]),
1503
1509
  "prepend-inner": b(() => [
@@ -1506,16 +1512,16 @@ const Mo = {
1506
1512
  }, null, 4)
1507
1513
  ]),
1508
1514
  default: b(() => [
1509
- B(h, {
1510
- modelValue: u.value,
1511
- "onUpdate:modelValue": m[1] || (m[1] = (y) => u.value = y),
1515
+ B(g, {
1516
+ modelValue: s.value,
1517
+ "onUpdate:modelValue": m[1] || (m[1] = (j) => s.value = j),
1512
1518
  "close-on-content-click": !1,
1513
1519
  activator: "parent"
1514
1520
  }, {
1515
1521
  default: b(() => [
1516
- B(v, {
1522
+ B(h, {
1517
1523
  modelValue: o(i),
1518
- "onUpdate:modelValue": m[0] || (m[0] = (y) => te(i) ? i.value = y : null),
1524
+ "onUpdate:modelValue": m[0] || (m[0] = (j) => te(i) ? i.value = j : null),
1519
1525
  mode: "hexa"
1520
1526
  }, null, 8, ["modelValue"])
1521
1527
  ]),
@@ -1526,9 +1532,9 @@ const Mo = {
1526
1532
  }, [
1527
1533
  o(r).icon ? {
1528
1534
  name: "label",
1529
- fn: b((y) => [
1535
+ fn: b((j) => [
1530
1536
  B(o(oe), {
1531
- data: y,
1537
+ data: j,
1532
1538
  label: o(r)
1533
1539
  }, null, 8, ["data", "label"])
1534
1540
  ]),
@@ -1563,140 +1569,140 @@ const Mo = {
1563
1569
  })),
1564
1570
  emits: ["update:modelValue", "click:clear"],
1565
1571
  setup(e, { emit: t }) {
1566
- const n = e, a = t, l = _(() => {
1572
+ const n = e, l = t, a = k(() => {
1567
1573
  var f;
1568
1574
  return (f = n.locale) != null ? f : o(Po.dateTimeLocale);
1569
- }), r = _(() => {
1570
- var f, d;
1571
- return (d = (f = l.value.options) == null ? void 0 : f.weekStartsOn) != null ? d : 1;
1572
- }), { touched: p, value: i, vuetifyBindings: c } = K(n, a), { inputType: u, displayFormatDate: j, displayFormatTime: s } = Ve(n), m = E(""), v = _({
1575
+ }), 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({
1573
1579
  get() {
1574
1580
  return o(m) === "date";
1575
1581
  },
1576
1582
  set(f) {
1577
1583
  m.value = f ? "date" : "";
1578
1584
  }
1579
- }), h = _({
1585
+ }), g = k({
1580
1586
  get() {
1581
1587
  return o(m) === "time";
1582
1588
  },
1583
1589
  set(f) {
1584
1590
  m.value = f ? "time" : "";
1585
1591
  }
1586
- }), g = (f) => `${de(f, "yyyy-MM-dd")}T${de(f, "HH:mm")}:00`, y = E(null);
1587
- function w(f, d) {
1592
+ }), w = (f) => `${de(f, "yyyy-MM-dd")}T${de(f, "HH:mm")}:00`, j = E(null);
1593
+ function v(f, c) {
1588
1594
  if (f == null)
1589
- y.value = null;
1590
- else if (d === -1)
1591
- if (o(u) === "time")
1592
- y.value = g(/* @__PURE__ */ new Date()), w(`T${f}`, 1);
1595
+ j.value = null;
1596
+ else if (c === -1)
1597
+ if (o(s) === "time")
1598
+ j.value = w(/* @__PURE__ */ new Date()), v(`T${f}`, 1);
1593
1599
  else {
1594
- const S = g(new Date(f));
1595
- w(S, 0), w(S, 1);
1600
+ const $ = w(new Date(f));
1601
+ v($, 0), v($, 1);
1596
1602
  }
1597
1603
  else {
1598
- y.value == null && (y.value = g(/* @__PURE__ */ new Date()));
1599
- const S = y.value.split(/[TZ]/g), U = f.split(/[TZ]/g);
1600
- S[d] = U[d], y.value = g(/* @__PURE__ */ new Date(`${S[0]}T${S[1].split(".")[0]}`)), o(u) === "date" ? i.value = S[0] : o(u) === "time" ? i.value = S[1] : i.value = o(y) + de(/* @__PURE__ */ new Date(), "XXX");
1604
+ 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");
1601
1607
  }
1602
1608
  }
1603
- ie(i, (f) => w(f, -1), { immediate: !0 });
1604
- const N = _({
1609
+ ie(i, (f) => v(f, -1), { immediate: !0 });
1610
+ const A = k({
1605
1611
  get() {
1606
- const f = o(y);
1612
+ const f = o(j);
1607
1613
  if (f == null) return null;
1608
- const d = new Date(f);
1609
- return Number.isNaN(d.getTime()) ? null : d;
1614
+ const c = new Date(f);
1615
+ return Number.isNaN(c.getTime()) ? null : c;
1610
1616
  },
1611
1617
  set(f) {
1612
- w(g(f), 0);
1618
+ v(w(f), 0);
1613
1619
  }
1614
- }), A = _({
1620
+ }), N = k({
1615
1621
  get() {
1616
- const f = o(y);
1622
+ const f = o(j);
1617
1623
  return f == null ? "" : f.split(/[TZ]/g)[1].split(".")[0];
1618
1624
  },
1619
1625
  set(f) {
1620
- w(`T${f}`, 1);
1626
+ v(`T${f}`, 1);
1621
1627
  }
1622
- }), T = _({
1628
+ }), T = k({
1623
1629
  get() {
1624
- const f = o(N);
1625
- return f == null ? "" : de(f, o(j), { locale: l.value });
1630
+ const f = o(A);
1631
+ return f == null ? "" : de(f, o(_), { locale: a.value });
1626
1632
  },
1627
1633
  set(f) {
1628
1634
  try {
1629
- const d = kt(f, o(j), /* @__PURE__ */ new Date(), { locale: l.value });
1630
- w(g(d), 0);
1631
- } catch (d) {
1632
- console.error(d);
1635
+ const c = kt(f, o(_), /* @__PURE__ */ new Date(), { locale: a.value });
1636
+ v(w(c), 0);
1637
+ } catch (c) {
1638
+ console.error(c);
1633
1639
  }
1634
1640
  }
1635
- }), z = _({
1641
+ }), W = k({
1636
1642
  get() {
1637
- const f = o(N);
1638
- return f == null ? "" : de(f, o(s), { locale: l.value });
1643
+ const f = o(A);
1644
+ return f == null ? "" : de(f, o(u), { locale: a.value });
1639
1645
  },
1640
1646
  set(f) {
1641
- const d = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1642
- if (d == null) return;
1643
- let S = Le(d[1]);
1644
- const U = Le(d[2]);
1645
- Me(S) || Me(U) || (d[3] && d[3].toLowerCase() === "pm" && S < 13 && (S += 12), w(`T${S.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}:00`, 1));
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));
1646
1652
  }
1647
1653
  });
1648
- return (f, d) => {
1649
- const S = $("v-date-picker"), U = $("v-confirm-edit"), ue = $("v-menu"), ce = $("v-text-field"), C = $("v-time-picker");
1650
- return V(), D(o(Pe), O(n, {
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, {
1651
1657
  clearable: f.clearable,
1652
- "onClick:clear": d[14] || (d[14] = (I) => i.value = null),
1653
- onBlur: d[15] || (d[15] = (I) => p.value = !0)
1658
+ "onClick:clear": c[14] || (c[14] = (I) => i.value = null),
1659
+ onBlur: c[15] || (c[15] = (I) => d.value = !0)
1654
1660
  }), {
1655
1661
  default: b((I) => [
1656
1662
  ne("div", Ho, [
1657
- ["date", "datetime"].includes(o(u)) ? (V(), D(ce, O({
1663
+ ["date", "datetime"].includes(o(s)) ? (V(), P(ue, O({
1658
1664
  key: 0,
1659
1665
  modelValue: T.value,
1660
- "onUpdate:modelValue": d[4] || (d[4] = (k) => T.value = k),
1666
+ "onUpdate:modelValue": c[4] || (c[4] = (y) => T.value = y),
1661
1667
  style: { "flex-grow": "4" },
1662
1668
  density: "compact",
1663
1669
  variant: "plain",
1664
1670
  clearable: !1,
1665
1671
  "hide-details": !0,
1666
- readonly: o(c).readonly,
1667
- disabled: o(c).disabled,
1668
- name: `${o(c).name}-date`
1672
+ readonly: o(p).readonly,
1673
+ disabled: o(p).disabled,
1674
+ name: `${o(p).name}-date`
1669
1675
  }, f.passthroughAttrs, {
1670
- onClick: d[5] || (d[5] = (k) => m.value = "date"),
1671
- onKeydown: d[6] || (d[6] = Ae((k) => m.value = "date", ["space"])),
1672
- onFocus: (k) => I.focus(),
1673
- onBlur: (k) => I.blur()
1676
+ onClick: c[5] || (c[5] = (y) => m.value = "date"),
1677
+ onKeydown: c[6] || (c[6] = Ae((y) => m.value = "date", ["space"])),
1678
+ onFocus: (y) => I.focus(),
1679
+ onBlur: (y) => I.blur()
1674
1680
  }), {
1675
1681
  default: b(() => [
1676
- B(ue, {
1677
- modelValue: v.value,
1678
- "onUpdate:modelValue": d[3] || (d[3] = (k) => v.value = k),
1682
+ B(se, {
1683
+ modelValue: h.value,
1684
+ "onUpdate:modelValue": c[3] || (c[3] = (y) => h.value = y),
1679
1685
  "close-on-content-click": !1,
1680
1686
  activator: "parent"
1681
1687
  }, {
1682
1688
  default: b(() => [
1683
1689
  B(U, {
1684
- modelValue: N.value,
1685
- "onUpdate:modelValue": d[0] || (d[0] = (k) => N.value = k),
1686
- onCancel: d[1] || (d[1] = (k) => m.value = ""),
1687
- onSave: d[2] || (d[2] = (k) => m.value = "")
1690
+ 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 = "")
1688
1694
  }, {
1689
- default: b(({ model: k, actions: Z }) => [
1690
- B(S, {
1691
- modelValue: k.value,
1692
- "onUpdate:modelValue": (P) => k.value = P,
1695
+ default: b(({ model: y, actions: Z }) => [
1696
+ B($, {
1697
+ modelValue: y.value,
1698
+ "onUpdate:modelValue": (ce) => y.value = ce,
1693
1699
  "hide-header": !0,
1694
1700
  "first-day-of-week": r.value,
1695
1701
  "show-adjacent-months": !0,
1696
1702
  "show-week": !0
1697
1703
  }, {
1698
1704
  actions: b(() => [
1699
- (V(), D(be(Z)))
1705
+ (V(), P(he(Z)))
1700
1706
  ]),
1701
1707
  _: 2
1702
1708
  }, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
@@ -1709,47 +1715,47 @@ const Mo = {
1709
1715
  ]),
1710
1716
  _: 2
1711
1717
  }, 1040, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
1712
- ["time", "datetime"].includes(o(u)) ? (V(), D(ce, O({
1718
+ ["time", "datetime"].includes(o(s)) ? (V(), P(ue, O({
1713
1719
  key: 1,
1714
- modelValue: z.value,
1715
- "onUpdate:modelValue": d[11] || (d[11] = (k) => z.value = k),
1720
+ modelValue: W.value,
1721
+ "onUpdate:modelValue": c[11] || (c[11] = (y) => W.value = y),
1716
1722
  style: { "flex-grow": "3" },
1717
1723
  density: "compact",
1718
1724
  variant: "plain",
1719
1725
  clearable: !1,
1720
1726
  "hide-details": !0,
1721
- readonly: o(c).readonly,
1722
- disabled: o(c).disabled,
1723
- name: `${o(c).name}-time`
1727
+ readonly: o(p).readonly,
1728
+ disabled: o(p).disabled,
1729
+ name: `${o(p).name}-time`
1724
1730
  }, f.passthroughAttrs, {
1725
- onClick: d[12] || (d[12] = (k) => m.value = "time"),
1726
- onKeydown: d[13] || (d[13] = Ae((k) => m.value = "time", ["space"])),
1727
- onFocus: (k) => I.focus(),
1728
- onBlur: (k) => I.blur()
1731
+ onClick: c[12] || (c[12] = (y) => m.value = "time"),
1732
+ onKeydown: c[13] || (c[13] = Ae((y) => m.value = "time", ["space"])),
1733
+ onFocus: (y) => I.focus(),
1734
+ onBlur: (y) => I.blur()
1729
1735
  }), {
1730
1736
  default: b(() => [
1731
- B(ue, {
1732
- modelValue: h.value,
1733
- "onUpdate:modelValue": d[10] || (d[10] = (k) => h.value = k),
1737
+ B(se, {
1738
+ modelValue: g.value,
1739
+ "onUpdate:modelValue": c[10] || (c[10] = (y) => g.value = y),
1734
1740
  "close-on-content-click": !1,
1735
1741
  activator: "parent"
1736
1742
  }, {
1737
1743
  default: b(() => [
1738
1744
  B(U, {
1739
- modelValue: A.value,
1740
- "onUpdate:modelValue": d[7] || (d[7] = (k) => A.value = k),
1741
- onCancel: d[8] || (d[8] = (k) => m.value = ""),
1742
- onSave: d[9] || (d[9] = (k) => m.value = "")
1745
+ 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 = "")
1743
1749
  }, {
1744
- default: b(({ model: k, actions: Z }) => [
1750
+ default: b(({ model: y, actions: Z }) => [
1745
1751
  B(C, {
1746
- modelValue: k.value,
1747
- "onUpdate:modelValue": (P) => k.value = P,
1752
+ modelValue: y.value,
1753
+ "onUpdate:modelValue": (ce) => y.value = ce,
1748
1754
  "hide-header": !0,
1749
1755
  format: "24hr"
1750
1756
  }, {
1751
1757
  actions: b(() => [
1752
- (V(), D(be(Z)))
1758
+ (V(), P(he(Z)))
1753
1759
  ]),
1754
1760
  _: 2
1755
1761
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1790,79 +1796,79 @@ const Mo = {
1790
1796
  }, Q),
1791
1797
  emits: ["update:modelValue", "click:clear"],
1792
1798
  setup(e, { emit: t }) {
1793
- const n = e, a = t, { touched: l, value: r, vuetifyBindings: p } = K(n, a), i = E(null), c = E(null), u = E(0), j = E(Math.round(Math.random() * 1e3)), s = E(), m = _(() => c.value && u.value < 100), v = _(() => !s.value && r.value ? n.modelValue : "");
1794
- function h() {
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 : "");
1800
+ function g() {
1795
1801
  i.value && window.clearInterval(i.value);
1796
1802
  }
1797
- function g() {
1798
- h(), i.value = window.setInterval(() => {
1803
+ function w() {
1804
+ g(), i.value = window.setInterval(() => {
1799
1805
  r.value && n.comms.touch(r.value);
1800
1806
  }, 60 * 1e3);
1801
1807
  }
1802
- He(() => h()), ie(r, (A) => {
1803
- A ? g() : h();
1808
+ He(() => g()), ie(r, (N) => {
1809
+ N ? w() : g();
1804
1810
  });
1805
- function y() {
1806
- return he(this, null, function* () {
1807
- r.value && (yield n.comms.delete(r.value)), r.value = null, u.value = 0, j.value = Math.round(Math.random() * 1e3), c.value = null, s.value = null, h();
1811
+ function j() {
1812
+ 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();
1808
1814
  });
1809
1815
  }
1810
- function w(A) {
1811
- return he(this, null, function* () {
1812
- u.value = -1, c.value = A;
1816
+ function v(N) {
1817
+ return ge(this, null, function* () {
1818
+ s.value = -1, p.value = N;
1813
1819
  try {
1814
1820
  r.value = yield n.comms.upload(
1815
- A,
1816
- (T, z) => {
1817
- u.value = Math.round(T * 100 / z);
1821
+ N,
1822
+ (T, W) => {
1823
+ s.value = Math.round(T * 100 / W);
1818
1824
  }
1819
- ), u.value = 100, g();
1825
+ ), s.value = 100, w();
1820
1826
  } catch (T) {
1821
- throw u.value = 0, c.value = null, j.value = Math.round(Math.random() * 1e3), s.value = null, T;
1827
+ throw s.value = 0, p.value = null, _.value = Math.round(Math.random() * 1e3), u.value = null, T;
1822
1828
  }
1823
1829
  });
1824
1830
  }
1825
- function N(A) {
1826
- A && (Array.isArray(A) ? console.error("Uploading multiple files not supported right now") : w(A));
1831
+ function A(N) {
1832
+ N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") : v(N));
1827
1833
  }
1828
- return (A, T) => {
1829
- const z = $("v-icon"), f = $("v-progress-linear"), d = $("v-file-input");
1830
- return V(), D(o(Pe), O(F(x({}, n), { loading: m.value }), {
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 }), {
1831
1837
  clearable: "",
1832
- "onClick:clear": y,
1833
- onBlur: T[1] || (T[1] = (S) => l.value = !0)
1838
+ "onClick:clear": j,
1839
+ onBlur: T[1] || (T[1] = ($) => a.value = !0)
1834
1840
  }), {
1835
1841
  "prepend-inner": b(() => [
1836
- B(z, { icon: "$file" })
1842
+ B(W, { icon: "$file" })
1837
1843
  ]),
1838
1844
  loader: b(() => [
1839
- c.value && u.value < 100 ? (V(), D(f, {
1845
+ p.value && s.value < 100 ? (V(), P(f, {
1840
1846
  key: 0,
1841
- "model-value": u.value,
1842
- indeterminate: u.value === -1
1847
+ "model-value": s.value,
1848
+ indeterminate: s.value === -1
1843
1849
  }, null, 8, ["model-value", "indeterminate"])) : L("", !0)
1844
1850
  ]),
1845
- default: b((S) => [
1851
+ default: b(($) => [
1846
1852
  ne("div", Xo, [
1847
- B(d, O({
1848
- modelValue: s.value,
1849
- "onUpdate:modelValue": T[0] || (T[0] = (U) => s.value = U),
1850
- label: v.value,
1853
+ B(c, O({
1854
+ modelValue: u.value,
1855
+ "onUpdate:modelValue": T[0] || (T[0] = (U) => u.value = U),
1856
+ label: h.value,
1851
1857
  density: "compact",
1852
1858
  variant: "plain",
1853
- readonly: o(p).readonly,
1854
- disabled: o(p).disabled,
1855
- name: o(p).name,
1859
+ readonly: o(d).readonly,
1860
+ disabled: o(d).disabled,
1861
+ name: o(d).name,
1856
1862
  "hide-details": !0,
1857
1863
  "show-size": !0,
1858
1864
  multiple: !1,
1859
- style: c.value && u.value < 100 ? "visibility: hidden" : "",
1865
+ style: p.value && s.value < 100 ? "visibility: hidden" : "",
1860
1866
  clearable: !1
1861
- }, A.passthroughAttrs, {
1867
+ }, N.passthroughAttrs, {
1862
1868
  "prepend-icon": "",
1863
- "onUpdate:modelValue": N,
1864
- onFocus: (U) => S.focus(),
1865
- onBlur: (U) => S.blur()
1869
+ "onUpdate:modelValue": A,
1870
+ onFocus: (U) => $.focus(),
1871
+ onBlur: (U) => $.blur()
1866
1872
  }), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
1867
1873
  ])
1868
1874
  ]),
@@ -1899,22 +1905,22 @@ const Mo = {
1899
1905
  })),
1900
1906
  emits: ["update:modelValue", "click:clear"],
1901
1907
  setup(e, { emit: t }) {
1902
- const n = e, a = t, { errors: l, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, a), { inputType: u, max: j, min: s, precision: m, step: v } = Ve(n), h = _(() => u.value === "number"), g = _(() => h.value ? { min: o(s), max: o(j), precision: o(m), step: o(v) } : {});
1903
- return (y, w) => {
1904
- const N = $("v-text-field"), A = $("v-number-input");
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) } : {});
1909
+ return (j, v) => {
1910
+ const A = D("v-text-field"), N = D("v-number-input");
1905
1911
  return V(), R("div", qo, [
1906
- h.value ? (V(), D(A, O({
1912
+ g.value ? (V(), P(N, O({
1907
1913
  key: 1,
1908
1914
  modelValue: o(i),
1909
- "onUpdate:modelValue": w[2] || (w[2] = (T) => te(i) ? i.value = T : null)
1910
- }, x(x({}, o(c)), g.value), {
1915
+ "onUpdate:modelValue": v[2] || (v[2] = (T) => te(i) ? i.value = T : null)
1916
+ }, x(x({}, o(p)), w.value), {
1911
1917
  density: "compact",
1912
1918
  "control-variant": "stacked"
1913
1919
  }), q({
1914
1920
  message: b(({ message: T }) => [
1915
- B(o(ae), {
1921
+ B(o(le), {
1916
1922
  message: T,
1917
- errors: o(l)
1923
+ errors: o(a)
1918
1924
  }, null, 8, ["message", "errors"])
1919
1925
  ]),
1920
1926
  _: 2
@@ -1929,18 +1935,18 @@ const Mo = {
1929
1935
  ]),
1930
1936
  key: "0"
1931
1937
  } : void 0
1932
- ]), 1040, ["modelValue"])) : (V(), D(N, O({
1938
+ ]), 1040, ["modelValue"])) : (V(), P(A, O({
1933
1939
  key: 0,
1934
1940
  modelValue: o(i),
1935
- "onUpdate:modelValue": w[0] || (w[0] = (T) => te(i) ? i.value = T : null)
1936
- }, o(c), {
1937
- type: o(u),
1938
- onBlur: w[1] || (w[1] = (T) => p.value = !0)
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)
1939
1945
  }), q({
1940
1946
  message: b(({ message: T }) => [
1941
- B(o(ae), {
1947
+ B(o(le), {
1942
1948
  message: T,
1943
- errors: o(l)
1949
+ errors: o(a)
1944
1950
  }, null, 8, ["message", "errors"])
1945
1951
  ]),
1946
1952
  _: 2
@@ -1959,7 +1965,7 @@ const Mo = {
1959
1965
  ]);
1960
1966
  };
1961
1967
  }
1962
- }), Qo = /* @__PURE__ */ se(Yo, [["__scopeId", "data-v-a3a9a978"]]), Zo = { class: "editor-container" }, Jo = { class: "editor-container__editor" }, ea = { ref: "editorElement" }, ta = /* @__PURE__ */ M({
1968
+ }), Qo = /* @__PURE__ */ be(Yo, [["__scopeId", "data-v-a3a9a978"]]), Zo = { class: "editor-container" }, Jo = { class: "editor-container__editor" }, el = { ref: "editorElement" }, tl = /* @__PURE__ */ M({
1963
1969
  __name: "ck-editor-custom",
1964
1970
  props: {
1965
1971
  modelValue: { default: "" },
@@ -1968,10 +1974,10 @@ const Mo = {
1968
1974
  },
1969
1975
  emits: ["update:modelValue"],
1970
1976
  setup(e, { expose: t, emit: n }) {
1971
- mt((s) => ({
1972
- "3d4d5a06": s.minHeight
1977
+ mt((u) => ({
1978
+ "3d4d5a06": u.minHeight
1973
1979
  }));
1974
- const a = n, l = E(!1), r = cn, u = {
1980
+ const l = n, a = E(!1), r = cn, s = {
1975
1981
  toolbar: {
1976
1982
  items: [
1977
1983
  "undo",
@@ -2024,8 +2030,8 @@ const Mo = {
2024
2030
  Ut,
2025
2031
  Ot,
2026
2032
  Rt,
2027
- Wt,
2028
2033
  zt,
2034
+ Wt,
2029
2035
  Ht,
2030
2036
  Kt,
2031
2037
  Xt,
@@ -2039,8 +2045,8 @@ const Mo = {
2039
2045
  tn,
2040
2046
  nn,
2041
2047
  on,
2042
- an,
2043
2048
  ln,
2049
+ an,
2044
2050
  rn,
2045
2051
  sn,
2046
2052
  un
@@ -2102,32 +2108,32 @@ const Mo = {
2102
2108
  },
2103
2109
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
2104
2110
  };
2105
- ze(() => {
2106
- l.value = !0;
2111
+ We(() => {
2112
+ a.value = !0;
2107
2113
  });
2108
- const j = (s) => {
2114
+ const _ = (u) => {
2109
2115
  };
2110
- return t({ onEditorReady: j }), (s, m) => {
2111
- const v = $("ckeditor");
2116
+ return t({ onEditorReady: _ }), (u, m) => {
2117
+ const h = D("ckeditor");
2112
2118
  return V(), R("div", Zo, [
2113
2119
  ne("div", Jo, [
2114
- ne("div", ea, [
2115
- l.value ? (V(), D(v, {
2120
+ ne("div", el, [
2121
+ a.value ? (V(), P(h, {
2116
2122
  key: 0,
2117
- "model-value": s.modelValue,
2123
+ "model-value": u.modelValue,
2118
2124
  editor: o(r),
2119
- config: u,
2120
- disabled: s.disabled,
2121
- style: Xe(`min-height: ${s.minHeight}`),
2122
- onReady: j,
2123
- "onUpdate:modelValue": m[0] || (m[0] = (h) => a("update:modelValue", h))
2125
+ config: s,
2126
+ disabled: u.disabled,
2127
+ style: Xe(`min-height: ${u.minHeight}`),
2128
+ onReady: _,
2129
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => l("update:modelValue", g))
2124
2130
  }, null, 8, ["model-value", "editor", "disabled", "style"])) : L("", !0)
2125
2131
  ], 512)
2126
2132
  ])
2127
2133
  ]);
2128
2134
  };
2129
2135
  }
2130
- }), na = /* @__PURE__ */ M({
2136
+ }), nl = /* @__PURE__ */ M({
2131
2137
  __name: "df-rtf-editor",
2132
2138
  props: /* @__PURE__ */ Y({
2133
2139
  minHeight: {},
@@ -2146,57 +2152,57 @@ const Mo = {
2146
2152
  }, F(x({}, Q), { minHeight: void 0 })),
2147
2153
  emits: ["update:modelValue", "click:clear"],
2148
2154
  setup(e, { emit: t }) {
2149
- const n = e, a = t, { value: l, vuetifyBindings: r } = K(n, a);
2150
- return (p, i) => (V(), D(o(Pe), X(G(n)), {
2151
- default: b((c) => [
2152
- B(ta, O({
2155
+ 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({
2153
2159
  ref: "$editor",
2154
- modelValue: o(l),
2155
- "onUpdate:modelValue": i[0] || (i[0] = (u) => te(l) ? l.value = u : null),
2156
- class: { "mt-8": !!p.label },
2157
- "min-height": p.minHeight,
2160
+ 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,
2158
2164
  disabled: o(r).disabled
2159
- }, p.passthroughAttrs, {
2160
- onFocusin: (u) => c.focus(),
2161
- onFocusout: (u) => c.blur()
2165
+ }, d.passthroughAttrs, {
2166
+ onFocusin: (s) => p.focus(),
2167
+ onFocusout: (s) => p.blur()
2162
2168
  }), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
2163
2169
  ]),
2164
2170
  _: 1
2165
2171
  }, 16));
2166
2172
  }
2167
2173
  });
2168
- function oa(e) {
2174
+ function ol(e) {
2169
2175
  return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
2170
2176
  }
2171
2177
  function J(e, t) {
2172
2178
  var n;
2173
2179
  return e == null || Ue(e) && e.length === 0 ? null : t ? Ge(e) : Ue(e) ? (n = qe(e)) != null ? n : null : e;
2174
2180
  }
2175
- function ke(e, t) {
2181
+ function Ve(e, t) {
2176
2182
  if (t == null) return [];
2177
2183
  const n = Ge(t);
2178
- return e.filter((a) => n.some((l) => l === a.id));
2184
+ return e.filter((l) => n.some((a) => a === l.id));
2179
2185
  }
2180
- function we(e, t, n, a, l) {
2181
- var p;
2186
+ function ye(e, t, n, l, a) {
2187
+ var d;
2182
2188
  const r = J(e, n);
2183
2189
  if (r == null) {
2184
2190
  t.value = n ? [] : null;
2185
2191
  return;
2186
2192
  }
2187
2193
  if (n)
2188
- a ? t.value = r : t.value = ke(l, r).map((i) => i.id);
2189
- else if (a)
2194
+ l ? t.value = r : t.value = Ve(a, r).map((i) => i.id);
2195
+ else if (l)
2190
2196
  t.value = r;
2191
2197
  else {
2192
- const i = qe(ke(l, r));
2193
- t.value = (p = i == null ? void 0 : i.id) != null ? p : null;
2198
+ const i = qe(Ve(a, r));
2199
+ t.value = (d = i == null ? void 0 : i.id) != null ? d : null;
2194
2200
  }
2195
2201
  }
2196
- const aa = {
2202
+ const ll = {
2197
2203
  key: 0,
2198
2204
  class: "me-1"
2199
- }, la = /* @__PURE__ */ M({
2205
+ }, al = /* @__PURE__ */ M({
2200
2206
  __name: "df-select",
2201
2207
  props: /* @__PURE__ */ Y({
2202
2208
  choices: {},
@@ -2225,167 +2231,168 @@ const aa = {
2225
2231
  })),
2226
2232
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
2227
2233
  setup(e, { emit: t }) {
2228
- const n = e, { choices: a, multiple: l, allowTags: r, allowNull: p, cssClass: i, visibility: c } = Ve(n), u = t, { errors: j, label: s, touched: m, value: v, vuetifyBindings: h } = K(n, u), g = E(null), y = E(!1), w = E([]), N = _(() => o(y) ? o(w) : o(a) || []), A = E(!1), T = _(() => oa(N.value));
2229
- function z(C) {
2230
- u("update:modelValueDisplay", ke(N.value, C));
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));
2231
2237
  }
2232
2238
  let f = !1;
2233
- function d(C) {
2234
- f = !0, v.value = C, Ne(() => {
2239
+ function c(C) {
2240
+ f = !0, h.value = C, Ne(() => {
2235
2241
  f = !1;
2236
2242
  });
2237
2243
  }
2238
- ie(g, (C) => {
2239
- h.value.readonly || Ne(() => {
2240
- const I = J(C, l.value);
2241
- z(I), d(I);
2244
+ ie(w, (C) => {
2245
+ g.value.readonly || Ne(() => {
2246
+ const I = J(C, a.value);
2247
+ W(I), c(I);
2242
2248
  });
2243
- }, { deep: !0 }), ie(v, (C) => {
2249
+ }, { deep: !0 }), ie(h, (C) => {
2244
2250
  if (!f) {
2245
- const I = J(C, l.value);
2246
- we(I, g, l.value, !1, N.value);
2251
+ const I = J(C, a.value);
2252
+ ye(I, w, a.value, !1, A.value);
2247
2253
  }
2248
2254
  }, { deep: !0 });
2249
- function S() {
2250
- if (h.value.readonly || r.value) return;
2251
- const C = J(g.value, l.value);
2252
- we(C, g, l.value, !1, N.value), d(C);
2255
+ function $() {
2256
+ 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);
2253
2259
  }
2254
2260
  function U(C) {
2255
2261
  let I;
2256
- l.value && Array.isArray(g.value) ? I = J(g.value.filter((k) => k !== C), l.value) : I = null, we(I, g, l.value, !1, N.value), d(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);
2257
2263
  }
2258
- function ue(C, I) {
2259
- return he(this, null, function* () {
2260
- if (!(a.value || n.fetchChoices === void 0)) {
2261
- A.value = !0;
2264
+ function se(C, I) {
2265
+ return ge(this, null, function* () {
2266
+ if (!(l.value || n.fetchChoices === void 0)) {
2267
+ N.value = !0;
2262
2268
  try {
2263
- const k = ke(N.value, J(g.value, l.value)), Z = yield n.fetchChoices(C, I);
2264
- w.value = bt([...k, ...Z], "id"), y.value = !0;
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;
2265
2271
  } finally {
2266
- A.value = !1;
2272
+ N.value = !1;
2267
2273
  }
2268
2274
  }
2269
2275
  });
2270
2276
  }
2271
- function ce() {
2272
- let C = v.value;
2273
- !p.value && C == null && T.value.length && (C = T.value[0].value), C = J(C, l.value), we(C, g, l.value, r.value, N.value), z(C), d(C);
2277
+ 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);
2274
2280
  }
2275
- return ce(), n.fetchChoices !== void 0 && ue(void 0, v.value).then(() => {
2276
- ce();
2281
+ return ue(), n.fetchChoices !== void 0 && se(void 0, h.value).then(() => {
2282
+ ue();
2277
2283
  }), (C, I) => {
2278
- const k = $("v-chip"), Z = $("v-list-item");
2279
- return o(c) !== o(H).SUPPRESS ? (V(), D(be(o(r) ? "v-combobox" : "v-autocomplete"), O({
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({
2280
2286
  key: 0,
2281
- modelValue: g.value,
2282
- "onUpdate:modelValue": I[0] || (I[0] = (P) => g.value = P),
2287
+ modelValue: w.value,
2288
+ "onUpdate:modelValue": I[0] || (I[0] = (S) => w.value = S),
2283
2289
  class: [
2284
2290
  o(i),
2285
2291
  {
2286
- "d-none": o(c) === o(H).HIDDEN,
2287
- invisible: o(c) === o(H).INVISIBLE
2292
+ "d-none": o(p) === o(H).HIDDEN,
2293
+ invisible: o(p) === o(H).INVISIBLE
2288
2294
  }
2289
2295
  ],
2290
2296
  items: T.value,
2291
2297
  "return-object": !1
2292
- }, o(h), {
2293
- label: o(h).label,
2298
+ }, o(g), {
2299
+ label: o(g).label,
2294
2300
  chips: "",
2295
2301
  "auto-select-first": !0,
2296
- "closable-chips": o(p) || o(l) && g.value.length > 1,
2297
- clearable: o(p),
2298
- multiple: o(l),
2299
- loading: A.value,
2302
+ "closable-chips": o(d) || o(a) && w.value.length > 1,
2303
+ clearable: o(d),
2304
+ multiple: o(a),
2305
+ loading: N.value,
2300
2306
  "hide-selected": !1,
2301
- "aria-describedby": o(h).helpText ? `${o(h).name}-help` : null,
2307
+ "aria-describedby": o(g).helpText ? `${o(g).name}-help` : null,
2302
2308
  "menu-props": { maxHeight: "400" },
2303
2309
  "hide-details": "auto",
2304
- "onUpdate:search": I[1] || (I[1] = (P) => ue(P, void 0)),
2305
- "onUpdate:modelValue": S,
2306
- "onClick:clear": I[2] || (I[2] = (P) => g.value = null),
2307
- onBlur: I[3] || (I[3] = (P) => m.value = !0)
2310
+ "onUpdate:search": I[1] || (I[1] = (S) => se(S, void 0)),
2311
+ "onUpdate:modelValue": $,
2312
+ "onClick:clear": I[2] || (I[2] = (S) => w.value = null),
2313
+ onBlur: I[3] || (I[3] = (S) => m.value = !0)
2308
2314
  }), q({
2309
- chip: b(({ item: P }) => [
2310
- (V(), D(k, {
2311
- key: P.value,
2315
+ chip: b(({ item: S }) => [
2316
+ (V(), P(Z, {
2317
+ key: S.value,
2312
2318
  label: "",
2313
2319
  size: "small",
2314
2320
  class: "d-flex align-middle",
2315
- variant: o(l) ? "tonal" : "text",
2316
- closable: o(l),
2317
- "onClick:close": (le) => U(P.value)
2321
+ variant: o(a) ? "tonal" : "text",
2322
+ closable: o(a),
2323
+ "onClick:close": (ae) => U(S.value)
2318
2324
  }, {
2319
2325
  prepend: b(() => {
2320
- var le;
2326
+ var ae;
2321
2327
  return [
2322
- (le = P.raw) != null && le.icon ? (V(), D(o(Te), {
2328
+ (ae = S.raw) != null && ae.icon ? (V(), P(y, {
2323
2329
  key: 0,
2324
- class: "me-1 action-icon d-inline-block",
2325
- name: P.raw.icon
2326
- }, null, 8, ["name"])) : L("", !0)
2330
+ size: "24",
2331
+ class: "me-1",
2332
+ icon: S.raw.icon
2333
+ }, null, 8, ["icon"])) : L("", !0)
2327
2334
  ];
2328
2335
  }),
2329
2336
  default: b(() => [
2330
2337
  ne("span", {
2331
- class: Ie({ "text-body-1": !o(l) })
2332
- }, Be(P.title), 3)
2338
+ class: Ie({ "text-body-1": !o(a) })
2339
+ }, Be(S.title), 3)
2333
2340
  ]),
2334
2341
  _: 2
2335
2342
  }, 1032, ["variant", "closable", "onClick:close"]))
2336
2343
  ]),
2337
- item: b(({ props: P, item: le }) => [
2338
- B(Z, X(G(P)), {
2344
+ item: b(({ props: S, item: ae }) => [
2345
+ B(ce, X(G(S)), {
2339
2346
  prepend: b(() => {
2340
2347
  var De;
2341
2348
  return [
2342
- (De = le.raw) != null && De.icon ? (V(), R("span", aa, [
2343
- B(o(Te), {
2344
- class: "action-icon d-inline-block",
2345
- name: le.raw.icon
2346
- }, null, 8, ["name"])
2349
+ (De = ae.raw) != null && De.icon ? (V(), R("span", ll, [
2350
+ B(y, {
2351
+ class: "action-icon",
2352
+ icon: ae.raw.icon
2353
+ }, null, 8, ["icon"])
2347
2354
  ])) : L("", !0)
2348
2355
  ];
2349
2356
  }),
2350
2357
  _: 2
2351
2358
  }, 1040)
2352
2359
  ]),
2353
- message: b(({ message: P }) => [
2354
- B(o(ae), {
2355
- message: P,
2356
- errors: o(j)
2360
+ message: b(({ message: S }) => [
2361
+ B(o(le), {
2362
+ message: S,
2363
+ errors: o(_)
2357
2364
  }, null, 8, ["message", "errors"])
2358
2365
  ]),
2359
2366
  _: 2
2360
2367
  }, [
2361
- o(s).icon ? {
2368
+ o(u).icon ? {
2362
2369
  name: "label",
2363
- fn: b((P) => [
2370
+ fn: b((S) => [
2364
2371
  B(o(oe), {
2365
- data: P,
2366
- label: o(s)
2372
+ data: S,
2373
+ label: o(u)
2367
2374
  }, null, 8, ["data", "label"])
2368
2375
  ]),
2369
2376
  key: "0"
2370
2377
  } : void 0,
2371
2378
  C.$slots["append-inner"] ? {
2372
2379
  name: "append-inner",
2373
- fn: b((P) => [
2374
- re(C.$slots, "append-inner", X(G(P)), void 0, !0)
2380
+ fn: b((S) => [
2381
+ re(C.$slots, "append-inner", X(G(S)))
2375
2382
  ]),
2376
2383
  key: "1"
2377
2384
  } : void 0,
2378
2385
  C.$slots["prepend-inner"] ? {
2379
2386
  name: "prepend-inner",
2380
- fn: b((P) => [
2381
- re(C.$slots, "prepend-inner", X(G(P)), void 0, !0)
2387
+ fn: b((S) => [
2388
+ re(C.$slots, "prepend-inner", X(G(S)))
2382
2389
  ]),
2383
2390
  key: "2"
2384
2391
  } : void 0
2385
2392
  ]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : L("", !0);
2386
2393
  };
2387
2394
  }
2388
- }), ra = /* @__PURE__ */ se(la, [["__scopeId", "data-v-928dac22"]]), ia = { class: "container" }, sa = /* @__PURE__ */ M({
2395
+ }), rl = { class: "container" }, il = /* @__PURE__ */ M({
2389
2396
  __name: "df-text-area",
2390
2397
  props: /* @__PURE__ */ Y({
2391
2398
  rows: {},
@@ -2408,40 +2415,40 @@ const aa = {
2408
2415
  })),
2409
2416
  emits: ["update:modelValue", "click:clear"],
2410
2417
  setup(e, { emit: t }) {
2411
- const n = e, a = t, { errors: l, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, a), { cssClass: u, visibility: j } = Ve(n);
2412
- return (s, m) => {
2413
- const v = $("v-textarea");
2414
- return V(), R("div", ia, [
2415
- o(j) !== o(H).SUPPRESS ? (V(), D(v, O({
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({
2416
2423
  key: 0,
2417
2424
  modelValue: o(i),
2418
- "onUpdate:modelValue": m[0] || (m[0] = (h) => te(i) ? i.value = h : null),
2425
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => te(i) ? i.value = g : null),
2419
2426
  class: [
2420
- o(u),
2427
+ o(s),
2421
2428
  {
2422
- "d-none": o(j) === o(H).HIDDEN,
2423
- invisible: o(j) === o(H).INVISIBLE
2429
+ "d-none": o(_) === o(H).HIDDEN,
2430
+ invisible: o(_) === o(H).INVISIBLE
2424
2431
  }
2425
2432
  ],
2426
- rows: s.rows,
2427
- "auto-grow": (s.maxRows || 0) > 0,
2428
- "max-rows": s.maxRows
2429
- }, o(c), {
2430
- onBlur: m[1] || (m[1] = (h) => p.value = !0)
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)
2431
2438
  }), q({
2432
- message: b(({ message: h }) => [
2433
- B(o(ae), {
2434
- message: h,
2435
- errors: o(l)
2439
+ message: b(({ message: g }) => [
2440
+ B(o(le), {
2441
+ message: g,
2442
+ errors: o(a)
2436
2443
  }, null, 8, ["message", "errors"])
2437
2444
  ]),
2438
2445
  _: 2
2439
2446
  }, [
2440
2447
  o(r).icon ? {
2441
2448
  name: "label",
2442
- fn: b((h) => [
2449
+ fn: b((g) => [
2443
2450
  B(o(oe), {
2444
- data: h,
2451
+ data: g,
2445
2452
  label: o(r)
2446
2453
  }, null, 8, ["data", "label"])
2447
2454
  ]),
@@ -2451,27 +2458,27 @@ const aa = {
2451
2458
  ]);
2452
2459
  };
2453
2460
  }
2454
- }), ua = /* @__PURE__ */ se(sa, [["__scopeId", "data-v-b2f125f8"]]), ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2461
+ }), sl = /* @__PURE__ */ be(il, [["__scopeId", "data-v-b2f125f8"]]), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2455
2462
  __proto__: null,
2456
2463
  DfActions: Ro,
2457
- DfCheckbox: Wo,
2458
- DfColor: zo,
2464
+ DfCheckbox: zo,
2465
+ DfColor: Wo,
2459
2466
  DfDateTime: Ko,
2460
2467
  DfFile: Go,
2461
2468
  DfInput: Qo,
2462
- DfRtfEditor: na,
2463
- DfSelect: ra,
2464
- DfTextArea: ua
2465
- }, Symbol.toStringTag, { value: "Module" })), da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2469
+ DfRtfEditor: nl,
2470
+ DfSelect: al,
2471
+ DfTextArea: sl
2472
+ }, Symbol.toStringTag, { value: "Module" })), cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2466
2473
  __proto__: null,
2467
2474
  VAutocomplete: dn,
2468
2475
  VBtn: mn,
2469
2476
  VCheckbox: pn,
2470
2477
  VChip: fn,
2471
2478
  VCol: kn,
2472
- VColorPicker: bn,
2479
+ VColorPicker: hn,
2473
2480
  VCombobox: vn,
2474
- VConfirmEdit: hn,
2481
+ VConfirmEdit: bn,
2475
2482
  VDatePicker: gn,
2476
2483
  VField: wn,
2477
2484
  VFileInput: yn,
@@ -2488,43 +2495,43 @@ const aa = {
2488
2495
  VTextField: Sn,
2489
2496
  VTextarea: $n,
2490
2497
  VTimePicker: En
2491
- }, Symbol.toStringTag, { value: "Module" })), Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2498
+ }, Symbol.toStringTag, { value: "Module" })), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2492
2499
  __proto__: null
2493
- }, Symbol.toStringTag, { value: "Module" })), Ka = {
2500
+ }, Symbol.toStringTag, { value: "Module" })), Wl = {
2494
2501
  install: (e, t) => {
2495
- var n, a;
2496
- e.use(Kn), e.provide(Je, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(ca).map(([l, r]) => e.component(l, r)), (a = t == null ? void 0 : t.registerVuetifyComponents) != null && a && Object.entries(da).map(([l, r]) => e.component(l, r));
2502
+ var n, l;
2503
+ 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));
2497
2504
  }
2498
2505
  };
2499
2506
  export {
2500
- ye as Action,
2501
- W as ActionDisplayStyle,
2507
+ ke as Action,
2508
+ z as ActionDisplayStyle,
2502
2509
  Po as DateTimeLocaleConfig,
2503
2510
  Ro as DfActions,
2504
- Wo as DfCheckbox,
2505
- zo as DfColor,
2511
+ zo as DfCheckbox,
2512
+ Wo as DfColor,
2506
2513
  Ko as DfDateTime,
2507
2514
  Go as DfFile,
2508
2515
  Qo as DfInput,
2509
- Ha as DfInputComponentProps,
2510
- ca as DfInputComponents,
2516
+ zl as DfInputComponentProps,
2517
+ ul as DfInputComponents,
2511
2518
  oe as DfLabel,
2512
- na as DfRtfEditor,
2513
- ra as DfSelect,
2514
- ua as DfTextArea,
2515
- Ka as DynamicFormsInputs,
2519
+ nl as DfRtfEditor,
2520
+ al as DfSelect,
2521
+ sl as DfTextArea,
2522
+ Wl as DynamicFormsInputs,
2516
2523
  Pe as InputBase,
2517
2524
  $o as Label,
2518
- ae as MessagesWidget,
2525
+ le as MessagesWidget,
2519
2526
  Lo as ResponsiveActionRenderOptions,
2520
2527
  Ao as ResponsiveRenderOptions,
2521
- da as VuetifyComponents,
2528
+ cl as VuetifyComponents,
2522
2529
  Q as defaultBaseProps,
2523
2530
  Re as defaultDisplayStyle,
2524
2531
  No as getBreakpointName,
2525
- We as responsiveBreakpoints,
2532
+ ze as responsiveBreakpoints,
2526
2533
  ve as translatableStrings,
2527
- za as translateStrings,
2534
+ Rl as translateStrings,
2528
2535
  Fo as useBreakpoint,
2529
2536
  K as useInputBase,
2530
2537
  Je as vuetifyInputsSettingsKey