@anzusystems/common-admin 1.47.0-beta.340 → 1.47.0-beta.342

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.
@@ -2,8 +2,8 @@ import { defineComponent as H, computed as I, createBlock as k, createElementBlo
2
2
  import { useI18n as Q } from "vue-i18n";
3
3
  import { useI18n as mD } from "vue-i18n";
4
4
  import { VChip as Ct } from "vuetify/components/VChip";
5
- import { u as ba, i as Ke, a as Ns, C as Ot, b as Nt, S as xa, c as Ca, d as _, s as Na, _ as oa, e as yt, f as ke, g as re, h as Zt, j as wu, k as kt, l as We, m as pa, n as ds, o as Pe, p as je, q as Yl, r as mr, t as Su, v as Ku, w as Xl, x as Pt, y as no, z as Ps, A as Ia, B as Du, D as Tu, E as Ar, F as wt, G as yl, H as zt, I as Mu, J as pi, K as Eu, L as So, M as Al, N as bl, O as xl, P as Cl, Q as Il, R as kl, T as wl, U as Sl, V as Kl, W as qt, X as or, Y as nr, Z as yn, $ as An, a0 as _u, a1 as Dt, a2 as Dl, a3 as Tl, a4 as lo, a5 as $u, a6 as ka, a7 as wa, a8 as fs, a9 as Vs, aa as ja, ab as vs, ac as Fs, ad as ps, ae as na, af as Sa, ag as Ka, ah as uo, ai as js, aj as hi, ak as gi, al as qi, am as Yi, an as Xi, ao as Ml, ap as El, aq as br, ar as Ko, as as co, at as Bu, au as _l, av as $l, aw as Pu, ax as ha, ay as ga, az as Do, aA as zu, aB as Ru, aC as bn, aD as Rr, aE as Lu, aF as Uu, aG as Ou, aH as Nu, aI as hs, aJ as Bl, aK as ju, aL as mo, aM as ks, aN as Pl, aO as zl, aP as Rl, aQ as Hu, aR as xn, aS as fo, aT as Cn, aU as Wu, aV as Gu, aW as Ju, aX as Vo, aY as Zu, aZ as Qu, a_ as ec, a$ as tc, b0 as ac, b1 as sc, b2 as ic, b3 as rc, b4 as Ll, b5 as oc, b6 as In, b7 as Pi, b8 as kn, b9 as wn, ba as To } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Cc4fwgQq.mjs";
6
- import { bb as VD, bc as vD, bK as FD, bL as pD, bo as hD, bn as gD, bD as qD, bF as YD, bG as XD, bE as yD, bH as AD, bA as bD, bt as xD, bv as CD, by as ID, bq as kD, bs as wD, br as SD, bw as KD, bu as DD, bB as TD, bN as MD, bO as ED, bM as _D, bC as $D, bf as BD, be as PD, bj as zD, bi as RD, bm as LD, bg as UD, bh as OD, bk as ND, bl as jD, bz as HD, bp as WD, bI as GD, bJ as JD, bd as ZD, bx as QD } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Cc4fwgQq.mjs";
5
+ import { u as ba, i as Ke, a as Ns, C as Ot, b as Nt, S as xa, c as Ca, d as _, s as Na, _ as oa, e as yt, f as ke, g as re, h as Zt, j as wu, k as kt, l as We, m as pa, n as ds, o as Pe, p as je, q as Yl, r as mr, t as Su, v as Ku, w as Xl, x as Pt, y as no, z as Ps, A as Ia, B as Du, D as Tu, E as Ar, F as wt, G as yl, H as zt, I as Mu, J as pi, K as Eu, L as So, M as Al, N as bl, O as xl, P as Cl, Q as Il, R as kl, T as wl, U as Sl, V as Kl, W as qt, X as or, Y as nr, Z as yn, $ as An, a0 as _u, a1 as Dt, a2 as Dl, a3 as Tl, a4 as lo, a5 as $u, a6 as ka, a7 as wa, a8 as fs, a9 as Vs, aa as ja, ab as vs, ac as Fs, ad as ps, ae as na, af as Sa, ag as Ka, ah as uo, ai as js, aj as hi, ak as gi, al as qi, am as Yi, an as Xi, ao as Ml, ap as El, aq as br, ar as Ko, as as co, at as Bu, au as _l, av as $l, aw as Pu, ax as ha, ay as ga, az as Do, aA as zu, aB as Ru, aC as bn, aD as Rr, aE as Lu, aF as Uu, aG as Ou, aH as Nu, aI as hs, aJ as Bl, aK as ju, aL as mo, aM as ks, aN as Pl, aO as zl, aP as Rl, aQ as Hu, aR as xn, aS as fo, aT as Cn, aU as Wu, aV as Gu, aW as Ju, aX as Vo, aY as Zu, aZ as Qu, a_ as ec, a$ as tc, b0 as ac, b1 as sc, b2 as ic, b3 as rc, b4 as Ll, b5 as oc, b6 as In, b7 as Pi, b8 as kn, b9 as wn, ba as To } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B5wBPNIr.mjs";
6
+ import { bb as VD, bc as vD, bK as FD, bL as pD, bo as hD, bn as gD, bD as qD, bF as YD, bG as XD, bE as yD, bH as AD, bA as bD, bt as xD, bv as CD, by as ID, bq as kD, bs as wD, br as SD, bw as KD, bu as DD, bB as TD, bN as MD, bO as ED, bM as _D, bC as $D, bf as BD, be as PD, bj as zD, bi as RD, bm as LD, bg as UD, bh as OD, bk as ND, bl as jD, bz as HD, bp as WD, bI as GD, bJ as JD, bd as ZD, bx as QD } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B5wBPNIr.mjs";
7
7
  import { VAlert as ri } from "vuetify/components/VAlert";
8
8
  import { VIcon as se } from "vuetify/components/VIcon";
9
9
  import { VProgressCircular as Ue } from "vuetify/components/VProgressCircular";
@@ -2841,7 +2841,13 @@ function Em(e, a = !1, t = void 0, s = void 0, r = !1) {
2841
2841
  });
2842
2842
  }, at = async (ie = {}) => new Promise((bt, Vt) => {
2843
2843
  if (!Ye.value.enabled || _(i.value)) return Vt(An.Failed);
2844
- i.value?.timeout(5e3).emit("joinCollabRoom", e, ie, (me, qe) => me ? void Vt(An.Failed) : yn(qe) ? (o.set(e, qe.room), void bt(qe.status)) : void Vt(qe.status));
2844
+ i.value?.timeout(5e3).emit("joinCollabRoom", e, ie, (me, qe) => {
2845
+ if (me)
2846
+ return void Vt(An.Failed);
2847
+ if (yn(qe))
2848
+ return o.set(e, qe.room), void bt(qe.status);
2849
+ Vt(qe.status);
2850
+ });
2845
2851
  }), Se = () => {
2846
2852
  !Ye.value.enabled || _(i.value) || i.value.emit("leaveCollabRoom", e, (ie) => {
2847
2853
  yn(ie) && o.set(e, ie.room);
@@ -2851,7 +2857,13 @@ function Em(e, a = !1, t = void 0, s = void 0, r = !1) {
2851
2857
  }, At = () => new Promise((ie, bt) => {
2852
2858
  if (!Ye.value.enabled || _(i.value))
2853
2859
  return bt(nr.Failed);
2854
- i.value?.timeout(2e3).emit("requestToJoin", e, (/* @__PURE__ */ new Date()).getTime(), (Vt, me) => Vt ? void bt(nr.Failed) : me.status === nr.Ok ? void ie(me.status) : void bt(me.status));
2860
+ i.value?.timeout(2e3).emit("requestToJoin", e, (/* @__PURE__ */ new Date()).getTime(), (Vt, me) => {
2861
+ if (Vt)
2862
+ return void bt(nr.Failed);
2863
+ if (me.status === nr.Ok)
2864
+ return void ie(me.status);
2865
+ bt(me.status);
2866
+ });
2855
2867
  }), Oe = (ie) => {
2856
2868
  !Ye.value.enabled || _(i.value) || i.value.emit("approveRequestToJoin", e, ie);
2857
2869
  }, Kt = (ie) => {
@@ -2863,7 +2875,13 @@ function Em(e, a = !1, t = void 0, s = void 0, r = !1) {
2863
2875
  "requestToTakeModeration",
2864
2876
  e,
2865
2877
  (/* @__PURE__ */ new Date()).getTime(),
2866
- (Vt, me) => Vt ? void bt(or.Failed) : me.status === or.Ok ? void ie(me.status) : void bt(me.status)
2878
+ (Vt, me) => {
2879
+ if (Vt)
2880
+ return void bt(or.Failed);
2881
+ if (me.status === or.Ok)
2882
+ return void ie(me.status);
2883
+ bt(me.status);
2884
+ }
2867
2885
  );
2868
2886
  }), bs = () => {
2869
2887
  !Ye.value.enabled || _(i.value) || i.value.emit("approveRequestToTakeModeration", e);
@@ -7965,7 +7983,7 @@ const jv = /* @__PURE__ */ H({
7965
7983
  detail: e,
7966
7984
  reset: a
7967
7985
  };
7968
- }), ya = Symbol.for("anzu:common:asset-metadata-validation-scope"), fi = Symbol.for("anzu:common:image-validation-scope"), eF = Symbol.for("anzu:common:author-create-validation-scope");
7986
+ }), ya = /* @__PURE__ */ Symbol.for("anzu:common:asset-metadata-validation-scope"), fi = /* @__PURE__ */ Symbol.for("anzu:common:image-validation-scope"), eF = /* @__PURE__ */ Symbol.for("anzu:common:author-create-validation-scope");
7969
7987
  function Bd(e, a) {
7970
7988
  const { requiredIf: t, maxLength: s } = hs(), r = I(() => Ut(e.value) ? {
7971
7989
  image: {
@@ -8381,7 +8399,7 @@ function ji() {
8381
8399
  }
8382
8400
  };
8383
8401
  }
8384
- const iF = Symbol("anzu:damNotificationsEventBusKey");
8402
+ const iF = /* @__PURE__ */ Symbol("anzu:damNotificationsEventBusKey");
8385
8403
  function Rd() {
8386
8404
  return cc(iF);
8387
8405
  }
@@ -8489,7 +8507,7 @@ const Ss = (e) => {
8489
8507
  }
8490
8508
  };
8491
8509
  let Zr = null;
8492
- const Hi = () => (Zr || (Zr = import("./index-Bk8A-WJh.mjs").then((e) => e).catch(() => null)), Zr);
8510
+ const Hi = () => (Zr || (Zr = import("./index-Birzi5Gh.mjs").then((e) => e).catch(() => null)), Zr);
8493
8511
  function Ld() {
8494
8512
  return {
8495
8513
  logError: (r, i) => {
@@ -11167,7 +11185,7 @@ const jF = { class: "d-flex" }, HF = /* @__PURE__ */ H({
11167
11185
  ], 64)) : (v(), K("div", cp, " Error, no select licence. "));
11168
11186
  };
11169
11187
  }
11170
- }), go = "a-sortable-nested-widget__handle", mp = "a-sortable-nested-widget__ghost", fp = "a-sortable-nested-widget__drag", Vp = "a-sortable-nested-widget__chosen", Zn = "a-sortable-nested-widget__group", Qn = Symbol.for("anzu:SortableLevel");
11188
+ }), go = "a-sortable-nested-widget__handle", mp = "a-sortable-nested-widget__ghost", fp = "a-sortable-nested-widget__drag", Vp = "a-sortable-nested-widget__chosen", Zn = "a-sortable-nested-widget__group", Qn = /* @__PURE__ */ Symbol.for("anzu:SortableLevel");
11171
11189
  function vp(e, a, t) {
11172
11190
  const { showWarningT: s } = We(), r = S([]), i = S(0), o = S(!1), n = S(null), l = S(!1), m = S(null), f = S(ks()), V = (R = void 0) => {
11173
11191
  i.value++, _(R) || t("update:modelValue", R), ls(() => {
@@ -15060,7 +15078,7 @@ const Hg = { class: "d-flex flex-column" }, Wg = {
15060
15078
  m.value = !m.value;
15061
15079
  }, V = () => {
15062
15080
  }, F = I(() => r.value?.attributes.assetType || mi), q = I(() => r.value ? r.value.attributes.assetStatus : wr), p = I(() => F.value === ae.Image), h = I(() => F.value === ae.Video), g = I(() => F.value === ae.Audio), x = I(() => F.value === ae.Document), y = I(() => r.value?.mainFile && r.value.mainFile.links && r.value.mainFile.links.image_detail ? {
15063
- url: r.value.mainFile.links.image_detail.url + "?random=" + Date.now(),
15081
+ url: r.value.mainFile.links.image_detail.url,
15064
15082
  width: r.value.mainFile.links.image_detail.width,
15065
15083
  height: r.value.mainFile.links.image_detail.height,
15066
15084
  bgColor: Ki(r.value.mainFile) && r.value.mainFile.imageAttributes && r.value.mainFile.imageAttributes.mostDominantColor ? r.value.mainFile.imageAttributes.mostDominantColor : "#ccc"
@@ -15816,7 +15834,7 @@ const lq = { key: 0 }, dq = /* @__PURE__ */ H({
15816
15834
  }), y = S(!0), w = () => {
15817
15835
  y.value = !y.value;
15818
15836
  }, Y = I(() => x.value?.attributes.assetType || mi), A = I(() => x.value ? x.value.attributes.assetStatus : wr), X = I(() => Y.value === ae.Image), T = I(() => Y.value === ae.Video), E = I(() => Y.value === ae.Audio), N = I(() => Y.value === ae.Document), O = I(() => g.value?.imagePreview ? {
15819
- url: g.value.imagePreview.url + "?random=" + Date.now(),
15837
+ url: g.value.imagePreview.url,
15820
15838
  width: g.value.imagePreview.requestedWidth || void 0,
15821
15839
  height: g.value.imagePreview.requestedHeight || void 0,
15822
15840
  bgColor: Ki(x.value?.mainFile) && x.value?.mainFile.imageAttributes && x.value?.mainFile.imageAttributes.mostDominantColor ? x.value.mainFile.imageAttributes.mostDominantColor : "#ccc"
@@ -16184,7 +16202,7 @@ const lq = { key: 0 }, dq = /* @__PURE__ */ H({
16184
16202
  }, 8, ["model-value"]);
16185
16203
  };
16186
16204
  }
16187
- }), As = Symbol.for("anzu:ImageWidgetUploadConfig"), Bq = { class: "a-image-widget__options" }, Pq = {
16205
+ }), As = /* @__PURE__ */ Symbol.for("anzu:ImageWidgetUploadConfig"), Bq = { class: "a-image-widget__options" }, Pq = {
16188
16206
  key: 0,
16189
16207
  class: "font-weight-bold text-subtitle-2"
16190
16208
  }, zq = {