@dynamicforms/vuetify-inputs 0.1.18 → 0.2.2

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