@dynamicforms/vuetify-inputs 0.11.2 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,89 +1,89 @@
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, guardReactiveProps as u, inject as d, isRef as f, mergeDefaults as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as y, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveComponent as w, resolveDynamicComponent as T, shallowRef as E, toDisplayString as D, toRaw as O, toRefs as ee, unref as k, useCssVars as A, useId as j, watch as M, withCtx as N, withKeys as P, withModifiers as F } from "vue";
2
- import I, { Action as L, DisplayMode as R, MdString as z, MessagesWidget as B, ValidationErrorRenderContent as te } from "@dynamicforms/vue-forms";
3
- import { CachedIcon as V } from "vue-cached-icon";
4
- import H from "vue-markdown-render";
5
- import { castArray as U, clone as ne, first as W, isArray as G, isBoolean as K, isEmpty as q, isEqual as re, isNaN as ie, isObjectLike as ae, isPlainObject as oe, isString as J, toNumber as se, unionBy as ce } from "lodash-es";
6
- import { createTranslatable as le } from "@dynamicforms/translatable";
7
- import { useDisplay as ue } from "vuetify";
8
- import { format as de, parse as fe } from "date-fns";
9
- import pe from "@tiptap/extension-image";
10
- import me from "@tiptap/extension-placeholder";
11
- import { Table as he } from "@tiptap/extension-table";
12
- import ge from "@tiptap/extension-table-cell";
13
- import _e from "@tiptap/extension-table-header";
14
- import ve from "@tiptap/extension-table-row";
15
- import ye from "@tiptap/extension-text-align";
16
- import { NodeSelection as be } from "@tiptap/pm/state";
17
- import xe from "@tiptap/starter-kit";
18
- import { EditorContent as Se, useEditor as Ce } from "@tiptap/vue-3";
19
- import { BubbleMenu as we } from "@tiptap/vue-3/menus";
20
- import { Extension as Te, Mark as Ee, Node as De, mergeAttributes as Oe } from "@tiptap/core";
21
- import { Fragment as ke, Slice as Ae } from "@tiptap/pm/model";
22
- import je from "@tiptap/extension-link";
23
- import { VAutocomplete as Me } from "vuetify/components/VAutocomplete";
24
- import { VBtn as Ne } from "vuetify/components/VBtn";
25
- import { VCheckbox as Pe } from "vuetify/components/VCheckbox";
26
- import { VChip as Fe } from "vuetify/components/VChip";
27
- import { VCombobox as Ie } from "vuetify/components/VCombobox";
28
- import { VColorPicker as Le } from "vuetify/components/VColorPicker";
29
- import { VConfirmEdit as Re } from "vuetify/components/VConfirmEdit";
30
- import { VDatePicker as ze } from "vuetify/components/VDatePicker";
31
- import { VField as Be } from "vuetify/components/VField";
32
- import { VFileInput as Ve } from "vuetify/components/VFileInput";
33
- import { VCol as He, VRow as Ue } from "vuetify/components/VGrid";
34
- import { VIcon as We } from "vuetify/components/VIcon";
35
- import { VImg as Ge } from "vuetify/components/VImg";
36
- import { VInput as Ke } from "vuetify/components/VInput";
37
- import { VListItem as qe } from "vuetify/components/VList";
38
- import { VMenu as Je } from "vuetify/components/VMenu";
39
- import { VNumberInput as Ye } from "vuetify/components/VNumberInput";
40
- import { VProgressLinear as Xe } from "vuetify/components/VProgressLinear";
41
- import { VSelect as Ze } from "vuetify/components/VSelect";
42
- import { VSwitch as Qe } from "vuetify/components/VSwitch";
43
- import { VTextarea as $e } from "vuetify/components/VTextarea";
44
- import { VTextField as et } from "vuetify/components/VTextField";
45
- import { VTimePicker as tt } from "vuetify/components/VTimePicker";
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, guardReactiveProps as u, inject as d, isRef as f, mergeDefaults as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as y, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveComponent as w, resolveDynamicComponent as T, shallowRef as E, toDisplayString as D, toRaw as O, toRefs as k, unref as A, useCssVars as j, useId as M, watch as N, watchEffect as P, withCtx as F, withKeys as I, withModifiers as L } from "vue";
2
+ import R, { Action as z, DisplayMode as B, ExecuteAction as V, MdString as ee, MessagesWidget as te, ValidationErrorRenderContent as H } from "@dynamicforms/vue-forms";
3
+ import { CachedIcon as U } from "vue-cached-icon";
4
+ import ne from "vue-markdown-render";
5
+ import { castArray as re, clone as W, first as ie, isArray as G, isBoolean as ae, isEmpty as K, isEqual as oe, isNaN as se, isObjectLike as ce, isPlainObject as le, isString as q, toNumber as ue, unionBy as de } from "lodash-es";
6
+ import { createTranslatable as fe } from "@dynamicforms/translatable";
7
+ import { useDisplay as pe } from "vuetify";
8
+ import { format as me, parse 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 { VCheckbox as Le } from "vuetify/components/VCheckbox";
26
+ import { VChip as Re } from "vuetify/components/VChip";
27
+ import { VCombobox as ze } from "vuetify/components/VCombobox";
28
+ import { VColorPicker as Be } from "vuetify/components/VColorPicker";
29
+ import { VConfirmEdit as Ve } from "vuetify/components/VConfirmEdit";
30
+ import { VDatePicker as He } from "vuetify/components/VDatePicker";
31
+ import { VField as Ue } from "vuetify/components/VField";
32
+ import { VFileInput as We } from "vuetify/components/VFileInput";
33
+ import { VCol as Ge, VRow as Ke } from "vuetify/components/VGrid";
34
+ import { VIcon as qe } from "vuetify/components/VIcon";
35
+ import { VImg as Je } from "vuetify/components/VImg";
36
+ import { VInput as Ye } from "vuetify/components/VInput";
37
+ import { VListItem as Xe } from "vuetify/components/VList";
38
+ import { VMenu as Ze } from "vuetify/components/VMenu";
39
+ import { VNumberInput as Qe } from "vuetify/components/VNumberInput";
40
+ import { VProgressLinear as $e } from "vuetify/components/VProgressLinear";
41
+ import { VSelect as et } from "vuetify/components/VSelect";
42
+ import { VSwitch as tt } from "vuetify/components/VSwitch";
43
+ import { VTextarea as nt } from "vuetify/components/VTextarea";
44
+ import { VTextField as rt } from "vuetify/components/VTextField";
45
+ import { VTimePicker as it } from "vuetify/components/VTimePicker";
46
46
  //#region \0rolldown/runtime.js
47
- var nt = Object.defineProperty, rt = (e, t) => {
47
+ var at = Object.defineProperty, ot = (e, t) => {
48
48
  let n = {};
49
- for (var r in e) nt(n, r, {
49
+ for (var r in e) at(n, r, {
50
50
  get: e[r],
51
51
  enumerable: !0
52
52
  });
53
- return t || nt(n, Symbol.toStringTag, { value: "Module" }), n;
53
+ return t || at(n, Symbol.toStringTag, { value: "Module" }), n;
54
54
  };
55
55
  //#endregion
56
56
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/typeof.js
57
- function it(e) {
57
+ function st(e) {
58
58
  "@babel/helpers - typeof";
59
- return it = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
59
+ return st = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
60
60
  return typeof e;
61
61
  } : function(e) {
62
62
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
63
- }, it(e);
63
+ }, st(e);
64
64
  }
65
65
  //#endregion
66
66
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/toPrimitive.js
67
- function at(e, t) {
68
- if (it(e) != "object" || !e) return e;
67
+ function ct(e, t) {
68
+ if (st(e) != "object" || !e) return e;
69
69
  var n = e[Symbol.toPrimitive];
70
70
  if (n !== void 0) {
71
71
  var r = n.call(e, t || "default");
72
- if (it(r) != "object") return r;
72
+ if (st(r) != "object") return r;
73
73
  throw TypeError("@@toPrimitive must return a primitive value.");
74
74
  }
75
75
  return (t === "string" ? String : Number)(e);
76
76
  }
77
77
  //#endregion
78
78
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/toPropertyKey.js
79
- function ot(e) {
80
- var t = at(e, "string");
81
- return it(t) == "symbol" ? t : t + "";
79
+ function lt(e) {
80
+ var t = ct(e, "string");
81
+ return st(t) == "symbol" ? t : t + "";
82
82
  }
83
83
  //#endregion
84
84
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/defineProperty.js
85
- function st(e, t, n) {
86
- return (t = ot(t)) in e ? Object.defineProperty(e, t, {
85
+ function ut(e, t, n) {
86
+ return (t = lt(t)) in e ? Object.defineProperty(e, t, {
87
87
  value: n,
88
88
  enumerable: !0,
89
89
  configurable: !0,
@@ -92,7 +92,7 @@ function st(e, t, n) {
92
92
  }
93
93
  //#endregion
94
94
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/objectSpread2.js
95
- function ct(e, t) {
95
+ function dt(e, t) {
96
96
  var n = Object.keys(e);
97
97
  if (Object.getOwnPropertySymbols) {
98
98
  var r = Object.getOwnPropertySymbols(e);
@@ -102,12 +102,12 @@ function ct(e, t) {
102
102
  }
103
103
  return n;
104
104
  }
105
- function Y(e) {
105
+ function J(e) {
106
106
  for (var t = 1; t < arguments.length; t++) {
107
107
  var n = arguments[t] == null ? {} : arguments[t];
108
- t % 2 ? ct(Object(n), !0).forEach(function(t) {
109
- st(e, t, n[t]);
110
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ct(Object(n)).forEach(function(t) {
108
+ t % 2 ? dt(Object(n), !0).forEach(function(t) {
109
+ ut(e, t, n[t]);
110
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dt(Object(n)).forEach(function(t) {
111
111
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
112
112
  });
113
113
  }
@@ -115,10 +115,10 @@ function Y(e) {
115
115
  }
116
116
  //#endregion
117
117
  //#region node_modules/date-fns/locale/sl/_lib/formatDistance.js
118
- function lt(e) {
118
+ function ft(e) {
119
119
  return e.one !== void 0;
120
120
  }
121
- var ut = {
121
+ var pt = {
122
122
  lessThanXSeconds: {
123
123
  present: {
124
124
  one: "manj kot {{count}} sekunda",
@@ -393,7 +393,7 @@ var ut = {
393
393
  }
394
394
  }
395
395
  };
396
- function dt(e) {
396
+ function mt(e) {
397
397
  switch (e % 100) {
398
398
  case 1: return "one";
399
399
  case 2: return "two";
@@ -402,27 +402,27 @@ function dt(e) {
402
402
  default: return "other";
403
403
  }
404
404
  }
405
- var ft = (e, t, n) => {
405
+ var ht = (e, t, n) => {
406
406
  let r = "", i = "present";
407
407
  n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (i = "future", r = "čez ") : (i = "past", r = "pred "));
408
- let a = ut[e];
408
+ let a = pt[e];
409
409
  if (typeof a == "string") r += a;
410
410
  else {
411
- let e = dt(t);
412
- lt(a) ? r += a[e].replace("{{count}}", String(t)) : r += a[i][e].replace("{{count}}", String(t));
411
+ let e = mt(t);
412
+ ft(a) ? r += a[e].replace("{{count}}", String(t)) : r += a[i][e].replace("{{count}}", String(t));
413
413
  }
414
414
  return r;
415
415
  };
416
416
  //#endregion
417
417
  //#region node_modules/date-fns/locale/_lib/buildFormatLongFn.js
418
- function pt(e) {
418
+ function gt(e) {
419
419
  return (t = {}) => {
420
420
  let n = t.width ? String(t.width) : e.defaultWidth;
421
421
  return e.formats[n] || e.formats[e.defaultWidth];
422
422
  };
423
423
  }
424
- var mt = {
425
- date: pt({
424
+ var _t = {
425
+ date: gt({
426
426
  formats: {
427
427
  full: "EEEE, dd. MMMM y",
428
428
  long: "dd. MMMM y",
@@ -431,7 +431,7 @@ var mt = {
431
431
  },
432
432
  defaultWidth: "full"
433
433
  }),
434
- time: pt({
434
+ time: gt({
435
435
  formats: {
436
436
  full: "HH:mm:ss zzzz",
437
437
  long: "HH:mm:ss z",
@@ -440,7 +440,7 @@ var mt = {
440
440
  },
441
441
  defaultWidth: "full"
442
442
  }),
443
- dateTime: pt({
443
+ dateTime: gt({
444
444
  formats: {
445
445
  full: "{{date}} {{time}}",
446
446
  long: "{{date}} {{time}}",
@@ -449,7 +449,7 @@ var mt = {
449
449
  },
450
450
  defaultWidth: "full"
451
451
  })
452
- }, ht = {
452
+ }, vt = {
453
453
  lastWeek: (e) => {
454
454
  switch (e.getDay()) {
455
455
  case 0: return "'prejšnjo nedeljo ob' p";
@@ -470,13 +470,13 @@ var mt = {
470
470
  }
471
471
  },
472
472
  other: "P"
473
- }, gt = (e, t, n, r) => {
474
- let i = ht[e];
473
+ }, yt = (e, t, n, r) => {
474
+ let i = vt[e];
475
475
  return typeof i == "function" ? i(t) : i;
476
476
  };
477
477
  //#endregion
478
478
  //#region node_modules/date-fns/locale/_lib/buildLocalizeFn.js
479
- function _t(e) {
479
+ function bt(e) {
480
480
  return (t, n) => {
481
481
  let r = n != null && n.context ? String(n.context) : "standalone", i;
482
482
  if (r === "formatting" && e.formattingValues) {
@@ -490,9 +490,9 @@ function _t(e) {
490
490
  return i[a];
491
491
  };
492
492
  }
493
- var vt = {
493
+ var xt = {
494
494
  ordinalNumber: (e, t) => Number(e) + ".",
495
- era: _t({
495
+ era: bt({
496
496
  values: {
497
497
  narrow: ["pr. n. št.", "po n. št."],
498
498
  abbreviated: ["pr. n. št.", "po n. št."],
@@ -500,7 +500,7 @@ var vt = {
500
500
  },
501
501
  defaultWidth: "wide"
502
502
  }),
503
- quarter: _t({
503
+ quarter: bt({
504
504
  values: {
505
505
  narrow: [
506
506
  "1",
@@ -524,7 +524,7 @@ var vt = {
524
524
  defaultWidth: "wide",
525
525
  argumentCallback: (e) => e - 1
526
526
  }),
527
- month: _t({
527
+ month: bt({
528
528
  values: {
529
529
  narrow: [
530
530
  "j",
@@ -571,7 +571,7 @@ var vt = {
571
571
  },
572
572
  defaultWidth: "wide"
573
573
  }),
574
- day: _t({
574
+ day: bt({
575
575
  values: {
576
576
  narrow: [
577
577
  "n",
@@ -612,7 +612,7 @@ var vt = {
612
612
  },
613
613
  defaultWidth: "wide"
614
614
  }),
615
- dayPeriod: _t({
615
+ dayPeriod: bt({
616
616
  values: {
617
617
  narrow: {
618
618
  am: "d",
@@ -683,11 +683,11 @@ var vt = {
683
683
  };
684
684
  //#endregion
685
685
  //#region node_modules/date-fns/locale/_lib/buildMatchFn.js
686
- function yt(e) {
686
+ function St(e) {
687
687
  return (t, n = {}) => {
688
688
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
689
689
  if (!a) return null;
690
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? xt(s, (e) => e.test(o)) : bt(s, (e) => e.test(o)), l;
690
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? wt(s, (e) => e.test(o)) : Ct(s, (e) => e.test(o)), l;
691
691
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
692
692
  let u = t.slice(o.length);
693
693
  return {
@@ -696,15 +696,15 @@ function yt(e) {
696
696
  };
697
697
  };
698
698
  }
699
- function bt(e, t) {
699
+ function Ct(e, t) {
700
700
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
701
701
  }
702
- function xt(e, t) {
702
+ function wt(e, t) {
703
703
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
704
704
  }
705
705
  //#endregion
706
706
  //#region node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
707
- function St(e) {
707
+ function Tt(e) {
708
708
  return (t, n = {}) => {
709
709
  let r = t.match(e.matchPattern);
710
710
  if (!r) return null;
@@ -721,19 +721,19 @@ function St(e) {
721
721
  }
722
722
  //#endregion
723
723
  //#region node_modules/date-fns/locale/sl.js
724
- var Ct = {
724
+ var Et = {
725
725
  code: "sl",
726
- formatDistance: ft,
727
- formatLong: mt,
728
- formatRelative: gt,
729
- localize: vt,
726
+ formatDistance: ht,
727
+ formatLong: _t,
728
+ formatRelative: yt,
729
+ localize: xt,
730
730
  match: {
731
- ordinalNumber: St({
731
+ ordinalNumber: Tt({
732
732
  matchPattern: /^(\d+)\./i,
733
733
  parsePattern: /\d+/i,
734
734
  valueCallback: (e) => parseInt(e, 10)
735
735
  }),
736
- era: yt({
736
+ era: St({
737
737
  matchPatterns: {
738
738
  abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
739
739
  wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
@@ -742,7 +742,7 @@ var Ct = {
742
742
  parsePatterns: { any: [/^pr/i, /^(po|na[sš]em)/i] },
743
743
  defaultParseWidth: "any"
744
744
  }),
745
- quarter: yt({
745
+ quarter: St({
746
746
  matchPatterns: {
747
747
  narrow: /^[1234]/i,
748
748
  abbreviated: /^[1234]\.\s?[čc]et\.?/i,
@@ -758,7 +758,7 @@ var Ct = {
758
758
  defaultParseWidth: "any",
759
759
  valueCallback: (e) => e + 1
760
760
  }),
761
- month: yt({
761
+ month: St({
762
762
  matchPatterns: {
763
763
  narrow: /^[jfmasond]/i,
764
764
  abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
@@ -811,7 +811,7 @@ var Ct = {
811
811
  },
812
812
  defaultParseWidth: "wide"
813
813
  }),
814
- day: yt({
814
+ day: St({
815
815
  matchPatterns: {
816
816
  narrow: /^[nptsčc]/i,
817
817
  short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
@@ -841,7 +841,7 @@ var Ct = {
841
841
  },
842
842
  defaultParseWidth: "any"
843
843
  }),
844
- dayPeriod: yt({
844
+ dayPeriod: St({
845
845
  matchPatterns: {
846
846
  narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
847
847
  any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i
@@ -876,16 +876,16 @@ var Ct = {
876
876
  weekStartsOn: 1,
877
877
  firstWeekContainsDate: 1
878
878
  }
879
- }, wt = {
880
- dateTimeLocale: x(Ct),
879
+ }, Dt = {
880
+ dateTimeLocale: x(Et),
881
881
  setDateTimeLocale(e) {
882
882
  f(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
883
883
  }
884
- }, Tt = class extends Error {
884
+ }, Ot = class extends Error {
885
885
  constructor(e) {
886
- super(e), st(this, "errorText", void 0), this.errorText = e;
886
+ super(e), ut(this, "errorText", void 0), this.errorText = e;
887
887
  }
888
- }, X = /* @__PURE__ */ l({
888
+ }, Y = /* @__PURE__ */ l({
889
889
  __name: "df-input-hint",
890
890
  props: {
891
891
  errors: { default: "" },
@@ -895,12 +895,12 @@ var Ct = {
895
895
  },
896
896
  setup(e) {
897
897
  let r = e, i = t(() => r.errors ? typeof r.errors == "string" ? r.errors.trim().length > 0 : r.errors.length > 0 : !1), a = t(() => i.value ? r.errors : r.message), o = t(() => i.value ? r.errorClasses : r.messageClasses);
898
- return (e, t) => (b(), n(k(B), {
898
+ return (e, t) => (b(), n(A(te), {
899
899
  message: a.value,
900
900
  classes: o.value
901
901
  }, null, 8, ["message", "classes"]));
902
902
  }
903
- }), Z = /* @__PURE__ */ l({
903
+ }), X = /* @__PURE__ */ l({
904
904
  __name: "df-label",
905
905
  props: {
906
906
  data: {},
@@ -911,7 +911,7 @@ var Ct = {
911
911
  let o = a, c = t(() => o.data ? o.data.label : o.label.text);
912
912
  return (t, o) => {
913
913
  let l = w("v-img");
914
- return b(), i("div", { class: g(["df-label", { "allow-wrap": a.allowWrap }]) }, [a.label.icon ? (b(), i(e, { key: 0 }, [a.label.iconComponent === "v-icon" ? (b(), n(k(V), {
914
+ return b(), i("div", { class: g(["df-label", { "allow-wrap": a.allowWrap }]) }, [a.label.icon ? (b(), i(e, { key: 0 }, [a.label.iconComponent === "v-icon" ? (b(), n(A(U), {
915
915
  key: 0,
916
916
  name: a.label.icon,
917
917
  size: "1.25em"
@@ -922,7 +922,7 @@ var Ct = {
922
922
  }, null, 8, ["src"])) : (b(), n(T(a.label.iconComponent), {
923
923
  key: 2,
924
924
  src: a.label.icon
925
- }, null, 8, ["src"]))], 64)) : r("", !0), c.value instanceof k(z) ? (b(), n(k(H), {
925
+ }, null, 8, ["src"]))], 64)) : r("", !0), c.value instanceof A(ee) ? (b(), n(A(ne), {
926
926
  key: 1,
927
927
  class: "markdown",
928
928
  source: c.value.toString(),
@@ -935,16 +935,16 @@ var Ct = {
935
935
  ])) : (b(), i(e, { key: 2 }, [s(D(c.value), 1)], 64))], 2);
936
936
  };
937
937
  }
938
- }), Et = Symbol("vuetifyInputsSettingsKey"), Dt = class {
938
+ }), kt = Symbol("vuetifyInputsSettingsKey"), At = class {
939
939
  constructor(e, t, n = "v-icon") {
940
- st(this, "text", void 0), st(this, "icon", void 0), st(this, "iconComponent", void 0), this.text = e, this.icon = t, this.iconComponent = n;
940
+ ut(this, "text", void 0), ut(this, "icon", void 0), ut(this, "iconComponent", void 0), this.text = e, this.icon = t, this.iconComponent = n;
941
941
  }
942
- }, Ot = {
942
+ }, Z = {
943
943
  enabled: void 0,
944
944
  clearable: !0
945
945
  };
946
946
  function Q(e, n) {
947
- let r = d(Et, {}), i = d("field-density", null), a = d("field-variant", null), o = x(null), s = E(null), c = t({
947
+ let r = d(kt, {}), i = d("field-density", null), a = d("field-variant", null), o = x(null), s = E(null), c = t({
948
948
  get() {
949
949
  return s.value ? s.value.value : e.control ? e.control.value : e.modelValue === void 0 ? o.value : e.modelValue;
950
950
  },
@@ -959,7 +959,7 @@ function Q(e, n) {
959
959
  e.modelValue === void 0 && (o.value = t), n("update:modelValue", e.control ? e.control.value : t);
960
960
  }
961
961
  });
962
- if (e.control && !(e.control instanceof I.FieldBase)) throw Error("control prop is not a vue-form control instance");
962
+ if (e.control && !(e.control instanceof R.FieldBase)) throw Error("control prop is not a vue-form control instance");
963
963
  let l = t({
964
964
  get() {
965
965
  return e.control.touched;
@@ -967,16 +967,16 @@ function Q(e, n) {
967
967
  set(t) {
968
968
  e.control.touched = t;
969
969
  }
970
- }), u = e.control ? l : x(!1), f = t(() => !e.control || e.control.valid), p = t(() => e.control ? e.control.errors : (e.errors || []).map((e) => new te(e))), m = t(() => u.value && p.value.length > 0 ? " " : void 0), g = t(() => u.value ? p.value : void 0), _ = t(() => e.control ? e.control.effectiveEnabled : e.enabled !== !1), v = t(() => e.control ? e.control.visibility : e.visibility == null ? I.DisplayMode.FULL : I.DisplayMode.fromAny(e.visibility)), y = t(() => v.value !== I.DisplayMode.SUPPRESS), b = t(() => ({
971
- "d-none": v.value === I.DisplayMode.HIDDEN,
972
- invisible: v.value === I.DisplayMode.INVISIBLE
970
+ }), u = e.control ? l : x(!1), f = t(() => !e.control || e.control.valid), p = t(() => e.control ? e.control.errors : (e.errors || []).map((e) => new H(e))), m = t(() => u.value && p.value.length > 0 ? " " : void 0), g = t(() => u.value ? p.value : void 0), _ = t(() => e.control ? e.control.effectiveEnabled : e.enabled !== !1), v = t(() => e.control ? e.control.visibility : e.visibility == null ? R.DisplayMode.FULL : R.DisplayMode.fromAny(e.visibility)), y = t(() => v.value !== R.DisplayMode.SUPPRESS), b = t(() => ({
971
+ "d-none": v.value === R.DisplayMode.HIDDEN,
972
+ invisible: v.value === R.DisplayMode.INVISIBLE
973
973
  })), S = t(() => {
974
974
  var t, n;
975
975
  return (t = (n = e.control) == null ? void 0 : n.extra) == null ? {} : t;
976
976
  }), C = t(() => {
977
977
  var t;
978
978
  let n = (t = e.label) == null ? S.value.label : t;
979
- return J(n || "") ? new Dt(n || "") : n;
979
+ return q(n || "") ? new At(n || "") : n;
980
980
  }), w = t(() => {
981
981
  var t, n;
982
982
  return (t = (n = e.placeholder) == null ? S.value.placeholder : n) == null ? "" : t;
@@ -986,13 +986,13 @@ function Q(e, n) {
986
986
  }), D = t(() => {
987
987
  var t, n;
988
988
  return (t = (n = e.hint) == null ? S.value.hint : n) == null ? "" : t;
989
- }), ee = t(() => {
989
+ }), k = t(() => {
990
990
  var t, n;
991
991
  return (t = (n = e.cssClass) == null ? S.value.cssClass : n) == null ? "" : t;
992
- }), k = t(() => {
992
+ }), A = t(() => {
993
993
  var t, n, a, o;
994
994
  return (t = (n = (a = (o = e.density) == null ? S.value.density : o) == null ? i : a) == null ? r.defaultDensity : n) == null ? "default" : t;
995
- }), A = t(() => k.value === "inline" ? "default" : k.value), j = t(() => {
995
+ }), j = t(() => A.value === "inline" ? "default" : A.value), M = t(() => {
996
996
  var t, n, i, o;
997
997
  return (t = (n = (i = (o = e.variant) == null ? S.value.variant : o) == null ? a : i) == null ? r.defaultVariant : n) == null ? "underlined" : t;
998
998
  });
@@ -1007,21 +1007,21 @@ function Q(e, n) {
1007
1007
  visibilityClass: b,
1008
1008
  label: C,
1009
1009
  touched: u,
1010
- density: k,
1011
- densityClass: t(() => `df-density-${k.value}`),
1010
+ density: A,
1011
+ densityClass: t(() => `df-density-${A.value}`),
1012
1012
  vuetifyBindings: t(() => {
1013
1013
  var t;
1014
- return Y({
1014
+ return J({
1015
1015
  name: (t = e.control) == null ? void 0 : t.fieldName,
1016
- class: ee.value,
1017
- density: A.value,
1018
- variant: j.value,
1016
+ class: k.value,
1017
+ density: j.value,
1018
+ variant: M.value,
1019
1019
  label: C.value.text,
1020
1020
  errorMessages: m.value,
1021
1021
  readonly: !_.value,
1022
1022
  disabled: !_.value,
1023
1023
  placeholder: w.value,
1024
- "persistent-placeholder": !q(w.value),
1024
+ "persistent-placeholder": !K(w.value),
1025
1025
  hint: D.value,
1026
1026
  persistentHint: !0,
1027
1027
  hideDetails: "auto",
@@ -1032,7 +1032,7 @@ function Q(e, n) {
1032
1032
  }
1033
1033
  //#endregion
1034
1034
  //#region src/helpers/input-base.vue?vue&type=script&setup=true&lang.ts
1035
- var kt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, At = /* @__PURE__ */ l({
1035
+ var jt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Mt = /* @__PURE__ */ l({
1036
1036
  __name: "input-base",
1037
1037
  props: {
1038
1038
  control: {},
@@ -1057,49 +1057,49 @@ var kt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, At = /* @__P
1057
1057
  "blur"
1058
1058
  ],
1059
1059
  setup(e, { emit: i }) {
1060
- let s = e, l = i, { isRendered: d, label: f, showErrors: p, touched: m, value: h, visibilityClass: v, vuetifyBindings: y } = Q(s, l), S = t(() => !!(k(s.clearable) && k(h))), T = x(!1);
1060
+ let s = e, l = i, { isRendered: d, label: f, showErrors: p, touched: m, value: h, visibilityClass: v, vuetifyBindings: y } = Q(s, l), S = t(() => !!(A(s.clearable) && A(h))), T = x(!1);
1061
1061
  function E(e) {
1062
1062
  T.value = e, e || (m.value = !0, l("blur"));
1063
1063
  }
1064
1064
  return (t, i) => {
1065
1065
  let s = w("v-field"), m = w("v-input");
1066
- return k(d) ? (b(), n(m, {
1066
+ return A(d) ? (b(), n(m, {
1067
1067
  key: 0,
1068
- name: k(y).name,
1069
- density: k(y).density,
1070
- hint: k(y).hint,
1071
- "persistent-hint": k(y).persistentHint,
1072
- "hide-details": k(y).hideDetails,
1073
- "error-messages": k(y).errorMessages,
1074
- class: g([e.cssClass, k(v)])
1068
+ name: A(y).name,
1069
+ density: A(y).density,
1070
+ hint: A(y).hint,
1071
+ "persistent-hint": A(y).persistentHint,
1072
+ "hide-details": A(y).hideDetails,
1073
+ "error-messages": A(y).errorMessages,
1074
+ class: g([e.cssClass, A(v)])
1075
1075
  }, o({
1076
- message: N(({ message: e }) => [c(X, {
1076
+ message: F(({ message: e }) => [c(Y, {
1077
1077
  message: e,
1078
- errors: k(p)
1078
+ errors: A(p)
1079
1079
  }, null, 8, ["message", "errors"])]),
1080
- default: N(() => [c(s, {
1081
- variant: k(y).variant,
1082
- density: k(y).density,
1083
- label: k(y).label,
1084
- disabled: k(y).disabled,
1080
+ default: F(() => [c(s, {
1081
+ variant: A(y).variant,
1082
+ density: A(y).density,
1083
+ label: A(y).label,
1084
+ disabled: A(y).disabled,
1085
1085
  clearable: S.value,
1086
1086
  "persistent-clear": !0,
1087
- dirty: !!k(h) || !!k(y).placeholder,
1087
+ dirty: !!A(h) || !!A(y).placeholder,
1088
1088
  active: T.value,
1089
1089
  loading: e.loading,
1090
1090
  "onClick:clear": i[0] || (i[0] = (e) => l("click:clear")),
1091
1091
  "onUpdate:focused": i[1] || (i[1] = (e) => E(e))
1092
1092
  }, o({
1093
- label: N((e) => [c(Z, {
1093
+ label: F((e) => [c(X, {
1094
1094
  data: e,
1095
- label: k(f)
1095
+ label: A(f)
1096
1096
  }, null, 8, ["data", "label"])]),
1097
- default: N((e) => [a("div", kt, [C(t.$slots, "default", _(u(e)))])]),
1098
- loader: N((e) => [C(t.$slots, "loader", _(u(e)))]),
1097
+ default: F((e) => [a("div", jt, [C(t.$slots, "default", _(u(e)))])]),
1098
+ loader: F((e) => [C(t.$slots, "loader", _(u(e)))]),
1099
1099
  _: 2
1100
1100
  }, [t.$slots["prepend-inner"] ? {
1101
1101
  name: "prepend-inner",
1102
- fn: N((e) => [C(t.$slots, "prepend-inner", _(u(e)))]),
1102
+ fn: F((e) => [C(t.$slots, "prepend-inner", _(u(e)))]),
1103
1103
  key: "0"
1104
1104
  } : void 0]), 1032, [
1105
1105
  "variant",
@@ -1114,7 +1114,7 @@ var kt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, At = /* @__P
1114
1114
  _: 2
1115
1115
  }, [t.$slots.prepend ? {
1116
1116
  name: "prepend",
1117
- fn: N((e) => [C(t.$slots, "prepend", _(u(e)))]),
1117
+ fn: F((e) => [C(t.$slots, "prepend", _(u(e)))]),
1118
1118
  key: "0"
1119
1119
  } : void 0]), 1032, [
1120
1120
  "name",
@@ -1127,7 +1127,7 @@ var kt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, At = /* @__P
1127
1127
  ])) : r("", !0);
1128
1128
  };
1129
1129
  }
1130
- }), { strings: jt, translateStrings: Mt } = le({
1130
+ }), { strings: Nt, translateStrings: Pt } = fe({
1131
1131
  Yes: "Yes",
1132
1132
  No: "No",
1133
1133
  Close: "Close",
@@ -1192,7 +1192,7 @@ var kt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, At = /* @__P
1192
1192
  InvalidHexColor: "Not a valid hex string."
1193
1193
  }), $ = /* @__PURE__ */ function(e) {
1194
1194
  return e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e;
1195
- }($ || {}), Nt = 0;
1195
+ }($ || {}), Ft = 0;
1196
1196
  (function(e) {
1197
1197
  function t(e) {
1198
1198
  return e.toUpperCase() === "BUTTON" ? 0 : +(e.toUpperCase() === "TEXT");
@@ -1211,15 +1211,15 @@ var kt = { class: "d-flex w-100 df-style-resetting df-sub-field" }, At = /* @__P
1211
1211
  })($ || ($ = {})), Object.freeze($);
1212
1212
  //#endregion
1213
1213
  //#region src/helpers/action/responsive-render-options.ts
1214
- var Pt = [
1214
+ var It = [
1215
1215
  "xs",
1216
1216
  "sm",
1217
1217
  "md",
1218
1218
  "lg",
1219
1219
  "xl"
1220
- ], Ft = class {
1220
+ ], Lt = class {
1221
1221
  constructor(e) {
1222
- st(this, "_value", void 0), this._value = this.cleanBreakpoint(e, !0), e && Pt.forEach((t) => {
1222
+ ut(this, "_value", void 0), this._value = this.cleanBreakpoint(e, !0), e && It.forEach((t) => {
1223
1223
  let n = this.cleanBreakpoint(e[t]);
1224
1224
  n && (this._value[t] = n);
1225
1225
  });
@@ -1227,43 +1227,43 @@ var Pt = [
1227
1227
  getOptionsForBreakpoint(e) {
1228
1228
  var t;
1229
1229
  let n = (t = this.cleanBreakpoint(this._value)) == null ? {} : t;
1230
- for (let t of Pt) {
1230
+ for (let t of It) {
1231
1231
  var r;
1232
1232
  let i = (r = this._value[t]) == null ? {} : r;
1233
1233
  for (let e of Object.keys(i)) {
1234
1234
  let t = i[e];
1235
- t != null && (n[e] = oe(t) ? Y(Y({}, n[e]), t) : t);
1235
+ t != null && (n[e] = le(t) ? J(J({}, n[e]), t) : t);
1236
1236
  }
1237
1237
  if (t === e) break;
1238
1238
  }
1239
1239
  return n;
1240
1240
  }
1241
1241
  };
1242
- function It(e) {
1242
+ function Rt(e) {
1243
1243
  return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
1244
1244
  }
1245
- function Lt() {
1246
- let e = ue();
1247
- return t(() => It(e));
1245
+ function zt() {
1246
+ let e = pe();
1247
+ return t(() => Rt(e));
1248
1248
  }
1249
1249
  //#endregion
1250
1250
  //#region src/helpers/action/action-render-options.ts
1251
- var Rt = class extends Ft {
1251
+ var Bt = class extends Lt {
1252
1252
  cleanBreakpoint(e, t = !1) {
1253
- if ((!e || !ae(e)) && !t) return null;
1253
+ if ((!e || !ce(e)) && !t) return null;
1254
1254
  let n = {};
1255
- return t && (n.renderAs = $.BUTTON, n.showLabel = !0, n.showIcon = !0), e && (e.renderAs != null && (n.renderAs = $.fromAny(e.renderAs)), J(e.label) && (n.label = e.label), 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), oe(e.passthroughAttrs) && (n.passthroughAttrs = Y({}, e.passthroughAttrs))), Object.keys(n).length ? n : null;
1255
+ return t && (n.renderAs = $.BUTTON, n.showLabel = !0, n.showIcon = !0), e && (e.renderAs != null && (n.renderAs = $.fromAny(e.renderAs)), q(e.label) && (n.label = e.label), q(e.icon) && (n.icon = e.icon), ae(e.showLabel) && (n.showLabel = e.showLabel), ae(e.showIcon) && (n.showIcon = e.showIcon), q(e.name) && (n.name = e.name), ae(e.defaultConfirm) && (n.defaultConfirm = e.defaultConfirm), ae(e.defaultReject) && (n.defaultReject = e.defaultReject), le(e.passthroughAttrs) && (n.passthroughAttrs = J({}, e.passthroughAttrs))), Object.keys(n).length ? n : null;
1256
1256
  }
1257
1257
  };
1258
- function zt(e, t) {
1259
- let n = new Rt(e).getOptionsForBreakpoint(t);
1258
+ function Vt(e, t) {
1259
+ let n = new Bt(e).getOptionsForBreakpoint(t);
1260
1260
  return {
1261
1261
  name: n.name,
1262
1262
  label: n.showLabel ? n.label : void 0,
1263
1263
  icon: n.showIcon ? n.icon : void 0,
1264
1264
  renderAs: n.renderAs,
1265
- showLabel: J(n.label) && !q(n.label) ? n.showLabel : !1,
1266
- showIcon: J(n.icon) && !q(n.icon) ? n.showIcon : !1,
1265
+ showLabel: q(n.label) && !K(n.label) ? n.showLabel : !1,
1266
+ showIcon: q(n.icon) && !K(n.icon) ? n.showIcon : !1,
1267
1267
  defaultConfirm: n.defaultConfirm,
1268
1268
  defaultReject: n.defaultReject,
1269
1269
  passthroughAttrs: n.passthroughAttrs
@@ -1271,9 +1271,9 @@ function zt(e, t) {
1271
1271
  }
1272
1272
  //#endregion
1273
1273
  //#region src/helpers/action/action.ts
1274
- var Bt = class e extends L {
1274
+ var Ht = class e extends z {
1275
1275
  getBreakpointValue(e) {
1276
- return t(() => zt(this.value, e.value));
1276
+ return t(() => Vt(this.value, e.value));
1277
1277
  }
1278
1278
  get name() {
1279
1279
  return this.value.name;
@@ -1282,13 +1282,13 @@ var Bt = class e extends L {
1282
1282
  return this.value.showLabel ? this.value.label : void 0;
1283
1283
  }
1284
1284
  get showLabel() {
1285
- return J(this.value.label) && !q(this.value.label) ? this.value.showLabel : !1;
1285
+ return q(this.value.label) && !K(this.value.label) ? this.value.showLabel : !1;
1286
1286
  }
1287
1287
  get renderedIcon() {
1288
1288
  return this.value.showIcon ? this.value.icon : void 0;
1289
1289
  }
1290
1290
  get showIcon() {
1291
- return J(this.value.icon) && !q(this.value.icon) ? this.value.showIcon : !1;
1291
+ return q(this.value.icon) && !K(this.value.icon) ? this.value.showIcon : !1;
1292
1292
  }
1293
1293
  get renderAs() {
1294
1294
  return this.value.renderAs;
@@ -1304,45 +1304,45 @@ var Bt = class e extends L {
1304
1304
  }
1305
1305
  static closeAction(t) {
1306
1306
  var n;
1307
- let r = Y(Y({}, t == null ? {} : t), {}, { value: {
1307
+ let r = J(J({}, t == null ? {} : t), {}, { value: {
1308
1308
  name: "close",
1309
- label: jt.Close,
1309
+ label: Nt.Close,
1310
1310
  icon: "ion-close-outline",
1311
1311
  renderAs: $.BUTTON,
1312
1312
  showLabel: !0,
1313
1313
  showIcon: !0
1314
1314
  } });
1315
- return r.value = Y(Y({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1315
+ return r.value = J(J({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1316
1316
  }
1317
1317
  static yesAction(t) {
1318
1318
  var n;
1319
- let r = Y(Y({}, t == null ? {} : t), {}, { value: {
1319
+ let r = J(J({}, t == null ? {} : t), {}, { value: {
1320
1320
  name: "yes",
1321
- label: jt.Yes,
1321
+ label: Nt.Yes,
1322
1322
  icon: "ion-thumbs-up-outline",
1323
1323
  renderAs: $.BUTTON,
1324
1324
  showLabel: !0,
1325
1325
  showIcon: !0
1326
1326
  } });
1327
- return r.value = Y(Y({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1327
+ return r.value = J(J({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1328
1328
  }
1329
1329
  static noAction(t) {
1330
1330
  var n;
1331
- let r = Y(Y({}, t == null ? {} : t), {}, { value: {
1331
+ let r = J(J({}, t == null ? {} : t), {}, { value: {
1332
1332
  name: "no",
1333
- label: jt.No,
1333
+ label: Nt.No,
1334
1334
  icon: "ion-thumbs-down-outline",
1335
1335
  renderAs: $.BUTTON,
1336
1336
  showLabel: !0,
1337
1337
  showIcon: !0
1338
1338
  } });
1339
- return r.value = Y(Y({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1339
+ return r.value = J(J({}, r.value), (n = t == null ? void 0 : t.value) == null ? {} : n), new e(r);
1340
1340
  }
1341
1341
  };
1342
1342
  //#endregion
1343
1343
  //#region src/helpers/use-file-touch-keepalive.ts
1344
- function Vt(e, t, n, r) {
1345
- let i = d(Et, {}), a = x(null);
1344
+ function Ut(e, t, n, r) {
1345
+ let i = d(kt, {}), a = x(null);
1346
1346
  function o() {
1347
1347
  a.value && window.clearInterval(a.value);
1348
1348
  }
@@ -1352,24 +1352,24 @@ function Vt(e, t, n, r) {
1352
1352
  let l = (s = (c = n()) == null ? i.defaultTouchInterval : c) == null ? 6e4 : s;
1353
1353
  a.value = window.setInterval(() => {
1354
1354
  e.value && t().touch(e.value).catch((e) => {
1355
- e instanceof Tt && r(e.errorText);
1355
+ e instanceof Ot && r(e.errorText);
1356
1356
  });
1357
1357
  }, l);
1358
1358
  }
1359
- return y(() => o()), M(e, (e) => e ? s() : o()), {
1359
+ return y(() => o()), N(e, (e) => e ? s() : o()), {
1360
1360
  setupTouchInterval: s,
1361
1361
  clearTouchInterval: o
1362
1362
  };
1363
1363
  }
1364
- function Ht(e, t) {
1365
- e && (e.errors = [new te(t)]);
1364
+ function Wt(e, t) {
1365
+ e && (e.errors = [new H(t)]);
1366
1366
  }
1367
1367
  //#endregion
1368
1368
  //#region src/df-actions.vue?vue&type=script&setup=true&lang.ts
1369
- var Ut = {
1369
+ var Gt = {
1370
1370
  key: 1,
1371
1371
  style: { width: "0.5rem" }
1372
- }, Wt = { key: 2 }, Gt = /* @__PURE__ */ l({
1372
+ }, Kt = { key: 2 }, qt = /* @__PURE__ */ l({
1373
1373
  __name: "df-actions",
1374
1374
  props: {
1375
1375
  actions: {},
@@ -1377,7 +1377,7 @@ var Ut = {
1377
1377
  showAsGroup: { default: "no" }
1378
1378
  },
1379
1379
  setup(a) {
1380
- let o = a, s = Lt(), c = t(() => k(o.actions).filter((e) => e.visibility !== R.SUPPRESS)), l = t(() => c.value.map((e) => Y({ action: e }, zt(e.value, s.value))));
1380
+ let o = a, s = zt(), c = t(() => A(o.actions).filter((e) => e.visibility !== B.SUPPRESS)), l = t(() => c.value.map((e) => J({ action: e }, Vt(e.value, s.value))));
1381
1381
  function u(e) {
1382
1382
  if (e.defaultConfirm) return "primary";
1383
1383
  if (e.defaultReject) return "secondary";
@@ -1392,24 +1392,24 @@ var Ut = {
1392
1392
  }])
1393
1393
  }, [(b(!0), i(e, null, S(l.value, (e, t) => (b(), n(s, m({
1394
1394
  key: t,
1395
- variant: e.renderAs === k($).BUTTON ? "tonal" : "text",
1395
+ variant: e.renderAs === A($).BUTTON ? "tonal" : "text",
1396
1396
  color: u(e),
1397
1397
  disabled: !e.action.effectiveEnabled || e.action.busy,
1398
1398
  loading: e.action.busy,
1399
1399
  elevation: 0,
1400
1400
  size: a.buttonSize,
1401
1401
  class: {
1402
- "d-none": e.action.visibility === k(R).HIDDEN,
1403
- invisible: e.action.visibility === k(R).INVISIBLE
1402
+ "d-none": e.action.visibility === A(B).HIDDEN,
1403
+ invisible: e.action.visibility === A(B).INVISIBLE
1404
1404
  }
1405
- }, { ref_for: !0 }, e.passthroughAttrs, { onClick: F((t) => e.action.execute(t), ["stop"]) }), {
1406
- default: N(() => [
1407
- e.icon ? (b(), n(k(V), {
1405
+ }, { ref_for: !0 }, e.passthroughAttrs, { onClick: L((t) => e.action.execute(t), ["stop"]) }), {
1406
+ default: F(() => [
1407
+ e.icon ? (b(), n(A(U), {
1408
1408
  key: 0,
1409
1409
  name: e.icon
1410
1410
  }, null, 8, ["name"])) : r("", !0),
1411
- e.icon && e.label ? (b(), i("span", Ut)) : r("", !0),
1412
- e.label ? (b(), i("span", Wt, D(e.label), 1)) : r("", !0)
1411
+ e.icon && e.label ? (b(), i("span", Gt)) : r("", !0),
1412
+ e.label ? (b(), i("span", Kt, D(e.label), 1)) : r("", !0)
1413
1413
  ]),
1414
1414
  _: 2
1415
1415
  }, 1040, [
@@ -1423,7 +1423,7 @@ var Ut = {
1423
1423
  ]))), 128))], 2)) : r("", !0);
1424
1424
  };
1425
1425
  }
1426
- }), Kt = /* @__PURE__ */ l({
1426
+ }), Jt = /* @__PURE__ */ l({
1427
1427
  __name: "df-checkbox",
1428
1428
  props: /*@__PURE__*/ p({
1429
1429
  allowNull: { type: Boolean },
@@ -1441,7 +1441,7 @@ var Ut = {
1441
1441
  passthroughAttrs: {},
1442
1442
  density: {},
1443
1443
  variant: {}
1444
- }, Y(Y({}, Ot), {}, { allowNull: !1 })),
1444
+ }, J(J({}, Z), {}, { allowNull: !1 })),
1445
1445
  emits: ["update:modelValue", "click:clear"],
1446
1446
  setup(e, { emit: i }) {
1447
1447
  let a = e, { densityClass: o, isRendered: s, label: l, showErrors: u, touched: d, value: f, visibilityClass: p, vuetifyBindings: h } = Q(a, i), g = t(() => a.allowNull && f.value == null), _ = t({
@@ -1451,32 +1451,32 @@ var Ut = {
1451
1451
  set() {}
1452
1452
  });
1453
1453
  function v() {
1454
- let e = ne(f.value);
1454
+ let e = W(f.value);
1455
1455
  e === !0 ? f.value = a.allowNull ? null : !1 : f.value = e === !1;
1456
1456
  }
1457
1457
  return (e, t) => {
1458
1458
  let i = w("v-checkbox");
1459
- return k(s) ? (b(), n(i, m({
1459
+ return A(s) ? (b(), n(i, m({
1460
1460
  key: 0,
1461
1461
  modelValue: _.value,
1462
1462
  "onUpdate:modelValue": t[0] || (t[0] = (e) => _.value = e),
1463
1463
  density: "compact",
1464
- class: [k(o), k(p)],
1464
+ class: [A(o), A(p)],
1465
1465
  indeterminate: g.value,
1466
1466
  "false-value": !1,
1467
1467
  "true-value": !0
1468
- }, k(h), {
1468
+ }, A(h), {
1469
1469
  onChange: v,
1470
1470
  onBlur: t[1] || (t[1] = (e) => d.value = !0)
1471
1471
  }), {
1472
- label: N((e) => [c(k(Z), {
1472
+ label: F((e) => [c(A(X), {
1473
1473
  "allow-wrap": !0,
1474
1474
  data: e,
1475
- label: k(l)
1475
+ label: A(l)
1476
1476
  }, null, 8, ["data", "label"])]),
1477
- message: N(({ message: e }) => [c(k(X), {
1477
+ message: F(({ message: e }) => [c(A(Y), {
1478
1478
  message: e,
1479
- errors: k(u)
1479
+ errors: A(u)
1480
1480
  }, null, 8, ["message", "errors"])]),
1481
1481
  _: 1
1482
1482
  }, 16, [
@@ -1486,7 +1486,7 @@ var Ut = {
1486
1486
  ])) : r("", !0);
1487
1487
  };
1488
1488
  }
1489
- }), qt = /* @__PURE__ */ l({
1489
+ }), Yt = /* @__PURE__ */ l({
1490
1490
  __name: "df-color",
1491
1491
  props: /*@__PURE__*/ p({
1492
1492
  allowNull: { type: Boolean },
@@ -1504,43 +1504,43 @@ var Ut = {
1504
1504
  passthroughAttrs: {},
1505
1505
  density: {},
1506
1506
  variant: {}
1507
- }, Y(Y({}, Ot), {}, { allowNull: !1 })),
1507
+ }, J(J({}, Z), {}, { allowNull: !1 })),
1508
1508
  emits: ["update:modelValue", "click:clear"],
1509
1509
  setup(e, { emit: i }) {
1510
- let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: g, vuetifyBindings: _ } = Q(o, i), y = x(!1), S = t(() => [(e) => o.control || !e && o.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(e) ? !0 : jt.InvalidHexColor]);
1510
+ let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: g, vuetifyBindings: _ } = Q(o, i), y = x(!1), S = t(() => [(e) => o.control || !e && o.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(e) ? !0 : Nt.InvalidHexColor]);
1511
1511
  return (t, i) => {
1512
1512
  let o = w("v-color-picker"), x = w("v-menu"), C = w("v-text-field");
1513
- return k(l) ? (b(), n(C, m({
1513
+ return A(l) ? (b(), n(C, m({
1514
1514
  key: 0,
1515
- modelValue: k(h),
1515
+ modelValue: A(h),
1516
1516
  "onUpdate:modelValue": i[2] || (i[2] = (e) => f(h) ? h.value = e : null),
1517
- class: [k(s), k(g)],
1517
+ class: [A(s), A(g)],
1518
1518
  clearable: e.allowNull,
1519
1519
  type: "text",
1520
1520
  rules: S.value
1521
- }, k(_), { onBlur: i[3] || (i[3] = (e) => p.value = !0) }), {
1522
- label: N((e) => [c(k(Z), {
1521
+ }, A(_), { onBlur: i[3] || (i[3] = (e) => p.value = !0) }), {
1522
+ label: F((e) => [c(A(X), {
1523
1523
  data: e,
1524
- label: k(u)
1524
+ label: A(u)
1525
1525
  }, null, 8, ["data", "label"])]),
1526
- message: N(({ message: e }) => [c(k(X), {
1526
+ message: F(({ message: e }) => [c(A(Y), {
1527
1527
  message: e,
1528
- errors: k(d)
1528
+ errors: A(d)
1529
1529
  }, null, 8, ["message", "errors"])]),
1530
- "prepend-inner": N(() => [a("div", { style: v([{
1530
+ "prepend-inner": F(() => [a("div", { style: v([{
1531
1531
  width: "24px",
1532
1532
  height: "24px",
1533
1533
  "border-radius": "4px",
1534
1534
  border: "1px solid #ccc"
1535
- }, { backgroundColor: k(h) }]) }, null, 4)]),
1536
- default: N(() => [c(x, {
1535
+ }, { backgroundColor: A(h) }]) }, null, 4)]),
1536
+ default: F(() => [c(x, {
1537
1537
  modelValue: y.value,
1538
1538
  "onUpdate:modelValue": i[1] || (i[1] = (e) => y.value = e),
1539
1539
  "close-on-content-click": !1,
1540
1540
  activator: "parent"
1541
1541
  }, {
1542
- default: N(() => [c(o, {
1543
- modelValue: k(h),
1542
+ default: F(() => [c(o, {
1543
+ modelValue: A(h),
1544
1544
  "onUpdate:modelValue": i[0] || (i[0] = (e) => f(h) ? h.value = e : null),
1545
1545
  mode: "hexa"
1546
1546
  }, null, 8, ["modelValue"])]),
@@ -1555,7 +1555,7 @@ var Ut = {
1555
1555
  ])) : r("", !0);
1556
1556
  };
1557
1557
  }
1558
- }), Jt = /* @__PURE__ */ l({
1558
+ }), Xt = /* @__PURE__ */ l({
1559
1559
  __name: "df-datetime",
1560
1560
  props: /*@__PURE__*/ p({
1561
1561
  inputType: {},
@@ -1576,7 +1576,7 @@ var Ut = {
1576
1576
  passthroughAttrs: {},
1577
1577
  density: {},
1578
1578
  variant: {}
1579
- }, Y(Y({}, Ot), {}, {
1579
+ }, J(J({}, Z), {}, {
1580
1580
  inputType: "datetime",
1581
1581
  displayFormatDate: "P",
1582
1582
  displayFormatTime: "p"
@@ -1585,129 +1585,129 @@ var Ut = {
1585
1585
  setup(e, { emit: i }) {
1586
1586
  let o = e, s = i, l = t(() => {
1587
1587
  var e;
1588
- return (e = o.locale) == null ? k(wt.dateTimeLocale) : e;
1588
+ return (e = o.locale) == null ? A(Dt.dateTimeLocale) : e;
1589
1589
  }), u = t(() => {
1590
1590
  var e, t;
1591
1591
  return (e = (t = l.value.options) == null ? void 0 : t.weekStartsOn) == null ? 1 : e;
1592
- }), { density: d, densityClass: f, touched: p, value: h, vuetifyBindings: _ } = Q(o, s), { inputType: v, displayFormatDate: y, displayFormatTime: S } = ee(o), C = x(""), E = t({
1592
+ }), { density: d, densityClass: f, touched: p, value: h, vuetifyBindings: _ } = Q(o, s), { inputType: v, displayFormatDate: y, displayFormatTime: S } = k(o), C = x(""), E = t({
1593
1593
  get() {
1594
- return k(C) === "date";
1594
+ return A(C) === "date";
1595
1595
  },
1596
1596
  set(e) {
1597
1597
  C.value = e ? "date" : "";
1598
1598
  }
1599
1599
  }), D = t({
1600
1600
  get() {
1601
- return k(C) === "time";
1601
+ return A(C) === "time";
1602
1602
  },
1603
1603
  set(e) {
1604
1604
  C.value = e ? "time" : "";
1605
1605
  }
1606
- }), O = (e) => `${de(e, "yyyy-MM-dd")}T${de(e, "HH:mm")}:00`, A = x(null);
1607
- function j(e, t) {
1608
- if (e == null) A.value = null;
1606
+ }), O = (e) => `${me(e, "yyyy-MM-dd")}T${me(e, "HH:mm")}:00`, j = x(null);
1607
+ function M(e, t) {
1608
+ if (e == null) j.value = null;
1609
1609
  else if (t === -1) {
1610
- if (k(v) === "time") A.value = O(/* @__PURE__ */ new Date()), j(`T${e}`, 1);
1610
+ if (A(v) === "time") j.value = O(/* @__PURE__ */ new Date()), M(`T${e}`, 1);
1611
1611
  else {
1612
1612
  let t = O(new Date(e));
1613
- j(t, 0), j(t, 1);
1613
+ M(t, 0), M(t, 1);
1614
1614
  }
1615
1615
  } else {
1616
- A.value == null && (A.value = O(/* @__PURE__ */ new Date()));
1617
- let n = A.value.split(/[TZ]/g);
1618
- n[t] = e.split(/[TZ]/g)[t], A.value = O(/* @__PURE__ */ new Date(`${n[0]}T${n[1].split(".")[0]}`)), k(v) === "date" ? h.value = n[0] : k(v) === "time" ? h.value = n[1] : h.value = k(A) + de(/* @__PURE__ */ new Date(), "XXX");
1616
+ j.value == null && (j.value = O(/* @__PURE__ */ new Date()));
1617
+ let n = j.value.split(/[TZ]/g);
1618
+ n[t] = e.split(/[TZ]/g)[t], j.value = O(/* @__PURE__ */ new Date(`${n[0]}T${n[1].split(".")[0]}`)), A(v) === "date" ? h.value = n[0] : A(v) === "time" ? h.value = n[1] : h.value = A(j) + me(/* @__PURE__ */ new Date(), "XXX");
1619
1619
  }
1620
1620
  }
1621
- M(h, (e) => j(e, -1), { immediate: !0 });
1622
- let F = t({
1621
+ N(h, (e) => M(e, -1), { immediate: !0 });
1622
+ let P = t({
1623
1623
  get() {
1624
- let e = k(A);
1624
+ let e = A(j);
1625
1625
  if (e == null) return null;
1626
1626
  let t = new Date(e);
1627
1627
  return Number.isNaN(t.getTime()) ? null : t;
1628
1628
  },
1629
1629
  set(e) {
1630
- j(O(e), 0);
1630
+ M(O(e), 0);
1631
1631
  }
1632
- }), I = t({
1632
+ }), L = t({
1633
1633
  get() {
1634
- let e = k(A);
1634
+ let e = A(j);
1635
1635
  return e == null ? "" : e.split(/[TZ]/g)[1].split(".")[0];
1636
1636
  },
1637
1637
  set(e) {
1638
- j(`T${e}`, 1);
1638
+ M(`T${e}`, 1);
1639
1639
  }
1640
- }), L = t({
1640
+ }), R = t({
1641
1641
  get() {
1642
- let e = k(F);
1643
- return e == null ? "" : de(e, k(y), { locale: l.value });
1642
+ let e = A(P);
1643
+ return e == null ? "" : me(e, A(y), { locale: l.value });
1644
1644
  },
1645
1645
  set(e) {
1646
1646
  try {
1647
- let t = fe(e, k(y), /* @__PURE__ */ new Date(), { locale: l.value });
1648
- j(O(t), 0);
1647
+ let t = he(e, A(y), /* @__PURE__ */ new Date(), { locale: l.value });
1648
+ M(O(t), 0);
1649
1649
  } catch (e) {
1650
1650
  console.error(e);
1651
1651
  }
1652
1652
  }
1653
- }), R = t({
1653
+ }), z = t({
1654
1654
  get() {
1655
- let e = k(F);
1656
- return e == null ? "" : de(e, k(S), { locale: l.value });
1655
+ let e = A(P);
1656
+ return e == null ? "" : me(e, A(S), { locale: l.value });
1657
1657
  },
1658
1658
  set(e) {
1659
1659
  let t = e.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
1660
1660
  if (t == null) return;
1661
- let n = se(t[1]), r = se(t[2]);
1662
- ie(n) || ie(r) || (t[3] && t[3].toLowerCase() === "pm" && n < 13 && (n += 12), j(`T${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}:00`, 1));
1661
+ let n = ue(t[1]), r = ue(t[2]);
1662
+ se(n) || se(r) || (t[3] && t[3].toLowerCase() === "pm" && n < 13 && (n += 12), M(`T${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}:00`, 1));
1663
1663
  }
1664
1664
  });
1665
1665
  return (t, i) => {
1666
1666
  let s = w("v-date-picker"), l = w("v-confirm-edit"), y = w("v-menu"), x = w("v-text-field"), S = w("v-time-picker");
1667
- return b(), n(k(At), m(o, {
1668
- class: k(f),
1667
+ return b(), n(A(Mt), m(o, {
1668
+ class: A(f),
1669
1669
  clearable: e.clearable,
1670
1670
  "onClick:clear": i[14] || (i[14] = (e) => h.value = null),
1671
1671
  onBlur: i[15] || (i[15] = (e) => p.value = !0)
1672
1672
  }), {
1673
- default: N((t) => [a("div", { class: g([
1673
+ default: F((t) => [a("div", { class: g([
1674
1674
  "d-flex",
1675
1675
  "w-100",
1676
- ["plain", "underlined"].includes(k(_).variant) ? void 0 : "ml-4",
1676
+ ["plain", "underlined"].includes(A(_).variant) ? void 0 : "ml-4",
1677
1677
  "df-input-wrapper",
1678
- k(d)
1679
- ]) }, [["date", "datetime"].includes(k(v)) ? (b(), n(x, m({
1678
+ A(d)
1679
+ ]) }, [["date", "datetime"].includes(A(v)) ? (b(), n(x, m({
1680
1680
  key: 0,
1681
- modelValue: L.value,
1682
- "onUpdate:modelValue": i[4] || (i[4] = (e) => L.value = e),
1681
+ modelValue: R.value,
1682
+ "onUpdate:modelValue": i[4] || (i[4] = (e) => R.value = e),
1683
1683
  style: { "flex-grow": "4" },
1684
1684
  density: "compact",
1685
1685
  variant: "plain",
1686
1686
  clearable: !1,
1687
1687
  "hide-details": !0,
1688
- readonly: k(_).readonly,
1689
- disabled: k(_).disabled,
1690
- name: `${k(_).name}-date`,
1691
- placeholder: k(_).placeholder
1688
+ readonly: A(_).readonly,
1689
+ disabled: A(_).disabled,
1690
+ name: `${A(_).name}-date`,
1691
+ placeholder: A(_).placeholder
1692
1692
  }, e.passthroughAttrs, {
1693
1693
  onClick: i[5] || (i[5] = (e) => C.value = "date"),
1694
- onKeydown: i[6] || (i[6] = P((e) => C.value = "date", ["space"])),
1694
+ onKeydown: i[6] || (i[6] = I((e) => C.value = "date", ["space"])),
1695
1695
  onFocus: (e) => t.focus(),
1696
1696
  onBlur: (e) => t.blur()
1697
1697
  }), {
1698
- default: N(() => [c(y, {
1698
+ default: F(() => [c(y, {
1699
1699
  modelValue: E.value,
1700
1700
  "onUpdate:modelValue": i[3] || (i[3] = (e) => E.value = e),
1701
1701
  "close-on-content-click": !1,
1702
1702
  activator: "parent"
1703
1703
  }, {
1704
- default: N(() => [c(l, {
1705
- modelValue: F.value,
1706
- "onUpdate:modelValue": i[0] || (i[0] = (e) => F.value = e),
1704
+ default: F(() => [c(l, {
1705
+ modelValue: P.value,
1706
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => P.value = e),
1707
1707
  onCancel: i[1] || (i[1] = (e) => C.value = ""),
1708
1708
  onSave: i[2] || (i[2] = (e) => C.value = "")
1709
1709
  }, {
1710
- default: N(({ model: e, actions: t }) => [c(s, {
1710
+ default: F(({ model: e, actions: t }) => [c(s, {
1711
1711
  modelValue: e.value,
1712
1712
  "onUpdate:modelValue": (t) => e.value = t,
1713
1713
  "hide-header": !0,
@@ -1715,7 +1715,7 @@ var Ut = {
1715
1715
  "show-adjacent-months": !0,
1716
1716
  "show-week": !0
1717
1717
  }, {
1718
- actions: N(() => [(b(), n(T(t)))]),
1718
+ actions: F(() => [(b(), n(T(t)))]),
1719
1719
  _: 2
1720
1720
  }, 1032, [
1721
1721
  "modelValue",
@@ -1735,44 +1735,44 @@ var Ut = {
1735
1735
  "placeholder",
1736
1736
  "onFocus",
1737
1737
  "onBlur"
1738
- ])) : r("", !0), ["time", "datetime"].includes(k(v)) ? (b(), n(x, m({
1738
+ ])) : r("", !0), ["time", "datetime"].includes(A(v)) ? (b(), n(x, m({
1739
1739
  key: 1,
1740
- modelValue: R.value,
1741
- "onUpdate:modelValue": i[11] || (i[11] = (e) => R.value = e),
1740
+ modelValue: z.value,
1741
+ "onUpdate:modelValue": i[11] || (i[11] = (e) => z.value = e),
1742
1742
  style: { "flex-grow": "3" },
1743
1743
  density: "compact",
1744
1744
  variant: "plain",
1745
1745
  clearable: !1,
1746
1746
  "hide-details": !0,
1747
- readonly: k(_).readonly,
1748
- disabled: k(_).disabled,
1749
- name: `${k(_).name}-time`,
1750
- placeholder: k(v) === "time" ? k(_).placeholder : void 0
1747
+ readonly: A(_).readonly,
1748
+ disabled: A(_).disabled,
1749
+ name: `${A(_).name}-time`,
1750
+ placeholder: A(v) === "time" ? A(_).placeholder : void 0
1751
1751
  }, e.passthroughAttrs, {
1752
1752
  onClick: i[12] || (i[12] = (e) => C.value = "time"),
1753
- onKeydown: i[13] || (i[13] = P((e) => C.value = "time", ["space"])),
1753
+ onKeydown: i[13] || (i[13] = I((e) => C.value = "time", ["space"])),
1754
1754
  onFocus: (e) => t.focus(),
1755
1755
  onBlur: (e) => t.blur()
1756
1756
  }), {
1757
- default: N(() => [c(y, {
1757
+ default: F(() => [c(y, {
1758
1758
  modelValue: D.value,
1759
1759
  "onUpdate:modelValue": i[10] || (i[10] = (e) => D.value = e),
1760
1760
  "close-on-content-click": !1,
1761
1761
  activator: "parent"
1762
1762
  }, {
1763
- default: N(() => [c(l, {
1764
- modelValue: I.value,
1765
- "onUpdate:modelValue": i[7] || (i[7] = (e) => I.value = e),
1763
+ default: F(() => [c(l, {
1764
+ modelValue: L.value,
1765
+ "onUpdate:modelValue": i[7] || (i[7] = (e) => L.value = e),
1766
1766
  onCancel: i[8] || (i[8] = (e) => C.value = ""),
1767
1767
  onSave: i[9] || (i[9] = (e) => C.value = "")
1768
1768
  }, {
1769
- default: N(({ model: e, actions: t }) => [c(S, {
1769
+ default: F(({ model: e, actions: t }) => [c(S, {
1770
1770
  modelValue: e.value,
1771
1771
  "onUpdate:modelValue": (t) => e.value = t,
1772
1772
  "hide-header": !0,
1773
1773
  format: "24hr"
1774
1774
  }, {
1775
- actions: N(() => [(b(), n(T(t)))]),
1775
+ actions: F(() => [(b(), n(T(t)))]),
1776
1776
  _: 2
1777
1777
  }, 1032, ["modelValue", "onUpdate:modelValue"])]),
1778
1778
  _: 1
@@ -1796,7 +1796,7 @@ var Ut = {
1796
1796
  });
1797
1797
  //#endregion
1798
1798
  //#region \0@oxc-project+runtime@0.146.0/helpers/esm/asyncToGenerator.js
1799
- function Yt(e, t, n, r, i, a, o) {
1799
+ function Zt(e, t, n, r, i, a, o) {
1800
1800
  try {
1801
1801
  var s = e[a](o), c = s.value;
1802
1802
  } catch (e) {
@@ -1805,16 +1805,16 @@ function Yt(e, t, n, r, i, a, o) {
1805
1805
  }
1806
1806
  s.done ? t(c) : Promise.resolve(c).then(r, i);
1807
1807
  }
1808
- function Xt(e) {
1808
+ function Qt(e) {
1809
1809
  return function() {
1810
1810
  var t = this, n = arguments;
1811
1811
  return new Promise(function(r, i) {
1812
1812
  var a = e.apply(t, n);
1813
1813
  function o(e) {
1814
- Yt(a, r, i, o, s, "next", e);
1814
+ Zt(a, r, i, o, s, "next", e);
1815
1815
  }
1816
1816
  function s(e) {
1817
- Yt(a, r, i, o, s, "throw", e);
1817
+ Zt(a, r, i, o, s, "throw", e);
1818
1818
  }
1819
1819
  o(void 0);
1820
1820
  });
@@ -1822,7 +1822,7 @@ function Xt(e) {
1822
1822
  }
1823
1823
  //#endregion
1824
1824
  //#region src/df-file.vue?vue&type=script&setup=true&lang.ts
1825
- var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
1825
+ var $t = ["title", "aria-label"], en = /* @__PURE__ */ l({
1826
1826
  __name: "df-file",
1827
1827
  props: /*@__PURE__*/ p({
1828
1828
  comms: {},
@@ -1841,76 +1841,76 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
1841
1841
  passthroughAttrs: {},
1842
1842
  density: {},
1843
1843
  variant: {}
1844
- }, Ot),
1844
+ }, Z),
1845
1845
  emits: ["update:modelValue", "click:clear"],
1846
1846
  setup(e, { emit: i }) {
1847
- let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Q(s, i), h = jt, _ = x(null), v = x(0), y = x(Math.round(Math.random() * 1e3)), S = x(), C = t(() => _.value && v.value < 100), T = t(() => !S.value && f.value ? f.value : ""), E = t(() => !S.value && !!f.value && !!s.comms.getDownloadUrl);
1847
+ let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Q(s, i), h = Nt, _ = x(null), v = x(0), y = x(Math.round(Math.random() * 1e3)), S = x(), C = t(() => _.value && v.value < 100), T = t(() => !S.value && f.value ? f.value : ""), E = t(() => !S.value && !!f.value && !!s.comms.getDownloadUrl);
1848
1848
  function D() {
1849
1849
  return O.apply(this, arguments);
1850
1850
  }
1851
1851
  function O() {
1852
- return O = Xt(function* () {
1852
+ return O = Qt(function* () {
1853
1853
  if (!f.value || !s.comms.getDownloadUrl) return;
1854
1854
  let e = yield s.comms.getDownloadUrl(f.value), t = document.createElement("a");
1855
1855
  t.href = e, t.download = "", t.rel = "noopener", t.click();
1856
1856
  }), O.apply(this, arguments);
1857
1857
  }
1858
- function ee() {
1859
- f.value = null, v.value = 0, y.value = Math.round(Math.random() * 1e3), _.value = null, S.value = null, M();
1858
+ function k() {
1859
+ f.value = null, v.value = 0, y.value = Math.round(Math.random() * 1e3), _.value = null, S.value = null, N();
1860
1860
  }
1861
- function A(e) {
1862
- ee(), Ht(s.control, e);
1861
+ function j(e) {
1862
+ k(), Wt(s.control, e);
1863
1863
  }
1864
- let { setupTouchInterval: j, clearTouchInterval: M } = Vt(f, () => s.comms, () => s.touchInterval, A);
1864
+ let { setupTouchInterval: M, clearTouchInterval: N } = Ut(f, () => s.comms, () => s.touchInterval, j);
1865
1865
  function P() {
1866
1866
  return I.apply(this, arguments);
1867
1867
  }
1868
1868
  function I() {
1869
- return I = Xt(function* () {
1870
- f.value && (yield s.comms.delete(f.value)), ee();
1869
+ return I = Qt(function* () {
1870
+ f.value && (yield s.comms.delete(f.value)), k();
1871
1871
  }), I.apply(this, arguments);
1872
1872
  }
1873
- function L(e) {
1874
- return R.apply(this, arguments);
1873
+ function R(e) {
1874
+ return z.apply(this, arguments);
1875
1875
  }
1876
- function R() {
1877
- return R = Xt(function* (e) {
1876
+ function z() {
1877
+ return z = Qt(function* (e) {
1878
1878
  v.value = -1, _.value = e;
1879
1879
  try {
1880
1880
  f.value = yield s.comms.upload(e, (e, t) => {
1881
1881
  v.value = Math.round(e * 100 / t);
1882
- }), v.value = 100, j();
1882
+ }), v.value = 100, M();
1883
1883
  } catch (e) {
1884
1884
  throw v.value = 0, _.value = null, y.value = Math.round(Math.random() * 1e3), S.value = null, e;
1885
1885
  }
1886
- }), R.apply(this, arguments);
1886
+ }), z.apply(this, arguments);
1887
1887
  }
1888
- function z(e) {
1889
- e && (Array.isArray(e) ? console.error("Uploading multiple files not supported right now") : L(e));
1888
+ function B(e) {
1889
+ e && (Array.isArray(e) ? console.error("Uploading multiple files not supported right now") : R(e));
1890
1890
  }
1891
1891
  return (t, i) => {
1892
1892
  let f = w("v-progress-linear"), y = w("v-file-input");
1893
- return b(), n(k(At), m(Y(Y({}, s), {}, { loading: C.value }), {
1894
- class: k(u),
1893
+ return b(), n(A(Mt), m(J(J({}, s), {}, { loading: C.value }), {
1894
+ class: A(u),
1895
1895
  clearable: "",
1896
1896
  "onClick:clear": P,
1897
1897
  onBlur: i[1] || (i[1] = (e) => d.value = !0)
1898
1898
  }), {
1899
- "prepend-inner": N(() => [c(k(V), { name: "mdi-paperclip" })]),
1900
- loader: N(() => [_.value && v.value < 100 ? (b(), n(f, {
1899
+ "prepend-inner": F(() => [c(A(U), { name: "mdi-paperclip" })]),
1900
+ loader: F(() => [_.value && v.value < 100 ? (b(), n(f, {
1901
1901
  key: 0,
1902
1902
  "model-value": v.value,
1903
1903
  indeterminate: v.value === -1
1904
1904
  }, null, 8, ["model-value", "indeterminate"])) : r("", !0)]),
1905
- default: N((t) => [a("div", { class: g(["d-flex w-100 position-relative df-input-wrapper", k(l)]) }, [c(y, m({
1905
+ default: F((t) => [a("div", { class: g(["d-flex w-100 position-relative df-input-wrapper", A(l)]) }, [c(y, m({
1906
1906
  modelValue: S.value,
1907
1907
  "onUpdate:modelValue": i[0] || (i[0] = (e) => S.value = e),
1908
1908
  label: T.value,
1909
1909
  density: "compact",
1910
1910
  variant: "plain",
1911
- readonly: k(p).readonly,
1912
- disabled: k(p).disabled,
1913
- name: k(p).name,
1911
+ readonly: A(p).readonly,
1912
+ disabled: A(p).disabled,
1913
+ name: A(p).name,
1914
1914
  "hide-details": !0,
1915
1915
  "show-size": !0,
1916
1916
  multiple: !1,
@@ -1918,18 +1918,18 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
1918
1918
  clearable: !1
1919
1919
  }, e.passthroughAttrs, {
1920
1920
  "prepend-icon": "",
1921
- "onUpdate:modelValue": z,
1921
+ "onUpdate:modelValue": B,
1922
1922
  onFocus: (e) => t.focus(),
1923
1923
  onBlur: (e) => t.blur()
1924
1924
  }), o({ _: 2 }, [E.value ? {
1925
1925
  name: "append-inner",
1926
- fn: N(() => [a("button", {
1926
+ fn: F(() => [a("button", {
1927
1927
  type: "button",
1928
1928
  class: "df-file-download-btn",
1929
- title: k(h).FileDownload,
1930
- "aria-label": k(h).FileDownload,
1931
- onClick: F(D, ["stop", "prevent"])
1932
- }, [c(k(V), { name: "mdi-download" })], 8, Zt)]),
1929
+ title: A(h).FileDownload,
1930
+ "aria-label": A(h).FileDownload,
1931
+ onClick: L(D, ["stop", "prevent"])
1932
+ }, [c(A(U), { name: "mdi-download" })], 8, $t)]),
1933
1933
  key: "0"
1934
1934
  } : void 0]), 1040, [
1935
1935
  "modelValue",
@@ -1945,17 +1945,17 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
1945
1945
  }, 16, ["class"]);
1946
1946
  };
1947
1947
  }
1948
- }), $t = [
1948
+ }), tn = [
1949
1949
  "id",
1950
1950
  "disabled",
1951
1951
  "name",
1952
1952
  "onFocus",
1953
1953
  "onBlur"
1954
- ], en = ["for"], tn = ["for"], nn = ["for", "title"], rn = [
1954
+ ], nn = ["for"], rn = ["for"], an = ["for", "title"], on = [
1955
1955
  "href",
1956
1956
  "title",
1957
1957
  "aria-label"
1958
- ], an = /* @__PURE__ */ l({
1958
+ ], sn = /* @__PURE__ */ l({
1959
1959
  __name: "df-image",
1960
1960
  props: /*@__PURE__*/ p({
1961
1961
  comms: {},
@@ -1974,144 +1974,144 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
1974
1974
  passthroughAttrs: {},
1975
1975
  density: {},
1976
1976
  variant: {}
1977
- }, Ot),
1977
+ }, Z),
1978
1978
  emits: ["update:modelValue", "click:clear"],
1979
1979
  setup(e, { emit: o }) {
1980
- let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Q(s, o), h = jt, _ = j(), S = x(null), C = x(0), T = x(null), E = x(0), O = x(null), ee = t(() => S.value && C.value < 100), A = t(() => !!(p.value.disabled || p.value.readonly)), M = t(() => E.value > 0), P = t(() => {
1980
+ let s = e, { density: l, densityClass: u, touched: d, value: f, vuetifyBindings: p } = Q(s, o), h = Nt, _ = M(), S = x(null), C = x(0), T = x(null), E = x(0), O = x(null), k = t(() => S.value && C.value < 100), j = t(() => !!(p.value.disabled || p.value.readonly)), N = t(() => E.value > 0), P = t(() => {
1981
1981
  var e;
1982
1982
  return (e = T.value) == null ? f.value ? f.value : null : e;
1983
1983
  }), I = t(() => !!f.value);
1984
- function L() {
1984
+ function R() {
1985
1985
  T.value && (URL.revokeObjectURL(T.value), T.value = null);
1986
1986
  }
1987
- function R() {
1988
- f.value = null, C.value = 0, S.value = null, L(), te();
1987
+ function z() {
1988
+ f.value = null, C.value = 0, S.value = null, R(), ee();
1989
1989
  }
1990
- function z(e) {
1991
- R(), Ht(s.control, e);
1990
+ function B(e) {
1991
+ z(), Wt(s.control, e);
1992
1992
  }
1993
- let { setupTouchInterval: B, clearTouchInterval: te } = Vt(f, () => s.comms, () => s.touchInterval, z);
1994
- y(() => L());
1995
- function H() {
1996
- return U.apply(this, arguments);
1993
+ let { setupTouchInterval: V, clearTouchInterval: ee } = Ut(f, () => s.comms, () => s.touchInterval, B);
1994
+ y(() => R());
1995
+ function te() {
1996
+ return H.apply(this, arguments);
1997
1997
  }
1998
- function U() {
1999
- return U = Xt(function* () {
2000
- f.value && (yield s.comms.delete(f.value)), R();
2001
- }), U.apply(this, arguments);
1998
+ function H() {
1999
+ return H = Qt(function* () {
2000
+ f.value && (yield s.comms.delete(f.value)), z();
2001
+ }), H.apply(this, arguments);
2002
2002
  }
2003
2003
  function ne(e) {
2004
- return W.apply(this, arguments);
2004
+ return re.apply(this, arguments);
2005
2005
  }
2006
- function W() {
2007
- return W = Xt(function* (e) {
2008
- C.value = -1, S.value = e, L(), T.value = URL.createObjectURL(e);
2006
+ function re() {
2007
+ return re = Qt(function* (e) {
2008
+ C.value = -1, S.value = e, R(), T.value = URL.createObjectURL(e);
2009
2009
  try {
2010
2010
  f.value = yield s.comms.upload(e, (e, t) => {
2011
2011
  C.value = Math.round(e * 100 / t);
2012
- }), C.value = 100, B();
2012
+ }), C.value = 100, V();
2013
2013
  } catch (e) {
2014
- throw C.value = 0, S.value = null, L(), e;
2014
+ throw C.value = 0, S.value = null, R(), e;
2015
2015
  }
2016
- }), W.apply(this, arguments);
2016
+ }), re.apply(this, arguments);
2017
2017
  }
2018
- function G(e) {
2018
+ function W(e) {
2019
2019
  if (!e.type.startsWith("image/")) {
2020
2020
  console.error("Only image files are supported");
2021
2021
  return;
2022
2022
  }
2023
2023
  ne(e);
2024
2024
  }
2025
- function K(e) {
2025
+ function ie(e) {
2026
2026
  var t;
2027
2027
  let n = e.target, r = (t = n.files) == null ? void 0 : t[0];
2028
- n.value = "", r && G(r);
2028
+ n.value = "", r && W(r);
2029
2029
  }
2030
- function q() {
2031
- A.value || (E.value += 1);
2030
+ function G() {
2031
+ j.value || (E.value += 1);
2032
2032
  }
2033
- function re() {
2033
+ function ae() {
2034
2034
  E.value = Math.max(0, E.value - 1);
2035
2035
  }
2036
- function ie(e) {
2036
+ function K(e) {
2037
2037
  var t;
2038
- if (E.value = 0, A.value) return;
2038
+ if (E.value = 0, j.value) return;
2039
2039
  let n = (t = e.dataTransfer) == null || (t = t.files) == null ? void 0 : t[0];
2040
- n && G(n);
2040
+ n && W(n);
2041
2041
  }
2042
2042
  return (e, t) => {
2043
2043
  let o = w("v-progress-linear"), y = w("v-img");
2044
- return b(), n(k(At), m(Y(Y({}, s), {}, { loading: ee.value }), {
2045
- class: ["df-image-field", k(u)],
2044
+ return b(), n(A(Mt), m(J(J({}, s), {}, { loading: k.value }), {
2045
+ class: ["df-image-field", A(u)],
2046
2046
  clearable: "",
2047
- "onClick:clear": H,
2047
+ "onClick:clear": te,
2048
2048
  onBlur: t[2] || (t[2] = (e) => d.value = !0)
2049
2049
  }), {
2050
- "prepend-inner": N(() => [c(k(V), { name: "mdi-image" })]),
2051
- loader: N(() => [S.value && C.value < 100 ? (b(), n(o, {
2050
+ "prepend-inner": F(() => [c(A(U), { name: "mdi-image" })]),
2051
+ loader: F(() => [S.value && C.value < 100 ? (b(), n(o, {
2052
2052
  key: 0,
2053
2053
  "model-value": C.value,
2054
2054
  indeterminate: C.value === -1
2055
2055
  }, null, 8, ["model-value", "indeterminate"])) : r("", !0)]),
2056
- default: N((e) => [a("div", {
2057
- class: g(["d-flex w-100 position-relative df-input-wrapper df-image-wrapper", [k(l), {
2058
- "df-image-dragging": M.value,
2059
- "df-image-disabled": A.value
2056
+ default: F((e) => [a("div", {
2057
+ class: g(["d-flex w-100 position-relative df-input-wrapper df-image-wrapper", [A(l), {
2058
+ "df-image-dragging": N.value,
2059
+ "df-image-disabled": j.value
2060
2060
  }]]),
2061
- onDragenter: F(q, ["prevent"]),
2062
- onDragover: t[0] || (t[0] = F(() => {}, ["prevent"])),
2063
- onDragleave: F(re, ["prevent"]),
2064
- onDrop: F(ie, ["prevent"]),
2065
- onClick: t[1] || (t[1] = F(() => {}, ["stop"]))
2061
+ onDragenter: L(G, ["prevent"]),
2062
+ onDragover: t[0] || (t[0] = L(() => {}, ["prevent"])),
2063
+ onDragleave: L(ae, ["prevent"]),
2064
+ onDrop: L(K, ["prevent"]),
2065
+ onClick: t[1] || (t[1] = L(() => {}, ["stop"]))
2066
2066
  }, [
2067
2067
  a("input", {
2068
- id: k(_),
2068
+ id: A(_),
2069
2069
  ref_key: "fileInputRef",
2070
2070
  ref: O,
2071
2071
  type: "file",
2072
2072
  accept: "image/*",
2073
2073
  class: "df-image-native-input",
2074
- disabled: A.value,
2075
- name: k(p).name,
2076
- onChange: K,
2074
+ disabled: j.value,
2075
+ name: A(p).name,
2076
+ onChange: ie,
2077
2077
  onFocus: (t) => e.focus(),
2078
2078
  onBlur: (t) => e.blur()
2079
- }, null, 40, $t),
2079
+ }, null, 40, tn),
2080
2080
  P.value ? (b(), i("label", {
2081
2081
  key: 0,
2082
- for: k(_),
2082
+ for: A(_),
2083
2083
  class: "df-image-preview-label"
2084
2084
  }, [c(y, {
2085
2085
  src: P.value,
2086
2086
  class: "df-image-preview",
2087
2087
  style: v(S.value && C.value < 100 ? "visibility: hidden" : "")
2088
- }, null, 8, ["src", "style"])], 8, en)) : (b(), i("label", {
2088
+ }, null, 8, ["src", "style"])], 8, nn)) : (b(), i("label", {
2089
2089
  key: 1,
2090
- for: k(_),
2090
+ for: A(_),
2091
2091
  class: "df-image-placeholder"
2092
- }, [c(k(V), { name: "mdi-tray-arrow-up" }), a("span", null, D(k(h).ImageDropHint), 1)], 8, tn)),
2093
- P.value && !A.value ? (b(), i("label", {
2092
+ }, [c(A(U), { name: "mdi-tray-arrow-up" }), a("span", null, D(A(h).ImageDropHint), 1)], 8, rn)),
2093
+ P.value && !j.value ? (b(), i("label", {
2094
2094
  key: 2,
2095
- for: k(_),
2095
+ for: A(_),
2096
2096
  class: "df-image-replace-btn",
2097
- title: k(h).ImageReplace
2098
- }, [c(k(V), { name: "mdi-pencil" })], 8, nn)) : r("", !0),
2097
+ title: A(h).ImageReplace
2098
+ }, [c(A(U), { name: "mdi-pencil" })], 8, an)) : r("", !0),
2099
2099
  I.value ? (b(), i("a", {
2100
2100
  key: 3,
2101
- href: k(f),
2101
+ href: A(f),
2102
2102
  download: "",
2103
2103
  target: "_blank",
2104
2104
  rel: "noopener",
2105
2105
  class: "df-image-download-btn",
2106
- title: k(h).ImageDownload,
2107
- "aria-label": k(h).ImageDownload
2108
- }, [c(k(V), { name: "mdi-download" })], 8, rn)) : r("", !0)
2106
+ title: A(h).ImageDownload,
2107
+ "aria-label": A(h).ImageDownload
2108
+ }, [c(A(U), { name: "mdi-download" })], 8, on)) : r("", !0)
2109
2109
  ], 34)]),
2110
2110
  _: 1
2111
2111
  }, 16, ["class"]);
2112
2112
  };
2113
2113
  }
2114
- }), on = /* @__PURE__ */ l({
2114
+ }), cn = /* @__PURE__ */ l({
2115
2115
  __name: "df-input",
2116
2116
  props: /*@__PURE__*/ p({
2117
2117
  inputType: {},
@@ -2133,7 +2133,7 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
2133
2133
  passthroughAttrs: {},
2134
2134
  density: {},
2135
2135
  variant: {}
2136
- }, Y(Y({}, Ot), {}, {
2136
+ }, J(J({}, Z), {}, {
2137
2137
  inputType: "text",
2138
2138
  precision: null,
2139
2139
  step: void 0,
@@ -2142,52 +2142,52 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
2142
2142
  })),
2143
2143
  emits: ["update:modelValue", "click:clear"],
2144
2144
  setup(e, { emit: a }) {
2145
- let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: _, vuetifyBindings: v } = Q(o, a), { inputType: y, max: x, min: S, precision: C, step: T } = ee(o), E = t(() => y.value === "number"), D = t(() => E.value ? {
2146
- min: k(S),
2147
- max: k(x),
2148
- precision: k(C),
2149
- step: k(T)
2145
+ let o = e, { densityClass: s, isRendered: l, label: u, showErrors: d, touched: p, value: h, visibilityClass: _, vuetifyBindings: v } = Q(o, a), { inputType: y, max: x, min: S, precision: C, step: T } = k(o), E = t(() => y.value === "number"), D = t(() => E.value ? {
2146
+ min: A(S),
2147
+ max: A(x),
2148
+ precision: A(C),
2149
+ step: A(T)
2150
2150
  } : {});
2151
2151
  return (e, t) => {
2152
2152
  let a = w("v-text-field"), o = w("v-number-input");
2153
- return k(l) ? (b(), i("div", {
2153
+ return A(l) ? (b(), i("div", {
2154
2154
  key: 0,
2155
- class: g(["df-input-container", [k(s), k(_)]])
2155
+ class: g(["df-input-container", [A(s), A(_)]])
2156
2156
  }, [E.value ? (b(), n(o, m({
2157
2157
  key: 1,
2158
- modelValue: k(h),
2158
+ modelValue: A(h),
2159
2159
  "onUpdate:modelValue": t[2] || (t[2] = (e) => f(h) ? h.value = e : null),
2160
2160
  density: "compact",
2161
2161
  "control-variant": "stacked"
2162
- }, Y(Y({}, k(v)), D.value)), {
2163
- label: N((e) => [c(k(Z), {
2162
+ }, J(J({}, A(v)), D.value)), {
2163
+ label: F((e) => [c(A(X), {
2164
2164
  data: e,
2165
- label: k(u)
2165
+ label: A(u)
2166
2166
  }, null, 8, ["data", "label"])]),
2167
- message: N(({ message: e }) => [c(k(X), {
2167
+ message: F(({ message: e }) => [c(A(Y), {
2168
2168
  message: e,
2169
- errors: k(d)
2169
+ errors: A(d)
2170
2170
  }, null, 8, ["message", "errors"])]),
2171
2171
  _: 1
2172
2172
  }, 16, ["modelValue"])) : (b(), n(a, m({
2173
2173
  key: 0,
2174
- modelValue: k(h),
2174
+ modelValue: A(h),
2175
2175
  "onUpdate:modelValue": t[0] || (t[0] = (e) => f(h) ? h.value = e : null),
2176
- type: k(y)
2177
- }, k(v), { onBlur: t[1] || (t[1] = (e) => p.value = !0) }), {
2178
- label: N((e) => [c(k(Z), {
2176
+ type: A(y)
2177
+ }, A(v), { onBlur: t[1] || (t[1] = (e) => p.value = !0) }), {
2178
+ label: F((e) => [c(A(X), {
2179
2179
  data: e,
2180
- label: k(u)
2180
+ label: A(u)
2181
2181
  }, null, 8, ["data", "label"])]),
2182
- message: N(({ message: e }) => [c(k(X), {
2182
+ message: F(({ message: e }) => [c(A(Y), {
2183
2183
  message: e,
2184
- errors: k(d)
2184
+ errors: A(d)
2185
2185
  }, null, 8, ["message", "errors"])]),
2186
2186
  _: 1
2187
2187
  }, 16, ["modelValue", "type"]))], 2)) : r("", !0);
2188
2188
  };
2189
2189
  }
2190
- }), sn = Te.create({
2190
+ }), ln = Oe.create({
2191
2191
  name: "classAttribute",
2192
2192
  addGlobalAttributes() {
2193
2193
  return [{
@@ -2205,8 +2205,8 @@ var Zt = ["title", "aria-label"], Qt = /* @__PURE__ */ l({
2205
2205
  }];
2206
2206
  }
2207
2207
  });
2208
- function cn(e, t) {
2209
- return Ee.create({
2208
+ function un(e, t) {
2209
+ return ke.create({
2210
2210
  name: e,
2211
2211
  parseHTML() {
2212
2212
  return [{ tag: `span.${t}` }];
@@ -2214,13 +2214,13 @@ function cn(e, t) {
2214
2214
  renderHTML({ HTMLAttributes: e }) {
2215
2215
  return [
2216
2216
  "span",
2217
- Oe(e, { class: t }),
2217
+ je(e, { class: t }),
2218
2218
  0
2219
2219
  ];
2220
2220
  }
2221
2221
  });
2222
2222
  }
2223
- var ln = cn("marker", "marker"), un = cn("spoiler", "spoiler"), dn = [
2223
+ var dn = un("marker", "marker"), fn = un("spoiler", "spoiler"), pn = [
2224
2224
  {
2225
2225
  key: "ArticleCategory",
2226
2226
  kind: "heading",
@@ -2270,67 +2270,67 @@ var ln = cn("marker", "marker"), un = cn("spoiler", "spoiler"), dn = [
2270
2270
  className: "fancy-code fancy-code-bright"
2271
2271
  }
2272
2272
  ];
2273
- function fn(e) {
2273
+ function mn(e) {
2274
2274
  let { state: t } = e, { $from: n } = t.selection;
2275
2275
  return n.depth > 0 || t.doc.content.size === 0 ? n : t.doc.resolve(Math.min(1, t.doc.content.size));
2276
2276
  }
2277
- function pn(e) {
2278
- return fn(e).parent;
2277
+ function hn(e) {
2278
+ return mn(e).parent;
2279
2279
  }
2280
- function mn(e, t) {
2281
- let n = fn(e);
2280
+ function gn(e, t) {
2281
+ let n = mn(e);
2282
2282
  for (let e = n.depth; e >= 0; --e) if (n.node(e).type.name === t) return n.node(e);
2283
2283
  return null;
2284
2284
  }
2285
- function hn(e, t) {
2285
+ function _n(e, t) {
2286
2286
  switch (t.kind) {
2287
2287
  case "heading": {
2288
- let n = pn(e);
2288
+ let n = hn(e);
2289
2289
  return n.type.name === "heading" && n.attrs.level === t.level && n.attrs.class === t.className;
2290
2290
  }
2291
2291
  case "paragraph": {
2292
- let n = pn(e);
2292
+ let n = hn(e);
2293
2293
  return n.type.name === "paragraph" && n.attrs.class === t.className;
2294
2294
  }
2295
2295
  case "codeBlock": {
2296
- let n = pn(e);
2296
+ let n = hn(e);
2297
2297
  return n.type.name === "codeBlock" && n.attrs.class === t.className;
2298
2298
  }
2299
2299
  case "blockquote": {
2300
- let n = mn(e, "blockquote");
2300
+ let n = gn(e, "blockquote");
2301
2301
  return !!n && n.attrs.class === t.className;
2302
2302
  }
2303
2303
  case "mark": return e.isActive(t.markName);
2304
2304
  default: return !1;
2305
2305
  }
2306
2306
  }
2307
- function gn(e, t) {
2307
+ function vn(e, t) {
2308
2308
  let n = e.chain().focus(), { $from: r } = e.state.selection;
2309
- switch (t.kind !== "mark" && r.depth === 0 && e.state.doc.content.size > 0 && n.setTextSelection(fn(e).pos), t.kind) {
2309
+ switch (t.kind !== "mark" && r.depth === 0 && e.state.doc.content.size > 0 && n.setTextSelection(mn(e).pos), t.kind) {
2310
2310
  case "heading":
2311
- hn(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setNode("heading", { level: t.level }).updateAttributes("heading", { class: t.className }).run();
2311
+ _n(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setNode("heading", { level: t.level }).updateAttributes("heading", { class: t.className }).run();
2312
2312
  break;
2313
2313
  case "paragraph":
2314
- hn(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setParagraph().updateAttributes("paragraph", { class: t.className }).run();
2314
+ _n(e, t) ? n.setParagraph().updateAttributes("paragraph", { class: null }).run() : n.setParagraph().updateAttributes("paragraph", { class: t.className }).run();
2315
2315
  break;
2316
2316
  case "blockquote":
2317
- hn(e, t) ? n.unsetBlockquote().run() : mn(e, "blockquote") ? n.updateAttributes("blockquote", { class: t.className }).run() : n.setBlockquote().updateAttributes("blockquote", { class: t.className }).run();
2317
+ _n(e, t) ? n.unsetBlockquote().run() : gn(e, "blockquote") ? n.updateAttributes("blockquote", { class: t.className }).run() : n.setBlockquote().updateAttributes("blockquote", { class: t.className }).run();
2318
2318
  break;
2319
2319
  case "codeBlock":
2320
- hn(e, t) ? n.toggleCodeBlock().updateAttributes("paragraph", { class: null }).run() : pn(e).type.name === "codeBlock" ? n.updateAttributes("codeBlock", { class: t.className }).run() : n.setCodeBlock().updateAttributes("codeBlock", { class: t.className }).run();
2320
+ _n(e, t) ? n.toggleCodeBlock().updateAttributes("paragraph", { class: null }).run() : hn(e).type.name === "codeBlock" ? n.updateAttributes("codeBlock", { class: t.className }).run() : n.setCodeBlock().updateAttributes("codeBlock", { class: t.className }).run();
2321
2321
  break;
2322
2322
  case "mark": n.toggleMark(t.markName).run();
2323
2323
  }
2324
2324
  }
2325
2325
  //#endregion
2326
2326
  //#region src/helpers/rtf-editor/image-paste.ts
2327
- function _n(e) {
2327
+ function yn(e) {
2328
2328
  return new Promise((t, n) => {
2329
2329
  let r = new FileReader();
2330
2330
  r.onload = () => t(r.result), r.onerror = () => n(r.error), r.readAsDataURL(e);
2331
2331
  });
2332
2332
  }
2333
- function vn(e) {
2333
+ function bn(e) {
2334
2334
  if (!e) return [];
2335
2335
  let t = [];
2336
2336
  return Array.from(e.items || []).forEach((e) => {
@@ -2342,25 +2342,25 @@ function vn(e) {
2342
2342
  e.type.startsWith("image/") && t.push(e);
2343
2343
  }), t;
2344
2344
  }
2345
- function yn(e) {
2345
+ function xn(e) {
2346
2346
  let t = 0;
2347
2347
  return e.forEach((e) => {
2348
- e.type.name === "image" ? t += 1 : e.content.size && (t += yn(e.content));
2348
+ e.type.name === "image" ? t += 1 : e.content.size && (t += xn(e.content));
2349
2349
  }), t;
2350
2350
  }
2351
- function bn(e, t, n) {
2351
+ function Sn(e, t, n) {
2352
2352
  let r = [];
2353
2353
  return e.forEach((e) => {
2354
- e.type.name === "image" && n.index < t.length ? (r.push(e.type.create(Y(Y({}, e.attrs), {}, { src: t[n.index] }), e.content, e.marks)), n.index += 1) : e.content.size ? r.push(e.copy(bn(e.content, t, n))) : r.push(e);
2355
- }), ke.fromArray(r);
2354
+ e.type.name === "image" && n.index < t.length ? (r.push(e.type.create(J(J({}, e.attrs), {}, { src: t[n.index] }), e.content, e.marks)), n.index += 1) : e.content.size ? r.push(e.copy(Sn(e.content, t, n))) : r.push(e);
2355
+ }), Me.fromArray(r);
2356
2356
  }
2357
- function xn(e) {
2357
+ function Cn(e) {
2358
2358
  return (t, n, r) => {
2359
- let i = vn(n.clipboardData);
2360
- return i.length !== 0 && (n.preventDefault(), Promise.all(i.map(_n)).then((n) => {
2359
+ let i = bn(n.clipboardData);
2360
+ return i.length !== 0 && (n.preventDefault(), Promise.all(i.map(yn)).then((n) => {
2361
2361
  var i;
2362
- if (yn(r.content) > 0) {
2363
- let e = bn(r.content, n, { index: 0 }), i = new Ae(e, r.openStart, r.openEnd);
2362
+ if (xn(r.content) > 0) {
2363
+ let e = Sn(r.content, n, { index: 0 }), i = new Ne(e, r.openStart, r.openEnd);
2364
2364
  t.dispatch(t.state.tr.replaceSelection(i).scrollIntoView());
2365
2365
  return;
2366
2366
  }
@@ -2373,11 +2373,11 @@ function xn(e) {
2373
2373
  }
2374
2374
  //#endregion
2375
2375
  //#region src/helpers/rtf-editor/link-with-download.ts
2376
- var Sn = je.extend({
2376
+ var wn = Pe.extend({
2377
2377
  name: "link",
2378
2378
  addAttributes() {
2379
2379
  var e;
2380
- return Y(Y({}, (e = this.parent) == null ? void 0 : e.call(this)), {}, { download: {
2380
+ return J(J({}, (e = this.parent) == null ? void 0 : e.call(this)), {}, { download: {
2381
2381
  default: null,
2382
2382
  parseHTML: (e) => e.getAttribute("download"),
2383
2383
  renderHTML: (e) => e.download ? { download: e.download } : {}
@@ -2386,7 +2386,7 @@ var Sn = je.extend({
2386
2386
  });
2387
2387
  //#endregion
2388
2388
  //#region src/helpers/rtf-editor/media-embed.ts
2389
- function Cn(e) {
2389
+ function Tn(e) {
2390
2390
  let t;
2391
2391
  try {
2392
2392
  t = new URL(e);
@@ -2412,7 +2412,7 @@ function Cn(e) {
2412
2412
  }
2413
2413
  return null;
2414
2414
  }
2415
- var wn = De.create({
2415
+ var En = Ae.create({
2416
2416
  name: "mediaEmbed",
2417
2417
  group: "block",
2418
2418
  atom: !0,
@@ -2424,7 +2424,7 @@ var wn = De.create({
2424
2424
  return [{ tag: "iframe.media-embed" }];
2425
2425
  },
2426
2426
  renderHTML({ HTMLAttributes: e }) {
2427
- return ["iframe", Oe({
2427
+ return ["iframe", je({
2428
2428
  class: "media-embed",
2429
2429
  frameborder: "0",
2430
2430
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
@@ -2434,25 +2434,28 @@ var wn = De.create({
2434
2434
  });
2435
2435
  //#endregion
2436
2436
  //#region src/helpers/rtf-editor/use-editor-tick.ts
2437
- function Tn(e) {
2437
+ function Dn(e) {
2438
2438
  let t = x(0), n, r = () => {
2439
2439
  t.value += 1;
2440
2440
  }, i = (e) => {
2441
2441
  n == null || n.off("transaction", r), n = e, n == null || n.on("transaction", r);
2442
2442
  };
2443
- return M(e, i, { immediate: !0 }), y(() => i(void 0)), t;
2443
+ return N(e, i, { immediate: !0 }), y(() => i(void 0)), t;
2444
2444
  }
2445
2445
  //#endregion
2446
2446
  //#region src/helpers/rtf-editor/rtf-toolbar.vue?vue&type=script&setup=true&lang.ts
2447
- var En = { class: "d-flex justify-end ga-2 mt-2" }, Dn = { class: "d-flex justify-space-between align-center ga-2 mt-2" }, On = { class: "d-flex justify-end mt-2" }, kn = /* @__PURE__ */ l({
2447
+ var On = { class: "rtf-toolbar-group" }, kn = { class: "d-flex justify-end ga-2 mt-2" }, An = { class: "d-flex justify-space-between align-center ga-2 mt-2" }, jn = { class: "d-flex justify-end mt-2" }, Mn = /* @__PURE__ */ l({
2448
2448
  __name: "rtf-toolbar",
2449
- props: { editor: {} },
2449
+ props: {
2450
+ editor: { default: void 0 },
2451
+ buttonSize: { default: "small" }
2452
+ },
2450
2453
  setup(o) {
2451
- let l = o, u = jt, d = t(() => l.editor), f = Tn(d), p = t(() => {
2454
+ let l = o, u = t(() => l.buttonSize), d = Nt, f = t(() => l.editor), p = Dn(f), h = t(() => {
2452
2455
  var e;
2453
2456
  return !!((e = l.editor) != null && e.isEditable);
2454
- }), h = t(() => {
2455
- f.value;
2457
+ }), _ = t(() => {
2458
+ p.value;
2456
2459
  let e = l.editor;
2457
2460
  return {
2458
2461
  canUndo: !!(e != null && e.can().undo()),
@@ -2471,192 +2474,251 @@ var En = { class: "d-flex justify-end ga-2 mt-2" }, Dn = { class: "d-flex justif
2471
2474
  canLift: !!(e != null && e.can().liftListItem("listItem")),
2472
2475
  canSink: !!(e != null && e.can().sinkListItem("listItem"))
2473
2476
  };
2474
- }), _ = t(() => {
2475
- if (h.value.alignLeft) return "left";
2476
- if (h.value.alignCenter) return "center";
2477
- if (h.value.alignRight) return "right";
2478
- if (h.value.alignJustify) return "justify";
2477
+ }), v = t(() => {
2478
+ if (_.value.alignLeft) return "left";
2479
+ if (_.value.alignCenter) return "center";
2480
+ if (_.value.alignRight) return "right";
2481
+ if (_.value.alignJustify) return "justify";
2479
2482
  });
2480
- function v(e) {
2483
+ function y(e) {
2481
2484
  var t;
2482
- typeof e == "string" && ((t = d.value) == null || t.chain().focus().setTextAlign(e).run());
2485
+ typeof e == "string" && ((t = f.value) == null || t.chain().focus().setTextAlign(e).run());
2486
+ }
2487
+ let C = [];
2488
+ function T(e, t, n, r, i) {
2489
+ let a = new z({
2490
+ value: {
2491
+ icon: e,
2492
+ renderAs: $.TEXT,
2493
+ showIcon: !0,
2494
+ showLabel: !1
2495
+ },
2496
+ actions: [new V((e, n, r) => (t(), n(e, r)))]
2497
+ });
2498
+ return C.push({
2499
+ action: a,
2500
+ title: n,
2501
+ disabled: r,
2502
+ active: i
2503
+ }), a;
2504
+ }
2505
+ function E({ action: e, title: t, disabled: n, active: r }) {
2506
+ var i;
2507
+ let a = {
2508
+ title: t(),
2509
+ icon: !0
2510
+ };
2511
+ r && (a.active = r()), oe((i = e.value.passthroughAttrs) == null ? {} : i, a) || (e.value = J(J({}, e.value), {}, { passthroughAttrs: a }));
2512
+ let o = !n();
2513
+ e.enabled !== o && (e.enabled = o);
2483
2514
  }
2484
- let y = t(() => [
2515
+ let O = [T("mdi-undo", () => {
2516
+ var e;
2517
+ return (e = f.value) == null ? void 0 : e.chain().focus().undo().run();
2518
+ }, () => d.Undo, () => !h.value || !_.value.canUndo), T("mdi-redo", () => {
2519
+ var e;
2520
+ return (e = f.value) == null ? void 0 : e.chain().focus().redo().run();
2521
+ }, () => d.Redo, () => !h.value || !_.value.canRedo)], k = [T("mdi-format-bold", () => {
2522
+ var e;
2523
+ return (e = f.value) == null ? void 0 : e.chain().focus().toggleBold().run();
2524
+ }, () => d.Bold, () => !h.value, () => _.value.bold), T("mdi-format-italic", () => {
2525
+ var e;
2526
+ return (e = f.value) == null ? void 0 : e.chain().focus().toggleItalic().run();
2527
+ }, () => d.Italic, () => !h.value, () => _.value.italic)], j = [
2528
+ {
2529
+ value: "left",
2530
+ icon: "mdi-format-align-left",
2531
+ title: () => d.AlignLeft
2532
+ },
2533
+ {
2534
+ value: "center",
2535
+ icon: "mdi-format-align-center",
2536
+ title: () => d.AlignCenter
2537
+ },
2538
+ {
2539
+ value: "right",
2540
+ icon: "mdi-format-align-right",
2541
+ title: () => d.AlignRight
2542
+ },
2543
+ {
2544
+ value: "justify",
2545
+ icon: "mdi-format-align-justify",
2546
+ title: () => d.AlignJustify
2547
+ }
2548
+ ].map((e) => T(e.icon, () => y(e.value), e.title, () => !h.value, () => v.value === e.value)), M = [
2549
+ T("mdi-format-list-bulleted", () => {
2550
+ var e;
2551
+ return (e = f.value) == null ? void 0 : e.chain().focus().toggleBulletList().run();
2552
+ }, () => d.BulletedList, () => !h.value, () => _.value.bulletList),
2553
+ T("mdi-format-list-numbered", () => {
2554
+ var e;
2555
+ return (e = f.value) == null ? void 0 : e.chain().focus().toggleOrderedList().run();
2556
+ }, () => d.NumberedList, () => !h.value, () => _.value.orderedList),
2557
+ T("mdi-format-indent-decrease", () => {
2558
+ var e;
2559
+ return (e = f.value) == null ? void 0 : e.chain().focus().liftListItem("listItem").run();
2560
+ }, () => d.Outdent, () => !h.value || !_.value.canLift),
2561
+ T("mdi-format-indent-increase", () => {
2562
+ var e;
2563
+ return (e = f.value) == null ? void 0 : e.chain().focus().sinkListItem("listItem").run();
2564
+ }, () => d.Indent, () => !h.value || !_.value.canSink)
2565
+ ];
2566
+ P(() => {
2567
+ C.forEach(E);
2568
+ });
2569
+ let N = t(() => [
2485
2570
  {
2486
2571
  level: 0,
2487
- label: u.Paragraph
2572
+ label: d.Paragraph
2488
2573
  },
2489
2574
  {
2490
2575
  level: 1,
2491
- label: u.Heading1
2576
+ label: d.Heading1
2492
2577
  },
2493
2578
  {
2494
2579
  level: 2,
2495
- label: u.Heading2
2580
+ label: d.Heading2
2496
2581
  },
2497
2582
  {
2498
2583
  level: 3,
2499
- label: u.Heading3
2584
+ label: d.Heading3
2500
2585
  },
2501
2586
  {
2502
2587
  level: 4,
2503
- label: u.Heading4
2588
+ label: d.Heading4
2504
2589
  },
2505
2590
  {
2506
2591
  level: 5,
2507
- label: u.Heading5
2592
+ label: d.Heading5
2508
2593
  },
2509
2594
  {
2510
2595
  level: 6,
2511
- label: u.Heading6
2596
+ label: d.Heading6
2512
2597
  }
2513
2598
  ]);
2514
- function C(e) {
2599
+ function L(e) {
2515
2600
  var t, n;
2516
- return f.value, e === 0 ? !!((t = d.value) != null && t.isActive("paragraph")) : !!((n = d.value) != null && n.isActive("heading", { level: e }));
2601
+ return p.value, e === 0 ? !!((t = f.value) != null && t.isActive("paragraph")) : !!((n = f.value) != null && n.isActive("heading", { level: e }));
2517
2602
  }
2518
- let T = t(() => {
2603
+ let R = t(() => {
2519
2604
  var e, t;
2520
- return (e = (t = y.value.find((e) => C(e.level))) == null ? void 0 : t.label) == null ? u.Paragraph : e;
2605
+ return (e = (t = N.value.find((e) => L(e.level))) == null ? void 0 : t.label) == null ? d.Paragraph : e;
2521
2606
  });
2522
- function E(e) {
2607
+ function B(e) {
2523
2608
  var t;
2524
- let n = (t = d.value) == null ? void 0 : t.chain().focus();
2609
+ let n = (t = f.value) == null ? void 0 : t.chain().focus();
2525
2610
  n && (e === 0 ? n.setParagraph().run() : n.toggleHeading({ level: e }).run());
2526
2611
  }
2527
- let O = dn;
2528
- function ee(e) {
2529
- return f.value, !!d.value && hn(d.value, e);
2612
+ let ee = pn;
2613
+ function te(e) {
2614
+ return p.value, !!f.value && _n(f.value, e);
2530
2615
  }
2531
- let A = x(""), j = x(!1);
2532
- function M() {
2616
+ let H = x(""), ne = x(!1);
2617
+ function re() {
2533
2618
  var e, t, n;
2534
- let r = (e = (t = d.value) == null ? void 0 : t.getAttributes("link")) == null ? {} : e;
2535
- A.value = (n = r.href) == null ? "" : n, j.value = !!r.download;
2619
+ let r = (e = (t = f.value) == null ? void 0 : t.getAttributes("link")) == null ? {} : e;
2620
+ H.value = (n = r.href) == null ? "" : n, ne.value = !!r.download;
2536
2621
  }
2537
- function F() {
2622
+ function W() {
2538
2623
  var e;
2539
- A.value && ((e = d.value) == null || e.chain().focus().extendMarkRange("link").setLink({ href: A.value }).updateAttributes("link", { download: j.value ? "file" : null }).run());
2624
+ H.value && ((e = f.value) == null || e.chain().focus().extendMarkRange("link").setLink({ href: H.value }).updateAttributes("link", { download: ne.value ? "file" : null }).run());
2540
2625
  }
2541
- function I() {
2626
+ function ie() {
2542
2627
  var e;
2543
- (e = d.value) == null || e.chain().focus().unsetLink().run();
2628
+ (e = f.value) == null || e.chain().focus().unsetLink().run();
2544
2629
  }
2545
- let L = x(""), R = x();
2546
- function z() {
2630
+ let G = x(""), ae = x();
2631
+ function K() {
2547
2632
  var e;
2548
- L.value && ((e = d.value) == null || e.chain().focus().setImage({ src: L.value }).run(), L.value = "");
2633
+ G.value && ((e = f.value) == null || e.chain().focus().setImage({ src: G.value }).run(), G.value = "");
2549
2634
  }
2550
- function B() {
2635
+ function se() {
2551
2636
  var e;
2552
- (e = R.value) == null || e.click();
2637
+ (e = ae.value) == null || e.click();
2553
2638
  }
2554
- function te(e) {
2555
- return H.apply(this, arguments);
2639
+ function ce(e) {
2640
+ return le.apply(this, arguments);
2556
2641
  }
2557
- function H() {
2558
- return H = Xt(function* (e) {
2642
+ function le() {
2643
+ return le = Qt(function* (e) {
2559
2644
  var t, n;
2560
2645
  let r = (t = e.target.files) == null ? void 0 : t[0];
2561
2646
  if (!r) return;
2562
- let i = yield _n(r);
2563
- (n = d.value) == null || n.chain().focus().setImage({ src: i }).run(), e.target.value = "";
2564
- }), H.apply(this, arguments);
2647
+ let i = yield yn(r);
2648
+ (n = f.value) == null || n.chain().focus().setImage({ src: i }).run(), e.target.value = "";
2649
+ }), le.apply(this, arguments);
2565
2650
  }
2566
- let U = x("");
2567
- function ne() {
2651
+ let q = x("");
2652
+ function ue() {
2568
2653
  var e;
2569
- if (!U.value) return;
2570
- let t = Cn(U.value), n = (e = d.value) == null ? void 0 : e.chain().focus();
2654
+ if (!q.value) return;
2655
+ let t = Tn(q.value), n = (e = f.value) == null ? void 0 : e.chain().focus();
2571
2656
  n && (t ? n.insertContent({
2572
2657
  type: "mediaEmbed",
2573
2658
  attrs: { src: t }
2574
2659
  }).run() : n.insertContent({
2575
2660
  type: "text",
2576
- text: U.value,
2661
+ text: q.value,
2577
2662
  marks: [{
2578
2663
  type: "link",
2579
- attrs: { href: U.value }
2664
+ attrs: { href: q.value }
2580
2665
  }]
2581
- }).run(), U.value = "");
2666
+ }).run(), q.value = "");
2582
2667
  }
2583
2668
  return (t, o) => {
2584
- let l = w("v-btn"), f = w("v-btn-group"), x = w("v-divider"), H = w("v-list-item-title"), W = w("v-list-item"), G = w("v-list"), K = w("v-menu"), q = w("v-text-field"), re = w("v-checkbox"), ie = w("v-card"), ae = w("v-btn-toggle");
2585
- return b(), i("div", { class: g(["rtf-toolbar", { "rtf-toolbar--disabled": !p.value }]) }, [
2586
- c(f, {
2587
- size: "small",
2588
- variant: "text",
2589
- rounded: "sm"
2590
- }, {
2591
- default: N(() => [c(l, {
2592
- icon: "",
2593
- rounded: "sm",
2594
- title: k(u).Undo,
2595
- disabled: !p.value || !h.value.canUndo,
2596
- onClick: o[0] || (o[0] = (e) => {
2597
- var t;
2598
- return (t = d.value) == null ? void 0 : t.chain().focus().undo().run();
2599
- })
2600
- }, {
2601
- default: N(() => [c(k(V), { name: "mdi-undo" })]),
2602
- _: 1
2603
- }, 8, ["title", "disabled"]), c(l, {
2604
- icon: "",
2605
- rounded: "sm",
2606
- title: k(u).Redo,
2607
- disabled: !p.value || !h.value.canRedo,
2608
- onClick: o[1] || (o[1] = (e) => {
2609
- var t;
2610
- return (t = d.value) == null ? void 0 : t.chain().focus().redo().run();
2611
- })
2612
- }, {
2613
- default: N(() => [c(k(V), { name: "mdi-redo" })]),
2614
- _: 1
2615
- }, 8, ["title", "disabled"])]),
2616
- _: 1
2617
- }),
2618
- c(x, {
2669
+ let l = w("v-divider"), p = w("v-btn"), v = w("v-list-item-title"), y = w("v-list-item"), x = w("v-list"), C = w("v-menu"), T = w("v-text-field"), E = w("v-checkbox"), P = w("v-card");
2670
+ return b(), i("div", { class: g(["rtf-toolbar", { "rtf-toolbar--disabled": !h.value }]) }, [
2671
+ c(qt, {
2672
+ actions: O,
2673
+ "button-size": u.value,
2674
+ "show-as-group": "grouped-no-borders"
2675
+ }, null, 8, ["button-size"]),
2676
+ c(l, {
2619
2677
  vertical: "",
2620
2678
  inset: "",
2621
2679
  class: "mx-1"
2622
2680
  }),
2623
- c(l, {
2681
+ c(p, {
2624
2682
  icon: "",
2625
- size: "small",
2683
+ size: u.value,
2626
2684
  variant: "text",
2627
2685
  rounded: "sm",
2628
- title: k(u).SelectAll,
2629
- disabled: !p.value,
2630
- onClick: o[2] || (o[2] = (e) => {
2686
+ title: A(d).SelectAll,
2687
+ disabled: !h.value,
2688
+ onClick: o[0] || (o[0] = (e) => {
2631
2689
  var t;
2632
- return (t = d.value) == null ? void 0 : t.chain().focus().selectAll().run();
2690
+ return (t = f.value) == null ? void 0 : t.chain().focus().selectAll().run();
2633
2691
  })
2634
2692
  }, {
2635
- default: N(() => [c(k(V), { name: "mdi-select-all" })]),
2693
+ default: F(() => [c(A(U), { name: "mdi-select-all" })]),
2636
2694
  _: 1
2637
- }, 8, ["title", "disabled"]),
2638
- c(x, {
2695
+ }, 8, [
2696
+ "size",
2697
+ "title",
2698
+ "disabled"
2699
+ ]),
2700
+ c(l, {
2639
2701
  vertical: "",
2640
2702
  inset: "",
2641
2703
  class: "mx-1"
2642
2704
  }),
2643
- c(K, null, {
2644
- activator: N(({ props: e }) => [c(l, m({
2645
- size: "small",
2705
+ c(C, null, {
2706
+ activator: F(({ props: e }) => [c(p, m({
2707
+ size: u.value,
2646
2708
  variant: "text",
2647
- disabled: !p.value
2709
+ disabled: !h.value
2648
2710
  }, e, { "append-icon": "mdi-chevron-down" }), {
2649
- default: N(() => [s(D(T.value), 1)]),
2711
+ default: F(() => [s(D(R.value), 1)]),
2650
2712
  _: 1
2651
- }, 16, ["disabled"])]),
2652
- default: N(() => [c(G, { density: "compact" }, {
2653
- default: N(() => [(b(!0), i(e, null, S(y.value, (e) => (b(), n(W, {
2713
+ }, 16, ["size", "disabled"])]),
2714
+ default: F(() => [c(x, { density: "compact" }, {
2715
+ default: F(() => [(b(!0), i(e, null, S(N.value, (e) => (b(), n(y, {
2654
2716
  key: e.level,
2655
- active: C(e.level),
2656
- onClick: (t) => E(e.level)
2717
+ active: L(e.level),
2718
+ onClick: (t) => B(e.level)
2657
2719
  }, {
2658
- default: N(() => [c(H, null, {
2659
- default: N(() => [s(D(e.label), 1)]),
2720
+ default: F(() => [c(v, null, {
2721
+ default: F(() => [s(D(e.label), 1)]),
2660
2722
  _: 2
2661
2723
  }, 1024)]),
2662
2724
  _: 2
@@ -2665,23 +2727,23 @@ var En = { class: "d-flex justify-end ga-2 mt-2" }, Dn = { class: "d-flex justif
2665
2727
  })]),
2666
2728
  _: 1
2667
2729
  }),
2668
- c(K, null, {
2669
- activator: N(({ props: e }) => [c(l, m({
2670
- size: "small",
2730
+ c(C, null, {
2731
+ activator: F(({ props: e }) => [c(p, m({
2732
+ size: u.value,
2671
2733
  variant: "text",
2672
- disabled: !p.value
2734
+ disabled: !h.value
2673
2735
  }, e, { "append-icon": "mdi-chevron-down" }), {
2674
- default: N(() => [s(D(k(u).Style), 1)]),
2736
+ default: F(() => [s(D(A(d).Style), 1)]),
2675
2737
  _: 1
2676
- }, 16, ["disabled"])]),
2677
- default: N(() => [c(G, { density: "compact" }, {
2678
- default: N(() => [(b(!0), i(e, null, S(k(O), (e) => (b(), n(W, {
2738
+ }, 16, ["size", "disabled"])]),
2739
+ default: F(() => [c(x, { density: "compact" }, {
2740
+ default: F(() => [(b(!0), i(e, null, S(A(ee), (e) => (b(), n(y, {
2679
2741
  key: e.key,
2680
- active: ee(e),
2681
- onClick: (t) => d.value && k(gn)(d.value, e)
2742
+ active: te(e),
2743
+ onClick: (t) => f.value && A(vn)(f.value, e)
2682
2744
  }, {
2683
- default: N(() => [c(H, null, {
2684
- default: N(() => [s(D(k(u)[e.key]), 1)]),
2745
+ default: F(() => [c(v, null, {
2746
+ default: F(() => [s(D(A(d)[e.key]), 1)]),
2685
2747
  _: 2
2686
2748
  }, 1024)]),
2687
2749
  _: 2
@@ -2690,530 +2752,398 @@ var En = { class: "d-flex justify-end ga-2 mt-2" }, Dn = { class: "d-flex justif
2690
2752
  })]),
2691
2753
  _: 1
2692
2754
  }),
2693
- c(x, {
2755
+ c(l, {
2694
2756
  vertical: "",
2695
2757
  inset: "",
2696
2758
  class: "mx-1"
2697
2759
  }),
2698
- c(f, {
2699
- size: "small",
2700
- variant: "text",
2701
- rounded: "sm"
2702
- }, {
2703
- default: N(() => [c(l, {
2760
+ c(qt, {
2761
+ actions: k,
2762
+ "button-size": u.value,
2763
+ "show-as-group": "grouped-no-borders"
2764
+ }, null, 8, ["button-size"]),
2765
+ c(l, {
2766
+ vertical: "",
2767
+ inset: "",
2768
+ class: "mx-1"
2769
+ }),
2770
+ a("div", On, [
2771
+ c(p, {
2704
2772
  icon: "",
2705
- rounded: "sm",
2706
- title: k(u).Bold,
2707
- disabled: !p.value,
2708
- active: h.value.bold,
2709
- onClick: o[3] || (o[3] = (e) => {
2773
+ size: u.value,
2774
+ variant: "text",
2775
+ title: A(d).HorizontalLine,
2776
+ disabled: !h.value,
2777
+ onClick: o[1] || (o[1] = (e) => {
2710
2778
  var t;
2711
- return (t = d.value) == null ? void 0 : t.chain().focus().toggleBold().run();
2779
+ return (t = f.value) == null ? void 0 : t.chain().focus().setHorizontalRule().run();
2712
2780
  })
2713
2781
  }, {
2714
- default: N(() => [c(k(V), { name: "mdi-format-bold" })]),
2782
+ default: F(() => [c(A(U), { name: "mdi-minus" })]),
2715
2783
  _: 1
2716
2784
  }, 8, [
2785
+ "size",
2717
2786
  "title",
2718
- "disabled",
2719
- "active"
2720
- ]), c(l, {
2721
- icon: "",
2722
- rounded: "sm",
2723
- title: k(u).Italic,
2724
- disabled: !p.value,
2725
- active: h.value.italic,
2726
- onClick: o[4] || (o[4] = (e) => {
2727
- var t;
2728
- return (t = d.value) == null ? void 0 : t.chain().focus().toggleItalic().run();
2729
- })
2787
+ "disabled"
2788
+ ]),
2789
+ c(C, {
2790
+ "close-on-content-click": !1,
2791
+ "onUpdate:modelValue": o[4] || (o[4] = (e) => e && re())
2730
2792
  }, {
2731
- default: N(() => [c(k(V), { name: "mdi-format-italic" })]),
2732
- _: 1
2733
- }, 8, [
2734
- "title",
2735
- "disabled",
2736
- "active"
2737
- ])]),
2738
- _: 1
2739
- }),
2740
- c(x, {
2741
- vertical: "",
2742
- inset: "",
2743
- class: "mx-1"
2744
- }),
2745
- c(f, {
2746
- size: "small",
2747
- variant: "text",
2748
- rounded: "sm"
2749
- }, {
2750
- default: N(() => [
2751
- c(l, {
2793
+ activator: F(({ props: e }) => [c(p, m({
2752
2794
  icon: "",
2753
- rounded: "sm",
2754
- title: k(u).HorizontalLine,
2755
- disabled: !p.value,
2756
- onClick: o[5] || (o[5] = (e) => {
2757
- var t;
2758
- return (t = d.value) == null ? void 0 : t.chain().focus().setHorizontalRule().run();
2759
- })
2760
- }, {
2761
- default: N(() => [c(k(V), { name: "mdi-minus" })]),
2795
+ size: u.value,
2796
+ variant: "text",
2797
+ title: A(d).Link,
2798
+ disabled: !h.value,
2799
+ active: _.value.link
2800
+ }, e), {
2801
+ default: F(() => [c(A(U), { name: "mdi-link-variant" })]),
2762
2802
  _: 1
2763
- }, 8, ["title", "disabled"]),
2764
- c(K, {
2765
- "close-on-content-click": !1,
2766
- "onUpdate:modelValue": o[8] || (o[8] = (e) => e && M())
2803
+ }, 16, [
2804
+ "size",
2805
+ "title",
2806
+ "disabled",
2807
+ "active"
2808
+ ])]),
2809
+ default: F(() => [c(P, {
2810
+ "min-width": "280",
2811
+ class: "pa-3"
2767
2812
  }, {
2768
- activator: N(({ props: e }) => [c(l, m({
2769
- icon: "",
2770
- rounded: "sm",
2771
- title: k(u).Link,
2772
- disabled: !p.value,
2773
- active: h.value.link
2774
- }, e), {
2775
- default: N(() => [c(k(V), { name: "mdi-link-variant" })]),
2776
- _: 1
2777
- }, 16, [
2778
- "title",
2779
- "disabled",
2780
- "active"
2781
- ])]),
2782
- default: N(() => [c(ie, {
2783
- "min-width": "280",
2784
- class: "pa-3"
2785
- }, {
2786
- default: N(() => [
2787
- c(q, {
2788
- modelValue: A.value,
2789
- "onUpdate:modelValue": o[6] || (o[6] = (e) => A.value = e),
2790
- label: k(u).LinkUrl,
2791
- density: "compact",
2792
- "hide-details": "",
2793
- autofocus: "",
2794
- onKeydown: P(F, ["enter"])
2795
- }, null, 8, ["modelValue", "label"]),
2796
- c(re, {
2797
- modelValue: j.value,
2798
- "onUpdate:modelValue": o[7] || (o[7] = (e) => j.value = e),
2799
- label: k(u).Downloadable,
2800
- density: "compact",
2801
- "hide-details": "",
2802
- class: "mt-1"
2803
- }, null, 8, ["modelValue", "label"]),
2804
- a("div", En, [h.value.link ? (b(), n(l, {
2805
- key: 0,
2806
- size: "small",
2807
- variant: "text",
2808
- onClick: I
2809
- }, {
2810
- default: N(() => [s(D(k(u).LinkRemove), 1)]),
2811
- _: 1
2812
- })) : r("", !0), c(l, {
2813
- size: "small",
2814
- color: "primary",
2815
- variant: "tonal",
2816
- onClick: F
2817
- }, {
2818
- default: N(() => [s(D(k(u).LinkApply), 1)]),
2819
- _: 1
2820
- })])
2821
- ]),
2822
- _: 1
2823
- })]),
2824
- _: 1
2825
- }),
2826
- c(K, { "close-on-content-click": !1 }, {
2827
- activator: N(({ props: e }) => [c(l, m({
2828
- icon: "",
2829
- rounded: "sm",
2830
- title: k(u).Image,
2831
- disabled: !p.value
2832
- }, e), {
2833
- default: N(() => [c(k(V), { name: "mdi-image-plus" })]),
2834
- _: 1
2835
- }, 16, ["title", "disabled"])]),
2836
- default: N(() => [c(ie, {
2837
- "min-width": "280",
2838
- class: "pa-3"
2839
- }, {
2840
- default: N(() => [c(q, {
2841
- modelValue: L.value,
2842
- "onUpdate:modelValue": o[9] || (o[9] = (e) => L.value = e),
2843
- label: k(u).ImageUrl,
2813
+ default: F(() => [
2814
+ c(T, {
2815
+ modelValue: H.value,
2816
+ "onUpdate:modelValue": o[2] || (o[2] = (e) => H.value = e),
2817
+ label: A(d).LinkUrl,
2844
2818
  density: "compact",
2845
2819
  "hide-details": "",
2846
2820
  autofocus: "",
2847
- onKeydown: P(z, ["enter"])
2848
- }, null, 8, ["modelValue", "label"]), a("div", Dn, [c(l, {
2821
+ onKeydown: I(W, ["enter"])
2822
+ }, null, 8, ["modelValue", "label"]),
2823
+ c(E, {
2824
+ modelValue: ne.value,
2825
+ "onUpdate:modelValue": o[3] || (o[3] = (e) => ne.value = e),
2826
+ label: A(d).Downloadable,
2827
+ density: "compact",
2828
+ "hide-details": "",
2829
+ class: "mt-1"
2830
+ }, null, 8, ["modelValue", "label"]),
2831
+ a("div", kn, [_.value.link ? (b(), n(p, {
2832
+ key: 0,
2849
2833
  size: "small",
2850
2834
  variant: "text",
2851
- "prepend-icon": "mdi-upload",
2852
- onClick: B
2835
+ onClick: ie
2853
2836
  }, {
2854
- default: N(() => [s(D(k(u).ImageUpload), 1)]),
2837
+ default: F(() => [s(D(A(d).LinkRemove), 1)]),
2855
2838
  _: 1
2856
- }), c(l, {
2839
+ })) : r("", !0), c(p, {
2857
2840
  size: "small",
2858
2841
  color: "primary",
2859
2842
  variant: "tonal",
2860
- onClick: z
2843
+ onClick: W
2861
2844
  }, {
2862
- default: N(() => [s(D(k(u).ImageInsert), 1)]),
2845
+ default: F(() => [s(D(A(d).LinkApply), 1)]),
2863
2846
  _: 1
2864
- })])]),
2865
- _: 1
2866
- })]),
2847
+ })])
2848
+ ]),
2867
2849
  _: 1
2868
- }),
2869
- a("input", {
2870
- ref_key: "imageInput",
2871
- ref: R,
2872
- type: "file",
2873
- accept: "image/*",
2874
- class: "d-none",
2875
- onChange: te
2876
- }, null, 544),
2877
- c(K, { "close-on-content-click": !1 }, {
2878
- activator: N(({ props: e }) => [c(l, m({
2879
- icon: "",
2880
- rounded: "sm",
2881
- title: k(u).MediaEmbed,
2882
- disabled: !p.value
2883
- }, e), {
2884
- default: N(() => [c(k(V), { name: "mdi-video-plus" })]),
2850
+ })]),
2851
+ _: 1
2852
+ }),
2853
+ c(C, { "close-on-content-click": !1 }, {
2854
+ activator: F(({ props: e }) => [c(p, m({
2855
+ icon: "",
2856
+ size: u.value,
2857
+ variant: "text",
2858
+ title: A(d).Image,
2859
+ disabled: !h.value
2860
+ }, e), {
2861
+ default: F(() => [c(A(U), { name: "mdi-image-plus" })]),
2862
+ _: 1
2863
+ }, 16, [
2864
+ "size",
2865
+ "title",
2866
+ "disabled"
2867
+ ])]),
2868
+ default: F(() => [c(P, {
2869
+ "min-width": "280",
2870
+ class: "pa-3"
2871
+ }, {
2872
+ default: F(() => [c(T, {
2873
+ modelValue: G.value,
2874
+ "onUpdate:modelValue": o[5] || (o[5] = (e) => G.value = e),
2875
+ label: A(d).ImageUrl,
2876
+ density: "compact",
2877
+ "hide-details": "",
2878
+ autofocus: "",
2879
+ onKeydown: I(K, ["enter"])
2880
+ }, null, 8, ["modelValue", "label"]), a("div", An, [c(p, {
2881
+ size: "small",
2882
+ variant: "text",
2883
+ "prepend-icon": "mdi-upload",
2884
+ onClick: se
2885
+ }, {
2886
+ default: F(() => [s(D(A(d).ImageUpload), 1)]),
2885
2887
  _: 1
2886
- }, 16, ["title", "disabled"])]),
2887
- default: N(() => [c(ie, {
2888
- "min-width": "280",
2889
- class: "pa-3"
2888
+ }), c(p, {
2889
+ size: "small",
2890
+ color: "primary",
2891
+ variant: "tonal",
2892
+ onClick: K
2890
2893
  }, {
2891
- default: N(() => [c(q, {
2892
- modelValue: U.value,
2893
- "onUpdate:modelValue": o[10] || (o[10] = (e) => U.value = e),
2894
- label: k(u).MediaEmbedUrl,
2895
- density: "compact",
2896
- "hide-details": "",
2897
- autofocus: "",
2898
- onKeydown: P(ne, ["enter"])
2899
- }, null, 8, ["modelValue", "label"]), a("div", On, [c(l, {
2900
- size: "small",
2901
- color: "primary",
2902
- variant: "tonal",
2903
- onClick: ne
2904
- }, {
2905
- default: N(() => [s(D(k(u).MediaEmbedInsert), 1)]),
2906
- _: 1
2907
- })])]),
2894
+ default: F(() => [s(D(A(d).ImageInsert), 1)]),
2908
2895
  _: 1
2909
- })]),
2896
+ })])]),
2897
+ _: 1
2898
+ })]),
2899
+ _: 1
2900
+ }),
2901
+ a("input", {
2902
+ ref_key: "imageInput",
2903
+ ref: ae,
2904
+ type: "file",
2905
+ accept: "image/*",
2906
+ class: "d-none",
2907
+ onChange: ce
2908
+ }, null, 544),
2909
+ c(C, { "close-on-content-click": !1 }, {
2910
+ activator: F(({ props: e }) => [c(p, m({
2911
+ icon: "",
2912
+ size: u.value,
2913
+ variant: "text",
2914
+ title: A(d).MediaEmbed,
2915
+ disabled: !h.value
2916
+ }, e), {
2917
+ default: F(() => [c(A(U), { name: "mdi-video-plus" })]),
2910
2918
  _: 1
2911
- }),
2912
- c(K, null, {
2913
- activator: N(({ props: e }) => [c(l, m({
2914
- icon: "",
2915
- rounded: "sm",
2916
- title: k(u).Table,
2917
- disabled: !p.value
2918
- }, e), {
2919
- default: N(() => [c(k(V), { name: "mdi-table" })]),
2919
+ }, 16, [
2920
+ "size",
2921
+ "title",
2922
+ "disabled"
2923
+ ])]),
2924
+ default: F(() => [c(P, {
2925
+ "min-width": "280",
2926
+ class: "pa-3"
2927
+ }, {
2928
+ default: F(() => [c(T, {
2929
+ modelValue: q.value,
2930
+ "onUpdate:modelValue": o[6] || (o[6] = (e) => q.value = e),
2931
+ label: A(d).MediaEmbedUrl,
2932
+ density: "compact",
2933
+ "hide-details": "",
2934
+ autofocus: "",
2935
+ onKeydown: I(ue, ["enter"])
2936
+ }, null, 8, ["modelValue", "label"]), a("div", jn, [c(p, {
2937
+ size: "small",
2938
+ color: "primary",
2939
+ variant: "tonal",
2940
+ onClick: ue
2941
+ }, {
2942
+ default: F(() => [s(D(A(d).MediaEmbedInsert), 1)]),
2920
2943
  _: 1
2921
- }, 16, ["title", "disabled"])]),
2922
- default: N(() => [c(G, { density: "compact" }, {
2923
- default: N(() => [
2924
- c(W, { onClick: o[11] || (o[11] = (e) => {
2925
- var t;
2926
- return (t = d.value) == null ? void 0 : t.chain().focus().insertTable({
2927
- rows: 3,
2928
- cols: 3,
2929
- withHeaderRow: !0
2930
- }).run();
2931
- }) }, {
2932
- prepend: N(() => [c(k(V), { name: "mdi-table-plus" })]),
2933
- default: N(() => [c(H, null, {
2934
- default: N(() => [s(D(k(u).TableInsert), 1)]),
2935
- _: 1
2936
- })]),
2944
+ })])]),
2945
+ _: 1
2946
+ })]),
2947
+ _: 1
2948
+ }),
2949
+ c(C, null, {
2950
+ activator: F(({ props: e }) => [c(p, m({
2951
+ icon: "",
2952
+ size: u.value,
2953
+ variant: "text",
2954
+ title: A(d).Table,
2955
+ disabled: !h.value
2956
+ }, e), {
2957
+ default: F(() => [c(A(U), { name: "mdi-table" })]),
2958
+ _: 1
2959
+ }, 16, [
2960
+ "size",
2961
+ "title",
2962
+ "disabled"
2963
+ ])]),
2964
+ default: F(() => [c(x, { density: "compact" }, {
2965
+ default: F(() => [
2966
+ c(y, { onClick: o[7] || (o[7] = (e) => {
2967
+ var t;
2968
+ return (t = f.value) == null ? void 0 : t.chain().focus().insertTable({
2969
+ rows: 3,
2970
+ cols: 3,
2971
+ withHeaderRow: !0
2972
+ }).run();
2973
+ }) }, {
2974
+ prepend: F(() => [c(A(U), { name: "mdi-table-plus" })]),
2975
+ default: F(() => [c(v, null, {
2976
+ default: F(() => [s(D(A(d).TableInsert), 1)]),
2937
2977
  _: 1
2938
- }),
2939
- c(x),
2940
- c(W, {
2941
- disabled: !h.value.inTable,
2942
- onClick: o[12] || (o[12] = (e) => {
2943
- var t;
2944
- return (t = d.value) == null ? void 0 : t.chain().focus().addRowBefore().run();
2945
- })
2946
- }, {
2947
- prepend: N(() => [c(k(V), { name: "mdi-table-row-plus-before" })]),
2948
- default: N(() => [c(H, null, {
2949
- default: N(() => [s(D(k(u).TableAddRowAbove), 1)]),
2950
- _: 1
2951
- })]),
2978
+ })]),
2979
+ _: 1
2980
+ }),
2981
+ c(l),
2982
+ c(y, {
2983
+ disabled: !_.value.inTable,
2984
+ onClick: o[8] || (o[8] = (e) => {
2985
+ var t;
2986
+ return (t = f.value) == null ? void 0 : t.chain().focus().addRowBefore().run();
2987
+ })
2988
+ }, {
2989
+ prepend: F(() => [c(A(U), { name: "mdi-table-row-plus-before" })]),
2990
+ default: F(() => [c(v, null, {
2991
+ default: F(() => [s(D(A(d).TableAddRowAbove), 1)]),
2952
2992
  _: 1
2953
- }, 8, ["disabled"]),
2954
- c(W, {
2955
- disabled: !h.value.inTable,
2956
- onClick: o[13] || (o[13] = (e) => {
2957
- var t;
2958
- return (t = d.value) == null ? void 0 : t.chain().focus().addRowAfter().run();
2959
- })
2960
- }, {
2961
- prepend: N(() => [c(k(V), { name: "mdi-table-row-plus-after" })]),
2962
- default: N(() => [c(H, null, {
2963
- default: N(() => [s(D(k(u).TableAddRowBelow), 1)]),
2964
- _: 1
2965
- })]),
2993
+ })]),
2994
+ _: 1
2995
+ }, 8, ["disabled"]),
2996
+ c(y, {
2997
+ disabled: !_.value.inTable,
2998
+ onClick: o[9] || (o[9] = (e) => {
2999
+ var t;
3000
+ return (t = f.value) == null ? void 0 : t.chain().focus().addRowAfter().run();
3001
+ })
3002
+ }, {
3003
+ prepend: F(() => [c(A(U), { name: "mdi-table-row-plus-after" })]),
3004
+ default: F(() => [c(v, null, {
3005
+ default: F(() => [s(D(A(d).TableAddRowBelow), 1)]),
2966
3006
  _: 1
2967
- }, 8, ["disabled"]),
2968
- c(W, {
2969
- disabled: !h.value.inTable,
2970
- onClick: o[14] || (o[14] = (e) => {
2971
- var t;
2972
- return (t = d.value) == null ? void 0 : t.chain().focus().deleteRow().run();
2973
- })
2974
- }, {
2975
- prepend: N(() => [c(k(V), { name: "mdi-table-row-remove" })]),
2976
- default: N(() => [c(H, null, {
2977
- default: N(() => [s(D(k(u).TableDeleteRow), 1)]),
2978
- _: 1
2979
- })]),
3007
+ })]),
3008
+ _: 1
3009
+ }, 8, ["disabled"]),
3010
+ c(y, {
3011
+ disabled: !_.value.inTable,
3012
+ onClick: o[10] || (o[10] = (e) => {
3013
+ var t;
3014
+ return (t = f.value) == null ? void 0 : t.chain().focus().deleteRow().run();
3015
+ })
3016
+ }, {
3017
+ prepend: F(() => [c(A(U), { name: "mdi-table-row-remove" })]),
3018
+ default: F(() => [c(v, null, {
3019
+ default: F(() => [s(D(A(d).TableDeleteRow), 1)]),
2980
3020
  _: 1
2981
- }, 8, ["disabled"]),
2982
- c(x),
2983
- c(W, {
2984
- disabled: !h.value.inTable,
2985
- onClick: o[15] || (o[15] = (e) => {
2986
- var t;
2987
- return (t = d.value) == null ? void 0 : t.chain().focus().addColumnBefore().run();
2988
- })
2989
- }, {
2990
- prepend: N(() => [c(k(V), { name: "mdi-table-column-plus-before" })]),
2991
- default: N(() => [c(H, null, {
2992
- default: N(() => [s(D(k(u).TableAddColumnBefore), 1)]),
2993
- _: 1
2994
- })]),
3021
+ })]),
3022
+ _: 1
3023
+ }, 8, ["disabled"]),
3024
+ c(l),
3025
+ c(y, {
3026
+ disabled: !_.value.inTable,
3027
+ onClick: o[11] || (o[11] = (e) => {
3028
+ var t;
3029
+ return (t = f.value) == null ? void 0 : t.chain().focus().addColumnBefore().run();
3030
+ })
3031
+ }, {
3032
+ prepend: F(() => [c(A(U), { name: "mdi-table-column-plus-before" })]),
3033
+ default: F(() => [c(v, null, {
3034
+ default: F(() => [s(D(A(d).TableAddColumnBefore), 1)]),
2995
3035
  _: 1
2996
- }, 8, ["disabled"]),
2997
- c(W, {
2998
- disabled: !h.value.inTable,
2999
- onClick: o[16] || (o[16] = (e) => {
3000
- var t;
3001
- return (t = d.value) == null ? void 0 : t.chain().focus().addColumnAfter().run();
3002
- })
3003
- }, {
3004
- prepend: N(() => [c(k(V), { name: "mdi-table-column-plus-after" })]),
3005
- default: N(() => [c(H, null, {
3006
- default: N(() => [s(D(k(u).TableAddColumnAfter), 1)]),
3007
- _: 1
3008
- })]),
3036
+ })]),
3037
+ _: 1
3038
+ }, 8, ["disabled"]),
3039
+ c(y, {
3040
+ disabled: !_.value.inTable,
3041
+ onClick: o[12] || (o[12] = (e) => {
3042
+ var t;
3043
+ return (t = f.value) == null ? void 0 : t.chain().focus().addColumnAfter().run();
3044
+ })
3045
+ }, {
3046
+ prepend: F(() => [c(A(U), { name: "mdi-table-column-plus-after" })]),
3047
+ default: F(() => [c(v, null, {
3048
+ default: F(() => [s(D(A(d).TableAddColumnAfter), 1)]),
3009
3049
  _: 1
3010
- }, 8, ["disabled"]),
3011
- c(W, {
3012
- disabled: !h.value.inTable,
3013
- onClick: o[17] || (o[17] = (e) => {
3014
- var t;
3015
- return (t = d.value) == null ? void 0 : t.chain().focus().deleteColumn().run();
3016
- })
3017
- }, {
3018
- prepend: N(() => [c(k(V), { name: "mdi-table-column-remove" })]),
3019
- default: N(() => [c(H, null, {
3020
- default: N(() => [s(D(k(u).TableDeleteColumn), 1)]),
3021
- _: 1
3022
- })]),
3050
+ })]),
3051
+ _: 1
3052
+ }, 8, ["disabled"]),
3053
+ c(y, {
3054
+ disabled: !_.value.inTable,
3055
+ onClick: o[13] || (o[13] = (e) => {
3056
+ var t;
3057
+ return (t = f.value) == null ? void 0 : t.chain().focus().deleteColumn().run();
3058
+ })
3059
+ }, {
3060
+ prepend: F(() => [c(A(U), { name: "mdi-table-column-remove" })]),
3061
+ default: F(() => [c(v, null, {
3062
+ default: F(() => [s(D(A(d).TableDeleteColumn), 1)]),
3023
3063
  _: 1
3024
- }, 8, ["disabled"]),
3025
- c(x),
3026
- c(W, {
3027
- disabled: !h.value.inTable,
3028
- onClick: o[18] || (o[18] = (e) => {
3029
- var t;
3030
- return (t = d.value) == null ? void 0 : t.chain().focus().toggleHeaderRow().run();
3031
- })
3032
- }, {
3033
- prepend: N(() => [c(k(V), { name: "mdi-table-row" })]),
3034
- default: N(() => [c(H, null, {
3035
- default: N(() => [s(D(k(u).TableToggleHeaderRow), 1)]),
3036
- _: 1
3037
- })]),
3064
+ })]),
3065
+ _: 1
3066
+ }, 8, ["disabled"]),
3067
+ c(l),
3068
+ c(y, {
3069
+ disabled: !_.value.inTable,
3070
+ onClick: o[14] || (o[14] = (e) => {
3071
+ var t;
3072
+ return (t = f.value) == null ? void 0 : t.chain().focus().toggleHeaderRow().run();
3073
+ })
3074
+ }, {
3075
+ prepend: F(() => [c(A(U), { name: "mdi-table-row" })]),
3076
+ default: F(() => [c(v, null, {
3077
+ default: F(() => [s(D(A(d).TableToggleHeaderRow), 1)]),
3038
3078
  _: 1
3039
- }, 8, ["disabled"]),
3040
- c(W, {
3041
- disabled: !h.value.inTable,
3042
- onClick: o[19] || (o[19] = (e) => {
3043
- var t;
3044
- return (t = d.value) == null ? void 0 : t.chain().focus().deleteTable().run();
3045
- })
3046
- }, {
3047
- prepend: N(() => [c(k(V), { name: "mdi-table-remove" })]),
3048
- default: N(() => [c(H, null, {
3049
- default: N(() => [s(D(k(u).TableDeleteTable), 1)]),
3050
- _: 1
3051
- })]),
3079
+ })]),
3080
+ _: 1
3081
+ }, 8, ["disabled"]),
3082
+ c(y, {
3083
+ disabled: !_.value.inTable,
3084
+ onClick: o[15] || (o[15] = (e) => {
3085
+ var t;
3086
+ return (t = f.value) == null ? void 0 : t.chain().focus().deleteTable().run();
3087
+ })
3088
+ }, {
3089
+ prepend: F(() => [c(A(U), { name: "mdi-table-remove" })]),
3090
+ default: F(() => [c(v, null, {
3091
+ default: F(() => [s(D(A(d).TableDeleteTable), 1)]),
3052
3092
  _: 1
3053
- }, 8, ["disabled"])
3054
- ]),
3055
- _: 1
3056
- })]),
3057
- _: 1
3058
- }),
3059
- c(l, {
3060
- icon: "",
3061
- rounded: "sm",
3062
- title: k(u).Blockquote,
3063
- disabled: !p.value,
3064
- active: h.value.blockquote,
3065
- onClick: o[20] || (o[20] = (e) => {
3066
- var t;
3067
- return (t = d.value) == null ? void 0 : t.chain().focus().toggleBlockquote().run();
3068
- })
3069
- }, {
3070
- default: N(() => [c(k(V), { name: "mdi-format-quote-close" })]),
3093
+ })]),
3094
+ _: 1
3095
+ }, 8, ["disabled"])
3096
+ ]),
3071
3097
  _: 1
3072
- }, 8, [
3073
- "title",
3074
- "disabled",
3075
- "active"
3076
- ])
3077
- ]),
3078
- _: 1
3079
- }),
3080
- c(x, {
3098
+ })]),
3099
+ _: 1
3100
+ }),
3101
+ c(p, {
3102
+ icon: "",
3103
+ size: u.value,
3104
+ variant: "text",
3105
+ title: A(d).Blockquote,
3106
+ disabled: !h.value,
3107
+ active: _.value.blockquote,
3108
+ onClick: o[16] || (o[16] = (e) => {
3109
+ var t;
3110
+ return (t = f.value) == null ? void 0 : t.chain().focus().toggleBlockquote().run();
3111
+ })
3112
+ }, {
3113
+ default: F(() => [c(A(U), { name: "mdi-format-quote-close" })]),
3114
+ _: 1
3115
+ }, 8, [
3116
+ "size",
3117
+ "title",
3118
+ "disabled",
3119
+ "active"
3120
+ ])
3121
+ ]),
3122
+ c(l, {
3081
3123
  vertical: "",
3082
3124
  inset: "",
3083
3125
  class: "mx-1"
3084
3126
  }),
3085
- c(ae, {
3086
- "model-value": _.value,
3087
- size: "small",
3088
- variant: "text",
3089
- rounded: "sm",
3090
- "onUpdate:modelValue": v
3091
- }, {
3092
- default: N(() => [
3093
- c(l, {
3094
- icon: "",
3095
- rounded: "sm",
3096
- value: "left",
3097
- title: k(u).AlignLeft,
3098
- disabled: !p.value
3099
- }, {
3100
- default: N(() => [c(k(V), { name: "mdi-format-align-left" })]),
3101
- _: 1
3102
- }, 8, ["title", "disabled"]),
3103
- c(l, {
3104
- icon: "",
3105
- rounded: "sm",
3106
- value: "center",
3107
- title: k(u).AlignCenter,
3108
- disabled: !p.value
3109
- }, {
3110
- default: N(() => [c(k(V), { name: "mdi-format-align-center" })]),
3111
- _: 1
3112
- }, 8, ["title", "disabled"]),
3113
- c(l, {
3114
- icon: "",
3115
- rounded: "sm",
3116
- value: "right",
3117
- title: k(u).AlignRight,
3118
- disabled: !p.value
3119
- }, {
3120
- default: N(() => [c(k(V), { name: "mdi-format-align-right" })]),
3121
- _: 1
3122
- }, 8, ["title", "disabled"]),
3123
- c(l, {
3124
- icon: "",
3125
- rounded: "sm",
3126
- value: "justify",
3127
- title: k(u).AlignJustify,
3128
- disabled: !p.value
3129
- }, {
3130
- default: N(() => [c(k(V), { name: "mdi-format-align-justify" })]),
3131
- _: 1
3132
- }, 8, ["title", "disabled"])
3133
- ]),
3134
- _: 1
3135
- }, 8, ["model-value"]),
3136
- c(x, {
3127
+ c(qt, {
3128
+ actions: A(j),
3129
+ "button-size": u.value,
3130
+ "show-as-group": "grouped-no-borders"
3131
+ }, null, 8, ["actions", "button-size"]),
3132
+ c(l, {
3137
3133
  vertical: "",
3138
3134
  inset: "",
3139
3135
  class: "mx-1"
3140
3136
  }),
3141
- c(f, {
3142
- size: "small",
3143
- variant: "text",
3144
- rounded: "sm"
3145
- }, {
3146
- default: N(() => [
3147
- c(l, {
3148
- icon: "",
3149
- rounded: "sm",
3150
- title: k(u).BulletedList,
3151
- disabled: !p.value,
3152
- active: h.value.bulletList,
3153
- onClick: o[21] || (o[21] = (e) => {
3154
- var t;
3155
- return (t = d.value) == null ? void 0 : t.chain().focus().toggleBulletList().run();
3156
- })
3157
- }, {
3158
- default: N(() => [c(k(V), { name: "mdi-format-list-bulleted" })]),
3159
- _: 1
3160
- }, 8, [
3161
- "title",
3162
- "disabled",
3163
- "active"
3164
- ]),
3165
- c(l, {
3166
- icon: "",
3167
- rounded: "sm",
3168
- title: k(u).NumberedList,
3169
- disabled: !p.value,
3170
- active: h.value.orderedList,
3171
- onClick: o[22] || (o[22] = (e) => {
3172
- var t;
3173
- return (t = d.value) == null ? void 0 : t.chain().focus().toggleOrderedList().run();
3174
- })
3175
- }, {
3176
- default: N(() => [c(k(V), { name: "mdi-format-list-numbered" })]),
3177
- _: 1
3178
- }, 8, [
3179
- "title",
3180
- "disabled",
3181
- "active"
3182
- ]),
3183
- c(l, {
3184
- icon: "",
3185
- rounded: "sm",
3186
- title: k(u).Outdent,
3187
- disabled: !p.value || !h.value.canLift,
3188
- onClick: o[23] || (o[23] = (e) => {
3189
- var t;
3190
- return (t = d.value) == null ? void 0 : t.chain().focus().liftListItem("listItem").run();
3191
- })
3192
- }, {
3193
- default: N(() => [c(k(V), { name: "mdi-format-indent-decrease" })]),
3194
- _: 1
3195
- }, 8, ["title", "disabled"]),
3196
- c(l, {
3197
- icon: "",
3198
- rounded: "sm",
3199
- title: k(u).Indent,
3200
- disabled: !p.value || !h.value.canSink,
3201
- onClick: o[24] || (o[24] = (e) => {
3202
- var t;
3203
- return (t = d.value) == null ? void 0 : t.chain().focus().sinkListItem("listItem").run();
3204
- })
3205
- }, {
3206
- default: N(() => [c(k(V), { name: "mdi-format-indent-increase" })]),
3207
- _: 1
3208
- }, 8, ["title", "disabled"])
3209
- ]),
3210
- _: 1
3211
- })
3137
+ c(qt, {
3138
+ actions: M,
3139
+ "button-size": u.value,
3140
+ "show-as-group": "grouped-no-borders"
3141
+ }, null, 8, ["button-size"])
3212
3142
  ], 2);
3213
3143
  };
3214
3144
  }
3215
- }), An = /^[a-z][a-z0-9]*:[a-z]/i, jn = /mso-[a-z-]+\s*:[^;]+;?/gi, Mn = /^Mso/i, Nn = /background(?:-color)?\s*:[^;]+;?/gi;
3216
- function Pn(e) {
3145
+ }), Nn = /^[a-z][a-z0-9]*:[a-z]/i, Pn = /mso-[a-z-]+\s*:[^;]+;?/gi, Fn = /^Mso/i, In = /background(?:-color)?\s*:[^;]+;?/gi;
3146
+ function Ln(e) {
3217
3147
  let t = document.createTreeWalker(e, NodeFilter.SHOW_COMMENT), n = [];
3218
3148
  for (let e = t.nextNode(); e; e = t.nextNode()) n.push(e);
3219
3149
  n.forEach((e) => {
@@ -3221,42 +3151,42 @@ function Pn(e) {
3221
3151
  return (t = e.parentNode) == null ? void 0 : t.removeChild(e);
3222
3152
  });
3223
3153
  }
3224
- function Fn(e) {
3154
+ function Rn(e) {
3225
3155
  let t = e.parentNode;
3226
3156
  if (t) {
3227
3157
  for (; e.firstChild;) t.insertBefore(e.firstChild, e);
3228
3158
  t.removeChild(e);
3229
3159
  }
3230
3160
  }
3231
- function In(e) {
3161
+ function zn(e) {
3232
3162
  let t = e.getAttribute("style");
3233
3163
  if (t != null) {
3234
- let n = t.replace(jn, "").replace(Nn, "").trim();
3164
+ let n = t.replace(Pn, "").replace(In, "").trim();
3235
3165
  n ? e.setAttribute("style", n) : e.removeAttribute("style");
3236
3166
  }
3237
3167
  let n = e.getAttribute("class");
3238
3168
  if (n != null) {
3239
- let t = n.split(/\s+/).filter((e) => e && !Mn.test(e)).join(" ");
3169
+ let t = n.split(/\s+/).filter((e) => e && !Fn.test(e)).join(" ");
3240
3170
  t ? e.setAttribute("class", t) : e.removeAttribute("class");
3241
3171
  }
3242
3172
  e.removeAttribute("lang"), e.removeAttribute("xml:lang"), e.removeAttribute("id"), e.removeAttribute("align"), e.removeAttribute("bgcolor");
3243
3173
  }
3244
- function Ln(e) {
3174
+ function Bn(e) {
3245
3175
  if (!e || typeof DOMParser > "u") return e;
3246
3176
  let t = new DOMParser().parseFromString(e, "text/html").body;
3247
- return t ? (Pn(t), t.querySelectorAll("xml, style, script, meta, link").forEach((e) => e.remove()), Array.from(t.querySelectorAll("*")).forEach((e) => {
3248
- if (An.test(e.tagName) || e.tagName === "FONT") {
3249
- Fn(e);
3177
+ return t ? (Ln(t), t.querySelectorAll("xml, style, script, meta, link").forEach((e) => e.remove()), Array.from(t.querySelectorAll("*")).forEach((e) => {
3178
+ if (Nn.test(e.tagName) || e.tagName === "FONT") {
3179
+ Rn(e);
3250
3180
  return;
3251
3181
  }
3252
- In(e);
3182
+ zn(e);
3253
3183
  }), Array.from(t.querySelectorAll("span, div")).forEach((e) => {
3254
- e.attributes.length === 0 && Fn(e);
3184
+ e.attributes.length === 0 && Rn(e);
3255
3185
  }), t.innerHTML) : e;
3256
3186
  }
3257
3187
  //#endregion
3258
3188
  //#region src/helpers/rtf-editor/editor-core.vue?vue&type=script&setup=true&lang.ts
3259
- var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn = /* @__PURE__ */ l({
3189
+ var Vn = { class: "editor-container" }, Hn = { class: "rtf-bubble-menu" }, Un = /* @__PURE__ */ l({
3260
3190
  __name: "editor-core",
3261
3191
  props: {
3262
3192
  modelValue: { default: "" },
@@ -3264,22 +3194,23 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3264
3194
  disabled: {
3265
3195
  type: Boolean,
3266
3196
  default: !1
3267
- }
3197
+ },
3198
+ toolbarButtonSize: { default: "small" }
3268
3199
  },
3269
3200
  emits: ["update:modelValue"],
3270
3201
  setup(e, { emit: o }) {
3271
- A((e) => ({ v78e8f8e6: e.minHeight }));
3272
- let s = e, l = o, u = Ce({
3202
+ j((e) => ({ fcaeeefe: e.minHeight }));
3203
+ let s = e, l = o, u = Ee({
3273
3204
  content: s.modelValue,
3274
3205
  editable: !s.disabled,
3275
3206
  extensions: [
3276
- xe.configure({ link: !1 }),
3277
- Sn.configure({
3207
+ we.configure({ link: !1 }),
3208
+ wn.configure({
3278
3209
  openOnClick: !1,
3279
3210
  autolink: !0,
3280
3211
  defaultProtocol: "https"
3281
3212
  }),
3282
- pe.configure({
3213
+ ge.configure({
3283
3214
  inline: !0,
3284
3215
  allowBase64: !0,
3285
3216
  resize: {
@@ -3298,36 +3229,36 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3298
3229
  minHeight: 24
3299
3230
  }
3300
3231
  }),
3301
- ye.configure({ types: ["heading", "paragraph"] }),
3302
- he.configure({ resizable: !0 }),
3303
- ve,
3304
- _e,
3305
- ge,
3306
- me.configure({ placeholder: "" }),
3307
- sn,
3232
+ Se.configure({ types: ["heading", "paragraph"] }),
3233
+ ve.configure({ resizable: !0 }),
3234
+ xe,
3235
+ be,
3236
+ ye,
3237
+ _e.configure({ placeholder: "" }),
3308
3238
  ln,
3309
- un,
3310
- wn
3239
+ dn,
3240
+ fn,
3241
+ En
3311
3242
  ],
3312
3243
  editorProps: {
3313
3244
  attributes: { class: "rtf-content" },
3314
- transformPastedHTML: (e) => Ln(e),
3315
- handlePaste: xn(() => u.value)
3245
+ transformPastedHTML: (e) => Bn(e),
3246
+ handlePaste: Cn(() => u.value)
3316
3247
  },
3317
3248
  onUpdate: ({ editor: e }) => {
3318
3249
  l("update:modelValue", e.isEmpty ? "" : e.getHTML());
3319
3250
  }
3320
3251
  });
3321
- M(() => s.modelValue, (e) => {
3252
+ N(() => s.modelValue, (e) => {
3322
3253
  let t = u.value;
3323
3254
  if (!t) return;
3324
3255
  let n = e == null ? "" : e;
3325
3256
  n !== t.getHTML() && t.commands.setContent(n, { emitUpdate: !1 });
3326
- }), M(() => s.disabled, (e) => {
3257
+ }), N(() => s.disabled, (e) => {
3327
3258
  var t;
3328
3259
  return (t = u.value) == null ? void 0 : t.setEditable(!e);
3329
- }), M(u, (e) => e == null ? void 0 : e.setEditable(!s.disabled));
3330
- let d = Tn(u), f = t(() => {
3260
+ }), N(u, (e) => e == null ? void 0 : e.setEditable(!s.disabled));
3261
+ let d = Dn(u), f = t(() => {
3331
3262
  var e, t, n, r, i;
3332
3263
  return d.value, {
3333
3264
  bold: !!((e = u.value) != null && e.isActive("bold")),
@@ -3338,7 +3269,7 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3338
3269
  };
3339
3270
  });
3340
3271
  function p({ state: e }) {
3341
- return !e.selection.empty && !(e.selection instanceof be);
3272
+ return !e.selection.empty && !(e.selection instanceof Ce);
3342
3273
  }
3343
3274
  function m(e) {
3344
3275
  var t;
@@ -3351,71 +3282,74 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3351
3282
  e.chain().focus().unsetLink().run();
3352
3283
  return;
3353
3284
  }
3354
- let t = window.prompt(jt.LinkUrl);
3285
+ let t = window.prompt(Nt.LinkUrl);
3355
3286
  t && e.chain().focus().extendMarkRange("link").setLink({ href: t }).run();
3356
3287
  }
3357
- return (e, t) => {
3358
- let o = w("v-btn");
3359
- return b(), i("div", Rn, [
3360
- c(kn, { editor: k(u) }, null, 8, ["editor"]),
3361
- c(k(Se), {
3288
+ return (t, o) => {
3289
+ let s = w("v-btn");
3290
+ return b(), i("div", Vn, [
3291
+ c(Mn, {
3292
+ editor: A(u),
3293
+ "button-size": e.toolbarButtonSize
3294
+ }, null, 8, ["editor", "button-size"]),
3295
+ c(A(Te), {
3362
3296
  class: "editor-container__editor",
3363
- editor: k(u)
3297
+ editor: A(u)
3364
3298
  }, null, 8, ["editor"]),
3365
- k(u) ? (b(), n(k(we), {
3299
+ A(u) ? (b(), n(A(De), {
3366
3300
  key: 0,
3367
- editor: k(u),
3301
+ editor: A(u),
3368
3302
  "should-show": p
3369
3303
  }, {
3370
- default: N(() => [a("div", zn, [
3371
- c(o, {
3304
+ default: F(() => [a("div", Hn, [
3305
+ c(s, {
3372
3306
  icon: "",
3373
3307
  size: "small",
3374
3308
  variant: "text",
3375
3309
  active: f.value.bold,
3376
- onClick: t[0] || (t[0] = (e) => m("toggleBold"))
3310
+ onClick: o[0] || (o[0] = (e) => m("toggleBold"))
3377
3311
  }, {
3378
- default: N(() => [c(k(V), { name: "mdi-format-bold" })]),
3312
+ default: F(() => [c(A(U), { name: "mdi-format-bold" })]),
3379
3313
  _: 1
3380
3314
  }, 8, ["active"]),
3381
- c(o, {
3315
+ c(s, {
3382
3316
  icon: "",
3383
3317
  size: "small",
3384
3318
  variant: "text",
3385
3319
  active: f.value.italic,
3386
- onClick: t[1] || (t[1] = (e) => m("toggleItalic"))
3320
+ onClick: o[1] || (o[1] = (e) => m("toggleItalic"))
3387
3321
  }, {
3388
- default: N(() => [c(k(V), { name: "mdi-format-italic" })]),
3322
+ default: F(() => [c(A(U), { name: "mdi-format-italic" })]),
3389
3323
  _: 1
3390
3324
  }, 8, ["active"]),
3391
- c(o, {
3325
+ c(s, {
3392
3326
  icon: "",
3393
3327
  size: "small",
3394
3328
  variant: "text",
3395
3329
  active: f.value.link,
3396
3330
  onClick: h
3397
3331
  }, {
3398
- default: N(() => [c(k(V), { name: "mdi-link-variant" })]),
3332
+ default: F(() => [c(A(U), { name: "mdi-link-variant" })]),
3399
3333
  _: 1
3400
3334
  }, 8, ["active"]),
3401
- c(o, {
3335
+ c(s, {
3402
3336
  icon: "",
3403
3337
  size: "small",
3404
3338
  variant: "text",
3405
3339
  active: f.value.bulletList,
3406
- onClick: t[2] || (t[2] = (e) => m("toggleBulletList"))
3340
+ onClick: o[2] || (o[2] = (e) => m("toggleBulletList"))
3407
3341
  }, {
3408
- default: N(() => [c(k(V), { name: "mdi-format-list-bulleted" })]),
3342
+ default: F(() => [c(A(U), { name: "mdi-format-list-bulleted" })]),
3409
3343
  _: 1
3410
3344
  }, 8, ["active"]),
3411
- c(o, {
3345
+ c(s, {
3412
3346
  icon: "",
3413
3347
  size: "small",
3414
3348
  variant: "text",
3415
3349
  active: f.value.orderedList,
3416
- onClick: t[3] || (t[3] = (e) => m("toggleOrderedList"))
3350
+ onClick: o[3] || (o[3] = (e) => m("toggleOrderedList"))
3417
3351
  }, {
3418
- default: N(() => [c(k(V), { name: "mdi-format-list-numbered" })]),
3352
+ default: F(() => [c(A(U), { name: "mdi-format-list-numbered" })]),
3419
3353
  _: 1
3420
3354
  }, 8, ["active"])
3421
3355
  ])]),
@@ -3424,10 +3358,11 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3424
3358
  ]);
3425
3359
  };
3426
3360
  }
3427
- }), Vn = /* @__PURE__ */ l({
3361
+ }), Wn = /* @__PURE__ */ l({
3428
3362
  __name: "df-rtf-editor",
3429
3363
  props: /*@__PURE__*/ p({
3430
3364
  minHeight: {},
3365
+ toolbarButtonSize: {},
3431
3366
  control: {},
3432
3367
  modelValue: {},
3433
3368
  label: {},
@@ -3442,18 +3377,19 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3442
3377
  passthroughAttrs: {},
3443
3378
  density: {},
3444
3379
  variant: {}
3445
- }, Y(Y({}, Ot), {}, { minHeight: void 0 })),
3380
+ }, J(J({}, Z), {}, { minHeight: void 0 })),
3446
3381
  emits: ["update:modelValue", "click:clear"],
3447
3382
  setup(e, { emit: t }) {
3448
3383
  let r = e, { densityClass: i, value: a, vuetifyBindings: o } = Q(r, t);
3449
- return (t, s) => (b(), n(k(At), m(r, { class: ["rtf-editor", k(i)] }), {
3450
- default: N((t) => [c(Bn, m({
3384
+ return (t, s) => (b(), n(A(Mt), m(r, { class: ["rtf-editor", A(i)] }), {
3385
+ default: F((t) => [c(Un, m({
3451
3386
  ref: "$editor",
3452
- modelValue: k(a),
3387
+ modelValue: A(a),
3453
3388
  "onUpdate:modelValue": s[0] || (s[0] = (e) => f(a) ? a.value = e : null),
3454
3389
  class: { "mt-6": !!e.label },
3455
3390
  "min-height": e.minHeight,
3456
- disabled: k(o).disabled
3391
+ disabled: A(o).disabled,
3392
+ "toolbar-button-size": e.toolbarButtonSize
3457
3393
  }, e.passthroughAttrs, {
3458
3394
  onFocusin: (e) => t.focus(),
3459
3395
  onFocusout: (e) => t.blur()
@@ -3462,6 +3398,7 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3462
3398
  "class",
3463
3399
  "min-height",
3464
3400
  "disabled",
3401
+ "toolbar-button-size",
3465
3402
  "onFocusin",
3466
3403
  "onFocusout"
3467
3404
  ])]),
@@ -3471,42 +3408,42 @@ var Rn = { class: "editor-container" }, zn = { class: "rtf-bubble-menu" }, Bn =
3471
3408
  });
3472
3409
  //#endregion
3473
3410
  //#region src/helpers/df-select.helper.ts
3474
- function Hn(e) {
3411
+ function Gn(e) {
3475
3412
  return e.map((e) => ({
3476
3413
  value: e.id,
3477
3414
  title: e.text,
3478
3415
  icon: e.icon
3479
3416
  }));
3480
3417
  }
3481
- function Un(e, t) {
3418
+ function Kn(e, t) {
3482
3419
  var n;
3483
- return e == null || G(e) && e.length === 0 ? null : t ? U(e) : G(e) ? (n = W(e)) == null ? null : n : e;
3420
+ return e == null || G(e) && e.length === 0 ? null : t ? re(e) : G(e) ? (n = ie(e)) == null ? null : n : e;
3484
3421
  }
3485
- function Wn(e, t) {
3422
+ function qn(e, t) {
3486
3423
  if (t == null) return [];
3487
- let n = U(t);
3424
+ let n = re(t);
3488
3425
  return e.filter((e) => n.some((t) => t === e.id));
3489
3426
  }
3490
- function Gn(e, t, n, r, i) {
3491
- let a = Un(e, n);
3427
+ function Jn(e, t, n, r, i) {
3428
+ let a = Kn(e, n);
3492
3429
  if (a == null) {
3493
3430
  t.value = n ? [] : null;
3494
3431
  return;
3495
3432
  }
3496
- if (n) t.value = r ? a : Wn(i, a).map((e) => e.id);
3433
+ if (n) t.value = r ? a : qn(i, a).map((e) => e.id);
3497
3434
  else if (r) t.value = a;
3498
3435
  else {
3499
3436
  var o;
3500
- let e = W(Wn(i, a));
3437
+ let e = ie(qn(i, a));
3501
3438
  t.value = (o = e == null ? void 0 : e.id) == null ? null : o;
3502
3439
  }
3503
3440
  }
3504
3441
  //#endregion
3505
3442
  //#region src/df-select.vue?vue&type=script&setup=true&lang.ts
3506
- var Kn = {
3443
+ var Yn = {
3507
3444
  key: 0,
3508
3445
  class: "me-1"
3509
- }, qn = /*#__PURE__*/ ((e, t) => {
3446
+ }, Xn = /*#__PURE__*/ ((e, t) => {
3510
3447
  let n = e.__vccOpts || e;
3511
3448
  for (let [e, r] of t) n[e] = r;
3512
3449
  return n;
@@ -3532,7 +3469,7 @@ var Kn = {
3532
3469
  passthroughAttrs: {},
3533
3470
  density: {},
3534
3471
  variant: {}
3535
- }, Y(Y({}, Ot), {}, {
3472
+ }, J(J({}, Z), {}, {
3536
3473
  choices: void 0,
3537
3474
  multiple: !1,
3538
3475
  allowTags: !1,
@@ -3546,174 +3483,174 @@ var Kn = {
3546
3483
  ],
3547
3484
  setup(e, { emit: s }) {
3548
3485
  var l;
3549
- let d = e, { choices: f, multiple: p, allowTags: v, allowNull: y, cssClass: S } = ee(d), E = s, O = x(null), { densityClass: A, isRendered: j, label: P, showErrors: F, touched: I, value: L, visibilityClass: R, vuetifyBindings: z } = Q(d, E), B = x(null), te = x(!1), H = x([]), U = t(() => k(te) ? k(H) : k(f) || []), ne = x(!1), W = t(() => Hn(U.value)), G = x(null), K = x(0), q = x(!1);
3486
+ let d = e, { choices: f, multiple: p, allowTags: v, allowNull: y, cssClass: S } = k(d), E = s, O = x(null), { densityClass: j, isRendered: M, label: P, showErrors: I, touched: L, value: R, visibilityClass: z, vuetifyBindings: B } = Q(d, E), V = x(null), ee = x(!1), te = x([]), H = t(() => A(ee) ? A(te) : A(f) || []), ne = x(!1), re = t(() => Gn(H.value)), W = x(null), ie = x(0), G = x(!1);
3550
3487
  (l = f.value) != null && l.length && d.fetchChoices !== void 0 && console.warn("Both choices and fetchChoices are set. Only one of them should be set.");
3551
- function ie(e) {
3552
- E("update:modelValueDisplay", Wn(U.value, e));
3488
+ function ae(e) {
3489
+ E("update:modelValueDisplay", qn(H.value, e));
3553
3490
  }
3554
- let ae = x(!1);
3555
- function oe(e) {
3556
- ae.value = !0;
3491
+ let K = x(!1);
3492
+ function se(e) {
3493
+ K.value = !0;
3557
3494
  try {
3558
- L.value = e;
3495
+ R.value = e;
3559
3496
  } finally {
3560
- re(Un(L.value, p.value), e) || Gn(Un(L.value, p.value), B, p.value, v.value, U.value), h(() => {
3561
- ae.value = !1;
3497
+ oe(Kn(R.value, p.value), e) || Jn(Kn(R.value, p.value), V, p.value, v.value, H.value), h(() => {
3498
+ K.value = !1;
3562
3499
  });
3563
3500
  }
3564
3501
  }
3565
- function J(e) {
3502
+ function ce(e) {
3566
3503
  if (!e) return 0;
3567
3504
  let t = e.getBoundingClientRect(), n = window.getComputedStyle(e);
3568
3505
  return t.width + parseFloat(n.marginLeft) + parseFloat(n.marginRight);
3569
3506
  }
3570
- function se() {
3571
- if (p.value && y.value && B.value != null && B.value.length > 0 && O.value) {
3507
+ function le() {
3508
+ if (p.value && y.value && V.value != null && V.value.length > 0 && O.value) {
3572
3509
  var e;
3573
3510
  let t = O.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);
3574
3511
  i.forEach((e) => {
3575
- o += J(e);
3512
+ o += ce(e);
3576
3513
  });
3577
- let s = J(t.querySelector(".v-field .v-field__clearable")), c = J(t.querySelector(".v-field .v-field__append-inner"));
3578
- q.value = n - o - i.length * 2 - c < s;
3579
- } else q.value = !1;
3514
+ let s = ce(t.querySelector(".v-field .v-field__clearable")), c = ce(t.querySelector(".v-field .v-field__append-inner"));
3515
+ G.value = n - o - i.length * 2 - c < s;
3516
+ } else G.value = !1;
3580
3517
  }
3581
- function le(e) {
3518
+ function q(e) {
3582
3519
  let t = e.target;
3583
3520
  t instanceof HTMLElement && t.closest(".v-chip__close") && (e.stopPropagation(), e.preventDefault());
3584
3521
  }
3585
- M(B, (e) => {
3586
- z.value.readonly || h(() => {
3587
- let t = Un(e, p.value);
3588
- ie(t), oe(t);
3522
+ N(V, (e) => {
3523
+ B.value.readonly || h(() => {
3524
+ let t = Kn(e, p.value);
3525
+ ae(t), se(t);
3589
3526
  });
3590
- }, { deep: !0 }), M(L, (e) => {
3591
- ae.value || Gn(Un(e, p.value), B, p.value, !1, U.value);
3592
- }, { deep: !0 }), M(ae, () => {
3593
- ae.value || se();
3527
+ }, { deep: !0 }), N(R, (e) => {
3528
+ K.value || Jn(Kn(e, p.value), V, p.value, !1, H.value);
3529
+ }, { deep: !0 }), N(K, () => {
3530
+ K.value || le();
3594
3531
  });
3595
3532
  function ue() {
3596
- G.value != null && G.value.length > 0 && (G.value = null, pe());
3533
+ W.value != null && W.value.length > 0 && (W.value = null, me());
3597
3534
  }
3598
- function de() {
3599
- if (ue(), z.value.readonly || v.value) return;
3600
- let e = Un(B.value, p.value);
3601
- Gn(e, B, p.value, !1, U.value), oe(e);
3535
+ function fe() {
3536
+ if (ue(), B.value.readonly || v.value) return;
3537
+ let e = Kn(V.value, p.value);
3538
+ Jn(e, V, p.value, !1, H.value), se(e);
3602
3539
  }
3603
- function fe(e, t) {
3604
- if (e.stopPropagation(), z.value.readonly || v.value) {
3605
- v.value && (B.value = B.value.filter((e) => e !== t));
3540
+ function pe(e, t) {
3541
+ if (e.stopPropagation(), B.value.readonly || v.value) {
3542
+ v.value && (V.value = V.value.filter((e) => e !== t));
3606
3543
  return;
3607
3544
  }
3608
3545
  let n;
3609
- n = p.value && Array.isArray(B.value) ? Un(B.value.filter((e) => e !== t), p.value) : null, Gn(n, B, p.value, !1, U.value), oe(n);
3546
+ n = p.value && Array.isArray(V.value) ? Kn(V.value.filter((e) => e !== t), p.value) : null, Jn(n, V, p.value, !1, H.value), se(n);
3610
3547
  }
3611
- function pe(e, t) {
3612
- return me.apply(this, arguments);
3548
+ function me(e, t) {
3549
+ return he.apply(this, arguments);
3613
3550
  }
3614
- function me() {
3615
- return me = Xt(function* (e, t) {
3616
- if (z.value.readonly || (G.value = e, f.value || d.fetchChoices === void 0)) return;
3617
- let n = ++K.value;
3551
+ function he() {
3552
+ return he = Qt(function* (e, t) {
3553
+ if (B.value.readonly || (W.value = e, f.value || d.fetchChoices === void 0)) return;
3554
+ let n = ++ie.value;
3618
3555
  ne.value = !0;
3619
3556
  try {
3620
- let r = Wn(U.value, Un(B.value, p.value)), i = yield d.fetchChoices(e, t);
3621
- if (n !== K.value) return;
3622
- H.value = ce([...r, ...i], "id"), te.value = !0;
3557
+ let r = qn(H.value, Kn(V.value, p.value)), i = yield d.fetchChoices(e, t);
3558
+ if (n !== ie.value) return;
3559
+ te.value = de([...r, ...i], "id"), ee.value = !0;
3623
3560
  } finally {
3624
3561
  ne.value = !1;
3625
3562
  }
3626
- }), me.apply(this, arguments);
3563
+ }), he.apply(this, arguments);
3627
3564
  }
3628
- function he() {
3629
- let e = L.value;
3630
- !y.value && e == null && W.value.length && (e = W.value[0].value), e = Un(e, p.value), Gn(e, B, p.value, v.value, U.value), ie(e), oe(e);
3565
+ function ge() {
3566
+ let e = R.value;
3567
+ !y.value && e == null && re.value.length && (e = re.value[0].value), e = Kn(e, p.value), Jn(e, V, p.value, v.value, H.value), ae(e), se(e);
3631
3568
  }
3632
- return he(), d.fetchChoices !== void 0 && pe(void 0, L.value).then(() => {
3633
- he();
3569
+ return ge(), d.fetchChoices !== void 0 && me(void 0, R.value).then(() => {
3570
+ ge();
3634
3571
  }), (e, t) => {
3635
3572
  let s = w("v-chip"), l = w("v-list-item");
3636
- return k(j) ? (b(), n(T(k(v) ? "v-combobox" : "v-autocomplete"), m({
3573
+ return A(M) ? (b(), n(T(A(v) ? "v-combobox" : "v-autocomplete"), m({
3637
3574
  key: 0,
3638
3575
  ref_key: "dfSelectRef",
3639
3576
  ref: O,
3640
- modelValue: B.value,
3641
- "onUpdate:modelValue": t[0] || (t[0] = (e) => B.value = e),
3577
+ modelValue: V.value,
3578
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => V.value = e),
3642
3579
  class: [
3643
- k(S),
3644
- k(A),
3645
- k(R),
3646
- { "df-select-multirow": q.value }
3580
+ A(S),
3581
+ A(j),
3582
+ A(z),
3583
+ { "df-select-multirow": G.value }
3647
3584
  ],
3648
- items: W.value,
3585
+ items: re.value,
3649
3586
  "return-object": !1,
3650
3587
  chips: "",
3651
3588
  "auto-select-first": !0,
3652
- "closable-chips": k(y) || k(p) && B.value.length > 1,
3653
- clearable: k(y),
3654
- multiple: k(p),
3589
+ "closable-chips": A(y) || A(p) && V.value.length > 1,
3590
+ clearable: A(y),
3591
+ multiple: A(p),
3655
3592
  loading: ne.value,
3656
3593
  "hide-selected": !1,
3657
- "aria-describedby": k(z).helpText ? `${k(z).name}-help` : null,
3594
+ "aria-describedby": A(B).helpText ? `${A(B).name}-help` : null,
3658
3595
  "menu-props": { maxHeight: "400" },
3659
- search: G.value
3660
- }, k(z), {
3661
- "onUpdate:search": t[1] || (t[1] = (e) => pe(e, void 0)),
3662
- "onUpdate:modelValue": de,
3663
- "onClick:clear": t[2] || (t[2] = (e) => B.value = null),
3664
- onBlur: t[3] || (t[3] = (e) => I.value = !0),
3665
- onMousedownCapture: t[4] || (t[4] = (e) => le(e))
3596
+ search: W.value
3597
+ }, A(B), {
3598
+ "onUpdate:search": t[1] || (t[1] = (e) => me(e, void 0)),
3599
+ "onUpdate:modelValue": fe,
3600
+ "onClick:clear": t[2] || (t[2] = (e) => V.value = null),
3601
+ onBlur: t[3] || (t[3] = (e) => L.value = !0),
3602
+ onMousedownCapture: t[4] || (t[4] = (e) => q(e))
3666
3603
  }), o({
3667
- chip: N(({ item: e }) => [(b(), n(s, {
3604
+ chip: F(({ item: e }) => [(b(), n(s, {
3668
3605
  key: e.value,
3669
3606
  label: "",
3670
3607
  size: "small",
3671
3608
  class: "d-flex align-middle",
3672
- variant: k(p) ? "tonal" : "text",
3673
- closable: k(p),
3674
- "onClick:close": (t) => fe(t, e.value)
3609
+ variant: A(p) ? "tonal" : "text",
3610
+ closable: A(p),
3611
+ "onClick:close": (t) => pe(t, e.value)
3675
3612
  }, {
3676
- prepend: N(() => {
3613
+ prepend: F(() => {
3677
3614
  var t;
3678
- return [(t = e.raw) != null && t.icon ? (b(), n(k(V), {
3615
+ return [(t = e.raw) != null && t.icon ? (b(), n(A(U), {
3679
3616
  key: 0,
3680
3617
  class: "me-1",
3681
3618
  name: e.raw.icon
3682
3619
  }, null, 8, ["name"])) : r("", !0)];
3683
3620
  }),
3684
- default: N(() => [a("span", { class: g({ "text-body-1": !k(p) }) }, D(e.title), 3)]),
3621
+ default: F(() => [a("span", { class: g({ "text-body-1": !A(p) }) }, D(e.title), 3)]),
3685
3622
  _: 2
3686
3623
  }, 1032, [
3687
3624
  "variant",
3688
3625
  "closable",
3689
3626
  "onClick:close"
3690
3627
  ]))]),
3691
- label: N((e) => [c(k(Z), {
3628
+ label: F((e) => [c(A(X), {
3692
3629
  data: e,
3693
- label: k(P)
3630
+ label: A(P)
3694
3631
  }, null, 8, ["data", "label"])]),
3695
- item: N(({ props: e, item: t }) => [c(l, _(u(e)), {
3696
- prepend: N(() => {
3632
+ item: F(({ props: e, item: t }) => [c(l, _(u(e)), {
3633
+ prepend: F(() => {
3697
3634
  var e;
3698
- return [(e = t.raw) != null && e.icon ? (b(), i("span", Kn, [c(k(V), {
3635
+ return [(e = t.raw) != null && e.icon ? (b(), i("span", Yn, [c(A(U), {
3699
3636
  class: "action-icon",
3700
3637
  name: t.raw.icon
3701
3638
  }, null, 8, ["name"])])) : r("", !0)];
3702
3639
  }),
3703
3640
  _: 2
3704
3641
  }, 1040)]),
3705
- message: N(({ message: e }) => [c(k(X), {
3642
+ message: F(({ message: e }) => [c(A(Y), {
3706
3643
  message: e,
3707
- errors: k(F)
3644
+ errors: A(I)
3708
3645
  }, null, 8, ["message", "errors"])]),
3709
3646
  _: 2
3710
3647
  }, [e.$slots["append-inner"] ? {
3711
3648
  name: "append-inner",
3712
- fn: N((t) => [C(e.$slots, "append-inner", _(u(t)), void 0, !0)]),
3649
+ fn: F((t) => [C(e.$slots, "append-inner", _(u(t)), void 0, !0)]),
3713
3650
  key: "0"
3714
3651
  } : void 0, e.$slots["prepend-inner"] ? {
3715
3652
  name: "prepend-inner",
3716
- fn: N((t) => [C(e.$slots, "prepend-inner", _(u(t)), void 0, !0)]),
3653
+ fn: F((t) => [C(e.$slots, "prepend-inner", _(u(t)), void 0, !0)]),
3717
3654
  key: "1"
3718
3655
  } : void 0]), 1040, [
3719
3656
  "modelValue",
@@ -3728,7 +3665,7 @@ var Kn = {
3728
3665
  ])) : r("", !0);
3729
3666
  };
3730
3667
  }
3731
- }), [["__scopeId", "data-v-7e5aa3b6"]]), Jn = /* @__PURE__ */ l({
3668
+ }), [["__scopeId", "data-v-7e5aa3b6"]]), Zn = /* @__PURE__ */ l({
3732
3669
  __name: "df-text-area",
3733
3670
  props: /*@__PURE__*/ p({
3734
3671
  rows: {},
@@ -3747,33 +3684,33 @@ var Kn = {
3747
3684
  passthroughAttrs: {},
3748
3685
  density: {},
3749
3686
  variant: {}
3750
- }, Y(Y({}, Ot), {}, {
3687
+ }, J(J({}, Z), {}, {
3751
3688
  rows: void 0,
3752
3689
  maxRows: void 0
3753
3690
  })),
3754
3691
  emits: ["update:modelValue", "click:clear"],
3755
3692
  setup(e, { emit: t }) {
3756
- let n = e, { densityClass: a, isRendered: o, label: s, showErrors: l, touched: u, value: d, visibilityClass: p, vuetifyBindings: h } = Q(n, t), { cssClass: _ } = ee(n);
3693
+ let n = e, { densityClass: a, isRendered: o, label: s, showErrors: l, touched: u, value: d, visibilityClass: p, vuetifyBindings: h } = Q(n, t), { cssClass: _ } = k(n);
3757
3694
  return (t, n) => {
3758
3695
  let v = w("v-textarea");
3759
- return k(o) ? (b(), i("div", {
3696
+ return A(o) ? (b(), i("div", {
3760
3697
  key: 0,
3761
- class: g(["df-textarea-container", [k(a), k(p)]])
3698
+ class: g(["df-textarea-container", [A(a), A(p)]])
3762
3699
  }, [c(v, m({
3763
- modelValue: k(d),
3700
+ modelValue: A(d),
3764
3701
  "onUpdate:modelValue": n[0] || (n[0] = (e) => f(d) ? d.value = e : null),
3765
- class: k(_),
3702
+ class: A(_),
3766
3703
  rows: e.rows,
3767
3704
  "auto-grow": (e.maxRows || 0) > 0,
3768
3705
  "max-rows": e.maxRows
3769
- }, k(h), { onBlur: n[1] || (n[1] = (e) => u.value = !0) }), {
3770
- label: N((e) => [c(k(Z), {
3706
+ }, A(h), { onBlur: n[1] || (n[1] = (e) => u.value = !0) }), {
3707
+ label: F((e) => [c(A(X), {
3771
3708
  data: e,
3772
- label: k(s)
3709
+ label: A(s)
3773
3710
  }, null, 8, ["data", "label"])]),
3774
- message: N(({ message: e }) => [c(k(X), {
3711
+ message: F(({ message: e }) => [c(A(Y), {
3775
3712
  message: e,
3776
- errors: k(l)
3713
+ errors: A(l)
3777
3714
  }, null, 8, ["message", "errors"])]),
3778
3715
  _: 1
3779
3716
  }, 16, [
@@ -3785,62 +3722,62 @@ var Kn = {
3785
3722
  ])], 2)) : r("", !0);
3786
3723
  };
3787
3724
  }
3788
- }), Yn = /* @__PURE__ */ rt({
3789
- DfActions: () => Gt,
3790
- DfCheckbox: () => Kt,
3791
- DfColor: () => qt,
3792
- DfDateTime: () => Jt,
3793
- DfFile: () => Qt,
3794
- DfImage: () => an,
3795
- DfInput: () => on,
3796
- DfInputHint: () => X,
3797
- DfLabel: () => Z,
3798
- DfRtfEditor: () => Vn,
3799
- DfSelect: () => qn,
3800
- DfTextArea: () => Jn
3801
- }), Xn = /* @__PURE__ */ rt({
3802
- VAutocomplete: () => Me,
3803
- VBtn: () => Ne,
3804
- VCheckbox: () => Pe,
3805
- VChip: () => Fe,
3806
- VCol: () => He,
3807
- VColorPicker: () => Le,
3808
- VCombobox: () => Ie,
3809
- VConfirmEdit: () => Re,
3810
- VDatePicker: () => ze,
3811
- VField: () => Be,
3812
- VFileInput: () => Ve,
3813
- VIcon: () => We,
3814
- VImg: () => Ge,
3815
- VInput: () => Ke,
3816
- VListItem: () => qe,
3817
- VMenu: () => Je,
3818
- VNumberInput: () => Ye,
3819
- VProgressLinear: () => Xe,
3820
- VRow: () => Ue,
3821
- VSelect: () => Ze,
3822
- VSwitch: () => Qe,
3823
- VTextField: () => et,
3824
- VTextarea: () => $e,
3825
- VTimePicker: () => tt
3826
- }), Zn = {
3827
- "df-actions": Gt,
3828
- "df-checkbox": Kt,
3829
- "df-color": qt,
3830
- "df-date-time": Jt,
3831
- "df-file": Qt,
3832
- "df-image": an,
3833
- "df-input": on,
3834
- "df-input-hint": X,
3835
- "df-label": Z,
3836
- "df-rtf-editor": Vn,
3837
- "df-select": qn,
3838
- "df-text-area": Jn
3839
- }, Qn = /* @__PURE__ */ rt({}), $n = { install: (e, t) => {
3725
+ }), Qn = /* @__PURE__ */ ot({
3726
+ DfActions: () => qt,
3727
+ DfCheckbox: () => Jt,
3728
+ DfColor: () => Yt,
3729
+ DfDateTime: () => Xt,
3730
+ DfFile: () => en,
3731
+ DfImage: () => sn,
3732
+ DfInput: () => cn,
3733
+ DfInputHint: () => Y,
3734
+ DfLabel: () => X,
3735
+ DfRtfEditor: () => Wn,
3736
+ DfSelect: () => Xn,
3737
+ DfTextArea: () => Zn
3738
+ }), $n = /* @__PURE__ */ ot({
3739
+ VAutocomplete: () => Fe,
3740
+ VBtn: () => Ie,
3741
+ VCheckbox: () => Le,
3742
+ VChip: () => Re,
3743
+ VCol: () => Ge,
3744
+ VColorPicker: () => Be,
3745
+ VCombobox: () => ze,
3746
+ VConfirmEdit: () => Ve,
3747
+ VDatePicker: () => He,
3748
+ VField: () => Ue,
3749
+ VFileInput: () => We,
3750
+ VIcon: () => qe,
3751
+ VImg: () => Je,
3752
+ VInput: () => Ye,
3753
+ VListItem: () => Xe,
3754
+ VMenu: () => Ze,
3755
+ VNumberInput: () => Qe,
3756
+ VProgressLinear: () => $e,
3757
+ VRow: () => Ke,
3758
+ VSelect: () => et,
3759
+ VSwitch: () => tt,
3760
+ VTextField: () => rt,
3761
+ VTextarea: () => nt,
3762
+ VTimePicker: () => it
3763
+ }), er = {
3764
+ "df-actions": qt,
3765
+ "df-checkbox": Jt,
3766
+ "df-color": Yt,
3767
+ "df-date-time": Xt,
3768
+ "df-file": en,
3769
+ "df-image": sn,
3770
+ "df-input": cn,
3771
+ "df-input-hint": Y,
3772
+ "df-label": X,
3773
+ "df-rtf-editor": Wn,
3774
+ "df-select": Xn,
3775
+ "df-text-area": Zn
3776
+ }, tr = /* @__PURE__ */ ot({}), nr = { install: (e, t) => {
3840
3777
  var n, r;
3841
- e.provide(Et, t == null ? {} : t), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(Yn).map(([t, n]) => e.component(t, n)), (r = t == null ? void 0 : t.registerVuetifyComponents) != null && r && Object.entries(Xn).map(([t, n]) => e.component(t, n));
3778
+ e.provide(kt, t == null ? {} : t), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(Qn).map(([t, n]) => e.component(t, n)), (r = t == null ? void 0 : t.registerVuetifyComponents) != null && r && Object.entries($n).map(([t, n]) => e.component(t, n));
3842
3779
  } };
3843
3780
  //#endregion
3844
- export { Bt as Action, $ as ActionDisplayStyle, wt as DateTimeLocaleConfig, Gt as DfActions, Kt as DfCheckbox, qt as DfColor, Jt as DfDateTime, Qt as DfFile, an as DfImage, on as DfInput, Qn as DfInputComponentProps, Yn as DfInputComponents, X as DfInputHint, Z as DfLabel, Vn as DfRtfEditor, qn as DfSelect, Jn as DfTextArea, $n as DynamicFormsInputs, Tt as FileGoneError, At as InputBase, Dt as Label, Rt as ResponsiveActionRenderOptions, Ft as ResponsiveRenderOptions, Xn as VuetifyComponents, Ot as defaultBaseProps, Nt as defaultDisplayStyle, Zn as dfInputComponentsByTag, It as getBreakpointName, zt as getRenderOptionsForBreakpoint, Pt as responsiveBreakpoints, Ht as setFileGoneError, jt as translatableStrings, Mt as translateStrings, Lt as useBreakpoint, Vt as useFileTouchKeepAlive, Q as useInputBase, Et as vuetifyInputsSettingsKey };
3781
+ export { Ht as Action, $ as ActionDisplayStyle, Dt as DateTimeLocaleConfig, qt as DfActions, Jt as DfCheckbox, Yt as DfColor, Xt as DfDateTime, en as DfFile, sn as DfImage, cn as DfInput, tr as DfInputComponentProps, Qn as DfInputComponents, Y as DfInputHint, X as DfLabel, Wn as DfRtfEditor, Xn as DfSelect, Zn as DfTextArea, nr as DynamicFormsInputs, Ot as FileGoneError, Mt as InputBase, At as Label, Bt as ResponsiveActionRenderOptions, Lt as ResponsiveRenderOptions, $n as VuetifyComponents, Z as defaultBaseProps, Ft as defaultDisplayStyle, er as dfInputComponentsByTag, Rt as getBreakpointName, Vt as getRenderOptionsForBreakpoint, It as responsiveBreakpoints, Wt as setFileGoneError, Nt as translatableStrings, Pt as translateStrings, zt as useBreakpoint, Ut as useFileTouchKeepAlive, Q as useInputBase, kt as vuetifyInputsSettingsKey };
3845
3782
 
3846
3783
  //# sourceMappingURL=dynamicforms-vuetify-inputs.js.map