@dynamicforms/vuetify-inputs 0.9.0 → 0.9.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,69 +1,69 @@
1
- var yt = Object.defineProperty, wt = Object.defineProperties;
2
- var kt = Object.getOwnPropertyDescriptors;
3
- var Xe = Object.getOwnPropertySymbols;
4
- var Vt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, n) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, B = (e, t) => {
1
+ var It = Object.defineProperty, St = Object.defineProperties;
2
+ var Pt = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var Et = Object.prototype.hasOwnProperty, At = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, n) => t in e ? It(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, x = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Vt.call(t, n) && Ee(e, n, t[n]);
8
- if (Xe)
9
- for (var n of Xe(t))
10
- Ct.call(t, n) && Ee(e, n, t[n]);
7
+ Et.call(t, n) && Ae(e, n, t[n]);
8
+ if (qe)
9
+ for (var n of qe(t))
10
+ At.call(t, n) && Ae(e, n, t[n]);
11
11
  return e;
12
- }, O = (e, t) => wt(e, kt(t));
13
- var ye = (e, t, n) => Ee(e, typeof t != "symbol" ? t + "" : t, n);
12
+ }, W = (e, t) => St(e, Pt(t));
13
+ var ye = (e, t, n) => Ae(e, typeof t != "symbol" ? t + "" : t, n);
14
14
  var _e = (e, t, n) => new Promise((l, a) => {
15
- var r = (g) => {
15
+ var r = (p) => {
16
16
  try {
17
- c(n.next(g));
17
+ c(n.next(p));
18
18
  } catch (i) {
19
19
  a(i);
20
20
  }
21
- }, s = (g) => {
21
+ }, u = (p) => {
22
22
  try {
23
- c(n.throw(g));
23
+ c(n.throw(p));
24
24
  } catch (i) {
25
25
  a(i);
26
26
  }
27
- }, c = (g) => g.done ? l(g.value) : Promise.resolve(g.value).then(r, s);
27
+ }, c = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(r, u);
28
28
  c((n = n.apply(e, t)).next());
29
29
  });
30
- import * as qe from "vue";
31
- import { defineComponent as K, useModel as jt, ref as F, watch as ce, onMounted as lt, markRaw as Tt, onBeforeUnmount as at, openBlock as C, createBlock as R, resolveDynamicComponent as Te, mergeModels as Ge, version as xt, isRef as de, computed as b, unref as o, resolveComponent as N, createElementBlock as Y, normalizeClass as le, Fragment as Re, createCommentVNode as H, createTextVNode as _t, toDisplayString as Ue, inject as Ae, shallowRef as Bt, toRaw as Ye, nextTick as Le, createSlots as Ne, withCtx as y, createVNode as I, renderSlot as pe, normalizeProps as ie, guardReactiveProps as se, createElementVNode as me, renderList as Dt, mergeProps as z, withModifiers as It, mergeDefaults as ae, normalizeStyle as rt, toRefs as Se, withKeys as Qe, useCssVars as St } from "vue";
32
- import { debounce as Pt, isString as ue, isEmpty as je, isPlainObject as Et, isObjectLike as At, isBoolean as Ze, clone as $t, toNumber as Je, isNaN as et, isArray as tt, castArray as it, first as st, isEqual as Mt, unionBy as Ft } from "lodash-es";
33
- import ve, { MessagesWidget as Rt, MdString as Lt, ValidationErrorRenderContent as Nt, Action as Ut, DisplayMode as $e } from "@dynamicforms/vue-forms";
30
+ import * as Ge from "vue";
31
+ import { defineComponent as K, useModel as $t, ref as R, watch as de, onMounted as lt, markRaw as Mt, onBeforeUnmount as at, openBlock as V, createBlock as F, resolveDynamicComponent as je, mergeModels as Ye, version as Rt, isRef as me, computed as g, unref as o, resolveComponent as N, createElementBlock as Y, normalizeClass as re, Fragment as Le, createCommentVNode as H, createTextVNode as Ft, toDisplayString as Oe, inject as $e, shallowRef as Lt, toRaw as Qe, nextTick as Ne, createSlots as Ue, withCtx as y, createVNode as I, renderSlot as pe, normalizeProps as ue, guardReactiveProps as ce, createElementVNode as fe, renderList as Nt, mergeProps as z, withModifiers as Ut, mergeDefaults as ie, normalizeStyle as rt, toRefs as Pe, withKeys as Ze, useCssVars as Ot } from "vue";
32
+ import { debounce as Wt, isString as ae, isEmpty as Te, isPlainObject as it, isObjectLike as Ht, isBoolean as Be, clone as zt, toNumber as Je, isNaN as et, isArray as tt, castArray as st, first as ut, isEqual as Kt, unionBy as Xt } from "lodash-es";
33
+ import ve, { MessagesWidget as qt, MdString as Gt, ValidationErrorRenderContent as Yt, Action as Qt, DisplayMode as Me } from "@dynamicforms/vue-forms";
34
34
  import { CachedIcon as xe } from "vue-cached-icon";
35
- import Wt from "vue-markdown-render";
36
- import { useDisplay as Ot } from "vuetify";
37
- import { parse as Ht, format as we } from "date-fns";
38
- import { AccessibilityHelp as zt, Alignment as Kt, AutoImage as Xt, AutoLink as qt, Autosave as Gt, BalloonToolbar as Yt, BlockQuote as Qt, Bold as Zt, CloudServices as Jt, Essentials as en, GeneralHtmlSupport as tn, Heading as nn, HorizontalLine as on, ImageBlock as ln, ImageCaption as an, ImageInline as rn, ImageInsertViaUrl as sn, ImageResize as un, ImageStyle as cn, ImageToolbar as dn, ImageUpload as mn, Indent as fn, IndentBlock as vn, Italic as pn, Link as hn, List as bn, Autoformat as gn, MediaEmbed as yn, Paragraph as wn, PasteFromMarkdownExperimental as kn, PasteFromOffice as Vn, SelectAll as Cn, Style as jn, Table as Tn, TableCellProperties as xn, TableColumnResize as _n, TableProperties as Bn, TableToolbar as Dn, Undo as In, TextTransformation as Sn, Base64UploadAdapter as Pn, ClassicEditor as En } from "ckeditor5";
39
- import { VAutocomplete as An } from "vuetify/components/VAutocomplete";
40
- import { VBtn as $n } from "vuetify/components/VBtn";
41
- import { VCheckbox as Mn } from "vuetify/components/VCheckbox";
42
- import { VChip as Fn } from "vuetify/components/VChip";
43
- import { VCombobox as Rn } from "vuetify/components/VCombobox";
44
- import { VColorPicker as Ln } from "vuetify/components/VColorPicker";
45
- import { VConfirmEdit as Nn } from "vuetify/components/VConfirmEdit";
46
- import { VDatePicker as Un } from "vuetify/components/VDatePicker";
47
- import { VField as Wn } from "vuetify/components/VField";
48
- import { VFileInput as On } from "vuetify/components/VFileInput";
49
- import { VCol as Hn, VRow as zn } from "vuetify/components/VGrid";
50
- import { VIcon as Kn } from "vuetify/components/VIcon";
51
- import { VImg as Xn } from "vuetify/components/VImg";
52
- import { VInput as qn } from "vuetify/components/VInput";
53
- import { VListItem as Gn } from "vuetify/components/VList";
54
- import { VMenu as Yn } from "vuetify/components/VMenu";
55
- import { VNumberInput as Qn } from "vuetify/components/VNumberInput";
56
- import { VProgressLinear as Zn } from "vuetify/components/VProgressLinear";
57
- import { VSelect as Jn } from "vuetify/components/VSelect";
58
- import { VSwitch as eo } from "vuetify/components/VSwitch";
59
- import { VTextarea as to } from "vuetify/components/VTextarea";
60
- import { VTextField as no } from "vuetify/components/VTextField";
61
- import { VTimePicker as oo } from "vuetify/components/VTimePicker";
35
+ import Zt from "vue-markdown-render";
36
+ import { useDisplay as Jt } from "vuetify";
37
+ import { parse as en, format as we } from "date-fns";
38
+ import { AccessibilityHelp as tn, Alignment as nn, AutoImage as on, AutoLink as ln, Autosave as an, BalloonToolbar as rn, BlockQuote as sn, Bold as un, CloudServices as cn, Essentials as dn, GeneralHtmlSupport as mn, Heading as fn, HorizontalLine as vn, ImageBlock as pn, ImageCaption as hn, ImageInline as bn, ImageInsertViaUrl as gn, ImageResize as yn, ImageStyle as wn, ImageToolbar as kn, ImageUpload as Cn, Indent as Vn, IndentBlock as jn, Italic as Tn, Link as xn, List as _n, Autoformat as Bn, MediaEmbed as Dn, Paragraph as In, PasteFromMarkdownExperimental as Sn, PasteFromOffice as Pn, SelectAll as En, Style as An, Table as $n, TableCellProperties as Mn, TableColumnResize as Rn, TableProperties as Fn, TableToolbar as Ln, Undo as Nn, TextTransformation as Un, Base64UploadAdapter as On, ClassicEditor as Wn } from "ckeditor5";
39
+ import { VAutocomplete as Hn } from "vuetify/components/VAutocomplete";
40
+ import { VBtn as zn } from "vuetify/components/VBtn";
41
+ import { VCheckbox as Kn } from "vuetify/components/VCheckbox";
42
+ import { VChip as Xn } from "vuetify/components/VChip";
43
+ import { VCombobox as qn } from "vuetify/components/VCombobox";
44
+ import { VColorPicker as Gn } from "vuetify/components/VColorPicker";
45
+ import { VConfirmEdit as Yn } from "vuetify/components/VConfirmEdit";
46
+ import { VDatePicker as Qn } from "vuetify/components/VDatePicker";
47
+ import { VField as Zn } from "vuetify/components/VField";
48
+ import { VFileInput as Jn } from "vuetify/components/VFileInput";
49
+ import { VCol as eo, VRow as to } from "vuetify/components/VGrid";
50
+ import { VIcon as no } from "vuetify/components/VIcon";
51
+ import { VImg as oo } from "vuetify/components/VImg";
52
+ import { VInput as lo } from "vuetify/components/VInput";
53
+ import { VListItem as ao } from "vuetify/components/VList";
54
+ import { VMenu as ro } from "vuetify/components/VMenu";
55
+ import { VNumberInput as io } from "vuetify/components/VNumberInput";
56
+ import { VProgressLinear as so } from "vuetify/components/VProgressLinear";
57
+ import { VSelect as uo } from "vuetify/components/VSelect";
58
+ import { VSwitch as co } from "vuetify/components/VSwitch";
59
+ import { VTextarea as mo } from "vuetify/components/VTextarea";
60
+ import { VTextField as fo } from "vuetify/components/VTextField";
61
+ import { VTimePicker as vo } from "vuetify/components/VTimePicker";
62
62
  new Array(256).fill("").map((e, t) => ("0" + t.toString(16)).slice(-2));
63
63
  function We(e) {
64
64
  return !!e && /^\d+\.\d+\.\d+/.test(e);
65
65
  }
66
- function ut(e) {
66
+ function ct(e) {
67
67
  if (!We(e))
68
68
  throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
69
69
  const [t, n, l] = e.split(".");
@@ -73,25 +73,25 @@ function ut(e) {
73
73
  patch: Number.parseInt(l, 10)
74
74
  };
75
75
  }
76
- function Oe(e) {
76
+ function He(e) {
77
77
  return e ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((t) => e.includes(t)) : !1;
78
78
  }
79
- function lo(e) {
80
- return We(e) || Oe(e);
79
+ function po(e) {
80
+ return We(e) || He(e);
81
81
  }
82
- function ao(e, t) {
82
+ function ho(e, t) {
83
83
  const n = e.extraPlugins || [];
84
- return O(B({}, e), {
84
+ return W(x({}, e), {
85
85
  extraPlugins: [
86
86
  ...n,
87
87
  ...t.filter((l) => !n.includes(l))
88
88
  ]
89
89
  });
90
90
  }
91
- function ro(e) {
92
- if (Oe(e))
91
+ function bo(e) {
92
+ if (He(e))
93
93
  return 3;
94
- const { major: t } = ut(e);
94
+ const { major: t } = ct(e);
95
95
  switch (!0) {
96
96
  case t >= 44:
97
97
  return 3;
@@ -101,19 +101,19 @@ function ro(e) {
101
101
  return 1;
102
102
  }
103
103
  }
104
- function ct() {
104
+ function dt() {
105
105
  const { CKEDITOR_VERSION: e, CKEDITOR: t } = window;
106
- return lo(e) ? {
106
+ return po(e) ? {
107
107
  source: t ? "cdn" : "npm",
108
108
  version: e
109
109
  } : null;
110
110
  }
111
- function io() {
112
- const e = ct();
113
- return e ? ro(e.version) : null;
111
+ function go() {
112
+ const e = dt();
113
+ return e ? bo(e.version) : null;
114
114
  }
115
- function dt(e, t) {
116
- switch (t || (t = io() || void 0), t) {
115
+ function mt(e, t) {
116
+ switch (t || (t = go() || void 0), t) {
117
117
  case 1:
118
118
  case 2:
119
119
  return e === void 0;
@@ -123,58 +123,58 @@ function dt(e, t) {
123
123
  return !1;
124
124
  }
125
125
  }
126
- function so(e, t) {
126
+ function yo(e, t) {
127
127
  return function(l) {
128
- dt(l.config.get("licenseKey")) || l.on("collectUsageData", (a, { setUsageData: r }) => {
128
+ mt(l.config.get("licenseKey")) || l.on("collectUsageData", (a, { setUsageData: r }) => {
129
129
  r(`integration.${e}`, t);
130
130
  });
131
131
  };
132
132
  }
133
- const uo = so(
133
+ const wo = yo(
134
134
  "vue",
135
135
  {
136
136
  version: "7.4.0",
137
- frameworkVersion: xt
137
+ frameworkVersion: Rt
138
138
  }
139
139
  );
140
- function co(e) {
141
- return dt(e.licenseKey) ? e : ao(e, [
140
+ function ko(e) {
141
+ return mt(e.licenseKey) ? e : ho(e, [
142
142
  /**
143
143
  * This part of the code is not executed in open-source implementations using a GPL key.
144
144
  * It only runs when a specific license key is provided. If you are uncertain whether
145
145
  * this applies to your installation, please contact our support team.
146
146
  */
147
- uo
147
+ wo
148
148
  ]);
149
149
  }
150
- function mo(e, t) {
150
+ function Co(e, t) {
151
151
  var n;
152
- if (mt()) {
153
- const l = O(B({}, e), {
154
- roots: O(B({}, e.roots), {
155
- main: O(B(B({}, e.root), (n = e.roots) == null ? void 0 : n.main), {
152
+ if (ft()) {
153
+ const l = W(x({}, e), {
154
+ roots: W(x({}, e.roots), {
155
+ main: W(x(x({}, e.root), (n = e.roots) == null ? void 0 : n.main), {
156
156
  initialData: t
157
157
  })
158
158
  })
159
159
  });
160
160
  return delete l.root, delete l.initialData, l;
161
161
  }
162
- return O(B({}, e), {
162
+ return W(x({}, e), {
163
163
  initialData: t
164
164
  });
165
165
  }
166
- function fo(e) {
166
+ function Vo(e) {
167
167
  var t, n;
168
- return mt() ? (n = (t = e.roots) == null ? void 0 : t.main) == null ? void 0 : n.initialData : e.initialData;
168
+ return ft() ? (n = (t = e.roots) == null ? void 0 : t.main) == null ? void 0 : n.initialData : e.initialData;
169
169
  }
170
- function mt() {
171
- const e = ct();
172
- return e ? !We(e.version) || Oe(e.version) || ut(e.version).major >= 48 : !1;
170
+ function ft() {
171
+ const e = dt();
172
+ return e ? !We(e.version) || He(e.version) || ct(e.version).major >= 48 : !1;
173
173
  }
174
- const Me = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", vo = 300, po = /* @__PURE__ */ K({
174
+ const Re = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", jo = 300, To = /* @__PURE__ */ K({
175
175
  name: "CKEditor",
176
176
  __name: "ckeditor",
177
- props: /* @__PURE__ */ Ge({
177
+ props: /* @__PURE__ */ Ye({
178
178
  editor: {},
179
179
  config: { default: () => ({}) },
180
180
  tagName: { default: "div" },
@@ -184,72 +184,72 @@ const Me = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", vo = 300, po =
184
184
  modelValue: { type: String, default: "" },
185
185
  modelModifiers: {}
186
186
  }),
187
- emits: /* @__PURE__ */ Ge(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
187
+ emits: /* @__PURE__ */ Ye(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
188
188
  setup(e, { expose: t, emit: n }) {
189
- const l = jt(e, "modelValue"), a = e, r = n, s = F(), c = F(), g = F();
189
+ const l = $t(e, "modelValue"), a = e, r = n, u = R(), c = R(), p = R();
190
190
  t({
191
191
  instance: c,
192
- lastEditorData: g
193
- }), ce(l, (u) => {
194
- c.value && u !== g.value && c.value.data.set(u);
195
- }), ce(() => a.disabled, (u) => {
196
- u ? c.value.enableReadOnlyMode(Me) : c.value.disableReadOnlyMode(Me);
192
+ lastEditorData: p
193
+ }), de(l, (s) => {
194
+ c.value && s !== p.value && c.value.data.set(s);
195
+ }), de(() => a.disabled, (s) => {
196
+ s ? c.value.enableReadOnlyMode(Re) : c.value.disableReadOnlyMode(Re);
197
197
  });
198
198
  function i() {
199
- const u = window.CKEDITOR_VERSION;
200
- if (!u)
199
+ const s = window.CKEDITOR_VERSION;
200
+ if (!s)
201
201
  return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
202
- const [V] = u.split(".").map(Number);
203
- V >= 42 || u.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
202
+ const [C] = s.split(".").map(Number);
203
+ C >= 42 || s.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
204
204
  }
205
- function f(u) {
206
- const V = Pt((x) => {
205
+ function f(s) {
206
+ const C = Wt((_) => {
207
207
  if (a.disableTwoWayDataBinding)
208
208
  return;
209
- const p = g.value = u.data.get();
210
- r("update:modelValue", p, x, u), r("input", p, x, u);
211
- }, vo, { leading: !0 });
212
- u.model.document.on("change:data", V), u.editing.view.document.on("focus", (x) => {
213
- r("focus", x, u);
214
- }), u.editing.view.document.on("blur", (x) => {
215
- r("blur", x, u);
209
+ const h = p.value = s.data.get();
210
+ r("update:modelValue", h, _, s), r("input", h, _, s);
211
+ }, jo, { leading: !0 });
212
+ s.model.document.on("change:data", C), s.editing.view.document.on("focus", (_) => {
213
+ r("focus", _, s);
214
+ }), s.editing.view.document.on("blur", (_) => {
215
+ r("blur", _, s);
216
216
  });
217
217
  }
218
218
  return i(), lt(() => {
219
- let u = co(
219
+ let s = ko(
220
220
  Object.assign({}, a.config)
221
221
  );
222
- l.value && (u = mo(u, l.value)), a.editor.create(s.value, u).then((V) => {
223
- c.value = Tt(V), f(V), l.value !== fo(u) && V.data.set(l.value), a.disabled && V.enableReadOnlyMode(Me), r("ready", V);
224
- }).catch((V) => {
225
- console.error(V);
222
+ l.value && (s = Co(s, l.value)), a.editor.create(u.value, s).then((C) => {
223
+ c.value = Mt(C), f(C), l.value !== Vo(s) && C.data.set(l.value), a.disabled && C.enableReadOnlyMode(Re), r("ready", C);
224
+ }).catch((C) => {
225
+ console.error(C);
226
226
  });
227
227
  }), at(() => {
228
228
  c.value && (c.value.destroy(), c.value = void 0), r("destroy");
229
- }), (u, V) => (C(), R(Te(e.tagName), {
229
+ }), (s, C) => (V(), F(je(e.tagName), {
230
230
  ref_key: "element",
231
- ref: s
231
+ ref: u
232
232
  }, null, 512));
233
233
  }
234
234
  });
235
- if (!qe.version || !qe.version.startsWith("3."))
235
+ if (!Ge.version || !Ge.version.startsWith("3."))
236
236
  throw new Error(
237
237
  "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"
238
238
  );
239
- const ho = {
239
+ const xo = {
240
240
  /**
241
241
  * Installs the plugin, registering the `<ckeditor>` component.
242
242
  *
243
243
  * @param app The application instance.
244
244
  */
245
245
  install(e) {
246
- e.component("Ckeditor", po);
246
+ e.component("Ckeditor", To);
247
247
  }
248
248
  };
249
- function bo(e) {
249
+ function _o(e) {
250
250
  return e.one !== void 0;
251
251
  }
252
- const go = {
252
+ const Bo = {
253
253
  lessThanXSeconds: {
254
254
  present: {
255
255
  one: "manj kot {{count}} sekunda",
@@ -526,7 +526,7 @@ const go = {
526
526
  }
527
527
  }
528
528
  };
529
- function yo(e) {
529
+ function Do(e) {
530
530
  switch (e % 100) {
531
531
  case 1:
532
532
  return "one";
@@ -539,15 +539,15 @@ function yo(e) {
539
539
  return "other";
540
540
  }
541
541
  }
542
- const wo = (e, t, n) => {
542
+ const Io = (e, t, n) => {
543
543
  let l = "", a = "present";
544
544
  n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (a = "future", l = "čez ") : (a = "past", l = "pred "));
545
- const r = go[e];
545
+ const r = Bo[e];
546
546
  if (typeof r == "string")
547
547
  l += r;
548
548
  else {
549
- const s = yo(t);
550
- bo(r) ? l += r[s].replace("{{count}}", String(t)) : l += r[a][s].replace("{{count}}", String(t));
549
+ const u = Do(t);
550
+ _o(r) ? l += r[u].replace("{{count}}", String(t)) : l += r[a][u].replace("{{count}}", String(t));
551
551
  }
552
552
  return l;
553
553
  };
@@ -557,35 +557,35 @@ function Fe(e) {
557
557
  return e.formats[n] || e.formats[e.defaultWidth];
558
558
  };
559
559
  }
560
- const ko = {
560
+ const So = {
561
561
  full: "EEEE, dd. MMMM y",
562
562
  long: "dd. MMMM y",
563
563
  medium: "d. MMM y",
564
564
  short: "d. MM. yy"
565
- }, Vo = {
565
+ }, Po = {
566
566
  full: "HH:mm:ss zzzz",
567
567
  long: "HH:mm:ss z",
568
568
  medium: "HH:mm:ss",
569
569
  short: "HH:mm"
570
- }, Co = {
570
+ }, Eo = {
571
571
  full: "{{date}} {{time}}",
572
572
  long: "{{date}} {{time}}",
573
573
  medium: "{{date}} {{time}}",
574
574
  short: "{{date}} {{time}}"
575
- }, jo = {
575
+ }, Ao = {
576
576
  date: Fe({
577
- formats: ko,
577
+ formats: So,
578
578
  defaultWidth: "full"
579
579
  }),
580
580
  time: Fe({
581
- formats: Vo,
581
+ formats: Po,
582
582
  defaultWidth: "full"
583
583
  }),
584
584
  dateTime: Fe({
585
- formats: Co,
585
+ formats: Eo,
586
586
  defaultWidth: "full"
587
587
  })
588
- }, To = {
588
+ }, $o = {
589
589
  lastWeek: (e) => {
590
590
  switch (e.getDay()) {
591
591
  case 0:
@@ -614,8 +614,8 @@ const ko = {
614
614
  }
615
615
  },
616
616
  other: "P"
617
- }, xo = (e, t, n, l) => {
618
- const a = To[e];
617
+ }, Mo = (e, t, n, l) => {
618
+ const a = $o[e];
619
619
  return typeof a == "function" ? a(t) : a;
620
620
  };
621
621
  function ke(e) {
@@ -623,25 +623,25 @@ function ke(e) {
623
623
  const l = n != null && n.context ? String(n.context) : "standalone";
624
624
  let a;
625
625
  if (l === "formatting" && e.formattingValues) {
626
- const s = e.defaultFormattingWidth || e.defaultWidth, c = n != null && n.width ? String(n.width) : s;
627
- a = e.formattingValues[c] || e.formattingValues[s];
626
+ const u = e.defaultFormattingWidth || e.defaultWidth, c = n != null && n.width ? String(n.width) : u;
627
+ a = e.formattingValues[c] || e.formattingValues[u];
628
628
  } else {
629
- const s = e.defaultWidth, c = n != null && n.width ? String(n.width) : e.defaultWidth;
630
- a = e.values[c] || e.values[s];
629
+ const u = e.defaultWidth, c = n != null && n.width ? String(n.width) : e.defaultWidth;
630
+ a = e.values[c] || e.values[u];
631
631
  }
632
632
  const r = e.argumentCallback ? e.argumentCallback(t) : t;
633
633
  return a[r];
634
634
  };
635
635
  }
636
- const _o = {
636
+ const Ro = {
637
637
  narrow: ["pr. n. št.", "po n. št."],
638
638
  abbreviated: ["pr. n. št.", "po n. št."],
639
639
  wide: ["pred našim štetjem", "po našem štetju"]
640
- }, Bo = {
640
+ }, Fo = {
641
641
  narrow: ["1", "2", "3", "4"],
642
642
  abbreviated: ["1. čet.", "2. čet.", "3. čet.", "4. čet."],
643
643
  wide: ["1. četrtletje", "2. četrtletje", "3. četrtletje", "4. četrtletje"]
644
- }, Do = {
644
+ }, Lo = {
645
645
  narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
646
646
  abbreviated: [
647
647
  "jan.",
@@ -671,7 +671,7 @@ const _o = {
671
671
  "november",
672
672
  "december"
673
673
  ]
674
- }, Io = {
674
+ }, No = {
675
675
  narrow: ["n", "p", "t", "s", "č", "p", "s"],
676
676
  short: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
677
677
  abbreviated: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
@@ -684,7 +684,7 @@ const _o = {
684
684
  "petek",
685
685
  "sobota"
686
686
  ]
687
- }, So = {
687
+ }, Uo = {
688
688
  narrow: {
689
689
  am: "d",
690
690
  pm: "p",
@@ -715,7 +715,7 @@ const _o = {
715
715
  evening: "večer",
716
716
  night: "noč"
717
717
  }
718
- }, Po = {
718
+ }, Oo = {
719
719
  narrow: {
720
720
  am: "d",
721
721
  pm: "p",
@@ -746,88 +746,88 @@ const _o = {
746
746
  evening: "zvečer",
747
747
  night: "ponoči"
748
748
  }
749
- }, Eo = (e, t) => Number(e) + ".", Ao = {
750
- ordinalNumber: Eo,
749
+ }, Wo = (e, t) => Number(e) + ".", Ho = {
750
+ ordinalNumber: Wo,
751
751
  era: ke({
752
- values: _o,
752
+ values: Ro,
753
753
  defaultWidth: "wide"
754
754
  }),
755
755
  quarter: ke({
756
- values: Bo,
756
+ values: Fo,
757
757
  defaultWidth: "wide",
758
758
  argumentCallback: (e) => e - 1
759
759
  }),
760
760
  month: ke({
761
- values: Do,
761
+ values: Lo,
762
762
  defaultWidth: "wide"
763
763
  }),
764
764
  day: ke({
765
- values: Io,
765
+ values: No,
766
766
  defaultWidth: "wide"
767
767
  }),
768
768
  dayPeriod: ke({
769
- values: So,
769
+ values: Uo,
770
770
  defaultWidth: "wide",
771
- formattingValues: Po,
771
+ formattingValues: Oo,
772
772
  defaultFormattingWidth: "wide"
773
773
  })
774
774
  };
775
- function Ve(e) {
775
+ function Ce(e) {
776
776
  return (t, n = {}) => {
777
777
  const l = n.width, a = l && e.matchPatterns[l] || e.matchPatterns[e.defaultMatchWidth], r = t.match(a);
778
778
  if (!r)
779
779
  return null;
780
- const s = r[0], c = l && e.parsePatterns[l] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(c) ? Mo(c, (u) => u.test(s)) : (
780
+ const u = r[0], c = l && e.parsePatterns[l] || e.parsePatterns[e.defaultParseWidth], p = Array.isArray(c) ? Ko(c, (s) => s.test(u)) : (
781
781
  // [TODO] -- I challenge you to fix the type
782
- $o(c, (u) => u.test(s))
782
+ zo(c, (s) => s.test(u))
783
783
  );
784
784
  let i;
785
- i = e.valueCallback ? e.valueCallback(g) : g, i = n.valueCallback ? (
785
+ i = e.valueCallback ? e.valueCallback(p) : p, i = n.valueCallback ? (
786
786
  // [TODO] -- I challenge you to fix the type
787
787
  n.valueCallback(i)
788
788
  ) : i;
789
- const f = t.slice(s.length);
789
+ const f = t.slice(u.length);
790
790
  return { value: i, rest: f };
791
791
  };
792
792
  }
793
- function $o(e, t) {
793
+ function zo(e, t) {
794
794
  for (const n in e)
795
795
  if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
796
796
  return n;
797
797
  }
798
- function Mo(e, t) {
798
+ function Ko(e, t) {
799
799
  for (let n = 0; n < e.length; n++)
800
800
  if (t(e[n]))
801
801
  return n;
802
802
  }
803
- function Fo(e) {
803
+ function Xo(e) {
804
804
  return (t, n = {}) => {
805
805
  const l = t.match(e.matchPattern);
806
806
  if (!l) return null;
807
807
  const a = l[0], r = t.match(e.parsePattern);
808
808
  if (!r) return null;
809
- let s = e.valueCallback ? e.valueCallback(r[0]) : r[0];
810
- s = n.valueCallback ? n.valueCallback(s) : s;
809
+ let u = e.valueCallback ? e.valueCallback(r[0]) : r[0];
810
+ u = n.valueCallback ? n.valueCallback(u) : u;
811
811
  const c = t.slice(a.length);
812
- return { value: s, rest: c };
812
+ return { value: u, rest: c };
813
813
  };
814
814
  }
815
- const Ro = /^(\d+)\./i, Lo = /\d+/i, No = {
815
+ const qo = /^(\d+)\./i, Go = /\d+/i, Yo = {
816
816
  abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
817
817
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
818
- }, Uo = {
818
+ }, Qo = {
819
819
  any: [/^pr/i, /^(po|na[sš]em)/i]
820
- }, Wo = {
820
+ }, Zo = {
821
821
  narrow: /^[1234]/i,
822
822
  abbreviated: /^[1234]\.\s?[čc]et\.?/i,
823
823
  wide: /^[1234]\. [čc]etrtletje/i
824
- }, Oo = {
824
+ }, Jo = {
825
825
  any: [/1/i, /2/i, /3/i, /4/i]
826
- }, Ho = {
826
+ }, el = {
827
827
  narrow: /^[jfmasond]/i,
828
828
  abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
829
829
  wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i
830
- }, zo = {
830
+ }, tl = {
831
831
  narrow: [
832
832
  /^j/i,
833
833
  /^f/i,
@@ -870,18 +870,18 @@ const Ro = /^(\d+)\./i, Lo = /\d+/i, No = {
870
870
  /^n/i,
871
871
  /^d/i
872
872
  ]
873
- }, Ko = {
873
+ }, nl = {
874
874
  narrow: /^[nptsčc]/i,
875
875
  short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
876
876
  abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
877
877
  wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i
878
- }, Xo = {
878
+ }, ol = {
879
879
  narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],
880
880
  any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]
881
- }, qo = {
881
+ }, ll = {
882
882
  narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
883
883
  any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i
884
- }, Go = {
884
+ }, al = {
885
885
  narrow: {
886
886
  am: /^d/i,
887
887
  pm: /^p/i,
@@ -902,60 +902,60 @@ const Ro = /^(\d+)\./i, Lo = /\d+/i, No = {
902
902
  evening: /^z?ve/i,
903
903
  night: /(po)?no/i
904
904
  }
905
- }, Yo = {
906
- ordinalNumber: Fo({
907
- matchPattern: Ro,
908
- parsePattern: Lo,
905
+ }, rl = {
906
+ ordinalNumber: Xo({
907
+ matchPattern: qo,
908
+ parsePattern: Go,
909
909
  valueCallback: (e) => parseInt(e, 10)
910
910
  }),
911
- era: Ve({
912
- matchPatterns: No,
911
+ era: Ce({
912
+ matchPatterns: Yo,
913
913
  defaultMatchWidth: "wide",
914
- parsePatterns: Uo,
914
+ parsePatterns: Qo,
915
915
  defaultParseWidth: "any"
916
916
  }),
917
- quarter: Ve({
918
- matchPatterns: Wo,
917
+ quarter: Ce({
918
+ matchPatterns: Zo,
919
919
  defaultMatchWidth: "wide",
920
- parsePatterns: Oo,
920
+ parsePatterns: Jo,
921
921
  defaultParseWidth: "any",
922
922
  valueCallback: (e) => e + 1
923
923
  }),
924
- month: Ve({
925
- matchPatterns: Ho,
924
+ month: Ce({
925
+ matchPatterns: el,
926
926
  defaultMatchWidth: "wide",
927
- parsePatterns: zo,
927
+ parsePatterns: tl,
928
928
  defaultParseWidth: "wide"
929
929
  }),
930
- day: Ve({
931
- matchPatterns: Ko,
930
+ day: Ce({
931
+ matchPatterns: nl,
932
932
  defaultMatchWidth: "wide",
933
- parsePatterns: Xo,
933
+ parsePatterns: ol,
934
934
  defaultParseWidth: "any"
935
935
  }),
936
- dayPeriod: Ve({
937
- matchPatterns: qo,
936
+ dayPeriod: Ce({
937
+ matchPatterns: ll,
938
938
  defaultMatchWidth: "any",
939
- parsePatterns: Go,
939
+ parsePatterns: al,
940
940
  defaultParseWidth: "any"
941
941
  })
942
- }, Qo = {
942
+ }, il = {
943
943
  code: "sl",
944
- formatDistance: wo,
945
- formatLong: jo,
946
- formatRelative: xo,
947
- localize: Ao,
948
- match: Yo,
944
+ formatDistance: Io,
945
+ formatLong: Ao,
946
+ formatRelative: Mo,
947
+ localize: Ho,
948
+ match: rl,
949
949
  options: {
950
950
  weekStartsOn: 1,
951
951
  firstWeekContainsDate: 1
952
952
  }
953
- }, Zo = {
954
- dateTimeLocale: F(Qo),
953
+ }, sl = {
954
+ dateTimeLocale: R(il),
955
955
  setDateTimeLocale(e) {
956
- de(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
956
+ me(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
957
957
  }
958
- }, oe = /* @__PURE__ */ K({
958
+ }, te = /* @__PURE__ */ K({
959
959
  __name: "df-input-hint",
960
960
  props: {
961
961
  errors: { default: "" },
@@ -964,13 +964,13 @@ const Ro = /^(\d+)\./i, Lo = /\d+/i, No = {
964
964
  messageClasses: { default: "" }
965
965
  },
966
966
  setup(e) {
967
- const t = e, n = b(() => t.errors ? typeof t.errors == "string" ? t.errors.trim().length > 0 : t.errors.length > 0 : !1), l = b(() => n.value ? t.errors : t.message), a = b(() => n.value ? t.errorClasses : t.messageClasses);
968
- return (r, s) => (C(), R(o(Rt), {
967
+ const t = e, n = g(() => t.errors ? typeof t.errors == "string" ? t.errors.trim().length > 0 : t.errors.length > 0 : !1), l = g(() => n.value ? t.errors : t.message), a = g(() => n.value ? t.errorClasses : t.messageClasses);
968
+ return (r, u) => (V(), F(o(qt), {
969
969
  message: l.value,
970
970
  classes: a.value
971
971
  }, null, 8, ["message", "classes"]));
972
972
  }
973
- }), fe = /* @__PURE__ */ K({
973
+ }), ne = /* @__PURE__ */ K({
974
974
  __name: "df-label",
975
975
  props: {
976
976
  data: {},
@@ -978,40 +978,40 @@ const Ro = /^(\d+)\./i, Lo = /\d+/i, No = {
978
978
  allowWrap: { type: Boolean }
979
979
  },
980
980
  setup(e) {
981
- const t = e, n = b(() => t.data ? t.data.label : t.label.text);
981
+ const t = e, n = g(() => t.data ? t.data.label : t.label.text);
982
982
  return (l, a) => {
983
983
  const r = N("v-img");
984
- return C(), Y("div", {
985
- class: le(["df-label", { "allow-wrap": e.allowWrap }])
984
+ return V(), Y("div", {
985
+ class: re(["df-label", { "allow-wrap": e.allowWrap }])
986
986
  }, [
987
- e.label.icon ? (C(), Y(Re, { key: 0 }, [
988
- e.label.iconComponent === "v-icon" ? (C(), R(o(xe), {
987
+ e.label.icon ? (V(), Y(Le, { key: 0 }, [
988
+ e.label.iconComponent === "v-icon" ? (V(), F(o(xe), {
989
989
  key: 0,
990
990
  name: e.label.icon,
991
991
  size: "1.25em"
992
- }, null, 8, ["name"])) : e.label.iconComponent === "v-img" ? (C(), R(r, {
992
+ }, null, 8, ["name"])) : e.label.iconComponent === "v-img" ? (V(), F(r, {
993
993
  key: 1,
994
994
  class: "icon",
995
995
  src: e.label.icon
996
- }, null, 8, ["src"])) : (C(), R(Te(e.label.iconComponent), {
996
+ }, null, 8, ["src"])) : (V(), F(je(e.label.iconComponent), {
997
997
  key: 2,
998
998
  src: e.label.icon
999
999
  }, null, 8, ["src"]))
1000
1000
  ], 64)) : H("", !0),
1001
- n.value instanceof o(Lt) ? (C(), R(o(Wt), {
1001
+ n.value instanceof o(Gt) ? (V(), F(o(Zt), {
1002
1002
  key: 1,
1003
1003
  class: "markdown",
1004
1004
  source: n.value.toString(),
1005
1005
  options: n.value.options,
1006
1006
  plugins: n.value.plugins
1007
- }, null, 8, ["source", "options", "plugins"])) : (C(), Y(Re, { key: 2 }, [
1008
- _t(Ue(n.value), 1)
1007
+ }, null, 8, ["source", "options", "plugins"])) : (V(), Y(Le, { key: 2 }, [
1008
+ Ft(Oe(n.value), 1)
1009
1009
  ], 64))
1010
1010
  ], 2);
1011
1011
  };
1012
1012
  }
1013
- }), ft = /* @__PURE__ */ Symbol("vuetifyInputsSettingsKey");
1014
- class Jo {
1013
+ }), vt = /* @__PURE__ */ Symbol("vuetifyInputsSettingsKey");
1014
+ class ul {
1015
1015
  constructor(t, n, l = "v-icon") {
1016
1016
  ye(this, "text");
1017
1017
  ye(this, "icon");
@@ -1019,95 +1019,95 @@ class Jo {
1019
1019
  this.text = t, this.icon = n, this.iconComponent = l;
1020
1020
  }
1021
1021
  }
1022
- const re = { enabled: void 0, clearable: !0 };
1023
- function te(e, t) {
1024
- const n = Ae(ft, {}), l = Ae("field-density", null), a = Ae("field-variant", null), r = F(null), s = Bt(null), c = b({
1022
+ const se = { enabled: void 0, clearable: !0 };
1023
+ function oe(e, t) {
1024
+ const n = $e(vt, {}), l = $e("field-density", null), a = $e("field-variant", null), r = R(null), u = Lt(null), c = g({
1025
1025
  get() {
1026
- return s.value ? s.value.value : e.control ? e.control.value : e.modelValue === void 0 ? r.value : e.modelValue;
1026
+ return u.value ? u.value.value : e.control ? e.control.value : e.modelValue === void 0 ? r.value : e.modelValue;
1027
1027
  },
1028
- set(h) {
1028
+ set(b) {
1029
1029
  try {
1030
- e.control && (e.control.value = h);
1030
+ e.control && (e.control.value = b);
1031
1031
  } finally {
1032
- e.control && !Object.is(Ye(e.control.value), Ye(h)) && (s.value = { value: h }, Le(() => {
1033
- s.value = null;
1032
+ e.control && !Object.is(Qe(e.control.value), Qe(b)) && (u.value = { value: b }, Ne(() => {
1033
+ u.value = null;
1034
1034
  }));
1035
1035
  }
1036
- e.modelValue === void 0 && (r.value = h), t("update:modelValue", e.control ? e.control.value : h);
1036
+ e.modelValue === void 0 && (r.value = b), t("update:modelValue", e.control ? e.control.value : b);
1037
1037
  }
1038
1038
  });
1039
1039
  if (e.control && !(e.control instanceof ve.FieldBase))
1040
1040
  throw new Error("control prop is not a vue-form control instance");
1041
- const g = b({
1041
+ const p = g({
1042
1042
  get() {
1043
1043
  return e.control.touched;
1044
1044
  },
1045
- set(h) {
1046
- e.control.touched = h;
1045
+ set(b) {
1046
+ e.control.touched = b;
1047
1047
  }
1048
- }), i = e.control ? g : F(!1), f = b(() => e.control ? e.control.valid : !0), u = b(
1049
- () => e.control ? e.control.errors : (e.errors || []).map((h) => new Nt(h))
1050
- ), V = b(() => i.value && u.value.length > 0 ? " " : void 0), x = b(() => i.value ? u.value : void 0), p = b(() => e.control ? e.control.effectiveEnabled : e.enabled !== !1), k = b(() => e.control ? e.control.visibility : e.visibility == null ? ve.DisplayMode.FULL : ve.DisplayMode.fromAny(e.visibility)), D = b(() => k.value !== ve.DisplayMode.SUPPRESS), S = b(() => ({
1048
+ }), i = e.control ? p : R(!1), f = g(() => e.control ? e.control.valid : !0), s = g(
1049
+ () => e.control ? e.control.errors : (e.errors || []).map((b) => new Yt(b))
1050
+ ), C = g(() => i.value && s.value.length > 0 ? " " : void 0), _ = g(() => i.value ? s.value : void 0), h = g(() => e.control ? e.control.effectiveEnabled : e.enabled !== !1), k = g(() => e.control ? e.control.visibility : e.visibility == null ? ve.DisplayMode.FULL : ve.DisplayMode.fromAny(e.visibility)), D = g(() => k.value !== ve.DisplayMode.SUPPRESS), S = g(() => ({
1051
1051
  "d-none": k.value === ve.DisplayMode.HIDDEN,
1052
1052
  invisible: k.value === ve.DisplayMode.INVISIBLE
1053
- })), d = b(() => {
1054
- var h, j;
1055
- return (j = (h = e.control) == null ? void 0 : h.extra) != null ? j : {};
1056
- }), P = b(() => {
1053
+ })), d = g(() => {
1054
+ var b, j;
1055
+ return (j = (b = e.control) == null ? void 0 : b.extra) != null ? j : {};
1056
+ }), P = g(() => {
1057
1057
  var j;
1058
- const h = (j = e.label) != null ? j : d.value.label;
1059
- return ue(h || "") ? new Jo(h || "") : h;
1060
- }), U = b(() => {
1061
- var h, j;
1062
- return (j = (h = e.placeholder) != null ? h : d.value.placeholder) != null ? j : "";
1063
- }), A = b(() => {
1064
- var h, j;
1065
- return (j = (h = e.helpText) != null ? h : d.value.helpText) != null ? j : "";
1066
- }), W = b(() => {
1067
- var h, j;
1068
- return (j = (h = e.hint) != null ? h : d.value.hint) != null ? j : "";
1069
- }), $ = b(() => {
1070
- var h, j;
1071
- return (j = (h = e.cssClass) != null ? h : d.value.cssClass) != null ? j : "";
1072
- }), v = b(
1058
+ const b = (j = e.label) != null ? j : d.value.label;
1059
+ return ae(b || "") ? new ul(b || "") : b;
1060
+ }), U = g(() => {
1061
+ var b, j;
1062
+ return (j = (b = e.placeholder) != null ? b : d.value.placeholder) != null ? j : "";
1063
+ }), A = g(() => {
1064
+ var b, j;
1065
+ return (j = (b = e.helpText) != null ? b : d.value.helpText) != null ? j : "";
1066
+ }), O = g(() => {
1067
+ var b, j;
1068
+ return (j = (b = e.hint) != null ? b : d.value.hint) != null ? j : "";
1069
+ }), $ = g(() => {
1070
+ var b, j;
1071
+ return (j = (b = e.cssClass) != null ? b : d.value.cssClass) != null ? j : "";
1072
+ }), v = g(
1073
1073
  () => {
1074
- var h, j, X, G;
1075
- return (G = (X = (j = (h = e.density) != null ? h : d.value.density) != null ? j : l) != null ? X : n.defaultDensity) != null ? G : "default";
1074
+ var b, j, X, G;
1075
+ return (G = (X = (j = (b = e.density) != null ? b : d.value.density) != null ? j : l) != null ? X : n.defaultDensity) != null ? G : "default";
1076
1076
  }
1077
- ), m = b(() => v.value === "inline" ? "default" : v.value), M = b(
1077
+ ), m = g(() => v.value === "inline" ? "default" : v.value), M = g(
1078
1078
  () => {
1079
- var h, j, X, G;
1080
- return (G = (X = (j = (h = e.variant) != null ? h : d.value.variant) != null ? j : a) != null ? X : n.defaultVariant) != null ? G : "underlined";
1079
+ var b, j, X, G;
1080
+ return (G = (X = (j = (b = e.variant) != null ? b : d.value.variant) != null ? j : a) != null ? X : n.defaultVariant) != null ? G : "underlined";
1081
1081
  }
1082
1082
  );
1083
1083
  return {
1084
1084
  value: c,
1085
1085
  valid: f,
1086
- enabled: p,
1087
- errors: u,
1088
- showErrors: x,
1086
+ enabled: h,
1087
+ errors: s,
1088
+ showErrors: _,
1089
1089
  visibility: k,
1090
1090
  isRendered: D,
1091
1091
  visibilityClass: S,
1092
1092
  label: P,
1093
1093
  touched: i,
1094
1094
  density: v,
1095
- densityClass: b(() => `df-density-${v.value}`),
1096
- vuetifyBindings: b(() => {
1097
- var h;
1098
- return B({
1099
- name: (h = e.control) == null ? void 0 : h.fieldName,
1095
+ densityClass: g(() => `df-density-${v.value}`),
1096
+ vuetifyBindings: g(() => {
1097
+ var b;
1098
+ return x({
1099
+ name: (b = e.control) == null ? void 0 : b.fieldName,
1100
1100
  class: $.value,
1101
1101
  density: m.value,
1102
1102
  variant: M.value,
1103
1103
  label: P.value.text,
1104
- errorMessages: V.value,
1104
+ errorMessages: C.value,
1105
1105
  // 'error-count': errors?.value.length || 0,
1106
- readonly: !p.value,
1107
- disabled: !p.value,
1106
+ readonly: !h.value,
1107
+ disabled: !h.value,
1108
1108
  placeholder: U.value,
1109
- "persistent-placeholder": !je(U.value),
1110
- hint: W.value,
1109
+ "persistent-placeholder": !Te(U.value),
1110
+ hint: O.value,
1111
1111
  persistentHint: !0,
1112
1112
  // we want persistent hint always
1113
1113
  hideDetails: "auto",
@@ -1117,7 +1117,7 @@ function te(e, t) {
1117
1117
  })
1118
1118
  };
1119
1119
  }
1120
- const el = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @__PURE__ */ K({
1120
+ const cl = { class: "d-flex w-100 df-style-resetting df-sub-field" }, ze = /* @__PURE__ */ K({
1121
1121
  __name: "input-base",
1122
1122
  props: {
1123
1123
  control: {},
@@ -1138,13 +1138,13 @@ const el = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @_
1138
1138
  },
1139
1139
  emits: ["update:modelValue", "click:clear", "blur"],
1140
1140
  setup(e, { emit: t }) {
1141
- const n = e, l = t, { isRendered: a, label: r, showErrors: s, touched: c, value: g, visibilityClass: i, vuetifyBindings: f } = te(n, l), u = b(() => !!(o(n.clearable) && o(g))), V = F(!1);
1142
- function x(p) {
1143
- V.value = p, p || (c.value = !0, l("blur"));
1141
+ const n = e, l = t, { isRendered: a, label: r, showErrors: u, touched: c, value: p, visibilityClass: i, vuetifyBindings: f } = oe(n, l), s = g(() => !!(o(n.clearable) && o(p))), C = R(!1);
1142
+ function _(h) {
1143
+ C.value = h, h || (c.value = !0, l("blur"));
1144
1144
  }
1145
- return (p, k) => {
1145
+ return (h, k) => {
1146
1146
  const D = N("v-field"), S = N("v-input");
1147
- return o(a) ? (C(), R(S, {
1147
+ return o(a) ? (V(), F(S, {
1148
1148
  key: 0,
1149
1149
  name: o(f).name,
1150
1150
  density: o(f).density,
@@ -1152,12 +1152,12 @@ const el = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @_
1152
1152
  "persistent-hint": o(f).persistentHint,
1153
1153
  "hide-details": o(f).hideDetails,
1154
1154
  "error-messages": o(f).errorMessages,
1155
- class: le([e.cssClass, o(i)])
1156
- }, Ne({
1155
+ class: re([e.cssClass, o(i)])
1156
+ }, Ue({
1157
1157
  message: y(({ message: d }) => [
1158
- I(oe, {
1158
+ I(te, {
1159
1159
  message: d,
1160
- errors: o(s)
1160
+ errors: o(u)
1161
1161
  }, null, 8, ["message", "errors"])
1162
1162
  ]),
1163
1163
  default: y(() => [
@@ -1166,34 +1166,34 @@ const el = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @_
1166
1166
  density: o(f).density,
1167
1167
  label: o(f).label,
1168
1168
  disabled: o(f).disabled,
1169
- clearable: u.value,
1169
+ clearable: s.value,
1170
1170
  "persistent-clear": !0,
1171
- dirty: !!o(g) || !!o(f).placeholder,
1172
- active: V.value,
1171
+ dirty: !!o(p) || !!o(f).placeholder,
1172
+ active: C.value,
1173
1173
  loading: e.loading,
1174
1174
  "onClick:clear": k[0] || (k[0] = (d) => l("click:clear")),
1175
- "onUpdate:focused": k[1] || (k[1] = (d) => x(d))
1176
- }, Ne({
1175
+ "onUpdate:focused": k[1] || (k[1] = (d) => _(d))
1176
+ }, Ue({
1177
1177
  label: y((d) => [
1178
- I(fe, {
1178
+ I(ne, {
1179
1179
  data: d,
1180
1180
  label: o(r)
1181
1181
  }, null, 8, ["data", "label"])
1182
1182
  ]),
1183
1183
  default: y((d) => [
1184
- me("div", el, [
1185
- pe(p.$slots, "default", ie(se(d)))
1184
+ fe("div", cl, [
1185
+ pe(h.$slots, "default", ue(ce(d)))
1186
1186
  ])
1187
1187
  ]),
1188
1188
  loader: y((d) => [
1189
- pe(p.$slots, "loader", ie(se(d)))
1189
+ pe(h.$slots, "loader", ue(ce(d)))
1190
1190
  ]),
1191
1191
  _: 2
1192
1192
  }, [
1193
- p.$slots["prepend-inner"] ? {
1193
+ h.$slots["prepend-inner"] ? {
1194
1194
  name: "prepend-inner",
1195
1195
  fn: y((d) => [
1196
- pe(p.$slots, "prepend-inner", ie(se(d)))
1196
+ pe(h.$slots, "prepend-inner", ue(ce(d)))
1197
1197
  ]),
1198
1198
  key: "0"
1199
1199
  } : void 0
@@ -1201,10 +1201,10 @@ const el = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @_
1201
1201
  ]),
1202
1202
  _: 2
1203
1203
  }, [
1204
- p.$slots.prepend ? {
1204
+ h.$slots.prepend ? {
1205
1205
  name: "prepend",
1206
1206
  fn: y((d) => [
1207
- pe(p.$slots, "prepend", ie(se(d)))
1207
+ pe(h.$slots, "prepend", ue(ce(d)))
1208
1208
  ]),
1209
1209
  key: "0"
1210
1210
  } : void 0
@@ -1233,16 +1233,16 @@ const el = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @_
1233
1233
  CodeDark: "Code (dark)",
1234
1234
  CodeBright: "Code (bright)"
1235
1235
  };
1236
- function la(e) {
1236
+ function aa(e) {
1237
1237
  Object.keys(L).forEach((t) => {
1238
1238
  const n = e(t);
1239
1239
  n != null && (L[t] = n);
1240
1240
  });
1241
1241
  }
1242
- function aa(e, t) {
1243
- De.language = e, De.translations = t;
1242
+ function ra(e, t) {
1243
+ Ie.language = e, Ie.translations = t;
1244
1244
  }
1245
- const De = {
1245
+ const Ie = {
1246
1246
  language: "en",
1247
1247
  translations: void 0
1248
1248
  };
@@ -1266,7 +1266,7 @@ const nt = 0;
1266
1266
  })(J || (J = {}));
1267
1267
  Object.freeze(J);
1268
1268
  const ot = ["xs", "sm", "md", "lg", "xl"];
1269
- class tl {
1269
+ class dl {
1270
1270
  constructor(t) {
1271
1271
  ye(this, "_value");
1272
1272
  this._value = this.cleanBreakpoint(t, !0), t && ot.forEach((n) => {
@@ -1275,45 +1275,51 @@ class tl {
1275
1275
  });
1276
1276
  }
1277
1277
  getOptionsForBreakpoint(t) {
1278
- const n = this.cleanBreakpoint(this._value), l = Object.keys(n);
1279
- for (const a of ot) {
1280
- const r = this._value[a];
1281
- for (const s of l) {
1282
- const c = r == null ? void 0 : r[s];
1283
- c != null && (Et(c) ? n[s] = B(B({}, n[s]), c) : n[s] = c);
1278
+ var l, a;
1279
+ const n = (l = this.cleanBreakpoint(this._value)) != null ? l : {};
1280
+ for (const r of ot) {
1281
+ const u = (a = this._value[r]) != null ? a : {};
1282
+ for (const c of Object.keys(u)) {
1283
+ const p = u[c];
1284
+ p != null && (it(p) ? n[c] = x(x({}, n[c]), p) : n[c] = p);
1284
1285
  }
1285
- if (a === t) break;
1286
+ if (r === t) break;
1286
1287
  }
1287
1288
  return n;
1288
1289
  }
1289
1290
  }
1290
- function nl(e) {
1291
+ function ml(e) {
1291
1292
  return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
1292
1293
  }
1293
- function ol() {
1294
- const e = Ot();
1295
- return b(() => nl(e));
1294
+ function fl() {
1295
+ const e = Jt();
1296
+ return g(() => ml(e));
1296
1297
  }
1297
- class ll extends tl {
1298
+ class vl extends dl {
1298
1299
  cleanBreakpoint(t, n = !1) {
1299
- if ((!t || !At(t)) && !n) return null;
1300
+ if ((!t || !Ht(t)) && !n) return null;
1300
1301
  const l = {};
1301
- return n && (l.renderAs = J.BUTTON, l.showLabel = !0, l.showIcon = !0), t && (t.renderAs != null && (l.renderAs = J.fromAny(t.renderAs)), ue(t.label) && (l.label = t.label), ue(t.icon) && (l.icon = t.icon), Ze(t.showLabel) && (l.showLabel = t.showLabel), Ze(t.showIcon) && (l.showIcon = t.showIcon)), Object.keys(l).length ? l : null;
1302
+ return n && (l.renderAs = J.BUTTON, l.showLabel = !0, l.showIcon = !0), t && (t.renderAs != null && (l.renderAs = J.fromAny(t.renderAs)), ae(t.label) && (l.label = t.label), ae(t.icon) && (l.icon = t.icon), Be(t.showLabel) && (l.showLabel = t.showLabel), Be(t.showIcon) && (l.showIcon = t.showIcon), ae(t.name) && (l.name = t.name), Be(t.defaultConfirm) && (l.defaultConfirm = t.defaultConfirm), Be(t.defaultReject) && (l.defaultReject = t.defaultReject), it(t.passthroughAttrs) && (l.passthroughAttrs = x({}, t.passthroughAttrs))), Object.keys(l).length ? l : null;
1302
1303
  }
1303
1304
  }
1304
- class Be extends Ut {
1305
+ function pt(e, t) {
1306
+ const l = new vl(e).getOptionsForBreakpoint(t);
1307
+ return {
1308
+ name: l.name,
1309
+ label: l.showLabel ? l.label : void 0,
1310
+ icon: l.showIcon ? l.icon : void 0,
1311
+ renderAs: l.renderAs,
1312
+ showLabel: ae(l.label) && !Te(l.label) ? l.showLabel : !1,
1313
+ showIcon: ae(l.icon) && !Te(l.icon) ? l.showIcon : !1,
1314
+ defaultConfirm: l.defaultConfirm,
1315
+ defaultReject: l.defaultReject,
1316
+ passthroughAttrs: l.passthroughAttrs
1317
+ };
1318
+ }
1319
+ class De extends Qt {
1320
+ /** @see getRenderOptionsForBreakpoint, which answers the same for the value of any `Action` */
1305
1321
  getBreakpointValue(t) {
1306
- return b(() => {
1307
- const l = new ll(this.value).getOptionsForBreakpoint(t.value);
1308
- return {
1309
- name: l.name,
1310
- label: l.showLabel ? l.label : void 0,
1311
- icon: l.showIcon ? l.icon : void 0,
1312
- renderAs: l.renderAs,
1313
- showLabel: ue(l.label) && !je(l.label) ? l.showLabel : !1,
1314
- showIcon: ue(l.icon) && !je(l.icon) ? l.showIcon : !1
1315
- };
1316
- });
1322
+ return g(() => pt(this.value, t.value));
1317
1323
  }
1318
1324
  /** @see ActionRenderOptions.name */
1319
1325
  get name() {
@@ -1328,7 +1334,7 @@ class Be extends Ut {
1328
1334
  }
1329
1335
  /** @see ActionRenderOptions.showLabel */
1330
1336
  get showLabel() {
1331
- return ue(this.value.label) && !je(this.value.label) ? this.value.showLabel : !1;
1337
+ return ae(this.value.label) && !Te(this.value.label) ? this.value.showLabel : !1;
1332
1338
  }
1333
1339
  /**
1334
1340
  * The icon as this action renders it: the name where {@link ActionRenderOptions.showIcon} states it is shown,
@@ -1339,7 +1345,7 @@ class Be extends Ut {
1339
1345
  }
1340
1346
  /** @see ActionRenderOptions.showIcon */
1341
1347
  get showIcon() {
1342
- return ue(this.value.icon) && !je(this.value.icon) ? this.value.showIcon : !1;
1348
+ return ae(this.value.icon) && !Te(this.value.icon) ? this.value.showIcon : !1;
1343
1349
  }
1344
1350
  /** @see ActionRenderOptions.renderAs */
1345
1351
  get renderAs() {
@@ -1359,7 +1365,7 @@ class Be extends Ut {
1359
1365
  }
1360
1366
  static closeAction(t) {
1361
1367
  var l;
1362
- const n = O(B({}, t != null ? t : {}), {
1368
+ const n = W(x({}, t != null ? t : {}), {
1363
1369
  // any properties in data should overwrite properties in the constant
1364
1370
  value: {
1365
1371
  name: "close",
@@ -1370,11 +1376,11 @@ class Be extends Ut {
1370
1376
  showIcon: !0
1371
1377
  }
1372
1378
  });
1373
- return n.value = B(B({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), new Be(n);
1379
+ return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), new De(n);
1374
1380
  }
1375
1381
  static yesAction(t) {
1376
1382
  var l;
1377
- const n = O(B({}, t != null ? t : {}), {
1383
+ const n = W(x({}, t != null ? t : {}), {
1378
1384
  // any properties in data should overwrite properties in the constant
1379
1385
  value: {
1380
1386
  name: "yes",
@@ -1385,11 +1391,11 @@ class Be extends Ut {
1385
1391
  showIcon: !0
1386
1392
  }
1387
1393
  });
1388
- return n.value = B(B({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), new Be(n);
1394
+ return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), new De(n);
1389
1395
  }
1390
1396
  static noAction(t) {
1391
1397
  var l;
1392
- const n = O(B({}, t != null ? t : {}), {
1398
+ const n = W(x({}, t != null ? t : {}), {
1393
1399
  // any properties in data should overwrite properties in the constant
1394
1400
  value: {
1395
1401
  name: "no",
@@ -1400,13 +1406,13 @@ class Be extends Ut {
1400
1406
  showIcon: !0
1401
1407
  }
1402
1408
  });
1403
- return n.value = B(B({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), new Be(n);
1409
+ return n.value = x(x({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), new De(n);
1404
1410
  }
1405
1411
  }
1406
- const al = {
1412
+ const pl = {
1407
1413
  key: 1,
1408
1414
  style: { width: "0.5rem" }
1409
- }, rl = { key: 2 }, il = /* @__PURE__ */ K({
1415
+ }, hl = { key: 2 }, ht = /* @__PURE__ */ K({
1410
1416
  __name: "df-actions",
1411
1417
  props: {
1412
1418
  actions: {},
@@ -1414,54 +1420,55 @@ const al = {
1414
1420
  showAsGroup: { default: "no" }
1415
1421
  },
1416
1422
  setup(e) {
1417
- const t = e, n = ol(), l = b(() => o(t.actions).filter((s) => s.visibility !== $e.SUPPRESS)), a = b(
1418
- () => l.value.map((s) => B({
1419
- action: s
1420
- }, o(s.getBreakpointValue(n))))
1423
+ const t = e, n = fl(), l = g(() => o(t.actions).filter((u) => u.visibility !== Me.SUPPRESS)), a = g(
1424
+ () => l.value.map((u) => x({
1425
+ action: u
1426
+ }, pt(u.value, n.value)))
1421
1427
  );
1422
- function r(s) {
1423
- if (s.defaultConfirm) return "primary";
1424
- if (s.defaultReject) return "secondary";
1428
+ function r(u) {
1429
+ if (u.defaultConfirm) return "primary";
1430
+ if (u.defaultReject) return "secondary";
1425
1431
  }
1426
- return (s, c) => {
1427
- const g = N("v-btn");
1428
- return l.value.length > 0 ? (C(), Y("div", {
1432
+ return (u, c) => {
1433
+ const p = N("v-btn");
1434
+ return l.value.length > 0 ? (V(), Y("div", {
1429
1435
  key: 0,
1430
- class: le(["text-end df-actions", {
1436
+ class: re(["text-end df-actions", {
1431
1437
  "button-group": e.showAsGroup === "grouped" || e.showAsGroup === "grouped-no-borders",
1432
1438
  "with-border": e.showAsGroup === "grouped"
1433
1439
  }])
1434
1440
  }, [
1435
- (C(!0), Y(Re, null, Dt(a.value, (i, f) => (C(), R(g, z({
1441
+ (V(!0), Y(Le, null, Nt(a.value, (i, f) => (V(), F(p, z({
1436
1442
  key: f,
1437
1443
  variant: i.renderAs === o(J).BUTTON ? "tonal" : "text",
1438
- color: r(i.action),
1439
- disabled: !i.action.enabled,
1444
+ color: r(i),
1445
+ disabled: !i.action.effectiveEnabled || i.action.busy,
1446
+ loading: i.action.busy,
1440
1447
  elevation: 0,
1441
1448
  size: e.buttonSize,
1442
1449
  class: {
1443
- "d-none": i.action.visibility === o($e).HIDDEN,
1444
- invisible: i.action.visibility === o($e).INVISIBLE
1450
+ "d-none": i.action.visibility === o(Me).HIDDEN,
1451
+ invisible: i.action.visibility === o(Me).INVISIBLE
1445
1452
  }
1446
- }, { ref_for: !0 }, i.action.passthroughAttrs, {
1447
- onClick: It((u) => i.action.execute(u), ["stop"])
1453
+ }, { ref_for: !0 }, i.passthroughAttrs, {
1454
+ onClick: Ut((s) => i.action.execute(s), ["stop"])
1448
1455
  }), {
1449
1456
  default: y(() => [
1450
- i.icon ? (C(), R(o(xe), {
1457
+ i.icon ? (V(), F(o(xe), {
1451
1458
  key: 0,
1452
1459
  name: i.icon
1453
1460
  }, null, 8, ["name"])) : H("", !0),
1454
- i.icon && i.label ? (C(), Y("span", al)) : H("", !0),
1455
- i.label ? (C(), Y("span", rl, Ue(i.label), 1)) : H("", !0)
1461
+ i.icon && i.label ? (V(), Y("span", pl)) : H("", !0),
1462
+ i.label ? (V(), Y("span", hl, Oe(i.label), 1)) : H("", !0)
1456
1463
  ]),
1457
1464
  _: 2
1458
- }, 1040, ["variant", "color", "disabled", "size", "class", "onClick"]))), 128))
1465
+ }, 1040, ["variant", "color", "disabled", "loading", "size", "class", "onClick"]))), 128))
1459
1466
  ], 2)) : H("", !0);
1460
1467
  };
1461
1468
  }
1462
- }), sl = /* @__PURE__ */ K({
1469
+ }), bt = /* @__PURE__ */ K({
1463
1470
  __name: "df-checkbox",
1464
- props: /* @__PURE__ */ ae({
1471
+ props: /* @__PURE__ */ ie({
1465
1472
  allowNull: { type: Boolean },
1466
1473
  control: {},
1467
1474
  modelValue: {},
@@ -1477,47 +1484,47 @@ const al = {
1477
1484
  passthroughAttrs: {},
1478
1485
  density: {},
1479
1486
  variant: {}
1480
- }, O(B({}, re), { allowNull: !1 })),
1487
+ }, W(x({}, se), { allowNull: !1 })),
1481
1488
  emits: ["update:modelValue", "click:clear"],
1482
1489
  setup(e, { emit: t }) {
1483
- const n = e, l = t, { densityClass: a, isRendered: r, label: s, showErrors: c, touched: g, value: i, visibilityClass: f, vuetifyBindings: u } = te(
1490
+ const n = e, l = t, { densityClass: a, isRendered: r, label: u, showErrors: c, touched: p, value: i, visibilityClass: f, vuetifyBindings: s } = oe(
1484
1491
  n,
1485
1492
  l
1486
- ), V = b(() => n.allowNull && i.value == null), x = b({
1493
+ ), C = g(() => n.allowNull && i.value == null), _ = g({
1487
1494
  get() {
1488
1495
  return i.value;
1489
1496
  },
1490
1497
  set() {
1491
1498
  }
1492
1499
  });
1493
- function p() {
1494
- const k = $t(i.value);
1500
+ function h() {
1501
+ const k = zt(i.value);
1495
1502
  k === !0 ? i.value = n.allowNull ? null : !1 : i.value = k === !1;
1496
1503
  }
1497
1504
  return (k, D) => {
1498
1505
  const S = N("v-checkbox");
1499
- return o(r) ? (C(), R(S, z({
1506
+ return o(r) ? (V(), F(S, z({
1500
1507
  key: 0,
1501
- modelValue: x.value,
1502
- "onUpdate:modelValue": D[0] || (D[0] = (d) => x.value = d),
1508
+ modelValue: _.value,
1509
+ "onUpdate:modelValue": D[0] || (D[0] = (d) => _.value = d),
1503
1510
  density: "compact",
1504
1511
  class: [o(a), o(f)],
1505
- indeterminate: V.value,
1512
+ indeterminate: C.value,
1506
1513
  "false-value": !1,
1507
1514
  "true-value": !0
1508
- }, o(u), {
1509
- onChange: p,
1510
- onBlur: D[1] || (D[1] = (d) => g.value = !0)
1515
+ }, o(s), {
1516
+ onChange: h,
1517
+ onBlur: D[1] || (D[1] = (d) => p.value = !0)
1511
1518
  }), {
1512
1519
  label: y((d) => [
1513
- I(o(fe), {
1520
+ I(o(ne), {
1514
1521
  "allow-wrap": !0,
1515
1522
  data: d,
1516
- label: o(s)
1523
+ label: o(u)
1517
1524
  }, null, 8, ["data", "label"])
1518
1525
  ]),
1519
1526
  message: y(({ message: d }) => [
1520
- I(o(oe), {
1527
+ I(o(te), {
1521
1528
  message: d,
1522
1529
  errors: o(c)
1523
1530
  }, null, 8, ["message", "errors"])
@@ -1526,9 +1533,9 @@ const al = {
1526
1533
  }, 16, ["modelValue", "class", "indeterminate"])) : H("", !0);
1527
1534
  };
1528
1535
  }
1529
- }), ul = /* @__PURE__ */ K({
1536
+ }), gt = /* @__PURE__ */ K({
1530
1537
  __name: "df-color",
1531
- props: /* @__PURE__ */ ae({
1538
+ props: /* @__PURE__ */ ie({
1532
1539
  allowNull: { type: Boolean },
1533
1540
  control: {},
1534
1541
  modelValue: {},
@@ -1544,56 +1551,56 @@ const al = {
1544
1551
  passthroughAttrs: {},
1545
1552
  density: {},
1546
1553
  variant: {}
1547
- }, O(B({}, re), { allowNull: !1 })),
1554
+ }, W(x({}, se), { allowNull: !1 })),
1548
1555
  emits: ["update:modelValue", "click:clear"],
1549
1556
  setup(e, { emit: t }) {
1550
- const n = e, l = t, { densityClass: a, isRendered: r, label: s, showErrors: c, touched: g, value: i, visibilityClass: f, vuetifyBindings: u } = te(
1557
+ const n = e, l = t, { densityClass: a, isRendered: r, label: u, showErrors: c, touched: p, value: i, visibilityClass: f, vuetifyBindings: s } = oe(
1551
1558
  n,
1552
1559
  l
1553
- ), V = F(!1), x = b(() => [
1554
- (p) => n.control || !p && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(p) ? !0 : "Not a valid hex string."
1560
+ ), C = R(!1), _ = g(() => [
1561
+ (h) => n.control || !h && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(h) ? !0 : "Not a valid hex string."
1555
1562
  ]);
1556
- return (p, k) => {
1563
+ return (h, k) => {
1557
1564
  const D = N("v-color-picker"), S = N("v-menu"), d = N("v-text-field");
1558
- return o(r) ? (C(), R(d, z({
1565
+ return o(r) ? (V(), F(d, z({
1559
1566
  key: 0,
1560
1567
  modelValue: o(i),
1561
- "onUpdate:modelValue": k[2] || (k[2] = (P) => de(i) ? i.value = P : null),
1568
+ "onUpdate:modelValue": k[2] || (k[2] = (P) => me(i) ? i.value = P : null),
1562
1569
  class: [o(a), o(f)],
1563
1570
  clearable: e.allowNull,
1564
1571
  type: "text",
1565
- rules: x.value
1566
- }, o(u), {
1567
- onBlur: k[3] || (k[3] = (P) => g.value = !0)
1572
+ rules: _.value
1573
+ }, o(s), {
1574
+ onBlur: k[3] || (k[3] = (P) => p.value = !0)
1568
1575
  }), {
1569
1576
  label: y((P) => [
1570
- I(o(fe), {
1577
+ I(o(ne), {
1571
1578
  data: P,
1572
- label: o(s)
1579
+ label: o(u)
1573
1580
  }, null, 8, ["data", "label"])
1574
1581
  ]),
1575
1582
  message: y(({ message: P }) => [
1576
- I(o(oe), {
1583
+ I(o(te), {
1577
1584
  message: P,
1578
1585
  errors: o(c)
1579
1586
  }, null, 8, ["message", "errors"])
1580
1587
  ]),
1581
1588
  "prepend-inner": y(() => [
1582
- me("div", {
1589
+ fe("div", {
1583
1590
  style: rt([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(i) }])
1584
1591
  }, null, 4)
1585
1592
  ]),
1586
1593
  default: y(() => [
1587
1594
  I(S, {
1588
- modelValue: V.value,
1589
- "onUpdate:modelValue": k[1] || (k[1] = (P) => V.value = P),
1595
+ modelValue: C.value,
1596
+ "onUpdate:modelValue": k[1] || (k[1] = (P) => C.value = P),
1590
1597
  "close-on-content-click": !1,
1591
1598
  activator: "parent"
1592
1599
  }, {
1593
1600
  default: y(() => [
1594
1601
  I(D, {
1595
1602
  modelValue: o(i),
1596
- "onUpdate:modelValue": k[0] || (k[0] = (P) => de(i) ? i.value = P : null),
1603
+ "onUpdate:modelValue": k[0] || (k[0] = (P) => me(i) ? i.value = P : null),
1597
1604
  mode: "hexa"
1598
1605
  }, null, 8, ["modelValue"])
1599
1606
  ]),
@@ -1604,9 +1611,9 @@ const al = {
1604
1611
  }, 16, ["modelValue", "class", "clearable", "rules"])) : H("", !0);
1605
1612
  };
1606
1613
  }
1607
- }), cl = /* @__PURE__ */ K({
1614
+ }), yt = /* @__PURE__ */ K({
1608
1615
  __name: "df-datetime",
1609
- props: /* @__PURE__ */ ae({
1616
+ props: /* @__PURE__ */ ie({
1610
1617
  inputType: {},
1611
1618
  displayFormatDate: {},
1612
1619
  displayFormatTime: {},
@@ -1625,39 +1632,39 @@ const al = {
1625
1632
  passthroughAttrs: {},
1626
1633
  density: {},
1627
1634
  variant: {}
1628
- }, O(B({}, re), {
1635
+ }, W(x({}, se), {
1629
1636
  inputType: "datetime",
1630
1637
  displayFormatDate: "P",
1631
1638
  displayFormatTime: "p"
1632
1639
  })),
1633
1640
  emits: ["update:modelValue", "click:clear"],
1634
1641
  setup(e, { emit: t }) {
1635
- const n = e, l = t, a = b(() => {
1642
+ const n = e, l = t, a = g(() => {
1636
1643
  var v;
1637
- return (v = n.locale) != null ? v : o(Zo.dateTimeLocale);
1638
- }), r = b(() => {
1644
+ return (v = n.locale) != null ? v : o(sl.dateTimeLocale);
1645
+ }), r = g(() => {
1639
1646
  var v, m;
1640
1647
  return (m = (v = a.value.options) == null ? void 0 : v.weekStartsOn) != null ? m : 1;
1641
- }), { density: s, densityClass: c, touched: g, value: i, vuetifyBindings: f } = te(n, l), { inputType: u, displayFormatDate: V, displayFormatTime: x } = Se(n), p = F(""), k = b({
1648
+ }), { density: u, densityClass: c, touched: p, value: i, vuetifyBindings: f } = oe(n, l), { inputType: s, displayFormatDate: C, displayFormatTime: _ } = Pe(n), h = R(""), k = g({
1642
1649
  get() {
1643
- return o(p) === "date";
1650
+ return o(h) === "date";
1644
1651
  },
1645
1652
  set(v) {
1646
- p.value = v ? "date" : "";
1653
+ h.value = v ? "date" : "";
1647
1654
  }
1648
- }), D = b({
1655
+ }), D = g({
1649
1656
  get() {
1650
- return o(p) === "time";
1657
+ return o(h) === "time";
1651
1658
  },
1652
1659
  set(v) {
1653
- p.value = v ? "time" : "";
1660
+ h.value = v ? "time" : "";
1654
1661
  }
1655
- }), S = (v) => `${we(v, "yyyy-MM-dd")}T${we(v, "HH:mm")}:00`, d = F(null);
1662
+ }), S = (v) => `${we(v, "yyyy-MM-dd")}T${we(v, "HH:mm")}:00`, d = R(null);
1656
1663
  function P(v, m) {
1657
1664
  if (v == null)
1658
1665
  d.value = null;
1659
1666
  else if (m === -1)
1660
- if (o(u) === "time")
1667
+ if (o(s) === "time")
1661
1668
  d.value = S(/* @__PURE__ */ new Date()), P(`T${v}`, 1);
1662
1669
  else {
1663
1670
  const M = S(new Date(v));
@@ -1665,12 +1672,12 @@ const al = {
1665
1672
  }
1666
1673
  else {
1667
1674
  d.value == null && (d.value = S(/* @__PURE__ */ new Date()));
1668
- const M = d.value.split(/[TZ]/g), h = v.split(/[TZ]/g);
1669
- M[m] = h[m], d.value = S(/* @__PURE__ */ new Date(`${M[0]}T${M[1].split(".")[0]}`)), o(u) === "date" ? i.value = M[0] : o(u) === "time" ? i.value = M[1] : i.value = o(d) + we(/* @__PURE__ */ new Date(), "XXX");
1675
+ const M = d.value.split(/[TZ]/g), b = v.split(/[TZ]/g);
1676
+ M[m] = b[m], d.value = S(/* @__PURE__ */ new Date(`${M[0]}T${M[1].split(".")[0]}`)), o(s) === "date" ? i.value = M[0] : o(s) === "time" ? i.value = M[1] : i.value = o(d) + we(/* @__PURE__ */ new Date(), "XXX");
1670
1677
  }
1671
1678
  }
1672
- ce(i, (v) => P(v, -1), { immediate: !0 });
1673
- const U = b({
1679
+ de(i, (v) => P(v, -1), { immediate: !0 });
1680
+ const U = g({
1674
1681
  get() {
1675
1682
  const v = o(d);
1676
1683
  if (v == null) return null;
@@ -1680,7 +1687,7 @@ const al = {
1680
1687
  set(v) {
1681
1688
  P(S(v), 0);
1682
1689
  }
1683
- }), A = b({
1690
+ }), A = g({
1684
1691
  get() {
1685
1692
  const v = o(d);
1686
1693
  return v == null ? "" : v.split(/[TZ]/g)[1].split(".")[0];
@@ -1688,54 +1695,54 @@ const al = {
1688
1695
  set(v) {
1689
1696
  P(`T${v}`, 1);
1690
1697
  }
1691
- }), W = b({
1698
+ }), O = g({
1692
1699
  get() {
1693
1700
  const v = o(U);
1694
- return v == null ? "" : we(v, o(V), { locale: a.value });
1701
+ return v == null ? "" : we(v, o(C), { locale: a.value });
1695
1702
  },
1696
1703
  set(v) {
1697
1704
  try {
1698
- const m = Ht(v, o(V), /* @__PURE__ */ new Date(), { locale: a.value });
1705
+ const m = en(v, o(C), /* @__PURE__ */ new Date(), { locale: a.value });
1699
1706
  P(S(m), 0);
1700
1707
  } catch (m) {
1701
1708
  console.error(m);
1702
1709
  }
1703
1710
  }
1704
- }), $ = b({
1711
+ }), $ = g({
1705
1712
  get() {
1706
1713
  const v = o(U);
1707
- return v == null ? "" : we(v, o(x), { locale: a.value });
1714
+ return v == null ? "" : we(v, o(_), { locale: a.value });
1708
1715
  },
1709
1716
  set(v) {
1710
1717
  const m = v.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1711
1718
  if (m == null) return;
1712
1719
  let M = Je(m[1]);
1713
- const h = Je(m[2]);
1714
- et(M) || et(h) || (m[3] && m[3].toLowerCase() === "pm" && M < 13 && (M += 12), P(`T${M.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}:00`, 1));
1720
+ const b = Je(m[2]);
1721
+ et(M) || et(b) || (m[3] && m[3].toLowerCase() === "pm" && M < 13 && (M += 12), P(`T${M.toString().padStart(2, "0")}:${b.toString().padStart(2, "0")}:00`, 1));
1715
1722
  }
1716
1723
  });
1717
1724
  return (v, m) => {
1718
- const M = N("v-date-picker"), h = N("v-confirm-edit"), j = N("v-menu"), X = N("v-text-field"), G = N("v-time-picker");
1719
- return C(), R(o(He), z(n, {
1725
+ const M = N("v-date-picker"), b = N("v-confirm-edit"), j = N("v-menu"), X = N("v-text-field"), G = N("v-time-picker");
1726
+ return V(), F(o(ze), z(n, {
1720
1727
  class: o(c),
1721
1728
  clearable: e.clearable,
1722
- "onClick:clear": m[14] || (m[14] = (ne) => i.value = null),
1723
- onBlur: m[15] || (m[15] = (ne) => g.value = !0)
1729
+ "onClick:clear": m[14] || (m[14] = (le) => i.value = null),
1730
+ onBlur: m[15] || (m[15] = (le) => p.value = !0)
1724
1731
  }), {
1725
- default: y((ne) => [
1726
- me("div", {
1727
- class: le([
1732
+ default: y((le) => [
1733
+ fe("div", {
1734
+ class: re([
1728
1735
  "d-flex",
1729
1736
  "w-100",
1730
1737
  ["plain", "underlined"].includes(o(f).variant) ? void 0 : "ml-4",
1731
1738
  "df-input-wrapper",
1732
- o(s)
1739
+ o(u)
1733
1740
  ])
1734
1741
  }, [
1735
- ["date", "datetime"].includes(o(u)) ? (C(), R(X, z({
1742
+ ["date", "datetime"].includes(o(s)) ? (V(), F(X, z({
1736
1743
  key: 0,
1737
- modelValue: W.value,
1738
- "onUpdate:modelValue": m[4] || (m[4] = (T) => W.value = T),
1744
+ modelValue: O.value,
1745
+ "onUpdate:modelValue": m[4] || (m[4] = (T) => O.value = T),
1739
1746
  style: { "flex-grow": "4" },
1740
1747
  density: "compact",
1741
1748
  variant: "plain",
@@ -1746,10 +1753,10 @@ const al = {
1746
1753
  name: `${o(f).name}-date`,
1747
1754
  placeholder: o(f).placeholder
1748
1755
  }, e.passthroughAttrs, {
1749
- onClick: m[5] || (m[5] = (T) => p.value = "date"),
1750
- onKeydown: m[6] || (m[6] = Qe((T) => p.value = "date", ["space"])),
1751
- onFocus: (T) => ne.focus(),
1752
- onBlur: (T) => ne.blur()
1756
+ onClick: m[5] || (m[5] = (T) => h.value = "date"),
1757
+ onKeydown: m[6] || (m[6] = Ze((T) => h.value = "date", ["space"])),
1758
+ onFocus: (T) => le.focus(),
1759
+ onBlur: (T) => le.blur()
1753
1760
  }), {
1754
1761
  default: y(() => [
1755
1762
  I(j, {
@@ -1759,11 +1766,11 @@ const al = {
1759
1766
  activator: "parent"
1760
1767
  }, {
1761
1768
  default: y(() => [
1762
- I(h, {
1769
+ I(b, {
1763
1770
  modelValue: U.value,
1764
1771
  "onUpdate:modelValue": m[0] || (m[0] = (T) => U.value = T),
1765
- onCancel: m[1] || (m[1] = (T) => p.value = ""),
1766
- onSave: m[2] || (m[2] = (T) => p.value = "")
1772
+ onCancel: m[1] || (m[1] = (T) => h.value = ""),
1773
+ onSave: m[2] || (m[2] = (T) => h.value = "")
1767
1774
  }, {
1768
1775
  default: y(({ model: T, actions: he }) => [
1769
1776
  I(M, {
@@ -1775,7 +1782,7 @@ const al = {
1775
1782
  "show-week": !0
1776
1783
  }, {
1777
1784
  actions: y(() => [
1778
- (C(), R(Te(he)))
1785
+ (V(), F(je(he)))
1779
1786
  ]),
1780
1787
  _: 2
1781
1788
  }, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
@@ -1788,7 +1795,7 @@ const al = {
1788
1795
  ]),
1789
1796
  _: 1
1790
1797
  }, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : H("", !0),
1791
- ["time", "datetime"].includes(o(u)) ? (C(), R(X, z({
1798
+ ["time", "datetime"].includes(o(s)) ? (V(), F(X, z({
1792
1799
  key: 1,
1793
1800
  modelValue: $.value,
1794
1801
  "onUpdate:modelValue": m[11] || (m[11] = (T) => $.value = T),
@@ -1800,12 +1807,12 @@ const al = {
1800
1807
  readonly: o(f).readonly,
1801
1808
  disabled: o(f).disabled,
1802
1809
  name: `${o(f).name}-time`,
1803
- placeholder: o(u) === "time" ? o(f).placeholder : void 0
1810
+ placeholder: o(s) === "time" ? o(f).placeholder : void 0
1804
1811
  }, e.passthroughAttrs, {
1805
- onClick: m[12] || (m[12] = (T) => p.value = "time"),
1806
- onKeydown: m[13] || (m[13] = Qe((T) => p.value = "time", ["space"])),
1807
- onFocus: (T) => ne.focus(),
1808
- onBlur: (T) => ne.blur()
1812
+ onClick: m[12] || (m[12] = (T) => h.value = "time"),
1813
+ onKeydown: m[13] || (m[13] = Ze((T) => h.value = "time", ["space"])),
1814
+ onFocus: (T) => le.focus(),
1815
+ onBlur: (T) => le.blur()
1809
1816
  }), {
1810
1817
  default: y(() => [
1811
1818
  I(j, {
@@ -1815,11 +1822,11 @@ const al = {
1815
1822
  activator: "parent"
1816
1823
  }, {
1817
1824
  default: y(() => [
1818
- I(h, {
1825
+ I(b, {
1819
1826
  modelValue: A.value,
1820
1827
  "onUpdate:modelValue": m[7] || (m[7] = (T) => A.value = T),
1821
- onCancel: m[8] || (m[8] = (T) => p.value = ""),
1822
- onSave: m[9] || (m[9] = (T) => p.value = "")
1828
+ onCancel: m[8] || (m[8] = (T) => h.value = ""),
1829
+ onSave: m[9] || (m[9] = (T) => h.value = "")
1823
1830
  }, {
1824
1831
  default: y(({ model: T, actions: he }) => [
1825
1832
  I(G, {
@@ -1829,7 +1836,7 @@ const al = {
1829
1836
  format: "24hr"
1830
1837
  }, {
1831
1838
  actions: y(() => [
1832
- (C(), R(Te(he)))
1839
+ (V(), F(je(he)))
1833
1840
  ]),
1834
1841
  _: 2
1835
1842
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1848,9 +1855,9 @@ const al = {
1848
1855
  }, 16, ["class", "clearable"]);
1849
1856
  };
1850
1857
  }
1851
- }), dl = /* @__PURE__ */ K({
1858
+ }), wt = /* @__PURE__ */ K({
1852
1859
  __name: "df-file",
1853
- props: /* @__PURE__ */ ae({
1860
+ props: /* @__PURE__ */ ie({
1854
1861
  comms: {},
1855
1862
  control: {},
1856
1863
  modelValue: {},
@@ -1866,10 +1873,10 @@ const al = {
1866
1873
  passthroughAttrs: {},
1867
1874
  density: {},
1868
1875
  variant: {}
1869
- }, re),
1876
+ }, se),
1870
1877
  emits: ["update:modelValue", "click:clear"],
1871
1878
  setup(e, { emit: t }) {
1872
- const n = e, l = t, { density: a, densityClass: r, touched: s, value: c, vuetifyBindings: g } = te(n, l), i = F(null), f = F(null), u = F(0), V = F(Math.round(Math.random() * 1e3)), x = F(), p = b(() => f.value && u.value < 100), k = b(() => !x.value && c.value ? n.modelValue : "");
1879
+ const n = e, l = t, { density: a, densityClass: r, touched: u, value: c, vuetifyBindings: p } = oe(n, l), i = R(null), f = R(null), s = R(0), C = R(Math.round(Math.random() * 1e3)), _ = R(), h = g(() => f.value && s.value < 100), k = g(() => !_.value && c.value ? n.modelValue : "");
1873
1880
  function D() {
1874
1881
  i.value && window.clearInterval(i.value);
1875
1882
  }
@@ -1878,64 +1885,64 @@ const al = {
1878
1885
  c.value && n.comms.touch(c.value);
1879
1886
  }, 60 * 1e3);
1880
1887
  }
1881
- at(() => D()), ce(c, (A) => {
1888
+ at(() => D()), de(c, (A) => {
1882
1889
  A ? S() : D();
1883
1890
  });
1884
1891
  function d() {
1885
1892
  return _e(this, null, function* () {
1886
- c.value && (yield n.comms.delete(c.value)), c.value = null, u.value = 0, V.value = Math.round(Math.random() * 1e3), f.value = null, x.value = null, D();
1893
+ c.value && (yield n.comms.delete(c.value)), c.value = null, s.value = 0, C.value = Math.round(Math.random() * 1e3), f.value = null, _.value = null, D();
1887
1894
  });
1888
1895
  }
1889
1896
  function P(A) {
1890
1897
  return _e(this, null, function* () {
1891
- u.value = -1, f.value = A;
1898
+ s.value = -1, f.value = A;
1892
1899
  try {
1893
- c.value = yield n.comms.upload(A, (W, $) => {
1894
- u.value = Math.round(W * 100 / $);
1895
- }), u.value = 100, S();
1896
- } catch (W) {
1897
- throw u.value = 0, f.value = null, V.value = Math.round(Math.random() * 1e3), x.value = null, W;
1900
+ c.value = yield n.comms.upload(A, (O, $) => {
1901
+ s.value = Math.round(O * 100 / $);
1902
+ }), s.value = 100, S();
1903
+ } catch (O) {
1904
+ throw s.value = 0, f.value = null, C.value = Math.round(Math.random() * 1e3), _.value = null, O;
1898
1905
  }
1899
1906
  });
1900
1907
  }
1901
1908
  function U(A) {
1902
1909
  A && (Array.isArray(A) ? console.error("Uploading multiple files not supported right now") : P(A));
1903
1910
  }
1904
- return (A, W) => {
1911
+ return (A, O) => {
1905
1912
  const $ = N("v-progress-linear"), v = N("v-file-input");
1906
- return C(), R(o(He), z(O(B({}, n), { loading: p.value }), {
1913
+ return V(), F(o(ze), z(W(x({}, n), { loading: h.value }), {
1907
1914
  class: o(r),
1908
1915
  clearable: "",
1909
1916
  "onClick:clear": d,
1910
- onBlur: W[1] || (W[1] = (m) => s.value = !0)
1917
+ onBlur: O[1] || (O[1] = (m) => u.value = !0)
1911
1918
  }), {
1912
1919
  "prepend-inner": y(() => [
1913
1920
  I(o(xe), { name: "mdi-paperclip" })
1914
1921
  ]),
1915
1922
  loader: y(() => [
1916
- f.value && u.value < 100 ? (C(), R($, {
1923
+ f.value && s.value < 100 ? (V(), F($, {
1917
1924
  key: 0,
1918
- "model-value": u.value,
1919
- indeterminate: u.value === -1
1925
+ "model-value": s.value,
1926
+ indeterminate: s.value === -1
1920
1927
  }, null, 8, ["model-value", "indeterminate"])) : H("", !0)
1921
1928
  ]),
1922
1929
  default: y((m) => [
1923
- me("div", {
1924
- class: le(["d-flex w-100 position-relative df-input-wrapper", o(a)])
1930
+ fe("div", {
1931
+ class: re(["d-flex w-100 position-relative df-input-wrapper", o(a)])
1925
1932
  }, [
1926
1933
  I(v, z({
1927
- modelValue: x.value,
1928
- "onUpdate:modelValue": W[0] || (W[0] = (M) => x.value = M),
1934
+ modelValue: _.value,
1935
+ "onUpdate:modelValue": O[0] || (O[0] = (M) => _.value = M),
1929
1936
  label: k.value,
1930
1937
  density: "compact",
1931
1938
  variant: "plain",
1932
- readonly: o(g).readonly,
1933
- disabled: o(g).disabled,
1934
- name: o(g).name,
1939
+ readonly: o(p).readonly,
1940
+ disabled: o(p).disabled,
1941
+ name: o(p).name,
1935
1942
  "hide-details": !0,
1936
1943
  "show-size": !0,
1937
1944
  multiple: !1,
1938
- style: f.value && u.value < 100 ? "visibility: hidden" : "",
1945
+ style: f.value && s.value < 100 ? "visibility: hidden" : "",
1939
1946
  clearable: !1
1940
1947
  }, e.passthroughAttrs, {
1941
1948
  "prepend-icon": "",
@@ -1949,9 +1956,9 @@ const al = {
1949
1956
  }, 16, ["class"]);
1950
1957
  };
1951
1958
  }
1952
- }), ml = /* @__PURE__ */ K({
1959
+ }), kt = /* @__PURE__ */ K({
1953
1960
  __name: "df-input",
1954
- props: /* @__PURE__ */ ae({
1961
+ props: /* @__PURE__ */ ie({
1955
1962
  inputType: {},
1956
1963
  precision: {},
1957
1964
  step: {},
@@ -1971,7 +1978,7 @@ const al = {
1971
1978
  passthroughAttrs: {},
1972
1979
  density: {},
1973
1980
  variant: {}
1974
- }, O(B({}, re), {
1981
+ }, W(x({}, se), {
1975
1982
  inputType: "text",
1976
1983
  precision: null,
1977
1984
  step: void 0,
@@ -1980,54 +1987,54 @@ const al = {
1980
1987
  })),
1981
1988
  emits: ["update:modelValue", "click:clear"],
1982
1989
  setup(e, { emit: t }) {
1983
- const n = e, l = t, { densityClass: a, isRendered: r, label: s, showErrors: c, touched: g, value: i, visibilityClass: f, vuetifyBindings: u } = te(
1990
+ const n = e, l = t, { densityClass: a, isRendered: r, label: u, showErrors: c, touched: p, value: i, visibilityClass: f, vuetifyBindings: s } = oe(
1984
1991
  n,
1985
1992
  l
1986
- ), { inputType: V, max: x, min: p, precision: k, step: D } = Se(n), S = b(() => V.value === "number"), d = b(
1987
- () => S.value ? { min: o(p), max: o(x), precision: o(k), step: o(D) } : {}
1993
+ ), { inputType: C, max: _, min: h, precision: k, step: D } = Pe(n), S = g(() => C.value === "number"), d = g(
1994
+ () => S.value ? { min: o(h), max: o(_), precision: o(k), step: o(D) } : {}
1988
1995
  );
1989
1996
  return (P, U) => {
1990
- const A = N("v-text-field"), W = N("v-number-input");
1991
- return o(r) ? (C(), Y("div", {
1997
+ const A = N("v-text-field"), O = N("v-number-input");
1998
+ return o(r) ? (V(), Y("div", {
1992
1999
  key: 0,
1993
- class: le(["df-input-container", [o(a), o(f)]])
2000
+ class: re(["df-input-container", [o(a), o(f)]])
1994
2001
  }, [
1995
- S.value ? (C(), R(W, z({
2002
+ S.value ? (V(), F(O, z({
1996
2003
  key: 1,
1997
2004
  modelValue: o(i),
1998
- "onUpdate:modelValue": U[2] || (U[2] = ($) => de(i) ? i.value = $ : null),
2005
+ "onUpdate:modelValue": U[2] || (U[2] = ($) => me(i) ? i.value = $ : null),
1999
2006
  density: "compact",
2000
2007
  "control-variant": "stacked"
2001
- }, B(B({}, o(u)), d.value)), {
2008
+ }, x(x({}, o(s)), d.value)), {
2002
2009
  label: y(($) => [
2003
- I(o(fe), {
2010
+ I(o(ne), {
2004
2011
  data: $,
2005
- label: o(s)
2012
+ label: o(u)
2006
2013
  }, null, 8, ["data", "label"])
2007
2014
  ]),
2008
2015
  message: y(({ message: $ }) => [
2009
- I(o(oe), {
2016
+ I(o(te), {
2010
2017
  message: $,
2011
2018
  errors: o(c)
2012
2019
  }, null, 8, ["message", "errors"])
2013
2020
  ]),
2014
2021
  _: 1
2015
- }, 16, ["modelValue"])) : (C(), R(A, z({
2022
+ }, 16, ["modelValue"])) : (V(), F(A, z({
2016
2023
  key: 0,
2017
2024
  modelValue: o(i),
2018
- "onUpdate:modelValue": U[0] || (U[0] = ($) => de(i) ? i.value = $ : null),
2019
- type: o(V)
2020
- }, o(u), {
2021
- onBlur: U[1] || (U[1] = ($) => g.value = !0)
2025
+ "onUpdate:modelValue": U[0] || (U[0] = ($) => me(i) ? i.value = $ : null),
2026
+ type: o(C)
2027
+ }, o(s), {
2028
+ onBlur: U[1] || (U[1] = ($) => p.value = !0)
2022
2029
  }), {
2023
2030
  label: y(($) => [
2024
- I(o(fe), {
2031
+ I(o(ne), {
2025
2032
  data: $,
2026
- label: o(s)
2033
+ label: o(u)
2027
2034
  }, null, 8, ["data", "label"])
2028
2035
  ]),
2029
2036
  message: y(({ message: $ }) => [
2030
- I(o(oe), {
2037
+ I(o(te), {
2031
2038
  message: $,
2032
2039
  errors: o(c)
2033
2040
  }, null, 8, ["message", "errors"])
@@ -2037,7 +2044,7 @@ const al = {
2037
2044
  ], 2)) : H("", !0);
2038
2045
  };
2039
2046
  }
2040
- }), fl = { class: "editor-container" }, vl = { class: "editor-container__editor" }, pl = { ref: "editorElement" }, hl = /* @__PURE__ */ K({
2047
+ }), bl = { class: "editor-container" }, gl = { class: "editor-container__editor" }, yl = { ref: "editorElement" }, wl = /* @__PURE__ */ K({
2041
2048
  __name: "ck-editor-custom",
2042
2049
  props: {
2043
2050
  modelValue: { default: "" },
@@ -2046,10 +2053,10 @@ const al = {
2046
2053
  },
2047
2054
  emits: ["update:modelValue"],
2048
2055
  setup(e, { expose: t, emit: n }) {
2049
- St((u) => ({
2050
- v32dcdf6e: u.minHeight
2056
+ Ot((s) => ({
2057
+ v32dcdf6e: s.minHeight
2051
2058
  }));
2052
- const l = n, a = F(!1), r = En, s = {
2059
+ const l = n, a = R(!1), r = Wn, u = {
2053
2060
  items: [
2054
2061
  "undo",
2055
2062
  "redo",
@@ -2079,16 +2086,6 @@ const al = {
2079
2086
  ],
2080
2087
  shouldNotGroupWhenFull: !1
2081
2088
  }, c = [
2082
- zt,
2083
- Kt,
2084
- Xt,
2085
- qt,
2086
- Gt,
2087
- Yt,
2088
- Qt,
2089
- Zt,
2090
- Jt,
2091
- en,
2092
2089
  tn,
2093
2090
  nn,
2094
2091
  on,
@@ -2109,8 +2106,8 @@ const al = {
2109
2106
  yn,
2110
2107
  wn,
2111
2108
  kn,
2112
- Vn,
2113
2109
  Cn,
2110
+ Vn,
2114
2111
  jn,
2115
2112
  Tn,
2116
2113
  xn,
@@ -2119,8 +2116,18 @@ const al = {
2119
2116
  Dn,
2120
2117
  In,
2121
2118
  Sn,
2122
- Pn
2123
- ], g = {
2119
+ Pn,
2120
+ En,
2121
+ An,
2122
+ $n,
2123
+ Mn,
2124
+ Rn,
2125
+ Fn,
2126
+ Ln,
2127
+ Nn,
2128
+ Un,
2129
+ On
2130
+ ], p = {
2124
2131
  options: [
2125
2132
  { model: "paragraph", title: L.Paragraph, class: "ck-heading_paragraph" },
2126
2133
  { model: "heading1", view: "h1", title: L.Heading1, class: "ck-heading_heading1" },
@@ -2131,11 +2138,11 @@ const al = {
2131
2138
  { model: "heading6", view: "h6", title: L.Heading6, class: "ck-heading_heading6" }
2132
2139
  ]
2133
2140
  }, i = {
2134
- language: De.language,
2135
- toolbar: s,
2141
+ language: Ie.language,
2142
+ toolbar: u,
2136
2143
  plugins: c,
2137
2144
  balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
2138
- heading: g,
2145
+ heading: p,
2139
2146
  htmlSupport: {
2140
2147
  allow: [{ name: /^.*$/, styles: !0, attributes: !0, classes: !0 }]
2141
2148
  },
@@ -2178,19 +2185,19 @@ const al = {
2178
2185
  ]
2179
2186
  },
2180
2187
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] },
2181
- translations: De.translations
2188
+ translations: Ie.translations
2182
2189
  };
2183
2190
  lt(() => {
2184
2191
  a.value = !0;
2185
2192
  });
2186
- const f = (u) => {
2193
+ const f = (s) => {
2187
2194
  };
2188
- return t({ onEditorReady: f }), (u, V) => {
2189
- const x = N("ckeditor");
2190
- return C(), Y("div", fl, [
2191
- me("div", vl, [
2192
- me("div", pl, [
2193
- a.value ? (C(), R(x, {
2195
+ return t({ onEditorReady: f }), (s, C) => {
2196
+ const _ = N("ckeditor");
2197
+ return V(), Y("div", bl, [
2198
+ fe("div", gl, [
2199
+ fe("div", yl, [
2200
+ a.value ? (V(), F(_, {
2194
2201
  key: 0,
2195
2202
  "model-value": e.modelValue,
2196
2203
  editor: o(r),
@@ -2198,16 +2205,16 @@ const al = {
2198
2205
  disabled: e.disabled,
2199
2206
  style: rt(`min-height: ${e.minHeight}`),
2200
2207
  onReady: f,
2201
- "onUpdate:modelValue": V[0] || (V[0] = (p) => l("update:modelValue", p))
2208
+ "onUpdate:modelValue": C[0] || (C[0] = (h) => l("update:modelValue", h))
2202
2209
  }, null, 8, ["model-value", "editor", "disabled", "style"])) : H("", !0)
2203
2210
  ], 512)
2204
2211
  ])
2205
2212
  ]);
2206
2213
  };
2207
2214
  }
2208
- }), bl = /* @__PURE__ */ K({
2215
+ }), Ct = /* @__PURE__ */ K({
2209
2216
  __name: "df-rtf-editor",
2210
- props: /* @__PURE__ */ ae({
2217
+ props: /* @__PURE__ */ ie({
2211
2218
  minHeight: {},
2212
2219
  control: {},
2213
2220
  modelValue: {},
@@ -2223,21 +2230,21 @@ const al = {
2223
2230
  passthroughAttrs: {},
2224
2231
  density: {},
2225
2232
  variant: {}
2226
- }, O(B({}, re), { minHeight: void 0 })),
2233
+ }, W(x({}, se), { minHeight: void 0 })),
2227
2234
  emits: ["update:modelValue", "click:clear"],
2228
2235
  setup(e, { emit: t }) {
2229
- const n = e, l = t, { densityClass: a, value: r, vuetifyBindings: s } = te(n, l);
2230
- return (c, g) => (C(), R(o(He), z(n, {
2236
+ const n = e, l = t, { densityClass: a, value: r, vuetifyBindings: u } = oe(n, l);
2237
+ return (c, p) => (V(), F(o(ze), z(n, {
2231
2238
  class: ["ck-editor-custom", o(a)]
2232
2239
  }), {
2233
2240
  default: y((i) => [
2234
- I(hl, z({
2241
+ I(wl, z({
2235
2242
  ref: "$editor",
2236
2243
  modelValue: o(r),
2237
- "onUpdate:modelValue": g[0] || (g[0] = (f) => de(r) ? r.value = f : null),
2244
+ "onUpdate:modelValue": p[0] || (p[0] = (f) => me(r) ? r.value = f : null),
2238
2245
  class: { "mt-6": !!e.label },
2239
2246
  "min-height": e.minHeight,
2240
- disabled: o(s).disabled
2247
+ disabled: o(u).disabled
2241
2248
  }, e.passthroughAttrs, {
2242
2249
  onFocusin: (f) => i.focus(),
2243
2250
  onFocusout: (f) => i.blur()
@@ -2247,40 +2254,40 @@ const al = {
2247
2254
  }, 16, ["class"]));
2248
2255
  }
2249
2256
  });
2250
- function gl(e) {
2257
+ function kl(e) {
2251
2258
  return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
2252
2259
  }
2253
2260
  function ee(e, t) {
2254
2261
  var n;
2255
- return e == null || tt(e) && e.length === 0 ? null : t ? it(e) : tt(e) ? (n = st(e)) != null ? n : null : e;
2262
+ return e == null || tt(e) && e.length === 0 ? null : t ? st(e) : tt(e) ? (n = ut(e)) != null ? n : null : e;
2256
2263
  }
2257
- function Ie(e, t) {
2264
+ function Se(e, t) {
2258
2265
  if (t == null) return [];
2259
- const n = it(t);
2266
+ const n = st(t);
2260
2267
  return e.filter((l) => n.some((a) => a === l.id));
2261
2268
  }
2262
- function Ce(e, t, n, l, a) {
2263
- var s;
2269
+ function Ve(e, t, n, l, a) {
2270
+ var u;
2264
2271
  const r = ee(e, n);
2265
2272
  if (r == null) {
2266
2273
  t.value = n ? [] : null;
2267
2274
  return;
2268
2275
  }
2269
2276
  if (n)
2270
- l ? t.value = r : t.value = Ie(a, r).map((c) => c.id);
2277
+ l ? t.value = r : t.value = Se(a, r).map((c) => c.id);
2271
2278
  else if (l)
2272
2279
  t.value = r;
2273
2280
  else {
2274
- const c = st(Ie(a, r));
2275
- t.value = (s = c == null ? void 0 : c.id) != null ? s : null;
2281
+ const c = ut(Se(a, r));
2282
+ t.value = (u = c == null ? void 0 : c.id) != null ? u : null;
2276
2283
  }
2277
2284
  }
2278
- const yl = {
2285
+ const Cl = {
2279
2286
  key: 0,
2280
2287
  class: "me-1"
2281
- }, wl = /* @__PURE__ */ K({
2288
+ }, Vl = /* @__PURE__ */ K({
2282
2289
  __name: "df-select",
2283
- props: /* @__PURE__ */ ae({
2290
+ props: /* @__PURE__ */ ie({
2284
2291
  choices: {},
2285
2292
  multiple: { type: Boolean },
2286
2293
  allowTags: { type: Boolean },
@@ -2300,7 +2307,7 @@ const yl = {
2300
2307
  passthroughAttrs: {},
2301
2308
  density: {},
2302
2309
  variant: {}
2303
- }, O(B({}, re), {
2310
+ }, W(x({}, se), {
2304
2311
  choices: void 0,
2305
2312
  multiple: !1,
2306
2313
  allowTags: !1,
@@ -2309,165 +2316,165 @@ const yl = {
2309
2316
  })),
2310
2317
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
2311
2318
  setup(e, { emit: t }) {
2312
- var Ke;
2313
- const n = e, { choices: l, multiple: a, allowTags: r, allowNull: s, cssClass: c } = Se(n), g = t, i = F(null), {
2319
+ var Xe;
2320
+ const n = e, { choices: l, multiple: a, allowTags: r, allowNull: u, cssClass: c } = Pe(n), p = t, i = R(null), {
2314
2321
  densityClass: f,
2315
- isRendered: u,
2316
- label: V,
2317
- showErrors: x,
2318
- touched: p,
2322
+ isRendered: s,
2323
+ label: C,
2324
+ showErrors: _,
2325
+ touched: h,
2319
2326
  value: k,
2320
2327
  visibilityClass: D,
2321
2328
  vuetifyBindings: S
2322
- } = te(n, g), d = F(null), P = F(!1), U = F([]), A = b(() => o(P) ? o(U) : o(l) || []), W = F(!1), $ = b(() => gl(A.value)), v = F(null), m = F(0), M = F(!1);
2323
- (Ke = l.value) != null && Ke.length && n.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
2324
- function h(w) {
2325
- g("update:modelValueDisplay", Ie(A.value, w));
2329
+ } = oe(n, p), d = R(null), P = R(!1), U = R([]), A = g(() => o(P) ? o(U) : o(l) || []), O = R(!1), $ = g(() => kl(A.value)), v = R(null), m = R(0), M = R(!1);
2330
+ (Xe = l.value) != null && Xe.length && n.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
2331
+ function b(w) {
2332
+ p("update:modelValueDisplay", Se(A.value, w));
2326
2333
  }
2327
- const j = F(!1);
2334
+ const j = R(!1);
2328
2335
  function X(w) {
2329
2336
  j.value = !0;
2330
2337
  try {
2331
2338
  k.value = w;
2332
2339
  } finally {
2333
- Mt(ee(k.value, a.value), w) || Ce(
2340
+ Kt(ee(k.value, a.value), w) || Ve(
2334
2341
  ee(k.value, a.value),
2335
2342
  d,
2336
2343
  a.value,
2337
2344
  r.value,
2338
2345
  A.value
2339
- ), Le(() => {
2346
+ ), Ne(() => {
2340
2347
  j.value = !1;
2341
2348
  });
2342
2349
  }
2343
2350
  }
2344
2351
  function G(w) {
2345
2352
  if (!w) return 0;
2346
- const _ = w.getBoundingClientRect(), q = window.getComputedStyle(w);
2347
- return _.width + parseFloat(q.marginLeft) + parseFloat(q.marginRight);
2353
+ const B = w.getBoundingClientRect(), q = window.getComputedStyle(w);
2354
+ return B.width + parseFloat(q.marginLeft) + parseFloat(q.marginRight);
2348
2355
  }
2349
- function ne() {
2356
+ function le() {
2350
2357
  var w;
2351
- if (a.value && s.value && d.value != null && d.value.length > 0 && i.value) {
2352
- const _ = i.value.$el, q = (w = _.querySelector(".v-input__control")) == null ? void 0 : w.clientWidth, Q = _.querySelector(".v-field__input"), E = Q.querySelectorAll(".v-autocomplete__selection, .v-combobox__selection"), Z = window.getComputedStyle(Q);
2358
+ if (a.value && u.value && d.value != null && d.value.length > 0 && i.value) {
2359
+ const B = i.value.$el, q = (w = B.querySelector(".v-input__control")) == null ? void 0 : w.clientWidth, Q = B.querySelector(".v-field__input"), E = Q.querySelectorAll(".v-autocomplete__selection, .v-combobox__selection"), Z = window.getComputedStyle(Q);
2353
2360
  let ge = parseFloat(Z.paddingLeft) + parseFloat(Z.paddingRight);
2354
- E.forEach((gt) => {
2355
- ge += G(gt);
2361
+ E.forEach((Dt) => {
2362
+ ge += G(Dt);
2356
2363
  });
2357
- const pt = G(_.querySelector(".v-field .v-field__clearable")), ht = G(_.querySelector(".v-field .v-field__append-inner")), bt = 2;
2358
- M.value = q - ge - E.length * bt - ht < pt;
2364
+ const xt = G(B.querySelector(".v-field .v-field__clearable")), _t = G(B.querySelector(".v-field .v-field__append-inner")), Bt = 2;
2365
+ M.value = q - ge - E.length * Bt - _t < xt;
2359
2366
  } else
2360
2367
  M.value = !1;
2361
2368
  }
2362
2369
  function T(w) {
2363
- const _ = w.target;
2364
- _ instanceof HTMLElement && _.closest(".v-chip__close") && (w.stopPropagation(), w.preventDefault());
2370
+ const B = w.target;
2371
+ B instanceof HTMLElement && B.closest(".v-chip__close") && (w.stopPropagation(), w.preventDefault());
2365
2372
  }
2366
- ce(
2373
+ de(
2367
2374
  d,
2368
2375
  (w) => {
2369
- S.value.readonly || Le(() => {
2370
- const _ = ee(w, a.value);
2371
- h(_), X(_);
2376
+ S.value.readonly || Ne(() => {
2377
+ const B = ee(w, a.value);
2378
+ b(B), X(B);
2372
2379
  });
2373
2380
  },
2374
2381
  { deep: !0 }
2375
- ), ce(
2382
+ ), de(
2376
2383
  k,
2377
2384
  (w) => {
2378
2385
  if (!j.value) {
2379
- const _ = ee(w, a.value);
2380
- Ce(_, d, a.value, !1, A.value);
2386
+ const B = ee(w, a.value);
2387
+ Ve(B, d, a.value, !1, A.value);
2381
2388
  }
2382
2389
  },
2383
2390
  { deep: !0 }
2384
- ), ce(j, () => {
2385
- j.value || ne();
2391
+ ), de(j, () => {
2392
+ j.value || le();
2386
2393
  });
2387
2394
  function he() {
2388
- v.value != null && v.value.length > 0 && (v.value = null, Pe());
2395
+ v.value != null && v.value.length > 0 && (v.value = null, Ee());
2389
2396
  }
2390
2397
  function be() {
2391
2398
  if (he(), S.value.readonly || r.value) return;
2392
2399
  const w = ee(d.value, a.value);
2393
- Ce(w, d, a.value, !1, A.value), X(w);
2400
+ Ve(w, d, a.value, !1, A.value), X(w);
2394
2401
  }
2395
- function vt(w, _) {
2402
+ function Tt(w, B) {
2396
2403
  if (w.stopPropagation(), S.value.readonly || r.value) {
2397
- r.value && (d.value = d.value.filter((Q) => Q !== _));
2404
+ r.value && (d.value = d.value.filter((Q) => Q !== B));
2398
2405
  return;
2399
2406
  }
2400
2407
  let q;
2401
2408
  a.value && Array.isArray(d.value) ? q = ee(
2402
- d.value.filter((Q) => Q !== _),
2409
+ d.value.filter((Q) => Q !== B),
2403
2410
  a.value
2404
- ) : q = null, Ce(q, d, a.value, !1, A.value), X(q);
2411
+ ) : q = null, Ve(q, d, a.value, !1, A.value), X(q);
2405
2412
  }
2406
- function Pe(w, _) {
2413
+ function Ee(w, B) {
2407
2414
  return _e(this, null, function* () {
2408
2415
  if (S.value.readonly || (v.value = w, l.value || n.fetchChoices === void 0)) return;
2409
2416
  const q = ++m.value;
2410
- W.value = !0;
2417
+ O.value = !0;
2411
2418
  try {
2412
- const Q = Ie(
2419
+ const Q = Se(
2413
2420
  A.value,
2414
2421
  ee(d.value, a.value)
2415
- ), E = yield n.fetchChoices(w, _);
2422
+ ), E = yield n.fetchChoices(w, B);
2416
2423
  if (q !== m.value) return;
2417
- U.value = Ft([...Q, ...E], "id"), P.value = !0;
2424
+ U.value = Xt([...Q, ...E], "id"), P.value = !0;
2418
2425
  } finally {
2419
- W.value = !1;
2426
+ O.value = !1;
2420
2427
  }
2421
2428
  });
2422
2429
  }
2423
- function ze() {
2430
+ function Ke() {
2424
2431
  let w = k.value;
2425
- !s.value && w == null && $.value.length && (w = $.value[0].value), w = ee(w, a.value), Ce(w, d, a.value, r.value, A.value), h(w), X(w);
2432
+ !u.value && w == null && $.value.length && (w = $.value[0].value), w = ee(w, a.value), Ve(w, d, a.value, r.value, A.value), b(w), X(w);
2426
2433
  }
2427
- return ze(), n.fetchChoices !== void 0 && Pe(void 0, k.value).then(() => {
2428
- ze();
2429
- }), (w, _) => {
2434
+ return Ke(), n.fetchChoices !== void 0 && Ee(void 0, k.value).then(() => {
2435
+ Ke();
2436
+ }), (w, B) => {
2430
2437
  const q = N("v-chip"), Q = N("v-list-item");
2431
- return o(u) ? (C(), R(Te(o(r) ? "v-combobox" : "v-autocomplete"), z({
2438
+ return o(s) ? (V(), F(je(o(r) ? "v-combobox" : "v-autocomplete"), z({
2432
2439
  key: 0,
2433
2440
  ref_key: "dfSelectRef",
2434
2441
  ref: i,
2435
2442
  modelValue: d.value,
2436
- "onUpdate:modelValue": _[0] || (_[0] = (E) => d.value = E),
2443
+ "onUpdate:modelValue": B[0] || (B[0] = (E) => d.value = E),
2437
2444
  class: [o(c), o(f), o(D), { "df-select-multirow": M.value }],
2438
2445
  items: $.value,
2439
2446
  "return-object": !1,
2440
2447
  chips: "",
2441
2448
  "auto-select-first": !0,
2442
- "closable-chips": o(s) || o(a) && d.value.length > 1,
2443
- clearable: o(s),
2449
+ "closable-chips": o(u) || o(a) && d.value.length > 1,
2450
+ clearable: o(u),
2444
2451
  multiple: o(a),
2445
- loading: W.value,
2452
+ loading: O.value,
2446
2453
  "hide-selected": !1,
2447
2454
  "aria-describedby": o(S).helpText ? `${o(S).name}-help` : null,
2448
2455
  "menu-props": { maxHeight: "400" },
2449
2456
  search: v.value
2450
2457
  }, o(S), {
2451
- "onUpdate:search": _[1] || (_[1] = (E) => Pe(E, void 0)),
2458
+ "onUpdate:search": B[1] || (B[1] = (E) => Ee(E, void 0)),
2452
2459
  "onUpdate:modelValue": be,
2453
- "onClick:clear": _[2] || (_[2] = (E) => d.value = null),
2454
- onBlur: _[3] || (_[3] = (E) => p.value = !0),
2455
- onMousedownCapture: _[4] || (_[4] = (E) => T(E))
2456
- }), Ne({
2460
+ "onClick:clear": B[2] || (B[2] = (E) => d.value = null),
2461
+ onBlur: B[3] || (B[3] = (E) => h.value = !0),
2462
+ onMousedownCapture: B[4] || (B[4] = (E) => T(E))
2463
+ }), Ue({
2457
2464
  chip: y(({ item: E }) => [
2458
- (C(), R(q, {
2465
+ (V(), F(q, {
2459
2466
  key: E.value,
2460
2467
  label: "",
2461
2468
  size: "small",
2462
2469
  class: "d-flex align-middle",
2463
2470
  variant: o(a) ? "tonal" : "text",
2464
2471
  closable: o(a),
2465
- "onClick:close": (Z) => vt(Z, E.value)
2472
+ "onClick:close": (Z) => Tt(Z, E.value)
2466
2473
  }, {
2467
2474
  prepend: y(() => {
2468
2475
  var Z;
2469
2476
  return [
2470
- (Z = E.raw) != null && Z.icon ? (C(), R(o(xe), {
2477
+ (Z = E.raw) != null && Z.icon ? (V(), F(o(xe), {
2471
2478
  key: 0,
2472
2479
  class: "me-1",
2473
2480
  name: E.raw.icon
@@ -2475,25 +2482,25 @@ const yl = {
2475
2482
  ];
2476
2483
  }),
2477
2484
  default: y(() => [
2478
- me("span", {
2479
- class: le({ "text-body-1": !o(a) })
2480
- }, Ue(E.title), 3)
2485
+ fe("span", {
2486
+ class: re({ "text-body-1": !o(a) })
2487
+ }, Oe(E.title), 3)
2481
2488
  ]),
2482
2489
  _: 2
2483
2490
  }, 1032, ["variant", "closable", "onClick:close"]))
2484
2491
  ]),
2485
2492
  label: y((E) => [
2486
- I(o(fe), {
2493
+ I(o(ne), {
2487
2494
  data: E,
2488
- label: o(V)
2495
+ label: o(C)
2489
2496
  }, null, 8, ["data", "label"])
2490
2497
  ]),
2491
2498
  item: y(({ props: E, item: Z }) => [
2492
- I(Q, ie(se(E)), {
2499
+ I(Q, ue(ce(E)), {
2493
2500
  prepend: y(() => {
2494
2501
  var ge;
2495
2502
  return [
2496
- (ge = Z.raw) != null && ge.icon ? (C(), Y("span", yl, [
2503
+ (ge = Z.raw) != null && ge.icon ? (V(), Y("span", Cl, [
2497
2504
  I(o(xe), {
2498
2505
  class: "action-icon",
2499
2506
  name: Z.raw.icon
@@ -2505,9 +2512,9 @@ const yl = {
2505
2512
  }, 1040)
2506
2513
  ]),
2507
2514
  message: y(({ message: E }) => [
2508
- I(o(oe), {
2515
+ I(o(te), {
2509
2516
  message: E,
2510
- errors: o(x)
2517
+ errors: o(_)
2511
2518
  }, null, 8, ["message", "errors"])
2512
2519
  ]),
2513
2520
  _: 2
@@ -2515,28 +2522,28 @@ const yl = {
2515
2522
  w.$slots["append-inner"] ? {
2516
2523
  name: "append-inner",
2517
2524
  fn: y((E) => [
2518
- pe(w.$slots, "append-inner", ie(se(E)), void 0, !0)
2525
+ pe(w.$slots, "append-inner", ue(ce(E)), void 0, !0)
2519
2526
  ]),
2520
2527
  key: "0"
2521
2528
  } : void 0,
2522
2529
  w.$slots["prepend-inner"] ? {
2523
2530
  name: "prepend-inner",
2524
2531
  fn: y((E) => [
2525
- pe(w.$slots, "prepend-inner", ie(se(E)), void 0, !0)
2532
+ pe(w.$slots, "prepend-inner", ue(ce(E)), void 0, !0)
2526
2533
  ]),
2527
2534
  key: "1"
2528
2535
  } : void 0
2529
2536
  ]), 1040, ["modelValue", "class", "items", "closable-chips", "clearable", "multiple", "loading", "aria-describedby", "search"])) : H("", !0);
2530
2537
  };
2531
2538
  }
2532
- }), kl = (e, t) => {
2539
+ }), jl = (e, t) => {
2533
2540
  const n = e.__vccOpts || e;
2534
2541
  for (const [l, a] of t)
2535
2542
  n[l] = a;
2536
2543
  return n;
2537
- }, Vl = /* @__PURE__ */ kl(wl, [["__scopeId", "data-v-7e5aa3b6"]]), Cl = /* @__PURE__ */ K({
2544
+ }, Vt = /* @__PURE__ */ jl(Vl, [["__scopeId", "data-v-7e5aa3b6"]]), jt = /* @__PURE__ */ K({
2538
2545
  __name: "df-text-area",
2539
- props: /* @__PURE__ */ ae({
2546
+ props: /* @__PURE__ */ ie({
2540
2547
  rows: {},
2541
2548
  maxRows: {},
2542
2549
  control: {},
@@ -2553,40 +2560,40 @@ const yl = {
2553
2560
  passthroughAttrs: {},
2554
2561
  density: {},
2555
2562
  variant: {}
2556
- }, O(B({}, re), {
2563
+ }, W(x({}, se), {
2557
2564
  rows: void 0,
2558
2565
  maxRows: void 0
2559
2566
  })),
2560
2567
  emits: ["update:modelValue", "click:clear"],
2561
2568
  setup(e, { emit: t }) {
2562
- const n = e, l = t, { densityClass: a, isRendered: r, label: s, showErrors: c, touched: g, value: i, visibilityClass: f, vuetifyBindings: u } = te(
2569
+ const n = e, l = t, { densityClass: a, isRendered: r, label: u, showErrors: c, touched: p, value: i, visibilityClass: f, vuetifyBindings: s } = oe(
2563
2570
  n,
2564
2571
  l
2565
- ), { cssClass: V } = Se(n);
2566
- return (x, p) => {
2572
+ ), { cssClass: C } = Pe(n);
2573
+ return (_, h) => {
2567
2574
  const k = N("v-textarea");
2568
- return o(r) ? (C(), Y("div", {
2575
+ return o(r) ? (V(), Y("div", {
2569
2576
  key: 0,
2570
- class: le(["df-textarea-container", [o(a), o(f)]])
2577
+ class: re(["df-textarea-container", [o(a), o(f)]])
2571
2578
  }, [
2572
2579
  I(k, z({
2573
2580
  modelValue: o(i),
2574
- "onUpdate:modelValue": p[0] || (p[0] = (D) => de(i) ? i.value = D : null),
2575
- class: o(V),
2581
+ "onUpdate:modelValue": h[0] || (h[0] = (D) => me(i) ? i.value = D : null),
2582
+ class: o(C),
2576
2583
  rows: e.rows,
2577
2584
  "auto-grow": (e.maxRows || 0) > 0,
2578
2585
  "max-rows": e.maxRows
2579
- }, o(u), {
2580
- onBlur: p[1] || (p[1] = (D) => g.value = !0)
2586
+ }, o(s), {
2587
+ onBlur: h[1] || (h[1] = (D) => p.value = !0)
2581
2588
  }), {
2582
2589
  label: y((D) => [
2583
- I(o(fe), {
2590
+ I(o(ne), {
2584
2591
  data: D,
2585
- label: o(s)
2592
+ label: o(u)
2586
2593
  }, null, 8, ["data", "label"])
2587
2594
  ]),
2588
2595
  message: y(({ message: D }) => [
2589
- I(o(oe), {
2596
+ I(o(te), {
2590
2597
  message: D,
2591
2598
  errors: o(c)
2592
2599
  }, null, 8, ["message", "errors"])
@@ -2596,85 +2603,100 @@ const yl = {
2596
2603
  ], 2)) : H("", !0);
2597
2604
  };
2598
2605
  }
2599
- }), jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2606
+ }), Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2600
2607
  __proto__: null,
2601
- DfActions: il,
2602
- DfCheckbox: sl,
2603
- DfColor: ul,
2604
- DfDateTime: cl,
2605
- DfFile: dl,
2606
- DfInput: ml,
2607
- DfInputHint: oe,
2608
- DfRtfEditor: bl,
2609
- DfSelect: Vl,
2610
- DfTextArea: Cl
2611
- }, Symbol.toStringTag, { value: "Module" })), Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2608
+ DfActions: ht,
2609
+ DfCheckbox: bt,
2610
+ DfColor: gt,
2611
+ DfDateTime: yt,
2612
+ DfFile: wt,
2613
+ DfInput: kt,
2614
+ DfInputHint: te,
2615
+ DfLabel: ne,
2616
+ DfRtfEditor: Ct,
2617
+ DfSelect: Vt,
2618
+ DfTextArea: jt
2619
+ }, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2612
2620
  __proto__: null,
2613
- VAutocomplete: An,
2614
- VBtn: $n,
2615
- VCheckbox: Mn,
2616
- VChip: Fn,
2617
- VCol: Hn,
2618
- VColorPicker: Ln,
2619
- VCombobox: Rn,
2620
- VConfirmEdit: Nn,
2621
- VDatePicker: Un,
2622
- VField: Wn,
2623
- VFileInput: On,
2624
- VIcon: Kn,
2625
- VImg: Xn,
2626
- VInput: qn,
2627
- VListItem: Gn,
2628
- VMenu: Yn,
2629
- VNumberInput: Qn,
2630
- VProgressLinear: Zn,
2631
- VRow: zn,
2632
- VSelect: Jn,
2633
- VSwitch: eo,
2634
- VTextField: no,
2635
- VTextarea: to,
2636
- VTimePicker: oo
2637
- }, Symbol.toStringTag, { value: "Module" })), ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2638
- __proto__: null
2621
+ VAutocomplete: Hn,
2622
+ VBtn: zn,
2623
+ VCheckbox: Kn,
2624
+ VChip: Xn,
2625
+ VCol: eo,
2626
+ VColorPicker: Gn,
2627
+ VCombobox: qn,
2628
+ VConfirmEdit: Yn,
2629
+ VDatePicker: Qn,
2630
+ VField: Zn,
2631
+ VFileInput: Jn,
2632
+ VIcon: no,
2633
+ VImg: oo,
2634
+ VInput: lo,
2635
+ VListItem: ao,
2636
+ VMenu: ro,
2637
+ VNumberInput: io,
2638
+ VProgressLinear: so,
2639
+ VRow: to,
2640
+ VSelect: uo,
2641
+ VSwitch: co,
2642
+ VTextField: fo,
2643
+ VTextarea: mo,
2644
+ VTimePicker: vo
2639
2645
  }, Symbol.toStringTag, { value: "Module" })), ia = {
2646
+ "df-actions": ht,
2647
+ "df-checkbox": bt,
2648
+ "df-color": gt,
2649
+ "df-date-time": yt,
2650
+ "df-file": wt,
2651
+ "df-input": kt,
2652
+ "df-input-hint": te,
2653
+ "df-label": ne,
2654
+ "df-rtf-editor": Ct,
2655
+ "df-select": Vt,
2656
+ "df-text-area": jt
2657
+ }, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2658
+ __proto__: null
2659
+ }, Symbol.toStringTag, { value: "Module" })), ua = {
2640
2660
  install: (e, t) => {
2641
2661
  var n, l;
2642
- e.use(ho), e.provide(ft, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(jl).map(([a, r]) => e.component(a, r)), (l = t == null ? void 0 : t.registerVuetifyComponents) != null && l && Object.entries(Tl).map(([a, r]) => e.component(a, r));
2662
+ e.use(xo), e.provide(vt, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(Tl).map(([a, r]) => e.component(a, r)), (l = t == null ? void 0 : t.registerVuetifyComponents) != null && l && Object.entries(xl).map(([a, r]) => e.component(a, r));
2643
2663
  }
2644
2664
  };
2645
2665
  export {
2646
- Be as Action,
2666
+ De as Action,
2647
2667
  J as ActionDisplayStyle,
2648
- Zo as DateTimeLocaleConfig,
2649
- il as DfActions,
2650
- sl as DfCheckbox,
2651
- ul as DfColor,
2652
- cl as DfDateTime,
2653
- dl as DfFile,
2654
- ml as DfInput,
2655
- ra as DfInputComponentProps,
2656
- jl as DfInputComponents,
2657
- oe as DfInputHint,
2658
- fe as DfLabel,
2659
- bl as DfRtfEditor,
2660
- Vl as DfSelect,
2661
- Cl as DfTextArea,
2662
- ia as DynamicFormsInputs,
2663
- He as InputBase,
2664
- Jo as Label,
2665
- ll as ResponsiveActionRenderOptions,
2666
- tl as ResponsiveRenderOptions,
2667
- Tl as VuetifyComponents,
2668
- De as ckEditorLanguage,
2669
- re as defaultBaseProps,
2668
+ sl as DateTimeLocaleConfig,
2669
+ ht as DfActions,
2670
+ bt as DfCheckbox,
2671
+ gt as DfColor,
2672
+ yt as DfDateTime,
2673
+ wt as DfFile,
2674
+ kt as DfInput,
2675
+ sa as DfInputComponentProps,
2676
+ Tl as DfInputComponents,
2677
+ te as DfInputHint,
2678
+ ne as DfLabel,
2679
+ Ct as DfRtfEditor,
2680
+ Vt as DfSelect,
2681
+ jt as DfTextArea,
2682
+ ua as DynamicFormsInputs,
2683
+ ze as InputBase,
2684
+ ul as Label,
2685
+ vl as ResponsiveActionRenderOptions,
2686
+ dl as ResponsiveRenderOptions,
2687
+ xl as VuetifyComponents,
2688
+ Ie as ckEditorLanguage,
2689
+ se as defaultBaseProps,
2670
2690
  nt as defaultDisplayStyle,
2671
- nl as getBreakpointName,
2691
+ ia as dfInputComponentsByTag,
2692
+ ml as getBreakpointName,
2693
+ pt as getRenderOptionsForBreakpoint,
2672
2694
  ot as responsiveBreakpoints,
2673
- aa as setCkEditorLanguage,
2695
+ ra as setCkEditorLanguage,
2674
2696
  L as translatableStrings,
2675
- la as translateStrings,
2676
- ol as useBreakpoint,
2677
- te as useInputBase,
2678
- ft as vuetifyInputsSettingsKey
2697
+ aa as translateStrings,
2698
+ fl as useBreakpoint,
2699
+ oe as useInputBase,
2700
+ vt as vuetifyInputsSettingsKey
2679
2701
  };
2680
2702
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map