@dynamicforms/vuetify-inputs 0.10.0 → 0.10.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,80 +1,80 @@
1
- var $t = Object.defineProperty, St = Object.defineProperties;
2
- var Mt = Object.getOwnPropertyDescriptors;
3
- var Je = Object.getOwnPropertySymbols;
4
- var Dt = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, n, t) => n in e ? $t(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, U = (e, n) => {
6
- for (var t in n || (n = {}))
7
- Dt.call(n, t) && Ue(e, t, n[t]);
8
- if (Je)
9
- for (var t of Je(n))
10
- It.call(n, t) && Ue(e, t, n[t]);
11
- return e;
12
- }, J = (e, n) => St(e, Mt(n));
13
- var Ve = (e, n, t) => Ue(e, typeof n != "symbol" ? n + "" : n, t);
14
- var Te = (e, n, t) => new Promise((a, r) => {
15
- var d = (w) => {
1
+ var Pt = Object.defineProperty, Nt = Object.defineProperties;
2
+ var Et = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var Ut = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (t, n, e) => n in t ? Pt(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, z = (t, n) => {
6
+ for (var e in n || (n = {}))
7
+ Ut.call(n, e) && Oe(t, e, n[e]);
8
+ if (et)
9
+ for (var e of et(n))
10
+ zt.call(n, e) && Oe(t, e, n[e]);
11
+ return t;
12
+ }, ee = (t, n) => Nt(t, Et(n));
13
+ var xe = (t, n, e) => Oe(t, typeof n != "symbol" ? n + "" : n, e);
14
+ var ge = (t, n, e) => new Promise((a, r) => {
15
+ var u = (k) => {
16
16
  try {
17
- g(t.next(w));
18
- } catch (v) {
19
- r(v);
17
+ h(e.next(k));
18
+ } catch (f) {
19
+ r(f);
20
20
  }
21
- }, c = (w) => {
21
+ }, d = (k) => {
22
22
  try {
23
- g(t.throw(w));
24
- } catch (v) {
25
- r(v);
23
+ h(e.throw(k));
24
+ } catch (f) {
25
+ r(f);
26
26
  }
27
- }, g = (w) => w.done ? a(w.value) : Promise.resolve(w.value).then(d, c);
28
- g((t = t.apply(e, n)).next());
27
+ }, h = (k) => k.done ? a(k.value) : Promise.resolve(k.value).then(u, d);
28
+ h((e = e.apply(t, n)).next());
29
29
  });
30
- import { ref as F, isRef as ke, defineComponent as Z, computed as C, openBlock as j, createBlock as H, unref as l, resolveComponent as P, createElementBlock as Q, normalizeClass as ce, Fragment as Me, resolveDynamicComponent as Ne, createCommentVNode as G, createTextVNode as Y, toDisplayString as K, inject as Fe, shallowRef as Rt, toRaw as Qe, nextTick as Oe, createSlots as qe, withCtx as s, createVNode as i, renderSlot as we, normalizeProps as he, guardReactiveProps as ge, createElementVNode as ae, renderList as Ke, mergeProps as X, withModifiers as Pt, mergeDefaults as ve, normalizeStyle as Nt, toRefs as Ee, watch as se, withKeys as Se, onBeforeUnmount as ot, useCssVars as zt } from "vue";
31
- import ye, { MessagesWidget as Et, MdString as Ut, ValidationErrorRenderContent as Ft, Action as Ht, DisplayMode as He } from "@dynamicforms/vue-forms";
30
+ import { ref as M, isRef as Ce, defineComponent as te, computed as x, openBlock as V, createBlock as F, unref as l, resolveComponent as R, createElementBlock as Z, normalizeClass as ue, Fragment as Se, resolveDynamicComponent as Ue, createCommentVNode as Y, createTextVNode as J, toDisplayString as G, inject as Pe, shallowRef as Ft, toRaw as tt, nextTick as Ke, createSlots as Ge, withCtx as s, createVNode as i, renderSlot as _e, normalizeProps as ye, guardReactiveProps as ke, createElementVNode as oe, onBeforeUnmount as Ye, watch as me, renderList as Xe, mergeProps as X, withModifiers as Te, mergeDefaults as pe, normalizeStyle as st, toRefs as Fe, withKeys as De, useId as Ht, useCssVars as Ot } from "vue";
31
+ import Ae, { MessagesWidget as Wt, MdString as qt, ValidationErrorRenderContent as ut, Action as Kt, DisplayMode as We } from "@dynamicforms/vue-forms";
32
32
  import { CachedIcon as B } from "vue-cached-icon";
33
- import Wt from "vue-markdown-render";
34
- import { isString as fe, isEmpty as De, isPlainObject as it, isObjectLike as Ot, isBoolean as Ie, clone as qt, toNumber as Ze, isNaN as et, isArray as tt, castArray as rt, first as st, isEqual as Kt, unionBy as Xt } from "lodash-es";
35
- import { useDisplay as Yt } from "vuetify";
36
- import { parse as Gt, format as je } from "date-fns";
37
- import Jt from "@tiptap/extension-image";
38
- import Qt from "@tiptap/extension-placeholder";
39
- import { Table as Zt } from "@tiptap/extension-table";
40
- import en from "@tiptap/extension-table-cell";
41
- import tn from "@tiptap/extension-table-header";
42
- import nn from "@tiptap/extension-table-row";
43
- import ln from "@tiptap/extension-text-align";
44
- import { NodeSelection as an } from "@tiptap/pm/state";
45
- import on from "@tiptap/starter-kit";
46
- import { useEditor as rn, EditorContent as sn } from "@tiptap/vue-3";
47
- import { BubbleMenu as un } from "@tiptap/vue-3/menus";
48
- import { Extension as dn, Mark as cn, mergeAttributes as ut, Node as mn } from "@tiptap/core";
49
- import { Slice as fn, Fragment as vn } from "@tiptap/pm/model";
50
- import pn from "@tiptap/extension-link";
51
- import { VAutocomplete as bn } from "vuetify/components/VAutocomplete";
52
- import { VBtn as hn } from "vuetify/components/VBtn";
53
- import { VCheckbox as gn } from "vuetify/components/VCheckbox";
54
- import { VChip as kn } from "vuetify/components/VChip";
55
- import { VCombobox as yn } from "vuetify/components/VCombobox";
56
- import { VColorPicker as wn } from "vuetify/components/VColorPicker";
57
- import { VConfirmEdit as Cn } from "vuetify/components/VConfirmEdit";
58
- import { VDatePicker as An } from "vuetify/components/VDatePicker";
59
- import { VField as xn } from "vuetify/components/VField";
60
- import { VFileInput as Vn } from "vuetify/components/VFileInput";
61
- import { VCol as Tn, VRow as jn } from "vuetify/components/VGrid";
62
- import { VIcon as _n } from "vuetify/components/VIcon";
63
- import { VImg as Bn } from "vuetify/components/VImg";
64
- import { VInput as Ln } from "vuetify/components/VInput";
65
- import { VListItem as $n } from "vuetify/components/VList";
66
- import { VMenu as Sn } from "vuetify/components/VMenu";
67
- import { VNumberInput as Mn } from "vuetify/components/VNumberInput";
68
- import { VProgressLinear as Dn } from "vuetify/components/VProgressLinear";
69
- import { VSelect as In } from "vuetify/components/VSelect";
70
- import { VSwitch as Rn } from "vuetify/components/VSwitch";
71
- import { VTextarea as Pn } from "vuetify/components/VTextarea";
72
- import { VTextField as Nn } from "vuetify/components/VTextField";
73
- import { VTimePicker as zn } from "vuetify/components/VTimePicker";
74
- function En(e) {
75
- return e.one !== void 0;
33
+ import Gt from "vue-markdown-render";
34
+ import { isString as he, isEmpty as Me, isPlainObject as ct, isObjectLike as Xt, isBoolean as Re, clone as Yt, toNumber as nt, isNaN as lt, isArray as at, castArray as dt, first as mt, isEqual as Jt, unionBy as Qt } from "lodash-es";
35
+ import { useDisplay as Zt } from "vuetify";
36
+ import { parse as en, format as je } from "date-fns";
37
+ import tn from "@tiptap/extension-image";
38
+ import nn from "@tiptap/extension-placeholder";
39
+ import { Table as ln } from "@tiptap/extension-table";
40
+ import an from "@tiptap/extension-table-cell";
41
+ import on from "@tiptap/extension-table-header";
42
+ import rn from "@tiptap/extension-table-row";
43
+ import sn from "@tiptap/extension-text-align";
44
+ import { NodeSelection as un } from "@tiptap/pm/state";
45
+ import cn from "@tiptap/starter-kit";
46
+ import { useEditor as dn, EditorContent as mn } from "@tiptap/vue-3";
47
+ import { BubbleMenu as vn } from "@tiptap/vue-3/menus";
48
+ import { Extension as fn, Mark as pn, mergeAttributes as vt, Node as bn } from "@tiptap/core";
49
+ import { Slice as hn, Fragment as gn } from "@tiptap/pm/model";
50
+ import yn from "@tiptap/extension-link";
51
+ import { VAutocomplete as kn } from "vuetify/components/VAutocomplete";
52
+ import { VBtn as wn } from "vuetify/components/VBtn";
53
+ import { VCheckbox as Cn } from "vuetify/components/VCheckbox";
54
+ import { VChip as xn } from "vuetify/components/VChip";
55
+ import { VCombobox as An } from "vuetify/components/VCombobox";
56
+ import { VColorPicker as Tn } from "vuetify/components/VColorPicker";
57
+ import { VConfirmEdit as _n } from "vuetify/components/VConfirmEdit";
58
+ import { VDatePicker as Vn } from "vuetify/components/VDatePicker";
59
+ import { VField as jn } from "vuetify/components/VField";
60
+ import { VFileInput as Bn } from "vuetify/components/VFileInput";
61
+ import { VCol as Ln, VRow as In } from "vuetify/components/VGrid";
62
+ import { VIcon as $n } from "vuetify/components/VIcon";
63
+ import { VImg as Dn } from "vuetify/components/VImg";
64
+ import { VInput as Sn } from "vuetify/components/VInput";
65
+ import { VListItem as Mn } from "vuetify/components/VList";
66
+ import { VMenu as Rn } from "vuetify/components/VMenu";
67
+ import { VNumberInput as Pn } from "vuetify/components/VNumberInput";
68
+ import { VProgressLinear as Nn } from "vuetify/components/VProgressLinear";
69
+ import { VSelect as En } from "vuetify/components/VSelect";
70
+ import { VSwitch as Un } from "vuetify/components/VSwitch";
71
+ import { VTextarea as zn } from "vuetify/components/VTextarea";
72
+ import { VTextField as Fn } from "vuetify/components/VTextField";
73
+ import { VTimePicker as Hn } from "vuetify/components/VTimePicker";
74
+ function On(t) {
75
+ return t.one !== void 0;
76
76
  }
77
- const Un = {
77
+ const Wn = {
78
78
  lessThanXSeconds: {
79
79
  present: {
80
80
  one: "manj kot {{count}} sekunda",
@@ -351,8 +351,8 @@ const Un = {
351
351
  }
352
352
  }
353
353
  };
354
- function Fn(e) {
355
- switch (e % 100) {
354
+ function qn(t) {
355
+ switch (t % 100) {
356
356
  case 1:
357
357
  return "one";
358
358
  case 2:
@@ -364,55 +364,55 @@ function Fn(e) {
364
364
  return "other";
365
365
  }
366
366
  }
367
- const Hn = (e, n, t) => {
367
+ const Kn = (t, n, e) => {
368
368
  let a = "", r = "present";
369
- t != null && t.addSuffix && (t.comparison && t.comparison > 0 ? (r = "future", a = "čez ") : (r = "past", a = "pred "));
370
- const d = Un[e];
371
- if (typeof d == "string")
372
- a += d;
369
+ e != null && e.addSuffix && (e.comparison && e.comparison > 0 ? (r = "future", a = "čez ") : (r = "past", a = "pred "));
370
+ const u = Wn[t];
371
+ if (typeof u == "string")
372
+ a += u;
373
373
  else {
374
- const c = Fn(n);
375
- En(d) ? a += d[c].replace("{{count}}", String(n)) : a += d[r][c].replace("{{count}}", String(n));
374
+ const d = qn(n);
375
+ On(u) ? a += u[d].replace("{{count}}", String(n)) : a += u[r][d].replace("{{count}}", String(n));
376
376
  }
377
377
  return a;
378
378
  };
379
- function We(e) {
379
+ function qe(t) {
380
380
  return (n = {}) => {
381
- const t = n.width ? String(n.width) : e.defaultWidth;
382
- return e.formats[t] || e.formats[e.defaultWidth];
381
+ const e = n.width ? String(n.width) : t.defaultWidth;
382
+ return t.formats[e] || t.formats[t.defaultWidth];
383
383
  };
384
384
  }
385
- const Wn = {
385
+ const Gn = {
386
386
  full: "EEEE, dd. MMMM y",
387
387
  long: "dd. MMMM y",
388
388
  medium: "d. MMM y",
389
389
  short: "d. MM. yy"
390
- }, On = {
390
+ }, Xn = {
391
391
  full: "HH:mm:ss zzzz",
392
392
  long: "HH:mm:ss z",
393
393
  medium: "HH:mm:ss",
394
394
  short: "HH:mm"
395
- }, qn = {
395
+ }, Yn = {
396
396
  full: "{{date}} {{time}}",
397
397
  long: "{{date}} {{time}}",
398
398
  medium: "{{date}} {{time}}",
399
399
  short: "{{date}} {{time}}"
400
- }, Kn = {
401
- date: We({
402
- formats: Wn,
400
+ }, Jn = {
401
+ date: qe({
402
+ formats: Gn,
403
403
  defaultWidth: "full"
404
404
  }),
405
- time: We({
406
- formats: On,
405
+ time: qe({
406
+ formats: Xn,
407
407
  defaultWidth: "full"
408
408
  }),
409
- dateTime: We({
410
- formats: qn,
409
+ dateTime: qe({
410
+ formats: Yn,
411
411
  defaultWidth: "full"
412
412
  })
413
- }, Xn = {
414
- lastWeek: (e) => {
415
- switch (e.getDay()) {
413
+ }, Qn = {
414
+ lastWeek: (t) => {
415
+ switch (t.getDay()) {
416
416
  case 0:
417
417
  return "'prejšnjo nedeljo ob' p";
418
418
  case 3:
@@ -426,8 +426,8 @@ const Wn = {
426
426
  yesterday: "'včeraj ob' p",
427
427
  today: "'danes ob' p",
428
428
  tomorrow: "'jutri ob' p",
429
- nextWeek: (e) => {
430
- switch (e.getDay()) {
429
+ nextWeek: (t) => {
430
+ switch (t.getDay()) {
431
431
  case 0:
432
432
  return "'naslednjo nedeljo ob' p";
433
433
  case 3:
@@ -439,34 +439,34 @@ const Wn = {
439
439
  }
440
440
  },
441
441
  other: "P"
442
- }, Yn = (e, n, t, a) => {
443
- const r = Xn[e];
442
+ }, Zn = (t, n, e, a) => {
443
+ const r = Qn[t];
444
444
  return typeof r == "function" ? r(n) : r;
445
445
  };
446
- function _e(e) {
447
- return (n, t) => {
448
- const a = t != null && t.context ? String(t.context) : "standalone";
446
+ function Be(t) {
447
+ return (n, e) => {
448
+ const a = e != null && e.context ? String(e.context) : "standalone";
449
449
  let r;
450
- if (a === "formatting" && e.formattingValues) {
451
- const c = e.defaultFormattingWidth || e.defaultWidth, g = t != null && t.width ? String(t.width) : c;
452
- r = e.formattingValues[g] || e.formattingValues[c];
450
+ if (a === "formatting" && t.formattingValues) {
451
+ const d = t.defaultFormattingWidth || t.defaultWidth, h = e != null && e.width ? String(e.width) : d;
452
+ r = t.formattingValues[h] || t.formattingValues[d];
453
453
  } else {
454
- const c = e.defaultWidth, g = t != null && t.width ? String(t.width) : e.defaultWidth;
455
- r = e.values[g] || e.values[c];
454
+ const d = t.defaultWidth, h = e != null && e.width ? String(e.width) : t.defaultWidth;
455
+ r = t.values[h] || t.values[d];
456
456
  }
457
- const d = e.argumentCallback ? e.argumentCallback(n) : n;
458
- return r[d];
457
+ const u = t.argumentCallback ? t.argumentCallback(n) : n;
458
+ return r[u];
459
459
  };
460
460
  }
461
- const Gn = {
461
+ const el = {
462
462
  narrow: ["pr. n. št.", "po n. št."],
463
463
  abbreviated: ["pr. n. št.", "po n. št."],
464
464
  wide: ["pred našim štetjem", "po našem štetju"]
465
- }, Jn = {
465
+ }, tl = {
466
466
  narrow: ["1", "2", "3", "4"],
467
467
  abbreviated: ["1. čet.", "2. čet.", "3. čet.", "4. čet."],
468
468
  wide: ["1. četrtletje", "2. četrtletje", "3. četrtletje", "4. četrtletje"]
469
- }, Qn = {
469
+ }, nl = {
470
470
  narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
471
471
  abbreviated: [
472
472
  "jan.",
@@ -496,7 +496,7 @@ const Gn = {
496
496
  "november",
497
497
  "december"
498
498
  ]
499
- }, Zn = {
499
+ }, ll = {
500
500
  narrow: ["n", "p", "t", "s", "č", "p", "s"],
501
501
  short: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
502
502
  abbreviated: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
@@ -509,7 +509,7 @@ const Gn = {
509
509
  "petek",
510
510
  "sobota"
511
511
  ]
512
- }, el = {
512
+ }, al = {
513
513
  narrow: {
514
514
  am: "d",
515
515
  pm: "p",
@@ -540,7 +540,7 @@ const Gn = {
540
540
  evening: "večer",
541
541
  night: "noč"
542
542
  }
543
- }, tl = {
543
+ }, ol = {
544
544
  narrow: {
545
545
  am: "d",
546
546
  pm: "p",
@@ -571,88 +571,88 @@ const Gn = {
571
571
  evening: "zvečer",
572
572
  night: "ponoči"
573
573
  }
574
- }, nl = (e, n) => Number(e) + ".", ll = {
575
- ordinalNumber: nl,
576
- era: _e({
577
- values: Gn,
574
+ }, il = (t, n) => Number(t) + ".", rl = {
575
+ ordinalNumber: il,
576
+ era: Be({
577
+ values: el,
578
578
  defaultWidth: "wide"
579
579
  }),
580
- quarter: _e({
581
- values: Jn,
580
+ quarter: Be({
581
+ values: tl,
582
582
  defaultWidth: "wide",
583
- argumentCallback: (e) => e - 1
583
+ argumentCallback: (t) => t - 1
584
584
  }),
585
- month: _e({
586
- values: Qn,
585
+ month: Be({
586
+ values: nl,
587
587
  defaultWidth: "wide"
588
588
  }),
589
- day: _e({
590
- values: Zn,
589
+ day: Be({
590
+ values: ll,
591
591
  defaultWidth: "wide"
592
592
  }),
593
- dayPeriod: _e({
594
- values: el,
593
+ dayPeriod: Be({
594
+ values: al,
595
595
  defaultWidth: "wide",
596
- formattingValues: tl,
596
+ formattingValues: ol,
597
597
  defaultFormattingWidth: "wide"
598
598
  })
599
599
  };
600
- function Be(e) {
601
- return (n, t = {}) => {
602
- const a = t.width, r = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], d = n.match(r);
603
- if (!d)
600
+ function Le(t) {
601
+ return (n, e = {}) => {
602
+ const a = e.width, r = a && t.matchPatterns[a] || t.matchPatterns[t.defaultMatchWidth], u = n.match(r);
603
+ if (!u)
604
604
  return null;
605
- const c = d[0], g = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], w = Array.isArray(g) ? ol(g, (h) => h.test(c)) : (
605
+ const d = u[0], h = a && t.parsePatterns[a] || t.parsePatterns[t.defaultParseWidth], k = Array.isArray(h) ? ul(h, (g) => g.test(d)) : (
606
606
  // [TODO] -- I challenge you to fix the type
607
- al(g, (h) => h.test(c))
607
+ sl(h, (g) => g.test(d))
608
608
  );
609
- let v;
610
- v = e.valueCallback ? e.valueCallback(w) : w, v = t.valueCallback ? (
609
+ let f;
610
+ f = t.valueCallback ? t.valueCallback(k) : k, f = e.valueCallback ? (
611
611
  // [TODO] -- I challenge you to fix the type
612
- t.valueCallback(v)
613
- ) : v;
614
- const f = n.slice(c.length);
615
- return { value: v, rest: f };
612
+ e.valueCallback(f)
613
+ ) : f;
614
+ const v = n.slice(d.length);
615
+ return { value: f, rest: v };
616
616
  };
617
617
  }
618
- function al(e, n) {
619
- for (const t in e)
620
- if (Object.prototype.hasOwnProperty.call(e, t) && n(e[t]))
621
- return t;
618
+ function sl(t, n) {
619
+ for (const e in t)
620
+ if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
621
+ return e;
622
622
  }
623
- function ol(e, n) {
624
- for (let t = 0; t < e.length; t++)
625
- if (n(e[t]))
626
- return t;
623
+ function ul(t, n) {
624
+ for (let e = 0; e < t.length; e++)
625
+ if (n(t[e]))
626
+ return e;
627
627
  }
628
- function il(e) {
629
- return (n, t = {}) => {
630
- const a = n.match(e.matchPattern);
628
+ function cl(t) {
629
+ return (n, e = {}) => {
630
+ const a = n.match(t.matchPattern);
631
631
  if (!a) return null;
632
- const r = a[0], d = n.match(e.parsePattern);
633
- if (!d) return null;
634
- let c = e.valueCallback ? e.valueCallback(d[0]) : d[0];
635
- c = t.valueCallback ? t.valueCallback(c) : c;
636
- const g = n.slice(r.length);
637
- return { value: c, rest: g };
632
+ const r = a[0], u = n.match(t.parsePattern);
633
+ if (!u) return null;
634
+ let d = t.valueCallback ? t.valueCallback(u[0]) : u[0];
635
+ d = e.valueCallback ? e.valueCallback(d) : d;
636
+ const h = n.slice(r.length);
637
+ return { value: d, rest: h };
638
638
  };
639
639
  }
640
- const rl = /^(\d+)\./i, sl = /\d+/i, ul = {
640
+ const dl = /^(\d+)\./i, ml = /\d+/i, vl = {
641
641
  abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
642
642
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
643
- }, dl = {
643
+ }, fl = {
644
644
  any: [/^pr/i, /^(po|na[sš]em)/i]
645
- }, cl = {
645
+ }, pl = {
646
646
  narrow: /^[1234]/i,
647
647
  abbreviated: /^[1234]\.\s?[čc]et\.?/i,
648
648
  wide: /^[1234]\. [čc]etrtletje/i
649
- }, ml = {
649
+ }, bl = {
650
650
  any: [/1/i, /2/i, /3/i, /4/i]
651
- }, fl = {
651
+ }, hl = {
652
652
  narrow: /^[jfmasond]/i,
653
653
  abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
654
654
  wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i
655
- }, vl = {
655
+ }, gl = {
656
656
  narrow: [
657
657
  /^j/i,
658
658
  /^f/i,
@@ -695,18 +695,18 @@ const rl = /^(\d+)\./i, sl = /\d+/i, ul = {
695
695
  /^n/i,
696
696
  /^d/i
697
697
  ]
698
- }, pl = {
698
+ }, yl = {
699
699
  narrow: /^[nptsčc]/i,
700
700
  short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
701
701
  abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
702
702
  wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i
703
- }, bl = {
703
+ }, kl = {
704
704
  narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],
705
705
  any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]
706
- }, hl = {
706
+ }, wl = {
707
707
  narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
708
708
  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
709
- }, gl = {
709
+ }, Cl = {
710
710
  narrow: {
711
711
  am: /^d/i,
712
712
  pm: /^p/i,
@@ -727,60 +727,68 @@ const rl = /^(\d+)\./i, sl = /\d+/i, ul = {
727
727
  evening: /^z?ve/i,
728
728
  night: /(po)?no/i
729
729
  }
730
- }, kl = {
731
- ordinalNumber: il({
732
- matchPattern: rl,
733
- parsePattern: sl,
734
- valueCallback: (e) => parseInt(e, 10)
730
+ }, xl = {
731
+ ordinalNumber: cl({
732
+ matchPattern: dl,
733
+ parsePattern: ml,
734
+ valueCallback: (t) => parseInt(t, 10)
735
735
  }),
736
- era: Be({
737
- matchPatterns: ul,
736
+ era: Le({
737
+ matchPatterns: vl,
738
738
  defaultMatchWidth: "wide",
739
- parsePatterns: dl,
739
+ parsePatterns: fl,
740
740
  defaultParseWidth: "any"
741
741
  }),
742
- quarter: Be({
743
- matchPatterns: cl,
742
+ quarter: Le({
743
+ matchPatterns: pl,
744
744
  defaultMatchWidth: "wide",
745
- parsePatterns: ml,
745
+ parsePatterns: bl,
746
746
  defaultParseWidth: "any",
747
- valueCallback: (e) => e + 1
747
+ valueCallback: (t) => t + 1
748
748
  }),
749
- month: Be({
750
- matchPatterns: fl,
749
+ month: Le({
750
+ matchPatterns: hl,
751
751
  defaultMatchWidth: "wide",
752
- parsePatterns: vl,
752
+ parsePatterns: gl,
753
753
  defaultParseWidth: "wide"
754
754
  }),
755
- day: Be({
756
- matchPatterns: pl,
755
+ day: Le({
756
+ matchPatterns: yl,
757
757
  defaultMatchWidth: "wide",
758
- parsePatterns: bl,
758
+ parsePatterns: kl,
759
759
  defaultParseWidth: "any"
760
760
  }),
761
- dayPeriod: Be({
762
- matchPatterns: hl,
761
+ dayPeriod: Le({
762
+ matchPatterns: wl,
763
763
  defaultMatchWidth: "any",
764
- parsePatterns: gl,
764
+ parsePatterns: Cl,
765
765
  defaultParseWidth: "any"
766
766
  })
767
- }, yl = {
767
+ }, Al = {
768
768
  code: "sl",
769
- formatDistance: Hn,
770
- formatLong: Kn,
771
- formatRelative: Yn,
772
- localize: ll,
773
- match: kl,
769
+ formatDistance: Kn,
770
+ formatLong: Jn,
771
+ formatRelative: Zn,
772
+ localize: rl,
773
+ match: xl,
774
774
  options: {
775
775
  weekStartsOn: 1,
776
776
  firstWeekContainsDate: 1
777
777
  }
778
- }, wl = {
779
- dateTimeLocale: F(yl),
780
- setDateTimeLocale(e) {
781
- ke(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
778
+ }, Tl = {
779
+ dateTimeLocale: M(Al),
780
+ setDateTimeLocale(t) {
781
+ Ce(t) ? this.dateTimeLocale = t : this.dateTimeLocale.value = t;
782
782
  }
783
- }, ue = /* @__PURE__ */ Z({
783
+ };
784
+ class _l extends Error {
785
+ constructor(e) {
786
+ super(e);
787
+ xe(this, "errorText");
788
+ this.errorText = e;
789
+ }
790
+ }
791
+ const ve = /* @__PURE__ */ te({
784
792
  __name: "df-input-hint",
785
793
  props: {
786
794
  errors: { default: "" },
@@ -788,161 +796,161 @@ const rl = /^(\d+)\./i, sl = /\d+/i, ul = {
788
796
  errorClasses: { default: "text-error" },
789
797
  messageClasses: { default: "" }
790
798
  },
791
- setup(e) {
792
- const n = e, t = C(() => n.errors ? typeof n.errors == "string" ? n.errors.trim().length > 0 : n.errors.length > 0 : !1), a = C(() => t.value ? n.errors : n.message), r = C(() => t.value ? n.errorClasses : n.messageClasses);
793
- return (d, c) => (j(), H(l(Et), {
799
+ setup(t) {
800
+ const n = t, e = x(() => n.errors ? typeof n.errors == "string" ? n.errors.trim().length > 0 : n.errors.length > 0 : !1), a = x(() => e.value ? n.errors : n.message), r = x(() => e.value ? n.errorClasses : n.messageClasses);
801
+ return (u, d) => (V(), F(l(Wt), {
794
802
  message: a.value,
795
803
  classes: r.value
796
804
  }, null, 8, ["message", "classes"]));
797
805
  }
798
- }), de = /* @__PURE__ */ Z({
806
+ }), fe = /* @__PURE__ */ te({
799
807
  __name: "df-label",
800
808
  props: {
801
809
  data: {},
802
810
  label: {},
803
811
  allowWrap: { type: Boolean }
804
812
  },
805
- setup(e) {
806
- const n = e, t = C(() => n.data ? n.data.label : n.label.text);
813
+ setup(t) {
814
+ const n = t, e = x(() => n.data ? n.data.label : n.label.text);
807
815
  return (a, r) => {
808
- const d = P("v-img");
809
- return j(), Q("div", {
810
- class: ce(["df-label", { "allow-wrap": e.allowWrap }])
816
+ const u = R("v-img");
817
+ return V(), Z("div", {
818
+ class: ue(["df-label", { "allow-wrap": t.allowWrap }])
811
819
  }, [
812
- e.label.icon ? (j(), Q(Me, { key: 0 }, [
813
- e.label.iconComponent === "v-icon" ? (j(), H(l(B), {
820
+ t.label.icon ? (V(), Z(Se, { key: 0 }, [
821
+ t.label.iconComponent === "v-icon" ? (V(), F(l(B), {
814
822
  key: 0,
815
- name: e.label.icon,
823
+ name: t.label.icon,
816
824
  size: "1.25em"
817
- }, null, 8, ["name"])) : e.label.iconComponent === "v-img" ? (j(), H(d, {
825
+ }, null, 8, ["name"])) : t.label.iconComponent === "v-img" ? (V(), F(u, {
818
826
  key: 1,
819
827
  class: "icon",
820
- src: e.label.icon
821
- }, null, 8, ["src"])) : (j(), H(Ne(e.label.iconComponent), {
828
+ src: t.label.icon
829
+ }, null, 8, ["src"])) : (V(), F(Ue(t.label.iconComponent), {
822
830
  key: 2,
823
- src: e.label.icon
831
+ src: t.label.icon
824
832
  }, null, 8, ["src"]))
825
- ], 64)) : G("", !0),
826
- t.value instanceof l(Ut) ? (j(), H(l(Wt), {
833
+ ], 64)) : Y("", !0),
834
+ e.value instanceof l(qt) ? (V(), F(l(Gt), {
827
835
  key: 1,
828
836
  class: "markdown",
829
- source: t.value.toString(),
830
- options: t.value.options,
831
- plugins: t.value.plugins
832
- }, null, 8, ["source", "options", "plugins"])) : (j(), Q(Me, { key: 2 }, [
833
- Y(K(t.value), 1)
837
+ source: e.value.toString(),
838
+ options: e.value.options,
839
+ plugins: e.value.plugins
840
+ }, null, 8, ["source", "options", "plugins"])) : (V(), Z(Se, { key: 2 }, [
841
+ J(G(e.value), 1)
834
842
  ], 64))
835
843
  ], 2);
836
844
  };
837
845
  }
838
- }), dt = /* @__PURE__ */ Symbol("vuetifyInputsSettingsKey");
839
- class Cl {
840
- constructor(n, t, a = "v-icon") {
841
- Ve(this, "text");
842
- Ve(this, "icon");
843
- Ve(this, "iconComponent");
844
- this.text = n, this.icon = t, this.iconComponent = a;
846
+ }), Je = /* @__PURE__ */ Symbol("vuetifyInputsSettingsKey");
847
+ class Vl {
848
+ constructor(n, e, a = "v-icon") {
849
+ xe(this, "text");
850
+ xe(this, "icon");
851
+ xe(this, "iconComponent");
852
+ this.text = n, this.icon = e, this.iconComponent = a;
845
853
  }
846
854
  }
847
- const pe = { enabled: void 0, clearable: !0 };
848
- function me(e, n) {
849
- const t = Fe(dt, {}), a = Fe("field-density", null), r = Fe("field-variant", null), d = F(null), c = Rt(null), g = C({
855
+ const be = { enabled: void 0, clearable: !0 };
856
+ function ce(t, n) {
857
+ const e = Pe(Je, {}), a = Pe("field-density", null), r = Pe("field-variant", null), u = M(null), d = Ft(null), h = x({
850
858
  get() {
851
- return c.value ? c.value.value : e.control ? e.control.value : e.modelValue === void 0 ? d.value : e.modelValue;
859
+ return d.value ? d.value.value : t.control ? t.control.value : t.modelValue === void 0 ? u.value : t.modelValue;
852
860
  },
853
861
  set(m) {
854
862
  try {
855
- e.control && (e.control.value = m);
863
+ t.control && (t.control.value = m);
856
864
  } finally {
857
- e.control && !Object.is(Qe(e.control.value), Qe(m)) && (c.value = { value: m }, Oe(() => {
858
- c.value = null;
865
+ t.control && !Object.is(tt(t.control.value), tt(m)) && (d.value = { value: m }, Ke(() => {
866
+ d.value = null;
859
867
  }));
860
868
  }
861
- e.modelValue === void 0 && (d.value = m), n("update:modelValue", e.control ? e.control.value : m);
869
+ t.modelValue === void 0 && (u.value = m), n("update:modelValue", t.control ? t.control.value : m);
862
870
  }
863
871
  });
864
- if (e.control && !(e.control instanceof ye.FieldBase))
872
+ if (t.control && !(t.control instanceof Ae.FieldBase))
865
873
  throw new Error("control prop is not a vue-form control instance");
866
- const w = C({
874
+ const k = x({
867
875
  get() {
868
- return e.control.touched;
876
+ return t.control.touched;
869
877
  },
870
878
  set(m) {
871
- e.control.touched = m;
872
- }
873
- }), v = e.control ? w : F(!1), f = C(() => e.control ? e.control.valid : !0), h = C(
874
- () => e.control ? e.control.errors : (e.errors || []).map((m) => new Ft(m))
875
- ), L = C(() => v.value && h.value.length > 0 ? " " : void 0), $ = C(() => v.value ? h.value : void 0), A = C(() => e.control ? e.control.effectiveEnabled : e.enabled !== !1), V = C(() => e.control ? e.control.visibility : e.visibility == null ? ye.DisplayMode.FULL : ye.DisplayMode.fromAny(e.visibility)), M = C(() => V.value !== ye.DisplayMode.SUPPRESS), I = C(() => ({
876
- "d-none": V.value === ye.DisplayMode.HIDDEN,
877
- invisible: V.value === ye.DisplayMode.INVISIBLE
878
- })), b = C(() => {
879
- var m, x;
880
- return (x = (m = e.control) == null ? void 0 : m.extra) != null ? x : {};
881
- }), D = C(() => {
882
- var x;
883
- const m = (x = e.label) != null ? x : b.value.label;
884
- return fe(m || "") ? new Cl(m || "") : m;
885
- }), O = C(() => {
886
- var m, x;
887
- return (x = (m = e.placeholder) != null ? m : b.value.placeholder) != null ? x : "";
888
- }), E = C(() => {
889
- var m, x;
890
- return (x = (m = e.helpText) != null ? m : b.value.helpText) != null ? x : "";
891
- }), q = C(() => {
892
- var m, x;
893
- return (x = (m = e.hint) != null ? m : b.value.hint) != null ? x : "";
894
- }), S = C(() => {
895
- var m, x;
896
- return (x = (m = e.cssClass) != null ? m : b.value.cssClass) != null ? x : "";
897
- }), y = C(
879
+ t.control.touched = m;
880
+ }
881
+ }), f = t.control ? k : M(!1), v = x(() => t.control ? t.control.valid : !0), g = x(
882
+ () => t.control ? t.control.errors : (t.errors || []).map((m) => new ut(m))
883
+ ), T = x(() => f.value && g.value.length > 0 ? " " : void 0), $ = x(() => f.value ? g.value : void 0), C = x(() => t.control ? t.control.effectiveEnabled : t.enabled !== !1), j = x(() => t.control ? t.control.visibility : t.visibility == null ? Ae.DisplayMode.FULL : Ae.DisplayMode.fromAny(t.visibility)), P = x(() => j.value !== Ae.DisplayMode.SUPPRESS), D = x(() => ({
884
+ "d-none": j.value === Ae.DisplayMode.HIDDEN,
885
+ invisible: j.value === Ae.DisplayMode.INVISIBLE
886
+ })), b = x(() => {
887
+ var m, _;
888
+ return (_ = (m = t.control) == null ? void 0 : m.extra) != null ? _ : {};
889
+ }), S = x(() => {
890
+ var _;
891
+ const m = (_ = t.label) != null ? _ : b.value.label;
892
+ return he(m || "") ? new Vl(m || "") : m;
893
+ }), H = x(() => {
894
+ var m, _;
895
+ return (_ = (m = t.placeholder) != null ? m : b.value.placeholder) != null ? _ : "";
896
+ }), K = x(() => {
897
+ var m, _;
898
+ return (_ = (m = t.helpText) != null ? m : b.value.helpText) != null ? _ : "";
899
+ }), W = x(() => {
900
+ var m, _;
901
+ return (_ = (m = t.hint) != null ? m : b.value.hint) != null ? _ : "";
902
+ }), L = x(() => {
903
+ var m, _;
904
+ return (_ = (m = t.cssClass) != null ? m : b.value.cssClass) != null ? _ : "";
905
+ }), w = x(
898
906
  () => {
899
- var m, x, N, W;
900
- return (W = (N = (x = (m = e.density) != null ? m : b.value.density) != null ? x : a) != null ? N : t.defaultDensity) != null ? W : "default";
907
+ var m, _, N, O;
908
+ return (O = (N = (_ = (m = t.density) != null ? m : b.value.density) != null ? _ : a) != null ? N : e.defaultDensity) != null ? O : "default";
901
909
  }
902
- ), o = C(() => y.value === "inline" ? "default" : y.value), u = C(
910
+ ), o = x(() => w.value === "inline" ? "default" : w.value), c = x(
903
911
  () => {
904
- var m, x, N, W;
905
- return (W = (N = (x = (m = e.variant) != null ? m : b.value.variant) != null ? x : r) != null ? N : t.defaultVariant) != null ? W : "underlined";
912
+ var m, _, N, O;
913
+ return (O = (N = (_ = (m = t.variant) != null ? m : b.value.variant) != null ? _ : r) != null ? N : e.defaultVariant) != null ? O : "underlined";
906
914
  }
907
915
  );
908
916
  return {
909
- value: g,
910
- valid: f,
911
- enabled: A,
912
- errors: h,
917
+ value: h,
918
+ valid: v,
919
+ enabled: C,
920
+ errors: g,
913
921
  showErrors: $,
914
- visibility: V,
915
- isRendered: M,
916
- visibilityClass: I,
917
- label: D,
918
- touched: v,
919
- density: y,
920
- densityClass: C(() => `df-density-${y.value}`),
921
- vuetifyBindings: C(() => {
922
+ visibility: j,
923
+ isRendered: P,
924
+ visibilityClass: D,
925
+ label: S,
926
+ touched: f,
927
+ density: w,
928
+ densityClass: x(() => `df-density-${w.value}`),
929
+ vuetifyBindings: x(() => {
922
930
  var m;
923
- return U({
924
- name: (m = e.control) == null ? void 0 : m.fieldName,
925
- class: S.value,
931
+ return z({
932
+ name: (m = t.control) == null ? void 0 : m.fieldName,
933
+ class: L.value,
926
934
  density: o.value,
927
- variant: u.value,
928
- label: D.value.text,
929
- errorMessages: L.value,
935
+ variant: c.value,
936
+ label: S.value.text,
937
+ errorMessages: T.value,
930
938
  // 'error-count': errors?.value.length || 0,
931
- readonly: !A.value,
932
- disabled: !A.value,
933
- placeholder: O.value,
934
- "persistent-placeholder": !De(O.value),
935
- hint: q.value,
939
+ readonly: !C.value,
940
+ disabled: !C.value,
941
+ placeholder: H.value,
942
+ "persistent-placeholder": !Me(H.value),
943
+ hint: W.value,
936
944
  persistentHint: !0,
937
945
  // we want persistent hint always
938
946
  hideDetails: "auto",
939
947
  // we want to hide the hint element when hint isn't there
940
- helpText: E.value
941
- }, e.passthroughAttrs || {});
948
+ helpText: K.value
949
+ }, t.passthroughAttrs || {});
942
950
  })
943
951
  };
944
952
  }
945
- const Al = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Xe = /* @__PURE__ */ Z({
953
+ const jl = { class: "d-flex w-100 df-style-resetting df-sub-field" }, He = /* @__PURE__ */ te({
946
954
  __name: "input-base",
947
955
  props: {
948
956
  control: {},
@@ -962,63 +970,63 @@ const Al = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Xe = /* @_
962
970
  loading: { type: Boolean }
963
971
  },
964
972
  emits: ["update:modelValue", "click:clear", "blur"],
965
- setup(e, { emit: n }) {
966
- const t = e, a = n, { isRendered: r, label: d, showErrors: c, touched: g, value: w, visibilityClass: v, vuetifyBindings: f } = me(t, a), h = C(() => !!(l(t.clearable) && l(w))), L = F(!1);
967
- function $(A) {
968
- L.value = A, A || (g.value = !0, a("blur"));
969
- }
970
- return (A, V) => {
971
- const M = P("v-field"), I = P("v-input");
972
- return l(r) ? (j(), H(I, {
973
+ setup(t, { emit: n }) {
974
+ const e = t, a = n, { isRendered: r, label: u, showErrors: d, touched: h, value: k, visibilityClass: f, vuetifyBindings: v } = ce(e, a), g = x(() => !!(l(e.clearable) && l(k))), T = M(!1);
975
+ function $(C) {
976
+ T.value = C, C || (h.value = !0, a("blur"));
977
+ }
978
+ return (C, j) => {
979
+ const P = R("v-field"), D = R("v-input");
980
+ return l(r) ? (V(), F(D, {
973
981
  key: 0,
974
- name: l(f).name,
975
- density: l(f).density,
976
- hint: l(f).hint,
977
- "persistent-hint": l(f).persistentHint,
978
- "hide-details": l(f).hideDetails,
979
- "error-messages": l(f).errorMessages,
980
- class: ce([e.cssClass, l(v)])
981
- }, qe({
982
+ name: l(v).name,
983
+ density: l(v).density,
984
+ hint: l(v).hint,
985
+ "persistent-hint": l(v).persistentHint,
986
+ "hide-details": l(v).hideDetails,
987
+ "error-messages": l(v).errorMessages,
988
+ class: ue([t.cssClass, l(f)])
989
+ }, Ge({
982
990
  message: s(({ message: b }) => [
983
- i(ue, {
991
+ i(ve, {
984
992
  message: b,
985
- errors: l(c)
993
+ errors: l(d)
986
994
  }, null, 8, ["message", "errors"])
987
995
  ]),
988
996
  default: s(() => [
989
- i(M, {
990
- variant: l(f).variant,
991
- density: l(f).density,
992
- label: l(f).label,
993
- disabled: l(f).disabled,
994
- clearable: h.value,
997
+ i(P, {
998
+ variant: l(v).variant,
999
+ density: l(v).density,
1000
+ label: l(v).label,
1001
+ disabled: l(v).disabled,
1002
+ clearable: g.value,
995
1003
  "persistent-clear": !0,
996
- dirty: !!l(w) || !!l(f).placeholder,
997
- active: L.value,
998
- loading: e.loading,
999
- "onClick:clear": V[0] || (V[0] = (b) => a("click:clear")),
1000
- "onUpdate:focused": V[1] || (V[1] = (b) => $(b))
1001
- }, qe({
1004
+ dirty: !!l(k) || !!l(v).placeholder,
1005
+ active: T.value,
1006
+ loading: t.loading,
1007
+ "onClick:clear": j[0] || (j[0] = (b) => a("click:clear")),
1008
+ "onUpdate:focused": j[1] || (j[1] = (b) => $(b))
1009
+ }, Ge({
1002
1010
  label: s((b) => [
1003
- i(de, {
1011
+ i(fe, {
1004
1012
  data: b,
1005
- label: l(d)
1013
+ label: l(u)
1006
1014
  }, null, 8, ["data", "label"])
1007
1015
  ]),
1008
1016
  default: s((b) => [
1009
- ae("div", Al, [
1010
- we(A.$slots, "default", he(ge(b)))
1017
+ oe("div", jl, [
1018
+ _e(C.$slots, "default", ye(ke(b)))
1011
1019
  ])
1012
1020
  ]),
1013
1021
  loader: s((b) => [
1014
- we(A.$slots, "loader", he(ge(b)))
1022
+ _e(C.$slots, "loader", ye(ke(b)))
1015
1023
  ]),
1016
1024
  _: 2
1017
1025
  }, [
1018
- A.$slots["prepend-inner"] ? {
1026
+ C.$slots["prepend-inner"] ? {
1019
1027
  name: "prepend-inner",
1020
1028
  fn: s((b) => [
1021
- we(A.$slots, "prepend-inner", he(ge(b)))
1029
+ _e(C.$slots, "prepend-inner", ye(ke(b)))
1022
1030
  ]),
1023
1031
  key: "0"
1024
1032
  } : void 0
@@ -1026,17 +1034,17 @@ const Al = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Xe = /* @_
1026
1034
  ]),
1027
1035
  _: 2
1028
1036
  }, [
1029
- A.$slots.prepend ? {
1037
+ C.$slots.prepend ? {
1030
1038
  name: "prepend",
1031
1039
  fn: s((b) => [
1032
- we(A.$slots, "prepend", he(ge(b)))
1040
+ _e(C.$slots, "prepend", ye(ke(b)))
1033
1041
  ]),
1034
1042
  key: "0"
1035
1043
  } : void 0
1036
- ]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : G("", !0);
1044
+ ]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : Y("", !0);
1037
1045
  };
1038
1046
  }
1039
- }), Ce = {
1047
+ }), we = {
1040
1048
  Yes: "Yes",
1041
1049
  No: "No",
1042
1050
  Close: "Close",
@@ -1080,6 +1088,8 @@ const Al = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Xe = /* @_
1080
1088
  ImageUrl: "Image URL",
1081
1089
  ImageUpload: "Upload image",
1082
1090
  ImageInsert: "Insert",
1091
+ ImageDropHint: "Drop image here or click to browse",
1092
+ ImageReplace: "Replace image",
1083
1093
  Table: "Table",
1084
1094
  TableInsert: "Insert table",
1085
1095
  TableAddRowAbove: "Add row above",
@@ -1095,86 +1105,86 @@ const Al = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Xe = /* @_
1095
1105
  MediaEmbedUrl: "Video URL",
1096
1106
  MediaEmbedInsert: "Insert"
1097
1107
  };
1098
- function Ja(e) {
1099
- Object.keys(Ce).forEach((n) => {
1100
- const t = e(n);
1101
- t != null && (Ce[n] = t);
1108
+ function io(t) {
1109
+ Object.keys(we).forEach((n) => {
1110
+ const e = t(n);
1111
+ e != null && (we[n] = e);
1102
1112
  });
1103
1113
  }
1104
- var oe = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(oe || {});
1105
- const nt = 0;
1106
- ((e) => {
1114
+ var se = /* @__PURE__ */ ((t) => (t[t.BUTTON = 0] = "BUTTON", t[t.TEXT = 1] = "TEXT", t))(se || {});
1115
+ const ot = 0;
1116
+ ((t) => {
1107
1117
  function n(r) {
1108
- return r.toUpperCase() === "BUTTON" ? 0 : r.toUpperCase() === "TEXT" ? 1 : nt;
1118
+ return r.toUpperCase() === "BUTTON" ? 0 : r.toUpperCase() === "TEXT" ? 1 : ot;
1109
1119
  }
1110
- e.fromString = n;
1111
- function t(r) {
1112
- const d = typeof r == "number" ? r : e.fromString(r);
1113
- return Object.values(e).includes(d) ? d : nt;
1120
+ t.fromString = n;
1121
+ function e(r) {
1122
+ const u = typeof r == "number" ? r : t.fromString(r);
1123
+ return Object.values(t).includes(u) ? u : ot;
1114
1124
  }
1115
- e.fromAny = t;
1125
+ t.fromAny = e;
1116
1126
  function a(r) {
1117
- const d = typeof r == "number" ? r : e.fromString(r);
1118
- return Object.values(e).includes(d);
1127
+ const u = typeof r == "number" ? r : t.fromString(r);
1128
+ return Object.values(t).includes(u);
1119
1129
  }
1120
- e.isDefined = a;
1121
- })(oe || (oe = {}));
1122
- Object.freeze(oe);
1123
- const lt = ["xs", "sm", "md", "lg", "xl"];
1124
- class xl {
1130
+ t.isDefined = a;
1131
+ })(se || (se = {}));
1132
+ Object.freeze(se);
1133
+ const it = ["xs", "sm", "md", "lg", "xl"];
1134
+ class Bl {
1125
1135
  constructor(n) {
1126
- Ve(this, "_value");
1127
- this._value = this.cleanBreakpoint(n, !0), n && lt.forEach((t) => {
1128
- const a = this.cleanBreakpoint(n[t]);
1129
- a && (this._value[t] = a);
1136
+ xe(this, "_value");
1137
+ this._value = this.cleanBreakpoint(n, !0), n && it.forEach((e) => {
1138
+ const a = this.cleanBreakpoint(n[e]);
1139
+ a && (this._value[e] = a);
1130
1140
  });
1131
1141
  }
1132
1142
  getOptionsForBreakpoint(n) {
1133
1143
  var a, r;
1134
- const t = (a = this.cleanBreakpoint(this._value)) != null ? a : {};
1135
- for (const d of lt) {
1136
- const c = (r = this._value[d]) != null ? r : {};
1137
- for (const g of Object.keys(c)) {
1138
- const w = c[g];
1139
- w != null && (it(w) ? t[g] = U(U({}, t[g]), w) : t[g] = w);
1144
+ const e = (a = this.cleanBreakpoint(this._value)) != null ? a : {};
1145
+ for (const u of it) {
1146
+ const d = (r = this._value[u]) != null ? r : {};
1147
+ for (const h of Object.keys(d)) {
1148
+ const k = d[h];
1149
+ k != null && (ct(k) ? e[h] = z(z({}, e[h]), k) : e[h] = k);
1140
1150
  }
1141
- if (d === n) break;
1151
+ if (u === n) break;
1142
1152
  }
1143
- return t;
1153
+ return e;
1144
1154
  }
1145
1155
  }
1146
- function Vl(e) {
1147
- return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
1156
+ function Ll(t) {
1157
+ return t.xlAndUp.value ? "xl" : t.lgAndUp.value ? "lg" : t.mdAndUp.value ? "md" : t.smAndUp.value ? "sm" : "xs";
1148
1158
  }
1149
- function Tl() {
1150
- const e = Yt();
1151
- return C(() => Vl(e));
1159
+ function Il() {
1160
+ const t = Zt();
1161
+ return x(() => Ll(t));
1152
1162
  }
1153
- class jl extends xl {
1154
- cleanBreakpoint(n, t = !1) {
1155
- if ((!n || !Ot(n)) && !t) return null;
1163
+ class $l extends Bl {
1164
+ cleanBreakpoint(n, e = !1) {
1165
+ if ((!n || !Xt(n)) && !e) return null;
1156
1166
  const a = {};
1157
- return t && (a.renderAs = oe.BUTTON, a.showLabel = !0, a.showIcon = !0), n && (n.renderAs != null && (a.renderAs = oe.fromAny(n.renderAs)), fe(n.label) && (a.label = n.label), fe(n.icon) && (a.icon = n.icon), Ie(n.showLabel) && (a.showLabel = n.showLabel), Ie(n.showIcon) && (a.showIcon = n.showIcon), fe(n.name) && (a.name = n.name), Ie(n.defaultConfirm) && (a.defaultConfirm = n.defaultConfirm), Ie(n.defaultReject) && (a.defaultReject = n.defaultReject), it(n.passthroughAttrs) && (a.passthroughAttrs = U({}, n.passthroughAttrs))), Object.keys(a).length ? a : null;
1167
+ return e && (a.renderAs = se.BUTTON, a.showLabel = !0, a.showIcon = !0), n && (n.renderAs != null && (a.renderAs = se.fromAny(n.renderAs)), he(n.label) && (a.label = n.label), he(n.icon) && (a.icon = n.icon), Re(n.showLabel) && (a.showLabel = n.showLabel), Re(n.showIcon) && (a.showIcon = n.showIcon), he(n.name) && (a.name = n.name), Re(n.defaultConfirm) && (a.defaultConfirm = n.defaultConfirm), Re(n.defaultReject) && (a.defaultReject = n.defaultReject), ct(n.passthroughAttrs) && (a.passthroughAttrs = z({}, n.passthroughAttrs))), Object.keys(a).length ? a : null;
1158
1168
  }
1159
1169
  }
1160
- function ct(e, n) {
1161
- const a = new jl(e).getOptionsForBreakpoint(n);
1170
+ function ft(t, n) {
1171
+ const a = new $l(t).getOptionsForBreakpoint(n);
1162
1172
  return {
1163
1173
  name: a.name,
1164
1174
  label: a.showLabel ? a.label : void 0,
1165
1175
  icon: a.showIcon ? a.icon : void 0,
1166
1176
  renderAs: a.renderAs,
1167
- showLabel: fe(a.label) && !De(a.label) ? a.showLabel : !1,
1168
- showIcon: fe(a.icon) && !De(a.icon) ? a.showIcon : !1,
1177
+ showLabel: he(a.label) && !Me(a.label) ? a.showLabel : !1,
1178
+ showIcon: he(a.icon) && !Me(a.icon) ? a.showIcon : !1,
1169
1179
  defaultConfirm: a.defaultConfirm,
1170
1180
  defaultReject: a.defaultReject,
1171
1181
  passthroughAttrs: a.passthroughAttrs
1172
1182
  };
1173
1183
  }
1174
- class Re extends Ht {
1184
+ class Ne extends Kt {
1175
1185
  /** @see getRenderOptionsForBreakpoint, which answers the same for the value of any `Action` */
1176
1186
  getBreakpointValue(n) {
1177
- return C(() => ct(this.value, n.value));
1187
+ return x(() => ft(this.value, n.value));
1178
1188
  }
1179
1189
  /** @see ActionRenderOptions.name */
1180
1190
  get name() {
@@ -1189,7 +1199,7 @@ class Re extends Ht {
1189
1199
  }
1190
1200
  /** @see ActionRenderOptions.showLabel */
1191
1201
  get showLabel() {
1192
- return fe(this.value.label) && !De(this.value.label) ? this.value.showLabel : !1;
1202
+ return he(this.value.label) && !Me(this.value.label) ? this.value.showLabel : !1;
1193
1203
  }
1194
1204
  /**
1195
1205
  * The icon as this action renders it: the name where {@link ActionRenderOptions.showIcon} states it is shown,
@@ -1200,7 +1210,7 @@ class Re extends Ht {
1200
1210
  }
1201
1211
  /** @see ActionRenderOptions.showIcon */
1202
1212
  get showIcon() {
1203
- return fe(this.value.icon) && !De(this.value.icon) ? this.value.showIcon : !1;
1213
+ return he(this.value.icon) && !Me(this.value.icon) ? this.value.showIcon : !1;
1204
1214
  }
1205
1215
  /** @see ActionRenderOptions.renderAs */
1206
1216
  get renderAs() {
@@ -1220,110 +1230,130 @@ class Re extends Ht {
1220
1230
  }
1221
1231
  static closeAction(n) {
1222
1232
  var a;
1223
- const t = J(U({}, n != null ? n : {}), {
1233
+ const e = ee(z({}, n != null ? n : {}), {
1224
1234
  // any properties in data should overwrite properties in the constant
1225
1235
  value: {
1226
1236
  name: "close",
1227
- label: Ce.Close,
1237
+ label: we.Close,
1228
1238
  icon: "ion-close-outline",
1229
- renderAs: oe.BUTTON,
1239
+ renderAs: se.BUTTON,
1230
1240
  showLabel: !0,
1231
1241
  showIcon: !0
1232
1242
  }
1233
1243
  });
1234
- return t.value = U(U({}, t.value), (a = n == null ? void 0 : n.value) != null ? a : {}), new Re(t);
1244
+ return e.value = z(z({}, e.value), (a = n == null ? void 0 : n.value) != null ? a : {}), new Ne(e);
1235
1245
  }
1236
1246
  static yesAction(n) {
1237
1247
  var a;
1238
- const t = J(U({}, n != null ? n : {}), {
1248
+ const e = ee(z({}, n != null ? n : {}), {
1239
1249
  // any properties in data should overwrite properties in the constant
1240
1250
  value: {
1241
1251
  name: "yes",
1242
- label: Ce.Yes,
1252
+ label: we.Yes,
1243
1253
  icon: "ion-thumbs-up-outline",
1244
- renderAs: oe.BUTTON,
1254
+ renderAs: se.BUTTON,
1245
1255
  showLabel: !0,
1246
1256
  showIcon: !0
1247
1257
  }
1248
1258
  });
1249
- return t.value = U(U({}, t.value), (a = n == null ? void 0 : n.value) != null ? a : {}), new Re(t);
1259
+ return e.value = z(z({}, e.value), (a = n == null ? void 0 : n.value) != null ? a : {}), new Ne(e);
1250
1260
  }
1251
1261
  static noAction(n) {
1252
1262
  var a;
1253
- const t = J(U({}, n != null ? n : {}), {
1263
+ const e = ee(z({}, n != null ? n : {}), {
1254
1264
  // any properties in data should overwrite properties in the constant
1255
1265
  value: {
1256
1266
  name: "no",
1257
- label: Ce.No,
1267
+ label: we.No,
1258
1268
  icon: "ion-thumbs-down-outline",
1259
- renderAs: oe.BUTTON,
1269
+ renderAs: se.BUTTON,
1260
1270
  showLabel: !0,
1261
1271
  showIcon: !0
1262
1272
  }
1263
1273
  });
1264
- return t.value = U(U({}, t.value), (a = n == null ? void 0 : n.value) != null ? a : {}), new Re(t);
1274
+ return e.value = z(z({}, e.value), (a = n == null ? void 0 : n.value) != null ? a : {}), new Ne(e);
1275
+ }
1276
+ }
1277
+ function pt(t, n, e, a) {
1278
+ const r = Pe(Je, {}), u = M(null);
1279
+ function d() {
1280
+ u.value && window.clearInterval(u.value);
1281
+ }
1282
+ function h() {
1283
+ var f, v;
1284
+ d();
1285
+ const k = (v = (f = e()) != null ? f : r.defaultTouchInterval) != null ? v : 6e4;
1286
+ u.value = window.setInterval(() => {
1287
+ t.value && n().touch(t.value).catch((g) => {
1288
+ g instanceof _l && a(g.errorText);
1289
+ });
1290
+ }, k);
1265
1291
  }
1292
+ return Ye(() => d()), me(t, (k) => k ? h() : d()), { setupTouchInterval: h, clearTouchInterval: d };
1266
1293
  }
1267
- const _l = {
1294
+ function bt(t, n) {
1295
+ t && (t.errors = [new ut(n)]);
1296
+ }
1297
+ const Dl = {
1268
1298
  key: 1,
1269
1299
  style: { width: "0.5rem" }
1270
- }, Bl = { key: 2 }, mt = /* @__PURE__ */ Z({
1300
+ }, Sl = { key: 2 }, ht = /* @__PURE__ */ te({
1271
1301
  __name: "df-actions",
1272
1302
  props: {
1273
1303
  actions: {},
1274
1304
  buttonSize: { default: "default" },
1275
1305
  showAsGroup: { default: "no" }
1276
1306
  },
1277
- setup(e) {
1278
- const n = e, t = Tl(), a = C(() => l(n.actions).filter((c) => c.visibility !== He.SUPPRESS)), r = C(
1279
- () => a.value.map((c) => U({
1280
- action: c
1281
- }, ct(c.value, t.value)))
1307
+ setup(t) {
1308
+ const n = t, e = Il(), a = x(() => l(n.actions).filter((d) => d.visibility !== We.SUPPRESS)), r = x(
1309
+ () => a.value.map((d) => z({
1310
+ action: d
1311
+ }, ft(d.value, e.value)))
1282
1312
  );
1283
- function d(c) {
1284
- if (c.defaultConfirm) return "primary";
1285
- if (c.defaultReject) return "secondary";
1313
+ function u(d) {
1314
+ if (d.defaultConfirm) return "primary";
1315
+ if (d.defaultReject) return "secondary";
1286
1316
  }
1287
- return (c, g) => {
1288
- const w = P("v-btn");
1289
- return a.value.length > 0 ? (j(), Q("div", {
1317
+ return (d, h) => {
1318
+ const k = R("v-btn");
1319
+ return a.value.length > 0 ? (V(), Z("div", {
1290
1320
  key: 0,
1291
- class: ce(["text-end df-actions", {
1292
- "button-group": e.showAsGroup === "grouped" || e.showAsGroup === "grouped-no-borders",
1293
- "with-border": e.showAsGroup === "grouped"
1321
+ class: ue(["text-end df-actions", {
1322
+ "button-group": t.showAsGroup === "grouped" || t.showAsGroup === "grouped-no-borders",
1323
+ "with-border": t.showAsGroup === "grouped"
1294
1324
  }])
1295
1325
  }, [
1296
- (j(!0), Q(Me, null, Ke(r.value, (v, f) => (j(), H(w, X({
1297
- key: f,
1298
- variant: v.renderAs === l(oe).BUTTON ? "tonal" : "text",
1299
- color: d(v),
1300
- disabled: !v.action.effectiveEnabled || v.action.busy,
1301
- loading: v.action.busy,
1326
+ (V(!0), Z(Se, null, Xe(r.value, (f, v) => (V(), F(k, X({
1327
+ key: v,
1328
+ variant: f.renderAs === l(se).BUTTON ? "tonal" : "text",
1329
+ color: u(f),
1330
+ disabled: !f.action.effectiveEnabled || f.action.busy,
1331
+ loading: f.action.busy,
1302
1332
  elevation: 0,
1303
- size: e.buttonSize,
1333
+ size: t.buttonSize,
1304
1334
  class: {
1305
- "d-none": v.action.visibility === l(He).HIDDEN,
1306
- invisible: v.action.visibility === l(He).INVISIBLE
1335
+ "d-none": f.action.visibility === l(We).HIDDEN,
1336
+ invisible: f.action.visibility === l(We).INVISIBLE
1307
1337
  }
1308
- }, { ref_for: !0 }, v.passthroughAttrs, {
1309
- onClick: Pt((h) => v.action.execute(h), ["stop"])
1338
+ }, { ref_for: !0 }, f.passthroughAttrs, {
1339
+ onClick: Te((g) => f.action.execute(g), ["stop"])
1310
1340
  }), {
1311
1341
  default: s(() => [
1312
- v.icon ? (j(), H(l(B), {
1342
+ f.icon ? (V(), F(l(B), {
1313
1343
  key: 0,
1314
- name: v.icon
1315
- }, null, 8, ["name"])) : G("", !0),
1316
- v.icon && v.label ? (j(), Q("span", _l)) : G("", !0),
1317
- v.label ? (j(), Q("span", Bl, K(v.label), 1)) : G("", !0)
1344
+ name: f.icon
1345
+ }, null, 8, ["name"])) : Y("", !0),
1346
+ f.icon && f.label ? (V(), Z("span", Dl)) : Y("", !0),
1347
+ f.label ? (V(), Z("span", Sl, G(f.label), 1)) : Y("", !0)
1318
1348
  ]),
1319
1349
  _: 2
1320
1350
  }, 1040, ["variant", "color", "disabled", "loading", "size", "class", "onClick"]))), 128))
1321
- ], 2)) : G("", !0);
1351
+ ], 2)) : Y("", !0);
1322
1352
  };
1323
1353
  }
1324
- }), ft = /* @__PURE__ */ Z({
1354
+ }), gt = /* @__PURE__ */ te({
1325
1355
  __name: "df-checkbox",
1326
- props: /* @__PURE__ */ ve({
1356
+ props: /* @__PURE__ */ pe({
1327
1357
  allowNull: { type: Boolean },
1328
1358
  control: {},
1329
1359
  modelValue: {},
@@ -1339,58 +1369,58 @@ const _l = {
1339
1369
  passthroughAttrs: {},
1340
1370
  density: {},
1341
1371
  variant: {}
1342
- }, J(U({}, pe), { allowNull: !1 })),
1372
+ }, ee(z({}, be), { allowNull: !1 })),
1343
1373
  emits: ["update:modelValue", "click:clear"],
1344
- setup(e, { emit: n }) {
1345
- const t = e, a = n, { densityClass: r, isRendered: d, label: c, showErrors: g, touched: w, value: v, visibilityClass: f, vuetifyBindings: h } = me(
1346
- t,
1374
+ setup(t, { emit: n }) {
1375
+ const e = t, a = n, { densityClass: r, isRendered: u, label: d, showErrors: h, touched: k, value: f, visibilityClass: v, vuetifyBindings: g } = ce(
1376
+ e,
1347
1377
  a
1348
- ), L = C(() => t.allowNull && v.value == null), $ = C({
1378
+ ), T = x(() => e.allowNull && f.value == null), $ = x({
1349
1379
  get() {
1350
- return v.value;
1380
+ return f.value;
1351
1381
  },
1352
1382
  set() {
1353
1383
  }
1354
1384
  });
1355
- function A() {
1356
- const V = qt(v.value);
1357
- V === !0 ? v.value = t.allowNull ? null : !1 : v.value = V === !1;
1385
+ function C() {
1386
+ const j = Yt(f.value);
1387
+ j === !0 ? f.value = e.allowNull ? null : !1 : f.value = j === !1;
1358
1388
  }
1359
- return (V, M) => {
1360
- const I = P("v-checkbox");
1361
- return l(d) ? (j(), H(I, X({
1389
+ return (j, P) => {
1390
+ const D = R("v-checkbox");
1391
+ return l(u) ? (V(), F(D, X({
1362
1392
  key: 0,
1363
1393
  modelValue: $.value,
1364
- "onUpdate:modelValue": M[0] || (M[0] = (b) => $.value = b),
1394
+ "onUpdate:modelValue": P[0] || (P[0] = (b) => $.value = b),
1365
1395
  density: "compact",
1366
- class: [l(r), l(f)],
1367
- indeterminate: L.value,
1396
+ class: [l(r), l(v)],
1397
+ indeterminate: T.value,
1368
1398
  "false-value": !1,
1369
1399
  "true-value": !0
1370
- }, l(h), {
1371
- onChange: A,
1372
- onBlur: M[1] || (M[1] = (b) => w.value = !0)
1400
+ }, l(g), {
1401
+ onChange: C,
1402
+ onBlur: P[1] || (P[1] = (b) => k.value = !0)
1373
1403
  }), {
1374
1404
  label: s((b) => [
1375
- i(l(de), {
1405
+ i(l(fe), {
1376
1406
  "allow-wrap": !0,
1377
1407
  data: b,
1378
- label: l(c)
1408
+ label: l(d)
1379
1409
  }, null, 8, ["data", "label"])
1380
1410
  ]),
1381
1411
  message: s(({ message: b }) => [
1382
- i(l(ue), {
1412
+ i(l(ve), {
1383
1413
  message: b,
1384
- errors: l(g)
1414
+ errors: l(h)
1385
1415
  }, null, 8, ["message", "errors"])
1386
1416
  ]),
1387
1417
  _: 1
1388
- }, 16, ["modelValue", "class", "indeterminate"])) : G("", !0);
1418
+ }, 16, ["modelValue", "class", "indeterminate"])) : Y("", !0);
1389
1419
  };
1390
1420
  }
1391
- }), vt = /* @__PURE__ */ Z({
1421
+ }), yt = /* @__PURE__ */ te({
1392
1422
  __name: "df-color",
1393
- props: /* @__PURE__ */ ve({
1423
+ props: /* @__PURE__ */ pe({
1394
1424
  allowNull: { type: Boolean },
1395
1425
  control: {},
1396
1426
  modelValue: {},
@@ -1406,56 +1436,56 @@ const _l = {
1406
1436
  passthroughAttrs: {},
1407
1437
  density: {},
1408
1438
  variant: {}
1409
- }, J(U({}, pe), { allowNull: !1 })),
1439
+ }, ee(z({}, be), { allowNull: !1 })),
1410
1440
  emits: ["update:modelValue", "click:clear"],
1411
- setup(e, { emit: n }) {
1412
- const t = e, a = n, { densityClass: r, isRendered: d, label: c, showErrors: g, touched: w, value: v, visibilityClass: f, vuetifyBindings: h } = me(
1413
- t,
1441
+ setup(t, { emit: n }) {
1442
+ const e = t, a = n, { densityClass: r, isRendered: u, label: d, showErrors: h, touched: k, value: f, visibilityClass: v, vuetifyBindings: g } = ce(
1443
+ e,
1414
1444
  a
1415
- ), L = F(!1), $ = C(() => [
1416
- (A) => t.control || !A && t.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(A) ? !0 : "Not a valid hex string."
1445
+ ), T = M(!1), $ = x(() => [
1446
+ (C) => e.control || !C && e.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(C) ? !0 : "Not a valid hex string."
1417
1447
  ]);
1418
- return (A, V) => {
1419
- const M = P("v-color-picker"), I = P("v-menu"), b = P("v-text-field");
1420
- return l(d) ? (j(), H(b, X({
1448
+ return (C, j) => {
1449
+ const P = R("v-color-picker"), D = R("v-menu"), b = R("v-text-field");
1450
+ return l(u) ? (V(), F(b, X({
1421
1451
  key: 0,
1422
- modelValue: l(v),
1423
- "onUpdate:modelValue": V[2] || (V[2] = (D) => ke(v) ? v.value = D : null),
1424
- class: [l(r), l(f)],
1425
- clearable: e.allowNull,
1452
+ modelValue: l(f),
1453
+ "onUpdate:modelValue": j[2] || (j[2] = (S) => Ce(f) ? f.value = S : null),
1454
+ class: [l(r), l(v)],
1455
+ clearable: t.allowNull,
1426
1456
  type: "text",
1427
1457
  rules: $.value
1428
- }, l(h), {
1429
- onBlur: V[3] || (V[3] = (D) => w.value = !0)
1458
+ }, l(g), {
1459
+ onBlur: j[3] || (j[3] = (S) => k.value = !0)
1430
1460
  }), {
1431
- label: s((D) => [
1432
- i(l(de), {
1433
- data: D,
1434
- label: l(c)
1461
+ label: s((S) => [
1462
+ i(l(fe), {
1463
+ data: S,
1464
+ label: l(d)
1435
1465
  }, null, 8, ["data", "label"])
1436
1466
  ]),
1437
- message: s(({ message: D }) => [
1438
- i(l(ue), {
1439
- message: D,
1440
- errors: l(g)
1467
+ message: s(({ message: S }) => [
1468
+ i(l(ve), {
1469
+ message: S,
1470
+ errors: l(h)
1441
1471
  }, null, 8, ["message", "errors"])
1442
1472
  ]),
1443
1473
  "prepend-inner": s(() => [
1444
- ae("div", {
1445
- style: Nt([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: l(v) }])
1474
+ oe("div", {
1475
+ style: st([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: l(f) }])
1446
1476
  }, null, 4)
1447
1477
  ]),
1448
1478
  default: s(() => [
1449
- i(I, {
1450
- modelValue: L.value,
1451
- "onUpdate:modelValue": V[1] || (V[1] = (D) => L.value = D),
1479
+ i(D, {
1480
+ modelValue: T.value,
1481
+ "onUpdate:modelValue": j[1] || (j[1] = (S) => T.value = S),
1452
1482
  "close-on-content-click": !1,
1453
1483
  activator: "parent"
1454
1484
  }, {
1455
1485
  default: s(() => [
1456
- i(M, {
1457
- modelValue: l(v),
1458
- "onUpdate:modelValue": V[0] || (V[0] = (D) => ke(v) ? v.value = D : null),
1486
+ i(P, {
1487
+ modelValue: l(f),
1488
+ "onUpdate:modelValue": j[0] || (j[0] = (S) => Ce(f) ? f.value = S : null),
1459
1489
  mode: "hexa"
1460
1490
  }, null, 8, ["modelValue"])
1461
1491
  ]),
@@ -1463,12 +1493,12 @@ const _l = {
1463
1493
  }, 8, ["modelValue"])
1464
1494
  ]),
1465
1495
  _: 1
1466
- }, 16, ["modelValue", "class", "clearable", "rules"])) : G("", !0);
1496
+ }, 16, ["modelValue", "class", "clearable", "rules"])) : Y("", !0);
1467
1497
  };
1468
1498
  }
1469
- }), pt = /* @__PURE__ */ Z({
1499
+ }), kt = /* @__PURE__ */ te({
1470
1500
  __name: "df-datetime",
1471
- props: /* @__PURE__ */ ve({
1501
+ props: /* @__PURE__ */ pe({
1472
1502
  inputType: {},
1473
1503
  displayFormatDate: {},
1474
1504
  displayFormatTime: {},
@@ -1487,157 +1517,157 @@ const _l = {
1487
1517
  passthroughAttrs: {},
1488
1518
  density: {},
1489
1519
  variant: {}
1490
- }, J(U({}, pe), {
1520
+ }, ee(z({}, be), {
1491
1521
  inputType: "datetime",
1492
1522
  displayFormatDate: "P",
1493
1523
  displayFormatTime: "p"
1494
1524
  })),
1495
1525
  emits: ["update:modelValue", "click:clear"],
1496
- setup(e, { emit: n }) {
1497
- const t = e, a = n, r = C(() => {
1498
- var y;
1499
- return (y = t.locale) != null ? y : l(wl.dateTimeLocale);
1500
- }), d = C(() => {
1501
- var y, o;
1502
- return (o = (y = r.value.options) == null ? void 0 : y.weekStartsOn) != null ? o : 1;
1503
- }), { density: c, densityClass: g, touched: w, value: v, vuetifyBindings: f } = me(t, a), { inputType: h, displayFormatDate: L, displayFormatTime: $ } = Ee(t), A = F(""), V = C({
1526
+ setup(t, { emit: n }) {
1527
+ const e = t, a = n, r = x(() => {
1528
+ var w;
1529
+ return (w = e.locale) != null ? w : l(Tl.dateTimeLocale);
1530
+ }), u = x(() => {
1531
+ var w, o;
1532
+ return (o = (w = r.value.options) == null ? void 0 : w.weekStartsOn) != null ? o : 1;
1533
+ }), { density: d, densityClass: h, touched: k, value: f, vuetifyBindings: v } = ce(e, a), { inputType: g, displayFormatDate: T, displayFormatTime: $ } = Fe(e), C = M(""), j = x({
1504
1534
  get() {
1505
- return l(A) === "date";
1535
+ return l(C) === "date";
1506
1536
  },
1507
- set(y) {
1508
- A.value = y ? "date" : "";
1537
+ set(w) {
1538
+ C.value = w ? "date" : "";
1509
1539
  }
1510
- }), M = C({
1540
+ }), P = x({
1511
1541
  get() {
1512
- return l(A) === "time";
1542
+ return l(C) === "time";
1513
1543
  },
1514
- set(y) {
1515
- A.value = y ? "time" : "";
1544
+ set(w) {
1545
+ C.value = w ? "time" : "";
1516
1546
  }
1517
- }), I = (y) => `${je(y, "yyyy-MM-dd")}T${je(y, "HH:mm")}:00`, b = F(null);
1518
- function D(y, o) {
1519
- if (y == null)
1547
+ }), D = (w) => `${je(w, "yyyy-MM-dd")}T${je(w, "HH:mm")}:00`, b = M(null);
1548
+ function S(w, o) {
1549
+ if (w == null)
1520
1550
  b.value = null;
1521
1551
  else if (o === -1)
1522
- if (l(h) === "time")
1523
- b.value = I(/* @__PURE__ */ new Date()), D(`T${y}`, 1);
1552
+ if (l(g) === "time")
1553
+ b.value = D(/* @__PURE__ */ new Date()), S(`T${w}`, 1);
1524
1554
  else {
1525
- const u = I(new Date(y));
1526
- D(u, 0), D(u, 1);
1555
+ const c = D(new Date(w));
1556
+ S(c, 0), S(c, 1);
1527
1557
  }
1528
1558
  else {
1529
- b.value == null && (b.value = I(/* @__PURE__ */ new Date()));
1530
- const u = b.value.split(/[TZ]/g), m = y.split(/[TZ]/g);
1531
- u[o] = m[o], b.value = I(/* @__PURE__ */ new Date(`${u[0]}T${u[1].split(".")[0]}`)), l(h) === "date" ? v.value = u[0] : l(h) === "time" ? v.value = u[1] : v.value = l(b) + je(/* @__PURE__ */ new Date(), "XXX");
1559
+ b.value == null && (b.value = D(/* @__PURE__ */ new Date()));
1560
+ const c = b.value.split(/[TZ]/g), m = w.split(/[TZ]/g);
1561
+ c[o] = m[o], b.value = D(/* @__PURE__ */ new Date(`${c[0]}T${c[1].split(".")[0]}`)), l(g) === "date" ? f.value = c[0] : l(g) === "time" ? f.value = c[1] : f.value = l(b) + je(/* @__PURE__ */ new Date(), "XXX");
1532
1562
  }
1533
1563
  }
1534
- se(v, (y) => D(y, -1), { immediate: !0 });
1535
- const O = C({
1564
+ me(f, (w) => S(w, -1), { immediate: !0 });
1565
+ const H = x({
1536
1566
  get() {
1537
- const y = l(b);
1538
- if (y == null) return null;
1539
- const o = new Date(y);
1567
+ const w = l(b);
1568
+ if (w == null) return null;
1569
+ const o = new Date(w);
1540
1570
  return Number.isNaN(o.getTime()) ? null : o;
1541
1571
  },
1542
- set(y) {
1543
- D(I(y), 0);
1572
+ set(w) {
1573
+ S(D(w), 0);
1544
1574
  }
1545
- }), E = C({
1575
+ }), K = x({
1546
1576
  get() {
1547
- const y = l(b);
1548
- return y == null ? "" : y.split(/[TZ]/g)[1].split(".")[0];
1577
+ const w = l(b);
1578
+ return w == null ? "" : w.split(/[TZ]/g)[1].split(".")[0];
1549
1579
  },
1550
- set(y) {
1551
- D(`T${y}`, 1);
1580
+ set(w) {
1581
+ S(`T${w}`, 1);
1552
1582
  }
1553
- }), q = C({
1583
+ }), W = x({
1554
1584
  get() {
1555
- const y = l(O);
1556
- return y == null ? "" : je(y, l(L), { locale: r.value });
1585
+ const w = l(H);
1586
+ return w == null ? "" : je(w, l(T), { locale: r.value });
1557
1587
  },
1558
- set(y) {
1588
+ set(w) {
1559
1589
  try {
1560
- const o = Gt(y, l(L), /* @__PURE__ */ new Date(), { locale: r.value });
1561
- D(I(o), 0);
1590
+ const o = en(w, l(T), /* @__PURE__ */ new Date(), { locale: r.value });
1591
+ S(D(o), 0);
1562
1592
  } catch (o) {
1563
1593
  console.error(o);
1564
1594
  }
1565
1595
  }
1566
- }), S = C({
1596
+ }), L = x({
1567
1597
  get() {
1568
- const y = l(O);
1569
- return y == null ? "" : je(y, l($), { locale: r.value });
1598
+ const w = l(H);
1599
+ return w == null ? "" : je(w, l($), { locale: r.value });
1570
1600
  },
1571
- set(y) {
1572
- const o = y.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1601
+ set(w) {
1602
+ const o = w.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1573
1603
  if (o == null) return;
1574
- let u = Ze(o[1]);
1575
- const m = Ze(o[2]);
1576
- et(u) || et(m) || (o[3] && o[3].toLowerCase() === "pm" && u < 13 && (u += 12), D(`T${u.toString().padStart(2, "0")}:${m.toString().padStart(2, "0")}:00`, 1));
1604
+ let c = nt(o[1]);
1605
+ const m = nt(o[2]);
1606
+ lt(c) || lt(m) || (o[3] && o[3].toLowerCase() === "pm" && c < 13 && (c += 12), S(`T${c.toString().padStart(2, "0")}:${m.toString().padStart(2, "0")}:00`, 1));
1577
1607
  }
1578
1608
  });
1579
- return (y, o) => {
1580
- const u = P("v-date-picker"), m = P("v-confirm-edit"), x = P("v-menu"), N = P("v-text-field"), W = P("v-time-picker");
1581
- return j(), H(l(Xe), X(t, {
1582
- class: l(g),
1583
- clearable: e.clearable,
1584
- "onClick:clear": o[14] || (o[14] = (te) => v.value = null),
1585
- onBlur: o[15] || (o[15] = (te) => w.value = !0)
1609
+ return (w, o) => {
1610
+ const c = R("v-date-picker"), m = R("v-confirm-edit"), _ = R("v-menu"), N = R("v-text-field"), O = R("v-time-picker");
1611
+ return V(), F(l(He), X(e, {
1612
+ class: l(h),
1613
+ clearable: t.clearable,
1614
+ "onClick:clear": o[14] || (o[14] = (ne) => f.value = null),
1615
+ onBlur: o[15] || (o[15] = (ne) => k.value = !0)
1586
1616
  }), {
1587
- default: s((te) => [
1588
- ae("div", {
1589
- class: ce([
1617
+ default: s((ne) => [
1618
+ oe("div", {
1619
+ class: ue([
1590
1620
  "d-flex",
1591
1621
  "w-100",
1592
- ["plain", "underlined"].includes(l(f).variant) ? void 0 : "ml-4",
1622
+ ["plain", "underlined"].includes(l(v).variant) ? void 0 : "ml-4",
1593
1623
  "df-input-wrapper",
1594
- l(c)
1624
+ l(d)
1595
1625
  ])
1596
1626
  }, [
1597
- ["date", "datetime"].includes(l(h)) ? (j(), H(N, X({
1627
+ ["date", "datetime"].includes(l(g)) ? (V(), F(N, X({
1598
1628
  key: 0,
1599
- modelValue: q.value,
1600
- "onUpdate:modelValue": o[4] || (o[4] = (_) => q.value = _),
1629
+ modelValue: W.value,
1630
+ "onUpdate:modelValue": o[4] || (o[4] = (A) => W.value = A),
1601
1631
  style: { "flex-grow": "4" },
1602
1632
  density: "compact",
1603
1633
  variant: "plain",
1604
1634
  clearable: !1,
1605
1635
  "hide-details": !0,
1606
- readonly: l(f).readonly,
1607
- disabled: l(f).disabled,
1608
- name: `${l(f).name}-date`,
1609
- placeholder: l(f).placeholder
1610
- }, e.passthroughAttrs, {
1611
- onClick: o[5] || (o[5] = (_) => A.value = "date"),
1612
- onKeydown: o[6] || (o[6] = Se((_) => A.value = "date", ["space"])),
1613
- onFocus: (_) => te.focus(),
1614
- onBlur: (_) => te.blur()
1636
+ readonly: l(v).readonly,
1637
+ disabled: l(v).disabled,
1638
+ name: `${l(v).name}-date`,
1639
+ placeholder: l(v).placeholder
1640
+ }, t.passthroughAttrs, {
1641
+ onClick: o[5] || (o[5] = (A) => C.value = "date"),
1642
+ onKeydown: o[6] || (o[6] = De((A) => C.value = "date", ["space"])),
1643
+ onFocus: (A) => ne.focus(),
1644
+ onBlur: (A) => ne.blur()
1615
1645
  }), {
1616
1646
  default: s(() => [
1617
- i(x, {
1618
- modelValue: V.value,
1619
- "onUpdate:modelValue": o[3] || (o[3] = (_) => V.value = _),
1647
+ i(_, {
1648
+ modelValue: j.value,
1649
+ "onUpdate:modelValue": o[3] || (o[3] = (A) => j.value = A),
1620
1650
  "close-on-content-click": !1,
1621
1651
  activator: "parent"
1622
1652
  }, {
1623
1653
  default: s(() => [
1624
1654
  i(m, {
1625
- modelValue: O.value,
1626
- "onUpdate:modelValue": o[0] || (o[0] = (_) => O.value = _),
1627
- onCancel: o[1] || (o[1] = (_) => A.value = ""),
1628
- onSave: o[2] || (o[2] = (_) => A.value = "")
1655
+ modelValue: H.value,
1656
+ "onUpdate:modelValue": o[0] || (o[0] = (A) => H.value = A),
1657
+ onCancel: o[1] || (o[1] = (A) => C.value = ""),
1658
+ onSave: o[2] || (o[2] = (A) => C.value = "")
1629
1659
  }, {
1630
- default: s(({ model: _, actions: ie }) => [
1631
- i(u, {
1632
- modelValue: _.value,
1633
- "onUpdate:modelValue": (be) => _.value = be,
1660
+ default: s(({ model: A, actions: q }) => [
1661
+ i(c, {
1662
+ modelValue: A.value,
1663
+ "onUpdate:modelValue": (Q) => A.value = Q,
1634
1664
  "hide-header": !0,
1635
- "first-day-of-week": d.value,
1665
+ "first-day-of-week": u.value,
1636
1666
  "show-adjacent-months": !0,
1637
1667
  "show-week": !0
1638
1668
  }, {
1639
1669
  actions: s(() => [
1640
- (j(), H(Ne(ie)))
1670
+ (V(), F(Ue(q)))
1641
1671
  ]),
1642
1672
  _: 2
1643
1673
  }, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
@@ -1649,49 +1679,49 @@ const _l = {
1649
1679
  }, 8, ["modelValue"])
1650
1680
  ]),
1651
1681
  _: 1
1652
- }, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : G("", !0),
1653
- ["time", "datetime"].includes(l(h)) ? (j(), H(N, X({
1682
+ }, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : Y("", !0),
1683
+ ["time", "datetime"].includes(l(g)) ? (V(), F(N, X({
1654
1684
  key: 1,
1655
- modelValue: S.value,
1656
- "onUpdate:modelValue": o[11] || (o[11] = (_) => S.value = _),
1685
+ modelValue: L.value,
1686
+ "onUpdate:modelValue": o[11] || (o[11] = (A) => L.value = A),
1657
1687
  style: { "flex-grow": "3" },
1658
1688
  density: "compact",
1659
1689
  variant: "plain",
1660
1690
  clearable: !1,
1661
1691
  "hide-details": !0,
1662
- readonly: l(f).readonly,
1663
- disabled: l(f).disabled,
1664
- name: `${l(f).name}-time`,
1665
- placeholder: l(h) === "time" ? l(f).placeholder : void 0
1666
- }, e.passthroughAttrs, {
1667
- onClick: o[12] || (o[12] = (_) => A.value = "time"),
1668
- onKeydown: o[13] || (o[13] = Se((_) => A.value = "time", ["space"])),
1669
- onFocus: (_) => te.focus(),
1670
- onBlur: (_) => te.blur()
1692
+ readonly: l(v).readonly,
1693
+ disabled: l(v).disabled,
1694
+ name: `${l(v).name}-time`,
1695
+ placeholder: l(g) === "time" ? l(v).placeholder : void 0
1696
+ }, t.passthroughAttrs, {
1697
+ onClick: o[12] || (o[12] = (A) => C.value = "time"),
1698
+ onKeydown: o[13] || (o[13] = De((A) => C.value = "time", ["space"])),
1699
+ onFocus: (A) => ne.focus(),
1700
+ onBlur: (A) => ne.blur()
1671
1701
  }), {
1672
1702
  default: s(() => [
1673
- i(x, {
1674
- modelValue: M.value,
1675
- "onUpdate:modelValue": o[10] || (o[10] = (_) => M.value = _),
1703
+ i(_, {
1704
+ modelValue: P.value,
1705
+ "onUpdate:modelValue": o[10] || (o[10] = (A) => P.value = A),
1676
1706
  "close-on-content-click": !1,
1677
1707
  activator: "parent"
1678
1708
  }, {
1679
1709
  default: s(() => [
1680
1710
  i(m, {
1681
- modelValue: E.value,
1682
- "onUpdate:modelValue": o[7] || (o[7] = (_) => E.value = _),
1683
- onCancel: o[8] || (o[8] = (_) => A.value = ""),
1684
- onSave: o[9] || (o[9] = (_) => A.value = "")
1711
+ modelValue: K.value,
1712
+ "onUpdate:modelValue": o[7] || (o[7] = (A) => K.value = A),
1713
+ onCancel: o[8] || (o[8] = (A) => C.value = ""),
1714
+ onSave: o[9] || (o[9] = (A) => C.value = "")
1685
1715
  }, {
1686
- default: s(({ model: _, actions: ie }) => [
1687
- i(W, {
1688
- modelValue: _.value,
1689
- "onUpdate:modelValue": (be) => _.value = be,
1716
+ default: s(({ model: A, actions: q }) => [
1717
+ i(O, {
1718
+ modelValue: A.value,
1719
+ "onUpdate:modelValue": (Q) => A.value = Q,
1690
1720
  "hide-header": !0,
1691
1721
  format: "24hr"
1692
1722
  }, {
1693
1723
  actions: s(() => [
1694
- (j(), H(Ne(ie)))
1724
+ (V(), F(Ue(q)))
1695
1725
  ]),
1696
1726
  _: 2
1697
1727
  }, 1032, ["modelValue", "onUpdate:modelValue"])
@@ -1703,17 +1733,18 @@ const _l = {
1703
1733
  }, 8, ["modelValue"])
1704
1734
  ]),
1705
1735
  _: 1
1706
- }, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : G("", !0)
1736
+ }, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : Y("", !0)
1707
1737
  ], 2)
1708
1738
  ]),
1709
1739
  _: 1
1710
1740
  }, 16, ["class", "clearable"]);
1711
1741
  };
1712
1742
  }
1713
- }), bt = /* @__PURE__ */ Z({
1743
+ }), wt = /* @__PURE__ */ te({
1714
1744
  __name: "df-file",
1715
- props: /* @__PURE__ */ ve({
1745
+ props: /* @__PURE__ */ pe({
1716
1746
  comms: {},
1747
+ touchInterval: {},
1717
1748
  control: {},
1718
1749
  modelValue: {},
1719
1750
  label: {},
@@ -1728,82 +1759,83 @@ const _l = {
1728
1759
  passthroughAttrs: {},
1729
1760
  density: {},
1730
1761
  variant: {}
1731
- }, pe),
1762
+ }, be),
1732
1763
  emits: ["update:modelValue", "click:clear"],
1733
- setup(e, { emit: n }) {
1734
- const t = e, a = n, { density: r, densityClass: d, touched: c, value: g, vuetifyBindings: w } = me(t, a), v = F(null), f = F(null), h = F(0), L = F(Math.round(Math.random() * 1e3)), $ = F(), A = C(() => f.value && h.value < 100), V = C(() => !$.value && g.value ? t.modelValue : "");
1735
- function M() {
1736
- v.value && window.clearInterval(v.value);
1737
- }
1738
- function I() {
1739
- M(), v.value = window.setInterval(() => {
1740
- g.value && t.comms.touch(g.value);
1741
- }, 60 * 1e3);
1742
- }
1743
- ot(() => M()), se(g, (E) => {
1744
- E ? I() : M();
1745
- });
1746
- function b() {
1747
- return Te(this, null, function* () {
1748
- g.value && (yield t.comms.delete(g.value)), g.value = null, h.value = 0, L.value = Math.round(Math.random() * 1e3), f.value = null, $.value = null, M();
1764
+ setup(t, { emit: n }) {
1765
+ const e = t, a = n, { density: r, densityClass: u, touched: d, value: h, vuetifyBindings: k } = ce(e, a), f = M(null), v = M(0), g = M(Math.round(Math.random() * 1e3)), T = M(), $ = x(() => f.value && v.value < 100), C = x(() => !T.value && h.value ? e.modelValue : "");
1766
+ function j() {
1767
+ h.value = null, v.value = 0, g.value = Math.round(Math.random() * 1e3), f.value = null, T.value = null, b();
1768
+ }
1769
+ function P(W) {
1770
+ j(), bt(e.control, W);
1771
+ }
1772
+ const { setupTouchInterval: D, clearTouchInterval: b } = pt(
1773
+ h,
1774
+ () => e.comms,
1775
+ () => e.touchInterval,
1776
+ P
1777
+ );
1778
+ function S() {
1779
+ return ge(this, null, function* () {
1780
+ h.value && (yield e.comms.delete(h.value)), j();
1749
1781
  });
1750
1782
  }
1751
- function D(E) {
1752
- return Te(this, null, function* () {
1753
- h.value = -1, f.value = E;
1783
+ function H(W) {
1784
+ return ge(this, null, function* () {
1785
+ v.value = -1, f.value = W;
1754
1786
  try {
1755
- g.value = yield t.comms.upload(E, (q, S) => {
1756
- h.value = Math.round(q * 100 / S);
1757
- }), h.value = 100, I();
1758
- } catch (q) {
1759
- throw h.value = 0, f.value = null, L.value = Math.round(Math.random() * 1e3), $.value = null, q;
1787
+ h.value = yield e.comms.upload(W, (L, w) => {
1788
+ v.value = Math.round(L * 100 / w);
1789
+ }), v.value = 100, D();
1790
+ } catch (L) {
1791
+ throw v.value = 0, f.value = null, g.value = Math.round(Math.random() * 1e3), T.value = null, L;
1760
1792
  }
1761
1793
  });
1762
1794
  }
1763
- function O(E) {
1764
- E && (Array.isArray(E) ? console.error("Uploading multiple files not supported right now") : D(E));
1795
+ function K(W) {
1796
+ W && (Array.isArray(W) ? console.error("Uploading multiple files not supported right now") : H(W));
1765
1797
  }
1766
- return (E, q) => {
1767
- const S = P("v-progress-linear"), y = P("v-file-input");
1768
- return j(), H(l(Xe), X(J(U({}, t), { loading: A.value }), {
1769
- class: l(d),
1798
+ return (W, L) => {
1799
+ const w = R("v-progress-linear"), o = R("v-file-input");
1800
+ return V(), F(l(He), X(ee(z({}, e), { loading: $.value }), {
1801
+ class: l(u),
1770
1802
  clearable: "",
1771
- "onClick:clear": b,
1772
- onBlur: q[1] || (q[1] = (o) => c.value = !0)
1803
+ "onClick:clear": S,
1804
+ onBlur: L[1] || (L[1] = (c) => d.value = !0)
1773
1805
  }), {
1774
1806
  "prepend-inner": s(() => [
1775
1807
  i(l(B), { name: "mdi-paperclip" })
1776
1808
  ]),
1777
1809
  loader: s(() => [
1778
- f.value && h.value < 100 ? (j(), H(S, {
1810
+ f.value && v.value < 100 ? (V(), F(w, {
1779
1811
  key: 0,
1780
- "model-value": h.value,
1781
- indeterminate: h.value === -1
1782
- }, null, 8, ["model-value", "indeterminate"])) : G("", !0)
1812
+ "model-value": v.value,
1813
+ indeterminate: v.value === -1
1814
+ }, null, 8, ["model-value", "indeterminate"])) : Y("", !0)
1783
1815
  ]),
1784
- default: s((o) => [
1785
- ae("div", {
1786
- class: ce(["d-flex w-100 position-relative df-input-wrapper", l(r)])
1816
+ default: s((c) => [
1817
+ oe("div", {
1818
+ class: ue(["d-flex w-100 position-relative df-input-wrapper", l(r)])
1787
1819
  }, [
1788
- i(y, X({
1789
- modelValue: $.value,
1790
- "onUpdate:modelValue": q[0] || (q[0] = (u) => $.value = u),
1791
- label: V.value,
1820
+ i(o, X({
1821
+ modelValue: T.value,
1822
+ "onUpdate:modelValue": L[0] || (L[0] = (m) => T.value = m),
1823
+ label: C.value,
1792
1824
  density: "compact",
1793
1825
  variant: "plain",
1794
- readonly: l(w).readonly,
1795
- disabled: l(w).disabled,
1796
- name: l(w).name,
1826
+ readonly: l(k).readonly,
1827
+ disabled: l(k).disabled,
1828
+ name: l(k).name,
1797
1829
  "hide-details": !0,
1798
1830
  "show-size": !0,
1799
1831
  multiple: !1,
1800
- style: f.value && h.value < 100 ? "visibility: hidden" : "",
1832
+ style: f.value && v.value < 100 ? "visibility: hidden" : "",
1801
1833
  clearable: !1
1802
- }, e.passthroughAttrs, {
1834
+ }, t.passthroughAttrs, {
1803
1835
  "prepend-icon": "",
1804
- "onUpdate:modelValue": O,
1805
- onFocus: (u) => o.focus(),
1806
- onBlur: (u) => o.blur()
1836
+ "onUpdate:modelValue": K,
1837
+ onFocus: (m) => c.focus(),
1838
+ onBlur: (m) => c.blur()
1807
1839
  }), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
1808
1840
  ], 2)
1809
1841
  ]),
@@ -1811,9 +1843,165 @@ const _l = {
1811
1843
  }, 16, ["class"]);
1812
1844
  };
1813
1845
  }
1814
- }), ht = /* @__PURE__ */ Z({
1846
+ }), Ml = ["id", "disabled", "name", "onFocus", "onBlur"], Rl = ["for"], Pl = ["for"], Nl = ["for", "title"], Ct = /* @__PURE__ */ te({
1847
+ __name: "df-image",
1848
+ props: /* @__PURE__ */ pe({
1849
+ comms: {},
1850
+ touchInterval: {},
1851
+ control: {},
1852
+ modelValue: {},
1853
+ label: {},
1854
+ errors: {},
1855
+ placeholder: {},
1856
+ helpText: {},
1857
+ hint: {},
1858
+ enabled: { type: Boolean },
1859
+ visibility: {},
1860
+ cssClass: {},
1861
+ clearable: { type: Boolean },
1862
+ passthroughAttrs: {},
1863
+ density: {},
1864
+ variant: {}
1865
+ }, be),
1866
+ emits: ["update:modelValue", "click:clear"],
1867
+ setup(t, { emit: n }) {
1868
+ const e = t, a = n, { density: r, densityClass: u, touched: d, value: h, vuetifyBindings: k } = ce(e, a), f = we, v = Ht(), g = M(null), T = M(0), $ = M(null), C = M(0), j = M(null), P = x(() => g.value && T.value < 100), D = x(() => !!(k.value.disabled || k.value.readonly)), b = x(() => C.value > 0), S = x(() => {
1869
+ var A;
1870
+ return (A = $.value) != null ? A : h.value ? h.value : null;
1871
+ });
1872
+ function H() {
1873
+ $.value && (URL.revokeObjectURL($.value), $.value = null);
1874
+ }
1875
+ function K() {
1876
+ h.value = null, T.value = 0, g.value = null, H(), w();
1877
+ }
1878
+ function W(A) {
1879
+ K(), bt(e.control, A);
1880
+ }
1881
+ const { setupTouchInterval: L, clearTouchInterval: w } = pt(
1882
+ h,
1883
+ () => e.comms,
1884
+ () => e.touchInterval,
1885
+ W
1886
+ );
1887
+ Ye(() => H());
1888
+ function o() {
1889
+ return ge(this, null, function* () {
1890
+ h.value && (yield e.comms.delete(h.value)), K();
1891
+ });
1892
+ }
1893
+ function c(A) {
1894
+ return ge(this, null, function* () {
1895
+ T.value = -1, g.value = A, H(), $.value = URL.createObjectURL(A);
1896
+ try {
1897
+ h.value = yield e.comms.upload(A, (q, Q) => {
1898
+ T.value = Math.round(q * 100 / Q);
1899
+ }), T.value = 100, L();
1900
+ } catch (q) {
1901
+ throw T.value = 0, g.value = null, H(), q;
1902
+ }
1903
+ });
1904
+ }
1905
+ function m(A) {
1906
+ if (!A.type.startsWith("image/")) {
1907
+ console.error("Only image files are supported");
1908
+ return;
1909
+ }
1910
+ c(A);
1911
+ }
1912
+ function _(A) {
1913
+ var le;
1914
+ const q = A.target, Q = (le = q.files) == null ? void 0 : le[0];
1915
+ q.value = "", Q && m(Q);
1916
+ }
1917
+ function N() {
1918
+ D.value || (C.value += 1);
1919
+ }
1920
+ function O() {
1921
+ C.value = Math.max(0, C.value - 1);
1922
+ }
1923
+ function ne(A) {
1924
+ var Q, le;
1925
+ if (C.value = 0, D.value) return;
1926
+ const q = (le = (Q = A.dataTransfer) == null ? void 0 : Q.files) == null ? void 0 : le[0];
1927
+ q && m(q);
1928
+ }
1929
+ return (A, q) => {
1930
+ const Q = R("v-progress-linear"), le = R("v-img");
1931
+ return V(), F(l(He), X(ee(z({}, e), { loading: P.value }), {
1932
+ class: ["df-image-field", l(u)],
1933
+ clearable: "",
1934
+ "onClick:clear": o,
1935
+ onBlur: q[1] || (q[1] = (y) => d.value = !0)
1936
+ }), {
1937
+ "prepend-inner": s(() => [
1938
+ i(l(B), { name: "mdi-image" })
1939
+ ]),
1940
+ loader: s(() => [
1941
+ g.value && T.value < 100 ? (V(), F(Q, {
1942
+ key: 0,
1943
+ "model-value": T.value,
1944
+ indeterminate: T.value === -1
1945
+ }, null, 8, ["model-value", "indeterminate"])) : Y("", !0)
1946
+ ]),
1947
+ default: s((y) => [
1948
+ oe("div", {
1949
+ class: ue(["d-flex w-100 position-relative df-input-wrapper df-image-wrapper", [l(r), { "df-image-dragging": b.value, "df-image-disabled": D.value }]]),
1950
+ onDragenter: Te(N, ["prevent"]),
1951
+ onDragover: Te(N, ["prevent"]),
1952
+ onDragleave: Te(O, ["prevent"]),
1953
+ onDrop: Te(ne, ["prevent"]),
1954
+ onClick: q[0] || (q[0] = Te(() => {
1955
+ }, ["stop"]))
1956
+ }, [
1957
+ oe("input", {
1958
+ id: l(v),
1959
+ ref_key: "fileInputRef",
1960
+ ref: j,
1961
+ type: "file",
1962
+ accept: "image/*",
1963
+ class: "df-image-native-input",
1964
+ disabled: D.value,
1965
+ name: l(k).name,
1966
+ onChange: _,
1967
+ onFocus: (p) => y.focus(),
1968
+ onBlur: (p) => y.blur()
1969
+ }, null, 40, Ml),
1970
+ S.value ? (V(), Z("label", {
1971
+ key: 0,
1972
+ for: l(v),
1973
+ class: "df-image-preview-label"
1974
+ }, [
1975
+ i(le, {
1976
+ src: S.value,
1977
+ class: "df-image-preview",
1978
+ style: st(g.value && T.value < 100 ? "visibility: hidden" : "")
1979
+ }, null, 8, ["src", "style"])
1980
+ ], 8, Rl)) : (V(), Z("label", {
1981
+ key: 1,
1982
+ for: l(v),
1983
+ class: "df-image-placeholder"
1984
+ }, [
1985
+ i(l(B), { name: "mdi-tray-arrow-up" }),
1986
+ oe("span", null, G(l(f).ImageDropHint), 1)
1987
+ ], 8, Pl)),
1988
+ S.value && !D.value ? (V(), Z("label", {
1989
+ key: 2,
1990
+ for: l(v),
1991
+ class: "df-image-replace-btn",
1992
+ title: l(f).ImageReplace
1993
+ }, [
1994
+ i(l(B), { name: "mdi-pencil" })
1995
+ ], 8, Nl)) : Y("", !0)
1996
+ ], 34)
1997
+ ]),
1998
+ _: 1
1999
+ }, 16, ["class"]);
2000
+ };
2001
+ }
2002
+ }), xt = /* @__PURE__ */ te({
1815
2003
  __name: "df-input",
1816
- props: /* @__PURE__ */ ve({
2004
+ props: /* @__PURE__ */ pe({
1817
2005
  inputType: {},
1818
2006
  precision: {},
1819
2007
  step: {},
@@ -1833,7 +2021,7 @@ const _l = {
1833
2021
  passthroughAttrs: {},
1834
2022
  density: {},
1835
2023
  variant: {}
1836
- }, J(U({}, pe), {
2024
+ }, ee(z({}, be), {
1837
2025
  inputType: "text",
1838
2026
  precision: null,
1839
2027
  step: void 0,
@@ -1841,65 +2029,65 @@ const _l = {
1841
2029
  max: void 0
1842
2030
  })),
1843
2031
  emits: ["update:modelValue", "click:clear"],
1844
- setup(e, { emit: n }) {
1845
- const t = e, a = n, { densityClass: r, isRendered: d, label: c, showErrors: g, touched: w, value: v, visibilityClass: f, vuetifyBindings: h } = me(
1846
- t,
2032
+ setup(t, { emit: n }) {
2033
+ const e = t, a = n, { densityClass: r, isRendered: u, label: d, showErrors: h, touched: k, value: f, visibilityClass: v, vuetifyBindings: g } = ce(
2034
+ e,
1847
2035
  a
1848
- ), { inputType: L, max: $, min: A, precision: V, step: M } = Ee(t), I = C(() => L.value === "number"), b = C(
1849
- () => I.value ? { min: l(A), max: l($), precision: l(V), step: l(M) } : {}
2036
+ ), { inputType: T, max: $, min: C, precision: j, step: P } = Fe(e), D = x(() => T.value === "number"), b = x(
2037
+ () => D.value ? { min: l(C), max: l($), precision: l(j), step: l(P) } : {}
1850
2038
  );
1851
- return (D, O) => {
1852
- const E = P("v-text-field"), q = P("v-number-input");
1853
- return l(d) ? (j(), Q("div", {
2039
+ return (S, H) => {
2040
+ const K = R("v-text-field"), W = R("v-number-input");
2041
+ return l(u) ? (V(), Z("div", {
1854
2042
  key: 0,
1855
- class: ce(["df-input-container", [l(r), l(f)]])
2043
+ class: ue(["df-input-container", [l(r), l(v)]])
1856
2044
  }, [
1857
- I.value ? (j(), H(q, X({
2045
+ D.value ? (V(), F(W, X({
1858
2046
  key: 1,
1859
- modelValue: l(v),
1860
- "onUpdate:modelValue": O[2] || (O[2] = (S) => ke(v) ? v.value = S : null),
2047
+ modelValue: l(f),
2048
+ "onUpdate:modelValue": H[2] || (H[2] = (L) => Ce(f) ? f.value = L : null),
1861
2049
  density: "compact",
1862
2050
  "control-variant": "stacked"
1863
- }, U(U({}, l(h)), b.value)), {
1864
- label: s((S) => [
1865
- i(l(de), {
1866
- data: S,
1867
- label: l(c)
2051
+ }, z(z({}, l(g)), b.value)), {
2052
+ label: s((L) => [
2053
+ i(l(fe), {
2054
+ data: L,
2055
+ label: l(d)
1868
2056
  }, null, 8, ["data", "label"])
1869
2057
  ]),
1870
- message: s(({ message: S }) => [
1871
- i(l(ue), {
1872
- message: S,
1873
- errors: l(g)
2058
+ message: s(({ message: L }) => [
2059
+ i(l(ve), {
2060
+ message: L,
2061
+ errors: l(h)
1874
2062
  }, null, 8, ["message", "errors"])
1875
2063
  ]),
1876
2064
  _: 1
1877
- }, 16, ["modelValue"])) : (j(), H(E, X({
2065
+ }, 16, ["modelValue"])) : (V(), F(K, X({
1878
2066
  key: 0,
1879
- modelValue: l(v),
1880
- "onUpdate:modelValue": O[0] || (O[0] = (S) => ke(v) ? v.value = S : null),
1881
- type: l(L)
1882
- }, l(h), {
1883
- onBlur: O[1] || (O[1] = (S) => w.value = !0)
2067
+ modelValue: l(f),
2068
+ "onUpdate:modelValue": H[0] || (H[0] = (L) => Ce(f) ? f.value = L : null),
2069
+ type: l(T)
2070
+ }, l(g), {
2071
+ onBlur: H[1] || (H[1] = (L) => k.value = !0)
1884
2072
  }), {
1885
- label: s((S) => [
1886
- i(l(de), {
1887
- data: S,
1888
- label: l(c)
2073
+ label: s((L) => [
2074
+ i(l(fe), {
2075
+ data: L,
2076
+ label: l(d)
1889
2077
  }, null, 8, ["data", "label"])
1890
2078
  ]),
1891
- message: s(({ message: S }) => [
1892
- i(l(ue), {
1893
- message: S,
1894
- errors: l(g)
2079
+ message: s(({ message: L }) => [
2080
+ i(l(ve), {
2081
+ message: L,
2082
+ errors: l(h)
1895
2083
  }, null, 8, ["message", "errors"])
1896
2084
  ]),
1897
2085
  _: 1
1898
2086
  }, 16, ["modelValue", "type"]))
1899
- ], 2)) : G("", !0);
2087
+ ], 2)) : Y("", !0);
1900
2088
  };
1901
2089
  }
1902
- }), Ll = dn.create({
2090
+ }), El = fn.create({
1903
2091
  name: "classAttribute",
1904
2092
  addGlobalAttributes() {
1905
2093
  return [
@@ -1908,26 +2096,26 @@ const _l = {
1908
2096
  attributes: {
1909
2097
  class: {
1910
2098
  default: null,
1911
- parseHTML: (e) => e.getAttribute("class"),
1912
- renderHTML: (e) => e.class ? { class: e.class } : {}
2099
+ parseHTML: (t) => t.getAttribute("class"),
2100
+ renderHTML: (t) => t.class ? { class: t.class } : {}
1913
2101
  }
1914
2102
  }
1915
2103
  }
1916
2104
  ];
1917
2105
  }
1918
2106
  });
1919
- function gt(e, n) {
1920
- return cn.create({
1921
- name: e,
2107
+ function At(t, n) {
2108
+ return pn.create({
2109
+ name: t,
1922
2110
  parseHTML() {
1923
2111
  return [{ tag: `span.${n}` }];
1924
2112
  },
1925
- renderHTML({ HTMLAttributes: t }) {
1926
- return ["span", ut(t, { class: n }), 0];
2113
+ renderHTML({ HTMLAttributes: e }) {
2114
+ return ["span", vt(e, { class: n }), 0];
1927
2115
  }
1928
2116
  });
1929
2117
  }
1930
- const $l = gt("marker", "marker"), Sl = gt("spoiler", "spoiler"), Ml = [
2118
+ const Ul = At("marker", "marker"), zl = At("spoiler", "spoiler"), Fl = [
1931
2119
  { key: "ArticleCategory", kind: "heading", level: 3, className: "category" },
1932
2120
  { key: "Title", kind: "heading", level: 2, className: "document-title" },
1933
2121
  { key: "Subtitle", kind: "heading", level: 3, className: "document-subtitle" },
@@ -1938,112 +2126,112 @@ const $l = gt("marker", "marker"), Sl = gt("spoiler", "spoiler"), Ml = [
1938
2126
  { key: "CodeDark", kind: "codeBlock", className: "fancy-code fancy-code-dark" },
1939
2127
  { key: "CodeBright", kind: "codeBlock", className: "fancy-code fancy-code-bright" }
1940
2128
  ];
1941
- function Ye(e) {
1942
- const { state: n } = e, { $from: t } = n.selection;
1943
- return t.depth > 0 || n.doc.content.size === 0 ? t : n.doc.resolve(Math.min(1, n.doc.content.size));
2129
+ function Qe(t) {
2130
+ const { state: n } = t, { $from: e } = n.selection;
2131
+ return e.depth > 0 || n.doc.content.size === 0 ? e : n.doc.resolve(Math.min(1, n.doc.content.size));
1944
2132
  }
1945
- function Pe(e) {
1946
- return Ye(e).parent;
2133
+ function Ee(t) {
2134
+ return Qe(t).parent;
1947
2135
  }
1948
- function kt(e, n) {
1949
- const t = Ye(e);
1950
- for (let a = t.depth; a >= 0; a -= 1)
1951
- if (t.node(a).type.name === n) return t.node(a);
2136
+ function Tt(t, n) {
2137
+ const e = Qe(t);
2138
+ for (let a = e.depth; a >= 0; a -= 1)
2139
+ if (e.node(a).type.name === n) return e.node(a);
1952
2140
  return null;
1953
2141
  }
1954
- function $e(e, n) {
2142
+ function $e(t, n) {
1955
2143
  switch (n.kind) {
1956
2144
  case "heading": {
1957
- const t = Pe(e);
1958
- return t.type.name === "heading" && t.attrs.level === n.level && t.attrs.class === n.className;
2145
+ const e = Ee(t);
2146
+ return e.type.name === "heading" && e.attrs.level === n.level && e.attrs.class === n.className;
1959
2147
  }
1960
2148
  case "paragraph": {
1961
- const t = Pe(e);
1962
- return t.type.name === "paragraph" && t.attrs.class === n.className;
2149
+ const e = Ee(t);
2150
+ return e.type.name === "paragraph" && e.attrs.class === n.className;
1963
2151
  }
1964
2152
  case "codeBlock": {
1965
- const t = Pe(e);
1966
- return t.type.name === "codeBlock" && t.attrs.class === n.className;
2153
+ const e = Ee(t);
2154
+ return e.type.name === "codeBlock" && e.attrs.class === n.className;
1967
2155
  }
1968
2156
  case "blockquote": {
1969
- const t = kt(e, "blockquote");
1970
- return !!t && t.attrs.class === n.className;
2157
+ const e = Tt(t, "blockquote");
2158
+ return !!e && e.attrs.class === n.className;
1971
2159
  }
1972
2160
  case "mark":
1973
- return e.isActive(n.markName);
2161
+ return t.isActive(n.markName);
1974
2162
  default:
1975
2163
  return !1;
1976
2164
  }
1977
2165
  }
1978
- function Dl(e, n) {
1979
- const t = e.chain().focus(), { $from: a } = e.state.selection;
1980
- switch (n.kind !== "mark" && a.depth === 0 && e.state.doc.content.size > 0 && t.setTextSelection(Ye(e).pos), n.kind) {
2166
+ function Hl(t, n) {
2167
+ const e = t.chain().focus(), { $from: a } = t.state.selection;
2168
+ switch (n.kind !== "mark" && a.depth === 0 && t.state.doc.content.size > 0 && e.setTextSelection(Qe(t).pos), n.kind) {
1981
2169
  case "heading":
1982
- $e(e, n) ? t.setParagraph().updateAttributes("paragraph", { class: null }).run() : t.setNode("heading", { level: n.level }).updateAttributes("heading", { class: n.className }).run();
2170
+ $e(t, n) ? e.setParagraph().updateAttributes("paragraph", { class: null }).run() : e.setNode("heading", { level: n.level }).updateAttributes("heading", { class: n.className }).run();
1983
2171
  break;
1984
2172
  case "paragraph":
1985
- $e(e, n) ? t.setParagraph().updateAttributes("paragraph", { class: null }).run() : t.setParagraph().updateAttributes("paragraph", { class: n.className }).run();
2173
+ $e(t, n) ? e.setParagraph().updateAttributes("paragraph", { class: null }).run() : e.setParagraph().updateAttributes("paragraph", { class: n.className }).run();
1986
2174
  break;
1987
2175
  case "blockquote":
1988
- $e(e, n) ? t.unsetBlockquote().run() : kt(e, "blockquote") ? t.updateAttributes("blockquote", { class: n.className }).run() : t.setBlockquote().updateAttributes("blockquote", { class: n.className }).run();
2176
+ $e(t, n) ? e.unsetBlockquote().run() : Tt(t, "blockquote") ? e.updateAttributes("blockquote", { class: n.className }).run() : e.setBlockquote().updateAttributes("blockquote", { class: n.className }).run();
1989
2177
  break;
1990
2178
  case "codeBlock":
1991
- $e(e, n) ? t.toggleCodeBlock().updateAttributes("paragraph", { class: null }).run() : Pe(e).type.name === "codeBlock" ? t.updateAttributes("codeBlock", { class: n.className }).run() : t.setCodeBlock().updateAttributes("codeBlock", { class: n.className }).run();
2179
+ $e(t, n) ? e.toggleCodeBlock().updateAttributes("paragraph", { class: null }).run() : Ee(t).type.name === "codeBlock" ? e.updateAttributes("codeBlock", { class: n.className }).run() : e.setCodeBlock().updateAttributes("codeBlock", { class: n.className }).run();
1992
2180
  break;
1993
2181
  case "mark":
1994
- t.toggleMark(n.markName).run();
2182
+ e.toggleMark(n.markName).run();
1995
2183
  break;
1996
2184
  }
1997
2185
  }
1998
- function yt(e) {
1999
- return new Promise((n, t) => {
2186
+ function _t(t) {
2187
+ return new Promise((n, e) => {
2000
2188
  const a = new FileReader();
2001
- a.onload = () => n(a.result), a.onerror = () => t(a.error), a.readAsDataURL(e);
2189
+ a.onload = () => n(a.result), a.onerror = () => e(a.error), a.readAsDataURL(t);
2002
2190
  });
2003
2191
  }
2004
- function Il(e) {
2005
- if (!e) return [];
2192
+ function Ol(t) {
2193
+ if (!t) return [];
2006
2194
  const n = [];
2007
- return Array.from(e.items || []).forEach((t) => {
2008
- if (t.kind === "file") {
2009
- const a = t.getAsFile();
2195
+ return Array.from(t.items || []).forEach((e) => {
2196
+ if (e.kind === "file") {
2197
+ const a = e.getAsFile();
2010
2198
  a && a.type.startsWith("image/") && n.push(a);
2011
2199
  }
2012
- }), n.length === 0 && Array.from(e.files || []).forEach((t) => {
2013
- t.type.startsWith("image/") && n.push(t);
2200
+ }), n.length === 0 && Array.from(t.files || []).forEach((e) => {
2201
+ e.type.startsWith("image/") && n.push(e);
2014
2202
  }), n;
2015
2203
  }
2016
- function wt(e) {
2204
+ function Vt(t) {
2017
2205
  let n = 0;
2018
- return e.forEach((t) => {
2019
- t.type.name === "image" ? n += 1 : t.content.size && (n += wt(t.content));
2206
+ return t.forEach((e) => {
2207
+ e.type.name === "image" ? n += 1 : e.content.size && (n += Vt(e.content));
2020
2208
  }), n;
2021
2209
  }
2022
- function Ct(e, n, t) {
2210
+ function jt(t, n, e) {
2023
2211
  const a = [];
2024
- return e.forEach((r) => {
2025
- r.type.name === "image" && t.index < n.length ? (a.push(r.type.create(J(U({}, r.attrs), { src: n[t.index] }), r.content, r.marks)), t.index += 1) : r.content.size ? a.push(r.copy(Ct(r.content, n, t))) : a.push(r);
2026
- }), vn.fromArray(a);
2212
+ return t.forEach((r) => {
2213
+ r.type.name === "image" && e.index < n.length ? (a.push(r.type.create(ee(z({}, r.attrs), { src: n[e.index] }), r.content, r.marks)), e.index += 1) : r.content.size ? a.push(r.copy(jt(r.content, n, e))) : a.push(r);
2214
+ }), gn.fromArray(a);
2027
2215
  }
2028
- function Rl(e) {
2029
- return (n, t, a) => {
2030
- const r = Il(t.clipboardData);
2031
- return r.length === 0 ? !1 : (t.preventDefault(), Promise.all(r.map(yt)).then((d) => {
2032
- var c;
2033
- if (wt(a.content) > 0) {
2034
- const g = Ct(a.content, d, { index: 0 }), w = new fn(g, a.openStart, a.openEnd);
2035
- n.dispatch(n.state.tr.replaceSelection(w).scrollIntoView());
2216
+ function Wl(t) {
2217
+ return (n, e, a) => {
2218
+ const r = Ol(e.clipboardData);
2219
+ return r.length === 0 ? !1 : (e.preventDefault(), Promise.all(r.map(_t)).then((u) => {
2220
+ var d;
2221
+ if (Vt(a.content) > 0) {
2222
+ const h = jt(a.content, u, { index: 0 }), k = new hn(h, a.openStart, a.openEnd);
2223
+ n.dispatch(n.state.tr.replaceSelection(k).scrollIntoView());
2036
2224
  return;
2037
2225
  }
2038
- (c = e()) == null || c.chain().focus().insertContent(d.map((g) => ({ type: "image", attrs: { src: g } }))).run();
2226
+ (d = t()) == null || d.chain().focus().insertContent(u.map((h) => ({ type: "image", attrs: { src: h } }))).run();
2039
2227
  }), !0);
2040
2228
  };
2041
2229
  }
2042
- const Pl = pn.extend({
2230
+ const ql = yn.extend({
2043
2231
  name: "link",
2044
2232
  addAttributes() {
2045
- var e;
2046
- return J(U({}, (e = this.parent) == null ? void 0 : e.call(this)), {
2233
+ var t;
2234
+ return ee(z({}, (t = this.parent) == null ? void 0 : t.call(this)), {
2047
2235
  download: {
2048
2236
  default: null,
2049
2237
  parseHTML: (n) => n.getAttribute("download"),
@@ -2052,33 +2240,33 @@ const Pl = pn.extend({
2052
2240
  });
2053
2241
  }
2054
2242
  });
2055
- function Nl(e) {
2243
+ function Kl(t) {
2056
2244
  let n;
2057
2245
  try {
2058
- n = new URL(e);
2246
+ n = new URL(t);
2059
2247
  } catch (a) {
2060
2248
  return null;
2061
2249
  }
2062
- const t = n.hostname.replace(/^www\.|^m\./, "");
2063
- if (t === "youtube.com") {
2250
+ const e = n.hostname.replace(/^www\.|^m\./, "");
2251
+ if (e === "youtube.com") {
2064
2252
  const a = n.searchParams.get("v");
2065
2253
  if (a) return `https://www.youtube.com/embed/${a}`;
2066
2254
  const r = n.pathname.match(/^\/embed\/([\w-]+)/);
2067
2255
  if (r) return `https://www.youtube.com/embed/${r[1]}`;
2068
- const d = n.pathname.match(/^\/shorts\/([\w-]+)/);
2069
- return d ? `https://www.youtube.com/embed/${d[1]}` : null;
2256
+ const u = n.pathname.match(/^\/shorts\/([\w-]+)/);
2257
+ return u ? `https://www.youtube.com/embed/${u[1]}` : null;
2070
2258
  }
2071
- if (t === "youtu.be") {
2259
+ if (e === "youtu.be") {
2072
2260
  const a = n.pathname.slice(1);
2073
2261
  return a ? `https://www.youtube.com/embed/${a}` : null;
2074
2262
  }
2075
- if (t === "vimeo.com") {
2263
+ if (e === "vimeo.com") {
2076
2264
  const a = n.pathname.split("/").filter(Boolean).pop();
2077
2265
  return a && /^\d+$/.test(a) ? `https://player.vimeo.com/video/${a}` : null;
2078
2266
  }
2079
2267
  return null;
2080
2268
  }
2081
- const zl = mn.create({
2269
+ const Gl = bn.create({
2082
2270
  name: "mediaEmbed",
2083
2271
  group: "block",
2084
2272
  atom: !0,
@@ -2091,41 +2279,41 @@ const zl = mn.create({
2091
2279
  parseHTML() {
2092
2280
  return [{ tag: "iframe.media-embed" }];
2093
2281
  },
2094
- renderHTML({ HTMLAttributes: e }) {
2282
+ renderHTML({ HTMLAttributes: t }) {
2095
2283
  return [
2096
2284
  "iframe",
2097
- ut(
2285
+ vt(
2098
2286
  {
2099
2287
  class: "media-embed",
2100
2288
  frameborder: "0",
2101
2289
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
2102
2290
  allowfullscreen: "true"
2103
2291
  },
2104
- e
2292
+ t
2105
2293
  )
2106
2294
  ];
2107
2295
  }
2108
2296
  });
2109
- function At(e) {
2110
- const n = F(0);
2111
- let t;
2297
+ function Bt(t) {
2298
+ const n = M(0);
2299
+ let e;
2112
2300
  const a = () => {
2113
2301
  n.value += 1;
2114
- }, r = (d) => {
2115
- t == null || t.off("transaction", a), t = d, t == null || t.on("transaction", a);
2302
+ }, r = (u) => {
2303
+ e == null || e.off("transaction", a), e = u, e == null || e.on("transaction", a);
2116
2304
  };
2117
- return se(e, r, { immediate: !0 }), ot(() => r(void 0)), n;
2305
+ return me(t, r, { immediate: !0 }), Ye(() => r(void 0)), n;
2118
2306
  }
2119
- const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex justify-space-between align-center ga-2 mt-2" }, Fl = { class: "d-flex justify-end mt-2" }, Hl = /* @__PURE__ */ Z({
2307
+ const Xl = { class: "d-flex justify-end ga-2 mt-2" }, Yl = { class: "d-flex justify-space-between align-center ga-2 mt-2" }, Jl = { class: "d-flex justify-end mt-2" }, Ql = /* @__PURE__ */ te({
2120
2308
  __name: "rtf-toolbar",
2121
2309
  props: {
2122
2310
  editor: {}
2123
2311
  },
2124
- setup(e) {
2125
- const n = e, t = Ce, a = C(() => n.editor), r = At(a), d = C(() => {
2312
+ setup(t) {
2313
+ const n = t, e = we, a = x(() => n.editor), r = Bt(a), u = x(() => {
2126
2314
  var o;
2127
2315
  return !!((o = n.editor) != null && o.isEditable);
2128
- }), c = C(() => {
2316
+ }), d = x(() => {
2129
2317
  r.value;
2130
2318
  const o = n.editor;
2131
2319
  return {
@@ -2145,85 +2333,85 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2145
2333
  canLift: !!(o != null && o.can().liftListItem("listItem")),
2146
2334
  canSink: !!(o != null && o.can().sinkListItem("listItem"))
2147
2335
  };
2148
- }), g = [
2149
- { level: 0, label: t.Paragraph },
2150
- { level: 1, label: t.Heading1 },
2151
- { level: 2, label: t.Heading2 },
2152
- { level: 3, label: t.Heading3 },
2153
- { level: 4, label: t.Heading4 },
2154
- { level: 5, label: t.Heading5 },
2155
- { level: 6, label: t.Heading6 }
2336
+ }), h = [
2337
+ { level: 0, label: e.Paragraph },
2338
+ { level: 1, label: e.Heading1 },
2339
+ { level: 2, label: e.Heading2 },
2340
+ { level: 3, label: e.Heading3 },
2341
+ { level: 4, label: e.Heading4 },
2342
+ { level: 5, label: e.Heading5 },
2343
+ { level: 6, label: e.Heading6 }
2156
2344
  ];
2157
- function w(o) {
2158
- var u, m;
2159
- return r.value, o === 0 ? !!((u = a.value) != null && u.isActive("paragraph")) : !!((m = a.value) != null && m.isActive("heading", { level: o }));
2345
+ function k(o) {
2346
+ var c, m;
2347
+ return r.value, o === 0 ? !!((c = a.value) != null && c.isActive("paragraph")) : !!((m = a.value) != null && m.isActive("heading", { level: o }));
2160
2348
  }
2161
- const v = C(
2349
+ const f = x(
2162
2350
  () => {
2163
- var o, u;
2164
- return (u = (o = g.find((m) => w(m.level))) == null ? void 0 : o.label) != null ? u : t.Paragraph;
2351
+ var o, c;
2352
+ return (c = (o = h.find((m) => k(m.level))) == null ? void 0 : o.label) != null ? c : e.Paragraph;
2165
2353
  }
2166
2354
  );
2167
- function f(o) {
2355
+ function v(o) {
2168
2356
  var m;
2169
- const u = (m = a.value) == null ? void 0 : m.chain().focus();
2170
- u && (o === 0 ? u.setParagraph().run() : u.toggleHeading({ level: o }).run());
2357
+ const c = (m = a.value) == null ? void 0 : m.chain().focus();
2358
+ c && (o === 0 ? c.setParagraph().run() : c.toggleHeading({ level: o }).run());
2171
2359
  }
2172
- const h = Ml;
2173
- function L(o) {
2360
+ const g = Fl;
2361
+ function T(o) {
2174
2362
  return r.value, !!a.value && $e(a.value, o);
2175
2363
  }
2176
- const $ = F(""), A = F(!1);
2177
- function V() {
2178
- var u, m, x;
2179
- const o = (m = (u = a.value) == null ? void 0 : u.getAttributes("link")) != null ? m : {};
2180
- $.value = (x = o.href) != null ? x : "", A.value = !!o.download;
2364
+ const $ = M(""), C = M(!1);
2365
+ function j() {
2366
+ var c, m, _;
2367
+ const o = (m = (c = a.value) == null ? void 0 : c.getAttributes("link")) != null ? m : {};
2368
+ $.value = (_ = o.href) != null ? _ : "", C.value = !!o.download;
2181
2369
  }
2182
- function M() {
2370
+ function P() {
2183
2371
  var o;
2184
- $.value && ((o = a.value) == null || o.chain().focus().extendMarkRange("link").setLink({ href: $.value }).updateAttributes("link", { download: A.value ? "file" : null }).run());
2372
+ $.value && ((o = a.value) == null || o.chain().focus().extendMarkRange("link").setLink({ href: $.value }).updateAttributes("link", { download: C.value ? "file" : null }).run());
2185
2373
  }
2186
- function I() {
2374
+ function D() {
2187
2375
  var o;
2188
2376
  (o = a.value) == null || o.chain().focus().unsetLink().run();
2189
2377
  }
2190
- const b = F(""), D = F();
2191
- function O() {
2378
+ const b = M(""), S = M();
2379
+ function H() {
2192
2380
  var o;
2193
2381
  b.value && ((o = a.value) == null || o.chain().focus().setImage({ src: b.value }).run(), b.value = "");
2194
2382
  }
2195
- function E() {
2383
+ function K() {
2196
2384
  var o;
2197
- (o = D.value) == null || o.click();
2198
- }
2199
- function q(o) {
2200
- return Te(this, null, function* () {
2201
- var x, N;
2202
- const u = (x = o.target.files) == null ? void 0 : x[0];
2203
- if (!u) return;
2204
- const m = yield yt(u);
2385
+ (o = S.value) == null || o.click();
2386
+ }
2387
+ function W(o) {
2388
+ return ge(this, null, function* () {
2389
+ var _, N;
2390
+ const c = (_ = o.target.files) == null ? void 0 : _[0];
2391
+ if (!c) return;
2392
+ const m = yield _t(c);
2205
2393
  (N = a.value) == null || N.chain().focus().setImage({ src: m }).run(), o.target.value = "";
2206
2394
  });
2207
2395
  }
2208
- const S = F("");
2209
- function y() {
2396
+ const L = M("");
2397
+ function w() {
2210
2398
  var m;
2211
- if (!S.value) return;
2212
- const o = Nl(S.value), u = (m = a.value) == null ? void 0 : m.chain().focus();
2213
- u && (o ? u.insertContent({ type: "mediaEmbed", attrs: { src: o } }).run() : u.insertContent({ type: "text", text: S.value, marks: [{ type: "link", attrs: { href: S.value } }] }).run(), S.value = "");
2214
- }
2215
- return (o, u) => {
2216
- const m = P("v-btn"), x = P("v-divider"), N = P("v-list-item-title"), W = P("v-list-item"), te = P("v-list"), _ = P("v-menu"), ie = P("v-text-field"), be = P("v-checkbox"), Ae = P("v-card");
2217
- return j(), Q("div", {
2218
- class: ce(["rtf-toolbar", { "rtf-toolbar--disabled": !d.value }])
2399
+ if (!L.value) return;
2400
+ const o = Kl(L.value), c = (m = a.value) == null ? void 0 : m.chain().focus();
2401
+ c && (o ? c.insertContent({ type: "mediaEmbed", attrs: { src: o } }).run() : c.insertContent({ type: "text", text: L.value, marks: [{ type: "link", attrs: { href: L.value } }] }).run(), L.value = "");
2402
+ }
2403
+ return (o, c) => {
2404
+ const m = R("v-btn"), _ = R("v-divider"), N = R("v-list-item-title"), O = R("v-list-item"), ne = R("v-list"), A = R("v-menu"), q = R("v-text-field"), Q = R("v-checkbox"), le = R("v-card");
2405
+ return V(), Z("div", {
2406
+ class: ue(["rtf-toolbar", { "rtf-toolbar--disabled": !u.value }])
2219
2407
  }, [
2220
2408
  i(m, {
2221
2409
  icon: "",
2222
2410
  size: "small",
2223
2411
  variant: "text",
2224
- title: l(t).Undo,
2225
- disabled: !d.value || !c.value.canUndo,
2226
- onClick: u[0] || (u[0] = (k) => {
2412
+ title: l(e).Undo,
2413
+ disabled: !u.value || !d.value.canUndo,
2414
+ onClick: c[0] || (c[0] = (y) => {
2227
2415
  var p;
2228
2416
  return (p = a.value) == null ? void 0 : p.chain().focus().undo().run();
2229
2417
  })
@@ -2237,9 +2425,9 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2237
2425
  icon: "",
2238
2426
  size: "small",
2239
2427
  variant: "text",
2240
- title: l(t).Redo,
2241
- disabled: !d.value || !c.value.canRedo,
2242
- onClick: u[1] || (u[1] = (k) => {
2428
+ title: l(e).Redo,
2429
+ disabled: !u.value || !d.value.canRedo,
2430
+ onClick: c[1] || (c[1] = (y) => {
2243
2431
  var p;
2244
2432
  return (p = a.value) == null ? void 0 : p.chain().focus().redo().run();
2245
2433
  })
@@ -2249,7 +2437,7 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2249
2437
  ]),
2250
2438
  _: 1
2251
2439
  }, 8, ["title", "disabled"]),
2252
- i(x, {
2440
+ i(_, {
2253
2441
  vertical: "",
2254
2442
  inset: "",
2255
2443
  class: "mx-1"
@@ -2258,9 +2446,9 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2258
2446
  icon: "",
2259
2447
  size: "small",
2260
2448
  variant: "text",
2261
- title: l(t).SelectAll,
2262
- disabled: !d.value,
2263
- onClick: u[2] || (u[2] = (k) => {
2449
+ title: l(e).SelectAll,
2450
+ disabled: !u.value,
2451
+ onClick: c[2] || (c[2] = (y) => {
2264
2452
  var p;
2265
2453
  return (p = a.value) == null ? void 0 : p.chain().focus().selectAll().run();
2266
2454
  })
@@ -2270,36 +2458,36 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2270
2458
  ]),
2271
2459
  _: 1
2272
2460
  }, 8, ["title", "disabled"]),
2273
- i(x, {
2461
+ i(_, {
2274
2462
  vertical: "",
2275
2463
  inset: "",
2276
2464
  class: "mx-1"
2277
2465
  }),
2278
- i(_, null, {
2279
- activator: s(({ props: k }) => [
2466
+ i(A, null, {
2467
+ activator: s(({ props: y }) => [
2280
2468
  i(m, X({
2281
2469
  size: "small",
2282
2470
  variant: "text",
2283
- disabled: !d.value
2284
- }, k, { "append-icon": "mdi-chevron-down" }), {
2471
+ disabled: !u.value
2472
+ }, y, { "append-icon": "mdi-chevron-down" }), {
2285
2473
  default: s(() => [
2286
- Y(K(v.value), 1)
2474
+ J(G(f.value), 1)
2287
2475
  ]),
2288
2476
  _: 1
2289
2477
  }, 16, ["disabled"])
2290
2478
  ]),
2291
2479
  default: s(() => [
2292
- i(te, { density: "compact" }, {
2480
+ i(ne, { density: "compact" }, {
2293
2481
  default: s(() => [
2294
- (j(), Q(Me, null, Ke(g, (k) => i(W, {
2295
- key: k.level,
2296
- active: w(k.level),
2297
- onClick: (p) => f(k.level)
2482
+ (V(), Z(Se, null, Xe(h, (y) => i(O, {
2483
+ key: y.level,
2484
+ active: k(y.level),
2485
+ onClick: (p) => v(y.level)
2298
2486
  }, {
2299
2487
  default: s(() => [
2300
2488
  i(N, null, {
2301
2489
  default: s(() => [
2302
- Y(K(k.label), 1)
2490
+ J(G(y.label), 1)
2303
2491
  ]),
2304
2492
  _: 2
2305
2493
  }, 1024)
@@ -2312,31 +2500,31 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2312
2500
  ]),
2313
2501
  _: 1
2314
2502
  }),
2315
- i(_, null, {
2316
- activator: s(({ props: k }) => [
2503
+ i(A, null, {
2504
+ activator: s(({ props: y }) => [
2317
2505
  i(m, X({
2318
2506
  size: "small",
2319
2507
  variant: "text",
2320
- disabled: !d.value
2321
- }, k, { "append-icon": "mdi-chevron-down" }), {
2508
+ disabled: !u.value
2509
+ }, y, { "append-icon": "mdi-chevron-down" }), {
2322
2510
  default: s(() => [
2323
- Y(K(l(t).Style), 1)
2511
+ J(G(l(e).Style), 1)
2324
2512
  ]),
2325
2513
  _: 1
2326
2514
  }, 16, ["disabled"])
2327
2515
  ]),
2328
2516
  default: s(() => [
2329
- i(te, { density: "compact" }, {
2517
+ i(ne, { density: "compact" }, {
2330
2518
  default: s(() => [
2331
- (j(!0), Q(Me, null, Ke(l(h), (k) => (j(), H(W, {
2332
- key: k.key,
2333
- active: L(k),
2334
- onClick: (p) => a.value && l(Dl)(a.value, k)
2519
+ (V(!0), Z(Se, null, Xe(l(g), (y) => (V(), F(O, {
2520
+ key: y.key,
2521
+ active: T(y),
2522
+ onClick: (p) => a.value && l(Hl)(a.value, y)
2335
2523
  }, {
2336
2524
  default: s(() => [
2337
2525
  i(N, null, {
2338
2526
  default: s(() => [
2339
- Y(K(l(t)[k.key]), 1)
2527
+ J(G(l(e)[y.key]), 1)
2340
2528
  ]),
2341
2529
  _: 2
2342
2530
  }, 1024)
@@ -2349,7 +2537,7 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2349
2537
  ]),
2350
2538
  _: 1
2351
2539
  }),
2352
- i(x, {
2540
+ i(_, {
2353
2541
  vertical: "",
2354
2542
  inset: "",
2355
2543
  class: "mx-1"
@@ -2358,10 +2546,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2358
2546
  icon: "",
2359
2547
  size: "small",
2360
2548
  variant: "text",
2361
- title: l(t).Bold,
2362
- disabled: !d.value,
2363
- active: c.value.bold,
2364
- onClick: u[3] || (u[3] = (k) => {
2549
+ title: l(e).Bold,
2550
+ disabled: !u.value,
2551
+ active: d.value.bold,
2552
+ onClick: c[3] || (c[3] = (y) => {
2365
2553
  var p;
2366
2554
  return (p = a.value) == null ? void 0 : p.chain().focus().toggleBold().run();
2367
2555
  })
@@ -2375,10 +2563,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2375
2563
  icon: "",
2376
2564
  size: "small",
2377
2565
  variant: "text",
2378
- title: l(t).Italic,
2379
- disabled: !d.value,
2380
- active: c.value.italic,
2381
- onClick: u[4] || (u[4] = (k) => {
2566
+ title: l(e).Italic,
2567
+ disabled: !u.value,
2568
+ active: d.value.italic,
2569
+ onClick: c[4] || (c[4] = (y) => {
2382
2570
  var p;
2383
2571
  return (p = a.value) == null ? void 0 : p.chain().focus().toggleItalic().run();
2384
2572
  })
@@ -2388,7 +2576,7 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2388
2576
  ]),
2389
2577
  _: 1
2390
2578
  }, 8, ["title", "disabled", "active"]),
2391
- i(x, {
2579
+ i(_, {
2392
2580
  vertical: "",
2393
2581
  inset: "",
2394
2582
  class: "mx-1"
@@ -2397,9 +2585,9 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2397
2585
  icon: "",
2398
2586
  size: "small",
2399
2587
  variant: "text",
2400
- title: l(t).HorizontalLine,
2401
- disabled: !d.value,
2402
- onClick: u[5] || (u[5] = (k) => {
2588
+ title: l(e).HorizontalLine,
2589
+ disabled: !u.value,
2590
+ onClick: c[5] || (c[5] = (y) => {
2403
2591
  var p;
2404
2592
  return (p = a.value) == null ? void 0 : p.chain().focus().setHorizontalRule().run();
2405
2593
  })
@@ -2409,19 +2597,19 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2409
2597
  ]),
2410
2598
  _: 1
2411
2599
  }, 8, ["title", "disabled"]),
2412
- i(_, {
2600
+ i(A, {
2413
2601
  "close-on-content-click": !1,
2414
- "onUpdate:modelValue": u[8] || (u[8] = (k) => k && V())
2602
+ "onUpdate:modelValue": c[8] || (c[8] = (y) => y && j())
2415
2603
  }, {
2416
- activator: s(({ props: k }) => [
2604
+ activator: s(({ props: y }) => [
2417
2605
  i(m, X({
2418
2606
  icon: "",
2419
2607
  size: "small",
2420
2608
  variant: "text",
2421
- title: l(t).Link,
2422
- disabled: !d.value,
2423
- active: c.value.link
2424
- }, k), {
2609
+ title: l(e).Link,
2610
+ disabled: !u.value,
2611
+ active: d.value.link
2612
+ }, y), {
2425
2613
  default: s(() => [
2426
2614
  i(l(B), { name: "mdi-link-variant" })
2427
2615
  ]),
@@ -2429,48 +2617,48 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2429
2617
  }, 16, ["title", "disabled", "active"])
2430
2618
  ]),
2431
2619
  default: s(() => [
2432
- i(Ae, {
2620
+ i(le, {
2433
2621
  "min-width": "280",
2434
2622
  class: "pa-3"
2435
2623
  }, {
2436
2624
  default: s(() => [
2437
- i(ie, {
2625
+ i(q, {
2438
2626
  modelValue: $.value,
2439
- "onUpdate:modelValue": u[6] || (u[6] = (k) => $.value = k),
2440
- label: l(t).LinkUrl,
2627
+ "onUpdate:modelValue": c[6] || (c[6] = (y) => $.value = y),
2628
+ label: l(e).LinkUrl,
2441
2629
  density: "compact",
2442
2630
  "hide-details": "",
2443
2631
  autofocus: "",
2444
- onKeydown: Se(M, ["enter"])
2632
+ onKeydown: De(P, ["enter"])
2445
2633
  }, null, 8, ["modelValue", "label"]),
2446
- i(be, {
2447
- modelValue: A.value,
2448
- "onUpdate:modelValue": u[7] || (u[7] = (k) => A.value = k),
2449
- label: l(t).Downloadable,
2634
+ i(Q, {
2635
+ modelValue: C.value,
2636
+ "onUpdate:modelValue": c[7] || (c[7] = (y) => C.value = y),
2637
+ label: l(e).Downloadable,
2450
2638
  density: "compact",
2451
2639
  "hide-details": "",
2452
2640
  class: "mt-1"
2453
2641
  }, null, 8, ["modelValue", "label"]),
2454
- ae("div", El, [
2455
- c.value.link ? (j(), H(m, {
2642
+ oe("div", Xl, [
2643
+ d.value.link ? (V(), F(m, {
2456
2644
  key: 0,
2457
2645
  size: "small",
2458
2646
  variant: "text",
2459
- onClick: I
2647
+ onClick: D
2460
2648
  }, {
2461
2649
  default: s(() => [
2462
- Y(K(l(t).LinkRemove), 1)
2650
+ J(G(l(e).LinkRemove), 1)
2463
2651
  ]),
2464
2652
  _: 1
2465
- })) : G("", !0),
2653
+ })) : Y("", !0),
2466
2654
  i(m, {
2467
2655
  size: "small",
2468
2656
  color: "primary",
2469
2657
  variant: "tonal",
2470
- onClick: M
2658
+ onClick: P
2471
2659
  }, {
2472
2660
  default: s(() => [
2473
- Y(K(l(t).LinkApply), 1)
2661
+ J(G(l(e).LinkApply), 1)
2474
2662
  ]),
2475
2663
  _: 1
2476
2664
  })
@@ -2481,15 +2669,15 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2481
2669
  ]),
2482
2670
  _: 1
2483
2671
  }),
2484
- i(_, { "close-on-content-click": !1 }, {
2485
- activator: s(({ props: k }) => [
2672
+ i(A, { "close-on-content-click": !1 }, {
2673
+ activator: s(({ props: y }) => [
2486
2674
  i(m, X({
2487
2675
  icon: "",
2488
2676
  size: "small",
2489
2677
  variant: "text",
2490
- title: l(t).Image,
2491
- disabled: !d.value
2492
- }, k), {
2678
+ title: l(e).Image,
2679
+ disabled: !u.value
2680
+ }, y), {
2493
2681
  default: s(() => [
2494
2682
  i(l(B), { name: "mdi-image-plus" })
2495
2683
  ]),
@@ -2497,29 +2685,29 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2497
2685
  }, 16, ["title", "disabled"])
2498
2686
  ]),
2499
2687
  default: s(() => [
2500
- i(Ae, {
2688
+ i(le, {
2501
2689
  "min-width": "280",
2502
2690
  class: "pa-3"
2503
2691
  }, {
2504
2692
  default: s(() => [
2505
- i(ie, {
2693
+ i(q, {
2506
2694
  modelValue: b.value,
2507
- "onUpdate:modelValue": u[9] || (u[9] = (k) => b.value = k),
2508
- label: l(t).ImageUrl,
2695
+ "onUpdate:modelValue": c[9] || (c[9] = (y) => b.value = y),
2696
+ label: l(e).ImageUrl,
2509
2697
  density: "compact",
2510
2698
  "hide-details": "",
2511
2699
  autofocus: "",
2512
- onKeydown: Se(O, ["enter"])
2700
+ onKeydown: De(H, ["enter"])
2513
2701
  }, null, 8, ["modelValue", "label"]),
2514
- ae("div", Ul, [
2702
+ oe("div", Yl, [
2515
2703
  i(m, {
2516
2704
  size: "small",
2517
2705
  variant: "text",
2518
2706
  "prepend-icon": "mdi-upload",
2519
- onClick: E
2707
+ onClick: K
2520
2708
  }, {
2521
2709
  default: s(() => [
2522
- Y(K(l(t).ImageUpload), 1)
2710
+ J(G(l(e).ImageUpload), 1)
2523
2711
  ]),
2524
2712
  _: 1
2525
2713
  }),
@@ -2527,10 +2715,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2527
2715
  size: "small",
2528
2716
  color: "primary",
2529
2717
  variant: "tonal",
2530
- onClick: O
2718
+ onClick: H
2531
2719
  }, {
2532
2720
  default: s(() => [
2533
- Y(K(l(t).ImageInsert), 1)
2721
+ J(G(l(e).ImageInsert), 1)
2534
2722
  ]),
2535
2723
  _: 1
2536
2724
  })
@@ -2541,23 +2729,23 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2541
2729
  ]),
2542
2730
  _: 1
2543
2731
  }),
2544
- ae("input", {
2732
+ oe("input", {
2545
2733
  ref_key: "imageInput",
2546
- ref: D,
2734
+ ref: S,
2547
2735
  type: "file",
2548
2736
  accept: "image/*",
2549
2737
  class: "d-none",
2550
- onChange: q
2738
+ onChange: W
2551
2739
  }, null, 544),
2552
- i(_, { "close-on-content-click": !1 }, {
2553
- activator: s(({ props: k }) => [
2740
+ i(A, { "close-on-content-click": !1 }, {
2741
+ activator: s(({ props: y }) => [
2554
2742
  i(m, X({
2555
2743
  icon: "",
2556
2744
  size: "small",
2557
2745
  variant: "text",
2558
- title: l(t).MediaEmbed,
2559
- disabled: !d.value
2560
- }, k), {
2746
+ title: l(e).MediaEmbed,
2747
+ disabled: !u.value
2748
+ }, y), {
2561
2749
  default: s(() => [
2562
2750
  i(l(B), { name: "mdi-video-plus" })
2563
2751
  ]),
@@ -2565,29 +2753,29 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2565
2753
  }, 16, ["title", "disabled"])
2566
2754
  ]),
2567
2755
  default: s(() => [
2568
- i(Ae, {
2756
+ i(le, {
2569
2757
  "min-width": "280",
2570
2758
  class: "pa-3"
2571
2759
  }, {
2572
2760
  default: s(() => [
2573
- i(ie, {
2574
- modelValue: S.value,
2575
- "onUpdate:modelValue": u[10] || (u[10] = (k) => S.value = k),
2576
- label: l(t).MediaEmbedUrl,
2761
+ i(q, {
2762
+ modelValue: L.value,
2763
+ "onUpdate:modelValue": c[10] || (c[10] = (y) => L.value = y),
2764
+ label: l(e).MediaEmbedUrl,
2577
2765
  density: "compact",
2578
2766
  "hide-details": "",
2579
2767
  autofocus: "",
2580
- onKeydown: Se(y, ["enter"])
2768
+ onKeydown: De(w, ["enter"])
2581
2769
  }, null, 8, ["modelValue", "label"]),
2582
- ae("div", Fl, [
2770
+ oe("div", Jl, [
2583
2771
  i(m, {
2584
2772
  size: "small",
2585
2773
  color: "primary",
2586
2774
  variant: "tonal",
2587
- onClick: y
2775
+ onClick: w
2588
2776
  }, {
2589
2777
  default: s(() => [
2590
- Y(K(l(t).MediaEmbedInsert), 1)
2778
+ J(G(l(e).MediaEmbedInsert), 1)
2591
2779
  ]),
2592
2780
  _: 1
2593
2781
  })
@@ -2598,15 +2786,15 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2598
2786
  ]),
2599
2787
  _: 1
2600
2788
  }),
2601
- i(_, null, {
2602
- activator: s(({ props: k }) => [
2789
+ i(A, null, {
2790
+ activator: s(({ props: y }) => [
2603
2791
  i(m, X({
2604
2792
  icon: "",
2605
2793
  size: "small",
2606
2794
  variant: "text",
2607
- title: l(t).Table,
2608
- disabled: !d.value
2609
- }, k), {
2795
+ title: l(e).Table,
2796
+ disabled: !u.value
2797
+ }, y), {
2610
2798
  default: s(() => [
2611
2799
  i(l(B), { name: "mdi-table" })
2612
2800
  ]),
@@ -2614,10 +2802,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2614
2802
  }, 16, ["title", "disabled"])
2615
2803
  ]),
2616
2804
  default: s(() => [
2617
- i(te, { density: "compact" }, {
2805
+ i(ne, { density: "compact" }, {
2618
2806
  default: s(() => [
2619
- i(W, {
2620
- onClick: u[11] || (u[11] = (k) => {
2807
+ i(O, {
2808
+ onClick: c[11] || (c[11] = (y) => {
2621
2809
  var p;
2622
2810
  return (p = a.value) == null ? void 0 : p.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: !0 }).run();
2623
2811
  })
@@ -2628,17 +2816,17 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2628
2816
  default: s(() => [
2629
2817
  i(N, null, {
2630
2818
  default: s(() => [
2631
- Y(K(l(t).TableInsert), 1)
2819
+ J(G(l(e).TableInsert), 1)
2632
2820
  ]),
2633
2821
  _: 1
2634
2822
  })
2635
2823
  ]),
2636
2824
  _: 1
2637
2825
  }),
2638
- i(x),
2639
- i(W, {
2640
- disabled: !c.value.inTable,
2641
- onClick: u[12] || (u[12] = (k) => {
2826
+ i(_),
2827
+ i(O, {
2828
+ disabled: !d.value.inTable,
2829
+ onClick: c[12] || (c[12] = (y) => {
2642
2830
  var p;
2643
2831
  return (p = a.value) == null ? void 0 : p.chain().focus().addRowBefore().run();
2644
2832
  })
@@ -2649,16 +2837,16 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2649
2837
  default: s(() => [
2650
2838
  i(N, null, {
2651
2839
  default: s(() => [
2652
- Y(K(l(t).TableAddRowAbove), 1)
2840
+ J(G(l(e).TableAddRowAbove), 1)
2653
2841
  ]),
2654
2842
  _: 1
2655
2843
  })
2656
2844
  ]),
2657
2845
  _: 1
2658
2846
  }, 8, ["disabled"]),
2659
- i(W, {
2660
- disabled: !c.value.inTable,
2661
- onClick: u[13] || (u[13] = (k) => {
2847
+ i(O, {
2848
+ disabled: !d.value.inTable,
2849
+ onClick: c[13] || (c[13] = (y) => {
2662
2850
  var p;
2663
2851
  return (p = a.value) == null ? void 0 : p.chain().focus().addRowAfter().run();
2664
2852
  })
@@ -2669,16 +2857,16 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2669
2857
  default: s(() => [
2670
2858
  i(N, null, {
2671
2859
  default: s(() => [
2672
- Y(K(l(t).TableAddRowBelow), 1)
2860
+ J(G(l(e).TableAddRowBelow), 1)
2673
2861
  ]),
2674
2862
  _: 1
2675
2863
  })
2676
2864
  ]),
2677
2865
  _: 1
2678
2866
  }, 8, ["disabled"]),
2679
- i(W, {
2680
- disabled: !c.value.inTable,
2681
- onClick: u[14] || (u[14] = (k) => {
2867
+ i(O, {
2868
+ disabled: !d.value.inTable,
2869
+ onClick: c[14] || (c[14] = (y) => {
2682
2870
  var p;
2683
2871
  return (p = a.value) == null ? void 0 : p.chain().focus().deleteRow().run();
2684
2872
  })
@@ -2689,17 +2877,17 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2689
2877
  default: s(() => [
2690
2878
  i(N, null, {
2691
2879
  default: s(() => [
2692
- Y(K(l(t).TableDeleteRow), 1)
2880
+ J(G(l(e).TableDeleteRow), 1)
2693
2881
  ]),
2694
2882
  _: 1
2695
2883
  })
2696
2884
  ]),
2697
2885
  _: 1
2698
2886
  }, 8, ["disabled"]),
2699
- i(x),
2700
- i(W, {
2701
- disabled: !c.value.inTable,
2702
- onClick: u[15] || (u[15] = (k) => {
2887
+ i(_),
2888
+ i(O, {
2889
+ disabled: !d.value.inTable,
2890
+ onClick: c[15] || (c[15] = (y) => {
2703
2891
  var p;
2704
2892
  return (p = a.value) == null ? void 0 : p.chain().focus().addColumnBefore().run();
2705
2893
  })
@@ -2710,16 +2898,16 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2710
2898
  default: s(() => [
2711
2899
  i(N, null, {
2712
2900
  default: s(() => [
2713
- Y(K(l(t).TableAddColumnBefore), 1)
2901
+ J(G(l(e).TableAddColumnBefore), 1)
2714
2902
  ]),
2715
2903
  _: 1
2716
2904
  })
2717
2905
  ]),
2718
2906
  _: 1
2719
2907
  }, 8, ["disabled"]),
2720
- i(W, {
2721
- disabled: !c.value.inTable,
2722
- onClick: u[16] || (u[16] = (k) => {
2908
+ i(O, {
2909
+ disabled: !d.value.inTable,
2910
+ onClick: c[16] || (c[16] = (y) => {
2723
2911
  var p;
2724
2912
  return (p = a.value) == null ? void 0 : p.chain().focus().addColumnAfter().run();
2725
2913
  })
@@ -2730,16 +2918,16 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2730
2918
  default: s(() => [
2731
2919
  i(N, null, {
2732
2920
  default: s(() => [
2733
- Y(K(l(t).TableAddColumnAfter), 1)
2921
+ J(G(l(e).TableAddColumnAfter), 1)
2734
2922
  ]),
2735
2923
  _: 1
2736
2924
  })
2737
2925
  ]),
2738
2926
  _: 1
2739
2927
  }, 8, ["disabled"]),
2740
- i(W, {
2741
- disabled: !c.value.inTable,
2742
- onClick: u[17] || (u[17] = (k) => {
2928
+ i(O, {
2929
+ disabled: !d.value.inTable,
2930
+ onClick: c[17] || (c[17] = (y) => {
2743
2931
  var p;
2744
2932
  return (p = a.value) == null ? void 0 : p.chain().focus().deleteColumn().run();
2745
2933
  })
@@ -2750,17 +2938,17 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2750
2938
  default: s(() => [
2751
2939
  i(N, null, {
2752
2940
  default: s(() => [
2753
- Y(K(l(t).TableDeleteColumn), 1)
2941
+ J(G(l(e).TableDeleteColumn), 1)
2754
2942
  ]),
2755
2943
  _: 1
2756
2944
  })
2757
2945
  ]),
2758
2946
  _: 1
2759
2947
  }, 8, ["disabled"]),
2760
- i(x),
2761
- i(W, {
2762
- disabled: !c.value.inTable,
2763
- onClick: u[18] || (u[18] = (k) => {
2948
+ i(_),
2949
+ i(O, {
2950
+ disabled: !d.value.inTable,
2951
+ onClick: c[18] || (c[18] = (y) => {
2764
2952
  var p;
2765
2953
  return (p = a.value) == null ? void 0 : p.chain().focus().toggleHeaderRow().run();
2766
2954
  })
@@ -2771,16 +2959,16 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2771
2959
  default: s(() => [
2772
2960
  i(N, null, {
2773
2961
  default: s(() => [
2774
- Y(K(l(t).TableToggleHeaderRow), 1)
2962
+ J(G(l(e).TableToggleHeaderRow), 1)
2775
2963
  ]),
2776
2964
  _: 1
2777
2965
  })
2778
2966
  ]),
2779
2967
  _: 1
2780
2968
  }, 8, ["disabled"]),
2781
- i(W, {
2782
- disabled: !c.value.inTable,
2783
- onClick: u[19] || (u[19] = (k) => {
2969
+ i(O, {
2970
+ disabled: !d.value.inTable,
2971
+ onClick: c[19] || (c[19] = (y) => {
2784
2972
  var p;
2785
2973
  return (p = a.value) == null ? void 0 : p.chain().focus().deleteTable().run();
2786
2974
  })
@@ -2791,7 +2979,7 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2791
2979
  default: s(() => [
2792
2980
  i(N, null, {
2793
2981
  default: s(() => [
2794
- Y(K(l(t).TableDeleteTable), 1)
2982
+ J(G(l(e).TableDeleteTable), 1)
2795
2983
  ]),
2796
2984
  _: 1
2797
2985
  })
@@ -2808,10 +2996,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2808
2996
  icon: "",
2809
2997
  size: "small",
2810
2998
  variant: "text",
2811
- title: l(t).Blockquote,
2812
- disabled: !d.value,
2813
- active: c.value.blockquote,
2814
- onClick: u[20] || (u[20] = (k) => {
2999
+ title: l(e).Blockquote,
3000
+ disabled: !u.value,
3001
+ active: d.value.blockquote,
3002
+ onClick: c[20] || (c[20] = (y) => {
2815
3003
  var p;
2816
3004
  return (p = a.value) == null ? void 0 : p.chain().focus().toggleBlockquote().run();
2817
3005
  })
@@ -2821,7 +3009,7 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2821
3009
  ]),
2822
3010
  _: 1
2823
3011
  }, 8, ["title", "disabled", "active"]),
2824
- i(x, {
3012
+ i(_, {
2825
3013
  vertical: "",
2826
3014
  inset: "",
2827
3015
  class: "mx-1"
@@ -2830,10 +3018,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2830
3018
  icon: "",
2831
3019
  size: "small",
2832
3020
  variant: "text",
2833
- title: l(t).AlignLeft,
2834
- disabled: !d.value,
2835
- active: c.value.alignLeft,
2836
- onClick: u[21] || (u[21] = (k) => {
3021
+ title: l(e).AlignLeft,
3022
+ disabled: !u.value,
3023
+ active: d.value.alignLeft,
3024
+ onClick: c[21] || (c[21] = (y) => {
2837
3025
  var p;
2838
3026
  return (p = a.value) == null ? void 0 : p.chain().focus().setTextAlign("left").run();
2839
3027
  })
@@ -2847,10 +3035,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2847
3035
  icon: "",
2848
3036
  size: "small",
2849
3037
  variant: "text",
2850
- title: l(t).AlignCenter,
2851
- disabled: !d.value,
2852
- active: c.value.alignCenter,
2853
- onClick: u[22] || (u[22] = (k) => {
3038
+ title: l(e).AlignCenter,
3039
+ disabled: !u.value,
3040
+ active: d.value.alignCenter,
3041
+ onClick: c[22] || (c[22] = (y) => {
2854
3042
  var p;
2855
3043
  return (p = a.value) == null ? void 0 : p.chain().focus().setTextAlign("center").run();
2856
3044
  })
@@ -2864,10 +3052,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2864
3052
  icon: "",
2865
3053
  size: "small",
2866
3054
  variant: "text",
2867
- title: l(t).AlignRight,
2868
- disabled: !d.value,
2869
- active: c.value.alignRight,
2870
- onClick: u[23] || (u[23] = (k) => {
3055
+ title: l(e).AlignRight,
3056
+ disabled: !u.value,
3057
+ active: d.value.alignRight,
3058
+ onClick: c[23] || (c[23] = (y) => {
2871
3059
  var p;
2872
3060
  return (p = a.value) == null ? void 0 : p.chain().focus().setTextAlign("right").run();
2873
3061
  })
@@ -2881,10 +3069,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2881
3069
  icon: "",
2882
3070
  size: "small",
2883
3071
  variant: "text",
2884
- title: l(t).AlignJustify,
2885
- disabled: !d.value,
2886
- active: c.value.alignJustify,
2887
- onClick: u[24] || (u[24] = (k) => {
3072
+ title: l(e).AlignJustify,
3073
+ disabled: !u.value,
3074
+ active: d.value.alignJustify,
3075
+ onClick: c[24] || (c[24] = (y) => {
2888
3076
  var p;
2889
3077
  return (p = a.value) == null ? void 0 : p.chain().focus().setTextAlign("justify").run();
2890
3078
  })
@@ -2894,7 +3082,7 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2894
3082
  ]),
2895
3083
  _: 1
2896
3084
  }, 8, ["title", "disabled", "active"]),
2897
- i(x, {
3085
+ i(_, {
2898
3086
  vertical: "",
2899
3087
  inset: "",
2900
3088
  class: "mx-1"
@@ -2903,10 +3091,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2903
3091
  icon: "",
2904
3092
  size: "small",
2905
3093
  variant: "text",
2906
- title: l(t).BulletedList,
2907
- disabled: !d.value,
2908
- active: c.value.bulletList,
2909
- onClick: u[25] || (u[25] = (k) => {
3094
+ title: l(e).BulletedList,
3095
+ disabled: !u.value,
3096
+ active: d.value.bulletList,
3097
+ onClick: c[25] || (c[25] = (y) => {
2910
3098
  var p;
2911
3099
  return (p = a.value) == null ? void 0 : p.chain().focus().toggleBulletList().run();
2912
3100
  })
@@ -2920,10 +3108,10 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2920
3108
  icon: "",
2921
3109
  size: "small",
2922
3110
  variant: "text",
2923
- title: l(t).NumberedList,
2924
- disabled: !d.value,
2925
- active: c.value.orderedList,
2926
- onClick: u[26] || (u[26] = (k) => {
3111
+ title: l(e).NumberedList,
3112
+ disabled: !u.value,
3113
+ active: d.value.orderedList,
3114
+ onClick: c[26] || (c[26] = (y) => {
2927
3115
  var p;
2928
3116
  return (p = a.value) == null ? void 0 : p.chain().focus().toggleOrderedList().run();
2929
3117
  })
@@ -2937,9 +3125,9 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2937
3125
  icon: "",
2938
3126
  size: "small",
2939
3127
  variant: "text",
2940
- title: l(t).Outdent,
2941
- disabled: !d.value || !c.value.canLift,
2942
- onClick: u[27] || (u[27] = (k) => {
3128
+ title: l(e).Outdent,
3129
+ disabled: !u.value || !d.value.canLift,
3130
+ onClick: c[27] || (c[27] = (y) => {
2943
3131
  var p;
2944
3132
  return (p = a.value) == null ? void 0 : p.chain().focus().liftListItem("listItem").run();
2945
3133
  })
@@ -2953,9 +3141,9 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2953
3141
  icon: "",
2954
3142
  size: "small",
2955
3143
  variant: "text",
2956
- title: l(t).Indent,
2957
- disabled: !d.value || !c.value.canSink,
2958
- onClick: u[28] || (u[28] = (k) => {
3144
+ title: l(e).Indent,
3145
+ disabled: !u.value || !d.value.canSink,
3146
+ onClick: c[28] || (c[28] = (y) => {
2959
3147
  var p;
2960
3148
  return (p = a.value) == null ? void 0 : p.chain().focus().sinkListItem("listItem").run();
2961
3149
  })
@@ -2968,49 +3156,49 @@ const El = { class: "d-flex justify-end ga-2 mt-2" }, Ul = { class: "d-flex just
2968
3156
  ], 2);
2969
3157
  };
2970
3158
  }
2971
- }), Wl = /^[a-z][a-z0-9]*:[a-z]/i, Ol = /mso-[a-z-]+\s*:[^;]+;?/gi, ql = /^Mso/i, Kl = /background(?:-color)?\s*:[^;]+;?/gi;
2972
- function Xl(e) {
2973
- const n = document.createTreeWalker(e, NodeFilter.SHOW_COMMENT), t = [];
2974
- for (let a = n.nextNode(); a; a = n.nextNode()) t.push(a);
2975
- t.forEach((a) => {
3159
+ }), Zl = /^[a-z][a-z0-9]*:[a-z]/i, ea = /mso-[a-z-]+\s*:[^;]+;?/gi, ta = /^Mso/i, na = /background(?:-color)?\s*:[^;]+;?/gi;
3160
+ function la(t) {
3161
+ const n = document.createTreeWalker(t, NodeFilter.SHOW_COMMENT), e = [];
3162
+ for (let a = n.nextNode(); a; a = n.nextNode()) e.push(a);
3163
+ e.forEach((a) => {
2976
3164
  var r;
2977
3165
  return (r = a.parentNode) == null ? void 0 : r.removeChild(a);
2978
3166
  });
2979
3167
  }
2980
- function at(e) {
2981
- const n = e.parentNode;
3168
+ function rt(t) {
3169
+ const n = t.parentNode;
2982
3170
  if (n) {
2983
- for (; e.firstChild; ) n.insertBefore(e.firstChild, e);
2984
- n.removeChild(e);
3171
+ for (; t.firstChild; ) n.insertBefore(t.firstChild, t);
3172
+ n.removeChild(t);
2985
3173
  }
2986
3174
  }
2987
- function Yl(e) {
2988
- const n = e.getAttribute("style");
3175
+ function aa(t) {
3176
+ const n = t.getAttribute("style");
2989
3177
  if (n != null) {
2990
- const a = n.replace(Ol, "").replace(Kl, "").trim();
2991
- a ? e.setAttribute("style", a) : e.removeAttribute("style");
3178
+ const a = n.replace(ea, "").replace(na, "").trim();
3179
+ a ? t.setAttribute("style", a) : t.removeAttribute("style");
2992
3180
  }
2993
- const t = e.getAttribute("class");
2994
- if (t != null) {
2995
- const a = t.split(/\s+/).filter((r) => r && !ql.test(r)).join(" ");
2996
- a ? e.setAttribute("class", a) : e.removeAttribute("class");
3181
+ const e = t.getAttribute("class");
3182
+ if (e != null) {
3183
+ const a = e.split(/\s+/).filter((r) => r && !ta.test(r)).join(" ");
3184
+ a ? t.setAttribute("class", a) : t.removeAttribute("class");
2997
3185
  }
2998
- e.removeAttribute("lang"), e.removeAttribute("xml:lang"), e.removeAttribute("id"), e.removeAttribute("align"), e.removeAttribute("bgcolor");
3186
+ t.removeAttribute("lang"), t.removeAttribute("xml:lang"), t.removeAttribute("id"), t.removeAttribute("align"), t.removeAttribute("bgcolor");
2999
3187
  }
3000
- function Gl(e) {
3001
- if (!e || typeof DOMParser == "undefined") return e;
3002
- const t = new DOMParser().parseFromString(e, "text/html").body;
3003
- return t ? (Xl(t), t.querySelectorAll("xml, style, script, meta, link").forEach((a) => a.remove()), Array.from(t.querySelectorAll("*")).forEach((a) => {
3004
- if (Wl.test(a.tagName) || a.tagName === "FONT") {
3005
- at(a);
3188
+ function oa(t) {
3189
+ if (!t || typeof DOMParser == "undefined") return t;
3190
+ const e = new DOMParser().parseFromString(t, "text/html").body;
3191
+ return e ? (la(e), e.querySelectorAll("xml, style, script, meta, link").forEach((a) => a.remove()), Array.from(e.querySelectorAll("*")).forEach((a) => {
3192
+ if (Zl.test(a.tagName) || a.tagName === "FONT") {
3193
+ rt(a);
3006
3194
  return;
3007
3195
  }
3008
- Yl(a);
3009
- }), Array.from(t.querySelectorAll("span, div")).forEach((a) => {
3010
- a.attributes.length === 0 && at(a);
3011
- }), t.innerHTML) : e;
3196
+ aa(a);
3197
+ }), Array.from(e.querySelectorAll("span, div")).forEach((a) => {
3198
+ a.attributes.length === 0 && rt(a);
3199
+ }), e.innerHTML) : t;
3012
3200
  }
3013
- const Jl = { class: "editor-container" }, Ql = { class: "rtf-bubble-menu" }, Zl = /* @__PURE__ */ Z({
3201
+ const ia = { class: "editor-container" }, ra = { class: "rtf-bubble-menu" }, sa = /* @__PURE__ */ te({
3014
3202
  __name: "editor-core",
3015
3203
  props: {
3016
3204
  modelValue: { default: "" },
@@ -3018,17 +3206,17 @@ const Jl = { class: "editor-container" }, Ql = { class: "rtf-bubble-menu" }, Zl
3018
3206
  disabled: { type: Boolean, default: !1 }
3019
3207
  },
3020
3208
  emits: ["update:modelValue"],
3021
- setup(e, { emit: n }) {
3022
- zt((f) => ({
3023
- v3d306a89: f.minHeight
3209
+ setup(t, { emit: n }) {
3210
+ Ot((v) => ({
3211
+ v3d306a89: v.minHeight
3024
3212
  }));
3025
- const t = e, a = n, r = rn({
3026
- content: t.modelValue,
3027
- editable: !t.disabled,
3213
+ const e = t, a = n, r = dn({
3214
+ content: e.modelValue,
3215
+ editable: !e.disabled,
3028
3216
  extensions: [
3029
- on.configure({ link: !1 }),
3030
- Pl.configure({ openOnClick: !1, autolink: !0, defaultProtocol: "https" }),
3031
- Jt.configure({
3217
+ cn.configure({ link: !1 }),
3218
+ ql.configure({ openOnClick: !1, autolink: !0, defaultProtocol: "https" }),
3219
+ tn.configure({
3032
3220
  inline: !0,
3033
3221
  allowBase64: !0,
3034
3222
  resize: {
@@ -3038,137 +3226,137 @@ const Jl = { class: "editor-container" }, Ql = { class: "rtf-bubble-menu" }, Zl
3038
3226
  minHeight: 24
3039
3227
  }
3040
3228
  }),
3041
- ln.configure({ types: ["heading", "paragraph"] }),
3042
- Zt.configure({ resizable: !0 }),
3043
- nn,
3044
- tn,
3045
- en,
3046
- Qt.configure({ placeholder: "" }),
3047
- Ll,
3048
- $l,
3049
- Sl,
3050
- zl
3229
+ sn.configure({ types: ["heading", "paragraph"] }),
3230
+ ln.configure({ resizable: !0 }),
3231
+ rn,
3232
+ on,
3233
+ an,
3234
+ nn.configure({ placeholder: "" }),
3235
+ El,
3236
+ Ul,
3237
+ zl,
3238
+ Gl
3051
3239
  ],
3052
3240
  editorProps: {
3053
3241
  attributes: { class: "rtf-content" },
3054
- transformPastedHTML: (f) => Gl(f),
3055
- handlePaste: Rl(() => r.value)
3242
+ transformPastedHTML: (v) => oa(v),
3243
+ handlePaste: Wl(() => r.value)
3056
3244
  },
3057
- onUpdate: ({ editor: f }) => {
3058
- a("update:modelValue", f.getHTML());
3245
+ onUpdate: ({ editor: v }) => {
3246
+ a("update:modelValue", v.getHTML());
3059
3247
  }
3060
3248
  });
3061
- se(
3062
- () => t.modelValue,
3063
- (f) => {
3064
- const h = r.value;
3065
- if (!h) return;
3066
- const L = f != null ? f : "";
3067
- L !== h.getHTML() && h.commands.setContent(L, { emitUpdate: !1 });
3249
+ me(
3250
+ () => e.modelValue,
3251
+ (v) => {
3252
+ const g = r.value;
3253
+ if (!g) return;
3254
+ const T = v != null ? v : "";
3255
+ T !== g.getHTML() && g.commands.setContent(T, { emitUpdate: !1 });
3068
3256
  }
3069
- ), se(
3070
- () => t.disabled,
3071
- (f) => {
3072
- var h;
3073
- return (h = r.value) == null ? void 0 : h.setEditable(!f);
3257
+ ), me(
3258
+ () => e.disabled,
3259
+ (v) => {
3260
+ var g;
3261
+ return (g = r.value) == null ? void 0 : g.setEditable(!v);
3074
3262
  }
3075
- ), se(r, (f) => f == null ? void 0 : f.setEditable(!t.disabled));
3076
- const d = At(r), c = C(() => {
3077
- var f, h, L, $, A;
3078
- return d.value, {
3079
- bold: !!((f = r.value) != null && f.isActive("bold")),
3080
- italic: !!((h = r.value) != null && h.isActive("italic")),
3081
- link: !!((L = r.value) != null && L.isActive("link")),
3263
+ ), me(r, (v) => v == null ? void 0 : v.setEditable(!e.disabled));
3264
+ const u = Bt(r), d = x(() => {
3265
+ var v, g, T, $, C;
3266
+ return u.value, {
3267
+ bold: !!((v = r.value) != null && v.isActive("bold")),
3268
+ italic: !!((g = r.value) != null && g.isActive("italic")),
3269
+ link: !!((T = r.value) != null && T.isActive("link")),
3082
3270
  bulletList: !!(($ = r.value) != null && $.isActive("bulletList")),
3083
- orderedList: !!((A = r.value) != null && A.isActive("orderedList"))
3271
+ orderedList: !!((C = r.value) != null && C.isActive("orderedList"))
3084
3272
  };
3085
3273
  });
3086
- function g({ state: f }) {
3087
- return !f.selection.empty && !(f.selection instanceof an);
3088
- }
3089
- function w(f) {
3090
- var h;
3091
- (h = r.value) == null || h.chain().focus()[f]().run();
3092
- }
3093
- function v() {
3094
- const f = r.value;
3095
- if (!f) return;
3096
- if (f.isActive("link")) {
3097
- f.chain().focus().unsetLink().run();
3274
+ function h({ state: v }) {
3275
+ return !v.selection.empty && !(v.selection instanceof un);
3276
+ }
3277
+ function k(v) {
3278
+ var g;
3279
+ (g = r.value) == null || g.chain().focus()[v]().run();
3280
+ }
3281
+ function f() {
3282
+ const v = r.value;
3283
+ if (!v) return;
3284
+ if (v.isActive("link")) {
3285
+ v.chain().focus().unsetLink().run();
3098
3286
  return;
3099
3287
  }
3100
- const h = window.prompt("URL");
3101
- h && f.chain().focus().extendMarkRange("link").setLink({ href: h }).run();
3102
- }
3103
- return (f, h) => {
3104
- const L = P("v-btn");
3105
- return j(), Q("div", Jl, [
3106
- i(Hl, { editor: l(r) }, null, 8, ["editor"]),
3107
- i(l(sn), {
3288
+ const g = window.prompt("URL");
3289
+ g && v.chain().focus().extendMarkRange("link").setLink({ href: g }).run();
3290
+ }
3291
+ return (v, g) => {
3292
+ const T = R("v-btn");
3293
+ return V(), Z("div", ia, [
3294
+ i(Ql, { editor: l(r) }, null, 8, ["editor"]),
3295
+ i(l(mn), {
3108
3296
  class: "editor-container__editor",
3109
3297
  editor: l(r)
3110
3298
  }, null, 8, ["editor"]),
3111
- l(r) ? (j(), H(l(un), {
3299
+ l(r) ? (V(), F(l(vn), {
3112
3300
  key: 0,
3113
3301
  editor: l(r),
3114
- "should-show": g
3302
+ "should-show": h
3115
3303
  }, {
3116
3304
  default: s(() => [
3117
- ae("div", Ql, [
3118
- i(L, {
3305
+ oe("div", ra, [
3306
+ i(T, {
3119
3307
  icon: "",
3120
3308
  size: "small",
3121
3309
  variant: "text",
3122
- active: c.value.bold,
3123
- onClick: h[0] || (h[0] = ($) => w("toggleBold"))
3310
+ active: d.value.bold,
3311
+ onClick: g[0] || (g[0] = ($) => k("toggleBold"))
3124
3312
  }, {
3125
3313
  default: s(() => [
3126
3314
  i(l(B), { name: "mdi-format-bold" })
3127
3315
  ]),
3128
3316
  _: 1
3129
3317
  }, 8, ["active"]),
3130
- i(L, {
3318
+ i(T, {
3131
3319
  icon: "",
3132
3320
  size: "small",
3133
3321
  variant: "text",
3134
- active: c.value.italic,
3135
- onClick: h[1] || (h[1] = ($) => w("toggleItalic"))
3322
+ active: d.value.italic,
3323
+ onClick: g[1] || (g[1] = ($) => k("toggleItalic"))
3136
3324
  }, {
3137
3325
  default: s(() => [
3138
3326
  i(l(B), { name: "mdi-format-italic" })
3139
3327
  ]),
3140
3328
  _: 1
3141
3329
  }, 8, ["active"]),
3142
- i(L, {
3330
+ i(T, {
3143
3331
  icon: "",
3144
3332
  size: "small",
3145
3333
  variant: "text",
3146
- active: c.value.link,
3147
- onClick: v
3334
+ active: d.value.link,
3335
+ onClick: f
3148
3336
  }, {
3149
3337
  default: s(() => [
3150
3338
  i(l(B), { name: "mdi-link-variant" })
3151
3339
  ]),
3152
3340
  _: 1
3153
3341
  }, 8, ["active"]),
3154
- i(L, {
3342
+ i(T, {
3155
3343
  icon: "",
3156
3344
  size: "small",
3157
3345
  variant: "text",
3158
- active: c.value.bulletList,
3159
- onClick: h[2] || (h[2] = ($) => w("toggleBulletList"))
3346
+ active: d.value.bulletList,
3347
+ onClick: g[2] || (g[2] = ($) => k("toggleBulletList"))
3160
3348
  }, {
3161
3349
  default: s(() => [
3162
3350
  i(l(B), { name: "mdi-format-list-bulleted" })
3163
3351
  ]),
3164
3352
  _: 1
3165
3353
  }, 8, ["active"]),
3166
- i(L, {
3354
+ i(T, {
3167
3355
  icon: "",
3168
3356
  size: "small",
3169
3357
  variant: "text",
3170
- active: c.value.orderedList,
3171
- onClick: h[3] || (h[3] = ($) => w("toggleOrderedList"))
3358
+ active: d.value.orderedList,
3359
+ onClick: g[3] || (g[3] = ($) => k("toggleOrderedList"))
3172
3360
  }, {
3173
3361
  default: s(() => [
3174
3362
  i(l(B), { name: "mdi-format-list-numbered" })
@@ -3178,13 +3366,13 @@ const Jl = { class: "editor-container" }, Ql = { class: "rtf-bubble-menu" }, Zl
3178
3366
  ])
3179
3367
  ]),
3180
3368
  _: 1
3181
- }, 8, ["editor"])) : G("", !0)
3369
+ }, 8, ["editor"])) : Y("", !0)
3182
3370
  ]);
3183
3371
  };
3184
3372
  }
3185
- }), xt = /* @__PURE__ */ Z({
3373
+ }), Lt = /* @__PURE__ */ te({
3186
3374
  __name: "df-rtf-editor",
3187
- props: /* @__PURE__ */ ve({
3375
+ props: /* @__PURE__ */ pe({
3188
3376
  minHeight: {},
3189
3377
  control: {},
3190
3378
  modelValue: {},
@@ -3200,64 +3388,64 @@ const Jl = { class: "editor-container" }, Ql = { class: "rtf-bubble-menu" }, Zl
3200
3388
  passthroughAttrs: {},
3201
3389
  density: {},
3202
3390
  variant: {}
3203
- }, J(U({}, pe), { minHeight: void 0 })),
3391
+ }, ee(z({}, be), { minHeight: void 0 })),
3204
3392
  emits: ["update:modelValue", "click:clear"],
3205
- setup(e, { emit: n }) {
3206
- const t = e, a = n, { densityClass: r, value: d, vuetifyBindings: c } = me(t, a);
3207
- return (g, w) => (j(), H(l(Xe), X(t, {
3393
+ setup(t, { emit: n }) {
3394
+ const e = t, a = n, { densityClass: r, value: u, vuetifyBindings: d } = ce(e, a);
3395
+ return (h, k) => (V(), F(l(He), X(e, {
3208
3396
  class: ["rtf-editor", l(r)]
3209
3397
  }), {
3210
- default: s((v) => [
3211
- i(Zl, X({
3398
+ default: s((f) => [
3399
+ i(sa, X({
3212
3400
  ref: "$editor",
3213
- modelValue: l(d),
3214
- "onUpdate:modelValue": w[0] || (w[0] = (f) => ke(d) ? d.value = f : null),
3215
- class: { "mt-6": !!e.label },
3216
- "min-height": e.minHeight,
3217
- disabled: l(c).disabled
3218
- }, e.passthroughAttrs, {
3219
- onFocusin: (f) => v.focus(),
3220
- onFocusout: (f) => v.blur()
3401
+ modelValue: l(u),
3402
+ "onUpdate:modelValue": k[0] || (k[0] = (v) => Ce(u) ? u.value = v : null),
3403
+ class: { "mt-6": !!t.label },
3404
+ "min-height": t.minHeight,
3405
+ disabled: l(d).disabled
3406
+ }, t.passthroughAttrs, {
3407
+ onFocusin: (v) => f.focus(),
3408
+ onFocusout: (v) => f.blur()
3221
3409
  }), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
3222
3410
  ]),
3223
3411
  _: 1
3224
3412
  }, 16, ["class"]));
3225
3413
  }
3226
3414
  });
3227
- function ea(e) {
3228
- return e.map((n) => ({ value: n.id, title: n.text, icon: n.icon }));
3415
+ function ua(t) {
3416
+ return t.map((n) => ({ value: n.id, title: n.text, icon: n.icon }));
3229
3417
  }
3230
- function re(e, n) {
3231
- var t;
3232
- return e == null || tt(e) && e.length === 0 ? null : n ? rt(e) : tt(e) ? (t = st(e)) != null ? t : null : e;
3418
+ function de(t, n) {
3419
+ var e;
3420
+ return t == null || at(t) && t.length === 0 ? null : n ? dt(t) : at(t) ? (e = mt(t)) != null ? e : null : t;
3233
3421
  }
3234
- function ze(e, n) {
3422
+ function ze(t, n) {
3235
3423
  if (n == null) return [];
3236
- const t = rt(n);
3237
- return e.filter((a) => t.some((r) => r === a.id));
3424
+ const e = dt(n);
3425
+ return t.filter((a) => e.some((r) => r === a.id));
3238
3426
  }
3239
- function Le(e, n, t, a, r) {
3240
- var c;
3241
- const d = re(e, t);
3242
- if (d == null) {
3243
- n.value = t ? [] : null;
3427
+ function Ie(t, n, e, a, r) {
3428
+ var d;
3429
+ const u = de(t, e);
3430
+ if (u == null) {
3431
+ n.value = e ? [] : null;
3244
3432
  return;
3245
3433
  }
3246
- if (t)
3247
- a ? n.value = d : n.value = ze(r, d).map((g) => g.id);
3434
+ if (e)
3435
+ a ? n.value = u : n.value = ze(r, u).map((h) => h.id);
3248
3436
  else if (a)
3249
- n.value = d;
3437
+ n.value = u;
3250
3438
  else {
3251
- const g = st(ze(r, d));
3252
- n.value = (c = g == null ? void 0 : g.id) != null ? c : null;
3439
+ const h = mt(ze(r, u));
3440
+ n.value = (d = h == null ? void 0 : h.id) != null ? d : null;
3253
3441
  }
3254
3442
  }
3255
- const ta = {
3443
+ const ca = {
3256
3444
  key: 0,
3257
3445
  class: "me-1"
3258
- }, na = /* @__PURE__ */ Z({
3446
+ }, da = /* @__PURE__ */ te({
3259
3447
  __name: "df-select",
3260
- props: /* @__PURE__ */ ve({
3448
+ props: /* @__PURE__ */ pe({
3261
3449
  choices: {},
3262
3450
  multiple: { type: Boolean },
3263
3451
  allowTags: { type: Boolean },
@@ -3277,7 +3465,7 @@ const ta = {
3277
3465
  passthroughAttrs: {},
3278
3466
  density: {},
3279
3467
  variant: {}
3280
- }, J(U({}, pe), {
3468
+ }, ee(z({}, be), {
3281
3469
  choices: void 0,
3282
3470
  multiple: !1,
3283
3471
  allowTags: !1,
@@ -3285,235 +3473,235 @@ const ta = {
3285
3473
  fetchChoices: void 0
3286
3474
  })),
3287
3475
  emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
3288
- setup(e, { emit: n }) {
3289
- var Ge;
3290
- const t = e, { choices: a, multiple: r, allowTags: d, allowNull: c, cssClass: g } = Ee(t), w = n, v = F(null), {
3291
- densityClass: f,
3292
- isRendered: h,
3293
- label: L,
3476
+ setup(t, { emit: n }) {
3477
+ var Ze;
3478
+ const e = t, { choices: a, multiple: r, allowTags: u, allowNull: d, cssClass: h } = Fe(e), k = n, f = M(null), {
3479
+ densityClass: v,
3480
+ isRendered: g,
3481
+ label: T,
3294
3482
  showErrors: $,
3295
- touched: A,
3296
- value: V,
3297
- visibilityClass: M,
3298
- vuetifyBindings: I
3299
- } = me(t, w), b = F(null), D = F(!1), O = F([]), E = C(() => l(D) ? l(O) : l(a) || []), q = F(!1), S = C(() => ea(E.value)), y = F(null), o = F(0), u = F(!1);
3300
- (Ge = a.value) != null && Ge.length && t.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
3301
- function m(T) {
3302
- w("update:modelValueDisplay", ze(E.value, T));
3303
- }
3304
- const x = F(!1);
3305
- function N(T) {
3306
- x.value = !0;
3483
+ touched: C,
3484
+ value: j,
3485
+ visibilityClass: P,
3486
+ vuetifyBindings: D
3487
+ } = ce(e, k), b = M(null), S = M(!1), H = M([]), K = x(() => l(S) ? l(H) : l(a) || []), W = M(!1), L = x(() => ua(K.value)), w = M(null), o = M(0), c = M(!1);
3488
+ (Ze = a.value) != null && Ze.length && e.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
3489
+ function m(I) {
3490
+ k("update:modelValueDisplay", ze(K.value, I));
3491
+ }
3492
+ const _ = M(!1);
3493
+ function N(I) {
3494
+ _.value = !0;
3307
3495
  try {
3308
- V.value = T;
3496
+ j.value = I;
3309
3497
  } finally {
3310
- Kt(re(V.value, r.value), T) || Le(
3311
- re(V.value, r.value),
3498
+ Jt(de(j.value, r.value), I) || Ie(
3499
+ de(j.value, r.value),
3312
3500
  b,
3313
3501
  r.value,
3314
- d.value,
3315
- E.value
3316
- ), Oe(() => {
3317
- x.value = !1;
3502
+ u.value,
3503
+ K.value
3504
+ ), Ke(() => {
3505
+ _.value = !1;
3318
3506
  });
3319
3507
  }
3320
3508
  }
3321
- function W(T) {
3322
- if (!T) return 0;
3323
- const R = T.getBoundingClientRect(), ee = window.getComputedStyle(T);
3324
- return R.width + parseFloat(ee.marginLeft) + parseFloat(ee.marginRight);
3325
- }
3326
- function te() {
3327
- var T;
3328
- if (r.value && c.value && b.value != null && b.value.length > 0 && v.value) {
3329
- const R = v.value.$el, ee = (T = R.querySelector(".v-input__control")) == null ? void 0 : T.clientWidth, ne = R.querySelector(".v-field__input"), z = ne.querySelectorAll(".v-autocomplete__selection, .v-combobox__selection"), le = window.getComputedStyle(ne);
3330
- let xe = parseFloat(le.paddingLeft) + parseFloat(le.paddingRight);
3331
- z.forEach((Lt) => {
3332
- xe += W(Lt);
3509
+ function O(I) {
3510
+ if (!I) return 0;
3511
+ const E = I.getBoundingClientRect(), ae = window.getComputedStyle(I);
3512
+ return E.width + parseFloat(ae.marginLeft) + parseFloat(ae.marginRight);
3513
+ }
3514
+ function ne() {
3515
+ var I;
3516
+ if (r.value && d.value && b.value != null && b.value.length > 0 && f.value) {
3517
+ const E = f.value.$el, ae = (I = E.querySelector(".v-input__control")) == null ? void 0 : I.clientWidth, ie = E.querySelector(".v-field__input"), U = ie.querySelectorAll(".v-autocomplete__selection, .v-combobox__selection"), re = window.getComputedStyle(ie);
3518
+ let Ve = parseFloat(re.paddingLeft) + parseFloat(re.paddingRight);
3519
+ U.forEach((Rt) => {
3520
+ Ve += O(Rt);
3333
3521
  });
3334
- const jt = W(R.querySelector(".v-field .v-field__clearable")), _t = W(R.querySelector(".v-field .v-field__append-inner")), Bt = 2;
3335
- u.value = ee - xe - z.length * Bt - _t < jt;
3522
+ const Dt = O(E.querySelector(".v-field .v-field__clearable")), St = O(E.querySelector(".v-field .v-field__append-inner")), Mt = 2;
3523
+ c.value = ae - Ve - U.length * Mt - St < Dt;
3336
3524
  } else
3337
- u.value = !1;
3525
+ c.value = !1;
3338
3526
  }
3339
- function _(T) {
3340
- const R = T.target;
3341
- R instanceof HTMLElement && R.closest(".v-chip__close") && (T.stopPropagation(), T.preventDefault());
3527
+ function A(I) {
3528
+ const E = I.target;
3529
+ E instanceof HTMLElement && E.closest(".v-chip__close") && (I.stopPropagation(), I.preventDefault());
3342
3530
  }
3343
- se(
3531
+ me(
3344
3532
  b,
3345
- (T) => {
3346
- I.value.readonly || Oe(() => {
3347
- const R = re(T, r.value);
3348
- m(R), N(R);
3533
+ (I) => {
3534
+ D.value.readonly || Ke(() => {
3535
+ const E = de(I, r.value);
3536
+ m(E), N(E);
3349
3537
  });
3350
3538
  },
3351
3539
  { deep: !0 }
3352
- ), se(
3353
- V,
3354
- (T) => {
3355
- if (!x.value) {
3356
- const R = re(T, r.value);
3357
- Le(R, b, r.value, !1, E.value);
3540
+ ), me(
3541
+ j,
3542
+ (I) => {
3543
+ if (!_.value) {
3544
+ const E = de(I, r.value);
3545
+ Ie(E, b, r.value, !1, K.value);
3358
3546
  }
3359
3547
  },
3360
3548
  { deep: !0 }
3361
- ), se(x, () => {
3362
- x.value || te();
3549
+ ), me(_, () => {
3550
+ _.value || ne();
3363
3551
  });
3364
- function ie() {
3365
- y.value != null && y.value.length > 0 && (y.value = null, k());
3552
+ function q() {
3553
+ w.value != null && w.value.length > 0 && (w.value = null, y());
3366
3554
  }
3367
- function be() {
3368
- if (ie(), I.value.readonly || d.value) return;
3369
- const T = re(b.value, r.value);
3370
- Le(T, b, r.value, !1, E.value), N(T);
3555
+ function Q() {
3556
+ if (q(), D.value.readonly || u.value) return;
3557
+ const I = de(b.value, r.value);
3558
+ Ie(I, b, r.value, !1, K.value), N(I);
3371
3559
  }
3372
- function Ae(T, R) {
3373
- if (T.stopPropagation(), I.value.readonly || d.value) {
3374
- d.value && (b.value = b.value.filter((ne) => ne !== R));
3560
+ function le(I, E) {
3561
+ if (I.stopPropagation(), D.value.readonly || u.value) {
3562
+ u.value && (b.value = b.value.filter((ie) => ie !== E));
3375
3563
  return;
3376
3564
  }
3377
- let ee;
3378
- r.value && Array.isArray(b.value) ? ee = re(
3379
- b.value.filter((ne) => ne !== R),
3565
+ let ae;
3566
+ r.value && Array.isArray(b.value) ? ae = de(
3567
+ b.value.filter((ie) => ie !== E),
3380
3568
  r.value
3381
- ) : ee = null, Le(ee, b, r.value, !1, E.value), N(ee);
3569
+ ) : ae = null, Ie(ae, b, r.value, !1, K.value), N(ae);
3382
3570
  }
3383
- function k(T, R) {
3384
- return Te(this, null, function* () {
3385
- if (I.value.readonly || (y.value = T, a.value || t.fetchChoices === void 0)) return;
3386
- const ee = ++o.value;
3387
- q.value = !0;
3571
+ function y(I, E) {
3572
+ return ge(this, null, function* () {
3573
+ if (D.value.readonly || (w.value = I, a.value || e.fetchChoices === void 0)) return;
3574
+ const ae = ++o.value;
3575
+ W.value = !0;
3388
3576
  try {
3389
- const ne = ze(
3390
- E.value,
3391
- re(b.value, r.value)
3392
- ), z = yield t.fetchChoices(T, R);
3393
- if (ee !== o.value) return;
3394
- O.value = Xt([...ne, ...z], "id"), D.value = !0;
3577
+ const ie = ze(
3578
+ K.value,
3579
+ de(b.value, r.value)
3580
+ ), U = yield e.fetchChoices(I, E);
3581
+ if (ae !== o.value) return;
3582
+ H.value = Qt([...ie, ...U], "id"), S.value = !0;
3395
3583
  } finally {
3396
- q.value = !1;
3584
+ W.value = !1;
3397
3585
  }
3398
3586
  });
3399
3587
  }
3400
3588
  function p() {
3401
- let T = V.value;
3402
- !c.value && T == null && S.value.length && (T = S.value[0].value), T = re(T, r.value), Le(T, b, r.value, d.value, E.value), m(T), N(T);
3589
+ let I = j.value;
3590
+ !d.value && I == null && L.value.length && (I = L.value[0].value), I = de(I, r.value), Ie(I, b, r.value, u.value, K.value), m(I), N(I);
3403
3591
  }
3404
- return p(), t.fetchChoices !== void 0 && k(void 0, V.value).then(() => {
3592
+ return p(), e.fetchChoices !== void 0 && y(void 0, j.value).then(() => {
3405
3593
  p();
3406
- }), (T, R) => {
3407
- const ee = P("v-chip"), ne = P("v-list-item");
3408
- return l(h) ? (j(), H(Ne(l(d) ? "v-combobox" : "v-autocomplete"), X({
3594
+ }), (I, E) => {
3595
+ const ae = R("v-chip"), ie = R("v-list-item");
3596
+ return l(g) ? (V(), F(Ue(l(u) ? "v-combobox" : "v-autocomplete"), X({
3409
3597
  key: 0,
3410
3598
  ref_key: "dfSelectRef",
3411
- ref: v,
3599
+ ref: f,
3412
3600
  modelValue: b.value,
3413
- "onUpdate:modelValue": R[0] || (R[0] = (z) => b.value = z),
3414
- class: [l(g), l(f), l(M), { "df-select-multirow": u.value }],
3415
- items: S.value,
3601
+ "onUpdate:modelValue": E[0] || (E[0] = (U) => b.value = U),
3602
+ class: [l(h), l(v), l(P), { "df-select-multirow": c.value }],
3603
+ items: L.value,
3416
3604
  "return-object": !1,
3417
3605
  chips: "",
3418
3606
  "auto-select-first": !0,
3419
- "closable-chips": l(c) || l(r) && b.value.length > 1,
3420
- clearable: l(c),
3607
+ "closable-chips": l(d) || l(r) && b.value.length > 1,
3608
+ clearable: l(d),
3421
3609
  multiple: l(r),
3422
- loading: q.value,
3610
+ loading: W.value,
3423
3611
  "hide-selected": !1,
3424
- "aria-describedby": l(I).helpText ? `${l(I).name}-help` : null,
3612
+ "aria-describedby": l(D).helpText ? `${l(D).name}-help` : null,
3425
3613
  "menu-props": { maxHeight: "400" },
3426
- search: y.value
3427
- }, l(I), {
3428
- "onUpdate:search": R[1] || (R[1] = (z) => k(z, void 0)),
3429
- "onUpdate:modelValue": be,
3430
- "onClick:clear": R[2] || (R[2] = (z) => b.value = null),
3431
- onBlur: R[3] || (R[3] = (z) => A.value = !0),
3432
- onMousedownCapture: R[4] || (R[4] = (z) => _(z))
3433
- }), qe({
3434
- chip: s(({ item: z }) => [
3435
- (j(), H(ee, {
3436
- key: z.value,
3614
+ search: w.value
3615
+ }, l(D), {
3616
+ "onUpdate:search": E[1] || (E[1] = (U) => y(U, void 0)),
3617
+ "onUpdate:modelValue": Q,
3618
+ "onClick:clear": E[2] || (E[2] = (U) => b.value = null),
3619
+ onBlur: E[3] || (E[3] = (U) => C.value = !0),
3620
+ onMousedownCapture: E[4] || (E[4] = (U) => A(U))
3621
+ }), Ge({
3622
+ chip: s(({ item: U }) => [
3623
+ (V(), F(ae, {
3624
+ key: U.value,
3437
3625
  label: "",
3438
3626
  size: "small",
3439
3627
  class: "d-flex align-middle",
3440
3628
  variant: l(r) ? "tonal" : "text",
3441
3629
  closable: l(r),
3442
- "onClick:close": (le) => Ae(le, z.value)
3630
+ "onClick:close": (re) => le(re, U.value)
3443
3631
  }, {
3444
3632
  prepend: s(() => {
3445
- var le;
3633
+ var re;
3446
3634
  return [
3447
- (le = z.raw) != null && le.icon ? (j(), H(l(B), {
3635
+ (re = U.raw) != null && re.icon ? (V(), F(l(B), {
3448
3636
  key: 0,
3449
3637
  class: "me-1",
3450
- name: z.raw.icon
3451
- }, null, 8, ["name"])) : G("", !0)
3638
+ name: U.raw.icon
3639
+ }, null, 8, ["name"])) : Y("", !0)
3452
3640
  ];
3453
3641
  }),
3454
3642
  default: s(() => [
3455
- ae("span", {
3456
- class: ce({ "text-body-1": !l(r) })
3457
- }, K(z.title), 3)
3643
+ oe("span", {
3644
+ class: ue({ "text-body-1": !l(r) })
3645
+ }, G(U.title), 3)
3458
3646
  ]),
3459
3647
  _: 2
3460
3648
  }, 1032, ["variant", "closable", "onClick:close"]))
3461
3649
  ]),
3462
- label: s((z) => [
3463
- i(l(de), {
3464
- data: z,
3465
- label: l(L)
3650
+ label: s((U) => [
3651
+ i(l(fe), {
3652
+ data: U,
3653
+ label: l(T)
3466
3654
  }, null, 8, ["data", "label"])
3467
3655
  ]),
3468
- item: s(({ props: z, item: le }) => [
3469
- i(ne, he(ge(z)), {
3656
+ item: s(({ props: U, item: re }) => [
3657
+ i(ie, ye(ke(U)), {
3470
3658
  prepend: s(() => {
3471
- var xe;
3659
+ var Ve;
3472
3660
  return [
3473
- (xe = le.raw) != null && xe.icon ? (j(), Q("span", ta, [
3661
+ (Ve = re.raw) != null && Ve.icon ? (V(), Z("span", ca, [
3474
3662
  i(l(B), {
3475
3663
  class: "action-icon",
3476
- name: le.raw.icon
3664
+ name: re.raw.icon
3477
3665
  }, null, 8, ["name"])
3478
- ])) : G("", !0)
3666
+ ])) : Y("", !0)
3479
3667
  ];
3480
3668
  }),
3481
3669
  _: 2
3482
3670
  }, 1040)
3483
3671
  ]),
3484
- message: s(({ message: z }) => [
3485
- i(l(ue), {
3486
- message: z,
3672
+ message: s(({ message: U }) => [
3673
+ i(l(ve), {
3674
+ message: U,
3487
3675
  errors: l($)
3488
3676
  }, null, 8, ["message", "errors"])
3489
3677
  ]),
3490
3678
  _: 2
3491
3679
  }, [
3492
- T.$slots["append-inner"] ? {
3680
+ I.$slots["append-inner"] ? {
3493
3681
  name: "append-inner",
3494
- fn: s((z) => [
3495
- we(T.$slots, "append-inner", he(ge(z)), void 0, !0)
3682
+ fn: s((U) => [
3683
+ _e(I.$slots, "append-inner", ye(ke(U)), void 0, !0)
3496
3684
  ]),
3497
3685
  key: "0"
3498
3686
  } : void 0,
3499
- T.$slots["prepend-inner"] ? {
3687
+ I.$slots["prepend-inner"] ? {
3500
3688
  name: "prepend-inner",
3501
- fn: s((z) => [
3502
- we(T.$slots, "prepend-inner", he(ge(z)), void 0, !0)
3689
+ fn: s((U) => [
3690
+ _e(I.$slots, "prepend-inner", ye(ke(U)), void 0, !0)
3503
3691
  ]),
3504
3692
  key: "1"
3505
3693
  } : void 0
3506
- ]), 1040, ["modelValue", "class", "items", "closable-chips", "clearable", "multiple", "loading", "aria-describedby", "search"])) : G("", !0);
3694
+ ]), 1040, ["modelValue", "class", "items", "closable-chips", "clearable", "multiple", "loading", "aria-describedby", "search"])) : Y("", !0);
3507
3695
  };
3508
3696
  }
3509
- }), la = (e, n) => {
3510
- const t = e.__vccOpts || e;
3697
+ }), ma = (t, n) => {
3698
+ const e = t.__vccOpts || t;
3511
3699
  for (const [a, r] of n)
3512
- t[a] = r;
3513
- return t;
3514
- }, Vt = /* @__PURE__ */ la(na, [["__scopeId", "data-v-7e5aa3b6"]]), Tt = /* @__PURE__ */ Z({
3700
+ e[a] = r;
3701
+ return e;
3702
+ }, It = /* @__PURE__ */ ma(da, [["__scopeId", "data-v-7e5aa3b6"]]), $t = /* @__PURE__ */ te({
3515
3703
  __name: "df-text-area",
3516
- props: /* @__PURE__ */ ve({
3704
+ props: /* @__PURE__ */ pe({
3517
3705
  rows: {},
3518
3706
  maxRows: {},
3519
3707
  control: {},
@@ -3530,141 +3718,147 @@ const ta = {
3530
3718
  passthroughAttrs: {},
3531
3719
  density: {},
3532
3720
  variant: {}
3533
- }, J(U({}, pe), {
3721
+ }, ee(z({}, be), {
3534
3722
  rows: void 0,
3535
3723
  maxRows: void 0
3536
3724
  })),
3537
3725
  emits: ["update:modelValue", "click:clear"],
3538
- setup(e, { emit: n }) {
3539
- const t = e, a = n, { densityClass: r, isRendered: d, label: c, showErrors: g, touched: w, value: v, visibilityClass: f, vuetifyBindings: h } = me(
3540
- t,
3726
+ setup(t, { emit: n }) {
3727
+ const e = t, a = n, { densityClass: r, isRendered: u, label: d, showErrors: h, touched: k, value: f, visibilityClass: v, vuetifyBindings: g } = ce(
3728
+ e,
3541
3729
  a
3542
- ), { cssClass: L } = Ee(t);
3543
- return ($, A) => {
3544
- const V = P("v-textarea");
3545
- return l(d) ? (j(), Q("div", {
3730
+ ), { cssClass: T } = Fe(e);
3731
+ return ($, C) => {
3732
+ const j = R("v-textarea");
3733
+ return l(u) ? (V(), Z("div", {
3546
3734
  key: 0,
3547
- class: ce(["df-textarea-container", [l(r), l(f)]])
3735
+ class: ue(["df-textarea-container", [l(r), l(v)]])
3548
3736
  }, [
3549
- i(V, X({
3550
- modelValue: l(v),
3551
- "onUpdate:modelValue": A[0] || (A[0] = (M) => ke(v) ? v.value = M : null),
3552
- class: l(L),
3553
- rows: e.rows,
3554
- "auto-grow": (e.maxRows || 0) > 0,
3555
- "max-rows": e.maxRows
3556
- }, l(h), {
3557
- onBlur: A[1] || (A[1] = (M) => w.value = !0)
3737
+ i(j, X({
3738
+ modelValue: l(f),
3739
+ "onUpdate:modelValue": C[0] || (C[0] = (P) => Ce(f) ? f.value = P : null),
3740
+ class: l(T),
3741
+ rows: t.rows,
3742
+ "auto-grow": (t.maxRows || 0) > 0,
3743
+ "max-rows": t.maxRows
3744
+ }, l(g), {
3745
+ onBlur: C[1] || (C[1] = (P) => k.value = !0)
3558
3746
  }), {
3559
- label: s((M) => [
3560
- i(l(de), {
3561
- data: M,
3562
- label: l(c)
3747
+ label: s((P) => [
3748
+ i(l(fe), {
3749
+ data: P,
3750
+ label: l(d)
3563
3751
  }, null, 8, ["data", "label"])
3564
3752
  ]),
3565
- message: s(({ message: M }) => [
3566
- i(l(ue), {
3567
- message: M,
3568
- errors: l(g)
3753
+ message: s(({ message: P }) => [
3754
+ i(l(ve), {
3755
+ message: P,
3756
+ errors: l(h)
3569
3757
  }, null, 8, ["message", "errors"])
3570
3758
  ]),
3571
3759
  _: 1
3572
3760
  }, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])
3573
- ], 2)) : G("", !0);
3761
+ ], 2)) : Y("", !0);
3574
3762
  };
3575
3763
  }
3576
- }), aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3764
+ }), va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3577
3765
  __proto__: null,
3578
- DfActions: mt,
3579
- DfCheckbox: ft,
3580
- DfColor: vt,
3581
- DfDateTime: pt,
3582
- DfFile: bt,
3583
- DfInput: ht,
3584
- DfInputHint: ue,
3585
- DfLabel: de,
3586
- DfRtfEditor: xt,
3587
- DfSelect: Vt,
3588
- DfTextArea: Tt
3589
- }, Symbol.toStringTag, { value: "Module" })), oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3766
+ DfActions: ht,
3767
+ DfCheckbox: gt,
3768
+ DfColor: yt,
3769
+ DfDateTime: kt,
3770
+ DfFile: wt,
3771
+ DfImage: Ct,
3772
+ DfInput: xt,
3773
+ DfInputHint: ve,
3774
+ DfLabel: fe,
3775
+ DfRtfEditor: Lt,
3776
+ DfSelect: It,
3777
+ DfTextArea: $t
3778
+ }, Symbol.toStringTag, { value: "Module" })), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3590
3779
  __proto__: null,
3591
- VAutocomplete: bn,
3592
- VBtn: hn,
3593
- VCheckbox: gn,
3594
- VChip: kn,
3595
- VCol: Tn,
3596
- VColorPicker: wn,
3597
- VCombobox: yn,
3598
- VConfirmEdit: Cn,
3599
- VDatePicker: An,
3600
- VField: xn,
3601
- VFileInput: Vn,
3602
- VIcon: _n,
3603
- VImg: Bn,
3604
- VInput: Ln,
3605
- VListItem: $n,
3606
- VMenu: Sn,
3607
- VNumberInput: Mn,
3608
- VProgressLinear: Dn,
3609
- VRow: jn,
3610
- VSelect: In,
3611
- VSwitch: Rn,
3612
- VTextField: Nn,
3613
- VTextarea: Pn,
3614
- VTimePicker: zn
3615
- }, Symbol.toStringTag, { value: "Module" })), Qa = {
3616
- "df-actions": mt,
3617
- "df-checkbox": ft,
3618
- "df-color": vt,
3619
- "df-date-time": pt,
3620
- "df-file": bt,
3621
- "df-input": ht,
3622
- "df-input-hint": ue,
3623
- "df-label": de,
3624
- "df-rtf-editor": xt,
3625
- "df-select": Vt,
3626
- "df-text-area": Tt
3627
- }, Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3780
+ VAutocomplete: kn,
3781
+ VBtn: wn,
3782
+ VCheckbox: Cn,
3783
+ VChip: xn,
3784
+ VCol: Ln,
3785
+ VColorPicker: Tn,
3786
+ VCombobox: An,
3787
+ VConfirmEdit: _n,
3788
+ VDatePicker: Vn,
3789
+ VField: jn,
3790
+ VFileInput: Bn,
3791
+ VIcon: $n,
3792
+ VImg: Dn,
3793
+ VInput: Sn,
3794
+ VListItem: Mn,
3795
+ VMenu: Rn,
3796
+ VNumberInput: Pn,
3797
+ VProgressLinear: Nn,
3798
+ VRow: In,
3799
+ VSelect: En,
3800
+ VSwitch: Un,
3801
+ VTextField: Fn,
3802
+ VTextarea: zn,
3803
+ VTimePicker: Hn
3804
+ }, Symbol.toStringTag, { value: "Module" })), ro = {
3805
+ "df-actions": ht,
3806
+ "df-checkbox": gt,
3807
+ "df-color": yt,
3808
+ "df-date-time": kt,
3809
+ "df-file": wt,
3810
+ "df-image": Ct,
3811
+ "df-input": xt,
3812
+ "df-input-hint": ve,
3813
+ "df-label": fe,
3814
+ "df-rtf-editor": Lt,
3815
+ "df-select": It,
3816
+ "df-text-area": $t
3817
+ }, so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3628
3818
  __proto__: null
3629
- }, Symbol.toStringTag, { value: "Module" })), eo = {
3630
- install: (e, n) => {
3631
- var t, a;
3632
- e.provide(dt, n != null ? n : {}), (t = n == null ? void 0 : n.registerComponents) != null && t && Object.entries(aa).map(([r, d]) => e.component(r, d)), (a = n == null ? void 0 : n.registerVuetifyComponents) != null && a && Object.entries(oa).map(([r, d]) => e.component(r, d));
3819
+ }, Symbol.toStringTag, { value: "Module" })), uo = {
3820
+ install: (t, n) => {
3821
+ var e, a;
3822
+ t.provide(Je, n != null ? n : {}), (e = n == null ? void 0 : n.registerComponents) != null && e && Object.entries(va).map(([r, u]) => t.component(r, u)), (a = n == null ? void 0 : n.registerVuetifyComponents) != null && a && Object.entries(fa).map(([r, u]) => t.component(r, u));
3633
3823
  }
3634
3824
  };
3635
3825
  export {
3636
- Re as Action,
3637
- oe as ActionDisplayStyle,
3638
- wl as DateTimeLocaleConfig,
3639
- mt as DfActions,
3640
- ft as DfCheckbox,
3641
- vt as DfColor,
3642
- pt as DfDateTime,
3643
- bt as DfFile,
3644
- ht as DfInput,
3645
- Za as DfInputComponentProps,
3646
- aa as DfInputComponents,
3647
- ue as DfInputHint,
3648
- de as DfLabel,
3649
- xt as DfRtfEditor,
3650
- Vt as DfSelect,
3651
- Tt as DfTextArea,
3652
- eo as DynamicFormsInputs,
3653
- Xe as InputBase,
3654
- Cl as Label,
3655
- jl as ResponsiveActionRenderOptions,
3656
- xl as ResponsiveRenderOptions,
3657
- oa as VuetifyComponents,
3658
- pe as defaultBaseProps,
3659
- nt as defaultDisplayStyle,
3660
- Qa as dfInputComponentsByTag,
3661
- Vl as getBreakpointName,
3662
- ct as getRenderOptionsForBreakpoint,
3663
- lt as responsiveBreakpoints,
3664
- Ce as translatableStrings,
3665
- Ja as translateStrings,
3666
- Tl as useBreakpoint,
3667
- me as useInputBase,
3668
- dt as vuetifyInputsSettingsKey
3826
+ Ne as Action,
3827
+ se as ActionDisplayStyle,
3828
+ Tl as DateTimeLocaleConfig,
3829
+ ht as DfActions,
3830
+ gt as DfCheckbox,
3831
+ yt as DfColor,
3832
+ kt as DfDateTime,
3833
+ wt as DfFile,
3834
+ Ct as DfImage,
3835
+ xt as DfInput,
3836
+ so as DfInputComponentProps,
3837
+ va as DfInputComponents,
3838
+ ve as DfInputHint,
3839
+ fe as DfLabel,
3840
+ Lt as DfRtfEditor,
3841
+ It as DfSelect,
3842
+ $t as DfTextArea,
3843
+ uo as DynamicFormsInputs,
3844
+ _l as FileGoneError,
3845
+ He as InputBase,
3846
+ Vl as Label,
3847
+ $l as ResponsiveActionRenderOptions,
3848
+ Bl as ResponsiveRenderOptions,
3849
+ fa as VuetifyComponents,
3850
+ be as defaultBaseProps,
3851
+ ot as defaultDisplayStyle,
3852
+ ro as dfInputComponentsByTag,
3853
+ Ll as getBreakpointName,
3854
+ ft as getRenderOptionsForBreakpoint,
3855
+ it as responsiveBreakpoints,
3856
+ bt as setFileGoneError,
3857
+ we as translatableStrings,
3858
+ io as translateStrings,
3859
+ Il as useBreakpoint,
3860
+ pt as useFileTouchKeepAlive,
3861
+ ce as useInputBase,
3862
+ Je as vuetifyInputsSettingsKey
3669
3863
  };
3670
3864
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map