@anzusystems/common-admin 1.47.0-beta.309 → 1.47.0-beta.310
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.js +281 -279
- package/dist/common-admin.js.map +1 -1
- package/dist/{index-CG2OPA4G.mjs → index-CqDZ3cRX.mjs} +2555 -2551
- package/dist/index-CqDZ3cRX.mjs.map +1 -0
- package/package.json +6 -6
- package/dist/index-CG2OPA4G.mjs.map +0 -1
package/dist/common-admin.js
CHANGED
|
@@ -2,10 +2,10 @@ import { defineComponent as H, computed as I, createBlock as w, createElementBlo
|
|
|
2
2
|
import { useI18n as Q } from "vue-i18n";
|
|
3
3
|
import { useI18n as UK } from "vue-i18n";
|
|
4
4
|
import { VChip as It } from "vuetify/components/VChip";
|
|
5
|
-
import { u as Aa, i as Se, a as Us, C as Lt, b as Ut, S as ba, c as xa, d as B, s as Oa, _ as ia, e as Xt, f as Ie, g as
|
|
5
|
+
import { u as Aa, i as Se, a as Us, C as Lt, b as Ut, S as ba, c as xa, d as B, s as Oa, _ as ia, e as Xt, f as Ie, g as ie, h as Wt, j as pu, k as Ct, l as je, m as Fa, n as ns, o as Be, p as Ne, q as ol, r as io, t as hu, v as gu, w as rl, x as _t, y as Zo, z as $s, A as Ca, B as qu, D as Yu, E as vo, F as Kt, G as nl, H as Bt, I as Xu, J as Vi, K as yu, L as Xr, M as ll, N as dl, O as ul, P as cl, Q as ml, R as fl, T as Vl, U as vl, V as Fl, W as ht, X as Zi, Y as Qi, Z as un, $ as cn, a0 as Au, a1 as wt, a2 as pl, a3 as hl, a4 as Qo, a5 as bu, a6 as Ia, a7 as ka, a8 as us, a9 as cs, aa as Na, ab as ms, ac as fs, ad as Vs, ae as oa, af as wa, ag as Sa, ah as er, ai as Os, aj as vi, ak as Fi, al as pi, am as hi, an as gi, ao as Fo, ap as yr, aq as tr, ar as xu, as as gl, at as ql, au as Cu, av as pa, aw as ha, ax as Ar, ay as Iu, az as ku, aA as mn, aB as Do, aC as wu, aD as Su, aE as Ku, aF as Du, aG as vs, aH as Yl, aI as Tu, aJ as ar, aK as xs, aL as Xl, aM as yl, aN as Al, aO as Mu, aP as fn, aQ as sr, aR as Vn, aS as Eu, aT as $u, aU as _u, aV as ir, aW as Bu, aX as bl, aY as xl, aZ as Pu, a_ as zu, a$ as Ru, b0 as Lu, b1 as Uu, b2 as Ou, b3 as Nu, b4 as Cl, b5 as ju, b6 as vn, b7 as Di, b8 as Fn, b9 as pn, ba as br } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Ck8_GbKx.mjs";
|
|
6
6
|
import { bb as NK, bc as jK, bJ as HK, bK as WK, bn as GK, bm as JK, bC as ZK, bE as QK, bF as eD, bD as tD, bG as aD, bz as sD, bs as iD, bu as oD, bx as rD, bp as nD, br as lD, bq as dD, bv as uD, bt as cD, bA as mD, bM as fD, bN as VD, bL as vD, bB as FD, bf as pD, be as hD, bj as gD, bi as qD, bg as YD, bh as XD, bk as yD, bl as AD, by as bD, bo as xD, bH as CD, bI as ID, bd as kD, bw as wD } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Ck8_GbKx.mjs";
|
|
7
7
|
import { VAlert as si } from "vuetify/components/VAlert";
|
|
8
|
-
import { VIcon as
|
|
8
|
+
import { VIcon as oe } from "vuetify/components/VIcon";
|
|
9
9
|
import { VProgressCircular as Oe } from "vuetify/components/VProgressCircular";
|
|
10
10
|
import { VCard as We, VCardText as ja, VCardActions as Et, VCardItem as To } from "vuetify/components/VCard";
|
|
11
11
|
import { VTextarea as Il } from "vuetify/components/VTextarea";
|
|
@@ -17,7 +17,7 @@ import { VMenu as ea } from "vuetify/components/VMenu";
|
|
|
17
17
|
import { VTooltip as xe } from "vuetify/components/VTooltip";
|
|
18
18
|
import { useRouter as ho } from "vue-router";
|
|
19
19
|
import { VDialog as vt } from "vuetify/components/VDialog";
|
|
20
|
-
import { VSpacer as ut, VRow as ve, VCol as
|
|
20
|
+
import { VSpacer as ut, VRow as ve, VCol as re } from "vuetify/components/VGrid";
|
|
21
21
|
import { useFetch as Wu, watchDebounced as qi, useClipboard as wl, tryOnBeforeUnmount as Sl, useStorage as Cr, useDocumentVisibility as Gu, useIntervalFn as Ju, useDebounceFn as Kl, useEventBus as Zu, useWebSocket as Qu, useDropZone as ec, useEventListener as tc } from "@vueuse/core";
|
|
22
22
|
import { VTextField as go } from "vuetify/components/VTextField";
|
|
23
23
|
import ac from "axios";
|
|
@@ -92,7 +92,7 @@ const fc = { key: 1 }, Sr = /* @__PURE__ */ H({
|
|
|
92
92
|
density: "compact"
|
|
93
93
|
}, {
|
|
94
94
|
close: c(() => [
|
|
95
|
-
d(
|
|
95
|
+
d(oe, {
|
|
96
96
|
icon: "mdi-close",
|
|
97
97
|
onClick: W(o.close, ["stop"])
|
|
98
98
|
}, null, 8, ["onClick"])
|
|
@@ -280,7 +280,7 @@ const fc = { key: 1 }, Sr = /* @__PURE__ */ H({
|
|
|
280
280
|
e.help ? {
|
|
281
281
|
name: "append",
|
|
282
282
|
fn: c(() => [
|
|
283
|
-
Qt(d(
|
|
283
|
+
Qt(d(oe, { icon: "mdi-help-circle-outline" }, null, 512), [
|
|
284
284
|
[kl, e.help]
|
|
285
285
|
])
|
|
286
286
|
]),
|
|
@@ -317,7 +317,7 @@ const fc = { key: 1 }, Sr = /* @__PURE__ */ H({
|
|
|
317
317
|
set(b) {
|
|
318
318
|
s("update:modelValue", Ie(b));
|
|
319
319
|
}
|
|
320
|
-
}), { t: i } = Q(), r = I(() => Math.ceil(o.value.totalCount / o.value.rowsPerPage)), n = I(() => o.value.page * o.value.rowsPerPage - o.value.rowsPerPage + 1), l = I(() => o.value.page * o.value.rowsPerPage - o.value.rowsPerPage + o.value.currentViewCount), m = I(() => o.value.page === 1), f = I(() => !
|
|
320
|
+
}), { t: i } = Q(), r = I(() => Math.ceil(o.value.totalCount / o.value.rowsPerPage)), n = I(() => o.value.page * o.value.rowsPerPage - o.value.rowsPerPage + 1), l = I(() => o.value.page * o.value.rowsPerPage - o.value.rowsPerPage + o.value.currentViewCount), m = I(() => o.value.page === 1), f = I(() => !ie(o.value.hasNextPage) || o.value.page === r.value), V = I(() => ie(o.value.hasNextPage) && o.value.page === r.value || o.value.hasNextPage === !1), F = I(() => ie(o.value.hasNextPage) ? o.value.totalCount : o.value.hasNextPage ? l.value + 1 + "+" : l.value), h = I(() => o.value.rowsPerPage);
|
|
321
321
|
Xe(h, (b, Y) => {
|
|
322
322
|
b !== Y && (o.value.page = 1, s("change"));
|
|
323
323
|
});
|
|
@@ -429,7 +429,7 @@ const fc = { key: 1 }, Sr = /* @__PURE__ */ H({
|
|
|
429
429
|
variant: "text"
|
|
430
430
|
}, {
|
|
431
431
|
default: c(() => [
|
|
432
|
-
d(
|
|
432
|
+
d(oe, { icon: "mdi-cog" }),
|
|
433
433
|
d(xe, {
|
|
434
434
|
activator: "parent",
|
|
435
435
|
location: "bottom"
|
|
@@ -466,11 +466,11 @@ const fc = { key: 1 }, Sr = /* @__PURE__ */ H({
|
|
|
466
466
|
default: c(() => [
|
|
467
467
|
d(Jt, null, {
|
|
468
468
|
default: c(() => [
|
|
469
|
-
i(m.key) ? (v(), w(
|
|
469
|
+
i(m.key) ? (v(), w(oe, {
|
|
470
470
|
key: 0,
|
|
471
471
|
class: "mr-2",
|
|
472
472
|
icon: "mdi-checkbox-marked"
|
|
473
|
-
})) : (v(), w(
|
|
473
|
+
})) : (v(), w(oe, {
|
|
474
474
|
key: 1,
|
|
475
475
|
class: "mr-2",
|
|
476
476
|
icon: "mdi-checkbox-blank-outline"
|
|
@@ -744,7 +744,7 @@ const fc = { key: 1 }, Sr = /* @__PURE__ */ H({
|
|
|
744
744
|
icon: ""
|
|
745
745
|
}, {
|
|
746
746
|
default: c(() => [
|
|
747
|
-
d(
|
|
747
|
+
d(oe, { icon: "mdi-dots-grid" }),
|
|
748
748
|
d(xe, {
|
|
749
749
|
activator: "parent",
|
|
750
750
|
location: "top"
|
|
@@ -877,7 +877,7 @@ function Xi(e = void 0) {
|
|
|
877
877
|
const m = {};
|
|
878
878
|
for (const f in l)
|
|
879
879
|
try {
|
|
880
|
-
!f.startsWith("_") && !B(l[f].model) && !
|
|
880
|
+
!f.startsWith("_") && !B(l[f].model) && !ie(l[f].model) && !io(l[f].model) && !hu(l[f].model) && l[f].model !== l[f].default && (m[f] = l[f].model);
|
|
881
881
|
} catch {
|
|
882
882
|
}
|
|
883
883
|
io(m) || localStorage.setItem(e, JSON.stringify(m));
|
|
@@ -1032,7 +1032,7 @@ const jw = /* @__PURE__ */ H({
|
|
|
1032
1032
|
set(l) {
|
|
1033
1033
|
s("update:modelValue", {
|
|
1034
1034
|
...t.modelValue,
|
|
1035
|
-
model:
|
|
1035
|
+
model: ie(l) ? null : $s(l + "")
|
|
1036
1036
|
});
|
|
1037
1037
|
}
|
|
1038
1038
|
}), { clearOne: i } = Xi(), { t: r } = Q(), n = I(() => t.modelValue.titleT ? r(t.modelValue.titleT) : void 0);
|
|
@@ -1066,7 +1066,7 @@ const jw = /* @__PURE__ */ H({
|
|
|
1066
1066
|
onClick: W(o, ["stop"])
|
|
1067
1067
|
}, {
|
|
1068
1068
|
default: c(() => [
|
|
1069
|
-
d(
|
|
1069
|
+
d(oe, { icon: i.value }, null, 8, ["icon"]),
|
|
1070
1070
|
d(xe, {
|
|
1071
1071
|
activator: "parent",
|
|
1072
1072
|
location: "bottom"
|
|
@@ -1104,7 +1104,7 @@ const jw = /* @__PURE__ */ H({
|
|
|
1104
1104
|
dense: ""
|
|
1105
1105
|
}, {
|
|
1106
1106
|
default: c(() => [
|
|
1107
|
-
d(
|
|
1107
|
+
d(re, { class: "" }, {
|
|
1108
1108
|
default: c(() => [
|
|
1109
1109
|
de(r.$slots, "top")
|
|
1110
1110
|
]),
|
|
@@ -1118,7 +1118,7 @@ const jw = /* @__PURE__ */ H({
|
|
|
1118
1118
|
class: ye(["a-filter-advanced", { "a-filter-advanced--active": s.value }])
|
|
1119
1119
|
}, {
|
|
1120
1120
|
default: c(() => [
|
|
1121
|
-
e.enableAdvanced ? (v(), w(
|
|
1121
|
+
e.enableAdvanced ? (v(), w(re, {
|
|
1122
1122
|
key: 0,
|
|
1123
1123
|
class: "v-col-filters--show-hide",
|
|
1124
1124
|
cols: "auto"
|
|
@@ -1131,7 +1131,7 @@ const jw = /* @__PURE__ */ H({
|
|
|
1131
1131
|
]),
|
|
1132
1132
|
_: 1
|
|
1133
1133
|
})) : P("", !0),
|
|
1134
|
-
d(
|
|
1134
|
+
d(re, { class: "" }, {
|
|
1135
1135
|
default: c(() => [
|
|
1136
1136
|
de(r.$slots, "default"),
|
|
1137
1137
|
Qt(z("div", zc, [
|
|
@@ -1142,7 +1142,7 @@ const jw = /* @__PURE__ */ H({
|
|
|
1142
1142
|
]),
|
|
1143
1143
|
_: 3
|
|
1144
1144
|
}),
|
|
1145
|
-
e.hideButtons ? P("", !0) : (v(), w(
|
|
1145
|
+
e.hideButtons ? P("", !0) : (v(), w(re, {
|
|
1146
1146
|
key: 1,
|
|
1147
1147
|
class: "v-col-filters--buttons text-right",
|
|
1148
1148
|
cols: "auto"
|
|
@@ -1313,7 +1313,7 @@ function El(e, a = {}) {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
const V = (q, g) => i(q, g), F = (q, g) => q.length === 0 ? !0 : q.some((C) => m(C, g)), h = I(() => {
|
|
1315
1315
|
const q = s.getCurrentUserBySystem(e), g = s.isCurrentUserLoadedBySystem(e);
|
|
1316
|
-
if (!B(g) && !(B(q) || B(q.id) ||
|
|
1316
|
+
if (!B(g) && !(B(q) || B(q.id) || ie(q.id) || q.id === 0))
|
|
1317
1317
|
return q.id;
|
|
1318
1318
|
});
|
|
1319
1319
|
function p(q) {
|
|
@@ -1361,7 +1361,7 @@ function $l() {
|
|
|
1361
1361
|
const n = Hc(i), l = e.getCurrentUserBySystem(n), m = e.isCurrentUserLoadedBySystem(n);
|
|
1362
1362
|
if (B(m))
|
|
1363
1363
|
throw new Error("Composable defineAuth must try to load currentUser first to use can function.");
|
|
1364
|
-
if (B(l) || B(l.id) ||
|
|
1364
|
+
if (B(l) || B(l.id) || ie(l.id) || l.id === 0)
|
|
1365
1365
|
return !1;
|
|
1366
1366
|
if (s(l.roles, n)) return !0;
|
|
1367
1367
|
const f = vo(l, "resolvedPermissions." + i);
|
|
@@ -1386,7 +1386,7 @@ function $l() {
|
|
|
1386
1386
|
const n = e.getCurrentUserBySystem(r), l = e.isCurrentUserLoadedBySystem(r);
|
|
1387
1387
|
if (B(l))
|
|
1388
1388
|
throw new Error("Composable defineAuth must try to load currentUser first to use canOwner function.");
|
|
1389
|
-
return B(n) || B(n.id) ||
|
|
1389
|
+
return B(n) || B(n.id) || ie(n.id) || n.id === 0 ? !1 : Uc(i) ? i.owners.includes(n.id) : Oc(i) ? i.createdBy === n.id : !1;
|
|
1390
1390
|
}
|
|
1391
1391
|
return {
|
|
1392
1392
|
canHelper: a,
|
|
@@ -1489,7 +1489,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
1489
1489
|
o,
|
|
1490
1490
|
(E, j) => {
|
|
1491
1491
|
if (E !== j) {
|
|
1492
|
-
if (
|
|
1492
|
+
if (ie(E) || B(E)) {
|
|
1493
1493
|
h.value = !1;
|
|
1494
1494
|
return;
|
|
1495
1495
|
}
|
|
@@ -1688,7 +1688,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
1688
1688
|
if (Z(), O.value === !0) return;
|
|
1689
1689
|
O.value = !0, k.value = !0;
|
|
1690
1690
|
const te = await t.fetchItems(N, C.value);
|
|
1691
|
-
n.value === 0 && (R.value = te, t.autoSelectIfSingleAndEmptyOnInit && te.length === 1 &&
|
|
1691
|
+
n.value === 0 && (R.value = te, t.autoSelectIfSingleAndEmptyOnInit && te.length === 1 && ie(o.value || Ne(o.value) && o.value.length === 0) && (o.value = t.multiple ? [te[0].value] : te[0].value)), k.value = !1;
|
|
1692
1692
|
}, Fe = () => {
|
|
1693
1693
|
p.value = !0, Z(), G(), s("focus", o.value), V.value();
|
|
1694
1694
|
}, le = I(() => {
|
|
@@ -1725,7 +1725,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
1725
1725
|
o,
|
|
1726
1726
|
async (te, he) => {
|
|
1727
1727
|
if (te === he) return;
|
|
1728
|
-
if (l.value.enabled && p.value && f.value(te),
|
|
1728
|
+
if (l.value.enabled && p.value && f.value(te), ie(te) || B(te) || Ne(te) && te.length === 0) {
|
|
1729
1729
|
if (L.value = [], i.value = Ne(te) ? [] : null, r.value = Ne(te) ? [] : null, t.disableInitFetch || O.value === !0) return;
|
|
1730
1730
|
q.value = setTimeout(() => {
|
|
1731
1731
|
G();
|
|
@@ -1750,7 +1750,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
1750
1750
|
{ immediate: !0 }
|
|
1751
1751
|
);
|
|
1752
1752
|
const Ge = (te) => {
|
|
1753
|
-
if (i.value = te,
|
|
1753
|
+
if (i.value = te, ie(te)) {
|
|
1754
1754
|
o.value = null;
|
|
1755
1755
|
return;
|
|
1756
1756
|
}
|
|
@@ -1927,7 +1927,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
1927
1927
|
m.value ? {
|
|
1928
1928
|
name: "append",
|
|
1929
1929
|
fn: c(() => [
|
|
1930
|
-
d(
|
|
1930
|
+
d(oe, {
|
|
1931
1931
|
icon: "mdi-alert",
|
|
1932
1932
|
class: "ml-5 mt-1",
|
|
1933
1933
|
size: "x-small",
|
|
@@ -2143,7 +2143,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
2143
2143
|
o,
|
|
2144
2144
|
async (k, _) => {
|
|
2145
2145
|
if (k === _) return;
|
|
2146
|
-
if (
|
|
2146
|
+
if (ie(k) || B(k) || Ne(k) && k.length === 0) {
|
|
2147
2147
|
if (g.value = [], t.disableInitFetch || y.value === !0) return;
|
|
2148
2148
|
n.value = setTimeout(() => {
|
|
2149
2149
|
E();
|
|
@@ -2259,7 +2259,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
2259
2259
|
o,
|
|
2260
2260
|
async (k, _) => {
|
|
2261
2261
|
if (k === _) return;
|
|
2262
|
-
if (
|
|
2262
|
+
if (ie(k) || B(k) || Ne(k) && k.length === 0) {
|
|
2263
2263
|
if (g.value = [], t.disableInitFetch || y.value === !0) return;
|
|
2264
2264
|
n.value = setTimeout(() => {
|
|
2265
2265
|
E();
|
|
@@ -2390,7 +2390,7 @@ const Wc = /* @__PURE__ */ H({
|
|
|
2390
2390
|
setup(e, { emit: a }) {
|
|
2391
2391
|
const t = e, s = a, o = I({
|
|
2392
2392
|
get() {
|
|
2393
|
-
return B(t.modelValue.model) ||
|
|
2393
|
+
return B(t.modelValue.model) || ie(t.modelValue.model) ? -1 : t.modelValue.model ? 1 : 0;
|
|
2394
2394
|
},
|
|
2395
2395
|
set(l) {
|
|
2396
2396
|
let m = null;
|
|
@@ -2517,7 +2517,7 @@ const cm = /* @__PURE__ */ H({
|
|
|
2517
2517
|
), (V, F) => (v(), D("div", {
|
|
2518
2518
|
class: ye(l.value)
|
|
2519
2519
|
}, [
|
|
2520
|
-
u(
|
|
2520
|
+
u(ie)(e.id) || u(B)(e.id) ? de(V.$slots, "empty", { key: 0 }, () => [
|
|
2521
2521
|
F[2] || (F[2] = M(" - ", -1))
|
|
2522
2522
|
]) : e.textOnly ? (v(), D("div", fm, [
|
|
2523
2523
|
M(A(m.value) + " ", 1),
|
|
@@ -2674,7 +2674,7 @@ const mS = /* @__PURE__ */ H({
|
|
|
2674
2674
|
onClick: W(r, ["stop"])
|
|
2675
2675
|
}, [
|
|
2676
2676
|
z("span", null, A(e.value), 1),
|
|
2677
|
-
u(s) ? (v(), w(
|
|
2677
|
+
u(s) ? (v(), w(oe, {
|
|
2678
2678
|
key: 0,
|
|
2679
2679
|
class: "ml-1",
|
|
2680
2680
|
size: "x-small",
|
|
@@ -2708,23 +2708,23 @@ const mS = /* @__PURE__ */ H({
|
|
|
2708
2708
|
size: { default: "default" }
|
|
2709
2709
|
},
|
|
2710
2710
|
setup(e) {
|
|
2711
|
-
return (a, t) => u(
|
|
2711
|
+
return (a, t) => u(ie)(e.secondaryIcon) ? u(ie)(e.secondaryText) ? (v(), w(oe, {
|
|
2712
2712
|
key: 2,
|
|
2713
2713
|
icon: e.mainIcon
|
|
2714
2714
|
}, null, 8, ["icon"])) : (v(), D("div", pm, [
|
|
2715
|
-
d(
|
|
2715
|
+
d(oe, {
|
|
2716
2716
|
size: e.size,
|
|
2717
2717
|
class: "anzu-icon-group__main-icon",
|
|
2718
2718
|
icon: e.mainIcon
|
|
2719
2719
|
}, null, 8, ["size", "icon"]),
|
|
2720
2720
|
z("div", hm, A(e.secondaryText), 1)
|
|
2721
2721
|
])) : (v(), D("div", Fm, [
|
|
2722
|
-
d(
|
|
2722
|
+
d(oe, {
|
|
2723
2723
|
size: e.size,
|
|
2724
2724
|
class: "anzu-icon-group__main-icon",
|
|
2725
2725
|
icon: e.mainIcon
|
|
2726
2726
|
}, null, 8, ["size", "icon"]),
|
|
2727
|
-
d(
|
|
2727
|
+
d(oe, {
|
|
2728
2728
|
size: e.size,
|
|
2729
2729
|
class: "anzu-icon-group__secondary-icon",
|
|
2730
2730
|
icon: e.secondaryIcon
|
|
@@ -3070,7 +3070,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3070
3070
|
variant: "text"
|
|
3071
3071
|
}, {
|
|
3072
3072
|
default: c(() => [
|
|
3073
|
-
d(
|
|
3073
|
+
d(oe, {
|
|
3074
3074
|
class: "mr-1",
|
|
3075
3075
|
icon: "mdi-loading mdi-spin"
|
|
3076
3076
|
}),
|
|
@@ -3088,7 +3088,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3088
3088
|
onClick: Ee
|
|
3089
3089
|
}, {
|
|
3090
3090
|
default: c(() => [
|
|
3091
|
-
d(
|
|
3091
|
+
d(oe, { icon: "mdi-account-details-outline" }),
|
|
3092
3092
|
d(xe, {
|
|
3093
3093
|
anchor: "bottom",
|
|
3094
3094
|
activator: "parent",
|
|
@@ -3268,7 +3268,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3268
3268
|
onClick: be
|
|
3269
3269
|
}, {
|
|
3270
3270
|
default: c(() => [
|
|
3271
|
-
d(
|
|
3271
|
+
d(oe, { icon: "mdi-account-switch" }),
|
|
3272
3272
|
d(xe, {
|
|
3273
3273
|
anchor: "bottom",
|
|
3274
3274
|
activator: "parent",
|
|
@@ -3425,7 +3425,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3425
3425
|
variant: "text"
|
|
3426
3426
|
}, {
|
|
3427
3427
|
default: c(() => [
|
|
3428
|
-
d(
|
|
3428
|
+
d(oe, {
|
|
3429
3429
|
class: "mr-1",
|
|
3430
3430
|
icon: "mdi-loading mdi-spin"
|
|
3431
3431
|
}),
|
|
@@ -3512,7 +3512,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3512
3512
|
active: !1
|
|
3513
3513
|
}, {
|
|
3514
3514
|
default: c(() => [
|
|
3515
|
-
d(
|
|
3515
|
+
d(oe, { icon: "mdi-close" }),
|
|
3516
3516
|
d(xe, {
|
|
3517
3517
|
activator: "parent",
|
|
3518
3518
|
location: "bottom"
|
|
@@ -3560,7 +3560,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3560
3560
|
height: e.size
|
|
3561
3561
|
}, {
|
|
3562
3562
|
default: c(() => [
|
|
3563
|
-
d(
|
|
3563
|
+
d(oe, { icon: "mdi-content-save" }),
|
|
3564
3564
|
d(xe, {
|
|
3565
3565
|
activator: "parent",
|
|
3566
3566
|
location: "bottom"
|
|
@@ -3650,7 +3650,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3650
3650
|
onClick: W(r, ["stop"])
|
|
3651
3651
|
}, {
|
|
3652
3652
|
default: c(() => [
|
|
3653
|
-
d(
|
|
3653
|
+
d(oe, { icon: "mdi-trash-can-outline" }),
|
|
3654
3654
|
d(xe, {
|
|
3655
3655
|
activator: "parent",
|
|
3656
3656
|
location: "bottom"
|
|
@@ -3773,7 +3773,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3773
3773
|
onClick: W(r, ["stop"])
|
|
3774
3774
|
}, {
|
|
3775
3775
|
default: c(() => [
|
|
3776
|
-
d(
|
|
3776
|
+
d(oe, { icon: "mdi-content-save" }),
|
|
3777
3777
|
d(xe, {
|
|
3778
3778
|
activator: "parent",
|
|
3779
3779
|
location: "bottom"
|
|
@@ -3886,7 +3886,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3886
3886
|
onClick: W(o, ["stop"])
|
|
3887
3887
|
}, {
|
|
3888
3888
|
default: c(() => [
|
|
3889
|
-
d(
|
|
3889
|
+
d(oe, { icon: "mdi-content-save" }),
|
|
3890
3890
|
d(xe, {
|
|
3891
3891
|
activator: "parent",
|
|
3892
3892
|
location: "bottom"
|
|
@@ -3987,7 +3987,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
3987
3987
|
}, ["stop"])
|
|
3988
3988
|
}, {
|
|
3989
3989
|
default: c(() => [
|
|
3990
|
-
d(
|
|
3990
|
+
d(oe, { icon: "mdi-information-outline" }),
|
|
3991
3991
|
d(xe, {
|
|
3992
3992
|
activator: "parent",
|
|
3993
3993
|
location: "bottom"
|
|
@@ -4025,7 +4025,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
4025
4025
|
}, ["stop"])
|
|
4026
4026
|
}, {
|
|
4027
4027
|
default: c(() => [
|
|
4028
|
-
d(
|
|
4028
|
+
d(oe, { icon: "mdi-pencil" }),
|
|
4029
4029
|
d(xe, {
|
|
4030
4030
|
activator: "parent",
|
|
4031
4031
|
location: "bottom"
|
|
@@ -4132,7 +4132,7 @@ const Am = { class: "ml-3" }, bm = { class: "ml-1" }, fS = /* @__PURE__ */ H({
|
|
|
4132
4132
|
class: "a-button-split__more"
|
|
4133
4133
|
}, {
|
|
4134
4134
|
default: c(() => [
|
|
4135
|
-
d(
|
|
4135
|
+
d(oe, { icon: "mdi-chevron-down" }),
|
|
4136
4136
|
d(ea, {
|
|
4137
4137
|
activator: "parent",
|
|
4138
4138
|
location: "bottom right"
|
|
@@ -4234,21 +4234,21 @@ const Im = { key: 0 }, km = { key: 1 }, wm = { key: 2 }, yS = /* @__PURE__ */ H(
|
|
|
4234
4234
|
}), {
|
|
4235
4235
|
default: c(() => [
|
|
4236
4236
|
u(o) === u(Mt).Auto ? (v(), D("div", Im, [
|
|
4237
|
-
d(
|
|
4237
|
+
d(oe, {
|
|
4238
4238
|
class: "mr-1",
|
|
4239
4239
|
icon: "mdi-brightness-auto",
|
|
4240
4240
|
size: 32
|
|
4241
4241
|
}),
|
|
4242
4242
|
M(A(u(i)("common.system.theme.auto")), 1)
|
|
4243
4243
|
])) : u(o) === u(Mt).Light ? (v(), D("div", km, [
|
|
4244
|
-
d(
|
|
4244
|
+
d(oe, {
|
|
4245
4245
|
class: "mr-1",
|
|
4246
4246
|
icon: "mdi-brightness-7",
|
|
4247
4247
|
size: 32
|
|
4248
4248
|
}),
|
|
4249
4249
|
M(A(u(i)("common.system.theme.light")), 1)
|
|
4250
4250
|
])) : u(o) === u(Mt).Dark ? (v(), D("div", wm, [
|
|
4251
|
-
d(
|
|
4251
|
+
d(oe, {
|
|
4252
4252
|
class: "mr-1",
|
|
4253
4253
|
icon: "mdi-brightness-4",
|
|
4254
4254
|
size: 32
|
|
@@ -4269,7 +4269,7 @@ const Im = { key: 0 }, km = { key: 1 }, wm = { key: 2 }, yS = /* @__PURE__ */ H(
|
|
|
4269
4269
|
onClick: W(u(t), ["stop"])
|
|
4270
4270
|
}, {
|
|
4271
4271
|
prepend: c(() => [
|
|
4272
|
-
d(
|
|
4272
|
+
d(oe, {
|
|
4273
4273
|
class: "mr-2",
|
|
4274
4274
|
icon: "mdi-brightness-auto"
|
|
4275
4275
|
})
|
|
@@ -4281,7 +4281,7 @@ const Im = { key: 0 }, km = { key: 1 }, wm = { key: 2 }, yS = /* @__PURE__ */ H(
|
|
|
4281
4281
|
onClick: W(u(s), ["stop"])
|
|
4282
4282
|
}, {
|
|
4283
4283
|
prepend: c(() => [
|
|
4284
|
-
d(
|
|
4284
|
+
d(oe, {
|
|
4285
4285
|
class: "mr-2",
|
|
4286
4286
|
icon: "mdi-brightness-7"
|
|
4287
4287
|
})
|
|
@@ -4293,7 +4293,7 @@ const Im = { key: 0 }, km = { key: 1 }, wm = { key: 2 }, yS = /* @__PURE__ */ H(
|
|
|
4293
4293
|
onClick: W(u(a), ["stop"])
|
|
4294
4294
|
}, {
|
|
4295
4295
|
prepend: c(() => [
|
|
4296
|
-
d(
|
|
4296
|
+
d(oe, {
|
|
4297
4297
|
class: "mr-2",
|
|
4298
4298
|
icon: "mdi-brightness-4"
|
|
4299
4299
|
})
|
|
@@ -4909,7 +4909,7 @@ const Gm = { class: "text-center w-100 text-caption pb-1" }, bS = /* @__PURE__ *
|
|
|
4909
4909
|
const { end: R } = Oa(t.v?.$path, ".");
|
|
4910
4910
|
return F(h + "." + p + ".model." + R);
|
|
4911
4911
|
}), y = I(() => B(t.required) ? t.v?.required && t.v?.required.$params.type === "required" : t.required), T = async (R) => {
|
|
4912
|
-
if (
|
|
4912
|
+
if (ie(R) || R.length < t.minSearchChars) {
|
|
4913
4913
|
r.value.clear();
|
|
4914
4914
|
return;
|
|
4915
4915
|
}
|
|
@@ -4945,7 +4945,7 @@ const Gm = { class: "text-center w-100 text-caption pb-1" }, bS = /* @__PURE__ *
|
|
|
4945
4945
|
}), Xe(
|
|
4946
4946
|
V,
|
|
4947
4947
|
async (R) => {
|
|
4948
|
-
if (
|
|
4948
|
+
if (ie(R) || B(R) || Ne(R) && R.length === 0)
|
|
4949
4949
|
return;
|
|
4950
4950
|
const L = Ne(R) ? R : [R], $ = new Set(L);
|
|
4951
4951
|
await j($), $.size > 0 && (l(Array.from($)), n());
|
|
@@ -5069,7 +5069,7 @@ const Gm = { class: "text-center w-100 text-caption pb-1" }, bS = /* @__PURE__ *
|
|
|
5069
5069
|
return (t, s) => (v(), D("div", lf, [
|
|
5070
5070
|
z("div", df, [
|
|
5071
5071
|
z("h1", uf, [
|
|
5072
|
-
d(
|
|
5072
|
+
d(oe, {
|
|
5073
5073
|
size: "x-large",
|
|
5074
5074
|
icon: "mdi-emoticon-cry"
|
|
5075
5075
|
}),
|
|
@@ -5099,7 +5099,7 @@ const Gm = { class: "text-center w-100 text-caption pb-1" }, bS = /* @__PURE__ *
|
|
|
5099
5099
|
return (t, s) => (v(), D("div", mf, [
|
|
5100
5100
|
z("div", ff, [
|
|
5101
5101
|
z("h1", Vf, [
|
|
5102
|
-
d(
|
|
5102
|
+
d(oe, {
|
|
5103
5103
|
size: "x-large",
|
|
5104
5104
|
icon: "mdi-emoticon-cry"
|
|
5105
5105
|
}),
|
|
@@ -5512,7 +5512,7 @@ function pt(e = void 0) {
|
|
|
5512
5512
|
if (B(b))
|
|
5513
5513
|
try {
|
|
5514
5514
|
const x = await Yo(e, X);
|
|
5515
|
-
if (
|
|
5515
|
+
if (ie(x.extSystem)) return;
|
|
5516
5516
|
b = {
|
|
5517
5517
|
extSystem: x.extSystem,
|
|
5518
5518
|
name: x.name
|
|
@@ -5605,7 +5605,7 @@ async function If(e, a) {
|
|
|
5605
5605
|
function kf(e, a = void 0) {
|
|
5606
5606
|
const t = [];
|
|
5607
5607
|
return e.forEach((s) => {
|
|
5608
|
-
!
|
|
5608
|
+
!ie(s.assetId) && s.canEditMetadata && t.push({
|
|
5609
5609
|
id: s.assetId,
|
|
5610
5610
|
keywords: s.keywords,
|
|
5611
5611
|
authors: s.authors,
|
|
@@ -5804,7 +5804,7 @@ const $a = {
|
|
|
5804
5804
|
}
|
|
5805
5805
|
function x(K) {
|
|
5806
5806
|
const O = f.value;
|
|
5807
|
-
K !== f.value && e.value[K] && (e.value[K].active = !0, f.value = K, !
|
|
5807
|
+
K !== f.value && e.value[K] && (e.value[K].active = !0, f.value = K, !ie(O) && O in e.value && (e.value[O].active = !1));
|
|
5808
5808
|
}
|
|
5809
5809
|
function y(K) {
|
|
5810
5810
|
const O = e.value;
|
|
@@ -5944,11 +5944,11 @@ function Mr(e, a, t, s = "id", o = 1e3) {
|
|
|
5944
5944
|
const x = /* @__PURE__ */ new Set();
|
|
5945
5945
|
for (let y = 0; y < Y.length; y++) {
|
|
5946
5946
|
const T = Y[y];
|
|
5947
|
-
if (!(
|
|
5947
|
+
if (!(ie(T) || B(T))) {
|
|
5948
5948
|
if (Ne(T)) {
|
|
5949
5949
|
for (let E = 0; E < T.length; E++) {
|
|
5950
5950
|
const j = T[E];
|
|
5951
|
-
|
|
5951
|
+
ie(j) || B(j) || i.value.has(j) || x.add(j);
|
|
5952
5952
|
}
|
|
5953
5953
|
continue;
|
|
5954
5954
|
}
|
|
@@ -6009,12 +6009,12 @@ function Xo() {
|
|
|
6009
6009
|
}, t = (f, V) => {
|
|
6010
6010
|
n("offset", f * V - V);
|
|
6011
6011
|
}, s = (f, V) => {
|
|
6012
|
-
!
|
|
6012
|
+
!ie(f) && f.length > 0 && n("order[" + f + "]", V ? Wt.Desc : Wt.Asc);
|
|
6013
6013
|
}, o = (f) => er(f) ? f ? "1" : "0" : f, i = (f, V, F) => {
|
|
6014
6014
|
_t(F) && F.length === 0 || e.value.push("filter_" + f + "[" + V + "]=" + o(F));
|
|
6015
6015
|
}, r = (f) => {
|
|
6016
6016
|
const V = f.model;
|
|
6017
|
-
return
|
|
6017
|
+
return ie(V) ? f.mandatory ? (f.model = f.default, f.default) : null : _t(V) ? V.length === 0 ? f.mandatory ? (f.model = f.default, f.default) : null : encodeURIComponent(V) : Ne(V) ? V.length === 0 ? f.mandatory ? (f.model = f.default, f.default) : null : V.map((F) => _t(F) ? encodeURIComponent(F) : F).join(",") : Xt(V) || er(V) ? V : null;
|
|
6018
6018
|
}, n = (f, V) => {
|
|
6019
6019
|
e.value.push(f + "=" + V);
|
|
6020
6020
|
};
|
|
@@ -6030,7 +6030,7 @@ function Xo() {
|
|
|
6030
6030
|
if (h.exclude)
|
|
6031
6031
|
continue;
|
|
6032
6032
|
const q = r(h);
|
|
6033
|
-
if (!
|
|
6033
|
+
if (!ie(q)) {
|
|
6034
6034
|
if (V) {
|
|
6035
6035
|
n(p, q);
|
|
6036
6036
|
continue;
|
|
@@ -6396,7 +6396,7 @@ const $t = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
6396
6396
|
class: "anzu-common-asset-image__icon-circle",
|
|
6397
6397
|
style: St({ padding: e.iconSize / 4 + "px" })
|
|
6398
6398
|
}, [
|
|
6399
|
-
i.value.length ? (v(), w(
|
|
6399
|
+
i.value.length ? (v(), w(oe, {
|
|
6400
6400
|
key: 0,
|
|
6401
6401
|
size: e.iconSize,
|
|
6402
6402
|
icon: i.value,
|
|
@@ -6420,7 +6420,7 @@ const $t = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
6420
6420
|
class: "asset-image__icon-circle",
|
|
6421
6421
|
style: St({ padding: e.iconSize / 4 + "px" })
|
|
6422
6422
|
}, [
|
|
6423
|
-
i.value.length ? (v(), w(
|
|
6423
|
+
i.value.length ? (v(), w(oe, {
|
|
6424
6424
|
key: 0,
|
|
6425
6425
|
size: e.iconSize,
|
|
6426
6426
|
icon: i.value,
|
|
@@ -6594,11 +6594,11 @@ const Co = (e, a = 2) => {
|
|
|
6594
6594
|
onClick: W(f, ["stop", "exact"])
|
|
6595
6595
|
}, [
|
|
6596
6596
|
z("td", null, [
|
|
6597
|
-
i.value.selected ? (v(), w(
|
|
6597
|
+
i.value.selected ? (v(), w(oe, {
|
|
6598
6598
|
key: 0,
|
|
6599
6599
|
icon: "mdi-checkbox-outline",
|
|
6600
6600
|
size: 20
|
|
6601
|
-
})) : (v(), w(
|
|
6601
|
+
})) : (v(), w(oe, {
|
|
6602
6602
|
key: 1,
|
|
6603
6603
|
icon: "mdi-checkbox-blank-outline",
|
|
6604
6604
|
size: 20
|
|
@@ -6751,7 +6751,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6751
6751
|
onClick: u(n)
|
|
6752
6752
|
}, {
|
|
6753
6753
|
default: c(() => [
|
|
6754
|
-
d(
|
|
6754
|
+
d(oe, {
|
|
6755
6755
|
icon: "mdi-tune",
|
|
6756
6756
|
size: 16
|
|
6757
6757
|
}),
|
|
@@ -6784,7 +6784,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6784
6784
|
onClick: W(X, ["stop"])
|
|
6785
6785
|
}, {
|
|
6786
6786
|
default: c(() => [
|
|
6787
|
-
d(
|
|
6787
|
+
d(oe, {
|
|
6788
6788
|
icon: "mdi-image",
|
|
6789
6789
|
size: 16
|
|
6790
6790
|
}),
|
|
@@ -6812,7 +6812,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6812
6812
|
onClick: W(b, ["stop"])
|
|
6813
6813
|
}, {
|
|
6814
6814
|
default: c(() => [
|
|
6815
|
-
d(
|
|
6815
|
+
d(oe, {
|
|
6816
6816
|
icon: "mdi-video",
|
|
6817
6817
|
size: 16
|
|
6818
6818
|
}),
|
|
@@ -6839,7 +6839,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6839
6839
|
onClick: W(Y, ["stop"])
|
|
6840
6840
|
}, {
|
|
6841
6841
|
default: c(() => [
|
|
6842
|
-
d(
|
|
6842
|
+
d(oe, {
|
|
6843
6843
|
icon: "mdi-podcast",
|
|
6844
6844
|
size: 16
|
|
6845
6845
|
}),
|
|
@@ -6874,7 +6874,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6874
6874
|
onClick: T[2] || (T[2] = W((E) => u(r)(u(ca).Masonry), ["stop"]))
|
|
6875
6875
|
}, {
|
|
6876
6876
|
default: c(() => [
|
|
6877
|
-
d(
|
|
6877
|
+
d(oe, { icon: "mdi-view-compact" }),
|
|
6878
6878
|
d(xe, {
|
|
6879
6879
|
activator: "parent",
|
|
6880
6880
|
location: "bottom"
|
|
@@ -6894,7 +6894,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6894
6894
|
onClick: T[3] || (T[3] = W((E) => u(r)(u(ca).Thumbnail), ["stop"]))
|
|
6895
6895
|
}, {
|
|
6896
6896
|
default: c(() => [
|
|
6897
|
-
d(
|
|
6897
|
+
d(oe, { icon: "mdi-view-grid" }),
|
|
6898
6898
|
d(xe, {
|
|
6899
6899
|
activator: "parent",
|
|
6900
6900
|
location: "bottom"
|
|
@@ -6914,7 +6914,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6914
6914
|
onClick: T[4] || (T[4] = W((E) => u(r)(u(ca).Table), ["stop"]))
|
|
6915
6915
|
}, {
|
|
6916
6916
|
default: c(() => [
|
|
6917
|
-
d(
|
|
6917
|
+
d(oe, { icon: "mdi-view-headline" }),
|
|
6918
6918
|
d(xe, {
|
|
6919
6919
|
activator: "parent",
|
|
6920
6920
|
location: "bottom"
|
|
@@ -6939,7 +6939,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6939
6939
|
onClick: u(m)
|
|
6940
6940
|
}, {
|
|
6941
6941
|
default: c(() => [
|
|
6942
|
-
d(
|
|
6942
|
+
d(oe, {
|
|
6943
6943
|
icon: "mdi-information-outline",
|
|
6944
6944
|
size: 16
|
|
6945
6945
|
}),
|
|
@@ -6985,7 +6985,7 @@ const HV = { class: "d-flex flex-column w-100 px-1 align-center" }, WV = { class
|
|
|
6985
6985
|
z("div", ZV, [
|
|
6986
6986
|
r.value.selected ? (v(), D("div", QV, [
|
|
6987
6987
|
F[0] || (F[0] = z("div", { class: "asset-list-tiles__selected-triangle__bg" }, null, -1)),
|
|
6988
|
-
d(
|
|
6988
|
+
d(oe, {
|
|
6989
6989
|
class: "asset-list-tiles__selected-triangle__icon",
|
|
6990
6990
|
icon: "mdi-check",
|
|
6991
6991
|
color: "white",
|
|
@@ -7144,7 +7144,7 @@ const nv = /* @__PURE__ */ H({
|
|
|
7144
7144
|
d(Jt, null, {
|
|
7145
7145
|
default: c(() => [
|
|
7146
7146
|
M(A(F.title) + " ", 1),
|
|
7147
|
-
F.raw?.raw?.reviewed || F.raw?.reviewed ? (v(), w(
|
|
7147
|
+
F.raw?.raw?.reviewed || F.raw?.reviewed ? (v(), w(oe, {
|
|
7148
7148
|
key: 0,
|
|
7149
7149
|
icon: "mdi-shield-check",
|
|
7150
7150
|
class: "text-success ml-1",
|
|
@@ -7162,7 +7162,7 @@ const nv = /* @__PURE__ */ H({
|
|
|
7162
7162
|
d(It, qr(Yr(V)), {
|
|
7163
7163
|
default: c(() => [
|
|
7164
7164
|
M(A(F.title) + " ", 1),
|
|
7165
|
-
F.raw?.raw?.reviewed || F.raw?.reviewed ? (v(), w(
|
|
7165
|
+
F.raw?.raw?.reviewed || F.raw?.reviewed ? (v(), w(oe, {
|
|
7166
7166
|
key: 0,
|
|
7167
7167
|
icon: "mdi-shield-check",
|
|
7168
7168
|
class: "text-success ml-1",
|
|
@@ -7310,7 +7310,7 @@ const pv = (e, a = "default") => {
|
|
|
7310
7310
|
}), (n, l) => (v(), D(ge, null, [
|
|
7311
7311
|
d(ve, null, {
|
|
7312
7312
|
default: c(() => [
|
|
7313
|
-
d(
|
|
7313
|
+
d(re, { cols: 12 }, {
|
|
7314
7314
|
default: c(() => [
|
|
7315
7315
|
d(mn, { name: "text" })
|
|
7316
7316
|
]),
|
|
@@ -7321,7 +7321,7 @@ const pv = (e, a = "default") => {
|
|
|
7321
7321
|
}),
|
|
7322
7322
|
d(ve, null, {
|
|
7323
7323
|
default: c(() => [
|
|
7324
|
-
d(
|
|
7324
|
+
d(re, { cols: 12 }, {
|
|
7325
7325
|
default: c(() => [
|
|
7326
7326
|
d(mn, { name: "assetAndMainFileIds" })
|
|
7327
7327
|
]),
|
|
@@ -7333,7 +7333,7 @@ const pv = (e, a = "default") => {
|
|
|
7333
7333
|
r.value ? (v(), D(ge, { key: 0 }, [
|
|
7334
7334
|
d(ve, null, {
|
|
7335
7335
|
default: c(() => [
|
|
7336
|
-
d(
|
|
7336
|
+
d(re, { cols: 12 }, {
|
|
7337
7337
|
default: c(() => [
|
|
7338
7338
|
(v(), w(rv, {
|
|
7339
7339
|
key: r.value,
|
|
@@ -7348,7 +7348,7 @@ const pv = (e, a = "default") => {
|
|
|
7348
7348
|
}),
|
|
7349
7349
|
d(ve, null, {
|
|
7350
7350
|
default: c(() => [
|
|
7351
|
-
d(
|
|
7351
|
+
d(re, { cols: 12 }, {
|
|
7352
7352
|
default: c(() => [
|
|
7353
7353
|
(v(), w(nv, {
|
|
7354
7354
|
key: r.value,
|
|
@@ -7364,7 +7364,7 @@ const pv = (e, a = "default") => {
|
|
|
7364
7364
|
], 64)) : P("", !0),
|
|
7365
7365
|
d(ve, null, {
|
|
7366
7366
|
default: c(() => [
|
|
7367
|
-
d(
|
|
7367
|
+
d(re, { cols: 12 }, {
|
|
7368
7368
|
default: c(() => [
|
|
7369
7369
|
d(uv, { name: "createdByIds" })
|
|
7370
7370
|
]),
|
|
@@ -7375,7 +7375,7 @@ const pv = (e, a = "default") => {
|
|
|
7375
7375
|
}),
|
|
7376
7376
|
d(ve, null, {
|
|
7377
7377
|
default: c(() => [
|
|
7378
|
-
d(
|
|
7378
|
+
d(re, { cols: 12 }, {
|
|
7379
7379
|
default: c(() => [
|
|
7380
7380
|
d(Do, { name: "described" })
|
|
7381
7381
|
]),
|
|
@@ -7386,7 +7386,7 @@ const pv = (e, a = "default") => {
|
|
|
7386
7386
|
}),
|
|
7387
7387
|
d(ve, null, {
|
|
7388
7388
|
default: c(() => [
|
|
7389
|
-
d(
|
|
7389
|
+
d(re, { cols: 12 }, {
|
|
7390
7390
|
default: c(() => [
|
|
7391
7391
|
d(Do, { name: "visible" })
|
|
7392
7392
|
]),
|
|
@@ -7397,7 +7397,7 @@ const pv = (e, a = "default") => {
|
|
|
7397
7397
|
}),
|
|
7398
7398
|
d(ve, null, {
|
|
7399
7399
|
default: c(() => [
|
|
7400
|
-
d(
|
|
7400
|
+
d(re, null, {
|
|
7401
7401
|
default: c(() => [
|
|
7402
7402
|
d(Do, { name: "generatedBySystem" })
|
|
7403
7403
|
]),
|
|
@@ -7408,7 +7408,7 @@ const pv = (e, a = "default") => {
|
|
|
7408
7408
|
}),
|
|
7409
7409
|
u(i) === u(ae).Audio || u(i) === u(ae).Video ? (v(), w(ve, { key: 1 }, {
|
|
7410
7410
|
default: c(() => [
|
|
7411
|
-
d(
|
|
7411
|
+
d(re, null, {
|
|
7412
7412
|
default: c(() => [
|
|
7413
7413
|
(v(), w(fv, {
|
|
7414
7414
|
key: u(o),
|
|
@@ -7422,7 +7422,7 @@ const pv = (e, a = "default") => {
|
|
|
7422
7422
|
})) : P("", !0),
|
|
7423
7423
|
u(i) === u(ae).Audio ? (v(), w(ve, { key: 2 }, {
|
|
7424
7424
|
default: c(() => [
|
|
7425
|
-
d(
|
|
7425
|
+
d(re, null, {
|
|
7426
7426
|
default: c(() => [
|
|
7427
7427
|
(v(), w(hv, {
|
|
7428
7428
|
key: u(o),
|
|
@@ -7471,7 +7471,7 @@ const pv = (e, a = "default") => {
|
|
|
7471
7471
|
detail: c(() => [
|
|
7472
7472
|
u(n).length > 1 ? (v(), w(ve, { key: 0 }, {
|
|
7473
7473
|
default: c(() => [
|
|
7474
|
-
d(
|
|
7474
|
+
d(re, { cols: 12 }, {
|
|
7475
7475
|
default: c(() => [
|
|
7476
7476
|
d(_s, {
|
|
7477
7477
|
modelValue: u(r),
|
|
@@ -7493,7 +7493,7 @@ const pv = (e, a = "default") => {
|
|
|
7493
7493
|
default: c(() => [
|
|
7494
7494
|
u(n).length > 1 ? (v(), w(ve, { key: 0 }, {
|
|
7495
7495
|
default: c(() => [
|
|
7496
|
-
d(
|
|
7496
|
+
d(re, { cols: 12 }, {
|
|
7497
7497
|
default: c(() => [
|
|
7498
7498
|
d(_s, {
|
|
7499
7499
|
modelValue: u(r),
|
|
@@ -7621,7 +7621,7 @@ const Cv = /* @__PURE__ */ H({
|
|
|
7621
7621
|
setup(e, { emit: a }) {
|
|
7622
7622
|
const t = e, s = a, o = I({
|
|
7623
7623
|
get() {
|
|
7624
|
-
return
|
|
7624
|
+
return ie(t.modelValue) ? -1 : t.modelValue ? 1 : 0;
|
|
7625
7625
|
},
|
|
7626
7626
|
set(n) {
|
|
7627
7627
|
let l = null;
|
|
@@ -7798,7 +7798,7 @@ const Cv = /* @__PURE__ */ H({
|
|
|
7798
7798
|
class: "mt-1"
|
|
7799
7799
|
}, {
|
|
7800
7800
|
default: c(() => [
|
|
7801
|
-
d(
|
|
7801
|
+
d(re, null, {
|
|
7802
7802
|
default: c(() => [
|
|
7803
7803
|
e.readonly ? (v(), w(Be, {
|
|
7804
7804
|
key: 0,
|
|
@@ -7830,7 +7830,7 @@ const Cv = /* @__PURE__ */ H({
|
|
|
7830
7830
|
class: "mt-1"
|
|
7831
7831
|
}, {
|
|
7832
7832
|
default: c(() => [
|
|
7833
|
-
d(
|
|
7833
|
+
d(re, null, {
|
|
7834
7834
|
default: c(() => [
|
|
7835
7835
|
e.readonly ? (v(), w(Be, {
|
|
7836
7836
|
key: 0,
|
|
@@ -7863,20 +7863,20 @@ const Cv = /* @__PURE__ */ H({
|
|
|
7863
7863
|
onClick: u(n)
|
|
7864
7864
|
}, {
|
|
7865
7865
|
default: c(() => [
|
|
7866
|
-
d(
|
|
7866
|
+
d(oe, { icon: F.value }, null, 8, ["icon"]),
|
|
7867
7867
|
M(" " + A(V.value), 1)
|
|
7868
7868
|
]),
|
|
7869
7869
|
_: 1
|
|
7870
7870
|
}, 8, ["onClick"])) : P("", !0)
|
|
7871
7871
|
], 64));
|
|
7872
7872
|
}
|
|
7873
|
-
}), _a = (e) =>
|
|
7873
|
+
}), _a = (e) => ie(e) ? !1 : "damMedia" in e, Rt = (e) => ie(e) ? !1 : !("damMedia" in e) && "texts" in e, _r = hs("commonImageMediaWidgetStore", () => {
|
|
7874
7874
|
const e = S(null);
|
|
7875
7875
|
function a() {
|
|
7876
7876
|
e.value = null;
|
|
7877
7877
|
}
|
|
7878
7878
|
function t(s) {
|
|
7879
|
-
|
|
7879
|
+
ie(s) && (e.value = null), e.value = Ie(s);
|
|
7880
7880
|
}
|
|
7881
7881
|
return {
|
|
7882
7882
|
setDetail: t,
|
|
@@ -7971,13 +7971,13 @@ const Br = /* @__PURE__ */ H({
|
|
|
7971
7971
|
return (t, s) => (v(), D(ge, null, [
|
|
7972
7972
|
d(ve, null, {
|
|
7973
7973
|
default: c(() => [
|
|
7974
|
-
d(
|
|
7974
|
+
d(re, { cols: "3" }, {
|
|
7975
7975
|
default: c(() => [
|
|
7976
7976
|
M(A(u(a)("common.damImage.asset.detail.info.field.dominantColor")), 1)
|
|
7977
7977
|
]),
|
|
7978
7978
|
_: 1
|
|
7979
7979
|
}),
|
|
7980
|
-
d(
|
|
7980
|
+
d(re, { cols: "9" }, {
|
|
7981
7981
|
default: c(() => [
|
|
7982
7982
|
d(Mv, {
|
|
7983
7983
|
color: e.file.imageAttributes.mostDominantColor
|
|
@@ -7990,13 +7990,13 @@ const Br = /* @__PURE__ */ H({
|
|
|
7990
7990
|
}),
|
|
7991
7991
|
d(ve, null, {
|
|
7992
7992
|
default: c(() => [
|
|
7993
|
-
d(
|
|
7993
|
+
d(re, { cols: "3" }, {
|
|
7994
7994
|
default: c(() => [
|
|
7995
7995
|
M(A(u(a)("common.damImage.asset.detail.info.field.width")), 1)
|
|
7996
7996
|
]),
|
|
7997
7997
|
_: 1
|
|
7998
7998
|
}),
|
|
7999
|
-
d(
|
|
7999
|
+
d(re, { cols: "9" }, {
|
|
8000
8000
|
default: c(() => [
|
|
8001
8001
|
M(A(e.file.imageAttributes.width) + " px ", 1)
|
|
8002
8002
|
]),
|
|
@@ -8007,13 +8007,13 @@ const Br = /* @__PURE__ */ H({
|
|
|
8007
8007
|
}),
|
|
8008
8008
|
d(ve, null, {
|
|
8009
8009
|
default: c(() => [
|
|
8010
|
-
d(
|
|
8010
|
+
d(re, { cols: "3" }, {
|
|
8011
8011
|
default: c(() => [
|
|
8012
8012
|
M(A(u(a)("common.damImage.asset.detail.info.field.height")), 1)
|
|
8013
8013
|
]),
|
|
8014
8014
|
_: 1
|
|
8015
8015
|
}),
|
|
8016
|
-
d(
|
|
8016
|
+
d(re, { cols: "9" }, {
|
|
8017
8017
|
default: c(() => [
|
|
8018
8018
|
M(A(e.file.imageAttributes.height) + " px ", 1)
|
|
8019
8019
|
]),
|
|
@@ -8024,13 +8024,13 @@ const Br = /* @__PURE__ */ H({
|
|
|
8024
8024
|
}),
|
|
8025
8025
|
d(ve, null, {
|
|
8026
8026
|
default: c(() => [
|
|
8027
|
-
d(
|
|
8027
|
+
d(re, { cols: "3" }, {
|
|
8028
8028
|
default: c(() => [
|
|
8029
8029
|
M(A(u(a)("common.damImage.asset.detail.info.field.ratio")), 1)
|
|
8030
8030
|
]),
|
|
8031
8031
|
_: 1
|
|
8032
8032
|
}),
|
|
8033
|
-
d(
|
|
8033
|
+
d(re, { cols: "9" }, {
|
|
8034
8034
|
default: c(() => [
|
|
8035
8035
|
M(A(e.file.imageAttributes.ratioWidth) + " / " + A(e.file.imageAttributes.ratioHeight), 1)
|
|
8036
8036
|
]),
|
|
@@ -8041,13 +8041,13 @@ const Br = /* @__PURE__ */ H({
|
|
|
8041
8041
|
}),
|
|
8042
8042
|
d(ve, null, {
|
|
8043
8043
|
default: c(() => [
|
|
8044
|
-
d(
|
|
8044
|
+
d(re, { cols: "3" }, {
|
|
8045
8045
|
default: c(() => [
|
|
8046
8046
|
M(A(u(a)("common.damImage.asset.detail.info.field.animated")), 1)
|
|
8047
8047
|
]),
|
|
8048
8048
|
_: 1
|
|
8049
8049
|
}),
|
|
8050
|
-
d(
|
|
8050
|
+
d(re, { cols: "9" }, {
|
|
8051
8051
|
default: c(() => [
|
|
8052
8052
|
d(Sr, {
|
|
8053
8053
|
value: e.file.imageAttributes.animated
|
|
@@ -8120,7 +8120,7 @@ const Br = /* @__PURE__ */ H({
|
|
|
8120
8120
|
}
|
|
8121
8121
|
}), { t: q } = Q(), g = rt(ba, void 0), C = rt(xa, void 0), X = S(!1), { pagination: b } = yr(
|
|
8122
8122
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
8123
|
-
|
|
8123
|
+
ie(t.filterSortBy) ? null : t.filterSortBy.key,
|
|
8124
8124
|
t.filterSortBy?.order
|
|
8125
8125
|
), Y = () => {
|
|
8126
8126
|
X.value = !0, s("focus", p.value);
|
|
@@ -8132,7 +8132,7 @@ const Br = /* @__PURE__ */ H({
|
|
|
8132
8132
|
const { end: $ } = Oa(t.v?.$path, ".");
|
|
8133
8133
|
return q(g + "." + C + ".model." + $);
|
|
8134
8134
|
}), E = I(() => B(t.required) ? t.v?.required && t.v?.required.$params.type === "required" : t.required), j = async ($) => {
|
|
8135
|
-
if (
|
|
8135
|
+
if (ie($) || $.length < t.minSearchChars) {
|
|
8136
8136
|
r.value.clear();
|
|
8137
8137
|
return;
|
|
8138
8138
|
}
|
|
@@ -8166,7 +8166,7 @@ const Br = /* @__PURE__ */ H({
|
|
|
8166
8166
|
}), Xe(
|
|
8167
8167
|
p,
|
|
8168
8168
|
async ($) => {
|
|
8169
|
-
if (
|
|
8169
|
+
if (ie($) || B($) || Ne($) && $.length === 0)
|
|
8170
8170
|
return;
|
|
8171
8171
|
const k = Ne($) ? $ : [$], _ = new Set(k);
|
|
8172
8172
|
await R(_), _.size > 0 && (V(Array.from(_)), f());
|
|
@@ -8375,7 +8375,7 @@ const zv = (e, a) => {
|
|
|
8375
8375
|
}, Ro = S(void 0);
|
|
8376
8376
|
function Rv(e = 30) {
|
|
8377
8377
|
const a = Ka(), t = S(Ro.value || a.damPrvConfig.settings.imageChunkConfig.minSize), s = e / 5, o = e / 4, i = e / 2, r = (l) => {
|
|
8378
|
-
if (
|
|
8378
|
+
if (ie(l))
|
|
8379
8379
|
return !1;
|
|
8380
8380
|
const m = t.value / l;
|
|
8381
8381
|
return m > i ? (t.value = n(i * l), Ro.value = t.value, !0) : m < s ? (t.value = n(o * l), Ro.value = t.value, !0) : !1;
|
|
@@ -9284,7 +9284,7 @@ const Sn = (e) => {
|
|
|
9284
9284
|
}
|
|
9285
9285
|
o.value.forEach((ne, Ee) => {
|
|
9286
9286
|
ne.items.forEach((be) => {
|
|
9287
|
-
|
|
9287
|
+
ie(le) || be.assetId === K && (clearTimeout(be.notificationFallbackTimer), be.isDuplicate = !0, be.status = ze.Uploaded, be.fileId = O, be.duplicateAssetId = le.id, be.assetStatus = le.attributes.assetStatus, le.mainFile?.links?.image_detail && (be.imagePreview = le.mainFile.links.image_detail), be.keywords = le.keywords, be.authors = le.authors, be.customData = le.metadata.customData, G(le.metadata.authorSuggestions, ne.suggestions.newAuthorNames), G(le.metadata.keywordSuggestions, ne.suggestions.newKeywordNames), be.authorConflicts = Fe(le.metadata.authorSuggestions), e(be.keywords), t(be.authors), t(be.authorConflicts), be.assetId = le.id, be.mainFileSingleUse = le.mainFileSingleUse, be.canEditMetadata = !0, g(Ee));
|
|
9288
9288
|
}), p(Ee), s(), a();
|
|
9289
9289
|
});
|
|
9290
9290
|
}
|
|
@@ -9434,7 +9434,7 @@ const Sn = (e) => {
|
|
|
9434
9434
|
return (V, F) => (v(), D("div", {
|
|
9435
9435
|
class: ye(e.containerClass)
|
|
9436
9436
|
}, [
|
|
9437
|
-
u(
|
|
9437
|
+
u(ie)(e.id) || u(B)(e.id) ? de(V.$slots, "empty", { key: 0 }, () => [
|
|
9438
9438
|
F[0] || (F[0] = M(" - ", -1))
|
|
9439
9439
|
]) : e.textOnly ? (v(), D("div", fF, [
|
|
9440
9440
|
M(A(l.value) + " ", 1),
|
|
@@ -9445,7 +9445,7 @@ const Sn = (e) => {
|
|
|
9445
9445
|
indeterminate: "",
|
|
9446
9446
|
class: "mx-1"
|
|
9447
9447
|
})) : P("", !0),
|
|
9448
|
-
m.value ? (v(), w(
|
|
9448
|
+
m.value ? (v(), w(oe, {
|
|
9449
9449
|
key: 1,
|
|
9450
9450
|
icon: "mdi-shield-check",
|
|
9451
9451
|
size: "small",
|
|
@@ -9468,7 +9468,7 @@ const Sn = (e) => {
|
|
|
9468
9468
|
indeterminate: "",
|
|
9469
9469
|
class: "mx-1"
|
|
9470
9470
|
})) : P("", !0),
|
|
9471
|
-
m.value ? (v(), w(
|
|
9471
|
+
m.value ? (v(), w(oe, {
|
|
9472
9472
|
key: 1,
|
|
9473
9473
|
icon: "mdi-shield-check",
|
|
9474
9474
|
class: "text-success ml-1",
|
|
@@ -9663,7 +9663,7 @@ const qF = /* @__PURE__ */ H({
|
|
|
9663
9663
|
onClick: y[1] || (y[1] = W((N) => F(void 0), ["stop"]))
|
|
9664
9664
|
}, {
|
|
9665
9665
|
default: c(() => [
|
|
9666
|
-
d(
|
|
9666
|
+
d(oe, { icon: "mdi-plus" }),
|
|
9667
9667
|
d(xe, {
|
|
9668
9668
|
activator: "parent",
|
|
9669
9669
|
location: "bottom"
|
|
@@ -10010,7 +10010,7 @@ const qF = /* @__PURE__ */ H({
|
|
|
10010
10010
|
), (m, f) => (v(), D("div", {
|
|
10011
10011
|
class: ye(e.containerClass)
|
|
10012
10012
|
}, [
|
|
10013
|
-
u(
|
|
10013
|
+
u(ie)(e.id) || u(B)(e.id) ? de(m.$slots, "empty", { key: 0 }, () => [
|
|
10014
10014
|
f[0] || (f[0] = M(" - ", -1))
|
|
10015
10015
|
]) : e.textOnly ? (v(), D("div", bF, [
|
|
10016
10016
|
M(A(l.value) + " ", 1),
|
|
@@ -10292,7 +10292,7 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10292
10292
|
},
|
|
10293
10293
|
{ immediate: !0 }
|
|
10294
10294
|
), (m, f) => u(B)(e.cachedUsers) ? (v(), D("div", kF)) : (v(), D("div", wF, [
|
|
10295
|
-
u(
|
|
10295
|
+
u(ie)(e.id) || u(B)(e.id) ? (v(), D("span", SF, "-")) : (v(), w(It, {
|
|
10296
10296
|
key: 1,
|
|
10297
10297
|
class: ye(["pl-1", n.value ? "" : "non-clickable"]),
|
|
10298
10298
|
size: "small",
|
|
@@ -10361,7 +10361,7 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10361
10361
|
class: "my-2"
|
|
10362
10362
|
}, {
|
|
10363
10363
|
default: c(() => [
|
|
10364
|
-
d(
|
|
10364
|
+
d(re, null, {
|
|
10365
10365
|
default: c(() => [
|
|
10366
10366
|
d(Nt, {
|
|
10367
10367
|
subject: "keyword",
|
|
@@ -10398,7 +10398,7 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10398
10398
|
class: "my-2"
|
|
10399
10399
|
}, {
|
|
10400
10400
|
default: c(() => [
|
|
10401
|
-
d(
|
|
10401
|
+
d(re, null, {
|
|
10402
10402
|
default: c(() => [
|
|
10403
10403
|
d(Nt, {
|
|
10404
10404
|
subject: "author",
|
|
@@ -10435,7 +10435,7 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10435
10435
|
class: "my-2"
|
|
10436
10436
|
}, {
|
|
10437
10437
|
default: c(() => [
|
|
10438
|
-
d(
|
|
10438
|
+
d(re, null, {
|
|
10439
10439
|
default: c(() => [
|
|
10440
10440
|
e.readonly ? (v(), w(Be, {
|
|
10441
10441
|
key: 0,
|
|
@@ -10479,13 +10479,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10479
10479
|
default: c(() => [
|
|
10480
10480
|
d(ve, null, {
|
|
10481
10481
|
default: c(() => [
|
|
10482
|
-
d(
|
|
10482
|
+
d(re, { cols: "3" }, {
|
|
10483
10483
|
default: c(() => [
|
|
10484
10484
|
M(A(u(t)("common.damImage.asset.detail.info.field.id")), 1)
|
|
10485
10485
|
]),
|
|
10486
10486
|
_: 1
|
|
10487
10487
|
}),
|
|
10488
|
-
d(
|
|
10488
|
+
d(re, { cols: "9" }, {
|
|
10489
10489
|
default: c(() => [
|
|
10490
10490
|
d(ro, {
|
|
10491
10491
|
value: u(i).id
|
|
@@ -10498,13 +10498,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10498
10498
|
}),
|
|
10499
10499
|
d(ve, null, {
|
|
10500
10500
|
default: c(() => [
|
|
10501
|
-
d(
|
|
10501
|
+
d(re, { cols: "3" }, {
|
|
10502
10502
|
default: c(() => [
|
|
10503
10503
|
M(A(u(t)("common.damImage.asset.detail.info.field.type")), 1)
|
|
10504
10504
|
]),
|
|
10505
10505
|
_: 1
|
|
10506
10506
|
}),
|
|
10507
|
-
d(
|
|
10507
|
+
d(re, { cols: "9" }, {
|
|
10508
10508
|
default: c(() => [
|
|
10509
10509
|
M(A(u(i).attributes.assetType), 1)
|
|
10510
10510
|
]),
|
|
@@ -10515,13 +10515,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10515
10515
|
}),
|
|
10516
10516
|
d(ve, null, {
|
|
10517
10517
|
default: c(() => [
|
|
10518
|
-
d(
|
|
10518
|
+
d(re, { cols: "3" }, {
|
|
10519
10519
|
default: c(() => [
|
|
10520
10520
|
M(A(u(t)("common.model.tracking.created")), 1)
|
|
10521
10521
|
]),
|
|
10522
10522
|
_: 1
|
|
10523
10523
|
}),
|
|
10524
|
-
d(
|
|
10524
|
+
d(re, { cols: "9" }, {
|
|
10525
10525
|
default: c(() => [
|
|
10526
10526
|
M(A(u(ns)(u(i).createdAt)), 1),
|
|
10527
10527
|
b[5] || (b[5] = z("br", null, null, -1)),
|
|
@@ -10537,13 +10537,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10537
10537
|
}),
|
|
10538
10538
|
d(ve, null, {
|
|
10539
10539
|
default: c(() => [
|
|
10540
|
-
d(
|
|
10540
|
+
d(re, { cols: "3" }, {
|
|
10541
10541
|
default: c(() => [
|
|
10542
10542
|
M(A(u(t)("common.model.tracking.modified")), 1)
|
|
10543
10543
|
]),
|
|
10544
10544
|
_: 1
|
|
10545
10545
|
}),
|
|
10546
|
-
d(
|
|
10546
|
+
d(re, { cols: "9" }, {
|
|
10547
10547
|
default: c(() => [
|
|
10548
10548
|
M(A(u(ns)(u(i).modifiedAt)), 1),
|
|
10549
10549
|
b[6] || (b[6] = z("br", null, null, -1)),
|
|
@@ -10560,13 +10560,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10560
10560
|
V.value ? (v(), D("div", DF, [
|
|
10561
10561
|
d(ve, null, {
|
|
10562
10562
|
default: c(() => [
|
|
10563
|
-
d(
|
|
10563
|
+
d(re, { cols: "3" }, {
|
|
10564
10564
|
default: c(() => [
|
|
10565
10565
|
M(A(u(t)("common.damImage.asset.detail.info.field.mainFileId")), 1)
|
|
10566
10566
|
]),
|
|
10567
10567
|
_: 1
|
|
10568
10568
|
}),
|
|
10569
|
-
d(
|
|
10569
|
+
d(re, { cols: "9" }, {
|
|
10570
10570
|
default: c(() => [
|
|
10571
10571
|
d(ro, {
|
|
10572
10572
|
value: V.value.id
|
|
@@ -10579,13 +10579,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10579
10579
|
}),
|
|
10580
10580
|
d(ve, null, {
|
|
10581
10581
|
default: c(() => [
|
|
10582
|
-
d(
|
|
10582
|
+
d(re, { cols: "3" }, {
|
|
10583
10583
|
default: c(() => [
|
|
10584
10584
|
M(A(u(t)("common.damImage.asset.detail.info.field.mimeType")), 1)
|
|
10585
10585
|
]),
|
|
10586
10586
|
_: 1
|
|
10587
10587
|
}),
|
|
10588
|
-
d(
|
|
10588
|
+
d(re, { cols: "9" }, {
|
|
10589
10589
|
default: c(() => [
|
|
10590
10590
|
M(A(V.value.fileAttributes.mimeType), 1)
|
|
10591
10591
|
]),
|
|
@@ -10596,13 +10596,13 @@ const CF = { class: "d-flex" }, IF = /* @__PURE__ */ H({
|
|
|
10596
10596
|
}),
|
|
10597
10597
|
d(ve, null, {
|
|
10598
10598
|
default: c(() => [
|
|
10599
|
-
d(
|
|
10599
|
+
d(re, { cols: "3" }, {
|
|
10600
10600
|
default: c(() => [
|
|
10601
10601
|
M(A(u(t)("common.damImage.asset.detail.info.field.size")), 1)
|
|
10602
10602
|
]),
|
|
10603
10603
|
_: 1
|
|
10604
10604
|
}),
|
|
10605
|
-
d(
|
|
10605
|
+
d(re, { cols: "9" }, {
|
|
10606
10606
|
default: c(() => [
|
|
10607
10607
|
M(A(u(Co)(V.value.fileAttributes.size)), 1)
|
|
10608
10608
|
]),
|
|
@@ -10866,7 +10866,7 @@ function WF(e, a, t) {
|
|
|
10866
10866
|
}, F = () => {
|
|
10867
10867
|
p(), a();
|
|
10868
10868
|
}, h = () => {
|
|
10869
|
-
|
|
10869
|
+
ie(n.value) || (t("onDelete", n.value), r.value = !1);
|
|
10870
10870
|
}, p = () => {
|
|
10871
10871
|
m.value && (o.value.forEach((R) => {
|
|
10872
10872
|
R.stop();
|
|
@@ -10950,9 +10950,9 @@ function WF(e, a, t) {
|
|
|
10950
10950
|
return console.error("ASortableNested error."), [];
|
|
10951
10951
|
const O = [];
|
|
10952
10952
|
if (L === null) {
|
|
10953
|
-
if (
|
|
10953
|
+
if (ie(K) && $ === k)
|
|
10954
10954
|
return [];
|
|
10955
|
-
if (
|
|
10955
|
+
if (ie(K)) {
|
|
10956
10956
|
const G = U.children.indexOf(J);
|
|
10957
10957
|
if (G !== -1) {
|
|
10958
10958
|
const Fe = U.children.splice(G, 1)[0];
|
|
@@ -10960,7 +10960,7 @@ function WF(e, a, t) {
|
|
|
10960
10960
|
}
|
|
10961
10961
|
return console.error("ASortableNested error."), [];
|
|
10962
10962
|
}
|
|
10963
|
-
if (!
|
|
10963
|
+
if (!ie(K) && K.children) {
|
|
10964
10964
|
const G = K.children.indexOf(J);
|
|
10965
10965
|
if (G !== -1) {
|
|
10966
10966
|
J.data.parent = null;
|
|
@@ -10981,7 +10981,7 @@ function WF(e, a, t) {
|
|
|
10981
10981
|
const { itemFound: Z } = x(L, U.children);
|
|
10982
10982
|
if (!Z || !Z.children)
|
|
10983
10983
|
return V(), [];
|
|
10984
|
-
if (!
|
|
10984
|
+
if (!ie(K) && K.data.id === Z.data.id && $ === k)
|
|
10985
10985
|
return [];
|
|
10986
10986
|
if (K && K.children && Z.data.id === K.data.id) {
|
|
10987
10987
|
const G = K.children.indexOf(J);
|
|
@@ -11021,14 +11021,14 @@ function WF(e, a, t) {
|
|
|
11021
11021
|
dirty: !1
|
|
11022
11022
|
}
|
|
11023
11023
|
};
|
|
11024
|
-
if (
|
|
11024
|
+
if (ie(R))
|
|
11025
11025
|
return k.children.push(_), V(k), [];
|
|
11026
11026
|
const { itemFound: U, parentItem: J } = x(R, k.children);
|
|
11027
11027
|
if (!U)
|
|
11028
11028
|
return s("common.sortable.error.unableToAdd"), [];
|
|
11029
11029
|
_.data.position = U.data.position + 1, _.data.parent = U.data.parent;
|
|
11030
11030
|
const K = [];
|
|
11031
|
-
if (!
|
|
11031
|
+
if (!ie(J) && J.children) {
|
|
11032
11032
|
const O = J.children.indexOf(U) + 1;
|
|
11033
11033
|
O !== -1 && (J.children.splice(O, 0, _), g(J.children, O, O, k, K));
|
|
11034
11034
|
} else {
|
|
@@ -11068,7 +11068,7 @@ function WF(e, a, t) {
|
|
|
11068
11068
|
},
|
|
11069
11069
|
updateData: (R, L, $ = null, k = null, _ = null, U = void 0) => {
|
|
11070
11070
|
const J = Ie(e.value), { itemFound: K } = x(R, J.children);
|
|
11071
|
-
K && (K.data = Ie(L),
|
|
11071
|
+
K && (K.data = Ie(L), ie($) || (K.children = $), ie(k) || (K.data.position = k), ie(_) || (K.meta.dirty = _), !ie(_) && _ === !0 && (J.meta.dirty = !0), B(U) || (K.data.parent = U), V(J));
|
|
11072
11072
|
}
|
|
11073
11073
|
};
|
|
11074
11074
|
}
|
|
@@ -11120,7 +11120,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11120
11120
|
}, [
|
|
11121
11121
|
z("div", JF, [
|
|
11122
11122
|
z("div", ZF, [
|
|
11123
|
-
d(
|
|
11123
|
+
d(oe, {
|
|
11124
11124
|
class: ye({
|
|
11125
11125
|
[u(lr)]: !0,
|
|
11126
11126
|
[u(lr) + "--disabled"]: e.disableDraggable
|
|
@@ -11140,7 +11140,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11140
11140
|
onClick: W(i, ["stop"])
|
|
11141
11141
|
}, {
|
|
11142
11142
|
default: c(() => [
|
|
11143
|
-
d(
|
|
11143
|
+
d(oe, { icon: "mdi-pencil" }),
|
|
11144
11144
|
d(xe, {
|
|
11145
11145
|
anchor: "bottom",
|
|
11146
11146
|
activator: "parent",
|
|
@@ -11158,7 +11158,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11158
11158
|
onClick: W(o, ["stop"])
|
|
11159
11159
|
}, {
|
|
11160
11160
|
default: c(() => [
|
|
11161
|
-
d(
|
|
11161
|
+
d(oe, { icon: "mdi-trash-can-outline" }),
|
|
11162
11162
|
d(xe, {
|
|
11163
11163
|
anchor: "bottom",
|
|
11164
11164
|
activator: "parent",
|
|
@@ -11176,7 +11176,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11176
11176
|
class: "mx-1"
|
|
11177
11177
|
}, {
|
|
11178
11178
|
default: c(() => [
|
|
11179
|
-
d(
|
|
11179
|
+
d(oe, { icon: "mdi-dots-vertical" }),
|
|
11180
11180
|
d(xe, {
|
|
11181
11181
|
anchor: "bottom",
|
|
11182
11182
|
activator: "parent",
|
|
@@ -11316,7 +11316,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11316
11316
|
if (B(O)) return;
|
|
11317
11317
|
let Z = null;
|
|
11318
11318
|
const G = U.item.parentElement;
|
|
11319
|
-
|
|
11319
|
+
ie(G) || (Z = $s(G.getAttribute("data-id") ?? "0"), Z === 0 && (Z = null));
|
|
11320
11320
|
const Fe = x(J, Z, K, O, s.maxDepth);
|
|
11321
11321
|
o("onEnd", Fe);
|
|
11322
11322
|
});
|
|
@@ -11493,7 +11493,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11493
11493
|
o("onFetchNextPage");
|
|
11494
11494
|
}, X = () => {
|
|
11495
11495
|
o("onPageChange");
|
|
11496
|
-
}, b = I(() => Math.ceil(n.value.totalCount / n.value.rowsPerPage)), Y = I(() => !(
|
|
11496
|
+
}, b = I(() => Math.ceil(n.value.totalCount / n.value.rowsPerPage)), Y = I(() => !(ie(n.value.hasNextPage) && n.value.page === b.value || n.value.hasNextPage === !1)), x = (y) => {
|
|
11497
11497
|
y && Y.value && !s.loading && C();
|
|
11498
11498
|
};
|
|
11499
11499
|
return a({
|
|
@@ -11546,7 +11546,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11546
11546
|
onClick: p
|
|
11547
11547
|
}, {
|
|
11548
11548
|
default: c(() => [
|
|
11549
|
-
d(
|
|
11549
|
+
d(oe, {
|
|
11550
11550
|
icon: "mdi-tune",
|
|
11551
11551
|
size: 16
|
|
11552
11552
|
}),
|
|
@@ -11612,7 +11612,7 @@ const GF = ["data-id"], JF = { class: "a-sortable-nested-widget__nested" }, ZF =
|
|
|
11612
11612
|
onClick: W(e.resetFilter, ["stop"])
|
|
11613
11613
|
}, {
|
|
11614
11614
|
default: c(() => [
|
|
11615
|
-
d(
|
|
11615
|
+
d(oe, { icon: "mdi-filter-remove-outline" }),
|
|
11616
11616
|
d(xe, {
|
|
11617
11617
|
activator: "parent",
|
|
11618
11618
|
location: "bottom"
|
|
@@ -11790,7 +11790,7 @@ const hp = {
|
|
|
11790
11790
|
setup(e, { emit: a }) {
|
|
11791
11791
|
const t = e, s = a, o = S(), { checkFormatsAndSizes: i } = Kd(t.accept, t.maxSizes);
|
|
11792
11792
|
function r(f) {
|
|
11793
|
-
t.disabled ||
|
|
11793
|
+
t.disabled || ie(f) || f.length === 0 || s("onDrop", i(f));
|
|
11794
11794
|
}
|
|
11795
11795
|
const { isOverDropZone: n } = ec(o, r), { isDraggingFile: l } = pp(), { t: m } = Q();
|
|
11796
11796
|
return (f, V) => (v(), D("div", {
|
|
@@ -11952,7 +11952,7 @@ const Ap = {
|
|
|
11952
11952
|
dense: ""
|
|
11953
11953
|
}, {
|
|
11954
11954
|
default: c(() => [
|
|
11955
|
-
d(
|
|
11955
|
+
d(re, null, {
|
|
11956
11956
|
default: c(() => [
|
|
11957
11957
|
z("span", Ip, A(u(f)("common.damImage.image.model.texts.description")) + ":", 1),
|
|
11958
11958
|
h[0] || (h[0] = z("br", null, null, -1)),
|
|
@@ -11968,7 +11968,7 @@ const Ap = {
|
|
|
11968
11968
|
dense: ""
|
|
11969
11969
|
}, {
|
|
11970
11970
|
default: c(() => [
|
|
11971
|
-
d(
|
|
11971
|
+
d(re, null, {
|
|
11972
11972
|
default: c(() => [
|
|
11973
11973
|
z("span", kp, A(u(f)("common.damImage.image.model.texts.source")) + ":", 1),
|
|
11974
11974
|
h[1] || (h[1] = z("br", null, null, -1)),
|
|
@@ -12030,7 +12030,7 @@ const Ap = {
|
|
|
12030
12030
|
emits: ["editAsset", "onConfirm", "onClose"],
|
|
12031
12031
|
setup(e, { expose: a, emit: t }) {
|
|
12032
12032
|
const s = e, o = t, { t: i } = Q(), r = _r(), { detail: n } = st(r), l = kt(), { asset: m, authorConflicts: f } = st(l), { cachedExtSystemId: V } = na(), F = I(() => _a(n.value) ? n.value.damMedia.assetType === Hr.Video ? ae.Video : ae.Audio : Rt(n.value) ? ae.Image : null), h = I(() => !s.showDamAuthors), p = I(() => {
|
|
12033
|
-
if (!(!_a(n.value) ||
|
|
12033
|
+
if (!(!_a(n.value) || ie(n.value.damMedia.imageFileId)))
|
|
12034
12034
|
return {
|
|
12035
12035
|
texts: {
|
|
12036
12036
|
description: "",
|
|
@@ -12063,7 +12063,7 @@ const Ap = {
|
|
|
12063
12063
|
return e.expand ? (v(), D("div", Sp, [
|
|
12064
12064
|
e.loading ? (v(), w(ve, { key: 0 }, {
|
|
12065
12065
|
default: c(() => [
|
|
12066
|
-
d(
|
|
12066
|
+
d(re, null, {
|
|
12067
12067
|
default: c(() => [
|
|
12068
12068
|
z("div", Kp, [
|
|
12069
12069
|
d(Oe, { indeterminate: "" })
|
|
@@ -12077,7 +12077,7 @@ const Ap = {
|
|
|
12077
12077
|
u(Rt)(u(n)) ? (v(), D(ge, { key: 1 }, [
|
|
12078
12078
|
d(ve, null, {
|
|
12079
12079
|
default: c(() => [
|
|
12080
|
-
d(
|
|
12080
|
+
d(re, null, {
|
|
12081
12081
|
default: c(() => [
|
|
12082
12082
|
d(ee, {
|
|
12083
12083
|
onClick: W(b, ["stop"])
|
|
@@ -12095,7 +12095,7 @@ const Ap = {
|
|
|
12095
12095
|
}),
|
|
12096
12096
|
d(ve, null, {
|
|
12097
12097
|
default: c(() => [
|
|
12098
|
-
d(
|
|
12098
|
+
d(re, null, {
|
|
12099
12099
|
default: c(() => [
|
|
12100
12100
|
d(ua, {
|
|
12101
12101
|
modelValue: u(n).texts.description,
|
|
@@ -12111,7 +12111,7 @@ const Ap = {
|
|
|
12111
12111
|
}),
|
|
12112
12112
|
e.showDamAuthors && u(m) ? (v(), w(ve, { key: 0 }, {
|
|
12113
12113
|
default: c(() => [
|
|
12114
|
-
d(
|
|
12114
|
+
d(re, null, {
|
|
12115
12115
|
default: c(() => [
|
|
12116
12116
|
d(Nt, {
|
|
12117
12117
|
subject: "author",
|
|
@@ -12139,7 +12139,7 @@ const Ap = {
|
|
|
12139
12139
|
_: 1
|
|
12140
12140
|
})) : (v(), w(ve, { key: 1 }, {
|
|
12141
12141
|
default: c(() => [
|
|
12142
|
-
d(
|
|
12142
|
+
d(re, null, {
|
|
12143
12143
|
default: c(() => [
|
|
12144
12144
|
d(ua, {
|
|
12145
12145
|
modelValue: u(n).texts.source,
|
|
@@ -12155,7 +12155,7 @@ const Ap = {
|
|
|
12155
12155
|
})),
|
|
12156
12156
|
d(ve, null, {
|
|
12157
12157
|
default: c(() => [
|
|
12158
|
-
d(
|
|
12158
|
+
d(re, null, {
|
|
12159
12159
|
default: c(() => [
|
|
12160
12160
|
d(fa, {
|
|
12161
12161
|
modelValue: u(n).flags.showSource,
|
|
@@ -12202,7 +12202,7 @@ const Ap = {
|
|
|
12202
12202
|
]),
|
|
12203
12203
|
d(ve, null, {
|
|
12204
12204
|
default: c(() => [
|
|
12205
|
-
d(
|
|
12205
|
+
d(re, null, {
|
|
12206
12206
|
default: c(() => [
|
|
12207
12207
|
d(ee, {
|
|
12208
12208
|
onClick: W(b, ["stop"])
|
|
@@ -12220,7 +12220,7 @@ const Ap = {
|
|
|
12220
12220
|
}),
|
|
12221
12221
|
d(ve, null, {
|
|
12222
12222
|
default: c(() => [
|
|
12223
|
-
d(
|
|
12223
|
+
d(re, null, {
|
|
12224
12224
|
default: c(() => [
|
|
12225
12225
|
d(ua, {
|
|
12226
12226
|
modelValue: u(n).texts.description,
|
|
@@ -12236,7 +12236,7 @@ const Ap = {
|
|
|
12236
12236
|
}),
|
|
12237
12237
|
e.showDamAuthors && u(m) ? (v(), w(ve, { key: 0 }, {
|
|
12238
12238
|
default: c(() => [
|
|
12239
|
-
d(
|
|
12239
|
+
d(re, null, {
|
|
12240
12240
|
default: c(() => [
|
|
12241
12241
|
d(Nt, {
|
|
12242
12242
|
subject: "author",
|
|
@@ -12264,7 +12264,7 @@ const Ap = {
|
|
|
12264
12264
|
_: 1
|
|
12265
12265
|
})) : (v(), w(ve, { key: 1 }, {
|
|
12266
12266
|
default: c(() => [
|
|
12267
|
-
d(
|
|
12267
|
+
d(re, null, {
|
|
12268
12268
|
default: c(() => [
|
|
12269
12269
|
d(ua, {
|
|
12270
12270
|
modelValue: u(n).texts.source,
|
|
@@ -12281,7 +12281,7 @@ const Ap = {
|
|
|
12281
12281
|
})),
|
|
12282
12282
|
d(ve, null, {
|
|
12283
12283
|
default: c(() => [
|
|
12284
|
-
d(
|
|
12284
|
+
d(re, null, {
|
|
12285
12285
|
default: c(() => [
|
|
12286
12286
|
d(fa, {
|
|
12287
12287
|
modelValue: u(n).flags.showSource,
|
|
@@ -12308,7 +12308,7 @@ const Ap = {
|
|
|
12308
12308
|
]),
|
|
12309
12309
|
d(ve, null, {
|
|
12310
12310
|
default: c(() => [
|
|
12311
|
-
d(
|
|
12311
|
+
d(re, null, {
|
|
12312
12312
|
default: c(() => [
|
|
12313
12313
|
d(wp, {
|
|
12314
12314
|
"asset-id": u(n).damMedia.assetId
|
|
@@ -12320,7 +12320,7 @@ const Ap = {
|
|
|
12320
12320
|
_: 1
|
|
12321
12321
|
}),
|
|
12322
12322
|
u(n).damMedia.playable ? P("", !0) : (v(), D("div", Pp, [
|
|
12323
|
-
d(
|
|
12323
|
+
d(oe, {
|
|
12324
12324
|
icon: "mdi-movie-off-outline",
|
|
12325
12325
|
class: "mr-1",
|
|
12326
12326
|
size: "small"
|
|
@@ -12442,7 +12442,7 @@ const Ap = {
|
|
|
12442
12442
|
onClick: W(o, ["stop"])
|
|
12443
12443
|
}, {
|
|
12444
12444
|
default: c(() => [
|
|
12445
|
-
d(
|
|
12445
|
+
d(oe, { icon: "mdi-close" })
|
|
12446
12446
|
]),
|
|
12447
12447
|
_: 1
|
|
12448
12448
|
})
|
|
@@ -12625,7 +12625,7 @@ const Up = {
|
|
|
12625
12625
|
class: "asset-image__icon-circle",
|
|
12626
12626
|
style: St({ padding: e.iconSize / 4 + "px" })
|
|
12627
12627
|
}, [
|
|
12628
|
-
n.value.length ? (v(), w(
|
|
12628
|
+
n.value.length ? (v(), w(oe, {
|
|
12629
12629
|
key: 0,
|
|
12630
12630
|
size: e.iconSize,
|
|
12631
12631
|
icon: n.value,
|
|
@@ -12634,7 +12634,7 @@ const Up = {
|
|
|
12634
12634
|
], 4)
|
|
12635
12635
|
])) : P("", !0),
|
|
12636
12636
|
e.showDone ? (v(), D("div", Zp, [
|
|
12637
|
-
d(
|
|
12637
|
+
d(oe, {
|
|
12638
12638
|
icon: "mdi-check-circle",
|
|
12639
12639
|
color: "success",
|
|
12640
12640
|
size: e.iconSize
|
|
@@ -12662,7 +12662,7 @@ const Up = {
|
|
|
12662
12662
|
class: "asset-image__icon-circle",
|
|
12663
12663
|
style: St({ padding: e.iconSize / 4 + "px" })
|
|
12664
12664
|
}, [
|
|
12665
|
-
n.value.length ? (v(), w(
|
|
12665
|
+
n.value.length ? (v(), w(oe, {
|
|
12666
12666
|
key: 0,
|
|
12667
12667
|
size: e.iconSize,
|
|
12668
12668
|
icon: n.value,
|
|
@@ -12686,7 +12686,7 @@ const Up = {
|
|
|
12686
12686
|
class: "asset-image__icon-circle",
|
|
12687
12687
|
style: St({ padding: e.iconSize / 4 + "px" })
|
|
12688
12688
|
}, [
|
|
12689
|
-
n.value.length ? (v(), w(
|
|
12689
|
+
n.value.length ? (v(), w(oe, {
|
|
12690
12690
|
key: 0,
|
|
12691
12691
|
size: e.iconSize,
|
|
12692
12692
|
icon: n.value,
|
|
@@ -12696,7 +12696,7 @@ const Up = {
|
|
|
12696
12696
|
], 4)
|
|
12697
12697
|
])) : P("", !0),
|
|
12698
12698
|
e.showDone ? (v(), D("div", ih, [
|
|
12699
|
-
d(
|
|
12699
|
+
d(oe, {
|
|
12700
12700
|
icon: "mdi-check-circle",
|
|
12701
12701
|
color: "success",
|
|
12702
12702
|
size: e.iconSize
|
|
@@ -12868,13 +12868,13 @@ const fh = { class: "w-100 text-right" }, Jr = /* @__PURE__ */ H({
|
|
|
12868
12868
|
},
|
|
12869
12869
|
setup(e) {
|
|
12870
12870
|
const a = e, { t } = Q(), s = kt(), { asset: o, updateUploadStore: i, mainFileSingleUse: r } = st(s), n = Pt(), l = S(!1), { showRecordWas: m, showValidationError: f, showErrorsDefault: V } = je(), F = ra({ $scope: Xa, $stopPropagation: !0 }), { damClient: h } = Ze(), p = async () => {
|
|
12871
|
-
if (!
|
|
12871
|
+
if (!ie(o.value)) {
|
|
12872
12872
|
if (l.value = !0, F.value.$touch(), F.value.$invalid) {
|
|
12873
12873
|
f(), l.value = !1;
|
|
12874
12874
|
return;
|
|
12875
12875
|
}
|
|
12876
12876
|
try {
|
|
12877
|
-
await Kf(h, o.value, a.extSystem, r.value), i.value && !
|
|
12877
|
+
await Kf(h, o.value, a.extSystem, r.value), i.value && !ie(o.value) && await n.updateFromDetail(o.value), m("updated");
|
|
12878
12878
|
} catch (q) {
|
|
12879
12879
|
V(q);
|
|
12880
12880
|
} finally {
|
|
@@ -14636,7 +14636,7 @@ const Ig = { class: "d-flex flex-column" }, kg = {
|
|
|
14636
14636
|
for (const b in g)
|
|
14637
14637
|
Object.prototype.hasOwnProperty.call(C, b) && C[b] !== void 0 && (X[b] = C[b]);
|
|
14638
14638
|
rs(() => {
|
|
14639
|
-
|
|
14639
|
+
ie(o.value) || (s.value = new au(o.value, X), setTimeout(() => {
|
|
14640
14640
|
i.value = !1;
|
|
14641
14641
|
}, 1e3));
|
|
14642
14642
|
});
|
|
@@ -14791,7 +14791,7 @@ const Ig = { class: "d-flex flex-column" }, kg = {
|
|
|
14791
14791
|
onClick: W(f, ["stop"])
|
|
14792
14792
|
}, {
|
|
14793
14793
|
default: c(() => [
|
|
14794
|
-
d(
|
|
14794
|
+
d(oe, { icon: "mdi-information-outline" }),
|
|
14795
14795
|
d(xe, {
|
|
14796
14796
|
activator: "parent",
|
|
14797
14797
|
location: "bottom"
|
|
@@ -14813,7 +14813,7 @@ const Ig = { class: "d-flex flex-column" }, kg = {
|
|
|
14813
14813
|
onClick: W(l, ["stop"])
|
|
14814
14814
|
}, {
|
|
14815
14815
|
default: c(() => [
|
|
14816
|
-
d(
|
|
14816
|
+
d(oe, { icon: "mdi-close" }),
|
|
14817
14817
|
d(xe, {
|
|
14818
14818
|
activator: "parent",
|
|
14819
14819
|
location: "bottom"
|
|
@@ -14928,7 +14928,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
14928
14928
|
class: "my-2"
|
|
14929
14929
|
}, {
|
|
14930
14930
|
default: c(() => [
|
|
14931
|
-
d(
|
|
14931
|
+
d(re, null, {
|
|
14932
14932
|
default: c(() => [
|
|
14933
14933
|
d(Nt, {
|
|
14934
14934
|
subject: "keyword",
|
|
@@ -14965,7 +14965,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
14965
14965
|
class: "my-2"
|
|
14966
14966
|
}, {
|
|
14967
14967
|
default: c(() => [
|
|
14968
|
-
d(
|
|
14968
|
+
d(re, null, {
|
|
14969
14969
|
default: c(() => [
|
|
14970
14970
|
d(Nt, {
|
|
14971
14971
|
subject: "author",
|
|
@@ -15002,7 +15002,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15002
15002
|
class: "my-2"
|
|
15003
15003
|
}, {
|
|
15004
15004
|
default: c(() => [
|
|
15005
|
-
d(
|
|
15005
|
+
d(re, null, {
|
|
15006
15006
|
default: c(() => [
|
|
15007
15007
|
d(fa, {
|
|
15008
15008
|
modelValue: u(l),
|
|
@@ -15038,13 +15038,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15038
15038
|
default: c(() => [
|
|
15039
15039
|
d(ve, null, {
|
|
15040
15040
|
default: c(() => [
|
|
15041
|
-
d(
|
|
15041
|
+
d(re, { cols: "3" }, {
|
|
15042
15042
|
default: c(() => [
|
|
15043
15043
|
M(A(u(t)("common.damImage.asset.detail.info.field.id")), 1)
|
|
15044
15044
|
]),
|
|
15045
15045
|
_: 1
|
|
15046
15046
|
}),
|
|
15047
|
-
d(
|
|
15047
|
+
d(re, { cols: "9" }, {
|
|
15048
15048
|
default: c(() => [
|
|
15049
15049
|
d(ro, {
|
|
15050
15050
|
value: u(i).id
|
|
@@ -15057,13 +15057,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15057
15057
|
}),
|
|
15058
15058
|
d(ve, null, {
|
|
15059
15059
|
default: c(() => [
|
|
15060
|
-
d(
|
|
15060
|
+
d(re, { cols: "3" }, {
|
|
15061
15061
|
default: c(() => [
|
|
15062
15062
|
M(A(u(t)("common.damImage.asset.detail.info.field.type")), 1)
|
|
15063
15063
|
]),
|
|
15064
15064
|
_: 1
|
|
15065
15065
|
}),
|
|
15066
|
-
d(
|
|
15066
|
+
d(re, { cols: "9" }, {
|
|
15067
15067
|
default: c(() => [
|
|
15068
15068
|
M(A(u(i).attributes.assetType), 1)
|
|
15069
15069
|
]),
|
|
@@ -15074,13 +15074,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15074
15074
|
}),
|
|
15075
15075
|
d(ve, null, {
|
|
15076
15076
|
default: c(() => [
|
|
15077
|
-
d(
|
|
15077
|
+
d(re, { cols: "3" }, {
|
|
15078
15078
|
default: c(() => [
|
|
15079
15079
|
M(A(u(t)("common.model.tracking.created")), 1)
|
|
15080
15080
|
]),
|
|
15081
15081
|
_: 1
|
|
15082
15082
|
}),
|
|
15083
|
-
d(
|
|
15083
|
+
d(re, { cols: "9" }, {
|
|
15084
15084
|
default: c(() => [
|
|
15085
15085
|
M(A(u(ns)(u(i).createdAt)), 1)
|
|
15086
15086
|
]),
|
|
@@ -15091,13 +15091,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15091
15091
|
}),
|
|
15092
15092
|
d(ve, null, {
|
|
15093
15093
|
default: c(() => [
|
|
15094
|
-
d(
|
|
15094
|
+
d(re, { cols: "3" }, {
|
|
15095
15095
|
default: c(() => [
|
|
15096
15096
|
M(A(u(t)("common.model.tracking.modified")), 1)
|
|
15097
15097
|
]),
|
|
15098
15098
|
_: 1
|
|
15099
15099
|
}),
|
|
15100
|
-
d(
|
|
15100
|
+
d(re, { cols: "9" }, {
|
|
15101
15101
|
default: c(() => [
|
|
15102
15102
|
M(A(u(ns)(u(i).modifiedAt)), 1)
|
|
15103
15103
|
]),
|
|
@@ -15109,13 +15109,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15109
15109
|
p.value ? (v(), D("div", zg, [
|
|
15110
15110
|
d(ve, null, {
|
|
15111
15111
|
default: c(() => [
|
|
15112
|
-
d(
|
|
15112
|
+
d(re, { cols: "3" }, {
|
|
15113
15113
|
default: c(() => [
|
|
15114
15114
|
M(A(u(t)("common.damImage.asset.detail.info.field.mainFileId")), 1)
|
|
15115
15115
|
]),
|
|
15116
15116
|
_: 1
|
|
15117
15117
|
}),
|
|
15118
|
-
d(
|
|
15118
|
+
d(re, { cols: "9" }, {
|
|
15119
15119
|
default: c(() => [
|
|
15120
15120
|
d(ro, {
|
|
15121
15121
|
value: p.value.id
|
|
@@ -15128,13 +15128,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15128
15128
|
}),
|
|
15129
15129
|
d(ve, null, {
|
|
15130
15130
|
default: c(() => [
|
|
15131
|
-
d(
|
|
15131
|
+
d(re, { cols: "3" }, {
|
|
15132
15132
|
default: c(() => [
|
|
15133
15133
|
M(A(u(t)("common.damImage.asset.detail.info.field.mimeType")), 1)
|
|
15134
15134
|
]),
|
|
15135
15135
|
_: 1
|
|
15136
15136
|
}),
|
|
15137
|
-
d(
|
|
15137
|
+
d(re, { cols: "9" }, {
|
|
15138
15138
|
default: c(() => [
|
|
15139
15139
|
M(A(p.value.fileAttributes.mimeType), 1)
|
|
15140
15140
|
]),
|
|
@@ -15145,13 +15145,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15145
15145
|
}),
|
|
15146
15146
|
d(ve, null, {
|
|
15147
15147
|
default: c(() => [
|
|
15148
|
-
d(
|
|
15148
|
+
d(re, { cols: "3" }, {
|
|
15149
15149
|
default: c(() => [
|
|
15150
15150
|
M(A(u(t)("common.damImage.asset.detail.info.field.size")), 1)
|
|
15151
15151
|
]),
|
|
15152
15152
|
_: 1
|
|
15153
15153
|
}),
|
|
15154
|
-
d(
|
|
15154
|
+
d(re, { cols: "9" }, {
|
|
15155
15155
|
default: c(() => [
|
|
15156
15156
|
M(A(u(Co)(p.value.fileAttributes.size)), 1)
|
|
15157
15157
|
]),
|
|
@@ -15355,7 +15355,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15355
15355
|
onClick: W(i, ["stop"])
|
|
15356
15356
|
}, {
|
|
15357
15357
|
default: c(() => [
|
|
15358
|
-
d(
|
|
15358
|
+
d(oe, { icon: "mdi-close" }),
|
|
15359
15359
|
d(xe, {
|
|
15360
15360
|
activator: "parent",
|
|
15361
15361
|
location: "bottom"
|
|
@@ -15511,7 +15511,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15511
15511
|
}), R = I(() => C.value?.mainFile || void 0), L = [
|
|
15512
15512
|
ze.Processing,
|
|
15513
15513
|
ze.Loading
|
|
15514
|
-
], $ = I(() => !
|
|
15514
|
+
], $ = I(() => !ie(g.value) && L.includes(g.value.status)), k = I(() => !ie(g.value) && g.value.status === ze.Waiting), _ = I(() => !ie(g.value) && g.value.status === ze.Uploaded), U = I(() => !t.disableDoneAnimation && _.value), J = I(() => !ie(g.value) && g.value.status === ze.Uploading), K = I(() => g.value?.progress.progressPercent), { damClient: O } = Ze(), Z = async () => {
|
|
15515
15515
|
h.stopUpload(t.queueKey), l.setAsset(null), p.value = null;
|
|
15516
15516
|
}, G = I(() => h.getQueueTotalCount(t.queueKey)), Fe = I(() => h.getQueueProcessedCount(t.queueKey)), le = I(() => G.value > Fe.value), ne = async () => {
|
|
15517
15517
|
if (q.value.length !== 0)
|
|
@@ -15601,7 +15601,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15601
15601
|
onClick: W(b, ["stop"])
|
|
15602
15602
|
}, {
|
|
15603
15603
|
default: c(() => [
|
|
15604
|
-
d(
|
|
15604
|
+
d(oe, { icon: "mdi-information-outline" }),
|
|
15605
15605
|
d(xe, {
|
|
15606
15606
|
activator: "parent",
|
|
15607
15607
|
location: "bottom"
|
|
@@ -15648,7 +15648,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15648
15648
|
"aspect-ratio": vq
|
|
15649
15649
|
}, null, 8, ["asset-type", "asset-status", "src", "background-color", "width", "height", "show-uploading", "show-processing", "show-waiting", "show-done", "uploading-progress", "remaining-time"])) : P("", !0),
|
|
15650
15650
|
g.value && g.value.error.hasError ? (v(), D("div", nq, [
|
|
15651
|
-
d(
|
|
15651
|
+
d(oe, {
|
|
15652
15652
|
icon: "mdi-alert",
|
|
15653
15653
|
class: "ma-1",
|
|
15654
15654
|
size: "x-small",
|
|
@@ -15933,7 +15933,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15933
15933
|
);
|
|
15934
15934
|
if (B(p) || B(p.value))
|
|
15935
15935
|
throw new Error("Fatal error, parent component doesn't provide necessary config ext system config.");
|
|
15936
|
-
const { t: q } = Q(), { showErrorsDefault: g, showError: C, showErrorT: X } = je(), b = qs(s.configName), { imageClient: Y } = b, { widgetImageToDamImageUrl: x } = Ii(b), y = Pt(), T = _r(), { detail: E } = st(T), { uploadQueueDialog: j } = Si(), N = S(null), R = S(!1), L = S(!1), $ = S(!1), k = S(!1), _ = S(!1), U = S(!1), J = I(() =>
|
|
15936
|
+
const { t: q } = Q(), { showErrorsDefault: g, showError: C, showErrorT: X } = je(), b = qs(s.configName), { imageClient: Y } = b, { widgetImageToDamImageUrl: x } = Ii(b), y = Pt(), T = _r(), { detail: E } = st(T), { uploadQueueDialog: j } = Si(), N = S(null), R = S(!1), L = S(!1), $ = S(!1), k = S(!1), _ = S(!1), U = S(!1), J = I(() => ie(i.value)), K = S(""), O = I(() => y.getQueue(s.queueKey)), Z = I(() => !ie(N.value)), G = () => {
|
|
15937
15937
|
T.setDetail(ot(N.value)), $.value = !0;
|
|
15938
15938
|
}, Fe = () => {
|
|
15939
15939
|
L.value = !0;
|
|
@@ -15973,7 +15973,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15973
15973
|
ae.Image,
|
|
15974
15974
|
p.value.extSystemConfig
|
|
15975
15975
|
), qe = async (pe, Ae, Ue = !1) => {
|
|
15976
|
-
if (K.value = $t, pe &&
|
|
15976
|
+
if (K.value = $t, pe && ie(N.value) || pe && Ue) {
|
|
15977
15977
|
N.value = Ie(pe), N.value && (Xt(s.damWidth) && Xt(s.damHeight) ? K.value = x(ot(N.value), s.damWidth, s.damHeight) : K.value = x(ot(N.value)), s.expandMetadata && T.setDetail(ot(N.value)));
|
|
15978
15978
|
return;
|
|
15979
15979
|
}
|
|
@@ -15983,7 +15983,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
15983
15983
|
} catch (zt) {
|
|
15984
15984
|
g(zt);
|
|
15985
15985
|
}
|
|
15986
|
-
|
|
15986
|
+
ie(N.value) || (Xt(s.damWidth) && Xt(s.damHeight) ? K.value = x(ot(N.value), s.damWidth, s.damHeight) : K.value = x(ot(N.value)), s.expandMetadata && T.setDetail(ot(N.value)));
|
|
15987
15987
|
return;
|
|
15988
15988
|
}
|
|
15989
15989
|
N.value = null;
|
|
@@ -16041,7 +16041,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16041
16041
|
},
|
|
16042
16042
|
position: 1
|
|
16043
16043
|
};
|
|
16044
|
-
|
|
16044
|
+
ie(i.value) || (zt.id = i.value), T.setDetail(zt), _.value = !1, s.expandMetadata && gt();
|
|
16045
16045
|
}
|
|
16046
16046
|
}, ue = kt(), { loading: fe, dialog: ce, asset: me } = st(ue), { damClient: Le } = Ze(), bt = async (pe) => {
|
|
16047
16047
|
fe.value = !0, ce.value = s.queueKey;
|
|
@@ -16076,7 +16076,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16076
16076
|
}
|
|
16077
16077
|
}
|
|
16078
16078
|
}, we = async () => {
|
|
16079
|
-
if (!
|
|
16079
|
+
if (!ie(i.value)) {
|
|
16080
16080
|
if (s.callDeleteApiOnRemove) {
|
|
16081
16081
|
try {
|
|
16082
16082
|
await jr(Y, i.value), Me();
|
|
@@ -16090,7 +16090,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16090
16090
|
}, gt = () => {
|
|
16091
16091
|
Rt(E.value) && qe(E.value, null, !0);
|
|
16092
16092
|
}, ga = (pe) => {
|
|
16093
|
-
pe[0] && (
|
|
16093
|
+
pe[0] && (ie(i.value) || (pe[0].id = i.value), T.setDetail(pe[0]), $.value = !0, s.expandMetadata && gt());
|
|
16094
16094
|
}, la = S(null), Ws = () => {
|
|
16095
16095
|
if (!qa.value) {
|
|
16096
16096
|
if (F(), !s.expandOptions) {
|
|
@@ -16103,7 +16103,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16103
16103
|
Xs.value?.confirm();
|
|
16104
16104
|
}, Gs = () => {
|
|
16105
16105
|
F();
|
|
16106
|
-
}, Ja = I(() => $.value || L.value || U.value || j.value === s.queueKey), qa = I(() => !
|
|
16106
|
+
}, Ja = I(() => $.value || L.value || U.value || j.value === s.queueKey), qa = I(() => !ie(f.value));
|
|
16107
16107
|
return Xe(
|
|
16108
16108
|
R,
|
|
16109
16109
|
(pe, Ae) => {
|
|
@@ -16188,7 +16188,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16188
16188
|
onClick: W(Gs, ["stop"])
|
|
16189
16189
|
}, {
|
|
16190
16190
|
default: c(() => [
|
|
16191
|
-
d(
|
|
16191
|
+
d(oe, { icon: "mdi-dots-horizontal" }),
|
|
16192
16192
|
d(xe, {
|
|
16193
16193
|
activator: "parent",
|
|
16194
16194
|
location: "top"
|
|
@@ -16753,7 +16753,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16753
16753
|
);
|
|
16754
16754
|
if (B(p) || B(p.value))
|
|
16755
16755
|
throw new Error("Fatal error, parent component doesn't provide necessary config ext system config.");
|
|
16756
|
-
const { t: q } = Q(), { showErrorsDefault: g, showError: C, showErrorT: X } = je(), b = qs(s.configName), { imageClient: Y } = b, { widgetImageToDamImageUrl: x, damImageIdToDamImageUrl: y } = Ii(b), T = Pt(), { uploadQueueDialog: E } = Si(), j = S(!1), N = S(null), R = S(!1), L = S(!1), $ = S(!1), k = S(!1), _ = S(!1), U = S(!1), J = I(() => !
|
|
16756
|
+
const { t: q } = Q(), { showErrorsDefault: g, showError: C, showErrorT: X } = je(), b = qs(s.configName), { imageClient: Y } = b, { widgetImageToDamImageUrl: x, damImageIdToDamImageUrl: y } = Ii(b), T = Pt(), { uploadQueueDialog: E } = Si(), j = S(!1), N = S(null), R = S(!1), L = S(!1), $ = S(!1), k = S(!1), _ = S(!1), U = S(!1), J = I(() => !ie(i.value) || !ie(r.value)), K = S(""), O = I(() => T.getQueue(s.queueKey)), Z = I(() => !ie(N.value)), G = () => {
|
|
16757
16757
|
ue.setDetail(ot(N.value)), $.value = !0;
|
|
16758
16758
|
}, Fe = () => {
|
|
16759
16759
|
L.value = !0;
|
|
@@ -16793,7 +16793,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16793
16793
|
ae.Image,
|
|
16794
16794
|
p.value.extSystemConfig
|
|
16795
16795
|
), qe = async (Ve, Ye, Te = !1) => {
|
|
16796
|
-
if (K.value = $t, Ve &&
|
|
16796
|
+
if (K.value = $t, Ve && ie(N.value) || Ve && Te) {
|
|
16797
16797
|
N.value = Ie(Ve), Rt(N.value) && (Xt(s.damWidth) && Xt(s.damHeight) ? K.value = x(ot(N.value), s.damWidth, s.damHeight) : K.value = x(ot(N.value)), s.expandMetadata && ue.setDetail(ot(N.value)));
|
|
16798
16798
|
return;
|
|
16799
16799
|
}
|
|
@@ -16809,7 +16809,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16809
16809
|
N.value = null;
|
|
16810
16810
|
}, Me = (Ve) => {
|
|
16811
16811
|
if (K.value = $t, Ve) {
|
|
16812
|
-
N.value = Ie(Ve), _a(N.value) && !
|
|
16812
|
+
N.value = Ie(Ve), _a(N.value) && !ie(N.value.damMedia.imageFileId) && (Xt(s.damWidth) && Xt(s.damHeight) ? K.value = y(
|
|
16813
16813
|
N.value.damMedia.imageFileId,
|
|
16814
16814
|
s.damWidth,
|
|
16815
16815
|
s.damHeight
|
|
@@ -16823,7 +16823,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16823
16823
|
Xe(
|
|
16824
16824
|
[() => s.initialImage, i, r],
|
|
16825
16825
|
async ([Ve, Ye, Te], [it, Pe, ta]) => {
|
|
16826
|
-
if (!
|
|
16826
|
+
if (!ie(Te) && JSON.stringify(Te) !== JSON.stringify(ta)) {
|
|
16827
16827
|
Me(Te);
|
|
16828
16828
|
return;
|
|
16829
16829
|
}
|
|
@@ -16831,7 +16831,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16831
16831
|
await qe(Ve, Ye);
|
|
16832
16832
|
return;
|
|
16833
16833
|
}
|
|
16834
|
-
|
|
16834
|
+
ie(Te) && !ie(ta) && Me(null);
|
|
16835
16835
|
},
|
|
16836
16836
|
{ immediate: !0 }
|
|
16837
16837
|
);
|
|
@@ -16934,7 +16934,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16934
16934
|
},
|
|
16935
16935
|
position: 1
|
|
16936
16936
|
};
|
|
16937
|
-
|
|
16937
|
+
ie(i.value) || (ta.id = i.value), ue.setDetail(ta);
|
|
16938
16938
|
}
|
|
16939
16939
|
_.value = !1, s.expandMetadata && ys();
|
|
16940
16940
|
}
|
|
@@ -16999,7 +16999,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
16999
16999
|
return;
|
|
17000
17000
|
} else Rt(fe.value) && qe(fe.value, null, !0);
|
|
17001
17001
|
}, Gs = (Ve) => {
|
|
17002
|
-
Ve[0] && (
|
|
17002
|
+
Ve[0] && (ie(i.value) || (Ve[0].id = i.value), ue.setDetail(Ve[0]), $.value = !0, s.expandMetadata && ys());
|
|
17003
17003
|
}, Ja = S(null), qa = () => {
|
|
17004
17004
|
if (!se.value) {
|
|
17005
17005
|
if (F(), !s.expandOptions) {
|
|
@@ -17012,7 +17012,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17012
17012
|
pe.value?.confirm();
|
|
17013
17013
|
}, Ue = () => {
|
|
17014
17014
|
F();
|
|
17015
|
-
}, zt = I(() => $.value || L.value || U.value || E.value === s.queueKey), se = I(() => !
|
|
17015
|
+
}, zt = I(() => $.value || L.value || U.value || E.value === s.queueKey), se = I(() => !ie(f.value)), yt = I(() => r.value && r.value.damMedia.assetType ? r.value.damMedia.assetType : ae.Image), mt = I(() => _a(N.value) ? N.value.damMedia.assetType === Hr.Video ? ae.Video : ae.Audio : Rt(N.value) ? ae.Image : null);
|
|
17016
17016
|
return Xe(
|
|
17017
17017
|
R,
|
|
17018
17018
|
(Ve, Ye) => {
|
|
@@ -17094,7 +17094,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17094
17094
|
onClick: W(Ue, ["stop"])
|
|
17095
17095
|
}, {
|
|
17096
17096
|
default: c(() => [
|
|
17097
|
-
d(
|
|
17097
|
+
d(oe, { icon: "mdi-dots-horizontal" }),
|
|
17098
17098
|
d(xe, {
|
|
17099
17099
|
activator: "parent",
|
|
17100
17100
|
location: "top"
|
|
@@ -17215,13 +17215,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17215
17215
|
}, 8, ["lazy-src", "src", "width", "height"]),
|
|
17216
17216
|
mt.value ? (v(), D("div", r7, [
|
|
17217
17217
|
mt.value === u(ae).Audio ? (v(), D("div", n7, [
|
|
17218
|
-
d(
|
|
17218
|
+
d(oe, {
|
|
17219
17219
|
size: "80",
|
|
17220
17220
|
icon: "mdi-music",
|
|
17221
17221
|
color: "#505050"
|
|
17222
17222
|
})
|
|
17223
17223
|
])) : mt.value === u(ae).Video ? (v(), D("div", l7, [
|
|
17224
|
-
d(
|
|
17224
|
+
d(oe, {
|
|
17225
17225
|
size: "80",
|
|
17226
17226
|
icon: "mdi-video",
|
|
17227
17227
|
color: "#505050"
|
|
@@ -17465,7 +17465,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17465
17465
|
widgetClass: { default: void 0 }
|
|
17466
17466
|
},
|
|
17467
17467
|
setup(e) {
|
|
17468
|
-
const a = e, t = qs(a.configName), { damImageIdToDamImageUrl: s } = Ii(t), o = S(null), i = S(""), r = S(!1), n = (V) =>
|
|
17468
|
+
const a = e, t = qs(a.configName), { damImageIdToDamImageUrl: s } = Ii(t), o = S(null), i = S(""), r = S(!1), n = (V) => ie(V.damMedia.imageFileId) ? $t : Xt(a.damWidth) && Xt(a.damHeight) ? s(V.damMedia.imageFileId, a.damWidth, a.damHeight) : s(V.damMedia.imageFileId), l = () => {
|
|
17469
17469
|
o.value?.damMedia.playable && (r.value = !0);
|
|
17470
17470
|
}, m = () => {
|
|
17471
17471
|
r.value = !1;
|
|
@@ -17512,13 +17512,13 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17512
17512
|
}, 8, ["lazy-src", "src", "width", "height", "class", "aspect-ratio"])),
|
|
17513
17513
|
f.value ? (v(), D("div", F7, [
|
|
17514
17514
|
f.value === u(ae).Audio ? (v(), D("div", p7, [
|
|
17515
|
-
d(
|
|
17515
|
+
d(oe, {
|
|
17516
17516
|
size: "80",
|
|
17517
17517
|
icon: "mdi-music",
|
|
17518
17518
|
color: "#505050"
|
|
17519
17519
|
})
|
|
17520
17520
|
])) : f.value === u(ae).Video ? (v(), D("div", h7, [
|
|
17521
|
-
d(
|
|
17521
|
+
d(oe, {
|
|
17522
17522
|
size: "80",
|
|
17523
17523
|
icon: "mdi-video",
|
|
17524
17524
|
color: "#505050"
|
|
@@ -17574,8 +17574,8 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17574
17574
|
},
|
|
17575
17575
|
emits: ["editAsset", "removeItem"],
|
|
17576
17576
|
setup(e, { emit: a }) {
|
|
17577
|
-
const t = e, s = a, o = Ki(), { t: i } = Q(), { cachedExtSystemId: r } = na(), n = S([]), l = I(() => o.images[t.index]), m = I(() =>
|
|
17578
|
-
|
|
17577
|
+
const t = e, s = a, o = Ki(), { t: i } = Q(), { cachedExtSystemId: r } = na(), n = S([]), l = I(() => o.images[t.index]), m = I(() => ie(l.value) || B(l.value) ? !0 : l.value.showDamAuthors === !1), { v$: f } = bd(l, m), V = () => {
|
|
17578
|
+
ie(l.value) || B(l.value) || s("editAsset", l.value.dam.damId);
|
|
17579
17579
|
}, F = () => {
|
|
17580
17580
|
s("removeItem", t.index);
|
|
17581
17581
|
};
|
|
@@ -17583,7 +17583,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17583
17583
|
z("div", q7, [
|
|
17584
17584
|
z("div", Y7, [
|
|
17585
17585
|
z("div", X7, [
|
|
17586
|
-
d(
|
|
17586
|
+
d(oe, {
|
|
17587
17587
|
class: ye({
|
|
17588
17588
|
[u(sr)]: !0,
|
|
17589
17589
|
[u(sr) + "--disabled"]: e.disableDraggable
|
|
@@ -17597,7 +17597,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17597
17597
|
}, null, 8, ["model-value", "image"]),
|
|
17598
17598
|
d(ve, { dense: "" }, {
|
|
17599
17599
|
default: c(() => [
|
|
17600
|
-
d(
|
|
17600
|
+
d(re, { class: "d-flex justify-space-between mt-1" }, {
|
|
17601
17601
|
default: c(() => [
|
|
17602
17602
|
d(ee, {
|
|
17603
17603
|
variant: "text",
|
|
@@ -17624,7 +17624,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17624
17624
|
}),
|
|
17625
17625
|
d(ve, { dense: "" }, {
|
|
17626
17626
|
default: c(() => [
|
|
17627
|
-
d(
|
|
17627
|
+
d(re, null, {
|
|
17628
17628
|
default: c(() => [
|
|
17629
17629
|
d(ua, {
|
|
17630
17630
|
modelValue: l.value.texts.description,
|
|
@@ -17644,7 +17644,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17644
17644
|
dense: ""
|
|
17645
17645
|
}, {
|
|
17646
17646
|
default: c(() => [
|
|
17647
|
-
d(
|
|
17647
|
+
d(re, null, {
|
|
17648
17648
|
default: c(() => [
|
|
17649
17649
|
d(Nt, {
|
|
17650
17650
|
subject: "author",
|
|
@@ -17675,7 +17675,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17675
17675
|
dense: ""
|
|
17676
17676
|
}, {
|
|
17677
17677
|
default: c(() => [
|
|
17678
|
-
d(
|
|
17678
|
+
d(re, null, {
|
|
17679
17679
|
default: c(() => [
|
|
17680
17680
|
d(ua, {
|
|
17681
17681
|
modelValue: l.value.texts.source,
|
|
@@ -17691,7 +17691,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17691
17691
|
})),
|
|
17692
17692
|
d(ve, null, {
|
|
17693
17693
|
default: c(() => [
|
|
17694
|
-
d(
|
|
17694
|
+
d(re, null, {
|
|
17695
17695
|
default: c(() => [
|
|
17696
17696
|
d(fa, {
|
|
17697
17697
|
modelValue: l.value.flags.showSource,
|
|
@@ -17772,7 +17772,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17772
17772
|
ze.Waiting,
|
|
17773
17773
|
ze.Uploading
|
|
17774
17774
|
], Y = I(() => b.includes(t.item.status)), x = S(!1), y = S(void 0), T = async () => {
|
|
17775
|
-
|
|
17775
|
+
ie(t.item.assetId) || s("showDetail", t.item.assetId);
|
|
17776
17776
|
}, E = () => {
|
|
17777
17777
|
t.item.assetId && s("refreshItem", { index: t.index, assetId: t.item.assetId });
|
|
17778
17778
|
}, { keywordRequired: j, keywordEnabled: N } = zr(g.value, t.extSystem), { authorRequired: R, authorEnabled: L } = Rr(g.value, t.extSystem);
|
|
@@ -17786,7 +17786,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17786
17786
|
{ immediate: !0 }
|
|
17787
17787
|
), Ls(() => {
|
|
17788
17788
|
clearTimeout(y.value), y.value = void 0;
|
|
17789
|
-
}), ($, k) => (v(), w(
|
|
17789
|
+
}), ($, k) => (v(), w(re, {
|
|
17790
17790
|
xxl: "2",
|
|
17791
17791
|
xl: "3",
|
|
17792
17792
|
md: "4",
|
|
@@ -17813,7 +17813,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17813
17813
|
"aspect-ratio": M7
|
|
17814
17814
|
}, null, 8, ["asset-type", "asset-status", "src", "show-uploading", "show-processing", "show-waiting", "show-done", "uploading-progress", "remaining-time"]),
|
|
17815
17815
|
e.item.error.hasError ? (v(), D("div", C7, [
|
|
17816
|
-
d(
|
|
17816
|
+
d(oe, {
|
|
17817
17817
|
icon: "mdi-alert",
|
|
17818
17818
|
class: "ma-1",
|
|
17819
17819
|
size: "x-small",
|
|
@@ -17836,7 +17836,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17836
17836
|
class: "my-2"
|
|
17837
17837
|
}, {
|
|
17838
17838
|
default: c(() => [
|
|
17839
|
-
d(
|
|
17839
|
+
d(re, null, {
|
|
17840
17840
|
default: c(() => [
|
|
17841
17841
|
z("div", K7, [
|
|
17842
17842
|
z("div", null, [
|
|
@@ -17869,7 +17869,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17869
17869
|
onClick: W(E, ["stop"])
|
|
17870
17870
|
}, {
|
|
17871
17871
|
default: c(() => [
|
|
17872
|
-
d(
|
|
17872
|
+
d(oe, { icon: "mdi-refresh" }),
|
|
17873
17873
|
d(xe, {
|
|
17874
17874
|
activator: "parent",
|
|
17875
17875
|
location: "bottom"
|
|
@@ -17890,7 +17890,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17890
17890
|
onClick: W(X, ["stop"])
|
|
17891
17891
|
}, {
|
|
17892
17892
|
default: c(() => [
|
|
17893
|
-
d(
|
|
17893
|
+
d(oe, { icon: "mdi-close-circle-outline" }),
|
|
17894
17894
|
d(xe, {
|
|
17895
17895
|
activator: "parent",
|
|
17896
17896
|
location: "bottom"
|
|
@@ -17924,7 +17924,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17924
17924
|
class: "my-2 mb-3 mt-0 text-caption"
|
|
17925
17925
|
}, {
|
|
17926
17926
|
default: c(() => [
|
|
17927
|
-
d(
|
|
17927
|
+
d(re, { class: "pt-0" }, {
|
|
17928
17928
|
default: c(() => [
|
|
17929
17929
|
M(A(u(l)("common.damImage.queueItem.displayTitle")) + ": " + A(e.item.displayTitle) + " ", 1),
|
|
17930
17930
|
e.item.file?.size ? (v(), D("span", T7, " (" + A(u(Co)(e.item.file.size)) + ")", 1)) : P("", !0)
|
|
@@ -17939,7 +17939,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17939
17939
|
class: "text-caption text-warning"
|
|
17940
17940
|
}, {
|
|
17941
17941
|
default: c(() => [
|
|
17942
|
-
d(
|
|
17942
|
+
d(re, { class: "pt-0" }, {
|
|
17943
17943
|
default: c(() => [
|
|
17944
17944
|
M(A(u(l)("common.damImage.asset.detail.info.status.duplicate")), 1)
|
|
17945
17945
|
]),
|
|
@@ -17966,7 +17966,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
17966
17966
|
class: "my-2"
|
|
17967
17967
|
}, {
|
|
17968
17968
|
default: c(() => [
|
|
17969
|
-
d(
|
|
17969
|
+
d(re, null, {
|
|
17970
17970
|
default: c(() => [
|
|
17971
17971
|
d(Nt, {
|
|
17972
17972
|
subject: "keyword",
|
|
@@ -18000,7 +18000,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
18000
18000
|
class: "my-2"
|
|
18001
18001
|
}, {
|
|
18002
18002
|
default: c(() => [
|
|
18003
|
-
d(
|
|
18003
|
+
d(re, null, {
|
|
18004
18004
|
default: c(() => [
|
|
18005
18005
|
d(Nt, {
|
|
18006
18006
|
subject: "author",
|
|
@@ -18034,7 +18034,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
18034
18034
|
class: "my-2"
|
|
18035
18035
|
}, {
|
|
18036
18036
|
default: c(() => [
|
|
18037
|
-
d(
|
|
18037
|
+
d(re, null, {
|
|
18038
18038
|
default: c(() => [
|
|
18039
18039
|
d(fa, {
|
|
18040
18040
|
modelValue: n.value,
|
|
@@ -18089,7 +18089,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
18089
18089
|
class: "mt-1"
|
|
18090
18090
|
}, {
|
|
18091
18091
|
default: c(() => [
|
|
18092
|
-
d(
|
|
18092
|
+
d(re, null, {
|
|
18093
18093
|
default: c(() => [
|
|
18094
18094
|
h.attributes.readonly ? (v(), D("div", B7)) : (v(), D("div", P7, [
|
|
18095
18095
|
d(rr, {
|
|
@@ -18105,7 +18105,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
18105
18105
|
onClick: W((p) => r(h.property, e.modelValue[h.property]), ["stop"])
|
|
18106
18106
|
}, {
|
|
18107
18107
|
default: c(() => [
|
|
18108
|
-
d(
|
|
18108
|
+
d(oe, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
18109
18109
|
d(xe, {
|
|
18110
18110
|
activator: "parent",
|
|
18111
18111
|
location: "bottom"
|
|
@@ -18125,7 +18125,7 @@ const zg = { key: 0 }, Rg = /* @__PURE__ */ H({
|
|
|
18125
18125
|
onClick: W((p) => n(h.property, e.modelValue[h.property]), ["stop"])
|
|
18126
18126
|
}, {
|
|
18127
18127
|
default: c(() => [
|
|
18128
|
-
d(
|
|
18128
|
+
d(oe, { icon: "mdi-file-replace-outline" }),
|
|
18129
18129
|
d(xe, {
|
|
18130
18130
|
activator: "parent",
|
|
18131
18131
|
location: "bottom"
|
|
@@ -18277,7 +18277,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18277
18277
|
class: "my-2"
|
|
18278
18278
|
}, {
|
|
18279
18279
|
default: c(() => [
|
|
18280
|
-
d(
|
|
18280
|
+
d(re, null, {
|
|
18281
18281
|
default: c(() => [
|
|
18282
18282
|
d(Nt, {
|
|
18283
18283
|
subject: "keyword",
|
|
@@ -18304,7 +18304,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18304
18304
|
onClick: W(h, ["stop"])
|
|
18305
18305
|
}, {
|
|
18306
18306
|
default: c(() => [
|
|
18307
|
-
d(
|
|
18307
|
+
d(oe, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
18308
18308
|
d(xe, {
|
|
18309
18309
|
activator: "parent",
|
|
18310
18310
|
location: "bottom"
|
|
@@ -18324,7 +18324,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18324
18324
|
onClick: W(p, ["stop"])
|
|
18325
18325
|
}, {
|
|
18326
18326
|
default: c(() => [
|
|
18327
|
-
d(
|
|
18327
|
+
d(oe, { icon: "mdi-file-replace-outline" }),
|
|
18328
18328
|
d(xe, {
|
|
18329
18329
|
activator: "parent",
|
|
18330
18330
|
location: "bottom"
|
|
@@ -18352,7 +18352,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18352
18352
|
class: "my-2"
|
|
18353
18353
|
}, {
|
|
18354
18354
|
default: c(() => [
|
|
18355
|
-
d(
|
|
18355
|
+
d(re, null, {
|
|
18356
18356
|
default: c(() => [
|
|
18357
18357
|
d(Nt, {
|
|
18358
18358
|
subject: "author",
|
|
@@ -18379,7 +18379,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18379
18379
|
onClick: W(q, ["stop"])
|
|
18380
18380
|
}, {
|
|
18381
18381
|
default: c(() => [
|
|
18382
|
-
d(
|
|
18382
|
+
d(oe, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
18383
18383
|
d(xe, {
|
|
18384
18384
|
activator: "parent",
|
|
18385
18385
|
location: "bottom"
|
|
@@ -18399,7 +18399,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18399
18399
|
onClick: W(g, ["stop"])
|
|
18400
18400
|
}, {
|
|
18401
18401
|
default: c(() => [
|
|
18402
|
-
d(
|
|
18402
|
+
d(oe, { icon: "mdi-file-replace-outline" }),
|
|
18403
18403
|
d(xe, {
|
|
18404
18404
|
activator: "parent",
|
|
18405
18405
|
location: "bottom"
|
|
@@ -18652,7 +18652,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18652
18652
|
Y(le);
|
|
18653
18653
|
}
|
|
18654
18654
|
return J.filter(
|
|
18655
|
-
(le) => !
|
|
18655
|
+
(le) => !ie(le.assetId) && !ie(le.fileId)
|
|
18656
18656
|
).map((le) => {
|
|
18657
18657
|
l.value++;
|
|
18658
18658
|
const ne = O.get(le.assetId)?.description, Ee = O.get(le.assetId)?.authorIds, be = [];
|
|
@@ -18772,7 +18772,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18772
18772
|
onClick: W(j, ["stop"])
|
|
18773
18773
|
}, {
|
|
18774
18774
|
default: c(() => [
|
|
18775
|
-
d(
|
|
18775
|
+
d(oe, { icon: "mdi-content-save" }),
|
|
18776
18776
|
d(xe, {
|
|
18777
18777
|
activator: "parent",
|
|
18778
18778
|
location: "bottom"
|
|
@@ -18801,7 +18801,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18801
18801
|
width: 34
|
|
18802
18802
|
}, Z), {
|
|
18803
18803
|
default: c(() => [
|
|
18804
|
-
d(
|
|
18804
|
+
d(oe, { icon: "mdi-plus" }),
|
|
18805
18805
|
d(xe, {
|
|
18806
18806
|
activator: "parent",
|
|
18807
18807
|
location: "bottom"
|
|
@@ -18832,7 +18832,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18832
18832
|
onClick: W(u(r), ["stop"])
|
|
18833
18833
|
}, {
|
|
18834
18834
|
default: c(() => [
|
|
18835
|
-
d(
|
|
18835
|
+
d(oe, { icon: "mdi-tag-text-outline" }),
|
|
18836
18836
|
d(xe, {
|
|
18837
18837
|
activator: "parent",
|
|
18838
18838
|
location: "bottom"
|
|
@@ -18982,7 +18982,7 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
18982
18982
|
}
|
|
18983
18983
|
}), VY = (e, a, t = "", s = {}, o = null, i, r, n = {}) => new Promise((l, m) => {
|
|
18984
18984
|
const f = { method: a };
|
|
18985
|
-
t !== "" && (f.url = Os(t, s)),
|
|
18985
|
+
t !== "" && (f.url = Os(t, s)), ie(o) || (f.data = JSON.stringify(o)), e().request({ ...n, ...f }).then((V) => vi(V.status) ? V.data ? l(V.data) : V.status === pi ? l(null) : m(new oa()) : m(new Fi(V.status))).catch((V) => us(V) ? m(new cs(V, V.config?.url)) : Na(V) ? m(new ms(V, i, r, V)) : hi(V) ? m(new gi(V, i, r, V)) : fs(V) ? m(new Vs(V, V)) : m(new oa(V)));
|
|
18986
18986
|
}), ru = 20, vY = async (e, a) => {
|
|
18987
18987
|
const t = Array.from(a.entries()).flatMap(([o, i]) => lu(i, ru).map(
|
|
18988
18988
|
(r) => nu(e, /* @__PURE__ */ new Map([[o, r]]))
|
|
@@ -19157,14 +19157,14 @@ const L7 = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, U7 = { clas
|
|
|
19157
19157
|
if (ue.type !== "asset" || ue.value.length === 0) return;
|
|
19158
19158
|
if (!B(ue.copyToLicence)) {
|
|
19159
19159
|
try {
|
|
19160
|
-
const ce = await Pr(K, ue.value.filter((me) => !
|
|
19160
|
+
const ce = await Pr(K, ue.value.filter((me) => !ie(me.mainFile)).map((me) => ({ asset: me.id, targetAssetLicence: ue.copyToLicence })));
|
|
19161
19161
|
R(ce);
|
|
19162
19162
|
} catch (ce) {
|
|
19163
19163
|
m(ce);
|
|
19164
19164
|
}
|
|
19165
19165
|
return;
|
|
19166
19166
|
}
|
|
19167
|
-
const fe = await $(ue.value.filter((ce) => !
|
|
19167
|
+
const fe = await $(ue.value.filter((ce) => !ie(ce.mainFile)));
|
|
19168
19168
|
C.addImages(fe);
|
|
19169
19169
|
}, _ = kt(), { loading: U, dialog: J } = st(_), { damClient: K } = Ze(), O = async (ue) => {
|
|
19170
19170
|
U.value = !0, J.value = s.queueKey;
|
|
@@ -19542,7 +19542,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19542
19542
|
class: "mt-1"
|
|
19543
19543
|
}, {
|
|
19544
19544
|
default: c(() => [
|
|
19545
|
-
d(
|
|
19545
|
+
d(re, null, {
|
|
19546
19546
|
default: c(() => [
|
|
19547
19547
|
z("div", kY, [
|
|
19548
19548
|
d(ua, {
|
|
@@ -19559,7 +19559,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19559
19559
|
onClick: g[1] || (g[1] = W((C) => u(o)(a.value.description, !1), ["stop"]))
|
|
19560
19560
|
}, {
|
|
19561
19561
|
default: c(() => [
|
|
19562
|
-
d(
|
|
19562
|
+
d(oe, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
19563
19563
|
d(xe, {
|
|
19564
19564
|
activator: "parent",
|
|
19565
19565
|
location: "bottom"
|
|
@@ -19579,7 +19579,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19579
19579
|
onClick: g[2] || (g[2] = W((C) => u(o)(a.value.description, !0), ["stop"]))
|
|
19580
19580
|
}, {
|
|
19581
19581
|
default: c(() => [
|
|
19582
|
-
d(
|
|
19582
|
+
d(oe, { icon: "mdi-file-replace-outline" }),
|
|
19583
19583
|
d(xe, {
|
|
19584
19584
|
activator: "parent",
|
|
19585
19585
|
location: "bottom"
|
|
@@ -19605,7 +19605,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19605
19605
|
class: "mt-1"
|
|
19606
19606
|
}, {
|
|
19607
19607
|
default: c(() => [
|
|
19608
|
-
d(
|
|
19608
|
+
d(re, null, {
|
|
19609
19609
|
default: c(() => [
|
|
19610
19610
|
d(Nt, {
|
|
19611
19611
|
subject: "keyword",
|
|
@@ -19632,7 +19632,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19632
19632
|
onClick: g[4] || (g[4] = W((C) => u(r)(a.value.authors, !1), ["stop"]))
|
|
19633
19633
|
}, {
|
|
19634
19634
|
default: c(() => [
|
|
19635
|
-
d(
|
|
19635
|
+
d(oe, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
19636
19636
|
d(xe, {
|
|
19637
19637
|
activator: "parent",
|
|
19638
19638
|
location: "bottom"
|
|
@@ -19652,7 +19652,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19652
19652
|
onClick: g[5] || (g[5] = W((C) => u(r)(a.value.authors, !0), ["stop"]))
|
|
19653
19653
|
}, {
|
|
19654
19654
|
default: c(() => [
|
|
19655
|
-
d(
|
|
19655
|
+
d(oe, { icon: "mdi-file-replace-outline" }),
|
|
19656
19656
|
d(xe, {
|
|
19657
19657
|
activator: "parent",
|
|
19658
19658
|
location: "bottom"
|
|
@@ -19680,7 +19680,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19680
19680
|
class: "mt-1"
|
|
19681
19681
|
}, {
|
|
19682
19682
|
default: c(() => [
|
|
19683
|
-
d(
|
|
19683
|
+
d(re, null, {
|
|
19684
19684
|
default: c(() => [
|
|
19685
19685
|
z("div", KY, [
|
|
19686
19686
|
d(ua, {
|
|
@@ -19696,7 +19696,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19696
19696
|
onClick: g[7] || (g[7] = W((C) => u(i)(a.value.source, !1), ["stop"]))
|
|
19697
19697
|
}, {
|
|
19698
19698
|
default: c(() => [
|
|
19699
|
-
d(
|
|
19699
|
+
d(oe, { icon: "mdi-file-arrow-left-right-outline" }),
|
|
19700
19700
|
d(xe, {
|
|
19701
19701
|
activator: "parent",
|
|
19702
19702
|
location: "bottom"
|
|
@@ -19716,7 +19716,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19716
19716
|
onClick: g[8] || (g[8] = W((C) => u(i)(a.value.source, !0), ["stop"]))
|
|
19717
19717
|
}, {
|
|
19718
19718
|
default: c(() => [
|
|
19719
|
-
d(
|
|
19719
|
+
d(oe, { icon: "mdi-file-replace-outline" }),
|
|
19720
19720
|
d(xe, {
|
|
19721
19721
|
activator: "parent",
|
|
19722
19722
|
location: "bottom"
|
|
@@ -19808,7 +19808,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19808
19808
|
return l.value = !1, Promise.reject("Incorrect URL/ID provided");
|
|
19809
19809
|
try {
|
|
19810
19810
|
const $ = await Ai(F, o.value);
|
|
19811
|
-
return
|
|
19811
|
+
return ie($.mainFile) ? (l.value = !1, Promise.reject("Incorrect asset mainFile")) : X($, t.selectLicences) ? (l.value = !0, Promise.resolve($)) : (l.value = !1, Promise.reject("Incorrect asset or no access"));
|
|
19812
19812
|
} catch {
|
|
19813
19813
|
return l.value = !1, Promise.reject("Incorrect asset or no access");
|
|
19814
19814
|
}
|
|
@@ -19859,7 +19859,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19859
19859
|
} catch {
|
|
19860
19860
|
}
|
|
19861
19861
|
}, R = async ($, k, _ = !1) => {
|
|
19862
|
-
if (r.value = "", $ &&
|
|
19862
|
+
if (r.value = "", $ && ie(n.value) || $ && _) {
|
|
19863
19863
|
n.value = Ie($), n.value && (o.value = n.value.dam.damId, r.value = h(ot(n.value)), i.value.description = n.value.texts.description, i.value.source = n.value.texts.source, N());
|
|
19864
19864
|
return;
|
|
19865
19865
|
}
|
|
@@ -19869,7 +19869,7 @@ const IY = { class: "w-100" }, kY = { class: "d-flex" }, wY = { class: "d-flex"
|
|
|
19869
19869
|
} catch (U) {
|
|
19870
19870
|
p(U);
|
|
19871
19871
|
}
|
|
19872
|
-
|
|
19872
|
+
ie(n.value) || (o.value = n.value.dam.damId, r.value = h(ot(n.value)), i.value.description = n.value.texts.description, i.value.source = n.value.texts.source, N());
|
|
19873
19873
|
return;
|
|
19874
19874
|
}
|
|
19875
19875
|
n.value = null, i.value.description = "", i.value.source = "";
|
|
@@ -21144,7 +21144,7 @@ function wK(e) {
|
|
|
21144
21144
|
n > 60 && (Ak.value = n - 60);
|
|
21145
21145
|
}
|
|
21146
21146
|
}
|
|
21147
|
-
const a = () =>
|
|
21147
|
+
const a = () => ie(as.value), t = () => as.value === Wi.Success, s = () => as.value === Wi.FailureSsoCommunicationFailed, o = () => as.value === Wi.FailureInternalError, i = () => as.value === Wi.FailureUnauthorized;
|
|
21148
21148
|
return {
|
|
21149
21149
|
status: za(as),
|
|
21150
21150
|
serverTimestamp: za(Gi),
|
|
@@ -21157,7 +21157,7 @@ function wK(e) {
|
|
|
21157
21157
|
}
|
|
21158
21158
|
const bk = "/adm/users/current", SK = (e) => Kt(e, bk, {}, "coreDam", "user");
|
|
21159
21159
|
let Jo = null;
|
|
21160
|
-
const Ji = () => (Jo || (Jo = import("./index-
|
|
21160
|
+
const Ji = () => (Jo || (Jo = import("./index-CqDZ3cRX.mjs").then((e) => e).catch(() => null)), Jo);
|
|
21161
21161
|
function xk() {
|
|
21162
21162
|
return {
|
|
21163
21163
|
logError: (o, i) => {
|
|
@@ -21288,14 +21288,16 @@ function KK() {
|
|
|
21288
21288
|
console.error("error", x);
|
|
21289
21289
|
}
|
|
21290
21290
|
}), o.value.on("collabRoomLocksChanged", (Y, x) => {
|
|
21291
|
-
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
|
|
21295
|
-
|
|
21296
|
-
|
|
21291
|
+
if (!ie(x)) {
|
|
21292
|
+
const y = Object.entries(x);
|
|
21293
|
+
(!r.has(Y) || Object.keys(x).length === 0) && r.set(Y, new Map(y));
|
|
21294
|
+
for (const [T, E] of y) {
|
|
21295
|
+
if (!E) {
|
|
21296
|
+
r.get(Y)?.delete(T);
|
|
21297
|
+
continue;
|
|
21298
|
+
}
|
|
21299
|
+
r.get(Y)?.set(T, E);
|
|
21297
21300
|
}
|
|
21298
|
-
r.get(Y)?.set(T, E);
|
|
21299
21301
|
}
|
|
21300
21302
|
}), o.value.on("collabRoomDataChanged", (Y, x) => {
|
|
21301
21303
|
const y = Object.entries(x);
|
|
@@ -21997,7 +21999,7 @@ export {
|
|
|
21997
21999
|
Rt as isImageCreateUpdateAware,
|
|
21998
22000
|
gu as isInt,
|
|
21999
22001
|
_a as isMediaAware,
|
|
22000
|
-
|
|
22002
|
+
ie as isNull,
|
|
22001
22003
|
Xt as isNumber,
|
|
22002
22004
|
ol as isObject,
|
|
22003
22005
|
FD as isOneOf,
|