@anzusystems/common-admin 1.47.0-beta.71 → 1.47.0-beta.72
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.
- package/dist/common-admin.es.js +1 -1
- package/dist/{lib-2EtthS8M.js → lib-BCcJ6y1Z.js} +228 -227
- package/dist/{lib-2EtthS8M.js.map → lib-BCcJ6y1Z.js.map} +1 -1
- package/dist/{webfontloader-CKZFUZhK.js → webfontloader-CRRuAvmZ.js} +2 -2
- package/dist/{webfontloader-CKZFUZhK.js.map → webfontloader-CRRuAvmZ.js.map} +1 -1
- package/package.json +5 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var qm = Object.defineProperty;
|
|
2
2
|
var Ym = (a, t, e) => t in a ? qm(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
|
|
3
3
|
var dr = (a, t, e) => Ym(a, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { defineComponent as W, computed as _, openBlock as q, createBlock as K, withCtx as p, createTextVNode as M, toDisplayString as I, createElementBlock as B, createVNode as m, normalizeClass as Fe, createCommentVNode as j, renderSlot as
|
|
4
|
+
import { defineComponent as W, computed as _, openBlock as q, createBlock as K, withCtx as p, createTextVNode as M, toDisplayString as I, createElementBlock as B, createVNode as m, normalizeClass as Fe, createCommentVNode as j, renderSlot as de, createElementVNode as N, resolveComponent as $e, withModifiers as J, withDirectives as da, vShow as fs, isProxy as Od, toRaw as bt, isRef as Es, unref as V, Fragment as ge, normalizeStyle as Dt, shallowRef as vt, watch as qe, ref as D, reactive as ea, inject as at, createSlots as ua, provide as Ri, renderList as je, onMounted as qt, TransitionGroup as Xm, mergeProps as Tt, isVNode as Am, mergeModels as gt, useModel as Ut, toRefs as ci, vModelText as Dl, nextTick as Jt, withKeys as ba, onUnmounted as so, readonly as Is, createStaticVNode as Rd, resolveDynamicComponent as io, setBlockTracking as Kl, onBeforeUnmount as ro, toRef as oo, Teleport as ym, normalizeProps as bm, guardReactiveProps as Cm } from "vue";
|
|
5
5
|
import { useI18n as ee, createI18n as xm } from "vue-i18n";
|
|
6
6
|
import { VChip as Qt } from "vuetify/lib/components/VChip/index.mjs";
|
|
7
7
|
import { VRow as he, VCol as ne, VSpacer as it } from "vuetify/lib/components/VGrid/index.mjs";
|
|
8
8
|
import { VAlert as wi } from "vuetify/lib/components/VAlert/index.mjs";
|
|
9
9
|
import { VIcon as re } from "vuetify/lib/components/VIcon/index.mjs";
|
|
10
|
-
import { VCard as Le, VCardText as Vs, VCardActions as
|
|
10
|
+
import { VCard as Le, VCardText as Vs, VCardActions as Kt, VCardItem as Mo } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
11
|
import { VAvatar as Yn } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
12
12
|
import { VTooltip as ye } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
13
13
|
import { VProgressCircular as tt } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
@@ -83,7 +83,7 @@ const rf = { key: 1 }, Zd = /* @__PURE__ */ W({
|
|
|
83
83
|
key: 0,
|
|
84
84
|
class: Fe(t.titleClass)
|
|
85
85
|
}, I(t.title), 3)) : j("", !0),
|
|
86
|
-
|
|
86
|
+
de(t.$slots, "default", {}, () => [
|
|
87
87
|
N("span", of, I(t.value), 1)
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
@@ -163,7 +163,7 @@ const rf = { key: 1 }, Zd = /* @__PURE__ */ W({
|
|
|
163
163
|
}, {
|
|
164
164
|
default: p(() => [
|
|
165
165
|
m(df, { loading: s.loading }, null, 8, ["loading"]),
|
|
166
|
-
|
|
166
|
+
de(s.$slots, "default")
|
|
167
167
|
]),
|
|
168
168
|
_: 3
|
|
169
169
|
}, 8, ["title", "loading"]));
|
|
@@ -245,7 +245,7 @@ const rf = { key: 1 }, Zd = /* @__PURE__ */ W({
|
|
|
245
245
|
default: p(() => [
|
|
246
246
|
N("div", {
|
|
247
247
|
class: "d-inline-flex text-white font-weight-light",
|
|
248
|
-
style:
|
|
248
|
+
style: Dt({ fontSize: s.value })
|
|
249
249
|
}, I(i.value), 5),
|
|
250
250
|
r.tooltip ? (q(), K(ye, {
|
|
251
251
|
key: 0,
|
|
@@ -626,7 +626,7 @@ const Sf = {
|
|
|
626
626
|
n.value ? {
|
|
627
627
|
name: "append-inner",
|
|
628
628
|
fn: p(() => [
|
|
629
|
-
|
|
629
|
+
de(A.$slots, "locked", { userId: n.value }, () => [
|
|
630
630
|
A.collab ? (q(), K(Zt, {
|
|
631
631
|
key: 0,
|
|
632
632
|
id: n.value,
|
|
@@ -639,7 +639,7 @@ const Sf = {
|
|
|
639
639
|
A.$slots.prepend ? {
|
|
640
640
|
name: "prepend",
|
|
641
641
|
fn: p(() => [
|
|
642
|
-
|
|
642
|
+
de(A.$slots, "prepend")
|
|
643
643
|
]),
|
|
644
644
|
key: "2"
|
|
645
645
|
} : void 0,
|
|
@@ -750,7 +750,7 @@ const Sf = {
|
|
|
750
750
|
n.value ? {
|
|
751
751
|
name: "append-inner",
|
|
752
752
|
fn: p(() => [
|
|
753
|
-
|
|
753
|
+
de(A.$slots, "locked", { userId: n.value }, () => [
|
|
754
754
|
A.collab ? (q(), K(Zt, {
|
|
755
755
|
key: 0,
|
|
756
756
|
id: n.value,
|
|
@@ -763,7 +763,7 @@ const Sf = {
|
|
|
763
763
|
A.$slots.prepend ? {
|
|
764
764
|
name: "prepend",
|
|
765
765
|
fn: p(() => [
|
|
766
|
-
|
|
766
|
+
de(A.$slots, "prepend")
|
|
767
767
|
]),
|
|
768
768
|
key: "2"
|
|
769
769
|
} : void 0,
|
|
@@ -786,7 +786,7 @@ const Sf = {
|
|
|
786
786
|
},
|
|
787
787
|
setup(a) {
|
|
788
788
|
const t = a;
|
|
789
|
-
return Ri(_a, t.system), Ri(Sa, t.subject), (e, s) =>
|
|
789
|
+
return Ri(_a, t.system), Ri(Sa, t.subject), (e, s) => de(e.$slots, "default");
|
|
790
790
|
}
|
|
791
791
|
}), Kf = { class: "anzu-data-footer" }, Tf = {
|
|
792
792
|
key: 0,
|
|
@@ -1087,7 +1087,7 @@ const Sf = {
|
|
|
1087
1087
|
default: p(() => [
|
|
1088
1088
|
m(Hd, { class: "flex-fill" }, {
|
|
1089
1089
|
default: p(() => [
|
|
1090
|
-
|
|
1090
|
+
de(i.$slots, "default")
|
|
1091
1091
|
]),
|
|
1092
1092
|
_: 3
|
|
1093
1093
|
}),
|
|
@@ -1416,7 +1416,7 @@ const cr = {
|
|
|
1416
1416
|
return m("div", {
|
|
1417
1417
|
class: "vue-notification-group",
|
|
1418
1418
|
style: u.value
|
|
1419
|
-
}, [m(Xm,
|
|
1419
|
+
}, [m(Xm, Tt(c.value, {
|
|
1420
1420
|
tag: "div",
|
|
1421
1421
|
css: !l.value,
|
|
1422
1422
|
name: a.animationName
|
|
@@ -1703,7 +1703,7 @@ const TS = /* @__PURE__ */ W({
|
|
|
1703
1703
|
onClick: J(l, ["stop"])
|
|
1704
1704
|
}, {
|
|
1705
1705
|
default: p(() => [
|
|
1706
|
-
|
|
1706
|
+
de(v.$slots, "button-title", {}, () => [
|
|
1707
1707
|
M(I(V(r)("common.button.create")), 1)
|
|
1708
1708
|
]),
|
|
1709
1709
|
m(Vt, {
|
|
@@ -1720,7 +1720,7 @@ const TS = /* @__PURE__ */ W({
|
|
|
1720
1720
|
default: p(() => [
|
|
1721
1721
|
m(It, { onOnCancel: n }, {
|
|
1722
1722
|
default: p(() => [
|
|
1723
|
-
|
|
1723
|
+
de(v.$slots, "title", {}, () => [
|
|
1724
1724
|
M(I(V(r)("common.button.create")), 1)
|
|
1725
1725
|
])
|
|
1726
1726
|
]),
|
|
@@ -1728,11 +1728,11 @@ const TS = /* @__PURE__ */ W({
|
|
|
1728
1728
|
}),
|
|
1729
1729
|
m(Vs, null, {
|
|
1730
1730
|
default: p(() => [
|
|
1731
|
-
|
|
1731
|
+
de(v.$slots, "content")
|
|
1732
1732
|
]),
|
|
1733
1733
|
_: 3
|
|
1734
1734
|
}),
|
|
1735
|
-
m(
|
|
1735
|
+
m(Kt, null, {
|
|
1736
1736
|
default: p(() => [
|
|
1737
1737
|
m(it),
|
|
1738
1738
|
m(h, {
|
|
@@ -1750,7 +1750,7 @@ const TS = /* @__PURE__ */ W({
|
|
|
1750
1750
|
onClick: J(F, ["stop"])
|
|
1751
1751
|
}, {
|
|
1752
1752
|
default: p(() => [
|
|
1753
|
-
|
|
1753
|
+
de(v.$slots, "button-confirm-title", {}, () => [
|
|
1754
1754
|
M(I(V(r)("common.button.create")), 1)
|
|
1755
1755
|
])
|
|
1756
1756
|
]),
|
|
@@ -2720,7 +2720,7 @@ const xn = /* @__PURE__ */ W({
|
|
|
2720
2720
|
default: p(() => [
|
|
2721
2721
|
m(ne, { class: "" }, {
|
|
2722
2722
|
default: p(() => [
|
|
2723
|
-
|
|
2723
|
+
de(o.$slots, "top")
|
|
2724
2724
|
]),
|
|
2725
2725
|
_: 3
|
|
2726
2726
|
})
|
|
@@ -2747,9 +2747,9 @@ const xn = /* @__PURE__ */ W({
|
|
|
2747
2747
|
})) : j("", !0),
|
|
2748
2748
|
m(ne, { class: "" }, {
|
|
2749
2749
|
default: p(() => [
|
|
2750
|
-
|
|
2750
|
+
de(o.$slots, "default"),
|
|
2751
2751
|
da(N("div", CV, [
|
|
2752
|
-
|
|
2752
|
+
de(o.$slots, "advanced")
|
|
2753
2753
|
], 512), [
|
|
2754
2754
|
[fs, i.value]
|
|
2755
2755
|
])
|
|
@@ -2762,7 +2762,7 @@ const xn = /* @__PURE__ */ W({
|
|
|
2762
2762
|
cols: "auto"
|
|
2763
2763
|
}, {
|
|
2764
2764
|
default: p(() => [
|
|
2765
|
-
|
|
2765
|
+
de(o.$slots, "buttons", {}, () => [
|
|
2766
2766
|
m(yV, { touched: o.touched }, null, 8, ["touched"]),
|
|
2767
2767
|
m(bV, { onReset: s })
|
|
2768
2768
|
])
|
|
@@ -3042,7 +3042,7 @@ const SV = /* @__PURE__ */ W({
|
|
|
3042
3042
|
immediate: !0
|
|
3043
3043
|
}
|
|
3044
3044
|
);
|
|
3045
|
-
}), (i, r) => e.value ?
|
|
3045
|
+
}), (i, r) => e.value ? de(i.$slots, "default", { key: 0 }) : j("", !0);
|
|
3046
3046
|
}
|
|
3047
3047
|
}), ti = /* @__PURE__ */ W({
|
|
3048
3048
|
__name: "ADatetime",
|
|
@@ -3400,7 +3400,7 @@ const sp = { class: "a-datetime-picker-time" }, ip = { class: "a-datetime-picker
|
|
|
3400
3400
|
"onUpdate:modelValue": T[2] || (T[2] = (z) => i.value = z)
|
|
3401
3401
|
}, {
|
|
3402
3402
|
activator: p(({ props: z }) => [
|
|
3403
|
-
m(re,
|
|
3403
|
+
m(re, Tt({
|
|
3404
3404
|
class: "a-datetime-picker__calendar-icon",
|
|
3405
3405
|
icon: "mdi-calendar",
|
|
3406
3406
|
size: "small"
|
|
@@ -3435,7 +3435,7 @@ const sp = { class: "a-datetime-picker-time" }, ip = { class: "a-datetime-picker
|
|
|
3435
3435
|
_: 1
|
|
3436
3436
|
})),
|
|
3437
3437
|
N("div", up, [
|
|
3438
|
-
|
|
3438
|
+
de(O.$slots, "append-inner", {}, void 0, !0)
|
|
3439
3439
|
])
|
|
3440
3440
|
]),
|
|
3441
3441
|
_: 2
|
|
@@ -3530,7 +3530,7 @@ const sp = { class: "a-datetime-picker-time" }, ip = { class: "a-datetime-picker
|
|
|
3530
3530
|
onOnClose: F
|
|
3531
3531
|
}, {
|
|
3532
3532
|
"append-inner": p(() => [
|
|
3533
|
-
|
|
3533
|
+
de(P.$slots, "locked", { userId: d.value }, () => [
|
|
3534
3534
|
P.collab ? (q(), K(Zt, {
|
|
3535
3535
|
key: 0,
|
|
3536
3536
|
id: d.value,
|
|
@@ -3643,7 +3643,7 @@ const sp = { class: "a-datetime-picker-time" }, ip = { class: "a-datetime-picker
|
|
|
3643
3643
|
onClick: U[1] || (U[1] = J((O) => x(F.value), ["stop"]))
|
|
3644
3644
|
}, null, 8, ["modelValue", "label", "disabled"]),
|
|
3645
3645
|
N("div", pp, [
|
|
3646
|
-
|
|
3646
|
+
de(L.$slots, "locked", { userId: d.value }, () => [
|
|
3647
3647
|
L.collab ? (q(), K(Zt, {
|
|
3648
3648
|
key: 0,
|
|
3649
3649
|
id: d.value,
|
|
@@ -3921,7 +3921,7 @@ const vp = {
|
|
|
3921
3921
|
"onClick:clear": Ke
|
|
3922
3922
|
}, ua({
|
|
3923
3923
|
item: p(({ props: fe, item: we }) => [
|
|
3924
|
-
m(Ze,
|
|
3924
|
+
m(Ze, Tt(fe, {
|
|
3925
3925
|
title: we.raw.title,
|
|
3926
3926
|
subtitle: we.raw.subtitle
|
|
3927
3927
|
}), null, 16, ["title", "subtitle"])
|
|
@@ -3953,7 +3953,7 @@ const vp = {
|
|
|
3953
3953
|
f.value ? {
|
|
3954
3954
|
name: "append-inner",
|
|
3955
3955
|
fn: p(() => [
|
|
3956
|
-
|
|
3956
|
+
de(Q.$slots, "locked", { userId: f.value }, () => [
|
|
3957
3957
|
Q.collab ? (q(), K(Zt, {
|
|
3958
3958
|
key: 0,
|
|
3959
3959
|
id: f.value,
|
|
@@ -4072,7 +4072,7 @@ const vp = {
|
|
|
4072
4072
|
l.value ? {
|
|
4073
4073
|
name: "append",
|
|
4074
4074
|
fn: p(() => [
|
|
4075
|
-
|
|
4075
|
+
de(F.$slots, "locked", { userId: l.value }, () => [
|
|
4076
4076
|
F.collab ? (q(), K(Zt, {
|
|
4077
4077
|
key: 0,
|
|
4078
4078
|
id: l.value,
|
|
@@ -4258,7 +4258,7 @@ const vp = {
|
|
|
4258
4258
|
d.value ? {
|
|
4259
4259
|
name: "append-inner",
|
|
4260
4260
|
fn: p(() => [
|
|
4261
|
-
|
|
4261
|
+
de(b.$slots, "locked", { userId: d.value }, () => [
|
|
4262
4262
|
b.collab ? (q(), K(Zt, {
|
|
4263
4263
|
key: 0,
|
|
4264
4264
|
id: d.value,
|
|
@@ -4405,7 +4405,7 @@ const vp = {
|
|
|
4405
4405
|
"onClick:clear": z
|
|
4406
4406
|
}, {
|
|
4407
4407
|
item: p(({ props: y, item: S }) => [
|
|
4408
|
-
m(Ze,
|
|
4408
|
+
m(Ze, Tt(y, {
|
|
4409
4409
|
title: S.raw.title,
|
|
4410
4410
|
subtitle: S.raw.subtitle
|
|
4411
4411
|
}), null, 16, ["title", "subtitle"])
|
|
@@ -4615,7 +4615,7 @@ const kp = /* @__PURE__ */ W({
|
|
|
4615
4615
|
), (c, f) => (q(), B("div", {
|
|
4616
4616
|
class: Fe(n.value)
|
|
4617
4617
|
}, [
|
|
4618
|
-
V(te)(c.id) || V(R)(c.id) ?
|
|
4618
|
+
V(te)(c.id) || V(R)(c.id) ? de(c.$slots, "empty", { key: 0 }, () => [
|
|
4619
4619
|
f[2] || (f[2] = M(" - "))
|
|
4620
4620
|
]) : c.textOnly ? (q(), B("div", _p, [
|
|
4621
4621
|
M(I(d.value) + " ", 1),
|
|
@@ -4760,7 +4760,7 @@ const pD = /* @__PURE__ */ W({
|
|
|
4760
4760
|
i(r(t.notifyT));
|
|
4761
4761
|
}));
|
|
4762
4762
|
};
|
|
4763
|
-
return (l, n) =>
|
|
4763
|
+
return (l, n) => de(l.$slots, "activator", {
|
|
4764
4764
|
props: {
|
|
4765
4765
|
onClick: J((d) => o(d), ["stop"]),
|
|
4766
4766
|
disabled: !V(s)
|
|
@@ -4846,7 +4846,7 @@ const pD = /* @__PURE__ */ W({
|
|
|
4846
4846
|
size: s.size
|
|
4847
4847
|
}, {
|
|
4848
4848
|
default: p(() => [
|
|
4849
|
-
|
|
4849
|
+
de(s.$slots, "default")
|
|
4850
4850
|
]),
|
|
4851
4851
|
_: 3
|
|
4852
4852
|
}, 8, ["color", "data-cy", "class", "size"]));
|
|
@@ -4937,10 +4937,10 @@ function Op(a, t = !1, e = void 0, s = void 0, i = !1) {
|
|
|
4937
4937
|
!Te.value.enabled || R(r.value) || r.value.emit("unsubscribeCollabRoomInfo", a, (ce) => {
|
|
4938
4938
|
o.set(a, ce.room);
|
|
4939
4939
|
});
|
|
4940
|
-
}, pt = async (ce = {}) => new Promise((Ht,
|
|
4940
|
+
}, pt = async (ce = {}) => new Promise((Ht, Et) => {
|
|
4941
4941
|
var $a;
|
|
4942
|
-
if (!Te.value.enabled || R(r.value)) return
|
|
4943
|
-
($a = r.value) == null || $a.timeout(5e3).emit("joinCollabRoom", a, ce, (va, zs) => va ? void
|
|
4942
|
+
if (!Te.value.enabled || R(r.value)) return Et(bn.Failed);
|
|
4943
|
+
($a = r.value) == null || $a.timeout(5e3).emit("joinCollabRoom", a, ce, (va, zs) => va ? void Et(bn.Failed) : Ml(zs) ? (o.set(a, zs.room), void Ht(zs.status)) : void Et(zs.status));
|
|
4944
4944
|
}), Ma = () => {
|
|
4945
4945
|
!Te.value.enabled || R(r.value) || r.value.emit("leaveCollabRoom", a, (ce) => {
|
|
4946
4946
|
Ml(ce) && o.set(a, ce.room);
|
|
@@ -4949,19 +4949,19 @@ function Op(a, t = !1, e = void 0, s = void 0, i = !1) {
|
|
|
4949
4949
|
var ce;
|
|
4950
4950
|
!Te.value.enabled || R(r.value) || (ce = r.value) == null || ce.emit("enteredCollabRoom", a);
|
|
4951
4951
|
}, qi = () => new Promise((ce, Ht) => {
|
|
4952
|
-
var
|
|
4952
|
+
var Et;
|
|
4953
4953
|
if (!Te.value.enabled || R(r.value))
|
|
4954
4954
|
return Ht(Sr.Failed);
|
|
4955
|
-
(
|
|
4955
|
+
(Et = r.value) == null || Et.timeout(2e3).emit("requestToJoin", a, (/* @__PURE__ */ new Date()).getTime(), ($a, va) => $a ? void Ht(Sr.Failed) : va.status === Sr.Ok ? void ce(va.status) : void Ht(va.status));
|
|
4956
4956
|
}), Za = (ce) => {
|
|
4957
4957
|
!Te.value.enabled || R(r.value) || r.value.emit("approveRequestToJoin", a, ce);
|
|
4958
4958
|
}, qs = (ce) => {
|
|
4959
4959
|
!Te.value.enabled || R(r.value) || r.value.emit("rejectRequestToJoin", a, ce);
|
|
4960
|
-
},
|
|
4961
|
-
var
|
|
4960
|
+
}, le = async () => new Promise((ce, Ht) => {
|
|
4961
|
+
var Et;
|
|
4962
4962
|
if (!Te.value.enabled || R(r.value))
|
|
4963
4963
|
return Ht(_r.Failed);
|
|
4964
|
-
(
|
|
4964
|
+
(Et = r.value) == null || Et.timeout(2e3).emit(
|
|
4965
4965
|
"requestToTakeModeration",
|
|
4966
4966
|
a,
|
|
4967
4967
|
(/* @__PURE__ */ new Date()).getTime(),
|
|
@@ -4977,13 +4977,13 @@ function Op(a, t = !1, e = void 0, s = void 0, i = !1) {
|
|
|
4977
4977
|
!Te.value.enabled || R(r.value) || r.value.emit("transferModeration", a, ce);
|
|
4978
4978
|
}, Ja = async (ce) => {
|
|
4979
4979
|
const Ht = { name: "", status: Ct.Inactive, users: [], moderator: null };
|
|
4980
|
-
return new Promise((
|
|
4980
|
+
return new Promise((Et) => {
|
|
4981
4981
|
var $a;
|
|
4982
|
-
if (!Te.value.enabled || R(r.value)) return
|
|
4982
|
+
if (!Te.value.enabled || R(r.value)) return Et(Ht);
|
|
4983
4983
|
($a = r.value) == null || $a.timeout(500).emit("fetchRoomsInfo", [ce], (va, zs) => {
|
|
4984
|
-
if (va) return void
|
|
4984
|
+
if (va) return void Et(Ht);
|
|
4985
4985
|
const Eo = zs[ce];
|
|
4986
|
-
return R(Eo) &&
|
|
4986
|
+
return R(Eo) && Et(Ht), R(e) || e(Eo.users), R(s) || s(), Et(Eo);
|
|
4987
4987
|
});
|
|
4988
4988
|
});
|
|
4989
4989
|
}, pa = _(() => o.get(a) ?? { name: a, moderator: null, users: [], status: Ct.Inactive });
|
|
@@ -5007,7 +5007,7 @@ function Op(a, t = !1, e = void 0, s = void 0, i = !1) {
|
|
|
5007
5007
|
addCollabReconnectListener: Ye,
|
|
5008
5008
|
addApprovedJoinRequestListener: fe,
|
|
5009
5009
|
addRejectedJoinRequestListener: we,
|
|
5010
|
-
requestToTakeModeration:
|
|
5010
|
+
requestToTakeModeration: le,
|
|
5011
5011
|
approveRequestToTakeModeration: ke,
|
|
5012
5012
|
rejectRequestToTakeModeration: Yt,
|
|
5013
5013
|
addRequestToTakeModerationListener: Re,
|
|
@@ -5236,7 +5236,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
5236
5236
|
]),
|
|
5237
5237
|
_: 1
|
|
5238
5238
|
}),
|
|
5239
|
-
m(
|
|
5239
|
+
m(Kt, null, {
|
|
5240
5240
|
default: p(() => [
|
|
5241
5241
|
m(it),
|
|
5242
5242
|
m(Te, {
|
|
@@ -5326,7 +5326,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
5326
5326
|
]),
|
|
5327
5327
|
_: 1
|
|
5328
5328
|
}),
|
|
5329
|
-
m(
|
|
5329
|
+
m(Kt, null, {
|
|
5330
5330
|
default: p(() => [
|
|
5331
5331
|
m(it),
|
|
5332
5332
|
m(Te, {
|
|
@@ -5408,7 +5408,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
5408
5408
|
]),
|
|
5409
5409
|
_: 1
|
|
5410
5410
|
}),
|
|
5411
|
-
m(
|
|
5411
|
+
m(Kt, null, {
|
|
5412
5412
|
default: p(() => [
|
|
5413
5413
|
m(it),
|
|
5414
5414
|
m(Te, { onClick: Q }, {
|
|
@@ -5461,7 +5461,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
5461
5461
|
]),
|
|
5462
5462
|
_: 1
|
|
5463
5463
|
}),
|
|
5464
|
-
m(
|
|
5464
|
+
m(Kt, null, {
|
|
5465
5465
|
default: p(() => [
|
|
5466
5466
|
m(it),
|
|
5467
5467
|
m(Te, {
|
|
@@ -5757,7 +5757,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
5757
5757
|
]),
|
|
5758
5758
|
_: 1
|
|
5759
5759
|
}),
|
|
5760
|
-
m(
|
|
5760
|
+
m(Kt, null, {
|
|
5761
5761
|
default: p(() => [
|
|
5762
5762
|
m(it),
|
|
5763
5763
|
m(v, {
|
|
@@ -6147,7 +6147,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
6147
6147
|
onClick: J(i, ["stop"])
|
|
6148
6148
|
}, {
|
|
6149
6149
|
default: p(() => [
|
|
6150
|
-
|
|
6150
|
+
de(n.$slots, "button-content", {}, () => [
|
|
6151
6151
|
M(I(V(l)(n.buttonT)), 1)
|
|
6152
6152
|
])
|
|
6153
6153
|
]),
|
|
@@ -6168,7 +6168,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
6168
6168
|
onClick: J(i, ["stop"])
|
|
6169
6169
|
}, {
|
|
6170
6170
|
default: p(() => [
|
|
6171
|
-
|
|
6171
|
+
de(n.$slots, "button-content", {}, () => [
|
|
6172
6172
|
M(I(V(l)(n.buttonT)), 1)
|
|
6173
6173
|
])
|
|
6174
6174
|
]),
|
|
@@ -6202,7 +6202,7 @@ const Rp = { class: "ml-3" }, zp = { class: "ml-1" }, vD = /* @__PURE__ */ W({
|
|
|
6202
6202
|
class: "pa-0"
|
|
6203
6203
|
}, {
|
|
6204
6204
|
default: p(() => [
|
|
6205
|
-
|
|
6205
|
+
de(n.$slots, "default")
|
|
6206
6206
|
]),
|
|
6207
6207
|
_: 3
|
|
6208
6208
|
})
|
|
@@ -6284,7 +6284,7 @@ const jp = { key: 0 }, Hp = { key: 1 }, Wp = { key: 2 }, CD = /* @__PURE__ */ W(
|
|
|
6284
6284
|
"close-on-content-click": ""
|
|
6285
6285
|
}, {
|
|
6286
6286
|
activator: p(({ props: d }) => [
|
|
6287
|
-
m(ie,
|
|
6287
|
+
m(ie, Tt({
|
|
6288
6288
|
class: "pl-1",
|
|
6289
6289
|
rounded: "pill"
|
|
6290
6290
|
}, d, {
|
|
@@ -6489,7 +6489,7 @@ const nv = /* @__PURE__ */ Ha(iv, [["render", ov]]), lv = { class: "flag" }, Ll
|
|
|
6489
6489
|
));
|
|
6490
6490
|
return (F, v) => (q(), K(ca, null, {
|
|
6491
6491
|
activator: p(({ props: Y }) => [
|
|
6492
|
-
m(ie,
|
|
6492
|
+
m(ie, Tt({
|
|
6493
6493
|
class: "pl-1",
|
|
6494
6494
|
rounded: "pill"
|
|
6495
6495
|
}, Y, {
|
|
@@ -6834,7 +6834,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, wD = /* @__PURE__ *
|
|
|
6834
6834
|
]),
|
|
6835
6835
|
_: 1
|
|
6836
6836
|
}),
|
|
6837
|
-
m(
|
|
6837
|
+
m(Kt, null, {
|
|
6838
6838
|
default: p(() => [
|
|
6839
6839
|
m(it),
|
|
6840
6840
|
m(ie, {
|
|
@@ -7005,17 +7005,17 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, wD = /* @__PURE__ *
|
|
|
7005
7005
|
]))
|
|
7006
7006
|
]),
|
|
7007
7007
|
chip: p(({ props: y, item: S }) => [
|
|
7008
|
-
|
|
7008
|
+
de(k.$slots, "chip", {
|
|
7009
7009
|
props: y,
|
|
7010
7010
|
item: S
|
|
7011
7011
|
}, () => [
|
|
7012
|
-
m(Qt,
|
|
7012
|
+
m(Qt, Tt(y, {
|
|
7013
7013
|
text: S.title
|
|
7014
7014
|
}), null, 16, ["text"])
|
|
7015
7015
|
])
|
|
7016
7016
|
]),
|
|
7017
7017
|
item: p(({ props: y, item: S }) => [
|
|
7018
|
-
|
|
7018
|
+
de(k.$slots, "item", {
|
|
7019
7019
|
props: y,
|
|
7020
7020
|
item: S
|
|
7021
7021
|
}, () => [
|
|
@@ -7196,7 +7196,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, wD = /* @__PURE__ *
|
|
|
7196
7196
|
title: V(t)("common.job.model._resourceName")
|
|
7197
7197
|
}, {
|
|
7198
7198
|
default: p(() => [
|
|
7199
|
-
|
|
7199
|
+
de(e.$slots, "resource-name", {}, () => [
|
|
7200
7200
|
M(I(e.job._resourceName), 1)
|
|
7201
7201
|
])
|
|
7202
7202
|
]),
|
|
@@ -8148,7 +8148,7 @@ const Ss = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8148
8148
|
return (n, d) => n.assetStatus === V(ut).WithFile && n.src ? (q(), B("div", {
|
|
8149
8149
|
key: 0,
|
|
8150
8150
|
class: "anzu-common-asset-image anzu-common-asset-image--img position-relative",
|
|
8151
|
-
style:
|
|
8151
|
+
style: Dt({ width: n.width + "px" })
|
|
8152
8152
|
}, [
|
|
8153
8153
|
N("img", {
|
|
8154
8154
|
class: "anzu-common-asset-image__img",
|
|
@@ -8156,13 +8156,13 @@ const Ss = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8156
8156
|
width: n.width,
|
|
8157
8157
|
height: n.height,
|
|
8158
8158
|
alt: "",
|
|
8159
|
-
style:
|
|
8159
|
+
style: Dt("background-color:" + n.backgroundColor),
|
|
8160
8160
|
onOnerror: i
|
|
8161
8161
|
}, null, 44, Jv),
|
|
8162
8162
|
l.value ? (q(), B("div", Qv, [
|
|
8163
8163
|
N("div", {
|
|
8164
8164
|
class: "anzu-common-asset-image__icon-circle",
|
|
8165
|
-
style:
|
|
8165
|
+
style: Dt({ padding: n.iconSize / 4 + "px" })
|
|
8166
8166
|
}, [
|
|
8167
8167
|
r.value.length ? (q(), K(re, {
|
|
8168
8168
|
key: 0,
|
|
@@ -8175,13 +8175,13 @@ const Ss = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8175
8175
|
])) : j("", !0)
|
|
8176
8176
|
], 4)) : (q(), B("div", {
|
|
8177
8177
|
key: 1,
|
|
8178
|
-
style:
|
|
8178
|
+
style: Dt([{ height: n.fallbackHeight + "px", backgroundColor: n.backgroundColor }, { width: "100%" }]),
|
|
8179
8179
|
class: "asset-image asset-image--placeholder d-flex align-center justify-center"
|
|
8180
8180
|
}, [
|
|
8181
8181
|
l.value ? (q(), B("div", eh, [
|
|
8182
8182
|
N("div", {
|
|
8183
8183
|
class: "asset-image__icon-circle",
|
|
8184
|
-
style:
|
|
8184
|
+
style: Dt({ padding: n.iconSize / 4 + "px" })
|
|
8185
8185
|
}, [
|
|
8186
8186
|
r.value.length ? (q(), K(re, {
|
|
8187
8187
|
key: 0,
|
|
@@ -8329,7 +8329,7 @@ const mh = { class: "d-flex flex-column w-100 px-1 align-center" }, fh = { class
|
|
|
8329
8329
|
class: "system-border-b subject-select__second-bar"
|
|
8330
8330
|
}, {
|
|
8331
8331
|
default: p(() => [
|
|
8332
|
-
|
|
8332
|
+
de(i.$slots, "second-bar", {}, () => [
|
|
8333
8333
|
N("div", mh, [
|
|
8334
8334
|
N("div", fh, [
|
|
8335
8335
|
N("div", Vh, [
|
|
@@ -8356,10 +8356,10 @@ const mh = { class: "d-flex flex-column w-100 px-1 align-center" }, fh = { class
|
|
|
8356
8356
|
]),
|
|
8357
8357
|
_: 1
|
|
8358
8358
|
}, 8, ["onClick"]),
|
|
8359
|
-
|
|
8359
|
+
de(i.$slots, "second-bar-left")
|
|
8360
8360
|
]),
|
|
8361
8361
|
N("div", ph, [
|
|
8362
|
-
|
|
8362
|
+
de(i.$slots, "second-bar-right"),
|
|
8363
8363
|
m(ie, {
|
|
8364
8364
|
size: "x-small",
|
|
8365
8365
|
icon: "",
|
|
@@ -9075,7 +9075,7 @@ const jh = {
|
|
|
9075
9075
|
return o.value ? (q(), B("div", jh, [
|
|
9076
9076
|
m(tt, { indeterminate: "" })
|
|
9077
9077
|
])) : C.value.length > 0 ? (q(), B(ge, { key: 1 }, [
|
|
9078
|
-
|
|
9078
|
+
de(z.$slots, "activator", {
|
|
9079
9079
|
props: { onClick: J(() => b(), ["stop"]) }
|
|
9080
9080
|
}),
|
|
9081
9081
|
m(Vt, {
|
|
@@ -9095,7 +9095,7 @@ const jh = {
|
|
|
9095
9095
|
onOnCancel: x
|
|
9096
9096
|
}, {
|
|
9097
9097
|
default: p(() => [
|
|
9098
|
-
|
|
9098
|
+
de(z.$slots, "title", {}, () => [
|
|
9099
9099
|
M(I(V(l)("common.assetSelect.meta.texts.title")), 1)
|
|
9100
9100
|
])
|
|
9101
9101
|
]),
|
|
@@ -9117,7 +9117,7 @@ const jh = {
|
|
|
9117
9117
|
onClick: V(f)
|
|
9118
9118
|
}, {
|
|
9119
9119
|
default: p(() => [
|
|
9120
|
-
|
|
9120
|
+
de(z.$slots, "button-confirm-title", {}, () => [
|
|
9121
9121
|
M(I(V(l)("common.button.loadMore")), 1)
|
|
9122
9122
|
])
|
|
9123
9123
|
]),
|
|
@@ -9141,7 +9141,7 @@ const jh = {
|
|
|
9141
9141
|
onClick: J(P, ["stop"])
|
|
9142
9142
|
}, {
|
|
9143
9143
|
default: p(() => [
|
|
9144
|
-
|
|
9144
|
+
de(z.$slots, "button-confirm-title", {}, () => [
|
|
9145
9145
|
M(I(V(l)("common.button.confirm")), 1)
|
|
9146
9146
|
])
|
|
9147
9147
|
]),
|
|
@@ -9578,7 +9578,7 @@ function cF(a) {
|
|
|
9578
9578
|
e && e.dispatchEvent(Y), h[C] && h[C].call(t, Y);
|
|
9579
9579
|
}
|
|
9580
9580
|
}
|
|
9581
|
-
var mF = ["evt"],
|
|
9581
|
+
var mF = ["evt"], Mt = function(t, e) {
|
|
9582
9582
|
var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = s.evt, r = sF(s, mF);
|
|
9583
9583
|
tr.pluginEvent.bind(Ce)(t, e, ka({
|
|
9584
9584
|
dragEl: oe,
|
|
@@ -9779,7 +9779,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9779
9779
|
targetEl: n,
|
|
9780
9780
|
toEl: s,
|
|
9781
9781
|
fromEl: s
|
|
9782
|
-
}),
|
|
9782
|
+
}), Mt("filter", e, {
|
|
9783
9783
|
evt: t
|
|
9784
9784
|
}), r && t.cancelable && t.preventDefault();
|
|
9785
9785
|
return;
|
|
@@ -9793,7 +9793,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9793
9793
|
targetEl: n,
|
|
9794
9794
|
fromEl: s,
|
|
9795
9795
|
toEl: s
|
|
9796
|
-
}),
|
|
9796
|
+
}), Mt("filter", e, {
|
|
9797
9797
|
evt: t
|
|
9798
9798
|
}), !0;
|
|
9799
9799
|
}), u)) {
|
|
@@ -9813,7 +9813,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9813
9813
|
clientX: (e || t).clientX,
|
|
9814
9814
|
clientY: (e || t).clientY
|
|
9815
9815
|
}, rd = Xs.clientX - d.left, od = Xs.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, oe.style["will-change"] = "all", n = function() {
|
|
9816
|
-
if (
|
|
9816
|
+
if (Mt("delayEnded", i, {
|
|
9817
9817
|
evt: t
|
|
9818
9818
|
}), Ce.eventCanceled) {
|
|
9819
9819
|
i._onDrop();
|
|
@@ -9826,7 +9826,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9826
9826
|
}), Wt(oe, o.chosenClass, !0);
|
|
9827
9827
|
}, o.ignore.split(",").forEach(function(u) {
|
|
9828
9828
|
lc(oe, u.trim(), Qo);
|
|
9829
|
-
}), ze(l, "dragover", As), ze(l, "mousemove", As), ze(l, "touchmove", As), ze(l, "mouseup", i._onDrop), ze(l, "touchend", i._onDrop), ze(l, "touchcancel", i._onDrop), td && this.nativeDraggable && (this.options.touchStartThreshold = 4, oe.draggable = !0),
|
|
9829
|
+
}), ze(l, "dragover", As), ze(l, "mousemove", As), ze(l, "touchmove", As), ze(l, "mouseup", i._onDrop), ze(l, "touchend", i._onDrop), ze(l, "touchcancel", i._onDrop), td && this.nativeDraggable && (this.options.touchStartThreshold = 4, oe.draggable = !0), Mt("delayStart", this, {
|
|
9830
9830
|
evt: t
|
|
9831
9831
|
}), o.delay && (!o.delayOnTouchOnly || e) && (!this.nativeDraggable || !(er || Ga))) {
|
|
9832
9832
|
if (Ce.eventCanceled) {
|
|
@@ -9860,7 +9860,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9860
9860
|
},
|
|
9861
9861
|
_dragStarted: function(t, e) {
|
|
9862
9862
|
if (Hs = !1, Je && oe) {
|
|
9863
|
-
|
|
9863
|
+
Mt("dragStarted", this, {
|
|
9864
9864
|
evt: e
|
|
9865
9865
|
}), this.nativeDraggable && ze(document, "dragover", vF);
|
|
9866
9866
|
var s = this.options;
|
|
@@ -9930,14 +9930,14 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9930
9930
|
},
|
|
9931
9931
|
_onDragStart: function(t, e) {
|
|
9932
9932
|
var s = this, i = t.dataTransfer, r = s.options;
|
|
9933
|
-
if (
|
|
9933
|
+
if (Mt("dragStart", this, {
|
|
9934
9934
|
evt: t
|
|
9935
9935
|
}), Ce.eventCanceled) {
|
|
9936
9936
|
this._onDrop();
|
|
9937
9937
|
return;
|
|
9938
9938
|
}
|
|
9939
|
-
|
|
9940
|
-
|
|
9939
|
+
Mt("setupClone", this), Ce.eventCanceled || (st = cc(oe), st.removeAttribute("id"), st.draggable = !1, st.style["will-change"] = "", this._hideClone(), Wt(st, this.options.chosenClass, !1), Ce.clone = st), s.cloneId = $r(function() {
|
|
9940
|
+
Mt("clone", s), !Ce.eventCanceled && (s.options.removeCloneOnHide || Je.insertBefore(st, oe), s._hideClone(), St({
|
|
9941
9941
|
sortable: s,
|
|
9942
9942
|
name: "clone"
|
|
9943
9943
|
}));
|
|
@@ -9948,7 +9948,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9948
9948
|
var e = this.el, s = t.target, i, r, o, l = this.options, n = l.group, d = Ce.active, u = hr === n, c = l.sort, f = yt || d, F, v = this, Y = !1;
|
|
9949
9949
|
if (In) return;
|
|
9950
9950
|
function h($, H) {
|
|
9951
|
-
|
|
9951
|
+
Mt($, v, ka({
|
|
9952
9952
|
evt: t,
|
|
9953
9953
|
isOwner: u,
|
|
9954
9954
|
axis: F ? "vertical" : "horizontal",
|
|
@@ -10039,7 +10039,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
10039
10039
|
},
|
|
10040
10040
|
_onDrop: function(t) {
|
|
10041
10041
|
var e = this.el, s = this.options;
|
|
10042
|
-
if (Gt = na(oe), ts = na(oe, s.draggable),
|
|
10042
|
+
if (Gt = na(oe), ts = na(oe, s.draggable), Mt("drop", this, {
|
|
10043
10043
|
evt: t
|
|
10044
10044
|
}), rt = oe && oe.parentNode, Gt = na(oe), ts = na(oe, s.draggable), Ce.eventCanceled) {
|
|
10045
10045
|
this._nulling();
|
|
@@ -10092,7 +10092,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
10092
10092
|
}), this.save()))), this._nulling();
|
|
10093
10093
|
},
|
|
10094
10094
|
_nulling: function() {
|
|
10095
|
-
|
|
10095
|
+
Mt("nulling", this), Je = oe = rt = Ie = ks = st = Er = as = Xs = Fa = ki = Gt = ts = Zs = Mi = Ns = $i = yt = hr = Ce.dragged = Ce.ghost = Ce.clone = Ce.active = null, Qr.forEach(function(t) {
|
|
10096
10096
|
t.checked = !0;
|
|
10097
10097
|
}), Qr.length = Go = Zo = 0;
|
|
10098
10098
|
},
|
|
@@ -10166,7 +10166,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
10166
10166
|
* Destroy
|
|
10167
10167
|
*/
|
|
10168
10168
|
destroy: function() {
|
|
10169
|
-
|
|
10169
|
+
Mt("destroy", this);
|
|
10170
10170
|
var t = this.el;
|
|
10171
10171
|
t[Ot] = null, Pe(t, "mousedown", this._onTapStart), Pe(t, "touchstart", this._onTapStart), Pe(t, "pointerdown", this._onTapStart), this.nativeDraggable && (Pe(t, "dragover", this), Pe(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(e) {
|
|
10172
10172
|
e.removeAttribute("draggable");
|
|
@@ -10174,7 +10174,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
10174
10174
|
},
|
|
10175
10175
|
_hideClone: function() {
|
|
10176
10176
|
if (!as) {
|
|
10177
|
-
if (
|
|
10177
|
+
if (Mt("hideClone", this), Ce.eventCanceled) return;
|
|
10178
10178
|
be(st, "display", "none"), this.options.removeCloneOnHide && st.parentNode && st.parentNode.removeChild(st), as = !0;
|
|
10179
10179
|
}
|
|
10180
10180
|
},
|
|
@@ -10184,7 +10184,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
10184
10184
|
return;
|
|
10185
10185
|
}
|
|
10186
10186
|
if (as) {
|
|
10187
|
-
if (
|
|
10187
|
+
if (Mt("showClone", this), Ce.eventCanceled) return;
|
|
10188
10188
|
oe.parentNode == Je && !this.options.group.revertClone ? Je.insertBefore(st, oe) : ks ? Je.insertBefore(st, ks) : Je.appendChild(st), this.options.group.revertClone && this.animate(oe, st), be(st, "display", ""), as = !1;
|
|
10189
10189
|
}
|
|
10190
10190
|
}
|
|
@@ -10708,7 +10708,7 @@ const ml = "a-sortable-", SF = ["id"], DF = { key: 1 }, KF = { class: "a-sortabl
|
|
|
10708
10708
|
"onClick:close": (Z) => n(G)
|
|
10709
10709
|
}, ua({
|
|
10710
10710
|
default: p(() => [
|
|
10711
|
-
|
|
10711
|
+
de(y.$slots, "item", { item: G })
|
|
10712
10712
|
]),
|
|
10713
10713
|
_: 2
|
|
10714
10714
|
}, [
|
|
@@ -10739,7 +10739,7 @@ const ml = "a-sortable-", SF = ["id"], DF = { key: 1 }, KF = { class: "a-sortabl
|
|
|
10739
10739
|
} : void 0
|
|
10740
10740
|
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (q(), B("div", DF, [
|
|
10741
10741
|
N("div", KF, [
|
|
10742
|
-
|
|
10742
|
+
de(y.$slots, "itemBefore", { item: G })
|
|
10743
10743
|
]),
|
|
10744
10744
|
N("div", TF, [
|
|
10745
10745
|
m(re, {
|
|
@@ -10750,7 +10750,7 @@ const ml = "a-sortable-", SF = ["id"], DF = { key: 1 }, KF = { class: "a-sortabl
|
|
|
10750
10750
|
icon: "mdi-drag"
|
|
10751
10751
|
}, null, 8, ["class"]),
|
|
10752
10752
|
N("div", EF, [
|
|
10753
|
-
|
|
10753
|
+
de(y.$slots, "item", { item: G })
|
|
10754
10754
|
]),
|
|
10755
10755
|
N("div", MF, [
|
|
10756
10756
|
y.showEditButton ? (q(), K(ie, {
|
|
@@ -10789,7 +10789,7 @@ const ml = "a-sortable-", SF = ["id"], DF = { key: 1 }, KF = { class: "a-sortabl
|
|
|
10789
10789
|
]),
|
|
10790
10790
|
_: 2
|
|
10791
10791
|
}, 1032, ["onClick"])) : j("", !0),
|
|
10792
|
-
|
|
10792
|
+
de(y.$slots, "buttons", { item: G }),
|
|
10793
10793
|
y.showAddAfterButton ? (q(), K(ie, {
|
|
10794
10794
|
key: 2,
|
|
10795
10795
|
icon: "",
|
|
@@ -10829,13 +10829,13 @@ const ml = "a-sortable-", SF = ["id"], DF = { key: 1 }, KF = { class: "a-sortabl
|
|
|
10829
10829
|
])
|
|
10830
10830
|
]),
|
|
10831
10831
|
N("div", $F, [
|
|
10832
|
-
|
|
10832
|
+
de(y.$slots, "itemAfter", { item: G })
|
|
10833
10833
|
])
|
|
10834
10834
|
]))
|
|
10835
10835
|
], 64))), 128))
|
|
10836
10836
|
], 2))
|
|
10837
10837
|
], 10, SF),
|
|
10838
|
-
|
|
10838
|
+
de(y.$slots, "add-last-activator", {
|
|
10839
10839
|
props: { onClick: J(() => u(), ["stop"]) }
|
|
10840
10840
|
}, () => [
|
|
10841
10841
|
y.showAddLastButton ? (q(), K(ie, {
|
|
@@ -10867,7 +10867,7 @@ const ml = "a-sortable-", SF = ["id"], DF = { key: 1 }, KF = { class: "a-sortabl
|
|
|
10867
10867
|
]),
|
|
10868
10868
|
_: 1
|
|
10869
10869
|
}),
|
|
10870
|
-
m(
|
|
10870
|
+
m(Kt, null, {
|
|
10871
10871
|
default: p(() => [
|
|
10872
10872
|
m(it),
|
|
10873
10873
|
m($, {
|
|
@@ -11169,7 +11169,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11169
11169
|
icon: "mdi-drag"
|
|
11170
11170
|
}, null, 8, ["class"]),
|
|
11171
11171
|
N("div", UF, [
|
|
11172
|
-
|
|
11172
|
+
de(c.$slots, "item", { item: c.item })
|
|
11173
11173
|
]),
|
|
11174
11174
|
N("div", jF, [
|
|
11175
11175
|
c.showEditButton ? (q(), K(ie, {
|
|
@@ -11208,7 +11208,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11208
11208
|
]),
|
|
11209
11209
|
_: 1
|
|
11210
11210
|
})) : j("", !0),
|
|
11211
|
-
|
|
11211
|
+
de(c.$slots, "buttons", { item: c.item }),
|
|
11212
11212
|
c.showAddAfterButton || d.value ? (q(), K(ie, {
|
|
11213
11213
|
key: 2,
|
|
11214
11214
|
icon: "",
|
|
@@ -11276,12 +11276,12 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11276
11276
|
onOnEdit: r
|
|
11277
11277
|
}, {
|
|
11278
11278
|
item: p(({ item: Y }) => [
|
|
11279
|
-
|
|
11279
|
+
de(c.$slots, "item", {
|
|
11280
11280
|
item: Y
|
|
11281
11281
|
})
|
|
11282
11282
|
]),
|
|
11283
11283
|
buttons: p(({ item: Y }) => [
|
|
11284
|
-
|
|
11284
|
+
de(c.$slots, "buttons", {
|
|
11285
11285
|
item: Y
|
|
11286
11286
|
})
|
|
11287
11287
|
]),
|
|
@@ -11421,10 +11421,10 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11421
11421
|
onOnEdit: d
|
|
11422
11422
|
}, {
|
|
11423
11423
|
item: p(({ item: H }) => [
|
|
11424
|
-
|
|
11424
|
+
de(k.$slots, "item", { item: H })
|
|
11425
11425
|
]),
|
|
11426
11426
|
buttons: p(({ item: H }) => [
|
|
11427
|
-
|
|
11427
|
+
de(k.$slots, "buttons", { item: H })
|
|
11428
11428
|
]),
|
|
11429
11429
|
_: 2
|
|
11430
11430
|
}, 1032, ["item", "disable-draggable", "max-depth", "show-add-after-button", "show-add-child-button", "show-delete-button", "show-edit-button"]))), 128))
|
|
@@ -11457,7 +11457,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11457
11457
|
]),
|
|
11458
11458
|
_: 1
|
|
11459
11459
|
}),
|
|
11460
|
-
m(
|
|
11460
|
+
m(Kt, null, {
|
|
11461
11461
|
default: p(() => [
|
|
11462
11462
|
m(it),
|
|
11463
11463
|
m(y, {
|
|
@@ -11542,10 +11542,10 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11542
11542
|
}), (x, P) => {
|
|
11543
11543
|
const L = $e("ABtnSecondary"), U = $e("ABtnPrimary");
|
|
11544
11544
|
return q(), B(ge, null, [
|
|
11545
|
-
|
|
11545
|
+
de(x.$slots, "activator", {
|
|
11546
11546
|
props: { onClick: J(() => F(), ["stop"]) }
|
|
11547
11547
|
}),
|
|
11548
|
-
m(Vt,
|
|
11548
|
+
m(Vt, Tt(x.$attrs, {
|
|
11549
11549
|
"model-value": o.value,
|
|
11550
11550
|
fullscreen: "",
|
|
11551
11551
|
class: "subject-select",
|
|
@@ -11562,7 +11562,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11562
11562
|
onOnCancel: Y
|
|
11563
11563
|
}, {
|
|
11564
11564
|
default: p(() => [
|
|
11565
|
-
|
|
11565
|
+
de(x.$slots, "title", {}, () => [
|
|
11566
11566
|
M(I(V(u)(x.dialogTitleT)), 1)
|
|
11567
11567
|
])
|
|
11568
11568
|
]),
|
|
@@ -11576,7 +11576,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11576
11576
|
class: "system-border-b subject-select__second-bar"
|
|
11577
11577
|
}, {
|
|
11578
11578
|
default: p(() => [
|
|
11579
|
-
|
|
11579
|
+
de(x.$slots, "second-bar", {}, () => [
|
|
11580
11580
|
N("div", ZF, [
|
|
11581
11581
|
N("div", JF, [
|
|
11582
11582
|
N("div", QF, [
|
|
@@ -11603,10 +11603,10 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11603
11603
|
]),
|
|
11604
11604
|
_: 1
|
|
11605
11605
|
}),
|
|
11606
|
-
|
|
11606
|
+
de(x.$slots, "second-bar-left")
|
|
11607
11607
|
]),
|
|
11608
11608
|
N("div", eg, [
|
|
11609
|
-
|
|
11609
|
+
de(x.$slots, "second-bar-right")
|
|
11610
11610
|
])
|
|
11611
11611
|
])
|
|
11612
11612
|
])
|
|
@@ -11626,7 +11626,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11626
11626
|
onSubmit: J(x.submitFilter, ["prevent"])
|
|
11627
11627
|
}, {
|
|
11628
11628
|
default: p(() => [
|
|
11629
|
-
|
|
11629
|
+
de(x.$slots, "filter")
|
|
11630
11630
|
]),
|
|
11631
11631
|
_: 3
|
|
11632
11632
|
}, 8, ["onSubmit"])
|
|
@@ -11670,7 +11670,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11670
11670
|
])
|
|
11671
11671
|
]),
|
|
11672
11672
|
N("div", rg, [
|
|
11673
|
-
|
|
11673
|
+
de(x.$slots, "content"),
|
|
11674
11674
|
x.paginationMode === "more" ? (q(), B("div", og, [
|
|
11675
11675
|
da((q(), K(L, {
|
|
11676
11676
|
loading: x.loading,
|
|
@@ -11678,7 +11678,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11678
11678
|
onClick: C
|
|
11679
11679
|
}, {
|
|
11680
11680
|
default: p(() => [
|
|
11681
|
-
|
|
11681
|
+
de(x.$slots, "button-confirm-title", {}, () => [
|
|
11682
11682
|
M(I(V(u)("common.button.loadMore")), 1)
|
|
11683
11683
|
])
|
|
11684
11684
|
]),
|
|
@@ -11712,7 +11712,7 @@ const zF = ["data-id"], LF = { class: "a-sortable-nested-widget__nested" }, NF =
|
|
|
11712
11712
|
onClick: J(h, ["stop"])
|
|
11713
11713
|
}, {
|
|
11714
11714
|
default: p(() => [
|
|
11715
|
-
|
|
11715
|
+
de(x.$slots, "button-confirm-title", {}, () => [
|
|
11716
11716
|
M(I(V(u)("common.button.confirm")), 1)
|
|
11717
11717
|
])
|
|
11718
11718
|
]),
|
|
@@ -11957,7 +11957,7 @@ const cg = /* @__PURE__ */ W({
|
|
|
11957
11957
|
validate: () => v.value.$validate()
|
|
11958
11958
|
}), (h, C) => (q(), B(ge, null, [
|
|
11959
11959
|
N("div", pg, [
|
|
11960
|
-
|
|
11960
|
+
de(h.$slots, "before-pinned"),
|
|
11961
11961
|
(q(!0), B(ge, null, je(d.value, (g) => (q(), K(he, {
|
|
11962
11962
|
key: g.id,
|
|
11963
11963
|
dense: "",
|
|
@@ -11987,7 +11987,7 @@ const cg = /* @__PURE__ */ W({
|
|
|
11987
11987
|
]),
|
|
11988
11988
|
_: 2
|
|
11989
11989
|
}, 1024))), 128)),
|
|
11990
|
-
|
|
11990
|
+
de(h.$slots, "after-pinned")
|
|
11991
11991
|
]),
|
|
11992
11992
|
da(N("div", vg, [
|
|
11993
11993
|
(q(!0), B(ge, null, je(u.value, (g) => (q(), K(he, {
|
|
@@ -13582,7 +13582,7 @@ const gq = {
|
|
|
13582
13582
|
_: 1
|
|
13583
13583
|
})) : j("", !0)
|
|
13584
13584
|
]),
|
|
13585
|
-
|
|
13585
|
+
de(f.$slots, "append", { image: o.value })
|
|
13586
13586
|
], 64));
|
|
13587
13587
|
}
|
|
13588
13588
|
}), nr = fi("commonImageStore", () => {
|
|
@@ -13810,7 +13810,7 @@ const wq = { key: 0 }, kq = { class: "d-flex align-center justify-center" }, Iq
|
|
|
13810
13810
|
]),
|
|
13811
13811
|
_: 1
|
|
13812
13812
|
}),
|
|
13813
|
-
m(
|
|
13813
|
+
m(Kt, null, {
|
|
13814
13814
|
default: p(() => [
|
|
13815
13815
|
m(it),
|
|
13816
13816
|
m(v, {
|
|
@@ -14146,7 +14146,7 @@ const $q = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
14146
14146
|
f.value ? (q(), B("div", s7, [
|
|
14147
14147
|
N("div", {
|
|
14148
14148
|
class: "asset-image__icon-circle",
|
|
14149
|
-
style:
|
|
14149
|
+
style: Dt({ padding: v.iconSize / 4 + "px" })
|
|
14150
14150
|
}, [
|
|
14151
14151
|
l.value.length ? (q(), K(re, {
|
|
14152
14152
|
key: 0,
|
|
@@ -14177,13 +14177,13 @@ const $q = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
14177
14177
|
width: v.width,
|
|
14178
14178
|
height: v.height,
|
|
14179
14179
|
alt: "",
|
|
14180
|
-
style:
|
|
14180
|
+
style: Dt("background-color:" + d.value),
|
|
14181
14181
|
onOnerror: o
|
|
14182
14182
|
}, null, 44, n7),
|
|
14183
14183
|
f.value ? (q(), B("div", l7, [
|
|
14184
14184
|
N("div", {
|
|
14185
14185
|
class: "asset-image__icon-circle",
|
|
14186
|
-
style:
|
|
14186
|
+
style: Dt({ padding: v.iconSize / 4 + "px" })
|
|
14187
14187
|
}, [
|
|
14188
14188
|
l.value.length ? (q(), K(re, {
|
|
14189
14189
|
key: 0,
|
|
@@ -14201,13 +14201,13 @@ const $q = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
14201
14201
|
}, null, 8, ["asset-file-properties", "asset-type"])) : j("", !0)
|
|
14202
14202
|
])) : (q(), B("div", {
|
|
14203
14203
|
key: 3,
|
|
14204
|
-
style:
|
|
14204
|
+
style: Dt({ height: v.fallbackHeight + "px", backgroundColor: d.value, width: v.width + "px" }),
|
|
14205
14205
|
class: "asset-image asset-image--placeholder d-flex align-center justify-center"
|
|
14206
14206
|
}, [
|
|
14207
14207
|
f.value ? (q(), B("div", d7, [
|
|
14208
14208
|
N("div", {
|
|
14209
14209
|
class: "asset-image__icon-circle",
|
|
14210
|
-
style:
|
|
14210
|
+
style: Dt({ padding: v.iconSize / 4 + "px" })
|
|
14211
14211
|
}, [
|
|
14212
14212
|
l.value.length ? (q(), K(re, {
|
|
14213
14213
|
key: 0,
|
|
@@ -14376,7 +14376,7 @@ const g7 = { class: "w-100 text-right" }, Fl = /* @__PURE__ */ W({
|
|
|
14376
14376
|
to: "." + V(s)
|
|
14377
14377
|
}, [
|
|
14378
14378
|
N("div", g7, [
|
|
14379
|
-
|
|
14379
|
+
de(i.$slots, "default")
|
|
14380
14380
|
])
|
|
14381
14381
|
], 8, ["to"])) : j("", !0);
|
|
14382
14382
|
}
|
|
@@ -14406,10 +14406,10 @@ const g7 = { class: "w-100 text-right" }, Fl = /* @__PURE__ */ W({
|
|
|
14406
14406
|
"onUpdate:modelValue": c[1] || (c[1] = (f) => s("update:modelValue", f))
|
|
14407
14407
|
}, {
|
|
14408
14408
|
"after-pinned": p(() => [
|
|
14409
|
-
|
|
14409
|
+
de(u.$slots, "after-pinned")
|
|
14410
14410
|
]),
|
|
14411
14411
|
"before-pinned": p(() => [
|
|
14412
|
-
|
|
14412
|
+
de(u.$slots, "before-pinned")
|
|
14413
14413
|
]),
|
|
14414
14414
|
_: 3
|
|
14415
14415
|
}, 8, ["model-value", "pinned-count", "elements", "validation-scope"]));
|
|
@@ -14424,7 +14424,7 @@ const g7 = { class: "w-100 text-right" }, Fl = /* @__PURE__ */ W({
|
|
|
14424
14424
|
setup(a) {
|
|
14425
14425
|
const t = a, e = _(() => `background-color: ${t.color ? t.color : "transparent"}; width: ${t.width}px; height: ${t.height}px;`);
|
|
14426
14426
|
return (s, i) => (q(), B("div", {
|
|
14427
|
-
style:
|
|
14427
|
+
style: Dt(e.value)
|
|
14428
14428
|
}, [
|
|
14429
14429
|
m(ye, {
|
|
14430
14430
|
activator: "parent",
|
|
@@ -14566,7 +14566,7 @@ const g7 = { class: "w-100 text-right" }, Fl = /* @__PURE__ */ W({
|
|
|
14566
14566
|
), (d, u) => (q(), B("div", {
|
|
14567
14567
|
class: Fe(d.containerClass)
|
|
14568
14568
|
}, [
|
|
14569
|
-
V(te)(d.id) || V(R)(d.id) ?
|
|
14569
|
+
V(te)(d.id) || V(R)(d.id) ? de(d.$slots, "empty", { key: 0 }, () => [
|
|
14570
14570
|
u[0] || (u[0] = M(" - "))
|
|
14571
14571
|
]) : d.textOnly ? (q(), B("div", Y7, [
|
|
14572
14572
|
M(I(n.value) + " ", 1),
|
|
@@ -14852,7 +14852,7 @@ const w7 = /* @__PURE__ */ W({
|
|
|
14852
14852
|
]),
|
|
14853
14853
|
_: 1
|
|
14854
14854
|
}),
|
|
14855
|
-
m(
|
|
14855
|
+
m(Kt, null, {
|
|
14856
14856
|
default: p(() => [
|
|
14857
14857
|
m(it),
|
|
14858
14858
|
m(P, {
|
|
@@ -14951,7 +14951,7 @@ const w7 = /* @__PURE__ */ W({
|
|
|
14951
14951
|
onSearchChange: v
|
|
14952
14952
|
}, {
|
|
14953
14953
|
item: p(({ props: X, item: b }) => [
|
|
14954
|
-
m(Ze,
|
|
14954
|
+
m(Ze, Tt(X, {
|
|
14955
14955
|
onClick: A[0] || (A[0] = J(() => {
|
|
14956
14956
|
}, ["prevent"]))
|
|
14957
14957
|
}), ua({
|
|
@@ -15043,7 +15043,7 @@ const w7 = /* @__PURE__ */ W({
|
|
|
15043
15043
|
), (d, u) => (q(), B("div", {
|
|
15044
15044
|
class: Fe(d.containerClass)
|
|
15045
15045
|
}, [
|
|
15046
|
-
V(te)(d.id) || V(R)(d.id) ?
|
|
15046
|
+
V(te)(d.id) || V(R)(d.id) ? de(d.$slots, "empty", { key: 0 }, () => [
|
|
15047
15047
|
u[0] || (u[0] = M(" - "))
|
|
15048
15048
|
]) : d.textOnly ? (q(), B("div", S7, [
|
|
15049
15049
|
M(I(n.value) + " ", 1),
|
|
@@ -15230,7 +15230,7 @@ const M7 = /* @__PURE__ */ W({
|
|
|
15230
15230
|
]),
|
|
15231
15231
|
_: 1
|
|
15232
15232
|
}),
|
|
15233
|
-
m(
|
|
15233
|
+
m(Kt, null, {
|
|
15234
15234
|
default: p(() => [
|
|
15235
15235
|
m(it),
|
|
15236
15236
|
m(x, {
|
|
@@ -15320,7 +15320,7 @@ const M7 = /* @__PURE__ */ W({
|
|
|
15320
15320
|
onSearchChange: f
|
|
15321
15321
|
}, {
|
|
15322
15322
|
item: p(({ props: g, item: A }) => [
|
|
15323
|
-
m(Ze,
|
|
15323
|
+
m(Ze, Tt(g, {
|
|
15324
15324
|
onClick: C[0] || (C[0] = J(() => {
|
|
15325
15325
|
}, ["prevent"]))
|
|
15326
15326
|
}), ua({
|
|
@@ -16105,7 +16105,7 @@ function gY() {
|
|
|
16105
16105
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
16106
16106
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
16107
16107
|
}
|
|
16108
|
-
var Ko = typeof window < "u" && typeof window.document < "u", Ia = Ko ? window : {}, Al = Ko && Ia.document.documentElement ? "ontouchstart" in Ia.document.documentElement : !1, yl = Ko ? "PointerEvent" in Ia : !1, Qe = "cropper", bl = "all", tm = "crop", am = "move", sm = "zoom", ys = "e", bs = "w", Us = "s", Qa = "n", yi = "ne", bi = "nw", Ci = "se", xi = "sw", $n = "".concat(Qe, "-crop"), bd = "".concat(Qe, "-disabled"),
|
|
16108
|
+
var Ko = typeof window < "u" && typeof window.document < "u", Ia = Ko ? window : {}, Al = Ko && Ia.document.documentElement ? "ontouchstart" in Ia.document.documentElement : !1, yl = Ko ? "PointerEvent" in Ia : !1, Qe = "cropper", bl = "all", tm = "crop", am = "move", sm = "zoom", ys = "e", bs = "w", Us = "s", Qa = "n", yi = "ne", bi = "nw", Ci = "se", xi = "sw", $n = "".concat(Qe, "-crop"), bd = "".concat(Qe, "-disabled"), Bt = "".concat(Qe, "-hidden"), Cd = "".concat(Qe, "-hide"), qY = "".concat(Qe, "-invisible"), ao = "".concat(Qe, "-modal"), Bn = "".concat(Qe, "-move"), Ui = "".concat(Qe, "Action"), Cr = "".concat(Qe, "Preview"), Cl = "crop", im = "move", rm = "none", Pn = "crop", On = "cropend", Rn = "cropmove", zn = "cropstart", xd = "dblclick", YY = Al ? "touchstart" : "mousedown", XY = Al ? "touchmove" : "mousemove", AY = Al ? "touchend touchcancel" : "mouseup", wd = yl ? "pointerdown" : YY, kd = yl ? "pointermove" : XY, Id = yl ? "pointerup pointercancel" : AY, _d = "ready", Sd = "resize", Dd = "wheel", Ln = "zoom", Kd = "image/jpeg", yY = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, bY = /^data:/, CY = /^data:image\/jpeg;base64,/, xY = /^img|canvas$/i, om = 200, nm = 100, Td = {
|
|
16109
16109
|
// Define the view mode of the cropper
|
|
16110
16110
|
viewMode: 0,
|
|
16111
16111
|
// 0, 1, 2, 3
|
|
@@ -16200,7 +16200,7 @@ function Qs(a) {
|
|
|
16200
16200
|
return !1;
|
|
16201
16201
|
}
|
|
16202
16202
|
}
|
|
16203
|
-
function
|
|
16203
|
+
function $t(a) {
|
|
16204
16204
|
return typeof a == "function";
|
|
16205
16205
|
}
|
|
16206
16206
|
var _Y = Array.prototype.slice;
|
|
@@ -16208,7 +16208,7 @@ function lm(a) {
|
|
|
16208
16208
|
return Array.from ? Array.from(a) : _Y.call(a);
|
|
16209
16209
|
}
|
|
16210
16210
|
function ft(a, t) {
|
|
16211
|
-
return a &&
|
|
16211
|
+
return a && $t(t) && (Array.isArray(a) || Ee(a.length) ? lm(a).forEach(function(e, s) {
|
|
16212
16212
|
t.call(a, e, s, a);
|
|
16213
16213
|
}) : Ts(a) && Object.keys(a).forEach(function(e) {
|
|
16214
16214
|
t.call(a, a[e], e, a);
|
|
@@ -16353,7 +16353,7 @@ function ra(a, t, e) {
|
|
|
16353
16353
|
}
|
|
16354
16354
|
function ii(a, t, e) {
|
|
16355
16355
|
var s;
|
|
16356
|
-
return
|
|
16356
|
+
return $t(Event) && $t(CustomEvent) ? s = new CustomEvent(t, {
|
|
16357
16357
|
detail: e,
|
|
16358
16358
|
bubbles: !0,
|
|
16359
16359
|
cancelable: !0
|
|
@@ -16555,7 +16555,7 @@ var HY = {
|
|
|
16555
16555
|
},
|
|
16556
16556
|
initContainer: function() {
|
|
16557
16557
|
var t = this.element, e = this.options, s = this.container, i = this.cropper, r = Number(e.minContainerWidth), o = Number(e.minContainerHeight);
|
|
16558
|
-
Ft(i,
|
|
16558
|
+
Ft(i, Bt), xa(t, Bt);
|
|
16559
16559
|
var l = {
|
|
16560
16560
|
width: Math.max(s.offsetWidth, r >= 0 ? r : om),
|
|
16561
16561
|
height: Math.max(s.offsetHeight, o >= 0 ? o : nm)
|
|
@@ -16563,7 +16563,7 @@ var HY = {
|
|
|
16563
16563
|
this.containerData = l, ds(i, {
|
|
16564
16564
|
width: l.width,
|
|
16565
16565
|
height: l.height
|
|
16566
|
-
}), Ft(t,
|
|
16566
|
+
}), Ft(t, Bt), xa(i, Bt);
|
|
16567
16567
|
},
|
|
16568
16568
|
// Canvas (image wrapper)
|
|
16569
16569
|
initCanvas: function() {
|
|
@@ -16707,14 +16707,14 @@ var HY = {
|
|
|
16707
16707
|
}, GY = {
|
|
16708
16708
|
bind: function() {
|
|
16709
16709
|
var t = this.element, e = this.options, s = this.cropper;
|
|
16710
|
-
|
|
16710
|
+
$t(e.cropstart) && ra(t, zn, e.cropstart), $t(e.cropmove) && ra(t, Rn, e.cropmove), $t(e.cropend) && ra(t, On, e.cropend), $t(e.crop) && ra(t, Pn, e.crop), $t(e.zoom) && ra(t, Ln, e.zoom), ra(s, wd, this.onCropStart = this.cropStart.bind(this)), e.zoomable && e.zoomOnWheel && ra(s, Dd, this.onWheel = this.wheel.bind(this), {
|
|
16711
16711
|
passive: !1,
|
|
16712
16712
|
capture: !0
|
|
16713
16713
|
}), e.toggleDragModeOnDblclick && ra(s, xd, this.onDblclick = this.dblclick.bind(this)), ra(t.ownerDocument, kd, this.onCropMove = this.cropMove.bind(this)), ra(t.ownerDocument, Id, this.onCropEnd = this.cropEnd.bind(this)), e.responsive && ra(window, Sd, this.onResize = this.resize.bind(this));
|
|
16714
16714
|
},
|
|
16715
16715
|
unbind: function() {
|
|
16716
16716
|
var t = this.element, e = this.options, s = this.cropper;
|
|
16717
|
-
|
|
16717
|
+
$t(e.cropstart) && ga(t, zn, e.cropstart), $t(e.cropmove) && ga(t, Rn, e.cropmove), $t(e.cropend) && ga(t, On, e.cropend), $t(e.crop) && ga(t, Pn, e.crop), $t(e.zoom) && ga(t, Ln, e.zoom), ga(s, wd, this.onCropStart), e.zoomable && e.zoomOnWheel && ga(s, Dd, this.onWheel, {
|
|
16718
16718
|
passive: !1,
|
|
16719
16719
|
capture: !0
|
|
16720
16720
|
}), e.toggleDragModeOnDblclick && ga(s, xd, this.onDblclick), ga(t.ownerDocument, kd, this.onCropMove), ga(t.ownerDocument, Id, this.onCropEnd), e.responsive && ga(window, Sd, this.onResize);
|
|
@@ -16888,7 +16888,7 @@ var HY = {
|
|
|
16888
16888
|
A = !1;
|
|
16889
16889
|
break;
|
|
16890
16890
|
}
|
|
16891
|
-
X = cm(this.cropper), d = b.startX - X.left, u = b.startY - X.top, c = r.minWidth, f = r.minHeight, x.x > 0 ? l = x.y > 0 ? Ci : yi : x.x < 0 && (d -= c, l = x.y > 0 ? xi : bi), x.y < 0 && (u -= f), this.cropped || (xa(this.cropBox,
|
|
16891
|
+
X = cm(this.cropper), d = b.startX - X.left, u = b.startY - X.top, c = r.minWidth, f = r.minHeight, x.x > 0 ? l = x.y > 0 ? Ci : yi : x.x < 0 && (d -= c, l = x.y > 0 ? xi : bi), x.y < 0 && (u -= f), this.cropped || (xa(this.cropBox, Bt), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
|
|
16892
16892
|
break;
|
|
16893
16893
|
}
|
|
16894
16894
|
A && (r.width = c, r.height = f, r.left = d, r.top = u, this.action = l, this.renderCropBox()), ft(o, function(L) {
|
|
@@ -16898,7 +16898,7 @@ var HY = {
|
|
|
16898
16898
|
}, QY = {
|
|
16899
16899
|
// Show the crop box manually
|
|
16900
16900
|
crop: function() {
|
|
16901
|
-
return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && Ft(this.dragBox, ao), xa(this.cropBox,
|
|
16901
|
+
return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && Ft(this.dragBox, ao), xa(this.cropBox, Bt), this.setCropBoxData(this.initialCropBoxData)), this;
|
|
16902
16902
|
},
|
|
16903
16903
|
// Reset the image and crop box to their initial states
|
|
16904
16904
|
reset: function() {
|
|
@@ -16911,7 +16911,7 @@ var HY = {
|
|
|
16911
16911
|
top: 0,
|
|
16912
16912
|
width: 0,
|
|
16913
16913
|
height: 0
|
|
16914
|
-
}), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), xa(this.dragBox, ao), Ft(this.cropBox,
|
|
16914
|
+
}), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), xa(this.dragBox, ao), Ft(this.cropBox, Bt)), this;
|
|
16915
16915
|
},
|
|
16916
16916
|
/**
|
|
16917
16917
|
* Replace the image's src and rebuild the cropper
|
|
@@ -17306,7 +17306,7 @@ var HY = {
|
|
|
17306
17306
|
var e = this.element, s = this.options, i = this.image, r = e.parentNode, o = document.createElement("div");
|
|
17307
17307
|
o.innerHTML = wY;
|
|
17308
17308
|
var l = o.querySelector(".".concat(Qe, "-container")), n = l.querySelector(".".concat(Qe, "-canvas")), d = l.querySelector(".".concat(Qe, "-drag-box")), u = l.querySelector(".".concat(Qe, "-crop-box")), c = u.querySelector(".".concat(Qe, "-face"));
|
|
17309
|
-
this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = u, this.viewBox = l.querySelector(".".concat(Qe, "-view-box")), this.face = c, n.appendChild(i), Ft(e,
|
|
17309
|
+
this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = u, this.viewBox = l.querySelector(".".concat(Qe, "-view-box")), this.face = c, n.appendChild(i), Ft(e, Bt), r.insertBefore(l, e.nextSibling), xa(i, Cd), 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, Ft(u, Bt), s.guides || Ft(u.getElementsByClassName("".concat(Qe, "-dashed")), Bt), s.center || Ft(u.getElementsByClassName("".concat(Qe, "-center")), Bt), s.background && Ft(l, "".concat(Qe, "-bg")), s.highlight || Ft(c, qY), s.cropBoxMovable && (Ft(c, Bn), ji(c, Ui, bl)), s.cropBoxResizable || (Ft(u.getElementsByClassName("".concat(Qe, "-line")), Bt), Ft(u.getElementsByClassName("".concat(Qe, "-point")), Bt)), this.render(), this.ready = !0, this.setDragMode(s.dragMode), s.autoCrop && this.crop(), this.setData(s.data), $t(s.ready) && ra(e, _d, s.ready, {
|
|
17310
17310
|
once: !0
|
|
17311
17311
|
}), ii(e, _d);
|
|
17312
17312
|
}
|
|
@@ -17317,7 +17317,7 @@ var HY = {
|
|
|
17317
17317
|
if (this.ready) {
|
|
17318
17318
|
this.ready = !1, this.unbind(), this.resetPreview();
|
|
17319
17319
|
var e = this.cropper.parentNode;
|
|
17320
|
-
e && e.removeChild(this.cropper), xa(this.element,
|
|
17320
|
+
e && e.removeChild(this.cropper), xa(this.element, Bt);
|
|
17321
17321
|
}
|
|
17322
17322
|
}
|
|
17323
17323
|
}, {
|
|
@@ -17439,12 +17439,12 @@ const tX = { class: "d-flex flex-column" }, aX = {
|
|
|
17439
17439
|
m(tt, { indeterminate: "" })
|
|
17440
17440
|
])) : j("", !0),
|
|
17441
17441
|
N("div", {
|
|
17442
|
-
style:
|
|
17442
|
+
style: Dt(f.containerStyle)
|
|
17443
17443
|
}, [
|
|
17444
17444
|
N("img", {
|
|
17445
17445
|
ref_key: "imgEl",
|
|
17446
17446
|
ref: i,
|
|
17447
|
-
style:
|
|
17447
|
+
style: Dt([{ "max-width": "100%", opacity: r.value ? 0 : 1 }, f.imgStyle]),
|
|
17448
17448
|
alt: f.alt,
|
|
17449
17449
|
src: f.src
|
|
17450
17450
|
}, null, 12, sX)
|
|
@@ -18164,7 +18164,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18164
18164
|
]),
|
|
18165
18165
|
_: 1
|
|
18166
18166
|
}),
|
|
18167
|
-
m(
|
|
18167
|
+
m(Kt, null, {
|
|
18168
18168
|
default: p(() => [
|
|
18169
18169
|
m(it),
|
|
18170
18170
|
m(c, {
|
|
@@ -18539,7 +18539,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18539
18539
|
variant: v.dropzoneVariant,
|
|
18540
18540
|
onOnClick: F,
|
|
18541
18541
|
onOnDrop: c
|
|
18542
|
-
}, null, 8, ["variant"])) :
|
|
18542
|
+
}, null, 8, ["variant"])) : de(v.$slots, "activator", {
|
|
18543
18543
|
key: 1,
|
|
18544
18544
|
props: { onClick: J(() => n(), ["stop"]) }
|
|
18545
18545
|
}),
|
|
@@ -18588,8 +18588,8 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18588
18588
|
"onUpdate:modelValue": c[1] || (c[1] = (F) => i.value = F)
|
|
18589
18589
|
}, {
|
|
18590
18590
|
activator: p(({ props: F }) => [
|
|
18591
|
-
|
|
18592
|
-
m(ie,
|
|
18591
|
+
de(u.$slots, "activator", { props: F }, () => [
|
|
18592
|
+
m(ie, Tt(F, {
|
|
18593
18593
|
text: V(o)("common.button.open")
|
|
18594
18594
|
}), null, 16, ["text"])
|
|
18595
18595
|
])
|
|
@@ -18602,7 +18602,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18602
18602
|
default: p(() => [
|
|
18603
18603
|
m(It, { onOnCancel: r }, {
|
|
18604
18604
|
default: p(() => [
|
|
18605
|
-
|
|
18605
|
+
de(u.$slots, "title", {}, () => [
|
|
18606
18606
|
M(I(V(o)("common.button.upload")), 1)
|
|
18607
18607
|
])
|
|
18608
18608
|
]),
|
|
@@ -18628,7 +18628,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18628
18628
|
]),
|
|
18629
18629
|
_: 1
|
|
18630
18630
|
}),
|
|
18631
|
-
m(
|
|
18631
|
+
m(Kt, null, {
|
|
18632
18632
|
default: p(() => [
|
|
18633
18633
|
m(it),
|
|
18634
18634
|
m(f, {
|
|
@@ -18688,12 +18688,12 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18688
18688
|
}),
|
|
18689
18689
|
emits: /* @__PURE__ */ gt(["afterMetadataSaveSuccess"], ["update:modelValue"]),
|
|
18690
18690
|
setup(a, { expose: t, emit: e }) {
|
|
18691
|
-
const s = a, i = e, r = Ut(a, "modelValue"), { collabOptions: o } = aa(), l = D((
|
|
18692
|
-
}), n = D((
|
|
18691
|
+
const s = a, i = e, r = Ut(a, "modelValue"), { collabOptions: o } = aa(), l = D((le, ke) => {
|
|
18692
|
+
}), n = D((le) => {
|
|
18693
18693
|
}), d = D(null);
|
|
18694
18694
|
if (o.value.enabled && ve(s.collab)) {
|
|
18695
|
-
const { releaseCollabFieldLock:
|
|
18696
|
-
l.value =
|
|
18695
|
+
const { releaseCollabFieldLock: le, acquireCollabFieldLock: ke, addCollabFieldLockStatusListener: Yt, lockedByUser: Va } = vs(s.collab.room, s.collab.field);
|
|
18696
|
+
l.value = le, n.value = ke, qe(
|
|
18697
18697
|
Va,
|
|
18698
18698
|
(Ne) => {
|
|
18699
18699
|
d.value = Ne;
|
|
@@ -18705,8 +18705,8 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18705
18705
|
}
|
|
18706
18706
|
const u = D(!1), c = () => {
|
|
18707
18707
|
u.value === !0 || s.collabStatus === Ct.Inactive || (n.value(), u.value = !0);
|
|
18708
|
-
}, f = (
|
|
18709
|
-
u.value === !1 || s.collabStatus === Ct.Inactive || (l.value(
|
|
18708
|
+
}, f = (le) => {
|
|
18709
|
+
u.value === !1 || s.collabStatus === Ct.Inactive || (l.value(le), u.value = !1);
|
|
18710
18710
|
}, F = at(
|
|
18711
18711
|
lr,
|
|
18712
18712
|
void 0
|
|
@@ -18720,27 +18720,27 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18720
18720
|
}, { cachedExtSystemId: G } = Io(), Z = D(!1), ae = async () => {
|
|
18721
18721
|
if (!o.value.enabled || R(s.collab) || s.collabStatus === Ct.Inactive)
|
|
18722
18722
|
return Promise.resolve(!0);
|
|
18723
|
-
let
|
|
18724
|
-
const ke = () => Z.value ? Promise.resolve(!0) : (
|
|
18723
|
+
let le = 0;
|
|
18724
|
+
const ke = () => Z.value ? Promise.resolve(!0) : (le++, le < 50 ? new Promise((Yt) => setTimeout(() => Yt(ke()), 100)) : Promise.reject(!1));
|
|
18725
18725
|
return ke();
|
|
18726
|
-
}, Ve = async (
|
|
18726
|
+
}, Ve = async (le) => {
|
|
18727
18727
|
c();
|
|
18728
18728
|
const ke = F.value;
|
|
18729
18729
|
if (!R(ke))
|
|
18730
18730
|
try {
|
|
18731
|
-
await ae(), G.value = ke.extSystem, X.addByFiles(s.queueKey, ke.extSystem, ke.licence,
|
|
18731
|
+
await ae(), G.value = ke.extSystem, X.addByFiles(s.queueKey, ke.extSystem, ke.licence, le), x.value = s.queueKey;
|
|
18732
18732
|
} catch {
|
|
18733
18733
|
h("Unable to lock image widget by current user.");
|
|
18734
18734
|
}
|
|
18735
|
-
}, me = (
|
|
18735
|
+
}, me = (le) => {
|
|
18736
18736
|
const ke = F.value;
|
|
18737
|
-
R(ke) || (G.value = ke.extSystem, X.addByFiles(s.queueKey, ke.extSystem, ke.licence,
|
|
18737
|
+
R(ke) || (G.value = ke.extSystem, X.addByFiles(s.queueKey, ke.extSystem, ke.licence, le), x.value = s.queueKey);
|
|
18738
18738
|
}, { uploadSizes: Ke, uploadAccept: Oe } = bc(
|
|
18739
18739
|
Xe.Image,
|
|
18740
18740
|
F.value.extSystemConfig
|
|
18741
|
-
), Ae = async (
|
|
18742
|
-
if (w.value = Ss,
|
|
18743
|
-
P.value = xe(
|
|
18741
|
+
), Ae = async (le, ke, Yt = !1) => {
|
|
18742
|
+
if (w.value = Ss, le && te(P.value) || le && Yt) {
|
|
18743
|
+
P.value = xe(le), P.value && (w.value = A(bt(P.value)), s.expandMetadata && b.setImageDetail(bt(P.value)));
|
|
18744
18744
|
return;
|
|
18745
18745
|
}
|
|
18746
18746
|
if (ke) {
|
|
@@ -18758,20 +18758,20 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18758
18758
|
};
|
|
18759
18759
|
qe(
|
|
18760
18760
|
[() => s.image, r],
|
|
18761
|
-
async ([
|
|
18762
|
-
await Ae(
|
|
18761
|
+
async ([le, ke]) => {
|
|
18762
|
+
await Ae(le, ke);
|
|
18763
18763
|
},
|
|
18764
18764
|
{ immediate: !0 }
|
|
18765
18765
|
);
|
|
18766
|
-
const ue = async (
|
|
18766
|
+
const ue = async (le) => {
|
|
18767
18767
|
var Ne;
|
|
18768
18768
|
const ke = Qi();
|
|
18769
18769
|
z.value = !0, b.setImageDetail(null), O.value = !0;
|
|
18770
18770
|
let Yt = "", Va = "";
|
|
18771
|
-
if (
|
|
18772
|
-
if (!
|
|
18771
|
+
if (le.type === "asset") {
|
|
18772
|
+
if (!le.value[0] || !le.value[0].mainFile) return;
|
|
18773
18773
|
try {
|
|
18774
|
-
const pa = await ns(pe,
|
|
18774
|
+
const pa = await ns(pe, le.value[0].id);
|
|
18775
18775
|
Lt((Ne = pa.metadata.customData) == null ? void 0 : Ne.description) && (Yt = pa.metadata.customData.description.trim()), pa.authors.length > 0 && (Va = (await Fi(
|
|
18776
18776
|
pe,
|
|
18777
18777
|
ke.selectedSelectConfig.extSystem,
|
|
@@ -18786,18 +18786,18 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18786
18786
|
source: Va
|
|
18787
18787
|
},
|
|
18788
18788
|
dam: {
|
|
18789
|
-
damId:
|
|
18789
|
+
damId: le.value[0].mainFile.id,
|
|
18790
18790
|
regionPosition: 0,
|
|
18791
|
-
licenceId:
|
|
18791
|
+
licenceId: le.value[0].licence
|
|
18792
18792
|
},
|
|
18793
18793
|
position: 1
|
|
18794
18794
|
};
|
|
18795
18795
|
te(r.value) || (Ja.id = r.value), b.setImageDetail(Ja), z.value = !1, Te();
|
|
18796
18796
|
}
|
|
18797
|
-
}, fe = Xa(), { loading: we, dialog: Re } = _t(fe), { damClient: pe } = ot(), se = async (
|
|
18797
|
+
}, fe = Xa(), { loading: we, dialog: Re } = _t(fe), { damClient: pe } = ot(), se = async (le) => {
|
|
18798
18798
|
we.value = !0, Re.value = s.queueKey;
|
|
18799
18799
|
try {
|
|
18800
|
-
const ke = await Xo(pe,
|
|
18800
|
+
const ke = await Xo(pe, le), Yt = await il(pe, ke.licence);
|
|
18801
18801
|
Yt.extSystem && (G.value = Yt.extSystem), fe.setAsset(ke);
|
|
18802
18802
|
} catch (ke) {
|
|
18803
18803
|
Y(ke);
|
|
@@ -18810,10 +18810,10 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18810
18810
|
if (!te(b.imageDetail)) {
|
|
18811
18811
|
T.value = !0;
|
|
18812
18812
|
try {
|
|
18813
|
-
const
|
|
18814
|
-
O.value = !1, r.value =
|
|
18815
|
-
} catch (
|
|
18816
|
-
Y(
|
|
18813
|
+
const le = b.imageDetail.id ? await Oc(g, b.imageDetail.id, b.imageDetail) : await Pc(g, b.imageDetail);
|
|
18814
|
+
O.value = !1, r.value = le.id, b.setImageDetail(null), await Ae(le, le.id, !0), i("afterMetadataSaveSuccess"), l.value(le.id);
|
|
18815
|
+
} catch (le) {
|
|
18816
|
+
Y(le);
|
|
18817
18817
|
} finally {
|
|
18818
18818
|
T.value = !1;
|
|
18819
18819
|
}
|
|
@@ -18823,68 +18823,69 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18823
18823
|
if (s.callDeleteApiOnRemove) {
|
|
18824
18824
|
try {
|
|
18825
18825
|
await Rc(g, r.value), Q();
|
|
18826
|
-
} catch (
|
|
18827
|
-
Y(
|
|
18826
|
+
} catch (le) {
|
|
18827
|
+
Y(le);
|
|
18828
18828
|
}
|
|
18829
18829
|
return;
|
|
18830
18830
|
}
|
|
18831
18831
|
Q();
|
|
18832
18832
|
}
|
|
18833
18833
|
}, Te = () => {
|
|
18834
|
-
const
|
|
18835
|
-
te(
|
|
18836
|
-
}, dt = (
|
|
18837
|
-
|
|
18834
|
+
const le = b.imageDetail;
|
|
18835
|
+
te(le) || Ae(le, null, !0);
|
|
18836
|
+
}, dt = (le) => {
|
|
18837
|
+
le[0] && (te(r.value) || (le[0].id = r.value), b.setImageDetail(le[0]), O.value = !0, s.expandMetadata && Te());
|
|
18838
18838
|
}, Se = D(null), pt = () => {
|
|
18839
|
-
var
|
|
18839
|
+
var le;
|
|
18840
18840
|
if (!qs.value) {
|
|
18841
18841
|
if (c(), !s.expandOptions) {
|
|
18842
18842
|
L.value = !0;
|
|
18843
18843
|
return;
|
|
18844
18844
|
}
|
|
18845
|
-
(
|
|
18845
|
+
(le = Se.value) == null || le.activate();
|
|
18846
18846
|
}
|
|
18847
18847
|
}, Ma = D(null), Rs = () => {
|
|
18848
|
-
var
|
|
18849
|
-
(
|
|
18848
|
+
var le;
|
|
18849
|
+
(le = Ma.value) == null || le.confirm();
|
|
18850
18850
|
}, qi = () => {
|
|
18851
18851
|
c();
|
|
18852
18852
|
}, Za = _(() => O.value || U.value || E.value || x.value === s.queueKey), qs = _(() => !te(d.value));
|
|
18853
18853
|
return qe(
|
|
18854
18854
|
L,
|
|
18855
|
-
(
|
|
18856
|
-
|
|
18855
|
+
(le, ke) => {
|
|
18856
|
+
le === ke || le || Za.value || f(r.value);
|
|
18857
18857
|
},
|
|
18858
18858
|
{ immediate: !1 }
|
|
18859
18859
|
), qe(
|
|
18860
18860
|
Za,
|
|
18861
|
-
(
|
|
18862
|
-
|
|
18861
|
+
(le, ke) => {
|
|
18862
|
+
le === ke || le || f(r.value);
|
|
18863
18863
|
},
|
|
18864
18864
|
{ immediate: !1 }
|
|
18865
18865
|
), t({
|
|
18866
18866
|
metadataConfirm: Rs
|
|
18867
|
-
}), (
|
|
18867
|
+
}), (le, ke) => {
|
|
18868
18868
|
var Yt, Va;
|
|
18869
18869
|
return q(), B(ge, null, [
|
|
18870
18870
|
N("div", {
|
|
18871
|
-
class: Fe(["a-image-widget", { "a-image-widget--locked": qs.value }])
|
|
18871
|
+
class: Fe(["a-image-widget", { "a-image-widget--locked": qs.value }]),
|
|
18872
|
+
style: Dt(le.width ? "max-width: " + le.width + "px" : void 0)
|
|
18872
18873
|
}, [
|
|
18873
18874
|
N("div", NX, [
|
|
18874
|
-
|
|
18875
|
-
M(I(
|
|
18876
|
-
|
|
18875
|
+
le.label ? (q(), B("h4", UX, [
|
|
18876
|
+
M(I(le.label), 1),
|
|
18877
|
+
le.required ? (q(), B("span", jX)) : j("", !0)
|
|
18877
18878
|
])) : j("", !0),
|
|
18878
18879
|
N("div", HX, [
|
|
18879
|
-
qs.value &&
|
|
18880
|
+
qs.value && le.collab ? (q(), B("div", WX, [
|
|
18880
18881
|
m(Zt, {
|
|
18881
18882
|
id: d.value,
|
|
18882
|
-
users:
|
|
18883
|
+
users: le.collab.cachedUsers
|
|
18883
18884
|
}, null, 8, ["id", "users"])
|
|
18884
18885
|
])) : j("", !0),
|
|
18885
18886
|
N("div", null, [
|
|
18886
|
-
|
|
18887
|
-
S.value && !
|
|
18887
|
+
le.expandOptions ? (q(), B("div", GX, [
|
|
18888
|
+
S.value && !le.expandMetadata ? (q(), K(ie, {
|
|
18888
18889
|
key: 0,
|
|
18889
18890
|
class: "mr-2 mb-2",
|
|
18890
18891
|
onClick: $
|
|
@@ -18923,7 +18924,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18923
18924
|
]),
|
|
18924
18925
|
_: 1
|
|
18925
18926
|
}, 8, ["modelValue", "file-input-key", "accept", "max-sizes"]),
|
|
18926
|
-
|
|
18927
|
+
le.required ? (q(), B("span", QX)) : j("", !0)
|
|
18927
18928
|
])) : (q(), K(ie, {
|
|
18928
18929
|
key: 1,
|
|
18929
18930
|
variant: "text",
|
|
@@ -18957,7 +18958,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
18957
18958
|
default: p(() => {
|
|
18958
18959
|
var Ne;
|
|
18959
18960
|
return [
|
|
18960
|
-
S.value && !
|
|
18961
|
+
S.value && !le.expandMetadata ? (q(), K(Ze, {
|
|
18961
18962
|
key: 0,
|
|
18962
18963
|
onClick: $
|
|
18963
18964
|
}, {
|
|
@@ -19038,7 +19039,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
19038
19039
|
m(Pr, {
|
|
19039
19040
|
"lazy-src": V(Ss),
|
|
19040
19041
|
src: w.value,
|
|
19041
|
-
width:
|
|
19042
|
+
width: le.width,
|
|
19042
19043
|
cover: "",
|
|
19043
19044
|
"max-width": "100%",
|
|
19044
19045
|
class: "disable-radius"
|
|
@@ -19063,38 +19064,38 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
19063
19064
|
onOnDrop: Ve
|
|
19064
19065
|
}, null, 8, ["accept", "max-sizes", "hide-text"])
|
|
19065
19066
|
]),
|
|
19066
|
-
le
|
|
19067
|
+
de(le.$slots, "append", { image: P.value }),
|
|
19067
19068
|
m(Dq, {
|
|
19068
19069
|
ref_key: "detailDialogMetadataComponent",
|
|
19069
19070
|
ref: Ma,
|
|
19070
19071
|
modelValue: O.value,
|
|
19071
19072
|
"onUpdate:modelValue": ke[3] || (ke[3] = (Ne) => O.value = Ne),
|
|
19072
|
-
expand:
|
|
19073
|
+
expand: le.expandMetadata,
|
|
19073
19074
|
saving: T.value,
|
|
19074
19075
|
loading: z.value,
|
|
19075
19076
|
onEditAsset: se,
|
|
19076
19077
|
onOnConfirm: nt,
|
|
19077
19078
|
onOnClose: Ye
|
|
19078
19079
|
}, null, 8, ["modelValue", "expand", "saving", "loading"])
|
|
19079
|
-
],
|
|
19080
|
+
], 6),
|
|
19080
19081
|
m(sc, {
|
|
19081
19082
|
modelValue: U.value,
|
|
19082
19083
|
"onUpdate:modelValue": ke[4] || (ke[4] = (Ne) => U.value = Ne),
|
|
19083
|
-
"select-licences":
|
|
19084
|
+
"select-licences": le.selectLicences,
|
|
19084
19085
|
"min-count": 1,
|
|
19085
19086
|
"max-count": 1,
|
|
19086
19087
|
"asset-type": V(Xe).Image,
|
|
19087
19088
|
"return-type": "asset",
|
|
19088
19089
|
onOnConfirm: ue
|
|
19089
19090
|
}, null, 8, ["modelValue", "select-licences", "asset-type"]),
|
|
19090
|
-
V(Re) ===
|
|
19091
|
+
V(Re) === le.queueKey ? (q(), K(pm, {
|
|
19091
19092
|
key: 0,
|
|
19092
|
-
"queue-key":
|
|
19093
|
+
"queue-key": le.queueKey,
|
|
19093
19094
|
"ext-system": V(G)
|
|
19094
19095
|
}, null, 8, ["queue-key", "ext-system"])) : j("", !0),
|
|
19095
|
-
V(x) ===
|
|
19096
|
+
V(x) === le.queueKey && V(F) ? (q(), K(RX, {
|
|
19096
19097
|
key: 1,
|
|
19097
|
-
"queue-key":
|
|
19098
|
+
"queue-key": le.queueKey,
|
|
19098
19099
|
"ext-system": V(F).extSystem,
|
|
19099
19100
|
"licence-id": V(F).licence,
|
|
19100
19101
|
"file-input-key": ((Va = y.value) == null ? void 0 : Va.fileInputKey) ?? -1,
|
|
@@ -19168,7 +19169,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
19168
19169
|
var Y;
|
|
19169
19170
|
(Y = F.value) == null || Y.metadataConfirm();
|
|
19170
19171
|
}
|
|
19171
|
-
}), (Y, h) => r.value === "ready" ? (q(), K(iA,
|
|
19172
|
+
}), (Y, h) => r.value === "ready" ? (q(), K(iA, Tt({
|
|
19172
19173
|
key: 0,
|
|
19173
19174
|
ref_key: "innerComponent",
|
|
19174
19175
|
ref: F
|
|
@@ -19177,7 +19178,7 @@ const pX = { key: 0 }, vX = /* @__PURE__ */ W({
|
|
|
19177
19178
|
onAfterMetadataSaveSuccess: h[1] || (h[1] = (C) => i("afterMetadataSaveSuccess"))
|
|
19178
19179
|
}), {
|
|
19179
19180
|
append: p(({ image: C }) => [
|
|
19180
|
-
|
|
19181
|
+
de(Y.$slots, "append", { image: C })
|
|
19181
19182
|
]),
|
|
19182
19183
|
_: 3
|
|
19183
19184
|
}, 16)) : r.value === "error" ? (q(), B("div", rA, " Loading DAM config error ")) : r.value === "uploadNotAllowed" ? (q(), B("div", oA, " DAM access rights error ")) : (q(), K(tt, {
|
|
@@ -20247,7 +20248,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20247
20248
|
onFilesInput: $[0] || ($[0] = (G) => s("onFilesInput", G))
|
|
20248
20249
|
}, {
|
|
20249
20250
|
activator: p(({ props: G }) => [
|
|
20250
|
-
m(ie,
|
|
20251
|
+
m(ie, Tt({
|
|
20251
20252
|
tabindex: "-1",
|
|
20252
20253
|
icon: "",
|
|
20253
20254
|
variant: "text",
|
|
@@ -20402,7 +20403,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20402
20403
|
]),
|
|
20403
20404
|
_: 1
|
|
20404
20405
|
}),
|
|
20405
|
-
m(
|
|
20406
|
+
m(Kt, null, {
|
|
20406
20407
|
default: p(() => [
|
|
20407
20408
|
m(it),
|
|
20408
20409
|
m(A, {
|
|
@@ -20637,7 +20638,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20637
20638
|
onFilesInput: L
|
|
20638
20639
|
}, {
|
|
20639
20640
|
activator: p(({ props: lt }) => [
|
|
20640
|
-
m(ie,
|
|
20641
|
+
m(ie, Tt({
|
|
20641
20642
|
ref_key: "uploadButtonComponent",
|
|
20642
20643
|
ref: c
|
|
20643
20644
|
}, lt), {
|
|
@@ -20772,7 +20773,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
20772
20773
|
const F = D(null), v = async () => F.value ? await F.value.saveImages() : !1;
|
|
20773
20774
|
return Ri(lr, f), t({
|
|
20774
20775
|
saveImages: v
|
|
20775
|
-
}), (Y, h) => r.value === "ready" ? (q(), K(oy,
|
|
20776
|
+
}), (Y, h) => r.value === "ready" ? (q(), K(oy, Tt({
|
|
20776
20777
|
key: 0,
|
|
20777
20778
|
ref_key: "innerComponent",
|
|
20778
20779
|
ref: F
|
|
@@ -21004,7 +21005,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
21004
21005
|
setup(a) {
|
|
21005
21006
|
const t = a, e = _(() => vo(t.item, t.column.key)), s = _(() => typeof e.value == "boolean");
|
|
21006
21007
|
return (i, r) => (q(), B("td", null, [
|
|
21007
|
-
|
|
21008
|
+
de(i.$slots, V(Un)(i.column.key), { item: i.item }, () => [
|
|
21008
21009
|
s.value ? (q(), K(Zd, {
|
|
21009
21010
|
key: 0,
|
|
21010
21011
|
chip: "",
|
|
@@ -21049,7 +21050,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
21049
21050
|
column: c
|
|
21050
21051
|
}, {
|
|
21051
21052
|
[V(Un)(c.key)]: p(({ item: f }) => [
|
|
21052
|
-
|
|
21053
|
+
de(n.$slots, V(Un)(c.key), { item: f })
|
|
21053
21054
|
]),
|
|
21054
21055
|
_: 2
|
|
21055
21056
|
}, 1032, ["item", "column"]))), 128))
|
|
@@ -21063,7 +21064,7 @@ const IA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, _A = { clas
|
|
|
21063
21064
|
]),
|
|
21064
21065
|
_: 3
|
|
21065
21066
|
}),
|
|
21066
|
-
|
|
21067
|
+
de(n.$slots, "bottom")
|
|
21067
21068
|
], 64));
|
|
21068
21069
|
}
|
|
21069
21070
|
}), hy = ["createdAt", "modifiedAt"], Fy = {
|
|
@@ -23627,7 +23628,7 @@ function kK(a) {
|
|
|
23627
23628
|
return a;
|
|
23628
23629
|
}
|
|
23629
23630
|
async function IK() {
|
|
23630
|
-
(await import("./webfontloader-
|
|
23631
|
+
(await import("./webfontloader-CRRuAvmZ.js").then((t) => t.w)).load({
|
|
23631
23632
|
google: {
|
|
23632
23633
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
23633
23634
|
}
|
|
@@ -24480,4 +24481,4 @@ export {
|
|
|
24480
24481
|
oD as y,
|
|
24481
24482
|
ti as z
|
|
24482
24483
|
};
|
|
24483
|
-
//# sourceMappingURL=lib-
|
|
24484
|
+
//# sourceMappingURL=lib-BCcJ6y1Z.js.map
|