@dynamicforms/vuetify-inputs 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,33 +9,33 @@ var ke = (l, e, n) => e in l ? Qe(l, e, { enumerable: !0, configurable: !0, writ
9
9
  for (var n of xe(e))
10
10
  tl.call(e, n) && ke(l, n, e[n]);
11
11
  return l;
12
- }, O = (l, e) => Je(l, el(e));
12
+ }, R = (l, e) => Je(l, el(e));
13
13
  var De = (l, e, n) => ke(l, typeof e != "symbol" ? e + "" : e, n);
14
- var be = (l, e, n) => new Promise((o, a) => {
15
- var s = (m) => {
14
+ var be = (l, e, n) => new Promise((o, s) => {
15
+ var a = (m) => {
16
16
  try {
17
17
  r(n.next(m));
18
18
  } catch (v) {
19
- a(v);
19
+ s(v);
20
20
  }
21
- }, h = (m) => {
21
+ }, g = (m) => {
22
22
  try {
23
23
  r(n.throw(m));
24
24
  } catch (v) {
25
- a(v);
25
+ s(v);
26
26
  }
27
- }, r = (m) => m.done ? o(m.value) : Promise.resolve(m.value).then(s, h);
27
+ }, r = (m) => m.done ? o(m.value) : Promise.resolve(m.value).then(a, g);
28
28
  r((n = n.apply(l, e)).next());
29
29
  });
30
30
  import * as Ne from "vue";
31
- import { defineComponent as R, mergeModels as Se, useModel as nl, ref as S, watch as ue, onMounted as He, markRaw as ol, onBeforeUnmount as je, createBlock as B, openBlock as V, resolveDynamicComponent as de, version as al, resolveComponent as $, createElementBlock as U, createCommentVNode as L, createTextVNode as Ke, Fragment as Ce, toDisplayString as ie, inject as sl, computed as k, renderList as ze, normalizeClass as ce, unref as t, mergeProps as K, withCtx as y, createSlots as Y, createVNode as T, renderSlot as re, normalizeProps as X, guardReactiveProps as q, createElementVNode as le, isRef as te, withModifiers as rl, mergeDefaults as Z, normalizeStyle as Be, toRefs as Ve, withKeys as Ee, useCssVars as il, nextTick as Ue } from "vue";
32
- import { debounce as ul, isString as ee, isEmpty as ve, isObjectLike as dl, isBoolean as Ae, clone as cl, toNumber as Fe, isNaN as Le, isArray as Re, castArray as Ge, first as We, unionBy as ml } from "lodash-es";
31
+ import { defineComponent as O, mergeModels as Se, useModel as nl, ref as S, watch as ie, onMounted as He, markRaw as ol, onBeforeUnmount as je, createBlock as B, openBlock as y, resolveDynamicComponent as ue, version as al, resolveComponent as $, createElementBlock as U, createCommentVNode as L, createTextVNode as ze, Fragment as Ce, toDisplayString as re, inject as sl, computed as T, renderList as Ke, normalizeClass as pe, unref as t, mergeProps as z, withCtx as h, createSlots as Y, createVNode as C, renderSlot as se, normalizeProps as X, guardReactiveProps as q, createElementVNode as le, withModifiers as rl, mergeDefaults as Z, isRef as de, normalizeStyle as Be, toRefs as Ve, withKeys as Ee, useCssVars as il, nextTick as Ue } from "vue";
32
+ import { debounce as ul, isString as ee, isEmpty as me, isObjectLike as dl, isBoolean as Ae, clone as cl, toNumber as Fe, isNaN as Le, isArray as Oe, castArray as Ge, first as We, unionBy as ml } from "lodash-es";
33
33
  import Te from "vue-ionicon";
34
- import Oe, { ValidationErrorRenderContent as vl, DisplayMode as j, Action as pl } from "@dynamicforms/vue-forms";
34
+ import Re, { ValidationErrorRenderContent as vl, DisplayMode as j, Action as pl } from "@dynamicforms/vue-forms";
35
35
  import fl from "vue-markdown-render";
36
36
  import { useDisplay as bl } from "vuetify";
37
- import { format as me, parse as gl } from "date-fns";
38
- import { AccessibilityHelp as hl, Alignment as yl, AutoImage as Vl, AutoLink as _l, Autosave as kl, BalloonToolbar as wl, BlockQuote as Tl, Bold as Cl, CloudServices as Bl, Essentials as Il, GeneralHtmlSupport as $l, Heading as xl, HorizontalLine as Dl, ImageBlock as Nl, ImageCaption as Sl, ImageInline as El, ImageInsertViaUrl as Ul, ImageResize as Al, ImageStyle as Fl, ImageToolbar as Ll, ImageUpload as Rl, Indent as Ol, IndentBlock as Pl, Italic as Ml, Link as Hl, List as jl, Autoformat as Kl, MediaEmbed as zl, Paragraph as Gl, PasteFromMarkdownExperimental as Wl, PasteFromOffice as Xl, SelectAll as ql, Style as Yl, Table as Zl, TableCellProperties as Ql, TableColumnResize as Jl, TableProperties as et, TableToolbar as lt, Undo as tt, TextTransformation as nt, Base64UploadAdapter as ot, ClassicEditor as at } from "ckeditor5";
37
+ import { format as ce, parse as gl } from "date-fns";
38
+ import { AccessibilityHelp as hl, Alignment as yl, AutoImage as Vl, AutoLink as _l, Autosave as kl, BalloonToolbar as wl, BlockQuote as Tl, Bold as Cl, CloudServices as Bl, Essentials as Il, GeneralHtmlSupport as $l, Heading as xl, HorizontalLine as Dl, ImageBlock as Nl, ImageCaption as Sl, ImageInline as El, ImageInsertViaUrl as Ul, ImageResize as Al, ImageStyle as Fl, ImageToolbar as Ll, ImageUpload as Ol, Indent as Rl, IndentBlock as Pl, Italic as Ml, Link as Hl, List as jl, Autoformat as zl, MediaEmbed as Kl, Paragraph as Gl, PasteFromMarkdownExperimental as Wl, PasteFromOffice as Xl, SelectAll as ql, Style as Yl, Table as Zl, TableCellProperties as Ql, TableColumnResize as Jl, TableProperties as et, TableToolbar as lt, Undo as tt, TextTransformation as nt, Base64UploadAdapter as ot, ClassicEditor as at } from "ckeditor5";
39
39
  import { VAutocomplete as st } from "vuetify/components/VAutocomplete";
40
40
  import { VBtn as rt } from "vuetify/components/VBtn";
41
41
  import { VCheckbox as it } from "vuetify/components/VCheckbox";
@@ -74,7 +74,7 @@ new Array(256).fill("").map((l, e) => ("0" + e.toString(16)).slice(-2));
74
74
  */
75
75
  function Dt(l, e) {
76
76
  const n = l.extraPlugins || [];
77
- return O(x({}, l), {
77
+ return R(x({}, l), {
78
78
  extraPlugins: [
79
79
  ...n,
80
80
  ...e.filter((o) => !n.includes(o))
@@ -169,8 +169,8 @@ function Ye(l, e) {
169
169
  */
170
170
  function Ft(l, e) {
171
171
  return function(o) {
172
- Ye(o.config.get("licenseKey")) || o.on("collectUsageData", (a, { setUsageData: s }) => {
173
- s(`integration.${l}`, e);
172
+ Ye(o.config.get("licenseKey")) || o.on("collectUsageData", (s, { setUsageData: a }) => {
173
+ a(`integration.${l}`, e);
174
174
  });
175
175
  };
176
176
  }
@@ -189,7 +189,7 @@ const Lt = Ft(
189
189
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
190
190
  * For licensing, see LICENSE.md.
191
191
  */
192
- function Rt(l) {
192
+ function Ot(l) {
193
193
  return Ye(l.licenseKey) ? l : Dt(l, [
194
194
  /**
195
195
  * This part of the code is not executed in open-source implementations using a GPL key.
@@ -199,7 +199,7 @@ function Rt(l) {
199
199
  Lt
200
200
  ]);
201
201
  }
202
- const we = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ot = 300, Pt = /* @__PURE__ */ R({
202
+ const we = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Rt = 300, Pt = /* @__PURE__ */ O({
203
203
  name: "CKEditor",
204
204
  __name: "ckeditor",
205
205
  props: /* @__PURE__ */ Se({
@@ -214,13 +214,13 @@ const we = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ot = 300, Pt =
214
214
  }),
215
215
  emits: /* @__PURE__ */ Se(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
216
216
  setup(l, { expose: e, emit: n }) {
217
- const o = nl(l, "modelValue"), a = l, s = n, h = S(), r = S(), m = S();
217
+ const o = nl(l, "modelValue"), s = l, a = n, g = S(), r = S(), m = S();
218
218
  e({
219
219
  instance: r,
220
220
  lastEditorData: m
221
- }), ue(o, (i) => {
221
+ }), ie(o, (i) => {
222
222
  r.value && i !== m.value && r.value.data.set(i);
223
- }), ue(() => a.disabled, (i) => {
223
+ }), ie(() => s.disabled, (i) => {
224
224
  i ? r.value.enableReadOnlyMode(we) : r.value.disableReadOnlyMode(we);
225
225
  });
226
226
  function v() {
@@ -232,31 +232,31 @@ const we = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ot = 300, Pt =
232
232
  }
233
233
  function _(i) {
234
234
  const p = ul((f) => {
235
- if (a.disableTwoWayDataBinding)
235
+ if (s.disableTwoWayDataBinding)
236
236
  return;
237
237
  const b = m.value = i.data.get();
238
- s("update:modelValue", b, f, i), s("input", b, f, i);
239
- }, Ot, { leading: !0 });
238
+ a("update:modelValue", b, f, i), a("input", b, f, i);
239
+ }, Rt, { leading: !0 });
240
240
  i.model.document.on("change:data", p), i.editing.view.document.on("focus", (f) => {
241
- s("focus", f, i);
241
+ a("focus", f, i);
242
242
  }), i.editing.view.document.on("blur", (f) => {
243
- s("blur", f, i);
243
+ a("blur", f, i);
244
244
  });
245
245
  }
246
246
  return v(), He(() => {
247
- const i = Rt(
248
- Object.assign({}, a.config)
247
+ const i = Ot(
248
+ Object.assign({}, s.config)
249
249
  );
250
- o.value && (i.initialData = o.value), a.editor.create(h.value, i).then((p) => {
251
- r.value = ol(p), _(p), o.value !== i.initialData && p.data.set(o.value), a.disabled && p.enableReadOnlyMode(we), s("ready", p);
250
+ o.value && (i.initialData = o.value), s.editor.create(g.value, i).then((p) => {
251
+ r.value = ol(p), _(p), o.value !== i.initialData && p.data.set(o.value), s.disabled && p.enableReadOnlyMode(we), a("ready", p);
252
252
  }).catch((p) => {
253
253
  console.error(p);
254
254
  });
255
255
  }), je(() => {
256
- r.value && (r.value.destroy(), r.value = void 0), s("destroy");
257
- }), (i, p) => (V(), B(de(i.tagName), {
256
+ r.value && (r.value.destroy(), r.value = void 0), a("destroy");
257
+ }), (i, p) => (y(), B(ue(i.tagName), {
258
258
  ref_key: "element",
259
- ref: h
259
+ ref: g
260
260
  }, null, 512));
261
261
  }
262
262
  });
@@ -278,7 +278,7 @@ const Mt = {
278
278
  install(l) {
279
279
  l.component("Ckeditor", Pt);
280
280
  }
281
- }, Ht = { class: "label" }, jt = /* @__PURE__ */ R({
281
+ }, Ht = { class: "label" }, jt = /* @__PURE__ */ O({
282
282
  __name: "df-label",
283
283
  props: {
284
284
  data: {},
@@ -286,123 +286,123 @@ const Mt = {
286
286
  },
287
287
  setup(l) {
288
288
  return (e, n) => {
289
- const o = $("v-icon"), a = $("v-img");
290
- return V(), U("div", Ht, [
291
- e.label.icon ? (V(), U(Ce, { key: 0 }, [
292
- e.label.iconComponent === "v-icon" ? (V(), B(o, {
289
+ const o = $("v-icon"), s = $("v-img");
290
+ return y(), U("div", Ht, [
291
+ e.label.icon ? (y(), U(Ce, { key: 0 }, [
292
+ e.label.iconComponent === "v-icon" ? (y(), B(o, {
293
293
  key: 0,
294
294
  icon: e.label.icon,
295
295
  size: "1.25em"
296
- }, null, 8, ["icon"])) : e.label.iconComponent === "v-img" ? (V(), B(a, {
296
+ }, null, 8, ["icon"])) : e.label.iconComponent === "v-img" ? (y(), B(s, {
297
297
  key: 1,
298
298
  class: "icon",
299
299
  src: e.label.icon
300
- }, null, 8, ["src"])) : (V(), B(de(e.label.iconComponent), {
300
+ }, null, 8, ["src"])) : (y(), B(ue(e.label.iconComponent), {
301
301
  key: 2,
302
302
  src: e.label.icon
303
303
  }, null, 8, ["src"]))
304
304
  ], 64)) : L("", !0),
305
- Ke(" " + ie(e.data ? e.data.label : e.label.text), 1)
305
+ ze(" " + re(e.data ? e.data.label : e.label.text), 1)
306
306
  ]);
307
307
  };
308
308
  }
309
- }), ae = (l, e) => {
309
+ }), oe = (l, e) => {
310
310
  const n = l.__vccOpts || l;
311
- for (const [o, a] of e)
312
- n[o] = a;
311
+ for (const [o, s] of e)
312
+ n[o] = s;
313
313
  return n;
314
- }, ne = /* @__PURE__ */ ae(jt, [["__scopeId", "data-v-0034f29f"]]), Ze = Symbol("vuetifyInputsSettingsKey");
315
- class Kt {
314
+ }, te = /* @__PURE__ */ oe(jt, [["__scopeId", "data-v-0034f29f"]]), Ze = Symbol("vuetifyInputsSettingsKey");
315
+ class zt {
316
316
  constructor(e, n, o = "v-icon") {
317
317
  this.text = e, this.icon = n, this.iconComponent = o;
318
318
  }
319
319
  }
320
320
  const Q = { enabled: void 0 };
321
- function z(l, e) {
322
- const n = sl(Ze, {}), o = k({
321
+ function K(l, e) {
322
+ const n = sl(Ze, {}), o = S(null), s = T({
323
323
  get() {
324
- return l.control ? l.control.value : l.modelValue;
324
+ return l.control ? l.control.value : l.modelValue === void 0 ? o.value : l.modelValue;
325
325
  },
326
- set(g) {
327
- l.control && (l.control.value = g), e("update:modelValue", g);
326
+ set(k) {
327
+ l.control && (l.control.value = k), l.modelValue === void 0 && (o.value = k), e("update:modelValue", k);
328
328
  }
329
329
  });
330
- if (l.control && !(l.control instanceof Oe.FieldBase))
330
+ if (l.control && !(l.control instanceof Re.FieldBase))
331
331
  throw new Error("control prop is not a vue-form control instance");
332
- const a = S(!1), s = k(() => l.control ? l.control.valid : !0), h = k(
333
- () => l.control ? l.control.errors : (l.errors || []).map((g) => new vl(g))
334
- ), r = k(() => a.value && h.value.length > 0 ? " " : void 0), m = k(() => l.control ? l.control.enabled : l.enabled !== !1), v = k(
335
- () => l.control ? l.control.visibility : l.visibility || Oe.DisplayMode.FULL
336
- ), _ = k(
337
- () => ee(l.label || "") ? new Kt(l.label || "") : l.label
338
- ), i = k(() => l.placeholder || ""), p = k(() => l.helpText || ""), f = k(() => l.hint || ""), b = k(() => l.cssClass || "");
332
+ const a = S(!1), g = T(() => l.control ? l.control.valid : !0), r = T(
333
+ () => l.control ? l.control.errors : (l.errors || []).map((k) => new vl(k))
334
+ ), m = T(() => a.value && r.value.length > 0 ? " " : void 0), v = T(() => l.control ? l.control.enabled : l.enabled !== !1), _ = T(
335
+ () => l.control ? l.control.visibility : l.visibility || Re.DisplayMode.FULL
336
+ ), i = T(
337
+ () => ee(l.label || "") ? new zt(l.label || "") : l.label
338
+ ), p = T(() => l.placeholder || ""), f = T(() => l.helpText || ""), b = T(() => l.hint || ""), V = T(() => l.cssClass || "");
339
339
  return {
340
- value: o,
341
- valid: s,
342
- enabled: m,
343
- errors: h,
344
- visibility: v,
345
- label: _,
340
+ value: s,
341
+ valid: g,
342
+ enabled: v,
343
+ errors: r,
344
+ visibility: _,
345
+ label: i,
346
346
  touched: a,
347
- vuetifyBindings: k(() => {
348
- var g, C;
347
+ vuetifyBindings: T(() => {
348
+ var k, w;
349
349
  return {
350
- name: (g = l.control) == null ? void 0 : g.fieldName,
351
- class: b.value,
350
+ name: (k = l.control) == null ? void 0 : k.fieldName,
351
+ class: V.value,
352
352
  density: "default",
353
- variant: (C = n.defaultVariant) != null ? C : "underlined",
354
- label: _.value.text,
355
- messages: r.value,
356
- errorMessages: r.value,
353
+ variant: (w = n.defaultVariant) != null ? w : "underlined",
354
+ label: i.value.text,
355
+ messages: m.value,
356
+ errorMessages: m.value,
357
357
  // 'error-count': errors?.value.length || 0,
358
- readonly: !m.value,
359
- disabled: !m.value,
360
- placeholder: i.value,
361
- "persistent-placeholder": !ve(i.value),
362
- hint: f.value,
358
+ readonly: !v.value,
359
+ disabled: !v.value,
360
+ placeholder: p.value,
361
+ "persistent-placeholder": !me(p.value),
362
+ hint: b.value,
363
363
  persistentHint: !0,
364
364
  // we want persistent hint always
365
365
  hideDetails: "auto",
366
366
  // we want to hide the hint element when hint isn't there
367
- helpText: p.value
367
+ helpText: f.value
368
368
  };
369
369
  })
370
370
  };
371
371
  }
372
- const zt = {
372
+ const Kt = {
373
373
  key: 0,
374
374
  class: "custom-error-display text-error"
375
- }, Gt = { key: 0 }, Wt = { key: 1 }, Xt = /* @__PURE__ */ R({
375
+ }, Gt = { key: 0 }, Wt = { key: 1 }, Xt = /* @__PURE__ */ O({
376
376
  __name: "messages-widget",
377
377
  props: {
378
378
  errors: {},
379
379
  message: {}
380
380
  },
381
381
  setup(l) {
382
- return (e, n) => e.message === " " ? (V(), U("div", zt, [
383
- (V(!0), U(Ce, null, ze(e.errors, (o, a) => {
384
- var s;
385
- return V(), U("div", {
386
- key: a,
387
- class: ce({ "first-error": a === 0, "last-error": a === e.errors.length - 1 })
382
+ return (e, n) => e.message === " " ? (y(), U("div", Kt, [
383
+ (y(!0), U(Ce, null, Ke(e.errors, (o, s) => {
384
+ var a;
385
+ return y(), U("div", {
386
+ key: s,
387
+ class: pe({ "first-error": s === 0, "last-error": s === e.errors.length - 1 })
388
388
  }, [
389
- o.componentName === "template" ? (V(), U("div", Gt, ie(o.componentBody), 1)) : o.componentName === "vue-markdown" ? (V(), B(t(fl), {
389
+ o.componentName === "template" ? (y(), U("div", Gt, re(o.componentBody), 1)) : o.componentName === "vue-markdown" ? (y(), B(t(fl), {
390
390
  key: 1,
391
- source: (s = o.componentBindings) == null ? void 0 : s.source
392
- }, null, 8, ["source"])) : (V(), B(de(o.componentName), K({
391
+ source: (a = o.componentBindings) == null ? void 0 : a.source
392
+ }, null, 8, ["source"])) : (y(), B(ue(o.componentName), z({
393
393
  key: 2,
394
394
  ref_for: !0
395
395
  }, o.componentBindings), {
396
- default: y(() => [
397
- Ke(ie(o.componentBody), 1)
396
+ default: h(() => [
397
+ ze(re(o.componentBody), 1)
398
398
  ]),
399
399
  _: 2
400
400
  }, 1040))
401
401
  ], 2);
402
402
  }), 128))
403
- ])) : (V(), U("span", Wt, ie(e.message), 1));
403
+ ])) : (y(), U("span", Wt, re(e.message), 1));
404
404
  }
405
- }), oe = /* @__PURE__ */ ae(Xt, [["__scopeId", "data-v-ff7a8b63"]]), qt = { class: "d-flex w-100 style-resetting" }, Yt = /* @__PURE__ */ R({
405
+ }), ne = /* @__PURE__ */ oe(Xt, [["__scopeId", "data-v-ff7a8b63"]]), qt = { class: "d-flex w-100 style-resetting" }, Yt = /* @__PURE__ */ O({
406
406
  __name: "input-base",
407
407
  props: {
408
408
  control: {},
@@ -420,20 +420,20 @@ const zt = {
420
420
  },
421
421
  emits: ["update:modelValue", "click:clear", "blur"],
422
422
  setup(l, { emit: e }) {
423
- const n = l, o = e, { errors: a, label: s, value: h, touched: r, visibility: m, vuetifyBindings: v } = z(n, o), _ = k(() => !!(t(n.clearable) && t(h))), i = S(!1);
423
+ const n = l, o = e, { errors: s, label: a, value: g, touched: r, visibility: m, vuetifyBindings: v } = K(n, o), _ = T(() => !!(t(n.clearable) && t(g))), i = S(!1);
424
424
  function p(f) {
425
425
  i.value = f, f || (r.value = !0, o("blur"));
426
426
  }
427
427
  return (f, b) => {
428
- const g = $("v-field"), C = $("v-input");
429
- return t(m) !== t(j).SUPPRESS ? (V(), B(C, {
428
+ const V = $("v-field"), k = $("v-input");
429
+ return t(m) !== t(j).SUPPRESS ? (y(), B(k, {
430
430
  key: 0,
431
431
  name: t(v).name,
432
432
  hint: t(v).hint,
433
433
  "persistent-hint": t(v).persistentHint,
434
434
  "hide-details": t(v).hideDetails,
435
435
  "error-messages": t(v).errorMessages,
436
- class: ce([
436
+ class: pe([
437
437
  f.cssClass,
438
438
  {
439
439
  "d-none": t(m) === t(j).HIDDEN,
@@ -441,49 +441,49 @@ const zt = {
441
441
  }
442
442
  ])
443
443
  }, Y({
444
- message: y(({ message: w }) => [
445
- T(oe, {
444
+ message: h(({ message: w }) => [
445
+ C(ne, {
446
446
  message: w,
447
- errors: t(a)
447
+ errors: t(s)
448
448
  }, null, 8, ["message", "errors"])
449
449
  ]),
450
- default: y(() => [
451
- T(g, {
450
+ default: h(() => [
451
+ C(V, {
452
452
  variant: t(v).variant,
453
453
  label: t(v).label,
454
454
  disabled: t(v).disabled,
455
455
  clearable: _.value,
456
456
  "persistent-clear": !0,
457
- dirty: !!t(h),
457
+ dirty: !!t(g),
458
458
  active: i.value,
459
459
  loading: f.loading,
460
460
  "onClick:clear": b[0] || (b[0] = (w) => o("click:clear")),
461
461
  "onUpdate:focused": b[1] || (b[1] = (w) => p(w))
462
462
  }, Y({
463
- default: y((w) => [
463
+ default: h((w) => [
464
464
  le("div", qt, [
465
- re(f.$slots, "default", X(q(w)), void 0, !0)
465
+ se(f.$slots, "default", X(q(w)), void 0, !0)
466
466
  ])
467
467
  ]),
468
- loader: y((w) => [
469
- re(f.$slots, "loader", X(q(w)), void 0, !0)
468
+ loader: h((w) => [
469
+ se(f.$slots, "loader", X(q(w)), void 0, !0)
470
470
  ]),
471
471
  _: 2
472
472
  }, [
473
- t(s).icon ? {
473
+ t(a).icon ? {
474
474
  name: "label",
475
- fn: y((w) => [
476
- T(ne, {
475
+ fn: h((w) => [
476
+ C(te, {
477
477
  data: w,
478
- label: t(s)
478
+ label: t(a)
479
479
  }, null, 8, ["data", "label"])
480
480
  ]),
481
481
  key: "0"
482
482
  } : void 0,
483
483
  f.$slots["prepend-inner"] ? {
484
484
  name: "prepend-inner",
485
- fn: y((w) => [
486
- re(f.$slots, "prepend-inner", X(q(w)), void 0, !0)
485
+ fn: h((w) => [
486
+ se(f.$slots, "prepend-inner", X(q(w)), void 0, !0)
487
487
  ]),
488
488
  key: "1"
489
489
  } : void 0
@@ -493,39 +493,39 @@ const zt = {
493
493
  }, [
494
494
  f.$slots.prepend ? {
495
495
  name: "prepend",
496
- fn: y((w) => [
497
- re(f.$slots, "prepend", X(q(w)), void 0, !0)
496
+ fn: h((w) => [
497
+ se(f.$slots, "prepend", X(q(w)), void 0, !0)
498
498
  ]),
499
499
  key: "0"
500
500
  } : void 0
501
501
  ]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
502
502
  };
503
503
  }
504
- }), Ie = /* @__PURE__ */ ae(Yt, [["__scopeId", "data-v-7ba7207d"]]), pe = {
504
+ }), Ie = /* @__PURE__ */ oe(Yt, [["__scopeId", "data-v-7ba7207d"]]), ve = {
505
505
  Yes: "Yes",
506
506
  No: "No",
507
507
  Close: "Close"
508
508
  };
509
509
  function ro(l) {
510
- Object.keys(pe).forEach((e) => {
511
- pe[e] = l(e);
510
+ Object.keys(ve).forEach((e) => {
511
+ ve[e] = l(e);
512
512
  });
513
513
  }
514
514
  var P = /* @__PURE__ */ ((l) => (l[l.BUTTON = 0] = "BUTTON", l[l.TEXT = 1] = "TEXT", l))(P || {});
515
515
  const Pe = 0;
516
516
  ((l) => {
517
- function e(a) {
518
- return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 : Pe;
517
+ function e(s) {
518
+ return s.toUpperCase() === "BUTTON" ? 0 : s.toUpperCase() === "TEXT" ? 1 : Pe;
519
519
  }
520
520
  l.fromString = e;
521
- function n(a) {
522
- const s = typeof a == "number" ? a : l.fromString(a);
523
- return Object.values(l).includes(s) ? s : Pe;
521
+ function n(s) {
522
+ const a = typeof s == "number" ? s : l.fromString(s);
523
+ return Object.values(l).includes(a) ? a : Pe;
524
524
  }
525
525
  l.fromAny = n;
526
- function o(a) {
527
- const s = typeof a == "number" ? a : l.fromString(a);
528
- return Object.values(l).includes(s);
526
+ function o(s) {
527
+ const a = typeof s == "number" ? s : l.fromString(s);
528
+ return Object.values(l).includes(a);
529
529
  }
530
530
  l.isDefined = o;
531
531
  })(P || (P = {}));
@@ -541,11 +541,11 @@ class Zt {
541
541
  }
542
542
  getOptionsForBreakpoint(e) {
543
543
  const n = this.cleanBreakpoint(this._value), o = Object.keys(n);
544
- for (const a of Me) {
545
- const s = this._value[a];
546
- for (const h of o)
547
- (s == null ? void 0 : s[h]) != null && (n[h] = s[h]);
548
- if (a === e) break;
544
+ for (const s of Me) {
545
+ const a = this._value[s];
546
+ for (const g of o)
547
+ (a == null ? void 0 : a[g]) != null && (n[g] = a[g]);
548
+ if (s === e) break;
549
549
  }
550
550
  return n;
551
551
  }
@@ -555,7 +555,7 @@ function Qt(l) {
555
555
  }
556
556
  function Jt() {
557
557
  const l = bl();
558
- return k(() => Qt(l));
558
+ return T(() => Qt(l));
559
559
  }
560
560
  class en extends Zt {
561
561
  // eslint-disable-next-line class-methods-use-this
@@ -570,15 +570,15 @@ class he extends pl {
570
570
  return super.create(e);
571
571
  }
572
572
  getBreakpointValue(e) {
573
- return k(() => {
573
+ return T(() => {
574
574
  const o = new en(this.value).getOptionsForBreakpoint(e.value);
575
575
  return {
576
576
  name: o.name,
577
577
  label: o.showLabel ? o.label : void 0,
578
578
  icon: o.showIcon ? o.icon : void 0,
579
579
  renderAs: o.renderAs,
580
- showLabel: ee(o.label) && !ve(o.label) ? o.showLabel : !1,
581
- showIcon: ee(o.icon) && !ve(o.icon) ? o.showIcon : !1
580
+ showLabel: ee(o.label) && !me(o.label) ? o.showLabel : !1,
581
+ showIcon: ee(o.icon) && !me(o.icon) ? o.showIcon : !1
582
582
  };
583
583
  });
584
584
  }
@@ -589,24 +589,24 @@ class he extends pl {
589
589
  return this.value.showLabel ? this.value.label : void 0;
590
590
  }
591
591
  get showLabel() {
592
- return ee(this.value.label) && !ve(this.value.label) ? this.value.showLabel : !1;
592
+ return ee(this.value.label) && !me(this.value.label) ? this.value.showLabel : !1;
593
593
  }
594
594
  get icon() {
595
595
  return this.value.showIcon ? this.value.icon : void 0;
596
596
  }
597
597
  get showIcon() {
598
- return ee(this.value.icon) && !ve(this.value.icon) ? this.value.showIcon : !1;
598
+ return ee(this.value.icon) && !me(this.value.icon) ? this.value.showIcon : !1;
599
599
  }
600
600
  get renderAs() {
601
601
  return this.value.renderAs;
602
602
  }
603
603
  static closeAction(e) {
604
604
  var o;
605
- const n = O(x({}, e != null ? e : {}), {
605
+ const n = R(x({}, e != null ? e : {}), {
606
606
  // any properties in data should overwrite properties in the constant
607
607
  value: {
608
608
  name: "close",
609
- label: pe.Close,
609
+ label: ve.Close,
610
610
  icon: "close-outline",
611
611
  renderAs: P.BUTTON,
612
612
  showLabel: !0,
@@ -617,11 +617,11 @@ class he extends pl {
617
617
  }
618
618
  static yesAction(e) {
619
619
  var o;
620
- const n = O(x({}, e != null ? e : {}), {
620
+ const n = R(x({}, e != null ? e : {}), {
621
621
  // any properties in data should overwrite properties in the constant
622
622
  value: {
623
623
  name: "yes",
624
- label: pe.Yes,
624
+ label: ve.Yes,
625
625
  icon: "thumbs-up-outline",
626
626
  renderAs: P.BUTTON,
627
627
  showLabel: !0,
@@ -632,11 +632,11 @@ class he extends pl {
632
632
  }
633
633
  static noAction(e) {
634
634
  var o;
635
- const n = O(x({}, e != null ? e : {}), {
635
+ const n = R(x({}, e != null ? e : {}), {
636
636
  // any properties in data should overwrite properties in the constant
637
637
  value: {
638
638
  name: "no",
639
- label: pe.No,
639
+ label: ve.No,
640
640
  icon: "thumbs-down-outline",
641
641
  renderAs: P.BUTTON,
642
642
  showLabel: !0,
@@ -649,7 +649,7 @@ class he extends pl {
649
649
  const ln = {
650
650
  key: 1,
651
651
  style: { width: ".5rem" }
652
- }, tn = { key: 2 }, nn = /* @__PURE__ */ R({
652
+ }, tn = { key: 2 }, nn = /* @__PURE__ */ O({
653
653
  __name: "df-actions",
654
654
  props: {
655
655
  actions: {},
@@ -657,41 +657,40 @@ const ln = {
657
657
  showAsGroup: { default: "no" }
658
658
  },
659
659
  setup(l) {
660
- const e = l, n = Jt(), o = te(e.actions) ? e.actions : S(e.actions), a = k(() => o.value.map((s) => x({
661
- action: s
662
- }, t(s.getBreakpointValue(n)))));
663
- return (s, h) => {
660
+ const e = l, n = Jt(), o = T(() => t(e.actions)), s = T(() => o.value.map((a) => x({
661
+ action: a
662
+ }, t(a.getBreakpointValue(n)))));
663
+ return (a, g) => {
664
664
  const r = $("v-btn");
665
- return t(o).length > 0 ? (V(), U("div", {
665
+ return o.value.length > 0 ? (y(), U("div", {
666
666
  key: 0,
667
- class: ce(["text-end", {
668
- "button-group": s.showAsGroup === "grouped" || s.showAsGroup === "grouped-no-borders",
669
- "with-border": s.showAsGroup === "grouped"
667
+ class: pe(["text-end", {
668
+ "button-group": a.showAsGroup === "grouped" || a.showAsGroup === "grouped-no-borders",
669
+ "with-border": a.showAsGroup === "grouped"
670
670
  }])
671
671
  }, [
672
- (V(!0), U(Ce, null, ze(a.value, (m, v) => (V(), B(r, {
672
+ (y(!0), U(Ce, null, Ke(s.value, (m, v) => (y(), B(r, {
673
673
  key: v,
674
674
  variant: m.renderAs === t(P).BUTTON ? "tonal" : "text",
675
675
  elevation: 0,
676
- class: ce(v !== -1 ? "" : "ms-3"),
677
- size: s.buttonSize,
676
+ size: a.buttonSize,
678
677
  onClick: rl((_) => m.action.execute(_), ["stop"])
679
678
  }, {
680
- default: y(() => [
681
- m.icon ? (V(), B(t(Te), {
679
+ default: h(() => [
680
+ m.icon ? (y(), B(t(Te), {
682
681
  key: 0,
683
682
  class: "action-icon",
684
683
  name: m.icon
685
684
  }, null, 8, ["name"])) : L("", !0),
686
- m.icon && m.label ? (V(), U("span", ln)) : L("", !0),
687
- m.label ? (V(), U("span", tn, ie(m.label), 1)) : L("", !0)
685
+ m.icon && m.label ? (y(), U("span", ln)) : L("", !0),
686
+ m.label ? (y(), U("span", tn, re(m.label), 1)) : L("", !0)
688
687
  ]),
689
688
  _: 2
690
- }, 1032, ["variant", "class", "size", "onClick"]))), 128))
689
+ }, 1032, ["variant", "size", "onClick"]))), 128))
691
690
  ], 2)) : L("", !0);
692
691
  };
693
692
  }
694
- }), on = /* @__PURE__ */ ae(nn, [["__scopeId", "data-v-22e878e3"]]), an = /* @__PURE__ */ R({
693
+ }), on = /* @__PURE__ */ oe(nn, [["__scopeId", "data-v-7f811834"]]), an = /* @__PURE__ */ O({
695
694
  __name: "df-checkbox",
696
695
  props: /* @__PURE__ */ Z({
697
696
  allowNull: { type: Boolean },
@@ -706,10 +705,10 @@ const ln = {
706
705
  visibility: {},
707
706
  cssClass: {},
708
707
  clearable: { type: Boolean }
709
- }, O(x({}, Q), { allowNull: !1 })),
708
+ }, R(x({}, Q), { allowNull: !1 })),
710
709
  emits: ["update:modelValue", "click:clear"],
711
710
  setup(l, { emit: e }) {
712
- const n = l, o = e, { errors: a, label: s, touched: h, value: r, vuetifyBindings: m } = z(n, o), v = k(() => n.allowNull && r.value == null), _ = k({
711
+ const n = l, o = e, { errors: s, label: a, touched: g, value: r, vuetifyBindings: m } = K(n, o), v = T(() => n.allowNull && r.value == null), _ = T({
713
712
  get() {
714
713
  return r.value;
715
714
  },
@@ -722,31 +721,31 @@ const ln = {
722
721
  }
723
722
  return (p, f) => {
724
723
  const b = $("v-checkbox");
725
- return V(), B(b, K({
724
+ return y(), B(b, z({
726
725
  modelValue: _.value,
727
- "onUpdate:modelValue": f[0] || (f[0] = (g) => _.value = g)
726
+ "onUpdate:modelValue": f[0] || (f[0] = (V) => _.value = V)
728
727
  }, t(m), {
729
728
  density: "compact",
730
729
  indeterminate: v.value,
731
730
  "false-value": !1,
732
731
  "true-value": !0,
733
732
  onChange: i,
734
- onBlur: f[1] || (f[1] = (g) => h.value = !0)
733
+ onBlur: f[1] || (f[1] = (V) => g.value = !0)
735
734
  }), Y({
736
- message: y(({ message: g }) => [
737
- T(t(oe), {
738
- message: g,
739
- errors: t(a)
735
+ message: h(({ message: V }) => [
736
+ C(t(ne), {
737
+ message: V,
738
+ errors: t(s)
740
739
  }, null, 8, ["message", "errors"])
741
740
  ]),
742
741
  _: 2
743
742
  }, [
744
- t(s).icon ? {
743
+ t(a).icon ? {
745
744
  name: "label",
746
- fn: y((g) => [
747
- T(t(ne), {
748
- data: g,
749
- label: t(s)
745
+ fn: h((V) => [
746
+ C(t(te), {
747
+ data: V,
748
+ label: t(a)
750
749
  }, null, 8, ["data", "label"])
751
750
  ]),
752
751
  key: "0"
@@ -754,7 +753,7 @@ const ln = {
754
753
  ]), 1040, ["modelValue", "indeterminate"]);
755
754
  };
756
755
  }
757
- }), sn = /* @__PURE__ */ R({
756
+ }), sn = /* @__PURE__ */ O({
758
757
  __name: "df-color",
759
758
  props: /* @__PURE__ */ Z({
760
759
  allowNull: { type: Boolean },
@@ -769,45 +768,45 @@ const ln = {
769
768
  visibility: {},
770
769
  cssClass: {},
771
770
  clearable: { type: Boolean }
772
- }, O(x({}, Q), { allowNull: !1 })),
771
+ }, R(x({}, Q), { allowNull: !1 })),
773
772
  emits: ["update:modelValue", "click:clear"],
774
773
  setup(l, { emit: e }) {
775
- const n = l, o = e, { errors: a, label: s, touched: h, value: r, vuetifyBindings: m } = z(n, o), v = S(!1), _ = k(() => [
774
+ const n = l, o = e, { errors: s, label: a, touched: g, value: r, vuetifyBindings: m } = K(n, o), v = S(!1), _ = T(() => [
776
775
  (i) => n.control || !i && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(i) ? !0 : "Not a valid hex string."
777
776
  ]);
778
777
  return (i, p) => {
779
- const f = $("v-color-picker"), b = $("v-menu"), g = $("v-text-field");
780
- return V(), B(g, K({
778
+ const f = $("v-color-picker"), b = $("v-menu"), V = $("v-text-field");
779
+ return y(), B(V, z({
781
780
  modelValue: t(r),
782
- "onUpdate:modelValue": p[2] || (p[2] = (C) => te(r) ? r.value = C : null)
781
+ "onUpdate:modelValue": p[2] || (p[2] = (k) => de(r) ? r.value = k : null)
783
782
  }, t(m), {
784
783
  clearable: i.allowNull,
785
784
  type: "text",
786
785
  rules: _.value,
787
- onBlur: p[3] || (p[3] = (C) => h.value = !0)
786
+ onBlur: p[3] || (p[3] = (k) => g.value = !0)
788
787
  }), Y({
789
- message: y(({ message: C }) => [
790
- T(t(oe), {
791
- message: C,
792
- errors: t(a)
788
+ message: h(({ message: k }) => [
789
+ C(t(ne), {
790
+ message: k,
791
+ errors: t(s)
793
792
  }, null, 8, ["message", "errors"])
794
793
  ]),
795
- "prepend-inner": y(() => [
794
+ "prepend-inner": h(() => [
796
795
  le("div", {
797
796
  style: Be([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: t(r) }])
798
797
  }, null, 4)
799
798
  ]),
800
- default: y(() => [
801
- T(b, {
799
+ default: h(() => [
800
+ C(b, {
802
801
  modelValue: v.value,
803
- "onUpdate:modelValue": p[1] || (p[1] = (C) => v.value = C),
802
+ "onUpdate:modelValue": p[1] || (p[1] = (k) => v.value = k),
804
803
  "close-on-content-click": !1,
805
804
  activator: "parent"
806
805
  }, {
807
- default: y(() => [
808
- T(f, {
806
+ default: h(() => [
807
+ C(f, {
809
808
  modelValue: t(r),
810
- "onUpdate:modelValue": p[0] || (p[0] = (C) => te(r) ? r.value = C : null),
809
+ "onUpdate:modelValue": p[0] || (p[0] = (k) => de(r) ? r.value = k : null),
811
810
  mode: "hexa"
812
811
  }, null, 8, ["modelValue"])
813
812
  ]),
@@ -816,12 +815,12 @@ const ln = {
816
815
  ]),
817
816
  _: 2
818
817
  }, [
819
- t(s).icon ? {
818
+ t(a).icon ? {
820
819
  name: "label",
821
- fn: y((C) => [
822
- T(t(ne), {
823
- data: C,
824
- label: t(s)
820
+ fn: h((k) => [
821
+ C(t(te), {
822
+ data: k,
823
+ label: t(a)
825
824
  }, null, 8, ["data", "label"])
826
825
  ]),
827
826
  key: "0"
@@ -829,7 +828,7 @@ const ln = {
829
828
  ]), 1040, ["modelValue", "clearable", "rules"]);
830
829
  };
831
830
  }
832
- }), rn = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, un = /* @__PURE__ */ R({
831
+ }), rn = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, un = /* @__PURE__ */ O({
833
832
  __name: "df-datetime",
834
833
  props: /* @__PURE__ */ Z({
835
834
  inputType: {},
@@ -846,46 +845,46 @@ const ln = {
846
845
  visibility: {},
847
846
  cssClass: {},
848
847
  clearable: { type: Boolean }
849
- }, O(x({}, Q), {
848
+ }, R(x({}, Q), {
850
849
  inputType: "datetime",
851
850
  displayFormatDate: "P",
852
851
  displayFormatTime: "p"
853
852
  })),
854
853
  emits: ["update:modelValue", "click:clear"],
855
854
  setup(l, { emit: e }) {
856
- const n = l, o = e, { touched: a, value: s, vuetifyBindings: h } = z(n, o), { inputType: r, displayFormatDate: m, displayFormatTime: v } = Ve(n), _ = S(""), i = k({
855
+ const n = l, o = e, { touched: s, value: a, vuetifyBindings: g } = K(n, o), { inputType: r, displayFormatDate: m, displayFormatTime: v } = Ve(n), _ = S(""), i = T({
857
856
  get() {
858
857
  return t(_) === "date";
859
858
  },
860
859
  set(u) {
861
860
  _.value = u ? "date" : "";
862
861
  }
863
- }), p = k({
862
+ }), p = T({
864
863
  get() {
865
864
  return t(_) === "time";
866
865
  },
867
866
  set(u) {
868
867
  _.value = u ? "time" : "";
869
868
  }
870
- }), f = (u) => `${me(u, "yyyy-MM-dd")}T${me(u, "HH:mm")}:00`, b = S(null);
871
- function g(u, d) {
869
+ }), f = (u) => `${ce(u, "yyyy-MM-dd")}T${ce(u, "HH:mm")}:00`, b = S(null);
870
+ function V(u, d) {
872
871
  if (u == null)
873
872
  b.value = null;
874
873
  else if (d === -1)
875
874
  if (t(r) === "time")
876
- b.value = f(/* @__PURE__ */ new Date()), g(`T${u}`, 1);
875
+ b.value = f(/* @__PURE__ */ new Date()), V(`T${u}`, 1);
877
876
  else {
878
877
  const D = f(new Date(u));
879
- g(D, 0), g(D, 1);
878
+ V(D, 0), V(D, 1);
880
879
  }
881
880
  else {
882
881
  b.value == null && (b.value = f(/* @__PURE__ */ new Date()));
883
882
  const D = b.value.split(/[TZ]/g), F = u.split(/[TZ]/g);
884
- D[d] = F[d], b.value = f(/* @__PURE__ */ new Date(`${D[0]}T${D[1].split(".")[0]}`)), t(r) === "date" ? s.value = D[0] : t(r) === "time" ? s.value = D[1] : s.value = t(b) + me(/* @__PURE__ */ new Date(), "XXX");
883
+ D[d] = F[d], b.value = f(/* @__PURE__ */ new Date(`${D[0]}T${D[1].split(".")[0]}`)), t(r) === "date" ? a.value = D[0] : t(r) === "time" ? a.value = D[1] : a.value = t(b) + ce(/* @__PURE__ */ new Date(), "XXX");
885
884
  }
886
885
  }
887
- ue(s, (u) => g(u, -1), { immediate: !0 });
888
- const C = k({
886
+ ie(a, (u) => V(u, -1), { immediate: !0 });
887
+ const k = T({
889
888
  get() {
890
889
  const u = t(b);
891
890
  if (u == null) return null;
@@ -893,52 +892,52 @@ const ln = {
893
892
  return Number.isNaN(d.getTime()) ? null : d;
894
893
  },
895
894
  set(u) {
896
- g(f(u), 0);
895
+ V(f(u), 0);
897
896
  }
898
- }), w = k({
897
+ }), w = T({
899
898
  get() {
900
899
  const u = t(b);
901
900
  return u == null ? "" : u.split(/[TZ]/g)[1].split(".")[0];
902
901
  },
903
902
  set(u) {
904
- g(`T${u}`, 1);
903
+ V(`T${u}`, 1);
905
904
  }
906
- }), A = k({
905
+ }), A = T({
907
906
  get() {
908
- const u = t(C);
909
- return u == null ? "" : me(u, t(m));
907
+ const u = t(k);
908
+ return u == null ? "" : ce(u, t(m));
910
909
  },
911
910
  set(u) {
912
911
  try {
913
912
  const d = gl(u, t(m), /* @__PURE__ */ new Date());
914
- g(f(d), 0);
913
+ V(f(d), 0);
915
914
  } catch (d) {
916
915
  console.error(d);
917
916
  }
918
917
  }
919
- }), E = k({
918
+ }), E = T({
920
919
  get() {
921
- const u = t(C);
922
- return u == null ? "" : me(u, t(v));
920
+ const u = t(k);
921
+ return u == null ? "" : ce(u, t(v));
923
922
  },
924
923
  set(u) {
925
924
  const d = u.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
926
925
  if (d == null) return;
927
926
  let D = Fe(d[1]);
928
927
  const F = Fe(d[2]);
929
- Le(D) || Le(F) || (d[3] && d[3].toLowerCase() === "pm" && D < 13 && (D += 12), g(`T${D.toString().padStart(2, "0")}:${F.toString().padStart(2, "0")}:00`, 1));
928
+ Le(D) || Le(F) || (d[3] && d[3].toLowerCase() === "pm" && D < 13 && (D += 12), V(`T${D.toString().padStart(2, "0")}:${F.toString().padStart(2, "0")}:00`, 1));
930
929
  }
931
930
  });
932
931
  return (u, d) => {
933
932
  const D = $("v-date-picker"), F = $("v-confirm-edit"), G = $("v-menu"), W = $("v-text-field"), fe = $("v-time-picker");
934
- return V(), B(t(Ie), K(n, {
933
+ return y(), B(t(Ie), z(n, {
935
934
  clearable: "",
936
- "onClick:clear": d[14] || (d[14] = (M) => s.value = null),
937
- onBlur: d[15] || (d[15] = (M) => a.value = !0)
935
+ "onClick:clear": d[14] || (d[14] = (M) => a.value = null),
936
+ onBlur: d[15] || (d[15] = (M) => s.value = !0)
938
937
  }), {
939
- default: y((M) => [
938
+ default: h((M) => [
940
939
  le("div", rn, [
941
- ["date", "datetime"].includes(t(r)) ? (V(), B(W, {
940
+ ["date", "datetime"].includes(t(r)) ? (y(), B(W, {
942
941
  key: 0,
943
942
  modelValue: A.value,
944
943
  "onUpdate:modelValue": d[4] || (d[4] = (c) => A.value = c),
@@ -947,30 +946,30 @@ const ln = {
947
946
  variant: "plain",
948
947
  clearable: !1,
949
948
  "hide-details": !0,
950
- readonly: t(h).readonly,
951
- disabled: t(h).disabled,
952
- name: `${t(h).name}-date`,
949
+ readonly: t(g).readonly,
950
+ disabled: t(g).disabled,
951
+ name: `${t(g).name}-date`,
953
952
  onClick: d[5] || (d[5] = (c) => _.value = "date"),
954
953
  onKeydown: d[6] || (d[6] = Ee((c) => _.value = "date", ["space"])),
955
954
  onFocus: (c) => M.focus(),
956
955
  onBlur: (c) => M.blur()
957
956
  }, {
958
- default: y(() => [
959
- T(G, {
957
+ default: h(() => [
958
+ C(G, {
960
959
  modelValue: i.value,
961
960
  "onUpdate:modelValue": d[3] || (d[3] = (c) => i.value = c),
962
961
  "close-on-content-click": !1,
963
962
  activator: "parent"
964
963
  }, {
965
- default: y(() => [
966
- T(F, {
967
- modelValue: C.value,
968
- "onUpdate:modelValue": d[0] || (d[0] = (c) => C.value = c),
964
+ default: h(() => [
965
+ C(F, {
966
+ modelValue: k.value,
967
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => k.value = c),
969
968
  onCancel: d[1] || (d[1] = (c) => _.value = ""),
970
969
  onSave: d[2] || (d[2] = (c) => _.value = "")
971
970
  }, {
972
- default: y(({ model: c, actions: I }) => [
973
- T(D, {
971
+ default: h(({ model: c, actions: I }) => [
972
+ C(D, {
974
973
  modelValue: c.value,
975
974
  "onUpdate:modelValue": (H) => c.value = H,
976
975
  "hide-header": !0,
@@ -978,8 +977,8 @@ const ln = {
978
977
  "show-adjacent-months": !0,
979
978
  "show-week": !0
980
979
  }, {
981
- actions: y(() => [
982
- (V(), B(de(I)))
980
+ actions: h(() => [
981
+ (y(), B(ue(I)))
983
982
  ]),
984
983
  _: 2
985
984
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -992,7 +991,7 @@ const ln = {
992
991
  ]),
993
992
  _: 2
994
993
  }, 1032, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
995
- ["time", "datetime"].includes(t(r)) ? (V(), B(W, {
994
+ ["time", "datetime"].includes(t(r)) ? (y(), B(W, {
996
995
  key: 1,
997
996
  modelValue: E.value,
998
997
  "onUpdate:modelValue": d[11] || (d[11] = (c) => E.value = c),
@@ -1001,37 +1000,37 @@ const ln = {
1001
1000
  variant: "plain",
1002
1001
  clearable: !1,
1003
1002
  "hide-details": !0,
1004
- readonly: t(h).readonly,
1005
- disabled: t(h).disabled,
1006
- name: `${t(h).name}-time`,
1003
+ readonly: t(g).readonly,
1004
+ disabled: t(g).disabled,
1005
+ name: `${t(g).name}-time`,
1007
1006
  onClick: d[12] || (d[12] = (c) => _.value = "time"),
1008
1007
  onKeydown: d[13] || (d[13] = Ee((c) => _.value = "time", ["space"])),
1009
1008
  onFocus: (c) => M.focus(),
1010
1009
  onBlur: (c) => M.blur()
1011
1010
  }, {
1012
- default: y(() => [
1013
- T(G, {
1011
+ default: h(() => [
1012
+ C(G, {
1014
1013
  modelValue: p.value,
1015
1014
  "onUpdate:modelValue": d[10] || (d[10] = (c) => p.value = c),
1016
1015
  "close-on-content-click": !1,
1017
1016
  activator: "parent"
1018
1017
  }, {
1019
- default: y(() => [
1020
- T(F, {
1018
+ default: h(() => [
1019
+ C(F, {
1021
1020
  modelValue: w.value,
1022
1021
  "onUpdate:modelValue": d[7] || (d[7] = (c) => w.value = c),
1023
1022
  onCancel: d[8] || (d[8] = (c) => _.value = ""),
1024
1023
  onSave: d[9] || (d[9] = (c) => _.value = "")
1025
1024
  }, {
1026
- default: y(({ model: c, actions: I }) => [
1027
- T(fe, {
1025
+ default: h(({ model: c, actions: I }) => [
1026
+ C(fe, {
1028
1027
  modelValue: c.value,
1029
1028
  "onUpdate:modelValue": (H) => c.value = H,
1030
1029
  "hide-header": !0,
1031
1030
  format: "24hr"
1032
1031
  }, {
1033
- actions: y(() => [
1034
- (V(), B(de(I)))
1032
+ actions: h(() => [
1033
+ (y(), B(ue(I)))
1035
1034
  ]),
1036
1035
  _: 2
1037
1036
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1053,7 +1052,7 @@ const ln = {
1053
1052
  }), dn = {
1054
1053
  class: "d-flex w-100 pt-5 pl-2 pb-1",
1055
1054
  style: { position: "relative" }
1056
- }, cn = /* @__PURE__ */ R({
1055
+ }, cn = /* @__PURE__ */ O({
1057
1056
  __name: "df-file",
1058
1057
  props: /* @__PURE__ */ Z({
1059
1058
  comms: {},
@@ -1071,33 +1070,33 @@ const ln = {
1071
1070
  }, Q),
1072
1071
  emits: ["update:modelValue", "click:clear"],
1073
1072
  setup(l, { emit: e }) {
1074
- const n = l, o = e, { touched: a, value: s, vuetifyBindings: h } = z(n, o), r = S(null), m = S(null), v = S(0), _ = S(Math.round(Math.random() * 1e3)), i = S(), p = k(() => m.value && v.value < 100), f = k(() => !i.value && s.value ? n.modelValue : "");
1073
+ const n = l, o = e, { touched: s, value: a, vuetifyBindings: g } = K(n, o), r = S(null), m = S(null), v = S(0), _ = S(Math.round(Math.random() * 1e3)), i = S(), p = T(() => m.value && v.value < 100), f = T(() => !i.value && a.value ? n.modelValue : "");
1075
1074
  function b() {
1076
1075
  r.value && window.clearInterval(r.value);
1077
1076
  }
1078
- function g() {
1077
+ function V() {
1079
1078
  b(), r.value = window.setInterval(() => {
1080
- s.value && n.comms.touch(s.value);
1079
+ a.value && n.comms.touch(a.value);
1081
1080
  }, 60 * 1e3);
1082
1081
  }
1083
- je(() => b()), ue(s, (E) => {
1084
- E ? g() : b();
1082
+ je(() => b()), ie(a, (E) => {
1083
+ E ? V() : b();
1085
1084
  });
1086
- function C() {
1085
+ function k() {
1087
1086
  return be(this, null, function* () {
1088
- s.value && (yield n.comms.delete(s.value)), s.value = null, v.value = 0, _.value = Math.round(Math.random() * 1e3), m.value = null, i.value = null, b();
1087
+ a.value && (yield n.comms.delete(a.value)), a.value = null, v.value = 0, _.value = Math.round(Math.random() * 1e3), m.value = null, i.value = null, b();
1089
1088
  });
1090
1089
  }
1091
1090
  function w(E) {
1092
1091
  return be(this, null, function* () {
1093
1092
  v.value = -1, m.value = E;
1094
1093
  try {
1095
- s.value = yield n.comms.upload(
1094
+ a.value = yield n.comms.upload(
1096
1095
  E,
1097
1096
  (u, d) => {
1098
1097
  v.value = Math.round(u * 100 / d);
1099
1098
  }
1100
- ), v.value = 100, g();
1099
+ ), v.value = 100, V();
1101
1100
  } catch (u) {
1102
1101
  throw v.value = 0, m.value = null, _.value = Math.round(Math.random() * 1e3), i.value = null, u;
1103
1102
  }
@@ -1108,24 +1107,24 @@ const ln = {
1108
1107
  }
1109
1108
  return (E, u) => {
1110
1109
  const d = $("v-icon"), D = $("v-progress-linear"), F = $("v-file-input");
1111
- return V(), B(t(Ie), K(O(x({}, n), { loading: p.value }), {
1110
+ return y(), B(t(Ie), z(R(x({}, n), { loading: p.value }), {
1112
1111
  clearable: "",
1113
- "onClick:clear": C,
1114
- onBlur: u[1] || (u[1] = (G) => a.value = !0)
1112
+ "onClick:clear": k,
1113
+ onBlur: u[1] || (u[1] = (G) => s.value = !0)
1115
1114
  }), {
1116
- "prepend-inner": y(() => [
1117
- T(d, { icon: "$file" })
1115
+ "prepend-inner": h(() => [
1116
+ C(d, { icon: "$file" })
1118
1117
  ]),
1119
- loader: y(() => [
1120
- m.value && v.value < 100 ? (V(), B(D, {
1118
+ loader: h(() => [
1119
+ m.value && v.value < 100 ? (y(), B(D, {
1121
1120
  key: 0,
1122
1121
  "model-value": v.value,
1123
1122
  indeterminate: v.value === -1
1124
1123
  }, null, 8, ["model-value", "indeterminate"])) : L("", !0)
1125
1124
  ]),
1126
- default: y((G) => [
1125
+ default: h((G) => [
1127
1126
  le("div", dn, [
1128
- T(F, {
1127
+ C(F, {
1129
1128
  modelValue: i.value,
1130
1129
  "onUpdate:modelValue": [
1131
1130
  u[0] || (u[0] = (W) => i.value = W),
@@ -1134,9 +1133,9 @@ const ln = {
1134
1133
  label: f.value,
1135
1134
  density: "compact",
1136
1135
  variant: "plain",
1137
- readonly: t(h).readonly,
1138
- disabled: t(h).disabled,
1139
- name: t(h).name,
1136
+ readonly: t(g).readonly,
1137
+ disabled: t(g).disabled,
1138
+ name: t(g).name,
1140
1139
  "hide-details": !0,
1141
1140
  "show-size": !0,
1142
1141
  multiple: !1,
@@ -1152,7 +1151,7 @@ const ln = {
1152
1151
  }, 16);
1153
1152
  };
1154
1153
  }
1155
- }), mn = { class: "container" }, vn = /* @__PURE__ */ R({
1154
+ }), mn = { class: "container" }, vn = /* @__PURE__ */ O({
1156
1155
  __name: "df-input",
1157
1156
  props: /* @__PURE__ */ Z({
1158
1157
  inputType: {},
@@ -1171,7 +1170,7 @@ const ln = {
1171
1170
  visibility: {},
1172
1171
  cssClass: {},
1173
1172
  clearable: { type: Boolean }
1174
- }, O(x({}, Q), {
1173
+ }, R(x({}, Q), {
1175
1174
  inputType: "text",
1176
1175
  precision: null,
1177
1176
  step: void 0,
@@ -1180,58 +1179,58 @@ const ln = {
1180
1179
  })),
1181
1180
  emits: ["update:modelValue", "click:clear"],
1182
1181
  setup(l, { emit: e }) {
1183
- const n = l, o = e, { errors: a, label: s, touched: h, value: r, vuetifyBindings: m } = z(n, o), { inputType: v, max: _, min: i, precision: p, step: f } = Ve(n), b = k(() => v.value === "number"), g = k(() => b.value ? { min: t(i), max: t(_), precision: t(p), step: t(f) } : {});
1184
- return (C, w) => {
1182
+ const n = l, o = e, { errors: s, label: a, touched: g, value: r, vuetifyBindings: m } = K(n, o), { inputType: v, max: _, min: i, precision: p, step: f } = Ve(n), b = T(() => v.value === "number"), V = T(() => b.value ? { min: t(i), max: t(_), precision: t(p), step: t(f) } : {});
1183
+ return (k, w) => {
1185
1184
  const A = $("v-text-field"), E = $("v-number-input");
1186
- return V(), U("div", mn, [
1187
- b.value ? (V(), B(E, K({
1185
+ return y(), U("div", mn, [
1186
+ b.value ? (y(), B(E, z({
1188
1187
  key: 1,
1189
1188
  modelValue: t(r),
1190
- "onUpdate:modelValue": w[2] || (w[2] = (u) => te(r) ? r.value = u : null)
1191
- }, x(x({}, t(m)), g.value), {
1189
+ "onUpdate:modelValue": w[2] || (w[2] = (u) => de(r) ? r.value = u : null)
1190
+ }, x(x({}, t(m)), V.value), {
1192
1191
  density: "compact",
1193
1192
  "control-variant": "stacked"
1194
1193
  }), Y({
1195
- message: y(({ message: u }) => [
1196
- T(t(oe), {
1194
+ message: h(({ message: u }) => [
1195
+ C(t(ne), {
1197
1196
  message: u,
1198
- errors: t(a)
1197
+ errors: t(s)
1199
1198
  }, null, 8, ["message", "errors"])
1200
1199
  ]),
1201
1200
  _: 2
1202
1201
  }, [
1203
- t(s).icon ? {
1202
+ t(a).icon ? {
1204
1203
  name: "label",
1205
- fn: y((u) => [
1206
- T(t(ne), {
1204
+ fn: h((u) => [
1205
+ C(t(te), {
1207
1206
  data: u,
1208
- label: t(s)
1207
+ label: t(a)
1209
1208
  }, null, 8, ["data", "label"])
1210
1209
  ]),
1211
1210
  key: "0"
1212
1211
  } : void 0
1213
- ]), 1040, ["modelValue"])) : (V(), B(A, K({
1212
+ ]), 1040, ["modelValue"])) : (y(), B(A, z({
1214
1213
  key: 0,
1215
1214
  modelValue: t(r),
1216
- "onUpdate:modelValue": w[0] || (w[0] = (u) => te(r) ? r.value = u : null)
1215
+ "onUpdate:modelValue": w[0] || (w[0] = (u) => de(r) ? r.value = u : null)
1217
1216
  }, t(m), {
1218
1217
  type: t(v),
1219
- onBlur: w[1] || (w[1] = (u) => h.value = !0)
1218
+ onBlur: w[1] || (w[1] = (u) => g.value = !0)
1220
1219
  }), Y({
1221
- message: y(({ message: u }) => [
1222
- T(t(oe), {
1220
+ message: h(({ message: u }) => [
1221
+ C(t(ne), {
1223
1222
  message: u,
1224
- errors: t(a)
1223
+ errors: t(s)
1225
1224
  }, null, 8, ["message", "errors"])
1226
1225
  ]),
1227
1226
  _: 2
1228
1227
  }, [
1229
- t(s).icon ? {
1228
+ t(a).icon ? {
1230
1229
  name: "label",
1231
- fn: y((u) => [
1232
- T(t(ne), {
1230
+ fn: h((u) => [
1231
+ C(t(te), {
1233
1232
  data: u,
1234
- label: t(s)
1233
+ label: t(a)
1235
1234
  }, null, 8, ["data", "label"])
1236
1235
  ]),
1237
1236
  key: "0"
@@ -1240,7 +1239,7 @@ const ln = {
1240
1239
  ]);
1241
1240
  };
1242
1241
  }
1243
- }), pn = /* @__PURE__ */ ae(vn, [["__scopeId", "data-v-06be139f"]]), fn = { class: "editor-container" }, bn = { class: "editor-container__editor" }, gn = { ref: "editorElement" }, hn = /* @__PURE__ */ R({
1242
+ }), pn = /* @__PURE__ */ oe(vn, [["__scopeId", "data-v-a3a9a978"]]), fn = { class: "editor-container" }, bn = { class: "editor-container__editor" }, gn = { ref: "editorElement" }, hn = /* @__PURE__ */ O({
1244
1243
  __name: "ck-editor-custom",
1245
1244
  props: {
1246
1245
  modelValue: { default: "" },
@@ -1252,7 +1251,7 @@ const ln = {
1252
1251
  il((i) => ({
1253
1252
  "3d4d5a06": i.minHeight
1254
1253
  }));
1255
- const o = n, a = S(!1), s = at, v = {
1254
+ const o = n, s = S(!1), a = at, v = {
1256
1255
  toolbar: {
1257
1256
  items: [
1258
1257
  "undo",
@@ -1304,14 +1303,14 @@ const ln = {
1304
1303
  Al,
1305
1304
  Fl,
1306
1305
  Ll,
1307
- Rl,
1308
1306
  Ol,
1307
+ Rl,
1309
1308
  Pl,
1310
1309
  Ml,
1311
1310
  Hl,
1312
1311
  jl,
1313
- Kl,
1314
1312
  zl,
1313
+ Kl,
1315
1314
  Gl,
1316
1315
  Wl,
1317
1316
  Xl,
@@ -1384,19 +1383,19 @@ const ln = {
1384
1383
  table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
1385
1384
  };
1386
1385
  He(() => {
1387
- a.value = !0;
1386
+ s.value = !0;
1388
1387
  });
1389
1388
  const _ = (i) => {
1390
1389
  };
1391
1390
  return e({ onEditorReady: _ }), (i, p) => {
1392
1391
  const f = $("ckeditor");
1393
- return V(), U("div", fn, [
1392
+ return y(), U("div", fn, [
1394
1393
  le("div", bn, [
1395
1394
  le("div", gn, [
1396
- a.value ? (V(), B(f, {
1395
+ s.value ? (y(), B(f, {
1397
1396
  key: 0,
1398
1397
  "model-value": i.modelValue,
1399
- editor: t(s),
1398
+ editor: t(a),
1400
1399
  config: v,
1401
1400
  disabled: i.disabled,
1402
1401
  style: Be(`min-height: ${i.minHeight}`),
@@ -1408,7 +1407,7 @@ const ln = {
1408
1407
  ]);
1409
1408
  };
1410
1409
  }
1411
- }), yn = /* @__PURE__ */ R({
1410
+ }), yn = /* @__PURE__ */ O({
1412
1411
  __name: "df-rtf-editor",
1413
1412
  props: /* @__PURE__ */ Z({
1414
1413
  minHeight: {},
@@ -1423,19 +1422,19 @@ const ln = {
1423
1422
  visibility: {},
1424
1423
  cssClass: {},
1425
1424
  clearable: { type: Boolean }
1426
- }, O(x({}, Q), { minHeight: void 0 })),
1425
+ }, R(x({}, Q), { minHeight: void 0 })),
1427
1426
  emits: ["update:modelValue", "click:clear"],
1428
1427
  setup(l, { emit: e }) {
1429
- const n = l, o = e, { value: a, vuetifyBindings: s } = z(n, o);
1430
- return (h, r) => (V(), B(t(Ie), X(q(n)), {
1431
- default: y((m) => [
1432
- T(hn, {
1428
+ const n = l, o = e, { value: s, vuetifyBindings: a } = K(n, o);
1429
+ return (g, r) => (y(), B(t(Ie), X(q(n)), {
1430
+ default: h((m) => [
1431
+ C(hn, {
1433
1432
  ref: "$editor",
1434
- modelValue: t(a),
1435
- "onUpdate:modelValue": r[0] || (r[0] = (v) => te(a) ? a.value = v : null),
1436
- class: ce({ "mt-8": !!h.label }),
1437
- "min-height": h.minHeight,
1438
- disabled: t(s).disabled,
1433
+ modelValue: t(s),
1434
+ "onUpdate:modelValue": r[0] || (r[0] = (v) => de(s) ? s.value = v : null),
1435
+ class: pe({ "mt-8": !!g.label }),
1436
+ "min-height": g.minHeight,
1437
+ disabled: t(a).disabled,
1439
1438
  onFocusin: (v) => m.focus(),
1440
1439
  onFocusout: (v) => m.blur()
1441
1440
  }, null, 8, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
@@ -1449,33 +1448,33 @@ function Vn(l) {
1449
1448
  }
1450
1449
  function J(l, e) {
1451
1450
  var n;
1452
- return l == null || Re(l) && l.length === 0 ? null : e ? Ge(l) : Re(l) ? (n = We(l)) != null ? n : null : l;
1451
+ return l == null || Oe(l) && l.length === 0 ? null : e ? Ge(l) : Oe(l) ? (n = We(l)) != null ? n : null : l;
1453
1452
  }
1454
1453
  function ye(l, e) {
1455
1454
  if (e == null) return [];
1456
1455
  const n = Ge(e);
1457
- return l.filter((o) => n.some((a) => a === o.id));
1456
+ return l.filter((o) => n.some((s) => s === o.id));
1458
1457
  }
1459
- function ge(l, e, n, o, a) {
1460
- var h;
1461
- const s = J(l, n);
1462
- if (s == null) {
1458
+ function ge(l, e, n, o, s) {
1459
+ var g;
1460
+ const a = J(l, n);
1461
+ if (a == null) {
1463
1462
  e.value = n ? [] : null;
1464
1463
  return;
1465
1464
  }
1466
1465
  if (n)
1467
- o ? e.value = s : e.value = ye(a, s).map((r) => r.id);
1466
+ o ? e.value = a : e.value = ye(s, a).map((r) => r.id);
1468
1467
  else if (o)
1469
- e.value = s;
1468
+ e.value = a;
1470
1469
  else {
1471
- const r = We(ye(a, s));
1472
- e.value = (h = r == null ? void 0 : r.id) != null ? h : null;
1470
+ const r = We(ye(s, a));
1471
+ e.value = (g = r == null ? void 0 : r.id) != null ? g : null;
1473
1472
  }
1474
1473
  }
1475
1474
  const _n = {
1476
1475
  key: 0,
1477
1476
  class: "me-1"
1478
- }, kn = /* @__PURE__ */ R({
1477
+ }, kn = /* @__PURE__ */ O({
1479
1478
  __name: "df-select",
1480
1479
  props: /* @__PURE__ */ Z({
1481
1480
  choices: {},
@@ -1494,7 +1493,7 @@ const _n = {
1494
1493
  visibility: {},
1495
1494
  cssClass: {},
1496
1495
  clearable: { type: Boolean }
1497
- }, O(x({}, Q), {
1496
+ }, R(x({}, Q), {
1498
1497
  choices: void 0,
1499
1498
  multiple: !1,
1500
1499
  allowTags: !1,
@@ -1503,7 +1502,7 @@ const _n = {
1503
1502
  })),
1504
1503
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
1505
1504
  setup(l, { emit: e }) {
1506
- const n = l, { choices: o, multiple: a, allowTags: s, allowNull: h, cssClass: r, visibility: m } = Ve(n), v = e, { errors: _, label: i, touched: p, value: f, vuetifyBindings: b } = z(n, v), g = S(null), C = S(!1), w = S([]), A = k(() => t(C) ? t(w) : t(o) || []), E = S(!1), u = k(() => Vn(A.value));
1505
+ const n = l, { choices: o, multiple: s, allowTags: a, allowNull: g, cssClass: r, visibility: m } = Ve(n), v = e, { errors: _, label: i, touched: p, value: f, vuetifyBindings: b } = K(n, v), V = S(null), k = S(!1), w = S([]), A = T(() => t(k) ? t(w) : t(o) || []), E = S(!1), u = T(() => Vn(A.value));
1507
1506
  function d(c) {
1508
1507
  v("update:modelValueDisplay", ye(A.value, c));
1509
1508
  }
@@ -1513,33 +1512,33 @@ const _n = {
1513
1512
  D = !1;
1514
1513
  });
1515
1514
  }
1516
- ue(g, (c) => {
1515
+ ie(V, (c) => {
1517
1516
  b.value.readonly || Ue(() => {
1518
- const I = J(c, a.value);
1517
+ const I = J(c, s.value);
1519
1518
  d(I), F(I);
1520
1519
  });
1521
- }, { deep: !0 }), ue(f, (c) => {
1520
+ }, { deep: !0 }), ie(f, (c) => {
1522
1521
  if (!D) {
1523
- const I = J(c, a.value);
1524
- ge(I, g, a.value, !1, A.value);
1522
+ const I = J(c, s.value);
1523
+ ge(I, V, s.value, !1, A.value);
1525
1524
  }
1526
1525
  }, { deep: !0 });
1527
1526
  function G() {
1528
- if (b.value.readonly || s.value) return;
1529
- const c = J(g.value, a.value);
1530
- ge(c, g, a.value, !1, A.value), F(c);
1527
+ if (b.value.readonly || a.value) return;
1528
+ const c = J(V.value, s.value);
1529
+ ge(c, V, s.value, !1, A.value), F(c);
1531
1530
  }
1532
1531
  function W(c) {
1533
1532
  let I;
1534
- a.value && Array.isArray(g.value) ? I = J(g.value.filter((H) => H !== c), a.value) : I = null, ge(I, g, a.value, !1, A.value), F(I);
1533
+ s.value && Array.isArray(V.value) ? I = J(V.value.filter((H) => H !== c), s.value) : I = null, ge(I, V, s.value, !1, A.value), F(I);
1535
1534
  }
1536
1535
  function fe(c, I) {
1537
1536
  return be(this, null, function* () {
1538
1537
  if (!(o.value || n.fetchChoices === void 0)) {
1539
1538
  E.value = !0;
1540
1539
  try {
1541
- const H = ye(A.value, J(g.value, a.value)), _e = yield n.fetchChoices(c, I);
1542
- w.value = ml([...H, ..._e], "id"), C.value = !0;
1540
+ const H = ye(A.value, J(V.value, s.value)), _e = yield n.fetchChoices(c, I);
1541
+ w.value = ml([...H, ..._e], "id"), k.value = !0;
1543
1542
  } finally {
1544
1543
  E.value = !1;
1545
1544
  }
@@ -1548,16 +1547,16 @@ const _n = {
1548
1547
  }
1549
1548
  function M() {
1550
1549
  let c = f.value;
1551
- !h.value && c == null && u.value.length && (c = u.value[0].value), c = J(c, a.value), ge(c, g, a.value, s.value, A.value), d(c), F(c);
1550
+ !g.value && c == null && u.value.length && (c = u.value[0].value), c = J(c, s.value), ge(c, V, s.value, a.value, A.value), d(c), F(c);
1552
1551
  }
1553
1552
  return M(), n.fetchChoices !== void 0 && fe(void 0, f.value).then(() => {
1554
1553
  M();
1555
1554
  }), (c, I) => {
1556
1555
  const H = $("v-chip"), _e = $("v-list-item");
1557
- return t(m) !== t(j).SUPPRESS ? (V(), B(de(t(s) ? "v-combobox" : "v-autocomplete"), K({
1556
+ return t(m) !== t(j).SUPPRESS ? (y(), B(ue(t(a) ? "v-combobox" : "v-autocomplete"), z({
1558
1557
  key: 0,
1559
- modelValue: g.value,
1560
- "onUpdate:modelValue": I[0] || (I[0] = (N) => g.value = N),
1558
+ modelValue: V.value,
1559
+ "onUpdate:modelValue": I[0] || (I[0] = (N) => V.value = N),
1561
1560
  class: [
1562
1561
  t(r),
1563
1562
  {
@@ -1571,9 +1570,9 @@ const _n = {
1571
1570
  label: t(b).label,
1572
1571
  chips: "",
1573
1572
  "auto-select-first": !0,
1574
- "closable-chips": t(h) || t(a) && g.value.length > 1,
1575
- clearable: t(h),
1576
- multiple: t(a),
1573
+ "closable-chips": t(g) || t(s) && V.value.length > 1,
1574
+ clearable: t(g),
1575
+ multiple: t(s),
1577
1576
  loading: E.value,
1578
1577
  "hide-selected": !1,
1579
1578
  "aria-describedby": t(b).helpText ? `${t(b).name}-help` : null,
@@ -1581,46 +1580,46 @@ const _n = {
1581
1580
  "hide-details": "auto",
1582
1581
  "onUpdate:search": I[1] || (I[1] = (N) => fe(N, void 0)),
1583
1582
  "onUpdate:modelValue": G,
1584
- "onClick:clear": I[2] || (I[2] = (N) => g.value = null),
1583
+ "onClick:clear": I[2] || (I[2] = (N) => V.value = null),
1585
1584
  onBlur: I[3] || (I[3] = (N) => p.value = !0)
1586
1585
  }), Y({
1587
- chip: y(({ item: N }) => [
1588
- (V(), B(H, {
1586
+ chip: h(({ item: N }) => [
1587
+ (y(), B(H, {
1589
1588
  key: N.value,
1590
1589
  label: "",
1591
1590
  size: "small",
1592
1591
  class: "d-flex align-middle",
1593
- variant: t(a) ? "tonal" : "text",
1594
- closable: t(a),
1595
- "onClick:close": (se) => W(N.value)
1592
+ variant: t(s) ? "tonal" : "text",
1593
+ closable: t(s),
1594
+ "onClick:close": (ae) => W(N.value)
1596
1595
  }, {
1597
- prepend: y(() => {
1598
- var se;
1596
+ prepend: h(() => {
1597
+ var ae;
1599
1598
  return [
1600
- (se = N.raw) != null && se.icon ? (V(), B(t(Te), {
1599
+ (ae = N.raw) != null && ae.icon ? (y(), B(t(Te), {
1601
1600
  key: 0,
1602
1601
  class: "me-1 action-icon d-inline-block",
1603
1602
  name: N.raw.icon
1604
1603
  }, null, 8, ["name"])) : L("", !0)
1605
1604
  ];
1606
1605
  }),
1607
- default: y(() => [
1606
+ default: h(() => [
1608
1607
  le("span", {
1609
- class: ce({ "text-body-1": !t(a) })
1610
- }, ie(N.title), 3)
1608
+ class: pe({ "text-body-1": !t(s) })
1609
+ }, re(N.title), 3)
1611
1610
  ]),
1612
1611
  _: 2
1613
1612
  }, 1032, ["variant", "closable", "onClick:close"]))
1614
1613
  ]),
1615
- item: y(({ props: N, item: se }) => [
1616
- T(_e, X(q(N)), {
1617
- prepend: y(() => {
1614
+ item: h(({ props: N, item: ae }) => [
1615
+ C(_e, X(q(N)), {
1616
+ prepend: h(() => {
1618
1617
  var $e;
1619
1618
  return [
1620
- ($e = se.raw) != null && $e.icon ? (V(), U("span", _n, [
1621
- T(t(Te), {
1619
+ ($e = ae.raw) != null && $e.icon ? (y(), U("span", _n, [
1620
+ C(t(Te), {
1622
1621
  class: "action-icon d-inline-block",
1623
- name: se.raw.icon
1622
+ name: ae.raw.icon
1624
1623
  }, null, 8, ["name"])
1625
1624
  ])) : L("", !0)
1626
1625
  ];
@@ -1628,8 +1627,8 @@ const _n = {
1628
1627
  _: 2
1629
1628
  }, 1040)
1630
1629
  ]),
1631
- message: y(({ message: N }) => [
1632
- T(t(oe), {
1630
+ message: h(({ message: N }) => [
1631
+ C(t(ne), {
1633
1632
  message: N,
1634
1633
  errors: t(_)
1635
1634
  }, null, 8, ["message", "errors"])
@@ -1638,8 +1637,8 @@ const _n = {
1638
1637
  }, [
1639
1638
  t(i).icon ? {
1640
1639
  name: "label",
1641
- fn: y((N) => [
1642
- T(t(ne), {
1640
+ fn: h((N) => [
1641
+ C(t(te), {
1643
1642
  data: N,
1644
1643
  label: t(i)
1645
1644
  }, null, 8, ["data", "label"])
@@ -1648,22 +1647,22 @@ const _n = {
1648
1647
  } : void 0,
1649
1648
  c.$slots["append-inner"] ? {
1650
1649
  name: "append-inner",
1651
- fn: y((N) => [
1652
- re(c.$slots, "append-inner", X(q(N)), void 0, !0)
1650
+ fn: h((N) => [
1651
+ se(c.$slots, "append-inner", X(q(N)), void 0, !0)
1653
1652
  ]),
1654
1653
  key: "1"
1655
1654
  } : void 0,
1656
1655
  c.$slots["prepend-inner"] ? {
1657
1656
  name: "prepend-inner",
1658
- fn: y((N) => [
1659
- re(c.$slots, "prepend-inner", X(q(N)), void 0, !0)
1657
+ fn: h((N) => [
1658
+ se(c.$slots, "prepend-inner", X(q(N)), void 0, !0)
1660
1659
  ]),
1661
1660
  key: "2"
1662
1661
  } : void 0
1663
1662
  ]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : L("", !0);
1664
1663
  };
1665
1664
  }
1666
- }), wn = /* @__PURE__ */ ae(kn, [["__scopeId", "data-v-349a7f8c"]]), Tn = { class: "container" }, Cn = /* @__PURE__ */ R({
1665
+ }), wn = /* @__PURE__ */ oe(kn, [["__scopeId", "data-v-928dac22"]]), Tn = { class: "container" }, Cn = /* @__PURE__ */ O({
1667
1666
  __name: "df-text-area",
1668
1667
  props: /* @__PURE__ */ Z({
1669
1668
  rows: {},
@@ -1679,20 +1678,20 @@ const _n = {
1679
1678
  visibility: {},
1680
1679
  cssClass: {},
1681
1680
  clearable: { type: Boolean }
1682
- }, O(x({}, Q), {
1681
+ }, R(x({}, Q), {
1683
1682
  rows: void 0,
1684
1683
  maxRows: void 0
1685
1684
  })),
1686
1685
  emits: ["update:modelValue", "click:clear"],
1687
1686
  setup(l, { emit: e }) {
1688
- const n = l, o = e, { errors: a, label: s, touched: h, value: r, vuetifyBindings: m } = z(n, o), { cssClass: v, visibility: _ } = Ve(n);
1687
+ const n = l, o = e, { errors: s, label: a, touched: g, value: r, vuetifyBindings: m } = K(n, o), { cssClass: v, visibility: _ } = Ve(n);
1689
1688
  return (i, p) => {
1690
1689
  const f = $("v-textarea");
1691
- return V(), U("div", Tn, [
1692
- t(_) !== t(j).SUPPRESS ? (V(), B(f, K({
1690
+ return y(), U("div", Tn, [
1691
+ t(_) !== t(j).SUPPRESS ? (y(), B(f, z({
1693
1692
  key: 0,
1694
1693
  modelValue: t(r),
1695
- "onUpdate:modelValue": p[0] || (p[0] = (b) => te(r) ? r.value = b : null),
1694
+ "onUpdate:modelValue": p[0] || (p[0] = (b) => de(r) ? r.value = b : null),
1696
1695
  class: [
1697
1696
  t(v),
1698
1697
  {
@@ -1704,22 +1703,22 @@ const _n = {
1704
1703
  "auto-grow": (i.maxRows || 0) > 0,
1705
1704
  "max-rows": i.maxRows
1706
1705
  }, t(m), {
1707
- onBlur: p[1] || (p[1] = (b) => h.value = !0)
1706
+ onBlur: p[1] || (p[1] = (b) => g.value = !0)
1708
1707
  }), Y({
1709
- message: y(({ message: b }) => [
1710
- T(t(oe), {
1708
+ message: h(({ message: b }) => [
1709
+ C(t(ne), {
1711
1710
  message: b,
1712
- errors: t(a)
1711
+ errors: t(s)
1713
1712
  }, null, 8, ["message", "errors"])
1714
1713
  ]),
1715
1714
  _: 2
1716
1715
  }, [
1717
- t(s).icon ? {
1716
+ t(a).icon ? {
1718
1717
  name: "label",
1719
- fn: y((b) => [
1720
- T(t(ne), {
1718
+ fn: h((b) => [
1719
+ C(t(te), {
1721
1720
  data: b,
1722
- label: t(s)
1721
+ label: t(a)
1723
1722
  }, null, 8, ["data", "label"])
1724
1723
  ]),
1725
1724
  key: "0"
@@ -1728,7 +1727,7 @@ const _n = {
1728
1727
  ]);
1729
1728
  };
1730
1729
  }
1731
- }), Bn = /* @__PURE__ */ ae(Cn, [["__scopeId", "data-v-6257d46c"]]), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1730
+ }), Bn = /* @__PURE__ */ oe(Cn, [["__scopeId", "data-v-b2f125f8"]]), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1732
1731
  __proto__: null,
1733
1732
  DfActions: on,
1734
1733
  DfCheckbox: an,
@@ -1765,10 +1764,12 @@ const _n = {
1765
1764
  VTextField: $t,
1766
1765
  VTextarea: It,
1767
1766
  VTimePicker: xt
1768
- }, Symbol.toStringTag, { value: "Module" })), io = {
1767
+ }, Symbol.toStringTag, { value: "Module" })), io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1768
+ __proto__: null
1769
+ }, Symbol.toStringTag, { value: "Module" })), uo = {
1769
1770
  install: (l, e) => {
1770
1771
  var n, o;
1771
- l.use(Mt), l.provide(Ze, e != null ? e : {}), (n = e == null ? void 0 : e.registerComponents) != null && n && Object.entries(In).map(([a, s]) => l.component(a, s)), (o = e == null ? void 0 : e.registerVuetifyComponents) != null && o && Object.entries($n).map(([a, s]) => l.component(a, s));
1772
+ l.use(Mt), l.provide(Ze, e != null ? e : {}), (n = e == null ? void 0 : e.registerComponents) != null && n && Object.entries(In).map(([s, a]) => l.component(s, a)), (o = e == null ? void 0 : e.registerVuetifyComponents) != null && o && Object.entries($n).map(([s, a]) => l.component(s, a));
1772
1773
  }
1773
1774
  };
1774
1775
  export {
@@ -1780,14 +1781,16 @@ export {
1780
1781
  un as DfDateTime,
1781
1782
  cn as DfFile,
1782
1783
  pn as DfInput,
1783
- ne as DfLabel,
1784
+ io as DfInputComponentProps,
1785
+ In as DfInputComponents,
1786
+ te as DfLabel,
1784
1787
  yn as DfRtfEditor,
1785
1788
  wn as DfSelect,
1786
1789
  Bn as DfTextArea,
1787
- io as DynamicFormsInputs,
1790
+ uo as DynamicFormsInputs,
1788
1791
  Ie as InputBase,
1789
- Kt as Label,
1790
- oe as MessagesWidget,
1792
+ zt as Label,
1793
+ ne as MessagesWidget,
1791
1794
  en as ResponsiveActionRenderOptions,
1792
1795
  Zt as ResponsiveRenderOptions,
1793
1796
  $n as VuetifyComponents,
@@ -1795,10 +1798,10 @@ export {
1795
1798
  Pe as defaultDisplayStyle,
1796
1799
  Qt as getBreakpointName,
1797
1800
  Me as responsiveBreakpoints,
1798
- pe as translatableStrings,
1801
+ ve as translatableStrings,
1799
1802
  ro as translateStrings,
1800
1803
  Jt as useBreakpoint,
1801
- z as useInputBase,
1804
+ K as useInputBase,
1802
1805
  Ze as vuetifyInputsSettingsKey
1803
1806
  };
1804
1807
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map