@dynamicforms/vuetify-inputs 0.2.2 → 0.2.3

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,62 +1,62 @@
1
- var Oe = Object.defineProperty, Me = Object.defineProperties;
2
- var He = Object.getOwnPropertyDescriptors;
1
+ var Me = Object.defineProperty, He = Object.defineProperties;
2
+ var je = Object.getOwnPropertyDescriptors;
3
3
  var ge = Object.getOwnPropertySymbols;
4
- var je = Object.prototype.hasOwnProperty, ze = Object.prototype.propertyIsEnumerable;
5
- var se = (t, e, l) => e in t ? Oe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[e] = l, D = (t, e) => {
4
+ var ze = Object.prototype.hasOwnProperty, Ke = Object.prototype.propertyIsEnumerable;
5
+ var se = (t, e, l) => e in t ? Me(t, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[e] = l, D = (t, e) => {
6
6
  for (var l in e || (e = {}))
7
- je.call(e, l) && se(t, l, e[l]);
7
+ ze.call(e, l) && se(t, l, e[l]);
8
8
  if (ge)
9
9
  for (var l of ge(e))
10
- ze.call(e, l) && se(t, l, e[l]);
10
+ Ke.call(e, l) && se(t, l, e[l]);
11
11
  return t;
12
- }, M = (t, e) => Me(t, He(e));
12
+ }, M = (t, e) => He(t, je(e));
13
13
  var Y = (t, e, l) => se(t, typeof e != "symbol" ? e + "" : e, l);
14
14
  var oe = (t, e, l) => new Promise((i, o) => {
15
15
  var a = (b) => {
16
16
  try {
17
17
  c(l.next(b));
18
- } catch (v) {
19
- o(v);
18
+ } catch (s) {
19
+ o(s);
20
20
  }
21
- }, p = (b) => {
21
+ }, f = (b) => {
22
22
  try {
23
23
  c(l.throw(b));
24
- } catch (v) {
25
- o(v);
24
+ } catch (s) {
25
+ o(s);
26
26
  }
27
- }, c = (b) => b.done ? i(b.value) : Promise.resolve(b.value).then(a, p);
27
+ }, c = (b) => b.done ? i(b.value) : Promise.resolve(b.value).then(a, f);
28
28
  c((l = l.apply(t, e)).next());
29
29
  });
30
30
  import * as he from "vue";
31
- import { defineComponent as U, mergeModels as ye, useModel as Ke, ref as N, watch as ee, onMounted as xe, markRaw as Ge, onBeforeUnmount as Ae, createBlock as w, openBlock as g, resolveDynamicComponent as te, version as We, computed as V, createElementBlock as E, Fragment as Se, renderList as De, normalizeClass as le, toDisplayString as X, unref as n, mergeProps as L, withCtx as h, createTextVNode as Ne, resolveComponent as I, createCommentVNode as $, createVNode as A, createSlots as Xe, renderSlot as qe, isRef as G, withModifiers as Ze, mergeDefaults as z, createElementVNode as q, normalizeStyle as fe, toRefs as ie, withKeys as _e, useCssVars as Ye, normalizeProps as $e, guardReactiveProps as Ee, nextTick as Qe } from "vue";
32
- import { debounce as Je, isEmpty as et, isObjectLike as tt, isString as de, isBoolean as Ve, clone as lt, toNumber as we, isNaN as ke, isArray as Te, castArray as Ue, first as Fe } from "lodash-es";
31
+ import { defineComponent as U, mergeModels as ye, useModel as Ge, ref as N, watch as ee, onMounted as Ae, markRaw as We, onBeforeUnmount as Se, createBlock as w, openBlock as g, resolveDynamicComponent as te, version as Xe, computed as V, createElementBlock as E, Fragment as De, renderList as Ne, normalizeClass as le, toDisplayString as X, unref as n, mergeProps as L, withCtx as h, createTextVNode as $e, resolveComponent as I, createCommentVNode as $, createVNode as x, createSlots as qe, renderSlot as Ze, isRef as G, withModifiers as Ye, mergeDefaults as z, createElementVNode as q, normalizeStyle as fe, toRefs as ie, withKeys as _e, useCssVars as Qe, normalizeProps as Ee, guardReactiveProps as Ue, nextTick as Je } from "vue";
32
+ import { debounce as et, isEmpty as tt, isObjectLike as lt, isString as de, isBoolean as Ve, clone as nt, toNumber as we, isNaN as ke, isArray as Te, castArray as Fe, first as Le } from "lodash-es";
33
33
  import me from "vue-ionicon";
34
- import { useDisplay as nt } from "vuetify";
35
- import Ce, { ValidationErrorRenderContent as ot, DisplayMode as H, ExecuteAction as at, Action as re } from "@dynamicforms/vue-forms";
36
- import it from "vue-markdown-render";
37
- import { format as Q, parse as st } from "date-fns";
38
- import { AccessibilityHelp as rt, Alignment as ut, AutoImage as ct, AutoLink as dt, Autosave as mt, BalloonToolbar as pt, BlockQuote as ft, Bold as vt, CloudServices as bt, Essentials as gt, GeneralHtmlSupport as ht, Heading as yt, HorizontalLine as _t, ImageBlock as Vt, ImageCaption as wt, ImageInline as kt, ImageInsertViaUrl as Tt, ImageResize as Ct, ImageStyle as It, ImageToolbar as Bt, ImageUpload as xt, Indent as At, IndentBlock as St, Italic as Dt, Link as Nt, List as $t, Autoformat as Et, MediaEmbed as Ut, Paragraph as Ft, PasteFromMarkdownExperimental as Lt, PasteFromOffice as Rt, SelectAll as Pt, Style as Ot, Table as Mt, TableCellProperties as Ht, TableColumnResize as jt, TableProperties as zt, TableToolbar as Kt, Undo as Gt, TextTransformation as Wt, Base64UploadAdapter as Xt, ClassicEditor as qt } from "ckeditor5";
39
- import { VAutocomplete as Zt } from "vuetify/components/VAutocomplete";
40
- import { VBtn as Yt } from "vuetify/components/VBtn";
41
- import { VCheckbox as Qt } from "vuetify/components/VCheckbox";
42
- import { VChip as Jt } from "vuetify/components/VChip";
43
- import { VCombobox as el } from "vuetify/components/VCombobox";
44
- import { VColorPicker as tl } from "vuetify/components/VColorPicker";
45
- import { VConfirmEdit as ll } from "vuetify/components/VConfirmEdit";
46
- import { VDatePicker as nl } from "vuetify/components/VDatePicker";
47
- import { VFileInput as ol } from "vuetify/components/VFileInput";
48
- import { VCol as al, VRow as il } from "vuetify/components/VGrid";
49
- import { VIcon as sl } from "vuetify/components/VIcon";
50
- import { VInput as rl } from "vuetify/components/VInput";
51
- import { VListItem as ul } from "vuetify/components/VList";
52
- import { VMenu as cl } from "vuetify/components/VMenu";
53
- import { VNumberInput as dl } from "vuetify/components/VNumberInput";
54
- import { VProgressLinear as ml } from "vuetify/components/VProgressLinear";
55
- import { VSelect as pl } from "vuetify/components/VSelect";
56
- import { VSwitch as fl } from "vuetify/components/VSwitch";
57
- import { VTextarea as vl } from "vuetify/components/VTextarea";
58
- import { VTextField as bl } from "vuetify/components/VTextField";
59
- import { VTimePicker as gl } from "vuetify/labs/VTimePicker";
34
+ import { useDisplay as ot } from "vuetify";
35
+ import Ce, { ValidationErrorRenderContent as at, DisplayMode as H, ExecuteAction as it, Action as re } from "@dynamicforms/vue-forms";
36
+ import st from "vue-markdown-render";
37
+ import { format as Q, parse as rt } from "date-fns";
38
+ import { AccessibilityHelp as ut, Alignment as ct, AutoImage as dt, AutoLink as mt, Autosave as pt, BalloonToolbar as ft, BlockQuote as vt, Bold as bt, CloudServices as gt, Essentials as ht, GeneralHtmlSupport as yt, Heading as _t, HorizontalLine as Vt, ImageBlock as wt, ImageCaption as kt, ImageInline as Tt, ImageInsertViaUrl as Ct, ImageResize as It, ImageStyle as Bt, ImageToolbar as xt, ImageUpload as At, Indent as St, IndentBlock as Dt, Italic as Nt, Link as $t, List as Et, Autoformat as Ut, MediaEmbed as Ft, Paragraph as Lt, PasteFromMarkdownExperimental as Rt, PasteFromOffice as Pt, SelectAll as Ot, Style as Mt, Table as Ht, TableCellProperties as jt, TableColumnResize as zt, TableProperties as Kt, TableToolbar as Gt, Undo as Wt, TextTransformation as Xt, Base64UploadAdapter as qt, ClassicEditor as Zt } from "ckeditor5";
39
+ import { VAutocomplete as Yt } from "vuetify/components/VAutocomplete";
40
+ import { VBtn as Qt } from "vuetify/components/VBtn";
41
+ import { VCheckbox as Jt } from "vuetify/components/VCheckbox";
42
+ import { VChip as el } from "vuetify/components/VChip";
43
+ import { VCombobox as tl } from "vuetify/components/VCombobox";
44
+ import { VColorPicker as ll } from "vuetify/components/VColorPicker";
45
+ import { VConfirmEdit as nl } from "vuetify/components/VConfirmEdit";
46
+ import { VDatePicker as ol } from "vuetify/components/VDatePicker";
47
+ import { VFileInput as al } from "vuetify/components/VFileInput";
48
+ import { VCol as il, VRow as sl } from "vuetify/components/VGrid";
49
+ import { VIcon as rl } from "vuetify/components/VIcon";
50
+ import { VInput as ul } from "vuetify/components/VInput";
51
+ import { VListItem as cl } from "vuetify/components/VList";
52
+ import { VMenu as dl } from "vuetify/components/VMenu";
53
+ import { VNumberInput as ml } from "vuetify/components/VNumberInput";
54
+ import { VProgressLinear as pl } from "vuetify/components/VProgressLinear";
55
+ import { VSelect as fl } from "vuetify/components/VSelect";
56
+ import { VSwitch as vl } from "vuetify/components/VSwitch";
57
+ import { VTextarea as bl } from "vuetify/components/VTextarea";
58
+ import { VTextField as gl } from "vuetify/components/VTextField";
59
+ import { VTimePicker as hl } from "vuetify/labs/VTimePicker";
60
60
  /**
61
61
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
62
62
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -70,7 +70,7 @@ new Array(256).fill("").map((t, e) => ("0" + e.toString(16)).slice(-2));
70
70
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
71
71
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
72
72
  */
73
- function hl(t, e) {
73
+ function yl(t, e) {
74
74
  const l = t.extraPlugins || [];
75
75
  return M(D({}, t), {
76
76
  extraPlugins: [
@@ -83,25 +83,25 @@ function hl(t, e) {
83
83
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
84
84
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
85
85
  */
86
- function Le(t) {
86
+ function Re(t) {
87
87
  return !!t && /^\d+\.\d+\.\d+/.test(t);
88
88
  }
89
89
  /**
90
90
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
91
91
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
92
92
  */
93
- function Re(t) {
93
+ function Pe(t) {
94
94
  return t ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((e) => t.includes(e)) : !1;
95
95
  }
96
- function yl(t) {
97
- return Le(t) || Re(t);
96
+ function _l(t) {
97
+ return Re(t) || Pe(t);
98
98
  }
99
99
  /**
100
100
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
101
101
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
102
102
  */
103
- function _l(t) {
104
- if (!Le(t))
103
+ function Vl(t) {
104
+ if (!Re(t))
105
105
  throw new Error(`Invalid semantic version: ${t || "<blank>"}.`);
106
106
  const [e, l, i] = t.split(".");
107
107
  return {
@@ -114,10 +114,10 @@ function _l(t) {
114
114
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
115
115
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
116
116
  */
117
- function Vl(t) {
118
- if (Re(t))
117
+ function wl(t) {
118
+ if (Pe(t))
119
119
  return 3;
120
- const { major: e } = _l(t);
120
+ const { major: e } = Vl(t);
121
121
  switch (!0) {
122
122
  case e >= 44:
123
123
  return 3;
@@ -131,9 +131,9 @@ function Vl(t) {
131
131
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
132
132
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
133
133
  */
134
- function wl() {
134
+ function kl() {
135
135
  const { CKEDITOR_VERSION: t, CKEDITOR: e } = window;
136
- return yl(t) ? {
136
+ return _l(t) ? {
137
137
  source: e ? "cdn" : "npm",
138
138
  version: t
139
139
  } : null;
@@ -142,16 +142,16 @@ function wl() {
142
142
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
143
143
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
144
144
  */
145
- function kl() {
146
- const t = wl();
147
- return t ? Vl(t.version) : null;
145
+ function Tl() {
146
+ const t = kl();
147
+ return t ? wl(t.version) : null;
148
148
  }
149
149
  /**
150
150
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
151
151
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
152
152
  */
153
- function Pe(t, e) {
154
- switch (e || (e = kl() || void 0), e) {
153
+ function Oe(t, e) {
154
+ switch (e || (e = Tl() || void 0), e) {
155
155
  case 1:
156
156
  case 2:
157
157
  return t === void 0;
@@ -165,9 +165,9 @@ function Pe(t, e) {
165
165
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
166
166
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
167
167
  */
168
- function Tl(t, e) {
168
+ function Cl(t, e) {
169
169
  return function(i) {
170
- Pe(i.config.get("licenseKey")) || i.on("collectUsageData", (o, { setUsageData: a }) => {
170
+ Oe(i.config.get("licenseKey")) || i.on("collectUsageData", (o, { setUsageData: a }) => {
171
171
  a(`integration.${t}`, e);
172
172
  });
173
173
  };
@@ -176,28 +176,28 @@ function Tl(t, e) {
176
176
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
177
177
  * For licensing, see LICENSE.md.
178
178
  */
179
- const Cl = Tl(
179
+ const Il = Cl(
180
180
  "vue",
181
181
  {
182
182
  version: "7.3.0",
183
- frameworkVersion: We
183
+ frameworkVersion: Xe
184
184
  }
185
185
  );
186
186
  /**
187
187
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
188
188
  * For licensing, see LICENSE.md.
189
189
  */
190
- function Il(t) {
191
- return Pe(t.licenseKey) ? t : hl(t, [
190
+ function Bl(t) {
191
+ return Oe(t.licenseKey) ? t : yl(t, [
192
192
  /**
193
193
  * This part of the code is not executed in open-source implementations using a GPL key.
194
194
  * It only runs when a specific license key is provided. If you are uncertain whether
195
195
  * this applies to your installation, please contact our support team.
196
196
  */
197
- Cl
197
+ Il
198
198
  ]);
199
199
  }
200
- const ue = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Bl = 300, xl = /* @__PURE__ */ U({
200
+ const ue = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", xl = 300, Al = /* @__PURE__ */ U({
201
201
  name: "CKEditor",
202
202
  __name: "ckeditor",
203
203
  props: /* @__PURE__ */ ye({
@@ -212,49 +212,49 @@ const ue = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Bl = 300, xl =
212
212
  }),
213
213
  emits: /* @__PURE__ */ ye(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
214
214
  setup(t, { expose: e, emit: l }) {
215
- const i = Ke(t, "modelValue"), o = t, a = l, p = N(), c = N(), b = N();
215
+ const i = Ge(t, "modelValue"), o = t, a = l, f = N(), c = N(), b = N();
216
216
  e({
217
217
  instance: c,
218
218
  lastEditorData: b
219
- }), ee(i, (s) => {
220
- c.value && s !== b.value && c.value.data.set(s);
221
- }), ee(() => o.disabled, (s) => {
222
- s ? c.value.enableReadOnlyMode(ue) : c.value.disableReadOnlyMode(ue);
219
+ }), ee(i, (r) => {
220
+ c.value && r !== b.value && c.value.data.set(r);
221
+ }), ee(() => o.disabled, (r) => {
222
+ r ? c.value.enableReadOnlyMode(ue) : c.value.disableReadOnlyMode(ue);
223
223
  });
224
- function v() {
225
- const s = window.CKEDITOR_VERSION;
226
- if (!s)
224
+ function s() {
225
+ const r = window.CKEDITOR_VERSION;
226
+ if (!r)
227
227
  return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
228
- const [d] = s.split(".").map(Number);
229
- d >= 42 || s.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
228
+ const [u] = r.split(".").map(Number);
229
+ u >= 42 || r.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
230
230
  }
231
- function r(s) {
232
- const d = Je((u) => {
231
+ function m(r) {
232
+ const u = et((d) => {
233
233
  if (o.disableTwoWayDataBinding)
234
234
  return;
235
- const y = b.value = s.data.get();
236
- a("update:modelValue", y, u, s), a("input", y, u, s);
237
- }, Bl, { leading: !0 });
238
- s.model.document.on("change:data", d), s.editing.view.document.on("focus", (u) => {
239
- a("focus", u, s);
240
- }), s.editing.view.document.on("blur", (u) => {
241
- a("blur", u, s);
235
+ const y = b.value = r.data.get();
236
+ a("update:modelValue", y, d, r), a("input", y, d, r);
237
+ }, xl, { leading: !0 });
238
+ r.model.document.on("change:data", u), r.editing.view.document.on("focus", (d) => {
239
+ a("focus", d, r);
240
+ }), r.editing.view.document.on("blur", (d) => {
241
+ a("blur", d, r);
242
242
  });
243
243
  }
244
- return v(), xe(() => {
245
- const s = Il(
244
+ return s(), Ae(() => {
245
+ const r = Bl(
246
246
  Object.assign({}, o.config)
247
247
  );
248
- i.value && (s.initialData = i.value), o.editor.create(p.value, s).then((d) => {
249
- c.value = Ge(d), r(d), i.value !== s.initialData && d.data.set(i.value), o.disabled && d.enableReadOnlyMode(ue), a("ready", d);
250
- }).catch((d) => {
251
- console.error(d);
248
+ i.value && (r.initialData = i.value), o.editor.create(f.value, r).then((u) => {
249
+ c.value = We(u), m(u), i.value !== r.initialData && u.data.set(i.value), o.disabled && u.enableReadOnlyMode(ue), a("ready", u);
250
+ }).catch((u) => {
251
+ console.error(u);
252
252
  });
253
- }), Ae(() => {
253
+ }), Se(() => {
254
254
  c.value && (c.value.destroy(), c.value = void 0), a("destroy");
255
- }), (s, d) => (g(), w(te(s.tagName), {
255
+ }), (r, u) => (g(), w(te(r.tagName), {
256
256
  ref_key: "element",
257
- ref: p
257
+ ref: f
258
258
  }, null, 512));
259
259
  }
260
260
  });
@@ -267,14 +267,14 @@ if (!he.version || !he.version.startsWith("3."))
267
267
  throw new Error(
268
268
  "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"
269
269
  );
270
- const Al = {
270
+ const Sl = {
271
271
  /**
272
272
  * Installs the plugin, registering the `<ckeditor>` component.
273
273
  *
274
274
  * @param app The application instance.
275
275
  */
276
276
  install(t) {
277
- t.component("Ckeditor", xl);
277
+ t.component("Ckeditor", Al);
278
278
  }
279
279
  }, K = { enabled: void 0 };
280
280
  function j(t, e) {
@@ -282,65 +282,65 @@ function j(t, e) {
282
282
  get() {
283
283
  return t.control ? t.control.value : t.modelValue;
284
284
  },
285
- set(u) {
286
- t.control && (t.control.value = u), e("update:modelValue", u);
285
+ set(d) {
286
+ t.control && (t.control.value = d), e("update:modelValue", d);
287
287
  }
288
288
  });
289
289
  if (t.control && !(t.control instanceof Ce.FieldBase))
290
290
  throw new Error("control prop is not a vue-form control instance");
291
291
  const i = V(() => t.control ? t.control.valid : !0), o = V(
292
- () => t.control ? t.control.errors : (t.errors || []).map((u) => new ot(u))
293
- ), a = V(() => o.value.length > 0 ? " " : void 0), p = V(() => t.control ? t.control.enabled : t.enabled !== !1), c = V(
292
+ () => t.control ? t.control.errors : (t.errors || []).map((d) => new at(d))
293
+ ), a = V(() => o.value.length > 0 ? " " : void 0), f = V(() => t.control ? t.control.enabled : t.enabled !== !1), c = V(
294
294
  () => t.control ? t.control.visibility : t.visibility || Ce.DisplayMode.FULL
295
- ), b = V(() => t.label || ""), v = V(() => t.placeholder || ""), r = V(() => t.helpText || ""), s = V(() => t.hint || ""), d = V(() => t.cssClass || "");
295
+ ), b = V(() => t.label || ""), s = V(() => t.placeholder || ""), m = V(() => t.helpText || ""), r = V(() => t.hint || ""), u = V(() => t.cssClass || "");
296
296
  return {
297
297
  value: l,
298
298
  valid: i,
299
- enabled: p,
299
+ enabled: f,
300
300
  errors: o,
301
301
  visibility: c,
302
302
  vuetifyBindings: V(() => {
303
- var u;
303
+ var d;
304
304
  return {
305
- name: (u = t.control) == null ? void 0 : u.fieldName,
306
- class: d.value,
305
+ name: (d = t.control) == null ? void 0 : d.fieldName,
306
+ class: u.value,
307
307
  density: "default",
308
308
  variant: "underlined",
309
309
  label: b.value,
310
310
  messages: a.value,
311
311
  // 'error-count': errors?.value.length || 0,
312
- readonly: !p.value,
313
- disabled: !p.value,
314
- placeholder: v.value,
315
- "persistent-placeholder": !et(v.value),
316
- hint: s.value,
312
+ readonly: !f.value,
313
+ disabled: !f.value,
314
+ placeholder: s.value,
315
+ "persistent-placeholder": !tt(s.value),
316
+ hint: r.value,
317
317
  persistentHint: !0,
318
318
  // we want persistent hint always
319
319
  hideDetails: "auto",
320
320
  // we want to hide the hint element when hint isn't there
321
- helpText: r.value
321
+ helpText: m.value
322
322
  };
323
323
  })
324
324
  };
325
325
  }
326
- const Sl = {
326
+ const Dl = {
327
327
  key: 0,
328
328
  class: "custom-error-display text-error"
329
- }, Dl = { key: 0 }, Nl = { key: 1 }, $l = /* @__PURE__ */ U({
329
+ }, Nl = { key: 0 }, $l = { key: 1 }, El = /* @__PURE__ */ U({
330
330
  __name: "messages-widget",
331
331
  props: {
332
332
  errors: {},
333
333
  message: {}
334
334
  },
335
335
  setup(t) {
336
- return (e, l) => e.message === " " ? (g(), E("div", Sl, [
337
- (g(!0), E(Se, null, De(e.errors, (i, o) => {
336
+ return (e, l) => e.message === " " ? (g(), E("div", Dl, [
337
+ (g(!0), E(De, null, Ne(e.errors, (i, o) => {
338
338
  var a;
339
339
  return g(), E("div", {
340
340
  key: o,
341
341
  class: le({ "first-error": o === 0, "last-error": o === e.errors.length - 1 })
342
342
  }, [
343
- i.componentName === "template" ? (g(), E("div", Dl, X(i.componentBody), 1)) : i.componentName === "vue-markdown" ? (g(), w(n(it), {
343
+ i.componentName === "template" ? (g(), E("div", Nl, X(i.componentBody), 1)) : i.componentName === "vue-markdown" ? (g(), w(n(st), {
344
344
  key: 1,
345
345
  source: (a = i.componentBindings) == null ? void 0 : a.source
346
346
  }, null, 8, ["source"])) : (g(), w(te(i.componentName), L({
@@ -348,20 +348,20 @@ const Sl = {
348
348
  ref_for: !0
349
349
  }, i.componentBindings), {
350
350
  default: h(() => [
351
- Ne(X(i.componentBody), 1)
351
+ $e(X(i.componentBody), 1)
352
352
  ]),
353
353
  _: 2
354
354
  }, 1040))
355
355
  ], 2);
356
356
  }), 128))
357
- ])) : (g(), E("span", Nl, X(e.message), 1));
357
+ ])) : (g(), E("span", $l, X(e.message), 1));
358
358
  }
359
359
  }), ne = (t, e) => {
360
360
  const l = t.__vccOpts || t;
361
361
  for (const [i, o] of e)
362
362
  l[i] = o;
363
363
  return l;
364
- }, W = /* @__PURE__ */ ne($l, [["__scopeId", "data-v-ff7a8b63"]]), El = {
364
+ }, W = /* @__PURE__ */ ne(El, [["__scopeId", "data-v-ff7a8b63"]]), Ul = {
365
365
  key: 0,
366
366
  for: "#following-v-input"
367
367
  }, ve = /* @__PURE__ */ U({
@@ -381,44 +381,44 @@ const Sl = {
381
381
  },
382
382
  emits: ["update:modelValue", "click:clear"],
383
383
  setup(t, { emit: e }) {
384
- const l = t, i = e, { errors: o, value: a, visibility: p, vuetifyBindings: c } = j(l, i), b = V(() => n(l.clearable) && n(a));
385
- return (v, r) => {
386
- const s = I("v-icon"), d = I("v-input");
387
- return n(p) !== n(H).SUPPRESS ? (g(), E("div", {
384
+ const l = t, i = e, { errors: o, value: a, visibility: f, vuetifyBindings: c } = j(l, i), b = V(() => n(l.clearable) && n(a));
385
+ return (s, m) => {
386
+ const r = I("v-icon"), u = I("v-input");
387
+ return n(f) !== n(H).SUPPRESS ? (g(), E("div", {
388
388
  key: 0,
389
389
  class: le([
390
- v.cssClass,
390
+ s.cssClass,
391
391
  {
392
- "d-none": n(p) === n(H).HIDDEN,
393
- invisible: n(p) === n(H).INVISIBLE
392
+ "d-none": n(f) === n(H).HIDDEN,
393
+ invisible: n(f) === n(H).INVISIBLE
394
394
  }
395
395
  ])
396
396
  }, [
397
- n(c).label ? (g(), E("label", El, X(n(c).label), 1)) : $("", !0),
398
- A(d, {
397
+ n(c).label ? (g(), E("label", Ul, X(n(c).label), 1)) : $("", !0),
398
+ x(u, {
399
399
  hint: n(c).hint,
400
400
  "persistent-hint": n(c).persistentHint,
401
401
  "hide-details": n(c).hideDetails
402
- }, Xe({
403
- message: h(({ message: u }) => [
404
- A(W, {
405
- message: u,
402
+ }, qe({
403
+ message: h(({ message: d }) => [
404
+ x(W, {
405
+ message: d,
406
406
  errors: n(o)
407
407
  }, null, 8, ["message", "errors"])
408
408
  ]),
409
409
  default: h(() => [
410
- qe(v.$slots, "default")
410
+ Ze(s.$slots, "default")
411
411
  ]),
412
412
  _: 2
413
413
  }, [
414
414
  b.value ? {
415
415
  name: "append",
416
416
  fn: h(() => [
417
- A(s, {
418
- onClick: r[0] || (r[0] = (u) => i("click:clear"))
417
+ x(r, {
418
+ onClick: m[0] || (m[0] = (d) => i("click:clear"))
419
419
  }, {
420
- default: h(() => r[1] || (r[1] = [
421
- Ne("mdi-close-circle")
420
+ default: h(() => m[1] || (m[1] = [
421
+ $e("mdi-close-circle")
422
422
  ])),
423
423
  _: 1
424
424
  })
@@ -450,7 +450,7 @@ const Ie = 0;
450
450
  })(R || (R = {}));
451
451
  Object.freeze(R);
452
452
  const Be = ["xs", "sm", "md", "lg", "xl"];
453
- class Ul {
453
+ class Fl {
454
454
  constructor(e) {
455
455
  Y(this, "_value");
456
456
  this._value = this.cleanBreakpoint(e, !0), e && Be.forEach((l) => {
@@ -462,21 +462,24 @@ class Ul {
462
462
  const l = this.cleanBreakpoint(this._value), i = Object.keys(l);
463
463
  for (const o of Be) {
464
464
  const a = this._value[o];
465
- for (const p of i)
466
- (a == null ? void 0 : a[p]) != null && (l[p] = a[p]);
465
+ for (const f of i)
466
+ (a == null ? void 0 : a[f]) != null && (l[f] = a[f]);
467
467
  if (o === e) break;
468
468
  }
469
469
  return l;
470
470
  }
471
471
  }
472
- class Fl extends Ul {
472
+ class Ll extends Fl {
473
473
  // eslint-disable-next-line class-methods-use-this
474
474
  cleanBreakpoint(e, l = !1) {
475
- if ((!e || !tt(e)) && !l) return null;
475
+ if ((!e || !lt(e)) && !l) return null;
476
476
  const i = {};
477
477
  return l && (i.renderAs = R.BUTTON, i.showLabel = !0, i.showIcon = !0), e && (e.renderAs != null && (i.renderAs = R.fromAny(e.renderAs)), de(e.label) && (i.label = e.label), Ve(e.showLabel) && (i.showLabel = e.showLabel), Ve(e.showIcon) && (i.showIcon = e.showIcon)), Object.keys(i).length ? i : null;
478
478
  }
479
479
  }
480
+ function xe(t) {
481
+ return t.xlAndUp.value ? "xl" : t.lgAndUp.value ? "lg" : t.mdAndUp.value ? "md" : t.smAndUp.value ? "sm" : "xs";
482
+ }
480
483
  class ae {
481
484
  constructor(e, l) {
482
485
  Y(this, "name");
@@ -484,7 +487,7 @@ class ae {
484
487
  Y(this, "formAction");
485
488
  if (e.name == null) throw new Error(`Action name must not be empty ${e}`);
486
489
  const i = !de(e.label) || e.label.length === 0 ? void 0 : e.label, o = !de(e.icon) || e.icon.length === 0 ? void 0 : e.icon;
487
- this.name = e.name, this.displayStyle = new Fl(D({ label: i }, e.displayStyle)), this.formAction = l, this.formAction.icon = o, this.formAction.label = i;
490
+ this.name = e.name, this.displayStyle = new Ll(D({ label: i }, e.displayStyle)), this.formAction = l, this.formAction.icon = o, this.formAction.label = i;
488
491
  }
489
492
  get label() {
490
493
  var e;
@@ -505,7 +508,7 @@ class ae {
505
508
  }
506
509
  static makeFormAction(e) {
507
510
  let l;
508
- if (e instanceof at)
511
+ if (e instanceof it)
509
512
  l = re.create().registerAction(e);
510
513
  else if (e === void 0)
511
514
  l = re.create();
@@ -552,10 +555,10 @@ class ae {
552
555
  );
553
556
  }
554
557
  }
555
- const Ll = {
558
+ const Rl = {
556
559
  key: 1,
557
560
  style: { width: ".5rem" }
558
- }, Rl = { key: 2 }, Pl = /* @__PURE__ */ U({
561
+ }, Pl = { key: 2 }, Ol = /* @__PURE__ */ U({
559
562
  __name: "df-actions",
560
563
  props: {
561
564
  actions: {},
@@ -563,64 +566,60 @@ const Ll = {
563
566
  showAsGroup: { default: "no" }
564
567
  },
565
568
  setup(t) {
566
- const e = t, l = G(e.actions) ? e.actions : N(e.actions);
567
- function i(r) {
568
- return r.xlAndUp.value ? "xl" : r.lgAndUp.value ? "lg" : r.mdAndUp.value ? "md" : r.smAndUp.value ? "sm" : "xs";
569
- }
570
- const o = nt(), a = V(() => {
571
- const r = {};
572
- r["%breakpoint%"] = i(o);
573
- for (const s of l.value)
574
- r[s.name] = s.displayStyle.getOptionsForBreakpoint(i(o));
575
- return r;
569
+ const e = t, l = G(e.actions) ? e.actions : N(e.actions), i = ot(), o = V(() => {
570
+ const s = {};
571
+ s["%breakpoint%"] = xe(i);
572
+ for (const m of l.value)
573
+ s[m.name] = m.displayStyle.getOptionsForBreakpoint(xe(i));
574
+ return s;
576
575
  });
577
- function p(r) {
578
- var s;
579
- return (s = a.value[r.name].showIcon && r.iconAvailable) != null ? s : !0;
576
+ function a(s) {
577
+ var m;
578
+ return (m = o.value[s.name].showIcon && s.iconAvailable) != null ? m : !0;
580
579
  }
581
- function c(r) {
582
- return a.value[r.name].showLabel && r.labelAvailable ? !0 : !p(r);
580
+ function f(s) {
581
+ return o.value[s.name].showLabel && s.labelAvailable ? !0 : !a(s);
583
582
  }
584
- function b(r) {
585
- var s;
586
- return (s = a.value[r.name].renderAs) != null ? s : R.BUTTON;
583
+ function c(s) {
584
+ var m;
585
+ return (m = o.value[s.name].renderAs) != null ? m : R.BUTTON;
587
586
  }
588
- function v(r) {
589
- var s;
590
- return r.labelAvailable ? (s = r.formAction.label) != null ? s : "" : r.name;
587
+ function b(s) {
588
+ var m;
589
+ return s.labelAvailable ? (m = s.formAction.label) != null ? m : "" : s.name;
591
590
  }
592
- return (r, s) => {
593
- const d = I("v-btn");
591
+ return (s, m) => {
592
+ const r = I("v-btn");
594
593
  return n(l).length > 0 ? (g(), E("div", {
595
594
  key: 0,
596
595
  class: le(["text-end", {
597
- "button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
598
- "with-border": r.showAsGroup === "grouped"
596
+ "button-group": s.showAsGroup === "grouped" || s.showAsGroup === "grouped-no-borders",
597
+ "with-border": s.showAsGroup === "grouped"
599
598
  }])
600
599
  }, [
601
- (g(!0), E(Se, null, De(n(l), (u, y) => (g(), w(d, {
602
- key: y,
603
- variant: b(u) === n(R).BUTTON ? "tonal" : "text",
600
+ (g(!0), E(De, null, Ne(n(l), (u, d) => (g(), w(r, {
601
+ key: d,
602
+ variant: c(u) === n(R).BUTTON ? "tonal" : "text",
604
603
  elevation: 0,
605
- class: le(y !== -1 ? "" : "ms-3"),
606
- size: r.buttonSize,
607
- onClick: Ze((B) => u.formAction.execute(B), ["stop"])
604
+ class: le(d !== -1 ? "" : "ms-3"),
605
+ size: s.buttonSize,
606
+ onClick: Ye((y) => u.formAction.execute(y), ["stop"])
608
607
  }, {
609
608
  default: h(() => [
610
- p(u) ? (g(), w(n(me), {
609
+ a(u) ? (g(), w(n(me), {
611
610
  key: 0,
612
611
  class: "action-icon",
613
612
  name: u.formAction.icon
614
613
  }, null, 8, ["name"])) : $("", !0),
615
- p(u) && c(u) ? (g(), E("span", Ll)) : $("", !0),
616
- c(u) ? (g(), E("span", Rl, X(v(u)), 1)) : $("", !0)
614
+ a(u) && f(u) ? (g(), E("span", Rl)) : $("", !0),
615
+ f(u) ? (g(), E("span", Pl, X(b(u)), 1)) : $("", !0)
617
616
  ]),
618
617
  _: 2
619
618
  }, 1032, ["variant", "class", "size", "onClick"]))), 128))
620
619
  ], 2)) : $("", !0);
621
620
  };
622
621
  }
623
- }), Ol = /* @__PURE__ */ ne(Pl, [["__scopeId", "data-v-6710d13a"]]), Ml = /* @__PURE__ */ U({
622
+ }), Ml = /* @__PURE__ */ ne(Ol, [["__scopeId", "data-v-d7ba6fac"]]), Hl = /* @__PURE__ */ U({
624
623
  __name: "df-checkbox",
625
624
  props: /* @__PURE__ */ z({
626
625
  allowNull: { type: Boolean },
@@ -638,32 +637,32 @@ const Ll = {
638
637
  }, M(D({}, K), { allowNull: !1 })),
639
638
  emits: ["update:modelValue", "click:clear"],
640
639
  setup(t, { emit: e }) {
641
- const l = t, i = e, { errors: o, value: a, vuetifyBindings: p } = j(l, i), c = V(() => l.allowNull && a.value == null), b = V({
640
+ const l = t, i = e, { errors: o, value: a, vuetifyBindings: f } = j(l, i), c = V(() => l.allowNull && a.value == null), b = V({
642
641
  get() {
643
642
  return a.value;
644
643
  },
645
644
  set() {
646
645
  }
647
646
  });
648
- function v() {
649
- const r = lt(a.value);
650
- r === !0 ? a.value = l.allowNull ? null : !1 : a.value = r === !1;
647
+ function s() {
648
+ const m = nt(a.value);
649
+ m === !0 ? a.value = l.allowNull ? null : !1 : a.value = m === !1;
651
650
  }
652
- return (r, s) => {
653
- const d = I("v-checkbox");
654
- return g(), w(d, L({
651
+ return (m, r) => {
652
+ const u = I("v-checkbox");
653
+ return g(), w(u, L({
655
654
  modelValue: b.value,
656
- "onUpdate:modelValue": s[0] || (s[0] = (u) => b.value = u)
657
- }, n(p), {
655
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => b.value = d)
656
+ }, n(f), {
658
657
  density: "compact",
659
658
  indeterminate: c.value,
660
659
  "false-value": !1,
661
660
  "true-value": !0,
662
- onChange: v
661
+ onChange: s
663
662
  }), {
664
- message: h(({ message: u }) => [
665
- A(n(W), {
666
- message: u,
663
+ message: h(({ message: d }) => [
664
+ x(n(W), {
665
+ message: d,
667
666
  errors: n(o)
668
667
  }, null, 8, ["message", "errors"])
669
668
  ]),
@@ -671,7 +670,7 @@ const Ll = {
671
670
  }, 16, ["modelValue", "indeterminate"]);
672
671
  };
673
672
  }
674
- }), Hl = /* @__PURE__ */ U({
673
+ }), jl = /* @__PURE__ */ U({
675
674
  __name: "df-color",
676
675
  props: /* @__PURE__ */ z({
677
676
  allowNull: { type: Boolean },
@@ -689,30 +688,30 @@ const Ll = {
689
688
  }, M(D({}, K), { allowNull: !1 })),
690
689
  emits: ["update:modelValue", "click:clear"],
691
690
  setup(t, { emit: e }) {
692
- const l = t, i = e, { errors: o, value: a, vuetifyBindings: p } = j(l, i), c = N(!1), b = V(() => [
693
- (v) => !v && l.allowNull || /^#?([a-fA-F0-9]{6}[a-fA-F0-9]{0,2})$/.test(v) ? !0 : "Not a valid hex string."
691
+ const l = t, i = e, { errors: o, value: a, vuetifyBindings: f } = j(l, i), c = N(!1), b = V(() => [
692
+ (s) => !s && l.allowNull || /^#?([a-fA-F0-9]{6}[a-fA-F0-9]{0,2})$/.test(s) ? !0 : "Not a valid hex string."
694
693
  ]);
695
- return (v, r) => {
696
- const s = I("v-text-field"), d = I("v-color-picker"), u = I("v-menu");
697
- return g(), w(u, {
694
+ return (s, m) => {
695
+ const r = I("v-text-field"), u = I("v-color-picker"), d = I("v-menu");
696
+ return g(), w(d, {
698
697
  modelValue: c.value,
699
- "onUpdate:modelValue": r[2] || (r[2] = (y) => c.value = y),
698
+ "onUpdate:modelValue": m[2] || (m[2] = (y) => c.value = y),
700
699
  location: "top start",
701
700
  origin: "bottom start",
702
701
  "close-on-content-click": !1
703
702
  }, {
704
703
  activator: h(({ props: y }) => [
705
- A(s, L({
704
+ x(r, L({
706
705
  modelValue: n(a),
707
- "onUpdate:modelValue": r[0] || (r[0] = (B) => G(a) ? a.value = B : null)
708
- }, D(D({}, n(p)), y), {
709
- clearable: v.allowNull,
706
+ "onUpdate:modelValue": m[0] || (m[0] = (A) => G(a) ? a.value = A : null)
707
+ }, D(D({}, n(f)), y), {
708
+ clearable: s.allowNull,
710
709
  type: "text",
711
710
  rules: b.value
712
711
  }), {
713
- message: h(({ message: B }) => [
714
- A(n(W), {
715
- message: B,
712
+ message: h(({ message: A }) => [
713
+ x(n(W), {
714
+ message: A,
716
715
  errors: n(o)
717
716
  }, null, 8, ["message", "errors"])
718
717
  ]),
@@ -725,9 +724,9 @@ const Ll = {
725
724
  }, 1040, ["modelValue", "clearable", "rules"])
726
725
  ]),
727
726
  default: h(() => [
728
- A(d, {
727
+ x(u, {
729
728
  modelValue: n(a),
730
- "onUpdate:modelValue": r[1] || (r[1] = (y) => G(a) ? a.value = y : null),
729
+ "onUpdate:modelValue": m[1] || (m[1] = (y) => G(a) ? a.value = y : null),
731
730
  mode: "hexa"
732
731
  }, null, 8, ["modelValue"])
733
732
  ]),
@@ -735,7 +734,7 @@ const Ll = {
735
734
  }, 8, ["modelValue"]);
736
735
  };
737
736
  }
738
- }), jl = { class: "d-flex w-100" }, zl = /* @__PURE__ */ U({
737
+ }), zl = { class: "d-flex w-100" }, Kl = /* @__PURE__ */ U({
739
738
  __name: "df-datetime",
740
739
  props: /* @__PURE__ */ z({
741
740
  inputType: {},
@@ -759,95 +758,95 @@ const Ll = {
759
758
  })),
760
759
  emits: ["update:modelValue", "click:clear"],
761
760
  setup(t, { emit: e }) {
762
- const l = t, i = e, { value: o, vuetifyBindings: a } = j(l, i), { inputType: p, displayFormatDate: c, displayFormatTime: b } = ie(l), v = N(""), r = V({
761
+ const l = t, i = e, { value: o, vuetifyBindings: a } = j(l, i), { inputType: f, displayFormatDate: c, displayFormatTime: b } = ie(l), s = N(""), m = V({
763
762
  get() {
764
- return n(v) !== "";
763
+ return n(s) !== "";
765
764
  },
766
- set(f) {
767
- f ? v.value = "date" : v.value = "";
765
+ set(v) {
766
+ v ? s.value = "date" : s.value = "";
768
767
  }
769
- }), s = (f) => `${Q(f, "yyyy-MM-dd")}T${Q(f, "HH:mm")}:00`, d = N(null);
770
- function u(f, m) {
771
- if (f == null)
772
- d.value = null;
773
- else if (m === -1)
774
- if (n(p) === "time")
775
- d.value = s(/* @__PURE__ */ new Date()), u(`T${f}`, 1);
768
+ }), r = (v) => `${Q(v, "yyyy-MM-dd")}T${Q(v, "HH:mm")}:00`, u = N(null);
769
+ function d(v, p) {
770
+ if (v == null)
771
+ u.value = null;
772
+ else if (p === -1)
773
+ if (n(f) === "time")
774
+ u.value = r(/* @__PURE__ */ new Date()), d(`T${v}`, 1);
776
775
  else {
777
- const T = s(new Date(f));
778
- u(T, 0), u(T, 1);
776
+ const T = r(new Date(v));
777
+ d(T, 0), d(T, 1);
779
778
  }
780
779
  else {
781
- d.value == null && (d.value = s(/* @__PURE__ */ new Date()));
782
- const T = d.value.split(/[TZ]/g), F = f.split(/[TZ]/g);
783
- T[m] = F[m], d.value = s(/* @__PURE__ */ new Date(`${T[0]}T${T[1].split(".")[0]}`)), n(p) === "date" ? o.value = T[0] : n(p) === "time" ? o.value = T[1] : o.value = n(d) + Q(/* @__PURE__ */ new Date(), "XXX");
780
+ u.value == null && (u.value = r(/* @__PURE__ */ new Date()));
781
+ const T = u.value.split(/[TZ]/g), F = v.split(/[TZ]/g);
782
+ T[p] = F[p], u.value = r(/* @__PURE__ */ new Date(`${T[0]}T${T[1].split(".")[0]}`)), n(f) === "date" ? o.value = T[0] : n(f) === "time" ? o.value = T[1] : o.value = n(u) + Q(/* @__PURE__ */ new Date(), "XXX");
784
783
  }
785
784
  }
786
- ee(o, (f) => u(f, -1), { immediate: !0 });
785
+ ee(o, (v) => d(v, -1), { immediate: !0 });
787
786
  const y = V({
788
787
  get() {
789
- const f = n(d);
790
- if (f == null) return null;
791
- const m = new Date(f);
792
- return Number.isNaN(m.getTime()) ? null : m;
788
+ const v = n(u);
789
+ if (v == null) return null;
790
+ const p = new Date(v);
791
+ return Number.isNaN(p.getTime()) ? null : p;
793
792
  },
794
- set(f) {
795
- u(s(f), 0);
793
+ set(v) {
794
+ d(r(v), 0);
796
795
  }
797
- }), B = V({
796
+ }), A = V({
798
797
  get() {
799
- const f = n(d);
800
- return f == null ? "" : f.split(/[TZ]/g)[1].split(".")[0];
798
+ const v = n(u);
799
+ return v == null ? "" : v.split(/[TZ]/g)[1].split(".")[0];
801
800
  },
802
- set(f) {
803
- u(`T${f}`, 1);
801
+ set(v) {
802
+ d(`T${v}`, 1);
804
803
  }
805
804
  }), P = V({
806
805
  get() {
807
- const f = n(y);
808
- return f == null ? "" : Q(f, n(c));
806
+ const v = n(y);
807
+ return v == null ? "" : Q(v, n(c));
809
808
  },
810
- set(f) {
809
+ set(v) {
811
810
  try {
812
- const m = st(f, n(c), /* @__PURE__ */ new Date());
813
- u(s(m), 0);
814
- } catch (m) {
815
- console.error(m);
811
+ const p = rt(v, n(c), /* @__PURE__ */ new Date());
812
+ d(r(p), 0);
813
+ } catch (p) {
814
+ console.error(p);
816
815
  }
817
816
  }
818
817
  }), S = V({
819
818
  get() {
820
- const f = n(y);
821
- return f == null ? "" : Q(f, n(b));
819
+ const v = n(y);
820
+ return v == null ? "" : Q(v, n(b));
822
821
  },
823
- set(f) {
824
- const m = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
825
- if (m == null) return;
826
- let T = we(m[1]);
827
- const F = we(m[2]);
828
- ke(T) || ke(F) || (m[3] && m[3].toLowerCase() === "pm" && T < 13 && (T += 12), u(`T${T.toString().padStart(2, "0")}:${F.toString().padStart(2, "0")}:00`, 1));
822
+ set(v) {
823
+ const p = v.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
824
+ if (p == null) return;
825
+ let T = we(p[1]);
826
+ const F = we(p[2]);
827
+ ke(T) || ke(F) || (p[3] && p[3].toLowerCase() === "pm" && T < 13 && (T += 12), d(`T${T.toString().padStart(2, "0")}:${F.toString().padStart(2, "0")}:00`, 1));
829
828
  }
830
829
  });
831
- return (f, m) => {
832
- const T = I("v-text-field"), F = I("v-date-picker"), k = I("v-confirm-edit"), x = I("v-time-picker"), Z = I("v-menu");
830
+ return (v, p) => {
831
+ const T = I("v-text-field"), F = I("v-date-picker"), k = I("v-confirm-edit"), B = I("v-time-picker"), Z = I("v-menu");
833
832
  return g(), w(n(ve), L(l, {
834
833
  clearable: "",
835
- "onClick:clear": m[13] || (m[13] = (C) => o.value = null)
834
+ "onClick:clear": p[13] || (p[13] = (C) => o.value = null)
836
835
  }), {
837
836
  default: h(() => [
838
- A(Z, {
839
- modelValue: r.value,
840
- "onUpdate:modelValue": m[12] || (m[12] = (C) => r.value = C),
837
+ x(Z, {
838
+ modelValue: m.value,
839
+ "onUpdate:modelValue": p[12] || (p[12] = (C) => m.value = C),
841
840
  location: "top start",
842
- origin: `bottom ${n(p) === "datetime" ? "center" : "start"}`,
841
+ origin: `bottom ${n(f) === "datetime" ? "center" : "start"}`,
843
842
  "close-on-content-click": !1
844
843
  }, {
845
844
  activator: h(({ props: C }) => [
846
- q("div", jl, [
847
- ["date", "datetime"].includes(n(p)) ? (g(), w(T, L({
845
+ q("div", zl, [
846
+ ["date", "datetime"].includes(n(f)) ? (g(), w(T, L({
848
847
  key: 0,
849
848
  modelValue: P.value,
850
- "onUpdate:modelValue": m[0] || (m[0] = (_) => P.value = _),
849
+ "onUpdate:modelValue": p[0] || (p[0] = (_) => P.value = _),
851
850
  style: { "flex-grow": "4" },
852
851
  density: n(a).density,
853
852
  variant: n(a).variant,
@@ -857,13 +856,13 @@ const Ll = {
857
856
  disabled: n(a).disabled,
858
857
  name: `${n(a).name}-date`
859
858
  }, C, {
860
- onClick: m[1] || (m[1] = (_) => v.value = "date"),
861
- onKeydown: m[2] || (m[2] = _e((_) => v.value = "date", ["space"]))
859
+ onClick: p[1] || (p[1] = (_) => s.value = "date"),
860
+ onKeydown: p[2] || (p[2] = _e((_) => s.value = "date", ["space"]))
862
861
  }), null, 16, ["modelValue", "density", "variant", "readonly", "disabled", "name"])) : $("", !0),
863
- ["time", "datetime"].includes(n(p)) ? (g(), w(T, L({
862
+ ["time", "datetime"].includes(n(f)) ? (g(), w(T, L({
864
863
  key: 1,
865
864
  modelValue: S.value,
866
- "onUpdate:modelValue": m[3] || (m[3] = (_) => S.value = _),
865
+ "onUpdate:modelValue": p[3] || (p[3] = (_) => S.value = _),
867
866
  style: { "flex-grow": "3" },
868
867
  density: n(a).density,
869
868
  variant: n(a).variant,
@@ -873,21 +872,21 @@ const Ll = {
873
872
  disabled: n(a).disabled,
874
873
  name: `${n(a).name}-time`
875
874
  }, C, {
876
- onClick: m[4] || (m[4] = (_) => v.value = "time"),
877
- onKeydown: m[5] || (m[5] = _e((_) => v.value = "time", ["space"]))
875
+ onClick: p[4] || (p[4] = (_) => s.value = "time"),
876
+ onKeydown: p[5] || (p[5] = _e((_) => s.value = "time", ["space"]))
878
877
  }), null, 16, ["modelValue", "density", "variant", "readonly", "disabled", "name"])) : $("", !0)
879
878
  ])
880
879
  ]),
881
880
  default: h(() => [
882
- v.value === "date" ? (g(), w(k, {
881
+ s.value === "date" ? (g(), w(k, {
883
882
  key: 0,
884
883
  modelValue: y.value,
885
- "onUpdate:modelValue": m[6] || (m[6] = (C) => y.value = C),
886
- onCancel: m[7] || (m[7] = (C) => v.value = ""),
887
- onSave: m[8] || (m[8] = (C) => v.value = "")
884
+ "onUpdate:modelValue": p[6] || (p[6] = (C) => y.value = C),
885
+ onCancel: p[7] || (p[7] = (C) => s.value = ""),
886
+ onSave: p[8] || (p[8] = (C) => s.value = "")
888
887
  }, {
889
888
  default: h(({ model: C, actions: _ }) => [
890
- A(F, {
889
+ x(F, {
891
890
  modelValue: C.value,
892
891
  "onUpdate:modelValue": (O) => C.value = O,
893
892
  "hide-header": !0,
@@ -903,15 +902,15 @@ const Ll = {
903
902
  ]),
904
903
  _: 1
905
904
  }, 8, ["modelValue"])) : $("", !0),
906
- v.value === "time" ? (g(), w(k, {
905
+ s.value === "time" ? (g(), w(k, {
907
906
  key: 1,
908
- modelValue: B.value,
909
- "onUpdate:modelValue": m[9] || (m[9] = (C) => B.value = C),
910
- onCancel: m[10] || (m[10] = (C) => v.value = ""),
911
- onSave: m[11] || (m[11] = (C) => v.value = "")
907
+ modelValue: A.value,
908
+ "onUpdate:modelValue": p[9] || (p[9] = (C) => A.value = C),
909
+ onCancel: p[10] || (p[10] = (C) => s.value = ""),
910
+ onSave: p[11] || (p[11] = (C) => s.value = "")
912
911
  }, {
913
912
  default: h(({ model: C, actions: _ }) => [
914
- A(x, {
913
+ x(B, {
915
914
  modelValue: C.value,
916
915
  "onUpdate:modelValue": (O) => C.value = O,
917
916
  "hide-header": !0,
@@ -933,7 +932,7 @@ const Ll = {
933
932
  }, 16);
934
933
  };
935
934
  }
936
- }), Kl = { style: { position: "relative", width: "100%" } }, Gl = /* @__PURE__ */ U({
935
+ }), Gl = { style: { position: "relative", width: "100%" } }, Wl = /* @__PURE__ */ U({
937
936
  __name: "df-file",
938
937
  props: /* @__PURE__ */ z({
939
938
  comms: {},
@@ -951,63 +950,63 @@ const Ll = {
951
950
  }, K),
952
951
  emits: ["update:modelValue", "click:clear"],
953
952
  setup(t, { emit: e }) {
954
- const l = t, i = e, { value: o, vuetifyBindings: a } = j(l, i), p = N(null), c = N(null), b = N(0), v = N(Math.round(Math.random() * 1e3)), r = N(), s = V(() => !r.value && o.value ? l.modelValue : "");
955
- function d() {
956
- p.value && window.clearInterval(p.value);
957
- }
953
+ const l = t, i = e, { value: o, vuetifyBindings: a } = j(l, i), f = N(null), c = N(null), b = N(0), s = N(Math.round(Math.random() * 1e3)), m = N(), r = V(() => !m.value && o.value ? l.modelValue : "");
958
954
  function u() {
959
- d(), p.value = window.setInterval(() => {
955
+ f.value && window.clearInterval(f.value);
956
+ }
957
+ function d() {
958
+ u(), f.value = window.setInterval(() => {
960
959
  o.value && l.comms.touch(o.value);
961
960
  }, 60 * 1e3);
962
961
  }
963
- Ae(() => d()), ee(o, (S) => {
964
- S ? u() : d();
962
+ Se(() => u()), ee(o, (S) => {
963
+ S ? d() : u();
965
964
  });
966
965
  function y() {
967
966
  return oe(this, null, function* () {
968
- o.value && (yield l.comms.delete(o.value)), o.value = null, b.value = 0, v.value = Math.round(Math.random() * 1e3), c.value = null, r.value = null, d();
967
+ o.value && (yield l.comms.delete(o.value)), o.value = null, b.value = 0, s.value = Math.round(Math.random() * 1e3), c.value = null, m.value = null, u();
969
968
  });
970
969
  }
971
- function B(S) {
970
+ function A(S) {
972
971
  return oe(this, null, function* () {
973
972
  b.value = -1, c.value = S;
974
973
  try {
975
974
  o.value = yield l.comms.upload(
976
975
  S,
977
- (f, m) => {
978
- b.value = Math.round(f * 100 / m);
976
+ (v, p) => {
977
+ b.value = Math.round(v * 100 / p);
979
978
  }
980
- ), b.value = 100, u();
981
- } catch (f) {
982
- throw b.value = 0, c.value = null, v.value = Math.round(Math.random() * 1e3), r.value = null, f;
979
+ ), b.value = 100, d();
980
+ } catch (v) {
981
+ throw b.value = 0, c.value = null, s.value = Math.round(Math.random() * 1e3), m.value = null, v;
983
982
  }
984
983
  });
985
984
  }
986
985
  function P(S) {
987
- S && (Array.isArray(S) ? console.error("Uploading multiple files not supported right now") : B(S));
986
+ S && (Array.isArray(S) ? console.error("Uploading multiple files not supported right now") : A(S));
988
987
  }
989
- return (S, f) => {
990
- const m = I("v-progress-linear"), T = I("v-file-input");
988
+ return (S, v) => {
989
+ const p = I("v-progress-linear"), T = I("v-file-input");
991
990
  return g(), w(n(ve), L(l, {
992
991
  clearable: "",
993
992
  "onClick:clear": y
994
993
  }), {
995
994
  default: h(() => [
996
- q("div", Kl, [
997
- c.value && b.value < 100 ? (g(), w(m, {
995
+ q("div", Gl, [
996
+ c.value && b.value < 100 ? (g(), w(p, {
998
997
  key: 0,
999
998
  "model-value": b.value,
1000
999
  indeterminate: b.value === -1,
1001
1000
  height: "10",
1002
1001
  style: { position: "absolute", top: "50%", transform: "translateY(-50%)", width: "100%" }
1003
1002
  }, null, 8, ["model-value", "indeterminate"])) : $("", !0),
1004
- A(T, {
1005
- modelValue: r.value,
1003
+ x(T, {
1004
+ modelValue: m.value,
1006
1005
  "onUpdate:modelValue": [
1007
- f[0] || (f[0] = (F) => r.value = F),
1006
+ v[0] || (v[0] = (F) => m.value = F),
1008
1007
  P
1009
1008
  ],
1010
- label: s.value,
1009
+ label: r.value,
1011
1010
  density: n(a).density,
1012
1011
  variant: n(a).variant,
1013
1012
  readonly: n(a).readonly,
@@ -1025,7 +1024,7 @@ const Ll = {
1025
1024
  }, 16);
1026
1025
  };
1027
1026
  }
1028
- }), Wl = { class: "container" }, Xl = /* @__PURE__ */ U({
1027
+ }), Xl = { class: "container" }, ql = /* @__PURE__ */ U({
1029
1028
  __name: "df-input",
1030
1029
  props: /* @__PURE__ */ z({
1031
1030
  inputType: {},
@@ -1053,21 +1052,21 @@ const Ll = {
1053
1052
  })),
1054
1053
  emits: ["update:modelValue", "click:clear"],
1055
1054
  setup(t, { emit: e }) {
1056
- const l = t, i = e, { errors: o, value: a, vuetifyBindings: p } = j(l, i), { inputType: c, max: b, min: v, precision: r, step: s } = ie(l), d = V(() => c.value === "number"), u = V(() => d.value ? { min: n(v), max: n(b), precision: n(r), step: n(s) } : {});
1057
- return (y, B) => {
1055
+ const l = t, i = e, { errors: o, value: a, vuetifyBindings: f } = j(l, i), { inputType: c, max: b, min: s, precision: m, step: r } = ie(l), u = V(() => c.value === "number"), d = V(() => u.value ? { min: n(s), max: n(b), precision: n(m), step: n(r) } : {});
1056
+ return (y, A) => {
1058
1057
  const P = I("v-text-field"), S = I("v-number-input");
1059
- return g(), E("div", Wl, [
1060
- d.value ? (g(), w(S, L({
1058
+ return g(), E("div", Xl, [
1059
+ u.value ? (g(), w(S, L({
1061
1060
  key: 1,
1062
1061
  modelValue: n(a),
1063
- "onUpdate:modelValue": B[1] || (B[1] = (f) => G(a) ? a.value = f : null)
1064
- }, D(D({}, n(p)), u.value), {
1062
+ "onUpdate:modelValue": A[1] || (A[1] = (v) => G(a) ? a.value = v : null)
1063
+ }, D(D({}, n(f)), d.value), {
1065
1064
  density: "compact",
1066
1065
  "control-variant": "stacked"
1067
1066
  }), {
1068
- message: h(({ message: f }) => [
1069
- A(n(W), {
1070
- message: f,
1067
+ message: h(({ message: v }) => [
1068
+ x(n(W), {
1069
+ message: v,
1071
1070
  errors: n(o)
1072
1071
  }, null, 8, ["message", "errors"])
1073
1072
  ]),
@@ -1075,11 +1074,11 @@ const Ll = {
1075
1074
  }, 16, ["modelValue"])) : (g(), w(P, L({
1076
1075
  key: 0,
1077
1076
  modelValue: n(a),
1078
- "onUpdate:modelValue": B[0] || (B[0] = (f) => G(a) ? a.value = f : null)
1079
- }, n(p), { type: n(c) }), {
1080
- message: h(({ message: f }) => [
1081
- A(n(W), {
1082
- message: f,
1077
+ "onUpdate:modelValue": A[0] || (A[0] = (v) => G(a) ? a.value = v : null)
1078
+ }, n(f), { type: n(c) }), {
1079
+ message: h(({ message: v }) => [
1080
+ x(n(W), {
1081
+ message: v,
1083
1082
  errors: n(o)
1084
1083
  }, null, 8, ["message", "errors"])
1085
1084
  ]),
@@ -1088,7 +1087,7 @@ const Ll = {
1088
1087
  ]);
1089
1088
  };
1090
1089
  }
1091
- }), ql = /* @__PURE__ */ ne(Xl, [["__scopeId", "data-v-aa68213c"]]), Zl = { class: "editor-container" }, Yl = { class: "editor-container__editor" }, Ql = { ref: "editorElement" }, Jl = /* @__PURE__ */ U({
1090
+ }), Zl = /* @__PURE__ */ ne(ql, [["__scopeId", "data-v-aa68213c"]]), Yl = { class: "editor-container" }, Ql = { class: "editor-container__editor" }, Jl = { ref: "editorElement" }, en = /* @__PURE__ */ U({
1092
1091
  __name: "ck-editor-custom",
1093
1092
  props: {
1094
1093
  modelValue: { default: "" },
@@ -1097,10 +1096,10 @@ const Ll = {
1097
1096
  },
1098
1097
  emits: ["update:modelValue"],
1099
1098
  setup(t, { expose: e, emit: l }) {
1100
- Ye((s) => ({
1101
- "3d4d5a06": s.minHeight
1099
+ Qe((r) => ({
1100
+ "3d4d5a06": r.minHeight
1102
1101
  }));
1103
- const i = l, o = N(!1), a = qt, v = {
1102
+ const i = l, o = N(!1), a = Zt, s = {
1104
1103
  toolbar: {
1105
1104
  items: [
1106
1105
  "undo",
@@ -1132,7 +1131,6 @@ const Ll = {
1132
1131
  shouldNotGroupWhenFull: !1
1133
1132
  },
1134
1133
  plugins: [
1135
- rt,
1136
1134
  ut,
1137
1135
  ct,
1138
1136
  dt,
@@ -1172,7 +1170,8 @@ const Ll = {
1172
1170
  Kt,
1173
1171
  Gt,
1174
1172
  Wt,
1175
- Xt
1173
+ Xt,
1174
+ qt
1176
1175
  ],
1177
1176
  balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
1178
1177
  heading: {
@@ -1231,32 +1230,32 @@ const Ll = {
1231
1230
  },
1232
1231
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
1233
1232
  };
1234
- xe(() => {
1233
+ Ae(() => {
1235
1234
  o.value = !0;
1236
1235
  });
1237
- const r = (s) => {
1236
+ const m = (r) => {
1238
1237
  };
1239
- return e({ onEditorReady: r }), (s, d) => {
1240
- const u = I("ckeditor");
1241
- return g(), E("div", Zl, [
1242
- q("div", Yl, [
1243
- q("div", Ql, [
1244
- o.value ? (g(), w(u, {
1238
+ return e({ onEditorReady: m }), (r, u) => {
1239
+ const d = I("ckeditor");
1240
+ return g(), E("div", Yl, [
1241
+ q("div", Ql, [
1242
+ q("div", Jl, [
1243
+ o.value ? (g(), w(d, {
1245
1244
  key: 0,
1246
- "model-value": s.modelValue,
1245
+ "model-value": r.modelValue,
1247
1246
  editor: n(a),
1248
- config: v,
1249
- disabled: s.disabled,
1250
- style: fe(`min-height: ${s.minHeight}`),
1251
- onReady: r,
1252
- "onUpdate:modelValue": d[0] || (d[0] = (y) => i("update:modelValue", y))
1247
+ config: s,
1248
+ disabled: r.disabled,
1249
+ style: fe(`min-height: ${r.minHeight}`),
1250
+ onReady: m,
1251
+ "onUpdate:modelValue": u[0] || (u[0] = (y) => i("update:modelValue", y))
1253
1252
  }, null, 8, ["model-value", "editor", "disabled", "style"])) : $("", !0)
1254
1253
  ], 512)
1255
1254
  ])
1256
1255
  ]);
1257
1256
  };
1258
1257
  }
1259
- }), en = /* @__PURE__ */ U({
1258
+ }), tn = /* @__PURE__ */ U({
1260
1259
  __name: "df-rtf-editor",
1261
1260
  props: /* @__PURE__ */ z({
1262
1261
  minHeight: {},
@@ -1275,13 +1274,13 @@ const Ll = {
1275
1274
  emits: ["update:modelValue", "click:clear"],
1276
1275
  setup(t, { emit: e }) {
1277
1276
  const l = t, i = e, { value: o, vuetifyBindings: a } = j(l, i);
1278
- return (p, c) => (g(), w(n(ve), $e(Ee(l)), {
1277
+ return (f, c) => (g(), w(n(ve), Ee(Ue(l)), {
1279
1278
  default: h(() => [
1280
- A(Jl, {
1279
+ x(en, {
1281
1280
  ref: "$editor",
1282
1281
  modelValue: n(o),
1283
1282
  "onUpdate:modelValue": c[0] || (c[0] = (b) => G(o) ? o.value = b : null),
1284
- "min-height": p.minHeight,
1283
+ "min-height": f.minHeight,
1285
1284
  disabled: n(a).disabled
1286
1285
  }, null, 8, ["modelValue", "min-height", "disabled"])
1287
1286
  ]),
@@ -1289,20 +1288,20 @@ const Ll = {
1289
1288
  }, 16));
1290
1289
  }
1291
1290
  });
1292
- function tn(t) {
1291
+ function ln(t) {
1293
1292
  return t.map((e) => ({ value: e.id, title: e.text, icon: e.icon }));
1294
1293
  }
1295
1294
  function J(t, e) {
1296
1295
  var l;
1297
- return t == null || Te(t) && t.length === 0 ? null : e ? Ue(t) : Te(t) ? (l = Fe(t)) != null ? l : null : t;
1296
+ return t == null || Te(t) && t.length === 0 ? null : e ? Fe(t) : Te(t) ? (l = Le(t)) != null ? l : null : t;
1298
1297
  }
1299
1298
  function pe(t, e) {
1300
1299
  if (e == null) return [];
1301
- const l = Ue(e);
1300
+ const l = Fe(e);
1302
1301
  return t.filter((i) => l.some((o) => o === i.id));
1303
1302
  }
1304
1303
  function ce(t, e, l, i, o) {
1305
- var p;
1304
+ var f;
1306
1305
  const a = J(t, l);
1307
1306
  if (a == null) {
1308
1307
  e.value = l ? [] : null;
@@ -1313,14 +1312,14 @@ function ce(t, e, l, i, o) {
1313
1312
  else if (i)
1314
1313
  e.value = a;
1315
1314
  else {
1316
- const c = Fe(pe(o, a));
1317
- e.value = (p = c == null ? void 0 : c.id) != null ? p : null;
1315
+ const c = Le(pe(o, a));
1316
+ e.value = (f = c == null ? void 0 : c.id) != null ? f : null;
1318
1317
  }
1319
1318
  }
1320
- const ln = {
1319
+ const nn = {
1321
1320
  key: 0,
1322
1321
  class: "me-1"
1323
- }, nn = /* @__PURE__ */ U({
1322
+ }, on = /* @__PURE__ */ U({
1324
1323
  __name: "df-select",
1325
1324
  props: /* @__PURE__ */ z({
1326
1325
  choices: {},
@@ -1348,49 +1347,49 @@ const ln = {
1348
1347
  })),
1349
1348
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
1350
1349
  setup(t, { emit: e }) {
1351
- const l = t, { choices: i } = l, { multiple: o, allowTags: a, allowNull: p, cssClass: c, visibility: b } = ie(l), v = e, { errors: r, value: s, vuetifyBindings: d } = j(l, v), u = N(null), y = N(i || []), B = N(!1), P = V(() => tn(y.value));
1350
+ const l = t, { choices: i } = l, { multiple: o, allowTags: a, allowNull: f, cssClass: c, visibility: b } = ie(l), s = e, { errors: m, value: r, vuetifyBindings: u } = j(l, s), d = N(null), y = N(i || []), A = N(!1), P = V(() => ln(y.value));
1352
1351
  function S(k) {
1353
- v("update:modelValueDisplay", pe(y.value, k));
1352
+ s("update:modelValueDisplay", pe(y.value, k));
1354
1353
  }
1355
- ee(u, (k) => {
1356
- d.value.readonly || Qe(() => {
1357
- const x = J(k, o.value);
1358
- S(x), s.value = x;
1354
+ ee(d, (k) => {
1355
+ u.value.readonly || Je(() => {
1356
+ const B = J(k, o.value);
1357
+ S(B), r.value = B;
1359
1358
  });
1360
1359
  }, { deep: !0 });
1361
- function f() {
1362
- if (d.value.readonly || a.value) return;
1363
- const k = J(u.value, o.value);
1364
- ce(k, u, o.value, !1, y.value), s.value = k;
1360
+ function v() {
1361
+ if (u.value.readonly || a.value) return;
1362
+ const k = J(d.value, o.value);
1363
+ ce(k, d, o.value, !1, y.value), r.value = k;
1365
1364
  }
1366
- function m(k) {
1367
- let x;
1368
- o.value && Array.isArray(u.value) ? x = J(u.value.filter((Z) => Z !== k), o.value) : x = null, ce(x, u, o.value, !1, y.value), s.value = x;
1365
+ function p(k) {
1366
+ let B;
1367
+ o.value && Array.isArray(d.value) ? B = J(d.value.filter((Z) => Z !== k), o.value) : B = null, ce(B, d, o.value, !1, y.value), r.value = B;
1369
1368
  }
1370
- function T(k, x) {
1369
+ function T(k, B) {
1371
1370
  return oe(this, null, function* () {
1372
1371
  if (!(i || l.fetchChoices === void 0)) {
1373
- B.value = !0;
1372
+ A.value = !0;
1374
1373
  try {
1375
- y.value = yield l.fetchChoices(k, x);
1374
+ y.value = yield l.fetchChoices(k, B);
1376
1375
  } finally {
1377
- B.value = !1;
1376
+ A.value = !1;
1378
1377
  }
1379
1378
  }
1380
1379
  });
1381
1380
  }
1382
1381
  function F() {
1383
- let k = s.value;
1384
- !p.value && k == null && P.value.length && (k = P.value[0].value), k = J(k, o.value), ce(k, u, o.value, a.value, y.value), S(k), s.value = k;
1382
+ let k = r.value;
1383
+ !f.value && k == null && P.value.length && (k = P.value[0].value), k = J(k, o.value), ce(k, d, o.value, a.value, y.value), S(k), r.value = k;
1385
1384
  }
1386
- return F(), l.fetchChoices !== void 0 && T(void 0, s.value).then(() => {
1385
+ return F(), l.fetchChoices !== void 0 && T(void 0, r.value).then(() => {
1387
1386
  F();
1388
- }), (k, x) => {
1387
+ }), (k, B) => {
1389
1388
  const Z = I("v-chip"), C = I("v-list-item");
1390
1389
  return n(b) !== n(H).SUPPRESS ? (g(), w(te(n(a) ? "v-combobox" : "v-autocomplete"), L({
1391
1390
  key: 0,
1392
- modelValue: u.value,
1393
- "onUpdate:modelValue": x[0] || (x[0] = (_) => u.value = _),
1391
+ modelValue: d.value,
1392
+ "onUpdate:modelValue": B[0] || (B[0] = (_) => d.value = _),
1394
1393
  class: [
1395
1394
  n(c),
1396
1395
  {
@@ -1400,21 +1399,21 @@ const ln = {
1400
1399
  ],
1401
1400
  items: P.value,
1402
1401
  "return-object": !1
1403
- }, n(d), {
1404
- label: n(d).label,
1402
+ }, n(u), {
1403
+ label: n(u).label,
1405
1404
  chips: "",
1406
1405
  "auto-select-first": !0,
1407
- "closable-chips": n(p) || n(o) && u.value.length > 1,
1408
- clearable: n(p),
1406
+ "closable-chips": n(f) || n(o) && d.value.length > 1,
1407
+ clearable: n(f),
1409
1408
  multiple: n(o),
1410
- loading: B.value,
1409
+ loading: A.value,
1411
1410
  "hide-selected": !1,
1412
- "aria-describedby": n(d).helpText ? `${n(d).name}-help` : null,
1411
+ "aria-describedby": n(u).helpText ? `${n(u).name}-help` : null,
1413
1412
  "menu-props": { maxHeight: "400" },
1414
1413
  "hide-details": "auto",
1415
- "onUpdate:search": x[1] || (x[1] = (_) => T(_, void 0)),
1416
- "onUpdate:modelValue": f,
1417
- "onClick:clear": x[2] || (x[2] = (_) => u.value = null)
1414
+ "onUpdate:search": B[1] || (B[1] = (_) => T(_, void 0)),
1415
+ "onUpdate:modelValue": v,
1416
+ "onClick:clear": B[2] || (B[2] = (_) => d.value = null)
1418
1417
  }), {
1419
1418
  chip: h(({ item: _ }) => [
1420
1419
  (g(), w(Z, {
@@ -1424,7 +1423,7 @@ const ln = {
1424
1423
  class: "d-flex align-middle",
1425
1424
  variant: n(o) ? "tonal" : "text",
1426
1425
  closable: n(o),
1427
- "onClick:close": (O) => m(_.value)
1426
+ "onClick:close": (O) => p(_.value)
1428
1427
  }, {
1429
1428
  prepend: h(() => {
1430
1429
  var O;
@@ -1445,12 +1444,12 @@ const ln = {
1445
1444
  }, 1032, ["variant", "closable", "onClick:close"]))
1446
1445
  ]),
1447
1446
  item: h(({ props: _, item: O }) => [
1448
- A(C, $e(Ee(_)), {
1447
+ x(C, Ee(Ue(_)), {
1449
1448
  prepend: h(() => {
1450
1449
  var be;
1451
1450
  return [
1452
- (be = O.raw) != null && be.icon ? (g(), E("span", ln, [
1453
- A(n(me), {
1451
+ (be = O.raw) != null && be.icon ? (g(), E("span", nn, [
1452
+ x(n(me), {
1454
1453
  class: "action-icon d-inline-block",
1455
1454
  name: O.raw.icon
1456
1455
  }, null, 8, ["name"])
@@ -1461,16 +1460,16 @@ const ln = {
1461
1460
  }, 1040)
1462
1461
  ]),
1463
1462
  message: h(({ message: _ }) => [
1464
- A(n(W), {
1463
+ x(n(W), {
1465
1464
  message: _,
1466
- errors: n(r)
1465
+ errors: n(m)
1467
1466
  }, null, 8, ["message", "errors"])
1468
1467
  ]),
1469
1468
  _: 1
1470
1469
  }, 16, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : $("", !0);
1471
1470
  };
1472
1471
  }
1473
- }), on = /* @__PURE__ */ ne(nn, [["__scopeId", "data-v-efe3f250"]]), an = { class: "container" }, sn = /* @__PURE__ */ U({
1472
+ }), an = /* @__PURE__ */ ne(on, [["__scopeId", "data-v-efe3f250"]]), sn = { class: "container" }, rn = /* @__PURE__ */ U({
1474
1473
  __name: "df-text-area",
1475
1474
  props: /* @__PURE__ */ z({
1476
1475
  rows: {},
@@ -1492,14 +1491,14 @@ const ln = {
1492
1491
  })),
1493
1492
  emits: ["update:modelValue", "click:clear"],
1494
1493
  setup(t, { emit: e }) {
1495
- const l = t, i = e, { errors: o, value: a, vuetifyBindings: p } = j(l, i), { cssClass: c, visibility: b } = ie(l);
1496
- return (v, r) => {
1497
- const s = I("v-textarea");
1498
- return g(), E("div", an, [
1499
- n(b) !== n(H).SUPPRESS ? (g(), w(s, L({
1494
+ const l = t, i = e, { errors: o, value: a, vuetifyBindings: f } = j(l, i), { cssClass: c, visibility: b } = ie(l);
1495
+ return (s, m) => {
1496
+ const r = I("v-textarea");
1497
+ return g(), E("div", sn, [
1498
+ n(b) !== n(H).SUPPRESS ? (g(), w(r, L({
1500
1499
  key: 0,
1501
1500
  modelValue: n(a),
1502
- "onUpdate:modelValue": r[0] || (r[0] = (d) => G(a) ? a.value = d : null),
1501
+ "onUpdate:modelValue": m[0] || (m[0] = (u) => G(a) ? a.value = u : null),
1503
1502
  class: [
1504
1503
  n(c),
1505
1504
  {
@@ -1507,13 +1506,13 @@ const ln = {
1507
1506
  invisible: n(b) === n(H).INVISIBLE
1508
1507
  }
1509
1508
  ],
1510
- rows: v.rows,
1511
- "auto-grow": (v.maxRows || 0) > 0,
1512
- "max-rows": v.maxRows
1513
- }, n(p)), {
1514
- message: h(({ message: d }) => [
1515
- A(n(W), {
1516
- message: d,
1509
+ rows: s.rows,
1510
+ "auto-grow": (s.maxRows || 0) > 0,
1511
+ "max-rows": s.maxRows
1512
+ }, n(f)), {
1513
+ message: h(({ message: u }) => [
1514
+ x(n(W), {
1515
+ message: u,
1517
1516
  errors: n(o)
1518
1517
  }, null, 8, ["message", "errors"])
1519
1518
  ]),
@@ -1522,67 +1521,68 @@ const ln = {
1522
1521
  ]);
1523
1522
  };
1524
1523
  }
1525
- }), rn = /* @__PURE__ */ ne(sn, [["__scopeId", "data-v-1a04c9b5"]]), un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1524
+ }), un = /* @__PURE__ */ ne(rn, [["__scopeId", "data-v-1a04c9b5"]]), cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1526
1525
  __proto__: null,
1527
- DfActions: Ol,
1528
- DfCheckbox: Ml,
1529
- DfColor: Hl,
1530
- DfDateTime: zl,
1531
- DfFile: Gl,
1532
- DfInput: ql,
1533
- DfRtfEditor: en,
1534
- DfSelect: on,
1535
- DfTextArea: rn
1536
- }, Symbol.toStringTag, { value: "Module" })), cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1526
+ DfActions: Ml,
1527
+ DfCheckbox: Hl,
1528
+ DfColor: jl,
1529
+ DfDateTime: Kl,
1530
+ DfFile: Wl,
1531
+ DfInput: Zl,
1532
+ DfRtfEditor: tn,
1533
+ DfSelect: an,
1534
+ DfTextArea: un
1535
+ }, Symbol.toStringTag, { value: "Module" })), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1537
1536
  __proto__: null,
1538
- VAutocomplete: Zt,
1539
- VBtn: Yt,
1540
- VCheckbox: Qt,
1541
- VChip: Jt,
1542
- VCol: al,
1543
- VColorPicker: tl,
1544
- VCombobox: el,
1545
- VConfirmEdit: ll,
1546
- VDatePicker: nl,
1547
- VFileInput: ol,
1548
- VIcon: sl,
1549
- VInput: rl,
1550
- VListItem: ul,
1551
- VMenu: cl,
1552
- VNumberInput: dl,
1553
- VProgressLinear: ml,
1554
- VRow: il,
1555
- VSelect: pl,
1556
- VSwitch: fl,
1557
- VTextField: bl,
1558
- VTextarea: vl,
1559
- VTimePicker: gl
1560
- }, Symbol.toStringTag, { value: "Module" })), Mn = {
1537
+ VAutocomplete: Yt,
1538
+ VBtn: Qt,
1539
+ VCheckbox: Jt,
1540
+ VChip: el,
1541
+ VCol: il,
1542
+ VColorPicker: ll,
1543
+ VCombobox: tl,
1544
+ VConfirmEdit: nl,
1545
+ VDatePicker: ol,
1546
+ VFileInput: al,
1547
+ VIcon: rl,
1548
+ VInput: ul,
1549
+ VListItem: cl,
1550
+ VMenu: dl,
1551
+ VNumberInput: ml,
1552
+ VProgressLinear: pl,
1553
+ VRow: sl,
1554
+ VSelect: fl,
1555
+ VSwitch: vl,
1556
+ VTextField: gl,
1557
+ VTextarea: bl,
1558
+ VTimePicker: hl
1559
+ }, Symbol.toStringTag, { value: "Module" })), Hn = {
1561
1560
  install: (t, e) => {
1562
1561
  var l, i;
1563
- t.use(Al), (l = e == null ? void 0 : e.registerComponents) != null && l && Object.entries(un).map(([o, a]) => t.component(o, a)), (i = e == null ? void 0 : e.registerVuetifyComponents) != null && i && Object.entries(cn).map(([o, a]) => t.component(o, a));
1562
+ t.use(Sl), (l = e == null ? void 0 : e.registerComponents) != null && l && Object.entries(cn).map(([o, a]) => t.component(o, a)), (i = e == null ? void 0 : e.registerVuetifyComponents) != null && i && Object.entries(dn).map(([o, a]) => t.component(o, a));
1564
1563
  }
1565
1564
  };
1566
1565
  export {
1567
1566
  ae as Action,
1568
1567
  R as ActionDisplayStyle,
1569
- Ol as DfActions,
1570
- Ml as DfCheckbox,
1571
- Hl as DfColor,
1572
- zl as DfDateTime,
1573
- Gl as DfFile,
1574
- ql as DfInput,
1575
- en as DfRtfEditor,
1576
- on as DfSelect,
1577
- rn as DfTextArea,
1578
- Mn as DynamicFormsInputs,
1568
+ Ml as DfActions,
1569
+ Hl as DfCheckbox,
1570
+ jl as DfColor,
1571
+ Kl as DfDateTime,
1572
+ Wl as DfFile,
1573
+ Zl as DfInput,
1574
+ tn as DfRtfEditor,
1575
+ an as DfSelect,
1576
+ un as DfTextArea,
1577
+ Hn as DynamicFormsInputs,
1579
1578
  ve as InputBase,
1580
1579
  W as MessagesWidget,
1581
- Fl as ResponsiveLabelRenderOptions,
1582
- Ul as ResponsiveRenderOptions,
1583
- cn as VuetifyComponents,
1580
+ Ll as ResponsiveLabelRenderOptions,
1581
+ Fl as ResponsiveRenderOptions,
1582
+ dn as VuetifyComponents,
1584
1583
  K as defaultBaseProps,
1585
1584
  Ie as defaultDisplayStyle,
1585
+ xe as getBreakpointName,
1586
1586
  Be as responsiveBreakpoints,
1587
1587
  j as useInputBase
1588
1588
  };