@anzusystems/common-admin 1.47.0-beta.32 → 1.47.0-beta.34
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-CoQQqEu-.js → lib-hAtZsU89.js} +598 -598
- package/dist/lib-hAtZsU89.js.map +1 -0
- package/dist/{webfontloader-Dtnziyus.js → webfontloader-DmiWvmlF.js} +2 -2
- package/dist/{webfontloader-Dtnziyus.js.map → webfontloader-DmiWvmlF.js.map} +1 -1
- package/package.json +6 -6
- package/dist/lib-CoQQqEu-.js.map +0 -1
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ar = (t, a, e) =>
|
|
4
|
-
import { defineComponent as G, computed as _, openBlock as q, createBlock as E, withCtx as V, createTextVNode as $, toDisplayString as I, createElementBlock as P, createVNode as m, normalizeClass as he, createCommentVNode as N, renderSlot as ue, createElementVNode as L, resolveComponent as $e, withModifiers as Z, withDirectives as ra, vShow as cs, isProxy as Id, toRaw as At, isRef as Ds, unref as p, Fragment as Fe, normalizeStyle as Et, shallowRef as ft, watch as Ye, ref as K, reactive as oa, inject as st, createSlots as na, provide as
|
|
5
|
-
import { useI18n as ee, createI18n as
|
|
1
|
+
var om = Object.defineProperty;
|
|
2
|
+
var nm = (t, a, e) => a in t ? om(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e;
|
|
3
|
+
var ar = (t, a, e) => nm(t, typeof a != "symbol" ? a + "" : a, e);
|
|
4
|
+
import { defineComponent as G, computed as _, openBlock as q, createBlock as E, withCtx as V, createTextVNode as $, toDisplayString as I, createElementBlock as P, createVNode as m, normalizeClass as he, createCommentVNode as N, renderSlot as ue, createElementVNode as L, resolveComponent as $e, withModifiers as Z, withDirectives as ra, vShow as cs, isProxy as Id, toRaw as At, isRef as Ds, unref as p, Fragment as Fe, normalizeStyle as Et, shallowRef as ft, watch as Ye, ref as K, reactive as oa, inject as st, createSlots as na, provide as Ei, renderList as je, onMounted as ht, TransitionGroup as _d, isVNode as lm, mergeModels as It, useModel as Fa, toRefs as oi, vModelText as Xl, nextTick as Ht, pushScopeId as dm, popScopeId as um, withKeys as Ma, mergeProps as Ot, onUnmounted as Wr, readonly as ws, createStaticVNode as Sd, resolveDynamicComponent as Gr, setBlockTracking as Al, onBeforeUnmount as Zr, toRef as Jr, Teleport as cm, normalizeProps as mm, guardReactiveProps as fm } from "vue";
|
|
5
|
+
import { useI18n as ee, createI18n as Vm } from "vue-i18n";
|
|
6
6
|
import { VChip as Wt } from "vuetify/lib/components/VChip/index.mjs";
|
|
7
7
|
import { VRow as ge, VCol as le, VSpacer as rt } from "vuetify/lib/components/VGrid/index.mjs";
|
|
8
|
-
import { VAlert as
|
|
8
|
+
import { VAlert as Ai } from "vuetify/lib/components/VAlert/index.mjs";
|
|
9
9
|
import { VIcon as re } from "vuetify/lib/components/VIcon/index.mjs";
|
|
10
10
|
import { VCard as ze, VCardText as ms, VCardActions as kt, VCardItem as wo } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
11
|
import { VAvatar as cn } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
12
12
|
import { VTooltip as ye } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
13
13
|
import { VProgressCircular as at } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
14
|
-
import { useEventBus as Gt, tryOnBeforeUnmount as En, useFetch as
|
|
15
|
-
import { VTextField as
|
|
14
|
+
import { useEventBus as Gt, tryOnBeforeUnmount as En, useFetch as pm, watchDebounced as Mn, useClipboard as Dd, useStorage as Kd, useIntervalFn as vm, tryOnMounted as hm, tryOnScopeDispose as Fm, unrefElement as gm, defaultDocument as qm, toValue as yl, useDropZone as Ym, useWebSocket as Xm, useDebounceFn as Am } from "@vueuse/core";
|
|
15
|
+
import { VTextField as ni } from "vuetify/lib/components/VTextField/index.mjs";
|
|
16
16
|
import { Tooltip as Td, Intersect as Ed } from "vuetify/lib/directives/index.mjs";
|
|
17
17
|
import { VTextarea as Md } from "vuetify/lib/components/VTextarea/index.mjs";
|
|
18
18
|
import { VBtn as se } from "vuetify/lib/components/VBtn/index.mjs";
|
|
19
19
|
import { VBtnToggle as Qr } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
20
|
-
import { VList as ia, VListItem as Je, VListItemTitle as ds, VListItemSubtitle as
|
|
20
|
+
import { VList as ia, VListItem as Je, VListItemTitle as ds, VListItemSubtitle as ym } from "vuetify/lib/components/VList/index.mjs";
|
|
21
21
|
import { VMenu as la } from "vuetify/lib/components/VMenu/index.mjs";
|
|
22
22
|
import { VToolbar as fs, VToolbarTitle as $d } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
23
23
|
import { useRouter as $n } from "vue-router";
|
|
24
24
|
import eo from "axios";
|
|
25
25
|
import { VDialog as ct } from "vuetify/lib/components/VDialog/index.mjs";
|
|
26
|
-
import da, { useVuelidate as
|
|
27
|
-
import { createI18nMessage as ua, between as
|
|
28
|
-
import { VDatePicker as
|
|
29
|
-
import { VCheckboxBtn as
|
|
30
|
-
import { VExpandTransition as
|
|
31
|
-
import { VAutocomplete as
|
|
26
|
+
import da, { useVuelidate as bm } from "@vuelidate/core";
|
|
27
|
+
import { createI18nMessage as ua, between as Cm, email as xm, maxLength as wm, maxValue as km, minLength as Im, minValue as _m, numeric as Sm, required as Dm, requiredIf as Km, helpers as Bd, url as Tm } from "@vuelidate/validators";
|
|
28
|
+
import { VDatePicker as Em } from "vuetify/lib/components/VDatePicker/index.mjs";
|
|
29
|
+
import { VCheckboxBtn as Ri } from "vuetify/lib/components/VCheckbox/index.mjs";
|
|
30
|
+
import { VExpandTransition as Mm } from "vuetify/lib/components/transitions/index.mjs";
|
|
31
|
+
import { VAutocomplete as zi } from "vuetify/lib/components/VAutocomplete/index.mjs";
|
|
32
32
|
import { VSwitch as Bn } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
33
|
-
import { VLabel as
|
|
34
|
-
import { VSelect as
|
|
35
|
-
import { VDivider as
|
|
36
|
-
import { VAppBar as
|
|
37
|
-
import { VColorPicker as
|
|
38
|
-
import { VSlider as
|
|
33
|
+
import { VLabel as $m } from "vuetify/lib/components/VLabel/index.mjs";
|
|
34
|
+
import { VSelect as Li } from "vuetify/lib/components/VSelect/index.mjs";
|
|
35
|
+
import { VDivider as Mi } from "vuetify/lib/components/VDivider/index.mjs";
|
|
36
|
+
import { VAppBar as Bm } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
37
|
+
import { VColorPicker as Pm } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
|
+
import { VSlider as Om } from "vuetify/lib/components/VSlider/index.mjs";
|
|
39
39
|
import { VTable as Pd } from "vuetify/lib/components/VTable/index.mjs";
|
|
40
|
-
import { defineStore as
|
|
40
|
+
import { defineStore as li, storeToRefs as _t } from "pinia";
|
|
41
41
|
import { VForm as to } from "vuetify/lib/components/VForm/index.mjs";
|
|
42
|
-
import { VCombobox as
|
|
42
|
+
import { VCombobox as Rm } from "vuetify/lib/components/VCombobox/index.mjs";
|
|
43
43
|
import { VImg as Sr } from "vuetify/lib/components/VImg/index.mjs";
|
|
44
44
|
import { VExpansionPanels as Pn, VExpansionPanel as ei, VExpansionPanelText as ti } from "vuetify/lib/components/VExpansionPanel/index.mjs";
|
|
45
|
-
import { VTabs as On, VTab as
|
|
46
|
-
import { VBtn as sr, VChip as
|
|
47
|
-
import { io as
|
|
48
|
-
const
|
|
45
|
+
import { VTabs as On, VTab as $i } from "vuetify/lib/components/VTabs/index.mjs";
|
|
46
|
+
import { VBtn as sr, VChip as zm } from "vuetify/components";
|
|
47
|
+
import { io as Lm } from "socket.io-client";
|
|
48
|
+
const Nm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
49
49
|
__name: "ABooleanValue",
|
|
50
50
|
props: {
|
|
51
51
|
value: { type: [Number, String, Boolean] },
|
|
@@ -64,9 +64,9 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
64
64
|
$(I(i.value), 1)
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
|
-
}, 8, ["color"])) : (q(), P("span",
|
|
67
|
+
}, 8, ["color"])) : (q(), P("span", Nm, I(i.value), 1));
|
|
68
68
|
}
|
|
69
|
-
}),
|
|
69
|
+
}), Um = { class: "text-high-emphasis" }, Ze = /* @__PURE__ */ G({
|
|
70
70
|
__name: "ARow",
|
|
71
71
|
props: {
|
|
72
72
|
title: { default: "" },
|
|
@@ -84,7 +84,7 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
84
84
|
class: he(a.titleClass)
|
|
85
85
|
}, I(a.title), 3)) : N("", !0),
|
|
86
86
|
ue(a.$slots, "default", {}, () => [
|
|
87
|
-
L("span",
|
|
87
|
+
L("span", Um, I(a.value), 1)
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
90
90
|
_: 3
|
|
@@ -93,7 +93,7 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
93
93
|
_: 3
|
|
94
94
|
}, 8, ["data-cy"]));
|
|
95
95
|
}
|
|
96
|
-
}),
|
|
96
|
+
}), jm = ["textContent"], pS = /* @__PURE__ */ G({
|
|
97
97
|
__name: "AAlerts",
|
|
98
98
|
props: {
|
|
99
99
|
max: { default: 5 },
|
|
@@ -113,7 +113,7 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
113
113
|
class: he(a.customClass)
|
|
114
114
|
}, {
|
|
115
115
|
body: V((i) => [
|
|
116
|
-
m(
|
|
116
|
+
m(Ai, {
|
|
117
117
|
type: i.item.type,
|
|
118
118
|
class: "ma-1",
|
|
119
119
|
density: "compact"
|
|
@@ -129,7 +129,7 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
129
129
|
class: "white-space-pre",
|
|
130
130
|
"data-cy": "page-title",
|
|
131
131
|
textContent: I(i.item.text)
|
|
132
|
-
}, null, 8,
|
|
132
|
+
}, null, 8, jm)
|
|
133
133
|
]),
|
|
134
134
|
_: 2
|
|
135
135
|
}, 1032, ["type"])
|
|
@@ -138,13 +138,13 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
138
138
|
}, 8, ["max", "group", "position", "width", "class"]);
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
}),
|
|
141
|
+
}), Hm = { class: "a-card-loader" }, Wm = /* @__PURE__ */ G({
|
|
142
142
|
__name: "ACardLoader",
|
|
143
143
|
props: {
|
|
144
144
|
loading: { type: Boolean, default: void 0 }
|
|
145
145
|
},
|
|
146
146
|
setup(t) {
|
|
147
|
-
return (a, e) => ra((q(), P("div",
|
|
147
|
+
return (a, e) => ra((q(), P("div", Hm, null, 512)), [
|
|
148
148
|
[cs, a.loading]
|
|
149
149
|
]);
|
|
150
150
|
}
|
|
@@ -162,16 +162,16 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
162
162
|
loading: e.value
|
|
163
163
|
}, {
|
|
164
164
|
default: V(() => [
|
|
165
|
-
m(
|
|
165
|
+
m(Wm, { loading: s.loading }, null, 8, ["loading"]),
|
|
166
166
|
ue(s.$slots, "default")
|
|
167
167
|
]),
|
|
168
168
|
_: 3
|
|
169
169
|
}, 8, ["title", "loading"]));
|
|
170
170
|
}
|
|
171
|
-
}), z = (t) => typeof t > "u", ve = (t) => !z(t), te = (t) => t === null, ai = (t) => typeof t == "number", Bt = (t) => typeof t == "string", Ge = (t) => Array.isArray(t),
|
|
171
|
+
}), z = (t) => typeof t > "u", ve = (t) => !z(t), te = (t) => t === null, ai = (t) => typeof t == "number", Bt = (t) => typeof t == "string", Ge = (t) => Array.isArray(t), Gm = (t) => typeof t == "function", mn = (t) => typeof t == "boolean", Rd = (t) => Bt(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), Zm = (t) => {
|
|
172
172
|
const a = parseFloat(t);
|
|
173
173
|
return !isNaN(t) && (a | 0) === a;
|
|
174
|
-
},
|
|
174
|
+
}, Ni = (t) => typeof t == "object" && !Ge(t) && !te(t), si = (t) => Ni(t) ? Object.keys(t).length === 0 : !1, zd = (t) => Ge(t) && t.length === 0, fn = (t) => te(t) || z(t) || t === "" || t === 0 || zd(t) || si(t), xe = (t) => {
|
|
175
175
|
if (typeof structuredClone == "function")
|
|
176
176
|
try {
|
|
177
177
|
return Id(t) ? structuredClone(At(t)) : Ds(t) ? structuredClone(p(t)) : structuredClone(t);
|
|
@@ -179,7 +179,7 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
179
179
|
return JSON.parse(JSON.stringify(t));
|
|
180
180
|
}
|
|
181
181
|
return JSON.parse(JSON.stringify(t));
|
|
182
|
-
},
|
|
182
|
+
}, ii = (t, a = 0) => {
|
|
183
183
|
let e = a;
|
|
184
184
|
try {
|
|
185
185
|
e = Number.parseInt(t, 10);
|
|
@@ -218,7 +218,7 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
218
218
|
const o = /^:([a-zA-Z0-9_-]+).*/, l = i.match(o);
|
|
219
219
|
te(l) || !l[1] || z(a[l[1]]) || (e[r] = a[l[1]] + "");
|
|
220
220
|
}), e.join("/");
|
|
221
|
-
}, qS = (t) => t.replace(".", "-"), YS = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), ka = Symbol.for("anzu:SystemScope"), Ia = Symbol.for("anzu:SubjectScope"),
|
|
221
|
+
}, qS = (t) => t.replace(".", "-"), YS = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), ka = Symbol.for("anzu:SystemScope"), Ia = Symbol.for("anzu:SubjectScope"), Ld = Symbol.for("anzu:AvailableLanguages"), Nd = Symbol.for("anzu:DefaultLanguage"), ef = /* @__PURE__ */ L("div", null, null, -1), Vn = /* @__PURE__ */ G({
|
|
222
222
|
__name: "AAnzuUserAvatar",
|
|
223
223
|
props: {
|
|
224
224
|
user: { default: void 0 },
|
|
@@ -308,36 +308,36 @@ const Lm = { key: 1 }, Od = /* @__PURE__ */ G({
|
|
|
308
308
|
function Rn() {
|
|
309
309
|
return Gt(sf);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Ud() {
|
|
312
312
|
return Gt(rf);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function jd() {
|
|
315
315
|
return Gt(
|
|
316
316
|
of
|
|
317
317
|
);
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function Hd() {
|
|
320
320
|
return Gt(nf);
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function Wd() {
|
|
323
323
|
return Gt(lf);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Gd() {
|
|
326
326
|
return Gt(df);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Zd() {
|
|
329
329
|
return Gt(uf);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Jd() {
|
|
332
332
|
return Gt(cf);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Qd() {
|
|
335
335
|
return Gt(mf);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function eu() {
|
|
338
338
|
return Gt(ff);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function tu() {
|
|
341
341
|
return Gt(Vf);
|
|
342
342
|
}
|
|
343
343
|
const Mt = {
|
|
@@ -350,7 +350,7 @@ const Mt = {
|
|
|
350
350
|
type: t,
|
|
351
351
|
status: a
|
|
352
352
|
}), pf = Symbol("anzu:collabFieldLockStatus");
|
|
353
|
-
function
|
|
353
|
+
function au() {
|
|
354
354
|
return Gt(pf);
|
|
355
355
|
}
|
|
356
356
|
const sa = {
|
|
@@ -364,15 +364,15 @@ const sa = {
|
|
|
364
364
|
function Cl(t) {
|
|
365
365
|
return t.status === pn.Ok;
|
|
366
366
|
}
|
|
367
|
-
const
|
|
367
|
+
const su = {
|
|
368
368
|
Ok: "ok",
|
|
369
369
|
Failed: "failed"
|
|
370
370
|
};
|
|
371
371
|
function Dr(t) {
|
|
372
|
-
return t.status ===
|
|
372
|
+
return t.status === su.Ok;
|
|
373
373
|
}
|
|
374
374
|
function Kr(t) {
|
|
375
|
-
return t.status ===
|
|
375
|
+
return t.status === su.Failed;
|
|
376
376
|
}
|
|
377
377
|
const XS = {
|
|
378
378
|
Free: "free",
|
|
@@ -410,7 +410,7 @@ function ao() {
|
|
|
410
410
|
collabFieldLocksState: gf,
|
|
411
411
|
collabFieldDataBufferState: ko,
|
|
412
412
|
gatherBufferData: (s) => {
|
|
413
|
-
|
|
413
|
+
Hd().emit({ room: s });
|
|
414
414
|
let r = {};
|
|
415
415
|
const o = ko.get(s);
|
|
416
416
|
return o && (r = At(Object.fromEntries(o.entries())), ko.delete(s)), r;
|
|
@@ -418,7 +418,7 @@ function ao() {
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
const wl = K(null);
|
|
421
|
-
function
|
|
421
|
+
function iu() {
|
|
422
422
|
function t(a) {
|
|
423
423
|
wl.value = a;
|
|
424
424
|
}
|
|
@@ -428,7 +428,7 @@ function su() {
|
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
430
|
function Vs(t, a, e = !1) {
|
|
431
|
-
const { collabOptions: s } = Zt(), { currentUserId: i } =
|
|
431
|
+
const { collabOptions: s } = Zt(), { currentUserId: i } = iu(), { collabSocket: r, collabFieldLocksState: o, collabFieldDataBufferState: l, collabRoomInfoState: n } = ao(), d = Rn(), c = K(), u = K(), f = au(), Y = K(), v = K(), h = Hd(), F = K(), w = K(), g = (O, M) => {
|
|
432
432
|
O.room !== t || O.field !== a || z(M) || z(u.value) || u.value(M);
|
|
433
433
|
}, A = (O, M) => {
|
|
434
434
|
O.room !== t || O.field !== a || z(M) || z(v.value) || v.value(M);
|
|
@@ -595,7 +595,7 @@ const qf = {
|
|
|
595
595
|
var A, X;
|
|
596
596
|
return ve(e.required) ? e.required : !!((A = e.v) != null && A.required && ((X = e.v) == null ? void 0 : X.required.$params.type) === "required");
|
|
597
597
|
}), g = _(() => ve(e.disabled) ? e.disabled : !!n.value);
|
|
598
|
-
return (A, X) => (q(), E(
|
|
598
|
+
return (A, X) => (q(), E(ni, {
|
|
599
599
|
ref_key: "textFieldRef",
|
|
600
600
|
ref: i,
|
|
601
601
|
"prepend-icon": A.prependIcon,
|
|
@@ -788,7 +788,7 @@ const qf = {
|
|
|
788
788
|
},
|
|
789
789
|
setup(t) {
|
|
790
790
|
const a = t;
|
|
791
|
-
return
|
|
791
|
+
return Ei(ka, a.system), Ei(Ia, a.subject), (e, s) => ue(e.$slots, "default");
|
|
792
792
|
}
|
|
793
793
|
}), Xf = { class: "anzu-data-footer" }, Af = {
|
|
794
794
|
key: 0,
|
|
@@ -1133,7 +1133,7 @@ const qf = {
|
|
|
1133
1133
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
1134
1134
|
}
|
|
1135
1135
|
})();
|
|
1136
|
-
const
|
|
1136
|
+
const ru = /* @__PURE__ */ new Map();
|
|
1137
1137
|
class _f {
|
|
1138
1138
|
constructor(a, e, s) {
|
|
1139
1139
|
this.remaining = e, this.callback = a, this.notifyItem = s, this.resume();
|
|
@@ -1290,7 +1290,7 @@ const Er = Sf(), Io = "[-+]?[0-9]*.?[0-9]+", kl = [
|
|
|
1290
1290
|
})
|
|
1291
1291
|
});
|
|
1292
1292
|
function Pf(t) {
|
|
1293
|
-
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !
|
|
1293
|
+
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !lm(t);
|
|
1294
1294
|
}
|
|
1295
1295
|
const ir = {
|
|
1296
1296
|
IDLE: 0,
|
|
@@ -1388,7 +1388,7 @@ const ir = {
|
|
|
1388
1388
|
slots: e,
|
|
1389
1389
|
expose: s
|
|
1390
1390
|
}) => {
|
|
1391
|
-
const i = K([]), r = K(null), o =
|
|
1391
|
+
const i = K([]), r = K(null), o = ru.get("velocity"), l = _(() => t.animationType === "velocity"), n = _(() => l.value ? $f : Bf), d = _(() => i.value.filter((D) => D.state !== ir.DESTROYED)), c = _(() => Kf(t.width)), u = _(() => {
|
|
1392
1392
|
const {
|
|
1393
1393
|
x: D,
|
|
1394
1394
|
y: O
|
|
@@ -1521,13 +1521,13 @@ ta.close = (t) => {
|
|
|
1521
1521
|
};
|
|
1522
1522
|
const Rf = "Notifications";
|
|
1523
1523
|
function zf(t, a = {}) {
|
|
1524
|
-
Object.entries(a).forEach((s) =>
|
|
1524
|
+
Object.entries(a).forEach((s) => ru.set(...s));
|
|
1525
1525
|
const e = a.name || "notify";
|
|
1526
1526
|
t.config.globalProperties["$" + e] = ta, t.component(a.componentName || Rf, Of);
|
|
1527
1527
|
}
|
|
1528
1528
|
const Lf = {
|
|
1529
1529
|
install: zf
|
|
1530
|
-
}, _l = ["en", "sk"], Ke =
|
|
1530
|
+
}, _l = ["en", "sk"], Ke = Vm({
|
|
1531
1531
|
globalInjection: !1,
|
|
1532
1532
|
legacy: !1,
|
|
1533
1533
|
locale: _l[0],
|
|
@@ -1535,16 +1535,16 @@ const Lf = {
|
|
|
1535
1535
|
missing: (t, a) => {
|
|
1536
1536
|
_l.includes(t) && console.warn(`Missing ${t} translation: ${a}`);
|
|
1537
1537
|
}
|
|
1538
|
-
}),
|
|
1538
|
+
}), ou = (t) => t instanceof yt;
|
|
1539
1539
|
class yt extends Error {
|
|
1540
1540
|
constructor(a, e = "") {
|
|
1541
1541
|
super(e), this.name = "AnzuFatalError", this.cause = a, this.message = e;
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
|
-
const Ks = 200, zn = 201, Nf = 202, Ra = 204, CS = 400, xS = 401, Uf = 403,
|
|
1544
|
+
const Ks = 200, zn = 201, Nf = 202, Ra = 204, CS = 400, xS = 401, Uf = 403, nu = 422, jf = [Ks, zn, Nf, Ra], za = (t) => {
|
|
1545
1545
|
var a;
|
|
1546
1546
|
return eo.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) === Uf;
|
|
1547
|
-
},
|
|
1547
|
+
}, lu = (t) => t instanceof _a;
|
|
1548
1548
|
class _a extends Error {
|
|
1549
1549
|
constructor(a, e = "") {
|
|
1550
1550
|
super(e), this.name = "AnzuApiForbiddenError", this.cause = a, this.message = e;
|
|
@@ -1552,8 +1552,8 @@ class _a extends Error {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
const Hf = "validation_failed", Sa = (t) => {
|
|
1554
1554
|
var a, e, s;
|
|
1555
|
-
return eo.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) ===
|
|
1556
|
-
},
|
|
1555
|
+
return eo.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) === nu && ((e = t.response.data) == null ? void 0 : e.error) === Hf && ((s = t.response.data) == null ? void 0 : s.fields);
|
|
1556
|
+
}, du = (t) => t instanceof Da;
|
|
1557
1557
|
function Wf(t, a, e) {
|
|
1558
1558
|
var r;
|
|
1559
1559
|
const s = (r = t.response) == null ? void 0 : r.data, i = [];
|
|
@@ -1571,7 +1571,7 @@ class Da extends Error {
|
|
|
1571
1571
|
this.name = "AnzuApiValidationError", this.cause = r, this.message = o, this.fields = Wf(e, s, i);
|
|
1572
1572
|
}
|
|
1573
1573
|
}
|
|
1574
|
-
const
|
|
1574
|
+
const uu = (t) => t instanceof La;
|
|
1575
1575
|
class La extends Error {
|
|
1576
1576
|
constructor(e, s, i) {
|
|
1577
1577
|
super(i);
|
|
@@ -1581,7 +1581,7 @@ class La extends Error {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
const Gf = "forbidden_operation_error", Na = (t) => {
|
|
1583
1583
|
var a, e, s;
|
|
1584
|
-
return eo.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) ===
|
|
1584
|
+
return eo.isAxiosError(t) && ((a = t.response) == null ? void 0 : a.status) === nu && ((e = t.response.data) == null ? void 0 : e.error) === Gf && ((s = t.response.data) == null ? void 0 : s.detail);
|
|
1585
1585
|
}, Zf = (t) => t instanceof Ka;
|
|
1586
1586
|
function Jf(t) {
|
|
1587
1587
|
var e;
|
|
@@ -1594,7 +1594,7 @@ class Ka extends Error {
|
|
|
1594
1594
|
this.name = "AnzuApiForbiddenOperationError", this.cause = s, this.message = i, this.detail = Jf(e);
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
|
-
const Va = 3,
|
|
1597
|
+
const Va = 3, cu = `
|
|
1598
1598
|
`;
|
|
1599
1599
|
function He() {
|
|
1600
1600
|
const t = (h, F = Va) => {
|
|
@@ -1670,7 +1670,7 @@ function He() {
|
|
|
1670
1670
|
}
|
|
1671
1671
|
ta({
|
|
1672
1672
|
group: "alerts",
|
|
1673
|
-
text: X.join(
|
|
1673
|
+
text: X.join(cu),
|
|
1674
1674
|
duration: F * 1e3,
|
|
1675
1675
|
type: "error"
|
|
1676
1676
|
});
|
|
@@ -1715,7 +1715,7 @@ function He() {
|
|
|
1715
1715
|
showApiForbiddenOperationError: u,
|
|
1716
1716
|
showUnknownError: f,
|
|
1717
1717
|
showForbiddenError: Y,
|
|
1718
|
-
showErrorsDefault: (h) =>
|
|
1718
|
+
showErrorsDefault: (h) => lu(h) ? (Y(), !0) : du(h) ? (c(h.fields), !0) : Zf(h) ? (u(h.detail), !0) : ou(h) || uu(h) ? (f(), !0) : !1
|
|
1719
1719
|
};
|
|
1720
1720
|
}
|
|
1721
1721
|
const wS = /* @__PURE__ */ G({
|
|
@@ -1844,7 +1844,7 @@ const wS = /* @__PURE__ */ G({
|
|
|
1844
1844
|
return ht(async () => {
|
|
1845
1845
|
if (a.configUrl && a.configUrl.length > 0)
|
|
1846
1846
|
try {
|
|
1847
|
-
const { data: i } = await
|
|
1847
|
+
const { data: i } = await pm(a.configUrl).get().json();
|
|
1848
1848
|
s.value = i.value;
|
|
1849
1849
|
} catch {
|
|
1850
1850
|
}
|
|
@@ -1909,7 +1909,7 @@ var so = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1909
1909
|
function io(t) {
|
|
1910
1910
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1911
1911
|
}
|
|
1912
|
-
var
|
|
1912
|
+
var mu = { exports: {} };
|
|
1913
1913
|
(function(t, a) {
|
|
1914
1914
|
(function(e, s) {
|
|
1915
1915
|
t.exports = s();
|
|
@@ -2184,10 +2184,10 @@ var cu = { exports: {} };
|
|
|
2184
2184
|
return U(1e3 * k);
|
|
2185
2185
|
}, U.en = x[b], U.Ls = x, U.p = {}, U;
|
|
2186
2186
|
});
|
|
2187
|
-
})(
|
|
2188
|
-
var rV =
|
|
2187
|
+
})(mu);
|
|
2188
|
+
var rV = mu.exports;
|
|
2189
2189
|
const Me = /* @__PURE__ */ io(rV);
|
|
2190
|
-
var
|
|
2190
|
+
var fu = { exports: {} };
|
|
2191
2191
|
(function(t, a) {
|
|
2192
2192
|
(function(e, s) {
|
|
2193
2193
|
t.exports = s();
|
|
@@ -2260,10 +2260,10 @@ var mu = { exports: {} };
|
|
|
2260
2260
|
};
|
|
2261
2261
|
};
|
|
2262
2262
|
});
|
|
2263
|
-
})(
|
|
2264
|
-
var oV =
|
|
2265
|
-
const
|
|
2266
|
-
var
|
|
2263
|
+
})(fu);
|
|
2264
|
+
var oV = fu.exports;
|
|
2265
|
+
const Vu = /* @__PURE__ */ io(oV);
|
|
2266
|
+
var pu = { exports: {} };
|
|
2267
2267
|
(function(t, a) {
|
|
2268
2268
|
(function(e, s) {
|
|
2269
2269
|
t.exports = s();
|
|
@@ -2381,12 +2381,12 @@ var Vu = { exports: {} };
|
|
|
2381
2381
|
};
|
|
2382
2382
|
};
|
|
2383
2383
|
});
|
|
2384
|
-
})(
|
|
2385
|
-
var nV =
|
|
2386
|
-
const
|
|
2387
|
-
Me.extend(
|
|
2388
|
-
Me.extend(
|
|
2389
|
-
const us = ".000000Z", Mr = "YYYY-MM-DDTHH:mm:ss", ro = "1970-01-01T00:00:00.000000Z", oo = "2100-01-01T00:00:00.000000Z", _S = () => Me().utc().toDate(), SS = (t) => Me(t).toDate(), DS = () =>
|
|
2384
|
+
})(pu);
|
|
2385
|
+
var nV = pu.exports;
|
|
2386
|
+
const vu = /* @__PURE__ */ io(nV);
|
|
2387
|
+
Me.extend(Vu);
|
|
2388
|
+
Me.extend(vu);
|
|
2389
|
+
const us = ".000000Z", Mr = "YYYY-MM-DDTHH:mm:ss", ro = "1970-01-01T00:00:00.000000Z", oo = "2100-01-01T00:00:00.000000Z", _S = () => Me().utc().toDate(), SS = (t) => Me(t).toDate(), DS = () => ii(Me().utc().unix()), Pt = (t = !0, a = !1) => t && !a ? Me().utc().format("YYYY-MM-DDTHH:mm:ss") + us : t && a ? Me().utc().format("YYYY-MM-DDTHH:mm:00") + us : !t && a ? Me().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : Me().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", KS = (t = 0) => t === 0 ? Me().startOf("day").utc().format(Mr) + us : Me().add(t, "days").startOf("day").utc().format(Mr) + us, TS = (t = 0) => t === 0 ? Me().endOf("day").utc().format(Mr) + us : Me().add(t, "days").endOf("day").utc().format(Mr) + us, ES = (t = 0, a = null) => (a === null && (a = /* @__PURE__ */ new Date()), t === 0 ? a : t > 0 ? Me(a).add(t, "minutes").toDate() : t < 0 ? Me(a).subtract(Math.abs(t), "minutes").toDate() : a), MS = (t) => Me(t).utc().format("YYYY-MM-DDTHH:mm:ss") + us, $S = () => Me().utc().format("YYYY"), _s = (t, a = "") => t === oo || t === ro || t === "" || te(t) || z(t) ? a : Me(t).format("DD.MM.YYYY HH:mm"), BS = (t, a = "") => {
|
|
2390
2390
|
if (t === oo || t === ro || t === "" || te(t) || z(t))
|
|
2391
2391
|
return a;
|
|
2392
2392
|
let e = !0, s = !0;
|
|
@@ -2434,7 +2434,7 @@ const us = ".000000Z", Mr = "YYYY-MM-DDTHH:mm:ss", ro = "1970-01-01T00:00:00.000
|
|
|
2434
2434
|
], 64));
|
|
2435
2435
|
}
|
|
2436
2436
|
});
|
|
2437
|
-
function
|
|
2437
|
+
function di(t, a) {
|
|
2438
2438
|
return (e = {}) => {
|
|
2439
2439
|
const s = z(e.variant) ? "eq" : e.variant;
|
|
2440
2440
|
let i = z(e.default) ? null : e.default;
|
|
@@ -2454,7 +2454,7 @@ function li(t, a) {
|
|
|
2454
2454
|
};
|
|
2455
2455
|
};
|
|
2456
2456
|
}
|
|
2457
|
-
function
|
|
2457
|
+
function ui(t = void 0) {
|
|
2458
2458
|
const a = (n) => {
|
|
2459
2459
|
n.clearable && (n.model = n.default, n.error = "");
|
|
2460
2460
|
}, e = (n) => {
|
|
@@ -2468,7 +2468,7 @@ function di(t = void 0) {
|
|
|
2468
2468
|
const c = localStorage.getItem(t);
|
|
2469
2469
|
if (!c) return;
|
|
2470
2470
|
const u = JSON.parse(c);
|
|
2471
|
-
if (
|
|
2471
|
+
if (Ni(u)) {
|
|
2472
2472
|
for (const f in n)
|
|
2473
2473
|
try {
|
|
2474
2474
|
z(u[f]) || (n[f].model = u[f]);
|
|
@@ -2481,10 +2481,10 @@ function di(t = void 0) {
|
|
|
2481
2481
|
const d = {};
|
|
2482
2482
|
for (const c in n)
|
|
2483
2483
|
try {
|
|
2484
|
-
d[c] = n[c].model;
|
|
2484
|
+
!c.startsWith("_") && !z(n[c].model) && !te(n[c].model) && !si(n[c].model) && !zd(n[c].model) && (d[c] = n[c].model);
|
|
2485
2485
|
} catch {
|
|
2486
2486
|
}
|
|
2487
|
-
|
|
2487
|
+
si(d) || localStorage.setItem(t, JSON.stringify(d));
|
|
2488
2488
|
};
|
|
2489
2489
|
return {
|
|
2490
2490
|
clearAllErrors: s,
|
|
@@ -2499,7 +2499,7 @@ function di(t = void 0) {
|
|
|
2499
2499
|
loadStoredFilter: i
|
|
2500
2500
|
};
|
|
2501
2501
|
}
|
|
2502
|
-
const
|
|
2502
|
+
const hu = /* @__PURE__ */ G({
|
|
2503
2503
|
__name: "AFilterString",
|
|
2504
2504
|
props: {
|
|
2505
2505
|
modelValue: {},
|
|
@@ -2515,8 +2515,8 @@ const vu = /* @__PURE__ */ G({
|
|
|
2515
2515
|
set(d) {
|
|
2516
2516
|
s("update:modelValue", { ...e.modelValue, model: d });
|
|
2517
2517
|
}
|
|
2518
|
-
}), { clearOne: r } =
|
|
2519
|
-
return (d, c) => (q(), E(
|
|
2518
|
+
}), { clearOne: r } = ui(), { t: o } = ee(), l = _(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), n = _(() => z(e.placeholder) ? e.modelValue.variant === "startsWith" ? o("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? o("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" || e.modelValue.variant === "search" ? o("common.model.filterPlaceholder.contains") : "" : e.placeholder);
|
|
2519
|
+
return (d, c) => (q(), E(ni, {
|
|
2520
2520
|
modelValue: i.value,
|
|
2521
2521
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => i.value = u),
|
|
2522
2522
|
label: l.value,
|
|
@@ -2538,7 +2538,7 @@ const vu = /* @__PURE__ */ G({
|
|
|
2538
2538
|
dataCy: { default: "filter-mixed" }
|
|
2539
2539
|
},
|
|
2540
2540
|
setup(t) {
|
|
2541
|
-
const a = t, e = K(""), { filterId: s, filterText: i, filterDocId: r, filterUrl: o, filterOverrides: l } =
|
|
2541
|
+
const a = t, e = K(""), { filterId: s, filterText: i, filterDocId: r, filterUrl: o, filterOverrides: l } = oi(a), { t: n } = ee(), d = (X) => !z(X) && !z(X.value), { clearOne: c } = ui(), u = (X) => {
|
|
2542
2542
|
d(X) && c(X.value);
|
|
2543
2543
|
}, f = (X = void 0) => {
|
|
2544
2544
|
var b, x, T, R, H, U, D, O, M;
|
|
@@ -2566,7 +2566,7 @@ const vu = /* @__PURE__ */ G({
|
|
|
2566
2566
|
const b = F(X);
|
|
2567
2567
|
z(b) || (b.model = X), v.value = b, f(v);
|
|
2568
2568
|
}, F = (X) => {
|
|
2569
|
-
if (
|
|
2569
|
+
if (Zm(X) && d(s))
|
|
2570
2570
|
return s.value;
|
|
2571
2571
|
if (Rd(X) && d(r))
|
|
2572
2572
|
return r.value;
|
|
@@ -2594,7 +2594,7 @@ const vu = /* @__PURE__ */ G({
|
|
|
2594
2594
|
var X, b, x, T;
|
|
2595
2595
|
return z(a.placeholder) ? ((X = v.value) == null ? void 0 : X.variant) === "startsWith" ? n("common.model.filterPlaceholder.startsWith") : ((b = v.value) == null ? void 0 : b.variant) === "eq" ? n("common.model.filterPlaceholder.eq") : ((x = v.value) == null ? void 0 : x.variant) === "contains" || ((T = v.value) == null ? void 0 : T.variant) === "search" ? n("common.model.filterPlaceholder.contains") : "" : a.placeholder;
|
|
2596
2596
|
});
|
|
2597
|
-
return (X, b) => (q(), E(
|
|
2597
|
+
return (X, b) => (q(), E(ni, {
|
|
2598
2598
|
modelValue: e.value,
|
|
2599
2599
|
"onUpdate:modelValue": b[1] || (b[1] = (x) => e.value = x),
|
|
2600
2600
|
label: w.value,
|
|
@@ -2644,11 +2644,11 @@ const vu = /* @__PURE__ */ G({
|
|
|
2644
2644
|
set(n) {
|
|
2645
2645
|
s("update:modelValue", {
|
|
2646
2646
|
...e.modelValue,
|
|
2647
|
-
model: te(n) ? null :
|
|
2647
|
+
model: te(n) ? null : ii(n + "")
|
|
2648
2648
|
});
|
|
2649
2649
|
}
|
|
2650
|
-
}), { clearOne: r } =
|
|
2651
|
-
return (n, d) => (q(), E(
|
|
2650
|
+
}), { clearOne: r } = ui(), { t: o } = ee(), l = _(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
|
|
2651
|
+
return (n, d) => (q(), E(ni, {
|
|
2652
2652
|
modelValue: i.value,
|
|
2653
2653
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => i.value = c),
|
|
2654
2654
|
label: l.value,
|
|
@@ -2841,7 +2841,7 @@ var br = /* @__PURE__ */ ((t) => (t[t.Deny = 0] = "Deny", t[t.AllowOwner = 1] =
|
|
|
2841
2841
|
t.Default = 0
|
|
2842
2842
|
/* Deny */
|
|
2843
2843
|
] = "Default", t))(br || {});
|
|
2844
|
-
function
|
|
2844
|
+
function Fu() {
|
|
2845
2845
|
const { t } = ee(), a = K([
|
|
2846
2846
|
{
|
|
2847
2847
|
value: 0,
|
|
@@ -2879,7 +2879,7 @@ const jS = /* @__PURE__ */ G({
|
|
|
2879
2879
|
set(o) {
|
|
2880
2880
|
s("change", o);
|
|
2881
2881
|
}
|
|
2882
|
-
}), { getGrantOption: r } =
|
|
2882
|
+
}), { getGrantOption: r } = Fu();
|
|
2883
2883
|
return (o, l) => (q(), E(Qr, {
|
|
2884
2884
|
modelValue: i.value,
|
|
2885
2885
|
"onUpdate:modelValue": l[0] || (l[0] = (n) => i.value = n),
|
|
@@ -2910,7 +2910,7 @@ const jS = /* @__PURE__ */ G({
|
|
|
2910
2910
|
}, 8, ["modelValue"]));
|
|
2911
2911
|
}
|
|
2912
2912
|
});
|
|
2913
|
-
var
|
|
2913
|
+
var gu = /* @__PURE__ */ ((t) => (t.Role = "role", t.Group = "group", t.User = "user", t.DefaultGrant = "default", t.Default = "default", t))(gu || {});
|
|
2914
2914
|
function hV() {
|
|
2915
2915
|
const { t } = ee(), a = K([
|
|
2916
2916
|
{
|
|
@@ -2945,7 +2945,7 @@ const FV = {
|
|
|
2945
2945
|
grantOrigin: {}
|
|
2946
2946
|
},
|
|
2947
2947
|
setup(t) {
|
|
2948
|
-
const a = t, { getGrantOption: e } =
|
|
2948
|
+
const a = t, { getGrantOption: e } = Fu(), s = _(() => e(a.grant)), { getGrantOriginOption: i } = hV(), r = _(() => i(a.grantOrigin));
|
|
2949
2949
|
return (o, l) => s.value ? (q(), E(Wt, {
|
|
2950
2950
|
key: 0,
|
|
2951
2951
|
color: s.value.color,
|
|
@@ -2956,7 +2956,7 @@ const FV = {
|
|
|
2956
2956
|
var n;
|
|
2957
2957
|
return [
|
|
2958
2958
|
$(I(s.value.title) + " ", 1),
|
|
2959
|
-
o.grantOrigin !== p(
|
|
2959
|
+
o.grantOrigin !== p(gu).DefaultGrant ? (q(), P("span", FV, "(" + I((n = r.value) == null ? void 0 : n.title) + ")", 1)) : N("", !0)
|
|
2960
2960
|
];
|
|
2961
2961
|
}),
|
|
2962
2962
|
_: 1
|
|
@@ -2974,11 +2974,11 @@ const FV = {
|
|
|
2974
2974
|
getCurrentUserBySystem: t,
|
|
2975
2975
|
reset: a
|
|
2976
2976
|
};
|
|
2977
|
-
},
|
|
2977
|
+
}, qu = (t) => {
|
|
2978
2978
|
const a = Object.getOwnPropertyNames(t);
|
|
2979
2979
|
for (const e of a) {
|
|
2980
2980
|
const s = t[e];
|
|
2981
|
-
s && typeof s == "object" &&
|
|
2981
|
+
s && typeof s == "object" && qu(s);
|
|
2982
2982
|
}
|
|
2983
2983
|
return Object.freeze(t);
|
|
2984
2984
|
}, WS = (t) => Object.keys(t).map((a) => t[a]), no = (t, a, e = ".") => {
|
|
@@ -3012,11 +3012,11 @@ function GS(t, a, e = ".") {
|
|
|
3012
3012
|
}
|
|
3013
3013
|
return r(t), t;
|
|
3014
3014
|
}
|
|
3015
|
-
const qV = (t) =>
|
|
3015
|
+
const qV = (t) => Ni(t) && Object.hasOwn(t, "owners"), YV = (t) => Object.hasOwn(t, "createdBy"), ps = (t, a, e = "") => si(a) ? t : Qm(e === "" ? t : e, a), vs = (t) => jf.includes(t), Rt = (t, a, e = {}, s, i, r = {}) => new Promise((o, l) => {
|
|
3016
3016
|
t().get(ps(a, e), r).then((n) => vs(n.status) ? n.data ? o(n.data) : n.status === Ra ? o(null) : l(new yt()) : l(new La(n.status))).catch((n) => za(n) ? l(new _a(n)) : Sa(n) ? l(new Da(n, s, i, n)) : Na(n) ? l(new Ka(n, n)) : l(new yt(n)));
|
|
3017
|
-
}),
|
|
3017
|
+
}), Yu = "ROLE_SUPER_ADMIN";
|
|
3018
3018
|
function lo(t) {
|
|
3019
|
-
const a = gV(), e = (d) => d.split("_")[0], s = (d) => d.includes(
|
|
3019
|
+
const a = gV(), e = (d) => d.split("_")[0], s = (d) => d.includes(Yu), i = (d, c) => {
|
|
3020
3020
|
const u = a.getCurrentUserBySystem(e(d));
|
|
3021
3021
|
if (z(u) || z(u.id) || te(u.id) || u.id === 0)
|
|
3022
3022
|
throw new Error("Composable defineAuth must load currentUser first.");
|
|
@@ -3102,60 +3102,60 @@ const XV = /* @__PURE__ */ G({
|
|
|
3102
3102
|
}
|
|
3103
3103
|
}), { t: AV } = Ke.global;
|
|
3104
3104
|
function yV() {
|
|
3105
|
-
return ua({ t: AV })(
|
|
3105
|
+
return ua({ t: AV })(Cm, {
|
|
3106
3106
|
withArguments: !0,
|
|
3107
3107
|
messagePath: () => "error.jsValidation.between"
|
|
3108
3108
|
});
|
|
3109
3109
|
}
|
|
3110
3110
|
const { t: bV } = Ke.global;
|
|
3111
3111
|
function CV() {
|
|
3112
|
-
return ua({ t: bV })(
|
|
3112
|
+
return ua({ t: bV })(xm, {
|
|
3113
3113
|
messagePath: () => "error.jsValidation.email"
|
|
3114
3114
|
});
|
|
3115
3115
|
}
|
|
3116
3116
|
const { t: xV } = Ke.global;
|
|
3117
3117
|
function wV() {
|
|
3118
|
-
return ua({ t: xV })(
|
|
3118
|
+
return ua({ t: xV })(wm, {
|
|
3119
3119
|
withArguments: !0,
|
|
3120
3120
|
messagePath: () => "error.jsValidation.maxLength"
|
|
3121
3121
|
});
|
|
3122
3122
|
}
|
|
3123
3123
|
const { t: kV } = Ke.global;
|
|
3124
3124
|
function IV() {
|
|
3125
|
-
return ua({ t: kV })(
|
|
3125
|
+
return ua({ t: kV })(km, {
|
|
3126
3126
|
withArguments: !0,
|
|
3127
3127
|
messagePath: () => "error.jsValidation.maxValue"
|
|
3128
3128
|
});
|
|
3129
3129
|
}
|
|
3130
3130
|
const { t: _V } = Ke.global;
|
|
3131
3131
|
function SV() {
|
|
3132
|
-
return ua({ t: _V })(
|
|
3132
|
+
return ua({ t: _V })(Im, {
|
|
3133
3133
|
withArguments: !0,
|
|
3134
3134
|
messagePath: () => "error.jsValidation.minLength"
|
|
3135
3135
|
});
|
|
3136
3136
|
}
|
|
3137
3137
|
const { t: DV } = Ke.global;
|
|
3138
3138
|
function KV() {
|
|
3139
|
-
return ua({ t: DV })(
|
|
3139
|
+
return ua({ t: DV })(_m, {
|
|
3140
3140
|
withArguments: !0,
|
|
3141
3141
|
messagePath: () => "error.jsValidation.minValue"
|
|
3142
3142
|
});
|
|
3143
3143
|
}
|
|
3144
3144
|
const { t: TV } = Ke.global;
|
|
3145
3145
|
function EV() {
|
|
3146
|
-
return ua({ t: TV })(
|
|
3146
|
+
return ua({ t: TV })(Sm, {
|
|
3147
3147
|
messagePath: () => "error.jsValidation.numeric"
|
|
3148
3148
|
});
|
|
3149
3149
|
}
|
|
3150
3150
|
const { t: MV } = Ke.global;
|
|
3151
3151
|
function $V() {
|
|
3152
|
-
return ua({ t: MV })(
|
|
3152
|
+
return ua({ t: MV })(Dm, {
|
|
3153
3153
|
messagePath: () => "error.jsValidation.required"
|
|
3154
3154
|
});
|
|
3155
3155
|
}
|
|
3156
3156
|
const { t: BV } = Ke.global;
|
|
3157
3157
|
function PV() {
|
|
3158
|
-
return ua({ t: BV })(
|
|
3158
|
+
return ua({ t: BV })(Km, {
|
|
3159
3159
|
withArguments: !0,
|
|
3160
3160
|
messagePath: () => "error.jsValidation.required"
|
|
3161
3161
|
});
|
|
@@ -3188,7 +3188,7 @@ function LV() {
|
|
|
3188
3188
|
}
|
|
3189
3189
|
const { t: NV } = Ke.global;
|
|
3190
3190
|
function UV() {
|
|
3191
|
-
return ua({ t: NV })(
|
|
3191
|
+
return ua({ t: NV })(Tm, {
|
|
3192
3192
|
messagePath: () => "error.jsValidation.url"
|
|
3193
3193
|
});
|
|
3194
3194
|
}
|
|
@@ -3208,7 +3208,7 @@ function hs() {
|
|
|
3208
3208
|
stringArrayItemLength: LV()
|
|
3209
3209
|
};
|
|
3210
3210
|
}
|
|
3211
|
-
const jV = (t) => (
|
|
3211
|
+
const jV = (t) => (dm("data-v-8b2f16cf"), t = t(), um(), t), HV = { class: "a-datetime-picker-time" }, WV = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, GV = { class: "a-datetime-picker-time__arrows" }, ZV = /* @__PURE__ */ jV(() => /* @__PURE__ */ L("span", { class: "a-datetime-picker-time__separator" }, ":", -1)), JV = { class: "a-datetime-picker-time__item" }, QV = { class: "a-datetime-picker-time__arrows" }, ep = /* @__PURE__ */ G({
|
|
3212
3212
|
__name: "TimePicker",
|
|
3213
3213
|
props: {
|
|
3214
3214
|
modelValue: {
|
|
@@ -3342,7 +3342,7 @@ const jV = (t) => (lm("data-v-8b2f16cf"), t = t(), dm(), t), HV = { class: "a-da
|
|
|
3342
3342
|
emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose"],
|
|
3343
3343
|
setup(t, { emit: a }) {
|
|
3344
3344
|
const e = t, s = a;
|
|
3345
|
-
Me.extend(
|
|
3345
|
+
Me.extend(Vu), Me.extend(vu);
|
|
3346
3346
|
const i = K(!1), r = K(0), o = K(0), l = K(null), n = K(""), d = K(null), c = K(null), u = K(null), { t: f } = ee(), Y = _(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: v } = hs(), h = _(() => ({
|
|
3347
3347
|
textFieldValue: {
|
|
3348
3348
|
required: v(e.required)
|
|
@@ -3417,7 +3417,7 @@ const jV = (t) => (lm("data-v-8b2f16cf"), t = t(), dm(), t), HV = { class: "a-da
|
|
|
3417
3417
|
r.value++, o.value++;
|
|
3418
3418
|
});
|
|
3419
3419
|
};
|
|
3420
|
-
return (U, D) => (q(), E(
|
|
3420
|
+
return (U, D) => (q(), E(ni, {
|
|
3421
3421
|
ref_key: "textFieldRef",
|
|
3422
3422
|
ref: l,
|
|
3423
3423
|
modelValue: n.value,
|
|
@@ -3455,7 +3455,7 @@ const jV = (t) => (lm("data-v-8b2f16cf"), t = t(), dm(), t), HV = { class: "a-da
|
|
|
3455
3455
|
default: V(() => [
|
|
3456
3456
|
i.value ? (q(), E(ze, { key: 0 }, {
|
|
3457
3457
|
default: V(() => [
|
|
3458
|
-
(q(), E(
|
|
3458
|
+
(q(), E(Em, {
|
|
3459
3459
|
key: r.value,
|
|
3460
3460
|
modelValue: d.value,
|
|
3461
3461
|
"onUpdate:modelValue": D[0] || (D[0] = (O) => d.value = O),
|
|
@@ -3673,7 +3673,7 @@ const jV = (t) => (lm("data-v-8b2f16cf"), t = t(), dm(), t), HV = { class: "a-da
|
|
|
3673
3673
|
i.value = Pt();
|
|
3674
3674
|
return;
|
|
3675
3675
|
}
|
|
3676
|
-
if (
|
|
3676
|
+
if (Gm(e.defaultActivationValue)) {
|
|
3677
3677
|
i.value = e.defaultActivationValue();
|
|
3678
3678
|
return;
|
|
3679
3679
|
}
|
|
@@ -3683,7 +3683,7 @@ const jV = (t) => (lm("data-v-8b2f16cf"), t = t(), dm(), t), HV = { class: "a-da
|
|
|
3683
3683
|
R !== H && r.value.enabled && (v.value || h.value) && l.value(R);
|
|
3684
3684
|
}), (R, H) => (q(), P(Fe, null, [
|
|
3685
3685
|
L("div", op, [
|
|
3686
|
-
m(
|
|
3686
|
+
m(Ri, {
|
|
3687
3687
|
modelValue: Y.value,
|
|
3688
3688
|
"onUpdate:modelValue": H[0] || (H[0] = (U) => Y.value = U),
|
|
3689
3689
|
label: b.value,
|
|
@@ -3700,7 +3700,7 @@ const jV = (t) => (lm("data-v-8b2f16cf"), t = t(), dm(), t), HV = { class: "a-da
|
|
|
3700
3700
|
])
|
|
3701
3701
|
])
|
|
3702
3702
|
]),
|
|
3703
|
-
m(
|
|
3703
|
+
m(Mm, null, {
|
|
3704
3704
|
default: V(() => [
|
|
3705
3705
|
ra(L("div", null, [
|
|
3706
3706
|
m(Ln, {
|
|
@@ -3837,7 +3837,7 @@ const lp = {
|
|
|
3837
3837
|
{ immediate: !0 }
|
|
3838
3838
|
);
|
|
3839
3839
|
}
|
|
3840
|
-
const Y = K(""), v = K(!1), h = K(void 0), { t: F } = ee(), { innerFilter: w } =
|
|
3840
|
+
const Y = K(""), v = K(!1), h = K(void 0), { t: F } = ee(), { innerFilter: w } = oi(e), g = st(ka, void 0), A = st(Ia, void 0), X = () => {
|
|
3841
3841
|
var Q;
|
|
3842
3842
|
v.value = !1, s("blur", i.value), (Q = e.v) == null || Q.$touch(), d.value(i.value);
|
|
3843
3843
|
}, b = _(() => {
|
|
@@ -3951,7 +3951,7 @@ const lp = {
|
|
|
3951
3951
|
}
|
|
3952
3952
|
i.value = Q.value;
|
|
3953
3953
|
};
|
|
3954
|
-
return (Q, ne) => (q(), E(
|
|
3954
|
+
return (Q, ne) => (q(), E(zi, {
|
|
3955
3955
|
"model-value": o.value,
|
|
3956
3956
|
items: M.value,
|
|
3957
3957
|
"no-filter": "",
|
|
@@ -4048,7 +4048,7 @@ const lp = {
|
|
|
4048
4048
|
}), ht(() => {
|
|
4049
4049
|
c.value = "remote-switch-" + Date.now();
|
|
4050
4050
|
}), (v, h) => (q(), P("div", up, [
|
|
4051
|
-
m(
|
|
4051
|
+
m(Ri, {
|
|
4052
4052
|
id: c.value,
|
|
4053
4053
|
modelValue: f.value,
|
|
4054
4054
|
"onUpdate:modelValue": h[0] || (h[0] = (F) => f.value = F),
|
|
@@ -4284,7 +4284,7 @@ const lp = {
|
|
|
4284
4284
|
b !== x && r.value.enabled && Y.value && l.value(b);
|
|
4285
4285
|
},
|
|
4286
4286
|
{ immediate: !0 }
|
|
4287
|
-
), (b, x) => (q(), E(
|
|
4287
|
+
), (b, x) => (q(), E(zi, {
|
|
4288
4288
|
modelValue: i.value,
|
|
4289
4289
|
"onUpdate:modelValue": x[0] || (x[0] = (T) => i.value = T),
|
|
4290
4290
|
items: b.items,
|
|
@@ -4329,7 +4329,7 @@ const lp = {
|
|
|
4329
4329
|
},
|
|
4330
4330
|
emits: ["update:modelValue", "change"],
|
|
4331
4331
|
setup(t, { emit: a }) {
|
|
4332
|
-
const e = t, s = a, { clearOne: i } =
|
|
4332
|
+
const e = t, s = a, { clearOne: i } = ui(), r = _({
|
|
4333
4333
|
get() {
|
|
4334
4334
|
return e.modelValue.model;
|
|
4335
4335
|
},
|
|
@@ -4337,7 +4337,7 @@ const lp = {
|
|
|
4337
4337
|
s("update:modelValue", { ...e.modelValue, model: d }), s("change");
|
|
4338
4338
|
}
|
|
4339
4339
|
}), { t: o } = ee(), l = _(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), n = _(() => e.modelValue.multiple !== !1);
|
|
4340
|
-
return (d, c) => (q(), E(
|
|
4340
|
+
return (d, c) => (q(), E(zi, {
|
|
4341
4341
|
modelValue: r.value,
|
|
4342
4342
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
|
4343
4343
|
items: d.items,
|
|
@@ -4371,7 +4371,7 @@ const lp = {
|
|
|
4371
4371
|
set(k) {
|
|
4372
4372
|
s("update:modelValue", { ...e.modelValue, model: xe(k) });
|
|
4373
4373
|
}
|
|
4374
|
-
}), r = K(""), o = K(!1), l = K(void 0), n = K(0), { t: d } = ee(), { innerFilter: c } =
|
|
4374
|
+
}), r = K(""), o = K(!1), l = K(void 0), n = K(0), { t: d } = ee(), { innerFilter: c } = oi(e), u = () => {
|
|
4375
4375
|
o.value = !0;
|
|
4376
4376
|
}, f = _(() => e.modelValue.titleT ? d(e.modelValue.titleT) : void 0), Y = _(() => e.modelValue.multiple !== !1), v = Ts(e.filterSortBy), h = K([]), F = K([]), w = _(() => {
|
|
4377
4377
|
const k = /* @__PURE__ */ new Map();
|
|
@@ -4439,7 +4439,7 @@ const lp = {
|
|
|
4439
4439
|
n.value++, k !== C && (n.value++, A(k, n.value));
|
|
4440
4440
|
},
|
|
4441
4441
|
{ debounce: 500, maxWait: 1500 }
|
|
4442
|
-
), (k, C) => (q(), E(
|
|
4442
|
+
), (k, C) => (q(), E(zi, {
|
|
4443
4443
|
modelValue: i.value,
|
|
4444
4444
|
"onUpdate:modelValue": C[0] || (C[0] = (y) => i.value = y),
|
|
4445
4445
|
items: w.value,
|
|
@@ -4482,7 +4482,7 @@ const lp = {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
}), { t: r } = ee(), o = _(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
4484
4484
|
return (l, n) => (q(), P("div", hp, [
|
|
4485
|
-
m(
|
|
4485
|
+
m($m, { class: "pr-1" }, {
|
|
4486
4486
|
default: V(() => [
|
|
4487
4487
|
L("span", null, I(o.value), 1)
|
|
4488
4488
|
]),
|
|
@@ -4544,7 +4544,7 @@ const lp = {
|
|
|
4544
4544
|
{ value: 1, title: r(e.trueT) },
|
|
4545
4545
|
{ value: 0, title: r(e.falseT) }
|
|
4546
4546
|
]);
|
|
4547
|
-
return (n, d) => (q(), E(
|
|
4547
|
+
return (n, d) => (q(), E(Li, {
|
|
4548
4548
|
modelValue: i.value,
|
|
4549
4549
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => i.value = c),
|
|
4550
4550
|
"data-cy": n.dataCy,
|
|
@@ -4553,7 +4553,7 @@ const lp = {
|
|
|
4553
4553
|
}, null, 8, ["modelValue", "data-cy", "label", "items"]));
|
|
4554
4554
|
}
|
|
4555
4555
|
});
|
|
4556
|
-
var
|
|
4556
|
+
var Xu = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Processing = "processing", t.AwaitingBatchProcess = "awaiting_batch_process", t.Done = "done", t.Error = "error", t.Default = "waiting", t))(Xu || {});
|
|
4557
4557
|
function gp() {
|
|
4558
4558
|
const { t } = ee(), a = K([
|
|
4559
4559
|
{
|
|
@@ -4621,7 +4621,7 @@ const qp = /* @__PURE__ */ G({
|
|
|
4621
4621
|
LINK_EXTERNAL: "mdi-open-in-new"
|
|
4622
4622
|
}
|
|
4623
4623
|
}
|
|
4624
|
-
}, Sl =
|
|
4624
|
+
}, Sl = qu(Yp), Xp = { key: 1 }, oD = /* @__PURE__ */ G({
|
|
4625
4625
|
__name: "ACachedChip",
|
|
4626
4626
|
props: {
|
|
4627
4627
|
id: { default: null },
|
|
@@ -4774,7 +4774,7 @@ const nD = /* @__PURE__ */ G({
|
|
|
4774
4774
|
_: 1
|
|
4775
4775
|
}, 8, ["color"])) : N("", !0);
|
|
4776
4776
|
}
|
|
4777
|
-
}),
|
|
4777
|
+
}), Au = (t) => "" + t, bp = ["data-cy"], $r = /* @__PURE__ */ G({
|
|
4778
4778
|
__name: "ACopyText",
|
|
4779
4779
|
props: {
|
|
4780
4780
|
value: {},
|
|
@@ -4783,7 +4783,7 @@ const nD = /* @__PURE__ */ G({
|
|
|
4783
4783
|
},
|
|
4784
4784
|
setup(t) {
|
|
4785
4785
|
const a = t, { copy: e, isSupported: s } = Dd(), { showSuccess: i } = He(), { t: r } = ee(), o = (l) => {
|
|
4786
|
-
ga(l), s && (ai(a.value) ? e(
|
|
4786
|
+
ga(l), s && (ai(a.value) ? e(Au(a.value)).then(() => {
|
|
4787
4787
|
i(r(a.notifyT));
|
|
4788
4788
|
}) : Bt(a.value) && a.value.length && e(a.value).then(() => {
|
|
4789
4789
|
i(r(a.notifyT));
|
|
@@ -4825,7 +4825,7 @@ const nD = /* @__PURE__ */ G({
|
|
|
4825
4825
|
}, xp = {
|
|
4826
4826
|
key: 1,
|
|
4827
4827
|
class: "anzu-icon-group"
|
|
4828
|
-
}, wp = { class: "anzu-icon-group__secondary-text" },
|
|
4828
|
+
}, wp = { class: "anzu-icon-group__secondary-text" }, yu = /* @__PURE__ */ G({
|
|
4829
4829
|
__name: "AIconGroup",
|
|
4830
4830
|
props: {
|
|
4831
4831
|
mainIcon: {},
|
|
@@ -4857,7 +4857,7 @@ const nD = /* @__PURE__ */ G({
|
|
|
4857
4857
|
}, null, 8, ["size", "icon"])
|
|
4858
4858
|
]));
|
|
4859
4859
|
}
|
|
4860
|
-
}),
|
|
4860
|
+
}), bu = /* @__PURE__ */ G({
|
|
4861
4861
|
__name: "AChipNoLink",
|
|
4862
4862
|
props: {
|
|
4863
4863
|
color: { default: void 0 },
|
|
@@ -4911,7 +4911,7 @@ const nD = /* @__PURE__ */ G({
|
|
|
4911
4911
|
}
|
|
4912
4912
|
}), Sp = K(/* @__PURE__ */ new Set());
|
|
4913
4913
|
function Dp(t, a = !1, e = void 0, s = void 0, i = !1) {
|
|
4914
|
-
const { collabSocket: r, collabRoomInfoState: o, collabFieldDataBufferState: l, collabFieldLocksState: n } = ao(), d =
|
|
4914
|
+
const { collabSocket: r, collabRoomInfoState: o, collabFieldDataBufferState: l, collabFieldLocksState: n } = ao(), d = Ud(), c = K(), u = K(), f = Zd(), Y = K(), v = K(), h = Wd(), F = K(), w = K(), g = Gd(), A = K(), X = K(), b = eu(), x = K(), T = K(), R = Jd(), H = K(), U = K(), D = Qd(), O = K(), M = K(), k = tu(), C = K(), y = K(), S = jd(), B = K(), j = K(), W = () => {
|
|
4915
4915
|
ve(u.value) && u.value();
|
|
4916
4916
|
}, J = (ce) => {
|
|
4917
4917
|
ce.room === t && ve(v.value) && v.value(ce.userId, ce.timestamp);
|
|
@@ -4976,7 +4976,7 @@ function Dp(t, a = !1, e = void 0, s = void 0, i = !1) {
|
|
|
4976
4976
|
}, $s = () => {
|
|
4977
4977
|
var ce;
|
|
4978
4978
|
!Oe.value.enabled || z(r.value) || (ce = r.value) == null || ce.emit("enteredCollabRoom", t);
|
|
4979
|
-
},
|
|
4979
|
+
}, vi = () => new Promise((ce, zt) => {
|
|
4980
4980
|
var St;
|
|
4981
4981
|
if (!Oe.value.enabled || z(r.value))
|
|
4982
4982
|
return zt(yr.Failed);
|
|
@@ -5028,7 +5028,7 @@ function Dp(t, a = !1, e = void 0, s = void 0, i = !1) {
|
|
|
5028
5028
|
unsubscribeCollabRoomInfo: _e,
|
|
5029
5029
|
joinCollabRoom: mt,
|
|
5030
5030
|
leaveCollabRoom: Ta,
|
|
5031
|
-
requestToJoinCollabRoom:
|
|
5031
|
+
requestToJoinCollabRoom: vi,
|
|
5032
5032
|
approveRequestToJoinCollabRoom: Wa,
|
|
5033
5033
|
rejectRequestToJoinCollabRoom: Fs,
|
|
5034
5034
|
addJoinRequestListener: ne,
|
|
@@ -5089,7 +5089,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
5089
5089
|
transferModeration: F,
|
|
5090
5090
|
alertedOccupiedRooms: w
|
|
5091
5091
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
5092
|
-
} = Dp(a.collabRoom), { t: g } = ee(), { showErrorT: A, showSuccessT: X } = He(), { currentUserId: b } =
|
|
5092
|
+
} = Dp(a.collabRoom), { t: g } = ee(), { showErrorT: A, showSuccessT: X } = He(), { currentUserId: b } = iu(), x = K([]), T = K([]), R = _(() => e.value.users.filter((ie) => ie !== b.value)), H = K(!1), U = K(!1), D = K(null), O = K(null), M = K(!1);
|
|
5093
5093
|
s(async (ie, Ae) => {
|
|
5094
5094
|
ve(a.addToCachedUsers) && a.addToCachedUsers(ie), ve(a.fetchCachedUsers) && a.fetchCachedUsers(), T.value.includes(ie) || T.value.push(ie), x.value.push({ userId: ie, timestamp: Ae });
|
|
5095
5095
|
}), l(() => {
|
|
@@ -5161,7 +5161,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
5161
5161
|
key: _e,
|
|
5162
5162
|
users: ie.cachedUsers
|
|
5163
5163
|
}, null, 8, ["id", "users"]))), 128)),
|
|
5164
|
-
m(
|
|
5164
|
+
m(Mi, {
|
|
5165
5165
|
class: "mx-2",
|
|
5166
5166
|
inset: "",
|
|
5167
5167
|
vertical: ""
|
|
@@ -5250,7 +5250,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
5250
5250
|
}, null, 8, ["seconds", "label", "onDone"])
|
|
5251
5251
|
]),
|
|
5252
5252
|
append: V(({ isActive: mt, select: Ta }) => [
|
|
5253
|
-
m(
|
|
5253
|
+
m(Ri, {
|
|
5254
5254
|
"model-value": mt,
|
|
5255
5255
|
color: "primary",
|
|
5256
5256
|
onClick: () => Ta(mt)
|
|
@@ -5918,7 +5918,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
5918
5918
|
onClick: Z(s, ["stop"])
|
|
5919
5919
|
}, {
|
|
5920
5920
|
default: V(() => [
|
|
5921
|
-
m(
|
|
5921
|
+
m(yu, {
|
|
5922
5922
|
"main-icon": "mdi-content-save",
|
|
5923
5923
|
"secondary-icon": "mdi-close"
|
|
5924
5924
|
}),
|
|
@@ -6018,7 +6018,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
6018
6018
|
},
|
|
6019
6019
|
setup(t) {
|
|
6020
6020
|
const a = t, { t: e } = ee(), { copy: s, isSupported: i } = Dd(), { showSuccess: r } = He(), o = (l) => {
|
|
6021
|
-
ga(l), ai(a.id) && a.id > 0 ? s(
|
|
6021
|
+
ga(l), ai(a.id) && a.id > 0 ? s(Au(a.id)).then(() => {
|
|
6022
6022
|
r(e(a.notifyT));
|
|
6023
6023
|
}) : Bt(a.id) && a.id.length && s(a.id).then(() => {
|
|
6024
6024
|
r(e(a.notifyT));
|
|
@@ -6034,7 +6034,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
6034
6034
|
onClick: Z(o, ["stop"])
|
|
6035
6035
|
}, {
|
|
6036
6036
|
default: V(() => [
|
|
6037
|
-
m(
|
|
6037
|
+
m(yu, {
|
|
6038
6038
|
"secondary-text": p(e)(l.iconT),
|
|
6039
6039
|
"main-icon": "mdi-content-copy",
|
|
6040
6040
|
size: "small"
|
|
@@ -6203,7 +6203,7 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
6203
6203
|
_: 3
|
|
6204
6204
|
}, 8, ["variant", "data-cy", "loading", "disabled", "size", "rounded", "color"]),
|
|
6205
6205
|
$p,
|
|
6206
|
-
n.variant === "tertiary" ? (q(), E(
|
|
6206
|
+
n.variant === "tertiary" ? (q(), E(Mi, {
|
|
6207
6207
|
key: 0,
|
|
6208
6208
|
vertical: "",
|
|
6209
6209
|
class: "my-2 border-opacity-50",
|
|
@@ -6243,54 +6243,54 @@ const Kp = { class: "ml-3" }, Tp = { class: "ml-1" }, lD = /* @__PURE__ */ G({
|
|
|
6243
6243
|
], 2));
|
|
6244
6244
|
}
|
|
6245
6245
|
});
|
|
6246
|
-
var
|
|
6246
|
+
var xi = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(xi || {}), Bp = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Bp || {});
|
|
6247
6247
|
const Fn = Kd(
|
|
6248
6248
|
"theme",
|
|
6249
6249
|
"light"
|
|
6250
6250
|
/* Light */
|
|
6251
|
-
),
|
|
6252
|
-
Object.values(
|
|
6251
|
+
), Cu = "(prefers-color-scheme: dark)", Br = K(
|
|
6252
|
+
Object.values(xi).some((t) => t === Fn.value) ? Fn.value : "light"
|
|
6253
6253
|
/* Light */
|
|
6254
|
-
),
|
|
6254
|
+
), wi = K(
|
|
6255
6255
|
"light"
|
|
6256
6256
|
/* Light */
|
|
6257
|
-
),
|
|
6257
|
+
), xu = K(window.matchMedia && window.matchMedia(Cu).matches), ki = () => {
|
|
6258
6258
|
switch (Br.value) {
|
|
6259
6259
|
case "auto":
|
|
6260
|
-
|
|
6260
|
+
wi.value = xu.value ? "dark" : "light";
|
|
6261
6261
|
break;
|
|
6262
6262
|
case "light":
|
|
6263
|
-
|
|
6263
|
+
wi.value = "light";
|
|
6264
6264
|
break;
|
|
6265
6265
|
case "dark":
|
|
6266
|
-
|
|
6266
|
+
wi.value = "dark";
|
|
6267
6267
|
break;
|
|
6268
6268
|
}
|
|
6269
6269
|
};
|
|
6270
|
-
|
|
6270
|
+
ki();
|
|
6271
6271
|
const Ko = (t) => {
|
|
6272
6272
|
Br.value = t, Fn.value = t;
|
|
6273
6273
|
};
|
|
6274
|
-
window.matchMedia(
|
|
6275
|
-
|
|
6274
|
+
window.matchMedia(Cu).addEventListener("change", (t) => {
|
|
6275
|
+
xu.value = t.matches, ki();
|
|
6276
6276
|
});
|
|
6277
|
-
const Pp = _(() =>
|
|
6277
|
+
const Pp = _(() => wi.value === "light" ? "white" : "#1A1A1A");
|
|
6278
6278
|
function Ui() {
|
|
6279
6279
|
const t = () => {
|
|
6280
6280
|
Ko(
|
|
6281
6281
|
"auto"
|
|
6282
6282
|
/* Auto */
|
|
6283
|
-
),
|
|
6283
|
+
), ki();
|
|
6284
6284
|
}, a = () => {
|
|
6285
6285
|
Ko(
|
|
6286
6286
|
"dark"
|
|
6287
6287
|
/* Dark */
|
|
6288
|
-
),
|
|
6288
|
+
), ki();
|
|
6289
6289
|
}, e = () => {
|
|
6290
6290
|
Ko(
|
|
6291
6291
|
"light"
|
|
6292
6292
|
/* Light */
|
|
6293
|
-
),
|
|
6293
|
+
), ki();
|
|
6294
6294
|
}, s = () => {
|
|
6295
6295
|
switch (Br.value) {
|
|
6296
6296
|
case "light":
|
|
@@ -6306,7 +6306,7 @@ function Ui() {
|
|
|
6306
6306
|
};
|
|
6307
6307
|
return {
|
|
6308
6308
|
settings: ws(Br),
|
|
6309
|
-
theme: ws(
|
|
6309
|
+
theme: ws(wi),
|
|
6310
6310
|
toolbarColor: ws(Pp),
|
|
6311
6311
|
toggleTheme: s,
|
|
6312
6312
|
setThemeAuto: t,
|
|
@@ -6332,21 +6332,21 @@ const Op = { key: 0 }, Rp = { key: 1 }, zp = { key: 2 }, FD = /* @__PURE__ */ G(
|
|
|
6332
6332
|
"data-cy": "settings-theme"
|
|
6333
6333
|
}), {
|
|
6334
6334
|
default: V(() => [
|
|
6335
|
-
p(i) === p(
|
|
6335
|
+
p(i) === p(xi).Auto ? (q(), P("div", Op, [
|
|
6336
6336
|
m(re, {
|
|
6337
6337
|
class: "mr-1",
|
|
6338
6338
|
icon: "mdi-brightness-auto",
|
|
6339
6339
|
size: 32
|
|
6340
6340
|
}),
|
|
6341
6341
|
$(I(p(r)("common.system.theme.auto")), 1)
|
|
6342
|
-
])) : p(i) === p(
|
|
6342
|
+
])) : p(i) === p(xi).Light ? (q(), P("div", Rp, [
|
|
6343
6343
|
m(re, {
|
|
6344
6344
|
class: "mr-1",
|
|
6345
6345
|
icon: "mdi-brightness-7",
|
|
6346
6346
|
size: 32
|
|
6347
6347
|
}),
|
|
6348
6348
|
$(I(p(r)("common.system.theme.light")), 1)
|
|
6349
|
-
])) : p(i) === p(
|
|
6349
|
+
])) : p(i) === p(xi).Dark ? (q(), P("div", zp, [
|
|
6350
6350
|
m(re, {
|
|
6351
6351
|
class: "mr-1",
|
|
6352
6352
|
icon: "mdi-brightness-4",
|
|
@@ -6516,7 +6516,7 @@ const nv = /* @__PURE__ */ Ua(av, [["render", ov]]), lv = { class: "flag" }, Dl
|
|
|
6516
6516
|
},
|
|
6517
6517
|
emits: ["afterChange"],
|
|
6518
6518
|
setup(t, { emit: a }) {
|
|
6519
|
-
const e = t, s = a, { useCurrentUser: i } = lo(e.system), { currentUser: r } = i(e.system), o = st(
|
|
6519
|
+
const e = t, s = a, { useCurrentUser: i } = lo(e.system), { currentUser: r } = i(e.system), o = st(Ld), l = st(Nd), { setLanguage: n } = Lp(o, l), { currentLanguageCode: d } = Np(), c = (Y) => {
|
|
6520
6520
|
n(Y) && s("afterChange", Y);
|
|
6521
6521
|
}, u = _(() => {
|
|
6522
6522
|
const Y = Cr.find((v) => v.code === d.value);
|
|
@@ -6524,7 +6524,7 @@ const nv = /* @__PURE__ */ Ua(av, [["render", ov]]), lv = { class: "flag" }, Dl
|
|
|
6524
6524
|
}), f = _(() => Cr.filter(
|
|
6525
6525
|
(Y) => {
|
|
6526
6526
|
var v;
|
|
6527
|
-
return (o.includes(Y.code) || Y.code === "xx") && (!Y.adminOnly || ((v = r.value) == null ? void 0 : v.roles.includes(
|
|
6527
|
+
return (o.includes(Y.code) || Y.code === "xx") && (!Y.adminOnly || ((v = r.value) == null ? void 0 : v.roles.includes(Yu)));
|
|
6528
6528
|
}
|
|
6529
6529
|
));
|
|
6530
6530
|
return (Y, v) => (q(), E(la, null, {
|
|
@@ -6649,12 +6649,12 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
6649
6649
|
}
|
|
6650
6650
|
console.log("There was an error in new version fetch", o);
|
|
6651
6651
|
}
|
|
6652
|
-
}, i = _(() => uv), { pause: r } =
|
|
6652
|
+
}, i = _(() => uv), { pause: r } = vm(() => {
|
|
6653
6653
|
s();
|
|
6654
6654
|
}, a.checkInterval);
|
|
6655
6655
|
return Zr(() => {
|
|
6656
6656
|
r();
|
|
6657
|
-
}), (o, l) => e.value ? (q(), E(
|
|
6657
|
+
}), (o, l) => e.value ? (q(), E(Bm, {
|
|
6658
6658
|
key: 0,
|
|
6659
6659
|
height: "24",
|
|
6660
6660
|
color: "orange accent-3",
|
|
@@ -6730,7 +6730,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
6730
6730
|
default: V(() => [
|
|
6731
6731
|
m(ze, null, {
|
|
6732
6732
|
default: V(() => [
|
|
6733
|
-
m(
|
|
6733
|
+
m(Pm, {
|
|
6734
6734
|
"model-value": n.value,
|
|
6735
6735
|
swatches: i,
|
|
6736
6736
|
class: "a-color-picker--hide-controls",
|
|
@@ -6807,7 +6807,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
6807
6807
|
]),
|
|
6808
6808
|
_: 1
|
|
6809
6809
|
}),
|
|
6810
|
-
m(
|
|
6810
|
+
m(ym, null, {
|
|
6811
6811
|
default: V(() => [
|
|
6812
6812
|
$(I(s.currentUser.email), 1),
|
|
6813
6813
|
Vv,
|
|
@@ -6818,7 +6818,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
6818
6818
|
]),
|
|
6819
6819
|
_: 1
|
|
6820
6820
|
}),
|
|
6821
|
-
m(
|
|
6821
|
+
m(Mi),
|
|
6822
6822
|
m(Je, {
|
|
6823
6823
|
active: !1,
|
|
6824
6824
|
"prepend-icon": "mdi-cog",
|
|
@@ -6926,7 +6926,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
6926
6926
|
}), pv = {
|
|
6927
6927
|
key: 0,
|
|
6928
6928
|
class: "required"
|
|
6929
|
-
},
|
|
6929
|
+
}, wu = /* @__PURE__ */ G({
|
|
6930
6930
|
__name: "AFormRemoteAutocompleteWithCached",
|
|
6931
6931
|
props: {
|
|
6932
6932
|
modelValue: {},
|
|
@@ -6955,7 +6955,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
6955
6955
|
set(k) {
|
|
6956
6956
|
s("update:modelValue", xe(k));
|
|
6957
6957
|
}
|
|
6958
|
-
}), { t: n } = ee(), d = st(ka, void 0), c = st(Ia, void 0), u = K(!1), f = K(""), Y = K(!1), { innerFilter: v } =
|
|
6958
|
+
}), { t: n } = ee(), d = st(ka, void 0), c = st(Ia, void 0), u = K(!1), f = K(""), Y = K(!1), { innerFilter: v } = oi(e), h = Ts(e.filterSortBy), F = K(/* @__PURE__ */ new Map()), w = () => {
|
|
6959
6959
|
u.value = !0, s("focus", l.value);
|
|
6960
6960
|
}, g = () => {
|
|
6961
6961
|
var k;
|
|
@@ -7019,7 +7019,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
7019
7019
|
await U(y), y.size > 0 && (r(Array.from(y)), i());
|
|
7020
7020
|
},
|
|
7021
7021
|
{ immediate: !0 }
|
|
7022
|
-
), (k, C) => (q(), E(
|
|
7022
|
+
), (k, C) => (q(), E(zi, {
|
|
7023
7023
|
modelValue: l.value,
|
|
7024
7024
|
"onUpdate:modelValue": C[0] || (C[0] = (y) => l.value = y),
|
|
7025
7025
|
search: f.value,
|
|
@@ -7183,7 +7183,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
7183
7183
|
])
|
|
7184
7184
|
]));
|
|
7185
7185
|
}
|
|
7186
|
-
}),
|
|
7186
|
+
}), ku = () => {
|
|
7187
7187
|
const { t } = ee(), a = _(() => ({
|
|
7188
7188
|
0: t("common.job.meta.priority.low"),
|
|
7189
7189
|
1: t("common.job.meta.priority.medium"),
|
|
@@ -7211,8 +7211,8 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
7211
7211
|
priority: {}
|
|
7212
7212
|
},
|
|
7213
7213
|
setup(t) {
|
|
7214
|
-
const a = t, { getPriorityLabel: e, getPriorityColor: s } =
|
|
7215
|
-
return (o, l) => (q(), E(
|
|
7214
|
+
const a = t, { getPriorityLabel: e, getPriorityColor: s } = ku(), i = _(() => s(a.priority)), r = _(() => e(a.priority));
|
|
7215
|
+
return (o, l) => (q(), E(bu, { color: i.value }, {
|
|
7216
7216
|
default: V(() => [
|
|
7217
7217
|
$(I(r.value), 1)
|
|
7218
7218
|
]),
|
|
@@ -7306,7 +7306,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
7306
7306
|
},
|
|
7307
7307
|
emits: ["update:modelValue"],
|
|
7308
7308
|
setup(t) {
|
|
7309
|
-
const a = Fa(t, "modelValue"), { priorityLabels: e, getPriorityColor: s } =
|
|
7309
|
+
const a = Fa(t, "modelValue"), { priorityLabels: e, getPriorityColor: s } = ku(), i = _(() => s(a.value.priority)), { t: r } = ee();
|
|
7310
7310
|
return (o, l) => (q(), P(Fe, null, [
|
|
7311
7311
|
m(Ze, null, {
|
|
7312
7312
|
default: V(() => [
|
|
@@ -7320,7 +7320,7 @@ const cv = { class: "text-center w-100 text-caption pb-1" }, qD = /* @__PURE__ *
|
|
|
7320
7320
|
}),
|
|
7321
7321
|
m(Ze, null, {
|
|
7322
7322
|
default: V(() => [
|
|
7323
|
-
m(
|
|
7323
|
+
m(Om, {
|
|
7324
7324
|
modelValue: a.value.priority,
|
|
7325
7325
|
"onUpdate:modelValue": l[1] || (l[1] = (n) => a.value.priority = n),
|
|
7326
7326
|
ticks: p(e),
|
|
@@ -7350,7 +7350,7 @@ const Sv = (t) => {
|
|
|
7350
7350
|
default:
|
|
7351
7351
|
return "image";
|
|
7352
7352
|
}
|
|
7353
|
-
}, De =
|
|
7353
|
+
}, De = di("common", "assetSelect"), Dv = oa({
|
|
7354
7354
|
_elastic: {
|
|
7355
7355
|
...De({ exclude: !0 })
|
|
7356
7356
|
},
|
|
@@ -7480,7 +7480,7 @@ const Tv = (t) => {
|
|
|
7480
7480
|
default:
|
|
7481
7481
|
return "mainFileId";
|
|
7482
7482
|
}
|
|
7483
|
-
}, uo =
|
|
7483
|
+
}, uo = li("commonAdminCoreDamAssetSelectStore", () => {
|
|
7484
7484
|
const t = K([]), a = K(!1), e = K(0), s = K([]), i = K(qe.Default), r = K(/* @__PURE__ */ new Map()), o = K(!1), l = K(0), n = K(0);
|
|
7485
7485
|
function d() {
|
|
7486
7486
|
a.value = !0;
|
|
@@ -7628,7 +7628,7 @@ function nt(t = "default") {
|
|
|
7628
7628
|
damClient: Aa.value.configs[t].damClient
|
|
7629
7629
|
};
|
|
7630
7630
|
}
|
|
7631
|
-
function
|
|
7631
|
+
function Iu() {
|
|
7632
7632
|
if (z(Aa.value) || z(Aa.value.configs))
|
|
7633
7633
|
throw new Error("Composable can't be used without properly configured common admin.");
|
|
7634
7634
|
return {
|
|
@@ -7677,7 +7677,7 @@ function co() {
|
|
|
7677
7677
|
queryBuild: () => "?" + t.value.join("&")
|
|
7678
7678
|
};
|
|
7679
7679
|
}
|
|
7680
|
-
const
|
|
7680
|
+
const _u = (t) => Ni(t) && Object.hasOwn(t, "totalCount"), Su = (t) => Ni(t) && Object.hasOwn(t, "hasNextPage"), Mv = (t, a) => {
|
|
7681
7681
|
const { querySetLimit: e, querySetOffset: s, querySetOrder: i, queryBuild: r, querySetFilters: o } = co();
|
|
7682
7682
|
return e(t.rowsPerPage), s(t.page, t.rowsPerPage), i(t.sortBy, t.descending), o(a), r();
|
|
7683
7683
|
}, ja = (t, a, e = {}, s, i, r, o, l = {}) => new Promise((n, d) => {
|
|
@@ -7690,14 +7690,14 @@ const Iu = (t) => Li(t) && Object.hasOwn(t, "totalCount"), _u = (t) => Li(t) &&
|
|
|
7690
7690
|
return d(new La(u.status));
|
|
7691
7691
|
if (u.data) {
|
|
7692
7692
|
const f = u.data;
|
|
7693
|
-
return
|
|
7693
|
+
return Su(f) ? s.hasNextPage = u.data.hasNextPage : _u(f) && (s.totalCount = f.totalCount), s.currentViewCount = u.data.data.length, n(u.data.data);
|
|
7694
7694
|
}
|
|
7695
7695
|
return u.status === Ra ? n([]) : d(new yt());
|
|
7696
7696
|
}).catch((u) => za(u) ? d(new _a(u)) : Sa(u) ? d(new Da(u, r, o, u)) : Na(u) ? d(new Ka(u, u)) : d(new yt(u)));
|
|
7697
|
-
}),
|
|
7698
|
-
var zv = /* @__PURE__ */ ((t) => (t.None = "none", t.AtLeastOne = "at_least_one", t.OneFromType = "one_from_type", t.WaitForAll = "wait_for_all", t.Default = "none", t))(zv || {}), Lv = /* @__PURE__ */ ((t) => (t.Youtube = "youtubeDistribution", t.Jw = "jwDistribution", t.Custom = "customDistribution", t))(Lv || {}), Nv = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Distributing = "distributing", t.RemoteProcessing = "remote_processing", t.Distributed = "distributed", t.Failed = "failed", t.Default = "waiting", t))(Nv || {}),
|
|
7697
|
+
}), Du = "/adm/v1/configuration", $v = "/pub", Bv = $v + "/v1/configuration", Un = "settings", Pv = (t) => Rt(t, Bv, {}, Be, Un), Ov = (t) => Rt(t, Du, {}, Be, Un), Rv = (t, a) => Rt(a, Du + "/ext-system/" + t, {}, Be, Un);
|
|
7698
|
+
var zv = /* @__PURE__ */ ((t) => (t.None = "none", t.AtLeastOne = "at_least_one", t.OneFromType = "one_from_type", t.WaitForAll = "wait_for_all", t.Default = "none", t))(zv || {}), Lv = /* @__PURE__ */ ((t) => (t.Youtube = "youtubeDistribution", t.Jw = "jwDistribution", t.Custom = "customDistribution", t))(Lv || {}), Nv = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Distributing = "distributing", t.RemoteProcessing = "remote_processing", t.Distributed = "distributed", t.Failed = "failed", t.Default = "waiting", t))(Nv || {}), Ku = /* @__PURE__ */ ((t) => (t.JsonCredentials = "json_credentials", t.OAuth2 = "oauth2", t.Default = "json_credentials", t))(Ku || {});
|
|
7699
7699
|
const Kl = () => ({
|
|
7700
|
-
userAuthType:
|
|
7700
|
+
userAuthType: Ku.JsonCredentials
|
|
7701
7701
|
}), Tl = () => ({
|
|
7702
7702
|
colorSet: {},
|
|
7703
7703
|
assetExternalProviders: {},
|
|
@@ -7715,7 +7715,7 @@ const Kl = () => ({
|
|
|
7715
7715
|
},
|
|
7716
7716
|
maxBulkItemCount: 0
|
|
7717
7717
|
}
|
|
7718
|
-
}), Es =
|
|
7718
|
+
}), Es = li("commonAdminDamConfigStore", () => {
|
|
7719
7719
|
const t = oa({
|
|
7720
7720
|
damPubConfig: !1,
|
|
7721
7721
|
damPrvConfig: !1
|
|
@@ -7737,18 +7737,18 @@ const Kl = () => ({
|
|
|
7737
7737
|
damConfigDistributionCustomFormElements: o,
|
|
7738
7738
|
reset: l
|
|
7739
7739
|
};
|
|
7740
|
-
}),
|
|
7740
|
+
}), Tu = "/adm/v1/asset-custom-form", Eu = "assetCustomForm", nr = (t, a, e) => Rt(
|
|
7741
7741
|
t,
|
|
7742
|
-
|
|
7742
|
+
Tu + "/ext-system/:extSystem/type/:assetType/element?order[position]=asc&limit=100",
|
|
7743
7743
|
{ extSystem: a, assetType: e },
|
|
7744
7744
|
Be,
|
|
7745
|
-
|
|
7745
|
+
Eu
|
|
7746
7746
|
), Uv = (t, a) => Rt(
|
|
7747
7747
|
t,
|
|
7748
|
-
|
|
7748
|
+
Tu + "/distribution-service/:distributionService/element?order[position]=asc&limit=100",
|
|
7749
7749
|
{ distributionService: a },
|
|
7750
7750
|
Be,
|
|
7751
|
-
|
|
7751
|
+
Eu
|
|
7752
7752
|
), jv = "/adm/v1/asset-licence", jn = (t, a) => Rt(t, jv + "/:id", { id: a }, "coreDam", "assetLicence");
|
|
7753
7753
|
function Jt(t = void 0) {
|
|
7754
7754
|
const a = Es();
|
|
@@ -7949,15 +7949,15 @@ function Jt(t = void 0) {
|
|
|
7949
7949
|
getDamConfigAssetCustomFormElements: h
|
|
7950
7950
|
};
|
|
7951
7951
|
}
|
|
7952
|
-
const
|
|
7952
|
+
const ci = "/adm/v1/asset", To = 10, mo = "asset", Be = "coreDam", Pr = "dam", Eo = 25, El = (t, a, e, s) => ja(
|
|
7953
7953
|
t,
|
|
7954
|
-
|
|
7954
|
+
ci + "/licence/:licenceId",
|
|
7955
7955
|
{ licenceId: a },
|
|
7956
7956
|
e,
|
|
7957
7957
|
s,
|
|
7958
7958
|
Be,
|
|
7959
7959
|
mo
|
|
7960
|
-
), rs = (t, a) => Rt(t,
|
|
7960
|
+
), rs = (t, a) => Rt(t, ci + "/:id", { id: a }, Be, mo), fo = (t, a) => Rt(t, ci + "/asset-file/:id", { id: a }, Be, mo), Or = (t, a) => new Promise((e, s) => {
|
|
7961
7961
|
const i = Zv(a);
|
|
7962
7962
|
Gv(t, i).then((r) => {
|
|
7963
7963
|
if (i.length === 0)
|
|
@@ -7975,7 +7975,7 @@ async function Hv(t, a, e) {
|
|
|
7975
7975
|
if (a.length === 0) return Promise.resolve([]);
|
|
7976
7976
|
const s = Math.ceil(a.length / Eo), i = [];
|
|
7977
7977
|
for (let r = 0; r < s; r++) {
|
|
7978
|
-
const o = r * Eo, l = a.slice(o, o + Eo), n = await t().get(
|
|
7978
|
+
const o = r * Eo, l = a.slice(o, o + Eo), n = await t().get(ci + `/licence/${e}/ids/${l.join(",")}`);
|
|
7979
7979
|
i.push(n);
|
|
7980
7980
|
}
|
|
7981
7981
|
return i;
|
|
@@ -8001,7 +8001,7 @@ async function Gv(t, a) {
|
|
|
8001
8001
|
const e = Math.ceil(a.length / To), s = [];
|
|
8002
8002
|
if (a.length === 0) return Promise.resolve([]);
|
|
8003
8003
|
for (let i = 0; i < e; i++) {
|
|
8004
|
-
const r = i * To, o = a.slice(r, r + To), l = await t().patch(
|
|
8004
|
+
const r = i * To, o = a.slice(r, r + To), l = await t().patch(ci + "/metadata-bulk-update", JSON.stringify(o));
|
|
8005
8005
|
s.push(l);
|
|
8006
8006
|
}
|
|
8007
8007
|
return s;
|
|
@@ -8044,16 +8044,16 @@ const { showUnknownError: Jv, showApiValidationError: Qv } = He(), eh = (t, a, e
|
|
|
8044
8044
|
described: !0,
|
|
8045
8045
|
customData: a.metadata.customData
|
|
8046
8046
|
};
|
|
8047
|
-
t().patch(
|
|
8047
|
+
t().patch(ci + "/metadata-bulk-update", JSON.stringify([r])).then((o) => {
|
|
8048
8048
|
o.status === Ks ? s(o.data) : i();
|
|
8049
8049
|
}).catch((o) => za(o) ? i(new _a(o)) : Sa(o) ? (eh(o, a.attributes.assetType, e), i(new Da(o, Be, mo, o))) : Na(o) ? i(new Ka(o, o)) : i(new yt(o)));
|
|
8050
|
-
}),
|
|
8051
|
-
function
|
|
8052
|
-
const { damClient: a } = nt(t), e = uo(), { selectedCount: s, selectedAssets: i, assetListItems: r, loader: o } = _t(e), { resetFilter: l } =
|
|
8050
|
+
}), hi = Kv(), gs = Ts(), Mo = K(!1);
|
|
8051
|
+
function mi(t = "default") {
|
|
8052
|
+
const { damClient: a } = nt(t), e = uo(), { selectedCount: s, selectedAssets: i, assetListItems: r, loader: o } = _t(e), { resetFilter: l } = ui(), { showErrorsDefault: n } = He(), d = async () => {
|
|
8053
8053
|
gs.page = 1;
|
|
8054
8054
|
try {
|
|
8055
8055
|
e.showLoader(), e.setList(
|
|
8056
|
-
await El(a, e.selectedLicenceId, gs,
|
|
8056
|
+
await El(a, e.selectedLicenceId, gs, hi)
|
|
8057
8057
|
);
|
|
8058
8058
|
} catch (F) {
|
|
8059
8059
|
n(F);
|
|
@@ -8064,7 +8064,7 @@ function ci(t = "default") {
|
|
|
8064
8064
|
gs.page = gs.page + 1;
|
|
8065
8065
|
try {
|
|
8066
8066
|
e.showLoader(), e.appendList(
|
|
8067
|
-
await El(a, e.selectedLicenceId, gs,
|
|
8067
|
+
await El(a, e.selectedLicenceId, gs, hi)
|
|
8068
8068
|
);
|
|
8069
8069
|
} catch (F) {
|
|
8070
8070
|
n(F);
|
|
@@ -8074,7 +8074,7 @@ function ci(t = "default") {
|
|
|
8074
8074
|
}, u = (F) => {
|
|
8075
8075
|
e.toggleSelectedByIndex(F.index);
|
|
8076
8076
|
}, f = async () => {
|
|
8077
|
-
e.reset(),
|
|
8077
|
+
e.reset(), hi.type.default = [e.assetType], l(hi, gs, d);
|
|
8078
8078
|
}, Y = () => {
|
|
8079
8079
|
Mo.value = !0;
|
|
8080
8080
|
}, v = () => {
|
|
@@ -8085,7 +8085,7 @@ function ci(t = "default") {
|
|
|
8085
8085
|
return {
|
|
8086
8086
|
damClient: a,
|
|
8087
8087
|
filterIsTouched: Mo,
|
|
8088
|
-
filter:
|
|
8088
|
+
filter: hi,
|
|
8089
8089
|
selectedCount: s,
|
|
8090
8090
|
selectedAssets: i,
|
|
8091
8091
|
pagination: gs,
|
|
@@ -8102,7 +8102,7 @@ function ci(t = "default") {
|
|
|
8102
8102
|
};
|
|
8103
8103
|
}
|
|
8104
8104
|
const Ml = 200, lr = "#ccc";
|
|
8105
|
-
function
|
|
8105
|
+
function Mu(t) {
|
|
8106
8106
|
const a = _(() => t.value.asset), e = _(() => a.value.attributes.assetType), s = _(() => a.value.attributes.assetStatus), i = _(() => a.value.mainFile && a.value.mainFile.links && a.value.mainFile.links.image_list ? {
|
|
8107
8107
|
url: a.value.mainFile.links.image_list.url,
|
|
8108
8108
|
width: a.value.mainFile.links.image_list.width,
|
|
@@ -8138,7 +8138,7 @@ const ks = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8138
8138
|
}, ih = {
|
|
8139
8139
|
key: 0,
|
|
8140
8140
|
class: "asset-image__icon-wrapper"
|
|
8141
|
-
},
|
|
8141
|
+
}, $u = /* @__PURE__ */ G({
|
|
8142
8142
|
__name: "AssetImagePreview",
|
|
8143
8143
|
props: {
|
|
8144
8144
|
src: { default: void 0 },
|
|
@@ -8233,7 +8233,7 @@ const ks = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8233
8233
|
},
|
|
8234
8234
|
emits: ["itemClick"],
|
|
8235
8235
|
setup(t, { emit: a }) {
|
|
8236
|
-
const e = t, s = a, { t: i } = ee(), r = Jr(e, "item"), { asset: o, tableImageProperties: l, assetType: n, assetStatus: d } =
|
|
8236
|
+
const e = t, s = a, { t: i } = ee(), r = Jr(e, "item"), { asset: o, tableImageProperties: l, assetType: n, assetStatus: d } = Mu(r), c = () => {
|
|
8237
8237
|
s("itemClick", { assetId: o.value.id, index: e.index });
|
|
8238
8238
|
};
|
|
8239
8239
|
return (u, f) => {
|
|
@@ -8254,7 +8254,7 @@ const ks = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8254
8254
|
}))
|
|
8255
8255
|
]),
|
|
8256
8256
|
L("td", null, [
|
|
8257
|
-
m(
|
|
8257
|
+
m($u, {
|
|
8258
8258
|
"asset-type": p(n),
|
|
8259
8259
|
"asset-status": p(d),
|
|
8260
8260
|
src: p(l).url,
|
|
@@ -8282,7 +8282,7 @@ const ks = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
8282
8282
|
}, ph = /* @__PURE__ */ G({
|
|
8283
8283
|
__name: "AssetSelectListTable",
|
|
8284
8284
|
setup(t) {
|
|
8285
|
-
const { t: a } = ee(), { onItemClick: e, assetListItems: s, loader: i } =
|
|
8285
|
+
const { t: a } = ee(), { onItemClick: e, assetListItems: s, loader: i } = mi();
|
|
8286
8286
|
return (r, o) => (q(), E(Pd, {
|
|
8287
8287
|
class: "a-datatable a-datatable--dialog-sticky-fix",
|
|
8288
8288
|
"fixed-header": ""
|
|
@@ -8329,7 +8329,7 @@ function Hn() {
|
|
|
8329
8329
|
};
|
|
8330
8330
|
}
|
|
8331
8331
|
const dr = K(!1);
|
|
8332
|
-
function
|
|
8332
|
+
function Bu() {
|
|
8333
8333
|
const t = () => {
|
|
8334
8334
|
dr.value ? e() : a();
|
|
8335
8335
|
}, a = () => {
|
|
@@ -8346,7 +8346,7 @@ function $u() {
|
|
|
8346
8346
|
const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class: "d-flex justify-space-between w-100 align-center" }, Fh = { class: "d-flex align-center" }, gh = { class: "d-flex align-center" }, qh = /* @__PURE__ */ G({
|
|
8347
8347
|
__name: "AssetSelectListBar",
|
|
8348
8348
|
setup(t) {
|
|
8349
|
-
const { t: a } = ee(), { setGridView: e } = Hn(), { toggleSidebar: s } =
|
|
8349
|
+
const { t: a } = ee(), { setGridView: e } = Hn(), { toggleSidebar: s } = Bu();
|
|
8350
8350
|
return (i, r) => (q(), E(fs, {
|
|
8351
8351
|
density: "compact",
|
|
8352
8352
|
color: "transparent",
|
|
@@ -8468,7 +8468,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8468
8468
|
setup(t, { emit: a }) {
|
|
8469
8469
|
const e = t, s = a, { t: i } = ee(), r = () => {
|
|
8470
8470
|
s("itemClick", { assetId: l.value.id, index: e.index });
|
|
8471
|
-
}, o = Jr(e, "item"), { asset: l, assetType: n, assetStatus: d, imageProperties: c } =
|
|
8471
|
+
}, o = Jr(e, "item"), { asset: l, assetType: n, assetStatus: d, imageProperties: c } = Mu(o);
|
|
8472
8472
|
return (u, f) => (q(), P("div", {
|
|
8473
8473
|
class: he(["asset-list-tiles__item asset-list-tiles__item--pointer", { "asset-list-tiles__item--selected": o.value.selected }]),
|
|
8474
8474
|
onClick: Z(r, ["stop", "exact"])
|
|
@@ -8483,7 +8483,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8483
8483
|
size: "x-small"
|
|
8484
8484
|
})
|
|
8485
8485
|
])) : N("", !0),
|
|
8486
|
-
m(
|
|
8486
|
+
m($u, {
|
|
8487
8487
|
"asset-type": p(n),
|
|
8488
8488
|
"asset-status": p(d),
|
|
8489
8489
|
src: p(c).url,
|
|
@@ -8508,7 +8508,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8508
8508
|
}, Ih = /* @__PURE__ */ G({
|
|
8509
8509
|
__name: "AssetSelectListTiles",
|
|
8510
8510
|
setup(t) {
|
|
8511
|
-
const { gridView: a } = Hn(), { onItemClick: e, assetListItems: s, loader: i } =
|
|
8511
|
+
const { gridView: a } = Hn(), { onItemClick: e, assetListItems: s, loader: i } = mi(), { t: r } = ee();
|
|
8512
8512
|
return (o, l) => (q(), P(Fe, null, [
|
|
8513
8513
|
L("div", {
|
|
8514
8514
|
class: he(["asset-list-tiles", "asset-list-tiles--" + p(a)])
|
|
@@ -8526,7 +8526,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8526
8526
|
}), _h = /* @__PURE__ */ G({
|
|
8527
8527
|
__name: "AssetSelectFilterFormImage",
|
|
8528
8528
|
setup(t) {
|
|
8529
|
-
const { filter: a, filterTouch: e, filterUnTouch: s, fetchAssetList: i } =
|
|
8529
|
+
const { filter: a, filterTouch: e, filterUnTouch: s, fetchAssetList: i } = mi(), r = () => {
|
|
8530
8530
|
e();
|
|
8531
8531
|
}, o = () => {
|
|
8532
8532
|
s(), i();
|
|
@@ -8536,7 +8536,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8536
8536
|
default: V(() => [
|
|
8537
8537
|
m(le, { cols: 12 }, {
|
|
8538
8538
|
default: V(() => [
|
|
8539
|
-
m(
|
|
8539
|
+
m(hu, {
|
|
8540
8540
|
modelValue: p(a).text,
|
|
8541
8541
|
"onUpdate:modelValue": [
|
|
8542
8542
|
n[0] || (n[0] = (d) => p(a).text = d),
|
|
@@ -8606,7 +8606,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8606
8606
|
}), Sh = /* @__PURE__ */ G({
|
|
8607
8607
|
__name: "AssetSelectFilterFormDefault",
|
|
8608
8608
|
setup(t) {
|
|
8609
|
-
const { filter: a, fetchAssetList: e, filterTouch: s, filterUnTouch: i } =
|
|
8609
|
+
const { filter: a, fetchAssetList: e, filterTouch: s, filterUnTouch: i } = mi(), r = () => {
|
|
8610
8610
|
i(), e();
|
|
8611
8611
|
}, o = () => {
|
|
8612
8612
|
s();
|
|
@@ -8615,7 +8615,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8615
8615
|
default: V(() => [
|
|
8616
8616
|
m(le, { cols: 12 }, {
|
|
8617
8617
|
default: V(() => [
|
|
8618
|
-
m(
|
|
8618
|
+
m(hu, {
|
|
8619
8619
|
modelValue: p(a).text,
|
|
8620
8620
|
"onUpdate:modelValue": [
|
|
8621
8621
|
n[0] || (n[0] = (d) => p(a).text = d),
|
|
@@ -8633,7 +8633,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8633
8633
|
}), Dh = { class: "subject-select-filter" }, Kh = { class: "subject-select-filter__content" }, Th = { class: "subject-select-filter__actions" }, Eh = /* @__PURE__ */ G({
|
|
8634
8634
|
__name: "AssetSelectFilter",
|
|
8635
8635
|
setup(t) {
|
|
8636
|
-
const { t: a } = ee(), { fetchAssetList: e, resetAssetList: s, filterUnTouch: i, filterIsTouched: r } =
|
|
8636
|
+
const { t: a } = ee(), { fetchAssetList: e, resetAssetList: s, filterUnTouch: i, filterIsTouched: r } = mi(), o = uo(), { selectedLicenceId: l, selectConfig: n } = _t(o), d = () => {
|
|
8637
8637
|
i(), e();
|
|
8638
8638
|
}, c = () => {
|
|
8639
8639
|
s(), i();
|
|
@@ -8663,7 +8663,7 @@ const vh = { class: "d-flex flex-column w-100 px-1 align-center" }, hh = { class
|
|
|
8663
8663
|
default: V(() => [
|
|
8664
8664
|
m(le, { cols: 12 }, {
|
|
8665
8665
|
default: V(() => [
|
|
8666
|
-
m(
|
|
8666
|
+
m(Li, {
|
|
8667
8667
|
modelValue: p(l),
|
|
8668
8668
|
"onUpdate:modelValue": Y[0] || (Y[0] = (v) => Ds(l) ? l.value = v : null),
|
|
8669
8669
|
label: p(a)("common.assetSelect.filter.licence"),
|
|
@@ -8735,7 +8735,7 @@ function Mh(t) {
|
|
|
8735
8735
|
o.includes(n.licence) && l.push(n);
|
|
8736
8736
|
}), l;
|
|
8737
8737
|
}
|
|
8738
|
-
function
|
|
8738
|
+
function Pu(t) {
|
|
8739
8739
|
const { useCurrentUser: a } = lo(Pr), { currentUser: e, isSuperAdmin: s } = a(Pr);
|
|
8740
8740
|
if (s.value) return !0;
|
|
8741
8741
|
const i = e.value;
|
|
@@ -8744,7 +8744,7 @@ function Bu(t) {
|
|
|
8744
8744
|
const $h = {
|
|
8745
8745
|
key: 0,
|
|
8746
8746
|
class: "w-100 d-flex align-center justify-center"
|
|
8747
|
-
}, Bh = { class: "subject-select__sidebar system-border-r" }, Ph = { class: "subject-select__content" }, Oh = { class: "d-flex w-100 align-center justify-center pa-4" }, Rh = { class: "subject-select__actions system-border-t" }, zh = { key: 0 }, Lh = { key: 1 }, Nh = { key: 2 },
|
|
8747
|
+
}, Bh = { class: "subject-select__sidebar system-border-r" }, Ph = { class: "subject-select__content" }, Oh = { class: "d-flex w-100 align-center justify-center pa-4" }, Rh = { class: "subject-select__actions system-border-t" }, zh = { key: 0 }, Lh = { key: 1 }, Nh = { key: 2 }, Ou = /* @__PURE__ */ G({
|
|
8748
8748
|
__name: "AAssetSelect",
|
|
8749
8749
|
props: /* @__PURE__ */ It({
|
|
8750
8750
|
assetType: {},
|
|
@@ -8769,7 +8769,7 @@ const $h = {
|
|
|
8769
8769
|
resetAssetList: Y,
|
|
8770
8770
|
getSelectedData: v,
|
|
8771
8771
|
initStoreContext: h
|
|
8772
|
-
} =
|
|
8772
|
+
} = mi(), { getOrLoadDamConfigExtSystemByLicences: F } = Jt(n), w = ft([]), { openSidebar: g, sidebarLeft: A } = Bu(), { showErrorT: X } = He(), b = () => {
|
|
8773
8773
|
let O = xe(w.value);
|
|
8774
8774
|
if (s.skipCurrentUserCheck || (O = Mh(w.value)), O.length === 0) {
|
|
8775
8775
|
X("common.assetSelect.error.unallowedLicence");
|
|
@@ -8975,15 +8975,15 @@ function $a(t) {
|
|
|
8975
8975
|
if (typeof window < "u" && window.navigator)
|
|
8976
8976
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
8977
8977
|
}
|
|
8978
|
-
var Ha = $a(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ji = $a(/Edge/i), Ol = $a(/firefox/i),
|
|
8978
|
+
var Ha = $a(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ji = $a(/Edge/i), Ol = $a(/firefox/i), Ii = $a(/safari/i) && !$a(/chrome/i) && !$a(/android/i), Ru = $a(/iP(ad|od|hone)/i), zu = $a(/chrome/i) && $a(/android/i), Lu = {
|
|
8979
8979
|
capture: !1,
|
|
8980
8980
|
passive: !1
|
|
8981
8981
|
};
|
|
8982
8982
|
function Re(t, a, e) {
|
|
8983
|
-
t.addEventListener(a, e, !Ha &&
|
|
8983
|
+
t.addEventListener(a, e, !Ha && Lu);
|
|
8984
8984
|
}
|
|
8985
8985
|
function Pe(t, a, e) {
|
|
8986
|
-
t.removeEventListener(a, e, !Ha &&
|
|
8986
|
+
t.removeEventListener(a, e, !Ha && Lu);
|
|
8987
8987
|
}
|
|
8988
8988
|
function Rr(t, a) {
|
|
8989
8989
|
if (a) {
|
|
@@ -9045,7 +9045,7 @@ function Gs(t, a) {
|
|
|
9045
9045
|
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
9046
9046
|
return i && new i(e);
|
|
9047
9047
|
}
|
|
9048
|
-
function
|
|
9048
|
+
function Nu(t, a, e) {
|
|
9049
9049
|
if (t) {
|
|
9050
9050
|
var s = t.getElementsByTagName(a), i = 0, r = s.length;
|
|
9051
9051
|
if (e)
|
|
@@ -9093,7 +9093,7 @@ function zl(t, a, e) {
|
|
|
9093
9093
|
}
|
|
9094
9094
|
return !1;
|
|
9095
9095
|
}
|
|
9096
|
-
function
|
|
9096
|
+
function ri(t, a, e, s) {
|
|
9097
9097
|
for (var i = 0, r = 0, o = t.children; r < o.length; ) {
|
|
9098
9098
|
if (o[r].style.display !== "none" && o[r] !== Ce.ghost && (s || o[r] !== Ce.dragged) && ha(o[r], e.draggable, t, !1)) {
|
|
9099
9099
|
if (i === a)
|
|
@@ -9158,28 +9158,28 @@ function Jh(t, a) {
|
|
|
9158
9158
|
function $o(t, a) {
|
|
9159
9159
|
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);
|
|
9160
9160
|
}
|
|
9161
|
-
var
|
|
9162
|
-
function
|
|
9161
|
+
var _i;
|
|
9162
|
+
function Uu(t, a) {
|
|
9163
9163
|
return function() {
|
|
9164
|
-
if (!
|
|
9164
|
+
if (!_i) {
|
|
9165
9165
|
var e = arguments, s = this;
|
|
9166
|
-
e.length === 1 ? t.call(s, e[0]) : t.apply(s, e),
|
|
9167
|
-
|
|
9166
|
+
e.length === 1 ? t.call(s, e[0]) : t.apply(s, e), _i = setTimeout(function() {
|
|
9167
|
+
_i = void 0;
|
|
9168
9168
|
}, a);
|
|
9169
9169
|
}
|
|
9170
9170
|
};
|
|
9171
9171
|
}
|
|
9172
9172
|
function Qh() {
|
|
9173
|
-
clearTimeout(
|
|
9173
|
+
clearTimeout(_i), _i = void 0;
|
|
9174
9174
|
}
|
|
9175
|
-
function
|
|
9175
|
+
function ju(t, a, e) {
|
|
9176
9176
|
t.scrollLeft += a, t.scrollTop += e;
|
|
9177
9177
|
}
|
|
9178
|
-
function
|
|
9178
|
+
function Hu(t) {
|
|
9179
9179
|
var a = window.Polymer, e = window.jQuery || window.Zepto;
|
|
9180
9180
|
return a && a.dom ? a.dom(t).cloneNode(!0) : e ? e(t).clone(!0)[0] : t.cloneNode(!0);
|
|
9181
9181
|
}
|
|
9182
|
-
function
|
|
9182
|
+
function Wu(t, a, e) {
|
|
9183
9183
|
var s = {};
|
|
9184
9184
|
return Array.from(t.children).forEach(function(i) {
|
|
9185
9185
|
var r, o, l, n;
|
|
@@ -9331,16 +9331,16 @@ var iF = ["evt"], Dt = function(a, e) {
|
|
|
9331
9331
|
lastDownEl: wr,
|
|
9332
9332
|
cloneEl: it,
|
|
9333
9333
|
cloneHidden: es,
|
|
9334
|
-
dragStarted:
|
|
9334
|
+
dragStarted: yi,
|
|
9335
9335
|
putSortable: Xt,
|
|
9336
9336
|
activeSortable: Ce.active,
|
|
9337
9337
|
originalEvent: i,
|
|
9338
9338
|
oldIndex: Ls,
|
|
9339
|
-
oldDraggableIndex:
|
|
9339
|
+
oldDraggableIndex: Si,
|
|
9340
9340
|
newIndex: Nt,
|
|
9341
9341
|
newDraggableIndex: Qa,
|
|
9342
|
-
hideGhostForTarget:
|
|
9343
|
-
unhideGhostForTarget:
|
|
9342
|
+
hideGhostForTarget: Qu,
|
|
9343
|
+
unhideGhostForTarget: ec,
|
|
9344
9344
|
cloneNowHidden: function() {
|
|
9345
9345
|
es = !0;
|
|
9346
9346
|
},
|
|
@@ -9363,20 +9363,20 @@ function wt(t) {
|
|
|
9363
9363
|
targetEl: oe,
|
|
9364
9364
|
rootEl: Qe,
|
|
9365
9365
|
oldIndex: Ls,
|
|
9366
|
-
oldDraggableIndex:
|
|
9366
|
+
oldDraggableIndex: Si,
|
|
9367
9367
|
newIndex: Nt,
|
|
9368
9368
|
newDraggableIndex: Qa
|
|
9369
9369
|
}, t));
|
|
9370
9370
|
}
|
|
9371
|
-
var oe, ot, Ie, Qe, xs, wr, it, es, Ls, Nt,
|
|
9371
|
+
var oe, ot, Ie, Qe, xs, wr, it, es, Ls, Nt, Si, Qa, ur, Xt, zs = !1, zr = !1, Lr = [], qs, pa, Po, Oo, Nl, Ul, yi, Os, Di, Ki = !1, cr = !1, kr, bt, Ro = [], gn = !1, Nr = [], po = typeof document < "u", mr = Ru, jl = ji || Ha ? "cssFloat" : "float", rF = po && !zu && !Ru && "draggable" in document.createElement("div"), Gu = function() {
|
|
9372
9372
|
if (po) {
|
|
9373
9373
|
if (Ha)
|
|
9374
9374
|
return !1;
|
|
9375
9375
|
var t = document.createElement("x");
|
|
9376
9376
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
9377
9377
|
}
|
|
9378
|
-
}(),
|
|
9379
|
-
var s = be(a), i = parseInt(s.width) - parseInt(s.paddingLeft) - parseInt(s.paddingRight) - parseInt(s.borderLeftWidth) - parseInt(s.borderRightWidth), r =
|
|
9378
|
+
}(), Zu = function(a, e) {
|
|
9379
|
+
var s = be(a), i = parseInt(s.width) - parseInt(s.paddingLeft) - parseInt(s.paddingRight) - parseInt(s.borderLeftWidth) - parseInt(s.borderRightWidth), r = ri(a, 0, e), o = ri(a, 1, e), l = r && be(r), n = o && be(o), d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + dt(r).width, c = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + dt(o).width;
|
|
9380
9380
|
if (s.display === "flex")
|
|
9381
9381
|
return s.flexDirection === "column" || s.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
9382
9382
|
if (s.display === "grid")
|
|
@@ -9399,7 +9399,7 @@ var oe, ot, Ie, Qe, xs, wr, it, es, Ls, Nt, _i, Qa, ur, Xt, zs = !1, zr = !1, Lr
|
|
|
9399
9399
|
return s = i;
|
|
9400
9400
|
}
|
|
9401
9401
|
}), s;
|
|
9402
|
-
},
|
|
9402
|
+
}, Ju = function(a) {
|
|
9403
9403
|
function e(r, o) {
|
|
9404
9404
|
return function(l, n, d, c) {
|
|
9405
9405
|
var u = l.options.group.name && n.options.group.name && l.options.group.name === n.options.group.name;
|
|
@@ -9419,12 +9419,12 @@ var oe, ot, Ie, Qe, xs, wr, it, es, Ls, Nt, _i, Qa, ur, Xt, zs = !1, zr = !1, Lr
|
|
|
9419
9419
|
(!i || xr(i) != "object") && (i = {
|
|
9420
9420
|
name: i
|
|
9421
9421
|
}), s.name = i.name, s.checkPull = e(i.pull, !0), s.checkPut = e(i.put), s.revertClone = i.revertClone, a.group = s;
|
|
9422
|
-
}, Ju = function() {
|
|
9423
|
-
!Wu && Ie && be(Ie, "display", "none");
|
|
9424
9422
|
}, Qu = function() {
|
|
9425
|
-
!
|
|
9423
|
+
!Gu && Ie && be(Ie, "display", "none");
|
|
9424
|
+
}, ec = function() {
|
|
9425
|
+
!Gu && Ie && be(Ie, "display", "");
|
|
9426
9426
|
};
|
|
9427
|
-
po && !
|
|
9427
|
+
po && !zu && document.addEventListener("click", function(t) {
|
|
9428
9428
|
if (zr)
|
|
9429
9429
|
return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), zr = !1, !1;
|
|
9430
9430
|
}, !0);
|
|
@@ -9461,7 +9461,7 @@ function Ce(t, a) {
|
|
|
9461
9461
|
// will be set to same as swapThreshold if default
|
|
9462
9462
|
removeCloneOnHide: !0,
|
|
9463
9463
|
direction: function() {
|
|
9464
|
-
return
|
|
9464
|
+
return Zu(t, this.options);
|
|
9465
9465
|
},
|
|
9466
9466
|
ghostClass: "sortable-ghost",
|
|
9467
9467
|
chosenClass: "sortable-chosen",
|
|
@@ -9488,13 +9488,13 @@ function Ce(t, a) {
|
|
|
9488
9488
|
x: 0,
|
|
9489
9489
|
y: 0
|
|
9490
9490
|
},
|
|
9491
|
-
supportPointer: Ce.supportPointer !== !1 && "PointerEvent" in window && !
|
|
9491
|
+
supportPointer: Ce.supportPointer !== !1 && "PointerEvent" in window && !Ii,
|
|
9492
9492
|
emptyInsertThreshold: 5
|
|
9493
9493
|
};
|
|
9494
9494
|
Hi.initializePlugins(this, t, e);
|
|
9495
9495
|
for (var s in e)
|
|
9496
9496
|
!(s in a) && (a[s] = e[s]);
|
|
9497
|
-
|
|
9497
|
+
Ju(a);
|
|
9498
9498
|
for (var i in this)
|
|
9499
9499
|
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
9500
9500
|
this.nativeDraggable = a.forceFallback ? !1 : rF, this.nativeDraggable && (this.options.touchStartThreshold = 1), a.supportPointer ? Re(t, "pointerdown", this._onTapStart) : (Re(t, "mousedown", this._onTapStart), Re(t, "touchstart", this._onTapStart)), this.nativeDraggable && (Re(t, "dragover", this), Re(t, "dragenter", this)), Lr.push(this.el), a.store && a.store.get && this.sort(a.store.get(this) || []), Ba(this, eF());
|
|
@@ -9511,8 +9511,8 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9511
9511
|
_onTapStart: function(a) {
|
|
9512
9512
|
if (a.cancelable) {
|
|
9513
9513
|
var e = this, s = this.el, i = this.options, r = i.preventOnFilter, o = a.type, l = a.touches && a.touches[0] || a.pointerType && a.pointerType === "touch" && a, n = (l || a).target, d = a.target.shadowRoot && (a.path && a.path[0] || a.composedPath && a.composedPath()[0]) || n, c = i.filter;
|
|
9514
|
-
if (vF(s), !oe && !(/mousedown|pointerdown/.test(o) && a.button !== 0 || i.disabled) && !d.isContentEditable && !(!this.nativeDraggable &&
|
|
9515
|
-
if (Ls = aa(n),
|
|
9514
|
+
if (vF(s), !oe && !(/mousedown|pointerdown/.test(o) && a.button !== 0 || i.disabled) && !d.isContentEditable && !(!this.nativeDraggable && Ii && n && n.tagName.toUpperCase() === "SELECT") && (n = ha(n, i.draggable, s, !1), !(n && n.animated) && wr !== n)) {
|
|
9515
|
+
if (Ls = aa(n), Si = aa(n, i.draggable), typeof c == "function") {
|
|
9516
9516
|
if (c.call(this, a, n, this)) {
|
|
9517
9517
|
wt({
|
|
9518
9518
|
sortable: e,
|
|
@@ -9567,7 +9567,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9567
9567
|
originalEvent: a
|
|
9568
9568
|
}), Lt(oe, o.chosenClass, !0);
|
|
9569
9569
|
}, o.ignore.split(",").forEach(function(c) {
|
|
9570
|
-
|
|
9570
|
+
Nu(oe, c.trim(), zo);
|
|
9571
9571
|
}), Re(l, "dragover", Ys), Re(l, "mousemove", Ys), Re(l, "touchmove", Ys), Re(l, "mouseup", i._onDrop), Re(l, "touchend", i._onDrop), Re(l, "touchcancel", i._onDrop), Ol && this.nativeDraggable && (this.options.touchStartThreshold = 4, oe.draggable = !0), Dt("delayStart", this, {
|
|
9572
9572
|
evt: a
|
|
9573
9573
|
}), o.delay && (!o.delayOnTouchOnly || e) && (!this.nativeDraggable || !(ji || Ha))) {
|
|
@@ -9616,7 +9616,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9616
9616
|
},
|
|
9617
9617
|
_emulateDragOver: function() {
|
|
9618
9618
|
if (pa) {
|
|
9619
|
-
this._lastX = pa.clientX, this._lastY = pa.clientY,
|
|
9619
|
+
this._lastX = pa.clientX, this._lastY = pa.clientY, Qu();
|
|
9620
9620
|
for (var a = document.elementFromPoint(pa.clientX, pa.clientY), e = a; a && a.shadowRoot && (a = a.shadowRoot.elementFromPoint(pa.clientX, pa.clientY), a !== e); )
|
|
9621
9621
|
e = a;
|
|
9622
9622
|
if (oe.parentNode[jt]._isOutsideThisEl(a), e)
|
|
@@ -9633,7 +9633,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9633
9633
|
}
|
|
9634
9634
|
a = e;
|
|
9635
9635
|
} while (e = e.parentNode);
|
|
9636
|
-
|
|
9636
|
+
ec();
|
|
9637
9637
|
}
|
|
9638
9638
|
},
|
|
9639
9639
|
_onTouchMove: function(a) {
|
|
@@ -9678,12 +9678,12 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9678
9678
|
this._onDrop();
|
|
9679
9679
|
return;
|
|
9680
9680
|
}
|
|
9681
|
-
Dt("setupClone", this), Ce.eventCanceled || (it =
|
|
9681
|
+
Dt("setupClone", this), Ce.eventCanceled || (it = Hu(oe), it.removeAttribute("id"), it.draggable = !1, it.style["will-change"] = "", this._hideClone(), Lt(it, this.options.chosenClass, !1), Ce.clone = it), s.cloneId = Ir(function() {
|
|
9682
9682
|
Dt("clone", s), !Ce.eventCanceled && (s.options.removeCloneOnHide || Qe.insertBefore(it, oe), s._hideClone(), wt({
|
|
9683
9683
|
sortable: s,
|
|
9684
9684
|
name: "clone"
|
|
9685
9685
|
}));
|
|
9686
|
-
}), !e && Lt(oe, r.dragClass, !0), e ? (zr = !0, s._loopId = setInterval(s._emulateDragOver, 50)) : (Pe(document, "mouseup", s._onDrop), Pe(document, "touchend", s._onDrop), Pe(document, "touchcancel", s._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(s, i, oe)), Re(document, "drop", s), be(oe, "transform", "translateZ(0)")), zs = !0, s._dragStartId = Ir(s._dragStarted.bind(s, e, a)), Re(document, "selectstart", s),
|
|
9686
|
+
}), !e && Lt(oe, r.dragClass, !0), e ? (zr = !0, s._loopId = setInterval(s._emulateDragOver, 50)) : (Pe(document, "mouseup", s._onDrop), Pe(document, "touchend", s._onDrop), Pe(document, "touchcancel", s._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(s, i, oe)), Re(document, "drop", s), be(oe, "transform", "translateZ(0)")), zs = !0, s._dragStartId = Ir(s._dragStarted.bind(s, e, a)), Re(document, "selectstart", s), yi = !0, Ii && be(document.body, "user-select", "none");
|
|
9687
9687
|
},
|
|
9688
9688
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
9689
9689
|
_onDragOver: function(a) {
|
|
@@ -9741,7 +9741,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9741
9741
|
if (X && e === a.target && (s = X), s && (r = dt(s)), fr(Qe, e, oe, i, s, r, a, !!s) !== !1)
|
|
9742
9742
|
return w(), X && X.nextSibling ? e.insertBefore(oe, X.nextSibling) : e.appendChild(oe), ot = e, A(), g(!0);
|
|
9743
9743
|
} else if (X && cF(a, Y, this)) {
|
|
9744
|
-
var b =
|
|
9744
|
+
var b = ri(e, 0, l, !0);
|
|
9745
9745
|
if (b === oe)
|
|
9746
9746
|
return g(!1);
|
|
9747
9747
|
if (s = b, r = dt(s), fr(Qe, e, oe, i, s, r, a, !1) !== !1)
|
|
@@ -9749,7 +9749,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9749
9749
|
} else if (s.parentNode === e) {
|
|
9750
9750
|
r = dt(s);
|
|
9751
9751
|
var x = 0, T, R = oe.parentNode !== e, H = !oF(oe.animated && oe.toRect || i, s.animated && s.toRect || r, Y), U = Y ? "top" : "left", D = zl(s, "top", "top") || zl(oe, "top", "top"), O = D ? D.scrollTop : void 0;
|
|
9752
|
-
Os !== s && (T = r[U],
|
|
9752
|
+
Os !== s && (T = r[U], Ki = !1, cr = !H && l.invertSwap || R), x = fF(a, s, r, Y, H ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, cr, Os === s);
|
|
9753
9753
|
var M;
|
|
9754
9754
|
if (x !== 0) {
|
|
9755
9755
|
var k = aa(oe);
|
|
@@ -9759,12 +9759,12 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9759
9759
|
}
|
|
9760
9760
|
if (x === 0 || M === s)
|
|
9761
9761
|
return g(!1);
|
|
9762
|
-
Os = s,
|
|
9762
|
+
Os = s, Di = x;
|
|
9763
9763
|
var C = s.nextElementSibling, y = !1;
|
|
9764
9764
|
y = x === 1;
|
|
9765
9765
|
var S = fr(Qe, e, oe, i, s, r, a, y);
|
|
9766
9766
|
if (S !== !1)
|
|
9767
|
-
return (S === 1 || S === -1) && (y = S === 1), gn = !0, setTimeout(uF, 30), w(), y && !C ? e.appendChild(oe) : s.parentNode.insertBefore(oe, y ? C : s), D &&
|
|
9767
|
+
return (S === 1 || S === -1) && (y = S === 1), gn = !0, setTimeout(uF, 30), w(), y && !C ? e.appendChild(oe) : s.parentNode.insertBefore(oe, y ? C : s), D && ju(D, 0, O - D.scrollTop), ot = oe.parentNode, T !== void 0 && !cr && (kr = Math.abs(T - dt(s)[U])), A(), g(!0);
|
|
9768
9768
|
}
|
|
9769
9769
|
if (e.contains(oe))
|
|
9770
9770
|
return g(!1);
|
|
@@ -9787,7 +9787,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9787
9787
|
this._nulling();
|
|
9788
9788
|
return;
|
|
9789
9789
|
}
|
|
9790
|
-
zs = !1, cr = !1,
|
|
9790
|
+
zs = !1, cr = !1, Ki = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), qn(this.cloneId), qn(this._dragStartId), this.nativeDraggable && (Pe(document, "drop", this), Pe(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ii && be(document.body, "user-select", ""), be(oe, "transform", ""), a && (yi && (a.cancelable && a.preventDefault(), !s.dropBubble && a.stopPropagation()), Ie && Ie.parentNode && Ie.parentNode.removeChild(Ie), (Qe === ot || Xt && Xt.lastPutMode !== "clone") && it && it.parentNode && it.parentNode.removeChild(it), oe && (this.nativeDraggable && Pe(oe, "dragend", this), zo(oe), oe.style["will-change"] = "", yi && !zs && Lt(oe, Xt ? Xt.options.ghostClass : this.options.ghostClass, !1), Lt(oe, this.options.chosenClass, !1), wt({
|
|
9791
9791
|
sortable: this,
|
|
9792
9792
|
name: "unchoose",
|
|
9793
9793
|
toEl: ot,
|
|
@@ -9826,7 +9826,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9826
9826
|
name: "sort",
|
|
9827
9827
|
toEl: ot,
|
|
9828
9828
|
originalEvent: a
|
|
9829
|
-
})), Ce.active && ((Nt == null || Nt === -1) && (Nt = Ls, Qa =
|
|
9829
|
+
})), Ce.active && ((Nt == null || Nt === -1) && (Nt = Ls, Qa = Si), wt({
|
|
9830
9830
|
sortable: this,
|
|
9831
9831
|
name: "end",
|
|
9832
9832
|
toEl: ot,
|
|
@@ -9834,7 +9834,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9834
9834
|
}), this.save()))), this._nulling();
|
|
9835
9835
|
},
|
|
9836
9836
|
_nulling: function() {
|
|
9837
|
-
Dt("nulling", this), Qe = oe = ot = Ie = xs = it = wr = es = qs = pa =
|
|
9837
|
+
Dt("nulling", this), Qe = oe = ot = Ie = xs = it = wr = es = qs = pa = yi = Nt = Qa = Ls = Si = Os = Di = Xt = ur = Ce.dragged = Ce.ghost = Ce.clone = Ce.active = null, Nr.forEach(function(a) {
|
|
9838
9838
|
a.checked = !0;
|
|
9839
9839
|
}), Nr.length = Po = Oo = 0;
|
|
9840
9840
|
},
|
|
@@ -9902,7 +9902,7 @@ Ce.prototype = /** @lends Sortable.prototype */
|
|
|
9902
9902
|
if (e === void 0)
|
|
9903
9903
|
return s[a];
|
|
9904
9904
|
var i = Hi.modifyOption(this, a, e);
|
|
9905
|
-
typeof i < "u" ? s[a] = i : s[a] = e, a === "group" &&
|
|
9905
|
+
typeof i < "u" ? s[a] = i : s[a] = e, a === "group" && Ju(s);
|
|
9906
9906
|
},
|
|
9907
9907
|
/**
|
|
9908
9908
|
* Destroy
|
|
@@ -9948,21 +9948,21 @@ function uF() {
|
|
|
9948
9948
|
gn = !1;
|
|
9949
9949
|
}
|
|
9950
9950
|
function cF(t, a, e) {
|
|
9951
|
-
var s = dt(
|
|
9951
|
+
var s = dt(ri(e.el, 0, e.options, !0)), i = Wu(e.el, e.options, Ie), r = 10;
|
|
9952
9952
|
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;
|
|
9953
9953
|
}
|
|
9954
9954
|
function mF(t, a, e) {
|
|
9955
|
-
var s = dt(Wn(e.el, e.options.draggable)), i =
|
|
9955
|
+
var s = dt(Wn(e.el, e.options.draggable)), i = Wu(e.el, e.options, Ie), r = 10;
|
|
9956
9956
|
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;
|
|
9957
9957
|
}
|
|
9958
9958
|
function fF(t, a, e, s, i, r, o, l) {
|
|
9959
9959
|
var n = s ? t.clientY : t.clientX, d = s ? e.height : e.width, c = s ? e.top : e.left, u = s ? e.bottom : e.right, f = !1;
|
|
9960
9960
|
if (!o) {
|
|
9961
9961
|
if (l && kr < d * i) {
|
|
9962
|
-
if (!
|
|
9962
|
+
if (!Ki && (Di === 1 ? n > c + d * r / 2 : n < u - d * r / 2) && (Ki = !0), Ki)
|
|
9963
9963
|
f = !0;
|
|
9964
|
-
else if (
|
|
9965
|
-
return -
|
|
9964
|
+
else if (Di === 1 ? n < c + kr : n > u - kr)
|
|
9965
|
+
return -Di;
|
|
9966
9966
|
} else if (n > c + d * (1 - i) / 2 && n < u - d * (1 - i) / 2)
|
|
9967
9967
|
return VF(a);
|
|
9968
9968
|
}
|
|
@@ -9996,20 +9996,20 @@ Ce.utils = {
|
|
|
9996
9996
|
on: Re,
|
|
9997
9997
|
off: Pe,
|
|
9998
9998
|
css: be,
|
|
9999
|
-
find:
|
|
9999
|
+
find: Nu,
|
|
10000
10000
|
is: function(a, e) {
|
|
10001
10001
|
return !!ha(a, e, a, !1);
|
|
10002
10002
|
},
|
|
10003
10003
|
extend: Jh,
|
|
10004
|
-
throttle:
|
|
10004
|
+
throttle: Uu,
|
|
10005
10005
|
closest: ha,
|
|
10006
10006
|
toggleClass: Lt,
|
|
10007
|
-
clone:
|
|
10007
|
+
clone: Hu,
|
|
10008
10008
|
index: aa,
|
|
10009
10009
|
nextTick: Ir,
|
|
10010
10010
|
cancelNextTick: qn,
|
|
10011
|
-
detectDirection:
|
|
10012
|
-
getChild:
|
|
10011
|
+
detectDirection: Zu,
|
|
10012
|
+
getChild: ri
|
|
10013
10013
|
};
|
|
10014
10014
|
Ce.get = function(t) {
|
|
10015
10015
|
return t[jt];
|
|
@@ -10027,7 +10027,7 @@ Ce.create = function(t, a) {
|
|
|
10027
10027
|
return new Ce(t, a);
|
|
10028
10028
|
};
|
|
10029
10029
|
Ce.version = Wh;
|
|
10030
|
-
var lt = [],
|
|
10030
|
+
var lt = [], bi, Yn, Xn = !1, Lo, No, Ur, Ci;
|
|
10031
10031
|
function hF() {
|
|
10032
10032
|
function t() {
|
|
10033
10033
|
this.defaults = {
|
|
@@ -10053,17 +10053,17 @@ function hF() {
|
|
|
10053
10053
|
this.sortable.nativeDraggable ? Pe(document, "dragover", this._handleAutoScroll) : (Pe(document, "pointermove", this._handleFallbackAutoScroll), Pe(document, "touchmove", this._handleFallbackAutoScroll), Pe(document, "mousemove", this._handleFallbackAutoScroll)), Hl(), _r(), Qh();
|
|
10054
10054
|
},
|
|
10055
10055
|
nulling: function() {
|
|
10056
|
-
Ur = Yn =
|
|
10056
|
+
Ur = Yn = bi = Xn = Ci = Lo = No = null, lt.length = 0;
|
|
10057
10057
|
},
|
|
10058
10058
|
_handleFallbackAutoScroll: function(e) {
|
|
10059
10059
|
this._handleAutoScroll(e, !0);
|
|
10060
10060
|
},
|
|
10061
10061
|
_handleAutoScroll: function(e, s) {
|
|
10062
10062
|
var i = this, r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, l = document.elementFromPoint(r, o);
|
|
10063
|
-
if (Ur = e, s || this.options.forceAutoScrollFallback || ji || Ha ||
|
|
10063
|
+
if (Ur = e, s || this.options.forceAutoScrollFallback || ji || Ha || Ii) {
|
|
10064
10064
|
Uo(e, this.options, l, s);
|
|
10065
10065
|
var n = os(l, !0);
|
|
10066
|
-
Xn && (!
|
|
10066
|
+
Xn && (!Ci || r !== Lo || o !== No) && (Ci && Hl(), Ci = setInterval(function() {
|
|
10067
10067
|
var d = os(document.elementFromPoint(r, o), !0);
|
|
10068
10068
|
d !== n && (n = d, _r()), Uo(e, i.options, d, s);
|
|
10069
10069
|
}, 10), Lo = r, No = o);
|
|
@@ -10086,13 +10086,13 @@ function _r() {
|
|
|
10086
10086
|
}), lt = [];
|
|
10087
10087
|
}
|
|
10088
10088
|
function Hl() {
|
|
10089
|
-
clearInterval(
|
|
10089
|
+
clearInterval(Ci);
|
|
10090
10090
|
}
|
|
10091
|
-
var Uo =
|
|
10091
|
+
var Uo = Uu(function(t, a, e, s) {
|
|
10092
10092
|
if (a.scroll) {
|
|
10093
10093
|
var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, o = a.scrollSensitivity, l = a.scrollSpeed, n = ya(), d = !1, c;
|
|
10094
|
-
Yn !== e && (Yn = e, _r(),
|
|
10095
|
-
var u = 0, f =
|
|
10094
|
+
Yn !== e && (Yn = e, _r(), bi = a.scroll, c = a.scrollFn, bi === !0 && (bi = os(e, !0)));
|
|
10095
|
+
var u = 0, f = bi;
|
|
10096
10096
|
do {
|
|
10097
10097
|
var Y = f, v = dt(Y), h = v.top, F = v.bottom, w = v.left, g = v.right, A = v.width, X = v.height, b = void 0, x = void 0, T = Y.scrollWidth, R = Y.scrollHeight, H = be(Y), U = Y.scrollLeft, D = Y.scrollTop;
|
|
10098
10098
|
Y === n ? (b = A < T && (H.overflowX === "auto" || H.overflowX === "scroll" || H.overflowX === "visible"), x = X < R && (H.overflowY === "auto" || H.overflowY === "scroll" || H.overflowY === "visible")) : (b = A < T && (H.overflowX === "auto" || H.overflowX === "scroll"), x = X < R && (H.overflowY === "auto" || H.overflowY === "scroll"));
|
|
@@ -10103,14 +10103,14 @@ var Uo = Nu(function(t, a, e, s) {
|
|
|
10103
10103
|
(lt[u].vx != O || lt[u].vy != M || lt[u].el !== Y) && (lt[u].el = Y, lt[u].vx = O, lt[u].vy = M, clearInterval(lt[u].pid), (O != 0 || M != 0) && (d = !0, lt[u].pid = setInterval((function() {
|
|
10104
10104
|
s && this.layer === 0 && Ce.active._onTouchMove(Ur);
|
|
10105
10105
|
var C = lt[this.layer].vy ? lt[this.layer].vy * l : 0, y = lt[this.layer].vx ? lt[this.layer].vx * l : 0;
|
|
10106
|
-
typeof c == "function" && c.call(Ce.dragged.parentNode[jt], y, C, t, Ur, lt[this.layer].el) !== "continue" ||
|
|
10106
|
+
typeof c == "function" && c.call(Ce.dragged.parentNode[jt], y, C, t, Ur, lt[this.layer].el) !== "continue" || ju(lt[this.layer].el, y, C);
|
|
10107
10107
|
}).bind({
|
|
10108
10108
|
layer: u
|
|
10109
10109
|
}), 24))), u++;
|
|
10110
10110
|
} while (a.bubbleScroll && f !== n && (f = os(f, !1)));
|
|
10111
10111
|
Xn = d;
|
|
10112
10112
|
}
|
|
10113
|
-
}, 30),
|
|
10113
|
+
}, 30), tc = function(a) {
|
|
10114
10114
|
var e = a.originalEvent, s = a.putSortable, i = a.dragEl, r = a.activeSortable, o = a.dispatchSortableEvent, l = a.hideGhostForTarget, n = a.unhideGhostForTarget;
|
|
10115
10115
|
if (e) {
|
|
10116
10116
|
var d = s || r;
|
|
@@ -10133,10 +10133,10 @@ Gn.prototype = {
|
|
|
10133
10133
|
onSpill: function(a) {
|
|
10134
10134
|
var e = a.dragEl, s = a.putSortable;
|
|
10135
10135
|
this.sortable.captureAnimationState(), s && s.captureAnimationState();
|
|
10136
|
-
var i =
|
|
10136
|
+
var i = ri(this.sortable.el, this.startIndex, this.options);
|
|
10137
10137
|
i ? this.sortable.el.insertBefore(e, i) : this.sortable.el.appendChild(e), this.sortable.animateAll(), s && s.animateAll();
|
|
10138
10138
|
},
|
|
10139
|
-
drop:
|
|
10139
|
+
drop: tc
|
|
10140
10140
|
};
|
|
10141
10141
|
Ba(Gn, {
|
|
10142
10142
|
pluginName: "revertOnSpill"
|
|
@@ -10148,7 +10148,7 @@ Zn.prototype = {
|
|
|
10148
10148
|
var e = a.dragEl, s = a.putSortable, i = s || this.sortable;
|
|
10149
10149
|
i.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), i.animateAll();
|
|
10150
10150
|
},
|
|
10151
|
-
drop:
|
|
10151
|
+
drop: tc
|
|
10152
10152
|
};
|
|
10153
10153
|
Ba(Zn, {
|
|
10154
10154
|
pluginName: "removeOnSpill"
|
|
@@ -10157,12 +10157,12 @@ Ce.mount(new hF());
|
|
|
10157
10157
|
Ce.mount(Zn, Gn);
|
|
10158
10158
|
function Jn(t, a, e = {}) {
|
|
10159
10159
|
let s;
|
|
10160
|
-
const { document: i =
|
|
10160
|
+
const { document: i = qm, ...r } = e, o = {
|
|
10161
10161
|
onUpdate: (c) => {
|
|
10162
10162
|
FF(a, c.oldIndex, c.newIndex);
|
|
10163
10163
|
}
|
|
10164
10164
|
}, l = () => {
|
|
10165
|
-
const c = typeof t == "string" ? i == null ? void 0 : i.querySelector(t) :
|
|
10165
|
+
const c = typeof t == "string" ? i == null ? void 0 : i.querySelector(t) : gm(t);
|
|
10166
10166
|
!c || s !== void 0 || (s = new Ce(c, { ...o, ...r }));
|
|
10167
10167
|
}, n = () => {
|
|
10168
10168
|
s == null || s.destroy(), s = void 0;
|
|
@@ -10172,7 +10172,7 @@ function Jn(t, a, e = {}) {
|
|
|
10172
10172
|
else
|
|
10173
10173
|
return s == null ? void 0 : s.option(c);
|
|
10174
10174
|
};
|
|
10175
|
-
return
|
|
10175
|
+
return hm(l), Fm(n), {
|
|
10176
10176
|
stop: n,
|
|
10177
10177
|
start: l,
|
|
10178
10178
|
option: d
|
|
@@ -10190,11 +10190,11 @@ function FF(t, a, e) {
|
|
|
10190
10190
|
var Yt = [];
|
|
10191
10191
|
for (var jo = 0; jo < 256; ++jo)
|
|
10192
10192
|
Yt.push((jo + 256).toString(16).slice(1));
|
|
10193
|
-
function
|
|
10193
|
+
function ac(t, a = 0) {
|
|
10194
10194
|
return (Yt[t[a + 0]] + Yt[t[a + 1]] + Yt[t[a + 2]] + Yt[t[a + 3]] + "-" + Yt[t[a + 4]] + Yt[t[a + 5]] + "-" + Yt[t[a + 6]] + Yt[t[a + 7]] + "-" + Yt[t[a + 8]] + Yt[t[a + 9]] + "-" + Yt[t[a + 10]] + Yt[t[a + 11]] + Yt[t[a + 12]] + Yt[t[a + 13]] + Yt[t[a + 14]] + Yt[t[a + 15]]).toLowerCase();
|
|
10195
10195
|
}
|
|
10196
10196
|
var Vr, gF = new Uint8Array(16);
|
|
10197
|
-
function
|
|
10197
|
+
function sc() {
|
|
10198
10198
|
if (!Vr && (Vr = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Vr))
|
|
10199
10199
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
10200
10200
|
return Vr(gF);
|
|
@@ -10205,7 +10205,7 @@ function qF(t, a, e) {
|
|
|
10205
10205
|
t = t || {};
|
|
10206
10206
|
var r = t.node, o = t.clockseq;
|
|
10207
10207
|
if (t._v6 || (r || (r = Ho), o == null && (o = pr)), r == null || o == null) {
|
|
10208
|
-
var l = t.random || (t.rng ||
|
|
10208
|
+
var l = t.random || (t.rng || sc)();
|
|
10209
10209
|
r == null && (r = [l[0], l[1], l[2], l[3], l[4], l[5]], !Ho && !t._v6 && (r[0] |= 1, Ho = r)), o == null && (o = (l[6] << 8 | l[7]) & 16383, pr === void 0 && !t._v6 && (pr = o));
|
|
10210
10210
|
}
|
|
10211
10211
|
var n = t.msecs !== void 0 ? t.msecs : Date.now(), d = t.nsecs !== void 0 ? t.nsecs : Go + 1, c = n - Wo + (d - Go) / 1e4;
|
|
@@ -10218,7 +10218,7 @@ function qF(t, a, e) {
|
|
|
10218
10218
|
i[s++] = f >>> 8 & 255, i[s++] = f & 255, i[s++] = f >>> 24 & 15 | 16, i[s++] = f >>> 16 & 255, i[s++] = o >>> 8 | 128, i[s++] = o & 255;
|
|
10219
10219
|
for (var Y = 0; Y < 6; ++Y)
|
|
10220
10220
|
i[s + Y] = r[Y];
|
|
10221
|
-
return a ||
|
|
10221
|
+
return a || ac(i);
|
|
10222
10222
|
}
|
|
10223
10223
|
var YF = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
10224
10224
|
const Wl = {
|
|
@@ -10228,16 +10228,16 @@ function XF(t, a, e) {
|
|
|
10228
10228
|
if (Wl.randomUUID && !a && !t)
|
|
10229
10229
|
return Wl.randomUUID();
|
|
10230
10230
|
t = t || {};
|
|
10231
|
-
var s = t.random || (t.rng ||
|
|
10231
|
+
var s = t.random || (t.rng || sc)();
|
|
10232
10232
|
if (s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, a) {
|
|
10233
10233
|
e = e || 0;
|
|
10234
10234
|
for (var i = 0; i < 16; ++i)
|
|
10235
10235
|
a[e + i] = s[i];
|
|
10236
10236
|
return a;
|
|
10237
10237
|
}
|
|
10238
|
-
return
|
|
10238
|
+
return ac(s);
|
|
10239
10239
|
}
|
|
10240
|
-
const ts = () => qF(), kD = () => XF(), as = "a-sortable-widget__handle",
|
|
10240
|
+
const ts = () => qF(), kD = () => XF(), as = "a-sortable-widget__handle", ic = "a-sortable-widget__ghost", rc = "a-sortable-widget__drag", oc = "a-sortable-widget__chosen", jr = "a-sortable-widget__group";
|
|
10241
10241
|
function AF(t, a, e, s) {
|
|
10242
10242
|
const i = K(!1), r = K(null), o = K(null), l = K(ts()), n = K(null), d = K(0), c = K(e.dirty);
|
|
10243
10243
|
function u(M, k) {
|
|
@@ -10378,9 +10378,9 @@ const Qn = "a-sortable-", yF = ["id"], bF = { key: 1 }, CF = { class: "a-sortabl
|
|
|
10378
10378
|
const y = R.value.querySelector("." + jr);
|
|
10379
10379
|
y && (T.value = Jn(y, [], {
|
|
10380
10380
|
handle: "." + as,
|
|
10381
|
-
ghostClass:
|
|
10382
|
-
dragClass:
|
|
10383
|
-
chosenClass:
|
|
10381
|
+
ghostClass: ic,
|
|
10382
|
+
dragClass: rc,
|
|
10383
|
+
chosenClass: oc,
|
|
10384
10384
|
onEnd: async (S) => {
|
|
10385
10385
|
if (s.disableDefaultSort || z(S.oldIndex) || z(S.newIndex)) return;
|
|
10386
10386
|
const B = w(S.oldIndex, S.newIndex);
|
|
@@ -10898,7 +10898,7 @@ const TF = ["data-id"], EF = { class: "a-sortable-nested-widget__nested" }, MF =
|
|
|
10898
10898
|
}
|
|
10899
10899
|
s("onAddChild", xe(e.item));
|
|
10900
10900
|
}, n = st(Zl, 1);
|
|
10901
|
-
|
|
10901
|
+
Ei(Zl, n + 1);
|
|
10902
10902
|
const d = _(() => e.showAddChildButton && !z(e.item.children) && e.item.children.length === 0 && n < e.maxDepth), { t: c } = ee();
|
|
10903
10903
|
return (u, f) => {
|
|
10904
10904
|
const Y = $e("ASortableNestedItem", !0);
|
|
@@ -11096,7 +11096,7 @@ const TF = ["data-id"], EF = { class: "a-sortable-nested-widget__nested" }, MF =
|
|
|
11096
11096
|
},
|
|
11097
11097
|
onEnd: (y) => {
|
|
11098
11098
|
h.value = !1, Ht(() => {
|
|
11099
|
-
const S =
|
|
11099
|
+
const S = ii(y.item.getAttribute("data-id") ?? "0");
|
|
11100
11100
|
if (S < 1) return;
|
|
11101
11101
|
const B = y.newIndex;
|
|
11102
11102
|
if (z(B)) return;
|
|
@@ -11104,7 +11104,7 @@ const TF = ["data-id"], EF = { class: "a-sortable-nested-widget__nested" }, MF =
|
|
|
11104
11104
|
if (z(j)) return;
|
|
11105
11105
|
let W = null;
|
|
11106
11106
|
const J = y.item.parentElement;
|
|
11107
|
-
te(J) || (W =
|
|
11107
|
+
te(J) || (W = ii(J.getAttribute("data-id") ?? "0"), W === 0 && (W = null));
|
|
11108
11108
|
const ae = b(S, W, B, j, s.maxDepth);
|
|
11109
11109
|
i("onEnd", ae);
|
|
11110
11110
|
});
|
|
@@ -11545,7 +11545,7 @@ const sg = /* @__PURE__ */ G({
|
|
|
11545
11545
|
{ value: 1, title: r(e.trueT) },
|
|
11546
11546
|
{ value: 0, title: r(e.falseT) }
|
|
11547
11547
|
]);
|
|
11548
|
-
return (l, n) => (q(), E(
|
|
11548
|
+
return (l, n) => (q(), E(Li, {
|
|
11549
11549
|
modelValue: i.value,
|
|
11550
11550
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => i.value = d),
|
|
11551
11551
|
"data-cy": l.dataCy,
|
|
@@ -11575,7 +11575,7 @@ const sg = /* @__PURE__ */ G({
|
|
|
11575
11575
|
s("update:modelValue", { property: e.config.property, value: i(g) });
|
|
11576
11576
|
}, o = _(() => {
|
|
11577
11577
|
const g = Id(e.modelValue) ? At(e.modelValue) : e.modelValue;
|
|
11578
|
-
return (e.config.attributes.type === pt.StringArray || e.config.attributes.type === pt.StringArrayLegacy) &&
|
|
11578
|
+
return (e.config.attributes.type === pt.StringArray || e.config.attributes.type === pt.StringArrayLegacy) && si(g) ? [] : g;
|
|
11579
11579
|
}), { maxLength: l, minLength: n, requiredIf: d, minValue: c, maxValue: u, stringArrayItemLength: f } = hs(), Y = _(() => {
|
|
11580
11580
|
const g = {
|
|
11581
11581
|
modelValueComputed: {
|
|
@@ -11609,7 +11609,7 @@ const sg = /* @__PURE__ */ G({
|
|
|
11609
11609
|
break;
|
|
11610
11610
|
}
|
|
11611
11611
|
return g;
|
|
11612
|
-
}), v =
|
|
11612
|
+
}), v = bm(Y, { modelValueComputed: o }, { $scope: e.validationScope }), h = _(() => v.value.$errors.length ? [v.value.$errors.map((g) => g.$message).join(" ")] : []), F = K(void 0);
|
|
11613
11613
|
F.value = e.config.attributes.maxValue ?? void 0;
|
|
11614
11614
|
const w = () => {
|
|
11615
11615
|
s("blur", e.modelValue), v.value.$touch();
|
|
@@ -11633,7 +11633,7 @@ const sg = /* @__PURE__ */ G({
|
|
|
11633
11633
|
g.config.attributes.required ? (q(), P("span", ig)) : N("", !0)
|
|
11634
11634
|
]),
|
|
11635
11635
|
_: 1
|
|
11636
|
-
}, 8, ["model-value", "label", "error-messages", "counter", "readonly", "data-cy"])) : g.config.attributes.type === p(pt).Integer ? (q(), E(
|
|
11636
|
+
}, 8, ["model-value", "label", "error-messages", "counter", "readonly", "data-cy"])) : g.config.attributes.type === p(pt).Integer ? (q(), E(ni, {
|
|
11637
11637
|
key: 1,
|
|
11638
11638
|
"model-value": o.value,
|
|
11639
11639
|
type: "number",
|
|
@@ -11649,7 +11649,7 @@ const sg = /* @__PURE__ */ G({
|
|
|
11649
11649
|
g.config.attributes.required ? (q(), P("span", rg)) : N("", !0)
|
|
11650
11650
|
]),
|
|
11651
11651
|
_: 1
|
|
11652
|
-
}, 8, ["model-value", "label", "error-messages", "readonly", "data-cy"])) : g.config.attributes.type === p(pt).StringArray || g.config.attributes.type === p(pt).StringArrayLegacy ? (q(), E(
|
|
11652
|
+
}, 8, ["model-value", "label", "error-messages", "readonly", "data-cy"])) : g.config.attributes.type === p(pt).StringArray || g.config.attributes.type === p(pt).StringArrayLegacy ? (q(), E(Rm, {
|
|
11653
11653
|
key: 2,
|
|
11654
11654
|
"model-value": o.value,
|
|
11655
11655
|
label: g.config.name,
|
|
@@ -11826,7 +11826,7 @@ const Ns = (t) => {
|
|
|
11826
11826
|
return "";
|
|
11827
11827
|
}
|
|
11828
11828
|
};
|
|
11829
|
-
function
|
|
11829
|
+
function nc(t, a) {
|
|
11830
11830
|
const e = _(() => z(t) ? [] : t.split(",")), s = _(() => z(a) ? [] : Object.keys(a)), i = (l, n = !1) => {
|
|
11831
11831
|
const d = [], c = l.filter((u) => {
|
|
11832
11832
|
const f = r(u, e.value) && o(u, s.value, a);
|
|
@@ -11897,11 +11897,11 @@ const cg = {
|
|
|
11897
11897
|
},
|
|
11898
11898
|
emits: ["onDrop", "onClick"],
|
|
11899
11899
|
setup(t, { emit: a }) {
|
|
11900
|
-
const e = t, s = a, i = K(), { checkFormatsAndSizes: r } =
|
|
11900
|
+
const e = t, s = a, i = K(), { checkFormatsAndSizes: r } = nc(e.accept, e.maxSizes);
|
|
11901
11901
|
function o(c) {
|
|
11902
11902
|
e.disabled || te(c) || c.length === 0 || s("onDrop", r(c));
|
|
11903
11903
|
}
|
|
11904
|
-
const { isOverDropZone: l } =
|
|
11904
|
+
const { isOverDropZone: l } = Ym(i, o), { isDraggingFile: n } = ug(), { t: d } = ee();
|
|
11905
11905
|
return (c, u) => (q(), P("div", {
|
|
11906
11906
|
ref_key: "dropZoneRef",
|
|
11907
11907
|
ref: i,
|
|
@@ -11941,7 +11941,7 @@ function el(t) {
|
|
|
11941
11941
|
damImageIdToDamImageOriginalUrl: (r, o = !0) => t.previewDomain + "/image/original/" + r + ".jpg" + (o ? "?random=" + Date.now() : "")
|
|
11942
11942
|
};
|
|
11943
11943
|
}
|
|
11944
|
-
function
|
|
11944
|
+
function lc(t = void 0, a) {
|
|
11945
11945
|
const e = (r) => {
|
|
11946
11946
|
const o = {};
|
|
11947
11947
|
for (let l = 0; l < a[r].mimeTypes.length; l++)
|
|
@@ -12027,10 +12027,10 @@ function Fg(t = 30) {
|
|
|
12027
12027
|
updateChunkSize: o
|
|
12028
12028
|
};
|
|
12029
12029
|
}
|
|
12030
|
-
const
|
|
12030
|
+
const Bi = "/adm/v1/image", gg = 420, qg = (t, a) => new Promise((e, s) => {
|
|
12031
12031
|
var r;
|
|
12032
|
-
let i =
|
|
12033
|
-
a.type === tl.SlotFile && a.slotName && a.assetId && (i =
|
|
12032
|
+
let i = Bi + "/licence/" + a.licenceId;
|
|
12033
|
+
a.type === tl.SlotFile && a.slotName && a.assetId && (i = Bi + "/asset/" + a.assetId + "/slot-name/" + a.slotName), t().post(
|
|
12034
12034
|
i,
|
|
12035
12035
|
JSON.stringify({
|
|
12036
12036
|
mimeType: Ns(a.file),
|
|
@@ -12042,7 +12042,7 @@ const $i = "/adm/v1/image", gg = 420, qg = (t, a) => new Promise((e, s) => {
|
|
|
12042
12042
|
s(o);
|
|
12043
12043
|
});
|
|
12044
12044
|
}), Yg = (t, a, e, s, i, r, o = void 0) => new Promise((l, n) => {
|
|
12045
|
-
const d = new FormData(), c =
|
|
12045
|
+
const d = new FormData(), c = Bi + "/" + e + "/chunk";
|
|
12046
12046
|
d.append("file", s), d.append(
|
|
12047
12047
|
"chunk",
|
|
12048
12048
|
JSON.stringify({
|
|
@@ -12061,7 +12061,7 @@ const $i = "/adm/v1/image", gg = 420, qg = (t, a) => new Promise((e, s) => {
|
|
|
12061
12061
|
n(u);
|
|
12062
12062
|
});
|
|
12063
12063
|
}), Xg = (t, a, e) => new Promise((s, i) => {
|
|
12064
|
-
const r =
|
|
12064
|
+
const r = Bi + "/" + a.fileId + "/uploaded";
|
|
12065
12065
|
t().patch(
|
|
12066
12066
|
r,
|
|
12067
12067
|
JSON.stringify({
|
|
@@ -12073,7 +12073,7 @@ const $i = "/adm/v1/image", gg = 420, qg = (t, a) => new Promise((e, s) => {
|
|
|
12073
12073
|
i(o);
|
|
12074
12074
|
});
|
|
12075
12075
|
}), Ag = (t, a, e) => new Promise((s, i) => {
|
|
12076
|
-
const r =
|
|
12076
|
+
const r = Bi + "/" + a + "/rotate/" + e;
|
|
12077
12077
|
t().patch(r).then((o) => {
|
|
12078
12078
|
o.status === Ks ? s(o.data) : i();
|
|
12079
12079
|
}).catch((o) => {
|
|
@@ -12104,14 +12104,14 @@ const $i = "/adm/v1/image", gg = 420, qg = (t, a) => new Promise((e, s) => {
|
|
|
12104
12104
|
}
|
|
12105
12105
|
Xg(t, a, e).then((o) => {
|
|
12106
12106
|
a.status = Ne.Processing, s && (a.notificationFallbackTimer = setTimeout(function() {
|
|
12107
|
-
|
|
12108
|
-
},
|
|
12107
|
+
uc(t, a);
|
|
12108
|
+
}, dc(a))), i(o);
|
|
12109
12109
|
}).catch((o) => r(o));
|
|
12110
12110
|
});
|
|
12111
|
-
function
|
|
12111
|
+
function dc(t) {
|
|
12112
12112
|
return yg * 1e3 * t.notificationFallbackTry * t.notificationFallbackTry;
|
|
12113
12113
|
}
|
|
12114
|
-
async function
|
|
12114
|
+
async function uc(t, a) {
|
|
12115
12115
|
if (clearTimeout(a.notificationFallbackTimer), a.status === Ne.Uploaded || a.notificationFallbackTry > bg || !a.assetId) return;
|
|
12116
12116
|
const e = await rs(t, a.assetId);
|
|
12117
12117
|
if (e && e.mainFile && e.mainFile.fileAttributes) {
|
|
@@ -12128,10 +12128,10 @@ async function dc(t, a) {
|
|
|
12128
12128
|
}
|
|
12129
12129
|
}
|
|
12130
12130
|
a.notificationFallbackTry++, a.notificationFallbackTimer = setTimeout(function() {
|
|
12131
|
-
|
|
12132
|
-
},
|
|
12131
|
+
uc(t, a);
|
|
12132
|
+
}, dc(a));
|
|
12133
12133
|
}
|
|
12134
|
-
var
|
|
12134
|
+
var cc = { exports: {} };
|
|
12135
12135
|
(function(t, a) {
|
|
12136
12136
|
(function(s, i) {
|
|
12137
12137
|
t.exports = i();
|
|
@@ -12647,12 +12647,12 @@ var uc = { exports: {} };
|
|
|
12647
12647
|
])
|
|
12648
12648
|
);
|
|
12649
12649
|
});
|
|
12650
|
-
})(
|
|
12651
|
-
var kg =
|
|
12650
|
+
})(cc);
|
|
12651
|
+
var kg = cc.exports;
|
|
12652
12652
|
const Ig = /* @__PURE__ */ io(kg), tn = 4, _g = 1e3, Sg = 1e3, Dg = 3, Kg = async (t, a = null) => {
|
|
12653
12653
|
throw a;
|
|
12654
12654
|
}, Tg = async (t, a) => {
|
|
12655
|
-
const { damClient: e } = nt(), { uploadStatusFallback: s } =
|
|
12655
|
+
const { damClient: e } = nt(), { uploadStatusFallback: s } = Iu();
|
|
12656
12656
|
return await wg(e, t, a, s);
|
|
12657
12657
|
}, Eg = (t) => {
|
|
12658
12658
|
const { t: a } = Ke.global || Ke;
|
|
@@ -12673,7 +12673,7 @@ const Ig = /* @__PURE__ */ io(kg), tn = 4, _g = 1e3, Sg = 1e3, Dg = 3, Kg = asyn
|
|
|
12673
12673
|
default:
|
|
12674
12674
|
s.push(a("common.damImage.uploadErrors.systemError") + ": " + i + " - " + r.join(","));
|
|
12675
12675
|
}
|
|
12676
|
-
return s.length > 0 ? s.join(
|
|
12676
|
+
return s.length > 0 ? s.join(cu) : a("common.damImage.uploadErrors.unknownError");
|
|
12677
12677
|
}, Jl = async (t, a, e) => new Promise((s, i) => {
|
|
12678
12678
|
const r = e.slice(t, t + a), o = new FileReader();
|
|
12679
12679
|
o.onload = function(l) {
|
|
@@ -12775,7 +12775,7 @@ function $g(t, a = void 0) {
|
|
|
12775
12775
|
const Ql = (t) => {
|
|
12776
12776
|
t.cancel("axios request cancelled");
|
|
12777
12777
|
}, Bg = Symbol("anzu:damNotificationsEventBusKey");
|
|
12778
|
-
function
|
|
12778
|
+
function mc() {
|
|
12779
12779
|
return Gt(Bg);
|
|
12780
12780
|
}
|
|
12781
12781
|
const vr = {
|
|
@@ -12794,7 +12794,7 @@ const vr = {
|
|
|
12794
12794
|
UserUpdated: "user_updated"
|
|
12795
12795
|
}, { t: Pg } = Ke.global || Ke, ed = K(!1);
|
|
12796
12796
|
function $D() {
|
|
12797
|
-
const { notification: t } =
|
|
12797
|
+
const { notification: t } = Iu(), a = t.enabled && t.webSocketUrl.length > 0, e = mc(), { open: s } = Xm(t.webSocketUrl, {
|
|
12798
12798
|
immediate: !1,
|
|
12799
12799
|
autoClose: !1,
|
|
12800
12800
|
autoReconnect: {
|
|
@@ -12822,7 +12822,7 @@ function $D() {
|
|
|
12822
12822
|
};
|
|
12823
12823
|
}
|
|
12824
12824
|
function Og() {
|
|
12825
|
-
const t =
|
|
12825
|
+
const t = mc();
|
|
12826
12826
|
return {
|
|
12827
12827
|
addDamNotificationListener: (e) => t.on(e)
|
|
12828
12828
|
};
|
|
@@ -12831,7 +12831,7 @@ function an() {
|
|
|
12831
12831
|
return {
|
|
12832
12832
|
updateNewNames: (e, s) => {
|
|
12833
12833
|
for (const [i, r] of Object.entries(e))
|
|
12834
|
-
|
|
12834
|
+
si(r) && s.add(i);
|
|
12835
12835
|
},
|
|
12836
12836
|
getAuthorConflicts: (e) => {
|
|
12837
12837
|
const s = [];
|
|
@@ -12843,7 +12843,7 @@ function an() {
|
|
|
12843
12843
|
}
|
|
12844
12844
|
};
|
|
12845
12845
|
}
|
|
12846
|
-
function
|
|
12846
|
+
function fc(t, a, e, s = "id", i = 1e3) {
|
|
12847
12847
|
const r = K(/* @__PURE__ */ new Map()), o = K(/* @__PURE__ */ new Set()), l = (...X) => {
|
|
12848
12848
|
const b = /* @__PURE__ */ new Set();
|
|
12849
12849
|
for (let x = 0; x < X.length; x++) {
|
|
@@ -12881,7 +12881,7 @@ function mc(t, a, e, s = "id", i = 1e3) {
|
|
|
12881
12881
|
}
|
|
12882
12882
|
return [];
|
|
12883
12883
|
}
|
|
12884
|
-
const Y =
|
|
12884
|
+
const Y = Am(
|
|
12885
12885
|
async () => await f(),
|
|
12886
12886
|
1500,
|
|
12887
12887
|
{ maxWait: 5e3 }
|
|
@@ -12917,16 +12917,16 @@ const Rg = (t, a) => {
|
|
|
12917
12917
|
}).catch((c) => za(c) ? d(new _a(c)) : Sa(c) ? d(new Da(c, i, r, c)) : Na(c) ? d(new Ka(c, c)) : d(new yt(c)));
|
|
12918
12918
|
}), ho = (t, a = {}, e, s = {}, i, r, o = {}) => new Promise((l, n) => {
|
|
12919
12919
|
t().post(ps(e, s), JSON.stringify(a), o).then((d) => vs(d.status) ? d.data ? l(d.data) : d.status === Ra ? l(null) : n(new yt()) : n(new La(d.status))).catch((d) => za(d) ? n(new _a(d)) : Sa(d) ? n(new Da(d, i, r, d)) : Na(d) ? n(new Ka(d, d)) : n(new yt(d)));
|
|
12920
|
-
}),
|
|
12920
|
+
}), Vc = "/adm/v1/keyword", pc = Vc + "/ext-system/:extSystemId", fi = "keyword", vc = (t, a, e) => Ms(
|
|
12921
12921
|
t,
|
|
12922
12922
|
e,
|
|
12923
|
-
|
|
12923
|
+
pc + "/search",
|
|
12924
12924
|
{ extSystemId: a },
|
|
12925
12925
|
Be,
|
|
12926
|
-
|
|
12926
|
+
fi,
|
|
12927
12927
|
{},
|
|
12928
12928
|
!0
|
|
12929
|
-
), td = (t, a, e, s) => ja(t,
|
|
12929
|
+
), td = (t, a, e, s) => ja(t, pc, { extSystemId: a }, e, s, Be, fi), zg = (t, a) => ho(t, a, Vc, {}, Be, fi), Lg = K(0);
|
|
12930
12930
|
function Fo() {
|
|
12931
12931
|
return {
|
|
12932
12932
|
cachedExtSystemId: Lg
|
|
@@ -12935,9 +12935,9 @@ function Fo() {
|
|
|
12935
12935
|
const Ng = (t) => ({
|
|
12936
12936
|
id: t.id,
|
|
12937
12937
|
name: t.name
|
|
12938
|
-
}), Ug = (t) => ({ id: t, name: "" }), { cache: jg, toFetch: Hg, fetch: Wg, add: Gg, addManual: Zg, addManualMinimal: Jg, has: Qg, get: eq, isLoaded: tq } =
|
|
12938
|
+
}), Ug = (t) => ({ id: t, name: "" }), { cache: jg, toFetch: Hg, fetch: Wg, add: Gg, addManual: Zg, addManualMinimal: Jg, has: Qg, get: eq, isLoaded: tq } = fc(Ng, Ug, (t) => {
|
|
12939
12939
|
const { cachedExtSystemId: a } = Fo(), { damClient: e } = nt();
|
|
12940
|
-
return
|
|
12940
|
+
return vc(e, a.value, t);
|
|
12941
12941
|
}), go = () => ({
|
|
12942
12942
|
addManualToCachedKeywords: Zg,
|
|
12943
12943
|
addManualMinimalToCachedKeywords: Jg,
|
|
@@ -12948,10 +12948,10 @@ const Ng = (t) => ({
|
|
|
12948
12948
|
hasCachedKeyword: Qg,
|
|
12949
12949
|
getCachedKeyword: eq,
|
|
12950
12950
|
isLoadedCachedKeyword: tq
|
|
12951
|
-
}),
|
|
12951
|
+
}), hc = "/adm/v1/author", Fc = hc + "/ext-system/:extSystemId", qo = "author", Vi = (t, a, e) => Ms(
|
|
12952
12952
|
t,
|
|
12953
12953
|
e,
|
|
12954
|
-
|
|
12954
|
+
Fc + "/search",
|
|
12955
12955
|
{
|
|
12956
12956
|
extSystemId: a
|
|
12957
12957
|
},
|
|
@@ -12961,7 +12961,7 @@ const Ng = (t) => ({
|
|
|
12961
12961
|
!0
|
|
12962
12962
|
), ad = (t, a, e, s) => ja(
|
|
12963
12963
|
t,
|
|
12964
|
-
|
|
12964
|
+
Fc,
|
|
12965
12965
|
{
|
|
12966
12966
|
extSystemId: a
|
|
12967
12967
|
},
|
|
@@ -12969,28 +12969,28 @@ const Ng = (t) => ({
|
|
|
12969
12969
|
s,
|
|
12970
12970
|
Be,
|
|
12971
12971
|
qo
|
|
12972
|
-
), aq = (t, a) => ho(t, a,
|
|
12972
|
+
), aq = (t, a) => ho(t, a, hc, {}, Be, qo), sq = (t) => ({
|
|
12973
12973
|
id: t.id,
|
|
12974
12974
|
name: t.name,
|
|
12975
12975
|
identifier: t.identifier
|
|
12976
|
-
}), iq = (t) => ({ id: t, name: "", identifier: "" }), { cache: rq, toFetch: oq, fetch:
|
|
12976
|
+
}), iq = (t) => ({ id: t, name: "", identifier: "" }), { cache: rq, toFetch: oq, fetch: gc, add: qc, addManual: nq, addManualMinimal: Yc, has: lq, get: dq, isLoaded: uq } = fc(sq, iq, (t) => {
|
|
12977
12977
|
const { cachedExtSystemId: a } = Fo(), { damClient: e } = nt();
|
|
12978
|
-
return
|
|
12978
|
+
return Vi(e, a.value, t);
|
|
12979
12979
|
}), Zi = () => ({
|
|
12980
12980
|
addManualToCachedAuthors: nq,
|
|
12981
|
-
addManualMinimalToCachedAuthors:
|
|
12982
|
-
addToCachedAuthors:
|
|
12983
|
-
fetchCachedAuthors:
|
|
12981
|
+
addManualMinimalToCachedAuthors: Yc,
|
|
12982
|
+
addToCachedAuthors: qc,
|
|
12983
|
+
fetchCachedAuthors: gc,
|
|
12984
12984
|
toFetchCachedAuthors: oq,
|
|
12985
12985
|
cachedAuthors: rq,
|
|
12986
12986
|
hasCachedAuthor: lq,
|
|
12987
12987
|
getCachedAuthor: dq,
|
|
12988
12988
|
isLoadedCachedAuthor: uq
|
|
12989
|
-
}),
|
|
12990
|
-
fetch:
|
|
12991
|
-
add:
|
|
12992
|
-
addManualMinimal:
|
|
12993
|
-
}), sd = 2, cq = 10485760, Qt =
|
|
12989
|
+
}), Xc = () => ({
|
|
12990
|
+
fetch: gc,
|
|
12991
|
+
add: qc,
|
|
12992
|
+
addManualMinimal: Yc
|
|
12993
|
+
}), sd = 2, cq = 10485760, Qt = li("commonUploadQueuesStore", () => {
|
|
12994
12994
|
const { addToCachedKeywords: t, fetchCachedKeywords: a } = go(), { addToCachedAuthors: e, fetchCachedAuthors: s } = Zi(), i = K(/* @__PURE__ */ new Map()), { createDefault: r } = vg(), { damClient: o } = nt(), { addDamNotificationListener: l } = Og();
|
|
12995
12995
|
l((y) => {
|
|
12996
12996
|
switch (y.name) {
|
|
@@ -13207,9 +13207,9 @@ const Ng = (t) => ({
|
|
|
13207
13207
|
};
|
|
13208
13208
|
}), al = (t, a = {}, e, s = {}, i, r, o = {}) => new Promise((l, n) => {
|
|
13209
13209
|
t().put(ps(e, s), JSON.stringify(a), o).then((d) => vs(d.status) ? d.data ? l(d.data) : d.status === Ra ? l(null) : n(new yt()) : n(new La(d.status))).catch((d) => za(d) ? n(new _a(d)) : Sa(d) ? n(new Da(d, i, r, d)) : Na(d) ? n(new Ka(d, d)) : n(new yt(d)));
|
|
13210
|
-
}),
|
|
13210
|
+
}), Ac = (t, a, e = {}, s, i, r = {}) => new Promise((o, l) => {
|
|
13211
13211
|
t().delete(ps(a, e), r).then((n) => vs(n.status) ? n.data ? o(n.data) : n.status === Ra ? o(null) : l(new yt()) : l(new La(n.status))).catch((n) => za(n) ? l(new _a(n)) : Sa(n) ? l(new Da(n, s, i, n)) : Na(n) ? l(new Ka(n, n)) : l(new yt(n)));
|
|
13212
|
-
}),
|
|
13212
|
+
}), pi = "/adm/v1/image", Ji = "image", Qi = "cms", sn = 20, yc = (t, a) => Ms(t, a, pi, {}, Qi, Ji), sl = (t, a) => Rt(t, pi + "/:id", { id: a }, Qi, Ji), bc = (t, a) => ho(t, a, pi, {}, Qi, Ji), Cc = (t, a, e) => al(t, e, pi + "/:id", { id: a }, Qi, Ji), xc = (t, a) => Ac(t, pi + "/:id", { id: a }, Qi, Ji), mq = (t, a) => new Promise((e, s) => {
|
|
13213
13213
|
fq(t, a).then((i) => {
|
|
13214
13214
|
if (a.length === 0)
|
|
13215
13215
|
return e([]);
|
|
@@ -13226,7 +13226,7 @@ async function fq(t, a) {
|
|
|
13226
13226
|
const e = Math.ceil(a.length / sn), s = [];
|
|
13227
13227
|
if (a.length === 0) return Promise.resolve([]);
|
|
13228
13228
|
for (let i = 0; i < e; i++) {
|
|
13229
|
-
const r = i * sn, l = { images: a.slice(r, r + sn) }, n = await t().put(
|
|
13229
|
+
const r = i * sn, l = { images: a.slice(r, r + sn) }, n = await t().put(pi, JSON.stringify(l));
|
|
13230
13230
|
s.push(n);
|
|
13231
13231
|
}
|
|
13232
13232
|
return s;
|
|
@@ -13250,7 +13250,7 @@ const Vq = {
|
|
|
13250
13250
|
damHeight: { default: void 0 }
|
|
13251
13251
|
},
|
|
13252
13252
|
setup(t) {
|
|
13253
|
-
const a = t, { showErrorsDefault: e } = He(), s = Wi(a.configName), { imageClient: i } = s, { widgetImageToDamImageUrl: r } = el(s), o = K(null), { image: l, modelValue: n } =
|
|
13253
|
+
const a = t, { showErrorsDefault: e } = He(), s = Wi(a.configName), { imageClient: i } = s, { widgetImageToDamImageUrl: r } = el(s), o = K(null), { image: l, modelValue: n } = oi(a), d = K(""), { t: c } = ee(), u = (f) => ai(a.damWidth) && ai(a.damHeight) ? r(f, a.damWidth, a.damHeight) : r(f);
|
|
13254
13254
|
return Ye(
|
|
13255
13255
|
[l, n],
|
|
13256
13256
|
async ([f, Y]) => {
|
|
@@ -13326,7 +13326,7 @@ const Vq = {
|
|
|
13326
13326
|
ue(f.$slots, "append", { image: o.value })
|
|
13327
13327
|
], 64));
|
|
13328
13328
|
}
|
|
13329
|
-
}), er =
|
|
13329
|
+
}), er = li("commonImageStore", () => {
|
|
13330
13330
|
const t = K([]), a = K(null), e = K(0);
|
|
13331
13331
|
function s(d) {
|
|
13332
13332
|
te(d) && (a.value = null), a.value = xe(d);
|
|
@@ -13357,8 +13357,8 @@ const Vq = {
|
|
|
13357
13357
|
removeImageByIndex: l,
|
|
13358
13358
|
reset: n
|
|
13359
13359
|
};
|
|
13360
|
-
}), Pa = Symbol.for("anzu:common:asset-metadata-validation-scope"),
|
|
13361
|
-
function
|
|
13360
|
+
}), Pa = Symbol.for("anzu:common:asset-metadata-validation-scope"), wc = Symbol.for("anzu:common:image-validation-scope"), Yq = Symbol.for("anzu:common:keyword-create-validation-scope"), Xq = Symbol.for("anzu:common:author-create-validation-scope"), { required: Aq, maxLength: yq } = hs();
|
|
13361
|
+
function kc(t) {
|
|
13362
13362
|
const a = _(() => ({
|
|
13363
13363
|
image: {
|
|
13364
13364
|
texts: {
|
|
@@ -13370,7 +13370,7 @@ function wc(t) {
|
|
|
13370
13370
|
}
|
|
13371
13371
|
}));
|
|
13372
13372
|
return {
|
|
13373
|
-
v$: da(a, { image: t }, { $scope:
|
|
13373
|
+
v$: da(a, { image: t }, { $scope: wc, $stopPropagation: !0 })
|
|
13374
13374
|
};
|
|
13375
13375
|
}
|
|
13376
13376
|
const bq = { key: 0 }, Cq = { class: "d-flex align-center justify-center" }, xq = {
|
|
@@ -13389,7 +13389,7 @@ const bq = { key: 0 }, Cq = { class: "d-flex align-center justify-center" }, xq
|
|
|
13389
13389
|
},
|
|
13390
13390
|
emits: ["editAsset", "onConfirm", "onClose"],
|
|
13391
13391
|
setup(t, { expose: a, emit: e }) {
|
|
13392
|
-
const s = e, { t: i } = ee(), r = er(), { imageDetail: o } = _t(r), { v$: l } =
|
|
13392
|
+
const s = e, { t: i } = ee(), r = er(), { imageDetail: o } = _t(r), { v$: l } = kc(o), { showValidationError: n } = He(), d = () => {
|
|
13393
13393
|
if (l.value.$touch(), l.value.$invalid) {
|
|
13394
13394
|
n();
|
|
13395
13395
|
return;
|
|
@@ -13577,7 +13577,7 @@ const bq = { key: 0 }, Cq = { class: "d-flex align-center justify-center" }, xq
|
|
|
13577
13577
|
}
|
|
13578
13578
|
});
|
|
13579
13579
|
var Ct = /* @__PURE__ */ ((t) => (t.Info = "meta", t.ROI = "roi", t.Default = "meta", t))(Ct || {});
|
|
13580
|
-
const qa =
|
|
13580
|
+
const qa = li("commonAssetDetailStore", () => {
|
|
13581
13581
|
const t = K(null), a = K([]), e = K(null), s = K(!1), i = K(!1), r = K(
|
|
13582
13582
|
"meta"
|
|
13583
13583
|
/* Default */
|
|
@@ -13599,7 +13599,7 @@ const qa = ni("commonAssetDetailStore", () => {
|
|
|
13599
13599
|
setAsset: l,
|
|
13600
13600
|
reset: n
|
|
13601
13601
|
};
|
|
13602
|
-
}), _q = { class: "d-flex flex-column w-100 h-100" }, Sq = /* @__PURE__ */ L("div", { class: "text-subtitle-2 d-flex" }, null, -1), Dq = { class: "d-flex w-100 h-100 justify-center align-center" },
|
|
13602
|
+
}), _q = { class: "d-flex flex-column w-100 h-100" }, Sq = /* @__PURE__ */ L("div", { class: "text-subtitle-2 d-flex" }, null, -1), Dq = { class: "d-flex w-100 h-100 justify-center align-center" }, Ic = /* @__PURE__ */ G({
|
|
13603
13603
|
__name: "AssetDetailDialogLoader",
|
|
13604
13604
|
emits: ["closeDialog"],
|
|
13605
13605
|
setup(t, { emit: a }) {
|
|
@@ -13658,7 +13658,7 @@ function Kq() {
|
|
|
13658
13658
|
remainingTimeLong: (i) => a(i, !1)
|
|
13659
13659
|
};
|
|
13660
13660
|
}
|
|
13661
|
-
const Tq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='_2K'%20data-name='2K'%20transform='translate(-10480%20-9321)'%3e%3cg%20id='Group_2714'%20data-name='Group%202714'%20transform='translate(4751%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7179'%20data-name='Path%207179'%20d='M-13.982,7.587a11.158,11.158,0,0,1,1.1-4.668q1-2.375,4.717-5.028A34.591,34.591,0,0,0-3.991-5.417,4.889,4.889,0,0,0-2.534-8.824a3.774,3.774,0,0,0-.835-2.506,2.942,2.942,0,0,0-2.391-1,2.916,2.916,0,0,0-2.9,1.589,7.879,7.879,0,0,0-.524,2.915H-13.72a11.461,11.461,0,0,1,1.1-4.9q1.869-3.554,6.64-3.554a8.425,8.425,0,0,1,6,2.088A7.216,7.216,0,0,1,2.249-8.66,7.473,7.473,0,0,1,.673-3.976a15.678,15.678,0,0,1-3.4,3.03L-4.594.381Q-6.35,1.625-7,2.182A5.279,5.279,0,0,0-8.086,3.476H2.282V7.587ZM6.261-16.554h4.963v9.946l9.327-9.946H27.07L17.163-6.625,27.578,7.587H21.092L13.654-2.951,11.224-.487V7.587H6.261Z'%20transform='translate(10522.981%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Eq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='_4K'%20data-name='4K'%20transform='translate(-10580%20-9321)'%3e%3cg%20id='Group_2715'%20data-name='Group%202715'%20transform='translate(4851%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7180'%20data-name='Path%207180'%20d='M2.562,2.477H-.124v5.11H-4.693V2.477h-9.4V-1.6l8.73-14.412H-.124V-1.175H2.562ZM-4.693-1.175V-11.4L-10.621-1.175ZM6.313-16.554h4.963v9.946L20.6-16.554h6.518L17.214-6.625,27.629,7.587H21.143L13.705-2.951,11.275-.487V7.587H6.313Z'%20transform='translate(10623.095%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Mq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='_8K'%20data-name='8K'%20transform='translate(-10680%20-9321)'%3e%3cg%20id='Group_2716'%20data-name='Group%202716'%20transform='translate(4951%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7181'%20data-name='Path%207181'%20d='M-9.246.692A3.814,3.814,0,0,0-8.337,3.41a3.284,3.284,0,0,0,2.514.966A3.284,3.284,0,0,0-3.309,3.41,3.814,3.814,0,0,0-2.4.692a3.78,3.78,0,0,0-.925-2.76,3.342,3.342,0,0,0-2.5-.942,3.342,3.342,0,0,0-2.5.942A3.78,3.78,0,0,0-9.246.692ZM-14.094,1a7.31,7.31,0,0,1,.9-3.619,5.734,5.734,0,0,1,2.645-2.44A5.548,5.548,0,0,1-12.79-7.538a6.929,6.929,0,0,1-.518-2.5,5.823,5.823,0,0,1,1.953-4.414A7.769,7.769,0,0,1-5.84-16.275,7.769,7.769,0,0,1-.324-14.449a5.823,5.823,0,0,1,1.953,4.414,6.952,6.952,0,0,1-.516,2.5A4.77,4.77,0,0,1-1.123-5.221a6.6,6.6,0,0,1,2.649,2.6A7.406,7.406,0,0,1,2.415,1,6.768,6.768,0,0,1,.193,6.1a8.664,8.664,0,0,1-6.205,2.1q-3.984,0-6.033-2.1A7.043,7.043,0,0,1-14.094,1ZM-8.837-9.511A2.9,2.9,0,0,0-8.04-7.4a2.939,2.939,0,0,0,2.209.819A2.906,2.906,0,0,0-3.623-7.4a2.937,2.937,0,0,0,.78-2.113,3.009,3.009,0,0,0-.78-2.2,2.956,2.956,0,0,0-2.209-.794,2.99,2.99,0,0,0-2.209.794A2.972,2.972,0,0,0-8.837-9.511Zm15.15-7.042h4.963v9.946L20.6-16.554h6.518L17.214-6.625,27.629,7.587H21.143L13.705-2.951,11.275-.487V7.587H6.313Z'%20transform='translate(10723.095%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", $q = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='QHD'%20transform='translate(-10380%20-9321)'%3e%3cg%20id='Group_2713'%20data-name='Group%202713'%20transform='translate(4651%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7178'%20data-name='Path%207178'%20d='M-12.888,4.215A6.477,6.477,0,0,0-11.217,4a8.316,8.316,0,0,0,1.131-.41L-12.53,1.267l2.592-2.706L-7.485.872a11.391,11.391,0,0,0,.8-2.063,11.878,11.878,0,0,0,.36-3.095,10.307,10.307,0,0,0-1.662-6.28,5.692,5.692,0,0,0-4.856-2.219,5.922,5.922,0,0,0-4.782,2.129q-1.785,2.129-1.785,6.371,0,4.962,2.556,7.108A5.958,5.958,0,0,0-12.888,4.215Zm11.61-8.86A16.059,16.059,0,0,1-2.065.76,8.992,8.992,0,0,1-3.942,4.209l2.772,2.61L-3.8,9.564-6.7,6.813A12.165,12.165,0,0,1-9,7.947a12.314,12.314,0,0,1-3.885.543,11.121,11.121,0,0,1-7.8-2.817q-3.738-3.39-3.738-9.957,0-6.616,3.832-10.007a11.313,11.313,0,0,1,7.78-2.768,11.157,11.157,0,0,1,7.861,2.932Q-1.278-10.737-1.278-4.645ZM2.538,7.818v-24.14H7.549v9.2h9.385v-9.2h5.012V7.818H16.934V-2.958H7.549V7.818ZM31.691-12.129V3.626H36.35A5.031,5.031,0,0,0,41.336.1a12.4,12.4,0,0,0,.771-4.6,11.315,11.315,0,0,0-1.156-5.658q-1.156-1.973-4.6-1.973ZM37.2-16.322a12.707,12.707,0,0,1,3.737.524,7.976,7.976,0,0,1,4.114,3.063,10.738,10.738,0,0,1,1.721,3.9,18.7,18.7,0,0,1,.459,4A16.034,16.034,0,0,1,45.3,3.314a8.728,8.728,0,0,1-8.1,4.5H26.794v-24.14Z'%20transform='translate(10418.421%209375.059)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Bq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='Full_HD'%20data-name='Full%20HD'%20transform='translate(-10280%20-9321)'%3e%3cg%20id='Group_2712'%20data-name='Group%202712'%20transform='translate(4551%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7177'%20data-name='Path%207177'%20d='M-21.883-16.521H-4.669v4.242h-12.2v5.552H-6.176v4.193H-16.871V7.587h-5.012ZM-1.426,7.587v-24.14H3.585v9.2H12.97v-9.2h5.012V7.587H12.97V-3.19H3.585V7.587ZM27.727-12.361V3.394h4.659A5.031,5.031,0,0,0,37.372-.127a12.4,12.4,0,0,0,.771-4.6,11.315,11.315,0,0,0-1.156-5.658q-1.156-1.973-4.6-1.973Zm5.511-4.193a12.707,12.707,0,0,1,3.737.524,7.976,7.976,0,0,1,4.114,3.063,10.738,10.738,0,0,1,1.721,3.9,18.7,18.7,0,0,1,.459,4,16.034,16.034,0,0,1-1.934,8.156,8.728,8.728,0,0,1-8.1,4.5H22.83v-24.14Z'%20transform='translate(10318.883%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Pq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='Slot'%20transform='translate(-10080%20-9321)'%3e%3cg%20id='Group_2710'%20data-name='Group%202710'%20transform='translate(10080%209321)'%3e%3cg%20id='Group_2668'%20data-name='Group%202668'%20transform='translate(0%200)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20opacity='0.5'/%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_2711'%20data-name='Group%202711'%20transform='translate(10108.517%209349.516)'%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%20transform='translate(0%200)'%3e%3cpath%20id='Path_7172'%20data-name='Path%207172'%20d='M18.322,17H9.371A5.371,5.371,0,0,0,4,22.371v8.951a5.371,5.371,0,0,0,5.371,5.371h8.951a5.371,5.371,0,0,0,5.371-5.371V22.371A5.371,5.371,0,0,0,18.322,17Zm1.79,14.322a1.79,1.79,0,0,1-1.79,1.79H9.371a1.79,1.79,0,0,1-1.79-1.79V22.371a1.79,1.79,0,0,1,1.79-1.79h8.951a1.79,1.79,0,0,1,1.79,1.79Z'%20transform='translate(-4%206.273)'%20fill='%23fff'/%3e%3cpath%20id='Path_7173'%20data-name='Path%207173'%20d='M31.322,17H22.371A5.371,5.371,0,0,0,17,22.371v8.951a5.371,5.371,0,0,0,5.371,5.371h8.951a5.371,5.371,0,0,0,5.371-5.371V22.371A5.371,5.371,0,0,0,31.322,17Zm1.79,14.322a1.79,1.79,0,0,1-1.79,1.79H22.371a1.79,1.79,0,0,1-1.79-1.79V22.371a1.79,1.79,0,0,1,1.79-1.79h8.951a1.79,1.79,0,0,1,1.79,1.79Z'%20transform='translate(6.273%206.273)'%20fill='%23fff'/%3e%3cpath%20id='Path_7174'%20data-name='Path%207174'%20d='M18.322,4H9.371A5.371,5.371,0,0,0,4,9.371v8.951a5.371,5.371,0,0,0,5.371,5.371h8.951a5.371,5.371,0,0,0,5.371-5.371V9.371A5.371,5.371,0,0,0,18.322,4Zm1.79,14.322a1.79,1.79,0,0,1-1.79,1.79H9.371a1.79,1.79,0,0,1-1.79-1.79V9.371a1.79,1.79,0,0,1,1.79-1.79h8.951a1.79,1.79,0,0,1,1.79,1.79Z'%20transform='translate(-4%20-4)'%20fill='%23fff'/%3e%3cpath%20id='Path_7175'%20data-name='Path%207175'%20d='M18.79,15.637h6.266V21.9a1.79,1.79,0,1,0,3.581,0V15.637H34.9a1.79,1.79,0,1,0,0-3.581H28.637V5.79a1.79,1.79,0,0,0-3.581,0v6.266H18.79a1.79,1.79,0,0,0,0,3.581Z'%20transform='translate(6.273%20-4)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Oq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='Low'%20transform='translate(-10180%20-9321)'%3e%3cg%20id='Group_2709'%20data-name='Group%202709'%20transform='translate(4451%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7176'%20data-name='Path%207176'%20d='M-14.218-16.322h5.044v19.8H2.881v4.34h-17.1ZM16.9,4.215A6.477,6.477,0,0,0,18.574,4a8.316,8.316,0,0,0,1.131-.41L17.261,1.267l2.592-2.706L22.306.872a11.391,11.391,0,0,0,.8-2.063,11.878,11.878,0,0,0,.36-3.095,10.307,10.307,0,0,0-1.662-6.28,5.692,5.692,0,0,0-4.856-2.219,5.922,5.922,0,0,0-4.782,2.129q-1.785,2.129-1.785,6.371,0,4.962,2.556,7.108A5.958,5.958,0,0,0,16.9,4.215Zm11.61-8.86a16.059,16.059,0,0,1-.786,5.4,8.992,8.992,0,0,1-1.877,3.449l2.772,2.61L25.99,9.564l-2.9-2.751A12.165,12.165,0,0,1,20.8,7.947a12.314,12.314,0,0,1-3.885.543,11.121,11.121,0,0,1-7.8-2.817Q5.37,2.283,5.37-4.285,5.37-10.9,9.2-14.291a11.313,11.313,0,0,1,7.78-2.768,11.157,11.157,0,0,1,7.861,2.932Q28.513-10.737,28.513-4.645Z'%20transform='translate(10222.799%209374.746)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Rq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cdefs%3e%3cclipPath%20id='clip-path'%3e%3cpath%20id='Path_7158'%20data-name='Path%207158'%20d='M0,349.208A5.911,5.911,0,1,0,5.911,343.3,5.911,5.911,0,0,0,0,349.208'%20transform='translate(0%20-343.297)'%20fill='%23fff'/%3e%3c/clipPath%3e%3cclipPath%20id='clip-path-2'%3e%3cpath%20id='Path_7159'%20data-name='Path%207159'%20d='M0,167.86a20.2,20.2,0,0,1,20.2,20.2h8.375A28.572,28.572,0,0,0,0,159.485Z'%20transform='translate(-0.001%20-159.485)'%20fill='%23fff'/%3e%3c/clipPath%3e%3cclipPath%20id='clip-path-3'%3e%3cpath%20id='Path_7160'%20data-name='Path%207160'%20d='M0,0V8.621A34.483,34.483,0,0,1,34.484,43.1h8.621A43.1,43.1,0,0,0,0,0Z'%20transform='translate(-0.001%200)'%20fill='%23fff'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20id='RSS'%20transform='translate(-5652%20-7415)'%3e%3ccircle%20id='Ellipse_16'%20data-name='Ellipse%2016'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5652%207415)'%20opacity='0.5'/%3e%3cg%20id='Group_2625'%20data-name='Group%202625'%20transform='translate(5683.674%207441.939)'%3e%3cg%20id='Group_2624'%20data-name='Group%202624'%20transform='translate(0)'%3e%3cg%20id='Group_2619'%20data-name='Group%202619'%20transform='translate(0%2031.281)'%3e%3cg%20id='Group_2618'%20data-name='Group%202618'%20clip-path='url(%23clip-path)'%3e%3crect%20id='Rectangle_2677'%20data-name='Rectangle%202677'%20width='11.823'%20height='11.823'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_2621'%20data-name='Group%202621'%20transform='translate(0%2014.532)'%3e%3cg%20id='Group_2620'%20data-name='Group%202620'%20clip-path='url(%23clip-path-2)'%3e%3crect%20id='Rectangle_2678'%20data-name='Rectangle%202678'%20width='28.572'%20height='28.572'%20transform='translate(0%200)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_2623'%20data-name='Group%202623'%20transform='translate(0)'%3e%3cg%20id='Group_2622'%20data-name='Group%202622'%20clip-path='url(%23clip-path-3)'%3e%3crect%20id='Rectangle_2679'%20data-name='Rectangle%202679'%20width='43.104'%20height='43.104'%20transform='translate(0)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", hi = [
|
|
13661
|
+
const Tq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='_2K'%20data-name='2K'%20transform='translate(-10480%20-9321)'%3e%3cg%20id='Group_2714'%20data-name='Group%202714'%20transform='translate(4751%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7179'%20data-name='Path%207179'%20d='M-13.982,7.587a11.158,11.158,0,0,1,1.1-4.668q1-2.375,4.717-5.028A34.591,34.591,0,0,0-3.991-5.417,4.889,4.889,0,0,0-2.534-8.824a3.774,3.774,0,0,0-.835-2.506,2.942,2.942,0,0,0-2.391-1,2.916,2.916,0,0,0-2.9,1.589,7.879,7.879,0,0,0-.524,2.915H-13.72a11.461,11.461,0,0,1,1.1-4.9q1.869-3.554,6.64-3.554a8.425,8.425,0,0,1,6,2.088A7.216,7.216,0,0,1,2.249-8.66,7.473,7.473,0,0,1,.673-3.976a15.678,15.678,0,0,1-3.4,3.03L-4.594.381Q-6.35,1.625-7,2.182A5.279,5.279,0,0,0-8.086,3.476H2.282V7.587ZM6.261-16.554h4.963v9.946l9.327-9.946H27.07L17.163-6.625,27.578,7.587H21.092L13.654-2.951,11.224-.487V7.587H6.261Z'%20transform='translate(10522.981%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Eq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='_4K'%20data-name='4K'%20transform='translate(-10580%20-9321)'%3e%3cg%20id='Group_2715'%20data-name='Group%202715'%20transform='translate(4851%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7180'%20data-name='Path%207180'%20d='M2.562,2.477H-.124v5.11H-4.693V2.477h-9.4V-1.6l8.73-14.412H-.124V-1.175H2.562ZM-4.693-1.175V-11.4L-10.621-1.175ZM6.313-16.554h4.963v9.946L20.6-16.554h6.518L17.214-6.625,27.629,7.587H21.143L13.705-2.951,11.275-.487V7.587H6.313Z'%20transform='translate(10623.095%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Mq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='_8K'%20data-name='8K'%20transform='translate(-10680%20-9321)'%3e%3cg%20id='Group_2716'%20data-name='Group%202716'%20transform='translate(4951%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7181'%20data-name='Path%207181'%20d='M-9.246.692A3.814,3.814,0,0,0-8.337,3.41a3.284,3.284,0,0,0,2.514.966A3.284,3.284,0,0,0-3.309,3.41,3.814,3.814,0,0,0-2.4.692a3.78,3.78,0,0,0-.925-2.76,3.342,3.342,0,0,0-2.5-.942,3.342,3.342,0,0,0-2.5.942A3.78,3.78,0,0,0-9.246.692ZM-14.094,1a7.31,7.31,0,0,1,.9-3.619,5.734,5.734,0,0,1,2.645-2.44A5.548,5.548,0,0,1-12.79-7.538a6.929,6.929,0,0,1-.518-2.5,5.823,5.823,0,0,1,1.953-4.414A7.769,7.769,0,0,1-5.84-16.275,7.769,7.769,0,0,1-.324-14.449a5.823,5.823,0,0,1,1.953,4.414,6.952,6.952,0,0,1-.516,2.5A4.77,4.77,0,0,1-1.123-5.221a6.6,6.6,0,0,1,2.649,2.6A7.406,7.406,0,0,1,2.415,1,6.768,6.768,0,0,1,.193,6.1a8.664,8.664,0,0,1-6.205,2.1q-3.984,0-6.033-2.1A7.043,7.043,0,0,1-14.094,1ZM-8.837-9.511A2.9,2.9,0,0,0-8.04-7.4a2.939,2.939,0,0,0,2.209.819A2.906,2.906,0,0,0-3.623-7.4a2.937,2.937,0,0,0,.78-2.113,3.009,3.009,0,0,0-.78-2.2,2.956,2.956,0,0,0-2.209-.794,2.99,2.99,0,0,0-2.209.794A2.972,2.972,0,0,0-8.837-9.511Zm15.15-7.042h4.963v9.946L20.6-16.554h6.518L17.214-6.625,27.629,7.587H21.143L13.705-2.951,11.275-.487V7.587H6.313Z'%20transform='translate(10723.095%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", $q = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='QHD'%20transform='translate(-10380%20-9321)'%3e%3cg%20id='Group_2713'%20data-name='Group%202713'%20transform='translate(4651%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7178'%20data-name='Path%207178'%20d='M-12.888,4.215A6.477,6.477,0,0,0-11.217,4a8.316,8.316,0,0,0,1.131-.41L-12.53,1.267l2.592-2.706L-7.485.872a11.391,11.391,0,0,0,.8-2.063,11.878,11.878,0,0,0,.36-3.095,10.307,10.307,0,0,0-1.662-6.28,5.692,5.692,0,0,0-4.856-2.219,5.922,5.922,0,0,0-4.782,2.129q-1.785,2.129-1.785,6.371,0,4.962,2.556,7.108A5.958,5.958,0,0,0-12.888,4.215Zm11.61-8.86A16.059,16.059,0,0,1-2.065.76,8.992,8.992,0,0,1-3.942,4.209l2.772,2.61L-3.8,9.564-6.7,6.813A12.165,12.165,0,0,1-9,7.947a12.314,12.314,0,0,1-3.885.543,11.121,11.121,0,0,1-7.8-2.817q-3.738-3.39-3.738-9.957,0-6.616,3.832-10.007a11.313,11.313,0,0,1,7.78-2.768,11.157,11.157,0,0,1,7.861,2.932Q-1.278-10.737-1.278-4.645ZM2.538,7.818v-24.14H7.549v9.2h9.385v-9.2h5.012V7.818H16.934V-2.958H7.549V7.818ZM31.691-12.129V3.626H36.35A5.031,5.031,0,0,0,41.336.1a12.4,12.4,0,0,0,.771-4.6,11.315,11.315,0,0,0-1.156-5.658q-1.156-1.973-4.6-1.973ZM37.2-16.322a12.707,12.707,0,0,1,3.737.524,7.976,7.976,0,0,1,4.114,3.063,10.738,10.738,0,0,1,1.721,3.9,18.7,18.7,0,0,1,.459,4A16.034,16.034,0,0,1,45.3,3.314a8.728,8.728,0,0,1-8.1,4.5H26.794v-24.14Z'%20transform='translate(10418.421%209375.059)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Bq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='Full_HD'%20data-name='Full%20HD'%20transform='translate(-10280%20-9321)'%3e%3cg%20id='Group_2712'%20data-name='Group%202712'%20transform='translate(4551%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7177'%20data-name='Path%207177'%20d='M-21.883-16.521H-4.669v4.242h-12.2v5.552H-6.176v4.193H-16.871V7.587h-5.012ZM-1.426,7.587v-24.14H3.585v9.2H12.97v-9.2h5.012V7.587H12.97V-3.19H3.585V7.587ZM27.727-12.361V3.394h4.659A5.031,5.031,0,0,0,37.372-.127a12.4,12.4,0,0,0,.771-4.6,11.315,11.315,0,0,0-1.156-5.658q-1.156-1.973-4.6-1.973Zm5.511-4.193a12.707,12.707,0,0,1,3.737.524,7.976,7.976,0,0,1,4.114,3.063,10.738,10.738,0,0,1,1.721,3.9,18.7,18.7,0,0,1,.459,4,16.034,16.034,0,0,1-1.934,8.156,8.728,8.728,0,0,1-8.1,4.5H22.83v-24.14Z'%20transform='translate(10318.883%209375.554)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Pq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='Slot'%20transform='translate(-10080%20-9321)'%3e%3cg%20id='Group_2710'%20data-name='Group%202710'%20transform='translate(10080%209321)'%3e%3cg%20id='Group_2668'%20data-name='Group%202668'%20transform='translate(0%200)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20opacity='0.5'/%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_2711'%20data-name='Group%202711'%20transform='translate(10108.517%209349.516)'%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%20transform='translate(0%200)'%3e%3cpath%20id='Path_7172'%20data-name='Path%207172'%20d='M18.322,17H9.371A5.371,5.371,0,0,0,4,22.371v8.951a5.371,5.371,0,0,0,5.371,5.371h8.951a5.371,5.371,0,0,0,5.371-5.371V22.371A5.371,5.371,0,0,0,18.322,17Zm1.79,14.322a1.79,1.79,0,0,1-1.79,1.79H9.371a1.79,1.79,0,0,1-1.79-1.79V22.371a1.79,1.79,0,0,1,1.79-1.79h8.951a1.79,1.79,0,0,1,1.79,1.79Z'%20transform='translate(-4%206.273)'%20fill='%23fff'/%3e%3cpath%20id='Path_7173'%20data-name='Path%207173'%20d='M31.322,17H22.371A5.371,5.371,0,0,0,17,22.371v8.951a5.371,5.371,0,0,0,5.371,5.371h8.951a5.371,5.371,0,0,0,5.371-5.371V22.371A5.371,5.371,0,0,0,31.322,17Zm1.79,14.322a1.79,1.79,0,0,1-1.79,1.79H22.371a1.79,1.79,0,0,1-1.79-1.79V22.371a1.79,1.79,0,0,1,1.79-1.79h8.951a1.79,1.79,0,0,1,1.79,1.79Z'%20transform='translate(6.273%206.273)'%20fill='%23fff'/%3e%3cpath%20id='Path_7174'%20data-name='Path%207174'%20d='M18.322,4H9.371A5.371,5.371,0,0,0,4,9.371v8.951a5.371,5.371,0,0,0,5.371,5.371h8.951a5.371,5.371,0,0,0,5.371-5.371V9.371A5.371,5.371,0,0,0,18.322,4Zm1.79,14.322a1.79,1.79,0,0,1-1.79,1.79H9.371a1.79,1.79,0,0,1-1.79-1.79V9.371a1.79,1.79,0,0,1,1.79-1.79h8.951a1.79,1.79,0,0,1,1.79,1.79Z'%20transform='translate(-4%20-4)'%20fill='%23fff'/%3e%3cpath%20id='Path_7175'%20data-name='Path%207175'%20d='M18.79,15.637h6.266V21.9a1.79,1.79,0,1,0,3.581,0V15.637H34.9a1.79,1.79,0,1,0,0-3.581H28.637V5.79a1.79,1.79,0,0,0-3.581,0v6.266H18.79a1.79,1.79,0,0,0,0,3.581Z'%20transform='translate(6.273%20-4)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Oq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cg%20id='Low'%20transform='translate(-10180%20-9321)'%3e%3cg%20id='Group_2709'%20data-name='Group%202709'%20transform='translate(4451%201906)'%3e%3ccircle%20id='Ellipse_18'%20data-name='Ellipse%2018'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5729%207415)'%20opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Path_7176'%20data-name='Path%207176'%20d='M-14.218-16.322h5.044v19.8H2.881v4.34h-17.1ZM16.9,4.215A6.477,6.477,0,0,0,18.574,4a8.316,8.316,0,0,0,1.131-.41L17.261,1.267l2.592-2.706L22.306.872a11.391,11.391,0,0,0,.8-2.063,11.878,11.878,0,0,0,.36-3.095,10.307,10.307,0,0,0-1.662-6.28,5.692,5.692,0,0,0-4.856-2.219,5.922,5.922,0,0,0-4.782,2.129q-1.785,2.129-1.785,6.371,0,4.962,2.556,7.108A5.958,5.958,0,0,0,16.9,4.215Zm11.61-8.86a16.059,16.059,0,0,1-.786,5.4,8.992,8.992,0,0,1-1.877,3.449l2.772,2.61L25.99,9.564l-2.9-2.751A12.165,12.165,0,0,1,20.8,7.947a12.314,12.314,0,0,1-3.885.543,11.121,11.121,0,0,1-7.8-2.817Q5.37,2.283,5.37-4.285,5.37-10.9,9.2-14.291a11.313,11.313,0,0,1,7.78-2.768,11.157,11.157,0,0,1,7.861,2.932Q28.513-10.737,28.513-4.645Z'%20transform='translate(10222.799%209374.746)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e", Rq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%3e%3cdefs%3e%3cclipPath%20id='clip-path'%3e%3cpath%20id='Path_7158'%20data-name='Path%207158'%20d='M0,349.208A5.911,5.911,0,1,0,5.911,343.3,5.911,5.911,0,0,0,0,349.208'%20transform='translate(0%20-343.297)'%20fill='%23fff'/%3e%3c/clipPath%3e%3cclipPath%20id='clip-path-2'%3e%3cpath%20id='Path_7159'%20data-name='Path%207159'%20d='M0,167.86a20.2,20.2,0,0,1,20.2,20.2h8.375A28.572,28.572,0,0,0,0,159.485Z'%20transform='translate(-0.001%20-159.485)'%20fill='%23fff'/%3e%3c/clipPath%3e%3cclipPath%20id='clip-path-3'%3e%3cpath%20id='Path_7160'%20data-name='Path%207160'%20d='M0,0V8.621A34.483,34.483,0,0,1,34.484,43.1h8.621A43.1,43.1,0,0,0,0,0Z'%20transform='translate(-0.001%200)'%20fill='%23fff'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20id='RSS'%20transform='translate(-5652%20-7415)'%3e%3ccircle%20id='Ellipse_16'%20data-name='Ellipse%2016'%20cx='50'%20cy='50'%20r='50'%20transform='translate(5652%207415)'%20opacity='0.5'/%3e%3cg%20id='Group_2625'%20data-name='Group%202625'%20transform='translate(5683.674%207441.939)'%3e%3cg%20id='Group_2624'%20data-name='Group%202624'%20transform='translate(0)'%3e%3cg%20id='Group_2619'%20data-name='Group%202619'%20transform='translate(0%2031.281)'%3e%3cg%20id='Group_2618'%20data-name='Group%202618'%20clip-path='url(%23clip-path)'%3e%3crect%20id='Rectangle_2677'%20data-name='Rectangle%202677'%20width='11.823'%20height='11.823'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_2621'%20data-name='Group%202621'%20transform='translate(0%2014.532)'%3e%3cg%20id='Group_2620'%20data-name='Group%202620'%20clip-path='url(%23clip-path-2)'%3e%3crect%20id='Rectangle_2678'%20data-name='Rectangle%202678'%20width='28.572'%20height='28.572'%20transform='translate(0%200)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_2623'%20data-name='Group%202623'%20transform='translate(0)'%3e%3cg%20id='Group_2622'%20data-name='Group%202622'%20clip-path='url(%23clip-path-3)'%3e%3crect%20id='Rectangle_2679'%20data-name='Rectangle%202679'%20width='43.104'%20height='43.104'%20transform='translate(0)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Fi = [
|
|
13662
13662
|
{
|
|
13663
13663
|
titleT: "common.damImage.asset.metaIcons.fullHd",
|
|
13664
13664
|
width: 1920,
|
|
@@ -13704,9 +13704,9 @@ const Tq = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
13704
13704
|
return;
|
|
13705
13705
|
}
|
|
13706
13706
|
if (a.assetType === qe.Video) {
|
|
13707
|
-
for (let n = 0; n <
|
|
13708
|
-
if (a.assetFileProperties.width ===
|
|
13709
|
-
o.push(
|
|
13707
|
+
for (let n = 0; n < Fi.length; n++)
|
|
13708
|
+
if (a.assetFileProperties.width === Fi[n].width && a.assetFileProperties.height === Fi[n].height) {
|
|
13709
|
+
o.push(Fi[n].svgSrc), l.push(e(Fi[n].titleT));
|
|
13710
13710
|
break;
|
|
13711
13711
|
}
|
|
13712
13712
|
}
|
|
@@ -14016,7 +14016,7 @@ const ol = /* @__PURE__ */ G({
|
|
|
14016
14016
|
},
|
|
14017
14017
|
setup(t) {
|
|
14018
14018
|
const a = t, { getAssetFileFailReasonOption: e } = d7(), s = _(() => e(a.reason));
|
|
14019
|
-
return (i, r) => s.value ? (q(), E(
|
|
14019
|
+
return (i, r) => s.value ? (q(), E(bu, { key: 0 }, {
|
|
14020
14020
|
default: V(() => [
|
|
14021
14021
|
$(I(s.value.title), 1)
|
|
14022
14022
|
]),
|
|
@@ -14046,7 +14046,7 @@ const ol = /* @__PURE__ */ G({
|
|
|
14046
14046
|
const { t: a } = ee();
|
|
14047
14047
|
return (e, s) => (q(), P(Fe, null, [
|
|
14048
14048
|
e.assetMainFileStatus && e.assetMainFileStatus === p(Zs).Duplicate ? (q(), P("div", u7, [
|
|
14049
|
-
m(
|
|
14049
|
+
m(Ai, {
|
|
14050
14050
|
dark: "",
|
|
14051
14051
|
type: "warning"
|
|
14052
14052
|
}, {
|
|
@@ -14057,7 +14057,7 @@ const ol = /* @__PURE__ */ G({
|
|
|
14057
14057
|
})
|
|
14058
14058
|
])) : N("", !0),
|
|
14059
14059
|
e.assetMainFileStatus && e.assetMainFileStatus === p(Zs).Failed ? (q(), P("div", c7, [
|
|
14060
|
-
m(
|
|
14060
|
+
m(Ai, {
|
|
14061
14061
|
dark: "",
|
|
14062
14062
|
type: "error"
|
|
14063
14063
|
}, {
|
|
@@ -14071,7 +14071,7 @@ const ol = /* @__PURE__ */ G({
|
|
|
14071
14071
|
_: 1
|
|
14072
14072
|
})
|
|
14073
14073
|
])) : e.assetStatus === p(We).Deleting ? (q(), P("div", V7, [
|
|
14074
|
-
m(
|
|
14074
|
+
m(Ai, {
|
|
14075
14075
|
dark: "",
|
|
14076
14076
|
type: "error"
|
|
14077
14077
|
}, {
|
|
@@ -14081,7 +14081,7 @@ const ol = /* @__PURE__ */ G({
|
|
|
14081
14081
|
_: 1
|
|
14082
14082
|
})
|
|
14083
14083
|
])) : e.assetStatus === p(We).Draft ? (q(), P("div", p7, [
|
|
14084
|
-
m(
|
|
14084
|
+
m(Ai, {
|
|
14085
14085
|
dark: "",
|
|
14086
14086
|
type: "warning"
|
|
14087
14087
|
}, {
|
|
@@ -14094,7 +14094,7 @@ const ol = /* @__PURE__ */ G({
|
|
|
14094
14094
|
], 64));
|
|
14095
14095
|
}
|
|
14096
14096
|
}), hr = "teleport-target-", on = K(/* @__PURE__ */ new Set());
|
|
14097
|
-
function
|
|
14097
|
+
function _c(t) {
|
|
14098
14098
|
const a = () => {
|
|
14099
14099
|
on.value.add(hr + t);
|
|
14100
14100
|
}, e = () => {
|
|
@@ -14113,8 +14113,8 @@ const h7 = { class: "w-100 text-right" }, nl = /* @__PURE__ */ G({
|
|
|
14113
14113
|
queueKey: {}
|
|
14114
14114
|
},
|
|
14115
14115
|
setup(t) {
|
|
14116
|
-
const a = t, { canTeleport: e, divClassName: s } =
|
|
14117
|
-
return (i, r) => p(e) ? (q(), E(
|
|
14116
|
+
const a = t, { canTeleport: e, divClassName: s } = _c(a.queueKey);
|
|
14117
|
+
return (i, r) => p(e) ? (q(), E(cm, {
|
|
14118
14118
|
key: 0,
|
|
14119
14119
|
to: "." + p(s)
|
|
14120
14120
|
}, [
|
|
@@ -14180,7 +14180,7 @@ const h7 = { class: "w-100 text-right" }, nl = /* @__PURE__ */ G({
|
|
|
14180
14180
|
})
|
|
14181
14181
|
], 4));
|
|
14182
14182
|
}
|
|
14183
|
-
}),
|
|
14183
|
+
}), Sc = /* @__PURE__ */ G({
|
|
14184
14184
|
__name: "AssetMetadataImageAttributes",
|
|
14185
14185
|
props: {
|
|
14186
14186
|
file: {}
|
|
@@ -14394,10 +14394,10 @@ const h7 = { class: "w-100 text-right" }, nl = /* @__PURE__ */ G({
|
|
|
14394
14394
|
return {
|
|
14395
14395
|
mapToValueObject: r,
|
|
14396
14396
|
fetchItems: async (u, f) => o(await ad(a, t, u, f)),
|
|
14397
|
-
fetchItemsByIds: async (u) => o(await
|
|
14397
|
+
fetchItemsByIds: async (u) => o(await Vi(a, t, u)),
|
|
14398
14398
|
fetchItemsMinimal: async (u, f) => l(await ad(a, t, u, f))
|
|
14399
14399
|
};
|
|
14400
|
-
}, dd =
|
|
14400
|
+
}, dd = di(Be, "author");
|
|
14401
14401
|
function X7() {
|
|
14402
14402
|
return oa({
|
|
14403
14403
|
_elastic: {
|
|
@@ -14408,7 +14408,7 @@ function X7() {
|
|
|
14408
14408
|
}
|
|
14409
14409
|
});
|
|
14410
14410
|
}
|
|
14411
|
-
var
|
|
14411
|
+
var Dc = /* @__PURE__ */ ((t) => (t.None = "none", t.Internal = "internal", t.External = "external", t.Agency = "agency", t.Default = "none", t))(Dc || {});
|
|
14412
14412
|
function A7() {
|
|
14413
14413
|
const { t } = ee(), a = K([
|
|
14414
14414
|
{
|
|
@@ -14460,7 +14460,7 @@ function C7() {
|
|
|
14460
14460
|
flags: {
|
|
14461
14461
|
reviewed: e ?? !1
|
|
14462
14462
|
},
|
|
14463
|
-
type:
|
|
14463
|
+
type: Dc.Default,
|
|
14464
14464
|
createdAt: Pt(),
|
|
14465
14465
|
modifiedAt: Pt(),
|
|
14466
14466
|
createdBy: 0,
|
|
@@ -14699,10 +14699,10 @@ const x7 = /* @__PURE__ */ G({
|
|
|
14699
14699
|
return ht(() => {
|
|
14700
14700
|
}), (g, A) => (q(), P(Fe, null, [
|
|
14701
14701
|
L("div", w7, [
|
|
14702
|
-
m(
|
|
14702
|
+
m(wu, {
|
|
14703
14703
|
modelValue: i.value,
|
|
14704
14704
|
"onUpdate:modelValue": A[1] || (A[1] = (X) => i.value = X),
|
|
14705
|
-
"use-cached": p(
|
|
14705
|
+
"use-cached": p(Xc),
|
|
14706
14706
|
v: p(d),
|
|
14707
14707
|
required: o.value,
|
|
14708
14708
|
label: g.label,
|
|
@@ -14736,7 +14736,7 @@ const x7 = /* @__PURE__ */ G({
|
|
|
14736
14736
|
g.multiple ? {
|
|
14737
14737
|
name: "prepend",
|
|
14738
14738
|
fn: V(() => [
|
|
14739
|
-
m(
|
|
14739
|
+
m(Ri, {
|
|
14740
14740
|
"model-value": w(b.value),
|
|
14741
14741
|
ripple: !1
|
|
14742
14742
|
}, null, 8, ["model-value"])
|
|
@@ -14797,10 +14797,10 @@ const x7 = /* @__PURE__ */ G({
|
|
|
14797
14797
|
return {
|
|
14798
14798
|
mapToValueObject: i,
|
|
14799
14799
|
fetchItems: async (u, f) => o(await td(a, t, u, f)),
|
|
14800
|
-
fetchItemsByIds: async (u) => o(await
|
|
14800
|
+
fetchItemsByIds: async (u) => o(await vc(a, t, u)),
|
|
14801
14801
|
fetchItemsMinimal: async (u, f) => l(await td(a, t, u, f))
|
|
14802
14802
|
};
|
|
14803
|
-
}, Us =
|
|
14803
|
+
}, Us = di(Be, fi);
|
|
14804
14804
|
oa({
|
|
14805
14805
|
_elastic: {
|
|
14806
14806
|
...Us({ exclude: !0 })
|
|
@@ -14897,7 +14897,7 @@ function K7() {
|
|
|
14897
14897
|
modifiedAt: Pt(),
|
|
14898
14898
|
createdBy: 1,
|
|
14899
14899
|
modifiedBy: 1,
|
|
14900
|
-
_resourceName:
|
|
14900
|
+
_resourceName: fi,
|
|
14901
14901
|
_system: Be
|
|
14902
14902
|
})
|
|
14903
14903
|
};
|
|
@@ -15016,7 +15016,7 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15016
15016
|
default: V(() => [
|
|
15017
15017
|
m(Ca, {
|
|
15018
15018
|
system: p(Be),
|
|
15019
|
-
subject: p(
|
|
15019
|
+
subject: p(fi)
|
|
15020
15020
|
}, {
|
|
15021
15021
|
default: V(() => [
|
|
15022
15022
|
m(Ze, null, {
|
|
@@ -15110,10 +15110,10 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15110
15110
|
i.value = F.id;
|
|
15111
15111
|
}, h = (F) => Ge(i.value) ? i.value.includes(F) : i.value ? i.value === F : !1;
|
|
15112
15112
|
return (F, w) => (q(), P("div", B7, [
|
|
15113
|
-
m(
|
|
15113
|
+
m(wu, {
|
|
15114
15114
|
modelValue: i.value,
|
|
15115
15115
|
"onUpdate:modelValue": w[1] || (w[1] = (g) => i.value = g),
|
|
15116
|
-
"use-cached": p(
|
|
15116
|
+
"use-cached": p(Xc),
|
|
15117
15117
|
v: p(n),
|
|
15118
15118
|
required: r.value,
|
|
15119
15119
|
label: F.label,
|
|
@@ -15147,7 +15147,7 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15147
15147
|
F.multiple ? {
|
|
15148
15148
|
name: "prepend",
|
|
15149
15149
|
fn: V(() => [
|
|
15150
|
-
m(
|
|
15150
|
+
m(Ri, {
|
|
15151
15151
|
"model-value": h(A.value),
|
|
15152
15152
|
ripple: !1
|
|
15153
15153
|
}, null, 8, ["model-value"])
|
|
@@ -15449,7 +15449,7 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15449
15449
|
]),
|
|
15450
15450
|
_: 1
|
|
15451
15451
|
}),
|
|
15452
|
-
d.value && p(Gi)(c.value) ? (q(), E(
|
|
15452
|
+
d.value && p(Gi)(c.value) ? (q(), E(Sc, {
|
|
15453
15453
|
key: 0,
|
|
15454
15454
|
file: c.value
|
|
15455
15455
|
}, null, 8, ["file"])) : N("", !0)
|
|
@@ -15516,7 +15516,7 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15516
15516
|
], 64);
|
|
15517
15517
|
};
|
|
15518
15518
|
}
|
|
15519
|
-
}),
|
|
15519
|
+
}), Kc = li("damImageRoiStore", {
|
|
15520
15520
|
state: () => ({
|
|
15521
15521
|
imageFile: null,
|
|
15522
15522
|
loader: !1,
|
|
@@ -15602,20 +15602,20 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15602
15602
|
]);
|
|
15603
15603
|
};
|
|
15604
15604
|
}
|
|
15605
|
-
}),
|
|
15605
|
+
}), Tc = "/adm/v1/roi", j7 = "/adm/v1/image/:id/roi", cl = "asset", H7 = (t, a) => Rt(t, Tc + "/:id", { id: a }, "coreDam", cl), W7 = (t, a, e) => al(t, e, Tc + "/:id", { id: a }, "coreDam", cl), G7 = (t, a, e, s) => ja(t, j7, { id: a }, e, s, "coreDam", cl), Z7 = { class: "px-3" }, J7 = { class: "v-expansion-panel-title px-0" }, Q7 = { class: "text-caption" }, eY = {
|
|
15606
15606
|
key: 1,
|
|
15607
15607
|
class: "w-100 h-100 d-flex align-center justify-center"
|
|
15608
15608
|
}, tY = {
|
|
15609
15609
|
key: 2,
|
|
15610
15610
|
class: "crop-preview pa-2"
|
|
15611
|
-
}, aY = { class: "text-subtitle-2" }, sY = ["src", "width", "height"],
|
|
15611
|
+
}, aY = { class: "text-subtitle-2" }, sY = ["src", "width", "height"], Ec = /* @__PURE__ */ G({
|
|
15612
15612
|
__name: "AssetDetailSidebarROI",
|
|
15613
15613
|
props: {
|
|
15614
15614
|
isActive: { type: Boolean },
|
|
15615
15615
|
queueKey: {}
|
|
15616
15616
|
},
|
|
15617
15617
|
setup(t) {
|
|
15618
|
-
const { t: a } = ee(), e =
|
|
15618
|
+
const { t: a } = ee(), e = Kc(), s = qa(), i = Ts(), { damClient: r } = nt(), o = async () => {
|
|
15619
15619
|
if (e.imageFile) {
|
|
15620
15620
|
e.showLoader();
|
|
15621
15621
|
const n = await G7(r, e.imageFile.id, i, {});
|
|
@@ -15686,13 +15686,13 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15686
15686
|
], 64);
|
|
15687
15687
|
};
|
|
15688
15688
|
}
|
|
15689
|
-
}),
|
|
15689
|
+
}), Mc = /* @__PURE__ */ G({
|
|
15690
15690
|
__name: "AssetDetailSidebarActionsTeleportTarget",
|
|
15691
15691
|
props: {
|
|
15692
15692
|
queueKey: {}
|
|
15693
15693
|
},
|
|
15694
15694
|
setup(t) {
|
|
15695
|
-
const a = t, { mounted: e, unMounted: s, divClassName: i } =
|
|
15695
|
+
const a = t, { mounted: e, unMounted: s, divClassName: i } = _c(a.queueKey);
|
|
15696
15696
|
return ht(async () => {
|
|
15697
15697
|
await Ht(), e();
|
|
15698
15698
|
}), Zr(() => {
|
|
@@ -15734,7 +15734,7 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15734
15734
|
class: "sidebar-info__tabs"
|
|
15735
15735
|
}, {
|
|
15736
15736
|
default: V(() => [
|
|
15737
|
-
m(
|
|
15737
|
+
m($i, {
|
|
15738
15738
|
value: p(Ct).Info,
|
|
15739
15739
|
"data-cy": "button-meta"
|
|
15740
15740
|
}, {
|
|
@@ -15743,7 +15743,7 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15743
15743
|
]),
|
|
15744
15744
|
_: 1
|
|
15745
15745
|
}, 8, ["value"]),
|
|
15746
|
-
i.isImage ? (q(), E(
|
|
15746
|
+
i.isImage ? (q(), E($i, {
|
|
15747
15747
|
key: 0,
|
|
15748
15748
|
value: p(Ct).ROI,
|
|
15749
15749
|
"data-cy": "button-focus"
|
|
@@ -15771,14 +15771,14 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15771
15771
|
}, null, 8, ["queue-key", "ext-system", "is-active", "asset-type"])
|
|
15772
15772
|
])) : N("", !0),
|
|
15773
15773
|
i.isImage && p(s) === p(Ct).ROI ? (q(), P("div", lY, [
|
|
15774
|
-
m(
|
|
15774
|
+
m(Ec, {
|
|
15775
15775
|
"is-active": p(s) === p(Ct).ROI,
|
|
15776
15776
|
"queue-key": i.queueKey
|
|
15777
15777
|
}, null, 8, ["is-active", "queue-key"])
|
|
15778
15778
|
])) : N("", !0)
|
|
15779
15779
|
]),
|
|
15780
15780
|
L("div", dY, [
|
|
15781
|
-
m(
|
|
15781
|
+
m(Mc, { "queue-key": i.queueKey }, null, 8, ["queue-key"])
|
|
15782
15782
|
])
|
|
15783
15783
|
])
|
|
15784
15784
|
]));
|
|
@@ -15796,9 +15796,9 @@ const $7 = /* @__PURE__ */ G({
|
|
|
15796
15796
|
};
|
|
15797
15797
|
}, mY = function(t, a, e, s) {
|
|
15798
15798
|
const i = t.getImageData(), r = t.getData(), o = i.naturalHeight / s;
|
|
15799
|
-
let l =
|
|
15799
|
+
let l = ii((r.x / o).toFixed(Fr));
|
|
15800
15800
|
l < 0 && (l = 0);
|
|
15801
|
-
let n =
|
|
15801
|
+
let n = ii((r.y / o).toFixed(Fr));
|
|
15802
15802
|
n < 0 && (n = 0);
|
|
15803
15803
|
let d = bl((r.width / i.naturalWidth).toFixed(Fr));
|
|
15804
15804
|
const c = d * e + l;
|
|
@@ -15826,7 +15826,7 @@ function md(t, a) {
|
|
|
15826
15826
|
}
|
|
15827
15827
|
return e;
|
|
15828
15828
|
}
|
|
15829
|
-
function
|
|
15829
|
+
function $c(t) {
|
|
15830
15830
|
for (var a = 1; a < arguments.length; a++) {
|
|
15831
15831
|
var e = arguments[a] != null ? arguments[a] : {};
|
|
15832
15832
|
a % 2 ? md(Object(e), !0).forEach(function(s) {
|
|
@@ -15847,7 +15847,7 @@ function fY(t, a) {
|
|
|
15847
15847
|
}
|
|
15848
15848
|
return (a === "string" ? String : Number)(t);
|
|
15849
15849
|
}
|
|
15850
|
-
function
|
|
15850
|
+
function Bc(t) {
|
|
15851
15851
|
var a = fY(t, "string");
|
|
15852
15852
|
return typeof a == "symbol" ? a : a + "";
|
|
15853
15853
|
}
|
|
@@ -15866,7 +15866,7 @@ function VY(t, a) {
|
|
|
15866
15866
|
function fd(t, a) {
|
|
15867
15867
|
for (var e = 0; e < a.length; e++) {
|
|
15868
15868
|
var s = a[e];
|
|
15869
|
-
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(t,
|
|
15869
|
+
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(t, Bc(s.key), s);
|
|
15870
15870
|
}
|
|
15871
15871
|
}
|
|
15872
15872
|
function pY(t, a, e) {
|
|
@@ -15875,14 +15875,14 @@ function pY(t, a, e) {
|
|
|
15875
15875
|
}), t;
|
|
15876
15876
|
}
|
|
15877
15877
|
function vY(t, a, e) {
|
|
15878
|
-
return a =
|
|
15878
|
+
return a = Bc(a), a in t ? Object.defineProperty(t, a, {
|
|
15879
15879
|
value: e,
|
|
15880
15880
|
enumerable: !0,
|
|
15881
15881
|
configurable: !0,
|
|
15882
15882
|
writable: !0
|
|
15883
15883
|
}) : t[a] = e, t;
|
|
15884
15884
|
}
|
|
15885
|
-
function
|
|
15885
|
+
function Pc(t) {
|
|
15886
15886
|
return hY(t) || FY(t) || gY(t) || qY();
|
|
15887
15887
|
}
|
|
15888
15888
|
function hY(t) {
|
|
@@ -15908,7 +15908,7 @@ function qY() {
|
|
|
15908
15908
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
15909
15909
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
15910
15910
|
}
|
|
15911
|
-
var Ao = typeof window < "u" && typeof window.document < "u", wa = Ao ? window : {}, ml = Ao && wa.document.documentElement ? "ontouchstart" in wa.document.documentElement : !1, fl = Ao ? "PointerEvent" in wa : !1, et = "cropper", Vl = "all",
|
|
15911
|
+
var Ao = typeof window < "u" && typeof window.document < "u", wa = Ao ? window : {}, ml = Ao && wa.document.documentElement ? "ontouchstart" in wa.document.documentElement : !1, fl = Ao ? "PointerEvent" in wa : !1, et = "cropper", Vl = "all", Oc = "crop", Rc = "move", zc = "zoom", Xs = "e", As = "w", Rs = "s", Za = "n", gi = "ne", qi = "nw", Yi = "se", Xi = "sw", xn = "".concat(et, "-crop"), Vd = "".concat(et, "-disabled"), Tt = "".concat(et, "-hidden"), pd = "".concat(et, "-hide"), YY = "".concat(et, "-invisible"), Hr = "".concat(et, "-modal"), wn = "".concat(et, "-move"), Pi = "".concat(et, "Action"), gr = "".concat(et, "Preview"), pl = "crop", Lc = "move", Nc = "none", kn = "crop", In = "cropend", _n = "cropmove", Sn = "cropstart", vd = "dblclick", XY = ml ? "touchstart" : "mousedown", AY = ml ? "touchmove" : "mousemove", yY = ml ? "touchend touchcancel" : "mouseup", hd = fl ? "pointerdown" : XY, Fd = fl ? "pointermove" : AY, gd = fl ? "pointerup pointercancel" : yY, qd = "ready", Yd = "resize", Xd = "wheel", Dn = "zoom", Ad = "image/jpeg", bY = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, CY = /^data:/, xY = /^data:image\/jpeg;base64,/, wY = /^img|canvas$/i, Uc = 200, jc = 100, yd = {
|
|
15912
15912
|
// Define the view mode of the cropper
|
|
15913
15913
|
viewMode: 0,
|
|
15914
15914
|
// 0, 1, 2, 3
|
|
@@ -15970,8 +15970,8 @@ var Ao = typeof window < "u" && typeof window.document < "u", wa = Ao ? window :
|
|
|
15970
15970
|
minCanvasHeight: 0,
|
|
15971
15971
|
minCropBoxWidth: 0,
|
|
15972
15972
|
minCropBoxHeight: 0,
|
|
15973
|
-
minContainerWidth:
|
|
15974
|
-
minContainerHeight:
|
|
15973
|
+
minContainerWidth: Uc,
|
|
15974
|
+
minContainerHeight: jc,
|
|
15975
15975
|
// Shortcuts of events
|
|
15976
15976
|
ready: null,
|
|
15977
15977
|
cropstart: null,
|
|
@@ -16007,11 +16007,11 @@ function Kt(t) {
|
|
|
16007
16007
|
return typeof t == "function";
|
|
16008
16008
|
}
|
|
16009
16009
|
var SY = Array.prototype.slice;
|
|
16010
|
-
function
|
|
16010
|
+
function Hc(t) {
|
|
16011
16011
|
return Array.from ? Array.from(t) : SY.call(t);
|
|
16012
16012
|
}
|
|
16013
16013
|
function ut(t, a) {
|
|
16014
|
-
return t && Kt(a) && (Array.isArray(t) || Ee(t.length) ?
|
|
16014
|
+
return t && Kt(a) && (Array.isArray(t) || Ee(t.length) ? Hc(t).forEach(function(e, s) {
|
|
16015
16015
|
a.call(t, e, s, t);
|
|
16016
16016
|
}) : Ss(t) && Object.keys(t).forEach(function(e) {
|
|
16017
16017
|
a.call(t, t[e], e, t);
|
|
@@ -16089,7 +16089,7 @@ function vl(t) {
|
|
|
16089
16089
|
function Kn(t, a) {
|
|
16090
16090
|
return Ss(t[a]) ? t[a] : t.dataset ? t.dataset[a] : t.getAttribute("data-".concat(vl(a)));
|
|
16091
16091
|
}
|
|
16092
|
-
function
|
|
16092
|
+
function Oi(t, a, e) {
|
|
16093
16093
|
Ss(e) ? t[a] = e : t.dataset ? t.dataset[a] = e : t.setAttribute("data-".concat(vl(a)), e);
|
|
16094
16094
|
}
|
|
16095
16095
|
function MY(t, a) {
|
|
@@ -16108,7 +16108,7 @@ function MY(t, a) {
|
|
|
16108
16108
|
else
|
|
16109
16109
|
t.removeAttribute("data-".concat(vl(a)));
|
|
16110
16110
|
}
|
|
16111
|
-
var
|
|
16111
|
+
var Wc = /\s\s*/, Gc = function() {
|
|
16112
16112
|
var t = !1;
|
|
16113
16113
|
if (Ao) {
|
|
16114
16114
|
var a = !1, e = function() {
|
|
@@ -16131,8 +16131,8 @@ var Hc = /\s\s*/, Wc = function() {
|
|
|
16131
16131
|
}();
|
|
16132
16132
|
function va(t, a, e) {
|
|
16133
16133
|
var s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = e;
|
|
16134
|
-
a.trim().split(
|
|
16135
|
-
if (!
|
|
16134
|
+
a.trim().split(Wc).forEach(function(r) {
|
|
16135
|
+
if (!Gc) {
|
|
16136
16136
|
var o = t.listeners;
|
|
16137
16137
|
o && o[r] && o[r][e] && (i = o[r][e], delete o[r][e], Object.keys(o[r]).length === 0 && delete o[r], Object.keys(o).length === 0 && delete t.listeners);
|
|
16138
16138
|
}
|
|
@@ -16141,8 +16141,8 @@ function va(t, a, e) {
|
|
|
16141
16141
|
}
|
|
16142
16142
|
function ea(t, a, e) {
|
|
16143
16143
|
var s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = e;
|
|
16144
|
-
a.trim().split(
|
|
16145
|
-
if (s.once && !
|
|
16144
|
+
a.trim().split(Wc).forEach(function(r) {
|
|
16145
|
+
if (s.once && !Gc) {
|
|
16146
16146
|
var o = t.listeners, l = o === void 0 ? {} : o;
|
|
16147
16147
|
i = function() {
|
|
16148
16148
|
delete l[r][e], t.removeEventListener(r, i, s);
|
|
@@ -16162,7 +16162,7 @@ function Qs(t, a, e) {
|
|
|
16162
16162
|
cancelable: !0
|
|
16163
16163
|
}) : (s = document.createEvent("CustomEvent"), s.initCustomEvent(a, !0, !0, e)), t.dispatchEvent(s);
|
|
16164
16164
|
}
|
|
16165
|
-
function
|
|
16165
|
+
function Zc(t) {
|
|
16166
16166
|
var a = t.getBoundingClientRect();
|
|
16167
16167
|
return {
|
|
16168
16168
|
left: a.left + (window.pageXOffset - document.documentElement.clientLeft),
|
|
@@ -16178,7 +16178,7 @@ function xd(t) {
|
|
|
16178
16178
|
var a = "timestamp=".concat((/* @__PURE__ */ new Date()).getTime());
|
|
16179
16179
|
return t + (t.indexOf("?") === -1 ? "?" : "&") + a;
|
|
16180
16180
|
}
|
|
16181
|
-
function
|
|
16181
|
+
function Ti(t) {
|
|
16182
16182
|
var a = t.rotate, e = t.scaleX, s = t.scaleY, i = t.translateX, r = t.translateY, o = [];
|
|
16183
16183
|
Ee(i) && i !== 0 && o.push("translateX(".concat(i, "px)")), Ee(r) && r !== 0 && o.push("translateY(".concat(r, "px)")), Ee(a) && a !== 0 && o.push("rotate(".concat(a, "deg)")), Ee(e) && e !== 1 && o.push("scaleX(".concat(e, ")")), Ee(s) && s !== 1 && o.push("scaleY(".concat(s, ")"));
|
|
16184
16184
|
var l = o.length ? o.join(" ") : "none";
|
|
@@ -16189,7 +16189,7 @@ function Ki(t) {
|
|
|
16189
16189
|
};
|
|
16190
16190
|
}
|
|
16191
16191
|
function BY(t) {
|
|
16192
|
-
var a =
|
|
16192
|
+
var a = $c({}, t), e = 0;
|
|
16193
16193
|
return ut(t, function(s, i) {
|
|
16194
16194
|
delete a[i], ut(a, function(r) {
|
|
16195
16195
|
var o = Math.abs(s.startX - r.startX), l = Math.abs(s.startY - r.startY), n = Math.abs(s.endX - r.endX), d = Math.abs(s.endY - r.endY), c = Math.sqrt(o * o + l * l), u = Math.sqrt(n * n + d * d), f = (u - c) / c;
|
|
@@ -16202,7 +16202,7 @@ function qr(t, a) {
|
|
|
16202
16202
|
endX: e,
|
|
16203
16203
|
endY: s
|
|
16204
16204
|
};
|
|
16205
|
-
return a ? i :
|
|
16205
|
+
return a ? i : $c({
|
|
16206
16206
|
startX: e,
|
|
16207
16207
|
startY: s
|
|
16208
16208
|
}, i);
|
|
@@ -16262,16 +16262,16 @@ function RY(t, a, e, s) {
|
|
|
16262
16262
|
width: D,
|
|
16263
16263
|
height: M
|
|
16264
16264
|
}, "cover"), ae = Math.min(W.width, Math.max(J.width, r)), Ve = Math.min(W.height, Math.max(J.height, o)), me = [-ae / 2, -Ve / 2, ae, Ve];
|
|
16265
|
-
return k.width = Js(B), k.height = Js(j), C.fillStyle = w, C.fillRect(0, 0, B, j), C.save(), C.translate(B / 2, j / 2), C.rotate(n * Math.PI / 180), C.scale(c, f), C.imageSmoothingEnabled = A, C.imageSmoothingQuality = b, C.drawImage.apply(C, [t].concat(
|
|
16265
|
+
return k.width = Js(B), k.height = Js(j), C.fillStyle = w, C.fillRect(0, 0, B, j), C.save(), C.translate(B / 2, j / 2), C.rotate(n * Math.PI / 180), C.scale(c, f), C.imageSmoothingEnabled = A, C.imageSmoothingQuality = b, C.drawImage.apply(C, [t].concat(Pc(me.map(function(Te) {
|
|
16266
16266
|
return Math.floor(Js(Te));
|
|
16267
16267
|
})))), C.restore(), k;
|
|
16268
16268
|
}
|
|
16269
|
-
var
|
|
16269
|
+
var Jc = String.fromCharCode;
|
|
16270
16270
|
function zY(t, a, e) {
|
|
16271
16271
|
var s = "";
|
|
16272
16272
|
e += a;
|
|
16273
16273
|
for (var i = a; i < e; i += 1)
|
|
16274
|
-
s +=
|
|
16274
|
+
s += Jc(t.getUint8(i));
|
|
16275
16275
|
return s;
|
|
16276
16276
|
}
|
|
16277
16277
|
var LY = /^data:.*,/;
|
|
@@ -16283,7 +16283,7 @@ function NY(t) {
|
|
|
16283
16283
|
}
|
|
16284
16284
|
function UY(t, a) {
|
|
16285
16285
|
for (var e = [], s = 8192, i = new Uint8Array(t); i.length > 0; )
|
|
16286
|
-
e.push(
|
|
16286
|
+
e.push(Jc.apply(null, Hc(i.subarray(0, s)))), i = i.subarray(s);
|
|
16287
16287
|
return "data:".concat(a, ";base64,").concat(btoa(e.join("")));
|
|
16288
16288
|
}
|
|
16289
16289
|
function jY(t) {
|
|
@@ -16360,8 +16360,8 @@ var WY = {
|
|
|
16360
16360
|
var a = this.element, e = this.options, s = this.container, i = this.cropper, r = Number(e.minContainerWidth), o = Number(e.minContainerHeight);
|
|
16361
16361
|
vt(i, Tt), ba(a, Tt);
|
|
16362
16362
|
var l = {
|
|
16363
|
-
width: Math.max(s.offsetWidth, r >= 0 ? r :
|
|
16364
|
-
height: Math.max(s.offsetHeight, o >= 0 ? o :
|
|
16363
|
+
width: Math.max(s.offsetWidth, r >= 0 ? r : Uc),
|
|
16364
|
+
height: Math.max(s.offsetHeight, o >= 0 ? o : jc)
|
|
16365
16365
|
};
|
|
16366
16366
|
this.containerData = l, ns(i, {
|
|
16367
16367
|
width: l.width,
|
|
@@ -16413,7 +16413,7 @@ var WY = {
|
|
|
16413
16413
|
(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.limitCanvas(!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, ns(this.canvas, tt({
|
|
16414
16414
|
width: s.width,
|
|
16415
16415
|
height: s.height
|
|
16416
|
-
},
|
|
16416
|
+
}, Ti({
|
|
16417
16417
|
translateX: s.left,
|
|
16418
16418
|
translateY: s.top
|
|
16419
16419
|
}))), this.renderImage(a), this.cropped && this.limited && this.limitCropBox(!0, !0);
|
|
@@ -16428,7 +16428,7 @@ var WY = {
|
|
|
16428
16428
|
}), ns(this.image, tt({
|
|
16429
16429
|
width: s.width,
|
|
16430
16430
|
height: s.height
|
|
16431
|
-
},
|
|
16431
|
+
}, Ti(tt({
|
|
16432
16432
|
translateX: s.left,
|
|
16433
16433
|
translateY: s.top
|
|
16434
16434
|
}, s)))), a && this.output();
|
|
@@ -16450,10 +16450,10 @@ var WY = {
|
|
|
16450
16450
|
},
|
|
16451
16451
|
renderCropBox: function() {
|
|
16452
16452
|
var a = this.options, e = this.containerData, s = this.cropBoxData;
|
|
16453
|
-
(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 &&
|
|
16453
|
+
(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 && Oi(this.face, Pi, s.width >= e.width && s.height >= e.height ? Rc : Vl), ns(this.cropBox, tt({
|
|
16454
16454
|
width: s.width,
|
|
16455
16455
|
height: s.height
|
|
16456
|
-
},
|
|
16456
|
+
}, Ti({
|
|
16457
16457
|
translateX: s.left,
|
|
16458
16458
|
translateY: s.top
|
|
16459
16459
|
}))), this.cropped && this.limited && this.limitCanvas(!0, !0), this.disabled || this.output();
|
|
@@ -16468,7 +16468,7 @@ var WY = {
|
|
|
16468
16468
|
var l = s;
|
|
16469
16469
|
typeof s == "string" ? l = a.ownerDocument.querySelectorAll(s) : s.querySelector && (l = [s]), this.previews = l, ut(l, function(n) {
|
|
16470
16470
|
var d = document.createElement("img");
|
|
16471
|
-
|
|
16471
|
+
Oi(n, gr, {
|
|
16472
16472
|
width: n.offsetWidth,
|
|
16473
16473
|
height: n.offsetHeight,
|
|
16474
16474
|
html: n.innerHTML
|
|
@@ -16490,7 +16490,7 @@ var WY = {
|
|
|
16490
16490
|
!this.cropped || this.disabled || (ns(this.viewBoxImage, tt({
|
|
16491
16491
|
width: o,
|
|
16492
16492
|
height: l
|
|
16493
|
-
},
|
|
16493
|
+
}, Ti(tt({
|
|
16494
16494
|
translateX: -n,
|
|
16495
16495
|
translateY: -d
|
|
16496
16496
|
}, a)))), ut(this.previews, function(c) {
|
|
@@ -16501,7 +16501,7 @@ var WY = {
|
|
|
16501
16501
|
}), ns(c.getElementsByTagName("img")[0], tt({
|
|
16502
16502
|
width: o * F,
|
|
16503
16503
|
height: l * F
|
|
16504
|
-
},
|
|
16504
|
+
}, Ti(tt({
|
|
16505
16505
|
translateX: -n * F,
|
|
16506
16506
|
translateY: -d * F
|
|
16507
16507
|
}, a))));
|
|
@@ -16537,7 +16537,7 @@ var WY = {
|
|
|
16537
16537
|
}
|
|
16538
16538
|
},
|
|
16539
16539
|
dblclick: function() {
|
|
16540
|
-
this.disabled || this.options.dragMode ===
|
|
16540
|
+
this.disabled || this.options.dragMode === Nc || this.setDragMode(TY(this.dragBox, xn) ? Lc : pl);
|
|
16541
16541
|
},
|
|
16542
16542
|
wheel: function(a) {
|
|
16543
16543
|
var e = this, s = Number(this.options.wheelZoomRatio) || 0.1, i = 1;
|
|
@@ -16552,10 +16552,10 @@ var WY = {
|
|
|
16552
16552
|
var i = this.options, r = this.pointers, o;
|
|
16553
16553
|
a.changedTouches ? ut(a.changedTouches, function(l) {
|
|
16554
16554
|
r[l.identifier] = qr(l);
|
|
16555
|
-
}) : r[a.pointerId || 0] = qr(a), Object.keys(r).length > 1 && i.zoomable && i.zoomOnTouch ? o =
|
|
16555
|
+
}) : r[a.pointerId || 0] = qr(a), Object.keys(r).length > 1 && i.zoomable && i.zoomOnTouch ? o = zc : o = Kn(a.target, Pi), bY.test(o) && Qs(this.element, Sn, {
|
|
16556
16556
|
originalEvent: a,
|
|
16557
16557
|
action: o
|
|
16558
|
-
}) !== !1 && (a.preventDefault(), this.action = o, this.cropping = !1, o ===
|
|
16558
|
+
}) !== !1 && (a.preventDefault(), this.action = o, this.cropping = !1, o === Oc && (this.cropping = !0, vt(this.dragBox, Hr)));
|
|
16559
16559
|
}
|
|
16560
16560
|
},
|
|
16561
16561
|
cropMove: function(a) {
|
|
@@ -16636,7 +16636,7 @@ var WY = {
|
|
|
16636
16636
|
}
|
|
16637
16637
|
T(Rs), f += x.y, f < 0 && (l = Za, f = -f, c -= f), n && (u = f * n, d += (r.width - u) / 2);
|
|
16638
16638
|
break;
|
|
16639
|
-
case
|
|
16639
|
+
case gi:
|
|
16640
16640
|
if (n) {
|
|
16641
16641
|
if (x.y <= 0 && (c <= F || Y >= w)) {
|
|
16642
16642
|
A = !1;
|
|
@@ -16645,9 +16645,9 @@ var WY = {
|
|
|
16645
16645
|
T(Za), f -= x.y, c += x.y, u = f * n;
|
|
16646
16646
|
} else
|
|
16647
16647
|
T(Za), T(Xs), x.x >= 0 ? Y < w ? u += x.x : x.y <= 0 && c <= F && (A = !1) : u += x.x, x.y <= 0 ? c > F && (f -= x.y, c += x.y) : (f -= x.y, c += x.y);
|
|
16648
|
-
u < 0 && f < 0 ? (l =
|
|
16648
|
+
u < 0 && f < 0 ? (l = Xi, f = -f, u = -u, c -= f, d -= u) : u < 0 ? (l = qi, u = -u, d -= u) : f < 0 && (l = Yi, f = -f, c -= f);
|
|
16649
16649
|
break;
|
|
16650
|
-
case
|
|
16650
|
+
case qi:
|
|
16651
16651
|
if (n) {
|
|
16652
16652
|
if (x.y <= 0 && (c <= F || d <= h)) {
|
|
16653
16653
|
A = !1;
|
|
@@ -16656,9 +16656,9 @@ var WY = {
|
|
|
16656
16656
|
T(Za), f -= x.y, c += x.y, u = f * n, d += r.width - u;
|
|
16657
16657
|
} else
|
|
16658
16658
|
T(Za), T(As), x.x <= 0 ? d > h ? (u -= x.x, d += x.x) : x.y <= 0 && c <= F && (A = !1) : (u -= x.x, d += x.x), x.y <= 0 ? c > F && (f -= x.y, c += x.y) : (f -= x.y, c += x.y);
|
|
16659
|
-
u < 0 && f < 0 ? (l =
|
|
16659
|
+
u < 0 && f < 0 ? (l = Yi, f = -f, u = -u, c -= f, d -= u) : u < 0 ? (l = gi, u = -u, d -= u) : f < 0 && (l = Xi, f = -f, c -= f);
|
|
16660
16660
|
break;
|
|
16661
|
-
case
|
|
16661
|
+
case Xi:
|
|
16662
16662
|
if (n) {
|
|
16663
16663
|
if (x.x <= 0 && (d <= h || v >= g)) {
|
|
16664
16664
|
A = !1;
|
|
@@ -16667,9 +16667,9 @@ var WY = {
|
|
|
16667
16667
|
T(As), u -= x.x, d += x.x, f = u / n;
|
|
16668
16668
|
} else
|
|
16669
16669
|
T(Rs), T(As), x.x <= 0 ? d > h ? (u -= x.x, d += x.x) : x.y >= 0 && v >= g && (A = !1) : (u -= x.x, d += x.x), x.y >= 0 ? v < g && (f += x.y) : f += x.y;
|
|
16670
|
-
u < 0 && f < 0 ? (l =
|
|
16670
|
+
u < 0 && f < 0 ? (l = gi, f = -f, u = -u, c -= f, d -= u) : u < 0 ? (l = Yi, u = -u, d -= u) : f < 0 && (l = qi, f = -f, c -= f);
|
|
16671
16671
|
break;
|
|
16672
|
-
case
|
|
16672
|
+
case Yi:
|
|
16673
16673
|
if (n) {
|
|
16674
16674
|
if (x.x >= 0 && (Y >= w || v >= g)) {
|
|
16675
16675
|
A = !1;
|
|
@@ -16678,20 +16678,20 @@ var WY = {
|
|
|
16678
16678
|
T(Xs), u += x.x, f = u / n;
|
|
16679
16679
|
} else
|
|
16680
16680
|
T(Rs), T(Xs), x.x >= 0 ? Y < w ? u += x.x : x.y >= 0 && v >= g && (A = !1) : u += x.x, x.y >= 0 ? v < g && (f += x.y) : f += x.y;
|
|
16681
|
-
u < 0 && f < 0 ? (l =
|
|
16681
|
+
u < 0 && f < 0 ? (l = qi, f = -f, u = -u, c -= f, d -= u) : u < 0 ? (l = Xi, u = -u, d -= u) : f < 0 && (l = gi, f = -f, c -= f);
|
|
16682
16682
|
break;
|
|
16683
|
-
case
|
|
16683
|
+
case Rc:
|
|
16684
16684
|
this.move(x.x, x.y), A = !1;
|
|
16685
16685
|
break;
|
|
16686
|
-
case
|
|
16686
|
+
case zc:
|
|
16687
16687
|
this.zoom(BY(o), a), A = !1;
|
|
16688
16688
|
break;
|
|
16689
|
-
case
|
|
16689
|
+
case Oc:
|
|
16690
16690
|
if (!x.x || !x.y) {
|
|
16691
16691
|
A = !1;
|
|
16692
16692
|
break;
|
|
16693
16693
|
}
|
|
16694
|
-
X =
|
|
16694
|
+
X = Zc(this.cropper), d = b.startX - X.left, c = b.startY - X.top, u = r.minWidth, f = r.minHeight, x.x > 0 ? l = x.y > 0 ? Yi : gi : x.x < 0 && (d -= u, l = x.y > 0 ? Xi : qi), x.y < 0 && (c -= f), this.cropped || (ba(this.cropBox, Tt), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
|
|
16695
16695
|
break;
|
|
16696
16696
|
}
|
|
16697
16697
|
A && (r.width = u, r.height = f, r.left = d, r.top = c, this.action = l, this.renderCropBox()), ut(o, function(R) {
|
|
@@ -16792,7 +16792,7 @@ var WY = {
|
|
|
16792
16792
|
}) === !1)
|
|
16793
16793
|
return this;
|
|
16794
16794
|
if (s) {
|
|
16795
|
-
var f = this.pointers, Y =
|
|
16795
|
+
var f = this.pointers, Y = Zc(this.cropper), v = f && Object.keys(f).length ? PY(f) : {
|
|
16796
16796
|
pageX: s.pageX,
|
|
16797
16797
|
pageY: s.pageY
|
|
16798
16798
|
};
|
|
@@ -16985,7 +16985,7 @@ var WY = {
|
|
|
16985
16985
|
var y = v / l;
|
|
16986
16986
|
C.push(D * y, O * y, M * y, k * y);
|
|
16987
16987
|
}
|
|
16988
|
-
return w.drawImage.apply(w, [s].concat(
|
|
16988
|
+
return w.drawImage.apply(w, [s].concat(Pc(C.map(function(S) {
|
|
16989
16989
|
return Math.floor(Js(S));
|
|
16990
16990
|
})))), F;
|
|
16991
16991
|
},
|
|
@@ -17006,12 +17006,12 @@ var WY = {
|
|
|
17006
17006
|
setDragMode: function(a) {
|
|
17007
17007
|
var e = this.options, s = this.dragBox, i = this.face;
|
|
17008
17008
|
if (this.ready && !this.disabled) {
|
|
17009
|
-
var r = a === pl, o = e.movable && a ===
|
|
17010
|
-
a = r || o ? a :
|
|
17009
|
+
var r = a === pl, o = e.movable && a === Lc;
|
|
17010
|
+
a = r || o ? a : Nc, e.dragMode = a, Oi(s, Pi, a), Hs(s, xn, r), Hs(s, wn, o), e.cropBoxMovable || (Oi(i, Pi, a), Hs(i, xn, r), Hs(i, wn, o));
|
|
17011
17011
|
}
|
|
17012
17012
|
return this;
|
|
17013
17013
|
}
|
|
17014
|
-
}, tX = wa.Cropper,
|
|
17014
|
+
}, tX = wa.Cropper, Qc = /* @__PURE__ */ function() {
|
|
17015
17015
|
function t(a) {
|
|
17016
17016
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
17017
17017
|
if (VY(this, t), !a || !wY.test(a.tagName))
|
|
@@ -17109,7 +17109,7 @@ var WY = {
|
|
|
17109
17109
|
var e = this.element, s = this.options, i = this.image, r = e.parentNode, o = document.createElement("div");
|
|
17110
17110
|
o.innerHTML = kY;
|
|
17111
17111
|
var l = o.querySelector(".".concat(et, "-container")), n = l.querySelector(".".concat(et, "-canvas")), d = l.querySelector(".".concat(et, "-drag-box")), c = l.querySelector(".".concat(et, "-crop-box")), u = c.querySelector(".".concat(et, "-face"));
|
|
17112
|
-
this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = c, this.viewBox = l.querySelector(".".concat(et, "-view-box")), this.face = u, n.appendChild(i), vt(e, Tt), r.insertBefore(l, e.nextSibling), ba(i, pd), this.initPreview(), this.bind(), s.initialAspectRatio = Math.max(0, s.initialAspectRatio) || NaN, s.aspectRatio = Math.max(0, s.aspectRatio) || NaN, s.viewMode = Math.max(0, Math.min(3, Math.round(s.viewMode))) || 0, vt(c, Tt), s.guides || vt(c.getElementsByClassName("".concat(et, "-dashed")), Tt), s.center || vt(c.getElementsByClassName("".concat(et, "-center")), Tt), s.background && vt(l, "".concat(et, "-bg")), s.highlight || vt(u, YY), s.cropBoxMovable && (vt(u, wn),
|
|
17112
|
+
this.container = r, this.cropper = l, this.canvas = n, this.dragBox = d, this.cropBox = c, this.viewBox = l.querySelector(".".concat(et, "-view-box")), this.face = u, n.appendChild(i), vt(e, Tt), r.insertBefore(l, e.nextSibling), ba(i, pd), this.initPreview(), this.bind(), s.initialAspectRatio = Math.max(0, s.initialAspectRatio) || NaN, s.aspectRatio = Math.max(0, s.aspectRatio) || NaN, s.viewMode = Math.max(0, Math.min(3, Math.round(s.viewMode))) || 0, vt(c, Tt), s.guides || vt(c.getElementsByClassName("".concat(et, "-dashed")), Tt), s.center || vt(c.getElementsByClassName("".concat(et, "-center")), Tt), s.background && vt(l, "".concat(et, "-bg")), s.highlight || vt(u, YY), s.cropBoxMovable && (vt(u, wn), Oi(u, Pi, Vl)), s.cropBoxResizable || (vt(c.getElementsByClassName("".concat(et, "-line")), Tt), vt(c.getElementsByClassName("".concat(et, "-point")), Tt)), this.render(), this.ready = !0, this.setDragMode(s.dragMode), s.autoCrop && this.crop(), this.setData(s.data), Kt(s.ready) && ea(e, qd, s.ready, {
|
|
17113
17113
|
once: !0
|
|
17114
17114
|
}), Qs(e, qd);
|
|
17115
17115
|
}
|
|
@@ -17148,7 +17148,7 @@ var WY = {
|
|
|
17148
17148
|
}
|
|
17149
17149
|
}]);
|
|
17150
17150
|
}();
|
|
17151
|
-
tt(
|
|
17151
|
+
tt(Qc.prototype, WY, GY, ZY, JY, QY, eX);
|
|
17152
17152
|
const aX = { class: "d-flex flex-column" }, sX = {
|
|
17153
17153
|
key: 0,
|
|
17154
17154
|
class: "d-flex w-100 align-center justify-center"
|
|
@@ -17231,7 +17231,7 @@ const aX = { class: "d-flex flex-column" }, sX = {
|
|
|
17231
17231
|
for (const A in F)
|
|
17232
17232
|
Object.prototype.hasOwnProperty.call(w, A) && w[A] !== void 0 && (g[A] = w[A]);
|
|
17233
17233
|
Ht(() => {
|
|
17234
|
-
te(i.value) || (s.value = new
|
|
17234
|
+
te(i.value) || (s.value = new Qc(i.value, g), setTimeout(() => {
|
|
17235
17235
|
r.value = !1;
|
|
17236
17236
|
}, 1e3));
|
|
17237
17237
|
});
|
|
@@ -17254,10 +17254,10 @@ const aX = { class: "d-flex flex-column" }, sX = {
|
|
|
17254
17254
|
], 4)
|
|
17255
17255
|
]));
|
|
17256
17256
|
}
|
|
17257
|
-
}), oX = 16 / 9,
|
|
17257
|
+
}), oX = 16 / 9, em = /* @__PURE__ */ G({
|
|
17258
17258
|
__name: "AssetImageRoiSelect",
|
|
17259
17259
|
setup(t) {
|
|
17260
|
-
const { showRecordWas: a, showErrorsDefault: e } = He(), s = { overflow: "hidden", maxHeight: "calc(100vh - 160px)" }, i =
|
|
17260
|
+
const { showRecordWas: a, showErrorsDefault: e } = He(), s = { overflow: "hidden", maxHeight: "calc(100vh - 160px)" }, i = Kc(), { damClient: r } = nt(), o = K(null), l = _(() => {
|
|
17261
17261
|
var h;
|
|
17262
17262
|
return i.imageFile && ((h = i.imageFile.links) != null && h.image_detail) ? i.imageFile.links.image_detail.url : "";
|
|
17263
17263
|
}), n = () => {
|
|
@@ -17322,7 +17322,7 @@ const aX = { class: "d-flex flex-column" }, sX = {
|
|
|
17322
17322
|
}, fX = {
|
|
17323
17323
|
key: 1,
|
|
17324
17324
|
class: "w-100 h-100 pa-2 d-flex align-center justify-center"
|
|
17325
|
-
}, VX = { class: "h-100 d-flex dam-image-detail__sidebar system-border-l" },
|
|
17325
|
+
}, VX = { class: "h-100 d-flex dam-image-detail__sidebar system-border-l" }, tm = /* @__PURE__ */ G({
|
|
17326
17326
|
__name: "AssetDetailDialog",
|
|
17327
17327
|
props: {
|
|
17328
17328
|
queueKey: {},
|
|
@@ -17360,7 +17360,7 @@ const aX = { class: "d-flex flex-column" }, sX = {
|
|
|
17360
17360
|
eager: ""
|
|
17361
17361
|
}, {
|
|
17362
17362
|
default: V(() => [
|
|
17363
|
-
p(l) ? (q(), E(
|
|
17363
|
+
p(l) ? (q(), E(Ic, {
|
|
17364
17364
|
key: 0,
|
|
17365
17365
|
onCloseDialog: n
|
|
17366
17366
|
})) : p(i) ? (q(), E(ze, {
|
|
@@ -17434,7 +17434,7 @@ const aX = { class: "d-flex flex-column" }, sX = {
|
|
|
17434
17434
|
L("div", uX, [
|
|
17435
17435
|
L("div", cX, [
|
|
17436
17436
|
p(o) === p(Ct).ROI ? (q(), P("div", mX, [
|
|
17437
|
-
m(
|
|
17437
|
+
m(em)
|
|
17438
17438
|
])) : (q(), P("div", fX, [
|
|
17439
17439
|
m(rl, {
|
|
17440
17440
|
"asset-type": f.value,
|
|
@@ -17743,7 +17743,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
17743
17743
|
]),
|
|
17744
17744
|
_: 1
|
|
17745
17745
|
}),
|
|
17746
|
-
f.value && p(Gi)(Y.value) ? (q(), E(
|
|
17746
|
+
f.value && p(Gi)(Y.value) ? (q(), E(Sc, {
|
|
17747
17747
|
key: 0,
|
|
17748
17748
|
file: Y.value
|
|
17749
17749
|
}, null, 8, ["file"])) : N("", !0)
|
|
@@ -17858,7 +17858,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
17858
17858
|
class: "sidebar-info__tabs"
|
|
17859
17859
|
}, {
|
|
17860
17860
|
default: V(() => [
|
|
17861
|
-
m(
|
|
17861
|
+
m($i, {
|
|
17862
17862
|
value: p(Ct).Info,
|
|
17863
17863
|
"data-cy": "button-meta"
|
|
17864
17864
|
}, {
|
|
@@ -17867,7 +17867,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
17867
17867
|
]),
|
|
17868
17868
|
_: 1
|
|
17869
17869
|
}, 8, ["value"]),
|
|
17870
|
-
o.isImage && o.enableRoiTab ? (q(), E(
|
|
17870
|
+
o.isImage && o.enableRoiTab ? (q(), E($i, {
|
|
17871
17871
|
key: 0,
|
|
17872
17872
|
value: p(Ct).ROI,
|
|
17873
17873
|
"data-cy": "button-focus"
|
|
@@ -17892,19 +17892,19 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
17892
17892
|
}, null, 8, ["queue-key", "ext-system", "is-active", "asset-type"])
|
|
17893
17893
|
])) : N("", !0),
|
|
17894
17894
|
o.isImage && p(r) === p(Ct).ROI ? (q(), P("div", AX, [
|
|
17895
|
-
m(
|
|
17895
|
+
m(Ec, {
|
|
17896
17896
|
"queue-key": o.queueKey,
|
|
17897
17897
|
"is-active": p(r) === p(Ct).ROI
|
|
17898
17898
|
}, null, 8, ["queue-key", "is-active"])
|
|
17899
17899
|
])) : N("", !0)
|
|
17900
17900
|
]),
|
|
17901
17901
|
L("div", yX, [
|
|
17902
|
-
m(
|
|
17902
|
+
m(Mc, { "queue-key": o.queueKey }, null, 8, ["queue-key"])
|
|
17903
17903
|
])
|
|
17904
17904
|
])
|
|
17905
17905
|
]));
|
|
17906
17906
|
}
|
|
17907
|
-
}),
|
|
17907
|
+
}), am = /* @__PURE__ */ G({
|
|
17908
17908
|
__name: "UploadQueueButtonStop",
|
|
17909
17909
|
props: {
|
|
17910
17910
|
isUploading: { type: Boolean },
|
|
@@ -18113,7 +18113,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18113
18113
|
const ne = await Or(j, h.value);
|
|
18114
18114
|
if (!ne[0])
|
|
18115
18115
|
throw new Error("Fatal error updating asset metadata");
|
|
18116
|
-
r("updated"), Bt((Q = ne[0].customData) == null ? void 0 : Q.description) && (Xe = ne[0].customData.description.trim()), ne[0].authors.length > 0 && (Se = (await
|
|
18116
|
+
r("updated"), Bt((Q = ne[0].customData) == null ? void 0 : Q.description) && (Xe = ne[0].customData.description.trim()), ne[0].authors.length > 0 && (Se = (await Vi(j, e.extSystem, ne[0].authors)).map((we) => we.name).join(", ")), s(
|
|
18117
18117
|
"onApply",
|
|
18118
18118
|
h.value.map((pe) => ({
|
|
18119
18119
|
texts: {
|
|
@@ -18154,7 +18154,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18154
18154
|
eager: ""
|
|
18155
18155
|
}, {
|
|
18156
18156
|
default: V(() => [
|
|
18157
|
-
p(c) || !F.value ? (q(), E(
|
|
18157
|
+
p(c) || !F.value ? (q(), E(Ic, {
|
|
18158
18158
|
key: 0,
|
|
18159
18159
|
onCloseDialog: W
|
|
18160
18160
|
})) : F.value ? (q(), E(ze, {
|
|
@@ -18199,7 +18199,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18199
18199
|
]),
|
|
18200
18200
|
_: 1
|
|
18201
18201
|
}, 8, ["active", "variant", "color"]),
|
|
18202
|
-
m(
|
|
18202
|
+
m(am, {
|
|
18203
18203
|
"data-cy": "button-close",
|
|
18204
18204
|
"button-size": 36,
|
|
18205
18205
|
"is-uploading": Ve.value,
|
|
@@ -18212,7 +18212,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18212
18212
|
L("div", _X, [
|
|
18213
18213
|
L("div", SX, [
|
|
18214
18214
|
p(d) === p(Ct).ROI && f.value ? (q(), P("div", DX, [
|
|
18215
|
-
m(
|
|
18215
|
+
m(em)
|
|
18216
18216
|
])) : (q(), P("div", KX, [
|
|
18217
18217
|
L("div", TX, [
|
|
18218
18218
|
F.value ? (q(), E(rl, {
|
|
@@ -18303,7 +18303,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18303
18303
|
l.value !== !0 && (l.value = !0, (v = r.value) == null || v.click(), setTimeout(() => {
|
|
18304
18304
|
l.value = !1;
|
|
18305
18305
|
}, NX));
|
|
18306
|
-
}, { checkFormatsAndSizes: d } =
|
|
18306
|
+
}, { checkFormatsAndSizes: d } = nc(s.accept, s.maxSizes), c = (v) => {
|
|
18307
18307
|
if (!s.multiple && v.length > 0) {
|
|
18308
18308
|
const F = d([v[0]]);
|
|
18309
18309
|
i("filesInput", F);
|
|
@@ -18540,7 +18540,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18540
18540
|
}, me = (de) => {
|
|
18541
18541
|
const ke = Y.value;
|
|
18542
18542
|
z(ke) || (W.value = ke.extSystem, X.addByFiles(s.queueKey, ke.extSystem, ke.licence, de), x.value = s.queueKey);
|
|
18543
|
-
}, { uploadSizes: Te, uploadAccept: Xe } =
|
|
18543
|
+
}, { uploadSizes: Te, uploadAccept: Xe } = lc(
|
|
18544
18544
|
qe.Image,
|
|
18545
18545
|
Y.value.extSystemConfig
|
|
18546
18546
|
), Se = async (de, ke, qt = !1) => {
|
|
@@ -18577,7 +18577,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18577
18577
|
if (!de.value[0] || !de.value[0].mainFile) return;
|
|
18578
18578
|
try {
|
|
18579
18579
|
const ma = await rs(fe, de.value[0].id);
|
|
18580
|
-
Bt((Ue = ma.metadata.customData) == null ? void 0 : Ue.description) && (qt = ma.metadata.customData.description.trim()), ma.authors.length > 0 && (ca = (await
|
|
18580
|
+
Bt((Ue = ma.metadata.customData) == null ? void 0 : Ue.description) && (qt = ma.metadata.customData.description.trim()), ma.authors.length > 0 && (ca = (await Vi(
|
|
18581
18581
|
fe,
|
|
18582
18582
|
ke.selectedSelectConfig.extSystem,
|
|
18583
18583
|
ma.authors
|
|
@@ -18615,7 +18615,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18615
18615
|
if (!te(b.imageDetail)) {
|
|
18616
18616
|
D.value = !0;
|
|
18617
18617
|
try {
|
|
18618
|
-
const de = b.imageDetail.id ? await
|
|
18618
|
+
const de = b.imageDetail.id ? await Cc(g, b.imageDetail.id, b.imageDetail) : await bc(g, b.imageDetail);
|
|
18619
18619
|
U.value = !1, r.value = de.id, b.setImageDetail(null), await Se(de, de.id, !0), i("afterMetadataSaveSuccess"), l.value(de.id);
|
|
18620
18620
|
} catch (de) {
|
|
18621
18621
|
h(de);
|
|
@@ -18627,7 +18627,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18627
18627
|
if (!te(r.value)) {
|
|
18628
18628
|
if (s.callDeleteApiOnRemove) {
|
|
18629
18629
|
try {
|
|
18630
|
-
await
|
|
18630
|
+
await xc(g, r.value), Q();
|
|
18631
18631
|
} catch (de) {
|
|
18632
18632
|
h(de);
|
|
18633
18633
|
}
|
|
@@ -18652,7 +18652,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18652
18652
|
}, Ta = K(null), $s = () => {
|
|
18653
18653
|
var de;
|
|
18654
18654
|
(de = Ta.value) == null || de.confirm();
|
|
18655
|
-
},
|
|
18655
|
+
}, vi = () => {
|
|
18656
18656
|
u();
|
|
18657
18657
|
}, Wa = _(() => U.value || H.value || M.value || x.value === s.queueKey), Fs = _(() => !te(d.value));
|
|
18658
18658
|
return Ye(
|
|
@@ -18719,7 +18719,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18719
18719
|
onFilesInput: me
|
|
18720
18720
|
}, {
|
|
18721
18721
|
activator: V(({ props: Ue }) => [
|
|
18722
|
-
m(se,
|
|
18722
|
+
m(se, mm(fm(Ue)), {
|
|
18723
18723
|
default: V(() => [
|
|
18724
18724
|
$(I(p(v)("common.damImage.image.button.upload")), 1)
|
|
18725
18725
|
]),
|
|
@@ -18735,7 +18735,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18735
18735
|
size: "x-small",
|
|
18736
18736
|
icon: "",
|
|
18737
18737
|
disabled: Fs.value,
|
|
18738
|
-
onClick: Z(
|
|
18738
|
+
onClick: Z(vi, ["stop"])
|
|
18739
18739
|
}, {
|
|
18740
18740
|
default: V(() => [
|
|
18741
18741
|
m(re, { icon: "mdi-dots-horizontal" }),
|
|
@@ -18881,7 +18881,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18881
18881
|
onOnClose: Ae
|
|
18882
18882
|
}, null, 8, ["modelValue", "expand", "saving", "loading"])
|
|
18883
18883
|
], 2),
|
|
18884
|
-
m(
|
|
18884
|
+
m(Ou, {
|
|
18885
18885
|
modelValue: H.value,
|
|
18886
18886
|
"onUpdate:modelValue": ke[4] || (ke[4] = (Ue) => H.value = Ue),
|
|
18887
18887
|
"select-licences": de.selectLicences,
|
|
@@ -18891,7 +18891,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18891
18891
|
"return-type": "asset",
|
|
18892
18892
|
onOnConfirm: ne
|
|
18893
18893
|
}, null, 8, ["modelValue", "select-licences", "asset-type"]),
|
|
18894
|
-
p(Le) === de.queueKey ? (q(), E(
|
|
18894
|
+
p(Le) === de.queueKey ? (q(), E(tm, {
|
|
18895
18895
|
key: 0,
|
|
18896
18896
|
"queue-key": de.queueKey,
|
|
18897
18897
|
"ext-system": p(W)
|
|
@@ -18950,7 +18950,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18950
18950
|
r.value = "error";
|
|
18951
18951
|
return;
|
|
18952
18952
|
}
|
|
18953
|
-
if (!
|
|
18953
|
+
if (!Pu(f.value)) {
|
|
18954
18954
|
r.value = "uploadNotAllowed";
|
|
18955
18955
|
return;
|
|
18956
18956
|
}
|
|
@@ -18964,7 +18964,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18964
18964
|
r.value = "error";
|
|
18965
18965
|
}
|
|
18966
18966
|
r.value !== "error" && (r.value = "ready");
|
|
18967
|
-
}),
|
|
18967
|
+
}), Ei(tr, f);
|
|
18968
18968
|
const Y = K(null);
|
|
18969
18969
|
return a({
|
|
18970
18970
|
metadataConfirm: () => {
|
|
@@ -18993,7 +18993,7 @@ const vX = { key: 0 }, hX = /* @__PURE__ */ G({
|
|
|
18993
18993
|
},
|
|
18994
18994
|
emits: ["editAsset", "removeItem"],
|
|
18995
18995
|
setup(t, { emit: a }) {
|
|
18996
|
-
const e = t, s = a, i = er(), { t: r } = ee(), o = _(() => i.images[e.index]), { v$: l } =
|
|
18996
|
+
const e = t, s = a, i = er(), { t: r } = ee(), o = _(() => i.images[e.index]), { v$: l } = kc(o), n = () => {
|
|
18997
18997
|
te(o.value) || z(o.value) || s("editAsset", o.value.dam.damId);
|
|
18998
18998
|
}, d = () => {
|
|
18999
18999
|
s("removeItem", e.index);
|
|
@@ -19543,7 +19543,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
19543
19543
|
L("div", SA, [
|
|
19544
19544
|
m(On, { class: "sidebar-info__tabs" }, {
|
|
19545
19545
|
default: V(() => [
|
|
19546
|
-
m(
|
|
19546
|
+
m($i, null, {
|
|
19547
19547
|
default: V(() => [
|
|
19548
19548
|
$(I(p(r)("common.damImage.asset.massOperations.title")), 1)
|
|
19549
19549
|
]),
|
|
@@ -19899,7 +19899,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
19899
19899
|
Ve.authorIds.forEach((me) => {
|
|
19900
19900
|
W.add(me);
|
|
19901
19901
|
});
|
|
19902
|
-
}), W.size > 0 && (await
|
|
19902
|
+
}), W.size > 0 && (await Vi(b, e.extSystem, [...W])).forEach((me) => {
|
|
19903
19903
|
J.set(me.id, me.name);
|
|
19904
19904
|
});
|
|
19905
19905
|
} catch (Ve) {
|
|
@@ -19989,7 +19989,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
19989
19989
|
L("div", null, I(p(h)("common.damImage.upload.uploading")) + " " + I(f.value + 1) + "/" + I(c.value), 1)
|
|
19990
19990
|
])) : N("", !0),
|
|
19991
19991
|
L("div", ZA, [
|
|
19992
|
-
ra(m(
|
|
19992
|
+
ra(m(Mi, {
|
|
19993
19993
|
vertical: "",
|
|
19994
19994
|
class: "mx-4 my-2"
|
|
19995
19995
|
}, null, 512), [
|
|
@@ -20064,7 +20064,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20064
20064
|
]),
|
|
20065
20065
|
_: 1
|
|
20066
20066
|
}, 8, ["file-input-key", "accept", "max-sizes"]),
|
|
20067
|
-
m(
|
|
20067
|
+
m(Mi, {
|
|
20068
20068
|
vertical: "",
|
|
20069
20069
|
class: "mx-4 my-2"
|
|
20070
20070
|
}),
|
|
@@ -20092,7 +20092,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20092
20092
|
]),
|
|
20093
20093
|
_: 1
|
|
20094
20094
|
}, 8, ["active", "variant", "color", "onClick"]),
|
|
20095
|
-
m(
|
|
20095
|
+
m(am, {
|
|
20096
20096
|
"data-cy": "button-close",
|
|
20097
20097
|
"button-size": 36,
|
|
20098
20098
|
"is-uploading": Y.value,
|
|
@@ -20255,13 +20255,13 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20255
20255
|
);
|
|
20256
20256
|
if (z(o) || z(o.value))
|
|
20257
20257
|
throw new Error("Fatal error, parent component doesn't provide necessary config ext system config.");
|
|
20258
|
-
const l = Wi(s.configName), { imageClient: n } = l, { showErrorsDefault: d, showValidationError: c } = He(), u = K(null), { uploadSizes: f, uploadAccept: Y } =
|
|
20258
|
+
const l = Wi(s.configName), { imageClient: n } = l, { showErrorsDefault: d, showValidationError: c } = He(), u = K(null), { uploadSizes: f, uploadAccept: Y } = lc(
|
|
20259
20259
|
qe.Image,
|
|
20260
20260
|
o.value.extSystemConfig
|
|
20261
20261
|
), { t: v } = ee(), h = K(!1), F = er(), { images: w, maxPosition: g } = _t(F), A = async () => {
|
|
20262
20262
|
try {
|
|
20263
20263
|
h.value = !0;
|
|
20264
|
-
const fe = await
|
|
20264
|
+
const fe = await yc(n, s.modelValue);
|
|
20265
20265
|
F.setImages(
|
|
20266
20266
|
fe.map((ie) => {
|
|
20267
20267
|
if (z(ie.position)) throw new Error("Image object needs position field!");
|
|
@@ -20299,7 +20299,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20299
20299
|
_e.authorIds.forEach((mt) => {
|
|
20300
20300
|
Ft.add(mt);
|
|
20301
20301
|
});
|
|
20302
|
-
}), Ft.size > 0 && (await
|
|
20302
|
+
}), Ft.size > 0 && (await Vi(y, ie.selectedSelectConfig.extSystem, [
|
|
20303
20303
|
...Ft
|
|
20304
20304
|
])).forEach((mt) => {
|
|
20305
20305
|
Oe.set(mt.id, mt.name);
|
|
@@ -20311,8 +20311,8 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20311
20311
|
var Ta, $s;
|
|
20312
20312
|
g.value++;
|
|
20313
20313
|
const _e = (Ta = Vt.get(gt.id)) == null ? void 0 : Ta.description, mt = [];
|
|
20314
|
-
return ($s = Vt.get(gt.id)) == null || $s.authorIds.forEach((
|
|
20315
|
-
const Wa = Oe.get(
|
|
20314
|
+
return ($s = Vt.get(gt.id)) == null || $s.authorIds.forEach((vi) => {
|
|
20315
|
+
const Wa = Oe.get(vi);
|
|
20316
20316
|
!z(Wa) && Wa.trim().length > 0 && mt.push(Wa);
|
|
20317
20317
|
}), {
|
|
20318
20318
|
key: ts(),
|
|
@@ -20354,7 +20354,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20354
20354
|
), T.value = null, X.stopUpload(s.queueKey));
|
|
20355
20355
|
}, j = () => {
|
|
20356
20356
|
r.value = !0;
|
|
20357
|
-
}, W = da({}, {}, { $scope:
|
|
20357
|
+
}, W = da({}, {}, { $scope: wc }), J = async () => {
|
|
20358
20358
|
if (W.value.$touch(), W.value.$invalid)
|
|
20359
20359
|
return c(), !1;
|
|
20360
20360
|
try {
|
|
@@ -20375,7 +20375,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20375
20375
|
}
|
|
20376
20376
|
if (s.callDeleteApiOnRemove) {
|
|
20377
20377
|
try {
|
|
20378
|
-
await
|
|
20378
|
+
await xc(n, ie.id), F.removeImageByIndex(fe);
|
|
20379
20379
|
} catch (Ae) {
|
|
20380
20380
|
d(Ae);
|
|
20381
20381
|
}
|
|
@@ -20402,9 +20402,9 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20402
20402
|
const fe = Ve.value.querySelector("." + jr);
|
|
20403
20403
|
fe && (Te.value = Jn(fe, [], {
|
|
20404
20404
|
handle: "." + as,
|
|
20405
|
-
ghostClass:
|
|
20406
|
-
dragClass:
|
|
20407
|
-
chosenClass:
|
|
20405
|
+
ghostClass: ic,
|
|
20406
|
+
dragClass: rc,
|
|
20407
|
+
chosenClass: oc,
|
|
20408
20408
|
onEnd: async (ie) => {
|
|
20409
20409
|
z(ie.oldIndex) || z(ie.newIndex) || we(ie.oldIndex, ie.newIndex);
|
|
20410
20410
|
}
|
|
@@ -20450,7 +20450,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20450
20450
|
_: 1
|
|
20451
20451
|
})
|
|
20452
20452
|
]),
|
|
20453
|
-
m(
|
|
20453
|
+
m(Ou, {
|
|
20454
20454
|
modelValue: r.value,
|
|
20455
20455
|
"onUpdate:modelValue": ie[0] || (ie[0] = (Ft) => r.value = Ft),
|
|
20456
20456
|
"select-licences": fe.selectLicences,
|
|
@@ -20496,7 +20496,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20496
20496
|
multiple: "",
|
|
20497
20497
|
onOnApply: B
|
|
20498
20498
|
}, null, 8, ["queue-key", "ext-system", "licence-id", "file-input-key", "accept", "max-sizes"])) : N("", !0),
|
|
20499
|
-
p(C) === fe.queueKey ? (q(), E(
|
|
20499
|
+
p(C) === fe.queueKey ? (q(), E(tm, {
|
|
20500
20500
|
key: 2,
|
|
20501
20501
|
"queue-key": fe.queueKey,
|
|
20502
20502
|
"ext-system": p(x)
|
|
@@ -20545,7 +20545,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20545
20545
|
r.value = "error";
|
|
20546
20546
|
return;
|
|
20547
20547
|
}
|
|
20548
|
-
if (!
|
|
20548
|
+
if (!Pu(f.value)) {
|
|
20549
20549
|
r.value = "uploadNotAllowed";
|
|
20550
20550
|
return;
|
|
20551
20551
|
}
|
|
@@ -20561,7 +20561,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20561
20561
|
r.value !== "error" && (r.value = "ready");
|
|
20562
20562
|
});
|
|
20563
20563
|
const Y = K(null), v = async () => Y.value ? await Y.value.saveImages() : !1;
|
|
20564
|
-
return
|
|
20564
|
+
return Ei(tr, f), a({
|
|
20565
20565
|
saveImages: v
|
|
20566
20566
|
}), (h, F) => r.value === "ready" ? (q(), E(dy, Ot({
|
|
20567
20567
|
key: 0,
|
|
@@ -20590,7 +20590,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20590
20590
|
showSource: { type: Boolean, default: !1 }
|
|
20591
20591
|
},
|
|
20592
20592
|
setup(t) {
|
|
20593
|
-
const a = t, { images: e, modelValue: s } =
|
|
20593
|
+
const a = t, { images: e, modelValue: s } = oi(a), i = K([]), { showErrorsDefault: r } = He(), o = Wi(a.configName), { imageClient: l } = o;
|
|
20594
20594
|
return Ye(
|
|
20595
20595
|
[e, s],
|
|
20596
20596
|
async ([n, d]) => {
|
|
@@ -20600,7 +20600,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20600
20600
|
}
|
|
20601
20601
|
if (d && d.length > 0)
|
|
20602
20602
|
try {
|
|
20603
|
-
i.value = await
|
|
20603
|
+
i.value = await yc(l, d);
|
|
20604
20604
|
} catch (c) {
|
|
20605
20605
|
r(c);
|
|
20606
20606
|
}
|
|
@@ -20687,7 +20687,7 @@ const _A = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, SA = { clas
|
|
|
20687
20687
|
position: 0
|
|
20688
20688
|
};
|
|
20689
20689
|
(M = l.value) != null && M.id && (y.id = l.value.id);
|
|
20690
|
-
const S = (k = l.value) != null && k.id ? await
|
|
20690
|
+
const S = (k = l.value) != null && k.id ? await Cc(u, l.value.id, y) : await bc(u, y);
|
|
20691
20691
|
return l.value = S, s.value = S.id, Promise.resolve({ asset: C, image: S });
|
|
20692
20692
|
} catch (C) {
|
|
20693
20693
|
v(C);
|
|
@@ -20892,7 +20892,7 @@ function Xy(t, a, e = void 0, s = void 0, i = !1, r = void 0, o = void 0, l = vo
|
|
|
20892
20892
|
};
|
|
20893
20893
|
}
|
|
20894
20894
|
function LD(t, a, e, s, i, r) {
|
|
20895
|
-
const o = K(!1), l = K([]), n = K([]), d = K(!1), { resetFilter: c, submitFilter: u } =
|
|
20895
|
+
const o = K(!1), l = K([]), n = K([]), d = K(!1), { resetFilter: c, submitFilter: u } = ui(), { showErrorsDefault: f } = He(), { columnsVisible: Y, pagination: v, updateSortBy: h, columnsAll: F, columnsHidden: w } = Xy(
|
|
20896
20896
|
t,
|
|
20897
20897
|
a,
|
|
20898
20898
|
e,
|
|
@@ -21042,14 +21042,14 @@ const GD = (t, a, e = "", s = {}, i = null, r, o, l = {}) => new Promise((n, d)
|
|
|
21042
21042
|
return Promise.reject(new La(h.status));
|
|
21043
21043
|
if (h.data) {
|
|
21044
21044
|
const F = h.data;
|
|
21045
|
-
if (v.push(...F.data),
|
|
21045
|
+
if (v.push(...F.data), Su(F)) {
|
|
21046
21046
|
if (f.hasNextPage = h.data.hasNextPage, f.hasNextPage)
|
|
21047
21047
|
for (; f.hasNextPage; ) {
|
|
21048
21048
|
f.page++;
|
|
21049
21049
|
const g = (await t().get(Y + kd(f, r), c)).data;
|
|
21050
21050
|
v.push(...g.data), f.hasNextPage = g.hasNextPage;
|
|
21051
21051
|
}
|
|
21052
|
-
} else if (
|
|
21052
|
+
} else if (_u(F)) {
|
|
21053
21053
|
if (f.totalCount = F.totalCount, f.totalCount <= f.rowsPerPage)
|
|
21054
21054
|
return Promise.resolve(v);
|
|
21055
21055
|
const w = [], g = Math.ceil(f.totalCount / f.rowsPerPage);
|
|
@@ -21079,10 +21079,10 @@ const GD = (t, a, e = "", s = {}, i = null, r, o, l = {}) => new Promise((n, d)
|
|
|
21079
21079
|
};
|
|
21080
21080
|
function JD() {
|
|
21081
21081
|
return {
|
|
21082
|
-
isAnzuFatalError:
|
|
21083
|
-
isAnzuApiForbiddenError:
|
|
21084
|
-
isAnzuApiValidationError:
|
|
21085
|
-
isAnzuApiResponseCodeError:
|
|
21082
|
+
isAnzuFatalError: ou,
|
|
21083
|
+
isAnzuApiForbiddenError: lu,
|
|
21084
|
+
isAnzuApiValidationError: du,
|
|
21085
|
+
isAnzuApiResponseCodeError: uu
|
|
21086
21086
|
};
|
|
21087
21087
|
}
|
|
21088
21088
|
const Yr = "/adm/v1/job", Xr = "job";
|
|
@@ -21094,7 +21094,7 @@ function QD(t, a) {
|
|
|
21094
21094
|
const l = Jm(o._resourceName).slice(4).replace("-kind-", "-kind/");
|
|
21095
21095
|
return ho(t, o, Yr + "/:type", { type: l }, a, Xr);
|
|
21096
21096
|
},
|
|
21097
|
-
deleteJob: (o) =>
|
|
21097
|
+
deleteJob: (o) => Ac(t, Yr + "/:id", { id: o }, a, Xr)
|
|
21098
21098
|
};
|
|
21099
21099
|
}
|
|
21100
21100
|
const eK = "jobUserDataDelete";
|
|
@@ -21113,7 +21113,7 @@ function tK(t = []) {
|
|
|
21113
21113
|
}
|
|
21114
21114
|
const aK = {
|
|
21115
21115
|
install(t, a) {
|
|
21116
|
-
t.provide(
|
|
21116
|
+
t.provide(Ld, a.languages.available), t.provide(Nd, a.languages.default), t.component("Acl", XV), t.use(Lf, { componentName: "Notifications" }), Vg(a.image), Ev(a.coreDam), vf(a.collab);
|
|
21117
21117
|
}
|
|
21118
21118
|
}, sK = (t, a) => {
|
|
21119
21119
|
const e = t.indexOf(a);
|
|
@@ -23269,7 +23269,7 @@ const aK = {
|
|
|
23269
23269
|
ABtnSecondary: sr,
|
|
23270
23270
|
ABtnTertiary: sr,
|
|
23271
23271
|
ABtnIcon: sr,
|
|
23272
|
-
AChipNoLink:
|
|
23272
|
+
AChipNoLink: zm
|
|
23273
23273
|
}),
|
|
23274
23274
|
commonDefaults: () => ({
|
|
23275
23275
|
global: {},
|
|
@@ -23380,7 +23380,7 @@ function mK(t) {
|
|
|
23380
23380
|
return t;
|
|
23381
23381
|
}
|
|
23382
23382
|
async function fK() {
|
|
23383
|
-
(await import("./webfontloader-
|
|
23383
|
+
(await import("./webfontloader-DmiWvmlF.js").then((a) => a.w)).load({
|
|
23384
23384
|
google: {
|
|
23385
23385
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
23386
23386
|
}
|
|
@@ -23392,7 +23392,7 @@ function VK() {
|
|
|
23392
23392
|
id: 0,
|
|
23393
23393
|
scheduledAt: Pt(),
|
|
23394
23394
|
priority: 1,
|
|
23395
|
-
status:
|
|
23395
|
+
status: Xu.Default,
|
|
23396
23396
|
result: "",
|
|
23397
23397
|
batchProcessedIterationCount: 0,
|
|
23398
23398
|
finishedAt: null,
|
|
@@ -23433,8 +23433,8 @@ function hK() {
|
|
|
23433
23433
|
return {
|
|
23434
23434
|
initCollab: () => {
|
|
23435
23435
|
var g, A, X, b, x, T, R, H, U;
|
|
23436
|
-
const n = Rn(), d =
|
|
23437
|
-
i.value || !t.value.enabled || (i.value =
|
|
23436
|
+
const n = Rn(), d = Ud(), c = jd(), u = Zd(), f = Wd(), Y = Gd(), v = eu(), h = Jd(), F = Qd(), w = tu();
|
|
23437
|
+
i.value || !t.value.enabled || (i.value = Lm(t.value.socketUrl, {
|
|
23438
23438
|
transports: ["websocket"],
|
|
23439
23439
|
path: "/ws",
|
|
23440
23440
|
forceNew: !0
|
|
@@ -23502,7 +23502,7 @@ function FK() {
|
|
|
23502
23502
|
};
|
|
23503
23503
|
}
|
|
23504
23504
|
function gK(t, a = !1) {
|
|
23505
|
-
const { collabOptions: e } = Zt(), { collabSocket: s, collabFieldLocksState: i, collabFieldDataBufferState: r, collabRoomInfoState: o } = ao(), l = Rn(), n =
|
|
23505
|
+
const { collabOptions: e } = Zt(), { collabSocket: s, collabFieldLocksState: i, collabFieldDataBufferState: r, collabRoomInfoState: o } = ao(), l = Rn(), n = au(), d = K(), c = K(), u = (w, g) => {
|
|
23506
23506
|
w.room !== t || z(g) || z(d.value) || d.value(w.field, g);
|
|
23507
23507
|
}, f = (w) => {
|
|
23508
23508
|
d.value = w, c.value = l.on(u);
|
|
@@ -23580,7 +23580,7 @@ function gK(t, a = !1) {
|
|
|
23580
23580
|
}
|
|
23581
23581
|
};
|
|
23582
23582
|
}
|
|
23583
|
-
const
|
|
23583
|
+
const sm = "/adm/v1/asset-licence", Fl = "assetLicence", n_ = (t, a) => Ms(t, a, sm, {}, Be, Fl), l_ = (t, a, e) => ja(t, sm, {}, a, e, Be, Fl), un = di(Be, Fl);
|
|
23584
23584
|
function d_() {
|
|
23585
23585
|
return oa({
|
|
23586
23586
|
name: {
|
|
@@ -23661,7 +23661,7 @@ const u_ = (t) => {
|
|
|
23661
23661
|
"disable-init-fetch": c.disableInitFetch
|
|
23662
23662
|
}, null, 8, ["modelValue", "selected", "required", "label", "fetch-items", "fetch-items-by-ids", "inner-filter", "multiple", "clearable", "data-cy", "hide-details", "disable-init-fetch"]));
|
|
23663
23663
|
}
|
|
23664
|
-
}),
|
|
23664
|
+
}), im = "/adm/v1/asset-licence-group", gl = "assetLicenceGroup", c_ = (t, a) => Ms(t, a, im, {}, Be, gl, {}, !0), m_ = (t, a, e) => ja(t, im, {}, a, e, Be, gl), f_ = (t) => {
|
|
23665
23665
|
const a = (i) => i.map((r) => ({
|
|
23666
23666
|
title: r.name,
|
|
23667
23667
|
value: r.id
|
|
@@ -23670,7 +23670,7 @@ const u_ = (t) => {
|
|
|
23670
23670
|
fetchItems: async (i, r) => a(await m_(t, i, r)),
|
|
23671
23671
|
fetchItemsByIds: async (i) => a(await c_(t, i))
|
|
23672
23672
|
};
|
|
23673
|
-
}, V_ =
|
|
23673
|
+
}, V_ = di(Be, gl);
|
|
23674
23674
|
function p_() {
|
|
23675
23675
|
return oa({
|
|
23676
23676
|
name: {
|
|
@@ -23722,7 +23722,7 @@ const YK = /* @__PURE__ */ G({
|
|
|
23722
23722
|
"disable-init-fetch": d.disableInitFetch
|
|
23723
23723
|
}, null, 8, ["modelValue", "selected", "required", "label", "fetch-items", "fetch-items-by-ids", "inner-filter", "multiple", "clearable", "data-cy", "hide-details", "disable-init-fetch"]));
|
|
23724
23724
|
}
|
|
23725
|
-
}),
|
|
23725
|
+
}), rm = "/adm/v1/ext-system", ql = "extSystem", v_ = (t, a) => Ms(t, a, rm, {}, Be, ql), h_ = (t, a, e) => ja(t, rm, {}, a, e, Be, ql), F_ = (t) => ({
|
|
23726
23726
|
fetchItems: async (s, i) => (await h_(t, s, i)).map((o) => ({
|
|
23727
23727
|
title: o.slug,
|
|
23728
23728
|
value: o.id
|
|
@@ -23731,7 +23731,7 @@ const YK = /* @__PURE__ */ G({
|
|
|
23731
23731
|
title: r.slug,
|
|
23732
23732
|
value: r.id
|
|
23733
23733
|
}))
|
|
23734
|
-
}), g_ =
|
|
23734
|
+
}), g_ = di(Be, ql);
|
|
23735
23735
|
function q_() {
|
|
23736
23736
|
return oa({
|
|
23737
23737
|
name: {
|
|
@@ -23812,7 +23812,7 @@ const AK = /* @__PURE__ */ G({
|
|
|
23812
23812
|
}), r = () => {
|
|
23813
23813
|
s("blur", i.value);
|
|
23814
23814
|
}, { allExternalProviderAssetTypeOptions: o } = Y_();
|
|
23815
|
-
return (l, n) => (q(), E(
|
|
23815
|
+
return (l, n) => (q(), E(Li, {
|
|
23816
23816
|
modelValue: i.value,
|
|
23817
23817
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => i.value = d),
|
|
23818
23818
|
items: p(o),
|
|
@@ -23861,7 +23861,7 @@ const yK = /* @__PURE__ */ G({
|
|
|
23861
23861
|
}), r = () => {
|
|
23862
23862
|
s("blur", i.value);
|
|
23863
23863
|
}, { allDistributionServiceTypeOptions: o } = X_();
|
|
23864
|
-
return (l, n) => (q(), E(
|
|
23864
|
+
return (l, n) => (q(), E(Li, {
|
|
23865
23865
|
modelValue: i.value,
|
|
23866
23866
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => i.value = d),
|
|
23867
23867
|
items: p(o),
|
|
@@ -23905,7 +23905,7 @@ export {
|
|
|
23905
23905
|
zS as M,
|
|
23906
23906
|
XV as N,
|
|
23907
23907
|
$r as O,
|
|
23908
|
-
|
|
23908
|
+
yu as P,
|
|
23909
23909
|
dD as Q,
|
|
23910
23910
|
uD as R,
|
|
23911
23911
|
cD as S,
|
|
@@ -23917,7 +23917,7 @@ export {
|
|
|
23917
23917
|
pV as Y,
|
|
23918
23918
|
VV as Z,
|
|
23919
23919
|
vS as _,
|
|
23920
|
-
|
|
23920
|
+
Wm as a,
|
|
23921
23921
|
an as a$,
|
|
23922
23922
|
Mp as a0,
|
|
23923
23923
|
pD as a1,
|
|
@@ -23936,14 +23936,14 @@ export {
|
|
|
23936
23936
|
CD as aE,
|
|
23937
23937
|
Ts as aF,
|
|
23938
23938
|
QS as aG,
|
|
23939
|
-
|
|
23940
|
-
|
|
23939
|
+
ui as aH,
|
|
23940
|
+
di as aI,
|
|
23941
23941
|
Kq as aJ,
|
|
23942
23942
|
He as aK,
|
|
23943
23943
|
JD as aL,
|
|
23944
23944
|
Xy as aM,
|
|
23945
23945
|
Ui as aN,
|
|
23946
|
-
|
|
23946
|
+
fc as aO,
|
|
23947
23947
|
Bp as aP,
|
|
23948
23948
|
Np as aQ,
|
|
23949
23949
|
Lp as aR,
|
|
@@ -23955,9 +23955,9 @@ export {
|
|
|
23955
23955
|
Jt as aX,
|
|
23956
23956
|
vg as aY,
|
|
23957
23957
|
Fg as aZ,
|
|
23958
|
-
|
|
23958
|
+
lc as a_,
|
|
23959
23959
|
XD as aa,
|
|
23960
|
-
|
|
23960
|
+
wu as ab,
|
|
23961
23961
|
xD as ac,
|
|
23962
23962
|
_v as ad,
|
|
23963
23963
|
wD as ae,
|
|
@@ -23975,7 +23975,7 @@ export {
|
|
|
23975
23975
|
Ut as aq,
|
|
23976
23976
|
rr as ar,
|
|
23977
23977
|
lD as as,
|
|
23978
|
-
|
|
23978
|
+
Ou as at,
|
|
23979
23979
|
zD as au,
|
|
23980
23980
|
sg as av,
|
|
23981
23981
|
XK as aw,
|
|
@@ -23998,25 +23998,25 @@ export {
|
|
|
23998
23998
|
zv as bB,
|
|
23999
23999
|
Lv as bC,
|
|
24000
24000
|
Nv as bD,
|
|
24001
|
-
|
|
24001
|
+
Ku as bE,
|
|
24002
24002
|
vr as bF,
|
|
24003
|
-
|
|
24003
|
+
Dc as bG,
|
|
24004
24004
|
jD as bH,
|
|
24005
24005
|
HD as bI,
|
|
24006
24006
|
WD as bJ,
|
|
24007
24007
|
xe as bK,
|
|
24008
24008
|
fn as bL,
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
|
|
24009
|
+
si as bM,
|
|
24010
|
+
Ni as bN,
|
|
24011
|
+
zd as bO,
|
|
24012
24012
|
Ge as bP,
|
|
24013
|
-
|
|
24013
|
+
Gm as bQ,
|
|
24014
24014
|
mn as bR,
|
|
24015
24015
|
Rd as bS,
|
|
24016
24016
|
te as bT,
|
|
24017
24017
|
z as bU,
|
|
24018
24018
|
ve as bV,
|
|
24019
|
-
|
|
24019
|
+
Zm as bW,
|
|
24020
24020
|
Bt as bX,
|
|
24021
24021
|
ai as bY,
|
|
24022
24022
|
WS as bZ,
|
|
@@ -24024,15 +24024,15 @@ export {
|
|
|
24024
24024
|
lo as ba,
|
|
24025
24025
|
kK as bb,
|
|
24026
24026
|
br as bc,
|
|
24027
|
-
|
|
24028
|
-
|
|
24027
|
+
Fu as bd,
|
|
24028
|
+
gu as be,
|
|
24029
24029
|
hV as bf,
|
|
24030
24030
|
Ap as bg,
|
|
24031
24031
|
yp as bh,
|
|
24032
24032
|
qV as bi,
|
|
24033
24033
|
YV as bj,
|
|
24034
24034
|
eK as bk,
|
|
24035
|
-
|
|
24035
|
+
Xu as bl,
|
|
24036
24036
|
VK as bm,
|
|
24037
24037
|
mK as bn,
|
|
24038
24038
|
Xa as bo,
|
|
@@ -24047,11 +24047,11 @@ export {
|
|
|
24047
24047
|
pt as bx,
|
|
24048
24048
|
DD as by,
|
|
24049
24049
|
qe as bz,
|
|
24050
|
-
|
|
24050
|
+
bu as c,
|
|
24051
24051
|
bK as c$,
|
|
24052
24052
|
GS as c0,
|
|
24053
|
-
|
|
24054
|
-
|
|
24053
|
+
qu as c1,
|
|
24054
|
+
ii as c2,
|
|
24055
24055
|
bl as c3,
|
|
24056
24056
|
hS as c4,
|
|
24057
24057
|
Oa as c5,
|
|
@@ -24067,7 +24067,7 @@ export {
|
|
|
24067
24067
|
kD as cF,
|
|
24068
24068
|
GD as cG,
|
|
24069
24069
|
ho as cH,
|
|
24070
|
-
|
|
24070
|
+
Ac as cI,
|
|
24071
24071
|
Ms as cJ,
|
|
24072
24072
|
ja as cK,
|
|
24073
24073
|
ZD as cL,
|
|
@@ -24106,7 +24106,7 @@ export {
|
|
|
24106
24106
|
RS as cr,
|
|
24107
24107
|
Vo as cs,
|
|
24108
24108
|
vs as ct,
|
|
24109
|
-
|
|
24109
|
+
Au as cu,
|
|
24110
24110
|
UD as cv,
|
|
24111
24111
|
sK as cw,
|
|
24112
24112
|
iK as cx,
|
|
@@ -24122,20 +24122,20 @@ export {
|
|
|
24122
24122
|
uK as d5,
|
|
24123
24123
|
ka as d6,
|
|
24124
24124
|
Ia as d7,
|
|
24125
|
-
|
|
24126
|
-
|
|
24127
|
-
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24131
|
-
|
|
24125
|
+
Ld as d8,
|
|
24126
|
+
Nd as d9,
|
|
24127
|
+
Zd as dA,
|
|
24128
|
+
Jd as dB,
|
|
24129
|
+
Qd as dC,
|
|
24130
|
+
eu as dD,
|
|
24131
|
+
tu as dE,
|
|
24132
24132
|
Mt as dF,
|
|
24133
24133
|
$t as dG,
|
|
24134
24134
|
ss as dH,
|
|
24135
|
-
|
|
24135
|
+
au as dI,
|
|
24136
24136
|
sa as dJ,
|
|
24137
24137
|
pn as dK,
|
|
24138
|
-
|
|
24138
|
+
su as dL,
|
|
24139
24139
|
Dr as dM,
|
|
24140
24140
|
Kr as dN,
|
|
24141
24141
|
XS as dO,
|
|
@@ -24145,10 +24145,10 @@ export {
|
|
|
24145
24145
|
o_ as dS,
|
|
24146
24146
|
Es as dT,
|
|
24147
24147
|
Ke as dU,
|
|
24148
|
-
|
|
24148
|
+
lu as dV,
|
|
24149
24149
|
za as dW,
|
|
24150
24150
|
_a as dX,
|
|
24151
|
-
|
|
24151
|
+
uu as dY,
|
|
24152
24152
|
La as dZ,
|
|
24153
24153
|
Zf as d_,
|
|
24154
24154
|
Ks as da,
|
|
@@ -24157,31 +24157,31 @@ export {
|
|
|
24157
24157
|
CS as dd,
|
|
24158
24158
|
xS as de,
|
|
24159
24159
|
Uf as df,
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24160
|
+
nu as dg,
|
|
24161
|
+
Yu as dh,
|
|
24162
|
+
cu as di,
|
|
24163
24163
|
Sl as dj,
|
|
24164
24164
|
hs as dk,
|
|
24165
24165
|
hK as dl,
|
|
24166
24166
|
Zt as dm,
|
|
24167
|
-
|
|
24167
|
+
iu as dn,
|
|
24168
24168
|
ao as dp,
|
|
24169
24169
|
Vs as dq,
|
|
24170
24170
|
Dp as dr,
|
|
24171
24171
|
FK as ds,
|
|
24172
24172
|
gK as dt,
|
|
24173
24173
|
Rn as du,
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24174
|
+
Ud as dv,
|
|
24175
|
+
jd as dw,
|
|
24176
|
+
Hd as dx,
|
|
24177
|
+
Wd as dy,
|
|
24178
|
+
Gd as dz,
|
|
24179
24179
|
Od as e,
|
|
24180
24180
|
Ka as e0,
|
|
24181
|
-
|
|
24181
|
+
du as e1,
|
|
24182
24182
|
Sa as e2,
|
|
24183
24183
|
Da as e3,
|
|
24184
|
-
|
|
24184
|
+
ou as e4,
|
|
24185
24185
|
yt as e5,
|
|
24186
24186
|
aK as e6,
|
|
24187
24187
|
cK as e7,
|
|
@@ -24203,7 +24203,7 @@ export {
|
|
|
24203
24203
|
tD as q,
|
|
24204
24204
|
vp as r,
|
|
24205
24205
|
US as s,
|
|
24206
|
-
|
|
24206
|
+
hu as t,
|
|
24207
24207
|
NS as u,
|
|
24208
24208
|
iD as v,
|
|
24209
24209
|
sD as w,
|
|
@@ -24211,4 +24211,4 @@ export {
|
|
|
24211
24211
|
JS as y,
|
|
24212
24212
|
Ws as z
|
|
24213
24213
|
};
|
|
24214
|
-
//# sourceMappingURL=lib-
|
|
24214
|
+
//# sourceMappingURL=lib-hAtZsU89.js.map
|