@dynamicforms/vuetify-inputs 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,93 +1,93 @@
1
- import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, guardReactiveProps as d, h as f, inject as p, isRef as m, mergeDefaults as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveComponent as D, resolveDynamicComponent as O, shallowRef as k, toDisplayString as A, toRaw as j, toRefs as M, toValue as N, unref as P, useCssVars as ee, useId as F, watch as I, watchEffect as L, withCtx as R, withKeys as z, withModifiers as B } from "vue";
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, guardReactiveProps as d, h as f, inject as p, isRef as m, mergeDefaults as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveComponent as D, resolveDynamicComponent as O, shallowRef as k, toDisplayString as A, toRaw as j, toRefs as ee, toValue as M, unref as N, useCssVars as P, useId as F, watch as I, watchEffect as L, withCtx as R, withKeys as z, withModifiers as B } from "vue";
2
2
  import { CachedIcon as V } from "vue-cached-icon";
3
3
  import H from "vue-markdown-render";
4
4
  import U, { Action as te, ExecuteAction as W, ValidationError as G } from "@dynamicforms/vue-forms";
5
- import { castArray as ne, clone as re, first as ie, isArray as ae, isBoolean as K, isEmpty as q, isEqual as oe, isNaN as se, isObjectLike as ce, isPlainObject as le, isString as J, toNumber as Y, unionBy as ue } from "lodash-es";
6
- import { useDisplay as de } from "vuetify";
7
- import { createTranslatable as fe } from "@dynamicforms/translatable";
8
- import { format as pe, parse as me, parseISO as he } from "date-fns";
9
- import ge from "@tiptap/extension-image";
10
- import _e from "@tiptap/extension-placeholder";
11
- import { Table as ve } from "@tiptap/extension-table";
12
- import ye from "@tiptap/extension-table-cell";
13
- import be from "@tiptap/extension-table-header";
14
- import xe from "@tiptap/extension-table-row";
15
- import Se from "@tiptap/extension-text-align";
16
- import { NodeSelection as Ce } from "@tiptap/pm/state";
17
- import we from "@tiptap/starter-kit";
18
- import { EditorContent as Te, useEditor as Ee } from "@tiptap/vue-3";
19
- import { BubbleMenu as De } from "@tiptap/vue-3/menus";
20
- import { Extension as Oe, Mark as ke, Node as Ae, mergeAttributes as je } from "@tiptap/core";
21
- import { Fragment as Me, Slice as Ne } from "@tiptap/pm/model";
22
- import Pe from "@tiptap/extension-link";
23
- import { VAutocomplete as Fe } from "vuetify/components/VAutocomplete";
24
- import { VBtn as Ie } from "vuetify/components/VBtn";
25
- import { VBtnGroup as Le } from "vuetify/components/VBtnGroup";
26
- import { VBtnToggle as Re } from "vuetify/components/VBtnToggle";
27
- import { VCard as ze, VCardActions as Be } from "vuetify/components/VCard";
28
- import { VCheckbox as Ve } from "vuetify/components/VCheckbox";
29
- import { VChip as He } from "vuetify/components/VChip";
30
- import { VCombobox as Ue } from "vuetify/components/VCombobox";
31
- import { VColorPicker as We } from "vuetify/components/VColorPicker";
32
- import { VConfirmEdit as Ge } from "vuetify/components/VConfirmEdit";
33
- import { VDatePicker as Ke } from "vuetify/components/VDatePicker";
34
- import { VDivider as qe } from "vuetify/components/VDivider";
35
- import { VField as Je } from "vuetify/components/VField";
36
- import { VFileInput as Ye } from "vuetify/components/VFileInput";
37
- import { VCol as Xe, VRow as Ze } from "vuetify/components/VGrid";
38
- import { VIcon as Qe } from "vuetify/components/VIcon";
39
- import { VImg as $e } from "vuetify/components/VImg";
40
- import { VInput as et } from "vuetify/components/VInput";
41
- import { VList as tt, VListItem as nt, VListItemTitle as rt } from "vuetify/components/VList";
42
- import { VMenu as it } from "vuetify/components/VMenu";
43
- import { VNumberInput as at } from "vuetify/components/VNumberInput";
44
- import { VProgressLinear as ot } from "vuetify/components/VProgressLinear";
45
- import { VSelect as st } from "vuetify/components/VSelect";
46
- import { VSwitch as ct } from "vuetify/components/VSwitch";
47
- import { VTextarea as lt } from "vuetify/components/VTextarea";
48
- import { VTextField as ut } from "vuetify/components/VTextField";
49
- import { VTimePicker as dt } from "vuetify/components/VTimePicker";
5
+ import { castArray as ne, clone as re, first as K, isArray as ie, isBoolean as q, isEmpty as J, isEqual as ae, isNaN as oe, isObjectLike as se, isPlainObject as ce, isString as Y, toNumber as X, unionBy as le } from "lodash-es";
6
+ import { useDisplay as ue } from "vuetify";
7
+ import { createTranslatable as de } from "@dynamicforms/translatable";
8
+ import { format as fe, parse as pe, parseISO as me } from "date-fns";
9
+ import he from "@tiptap/extension-image";
10
+ import ge from "@tiptap/extension-placeholder";
11
+ import { Table as _e } from "@tiptap/extension-table";
12
+ import ve from "@tiptap/extension-table-cell";
13
+ import ye from "@tiptap/extension-table-header";
14
+ import be from "@tiptap/extension-table-row";
15
+ import xe from "@tiptap/extension-text-align";
16
+ import { NodeSelection as Se } from "@tiptap/pm/state";
17
+ import Ce from "@tiptap/starter-kit";
18
+ import { EditorContent as we, useEditor as Te } from "@tiptap/vue-3";
19
+ import { BubbleMenu as Ee } from "@tiptap/vue-3/menus";
20
+ import { Extension as De, Mark as Oe, Node as ke, mergeAttributes as Ae } from "@tiptap/core";
21
+ import { Fragment as je, Slice as Me } from "@tiptap/pm/model";
22
+ import Ne from "@tiptap/extension-link";
23
+ import { VAutocomplete as Pe } from "vuetify/components/VAutocomplete";
24
+ import { VBtn as Fe } from "vuetify/components/VBtn";
25
+ import { VBtnGroup as Ie } from "vuetify/components/VBtnGroup";
26
+ import { VBtnToggle as Le } from "vuetify/components/VBtnToggle";
27
+ import { VCard as Re, VCardActions as ze } from "vuetify/components/VCard";
28
+ import { VCheckbox as Be } from "vuetify/components/VCheckbox";
29
+ import { VChip as Ve } from "vuetify/components/VChip";
30
+ import { VCombobox as He } from "vuetify/components/VCombobox";
31
+ import { VColorPicker as Ue } from "vuetify/components/VColorPicker";
32
+ import { VConfirmEdit as We } from "vuetify/components/VConfirmEdit";
33
+ import { VDatePicker as Ge } from "vuetify/components/VDatePicker";
34
+ import { VDivider as Ke } from "vuetify/components/VDivider";
35
+ import { VField as qe } from "vuetify/components/VField";
36
+ import { VFileInput as Je } from "vuetify/components/VFileInput";
37
+ import { VCol as Ye, VRow as Xe } from "vuetify/components/VGrid";
38
+ import { VIcon as Ze } from "vuetify/components/VIcon";
39
+ import { VImg as Qe } from "vuetify/components/VImg";
40
+ import { VInput as $e } from "vuetify/components/VInput";
41
+ import { VList as et, VListItem as tt, VListItemTitle as nt } from "vuetify/components/VList";
42
+ import { VMenu as rt } from "vuetify/components/VMenu";
43
+ import { VNumberInput as it } from "vuetify/components/VNumberInput";
44
+ import { VProgressLinear as at } from "vuetify/components/VProgressLinear";
45
+ import { VSelect as ot } from "vuetify/components/VSelect";
46
+ import { VSwitch as st } from "vuetify/components/VSwitch";
47
+ import { VTextarea as ct } from "vuetify/components/VTextarea";
48
+ import { VTextField as lt } from "vuetify/components/VTextField";
49
+ import { VTimePicker as ut } from "vuetify/components/VTimePicker";
50
50
  //#region \0rolldown/runtime.js
51
- var ft = Object.defineProperty, pt = (e, t) => {
51
+ var dt = Object.defineProperty, ft = (e, t) => {
52
52
  let n = {};
53
- for (var r in e) ft(n, r, {
53
+ for (var r in e) dt(n, r, {
54
54
  get: e[r],
55
55
  enumerable: !0
56
56
  });
57
- return t || ft(n, Symbol.toStringTag, { value: "Module" }), n;
57
+ return t || dt(n, Symbol.toStringTag, { value: "Module" }), n;
58
58
  };
59
59
  //#endregion
60
60
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/typeof.js
61
- function mt(e) {
61
+ function pt(e) {
62
62
  "@babel/helpers - typeof";
63
- return mt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
63
+ return pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
64
64
  return typeof e;
65
65
  } : function(e) {
66
66
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
67
- }, mt(e);
67
+ }, pt(e);
68
68
  }
69
69
  //#endregion
70
70
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/toPrimitive.js
71
- function ht(e, t) {
72
- if (mt(e) != "object" || !e) return e;
71
+ function mt(e, t) {
72
+ if (pt(e) != "object" || !e) return e;
73
73
  var n = e[Symbol.toPrimitive];
74
74
  if (n !== void 0) {
75
75
  var r = n.call(e, t || "default");
76
- if (mt(r) != "object") return r;
76
+ if (pt(r) != "object") return r;
77
77
  throw TypeError("@@toPrimitive must return a primitive value.");
78
78
  }
79
79
  return (t === "string" ? String : Number)(e);
80
80
  }
81
81
  //#endregion
82
82
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/toPropertyKey.js
83
- function gt(e) {
84
- var t = ht(e, "string");
85
- return mt(t) == "symbol" ? t : t + "";
83
+ function ht(e) {
84
+ var t = mt(e, "string");
85
+ return pt(t) == "symbol" ? t : t + "";
86
86
  }
87
87
  //#endregion
88
88
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/defineProperty.js
89
- function X(e, t, n) {
90
- return (t = gt(t)) in e ? Object.defineProperty(e, t, {
89
+ function Z(e, t, n) {
90
+ return (t = ht(t)) in e ? Object.defineProperty(e, t, {
91
91
  value: n,
92
92
  enumerable: !0,
93
93
  configurable: !0,
@@ -96,7 +96,7 @@ function X(e, t, n) {
96
96
  }
97
97
  //#endregion
98
98
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/objectSpread2.js
99
- function _t(e, t) {
99
+ function gt(e, t) {
100
100
  var n = Object.keys(e);
101
101
  if (Object.getOwnPropertySymbols) {
102
102
  var r = Object.getOwnPropertySymbols(e);
@@ -106,12 +106,12 @@ function _t(e, t) {
106
106
  }
107
107
  return n;
108
108
  }
109
- function Z(e) {
109
+ function Q(e) {
110
110
  for (var t = 1; t < arguments.length; t++) {
111
111
  var n = arguments[t] == null ? {} : arguments[t];
112
- t % 2 ? _t(Object(n), !0).forEach(function(t) {
113
- X(e, t, n[t]);
114
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _t(Object(n)).forEach(function(t) {
112
+ t % 2 ? gt(Object(n), !0).forEach(function(t) {
113
+ Z(e, t, n[t]);
114
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gt(Object(n)).forEach(function(t) {
115
115
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
116
116
  });
117
117
  }
@@ -119,10 +119,10 @@ function Z(e) {
119
119
  }
120
120
  //#endregion
121
121
  //#region node_modules/date-fns/locale/sl/_lib/formatDistance.js
122
- function vt(e) {
122
+ function _t(e) {
123
123
  return e.one !== void 0;
124
124
  }
125
- var yt = {
125
+ var vt = {
126
126
  lessThanXSeconds: {
127
127
  present: {
128
128
  one: "manj kot {{count}} sekunda",
@@ -397,7 +397,7 @@ var yt = {
397
397
  }
398
398
  }
399
399
  };
400
- function bt(e) {
400
+ function yt(e) {
401
401
  switch (e % 100) {
402
402
  case 1: return "one";
403
403
  case 2: return "two";
@@ -406,27 +406,27 @@ function bt(e) {
406
406
  default: return "other";
407
407
  }
408
408
  }
409
- var xt = (e, t, n) => {
409
+ var bt = (e, t, n) => {
410
410
  let r = "", i = "present";
411
411
  n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (i = "future", r = "čez ") : (i = "past", r = "pred "));
412
- let a = yt[e];
412
+ let a = vt[e];
413
413
  if (typeof a == "string") r += a;
414
414
  else {
415
- let e = bt(t);
416
- vt(a) ? r += a[e].replace("{{count}}", String(t)) : r += a[i][e].replace("{{count}}", String(t));
415
+ let e = yt(t);
416
+ _t(a) ? r += a[e].replace("{{count}}", String(t)) : r += a[i][e].replace("{{count}}", String(t));
417
417
  }
418
418
  return r;
419
419
  };
420
420
  //#endregion
421
421
  //#region node_modules/date-fns/locale/_lib/buildFormatLongFn.js
422
- function St(e) {
422
+ function xt(e) {
423
423
  return (t = {}) => {
424
424
  let n = t.width ? String(t.width) : e.defaultWidth;
425
425
  return e.formats[n] || e.formats[e.defaultWidth];
426
426
  };
427
427
  }
428
- var Ct = {
429
- date: St({
428
+ var St = {
429
+ date: xt({
430
430
  formats: {
431
431
  full: "EEEE, dd. MMMM y",
432
432
  long: "dd. MMMM y",
@@ -435,7 +435,7 @@ var Ct = {
435
435
  },
436
436
  defaultWidth: "full"
437
437
  }),
438
- time: St({
438
+ time: xt({
439
439
  formats: {
440
440
  full: "HH:mm:ss zzzz",
441
441
  long: "HH:mm:ss z",
@@ -444,7 +444,7 @@ var Ct = {
444
444
  },
445
445
  defaultWidth: "full"
446
446
  }),
447
- dateTime: St({
447
+ dateTime: xt({
448
448
  formats: {
449
449
  full: "{{date}} {{time}}",
450
450
  long: "{{date}} {{time}}",
@@ -453,7 +453,7 @@ var Ct = {
453
453
  },
454
454
  defaultWidth: "full"
455
455
  })
456
- }, wt = {
456
+ }, Ct = {
457
457
  lastWeek: (e) => {
458
458
  switch (e.getDay()) {
459
459
  case 0: return "'prejšnjo nedeljo ob' p";
@@ -474,13 +474,13 @@ var Ct = {
474
474
  }
475
475
  },
476
476
  other: "P"
477
- }, Tt = (e, t, n, r) => {
478
- let i = wt[e];
477
+ }, wt = (e, t, n, r) => {
478
+ let i = Ct[e];
479
479
  return typeof i == "function" ? i(t) : i;
480
480
  };
481
481
  //#endregion
482
482
  //#region node_modules/date-fns/locale/_lib/buildLocalizeFn.js
483
- function Et(e) {
483
+ function Tt(e) {
484
484
  return (t, n) => {
485
485
  let r = n != null && n.context ? String(n.context) : "standalone", i;
486
486
  if (r === "formatting" && e.formattingValues) {
@@ -494,9 +494,9 @@ function Et(e) {
494
494
  return i[a];
495
495
  };
496
496
  }
497
- var Dt = {
497
+ var Et = {
498
498
  ordinalNumber: (e, t) => Number(e) + ".",
499
- era: Et({
499
+ era: Tt({
500
500
  values: {
501
501
  narrow: ["pr. n. št.", "po n. št."],
502
502
  abbreviated: ["pr. n. št.", "po n. št."],
@@ -504,7 +504,7 @@ var Dt = {
504
504
  },
505
505
  defaultWidth: "wide"
506
506
  }),
507
- quarter: Et({
507
+ quarter: Tt({
508
508
  values: {
509
509
  narrow: [
510
510
  "1",
@@ -528,7 +528,7 @@ var Dt = {
528
528
  defaultWidth: "wide",
529
529
  argumentCallback: (e) => e - 1
530
530
  }),
531
- month: Et({
531
+ month: Tt({
532
532
  values: {
533
533
  narrow: [
534
534
  "j",
@@ -575,7 +575,7 @@ var Dt = {
575
575
  },
576
576
  defaultWidth: "wide"
577
577
  }),
578
- day: Et({
578
+ day: Tt({
579
579
  values: {
580
580
  narrow: [
581
581
  "n",
@@ -616,7 +616,7 @@ var Dt = {
616
616
  },
617
617
  defaultWidth: "wide"
618
618
  }),
619
- dayPeriod: Et({
619
+ dayPeriod: Tt({
620
620
  values: {
621
621
  narrow: {
622
622
  am: "d",
@@ -687,11 +687,11 @@ var Dt = {
687
687
  };
688
688
  //#endregion
689
689
  //#region node_modules/date-fns/locale/_lib/buildMatchFn.js
690
- function Ot(e) {
690
+ function Dt(e) {
691
691
  return (t, n = {}) => {
692
692
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
693
693
  if (!a) return null;
694
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? At(s, (e) => e.test(o)) : kt(s, (e) => e.test(o)), l;
694
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? kt(s, (e) => e.test(o)) : Ot(s, (e) => e.test(o)), l;
695
695
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
696
696
  let u = t.slice(o.length);
697
697
  return {
@@ -700,15 +700,15 @@ function Ot(e) {
700
700
  };
701
701
  };
702
702
  }
703
- function kt(e, t) {
703
+ function Ot(e, t) {
704
704
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
705
705
  }
706
- function At(e, t) {
706
+ function kt(e, t) {
707
707
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
708
708
  }
709
709
  //#endregion
710
710
  //#region node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
711
- function jt(e) {
711
+ function At(e) {
712
712
  return (t, n = {}) => {
713
713
  let r = t.match(e.matchPattern);
714
714
  if (!r) return null;
@@ -725,19 +725,19 @@ function jt(e) {
725
725
  }
726
726
  //#endregion
727
727
  //#region node_modules/date-fns/locale/sl.js
728
- var Mt = {
728
+ var jt = {
729
729
  code: "sl",
730
- formatDistance: xt,
731
- formatLong: Ct,
732
- formatRelative: Tt,
733
- localize: Dt,
730
+ formatDistance: bt,
731
+ formatLong: St,
732
+ formatRelative: wt,
733
+ localize: Et,
734
734
  match: {
735
- ordinalNumber: jt({
735
+ ordinalNumber: At({
736
736
  matchPattern: /^(\d+)\./i,
737
737
  parsePattern: /\d+/i,
738
738
  valueCallback: (e) => parseInt(e, 10)
739
739
  }),
740
- era: Ot({
740
+ era: Dt({
741
741
  matchPatterns: {
742
742
  abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
743
743
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
@@ -746,7 +746,7 @@ var Mt = {
746
746
  parsePatterns: { any: [/^pr/i, /^(po|na[sš]em)/i] },
747
747
  defaultParseWidth: "any"
748
748
  }),
749
- quarter: Ot({
749
+ quarter: Dt({
750
750
  matchPatterns: {
751
751
  narrow: /^[1234]/i,
752
752
  abbreviated: /^[1234]\.\s?[čc]et\.?/i,
@@ -762,7 +762,7 @@ var Mt = {
762
762
  defaultParseWidth: "any",
763
763
  valueCallback: (e) => e + 1
764
764
  }),
765
- month: Ot({
765
+ month: Dt({
766
766
  matchPatterns: {
767
767
  narrow: /^[jfmasond]/i,
768
768
  abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
@@ -815,7 +815,7 @@ var Mt = {
815
815
  },
816
816
  defaultParseWidth: "wide"
817
817
  }),
818
- day: Ot({
818
+ day: Dt({
819
819
  matchPatterns: {
820
820
  narrow: /^[nptsčc]/i,
821
821
  short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
@@ -845,7 +845,7 @@ var Mt = {
845
845
  },
846
846
  defaultParseWidth: "any"
847
847
  }),
848
- dayPeriod: Ot({
848
+ dayPeriod: Dt({
849
849
  matchPatterns: {
850
850
  narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
851
851
  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
@@ -880,65 +880,65 @@ var Mt = {
880
880
  weekStartsOn: 1,
881
881
  firstWeekContainsDate: 1
882
882
  }
883
- }, Nt = {
884
- dateTimeLocale: w(Mt),
883
+ }, Mt = {
884
+ dateTimeLocale: w(jt),
885
885
  setDateTimeLocale(e) {
886
886
  m(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
887
887
  }
888
- }, Pt = class extends Error {
888
+ }, Nt = class extends Error {
889
889
  constructor(e) {
890
- super(e), X(this, "errorText", void 0), this.errorText = e;
890
+ super(e), Z(this, "errorText", void 0), this.errorText = e;
891
891
  }
892
- }, Ft = class extends String {
892
+ }, Pt = class extends String {
893
893
  constructor(e, t, n) {
894
- super(e), X(this, "plugins", void 0), X(this, "options", void 0), this.plugins = n, this.options = t;
894
+ super(e), Z(this, "plugins", void 0), Z(this, "options", void 0), this.plugins = n, this.options = t;
895
895
  }
896
- }, It = class extends String {};
897
- function Lt(e) {
898
- let t = P(e);
896
+ }, Ft = class extends String {};
897
+ function It(e) {
898
+ let t = N(e);
899
899
  return typeof t == "object" && !!t && "componentName" in t;
900
900
  }
901
- function Rt(e) {
902
- return typeof e == "string" || e instanceof String || Lt(e);
901
+ function Lt(e) {
902
+ return typeof e == "string" || e instanceof String || It(e);
903
903
  }
904
- var zt = RegExp(`</?(?:${(/* @__PURE__ */ "address.article.aside.blockquote.br.dd.div.dl.dt.figcaption.figure.footer.h[1-6].header.hr.li.main.nav.ol.p.pre.section.table.td.th.tr.ul".split(".")).join("|")})\\b[^>]*>`, "gi"), Bt = "", Vt = {
904
+ var Rt = RegExp(`</?(?:${(/* @__PURE__ */ "address.article.aside.blockquote.br.dd.div.dl.dt.figcaption.figure.footer.h[1-6].header.hr.li.main.nav.ol.p.pre.section.table.td.th.tr.ul".split(".")).join("|")})\\b[^>]*>`, "gi"), zt = "", Bt = {
905
905
  "&lt;": "<",
906
906
  "&gt;": ">",
907
907
  "&quot;": "\"",
908
908
  "&#39;": "'",
909
- "&nbsp;": Bt,
909
+ "&nbsp;": zt,
910
910
  "&amp;": "&"
911
911
  };
912
- function Ht(e) {
913
- if (e instanceof It) {
914
- let t = e.toString().replace(zt, " ").replace(/<[^>]*>/g, "").replace(/\s+/g, " ");
915
- return Object.entries(Vt).reduce((e, [t, n]) => e.replaceAll(t, n), t);
912
+ function Vt(e) {
913
+ if (e instanceof Ft) {
914
+ let t = e.toString().replace(Rt, " ").replace(/<[^>]*>/g, "").replace(/\s+/g, " ");
915
+ return Object.entries(Bt).reduce((e, [t, n]) => e.replaceAll(t, n), t);
916
916
  }
917
- return Lt(e) ? Wt(e).map(Ht).join("") : e.toString();
917
+ return It(e) ? Ut(e).map(Vt).join("") : e.toString();
918
918
  }
919
- function Ut(e) {
920
- return !(e instanceof It) && !Lt(e) ? e.toString() : Ht(e).replace(/\s+/g, " ").trim().replaceAll(Bt, " ");
919
+ function Ht(e) {
920
+ return !(e instanceof Ft) && !It(e) ? e.toString() : Vt(e).replace(/\s+/g, " ").trim().replaceAll(zt, " ");
921
921
  }
922
- function Wt(e) {
922
+ function Ut(e) {
923
923
  let { children: t } = e;
924
924
  return t === void 0 ? [] : Array.isArray(t) ? t : [t];
925
925
  }
926
- function Gt(e) {
927
- return typeof P(e) == "function";
926
+ function Wt(e) {
927
+ return typeof N(e) == "function";
928
928
  }
929
- var Kt = class {
929
+ var Gt = class {
930
930
  constructor(e = "", n = "") {
931
- X(this, "content", void 0), X(this, "classes", void 0), X(this, "kindRef", void 0), this.content = e, this.classes = n, this.kindRef = t(() => {
931
+ Z(this, "content", void 0), Z(this, "classes", void 0), Z(this, "kindRef", void 0), this.content = e, this.classes = n, this.kindRef = t(() => {
932
932
  let e = this.resolvedText;
933
- return e instanceof Ft ? "md" : e instanceof It ? "html" : Lt(e) ? "component" : "string";
933
+ return e instanceof Pt ? "md" : e instanceof Ft ? "html" : It(e) ? "component" : "string";
934
934
  });
935
935
  }
936
936
  get resolvedText() {
937
- let e = P(this.content);
938
- return Gt(e) ? e() : e;
937
+ let e = N(this.content);
938
+ return Wt(e) ? e() : e;
939
939
  }
940
940
  get kind() {
941
- return P(this.kindRef);
941
+ return N(this.kindRef);
942
942
  }
943
943
  get componentName() {
944
944
  switch (this.kind) {
@@ -959,14 +959,14 @@ var Kt = class {
959
959
  };
960
960
  }
961
961
  case "component": {
962
- let e = Z({}, this.resolvedText.componentProps);
962
+ let e = Q({}, this.resolvedText.componentProps);
963
963
  return delete e.innerHTML, e;
964
964
  }
965
965
  default: return {};
966
966
  }
967
967
  }
968
968
  get componentChildren() {
969
- return this.kind === "component" ? Wt(this.resolvedText) : [];
969
+ return this.kind === "component" ? Ut(this.resolvedText) : [];
970
970
  }
971
971
  get componentBody() {
972
972
  switch (this.kind) {
@@ -981,12 +981,12 @@ var Kt = class {
981
981
  };
982
982
  //#endregion
983
983
  //#region src/helpers/error-text.ts
984
- function qt(e) {
984
+ function Kt(e) {
985
985
  var t;
986
- return Rt(e) ? {
986
+ return Lt(e) ? {
987
987
  code: "",
988
988
  params: {},
989
- detail: Ut(e),
989
+ detail: Ht(e),
990
990
  origin: "application"
991
991
  } : {
992
992
  code: typeof e.code == "string" ? e.code : "",
@@ -995,31 +995,31 @@ function qt(e) {
995
995
  origin: typeof e.origin == "string" && e.origin ? e.origin : "application"
996
996
  };
997
997
  }
998
- function Jt(e, t) {
998
+ function qt(e, t) {
999
999
  var n, r;
1000
- if (Rt(e)) return e;
1001
- let i = qt(e);
1000
+ if (Lt(e)) return e;
1001
+ let i = Kt(e);
1002
1002
  return i.code ? (n = (r = t.errorText) == null ? void 0 : r.call(t, i)) == null ? i.detail : n : i.detail;
1003
1003
  }
1004
1004
  //#endregion
1005
1005
  //#region src/helpers/settings.ts
1006
- var Yt = Symbol("vuetifyInputsSettingsKey"), Xt = /* @__PURE__ */ l({
1006
+ var Jt = Symbol("vuetifyInputsSettingsKey"), Yt = /* @__PURE__ */ l({
1007
1007
  __name: "messages-widget",
1008
1008
  props: {
1009
1009
  message: {},
1010
1010
  classes: {}
1011
1011
  },
1012
1012
  setup(e) {
1013
- let t = e, r = p(Yt, {}), i = /* @__PURE__ */ new Set(/* @__PURE__ */ "div.span.p.h1.h2.h3.h4.h5.h6.section.article.aside.nav.header.footer.main.figure.figcaption.blockquote.pre.code.em.strong.small.mark.del.ins.sub.sup.i.b.u.s.a.img.button.input.textarea.select.option.label.form.table.tr.td.th.thead.tbody.tfoot.ul.ol.li.dl.dt.dd".split("."));
1013
+ let t = e, r = p(Jt, {}), i = /* @__PURE__ */ new Set(/* @__PURE__ */ "div.span.p.h1.h2.h3.h4.h5.h6.section.article.aside.nav.header.footer.main.figure.figcaption.blockquote.pre.code.em.strong.small.mark.del.ins.sub.sup.i.b.u.s.a.img.button.input.textarea.select.option.label.form.table.tr.td.th.thead.tbody.tfoot.ul.ol.li.dl.dt.dd".split("."));
1014
1014
  function a(e) {
1015
- return e instanceof Kt ? e : new Kt(Jt(e, r));
1015
+ return e instanceof Gt ? e : new Gt(qt(e, r));
1016
1016
  }
1017
1017
  function o(e, t, n) {
1018
1018
  let r = () => n.map(s);
1019
1019
  return i.has(e.toLowerCase()) ? f(e, t, r()) : f(D(e), t, n.length ? { default: r } : void 0);
1020
1020
  }
1021
1021
  function s(e) {
1022
- let t = new Kt(e);
1022
+ let t = new Gt(e);
1023
1023
  switch (t.componentName) {
1024
1024
  case "template": return t.componentBody;
1025
1025
  case "html": return f("span", { innerHTML: t.componentBody });
@@ -1052,12 +1052,12 @@ var Yt = Symbol("vuetifyInputsSettingsKey"), Xt = /* @__PURE__ */ l({
1052
1052
  plugins: i
1053
1053
  });
1054
1054
  }
1055
- default: return o(n.componentName, Z(Z({}, n.componentBindings), {}, { class: [r, n.componentBindings.class] }), n.componentChildren);
1055
+ default: return o(n.componentName, Q(Q({}, n.componentBindings), {}, { class: [r, n.componentBindings.class] }), n.componentChildren);
1056
1056
  }
1057
1057
  });
1058
1058
  return (e, t) => (C(), n(c));
1059
1059
  }
1060
- }), Q = /* @__PURE__ */ l({
1060
+ }), $ = /* @__PURE__ */ l({
1061
1061
  __name: "df-input-hint",
1062
1062
  props: {
1063
1063
  errors: { default: "" },
@@ -1077,14 +1077,14 @@ var Yt = Symbol("vuetifyInputsSettingsKey"), Xt = /* @__PURE__ */ l({
1077
1077
  let r = e, i = t(() => r.errors ? typeof r.errors == "string" ? r.errors.trim().length > 0 : r.errors.length > 0 : !1), a = t(() => {
1078
1078
  if (i.value) return r.errors;
1079
1079
  let e = r.message;
1080
- return typeof e == "string" || Array.isArray(e) ? e : [new Kt(e)];
1080
+ return typeof e == "string" || Array.isArray(e) ? e : [new Gt(e)];
1081
1081
  }), o = t(() => i.value ? r.errorClasses : r.messageClasses);
1082
- return (e, t) => (C(), n(Xt, {
1082
+ return (e, t) => (C(), n(Yt, {
1083
1083
  message: a.value,
1084
1084
  classes: o.value
1085
1085
  }, null, 8, ["message", "classes"]));
1086
1086
  }
1087
- }), $ = /* @__PURE__ */ l({
1087
+ }), Xt = /* @__PURE__ */ l({
1088
1088
  __name: "df-label",
1089
1089
  props: {
1090
1090
  data: {},
@@ -1095,10 +1095,10 @@ var Yt = Symbol("vuetifyInputsSettingsKey"), Xt = /* @__PURE__ */ l({
1095
1095
  let o = a, c = t(() => {
1096
1096
  var e;
1097
1097
  return o.label.text || ((e = o.data) == null ? void 0 : e.label) || "";
1098
- }), l = t(() => new Kt(c.value));
1098
+ }), l = t(() => new Gt(c.value));
1099
1099
  return (t, o) => {
1100
1100
  let u = D("v-img");
1101
- return C(), i("div", { class: v(["df-label", { "allow-wrap": a.allowWrap }]) }, [a.label.icon ? (C(), i(e, { key: 0 }, [a.label.iconComponent === "v-icon" ? (C(), n(P(V), {
1101
+ return C(), i("div", { class: v(["df-label", { "allow-wrap": a.allowWrap }]) }, [a.label.icon ? (C(), i(e, { key: 0 }, [a.label.iconComponent === "v-icon" ? (C(), n(N(V), {
1102
1102
  key: 0,
1103
1103
  name: a.label.icon,
1104
1104
  size: "1.25em"
@@ -1109,7 +1109,7 @@ var Yt = Symbol("vuetifyInputsSettingsKey"), Xt = /* @__PURE__ */ l({
1109
1109
  }, null, 8, ["src"])) : (C(), n(O(a.label.iconComponent), {
1110
1110
  key: 2,
1111
1111
  src: a.label.icon
1112
- }, null, 8, ["src"]))], 64)) : r("", !0), typeof c.value == "string" ? (C(), i(e, { key: 1 }, [s(A(c.value), 1)], 64)) : (C(), n(Xt, {
1112
+ }, null, 8, ["src"]))], 64)) : r("", !0), typeof c.value == "string" ? (C(), i(e, { key: 1 }, [s(A(c.value), 1)], 64)) : (C(), n(Yt, {
1113
1113
  key: 2,
1114
1114
  message: [l.value]
1115
1115
  }, null, 8, ["message"]))], 2);
@@ -1126,9 +1126,9 @@ function Zt(e, t, n, r) {
1126
1126
  });
1127
1127
  }
1128
1128
  function Qt(e) {
1129
- let n = p(Yt, {});
1129
+ let n = p(Jt, {});
1130
1130
  return t(() => {
1131
- let t = N(e);
1131
+ let t = M(e);
1132
1132
  return t ? Zt(t.errors, t, t.touched, n) : [];
1133
1133
  });
1134
1134
  }
@@ -1136,14 +1136,14 @@ function Qt(e) {
1136
1136
  //#region src/helpers/input-base.ts
1137
1137
  var $t = class {
1138
1138
  constructor(e, t, n = "v-icon") {
1139
- X(this, "text", void 0), X(this, "icon", void 0), X(this, "iconComponent", void 0), this.text = e, this.icon = t, this.iconComponent = n;
1139
+ Z(this, "text", void 0), Z(this, "icon", void 0), Z(this, "iconComponent", void 0), this.text = e, this.icon = t, this.iconComponent = n;
1140
1140
  }
1141
1141
  }, en = {
1142
1142
  enabled: void 0,
1143
1143
  clearable: !0
1144
1144
  };
1145
1145
  function tn(e, n, r) {
1146
- let i = p(Yt, {}), a = p("field-density", null), o = p("field-variant", null), s = w(null), c = k(null), l = t({
1146
+ let i = p(Jt, {}), a = p("field-density", null), o = p("field-variant", null), s = w(null), c = k(null), l = t({
1147
1147
  get() {
1148
1148
  return c.value ? c.value.value : e.control ? e.control.value : e.modelValue === void 0 ? s.value : e.modelValue;
1149
1149
  },
@@ -1170,7 +1170,7 @@ function tn(e, n, r) {
1170
1170
  var t;
1171
1171
  let n = /* @__PURE__ */ new Map();
1172
1172
  return ((t = e.errors) == null ? [] : t).forEach((e) => {
1173
- let { code: t, params: r, detail: i, origin: a } = qt(e);
1173
+ let { code: t, params: r, detail: i, origin: a } = Kt(e);
1174
1174
  n.set(new G(t, r, i, a), e);
1175
1175
  }), n;
1176
1176
  }), h = t(() => {
@@ -1180,38 +1180,42 @@ function tn(e, n, r) {
1180
1180
  var t;
1181
1181
  return (t = m.value.get(e)) == null ? e : t;
1182
1182
  })), v = t(() => g.value.length > 0 ? " " : void 0), y = t(() => e.control ? e.control.effectiveEnabled : e.enabled !== !1), b = t(() => {
1183
+ if (!e.control) return !y.value;
1184
+ let t = e.control.effectiveAccess;
1185
+ return t === "disabled" || t === "disabled-null";
1186
+ }), x = t(() => {
1183
1187
  if (e.control) return e.control.visibility;
1184
1188
  if (e.visibility == null) return U.defaultVisibility;
1185
1189
  if (!U.isVisibility(e.visibility)) throw Error(`'${e.visibility}' is not a visibility: ${U.visibilityValues.join(", ")}`);
1186
1190
  return e.visibility;
1187
- }), x = t(() => b.value !== "suppress"), S = t(() => ({
1188
- "d-none": b.value === "hidden",
1189
- invisible: b.value === "invisible"
1190
- })), C = t(() => {
1191
+ }), S = t(() => x.value !== "suppress"), C = t(() => ({
1192
+ "d-none": x.value === "hidden",
1193
+ invisible: x.value === "invisible"
1194
+ })), T = t(() => {
1191
1195
  var t, n;
1192
1196
  return (t = (n = e.control) == null ? void 0 : n.extra) == null ? {} : t;
1193
- }), T = t(() => {
1197
+ }), E = t(() => {
1194
1198
  var t;
1195
- let n = (t = e.label) == null ? C.value.label : t;
1199
+ let n = (t = e.label) == null ? T.value.label : t;
1196
1200
  return n instanceof $t ? n : new $t(n == null ? "" : n);
1197
- }), E = t(() => {
1198
- var t, n;
1199
- return (t = (n = e.placeholder) == null ? C.value.placeholder : n) == null ? "" : t;
1200
1201
  }), D = t(() => {
1201
1202
  var t, n;
1202
- return (t = (n = e.helpText) == null ? C.value.helpText : n) == null ? "" : t;
1203
+ return (t = (n = e.placeholder) == null ? T.value.placeholder : n) == null ? "" : t;
1203
1204
  }), O = t(() => {
1204
1205
  var t, n;
1205
- return (t = (n = e.hint) == null ? C.value.hint : n) == null ? "" : t;
1206
+ return (t = (n = e.helpText) == null ? T.value.helpText : n) == null ? "" : t;
1206
1207
  }), A = t(() => {
1207
1208
  var t, n;
1208
- return (t = (n = e.cssClass) == null ? C.value.cssClass : n) == null ? "" : t;
1209
+ return (t = (n = e.hint) == null ? T.value.hint : n) == null ? "" : t;
1210
+ }), ee = t(() => {
1211
+ var t, n;
1212
+ return (t = (n = e.cssClass) == null ? T.value.cssClass : n) == null ? "" : t;
1209
1213
  }), M = t(() => {
1210
1214
  var t, n, r, o;
1211
- return (t = (n = (r = (o = e.density) == null ? C.value.density : o) == null ? a : r) == null ? i.defaultDensity : n) == null ? "default" : t;
1215
+ return (t = (n = (r = (o = e.density) == null ? T.value.density : o) == null ? a : r) == null ? i.defaultDensity : n) == null ? "default" : t;
1212
1216
  }), N = t(() => M.value === "inline" ? "default" : M.value), P = t(() => {
1213
1217
  var t, n, r, a;
1214
- return (t = (n = (r = (a = e.variant) == null ? C.value.variant : a) == null ? o : r) == null ? i.defaultVariant : n) == null ? "underlined" : t;
1218
+ return (t = (n = (r = (a = e.variant) == null ? T.value.variant : a) == null ? o : r) == null ? i.defaultVariant : n) == null ? "underlined" : t;
1215
1219
  });
1216
1220
  return {
1217
1221
  value: l,
@@ -1219,30 +1223,30 @@ function tn(e, n, r) {
1219
1223
  enabled: y,
1220
1224
  errors: h,
1221
1225
  shownErrors: g,
1222
- visibility: b,
1223
- isRendered: x,
1224
- visibilityClass: S,
1225
- label: T,
1226
+ visibility: x,
1227
+ isRendered: S,
1228
+ visibilityClass: C,
1229
+ label: E,
1226
1230
  touched: d,
1227
1231
  density: M,
1228
1232
  densityClass: t(() => `df-density-${M.value}`),
1229
1233
  vuetifyBindings: t(() => {
1230
1234
  var t;
1231
- return Z({
1235
+ return Q({
1232
1236
  name: (t = e.control) == null ? void 0 : t.fieldName,
1233
- class: A.value,
1237
+ class: ee.value,
1234
1238
  density: N.value,
1235
1239
  variant: P.value,
1236
- label: Ut(T.value.text),
1240
+ label: Ht(E.value.text),
1237
1241
  errorMessages: v.value,
1238
1242
  readonly: !y.value,
1239
- disabled: !y.value,
1240
- placeholder: E.value,
1241
- "persistent-placeholder": !q(E.value),
1242
- hint: O.value,
1243
+ disabled: b.value,
1244
+ placeholder: D.value,
1245
+ "persistent-placeholder": !J(D.value),
1246
+ hint: A.value,
1243
1247
  persistentHint: !0,
1244
1248
  hideDetails: "auto",
1245
- helpText: D.value
1249
+ helpText: O.value
1246
1250
  }, e.passthroughAttrs || {});
1247
1251
  })
1248
1252
  };
@@ -1274,42 +1278,42 @@ var nn = { class: "d-flex w-100 df-style-resetting df-sub-field" }, rn = /* @__P
1274
1278
  "blur"
1275
1279
  ],
1276
1280
  setup(e, { emit: i }) {
1277
- let s = e, l = i, { isRendered: u, label: f, shownErrors: p, touched: m, value: h, visibilityClass: g, vuetifyBindings: _ } = tn(s, l), b = t(() => !!(P(s.clearable) && P(h))), x = w(!1);
1281
+ let s = e, l = i, { isRendered: u, label: f, shownErrors: p, touched: m, value: h, visibilityClass: g, vuetifyBindings: _ } = tn(s, l), b = t(() => !!(N(s.clearable) && N(h) && !_.value.readonly)), x = w(!1);
1278
1282
  function S(e) {
1279
1283
  x.value = e, e || (m.value = !0, l("blur"));
1280
1284
  }
1281
1285
  return (t, i) => {
1282
1286
  let s = D("v-field"), m = D("v-input");
1283
- return P(u) ? (C(), n(m, {
1287
+ return N(u) ? (C(), n(m, {
1284
1288
  key: 0,
1285
- name: P(_).name,
1286
- density: P(_).density,
1287
- hint: P(_).hint,
1288
- "persistent-hint": P(_).persistentHint,
1289
- "hide-details": P(_).hideDetails,
1290
- "error-messages": P(_).errorMessages,
1291
- class: v([e.cssClass, P(g)])
1289
+ name: N(_).name,
1290
+ density: N(_).density,
1291
+ hint: N(_).hint,
1292
+ "persistent-hint": N(_).persistentHint,
1293
+ "hide-details": N(_).hideDetails,
1294
+ "error-messages": N(_).errorMessages,
1295
+ class: v([e.cssClass, N(g)])
1292
1296
  }, o({
1293
- message: R(({ message: e }) => [c(Q, {
1297
+ message: R(({ message: e }) => [c($, {
1294
1298
  message: e,
1295
- errors: P(p)
1299
+ errors: N(p)
1296
1300
  }, null, 8, ["message", "errors"])]),
1297
1301
  default: R(() => [c(s, {
1298
- variant: P(_).variant,
1299
- density: P(_).density,
1300
- label: P(_).label,
1301
- disabled: P(_).disabled,
1302
+ variant: N(_).variant,
1303
+ density: N(_).density,
1304
+ label: N(_).label,
1305
+ disabled: N(_).disabled,
1302
1306
  clearable: b.value,
1303
1307
  "persistent-clear": !0,
1304
- dirty: !!P(h) || !!P(_).placeholder,
1308
+ dirty: !!N(h) || !!N(_).placeholder,
1305
1309
  active: x.value,
1306
1310
  loading: e.loading,
1307
1311
  "onClick:clear": i[0] || (i[0] = (e) => l("click:clear")),
1308
1312
  "onUpdate:focused": i[1] || (i[1] = (e) => S(e))
1309
1313
  }, o({
1310
- label: R((e) => [c($, {
1314
+ label: R((e) => [c(Xt, {
1311
1315
  data: e,
1312
- label: P(f)
1316
+ label: N(f)
1313
1317
  }, null, 8, ["data", "label"])]),
1314
1318
  default: R((e) => [a("div", nn, [E(t.$slots, "default", y(d(e)))])]),
1315
1319
  loader: R((e) => [E(t.$slots, "loader", y(d(e)))]),
@@ -1358,7 +1362,7 @@ var cn = [
1358
1362
  "xl"
1359
1363
  ], ln = class {
1360
1364
  constructor(e) {
1361
- X(this, "_value", void 0), this._value = this.cleanBreakpoint(e, !0), e && cn.forEach((t) => {
1365
+ Z(this, "_value", void 0), this._value = this.cleanBreakpoint(e, !0), e && cn.forEach((t) => {
1362
1366
  let n = this.cleanBreakpoint(e[t]);
1363
1367
  n && (this._value[t] = n);
1364
1368
  });
@@ -1371,7 +1375,7 @@ var cn = [
1371
1375
  let i = (r = this._value[t]) == null ? {} : r;
1372
1376
  for (let e of Object.keys(i)) {
1373
1377
  let t = i[e];
1374
- t != null && (n[e] = le(t) ? Z(Z({}, n[e]), t) : t);
1378
+ t != null && (n[e] = ce(t) ? Q(Q({}, n[e]), t) : t);
1375
1379
  }
1376
1380
  if (t === e) break;
1377
1381
  }
@@ -1382,22 +1386,22 @@ function un(e) {
1382
1386
  return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
1383
1387
  }
1384
1388
  function dn() {
1385
- let e = de();
1389
+ let e = ue();
1386
1390
  return t(() => un(e));
1387
1391
  }
1388
1392
  //#endregion
1389
1393
  //#region src/helpers/action/action-render-options.ts
1390
1394
  var fn = class extends ln {
1391
1395
  cleanBreakpoint(e, t = !1) {
1392
- if ((!e || !ce(e)) && !t) return null;
1396
+ if ((!e || !se(e)) && !t) return null;
1393
1397
  let n = {};
1394
1398
  if (t && (n.renderAs = on, n.showLabel = !0, n.showIcon = !0), e) {
1395
1399
  if (e.renderAs != null) {
1396
1400
  if (!sn(e.renderAs)) throw Error(`'${e.renderAs}' is not an action display style: ${an.join(", ")}`);
1397
1401
  n.renderAs = e.renderAs;
1398
1402
  }
1399
- let t = N(e.label);
1400
- J(t) && (n.label = t), J(e.icon) && (n.icon = e.icon), K(e.showLabel) && (n.showLabel = e.showLabel), K(e.showIcon) && (n.showIcon = e.showIcon), J(e.name) && (n.name = e.name), K(e.defaultConfirm) && (n.defaultConfirm = e.defaultConfirm), K(e.defaultReject) && (n.defaultReject = e.defaultReject), le(e.passthroughAttrs) && (n.passthroughAttrs = Z({}, e.passthroughAttrs));
1403
+ let t = M(e.label);
1404
+ Y(t) && (n.label = t), Y(e.icon) && (n.icon = e.icon), q(e.showLabel) && (n.showLabel = e.showLabel), q(e.showIcon) && (n.showIcon = e.showIcon), Y(e.name) && (n.name = e.name), q(e.defaultConfirm) && (n.defaultConfirm = e.defaultConfirm), q(e.defaultReject) && (n.defaultReject = e.defaultReject), ce(e.passthroughAttrs) && (n.passthroughAttrs = Q({}, e.passthroughAttrs));
1401
1405
  }
1402
1406
  return Object.keys(n).length ? n : null;
1403
1407
  }
@@ -1409,8 +1413,8 @@ function pn(e, t) {
1409
1413
  label: n.showLabel ? r : void 0,
1410
1414
  icon: n.showIcon ? n.icon : void 0,
1411
1415
  renderAs: n.renderAs,
1412
- showLabel: J(r) && !q(r) ? n.showLabel : !1,
1413
- showIcon: J(n.icon) && !q(n.icon) ? n.showIcon : !1,
1416
+ showLabel: Y(r) && !J(r) ? n.showLabel : !1,
1417
+ showIcon: Y(n.icon) && !J(n.icon) ? n.showIcon : !1,
1414
1418
  defaultConfirm: n.defaultConfirm,
1415
1419
  defaultReject: n.defaultReject,
1416
1420
  passthroughAttrs: n.passthroughAttrs
@@ -1423,7 +1427,7 @@ var mn = class extends te {
1423
1427
  return t(() => pn(this.value, e.value));
1424
1428
  }
1425
1429
  get label() {
1426
- return N(this.value.label);
1430
+ return M(this.value.label);
1427
1431
  }
1428
1432
  set label(e) {
1429
1433
  super.label = e;
@@ -1432,17 +1436,17 @@ var mn = class extends te {
1432
1436
  return this.value.name;
1433
1437
  }
1434
1438
  get renderedLabel() {
1435
- return this.value.showLabel ? N(this.value.label) : void 0;
1439
+ return this.value.showLabel ? M(this.value.label) : void 0;
1436
1440
  }
1437
1441
  get showLabel() {
1438
- let e = N(this.value.label);
1439
- return J(e) && !q(e) ? this.value.showLabel : !1;
1442
+ let e = M(this.value.label);
1443
+ return Y(e) && !J(e) ? this.value.showLabel : !1;
1440
1444
  }
1441
1445
  get renderedIcon() {
1442
1446
  return this.value.showIcon ? this.value.icon : void 0;
1443
1447
  }
1444
1448
  get showIcon() {
1445
- return J(this.value.icon) && !q(this.value.icon) ? this.value.showIcon : !1;
1449
+ return Y(this.value.icon) && !J(this.value.icon) ? this.value.showIcon : !1;
1446
1450
  }
1447
1451
  get renderAs() {
1448
1452
  return this.value.renderAs;
@@ -1511,23 +1515,23 @@ var mn = class extends te {
1511
1515
  MediaEmbed: "Insert media",
1512
1516
  MediaEmbedUrl: "Video URL",
1513
1517
  MediaEmbedInsert: "Insert"
1514
- }, gn = fe(hn), { translateStrings: _n } = gn, vn = /* @__PURE__ */ new WeakMap();
1518
+ }, gn = de(hn), { translateStrings: _n } = gn, vn = /* @__PURE__ */ new WeakMap();
1515
1519
  function yn(e) {
1516
1520
  if (!(e != null && e.translate)) return gn;
1517
1521
  let t = vn.get(e);
1518
- return t || (t = fe(hn), t.translateStrings(e.translate, e.translateNamespace), vn.set(e, t)), t;
1522
+ return t || (t = de(hn), t.translateStrings(e.translate, e.translateNamespace), vn.set(e, t)), t;
1519
1523
  }
1520
1524
  function bn(e, t) {
1521
- return yn(u() ? p(Yt, {}) : void 0).translate(e, t);
1525
+ return yn(u() ? p(Jt, {}) : void 0).translate(e, t);
1522
1526
  }
1523
1527
  function xn() {
1524
- let e = yn(p(Yt, {}));
1528
+ let e = yn(p(Jt, {}));
1525
1529
  return (t, n) => e.translate(t, n);
1526
1530
  }
1527
1531
  //#endregion
1528
1532
  //#region src/helpers/use-file-touch-keepalive.ts
1529
1533
  function Sn(e, t, n, r) {
1530
- let i = p(Yt, {}), a = w(null);
1534
+ let i = p(Jt, {}), a = w(null);
1531
1535
  function o() {
1532
1536
  a.value && window.clearInterval(a.value);
1533
1537
  }
@@ -1537,7 +1541,7 @@ function Sn(e, t, n, r) {
1537
1541
  let l = (s = (c = n()) == null ? i.defaultTouchInterval : c) == null ? 6e4 : s;
1538
1542
  a.value = window.setInterval(() => {
1539
1543
  e.value && t().touch(e.value).catch((e) => {
1540
- e instanceof Pt && r(e.errorText);
1544
+ e instanceof Nt && r(e.errorText);
1541
1545
  });
1542
1546
  }, l);
1543
1547
  }
@@ -1563,7 +1567,7 @@ var wn = {
1563
1567
  showAsGroup: { default: "no" }
1564
1568
  },
1565
1569
  setup(a) {
1566
- let o = a, s = dn(), c = t(() => P(o.actions).filter((e) => e.visibility !== "suppress")), l = t(() => c.value.map((e) => Z({ action: e }, pn(e.value, s.value))));
1570
+ let o = a, s = dn(), c = t(() => N(o.actions).filter((e) => e.visibility !== "suppress")), l = t(() => c.value.map((e) => Q({ action: e }, pn(e.value, s.value))));
1567
1571
  function u(e) {
1568
1572
  if (e.defaultConfirm) return "primary";
1569
1573
  if (e.defaultReject) return "secondary";
@@ -1580,7 +1584,7 @@ var wn = {
1580
1584
  key: t,
1581
1585
  variant: e.renderAs === "button" ? "tonal" : "text",
1582
1586
  color: u(e),
1583
- disabled: !e.action.effectiveEnabled || e.action.busy,
1587
+ disabled: !e.action.executable,
1584
1588
  loading: e.action.busy,
1585
1589
  elevation: 0,
1586
1590
  size: a.buttonSize,
@@ -1591,7 +1595,7 @@ var wn = {
1591
1595
  }
1592
1596
  }, { ref_for: !0 }, e.passthroughAttrs, { onClick: B((t) => e.action.execute(t), ["stop"]) }), {
1593
1597
  default: R(() => [
1594
- e.icon ? (C(), n(P(V), {
1598
+ e.icon ? (C(), n(N(V), {
1595
1599
  key: 0,
1596
1600
  name: e.icon
1597
1601
  }, null, 8, ["name"])) : r("", !0),
@@ -1629,7 +1633,7 @@ var wn = {
1629
1633
  passthroughAttrs: {},
1630
1634
  density: {},
1631
1635
  variant: {}
1632
- }, Z(Z({}, en), {}, { allowNull: !1 })),
1636
+ }, Q(Q({}, en), {}, { allowNull: !1 })),
1633
1637
  emits: ["update:modelValue", "click:clear"],
1634
1638
  setup(e, { emit: i }) {
1635
1639
  let a = e, { densityClass: o, isRendered: s, label: l, shownErrors: u, touched: d, value: f, visibilityClass: p, vuetifyBindings: m } = tn(a, i), h = t(() => a.allowNull && f.value == null), _ = t({
@@ -1644,27 +1648,27 @@ var wn = {
1644
1648
  }
1645
1649
  return (e, t) => {
1646
1650
  let i = D("v-checkbox");
1647
- return P(s) ? (C(), n(i, g({
1651
+ return N(s) ? (C(), n(i, g({
1648
1652
  key: 0,
1649
1653
  modelValue: _.value,
1650
1654
  "onUpdate:modelValue": t[0] || (t[0] = (e) => _.value = e),
1651
1655
  density: "compact",
1652
- class: [P(o), P(p)],
1656
+ class: [N(o), N(p)],
1653
1657
  indeterminate: h.value,
1654
1658
  "false-value": !1,
1655
1659
  "true-value": !0
1656
- }, P(m), {
1660
+ }, N(m), {
1657
1661
  onChange: v,
1658
1662
  onBlur: t[1] || (t[1] = (e) => d.value = !0)
1659
1663
  }), {
1660
- label: R((e) => [c(P($), {
1664
+ label: R((e) => [c(N(Xt), {
1661
1665
  "allow-wrap": !0,
1662
1666
  data: e,
1663
- label: P(l)
1667
+ label: N(l)
1664
1668
  }, null, 8, ["data", "label"])]),
1665
- message: R(({ message: e }) => [c(P(Q), {
1669
+ message: R(({ message: e }) => [c(N($), {
1666
1670
  message: e,
1667
- errors: P(u)
1671
+ errors: N(u)
1668
1672
  }, null, 8, ["message", "errors"])]),
1669
1673
  _: 1
1670
1674
  }, 16, [
@@ -1679,7 +1683,7 @@ var wn = {
1679
1683
  //#region src/helpers/client-rendered.ts
1680
1684
  function On() {
1681
1685
  if (typeof window > "u") return k(!1);
1682
- if (!de().ssr) return k(!0);
1686
+ if (!ue().ssr) return k(!0);
1683
1687
  let e = k(!1);
1684
1688
  return S(() => {
1685
1689
  e.value = !0;
@@ -1699,12 +1703,12 @@ var kn = /* @__PURE__ */ l({
1699
1703
  let a = D("v-btn");
1700
1704
  return C(), i(e, null, [c(a, {
1701
1705
  variant: "text",
1702
- text: P(bn)("Cancel"),
1706
+ text: N(bn)("Cancel"),
1703
1707
  onClick: t.cancel
1704
1708
  }, null, 8, ["text", "onClick"]), c(a, {
1705
1709
  variant: "text",
1706
1710
  disabled: t.isPristine,
1707
- text: P(bn)("Ok"),
1711
+ text: N(bn)("Ok"),
1708
1712
  onClick: t.save
1709
1713
  }, null, 8, [
1710
1714
  "disabled",
@@ -1745,7 +1749,7 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1745
1749
  passthroughAttrs: {},
1746
1750
  density: {},
1747
1751
  variant: {}
1748
- }, Z(Z({}, en), {}, { allowNull: !1 })),
1752
+ }, Q(Q({}, en), {}, { allowNull: !1 })),
1749
1753
  emits: ["update:modelValue", "click:clear"],
1750
1754
  setup(e, { emit: t }) {
1751
1755
  let i = e, o = t, s = /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/;
@@ -1759,37 +1763,38 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1759
1763
  }
1760
1764
  return (t, i) => {
1761
1765
  let o = D("v-color-picker"), s = D("v-card-actions"), l = D("v-card"), w = D("v-confirm-edit"), O = D("v-menu"), k = D("v-text-field");
1762
- return P(d) ? (C(), n(k, g({
1766
+ return N(d) ? (C(), n(k, g({
1763
1767
  key: 0,
1764
- modelValue: P(_),
1768
+ modelValue: N(_),
1765
1769
  "onUpdate:modelValue": i[3] || (i[3] = (e) => m(_) ? _.value = e : null),
1766
- class: [P(u), P(v)],
1767
- clearable: e.allowNull,
1770
+ class: [N(u), N(v)],
1771
+ clearable: e.allowNull && !N(y).readonly,
1768
1772
  type: "text"
1769
- }, P(y), { onBlur: i[4] || (i[4] = (e) => h.value = !0) }), {
1770
- label: R((e) => [c(P($), {
1773
+ }, N(y), { onBlur: i[4] || (i[4] = (e) => h.value = !0) }), {
1774
+ label: R((e) => [c(N(Xt), {
1771
1775
  data: e,
1772
- label: P(f)
1776
+ label: N(f)
1773
1777
  }, null, 8, ["data", "label"])]),
1774
- message: R(({ message: e }) => [c(P(Q), {
1778
+ message: R(({ message: e }) => [c(N($), {
1775
1779
  message: e,
1776
- errors: P(p)
1780
+ errors: N(p)
1777
1781
  }, null, 8, ["message", "errors"])]),
1778
1782
  "prepend-inner": R(() => [a("div", { style: b([{
1779
1783
  width: "24px",
1780
1784
  height: "24px",
1781
1785
  "border-radius": "4px",
1782
1786
  border: "1px solid #ccc"
1783
- }, { backgroundColor: P(_) }]) }, null, 4)]),
1784
- default: R(() => [P(S) ? (C(), n(O, {
1787
+ }, { backgroundColor: N(_) }]) }, null, 4)]),
1788
+ default: R(() => [N(S) ? (C(), n(O, {
1785
1789
  key: 0,
1786
1790
  modelValue: x.value,
1787
1791
  "onUpdate:modelValue": i[2] || (i[2] = (e) => x.value = e),
1788
1792
  "close-on-content-click": !1,
1793
+ disabled: N(y).readonly,
1789
1794
  activator: "parent"
1790
1795
  }, {
1791
1796
  default: R(() => [c(w, {
1792
- modelValue: P(_),
1797
+ modelValue: N(_),
1793
1798
  "onUpdate:modelValue": i[0] || (i[0] = (e) => m(_) ? _.value = e : null),
1794
1799
  "hide-actions": "",
1795
1800
  onCancel: i[1] || (i[1] = (e) => x.value = !1),
@@ -1800,7 +1805,7 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1800
1805
  modelValue: e.value,
1801
1806
  "onUpdate:modelValue": (t) => e.value = t,
1802
1807
  mode: "hexa",
1803
- onDblclick: (e) => P(T)(e, jn, t)
1808
+ onDblclick: (e) => N(T)(e, jn, t)
1804
1809
  }, null, 8, [
1805
1810
  "modelValue",
1806
1811
  "onUpdate:modelValue",
@@ -1822,7 +1827,7 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1822
1827
  _: 1
1823
1828
  }, 8, ["modelValue"])]),
1824
1829
  _: 1
1825
- }, 8, ["modelValue"])) : r("", !0)]),
1830
+ }, 8, ["modelValue", "disabled"])) : r("", !0)]),
1826
1831
  _: 1
1827
1832
  }, 16, [
1828
1833
  "modelValue",
@@ -1852,29 +1857,29 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1852
1857
  passthroughAttrs: {},
1853
1858
  density: {},
1854
1859
  variant: {}
1855
- }, Z(Z({}, en), {}, {
1860
+ }, Q(Q({}, en), {}, {
1856
1861
  inputType: "datetime",
1857
1862
  displayFormatDate: "P",
1858
1863
  displayFormatTime: "p"
1859
1864
  })),
1860
1865
  emits: ["update:modelValue", "click:clear"],
1861
1866
  setup(e, { emit: i }) {
1862
- let o = e, s = i, l = p(Yt, {}), u = t(() => {
1867
+ let o = e, s = i, l = p(Jt, {}), u = t(() => {
1863
1868
  var e, t;
1864
- return (e = (t = o.locale) == null ? P(l.dateTimeLocale) : t) == null ? P(Nt.dateTimeLocale) : e;
1869
+ return (e = (t = o.locale) == null ? N(l.dateTimeLocale) : t) == null ? N(Mt.dateTimeLocale) : e;
1865
1870
  }), d = t(() => {
1866
1871
  var e, t;
1867
1872
  return (e = (t = u.value.options) == null ? void 0 : t.weekStartsOn) == null ? 1 : e;
1868
- }), { density: f, densityClass: m, touched: h, value: _, vuetifyBindings: y } = tn(o, s), { inputType: b, displayFormatDate: x, displayFormatTime: S } = M(o), T = w(""), E = On(), O = t({
1873
+ }), { density: f, densityClass: m, touched: h, value: _, vuetifyBindings: y } = tn(o, s), { inputType: b, displayFormatDate: x, displayFormatTime: S } = ee(o), T = w(""), E = On(), O = t({
1869
1874
  get() {
1870
- return P(T) === "date";
1875
+ return !y.value.readonly && N(T) === "date";
1871
1876
  },
1872
1877
  set(e) {
1873
1878
  T.value = e ? "date" : "";
1874
1879
  }
1875
1880
  }), k = t({
1876
1881
  get() {
1877
- return P(T) === "time";
1882
+ return !y.value.readonly && N(T) === "time";
1878
1883
  },
1879
1884
  set(e) {
1880
1885
  T.value = e ? "time" : "";
@@ -1883,11 +1888,11 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1883
1888
  function A() {
1884
1889
  T.value = "", h.value = !0;
1885
1890
  }
1886
- let { viewChanged: j, saveOnDoubleClick: N } = An();
1887
- function ee() {
1891
+ let { viewChanged: j, saveOnDoubleClick: M } = An();
1892
+ function P() {
1888
1893
  _.value = null, h.value = !0;
1889
1894
  }
1890
- let F = (e) => `${pe(e, "yyyy-MM-dd")}T${pe(e, "HH:mm")}:00`, L = w(null);
1895
+ let F = (e) => `${fe(e, "yyyy-MM-dd")}T${fe(e, "HH:mm")}:00`, L = w(null);
1891
1896
  function B(e, t, n) {
1892
1897
  let r = e.split(/[TZ]/g);
1893
1898
  return r[n] = t.split(/[TZ]/g)[n], r;
@@ -1895,17 +1900,17 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1895
1900
  let V = (e) => F(/* @__PURE__ */ new Date(`${e[0]}T${e[1].split(".")[0]}`));
1896
1901
  function H(e, t) {
1897
1902
  if (e == null) L.value = null;
1898
- else if (t === -1) P(b) === "time" ? L.value = V(B(F(/* @__PURE__ */ new Date()), `T${e}`, 1)) : L.value = F(he(e));
1903
+ else if (t === -1) N(b) === "time" ? L.value = V(B(F(/* @__PURE__ */ new Date()), `T${e}`, 1)) : L.value = F(me(e));
1899
1904
  else {
1900
1905
  var n;
1901
1906
  let r = B((n = L.value) == null ? F(/* @__PURE__ */ new Date()) : n, e, t);
1902
- L.value = V(r), P(b) === "date" ? _.value = r[0] : P(b) === "time" ? _.value = r[1] : _.value = L.value + pe(new Date(L.value), "XXX");
1907
+ L.value = V(r), N(b) === "date" ? _.value = r[0] : N(b) === "time" ? _.value = r[1] : _.value = L.value + fe(new Date(L.value), "XXX");
1903
1908
  }
1904
1909
  }
1905
1910
  I(_, (e) => H(e, -1), { immediate: !0 });
1906
1911
  let U = t({
1907
1912
  get() {
1908
- let e = P(L);
1913
+ let e = N(L);
1909
1914
  if (e == null) return null;
1910
1915
  let t = new Date(e);
1911
1916
  return Number.isNaN(t.getTime()) ? null : t;
@@ -1915,7 +1920,7 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1915
1920
  }
1916
1921
  }), te = t({
1917
1922
  get() {
1918
- let e = P(L);
1923
+ let e = N(L);
1919
1924
  return e == null ? "" : e.split(/[TZ]/g)[1].split(".")[0];
1920
1925
  },
1921
1926
  set(e) {
@@ -1923,12 +1928,12 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1923
1928
  }
1924
1929
  }), W = t({
1925
1930
  get() {
1926
- let e = P(U);
1927
- return e == null ? "" : pe(e, P(x), { locale: u.value });
1931
+ let e = N(U);
1932
+ return e == null ? "" : fe(e, N(x), { locale: u.value });
1928
1933
  },
1929
1934
  set(e) {
1930
1935
  try {
1931
- let t = me(e, P(x), /* @__PURE__ */ new Date(), { locale: u.value });
1936
+ let t = pe(e, N(x), /* @__PURE__ */ new Date(), { locale: u.value });
1932
1937
  H(F(t), 0);
1933
1938
  } catch (e) {
1934
1939
  console.error(e);
@@ -1936,31 +1941,31 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1936
1941
  }
1937
1942
  }), G = t({
1938
1943
  get() {
1939
- let e = P(U);
1940
- return e == null ? "" : pe(e, P(S), { locale: u.value });
1944
+ let e = N(U);
1945
+ return e == null ? "" : fe(e, N(S), { locale: u.value });
1941
1946
  },
1942
1947
  set(e) {
1943
1948
  let t = e.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1944
1949
  if (t == null) return;
1945
- let n = Y(t[1]), r = Y(t[2]);
1946
- se(n) || se(r) || (t[3] && t[3].toLowerCase() === "pm" && n < 13 && (n += 12), H(`T${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}:00`, 1));
1950
+ let n = X(t[1]), r = X(t[2]);
1951
+ oe(n) || oe(r) || (t[3] && t[3].toLowerCase() === "pm" && n < 13 && (n += 12), H(`T${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}:00`, 1));
1947
1952
  }
1948
1953
  });
1949
1954
  return (t, i) => {
1950
1955
  let s = D("v-date-picker"), l = D("v-confirm-edit"), u = D("v-menu"), p = D("v-text-field"), _ = D("v-time-picker");
1951
- return C(), n(P(rn), g(o, {
1952
- class: P(m),
1956
+ return C(), n(N(rn), g(o, {
1957
+ class: N(m),
1953
1958
  clearable: e.clearable,
1954
- "onClick:clear": ee,
1959
+ "onClick:clear": P,
1955
1960
  onBlur: i[12] || (i[12] = (e) => h.value = !0)
1956
1961
  }), {
1957
1962
  default: R((t) => [a("div", { class: v([
1958
1963
  "d-flex",
1959
1964
  "w-100",
1960
- ["plain", "underlined"].includes(P(y).variant) ? void 0 : "ml-4",
1965
+ ["plain", "underlined"].includes(N(y).variant) ? void 0 : "ml-4",
1961
1966
  "df-input-wrapper",
1962
- P(f)
1963
- ]) }, [["date", "datetime"].includes(P(b)) ? (C(), n(p, g({
1967
+ N(f)
1968
+ ]) }, [["date", "datetime"].includes(N(b)) ? (C(), n(p, g({
1964
1969
  key: 0,
1965
1970
  modelValue: W.value,
1966
1971
  "onUpdate:modelValue": i[3] || (i[3] = (e) => W.value = e),
@@ -1969,17 +1974,17 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
1969
1974
  variant: "plain",
1970
1975
  clearable: !1,
1971
1976
  "hide-details": !0,
1972
- readonly: P(y).readonly,
1973
- disabled: P(y).disabled,
1974
- name: `${P(y).name}-date`,
1975
- placeholder: P(y).placeholder
1977
+ readonly: N(y).readonly,
1978
+ disabled: N(y).disabled,
1979
+ name: `${N(y).name}-date`,
1980
+ placeholder: N(y).placeholder
1976
1981
  }, e.passthroughAttrs, {
1977
1982
  onClick: i[4] || (i[4] = (e) => T.value = "date"),
1978
1983
  onKeydown: i[5] || (i[5] = z((e) => T.value = "date", ["space"])),
1979
1984
  onFocus: (e) => t.focus(),
1980
1985
  onBlur: (e) => t.blur()
1981
1986
  }), {
1982
- default: R(() => [P(E) ? (C(), n(u, {
1987
+ default: R(() => [N(E) ? (C(), n(u, {
1983
1988
  key: 0,
1984
1989
  modelValue: O.value,
1985
1990
  "onUpdate:modelValue": i[2] || (i[2] = (e) => O.value = e),
@@ -2000,10 +2005,10 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
2000
2005
  "first-day-of-week": d.value,
2001
2006
  "show-adjacent-months": !0,
2002
2007
  "show-week": !0,
2003
- "onUpdate:viewMode": P(j),
2004
- "onUpdate:month": P(j),
2005
- "onUpdate:year": P(j),
2006
- onDblclick: (e) => P(N)(e, ".v-date-picker-month__day", t)
2008
+ "onUpdate:viewMode": N(j),
2009
+ "onUpdate:month": N(j),
2010
+ "onUpdate:year": N(j),
2011
+ onDblclick: (e) => N(M)(e, ".v-date-picker-month__day", t)
2007
2012
  }, {
2008
2013
  actions: R(() => [c(kn, {
2009
2014
  save: t,
@@ -2037,7 +2042,7 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
2037
2042
  "placeholder",
2038
2043
  "onFocus",
2039
2044
  "onBlur"
2040
- ])) : r("", !0), ["time", "datetime"].includes(P(b)) ? (C(), n(p, g({
2045
+ ])) : r("", !0), ["time", "datetime"].includes(N(b)) ? (C(), n(p, g({
2041
2046
  key: 1,
2042
2047
  modelValue: G.value,
2043
2048
  "onUpdate:modelValue": i[9] || (i[9] = (e) => G.value = e),
@@ -2046,17 +2051,17 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
2046
2051
  variant: "plain",
2047
2052
  clearable: !1,
2048
2053
  "hide-details": !0,
2049
- readonly: P(y).readonly,
2050
- disabled: P(y).disabled,
2051
- name: `${P(y).name}-time`,
2052
- placeholder: P(b) === "time" ? P(y).placeholder : void 0
2054
+ readonly: N(y).readonly,
2055
+ disabled: N(y).disabled,
2056
+ name: `${N(y).name}-time`,
2057
+ placeholder: N(b) === "time" ? N(y).placeholder : void 0
2053
2058
  }, e.passthroughAttrs, {
2054
2059
  onClick: i[10] || (i[10] = (e) => T.value = "time"),
2055
2060
  onKeydown: i[11] || (i[11] = z((e) => T.value = "time", ["space"])),
2056
2061
  onFocus: (e) => t.focus(),
2057
2062
  onBlur: (e) => t.blur()
2058
2063
  }), {
2059
- default: R(() => [P(E) ? (C(), n(u, {
2064
+ default: R(() => [N(E) ? (C(), n(u, {
2060
2065
  key: 0,
2061
2066
  modelValue: k.value,
2062
2067
  "onUpdate:modelValue": i[8] || (i[8] = (e) => k.value = e),
@@ -2075,8 +2080,8 @@ var jn = ".v-color-picker-canvas", Mn = /* @__PURE__ */ l({
2075
2080
  "onUpdate:modelValue": (t) => e.value = t,
2076
2081
  "hide-header": !0,
2077
2082
  format: "24hr",
2078
- "onUpdate:viewMode": P(j),
2079
- onDblclick: (e) => P(N)(e, ".v-time-picker-clock", t)
2083
+ "onUpdate:viewMode": N(j),
2084
+ onDblclick: (e) => N(M)(e, ".v-time-picker-clock", t)
2080
2085
  }, {
2081
2086
  actions: R(() => [c(kn, {
2082
2087
  save: t,
@@ -2181,15 +2186,15 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2181
2186
  O(), Cn(s.control, e);
2182
2187
  }
2183
2188
  let { setupTouchInterval: A, clearTouchInterval: j } = Sn(f, () => s.comms, () => s.touchInterval, k);
2184
- function M() {
2185
- return N.apply(this, arguments);
2189
+ function ee() {
2190
+ return M.apply(this, arguments);
2186
2191
  }
2187
- function N() {
2188
- return N = Fn(function* () {
2192
+ function M() {
2193
+ return M = Fn(function* () {
2189
2194
  f.value && (yield s.comms.delete(f.value)), O(), d.value = !0;
2190
- }), N.apply(this, arguments);
2195
+ }), M.apply(this, arguments);
2191
2196
  }
2192
- function ee(e) {
2197
+ function P(e) {
2193
2198
  return F.apply(this, arguments);
2194
2199
  }
2195
2200
  function F() {
@@ -2205,31 +2210,35 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2205
2210
  }), F.apply(this, arguments);
2206
2211
  }
2207
2212
  function I(e) {
2208
- e && (Array.isArray(e) ? console.error("Uploading multiple files not supported right now") : ee(e));
2213
+ if (p.value.readonly) {
2214
+ y.value = null;
2215
+ return;
2216
+ }
2217
+ e && (Array.isArray(e) ? console.error("Uploading multiple files not supported right now") : P(e));
2209
2218
  }
2210
2219
  return (t, i) => {
2211
2220
  let f = D("v-progress-linear"), w = D("v-file-input");
2212
- return C(), n(P(rn), g(Z(Z({}, s), {}, { loading: b.value }), {
2213
- class: P(u),
2221
+ return C(), n(N(rn), g(Q(Q({}, s), {}, { loading: b.value }), {
2222
+ class: N(u),
2214
2223
  clearable: "",
2215
- "onClick:clear": M,
2224
+ "onClick:clear": ee,
2216
2225
  onBlur: i[1] || (i[1] = (e) => d.value = !0)
2217
2226
  }), {
2218
- "prepend-inner": R(() => [c(P(V), { name: "mdi-paperclip" })]),
2227
+ "prepend-inner": R(() => [c(N(V), { name: "mdi-paperclip" })]),
2219
2228
  loader: R(() => [h.value && _.value < 100 ? (C(), n(f, {
2220
2229
  key: 0,
2221
2230
  "model-value": _.value,
2222
2231
  indeterminate: _.value === -1
2223
2232
  }, null, 8, ["model-value", "indeterminate"])) : r("", !0)]),
2224
- default: R((t) => [a("div", { class: v(["d-flex w-100 position-relative df-input-wrapper", P(l)]) }, [c(w, g({
2233
+ default: R((t) => [a("div", { class: v(["d-flex w-100 position-relative df-input-wrapper", N(l)]) }, [c(w, g({
2225
2234
  modelValue: y.value,
2226
2235
  "onUpdate:modelValue": i[0] || (i[0] = (e) => y.value = e),
2227
2236
  label: x.value,
2228
2237
  density: "compact",
2229
2238
  variant: "plain",
2230
- readonly: P(p).readonly,
2231
- disabled: P(p).disabled,
2232
- name: P(p).name,
2239
+ readonly: N(p).readonly,
2240
+ disabled: N(p).disabled,
2241
+ name: N(p).name,
2233
2242
  "hide-details": !0,
2234
2243
  "show-size": !0,
2235
2244
  multiple: !1,
@@ -2245,10 +2254,10 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2245
2254
  fn: R(() => [a("button", {
2246
2255
  type: "button",
2247
2256
  class: "df-file-download-btn",
2248
- title: P(m)("FileDownload"),
2249
- "aria-label": P(m)("FileDownload"),
2257
+ title: N(m)("FileDownload"),
2258
+ "aria-label": N(m)("FileDownload"),
2250
2259
  onClick: B(T, ["stop", "prevent"])
2251
- }, [c(P(V), { name: "mdi-download" })], 8, In)]),
2260
+ }, [c(N(V), { name: "mdi-download" })], 8, In)]),
2252
2261
  key: "0"
2253
2262
  } : void 0]), 1040, [
2254
2263
  "modelValue",
@@ -2296,21 +2305,21 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2296
2305
  }, en),
2297
2306
  emits: ["update:modelValue", "click:clear"],
2298
2307
  setup(e, { emit: o }) {
2299
- let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = tn(s, o), m = bn, h = F(), _ = w(null), y = w(0), S = w(null), T = w(0), E = w(null), O = t(() => _.value && y.value < 100), k = t(() => !!(p.value.disabled || p.value.readonly)), j = t(() => T.value > 0), M = t(() => {
2308
+ let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = tn(s, o), m = bn, h = F(), _ = w(null), y = w(0), S = w(null), T = w(0), E = w(null), O = t(() => _.value && y.value < 100), k = t(() => !!(p.value.disabled || p.value.readonly)), j = t(() => T.value > 0), ee = t(() => {
2300
2309
  var e;
2301
2310
  return (e = S.value) == null ? f.value ? f.value : null : e;
2302
- }), N = t(() => !!f.value);
2303
- function ee() {
2311
+ }), M = t(() => !!f.value);
2312
+ function P() {
2304
2313
  S.value && (URL.revokeObjectURL(S.value), S.value = null);
2305
2314
  }
2306
2315
  function I() {
2307
- f.value = null, y.value = 0, _.value = null, ee(), H();
2316
+ f.value = null, y.value = 0, _.value = null, P(), H();
2308
2317
  }
2309
2318
  function L(e) {
2310
2319
  I(), Cn(s.control, e);
2311
2320
  }
2312
2321
  let { setupTouchInterval: z, clearTouchInterval: H } = Sn(f, () => s.comms, () => s.touchInterval, L);
2313
- x(() => ee());
2322
+ x(() => P());
2314
2323
  function U() {
2315
2324
  return te.apply(this, arguments);
2316
2325
  }
@@ -2324,13 +2333,13 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2324
2333
  }
2325
2334
  function G() {
2326
2335
  return G = Fn(function* (e) {
2327
- y.value = -1, _.value = e, ee(), S.value = URL.createObjectURL(e);
2336
+ y.value = -1, _.value = e, P(), S.value = URL.createObjectURL(e);
2328
2337
  try {
2329
2338
  f.value = yield s.comms.upload(e, (e, t) => {
2330
2339
  y.value = Math.round(e * 100 / t);
2331
2340
  }), y.value = 100, d.value = !0, z();
2332
2341
  } catch (e) {
2333
- throw y.value = 0, _.value = null, ee(), e;
2342
+ throw y.value = 0, _.value = null, P(), e;
2334
2343
  }
2335
2344
  }), G.apply(this, arguments);
2336
2345
  }
@@ -2346,13 +2355,13 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2346
2355
  let n = e.target, r = (t = n.files) == null ? void 0 : t[0];
2347
2356
  n.value = "", r && ne(r);
2348
2357
  }
2349
- function ie() {
2358
+ function K() {
2350
2359
  k.value || (T.value += 1);
2351
2360
  }
2352
- function ae() {
2361
+ function ie() {
2353
2362
  T.value = Math.max(0, T.value - 1);
2354
2363
  }
2355
- function K(e) {
2364
+ function q(e) {
2356
2365
  var t;
2357
2366
  if (T.value = 0, k.value) return;
2358
2367
  let n = (t = e.dataTransfer) == null || (t = t.files) == null ? void 0 : t[0];
@@ -2360,71 +2369,71 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2360
2369
  }
2361
2370
  return (e, t) => {
2362
2371
  let o = D("v-progress-linear"), x = D("v-img");
2363
- return C(), n(P(rn), g(Z(Z({}, s), {}, { loading: O.value }), {
2364
- class: ["df-image-field", P(u)],
2372
+ return C(), n(N(rn), g(Q(Q({}, s), {}, { loading: O.value }), {
2373
+ class: ["df-image-field", N(u)],
2365
2374
  clearable: "",
2366
2375
  "onClick:clear": U,
2367
2376
  onBlur: t[2] || (t[2] = (e) => d.value = !0)
2368
2377
  }), {
2369
- "prepend-inner": R(() => [c(P(V), { name: "mdi-image" })]),
2378
+ "prepend-inner": R(() => [c(N(V), { name: "mdi-image" })]),
2370
2379
  loader: R(() => [_.value && y.value < 100 ? (C(), n(o, {
2371
2380
  key: 0,
2372
2381
  "model-value": y.value,
2373
2382
  indeterminate: y.value === -1
2374
2383
  }, null, 8, ["model-value", "indeterminate"])) : r("", !0)]),
2375
2384
  default: R((e) => [a("div", {
2376
- class: v(["d-flex w-100 position-relative df-input-wrapper df-image-wrapper", [P(l), {
2385
+ class: v(["d-flex w-100 position-relative df-input-wrapper df-image-wrapper", [N(l), {
2377
2386
  "df-image-dragging": j.value,
2378
2387
  "df-image-disabled": k.value
2379
2388
  }]]),
2380
- onDragenter: B(ie, ["prevent"]),
2389
+ onDragenter: B(K, ["prevent"]),
2381
2390
  onDragover: t[0] || (t[0] = B(() => {}, ["prevent"])),
2382
- onDragleave: B(ae, ["prevent"]),
2383
- onDrop: B(K, ["prevent"]),
2391
+ onDragleave: B(ie, ["prevent"]),
2392
+ onDrop: B(q, ["prevent"]),
2384
2393
  onClick: t[1] || (t[1] = B(() => {}, ["stop"]))
2385
2394
  }, [
2386
2395
  a("input", {
2387
- id: P(h),
2396
+ id: N(h),
2388
2397
  ref_key: "fileInputRef",
2389
2398
  ref: E,
2390
2399
  type: "file",
2391
2400
  accept: "image/*",
2392
2401
  class: "df-image-native-input",
2393
2402
  disabled: k.value,
2394
- name: P(p).name,
2403
+ name: N(p).name,
2395
2404
  onChange: re,
2396
2405
  onFocus: (t) => e.focus(),
2397
2406
  onBlur: (t) => e.blur()
2398
2407
  }, null, 40, Rn),
2399
- M.value ? (C(), i("label", {
2408
+ ee.value ? (C(), i("label", {
2400
2409
  key: 0,
2401
- for: P(h),
2410
+ for: N(h),
2402
2411
  class: "df-image-preview-label"
2403
2412
  }, [c(x, {
2404
- src: M.value,
2413
+ src: ee.value,
2405
2414
  class: "df-image-preview",
2406
2415
  style: b(_.value && y.value < 100 ? "visibility: hidden" : "")
2407
2416
  }, null, 8, ["src", "style"])], 8, zn)) : (C(), i("label", {
2408
2417
  key: 1,
2409
- for: P(h),
2418
+ for: N(h),
2410
2419
  class: "df-image-placeholder"
2411
- }, [c(P(V), { name: "mdi-tray-arrow-up" }), a("span", null, A(P(m)("ImageDropHint")), 1)], 8, Bn)),
2412
- M.value && !k.value ? (C(), i("label", {
2420
+ }, [c(N(V), { name: "mdi-tray-arrow-up" }), a("span", null, A(N(m)("ImageDropHint")), 1)], 8, Bn)),
2421
+ ee.value && !k.value ? (C(), i("label", {
2413
2422
  key: 2,
2414
- for: P(h),
2423
+ for: N(h),
2415
2424
  class: "df-image-replace-btn",
2416
- title: P(m)("ImageReplace")
2417
- }, [c(P(V), { name: "mdi-pencil" })], 8, Vn)) : r("", !0),
2418
- N.value ? (C(), i("a", {
2425
+ title: N(m)("ImageReplace")
2426
+ }, [c(N(V), { name: "mdi-pencil" })], 8, Vn)) : r("", !0),
2427
+ M.value ? (C(), i("a", {
2419
2428
  key: 3,
2420
- href: P(f),
2429
+ href: N(f),
2421
2430
  download: "",
2422
2431
  target: "_blank",
2423
2432
  rel: "noopener",
2424
2433
  class: "df-image-download-btn",
2425
- title: P(m)("ImageDownload"),
2426
- "aria-label": P(m)("ImageDownload")
2427
- }, [c(P(V), { name: "mdi-download" })], 8, Hn)) : r("", !0)
2434
+ title: N(m)("ImageDownload"),
2435
+ "aria-label": N(m)("ImageDownload")
2436
+ }, [c(N(V), { name: "mdi-download" })], 8, Hn)) : r("", !0)
2428
2437
  ], 34)]),
2429
2438
  _: 1
2430
2439
  }, 16, ["class"]);
@@ -2452,7 +2461,7 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2452
2461
  passthroughAttrs: {},
2453
2462
  density: {},
2454
2463
  variant: {}
2455
- }, Z(Z({}, en), {}, {
2464
+ }, Q(Q({}, en), {}, {
2456
2465
  inputType: "text",
2457
2466
  precision: null,
2458
2467
  step: void 0,
@@ -2461,52 +2470,52 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2461
2470
  })),
2462
2471
  emits: ["update:modelValue", "click:clear"],
2463
2472
  setup(e, { emit: a }) {
2464
- let o = e, { densityClass: s, isRendered: l, label: u, shownErrors: d, touched: f, value: p, visibilityClass: h, vuetifyBindings: _ } = tn(o, a), { inputType: y, max: b, min: x, precision: S, step: w } = M(o), T = t(() => y.value === "number"), E = t(() => T.value ? {
2465
- min: P(x),
2466
- max: P(b),
2467
- precision: P(S),
2468
- step: P(w)
2473
+ let o = e, { densityClass: s, isRendered: l, label: u, shownErrors: d, touched: f, value: p, visibilityClass: h, vuetifyBindings: _ } = tn(o, a), { inputType: y, max: b, min: x, precision: S, step: w } = ee(o), T = t(() => y.value === "number"), E = t(() => T.value ? {
2474
+ min: N(x),
2475
+ max: N(b),
2476
+ precision: N(S),
2477
+ step: N(w)
2469
2478
  } : {});
2470
2479
  return (e, t) => {
2471
2480
  let a = D("v-text-field"), o = D("v-number-input");
2472
- return P(l) ? (C(), i("div", {
2481
+ return N(l) ? (C(), i("div", {
2473
2482
  key: 0,
2474
- class: v(["df-input-container", [P(s), P(h)]])
2483
+ class: v(["df-input-container", [N(s), N(h)]])
2475
2484
  }, [T.value ? (C(), n(o, g({
2476
2485
  key: 1,
2477
- modelValue: P(p),
2486
+ modelValue: N(p),
2478
2487
  "onUpdate:modelValue": t[2] || (t[2] = (e) => m(p) ? p.value = e : null),
2479
2488
  density: "compact",
2480
2489
  "control-variant": "stacked"
2481
- }, Z(Z({}, P(_)), E.value), { onBlur: t[3] || (t[3] = (e) => f.value = !0) }), {
2482
- label: R((e) => [c(P($), {
2490
+ }, Q(Q({}, N(_)), E.value), { onBlur: t[3] || (t[3] = (e) => f.value = !0) }), {
2491
+ label: R((e) => [c(N(Xt), {
2483
2492
  data: e,
2484
- label: P(u)
2493
+ label: N(u)
2485
2494
  }, null, 8, ["data", "label"])]),
2486
- message: R(({ message: e }) => [c(P(Q), {
2495
+ message: R(({ message: e }) => [c(N($), {
2487
2496
  message: e,
2488
- errors: P(d)
2497
+ errors: N(d)
2489
2498
  }, null, 8, ["message", "errors"])]),
2490
2499
  _: 1
2491
2500
  }, 16, ["modelValue"])) : (C(), n(a, g({
2492
2501
  key: 0,
2493
- modelValue: P(p),
2502
+ modelValue: N(p),
2494
2503
  "onUpdate:modelValue": t[0] || (t[0] = (e) => m(p) ? p.value = e : null),
2495
- type: P(y)
2496
- }, P(_), { onBlur: t[1] || (t[1] = (e) => f.value = !0) }), {
2497
- label: R((e) => [c(P($), {
2504
+ type: N(y)
2505
+ }, N(_), { onBlur: t[1] || (t[1] = (e) => f.value = !0) }), {
2506
+ label: R((e) => [c(N(Xt), {
2498
2507
  data: e,
2499
- label: P(u)
2508
+ label: N(u)
2500
2509
  }, null, 8, ["data", "label"])]),
2501
- message: R(({ message: e }) => [c(P(Q), {
2510
+ message: R(({ message: e }) => [c(N($), {
2502
2511
  message: e,
2503
- errors: P(d)
2512
+ errors: N(d)
2504
2513
  }, null, 8, ["message", "errors"])]),
2505
2514
  _: 1
2506
2515
  }, 16, ["modelValue", "type"]))], 2)) : r("", !0);
2507
2516
  };
2508
2517
  }
2509
- }), Gn = Oe.create({
2518
+ }), Gn = De.create({
2510
2519
  name: "classAttribute",
2511
2520
  addGlobalAttributes() {
2512
2521
  return [{
@@ -2525,7 +2534,7 @@ var In = ["title", "aria-label"], Ln = /* @__PURE__ */ l({
2525
2534
  }
2526
2535
  });
2527
2536
  function Kn(e, t) {
2528
- return ke.create({
2537
+ return Oe.create({
2529
2538
  name: e,
2530
2539
  parseHTML() {
2531
2540
  return [{ tag: `span.${t}` }];
@@ -2533,7 +2542,7 @@ function Kn(e, t) {
2533
2542
  renderHTML({ HTMLAttributes: e }) {
2534
2543
  return [
2535
2544
  "span",
2536
- je(e, { class: t }),
2545
+ Ae(e, { class: t }),
2537
2546
  0
2538
2547
  ];
2539
2548
  }
@@ -2670,8 +2679,8 @@ function rr(e) {
2670
2679
  function ir(e, t, n) {
2671
2680
  let r = [];
2672
2681
  return e.forEach((e) => {
2673
- e.type.name === "image" && n.index < t.length ? (r.push(e.type.create(Z(Z({}, e.attrs), {}, { src: t[n.index] }), e.content, e.marks)), n.index += 1) : e.content.size ? r.push(e.copy(ir(e.content, t, n))) : r.push(e);
2674
- }), Me.fromArray(r);
2682
+ 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(ir(e.content, t, n))) : r.push(e);
2683
+ }), je.fromArray(r);
2675
2684
  }
2676
2685
  function ar(e) {
2677
2686
  return (t, n, r) => {
@@ -2679,7 +2688,7 @@ function ar(e) {
2679
2688
  return i.length !== 0 && (n.preventDefault(), Promise.all(i.map(tr)).then((n) => {
2680
2689
  var i;
2681
2690
  if (rr(r.content) > 0) {
2682
- let e = ir(r.content, n, { index: 0 }), i = new Ne(e, r.openStart, r.openEnd);
2691
+ let e = ir(r.content, n, { index: 0 }), i = new Me(e, r.openStart, r.openEnd);
2683
2692
  t.dispatch(t.state.tr.replaceSelection(i).scrollIntoView());
2684
2693
  return;
2685
2694
  }
@@ -2692,11 +2701,11 @@ function ar(e) {
2692
2701
  }
2693
2702
  //#endregion
2694
2703
  //#region src/helpers/rtf-editor/link-with-download.ts
2695
- var or = Pe.extend({
2704
+ var or = Ne.extend({
2696
2705
  name: "link",
2697
2706
  addAttributes() {
2698
2707
  var e;
2699
- return Z(Z({}, (e = this.parent) == null ? void 0 : e.call(this)), {}, { download: {
2708
+ return Q(Q({}, (e = this.parent) == null ? void 0 : e.call(this)), {}, { download: {
2700
2709
  default: null,
2701
2710
  parseHTML: (e) => e.getAttribute("download"),
2702
2711
  renderHTML: (e) => e.download ? { download: e.download } : {}
@@ -2731,7 +2740,7 @@ function sr(e) {
2731
2740
  }
2732
2741
  return null;
2733
2742
  }
2734
- var cr = Ae.create({
2743
+ var cr = ke.create({
2735
2744
  name: "mediaEmbed",
2736
2745
  group: "block",
2737
2746
  atom: !0,
@@ -2743,7 +2752,7 @@ var cr = Ae.create({
2743
2752
  return [{ tag: "iframe.media-embed" }];
2744
2753
  },
2745
2754
  renderHTML({ HTMLAttributes: e }) {
2746
- return ["iframe", je({
2755
+ return ["iframe", Ae({
2747
2756
  class: "media-embed",
2748
2757
  frameborder: "0",
2749
2758
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
@@ -2835,7 +2844,7 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
2835
2844
  title: t(),
2836
2845
  icon: !0
2837
2846
  };
2838
- r && (a.active = r()), oe((i = e.value.passthroughAttrs) == null ? {} : i, a) || (e.value = Z(Z({}, e.value), {}, { passthroughAttrs: a }));
2847
+ r && (a.active = r()), ae((i = e.value.passthroughAttrs) == null ? {} : i, a) || (e.value = Q(Q({}, e.value), {}, { passthroughAttrs: a }));
2839
2848
  let o = !n();
2840
2849
  e.enabled !== o && (e.access = o ? "editable" : "disabled");
2841
2850
  }
@@ -2851,7 +2860,7 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
2851
2860
  }, () => d("Bold"), () => !m.value, () => y.value.bold), E("mdi-format-italic", () => {
2852
2861
  var e;
2853
2862
  return (e = f.value) == null ? void 0 : e.chain().focus().toggleItalic().run();
2854
- }, () => d("Italic"), () => !m.value, () => y.value.italic)], M = [
2863
+ }, () => d("Italic"), () => !m.value, () => y.value.italic)], ee = [
2855
2864
  {
2856
2865
  value: "left",
2857
2866
  icon: "mdi-format-align-left",
@@ -2872,7 +2881,7 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
2872
2881
  icon: "mdi-format-align-justify",
2873
2882
  title: () => d("AlignJustify")
2874
2883
  }
2875
- ].map((e) => E(e.icon, () => x(e.value), e.title, () => !m.value, () => b.value === e.value)), N = [
2884
+ ].map((e) => E(e.icon, () => x(e.value), e.title, () => !m.value, () => b.value === e.value)), M = [
2876
2885
  E("mdi-format-list-bulleted", () => {
2877
2886
  var e;
2878
2887
  return (e = f.value) == null ? void 0 : e.chain().focus().toggleBulletList().run();
@@ -2893,7 +2902,7 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
2893
2902
  L(() => {
2894
2903
  S.forEach(O);
2895
2904
  });
2896
- let ee = t(() => [
2905
+ let P = t(() => [
2897
2906
  {
2898
2907
  level: 0,
2899
2908
  label: d("Paragraph")
@@ -2929,7 +2938,7 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
2929
2938
  }
2930
2939
  let I = t(() => {
2931
2940
  var e, t;
2932
- return (e = (t = ee.value.find((e) => F(e.level))) == null ? void 0 : t.label) == null ? d("Paragraph") : e;
2941
+ return (e = (t = P.value.find((e) => F(e.level))) == null ? void 0 : t.label) == null ? d("Paragraph") : e;
2933
2942
  });
2934
2943
  function B(e) {
2935
2944
  var t;
@@ -2946,51 +2955,51 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
2946
2955
  let r = (e = (t = f.value) == null ? void 0 : t.getAttributes("link")) == null ? {} : e;
2947
2956
  G.value = (n = r.href) == null ? "" : n, ne.value = !!r.download;
2948
2957
  }
2949
- function ie() {
2958
+ function K() {
2950
2959
  var e;
2951
2960
  G.value && ((e = f.value) == null || e.chain().focus().extendMarkRange("link").setLink({ href: G.value }).updateAttributes("link", { download: ne.value ? "file" : null }).run());
2952
2961
  }
2953
- function ae() {
2962
+ function ie() {
2954
2963
  var e;
2955
2964
  (e = f.value) == null || e.chain().focus().unsetLink().run();
2956
2965
  }
2957
- let K = w(""), q = w();
2958
- function se() {
2966
+ let q = w(""), J = w();
2967
+ function oe() {
2959
2968
  var e;
2960
- K.value && ((e = f.value) == null || e.chain().focus().setImage({ src: K.value }).run(), K.value = "");
2969
+ q.value && ((e = f.value) == null || e.chain().focus().setImage({ src: q.value }).run(), q.value = "");
2961
2970
  }
2962
- function ce() {
2971
+ function se() {
2963
2972
  var e;
2964
- (e = q.value) == null || e.click();
2973
+ (e = J.value) == null || e.click();
2965
2974
  }
2966
- function le(e) {
2967
- return J.apply(this, arguments);
2975
+ function ce(e) {
2976
+ return Y.apply(this, arguments);
2968
2977
  }
2969
- function J() {
2970
- return J = Fn(function* (e) {
2978
+ function Y() {
2979
+ return Y = Fn(function* (e) {
2971
2980
  var t, n;
2972
2981
  let r = (t = e.target.files) == null ? void 0 : t[0];
2973
2982
  if (!r) return;
2974
2983
  let i = yield tr(r);
2975
2984
  (n = f.value) == null || n.chain().focus().setImage({ src: i }).run(), e.target.value = "";
2976
- }), J.apply(this, arguments);
2985
+ }), Y.apply(this, arguments);
2977
2986
  }
2978
- let Y = w("");
2979
- function ue() {
2987
+ let X = w("");
2988
+ function le() {
2980
2989
  var e;
2981
- if (!Y.value) return;
2982
- let t = sr(Y.value), n = (e = f.value) == null ? void 0 : e.chain().focus();
2990
+ if (!X.value) return;
2991
+ let t = sr(X.value), n = (e = f.value) == null ? void 0 : e.chain().focus();
2983
2992
  n && (t ? n.insertContent({
2984
2993
  type: "mediaEmbed",
2985
2994
  attrs: { src: t }
2986
2995
  }).run() : n.insertContent({
2987
2996
  type: "text",
2988
- text: Y.value,
2997
+ text: X.value,
2989
2998
  marks: [{
2990
2999
  type: "link",
2991
- attrs: { href: Y.value }
3000
+ attrs: { href: X.value }
2992
3001
  }]
2993
- }).run(), Y.value = "");
3002
+ }).run(), X.value = "");
2994
3003
  }
2995
3004
  return (t, o) => {
2996
3005
  let l = D("v-divider"), u = D("v-btn"), p = D("v-list-item-title"), b = D("v-list-item"), x = D("v-list"), S = D("v-menu"), w = D("v-text-field"), E = D("v-checkbox"), O = D("v-card");
@@ -3004,13 +3013,13 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3004
3013
  c(u, g(h.value, {
3005
3014
  icon: "",
3006
3015
  rounded: "sm",
3007
- title: P(d)("SelectAll"),
3016
+ title: N(d)("SelectAll"),
3008
3017
  onClick: o[0] || (o[0] = (e) => {
3009
3018
  var t;
3010
3019
  return (t = f.value) == null ? void 0 : t.chain().focus().selectAll().run();
3011
3020
  })
3012
3021
  }), {
3013
- default: R(() => [c(P(V), { name: "mdi-select-all" })]),
3022
+ default: R(() => [c(N(V), { name: "mdi-select-all" })]),
3014
3023
  _: 1
3015
3024
  }, 16, ["title"]),
3016
3025
  c(l, {
@@ -3019,12 +3028,12 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3019
3028
  class: "mx-1"
3020
3029
  }),
3021
3030
  c(S, null, {
3022
- activator: R(({ props: e }) => [c(u, g(Z(Z({}, h.value), e), { "append-icon": "mdi-chevron-down" }), {
3031
+ activator: R(({ props: e }) => [c(u, g(Q(Q({}, h.value), e), { "append-icon": "mdi-chevron-down" }), {
3023
3032
  default: R(() => [s(A(I.value), 1)]),
3024
3033
  _: 1
3025
3034
  }, 16)]),
3026
3035
  default: R(() => [c(x, { density: "compact" }, {
3027
- default: R(() => [(C(!0), i(e, null, T(ee.value, (e) => (C(), n(b, {
3036
+ default: R(() => [(C(!0), i(e, null, T(P.value, (e) => (C(), n(b, {
3028
3037
  key: e.level,
3029
3038
  active: F(e.level),
3030
3039
  onClick: (t) => B(e.level)
@@ -3040,18 +3049,18 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3040
3049
  _: 1
3041
3050
  }),
3042
3051
  c(S, null, {
3043
- activator: R(({ props: e }) => [c(u, g(Z(Z({}, h.value), e), { "append-icon": "mdi-chevron-down" }), {
3044
- default: R(() => [s(A(P(d)("Style")), 1)]),
3052
+ activator: R(({ props: e }) => [c(u, g(Q(Q({}, h.value), e), { "append-icon": "mdi-chevron-down" }), {
3053
+ default: R(() => [s(A(N(d)("Style")), 1)]),
3045
3054
  _: 1
3046
3055
  }, 16)]),
3047
3056
  default: R(() => [c(x, { density: "compact" }, {
3048
- default: R(() => [(C(!0), i(e, null, T(P(H), (e) => (C(), n(b, {
3057
+ default: R(() => [(C(!0), i(e, null, T(N(H), (e) => (C(), n(b, {
3049
3058
  key: e.key,
3050
3059
  active: U(e),
3051
- onClick: (t) => f.value && P(er)(f.value, e)
3060
+ onClick: (t) => f.value && N(er)(f.value, e)
3052
3061
  }, {
3053
3062
  default: R(() => [c(p, null, {
3054
- default: R(() => [s(A(P(d)(e.key)), 1)]),
3063
+ default: R(() => [s(A(N(d)(e.key)), 1)]),
3055
3064
  _: 2
3056
3065
  }, 1024)]),
3057
3066
  _: 2
@@ -3074,25 +3083,25 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3074
3083
  a("div", ur, [
3075
3084
  c(u, g(h.value, {
3076
3085
  icon: "",
3077
- title: P(d)("HorizontalLine"),
3086
+ title: N(d)("HorizontalLine"),
3078
3087
  onClick: o[1] || (o[1] = (e) => {
3079
3088
  var t;
3080
3089
  return (t = f.value) == null ? void 0 : t.chain().focus().setHorizontalRule().run();
3081
3090
  })
3082
3091
  }), {
3083
- default: R(() => [c(P(V), { name: "mdi-minus" })]),
3092
+ default: R(() => [c(N(V), { name: "mdi-minus" })]),
3084
3093
  _: 1
3085
3094
  }, 16, ["title"]),
3086
3095
  c(S, {
3087
3096
  "close-on-content-click": !1,
3088
3097
  "onUpdate:modelValue": o[4] || (o[4] = (e) => e && re())
3089
3098
  }, {
3090
- activator: R(({ props: e }) => [c(u, g(Z(Z({}, h.value), e), {
3099
+ activator: R(({ props: e }) => [c(u, g(Q(Q({}, h.value), e), {
3091
3100
  icon: "",
3092
- title: P(d)("Link"),
3101
+ title: N(d)("Link"),
3093
3102
  active: y.value.link
3094
3103
  }), {
3095
- default: R(() => [c(P(V), { name: "mdi-link-variant" })]),
3104
+ default: R(() => [c(N(V), { name: "mdi-link-variant" })]),
3096
3105
  _: 1
3097
3106
  }, 16, ["title", "active"])]),
3098
3107
  default: R(() => [c(O, {
@@ -3103,16 +3112,16 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3103
3112
  c(w, {
3104
3113
  modelValue: G.value,
3105
3114
  "onUpdate:modelValue": o[2] || (o[2] = (e) => G.value = e),
3106
- label: P(d)("LinkUrl"),
3115
+ label: N(d)("LinkUrl"),
3107
3116
  density: "compact",
3108
3117
  "hide-details": "",
3109
3118
  autofocus: "",
3110
- onKeydown: z(ie, ["enter"])
3119
+ onKeydown: z(K, ["enter"])
3111
3120
  }, null, 8, ["modelValue", "label"]),
3112
3121
  c(E, {
3113
3122
  modelValue: ne.value,
3114
3123
  "onUpdate:modelValue": o[3] || (o[3] = (e) => ne.value = e),
3115
- label: P(d)("Downloadable"),
3124
+ label: N(d)("Downloadable"),
3116
3125
  density: "compact",
3117
3126
  "hide-details": "",
3118
3127
  class: "mt-1"
@@ -3121,17 +3130,17 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3121
3130
  key: 0,
3122
3131
  size: "small",
3123
3132
  variant: "text",
3124
- onClick: ae
3133
+ onClick: ie
3125
3134
  }, {
3126
- default: R(() => [s(A(P(d)("LinkRemove")), 1)]),
3135
+ default: R(() => [s(A(N(d)("LinkRemove")), 1)]),
3127
3136
  _: 1
3128
3137
  })) : r("", !0), c(u, {
3129
3138
  size: "small",
3130
3139
  color: "primary",
3131
3140
  variant: "tonal",
3132
- onClick: ie
3141
+ onClick: K
3133
3142
  }, {
3134
- default: R(() => [s(A(P(d)("LinkApply")), 1)]),
3143
+ default: R(() => [s(A(N(d)("LinkApply")), 1)]),
3135
3144
  _: 1
3136
3145
  })])
3137
3146
  ]),
@@ -3140,11 +3149,11 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3140
3149
  _: 1
3141
3150
  }),
3142
3151
  c(S, { "close-on-content-click": !1 }, {
3143
- activator: R(({ props: e }) => [c(u, g(Z(Z({}, h.value), e), {
3152
+ activator: R(({ props: e }) => [c(u, g(Q(Q({}, h.value), e), {
3144
3153
  icon: "",
3145
- title: P(d)("Image")
3154
+ title: N(d)("Image")
3146
3155
  }), {
3147
- default: R(() => [c(P(V), { name: "mdi-image-plus" })]),
3156
+ default: R(() => [c(N(V), { name: "mdi-image-plus" })]),
3148
3157
  _: 1
3149
3158
  }, 16, ["title"])]),
3150
3159
  default: R(() => [c(O, {
@@ -3152,28 +3161,28 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3152
3161
  class: "pa-3"
3153
3162
  }, {
3154
3163
  default: R(() => [c(w, {
3155
- modelValue: K.value,
3156
- "onUpdate:modelValue": o[5] || (o[5] = (e) => K.value = e),
3157
- label: P(d)("ImageUrl"),
3164
+ modelValue: q.value,
3165
+ "onUpdate:modelValue": o[5] || (o[5] = (e) => q.value = e),
3166
+ label: N(d)("ImageUrl"),
3158
3167
  density: "compact",
3159
3168
  "hide-details": "",
3160
3169
  autofocus: "",
3161
- onKeydown: z(se, ["enter"])
3170
+ onKeydown: z(oe, ["enter"])
3162
3171
  }, null, 8, ["modelValue", "label"]), a("div", fr, [c(u, {
3163
3172
  size: "small",
3164
3173
  variant: "text",
3165
3174
  "prepend-icon": "mdi-upload",
3166
- onClick: ce
3175
+ onClick: se
3167
3176
  }, {
3168
- default: R(() => [s(A(P(d)("ImageUpload")), 1)]),
3177
+ default: R(() => [s(A(N(d)("ImageUpload")), 1)]),
3169
3178
  _: 1
3170
3179
  }), c(u, {
3171
3180
  size: "small",
3172
3181
  color: "primary",
3173
3182
  variant: "tonal",
3174
- onClick: se
3183
+ onClick: oe
3175
3184
  }, {
3176
- default: R(() => [s(A(P(d)("ImageInsert")), 1)]),
3185
+ default: R(() => [s(A(N(d)("ImageInsert")), 1)]),
3177
3186
  _: 1
3178
3187
  })])]),
3179
3188
  _: 1
@@ -3182,18 +3191,18 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3182
3191
  }),
3183
3192
  a("input", {
3184
3193
  ref_key: "imageInput",
3185
- ref: q,
3194
+ ref: J,
3186
3195
  type: "file",
3187
3196
  accept: "image/*",
3188
3197
  class: "d-none",
3189
- onChange: le
3198
+ onChange: ce
3190
3199
  }, null, 544),
3191
3200
  c(S, { "close-on-content-click": !1 }, {
3192
- activator: R(({ props: e }) => [c(u, g(Z(Z({}, h.value), e), {
3201
+ activator: R(({ props: e }) => [c(u, g(Q(Q({}, h.value), e), {
3193
3202
  icon: "",
3194
- title: P(d)("MediaEmbed")
3203
+ title: N(d)("MediaEmbed")
3195
3204
  }), {
3196
- default: R(() => [c(P(V), { name: "mdi-video-plus" })]),
3205
+ default: R(() => [c(N(V), { name: "mdi-video-plus" })]),
3197
3206
  _: 1
3198
3207
  }, 16, ["title"])]),
3199
3208
  default: R(() => [c(O, {
@@ -3201,20 +3210,20 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3201
3210
  class: "pa-3"
3202
3211
  }, {
3203
3212
  default: R(() => [c(w, {
3204
- modelValue: Y.value,
3205
- "onUpdate:modelValue": o[6] || (o[6] = (e) => Y.value = e),
3206
- label: P(d)("MediaEmbedUrl"),
3213
+ modelValue: X.value,
3214
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => X.value = e),
3215
+ label: N(d)("MediaEmbedUrl"),
3207
3216
  density: "compact",
3208
3217
  "hide-details": "",
3209
3218
  autofocus: "",
3210
- onKeydown: z(ue, ["enter"])
3219
+ onKeydown: z(le, ["enter"])
3211
3220
  }, null, 8, ["modelValue", "label"]), a("div", pr, [c(u, {
3212
3221
  size: "small",
3213
3222
  color: "primary",
3214
3223
  variant: "tonal",
3215
- onClick: ue
3224
+ onClick: le
3216
3225
  }, {
3217
- default: R(() => [s(A(P(d)("MediaEmbedInsert")), 1)]),
3226
+ default: R(() => [s(A(N(d)("MediaEmbedInsert")), 1)]),
3218
3227
  _: 1
3219
3228
  })])]),
3220
3229
  _: 1
@@ -3222,11 +3231,11 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3222
3231
  _: 1
3223
3232
  }),
3224
3233
  c(S, null, {
3225
- activator: R(({ props: e }) => [c(u, g(Z(Z({}, h.value), e), {
3234
+ activator: R(({ props: e }) => [c(u, g(Q(Q({}, h.value), e), {
3226
3235
  icon: "",
3227
- title: P(d)("Table")
3236
+ title: N(d)("Table")
3228
3237
  }), {
3229
- default: R(() => [c(P(V), { name: "mdi-table" })]),
3238
+ default: R(() => [c(N(V), { name: "mdi-table" })]),
3230
3239
  _: 1
3231
3240
  }, 16, ["title"])]),
3232
3241
  default: R(() => [c(x, { density: "compact" }, {
@@ -3239,9 +3248,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3239
3248
  withHeaderRow: !0
3240
3249
  }).run();
3241
3250
  }) }, {
3242
- prepend: R(() => [c(P(V), { name: "mdi-table-plus" })]),
3251
+ prepend: R(() => [c(N(V), { name: "mdi-table-plus" })]),
3243
3252
  default: R(() => [c(p, null, {
3244
- default: R(() => [s(A(P(d)("TableInsert")), 1)]),
3253
+ default: R(() => [s(A(N(d)("TableInsert")), 1)]),
3245
3254
  _: 1
3246
3255
  })]),
3247
3256
  _: 1
@@ -3254,9 +3263,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3254
3263
  return (t = f.value) == null ? void 0 : t.chain().focus().addRowBefore().run();
3255
3264
  })
3256
3265
  }, {
3257
- prepend: R(() => [c(P(V), { name: "mdi-table-row-plus-before" })]),
3266
+ prepend: R(() => [c(N(V), { name: "mdi-table-row-plus-before" })]),
3258
3267
  default: R(() => [c(p, null, {
3259
- default: R(() => [s(A(P(d)("TableAddRowAbove")), 1)]),
3268
+ default: R(() => [s(A(N(d)("TableAddRowAbove")), 1)]),
3260
3269
  _: 1
3261
3270
  })]),
3262
3271
  _: 1
@@ -3268,9 +3277,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3268
3277
  return (t = f.value) == null ? void 0 : t.chain().focus().addRowAfter().run();
3269
3278
  })
3270
3279
  }, {
3271
- prepend: R(() => [c(P(V), { name: "mdi-table-row-plus-after" })]),
3280
+ prepend: R(() => [c(N(V), { name: "mdi-table-row-plus-after" })]),
3272
3281
  default: R(() => [c(p, null, {
3273
- default: R(() => [s(A(P(d)("TableAddRowBelow")), 1)]),
3282
+ default: R(() => [s(A(N(d)("TableAddRowBelow")), 1)]),
3274
3283
  _: 1
3275
3284
  })]),
3276
3285
  _: 1
@@ -3282,9 +3291,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3282
3291
  return (t = f.value) == null ? void 0 : t.chain().focus().deleteRow().run();
3283
3292
  })
3284
3293
  }, {
3285
- prepend: R(() => [c(P(V), { name: "mdi-table-row-remove" })]),
3294
+ prepend: R(() => [c(N(V), { name: "mdi-table-row-remove" })]),
3286
3295
  default: R(() => [c(p, null, {
3287
- default: R(() => [s(A(P(d)("TableDeleteRow")), 1)]),
3296
+ default: R(() => [s(A(N(d)("TableDeleteRow")), 1)]),
3288
3297
  _: 1
3289
3298
  })]),
3290
3299
  _: 1
@@ -3297,9 +3306,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3297
3306
  return (t = f.value) == null ? void 0 : t.chain().focus().addColumnBefore().run();
3298
3307
  })
3299
3308
  }, {
3300
- prepend: R(() => [c(P(V), { name: "mdi-table-column-plus-before" })]),
3309
+ prepend: R(() => [c(N(V), { name: "mdi-table-column-plus-before" })]),
3301
3310
  default: R(() => [c(p, null, {
3302
- default: R(() => [s(A(P(d)("TableAddColumnBefore")), 1)]),
3311
+ default: R(() => [s(A(N(d)("TableAddColumnBefore")), 1)]),
3303
3312
  _: 1
3304
3313
  })]),
3305
3314
  _: 1
@@ -3311,9 +3320,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3311
3320
  return (t = f.value) == null ? void 0 : t.chain().focus().addColumnAfter().run();
3312
3321
  })
3313
3322
  }, {
3314
- prepend: R(() => [c(P(V), { name: "mdi-table-column-plus-after" })]),
3323
+ prepend: R(() => [c(N(V), { name: "mdi-table-column-plus-after" })]),
3315
3324
  default: R(() => [c(p, null, {
3316
- default: R(() => [s(A(P(d)("TableAddColumnAfter")), 1)]),
3325
+ default: R(() => [s(A(N(d)("TableAddColumnAfter")), 1)]),
3317
3326
  _: 1
3318
3327
  })]),
3319
3328
  _: 1
@@ -3325,9 +3334,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3325
3334
  return (t = f.value) == null ? void 0 : t.chain().focus().deleteColumn().run();
3326
3335
  })
3327
3336
  }, {
3328
- prepend: R(() => [c(P(V), { name: "mdi-table-column-remove" })]),
3337
+ prepend: R(() => [c(N(V), { name: "mdi-table-column-remove" })]),
3329
3338
  default: R(() => [c(p, null, {
3330
- default: R(() => [s(A(P(d)("TableDeleteColumn")), 1)]),
3339
+ default: R(() => [s(A(N(d)("TableDeleteColumn")), 1)]),
3331
3340
  _: 1
3332
3341
  })]),
3333
3342
  _: 1
@@ -3340,9 +3349,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3340
3349
  return (t = f.value) == null ? void 0 : t.chain().focus().toggleHeaderRow().run();
3341
3350
  })
3342
3351
  }, {
3343
- prepend: R(() => [c(P(V), { name: "mdi-table-row" })]),
3352
+ prepend: R(() => [c(N(V), { name: "mdi-table-row" })]),
3344
3353
  default: R(() => [c(p, null, {
3345
- default: R(() => [s(A(P(d)("TableToggleHeaderRow")), 1)]),
3354
+ default: R(() => [s(A(N(d)("TableToggleHeaderRow")), 1)]),
3346
3355
  _: 1
3347
3356
  })]),
3348
3357
  _: 1
@@ -3354,9 +3363,9 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3354
3363
  return (t = f.value) == null ? void 0 : t.chain().focus().deleteTable().run();
3355
3364
  })
3356
3365
  }, {
3357
- prepend: R(() => [c(P(V), { name: "mdi-table-remove" })]),
3366
+ prepend: R(() => [c(N(V), { name: "mdi-table-remove" })]),
3358
3367
  default: R(() => [c(p, null, {
3359
- default: R(() => [s(A(P(d)("TableDeleteTable")), 1)]),
3368
+ default: R(() => [s(A(N(d)("TableDeleteTable")), 1)]),
3360
3369
  _: 1
3361
3370
  })]),
3362
3371
  _: 1
@@ -3368,14 +3377,14 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3368
3377
  }),
3369
3378
  c(u, g(h.value, {
3370
3379
  icon: "",
3371
- title: P(d)("Blockquote"),
3380
+ title: N(d)("Blockquote"),
3372
3381
  active: y.value.blockquote,
3373
3382
  onClick: o[16] || (o[16] = (e) => {
3374
3383
  var t;
3375
3384
  return (t = f.value) == null ? void 0 : t.chain().focus().toggleBlockquote().run();
3376
3385
  })
3377
3386
  }), {
3378
- default: R(() => [c(P(V), { name: "mdi-format-quote-close" })]),
3387
+ default: R(() => [c(N(V), { name: "mdi-format-quote-close" })]),
3379
3388
  _: 1
3380
3389
  }, 16, ["title", "active"])
3381
3390
  ]),
@@ -3384,13 +3393,13 @@ var ur = { class: "rtf-toolbar-group" }, dr = { class: "d-flex justify-end ga-2
3384
3393
  inset: "",
3385
3394
  class: "mx-1"
3386
3395
  }),
3387
- c(En, g({ actions: P(M) }, _.value, { "show-as-group": "grouped-no-borders" }), null, 16, ["actions"]),
3396
+ c(En, g({ actions: N(ee) }, _.value, { "show-as-group": "grouped-no-borders" }), null, 16, ["actions"]),
3388
3397
  c(l, {
3389
3398
  vertical: "",
3390
3399
  inset: "",
3391
3400
  class: "mx-1"
3392
3401
  }),
3393
- c(En, g({ actions: N }, _.value, { "show-as-group": "grouped-no-borders" }), null, 16)
3402
+ c(En, g({ actions: M }, _.value, { "show-as-group": "grouped-no-borders" }), null, 16)
3394
3403
  ], 2);
3395
3404
  };
3396
3405
  }
@@ -3446,7 +3455,7 @@ var Cr = { class: "editor-container" }, wr = {
3446
3455
  props: {
3447
3456
  modelValue: { default: "" },
3448
3457
  minHeight: { default: "7em" },
3449
- disabled: {
3458
+ readonly: {
3450
3459
  type: Boolean,
3451
3460
  default: !1
3452
3461
  },
@@ -3455,9 +3464,9 @@ var Cr = { class: "editor-container" }, wr = {
3455
3464
  },
3456
3465
  emits: ["update:modelValue"],
3457
3466
  setup(e, { emit: o }) {
3458
- ee((e) => ({
3459
- a2b42c4a: e.fontFamily,
3460
- v6b6187d1: e.minHeight
3467
+ P((e) => ({
3468
+ d41baee8: e.fontFamily,
3469
+ v85aba200: e.minHeight
3461
3470
  }));
3462
3471
  let s = e, l = o, u = w(null);
3463
3472
  function d(e) {
@@ -3465,7 +3474,7 @@ var Cr = { class: "editor-container" }, wr = {
3465
3474
  }
3466
3475
  let f = On(), p = t(() => {
3467
3476
  var e;
3468
- return Ut(new It((e = s.modelValue) == null ? "" : e));
3477
+ return Ht(new Ft((e = s.modelValue) == null ? "" : e));
3469
3478
  }), m = xn(), h;
3470
3479
  I(u, (e) => {
3471
3480
  h == null || h.disconnect();
@@ -3474,17 +3483,17 @@ var Cr = { class: "editor-container" }, wr = {
3474
3483
  n.style.setProperty("--rtf-toolbar-height", `${e.contentRect.height}px`);
3475
3484
  }), h.observe(t));
3476
3485
  }, { flush: "post" }), x(() => h == null ? void 0 : h.disconnect());
3477
- let _ = Ee({
3486
+ let _ = Te({
3478
3487
  content: s.modelValue,
3479
- editable: !s.disabled,
3488
+ editable: !s.readonly,
3480
3489
  extensions: [
3481
- we.configure({ link: !1 }),
3490
+ Ce.configure({ link: !1 }),
3482
3491
  or.configure({
3483
3492
  openOnClick: !1,
3484
3493
  autolink: !0,
3485
3494
  defaultProtocol: "https"
3486
3495
  }),
3487
- ge.configure({
3496
+ he.configure({
3488
3497
  inline: !0,
3489
3498
  allowBase64: !0,
3490
3499
  resize: {
@@ -3503,12 +3512,12 @@ var Cr = { class: "editor-container" }, wr = {
3503
3512
  minHeight: 24
3504
3513
  }
3505
3514
  }),
3506
- Se.configure({ types: ["heading", "paragraph"] }),
3507
- ve.configure({ resizable: !0 }),
3508
- xe,
3515
+ xe.configure({ types: ["heading", "paragraph"] }),
3516
+ _e.configure({ resizable: !0 }),
3509
3517
  be,
3510
3518
  ye,
3511
- _e.configure({ placeholder: "" }),
3519
+ ve,
3520
+ ge.configure({ placeholder: "" }),
3512
3521
  Gn,
3513
3522
  qn,
3514
3523
  Jn,
@@ -3528,10 +3537,10 @@ var Cr = { class: "editor-container" }, wr = {
3528
3537
  if (!t) return;
3529
3538
  let n = e == null ? "" : e;
3530
3539
  n !== t.getHTML() && t.commands.setContent(n, { emitUpdate: !1 });
3531
- }), I(() => s.disabled, (e) => {
3540
+ }), I(() => s.readonly, (e) => {
3532
3541
  var t;
3533
3542
  return (t = _.value) == null ? void 0 : t.setEditable(!e, !1);
3534
- }), I(_, (e) => e == null ? void 0 : e.setEditable(!s.disabled, !1));
3543
+ }), I(_, (e) => e == null ? void 0 : e.setEditable(!s.readonly, !1));
3535
3544
  let v = {
3536
3545
  icon: !0,
3537
3546
  size: "small",
@@ -3548,7 +3557,7 @@ var Cr = { class: "editor-container" }, wr = {
3548
3557
  };
3549
3558
  });
3550
3559
  function S({ state: e }) {
3551
- return !e.selection.empty && !(e.selection instanceof Ce);
3560
+ return !e.selection.empty && !(e.selection instanceof Se);
3552
3561
  }
3553
3562
  function T(e) {
3554
3563
  var t;
@@ -3567,20 +3576,20 @@ var Cr = { class: "editor-container" }, wr = {
3567
3576
  return (t, o) => {
3568
3577
  let s = D("v-btn");
3569
3578
  return C(), i("div", Cr, [
3570
- P(f) ? (C(), n(mr, {
3579
+ N(f) ? (C(), n(mr, {
3571
3580
  key: 0,
3572
3581
  ref: d,
3573
- editor: P(_),
3582
+ editor: N(_),
3574
3583
  "button-size": e.toolbarButtonSize
3575
3584
  }, null, 8, ["editor", "button-size"])) : r("", !0),
3576
- P(f) ? (C(), n(P(Te), {
3585
+ N(f) ? (C(), n(N(we), {
3577
3586
  key: 1,
3578
3587
  class: "editor-container__editor",
3579
- editor: P(_)
3588
+ editor: N(_)
3580
3589
  }, null, 8, ["editor"])) : (C(), i("div", wr, A(p.value), 1)),
3581
- P(_) ? (C(), n(P(De), {
3590
+ N(_) ? (C(), n(N(Ee), {
3582
3591
  key: 3,
3583
- editor: P(_),
3592
+ editor: N(_),
3584
3593
  "should-show": S
3585
3594
  }, {
3586
3595
  default: R(() => [a("div", Tr, [
@@ -3588,35 +3597,35 @@ var Cr = { class: "editor-container" }, wr = {
3588
3597
  active: b.value.bold,
3589
3598
  onClick: o[0] || (o[0] = (e) => T("toggleBold"))
3590
3599
  }), {
3591
- default: R(() => [c(P(V), { name: "mdi-format-bold" })]),
3600
+ default: R(() => [c(N(V), { name: "mdi-format-bold" })]),
3592
3601
  _: 1
3593
3602
  }, 16, ["active"]),
3594
3603
  c(s, g(v, {
3595
3604
  active: b.value.italic,
3596
3605
  onClick: o[1] || (o[1] = (e) => T("toggleItalic"))
3597
3606
  }), {
3598
- default: R(() => [c(P(V), { name: "mdi-format-italic" })]),
3607
+ default: R(() => [c(N(V), { name: "mdi-format-italic" })]),
3599
3608
  _: 1
3600
3609
  }, 16, ["active"]),
3601
3610
  c(s, g(v, {
3602
3611
  active: b.value.link,
3603
3612
  onClick: E
3604
3613
  }), {
3605
- default: R(() => [c(P(V), { name: "mdi-link-variant" })]),
3614
+ default: R(() => [c(N(V), { name: "mdi-link-variant" })]),
3606
3615
  _: 1
3607
3616
  }, 16, ["active"]),
3608
3617
  c(s, g(v, {
3609
3618
  active: b.value.bulletList,
3610
3619
  onClick: o[2] || (o[2] = (e) => T("toggleBulletList"))
3611
3620
  }), {
3612
- default: R(() => [c(P(V), { name: "mdi-format-list-bulleted" })]),
3621
+ default: R(() => [c(N(V), { name: "mdi-format-list-bulleted" })]),
3613
3622
  _: 1
3614
3623
  }, 16, ["active"]),
3615
3624
  c(s, g(v, {
3616
3625
  active: b.value.orderedList,
3617
3626
  onClick: o[3] || (o[3] = (e) => T("toggleOrderedList"))
3618
3627
  }), {
3619
- default: R(() => [c(P(V), { name: "mdi-format-list-numbered" })]),
3628
+ default: R(() => [c(N(V), { name: "mdi-format-list-numbered" })]),
3620
3629
  _: 1
3621
3630
  }, 16, ["active"])
3622
3631
  ])]),
@@ -3645,17 +3654,17 @@ var Cr = { class: "editor-container" }, wr = {
3645
3654
  passthroughAttrs: {},
3646
3655
  density: {},
3647
3656
  variant: {}
3648
- }, Z(Z({}, en), {}, { minHeight: void 0 })),
3657
+ }, Q(Q({}, en), {}, { minHeight: void 0 })),
3649
3658
  emits: ["update:modelValue", "click:clear"],
3650
3659
  setup(e, { emit: t }) {
3651
3660
  let r = e, { densityClass: i, value: a, vuetifyBindings: o } = tn(r, t);
3652
- return (t, s) => (C(), n(P(rn), g(r, { class: ["rtf-editor", P(i)] }), {
3661
+ return (t, s) => (C(), n(N(rn), g(r, { class: ["rtf-editor", N(i)] }), {
3653
3662
  default: R((t) => [c(Er, g({
3654
- modelValue: P(a),
3663
+ modelValue: N(a),
3655
3664
  "onUpdate:modelValue": s[0] || (s[0] = (e) => m(a) ? a.value = e : null),
3656
3665
  class: { "mt-6": !!e.label },
3657
3666
  "min-height": e.minHeight,
3658
- disabled: P(o).disabled,
3667
+ readonly: N(o).readonly,
3659
3668
  "toolbar-button-size": e.toolbarButtonSize,
3660
3669
  "font-family": e.fontFamily
3661
3670
  }, e.passthroughAttrs, {
@@ -3665,7 +3674,7 @@ var Cr = { class: "editor-container" }, wr = {
3665
3674
  "modelValue",
3666
3675
  "class",
3667
3676
  "min-height",
3668
- "disabled",
3677
+ "readonly",
3669
3678
  "toolbar-button-size",
3670
3679
  "font-family",
3671
3680
  "onFocusin",
@@ -3686,7 +3695,7 @@ function Or(e) {
3686
3695
  }
3687
3696
  function kr(e, t) {
3688
3697
  var n;
3689
- return e == null || ae(e) && e.length === 0 ? null : t ? ne(e) : ae(e) ? (n = ie(e)) == null ? null : n : e;
3698
+ return e == null || ie(e) && e.length === 0 ? null : t ? ne(e) : ie(e) ? (n = K(e)) == null ? null : n : e;
3690
3699
  }
3691
3700
  function Ar(e, t) {
3692
3701
  if (t == null) return [];
@@ -3703,7 +3712,7 @@ function jr(e, t, n, r, i) {
3703
3712
  else if (r) t.value = a;
3704
3713
  else {
3705
3714
  var o;
3706
- let e = ie(Ar(i, a));
3715
+ let e = K(Ar(i, a));
3707
3716
  t.value = (o = e == null ? void 0 : e.id) == null ? null : o;
3708
3717
  }
3709
3718
  }
@@ -3738,7 +3747,7 @@ var Mr = {
3738
3747
  passthroughAttrs: {},
3739
3748
  density: {},
3740
3749
  variant: {}
3741
- }, Z(Z({}, en), {}, {
3750
+ }, Q(Q({}, en), {}, {
3742
3751
  choices: void 0,
3743
3752
  multiple: !1,
3744
3753
  allowTags: !1,
@@ -3752,218 +3761,218 @@ var Mr = {
3752
3761
  ],
3753
3762
  setup(e, { emit: s }) {
3754
3763
  var l;
3755
- let u = e, { choices: f, multiple: p, allowTags: m, allowNull: h, cssClass: b } = M(u), x = s, S = w(null), { densityClass: T, isRendered: k, label: j, shownErrors: N, touched: ee, value: F, visibilityClass: L, vuetifyBindings: z } = tn(u, x), B = On(), H = w(null), U = w(!1), te = w([]), W = t(() => P(U) ? P(te) : P(f) || []), G = t(() => Or(W.value)), re = t(() => Ar(W.value, kr(F.value, p.value)).map((e) => e.text).join(", ")), ie = w(null), ae = w(0), K = w(!1), q = w(0), se = w(0), ce = t(() => se.value > 0 || q.value > 0);
3764
+ let u = e, { choices: f, multiple: p, allowTags: m, allowNull: h, cssClass: b } = ee(u), x = s, S = w(null), { densityClass: T, isRendered: k, label: j, shownErrors: M, touched: P, value: F, visibilityClass: L, vuetifyBindings: z } = tn(u, x), B = On(), H = w(null), U = w(!1), te = w([]), W = t(() => N(U) ? N(te) : N(f) || []), G = t(() => Or(W.value)), re = t(() => Ar(W.value, kr(F.value, p.value)).map((e) => e.text).join(", ")), K = w(null), ie = w(0), q = w(!1), J = w(0), oe = w(0), se = t(() => oe.value > 0 || J.value > 0);
3756
3765
  (l = f.value) != null && l.length && u.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
3757
- function le(e) {
3766
+ function ce(e) {
3758
3767
  x("update:modelValueDisplay", Ar(W.value, e));
3759
3768
  }
3760
- let J = w(!1);
3761
- function Y(e) {
3762
- J.value = !0;
3769
+ let Y = w(!1);
3770
+ function X(e) {
3771
+ Y.value = !0;
3763
3772
  try {
3764
3773
  F.value = e;
3765
3774
  } finally {
3766
3775
  _(() => {
3767
3776
  let t = kr(F.value, p.value);
3768
- oe(t, e) || jr(t, H, p.value, m.value, W.value), J.value = !1;
3777
+ ae(t, e) || jr(t, H, p.value, m.value, W.value), Y.value = !1;
3769
3778
  });
3770
3779
  }
3771
3780
  }
3772
- function de(e) {
3781
+ function ue(e) {
3773
3782
  if (!e) return 0;
3774
3783
  let t = e.getBoundingClientRect(), n = window.getComputedStyle(e);
3775
3784
  return t.width + parseFloat(n.marginLeft) + parseFloat(n.marginRight);
3776
3785
  }
3777
- function fe() {
3786
+ function de() {
3778
3787
  if (p.value && h.value && H.value != null && H.value.length > 0 && S.value) {
3779
3788
  var e;
3780
3789
  let t = S.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);
3781
3790
  i.forEach((e) => {
3782
- o += de(e);
3791
+ o += ue(e);
3783
3792
  });
3784
- let s = de(t.querySelector(".v-field .v-field__clearable")), c = de(t.querySelector(".v-field .v-field__append-inner"));
3785
- K.value = n - o - i.length * 2 - c < s;
3786
- } else K.value = !1;
3793
+ let s = ue(t.querySelector(".v-field .v-field__clearable")), c = ue(t.querySelector(".v-field .v-field__append-inner"));
3794
+ q.value = n - o - i.length * 2 - c < s;
3795
+ } else q.value = !1;
3787
3796
  }
3788
- function pe(e) {
3797
+ function fe(e) {
3789
3798
  let t = e.target;
3790
3799
  t instanceof HTMLElement && t.closest(".v-chip__close") && (e.stopPropagation(), e.preventDefault());
3791
3800
  }
3792
3801
  I(H, (e) => {
3793
- z.value.readonly || q.value > 0 || _(() => {
3802
+ z.value.readonly || J.value > 0 || _(() => {
3794
3803
  let t = kr(e, p.value);
3795
- le(t), Y(t);
3804
+ ce(t), X(t);
3796
3805
  });
3797
3806
  }, { deep: !0 }), I(F, (e) => {
3798
- if (J.value) return;
3799
- let t = kr(e, p.value), n = ye(t);
3807
+ if (Y.value) return;
3808
+ let t = kr(e, p.value), n = ve(t);
3800
3809
  jr(t, H, p.value, !1, W.value), n == null || n.then(() => {
3801
- oe(kr(F.value, p.value), t) && jr(t, H, p.value, !1, W.value);
3810
+ ae(kr(F.value, p.value), t) && jr(t, H, p.value, !1, W.value);
3802
3811
  });
3803
- }, { deep: !0 }), I(J, () => {
3804
- J.value || fe();
3812
+ }, { deep: !0 }), I(Y, () => {
3813
+ Y.value || de();
3805
3814
  });
3806
- function me() {
3807
- ie.value != null && ie.value.length > 0 && (ie.value = null, _e());
3815
+ function pe() {
3816
+ K.value != null && K.value.length > 0 && (K.value = null, ge());
3808
3817
  }
3809
- function he() {
3810
- if (me(), z.value.readonly || m.value) return;
3818
+ function me() {
3819
+ if (pe(), z.value.readonly || m.value) return;
3811
3820
  let e = kr(H.value, p.value);
3812
- jr(e, H, p.value, !1, W.value), Y(e);
3821
+ jr(e, H, p.value, !1, W.value), X(e);
3813
3822
  }
3814
- function ge(e, t) {
3823
+ function he(e, t) {
3815
3824
  if (e.stopPropagation(), z.value.readonly || m.value) {
3816
3825
  m.value && (H.value = H.value.filter((e) => e !== t));
3817
3826
  return;
3818
3827
  }
3819
3828
  let n;
3820
- n = p.value && Array.isArray(H.value) ? kr(H.value.filter((e) => e !== t), p.value) : null, jr(n, H, p.value, !1, W.value), Y(n);
3829
+ n = p.value && Array.isArray(H.value) ? kr(H.value.filter((e) => e !== t), p.value) : null, jr(n, H, p.value, !1, W.value), X(n);
3821
3830
  }
3822
- function _e(e, t) {
3823
- return ve.apply(this, arguments);
3831
+ function ge(e, t) {
3832
+ return _e.apply(this, arguments);
3824
3833
  }
3825
- function ve() {
3826
- return ve = Fn(function* (e, t) {
3827
- if (z.value.readonly || (ie.value = e, f.value || u.fetchChoices === void 0)) return;
3828
- let n = ++ae.value;
3829
- se.value++;
3834
+ function _e() {
3835
+ return _e = Fn(function* (e, t) {
3836
+ if (z.value.readonly || (K.value = e, f.value || u.fetchChoices === void 0)) return;
3837
+ let n = ++ie.value;
3838
+ oe.value++;
3830
3839
  try {
3831
3840
  let r = yield u.fetchChoices(e, t);
3832
- if (n !== ae.value) return;
3841
+ if (n !== ie.value) return;
3833
3842
  let i = Ar(W.value, kr(F.value, p.value));
3834
- te.value = ue([...i, ...r], "id"), U.value = !0;
3843
+ te.value = le([...i, ...r], "id"), U.value = !0;
3835
3844
  } catch (e) {
3836
3845
  console.error(e);
3837
3846
  } finally {
3838
- se.value--;
3847
+ oe.value--;
3839
3848
  }
3840
- }), ve.apply(this, arguments);
3849
+ }), _e.apply(this, arguments);
3841
3850
  }
3842
- function ye(e) {
3851
+ function ve(e) {
3843
3852
  let t = u.fetchChoices;
3844
3853
  if (t === void 0 || m.value || e == null) return null;
3845
3854
  let n = ne(e).filter((e) => !W.value.some((t) => t.id === e));
3846
- return n.length ? (q.value++, Fn(function* () {
3855
+ return n.length ? (J.value++, Fn(function* () {
3847
3856
  try {
3848
3857
  let e = yield t(void 0, p.value ? n : n[0]);
3849
- te.value = ue([...W.value, ...e], "id"), U.value = !0;
3858
+ te.value = le([...W.value, ...e], "id"), U.value = !0;
3850
3859
  } catch (e) {
3851
3860
  console.error(e);
3852
3861
  } finally {
3853
- q.value--;
3862
+ J.value--;
3854
3863
  }
3855
3864
  })()) : null;
3856
3865
  }
3857
- function be() {
3866
+ function ye() {
3858
3867
  let e = z.value.readonly, t = F.value;
3859
- !e && !h.value && t == null && G.value.length && (t = G.value[0].value), t = kr(t, p.value), jr(t, H, p.value, m.value, W.value), !(q.value > 0) && (le(t), e || Y(t));
3868
+ !e && !h.value && t == null && G.value.length && (t = G.value[0].value), t = kr(t, p.value), jr(t, H, p.value, m.value, W.value), !(J.value > 0) && (ce(t), e || X(t));
3860
3869
  }
3861
- let xe = typeof window < "u", Se = null;
3862
- if (u.fetchChoices !== void 0 && xe) {
3863
- var Ce;
3864
- Se = (Ce = ye(kr(F.value, p.value))) == null ? _e(void 0, F.value) : Ce;
3870
+ let be = typeof window < "u", xe = null;
3871
+ if (u.fetchChoices !== void 0 && be) {
3872
+ var Se;
3873
+ xe = (Se = ve(kr(F.value, p.value))) == null ? ge(void 0, F.value) : Se;
3865
3874
  }
3866
- return (xe || u.fetchChoices === void 0) && be(), Se == null || Se.then(() => {
3867
- be();
3875
+ return (be || u.fetchChoices === void 0) && ye(), xe == null || xe.then(() => {
3876
+ ye();
3868
3877
  }), I(() => z.value.readonly, (e) => {
3869
- e || be();
3878
+ e || ye();
3870
3879
  }), (e, t) => {
3871
3880
  var s, l;
3872
3881
  let u = D("v-text-field"), f = D("v-chip"), _ = D("v-list-item");
3873
- return P(k) && !P(B) ? (C(), n(u, g({
3882
+ return N(k) && !N(B) ? (C(), n(u, g({
3874
3883
  key: 0,
3875
3884
  class: [
3876
- P(b),
3877
- P(T),
3878
- P(L)
3885
+ N(b),
3886
+ N(T),
3887
+ N(L)
3879
3888
  ],
3880
3889
  "model-value": re.value
3881
- }, P(z), { readonly: "" }), {
3882
- label: R((e) => [c(P($), {
3890
+ }, N(z), { readonly: "" }), {
3891
+ label: R((e) => [c(N(Xt), {
3883
3892
  data: e,
3884
- label: P(j)
3893
+ label: N(j)
3885
3894
  }, null, 8, ["data", "label"])]),
3886
- message: R(({ message: e }) => [c(P(Q), {
3895
+ message: R(({ message: e }) => [c(N($), {
3887
3896
  message: e,
3888
- errors: P(N)
3897
+ errors: N(M)
3889
3898
  }, null, 8, ["message", "errors"])]),
3890
3899
  _: 1
3891
- }, 16, ["class", "model-value"])) : P(k) ? (C(), n(O(P(m) ? "v-combobox" : "v-autocomplete"), g({
3900
+ }, 16, ["class", "model-value"])) : N(k) ? (C(), n(O(N(m) ? "v-combobox" : "v-autocomplete"), g({
3892
3901
  key: 1,
3893
3902
  ref_key: "dfSelectRef",
3894
3903
  ref: S,
3895
3904
  modelValue: H.value,
3896
3905
  "onUpdate:modelValue": t[0] || (t[0] = (e) => H.value = e),
3897
3906
  class: [
3898
- P(b),
3899
- P(T),
3900
- P(L),
3907
+ N(b),
3908
+ N(T),
3909
+ N(L),
3901
3910
  {
3902
- "df-select-multirow": K.value,
3903
- "df-select-single": !P(p)
3911
+ "df-select-multirow": q.value,
3912
+ "df-select-single": !N(p)
3904
3913
  }
3905
3914
  ],
3906
- style: { "--df-select-search-width": `${((s = (l = ie.value) == null ? void 0 : l.length) == null ? 0 : s) + 1}ch` },
3915
+ style: { "--df-select-search-width": `${((s = (l = K.value) == null ? void 0 : l.length) == null ? 0 : s) + 1}ch` },
3907
3916
  items: G.value,
3908
3917
  "return-object": !1,
3909
3918
  chips: "",
3910
3919
  "auto-select-first": !0,
3911
- "closable-chips": P(h) || P(p) && H.value.length > 1,
3912
- clearable: P(h),
3913
- multiple: P(p),
3914
- loading: ce.value,
3920
+ "closable-chips": N(h) || N(p) && H.value.length > 1,
3921
+ clearable: N(h) && !N(z).readonly,
3922
+ multiple: N(p),
3923
+ loading: se.value,
3915
3924
  "hide-selected": !1,
3916
- "aria-describedby": P(z).helpText ? `${P(z).name}-help` : null,
3925
+ "aria-describedby": N(z).helpText ? `${N(z).name}-help` : null,
3917
3926
  "menu-props": { maxHeight: "400" },
3918
- search: ie.value
3919
- }, P(z), {
3920
- "onUpdate:search": t[1] || (t[1] = (e) => _e(e, void 0)),
3921
- "onUpdate:modelValue": he,
3927
+ search: K.value
3928
+ }, N(z), {
3929
+ "onUpdate:search": t[1] || (t[1] = (e) => ge(e, void 0)),
3930
+ "onUpdate:modelValue": me,
3922
3931
  "onClick:clear": t[2] || (t[2] = (e) => H.value = null),
3923
- onBlur: t[3] || (t[3] = (e) => ee.value = !0),
3924
- onMousedownCapture: t[4] || (t[4] = (e) => pe(e))
3932
+ onBlur: t[3] || (t[3] = (e) => P.value = !0),
3933
+ onMousedownCapture: t[4] || (t[4] = (e) => fe(e))
3925
3934
  }), o({
3926
3935
  chip: R(({ item: e }) => [(C(), n(f, {
3927
3936
  key: e.value,
3928
3937
  label: "",
3929
3938
  size: "small",
3930
3939
  class: "d-flex align-middle",
3931
- variant: P(p) ? "tonal" : "text",
3932
- closable: P(p),
3933
- "onClick:close": (t) => ge(t, e.value)
3940
+ variant: N(p) ? "tonal" : "text",
3941
+ closable: N(p),
3942
+ "onClick:close": (t) => he(t, e.value)
3934
3943
  }, {
3935
3944
  prepend: R(() => {
3936
3945
  var t;
3937
- return [(t = e.raw) != null && t.icon ? (C(), n(P(V), {
3946
+ return [(t = e.raw) != null && t.icon ? (C(), n(N(V), {
3938
3947
  key: 0,
3939
3948
  class: "me-1",
3940
3949
  name: e.raw.icon
3941
3950
  }, null, 8, ["name"])) : r("", !0)];
3942
3951
  }),
3943
- default: R(() => [a("span", { class: v({ "text-body-1": !P(p) }) }, A(e.title), 3)]),
3952
+ default: R(() => [a("span", { class: v({ "text-body-1": !N(p) }) }, A(e.title), 3)]),
3944
3953
  _: 2
3945
3954
  }, 1032, [
3946
3955
  "variant",
3947
3956
  "closable",
3948
3957
  "onClick:close"
3949
3958
  ]))]),
3950
- label: R((e) => [c(P($), {
3959
+ label: R((e) => [c(N(Xt), {
3951
3960
  data: e,
3952
- label: P(j)
3961
+ label: N(j)
3953
3962
  }, null, 8, ["data", "label"])]),
3954
3963
  item: R(({ props: e, item: t }) => [c(_, y(d(e)), {
3955
3964
  prepend: R(() => {
3956
3965
  var e;
3957
- return [(e = t.raw) != null && e.icon ? (C(), i("span", Mr, [c(P(V), {
3966
+ return [(e = t.raw) != null && e.icon ? (C(), i("span", Mr, [c(N(V), {
3958
3967
  class: "action-icon",
3959
3968
  name: t.raw.icon
3960
3969
  }, null, 8, ["name"])])) : r("", !0)];
3961
3970
  }),
3962
3971
  _: 2
3963
3972
  }, 1040)]),
3964
- message: R(({ message: e }) => [c(P(Q), {
3973
+ message: R(({ message: e }) => [c(N($), {
3965
3974
  message: e,
3966
- errors: P(N)
3975
+ errors: N(M)
3967
3976
  }, null, 8, ["message", "errors"])]),
3968
3977
  _: 2
3969
3978
  }, [e.$slots["append-inner"] ? {
@@ -3988,7 +3997,7 @@ var Mr = {
3988
3997
  ])) : r("", !0);
3989
3998
  };
3990
3999
  }
3991
- }), [["__scopeId", "data-v-1c000b27"]]), Pr = /* @__PURE__ */ l({
4000
+ }), [["__scopeId", "data-v-3149bec6"]]), Pr = /* @__PURE__ */ l({
3992
4001
  __name: "df-text-area",
3993
4002
  props: /*@__PURE__*/ h({
3994
4003
  rows: {},
@@ -4007,33 +4016,33 @@ var Mr = {
4007
4016
  passthroughAttrs: {},
4008
4017
  density: {},
4009
4018
  variant: {}
4010
- }, Z(Z({}, en), {}, {
4019
+ }, Q(Q({}, en), {}, {
4011
4020
  rows: void 0,
4012
4021
  maxRows: void 0
4013
4022
  })),
4014
4023
  emits: ["update:modelValue", "click:clear"],
4015
4024
  setup(e, { emit: t }) {
4016
- let n = e, { densityClass: a, isRendered: o, label: s, shownErrors: l, touched: u, value: d, visibilityClass: f, vuetifyBindings: p } = tn(n, t), { cssClass: h } = M(n);
4025
+ let n = e, { densityClass: a, isRendered: o, label: s, shownErrors: l, touched: u, value: d, visibilityClass: f, vuetifyBindings: p } = tn(n, t), { cssClass: h } = ee(n);
4017
4026
  return (t, n) => {
4018
4027
  let _ = D("v-textarea");
4019
- return P(o) ? (C(), i("div", {
4028
+ return N(o) ? (C(), i("div", {
4020
4029
  key: 0,
4021
- class: v(["df-textarea-container", [P(a), P(f)]])
4030
+ class: v(["df-textarea-container", [N(a), N(f)]])
4022
4031
  }, [c(_, g({
4023
- modelValue: P(d),
4032
+ modelValue: N(d),
4024
4033
  "onUpdate:modelValue": n[0] || (n[0] = (e) => m(d) ? d.value = e : null),
4025
- class: P(h),
4034
+ class: N(h),
4026
4035
  rows: e.rows,
4027
4036
  "auto-grow": (e.maxRows || 0) > 0,
4028
4037
  "max-rows": e.maxRows
4029
- }, P(p), { onBlur: n[1] || (n[1] = (e) => u.value = !0) }), {
4030
- label: R((e) => [c(P($), {
4038
+ }, N(p), { onBlur: n[1] || (n[1] = (e) => u.value = !0) }), {
4039
+ label: R((e) => [c(N(Xt), {
4031
4040
  data: e,
4032
- label: P(s)
4041
+ label: N(s)
4033
4042
  }, null, 8, ["data", "label"])]),
4034
- message: R(({ message: e }) => [c(P(Q), {
4043
+ message: R(({ message: e }) => [c(N($), {
4035
4044
  message: e,
4036
- errors: P(l)
4045
+ errors: N(l)
4037
4046
  }, null, 8, ["message", "errors"])]),
4038
4047
  _: 1
4039
4048
  }, 16, [
@@ -4045,7 +4054,7 @@ var Mr = {
4045
4054
  ])], 2)) : r("", !0);
4046
4055
  };
4047
4056
  }
4048
- }), Fr = /* @__PURE__ */ pt({
4057
+ }), Fr = /* @__PURE__ */ ft({
4049
4058
  DfActions: () => En,
4050
4059
  DfCheckbox: () => Dn,
4051
4060
  DfColor: () => Mn,
@@ -4053,43 +4062,43 @@ var Mr = {
4053
4062
  DfFile: () => Ln,
4054
4063
  DfImage: () => Un,
4055
4064
  DfInput: () => Wn,
4056
- DfInputHint: () => Q,
4057
- DfLabel: () => $,
4065
+ DfInputHint: () => $,
4066
+ DfLabel: () => Xt,
4058
4067
  DfRtfEditor: () => Dr,
4059
4068
  DfSelect: () => Nr,
4060
4069
  DfTextArea: () => Pr
4061
- }), Ir = /* @__PURE__ */ pt({
4062
- VAutocomplete: () => Fe,
4063
- VBtn: () => Ie,
4064
- VBtnGroup: () => Le,
4065
- VBtnToggle: () => Re,
4066
- VCard: () => ze,
4067
- VCardActions: () => Be,
4068
- VCheckbox: () => Ve,
4069
- VChip: () => He,
4070
- VCol: () => Xe,
4071
- VColorPicker: () => We,
4072
- VCombobox: () => Ue,
4073
- VConfirmEdit: () => Ge,
4074
- VDatePicker: () => Ke,
4075
- VDivider: () => qe,
4076
- VField: () => Je,
4077
- VFileInput: () => Ye,
4078
- VIcon: () => Qe,
4079
- VImg: () => $e,
4080
- VInput: () => et,
4081
- VList: () => tt,
4082
- VListItem: () => nt,
4083
- VListItemTitle: () => rt,
4084
- VMenu: () => it,
4085
- VNumberInput: () => at,
4086
- VProgressLinear: () => ot,
4087
- VRow: () => Ze,
4088
- VSelect: () => st,
4089
- VSwitch: () => ct,
4090
- VTextField: () => ut,
4091
- VTextarea: () => lt,
4092
- VTimePicker: () => dt
4070
+ }), Ir = /* @__PURE__ */ ft({
4071
+ VAutocomplete: () => Pe,
4072
+ VBtn: () => Fe,
4073
+ VBtnGroup: () => Ie,
4074
+ VBtnToggle: () => Le,
4075
+ VCard: () => Re,
4076
+ VCardActions: () => ze,
4077
+ VCheckbox: () => Be,
4078
+ VChip: () => Ve,
4079
+ VCol: () => Ye,
4080
+ VColorPicker: () => Ue,
4081
+ VCombobox: () => He,
4082
+ VConfirmEdit: () => We,
4083
+ VDatePicker: () => Ge,
4084
+ VDivider: () => Ke,
4085
+ VField: () => qe,
4086
+ VFileInput: () => Je,
4087
+ VIcon: () => Ze,
4088
+ VImg: () => Qe,
4089
+ VInput: () => $e,
4090
+ VList: () => et,
4091
+ VListItem: () => tt,
4092
+ VListItemTitle: () => nt,
4093
+ VMenu: () => rt,
4094
+ VNumberInput: () => it,
4095
+ VProgressLinear: () => at,
4096
+ VRow: () => Xe,
4097
+ VSelect: () => ot,
4098
+ VSwitch: () => st,
4099
+ VTextField: () => lt,
4100
+ VTextarea: () => ct,
4101
+ VTimePicker: () => ut
4093
4102
  }), Lr = {
4094
4103
  "df-actions": En,
4095
4104
  "df-checkbox": Dn,
@@ -4098,16 +4107,16 @@ var Mr = {
4098
4107
  "df-file": Ln,
4099
4108
  "df-image": Un,
4100
4109
  "df-input": Wn,
4101
- "df-input-hint": Q,
4102
- "df-label": $,
4110
+ "df-input-hint": $,
4111
+ "df-label": Xt,
4103
4112
  "df-rtf-editor": Dr,
4104
4113
  "df-select": Nr,
4105
4114
  "df-text-area": Pr
4106
- }, Rr = /* @__PURE__ */ pt({}), zr = { install: (e, t) => {
4115
+ }, Rr = /* @__PURE__ */ ft({}), zr = { install: (e, t) => {
4107
4116
  var n, r;
4108
- e.provide(Yt, t == null ? {} : t), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(Fr).map(([t, n]) => e.component(t, n)), (r = t == null ? void 0 : t.registerVuetifyComponents) != null && r && Object.entries(Ir).map(([t, n]) => e.component(t, n));
4117
+ e.provide(Jt, t == null ? {} : t), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(Fr).map(([t, n]) => e.component(t, n)), (r = t == null ? void 0 : t.registerVuetifyComponents) != null && r && Object.entries(Ir).map(([t, n]) => e.component(t, n));
4109
4118
  } };
4110
4119
  //#endregion
4111
- export { mn as Action, Nt as DateTimeLocaleConfig, En as DfActions, Dn as DfCheckbox, Mn as DfColor, Nn as DfDateTime, Ln as DfFile, Un as DfImage, Wn as DfInput, Rr as DfInputComponentProps, Fr as DfInputComponents, Q as DfInputHint, $ as DfLabel, Dr as DfRtfEditor, Nr as DfSelect, Pr as DfTextArea, zr as DynamicFormsInputs, Pt as FileGoneError, It as HtmlString, rn as InputBase, $t as Label, Ft as MdString, Xt as MessagesWidget, Kt as RenderableValue, fn as ResponsiveActionRenderOptions, ln as ResponsiveRenderOptions, Ir as VuetifyComponents, an as actionDisplayStyles, en as defaultBaseProps, on as defaultDisplayStyle, Lr as dfInputComponentsByTag, Jt as errorText, un as getBreakpointName, pn as getRenderOptionsForBreakpoint, sn as isActionDisplayStyle, Gt as isCallableFunction, Rt as isRenderContent, Lt as isSimpleComponentDef, Ut as renderContentText, cn as responsiveBreakpoints, Zt as selectShownErrors, Cn as setFileGoneError, qt as toErrorDescription, bn as translate, _n as translateStrings, dn as useBreakpoint, Sn as useFileTouchKeepAlive, tn as useInputBase, Qt as useShownErrors, xn as useTranslate, Yt as vuetifyInputsSettingsKey };
4120
+ export { mn as Action, Mt as DateTimeLocaleConfig, En as DfActions, Dn as DfCheckbox, Mn as DfColor, Nn as DfDateTime, Ln as DfFile, Un as DfImage, Wn as DfInput, Rr as DfInputComponentProps, Fr as DfInputComponents, $ as DfInputHint, Xt as DfLabel, Dr as DfRtfEditor, Nr as DfSelect, Pr as DfTextArea, zr as DynamicFormsInputs, Nt as FileGoneError, Ft as HtmlString, rn as InputBase, $t as Label, Pt as MdString, Yt as MessagesWidget, Gt as RenderableValue, fn as ResponsiveActionRenderOptions, ln as ResponsiveRenderOptions, Ir as VuetifyComponents, an as actionDisplayStyles, en as defaultBaseProps, on as defaultDisplayStyle, Lr as dfInputComponentsByTag, qt as errorText, un as getBreakpointName, pn as getRenderOptionsForBreakpoint, sn as isActionDisplayStyle, Wt as isCallableFunction, Lt as isRenderContent, It as isSimpleComponentDef, Ht as renderContentText, cn as responsiveBreakpoints, Zt as selectShownErrors, Cn as setFileGoneError, Kt as toErrorDescription, bn as translate, _n as translateStrings, dn as useBreakpoint, Sn as useFileTouchKeepAlive, tn as useInputBase, Qt as useShownErrors, xn as useTranslate, Jt as vuetifyInputsSettingsKey };
4112
4121
 
4113
4122
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map