@anzusystems/common-admin 1.47.0-beta.13 → 1.47.0-beta.14

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,7 +1,7 @@
1
1
  var dm = Object.defineProperty;
2
2
  var um = (t, a, e) => a in t ? dm(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e;
3
3
  var ar = (t, a, e) => um(t, typeof a != "symbol" ? a + "" : a, e);
4
- import { defineComponent as W, computed as _, openBlock as q, createBlock as E, withCtx as f, createTextVNode as B, toDisplayString as I, createElementBlock as P, createVNode as m, normalizeClass as he, createCommentVNode as N, renderSlot as ue, createElementVNode as L, resolveComponent as $e, withModifiers as Z, withDirectives as Ht, vShow as Oa, isProxy as Dd, toRaw as At, isRef as Ts, unref as V, Fragment as Fe, normalizeStyle as Mt, shallowRef as ft, watch as Ye, ref as K, reactive as oa, inject as st, createSlots as na, provide as Ti, renderList as je, onMounted as ht, TransitionGroup as Td, isVNode as cm, mergeModels as Wt, useModel as ba, toRefs as ii, vModelText as xl, nextTick as Gt, pushScopeId as mm, popScopeId as fm, withKeys as Ma, mergeProps as Rt, onUnmounted as On, readonly as Is, createStaticVNode as Ed, resolveDynamicComponent as Wr, setBlockTracking as wl, onBeforeUnmount as Gr, toRef as Zr, Teleport as Vm, normalizeProps as pm, guardReactiveProps as vm } from "vue";
4
+ import { defineComponent as W, computed as _, openBlock as q, createBlock as E, withCtx as f, createTextVNode as B, toDisplayString as I, createElementBlock as P, createVNode as m, normalizeClass as he, createCommentVNode as N, renderSlot as ue, createElementVNode as L, resolveComponent as $e, withModifiers as Z, withDirectives as Ht, vShow as Oa, isProxy as Dd, toRaw as At, isRef as Ts, unref as V, Fragment as Fe, normalizeStyle as Mt, shallowRef as ft, watch as Ye, ref as K, reactive as oa, inject as st, createSlots as na, provide as Ti, renderList as je, onMounted as Ft, TransitionGroup as Td, isVNode as cm, mergeModels as Wt, useModel as ba, toRefs as ii, vModelText as xl, nextTick as Gt, pushScopeId as mm, popScopeId as fm, withKeys as Ma, mergeProps as Rt, onUnmounted as On, readonly as Is, createStaticVNode as Ed, resolveDynamicComponent as Wr, setBlockTracking as wl, onBeforeUnmount as Gr, toRef as Zr, Teleport as Vm, normalizeProps as pm, guardReactiveProps as vm } from "vue";
5
5
  import { useI18n as ee, createI18n as hm } from "vue-i18n";
6
6
  import { VChip as Zt } from "vuetify/lib/components/VChip/index.mjs";
7
7
  import { VRow as ge, VCol as le, VSpacer as rt } from "vuetify/lib/components/VGrid/index.mjs";
@@ -1472,7 +1472,7 @@ const ir = {
1472
1472
  function U() {
1473
1473
  i.value = i.value.filter((D) => D.state !== ir.DESTROYED);
1474
1474
  }
1475
- return ht(() => {
1475
+ return Ft(() => {
1476
1476
  Er.on("add", g), Er.on("close", y);
1477
1477
  }), () => {
1478
1478
  let D;
@@ -1841,7 +1841,7 @@ const _S = /* @__PURE__ */ W({
1841
1841
  },
1842
1842
  setup(t) {
1843
1843
  const a = t, { t: e } = ee(), s = K([]);
1844
- return ht(async () => {
1844
+ return Ft(async () => {
1845
1845
  if (a.configUrl && a.configUrl.length > 0)
1846
1846
  try {
1847
1847
  const { data: i } = await Fm(a.configUrl).get().json();
@@ -3054,7 +3054,7 @@ const CV = /* @__PURE__ */ W({
3054
3054
  },
3055
3055
  setup(t) {
3056
3056
  const a = t, e = K(!1), s = _(() => a.permission.split("_")[0] || "");
3057
- return ht(() => {
3057
+ return Ft(() => {
3058
3058
  const { can: i, useCurrentUser: r } = co(s.value), { currentUser: o } = r(s.value);
3059
3059
  Ye(
3060
3060
  o,
@@ -4022,7 +4022,7 @@ const mp = {
4022
4022
  };
4023
4023
  return Ye(u, (v, h) => {
4024
4024
  v !== h && (p.value = v, d.value = !1);
4025
- }), ht(() => {
4025
+ }), Ft(() => {
4026
4026
  c.value = "remote-switch-" + Date.now();
4027
4027
  }), (v, h) => (q(), P("div", Vp, [
4028
4028
  m(Oi, {
@@ -4142,7 +4142,7 @@ const mp = {
4142
4142
  };
4143
4143
  return Ye(u, (v, h) => {
4144
4144
  v !== h && (p.value = v, d.value = !1);
4145
- }), ht(() => {
4145
+ }), Ft(() => {
4146
4146
  c.value = "a-remote-switch-" + Date.now();
4147
4147
  }), (v, h) => (q(), P("div", vp, [
4148
4148
  m(ie, {
@@ -4875,7 +4875,7 @@ const uK = /* @__PURE__ */ W({
4875
4875
  o > 0 ? r.value = setTimeout(() => i.value--, 1e3) : s("done");
4876
4876
  },
4877
4877
  { immediate: !0 }
4878
- ), ht(() => {
4878
+ ), Ft(() => {
4879
4879
  i.value = e.seconds;
4880
4880
  }), On(() => {
4881
4881
  clearTimeout(r.value), r.value = void 0;
@@ -4928,7 +4928,7 @@ function Mp(t, a = !1, e = void 0, s = void 0, i = !1) {
4928
4928
  u.value = ce, c.value = d.on(G);
4929
4929
  }, Vt = (ce) => {
4930
4930
  b.value = ce, C.value = k.on(_e);
4931
- }, Ft = (ce) => {
4931
+ }, gt = (ce) => {
4932
4932
  j.value = ce, $.value = S.on(Q);
4933
4933
  };
4934
4934
  Rn(() => {
@@ -4976,7 +4976,7 @@ function Mp(t, a = !1, e = void 0, s = void 0, i = !1) {
4976
4976
  !Oe.value.enabled || R(r.value) || r.value.emit("approveRequestToTakeModeration", t);
4977
4977
  }, ke = () => {
4978
4978
  !Oe.value.enabled || R(r.value) || r.value.emit("rejectRequestToTakeModeration", t);
4979
- }, gt = (ce) => {
4979
+ }, qt = (ce) => {
4980
4980
  !Oe.value.enabled || R(r.value) || r.value.emit("kickUserFromRoom", t, ce);
4981
4981
  }, ca = (ce) => {
4982
4982
  !Oe.value.enabled || R(r.value) || r.value.emit("transferModeration", t, ce);
@@ -5019,10 +5019,10 @@ function Mp(t, a = !1, e = void 0, s = void 0, i = !1) {
5019
5019
  addApprovedRequestToTakeModerationListener: Ve,
5020
5020
  addRejectedRequestToTakeModerationListener: se,
5021
5021
  enteredCollabRoom: hs,
5022
- kickUserFromRoom: gt,
5022
+ kickUserFromRoom: qt,
5023
5023
  transferModeration: ca,
5024
5024
  addKickedFromRoomListener: Vt,
5025
- addCollabStartingListener: Ft,
5025
+ addCollabStartingListener: gt,
5026
5026
  fetchRoomInfo: Ue,
5027
5027
  collabRoomInfo: Ta,
5028
5028
  collabRoomLocks: ga,
@@ -5124,7 +5124,7 @@ const $p = { class: "ml-3" }, Bp = { class: "ml-1" }, cK = /* @__PURE__ */ W({
5124
5124
  h(x.value ?? 0);
5125
5125
  }, Ve = (se) => Math.ceil((6e4 - ((/* @__PURE__ */ new Date()).getTime() - se)) / 1e3);
5126
5126
  return (se, Ae) => {
5127
- const Vt = $e("ABtnSecondary"), Ft = $e("ABtnIcon"), Oe = $e("ABtnTertiary"), pt = $e("ABtnPrimary");
5127
+ const Vt = $e("ABtnSecondary"), gt = $e("ABtnIcon"), Oe = $e("ABtnTertiary"), pt = $e("ABtnPrimary");
5128
5128
  return q(), P("div", null, [
5129
5129
  B(" moderator: "),
5130
5130
  V(e).moderator ? (q(), E(Ut, {
@@ -5171,7 +5171,7 @@ const $p = { class: "ml-3" }, Bp = { class: "ml-1" }, cK = /* @__PURE__ */ W({
5171
5171
  ]),
5172
5172
  _: 1
5173
5173
  })) : N("", !0),
5174
- j.value ? (q(), E(Ft, {
5174
+ j.value ? (q(), E(gt, {
5175
5175
  key: 3,
5176
5176
  size: "small",
5177
5177
  onClick: fe
@@ -5351,7 +5351,7 @@ const $p = { class: "ml-3" }, Bp = { class: "ml-1" }, cK = /* @__PURE__ */ W({
5351
5351
  ]),
5352
5352
  _: 1
5353
5353
  }, 8, ["modelValue"]),
5354
- b.value ? (q(), E(Ft, {
5354
+ b.value ? (q(), E(gt, {
5355
5355
  key: 5,
5356
5356
  size: "small",
5357
5357
  onClick: me
@@ -7096,7 +7096,7 @@ const pv = { class: "text-center w-100 text-caption pb-1" }, AK = /* @__PURE__ *
7096
7096
  },
7097
7097
  setup(t) {
7098
7098
  const a = t;
7099
- return ht(() => {
7099
+ return Ft(() => {
7100
7100
  a.logoutUrl && (window.location.href = a.logoutUrl());
7101
7101
  }), (e, s) => (q(), P("div"));
7102
7102
  }
@@ -8768,7 +8768,7 @@ const Rh = {
8768
8768
  return Dh;
8769
8769
  }
8770
8770
  }), O = _(() => c.value < s.minCount || c.value > s.maxCount);
8771
- return ht(async () => {
8771
+ return Ft(async () => {
8772
8772
  l.value = !0, F.value = await y(s.selectLicences), l.value = !1;
8773
8773
  }), a({
8774
8774
  open: w
@@ -9292,7 +9292,7 @@ var nF = ["evt"], Dt = function(a, e) {
9292
9292
  cloneEl: it,
9293
9293
  cloneHidden: es,
9294
9294
  dragStarted: Ai,
9295
- putSortable: Yt,
9295
+ putSortable: Xt,
9296
9296
  activeSortable: Ce.active,
9297
9297
  originalEvent: i,
9298
9298
  oldIndex: Ls,
@@ -9318,7 +9318,7 @@ var nF = ["evt"], Dt = function(a, e) {
9318
9318
  };
9319
9319
  function It(t) {
9320
9320
  oF(xa({
9321
- putSortable: Yt,
9321
+ putSortable: Xt,
9322
9322
  cloneEl: it,
9323
9323
  targetEl: oe,
9324
9324
  rootEl: Qe,
@@ -9328,7 +9328,7 @@ function It(t) {
9328
9328
  newDraggableIndex: Qa
9329
9329
  }, t));
9330
9330
  }
9331
- var oe, ot, Ie, Qe, ks, wr, it, es, Ls, Nt, _i, Qa, ur, Yt, zs = !1, zr = !1, Lr = [], Xs, Va, No, Uo, Wl, Gl, Ai, Os, Si, Ki = !1, cr = !1, kr, Ct, jo = [], yn = !1, Nr = [], ho = typeof document < "u", mr = Nu, Zl = Ui || Wa ? "cssFloat" : "float", lF = ho && !Uu && !Nu && "draggable" in document.createElement("div"), Qu = function() {
9331
+ var oe, ot, Ie, Qe, ks, wr, it, es, Ls, Nt, _i, Qa, ur, Xt, zs = !1, zr = !1, Lr = [], Xs, Va, No, Uo, Wl, Gl, Ai, Os, Si, Ki = !1, cr = !1, kr, Ct, jo = [], yn = !1, Nr = [], ho = typeof document < "u", mr = Nu, Zl = Ui || Wa ? "cssFloat" : "float", lF = ho && !Uu && !Nu && "draggable" in document.createElement("div"), Qu = function() {
9332
9332
  if (ho) {
9333
9333
  if (Wa)
9334
9334
  return !1;
@@ -9647,7 +9647,7 @@ Ce.prototype = /** @lends Sortable.prototype */
9647
9647
  },
9648
9648
  // Returns true - if no further action is needed (either inserted or another condition)
9649
9649
  _onDragOver: function(a) {
9650
- var e = this.el, s = a.target, i, r, o, l = this.options, n = l.group, d = Ce.active, c = ur === n, u = l.sort, p = Yt || d, Y, v = this, h = !1;
9650
+ var e = this.el, s = a.target, i, r, o, l = this.options, n = l.group, d = Ce.active, c = ur === n, u = l.sort, p = Xt || d, Y, v = this, h = !1;
9651
9651
  if (yn) return;
9652
9652
  function g($, j) {
9653
9653
  Dt($, v, xa({
@@ -9673,7 +9673,7 @@ Ce.prototype = /** @lends Sortable.prototype */
9673
9673
  function F($) {
9674
9674
  return g("dragOverCompleted", {
9675
9675
  insertion: $
9676
- }), $ && (c ? d._hideClone() : d._showClone(v), v !== p && (Lt(oe, Yt ? Yt.options.ghostClass : d.options.ghostClass, !1), Lt(oe, l.ghostClass, !0)), Yt !== v && v !== Ce.active ? Yt = v : v === Ce.active && Yt && (Yt = null), p === v && (v._ignoreWhileAnimating = s), v.animateAll(function() {
9676
+ }), $ && (c ? d._hideClone() : d._showClone(v), v !== p && (Lt(oe, Xt ? Xt.options.ghostClass : d.options.ghostClass, !1), Lt(oe, l.ghostClass, !0)), Xt !== v && v !== Ce.active ? Xt = v : v === Ce.active && Xt && (Xt = null), p === v && (v._ignoreWhileAnimating = s), v.animateAll(function() {
9677
9677
  g("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
9678
9678
  }), v !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (s === oe && !oe.animated || s === e && !s.animated) && (Os = null), !l.dragoverBubble && !a.rootEl && s !== document && (oe.parentNode[jt]._isOutsideThisEl(a.target), !$ && As(a)), !l.dragoverBubble && a.stopPropagation && a.stopPropagation(), h = !0;
9679
9679
  }
@@ -9690,7 +9690,7 @@ Ce.prototype = /** @lends Sortable.prototype */
9690
9690
  if (a.preventDefault !== void 0 && a.cancelable && a.preventDefault(), s = va(s, l.draggable, e, !0), g("dragOver"), Ce.eventCanceled) return h;
9691
9691
  if (oe.contains(a.target) || s.animated && s.animatingX && s.animatingY || v._ignoreWhileAnimating === s)
9692
9692
  return F(!1);
9693
- if (zr = !1, d && !l.disabled && (c ? u || (o = ot !== Qe) : Yt === this || (this.lastPutMode = ur.checkPull(this, d, oe, a)) && n.checkPut(this, d, oe, a))) {
9693
+ if (zr = !1, d && !l.disabled && (c ? u || (o = ot !== Qe) : Xt === this || (this.lastPutMode = ur.checkPull(this, d, oe, a)) && n.checkPut(this, d, oe, a))) {
9694
9694
  if (Y = this._getDirection(a, s) === "vertical", i = ut(oe), g("dragOverValid"), Ce.eventCanceled) return h;
9695
9695
  if (o)
9696
9696
  return ot = Qe, y(), this._hideClone(), g("revert"), Ce.eventCanceled || (ks ? Qe.insertBefore(oe, ks) : Qe.appendChild(oe)), F(!0);
@@ -9747,7 +9747,7 @@ Ce.prototype = /** @lends Sortable.prototype */
9747
9747
  this._nulling();
9748
9748
  return;
9749
9749
  }
9750
- zs = !1, cr = !1, Ki = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), bn(this.cloneId), bn(this._dragStartId), this.nativeDraggable && (Pe(document, "drop", this), Pe(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ki && be(document.body, "user-select", ""), be(oe, "transform", ""), a && (Ai && (a.cancelable && a.preventDefault(), !s.dropBubble && a.stopPropagation()), Ie && Ie.parentNode && Ie.parentNode.removeChild(Ie), (Qe === ot || Yt && Yt.lastPutMode !== "clone") && it && it.parentNode && it.parentNode.removeChild(it), oe && (this.nativeDraggable && Pe(oe, "dragend", this), Ho(oe), oe.style["will-change"] = "", Ai && !zs && Lt(oe, Yt ? Yt.options.ghostClass : this.options.ghostClass, !1), Lt(oe, this.options.chosenClass, !1), It({
9750
+ zs = !1, cr = !1, Ki = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), bn(this.cloneId), bn(this._dragStartId), this.nativeDraggable && (Pe(document, "drop", this), Pe(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ki && be(document.body, "user-select", ""), be(oe, "transform", ""), a && (Ai && (a.cancelable && a.preventDefault(), !s.dropBubble && a.stopPropagation()), Ie && Ie.parentNode && Ie.parentNode.removeChild(Ie), (Qe === ot || Xt && Xt.lastPutMode !== "clone") && it && it.parentNode && it.parentNode.removeChild(it), oe && (this.nativeDraggable && Pe(oe, "dragend", this), Ho(oe), oe.style["will-change"] = "", Ai && !zs && Lt(oe, Xt ? Xt.options.ghostClass : this.options.ghostClass, !1), Lt(oe, this.options.chosenClass, !1), It({
9751
9751
  sortable: this,
9752
9752
  name: "unchoose",
9753
9753
  toEl: ot,
@@ -9776,7 +9776,7 @@ Ce.prototype = /** @lends Sortable.prototype */
9776
9776
  name: "sort",
9777
9777
  toEl: ot,
9778
9778
  originalEvent: a
9779
- })), Yt && Yt.save()) : Nt !== Ls && Nt >= 0 && (It({
9779
+ })), Xt && Xt.save()) : Nt !== Ls && Nt >= 0 && (It({
9780
9780
  sortable: this,
9781
9781
  name: "update",
9782
9782
  toEl: ot,
@@ -9794,7 +9794,7 @@ Ce.prototype = /** @lends Sortable.prototype */
9794
9794
  }), this.save()))), this._nulling();
9795
9795
  },
9796
9796
  _nulling: function() {
9797
- Dt("nulling", this), Qe = oe = ot = Ie = ks = it = wr = es = Xs = Va = Ai = Nt = Qa = Ls = _i = Os = Si = Yt = ur = Ce.dragged = Ce.ghost = Ce.clone = Ce.active = null, Nr.forEach(function(a) {
9797
+ Dt("nulling", this), Qe = oe = ot = Ie = ks = it = wr = es = Xs = Va = Ai = Nt = Qa = Ls = _i = Os = Si = Xt = ur = Ce.dragged = Ce.ghost = Ce.clone = Ce.active = null, Nr.forEach(function(a) {
9798
9798
  a.checked = !0;
9799
9799
  }), Nr.length = No = Uo = 0;
9800
9800
  },
@@ -10147,11 +10147,11 @@ function YF(t, a, e) {
10147
10147
  });
10148
10148
  }
10149
10149
  }
10150
- var qt = [];
10150
+ var Yt = [];
10151
10151
  for (var Jo = 0; Jo < 256; ++Jo)
10152
- qt.push((Jo + 256).toString(16).slice(1));
10152
+ Yt.push((Jo + 256).toString(16).slice(1));
10153
10153
  function rc(t, a = 0) {
10154
- return (qt[t[a + 0]] + qt[t[a + 1]] + qt[t[a + 2]] + qt[t[a + 3]] + "-" + qt[t[a + 4]] + qt[t[a + 5]] + "-" + qt[t[a + 6]] + qt[t[a + 7]] + "-" + qt[t[a + 8]] + qt[t[a + 9]] + "-" + qt[t[a + 10]] + qt[t[a + 11]] + qt[t[a + 12]] + qt[t[a + 13]] + qt[t[a + 14]] + qt[t[a + 15]]).toLowerCase();
10154
+ return (Yt[t[a + 0]] + Yt[t[a + 1]] + Yt[t[a + 2]] + Yt[t[a + 3]] + "-" + Yt[t[a + 4]] + Yt[t[a + 5]] + "-" + Yt[t[a + 6]] + Yt[t[a + 7]] + "-" + Yt[t[a + 8]] + Yt[t[a + 9]] + "-" + Yt[t[a + 10]] + Yt[t[a + 11]] + Yt[t[a + 12]] + Yt[t[a + 13]] + Yt[t[a + 14]] + Yt[t[a + 15]]).toLowerCase();
10155
10155
  }
10156
10156
  var Vr, XF = new Uint8Array(16);
10157
10157
  function oc() {
@@ -11444,34 +11444,34 @@ function rg() {
11444
11444
  }
11445
11445
  };
11446
11446
  }
11447
- const Xt = {
11447
+ const vt = {
11448
11448
  String: "string",
11449
11449
  Integer: "integer",
11450
11450
  StringArray: "stringArray",
11451
11451
  StringArrayLegacy: "string_array",
11452
11452
  // todo: remove
11453
11453
  Boolean: "boolean"
11454
- }, EK = Xt.String;
11454
+ }, EK = vt.String;
11455
11455
  function MK() {
11456
11456
  const { t } = ee(), a = K([
11457
11457
  {
11458
- value: Xt.String,
11458
+ value: vt.String,
11459
11459
  title: t("common.customFormElement.type.string")
11460
11460
  },
11461
11461
  {
11462
- value: Xt.Integer,
11462
+ value: vt.Integer,
11463
11463
  title: t("common.customFormElement.type.integer")
11464
11464
  },
11465
11465
  {
11466
- value: Xt.StringArray,
11466
+ value: vt.StringArray,
11467
11467
  title: t("common.customFormElement.type.C")
11468
11468
  },
11469
11469
  {
11470
- value: Xt.StringArrayLegacy,
11470
+ value: vt.StringArrayLegacy,
11471
11471
  title: t("common.customFormElement.type.stringArrayLegacy")
11472
11472
  },
11473
11473
  {
11474
- value: Xt.Boolean,
11474
+ value: vt.Boolean,
11475
11475
  title: t("common.customFormElement.type.boolean")
11476
11476
  }
11477
11477
  ]);
@@ -11531,11 +11531,11 @@ const og = /* @__PURE__ */ W({
11531
11531
  },
11532
11532
  emits: ["update:modelValue", "blur"],
11533
11533
  setup(t, { emit: a }) {
11534
- const e = t, s = a, i = (F) => e.config.attributes.type === Xt.Integer ? parseInt(F) : F, r = (F) => {
11534
+ const e = t, s = a, i = (F) => e.config.attributes.type === vt.Integer ? parseInt(F) : F, r = (F) => {
11535
11535
  s("update:modelValue", { property: e.config.property, value: i(F) });
11536
11536
  }, o = _(() => {
11537
11537
  const F = Dd(e.modelValue) ? At(e.modelValue) : e.modelValue;
11538
- return e.config.attributes.type === Xt.StringArray && so(F) ? [] : F;
11538
+ return (e.config.attributes.type === vt.StringArray || e.config.attributes.type === vt.StringArrayLegacy) && so(F) ? [] : F;
11539
11539
  }), { maxLength: l, minLength: n, requiredIf: d, minValue: c, maxValue: u, stringArrayItemLength: p } = vs(), Y = _(() => {
11540
11540
  const F = {
11541
11541
  modelValueComputed: {
@@ -11543,21 +11543,21 @@ const og = /* @__PURE__ */ W({
11543
11543
  }
11544
11544
  };
11545
11545
  switch (e.config.attributes.type) {
11546
- case Xt.String:
11546
+ case vt.String:
11547
11547
  F.modelValueComputed.minLength = n(
11548
11548
  e.config.attributes.minValue ? e.config.attributes.minValue : 0
11549
11549
  ), F.modelValueComputed.maxLength = l(
11550
11550
  e.config.attributes.maxValue ? e.config.attributes.maxValue : 256
11551
11551
  );
11552
11552
  break;
11553
- case Xt.Integer:
11553
+ case vt.Integer:
11554
11554
  F.modelValueComputed.minValue = c(
11555
11555
  e.config.attributes.minValue ? e.config.attributes.minValue : 0
11556
11556
  ), F.modelValueComputed.maxValue = u(
11557
11557
  e.config.attributes.maxValue ? e.config.attributes.maxValue : 9999
11558
11558
  );
11559
11559
  break;
11560
- case Xt.StringArray:
11560
+ case vt.StringArray:
11561
11561
  F.modelValueComputed.minLength = n(
11562
11562
  e.config.attributes.minCount ? e.config.attributes.minCount : 0
11563
11563
  ), F.modelValueComputed.maxLength = l(
@@ -11575,7 +11575,7 @@ const og = /* @__PURE__ */ W({
11575
11575
  s("blur", e.modelValue), v.value.$touch();
11576
11576
  };
11577
11577
  return (F, A) => (q(), P(Fe, null, [
11578
- F.config.attributes.type === V(Xt).String ? (q(), E(Od, {
11578
+ F.config.attributes.type === V(vt).String ? (q(), E(Od, {
11579
11579
  key: 0,
11580
11580
  "model-value": F.modelValue,
11581
11581
  "auto-grow": "",
@@ -11593,7 +11593,7 @@ const og = /* @__PURE__ */ W({
11593
11593
  F.config.attributes.required ? (q(), P("span", ng)) : N("", !0)
11594
11594
  ]),
11595
11595
  _: 1
11596
- }, 8, ["model-value", "label", "error-messages", "counter", "readonly", "data-cy"])) : F.config.attributes.type === V(Xt).Integer ? (q(), E(ri, {
11596
+ }, 8, ["model-value", "label", "error-messages", "counter", "readonly", "data-cy"])) : F.config.attributes.type === V(vt).Integer ? (q(), E(ri, {
11597
11597
  key: 1,
11598
11598
  "model-value": o.value,
11599
11599
  type: "number",
@@ -11609,7 +11609,7 @@ const og = /* @__PURE__ */ W({
11609
11609
  F.config.attributes.required ? (q(), P("span", lg)) : N("", !0)
11610
11610
  ]),
11611
11611
  _: 1
11612
- }, 8, ["model-value", "label", "error-messages", "readonly", "data-cy"])) : F.config.attributes.type === V(Xt).StringArray || F.config.attributes.type === V(Xt).StringArrayLegacy ? (q(), E(Nm, {
11612
+ }, 8, ["model-value", "label", "error-messages", "readonly", "data-cy"])) : F.config.attributes.type === V(vt).StringArray || F.config.attributes.type === V(vt).StringArrayLegacy ? (q(), E(Nm, {
11613
11613
  key: 2,
11614
11614
  "model-value": o.value,
11615
11615
  label: F.config.name,
@@ -11627,7 +11627,7 @@ const og = /* @__PURE__ */ W({
11627
11627
  ]),
11628
11628
  _: 1
11629
11629
  }, 8, ["model-value", "label", "readonly", "error-messages", "data-cy"])) : N("", !0),
11630
- F.config.attributes.type === V(Xt).Boolean && F.config.attributes.required === !0 ? (q(), E(Nn, {
11630
+ F.config.attributes.type === V(vt).Boolean && F.config.attributes.required === !0 ? (q(), E(Nn, {
11631
11631
  key: 3,
11632
11632
  label: F.config.name,
11633
11633
  "model-value": o.value,
@@ -11635,7 +11635,7 @@ const og = /* @__PURE__ */ W({
11635
11635
  "data-cy": "custom-field-" + F.config.property,
11636
11636
  "onUpdate:modelValue": r
11637
11637
  }, null, 8, ["label", "model-value", "readonly", "data-cy"])) : N("", !0),
11638
- F.config.attributes.type === V(Xt).Boolean && F.config.attributes.required === !1 ? (q(), E(og, {
11638
+ F.config.attributes.type === V(vt).Boolean && F.config.attributes.required === !1 ? (q(), E(og, {
11639
11639
  key: 4,
11640
11640
  "model-value": o.value,
11641
11641
  label: F.config.name,
@@ -14649,7 +14649,7 @@ const I7 = /* @__PURE__ */ W({
14649
14649
  }
14650
14650
  i.value = F.id;
14651
14651
  }, y = (F) => Ge(i.value) ? i.value.includes(F) : i.value ? i.value === F : !1;
14652
- return ht(() => {
14652
+ return Ft(() => {
14653
14653
  }), (F, A) => (q(), P(Fe, null, [
14654
14654
  L("div", _7, [
14655
14655
  m(_u, {
@@ -15584,7 +15584,7 @@ const O7 = /* @__PURE__ */ W({
15584
15584
  }, l = async () => {
15585
15585
  await o(), e.forceReloadRoiPreviews(), e.forceReloadCropper();
15586
15586
  };
15587
- return ht(async () => {
15587
+ return Ft(async () => {
15588
15588
  e.reset(), e.showLoader(), s.asset && s.asset.mainFile && Wi(s.asset.mainFile) && (e.setImageFile(xe(s.asset.mainFile)), await o()), e.hideLoader();
15589
15589
  }), (n, d) => {
15590
15590
  var u;
@@ -15646,7 +15646,7 @@ const O7 = /* @__PURE__ */ W({
15646
15646
  },
15647
15647
  setup(t) {
15648
15648
  const a = t, { mounted: e, unMounted: s, divClassName: i } = Dc(a.queueKey);
15649
- return ht(async () => {
15649
+ return Ft(async () => {
15650
15650
  await Gt(), e();
15651
15651
  }), Gr(() => {
15652
15652
  s();
@@ -15993,11 +15993,11 @@ function ns(t, a) {
15993
15993
  function $Y(t, a) {
15994
15994
  return t.classList ? t.classList.contains(a) : t.className.indexOf(a) > -1;
15995
15995
  }
15996
- function vt(t, a) {
15996
+ function ht(t, a) {
15997
15997
  if (a) {
15998
15998
  if (Te(t.length)) {
15999
15999
  ct(t, function(s) {
16000
- vt(s, a);
16000
+ ht(s, a);
16001
16001
  });
16002
16002
  return;
16003
16003
  }
@@ -16032,7 +16032,7 @@ function Hs(t, a, e) {
16032
16032
  });
16033
16033
  return;
16034
16034
  }
16035
- e ? vt(t, a) : ya(t, a);
16035
+ e ? ht(t, a) : ya(t, a);
16036
16036
  }
16037
16037
  }
16038
16038
  var BY = /([a-z\d])([A-Z])/g;
@@ -16311,7 +16311,7 @@ var JY = {
16311
16311
  },
16312
16312
  initContainer: function() {
16313
16313
  var a = this.element, e = this.options, s = this.container, i = this.cropper, r = Number(e.minContainerWidth), o = Number(e.minContainerHeight);
16314
- vt(i, Et), ya(a, Et);
16314
+ ht(i, Et), ya(a, Et);
16315
16315
  var l = {
16316
16316
  width: Math.max(s.offsetWidth, r >= 0 ? r : Wc),
16317
16317
  height: Math.max(s.offsetHeight, o >= 0 ? o : Gc)
@@ -16319,7 +16319,7 @@ var JY = {
16319
16319
  this.containerData = l, ns(i, {
16320
16320
  width: l.width,
16321
16321
  height: l.height
16322
- }), vt(a, Et), ya(i, Et);
16322
+ }), ht(a, Et), ya(i, Et);
16323
16323
  },
16324
16324
  // Canvas (image wrapper)
16325
16325
  initCanvas: function() {
@@ -16508,7 +16508,7 @@ var JY = {
16508
16508
  }) : r[a.pointerId || 0] = qr(a), Object.keys(r).length > 1 && i.zoomable && i.zoomOnTouch ? o = Uc : o = Bn(a.target, Bi), wY.test(o) && Qs(this.element, Mn, {
16509
16509
  originalEvent: a,
16510
16510
  action: o
16511
- }) !== !1 && (a.preventDefault(), this.action = o, this.cropping = !1, o === Lc && (this.cropping = !0, vt(this.dragBox, Hr)));
16511
+ }) !== !1 && (a.preventDefault(), this.action = o, this.cropping = !1, o === Lc && (this.cropping = !0, ht(this.dragBox, Hr)));
16512
16512
  }
16513
16513
  },
16514
16514
  cropMove: function(a) {
@@ -16654,7 +16654,7 @@ var JY = {
16654
16654
  }, sX = {
16655
16655
  // Show the crop box manually
16656
16656
  crop: function() {
16657
- return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && vt(this.dragBox, Hr), ya(this.cropBox, Et), this.setCropBoxData(this.initialCropBoxData)), this;
16657
+ return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && ht(this.dragBox, Hr), ya(this.cropBox, Et), this.setCropBoxData(this.initialCropBoxData)), this;
16658
16658
  },
16659
16659
  // Reset the image and crop box to their initial states
16660
16660
  reset: function() {
@@ -16667,7 +16667,7 @@ var JY = {
16667
16667
  top: 0,
16668
16668
  width: 0,
16669
16669
  height: 0
16670
- }), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), ya(this.dragBox, Hr), vt(this.cropBox, Et)), this;
16670
+ }), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), ya(this.dragBox, Hr), ht(this.cropBox, Et)), this;
16671
16671
  },
16672
16672
  /**
16673
16673
  * Replace the image's src and rebuild the cropper
@@ -16687,7 +16687,7 @@ var JY = {
16687
16687
  },
16688
16688
  // Disable (freeze) the cropper
16689
16689
  disable: function() {
16690
- return this.ready && !this.disabled && (this.disabled = !0, vt(this.cropper, Fd)), this;
16690
+ return this.ready && !this.disabled && (this.disabled = !0, ht(this.cropper, Fd)), this;
16691
16691
  },
16692
16692
  /**
16693
16693
  * Destroy the cropper and remove the instance from the image
@@ -17026,7 +17026,7 @@ var JY = {
17026
17026
  var e = this.element, s = this.url, i = e.crossOrigin, r = s;
17027
17027
  this.options.checkCrossOrigin && Id(s) && (i || (i = "anonymous"), r = _d(s)), this.crossOrigin = i, this.crossOriginUrl = r;
17028
17028
  var o = document.createElement("img");
17029
- i && (o.crossOrigin = i), o.src = r || s, o.alt = e.alt || "The image to crop", this.image = o, o.onload = this.start.bind(this), o.onerror = this.stop.bind(this), vt(o, gd), e.parentNode.insertBefore(o, e.nextSibling);
17029
+ i && (o.crossOrigin = i), o.src = r || s, o.alt = e.alt || "The image to crop", this.image = o, o.onload = this.start.bind(this), o.onerror = this.stop.bind(this), ht(o, gd), e.parentNode.insertBefore(o, e.nextSibling);
17030
17030
  }
17031
17031
  }, {
17032
17032
  key: "start",
@@ -17062,7 +17062,7 @@ var JY = {
17062
17062
  var e = this.element, s = this.options, i = this.image, r = e.parentNode, o = document.createElement("div");
17063
17063
  o.innerHTML = SY;
17064
17064
  var l = o.querySelector(".".concat(et, "-container")), n = l.querySelector(".".concat(et, "-canvas")), d = l.querySelector(".".concat(et, "-drag-box")), c = l.querySelector(".".concat(et, "-crop-box")), u = c.querySelector(".".concat(et, "-face"));
17065
- this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = c, this.viewBox = l.querySelector(".".concat(et, "-view-box")), this.face = u, n.appendChild(i), vt(e, Et), r.insertBefore(l, e.nextSibling), ya(i, gd), this.initPreview(), this.bind(), s.initialAspectRatio = Math.max(0, s.initialAspectRatio) || NaN, s.aspectRatio = Math.max(0, s.aspectRatio) || NaN, s.viewMode = Math.max(0, Math.min(3, Math.round(s.viewMode))) || 0, vt(c, Et), s.guides || vt(c.getElementsByClassName("".concat(et, "-dashed")), Et), s.center || vt(c.getElementsByClassName("".concat(et, "-center")), Et), s.background && vt(l, "".concat(et, "-bg")), s.highlight || vt(u, yY), s.cropBoxMovable && (vt(u, Kn), Pi(u, Bi, ql)), s.cropBoxResizable || (vt(c.getElementsByClassName("".concat(et, "-line")), Et), vt(c.getElementsByClassName("".concat(et, "-point")), Et)), this.render(), this.ready = !0, this.setDragMode(s.dragMode), s.autoCrop && this.crop(), this.setData(s.data), Tt(s.ready) && ta(e, yd, s.ready, {
17065
+ this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = c, this.viewBox = l.querySelector(".".concat(et, "-view-box")), this.face = u, n.appendChild(i), ht(e, Et), r.insertBefore(l, e.nextSibling), ya(i, gd), this.initPreview(), this.bind(), s.initialAspectRatio = Math.max(0, s.initialAspectRatio) || NaN, s.aspectRatio = Math.max(0, s.aspectRatio) || NaN, s.viewMode = Math.max(0, Math.min(3, Math.round(s.viewMode))) || 0, ht(c, Et), s.guides || ht(c.getElementsByClassName("".concat(et, "-dashed")), Et), s.center || ht(c.getElementsByClassName("".concat(et, "-center")), Et), s.background && ht(l, "".concat(et, "-bg")), s.highlight || ht(u, yY), s.cropBoxMovable && (ht(u, Kn), Pi(u, Bi, ql)), s.cropBoxResizable || (ht(c.getElementsByClassName("".concat(et, "-line")), Et), ht(c.getElementsByClassName("".concat(et, "-point")), Et)), this.render(), this.ready = !0, this.setDragMode(s.dragMode), s.autoCrop && this.crop(), this.setData(s.data), Tt(s.ready) && ta(e, yd, s.ready, {
17066
17066
  once: !0
17067
17067
  }), Qs(e, yd);
17068
17068
  }
@@ -17179,7 +17179,7 @@ const rX = { class: "d-flex flex-column" }, oX = {
17179
17179
  var Y;
17180
17180
  return (Y = s.value) == null ? void 0 : Y.setData(p);
17181
17181
  }
17182
- }), ht(() => {
17182
+ }), Ft(() => {
17183
17183
  const { containerStyle: p, src: Y, alt: v, imgStyle: h, ...g } = e, y = g, F = {};
17184
17184
  for (const A in g)
17185
17185
  Object.prototype.hasOwnProperty.call(y, A) && y[A] !== void 0 && (F[A] = y[A]);
@@ -18098,7 +18098,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18098
18098
  }
18099
18099
  },
18100
18100
  { immediate: !0 }
18101
- ), ht(() => {
18101
+ ), Ft(() => {
18102
18102
  d.value = xt.Info;
18103
18103
  }), (Xe, _e) => (q(), E(mt, {
18104
18104
  "model-value": !0,
@@ -18445,7 +18445,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18445
18445
  const {
18446
18446
  releaseCollabFieldLock: de,
18447
18447
  acquireCollabFieldLock: ke,
18448
- addCollabFieldLockStatusListener: gt,
18448
+ addCollabFieldLockStatusListener: qt,
18449
18449
  lockedByUser: ca
18450
18450
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
18451
18451
  } = fs(s.collab.room, s.collab.field);
@@ -18455,7 +18455,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18455
18455
  d.value = Ue;
18456
18456
  },
18457
18457
  { immediate: !0 }
18458
- ), gt((Ue) => {
18458
+ ), qt((Ue) => {
18459
18459
  Ue.status === Bt.Success && Ue.type === $t.Acquire ? te.value = !0 : Ue.status === Bt.Failure && Ue.type === $t.Acquire || Ue.status === Bt.Success && Ue.type === $t.Release ? te.value = !1 : Ue.status === Bt.Failure && Ue.type === $t.Release && (te.value = !0);
18460
18460
  });
18461
18461
  }
@@ -18477,7 +18477,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18477
18477
  if (!o.value.enabled || R(s.collab))
18478
18478
  return Promise.resolve(!0);
18479
18479
  let de = 0;
18480
- const ke = () => te.value ? Promise.resolve(!0) : (de++, de < 50 ? new Promise((gt) => setTimeout(() => gt(ke()), 100)) : Promise.reject(!1));
18480
+ const ke = () => te.value ? Promise.resolve(!0) : (de++, de < 50 ? new Promise((qt) => setTimeout(() => qt(ke()), 100)) : Promise.reject(!1));
18481
18481
  return ke();
18482
18482
  }, me = async (de) => {
18483
18483
  u();
@@ -18494,8 +18494,8 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18494
18494
  }, { uploadSizes: Xe, uploadAccept: _e } = cc(
18495
18495
  qe.Image,
18496
18496
  Y.value.extSystemConfig
18497
- ), Q = async (de, ke, gt = !1) => {
18498
- if (C.value = _s, de && ae(T.value) || de && gt) {
18497
+ ), Q = async (de, ke, qt = !1) => {
18498
+ if (C.value = _s, de && ae(T.value) || de && qt) {
18499
18499
  T.value = xe(de), T.value && (C.value = A(At(T.value)), s.expandMetadata && x.setImageDetail(At(T.value)));
18500
18500
  return;
18501
18501
  }
@@ -18523,12 +18523,12 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18523
18523
  var Ue;
18524
18524
  const ke = mo();
18525
18525
  O.value = !0, x.setImageDetail(null), U.value = !0;
18526
- let gt = "", ca = "";
18526
+ let qt = "", ca = "";
18527
18527
  if (de.type === "asset") {
18528
18528
  if (!de.value[0] || !de.value[0].mainFile) return;
18529
18529
  try {
18530
18530
  const ga = await rs(se, de.value[0].id);
18531
- Pt((Ue = ga.metadata.customData) == null ? void 0 : Ue.description) && (gt = ga.metadata.customData.description.trim()), ga.authors.length > 0 && (ca = (await ci(
18531
+ Pt((Ue = ga.metadata.customData) == null ? void 0 : Ue.description) && (qt = ga.metadata.customData.description.trim()), ga.authors.length > 0 && (ca = (await ci(
18532
18532
  se,
18533
18533
  ke.selectedSelectConfig.extSystem,
18534
18534
  ga.authors
@@ -18538,7 +18538,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18538
18538
  }
18539
18539
  const Ta = {
18540
18540
  texts: {
18541
- description: gt,
18541
+ description: qt,
18542
18542
  source: ca
18543
18543
  },
18544
18544
  dam: {
@@ -18553,8 +18553,8 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18553
18553
  }, we = Fa(), { loading: Le, dialog: Ve } = St(we), { damClient: se } = nt(), Ae = async (de) => {
18554
18554
  Le.value = !0, Ve.value = s.queueKey;
18555
18555
  try {
18556
- const ke = await po(se, de), gt = await Qn(se, ke.licence);
18557
- gt.extSystem && (J.value = gt.extSystem), we.setAsset(ke);
18556
+ const ke = await po(se, de), qt = await Qn(se, ke.licence);
18557
+ qt.extSystem && (J.value = qt.extSystem), we.setAsset(ke);
18558
18558
  } catch (ke) {
18559
18559
  h(ke);
18560
18560
  } finally {
@@ -18562,7 +18562,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18562
18562
  }
18563
18563
  }, Vt = () => {
18564
18564
  x.setImageDetail(null), U.value = !1;
18565
- }, Ft = async () => {
18565
+ }, gt = async () => {
18566
18566
  if (!ae(x.imageDetail)) {
18567
18567
  D.value = !0;
18568
18568
  try {
@@ -18621,7 +18621,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18621
18621
  ), a({
18622
18622
  metadataConfirm: fi
18623
18623
  }), (de, ke) => {
18624
- var gt, ca;
18624
+ var qt, ca;
18625
18625
  return q(), P(Fe, null, [
18626
18626
  L("div", {
18627
18627
  class: he(["a-image-widget", { "a-image-widget--locked": gs.value }])
@@ -18664,7 +18664,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18664
18664
  ref: lt,
18665
18665
  modelValue: M.value,
18666
18666
  "onUpdate:modelValue": ke[0] || (ke[0] = (Ue) => M.value = Ue),
18667
- "file-input-key": (gt = b.value) == null ? void 0 : gt.fileInputKey,
18667
+ "file-input-key": (qt = b.value) == null ? void 0 : qt.fileInputKey,
18668
18668
  accept: V(_e),
18669
18669
  "max-sizes": V(Xe),
18670
18670
  onFilesInput: Me
@@ -18830,7 +18830,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18830
18830
  saving: D.value,
18831
18831
  loading: O.value,
18832
18832
  onEditAsset: Ae,
18833
- onOnConfirm: Ft,
18833
+ onOnConfirm: gt,
18834
18834
  onOnClose: Vt
18835
18835
  }, null, 8, ["modelValue", "expand", "saving", "loading"])
18836
18836
  ], 2),
@@ -18898,7 +18898,7 @@ const gX = { key: 0 }, qX = /* @__PURE__ */ W({
18898
18898
  getOrLoadDamConfigExtSystemByLicence: u,
18899
18899
  getOrLoadDamConfigExtSystemByLicences: p
18900
18900
  } = bt(o), Y = ft(void 0);
18901
- ht(async () => {
18901
+ Ft(async () => {
18902
18902
  if (Y.value = await u(s.uploadLicence), R(Y.value)) {
18903
18903
  r.value = "error";
18904
18904
  return;
@@ -19490,7 +19490,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
19490
19490
  }, F = () => {
19491
19491
  e.value = { image: {}, video: {}, audio: {}, document: {} }, i.value = [], s.value = [];
19492
19492
  }, A = _(() => l.getQueueItemsTypes(a.queueKey));
19493
- return ht(() => {
19493
+ return Ft(() => {
19494
19494
  A.value[0] && o.value.push(A.value[0]);
19495
19495
  }), (X, x) => (q(), P("div", DA, [
19496
19496
  L("div", TA, [
@@ -19760,7 +19760,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
19760
19760
  }, l = (p) => {
19761
19761
  i.removeByIndex(e.queueKey, p);
19762
19762
  }, { addToCachedKeywords: n, fetchCachedKeywords: d } = Yo(), { addToCachedAuthors: c, fetchCachedAuthors: u } = Gi();
19763
- return ht(() => {
19763
+ return Ft(() => {
19764
19764
  r.value.forEach((p) => {
19765
19765
  n(p.keywords), c(p.authors);
19766
19766
  }), d(), u();
@@ -20240,7 +20240,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20240
20240
  }, U = () => {
20241
20241
  T.value = s.queueKey;
20242
20242
  }, D = async (Ve) => {
20243
- const se = mo(), Ae = Ve.map((pt) => pt.id), Vt = /* @__PURE__ */ new Map(), Ft = /* @__PURE__ */ new Set(), Oe = /* @__PURE__ */ new Map();
20243
+ const se = mo(), Ae = Ve.map((pt) => pt.id), Vt = /* @__PURE__ */ new Map(), gt = /* @__PURE__ */ new Set(), Oe = /* @__PURE__ */ new Map();
20244
20244
  try {
20245
20245
  (await Qv(b, Ae, se.selectedLicenceId)).forEach((Se) => {
20246
20246
  var lt;
@@ -20250,10 +20250,10 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20250
20250
  });
20251
20251
  }), Vt.forEach((Se) => {
20252
20252
  Se.authorIds.forEach((lt) => {
20253
- Ft.add(lt);
20253
+ gt.add(lt);
20254
20254
  });
20255
- }), Ft.size > 0 && (await ci(b, se.selectedSelectConfig.extSystem, [
20256
- ...Ft
20255
+ }), gt.size > 0 && (await ci(b, se.selectedSelectConfig.extSystem, [
20256
+ ...gt
20257
20257
  ])).forEach((lt) => {
20258
20258
  Oe.set(lt.id, lt.name);
20259
20259
  });
@@ -20367,7 +20367,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20367
20367
  fe.value = document.querySelector("#" + Q.value), Le();
20368
20368
  }), a({
20369
20369
  saveImages: J
20370
- }), ht(() => {
20370
+ }), Ft(() => {
20371
20371
  A();
20372
20372
  }), (Ve, se) => {
20373
20373
  var Ae, Vt;
@@ -20380,11 +20380,11 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20380
20380
  "max-sizes": V(p),
20381
20381
  onFilesInput: z
20382
20382
  }, {
20383
- activator: f(({ props: Ft }) => [
20383
+ activator: f(({ props: gt }) => [
20384
20384
  m(ie, Rt({
20385
20385
  ref_key: "uploadButtonComponent",
20386
20386
  ref: u
20387
- }, Ft), {
20387
+ }, gt), {
20388
20388
  default: f(() => [
20389
20389
  B(I(V(v)("common.damImage.image.button.upload")), 1)
20390
20390
  ]),
@@ -20405,7 +20405,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20405
20405
  ]),
20406
20406
  m(Lu, {
20407
20407
  modelValue: r.value,
20408
- "onUpdate:modelValue": se[0] || (se[0] = (Ft) => r.value = Ft),
20408
+ "onUpdate:modelValue": se[0] || (se[0] = (gt) => r.value = gt),
20409
20409
  "select-licences": Ve.selectLicences,
20410
20410
  "min-count": 1,
20411
20411
  "max-count": 50,
@@ -20418,8 +20418,8 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20418
20418
  key: Xe.value,
20419
20419
  class: he([V(jr), "asset-list-tiles asset-list-tiles--thumbnail"])
20420
20420
  }, [
20421
- (q(!0), P(Fe, null, je(V(y), (Ft, Oe) => (q(), E(pA, {
20422
- key: Ft.key,
20421
+ (q(!0), P(Fe, null, je(V(y), (gt, Oe) => (q(), E(pA, {
20422
+ key: gt.key,
20423
20423
  index: Oe,
20424
20424
  "disable-draggable": Ve.disableDraggable,
20425
20425
  onEditAsset: S,
@@ -20432,7 +20432,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20432
20432
  accept: V(Y),
20433
20433
  "max-sizes": V(p),
20434
20434
  onOnDrop: H,
20435
- onOnClick: se[1] || (se[1] = (Ft) => {
20435
+ onOnClick: se[1] || (se[1] = (gt) => {
20436
20436
  var Oe;
20437
20437
  return (Oe = u.value) == null ? void 0 : Oe.$el.click();
20438
20438
  })
@@ -20493,7 +20493,7 @@ const DA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, TA = { clas
20493
20493
  getOrLoadDamConfigExtSystemByLicence: u,
20494
20494
  getOrLoadDamConfigExtSystemByLicences: p
20495
20495
  } = bt(o), Y = ft(void 0);
20496
- ht(async () => {
20496
+ Ft(async () => {
20497
20497
  if (Y.value = await u(s.uploadLicence), R(Y.value)) {
20498
20498
  r.value = "error";
20499
20499
  return;
@@ -23330,7 +23330,7 @@ const rD = {
23330
23330
  })
23331
23331
  });
23332
23332
  async function pD() {
23333
- (await import("./webfontloader-BKexQs3v.js").then((a) => a.w)).load({
23333
+ (await import("./webfontloader-CCheXtj3.js").then((a) => a.w)).load({
23334
23334
  google: {
23335
23335
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
23336
23336
  }
@@ -23993,7 +23993,7 @@ export {
23993
23993
  PK as bt,
23994
23994
  Ne as bu,
23995
23995
  nl as bv,
23996
- Xt as bw,
23996
+ vt as bw,
23997
23997
  EK as bx,
23998
23998
  qe as by,
23999
23999
  We as bz,
@@ -24159,4 +24159,4 @@ export {
24159
24159
  tK as y,
24160
24160
  Ws as z
24161
24161
  };
24162
- //# sourceMappingURL=lib-Dqa73EcR.js.map
24162
+ //# sourceMappingURL=lib-C0qrzk9a.js.map