@dynamicforms/vuetify-inputs 0.4.5 → 0.5.1

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