@dynamicforms/vuetify-inputs 0.10.1 → 0.10.3

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