@dynamicforms/vuetify-inputs 0.4.2 → 0.4.4

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,64 +1,64 @@
1
- var We = Object.defineProperty, Xe = Object.defineProperties;
2
- var qe = Object.getOwnPropertyDescriptors;
3
- var Ce = Object.getOwnPropertySymbols;
4
- var Ze = Object.prototype.hasOwnProperty, Qe = Object.prototype.propertyIsEnumerable;
5
- var ge = (l, e, n) => e in l ? We(l, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[e] = n, N = (l, e) => {
1
+ var Ye = Object.defineProperty, Je = Object.defineProperties;
2
+ var el = Object.getOwnPropertyDescriptors;
3
+ var Ae = Object.getOwnPropertySymbols;
4
+ var ll = Object.prototype.hasOwnProperty, tl = Object.prototype.propertyIsEnumerable;
5
+ var Ve = (l, e, n) => e in l ? Ye(l, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[e] = n, N = (l, e) => {
6
6
  for (var n in e || (e = {}))
7
- Ze.call(e, n) && ge(l, n, e[n]);
8
- if (Ce)
9
- for (var n of Ce(e))
10
- Qe.call(e, n) && ge(l, n, e[n]);
7
+ ll.call(e, n) && Ve(l, n, e[n]);
8
+ if (Ae)
9
+ for (var n of Ae(e))
10
+ tl.call(e, n) && Ve(l, n, e[n]);
11
11
  return l;
12
- }, H = (l, e) => Xe(l, qe(e));
13
- var ue = (l, e, n) => ge(l, typeof e != "symbol" ? e + "" : e, n);
14
- var me = (l, e, n) => new Promise((a, o) => {
15
- var i = (g) => {
12
+ }, P = (l, e) => Je(l, el(e));
13
+ var ce = (l, e, n) => Ve(l, typeof e != "symbol" ? e + "" : e, n);
14
+ var ve = (l, e, n) => new Promise((a, o) => {
15
+ var s = (g) => {
16
16
  try {
17
17
  r(n.next(g));
18
- } catch (s) {
19
- o(s);
18
+ } catch (i) {
19
+ o(i);
20
20
  }
21
21
  }, y = (g) => {
22
22
  try {
23
23
  r(n.throw(g));
24
- } catch (s) {
25
- o(s);
24
+ } catch (i) {
25
+ o(i);
26
26
  }
27
- }, r = (g) => g.done ? a(g.value) : Promise.resolve(g.value).then(i, y);
27
+ }, r = (g) => g.done ? a(g.value) : Promise.resolve(g.value).then(s, y);
28
28
  r((n = n.apply(l, e)).next());
29
29
  });
30
- import * as Be from "vue";
31
- import { defineComponent as F, mergeModels as Ie, useModel as Ye, ref as D, watch as ce, onMounted as Le, markRaw as Je, onBeforeUnmount as Re, createBlock as I, openBlock as V, resolveDynamicComponent as se, version as el, resolveComponent as A, createElementBlock as U, createCommentVNode as E, createTextVNode as Oe, Fragment as ke, toDisplayString as ie, inject as ll, computed as C, renderList as Pe, normalizeClass as re, unref as t, mergeProps as K, withCtx as _, createSlots as X, createVNode as B, renderSlot as ae, normalizeProps as G, guardReactiveProps as W, createElementVNode as Y, isRef as J, withModifiers as tl, mergeDefaults as q, normalizeStyle as we, toRefs as be, withKeys as $e, useCssVars as nl, nextTick as ol } from "vue";
32
- import { debounce as al, isString as ve, isEmpty as il, isObjectLike as sl, isBoolean as Ae, clone as rl, toNumber as Se, isNaN as De, isArray as xe, castArray as Me, first as He, unionBy as ul } from "lodash-es";
33
- import Ve from "vue-ionicon";
34
- import { useDisplay as dl } from "vuetify";
35
- import Ne, { ValidationErrorRenderContent as cl, DisplayMode as j, ExecuteAction as ml, Action as ye } from "@dynamicforms/vue-forms";
36
- import pl from "vue-markdown-render";
37
- import { format as de, parse as vl } from "date-fns";
38
- import { AccessibilityHelp as fl, Alignment as bl, AutoImage as gl, AutoLink as yl, Autosave as hl, BalloonToolbar as _l, BlockQuote as Vl, Bold as kl, CloudServices as wl, Essentials as Tl, GeneralHtmlSupport as Cl, Heading as Bl, HorizontalLine as Il, ImageBlock as $l, ImageCaption as Al, ImageInline as Sl, ImageInsertViaUrl as Dl, ImageResize as xl, ImageStyle as Nl, ImageToolbar as Ul, ImageUpload as El, Indent as Fl, IndentBlock as Ll, Italic as Rl, Link as Ol, List as Pl, Autoformat as Ml, MediaEmbed as Hl, Paragraph as jl, PasteFromMarkdownExperimental as Kl, PasteFromOffice as zl, SelectAll as Gl, Style as Wl, Table as Xl, TableCellProperties as ql, TableColumnResize as Zl, TableProperties as Ql, TableToolbar as Yl, Undo as Jl, TextTransformation as et, Base64UploadAdapter as lt, ClassicEditor as tt } from "ckeditor5";
39
- import { VAutocomplete as nt } from "vuetify/components/VAutocomplete";
40
- import { VBtn as ot } from "vuetify/components/VBtn";
41
- import { VCheckbox as at } from "vuetify/components/VCheckbox";
42
- import { VChip as it } from "vuetify/components/VChip";
43
- import { VCombobox as st } from "vuetify/components/VCombobox";
44
- import { VColorPicker as rt } from "vuetify/components/VColorPicker";
45
- import { VConfirmEdit as ut } from "vuetify/components/VConfirmEdit";
46
- import { VDatePicker as dt } from "vuetify/components/VDatePicker";
47
- import { VField as ct } from "vuetify/components/VField";
48
- import { VFileInput as mt } from "vuetify/components/VFileInput";
49
- import { VCol as pt, VRow as vt } from "vuetify/components/VGrid";
50
- import { VIcon as ft } from "vuetify/components/VIcon";
51
- import { VImg as bt } from "vuetify/components/VImg";
52
- import { VInput as gt } from "vuetify/components/VInput";
53
- import { VListItem as yt } from "vuetify/components/VList";
54
- import { VMenu as ht } from "vuetify/components/VMenu";
55
- import { VNumberInput as _t } from "vuetify/components/VNumberInput";
56
- import { VProgressLinear as Vt } from "vuetify/components/VProgressLinear";
57
- import { VSelect as kt } from "vuetify/components/VSelect";
58
- import { VSwitch as wt } from "vuetify/components/VSwitch";
59
- import { VTextarea as Tt } from "vuetify/components/VTextarea";
60
- import { VTextField as Ct } from "vuetify/components/VTextField";
61
- import { VTimePicker as Bt } from "vuetify/labs/VTimePicker";
30
+ import * as Se from "vue";
31
+ import { defineComponent as R, mergeModels as De, useModel as nl, ref as D, watch as re, onMounted as He, markRaw as ol, onBeforeUnmount as je, createBlock as B, openBlock as V, resolveDynamicComponent as ue, version as al, resolveComponent as $, createElementBlock as U, createCommentVNode as L, createTextVNode as Ke, Fragment as Ce, toDisplayString as ie, inject as sl, computed as w, renderList as ze, normalizeClass as de, unref as t, mergeProps as K, withCtx as _, createSlots as Z, createVNode as T, renderSlot as se, normalizeProps as X, guardReactiveProps as q, createElementVNode as ee, isRef as le, withModifiers as il, mergeDefaults as Q, normalizeStyle as Be, toRefs as he, withKeys as xe, useCssVars as rl, nextTick as Ne } from "vue";
32
+ import { debounce as ul, isString as ge, isEmpty as dl, isObjectLike as cl, isBoolean as Ue, clone as ml, toNumber as Ee, isNaN as Fe, isArray as Le, castArray as Ge, first as We, unionBy as pl } from "lodash-es";
33
+ import Te from "vue-ionicon";
34
+ import { useDisplay as vl } from "vuetify";
35
+ import Re, { ValidationErrorRenderContent as fl, DisplayMode as j, ExecuteAction as bl, Action as ke } from "@dynamicforms/vue-forms";
36
+ import gl from "vue-markdown-render";
37
+ import { format as me, parse as yl } from "date-fns";
38
+ import { AccessibilityHelp as hl, Alignment as _l, AutoImage as Vl, AutoLink as kl, Autosave as wl, BalloonToolbar as Tl, BlockQuote as Cl, Bold as Bl, CloudServices as Il, Essentials as $l, GeneralHtmlSupport as Al, Heading as Sl, HorizontalLine as Dl, ImageBlock as xl, ImageCaption as Nl, ImageInline as Ul, ImageInsertViaUrl as El, ImageResize as Fl, ImageStyle as Ll, ImageToolbar as Rl, ImageUpload as Ol, Indent as Pl, IndentBlock as Ml, Italic as Hl, Link as jl, List as Kl, Autoformat as zl, MediaEmbed as Gl, Paragraph as Wl, PasteFromMarkdownExperimental as Xl, PasteFromOffice as ql, SelectAll as Zl, Style as Ql, Table as Yl, TableCellProperties as Jl, TableColumnResize as et, TableProperties as lt, TableToolbar as tt, Undo as nt, TextTransformation as ot, Base64UploadAdapter as at, ClassicEditor as st } from "ckeditor5";
39
+ import { VAutocomplete as it } from "vuetify/components/VAutocomplete";
40
+ import { VBtn as rt } from "vuetify/components/VBtn";
41
+ import { VCheckbox as ut } from "vuetify/components/VCheckbox";
42
+ import { VChip as dt } from "vuetify/components/VChip";
43
+ import { VCombobox as ct } from "vuetify/components/VCombobox";
44
+ import { VColorPicker as mt } from "vuetify/components/VColorPicker";
45
+ import { VConfirmEdit as pt } from "vuetify/components/VConfirmEdit";
46
+ import { VDatePicker as vt } from "vuetify/components/VDatePicker";
47
+ import { VField as ft } from "vuetify/components/VField";
48
+ import { VFileInput as bt } from "vuetify/components/VFileInput";
49
+ import { VCol as gt, VRow as yt } from "vuetify/components/VGrid";
50
+ import { VIcon as ht } from "vuetify/components/VIcon";
51
+ import { VImg as _t } from "vuetify/components/VImg";
52
+ import { VInput as Vt } from "vuetify/components/VInput";
53
+ import { VListItem as kt } from "vuetify/components/VList";
54
+ import { VMenu as wt } from "vuetify/components/VMenu";
55
+ import { VNumberInput as Tt } from "vuetify/components/VNumberInput";
56
+ import { VProgressLinear as Ct } from "vuetify/components/VProgressLinear";
57
+ import { VSelect as Bt } from "vuetify/components/VSelect";
58
+ import { VSwitch as It } from "vuetify/components/VSwitch";
59
+ import { VTextarea as $t } from "vuetify/components/VTextarea";
60
+ import { VTextField as At } from "vuetify/components/VTextField";
61
+ import { VTimePicker as St } from "vuetify/labs/VTimePicker";
62
62
  /**
63
63
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
64
64
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -72,9 +72,9 @@ new Array(256).fill("").map((l, e) => ("0" + e.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 It(l, e) {
75
+ function Dt(l, e) {
76
76
  const n = l.extraPlugins || [];
77
- return H(N({}, l), {
77
+ return P(N({}, l), {
78
78
  extraPlugins: [
79
79
  ...n,
80
80
  ...e.filter((a) => !n.includes(a))
@@ -85,25 +85,25 @@ function It(l, e) {
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(l) {
88
+ function Xe(l) {
89
89
  return !!l && /^\d+\.\d+\.\d+/.test(l);
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 Ke(l) {
95
+ function qe(l) {
96
96
  return l ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((e) => l.includes(e)) : !1;
97
97
  }
98
- function $t(l) {
99
- return je(l) || Ke(l);
98
+ function xt(l) {
99
+ return Xe(l) || qe(l);
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 At(l) {
106
- if (!je(l))
105
+ function Nt(l) {
106
+ if (!Xe(l))
107
107
  throw new Error(`Invalid semantic version: ${l || "<blank>"}.`);
108
108
  const [e, n, a] = l.split(".");
109
109
  return {
@@ -116,10 +116,10 @@ function At(l) {
116
116
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
117
117
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
118
118
  */
119
- function St(l) {
120
- if (Ke(l))
119
+ function Ut(l) {
120
+ if (qe(l))
121
121
  return 3;
122
- const { major: e } = At(l);
122
+ const { major: e } = Nt(l);
123
123
  switch (!0) {
124
124
  case e >= 44:
125
125
  return 3;
@@ -133,9 +133,9 @@ function St(l) {
133
133
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
134
134
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
135
135
  */
136
- function Dt() {
136
+ function Et() {
137
137
  const { CKEDITOR_VERSION: l, CKEDITOR: e } = window;
138
- return $t(l) ? {
138
+ return xt(l) ? {
139
139
  source: e ? "cdn" : "npm",
140
140
  version: l
141
141
  } : null;
@@ -144,16 +144,16 @@ function Dt() {
144
144
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
145
145
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
146
146
  */
147
- function xt() {
148
- const l = Dt();
149
- return l ? St(l.version) : null;
147
+ function Ft() {
148
+ const l = Et();
149
+ return l ? Ut(l.version) : null;
150
150
  }
151
151
  /**
152
152
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
153
153
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
154
154
  */
155
- function ze(l, e) {
156
- switch (e || (e = xt() || void 0), e) {
155
+ function Ze(l, e) {
156
+ switch (e || (e = Ft() || void 0), e) {
157
157
  case 1:
158
158
  case 2:
159
159
  return l === void 0;
@@ -167,10 +167,10 @@ function ze(l, e) {
167
167
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
168
168
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
169
169
  */
170
- function Nt(l, e) {
170
+ function Lt(l, e) {
171
171
  return function(a) {
172
- ze(a.config.get("licenseKey")) || a.on("collectUsageData", (o, { setUsageData: i }) => {
173
- i(`integration.${l}`, e);
172
+ Ze(a.config.get("licenseKey")) || a.on("collectUsageData", (o, { setUsageData: s }) => {
173
+ s(`integration.${l}`, e);
174
174
  });
175
175
  };
176
176
  }
@@ -178,31 +178,31 @@ function Nt(l, e) {
178
178
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
179
179
  * For licensing, see LICENSE.md.
180
180
  */
181
- const Ut = Nt(
181
+ const Rt = Lt(
182
182
  "vue",
183
183
  {
184
184
  version: "7.3.0",
185
- frameworkVersion: el
185
+ frameworkVersion: al
186
186
  }
187
187
  );
188
188
  /**
189
189
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
190
190
  * For licensing, see LICENSE.md.
191
191
  */
192
- function Et(l) {
193
- return ze(l.licenseKey) ? l : It(l, [
192
+ function Ot(l) {
193
+ return Ze(l.licenseKey) ? l : Dt(l, [
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
197
197
  * this applies to your installation, please contact our support team.
198
198
  */
199
- Ut
199
+ Rt
200
200
  ]);
201
201
  }
202
- const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ft = 300, Lt = /* @__PURE__ */ F({
202
+ const we = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Pt = 300, Mt = /* @__PURE__ */ R({
203
203
  name: "CKEditor",
204
204
  __name: "ckeditor",
205
- props: /* @__PURE__ */ Ie({
205
+ props: /* @__PURE__ */ De({
206
206
  editor: {},
207
207
  config: { default: () => ({}) },
208
208
  tagName: { default: "div" },
@@ -212,49 +212,49 @@ const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ft = 300, Lt =
212
212
  modelValue: { type: String, default: "" },
213
213
  modelModifiers: {}
214
214
  }),
215
- emits: /* @__PURE__ */ Ie(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
215
+ emits: /* @__PURE__ */ De(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
216
216
  setup(l, { expose: e, emit: n }) {
217
- const a = Ye(l, "modelValue"), o = l, i = n, y = D(), r = D(), g = D();
217
+ const a = nl(l, "modelValue"), o = l, s = n, y = D(), r = D(), g = D();
218
218
  e({
219
219
  instance: r,
220
220
  lastEditorData: g
221
- }), ce(a, (u) => {
221
+ }), re(a, (u) => {
222
222
  r.value && u !== g.value && r.value.data.set(u);
223
- }), ce(() => o.disabled, (u) => {
224
- u ? r.value.enableReadOnlyMode(he) : r.value.disableReadOnlyMode(he);
223
+ }), re(() => o.disabled, (u) => {
224
+ u ? r.value.enableReadOnlyMode(we) : r.value.disableReadOnlyMode(we);
225
225
  });
226
- function s() {
226
+ function i() {
227
227
  const u = window.CKEDITOR_VERSION;
228
228
  if (!u)
229
229
  return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
230
- const [c] = u.split(".").map(Number);
231
- c >= 42 || u.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
230
+ const [p] = u.split(".").map(Number);
231
+ p >= 42 || u.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
232
232
  }
233
233
  function v(u) {
234
- const c = al((p) => {
234
+ const p = ul((f) => {
235
235
  if (o.disableTwoWayDataBinding)
236
236
  return;
237
237
  const b = g.value = u.data.get();
238
- i("update:modelValue", b, p, u), i("input", b, p, u);
239
- }, Ft, { leading: !0 });
240
- u.model.document.on("change:data", c), u.editing.view.document.on("focus", (p) => {
241
- i("focus", p, u);
242
- }), u.editing.view.document.on("blur", (p) => {
243
- i("blur", p, u);
238
+ s("update:modelValue", b, f, u), s("input", b, f, u);
239
+ }, Pt, { leading: !0 });
240
+ u.model.document.on("change:data", p), u.editing.view.document.on("focus", (f) => {
241
+ s("focus", f, u);
242
+ }), u.editing.view.document.on("blur", (f) => {
243
+ s("blur", f, u);
244
244
  });
245
245
  }
246
- return s(), Le(() => {
247
- const u = Et(
246
+ return i(), He(() => {
247
+ const u = Ot(
248
248
  Object.assign({}, o.config)
249
249
  );
250
- a.value && (u.initialData = a.value), o.editor.create(y.value, u).then((c) => {
251
- r.value = Je(c), v(c), a.value !== u.initialData && c.data.set(a.value), o.disabled && c.enableReadOnlyMode(he), i("ready", c);
252
- }).catch((c) => {
253
- console.error(c);
250
+ a.value && (u.initialData = a.value), o.editor.create(y.value, u).then((p) => {
251
+ r.value = ol(p), v(p), a.value !== u.initialData && p.data.set(a.value), o.disabled && p.enableReadOnlyMode(we), s("ready", p);
252
+ }).catch((p) => {
253
+ console.error(p);
254
254
  });
255
- }), Re(() => {
256
- r.value && (r.value.destroy(), r.value = void 0), i("destroy");
257
- }), (u, c) => (V(), I(se(u.tagName), {
255
+ }), je(() => {
256
+ r.value && (r.value.destroy(), r.value = void 0), s("destroy");
257
+ }), (u, p) => (V(), B(ue(u.tagName), {
258
258
  ref_key: "element",
259
259
  ref: y
260
260
  }, null, 512));
@@ -265,20 +265,20 @@ const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ft = 300, Lt =
265
265
  * For licensing, see LICENSE.md.
266
266
  */
267
267
  /* istanbul ignore if -- @preserve */
268
- if (!Be.version || !Be.version.startsWith("3."))
268
+ if (!Se.version || !Se.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
  );
272
- const Rt = {
272
+ const Ht = {
273
273
  /**
274
274
  * Installs the plugin, registering the `<ckeditor>` component.
275
275
  *
276
276
  * @param app The application instance.
277
277
  */
278
278
  install(l) {
279
- l.component("Ckeditor", Lt);
279
+ l.component("Ckeditor", Mt);
280
280
  }
281
- }, Ot = { class: "label" }, Pt = /* @__PURE__ */ F({
281
+ }, jt = { class: "label" }, Kt = /* @__PURE__ */ R({
282
282
  __name: "df-label",
283
283
  props: {
284
284
  data: {},
@@ -286,40 +286,40 @@ const Rt = {
286
286
  },
287
287
  setup(l) {
288
288
  return (e, n) => {
289
- const a = A("v-icon"), o = A("v-img");
290
- return V(), U("div", Ot, [
291
- e.label.icon ? (V(), U(ke, { key: 0 }, [
292
- e.label.iconComponent === "v-icon" ? (V(), I(a, {
289
+ const a = $("v-icon"), o = $("v-img");
290
+ return V(), U("div", jt, [
291
+ e.label.icon ? (V(), U(Ce, { key: 0 }, [
292
+ e.label.iconComponent === "v-icon" ? (V(), B(a, {
293
293
  key: 0,
294
294
  icon: e.label.icon,
295
295
  size: "1.25em"
296
- }, null, 8, ["icon"])) : e.label.iconComponent === "v-img" ? (V(), I(o, {
296
+ }, null, 8, ["icon"])) : e.label.iconComponent === "v-img" ? (V(), B(o, {
297
297
  key: 1,
298
298
  class: "icon",
299
299
  src: e.label.icon
300
- }, null, 8, ["src"])) : (V(), I(se(e.label.iconComponent), {
300
+ }, null, 8, ["src"])) : (V(), B(ue(e.label.iconComponent), {
301
301
  key: 2,
302
302
  src: e.label.icon
303
303
  }, null, 8, ["src"]))
304
- ], 64)) : E("", !0),
305
- Oe(" " + ie(e.data ? e.data.label : e.label.text), 1)
304
+ ], 64)) : L("", !0),
305
+ Ke(" " + ie(e.data ? e.data.label : e.label.text), 1)
306
306
  ]);
307
307
  };
308
308
  }
309
- }), te = (l, e) => {
309
+ }), oe = (l, e) => {
310
310
  const n = l.__vccOpts || l;
311
311
  for (const [a, o] of e)
312
312
  n[a] = o;
313
313
  return n;
314
- }, ee = /* @__PURE__ */ te(Pt, [["__scopeId", "data-v-0034f29f"]]), Ge = Symbol("vuetifyInputsSettingsKey");
315
- class Mt {
314
+ }, te = /* @__PURE__ */ oe(Kt, [["__scopeId", "data-v-0034f29f"]]), Qe = Symbol("vuetifyInputsSettingsKey");
315
+ class zt {
316
316
  constructor(e, n, a = "v-icon") {
317
317
  this.text = e, this.icon = n, this.iconComponent = a;
318
318
  }
319
319
  }
320
- const Z = { enabled: void 0 };
320
+ const Y = { enabled: void 0 };
321
321
  function z(l, e) {
322
- const n = ll(Ge, {}), a = C({
322
+ const n = sl(Qe, {}), a = w({
323
323
  get() {
324
324
  return l.control ? l.control.value : l.modelValue;
325
325
  },
@@ -327,30 +327,30 @@ function z(l, e) {
327
327
  l.control && (l.control.value = h), e("update:modelValue", h);
328
328
  }
329
329
  });
330
- if (l.control && !(l.control instanceof Ne.FieldBase))
330
+ if (l.control && !(l.control instanceof Re.FieldBase))
331
331
  throw new Error("control prop is not a vue-form control instance");
332
- const o = D(!1), i = C(() => l.control ? l.control.valid : !0), y = C(
333
- () => l.control ? l.control.errors : (l.errors || []).map((h) => new cl(h))
334
- ), r = C(() => o.value && y.value.length > 0 ? " " : void 0), g = C(() => l.control ? l.control.enabled : l.enabled !== !1), s = C(
335
- () => l.control ? l.control.visibility : l.visibility || Ne.DisplayMode.FULL
336
- ), v = C(
337
- () => ve(l.label || "") ? new Mt(l.label || "") : l.label
338
- ), u = C(() => l.placeholder || ""), c = C(() => l.helpText || ""), p = C(() => l.hint || ""), b = C(() => l.cssClass || "");
332
+ const o = D(!1), s = w(() => l.control ? l.control.valid : !0), y = w(
333
+ () => l.control ? l.control.errors : (l.errors || []).map((h) => new fl(h))
334
+ ), r = w(() => o.value && y.value.length > 0 ? " " : void 0), g = w(() => l.control ? l.control.enabled : l.enabled !== !1), i = w(
335
+ () => l.control ? l.control.visibility : l.visibility || Re.DisplayMode.FULL
336
+ ), v = w(
337
+ () => ge(l.label || "") ? new zt(l.label || "") : l.label
338
+ ), u = w(() => l.placeholder || ""), p = w(() => l.helpText || ""), f = w(() => l.hint || ""), b = w(() => l.cssClass || "");
339
339
  return {
340
340
  value: a,
341
- valid: i,
341
+ valid: s,
342
342
  enabled: g,
343
343
  errors: y,
344
- visibility: s,
344
+ visibility: i,
345
345
  label: v,
346
346
  touched: o,
347
- vuetifyBindings: C(() => {
348
- var h, k;
347
+ vuetifyBindings: w(() => {
348
+ var h, C;
349
349
  return {
350
350
  name: (h = l.control) == null ? void 0 : h.fieldName,
351
351
  class: b.value,
352
352
  density: "default",
353
- variant: (k = n.defaultVariant) != null ? k : "underlined",
353
+ variant: (C = n.defaultVariant) != null ? C : "underlined",
354
354
  label: v.value.text,
355
355
  messages: r.value,
356
356
  errorMessages: r.value,
@@ -358,51 +358,51 @@ function z(l, e) {
358
358
  readonly: !g.value,
359
359
  disabled: !g.value,
360
360
  placeholder: u.value,
361
- "persistent-placeholder": !il(u.value),
362
- hint: p.value,
361
+ "persistent-placeholder": !dl(u.value),
362
+ hint: f.value,
363
363
  persistentHint: !0,
364
364
  // we want persistent hint always
365
365
  hideDetails: "auto",
366
366
  // we want to hide the hint element when hint isn't there
367
- helpText: c.value
367
+ helpText: p.value
368
368
  };
369
369
  })
370
370
  };
371
371
  }
372
- const Ht = {
372
+ const Gt = {
373
373
  key: 0,
374
374
  class: "custom-error-display text-error"
375
- }, jt = { key: 0 }, Kt = { key: 1 }, zt = /* @__PURE__ */ F({
375
+ }, Wt = { key: 0 }, Xt = { key: 1 }, qt = /* @__PURE__ */ R({
376
376
  __name: "messages-widget",
377
377
  props: {
378
378
  errors: {},
379
379
  message: {}
380
380
  },
381
381
  setup(l) {
382
- return (e, n) => e.message === " " ? (V(), U("div", Ht, [
383
- (V(!0), U(ke, null, Pe(e.errors, (a, o) => {
384
- var i;
382
+ return (e, n) => e.message === " " ? (V(), U("div", Gt, [
383
+ (V(!0), U(Ce, null, ze(e.errors, (a, o) => {
384
+ var s;
385
385
  return V(), U("div", {
386
386
  key: o,
387
- class: re({ "first-error": o === 0, "last-error": o === e.errors.length - 1 })
387
+ class: de({ "first-error": o === 0, "last-error": o === e.errors.length - 1 })
388
388
  }, [
389
- a.componentName === "template" ? (V(), U("div", jt, ie(a.componentBody), 1)) : a.componentName === "vue-markdown" ? (V(), I(t(pl), {
389
+ a.componentName === "template" ? (V(), U("div", Wt, ie(a.componentBody), 1)) : a.componentName === "vue-markdown" ? (V(), B(t(gl), {
390
390
  key: 1,
391
- source: (i = a.componentBindings) == null ? void 0 : i.source
392
- }, null, 8, ["source"])) : (V(), I(se(a.componentName), K({
391
+ source: (s = a.componentBindings) == null ? void 0 : s.source
392
+ }, null, 8, ["source"])) : (V(), B(ue(a.componentName), K({
393
393
  key: 2,
394
394
  ref_for: !0
395
395
  }, a.componentBindings), {
396
396
  default: _(() => [
397
- Oe(ie(a.componentBody), 1)
397
+ Ke(ie(a.componentBody), 1)
398
398
  ]),
399
399
  _: 2
400
400
  }, 1040))
401
401
  ], 2);
402
402
  }), 128))
403
- ])) : (V(), U("span", Kt, ie(e.message), 1));
403
+ ])) : (V(), U("span", Xt, ie(e.message), 1));
404
404
  }
405
- }), le = /* @__PURE__ */ te(zt, [["__scopeId", "data-v-ff7a8b63"]]), Gt = { class: "d-flex w-100 style-resetting" }, Wt = /* @__PURE__ */ F({
405
+ }), ne = /* @__PURE__ */ oe(qt, [["__scopeId", "data-v-ff7a8b63"]]), Zt = { class: "d-flex w-100 style-resetting" }, Qt = /* @__PURE__ */ R({
406
406
  __name: "input-base",
407
407
  props: {
408
408
  control: {},
@@ -420,70 +420,70 @@ const Ht = {
420
420
  },
421
421
  emits: ["update:modelValue", "click:clear", "blur"],
422
422
  setup(l, { emit: e }) {
423
- const n = l, a = e, { errors: o, label: i, value: y, touched: r, visibility: g, vuetifyBindings: s } = z(n, a), v = C(() => !!(t(n.clearable) && t(y))), u = D(!1);
424
- function c(p) {
425
- console.log(p), u.value = p, p || (r.value = !0, a("blur"));
423
+ const n = l, a = e, { errors: o, label: s, value: y, touched: r, visibility: g, vuetifyBindings: i } = z(n, a), v = w(() => !!(t(n.clearable) && t(y))), u = D(!1);
424
+ function p(f) {
425
+ console.log(f), u.value = f, f || (r.value = !0, a("blur"));
426
426
  }
427
- return (p, b) => {
428
- const h = A("v-field"), k = A("v-input");
429
- return t(g) !== t(j).SUPPRESS ? (V(), I(k, {
427
+ return (f, b) => {
428
+ const h = $("v-field"), C = $("v-input");
429
+ return t(g) !== t(j).SUPPRESS ? (V(), B(C, {
430
430
  key: 0,
431
- name: t(s).name,
432
- hint: t(s).hint,
433
- "persistent-hint": t(s).persistentHint,
434
- "hide-details": t(s).hideDetails,
435
- "error-messages": t(s).errorMessages,
436
- class: re([
437
- p.cssClass,
431
+ name: t(i).name,
432
+ hint: t(i).hint,
433
+ "persistent-hint": t(i).persistentHint,
434
+ "hide-details": t(i).hideDetails,
435
+ "error-messages": t(i).errorMessages,
436
+ class: de([
437
+ f.cssClass,
438
438
  {
439
439
  "d-none": t(g) === t(j).HIDDEN,
440
440
  invisible: t(g) === t(j).INVISIBLE
441
441
  }
442
442
  ])
443
- }, X({
444
- message: _(({ message: w }) => [
445
- B(le, {
446
- message: w,
443
+ }, Z({
444
+ message: _(({ message: k }) => [
445
+ T(ne, {
446
+ message: k,
447
447
  errors: t(o)
448
448
  }, null, 8, ["message", "errors"])
449
449
  ]),
450
450
  default: _(() => [
451
- B(h, {
452
- variant: t(s).variant,
453
- label: t(s).label,
454
- disabled: t(s).disabled,
451
+ T(h, {
452
+ variant: t(i).variant,
453
+ label: t(i).label,
454
+ disabled: t(i).disabled,
455
455
  clearable: v.value,
456
456
  "persistent-clear": !0,
457
457
  dirty: !!t(y),
458
458
  active: u.value,
459
- loading: p.loading,
460
- "onClick:clear": b[0] || (b[0] = (w) => a("click:clear")),
461
- "onUpdate:focused": b[1] || (b[1] = (w) => c(w))
462
- }, X({
463
- default: _((w) => [
464
- Y("div", Gt, [
465
- ae(p.$slots, "default", G(W(w)), void 0, !0)
459
+ loading: f.loading,
460
+ "onClick:clear": b[0] || (b[0] = (k) => a("click:clear")),
461
+ "onUpdate:focused": b[1] || (b[1] = (k) => p(k))
462
+ }, Z({
463
+ default: _((k) => [
464
+ ee("div", Zt, [
465
+ se(f.$slots, "default", X(q(k)), void 0, !0)
466
466
  ])
467
467
  ]),
468
- loader: _((w) => [
469
- ae(p.$slots, "loader", G(W(w)), void 0, !0)
468
+ loader: _((k) => [
469
+ se(f.$slots, "loader", X(q(k)), void 0, !0)
470
470
  ]),
471
471
  _: 2
472
472
  }, [
473
- t(i).icon ? {
473
+ t(s).icon ? {
474
474
  name: "label",
475
- fn: _((w) => [
476
- B(ee, {
477
- data: w,
478
- label: t(i)
475
+ fn: _((k) => [
476
+ T(te, {
477
+ data: k,
478
+ label: t(s)
479
479
  }, null, 8, ["data", "label"])
480
480
  ]),
481
481
  key: "0"
482
482
  } : void 0,
483
- p.$slots["prepend-inner"] ? {
483
+ f.$slots["prepend-inner"] ? {
484
484
  name: "prepend-inner",
485
- fn: _((w) => [
486
- ae(p.$slots, "prepend-inner", G(W(w)), void 0, !0)
485
+ fn: _((k) => [
486
+ se(f.$slots, "prepend-inner", X(q(k)), void 0, !0)
487
487
  ]),
488
488
  key: "1"
489
489
  } : void 0
@@ -491,75 +491,75 @@ const Ht = {
491
491
  ]),
492
492
  _: 2
493
493
  }, [
494
- p.$slots.prepend ? {
494
+ f.$slots.prepend ? {
495
495
  name: "prepend",
496
- fn: _((w) => [
497
- ae(p.$slots, "prepend", G(W(w)), void 0, !0)
496
+ fn: _((k) => [
497
+ se(f.$slots, "prepend", X(q(k)), void 0, !0)
498
498
  ]),
499
499
  key: "0"
500
500
  } : void 0
501
- ]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : E("", !0);
501
+ ]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
502
502
  };
503
503
  }
504
- }), Te = /* @__PURE__ */ te(Wt, [["__scopeId", "data-v-4aab06cf"]]);
505
- var R = /* @__PURE__ */ ((l) => (l[l.BUTTON = 0] = "BUTTON", l[l.TEXT = 1] = "TEXT", l))(R || {});
506
- const Ue = 0;
504
+ }), Ie = /* @__PURE__ */ oe(Qt, [["__scopeId", "data-v-4aab06cf"]]);
505
+ var O = /* @__PURE__ */ ((l) => (l[l.BUTTON = 0] = "BUTTON", l[l.TEXT = 1] = "TEXT", l))(O || {});
506
+ const Oe = 0;
507
507
  ((l) => {
508
508
  function e(o) {
509
- return o.toUpperCase() === "BUTTON" ? 0 : o.toUpperCase() === "TEXT" ? 1 : Ue;
509
+ return o.toUpperCase() === "BUTTON" ? 0 : o.toUpperCase() === "TEXT" ? 1 : Oe;
510
510
  }
511
511
  l.fromString = e;
512
512
  function n(o) {
513
- const i = typeof o == "number" ? o : l.fromString(o);
514
- return Object.values(l).includes(i) ? i : Ue;
513
+ const s = typeof o == "number" ? o : l.fromString(o);
514
+ return Object.values(l).includes(s) ? s : Oe;
515
515
  }
516
516
  l.fromAny = n;
517
517
  function a(o) {
518
- const i = typeof o == "number" ? o : l.fromString(o);
519
- return Object.values(l).includes(i);
518
+ const s = typeof o == "number" ? o : l.fromString(o);
519
+ return Object.values(l).includes(s);
520
520
  }
521
521
  l.isDefined = a;
522
- })(R || (R = {}));
523
- Object.freeze(R);
524
- const Ee = ["xs", "sm", "md", "lg", "xl"];
525
- class Xt {
522
+ })(O || (O = {}));
523
+ Object.freeze(O);
524
+ const Pe = ["xs", "sm", "md", "lg", "xl"];
525
+ class Yt {
526
526
  constructor(e) {
527
- ue(this, "_value");
528
- this._value = this.cleanBreakpoint(e, !0), e && Ee.forEach((n) => {
527
+ ce(this, "_value");
528
+ this._value = this.cleanBreakpoint(e, !0), e && Pe.forEach((n) => {
529
529
  const a = this.cleanBreakpoint(e[n]);
530
530
  a && (this._value[n] = a);
531
531
  });
532
532
  }
533
533
  getOptionsForBreakpoint(e) {
534
534
  const n = this.cleanBreakpoint(this._value), a = Object.keys(n);
535
- for (const o of Ee) {
536
- const i = this._value[o];
535
+ for (const o of Pe) {
536
+ const s = this._value[o];
537
537
  for (const y of a)
538
- (i == null ? void 0 : i[y]) != null && (n[y] = i[y]);
538
+ (s == null ? void 0 : s[y]) != null && (n[y] = s[y]);
539
539
  if (o === e) break;
540
540
  }
541
541
  return n;
542
542
  }
543
543
  }
544
- class qt extends Xt {
544
+ class Jt extends Yt {
545
545
  // eslint-disable-next-line class-methods-use-this
546
546
  cleanBreakpoint(e, n = !1) {
547
- if ((!e || !sl(e)) && !n) return null;
547
+ if ((!e || !cl(e)) && !n) return null;
548
548
  const a = {};
549
- return n && (a.renderAs = R.BUTTON, a.showLabel = !0, a.showIcon = !0), e && (e.renderAs != null && (a.renderAs = R.fromAny(e.renderAs)), ve(e.label) && (a.label = e.label), Ae(e.showLabel) && (a.showLabel = e.showLabel), Ae(e.showIcon) && (a.showIcon = e.showIcon)), Object.keys(a).length ? a : null;
549
+ return n && (a.renderAs = O.BUTTON, a.showLabel = !0, a.showIcon = !0), e && (e.renderAs != null && (a.renderAs = O.fromAny(e.renderAs)), ge(e.label) && (a.label = e.label), Ue(e.showLabel) && (a.showLabel = e.showLabel), Ue(e.showIcon) && (a.showIcon = e.showIcon)), Object.keys(a).length ? a : null;
550
550
  }
551
551
  }
552
- function Fe(l) {
552
+ function Me(l) {
553
553
  return l.xlAndUp.value ? "xl" : l.lgAndUp.value ? "lg" : l.mdAndUp.value ? "md" : l.smAndUp.value ? "sm" : "xs";
554
554
  }
555
- class pe {
555
+ class be {
556
556
  constructor(e, n) {
557
- ue(this, "name");
558
- ue(this, "displayStyle");
559
- ue(this, "formAction");
557
+ ce(this, "name");
558
+ ce(this, "displayStyle");
559
+ ce(this, "formAction");
560
560
  if (e.name == null) throw new Error(`Action name must not be empty ${e}`);
561
- const a = !ve(e.label) || e.label.length === 0 ? void 0 : e.label, o = !ve(e.icon) || e.icon.length === 0 ? void 0 : e.icon;
562
- this.name = e.name, this.displayStyle = new qt(N({ label: a }, e.displayStyle)), this.formAction = n, this.formAction.icon = o, this.formAction.label = a;
561
+ const a = !ge(e.label) || e.label.length === 0 ? void 0 : e.label, o = !ge(e.icon) || e.icon.length === 0 ? void 0 : e.icon;
562
+ this.name = e.name, this.displayStyle = new Jt(N({ label: a }, e.displayStyle)), this.formAction = n, this.formAction.icon = o, this.formAction.label = a;
563
563
  }
564
564
  get label() {
565
565
  var e;
@@ -580,57 +580,57 @@ class pe {
580
580
  }
581
581
  static makeFormAction(e) {
582
582
  let n;
583
- if (e instanceof ml)
584
- n = ye.create().registerAction(e);
583
+ if (e instanceof bl)
584
+ n = ke.create().registerAction(e);
585
585
  else if (e === void 0)
586
- n = ye.create();
587
- else if (e instanceof ye)
586
+ n = ke.create();
587
+ else if (e instanceof ke)
588
588
  n = e;
589
589
  else
590
590
  throw new Error("actionOrExecuteHandler is not of any of supported types");
591
591
  return n;
592
592
  }
593
593
  static closeAction(e, n) {
594
- return new pe(
594
+ return new be(
595
595
  N({
596
596
  name: "close",
597
597
  label: "Close",
598
598
  // TODO: needs translation
599
599
  icon: "close-outline",
600
- displayStyle: { renderAs: R.BUTTON, showLabel: !0, showIcon: !0 }
600
+ displayStyle: { renderAs: O.BUTTON, showLabel: !0, showIcon: !0 }
601
601
  }, e),
602
602
  this.makeFormAction(n)
603
603
  );
604
604
  }
605
605
  static yesAction(e, n) {
606
- return new pe(
606
+ return new be(
607
607
  N({
608
608
  name: "yes",
609
609
  label: "Yes",
610
610
  // TODO: needs translation
611
611
  icon: "thumbs-up-outline",
612
- displayStyle: { renderAs: R.BUTTON, showLabel: !0, showIcon: !0 }
612
+ displayStyle: { renderAs: O.BUTTON, showLabel: !0, showIcon: !0 }
613
613
  }, e),
614
614
  this.makeFormAction(n)
615
615
  );
616
616
  }
617
617
  static noAction(e, n) {
618
- return new pe(
618
+ return new be(
619
619
  N({
620
620
  name: "no",
621
621
  label: "No",
622
622
  // TODO: needs translation
623
623
  icon: "thumbs-down-outline",
624
- displayStyle: { renderAs: R.BUTTON, showLabel: !0, showIcon: !0 }
624
+ displayStyle: { renderAs: O.BUTTON, showLabel: !0, showIcon: !0 }
625
625
  }, e),
626
626
  this.makeFormAction(n)
627
627
  );
628
628
  }
629
629
  }
630
- const Zt = {
630
+ const en = {
631
631
  key: 1,
632
632
  style: { width: ".5rem" }
633
- }, Qt = { key: 2 }, Yt = /* @__PURE__ */ F({
633
+ }, ln = { key: 2 }, tn = /* @__PURE__ */ R({
634
634
  __name: "df-actions",
635
635
  props: {
636
636
  actions: {},
@@ -638,62 +638,62 @@ const Zt = {
638
638
  showAsGroup: { default: "no" }
639
639
  },
640
640
  setup(l) {
641
- const e = l, n = J(e.actions) ? e.actions : D(e.actions), a = dl(), o = C(() => {
642
- const s = {};
643
- s["%breakpoint%"] = Fe(a);
641
+ const e = l, n = le(e.actions) ? e.actions : D(e.actions), a = vl(), o = w(() => {
642
+ const i = {};
643
+ i["%breakpoint%"] = Me(a);
644
644
  for (const v of n.value)
645
- s[v.name] = v.displayStyle.getOptionsForBreakpoint(Fe(a));
646
- return s;
645
+ i[v.name] = v.displayStyle.getOptionsForBreakpoint(Me(a));
646
+ return i;
647
647
  });
648
- function i(s) {
648
+ function s(i) {
649
649
  var v;
650
- return (v = o.value[s.name].showIcon && s.iconAvailable) != null ? v : !0;
650
+ return (v = o.value[i.name].showIcon && i.iconAvailable) != null ? v : !0;
651
651
  }
652
- function y(s) {
653
- return o.value[s.name].showLabel && s.labelAvailable ? !0 : !i(s);
652
+ function y(i) {
653
+ return o.value[i.name].showLabel && i.labelAvailable ? !0 : !s(i);
654
654
  }
655
- function r(s) {
655
+ function r(i) {
656
656
  var v;
657
- return (v = o.value[s.name].renderAs) != null ? v : R.BUTTON;
657
+ return (v = o.value[i.name].renderAs) != null ? v : O.BUTTON;
658
658
  }
659
- function g(s) {
659
+ function g(i) {
660
660
  var v;
661
- return s.labelAvailable ? (v = s.formAction.label) != null ? v : "" : s.name;
661
+ return i.labelAvailable ? (v = i.formAction.label) != null ? v : "" : i.name;
662
662
  }
663
- return (s, v) => {
664
- const u = A("v-btn");
663
+ return (i, v) => {
664
+ const u = $("v-btn");
665
665
  return t(n).length > 0 ? (V(), U("div", {
666
666
  key: 0,
667
- class: re(["text-end", {
668
- "button-group": s.showAsGroup === "grouped" || s.showAsGroup === "grouped-no-borders",
669
- "with-border": s.showAsGroup === "grouped"
667
+ class: de(["text-end", {
668
+ "button-group": i.showAsGroup === "grouped" || i.showAsGroup === "grouped-no-borders",
669
+ "with-border": i.showAsGroup === "grouped"
670
670
  }])
671
671
  }, [
672
- (V(!0), U(ke, null, Pe(t(n), (c, p) => (V(), I(u, {
673
- key: p,
674
- variant: r(c) === t(R).BUTTON ? "tonal" : "text",
672
+ (V(!0), U(Ce, null, ze(t(n), (p, f) => (V(), B(u, {
673
+ key: f,
674
+ variant: r(p) === t(O).BUTTON ? "tonal" : "text",
675
675
  elevation: 0,
676
- class: re(p !== -1 ? "" : "ms-3"),
677
- size: s.buttonSize,
678
- onClick: tl((b) => c.formAction.execute(b), ["stop"])
676
+ class: de(f !== -1 ? "" : "ms-3"),
677
+ size: i.buttonSize,
678
+ onClick: il((b) => p.formAction.execute(b), ["stop"])
679
679
  }, {
680
680
  default: _(() => [
681
- i(c) ? (V(), I(t(Ve), {
681
+ s(p) ? (V(), B(t(Te), {
682
682
  key: 0,
683
683
  class: "action-icon",
684
- name: c.formAction.icon
685
- }, null, 8, ["name"])) : E("", !0),
686
- i(c) && y(c) ? (V(), U("span", Zt)) : E("", !0),
687
- y(c) ? (V(), U("span", Qt, ie(g(c)), 1)) : E("", !0)
684
+ name: p.formAction.icon
685
+ }, null, 8, ["name"])) : L("", !0),
686
+ s(p) && y(p) ? (V(), U("span", en)) : L("", !0),
687
+ y(p) ? (V(), U("span", ln, ie(g(p)), 1)) : L("", !0)
688
688
  ]),
689
689
  _: 2
690
690
  }, 1032, ["variant", "class", "size", "onClick"]))), 128))
691
- ], 2)) : E("", !0);
691
+ ], 2)) : L("", !0);
692
692
  };
693
693
  }
694
- }), Jt = /* @__PURE__ */ te(Yt, [["__scopeId", "data-v-d7ba6fac"]]), en = /* @__PURE__ */ F({
694
+ }), nn = /* @__PURE__ */ oe(tn, [["__scopeId", "data-v-d7ba6fac"]]), on = /* @__PURE__ */ R({
695
695
  __name: "df-checkbox",
696
- props: /* @__PURE__ */ q({
696
+ props: /* @__PURE__ */ Q({
697
697
  allowNull: { type: Boolean },
698
698
  control: {},
699
699
  modelValue: {},
@@ -706,10 +706,10 @@ const Zt = {
706
706
  visibility: {},
707
707
  cssClass: {},
708
708
  clearable: { type: Boolean }
709
- }, H(N({}, Z), { allowNull: !1 })),
709
+ }, P(N({}, Y), { allowNull: !1 })),
710
710
  emits: ["update:modelValue", "click:clear"],
711
711
  setup(l, { emit: e }) {
712
- const n = l, a = e, { errors: o, label: i, touched: y, value: r, vuetifyBindings: g } = z(n, a), s = C(() => n.allowNull && r.value == null), v = C({
712
+ const n = l, a = e, { errors: o, label: s, touched: y, value: r, vuetifyBindings: g } = z(n, a), i = w(() => n.allowNull && r.value == null), v = w({
713
713
  get() {
714
714
  return r.value;
715
715
  },
@@ -717,36 +717,36 @@ const Zt = {
717
717
  }
718
718
  });
719
719
  function u() {
720
- const c = rl(r.value);
721
- c === !0 ? r.value = n.allowNull ? null : !1 : r.value = c === !1;
720
+ const p = ml(r.value);
721
+ p === !0 ? r.value = n.allowNull ? null : !1 : r.value = p === !1;
722
722
  }
723
- return (c, p) => {
724
- const b = A("v-checkbox");
725
- return V(), I(b, K({
723
+ return (p, f) => {
724
+ const b = $("v-checkbox");
725
+ return V(), B(b, K({
726
726
  modelValue: v.value,
727
- "onUpdate:modelValue": p[0] || (p[0] = (h) => v.value = h)
727
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => v.value = h)
728
728
  }, t(g), {
729
729
  density: "compact",
730
- indeterminate: s.value,
730
+ indeterminate: i.value,
731
731
  "false-value": !1,
732
732
  "true-value": !0,
733
733
  onChange: u,
734
- onBlur: p[1] || (p[1] = (h) => y.value = !0)
735
- }), X({
734
+ onBlur: f[1] || (f[1] = (h) => y.value = !0)
735
+ }), Z({
736
736
  message: _(({ message: h }) => [
737
- B(t(le), {
737
+ T(t(ne), {
738
738
  message: h,
739
739
  errors: t(o)
740
740
  }, null, 8, ["message", "errors"])
741
741
  ]),
742
742
  _: 2
743
743
  }, [
744
- t(i).icon ? {
744
+ t(s).icon ? {
745
745
  name: "label",
746
746
  fn: _((h) => [
747
- B(t(ee), {
747
+ T(t(te), {
748
748
  data: h,
749
- label: t(i)
749
+ label: t(s)
750
750
  }, null, 8, ["data", "label"])
751
751
  ]),
752
752
  key: "0"
@@ -754,9 +754,9 @@ const Zt = {
754
754
  ]), 1040, ["modelValue", "indeterminate"]);
755
755
  };
756
756
  }
757
- }), ln = /* @__PURE__ */ F({
757
+ }), an = /* @__PURE__ */ R({
758
758
  __name: "df-color",
759
- props: /* @__PURE__ */ q({
759
+ props: /* @__PURE__ */ Q({
760
760
  allowNull: { type: Boolean },
761
761
  control: {},
762
762
  modelValue: {},
@@ -769,45 +769,45 @@ const Zt = {
769
769
  visibility: {},
770
770
  cssClass: {},
771
771
  clearable: { type: Boolean }
772
- }, H(N({}, Z), { allowNull: !1 })),
772
+ }, P(N({}, Y), { allowNull: !1 })),
773
773
  emits: ["update:modelValue", "click:clear"],
774
774
  setup(l, { emit: e }) {
775
- const n = l, a = e, { errors: o, label: i, touched: y, value: r, vuetifyBindings: g } = z(n, a), s = D(!1), v = C(() => [
775
+ const n = l, a = e, { errors: o, label: s, touched: y, value: r, vuetifyBindings: g } = z(n, a), i = D(!1), v = w(() => [
776
776
  (u) => n.control || !u && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(u) ? !0 : "Not a valid hex string."
777
777
  ]);
778
- return (u, c) => {
779
- const p = A("v-color-picker"), b = A("v-menu"), h = A("v-text-field");
780
- return V(), I(h, K({
778
+ return (u, p) => {
779
+ const f = $("v-color-picker"), b = $("v-menu"), h = $("v-text-field");
780
+ return V(), B(h, K({
781
781
  modelValue: t(r),
782
- "onUpdate:modelValue": c[2] || (c[2] = (k) => J(r) ? r.value = k : null)
782
+ "onUpdate:modelValue": p[2] || (p[2] = (C) => le(r) ? r.value = C : null)
783
783
  }, t(g), {
784
784
  clearable: u.allowNull,
785
785
  type: "text",
786
786
  rules: v.value,
787
- onBlur: c[3] || (c[3] = (k) => y.value = !0)
788
- }), X({
789
- message: _(({ message: k }) => [
790
- B(t(le), {
791
- message: k,
787
+ onBlur: p[3] || (p[3] = (C) => y.value = !0)
788
+ }), Z({
789
+ message: _(({ message: C }) => [
790
+ T(t(ne), {
791
+ message: C,
792
792
  errors: t(o)
793
793
  }, null, 8, ["message", "errors"])
794
794
  ]),
795
795
  "prepend-inner": _(() => [
796
- Y("div", {
797
- style: we([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: t(r) }])
796
+ ee("div", {
797
+ style: Be([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: t(r) }])
798
798
  }, null, 4)
799
799
  ]),
800
800
  default: _(() => [
801
- B(b, {
802
- modelValue: s.value,
803
- "onUpdate:modelValue": c[1] || (c[1] = (k) => s.value = k),
801
+ T(b, {
802
+ modelValue: i.value,
803
+ "onUpdate:modelValue": p[1] || (p[1] = (C) => i.value = C),
804
804
  "close-on-content-click": !1,
805
805
  activator: "parent"
806
806
  }, {
807
807
  default: _(() => [
808
- B(p, {
808
+ T(f, {
809
809
  modelValue: t(r),
810
- "onUpdate:modelValue": c[0] || (c[0] = (k) => J(r) ? r.value = k : null),
810
+ "onUpdate:modelValue": p[0] || (p[0] = (C) => le(r) ? r.value = C : null),
811
811
  mode: "hexa"
812
812
  }, null, 8, ["modelValue"])
813
813
  ]),
@@ -816,12 +816,12 @@ const Zt = {
816
816
  ]),
817
817
  _: 2
818
818
  }, [
819
- t(i).icon ? {
819
+ t(s).icon ? {
820
820
  name: "label",
821
- fn: _((k) => [
822
- B(t(ee), {
823
- data: k,
824
- label: t(i)
821
+ fn: _((C) => [
822
+ T(t(te), {
823
+ data: C,
824
+ label: t(s)
825
825
  }, null, 8, ["data", "label"])
826
826
  ]),
827
827
  key: "0"
@@ -829,9 +829,9 @@ const Zt = {
829
829
  ]), 1040, ["modelValue", "clearable", "rules"]);
830
830
  };
831
831
  }
832
- }), tn = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, nn = /* @__PURE__ */ F({
832
+ }), sn = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, rn = /* @__PURE__ */ R({
833
833
  __name: "df-datetime",
834
- props: /* @__PURE__ */ q({
834
+ props: /* @__PURE__ */ Q({
835
835
  inputType: {},
836
836
  displayFormatDate: {},
837
837
  displayFormatTime: {},
@@ -846,56 +846,56 @@ const Zt = {
846
846
  visibility: {},
847
847
  cssClass: {},
848
848
  clearable: { type: Boolean }
849
- }, H(N({}, Z), {
849
+ }, P(N({}, Y), {
850
850
  inputType: "datetime",
851
851
  displayFormatDate: "P",
852
852
  displayFormatTime: "p"
853
853
  })),
854
854
  emits: ["update:modelValue", "click:clear"],
855
855
  setup(l, { emit: e }) {
856
- const n = l, a = e, { touched: o, value: i, vuetifyBindings: y } = z(n, a), { inputType: r, displayFormatDate: g, displayFormatTime: s } = be(n), v = D(""), u = C({
856
+ const n = l, a = e, { touched: o, value: s, vuetifyBindings: y } = z(n, a), { inputType: r, displayFormatDate: g, displayFormatTime: i } = he(n), v = D(""), u = w({
857
857
  get() {
858
858
  return t(v) === "date";
859
859
  },
860
860
  set(d) {
861
861
  v.value = d ? "date" : "";
862
862
  }
863
- }), c = C({
863
+ }), p = w({
864
864
  get() {
865
865
  return t(v) === "time";
866
866
  },
867
867
  set(d) {
868
868
  v.value = d ? "time" : "";
869
869
  }
870
- }), p = (d) => `${de(d, "yyyy-MM-dd")}T${de(d, "HH:mm")}:00`, b = D(null);
871
- function h(d, m) {
870
+ }), f = (d) => `${me(d, "yyyy-MM-dd")}T${me(d, "HH:mm")}:00`, b = D(null);
871
+ function h(d, c) {
872
872
  if (d == null)
873
873
  b.value = null;
874
- else if (m === -1)
874
+ else if (c === -1)
875
875
  if (t(r) === "time")
876
- b.value = p(/* @__PURE__ */ new Date()), h(`T${d}`, 1);
876
+ b.value = f(/* @__PURE__ */ new Date()), h(`T${d}`, 1);
877
877
  else {
878
- const S = p(new Date(d));
879
- h(S, 0), h(S, 1);
878
+ const A = f(new Date(d));
879
+ h(A, 0), h(A, 1);
880
880
  }
881
881
  else {
882
- b.value == null && (b.value = p(/* @__PURE__ */ new Date()));
883
- const S = b.value.split(/[TZ]/g), L = d.split(/[TZ]/g);
884
- S[m] = L[m], b.value = p(/* @__PURE__ */ new Date(`${S[0]}T${S[1].split(".")[0]}`)), t(r) === "date" ? i.value = S[0] : t(r) === "time" ? i.value = S[1] : i.value = t(b) + de(/* @__PURE__ */ new Date(), "XXX");
882
+ b.value == null && (b.value = f(/* @__PURE__ */ new Date()));
883
+ const A = b.value.split(/[TZ]/g), F = d.split(/[TZ]/g);
884
+ A[c] = F[c], b.value = f(/* @__PURE__ */ new Date(`${A[0]}T${A[1].split(".")[0]}`)), t(r) === "date" ? s.value = A[0] : t(r) === "time" ? s.value = A[1] : s.value = t(b) + me(/* @__PURE__ */ new Date(), "XXX");
885
885
  }
886
886
  }
887
- ce(i, (d) => h(d, -1), { immediate: !0 });
888
- const k = C({
887
+ re(s, (d) => h(d, -1), { immediate: !0 });
888
+ const C = w({
889
889
  get() {
890
890
  const d = t(b);
891
891
  if (d == null) return null;
892
- const m = new Date(d);
893
- return Number.isNaN(m.getTime()) ? null : m;
892
+ const c = new Date(d);
893
+ return Number.isNaN(c.getTime()) ? null : c;
894
894
  },
895
895
  set(d) {
896
- h(p(d), 0);
896
+ h(f(d), 0);
897
897
  }
898
- }), w = C({
898
+ }), k = w({
899
899
  get() {
900
900
  const d = t(b);
901
901
  return d == null ? "" : d.split(/[TZ]/g)[1].split(".")[0];
@@ -903,45 +903,45 @@ const Zt = {
903
903
  set(d) {
904
904
  h(`T${d}`, 1);
905
905
  }
906
- }), O = C({
906
+ }), E = w({
907
907
  get() {
908
- const d = t(k);
909
- return d == null ? "" : de(d, t(g));
908
+ const d = t(C);
909
+ return d == null ? "" : me(d, t(g));
910
910
  },
911
911
  set(d) {
912
912
  try {
913
- const m = vl(d, t(g), /* @__PURE__ */ new Date());
914
- h(p(m), 0);
915
- } catch (m) {
916
- console.error(m);
913
+ const c = yl(d, t(g), /* @__PURE__ */ new Date());
914
+ h(f(c), 0);
915
+ } catch (c) {
916
+ console.error(c);
917
917
  }
918
918
  }
919
- }), x = C({
919
+ }), x = w({
920
920
  get() {
921
- const d = t(k);
922
- return d == null ? "" : de(d, t(s));
921
+ const d = t(C);
922
+ return d == null ? "" : me(d, t(i));
923
923
  },
924
924
  set(d) {
925
- const m = d.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
926
- if (m == null) return;
927
- let S = Se(m[1]);
928
- const L = Se(m[2]);
929
- De(S) || De(L) || (m[3] && m[3].toLowerCase() === "pm" && S < 13 && (S += 12), h(`T${S.toString().padStart(2, "0")}:${L.toString().padStart(2, "0")}:00`, 1));
925
+ const c = d.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
926
+ if (c == null) return;
927
+ let A = Ee(c[1]);
928
+ const F = Ee(c[2]);
929
+ Fe(A) || Fe(F) || (c[3] && c[3].toLowerCase() === "pm" && A < 13 && (A += 12), h(`T${A.toString().padStart(2, "0")}:${F.toString().padStart(2, "0")}:00`, 1));
930
930
  }
931
931
  });
932
- return (d, m) => {
933
- const S = A("v-date-picker"), L = A("v-confirm-edit"), T = A("v-menu"), $ = A("v-text-field"), Q = A("v-time-picker");
934
- return V(), I(t(Te), K(n, {
932
+ return (d, c) => {
933
+ const A = $("v-date-picker"), F = $("v-confirm-edit"), G = $("v-menu"), W = $("v-text-field"), pe = $("v-time-picker");
934
+ return V(), B(t(Ie), K(n, {
935
935
  clearable: "",
936
- "onClick:clear": m[14] || (m[14] = (P) => i.value = null),
937
- onBlur: m[15] || (m[15] = (P) => o.value = !0)
936
+ "onClick:clear": c[14] || (c[14] = (M) => s.value = null),
937
+ onBlur: c[15] || (c[15] = (M) => o.value = !0)
938
938
  }), {
939
- default: _((P) => [
940
- Y("div", tn, [
941
- ["date", "datetime"].includes(t(r)) ? (V(), I($, {
939
+ default: _((M) => [
940
+ ee("div", sn, [
941
+ ["date", "datetime"].includes(t(r)) ? (V(), B(W, {
942
942
  key: 0,
943
- modelValue: O.value,
944
- "onUpdate:modelValue": m[4] || (m[4] = (f) => O.value = f),
943
+ modelValue: E.value,
944
+ "onUpdate:modelValue": c[4] || (c[4] = (m) => E.value = m),
945
945
  style: { "flex-grow": "4" },
946
946
  density: "compact",
947
947
  variant: "plain",
@@ -950,36 +950,36 @@ const Zt = {
950
950
  readonly: t(y).readonly,
951
951
  disabled: t(y).disabled,
952
952
  name: `${t(y).name}-date`,
953
- onClick: m[5] || (m[5] = (f) => v.value = "date"),
954
- onKeydown: m[6] || (m[6] = $e((f) => v.value = "date", ["space"])),
955
- onFocus: (f) => P.focus(),
956
- onBlur: (f) => P.blur()
953
+ onClick: c[5] || (c[5] = (m) => v.value = "date"),
954
+ onKeydown: c[6] || (c[6] = xe((m) => v.value = "date", ["space"])),
955
+ onFocus: (m) => M.focus(),
956
+ onBlur: (m) => M.blur()
957
957
  }, {
958
958
  default: _(() => [
959
- B(T, {
959
+ T(G, {
960
960
  modelValue: u.value,
961
- "onUpdate:modelValue": m[3] || (m[3] = (f) => u.value = f),
961
+ "onUpdate:modelValue": c[3] || (c[3] = (m) => u.value = m),
962
962
  "close-on-content-click": !1,
963
963
  activator: "parent"
964
964
  }, {
965
965
  default: _(() => [
966
- B(L, {
967
- modelValue: k.value,
968
- "onUpdate:modelValue": m[0] || (m[0] = (f) => k.value = f),
969
- onCancel: m[1] || (m[1] = (f) => v.value = ""),
970
- onSave: m[2] || (m[2] = (f) => v.value = "")
966
+ T(F, {
967
+ modelValue: C.value,
968
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => C.value = m),
969
+ onCancel: c[1] || (c[1] = (m) => v.value = ""),
970
+ onSave: c[2] || (c[2] = (m) => v.value = "")
971
971
  }, {
972
- default: _(({ model: f, actions: M }) => [
973
- B(S, {
974
- modelValue: f.value,
975
- "onUpdate:modelValue": (ne) => f.value = ne,
972
+ default: _(({ model: m, actions: I }) => [
973
+ T(A, {
974
+ modelValue: m.value,
975
+ "onUpdate:modelValue": (H) => m.value = H,
976
976
  "hide-header": !0,
977
977
  "first-day-of-week": 1,
978
978
  "show-adjacent-months": !0,
979
979
  "show-week": !0
980
980
  }, {
981
981
  actions: _(() => [
982
- (V(), I(se(M)))
982
+ (V(), B(ue(I)))
983
983
  ]),
984
984
  _: 2
985
985
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -991,11 +991,11 @@ const Zt = {
991
991
  }, 8, ["modelValue"])
992
992
  ]),
993
993
  _: 2
994
- }, 1032, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : E("", !0),
995
- ["time", "datetime"].includes(t(r)) ? (V(), I($, {
994
+ }, 1032, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
995
+ ["time", "datetime"].includes(t(r)) ? (V(), B(W, {
996
996
  key: 1,
997
997
  modelValue: x.value,
998
- "onUpdate:modelValue": m[11] || (m[11] = (f) => x.value = f),
998
+ "onUpdate:modelValue": c[11] || (c[11] = (m) => x.value = m),
999
999
  style: { "flex-grow": "3" },
1000
1000
  density: "compact",
1001
1001
  variant: "plain",
@@ -1004,34 +1004,34 @@ const Zt = {
1004
1004
  readonly: t(y).readonly,
1005
1005
  disabled: t(y).disabled,
1006
1006
  name: `${t(y).name}-time`,
1007
- onClick: m[12] || (m[12] = (f) => v.value = "time"),
1008
- onKeydown: m[13] || (m[13] = $e((f) => v.value = "time", ["space"])),
1009
- onFocus: (f) => P.focus(),
1010
- onBlur: (f) => P.blur()
1007
+ onClick: c[12] || (c[12] = (m) => v.value = "time"),
1008
+ onKeydown: c[13] || (c[13] = xe((m) => v.value = "time", ["space"])),
1009
+ onFocus: (m) => M.focus(),
1010
+ onBlur: (m) => M.blur()
1011
1011
  }, {
1012
1012
  default: _(() => [
1013
- B(T, {
1014
- modelValue: c.value,
1015
- "onUpdate:modelValue": m[10] || (m[10] = (f) => c.value = f),
1013
+ T(G, {
1014
+ modelValue: p.value,
1015
+ "onUpdate:modelValue": c[10] || (c[10] = (m) => p.value = m),
1016
1016
  "close-on-content-click": !1,
1017
1017
  activator: "parent"
1018
1018
  }, {
1019
1019
  default: _(() => [
1020
- B(L, {
1021
- modelValue: w.value,
1022
- "onUpdate:modelValue": m[7] || (m[7] = (f) => w.value = f),
1023
- onCancel: m[8] || (m[8] = (f) => v.value = ""),
1024
- onSave: m[9] || (m[9] = (f) => v.value = "")
1020
+ T(F, {
1021
+ modelValue: k.value,
1022
+ "onUpdate:modelValue": c[7] || (c[7] = (m) => k.value = m),
1023
+ onCancel: c[8] || (c[8] = (m) => v.value = ""),
1024
+ onSave: c[9] || (c[9] = (m) => v.value = "")
1025
1025
  }, {
1026
- default: _(({ model: f, actions: M }) => [
1027
- B(Q, {
1028
- modelValue: f.value,
1029
- "onUpdate:modelValue": (ne) => f.value = ne,
1026
+ default: _(({ model: m, actions: I }) => [
1027
+ T(pe, {
1028
+ modelValue: m.value,
1029
+ "onUpdate:modelValue": (H) => m.value = H,
1030
1030
  "hide-header": !0,
1031
1031
  format: "24hr"
1032
1032
  }, {
1033
1033
  actions: _(() => [
1034
- (V(), I(se(M)))
1034
+ (V(), B(ue(I)))
1035
1035
  ]),
1036
1036
  _: 2
1037
1037
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1043,19 +1043,19 @@ const Zt = {
1043
1043
  }, 8, ["modelValue"])
1044
1044
  ]),
1045
1045
  _: 2
1046
- }, 1032, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : E("", !0)
1046
+ }, 1032, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0)
1047
1047
  ])
1048
1048
  ]),
1049
1049
  _: 1
1050
1050
  }, 16);
1051
1051
  };
1052
1052
  }
1053
- }), on = {
1053
+ }), un = {
1054
1054
  class: "d-flex w-100 pt-5 pl-2 pb-1",
1055
1055
  style: { position: "relative" }
1056
- }, an = /* @__PURE__ */ F({
1056
+ }, dn = /* @__PURE__ */ R({
1057
1057
  __name: "df-file",
1058
- props: /* @__PURE__ */ q({
1058
+ props: /* @__PURE__ */ Q({
1059
1059
  comms: {},
1060
1060
  control: {},
1061
1061
  modelValue: {},
@@ -1068,70 +1068,70 @@ const Zt = {
1068
1068
  visibility: {},
1069
1069
  cssClass: {},
1070
1070
  clearable: { type: Boolean }
1071
- }, Z),
1071
+ }, Y),
1072
1072
  emits: ["update:modelValue", "click:clear"],
1073
1073
  setup(l, { emit: e }) {
1074
- const n = l, a = e, { touched: o, value: i, vuetifyBindings: y } = z(n, a), r = D(null), g = D(null), s = D(0), v = D(Math.round(Math.random() * 1e3)), u = D(), c = C(() => g.value && s.value < 100), p = C(() => !u.value && i.value ? n.modelValue : "");
1074
+ const n = l, a = e, { touched: o, value: s, vuetifyBindings: y } = z(n, a), r = D(null), g = D(null), i = D(0), v = D(Math.round(Math.random() * 1e3)), u = D(), p = w(() => g.value && i.value < 100), f = w(() => !u.value && s.value ? n.modelValue : "");
1075
1075
  function b() {
1076
1076
  r.value && window.clearInterval(r.value);
1077
1077
  }
1078
1078
  function h() {
1079
1079
  b(), r.value = window.setInterval(() => {
1080
- i.value && n.comms.touch(i.value);
1080
+ s.value && n.comms.touch(s.value);
1081
1081
  }, 60 * 1e3);
1082
1082
  }
1083
- Re(() => b()), ce(i, (x) => {
1083
+ je(() => b()), re(s, (x) => {
1084
1084
  x ? h() : b();
1085
1085
  });
1086
- function k() {
1087
- return me(this, null, function* () {
1088
- i.value && (yield n.comms.delete(i.value)), i.value = null, s.value = 0, v.value = Math.round(Math.random() * 1e3), g.value = null, u.value = null, b();
1086
+ function C() {
1087
+ return ve(this, null, function* () {
1088
+ s.value && (yield n.comms.delete(s.value)), s.value = null, i.value = 0, v.value = Math.round(Math.random() * 1e3), g.value = null, u.value = null, b();
1089
1089
  });
1090
1090
  }
1091
- function w(x) {
1092
- return me(this, null, function* () {
1093
- s.value = -1, g.value = x;
1091
+ function k(x) {
1092
+ return ve(this, null, function* () {
1093
+ i.value = -1, g.value = x;
1094
1094
  try {
1095
- i.value = yield n.comms.upload(
1095
+ s.value = yield n.comms.upload(
1096
1096
  x,
1097
- (d, m) => {
1098
- s.value = Math.round(d * 100 / m);
1097
+ (d, c) => {
1098
+ i.value = Math.round(d * 100 / c);
1099
1099
  }
1100
- ), s.value = 100, h();
1100
+ ), i.value = 100, h();
1101
1101
  } catch (d) {
1102
- throw s.value = 0, g.value = null, v.value = Math.round(Math.random() * 1e3), u.value = null, d;
1102
+ throw i.value = 0, g.value = null, v.value = Math.round(Math.random() * 1e3), u.value = null, d;
1103
1103
  }
1104
1104
  });
1105
1105
  }
1106
- function O(x) {
1107
- x && (Array.isArray(x) ? console.error("Uploading multiple files not supported right now") : w(x));
1106
+ function E(x) {
1107
+ x && (Array.isArray(x) ? console.error("Uploading multiple files not supported right now") : k(x));
1108
1108
  }
1109
1109
  return (x, d) => {
1110
- const m = A("v-icon"), S = A("v-progress-linear"), L = A("v-file-input");
1111
- return V(), I(t(Te), K(H(N({}, n), { loading: c.value }), {
1110
+ const c = $("v-icon"), A = $("v-progress-linear"), F = $("v-file-input");
1111
+ return V(), B(t(Ie), K(P(N({}, n), { loading: p.value }), {
1112
1112
  clearable: "",
1113
- "onClick:clear": k,
1114
- onBlur: d[1] || (d[1] = (T) => o.value = !0)
1113
+ "onClick:clear": C,
1114
+ onBlur: d[1] || (d[1] = (G) => o.value = !0)
1115
1115
  }), {
1116
1116
  "prepend-inner": _(() => [
1117
- B(m, { icon: "$file" })
1117
+ T(c, { icon: "$file" })
1118
1118
  ]),
1119
1119
  loader: _(() => [
1120
- g.value && s.value < 100 ? (V(), I(S, {
1120
+ g.value && i.value < 100 ? (V(), B(A, {
1121
1121
  key: 0,
1122
- "model-value": s.value,
1123
- indeterminate: s.value === -1
1124
- }, null, 8, ["model-value", "indeterminate"])) : E("", !0)
1122
+ "model-value": i.value,
1123
+ indeterminate: i.value === -1
1124
+ }, null, 8, ["model-value", "indeterminate"])) : L("", !0)
1125
1125
  ]),
1126
- default: _((T) => [
1127
- Y("div", on, [
1128
- B(L, {
1126
+ default: _((G) => [
1127
+ ee("div", un, [
1128
+ T(F, {
1129
1129
  modelValue: u.value,
1130
1130
  "onUpdate:modelValue": [
1131
- d[0] || (d[0] = ($) => u.value = $),
1132
- O
1131
+ d[0] || (d[0] = (W) => u.value = W),
1132
+ E
1133
1133
  ],
1134
- label: p.value,
1134
+ label: f.value,
1135
1135
  density: "compact",
1136
1136
  variant: "plain",
1137
1137
  readonly: t(y).readonly,
@@ -1140,11 +1140,11 @@ const Zt = {
1140
1140
  "hide-details": !0,
1141
1141
  "show-size": !0,
1142
1142
  multiple: !1,
1143
- style: we(g.value && s.value < 100 ? "visibility: hidden" : ""),
1143
+ style: Be(g.value && i.value < 100 ? "visibility: hidden" : ""),
1144
1144
  clearable: !1,
1145
1145
  "prepend-icon": "",
1146
- onFocus: ($) => T.focus(),
1147
- onBlur: ($) => T.blur()
1146
+ onFocus: (W) => G.focus(),
1147
+ onBlur: (W) => G.blur()
1148
1148
  }, null, 8, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
1149
1149
  ])
1150
1150
  ]),
@@ -1152,9 +1152,9 @@ const Zt = {
1152
1152
  }, 16);
1153
1153
  };
1154
1154
  }
1155
- }), sn = { class: "container" }, rn = /* @__PURE__ */ F({
1155
+ }), cn = { class: "container" }, mn = /* @__PURE__ */ R({
1156
1156
  __name: "df-input",
1157
- props: /* @__PURE__ */ q({
1157
+ props: /* @__PURE__ */ Q({
1158
1158
  inputType: {},
1159
1159
  precision: {},
1160
1160
  step: {},
@@ -1171,7 +1171,7 @@ const Zt = {
1171
1171
  visibility: {},
1172
1172
  cssClass: {},
1173
1173
  clearable: { type: Boolean }
1174
- }, H(N({}, Z), {
1174
+ }, P(N({}, Y), {
1175
1175
  inputType: "text",
1176
1176
  precision: null,
1177
1177
  step: void 0,
@@ -1180,58 +1180,58 @@ const Zt = {
1180
1180
  })),
1181
1181
  emits: ["update:modelValue", "click:clear"],
1182
1182
  setup(l, { emit: e }) {
1183
- const n = l, a = e, { errors: o, label: i, touched: y, value: r, vuetifyBindings: g } = z(n, a), { inputType: s, max: v, min: u, precision: c, step: p } = be(n), b = C(() => s.value === "number"), h = C(() => b.value ? { min: t(u), max: t(v), precision: t(c), step: t(p) } : {});
1184
- return (k, w) => {
1185
- const O = A("v-text-field"), x = A("v-number-input");
1186
- return V(), U("div", sn, [
1187
- b.value ? (V(), I(x, K({
1183
+ const n = l, a = e, { errors: o, label: s, touched: y, value: r, vuetifyBindings: g } = z(n, a), { inputType: i, max: v, min: u, precision: p, step: f } = he(n), b = w(() => i.value === "number"), h = w(() => b.value ? { min: t(u), max: t(v), precision: t(p), step: t(f) } : {});
1184
+ return (C, k) => {
1185
+ const E = $("v-text-field"), x = $("v-number-input");
1186
+ return V(), U("div", cn, [
1187
+ b.value ? (V(), B(x, K({
1188
1188
  key: 1,
1189
1189
  modelValue: t(r),
1190
- "onUpdate:modelValue": w[2] || (w[2] = (d) => J(r) ? r.value = d : null)
1190
+ "onUpdate:modelValue": k[2] || (k[2] = (d) => le(r) ? r.value = d : null)
1191
1191
  }, N(N({}, t(g)), h.value), {
1192
1192
  density: "compact",
1193
1193
  "control-variant": "stacked"
1194
- }), X({
1194
+ }), Z({
1195
1195
  message: _(({ message: d }) => [
1196
- B(t(le), {
1196
+ T(t(ne), {
1197
1197
  message: d,
1198
1198
  errors: t(o)
1199
1199
  }, null, 8, ["message", "errors"])
1200
1200
  ]),
1201
1201
  _: 2
1202
1202
  }, [
1203
- t(i).icon ? {
1203
+ t(s).icon ? {
1204
1204
  name: "label",
1205
1205
  fn: _((d) => [
1206
- B(t(ee), {
1206
+ T(t(te), {
1207
1207
  data: d,
1208
- label: t(i)
1208
+ label: t(s)
1209
1209
  }, null, 8, ["data", "label"])
1210
1210
  ]),
1211
1211
  key: "0"
1212
1212
  } : void 0
1213
- ]), 1040, ["modelValue"])) : (V(), I(O, K({
1213
+ ]), 1040, ["modelValue"])) : (V(), B(E, K({
1214
1214
  key: 0,
1215
1215
  modelValue: t(r),
1216
- "onUpdate:modelValue": w[0] || (w[0] = (d) => J(r) ? r.value = d : null)
1216
+ "onUpdate:modelValue": k[0] || (k[0] = (d) => le(r) ? r.value = d : null)
1217
1217
  }, t(g), {
1218
- type: t(s),
1219
- onBlur: w[1] || (w[1] = (d) => y.value = !0)
1220
- }), X({
1218
+ type: t(i),
1219
+ onBlur: k[1] || (k[1] = (d) => y.value = !0)
1220
+ }), Z({
1221
1221
  message: _(({ message: d }) => [
1222
- B(t(le), {
1222
+ T(t(ne), {
1223
1223
  message: d,
1224
1224
  errors: t(o)
1225
1225
  }, null, 8, ["message", "errors"])
1226
1226
  ]),
1227
1227
  _: 2
1228
1228
  }, [
1229
- t(i).icon ? {
1229
+ t(s).icon ? {
1230
1230
  name: "label",
1231
1231
  fn: _((d) => [
1232
- B(t(ee), {
1232
+ T(t(te), {
1233
1233
  data: d,
1234
- label: t(i)
1234
+ label: t(s)
1235
1235
  }, null, 8, ["data", "label"])
1236
1236
  ]),
1237
1237
  key: "0"
@@ -1240,7 +1240,7 @@ const Zt = {
1240
1240
  ]);
1241
1241
  };
1242
1242
  }
1243
- }), un = /* @__PURE__ */ te(rn, [["__scopeId", "data-v-06be139f"]]), dn = { class: "editor-container" }, cn = { class: "editor-container__editor" }, mn = { ref: "editorElement" }, pn = /* @__PURE__ */ F({
1243
+ }), pn = /* @__PURE__ */ oe(mn, [["__scopeId", "data-v-06be139f"]]), vn = { class: "editor-container" }, fn = { class: "editor-container__editor" }, bn = { ref: "editorElement" }, gn = /* @__PURE__ */ R({
1244
1244
  __name: "ck-editor-custom",
1245
1245
  props: {
1246
1246
  modelValue: { default: "" },
@@ -1249,10 +1249,10 @@ const Zt = {
1249
1249
  },
1250
1250
  emits: ["update:modelValue"],
1251
1251
  setup(l, { expose: e, emit: n }) {
1252
- nl((u) => ({
1252
+ rl((u) => ({
1253
1253
  "3d4d5a06": u.minHeight
1254
1254
  }));
1255
- const a = n, o = D(!1), i = tt, s = {
1255
+ const a = n, o = D(!1), s = st, i = {
1256
1256
  toolbar: {
1257
1257
  items: [
1258
1258
  "undo",
@@ -1284,10 +1284,6 @@ const Zt = {
1284
1284
  shouldNotGroupWhenFull: !1
1285
1285
  },
1286
1286
  plugins: [
1287
- fl,
1288
- bl,
1289
- gl,
1290
- yl,
1291
1287
  hl,
1292
1288
  _l,
1293
1289
  Vl,
@@ -1324,7 +1320,11 @@ const Zt = {
1324
1320
  Yl,
1325
1321
  Jl,
1326
1322
  et,
1327
- lt
1323
+ lt,
1324
+ tt,
1325
+ nt,
1326
+ ot,
1327
+ at
1328
1328
  ],
1329
1329
  balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
1330
1330
  heading: {
@@ -1383,34 +1383,34 @@ const Zt = {
1383
1383
  },
1384
1384
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
1385
1385
  };
1386
- Le(() => {
1386
+ He(() => {
1387
1387
  o.value = !0;
1388
1388
  });
1389
1389
  const v = (u) => {
1390
1390
  };
1391
- return e({ onEditorReady: v }), (u, c) => {
1392
- const p = A("ckeditor");
1393
- return V(), U("div", dn, [
1394
- Y("div", cn, [
1395
- Y("div", mn, [
1396
- o.value ? (V(), I(p, {
1391
+ return e({ onEditorReady: v }), (u, p) => {
1392
+ const f = $("ckeditor");
1393
+ return V(), U("div", vn, [
1394
+ ee("div", fn, [
1395
+ ee("div", bn, [
1396
+ o.value ? (V(), B(f, {
1397
1397
  key: 0,
1398
1398
  "model-value": u.modelValue,
1399
- editor: t(i),
1400
- config: s,
1399
+ editor: t(s),
1400
+ config: i,
1401
1401
  disabled: u.disabled,
1402
- style: we(`min-height: ${u.minHeight}`),
1402
+ style: Be(`min-height: ${u.minHeight}`),
1403
1403
  onReady: v,
1404
- "onUpdate:modelValue": c[0] || (c[0] = (b) => a("update:modelValue", b))
1405
- }, null, 8, ["model-value", "editor", "disabled", "style"])) : E("", !0)
1404
+ "onUpdate:modelValue": p[0] || (p[0] = (b) => a("update:modelValue", b))
1405
+ }, null, 8, ["model-value", "editor", "disabled", "style"])) : L("", !0)
1406
1406
  ], 512)
1407
1407
  ])
1408
1408
  ]);
1409
1409
  };
1410
1410
  }
1411
- }), vn = /* @__PURE__ */ F({
1411
+ }), yn = /* @__PURE__ */ R({
1412
1412
  __name: "df-rtf-editor",
1413
- props: /* @__PURE__ */ q({
1413
+ props: /* @__PURE__ */ Q({
1414
1414
  minHeight: {},
1415
1415
  control: {},
1416
1416
  modelValue: {},
@@ -1423,61 +1423,61 @@ const Zt = {
1423
1423
  visibility: {},
1424
1424
  cssClass: {},
1425
1425
  clearable: { type: Boolean }
1426
- }, H(N({}, Z), { minHeight: void 0 })),
1426
+ }, P(N({}, Y), { minHeight: void 0 })),
1427
1427
  emits: ["update:modelValue", "click:clear"],
1428
1428
  setup(l, { emit: e }) {
1429
- const n = l, a = e, { value: o, vuetifyBindings: i } = z(n, a);
1430
- return (y, r) => (V(), I(t(Te), G(W(n)), {
1429
+ const n = l, a = e, { value: o, vuetifyBindings: s } = z(n, a);
1430
+ return (y, r) => (V(), B(t(Ie), X(q(n)), {
1431
1431
  default: _((g) => [
1432
- B(pn, {
1432
+ T(gn, {
1433
1433
  ref: "$editor",
1434
1434
  modelValue: t(o),
1435
- "onUpdate:modelValue": r[0] || (r[0] = (s) => J(o) ? o.value = s : null),
1436
- class: re({ "mt-8": !!y.label }),
1435
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => le(o) ? o.value = i : null),
1436
+ class: de({ "mt-8": !!y.label }),
1437
1437
  "min-height": y.minHeight,
1438
- disabled: t(i).disabled,
1439
- onFocusin: (s) => g.focus(),
1440
- onFocusout: (s) => g.blur()
1438
+ disabled: t(s).disabled,
1439
+ onFocusin: (i) => g.focus(),
1440
+ onFocusout: (i) => g.blur()
1441
1441
  }, null, 8, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
1442
1442
  ]),
1443
1443
  _: 1
1444
1444
  }, 16));
1445
1445
  }
1446
1446
  });
1447
- function fn(l) {
1447
+ function hn(l) {
1448
1448
  return l.map((e) => ({ value: e.id, title: e.text, icon: e.icon }));
1449
1449
  }
1450
- function oe(l, e) {
1450
+ function J(l, e) {
1451
1451
  var n;
1452
- return l == null || xe(l) && l.length === 0 ? null : e ? Me(l) : xe(l) ? (n = He(l)) != null ? n : null : l;
1452
+ return l == null || Le(l) && l.length === 0 ? null : e ? Ge(l) : Le(l) ? (n = We(l)) != null ? n : null : l;
1453
1453
  }
1454
- function fe(l, e) {
1454
+ function ye(l, e) {
1455
1455
  if (e == null) return [];
1456
- const n = Me(e);
1456
+ const n = Ge(e);
1457
1457
  return l.filter((a) => n.some((o) => o === a.id));
1458
1458
  }
1459
- function _e(l, e, n, a, o) {
1459
+ function fe(l, e, n, a, o) {
1460
1460
  var y;
1461
- const i = oe(l, n);
1462
- if (i == null) {
1461
+ const s = J(l, n);
1462
+ if (s == null) {
1463
1463
  e.value = n ? [] : null;
1464
1464
  return;
1465
1465
  }
1466
1466
  if (n)
1467
- a ? e.value = i : e.value = fe(o, i).map((r) => r.id);
1467
+ a ? e.value = s : e.value = ye(o, s).map((r) => r.id);
1468
1468
  else if (a)
1469
- e.value = i;
1469
+ e.value = s;
1470
1470
  else {
1471
- const r = He(fe(o, i));
1471
+ const r = We(ye(o, s));
1472
1472
  e.value = (y = r == null ? void 0 : r.id) != null ? y : null;
1473
1473
  }
1474
1474
  }
1475
- const bn = {
1475
+ const _n = {
1476
1476
  key: 0,
1477
1477
  class: "me-1"
1478
- }, gn = /* @__PURE__ */ F({
1478
+ }, Vn = /* @__PURE__ */ R({
1479
1479
  __name: "df-select",
1480
- props: /* @__PURE__ */ q({
1480
+ props: /* @__PURE__ */ Q({
1481
1481
  choices: {},
1482
1482
  multiple: { type: Boolean },
1483
1483
  allowTags: { type: Boolean },
@@ -1494,7 +1494,7 @@ const bn = {
1494
1494
  visibility: {},
1495
1495
  cssClass: {},
1496
1496
  clearable: { type: Boolean }
1497
- }, H(N({}, Z), {
1497
+ }, P(N({}, Y), {
1498
1498
  choices: void 0,
1499
1499
  multiple: !1,
1500
1500
  allowTags: !1,
@@ -1503,50 +1503,62 @@ const bn = {
1503
1503
  })),
1504
1504
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
1505
1505
  setup(l, { emit: e }) {
1506
- const n = l, { choices: a } = n, { multiple: o, allowTags: i, allowNull: y, cssClass: r, visibility: g } = be(n), s = e, { errors: v, label: u, touched: c, value: p, vuetifyBindings: b } = z(n, s), h = D(null), k = D(a || []), w = D(!1), O = C(() => fn(k.value));
1507
- function x(T) {
1508
- s("update:modelValueDisplay", fe(k.value, T));
1506
+ const n = l, { choices: a, multiple: o, allowTags: s, allowNull: y, cssClass: r, visibility: g } = he(n), i = e, { errors: v, label: u, touched: p, value: f, vuetifyBindings: b } = z(n, i), h = D(null), C = D(!1), k = D([]), E = w(() => t(C) ? t(k) : t(a) || []), x = D(!1), d = w(() => hn(E.value));
1507
+ function c(m) {
1508
+ i("update:modelValueDisplay", ye(E.value, m));
1509
1509
  }
1510
- ce(h, (T) => {
1511
- b.value.readonly || ol(() => {
1512
- const $ = oe(T, o.value);
1513
- x($), p.value = $;
1510
+ let A = !1;
1511
+ function F(m) {
1512
+ A = !0, console.log("b"), f.value = m, Ne(() => {
1513
+ A = !1;
1514
1514
  });
1515
+ }
1516
+ re(h, (m) => {
1517
+ b.value.readonly || Ne(() => {
1518
+ const I = J(m, o.value);
1519
+ c(I), F(I);
1520
+ });
1521
+ }, { deep: !0 }), re(f, (m) => {
1522
+ if (!A) {
1523
+ console.log("a");
1524
+ const I = J(m, o.value);
1525
+ fe(I, h, o.value, !1, E.value);
1526
+ }
1515
1527
  }, { deep: !0 });
1516
- function d() {
1517
- if (b.value.readonly || i.value) return;
1518
- const T = oe(h.value, o.value);
1519
- _e(T, h, o.value, !1, k.value), p.value = T;
1528
+ function G() {
1529
+ if (b.value.readonly || s.value) return;
1530
+ const m = J(h.value, o.value);
1531
+ fe(m, h, o.value, !1, E.value), F(m);
1520
1532
  }
1521
- function m(T) {
1522
- let $;
1523
- o.value && Array.isArray(h.value) ? $ = oe(h.value.filter((Q) => Q !== T), o.value) : $ = null, _e($, h, o.value, !1, k.value), p.value = $;
1533
+ function W(m) {
1534
+ let I;
1535
+ o.value && Array.isArray(h.value) ? I = J(h.value.filter((H) => H !== m), o.value) : I = null, fe(I, h, o.value, !1, E.value), F(I);
1524
1536
  }
1525
- function S(T, $) {
1526
- return me(this, null, function* () {
1527
- if (!(a || n.fetchChoices === void 0)) {
1528
- w.value = !0;
1537
+ function pe(m, I) {
1538
+ return ve(this, null, function* () {
1539
+ if (!(a.value || n.fetchChoices === void 0)) {
1540
+ x.value = !0;
1529
1541
  try {
1530
- const Q = fe(k.value, oe(h.value, o.value)), P = yield n.fetchChoices(T, $);
1531
- k.value = ul([...Q, ...P], "id");
1542
+ const H = ye(E.value, J(h.value, o.value)), _e = yield n.fetchChoices(m, I);
1543
+ k.value = pl([...H, ..._e], "id"), C.value = !0;
1532
1544
  } finally {
1533
- w.value = !1;
1545
+ x.value = !1;
1534
1546
  }
1535
1547
  }
1536
1548
  });
1537
1549
  }
1538
- function L() {
1539
- let T = p.value;
1540
- !y.value && T == null && O.value.length && (T = O.value[0].value), T = oe(T, o.value), _e(T, h, o.value, i.value, k.value), x(T), p.value = T;
1550
+ function M() {
1551
+ let m = f.value;
1552
+ !y.value && m == null && d.value.length && (m = d.value[0].value), m = J(m, o.value), fe(m, h, o.value, s.value, E.value), c(m), F(m);
1541
1553
  }
1542
- return L(), n.fetchChoices !== void 0 && S(void 0, p.value).then(() => {
1543
- L();
1544
- }), (T, $) => {
1545
- const Q = A("v-chip"), P = A("v-list-item");
1546
- return t(g) !== t(j).SUPPRESS ? (V(), I(se(t(i) ? "v-combobox" : "v-autocomplete"), K({
1554
+ return M(), n.fetchChoices !== void 0 && pe(void 0, f.value).then(() => {
1555
+ M();
1556
+ }), (m, I) => {
1557
+ const H = $("v-chip"), _e = $("v-list-item");
1558
+ return t(g) !== t(j).SUPPRESS ? (V(), B(ue(t(s) ? "v-combobox" : "v-autocomplete"), K({
1547
1559
  key: 0,
1548
1560
  modelValue: h.value,
1549
- "onUpdate:modelValue": $[0] || ($[0] = (f) => h.value = f),
1561
+ "onUpdate:modelValue": I[0] || (I[0] = (S) => h.value = S),
1550
1562
  class: [
1551
1563
  t(r),
1552
1564
  {
@@ -1554,7 +1566,7 @@ const bn = {
1554
1566
  invisible: t(g) === t(j).INVISIBLE
1555
1567
  }
1556
1568
  ],
1557
- items: O.value,
1569
+ items: d.value,
1558
1570
  "return-object": !1
1559
1571
  }, t(b), {
1560
1572
  label: t(b).label,
@@ -1563,63 +1575,63 @@ const bn = {
1563
1575
  "closable-chips": t(y) || t(o) && h.value.length > 1,
1564
1576
  clearable: t(y),
1565
1577
  multiple: t(o),
1566
- loading: w.value,
1578
+ loading: x.value,
1567
1579
  "hide-selected": !1,
1568
1580
  "aria-describedby": t(b).helpText ? `${t(b).name}-help` : null,
1569
1581
  "menu-props": { maxHeight: "400" },
1570
1582
  "hide-details": "auto",
1571
- "onUpdate:search": $[1] || ($[1] = (f) => S(f, void 0)),
1572
- "onUpdate:modelValue": d,
1573
- "onClick:clear": $[2] || ($[2] = (f) => h.value = null),
1574
- onBlur: $[3] || ($[3] = (f) => c.value = !0)
1575
- }), X({
1576
- chip: _(({ item: f }) => [
1577
- (V(), I(Q, {
1578
- key: f.value,
1583
+ "onUpdate:search": I[1] || (I[1] = (S) => pe(S, void 0)),
1584
+ "onUpdate:modelValue": G,
1585
+ "onClick:clear": I[2] || (I[2] = (S) => h.value = null),
1586
+ onBlur: I[3] || (I[3] = (S) => p.value = !0)
1587
+ }), Z({
1588
+ chip: _(({ item: S }) => [
1589
+ (V(), B(H, {
1590
+ key: S.value,
1579
1591
  label: "",
1580
1592
  size: "small",
1581
1593
  class: "d-flex align-middle",
1582
1594
  variant: t(o) ? "tonal" : "text",
1583
1595
  closable: t(o),
1584
- "onClick:close": (M) => m(f.value)
1596
+ "onClick:close": (ae) => W(S.value)
1585
1597
  }, {
1586
1598
  prepend: _(() => {
1587
- var M;
1599
+ var ae;
1588
1600
  return [
1589
- (M = f.raw) != null && M.icon ? (V(), I(t(Ve), {
1601
+ (ae = S.raw) != null && ae.icon ? (V(), B(t(Te), {
1590
1602
  key: 0,
1591
1603
  class: "me-1 action-icon d-inline-block",
1592
- name: f.raw.icon
1593
- }, null, 8, ["name"])) : E("", !0)
1604
+ name: S.raw.icon
1605
+ }, null, 8, ["name"])) : L("", !0)
1594
1606
  ];
1595
1607
  }),
1596
1608
  default: _(() => [
1597
- Y("span", {
1598
- class: re({ "text-body-1": !t(o) })
1599
- }, ie(f.title), 3)
1609
+ ee("span", {
1610
+ class: de({ "text-body-1": !t(o) })
1611
+ }, ie(S.title), 3)
1600
1612
  ]),
1601
1613
  _: 2
1602
1614
  }, 1032, ["variant", "closable", "onClick:close"]))
1603
1615
  ]),
1604
- item: _(({ props: f, item: M }) => [
1605
- B(P, G(W(f)), {
1616
+ item: _(({ props: S, item: ae }) => [
1617
+ T(_e, X(q(S)), {
1606
1618
  prepend: _(() => {
1607
- var ne;
1619
+ var $e;
1608
1620
  return [
1609
- (ne = M.raw) != null && ne.icon ? (V(), U("span", bn, [
1610
- B(t(Ve), {
1621
+ ($e = ae.raw) != null && $e.icon ? (V(), U("span", _n, [
1622
+ T(t(Te), {
1611
1623
  class: "action-icon d-inline-block",
1612
- name: M.raw.icon
1624
+ name: ae.raw.icon
1613
1625
  }, null, 8, ["name"])
1614
- ])) : E("", !0)
1626
+ ])) : L("", !0)
1615
1627
  ];
1616
1628
  }),
1617
1629
  _: 2
1618
1630
  }, 1040)
1619
1631
  ]),
1620
- message: _(({ message: f }) => [
1621
- B(t(le), {
1622
- message: f,
1632
+ message: _(({ message: S }) => [
1633
+ T(t(ne), {
1634
+ message: S,
1623
1635
  errors: t(v)
1624
1636
  }, null, 8, ["message", "errors"])
1625
1637
  ]),
@@ -1627,34 +1639,34 @@ const bn = {
1627
1639
  }, [
1628
1640
  t(u).icon ? {
1629
1641
  name: "label",
1630
- fn: _((f) => [
1631
- B(t(ee), {
1632
- data: f,
1642
+ fn: _((S) => [
1643
+ T(t(te), {
1644
+ data: S,
1633
1645
  label: t(u)
1634
1646
  }, null, 8, ["data", "label"])
1635
1647
  ]),
1636
1648
  key: "0"
1637
1649
  } : void 0,
1638
- T.$slots["append-inner"] ? {
1650
+ m.$slots["append-inner"] ? {
1639
1651
  name: "append-inner",
1640
- fn: _((f) => [
1641
- ae(T.$slots, "append-inner", G(W(f)), void 0, !0)
1652
+ fn: _((S) => [
1653
+ se(m.$slots, "append-inner", X(q(S)), void 0, !0)
1642
1654
  ]),
1643
1655
  key: "1"
1644
1656
  } : void 0,
1645
- T.$slots["prepend-inner"] ? {
1657
+ m.$slots["prepend-inner"] ? {
1646
1658
  name: "prepend-inner",
1647
- fn: _((f) => [
1648
- ae(T.$slots, "prepend-inner", G(W(f)), void 0, !0)
1659
+ fn: _((S) => [
1660
+ se(m.$slots, "prepend-inner", X(q(S)), void 0, !0)
1649
1661
  ]),
1650
1662
  key: "2"
1651
1663
  } : void 0
1652
- ]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : E("", !0);
1664
+ ]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : L("", !0);
1653
1665
  };
1654
1666
  }
1655
- }), yn = /* @__PURE__ */ te(gn, [["__scopeId", "data-v-7e0390c8"]]), hn = { class: "container" }, _n = /* @__PURE__ */ F({
1667
+ }), kn = /* @__PURE__ */ oe(Vn, [["__scopeId", "data-v-38f69314"]]), wn = { class: "container" }, Tn = /* @__PURE__ */ R({
1656
1668
  __name: "df-text-area",
1657
- props: /* @__PURE__ */ q({
1669
+ props: /* @__PURE__ */ Q({
1658
1670
  rows: {},
1659
1671
  maxRows: {},
1660
1672
  control: {},
@@ -1668,22 +1680,22 @@ const bn = {
1668
1680
  visibility: {},
1669
1681
  cssClass: {},
1670
1682
  clearable: { type: Boolean }
1671
- }, H(N({}, Z), {
1683
+ }, P(N({}, Y), {
1672
1684
  rows: void 0,
1673
1685
  maxRows: void 0
1674
1686
  })),
1675
1687
  emits: ["update:modelValue", "click:clear"],
1676
1688
  setup(l, { emit: e }) {
1677
- const n = l, a = e, { errors: o, label: i, touched: y, value: r, vuetifyBindings: g } = z(n, a), { cssClass: s, visibility: v } = be(n);
1678
- return (u, c) => {
1679
- const p = A("v-textarea");
1680
- return V(), U("div", hn, [
1681
- t(v) !== t(j).SUPPRESS ? (V(), I(p, K({
1689
+ const n = l, a = e, { errors: o, label: s, touched: y, value: r, vuetifyBindings: g } = z(n, a), { cssClass: i, visibility: v } = he(n);
1690
+ return (u, p) => {
1691
+ const f = $("v-textarea");
1692
+ return V(), U("div", wn, [
1693
+ t(v) !== t(j).SUPPRESS ? (V(), B(f, K({
1682
1694
  key: 0,
1683
1695
  modelValue: t(r),
1684
- "onUpdate:modelValue": c[0] || (c[0] = (b) => J(r) ? r.value = b : null),
1696
+ "onUpdate:modelValue": p[0] || (p[0] = (b) => le(r) ? r.value = b : null),
1685
1697
  class: [
1686
- t(s),
1698
+ t(i),
1687
1699
  {
1688
1700
  "d-none": t(v) === t(j).HIDDEN,
1689
1701
  invisible: t(v) === t(j).INVISIBLE
@@ -1693,98 +1705,98 @@ const bn = {
1693
1705
  "auto-grow": (u.maxRows || 0) > 0,
1694
1706
  "max-rows": u.maxRows
1695
1707
  }, t(g), {
1696
- onBlur: c[1] || (c[1] = (b) => y.value = !0)
1697
- }), X({
1708
+ onBlur: p[1] || (p[1] = (b) => y.value = !0)
1709
+ }), Z({
1698
1710
  message: _(({ message: b }) => [
1699
- B(t(le), {
1711
+ T(t(ne), {
1700
1712
  message: b,
1701
1713
  errors: t(o)
1702
1714
  }, null, 8, ["message", "errors"])
1703
1715
  ]),
1704
1716
  _: 2
1705
1717
  }, [
1706
- t(i).icon ? {
1718
+ t(s).icon ? {
1707
1719
  name: "label",
1708
1720
  fn: _((b) => [
1709
- B(t(ee), {
1721
+ T(t(te), {
1710
1722
  data: b,
1711
- label: t(i)
1723
+ label: t(s)
1712
1724
  }, null, 8, ["data", "label"])
1713
1725
  ]),
1714
1726
  key: "0"
1715
1727
  } : void 0
1716
- ]), 1040, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : E("", !0)
1728
+ ]), 1040, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : L("", !0)
1717
1729
  ]);
1718
1730
  };
1719
1731
  }
1720
- }), Vn = /* @__PURE__ */ te(_n, [["__scopeId", "data-v-6257d46c"]]), kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1732
+ }), Cn = /* @__PURE__ */ oe(Tn, [["__scopeId", "data-v-6257d46c"]]), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1721
1733
  __proto__: null,
1722
- DfActions: Jt,
1723
- DfCheckbox: en,
1724
- DfColor: ln,
1725
- DfDateTime: nn,
1726
- DfFile: an,
1727
- DfInput: un,
1728
- DfRtfEditor: vn,
1729
- DfSelect: yn,
1730
- DfTextArea: Vn
1731
- }, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1734
+ DfActions: nn,
1735
+ DfCheckbox: on,
1736
+ DfColor: an,
1737
+ DfDateTime: rn,
1738
+ DfFile: dn,
1739
+ DfInput: pn,
1740
+ DfRtfEditor: yn,
1741
+ DfSelect: kn,
1742
+ DfTextArea: Cn
1743
+ }, Symbol.toStringTag, { value: "Module" })), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1732
1744
  __proto__: null,
1733
- VAutocomplete: nt,
1734
- VBtn: ot,
1735
- VCheckbox: at,
1736
- VChip: it,
1737
- VCol: pt,
1738
- VColorPicker: rt,
1739
- VCombobox: st,
1740
- VConfirmEdit: ut,
1741
- VDatePicker: dt,
1742
- VField: ct,
1743
- VFileInput: mt,
1744
- VIcon: ft,
1745
- VImg: bt,
1746
- VInput: gt,
1747
- VListItem: yt,
1748
- VMenu: ht,
1749
- VNumberInput: _t,
1750
- VProgressLinear: Vt,
1751
- VRow: vt,
1752
- VSelect: kt,
1753
- VSwitch: wt,
1754
- VTextField: Ct,
1755
- VTextarea: Tt,
1756
- VTimePicker: Bt
1757
- }, Symbol.toStringTag, { value: "Module" })), to = {
1745
+ VAutocomplete: it,
1746
+ VBtn: rt,
1747
+ VCheckbox: ut,
1748
+ VChip: dt,
1749
+ VCol: gt,
1750
+ VColorPicker: mt,
1751
+ VCombobox: ct,
1752
+ VConfirmEdit: pt,
1753
+ VDatePicker: vt,
1754
+ VField: ft,
1755
+ VFileInput: bt,
1756
+ VIcon: ht,
1757
+ VImg: _t,
1758
+ VInput: Vt,
1759
+ VListItem: kt,
1760
+ VMenu: wt,
1761
+ VNumberInput: Tt,
1762
+ VProgressLinear: Ct,
1763
+ VRow: yt,
1764
+ VSelect: Bt,
1765
+ VSwitch: It,
1766
+ VTextField: At,
1767
+ VTextarea: $t,
1768
+ VTimePicker: St
1769
+ }, Symbol.toStringTag, { value: "Module" })), so = {
1758
1770
  install: (l, e) => {
1759
1771
  var n, a;
1760
- l.use(Rt), l.provide(Ge, e != null ? e : {}), (n = e == null ? void 0 : e.registerComponents) != null && n && Object.entries(kn).map(([o, i]) => l.component(o, i)), (a = e == null ? void 0 : e.registerVuetifyComponents) != null && a && Object.entries(wn).map(([o, i]) => l.component(o, i));
1772
+ l.use(Ht), l.provide(Qe, e != null ? e : {}), (n = e == null ? void 0 : e.registerComponents) != null && n && Object.entries(Bn).map(([o, s]) => l.component(o, s)), (a = e == null ? void 0 : e.registerVuetifyComponents) != null && a && Object.entries(In).map(([o, s]) => l.component(o, s));
1761
1773
  }
1762
1774
  };
1763
1775
  export {
1764
- pe as Action,
1765
- R as ActionDisplayStyle,
1766
- Jt as DfActions,
1767
- en as DfCheckbox,
1768
- ln as DfColor,
1769
- nn as DfDateTime,
1770
- an as DfFile,
1771
- un as DfInput,
1772
- ee as DfLabel,
1773
- vn as DfRtfEditor,
1774
- yn as DfSelect,
1775
- Vn as DfTextArea,
1776
- to as DynamicFormsInputs,
1777
- Te as InputBase,
1778
- Mt as Label,
1779
- le as MessagesWidget,
1780
- qt as ResponsiveLabelRenderOptions,
1781
- Xt as ResponsiveRenderOptions,
1782
- wn as VuetifyComponents,
1783
- Z as defaultBaseProps,
1784
- Ue as defaultDisplayStyle,
1785
- Fe as getBreakpointName,
1786
- Ee as responsiveBreakpoints,
1776
+ be as Action,
1777
+ O as ActionDisplayStyle,
1778
+ nn as DfActions,
1779
+ on as DfCheckbox,
1780
+ an as DfColor,
1781
+ rn as DfDateTime,
1782
+ dn as DfFile,
1783
+ pn as DfInput,
1784
+ te as DfLabel,
1785
+ yn as DfRtfEditor,
1786
+ kn as DfSelect,
1787
+ Cn as DfTextArea,
1788
+ so as DynamicFormsInputs,
1789
+ Ie as InputBase,
1790
+ zt as Label,
1791
+ ne as MessagesWidget,
1792
+ Jt as ResponsiveLabelRenderOptions,
1793
+ Yt as ResponsiveRenderOptions,
1794
+ In as VuetifyComponents,
1795
+ Y as defaultBaseProps,
1796
+ Oe as defaultDisplayStyle,
1797
+ Me as getBreakpointName,
1798
+ Pe as responsiveBreakpoints,
1787
1799
  z as useInputBase,
1788
- Ge as vuetifyInputsSettingsKey
1800
+ Qe as vuetifyInputsSettingsKey
1789
1801
  };
1790
1802
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map