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