@dynamicforms/vuetify-inputs 0.5.12 → 0.6.0

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,41 +1,41 @@
1
- var et = Object.defineProperty, tt = Object.defineProperties;
2
- var nt = Object.getOwnPropertyDescriptors;
3
- var xe = Object.getOwnPropertySymbols;
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) => {
1
+ var tt = Object.defineProperty, nt = Object.defineProperties;
2
+ var ot = Object.getOwnPropertyDescriptors;
3
+ var Se = Object.getOwnPropertySymbols;
4
+ var at = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, n) => t in e ? tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, S = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- ot.call(t, n) && je(e, n, t[n]);
8
- if (xe)
9
- for (var n of xe(t))
10
- lt.call(t, n) && je(e, n, t[n]);
7
+ at.call(t, n) && Te(e, n, t[n]);
8
+ if (Se)
9
+ for (var n of Se(t))
10
+ lt.call(t, n) && Te(e, n, t[n]);
11
11
  return e;
12
- }, F = (e, t) => tt(e, nt(t));
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 = (c) => {
12
+ }, M = (e, t) => nt(e, ot(t));
13
+ var $e = (e, t, n) => Te(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var ye = (e, t, n) => new Promise((a, l) => {
15
+ var r = (i) => {
16
16
  try {
17
- i(n.next(c));
17
+ p(n.next(i));
18
18
  } catch (d) {
19
- a(d);
19
+ l(d);
20
20
  }
21
- }, m = (c) => {
21
+ }, s = (i) => {
22
22
  try {
23
- i(n.throw(c));
23
+ p(n.throw(i));
24
24
  } catch (d) {
25
- a(d);
25
+ l(d);
26
26
  }
27
- }, i = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(r, m);
28
- i((n = n.apply(e, t)).next());
27
+ }, p = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(r, s);
28
+ p((n = n.apply(e, t)).next());
29
29
  });
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 ze, markRaw as rt, onBeforeUnmount as He, createBlock as D, openBlock as V, resolveDynamicComponent as ve, version as it, isRef as te, resolveComponent as S, createElementBlock as O, createCommentVNode as L, createTextVNode as st, Fragment as Ke, unref as o, toDisplayString as Be, inject as ut, computed as k, h as we, normalizeClass as Ie, createSlots as X, withCtx as b, createVNode as B, renderSlot as re, normalizeProps as Z, guardReactiveProps as J, createElementVNode as ne, renderList as ct, withModifiers as dt, mergeDefaults as G, mergeProps as U, normalizeStyle as Xe, toRefs as _e, withKeys as Ae, useCssVars as mt, nextTick as Ne } from "vue";
32
- import { debounce as pt, isString as ee, isEmpty as pe, isObjectLike as ft, isBoolean as Fe, clone as vt, toNumber as Le, isNaN as Me, isArray as Ue, castArray as Ge, first as qe, unionBy as ht } from "lodash-es";
33
- import { CachedIcon as he } from "vue-cached-icon";
34
- import Oe, { ValidationErrorRenderContent as bt, DisplayMode as H, Action as gt } from "@dynamicforms/vue-forms";
35
- import wt from "vue-markdown-render";
36
- import { useDisplay as yt } from "vuetify";
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";
30
+ import * as Ee from "vue";
31
+ import { defineComponent as O, mergeModels as Ae, useModel as rt, ref as N, watch as ue, onMounted as He, markRaw as it, onBeforeUnmount as Ke, createBlock as x, openBlock as C, resolveDynamicComponent as be, version as st, isRef as ne, resolveComponent as A, createElementBlock as W, createCommentVNode as U, createTextVNode as ut, Fragment as Xe, unref as o, toDisplayString as Pe, inject as _e, computed as y, h as we, normalizeClass as re, createSlots as G, withCtx as g, createVNode as I, renderSlot as se, normalizeProps as J, guardReactiveProps as ee, createElementVNode as oe, renderList as ct, withModifiers as dt, mergeDefaults as q, mergeProps as R, normalizeStyle as Ge, toRefs as Ce, withKeys as Ne, useCssVars as mt, nextTick as Fe } from "vue";
32
+ import { debounce as pt, isString as te, isEmpty as ve, isObjectLike as ft, isBoolean as Le, clone as vt, toNumber as Me, isNaN as Ue, isArray as Oe, castArray as qe, first as Ye, unionBy as ht } from "lodash-es";
33
+ import { CachedIcon as ge } from "vue-cached-icon";
34
+ import Re, { ValidationErrorRenderContent as bt, DisplayMode as K, Action as gt } from "@dynamicforms/vue-forms";
35
+ import yt from "vue-markdown-render";
36
+ import { useDisplay as wt } from "vuetify";
37
+ import { format as me, parse as kt } from "date-fns";
38
+ import { AccessibilityHelp as Vt, Alignment as jt, AutoImage as Ct, AutoLink as Tt, Autosave as _t, BalloonToolbar as Bt, BlockQuote as It, Bold as Pt, CloudServices as Dt, Essentials as xt, GeneralHtmlSupport as St, Heading as $t, 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";
39
39
  import { VAutocomplete as dn } from "vuetify/components/VAutocomplete";
40
40
  import { VBtn as mn } from "vuetify/components/VBtn";
41
41
  import { VCheckbox as pn } from "vuetify/components/VCheckbox";
@@ -44,20 +44,20 @@ import { VCombobox as vn } from "vuetify/components/VCombobox";
44
44
  import { VColorPicker as hn } from "vuetify/components/VColorPicker";
45
45
  import { VConfirmEdit as bn } from "vuetify/components/VConfirmEdit";
46
46
  import { VDatePicker as gn } from "vuetify/components/VDatePicker";
47
- import { VField as wn } from "vuetify/components/VField";
48
- import { VFileInput as yn } from "vuetify/components/VFileInput";
47
+ import { VField as yn } from "vuetify/components/VField";
48
+ import { VFileInput as wn } from "vuetify/components/VFileInput";
49
49
  import { VCol as kn, VRow as Vn } from "vuetify/components/VGrid";
50
- import { VIcon as _n } from "vuetify/components/VIcon";
51
- import { VImg as jn } from "vuetify/components/VImg";
52
- import { VInput as Cn } from "vuetify/components/VInput";
53
- import { VListItem as Tn } from "vuetify/components/VList";
50
+ import { VIcon as jn } from "vuetify/components/VIcon";
51
+ import { VImg as Cn } from "vuetify/components/VImg";
52
+ import { VInput as Tn } from "vuetify/components/VInput";
53
+ import { VListItem as _n } from "vuetify/components/VList";
54
54
  import { VMenu as Bn } from "vuetify/components/VMenu";
55
55
  import { VNumberInput as In } from "vuetify/components/VNumberInput";
56
56
  import { VProgressLinear as Pn } from "vuetify/components/VProgressLinear";
57
57
  import { VSelect as Dn } from "vuetify/components/VSelect";
58
58
  import { VSwitch as xn } from "vuetify/components/VSwitch";
59
- import { VTextarea as $n } from "vuetify/components/VTextarea";
60
- import { VTextField as Sn } from "vuetify/components/VTextField";
59
+ import { VTextarea as Sn } from "vuetify/components/VTextarea";
60
+ import { VTextField as $n } from "vuetify/components/VTextField";
61
61
  import { VTimePicker as En } from "vuetify/components/VTimePicker";
62
62
  /**
63
63
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
@@ -74,10 +74,10 @@ new Array(256).fill("").map((e, t) => ("0" + t.toString(16)).slice(-2));
74
74
  */
75
75
  function An(e, t) {
76
76
  const n = e.extraPlugins || [];
77
- return F(x({}, e), {
77
+ return M(S({}, e), {
78
78
  extraPlugins: [
79
79
  ...n,
80
- ...t.filter((l) => !n.includes(l))
80
+ ...t.filter((a) => !n.includes(a))
81
81
  ]
82
82
  });
83
83
  }
@@ -85,31 +85,31 @@ function An(e, t) {
85
85
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
86
86
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
87
87
  */
88
- function Ye(e) {
88
+ function Qe(e) {
89
89
  return !!e && /^\d+\.\d+\.\d+/.test(e);
90
90
  }
91
91
  /**
92
92
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
93
93
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
94
94
  */
95
- function Qe(e) {
95
+ function Ze(e) {
96
96
  return e ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((t) => e.includes(t)) : !1;
97
97
  }
98
98
  function Nn(e) {
99
- return Ye(e) || Qe(e);
99
+ return Qe(e) || Ze(e);
100
100
  }
101
101
  /**
102
102
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
103
103
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
104
104
  */
105
105
  function Fn(e) {
106
- if (!Ye(e))
106
+ if (!Qe(e))
107
107
  throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
108
- const [t, n, l] = e.split(".");
108
+ const [t, n, a] = e.split(".");
109
109
  return {
110
110
  major: Number.parseInt(t, 10),
111
111
  minor: Number.parseInt(n, 10),
112
- patch: Number.parseInt(l, 10)
112
+ patch: Number.parseInt(a, 10)
113
113
  };
114
114
  }
115
115
  /**
@@ -117,7 +117,7 @@ function Fn(e) {
117
117
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
118
118
  */
119
119
  function Ln(e) {
120
- if (Qe(e))
120
+ if (Ze(e))
121
121
  return 3;
122
122
  const { major: t } = Fn(e);
123
123
  switch (!0) {
@@ -152,7 +152,7 @@ function Un() {
152
152
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
153
153
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
154
154
  */
155
- function Ze(e, t) {
155
+ function Je(e, t) {
156
156
  switch (t || (t = Un() || void 0), t) {
157
157
  case 1:
158
158
  case 2:
@@ -168,8 +168,8 @@ function Ze(e, t) {
168
168
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
169
169
  */
170
170
  function On(e, t) {
171
- return function(l) {
172
- Ze(l.config.get("licenseKey")) || l.on("collectUsageData", (a, { setUsageData: r }) => {
171
+ return function(a) {
172
+ Je(a.config.get("licenseKey")) || a.on("collectUsageData", (l, { setUsageData: r }) => {
173
173
  r(`integration.${e}`, t);
174
174
  });
175
175
  };
@@ -182,7 +182,7 @@ const Rn = On(
182
182
  "vue",
183
183
  {
184
184
  version: "7.3.0",
185
- frameworkVersion: it
185
+ frameworkVersion: st
186
186
  }
187
187
  );
188
188
  /**
@@ -190,7 +190,7 @@ const Rn = On(
190
190
  * For licensing, see LICENSE.md.
191
191
  */
192
192
  function Wn(e) {
193
- return Ze(e.licenseKey) ? e : An(e, [
193
+ return Je(e.licenseKey) ? e : An(e, [
194
194
  /**
195
195
  * This part of the code is not executed in open-source implementations using a GPL key.
196
196
  * It only runs when a specific license key is provided. If you are uncertain whether
@@ -199,10 +199,10 @@ function Wn(e) {
199
199
  Rn
200
200
  ]);
201
201
  }
202
- const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn = /* @__PURE__ */ M({
202
+ const Be = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn = /* @__PURE__ */ O({
203
203
  name: "CKEditor",
204
204
  __name: "ckeditor",
205
- props: /* @__PURE__ */ Ee({
205
+ props: /* @__PURE__ */ Ae({
206
206
  editor: {},
207
207
  config: { default: () => ({}) },
208
208
  tagName: { default: "div" },
@@ -212,51 +212,51 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn =
212
212
  modelValue: { type: String, default: "" },
213
213
  modelModifiers: {}
214
214
  }),
215
- emits: /* @__PURE__ */ Ee(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
215
+ emits: /* @__PURE__ */ Ae(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
216
216
  setup(e, { expose: t, emit: n }) {
217
- const l = at(e, "modelValue"), a = e, r = n, m = E(), i = E(), c = E();
217
+ const a = rt(e, "modelValue"), l = e, r = n, s = N(), p = N(), i = N();
218
218
  t({
219
- instance: i,
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);
219
+ instance: p,
220
+ lastEditorData: i
221
+ }), ue(a, (m) => {
222
+ p.value && m !== i.value && p.value.data.set(m);
223
+ }), ue(() => l.disabled, (m) => {
224
+ m ? p.value.enableReadOnlyMode(Be) : p.value.disableReadOnlyMode(Be);
225
225
  });
226
226
  function d() {
227
- const s = window.CKEDITOR_VERSION;
228
- if (!s)
227
+ const m = window.CKEDITOR_VERSION;
228
+ if (!m)
229
229
  return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
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.");
230
+ const [b] = m.split(".").map(Number);
231
+ b >= 42 || m.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
232
232
  }
233
- function _(s) {
234
- const p = pt((h) => {
235
- if (a.disableTwoWayDataBinding)
233
+ function v(m) {
234
+ const b = pt((c) => {
235
+ if (l.disableTwoWayDataBinding)
236
236
  return;
237
- const g = c.value = s.data.get();
238
- r("update:modelValue", g, h, s), r("input", g, h, s);
237
+ const T = i.value = m.data.get();
238
+ r("update:modelValue", T, c, m), r("input", T, c, m);
239
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);
240
+ m.model.document.on("change:data", b), m.editing.view.document.on("focus", (c) => {
241
+ r("focus", c, m);
242
+ }), m.editing.view.document.on("blur", (c) => {
243
+ r("blur", c, m);
244
244
  });
245
245
  }
246
- return d(), ze(() => {
247
- const s = Wn(
248
- Object.assign({}, a.config)
246
+ return d(), He(() => {
247
+ const m = Wn(
248
+ Object.assign({}, l.config)
249
249
  );
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);
250
+ a.value && (m.initialData = a.value), l.editor.create(s.value, m).then((b) => {
251
+ p.value = it(b), v(b), a.value !== m.initialData && b.data.set(a.value), l.disabled && b.enableReadOnlyMode(Be), r("ready", b);
252
+ }).catch((b) => {
253
+ console.error(b);
254
254
  });
255
- }), He(() => {
256
- i.value && (i.value.destroy(), i.value = void 0), r("destroy");
257
- }), (s, p) => (V(), D(ve(s.tagName), {
255
+ }), Ke(() => {
256
+ p.value && (p.value.destroy(), p.value = void 0), r("destroy");
257
+ }), (m, b) => (C(), x(be(m.tagName), {
258
258
  ref_key: "element",
259
- ref: m
259
+ ref: s
260
260
  }, null, 512));
261
261
  }
262
262
  });
@@ -265,7 +265,7 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", zn = 300, Hn =
265
265
  * For licensing, see LICENSE.md.
266
266
  */
267
267
  /* istanbul ignore if -- @preserve */
268
- if (!Se.version || !Se.version.startsWith("3."))
268
+ if (!Ee.version || !Ee.version.startsWith("3."))
269
269
  throw new Error(
270
270
  "The CKEditor plugin works only with Vue 3+. For more information, please refer to https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs-v3.html"
271
271
  );
@@ -573,18 +573,18 @@ function qn(e) {
573
573
  }
574
574
  }
575
575
  const Yn = (e, t, n) => {
576
- let l = "", a = "present";
577
- n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (a = "future", l = "čez ") : (a = "past", l = "pred "));
576
+ let a = "", l = "present";
577
+ n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (l = "future", a = "čez ") : (l = "past", a = "pred "));
578
578
  const r = Gn[e];
579
579
  if (typeof r == "string")
580
- l += r;
580
+ a += r;
581
581
  else {
582
- const m = qn(t);
583
- Xn(r) ? l += r[m].replace("{{count}}", String(t)) : l += r[a][m].replace("{{count}}", String(t));
582
+ const s = qn(t);
583
+ Xn(r) ? a += r[s].replace("{{count}}", String(t)) : a += r[l][s].replace("{{count}}", String(t));
584
584
  }
585
- return l;
585
+ return a;
586
586
  };
587
- function Te(e) {
587
+ function Ie(e) {
588
588
  return (t = {}) => {
589
589
  const n = t.width ? String(t.width) : e.defaultWidth;
590
590
  return e.formats[n] || e.formats[e.defaultWidth];
@@ -606,15 +606,15 @@ const Qn = {
606
606
  medium: "{{date}} {{time}}",
607
607
  short: "{{date}} {{time}}"
608
608
  }, eo = {
609
- date: Te({
609
+ date: Ie({
610
610
  formats: Qn,
611
611
  defaultWidth: "full"
612
612
  }),
613
- time: Te({
613
+ time: Ie({
614
614
  formats: Zn,
615
615
  defaultWidth: "full"
616
616
  }),
617
- dateTime: Te({
617
+ dateTime: Ie({
618
618
  formats: Jn,
619
619
  defaultWidth: "full"
620
620
  })
@@ -647,34 +647,34 @@ const Qn = {
647
647
  }
648
648
  },
649
649
  other: "P"
650
- }, no = (e, t, n, l) => {
651
- const a = to[e];
652
- return typeof a == "function" ? a(t) : a;
650
+ }, no = (e, t, n, a) => {
651
+ const l = to[e];
652
+ return typeof l == "function" ? l(t) : l;
653
653
  };
654
- function de(e) {
654
+ function pe(e) {
655
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];
656
+ const a = n != null && n.context ? String(n.context) : "standalone";
657
+ let l;
658
+ if (a === "formatting" && e.formattingValues) {
659
+ const s = e.defaultFormattingWidth || e.defaultWidth, p = n != null && n.width ? String(n.width) : s;
660
+ l = e.formattingValues[p] || e.formattingValues[s];
661
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];
662
+ const s = e.defaultWidth, p = n != null && n.width ? String(n.width) : e.defaultWidth;
663
+ l = e.values[p] || e.values[s];
664
664
  }
665
665
  const r = e.argumentCallback ? e.argumentCallback(t) : t;
666
- return a[r];
666
+ return l[r];
667
667
  };
668
668
  }
669
669
  const oo = {
670
670
  narrow: ["pr. n. št.", "po n. št."],
671
671
  abbreviated: ["pr. n. št.", "po n. št."],
672
672
  wide: ["pred našim štetjem", "po našem štetju"]
673
- }, lo = {
673
+ }, ao = {
674
674
  narrow: ["1", "2", "3", "4"],
675
675
  abbreviated: ["1. čet.", "2. čet.", "3. čet.", "4. čet."],
676
676
  wide: ["1. četrtletje", "2. četrtletje", "3. četrtletje", "4. četrtletje"]
677
- }, ao = {
677
+ }, lo = {
678
678
  narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
679
679
  abbreviated: [
680
680
  "jan.",
@@ -781,46 +781,46 @@ const oo = {
781
781
  }
782
782
  }, uo = (e, t) => Number(e) + ".", co = {
783
783
  ordinalNumber: uo,
784
- era: de({
784
+ era: pe({
785
785
  values: oo,
786
786
  defaultWidth: "wide"
787
787
  }),
788
- quarter: de({
789
- values: lo,
788
+ quarter: pe({
789
+ values: ao,
790
790
  defaultWidth: "wide",
791
791
  argumentCallback: (e) => e - 1
792
792
  }),
793
- month: de({
794
- values: ao,
793
+ month: pe({
794
+ values: lo,
795
795
  defaultWidth: "wide"
796
796
  }),
797
- day: de({
797
+ day: pe({
798
798
  values: ro,
799
799
  defaultWidth: "wide"
800
800
  }),
801
- dayPeriod: de({
801
+ dayPeriod: pe({
802
802
  values: io,
803
803
  defaultWidth: "wide",
804
804
  formattingValues: so,
805
805
  defaultFormattingWidth: "wide"
806
806
  })
807
807
  };
808
- function me(e) {
808
+ function fe(e) {
809
809
  return (t, n = {}) => {
810
- const l = n.width, a = l && e.matchPatterns[l] || e.matchPatterns[e.defaultMatchWidth], r = t.match(a);
810
+ const a = n.width, l = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], r = t.match(l);
811
811
  if (!r)
812
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)) : (
813
+ const s = r[0], p = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], i = Array.isArray(p) ? po(p, (m) => m.test(s)) : (
814
814
  // [TODO] -- I challenge you to fix the type
815
- mo(i, (s) => s.test(m))
815
+ mo(p, (m) => m.test(s))
816
816
  );
817
817
  let d;
818
- d = e.valueCallback ? e.valueCallback(c) : c, d = n.valueCallback ? (
818
+ d = e.valueCallback ? e.valueCallback(i) : i, d = n.valueCallback ? (
819
819
  // [TODO] -- I challenge you to fix the type
820
820
  n.valueCallback(d)
821
821
  ) : d;
822
- const _ = t.slice(m.length);
823
- return { value: d, rest: _ };
822
+ const v = t.slice(s.length);
823
+ return { value: d, rest: v };
824
824
  };
825
825
  }
826
826
  function mo(e, t) {
@@ -835,14 +835,14 @@ function po(e, t) {
835
835
  }
836
836
  function fo(e) {
837
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);
838
+ const a = t.match(e.matchPattern);
839
+ if (!a) return null;
840
+ const l = a[0], r = t.match(e.parsePattern);
841
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 };
842
+ let s = e.valueCallback ? e.valueCallback(r[0]) : r[0];
843
+ s = n.valueCallback ? n.valueCallback(s) : s;
844
+ const p = t.slice(l.length);
845
+ return { value: s, rest: p };
846
846
  };
847
847
  }
848
848
  const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
@@ -850,11 +850,11 @@ const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
850
850
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
851
851
  }, go = {
852
852
  any: [/^pr/i, /^(po|na[sš]em)/i]
853
- }, wo = {
853
+ }, yo = {
854
854
  narrow: /^[1234]/i,
855
855
  abbreviated: /^[1234]\.\s?[čc]et\.?/i,
856
856
  wide: /^[1234]\. [čc]etrtletje/i
857
- }, yo = {
857
+ }, wo = {
858
858
  any: [/1/i, /2/i, /3/i, /4/i]
859
859
  }, ko = {
860
860
  narrow: /^[jfmasond]/i,
@@ -903,18 +903,18 @@ const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
903
903
  /^n/i,
904
904
  /^d/i
905
905
  ]
906
- }, _o = {
906
+ }, jo = {
907
907
  narrow: /^[nptsčc]/i,
908
908
  short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
909
909
  abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
910
910
  wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i
911
- }, jo = {
911
+ }, Co = {
912
912
  narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],
913
913
  any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]
914
- }, Co = {
914
+ }, To = {
915
915
  narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
916
916
  any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i
917
- }, To = {
917
+ }, _o = {
918
918
  narrow: {
919
919
  am: /^d/i,
920
920
  pm: /^p/i,
@@ -941,35 +941,35 @@ const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
941
941
  parsePattern: ho,
942
942
  valueCallback: (e) => parseInt(e, 10)
943
943
  }),
944
- era: me({
944
+ era: fe({
945
945
  matchPatterns: bo,
946
946
  defaultMatchWidth: "wide",
947
947
  parsePatterns: go,
948
948
  defaultParseWidth: "any"
949
949
  }),
950
- quarter: me({
951
- matchPatterns: wo,
950
+ quarter: fe({
951
+ matchPatterns: yo,
952
952
  defaultMatchWidth: "wide",
953
- parsePatterns: yo,
953
+ parsePatterns: wo,
954
954
  defaultParseWidth: "any",
955
955
  valueCallback: (e) => e + 1
956
956
  }),
957
- month: me({
957
+ month: fe({
958
958
  matchPatterns: ko,
959
959
  defaultMatchWidth: "wide",
960
960
  parsePatterns: Vo,
961
961
  defaultParseWidth: "wide"
962
962
  }),
963
- day: me({
964
- matchPatterns: _o,
963
+ day: fe({
964
+ matchPatterns: jo,
965
965
  defaultMatchWidth: "wide",
966
- parsePatterns: jo,
966
+ parsePatterns: Co,
967
967
  defaultParseWidth: "any"
968
968
  }),
969
- dayPeriod: me({
970
- matchPatterns: Co,
969
+ dayPeriod: fe({
970
+ matchPatterns: To,
971
971
  defaultMatchWidth: "any",
972
- parsePatterns: To,
972
+ parsePatterns: _o,
973
973
  defaultParseWidth: "any"
974
974
  })
975
975
  }, Io = {
@@ -984,11 +984,11 @@ const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
984
984
  firstWeekContainsDate: 1
985
985
  }
986
986
  }, Po = {
987
- dateTimeLocale: E(Io),
987
+ dateTimeLocale: N(Io),
988
988
  setDateTimeLocale(e) {
989
- te(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
989
+ ne(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
990
990
  }
991
- }, Do = { class: "label" }, xo = /* @__PURE__ */ M({
991
+ }, Do = { class: "df-label" }, ae = /* @__PURE__ */ O({
992
992
  __name: "df-label",
993
993
  props: {
994
994
  data: {},
@@ -996,97 +996,104 @@ const vo = /^(\d+)\./i, ho = /\d+/i, bo = {
996
996
  },
997
997
  setup(e) {
998
998
  return (t, n) => {
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
+ const a = A("v-img");
1000
+ return C(), W("div", Do, [
1001
+ t.label.icon ? (C(), W(Xe, { key: 0 }, [
1002
+ t.label.iconComponent === "v-icon" ? (C(), x(o(ge), {
1003
1003
  key: 0,
1004
1004
  name: t.label.icon,
1005
1005
  size: "1.25em"
1006
- }, null, 8, ["name"])) : t.label.iconComponent === "v-img" ? (V(), D(l, {
1006
+ }, null, 8, ["name"])) : t.label.iconComponent === "v-img" ? (C(), x(a, {
1007
1007
  key: 1,
1008
1008
  class: "icon",
1009
1009
  src: t.label.icon
1010
- }, null, 8, ["src"])) : (V(), D(ve(t.label.iconComponent), {
1010
+ }, null, 8, ["src"])) : (C(), x(be(t.label.iconComponent), {
1011
1011
  key: 2,
1012
1012
  src: t.label.icon
1013
1013
  }, null, 8, ["src"]))
1014
- ], 64)) : L("", !0),
1015
- st(" " + Be(t.data ? t.data.label : t.label.text), 1)
1014
+ ], 64)) : U("", !0),
1015
+ ut(" " + Pe(t.data ? t.data.label : t.label.text), 1)
1016
1016
  ]);
1017
1017
  };
1018
1018
  }
1019
- }), be = (e, t) => {
1020
- const n = e.__vccOpts || e;
1021
- for (const [l, a] of t)
1022
- n[l] = a;
1023
- return n;
1024
- }, oe = /* @__PURE__ */ be(xo, [["__scopeId", "data-v-6d63a202"]]), Je = Symbol("vuetifyInputsSettingsKey");
1025
- class $o {
1026
- constructor(t, n, l = "v-icon") {
1027
- this.text = t, this.icon = n, this.iconComponent = l;
1019
+ }), et = Symbol("vuetifyInputsSettingsKey");
1020
+ class xo {
1021
+ constructor(t, n, a = "v-icon") {
1022
+ this.text = t, this.icon = n, this.iconComponent = a;
1028
1023
  }
1029
1024
  }
1030
- const q = { enabled: void 0, clearable: !0 };
1031
- function K(e, t) {
1032
- const n = ut(Je, {}), l = E(null), a = k({
1025
+ const Y = { enabled: void 0, clearable: !0 };
1026
+ function X(e, t) {
1027
+ const n = _e(et, {}), a = N(null), l = y({
1033
1028
  get() {
1034
- return e.control ? e.control.value : e.modelValue === void 0 ? l.value : e.modelValue;
1029
+ return e.control ? e.control.value : e.modelValue === void 0 ? a.value : e.modelValue;
1035
1030
  },
1036
- set(v) {
1037
- e.control && (e.control.value = v), e.modelValue === void 0 && (l.value = v), t("update:modelValue", v);
1031
+ set(k) {
1032
+ e.control && (e.control.value = k), e.modelValue === void 0 && (a.value = k), t("update:modelValue", k);
1038
1033
  }
1039
1034
  });
1040
- if (e.control && !(e.control instanceof Oe.FieldBase))
1035
+ if (e.control && !(e.control instanceof Re.FieldBase))
1041
1036
  throw new Error("control prop is not a vue-form control instance");
1042
- const r = k({
1037
+ const r = y({
1043
1038
  get() {
1044
1039
  return e.control.touched;
1045
1040
  },
1046
- set(v) {
1047
- e.control.touched = v;
1041
+ set(k) {
1042
+ e.control.touched = k;
1043
+ }
1044
+ }), s = e.control ? r : N(!1), p = y(() => e.control ? e.control.valid : !0), i = y(
1045
+ () => e.control ? e.control.errors : (e.errors || []).map((k) => new bt(k))
1046
+ ), d = y(() => s.value && i.value.length > 0 ? " " : void 0), v = y(() => e.control ? e.control.enabled : e.enabled !== !1), m = y(
1047
+ () => e.control ? e.control.visibility : e.visibility || Re.DisplayMode.FULL
1048
+ ), b = y(
1049
+ () => te(e.label || "") ? new xo(e.label || "") : e.label
1050
+ ), c = y(() => e.placeholder || ""), T = y(() => e.helpText || ""), _ = y(() => e.hint || ""), w = y(() => e.cssClass || ""), h = y(
1051
+ () => {
1052
+ var k, V, L;
1053
+ return (L = (V = (k = e.density) != null ? k : _e("field-density")) != null ? V : n.defaultDensity) != null ? L : "default";
1048
1054
  }
1049
- }), m = e.control ? r : E(!1), i = k(() => e.control ? e.control.valid : !0), c = k(
1050
- () => e.control ? e.control.errors : (e.errors || []).map((v) => new bt(v))
1051
- ), d = k(() => m.value && c.value.length > 0 ? " " : void 0), _ = k(() => e.control ? e.control.enabled : e.enabled !== !1), s = k(
1052
- () => e.control ? e.control.visibility : e.visibility || Oe.DisplayMode.FULL
1053
- ), p = k(
1054
- () => ee(e.label || "") ? new $o(e.label || "") : e.label
1055
- ), h = k(() => e.placeholder || ""), g = k(() => e.helpText || ""), w = k(() => e.hint || ""), j = k(() => e.cssClass || "");
1055
+ ), $ = y(() => h.value === "inline" ? "default" : h.value), F = y(
1056
+ () => {
1057
+ var k, V, L;
1058
+ return (L = (V = (k = e.variant) != null ? k : _e("field-variant")) != null ? V : n.defaultVariant) != null ? L : "underlined";
1059
+ }
1060
+ );
1056
1061
  return {
1057
- value: a,
1058
- valid: i,
1059
- enabled: _,
1060
- errors: c,
1061
- visibility: s,
1062
- label: p,
1063
- touched: m,
1064
- vuetifyBindings: k(() => {
1065
- var v, A;
1066
- return x({
1067
- name: (v = e.control) == null ? void 0 : v.fieldName,
1068
- class: j.value,
1069
- density: "default",
1070
- variant: (A = n.defaultVariant) != null ? A : "underlined",
1071
- label: p.value.text,
1062
+ value: l,
1063
+ valid: p,
1064
+ enabled: v,
1065
+ errors: i,
1066
+ visibility: m,
1067
+ label: b,
1068
+ touched: s,
1069
+ density: h.value,
1070
+ densityClass: y(() => `df-density-${h.value}`),
1071
+ vuetifyBindings: y(() => {
1072
+ var k;
1073
+ return S({
1074
+ name: (k = e.control) == null ? void 0 : k.fieldName,
1075
+ class: w.value,
1076
+ density: $.value,
1077
+ variant: F.value,
1078
+ label: b.value.text,
1072
1079
  messages: d.value,
1073
1080
  errorMessages: d.value,
1074
1081
  // 'error-count': errors?.value.length || 0,
1075
- readonly: !_.value,
1076
- disabled: !_.value,
1077
- placeholder: h.value,
1078
- "persistent-placeholder": !pe(h.value),
1079
- hint: w.value,
1082
+ readonly: !v.value,
1083
+ disabled: !v.value,
1084
+ placeholder: c.value,
1085
+ "persistent-placeholder": !ve(c.value),
1086
+ hint: _.value,
1080
1087
  persistentHint: !0,
1081
1088
  // we want persistent hint always
1082
1089
  hideDetails: "auto",
1083
1090
  // we want to hide the hint element when hint isn't there
1084
- helpText: g.value
1091
+ helpText: T.value
1085
1092
  }, e.passthroughAttrs || {});
1086
1093
  })
1087
1094
  };
1088
1095
  }
1089
- const le = /* @__PURE__ */ M({
1096
+ const le = /* @__PURE__ */ O({
1090
1097
  __name: "messages-widget",
1091
1098
  props: {
1092
1099
  errors: {},
@@ -1096,31 +1103,31 @@ const le = /* @__PURE__ */ M({
1096
1103
  setup(e) {
1097
1104
  const t = e, n = () => {
1098
1105
  if (t.message !== " ") return we("span", { class: t.classes }, t.message);
1099
- const l = [];
1100
- return t.errors.forEach((a) => {
1101
- switch (a.componentName) {
1106
+ const a = [];
1107
+ return t.errors.forEach((l) => {
1108
+ switch (l.componentName) {
1102
1109
  case "template":
1103
- l.push(we("div", { class: t.classes }, a.componentBody));
1110
+ a.push(we("div", { class: t.classes }, l.componentBody));
1104
1111
  break;
1105
1112
  case "vue-markdown":
1106
- l.push(
1107
- we(wt, {
1113
+ a.push(
1114
+ we(yt, {
1108
1115
  class: [t.classes, "df-messages-widget-markdown"],
1109
- source: a.componentBindings.source
1116
+ source: l.componentBindings.source
1110
1117
  })
1111
1118
  );
1112
1119
  break;
1113
1120
  default:
1114
- l.push(
1115
- we(a.componentName, F(x({ class: t.classes }, a.componentBindings), { innerHTML: a.componentBody }))
1121
+ a.push(
1122
+ we(l.componentName, M(S({ class: t.classes }, l.componentBindings), { innerHTML: l.componentBody }))
1116
1123
  );
1117
1124
  break;
1118
1125
  }
1119
- }), l;
1126
+ }), a;
1120
1127
  };
1121
- return (l, a) => (V(), D(n));
1128
+ return (a, l) => (C(), x(n));
1122
1129
  }
1123
- }), So = { class: "d-flex w-100 style-resetting" }, Eo = /* @__PURE__ */ M({
1130
+ }), So = { class: "d-flex w-100 df-style-resetting" }, De = /* @__PURE__ */ O({
1124
1131
  __name: "input-base",
1125
1132
  props: {
1126
1133
  control: {},
@@ -1135,168 +1142,172 @@ const le = /* @__PURE__ */ M({
1135
1142
  cssClass: {},
1136
1143
  clearable: { type: Boolean },
1137
1144
  passthroughAttrs: {},
1145
+ density: {},
1146
+ variant: {},
1138
1147
  loading: { type: Boolean }
1139
1148
  },
1140
1149
  emits: ["update:modelValue", "click:clear", "blur"],
1141
1150
  setup(e, { emit: t }) {
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"));
1151
+ const n = e, a = t, { errors: l, label: r, value: s, touched: p, visibility: i, vuetifyBindings: d } = X(n, a), v = y(() => !!(o(n.clearable) && o(s))), m = N(!1);
1152
+ function b(c) {
1153
+ m.value = c, c || (p.value = !0, a("blur"));
1145
1154
  }
1146
- return (h, g) => {
1147
- const w = S("v-field"), j = S("v-input");
1148
- return o(c) !== o(H).SUPPRESS ? (V(), D(j, {
1155
+ return (c, T) => {
1156
+ const _ = A("v-field"), w = A("v-input");
1157
+ return o(i) !== o(K).SUPPRESS ? (C(), x(w, {
1149
1158
  key: 0,
1150
1159
  name: o(d).name,
1160
+ density: o(d).density,
1151
1161
  hint: o(d).hint,
1152
1162
  "persistent-hint": o(d).persistentHint,
1153
1163
  "hide-details": o(d).hideDetails,
1154
1164
  "error-messages": o(d).errorMessages,
1155
- class: Ie([
1156
- h.cssClass,
1165
+ class: re([
1166
+ c.cssClass,
1157
1167
  {
1158
- "d-none": o(c) === o(H).HIDDEN,
1159
- invisible: o(c) === o(H).INVISIBLE
1168
+ "d-none": o(i) === o(K).HIDDEN,
1169
+ invisible: o(i) === o(K).INVISIBLE
1160
1170
  }
1161
1171
  ])
1162
- }, X({
1163
- message: b(({ message: v }) => [
1164
- B(le, {
1165
- message: v,
1166
- errors: o(a)
1172
+ }, G({
1173
+ message: g(({ message: h }) => [
1174
+ I(le, {
1175
+ message: h,
1176
+ errors: o(l)
1167
1177
  }, null, 8, ["message", "errors"])
1168
1178
  ]),
1169
- default: b(() => [
1170
- B(w, {
1179
+ default: g(() => [
1180
+ I(_, {
1171
1181
  variant: o(d).variant,
1182
+ density: o(d).density,
1172
1183
  label: o(d).label,
1173
1184
  disabled: o(d).disabled,
1174
- clearable: _.value,
1185
+ clearable: v.value,
1175
1186
  "persistent-clear": !0,
1176
- dirty: !!o(m),
1177
- active: s.value,
1178
- loading: h.loading,
1179
- "onClick:clear": g[0] || (g[0] = (v) => l("click:clear")),
1180
- "onUpdate:focused": g[1] || (g[1] = (v) => p(v))
1181
- }, X({
1182
- default: b((v) => [
1183
- ne("div", So, [
1184
- re(h.$slots, "default", Z(J(v)), void 0, !0)
1187
+ dirty: !!o(s),
1188
+ active: m.value,
1189
+ loading: c.loading,
1190
+ "onClick:clear": T[0] || (T[0] = (h) => a("click:clear")),
1191
+ "onUpdate:focused": T[1] || (T[1] = (h) => b(h))
1192
+ }, G({
1193
+ default: g((h) => [
1194
+ oe("div", So, [
1195
+ se(c.$slots, "default", J(ee(h)))
1185
1196
  ])
1186
1197
  ]),
1187
- loader: b((v) => [
1188
- re(h.$slots, "loader", Z(J(v)), void 0, !0)
1198
+ loader: g((h) => [
1199
+ se(c.$slots, "loader", J(ee(h)))
1189
1200
  ]),
1190
1201
  _: 2
1191
1202
  }, [
1192
1203
  o(r).icon ? {
1193
1204
  name: "label",
1194
- fn: b((v) => [
1195
- B(oe, {
1196
- data: v,
1205
+ fn: g((h) => [
1206
+ I(ae, {
1207
+ data: h,
1197
1208
  label: o(r)
1198
1209
  }, null, 8, ["data", "label"])
1199
1210
  ]),
1200
1211
  key: "0"
1201
1212
  } : void 0,
1202
- h.$slots["prepend-inner"] ? {
1213
+ c.$slots["prepend-inner"] ? {
1203
1214
  name: "prepend-inner",
1204
- fn: b((v) => [
1205
- re(h.$slots, "prepend-inner", Z(J(v)), void 0, !0)
1215
+ fn: g((h) => [
1216
+ se(c.$slots, "prepend-inner", J(ee(h)))
1206
1217
  ]),
1207
1218
  key: "1"
1208
1219
  } : void 0
1209
- ]), 1032, ["variant", "label", "disabled", "clearable", "dirty", "active", "loading"])
1220
+ ]), 1032, ["variant", "density", "label", "disabled", "clearable", "dirty", "active", "loading"])
1210
1221
  ]),
1211
1222
  _: 2
1212
1223
  }, [
1213
- h.$slots.prepend ? {
1224
+ c.$slots.prepend ? {
1214
1225
  name: "prepend",
1215
- fn: b((v) => [
1216
- re(h.$slots, "prepend", Z(J(v)), void 0, !0)
1226
+ fn: g((h) => [
1227
+ se(c.$slots, "prepend", J(ee(h)))
1217
1228
  ]),
1218
1229
  key: "0"
1219
1230
  } : void 0
1220
- ]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
1231
+ ]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : U("", !0);
1221
1232
  };
1222
1233
  }
1223
- }), Pe = /* @__PURE__ */ be(Eo, [["__scopeId", "data-v-3689b7f9"]]), fe = {
1234
+ }), he = {
1224
1235
  Yes: "Yes",
1225
1236
  No: "No",
1226
1237
  Close: "Close"
1227
1238
  };
1228
- function Wl(e) {
1229
- Object.keys(fe).forEach((t) => {
1230
- fe[t] = e(t);
1239
+ function Ea(e) {
1240
+ Object.keys(he).forEach((t) => {
1241
+ he[t] = e(t);
1231
1242
  });
1232
1243
  }
1233
- var R = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(R || {});
1234
- const Re = 0;
1244
+ var z = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(z || {});
1245
+ const We = 0;
1235
1246
  ((e) => {
1236
- function t(a) {
1237
- return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 : Re;
1247
+ function t(l) {
1248
+ return l.toUpperCase() === "BUTTON" ? 0 : l.toUpperCase() === "TEXT" ? 1 : We;
1238
1249
  }
1239
1250
  e.fromString = t;
1240
- function n(a) {
1241
- const r = typeof a == "number" ? a : e.fromString(a);
1242
- return Object.values(e).includes(r) ? r : Re;
1251
+ function n(l) {
1252
+ const r = typeof l == "number" ? l : e.fromString(l);
1253
+ return Object.values(e).includes(r) ? r : We;
1243
1254
  }
1244
1255
  e.fromAny = n;
1245
- function l(a) {
1246
- const r = typeof a == "number" ? a : e.fromString(a);
1256
+ function a(l) {
1257
+ const r = typeof l == "number" ? l : e.fromString(l);
1247
1258
  return Object.values(e).includes(r);
1248
1259
  }
1249
- e.isDefined = l;
1250
- })(R || (R = {}));
1251
- Object.freeze(R);
1252
- const We = ["xs", "sm", "md", "lg", "xl"];
1253
- class Ao {
1260
+ e.isDefined = a;
1261
+ })(z || (z = {}));
1262
+ Object.freeze(z);
1263
+ const ze = ["xs", "sm", "md", "lg", "xl"];
1264
+ class $o {
1254
1265
  constructor(t) {
1255
1266
  $e(this, "_value");
1256
- this._value = this.cleanBreakpoint(t, !0), t && We.forEach((n) => {
1257
- const l = this.cleanBreakpoint(t[n]);
1258
- l && (this._value[n] = l);
1267
+ this._value = this.cleanBreakpoint(t, !0), t && ze.forEach((n) => {
1268
+ const a = this.cleanBreakpoint(t[n]);
1269
+ a && (this._value[n] = a);
1259
1270
  });
1260
1271
  }
1261
1272
  getOptionsForBreakpoint(t) {
1262
- const n = this.cleanBreakpoint(this._value), l = Object.keys(n);
1263
- for (const a of We) {
1264
- const r = this._value[a];
1265
- for (const m of l)
1266
- (r == null ? void 0 : r[m]) != null && (n[m] = r[m]);
1267
- if (a === t) break;
1273
+ const n = this.cleanBreakpoint(this._value), a = Object.keys(n);
1274
+ for (const l of ze) {
1275
+ const r = this._value[l];
1276
+ for (const s of a)
1277
+ (r == null ? void 0 : r[s]) != null && (n[s] = r[s]);
1278
+ if (l === t) break;
1268
1279
  }
1269
1280
  return n;
1270
1281
  }
1271
1282
  }
1272
- function No(e) {
1283
+ function Eo(e) {
1273
1284
  return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
1274
1285
  }
1275
- function Fo() {
1276
- const e = yt();
1277
- return k(() => No(e));
1286
+ function Ao() {
1287
+ const e = wt();
1288
+ return y(() => Eo(e));
1278
1289
  }
1279
- class Lo extends Ao {
1290
+ class No extends $o {
1280
1291
  cleanBreakpoint(t, n = !1) {
1281
1292
  if ((!t || !ft(t)) && !n) return null;
1282
- const l = {};
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;
1293
+ const a = {};
1294
+ return n && (a.renderAs = z.BUTTON, a.showLabel = !0, a.showIcon = !0), t && (t.renderAs != null && (a.renderAs = z.fromAny(t.renderAs)), te(t.label) && (a.label = t.label), te(t.icon) && (a.icon = t.icon), Le(t.showLabel) && (a.showLabel = t.showLabel), Le(t.showIcon) && (a.showIcon = t.showIcon)), Object.keys(a).length ? a : null;
1284
1295
  }
1285
1296
  }
1286
- class ke extends gt {
1297
+ class Ve extends gt {
1287
1298
  static create(t) {
1288
1299
  return super.create(t);
1289
1300
  }
1290
1301
  getBreakpointValue(t) {
1291
- return k(() => {
1292
- const l = new Lo(this.value).getOptionsForBreakpoint(t.value);
1302
+ return y(() => {
1303
+ const a = new No(this.value).getOptionsForBreakpoint(t.value);
1293
1304
  return {
1294
- name: l.name,
1295
- label: l.showLabel ? l.label : void 0,
1296
- icon: l.showIcon ? l.icon : void 0,
1297
- renderAs: l.renderAs,
1298
- showLabel: ee(l.label) && !pe(l.label) ? l.showLabel : !1,
1299
- showIcon: ee(l.icon) && !pe(l.icon) ? l.showIcon : !1
1305
+ name: a.name,
1306
+ label: a.showLabel ? a.label : void 0,
1307
+ icon: a.showIcon ? a.icon : void 0,
1308
+ renderAs: a.renderAs,
1309
+ showLabel: te(a.label) && !ve(a.label) ? a.showLabel : !1,
1310
+ showIcon: te(a.icon) && !ve(a.icon) ? a.showIcon : !1
1300
1311
  };
1301
1312
  });
1302
1313
  }
@@ -1307,67 +1318,67 @@ class ke extends gt {
1307
1318
  return this.value.showLabel ? this.value.label : void 0;
1308
1319
  }
1309
1320
  get showLabel() {
1310
- return ee(this.value.label) && !pe(this.value.label) ? this.value.showLabel : !1;
1321
+ return te(this.value.label) && !ve(this.value.label) ? this.value.showLabel : !1;
1311
1322
  }
1312
1323
  get icon() {
1313
1324
  return this.value.showIcon ? this.value.icon : void 0;
1314
1325
  }
1315
1326
  get showIcon() {
1316
- return ee(this.value.icon) && !pe(this.value.icon) ? this.value.showIcon : !1;
1327
+ return te(this.value.icon) && !ve(this.value.icon) ? this.value.showIcon : !1;
1317
1328
  }
1318
1329
  get renderAs() {
1319
1330
  return this.value.renderAs;
1320
1331
  }
1321
1332
  static closeAction(t) {
1322
- var l;
1323
- const n = F(x({}, t != null ? t : {}), {
1333
+ var a;
1334
+ const n = M(S({}, t != null ? t : {}), {
1324
1335
  // any properties in data should overwrite properties in the constant
1325
1336
  value: {
1326
1337
  name: "close",
1327
- label: fe.Close,
1338
+ label: he.Close,
1328
1339
  icon: "close-outline",
1329
- renderAs: R.BUTTON,
1340
+ renderAs: z.BUTTON,
1330
1341
  showLabel: !0,
1331
1342
  showIcon: !0
1332
1343
  }
1333
1344
  });
1334
- return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ke.create(n);
1345
+ return n.value = S(S({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), Ve.create(n);
1335
1346
  }
1336
1347
  static yesAction(t) {
1337
- var l;
1338
- const n = F(x({}, t != null ? t : {}), {
1348
+ var a;
1349
+ const n = M(S({}, t != null ? t : {}), {
1339
1350
  // any properties in data should overwrite properties in the constant
1340
1351
  value: {
1341
1352
  name: "yes",
1342
- label: fe.Yes,
1353
+ label: he.Yes,
1343
1354
  icon: "thumbs-up-outline",
1344
- renderAs: R.BUTTON,
1355
+ renderAs: z.BUTTON,
1345
1356
  showLabel: !0,
1346
1357
  showIcon: !0
1347
1358
  }
1348
1359
  });
1349
- return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ke.create(n);
1360
+ return n.value = S(S({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), Ve.create(n);
1350
1361
  }
1351
1362
  static noAction(t) {
1352
- var l;
1353
- const n = F(x({}, t != null ? t : {}), {
1363
+ var a;
1364
+ const n = M(S({}, t != null ? t : {}), {
1354
1365
  // any properties in data should overwrite properties in the constant
1355
1366
  value: {
1356
1367
  name: "no",
1357
- label: fe.No,
1368
+ label: he.No,
1358
1369
  icon: "thumbs-down-outline",
1359
- renderAs: R.BUTTON,
1370
+ renderAs: z.BUTTON,
1360
1371
  showLabel: !0,
1361
1372
  showIcon: !0
1362
1373
  }
1363
1374
  });
1364
- return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ke.create(n);
1375
+ return n.value = S(S({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), Ve.create(n);
1365
1376
  }
1366
1377
  }
1367
- const Mo = {
1378
+ const Fo = {
1368
1379
  key: 1,
1369
1380
  style: { width: "0.5rem" }
1370
- }, Uo = { key: 2 }, Oo = /* @__PURE__ */ M({
1381
+ }, Lo = { key: 2 }, Mo = /* @__PURE__ */ O({
1371
1382
  __name: "df-actions",
1372
1383
  props: {
1373
1384
  actions: {},
@@ -1375,43 +1386,43 @@ const Mo = {
1375
1386
  showAsGroup: { default: "no" }
1376
1387
  },
1377
1388
  setup(e) {
1378
- const t = e, n = Fo(), l = k(() => o(t.actions)), a = k(
1379
- () => l.value.map((r) => x({
1389
+ const t = e, n = Ao(), a = y(() => o(t.actions)), l = y(
1390
+ () => a.value.map((r) => S({
1380
1391
  action: r
1381
1392
  }, o(r.getBreakpointValue(n))))
1382
1393
  );
1383
- return (r, m) => {
1384
- const i = S("v-btn");
1385
- return l.value.length > 0 ? (V(), O("div", {
1394
+ return (r, s) => {
1395
+ const p = A("v-btn");
1396
+ return a.value.length > 0 ? (C(), W("div", {
1386
1397
  key: 0,
1387
- class: Ie(["text-end", {
1398
+ class: re(["text-end df-actions", {
1388
1399
  "button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
1389
1400
  "with-border": r.showAsGroup === "grouped"
1390
1401
  }])
1391
1402
  }, [
1392
- (V(!0), O(Ke, null, ct(a.value, (c, d) => (V(), D(i, {
1403
+ (C(!0), W(Xe, null, ct(l.value, (i, d) => (C(), x(p, {
1393
1404
  key: d,
1394
- variant: c.renderAs === o(R).BUTTON ? "tonal" : "text",
1405
+ variant: i.renderAs === o(z).BUTTON ? "tonal" : "text",
1395
1406
  elevation: 0,
1396
1407
  size: r.buttonSize,
1397
- onClick: dt((_) => c.action.execute(_), ["stop"])
1408
+ onClick: dt((v) => i.action.execute(v), ["stop"])
1398
1409
  }, {
1399
- default: b(() => [
1400
- c.icon ? (V(), D(o(he), {
1410
+ default: g(() => [
1411
+ i.icon ? (C(), x(o(ge), {
1401
1412
  key: 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)
1413
+ name: i.icon
1414
+ }, null, 8, ["name"])) : U("", !0),
1415
+ i.icon && i.label ? (C(), W("span", Fo)) : U("", !0),
1416
+ i.label ? (C(), W("span", Lo, Pe(i.label), 1)) : U("", !0)
1406
1417
  ]),
1407
1418
  _: 2
1408
1419
  }, 1032, ["variant", "size", "onClick"]))), 128))
1409
- ], 2)) : L("", !0);
1420
+ ], 2)) : U("", !0);
1410
1421
  };
1411
1422
  }
1412
- }), Ro = /* @__PURE__ */ be(Oo, [["__scopeId", "data-v-554a12b4"]]), Wo = /* @__PURE__ */ M({
1423
+ }), Uo = /* @__PURE__ */ O({
1413
1424
  __name: "df-checkbox",
1414
- props: /* @__PURE__ */ G({
1425
+ props: /* @__PURE__ */ q({
1415
1426
  allowNull: { type: Boolean },
1416
1427
  control: {},
1417
1428
  modelValue: {},
@@ -1424,58 +1435,61 @@ const Mo = {
1424
1435
  visibility: {},
1425
1436
  cssClass: {},
1426
1437
  clearable: { type: Boolean },
1427
- passthroughAttrs: {}
1428
- }, F(x({}, q), { allowNull: !1 })),
1438
+ passthroughAttrs: {},
1439
+ density: {},
1440
+ variant: {}
1441
+ }, M(S({}, Y), { allowNull: !1 })),
1429
1442
  emits: ["update:modelValue", "click:clear"],
1430
1443
  setup(e, { emit: t }) {
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({
1444
+ const n = e, a = t, { densityClass: l, errors: r, label: s, touched: p, value: i, vuetifyBindings: d } = X(n, a), v = y(() => n.allowNull && i.value == null), m = y({
1432
1445
  get() {
1433
1446
  return i.value;
1434
1447
  },
1435
1448
  set() {
1436
1449
  }
1437
1450
  });
1438
- function s() {
1439
- const p = vt(i.value);
1440
- p === !0 ? i.value = n.allowNull ? null : !1 : i.value = p === !1;
1451
+ function b() {
1452
+ const c = vt(i.value);
1453
+ c === !0 ? i.value = n.allowNull ? null : !1 : i.value = c === !1;
1441
1454
  }
1442
- return (p, h) => {
1443
- const g = S("v-checkbox");
1444
- return V(), D(g, U({
1445
- modelValue: _.value,
1446
- "onUpdate:modelValue": h[0] || (h[0] = (w) => _.value = w)
1447
- }, o(c), {
1455
+ return (c, T) => {
1456
+ const _ = A("v-checkbox");
1457
+ return C(), x(_, R({
1458
+ modelValue: m.value,
1459
+ "onUpdate:modelValue": T[0] || (T[0] = (w) => m.value = w)
1460
+ }, o(d), {
1448
1461
  density: "compact",
1449
- indeterminate: d.value,
1462
+ class: o(l),
1463
+ indeterminate: v.value,
1450
1464
  "false-value": !1,
1451
1465
  "true-value": !0,
1452
- onChange: s,
1453
- onBlur: h[1] || (h[1] = (w) => m.value = !0)
1454
- }), X({
1455
- message: b(({ message: w }) => [
1456
- B(o(le), {
1466
+ onChange: b,
1467
+ onBlur: T[1] || (T[1] = (w) => p.value = !0)
1468
+ }), G({
1469
+ message: g(({ message: w }) => [
1470
+ I(o(le), {
1457
1471
  message: w,
1458
- errors: o(a)
1472
+ errors: o(r)
1459
1473
  }, null, 8, ["message", "errors"])
1460
1474
  ]),
1461
1475
  _: 2
1462
1476
  }, [
1463
- o(r).icon ? {
1477
+ o(s).icon ? {
1464
1478
  name: "label",
1465
- fn: b((w) => [
1466
- B(o(oe), {
1479
+ fn: g((w) => [
1480
+ I(o(ae), {
1467
1481
  data: w,
1468
- label: o(r)
1482
+ label: o(s)
1469
1483
  }, null, 8, ["data", "label"])
1470
1484
  ]),
1471
1485
  key: "0"
1472
1486
  } : void 0
1473
- ]), 1040, ["modelValue", "indeterminate"]);
1487
+ ]), 1040, ["modelValue", "class", "indeterminate"]);
1474
1488
  };
1475
1489
  }
1476
- }), zo = /* @__PURE__ */ M({
1490
+ }), Oo = /* @__PURE__ */ O({
1477
1491
  __name: "df-color",
1478
- props: /* @__PURE__ */ G({
1492
+ props: /* @__PURE__ */ q({
1479
1493
  allowNull: { type: Boolean },
1480
1494
  control: {},
1481
1495
  modelValue: {},
@@ -1488,46 +1502,49 @@ const Mo = {
1488
1502
  visibility: {},
1489
1503
  cssClass: {},
1490
1504
  clearable: { type: Boolean },
1491
- passthroughAttrs: {}
1492
- }, F(x({}, q), { allowNull: !1 })),
1505
+ passthroughAttrs: {},
1506
+ density: {},
1507
+ variant: {}
1508
+ }, M(S({}, Y), { allowNull: !1 })),
1493
1509
  emits: ["update:modelValue", "click:clear"],
1494
1510
  setup(e, { emit: t }) {
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."
1511
+ const n = e, a = t, { densityClass: l, errors: r, label: s, touched: p, value: i, vuetifyBindings: d } = X(n, a), v = N(!1), m = y(() => [
1512
+ (b) => n.control || !b && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(b) ? !0 : "Not a valid hex string."
1497
1513
  ]);
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({
1514
+ return (b, c) => {
1515
+ const T = A("v-color-picker"), _ = A("v-menu"), w = A("v-text-field");
1516
+ return C(), x(w, R({
1501
1517
  modelValue: o(i),
1502
- "onUpdate:modelValue": p[2] || (p[2] = (j) => te(i) ? i.value = j : null)
1503
- }, o(c), {
1504
- clearable: s.allowNull,
1518
+ "onUpdate:modelValue": c[2] || (c[2] = (h) => ne(i) ? i.value = h : null)
1519
+ }, o(d), {
1520
+ class: o(l),
1521
+ clearable: b.allowNull,
1505
1522
  type: "text",
1506
- rules: _.value,
1507
- onBlur: p[3] || (p[3] = (j) => m.value = !0)
1508
- }), X({
1509
- message: b(({ message: j }) => [
1510
- B(o(le), {
1511
- message: j,
1512
- errors: o(a)
1523
+ rules: m.value,
1524
+ onBlur: c[3] || (c[3] = (h) => p.value = !0)
1525
+ }), G({
1526
+ message: g(({ message: h }) => [
1527
+ I(o(le), {
1528
+ message: h,
1529
+ errors: o(r)
1513
1530
  }, null, 8, ["message", "errors"])
1514
1531
  ]),
1515
- "prepend-inner": b(() => [
1516
- ne("div", {
1517
- style: Xe([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(i) }])
1532
+ "prepend-inner": g(() => [
1533
+ oe("div", {
1534
+ style: Ge([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(i) }])
1518
1535
  }, null, 4)
1519
1536
  ]),
1520
- default: b(() => [
1521
- B(g, {
1522
- modelValue: d.value,
1523
- "onUpdate:modelValue": p[1] || (p[1] = (j) => d.value = j),
1537
+ default: g(() => [
1538
+ I(_, {
1539
+ modelValue: v.value,
1540
+ "onUpdate:modelValue": c[1] || (c[1] = (h) => v.value = h),
1524
1541
  "close-on-content-click": !1,
1525
1542
  activator: "parent"
1526
1543
  }, {
1527
- default: b(() => [
1528
- B(h, {
1544
+ default: g(() => [
1545
+ I(T, {
1529
1546
  modelValue: o(i),
1530
- "onUpdate:modelValue": p[0] || (p[0] = (j) => te(i) ? i.value = j : null),
1547
+ "onUpdate:modelValue": c[0] || (c[0] = (h) => ne(i) ? i.value = h : null),
1531
1548
  mode: "hexa"
1532
1549
  }, null, 8, ["modelValue"])
1533
1550
  ]),
@@ -1536,22 +1553,22 @@ const Mo = {
1536
1553
  ]),
1537
1554
  _: 2
1538
1555
  }, [
1539
- o(r).icon ? {
1556
+ o(s).icon ? {
1540
1557
  name: "label",
1541
- fn: b((j) => [
1542
- B(o(oe), {
1543
- data: j,
1544
- label: o(r)
1558
+ fn: g((h) => [
1559
+ I(o(ae), {
1560
+ data: h,
1561
+ label: o(s)
1545
1562
  }, null, 8, ["data", "label"])
1546
1563
  ]),
1547
1564
  key: "0"
1548
1565
  } : void 0
1549
- ]), 1040, ["modelValue", "clearable", "rules"]);
1566
+ ]), 1040, ["modelValue", "class", "clearable", "rules"]);
1550
1567
  };
1551
1568
  }
1552
- }), Ho = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, Ko = /* @__PURE__ */ M({
1569
+ }), Ro = /* @__PURE__ */ O({
1553
1570
  __name: "df-datetime",
1554
- props: /* @__PURE__ */ G({
1571
+ props: /* @__PURE__ */ q({
1555
1572
  inputType: {},
1556
1573
  displayFormatDate: {},
1557
1574
  displayFormatTime: {},
@@ -1567,148 +1584,153 @@ const Mo = {
1567
1584
  visibility: {},
1568
1585
  cssClass: {},
1569
1586
  clearable: { type: Boolean },
1570
- passthroughAttrs: {}
1571
- }, F(x({}, q), {
1587
+ passthroughAttrs: {},
1588
+ density: {},
1589
+ variant: {}
1590
+ }, M(S({}, Y), {
1572
1591
  inputType: "datetime",
1573
1592
  displayFormatDate: "P",
1574
1593
  displayFormatTime: "p"
1575
1594
  })),
1576
1595
  emits: ["update:modelValue", "click:clear"],
1577
1596
  setup(e, { emit: t }) {
1578
- const n = e, l = t, a = k(() => {
1597
+ const n = e, a = t, l = y(() => {
1579
1598
  var f;
1580
1599
  return (f = n.locale) != null ? f : o(Po.dateTimeLocale);
1581
- }), r = k(() => {
1600
+ }), r = y(() => {
1582
1601
  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({
1602
+ return (u = (f = l.value.options) == null ? void 0 : f.weekStartsOn) != null ? u : 1;
1603
+ }), { densityClass: s, touched: p, value: i, vuetifyBindings: d } = X(n, a), { inputType: v, displayFormatDate: m, displayFormatTime: b } = Ce(n), c = N(""), T = y({
1585
1604
  get() {
1586
- return o(p) === "date";
1605
+ return o(c) === "date";
1587
1606
  },
1588
1607
  set(f) {
1589
- p.value = f ? "date" : "";
1608
+ c.value = f ? "date" : "";
1590
1609
  }
1591
- }), g = k({
1610
+ }), _ = y({
1592
1611
  get() {
1593
- return o(p) === "time";
1612
+ return o(c) === "time";
1594
1613
  },
1595
1614
  set(f) {
1596
- p.value = f ? "time" : "";
1615
+ c.value = f ? "time" : "";
1597
1616
  }
1598
- }), w = (f) => `${ce(f, "yyyy-MM-dd")}T${ce(f, "HH:mm")}:00`, j = E(null);
1599
- function v(f, u) {
1617
+ }), w = (f) => `${me(f, "yyyy-MM-dd")}T${me(f, "HH:mm")}:00`, h = N(null);
1618
+ function $(f, u) {
1600
1619
  if (f == null)
1601
- j.value = null;
1620
+ h.value = null;
1602
1621
  else if (u === -1)
1603
- if (o(d) === "time")
1604
- j.value = w(/* @__PURE__ */ new Date()), v(`T${f}`, 1);
1622
+ if (o(v) === "time")
1623
+ h.value = w(/* @__PURE__ */ new Date()), $(`T${f}`, 1);
1605
1624
  else {
1606
- const $ = w(new Date(f));
1607
- v($, 0), v($, 1);
1625
+ const E = w(new Date(f));
1626
+ $(E, 0), $(E, 1);
1608
1627
  }
1609
1628
  else {
1610
- j.value == null && (j.value = w(/* @__PURE__ */ new Date()));
1611
- const $ = j.value.split(/[TZ]/g), z = f.split(/[TZ]/g);
1612
- $[u] = z[u], j.value = w(/* @__PURE__ */ new Date(`${$[0]}T${$[1].split(".")[0]}`)), o(d) === "date" ? i.value = $[0] : o(d) === "time" ? i.value = $[1] : i.value = o(j) + ce(/* @__PURE__ */ new Date(), "XXX");
1629
+ h.value == null && (h.value = w(/* @__PURE__ */ new Date()));
1630
+ const E = h.value.split(/[TZ]/g), H = f.split(/[TZ]/g);
1631
+ E[u] = H[u], h.value = w(/* @__PURE__ */ new Date(`${E[0]}T${E[1].split(".")[0]}`)), o(v) === "date" ? i.value = E[0] : o(v) === "time" ? i.value = E[1] : i.value = o(h) + me(/* @__PURE__ */ new Date(), "XXX");
1613
1632
  }
1614
1633
  }
1615
- ie(i, (f) => v(f, -1), { immediate: !0 });
1616
- const A = k({
1634
+ ue(i, (f) => $(f, -1), { immediate: !0 });
1635
+ const F = y({
1617
1636
  get() {
1618
- const f = o(j);
1637
+ const f = o(h);
1619
1638
  if (f == null) return null;
1620
1639
  const u = new Date(f);
1621
1640
  return Number.isNaN(u.getTime()) ? null : u;
1622
1641
  },
1623
1642
  set(f) {
1624
- v(w(f), 0);
1643
+ $(w(f), 0);
1625
1644
  }
1626
- }), N = k({
1645
+ }), k = y({
1627
1646
  get() {
1628
- const f = o(j);
1647
+ const f = o(h);
1629
1648
  return f == null ? "" : f.split(/[TZ]/g)[1].split(".")[0];
1630
1649
  },
1631
1650
  set(f) {
1632
- v(`T${f}`, 1);
1651
+ $(`T${f}`, 1);
1633
1652
  }
1634
- }), C = k({
1653
+ }), V = y({
1635
1654
  get() {
1636
- const f = o(A);
1637
- return f == null ? "" : ce(f, o(_), { locale: a.value });
1655
+ const f = o(F);
1656
+ return f == null ? "" : me(f, o(m), { locale: l.value });
1638
1657
  },
1639
1658
  set(f) {
1640
1659
  try {
1641
- const u = kt(f, o(_), /* @__PURE__ */ new Date(), { locale: a.value });
1642
- v(w(u), 0);
1660
+ const u = kt(f, o(m), /* @__PURE__ */ new Date(), { locale: l.value });
1661
+ $(w(u), 0);
1643
1662
  } catch (u) {
1644
1663
  console.error(u);
1645
1664
  }
1646
1665
  }
1647
- }), W = k({
1666
+ }), L = y({
1648
1667
  get() {
1649
- const f = o(A);
1650
- return f == null ? "" : ce(f, o(s), { locale: a.value });
1668
+ const f = o(F);
1669
+ return f == null ? "" : me(f, o(b), { locale: l.value });
1651
1670
  },
1652
1671
  set(f) {
1653
1672
  const u = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1654
1673
  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));
1674
+ let E = Me(u[1]);
1675
+ const H = Me(u[2]);
1676
+ Ue(E) || Ue(H) || (u[3] && u[3].toLowerCase() === "pm" && E < 13 && (E += 12), $(`T${E.toString().padStart(2, "0")}:${H.toString().padStart(2, "0")}:00`, 1));
1658
1677
  }
1659
1678
  });
1660
1679
  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, {
1680
+ const E = A("v-date-picker"), H = A("v-confirm-edit"), ce = A("v-menu"), de = A("v-text-field"), B = A("v-time-picker");
1681
+ return C(), x(o(De), R(n, {
1682
+ class: o(s),
1663
1683
  clearable: f.clearable,
1664
- "onClick:clear": u[14] || (u[14] = (I) => i.value = null),
1665
- onBlur: u[15] || (u[15] = (I) => m.value = !0)
1684
+ "onClick:clear": u[14] || (u[14] = (P) => i.value = null),
1685
+ onBlur: u[15] || (u[15] = (P) => p.value = !0)
1666
1686
  }), {
1667
- default: b((I) => [
1668
- ne("div", Ho, [
1669
- ["date", "datetime"].includes(o(d)) ? (V(), D(ue, U({
1687
+ default: g((P) => [
1688
+ oe("div", {
1689
+ class: re(["d-flex w-100 ml-4 df-input-wrapper", f.density])
1690
+ }, [
1691
+ ["date", "datetime"].includes(o(v)) ? (C(), x(de, R({
1670
1692
  key: 0,
1671
- modelValue: C.value,
1672
- "onUpdate:modelValue": u[4] || (u[4] = (y) => C.value = y),
1693
+ modelValue: V.value,
1694
+ "onUpdate:modelValue": u[4] || (u[4] = (j) => V.value = j),
1673
1695
  style: { "flex-grow": "4" },
1674
1696
  density: "compact",
1675
1697
  variant: "plain",
1676
1698
  clearable: !1,
1677
1699
  "hide-details": !0,
1678
- readonly: o(c).readonly,
1679
- disabled: o(c).disabled,
1680
- name: `${o(c).name}-date`
1700
+ readonly: o(d).readonly,
1701
+ disabled: o(d).disabled,
1702
+ name: `${o(d).name}-date`
1681
1703
  }, f.passthroughAttrs, {
1682
- onClick: u[5] || (u[5] = (y) => p.value = "date"),
1683
- onKeydown: u[6] || (u[6] = Ae((y) => p.value = "date", ["space"])),
1684
- onFocus: (y) => I.focus(),
1685
- onBlur: (y) => I.blur()
1704
+ onClick: u[5] || (u[5] = (j) => c.value = "date"),
1705
+ onKeydown: u[6] || (u[6] = Ne((j) => c.value = "date", ["space"])),
1706
+ onFocus: (j) => P.focus(),
1707
+ onBlur: (j) => P.blur()
1686
1708
  }), {
1687
- default: b(() => [
1688
- B(se, {
1689
- modelValue: h.value,
1690
- "onUpdate:modelValue": u[3] || (u[3] = (y) => h.value = y),
1709
+ default: g(() => [
1710
+ I(ce, {
1711
+ modelValue: T.value,
1712
+ "onUpdate:modelValue": u[3] || (u[3] = (j) => T.value = j),
1691
1713
  "close-on-content-click": !1,
1692
1714
  activator: "parent"
1693
1715
  }, {
1694
- default: b(() => [
1695
- B(z, {
1696
- modelValue: A.value,
1697
- "onUpdate:modelValue": u[0] || (u[0] = (y) => A.value = y),
1698
- onCancel: u[1] || (u[1] = (y) => p.value = ""),
1699
- onSave: u[2] || (u[2] = (y) => p.value = "")
1716
+ default: g(() => [
1717
+ I(H, {
1718
+ modelValue: F.value,
1719
+ "onUpdate:modelValue": u[0] || (u[0] = (j) => F.value = j),
1720
+ onCancel: u[1] || (u[1] = (j) => c.value = ""),
1721
+ onSave: u[2] || (u[2] = (j) => c.value = "")
1700
1722
  }, {
1701
- default: b(({ model: y, actions: Y }) => [
1702
- B($, {
1703
- modelValue: y.value,
1704
- "onUpdate:modelValue": (P) => y.value = P,
1723
+ default: g(({ model: j, actions: Q }) => [
1724
+ I(E, {
1725
+ modelValue: j.value,
1726
+ "onUpdate:modelValue": (D) => j.value = D,
1705
1727
  "hide-header": !0,
1706
1728
  "first-day-of-week": r.value,
1707
1729
  "show-adjacent-months": !0,
1708
1730
  "show-week": !0
1709
1731
  }, {
1710
- actions: b(() => [
1711
- (V(), D(ve(Y)))
1732
+ actions: g(() => [
1733
+ (C(), x(be(Q)))
1712
1734
  ]),
1713
1735
  _: 2
1714
1736
  }, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
@@ -1720,48 +1742,48 @@ const Mo = {
1720
1742
  }, 8, ["modelValue"])
1721
1743
  ]),
1722
1744
  _: 1
1723
- }, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
1724
- ["time", "datetime"].includes(o(d)) ? (V(), D(ue, U({
1745
+ }, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : U("", !0),
1746
+ ["time", "datetime"].includes(o(v)) ? (C(), x(de, R({
1725
1747
  key: 1,
1726
- modelValue: W.value,
1727
- "onUpdate:modelValue": u[11] || (u[11] = (y) => W.value = y),
1748
+ modelValue: L.value,
1749
+ "onUpdate:modelValue": u[11] || (u[11] = (j) => L.value = j),
1728
1750
  style: { "flex-grow": "3" },
1729
1751
  density: "compact",
1730
1752
  variant: "plain",
1731
1753
  clearable: !1,
1732
1754
  "hide-details": !0,
1733
- readonly: o(c).readonly,
1734
- disabled: o(c).disabled,
1735
- name: `${o(c).name}-time`
1755
+ readonly: o(d).readonly,
1756
+ disabled: o(d).disabled,
1757
+ name: `${o(d).name}-time`
1736
1758
  }, f.passthroughAttrs, {
1737
- onClick: u[12] || (u[12] = (y) => p.value = "time"),
1738
- onKeydown: u[13] || (u[13] = Ae((y) => p.value = "time", ["space"])),
1739
- onFocus: (y) => I.focus(),
1740
- onBlur: (y) => I.blur()
1759
+ onClick: u[12] || (u[12] = (j) => c.value = "time"),
1760
+ onKeydown: u[13] || (u[13] = Ne((j) => c.value = "time", ["space"])),
1761
+ onFocus: (j) => P.focus(),
1762
+ onBlur: (j) => P.blur()
1741
1763
  }), {
1742
- default: b(() => [
1743
- B(se, {
1744
- modelValue: g.value,
1745
- "onUpdate:modelValue": u[10] || (u[10] = (y) => g.value = y),
1764
+ default: g(() => [
1765
+ I(ce, {
1766
+ modelValue: _.value,
1767
+ "onUpdate:modelValue": u[10] || (u[10] = (j) => _.value = j),
1746
1768
  "close-on-content-click": !1,
1747
1769
  activator: "parent"
1748
1770
  }, {
1749
- default: b(() => [
1750
- B(z, {
1751
- modelValue: N.value,
1752
- "onUpdate:modelValue": u[7] || (u[7] = (y) => N.value = y),
1753
- onCancel: u[8] || (u[8] = (y) => p.value = ""),
1754
- onSave: u[9] || (u[9] = (y) => p.value = "")
1771
+ default: g(() => [
1772
+ I(H, {
1773
+ modelValue: k.value,
1774
+ "onUpdate:modelValue": u[7] || (u[7] = (j) => k.value = j),
1775
+ onCancel: u[8] || (u[8] = (j) => c.value = ""),
1776
+ onSave: u[9] || (u[9] = (j) => c.value = "")
1755
1777
  }, {
1756
- default: b(({ model: y, actions: Y }) => [
1757
- B(T, {
1758
- modelValue: y.value,
1759
- "onUpdate:modelValue": (P) => y.value = P,
1778
+ default: g(({ model: j, actions: Q }) => [
1779
+ I(B, {
1780
+ modelValue: j.value,
1781
+ "onUpdate:modelValue": (D) => j.value = D,
1760
1782
  "hide-header": !0,
1761
1783
  format: "24hr"
1762
1784
  }, {
1763
- actions: b(() => [
1764
- (V(), D(ve(Y)))
1785
+ actions: g(() => [
1786
+ (C(), x(be(Q)))
1765
1787
  ]),
1766
1788
  _: 2
1767
1789
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1773,19 +1795,16 @@ const Mo = {
1773
1795
  }, 8, ["modelValue"])
1774
1796
  ]),
1775
1797
  _: 1
1776
- }, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0)
1777
- ])
1798
+ }, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : U("", !0)
1799
+ ], 2)
1778
1800
  ]),
1779
1801
  _: 1
1780
- }, 16, ["clearable"]);
1802
+ }, 16, ["class", "clearable"]);
1781
1803
  };
1782
1804
  }
1783
- }), Xo = {
1784
- class: "d-flex w-100 pt-5 pl-2 pb-1",
1785
- style: { position: "relative" }
1786
- }, Go = /* @__PURE__ */ M({
1805
+ }), Wo = /* @__PURE__ */ O({
1787
1806
  __name: "df-file",
1788
- props: /* @__PURE__ */ G({
1807
+ props: /* @__PURE__ */ q({
1789
1808
  comms: {},
1790
1809
  control: {},
1791
1810
  modelValue: {},
@@ -1798,90 +1817,95 @@ const Mo = {
1798
1817
  visibility: {},
1799
1818
  cssClass: {},
1800
1819
  clearable: { type: Boolean },
1801
- passthroughAttrs: {}
1802
- }, q),
1820
+ passthroughAttrs: {},
1821
+ density: {},
1822
+ variant: {}
1823
+ }, Y),
1803
1824
  emits: ["update:modelValue", "click:clear"],
1804
1825
  setup(e, { emit: t }) {
1805
- const n = e, l = t, { touched: a, value: r, vuetifyBindings: m } = K(n, l), i = E(null), c = E(null), d = E(0), _ = E(Math.round(Math.random() * 1e3)), s = E(), p = k(() => c.value && d.value < 100), h = k(() => !s.value && r.value ? n.modelValue : "");
1806
- function g() {
1826
+ const n = e, a = t, { densityClass: l, touched: r, value: s, vuetifyBindings: p } = X(n, a), i = N(null), d = N(null), v = N(0), m = N(Math.round(Math.random() * 1e3)), b = N(), c = y(() => d.value && v.value < 100), T = y(() => !b.value && s.value ? n.modelValue : "");
1827
+ function _() {
1807
1828
  i.value && window.clearInterval(i.value);
1808
1829
  }
1809
1830
  function w() {
1810
- g(), i.value = window.setInterval(() => {
1811
- r.value && n.comms.touch(r.value);
1831
+ _(), i.value = window.setInterval(() => {
1832
+ s.value && n.comms.touch(s.value);
1812
1833
  }, 60 * 1e3);
1813
1834
  }
1814
- He(() => g()), ie(r, (N) => {
1815
- N ? w() : g();
1835
+ Ke(() => _()), ue(s, (k) => {
1836
+ k ? w() : _();
1816
1837
  });
1817
- function j() {
1818
- return ge(this, null, function* () {
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();
1838
+ function h() {
1839
+ return ye(this, null, function* () {
1840
+ s.value && (yield n.comms.delete(s.value)), s.value = null, v.value = 0, m.value = Math.round(Math.random() * 1e3), d.value = null, b.value = null, _();
1820
1841
  });
1821
1842
  }
1822
- function v(N) {
1823
- return ge(this, null, function* () {
1824
- d.value = -1, c.value = N;
1843
+ function $(k) {
1844
+ return ye(this, null, function* () {
1845
+ v.value = -1, d.value = k;
1825
1846
  try {
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;
1847
+ s.value = yield n.comms.upload(k, (V, L) => {
1848
+ v.value = Math.round(V * 100 / L);
1849
+ }), v.value = 100, w();
1850
+ } catch (V) {
1851
+ throw v.value = 0, d.value = null, m.value = Math.round(Math.random() * 1e3), b.value = null, V;
1831
1852
  }
1832
1853
  });
1833
1854
  }
1834
- function A(N) {
1835
- N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") : v(N));
1855
+ function F(k) {
1856
+ k && (Array.isArray(k) ? console.error("Uploading multiple files not supported right now") : $(k));
1836
1857
  }
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 }), {
1858
+ return (k, V) => {
1859
+ const L = A("v-progress-linear"), f = A("v-file-input");
1860
+ return C(), x(o(De), R(M(S({}, n), { loading: c.value }), {
1861
+ class: o(l),
1840
1862
  clearable: "",
1841
- "onClick:clear": j,
1842
- onBlur: C[1] || (C[1] = (u) => a.value = !0)
1863
+ "onClick:clear": h,
1864
+ onBlur: V[1] || (V[1] = (u) => r.value = !0)
1843
1865
  }), {
1844
- "prepend-inner": b(() => [
1845
- B(o(he), { name: "mdi-paperclip" })
1866
+ "prepend-inner": g(() => [
1867
+ I(o(ge), { name: "mdi-paperclip" })
1846
1868
  ]),
1847
- loader: b(() => [
1848
- c.value && d.value < 100 ? (V(), D(W, {
1869
+ loader: g(() => [
1870
+ d.value && v.value < 100 ? (C(), x(L, {
1849
1871
  key: 0,
1850
- "model-value": d.value,
1851
- indeterminate: d.value === -1
1852
- }, null, 8, ["model-value", "indeterminate"])) : L("", !0)
1872
+ "model-value": v.value,
1873
+ indeterminate: v.value === -1
1874
+ }, null, 8, ["model-value", "indeterminate"])) : U("", !0)
1853
1875
  ]),
1854
- default: b((u) => [
1855
- ne("div", Xo, [
1856
- B(f, U({
1857
- modelValue: s.value,
1858
- "onUpdate:modelValue": C[0] || (C[0] = ($) => s.value = $),
1859
- label: h.value,
1876
+ default: g((u) => [
1877
+ oe("div", {
1878
+ class: re(["d-flex w-100 position-relative df-input-wrapper", k.density])
1879
+ }, [
1880
+ I(f, R({
1881
+ modelValue: b.value,
1882
+ "onUpdate:modelValue": V[0] || (V[0] = (E) => b.value = E),
1883
+ label: T.value,
1860
1884
  density: "compact",
1861
1885
  variant: "plain",
1862
- readonly: o(m).readonly,
1863
- disabled: o(m).disabled,
1864
- name: o(m).name,
1886
+ readonly: o(p).readonly,
1887
+ disabled: o(p).disabled,
1888
+ name: o(p).name,
1865
1889
  "hide-details": !0,
1866
1890
  "show-size": !0,
1867
1891
  multiple: !1,
1868
- style: c.value && d.value < 100 ? "visibility: hidden" : "",
1892
+ style: d.value && v.value < 100 ? "visibility: hidden" : "",
1869
1893
  clearable: !1
1870
- }, N.passthroughAttrs, {
1894
+ }, k.passthroughAttrs, {
1871
1895
  "prepend-icon": "",
1872
- "onUpdate:modelValue": A,
1873
- onFocus: ($) => u.focus(),
1874
- onBlur: ($) => u.blur()
1896
+ "onUpdate:modelValue": F,
1897
+ onFocus: (E) => u.focus(),
1898
+ onBlur: (E) => u.blur()
1875
1899
  }), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
1876
- ])
1900
+ ], 2)
1877
1901
  ]),
1878
1902
  _: 1
1879
- }, 16);
1903
+ }, 16, ["class"]);
1880
1904
  };
1881
1905
  }
1882
- }), qo = { class: "container" }, Yo = /* @__PURE__ */ M({
1906
+ }), zo = /* @__PURE__ */ O({
1883
1907
  __name: "df-input",
1884
- props: /* @__PURE__ */ G({
1908
+ props: /* @__PURE__ */ q({
1885
1909
  inputType: {},
1886
1910
  precision: {},
1887
1911
  step: {},
@@ -1898,8 +1922,10 @@ const Mo = {
1898
1922
  visibility: {},
1899
1923
  cssClass: {},
1900
1924
  clearable: { type: Boolean },
1901
- passthroughAttrs: {}
1902
- }, F(x({}, q), {
1925
+ passthroughAttrs: {},
1926
+ density: {},
1927
+ variant: {}
1928
+ }, M(S({}, Y), {
1903
1929
  inputType: "text",
1904
1930
  precision: null,
1905
1931
  step: void 0,
@@ -1908,69 +1934,71 @@ const Mo = {
1908
1934
  })),
1909
1935
  emits: ["update:modelValue", "click:clear"],
1910
1936
  setup(e, { emit: t }) {
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) } : {}
1937
+ const n = e, a = t, { densityClass: l, errors: r, label: s, touched: p, value: i, vuetifyBindings: d } = X(n, a), { inputType: v, max: m, min: b, precision: c, step: T } = Ce(n), _ = y(() => v.value === "number"), w = y(
1938
+ () => _.value ? { min: o(b), max: o(m), precision: o(c), step: o(T) } : {}
1913
1939
  );
1914
- return (j, v) => {
1915
- const A = S("v-text-field"), N = S("v-number-input");
1916
- return V(), O("div", qo, [
1917
- g.value ? (V(), D(N, U({
1940
+ return (h, $) => {
1941
+ const F = A("v-text-field"), k = A("v-number-input");
1942
+ return C(), W("div", {
1943
+ class: re(["df-input-container", o(l)])
1944
+ }, [
1945
+ _.value ? (C(), x(k, R({
1918
1946
  key: 1,
1919
1947
  modelValue: o(i),
1920
- "onUpdate:modelValue": v[2] || (v[2] = (C) => te(i) ? i.value = C : null)
1921
- }, x(x({}, o(c)), w.value), {
1948
+ "onUpdate:modelValue": $[2] || ($[2] = (V) => ne(i) ? i.value = V : null)
1949
+ }, S(S({}, o(d)), w.value), {
1922
1950
  density: "compact",
1923
1951
  "control-variant": "stacked"
1924
- }), X({
1925
- message: b(({ message: C }) => [
1926
- B(o(le), {
1927
- message: C,
1928
- errors: o(a)
1952
+ }), G({
1953
+ message: g(({ message: V }) => [
1954
+ I(o(le), {
1955
+ message: V,
1956
+ errors: o(r)
1929
1957
  }, null, 8, ["message", "errors"])
1930
1958
  ]),
1931
1959
  _: 2
1932
1960
  }, [
1933
- o(r).icon ? {
1961
+ o(s).icon ? {
1934
1962
  name: "label",
1935
- fn: b((C) => [
1936
- B(o(oe), {
1937
- data: C,
1938
- label: o(r)
1963
+ fn: g((V) => [
1964
+ I(o(ae), {
1965
+ data: V,
1966
+ label: o(s)
1939
1967
  }, null, 8, ["data", "label"])
1940
1968
  ]),
1941
1969
  key: "0"
1942
1970
  } : void 0
1943
- ]), 1040, ["modelValue"])) : (V(), D(A, U({
1971
+ ]), 1040, ["modelValue"])) : (C(), x(F, R({
1944
1972
  key: 0,
1945
1973
  modelValue: o(i),
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 }) => [
1952
- B(o(le), {
1953
- message: C,
1954
- errors: o(a)
1974
+ "onUpdate:modelValue": $[0] || ($[0] = (V) => ne(i) ? i.value = V : null)
1975
+ }, o(d), {
1976
+ type: o(v),
1977
+ onBlur: $[1] || ($[1] = (V) => p.value = !0)
1978
+ }), G({
1979
+ message: g(({ message: V }) => [
1980
+ I(o(le), {
1981
+ message: V,
1982
+ errors: o(r)
1955
1983
  }, null, 8, ["message", "errors"])
1956
1984
  ]),
1957
1985
  _: 2
1958
1986
  }, [
1959
- o(r).icon ? {
1987
+ o(s).icon ? {
1960
1988
  name: "label",
1961
- fn: b((C) => [
1962
- B(o(oe), {
1963
- data: C,
1964
- label: o(r)
1989
+ fn: g((V) => [
1990
+ I(o(ae), {
1991
+ data: V,
1992
+ label: o(s)
1965
1993
  }, null, 8, ["data", "label"])
1966
1994
  ]),
1967
1995
  key: "0"
1968
1996
  } : void 0
1969
1997
  ]), 1040, ["modelValue", "type"]))
1970
- ]);
1998
+ ], 2);
1971
1999
  };
1972
2000
  }
1973
- }), Qo = /* @__PURE__ */ be(Yo, [["__scopeId", "data-v-3937c3c8"]]), Zo = { class: "editor-container" }, Jo = { class: "editor-container__editor" }, el = { ref: "editorElement" }, tl = /* @__PURE__ */ M({
2001
+ }), Ho = { class: "editor-container" }, Ko = { class: "editor-container__editor" }, Xo = { ref: "editorElement" }, Go = /* @__PURE__ */ O({
1974
2002
  __name: "ck-editor-custom",
1975
2003
  props: {
1976
2004
  modelValue: { default: "" },
@@ -1979,10 +2007,10 @@ const Mo = {
1979
2007
  },
1980
2008
  emits: ["update:modelValue"],
1981
2009
  setup(e, { expose: t, emit: n }) {
1982
- mt((s) => ({
1983
- "5f8a2e8c": s.minHeight
2010
+ mt((m) => ({
2011
+ "5f8a2e8c": m.minHeight
1984
2012
  }));
1985
- const l = n, a = E(!1), r = cn, d = {
2013
+ const a = n, l = N(!1), r = cn, d = {
1986
2014
  toolbar: {
1987
2015
  items: [
1988
2016
  "undo",
@@ -2015,17 +2043,17 @@ const Mo = {
2015
2043
  },
2016
2044
  plugins: [
2017
2045
  Vt,
2018
- _t,
2019
2046
  jt,
2020
2047
  Ct,
2021
2048
  Tt,
2049
+ _t,
2022
2050
  Bt,
2023
2051
  It,
2024
2052
  Pt,
2025
2053
  Dt,
2026
2054
  xt,
2027
- $t,
2028
2055
  St,
2056
+ $t,
2029
2057
  Et,
2030
2058
  At,
2031
2059
  Nt,
@@ -2050,8 +2078,8 @@ const Mo = {
2050
2078
  tn,
2051
2079
  nn,
2052
2080
  on,
2053
- ln,
2054
2081
  an,
2082
+ ln,
2055
2083
  rn,
2056
2084
  sn,
2057
2085
  un
@@ -2111,34 +2139,34 @@ const Mo = {
2111
2139
  },
2112
2140
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
2113
2141
  };
2114
- ze(() => {
2115
- a.value = !0;
2142
+ He(() => {
2143
+ l.value = !0;
2116
2144
  });
2117
- const _ = (s) => {
2145
+ const v = (m) => {
2118
2146
  };
2119
- return t({ onEditorReady: _ }), (s, p) => {
2120
- const h = S("ckeditor");
2121
- return V(), O("div", Zo, [
2122
- ne("div", Jo, [
2123
- ne("div", el, [
2124
- a.value ? (V(), D(h, {
2147
+ return t({ onEditorReady: v }), (m, b) => {
2148
+ const c = A("ckeditor");
2149
+ return C(), W("div", Ho, [
2150
+ oe("div", Ko, [
2151
+ oe("div", Xo, [
2152
+ l.value ? (C(), x(c, {
2125
2153
  key: 0,
2126
- "model-value": s.modelValue,
2154
+ "model-value": m.modelValue,
2127
2155
  editor: o(r),
2128
2156
  config: d,
2129
- disabled: s.disabled,
2130
- style: Xe(`min-height: ${s.minHeight}`),
2131
- onReady: _,
2132
- "onUpdate:modelValue": p[0] || (p[0] = (g) => l("update:modelValue", g))
2133
- }, null, 8, ["model-value", "editor", "disabled", "style"])) : L("", !0)
2157
+ disabled: m.disabled,
2158
+ style: Ge(`min-height: ${m.minHeight}`),
2159
+ onReady: v,
2160
+ "onUpdate:modelValue": b[0] || (b[0] = (T) => a("update:modelValue", T))
2161
+ }, null, 8, ["model-value", "editor", "disabled", "style"])) : U("", !0)
2134
2162
  ], 512)
2135
2163
  ])
2136
2164
  ]);
2137
2165
  };
2138
2166
  }
2139
- }), nl = /* @__PURE__ */ M({
2167
+ }), qo = /* @__PURE__ */ O({
2140
2168
  __name: "df-rtf-editor",
2141
- props: /* @__PURE__ */ G({
2169
+ props: /* @__PURE__ */ q({
2142
2170
  minHeight: {},
2143
2171
  control: {},
2144
2172
  modelValue: {},
@@ -2151,64 +2179,68 @@ const Mo = {
2151
2179
  visibility: {},
2152
2180
  cssClass: {},
2153
2181
  clearable: { type: Boolean },
2154
- passthroughAttrs: {}
2155
- }, F(x({}, q), { minHeight: void 0 })),
2182
+ passthroughAttrs: {},
2183
+ density: {},
2184
+ variant: {}
2185
+ }, M(S({}, Y), { minHeight: void 0 })),
2156
2186
  emits: ["update:modelValue", "click:clear"],
2157
2187
  setup(e, { emit: t }) {
2158
- const n = e, l = t, { value: a, vuetifyBindings: r } = K(n, l);
2159
- return (m, i) => (V(), D(o(Pe), U(n, { class: "ck-editor-custom" }), {
2160
- default: b((c) => [
2161
- B(tl, U({
2188
+ const n = e, a = t, { densityClass: l, value: r, vuetifyBindings: s } = X(n, a);
2189
+ return (p, i) => (C(), x(o(De), R(n, {
2190
+ class: ["ck-editor-custom", o(l)]
2191
+ }), {
2192
+ default: g((d) => [
2193
+ I(Go, R({
2162
2194
  ref: "$editor",
2163
- modelValue: o(a),
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,
2195
+ modelValue: o(r),
2196
+ "onUpdate:modelValue": i[0] || (i[0] = (v) => ne(r) ? r.value = v : null),
2197
+ class: { "mt-6": !!p.label },
2198
+ "min-height": p.minHeight,
2199
+ disabled: o(s).disabled,
2168
2200
  placeholder: "dfsjghdf"
2169
- }, m.passthroughAttrs, {
2170
- onFocusin: (d) => c.focus(),
2171
- onFocusout: (d) => c.blur()
2201
+ }, p.passthroughAttrs, {
2202
+ onFocusin: (v) => d.focus(),
2203
+ onFocusout: (v) => d.blur()
2172
2204
  }), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
2173
2205
  ]),
2174
2206
  _: 1
2175
- }, 16));
2207
+ }, 16, ["class"]));
2176
2208
  }
2177
2209
  });
2178
- function ol(e) {
2210
+ function Yo(e) {
2179
2211
  return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
2180
2212
  }
2181
- function Q(e, t) {
2213
+ function Z(e, t) {
2182
2214
  var n;
2183
- return e == null || Ue(e) && e.length === 0 ? null : t ? Ge(e) : Ue(e) ? (n = qe(e)) != null ? n : null : e;
2215
+ return e == null || Oe(e) && e.length === 0 ? null : t ? qe(e) : Oe(e) ? (n = Ye(e)) != null ? n : null : e;
2184
2216
  }
2185
- function Ve(e, t) {
2217
+ function je(e, t) {
2186
2218
  if (t == null) return [];
2187
- const n = Ge(t);
2188
- return e.filter((l) => n.some((a) => a === l.id));
2219
+ const n = qe(t);
2220
+ return e.filter((a) => n.some((l) => l === a.id));
2189
2221
  }
2190
- function ye(e, t, n, l, a) {
2191
- var m;
2192
- const r = Q(e, n);
2222
+ function ke(e, t, n, a, l) {
2223
+ var s;
2224
+ const r = Z(e, n);
2193
2225
  if (r == null) {
2194
2226
  t.value = n ? [] : null;
2195
2227
  return;
2196
2228
  }
2197
2229
  if (n)
2198
- l ? t.value = r : t.value = Ve(a, r).map((i) => i.id);
2199
- else if (l)
2230
+ a ? t.value = r : t.value = je(l, r).map((p) => p.id);
2231
+ else if (a)
2200
2232
  t.value = r;
2201
2233
  else {
2202
- const i = qe(Ve(a, r));
2203
- t.value = (m = i == null ? void 0 : i.id) != null ? m : null;
2234
+ const p = Ye(je(l, r));
2235
+ t.value = (s = p == null ? void 0 : p.id) != null ? s : null;
2204
2236
  }
2205
2237
  }
2206
- const ll = {
2238
+ const Qo = {
2207
2239
  key: 0,
2208
2240
  class: "me-1"
2209
- }, al = /* @__PURE__ */ M({
2241
+ }, Zo = /* @__PURE__ */ O({
2210
2242
  __name: "df-select",
2211
- props: /* @__PURE__ */ G({
2243
+ props: /* @__PURE__ */ q({
2212
2244
  choices: {},
2213
2245
  multiple: { type: Boolean },
2214
2246
  allowTags: { type: Boolean },
@@ -2225,8 +2257,10 @@ const ll = {
2225
2257
  visibility: {},
2226
2258
  cssClass: {},
2227
2259
  clearable: { type: Boolean },
2228
- passthroughAttrs: {}
2229
- }, F(x({}, q), {
2260
+ passthroughAttrs: {},
2261
+ density: {},
2262
+ variant: {}
2263
+ }, M(S({}, Y), {
2230
2264
  choices: void 0,
2231
2265
  multiple: !1,
2232
2266
  allowTags: !1,
@@ -2235,184 +2269,192 @@ const ll = {
2235
2269
  })),
2236
2270
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
2237
2271
  setup(e, { emit: t }) {
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));
2272
+ const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass: p, visibility: i } = Ce(n), d = t, {
2273
+ densityClass: v,
2274
+ errors: m,
2275
+ label: b,
2276
+ touched: c,
2277
+ value: T,
2278
+ vuetifyBindings: _
2279
+ } = X(n, d), w = N(null), h = N(!1), $ = N([]), F = y(() => o(h) ? o($) : o(a) || []), k = N(!1), V = y(() => Yo(F.value));
2280
+ V.value && n.fetchChoices !== void 0 && console.warn("Both options and fetchChoices are set. Only one of them should be set.");
2281
+ function L(B) {
2282
+ d("update:modelValueDisplay", je(F.value, B));
2242
2283
  }
2243
2284
  let f = !1;
2244
- function u(T) {
2245
- f = !0, h.value = T, Ne(() => {
2285
+ function u(B) {
2286
+ f = !0, T.value = B, Fe(() => {
2246
2287
  f = !1;
2247
2288
  });
2248
2289
  }
2249
- ie(
2290
+ ue(
2250
2291
  w,
2251
- (T) => {
2252
- g.value.readonly || Ne(() => {
2253
- const I = Q(T, a.value);
2254
- W(I), u(I);
2292
+ (B) => {
2293
+ _.value.readonly || Fe(() => {
2294
+ const P = Z(B, l.value);
2295
+ L(P), u(P);
2255
2296
  });
2256
2297
  },
2257
2298
  { deep: !0 }
2258
- ), ie(
2259
- h,
2260
- (T) => {
2299
+ ), ue(
2300
+ T,
2301
+ (B) => {
2261
2302
  if (!f) {
2262
- const I = Q(T, a.value);
2263
- ye(I, w, a.value, !1, A.value);
2303
+ const P = Z(B, l.value);
2304
+ ke(P, w, l.value, !1, F.value);
2264
2305
  }
2265
2306
  },
2266
2307
  { deep: !0 }
2267
2308
  );
2268
- function $() {
2269
- if (g.value.readonly || r.value) return;
2270
- const T = Q(w.value, a.value);
2271
- ye(T, w, a.value, !1, A.value), u(T);
2309
+ function E() {
2310
+ if (_.value.readonly || r.value) return;
2311
+ const B = Z(w.value, l.value);
2312
+ ke(B, w, l.value, !1, F.value), u(B);
2272
2313
  }
2273
- function z(T) {
2274
- let 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);
2314
+ function H(B) {
2315
+ let P;
2316
+ l.value && Array.isArray(w.value) ? P = Z(
2317
+ w.value.filter((j) => j !== B),
2318
+ l.value
2319
+ ) : P = null, ke(P, w, l.value, !1, F.value), u(P);
2279
2320
  }
2280
- function se(T, I) {
2281
- return ge(this, null, function* () {
2282
- if (!(l.value || n.fetchChoices === void 0)) {
2283
- N.value = !0;
2321
+ function ce(B, P) {
2322
+ return ye(this, null, function* () {
2323
+ if (!(a.value || n.fetchChoices === void 0)) {
2324
+ k.value = !0;
2284
2325
  try {
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;
2326
+ const j = je(
2327
+ F.value,
2328
+ Z(w.value, l.value)
2329
+ ), Q = yield n.fetchChoices(B, P);
2330
+ $.value = ht([...j, ...Q], "id"), h.value = !0;
2290
2331
  } finally {
2291
- N.value = !1;
2332
+ k.value = !1;
2292
2333
  }
2293
2334
  }
2294
2335
  });
2295
2336
  }
2296
- function ue() {
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);
2337
+ function de() {
2338
+ let B = T.value;
2339
+ !s.value && B == null && V.value.length && (B = V.value[0].value), B = Z(B, l.value), ke(B, w, l.value, r.value, F.value), L(B), u(B);
2299
2340
  }
2300
- return ue(), n.fetchChoices !== void 0 && se(void 0, h.value).then(() => {
2301
- ue();
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({
2341
+ return de(), n.fetchChoices !== void 0 && ce(void 0, T.value).then(() => {
2342
+ de();
2343
+ }), (B, P) => {
2344
+ const j = A("v-chip"), Q = A("v-list-item");
2345
+ return o(i) !== o(K).SUPPRESS ? (C(), x(be(o(r) ? "v-combobox" : "v-autocomplete"), R({
2305
2346
  key: 0,
2306
2347
  modelValue: w.value,
2307
- "onUpdate:modelValue": I[0] || (I[0] = (P) => w.value = P),
2348
+ "onUpdate:modelValue": P[0] || (P[0] = (D) => w.value = D),
2308
2349
  class: [
2309
- o(i),
2350
+ o(p),
2351
+ o(v),
2310
2352
  {
2311
- "d-none": o(c) === o(H).HIDDEN,
2312
- invisible: o(c) === o(H).INVISIBLE
2353
+ "d-none": o(i) === o(K).HIDDEN,
2354
+ invisible: o(i) === o(K).INVISIBLE
2313
2355
  }
2314
2356
  ],
2315
- items: C.value,
2357
+ items: V.value,
2316
2358
  "return-object": !1
2317
- }, o(g), {
2318
- label: o(g).label,
2359
+ }, o(_), {
2360
+ label: o(_).label,
2319
2361
  chips: "",
2320
2362
  "auto-select-first": !0,
2321
- "closable-chips": o(m) || o(a) && w.value.length > 1,
2322
- clearable: o(m),
2323
- multiple: o(a),
2324
- loading: N.value,
2363
+ "closable-chips": o(s) || o(l) && w.value.length > 1,
2364
+ clearable: o(s),
2365
+ multiple: o(l),
2366
+ loading: k.value,
2325
2367
  "hide-selected": !1,
2326
- "aria-describedby": o(g).helpText ? `${o(g).name}-help` : null,
2368
+ "aria-describedby": o(_).helpText ? `${o(_).name}-help` : null,
2327
2369
  "menu-props": { maxHeight: "400" },
2328
2370
  "hide-details": "auto",
2329
- "onUpdate:search": I[1] || (I[1] = (P) => se(P, void 0)),
2330
- "onUpdate:modelValue": $,
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,
2371
+ "onUpdate:search": P[1] || (P[1] = (D) => ce(D, void 0)),
2372
+ "onUpdate:modelValue": E,
2373
+ "onClick:clear": P[2] || (P[2] = (D) => w.value = null),
2374
+ onBlur: P[3] || (P[3] = (D) => c.value = !0)
2375
+ }), G({
2376
+ chip: g(({ item: D }) => [
2377
+ (C(), x(j, {
2378
+ key: D.value,
2337
2379
  label: "",
2338
2380
  size: "small",
2339
2381
  class: "d-flex align-middle",
2340
- variant: o(a) ? "tonal" : "text",
2341
- closable: o(a),
2342
- "onClick:close": (ae) => z(P.value)
2382
+ variant: o(l) ? "tonal" : "text",
2383
+ closable: o(l),
2384
+ "onClick:close": (ie) => H(D.value)
2343
2385
  }, {
2344
- prepend: b(() => {
2345
- var ae;
2386
+ prepend: g(() => {
2387
+ var ie;
2346
2388
  return [
2347
- (ae = P.raw) != null && ae.icon ? (V(), D(o(he), {
2389
+ (ie = D.raw) != null && ie.icon ? (C(), x(o(ge), {
2348
2390
  key: 0,
2349
2391
  class: "me-1",
2350
- name: P.raw.icon
2351
- }, null, 8, ["name"])) : L("", !0)
2392
+ name: D.raw.icon
2393
+ }, null, 8, ["name"])) : U("", !0)
2352
2394
  ];
2353
2395
  }),
2354
- default: b(() => [
2355
- ne("span", {
2356
- class: Ie({ "text-body-1": !o(a) })
2357
- }, Be(P.title), 3)
2396
+ default: g(() => [
2397
+ oe("span", {
2398
+ class: re({ "text-body-1": !o(l) })
2399
+ }, Pe(D.title), 3)
2358
2400
  ]),
2359
2401
  _: 2
2360
2402
  }, 1032, ["variant", "closable", "onClick:close"]))
2361
2403
  ]),
2362
- item: b(({ props: P, item: ae }) => [
2363
- B(Y, Z(J(P)), {
2364
- prepend: b(() => {
2365
- var De;
2404
+ item: g(({ props: D, item: ie }) => [
2405
+ I(Q, J(ee(D)), {
2406
+ prepend: g(() => {
2407
+ var xe;
2366
2408
  return [
2367
- (De = ae.raw) != null && De.icon ? (V(), O("span", ll, [
2368
- B(o(he), {
2409
+ (xe = ie.raw) != null && xe.icon ? (C(), W("span", Qo, [
2410
+ I(o(ge), {
2369
2411
  class: "action-icon",
2370
- name: ae.raw.icon
2412
+ name: ie.raw.icon
2371
2413
  }, null, 8, ["name"])
2372
- ])) : L("", !0)
2414
+ ])) : U("", !0)
2373
2415
  ];
2374
2416
  }),
2375
2417
  _: 2
2376
2418
  }, 1040)
2377
2419
  ]),
2378
- message: b(({ message: P }) => [
2379
- B(o(le), {
2380
- message: P,
2381
- errors: o(_)
2420
+ message: g(({ message: D }) => [
2421
+ I(o(le), {
2422
+ message: D,
2423
+ errors: o(m)
2382
2424
  }, null, 8, ["message", "errors"])
2383
2425
  ]),
2384
2426
  _: 2
2385
2427
  }, [
2386
- o(s).icon ? {
2428
+ o(b).icon ? {
2387
2429
  name: "label",
2388
- fn: b((P) => [
2389
- B(o(oe), {
2390
- data: P,
2391
- label: o(s)
2430
+ fn: g((D) => [
2431
+ I(o(ae), {
2432
+ data: D,
2433
+ label: o(b)
2392
2434
  }, null, 8, ["data", "label"])
2393
2435
  ]),
2394
2436
  key: "0"
2395
2437
  } : void 0,
2396
- T.$slots["append-inner"] ? {
2438
+ B.$slots["append-inner"] ? {
2397
2439
  name: "append-inner",
2398
- fn: b((P) => [
2399
- re(T.$slots, "append-inner", Z(J(P)))
2440
+ fn: g((D) => [
2441
+ se(B.$slots, "append-inner", J(ee(D)))
2400
2442
  ]),
2401
2443
  key: "1"
2402
2444
  } : void 0,
2403
- T.$slots["prepend-inner"] ? {
2445
+ B.$slots["prepend-inner"] ? {
2404
2446
  name: "prepend-inner",
2405
- fn: b((P) => [
2406
- re(T.$slots, "prepend-inner", Z(J(P)))
2447
+ fn: g((D) => [
2448
+ se(B.$slots, "prepend-inner", J(ee(D)))
2407
2449
  ]),
2408
2450
  key: "2"
2409
2451
  } : void 0
2410
- ]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : L("", !0);
2452
+ ]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : U("", !0);
2411
2453
  };
2412
2454
  }
2413
- }), rl = { class: "container" }, il = /* @__PURE__ */ M({
2455
+ }), Jo = /* @__PURE__ */ O({
2414
2456
  __name: "df-text-area",
2415
- props: /* @__PURE__ */ G({
2457
+ props: /* @__PURE__ */ q({
2416
2458
  rows: {},
2417
2459
  maxRows: {},
2418
2460
  control: {},
@@ -2426,68 +2468,72 @@ const ll = {
2426
2468
  visibility: {},
2427
2469
  cssClass: {},
2428
2470
  clearable: { type: Boolean },
2429
- passthroughAttrs: {}
2430
- }, F(x({}, q), {
2471
+ passthroughAttrs: {},
2472
+ density: {},
2473
+ variant: {}
2474
+ }, M(S({}, Y), {
2431
2475
  rows: void 0,
2432
2476
  maxRows: void 0
2433
2477
  })),
2434
2478
  emits: ["update:modelValue", "click:clear"],
2435
2479
  setup(e, { emit: t }) {
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({
2480
+ const n = e, a = t, { densityClass: l, errors: r, label: s, touched: p, value: i, vuetifyBindings: d } = X(n, a), { cssClass: v, visibility: m } = Ce(n);
2481
+ return (b, c) => {
2482
+ const T = A("v-textarea");
2483
+ return C(), W("div", {
2484
+ class: re(["df-textarea-container", o(l)])
2485
+ }, [
2486
+ o(m) !== o(K).SUPPRESS ? (C(), x(T, R({
2441
2487
  key: 0,
2442
2488
  modelValue: o(i),
2443
- "onUpdate:modelValue": p[0] || (p[0] = (g) => te(i) ? i.value = g : null),
2489
+ "onUpdate:modelValue": c[0] || (c[0] = (_) => ne(i) ? i.value = _ : null),
2444
2490
  class: [
2445
- o(d),
2491
+ o(v),
2446
2492
  {
2447
- "d-none": o(_) === o(H).HIDDEN,
2448
- invisible: o(_) === o(H).INVISIBLE
2493
+ "d-none": o(m) === o(K).HIDDEN,
2494
+ invisible: o(m) === o(K).INVISIBLE
2449
2495
  }
2450
2496
  ],
2451
- rows: s.rows,
2452
- "auto-grow": (s.maxRows || 0) > 0,
2453
- "max-rows": s.maxRows
2454
- }, o(c), {
2455
- onBlur: p[1] || (p[1] = (g) => m.value = !0)
2456
- }), X({
2457
- message: b(({ message: g }) => [
2458
- B(o(le), {
2459
- message: g,
2460
- errors: o(a)
2497
+ rows: b.rows,
2498
+ "auto-grow": (b.maxRows || 0) > 0,
2499
+ "max-rows": b.maxRows
2500
+ }, o(d), {
2501
+ onBlur: c[1] || (c[1] = (_) => p.value = !0)
2502
+ }), G({
2503
+ message: g(({ message: _ }) => [
2504
+ I(o(le), {
2505
+ message: _,
2506
+ errors: o(r)
2461
2507
  }, null, 8, ["message", "errors"])
2462
2508
  ]),
2463
2509
  _: 2
2464
2510
  }, [
2465
- o(r).icon ? {
2511
+ o(s).icon ? {
2466
2512
  name: "label",
2467
- fn: b((g) => [
2468
- B(o(oe), {
2469
- data: g,
2470
- label: o(r)
2513
+ fn: g((_) => [
2514
+ I(o(ae), {
2515
+ data: _,
2516
+ label: o(s)
2471
2517
  }, null, 8, ["data", "label"])
2472
2518
  ]),
2473
2519
  key: "0"
2474
2520
  } : void 0
2475
- ]), 1040, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : L("", !0)
2476
- ]);
2521
+ ]), 1040, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : U("", !0)
2522
+ ], 2);
2477
2523
  };
2478
2524
  }
2479
- }), sl = /* @__PURE__ */ be(il, [["__scopeId", "data-v-d9284a00"]]), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2525
+ }), ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2480
2526
  __proto__: null,
2481
- DfActions: Ro,
2482
- DfCheckbox: Wo,
2483
- DfColor: zo,
2484
- DfDateTime: Ko,
2485
- DfFile: Go,
2486
- DfInput: Qo,
2487
- DfRtfEditor: nl,
2488
- DfSelect: al,
2489
- DfTextArea: sl
2490
- }, Symbol.toStringTag, { value: "Module" })), cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2527
+ DfActions: Mo,
2528
+ DfCheckbox: Uo,
2529
+ DfColor: Oo,
2530
+ DfDateTime: Ro,
2531
+ DfFile: Wo,
2532
+ DfInput: zo,
2533
+ DfRtfEditor: qo,
2534
+ DfSelect: Zo,
2535
+ DfTextArea: Jo
2536
+ }, Symbol.toStringTag, { value: "Module" })), ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2491
2537
  __proto__: null,
2492
2538
  VAutocomplete: dn,
2493
2539
  VBtn: mn,
@@ -2498,60 +2544,60 @@ const ll = {
2498
2544
  VCombobox: vn,
2499
2545
  VConfirmEdit: bn,
2500
2546
  VDatePicker: gn,
2501
- VField: wn,
2502
- VFileInput: yn,
2503
- VIcon: _n,
2504
- VImg: jn,
2505
- VInput: Cn,
2506
- VListItem: Tn,
2547
+ VField: yn,
2548
+ VFileInput: wn,
2549
+ VIcon: jn,
2550
+ VImg: Cn,
2551
+ VInput: Tn,
2552
+ VListItem: _n,
2507
2553
  VMenu: Bn,
2508
2554
  VNumberInput: In,
2509
2555
  VProgressLinear: Pn,
2510
2556
  VRow: Vn,
2511
2557
  VSelect: Dn,
2512
2558
  VSwitch: xn,
2513
- VTextField: Sn,
2514
- VTextarea: $n,
2559
+ VTextField: $n,
2560
+ VTextarea: Sn,
2515
2561
  VTimePicker: En
2516
- }, Symbol.toStringTag, { value: "Module" })), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2562
+ }, Symbol.toStringTag, { value: "Module" })), Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2517
2563
  __proto__: null
2518
- }, Symbol.toStringTag, { value: "Module" })), Hl = {
2564
+ }, Symbol.toStringTag, { value: "Module" })), Na = {
2519
2565
  install: (e, t) => {
2520
- var n, l;
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));
2566
+ var n, a;
2567
+ e.use(Kn), e.provide(et, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(ea).map(([l, r]) => e.component(l, r)), (a = t == null ? void 0 : t.registerVuetifyComponents) != null && a && Object.entries(ta).map(([l, r]) => e.component(l, r));
2522
2568
  }
2523
2569
  };
2524
2570
  export {
2525
- ke as Action,
2526
- R as ActionDisplayStyle,
2571
+ Ve as Action,
2572
+ z as ActionDisplayStyle,
2527
2573
  Po as DateTimeLocaleConfig,
2528
- Ro as DfActions,
2529
- Wo as DfCheckbox,
2530
- zo as DfColor,
2531
- Ko as DfDateTime,
2532
- Go as DfFile,
2533
- Qo as DfInput,
2534
- zl as DfInputComponentProps,
2535
- ul as DfInputComponents,
2536
- oe as DfLabel,
2537
- nl as DfRtfEditor,
2538
- al as DfSelect,
2539
- sl as DfTextArea,
2540
- Hl as DynamicFormsInputs,
2541
- Pe as InputBase,
2542
- $o as Label,
2574
+ Mo as DfActions,
2575
+ Uo as DfCheckbox,
2576
+ Oo as DfColor,
2577
+ Ro as DfDateTime,
2578
+ Wo as DfFile,
2579
+ zo as DfInput,
2580
+ Aa as DfInputComponentProps,
2581
+ ea as DfInputComponents,
2582
+ ae as DfLabel,
2583
+ qo as DfRtfEditor,
2584
+ Zo as DfSelect,
2585
+ Jo as DfTextArea,
2586
+ Na as DynamicFormsInputs,
2587
+ De as InputBase,
2588
+ xo as Label,
2543
2589
  le as MessagesWidget,
2544
- Lo as ResponsiveActionRenderOptions,
2545
- Ao as ResponsiveRenderOptions,
2546
- cl as VuetifyComponents,
2547
- q as defaultBaseProps,
2548
- Re as defaultDisplayStyle,
2549
- No as getBreakpointName,
2550
- We as responsiveBreakpoints,
2551
- fe as translatableStrings,
2552
- Wl as translateStrings,
2553
- Fo as useBreakpoint,
2554
- K as useInputBase,
2555
- Je as vuetifyInputsSettingsKey
2590
+ No as ResponsiveActionRenderOptions,
2591
+ $o as ResponsiveRenderOptions,
2592
+ ta as VuetifyComponents,
2593
+ Y as defaultBaseProps,
2594
+ We as defaultDisplayStyle,
2595
+ Eo as getBreakpointName,
2596
+ ze as responsiveBreakpoints,
2597
+ he as translatableStrings,
2598
+ Ea as translateStrings,
2599
+ Ao as useBreakpoint,
2600
+ X as useInputBase,
2601
+ et as vuetifyInputsSettingsKey
2556
2602
  };
2557
2603
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map