@anzusystems/common-admin 1.46.0-alpha6 → 1.46.0-alpha7

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,9 +1,9 @@
1
1
  var Pc = Object.defineProperty;
2
2
  var zc = (t, a, e) => a in t ? Pc(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e;
3
3
  var Ni = (t, a, e) => (zc(t, typeof a != "symbol" ? a + "" : a, e), e);
4
- import { defineComponent as W, computed as S, openBlock as q, createBlock as E, withCtx as V, createTextVNode as B, toDisplayString as k, createElementBlock as R, createVNode as m, normalizeClass as Ve, createCommentVNode as U, renderSlot as ce, createElementVNode as z, resolveComponent as Me, withModifiers as J, withDirectives as oa, vShow as Ta, isProxy as vd, toRaw as bt, isRef as Ys, unref as v, Fragment as he, normalizeStyle as Kt, shallowRef as Ct, watch as ge, ref as D, reactive as Ea, onBeforeUnmount as Xs, inject as Oe, createSlots as la, provide as bi, renderList as Ne, onMounted as Xt, TransitionGroup as hd, isVNode as Oc, mergeModels as ol, useModel as Fd, toRefs as Gs, vModelText as nl, nextTick as Ot, pushScopeId as Nc, popScopeId as Lc, withKeys as es, mergeProps as da, onUnmounted as An, getCurrentInstance as Uc, readonly as vs, createStaticVNode as gd, resolveDynamicComponent as Dr, setBlockTracking as ll, toRef as Tr, Teleport as jc, normalizeProps as Hc, guardReactiveProps as Wc } from "vue";
4
+ import { defineComponent as W, computed as S, openBlock as q, createBlock as E, withCtx as V, createTextVNode as B, toDisplayString as k, createElementBlock as R, createVNode as m, normalizeClass as Ve, createCommentVNode as U, renderSlot as ce, createElementVNode as z, resolveComponent as Me, withModifiers as J, withDirectives as na, vShow as Ta, isProxy as vd, toRaw as bt, isRef as Ys, unref as v, Fragment as he, normalizeStyle as Kt, shallowRef as Ct, watch as Fe, ref as D, reactive as Ea, onBeforeUnmount as Xs, inject as Oe, createSlots as da, provide as bi, renderList as Ne, onMounted as Xt, TransitionGroup as hd, isVNode as Oc, mergeModels as ol, useModel as Fd, toRefs as Gs, vModelText as nl, nextTick as Ot, pushScopeId as Nc, popScopeId as Lc, withKeys as es, mergeProps as ua, onUnmounted as An, getCurrentInstance as Uc, readonly as vs, createStaticVNode as gd, resolveDynamicComponent as Dr, setBlockTracking as ll, toRef as Tr, Teleport as jc, normalizeProps as Hc, guardReactiveProps as Wc } from "vue";
5
5
  import { useI18n as te, createI18n as Gc } from "vue-i18n";
6
- import { VChip as na } from "vuetify/lib/components/VChip/index.mjs";
6
+ import { VChip as la } from "vuetify/lib/components/VChip/index.mjs";
7
7
  import { VRow as pe, VCol as de, VSpacer as tt } from "vuetify/lib/components/VGrid/index.mjs";
8
8
  import { VAlert as mi } from "vuetify/lib/components/VAlert/index.mjs";
9
9
  import { VIcon as oe } from "vuetify/lib/components/VIcon/index.mjs";
@@ -22,7 +22,7 @@ import { VToolbar as ss, VToolbarTitle as Ad } from "vuetify/lib/components/VToo
22
22
  import { useRouter as bn } from "vue-router";
23
23
  import Mr from "axios";
24
24
  import { VDialog as pt } from "vuetify/lib/components/VDialog/index.mjs";
25
- import ua, { useVuelidate as nm } from "@vuelidate/core";
25
+ import ca, { useVuelidate as nm } from "@vuelidate/core";
26
26
  import { createI18nMessage as Jt, between as lm, email as dm, maxLength as um, maxValue as cm, minLength as mm, minValue as fm, numeric as Vm, required as pm, requiredIf as vm, helpers as yd, url as hm } from "@vuelidate/validators";
27
27
  import { VDatePicker as Fm } from "vuetify/lib/components/VDatePicker/index.mjs";
28
28
  import { VCheckboxBtn as Si } from "vuetify/lib/components/VCheckbox/index.mjs";
@@ -53,7 +53,7 @@ const Cm = { key: 1 }, xd = /* @__PURE__ */ W({
53
53
  },
54
54
  setup(t) {
55
55
  const a = t, { t: e } = te(), s = S(() => a.value === !0 || a.value === 1 || a.value === "true"), i = S(() => s.value ? e("common.model.boolean.true") : e("common.model.boolean.false")), r = S(() => a.invertColor ? s.value ? "error" : "success" : s.value ? "success" : "error");
56
- return (o, d) => o.chip ? (q(), E(na, {
56
+ return (o, d) => o.chip ? (q(), E(la, {
57
57
  key: 0,
58
58
  color: r.value,
59
59
  label: "",
@@ -143,7 +143,7 @@ const Cm = { key: 1 }, xd = /* @__PURE__ */ W({
143
143
  loading: { type: Boolean, default: void 0 }
144
144
  },
145
145
  setup(t) {
146
- return (a, e) => oa((q(), R("div", km, null, 512)), [
146
+ return (a, e) => na((q(), R("div", km, null, 512)), [
147
147
  [Ta, a.loading]
148
148
  ]);
149
149
  }
@@ -268,7 +268,7 @@ const Cm = { key: 1 }, xd = /* @__PURE__ */ W({
268
268
  if (Br(a.id) && a.id > 0)
269
269
  return i.get(a.id);
270
270
  });
271
- return ge(
271
+ return Fe(
272
272
  r,
273
273
  async (o) => {
274
274
  s.value || O(o) || !o._loaded || (e.value = o, s.value = !0);
@@ -551,7 +551,7 @@ const sf = {
551
551
  lockedByUser: L
552
552
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
553
553
  } = is(e.collab.room, e.collab.field);
554
- o.value = A, d.value = X, ge(
554
+ o.value = A, d.value = X, Fe(
555
555
  L,
556
556
  (N) => {
557
557
  n.value = N;
@@ -609,7 +609,7 @@ const sf = {
609
609
  onBlur: Y,
610
610
  onFocus: p,
611
611
  "onUpdate:modelValue": X[1] || (X[1] = (w) => f(w))
612
- }, la({ _: 2 }, [
612
+ }, da({ _: 2 }, [
613
613
  A.hideLabel ? void 0 : {
614
614
  name: "label",
615
615
  fn: V(() => [
@@ -667,7 +667,7 @@ const sf = {
667
667
  lockedByUser: L
668
668
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
669
669
  } = is(e.collab.room, e.collab.field);
670
- o.value = A, d.value = X, ge(
670
+ o.value = A, d.value = X, Fe(
671
671
  L,
672
672
  (N) => {
673
673
  n.value = N;
@@ -722,7 +722,7 @@ const sf = {
722
722
  onBlur: Y,
723
723
  onFocus: p,
724
724
  "onUpdate:modelValue": X[1] || (X[1] = (w) => f(w))
725
- }, la({ _: 2 }, [
725
+ }, da({ _: 2 }, [
726
726
  A.hideLabel ? void 0 : {
727
727
  name: "label",
728
728
  fn: V(() => [
@@ -776,11 +776,11 @@ const sf = {
776
776
  s("update:modelValue", xe(A));
777
777
  }
778
778
  }), { t: r } = te(), o = S(() => Math.ceil(i.value.totalCount / i.value.rowsPerPage)), d = S(() => i.value.page * i.value.rowsPerPage - i.value.rowsPerPage + 1), n = S(() => i.value.page * i.value.rowsPerPage - i.value.rowsPerPage + i.value.currentViewCount), l = S(() => i.value.page === 1), c = S(() => !ie(i.value.hasNextPage) || i.value.page === o.value), u = S(() => ie(i.value.hasNextPage) && i.value.page === o.value || i.value.hasNextPage === !1), f = S(() => ie(i.value.hasNextPage) ? i.value.totalCount : i.value.hasNextPage ? n.value + 1 + "+" : n.value), Y = S(() => i.value.rowsPerPage);
779
- ge(Y, (A, X) => {
779
+ Fe(Y, (A, X) => {
780
780
  A !== X && (i.value.page = 1, s("change"));
781
781
  });
782
782
  const p = S(() => i.value.page);
783
- ge(p, (A, X) => {
783
+ Fe(p, (A, X) => {
784
784
  A !== X && s("change");
785
785
  });
786
786
  const h = () => {
@@ -979,7 +979,7 @@ const sf = {
979
979
  }), c = S(() => e.customOptions ? e.customOptions : e.variant === "most-relevant" ? n : d), u = (f) => {
980
980
  o.value = f.id;
981
981
  };
982
- return ge(
982
+ return Fe(
983
983
  r,
984
984
  (f, Y) => {
985
985
  if (O(Y) || f === Y)
@@ -988,7 +988,7 @@ const sf = {
988
988
  p && s("sortByChange", p);
989
989
  },
990
990
  { immediate: !0 }
991
- ), ge(
991
+ ), Fe(
992
992
  o,
993
993
  (f, Y) => {
994
994
  O(Y) || f === Y || (r.value = f);
@@ -1080,7 +1080,7 @@ const sf = {
1080
1080
  },
1081
1081
  setup(t) {
1082
1082
  const a = t, e = S(() => a.data);
1083
- return ge(
1083
+ return Fe(
1084
1084
  e,
1085
1085
  (s) => {
1086
1086
  console.log(s);
@@ -1973,7 +1973,7 @@ var Gd = { exports: {} };
1973
1973
  return j ? je : je.endOf(l);
1974
1974
  }, ae = function(Ke, Ee) {
1975
1975
  return _.w($.toDate()[Ke].apply($.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ee)), $);
1976
- }, Z = this.$W, ee = this.$M, qe = this.$D, Ae = "set" + (this.$u ? "UTC" : "");
1976
+ }, Z = this.$W, ee = this.$M, ge = this.$D, Ae = "set" + (this.$u ? "UTC" : "");
1977
1977
  switch (G) {
1978
1978
  case Y:
1979
1979
  return j ? Q(1, 0) : Q(31, 11);
@@ -1981,7 +1981,7 @@ var Gd = { exports: {} };
1981
1981
  return j ? Q(1, ee) : Q(0, ee + 1);
1982
1982
  case c:
1983
1983
  var _e = this.$locale().weekStart || 0, De = (Z < _e ? Z + 7 : Z) - _e;
1984
- return Q(j ? qe - De : qe + (6 - De), ee);
1984
+ return Q(j ? ge - De : ge + (6 - De), ee);
1985
1985
  case l:
1986
1986
  case p:
1987
1987
  return ae(Ae + "Hours", 0);
@@ -2012,8 +2012,8 @@ var Gd = { exports: {} };
2012
2012
  var $, j = this;
2013
2013
  C = Number(C);
2014
2014
  var G = _.p(K), Q = function(ee) {
2015
- var qe = H(j);
2016
- return _.w(qe.date(qe.date() + Math.round(ee * C)), j);
2015
+ var ge = H(j);
2016
+ return _.w(ge.date(ge.date() + Math.round(ee * C)), j);
2017
2017
  };
2018
2018
  if (G === u)
2019
2019
  return this.set(u, this.$M + C);
@@ -2031,7 +2031,7 @@ var Gd = { exports: {} };
2031
2031
  var K = this, $ = this.$locale();
2032
2032
  if (!this.isValid())
2033
2033
  return $.invalidDate || h;
2034
- var j = C || "YYYY-MM-DDTHH:mm:ssZ", G = _.z(this), Q = this.$H, ae = this.$m, Z = this.$M, ee = $.weekdays, qe = $.months, Ae = $.meridiem, _e = function(Ee, je, ut, me) {
2034
+ var j = C || "YYYY-MM-DDTHH:mm:ssZ", G = _.z(this), Q = this.$H, ae = this.$m, Z = this.$M, ee = $.weekdays, ge = $.months, Ae = $.meridiem, _e = function(Ee, je, ut, me) {
2035
2035
  return Ee && (Ee[je] || Ee(K, j)) || ut[je].slice(0, me);
2036
2036
  }, De = function(Ee) {
2037
2037
  return _.s(Q % 12 || 12, Ee, "0");
@@ -2051,9 +2051,9 @@ var Gd = { exports: {} };
2051
2051
  case "MM":
2052
2052
  return _.s(Z + 1, 2, "0");
2053
2053
  case "MMM":
2054
- return _e($.monthsShort, Z, qe, 3);
2054
+ return _e($.monthsShort, Z, ge, 3);
2055
2055
  case "MMMM":
2056
- return _e(qe, Z);
2056
+ return _e(ge, Z);
2057
2057
  case "D":
2058
2058
  return K.$D;
2059
2059
  case "DD":
@@ -2097,18 +2097,18 @@ var Gd = { exports: {} };
2097
2097
  }, b.utcOffset = function() {
2098
2098
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2099
2099
  }, b.diff = function(C, K, $) {
2100
- var j, G = this, Q = _.p(K), ae = H(C), Z = (ae.utcOffset() - this.utcOffset()) * s, ee = this - ae, qe = function() {
2100
+ var j, G = this, Q = _.p(K), ae = H(C), Z = (ae.utcOffset() - this.utcOffset()) * s, ee = this - ae, ge = function() {
2101
2101
  return _.m(G, ae);
2102
2102
  };
2103
2103
  switch (Q) {
2104
2104
  case Y:
2105
- j = qe() / 12;
2105
+ j = ge() / 12;
2106
2106
  break;
2107
2107
  case u:
2108
- j = qe();
2108
+ j = ge();
2109
2109
  break;
2110
2110
  case f:
2111
- j = qe() / 3;
2111
+ j = ge() / 3;
2112
2112
  break;
2113
2113
  case c:
2114
2114
  j = (ee - Z) / 6048e5;
@@ -2352,9 +2352,9 @@ var Qd = { exports: {} };
2352
2352
  try {
2353
2353
  if (["x", "X"].indexOf(K) > -1)
2354
2354
  return new Date((K === "X" ? 1e3 : 1) * C);
2355
- var j = p(K)(C), G = j.year, Q = j.month, ae = j.day, Z = j.hours, ee = j.minutes, qe = j.seconds, Ae = j.milliseconds, _e = j.zone, De = /* @__PURE__ */ new Date(), Ke = ae || (G || Q ? 1 : De.getDate()), Ee = G || De.getFullYear(), je = 0;
2355
+ var j = p(K)(C), G = j.year, Q = j.month, ae = j.day, Z = j.hours, ee = j.minutes, ge = j.seconds, Ae = j.milliseconds, _e = j.zone, De = /* @__PURE__ */ new Date(), Ke = ae || (G || Q ? 1 : De.getDate()), Ee = G || De.getFullYear(), je = 0;
2356
2356
  G && !Q || (je = Q > 0 ? Q - 1 : De.getMonth());
2357
- var ut = Z || 0, me = ee || 0, re = qe || 0, ye = Ae || 0;
2357
+ var ut = Z || 0, me = ee || 0, re = ge || 0, ye = Ae || 0;
2358
2358
  return _e ? new Date(Date.UTC(Ee, je, Ke, ut, me, re, ye + 60 * _e.offset * 1e3)) : $ ? new Date(Date.UTC(Ee, je, Ke, ut, me, re, ye)) : new Date(Ee, je, Ke, ut, me, re, ye);
2359
2359
  } catch {
2360
2360
  return /* @__PURE__ */ new Date("");
@@ -2517,7 +2517,7 @@ const tu = /* @__PURE__ */ W({
2517
2517
  ((b = X == null ? void 0 : X.value) == null ? void 0 : b.titleT) !== I.titleT && c(I);
2518
2518
  });
2519
2519
  }, Y = D(void 0);
2520
- ge(Y, () => {
2520
+ Fe(Y, () => {
2521
2521
  if (l(Y)) {
2522
2522
  Y.value.model = e.value, p.value = Y.value, f(Y);
2523
2523
  return;
@@ -2525,7 +2525,7 @@ const tu = /* @__PURE__ */ W({
2525
2525
  h(e.value);
2526
2526
  });
2527
2527
  const p = D(void 0);
2528
- ge(e, (X) => {
2528
+ Fe(e, (X) => {
2529
2529
  h(X);
2530
2530
  });
2531
2531
  const h = (X) => {
@@ -2557,7 +2557,7 @@ const tu = /* @__PURE__ */ W({
2557
2557
  var X;
2558
2558
  return (X = p.value) == null ? void 0 : X.model;
2559
2559
  });
2560
- ge(g, (X) => {
2560
+ Fe(g, (X) => {
2561
2561
  !Jo(e.value) && Jo(X) && (e.value = "");
2562
2562
  });
2563
2563
  const A = S(() => {
@@ -2570,7 +2570,7 @@ const tu = /* @__PURE__ */ W({
2570
2570
  label: y.value,
2571
2571
  "data-cy": X.dataCy,
2572
2572
  placeholder: A.value
2573
- }, la({ _: 2 }, [
2573
+ }, da({ _: 2 }, [
2574
2574
  v(d) ? {
2575
2575
  name: "append-inner",
2576
2576
  fn: V(() => [
@@ -2624,7 +2624,7 @@ const tu = /* @__PURE__ */ W({
2624
2624
  "onClick:clear": l[1] || (l[1] = J((c) => v(r)(n.modelValue), ["stop"]))
2625
2625
  }, null, 8, ["modelValue", "label", "clearable", "data-cy"]));
2626
2626
  }
2627
- }), ca = (t) => {
2627
+ }), ma = (t) => {
2628
2628
  (t == null ? void 0 : t.currentTarget) instanceof HTMLElement && t.currentTarget.blur();
2629
2629
  }, Gf = /* @__PURE__ */ W({
2630
2630
  __name: "AFilterAdvancedButton",
@@ -2636,7 +2636,7 @@ const tu = /* @__PURE__ */ W({
2636
2636
  emits: ["advancedFilter"],
2637
2637
  setup(t, { emit: a }) {
2638
2638
  const e = a, s = D(!1), i = (d) => {
2639
- ca(d), s.value = !s.value, e("advancedFilter");
2639
+ ma(d), s.value = !s.value, e("advancedFilter");
2640
2640
  }, r = S(() => s.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } = te();
2641
2641
  return (d, n) => (q(), E(se, {
2642
2642
  class: Ve(d.buttonClass),
@@ -2672,7 +2672,7 @@ const tu = /* @__PURE__ */ W({
2672
2672
  emits: ["submit"],
2673
2673
  setup(t, { emit: a }) {
2674
2674
  const e = a, s = (r) => {
2675
- ca(r), e("submit");
2675
+ ma(r), e("submit");
2676
2676
  }, { t: i } = te();
2677
2677
  return (r, o) => (q(), E(se, {
2678
2678
  class: Ve(r.buttonClass),
@@ -2698,7 +2698,7 @@ const tu = /* @__PURE__ */ W({
2698
2698
  emits: ["reset"],
2699
2699
  setup(t, { emit: a }) {
2700
2700
  const e = a, s = (r) => {
2701
- ca(r), e("reset");
2701
+ ma(r), e("reset");
2702
2702
  }, { t: i } = te();
2703
2703
  return (r, o) => (q(), E(se, {
2704
2704
  class: Ve([r.buttonClass, "px-2"]),
@@ -2777,7 +2777,7 @@ const tu = /* @__PURE__ */ W({
2777
2777
  m(de, { class: "" }, {
2778
2778
  default: V(() => [
2779
2779
  ce(o.$slots, "default"),
2780
- oa(z("div", Qf, [
2780
+ na(z("div", Qf, [
2781
2781
  ce(o.$slots, "advanced")
2782
2782
  ], 512), [
2783
2783
  [Ta, i.value]
@@ -2913,7 +2913,7 @@ const tV = {
2913
2913
  },
2914
2914
  setup(t) {
2915
2915
  const a = t, { getGrantOption: e } = au(), s = S(() => e(a.grant)), { getGrantOriginOption: i } = eV(), r = S(() => i(a.grantOrigin));
2916
- return (o, d) => s.value ? (q(), E(na, {
2916
+ return (o, d) => s.value ? (q(), E(la, {
2917
2917
  key: 0,
2918
2918
  color: s.value.color,
2919
2919
  label: "",
@@ -3023,7 +3023,7 @@ const oV = /* @__PURE__ */ W({
3023
3023
  },
3024
3024
  setup(t) {
3025
3025
  const a = t, e = Oe(zr), { can: s } = rV(), i = D(s(a.permission, a.subject));
3026
- return ge(e, () => {
3026
+ return Fe(e, () => {
3027
3027
  i.value = s(a.permission, a.subject);
3028
3028
  }), (r, o) => i.value ? ce(r.$slots, "default", { key: 0 }) : U("", !0);
3029
3029
  }
@@ -3186,7 +3186,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3186
3186
  var p;
3187
3187
  (p = r.value) == null || p.focus();
3188
3188
  };
3189
- return ge([s, i], ([p, h], [F, y]) => {
3189
+ return Fe([s, i], ([p, h], [F, y]) => {
3190
3190
  if (p === F && h === y)
3191
3191
  return;
3192
3192
  const g = parseInt(p ?? (e.value ? e.value.hours.toString() : "12")), A = parseInt(h ?? (e.value ? e.value.minutes.toString() : "0"));
@@ -3195,7 +3195,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3195
3195
  focus: Y
3196
3196
  }), (p, h) => (q(), R("div", SV, [
3197
3197
  z("div", KV, [
3198
- oa(z("input", {
3198
+ na(z("input", {
3199
3199
  ref_key: "hoursRef",
3200
3200
  ref: r,
3201
3201
  "onUpdate:modelValue": h[0] || (h[0] = (F) => s.value = F),
@@ -3227,7 +3227,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3227
3227
  ]),
3228
3228
  TV,
3229
3229
  z("div", EV, [
3230
- oa(z("input", {
3230
+ na(z("input", {
3231
3231
  "onUpdate:modelValue": h[1] || (h[1] = (F) => i.value = F),
3232
3232
  class: "a-datetime-picker-time__input a-datetime-picker-time__input--minutes",
3233
3233
  type: "number",
@@ -3285,10 +3285,10 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3285
3285
  textFieldValue: {
3286
3286
  required: p(e.required)
3287
3287
  }
3288
- })), F = ua(h, { textFieldValue: n }), y = S(() => e.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), g = (H) => {
3288
+ })), F = ca(h, { textFieldValue: n }), y = S(() => e.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), g = (H) => {
3289
3289
  ie(H) || ((ie(c.value) || H.hour() !== c.value.hours || H.minute() !== c.value.minutes) && (c.value = { hours: H.hour(), minutes: H.minute() }), (ie(l.value) || H.year() !== l.value.getFullYear() || H.month() !== l.value.getMonth() || H.date() !== l.value.getDate()) && (l.value = H.toDate()));
3290
3290
  };
3291
- ge(
3291
+ Fe(
3292
3292
  () => e.modelValue,
3293
3293
  (H, _) => {
3294
3294
  if (H !== _) {
@@ -3302,10 +3302,10 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3302
3302
  { immediate: !0 }
3303
3303
  );
3304
3304
  const A = (H, _) => ie(H) ? _ : _.set("date", H.getDate()).set("month", H.getMonth()).set("year", H.getFullYear()), X = (H, _) => ie(H) ? _ : _.set("hour", H.hours).set("minute", H.minutes);
3305
- ge([c, l], ([H, _]) => {
3305
+ Fe([c, l], ([H, _]) => {
3306
3306
  let P = null;
3307
3307
  ie(u.value) ? ie(e.modelValue) ? P = Se().hour(12).minute(0).second(0).millisecond(0) : P = Se(e.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : P = u.value, P = X(H, P), P = A(_, P), !P.isSame(bt(u.value)) && (u.value = P);
3308
- }), ge(
3308
+ }), Fe(
3309
3309
  u,
3310
3310
  (H) => {
3311
3311
  if (ie(H)) {
@@ -3316,7 +3316,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3316
3316
  n.value = H.format(y.value), g(H), _ !== e.modelValue && s("update:modelValue", _);
3317
3317
  },
3318
3318
  { immediate: !0 }
3319
- ), ge(i, (H) => {
3319
+ ), Fe(i, (H) => {
3320
3320
  if (H) {
3321
3321
  x(), Ot(() => {
3322
3322
  r.value++;
@@ -3368,7 +3368,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3368
3368
  onBlur: x,
3369
3369
  onFocus: L,
3370
3370
  onKeyup: es(x, ["enter"])
3371
- }, la({
3371
+ }, da({
3372
3372
  "append-inner": V(() => [
3373
3373
  H.clearable && H.defaultValue !== H.modelValue ? (q(), E(oe, {
3374
3374
  key: 0,
@@ -3384,7 +3384,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3384
3384
  "onUpdate:modelValue": _[2] || (_[2] = (P) => i.value = P)
3385
3385
  }, {
3386
3386
  activator: V(({ props: P }) => [
3387
- m(oe, da({
3387
+ m(oe, ua({
3388
3388
  class: "a-datetime-picker__calendar-icon",
3389
3389
  icon: "mdi-calendar",
3390
3390
  size: "small"
@@ -3469,7 +3469,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3469
3469
  lockedByUser: _
3470
3470
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3471
3471
  } = is(e.collab.room, e.collab.field);
3472
- o.value = T, d.value = L, n.value = N, ge(
3472
+ o.value = T, d.value = L, n.value = N, Fe(
3473
3473
  _,
3474
3474
  (P) => {
3475
3475
  l.value = P;
@@ -3503,7 +3503,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3503
3503
  var T, L;
3504
3504
  return fe(e.required) ? e.required : !!((T = e.v) != null && T.required && ((L = e.v) == null ? void 0 : L.required.$params.type) === "required");
3505
3505
  }), x = S(() => fe(e.disabled) ? e.disabled : !!l.value);
3506
- return ge(i, (T, L) => {
3506
+ return Fe(i, (T, L) => {
3507
3507
  T !== L && r.value.enabled && (u.value || c.value) && d.value(T);
3508
3508
  }), (T, L) => (q(), E(Tn, {
3509
3509
  modelValue: i.value,
@@ -3566,7 +3566,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3566
3566
  lockedByUser: P
3567
3567
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3568
3568
  } = is(e.collab.room, e.collab.field);
3569
- o.value = L, d.value = N, n.value = H, ge(
3569
+ o.value = L, d.value = N, n.value = H, Fe(
3570
3570
  P,
3571
3571
  (M) => {
3572
3572
  l.value = M;
@@ -3597,7 +3597,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3597
3597
  const { end: L } = Ma((H = e.v) == null ? void 0 : H.$path, ".");
3598
3598
  return c(u + "." + f + ".model." + L);
3599
3599
  });
3600
- ge(
3600
+ Fe(
3601
3601
  i,
3602
3602
  (L, N) => {
3603
3603
  if (L !== N) {
@@ -3627,7 +3627,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3627
3627
  }
3628
3628
  i.value = e.defaultActivationValue;
3629
3629
  }, T = S(() => fe(e.disabled) ? e.disabled : !!l.value);
3630
- return ge(i, (L, N) => {
3630
+ return Fe(i, (L, N) => {
3631
3631
  L !== N && r.value.enabled && (p.value || h.value) && d.value(L);
3632
3632
  }), (L, N) => (q(), R(he, null, [
3633
3633
  z("div", OV, [
@@ -3650,7 +3650,7 @@ const IV = (t) => (Nc("data-v-8b2f16cf"), t = t(), Lc(), t), SV = { class: "a-da
3650
3650
  ]),
3651
3651
  m(gm, null, {
3652
3652
  default: V(() => [
3653
- oa(z("div", null, [
3653
+ na(z("div", null, [
3654
3654
  m(Tn, {
3655
3655
  modelValue: i.value,
3656
3656
  "onUpdate:modelValue": N[2] || (N[2] = (H) => i.value = H),
@@ -3759,12 +3759,12 @@ const LV = {
3759
3759
  const {
3760
3760
  releaseCollabFieldLock: Z,
3761
3761
  changeCollabFieldData: ee,
3762
- acquireCollabFieldLock: qe,
3762
+ acquireCollabFieldLock: ge,
3763
3763
  addCollabFieldDataChangeListener: Ae,
3764
3764
  lockedByUser: _e
3765
3765
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3766
3766
  } = is(e.collab.room, e.collab.field);
3767
- o.value = Z, d.value = ee, n.value = qe, ge(
3767
+ o.value = Z, d.value = ee, n.value = ge, Fe(
3768
3768
  _e,
3769
3769
  (De) => {
3770
3770
  l.value = De;
@@ -3779,14 +3779,14 @@ const LV = {
3779
3779
  u.value = !1, s("blur", e.modelValue), (Z = e.v) == null || Z.$touch(), o.value(e.modelValue);
3780
3780
  }, g = S(() => {
3781
3781
  var Z, ee;
3782
- return fe(e.errorMessage) ? [e.errorMessage] : (ee = (Z = e.v) == null ? void 0 : Z.$errors) != null && ee.length ? e.v.$errors.map((qe) => qe.$message) : [];
3782
+ return fe(e.errorMessage) ? [e.errorMessage] : (ee = (Z = e.v) == null ? void 0 : Z.$errors) != null && ee.length ? e.v.$errors.map((ge) => ge.$message) : [];
3783
3783
  }), A = S(() => {
3784
- var ee, qe;
3784
+ var ee, ge;
3785
3785
  if (fe(e.label))
3786
3786
  return e.label;
3787
3787
  if (O(h) || O(F) || O((ee = e.v) == null ? void 0 : ee.$path))
3788
3788
  return "";
3789
- const { end: Z } = Ma((qe = e.v) == null ? void 0 : qe.$path, ".");
3789
+ const { end: Z } = Ma((ge = e.v) == null ? void 0 : ge.$path, ".");
3790
3790
  return Y(h + "." + F + ".model." + Z);
3791
3791
  }), X = S(() => {
3792
3792
  var Z, ee;
@@ -3797,7 +3797,7 @@ const LV = {
3797
3797
  Z.set(ee.value, { value: ee.value, title: ee.title });
3798
3798
  }), L.value.forEach((ee) => {
3799
3799
  Z.set(ee.value, { value: ee.value, title: ee.title });
3800
- }), Array.from(Z, ([ee, qe]) => ({ value: ee, title: qe.title }));
3800
+ }), Array.from(Z, ([ee, ge]) => ({ value: ee, title: ge.title }));
3801
3801
  }), _ = D(!1), P = S(() => _.value ? !0 : e.loading), M = async (Z) => {
3802
3802
  _.value = !0;
3803
3803
  const ee = p.value[e.filterByField];
@@ -3805,11 +3805,11 @@ const LV = {
3805
3805
  throw new Error("AFormRemoteAutocomplete incorrect innerFilter or filterByField setup.");
3806
3806
  ee.model = Z, L.value = await e.fetchItems(T, p.value), _.value = !1;
3807
3807
  }, I = (Z) => {
3808
- const ee = H.value.filter((qe) => Z.includes(qe.value));
3808
+ const ee = H.value.filter((ge) => Z.includes(ge.value));
3809
3809
  return [].concat(ee);
3810
3810
  }, b = async (Z) => {
3811
- let ee = 1, qe = [];
3812
- return dt(Z) ? (ee = Z.length, qe = I(Z)) : qe = I([Z]), N.value = qe, qe.length === ee;
3811
+ let ee = 1, ge = [];
3812
+ return dt(Z) ? (ee = Z.length, ge = I(Z)) : ge = I([Z]), N.value = ge, ge.length === ee;
3813
3813
  }, C = D(!1), K = () => {
3814
3814
  clearTimeout(f.value), f.value = void 0;
3815
3815
  }, $ = async () => {
@@ -3828,7 +3828,7 @@ const LV = {
3828
3828
  }
3829
3829
  i.value = null;
3830
3830
  };
3831
- return ge(
3831
+ return Fe(
3832
3832
  i,
3833
3833
  async (Z, ee) => {
3834
3834
  if (Z === ee)
@@ -3856,11 +3856,11 @@ const LV = {
3856
3856
  Z !== ee && (M(Z), s("searchChangeDebounced", Z));
3857
3857
  },
3858
3858
  { debounce: 300, maxWait: 1e3 }
3859
- ), ge(c, (Z, ee) => {
3859
+ ), Fe(c, (Z, ee) => {
3860
3860
  Z !== ee && s("searchChange", Z);
3861
3861
  }), (Z, ee) => (q(), E(Ki, {
3862
3862
  modelValue: i.value,
3863
- "onUpdate:modelValue": ee[0] || (ee[0] = (qe) => i.value = qe),
3863
+ "onUpdate:modelValue": ee[0] || (ee[0] = (ge) => i.value = ge),
3864
3864
  items: H.value,
3865
3865
  "no-filter": "",
3866
3866
  multiple: x.value,
@@ -3874,7 +3874,7 @@ const LV = {
3874
3874
  onBlur: y,
3875
3875
  onFocus: j,
3876
3876
  "onClick:clear": ae
3877
- }, la({
3877
+ }, da({
3878
3878
  label: V(() => [
3879
3879
  Z.hideLabel ? U("", !0) : (q(), R("span", {
3880
3880
  key: X.value + ""
@@ -3932,7 +3932,7 @@ const LV = {
3932
3932
  const p = await e.callbackToTrue();
3933
3933
  s("update:modelValue", p), f.value = p, p || (l.value = !0), n.value = !1;
3934
3934
  };
3935
- return ge(u, (p, h) => {
3935
+ return Fe(u, (p, h) => {
3936
3936
  p !== h && (f.value = p, l.value = !1);
3937
3937
  }), Xt(() => {
3938
3938
  c.value = "remote-switch-" + Date.now();
@@ -3974,7 +3974,7 @@ const LV = {
3974
3974
  lockedByUser: F
3975
3975
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3976
3976
  } = is(e.collab.room, e.collab.field);
3977
- r.value = Y, o.value = p, ge(
3977
+ r.value = Y, o.value = p, Fe(
3978
3978
  F,
3979
3979
  (y) => {
3980
3980
  d.value = y;
@@ -4003,7 +4003,7 @@ const LV = {
4003
4003
  onFocus: u,
4004
4004
  "onUpdate:modelValue": p[0] || (p[0] = (h) => l(h)),
4005
4005
  onClick: J(n, ["stop"])
4006
- }, la({ _: 2 }, [
4006
+ }, da({ _: 2 }, [
4007
4007
  Y.hideLabel ? void 0 : {
4008
4008
  name: "label",
4009
4009
  fn: V(() => [
@@ -4058,7 +4058,7 @@ const LV = {
4058
4058
  const p = await e.callbackToTrue();
4059
4059
  s("update:modelValue", p), f.value = p, p || (l.value = !0), n.value = !1;
4060
4060
  };
4061
- return ge(u, (p, h) => {
4061
+ return Fe(u, (p, h) => {
4062
4062
  p !== h && (f.value = p, l.value = !1);
4063
4063
  }), Xt(() => {
4064
4064
  c.value = "a-remote-switch-" + Date.now();
@@ -4082,7 +4082,7 @@ const LV = {
4082
4082
  "hide-details": p.hideDetails,
4083
4083
  density: "compact",
4084
4084
  onClick: J(Y, ["stop"])
4085
- }, la({ _: 2 }, [
4085
+ }, da({ _: 2 }, [
4086
4086
  l.value ? {
4087
4087
  name: "append",
4088
4088
  fn: V(() => [
@@ -4148,7 +4148,7 @@ const LV = {
4148
4148
  lockedByUser: N
4149
4149
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
4150
4150
  } = is(e.collab.room, e.collab.field);
4151
- o.value = w, d.value = x, n.value = T, ge(
4151
+ o.value = w, d.value = x, n.value = T, Fe(
4152
4152
  N,
4153
4153
  (H) => {
4154
4154
  l.value = H;
@@ -4178,7 +4178,7 @@ const LV = {
4178
4178
  var w, x;
4179
4179
  return fe(e.required) ? e.required : !!((w = e.v) != null && w.required && ((x = e.v) == null ? void 0 : x.required.$params.type) === "required");
4180
4180
  }), A = S(() => fe(e.disabled) ? e.disabled : !!l.value), X = S(() => e.multiple !== !1);
4181
- return ge(
4181
+ return Fe(
4182
4182
  i,
4183
4183
  async (w, x) => {
4184
4184
  w !== x && r.value.enabled && Y.value && d.value(w);
@@ -4197,7 +4197,7 @@ const LV = {
4197
4197
  "data-cy": w.dataCy,
4198
4198
  onBlur: p,
4199
4199
  onFocus: h
4200
- }, la({
4200
+ }, da({
4201
4201
  label: V(() => [
4202
4202
  w.hideLabel ? U("", !0) : (q(), R("span", GV, [
4203
4203
  B(k(y.value), 1),
@@ -4308,7 +4308,7 @@ const LV = {
4308
4308
  }
4309
4309
  i.value = null;
4310
4310
  }, P = S(() => O(e.placeholder) ? e.modelValue.variant === "startsWith" ? n("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? n("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" || e.modelValue.variant === "search" ? n("common.model.filterPlaceholder.contains") : "" : e.placeholder);
4311
- return ge(
4311
+ return Fe(
4312
4312
  i,
4313
4313
  async (M, I) => {
4314
4314
  if (M === I)
@@ -4482,7 +4482,7 @@ const ap = /* @__PURE__ */ W({
4482
4482
  const a = t, { getJobStatusOption: e } = tp(), s = S(() => e(a.value));
4483
4483
  return (i, r) => {
4484
4484
  var o;
4485
- return q(), E(na, {
4485
+ return q(), E(la, {
4486
4486
  color: (o = s.value) == null ? void 0 : o.color,
4487
4487
  label: "",
4488
4488
  size: "small"
@@ -4528,7 +4528,7 @@ const ap = /* @__PURE__ */ W({
4528
4528
  const a = t, e = bn(), s = Ct(void 0), i = Ct(!1), r = S(() => a.getCachedFn(a.id)), o = S(() => a.wrapText ? a.containerClass + " a-chip--wrap" : a.containerClass), d = S(() => a.title.length > 0 ? a.title : s.value ? Kn(s.value, a.displayTextPath) : a.fallbackIdText ? a.id : ""), n = () => {
4529
4529
  e.push({ name: a.route, params: { id: a.id } });
4530
4530
  };
4531
- return ge(
4531
+ return Fe(
4532
4532
  r,
4533
4533
  async (l) => {
4534
4534
  i.value || O(l) || l._loaded === !1 || (s.value = l, i.value = !0);
@@ -4548,7 +4548,7 @@ const ap = /* @__PURE__ */ W({
4548
4548
  indeterminate: "",
4549
4549
  class: "mx-1"
4550
4550
  })) : U("", !0)
4551
- ])) : l.disableClick ? (q(), E(na, {
4551
+ ])) : l.disableClick ? (q(), E(la, {
4552
4552
  key: 2,
4553
4553
  size: l.size,
4554
4554
  label: l.forceRounded ? void 0 : !0
@@ -4564,7 +4564,7 @@ const ap = /* @__PURE__ */ W({
4564
4564
  })) : U("", !0)
4565
4565
  ]),
4566
4566
  _: 1
4567
- }, 8, ["size", "label"])) : (q(), E(na, {
4567
+ }, 8, ["size", "label"])) : (q(), E(la, {
4568
4568
  key: 3,
4569
4569
  size: l.size,
4570
4570
  "append-icon": l.openInNew ? v(gl).CHIP.ICON.LINK_EXTERNAL : v(gl).CHIP.ICON.LINK,
@@ -4642,7 +4642,7 @@ const aS = /* @__PURE__ */ W({
4642
4642
  },
4643
4643
  setup(t) {
4644
4644
  const a = t, { getLogLevelOption: e } = op(), s = S(() => e(a.level));
4645
- return (i, r) => s.value ? (q(), E(na, {
4645
+ return (i, r) => s.value ? (q(), E(la, {
4646
4646
  key: 0,
4647
4647
  color: s.value.color,
4648
4648
  label: "",
@@ -4663,7 +4663,7 @@ const aS = /* @__PURE__ */ W({
4663
4663
  },
4664
4664
  setup(t) {
4665
4665
  const a = t, { copy: e, isSupported: s } = qd(), { showSuccess: i } = Ue(), { t: r } = te(), o = (d) => {
4666
- ca(d), s && (Br(a.value) ? e(ou(a.value)).then(() => {
4666
+ ma(d), s && (Br(a.value) ? e(ou(a.value)).then(() => {
4667
4667
  i(r(a.notifyT));
4668
4668
  }) : zt(a.value) && a.value.length && e(a.value).then(() => {
4669
4669
  i(r(a.notifyT));
@@ -4746,7 +4746,7 @@ const aS = /* @__PURE__ */ W({
4746
4746
  },
4747
4747
  setup(t) {
4748
4748
  const a = t, e = S(() => O(a.color) ? "a-chip-no-link--custom-color" : "");
4749
- return (s, i) => (q(), E(na, {
4749
+ return (s, i) => (q(), E(la, {
4750
4750
  color: s.color,
4751
4751
  "data-cy": s.dataCy,
4752
4752
  class: Ve(["a-chip-no-link", e.value]),
@@ -4772,7 +4772,7 @@ const aS = /* @__PURE__ */ W({
4772
4772
  emits: ["done"],
4773
4773
  setup(t, { emit: a }) {
4774
4774
  const e = t, s = a, i = D(e.seconds), r = D(void 0);
4775
- return ge(
4775
+ return Fe(
4776
4776
  i,
4777
4777
  (o) => {
4778
4778
  o > 0 ? r.value = setTimeout(() => i.value--, 1e3) : s("done");
@@ -4803,7 +4803,7 @@ function vp(t, a = !1, e = void 0, s = void 0) {
4803
4803
  ue.room === t && fe(x.value) && x.value(ue.userId, ue.timestamp);
4804
4804
  }, ee = (ue) => {
4805
4805
  ue.room === t && fe(N.value) && N.value();
4806
- }, qe = (ue) => {
4806
+ }, ge = (ue) => {
4807
4807
  ue.room === t && fe(P.value) && P.value();
4808
4808
  }, Ae = (ue) => {
4809
4809
  ue.room === t && fe(b.value) && b.value();
@@ -4825,7 +4825,7 @@ function vp(t, a = !1, e = void 0, s = void 0) {
4825
4825
  );
4826
4826
  }, me = (ue) => {
4827
4827
  P.value = ue, _.value = H.on(
4828
- qe
4828
+ ge
4829
4829
  );
4830
4830
  }, re = (ue) => {
4831
4831
  c.value = ue, l.value = n.on(j);
@@ -4857,7 +4857,7 @@ function vp(t, a = !1, e = void 0, s = void 0) {
4857
4857
  }, _a = () => {
4858
4858
  var ue;
4859
4859
  !$e.value.enabled || O(i.value) || (ue = i.value) == null || ue.emit("enteredCollabRoom", t);
4860
- }, fa = () => new Promise((ue, Et) => {
4860
+ }, Va = () => new Promise((ue, Et) => {
4861
4861
  var kt;
4862
4862
  if (!$e.value.enabled || O(i.value))
4863
4863
  return Et(mr.Failed);
@@ -4898,7 +4898,7 @@ function vp(t, a = !1, e = void 0, s = void 0) {
4898
4898
  });
4899
4899
  });
4900
4900
  }, co = S(() => r.get(t) ?? { name: t, moderator: null, users: [], status: Fa.Inactive });
4901
- a && ge(
4901
+ a && Fe(
4902
4902
  co,
4903
4903
  (ue) => {
4904
4904
  ue.users.length && (O(e) || e(ue.users), O(s) || s());
@@ -4911,7 +4911,7 @@ function vp(t, a = !1, e = void 0, s = void 0) {
4911
4911
  unsubscribeCollabRoomInfo: ft,
4912
4912
  joinCollabRoom: Ce,
4913
4913
  leaveCollabRoom: nt,
4914
- requestToJoinCollabRoom: fa,
4914
+ requestToJoinCollabRoom: Va,
4915
4915
  approveRequestToJoinCollabRoom: Cs,
4916
4916
  rejectRequestToJoinCollabRoom: le,
4917
4917
  addJoinRequestListener: De,
@@ -4996,7 +4996,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
4996
4996
  } catch (re) {
4997
4997
  return re === cr.AlreadyRequested ? void A("common.collab.alert.alreadyRequestedToTakeModeration") : void A("common.collab.alert.failedRequestToTakeModeration");
4998
4998
  }
4999
- }, qe = () => {
4999
+ }, ge = () => {
5000
5000
  T.value.forEach((re) => {
5001
5001
  r(re);
5002
5002
  }), x.value = x.value.filter(
@@ -5153,7 +5153,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
5153
5153
  }, 8, ["disabled"]),
5154
5154
  m(ft, {
5155
5155
  disabled: !T.value.length,
5156
- onClick: J(qe, ["stop"])
5156
+ onClick: J(ge, ["stop"])
5157
5157
  }, {
5158
5158
  default: V(() => [
5159
5159
  B(k(v(g)("common.collab.button.accept")), 1)
@@ -5574,7 +5574,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
5574
5574
  emits: ["deleteRecord"],
5575
5575
  setup(t, { expose: a, emit: e }) {
5576
5576
  const s = t, i = e, r = D(!1), o = (f) => {
5577
- ca(f), r.value = !0;
5577
+ ma(f), r.value = !0;
5578
5578
  }, d = () => {
5579
5579
  i("deleteRecord"), s.disableCloseAfterConfirm || n();
5580
5580
  }, n = () => {
@@ -5712,7 +5712,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
5712
5712
  emits: ["editRecord"],
5713
5713
  setup(t, { emit: a }) {
5714
5714
  const e = t, s = a, { t: i } = te(), r = bn(), o = (l) => {
5715
- ca(l), s("editRecord"), r.push(d.value);
5715
+ ma(l), s("editRecord"), r.push(d.value);
5716
5716
  }, d = S(() => O(e.routeParams) ? { name: e.routeName, params: { id: e.recordId } } : { name: e.routeName, params: { ...e.routeParams } }), n = S(() => {
5717
5717
  switch (e.variant) {
5718
5718
  case "secondary":
@@ -5778,7 +5778,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
5778
5778
  emits: ["saveRecordAndClose"],
5779
5779
  setup(t, { emit: a }) {
5780
5780
  const e = a, s = (r) => {
5781
- ca(r), e("saveRecordAndClose");
5781
+ ma(r), e("saveRecordAndClose");
5782
5782
  }, { t: i } = te();
5783
5783
  return (r, o) => (q(), E(se, {
5784
5784
  class: Ve(r.buttonClass),
@@ -5824,7 +5824,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
5824
5824
  emits: ["saveRecord"],
5825
5825
  setup(t, { emit: a }) {
5826
5826
  const e = t, s = a, i = (d) => {
5827
- ca(d), s("saveRecord");
5827
+ ma(d), s("saveRecord");
5828
5828
  }, { t: r } = te(), o = S(() => {
5829
5829
  switch (e.variant) {
5830
5830
  case "secondary":
@@ -5893,7 +5893,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
5893
5893
  },
5894
5894
  setup(t) {
5895
5895
  const a = t, { t: e } = te(), { copy: s, isSupported: i } = qd(), { showSuccess: r } = Ue(), o = (d) => {
5896
- ca(d), Br(a.id) && a.id > 0 ? s(ou(a.id)).then(() => {
5896
+ ma(d), Br(a.id) && a.id > 0 ? s(ou(a.id)).then(() => {
5897
5897
  r(e(a.notifyT));
5898
5898
  }) : zt(a.id) && a.id.length && s(a.id).then(() => {
5899
5899
  r(e(a.notifyT));
@@ -6018,7 +6018,7 @@ const hp = { class: "ml-3" }, Fp = { class: "ml-1" }, sS = /* @__PURE__ */ W({
6018
6018
  emits: ["onClick"],
6019
6019
  setup(t, { emit: a }) {
6020
6020
  const e = t, s = a, i = (n) => {
6021
- ca(n), s("onClick");
6021
+ ma(n), s("onClick");
6022
6022
  }, r = S(() => {
6023
6023
  switch (e.variant) {
6024
6024
  case "secondary":
@@ -6200,7 +6200,7 @@ const yp = { key: 0 }, bp = { key: 1 }, Cp = { key: 2 }, fS = /* @__PURE__ */ W(
6200
6200
  "close-on-content-click": ""
6201
6201
  }, {
6202
6202
  activator: V(({ props: l }) => [
6203
- m(se, da({
6203
+ m(se, ua({
6204
6204
  class: "pl-1",
6205
6205
  rounded: "pill"
6206
6206
  }, l, {
@@ -6303,32 +6303,32 @@ const yp = { key: 0 }, bp = { key: 1 }, Cp = { key: 2 }, fS = /* @__PURE__ */ W(
6303
6303
  title: "Translation ID",
6304
6304
  adminOnly: !0
6305
6305
  }
6306
- ], Va = Yd("language", "default");
6306
+ ], pa = Yd("language", "default");
6307
6307
  function xp(t, a) {
6308
- Va.value === "default" && (Va.value = a);
6308
+ pa.value === "default" && (pa.value = a);
6309
6309
  function e(r, o) {
6310
6310
  !ke || !ke.global || ke.global.setLocaleMessage(r, o);
6311
6311
  }
6312
- const s = (r) => !ke || !ke.global ? !1 : t.includes(r) || r === "xx" ? (Va.value = r, ke.global.locale.value = r, r) : !1;
6312
+ const s = (r) => !ke || !ke.global ? !1 : t.includes(r) || r === "xx" ? (pa.value = r, ke.global.locale.value = r, r) : !1;
6313
6313
  return {
6314
6314
  addMessages: e,
6315
6315
  initializeLanguage: () => {
6316
- if (!(!ke || !ke.global || Va.value === "default")) {
6317
- if (t.includes(Va.value) || Va.value === "xx") {
6318
- ke.global.locale.value = Va.value;
6316
+ if (!(!ke || !ke.global || pa.value === "default")) {
6317
+ if (t.includes(pa.value) || pa.value === "xx") {
6318
+ ke.global.locale.value = pa.value;
6319
6319
  return;
6320
6320
  }
6321
- Va.value = a, ke.global.locale.value = a;
6321
+ pa.value = a, ke.global.locale.value = a;
6322
6322
  }
6323
6323
  },
6324
- currentLanguageCode: vs(Va),
6324
+ currentLanguageCode: vs(pa),
6325
6325
  setLanguage: s,
6326
6326
  allLanguages: Vr
6327
6327
  };
6328
6328
  }
6329
6329
  function wp() {
6330
6330
  return {
6331
- currentLanguageCode: vs(Va)
6331
+ currentLanguageCode: vs(pa)
6332
6332
  };
6333
6333
  }
6334
6334
  const kp = {
@@ -6402,7 +6402,7 @@ const Np = /* @__PURE__ */ za(Bp, [["render", Op]]), Lp = { class: "flag" }, ql
6402
6402
  ));
6403
6403
  return (u, f) => (q(), E(Zt, null, {
6404
6404
  activator: V(({ props: Y }) => [
6405
- m(se, da({
6405
+ m(se, ua({
6406
6406
  class: "pl-1",
6407
6407
  rounded: "pill"
6408
6408
  }, Y, {
@@ -6573,7 +6573,7 @@ const Hp = { class: "text-center w-100 text-caption pb-1" }, pS = /* @__PURE__ *
6573
6573
  }, d = S(() => e.modelValue.length > 0 ? "flat" : "tonal"), n = S(() => e.modelValue.length > 0 ? e.modelValue : void 0), l = (c) => {
6574
6574
  s("update:modelValue", c);
6575
6575
  };
6576
- return ge(
6576
+ return Fe(
6577
6577
  () => e.modelValue,
6578
6578
  (c, u) => {
6579
6579
  if (c !== u && c.length !== 7 && c.length !== 7 && e.randomColor) {
@@ -6879,13 +6879,13 @@ const Hp = { class: "text-center w-100 text-caption pb-1" }, pS = /* @__PURE__ *
6879
6879
  I !== b && (L(I), s("searchChangeDebounced", I));
6880
6880
  },
6881
6881
  { debounce: 300, maxWait: 1e3 }
6882
- ), ge(f, (I, b) => {
6882
+ ), Fe(f, (I, b) => {
6883
6883
  if (I.length === 0 && u.value === !0 && Date.now() - P.value > 200) {
6884
6884
  f.value = b;
6885
6885
  return;
6886
6886
  }
6887
6887
  I !== b && s("searchChange", I);
6888
- }), ge(
6888
+ }), Fe(
6889
6889
  d,
6890
6890
  async (I) => {
6891
6891
  if (ie(I) || O(I) || dt(I) && I.length === 0)
@@ -6910,7 +6910,7 @@ const Hp = { class: "text-center w-100 text-caption pb-1" }, pS = /* @__PURE__ *
6910
6910
  "onUpdate:search": T,
6911
6911
  "onClick:clear": _,
6912
6912
  onKeydown: es(M, ["delete"])
6913
- }, la({
6913
+ }, da({
6914
6914
  label: V(() => [
6915
6915
  I.hideLabel ? U("", !0) : (q(), R("span", {
6916
6916
  key: w.value + ""
@@ -6924,7 +6924,7 @@ const Hp = { class: "text-center w-100 text-caption pb-1" }, pS = /* @__PURE__ *
6924
6924
  props: C,
6925
6925
  item: K
6926
6926
  }, () => [
6927
- m(na, da(C, {
6927
+ m(la, ua(C, {
6928
6928
  text: K.title
6929
6929
  }), null, 16, ["text"])
6930
6930
  ])
@@ -8373,7 +8373,7 @@ const Zv = { class: "d-flex flex-column w-100 px-1 align-center" }, Jv = { class
8373
8373
  return fh;
8374
8374
  }
8375
8375
  });
8376
- return ge(
8376
+ return Fe(
8377
8377
  d,
8378
8378
  (f, Y) => {
8379
8379
  f !== Y && l();
@@ -8522,7 +8522,7 @@ const Yh = { class: "subject-select__sidebar system-border-r" }, Xh = { class: "
8522
8522
  s.maxCount
8523
8523
  ), f(), h(), d.value = !0;
8524
8524
  };
8525
- ge(
8525
+ Fe(
8526
8526
  d,
8527
8527
  async (N, H) => {
8528
8528
  N === H || !N || g();
@@ -8586,7 +8586,7 @@ const Yh = { class: "subject-select__sidebar system-border-r" }, Xh = { class: "
8586
8586
  z("div", Xh, [
8587
8587
  (q(), E(Dr(T.value))),
8588
8588
  z("div", Ah, [
8589
- oa((q(), E(_, {
8589
+ na((q(), E(_, {
8590
8590
  loading: v(l),
8591
8591
  size: "small",
8592
8592
  onClick: v(u)
@@ -8634,7 +8634,7 @@ const Yh = { class: "subject-select__sidebar system-border-r" }, Xh = { class: "
8634
8634
  }
8635
8635
  });
8636
8636
  /**!
8637
- * Sortable 1.15.1
8637
+ * Sortable 1.15.2
8638
8638
  * @author RubaXa <trash@rubaxa.org>
8639
8639
  * @author owenm <owen23355@gmail.com>
8640
8640
  * @license MIT
@@ -8705,7 +8705,7 @@ function kh(t, a) {
8705
8705
  }
8706
8706
  return e;
8707
8707
  }
8708
- var _h = "1.15.1";
8708
+ var _h = "1.15.2";
8709
8709
  function Sa(t) {
8710
8710
  if (typeof window < "u" && window.navigator)
8711
8711
  return !!/* @__PURE__ */ navigator.userAgent.match(t);
@@ -8739,7 +8739,7 @@ function Cr(t, a) {
8739
8739
  function Ih(t) {
8740
8740
  return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
8741
8741
  }
8742
- function pa(t, a, e, s) {
8742
+ function oa(t, a, e, s) {
8743
8743
  if (t) {
8744
8744
  e = e || document;
8745
8745
  do {
@@ -8761,7 +8761,7 @@ function Mt(t, a, e) {
8761
8761
  t.className = (s + (e ? " " + a : "")).replace(wl, " ");
8762
8762
  }
8763
8763
  }
8764
- function Fe(t, a, e) {
8764
+ function qe(t, a, e) {
8765
8765
  var s = t && t.style;
8766
8766
  if (s) {
8767
8767
  if (e === void 0)
@@ -8775,7 +8775,7 @@ function Ps(t, a) {
8775
8775
  e = t;
8776
8776
  else
8777
8777
  do {
8778
- var s = Fe(t, "transform");
8778
+ var s = qe(t, "transform");
8779
8779
  s && s !== "none" && (e = s + " " + e);
8780
8780
  } while (!a && (t = t.parentNode));
8781
8781
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
@@ -8800,9 +8800,9 @@ function it(t, a, e, s, i) {
8800
8800
  var r, o, d, n, l, c, u;
8801
8801
  if (t !== window && t.parentNode && t !== ga() ? (r = t.getBoundingClientRect(), o = r.top, d = r.left, n = r.bottom, l = r.right, c = r.height, u = r.width) : (o = 0, d = 0, n = window.innerHeight, l = window.innerWidth, c = window.innerHeight, u = window.innerWidth), (a || e) && t !== window && (i = i || t.parentNode, !Oa))
8802
8802
  do
8803
- if (i && i.getBoundingClientRect && (Fe(i, "transform") !== "none" || e && Fe(i, "position") !== "static")) {
8803
+ if (i && i.getBoundingClientRect && (qe(i, "transform") !== "none" || e && qe(i, "position") !== "static")) {
8804
8804
  var f = i.getBoundingClientRect();
8805
- o -= f.top + parseInt(Fe(i, "border-top-width")), d -= f.left + parseInt(Fe(i, "border-left-width")), n = o + r.height, l = d + r.width;
8805
+ o -= f.top + parseInt(qe(i, "border-top-width")), d -= f.left + parseInt(qe(i, "border-left-width")), n = o + r.height, l = d + r.width;
8806
8806
  break;
8807
8807
  }
8808
8808
  while (i = i.parentNode);
@@ -8820,10 +8820,6 @@ function it(t, a, e, s, i) {
8820
8820
  };
8821
8821
  }
8822
8822
  }
8823
- function ku(t) {
8824
- var a = it(t), e = parseInt(Fe(t, "padding-left")), s = parseInt(Fe(t, "padding-top")), i = parseInt(Fe(t, "padding-right")), r = parseInt(Fe(t, "padding-bottom"));
8825
- return a.top += s + parseInt(Fe(t, "border-top-width")), a.left += e + parseInt(Fe(t, "border-left-width")), a.width = t.clientWidth - e - i, a.height = t.clientHeight - s - r, a.bottom = a.top + a.height, a.right = a.left + a.width, a;
8826
- }
8827
8823
  function kl(t, a, e) {
8828
8824
  for (var s = Za(t, !0), i = it(t)[a]; s; ) {
8829
8825
  var r = it(s)[e], o = void 0;
@@ -8837,7 +8833,7 @@ function kl(t, a, e) {
8837
8833
  }
8838
8834
  function Ws(t, a, e, s) {
8839
8835
  for (var i = 0, r = 0, o = t.children; r < o.length; ) {
8840
- if (o[r].style.display !== "none" && o[r] !== Ye.ghost && (s || o[r] !== Ye.dragged) && pa(o[r], e.draggable, t, !1)) {
8836
+ if (o[r].style.display !== "none" && o[r] !== Ye.ghost && (s || o[r] !== Ye.dragged) && oa(o[r], e.draggable, t, !1)) {
8841
8837
  if (i === a)
8842
8838
  return o[r];
8843
8839
  i++;
@@ -8847,7 +8843,7 @@ function Ws(t, a, e, s) {
8847
8843
  return null;
8848
8844
  }
8849
8845
  function Bn(t, a) {
8850
- for (var e = t.lastElementChild; e && (e === Ye.ghost || Fe(e, "display") === "none" || a && !Cr(e, a)); )
8846
+ for (var e = t.lastElementChild; e && (e === Ye.ghost || qe(e, "display") === "none" || a && !Cr(e, a)); )
8851
8847
  e = e.previousElementSibling;
8852
8848
  return e || null;
8853
8849
  }
@@ -8883,7 +8879,7 @@ function Za(t, a) {
8883
8879
  var e = t, s = !1;
8884
8880
  do
8885
8881
  if (e.clientWidth < e.scrollWidth || e.clientHeight < e.scrollHeight) {
8886
- var i = Fe(e);
8882
+ var i = qe(e);
8887
8883
  if (e.clientWidth < e.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || e.clientHeight < e.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
8888
8884
  if (!e.getBoundingClientRect || e === document.body)
8889
8885
  return ga();
@@ -8905,7 +8901,7 @@ function Co(t, a) {
8905
8901
  return Math.round(t.top) === Math.round(a.top) && Math.round(t.left) === Math.round(a.left) && Math.round(t.height) === Math.round(a.height) && Math.round(t.width) === Math.round(a.width);
8906
8902
  }
8907
8903
  var qi;
8908
- function _u(t, a) {
8904
+ function ku(t, a) {
8909
8905
  return function() {
8910
8906
  if (!qi) {
8911
8907
  var e = arguments, s = this;
@@ -8918,13 +8914,23 @@ function _u(t, a) {
8918
8914
  function Dh() {
8919
8915
  clearTimeout(qi), qi = void 0;
8920
8916
  }
8921
- function Iu(t, a, e) {
8917
+ function _u(t, a, e) {
8922
8918
  t.scrollLeft += a, t.scrollTop += e;
8923
8919
  }
8924
- function Su(t) {
8920
+ function Iu(t) {
8925
8921
  var a = window.Polymer, e = window.jQuery || window.Zepto;
8926
8922
  return a && a.dom ? a.dom(t).cloneNode(!0) : e ? e(t).clone(!0)[0] : t.cloneNode(!0);
8927
8923
  }
8924
+ function Su(t, a, e) {
8925
+ var s = {};
8926
+ return Array.from(t.children).forEach(function(i) {
8927
+ var r, o, d, n;
8928
+ if (!(!oa(i, a.draggable, t, !1) || i.animated || i === e)) {
8929
+ var l = it(i);
8930
+ s.left = Math.min((r = s.left) !== null && r !== void 0 ? r : 1 / 0, l.left), s.top = Math.min((o = s.top) !== null && o !== void 0 ? o : 1 / 0, l.top), s.right = Math.max((d = s.right) !== null && d !== void 0 ? d : -1 / 0, l.right), s.bottom = Math.max((n = s.bottom) !== null && n !== void 0 ? n : -1 / 0, l.bottom);
8931
+ }
8932
+ }), s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
8933
+ }
8928
8934
  var Rt = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
8929
8935
  function Th() {
8930
8936
  var t = [], a;
@@ -8933,7 +8939,7 @@ function Th() {
8933
8939
  if (t = [], !!this.options.animation) {
8934
8940
  var s = [].slice.call(this.el.children);
8935
8941
  s.forEach(function(i) {
8936
- if (!(Fe(i, "display") === "none" || i === Ye.ghost)) {
8942
+ if (!(qe(i, "display") === "none" || i === Ye.ghost)) {
8937
8943
  t.push({
8938
8944
  target: i,
8939
8945
  rect: it(i)
@@ -8975,10 +8981,10 @@ function Th() {
8975
8981
  },
8976
8982
  animate: function(s, i, r, o) {
8977
8983
  if (o) {
8978
- Fe(s, "transition", ""), Fe(s, "transform", "");
8984
+ qe(s, "transition", ""), qe(s, "transform", "");
8979
8985
  var d = Ps(this.el), n = d && d.a, l = d && d.d, c = (i.left - r.left) / (n || 1), u = (i.top - r.top) / (l || 1);
8980
- s.animatingX = !!c, s.animatingY = !!u, Fe(s, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = Eh(s), Fe(s, "transition", "transform " + o + "ms" + (this.options.easing ? " " + this.options.easing : "")), Fe(s, "transform", "translate3d(0,0,0)"), typeof s.animated == "number" && clearTimeout(s.animated), s.animated = setTimeout(function() {
8981
- Fe(s, "transition", ""), Fe(s, "transform", ""), s.animated = !1, s.animatingX = !1, s.animatingY = !1;
8986
+ s.animatingX = !!c, s.animatingY = !!u, qe(s, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = Eh(s), qe(s, "transition", "transform " + o + "ms" + (this.options.easing ? " " + this.options.easing : "")), qe(s, "transform", "translate3d(0,0,0)"), typeof s.animated == "number" && clearTimeout(s.animated), s.animated = setTimeout(function() {
8987
+ qe(s, "transition", ""), qe(s, "transform", ""), s.animated = !1, s.animatingX = !1, s.animatingY = !1;
8982
8988
  }, o);
8983
8989
  }
8984
8990
  }
@@ -9112,7 +9118,7 @@ var ne, et, be, He, ps, vr, Ze, Ha, Es, $t, Yi, ja, Qi, ht, Ss = !1, xr = !1, wr
9112
9118
  return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
9113
9119
  }
9114
9120
  }(), Du = function(a, e) {
9115
- var s = Fe(a), i = parseInt(s.width) - parseInt(s.paddingLeft) - parseInt(s.paddingRight) - parseInt(s.borderLeftWidth) - parseInt(s.borderRightWidth), r = Ws(a, 0, e), o = Ws(a, 1, e), d = r && Fe(r), n = o && Fe(o), l = d && parseInt(d.marginLeft) + parseInt(d.marginRight) + it(r).width, c = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + it(o).width;
9121
+ var s = qe(a), i = parseInt(s.width) - parseInt(s.paddingLeft) - parseInt(s.paddingRight) - parseInt(s.borderLeftWidth) - parseInt(s.borderRightWidth), r = Ws(a, 0, e), o = Ws(a, 1, e), d = r && qe(r), n = o && qe(o), l = d && parseInt(d.marginLeft) + parseInt(d.marginRight) + it(r).width, c = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + it(o).width;
9116
9122
  if (s.display === "flex")
9117
9123
  return s.flexDirection === "column" || s.flexDirection === "column-reverse" ? "vertical" : "horizontal";
9118
9124
  if (s.display === "grid")
@@ -9156,9 +9162,9 @@ var ne, et, be, He, ps, vr, Ze, Ha, Es, $t, Yi, ja, Qi, ht, Ss = !1, xr = !1, wr
9156
9162
  name: i
9157
9163
  }), s.name = i.name, s.checkPull = e(i.pull, !0), s.checkPut = e(i.put), s.revertClone = i.revertClone, a.group = s;
9158
9164
  }, Eu = function() {
9159
- !Ku && be && Fe(be, "display", "none");
9165
+ !Ku && be && qe(be, "display", "none");
9160
9166
  }, Mu = function() {
9161
- !Ku && be && Fe(be, "display", "");
9167
+ !Ku && be && qe(be, "display", "");
9162
9168
  };
9163
9169
  Jr && !Cu && document.addEventListener("click", function(t) {
9164
9170
  if (xr)
@@ -9247,7 +9253,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9247
9253
  _onTapStart: function(a) {
9248
9254
  if (a.cancelable) {
9249
9255
  var e = this, s = this.el, i = this.options, r = i.preventOnFilter, o = a.type, d = a.touches && a.touches[0] || a.pointerType && a.pointerType === "touch" && a, n = (d || a).target, l = a.target.shadowRoot && (a.path && a.path[0] || a.composedPath && a.composedPath()[0]) || n, c = i.filter;
9250
- if (Zh(s), !ne && !(/mousedown|pointerdown/.test(o) && a.button !== 0 || i.disabled) && !l.isContentEditable && !(!this.nativeDraggable && gi && n && n.tagName.toUpperCase() === "SELECT") && (n = pa(n, i.draggable, s, !1), !(n && n.animated) && vr !== n)) {
9256
+ if (Zh(s), !ne && !(/mousedown|pointerdown/.test(o) && a.button !== 0 || i.disabled) && !l.isContentEditable && !(!this.nativeDraggable && gi && n && n.tagName.toUpperCase() === "SELECT") && (n = oa(n, i.draggable, s, !1), !(n && n.animated) && vr !== n)) {
9251
9257
  if (Es = Wt(n), Yi = Wt(n, i.draggable), typeof c == "function") {
9252
9258
  if (c.call(this, a, n, this)) {
9253
9259
  At({
@@ -9263,7 +9269,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9263
9269
  return;
9264
9270
  }
9265
9271
  } else if (c && (c = c.split(",").some(function(u) {
9266
- if (u = pa(l, u.trim(), s, !1), u)
9272
+ if (u = oa(l, u.trim(), s, !1), u)
9267
9273
  return At({
9268
9274
  sortable: e,
9269
9275
  rootEl: u,
@@ -9278,7 +9284,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9278
9284
  r && a.cancelable && a.preventDefault();
9279
9285
  return;
9280
9286
  }
9281
- i.handle && !pa(l, i.handle, s, !1) || this._prepareDragStart(a, d, n);
9287
+ i.handle && !oa(l, i.handle, s, !1) || this._prepareDragStart(a, d, n);
9282
9288
  }
9283
9289
  }
9284
9290
  },
@@ -9390,7 +9396,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9390
9396
  f: u
9391
9397
  };
9392
9398
  var f = "matrix(".concat(o.a, ",").concat(o.b, ",").concat(o.c, ",").concat(o.d, ",").concat(o.e, ",").concat(o.f, ")");
9393
- Fe(be, "webkitTransform", f), Fe(be, "mozTransform", f), Fe(be, "msTransform", f), Fe(be, "transform", f), wo = c, ko = u, ia = r;
9399
+ qe(be, "webkitTransform", f), qe(be, "mozTransform", f), qe(be, "msTransform", f), qe(be, "transform", f), wo = c, ko = u, ia = r;
9394
9400
  }
9395
9401
  a.cancelable && a.preventDefault();
9396
9402
  }
@@ -9399,11 +9405,11 @@ Ye.prototype = /** @lends Sortable.prototype */
9399
9405
  if (!be) {
9400
9406
  var a = this.options.fallbackOnBody ? document.body : He, e = it(ne, !0, tr, !0, a), s = this.options;
9401
9407
  if (tr) {
9402
- for (gt = a; Fe(gt, "position") === "static" && Fe(gt, "transform") === "none" && gt !== document; )
9408
+ for (gt = a; qe(gt, "position") === "static" && qe(gt, "transform") === "none" && gt !== document; )
9403
9409
  gt = gt.parentNode;
9404
9410
  gt !== document.body && gt !== document.documentElement ? (gt === document && (gt = ga()), e.top += gt.scrollTop, e.left += gt.scrollLeft) : gt = ga(), _o = _l(gt);
9405
9411
  }
9406
- be = ne.cloneNode(!0), Mt(be, s.ghostClass, !1), Mt(be, s.fallbackClass, !0), Mt(be, s.dragClass, !0), Fe(be, "transition", ""), Fe(be, "transform", ""), Fe(be, "box-sizing", "border-box"), Fe(be, "margin", 0), Fe(be, "top", e.top), Fe(be, "left", e.left), Fe(be, "width", e.width), Fe(be, "height", e.height), Fe(be, "opacity", "0.8"), Fe(be, "position", tr ? "absolute" : "fixed"), Fe(be, "zIndex", "100000"), Fe(be, "pointerEvents", "none"), Ye.ghost = be, a.appendChild(be), Fe(be, "transform-origin", Il / parseInt(be.style.width) * 100 + "% " + Sl / parseInt(be.style.height) * 100 + "%");
9412
+ be = ne.cloneNode(!0), Mt(be, s.ghostClass, !1), Mt(be, s.fallbackClass, !0), Mt(be, s.dragClass, !0), qe(be, "transition", ""), qe(be, "transform", ""), qe(be, "box-sizing", "border-box"), qe(be, "margin", 0), qe(be, "top", e.top), qe(be, "left", e.left), qe(be, "width", e.width), qe(be, "height", e.height), qe(be, "opacity", "0.8"), qe(be, "position", tr ? "absolute" : "fixed"), qe(be, "zIndex", "100000"), qe(be, "pointerEvents", "none"), Ye.ghost = be, a.appendChild(be), qe(be, "transform-origin", Il / parseInt(be.style.width) * 100 + "% " + Sl / parseInt(be.style.height) * 100 + "%");
9407
9413
  }
9408
9414
  },
9409
9415
  _onDragStart: function(a, e) {
@@ -9414,12 +9420,12 @@ Ye.prototype = /** @lends Sortable.prototype */
9414
9420
  this._onDrop();
9415
9421
  return;
9416
9422
  }
9417
- _t("setupClone", this), Ye.eventCanceled || (Ze = Su(ne), Ze.removeAttribute("id"), Ze.draggable = !1, Ze.style["will-change"] = "", this._hideClone(), Mt(Ze, this.options.chosenClass, !1), Ye.clone = Ze), s.cloneId = Fr(function() {
9423
+ _t("setupClone", this), Ye.eventCanceled || (Ze = Iu(ne), Ze.removeAttribute("id"), Ze.draggable = !1, Ze.style["will-change"] = "", this._hideClone(), Mt(Ze, this.options.chosenClass, !1), Ye.clone = Ze), s.cloneId = Fr(function() {
9418
9424
  _t("clone", s), !Ye.eventCanceled && (s.options.removeCloneOnHide || He.insertBefore(Ze, ne), s._hideClone(), At({
9419
9425
  sortable: s,
9420
9426
  name: "clone"
9421
9427
  }));
9422
- }), !e && Mt(ne, r.dragClass, !0), e ? (xr = !0, s._loopId = setInterval(s._emulateDragOver, 50)) : (Te(document, "mouseup", s._onDrop), Te(document, "touchend", s._onDrop), Te(document, "touchcancel", s._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(s, i, ne)), Be(document, "drop", s), Fe(ne, "transform", "translateZ(0)")), Ss = !0, s._dragStartId = Fr(s._dragStarted.bind(s, e, a)), Be(document, "selectstart", s), fi = !0, gi && Fe(document.body, "user-select", "none");
9428
+ }), !e && Mt(ne, r.dragClass, !0), e ? (xr = !0, s._loopId = setInterval(s._emulateDragOver, 50)) : (Te(document, "mouseup", s._onDrop), Te(document, "touchend", s._onDrop), Te(document, "touchcancel", s._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(s, i, ne)), Be(document, "drop", s), qe(ne, "transform", "translateZ(0)")), Ss = !0, s._dragStartId = Fr(s._dragStarted.bind(s, e, a)), Be(document, "selectstart", s), fi = !0, gi && qe(document.body, "user-select", "none");
9423
9429
  },
9424
9430
  // Returns true - if no further action is needed (either inserted or another condition)
9425
9431
  _onDragOver: function(a) {
@@ -9464,7 +9470,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9464
9470
  originalEvent: a
9465
9471
  });
9466
9472
  }
9467
- if (a.preventDefault !== void 0 && a.cancelable && a.preventDefault(), s = pa(s, d.draggable, e, !0), F("dragOver"), Ye.eventCanceled)
9473
+ if (a.preventDefault !== void 0 && a.cancelable && a.preventDefault(), s = oa(s, d.draggable, e, !0), F("dragOver"), Ye.eventCanceled)
9468
9474
  return h;
9469
9475
  if (ne.contains(a.target) || s.animated && s.animatingX && s.animatingY || p._ignoreWhileAnimating === s)
9470
9476
  return g(!1);
@@ -9494,7 +9500,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9494
9500
  var I = Wt(ne);
9495
9501
  do
9496
9502
  I -= x, M = et.children[I];
9497
- while (M && (Fe(M, "display") === "none" || M === be));
9503
+ while (M && (qe(M, "display") === "none" || M === be));
9498
9504
  }
9499
9505
  if (x === 0 || M === s)
9500
9506
  return g(!1);
@@ -9503,7 +9509,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9503
9509
  C = x === 1;
9504
9510
  var K = ar(He, e, ne, i, s, r, a, C);
9505
9511
  if (K !== !1)
9506
- return (K === 1 || K === -1) && (C = K === 1), on = !0, setTimeout(Lh, 30), y(), C && !b ? e.appendChild(ne) : s.parentNode.insertBefore(ne, C ? b : s), _ && Iu(_, 0, P - _.scrollTop), et = ne.parentNode, T !== void 0 && !er && (hr = Math.abs(T - it(s)[H])), A(), g(!0);
9512
+ return (K === 1 || K === -1) && (C = K === 1), on = !0, setTimeout(Lh, 30), y(), C && !b ? e.appendChild(ne) : s.parentNode.insertBefore(ne, C ? b : s), _ && _u(_, 0, P - _.scrollTop), et = ne.parentNode, T !== void 0 && !er && (hr = Math.abs(T - it(s)[H])), A(), g(!0);
9507
9513
  }
9508
9514
  if (e.contains(ne))
9509
9515
  return g(!1);
@@ -9526,7 +9532,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9526
9532
  this._nulling();
9527
9533
  return;
9528
9534
  }
9529
- Ss = !1, er = !1, Ai = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), nn(this.cloneId), nn(this._dragStartId), this.nativeDraggable && (Te(document, "drop", this), Te(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), gi && Fe(document.body, "user-select", ""), Fe(ne, "transform", ""), a && (fi && (a.cancelable && a.preventDefault(), !s.dropBubble && a.stopPropagation()), be && be.parentNode && be.parentNode.removeChild(be), (He === et || ht && ht.lastPutMode !== "clone") && Ze && Ze.parentNode && Ze.parentNode.removeChild(Ze), ne && (this.nativeDraggable && Te(ne, "dragend", this), Io(ne), ne.style["will-change"] = "", fi && !Ss && Mt(ne, ht ? ht.options.ghostClass : this.options.ghostClass, !1), Mt(ne, this.options.chosenClass, !1), At({
9535
+ Ss = !1, er = !1, Ai = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), nn(this.cloneId), nn(this._dragStartId), this.nativeDraggable && (Te(document, "drop", this), Te(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), gi && qe(document.body, "user-select", ""), qe(ne, "transform", ""), a && (fi && (a.cancelable && a.preventDefault(), !s.dropBubble && a.stopPropagation()), be && be.parentNode && be.parentNode.removeChild(be), (He === et || ht && ht.lastPutMode !== "clone") && Ze && Ze.parentNode && Ze.parentNode.removeChild(Ze), ne && (this.nativeDraggable && Te(ne, "dragend", this), Io(ne), ne.style["will-change"] = "", fi && !Ss && Mt(ne, ht ? ht.options.ghostClass : this.options.ghostClass, !1), Mt(ne, this.options.chosenClass, !1), At({
9530
9536
  sortable: this,
9531
9537
  name: "unchoose",
9532
9538
  toEl: et,
@@ -9598,7 +9604,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9598
9604
  */
9599
9605
  toArray: function() {
9600
9606
  for (var a = [], e, s = this.el.children, i = 0, r = s.length, o = this.options; i < r; i++)
9601
- e = s[i], pa(e, o.draggable, this.el, !1) && a.push(e.getAttribute(o.dataIdAttr) || Gh(e));
9607
+ e = s[i], oa(e, o.draggable, this.el, !1) && a.push(e.getAttribute(o.dataIdAttr) || Gh(e));
9602
9608
  return a;
9603
9609
  },
9604
9610
  /**
@@ -9609,7 +9615,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9609
9615
  var s = {}, i = this.el;
9610
9616
  this.toArray().forEach(function(r, o) {
9611
9617
  var d = i.children[o];
9612
- pa(d, this.options.draggable, i, !1) && (s[r] = d);
9618
+ oa(d, this.options.draggable, i, !1) && (s[r] = d);
9613
9619
  }, this), e && this.captureAnimationState(), a.forEach(function(r) {
9614
9620
  s[r] && (i.removeChild(s[r]), i.appendChild(s[r]));
9615
9621
  }), e && this.animateAll();
@@ -9628,7 +9634,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9628
9634
  * @returns {HTMLElement|null}
9629
9635
  */
9630
9636
  closest: function(a, e) {
9631
- return pa(a, e || this.options.draggable, this.el, !1);
9637
+ return oa(a, e || this.options.draggable, this.el, !1);
9632
9638
  },
9633
9639
  /**
9634
9640
  * Set/get option
@@ -9657,7 +9663,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9657
9663
  if (!Ha) {
9658
9664
  if (_t("hideClone", this), Ye.eventCanceled)
9659
9665
  return;
9660
- Fe(Ze, "display", "none"), this.options.removeCloneOnHide && Ze.parentNode && Ze.parentNode.removeChild(Ze), Ha = !0;
9666
+ qe(Ze, "display", "none"), this.options.removeCloneOnHide && Ze.parentNode && Ze.parentNode.removeChild(Ze), Ha = !0;
9661
9667
  }
9662
9668
  },
9663
9669
  _showClone: function(a) {
@@ -9668,7 +9674,7 @@ Ye.prototype = /** @lends Sortable.prototype */
9668
9674
  if (Ha) {
9669
9675
  if (_t("showClone", this), Ye.eventCanceled)
9670
9676
  return;
9671
- ne.parentNode == He && !this.options.group.revertClone ? He.insertBefore(Ze, ne) : ps ? He.insertBefore(Ze, ps) : He.appendChild(Ze), this.options.group.revertClone && this.animate(ne, Ze), Fe(Ze, "display", ""), Ha = !1;
9677
+ ne.parentNode == He && !this.options.group.revertClone ? He.insertBefore(Ze, ne) : ps ? He.insertBefore(Ze, ps) : He.appendChild(Ze), this.options.group.revertClone && this.animate(ne, Ze), qe(Ze, "display", ""), Ha = !1;
9672
9678
  }
9673
9679
  }
9674
9680
  };
@@ -9689,11 +9695,11 @@ function Lh() {
9689
9695
  on = !1;
9690
9696
  }
9691
9697
  function Uh(t, a, e) {
9692
- var s = it(Ws(e.el, 0, e.options, !0)), i = ku(e.el), r = 10;
9698
+ var s = it(Ws(e.el, 0, e.options, !0)), i = Su(e.el, e.options, be), r = 10;
9693
9699
  return a ? t.clientX < i.left - r || t.clientY < s.top && t.clientX < s.right : t.clientY < i.top - r || t.clientY < s.bottom && t.clientX < s.left;
9694
9700
  }
9695
9701
  function jh(t, a, e) {
9696
- var s = it(Bn(e.el, e.options.draggable)), i = ku(e.el), r = 10;
9702
+ var s = it(Bn(e.el, e.options.draggable)), i = Su(e.el, e.options, be), r = 10;
9697
9703
  return a ? t.clientX > i.right + r || t.clientY > s.bottom && t.clientX > s.left : t.clientY > i.bottom + r || t.clientX > s.right && t.clientY > s.top;
9698
9704
  }
9699
9705
  function Hh(t, a, e, s, i, r, o, d) {
@@ -9736,16 +9742,16 @@ Jr && Be(document, "touchmove", function(t) {
9736
9742
  Ye.utils = {
9737
9743
  on: Be,
9738
9744
  off: Te,
9739
- css: Fe,
9745
+ css: qe,
9740
9746
  find: wu,
9741
9747
  is: function(a, e) {
9742
- return !!pa(a, e, a, !1);
9748
+ return !!oa(a, e, a, !1);
9743
9749
  },
9744
9750
  extend: Kh,
9745
- throttle: _u,
9746
- closest: pa,
9751
+ throttle: ku,
9752
+ closest: oa,
9747
9753
  toggleClass: Mt,
9748
- clone: Su,
9754
+ clone: Iu,
9749
9755
  index: Wt,
9750
9756
  nextTick: Fr,
9751
9757
  cancelNextTick: nn,
@@ -9829,13 +9835,13 @@ function gr() {
9829
9835
  function Dl() {
9830
9836
  clearInterval(pi);
9831
9837
  }
9832
- var Do = _u(function(t, a, e, s) {
9838
+ var Do = ku(function(t, a, e, s) {
9833
9839
  if (a.scroll) {
9834
9840
  var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, o = a.scrollSensitivity, d = a.scrollSpeed, n = ga(), l = !1, c;
9835
9841
  ln !== e && (ln = e, gr(), Vi = a.scroll, c = a.scrollFn, Vi === !0 && (Vi = Za(e, !0)));
9836
9842
  var u = 0, f = Vi;
9837
9843
  do {
9838
- var Y = f, p = it(Y), h = p.top, F = p.bottom, y = p.left, g = p.right, A = p.width, X = p.height, w = void 0, x = void 0, T = Y.scrollWidth, L = Y.scrollHeight, N = Fe(Y), H = Y.scrollLeft, _ = Y.scrollTop;
9844
+ var Y = f, p = it(Y), h = p.top, F = p.bottom, y = p.left, g = p.right, A = p.width, X = p.height, w = void 0, x = void 0, T = Y.scrollWidth, L = Y.scrollHeight, N = qe(Y), H = Y.scrollLeft, _ = Y.scrollTop;
9839
9845
  Y === n ? (w = A < T && (N.overflowX === "auto" || N.overflowX === "scroll" || N.overflowX === "visible"), x = X < L && (N.overflowY === "auto" || N.overflowY === "scroll" || N.overflowY === "visible")) : (w = A < T && (N.overflowX === "auto" || N.overflowX === "scroll"), x = X < L && (N.overflowY === "auto" || N.overflowY === "scroll"));
9840
9846
  var P = w && (Math.abs(g - i) <= o && H + A < T) - (Math.abs(y - i) <= o && !!H), M = x && (Math.abs(F - r) <= o && _ + X < L) - (Math.abs(h - r) <= o && !!_);
9841
9847
  if (!st[u])
@@ -9844,7 +9850,7 @@ var Do = _u(function(t, a, e, s) {
9844
9850
  (st[u].vx != P || st[u].vy != M || st[u].el !== Y) && (st[u].el = Y, st[u].vx = P, st[u].vy = M, clearInterval(st[u].pid), (P != 0 || M != 0) && (l = !0, st[u].pid = setInterval((function() {
9845
9851
  s && this.layer === 0 && Ye.active._onTouchMove(_r);
9846
9852
  var b = st[this.layer].vy ? st[this.layer].vy * d : 0, C = st[this.layer].vx ? st[this.layer].vx * d : 0;
9847
- typeof c == "function" && c.call(Ye.dragged.parentNode[Rt], C, b, t, _r, st[this.layer].el) !== "continue" || Iu(st[this.layer].el, C, b);
9853
+ typeof c == "function" && c.call(Ye.dragged.parentNode[Rt], C, b, t, _r, st[this.layer].el) !== "continue" || _u(st[this.layer].el, C, b);
9848
9854
  }).bind({
9849
9855
  layer: u
9850
9856
  }), 24))), u++;
@@ -10144,12 +10150,12 @@ const On = "a-sortable-", rF = ["id"], oF = { class: "a-sortable-widget__content
10144
10150
  A();
10145
10151
  }), Ot(() => {
10146
10152
  T.value = document.querySelector("#" + u.value), f();
10147
- }), ge(
10153
+ }), Fe(
10148
10154
  () => s.disableDraggable,
10149
10155
  async (b) => {
10150
10156
  A(), b === !1 && f();
10151
10157
  }
10152
- ), ge(
10158
+ ), Fe(
10153
10159
  () => s.dirty,
10154
10160
  (b) => {
10155
10161
  h.value = b;
@@ -10819,7 +10825,7 @@ const mF = ["data-id"], fF = { class: "a-sortable-nested-widget__nested" }, VF =
10819
10825
  H();
10820
10826
  }), Ot(() => {
10821
10827
  F.value = document.querySelector("#" + f.value), p();
10822
- }), ge(
10828
+ }), Fe(
10823
10829
  () => s.disableDraggable,
10824
10830
  async (I) => {
10825
10831
  H(), I === !1 && p();
@@ -10980,7 +10986,7 @@ const mF = ["data-id"], fF = { class: "a-sortable-nested-widget__nested" }, VF =
10980
10986
  ce(x.$slots, "activator", {
10981
10987
  props: { onClick: J(() => Y(), ["stop"]) }
10982
10988
  }),
10983
- m(pt, da(x.$attrs, {
10989
+ m(pt, ua(x.$attrs, {
10984
10990
  "model-value": o.value,
10985
10991
  fullscreen: "",
10986
10992
  class: "subject-select",
@@ -11107,7 +11113,7 @@ const mF = ["data-id"], fF = { class: "a-sortable-nested-widget__nested" }, VF =
11107
11113
  z("div", wF, [
11108
11114
  ce(x.$slots, "content"),
11109
11115
  x.paginationMode === "more" ? (q(), R("div", kF, [
11110
- oa((q(), E(L, {
11116
+ na((q(), E(L, {
11111
11117
  loading: x.loading,
11112
11118
  size: "small",
11113
11119
  onClick: y
@@ -11378,7 +11384,7 @@ const DF = /* @__PURE__ */ W({
11378
11384
  const s = t, i = e, { t: r } = te(), { showAll: o, toggleForm: d } = KF(), n = (F) => {
11379
11385
  const y = {};
11380
11386
  y[F.property] = F.value, i("update:modelValue", { ...s.modelValue, ...y }), i("anyChange");
11381
- }, l = S(() => s.elements.slice(0, s.pinnedCount)), c = S(() => s.elements.slice(s.pinnedCount)), u = S(() => o.value ? r("common.damImage.asset.detail.metadataToggle.show") : r("common.damImage.asset.detail.metadataToggle.hide")), f = S(() => o.value ? "mdi-minus" : "mdi-plus"), Y = S(() => s.elements.length > s.pinnedCount), p = ua({ $scope: s.validationScope });
11387
+ }, l = S(() => s.elements.slice(0, s.pinnedCount)), c = S(() => s.elements.slice(s.pinnedCount)), u = S(() => o.value ? r("common.damImage.asset.detail.metadataToggle.show") : r("common.damImage.asset.detail.metadataToggle.hide")), f = S(() => o.value ? "mdi-minus" : "mdi-plus"), Y = S(() => s.elements.length > s.pinnedCount), p = ca({ $scope: s.validationScope });
11382
11388
  return a({
11383
11389
  validate: () => p.value.$validate()
11384
11390
  }), (F, y) => (q(), R(he, null, [
@@ -11415,7 +11421,7 @@ const DF = /* @__PURE__ */ W({
11415
11421
  }, 1024))), 128)),
11416
11422
  ce(F.$slots, "after-pinned")
11417
11423
  ]),
11418
- oa(z("div", BF, [
11424
+ na(z("div", BF, [
11419
11425
  (q(!0), R(he, null, Ne(c.value, (g) => (q(), E(pe, {
11420
11426
  key: g.id,
11421
11427
  dense: "",
@@ -12783,8 +12789,8 @@ const Xg = (t) => ({
12783
12789
  }
12784
12790
  i.value.forEach((ae, Z) => {
12785
12791
  ae.items.forEach((ee) => {
12786
- var qe, Ae;
12787
- ie(Q) || ee.assetId === C && (clearTimeout(ee.notificationFallbackTimer), ee.isDuplicate = !0, ee.status = Re.Uploaded, ee.fileId = K, ee.duplicateAssetId = Q.id, ee.assetStatus = Q.attributes.assetStatus, (Ae = (qe = Q.mainFile) == null ? void 0 : qe.links) != null && Ae.image_detail && (ee.imagePreview = Q.mainFile.links.image_detail), ee.keywords = Q.keywords, ee.authors = Q.authors, ee.customData = Q.metadata.customData, j(Q.metadata.authorSuggestions, ae.suggestions.newAuthorNames), j(Q.metadata.keywordSuggestions, ae.suggestions.newKeywordNames), ee.authorConflicts = G(Q.metadata.authorSuggestions), t(ee.keywords), e(ee.authors), e(ee.authorConflicts), ee.assetId = Q.id, ee.canEditMetadata = !0, h(Z));
12792
+ var ge, Ae;
12793
+ ie(Q) || ee.assetId === C && (clearTimeout(ee.notificationFallbackTimer), ee.isDuplicate = !0, ee.status = Re.Uploaded, ee.fileId = K, ee.duplicateAssetId = Q.id, ee.assetStatus = Q.attributes.assetStatus, (Ae = (ge = Q.mainFile) == null ? void 0 : ge.links) != null && Ae.image_detail && (ee.imagePreview = Q.mainFile.links.image_detail), ee.keywords = Q.keywords, ee.authors = Q.authors, ee.customData = Q.metadata.customData, j(Q.metadata.authorSuggestions, ae.suggestions.newAuthorNames), j(Q.metadata.keywordSuggestions, ae.suggestions.newKeywordNames), ee.authorConflicts = G(Q.metadata.authorSuggestions), t(ee.keywords), e(ee.authors), e(ee.authorConflicts), ee.assetId = Q.id, ee.canEditMetadata = !0, h(Z));
12788
12794
  }), Y(Z), s(), a();
12789
12795
  });
12790
12796
  }
@@ -12933,7 +12939,7 @@ const Xg = (t) => ({
12933
12939
  s.onDropzoneClickCallback();
12934
12940
  }
12935
12941
  };
12936
- return ge(
12942
+ return Fe(
12937
12943
  () => s.fileInputKey,
12938
12944
  (p, h) => {
12939
12945
  p === h || O(p) || (o.value = p);
@@ -13010,7 +13016,7 @@ const Wg = {
13010
13016
  },
13011
13017
  setup(t) {
13012
13018
  const a = t, { showErrorsDefault: e } = Ue(), s = eo(a.configName), { imageClient: i } = s, { widgetImageToDamImageUrl: r } = Lu(s), o = D(null), { image: d, modelValue: n } = Gs(a), l = D(""), { t: c } = te();
13013
- return ge(
13019
+ return Fe(
13014
13020
  [d, n],
13015
13021
  async ([u, f]) => {
13016
13022
  if (o.value = null, l.value = hs, u) {
@@ -13129,7 +13135,7 @@ function mc(t, a = void 0) {
13129
13135
  }
13130
13136
  }));
13131
13137
  return {
13132
- v$: ua(e, { image: t }, { $scope: a })
13138
+ v$: ca(e, { image: t }, { $scope: a })
13133
13139
  };
13134
13140
  }
13135
13141
  const o7 = { key: 0 }, n7 = { class: "d-flex align-center justify-center" }, l7 = {
@@ -13333,7 +13339,7 @@ const o7 = { key: 0 }, n7 = { class: "d-flex align-center justify-center" }, l7
13333
13339
  }
13334
13340
  });
13335
13341
  var Yt = /* @__PURE__ */ ((t) => (t.Info = "meta", t.ROI = "roi", t.Default = "meta", t))(Yt || {});
13336
- const ma = Di("commonAssetDetailStore", () => {
13342
+ const fa = Di("commonAssetDetailStore", () => {
13337
13343
  const t = D(null), a = D([]), e = D(null), s = D(!1), i = D(!1), r = D(
13338
13344
  "meta"
13339
13345
  /* Default */
@@ -13478,7 +13484,7 @@ const v7 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
13478
13484
  const o = [], d = [];
13479
13485
  return a.assetFileProperties.slotNames.length > 1 && (o.push(y7), d.push(e("common.damImage.asset.metaIcons.slots"))), a.assetFileProperties.fromRss && (o.push(b7), d.push(e("common.damImage.asset.metaIcons.rss"))), s(o, d), i(o, d), { icons: o, titles: d };
13480
13486
  });
13481
- return (o, d) => oa((q(), R("div", {
13487
+ return (o, d) => na((q(), R("div", {
13482
13488
  class: Ve(["asset-image__meta-icons", { "asset-image__meta-icons-absolute": !o.disableAbsolute }])
13483
13489
  }, [
13484
13490
  (q(!0), R(he, null, Ne(r.value.icons, (n, l) => (q(), R("img", {
@@ -14057,7 +14063,7 @@ const J7 = { class: "w-100 text-right" }, Gn = /* @__PURE__ */ W({
14057
14063
  var l;
14058
14064
  return a.title.length > 0 ? a.title : i.value ? i.value.name + (((l = i.value.identifier) == null ? void 0 : l.length) > 0 ? ` (${i.value.identifier})` : "") : "";
14059
14065
  });
14060
- return ge(
14066
+ return Fe(
14061
14067
  o,
14062
14068
  async (l) => {
14063
14069
  r.value || O(l) || l._loaded === !1 || (i.value = l, r.value = !0);
@@ -14077,7 +14083,7 @@ const J7 = { class: "w-100 text-right" }, Gn = /* @__PURE__ */ W({
14077
14083
  indeterminate: "",
14078
14084
  class: "mx-1"
14079
14085
  })) : U("", !0)
14080
- ])) : (q(), E(na, {
14086
+ ])) : (q(), E(la, {
14081
14087
  key: 2,
14082
14088
  size: l.size,
14083
14089
  "append-icon": d.value,
@@ -14111,13 +14117,13 @@ const J7 = { class: "w-100 text-right" }, Gn = /* @__PURE__ */ W({
14111
14117
  var c;
14112
14118
  return o.value ? o.value.name + (((c = o.value.identifier) == null ? void 0 : c.length) > 0 ? ` (${o.value.identifier})` : "") : "";
14113
14119
  });
14114
- return ge(
14120
+ return Fe(
14115
14121
  n,
14116
14122
  async (c) => {
14117
14123
  d.value || O(c) || c._loaded === !1 || (o.value = c, d.value = !0);
14118
14124
  },
14119
14125
  { immediate: !0 }
14120
- ), (c, u) => (q(), E(na, {
14126
+ ), (c, u) => (q(), E(la, {
14121
14127
  size: "small",
14122
14128
  closable: "",
14123
14129
  "close-icon": "mdi-plus",
@@ -14204,7 +14210,7 @@ function oq(t, a = void 0) {
14204
14210
  }
14205
14211
  }));
14206
14212
  return {
14207
- v$: ua(e, { author: t }, { $scope: a })
14213
+ v$: ca(e, { author: t }, { $scope: a })
14208
14214
  };
14209
14215
  }
14210
14216
  function nq() {
@@ -14442,7 +14448,7 @@ const lq = /* @__PURE__ */ W({
14442
14448
  // eslint-disable-next-line vue/no-ref-object-reactivity-loss
14443
14449
  required: d(o.value)
14444
14450
  }
14445
- }, l = ua(n, { modelValueComputed: i }, { $scope: e.validationScope }), { fetchItemsMinimal: c } = aq(e.extSystem), u = sq(), f = async (g) => {
14451
+ }, l = ca(n, { modelValueComputed: i }, { $scope: e.validationScope }), { fetchItemsMinimal: c } = aq(e.extSystem), u = sq(), f = async (g) => {
14446
14452
  g && (i.value.includes(g) || (i.value = [...i.value, g]));
14447
14453
  }, Y = D(""), p = (g) => {
14448
14454
  g.length > 0 && (Y.value = g);
@@ -14475,10 +14481,10 @@ const lq = /* @__PURE__ */ W({
14475
14481
  onSearchChange: p
14476
14482
  }, {
14477
14483
  item: V(({ props: X, item: w }) => [
14478
- m(Je, da(X, {
14484
+ m(Je, ua(X, {
14479
14485
  onClick: A[0] || (A[0] = J(() => {
14480
14486
  }, ["prevent"]))
14481
- }), la({
14487
+ }), da({
14482
14488
  title: V(() => [
14483
14489
  (q(), E(Wl, {
14484
14490
  id: w.value,
@@ -14601,7 +14607,7 @@ const Vq = { key: 1 }, Jl = /* @__PURE__ */ W({
14601
14607
  if (!(!l || !i.value) && l.suggestions.newKeywordNames.has(i.value.name))
14602
14608
  return "mdi-new-box";
14603
14609
  }), n = S(() => a.title.length > 0 ? a.title : i.value ? i.value.name : "");
14604
- return ge(
14610
+ return Fe(
14605
14611
  o,
14606
14612
  async (l) => {
14607
14613
  r.value || O(l) || l._loaded === !1 || (i.value = l, r.value = !0);
@@ -14621,7 +14627,7 @@ const Vq = { key: 1 }, Jl = /* @__PURE__ */ W({
14621
14627
  indeterminate: "",
14622
14628
  class: "mx-1"
14623
14629
  })) : U("", !0)
14624
- ])) : (q(), E(na, {
14630
+ ])) : (q(), E(la, {
14625
14631
  key: 2,
14626
14632
  size: l.size,
14627
14633
  "append-icon": d.value,
@@ -14671,7 +14677,7 @@ function Fq(t, a = void 0) {
14671
14677
  }
14672
14678
  }));
14673
14679
  return {
14674
- v$: ua(e, { keyword: t }, { $scope: a })
14680
+ v$: ca(e, { keyword: t }, { $scope: a })
14675
14681
  };
14676
14682
  }
14677
14683
  const gq = /* @__PURE__ */ W({
@@ -14858,7 +14864,7 @@ const gq = /* @__PURE__ */ W({
14858
14864
  modelValueComputed: {
14859
14865
  required: o(r)
14860
14866
  }
14861
- }, n = ua(d, { modelValueComputed: i }, { $scope: e.validationScope }), { fetchItemsMinimal: l } = mq(e.extSystem), c = fq(), u = D(""), f = (F) => {
14867
+ }, n = ca(d, { modelValueComputed: i }, { $scope: e.validationScope }), { fetchItemsMinimal: l } = mq(e.extSystem), c = fq(), u = D(""), f = (F) => {
14862
14868
  F.length > 0 && (u.value = F);
14863
14869
  }, { addManualToCachedKeywords: Y } = so(), p = (F) => {
14864
14870
  if (Y(F), dt(i.value)) {
@@ -14887,10 +14893,10 @@ const gq = /* @__PURE__ */ W({
14887
14893
  onSearchChange: f
14888
14894
  }, {
14889
14895
  item: V(({ props: g, item: A }) => [
14890
- m(Je, da(g, {
14896
+ m(Je, ua(g, {
14891
14897
  onClick: y[0] || (y[0] = J(() => {
14892
14898
  }, ["prevent"]))
14893
- }), la({
14899
+ }), da({
14894
14900
  title: V(() => [
14895
14901
  (q(), E(Jl, {
14896
14902
  id: A.value,
@@ -14962,7 +14968,7 @@ const gq = /* @__PURE__ */ W({
14962
14968
  extSystem: {}
14963
14969
  },
14964
14970
  setup(t) {
14965
- const a = t, { t: e } = te(), s = D(["metadata", "file"]), i = ma(), { asset: r, authorConflicts: o, metadataAreTouched: d } = xt(i), n = S(() => {
14971
+ const a = t, { t: e } = te(), s = D(["metadata", "file"]), i = fa(), { asset: r, authorConflicts: o, metadataAreTouched: d } = xt(i), n = S(() => {
14966
14972
  var F;
14967
14973
  return ((F = r.value) == null ? void 0 : F.attributes.assetType) || ve.Default;
14968
14974
  }), l = S(() => n.value === ve.Image), c = S(() => r.value && r.value.mainFile ? r.value.mainFile : null), u = () => {
@@ -15232,7 +15238,7 @@ const gq = /* @__PURE__ */ W({
15232
15238
  extSystem: {}
15233
15239
  },
15234
15240
  setup(t) {
15235
- const a = t, { t: e } = te(), s = ma(), { asset: i, updateUploadStore: r } = xt(s), o = ea(), d = D(!1), { showRecordWas: n, showValidationError: l, showErrorsDefault: c } = Ue(), u = ua({}, {}, { $scope: Da }), { damClient: f } = ot(), Y = async () => {
15241
+ const a = t, { t: e } = te(), s = fa(), { asset: i, updateUploadStore: r } = xt(s), o = ea(), d = D(!1), { showRecordWas: n, showValidationError: l, showErrorsDefault: c } = Ue(), u = ca({}, {}, { $scope: Da }), { damClient: f } = ot(), Y = async () => {
15236
15242
  if (!ie(i.value)) {
15237
15243
  if (d.value = !0, u.value.$touch(), u.value.$invalid) {
15238
15244
  l(), d.value = !1;
@@ -15373,7 +15379,7 @@ const gq = /* @__PURE__ */ W({
15373
15379
  queueKey: {}
15374
15380
  },
15375
15381
  setup(t) {
15376
- const { t: a } = te(), e = hc(), s = ma(), i = bs(), { damClient: r } = ot(), o = async () => {
15382
+ const { t: a } = te(), e = hc(), s = fa(), i = bs(), { damClient: r } = ot(), o = async () => {
15377
15383
  if (e.imageFile) {
15378
15384
  e.showLoader();
15379
15385
  const n = await Iq(r, e.imageFile.id, i, {});
@@ -15482,7 +15488,7 @@ const gq = /* @__PURE__ */ W({
15482
15488
  assetMainFileFailReason: { default: void 0 }
15483
15489
  },
15484
15490
  setup(t) {
15485
- const { t: a } = te(), e = ma(), { activeTab: s } = xt(e);
15491
+ const { t: a } = te(), e = fa(), { activeTab: s } = xt(e);
15486
15492
  return (i, r) => (q(), R("div", Bq, [
15487
15493
  z("div", Rq, [
15488
15494
  m(kn, {
@@ -16029,8 +16035,8 @@ function AY(t, a, e, s) {
16029
16035
  width: _,
16030
16036
  height: M
16031
16037
  }, "cover"), ae = Math.min(G.width, Math.max(Q.width, r)), Z = Math.min(G.height, Math.max(Q.height, o)), ee = [-ae / 2, -Z / 2, ae, Z];
16032
- return I.width = Ns($), I.height = Ns(j), b.fillStyle = y, b.fillRect(0, 0, $, j), b.save(), b.translate($ / 2, j / 2), b.rotate(n * Math.PI / 180), b.scale(c, f), b.imageSmoothingEnabled = A, b.imageSmoothingQuality = w, b.drawImage.apply(b, [t].concat(Xc(ee.map(function(qe) {
16033
- return Math.floor(Ns(qe));
16038
+ return I.width = Ns($), I.height = Ns(j), b.fillStyle = y, b.fillRect(0, 0, $, j), b.save(), b.translate($ / 2, j / 2), b.rotate(n * Math.PI / 180), b.scale(c, f), b.imageSmoothingEnabled = A, b.imageSmoothingQuality = w, b.drawImage.apply(b, [t].concat(Xc(ee.map(function(ge) {
16039
+ return Math.floor(Ns(ge));
16034
16040
  })))), b.restore(), I;
16035
16041
  }
16036
16042
  var Tc = String.fromCharCode;
@@ -17098,7 +17104,7 @@ const MY = { class: "d-flex flex-column" }, $Y = {
17098
17104
  extSystem: {}
17099
17105
  },
17100
17106
  setup(t) {
17101
- const { t: a } = te(), { toolbarColor: e } = Ti(), s = ma(), { asset: i, dialog: r, activeTab: o, loading: d } = xt(s), n = () => {
17107
+ const { t: a } = te(), { toolbarColor: e } = Ti(), s = fa(), { asset: i, dialog: r, activeTab: o, loading: d } = xt(s), n = () => {
17102
17108
  s.setAsset(null), r.value = null;
17103
17109
  }, l = D(!0), c = () => {
17104
17110
  l.value = !l.value;
@@ -17259,7 +17265,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17259
17265
  extSystem: {}
17260
17266
  },
17261
17267
  setup(t) {
17262
- const a = t, { t: e } = te(), s = D(["metadata", "file"]), i = ma(), { asset: r, authorConflicts: o, metadataAreTouched: d } = xt(i), n = ea(), l = S(() => n.getQueueItems(a.queueKey)), c = S(() => l.value[0] ?? null), u = S(() => ve.Image), f = S(() => u.value === ve.Image), Y = S(() => r.value && r.value.mainFile ? r.value.mainFile : null), p = () => {
17268
+ const a = t, { t: e } = te(), s = D(["metadata", "file"]), i = fa(), { asset: r, authorConflicts: o, metadataAreTouched: d } = xt(i), n = ea(), l = S(() => n.getQueueItems(a.queueKey)), c = S(() => l.value[0] ?? null), u = S(() => ve.Image), f = S(() => u.value === ve.Image), Y = S(() => r.value && r.value.mainFile ? r.value.mainFile : null), p = () => {
17263
17269
  d.value = !0;
17264
17270
  }, { keywordRequired: h, keywordEnabled: F } = Jn(u.value, a.extSystem), { authorRequired: y, authorEnabled: g } = Qn(u.value, a.extSystem);
17265
17271
  return (A, X) => c.value ? (q(), E(wn, {
@@ -17537,7 +17543,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17537
17543
  },
17538
17544
  emits: ["onSave", "onSaveAndApply"],
17539
17545
  setup(t, { emit: a }) {
17540
- const e = a, { t: s } = te(), i = ua({}, {}, { $scope: Da }), { showValidationError: r } = Ue(), o = async () => {
17546
+ const e = a, { t: s } = te(), i = ca({}, {}, { $scope: Da }), { showValidationError: r } = Ue(), o = async () => {
17541
17547
  if (i.value.$touch(), i.value.$invalid) {
17542
17548
  r();
17543
17549
  return;
@@ -17616,7 +17622,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17616
17622
  },
17617
17623
  emits: ["onSave", "onSaveAndApply"],
17618
17624
  setup(t, { emit: a }) {
17619
- const e = a, { t: s } = te(), i = ma(), { activeTab: r } = xt(i);
17625
+ const e = a, { t: s } = te(), i = fa(), { activeTab: r } = xt(i);
17620
17626
  return (o, d) => (q(), R("div", QY, [
17621
17627
  z("div", eX, [
17622
17628
  m(kn, {
@@ -17683,7 +17689,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17683
17689
  emits: ["confirm"],
17684
17690
  setup(t, { emit: a }) {
17685
17691
  const e = t, s = a, i = D(!1), r = (l) => {
17686
- if (ca(l), !e.isUploading) {
17692
+ if (ma(l), !e.isUploading) {
17687
17693
  s("confirm");
17688
17694
  return;
17689
17695
  }
@@ -17801,7 +17807,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17801
17807
  },
17802
17808
  emits: ["onApply"],
17803
17809
  setup(t, { emit: a }) {
17804
- const e = t, s = a, { showErrorsDefault: i, showRecordWas: r } = Ue(), { t: o } = te(), { toolbarColor: d } = Ti(), n = ma(), { activeTab: l, loading: c, asset: u } = xt(n), f = D(!1), Y = ea(), { uploadQueueDialog: p } = uo(), h = S(() => Y.getQueueItems(e.queueKey)), F = S(() => h.value[0] ?? null), y = S(() => !F.value || !F.value.assetId ? null : b.value && u.value ? u.value : {
17810
+ const e = t, s = a, { showErrorsDefault: i, showRecordWas: r } = Ue(), { t: o } = te(), { toolbarColor: d } = Ti(), n = fa(), { activeTab: l, loading: c, asset: u } = xt(n), f = D(!1), Y = ea(), { uploadQueueDialog: p } = uo(), h = S(() => Y.getQueueItems(e.queueKey)), F = S(() => h.value[0] ?? null), y = S(() => !F.value || !F.value.assetId ? null : b.value && u.value ? u.value : {
17805
17811
  id: F.value.assetId,
17806
17812
  texts: {
17807
17813
  displayTitle: ""
@@ -17873,7 +17879,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17873
17879
  i(Ae);
17874
17880
  } finally {
17875
17881
  }
17876
- }, qe = async () => {
17882
+ }, ge = async () => {
17877
17883
  var De;
17878
17884
  if (h.value.length === 0)
17879
17885
  return;
@@ -17902,7 +17908,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
17902
17908
  } finally {
17903
17909
  }
17904
17910
  };
17905
- return ge(
17911
+ return Fe(
17906
17912
  b,
17907
17913
  async (Ae) => {
17908
17914
  var _e;
@@ -18041,7 +18047,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18041
18047
  "asset-main-file-status": P.value ? P.value.fileAttributes.status : void 0,
18042
18048
  "asset-main-file-fail-reason": P.value ? P.value.fileAttributes.failReason : void 0,
18043
18049
  onOnSave: ee,
18044
- onOnSaveAndApply: qe
18050
+ onOnSaveAndApply: ge
18045
18051
  }, null, 8, ["queue-key", "ext-system", "enable-roi-tab", "show-file-info", "asset-id", "is-video", "is-audio", "is-image", "is-document", "asset-status", "asset-type", "asset-main-file-status", "asset-main-file-fail-reason"])) : U("", !0)
18046
18052
  ])
18047
18053
  ])
@@ -18099,7 +18105,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18099
18105
  lockedByUser: ta
18100
18106
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
18101
18107
  } = is(s.collab.room, s.collab.field);
18102
- o.value = le, d.value = ze, ge(
18108
+ o.value = le, d.value = ze, Fe(
18103
18109
  ta,
18104
18110
  (lt) => {
18105
18111
  n.value = lt;
@@ -18142,10 +18148,10 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18142
18148
  return;
18143
18149
  }
18144
18150
  x.value = null;
18145
- }, qe = () => {
18151
+ }, ge = () => {
18146
18152
  M.value = hs, x.value = null, i("update:modelValue", null), o.value(null);
18147
18153
  };
18148
- ge(
18154
+ Fe(
18149
18155
  [() => s.image, () => s.modelValue],
18150
18156
  async ([le, ze]) => {
18151
18157
  await ee(le, ze);
@@ -18184,7 +18190,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18184
18190
  };
18185
18191
  ie(s.modelValue) || (xs.id = s.modelValue), X.setImageDetail(xs), _.value = !1, ye();
18186
18192
  }
18187
- }, _e = ma(), { loading: De, dialog: Ke } = xt(_e), { damClient: Ee } = ot(), je = async (le) => {
18193
+ }, _e = fa(), { loading: De, dialog: Ke } = xt(_e), { damClient: Ee } = ot(), je = async (le) => {
18188
18194
  De.value = !0, Ke.value = s.queueKey;
18189
18195
  try {
18190
18196
  const ze = await Mn(Ee, le), wt = await Rc(Ee, ze.licence);
@@ -18212,13 +18218,13 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18212
18218
  if (!ie(s.modelValue)) {
18213
18219
  if (s.callDeleteApiOnRemove) {
18214
18220
  try {
18215
- await cc(y, s.modelValue), qe();
18221
+ await cc(y, s.modelValue), ge();
18216
18222
  } catch (le) {
18217
18223
  h(le);
18218
18224
  }
18219
18225
  return;
18220
18226
  }
18221
- qe();
18227
+ ge();
18222
18228
  }
18223
18229
  }, ye = () => {
18224
18230
  const le = X.imageDetail;
@@ -18227,7 +18233,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18227
18233
  le[0] && (ie(s.modelValue) || (le[0].id = s.modelValue), X.setImageDetail(le[0]), N.value = !0, s.expandMetadata && ye());
18228
18234
  }, $e = D(null), mt = () => {
18229
18235
  var le;
18230
- if (!fa.value) {
18236
+ if (!Va.value) {
18231
18237
  if (c(), !s.expandOptions) {
18232
18238
  T.value = !0;
18233
18239
  return;
@@ -18239,14 +18245,14 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18239
18245
  (le = ft.value) == null || le.confirm();
18240
18246
  }, nt = () => {
18241
18247
  c();
18242
- }, _a = S(() => N.value || L.value || w.value === s.queueKey), fa = S(() => !ie(n.value));
18243
- return ge(
18248
+ }, _a = S(() => N.value || L.value || w.value === s.queueKey), Va = S(() => !ie(n.value));
18249
+ return Fe(
18244
18250
  T,
18245
18251
  (le, ze) => {
18246
18252
  le === ze || le || _a.value || u(s.modelValue);
18247
18253
  },
18248
18254
  { immediate: !1 }
18249
- ), ge(
18255
+ ), Fe(
18250
18256
  _a,
18251
18257
  (le, ze) => {
18252
18258
  le === ze || le || u(s.modelValue);
@@ -18258,7 +18264,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18258
18264
  var wt, ta;
18259
18265
  return q(), R(he, null, [
18260
18266
  z("div", {
18261
- class: Ve(["a-image-widget", { "a-image-widget--locked": fa.value }])
18267
+ class: Ve(["a-image-widget", { "a-image-widget--locked": Va.value }])
18262
18268
  }, [
18263
18269
  z("div", yX, [
18264
18270
  le.label ? (q(), R("h4", bX, [
@@ -18266,13 +18272,13 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18266
18272
  le.required ? (q(), R("span", CX)) : U("", !0)
18267
18273
  ])) : U("", !0),
18268
18274
  z("div", xX, [
18269
- fa.value && le.collab ? (q(), R("div", wX, [
18275
+ Va.value && le.collab ? (q(), R("div", wX, [
18270
18276
  m(Bt, {
18271
18277
  id: n.value,
18272
18278
  users: le.collab.cachedUsers
18273
18279
  }, null, 8, ["id", "users"])
18274
18280
  ])) : U("", !0),
18275
- oa(z("div", null, [
18281
+ na(z("div", null, [
18276
18282
  le.expandOptions ? (q(), R("div", kX, [
18277
18283
  C.value && !le.expandMetadata ? (q(), E(se, {
18278
18284
  key: 0,
@@ -18317,7 +18323,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18317
18323
  variant: "text",
18318
18324
  size: "x-small",
18319
18325
  icon: "",
18320
- disabled: fa.value,
18326
+ disabled: Va.value,
18321
18327
  onClick: J(nt, ["stop"])
18322
18328
  }, {
18323
18329
  default: V(() => [
@@ -18444,7 +18450,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18444
18450
  transparent: "",
18445
18451
  accept: v(Z),
18446
18452
  "max-sizes": v(ae),
18447
- "hide-text": !P.value || fa.value,
18453
+ "hide-text": !P.value || Va.value,
18448
18454
  onOnClick: mt,
18449
18455
  onOnDrop: G
18450
18456
  }, null, 8, ["accept", "max-sizes", "hide-text"])
@@ -18551,7 +18557,7 @@ const GY = { key: 0 }, ZY = /* @__PURE__ */ W({
18551
18557
  var F;
18552
18558
  (F = p.value) == null || F.metadataConfirm();
18553
18559
  }
18554
- }), (F, y) => r.value === "ready" ? (q(), E(MX, da({
18560
+ }), (F, y) => r.value === "ready" ? (q(), E(MX, ua({
18555
18561
  key: 0,
18556
18562
  ref_key: "innerComponent",
18557
18563
  ref: p
@@ -19448,7 +19454,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19448
19454
  },
19449
19455
  emits: ["onDrop", "onFilesInput", "onApply"],
19450
19456
  setup(t, { emit: a }) {
19451
- const e = t, s = a, { uploadQueueDialog: i, uploadQueueSidebar: r, toggleUploadQueueSidebar: o } = uo(), d = Oi(), { maxPosition: n } = xt(d), l = ea(), c = S(() => l.getQueueTotalCount(e.queueKey)), u = S(() => l.getQueueItems(e.queueKey)), f = S(() => l.getQueueProcessedCount(e.queueKey)), Y = S(() => c.value > f.value), p = S(() => c.value === f.value), { t: h } = te(), { toolbarColor: F } = Ti(), y = ua(), { showRecordWas: g, showValidationError: A, showErrorsDefault: X } = Ue(), { damClient: w } = ot(), x = D(!1), T = D(!1), L = async () => {
19457
+ const e = t, s = a, { uploadQueueDialog: i, uploadQueueSidebar: r, toggleUploadQueueSidebar: o } = uo(), d = Oi(), { maxPosition: n } = xt(d), l = ea(), c = S(() => l.getQueueTotalCount(e.queueKey)), u = S(() => l.getQueueItems(e.queueKey)), f = S(() => l.getQueueProcessedCount(e.queueKey)), Y = S(() => c.value > f.value), p = S(() => c.value === f.value), { t: h } = te(), { toolbarColor: F } = Ti(), y = ca(), { showRecordWas: g, showValidationError: A, showErrorsDefault: X } = Ue(), { damClient: w } = ot(), x = D(!1), T = D(!1), L = async () => {
19452
19458
  l.stopUpload(e.queueKey), i.value = null;
19453
19459
  }, N = async () => {
19454
19460
  const K = bt(u.value);
@@ -19489,15 +19495,15 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19489
19495
  ).map((Z) => {
19490
19496
  var Ae, _e;
19491
19497
  n.value++;
19492
- const ee = (Ae = j.get(Z.assetId)) == null ? void 0 : Ae.description, qe = [];
19498
+ const ee = (Ae = j.get(Z.assetId)) == null ? void 0 : Ae.description, ge = [];
19493
19499
  return (_e = j.get(Z.assetId)) == null || _e.authorIds.forEach((De) => {
19494
19500
  const Ke = Q.get(De);
19495
- !O(Ke) && Ke.trim().length > 0 && qe.push(Ke);
19501
+ !O(Ke) && Ke.trim().length > 0 && ge.push(Ke);
19496
19502
  }), {
19497
19503
  key: Wa(),
19498
19504
  texts: {
19499
19505
  description: ee ?? "",
19500
- source: qe.join(", ")
19506
+ source: ge.join(", ")
19501
19507
  },
19502
19508
  dam: {
19503
19509
  damId: Z.fileId,
@@ -19523,7 +19529,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19523
19529
  T.value = !1;
19524
19530
  }
19525
19531
  }
19526
- }, P = ma(), { loading: M, dialog: I, updateUploadStore: b } = xt(P), C = async (K) => {
19532
+ }, P = fa(), { loading: M, dialog: I, updateUploadStore: b } = xt(P), C = async (K) => {
19527
19533
  try {
19528
19534
  P.setAsset(null), M.value = !0, I.value = e.queueKey, b.value = !0, P.setAsset(await Ga(w, K));
19529
19535
  } catch ($) {
@@ -19568,7 +19574,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19568
19574
  z("div", null, k(v(h)("common.damImage.upload.uploading")) + " " + k(f.value + 1) + "/" + k(c.value), 1)
19569
19575
  ])) : U("", !0),
19570
19576
  z("div", kA, [
19571
- oa(m(Ci, {
19577
+ na(m(Ci, {
19572
19578
  vertical: "",
19573
19579
  class: "mx-4 my-2"
19574
19580
  }, null, 512), [
@@ -19619,7 +19625,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19619
19625
  onFilesInput: $[0] || ($[0] = (G) => s("onFilesInput", G))
19620
19626
  }, {
19621
19627
  activator: V(({ props: G }) => [
19622
- m(se, da({
19628
+ m(se, ua({
19623
19629
  tabindex: "-1",
19624
19630
  icon: "",
19625
19631
  variant: "text",
@@ -19781,10 +19787,10 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19781
19787
  c(ft);
19782
19788
  }
19783
19789
  return me.map((ft) => {
19784
- var _a, fa;
19790
+ var _a, Va;
19785
19791
  A.value++;
19786
19792
  const Ce = (_a = ct.get(ft.id)) == null ? void 0 : _a.description, nt = [];
19787
- return (fa = ct.get(ft.id)) == null || fa.authorIds.forEach((Cs) => {
19793
+ return (Va = ct.get(ft.id)) == null || Va.authorIds.forEach((Cs) => {
19788
19794
  const le = mt.get(Cs);
19789
19795
  !O(le) && le.trim().length > 0 && nt.push(le);
19790
19796
  }), {
@@ -19808,7 +19814,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19808
19814
  const re = await _(me.value.filter((ye) => !ie(ye.mainFile)));
19809
19815
  y.addImages(re);
19810
19816
  }
19811
- }, M = ma(), { loading: I, dialog: b } = xt(M), { damClient: C } = ot(), K = async (me) => {
19817
+ }, M = fa(), { loading: I, dialog: b } = xt(M), { damClient: C } = ot(), K = async (me) => {
19812
19818
  I.value = !0, b.value = s.queueKey;
19813
19819
  try {
19814
19820
  const re = await Mn(C, me), ye = await Rc(C, re.licence);
@@ -19828,7 +19834,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19828
19834
  ), L.value = null, w.stopUpload(s.queueKey));
19829
19835
  }, j = () => {
19830
19836
  r.value = !0;
19831
- }, G = ua({}, {}, { $scope: jn }), Q = async () => {
19837
+ }, G = ca({}, {}, { $scope: jn }), Q = async () => {
19832
19838
  if (G.value.$touch(), G.value.$invalid)
19833
19839
  return u(), !1;
19834
19840
  try {
@@ -19857,7 +19863,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19857
19863
  }
19858
19864
  y.removeImageByIndex(me);
19859
19865
  }
19860
- }, Z = D(null), ee = D(Wa()), qe = D(null), Ae = D(0), _e = S(() => O(s.widgetIdentifierId) ? On + ee.value : s.widgetIdentifierId), De = () => {
19866
+ }, Z = D(null), ee = D(Wa()), ge = D(null), Ae = D(0), _e = S(() => O(s.widgetIdentifierId) ? On + ee.value : s.widgetIdentifierId), De = () => {
19861
19867
  Ae.value++, Ot(() => {
19862
19868
  je();
19863
19869
  });
@@ -19875,7 +19881,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19875
19881
  if (s.disableDraggable || !Z.value)
19876
19882
  return;
19877
19883
  const me = Z.value.querySelector("." + Ir);
19878
- me && (qe.value = zn(me, [], {
19884
+ me && (ge.value = zn(me, [], {
19879
19885
  handle: "." + zs,
19880
19886
  ghostClass: Pu,
19881
19887
  dragClass: zu,
@@ -19903,7 +19909,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
19903
19909
  onFilesInput: N
19904
19910
  }, {
19905
19911
  activator: V(({ props: $e }) => [
19906
- m(se, da({
19912
+ m(se, ua({
19907
19913
  ref_key: "uploadButtonComponent",
19908
19914
  ref: f
19909
19915
  }, $e), {
@@ -20031,7 +20037,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
20031
20037
  const p = D(null), h = async () => p.value ? await p.value.saveImages() : !1;
20032
20038
  return bi(ro, l), a({
20033
20039
  saveImages: h
20034
- }), (F, y) => r.value === "ready" ? (q(), E(TA, da({
20040
+ }), (F, y) => r.value === "ready" ? (q(), E(TA, ua({
20035
20041
  key: 0,
20036
20042
  ref_key: "innerComponent",
20037
20043
  ref: p
@@ -20059,7 +20065,7 @@ const dA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, uA = { clas
20059
20065
  },
20060
20066
  setup(t) {
20061
20067
  const a = t, { images: e, modelValue: s } = Gs(a), i = D([]), { showErrorsDefault: r } = Ue(), o = eo(a.configName), { imageClient: d } = o;
20062
- return ge(
20068
+ return Fe(
20063
20069
  [e, s],
20064
20070
  async ([n, l]) => {
20065
20071
  if (i.value = [], n && n.length > 0) {
@@ -22600,7 +22606,7 @@ const GS = {
22600
22606
  })
22601
22607
  });
22602
22608
  async function oK() {
22603
- (await import("./webfontloader-nq-GLfP6.js").then((a) => a.w)).load({
22609
+ (await import("./webfontloader-X3tkTdzZ.js").then((a) => a.w)).load({
22604
22610
  google: {
22605
22611
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
22606
22612
  }
@@ -22949,7 +22955,7 @@ export {
22949
22955
  eK as cn,
22950
22956
  GA as co,
22951
22957
  tK as cp,
22952
- ca as cq,
22958
+ ma as cq,
22953
22959
  Wa as cr,
22954
22960
  yS as cs,
22955
22961
  NS as ct,
@@ -23036,4 +23042,4 @@ export {
23036
23042
  UI as y,
23037
23043
  wi as z
23038
23044
  };
23039
- //# sourceMappingURL=lib-1RXKZwBR.js.map
23045
+ //# sourceMappingURL=lib-wQBDa7kJ.js.map