@dynamicforms/vuetify-inputs 0.10.0 → 0.10.1

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