@anzusystems/common-admin 1.47.0-alpha3 → 1.47.0-alpha5
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-j7X_ApAh.js → lib-Dqo3ewqY.js} +485 -485
- package/dist/{lib-j7X_ApAh.js.map → lib-Dqo3ewqY.js.map} +1 -1
- package/dist/{webfontloader-kNngvlJT.js → webfontloader-veGH76ME.js} +2 -2
- package/dist/{webfontloader-kNngvlJT.js.map → webfontloader-veGH76ME.js.map} +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Hc = Object.defineProperty;
|
|
2
2
|
var Wc = (t, a, e) => a in t ? Hc(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e;
|
|
3
3
|
var Gi = (t, a, e) => (Wc(t, typeof a != "symbol" ? a + "" : a, e), e);
|
|
4
|
-
import { defineComponent as W, computed as S, openBlock as q, createBlock as E, withCtx as f, createTextVNode as $, toDisplayString as k, createElementBlock as P, createVNode as m, normalizeClass as fe, createCommentVNode as U, renderSlot as ce, createElementVNode as O, resolveComponent as Me, withModifiers as J, withDirectives as ua, vShow as Ma, isProxy as
|
|
4
|
+
import { defineComponent as W, computed as S, openBlock as q, createBlock as E, withCtx as f, createTextVNode as $, toDisplayString as k, createElementBlock as P, createVNode as m, normalizeClass as fe, createCommentVNode as U, renderSlot as ce, createElementVNode as O, resolveComponent as Me, withModifiers as J, withDirectives as ua, vShow as Ma, isProxy as qd, toRaw as Yt, isRef as ks, unref as p, Fragment as Ve, normalizeStyle as Mt, shallowRef as It, watch as Fe, ref as D, reactive as $a, onBeforeUnmount as _s, inject as Le, createSlots as ma, provide as _i, renderList as Ne, onMounted as xt, TransitionGroup as Yd, isVNode as Gc, mergeModels as Cs, useModel as ei, toRefs as ti, vModelText as ul, nextTick as Ut, pushScopeId as Zc, popScopeId as Jc, withKeys as Ka, mergeProps as ea, onUnmounted as xn, getCurrentInstance as Qc, readonly as As, createStaticVNode as Xd, resolveDynamicComponent as Pr, setBlockTracking as cl, toRef as Rr, Teleport as em, normalizeProps as tm, guardReactiveProps as am } from "vue";
|
|
5
5
|
import { useI18n as te, createI18n as sm } from "vue-i18n";
|
|
6
6
|
import { VChip as ca } from "vuetify/lib/components/VChip/index.mjs";
|
|
7
7
|
import { VRow as ve, VCol as ue, VSpacer as tt } from "vuetify/lib/components/VGrid/index.mjs";
|
|
@@ -10,20 +10,20 @@ import { VIcon as oe } from "vuetify/lib/components/VIcon/index.mjs";
|
|
|
10
10
|
import { VCard as Oe, VCardText as rs, VCardActions as _t, VCardItem as go } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
11
|
import { VAvatar as tn } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
12
12
|
import { VProgressCircular as st } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
13
|
-
import { useEventBus as jt, useFetch as im, watchDebounced as wn, useClipboard as
|
|
13
|
+
import { useEventBus as jt, useFetch as im, watchDebounced as wn, useClipboard as Ad, useStorage as yd, useIntervalFn as rm, tryOnMounted as om, tryOnScopeDispose as nm, unrefElement as lm, defaultDocument as dm, toValue as ml, useDropZone as um, useWebSocket as cm, useDebounceFn as mm } from "@vueuse/core";
|
|
14
14
|
import { VTextField as ai } from "vuetify/lib/components/VTextField/index.mjs";
|
|
15
|
-
import { VTextarea as
|
|
15
|
+
import { VTextarea as bd } from "vuetify/lib/components/VTextarea/index.mjs";
|
|
16
16
|
import { VBtn as se } from "vuetify/lib/components/VBtn/index.mjs";
|
|
17
17
|
import { VBtnToggle as Or } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
18
18
|
import { VList as Qt, VListItem as at, VListItemTitle as ss, VListItemSubtitle as fm } from "vuetify/lib/components/VList/index.mjs";
|
|
19
19
|
import { VMenu as ta } from "vuetify/lib/components/VMenu/index.mjs";
|
|
20
20
|
import { VTooltip as Ae } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
21
|
-
import { VToolbar as os, VToolbarTitle as
|
|
21
|
+
import { VToolbar as os, VToolbarTitle as Cd } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
22
22
|
import { useRouter as kn } from "vue-router";
|
|
23
23
|
import zr from "axios";
|
|
24
24
|
import { VDialog as ct } from "vuetify/lib/components/VDialog/index.mjs";
|
|
25
25
|
import aa, { useVuelidate as Vm } from "@vuelidate/core";
|
|
26
|
-
import { createI18nMessage as sa, between as pm, email as vm, maxLength as hm, maxValue as Fm, minLength as gm, minValue as qm, numeric as Ym, required as Xm, requiredIf as Am, helpers as
|
|
26
|
+
import { createI18nMessage as sa, between as pm, email as vm, maxLength as hm, maxValue as Fm, minLength as gm, minValue as qm, numeric as Ym, required as Xm, requiredIf as Am, helpers as xd, url as ym } from "@vuelidate/validators";
|
|
27
27
|
import { VDatePicker as bm } from "vuetify/lib/components/VDatePicker/index.mjs";
|
|
28
28
|
import { VCheckboxBtn as Ei } from "vuetify/lib/components/VCheckbox/index.mjs";
|
|
29
29
|
import { VExpandTransition as Cm } from "vuetify/lib/components/transitions/index.mjs";
|
|
@@ -35,17 +35,17 @@ import { VDivider as Ii } from "vuetify/lib/components/VDivider/index.mjs";
|
|
|
35
35
|
import { VAppBar as wm } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
36
36
|
import { VColorPicker as km } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
37
37
|
import { VSlider as _m } from "vuetify/lib/components/VSlider/index.mjs";
|
|
38
|
-
import { VTable as
|
|
38
|
+
import { VTable as wd } from "vuetify/lib/components/VTable/index.mjs";
|
|
39
39
|
import { defineStore as $i, storeToRefs as St } from "pinia";
|
|
40
40
|
import { VForm as Lr } from "vuetify/lib/components/VForm/index.mjs";
|
|
41
|
-
import { Intersect as
|
|
41
|
+
import { Intersect as kd } from "vuetify/lib/directives/index.mjs";
|
|
42
42
|
import { VCombobox as Im } from "vuetify/lib/components/VCombobox/index.mjs";
|
|
43
43
|
import { VImg as Cr } from "vuetify/lib/components/VImg/index.mjs";
|
|
44
44
|
import { VExpansionPanels as Sn, VExpansionPanel as Gs, VExpansionPanelText as Zs } from "vuetify/lib/components/VExpansionPanel/index.mjs";
|
|
45
45
|
import { VTabs as Kn, VTab as Si } from "vuetify/lib/components/VTabs/index.mjs";
|
|
46
46
|
import { VBtn as Zi, VChip as Sm } from "vuetify/components";
|
|
47
47
|
import { io as Km } from "socket.io-client";
|
|
48
|
-
const Dm = { key: 1 },
|
|
48
|
+
const Dm = { key: 1 }, _d = /* @__PURE__ */ W({
|
|
49
49
|
__name: "ABooleanValue",
|
|
50
50
|
props: {
|
|
51
51
|
value: { type: [Number, String, Boolean] },
|
|
@@ -168,13 +168,13 @@ const Dm = { key: 1 }, Id = /* @__PURE__ */ W({
|
|
|
168
168
|
_: 3
|
|
169
169
|
}, 8, ["title", "loading"]));
|
|
170
170
|
}
|
|
171
|
-
}), L = (t) => typeof t > "u", me = (t) => !L(t), ie = (t) => t === null, Nr = (t) => typeof t == "number", $t = (t) => typeof t == "string", ft = (t) => Array.isArray(t), Bm = (t) => typeof t == "function", an = (t) => typeof t == "boolean",
|
|
171
|
+
}), L = (t) => typeof t > "u", me = (t) => !L(t), ie = (t) => t === null, Nr = (t) => typeof t == "number", $t = (t) => typeof t == "string", ft = (t) => Array.isArray(t), Bm = (t) => typeof t == "function", an = (t) => typeof t == "boolean", Id = (t) => $t(t) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t), Pm = (t) => {
|
|
172
172
|
const a = parseFloat(t);
|
|
173
173
|
return !isNaN(t) && (a | 0) === a;
|
|
174
174
|
}, Ur = (t) => typeof t == "object" && !ft(t) && !ie(t), jr = (t) => Ur(t) ? Object.keys(t).length === 0 : !1, Rm = (t) => ft(t) && t.length === 0, sn = (t) => ie(t) || L(t) || t === "" || t === 0 || Rm(t) || jr(t), Ce = (t) => {
|
|
175
175
|
if (typeof structuredClone == "function")
|
|
176
176
|
try {
|
|
177
|
-
return
|
|
177
|
+
return qd(t) ? structuredClone(Yt(t)) : ks(t) ? structuredClone(p(t)) : structuredClone(t);
|
|
178
178
|
} catch {
|
|
179
179
|
return JSON.parse(JSON.stringify(t));
|
|
180
180
|
}
|
|
@@ -187,7 +187,7 @@ const Dm = { key: 1 }, Id = /* @__PURE__ */ W({
|
|
|
187
187
|
return a;
|
|
188
188
|
}
|
|
189
189
|
return Number.isNaN(e) ? a : e;
|
|
190
|
-
},
|
|
190
|
+
}, fl = (t, a = 0) => {
|
|
191
191
|
let e = a;
|
|
192
192
|
try {
|
|
193
193
|
e = Number.parseFloat(t);
|
|
@@ -222,7 +222,7 @@ const Dm = { key: 1 }, Id = /* @__PURE__ */ W({
|
|
|
222
222
|
const o = /^:([a-zA-Z0-9_-]+).*/, l = i.match(o);
|
|
223
223
|
ie(l) || !l[1] || L(a[l[1]]) || (e[r] = a[l[1]] + "");
|
|
224
224
|
}), e.join("/");
|
|
225
|
-
}, wI = (t) => t.replace(".", "-"), kI = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), xa = Symbol.for("anzu:SystemScope"), wa = Symbol.for("anzu:SubjectScope"), Hr = Symbol.for("anzu:CurrentUser"),
|
|
225
|
+
}, wI = (t) => t.replace(".", "-"), kI = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), xa = Symbol.for("anzu:SystemScope"), wa = Symbol.for("anzu:SubjectScope"), Hr = Symbol.for("anzu:CurrentUser"), Sd = Symbol.for("anzu:CustomAclResolver"), Kd = Symbol.for("anzu:AvailableLanguages"), Dd = Symbol.for("anzu:DefaultLanguage"), Lm = /* @__PURE__ */ O("div", null, null, -1), rn = /* @__PURE__ */ W({
|
|
226
226
|
__name: "AAnzuUserAvatar",
|
|
227
227
|
props: {
|
|
228
228
|
user: { default: void 0 },
|
|
@@ -304,36 +304,36 @@ const Dm = { key: 1 }, Id = /* @__PURE__ */ W({
|
|
|
304
304
|
function Dn() {
|
|
305
305
|
return jt(jm);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Td() {
|
|
308
308
|
return jt(Hm);
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Ed() {
|
|
311
311
|
return jt(
|
|
312
312
|
Wm
|
|
313
313
|
);
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Md() {
|
|
316
316
|
return jt(Gm);
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function $d() {
|
|
319
319
|
return jt(Zm);
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Bd() {
|
|
322
322
|
return jt(Jm);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Pd() {
|
|
325
325
|
return jt(Qm);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function Rd() {
|
|
328
328
|
return jt(ef);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Od() {
|
|
331
331
|
return jt(tf);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function zd() {
|
|
334
334
|
return jt(af);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Ld() {
|
|
337
337
|
return jt(sf);
|
|
338
338
|
}
|
|
339
339
|
const ga = {
|
|
@@ -357,18 +357,18 @@ const Ya = {
|
|
|
357
357
|
Occupied: "occupied",
|
|
358
358
|
Failed: "failed"
|
|
359
359
|
};
|
|
360
|
-
function
|
|
360
|
+
function Vl(t) {
|
|
361
361
|
return t.status === on.Ok;
|
|
362
362
|
}
|
|
363
|
-
const
|
|
363
|
+
const Nd = {
|
|
364
364
|
Ok: "ok",
|
|
365
365
|
Failed: "failed"
|
|
366
366
|
};
|
|
367
|
-
function
|
|
368
|
-
return t.status ===
|
|
367
|
+
function pl(t) {
|
|
368
|
+
return t.status === Nd.Ok;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
return t.status ===
|
|
370
|
+
function vl(t) {
|
|
371
|
+
return t.status === Nd.Failed;
|
|
372
372
|
}
|
|
373
373
|
const _I = {
|
|
374
374
|
Free: "free",
|
|
@@ -392,36 +392,36 @@ function Ht() {
|
|
|
392
392
|
collabOptions: nn
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
const
|
|
395
|
+
const hl = D(!0), lf = D(), df = $a(/* @__PURE__ */ new Map()), uf = $a(/* @__PURE__ */ new Map()), qo = $a(/* @__PURE__ */ new Map());
|
|
396
396
|
function Wr() {
|
|
397
397
|
const { collabOptions: t } = Ht();
|
|
398
398
|
return {
|
|
399
|
-
collabReconnecting: S(() => t.value.enabled && !
|
|
400
|
-
collabConnected:
|
|
399
|
+
collabReconnecting: S(() => t.value.enabled && !hl.value),
|
|
400
|
+
collabConnected: hl,
|
|
401
401
|
collabSocket: lf,
|
|
402
402
|
collabRoomInfoState: df,
|
|
403
403
|
collabFieldLocksState: uf,
|
|
404
404
|
collabFieldDataBufferState: qo,
|
|
405
405
|
gatherBufferData: (s) => {
|
|
406
|
-
|
|
406
|
+
Md().emit({ room: s });
|
|
407
407
|
let r = {};
|
|
408
408
|
const o = qo.get(s);
|
|
409
409
|
return o && (r = Yt(Object.fromEntries(o.entries())), qo.delete(s)), r;
|
|
410
410
|
}
|
|
411
411
|
};
|
|
412
412
|
}
|
|
413
|
-
const
|
|
414
|
-
function
|
|
413
|
+
const Fl = D(null);
|
|
414
|
+
function Ud() {
|
|
415
415
|
function t(a) {
|
|
416
|
-
|
|
416
|
+
Fl.value = a;
|
|
417
417
|
}
|
|
418
418
|
return {
|
|
419
419
|
setCollabUserCurrentId: t,
|
|
420
|
-
currentUserId:
|
|
420
|
+
currentUserId: Fl
|
|
421
421
|
};
|
|
422
422
|
}
|
|
423
423
|
function ns(t, a) {
|
|
424
|
-
const { collabOptions: e } = Ht(), { currentUserId: s } =
|
|
424
|
+
const { collabOptions: e } = Ht(), { currentUserId: s } = Ud(), { collabSocket: i, collabFieldLocksState: r, collabFieldDataBufferState: o, collabRoomInfoState: l } = Wr(), n = Dn(), d = D(), c = D(), u = of(), V = D(), Y = D(), v = Md(), h = D(), F = D(), b = (I, R) => {
|
|
425
425
|
I.room !== t || I.field !== a || L(R) || L(c.value) || c.value(R);
|
|
426
426
|
}, g = (I, R) => {
|
|
427
427
|
I.room !== t || I.field !== a || L(R) || L(Y.value) || Y.value(R);
|
|
@@ -459,12 +459,12 @@ function ns(t, a) {
|
|
|
459
459
|
R && R.status === Ya.Inactive || (T = i.value) == null || T.timeout(1e3).emit("acquireFieldLock", t, a, I, (_, y) => {
|
|
460
460
|
var K;
|
|
461
461
|
const C = { field: a, room: t };
|
|
462
|
-
if (_ ||
|
|
462
|
+
if (_ || vl(y))
|
|
463
463
|
return void u.emit(
|
|
464
464
|
C,
|
|
465
465
|
Ji(ga.Acquire, qa.Failure)
|
|
466
466
|
);
|
|
467
|
-
if (
|
|
467
|
+
if (pl(y)) {
|
|
468
468
|
r.has(t) || r.set(t, /* @__PURE__ */ new Map());
|
|
469
469
|
const B = new Map(Object.entries(y.locks));
|
|
470
470
|
for (const [j, G] of B.entries())
|
|
@@ -488,12 +488,12 @@ function ns(t, a) {
|
|
|
488
488
|
(y = i.value) == null || y.timeout(1e3).emit("releaseFieldLock", t, a, I, R, (C, K) => {
|
|
489
489
|
var j;
|
|
490
490
|
const B = { field: a, room: t };
|
|
491
|
-
if (C ||
|
|
491
|
+
if (C || vl(K))
|
|
492
492
|
return void u.emit(
|
|
493
493
|
B,
|
|
494
494
|
Ji(ga.Release, qa.Failure)
|
|
495
495
|
);
|
|
496
|
-
if (
|
|
496
|
+
if (pl(K)) {
|
|
497
497
|
r.has(t) || r.set(t, /* @__PURE__ */ new Map());
|
|
498
498
|
for (const G of Object.keys(K.locks))
|
|
499
499
|
(j = r.get(t)) == null || j.delete(G);
|
|
@@ -706,7 +706,7 @@ const cf = {
|
|
|
706
706
|
var A, X;
|
|
707
707
|
return me(e.required) ? e.required : !!((A = e.v) != null && A.required && ((X = e.v) == null ? void 0 : X.required.$params.type) === "required");
|
|
708
708
|
}), g = S(() => me(e.disabled) ? e.disabled : !!n.value);
|
|
709
|
-
return (A, X) => (q(), E(
|
|
709
|
+
return (A, X) => (q(), E(bd, {
|
|
710
710
|
ref_key: "textareaRef",
|
|
711
711
|
ref: i,
|
|
712
712
|
"prepend-icon": A.prependIcon,
|
|
@@ -1055,7 +1055,7 @@ const cf = {
|
|
|
1055
1055
|
color: "transparent"
|
|
1056
1056
|
}, {
|
|
1057
1057
|
default: f(() => [
|
|
1058
|
-
m(
|
|
1058
|
+
m(Cd, { class: "flex-fill" }, {
|
|
1059
1059
|
default: f(() => [
|
|
1060
1060
|
ce(i.$slots, "default")
|
|
1061
1061
|
]),
|
|
@@ -1101,7 +1101,7 @@ const cf = {
|
|
|
1101
1101
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
1102
1102
|
}
|
|
1103
1103
|
})();
|
|
1104
|
-
const
|
|
1104
|
+
const jd = /* @__PURE__ */ new Map();
|
|
1105
1105
|
class Xf {
|
|
1106
1106
|
constructor(a, e, s) {
|
|
1107
1107
|
this.remaining = e, this.callback = a, this.notifyItem = s, this.resume();
|
|
@@ -1129,7 +1129,7 @@ function Af(t) {
|
|
|
1129
1129
|
});
|
|
1130
1130
|
} };
|
|
1131
1131
|
}
|
|
1132
|
-
const wr = Af(), Yo = "[-+]?[0-9]*.?[0-9]+",
|
|
1132
|
+
const wr = Af(), Yo = "[-+]?[0-9]*.?[0-9]+", gl = [
|
|
1133
1133
|
{
|
|
1134
1134
|
name: "px",
|
|
1135
1135
|
regexp: new RegExp(`^${Yo}px$`)
|
|
@@ -1152,8 +1152,8 @@ const wr = Af(), Yo = "[-+]?[0-9]*.?[0-9]+", ql = [
|
|
|
1152
1152
|
type: t,
|
|
1153
1153
|
value: 0
|
|
1154
1154
|
};
|
|
1155
|
-
for (let a = 0; a <
|
|
1156
|
-
const e =
|
|
1155
|
+
for (let a = 0; a < gl.length; a++) {
|
|
1156
|
+
const e = gl[a];
|
|
1157
1157
|
if (e.regexp.test(t))
|
|
1158
1158
|
return {
|
|
1159
1159
|
type: e.name,
|
|
@@ -1173,14 +1173,14 @@ const wr = Af(), Yo = "[-+]?[0-9]*.?[0-9]+", ql = [
|
|
|
1173
1173
|
default:
|
|
1174
1174
|
return { type: "", value: t };
|
|
1175
1175
|
}
|
|
1176
|
-
},
|
|
1176
|
+
}, ql = {
|
|
1177
1177
|
x: /* @__PURE__ */ new Set(["left", "center", "right"]),
|
|
1178
1178
|
y: /* @__PURE__ */ new Set(["top", "bottom"])
|
|
1179
1179
|
}, Cf = /* @__PURE__ */ ((t) => () => t++)(0), xf = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter(Boolean), wf = (t) => {
|
|
1180
1180
|
typeof t == "string" && (t = xf(t));
|
|
1181
1181
|
let a = null, e = null;
|
|
1182
1182
|
return t.forEach((s) => {
|
|
1183
|
-
|
|
1183
|
+
ql.y.has(s) && (e = s), ql.x.has(s) && (a = s);
|
|
1184
1184
|
}), { x: a, y: e };
|
|
1185
1185
|
}, Xo = {
|
|
1186
1186
|
position: ["top", "right"],
|
|
@@ -1222,7 +1222,7 @@ const wr = Af(), Yo = "[-+]?[0-9]*.?[0-9]+", ql = [
|
|
|
1222
1222
|
}, r = () => {
|
|
1223
1223
|
e("afterLeave");
|
|
1224
1224
|
};
|
|
1225
|
-
return () => m(
|
|
1225
|
+
return () => m(Yd, {
|
|
1226
1226
|
tag: "div",
|
|
1227
1227
|
css: !1,
|
|
1228
1228
|
name: t.name,
|
|
@@ -1247,7 +1247,7 @@ const wr = Af(), Yo = "[-+]?[0-9]*.?[0-9]+", ql = [
|
|
|
1247
1247
|
},
|
|
1248
1248
|
setup: (t, {
|
|
1249
1249
|
slots: a
|
|
1250
|
-
}) => () => m(
|
|
1250
|
+
}) => () => m(Yd, {
|
|
1251
1251
|
tag: "div",
|
|
1252
1252
|
name: t.name
|
|
1253
1253
|
}, {
|
|
@@ -1356,7 +1356,7 @@ const Qi = {
|
|
|
1356
1356
|
slots: e,
|
|
1357
1357
|
expose: s
|
|
1358
1358
|
}) => {
|
|
1359
|
-
const i = D([]), r = D(null), o =
|
|
1359
|
+
const i = D([]), r = D(null), o = jd.get("velocity"), l = S(() => t.animationType === "velocity"), n = S(() => l.value ? kf : _f), d = S(() => i.value.filter((I) => I.state !== Qi.DESTROYED)), c = S(() => bf(t.width)), u = S(() => {
|
|
1360
1360
|
const {
|
|
1361
1361
|
x: I,
|
|
1362
1362
|
y: R
|
|
@@ -1484,30 +1484,30 @@ Zt.close = (t) => {
|
|
|
1484
1484
|
};
|
|
1485
1485
|
const Kf = "Notifications";
|
|
1486
1486
|
function Df(t, a = {}) {
|
|
1487
|
-
Object.entries(a).forEach((s) =>
|
|
1487
|
+
Object.entries(a).forEach((s) => jd.set(...s));
|
|
1488
1488
|
const e = a.name || "notify";
|
|
1489
1489
|
t.config.globalProperties["$" + e] = Zt, t.component(a.componentName || Kf, Sf);
|
|
1490
1490
|
}
|
|
1491
1491
|
const Tf = {
|
|
1492
1492
|
install: Df
|
|
1493
|
-
},
|
|
1493
|
+
}, Yl = ["en", "sk"], Se = sm({
|
|
1494
1494
|
globalInjection: !1,
|
|
1495
1495
|
legacy: !1,
|
|
1496
|
-
locale:
|
|
1496
|
+
locale: Yl[0],
|
|
1497
1497
|
fallbackLocale: !1,
|
|
1498
1498
|
missing: (t, a) => {
|
|
1499
|
-
|
|
1499
|
+
Yl.includes(t) && console.warn(`Missing ${t} translation: ${a}`);
|
|
1500
1500
|
}
|
|
1501
|
-
}),
|
|
1501
|
+
}), Hd = (t) => t instanceof Xt;
|
|
1502
1502
|
class Xt extends Error {
|
|
1503
1503
|
constructor(a, e = "") {
|
|
1504
1504
|
super(e), this.name = "AnzuFatalError", this.cause = a, this.message = e;
|
|
1505
1505
|
}
|
|
1506
1506
|
}
|
|
1507
|
-
const Is = 200, Tn = 201, Pa = 204, DI = 400, TI = 401, Ef = 403,
|
|
1507
|
+
const Is = 200, Tn = 201, Pa = 204, DI = 400, TI = 401, Ef = 403, Wd = 422, Mf = [Is, Tn, Pa], Ra = (t) => {
|
|
1508
1508
|
var a;
|
|
1509
1509
|
return zr.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) === Ef;
|
|
1510
|
-
},
|
|
1510
|
+
}, Gd = (t) => t instanceof ka;
|
|
1511
1511
|
class ka extends Error {
|
|
1512
1512
|
constructor(a, e = "") {
|
|
1513
1513
|
super(e), this.name = "AnzuApiForbiddenError", this.cause = a, this.message = e;
|
|
@@ -1515,8 +1515,8 @@ class ka extends Error {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
const $f = "validation_failed", _a = (t) => {
|
|
1517
1517
|
var a, e, s;
|
|
1518
|
-
return zr.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) ===
|
|
1519
|
-
},
|
|
1518
|
+
return zr.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) === Wd && ((e = t.response.data) == null ? void 0 : e.error) === $f && ((s = t.response.data) == null ? void 0 : s.fields);
|
|
1519
|
+
}, Zd = (t) => t instanceof Ia;
|
|
1520
1520
|
function Bf(t, a, e) {
|
|
1521
1521
|
var r;
|
|
1522
1522
|
const s = (r = t.response) == null ? void 0 : r.data, i = [];
|
|
@@ -1534,7 +1534,7 @@ class Ia extends Error {
|
|
|
1534
1534
|
this.name = "AnzuApiValidationError", this.cause = r, this.message = o, this.fields = Bf(e, s, i);
|
|
1535
1535
|
}
|
|
1536
1536
|
}
|
|
1537
|
-
const
|
|
1537
|
+
const Jd = (t) => t instanceof Oa;
|
|
1538
1538
|
class Oa extends Error {
|
|
1539
1539
|
constructor(e, s, i) {
|
|
1540
1540
|
super(i);
|
|
@@ -1544,7 +1544,7 @@ class Oa extends Error {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
const Pf = "forbidden_operation_error", za = (t) => {
|
|
1546
1546
|
var a, e, s;
|
|
1547
|
-
return zr.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) ===
|
|
1547
|
+
return zr.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) === Wd && ((e = t.response.data) == null ? void 0 : e.error) === Pf && ((s = t.response.data) == null ? void 0 : s.detail);
|
|
1548
1548
|
}, Rf = (t) => t instanceof Sa;
|
|
1549
1549
|
function Of(t) {
|
|
1550
1550
|
var e;
|
|
@@ -1557,7 +1557,7 @@ class Sa extends Error {
|
|
|
1557
1557
|
this.name = "AnzuApiForbiddenOperationError", this.cause = s, this.message = i, this.detail = Of(e);
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
|
-
const oa = 3,
|
|
1560
|
+
const oa = 3, Qd = `
|
|
1561
1561
|
`;
|
|
1562
1562
|
function Ue() {
|
|
1563
1563
|
const t = (h, F = oa) => {
|
|
@@ -1633,7 +1633,7 @@ function Ue() {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
Zt({
|
|
1635
1635
|
group: "alerts",
|
|
1636
|
-
text: X.join(
|
|
1636
|
+
text: X.join(Qd),
|
|
1637
1637
|
duration: F * 1e3,
|
|
1638
1638
|
type: "error"
|
|
1639
1639
|
});
|
|
@@ -1678,7 +1678,7 @@ function Ue() {
|
|
|
1678
1678
|
showApiForbiddenOperationError: u,
|
|
1679
1679
|
showUnknownError: V,
|
|
1680
1680
|
showForbiddenError: Y,
|
|
1681
|
-
showErrorsDefault: (h) =>
|
|
1681
|
+
showErrorsDefault: (h) => Gd(h) ? (Y(), !0) : Zd(h) ? (c(h.fields), !0) : Rf(h) ? (u(h.detail), !0) : Hd(h) || Jd(h) ? (V(), !0) : !1
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
1684
|
const EI = /* @__PURE__ */ W({
|
|
@@ -1872,7 +1872,7 @@ var Gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1872
1872
|
function Zr(t) {
|
|
1873
1873
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1874
1874
|
}
|
|
1875
|
-
var
|
|
1875
|
+
var eu = { exports: {} };
|
|
1876
1876
|
(function(t, a) {
|
|
1877
1877
|
(function(e, s) {
|
|
1878
1878
|
t.exports = s();
|
|
@@ -2161,10 +2161,10 @@ var tu = { exports: {} };
|
|
|
2161
2161
|
return H(1e3 * _);
|
|
2162
2162
|
}, H.en = x[w], H.Ls = x, H.p = {}, H;
|
|
2163
2163
|
});
|
|
2164
|
-
})(
|
|
2165
|
-
var Wf =
|
|
2164
|
+
})(eu);
|
|
2165
|
+
var Wf = eu.exports;
|
|
2166
2166
|
const De = /* @__PURE__ */ Zr(Wf);
|
|
2167
|
-
var
|
|
2167
|
+
var tu = { exports: {} };
|
|
2168
2168
|
(function(t, a) {
|
|
2169
2169
|
(function(e, s) {
|
|
2170
2170
|
t.exports = s();
|
|
@@ -2244,10 +2244,10 @@ var au = { exports: {} };
|
|
|
2244
2244
|
};
|
|
2245
2245
|
};
|
|
2246
2246
|
});
|
|
2247
|
-
})(
|
|
2248
|
-
var Gf =
|
|
2249
|
-
const
|
|
2250
|
-
var
|
|
2247
|
+
})(tu);
|
|
2248
|
+
var Gf = tu.exports;
|
|
2249
|
+
const au = /* @__PURE__ */ Zr(Gf);
|
|
2250
|
+
var su = { exports: {} };
|
|
2251
2251
|
(function(t, a) {
|
|
2252
2252
|
(function(e, s) {
|
|
2253
2253
|
t.exports = s();
|
|
@@ -2376,11 +2376,11 @@ var iu = { exports: {} };
|
|
|
2376
2376
|
};
|
|
2377
2377
|
};
|
|
2378
2378
|
});
|
|
2379
|
-
})(
|
|
2380
|
-
var Zf =
|
|
2381
|
-
const
|
|
2382
|
-
De.extend(
|
|
2383
|
-
De.extend(
|
|
2379
|
+
})(su);
|
|
2380
|
+
var Zf = su.exports;
|
|
2381
|
+
const iu = /* @__PURE__ */ Zr(Zf);
|
|
2382
|
+
De.extend(au);
|
|
2383
|
+
De.extend(iu);
|
|
2384
2384
|
const is = ".000000Z", kr = "YYYY-MM-DDTHH:mm:ss", Jr = "1970-01-01T00:00:00.000000Z", Qr = "2100-01-01T00:00:00.000000Z", BI = () => De().utc().toDate(), PI = (t) => De(t).toDate(), RI = () => Js(De().utc().unix()), Bt = (t = !0, a = !1) => t && !a ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + is : t && a ? De().utc().format("YYYY-MM-DDTHH:mm:00") + is : !t && a ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", OI = (t = 0) => t === 0 ? De().startOf("day").utc().format(kr) + is : De().add(t, "days").startOf("day").utc().format(kr) + is, zI = (t = 0) => t === 0 ? De().endOf("day").utc().format(kr) + is : De().add(t, "days").endOf("day").utc().format(kr) + is, LI = (t = 0, a = null) => (a === null && (a = /* @__PURE__ */ new Date()), t === 0 ? a : t > 0 ? De(a).add(t, "minutes").toDate() : t < 0 ? De(a).subtract(Math.abs(t), "minutes").toDate() : a), NI = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + is, UI = () => De().utc().format("YYYY"), xs = (t, a = "") => t === Qr || t === Jr || t === "" || ie(t) || L(t) ? a : De(t).format("DD.MM.YYYY HH:mm"), jI = (t, a = "") => {
|
|
2385
2385
|
if (t === Qr || t === Jr || t === "" || ie(t) || L(t))
|
|
2386
2386
|
return a;
|
|
@@ -2470,7 +2470,7 @@ function si() {
|
|
|
2470
2470
|
}
|
|
2471
2471
|
};
|
|
2472
2472
|
}
|
|
2473
|
-
const
|
|
2473
|
+
const ru = /* @__PURE__ */ W({
|
|
2474
2474
|
__name: "AFilterString",
|
|
2475
2475
|
props: {
|
|
2476
2476
|
modelValue: {},
|
|
@@ -2539,7 +2539,7 @@ const ou = /* @__PURE__ */ W({
|
|
|
2539
2539
|
}, F = (X) => {
|
|
2540
2540
|
if (Pm(X) && d(s))
|
|
2541
2541
|
return s.value;
|
|
2542
|
-
if (
|
|
2542
|
+
if (Id(X) && d(r))
|
|
2543
2543
|
return r.value;
|
|
2544
2544
|
if ($t(X) && X.length > 0) {
|
|
2545
2545
|
if (d(o) && X.startsWith("http"))
|
|
@@ -2809,7 +2809,7 @@ var gr = /* @__PURE__ */ ((t) => (t[t.Deny = 0] = "Deny", t[t.AllowOwner = 1] =
|
|
|
2809
2809
|
t.Default = 0
|
|
2810
2810
|
/* Deny */
|
|
2811
2811
|
] = "Default", t))(gr || {});
|
|
2812
|
-
function
|
|
2812
|
+
function ou() {
|
|
2813
2813
|
const { t } = te(), a = D([
|
|
2814
2814
|
{
|
|
2815
2815
|
value: 0,
|
|
@@ -2847,7 +2847,7 @@ const tS = /* @__PURE__ */ W({
|
|
|
2847
2847
|
set(o) {
|
|
2848
2848
|
s("change", o);
|
|
2849
2849
|
}
|
|
2850
|
-
}), { getGrantOption: r } =
|
|
2850
|
+
}), { getGrantOption: r } = ou();
|
|
2851
2851
|
return (o, l) => (q(), E(Or, {
|
|
2852
2852
|
modelValue: i.value,
|
|
2853
2853
|
"onUpdate:modelValue": l[0] || (l[0] = (n) => i.value = n),
|
|
@@ -2878,7 +2878,7 @@ const tS = /* @__PURE__ */ W({
|
|
|
2878
2878
|
}, 8, ["modelValue"]));
|
|
2879
2879
|
}
|
|
2880
2880
|
});
|
|
2881
|
-
var
|
|
2881
|
+
var nu = /* @__PURE__ */ ((t) => (t.Role = "role", t.Group = "group", t.User = "user", t.DefaultGrant = "default", t.Default = "default", t))(nu || {});
|
|
2882
2882
|
function nV() {
|
|
2883
2883
|
const { t } = te(), a = D([
|
|
2884
2884
|
{
|
|
@@ -2913,7 +2913,7 @@ const lV = {
|
|
|
2913
2913
|
grantOrigin: {}
|
|
2914
2914
|
},
|
|
2915
2915
|
setup(t) {
|
|
2916
|
-
const a = t, { getGrantOption: e } =
|
|
2916
|
+
const a = t, { getGrantOption: e } = ou(), s = S(() => e(a.grant)), { getGrantOriginOption: i } = nV(), r = S(() => i(a.grantOrigin));
|
|
2917
2917
|
return (o, l) => s.value ? (q(), E(ca, {
|
|
2918
2918
|
key: 0,
|
|
2919
2919
|
color: s.value.color,
|
|
@@ -2924,17 +2924,17 @@ const lV = {
|
|
|
2924
2924
|
var n;
|
|
2925
2925
|
return [
|
|
2926
2926
|
$(k(s.value.title) + " ", 1),
|
|
2927
|
-
o.grantOrigin !== p(
|
|
2927
|
+
o.grantOrigin !== p(nu).DefaultGrant ? (q(), P("span", lV, "(" + k((n = r.value) == null ? void 0 : n.title) + ")", 1)) : U("", !0)
|
|
2928
2928
|
];
|
|
2929
2929
|
}),
|
|
2930
2930
|
_: 1
|
|
2931
2931
|
}, 8, ["color"])) : U("", !0);
|
|
2932
2932
|
}
|
|
2933
|
-
}),
|
|
2933
|
+
}), lu = (t) => {
|
|
2934
2934
|
const a = Object.getOwnPropertyNames(t);
|
|
2935
2935
|
for (const e of a) {
|
|
2936
2936
|
const s = t[e];
|
|
2937
|
-
s && typeof s == "object" &&
|
|
2937
|
+
s && typeof s == "object" && lu(s);
|
|
2938
2938
|
}
|
|
2939
2939
|
return Object.freeze(t);
|
|
2940
2940
|
}, sS = (t) => Object.keys(t).map((a) => t[a]), eo = (t, a, e = ".") => {
|
|
@@ -2972,7 +2972,7 @@ function iS(t, a, e = ".") {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
const uV = (t) => Ur(t) && Object.hasOwn(t, "owners"), cV = (t) => Object.hasOwn(t, "createdBy"), Mn = "ROLE_ADMIN";
|
|
2974
2974
|
function mV(t) {
|
|
2975
|
-
const a = L(t) || L(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (a ? Le(Hr, void 0) : void 0), s = (t == null ? void 0 : t.customAclProvider) ?? (a ? Le(
|
|
2975
|
+
const a = L(t) || L(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (a ? Le(Hr, void 0) : void 0), s = (t == null ? void 0 : t.customAclProvider) ?? (a ? Le(Sd, void 0) : void 0), i = (n, d) => {
|
|
2976
2976
|
if (L(e))
|
|
2977
2977
|
throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
|
|
2978
2978
|
if (me(s) && me(s.can))
|
|
@@ -3100,13 +3100,13 @@ function IV() {
|
|
|
3100
3100
|
}
|
|
3101
3101
|
const { t: SV } = Se.global;
|
|
3102
3102
|
function KV() {
|
|
3103
|
-
return sa({ t: SV })(
|
|
3103
|
+
return sa({ t: SV })(xd.regex(/^[a-z\-0-9/]+$/), {
|
|
3104
3104
|
messagePath: () => "error.jsValidation.slug"
|
|
3105
3105
|
});
|
|
3106
3106
|
}
|
|
3107
3107
|
const { t: DV } = Se.global;
|
|
3108
3108
|
function TV() {
|
|
3109
|
-
const t = sa({ t: DV }), a = (s, i) => (r) => !
|
|
3109
|
+
const t = sa({ t: DV }), a = (s, i) => (r) => !xd.req(r) || r.every((o) => o.length >= p(s) && o.length <= p(i));
|
|
3110
3110
|
return t((s, i) => ({
|
|
3111
3111
|
$validator: a(s, i),
|
|
3112
3112
|
// $message not required when using i18n
|
|
@@ -3211,7 +3211,7 @@ const $V = (t) => (Zc("data-v-8b2f16cf"), t = t(), Jc(), t), BV = { class: "a-da
|
|
|
3211
3211
|
onFocus: o,
|
|
3212
3212
|
onBlur: l
|
|
3213
3213
|
}, null, 544), [
|
|
3214
|
-
[
|
|
3214
|
+
[ul, s.value]
|
|
3215
3215
|
]),
|
|
3216
3216
|
O("div", RV, [
|
|
3217
3217
|
m(oe, {
|
|
@@ -3241,7 +3241,7 @@ const $V = (t) => (Zc("data-v-8b2f16cf"), t = t(), Jc(), t), BV = { class: "a-da
|
|
|
3241
3241
|
onFocus: o,
|
|
3242
3242
|
onBlur: n
|
|
3243
3243
|
}, null, 544), [
|
|
3244
|
-
[
|
|
3244
|
+
[ul, i.value]
|
|
3245
3245
|
]),
|
|
3246
3246
|
O("div", LV, [
|
|
3247
3247
|
m(oe, {
|
|
@@ -3281,7 +3281,7 @@ const $V = (t) => (Zc("data-v-8b2f16cf"), t = t(), Jc(), t), BV = { class: "a-da
|
|
|
3281
3281
|
emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose"],
|
|
3282
3282
|
setup(t, { emit: a }) {
|
|
3283
3283
|
const e = t, s = a;
|
|
3284
|
-
De.extend(
|
|
3284
|
+
De.extend(au), De.extend(iu);
|
|
3285
3285
|
const i = D(!1), r = D(0), o = D(0), l = D(null), n = D(""), d = D(null), c = D(null), u = D(null), { t: V } = te(), Y = S(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: v } = ls(), h = S(() => ({
|
|
3286
3286
|
textFieldValue: {
|
|
3287
3287
|
required: v(e.required)
|
|
@@ -4440,7 +4440,7 @@ const QV = {
|
|
|
4440
4440
|
}, null, 8, ["modelValue", "data-cy", "label", "items"]));
|
|
4441
4441
|
}
|
|
4442
4442
|
});
|
|
4443
|
-
var
|
|
4443
|
+
var du = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Processing = "processing", t.AwaitingBatchProcess = "awaiting_batch_process", t.Done = "done", t.Error = "error", t.Default = "waiting", t))(du || {});
|
|
4444
4444
|
function dp() {
|
|
4445
4445
|
const { t } = te(), a = D([
|
|
4446
4446
|
{
|
|
@@ -4508,7 +4508,7 @@ const up = /* @__PURE__ */ W({
|
|
|
4508
4508
|
LINK_EXTERNAL: "mdi-open-in-new"
|
|
4509
4509
|
}
|
|
4510
4510
|
}
|
|
4511
|
-
},
|
|
4511
|
+
}, Xl = lu(cp), mp = { key: 1 }, pS = /* @__PURE__ */ W({
|
|
4512
4512
|
__name: "ACachedChip",
|
|
4513
4513
|
props: {
|
|
4514
4514
|
id: { default: null },
|
|
@@ -4568,7 +4568,7 @@ const up = /* @__PURE__ */ W({
|
|
|
4568
4568
|
}, 8, ["size", "label"])) : (q(), E(ca, {
|
|
4569
4569
|
key: 3,
|
|
4570
4570
|
size: d.size,
|
|
4571
|
-
"append-icon": d.openInNew ? p(
|
|
4571
|
+
"append-icon": d.openInNew ? p(Xl).CHIP.ICON.LINK_EXTERNAL : p(Xl).CHIP.ICON.LINK,
|
|
4572
4572
|
label: d.forceRounded ? void 0 : !0,
|
|
4573
4573
|
onClick: J(n, ["stop"])
|
|
4574
4574
|
}, {
|
|
@@ -4655,7 +4655,7 @@ const vS = /* @__PURE__ */ W({
|
|
|
4655
4655
|
_: 1
|
|
4656
4656
|
}, 8, ["color"])) : U("", !0);
|
|
4657
4657
|
}
|
|
4658
|
-
}),
|
|
4658
|
+
}), uu = (t) => "" + t, pp = ["data-cy"], _r = /* @__PURE__ */ W({
|
|
4659
4659
|
__name: "ACopyText",
|
|
4660
4660
|
props: {
|
|
4661
4661
|
value: {},
|
|
@@ -4663,8 +4663,8 @@ const vS = /* @__PURE__ */ W({
|
|
|
4663
4663
|
dataCy: { default: "copy-text" }
|
|
4664
4664
|
},
|
|
4665
4665
|
setup(t) {
|
|
4666
|
-
const a = t, { copy: e, isSupported: s } =
|
|
4667
|
-
fa(l), s && (Nr(a.value) ? e(
|
|
4666
|
+
const a = t, { copy: e, isSupported: s } = Ad(), { showSuccess: i } = Ue(), { t: r } = te(), o = (l) => {
|
|
4667
|
+
fa(l), s && (Nr(a.value) ? e(uu(a.value)).then(() => {
|
|
4668
4668
|
i(r(a.notifyT));
|
|
4669
4669
|
}) : $t(a.value) && a.value.length && e(a.value).then(() => {
|
|
4670
4670
|
i(r(a.notifyT));
|
|
@@ -4706,7 +4706,7 @@ const vS = /* @__PURE__ */ W({
|
|
|
4706
4706
|
}, hp = {
|
|
4707
4707
|
key: 1,
|
|
4708
4708
|
class: "anzu-icon-group"
|
|
4709
|
-
}, Fp = { class: "anzu-icon-group__secondary-text" },
|
|
4709
|
+
}, Fp = { class: "anzu-icon-group__secondary-text" }, cu = /* @__PURE__ */ W({
|
|
4710
4710
|
__name: "AIconGroup",
|
|
4711
4711
|
props: {
|
|
4712
4712
|
mainIcon: {},
|
|
@@ -4738,7 +4738,7 @@ const vS = /* @__PURE__ */ W({
|
|
|
4738
4738
|
}, null, 8, ["size", "icon"])
|
|
4739
4739
|
]));
|
|
4740
4740
|
}
|
|
4741
|
-
}),
|
|
4741
|
+
}), mu = /* @__PURE__ */ W({
|
|
4742
4742
|
__name: "AChipNoLink",
|
|
4743
4743
|
props: {
|
|
4744
4744
|
color: { default: void 0 },
|
|
@@ -4792,7 +4792,7 @@ const vS = /* @__PURE__ */ W({
|
|
|
4792
4792
|
}
|
|
4793
4793
|
}), Xp = D(/* @__PURE__ */ new Set());
|
|
4794
4794
|
function Ap(t, a = !1, e = void 0, s = void 0) {
|
|
4795
|
-
const { collabSocket: i, collabRoomInfoState: r, collabFieldDataBufferState: o, collabFieldLocksState: l } = Wr(), n =
|
|
4795
|
+
const { collabSocket: i, collabRoomInfoState: r, collabFieldDataBufferState: o, collabFieldLocksState: l } = Wr(), n = Td(), d = D(), c = D(), u = Pd(), V = D(), Y = D(), v = $d(), h = D(), F = D(), b = Bd(), g = D(), A = D(), X = zd(), w = D(), x = D(), M = Rd(), z = D(), N = D(), H = Od(), I = D(), R = D(), T = Ld(), _ = D(), y = D(), C = Ed(), K = D(), B = D(), j = () => {
|
|
4796
4796
|
me(c.value) && c.value();
|
|
4797
4797
|
}, G = (re) => {
|
|
4798
4798
|
re.room === t && me(Y.value) && Y.value(re.userId, re.timestamp);
|
|
@@ -4850,10 +4850,10 @@ function Ap(t, a = !1, e = void 0, s = void 0) {
|
|
|
4850
4850
|
var pa;
|
|
4851
4851
|
if (!Te.value.enabled || L(i.value))
|
|
4852
4852
|
return Qe(on.Failed);
|
|
4853
|
-
(pa = i.value) == null || pa.timeout(5e3).emit("joinCollabRoom", t, re, (Rt, Ds) => Rt ? void Qe(on.Failed) :
|
|
4853
|
+
(pa = i.value) == null || pa.timeout(5e3).emit("joinCollabRoom", t, re, (Rt, Ds) => Rt ? void Qe(on.Failed) : Vl(Ds) ? (r.set(t, Ds.room), void $e(Ds.status)) : void Qe(Ds.status));
|
|
4854
4854
|
}), vt = () => {
|
|
4855
4855
|
!Te.value.enabled || L(i.value) || i.value.emit("leaveCollabRoom", t, (re) => {
|
|
4856
|
-
|
|
4856
|
+
Vl(re) && r.set(t, re.room);
|
|
4857
4857
|
});
|
|
4858
4858
|
}, At = () => {
|
|
4859
4859
|
var re;
|
|
@@ -4965,7 +4965,7 @@ const yp = { class: "ml-3" }, bp = { class: "ml-1" }, hS = /* @__PURE__ */ W({
|
|
|
4965
4965
|
transferModeration: F,
|
|
4966
4966
|
alertedOccupiedRooms: b
|
|
4967
4967
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
4968
|
-
} = Ap(a.collabRoom), { t: g } = te(), { showErrorT: A, showSuccessT: X } = Ue(), { currentUserId: w } =
|
|
4968
|
+
} = Ap(a.collabRoom), { t: g } = te(), { showErrorT: A, showSuccessT: X } = Ue(), { currentUserId: w } = Ud(), x = D([]), M = D([]), z = S(() => e.value.users.filter((qe) => qe !== w.value)), N = D(!1), H = D(!1), I = D(null), R = D(null), T = D(!1);
|
|
4969
4969
|
s(async (qe, ne) => {
|
|
4970
4970
|
me(a.addToCachedUsers) && a.addToCachedUsers(qe), me(a.fetchCachedUsers) && a.fetchCachedUsers(), M.value.includes(qe) || M.value.push(qe), x.value.push({ userId: qe, timestamp: ne });
|
|
4971
4971
|
}), l(() => {
|
|
@@ -5794,7 +5794,7 @@ const yp = { class: "ml-3" }, bp = { class: "ml-1" }, hS = /* @__PURE__ */ W({
|
|
|
5794
5794
|
onClick: J(s, ["stop"])
|
|
5795
5795
|
}, {
|
|
5796
5796
|
default: f(() => [
|
|
5797
|
-
m(
|
|
5797
|
+
m(cu, {
|
|
5798
5798
|
"main-icon": "mdi-content-save",
|
|
5799
5799
|
"secondary-icon": "mdi-close"
|
|
5800
5800
|
}),
|
|
@@ -5893,8 +5893,8 @@ const yp = { class: "ml-3" }, bp = { class: "ml-1" }, hS = /* @__PURE__ */ W({
|
|
|
5893
5893
|
size: { default: "x-small" }
|
|
5894
5894
|
},
|
|
5895
5895
|
setup(t) {
|
|
5896
|
-
const a = t, { t: e } = te(), { copy: s, isSupported: i } =
|
|
5897
|
-
fa(l), Nr(a.id) && a.id > 0 ? s(
|
|
5896
|
+
const a = t, { t: e } = te(), { copy: s, isSupported: i } = Ad(), { showSuccess: r } = Ue(), o = (l) => {
|
|
5897
|
+
fa(l), Nr(a.id) && a.id > 0 ? s(uu(a.id)).then(() => {
|
|
5898
5898
|
r(e(a.notifyT));
|
|
5899
5899
|
}) : $t(a.id) && a.id.length && s(a.id).then(() => {
|
|
5900
5900
|
r(e(a.notifyT));
|
|
@@ -5910,7 +5910,7 @@ const yp = { class: "ml-3" }, bp = { class: "ml-1" }, hS = /* @__PURE__ */ W({
|
|
|
5910
5910
|
onClick: J(o, ["stop"])
|
|
5911
5911
|
}, {
|
|
5912
5912
|
default: f(() => [
|
|
5913
|
-
m(
|
|
5913
|
+
m(cu, {
|
|
5914
5914
|
"secondary-text": p(e)(l.iconT),
|
|
5915
5915
|
"main-icon": "mdi-content-copy",
|
|
5916
5916
|
size: "small"
|
|
@@ -6121,20 +6121,20 @@ const yp = { class: "ml-3" }, bp = { class: "ml-1" }, hS = /* @__PURE__ */ W({
|
|
|
6121
6121
|
}
|
|
6122
6122
|
});
|
|
6123
6123
|
var Yi = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Yi || {}), kp = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(kp || {});
|
|
6124
|
-
const ln =
|
|
6124
|
+
const ln = yd(
|
|
6125
6125
|
"theme",
|
|
6126
6126
|
"light"
|
|
6127
6127
|
/* Light */
|
|
6128
|
-
),
|
|
6128
|
+
), fu = "(prefers-color-scheme: dark)", Ir = D(
|
|
6129
6129
|
Object.values(Yi).some((t) => t === ln.value) ? ln.value : "light"
|
|
6130
6130
|
/* Light */
|
|
6131
6131
|
), Xi = D(
|
|
6132
6132
|
"light"
|
|
6133
6133
|
/* Light */
|
|
6134
|
-
),
|
|
6134
|
+
), Vu = D(window.matchMedia && window.matchMedia(fu).matches), Ai = () => {
|
|
6135
6135
|
switch (Ir.value) {
|
|
6136
6136
|
case "auto":
|
|
6137
|
-
Xi.value =
|
|
6137
|
+
Xi.value = Vu.value ? "dark" : "light";
|
|
6138
6138
|
break;
|
|
6139
6139
|
case "light":
|
|
6140
6140
|
Xi.value = "light";
|
|
@@ -6148,8 +6148,8 @@ Ai();
|
|
|
6148
6148
|
const yo = (t) => {
|
|
6149
6149
|
Ir.value = t, ln.value = t;
|
|
6150
6150
|
};
|
|
6151
|
-
window.matchMedia(
|
|
6152
|
-
|
|
6151
|
+
window.matchMedia(fu).addEventListener("change", (t) => {
|
|
6152
|
+
Vu.value = t.matches, Ai();
|
|
6153
6153
|
});
|
|
6154
6154
|
const _p = S(() => Xi.value === "light" ? "white" : "#1A1A1A");
|
|
6155
6155
|
function Bi() {
|
|
@@ -6304,7 +6304,7 @@ const Ip = { key: 0 }, Sp = { key: 1 }, Kp = { key: 2 }, xS = /* @__PURE__ */ W(
|
|
|
6304
6304
|
title: "Translation ID",
|
|
6305
6305
|
adminOnly: !0
|
|
6306
6306
|
}
|
|
6307
|
-
], va =
|
|
6307
|
+
], va = yd("language", "default");
|
|
6308
6308
|
function Dp(t, a) {
|
|
6309
6309
|
va.value === "default" && (va.value = a);
|
|
6310
6310
|
function e(r, o) {
|
|
@@ -6335,7 +6335,7 @@ function Tp() {
|
|
|
6335
6335
|
const Ep = {
|
|
6336
6336
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6337
6337
|
viewBox: "0 0 900 600"
|
|
6338
|
-
}, Mp = /* @__PURE__ */
|
|
6338
|
+
}, Mp = /* @__PURE__ */ Xd('<path fill="#ee1c25" d="M0 0h900v600H0z"></path><path fill="#0b4ea2" d="M0 0h900v400H0z"></path><path fill="#fff" d="M0 0h900v200H0z"></path><path d="M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z" fill="#fff"></path><path d="M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z" fill="#ee1c25"></path><path d="M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z" fill="#fff"></path><path d="M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z" fill="#0b4ea2"></path>', 7), $p = [
|
|
6339
6339
|
Mp
|
|
6340
6340
|
], Bp = /* @__PURE__ */ W({
|
|
6341
6341
|
__name: "FlagSk",
|
|
@@ -6346,7 +6346,7 @@ const Ep = {
|
|
|
6346
6346
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6347
6347
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
6348
6348
|
viewBox: "0 0 7410 3900"
|
|
6349
|
-
}, Op = /* @__PURE__ */
|
|
6349
|
+
}, Op = /* @__PURE__ */ Xd('<path fill="#b22234" d="M0 0h7410v3900H0z"></path><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"></path><path fill="#3c3b6e" d="M0 0h2964v2100H0z"></path><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"></path><use xlink:href="#a" y="420"></use><use xlink:href="#a" y="840"></use><use xlink:href="#a" y="1260"></use></g><use xlink:href="#a" y="1680"></use></g><use xlink:href="#b" x="247" y="210"></use></g><use xlink:href="#c" x="494"></use></g><use xlink:href="#d" x="988"></use><use xlink:href="#c" x="1976"></use><use xlink:href="#e" x="2470"></use></g>', 4), zp = [
|
|
6350
6350
|
Op
|
|
6351
6351
|
];
|
|
6352
6352
|
function Lp(t, a) {
|
|
@@ -6365,7 +6365,7 @@ const Np = /* @__PURE__ */ La(Pp, [["render", Lp]]), Up = {}, jp = {
|
|
|
6365
6365
|
function Gp(t, a) {
|
|
6366
6366
|
return q(), P("svg", jp, Wp);
|
|
6367
6367
|
}
|
|
6368
|
-
const Zp = /* @__PURE__ */ La(Up, [["render", Gp]]), Jp = { class: "flag" },
|
|
6368
|
+
const Zp = /* @__PURE__ */ La(Up, [["render", Gp]]), Jp = { class: "flag" }, Al = /* @__PURE__ */ W({
|
|
6369
6369
|
__name: "FlagCountry",
|
|
6370
6370
|
props: {
|
|
6371
6371
|
code: { default: "xx" },
|
|
@@ -6390,7 +6390,7 @@ const Zp = /* @__PURE__ */ La(Up, [["render", Gp]]), Jp = { class: "flag" }, yl
|
|
|
6390
6390
|
__name: "ALanguageSelect",
|
|
6391
6391
|
emits: ["afterChange"],
|
|
6392
6392
|
setup(t, { emit: a }) {
|
|
6393
|
-
const e = a, s = Le(Hr), i = Le(
|
|
6393
|
+
const e = a, s = Le(Hr), i = Le(Kd), r = Le(Dd), { setLanguage: o } = Dp(i, r), { currentLanguageCode: l } = Tp(), n = (u) => {
|
|
6394
6394
|
o(u) && e("afterChange", u);
|
|
6395
6395
|
}, d = S(() => {
|
|
6396
6396
|
const u = qr.find((V) => V.code === l.value);
|
|
@@ -6418,7 +6418,7 @@ const Zp = /* @__PURE__ */ La(Up, [["render", Gp]]), Jp = { class: "flag" }, yl
|
|
|
6418
6418
|
default: f(() => {
|
|
6419
6419
|
var v;
|
|
6420
6420
|
return [
|
|
6421
|
-
m(
|
|
6421
|
+
m(Al, {
|
|
6422
6422
|
code: (v = d.value) == null ? void 0 : v.code
|
|
6423
6423
|
}, null, 8, ["code"])
|
|
6424
6424
|
];
|
|
@@ -6447,7 +6447,7 @@ const Zp = /* @__PURE__ */ La(Up, [["render", Gp]]), Jp = { class: "flag" }, yl
|
|
|
6447
6447
|
size: "30"
|
|
6448
6448
|
}, {
|
|
6449
6449
|
default: f(() => [
|
|
6450
|
-
m(
|
|
6450
|
+
m(Al, {
|
|
6451
6451
|
code: Y.code
|
|
6452
6452
|
}, null, 8, ["code"])
|
|
6453
6453
|
]),
|
|
@@ -6476,13 +6476,13 @@ const Zp = /* @__PURE__ */ La(Up, [["render", Gp]]), Jp = { class: "flag" }, yl
|
|
|
6476
6476
|
const { t: a } = te(), e = () => {
|
|
6477
6477
|
window.location.reload();
|
|
6478
6478
|
};
|
|
6479
|
-
return (s, i) => i[0] || (
|
|
6479
|
+
return (s, i) => i[0] || (cl(-1), i[0] = O("span", { class: "system-bar-new-version" }, [
|
|
6480
6480
|
$(k(p(a)("common.system.newVersionText")) + " ", 1),
|
|
6481
6481
|
O("span", {
|
|
6482
6482
|
class: "text-decoration-underline cursor-pointer",
|
|
6483
6483
|
onClick: J(e, ["stop"])
|
|
6484
6484
|
}, k(p(a)("common.system.newVersionReload")), 1)
|
|
6485
|
-
]),
|
|
6485
|
+
]), cl(1), i[0]);
|
|
6486
6486
|
}
|
|
6487
6487
|
});
|
|
6488
6488
|
class tr extends Error {
|
|
@@ -6724,7 +6724,7 @@ const tv = { class: "text-center w-100 text-caption pb-1" }, kS = /* @__PURE__ *
|
|
|
6724
6724
|
color: "transparent"
|
|
6725
6725
|
}, {
|
|
6726
6726
|
default: f(() => [
|
|
6727
|
-
m(
|
|
6727
|
+
m(Cd, { class: "flex-fill" }, {
|
|
6728
6728
|
default: f(() => [
|
|
6729
6729
|
$(k(p(a)("common.system.currentUser.logout")), 1)
|
|
6730
6730
|
]),
|
|
@@ -6800,7 +6800,7 @@ const tv = { class: "text-center w-100 text-caption pb-1" }, kS = /* @__PURE__ *
|
|
|
6800
6800
|
}), rv = {
|
|
6801
6801
|
key: 0,
|
|
6802
6802
|
class: "required"
|
|
6803
|
-
},
|
|
6803
|
+
}, pu = /* @__PURE__ */ W({
|
|
6804
6804
|
__name: "AFormRemoteAutocompleteWithCached",
|
|
6805
6805
|
props: {
|
|
6806
6806
|
modelValue: {},
|
|
@@ -7059,7 +7059,7 @@ const tv = { class: "text-center w-100 text-caption pb-1" }, kS = /* @__PURE__ *
|
|
|
7059
7059
|
])
|
|
7060
7060
|
]));
|
|
7061
7061
|
}
|
|
7062
|
-
}),
|
|
7062
|
+
}), vu = () => {
|
|
7063
7063
|
const { t } = te(), a = S(() => ({
|
|
7064
7064
|
0: t("common.job.meta.priority.low"),
|
|
7065
7065
|
1: t("common.job.meta.priority.medium"),
|
|
@@ -7087,8 +7087,8 @@ const tv = { class: "text-center w-100 text-caption pb-1" }, kS = /* @__PURE__ *
|
|
|
7087
7087
|
priority: {}
|
|
7088
7088
|
},
|
|
7089
7089
|
setup(t) {
|
|
7090
|
-
const a = t, { getPriorityLabel: e, getPriorityColor: s } =
|
|
7091
|
-
return (o, l) => (q(), E(
|
|
7090
|
+
const a = t, { getPriorityLabel: e, getPriorityColor: s } = vu(), i = S(() => s(a.priority)), r = S(() => e(a.priority));
|
|
7091
|
+
return (o, l) => (q(), E(mu, { color: i.value }, {
|
|
7092
7092
|
default: f(() => [
|
|
7093
7093
|
$(k(r.value), 1)
|
|
7094
7094
|
]),
|
|
@@ -7182,7 +7182,7 @@ const tv = { class: "text-center w-100 text-caption pb-1" }, kS = /* @__PURE__ *
|
|
|
7182
7182
|
},
|
|
7183
7183
|
emits: ["update:modelValue"],
|
|
7184
7184
|
setup(t) {
|
|
7185
|
-
const a = ei(t, "modelValue"), { priorityLabels: e, getPriorityColor: s } =
|
|
7185
|
+
const a = ei(t, "modelValue"), { priorityLabels: e, getPriorityColor: s } = vu(), i = S(() => s(a.value.priority)), { t: r } = te();
|
|
7186
7186
|
return (o, l) => (q(), P(Ve, null, [
|
|
7187
7187
|
m(He, null, {
|
|
7188
7188
|
default: f(() => [
|
|
@@ -7500,7 +7500,7 @@ function ot(t = "default") {
|
|
|
7500
7500
|
damClient: Fa.value.configs[t].damClient
|
|
7501
7501
|
};
|
|
7502
7502
|
}
|
|
7503
|
-
function
|
|
7503
|
+
function hu() {
|
|
7504
7504
|
if (L(Fa.value) || L(Fa.value.configs))
|
|
7505
7505
|
throw new Error("Composable can't be used without properly configured common admin.");
|
|
7506
7506
|
return {
|
|
@@ -7552,7 +7552,7 @@ function ao() {
|
|
|
7552
7552
|
queryBuild: () => "?" + t.value.join("&")
|
|
7553
7553
|
};
|
|
7554
7554
|
}
|
|
7555
|
-
const
|
|
7555
|
+
const Fu = (t) => Ur(t) && Object.hasOwn(t, "totalCount"), gu = (t) => Ur(t) && Object.hasOwn(t, "hasNextPage"), xv = (t, a) => {
|
|
7556
7556
|
const { querySetLimit: e, querySetOffset: s, querySetOrder: i, queryBuild: r, querySetFilters: o } = ao();
|
|
7557
7557
|
return e(t.rowsPerPage), s(t.page, t.rowsPerPage), i(t.sortBy, t.descending), o(a), r();
|
|
7558
7558
|
}, Pi = (t, a, e = {}, s, i, r, o, l = {}) => new Promise((n, d) => {
|
|
@@ -7565,29 +7565,29 @@ const gu = (t) => Ur(t) && Object.hasOwn(t, "totalCount"), qu = (t) => Ur(t) &&
|
|
|
7565
7565
|
return d(new Oa(u.status));
|
|
7566
7566
|
if (u.data) {
|
|
7567
7567
|
const V = u.data;
|
|
7568
|
-
return
|
|
7568
|
+
return gu(V) ? s.hasNextPage = u.data.hasNextPage : Fu(V) && (s.totalCount = V.totalCount), s.currentViewCount = u.data.data.length, n(u.data.data);
|
|
7569
7569
|
}
|
|
7570
7570
|
return u.status === Pa ? n([]) : d(new Xt());
|
|
7571
7571
|
}).catch((u) => Ra(u) ? d(new ka(u)) : _a(u) ? d(new Ia(u, r, o, u)) : za(u) ? d(new Sa(u, u)) : d(new Xt(u)));
|
|
7572
7572
|
});
|
|
7573
|
-
var wv = /* @__PURE__ */ ((t) => (t.None = "none", t.AtLeastOne = "at_least_one", t.OneFromType = "one_from_type", t.WaitForAll = "wait_for_all", t.Default = "none", t))(wv || {}), kv = /* @__PURE__ */ ((t) => (t.Youtube = "youtubeDistribution", t.Jw = "jwDistribution", t.Custom = "customDistribution", t))(kv || {}), _v = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Distributing = "distributing", t.RemoteProcessing = "remote_processing", t.Distributed = "distributed", t.Failed = "failed", t.Default = "waiting", t))(_v || {}),
|
|
7574
|
-
const
|
|
7573
|
+
var wv = /* @__PURE__ */ ((t) => (t.None = "none", t.AtLeastOne = "at_least_one", t.OneFromType = "one_from_type", t.WaitForAll = "wait_for_all", t.Default = "none", t))(wv || {}), kv = /* @__PURE__ */ ((t) => (t.Youtube = "youtubeDistribution", t.Jw = "jwDistribution", t.Custom = "customDistribution", t))(kv || {}), _v = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Distributing = "distributing", t.RemoteProcessing = "remote_processing", t.Distributed = "distributed", t.Failed = "failed", t.Default = "waiting", t))(_v || {}), qu = /* @__PURE__ */ ((t) => (t.JsonCredentials = "json_credentials", t.OAuth2 = "oauth2", t.Default = "json_credentials", t))(qu || {});
|
|
7574
|
+
const Yu = "/adm/v1/configuration", Iv = "/pub", Sv = Iv + "/v1/configuration", Bn = "settings", Kv = (t) => ia(t, Sv, {}, nt, Bn), Dv = (t) => ia(t, Yu, {}, nt, Bn), Tv = (t, a) => ia(a, Yu + "/ext-system/" + t, {}, nt, Bn), Xu = "/adm/v1/asset-custom-form", Au = "assetCustomForm", ar = (t, a, e) => ia(
|
|
7575
7575
|
t,
|
|
7576
|
-
|
|
7576
|
+
Xu + "/ext-system/:extSystem/type/:assetType/element?order[position]=asc&limit=100",
|
|
7577
7577
|
{ extSystem: a, assetType: e },
|
|
7578
7578
|
nt,
|
|
7579
|
-
|
|
7579
|
+
Au
|
|
7580
7580
|
), Ev = (t, a) => ia(
|
|
7581
7581
|
t,
|
|
7582
|
-
|
|
7582
|
+
Xu + "/distribution-service/:distributionService/element?order[position]=asc&limit=100",
|
|
7583
7583
|
{ distributionService: a },
|
|
7584
7584
|
nt,
|
|
7585
|
-
|
|
7585
|
+
Au
|
|
7586
7586
|
), fs = $a({
|
|
7587
7587
|
damPubConfig: !1,
|
|
7588
7588
|
damPrvConfig: !1
|
|
7589
|
-
}),
|
|
7590
|
-
userAuthType:
|
|
7589
|
+
}), yl = It({
|
|
7590
|
+
userAuthType: qu.JsonCredentials
|
|
7591
7591
|
}), ui = It({
|
|
7592
7592
|
colorSet: {},
|
|
7593
7593
|
assetExternalProviders: {},
|
|
@@ -7631,7 +7631,7 @@ function Pt(t = void 0) {
|
|
|
7631
7631
|
}
|
|
7632
7632
|
function s(h) {
|
|
7633
7633
|
try {
|
|
7634
|
-
|
|
7634
|
+
yl.value.userAuthType = h.userAuthType, fs.damPubConfig = !0;
|
|
7635
7635
|
} catch {
|
|
7636
7636
|
throw new Error("Unable to load dam pub config. Incorrect fields in json.");
|
|
7637
7637
|
}
|
|
@@ -7752,7 +7752,7 @@ function Pt(t = void 0) {
|
|
|
7752
7752
|
}
|
|
7753
7753
|
return {
|
|
7754
7754
|
initialized: fs,
|
|
7755
|
-
damPubConfig:
|
|
7755
|
+
damPubConfig: yl,
|
|
7756
7756
|
damPrvConfig: ui,
|
|
7757
7757
|
damConfigExtSystem: bo,
|
|
7758
7758
|
damConfigAssetCustomFormElements: Co,
|
|
@@ -7768,7 +7768,7 @@ function Pt(t = void 0) {
|
|
|
7768
7768
|
getDamConfigAssetCustomFormElements: Y
|
|
7769
7769
|
};
|
|
7770
7770
|
}
|
|
7771
|
-
const ii = "/adm/v1/asset", wo = 10, so = "asset", nt = "coreDam", ko = 25,
|
|
7771
|
+
const ii = "/adm/v1/asset", wo = 10, so = "asset", nt = "coreDam", ko = 25, bl = (t, a, e, s) => Pi(
|
|
7772
7772
|
t,
|
|
7773
7773
|
ii + "/licence/:licenceId",
|
|
7774
7774
|
{ licenceId: a },
|
|
@@ -7875,7 +7875,7 @@ function ri(t = "default") {
|
|
|
7875
7875
|
Vs.page = 1;
|
|
7876
7876
|
try {
|
|
7877
7877
|
e.showLoader(), e.setList(
|
|
7878
|
-
await
|
|
7878
|
+
await bl(a, e.selectedLicenceId, Vs, ci)
|
|
7879
7879
|
);
|
|
7880
7880
|
} catch (F) {
|
|
7881
7881
|
n(F);
|
|
@@ -7886,7 +7886,7 @@ function ri(t = "default") {
|
|
|
7886
7886
|
Vs.page = Vs.page + 1;
|
|
7887
7887
|
try {
|
|
7888
7888
|
e.showLoader(), e.appendList(
|
|
7889
|
-
await
|
|
7889
|
+
await bl(a, e.selectedLicenceId, Vs, ci)
|
|
7890
7890
|
);
|
|
7891
7891
|
} catch (F) {
|
|
7892
7892
|
n(F);
|
|
@@ -7922,8 +7922,8 @@ function ri(t = "default") {
|
|
|
7922
7922
|
initStoreContext: h
|
|
7923
7923
|
};
|
|
7924
7924
|
}
|
|
7925
|
-
const
|
|
7926
|
-
function
|
|
7925
|
+
const Cl = 200, sr = "#ccc";
|
|
7926
|
+
function yu(t) {
|
|
7927
7927
|
const a = S(() => t.value.asset), e = S(() => a.value.attributes.assetType), s = S(() => a.value.attributes.assetStatus), i = S(() => a.value.mainFile && a.value.mainFile.links && a.value.mainFile.links.image_list ? {
|
|
7928
7928
|
url: a.value.mainFile.links.image_list.url,
|
|
7929
7929
|
width: a.value.mainFile.links.image_list.width,
|
|
@@ -7932,7 +7932,7 @@ function bu(t) {
|
|
|
7932
7932
|
} : {
|
|
7933
7933
|
url: void 0,
|
|
7934
7934
|
width: void 0,
|
|
7935
|
-
height:
|
|
7935
|
+
height: Cl,
|
|
7936
7936
|
bgColor: sr
|
|
7937
7937
|
}), r = S(() => a.value.mainFile && a.value.mainFile.links && a.value.mainFile.links.image_table ? {
|
|
7938
7938
|
url: a.value.mainFile.links.image_table.url,
|
|
@@ -7942,7 +7942,7 @@ function bu(t) {
|
|
|
7942
7942
|
} : {
|
|
7943
7943
|
url: void 0,
|
|
7944
7944
|
width: void 0,
|
|
7945
|
-
height:
|
|
7945
|
+
height: Cl,
|
|
7946
7946
|
bgColor: sr
|
|
7947
7947
|
});
|
|
7948
7948
|
return {
|
|
@@ -7959,7 +7959,7 @@ const ys = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
7959
7959
|
}, jv = {
|
|
7960
7960
|
key: 0,
|
|
7961
7961
|
class: "asset-image__icon-wrapper"
|
|
7962
|
-
},
|
|
7962
|
+
}, bu = /* @__PURE__ */ W({
|
|
7963
7963
|
__name: "AssetImagePreview",
|
|
7964
7964
|
props: {
|
|
7965
7965
|
src: { default: void 0 },
|
|
@@ -8046,7 +8046,7 @@ const ys = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8046
8046
|
return "0 Bytes";
|
|
8047
8047
|
const e = 1024, s = a < 0 ? 0 : a, i = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], r = Math.floor(Math.log(t) / Math.log(e));
|
|
8048
8048
|
return parseFloat((t / Math.pow(e, r)).toFixed(s)) + " " + i[r];
|
|
8049
|
-
},
|
|
8049
|
+
}, xl = 72, Hv = 128, Wv = /* @__PURE__ */ W({
|
|
8050
8050
|
__name: "AssetSelectTableRowItem",
|
|
8051
8051
|
props: {
|
|
8052
8052
|
index: {},
|
|
@@ -8055,7 +8055,7 @@ const ys = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8055
8055
|
},
|
|
8056
8056
|
emits: ["itemClick"],
|
|
8057
8057
|
setup(t, { emit: a }) {
|
|
8058
|
-
const e = t, s = a, { t: i } = te(), r = Rr(e, "item"), { asset: o, tableImageProperties: l, assetType: n, assetStatus: d } =
|
|
8058
|
+
const e = t, s = a, { t: i } = te(), r = Rr(e, "item"), { asset: o, tableImageProperties: l, assetType: n, assetStatus: d } = yu(r), c = () => {
|
|
8059
8059
|
s("itemClick", { assetId: o.value.id, index: e.index });
|
|
8060
8060
|
};
|
|
8061
8061
|
return (u, V) => {
|
|
@@ -8076,15 +8076,15 @@ const ys = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8076
8076
|
}))
|
|
8077
8077
|
]),
|
|
8078
8078
|
O("td", null, [
|
|
8079
|
-
m(
|
|
8079
|
+
m(bu, {
|
|
8080
8080
|
"asset-type": p(n),
|
|
8081
8081
|
"asset-status": p(d),
|
|
8082
8082
|
src: p(l).url,
|
|
8083
8083
|
"background-color": p(l).bgColor,
|
|
8084
8084
|
width: Hv,
|
|
8085
|
-
height:
|
|
8085
|
+
height: xl,
|
|
8086
8086
|
"icon-size": 20,
|
|
8087
|
-
"fallback-height":
|
|
8087
|
+
"fallback-height": xl
|
|
8088
8088
|
}, null, 8, ["asset-type", "asset-status", "src", "background-color"])
|
|
8089
8089
|
]),
|
|
8090
8090
|
O("td", null, k(p(o).texts.displayTitle || p(i)("commonCoreDam.asset.list.noTitle")), 1),
|
|
@@ -8105,7 +8105,7 @@ const ys = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8105
8105
|
__name: "AssetSelectListTable",
|
|
8106
8106
|
setup(t) {
|
|
8107
8107
|
const { t: a } = te(), { onItemClick: e, assetListItems: s, loader: i } = ri();
|
|
8108
|
-
return (r, o) => (q(), E(
|
|
8108
|
+
return (r, o) => (q(), E(wd, {
|
|
8109
8109
|
class: "a-datatable a-datatable--dialog-sticky-fix",
|
|
8110
8110
|
"fixed-header": ""
|
|
8111
8111
|
}, {
|
|
@@ -8137,21 +8137,21 @@ const ys = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8137
8137
|
}
|
|
8138
8138
|
});
|
|
8139
8139
|
var bs = /* @__PURE__ */ ((t) => (t.Masonry = "masonry", t.Thumbnail = "thumbnail", t.Table = "table", t.Default = "masonry", t))(bs || {});
|
|
8140
|
-
const
|
|
8140
|
+
const wl = D(
|
|
8141
8141
|
"masonry"
|
|
8142
8142
|
/* Default */
|
|
8143
8143
|
);
|
|
8144
8144
|
function Pn() {
|
|
8145
8145
|
const t = (a) => {
|
|
8146
|
-
|
|
8146
|
+
wl.value = a;
|
|
8147
8147
|
};
|
|
8148
8148
|
return {
|
|
8149
|
-
gridView: As(
|
|
8149
|
+
gridView: As(wl),
|
|
8150
8150
|
setGridView: t
|
|
8151
8151
|
};
|
|
8152
8152
|
}
|
|
8153
8153
|
const ir = D(!1);
|
|
8154
|
-
function
|
|
8154
|
+
function Cu() {
|
|
8155
8155
|
const t = () => {
|
|
8156
8156
|
ir.value ? e() : a();
|
|
8157
8157
|
}, a = () => {
|
|
@@ -8168,7 +8168,7 @@ function xu() {
|
|
|
8168
8168
|
const rh = { class: "d-flex flex-column w-100 px-1 align-center" }, oh = { class: "d-flex justify-space-between w-100 align-center" }, nh = { class: "d-flex align-center" }, lh = { class: "d-flex align-center" }, dh = /* @__PURE__ */ W({
|
|
8169
8169
|
__name: "AssetSelectListBar",
|
|
8170
8170
|
setup(t) {
|
|
8171
|
-
const { t: a } = te(), { setGridView: e } = Pn(), { toggleSidebar: s } =
|
|
8171
|
+
const { t: a } = te(), { setGridView: e } = Pn(), { toggleSidebar: s } = Cu();
|
|
8172
8172
|
return (i, r) => (q(), E(os, {
|
|
8173
8173
|
density: "compact",
|
|
8174
8174
|
color: "transparent",
|
|
@@ -8290,7 +8290,7 @@ const rh = { class: "d-flex flex-column w-100 px-1 align-center" }, oh = { class
|
|
|
8290
8290
|
setup(t, { emit: a }) {
|
|
8291
8291
|
const e = t, s = a, { t: i } = te(), r = () => {
|
|
8292
8292
|
s("itemClick", { assetId: l.value.id, index: e.index });
|
|
8293
|
-
}, o = Rr(e, "item"), { asset: l, assetType: n, assetStatus: d, imageProperties: c } =
|
|
8293
|
+
}, o = Rr(e, "item"), { asset: l, assetType: n, assetStatus: d, imageProperties: c } = yu(o);
|
|
8294
8294
|
return (u, V) => (q(), P("div", {
|
|
8295
8295
|
class: fe(["asset-list-tiles__item asset-list-tiles__item--pointer", { "asset-list-tiles__item--selected": o.value.selected }]),
|
|
8296
8296
|
onClick: J(r, ["stop", "exact"])
|
|
@@ -8305,7 +8305,7 @@ const rh = { class: "d-flex flex-column w-100 px-1 align-center" }, oh = { class
|
|
|
8305
8305
|
size: "x-small"
|
|
8306
8306
|
})
|
|
8307
8307
|
])) : U("", !0),
|
|
8308
|
-
m(
|
|
8308
|
+
m(bu, {
|
|
8309
8309
|
"asset-type": p(n),
|
|
8310
8310
|
"asset-status": p(d),
|
|
8311
8311
|
src: p(c).url,
|
|
@@ -8358,7 +8358,7 @@ const rh = { class: "d-flex flex-column w-100 px-1 align-center" }, oh = { class
|
|
|
8358
8358
|
default: f(() => [
|
|
8359
8359
|
m(ue, { cols: 12 }, {
|
|
8360
8360
|
default: f(() => [
|
|
8361
|
-
m(
|
|
8361
|
+
m(ru, {
|
|
8362
8362
|
modelValue: p(a).text,
|
|
8363
8363
|
"onUpdate:modelValue": [
|
|
8364
8364
|
n[0] || (n[0] = (d) => p(a).text = d),
|
|
@@ -8437,7 +8437,7 @@ const rh = { class: "d-flex flex-column w-100 px-1 align-center" }, oh = { class
|
|
|
8437
8437
|
default: f(() => [
|
|
8438
8438
|
m(ue, { cols: 12 }, {
|
|
8439
8439
|
default: f(() => [
|
|
8440
|
-
m(
|
|
8440
|
+
m(ru, {
|
|
8441
8441
|
modelValue: p(a).text,
|
|
8442
8442
|
"onUpdate:modelValue": [
|
|
8443
8443
|
n[0] || (n[0] = (d) => p(a).text = d),
|
|
@@ -8542,24 +8542,24 @@ const rh = { class: "d-flex flex-column w-100 px-1 align-center" }, oh = { class
|
|
|
8542
8542
|
])
|
|
8543
8543
|
]));
|
|
8544
8544
|
}
|
|
8545
|
-
}), Ch = "/adm/v1/user/current", xh = (t) => ia(t, Ch, {}, "coreDam", "user"), dn = D(void 0),
|
|
8545
|
+
}), Ch = "/adm/v1/user/current", xh = (t) => ia(t, Ch, {}, "coreDam", "user"), dn = D(void 0), xu = D(!1);
|
|
8546
8546
|
function $S(t) {
|
|
8547
8547
|
return new Promise((a, e) => {
|
|
8548
8548
|
xh(t).then((s) => {
|
|
8549
|
-
dn.value = s, s.roles.includes(Mn) && (
|
|
8549
|
+
dn.value = s, s.roles.includes(Mn) && (xu.value = !0), a(dn);
|
|
8550
8550
|
}).catch((s) => {
|
|
8551
8551
|
e(s);
|
|
8552
8552
|
});
|
|
8553
8553
|
});
|
|
8554
8554
|
}
|
|
8555
|
-
function
|
|
8555
|
+
function wu() {
|
|
8556
8556
|
return {
|
|
8557
8557
|
damCurrentUser: dn,
|
|
8558
|
-
damCurrentUserIsSuperAdmin:
|
|
8558
|
+
damCurrentUserIsSuperAdmin: xu
|
|
8559
8559
|
};
|
|
8560
8560
|
}
|
|
8561
8561
|
function wh(t) {
|
|
8562
|
-
const { damCurrentUser: a, damCurrentUserIsSuperAdmin: e } =
|
|
8562
|
+
const { damCurrentUser: a, damCurrentUserIsSuperAdmin: e } = wu();
|
|
8563
8563
|
if (e.value)
|
|
8564
8564
|
return Ce(t);
|
|
8565
8565
|
const s = a.value;
|
|
@@ -8574,14 +8574,14 @@ function wh(t) {
|
|
|
8574
8574
|
r.includes(l.licence) && o.push(l);
|
|
8575
8575
|
}), o;
|
|
8576
8576
|
}
|
|
8577
|
-
function
|
|
8578
|
-
const { damCurrentUser: a, damCurrentUserIsSuperAdmin: e } =
|
|
8577
|
+
function ku(t) {
|
|
8578
|
+
const { damCurrentUser: a, damCurrentUserIsSuperAdmin: e } = wu();
|
|
8579
8579
|
if (e.value)
|
|
8580
8580
|
return !0;
|
|
8581
8581
|
const s = a.value;
|
|
8582
8582
|
return L(s) ? [] : !!(s.adminToExtSystems.map((o) => o.id).includes(t.extSystem) || s.assetLicences.map((o) => o.id).includes(t.licence));
|
|
8583
8583
|
}
|
|
8584
|
-
const kh = { class: "subject-select__sidebar system-border-r" }, _h = { class: "subject-select__content" }, Ih = { class: "d-flex w-100 align-center justify-center pa-4" }, Sh = { class: "subject-select__actions system-border-t" }, Kh = { key: 0 }, Dh = { key: 1 },
|
|
8584
|
+
const kh = { class: "subject-select__sidebar system-border-r" }, _h = { class: "subject-select__content" }, Ih = { class: "d-flex w-100 align-center justify-center pa-4" }, Sh = { class: "subject-select__actions system-border-t" }, Kh = { key: 0 }, Dh = { key: 1 }, _u = /* @__PURE__ */ W({
|
|
8585
8585
|
__name: "AAssetSelect",
|
|
8586
8586
|
props: {
|
|
8587
8587
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -8602,7 +8602,7 @@ const kh = { class: "subject-select__sidebar system-border-r" }, _h = { class: "
|
|
|
8602
8602
|
set(N) {
|
|
8603
8603
|
o.value = N, i("update:modelValue", N);
|
|
8604
8604
|
}
|
|
8605
|
-
}), { selectedCount: n, loader: d, pagination: c, fetchNextPage: u, resetAssetList: V, getSelectedData: Y, initStoreContext: v } = ri(), { openSidebar: h, sidebarLeft: F } =
|
|
8605
|
+
}), { selectedCount: n, loader: d, pagination: c, fetchNextPage: u, resetAssetList: V, getSelectedData: Y, initStoreContext: v } = ri(), { openSidebar: h, sidebarLeft: F } = Cu(), { showErrorT: b } = Ue(), g = () => {
|
|
8606
8606
|
let N = s.selectConfig;
|
|
8607
8607
|
if (s.skipCurrentUserCheck || (N = wh(s.selectConfig)), N.length === 0) {
|
|
8608
8608
|
b("common.assetSelect.error.unallowedLicence");
|
|
@@ -8693,7 +8693,7 @@ const kh = { class: "subject-select__sidebar system-border-r" }, _h = { class: "
|
|
|
8693
8693
|
_: 3
|
|
8694
8694
|
}, 8, ["loading", "onClick"])), [
|
|
8695
8695
|
[Ma, p(c).hasNextPage || p(d)],
|
|
8696
|
-
[
|
|
8696
|
+
[kd, w]
|
|
8697
8697
|
])
|
|
8698
8698
|
])
|
|
8699
8699
|
])
|
|
@@ -8733,7 +8733,7 @@ const kh = { class: "subject-select__sidebar system-border-r" }, _h = { class: "
|
|
|
8733
8733
|
* @author owenm <owen23355@gmail.com>
|
|
8734
8734
|
* @license MIT
|
|
8735
8735
|
*/
|
|
8736
|
-
function
|
|
8736
|
+
function kl(t, a) {
|
|
8737
8737
|
var e = Object.keys(t);
|
|
8738
8738
|
if (Object.getOwnPropertySymbols) {
|
|
8739
8739
|
var s = Object.getOwnPropertySymbols(t);
|
|
@@ -8746,9 +8746,9 @@ function _l(t, a) {
|
|
|
8746
8746
|
function ba(t) {
|
|
8747
8747
|
for (var a = 1; a < arguments.length; a++) {
|
|
8748
8748
|
var e = arguments[a] != null ? arguments[a] : {};
|
|
8749
|
-
a % 2 ?
|
|
8749
|
+
a % 2 ? kl(Object(e), !0).forEach(function(s) {
|
|
8750
8750
|
Th(t, s, e[s]);
|
|
8751
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
8751
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : kl(Object(e)).forEach(function(s) {
|
|
8752
8752
|
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(e, s));
|
|
8753
8753
|
});
|
|
8754
8754
|
}
|
|
@@ -8804,15 +8804,15 @@ function Da(t) {
|
|
|
8804
8804
|
if (typeof window < "u" && window.navigator)
|
|
8805
8805
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
8806
8806
|
}
|
|
8807
|
-
var Na = Da(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ri = Da(/Edge/i),
|
|
8807
|
+
var Na = Da(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ri = Da(/Edge/i), _l = Da(/firefox/i), yi = Da(/safari/i) && !Da(/chrome/i) && !Da(/android/i), Iu = Da(/iP(ad|od|hone)/i), Su = Da(/chrome/i) && Da(/android/i), Ku = {
|
|
8808
8808
|
capture: !1,
|
|
8809
8809
|
passive: !1
|
|
8810
8810
|
};
|
|
8811
8811
|
function Pe(t, a, e) {
|
|
8812
|
-
t.addEventListener(a, e, !Na &&
|
|
8812
|
+
t.addEventListener(a, e, !Na && Ku);
|
|
8813
8813
|
}
|
|
8814
8814
|
function Be(t, a, e) {
|
|
8815
|
-
t.removeEventListener(a, e, !Na &&
|
|
8815
|
+
t.removeEventListener(a, e, !Na && Ku);
|
|
8816
8816
|
}
|
|
8817
8817
|
function Kr(t, a) {
|
|
8818
8818
|
if (a) {
|
|
@@ -8845,14 +8845,14 @@ function da(t, a, e, s) {
|
|
|
8845
8845
|
}
|
|
8846
8846
|
return null;
|
|
8847
8847
|
}
|
|
8848
|
-
var
|
|
8848
|
+
var Il = /\s+/g;
|
|
8849
8849
|
function Ot(t, a, e) {
|
|
8850
8850
|
if (t && a)
|
|
8851
8851
|
if (t.classList)
|
|
8852
8852
|
t.classList[e ? "add" : "remove"](a);
|
|
8853
8853
|
else {
|
|
8854
|
-
var s = (" " + t.className + " ").replace(
|
|
8855
|
-
t.className = (s + (e ? " " + a : "")).replace(
|
|
8854
|
+
var s = (" " + t.className + " ").replace(Il, " ").replace(" " + a + " ", " ");
|
|
8855
|
+
t.className = (s + (e ? " " + a : "")).replace(Il, " ");
|
|
8856
8856
|
}
|
|
8857
8857
|
}
|
|
8858
8858
|
function Ye(t, a, e) {
|
|
@@ -8875,7 +8875,7 @@ function Ns(t, a) {
|
|
|
8875
8875
|
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
8876
8876
|
return i && new i(e);
|
|
8877
8877
|
}
|
|
8878
|
-
function
|
|
8878
|
+
function Du(t, a, e) {
|
|
8879
8879
|
if (t) {
|
|
8880
8880
|
var s = t.getElementsByTagName(a), i = 0, r = s.length;
|
|
8881
8881
|
if (e)
|
|
@@ -8914,7 +8914,7 @@ function dt(t, a, e, s, i) {
|
|
|
8914
8914
|
};
|
|
8915
8915
|
}
|
|
8916
8916
|
}
|
|
8917
|
-
function
|
|
8917
|
+
function Sl(t, a, e) {
|
|
8918
8918
|
for (var s = es(t, !0), i = dt(t)[a]; s; ) {
|
|
8919
8919
|
var r = dt(s)[e], o = void 0;
|
|
8920
8920
|
if (e === "top" || e === "left" ? o = i >= r : o = i <= r, !o)
|
|
@@ -8949,7 +8949,7 @@ function Jt(t, a) {
|
|
|
8949
8949
|
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== Xe.clone && (!a || Kr(t, a)) && e++;
|
|
8950
8950
|
return e;
|
|
8951
8951
|
}
|
|
8952
|
-
function
|
|
8952
|
+
function Kl(t) {
|
|
8953
8953
|
var a = 0, e = 0, s = Xa();
|
|
8954
8954
|
if (t)
|
|
8955
8955
|
do {
|
|
@@ -8995,7 +8995,7 @@ function Io(t, a) {
|
|
|
8995
8995
|
return Math.round(t.top) === Math.round(a.top) && Math.round(t.left) === Math.round(a.left) && Math.round(t.height) === Math.round(a.height) && Math.round(t.width) === Math.round(a.width);
|
|
8996
8996
|
}
|
|
8997
8997
|
var bi;
|
|
8998
|
-
function
|
|
8998
|
+
function Tu(t, a) {
|
|
8999
8999
|
return function() {
|
|
9000
9000
|
if (!bi) {
|
|
9001
9001
|
var e = arguments, s = this;
|
|
@@ -9008,14 +9008,14 @@ function Eu(t, a) {
|
|
|
9008
9008
|
function Oh() {
|
|
9009
9009
|
clearTimeout(bi), bi = void 0;
|
|
9010
9010
|
}
|
|
9011
|
-
function
|
|
9011
|
+
function Eu(t, a, e) {
|
|
9012
9012
|
t.scrollLeft += a, t.scrollTop += e;
|
|
9013
9013
|
}
|
|
9014
|
-
function
|
|
9014
|
+
function Mu(t) {
|
|
9015
9015
|
var a = window.Polymer, e = window.jQuery || window.Zepto;
|
|
9016
9016
|
return a && a.dom ? a.dom(t).cloneNode(!0) : e ? e(t).clone(!0)[0] : t.cloneNode(!0);
|
|
9017
9017
|
}
|
|
9018
|
-
function
|
|
9018
|
+
function $u(t, a, e) {
|
|
9019
9019
|
var s = {};
|
|
9020
9020
|
return Array.from(t.children).forEach(function(i) {
|
|
9021
9021
|
var r, o, l, n;
|
|
@@ -9175,8 +9175,8 @@ var jh = ["evt"], Dt = function(a, e) {
|
|
|
9175
9175
|
oldDraggableIndex: Ci,
|
|
9176
9176
|
newIndex: zt,
|
|
9177
9177
|
newDraggableIndex: Wa,
|
|
9178
|
-
hideGhostForTarget:
|
|
9179
|
-
unhideGhostForTarget:
|
|
9178
|
+
hideGhostForTarget: Ou,
|
|
9179
|
+
unhideGhostForTarget: zu,
|
|
9180
9180
|
cloneNowHidden: function() {
|
|
9181
9181
|
Ga = !0;
|
|
9182
9182
|
},
|
|
@@ -9204,14 +9204,14 @@ function wt(t) {
|
|
|
9204
9204
|
newDraggableIndex: Wa
|
|
9205
9205
|
}, t));
|
|
9206
9206
|
}
|
|
9207
|
-
var le, it, be, We, Xs, Xr, et, Ga, Bs, zt, Ci, Wa, rr, qt, $s = !1, Dr = !1, Tr = [], ps, na, Ko, Do,
|
|
9207
|
+
var le, it, be, We, Xs, Xr, et, Ga, Bs, zt, Ci, Wa, rr, qt, $s = !1, Dr = !1, Tr = [], ps, na, Ko, Do, Dl, Tl, Fi, Es, xi, wi = !1, or = !1, Ar, yt, To = [], un = !1, Er = [], oo = typeof document < "u", nr = Iu, El = Ri || Na ? "cssFloat" : "float", Hh = oo && !Su && !Iu && "draggable" in document.createElement("div"), Bu = function() {
|
|
9208
9208
|
if (oo) {
|
|
9209
9209
|
if (Na)
|
|
9210
9210
|
return !1;
|
|
9211
9211
|
var t = document.createElement("x");
|
|
9212
9212
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
9213
9213
|
}
|
|
9214
|
-
}(),
|
|
9214
|
+
}(), Pu = function(a, e) {
|
|
9215
9215
|
var s = Ye(a), i = parseInt(s.width) - parseInt(s.paddingLeft) - parseInt(s.paddingRight) - parseInt(s.borderLeftWidth) - parseInt(s.borderRightWidth), r = Qs(a, 0, e), o = Qs(a, 1, e), l = r && Ye(r), n = o && Ye(o), d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + dt(r).width, c = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + dt(o).width;
|
|
9216
9216
|
if (s.display === "flex")
|
|
9217
9217
|
return s.flexDirection === "column" || s.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
@@ -9221,7 +9221,7 @@ var le, it, be, We, Xs, Xr, et, Ga, Bs, zt, Ci, Wa, rr, qt, $s = !1, Dr = !1, Tr
|
|
|
9221
9221
|
var u = l.float === "left" ? "left" : "right";
|
|
9222
9222
|
return o && (n.clear === "both" || n.clear === u) ? "vertical" : "horizontal";
|
|
9223
9223
|
}
|
|
9224
|
-
return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || d >= i && s[
|
|
9224
|
+
return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || d >= i && s[El] === "none" || o && s[El] === "none" && d + c > i) ? "vertical" : "horizontal";
|
|
9225
9225
|
}, Wh = function(a, e, s) {
|
|
9226
9226
|
var i = s ? a.left : a.top, r = s ? a.right : a.bottom, o = s ? a.width : a.height, l = s ? e.left : e.top, n = s ? e.right : e.bottom, d = s ? e.width : e.height;
|
|
9227
9227
|
return i === l || r === n || i + o / 2 === l + d / 2;
|
|
@@ -9235,7 +9235,7 @@ var le, it, be, We, Xs, Xr, et, Ga, Bs, zt, Ci, Wa, rr, qt, $s = !1, Dr = !1, Tr
|
|
|
9235
9235
|
return s = i;
|
|
9236
9236
|
}
|
|
9237
9237
|
}), s;
|
|
9238
|
-
},
|
|
9238
|
+
}, Ru = function(a) {
|
|
9239
9239
|
function e(r, o) {
|
|
9240
9240
|
return function(l, n, d, c) {
|
|
9241
9241
|
var u = l.options.group.name && n.options.group.name && l.options.group.name === n.options.group.name;
|
|
@@ -9255,12 +9255,12 @@ var le, it, be, We, Xs, Xr, et, Ga, Bs, zt, Ci, Wa, rr, qt, $s = !1, Dr = !1, Tr
|
|
|
9255
9255
|
(!i || Yr(i) != "object") && (i = {
|
|
9256
9256
|
name: i
|
|
9257
9257
|
}), s.name = i.name, s.checkPull = e(i.pull, !0), s.checkPut = e(i.put), s.revertClone = i.revertClone, a.group = s;
|
|
9258
|
+
}, Ou = function() {
|
|
9259
|
+
!Bu && be && Ye(be, "display", "none");
|
|
9258
9260
|
}, zu = function() {
|
|
9259
|
-
!
|
|
9260
|
-
}, Lu = function() {
|
|
9261
|
-
!Pu && be && Ye(be, "display", "");
|
|
9261
|
+
!Bu && be && Ye(be, "display", "");
|
|
9262
9262
|
};
|
|
9263
|
-
oo && !
|
|
9263
|
+
oo && !Su && document.addEventListener("click", function(t) {
|
|
9264
9264
|
if (Dr)
|
|
9265
9265
|
return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Dr = !1, !1;
|
|
9266
9266
|
}, !0);
|
|
@@ -9297,7 +9297,7 @@ function Xe(t, a) {
|
|
|
9297
9297
|
// will be set to same as swapThreshold if default
|
|
9298
9298
|
removeCloneOnHide: !0,
|
|
9299
9299
|
direction: function() {
|
|
9300
|
-
return
|
|
9300
|
+
return Pu(t, this.options);
|
|
9301
9301
|
},
|
|
9302
9302
|
ghostClass: "sortable-ghost",
|
|
9303
9303
|
chosenClass: "sortable-chosen",
|
|
@@ -9330,7 +9330,7 @@ function Xe(t, a) {
|
|
|
9330
9330
|
Oi.initializePlugins(this, t, e);
|
|
9331
9331
|
for (var s in e)
|
|
9332
9332
|
!(s in a) && (a[s] = e[s]);
|
|
9333
|
-
|
|
9333
|
+
Ru(a);
|
|
9334
9334
|
for (var i in this)
|
|
9335
9335
|
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
9336
9336
|
this.nativeDraggable = a.forceFallback ? !1 : Hh, this.nativeDraggable && (this.options.touchStartThreshold = 1), a.supportPointer ? Pe(t, "pointerdown", this._onTapStart) : (Pe(t, "mousedown", this._onTapStart), Pe(t, "touchstart", this._onTapStart)), this.nativeDraggable && (Pe(t, "dragover", this), Pe(t, "dragenter", this)), Tr.push(this.el), a.store && a.store.get && this.sort(a.store.get(this) || []), Ta(this, zh());
|
|
@@ -9390,21 +9390,21 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9390
9390
|
target: le,
|
|
9391
9391
|
clientX: (e || a).clientX,
|
|
9392
9392
|
clientY: (e || a).clientY
|
|
9393
|
-
},
|
|
9393
|
+
}, Dl = ps.clientX - d.left, Tl = ps.clientY - d.top, this._lastX = (e || a).clientX, this._lastY = (e || a).clientY, le.style["will-change"] = "all", n = function() {
|
|
9394
9394
|
if (Dt("delayEnded", i, {
|
|
9395
9395
|
evt: a
|
|
9396
9396
|
}), Xe.eventCanceled) {
|
|
9397
9397
|
i._onDrop();
|
|
9398
9398
|
return;
|
|
9399
9399
|
}
|
|
9400
|
-
i._disableDelayedDragEvents(), !
|
|
9400
|
+
i._disableDelayedDragEvents(), !_l && i.nativeDraggable && (le.draggable = !0), i._triggerDragStart(a, e), wt({
|
|
9401
9401
|
sortable: i,
|
|
9402
9402
|
name: "choose",
|
|
9403
9403
|
originalEvent: a
|
|
9404
9404
|
}), Ot(le, o.chosenClass, !0);
|
|
9405
9405
|
}, o.ignore.split(",").forEach(function(c) {
|
|
9406
|
-
|
|
9407
|
-
}), Pe(l, "dragover", vs), Pe(l, "mousemove", vs), Pe(l, "touchmove", vs), Pe(l, "mouseup", i._onDrop), Pe(l, "touchend", i._onDrop), Pe(l, "touchcancel", i._onDrop),
|
|
9406
|
+
Du(le, c.trim(), Eo);
|
|
9407
|
+
}), Pe(l, "dragover", vs), Pe(l, "mousemove", vs), Pe(l, "touchmove", vs), Pe(l, "mouseup", i._onDrop), Pe(l, "touchend", i._onDrop), Pe(l, "touchcancel", i._onDrop), _l && this.nativeDraggable && (this.options.touchStartThreshold = 4, le.draggable = !0), Dt("delayStart", this, {
|
|
9408
9408
|
evt: a
|
|
9409
9409
|
}), o.delay && (!o.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Ri || Na))) {
|
|
9410
9410
|
if (Xe.eventCanceled) {
|
|
@@ -9452,7 +9452,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9452
9452
|
},
|
|
9453
9453
|
_emulateDragOver: function() {
|
|
9454
9454
|
if (na) {
|
|
9455
|
-
this._lastX = na.clientX, this._lastY = na.clientY,
|
|
9455
|
+
this._lastX = na.clientX, this._lastY = na.clientY, Ou();
|
|
9456
9456
|
for (var a = document.elementFromPoint(na.clientX, na.clientY), e = a; a && a.shadowRoot && (a = a.shadowRoot.elementFromPoint(na.clientX, na.clientY), a !== e); )
|
|
9457
9457
|
e = a;
|
|
9458
9458
|
if (le.parentNode[Nt]._isOutsideThisEl(a), e)
|
|
@@ -9469,12 +9469,12 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9469
9469
|
}
|
|
9470
9470
|
a = e;
|
|
9471
9471
|
} while (e = e.parentNode);
|
|
9472
|
-
|
|
9472
|
+
zu();
|
|
9473
9473
|
}
|
|
9474
9474
|
},
|
|
9475
9475
|
_onTouchMove: function(a) {
|
|
9476
9476
|
if (ps) {
|
|
9477
|
-
var e = this.options, s = e.fallbackTolerance, i = e.fallbackOffset, r = a.touches ? a.touches[0] : a, o = be && Ns(be, !0), l = be && o && o.a, n = be && o && o.d, d = nr && yt &&
|
|
9477
|
+
var e = this.options, s = e.fallbackTolerance, i = e.fallbackOffset, r = a.touches ? a.touches[0] : a, o = be && Ns(be, !0), l = be && o && o.a, n = be && o && o.d, d = nr && yt && Kl(yt), c = (r.clientX - ps.clientX + i.x) / (l || 1) + (d ? d[0] - To[0] : 0) / (l || 1), u = (r.clientY - ps.clientY + i.y) / (n || 1) + (d ? d[1] - To[1] : 0) / (n || 1);
|
|
9478
9478
|
if (!Xe.active && !$s) {
|
|
9479
9479
|
if (s && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < s)
|
|
9480
9480
|
return;
|
|
@@ -9501,9 +9501,9 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9501
9501
|
if (nr) {
|
|
9502
9502
|
for (yt = a; Ye(yt, "position") === "static" && Ye(yt, "transform") === "none" && yt !== document; )
|
|
9503
9503
|
yt = yt.parentNode;
|
|
9504
|
-
yt !== document.body && yt !== document.documentElement ? (yt === document && (yt = Xa()), e.top += yt.scrollTop, e.left += yt.scrollLeft) : yt = Xa(), To =
|
|
9504
|
+
yt !== document.body && yt !== document.documentElement ? (yt === document && (yt = Xa()), e.top += yt.scrollTop, e.left += yt.scrollLeft) : yt = Xa(), To = Kl(yt);
|
|
9505
9505
|
}
|
|
9506
|
-
be = le.cloneNode(!0), Ot(be, s.ghostClass, !1), Ot(be, s.fallbackClass, !0), Ot(be, s.dragClass, !0), Ye(be, "transition", ""), Ye(be, "transform", ""), Ye(be, "box-sizing", "border-box"), Ye(be, "margin", 0), Ye(be, "top", e.top), Ye(be, "left", e.left), Ye(be, "width", e.width), Ye(be, "height", e.height), Ye(be, "opacity", "0.8"), Ye(be, "position", nr ? "absolute" : "fixed"), Ye(be, "zIndex", "100000"), Ye(be, "pointerEvents", "none"), Xe.ghost = be, a.appendChild(be), Ye(be, "transform-origin",
|
|
9506
|
+
be = le.cloneNode(!0), Ot(be, s.ghostClass, !1), Ot(be, s.fallbackClass, !0), Ot(be, s.dragClass, !0), Ye(be, "transition", ""), Ye(be, "transform", ""), Ye(be, "box-sizing", "border-box"), Ye(be, "margin", 0), Ye(be, "top", e.top), Ye(be, "left", e.left), Ye(be, "width", e.width), Ye(be, "height", e.height), Ye(be, "opacity", "0.8"), Ye(be, "position", nr ? "absolute" : "fixed"), Ye(be, "zIndex", "100000"), Ye(be, "pointerEvents", "none"), Xe.ghost = be, a.appendChild(be), Ye(be, "transform-origin", Dl / parseInt(be.style.width) * 100 + "% " + Tl / parseInt(be.style.height) * 100 + "%");
|
|
9507
9507
|
}
|
|
9508
9508
|
},
|
|
9509
9509
|
_onDragStart: function(a, e) {
|
|
@@ -9514,7 +9514,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9514
9514
|
this._onDrop();
|
|
9515
9515
|
return;
|
|
9516
9516
|
}
|
|
9517
|
-
Dt("setupClone", this), Xe.eventCanceled || (et =
|
|
9517
|
+
Dt("setupClone", this), Xe.eventCanceled || (et = Mu(le), et.removeAttribute("id"), et.draggable = !1, et.style["will-change"] = "", this._hideClone(), Ot(et, this.options.chosenClass, !1), Xe.clone = et), s.cloneId = yr(function() {
|
|
9518
9518
|
Dt("clone", s), !Xe.eventCanceled && (s.options.removeCloneOnHide || We.insertBefore(et, le), s._hideClone(), wt({
|
|
9519
9519
|
sortable: s,
|
|
9520
9520
|
name: "clone"
|
|
@@ -9587,7 +9587,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9587
9587
|
return b(), e.insertBefore(le, w), it = e, A(), g(!0);
|
|
9588
9588
|
} else if (s.parentNode === e) {
|
|
9589
9589
|
r = dt(s);
|
|
9590
|
-
var x = 0, M, z = le.parentNode !== e, N = !Wh(le.animated && le.toRect || i, s.animated && s.toRect || r, Y), H = Y ? "top" : "left", I =
|
|
9590
|
+
var x = 0, M, z = le.parentNode !== e, N = !Wh(le.animated && le.toRect || i, s.animated && s.toRect || r, Y), H = Y ? "top" : "left", I = Sl(s, "top", "top") || Sl(le, "top", "top"), R = I ? I.scrollTop : void 0;
|
|
9591
9591
|
Es !== s && (M = r[H], wi = !1, or = !N && l.invertSwap || z), x = aF(a, s, r, Y, N ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, or, Es === s);
|
|
9592
9592
|
var T;
|
|
9593
9593
|
if (x !== 0) {
|
|
@@ -9603,7 +9603,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9603
9603
|
C = x === 1;
|
|
9604
9604
|
var K = lr(We, e, le, i, s, r, a, C);
|
|
9605
9605
|
if (K !== !1)
|
|
9606
|
-
return (K === 1 || K === -1) && (C = K === 1), un = !0, setTimeout(Qh, 30), b(), C && !y ? e.appendChild(le) : s.parentNode.insertBefore(le, C ? y : s), I &&
|
|
9606
|
+
return (K === 1 || K === -1) && (C = K === 1), un = !0, setTimeout(Qh, 30), b(), C && !y ? e.appendChild(le) : s.parentNode.insertBefore(le, C ? y : s), I && Eu(I, 0, R - I.scrollTop), it = le.parentNode, M !== void 0 && !or && (Ar = Math.abs(M - dt(s)[H])), A(), g(!0);
|
|
9607
9607
|
}
|
|
9608
9608
|
if (e.contains(le))
|
|
9609
9609
|
return g(!1);
|
|
@@ -9741,7 +9741,7 @@ Xe.prototype = /** @lends Sortable.prototype */
|
|
|
9741
9741
|
if (e === void 0)
|
|
9742
9742
|
return s[a];
|
|
9743
9743
|
var i = Oi.modifyOption(this, a, e);
|
|
9744
|
-
typeof i < "u" ? s[a] = i : s[a] = e, a === "group" &&
|
|
9744
|
+
typeof i < "u" ? s[a] = i : s[a] = e, a === "group" && Ru(s);
|
|
9745
9745
|
},
|
|
9746
9746
|
/**
|
|
9747
9747
|
* Destroy
|
|
@@ -9789,11 +9789,11 @@ function Qh() {
|
|
|
9789
9789
|
un = !1;
|
|
9790
9790
|
}
|
|
9791
9791
|
function eF(t, a, e) {
|
|
9792
|
-
var s = dt(Qs(e.el, 0, e.options, !0)), i =
|
|
9792
|
+
var s = dt(Qs(e.el, 0, e.options, !0)), i = $u(e.el, e.options, be), r = 10;
|
|
9793
9793
|
return a ? t.clientX < i.left - r || t.clientY < s.top && t.clientX < s.right : t.clientY < i.top - r || t.clientY < s.bottom && t.clientX < s.left;
|
|
9794
9794
|
}
|
|
9795
9795
|
function tF(t, a, e) {
|
|
9796
|
-
var s = dt(Rn(e.el, e.options.draggable)), i =
|
|
9796
|
+
var s = dt(Rn(e.el, e.options.draggable)), i = $u(e.el, e.options, be), r = 10;
|
|
9797
9797
|
return a ? t.clientX > i.right + r || t.clientY > s.bottom && t.clientX > s.left : t.clientY > i.bottom + r || t.clientX > s.right && t.clientY > s.top;
|
|
9798
9798
|
}
|
|
9799
9799
|
function aF(t, a, e, s, i, r, o, l) {
|
|
@@ -9837,19 +9837,19 @@ Xe.utils = {
|
|
|
9837
9837
|
on: Pe,
|
|
9838
9838
|
off: Be,
|
|
9839
9839
|
css: Ye,
|
|
9840
|
-
find:
|
|
9840
|
+
find: Du,
|
|
9841
9841
|
is: function(a, e) {
|
|
9842
9842
|
return !!da(a, e, a, !1);
|
|
9843
9843
|
},
|
|
9844
9844
|
extend: Rh,
|
|
9845
|
-
throttle:
|
|
9845
|
+
throttle: Tu,
|
|
9846
9846
|
closest: da,
|
|
9847
9847
|
toggleClass: Ot,
|
|
9848
|
-
clone:
|
|
9848
|
+
clone: Mu,
|
|
9849
9849
|
index: Jt,
|
|
9850
9850
|
nextTick: yr,
|
|
9851
9851
|
cancelNextTick: cn,
|
|
9852
|
-
detectDirection:
|
|
9852
|
+
detectDirection: Pu,
|
|
9853
9853
|
getChild: Qs
|
|
9854
9854
|
};
|
|
9855
9855
|
Xe.get = function(t) {
|
|
@@ -9891,7 +9891,7 @@ function oF() {
|
|
|
9891
9891
|
!this.options.dragOverBubble && !s.rootEl && this._handleAutoScroll(s);
|
|
9892
9892
|
},
|
|
9893
9893
|
drop: function() {
|
|
9894
|
-
this.sortable.nativeDraggable ? Be(document, "dragover", this._handleAutoScroll) : (Be(document, "pointermove", this._handleFallbackAutoScroll), Be(document, "touchmove", this._handleFallbackAutoScroll), Be(document, "mousemove", this._handleFallbackAutoScroll)),
|
|
9894
|
+
this.sortable.nativeDraggable ? Be(document, "dragover", this._handleAutoScroll) : (Be(document, "pointermove", this._handleFallbackAutoScroll), Be(document, "touchmove", this._handleFallbackAutoScroll), Be(document, "mousemove", this._handleFallbackAutoScroll)), Ml(), br(), Oh();
|
|
9895
9895
|
},
|
|
9896
9896
|
nulling: function() {
|
|
9897
9897
|
Mr = mn = gi = fn = qi = Mo = $o = null, lt.length = 0;
|
|
@@ -9904,7 +9904,7 @@ function oF() {
|
|
|
9904
9904
|
if (Mr = e, s || this.options.forceAutoScrollFallback || Ri || Na || yi) {
|
|
9905
9905
|
Bo(e, this.options, l, s);
|
|
9906
9906
|
var n = es(l, !0);
|
|
9907
|
-
fn && (!qi || r !== Mo || o !== $o) && (qi &&
|
|
9907
|
+
fn && (!qi || r !== Mo || o !== $o) && (qi && Ml(), qi = setInterval(function() {
|
|
9908
9908
|
var d = es(document.elementFromPoint(r, o), !0);
|
|
9909
9909
|
d !== n && (n = d, br()), Bo(e, i.options, d, s);
|
|
9910
9910
|
}, 10), Mo = r, $o = o);
|
|
@@ -9926,10 +9926,10 @@ function br() {
|
|
|
9926
9926
|
clearInterval(t.pid);
|
|
9927
9927
|
}), lt = [];
|
|
9928
9928
|
}
|
|
9929
|
-
function
|
|
9929
|
+
function Ml() {
|
|
9930
9930
|
clearInterval(qi);
|
|
9931
9931
|
}
|
|
9932
|
-
var Bo =
|
|
9932
|
+
var Bo = Tu(function(t, a, e, s) {
|
|
9933
9933
|
if (a.scroll) {
|
|
9934
9934
|
var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, o = a.scrollSensitivity, l = a.scrollSpeed, n = Xa(), d = !1, c;
|
|
9935
9935
|
mn !== e && (mn = e, br(), gi = a.scroll, c = a.scrollFn, gi === !0 && (gi = es(e, !0)));
|
|
@@ -9944,14 +9944,14 @@ var Bo = Eu(function(t, a, e, s) {
|
|
|
9944
9944
|
(lt[u].vx != R || lt[u].vy != T || lt[u].el !== Y) && (lt[u].el = Y, lt[u].vx = R, lt[u].vy = T, clearInterval(lt[u].pid), (R != 0 || T != 0) && (d = !0, lt[u].pid = setInterval((function() {
|
|
9945
9945
|
s && this.layer === 0 && Xe.active._onTouchMove(Mr);
|
|
9946
9946
|
var y = lt[this.layer].vy ? lt[this.layer].vy * l : 0, C = lt[this.layer].vx ? lt[this.layer].vx * l : 0;
|
|
9947
|
-
typeof c == "function" && c.call(Xe.dragged.parentNode[Nt], C, y, t, Mr, lt[this.layer].el) !== "continue" ||
|
|
9947
|
+
typeof c == "function" && c.call(Xe.dragged.parentNode[Nt], C, y, t, Mr, lt[this.layer].el) !== "continue" || Eu(lt[this.layer].el, C, y);
|
|
9948
9948
|
}).bind({
|
|
9949
9949
|
layer: u
|
|
9950
9950
|
}), 24))), u++;
|
|
9951
9951
|
} while (a.bubbleScroll && V !== n && (V = es(V, !1)));
|
|
9952
9952
|
fn = d;
|
|
9953
9953
|
}
|
|
9954
|
-
}, 30),
|
|
9954
|
+
}, 30), Lu = function(a) {
|
|
9955
9955
|
var e = a.originalEvent, s = a.putSortable, i = a.dragEl, r = a.activeSortable, o = a.dispatchSortableEvent, l = a.hideGhostForTarget, n = a.unhideGhostForTarget;
|
|
9956
9956
|
if (e) {
|
|
9957
9957
|
var d = s || r;
|
|
@@ -9977,7 +9977,7 @@ On.prototype = {
|
|
|
9977
9977
|
var i = Qs(this.sortable.el, this.startIndex, this.options);
|
|
9978
9978
|
i ? this.sortable.el.insertBefore(e, i) : this.sortable.el.appendChild(e), this.sortable.animateAll(), s && s.animateAll();
|
|
9979
9979
|
},
|
|
9980
|
-
drop:
|
|
9980
|
+
drop: Lu
|
|
9981
9981
|
};
|
|
9982
9982
|
Ta(On, {
|
|
9983
9983
|
pluginName: "revertOnSpill"
|
|
@@ -9989,7 +9989,7 @@ zn.prototype = {
|
|
|
9989
9989
|
var e = a.dragEl, s = a.putSortable, i = s || this.sortable;
|
|
9990
9990
|
i.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), i.animateAll();
|
|
9991
9991
|
},
|
|
9992
|
-
drop:
|
|
9992
|
+
drop: Lu
|
|
9993
9993
|
};
|
|
9994
9994
|
Ta(zn, {
|
|
9995
9995
|
pluginName: "removeOnSpill"
|
|
@@ -10016,7 +10016,7 @@ function Ln(t, a, e = {}) {
|
|
|
10016
10016
|
return om(l), nm(n), { stop: n, start: l, option: d };
|
|
10017
10017
|
}
|
|
10018
10018
|
function nF(t, a, e) {
|
|
10019
|
-
const s = ks(t), i = s ? [...
|
|
10019
|
+
const s = ks(t), i = s ? [...ml(t)] : ml(t);
|
|
10020
10020
|
if (e >= 0 && e < i.length) {
|
|
10021
10021
|
const r = i.splice(a, 1)[0];
|
|
10022
10022
|
Ut(() => {
|
|
@@ -10026,7 +10026,7 @@ function nF(t, a, e) {
|
|
|
10026
10026
|
}
|
|
10027
10027
|
let dr;
|
|
10028
10028
|
const lF = new Uint8Array(16);
|
|
10029
|
-
function
|
|
10029
|
+
function Nu() {
|
|
10030
10030
|
if (!dr && (dr = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !dr))
|
|
10031
10031
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
10032
10032
|
return dr(lF);
|
|
@@ -10034,18 +10034,18 @@ function Uu() {
|
|
|
10034
10034
|
const gt = [];
|
|
10035
10035
|
for (let t = 0; t < 256; ++t)
|
|
10036
10036
|
gt.push((t + 256).toString(16).slice(1));
|
|
10037
|
-
function
|
|
10037
|
+
function Uu(t, a = 0) {
|
|
10038
10038
|
return gt[t[a + 0]] + gt[t[a + 1]] + gt[t[a + 2]] + gt[t[a + 3]] + "-" + gt[t[a + 4]] + gt[t[a + 5]] + "-" + gt[t[a + 6]] + gt[t[a + 7]] + "-" + gt[t[a + 8]] + gt[t[a + 9]] + "-" + gt[t[a + 10]] + gt[t[a + 11]] + gt[t[a + 12]] + gt[t[a + 13]] + gt[t[a + 14]] + gt[t[a + 15]];
|
|
10039
10039
|
}
|
|
10040
|
-
let
|
|
10040
|
+
let $l, Po, Ro = 0, Oo = 0;
|
|
10041
10041
|
function dF(t, a, e) {
|
|
10042
10042
|
let s = a && e || 0;
|
|
10043
10043
|
const i = a || new Array(16);
|
|
10044
10044
|
t = t || {};
|
|
10045
|
-
let r = t.node ||
|
|
10045
|
+
let r = t.node || $l, o = t.clockseq !== void 0 ? t.clockseq : Po;
|
|
10046
10046
|
if (r == null || o == null) {
|
|
10047
|
-
const V = t.random || (t.rng ||
|
|
10048
|
-
r == null && (r =
|
|
10047
|
+
const V = t.random || (t.rng || Nu)();
|
|
10048
|
+
r == null && (r = $l = [V[0] | 1, V[1], V[2], V[3], V[4], V[5]]), o == null && (o = Po = (V[6] << 8 | V[7]) & 16383);
|
|
10049
10049
|
}
|
|
10050
10050
|
let l = t.msecs !== void 0 ? t.msecs : Date.now(), n = t.nsecs !== void 0 ? t.nsecs : Oo + 1;
|
|
10051
10051
|
const d = l - Ro + (n - Oo) / 1e4;
|
|
@@ -10058,25 +10058,25 @@ function dF(t, a, e) {
|
|
|
10058
10058
|
i[s++] = u >>> 8 & 255, i[s++] = u & 255, i[s++] = u >>> 24 & 15 | 16, i[s++] = u >>> 16 & 255, i[s++] = o >>> 8 | 128, i[s++] = o & 255;
|
|
10059
10059
|
for (let V = 0; V < 6; ++V)
|
|
10060
10060
|
i[s + V] = r[V];
|
|
10061
|
-
return a ||
|
|
10061
|
+
return a || Uu(i);
|
|
10062
10062
|
}
|
|
10063
|
-
const uF = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
10063
|
+
const uF = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Bl = {
|
|
10064
10064
|
randomUUID: uF
|
|
10065
10065
|
};
|
|
10066
10066
|
function cF(t, a, e) {
|
|
10067
|
-
if (
|
|
10068
|
-
return
|
|
10067
|
+
if (Bl.randomUUID && !a && !t)
|
|
10068
|
+
return Bl.randomUUID();
|
|
10069
10069
|
t = t || {};
|
|
10070
|
-
const s = t.random || (t.rng ||
|
|
10070
|
+
const s = t.random || (t.rng || Nu)();
|
|
10071
10071
|
if (s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, a) {
|
|
10072
10072
|
e = e || 0;
|
|
10073
10073
|
for (let i = 0; i < 16; ++i)
|
|
10074
10074
|
a[e + i] = s[i];
|
|
10075
10075
|
return a;
|
|
10076
10076
|
}
|
|
10077
|
-
return
|
|
10077
|
+
return Uu(s);
|
|
10078
10078
|
}
|
|
10079
|
-
const Za = () => dF(), BS = () => cF(), Us = "a-sortable-widget__handle",
|
|
10079
|
+
const Za = () => dF(), BS = () => cF(), Us = "a-sortable-widget__handle", ju = "a-sortable-widget__ghost", Hu = "a-sortable-widget__drag", Wu = "a-sortable-widget__chosen", $r = "a-sortable-widget__group";
|
|
10080
10080
|
function mF(t, a, e, s) {
|
|
10081
10081
|
const i = D(!1), r = D(null), o = D(null), l = D(Za()), n = D(null), d = D(0), c = D(e.dirty);
|
|
10082
10082
|
function u(T, _) {
|
|
@@ -10210,9 +10210,9 @@ const Nn = "a-sortable-", fF = ["id"], VF = { class: "a-sortable-widget__content
|
|
|
10210
10210
|
const y = M.value.querySelector("." + $r);
|
|
10211
10211
|
y && (x.value = Ln(y, [], {
|
|
10212
10212
|
handle: "." + Us,
|
|
10213
|
-
ghostClass:
|
|
10214
|
-
dragClass:
|
|
10215
|
-
chosenClass:
|
|
10213
|
+
ghostClass: ju,
|
|
10214
|
+
dragClass: Hu,
|
|
10215
|
+
chosenClass: Wu,
|
|
10216
10216
|
onEnd: async (C) => {
|
|
10217
10217
|
if (s.disableDefaultSort || L(C.oldIndex) || L(C.newIndex))
|
|
10218
10218
|
return;
|
|
@@ -10428,7 +10428,7 @@ const Nn = "a-sortable-", fF = ["id"], VF = { class: "a-sortable-widget__content
|
|
|
10428
10428
|
]);
|
|
10429
10429
|
};
|
|
10430
10430
|
}
|
|
10431
|
-
}), Vn = "a-sortable-nested-widget__handle", vF = "a-sortable-nested-widget__ghost", hF = "a-sortable-nested-widget__drag", FF = "a-sortable-nested-widget__chosen",
|
|
10431
|
+
}), Vn = "a-sortable-nested-widget__handle", vF = "a-sortable-nested-widget__ghost", hF = "a-sortable-nested-widget__drag", FF = "a-sortable-nested-widget__chosen", Pl = "a-sortable-nested-widget__group", Rl = Symbol.for("anzu:SortableLevel");
|
|
10432
10432
|
function gF(t, a, e) {
|
|
10433
10433
|
const { showWarningT: s } = Ue(), i = D([]), r = D(0), o = D(!1), l = D(null), n = D(!1), d = D(null), c = D(Za()), u = (I = void 0) => {
|
|
10434
10434
|
r.value++, L(I) || e("update:modelValue", I), Ut(() => {
|
|
@@ -10681,8 +10681,8 @@ const qF = ["data-id"], YF = { class: "a-sortable-nested-widget__nested" }, XF =
|
|
|
10681
10681
|
return;
|
|
10682
10682
|
}
|
|
10683
10683
|
s("onAddChild", Ce(e.item));
|
|
10684
|
-
}, n = Le(
|
|
10685
|
-
_i(
|
|
10684
|
+
}, n = Le(Rl, 1);
|
|
10685
|
+
_i(Rl, n + 1);
|
|
10686
10686
|
const d = S(() => e.showAddChildButton && !L(e.item.children) && e.item.children.length === 0 && n < e.maxDepth), { t: c } = te();
|
|
10687
10687
|
return (u, V) => {
|
|
10688
10688
|
const Y = Me("ASortableNestedItem", !0);
|
|
@@ -10857,7 +10857,7 @@ const qF = ["data-id"], YF = { class: "a-sortable-nested-widget__nested" }, XF =
|
|
|
10857
10857
|
}, { t: u } = te(), V = S(() => L(s.widgetIdentifierId) ? Nn + b.value : s.widgetIdentifierId), Y = S(() => s.rootClassName + " " + (h.value ? s.rootClassName + "--dragging" : "")), v = () => {
|
|
10858
10858
|
if (s.disableDraggable || !F.value)
|
|
10859
10859
|
return;
|
|
10860
|
-
const _ = Array.from(F.value.querySelectorAll("." +
|
|
10860
|
+
const _ = Array.from(F.value.querySelectorAll("." + Pl));
|
|
10861
10861
|
T.value = [];
|
|
10862
10862
|
for (let y = 0; y < _.length; y++)
|
|
10863
10863
|
T.value[y] = Ln(_[y], [], {
|
|
@@ -10939,7 +10939,7 @@ const qF = ["data-id"], YF = { class: "a-sortable-nested-widget__nested" }, XF =
|
|
|
10939
10939
|
}, [
|
|
10940
10940
|
(q(), P("div", {
|
|
10941
10941
|
key: p(X),
|
|
10942
|
-
class: fe(p(
|
|
10942
|
+
class: fe(p(Pl))
|
|
10943
10943
|
}, [
|
|
10944
10944
|
(q(!0), P(Ve, null, Ne(_.modelValue.children, (B) => (q(), E(CF, {
|
|
10945
10945
|
key: B.data.id,
|
|
@@ -11221,7 +11221,7 @@ const qF = ["data-id"], YF = { class: "a-sortable-nested-widget__nested" }, XF =
|
|
|
11221
11221
|
}, 8, ["loading"])), [
|
|
11222
11222
|
[Ma, X.value || x.loading],
|
|
11223
11223
|
[
|
|
11224
|
-
|
|
11224
|
+
kd,
|
|
11225
11225
|
w,
|
|
11226
11226
|
void 0,
|
|
11227
11227
|
{ quiet: !0 }
|
|
@@ -11353,7 +11353,7 @@ const OF = /* @__PURE__ */ W({
|
|
|
11353
11353
|
const e = t, s = a, i = (g) => e.config.attributes.type === kt.Integer ? parseInt(g) : g, r = (g) => {
|
|
11354
11354
|
s("update:modelValue", { property: e.config.property, value: i(g) });
|
|
11355
11355
|
}, o = S(() => {
|
|
11356
|
-
const g =
|
|
11356
|
+
const g = qd(e.modelValue) ? Yt(e.modelValue) : e.modelValue;
|
|
11357
11357
|
return e.config.attributes.type === kt.StringArray && jr(g) ? [] : g;
|
|
11358
11358
|
}), { maxLength: l, minLength: n, requiredIf: d, minValue: c, maxValue: u, stringArrayItemLength: V } = ls(), Y = S(() => {
|
|
11359
11359
|
const g = {
|
|
@@ -11394,7 +11394,7 @@ const OF = /* @__PURE__ */ W({
|
|
|
11394
11394
|
s("blur", e.modelValue), v.value.$touch();
|
|
11395
11395
|
};
|
|
11396
11396
|
return (g, A) => (q(), P(Ve, null, [
|
|
11397
|
-
g.config.attributes.type === p(kt).String ? (q(), E(
|
|
11397
|
+
g.config.attributes.type === p(kt).String ? (q(), E(bd, {
|
|
11398
11398
|
key: 0,
|
|
11399
11399
|
"model-value": g.modelValue,
|
|
11400
11400
|
"auto-grow": "",
|
|
@@ -11606,7 +11606,7 @@ const Ps = (t) => {
|
|
|
11606
11606
|
return "";
|
|
11607
11607
|
}
|
|
11608
11608
|
};
|
|
11609
|
-
function
|
|
11609
|
+
function Gu(t, a) {
|
|
11610
11610
|
const e = S(() => L(t) ? [] : t.split(",")), s = S(() => L(a) ? [] : Object.keys(a)), i = (l, n = !1) => {
|
|
11611
11611
|
const d = [], c = l.filter((u) => {
|
|
11612
11612
|
const V = r(u, e.value) && o(u, s.value, a);
|
|
@@ -11677,7 +11677,7 @@ const GF = {
|
|
|
11677
11677
|
},
|
|
11678
11678
|
emits: ["onDrop", "onClick"],
|
|
11679
11679
|
setup(t, { emit: a }) {
|
|
11680
|
-
const e = t, s = a, i = D(), { checkFormatsAndSizes: r } =
|
|
11680
|
+
const e = t, s = a, i = D(), { checkFormatsAndSizes: r } = Gu(e.accept, e.maxSizes);
|
|
11681
11681
|
function o(c) {
|
|
11682
11682
|
e.disabled || ie(c) || c.length === 0 || s("onDrop", r(c));
|
|
11683
11683
|
}
|
|
@@ -11719,7 +11719,7 @@ function Un(t) {
|
|
|
11719
11719
|
widgetImageToDamImageOriginalUrl: (s, i = !0) => t.previewDomain + "/image/original/" + s.dam.damId + ".jpg" + (i ? "?random=" + Date.now() : "")
|
|
11720
11720
|
};
|
|
11721
11721
|
}
|
|
11722
|
-
function
|
|
11722
|
+
function Zu(t = void 0, a) {
|
|
11723
11723
|
const e = (r) => {
|
|
11724
11724
|
const o = {};
|
|
11725
11725
|
for (let l = 0; l < a[r].mimeTypes.length; l++)
|
|
@@ -11883,14 +11883,14 @@ const Ki = "/adm/v1/image", ig = 420, rg = (t, a) => new Promise((e, s) => {
|
|
|
11883
11883
|
}
|
|
11884
11884
|
ng(t, a, e).then((o) => {
|
|
11885
11885
|
a.status = ze.Processing, s && (a.notificationFallbackTimer = setTimeout(function() {
|
|
11886
|
-
|
|
11887
|
-
},
|
|
11886
|
+
Qu(t, a);
|
|
11887
|
+
}, Ju(a))), i(o);
|
|
11888
11888
|
}).catch((o) => r(o));
|
|
11889
11889
|
});
|
|
11890
|
-
function
|
|
11890
|
+
function Ju(t) {
|
|
11891
11891
|
return dg * 1e3 * t.notificationFallbackTry * t.notificationFallbackTry;
|
|
11892
11892
|
}
|
|
11893
|
-
async function
|
|
11893
|
+
async function Qu(t, a) {
|
|
11894
11894
|
if (clearTimeout(a.notificationFallbackTimer), a.status === ze.Uploaded || a.notificationFallbackTry > ug || !a.assetId)
|
|
11895
11895
|
return;
|
|
11896
11896
|
const e = await Qa(t, a.assetId);
|
|
@@ -11908,10 +11908,10 @@ async function ec(t, a) {
|
|
|
11908
11908
|
}
|
|
11909
11909
|
}
|
|
11910
11910
|
a.notificationFallbackTry++, a.notificationFallbackTimer = setTimeout(function() {
|
|
11911
|
-
|
|
11912
|
-
},
|
|
11911
|
+
Qu(t, a);
|
|
11912
|
+
}, Ju(a));
|
|
11913
11913
|
}
|
|
11914
|
-
var
|
|
11914
|
+
var ec = { exports: {} };
|
|
11915
11915
|
(function(t, a) {
|
|
11916
11916
|
(function(s, i) {
|
|
11917
11917
|
t.exports = i();
|
|
@@ -12429,12 +12429,12 @@ var tc = { exports: {} };
|
|
|
12429
12429
|
])
|
|
12430
12430
|
);
|
|
12431
12431
|
});
|
|
12432
|
-
})(
|
|
12433
|
-
var Vg =
|
|
12432
|
+
})(ec);
|
|
12433
|
+
var Vg = ec.exports;
|
|
12434
12434
|
const pg = /* @__PURE__ */ Zr(Vg), jo = 4, vg = 1e3, hg = 1e3, Fg = 3, gg = async (t, a = null) => {
|
|
12435
12435
|
throw a;
|
|
12436
12436
|
}, qg = async (t, a) => {
|
|
12437
|
-
const { damClient: e } = ot(), { uploadStatusFallback: s } =
|
|
12437
|
+
const { damClient: e } = ot(), { uploadStatusFallback: s } = hu();
|
|
12438
12438
|
return await fg(e, t, a, s);
|
|
12439
12439
|
}, Yg = (t) => {
|
|
12440
12440
|
const { t: a } = Se.global || Se;
|
|
@@ -12455,8 +12455,8 @@ const pg = /* @__PURE__ */ Zr(Vg), jo = 4, vg = 1e3, hg = 1e3, Fg = 3, gg = asyn
|
|
|
12455
12455
|
default:
|
|
12456
12456
|
s.push(a("common.damImage.uploadErrors.systemError") + ": " + i + " - " + r.join(","));
|
|
12457
12457
|
}
|
|
12458
|
-
return s.length > 0 ? s.join(
|
|
12459
|
-
},
|
|
12458
|
+
return s.length > 0 ? s.join(Qd) : a("common.damImage.uploadErrors.unknownError");
|
|
12459
|
+
}, Ol = async (t, a, e) => new Promise((s, i) => {
|
|
12460
12460
|
const r = e.slice(t, t + a), o = new FileReader();
|
|
12461
12461
|
o.onload = function(l) {
|
|
12462
12462
|
var n;
|
|
@@ -12499,7 +12499,7 @@ function Ag(t, a = void 0) {
|
|
|
12499
12499
|
});
|
|
12500
12500
|
}), h = async (A) => {
|
|
12501
12501
|
c(t.progress.speed);
|
|
12502
|
-
let X = await
|
|
12502
|
+
let X = await Ol(A, u.value, t.file), w = new File([X.data], t.file.name);
|
|
12503
12503
|
t.currentChunkIndex = A;
|
|
12504
12504
|
const x = zr.CancelToken;
|
|
12505
12505
|
t.latestChunkCancelToken = x.source();
|
|
@@ -12511,7 +12511,7 @@ function Ag(t, a = void 0) {
|
|
|
12511
12511
|
} catch (N) {
|
|
12512
12512
|
if (_a(N))
|
|
12513
12513
|
return z = jo, t.error.message = Yg(N), Promise.reject(N);
|
|
12514
|
-
c(t.progress.speed) && (X = await
|
|
12514
|
+
c(t.progress.speed) && (X = await Ol(A, u.value, t.file), w = new File([X.data], t.file.name)), await Xg(M), z === jo - 1 ? M = 1 : M *= Fg;
|
|
12515
12515
|
}
|
|
12516
12516
|
} while (z < jo);
|
|
12517
12517
|
return Promise.reject("Unable to upload chunk, max tries exceeded");
|
|
@@ -12555,10 +12555,10 @@ function Ag(t, a = void 0) {
|
|
|
12555
12555
|
}
|
|
12556
12556
|
};
|
|
12557
12557
|
}
|
|
12558
|
-
const
|
|
12558
|
+
const zl = (t) => {
|
|
12559
12559
|
t.cancel("axios request cancelled");
|
|
12560
12560
|
}, yg = Symbol("anzu:damNotificationsEventBusKey");
|
|
12561
|
-
function
|
|
12561
|
+
function tc() {
|
|
12562
12562
|
return jt(yg);
|
|
12563
12563
|
}
|
|
12564
12564
|
const ur = {
|
|
@@ -12575,9 +12575,9 @@ const ur = {
|
|
|
12575
12575
|
DistributionFailed: "distribution_failed",
|
|
12576
12576
|
DistributionAuthorized: "distribution_authorized",
|
|
12577
12577
|
UserUpdated: "user_updated"
|
|
12578
|
-
}, { t: bg } = Se.global || Se,
|
|
12578
|
+
}, { t: bg } = Se.global || Se, Ll = D(!1);
|
|
12579
12579
|
function HS() {
|
|
12580
|
-
const { notification: t } =
|
|
12580
|
+
const { notification: t } = hu(), a = t.enabled && t.webSocketUrl.length > 0, e = tc(), { open: s } = cm(t.webSocketUrl, {
|
|
12581
12581
|
immediate: !1,
|
|
12582
12582
|
autoClose: !1,
|
|
12583
12583
|
autoReconnect: {
|
|
@@ -12601,13 +12601,13 @@ function HS() {
|
|
|
12601
12601
|
});
|
|
12602
12602
|
return {
|
|
12603
12603
|
openConnection: () => {
|
|
12604
|
-
|
|
12604
|
+
Ll.value = !0, a && s();
|
|
12605
12605
|
},
|
|
12606
|
-
damNotificationsInitialized:
|
|
12606
|
+
damNotificationsInitialized: Ll
|
|
12607
12607
|
};
|
|
12608
12608
|
}
|
|
12609
12609
|
function Cg() {
|
|
12610
|
-
const t =
|
|
12610
|
+
const t = tc();
|
|
12611
12611
|
return {
|
|
12612
12612
|
addDamNotificationListener: (e) => t.on(e)
|
|
12613
12613
|
};
|
|
@@ -12628,7 +12628,7 @@ function Ho() {
|
|
|
12628
12628
|
}
|
|
12629
12629
|
};
|
|
12630
12630
|
}
|
|
12631
|
-
function
|
|
12631
|
+
function ac(t, a, e, s = "id") {
|
|
12632
12632
|
const i = D(/* @__PURE__ */ new Map()), r = D(/* @__PURE__ */ new Set()), o = (...g) => {
|
|
12633
12633
|
const A = /* @__PURE__ */ new Set();
|
|
12634
12634
|
for (let X = 0; X < g.length; X++) {
|
|
@@ -12701,16 +12701,16 @@ const xg = (t, a) => {
|
|
|
12701
12701
|
}).catch((c) => Ra(c) ? d(new ka(c)) : _a(c) ? d(new Ia(c, i, r, c)) : za(c) ? d(new Sa(c, c)) : d(new Xt(c)));
|
|
12702
12702
|
}), lo = (t, a = {}, e, s = {}, i, r, o = {}) => new Promise((l, n) => {
|
|
12703
12703
|
t().post(ds(e, s), JSON.stringify(a), o).then((d) => us(d.status) ? d.data ? l(d.data) : d.status === Pa ? l(null) : n(new Xt()) : n(new Oa(d.status))).catch((d) => Ra(d) ? n(new ka(d)) : _a(d) ? n(new Ia(d, i, r, d)) : za(d) ? n(new Sa(d, d)) : n(new Xt(d)));
|
|
12704
|
-
}),
|
|
12704
|
+
}), sc = "/adm/v1/keyword", ic = sc + "/ext-system/:extSystemId", oi = "keyword", rc = (t, a, e) => Hn(
|
|
12705
12705
|
t,
|
|
12706
12706
|
e,
|
|
12707
|
-
|
|
12707
|
+
ic + "/search",
|
|
12708
12708
|
{ extSystemId: a },
|
|
12709
12709
|
nt,
|
|
12710
12710
|
oi,
|
|
12711
12711
|
{},
|
|
12712
12712
|
!0
|
|
12713
|
-
),
|
|
12713
|
+
), Nl = (t, a, e, s) => Pi(t, ic, { extSystemId: a }, e, s, nt, oi), wg = (t, a) => lo(t, a, sc, {}, nt, oi), kg = D(0);
|
|
12714
12714
|
function uo() {
|
|
12715
12715
|
return {
|
|
12716
12716
|
cachedExtSystemId: kg
|
|
@@ -12719,9 +12719,9 @@ function uo() {
|
|
|
12719
12719
|
const _g = (t) => ({
|
|
12720
12720
|
id: t.id,
|
|
12721
12721
|
name: t.name
|
|
12722
|
-
}), Ig = (t) => ({ id: t, name: "" }), { cache: Sg, toFetch: Kg, fetch: Dg, add: Tg, addManual: Eg, addManualMinimal: Mg, has: $g, get: Bg, isLoaded: Pg } =
|
|
12722
|
+
}), Ig = (t) => ({ id: t, name: "" }), { cache: Sg, toFetch: Kg, fetch: Dg, add: Tg, addManual: Eg, addManualMinimal: Mg, has: $g, get: Bg, isLoaded: Pg } = ac(_g, Ig, (t) => {
|
|
12723
12723
|
const { cachedExtSystemId: a } = uo(), { damClient: e } = ot();
|
|
12724
|
-
return
|
|
12724
|
+
return rc(e, a.value, t);
|
|
12725
12725
|
}), co = () => ({
|
|
12726
12726
|
addManualToCachedKeywords: Eg,
|
|
12727
12727
|
addManualMinimalToCachedKeywords: Mg,
|
|
@@ -12732,10 +12732,10 @@ const _g = (t) => ({
|
|
|
12732
12732
|
hasCachedKeyword: $g,
|
|
12733
12733
|
getCachedKeyword: Bg,
|
|
12734
12734
|
isLoadedCachedKeyword: Pg
|
|
12735
|
-
}),
|
|
12735
|
+
}), oc = "/adm/v1/author", nc = oc + "/ext-system/:extSystemId", mo = "author", ni = (t, a, e) => Hn(
|
|
12736
12736
|
t,
|
|
12737
12737
|
e,
|
|
12738
|
-
|
|
12738
|
+
nc + "/search",
|
|
12739
12739
|
{
|
|
12740
12740
|
extSystemId: a
|
|
12741
12741
|
},
|
|
@@ -12743,9 +12743,9 @@ const _g = (t) => ({
|
|
|
12743
12743
|
mo,
|
|
12744
12744
|
{},
|
|
12745
12745
|
!0
|
|
12746
|
-
),
|
|
12746
|
+
), Ul = (t, a, e, s) => Pi(
|
|
12747
12747
|
t,
|
|
12748
|
-
|
|
12748
|
+
nc,
|
|
12749
12749
|
{
|
|
12750
12750
|
extSystemId: a
|
|
12751
12751
|
},
|
|
@@ -12753,28 +12753,28 @@ const _g = (t) => ({
|
|
|
12753
12753
|
s,
|
|
12754
12754
|
nt,
|
|
12755
12755
|
mo
|
|
12756
|
-
), Rg = (t, a) => lo(t, a,
|
|
12756
|
+
), Rg = (t, a) => lo(t, a, oc, {}, nt, mo), Og = (t) => ({
|
|
12757
12757
|
id: t.id,
|
|
12758
12758
|
name: t.name,
|
|
12759
12759
|
identifier: t.identifier
|
|
12760
|
-
}), zg = (t) => ({ id: t, name: "", identifier: "" }), { cache: Lg, toFetch: Ng, fetch:
|
|
12760
|
+
}), zg = (t) => ({ id: t, name: "", identifier: "" }), { cache: Lg, toFetch: Ng, fetch: lc, add: dc, addManual: Ug, addManualMinimal: uc, has: jg, get: Hg, isLoaded: Wg } = ac(Og, zg, (t) => {
|
|
12761
12761
|
const { cachedExtSystemId: a } = uo(), { damClient: e } = ot();
|
|
12762
12762
|
return ni(e, a.value, t);
|
|
12763
12763
|
}), Ni = () => ({
|
|
12764
12764
|
addManualToCachedAuthors: Ug,
|
|
12765
|
-
addManualMinimalToCachedAuthors:
|
|
12766
|
-
addToCachedAuthors:
|
|
12767
|
-
fetchCachedAuthors:
|
|
12765
|
+
addManualMinimalToCachedAuthors: uc,
|
|
12766
|
+
addToCachedAuthors: dc,
|
|
12767
|
+
fetchCachedAuthors: lc,
|
|
12768
12768
|
toFetchCachedAuthors: Ng,
|
|
12769
12769
|
cachedAuthors: Lg,
|
|
12770
12770
|
hasCachedAuthor: jg,
|
|
12771
12771
|
getCachedAuthor: Hg,
|
|
12772
12772
|
isLoadedCachedAuthor: Wg
|
|
12773
|
-
}),
|
|
12774
|
-
fetch:
|
|
12775
|
-
add:
|
|
12776
|
-
addManualMinimal:
|
|
12777
|
-
}),
|
|
12773
|
+
}), cc = () => ({
|
|
12774
|
+
fetch: lc,
|
|
12775
|
+
add: dc,
|
|
12776
|
+
addManualMinimal: uc
|
|
12777
|
+
}), jl = 2, Gg = 10485760, Wt = $i("commonUploadQueuesStore", () => {
|
|
12778
12778
|
const { addToCachedKeywords: t, fetchCachedKeywords: a } = co(), { addToCachedAuthors: e, fetchCachedAuthors: s } = Ni(), i = D(/* @__PURE__ */ new Map()), { createDefault: r } = tg(), { damClient: o } = ot(), { addDamNotificationListener: l } = Cg();
|
|
12779
12779
|
l((C) => {
|
|
12780
12780
|
switch (C.name) {
|
|
@@ -12841,8 +12841,8 @@ const _g = (t) => ({
|
|
|
12841
12841
|
}
|
|
12842
12842
|
function h(C) {
|
|
12843
12843
|
const K = v(C, ze.Waiting);
|
|
12844
|
-
if (!(K.length === 0 || v(C, ze.Uploading).length ===
|
|
12845
|
-
for (let j = 0; j <
|
|
12844
|
+
if (!(K.length === 0 || v(C, ze.Uploading).length === jl))
|
|
12845
|
+
for (let j = 0; j < jl; j++)
|
|
12846
12846
|
K[j] && F(K[j], C);
|
|
12847
12847
|
}
|
|
12848
12848
|
async function F(C, K) {
|
|
@@ -12918,7 +12918,7 @@ const _g = (t) => ({
|
|
|
12918
12918
|
}
|
|
12919
12919
|
async function M(C, K, B) {
|
|
12920
12920
|
const j = i.value.get(C);
|
|
12921
|
-
!j || j.items.length === 0 || (K.status = ze.Stop, K.latestChunkCancelToken &&
|
|
12921
|
+
!j || j.items.length === 0 || (K.status = ze.Stop, K.latestChunkCancelToken && zl(K.latestChunkCancelToken), x(C, B), h(C));
|
|
12922
12922
|
}
|
|
12923
12923
|
async function z(C) {
|
|
12924
12924
|
const { updateNewNames: K, getAuthorConflicts: B } = Ho();
|
|
@@ -12948,7 +12948,7 @@ const _g = (t) => ({
|
|
|
12948
12948
|
K.items.forEach((j) => {
|
|
12949
12949
|
j.status = ze.Stop;
|
|
12950
12950
|
}), B.length > 0 && B.forEach((j) => {
|
|
12951
|
-
j.latestChunkCancelToken &&
|
|
12951
|
+
j.latestChunkCancelToken && zl(j.latestChunkCancelToken);
|
|
12952
12952
|
}), _(C), R(C);
|
|
12953
12953
|
}
|
|
12954
12954
|
function R(C) {
|
|
@@ -12996,11 +12996,11 @@ const _g = (t) => ({
|
|
|
12996
12996
|
};
|
|
12997
12997
|
}), fo = Symbol.for(
|
|
12998
12998
|
"anzu:ImageWidgetExtSystemConfigs"
|
|
12999
|
-
),
|
|
12999
|
+
), mc = (t, a = {}, e, s = {}, i, r, o = {}) => new Promise((l, n) => {
|
|
13000
13000
|
t().put(ds(e, s), JSON.stringify(a), o).then((d) => us(d.status) ? d.data ? l(d.data) : d.status === Pa ? l(null) : n(new Xt()) : n(new Oa(d.status))).catch((d) => Ra(d) ? n(new ka(d)) : _a(d) ? n(new Ia(d, i, r, d)) : za(d) ? n(new Sa(d, d)) : n(new Xt(d)));
|
|
13001
|
-
}),
|
|
13001
|
+
}), fc = (t, a, e = {}, s, i, r = {}) => new Promise((o, l) => {
|
|
13002
13002
|
t().delete(ds(a, e), r).then((n) => us(n.status) ? n.data ? o(n.data) : n.status === Pa ? o(null) : l(new Xt()) : l(new Oa(n.status))).catch((n) => Ra(n) ? l(new ka(n)) : _a(n) ? l(new Ia(n, s, i, n)) : za(n) ? l(new Sa(n, n)) : l(new Xt(n)));
|
|
13003
|
-
}), li = "/adm/v1/image", Ui = "image", ji = "cms", Wo = 20,
|
|
13003
|
+
}), li = "/adm/v1/image", Ui = "image", ji = "cms", Wo = 20, Vc = (t, a) => Hn(t, a, li, {}, ji, Ui), Wn = (t, a) => ia(t, li + "/:id", { id: a }, ji, Ui), pc = (t, a) => lo(t, a, li, {}, ji, Ui), vc = (t, a, e) => mc(t, e, li + "/:id", { id: a }, ji, Ui), hc = (t, a) => fc(t, li + "/:id", { id: a }, ji, Ui), Zg = (t, a) => new Promise((e, s) => {
|
|
13004
13004
|
Jg(t, a).then((i) => {
|
|
13005
13005
|
if (a.length === 0)
|
|
13006
13006
|
return e([]);
|
|
@@ -13147,9 +13147,9 @@ const Qg = {
|
|
|
13147
13147
|
removeImageByIndex: l,
|
|
13148
13148
|
reset: n
|
|
13149
13149
|
};
|
|
13150
|
-
}), Ea = Symbol.for("anzu:common:asset-metadata-validation-scope"),
|
|
13151
|
-
function gc(t
|
|
13152
|
-
const
|
|
13150
|
+
}), Ea = Symbol.for("anzu:common:asset-metadata-validation-scope"), Fc = Symbol.for("anzu:common:image-validation-scope"), oq = Symbol.for("anzu:common:keyword-create-validation-scope"), nq = Symbol.for("anzu:common:author-create-validation-scope"), { required: lq, maxLength: dq } = ls();
|
|
13151
|
+
function gc(t) {
|
|
13152
|
+
const a = S(() => ({
|
|
13153
13153
|
image: {
|
|
13154
13154
|
texts: {
|
|
13155
13155
|
source: {
|
|
@@ -13160,7 +13160,7 @@ function gc(t, a = void 0) {
|
|
|
13160
13160
|
}
|
|
13161
13161
|
}));
|
|
13162
13162
|
return {
|
|
13163
|
-
v$: aa(
|
|
13163
|
+
v$: aa(a, { image: t }, { $scope: Fc, $stopPropagation: !0 })
|
|
13164
13164
|
};
|
|
13165
13165
|
}
|
|
13166
13166
|
const uq = { key: 0 }, cq = { class: "d-flex align-center justify-center" }, mq = {
|
|
@@ -13179,7 +13179,7 @@ const uq = { key: 0 }, cq = { class: "d-flex align-center justify-center" }, mq
|
|
|
13179
13179
|
},
|
|
13180
13180
|
emits: ["editAsset", "onConfirm", "onClose"],
|
|
13181
13181
|
setup(t, { expose: a, emit: e }) {
|
|
13182
|
-
const s = e, { t: i } = te(), r = Hi(), { imageDetail: o } = St(r), { v$: l } = gc(o
|
|
13182
|
+
const s = e, { t: i } = te(), r = Hi(), { imageDetail: o } = St(r), { v$: l } = gc(o), { showValidationError: n } = Ue(), d = () => {
|
|
13183
13183
|
if (l.value.$touch(), l.value.$invalid) {
|
|
13184
13184
|
n();
|
|
13185
13185
|
return;
|
|
@@ -13434,11 +13434,11 @@ const Va = $i("commonAssetDetailStore", () => {
|
|
|
13434
13434
|
_: 1
|
|
13435
13435
|
}));
|
|
13436
13436
|
}
|
|
13437
|
-
}),
|
|
13437
|
+
}), Hl = 60, Wl = 3600, Gl = 86400;
|
|
13438
13438
|
function gq() {
|
|
13439
13439
|
const { t } = te(), a = (i, r) => {
|
|
13440
13440
|
const o = r ? "common.time.short." : "common.time.long.";
|
|
13441
|
-
return i >
|
|
13441
|
+
return i > Gl ? t(o + "remainingDays", { value: Math.floor(i / Gl) }) : i > Wl ? t(o + "remainingHours", { value: Math.floor(i / Wl) }) : i > Hl ? t(o + "remainingMinutes", { value: Math.floor(i / Hl) }) : t(o + "remainingSeconds", { value: i });
|
|
13442
13442
|
};
|
|
13443
13443
|
return {
|
|
13444
13444
|
remainingTimeShort: (i) => a(i, !0),
|
|
@@ -13476,7 +13476,7 @@ const qq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
13476
13476
|
height: 4320,
|
|
13477
13477
|
svgSrc: Xq
|
|
13478
13478
|
}
|
|
13479
|
-
], wq = bq, kq = xq, _q = Cq,
|
|
13479
|
+
], wq = bq, kq = xq, _q = Cq, Zl = 600, Iq = ["src", "title"], Go = /* @__PURE__ */ W({
|
|
13480
13480
|
__name: "AssetImageMetaIcons",
|
|
13481
13481
|
props: {
|
|
13482
13482
|
assetType: {},
|
|
@@ -13486,7 +13486,7 @@ const qq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
13486
13486
|
setup(t) {
|
|
13487
13487
|
const a = t, { t: e } = te(), s = (o, l) => {
|
|
13488
13488
|
if (!(a.assetFileProperties.width === 0 || a.assetFileProperties.height === 0)) {
|
|
13489
|
-
if (a.assetFileProperties.width <
|
|
13489
|
+
if (a.assetFileProperties.width < Zl || a.assetFileProperties.height < Zl) {
|
|
13490
13490
|
o.push(_q), l.push(e("common.damImage.asset.metaIcons.low"));
|
|
13491
13491
|
return;
|
|
13492
13492
|
}
|
|
@@ -13556,7 +13556,7 @@ const qq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
13556
13556
|
}, Uq = {
|
|
13557
13557
|
key: 1,
|
|
13558
13558
|
class: "asset-image__progress asset-image__progress--animate-done"
|
|
13559
|
-
}, jq = { class: "text-caption text-center" },
|
|
13559
|
+
}, jq = { class: "text-caption text-center" }, Zn = /* @__PURE__ */ W({
|
|
13560
13560
|
__name: "AssetImage",
|
|
13561
13561
|
props: {
|
|
13562
13562
|
src: { default: void 0 },
|
|
@@ -13796,14 +13796,14 @@ function Hq() {
|
|
|
13796
13796
|
getAssetFileFailReasonOption: (s) => a.value.find((i) => i.value === s)
|
|
13797
13797
|
};
|
|
13798
13798
|
}
|
|
13799
|
-
const
|
|
13799
|
+
const Jn = /* @__PURE__ */ W({
|
|
13800
13800
|
__name: "AssetFileFailReasonChip",
|
|
13801
13801
|
props: {
|
|
13802
13802
|
reason: {}
|
|
13803
13803
|
},
|
|
13804
13804
|
setup(t) {
|
|
13805
13805
|
const a = t, { getAssetFileFailReasonOption: e } = Hq(), s = S(() => e(a.reason));
|
|
13806
|
-
return (i, r) => s.value ? (q(), E(
|
|
13806
|
+
return (i, r) => s.value ? (q(), E(mu, { key: 0 }, {
|
|
13807
13807
|
default: f(() => [
|
|
13808
13808
|
$(k(s.value.title), 1)
|
|
13809
13809
|
]),
|
|
@@ -13852,7 +13852,7 @@ const Qn = /* @__PURE__ */ W({
|
|
|
13852
13852
|
$(k(p(a)("common.damImage.asset.detail.info.status.failed")) + " ", 1),
|
|
13853
13853
|
e.assetMainFileFailReason ? (q(), P("div", Zq, [
|
|
13854
13854
|
Jq,
|
|
13855
|
-
m(
|
|
13855
|
+
m(Jn, { reason: e.assetMainFileFailReason }, null, 8, ["reason"])
|
|
13856
13856
|
])) : U("", !0)
|
|
13857
13857
|
]),
|
|
13858
13858
|
_: 1
|
|
@@ -13894,7 +13894,7 @@ function Yc(t) {
|
|
|
13894
13894
|
unMounted: e
|
|
13895
13895
|
};
|
|
13896
13896
|
}
|
|
13897
|
-
const a7 = { class: "w-100 text-right" },
|
|
13897
|
+
const a7 = { class: "w-100 text-right" }, Qn = /* @__PURE__ */ W({
|
|
13898
13898
|
__name: "AssetDetailSidebarActionsWrapper",
|
|
13899
13899
|
props: {
|
|
13900
13900
|
queueKey: {}
|
|
@@ -13910,7 +13910,7 @@ const a7 = { class: "w-100 text-right" }, el = /* @__PURE__ */ W({
|
|
|
13910
13910
|
])
|
|
13911
13911
|
], 8, ["to"])) : U("", !0);
|
|
13912
13912
|
}
|
|
13913
|
-
}),
|
|
13913
|
+
}), el = /* @__PURE__ */ W({
|
|
13914
13914
|
__name: "AssetCustomMetadataForm",
|
|
13915
13915
|
props: {
|
|
13916
13916
|
assetType: {},
|
|
@@ -14055,7 +14055,7 @@ const a7 = { class: "w-100 text-right" }, el = /* @__PURE__ */ W({
|
|
|
14055
14055
|
}),
|
|
14056
14056
|
m(ue, { cols: "9" }, {
|
|
14057
14057
|
default: f(() => [
|
|
14058
|
-
m(
|
|
14058
|
+
m(_d, {
|
|
14059
14059
|
value: e.file.imageAttributes.animated
|
|
14060
14060
|
}, null, 8, ["value"])
|
|
14061
14061
|
]),
|
|
@@ -14066,7 +14066,7 @@ const a7 = { class: "w-100 text-right" }, el = /* @__PURE__ */ W({
|
|
|
14066
14066
|
})
|
|
14067
14067
|
], 64));
|
|
14068
14068
|
}
|
|
14069
|
-
}), i7 = { key: 1 },
|
|
14069
|
+
}), i7 = { key: 1 }, Jl = /* @__PURE__ */ W({
|
|
14070
14070
|
__name: "AuthorRemoteAutocompleteCachedAuthorChip",
|
|
14071
14071
|
props: {
|
|
14072
14072
|
id: {},
|
|
@@ -14181,18 +14181,18 @@ const a7 = { class: "w-100 text-right" }, el = /* @__PURE__ */ W({
|
|
|
14181
14181
|
}), o = (u) => u.map((V) => r(V)), l = (u) => u.map((V) => i(V));
|
|
14182
14182
|
return {
|
|
14183
14183
|
mapToValueObject: r,
|
|
14184
|
-
fetchItems: async (u, V) => o(await
|
|
14184
|
+
fetchItems: async (u, V) => o(await Ul(a, t, u, V)),
|
|
14185
14185
|
fetchItemsByIds: async (u) => o(await ni(a, t, u)),
|
|
14186
|
-
fetchItemsMinimal: async (u, V) => l(await
|
|
14186
|
+
fetchItemsMinimal: async (u, V) => l(await Ul(a, t, u, V))
|
|
14187
14187
|
};
|
|
14188
|
-
},
|
|
14188
|
+
}, Ql = En(nt, "author");
|
|
14189
14189
|
function n7() {
|
|
14190
14190
|
return $a({
|
|
14191
14191
|
_elastic: {
|
|
14192
|
-
...
|
|
14192
|
+
...Ql({ exclude: !0 })
|
|
14193
14193
|
},
|
|
14194
14194
|
text: {
|
|
14195
|
-
...
|
|
14195
|
+
...Ql({ name: "text" })
|
|
14196
14196
|
}
|
|
14197
14197
|
});
|
|
14198
14198
|
}
|
|
@@ -14221,16 +14221,16 @@ function l7() {
|
|
|
14221
14221
|
getAuthorTypeOption: (s) => a.value.find((i) => i.value === s)
|
|
14222
14222
|
};
|
|
14223
14223
|
}
|
|
14224
|
-
const { required: d7, minLength:
|
|
14224
|
+
const { required: d7, minLength: ed } = ls();
|
|
14225
14225
|
function u7(t, a = void 0) {
|
|
14226
14226
|
const e = S(() => ({
|
|
14227
14227
|
author: {
|
|
14228
14228
|
name: {
|
|
14229
14229
|
required: d7,
|
|
14230
|
-
minLength:
|
|
14230
|
+
minLength: ed(3)
|
|
14231
14231
|
},
|
|
14232
14232
|
identifier: {
|
|
14233
|
-
minLength:
|
|
14233
|
+
minLength: ed(3)
|
|
14234
14234
|
}
|
|
14235
14235
|
}
|
|
14236
14236
|
}));
|
|
@@ -14487,10 +14487,10 @@ const m7 = /* @__PURE__ */ W({
|
|
|
14487
14487
|
return xt(() => {
|
|
14488
14488
|
}), (g, A) => (q(), P(Ve, null, [
|
|
14489
14489
|
O("div", f7, [
|
|
14490
|
-
m(
|
|
14490
|
+
m(pu, {
|
|
14491
14491
|
modelValue: i.value,
|
|
14492
14492
|
"onUpdate:modelValue": A[1] || (A[1] = (X) => i.value = X),
|
|
14493
|
-
"use-cached": p(
|
|
14493
|
+
"use-cached": p(cc),
|
|
14494
14494
|
v: p(d),
|
|
14495
14495
|
required: o.value,
|
|
14496
14496
|
label: g.label,
|
|
@@ -14511,7 +14511,7 @@ const m7 = /* @__PURE__ */ W({
|
|
|
14511
14511
|
}, ["prevent"]))
|
|
14512
14512
|
}), ma({
|
|
14513
14513
|
title: f(() => [
|
|
14514
|
-
(q(), E(
|
|
14514
|
+
(q(), E(Jl, {
|
|
14515
14515
|
id: w.value,
|
|
14516
14516
|
key: w.value,
|
|
14517
14517
|
"queue-id": g.queueId,
|
|
@@ -14534,7 +14534,7 @@ const m7 = /* @__PURE__ */ W({
|
|
|
14534
14534
|
]), 1040)
|
|
14535
14535
|
]),
|
|
14536
14536
|
chip: f(({ item: X }) => [
|
|
14537
|
-
(q(), E(
|
|
14537
|
+
(q(), E(Jl, {
|
|
14538
14538
|
id: X.value,
|
|
14539
14539
|
key: X.value,
|
|
14540
14540
|
"queue-id": g.queueId,
|
|
@@ -14584,9 +14584,9 @@ const m7 = /* @__PURE__ */ W({
|
|
|
14584
14584
|
}), o = (u) => u.map((V) => i(V)), l = (u) => u.map((V) => r(V));
|
|
14585
14585
|
return {
|
|
14586
14586
|
mapToValueObject: i,
|
|
14587
|
-
fetchItems: async (u, V) => o(await
|
|
14588
|
-
fetchItemsByIds: async (u) => o(await
|
|
14589
|
-
fetchItemsMinimal: async (u, V) => l(await
|
|
14587
|
+
fetchItems: async (u, V) => o(await Nl(a, t, u, V)),
|
|
14588
|
+
fetchItemsByIds: async (u) => o(await rc(a, t, u)),
|
|
14589
|
+
fetchItemsMinimal: async (u, V) => l(await Nl(a, t, u, V))
|
|
14590
14590
|
};
|
|
14591
14591
|
}, Rs = En(nt, oi);
|
|
14592
14592
|
$a({
|
|
@@ -14613,7 +14613,7 @@ function h7() {
|
|
|
14613
14613
|
}
|
|
14614
14614
|
});
|
|
14615
14615
|
}
|
|
14616
|
-
const F7 = { key: 1 },
|
|
14616
|
+
const F7 = { key: 1 }, td = /* @__PURE__ */ W({
|
|
14617
14617
|
__name: "KeywordRemoteAutocompleteCachedKeywordChip",
|
|
14618
14618
|
props: {
|
|
14619
14619
|
id: {},
|
|
@@ -14899,10 +14899,10 @@ const A7 = /* @__PURE__ */ W({
|
|
|
14899
14899
|
i.value = F.id;
|
|
14900
14900
|
}, h = (F) => ft(i.value) ? i.value.includes(F) : i.value ? i.value === F : !1;
|
|
14901
14901
|
return (F, b) => (q(), P("div", y7, [
|
|
14902
|
-
m(
|
|
14902
|
+
m(pu, {
|
|
14903
14903
|
modelValue: i.value,
|
|
14904
14904
|
"onUpdate:modelValue": b[1] || (b[1] = (g) => i.value = g),
|
|
14905
|
-
"use-cached": p(
|
|
14905
|
+
"use-cached": p(cc),
|
|
14906
14906
|
v: p(n),
|
|
14907
14907
|
required: r.value,
|
|
14908
14908
|
label: F.label,
|
|
@@ -14923,7 +14923,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
14923
14923
|
}, ["prevent"]))
|
|
14924
14924
|
}), ma({
|
|
14925
14925
|
title: f(() => [
|
|
14926
|
-
(q(), E(
|
|
14926
|
+
(q(), E(td, {
|
|
14927
14927
|
id: A.value,
|
|
14928
14928
|
key: A.value,
|
|
14929
14929
|
"queue-id": F.queueId,
|
|
@@ -14946,7 +14946,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
14946
14946
|
]), 1040)
|
|
14947
14947
|
]),
|
|
14948
14948
|
chip: f(({ item: g }) => [
|
|
14949
|
-
(q(), E(
|
|
14949
|
+
(q(), E(td, {
|
|
14950
14950
|
id: g.value,
|
|
14951
14951
|
key: g.value,
|
|
14952
14952
|
"queue-id": F.queueId,
|
|
@@ -14969,7 +14969,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
14969
14969
|
])
|
|
14970
14970
|
]));
|
|
14971
14971
|
}
|
|
14972
|
-
}),
|
|
14972
|
+
}), tl = (t, a) => {
|
|
14973
14973
|
const { getDamConfigExtSystem: e } = Pt(), s = e(a);
|
|
14974
14974
|
if (L(s))
|
|
14975
14975
|
throw new Error("Ext system must be initialised.");
|
|
@@ -14978,7 +14978,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
14978
14978
|
keywordEnabled: i,
|
|
14979
14979
|
keywordRequired: r
|
|
14980
14980
|
};
|
|
14981
|
-
},
|
|
14981
|
+
}, al = (t, a) => {
|
|
14982
14982
|
const { getDamConfigExtSystem: e } = Pt(), s = e(a);
|
|
14983
14983
|
if (L(s))
|
|
14984
14984
|
throw new Error("Ext system must be initialised.");
|
|
@@ -14998,7 +14998,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
14998
14998
|
return ((F = r.value) == null ? void 0 : F.attributes.assetType) || he.Default;
|
|
14999
14999
|
}), d = S(() => n.value === he.Image), c = S(() => r.value && r.value.mainFile ? r.value.mainFile : null), u = () => {
|
|
15000
15000
|
l.value = !0;
|
|
15001
|
-
}, { keywordRequired: V, keywordEnabled: Y } =
|
|
15001
|
+
}, { keywordRequired: V, keywordEnabled: Y } = tl(n.value, a.extSystem), { authorRequired: v, authorEnabled: h } = al(n.value, a.extSystem);
|
|
15002
15002
|
return (F, b) => p(r) ? (q(), E(Sn, {
|
|
15003
15003
|
key: 0,
|
|
15004
15004
|
modelValue: s.value,
|
|
@@ -15015,7 +15015,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
15015
15015
|
default: f(() => [
|
|
15016
15016
|
m(Zs, null, {
|
|
15017
15017
|
default: f(() => [
|
|
15018
|
-
p(r) ? (q(), E(
|
|
15018
|
+
p(r) ? (q(), E(el, {
|
|
15019
15019
|
key: 0,
|
|
15020
15020
|
modelValue: p(r).metadata.customData,
|
|
15021
15021
|
"onUpdate:modelValue": b[2] || (b[2] = (g) => p(r).metadata.customData = g),
|
|
@@ -15281,7 +15281,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
15281
15281
|
return (v, h) => {
|
|
15282
15282
|
const F = Me("ABtnPrimary");
|
|
15283
15283
|
return q(), P(Ve, null, [
|
|
15284
|
-
v.isActive ? (q(), E(
|
|
15284
|
+
v.isActive ? (q(), E(Qn, {
|
|
15285
15285
|
key: 0,
|
|
15286
15286
|
"queue-key": v.queueKey
|
|
15287
15287
|
}, {
|
|
@@ -15391,7 +15391,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
15391
15391
|
]);
|
|
15392
15392
|
};
|
|
15393
15393
|
}
|
|
15394
|
-
}), bc = "/adm/v1/roi", S7 = "/adm/v1/image/:id/roi",
|
|
15394
|
+
}), bc = "/adm/v1/roi", S7 = "/adm/v1/image/:id/roi", sl = "asset", K7 = (t, a) => ia(t, bc + "/:id", { id: a }, "coreDam", sl), D7 = (t, a, e) => mc(t, e, bc + "/:id", { id: a }, "coreDam", sl), T7 = (t, a, e, s) => Pi(t, S7, { id: a }, e, s, "coreDam", sl), E7 = { class: "px-3" }, M7 = { class: "v-expansion-panel-title px-0" }, $7 = { class: "text-caption" }, B7 = {
|
|
15395
15395
|
key: 1,
|
|
15396
15396
|
class: "w-100 h-100 d-flex align-center justify-center"
|
|
15397
15397
|
}, P7 = {
|
|
@@ -15426,7 +15426,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
15426
15426
|
var u;
|
|
15427
15427
|
const c = Me("ABtnTertiary");
|
|
15428
15428
|
return q(), P(Ve, null, [
|
|
15429
|
-
n.isActive ? (q(), E(
|
|
15429
|
+
n.isActive ? (q(), E(Qn, {
|
|
15430
15430
|
key: 0,
|
|
15431
15431
|
"queue-key": n.queueKey
|
|
15432
15432
|
}, {
|
|
@@ -15589,10 +15589,10 @@ const A7 = /* @__PURE__ */ W({
|
|
|
15589
15589
|
l < 0 && (l = 0);
|
|
15590
15590
|
let n = Js((r.y / o).toFixed(mr));
|
|
15591
15591
|
n < 0 && (n = 0);
|
|
15592
|
-
let d =
|
|
15592
|
+
let d = fl((r.width / i.naturalWidth).toFixed(mr));
|
|
15593
15593
|
const c = d * e + l;
|
|
15594
15594
|
c > e && (d = d - (c - e) * 100 / e);
|
|
15595
|
-
let u =
|
|
15595
|
+
let u = fl((r.height / i.naturalHeight).toFixed(mr));
|
|
15596
15596
|
const V = u * s + n;
|
|
15597
15597
|
return V > s && (u = u - (V - s) * 100 / s), a.pointX = l, a.pointY = n, a.percentageWidth = d, a.percentageHeight = u, a;
|
|
15598
15598
|
};
|
|
@@ -15605,7 +15605,7 @@ const A7 = /* @__PURE__ */ W({
|
|
|
15605
15605
|
*
|
|
15606
15606
|
* Date: 2023-09-17T03:44:19.860Z
|
|
15607
15607
|
*/
|
|
15608
|
-
function
|
|
15608
|
+
function ad(t, a) {
|
|
15609
15609
|
var e = Object.keys(t);
|
|
15610
15610
|
if (Object.getOwnPropertySymbols) {
|
|
15611
15611
|
var s = Object.getOwnPropertySymbols(t);
|
|
@@ -15618,9 +15618,9 @@ function sd(t, a) {
|
|
|
15618
15618
|
function wc(t) {
|
|
15619
15619
|
for (var a = 1; a < arguments.length; a++) {
|
|
15620
15620
|
var e = arguments[a] != null ? arguments[a] : {};
|
|
15621
|
-
a % 2 ?
|
|
15621
|
+
a % 2 ? ad(Object(e), !0).forEach(function(s) {
|
|
15622
15622
|
eY(t, s, e[s]);
|
|
15623
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) :
|
|
15623
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ad(Object(e)).forEach(function(s) {
|
|
15624
15624
|
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(e, s));
|
|
15625
15625
|
});
|
|
15626
15626
|
}
|
|
@@ -15638,14 +15638,14 @@ function J7(t, a) {
|
|
|
15638
15638
|
if (!(t instanceof a))
|
|
15639
15639
|
throw new TypeError("Cannot call a class as a function");
|
|
15640
15640
|
}
|
|
15641
|
-
function
|
|
15641
|
+
function sd(t, a) {
|
|
15642
15642
|
for (var e = 0; e < a.length; e++) {
|
|
15643
15643
|
var s = a[e];
|
|
15644
15644
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(t, _c(s.key), s);
|
|
15645
15645
|
}
|
|
15646
15646
|
}
|
|
15647
15647
|
function Q7(t, a, e) {
|
|
15648
|
-
return a &&
|
|
15648
|
+
return a && sd(t.prototype, a), e && sd(t, e), Object.defineProperty(t, "prototype", {
|
|
15649
15649
|
writable: !1
|
|
15650
15650
|
}), t;
|
|
15651
15651
|
}
|
|
@@ -15705,12 +15705,12 @@ function _c(t) {
|
|
|
15705
15705
|
var a = rY(t, "string");
|
|
15706
15706
|
return typeof a == "symbol" ? a : String(a);
|
|
15707
15707
|
}
|
|
15708
|
-
var vo = typeof window < "u" && typeof window.document < "u", Ca = vo ? window : {},
|
|
15708
|
+
var vo = typeof window < "u" && typeof window.document < "u", Ca = vo ? window : {}, il = vo && Ca.document.documentElement ? "ontouchstart" in Ca.document.documentElement : !1, rl = vo ? "PointerEvent" in Ca : !1, Ge = "cropper", ol = "all", Ic = "crop", Sc = "move", Kc = "zoom", hs = "e", Fs = "w", Ms = "s", ja = "n", fi = "ne", Vi = "nw", pi = "se", vi = "sw", Fn = "".concat(Ge, "-crop"), id = "".concat(Ge, "-disabled"), Et = "".concat(Ge, "-hidden"), rd = "".concat(Ge, "-hide"), oY = "".concat(Ge, "-invisible"), Br = "".concat(Ge, "-modal"), gn = "".concat(Ge, "-move"), Di = "".concat(Ge, "Action"), fr = "".concat(Ge, "Preview"), nl = "crop", Dc = "move", Tc = "none", qn = "crop", Yn = "cropend", Xn = "cropmove", An = "cropstart", od = "dblclick", nY = il ? "touchstart" : "mousedown", lY = il ? "touchmove" : "mousemove", dY = il ? "touchend touchcancel" : "mouseup", nd = rl ? "pointerdown" : nY, ld = rl ? "pointermove" : lY, dd = rl ? "pointerup pointercancel" : dY, ud = "ready", cd = "resize", md = "wheel", yn = "zoom", fd = "image/jpeg", uY = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, cY = /^data:/, mY = /^data:image\/jpeg;base64,/, fY = /^img|canvas$/i, Ec = 200, Mc = 100, Vd = {
|
|
15709
15709
|
// Define the view mode of the cropper
|
|
15710
15710
|
viewMode: 0,
|
|
15711
15711
|
// 0, 1, 2, 3
|
|
15712
15712
|
// Define the dragging mode of the cropper
|
|
15713
|
-
dragMode:
|
|
15713
|
+
dragMode: nl,
|
|
15714
15714
|
// 'crop', 'move' or 'none'
|
|
15715
15715
|
// Define the initial aspect ratio of the crop box
|
|
15716
15716
|
initialAspectRatio: NaN,
|
|
@@ -15780,7 +15780,7 @@ var vo = typeof window < "u" && typeof window.document < "u", Ca = vo ? window :
|
|
|
15780
15780
|
function Ke(t) {
|
|
15781
15781
|
return typeof t == "number" && !pY(t);
|
|
15782
15782
|
}
|
|
15783
|
-
var
|
|
15783
|
+
var pd = function(a) {
|
|
15784
15784
|
return a > 0 && a < 1 / 0;
|
|
15785
15785
|
};
|
|
15786
15786
|
function Jo(t) {
|
|
@@ -15880,14 +15880,14 @@ function zs(t, a, e) {
|
|
|
15880
15880
|
}
|
|
15881
15881
|
}
|
|
15882
15882
|
var YY = /([a-z\d])([A-Z])/g;
|
|
15883
|
-
function
|
|
15883
|
+
function ll(t) {
|
|
15884
15884
|
return t.replace(YY, "$1-$2").toLowerCase();
|
|
15885
15885
|
}
|
|
15886
15886
|
function bn(t, a) {
|
|
15887
|
-
return ws(t[a]) ? t[a] : t.dataset ? t.dataset[a] : t.getAttribute("data-".concat(
|
|
15887
|
+
return ws(t[a]) ? t[a] : t.dataset ? t.dataset[a] : t.getAttribute("data-".concat(ll(a)));
|
|
15888
15888
|
}
|
|
15889
15889
|
function Ti(t, a, e) {
|
|
15890
|
-
ws(e) ? t[a] = e : t.dataset ? t.dataset[a] = e : t.setAttribute("data-".concat(
|
|
15890
|
+
ws(e) ? t[a] = e : t.dataset ? t.dataset[a] = e : t.setAttribute("data-".concat(ll(a)), e);
|
|
15891
15891
|
}
|
|
15892
15892
|
function XY(t, a) {
|
|
15893
15893
|
if (ws(t[a]))
|
|
@@ -15903,7 +15903,7 @@ function XY(t, a) {
|
|
|
15903
15903
|
t.dataset[a] = void 0;
|
|
15904
15904
|
}
|
|
15905
15905
|
else
|
|
15906
|
-
t.removeAttribute("data-".concat(
|
|
15906
|
+
t.removeAttribute("data-".concat(ll(a)));
|
|
15907
15907
|
}
|
|
15908
15908
|
var Bc = /\s\s*/, Pc = function() {
|
|
15909
15909
|
var t = !1;
|
|
@@ -15967,11 +15967,11 @@ function Rc(t) {
|
|
|
15967
15967
|
};
|
|
15968
15968
|
}
|
|
15969
15969
|
var Qo = Ca.location, AY = /^(\w+:)\/\/([^:/?#]*):?(\d*)/i;
|
|
15970
|
-
function
|
|
15970
|
+
function vd(t) {
|
|
15971
15971
|
var a = t.match(AY);
|
|
15972
15972
|
return a !== null && (a[1] !== Qo.protocol || a[2] !== Qo.hostname || a[3] !== Qo.port);
|
|
15973
15973
|
}
|
|
15974
|
-
function
|
|
15974
|
+
function hd(t) {
|
|
15975
15975
|
var a = "timestamp=".concat((/* @__PURE__ */ new Date()).getTime());
|
|
15976
15976
|
return t + (t.indexOf("?") === -1 ? "?" : "&") + a;
|
|
15977
15977
|
}
|
|
@@ -16015,7 +16015,7 @@ function bY(t) {
|
|
|
16015
16015
|
};
|
|
16016
16016
|
}
|
|
16017
16017
|
function as(t) {
|
|
16018
|
-
var a = t.aspectRatio, e = t.height, s = t.width, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "contain", r =
|
|
16018
|
+
var a = t.aspectRatio, e = t.height, s = t.width, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "contain", r = pd(s), o = pd(e);
|
|
16019
16019
|
if (r && o) {
|
|
16020
16020
|
var l = e * a;
|
|
16021
16021
|
i === "contain" && l > s || i === "cover" && l < s ? e = s / a : s = e * a;
|
|
@@ -16248,7 +16248,7 @@ var DY = {
|
|
|
16248
16248
|
},
|
|
16249
16249
|
renderCropBox: function() {
|
|
16250
16250
|
var a = this.options, e = this.containerData, s = this.cropBoxData;
|
|
16251
|
-
(s.width > s.maxWidth || s.width < s.minWidth) && (s.left = s.oldLeft), (s.height > s.maxHeight || s.height < s.minHeight) && (s.top = s.oldTop), s.width = Math.min(Math.max(s.width, s.minWidth), s.maxWidth), s.height = Math.min(Math.max(s.height, s.minHeight), s.maxHeight), this.limitCropBox(!1, !0), s.left = Math.min(Math.max(s.left, s.minLeft), s.maxLeft), s.top = Math.min(Math.max(s.top, s.minTop), s.maxTop), s.oldLeft = s.left, s.oldTop = s.top, a.movable && a.cropBoxMovable && Ti(this.face, Di, s.width >= e.width && s.height >= e.height ? Sc :
|
|
16251
|
+
(s.width > s.maxWidth || s.width < s.minWidth) && (s.left = s.oldLeft), (s.height > s.maxHeight || s.height < s.minHeight) && (s.top = s.oldTop), s.width = Math.min(Math.max(s.width, s.minWidth), s.maxWidth), s.height = Math.min(Math.max(s.height, s.minHeight), s.maxHeight), this.limitCropBox(!1, !0), s.left = Math.min(Math.max(s.left, s.minLeft), s.maxLeft), s.top = Math.min(Math.max(s.top, s.minTop), s.maxTop), s.oldLeft = s.left, s.oldTop = s.top, a.movable && a.cropBoxMovable && Ti(this.face, Di, s.width >= e.width && s.height >= e.height ? Sc : ol), ts(this.cropBox, Ze({
|
|
16252
16252
|
width: s.width,
|
|
16253
16253
|
height: s.height
|
|
16254
16254
|
}, ki({
|
|
@@ -16308,17 +16308,17 @@ var DY = {
|
|
|
16308
16308
|
}, EY = {
|
|
16309
16309
|
bind: function() {
|
|
16310
16310
|
var a = this.element, e = this.options, s = this.cropper;
|
|
16311
|
-
Tt(e.cropstart) && Gt(a, An, e.cropstart), Tt(e.cropmove) && Gt(a, Xn, e.cropmove), Tt(e.cropend) && Gt(a, Yn, e.cropend), Tt(e.crop) && Gt(a, qn, e.crop), Tt(e.zoom) && Gt(a, yn, e.zoom), Gt(s,
|
|
16311
|
+
Tt(e.cropstart) && Gt(a, An, e.cropstart), Tt(e.cropmove) && Gt(a, Xn, e.cropmove), Tt(e.cropend) && Gt(a, Yn, e.cropend), Tt(e.crop) && Gt(a, qn, e.crop), Tt(e.zoom) && Gt(a, yn, e.zoom), Gt(s, nd, this.onCropStart = this.cropStart.bind(this)), e.zoomable && e.zoomOnWheel && Gt(s, md, this.onWheel = this.wheel.bind(this), {
|
|
16312
16312
|
passive: !1,
|
|
16313
16313
|
capture: !0
|
|
16314
|
-
}), e.toggleDragModeOnDblclick && Gt(s,
|
|
16314
|
+
}), e.toggleDragModeOnDblclick && Gt(s, od, this.onDblclick = this.dblclick.bind(this)), Gt(a.ownerDocument, ld, this.onCropMove = this.cropMove.bind(this)), Gt(a.ownerDocument, dd, this.onCropEnd = this.cropEnd.bind(this)), e.responsive && Gt(window, cd, this.onResize = this.resize.bind(this));
|
|
16315
16315
|
},
|
|
16316
16316
|
unbind: function() {
|
|
16317
16317
|
var a = this.element, e = this.options, s = this.cropper;
|
|
16318
|
-
Tt(e.cropstart) && la(a, An, e.cropstart), Tt(e.cropmove) && la(a, Xn, e.cropmove), Tt(e.cropend) && la(a, Yn, e.cropend), Tt(e.crop) && la(a, qn, e.crop), Tt(e.zoom) && la(a, yn, e.zoom), la(s,
|
|
16318
|
+
Tt(e.cropstart) && la(a, An, e.cropstart), Tt(e.cropmove) && la(a, Xn, e.cropmove), Tt(e.cropend) && la(a, Yn, e.cropend), Tt(e.crop) && la(a, qn, e.crop), Tt(e.zoom) && la(a, yn, e.zoom), la(s, nd, this.onCropStart), e.zoomable && e.zoomOnWheel && la(s, md, this.onWheel, {
|
|
16319
16319
|
passive: !1,
|
|
16320
16320
|
capture: !0
|
|
16321
|
-
}), e.toggleDragModeOnDblclick && la(s,
|
|
16321
|
+
}), e.toggleDragModeOnDblclick && la(s, od, this.onDblclick), la(a.ownerDocument, ld, this.onCropMove), la(a.ownerDocument, dd, this.onCropEnd), e.responsive && la(window, cd, this.onResize);
|
|
16322
16322
|
}
|
|
16323
16323
|
}, MY = {
|
|
16324
16324
|
resize: function() {
|
|
@@ -16335,7 +16335,7 @@ var DY = {
|
|
|
16335
16335
|
}
|
|
16336
16336
|
},
|
|
16337
16337
|
dblclick: function() {
|
|
16338
|
-
this.disabled || this.options.dragMode === Tc || this.setDragMode(qY(this.dragBox, Fn) ? Dc :
|
|
16338
|
+
this.disabled || this.options.dragMode === Tc || this.setDragMode(qY(this.dragBox, Fn) ? Dc : nl);
|
|
16339
16339
|
},
|
|
16340
16340
|
wheel: function(a) {
|
|
16341
16341
|
var e = this, s = Number(this.options.wheelZoomRatio) || 0.1, i = 1;
|
|
@@ -16403,7 +16403,7 @@ var DY = {
|
|
|
16403
16403
|
}
|
|
16404
16404
|
};
|
|
16405
16405
|
switch (l) {
|
|
16406
|
-
case
|
|
16406
|
+
case ol:
|
|
16407
16407
|
d += x.x, c += x.y;
|
|
16408
16408
|
break;
|
|
16409
16409
|
case hs:
|
|
@@ -16528,11 +16528,11 @@ var DY = {
|
|
|
16528
16528
|
},
|
|
16529
16529
|
// Enable (unfreeze) the cropper
|
|
16530
16530
|
enable: function() {
|
|
16531
|
-
return this.ready && this.disabled && (this.disabled = !1, Aa(this.cropper,
|
|
16531
|
+
return this.ready && this.disabled && (this.disabled = !1, Aa(this.cropper, id)), this;
|
|
16532
16532
|
},
|
|
16533
16533
|
// Disable (freeze) the cropper
|
|
16534
16534
|
disable: function() {
|
|
16535
|
-
return this.ready && !this.disabled && (this.disabled = !0, ht(this.cropper,
|
|
16535
|
+
return this.ready && !this.disabled && (this.disabled = !0, ht(this.cropper, id)), this;
|
|
16536
16536
|
},
|
|
16537
16537
|
/**
|
|
16538
16538
|
* Destroy the cropper and remove the instance from the image
|
|
@@ -16805,7 +16805,7 @@ var DY = {
|
|
|
16805
16805
|
setDragMode: function(a) {
|
|
16806
16806
|
var e = this.options, s = this.dragBox, i = this.face;
|
|
16807
16807
|
if (this.ready && !this.disabled) {
|
|
16808
|
-
var r = a ===
|
|
16808
|
+
var r = a === nl, o = e.movable && a === Dc;
|
|
16809
16809
|
a = r || o ? a : Tc, e.dragMode = a, Ti(s, Di, a), zs(s, Fn, r), zs(s, gn, o), e.cropBoxMovable || (Ti(i, Di, a), zs(i, Fn, r), zs(i, gn, o));
|
|
16810
16810
|
}
|
|
16811
16811
|
return this;
|
|
@@ -16815,7 +16815,7 @@ var DY = {
|
|
|
16815
16815
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
16816
16816
|
if (J7(this, t), !a || !fY.test(a.tagName))
|
|
16817
16817
|
throw new Error("The first argument is required and must be an <img> or <canvas> element.");
|
|
16818
|
-
this.element = a, this.options = Ze({},
|
|
16818
|
+
this.element = a, this.options = Ze({}, Vd, Os(e) && e), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
|
|
16819
16819
|
}
|
|
16820
16820
|
return Q7(t, [{
|
|
16821
16821
|
key: "init",
|
|
@@ -16848,12 +16848,12 @@ var DY = {
|
|
|
16848
16848
|
}
|
|
16849
16849
|
var o = new XMLHttpRequest(), l = this.clone.bind(this);
|
|
16850
16850
|
this.reloading = !0, this.xhr = o, o.onabort = l, o.onerror = l, o.ontimeout = l, o.onprogress = function() {
|
|
16851
|
-
o.getResponseHeader("content-type") !==
|
|
16851
|
+
o.getResponseHeader("content-type") !== fd && o.abort();
|
|
16852
16852
|
}, o.onload = function() {
|
|
16853
16853
|
s.read(o.response);
|
|
16854
16854
|
}, o.onloadend = function() {
|
|
16855
16855
|
s.reloading = !1, s.xhr = null;
|
|
16856
|
-
}, r.checkCrossOrigin &&
|
|
16856
|
+
}, r.checkCrossOrigin && vd(e) && i.crossOrigin && (e = hd(e)), o.open("GET", e, !0), o.responseType = "arraybuffer", o.withCredentials = i.crossOrigin === "use-credentials", o.send();
|
|
16857
16857
|
}
|
|
16858
16858
|
}
|
|
16859
16859
|
}, {
|
|
@@ -16861,7 +16861,7 @@ var DY = {
|
|
|
16861
16861
|
value: function(e) {
|
|
16862
16862
|
var s = this.options, i = this.imageData, r = SY(e), o = 0, l = 1, n = 1;
|
|
16863
16863
|
if (r > 1) {
|
|
16864
|
-
this.url = IY(e,
|
|
16864
|
+
this.url = IY(e, fd);
|
|
16865
16865
|
var d = KY(r);
|
|
16866
16866
|
o = d.rotate, l = d.scaleX, n = d.scaleY;
|
|
16867
16867
|
}
|
|
@@ -16871,9 +16871,9 @@ var DY = {
|
|
|
16871
16871
|
key: "clone",
|
|
16872
16872
|
value: function() {
|
|
16873
16873
|
var e = this.element, s = this.url, i = e.crossOrigin, r = s;
|
|
16874
|
-
this.options.checkCrossOrigin &&
|
|
16874
|
+
this.options.checkCrossOrigin && vd(s) && (i || (i = "anonymous"), r = hd(s)), this.crossOrigin = i, this.crossOriginUrl = r;
|
|
16875
16875
|
var o = document.createElement("img");
|
|
16876
|
-
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,
|
|
16876
|
+
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, rd), e.parentNode.insertBefore(o, e.nextSibling);
|
|
16877
16877
|
}
|
|
16878
16878
|
}, {
|
|
16879
16879
|
key: "start",
|
|
@@ -16909,9 +16909,9 @@ var DY = {
|
|
|
16909
16909
|
var e = this.element, s = this.options, i = this.image, r = e.parentNode, o = document.createElement("div");
|
|
16910
16910
|
o.innerHTML = VY;
|
|
16911
16911
|
var l = o.querySelector(".".concat(Ge, "-container")), n = l.querySelector(".".concat(Ge, "-canvas")), d = l.querySelector(".".concat(Ge, "-drag-box")), c = l.querySelector(".".concat(Ge, "-crop-box")), u = c.querySelector(".".concat(Ge, "-face"));
|
|
16912
|
-
this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = c, this.viewBox = l.querySelector(".".concat(Ge, "-view-box")), this.face = u, n.appendChild(i), ht(e, Et), r.insertBefore(l, e.nextSibling), Aa(i,
|
|
16912
|
+
this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = c, this.viewBox = l.querySelector(".".concat(Ge, "-view-box")), this.face = u, n.appendChild(i), ht(e, Et), r.insertBefore(l, e.nextSibling), Aa(i, rd), 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(Ge, "-dashed")), Et), s.center || ht(c.getElementsByClassName("".concat(Ge, "-center")), Et), s.background && ht(l, "".concat(Ge, "-bg")), s.highlight || ht(u, oY), s.cropBoxMovable && (ht(u, gn), Ti(u, Di, ol)), s.cropBoxResizable || (ht(c.getElementsByClassName("".concat(Ge, "-line")), Et), ht(c.getElementsByClassName("".concat(Ge, "-point")), Et)), this.render(), this.ready = !0, this.setDragMode(s.dragMode), s.autoCrop && this.crop(), this.setData(s.data), Tt(s.ready) && Gt(e, ud, s.ready, {
|
|
16913
16913
|
once: !0
|
|
16914
|
-
}), Ws(e,
|
|
16914
|
+
}), Ws(e, ud);
|
|
16915
16915
|
}
|
|
16916
16916
|
}
|
|
16917
16917
|
}, {
|
|
@@ -16944,7 +16944,7 @@ var DY = {
|
|
|
16944
16944
|
}, {
|
|
16945
16945
|
key: "setDefaults",
|
|
16946
16946
|
value: function(e) {
|
|
16947
|
-
Ze(
|
|
16947
|
+
Ze(Vd, Os(e) && e);
|
|
16948
16948
|
}
|
|
16949
16949
|
}]), t;
|
|
16950
16950
|
}();
|
|
@@ -17235,7 +17235,7 @@ const RY = { class: "d-flex flex-column" }, OY = {
|
|
|
17235
17235
|
p(o) === p(bt).ROI ? (q(), P("div", GY, [
|
|
17236
17236
|
m(Lc)
|
|
17237
17237
|
])) : (q(), P("div", ZY, [
|
|
17238
|
-
m(
|
|
17238
|
+
m(Zn, {
|
|
17239
17239
|
"asset-type": V.value,
|
|
17240
17240
|
"asset-status": Y.value,
|
|
17241
17241
|
src: g.value.url,
|
|
@@ -17292,7 +17292,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
17292
17292
|
setup(t) {
|
|
17293
17293
|
const a = t, { t: e } = te(), s = D(["metadata", "file"]), i = Va(), { asset: r, authorConflicts: o, metadataAreTouched: l } = St(i), n = Wt(), d = S(() => n.getQueueItems(a.queueKey)), c = S(() => d.value[0] ?? null), u = S(() => he.Image), V = S(() => u.value === he.Image), Y = S(() => r.value && r.value.mainFile ? r.value.mainFile : null), v = () => {
|
|
17294
17294
|
l.value = !0;
|
|
17295
|
-
}, { keywordRequired: h, keywordEnabled: F } =
|
|
17295
|
+
}, { keywordRequired: h, keywordEnabled: F } = tl(u.value, a.extSystem), { authorRequired: b, authorEnabled: g } = al(u.value, a.extSystem);
|
|
17296
17296
|
return (A, X) => c.value ? (q(), E(Sn, {
|
|
17297
17297
|
key: 0,
|
|
17298
17298
|
modelValue: s.value,
|
|
@@ -17313,7 +17313,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
17313
17313
|
disabled: !c.value.canEditMetadata
|
|
17314
17314
|
}, {
|
|
17315
17315
|
default: f(() => [
|
|
17316
|
-
c.value ? (q(), E(
|
|
17316
|
+
c.value ? (q(), E(el, {
|
|
17317
17317
|
key: 0,
|
|
17318
17318
|
modelValue: c.value.customData,
|
|
17319
17319
|
"onUpdate:modelValue": X[2] || (X[2] = (w) => c.value.customData = w),
|
|
@@ -17584,7 +17584,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
17584
17584
|
return (n, d) => {
|
|
17585
17585
|
const c = Me("ABtnSecondary"), u = Me("ABtnPrimary");
|
|
17586
17586
|
return q(), P(Ve, null, [
|
|
17587
|
-
n.isActive ? (q(), E(
|
|
17587
|
+
n.isActive ? (q(), E(Qn, {
|
|
17588
17588
|
key: 0,
|
|
17589
17589
|
"queue-key": n.queueKey
|
|
17590
17590
|
}, {
|
|
@@ -18014,7 +18014,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18014
18014
|
m(Lc)
|
|
18015
18015
|
])) : (q(), P("div", hX, [
|
|
18016
18016
|
O("div", FX, [
|
|
18017
|
-
F.value ? (q(), E(
|
|
18017
|
+
F.value ? (q(), E(Zn, {
|
|
18018
18018
|
key: 0,
|
|
18019
18019
|
"asset-type": w.value,
|
|
18020
18020
|
"asset-status": x.value,
|
|
@@ -18047,7 +18047,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18047
18047
|
class: "text-caption",
|
|
18048
18048
|
textContent: k(F.value.error.message)
|
|
18049
18049
|
}, null, 8, YX)) : F.value.error.assetFileFailReason !== p(ha).None ? (q(), P("div", XX, [
|
|
18050
|
-
m(
|
|
18050
|
+
m(Jn, {
|
|
18051
18051
|
reason: F.value.error.assetFileFailReason
|
|
18052
18052
|
}, null, 8, ["reason"])
|
|
18053
18053
|
])) : (q(), P("div", AX, k(p(o)("common.damImage.uploadErrors.unknownError")), 1))
|
|
@@ -18084,7 +18084,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18084
18084
|
_: 1
|
|
18085
18085
|
}));
|
|
18086
18086
|
}
|
|
18087
|
-
}), xX = "/adm/v1/asset-licence", jc = (t, a) => ia(t, xX + "/:id", { id: a }, "coreDam", "assetLicence"), wX = ["accept", "multiple"], kX = 200,
|
|
18087
|
+
}), xX = "/adm/v1/asset-licence", jc = (t, a) => ia(t, xX + "/:id", { id: a }, "coreDam", "assetLicence"), wX = ["accept", "multiple"], kX = 200, dl = /* @__PURE__ */ W({
|
|
18088
18088
|
__name: "AFileInput",
|
|
18089
18089
|
props: {
|
|
18090
18090
|
fileInputKey: { default: void 0 },
|
|
@@ -18102,7 +18102,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18102
18102
|
l.value !== !0 && (l.value = !0, (v = r.value) == null || v.click(), setTimeout(() => {
|
|
18103
18103
|
l.value = !1;
|
|
18104
18104
|
}, kX));
|
|
18105
|
-
}, { checkFormatsAndSizes: d } =
|
|
18105
|
+
}, { checkFormatsAndSizes: d } = Gu(s.accept, s.maxSizes), c = (v) => {
|
|
18106
18106
|
if (!s.multiple && v.length > 0) {
|
|
18107
18107
|
const F = d([v[0]]);
|
|
18108
18108
|
i("filesInput", F);
|
|
@@ -18155,7 +18155,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18155
18155
|
}, null, 40, wX))
|
|
18156
18156
|
], 64));
|
|
18157
18157
|
}
|
|
18158
|
-
}),
|
|
18158
|
+
}), Fd = /* @__PURE__ */ W({
|
|
18159
18159
|
__name: "AFileInputDialog",
|
|
18160
18160
|
props: /* @__PURE__ */ Cs({
|
|
18161
18161
|
fileInputKey: { default: void 0 },
|
|
@@ -18211,7 +18211,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18211
18211
|
default: f(() => [
|
|
18212
18212
|
m(He, null, {
|
|
18213
18213
|
default: f(() => [
|
|
18214
|
-
m(
|
|
18214
|
+
m(dl, {
|
|
18215
18215
|
ref: "fileInput",
|
|
18216
18216
|
"file-input-key": c.fileInputKey,
|
|
18217
18217
|
accept: c.accept,
|
|
@@ -18340,7 +18340,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18340
18340
|
}
|
|
18341
18341
|
}, ye = (de) => {
|
|
18342
18342
|
ae.value = s.uploadConfig.extSystem, w.addByFiles(s.queueKey, s.uploadConfig.extSystem, s.uploadConfig.licence, de), M.value = s.queueKey;
|
|
18343
|
-
}, { uploadSizes: xe, uploadAccept: we } =
|
|
18343
|
+
}, { uploadSizes: xe, uploadAccept: we } = Zu(he.Image, v), ke = async (de, Ee, Ft = !1) => {
|
|
18344
18344
|
if (C.value = ys, de && ie(z.value) || de && Ft) {
|
|
18345
18345
|
z.value = Ce(de), z.value && (C.value = X(Yt(z.value)), s.expandMetadata && x.setImageDetail(Yt(z.value)));
|
|
18346
18346
|
return;
|
|
@@ -18413,7 +18413,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18413
18413
|
if (!ie(x.imageDetail)) {
|
|
18414
18414
|
R.value = !0;
|
|
18415
18415
|
try {
|
|
18416
|
-
const de = x.imageDetail.id ? await
|
|
18416
|
+
const de = x.imageDetail.id ? await vc(A, x.imageDetail.id, x.imageDetail) : await pc(A, x.imageDetail);
|
|
18417
18417
|
I.value = !1, r.value = de.id, x.setImageDetail(null), await ke(de, de.id, !0), i("afterMetadataSaveSuccess"), l.value(de.id);
|
|
18418
18418
|
} catch (de) {
|
|
18419
18419
|
F(de);
|
|
@@ -18425,7 +18425,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18425
18425
|
if (!ie(r.value)) {
|
|
18426
18426
|
if (s.callDeleteApiOnRemove) {
|
|
18427
18427
|
try {
|
|
18428
|
-
await
|
|
18428
|
+
await hc(A, r.value), Re();
|
|
18429
18429
|
} catch (de) {
|
|
18430
18430
|
F(de);
|
|
18431
18431
|
}
|
|
@@ -18506,7 +18506,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18506
18506
|
]),
|
|
18507
18507
|
_: 1
|
|
18508
18508
|
}),
|
|
18509
|
-
m(
|
|
18509
|
+
m(Fd, {
|
|
18510
18510
|
ref_key: "expandedUploadDialog",
|
|
18511
18511
|
ref: At,
|
|
18512
18512
|
modelValue: _.value,
|
|
@@ -18585,7 +18585,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18585
18585
|
]),
|
|
18586
18586
|
_: 1
|
|
18587
18587
|
}),
|
|
18588
|
-
m(
|
|
18588
|
+
m(Fd, {
|
|
18589
18589
|
modelValue: _.value,
|
|
18590
18590
|
"onUpdate:modelValue": Ee[1] || (Ee[1] = ($e) => _.value = $e),
|
|
18591
18591
|
"file-input-key": (re = K.value) == null ? void 0 : re.fileInputKey,
|
|
@@ -18681,7 +18681,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18681
18681
|
onOnClose: Te
|
|
18682
18682
|
}, null, 8, ["modelValue", "expand", "saving", "loading"])
|
|
18683
18683
|
], 2),
|
|
18684
|
-
m(
|
|
18684
|
+
m(_u, {
|
|
18685
18685
|
modelValue: H.value,
|
|
18686
18686
|
"onUpdate:modelValue": Ee[4] || (Ee[4] = (re) => H.value = re),
|
|
18687
18687
|
"select-config": de.selectConfig,
|
|
@@ -18747,7 +18747,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18747
18747
|
getDamConfigAssetCustomFormElements: Y
|
|
18748
18748
|
} = Pt(o);
|
|
18749
18749
|
xt(async () => {
|
|
18750
|
-
if (!
|
|
18750
|
+
if (!ku(s.uploadConfig)) {
|
|
18751
18751
|
r.value = "uploadNotAllowed";
|
|
18752
18752
|
return;
|
|
18753
18753
|
}
|
|
@@ -18792,7 +18792,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18792
18792
|
},
|
|
18793
18793
|
emits: ["editAsset", "removeItem"],
|
|
18794
18794
|
setup(t, { emit: a }) {
|
|
18795
|
-
const e = t, s = a, i = Hi(), { t: r } = te(), o = S(() => i.images[e.index]), { v$: l } = gc(o
|
|
18795
|
+
const e = t, s = a, i = Hi(), { t: r } = te(), o = S(() => i.images[e.index]), { v$: l } = gc(o), n = () => {
|
|
18796
18796
|
ie(o.value) || L(o.value) || s("editAsset", o.value.dam.damId);
|
|
18797
18797
|
}, d = () => {
|
|
18798
18798
|
s("removeItem", e.index);
|
|
@@ -18924,7 +18924,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18924
18924
|
e.item.status
|
|
18925
18925
|
)), g = async () => {
|
|
18926
18926
|
ie(e.item.assetId) || s("showDetail", e.item.assetId);
|
|
18927
|
-
}, { keywordRequired: A, keywordEnabled: X } =
|
|
18927
|
+
}, { keywordRequired: A, keywordEnabled: X } = tl(v.value, e.extSystem), { authorRequired: w, authorEnabled: x } = al(v.value, e.extSystem);
|
|
18928
18928
|
return (M, z) => (q(), E(ue, {
|
|
18929
18929
|
xxl: "2",
|
|
18930
18930
|
xl: "3",
|
|
@@ -18936,7 +18936,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18936
18936
|
O("div", ZX, [
|
|
18937
18937
|
O("div", JX, [
|
|
18938
18938
|
O("div", QX, [
|
|
18939
|
-
m(
|
|
18939
|
+
m(Zn, {
|
|
18940
18940
|
"asset-type": v.value,
|
|
18941
18941
|
"asset-status": h.value,
|
|
18942
18942
|
src: Y.value,
|
|
@@ -18964,7 +18964,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
18964
18964
|
class: "text-caption",
|
|
18965
18965
|
textContent: k(M.item.error.message)
|
|
18966
18966
|
}, null, 8, aA)) : M.item.error.assetFileFailReason !== p(ha).None ? (q(), P("div", sA, [
|
|
18967
|
-
m(
|
|
18967
|
+
m(Jn, {
|
|
18968
18968
|
reason: M.item.error.assetFileFailReason
|
|
18969
18969
|
}, null, 8, ["reason"])
|
|
18970
18970
|
])) : (q(), P("div", iA, k(p(l)("common.damImage.uploadErrors.unknownError")), 1))
|
|
@@ -19065,7 +19065,7 @@ const eX = { key: 0 }, tX = /* @__PURE__ */ W({
|
|
|
19065
19065
|
disabled: !M.item.canEditMetadata
|
|
19066
19066
|
}, {
|
|
19067
19067
|
default: f(() => [
|
|
19068
|
-
M.item ? (q(), E(
|
|
19068
|
+
M.item ? (q(), E(el, {
|
|
19069
19069
|
key: 0,
|
|
19070
19070
|
modelValue: i.value,
|
|
19071
19071
|
"onUpdate:modelValue": z[2] || (z[2] = (N) => i.value = N),
|
|
@@ -19831,7 +19831,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
19831
19831
|
]),
|
|
19832
19832
|
_: 1
|
|
19833
19833
|
}, 8, ["loading", "disabled"]),
|
|
19834
|
-
m(
|
|
19834
|
+
m(dl, {
|
|
19835
19835
|
"file-input-key": K.fileInputKey,
|
|
19836
19836
|
accept: K.accept,
|
|
19837
19837
|
"max-sizes": K.maxSizes,
|
|
@@ -20044,10 +20044,10 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20044
20044
|
), l = (qe = o == null ? void 0 : o.value) == null ? void 0 : qe.get(s.uploadConfig.extSystem);
|
|
20045
20045
|
if (L(o) || L(l))
|
|
20046
20046
|
throw new Error("Fatal error, parent component doesn't provide necessary config ext system config.");
|
|
20047
|
-
const n = zi(s.configName), { imageClient: d } = n, { showErrorsDefault: c, showValidationError: u } = Ue(), V = D(null), { uploadSizes: Y, uploadAccept: v } =
|
|
20047
|
+
const n = zi(s.configName), { imageClient: d } = n, { showErrorsDefault: c, showValidationError: u } = Ue(), V = D(null), { uploadSizes: Y, uploadAccept: v } = Zu(he.Image, l), { t: h } = te(), F = D(!1), b = Hi(), { images: g, maxPosition: A } = St(b), X = async () => {
|
|
20048
20048
|
try {
|
|
20049
20049
|
F.value = !0;
|
|
20050
|
-
const ne = await
|
|
20050
|
+
const ne = await Vc(d, s.modelValue);
|
|
20051
20051
|
b.setImages(
|
|
20052
20052
|
ne.map((pe) => {
|
|
20053
20053
|
if (L(pe.position))
|
|
@@ -20140,7 +20140,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20140
20140
|
), z.value = null, w.stopUpload(s.queueKey));
|
|
20141
20141
|
}, G = () => {
|
|
20142
20142
|
r.value = !0;
|
|
20143
|
-
}, Q = aa({}, {}, { $scope:
|
|
20143
|
+
}, Q = aa({}, {}, { $scope: Fc }), ae = async () => {
|
|
20144
20144
|
if (Q.value.$touch(), Q.value.$invalid)
|
|
20145
20145
|
return u(), !1;
|
|
20146
20146
|
try {
|
|
@@ -20161,7 +20161,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20161
20161
|
}
|
|
20162
20162
|
if (s.callDeleteApiOnRemove) {
|
|
20163
20163
|
try {
|
|
20164
|
-
await
|
|
20164
|
+
await hc(d, pe.id), b.removeImageByIndex(ne);
|
|
20165
20165
|
} catch (Te) {
|
|
20166
20166
|
c(Te);
|
|
20167
20167
|
}
|
|
@@ -20189,9 +20189,9 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20189
20189
|
const ne = ee.value.querySelector("." + $r);
|
|
20190
20190
|
ne && (ye.value = Ln(ne, [], {
|
|
20191
20191
|
handle: "." + Us,
|
|
20192
|
-
ghostClass:
|
|
20193
|
-
dragClass:
|
|
20194
|
-
chosenClass:
|
|
20192
|
+
ghostClass: ju,
|
|
20193
|
+
dragClass: Hu,
|
|
20194
|
+
chosenClass: Wu,
|
|
20195
20195
|
onEnd: async (pe) => {
|
|
20196
20196
|
L(pe.oldIndex) || L(pe.newIndex) || Vt(pe.oldIndex, pe.newIndex);
|
|
20197
20197
|
}
|
|
@@ -20208,7 +20208,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20208
20208
|
return q(), P("div", { id: ke.value }, [
|
|
20209
20209
|
ne.label ? (q(), P("h4", LA, k(ne.label), 1)) : U("", !0),
|
|
20210
20210
|
O("div", NA, [
|
|
20211
|
-
m(
|
|
20211
|
+
m(dl, {
|
|
20212
20212
|
"file-input-key": (Te = x.value) == null ? void 0 : Te.fileInputKey,
|
|
20213
20213
|
accept: p(v),
|
|
20214
20214
|
"max-sizes": p(Y),
|
|
@@ -20237,7 +20237,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20237
20237
|
_: 1
|
|
20238
20238
|
})
|
|
20239
20239
|
]),
|
|
20240
|
-
m(
|
|
20240
|
+
m(_u, {
|
|
20241
20241
|
modelValue: r.value,
|
|
20242
20242
|
"onUpdate:modelValue": pe[0] || (pe[0] = (pt) => r.value = pt),
|
|
20243
20243
|
"select-config": ne.selectConfig,
|
|
@@ -20330,7 +20330,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20330
20330
|
getDamConfigAssetCustomFormElements: Y
|
|
20331
20331
|
} = Pt(o);
|
|
20332
20332
|
xt(async () => {
|
|
20333
|
-
if (!
|
|
20333
|
+
if (!ku(s.uploadConfig)) {
|
|
20334
20334
|
r.value = "uploadNotAllowed";
|
|
20335
20335
|
return;
|
|
20336
20336
|
}
|
|
@@ -20387,7 +20387,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20387
20387
|
}
|
|
20388
20388
|
if (d && d.length > 0)
|
|
20389
20389
|
try {
|
|
20390
|
-
i.value = await
|
|
20390
|
+
i.value = await Vc(l, d);
|
|
20391
20391
|
} catch (c) {
|
|
20392
20392
|
r(c);
|
|
20393
20393
|
}
|
|
@@ -20442,12 +20442,12 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20442
20442
|
maxLength: X(255)
|
|
20443
20443
|
}
|
|
20444
20444
|
}
|
|
20445
|
-
}, x = aa(w, { meta: r }, { $
|
|
20445
|
+
}, x = aa(w, { meta: r }, { $stopPropagation: !0 }), M = async () => {
|
|
20446
20446
|
if (d.value = !0, n.value = !0, i.value = i.value.trim(), i.value.startsWith("http")) {
|
|
20447
20447
|
const T = b(i.value);
|
|
20448
20448
|
$t(T) && (i.value = T);
|
|
20449
20449
|
}
|
|
20450
|
-
if (!
|
|
20450
|
+
if (!Id(i.value))
|
|
20451
20451
|
return n.value = !1, Promise.reject("Incorrect URL/ID provided");
|
|
20452
20452
|
try {
|
|
20453
20453
|
const T = await io(V, i.value);
|
|
@@ -20474,7 +20474,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20474
20474
|
position: 0
|
|
20475
20475
|
};
|
|
20476
20476
|
(T = l.value) != null && T.id && (C.id = l.value.id);
|
|
20477
|
-
const K = (_ = l.value) != null && _.id ? await
|
|
20477
|
+
const K = (_ = l.value) != null && _.id ? await vc(u, l.value.id, C) : await pc(u, C);
|
|
20478
20478
|
return l.value = K, s.value = K.id, Promise.resolve({ asset: y, image: K });
|
|
20479
20479
|
} catch (y) {
|
|
20480
20480
|
v(y);
|
|
@@ -20582,7 +20582,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20582
20582
|
const a = t, e = S(() => eo(a.item, a.column.key)), s = S(() => typeof e.value == "boolean");
|
|
20583
20583
|
return (i, r) => (q(), P("td", null, [
|
|
20584
20584
|
ce(i.$slots, p(Cn)(i.column.key), { item: i.item }, () => [
|
|
20585
|
-
s.value ? (q(), E(
|
|
20585
|
+
s.value ? (q(), E(_d, {
|
|
20586
20586
|
key: 0,
|
|
20587
20587
|
chip: "",
|
|
20588
20588
|
value: e.value
|
|
@@ -20605,7 +20605,7 @@ const pA = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, vA = { clas
|
|
|
20605
20605
|
s("click:row", { event: n, item: d });
|
|
20606
20606
|
}, r = S(() => !sn(e.items)), o = S(() => e.columns.length), { t: l } = te();
|
|
20607
20607
|
return (n, d) => (q(), P(Ve, null, [
|
|
20608
|
-
m(
|
|
20608
|
+
m(wd, { class: "a-datatable" }, {
|
|
20609
20609
|
default: f(() => [
|
|
20610
20610
|
O("thead", null, [
|
|
20611
20611
|
O("tr", null, [
|
|
@@ -20816,7 +20816,7 @@ function rK() {
|
|
|
20816
20816
|
const oK = (t, a, e = "", s = {}, i = null, r, o, l = {}) => new Promise((n, d) => {
|
|
20817
20817
|
const c = { method: a };
|
|
20818
20818
|
e !== "" && (c.url = ds(e, s)), ie(i) || (c.data = JSON.stringify(i)), t().request({ ...l, ...c }).then((u) => us(u.status) ? u.data ? n(u.data) : u.status === Pa ? n(null) : d(new Xt()) : d(new Oa(u.status))).catch((u) => Ra(u) ? d(new ka(u)) : _a(u) ? d(new Ia(u, r, o, u)) : za(u) ? d(new Sa(u, u)) : d(new Xt(u)));
|
|
20819
|
-
}),
|
|
20819
|
+
}), gd = (t, a = void 0) => {
|
|
20820
20820
|
const { querySetLimit: e, querySetOffset: s, querySetOrder: i, queryBuild: r, querySetFilters: o } = ao();
|
|
20821
20821
|
return e(t.rowsPerPage), s(t.page, t.rowsPerPage), i(t.sortBy, t.descending), me(a) && o(a), r();
|
|
20822
20822
|
}, ny = (t, a, e, s, i = void 0) => {
|
|
@@ -20827,19 +20827,19 @@ const oK = (t, a, e = "", s = {}, i = null, r, o, l = {}) => new Promise((n, d)
|
|
|
20827
20827
|
V.rowsPerPage = o, V.sortBy = s, V.descending = i;
|
|
20828
20828
|
const Y = ds(a, e) + u, v = [];
|
|
20829
20829
|
try {
|
|
20830
|
-
const h = await t().get(Y +
|
|
20830
|
+
const h = await t().get(Y + gd(V, r), c);
|
|
20831
20831
|
if (!us(h.status))
|
|
20832
20832
|
return Promise.reject(new Oa(h.status));
|
|
20833
20833
|
if (h.data) {
|
|
20834
20834
|
const F = h.data;
|
|
20835
|
-
if (v.push(...F.data),
|
|
20835
|
+
if (v.push(...F.data), gu(F)) {
|
|
20836
20836
|
if (V.hasNextPage = h.data.hasNextPage, V.hasNextPage)
|
|
20837
20837
|
for (; V.hasNextPage; ) {
|
|
20838
20838
|
V.page++;
|
|
20839
|
-
const g = (await t().get(Y +
|
|
20839
|
+
const g = (await t().get(Y + gd(V, r), c)).data;
|
|
20840
20840
|
v.push(...g.data), V.hasNextPage = g.hasNextPage;
|
|
20841
20841
|
}
|
|
20842
|
-
} else if (
|
|
20842
|
+
} else if (Fu(F)) {
|
|
20843
20843
|
if (V.totalCount = F.totalCount, V.totalCount <= V.rowsPerPage)
|
|
20844
20844
|
return Promise.resolve(v);
|
|
20845
20845
|
const b = [], g = Math.ceil(V.totalCount / V.rowsPerPage);
|
|
@@ -20869,10 +20869,10 @@ const oK = (t, a, e = "", s = {}, i = null, r, o, l = {}) => new Promise((n, d)
|
|
|
20869
20869
|
};
|
|
20870
20870
|
function lK() {
|
|
20871
20871
|
return {
|
|
20872
|
-
isAnzuFatalError:
|
|
20873
|
-
isAnzuApiForbiddenError:
|
|
20874
|
-
isAnzuApiValidationError:
|
|
20875
|
-
isAnzuApiResponseCodeError:
|
|
20872
|
+
isAnzuFatalError: Hd,
|
|
20873
|
+
isAnzuApiForbiddenError: Gd,
|
|
20874
|
+
isAnzuApiValidationError: Zd,
|
|
20875
|
+
isAnzuApiResponseCodeError: Jd
|
|
20876
20876
|
};
|
|
20877
20877
|
}
|
|
20878
20878
|
const pr = "/adm/v1/job", vr = "job";
|
|
@@ -20884,7 +20884,7 @@ function dK(t, a) {
|
|
|
20884
20884
|
const l = Om(o._resourceName).slice(4).replace("-kind-", "-kind/");
|
|
20885
20885
|
return lo(t, o, pr + "/:type", { type: l }, a, vr);
|
|
20886
20886
|
},
|
|
20887
|
-
deleteJob: (o) =>
|
|
20887
|
+
deleteJob: (o) => fc(t, pr + "/:id", { id: o }, a, vr)
|
|
20888
20888
|
};
|
|
20889
20889
|
}
|
|
20890
20890
|
const uK = "jobUserDataDelete";
|
|
@@ -20903,7 +20903,7 @@ function cK(t = []) {
|
|
|
20903
20903
|
}
|
|
20904
20904
|
const mK = {
|
|
20905
20905
|
install(t, a) {
|
|
20906
|
-
t.provide(Hr, a.currentUser), t.provide(
|
|
20906
|
+
t.provide(Hr, a.currentUser), t.provide(Sd, a.customAclResolver), t.provide(Kd, a.languages.available), t.provide(Dd, a.languages.default), t.component("Acl", fV), t.use(Tf, { componentName: "Notifications" }), QF(a.image), Cv(a.coreDam), nf(a.collab);
|
|
20907
20907
|
}
|
|
20908
20908
|
}, fK = (t, a) => {
|
|
20909
20909
|
const e = t.indexOf(a);
|
|
@@ -23127,7 +23127,7 @@ const mK = {
|
|
|
23127
23127
|
})
|
|
23128
23128
|
});
|
|
23129
23129
|
async function XK() {
|
|
23130
|
-
(await import("./webfontloader-
|
|
23130
|
+
(await import("./webfontloader-veGH76ME.js").then((a) => a.w)).load({
|
|
23131
23131
|
google: {
|
|
23132
23132
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
23133
23133
|
}
|
|
@@ -23139,7 +23139,7 @@ function AK() {
|
|
|
23139
23139
|
id: 0,
|
|
23140
23140
|
scheduledAt: Bt(),
|
|
23141
23141
|
priority: 1,
|
|
23142
|
-
status:
|
|
23142
|
+
status: du.Default,
|
|
23143
23143
|
result: "",
|
|
23144
23144
|
batchProcessedIterationCount: 0,
|
|
23145
23145
|
finishedAt: null,
|
|
@@ -23179,7 +23179,7 @@ function bK() {
|
|
|
23179
23179
|
return {
|
|
23180
23180
|
initCollab: () => {
|
|
23181
23181
|
var g, A, X, w, x, M, z, N, H;
|
|
23182
|
-
const n = Dn(), d =
|
|
23182
|
+
const n = Dn(), d = Td(), c = Ed(), u = Pd(), V = $d(), Y = Bd(), v = zd(), h = Rd(), F = Od(), b = Ld();
|
|
23183
23183
|
i.value || !t.value.enabled || (i.value = Km(t.value.socketUrl, {
|
|
23184
23184
|
transports: ["websocket"],
|
|
23185
23185
|
path: "/ws",
|
|
@@ -23281,7 +23281,7 @@ export {
|
|
|
23281
23281
|
ZI as M,
|
|
23282
23282
|
fV as N,
|
|
23283
23283
|
_r as O,
|
|
23284
|
-
|
|
23284
|
+
cu as P,
|
|
23285
23285
|
FS as Q,
|
|
23286
23286
|
gS as R,
|
|
23287
23287
|
qS as S,
|
|
@@ -23314,7 +23314,7 @@ export {
|
|
|
23314
23314
|
lK as aG,
|
|
23315
23315
|
oy as aH,
|
|
23316
23316
|
Bi as aI,
|
|
23317
|
-
|
|
23317
|
+
ac as aJ,
|
|
23318
23318
|
kp as aK,
|
|
23319
23319
|
Tp as aL,
|
|
23320
23320
|
Dp as aM,
|
|
@@ -23326,14 +23326,14 @@ export {
|
|
|
23326
23326
|
Pt as aS,
|
|
23327
23327
|
tg as aT,
|
|
23328
23328
|
sg as aU,
|
|
23329
|
-
|
|
23329
|
+
Zu as aV,
|
|
23330
23330
|
Ho as aW,
|
|
23331
23331
|
HS as aX,
|
|
23332
23332
|
Cg as aY,
|
|
23333
23333
|
WF as aZ,
|
|
23334
23334
|
g7 as a_,
|
|
23335
23335
|
IS as aa,
|
|
23336
|
-
|
|
23336
|
+
pu as ab,
|
|
23337
23337
|
ES as ac,
|
|
23338
23338
|
Yv as ad,
|
|
23339
23339
|
MS as ae,
|
|
@@ -23351,7 +23351,7 @@ export {
|
|
|
23351
23351
|
Lt as aq,
|
|
23352
23352
|
er as ar,
|
|
23353
23353
|
hS as as,
|
|
23354
|
-
|
|
23354
|
+
_u as at,
|
|
23355
23355
|
QS as au,
|
|
23356
23356
|
OF as av,
|
|
23357
23357
|
SS as aw,
|
|
@@ -23361,11 +23361,11 @@ export {
|
|
|
23361
23361
|
He as b,
|
|
23362
23362
|
kI as b$,
|
|
23363
23363
|
l7 as b0,
|
|
23364
|
-
|
|
23364
|
+
wu as b1,
|
|
23365
23365
|
$S as b2,
|
|
23366
23366
|
gr as b3,
|
|
23367
|
-
|
|
23368
|
-
|
|
23367
|
+
ou as b4,
|
|
23368
|
+
nu as b5,
|
|
23369
23369
|
nV as b6,
|
|
23370
23370
|
fp as b7,
|
|
23371
23371
|
Vp as b8,
|
|
@@ -23378,7 +23378,7 @@ export {
|
|
|
23378
23378
|
ft as bF,
|
|
23379
23379
|
Bm as bG,
|
|
23380
23380
|
an as bH,
|
|
23381
|
-
|
|
23381
|
+
Id as bI,
|
|
23382
23382
|
ie as bJ,
|
|
23383
23383
|
L as bK,
|
|
23384
23384
|
me as bL,
|
|
@@ -23389,9 +23389,9 @@ export {
|
|
|
23389
23389
|
eo as bQ,
|
|
23390
23390
|
dV as bR,
|
|
23391
23391
|
iS as bS,
|
|
23392
|
-
|
|
23392
|
+
lu as bT,
|
|
23393
23393
|
Js as bU,
|
|
23394
|
-
|
|
23394
|
+
fl as bV,
|
|
23395
23395
|
bI as bW,
|
|
23396
23396
|
Ba as bX,
|
|
23397
23397
|
CI as bY,
|
|
@@ -23399,7 +23399,7 @@ export {
|
|
|
23399
23399
|
wI as b_,
|
|
23400
23400
|
cV as ba,
|
|
23401
23401
|
uK as bb,
|
|
23402
|
-
|
|
23402
|
+
du as bc,
|
|
23403
23403
|
AK as bd,
|
|
23404
23404
|
ha as be,
|
|
23405
23405
|
js as bf,
|
|
@@ -23417,14 +23417,14 @@ export {
|
|
|
23417
23417
|
wv as br,
|
|
23418
23418
|
kv as bs,
|
|
23419
23419
|
_v as bt,
|
|
23420
|
-
|
|
23420
|
+
qu as bu,
|
|
23421
23421
|
ur as bv,
|
|
23422
23422
|
Ac as bw,
|
|
23423
23423
|
sK as bx,
|
|
23424
23424
|
iK as by,
|
|
23425
23425
|
rK as bz,
|
|
23426
|
-
|
|
23427
|
-
|
|
23426
|
+
mu as c,
|
|
23427
|
+
Xl as c$,
|
|
23428
23428
|
zm as c0,
|
|
23429
23429
|
xI as c1,
|
|
23430
23430
|
Jr as c2,
|
|
@@ -23438,7 +23438,7 @@ export {
|
|
|
23438
23438
|
Pi as cA,
|
|
23439
23439
|
nK as cB,
|
|
23440
23440
|
ia as cC,
|
|
23441
|
-
|
|
23441
|
+
mc as cD,
|
|
23442
23442
|
ao as cE,
|
|
23443
23443
|
dK as cF,
|
|
23444
23444
|
cK as cG,
|
|
@@ -23451,17 +23451,17 @@ export {
|
|
|
23451
23451
|
qK as cN,
|
|
23452
23452
|
xa as cO,
|
|
23453
23453
|
wa as cP,
|
|
23454
|
-
|
|
23455
|
-
|
|
23454
|
+
Kd as cQ,
|
|
23455
|
+
Dd as cR,
|
|
23456
23456
|
Is as cS,
|
|
23457
23457
|
Tn as cT,
|
|
23458
23458
|
Pa as cU,
|
|
23459
23459
|
DI as cV,
|
|
23460
23460
|
TI as cW,
|
|
23461
23461
|
Ef as cX,
|
|
23462
|
-
|
|
23462
|
+
Wd as cY,
|
|
23463
23463
|
Mn as cZ,
|
|
23464
|
-
|
|
23464
|
+
Qd as c_,
|
|
23465
23465
|
LI as ca,
|
|
23466
23466
|
NI as cb,
|
|
23467
23467
|
BI as cc,
|
|
@@ -23472,7 +23472,7 @@ export {
|
|
|
23472
23472
|
GI as ch,
|
|
23473
23473
|
ro as ci,
|
|
23474
23474
|
us as cj,
|
|
23475
|
-
|
|
23475
|
+
uu as ck,
|
|
23476
23476
|
aK as cl,
|
|
23477
23477
|
fK as cm,
|
|
23478
23478
|
VK as cn,
|
|
@@ -23486,31 +23486,31 @@ export {
|
|
|
23486
23486
|
BS as cv,
|
|
23487
23487
|
oK as cw,
|
|
23488
23488
|
lo as cx,
|
|
23489
|
-
|
|
23489
|
+
fc as cy,
|
|
23490
23490
|
Hn as cz,
|
|
23491
23491
|
AI as d,
|
|
23492
23492
|
ls as d0,
|
|
23493
23493
|
bK as d1,
|
|
23494
23494
|
Ht as d2,
|
|
23495
|
-
|
|
23495
|
+
Ud as d3,
|
|
23496
23496
|
Wr as d4,
|
|
23497
23497
|
ns as d5,
|
|
23498
23498
|
Ap as d6,
|
|
23499
23499
|
CK as d7,
|
|
23500
23500
|
xK as d8,
|
|
23501
23501
|
Dn as d9,
|
|
23502
|
-
|
|
23502
|
+
Gd as dA,
|
|
23503
23503
|
Ra as dB,
|
|
23504
23504
|
ka as dC,
|
|
23505
|
-
|
|
23505
|
+
Jd as dD,
|
|
23506
23506
|
Oa as dE,
|
|
23507
23507
|
Rf as dF,
|
|
23508
23508
|
za as dG,
|
|
23509
23509
|
Sa as dH,
|
|
23510
|
-
|
|
23510
|
+
Zd as dI,
|
|
23511
23511
|
_a as dJ,
|
|
23512
23512
|
Ia as dK,
|
|
23513
|
-
|
|
23513
|
+
Hd as dL,
|
|
23514
23514
|
Xt as dM,
|
|
23515
23515
|
mK as dN,
|
|
23516
23516
|
YK as dO,
|
|
@@ -23519,33 +23519,33 @@ export {
|
|
|
23519
23519
|
Ps as dR,
|
|
23520
23520
|
xh as dS,
|
|
23521
23521
|
dn as dT,
|
|
23522
|
-
|
|
23523
|
-
|
|
23524
|
-
|
|
23525
|
-
|
|
23526
|
-
|
|
23527
|
-
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23522
|
+
xu as dU,
|
|
23523
|
+
Td as da,
|
|
23524
|
+
Ed as db,
|
|
23525
|
+
Md as dc,
|
|
23526
|
+
$d as dd,
|
|
23527
|
+
Bd as de,
|
|
23528
|
+
Pd as df,
|
|
23529
|
+
Rd as dg,
|
|
23530
|
+
Od as dh,
|
|
23531
|
+
zd as di,
|
|
23532
|
+
Ld as dj,
|
|
23533
23533
|
ga as dk,
|
|
23534
23534
|
qa as dl,
|
|
23535
23535
|
Ji as dm,
|
|
23536
23536
|
of as dn,
|
|
23537
23537
|
Ya as dp,
|
|
23538
23538
|
on as dq,
|
|
23539
|
-
|
|
23540
|
-
|
|
23541
|
-
|
|
23539
|
+
Nd as dr,
|
|
23540
|
+
pl as ds,
|
|
23541
|
+
vl as dt,
|
|
23542
23542
|
_I as du,
|
|
23543
23543
|
hr as dv,
|
|
23544
23544
|
Fr as dw,
|
|
23545
23545
|
__ as dx,
|
|
23546
23546
|
I_ as dy,
|
|
23547
23547
|
Se as dz,
|
|
23548
|
-
|
|
23548
|
+
_d as e,
|
|
23549
23549
|
tS as f,
|
|
23550
23550
|
Zr as g,
|
|
23551
23551
|
aS as h,
|
|
@@ -23560,7 +23560,7 @@ export {
|
|
|
23560
23560
|
uS as q,
|
|
23561
23561
|
op as r,
|
|
23562
23562
|
eS as s,
|
|
23563
|
-
|
|
23563
|
+
ru as t,
|
|
23564
23564
|
QI as u,
|
|
23565
23565
|
fS as v,
|
|
23566
23566
|
mS as w,
|
|
@@ -23568,4 +23568,4 @@ export {
|
|
|
23568
23568
|
oS as y,
|
|
23569
23569
|
Ls as z
|
|
23570
23570
|
};
|
|
23571
|
-
//# sourceMappingURL=lib-
|
|
23571
|
+
//# sourceMappingURL=lib-Dqo3ewqY.js.map
|