@dynamicforms/vuetify-inputs 0.11.4 → 0.11.6

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.
@@ -2,88 +2,88 @@ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r
2
2
  import L, { Action as R, DisplayMode as z, ExecuteAction as ne, MdString as re, MessagesWidget as B, ValidationErrorRenderContent as ie } from "@dynamicforms/vue-forms";
3
3
  import { CachedIcon as V } from "vue-cached-icon";
4
4
  import H from "vue-markdown-render";
5
- import { castArray as U, clone as ae, first as oe, isArray as se, isBoolean as W, isEmpty as G, isEqual as ce, isNaN as le, isObjectLike as ue, isPlainObject as de, isString as K, toNumber as q, unionBy as fe } from "lodash-es";
6
- import { createTranslatable as pe } from "@dynamicforms/translatable";
7
- import { useDisplay as me } from "vuetify";
8
- import { format as he, parse as ge } from "date-fns";
9
- import _e from "@tiptap/extension-image";
10
- import ve from "@tiptap/extension-placeholder";
11
- import { Table as ye } from "@tiptap/extension-table";
12
- import be from "@tiptap/extension-table-cell";
13
- import xe from "@tiptap/extension-table-header";
14
- import Se from "@tiptap/extension-table-row";
15
- import Ce from "@tiptap/extension-text-align";
16
- import { NodeSelection as we } from "@tiptap/pm/state";
17
- import Te from "@tiptap/starter-kit";
18
- import { EditorContent as Ee, useEditor as De } from "@tiptap/vue-3";
19
- import { BubbleMenu as Oe } from "@tiptap/vue-3/menus";
20
- import { Extension as ke, Mark as Ae, Node as je, mergeAttributes as Me } from "@tiptap/core";
21
- import { Fragment as Ne, Slice as Pe } from "@tiptap/pm/model";
22
- import Fe from "@tiptap/extension-link";
23
- import { VAutocomplete as Ie } from "vuetify/components/VAutocomplete";
24
- import { VBtn as Le } from "vuetify/components/VBtn";
25
- import { VCheckbox as Re } from "vuetify/components/VCheckbox";
26
- import { VChip as ze } from "vuetify/components/VChip";
27
- import { VCombobox as Be } from "vuetify/components/VCombobox";
28
- import { VColorPicker as Ve } from "vuetify/components/VColorPicker";
29
- import { VConfirmEdit as He } from "vuetify/components/VConfirmEdit";
30
- import { VDatePicker as Ue } from "vuetify/components/VDatePicker";
31
- import { VField as We } from "vuetify/components/VField";
32
- import { VFileInput as Ge } from "vuetify/components/VFileInput";
33
- import { VCol as Ke, VRow as qe } from "vuetify/components/VGrid";
34
- import { VIcon as Je } from "vuetify/components/VIcon";
35
- import { VImg as Ye } from "vuetify/components/VImg";
36
- import { VInput as Xe } from "vuetify/components/VInput";
37
- import { VListItem as Ze } from "vuetify/components/VList";
38
- import { VMenu as Qe } from "vuetify/components/VMenu";
39
- import { VNumberInput as $e } from "vuetify/components/VNumberInput";
40
- import { VProgressLinear as et } from "vuetify/components/VProgressLinear";
41
- import { VSelect as tt } from "vuetify/components/VSelect";
42
- import { VSwitch as nt } from "vuetify/components/VSwitch";
43
- import { VTextarea as rt } from "vuetify/components/VTextarea";
44
- import { VTextField as it } from "vuetify/components/VTextField";
45
- import { VTimePicker as at } from "vuetify/components/VTimePicker";
5
+ import { castArray as U, clone as ae, first as oe, isArray as se, isBoolean as W, isEmpty as ce, isEqual as le, isNaN as ue, isObjectLike as de, isPlainObject as fe, isString as G, toNumber as K, unionBy as pe } from "lodash-es";
6
+ import { createTranslatable as me } from "@dynamicforms/translatable";
7
+ import { useDisplay as he } from "vuetify";
8
+ import { format as ge, parse as _e } from "date-fns";
9
+ import ve from "@tiptap/extension-image";
10
+ import ye from "@tiptap/extension-placeholder";
11
+ import { Table as be } from "@tiptap/extension-table";
12
+ import xe from "@tiptap/extension-table-cell";
13
+ import Se from "@tiptap/extension-table-header";
14
+ import Ce from "@tiptap/extension-table-row";
15
+ import we from "@tiptap/extension-text-align";
16
+ import { NodeSelection as Te } from "@tiptap/pm/state";
17
+ import Ee from "@tiptap/starter-kit";
18
+ import { EditorContent as De, useEditor as Oe } from "@tiptap/vue-3";
19
+ import { BubbleMenu as ke } from "@tiptap/vue-3/menus";
20
+ import { Extension as Ae, Mark as je, Node as Me, mergeAttributes as Ne } from "@tiptap/core";
21
+ import { Fragment as Pe, Slice as Fe } from "@tiptap/pm/model";
22
+ import Ie from "@tiptap/extension-link";
23
+ import { VAutocomplete as Le } from "vuetify/components/VAutocomplete";
24
+ import { VBtn as Re } from "vuetify/components/VBtn";
25
+ import { VCheckbox as ze } from "vuetify/components/VCheckbox";
26
+ import { VChip as Be } from "vuetify/components/VChip";
27
+ import { VCombobox as Ve } from "vuetify/components/VCombobox";
28
+ import { VColorPicker as He } from "vuetify/components/VColorPicker";
29
+ import { VConfirmEdit as Ue } from "vuetify/components/VConfirmEdit";
30
+ import { VDatePicker as We } from "vuetify/components/VDatePicker";
31
+ import { VField as Ge } from "vuetify/components/VField";
32
+ import { VFileInput as Ke } from "vuetify/components/VFileInput";
33
+ import { VCol as qe, VRow as Je } from "vuetify/components/VGrid";
34
+ import { VIcon as Ye } from "vuetify/components/VIcon";
35
+ import { VImg as Xe } from "vuetify/components/VImg";
36
+ import { VInput as Ze } from "vuetify/components/VInput";
37
+ import { VListItem as Qe } from "vuetify/components/VList";
38
+ import { VMenu as $e } from "vuetify/components/VMenu";
39
+ import { VNumberInput as et } from "vuetify/components/VNumberInput";
40
+ import { VProgressLinear as tt } from "vuetify/components/VProgressLinear";
41
+ import { VSelect as nt } from "vuetify/components/VSelect";
42
+ import { VSwitch as rt } from "vuetify/components/VSwitch";
43
+ import { VTextarea as it } from "vuetify/components/VTextarea";
44
+ import { VTextField as at } from "vuetify/components/VTextField";
45
+ import { VTimePicker as ot } from "vuetify/components/VTimePicker";
46
46
  //#region \0rolldown/runtime.js
47
- var ot = Object.defineProperty, st = (e, t) => {
47
+ var st = Object.defineProperty, ct = (e, t) => {
48
48
  let n = {};
49
- for (var r in e) ot(n, r, {
49
+ for (var r in e) st(n, r, {
50
50
  get: e[r],
51
51
  enumerable: !0
52
52
  });
53
- return t || ot(n, Symbol.toStringTag, { value: "Module" }), n;
53
+ return t || st(n, Symbol.toStringTag, { value: "Module" }), n;
54
54
  };
55
55
  //#endregion
56
56
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/typeof.js
57
- function ct(e) {
57
+ function lt(e) {
58
58
  "@babel/helpers - typeof";
59
- return ct = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
59
+ return lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
60
60
  return typeof e;
61
61
  } : function(e) {
62
62
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
63
- }, ct(e);
63
+ }, lt(e);
64
64
  }
65
65
  //#endregion
66
66
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/toPrimitive.js
67
- function lt(e, t) {
68
- if (ct(e) != "object" || !e) return e;
67
+ function ut(e, t) {
68
+ if (lt(e) != "object" || !e) return e;
69
69
  var n = e[Symbol.toPrimitive];
70
70
  if (n !== void 0) {
71
71
  var r = n.call(e, t || "default");
72
- if (ct(r) != "object") return r;
72
+ if (lt(r) != "object") return r;
73
73
  throw TypeError("@@toPrimitive must return a primitive value.");
74
74
  }
75
75
  return (t === "string" ? String : Number)(e);
76
76
  }
77
77
  //#endregion
78
78
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/toPropertyKey.js
79
- function ut(e) {
80
- var t = lt(e, "string");
81
- return ct(t) == "symbol" ? t : t + "";
79
+ function dt(e) {
80
+ var t = ut(e, "string");
81
+ return lt(t) == "symbol" ? t : t + "";
82
82
  }
83
83
  //#endregion
84
84
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/defineProperty.js
85
- function dt(e, t, n) {
86
- return (t = ut(t)) in e ? Object.defineProperty(e, t, {
85
+ function ft(e, t, n) {
86
+ return (t = dt(t)) in e ? Object.defineProperty(e, t, {
87
87
  value: n,
88
88
  enumerable: !0,
89
89
  configurable: !0,
@@ -92,7 +92,7 @@ function dt(e, t, n) {
92
92
  }
93
93
  //#endregion
94
94
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/objectSpread2.js
95
- function ft(e, t) {
95
+ function pt(e, t) {
96
96
  var n = Object.keys(e);
97
97
  if (Object.getOwnPropertySymbols) {
98
98
  var r = Object.getOwnPropertySymbols(e);
@@ -102,12 +102,12 @@ function ft(e, t) {
102
102
  }
103
103
  return n;
104
104
  }
105
- function J(e) {
105
+ function q(e) {
106
106
  for (var t = 1; t < arguments.length; t++) {
107
107
  var n = arguments[t] == null ? {} : arguments[t];
108
- t % 2 ? ft(Object(n), !0).forEach(function(t) {
109
- dt(e, t, n[t]);
110
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ft(Object(n)).forEach(function(t) {
108
+ t % 2 ? pt(Object(n), !0).forEach(function(t) {
109
+ ft(e, t, n[t]);
110
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pt(Object(n)).forEach(function(t) {
111
111
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
112
112
  });
113
113
  }
@@ -115,10 +115,10 @@ function J(e) {
115
115
  }
116
116
  //#endregion
117
117
  //#region node_modules/date-fns/locale/sl/_lib/formatDistance.js
118
- function pt(e) {
118
+ function mt(e) {
119
119
  return e.one !== void 0;
120
120
  }
121
- var mt = {
121
+ var ht = {
122
122
  lessThanXSeconds: {
123
123
  present: {
124
124
  one: "manj kot {{count}} sekunda",
@@ -393,7 +393,7 @@ var mt = {
393
393
  }
394
394
  }
395
395
  };
396
- function ht(e) {
396
+ function gt(e) {
397
397
  switch (e % 100) {
398
398
  case 1: return "one";
399
399
  case 2: return "two";
@@ -402,27 +402,27 @@ function ht(e) {
402
402
  default: return "other";
403
403
  }
404
404
  }
405
- var gt = (e, t, n) => {
405
+ var _t = (e, t, n) => {
406
406
  let r = "", i = "present";
407
407
  n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (i = "future", r = "čez ") : (i = "past", r = "pred "));
408
- let a = mt[e];
408
+ let a = ht[e];
409
409
  if (typeof a == "string") r += a;
410
410
  else {
411
- let e = ht(t);
412
- pt(a) ? r += a[e].replace("{{count}}", String(t)) : r += a[i][e].replace("{{count}}", String(t));
411
+ let e = gt(t);
412
+ mt(a) ? r += a[e].replace("{{count}}", String(t)) : r += a[i][e].replace("{{count}}", String(t));
413
413
  }
414
414
  return r;
415
415
  };
416
416
  //#endregion
417
417
  //#region node_modules/date-fns/locale/_lib/buildFormatLongFn.js
418
- function _t(e) {
418
+ function vt(e) {
419
419
  return (t = {}) => {
420
420
  let n = t.width ? String(t.width) : e.defaultWidth;
421
421
  return e.formats[n] || e.formats[e.defaultWidth];
422
422
  };
423
423
  }
424
- var vt = {
425
- date: _t({
424
+ var yt = {
425
+ date: vt({
426
426
  formats: {
427
427
  full: "EEEE, dd. MMMM y",
428
428
  long: "dd. MMMM y",
@@ -431,7 +431,7 @@ var vt = {
431
431
  },
432
432
  defaultWidth: "full"
433
433
  }),
434
- time: _t({
434
+ time: vt({
435
435
  formats: {
436
436
  full: "HH:mm:ss zzzz",
437
437
  long: "HH:mm:ss z",
@@ -440,7 +440,7 @@ var vt = {
440
440
  },
441
441
  defaultWidth: "full"
442
442
  }),
443
- dateTime: _t({
443
+ dateTime: vt({
444
444
  formats: {
445
445
  full: "{{date}} {{time}}",
446
446
  long: "{{date}} {{time}}",
@@ -449,7 +449,7 @@ var vt = {
449
449
  },
450
450
  defaultWidth: "full"
451
451
  })
452
- }, yt = {
452
+ }, bt = {
453
453
  lastWeek: (e) => {
454
454
  switch (e.getDay()) {
455
455
  case 0: return "'prejšnjo nedeljo ob' p";
@@ -470,13 +470,13 @@ var vt = {
470
470
  }
471
471
  },
472
472
  other: "P"
473
- }, bt = (e, t, n, r) => {
474
- let i = yt[e];
473
+ }, xt = (e, t, n, r) => {
474
+ let i = bt[e];
475
475
  return typeof i == "function" ? i(t) : i;
476
476
  };
477
477
  //#endregion
478
478
  //#region node_modules/date-fns/locale/_lib/buildLocalizeFn.js
479
- function xt(e) {
479
+ function St(e) {
480
480
  return (t, n) => {
481
481
  let r = n != null && n.context ? String(n.context) : "standalone", i;
482
482
  if (r === "formatting" && e.formattingValues) {
@@ -490,9 +490,9 @@ function xt(e) {
490
490
  return i[a];
491
491
  };
492
492
  }
493
- var St = {
493
+ var Ct = {
494
494
  ordinalNumber: (e, t) => Number(e) + ".",
495
- era: xt({
495
+ era: St({
496
496
  values: {
497
497
  narrow: ["pr. n. št.", "po n. št."],
498
498
  abbreviated: ["pr. n. št.", "po n. št."],
@@ -500,7 +500,7 @@ var St = {
500
500
  },
501
501
  defaultWidth: "wide"
502
502
  }),
503
- quarter: xt({
503
+ quarter: St({
504
504
  values: {
505
505
  narrow: [
506
506
  "1",
@@ -524,7 +524,7 @@ var St = {
524
524
  defaultWidth: "wide",
525
525
  argumentCallback: (e) => e - 1
526
526
  }),
527
- month: xt({
527
+ month: St({
528
528
  values: {
529
529
  narrow: [
530
530
  "j",
@@ -571,7 +571,7 @@ var St = {
571
571
  },
572
572
  defaultWidth: "wide"
573
573
  }),
574
- day: xt({
574
+ day: St({
575
575
  values: {
576
576
  narrow: [
577
577
  "n",
@@ -612,7 +612,7 @@ var St = {
612
612
  },
613
613
  defaultWidth: "wide"
614
614
  }),
615
- dayPeriod: xt({
615
+ dayPeriod: St({
616
616
  values: {
617
617
  narrow: {
618
618
  am: "d",
@@ -683,11 +683,11 @@ var St = {
683
683
  };
684
684
  //#endregion
685
685
  //#region node_modules/date-fns/locale/_lib/buildMatchFn.js
686
- function Ct(e) {
686
+ function wt(e) {
687
687
  return (t, n = {}) => {
688
688
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
689
689
  if (!a) return null;
690
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Tt(s, (e) => e.test(o)) : wt(s, (e) => e.test(o)), l;
690
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Et(s, (e) => e.test(o)) : Tt(s, (e) => e.test(o)), l;
691
691
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
692
692
  let u = t.slice(o.length);
693
693
  return {
@@ -696,15 +696,15 @@ function Ct(e) {
696
696
  };
697
697
  };
698
698
  }
699
- function wt(e, t) {
699
+ function Tt(e, t) {
700
700
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
701
701
  }
702
- function Tt(e, t) {
702
+ function Et(e, t) {
703
703
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
704
704
  }
705
705
  //#endregion
706
706
  //#region node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
707
- function Et(e) {
707
+ function Dt(e) {
708
708
  return (t, n = {}) => {
709
709
  let r = t.match(e.matchPattern);
710
710
  if (!r) return null;
@@ -721,19 +721,19 @@ function Et(e) {
721
721
  }
722
722
  //#endregion
723
723
  //#region node_modules/date-fns/locale/sl.js
724
- var Dt = {
724
+ var Ot = {
725
725
  code: "sl",
726
- formatDistance: gt,
727
- formatLong: vt,
728
- formatRelative: bt,
729
- localize: St,
726
+ formatDistance: _t,
727
+ formatLong: yt,
728
+ formatRelative: xt,
729
+ localize: Ct,
730
730
  match: {
731
- ordinalNumber: Et({
731
+ ordinalNumber: Dt({
732
732
  matchPattern: /^(\d+)\./i,
733
733
  parsePattern: /\d+/i,
734
734
  valueCallback: (e) => parseInt(e, 10)
735
735
  }),
736
- era: Ct({
736
+ era: wt({
737
737
  matchPatterns: {
738
738
  abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
739
739
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
@@ -742,7 +742,7 @@ var Dt = {
742
742
  parsePatterns: { any: [/^pr/i, /^(po|na[sš]em)/i] },
743
743
  defaultParseWidth: "any"
744
744
  }),
745
- quarter: Ct({
745
+ quarter: wt({
746
746
  matchPatterns: {
747
747
  narrow: /^[1234]/i,
748
748
  abbreviated: /^[1234]\.\s?[čc]et\.?/i,
@@ -758,7 +758,7 @@ var Dt = {
758
758
  defaultParseWidth: "any",
759
759
  valueCallback: (e) => e + 1
760
760
  }),
761
- month: Ct({
761
+ month: wt({
762
762
  matchPatterns: {
763
763
  narrow: /^[jfmasond]/i,
764
764
  abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
@@ -811,7 +811,7 @@ var Dt = {
811
811
  },
812
812
  defaultParseWidth: "wide"
813
813
  }),
814
- day: Ct({
814
+ day: wt({
815
815
  matchPatterns: {
816
816
  narrow: /^[nptsčc]/i,
817
817
  short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
@@ -841,7 +841,7 @@ var Dt = {
841
841
  },
842
842
  defaultParseWidth: "any"
843
843
  }),
844
- dayPeriod: Ct({
844
+ dayPeriod: wt({
845
845
  matchPatterns: {
846
846
  narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
847
847
  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
@@ -876,16 +876,16 @@ var Dt = {
876
876
  weekStartsOn: 1,
877
877
  firstWeekContainsDate: 1
878
878
  }
879
- }, Ot = {
880
- dateTimeLocale: S(Dt),
879
+ }, kt = {
880
+ dateTimeLocale: S(Ot),
881
881
  setDateTimeLocale(e) {
882
882
  f(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
883
883
  }
884
- }, kt = class extends Error {
884
+ }, At = class extends Error {
885
885
  constructor(e) {
886
- super(e), dt(this, "errorText", void 0), this.errorText = e;
886
+ super(e), ft(this, "errorText", void 0), this.errorText = e;
887
887
  }
888
- }, Y = /* @__PURE__ */ l({
888
+ }, J = /* @__PURE__ */ l({
889
889
  __name: "df-input-hint",
890
890
  props: {
891
891
  errors: { default: "" },
@@ -900,7 +900,7 @@ var Dt = {
900
900
  classes: o.value
901
901
  }, null, 8, ["message", "classes"]));
902
902
  }
903
- }), X = /* @__PURE__ */ l({
903
+ }), Y = /* @__PURE__ */ l({
904
904
  __name: "df-label",
905
905
  props: {
906
906
  data: {},
@@ -935,16 +935,16 @@ var Dt = {
935
935
  ])) : (x(), i(e, { key: 2 }, [s(O(c.value), 1)], 64))], 2);
936
936
  };
937
937
  }
938
- }), At = Symbol("vuetifyInputsSettingsKey"), jt = class {
938
+ }), jt = Symbol("vuetifyInputsSettingsKey"), Mt = class {
939
939
  constructor(e, t, n = "v-icon") {
940
- dt(this, "text", void 0), dt(this, "icon", void 0), dt(this, "iconComponent", void 0), this.text = e, this.icon = t, this.iconComponent = n;
940
+ ft(this, "text", void 0), ft(this, "icon", void 0), ft(this, "iconComponent", void 0), this.text = e, this.icon = t, this.iconComponent = n;
941
941
  }
942
- }, Z = {
942
+ }, X = {
943
943
  enabled: void 0,
944
944
  clearable: !0
945
945
  };
946
- function Q(e, n) {
947
- let r = d(At, {}), i = d("field-density", null), a = d("field-variant", null), o = S(null), s = D(null), c = t({
946
+ function Z(e, n) {
947
+ let r = d(jt, {}), i = d("field-density", null), a = d("field-variant", null), o = S(null), s = D(null), c = t({
948
948
  get() {
949
949
  return s.value ? s.value.value : e.control ? e.control.value : e.modelValue === void 0 ? o.value : e.modelValue;
950
950
  },
@@ -976,7 +976,7 @@ function Q(e, n) {
976
976
  }), C = t(() => {
977
977
  var t;
978
978
  let n = (t = e.label) == null ? x.value.label : t;
979
- return K(n || "") ? new jt(n || "") : n;
979
+ return G(n || "") ? new Mt(n || "") : n;
980
980
  }), w = t(() => {
981
981
  var t, n;
982
982
  return (t = (n = e.placeholder) == null ? x.value.placeholder : n) == null ? "" : t;
@@ -1011,7 +1011,7 @@ function Q(e, n) {
1011
1011
  densityClass: t(() => `df-density-${A.value}`),
1012
1012
  vuetifyBindings: t(() => {
1013
1013
  var t;
1014
- return J({
1014
+ return q({
1015
1015
  name: (t = e.control) == null ? void 0 : t.fieldName,
1016
1016
  class: O.value,
1017
1017
  density: j.value,
@@ -1021,7 +1021,7 @@ function Q(e, n) {
1021
1021
  readonly: !_.value,
1022
1022
  disabled: !_.value,
1023
1023
  placeholder: w.value,
1024
- "persistent-placeholder": !G(w.value),
1024
+ "persistent-placeholder": !ce(w.value),
1025
1025
  hint: E.value,
1026
1026
  persistentHint: !0,
1027
1027
  hideDetails: "auto",
@@ -1032,7 +1032,7 @@ function Q(e, n) {
1032
1032
  }
1033
1033
  //#endregion
1034
1034
  //#region src/helpers/input-base.vue?vue&type=script&setup=true&lang.ts
1035
- var Mt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Nt = /* @__PURE__ */ l({
1035
+ var Nt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Pt = /* @__PURE__ */ l({
1036
1036
  __name: "input-base",
1037
1037
  props: {
1038
1038
  control: {},
@@ -1057,7 +1057,7 @@ var Mt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Nt = /* @__P
1057
1057
  "blur"
1058
1058
  ],
1059
1059
  setup(e, { emit: i }) {
1060
- let s = e, l = i, { isRendered: d, label: f, showErrors: p, touched: m, value: h, visibilityClass: v, vuetifyBindings: y } = Q(s, l), b = t(() => !!(j(s.clearable) && j(h))), C = S(!1);
1060
+ let s = e, l = i, { isRendered: d, label: f, showErrors: p, touched: m, value: h, visibilityClass: v, vuetifyBindings: y } = Z(s, l), b = t(() => !!(j(s.clearable) && j(h))), C = S(!1);
1061
1061
  function E(e) {
1062
1062
  C.value = e, e || (m.value = !0, l("blur"));
1063
1063
  }
@@ -1073,7 +1073,7 @@ var Mt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Nt = /* @__P
1073
1073
  "error-messages": j(y).errorMessages,
1074
1074
  class: g([e.cssClass, j(v)])
1075
1075
  }, o({
1076
- message: P(({ message: e }) => [c(Y, {
1076
+ message: P(({ message: e }) => [c(J, {
1077
1077
  message: e,
1078
1078
  errors: j(p)
1079
1079
  }, null, 8, ["message", "errors"])]),
@@ -1090,11 +1090,11 @@ var Mt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Nt = /* @__P
1090
1090
  "onClick:clear": i[0] || (i[0] = (e) => l("click:clear")),
1091
1091
  "onUpdate:focused": i[1] || (i[1] = (e) => E(e))
1092
1092
  }, o({
1093
- label: P((e) => [c(X, {
1093
+ label: P((e) => [c(Y, {
1094
1094
  data: e,
1095
1095
  label: j(f)
1096
1096
  }, null, 8, ["data", "label"])]),
1097
- default: P((e) => [a("div", Mt, [w(t.$slots, "default", _(u(e)))])]),
1097
+ default: P((e) => [a("div", Nt, [w(t.$slots, "default", _(u(e)))])]),
1098
1098
  loader: P((e) => [w(t.$slots, "loader", _(u(e)))]),
1099
1099
  _: 2
1100
1100
  }, [t.$slots["prepend-inner"] ? {
@@ -1127,7 +1127,7 @@ var Mt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Nt = /* @__P
1127
1127
  ])) : r("", !0);
1128
1128
  };
1129
1129
  }
1130
- }), { strings: Pt, translateStrings: Ft } = pe({
1130
+ }), { strings: Ft, translateStrings: It } = me({
1131
1131
  Yes: "Yes",
1132
1132
  No: "No",
1133
1133
  Close: "Close",
@@ -1190,36 +1190,36 @@ var Mt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Nt = /* @__P
1190
1190
  MediaEmbedUrl: "Video URL",
1191
1191
  MediaEmbedInsert: "Insert",
1192
1192
  InvalidHexColor: "Not a valid hex string."
1193
- }), $ = /* @__PURE__ */ function(e) {
1193
+ }), Q = /* @__PURE__ */ function(e) {
1194
1194
  return e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e;
1195
- }($ || {}), It = 0;
1195
+ }(Q || {}), Lt = 0;
1196
1196
  (function(e) {
1197
1197
  function t(e) {
1198
1198
  return e.toUpperCase() === "BUTTON" ? 0 : +(e.toUpperCase() === "TEXT");
1199
1199
  }
1200
1200
  e.fromString = t;
1201
1201
  function n(e) {
1202
- let t = typeof e == "number" ? e : $.fromString(e);
1203
- return Object.values($).includes(t) ? t : 0;
1202
+ let t = typeof e == "number" ? e : Q.fromString(e);
1203
+ return Object.values(Q).includes(t) ? t : 0;
1204
1204
  }
1205
1205
  e.fromAny = n;
1206
1206
  function r(e) {
1207
- let t = typeof e == "number" ? e : $.fromString(e);
1208
- return Object.values($).includes(t);
1207
+ let t = typeof e == "number" ? e : Q.fromString(e);
1208
+ return Object.values(Q).includes(t);
1209
1209
  }
1210
1210
  e.isDefined = r;
1211
- })($ || ($ = {})), Object.freeze($);
1211
+ })(Q || (Q = {})), Object.freeze(Q);
1212
1212
  //#endregion
1213
1213
  //#region src/helpers/action/responsive-render-options.ts
1214
- var Lt = [
1214
+ var Rt = [
1215
1215
  "xs",
1216
1216
  "sm",
1217
1217
  "md",
1218
1218
  "lg",
1219
1219
  "xl"
1220
- ], Rt = class {
1220
+ ], zt = class {
1221
1221
  constructor(e) {
1222
- dt(this, "_value", void 0), this._value = this.cleanBreakpoint(e, !0), e && Lt.forEach((t) => {
1222
+ ft(this, "_value", void 0), this._value = this.cleanBreakpoint(e, !0), e && Rt.forEach((t) => {
1223
1223
  let n = this.cleanBreakpoint(e[t]);
1224
1224
  n && (this._value[t] = n);
1225
1225
  });
@@ -1227,43 +1227,43 @@ var Lt = [
1227
1227
  getOptionsForBreakpoint(e) {
1228
1228
  var t;
1229
1229
  let n = (t = this.cleanBreakpoint(this._value)) == null ? {} : t;
1230
- for (let t of Lt) {
1230
+ for (let t of Rt) {
1231
1231
  var r;
1232
1232
  let i = (r = this._value[t]) == null ? {} : r;
1233
1233
  for (let e of Object.keys(i)) {
1234
1234
  let t = i[e];
1235
- t != null && (n[e] = de(t) ? J(J({}, n[e]), t) : t);
1235
+ t != null && (n[e] = fe(t) ? q(q({}, n[e]), t) : t);
1236
1236
  }
1237
1237
  if (t === e) break;
1238
1238
  }
1239
1239
  return n;
1240
1240
  }
1241
1241
  };
1242
- function zt(e) {
1242
+ function Bt(e) {
1243
1243
  return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
1244
1244
  }
1245
- function Bt() {
1246
- let e = me();
1247
- return t(() => zt(e));
1245
+ function Vt() {
1246
+ let e = he();
1247
+ return t(() => Bt(e));
1248
1248
  }
1249
1249
  //#endregion
1250
1250
  //#region src/helpers/action/action-render-options.ts
1251
- var Vt = class extends Rt {
1251
+ var Ht = class extends zt {
1252
1252
  cleanBreakpoint(e, t = !1) {
1253
- if ((!e || !ue(e)) && !t) return null;
1253
+ if ((!e || !de(e)) && !t) return null;
1254
1254
  let n = {};
1255
- return t && (n.renderAs = $.BUTTON, n.showLabel = !0, n.showIcon = !0), e && (e.renderAs != null && (n.renderAs = $.fromAny(e.renderAs)), K(e.label) && (n.label = e.label), K(e.icon) && (n.icon = e.icon), W(e.showLabel) && (n.showLabel = e.showLabel), W(e.showIcon) && (n.showIcon = e.showIcon), K(e.name) && (n.name = e.name), W(e.defaultConfirm) && (n.defaultConfirm = e.defaultConfirm), W(e.defaultReject) && (n.defaultReject = e.defaultReject), de(e.passthroughAttrs) && (n.passthroughAttrs = J({}, e.passthroughAttrs))), Object.keys(n).length ? n : null;
1255
+ return t && (n.renderAs = Q.BUTTON, n.showLabel = !0, n.showIcon = !0), e && (e.renderAs != null && (n.renderAs = Q.fromAny(e.renderAs)), G(e.label) && (n.label = e.label), G(e.icon) && (n.icon = e.icon), W(e.showLabel) && (n.showLabel = e.showLabel), W(e.showIcon) && (n.showIcon = e.showIcon), G(e.name) && (n.name = e.name), W(e.defaultConfirm) && (n.defaultConfirm = e.defaultConfirm), W(e.defaultReject) && (n.defaultReject = e.defaultReject), fe(e.passthroughAttrs) && (n.passthroughAttrs = q({}, e.passthroughAttrs))), Object.keys(n).length ? n : null;
1256
1256
  }
1257
1257
  };
1258
- function Ht(e, t) {
1259
- let n = new Vt(e).getOptionsForBreakpoint(t);
1258
+ function Ut(e, t) {
1259
+ let n = new Ht(e).getOptionsForBreakpoint(t);
1260
1260
  return {
1261
1261
  name: n.name,
1262
1262
  label: n.showLabel ? n.label : void 0,
1263
1263
  icon: n.showIcon ? n.icon : void 0,
1264
1264
  renderAs: n.renderAs,
1265
- showLabel: K(n.label) && !G(n.label) ? n.showLabel : !1,
1266
- showIcon: K(n.icon) && !G(n.icon) ? n.showIcon : !1,
1265
+ showLabel: G(n.label) && !ce(n.label) ? n.showLabel : !1,
1266
+ showIcon: G(n.icon) && !ce(n.icon) ? n.showIcon : !1,
1267
1267
  defaultConfirm: n.defaultConfirm,
1268
1268
  defaultReject: n.defaultReject,
1269
1269
  passthroughAttrs: n.passthroughAttrs
@@ -1271,9 +1271,9 @@ function Ht(e, t) {
1271
1271
  }
1272
1272
  //#endregion
1273
1273
  //#region src/helpers/action/action.ts
1274
- var Ut = class e extends R {
1274
+ var Wt = class e extends R {
1275
1275
  getBreakpointValue(e) {
1276
- return t(() => Ht(this.value, e.value));
1276
+ return t(() => Ut(this.value, e.value));
1277
1277
  }
1278
1278
  get name() {
1279
1279
  return this.value.name;
@@ -1282,13 +1282,13 @@ var Ut = class e extends R {
1282
1282
  return this.value.showLabel ? this.value.label : void 0;
1283
1283
  }
1284
1284
  get showLabel() {
1285
- return K(this.value.label) && !G(this.value.label) ? this.value.showLabel : !1;
1285
+ return G(this.value.label) && !ce(this.value.label) ? this.value.showLabel : !1;
1286
1286
  }
1287
1287
  get renderedIcon() {
1288
1288
  return this.value.showIcon ? this.value.icon : void 0;
1289
1289
  }
1290
1290
  get showIcon() {
1291
- return K(this.value.icon) && !G(this.value.icon) ? this.value.showIcon : !1;
1291
+ return G(this.value.icon) && !ce(this.value.icon) ? this.value.showIcon : !1;
1292
1292
  }
1293
1293
  get renderAs() {
1294
1294
  return this.value.renderAs;
@@ -1304,45 +1304,45 @@ var Ut = class e extends R {
1304
1304
  }
1305
1305
  static closeAction(t) {
1306
1306
  var n;
1307
- let r = J(J({}, t == null ? {} : t), {}, { value: {
1307
+ let r = q(q({}, t == null ? {} : t), {}, { value: {
1308
1308
  name: "close",
1309
- label: Pt.Close,
1309
+ label: Ft.Close,
1310
1310
  icon: "ion-close-outline",
1311
- renderAs: $.BUTTON,
1311
+ renderAs: Q.BUTTON,
1312
1312
  showLabel: !0,
1313
1313
  showIcon: !0
1314
1314
  } });
1315
- return r.value = J(J({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1315
+ return r.value = q(q({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1316
1316
  }
1317
1317
  static yesAction(t) {
1318
1318
  var n;
1319
- let r = J(J({}, t == null ? {} : t), {}, { value: {
1319
+ let r = q(q({}, t == null ? {} : t), {}, { value: {
1320
1320
  name: "yes",
1321
- label: Pt.Yes,
1321
+ label: Ft.Yes,
1322
1322
  icon: "ion-thumbs-up-outline",
1323
- renderAs: $.BUTTON,
1323
+ renderAs: Q.BUTTON,
1324
1324
  showLabel: !0,
1325
1325
  showIcon: !0
1326
1326
  } });
1327
- return r.value = J(J({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1327
+ return r.value = q(q({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1328
1328
  }
1329
1329
  static noAction(t) {
1330
1330
  var n;
1331
- let r = J(J({}, t == null ? {} : t), {}, { value: {
1331
+ let r = q(q({}, t == null ? {} : t), {}, { value: {
1332
1332
  name: "no",
1333
- label: Pt.No,
1333
+ label: Ft.No,
1334
1334
  icon: "ion-thumbs-down-outline",
1335
- renderAs: $.BUTTON,
1335
+ renderAs: Q.BUTTON,
1336
1336
  showLabel: !0,
1337
1337
  showIcon: !0
1338
1338
  } });
1339
- return r.value = J(J({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1339
+ return r.value = q(q({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1340
1340
  }
1341
1341
  };
1342
1342
  //#endregion
1343
1343
  //#region src/helpers/use-file-touch-keepalive.ts
1344
- function Wt(e, t, n, r) {
1345
- let i = d(At, {}), a = S(null);
1344
+ function Gt(e, t, n, r) {
1345
+ let i = d(jt, {}), a = S(null);
1346
1346
  function o() {
1347
1347
  a.value && window.clearInterval(a.value);
1348
1348
  }
@@ -1352,7 +1352,7 @@ function Wt(e, t, n, r) {
1352
1352
  let l = (s = (c = n()) == null ? i.defaultTouchInterval : c) == null ? 6e4 : s;
1353
1353
  a.value = window.setInterval(() => {
1354
1354
  e.value && t().touch(e.value).catch((e) => {
1355
- e instanceof kt && r(e.errorText);
1355
+ e instanceof At && r(e.errorText);
1356
1356
  });
1357
1357
  }, l);
1358
1358
  }
@@ -1361,15 +1361,15 @@ function Wt(e, t, n, r) {
1361
1361
  clearTouchInterval: o
1362
1362
  };
1363
1363
  }
1364
- function Gt(e, t) {
1364
+ function Kt(e, t) {
1365
1365
  e && (e.errors = [new ie(t)]);
1366
1366
  }
1367
1367
  //#endregion
1368
1368
  //#region src/df-actions.vue?vue&type=script&setup=true&lang.ts
1369
- var Kt = {
1369
+ var qt = {
1370
1370
  key: 1,
1371
1371
  style: { width: "0.5rem" }
1372
- }, qt = { key: 2 }, Jt = /* @__PURE__ */ l({
1372
+ }, Jt = { key: 2 }, Yt = /* @__PURE__ */ l({
1373
1373
  __name: "df-actions",
1374
1374
  props: {
1375
1375
  actions: {},
@@ -1378,7 +1378,7 @@ var Kt = {
1378
1378
  showAsGroup: { default: "no" }
1379
1379
  },
1380
1380
  setup(a) {
1381
- let o = a, s = Bt(), c = t(() => j(o.actions).filter((e) => e.visibility !== z.SUPPRESS)), l = t(() => c.value.map((e) => J({ action: e }, Ht(e.value, s.value))));
1381
+ let o = a, s = Vt(), c = t(() => j(o.actions).filter((e) => e.visibility !== z.SUPPRESS)), l = t(() => c.value.map((e) => q({ action: e }, Ut(e.value, s.value))));
1382
1382
  function u(e) {
1383
1383
  if (e.defaultConfirm) return "primary";
1384
1384
  if (e.defaultReject) return "secondary";
@@ -1393,7 +1393,7 @@ var Kt = {
1393
1393
  }])
1394
1394
  }, [(x(!0), i(e, null, C(l.value, (e, t) => (x(), n(s, m({
1395
1395
  key: t,
1396
- variant: e.renderAs === j($).BUTTON ? "tonal" : "text",
1396
+ variant: e.renderAs === j(Q).BUTTON ? "tonal" : "text",
1397
1397
  color: u(e),
1398
1398
  disabled: !e.action.effectiveEnabled || e.action.busy,
1399
1399
  loading: e.action.busy,
@@ -1410,8 +1410,8 @@ var Kt = {
1410
1410
  key: 0,
1411
1411
  name: e.icon
1412
1412
  }, null, 8, ["name"])) : r("", !0),
1413
- e.icon && e.label ? (x(), i("span", Kt)) : r("", !0),
1414
- e.label ? (x(), i("span", qt, O(e.label), 1)) : r("", !0)
1413
+ e.icon && e.label ? (x(), i("span", qt)) : r("", !0),
1414
+ e.label ? (x(), i("span", Jt, O(e.label), 1)) : r("", !0)
1415
1415
  ]),
1416
1416
  _: 2
1417
1417
  }, 1040, [
@@ -1426,7 +1426,7 @@ var Kt = {
1426
1426
  ]))), 128))], 2)) : r("", !0);
1427
1427
  };
1428
1428
  }
1429
- }), Yt = /* @__PURE__ */ l({
1429
+ }), Xt = /* @__PURE__ */ l({
1430
1430
  __name: "df-checkbox",
1431
1431
  props: /*@__PURE__*/ p({
1432
1432
  allowNull: { type: Boolean },
@@ -1444,10 +1444,10 @@ var Kt = {
1444
1444
  passthroughAttrs: {},
1445
1445
  density: {},
1446
1446
  variant: {}
1447
- }, J(J({}, Z), {}, { allowNull: !1 })),
1447
+ }, q(q({}, X), {}, { allowNull: !1 })),
1448
1448
  emits: ["update:modelValue", "click:clear"],
1449
1449
  setup(e, { emit: i }) {
1450
- let a = e, { densityClass: o, isRendered: s, label: l, showErrors: u, touched: d, value: f, visibilityClass: p, vuetifyBindings: h } = Q(a, i), g = t(() => a.allowNull && f.value == null), _ = t({
1450
+ let a = e, { densityClass: o, isRendered: s, label: l, showErrors: u, touched: d, value: f, visibilityClass: p, vuetifyBindings: h } = Z(a, i), g = t(() => a.allowNull && f.value == null), _ = t({
1451
1451
  get() {
1452
1452
  return f.value;
1453
1453
  },
@@ -1472,12 +1472,12 @@ var Kt = {
1472
1472
  onChange: v,
1473
1473
  onBlur: t[1] || (t[1] = (e) => d.value = !0)
1474
1474
  }), {
1475
- label: P((e) => [c(j(X), {
1475
+ label: P((e) => [c(j(Y), {
1476
1476
  "allow-wrap": !0,
1477
1477
  data: e,
1478
1478
  label: j(l)
1479
1479
  }, null, 8, ["data", "label"])]),
1480
- message: P(({ message: e }) => [c(j(Y), {
1480
+ message: P(({ message: e }) => [c(j(J), {
1481
1481
  message: e,
1482
1482
  errors: j(u)
1483
1483
  }, null, 8, ["message", "errors"])]),
@@ -1489,7 +1489,7 @@ var Kt = {
1489
1489
  ])) : r("", !0);
1490
1490
  };
1491
1491
  }
1492
- }), Xt = /* @__PURE__ */ l({
1492
+ }), Zt = /* @__PURE__ */ l({
1493
1493
  __name: "df-color",
1494
1494
  props: /*@__PURE__*/ p({
1495
1495
  allowNull: { type: Boolean },
@@ -1507,10 +1507,10 @@ var Kt = {
1507
1507
  passthroughAttrs: {},
1508
1508
  density: {},
1509
1509
  variant: {}
1510
- }, J(J({}, Z), {}, { allowNull: !1 })),
1510
+ }, q(q({}, X), {}, { allowNull: !1 })),
1511
1511
  emits: ["update:modelValue", "click:clear"],
1512
1512
  setup(e, { emit: i }) {
1513
- let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: g, vuetifyBindings: _ } = Q(o, i), y = S(!1), b = t(() => [(e) => o.control || !e && o.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(e) ? !0 : Pt.InvalidHexColor]);
1513
+ let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: g, vuetifyBindings: _ } = Z(o, i), y = S(!1), b = t(() => [(e) => o.control || !e && o.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(e) ? !0 : Ft.InvalidHexColor]);
1514
1514
  return (t, i) => {
1515
1515
  let o = T("v-color-picker"), S = T("v-menu"), C = T("v-text-field");
1516
1516
  return j(l) ? (x(), n(C, m({
@@ -1522,11 +1522,11 @@ var Kt = {
1522
1522
  type: "text",
1523
1523
  rules: b.value
1524
1524
  }, j(_), { onBlur: i[3] || (i[3] = (e) => p.value = !0) }), {
1525
- label: P((e) => [c(j(X), {
1525
+ label: P((e) => [c(j(Y), {
1526
1526
  data: e,
1527
1527
  label: j(u)
1528
1528
  }, null, 8, ["data", "label"])]),
1529
- message: P(({ message: e }) => [c(j(Y), {
1529
+ message: P(({ message: e }) => [c(j(J), {
1530
1530
  message: e,
1531
1531
  errors: j(d)
1532
1532
  }, null, 8, ["message", "errors"])]),
@@ -1558,7 +1558,7 @@ var Kt = {
1558
1558
  ])) : r("", !0);
1559
1559
  };
1560
1560
  }
1561
- }), Zt = /* @__PURE__ */ l({
1561
+ }), Qt = /* @__PURE__ */ l({
1562
1562
  __name: "df-datetime",
1563
1563
  props: /*@__PURE__*/ p({
1564
1564
  inputType: {},
@@ -1579,7 +1579,7 @@ var Kt = {
1579
1579
  passthroughAttrs: {},
1580
1580
  density: {},
1581
1581
  variant: {}
1582
- }, J(J({}, Z), {}, {
1582
+ }, q(q({}, X), {}, {
1583
1583
  inputType: "datetime",
1584
1584
  displayFormatDate: "P",
1585
1585
  displayFormatTime: "p"
@@ -1588,11 +1588,11 @@ var Kt = {
1588
1588
  setup(e, { emit: i }) {
1589
1589
  let o = e, s = i, l = t(() => {
1590
1590
  var e;
1591
- return (e = o.locale) == null ? j(Ot.dateTimeLocale) : e;
1591
+ return (e = o.locale) == null ? j(kt.dateTimeLocale) : e;
1592
1592
  }), u = t(() => {
1593
1593
  var e, t;
1594
1594
  return (e = (t = l.value.options) == null ? void 0 : t.weekStartsOn) == null ? 1 : e;
1595
- }), { density: d, densityClass: f, touched: p, value: h, vuetifyBindings: _ } = Q(o, s), { inputType: v, displayFormatDate: y, displayFormatTime: b } = A(o), C = S(""), w = t({
1595
+ }), { density: d, densityClass: f, touched: p, value: h, vuetifyBindings: _ } = Z(o, s), { inputType: v, displayFormatDate: y, displayFormatTime: b } = A(o), C = S(""), w = t({
1596
1596
  get() {
1597
1597
  return j(C) === "date";
1598
1598
  },
@@ -1606,7 +1606,7 @@ var Kt = {
1606
1606
  set(e) {
1607
1607
  C.value = e ? "time" : "";
1608
1608
  }
1609
- }), O = (e) => `${he(e, "yyyy-MM-dd")}T${he(e, "HH:mm")}:00`, k = S(null);
1609
+ }), O = (e) => `${ge(e, "yyyy-MM-dd")}T${ge(e, "HH:mm")}:00`, k = S(null);
1610
1610
  function M(e, t) {
1611
1611
  if (e == null) k.value = null;
1612
1612
  else if (t === -1) {
@@ -1618,7 +1618,7 @@ var Kt = {
1618
1618
  } else {
1619
1619
  k.value == null && (k.value = O(/* @__PURE__ */ new Date()));
1620
1620
  let n = k.value.split(/[TZ]/g);
1621
- n[t] = e.split(/[TZ]/g)[t], k.value = O(/* @__PURE__ */ new Date(`${n[0]}T${n[1].split(".")[0]}`)), j(v) === "date" ? h.value = n[0] : j(v) === "time" ? h.value = n[1] : h.value = j(k) + he(/* @__PURE__ */ new Date(), "XXX");
1621
+ n[t] = e.split(/[TZ]/g)[t], k.value = O(/* @__PURE__ */ new Date(`${n[0]}T${n[1].split(".")[0]}`)), j(v) === "date" ? h.value = n[0] : j(v) === "time" ? h.value = n[1] : h.value = j(k) + ge(/* @__PURE__ */ new Date(), "XXX");
1622
1622
  }
1623
1623
  }
1624
1624
  N(h, (e) => M(e, -1), { immediate: !0 });
@@ -1643,11 +1643,11 @@ var Kt = {
1643
1643
  }), I = t({
1644
1644
  get() {
1645
1645
  let e = j(ee);
1646
- return e == null ? "" : he(e, j(y), { locale: l.value });
1646
+ return e == null ? "" : ge(e, j(y), { locale: l.value });
1647
1647
  },
1648
1648
  set(e) {
1649
1649
  try {
1650
- let t = ge(e, j(y), /* @__PURE__ */ new Date(), { locale: l.value });
1650
+ let t = _e(e, j(y), /* @__PURE__ */ new Date(), { locale: l.value });
1651
1651
  M(O(t), 0);
1652
1652
  } catch (e) {
1653
1653
  console.error(e);
@@ -1656,18 +1656,18 @@ var Kt = {
1656
1656
  }), L = t({
1657
1657
  get() {
1658
1658
  let e = j(ee);
1659
- return e == null ? "" : he(e, j(b), { locale: l.value });
1659
+ return e == null ? "" : ge(e, j(b), { locale: l.value });
1660
1660
  },
1661
1661
  set(e) {
1662
1662
  let t = e.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1663
1663
  if (t == null) return;
1664
- let n = q(t[1]), r = q(t[2]);
1665
- le(n) || le(r) || (t[3] && t[3].toLowerCase() === "pm" && n < 13 && (n += 12), M(`T${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}:00`, 1));
1664
+ let n = K(t[1]), r = K(t[2]);
1665
+ ue(n) || ue(r) || (t[3] && t[3].toLowerCase() === "pm" && n < 13 && (n += 12), M(`T${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}:00`, 1));
1666
1666
  }
1667
1667
  });
1668
1668
  return (t, i) => {
1669
1669
  let s = T("v-date-picker"), l = T("v-confirm-edit"), y = T("v-menu"), b = T("v-text-field"), S = T("v-time-picker");
1670
- return x(), n(j(Nt), m(o, {
1670
+ return x(), n(j(Pt), m(o, {
1671
1671
  class: j(f),
1672
1672
  clearable: e.clearable,
1673
1673
  "onClick:clear": i[14] || (i[14] = (e) => h.value = null),
@@ -1799,7 +1799,7 @@ var Kt = {
1799
1799
  });
1800
1800
  //#endregion
1801
1801
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/asyncToGenerator.js
1802
- function Qt(e, t, n, r, i, a, o) {
1802
+ function $t(e, t, n, r, i, a, o) {
1803
1803
  try {
1804
1804
  var s = e[a](o), c = s.value;
1805
1805
  } catch (e) {
@@ -1808,16 +1808,16 @@ function Qt(e, t, n, r, i, a, o) {
1808
1808
  }
1809
1809
  s.done ? t(c) : Promise.resolve(c).then(r, i);
1810
1810
  }
1811
- function $t(e) {
1811
+ function en(e) {
1812
1812
  return function() {
1813
1813
  var t = this, n = arguments;
1814
1814
  return new Promise(function(r, i) {
1815
1815
  var a = e.apply(t, n);
1816
1816
  function o(e) {
1817
- Qt(a, r, i, o, s, "next", e);
1817
+ $t(a, r, i, o, s, "next", e);
1818
1818
  }
1819
1819
  function s(e) {
1820
- Qt(a, r, i, o, s, "throw", e);
1820
+ $t(a, r, i, o, s, "throw", e);
1821
1821
  }
1822
1822
  o(void 0);
1823
1823
  });
@@ -1825,7 +1825,7 @@ function $t(e) {
1825
1825
  }
1826
1826
  //#endregion
1827
1827
  //#region src/df-file.vue?vue&type=script&setup=true&lang.ts
1828
- var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1828
+ var tn = ["title", "aria-label"], nn = /* @__PURE__ */ l({
1829
1829
  __name: "df-file",
1830
1830
  props: /*@__PURE__*/ p({
1831
1831
  comms: {},
@@ -1844,15 +1844,15 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1844
1844
  passthroughAttrs: {},
1845
1845
  density: {},
1846
1846
  variant: {}
1847
- }, Z),
1847
+ }, X),
1848
1848
  emits: ["update:modelValue", "click:clear"],
1849
1849
  setup(e, { emit: i }) {
1850
- let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Q(s, i), h = Pt, _ = S(null), v = S(0), y = S(Math.round(Math.random() * 1e3)), b = S(), C = t(() => _.value && v.value < 100), w = t(() => !b.value && f.value ? f.value : ""), E = t(() => !b.value && !!f.value && !!s.comms.getDownloadUrl);
1850
+ let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Z(s, i), h = Ft, _ = S(null), v = S(0), y = S(Math.round(Math.random() * 1e3)), b = S(), C = t(() => _.value && v.value < 100), w = t(() => !b.value && f.value ? f.value : ""), E = t(() => !b.value && !!f.value && !!s.comms.getDownloadUrl);
1851
1851
  function D() {
1852
1852
  return O.apply(this, arguments);
1853
1853
  }
1854
1854
  function O() {
1855
- return O = $t(function* () {
1855
+ return O = en(function* () {
1856
1856
  if (!f.value || !s.comms.getDownloadUrl) return;
1857
1857
  let e = yield s.comms.getDownloadUrl(f.value), t = document.createElement("a");
1858
1858
  t.href = e, t.download = "", t.rel = "noopener", t.click();
@@ -1862,14 +1862,14 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1862
1862
  f.value = null, v.value = 0, y.value = Math.round(Math.random() * 1e3), _.value = null, b.value = null, ee();
1863
1863
  }
1864
1864
  function A(e) {
1865
- k(), Gt(s.control, e);
1865
+ k(), Kt(s.control, e);
1866
1866
  }
1867
- let { setupTouchInterval: M, clearTouchInterval: ee } = Wt(f, () => s.comms, () => s.touchInterval, A);
1867
+ let { setupTouchInterval: M, clearTouchInterval: ee } = Gt(f, () => s.comms, () => s.touchInterval, A);
1868
1868
  function N() {
1869
1869
  return te.apply(this, arguments);
1870
1870
  }
1871
1871
  function te() {
1872
- return te = $t(function* () {
1872
+ return te = en(function* () {
1873
1873
  f.value && (yield s.comms.delete(f.value)), k();
1874
1874
  }), te.apply(this, arguments);
1875
1875
  }
@@ -1877,7 +1877,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1877
1877
  return L.apply(this, arguments);
1878
1878
  }
1879
1879
  function L() {
1880
- return L = $t(function* (e) {
1880
+ return L = en(function* (e) {
1881
1881
  v.value = -1, _.value = e;
1882
1882
  try {
1883
1883
  f.value = yield s.comms.upload(e, (e, t) => {
@@ -1893,7 +1893,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1893
1893
  }
1894
1894
  return (t, i) => {
1895
1895
  let f = T("v-progress-linear"), y = T("v-file-input");
1896
- return x(), n(j(Nt), m(J(J({}, s), {}, { loading: C.value }), {
1896
+ return x(), n(j(Pt), m(q(q({}, s), {}, { loading: C.value }), {
1897
1897
  class: j(u),
1898
1898
  clearable: "",
1899
1899
  "onClick:clear": N,
@@ -1932,7 +1932,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1932
1932
  title: j(h).FileDownload,
1933
1933
  "aria-label": j(h).FileDownload,
1934
1934
  onClick: I(D, ["stop", "prevent"])
1935
- }, [c(j(V), { name: "mdi-download" })], 8, en)]),
1935
+ }, [c(j(V), { name: "mdi-download" })], 8, tn)]),
1936
1936
  key: "0"
1937
1937
  } : void 0]), 1040, [
1938
1938
  "modelValue",
@@ -1948,17 +1948,17 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1948
1948
  }, 16, ["class"]);
1949
1949
  };
1950
1950
  }
1951
- }), nn = [
1951
+ }), rn = [
1952
1952
  "id",
1953
1953
  "disabled",
1954
1954
  "name",
1955
1955
  "onFocus",
1956
1956
  "onBlur"
1957
- ], rn = ["for"], an = ["for"], on = ["for", "title"], sn = [
1957
+ ], an = ["for"], on = ["for"], sn = ["for", "title"], cn = [
1958
1958
  "href",
1959
1959
  "title",
1960
1960
  "aria-label"
1961
- ], cn = /* @__PURE__ */ l({
1961
+ ], ln = /* @__PURE__ */ l({
1962
1962
  __name: "df-image",
1963
1963
  props: /*@__PURE__*/ p({
1964
1964
  comms: {},
@@ -1977,10 +1977,10 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1977
1977
  passthroughAttrs: {},
1978
1978
  density: {},
1979
1979
  variant: {}
1980
- }, Z),
1980
+ }, X),
1981
1981
  emits: ["update:modelValue", "click:clear"],
1982
1982
  setup(e, { emit: o }) {
1983
- let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Q(s, o), h = Pt, _ = ee(), b = S(null), C = S(0), w = S(null), E = S(0), D = S(null), k = t(() => b.value && C.value < 100), A = t(() => !!(p.value.disabled || p.value.readonly)), M = t(() => E.value > 0), N = t(() => {
1983
+ let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Z(s, o), h = Ft, _ = ee(), b = S(null), C = S(0), w = S(null), E = S(0), D = S(null), k = t(() => b.value && C.value < 100), A = t(() => !!(p.value.disabled || p.value.readonly)), M = t(() => E.value > 0), N = t(() => {
1984
1984
  var e;
1985
1985
  return (e = w.value) == null ? f.value ? f.value : null : e;
1986
1986
  }), te = t(() => !!f.value);
@@ -1991,15 +1991,15 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
1991
1991
  f.value = null, C.value = 0, b.value = null, F(), ne();
1992
1992
  }
1993
1993
  function R(e) {
1994
- L(), Gt(s.control, e);
1994
+ L(), Kt(s.control, e);
1995
1995
  }
1996
- let { setupTouchInterval: z, clearTouchInterval: ne } = Wt(f, () => s.comms, () => s.touchInterval, R);
1996
+ let { setupTouchInterval: z, clearTouchInterval: ne } = Gt(f, () => s.comms, () => s.touchInterval, R);
1997
1997
  y(() => F());
1998
1998
  function re() {
1999
1999
  return B.apply(this, arguments);
2000
2000
  }
2001
2001
  function B() {
2002
- return B = $t(function* () {
2002
+ return B = en(function* () {
2003
2003
  f.value && (yield s.comms.delete(f.value)), L();
2004
2004
  }), B.apply(this, arguments);
2005
2005
  }
@@ -2007,7 +2007,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2007
2007
  return H.apply(this, arguments);
2008
2008
  }
2009
2009
  function H() {
2010
- return H = $t(function* (e) {
2010
+ return H = en(function* (e) {
2011
2011
  C.value = -1, b.value = e, F(), w.value = URL.createObjectURL(e);
2012
2012
  try {
2013
2013
  f.value = yield s.comms.upload(e, (e, t) => {
@@ -2044,7 +2044,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2044
2044
  }
2045
2045
  return (e, t) => {
2046
2046
  let o = T("v-progress-linear"), y = T("v-img");
2047
- return x(), n(j(Nt), m(J(J({}, s), {}, { loading: k.value }), {
2047
+ return x(), n(j(Pt), m(q(q({}, s), {}, { loading: k.value }), {
2048
2048
  class: ["df-image-field", j(u)],
2049
2049
  clearable: "",
2050
2050
  "onClick:clear": re,
@@ -2079,7 +2079,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2079
2079
  onChange: ae,
2080
2080
  onFocus: (t) => e.focus(),
2081
2081
  onBlur: (t) => e.blur()
2082
- }, null, 40, nn),
2082
+ }, null, 40, rn),
2083
2083
  N.value ? (x(), i("label", {
2084
2084
  key: 0,
2085
2085
  for: j(_),
@@ -2088,17 +2088,17 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2088
2088
  src: N.value,
2089
2089
  class: "df-image-preview",
2090
2090
  style: v(b.value && C.value < 100 ? "visibility: hidden" : "")
2091
- }, null, 8, ["src", "style"])], 8, rn)) : (x(), i("label", {
2091
+ }, null, 8, ["src", "style"])], 8, an)) : (x(), i("label", {
2092
2092
  key: 1,
2093
2093
  for: j(_),
2094
2094
  class: "df-image-placeholder"
2095
- }, [c(j(V), { name: "mdi-tray-arrow-up" }), a("span", null, O(j(h).ImageDropHint), 1)], 8, an)),
2095
+ }, [c(j(V), { name: "mdi-tray-arrow-up" }), a("span", null, O(j(h).ImageDropHint), 1)], 8, on)),
2096
2096
  N.value && !A.value ? (x(), i("label", {
2097
2097
  key: 2,
2098
2098
  for: j(_),
2099
2099
  class: "df-image-replace-btn",
2100
2100
  title: j(h).ImageReplace
2101
- }, [c(j(V), { name: "mdi-pencil" })], 8, on)) : r("", !0),
2101
+ }, [c(j(V), { name: "mdi-pencil" })], 8, sn)) : r("", !0),
2102
2102
  te.value ? (x(), i("a", {
2103
2103
  key: 3,
2104
2104
  href: j(f),
@@ -2108,13 +2108,13 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2108
2108
  class: "df-image-download-btn",
2109
2109
  title: j(h).ImageDownload,
2110
2110
  "aria-label": j(h).ImageDownload
2111
- }, [c(j(V), { name: "mdi-download" })], 8, sn)) : r("", !0)
2111
+ }, [c(j(V), { name: "mdi-download" })], 8, cn)) : r("", !0)
2112
2112
  ], 34)]),
2113
2113
  _: 1
2114
2114
  }, 16, ["class"]);
2115
2115
  };
2116
2116
  }
2117
- }), ln = /* @__PURE__ */ l({
2117
+ }), un = /* @__PURE__ */ l({
2118
2118
  __name: "df-input",
2119
2119
  props: /*@__PURE__*/ p({
2120
2120
  inputType: {},
@@ -2136,7 +2136,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2136
2136
  passthroughAttrs: {},
2137
2137
  density: {},
2138
2138
  variant: {}
2139
- }, J(J({}, Z), {}, {
2139
+ }, q(q({}, X), {}, {
2140
2140
  inputType: "text",
2141
2141
  precision: null,
2142
2142
  step: void 0,
@@ -2145,7 +2145,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2145
2145
  })),
2146
2146
  emits: ["update:modelValue", "click:clear"],
2147
2147
  setup(e, { emit: a }) {
2148
- let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: _, vuetifyBindings: v } = Q(o, a), { inputType: y, max: b, min: S, precision: C, step: w } = A(o), E = t(() => y.value === "number"), D = t(() => E.value ? {
2148
+ let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: _, vuetifyBindings: v } = Z(o, a), { inputType: y, max: b, min: S, precision: C, step: w } = A(o), E = t(() => y.value === "number"), D = t(() => E.value ? {
2149
2149
  min: j(S),
2150
2150
  max: j(b),
2151
2151
  precision: j(C),
@@ -2162,12 +2162,12 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2162
2162
  "onUpdate:modelValue": t[2] || (t[2] = (e) => f(h) ? h.value = e : null),
2163
2163
  density: "compact",
2164
2164
  "control-variant": "stacked"
2165
- }, J(J({}, j(v)), D.value)), {
2166
- label: P((e) => [c(j(X), {
2165
+ }, q(q({}, j(v)), D.value)), {
2166
+ label: P((e) => [c(j(Y), {
2167
2167
  data: e,
2168
2168
  label: j(u)
2169
2169
  }, null, 8, ["data", "label"])]),
2170
- message: P(({ message: e }) => [c(j(Y), {
2170
+ message: P(({ message: e }) => [c(j(J), {
2171
2171
  message: e,
2172
2172
  errors: j(d)
2173
2173
  }, null, 8, ["message", "errors"])]),
@@ -2178,11 +2178,11 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2178
2178
  "onUpdate:modelValue": t[0] || (t[0] = (e) => f(h) ? h.value = e : null),
2179
2179
  type: j(y)
2180
2180
  }, j(v), { onBlur: t[1] || (t[1] = (e) => p.value = !0) }), {
2181
- label: P((e) => [c(j(X), {
2181
+ label: P((e) => [c(j(Y), {
2182
2182
  data: e,
2183
2183
  label: j(u)
2184
2184
  }, null, 8, ["data", "label"])]),
2185
- message: P(({ message: e }) => [c(j(Y), {
2185
+ message: P(({ message: e }) => [c(j(J), {
2186
2186
  message: e,
2187
2187
  errors: j(d)
2188
2188
  }, null, 8, ["message", "errors"])]),
@@ -2190,7 +2190,7 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2190
2190
  }, 16, ["modelValue", "type"]))], 2)) : r("", !0);
2191
2191
  };
2192
2192
  }
2193
- }), un = ke.create({
2193
+ }), dn = Ae.create({
2194
2194
  name: "classAttribute",
2195
2195
  addGlobalAttributes() {
2196
2196
  return [{
@@ -2208,8 +2208,8 @@ var en = ["title", "aria-label"], tn = /* @__PURE__ */ l({
2208
2208
  }];
2209
2209
  }
2210
2210
  });
2211
- function dn(e, t) {
2212
- return Ae.create({
2211
+ function fn(e, t) {
2212
+ return je.create({
2213
2213
  name: e,
2214
2214
  parseHTML() {
2215
2215
  return [{ tag: `span.${t}` }];
@@ -2217,13 +2217,13 @@ function dn(e, t) {
2217
2217
  renderHTML({ HTMLAttributes: e }) {
2218
2218
  return [
2219
2219
  "span",
2220
- Me(e, { class: t }),
2220
+ Ne(e, { class: t }),
2221
2221
  0
2222
2222
  ];
2223
2223
  }
2224
2224
  });
2225
2225
  }
2226
- var fn = dn("marker", "marker"), pn = dn("spoiler", "spoiler"), mn = [
2226
+ var pn = fn("marker", "marker"), mn = fn("spoiler", "spoiler"), hn = [
2227
2227
  {
2228
2228
  key: "ArticleCategory",
2229
2229
  kind: "heading",
@@ -2273,67 +2273,67 @@ var fn = dn("marker", "marker"), pn = dn("spoiler", "spoiler"), mn = [
2273
2273
  className: "fancy-code fancy-code-bright"
2274
2274
  }
2275
2275
  ];
2276
- function hn(e) {
2276
+ function gn(e) {
2277
2277
  let { state: t } = e, { $from: n } = t.selection;
2278
2278
  return n.depth > 0 || t.doc.content.size === 0 ? n : t.doc.resolve(Math.min(1, t.doc.content.size));
2279
2279
  }
2280
- function gn(e) {
2281
- return hn(e).parent;
2280
+ function _n(e) {
2281
+ return gn(e).parent;
2282
2282
  }
2283
- function _n(e, t) {
2284
- let n = hn(e);
2283
+ function vn(e, t) {
2284
+ let n = gn(e);
2285
2285
  for (let e = n.depth; e >= 0; --e) if (n.node(e).type.name === t) return n.node(e);
2286
2286
  return null;
2287
2287
  }
2288
- function vn(e, t) {
2288
+ function yn(e, t) {
2289
2289
  switch (t.kind) {
2290
2290
  case "heading": {
2291
- let n = gn(e);
2291
+ let n = _n(e);
2292
2292
  return n.type.name === "heading" && n.attrs.level === t.level && n.attrs.class === t.className;
2293
2293
  }
2294
2294
  case "paragraph": {
2295
- let n = gn(e);
2295
+ let n = _n(e);
2296
2296
  return n.type.name === "paragraph" && n.attrs.class === t.className;
2297
2297
  }
2298
2298
  case "codeBlock": {
2299
- let n = gn(e);
2299
+ let n = _n(e);
2300
2300
  return n.type.name === "codeBlock" && n.attrs.class === t.className;
2301
2301
  }
2302
2302
  case "blockquote": {
2303
- let n = _n(e, "blockquote");
2303
+ let n = vn(e, "blockquote");
2304
2304
  return !!n && n.attrs.class === t.className;
2305
2305
  }
2306
2306
  case "mark": return e.isActive(t.markName);
2307
2307
  default: return !1;
2308
2308
  }
2309
2309
  }
2310
- function yn(e, t) {
2310
+ function bn(e, t) {
2311
2311
  let n = e.chain().focus(), { $from: r } = e.state.selection;
2312
- switch (t.kind !== "mark" && r.depth === 0 && e.state.doc.content.size > 0 && n.setTextSelection(hn(e).pos), t.kind) {
2312
+ switch (t.kind !== "mark" && r.depth === 0 && e.state.doc.content.size > 0 && n.setTextSelection(gn(e).pos), t.kind) {
2313
2313
  case "heading":
2314
- vn(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setNode("heading", { level: t.level }).updateAttributes("heading", { class: t.className }).run();
2314
+ yn(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setNode("heading", { level: t.level }).updateAttributes("heading", { class: t.className }).run();
2315
2315
  break;
2316
2316
  case "paragraph":
2317
- vn(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setParagraph().updateAttributes("paragraph", { class: t.className }).run();
2317
+ yn(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setParagraph().updateAttributes("paragraph", { class: t.className }).run();
2318
2318
  break;
2319
2319
  case "blockquote":
2320
- vn(e, t) ? n.unsetBlockquote().run() : _n(e, "blockquote") ? n.updateAttributes("blockquote", { class: t.className }).run() : n.setBlockquote().updateAttributes("blockquote", { class: t.className }).run();
2320
+ yn(e, t) ? n.unsetBlockquote().run() : vn(e, "blockquote") ? n.updateAttributes("blockquote", { class: t.className }).run() : n.setBlockquote().updateAttributes("blockquote", { class: t.className }).run();
2321
2321
  break;
2322
2322
  case "codeBlock":
2323
- vn(e, t) ? n.toggleCodeBlock().updateAttributes("paragraph", { class: null }).run() : gn(e).type.name === "codeBlock" ? n.updateAttributes("codeBlock", { class: t.className }).run() : n.setCodeBlock().updateAttributes("codeBlock", { class: t.className }).run();
2323
+ yn(e, t) ? n.toggleCodeBlock().updateAttributes("paragraph", { class: null }).run() : _n(e).type.name === "codeBlock" ? n.updateAttributes("codeBlock", { class: t.className }).run() : n.setCodeBlock().updateAttributes("codeBlock", { class: t.className }).run();
2324
2324
  break;
2325
2325
  case "mark": n.toggleMark(t.markName).run();
2326
2326
  }
2327
2327
  }
2328
2328
  //#endregion
2329
2329
  //#region src/helpers/rtf-editor/image-paste.ts
2330
- function bn(e) {
2330
+ function xn(e) {
2331
2331
  return new Promise((t, n) => {
2332
2332
  let r = new FileReader();
2333
2333
  r.onload = () => t(r.result), r.onerror = () => n(r.error), r.readAsDataURL(e);
2334
2334
  });
2335
2335
  }
2336
- function xn(e) {
2336
+ function Sn(e) {
2337
2337
  if (!e) return [];
2338
2338
  let t = [];
2339
2339
  return Array.from(e.items || []).forEach((e) => {
@@ -2345,25 +2345,25 @@ function xn(e) {
2345
2345
  e.type.startsWith("image/") && t.push(e);
2346
2346
  }), t;
2347
2347
  }
2348
- function Sn(e) {
2348
+ function Cn(e) {
2349
2349
  let t = 0;
2350
2350
  return e.forEach((e) => {
2351
- e.type.name === "image" ? t += 1 : e.content.size && (t += Sn(e.content));
2351
+ e.type.name === "image" ? t += 1 : e.content.size && (t += Cn(e.content));
2352
2352
  }), t;
2353
2353
  }
2354
- function Cn(e, t, n) {
2354
+ function wn(e, t, n) {
2355
2355
  let r = [];
2356
2356
  return e.forEach((e) => {
2357
- e.type.name === "image" && n.index < t.length ? (r.push(e.type.create(J(J({}, e.attrs), {}, { src: t[n.index] }), e.content, e.marks)), n.index += 1) : e.content.size ? r.push(e.copy(Cn(e.content, t, n))) : r.push(e);
2358
- }), Ne.fromArray(r);
2357
+ e.type.name === "image" && n.index < t.length ? (r.push(e.type.create(q(q({}, e.attrs), {}, { src: t[n.index] }), e.content, e.marks)), n.index += 1) : e.content.size ? r.push(e.copy(wn(e.content, t, n))) : r.push(e);
2358
+ }), Pe.fromArray(r);
2359
2359
  }
2360
- function wn(e) {
2360
+ function Tn(e) {
2361
2361
  return (t, n, r) => {
2362
- let i = xn(n.clipboardData);
2363
- return i.length !== 0 && (n.preventDefault(), Promise.all(i.map(bn)).then((n) => {
2362
+ let i = Sn(n.clipboardData);
2363
+ return i.length !== 0 && (n.preventDefault(), Promise.all(i.map(xn)).then((n) => {
2364
2364
  var i;
2365
- if (Sn(r.content) > 0) {
2366
- let e = Cn(r.content, n, { index: 0 }), i = new Pe(e, r.openStart, r.openEnd);
2365
+ if (Cn(r.content) > 0) {
2366
+ let e = wn(r.content, n, { index: 0 }), i = new Fe(e, r.openStart, r.openEnd);
2367
2367
  t.dispatch(t.state.tr.replaceSelection(i).scrollIntoView());
2368
2368
  return;
2369
2369
  }
@@ -2376,11 +2376,11 @@ function wn(e) {
2376
2376
  }
2377
2377
  //#endregion
2378
2378
  //#region src/helpers/rtf-editor/link-with-download.ts
2379
- var Tn = Fe.extend({
2379
+ var En = Ie.extend({
2380
2380
  name: "link",
2381
2381
  addAttributes() {
2382
2382
  var e;
2383
- return J(J({}, (e = this.parent) == null ? void 0 : e.call(this)), {}, { download: {
2383
+ return q(q({}, (e = this.parent) == null ? void 0 : e.call(this)), {}, { download: {
2384
2384
  default: null,
2385
2385
  parseHTML: (e) => e.getAttribute("download"),
2386
2386
  renderHTML: (e) => e.download ? { download: e.download } : {}
@@ -2389,7 +2389,7 @@ var Tn = Fe.extend({
2389
2389
  });
2390
2390
  //#endregion
2391
2391
  //#region src/helpers/rtf-editor/media-embed.ts
2392
- function En(e) {
2392
+ function Dn(e) {
2393
2393
  let t;
2394
2394
  try {
2395
2395
  t = new URL(e);
@@ -2415,7 +2415,7 @@ function En(e) {
2415
2415
  }
2416
2416
  return null;
2417
2417
  }
2418
- var Dn = je.create({
2418
+ var On = Me.create({
2419
2419
  name: "mediaEmbed",
2420
2420
  group: "block",
2421
2421
  atom: !0,
@@ -2427,7 +2427,7 @@ var Dn = je.create({
2427
2427
  return [{ tag: "iframe.media-embed" }];
2428
2428
  },
2429
2429
  renderHTML({ HTMLAttributes: e }) {
2430
- return ["iframe", Me({
2430
+ return ["iframe", Ne({
2431
2431
  class: "media-embed",
2432
2432
  frameborder: "0",
2433
2433
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
@@ -2437,7 +2437,7 @@ var Dn = je.create({
2437
2437
  });
2438
2438
  //#endregion
2439
2439
  //#region src/helpers/rtf-editor/use-editor-tick.ts
2440
- function On(e) {
2440
+ function kn(e) {
2441
2441
  let t = S(0), n, r = () => {
2442
2442
  t.value += 1;
2443
2443
  }, i = (e) => {
@@ -2447,14 +2447,14 @@ function On(e) {
2447
2447
  }
2448
2448
  //#endregion
2449
2449
  //#region src/helpers/rtf-editor/rtf-toolbar.vue?vue&type=script&setup=true&lang.ts
2450
- var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2 mt-2" }, jn = { class: "d-flex justify-space-between align-center ga-2 mt-2" }, Mn = { class: "d-flex justify-end mt-2" }, Nn = /* @__PURE__ */ l({
2450
+ var An = { class: "rtf-toolbar-group" }, jn = { class: "d-flex justify-end ga-2 mt-2" }, Mn = { class: "d-flex justify-space-between align-center ga-2 mt-2" }, Nn = { class: "d-flex justify-end mt-2" }, Pn = /* @__PURE__ */ l({
2451
2451
  __name: "rtf-toolbar",
2452
2452
  props: {
2453
2453
  editor: { default: void 0 },
2454
2454
  buttonSize: { default: "small" }
2455
2455
  },
2456
2456
  setup(o) {
2457
- let l = o, u = t(() => l.buttonSize), d = Pt, f = t(() => l.editor), p = On(f), h = t(() => {
2457
+ let l = o, u = t(() => l.buttonSize), d = Ft, f = t(() => l.editor), p = kn(f), h = t(() => {
2458
2458
  var e;
2459
2459
  return p.value, !!((e = l.editor) != null && e.isEditable);
2460
2460
  }), _ = t(() => ({
@@ -2500,7 +2500,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2500
2500
  let a = new R({
2501
2501
  value: {
2502
2502
  icon: e,
2503
- renderAs: $.TEXT,
2503
+ renderAs: Q.TEXT,
2504
2504
  showIcon: !0,
2505
2505
  showLabel: !1
2506
2506
  },
@@ -2519,7 +2519,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2519
2519
  title: t(),
2520
2520
  icon: !0
2521
2521
  };
2522
- r && (a.active = r()), ce((i = e.value.passthroughAttrs) == null ? {} : i, a) || (e.value = J(J({}, e.value), {}, { passthroughAttrs: a }));
2522
+ r && (a.active = r()), le((i = e.value.passthroughAttrs) == null ? {} : i, a) || (e.value = q(q({}, e.value), {}, { passthroughAttrs: a }));
2523
2523
  let o = !n();
2524
2524
  e.enabled !== o && (e.enabled = o);
2525
2525
  }
@@ -2620,9 +2620,9 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2620
2620
  let n = (t = f.value) == null ? void 0 : t.chain().focus();
2621
2621
  n && (e === 0 ? n.setParagraph().run() : n.toggleHeading({ level: e }).run());
2622
2622
  }
2623
- let B = mn;
2623
+ let B = hn;
2624
2624
  function ie(e) {
2625
- return p.value, !!f.value && vn(f.value, e);
2625
+ return p.value, !!f.value && yn(f.value, e);
2626
2626
  }
2627
2627
  let H = S(""), U = S(!1);
2628
2628
  function ae() {
@@ -2638,48 +2638,48 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2638
2638
  var e;
2639
2639
  (e = f.value) == null || e.chain().focus().unsetLink().run();
2640
2640
  }
2641
- let W = S(""), G = S();
2642
- function le() {
2641
+ let W = S(""), ce = S();
2642
+ function ue() {
2643
2643
  var e;
2644
2644
  W.value && ((e = f.value) == null || e.chain().focus().setImage({ src: W.value }).run(), W.value = "");
2645
2645
  }
2646
- function ue() {
2646
+ function de() {
2647
2647
  var e;
2648
- (e = G.value) == null || e.click();
2648
+ (e = ce.value) == null || e.click();
2649
2649
  }
2650
- function de(e) {
2651
- return K.apply(this, arguments);
2650
+ function fe(e) {
2651
+ return G.apply(this, arguments);
2652
2652
  }
2653
- function K() {
2654
- return K = $t(function* (e) {
2653
+ function G() {
2654
+ return G = en(function* (e) {
2655
2655
  var t, n;
2656
2656
  let r = (t = e.target.files) == null ? void 0 : t[0];
2657
2657
  if (!r) return;
2658
- let i = yield bn(r);
2658
+ let i = yield xn(r);
2659
2659
  (n = f.value) == null || n.chain().focus().setImage({ src: i }).run(), e.target.value = "";
2660
- }), K.apply(this, arguments);
2660
+ }), G.apply(this, arguments);
2661
2661
  }
2662
- let q = S("");
2663
- function fe() {
2662
+ let K = S("");
2663
+ function pe() {
2664
2664
  var e;
2665
- if (!q.value) return;
2666
- let t = En(q.value), n = (e = f.value) == null ? void 0 : e.chain().focus();
2665
+ if (!K.value) return;
2666
+ let t = Dn(K.value), n = (e = f.value) == null ? void 0 : e.chain().focus();
2667
2667
  n && (t ? n.insertContent({
2668
2668
  type: "mediaEmbed",
2669
2669
  attrs: { src: t }
2670
2670
  }).run() : n.insertContent({
2671
2671
  type: "text",
2672
- text: q.value,
2672
+ text: K.value,
2673
2673
  marks: [{
2674
2674
  type: "link",
2675
- attrs: { href: q.value }
2675
+ attrs: { href: K.value }
2676
2676
  }]
2677
- }).run(), q.value = "");
2677
+ }).run(), K.value = "");
2678
2678
  }
2679
2679
  return (t, o) => {
2680
2680
  let l = T("v-divider"), u = T("v-btn"), p = T("v-list-item-title"), b = T("v-list-item"), S = T("v-list"), w = T("v-menu"), E = T("v-text-field"), D = T("v-checkbox"), k = T("v-card");
2681
2681
  return x(), i("div", { class: g(["rtf-toolbar", { "rtf-toolbar--disabled": !h.value }]) }, [
2682
- c(Jt, m({ actions: A }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16),
2682
+ c(Yt, m({ actions: A }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16),
2683
2683
  c(l, {
2684
2684
  vertical: "",
2685
2685
  inset: "",
@@ -2703,7 +2703,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2703
2703
  class: "mx-1"
2704
2704
  }),
2705
2705
  c(w, null, {
2706
- activator: P(({ props: e }) => [c(u, m(J(J({}, _.value), e), { "append-icon": "mdi-chevron-down" }), {
2706
+ activator: P(({ props: e }) => [c(u, m(q(q({}, _.value), e), { "append-icon": "mdi-chevron-down" }), {
2707
2707
  default: P(() => [s(O(z.value), 1)]),
2708
2708
  _: 1
2709
2709
  }, 16)]),
@@ -2724,7 +2724,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2724
2724
  _: 1
2725
2725
  }),
2726
2726
  c(w, null, {
2727
- activator: P(({ props: e }) => [c(u, m(J(J({}, _.value), e), { "append-icon": "mdi-chevron-down" }), {
2727
+ activator: P(({ props: e }) => [c(u, m(q(q({}, _.value), e), { "append-icon": "mdi-chevron-down" }), {
2728
2728
  default: P(() => [s(O(j(d).Style), 1)]),
2729
2729
  _: 1
2730
2730
  }, 16)]),
@@ -2732,7 +2732,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2732
2732
  default: P(() => [(x(!0), i(e, null, C(j(B), (e) => (x(), n(b, {
2733
2733
  key: e.key,
2734
2734
  active: ie(e),
2735
- onClick: (t) => f.value && j(yn)(f.value, e)
2735
+ onClick: (t) => f.value && j(bn)(f.value, e)
2736
2736
  }, {
2737
2737
  default: P(() => [c(p, null, {
2738
2738
  default: P(() => [s(O(j(d)[e.key]), 1)]),
@@ -2749,13 +2749,13 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2749
2749
  inset: "",
2750
2750
  class: "mx-1"
2751
2751
  }),
2752
- c(Jt, m({ actions: M }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16),
2752
+ c(Yt, m({ actions: M }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16),
2753
2753
  c(l, {
2754
2754
  vertical: "",
2755
2755
  inset: "",
2756
2756
  class: "mx-1"
2757
2757
  }),
2758
- a("div", kn, [
2758
+ a("div", An, [
2759
2759
  c(u, m(_.value, {
2760
2760
  icon: "",
2761
2761
  title: j(d).HorizontalLine,
@@ -2771,7 +2771,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2771
2771
  "close-on-content-click": !1,
2772
2772
  "onUpdate:modelValue": o[4] || (o[4] = (e) => e && ae())
2773
2773
  }, {
2774
- activator: P(({ props: e }) => [c(u, m(J(J({}, _.value), e), {
2774
+ activator: P(({ props: e }) => [c(u, m(q(q({}, _.value), e), {
2775
2775
  icon: "",
2776
2776
  title: j(d).Link,
2777
2777
  active: y.value.link
@@ -2801,7 +2801,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2801
2801
  "hide-details": "",
2802
2802
  class: "mt-1"
2803
2803
  }, null, 8, ["modelValue", "label"]),
2804
- a("div", An, [y.value.link ? (x(), n(u, {
2804
+ a("div", jn, [y.value.link ? (x(), n(u, {
2805
2805
  key: 0,
2806
2806
  size: "small",
2807
2807
  variant: "text",
@@ -2824,7 +2824,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2824
2824
  _: 1
2825
2825
  }),
2826
2826
  c(w, { "close-on-content-click": !1 }, {
2827
- activator: P(({ props: e }) => [c(u, m(J(J({}, _.value), e), {
2827
+ activator: P(({ props: e }) => [c(u, m(q(q({}, _.value), e), {
2828
2828
  icon: "",
2829
2829
  title: j(d).Image
2830
2830
  }), {
@@ -2842,12 +2842,12 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2842
2842
  density: "compact",
2843
2843
  "hide-details": "",
2844
2844
  autofocus: "",
2845
- onKeydown: F(le, ["enter"])
2846
- }, null, 8, ["modelValue", "label"]), a("div", jn, [c(u, {
2845
+ onKeydown: F(ue, ["enter"])
2846
+ }, null, 8, ["modelValue", "label"]), a("div", Mn, [c(u, {
2847
2847
  size: "small",
2848
2848
  variant: "text",
2849
2849
  "prepend-icon": "mdi-upload",
2850
- onClick: ue
2850
+ onClick: de
2851
2851
  }, {
2852
2852
  default: P(() => [s(O(j(d).ImageUpload), 1)]),
2853
2853
  _: 1
@@ -2855,7 +2855,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2855
2855
  size: "small",
2856
2856
  color: "primary",
2857
2857
  variant: "tonal",
2858
- onClick: le
2858
+ onClick: ue
2859
2859
  }, {
2860
2860
  default: P(() => [s(O(j(d).ImageInsert), 1)]),
2861
2861
  _: 1
@@ -2866,14 +2866,14 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2866
2866
  }),
2867
2867
  a("input", {
2868
2868
  ref_key: "imageInput",
2869
- ref: G,
2869
+ ref: ce,
2870
2870
  type: "file",
2871
2871
  accept: "image/*",
2872
2872
  class: "d-none",
2873
- onChange: de
2873
+ onChange: fe
2874
2874
  }, null, 544),
2875
2875
  c(w, { "close-on-content-click": !1 }, {
2876
- activator: P(({ props: e }) => [c(u, m(J(J({}, _.value), e), {
2876
+ activator: P(({ props: e }) => [c(u, m(q(q({}, _.value), e), {
2877
2877
  icon: "",
2878
2878
  title: j(d).MediaEmbed
2879
2879
  }), {
@@ -2885,18 +2885,18 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2885
2885
  class: "pa-3"
2886
2886
  }, {
2887
2887
  default: P(() => [c(E, {
2888
- modelValue: q.value,
2889
- "onUpdate:modelValue": o[6] || (o[6] = (e) => q.value = e),
2888
+ modelValue: K.value,
2889
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => K.value = e),
2890
2890
  label: j(d).MediaEmbedUrl,
2891
2891
  density: "compact",
2892
2892
  "hide-details": "",
2893
2893
  autofocus: "",
2894
- onKeydown: F(fe, ["enter"])
2895
- }, null, 8, ["modelValue", "label"]), a("div", Mn, [c(u, {
2894
+ onKeydown: F(pe, ["enter"])
2895
+ }, null, 8, ["modelValue", "label"]), a("div", Nn, [c(u, {
2896
2896
  size: "small",
2897
2897
  color: "primary",
2898
2898
  variant: "tonal",
2899
- onClick: fe
2899
+ onClick: pe
2900
2900
  }, {
2901
2901
  default: P(() => [s(O(j(d).MediaEmbedInsert), 1)]),
2902
2902
  _: 1
@@ -2906,7 +2906,7 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
2906
2906
  _: 1
2907
2907
  }),
2908
2908
  c(w, null, {
2909
- activator: P(({ props: e }) => [c(u, m(J(J({}, _.value), e), {
2909
+ activator: P(({ props: e }) => [c(u, m(q(q({}, _.value), e), {
2910
2910
  icon: "",
2911
2911
  title: j(d).Table
2912
2912
  }), {
@@ -3068,18 +3068,18 @@ var kn = { class: "rtf-toolbar-group" }, An = { class: "d-flex justify-end ga-2
3068
3068
  inset: "",
3069
3069
  class: "mx-1"
3070
3070
  }),
3071
- c(Jt, m({ actions: j(ee) }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16, ["actions"]),
3071
+ c(Yt, m({ actions: j(ee) }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16, ["actions"]),
3072
3072
  c(l, {
3073
3073
  vertical: "",
3074
3074
  inset: "",
3075
3075
  class: "mx-1"
3076
3076
  }),
3077
- c(Jt, m({ actions: N }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16)
3077
+ c(Yt, m({ actions: N }, v.value, { "show-as-group": "grouped-no-borders" }), null, 16)
3078
3078
  ], 2);
3079
3079
  };
3080
3080
  }
3081
- }), Pn = /^[a-z][a-z0-9]*:[a-z]/i, Fn = /mso-[a-z-]+\s*:[^;]+;?/gi, In = /^Mso/i, Ln = /background(?:-color)?\s*:[^;]+;?/gi;
3082
- function Rn(e) {
3081
+ }), Fn = /^[a-z][a-z0-9]*:[a-z]/i, In = /mso-[a-z-]+\s*:[^;]+;?/gi, Ln = /^Mso/i, Rn = /background(?:-color)?\s*:[^;]+;?/gi;
3082
+ function zn(e) {
3083
3083
  let t = document.createTreeWalker(e, NodeFilter.SHOW_COMMENT), n = [];
3084
3084
  for (let e = t.nextNode(); e; e = t.nextNode()) n.push(e);
3085
3085
  n.forEach((e) => {
@@ -3087,42 +3087,42 @@ function Rn(e) {
3087
3087
  return (t = e.parentNode) == null ? void 0 : t.removeChild(e);
3088
3088
  });
3089
3089
  }
3090
- function zn(e) {
3090
+ function Bn(e) {
3091
3091
  let t = e.parentNode;
3092
3092
  if (t) {
3093
3093
  for (; e.firstChild;) t.insertBefore(e.firstChild, e);
3094
3094
  t.removeChild(e);
3095
3095
  }
3096
3096
  }
3097
- function Bn(e) {
3097
+ function Vn(e) {
3098
3098
  let t = e.getAttribute("style");
3099
3099
  if (t != null) {
3100
- let n = t.replace(Fn, "").replace(Ln, "").trim();
3100
+ let n = t.replace(In, "").replace(Rn, "").trim();
3101
3101
  n ? e.setAttribute("style", n) : e.removeAttribute("style");
3102
3102
  }
3103
3103
  let n = e.getAttribute("class");
3104
3104
  if (n != null) {
3105
- let t = n.split(/\s+/).filter((e) => e && !In.test(e)).join(" ");
3105
+ let t = n.split(/\s+/).filter((e) => e && !Ln.test(e)).join(" ");
3106
3106
  t ? e.setAttribute("class", t) : e.removeAttribute("class");
3107
3107
  }
3108
3108
  e.removeAttribute("lang"), e.removeAttribute("xml:lang"), e.removeAttribute("id"), e.removeAttribute("align"), e.removeAttribute("bgcolor");
3109
3109
  }
3110
- function Vn(e) {
3110
+ function Hn(e) {
3111
3111
  if (!e || typeof DOMParser > "u") return e;
3112
3112
  let t = new DOMParser().parseFromString(e, "text/html").body;
3113
- return t ? (Rn(t), t.querySelectorAll("xml, style, script, meta, link").forEach((e) => e.remove()), Array.from(t.querySelectorAll("*")).forEach((e) => {
3114
- if (Pn.test(e.tagName) || e.tagName === "FONT") {
3115
- zn(e);
3113
+ return t ? (zn(t), t.querySelectorAll("xml, style, script, meta, link").forEach((e) => e.remove()), Array.from(t.querySelectorAll("*")).forEach((e) => {
3114
+ if (Fn.test(e.tagName) || e.tagName === "FONT") {
3115
+ Bn(e);
3116
3116
  return;
3117
3117
  }
3118
- Bn(e);
3118
+ Vn(e);
3119
3119
  }), Array.from(t.querySelectorAll("span, div")).forEach((e) => {
3120
- e.attributes.length === 0 && zn(e);
3120
+ e.attributes.length === 0 && Bn(e);
3121
3121
  }), t.innerHTML) : e;
3122
3122
  }
3123
3123
  //#endregion
3124
3124
  //#region src/helpers/rtf-editor/editor-core.vue?vue&type=script&setup=true&lang.ts
3125
- var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn = /* @__PURE__ */ l({
3125
+ var Un = { class: "editor-container" }, Wn = { class: "rtf-bubble-menu" }, Gn = /* @__PURE__ */ l({
3126
3126
  __name: "editor-core",
3127
3127
  props: {
3128
3128
  modelValue: { default: "" },
@@ -3131,11 +3131,15 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3131
3131
  type: Boolean,
3132
3132
  default: !1
3133
3133
  },
3134
- toolbarButtonSize: { default: "small" }
3134
+ toolbarButtonSize: { default: "small" },
3135
+ fontFamily: { default: "inherit" }
3135
3136
  },
3136
3137
  emits: ["update:modelValue"],
3137
3138
  setup(e, { emit: o }) {
3138
- M((e) => ({ v6b982a7a: e.minHeight }));
3139
+ M((e) => ({
3140
+ b8a5bbe0: e.fontFamily,
3141
+ v21b01608: e.minHeight
3142
+ }));
3139
3143
  let s = e, l = o, u = S(), d;
3140
3144
  b(() => {
3141
3145
  var e;
@@ -3144,17 +3148,17 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3144
3148
  n.style.setProperty("--rtf-toolbar-height", `${e.contentRect.height}px`);
3145
3149
  }), d.observe(t));
3146
3150
  }), y(() => d == null ? void 0 : d.disconnect());
3147
- let f = De({
3151
+ let f = Oe({
3148
3152
  content: s.modelValue,
3149
3153
  editable: !s.disabled,
3150
3154
  extensions: [
3151
- Te.configure({ link: !1 }),
3152
- Tn.configure({
3155
+ Ee.configure({ link: !1 }),
3156
+ En.configure({
3153
3157
  openOnClick: !1,
3154
3158
  autolink: !0,
3155
3159
  defaultProtocol: "https"
3156
3160
  }),
3157
- _e.configure({
3161
+ ve.configure({
3158
3162
  inline: !0,
3159
3163
  allowBase64: !0,
3160
3164
  resize: {
@@ -3173,21 +3177,21 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3173
3177
  minHeight: 24
3174
3178
  }
3175
3179
  }),
3176
- Ce.configure({ types: ["heading", "paragraph"] }),
3177
- ye.configure({ resizable: !0 }),
3180
+ we.configure({ types: ["heading", "paragraph"] }),
3181
+ be.configure({ resizable: !0 }),
3182
+ Ce,
3178
3183
  Se,
3179
3184
  xe,
3180
- be,
3181
- ve.configure({ placeholder: "" }),
3182
- un,
3183
- fn,
3185
+ ye.configure({ placeholder: "" }),
3186
+ dn,
3184
3187
  pn,
3185
- Dn
3188
+ mn,
3189
+ On
3186
3190
  ],
3187
3191
  editorProps: {
3188
3192
  attributes: { class: "rtf-content" },
3189
- transformPastedHTML: (e) => Vn(e),
3190
- handlePaste: wn(() => f.value)
3193
+ transformPastedHTML: (e) => Hn(e),
3194
+ handlePaste: Tn(() => f.value)
3191
3195
  },
3192
3196
  onUpdate: ({ editor: e }) => {
3193
3197
  l("update:modelValue", e.isEmpty ? "" : e.getHTML());
@@ -3207,7 +3211,7 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3207
3211
  size: "small",
3208
3212
  density: "comfortable",
3209
3213
  variant: "text"
3210
- }, h = On(f), g = t(() => {
3214
+ }, h = kn(f), g = t(() => {
3211
3215
  var e, t, n, r, i;
3212
3216
  return h.value, {
3213
3217
  bold: !!((e = f.value) != null && e.isActive("bold")),
@@ -3218,7 +3222,7 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3218
3222
  };
3219
3223
  });
3220
3224
  function _({ state: e }) {
3221
- return !e.selection.empty && !(e.selection instanceof we);
3225
+ return !e.selection.empty && !(e.selection instanceof Te);
3222
3226
  }
3223
3227
  function v(e) {
3224
3228
  var t;
@@ -3231,28 +3235,28 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3231
3235
  e.chain().focus().unsetLink().run();
3232
3236
  return;
3233
3237
  }
3234
- let t = window.prompt(Pt.LinkUrl);
3238
+ let t = window.prompt(Ft.LinkUrl);
3235
3239
  t && e.chain().focus().extendMarkRange("link").setLink({ href: t }).run();
3236
3240
  }
3237
3241
  return (t, o) => {
3238
3242
  let s = T("v-btn");
3239
- return x(), i("div", Hn, [
3240
- c(Nn, {
3243
+ return x(), i("div", Un, [
3244
+ c(Pn, {
3241
3245
  ref_key: "toolbarRef",
3242
3246
  ref: u,
3243
3247
  editor: j(f),
3244
3248
  "button-size": e.toolbarButtonSize
3245
3249
  }, null, 8, ["editor", "button-size"]),
3246
- c(j(Ee), {
3250
+ c(j(De), {
3247
3251
  class: "editor-container__editor",
3248
3252
  editor: j(f)
3249
3253
  }, null, 8, ["editor"]),
3250
- j(f) ? (x(), n(j(Oe), {
3254
+ j(f) ? (x(), n(j(ke), {
3251
3255
  key: 0,
3252
3256
  editor: j(f),
3253
3257
  "should-show": _
3254
3258
  }, {
3255
- default: P(() => [a("div", Un, [
3259
+ default: P(() => [a("div", Wn, [
3256
3260
  c(s, m(p, {
3257
3261
  active: g.value.bold,
3258
3262
  onClick: o[0] || (o[0] = (e) => v("toggleBold"))
@@ -3294,11 +3298,12 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3294
3298
  ]);
3295
3299
  };
3296
3300
  }
3297
- }), Gn = /* @__PURE__ */ l({
3301
+ }), Kn = /* @__PURE__ */ l({
3298
3302
  __name: "df-rtf-editor",
3299
3303
  props: /*@__PURE__*/ p({
3300
3304
  minHeight: {},
3301
3305
  toolbarButtonSize: {},
3306
+ fontFamily: {},
3302
3307
  control: {},
3303
3308
  modelValue: {},
3304
3309
  label: {},
@@ -3313,19 +3318,20 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3313
3318
  passthroughAttrs: {},
3314
3319
  density: {},
3315
3320
  variant: {}
3316
- }, J(J({}, Z), {}, { minHeight: void 0 })),
3321
+ }, q(q({}, X), {}, { minHeight: void 0 })),
3317
3322
  emits: ["update:modelValue", "click:clear"],
3318
3323
  setup(e, { emit: t }) {
3319
- let r = e, { densityClass: i, value: a, vuetifyBindings: o } = Q(r, t);
3320
- return (t, s) => (x(), n(j(Nt), m(r, { class: ["rtf-editor", j(i)] }), {
3321
- default: P((t) => [c(Wn, m({
3324
+ let r = e, { densityClass: i, value: a, vuetifyBindings: o } = Z(r, t);
3325
+ return (t, s) => (x(), n(j(Pt), m(r, { class: ["rtf-editor", j(i)] }), {
3326
+ default: P((t) => [c(Gn, m({
3322
3327
  ref: "$editor",
3323
3328
  modelValue: j(a),
3324
3329
  "onUpdate:modelValue": s[0] || (s[0] = (e) => f(a) ? a.value = e : null),
3325
3330
  class: { "mt-6": !!e.label },
3326
3331
  "min-height": e.minHeight,
3327
3332
  disabled: j(o).disabled,
3328
- "toolbar-button-size": e.toolbarButtonSize
3333
+ "toolbar-button-size": e.toolbarButtonSize,
3334
+ "font-family": e.fontFamily
3329
3335
  }, e.passthroughAttrs, {
3330
3336
  onFocusin: (e) => t.focus(),
3331
3337
  onFocusout: (e) => t.blur()
@@ -3335,6 +3341,7 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3335
3341
  "min-height",
3336
3342
  "disabled",
3337
3343
  "toolbar-button-size",
3344
+ "font-family",
3338
3345
  "onFocusin",
3339
3346
  "onFocusout"
3340
3347
  ])]),
@@ -3344,14 +3351,14 @@ var Hn = { class: "editor-container" }, Un = { class: "rtf-bubble-menu" }, Wn =
3344
3351
  });
3345
3352
  //#endregion
3346
3353
  //#region src/helpers/df-select.helper.ts
3347
- function Kn(e) {
3354
+ function qn(e) {
3348
3355
  return e.map((e) => ({
3349
3356
  value: e.id,
3350
3357
  title: e.text,
3351
3358
  icon: e.icon
3352
3359
  }));
3353
3360
  }
3354
- function qn(e, t) {
3361
+ function $(e, t) {
3355
3362
  var n;
3356
3363
  return e == null || se(e) && e.length === 0 ? null : t ? U(e) : se(e) ? (n = oe(e)) == null ? null : n : e;
3357
3364
  }
@@ -3361,7 +3368,7 @@ function Jn(e, t) {
3361
3368
  return e.filter((e) => n.some((t) => t === e.id));
3362
3369
  }
3363
3370
  function Yn(e, t, n, r, i) {
3364
- let a = qn(e, n);
3371
+ let a = $(e, n);
3365
3372
  if (a == null) {
3366
3373
  t.value = n ? [] : null;
3367
3374
  return;
@@ -3405,7 +3412,7 @@ var Xn = {
3405
3412
  passthroughAttrs: {},
3406
3413
  density: {},
3407
3414
  variant: {}
3408
- }, J(J({}, Z), {}, {
3415
+ }, q(q({}, X), {}, {
3409
3416
  choices: void 0,
3410
3417
  multiple: !1,
3411
3418
  allowTags: !1,
@@ -3419,91 +3426,114 @@ var Xn = {
3419
3426
  ],
3420
3427
  setup(e, { emit: s }) {
3421
3428
  var l;
3422
- let d = e, { choices: f, multiple: p, allowTags: v, allowNull: y, cssClass: b } = A(d), C = s, D = S(null), { densityClass: k, isRendered: M, label: ee, showErrors: te, touched: F, value: I, visibilityClass: L, vuetifyBindings: R } = Q(d, C), z = S(null), ne = S(!1), re = S([]), B = t(() => j(ne) ? j(re) : j(f) || []), ie = S(!1), H = t(() => Kn(B.value)), U = S(null), ae = S(0), oe = S(!1);
3429
+ let d = e, { choices: f, multiple: p, allowTags: v, allowNull: y, cssClass: b } = A(d), C = s, D = S(null), { densityClass: k, isRendered: M, label: ee, showErrors: te, touched: F, value: I, visibilityClass: L, vuetifyBindings: R } = Z(d, C), z = S(null), ne = S(!1), re = S([]), B = t(() => j(ne) ? j(re) : j(f) || []), ie = t(() => qn(B.value)), H = S(null), ae = S(0), oe = S(!1), se = S(0), W = S(0), ce = t(() => W.value > 0 || se.value > 0);
3423
3430
  (l = f.value) != null && l.length && d.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
3424
- function se(e) {
3431
+ function ue(e) {
3425
3432
  C("update:modelValueDisplay", Jn(B.value, e));
3426
3433
  }
3427
- let W = S(!1);
3428
- function G(e) {
3429
- W.value = !0;
3434
+ let de = S(!1);
3435
+ function fe(e) {
3436
+ de.value = !0;
3430
3437
  try {
3431
3438
  I.value = e;
3432
3439
  } finally {
3433
- ce(qn(I.value, p.value), e) || Yn(qn(I.value, p.value), z, p.value, v.value, B.value), h(() => {
3434
- W.value = !1;
3440
+ le($(I.value, p.value), e) || Yn($(I.value, p.value), z, p.value, v.value, B.value), h(() => {
3441
+ de.value = !1;
3435
3442
  });
3436
3443
  }
3437
3444
  }
3438
- function le(e) {
3445
+ function G(e) {
3439
3446
  if (!e) return 0;
3440
3447
  let t = e.getBoundingClientRect(), n = window.getComputedStyle(e);
3441
3448
  return t.width + parseFloat(n.marginLeft) + parseFloat(n.marginRight);
3442
3449
  }
3443
- function ue() {
3450
+ function K() {
3444
3451
  if (p.value && y.value && z.value != null && z.value.length > 0 && D.value) {
3445
3452
  var e;
3446
3453
  let t = D.value.$el, n = (e = t.querySelector(".v-input__control")) == null ? void 0 : e.clientWidth, r = t.querySelector(".v-field__input"), i = r.querySelectorAll(".v-autocomplete__selection, .v-combobox__selection"), a = window.getComputedStyle(r), o = parseFloat(a.paddingLeft) + parseFloat(a.paddingRight);
3447
3454
  i.forEach((e) => {
3448
- o += le(e);
3455
+ o += G(e);
3449
3456
  });
3450
- let s = le(t.querySelector(".v-field .v-field__clearable")), c = le(t.querySelector(".v-field .v-field__append-inner"));
3457
+ let s = G(t.querySelector(".v-field .v-field__clearable")), c = G(t.querySelector(".v-field .v-field__append-inner"));
3451
3458
  oe.value = n - o - i.length * 2 - c < s;
3452
3459
  } else oe.value = !1;
3453
3460
  }
3454
- function de(e) {
3461
+ function me(e) {
3455
3462
  let t = e.target;
3456
3463
  t instanceof HTMLElement && t.closest(".v-chip__close") && (e.stopPropagation(), e.preventDefault());
3457
3464
  }
3458
3465
  N(z, (e) => {
3459
- R.value.readonly || h(() => {
3460
- let t = qn(e, p.value);
3461
- se(t), G(t);
3466
+ R.value.readonly || se.value > 0 || h(() => {
3467
+ let t = $(e, p.value);
3468
+ ue(t), fe(t);
3462
3469
  });
3463
3470
  }, { deep: !0 }), N(I, (e) => {
3464
- W.value || Yn(qn(e, p.value), z, p.value, !1, B.value);
3465
- }, { deep: !0 }), N(W, () => {
3466
- W.value || ue();
3471
+ if (de.value) return;
3472
+ let t = $(e, p.value), n = be(t);
3473
+ Yn(t, z, p.value, !1, B.value), n == null || n.then(() => {
3474
+ le($(I.value, p.value), t) && Yn(t, z, p.value, !1, B.value);
3475
+ });
3476
+ }, { deep: !0 }), N(de, () => {
3477
+ de.value || K();
3467
3478
  });
3468
- function K() {
3469
- U.value != null && U.value.length > 0 && (U.value = null, me());
3479
+ function he() {
3480
+ H.value != null && H.value.length > 0 && (H.value = null, ve());
3470
3481
  }
3471
- function q() {
3472
- if (K(), R.value.readonly || v.value) return;
3473
- let e = qn(z.value, p.value);
3474
- Yn(e, z, p.value, !1, B.value), G(e);
3482
+ function ge() {
3483
+ if (he(), R.value.readonly || v.value) return;
3484
+ let e = $(z.value, p.value);
3485
+ Yn(e, z, p.value, !1, B.value), fe(e);
3475
3486
  }
3476
- function pe(e, t) {
3487
+ function _e(e, t) {
3477
3488
  if (e.stopPropagation(), R.value.readonly || v.value) {
3478
3489
  v.value && (z.value = z.value.filter((e) => e !== t));
3479
3490
  return;
3480
3491
  }
3481
3492
  let n;
3482
- n = p.value && Array.isArray(z.value) ? qn(z.value.filter((e) => e !== t), p.value) : null, Yn(n, z, p.value, !1, B.value), G(n);
3493
+ n = p.value && Array.isArray(z.value) ? $(z.value.filter((e) => e !== t), p.value) : null, Yn(n, z, p.value, !1, B.value), fe(n);
3483
3494
  }
3484
- function me(e, t) {
3485
- return he.apply(this, arguments);
3495
+ function ve(e, t) {
3496
+ return ye.apply(this, arguments);
3486
3497
  }
3487
- function he() {
3488
- return he = $t(function* (e, t) {
3489
- if (R.value.readonly || (U.value = e, f.value || d.fetchChoices === void 0)) return;
3498
+ function ye() {
3499
+ return ye = en(function* (e, t) {
3500
+ if (R.value.readonly || (H.value = e, f.value || d.fetchChoices === void 0)) return;
3490
3501
  let n = ++ae.value;
3491
- ie.value = !0;
3502
+ W.value++;
3492
3503
  try {
3493
- let r = Jn(B.value, qn(z.value, p.value)), i = yield d.fetchChoices(e, t);
3504
+ let r = yield d.fetchChoices(e, t);
3494
3505
  if (n !== ae.value) return;
3495
- re.value = fe([...r, ...i], "id"), ne.value = !0;
3506
+ let i = Jn(B.value, $(I.value, p.value));
3507
+ re.value = pe([...i, ...r], "id"), ne.value = !0;
3496
3508
  } finally {
3497
- ie.value = !1;
3509
+ W.value--;
3498
3510
  }
3499
- }), he.apply(this, arguments);
3511
+ }), ye.apply(this, arguments);
3500
3512
  }
3501
- function ge() {
3513
+ function be(e) {
3514
+ let t = d.fetchChoices;
3515
+ if (t === void 0 || v.value || e == null) return null;
3516
+ let n = U(e).filter((e) => !B.value.some((t) => t.id === e));
3517
+ return n.length ? (se.value++, en(function* () {
3518
+ try {
3519
+ let e = yield t(void 0, p.value ? n : n[0]);
3520
+ re.value = pe([...B.value, ...e], "id"), ne.value = !0;
3521
+ } finally {
3522
+ se.value--;
3523
+ }
3524
+ })()) : null;
3525
+ }
3526
+ function xe() {
3502
3527
  let e = I.value;
3503
- !y.value && e == null && H.value.length && (e = H.value[0].value), e = qn(e, p.value), Yn(e, z, p.value, v.value, B.value), se(e), G(e);
3528
+ !y.value && e == null && ie.value.length && (e = ie.value[0].value), e = $(e, p.value), Yn(e, z, p.value, v.value, B.value), !(se.value > 0) && (ue(e), fe(e));
3529
+ }
3530
+ let Se = null;
3531
+ if (d.fetchChoices !== void 0) {
3532
+ var Ce;
3533
+ Se = (Ce = be($(I.value, p.value))) == null ? ve(void 0, I.value) : Ce;
3504
3534
  }
3505
- return ge(), d.fetchChoices !== void 0 && me(void 0, I.value).then(() => {
3506
- ge();
3535
+ return xe(), Se == null || Se.then(() => {
3536
+ xe();
3507
3537
  }), (e, t) => {
3508
3538
  let s = T("v-chip"), l = T("v-list-item");
3509
3539
  return j(M) ? (x(), n(E(j(v) ? "v-combobox" : "v-autocomplete"), m({
@@ -3518,24 +3548,24 @@ var Xn = {
3518
3548
  j(L),
3519
3549
  { "df-select-multirow": oe.value }
3520
3550
  ],
3521
- items: H.value,
3551
+ items: ie.value,
3522
3552
  "return-object": !1,
3523
3553
  chips: "",
3524
3554
  "auto-select-first": !0,
3525
3555
  "closable-chips": j(y) || j(p) && z.value.length > 1,
3526
3556
  clearable: j(y),
3527
3557
  multiple: j(p),
3528
- loading: ie.value,
3558
+ loading: ce.value,
3529
3559
  "hide-selected": !1,
3530
3560
  "aria-describedby": j(R).helpText ? `${j(R).name}-help` : null,
3531
3561
  "menu-props": { maxHeight: "400" },
3532
- search: U.value
3562
+ search: H.value
3533
3563
  }, j(R), {
3534
- "onUpdate:search": t[1] || (t[1] = (e) => me(e, void 0)),
3535
- "onUpdate:modelValue": q,
3564
+ "onUpdate:search": t[1] || (t[1] = (e) => ve(e, void 0)),
3565
+ "onUpdate:modelValue": ge,
3536
3566
  "onClick:clear": t[2] || (t[2] = (e) => z.value = null),
3537
3567
  onBlur: t[3] || (t[3] = (e) => F.value = !0),
3538
- onMousedownCapture: t[4] || (t[4] = (e) => de(e))
3568
+ onMousedownCapture: t[4] || (t[4] = (e) => me(e))
3539
3569
  }), o({
3540
3570
  chip: P(({ item: e }) => [(x(), n(s, {
3541
3571
  key: e.value,
@@ -3544,7 +3574,7 @@ var Xn = {
3544
3574
  class: "d-flex align-middle",
3545
3575
  variant: j(p) ? "tonal" : "text",
3546
3576
  closable: j(p),
3547
- "onClick:close": (t) => pe(t, e.value)
3577
+ "onClick:close": (t) => _e(t, e.value)
3548
3578
  }, {
3549
3579
  prepend: P(() => {
3550
3580
  var t;
@@ -3561,7 +3591,7 @@ var Xn = {
3561
3591
  "closable",
3562
3592
  "onClick:close"
3563
3593
  ]))]),
3564
- label: P((e) => [c(j(X), {
3594
+ label: P((e) => [c(j(Y), {
3565
3595
  data: e,
3566
3596
  label: j(ee)
3567
3597
  }, null, 8, ["data", "label"])]),
@@ -3575,7 +3605,7 @@ var Xn = {
3575
3605
  }),
3576
3606
  _: 2
3577
3607
  }, 1040)]),
3578
- message: P(({ message: e }) => [c(j(Y), {
3608
+ message: P(({ message: e }) => [c(j(J), {
3579
3609
  message: e,
3580
3610
  errors: j(te)
3581
3611
  }, null, 8, ["message", "errors"])]),
@@ -3601,7 +3631,7 @@ var Xn = {
3601
3631
  ])) : r("", !0);
3602
3632
  };
3603
3633
  }
3604
- }), [["__scopeId", "data-v-7e5aa3b6"]]), Qn = /* @__PURE__ */ l({
3634
+ }), [["__scopeId", "data-v-6f1423a8"]]), Qn = /* @__PURE__ */ l({
3605
3635
  __name: "df-text-area",
3606
3636
  props: /*@__PURE__*/ p({
3607
3637
  rows: {},
@@ -3620,13 +3650,13 @@ var Xn = {
3620
3650
  passthroughAttrs: {},
3621
3651
  density: {},
3622
3652
  variant: {}
3623
- }, J(J({}, Z), {}, {
3653
+ }, q(q({}, X), {}, {
3624
3654
  rows: void 0,
3625
3655
  maxRows: void 0
3626
3656
  })),
3627
3657
  emits: ["update:modelValue", "click:clear"],
3628
3658
  setup(e, { emit: t }) {
3629
- let n = e, { densityClass: a, isRendered: o, label: s, showErrors: l, touched: u, value: d, visibilityClass: p, vuetifyBindings: h } = Q(n, t), { cssClass: _ } = A(n);
3659
+ let n = e, { densityClass: a, isRendered: o, label: s, showErrors: l, touched: u, value: d, visibilityClass: p, vuetifyBindings: h } = Z(n, t), { cssClass: _ } = A(n);
3630
3660
  return (t, n) => {
3631
3661
  let v = T("v-textarea");
3632
3662
  return j(o) ? (x(), i("div", {
@@ -3640,11 +3670,11 @@ var Xn = {
3640
3670
  "auto-grow": (e.maxRows || 0) > 0,
3641
3671
  "max-rows": e.maxRows
3642
3672
  }, j(h), { onBlur: n[1] || (n[1] = (e) => u.value = !0) }), {
3643
- label: P((e) => [c(j(X), {
3673
+ label: P((e) => [c(j(Y), {
3644
3674
  data: e,
3645
3675
  label: j(s)
3646
3676
  }, null, 8, ["data", "label"])]),
3647
- message: P(({ message: e }) => [c(j(Y), {
3677
+ message: P(({ message: e }) => [c(j(J), {
3648
3678
  message: e,
3649
3679
  errors: j(l)
3650
3680
  }, null, 8, ["message", "errors"])]),
@@ -3658,62 +3688,62 @@ var Xn = {
3658
3688
  ])], 2)) : r("", !0);
3659
3689
  };
3660
3690
  }
3661
- }), $n = /* @__PURE__ */ st({
3662
- DfActions: () => Jt,
3663
- DfCheckbox: () => Yt,
3664
- DfColor: () => Xt,
3665
- DfDateTime: () => Zt,
3666
- DfFile: () => tn,
3667
- DfImage: () => cn,
3668
- DfInput: () => ln,
3669
- DfInputHint: () => Y,
3670
- DfLabel: () => X,
3671
- DfRtfEditor: () => Gn,
3691
+ }), $n = /* @__PURE__ */ ct({
3692
+ DfActions: () => Yt,
3693
+ DfCheckbox: () => Xt,
3694
+ DfColor: () => Zt,
3695
+ DfDateTime: () => Qt,
3696
+ DfFile: () => nn,
3697
+ DfImage: () => ln,
3698
+ DfInput: () => un,
3699
+ DfInputHint: () => J,
3700
+ DfLabel: () => Y,
3701
+ DfRtfEditor: () => Kn,
3672
3702
  DfSelect: () => Zn,
3673
3703
  DfTextArea: () => Qn
3674
- }), er = /* @__PURE__ */ st({
3675
- VAutocomplete: () => Ie,
3676
- VBtn: () => Le,
3677
- VCheckbox: () => Re,
3678
- VChip: () => ze,
3679
- VCol: () => Ke,
3680
- VColorPicker: () => Ve,
3681
- VCombobox: () => Be,
3682
- VConfirmEdit: () => He,
3683
- VDatePicker: () => Ue,
3684
- VField: () => We,
3685
- VFileInput: () => Ge,
3686
- VIcon: () => Je,
3687
- VImg: () => Ye,
3688
- VInput: () => Xe,
3689
- VListItem: () => Ze,
3690
- VMenu: () => Qe,
3691
- VNumberInput: () => $e,
3692
- VProgressLinear: () => et,
3693
- VRow: () => qe,
3694
- VSelect: () => tt,
3695
- VSwitch: () => nt,
3696
- VTextField: () => it,
3697
- VTextarea: () => rt,
3698
- VTimePicker: () => at
3704
+ }), er = /* @__PURE__ */ ct({
3705
+ VAutocomplete: () => Le,
3706
+ VBtn: () => Re,
3707
+ VCheckbox: () => ze,
3708
+ VChip: () => Be,
3709
+ VCol: () => qe,
3710
+ VColorPicker: () => He,
3711
+ VCombobox: () => Ve,
3712
+ VConfirmEdit: () => Ue,
3713
+ VDatePicker: () => We,
3714
+ VField: () => Ge,
3715
+ VFileInput: () => Ke,
3716
+ VIcon: () => Ye,
3717
+ VImg: () => Xe,
3718
+ VInput: () => Ze,
3719
+ VListItem: () => Qe,
3720
+ VMenu: () => $e,
3721
+ VNumberInput: () => et,
3722
+ VProgressLinear: () => tt,
3723
+ VRow: () => Je,
3724
+ VSelect: () => nt,
3725
+ VSwitch: () => rt,
3726
+ VTextField: () => at,
3727
+ VTextarea: () => it,
3728
+ VTimePicker: () => ot
3699
3729
  }), tr = {
3700
- "df-actions": Jt,
3701
- "df-checkbox": Yt,
3702
- "df-color": Xt,
3703
- "df-date-time": Zt,
3704
- "df-file": tn,
3705
- "df-image": cn,
3706
- "df-input": ln,
3707
- "df-input-hint": Y,
3708
- "df-label": X,
3709
- "df-rtf-editor": Gn,
3730
+ "df-actions": Yt,
3731
+ "df-checkbox": Xt,
3732
+ "df-color": Zt,
3733
+ "df-date-time": Qt,
3734
+ "df-file": nn,
3735
+ "df-image": ln,
3736
+ "df-input": un,
3737
+ "df-input-hint": J,
3738
+ "df-label": Y,
3739
+ "df-rtf-editor": Kn,
3710
3740
  "df-select": Zn,
3711
3741
  "df-text-area": Qn
3712
- }, nr = /* @__PURE__ */ st({}), rr = { install: (e, t) => {
3742
+ }, nr = /* @__PURE__ */ ct({}), rr = { install: (e, t) => {
3713
3743
  var n, r;
3714
- e.provide(At, t == null ? {} : t), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries($n).map(([t, n]) => e.component(t, n)), (r = t == null ? void 0 : t.registerVuetifyComponents) != null && r && Object.entries(er).map(([t, n]) => e.component(t, n));
3744
+ e.provide(jt, t == null ? {} : t), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries($n).map(([t, n]) => e.component(t, n)), (r = t == null ? void 0 : t.registerVuetifyComponents) != null && r && Object.entries(er).map(([t, n]) => e.component(t, n));
3715
3745
  } };
3716
3746
  //#endregion
3717
- export { Ut as Action, $ as ActionDisplayStyle, Ot as DateTimeLocaleConfig, Jt as DfActions, Yt as DfCheckbox, Xt as DfColor, Zt as DfDateTime, tn as DfFile, cn as DfImage, ln as DfInput, nr as DfInputComponentProps, $n as DfInputComponents, Y as DfInputHint, X as DfLabel, Gn as DfRtfEditor, Zn as DfSelect, Qn as DfTextArea, rr as DynamicFormsInputs, kt as FileGoneError, Nt as InputBase, jt as Label, Vt as ResponsiveActionRenderOptions, Rt as ResponsiveRenderOptions, er as VuetifyComponents, Z as defaultBaseProps, It as defaultDisplayStyle, tr as dfInputComponentsByTag, zt as getBreakpointName, Ht as getRenderOptionsForBreakpoint, Lt as responsiveBreakpoints, Gt as setFileGoneError, Pt as translatableStrings, Ft as translateStrings, Bt as useBreakpoint, Wt as useFileTouchKeepAlive, Q as useInputBase, At as vuetifyInputsSettingsKey };
3747
+ export { Wt as Action, Q as ActionDisplayStyle, kt as DateTimeLocaleConfig, Yt as DfActions, Xt as DfCheckbox, Zt as DfColor, Qt as DfDateTime, nn as DfFile, ln as DfImage, un as DfInput, nr as DfInputComponentProps, $n as DfInputComponents, J as DfInputHint, Y as DfLabel, Kn as DfRtfEditor, Zn as DfSelect, Qn as DfTextArea, rr as DynamicFormsInputs, At as FileGoneError, Pt as InputBase, Mt as Label, Ht as ResponsiveActionRenderOptions, zt as ResponsiveRenderOptions, er as VuetifyComponents, X as defaultBaseProps, Lt as defaultDisplayStyle, tr as dfInputComponentsByTag, Bt as getBreakpointName, Ut as getRenderOptionsForBreakpoint, Rt as responsiveBreakpoints, Kt as setFileGoneError, Ft as translatableStrings, It as translateStrings, Vt as useBreakpoint, Gt as useFileTouchKeepAlive, Z as useInputBase, jt as vuetifyInputsSettingsKey };
3718
3748
 
3719
3749
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map