@anzusystems/common-admin 1.40.0-alpha13 → 1.40.0-alpha14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common-admin.es.js +1 -1
- package/dist/{lib-kOdj6XwH.js → lib-45_AFV2i.js} +145 -145
- package/dist/{lib-kOdj6XwH.js.map → lib-45_AFV2i.js.map} +1 -1
- package/dist/{shortcut-buttons-flatpickr-069FUbrc.js → shortcut-buttons-flatpickr-4o41RPcI.js} +2 -2
- package/dist/{shortcut-buttons-flatpickr-069FUbrc.js.map → shortcut-buttons-flatpickr-4o41RPcI.js.map} +1 -1
- package/dist/{webfontloader-KSx0bHnU.js → webfontloader-t2NmQTlg.js} +2 -2
- package/dist/{webfontloader-KSx0bHnU.js.map → webfontloader-t2NmQTlg.js.map} +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ var Qr = (t, i, e) => (am(t, typeof i != "symbol" ? i + "" : i, e), e);
|
|
|
4
4
|
import { defineComponent as G, computed as K, openBlock as q, createBlock as $, withCtx as h, createTextVNode as P, toDisplayString as C, createElementBlock as O, createVNode as f, normalizeClass as Fe, createCommentVNode as U, renderSlot as qe, createElementVNode as N, resolveComponent as Le, withModifiers as Q, withDirectives as Ei, vShow as Ti, isProxy as yd, toRaw as si, isRef as ja, unref as g, inject as je, createSlots as ia, provide as Ir, watch as Oe, Fragment as Ce, renderList as ot, ref as R, onMounted as xt, TransitionGroup as bd, isVNode as rm, toRefs as Ha, h as sm, nextTick as ni, readonly as ga, withKeys as ea, reactive as Wa, shallowRef as Lt, mergeProps as Yi, createStaticVNode as xd, resolveDynamicComponent as Rs, setBlockTracking as Vl, onBeforeUnmount as Ls, normalizeStyle as St, toRef as Us, Teleport as nm, onUnmounted as Cd, normalizeProps as om, guardReactiveProps as lm } from "vue";
|
|
5
5
|
import { useI18n as ie, createI18n as dm } from "vue-i18n";
|
|
6
6
|
import { VChip as oi } from "vuetify/lib/components/VChip/index.mjs";
|
|
7
|
-
import { VRow as Ae, VCol as
|
|
7
|
+
import { VRow as Ae, VCol as me, VSpacer as qt } from "vuetify/lib/components/VGrid/index.mjs";
|
|
8
8
|
import { VAlert as hr } from "vuetify/lib/components/VAlert/index.mjs";
|
|
9
9
|
import { VIcon as de } from "vuetify/lib/components/VIcon/index.mjs";
|
|
10
10
|
import { VCard as it, VCardText as $r, VCardActions as Mi } from "vuetify/lib/components/VCard/index.mjs";
|
|
@@ -74,7 +74,7 @@ const Pm = { key: 1 }, Om = /* @__PURE__ */ G({
|
|
|
74
74
|
setup(t) {
|
|
75
75
|
return (i, e) => (q(), $(Ae, { "data-cy": i.dataCy }, {
|
|
76
76
|
default: h(() => [
|
|
77
|
-
f(
|
|
77
|
+
f(me, null, {
|
|
78
78
|
default: h(() => [
|
|
79
79
|
i.title.length ? (q(), O("h4", {
|
|
80
80
|
key: 0,
|
|
@@ -1579,8 +1579,8 @@ var Ud = { exports: {} };
|
|
|
1579
1579
|
case u:
|
|
1580
1580
|
return M ? ee(1, ge) : ee(0, ge + 1);
|
|
1581
1581
|
case c:
|
|
1582
|
-
var ze = this.$locale().weekStart || 0,
|
|
1583
|
-
return ee(M ? $e -
|
|
1582
|
+
var ze = this.$locale().weekStart || 0, ce = (ve < ze ? ve + 7 : ve) - ze;
|
|
1583
|
+
return ee(M ? $e - ce : $e + (6 - ce), ge);
|
|
1584
1584
|
case l:
|
|
1585
1585
|
case V:
|
|
1586
1586
|
return ne(_e + "Hours", 0);
|
|
@@ -1632,7 +1632,7 @@ var Ud = { exports: {} };
|
|
|
1632
1632
|
return S.invalidDate || F;
|
|
1633
1633
|
var M = A || "YYYY-MM-DDTHH:mm:ssZ", H = B.z(this), ee = this.$H, ne = this.$m, ve = this.$M, ge = S.weekdays, $e = S.months, _e = S.meridiem, ze = function(ue, pe, De, We) {
|
|
1634
1634
|
return ue && (ue[pe] || ue(b, M)) || De[pe].slice(0, We);
|
|
1635
|
-
},
|
|
1635
|
+
}, ce = function(ue) {
|
|
1636
1636
|
return B.s(ee % 12 || 12, ue, "0");
|
|
1637
1637
|
}, ye = _e || function(ue, pe, De) {
|
|
1638
1638
|
var We = ue < 12 ? "AM" : "PM";
|
|
@@ -1670,9 +1670,9 @@ var Ud = { exports: {} };
|
|
|
1670
1670
|
case "HH":
|
|
1671
1671
|
return B.s(ee, 2, "0");
|
|
1672
1672
|
case "h":
|
|
1673
|
-
return
|
|
1673
|
+
return ce(1);
|
|
1674
1674
|
case "hh":
|
|
1675
|
-
return
|
|
1675
|
+
return ce(2);
|
|
1676
1676
|
case "a":
|
|
1677
1677
|
return ye(ee, ne, !0);
|
|
1678
1678
|
case "A":
|
|
@@ -2213,7 +2213,7 @@ const Hd = /* @__PURE__ */ G({
|
|
|
2213
2213
|
dense: ""
|
|
2214
2214
|
}, {
|
|
2215
2215
|
default: h(() => [
|
|
2216
|
-
f(
|
|
2216
|
+
f(me, { class: "" }, {
|
|
2217
2217
|
default: h(() => [
|
|
2218
2218
|
qe(n.$slots, "top")
|
|
2219
2219
|
]),
|
|
@@ -2224,7 +2224,7 @@ const Hd = /* @__PURE__ */ G({
|
|
|
2224
2224
|
})) : U("", !0),
|
|
2225
2225
|
f(Ae, { dense: "" }, {
|
|
2226
2226
|
default: h(() => [
|
|
2227
|
-
n.enableAdvanced ? (q(), $(
|
|
2227
|
+
n.enableAdvanced ? (q(), $(me, {
|
|
2228
2228
|
key: 0,
|
|
2229
2229
|
class: "v-col-filters--show-hide",
|
|
2230
2230
|
cols: "auto"
|
|
@@ -2237,7 +2237,7 @@ const Hd = /* @__PURE__ */ G({
|
|
|
2237
2237
|
]),
|
|
2238
2238
|
_: 1
|
|
2239
2239
|
})) : U("", !0),
|
|
2240
|
-
f(
|
|
2240
|
+
f(me, { class: "" }, {
|
|
2241
2241
|
default: h(() => [
|
|
2242
2242
|
qe(n.$slots, "default"),
|
|
2243
2243
|
n.enableAdvanced ? (q(), $(Dd, { key: 0 }, {
|
|
@@ -2253,7 +2253,7 @@ const Hd = /* @__PURE__ */ G({
|
|
|
2253
2253
|
]),
|
|
2254
2254
|
_: 3
|
|
2255
2255
|
}),
|
|
2256
|
-
n.hideButtons ? U("", !0) : (q(), $(
|
|
2256
|
+
n.hideButtons ? U("", !0) : (q(), $(me, {
|
|
2257
2257
|
key: 1,
|
|
2258
2258
|
class: "v-col-filters--buttons text-right",
|
|
2259
2259
|
cols: "auto"
|
|
@@ -2981,7 +2981,7 @@ function oV(t, i) {
|
|
|
2981
2981
|
config: At(At({}, Ta), st.defaultConfig),
|
|
2982
2982
|
l10n: Sr
|
|
2983
2983
|
};
|
|
2984
|
-
e.parseDate = co({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = F, e._setHoursFromDate = m, e._positionCalendar = oa, e.changeMonth = ee, e.changeYear = ze, e.clear = ne, e.close = ve, e.onMouseOver = De, e._createElement = Be, e.createDay = w, e.destroy = ge, e.isEnabled =
|
|
2984
|
+
e.parseDate = co({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = F, e._setHoursFromDate = m, e._positionCalendar = oa, e.changeMonth = ee, e.changeYear = ze, e.clear = ne, e.close = ve, e.onMouseOver = De, e._createElement = Be, e.createDay = w, e.destroy = ge, e.isEnabled = ce, e.jumpToDate = Y, e.updateValue = Ii, e.open = jt, e.redraw = dl, e.set = $c, e.setDate = Pc, e.toggle = zc;
|
|
2985
2985
|
function a() {
|
|
2986
2986
|
e.utils = {
|
|
2987
2987
|
getDaysInMonth: function(y, k) {
|
|
@@ -3143,7 +3143,7 @@ function oV(t, i) {
|
|
|
3143
3143
|
!e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
|
|
3144
3144
|
}
|
|
3145
3145
|
function w(y, k, z, Z) {
|
|
3146
|
-
var oe =
|
|
3146
|
+
var oe = ce(k, !0), fe = Be("span", y, k.getDate().toString());
|
|
3147
3147
|
return fe.dateObj = k, fe.$i = Z, fe.setAttribute("aria-label", e.formatDate(k, e.config.ariaDateFormat)), y.indexOf("hidden") === -1 && Ot(k, e.now) === 0 && (e.todayDateElem = fe, fe.classList.add("today"), fe.setAttribute("aria-current", "date")), oe ? (fe.tabIndex = -1, qn(k) && (fe.classList.add("selected"), e.selectedDateElem = fe, e.config.mode === "range" && (Ct(fe, "startRange", e.selectedDates[0] && Ot(k, e.selectedDates[0], !0) === 0), Ct(fe, "endRange", e.selectedDates[1] && Ot(k, e.selectedDates[1], !0) === 0), y === "nextMonthDay" && fe.classList.add("inRange")))) : fe.classList.add("flatpickr-disabled"), e.config.mode === "range" && Rc(k) && !qn(k) && fe.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && y !== "prevMonthDay" && Z % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(k) + "</span>"), et("onDayCreate", fe), fe;
|
|
3148
3148
|
}
|
|
3149
3149
|
function j(y) {
|
|
@@ -3153,7 +3153,7 @@ function oV(t, i) {
|
|
|
3153
3153
|
for (var k = y > 0 ? 0 : e.config.showMonths - 1, z = y > 0 ? e.config.showMonths : -1, Z = k; Z != z; Z += y)
|
|
3154
3154
|
for (var oe = e.daysContainer.children[Z], fe = y > 0 ? 0 : oe.children.length - 1, ke = y > 0 ? oe.children.length : -1, he = fe; he != ke; he += y) {
|
|
3155
3155
|
var Ke = oe.children[he];
|
|
3156
|
-
if (Ke.className.indexOf("hidden") === -1 &&
|
|
3156
|
+
if (Ke.className.indexOf("hidden") === -1 && ce(Ke.dateObj))
|
|
3157
3157
|
return Ke;
|
|
3158
3158
|
}
|
|
3159
3159
|
}
|
|
@@ -3161,7 +3161,7 @@ function oV(t, i) {
|
|
|
3161
3161
|
for (var z = y.className.indexOf("Month") === -1 ? y.dateObj.getMonth() : e.currentMonth, Z = k > 0 ? e.config.showMonths : -1, oe = k > 0 ? 1 : -1, fe = z - e.currentMonth; fe != Z; fe += oe)
|
|
3162
3162
|
for (var ke = e.daysContainer.children[fe], he = z - e.currentMonth === fe ? y.$i + k : k < 0 ? ke.children.length - 1 : 0, Ke = ke.children.length, Ve = he; Ve >= 0 && Ve < Ke && Ve != (k > 0 ? Ke : -1); Ve += oe) {
|
|
3163
3163
|
var xe = ke.children[Ve];
|
|
3164
|
-
if (xe.className.indexOf("hidden") === -1 &&
|
|
3164
|
+
if (xe.className.indexOf("hidden") === -1 && ce(xe.dateObj) && Math.abs(y.$i - Ve) >= Math.abs(k))
|
|
3165
3165
|
return j(xe);
|
|
3166
3166
|
}
|
|
3167
3167
|
e.changeMonth(oe), re(J(oe), 0);
|
|
@@ -3376,7 +3376,7 @@ function oV(t, i) {
|
|
|
3376
3376
|
e.currentYear = k || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), z && (e.redraw(), et("onYearChange"), T());
|
|
3377
3377
|
}
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3379
|
+
function ce(y, k) {
|
|
3380
3380
|
var z;
|
|
3381
3381
|
k === void 0 && (k = !0);
|
|
3382
3382
|
var Z = e.parseDate(y, void 0, k);
|
|
@@ -3478,7 +3478,7 @@ function oV(t, i) {
|
|
|
3478
3478
|
function De(y, k) {
|
|
3479
3479
|
if (k === void 0 && (k = "flatpickr-day"), !(e.selectedDates.length !== 1 || y && (!y.classList.contains(k) || y.classList.contains("flatpickr-disabled")))) {
|
|
3480
3480
|
for (var z = y ? y.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), Z = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), oe = Math.min(z, e.selectedDates[0].getTime()), fe = Math.max(z, e.selectedDates[0].getTime()), ke = !1, he = 0, Ke = 0, Ve = oe; Ve < fe; Ve += sV.DAY)
|
|
3481
|
-
|
|
3481
|
+
ce(new Date(Ve), !0) || (ke = ke || Ve > oe && Ve < fe, Ve < Z && (!he || Ve > he) ? he = Ve : Ve > Z && (!Ke || Ve < Ke) && (Ke = Ve));
|
|
3482
3482
|
var xe = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + k));
|
|
3483
3483
|
xe.forEach(function(Ue) {
|
|
3484
3484
|
var mi = Ue.dateObj, $t = mi.getTime(), or = he > 0 && $t < he || Ke > 0 && $t > Ke;
|
|
@@ -3518,7 +3518,7 @@ function oV(t, i) {
|
|
|
3518
3518
|
return function(k) {
|
|
3519
3519
|
var z = e.config["_" + y + "Date"] = e.parseDate(k, e.config.dateFormat), Z = e.config["_" + (y === "min" ? "max" : "min") + "Date"];
|
|
3520
3520
|
z !== void 0 && (e[y === "min" ? "minDateHasTime" : "maxDateHasTime"] = z.getHours() > 0 || z.getMinutes() > 0 || z.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(oe) {
|
|
3521
|
-
return
|
|
3521
|
+
return ce(oe);
|
|
3522
3522
|
}), !e.selectedDates.length && y === "min" && m(z), Ii()), e.daysContainer && (dl(), z !== void 0 ? e.currentYearElement[y] = z.getFullYear().toString() : e.currentYearElement.removeAttribute(y), e.currentYearElement.disabled = !!Z && z !== void 0 && Z.getFullYear() === z.getFullYear());
|
|
3523
3523
|
};
|
|
3524
3524
|
}
|
|
@@ -3744,7 +3744,7 @@ function oV(t, i) {
|
|
|
3744
3744
|
else
|
|
3745
3745
|
e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(y)));
|
|
3746
3746
|
e.selectedDates = e.config.allowInvalidPreload ? z : z.filter(function(Z) {
|
|
3747
|
-
return Z instanceof Date &&
|
|
3747
|
+
return Z instanceof Date && ce(Z, !1);
|
|
3748
3748
|
}), e.config.mode === "range" && e.selectedDates.sort(function(Z, oe) {
|
|
3749
3749
|
return Z.getTime() - oe.getTime();
|
|
3750
3750
|
});
|
|
@@ -4448,7 +4448,7 @@ const hV = {
|
|
|
4448
4448
|
},
|
|
4449
4449
|
{ immediate: !0 }
|
|
4450
4450
|
), xt(() => {
|
|
4451
|
-
import("./shortcut-buttons-flatpickr-
|
|
4451
|
+
import("./shortcut-buttons-flatpickr-4o41RPcI.js").then((M) => M.s).then((M) => {
|
|
4452
4452
|
r.value = M.default, s.value = !0;
|
|
4453
4453
|
});
|
|
4454
4454
|
}), (M, H) => (q(), $(Ga, {
|
|
@@ -8382,7 +8382,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, gh = { class
|
|
|
8382
8382
|
return (d, o) => (q(), O(Ce, null, [
|
|
8383
8383
|
f(Ae, null, {
|
|
8384
8384
|
default: h(() => [
|
|
8385
|
-
f(
|
|
8385
|
+
f(me, { cols: 12 }, {
|
|
8386
8386
|
default: h(() => [
|
|
8387
8387
|
f(Hd, {
|
|
8388
8388
|
modelValue: g(i).text,
|
|
@@ -8400,7 +8400,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, gh = { class
|
|
|
8400
8400
|
}),
|
|
8401
8401
|
f(Ae, null, {
|
|
8402
8402
|
default: h(() => [
|
|
8403
|
-
f(
|
|
8403
|
+
f(me, { cols: 12 }, {
|
|
8404
8404
|
default: h(() => [
|
|
8405
8405
|
f(kn, {
|
|
8406
8406
|
modelValue: g(i).described,
|
|
@@ -8417,7 +8417,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, gh = { class
|
|
|
8417
8417
|
}),
|
|
8418
8418
|
f(Ae, null, {
|
|
8419
8419
|
default: h(() => [
|
|
8420
|
-
f(
|
|
8420
|
+
f(me, { cols: 12 }, {
|
|
8421
8421
|
default: h(() => [
|
|
8422
8422
|
f(kn, {
|
|
8423
8423
|
modelValue: g(i).visible,
|
|
@@ -8434,7 +8434,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, gh = { class
|
|
|
8434
8434
|
}),
|
|
8435
8435
|
f(Ae, null, {
|
|
8436
8436
|
default: h(() => [
|
|
8437
|
-
f(
|
|
8437
|
+
f(me, null, {
|
|
8438
8438
|
default: h(() => [
|
|
8439
8439
|
f(kn, {
|
|
8440
8440
|
modelValue: g(i).generatedBySystem,
|
|
@@ -8461,7 +8461,7 @@ const hh = { class: "d-flex flex-column w-100 px-1 align-center" }, gh = { class
|
|
|
8461
8461
|
};
|
|
8462
8462
|
return (d, o) => (q(), $(Ae, null, {
|
|
8463
8463
|
default: h(() => [
|
|
8464
|
-
f(
|
|
8464
|
+
f(me, { cols: 12 }, {
|
|
8465
8465
|
default: h(() => [
|
|
8466
8466
|
f(Hd, {
|
|
8467
8467
|
modelValue: g(i).text,
|
|
@@ -11504,7 +11504,7 @@ const FF = {
|
|
|
11504
11504
|
class: "mt-1"
|
|
11505
11505
|
}, {
|
|
11506
11506
|
default: h(() => [
|
|
11507
|
-
f(
|
|
11507
|
+
f(me, null, {
|
|
11508
11508
|
default: h(() => [
|
|
11509
11509
|
v.readonly ? (q(), $(yt, {
|
|
11510
11510
|
key: 0,
|
|
@@ -11536,7 +11536,7 @@ const FF = {
|
|
|
11536
11536
|
class: "mt-1"
|
|
11537
11537
|
}, {
|
|
11538
11538
|
default: h(() => [
|
|
11539
|
-
f(
|
|
11539
|
+
f(me, null, {
|
|
11540
11540
|
default: h(() => [
|
|
11541
11541
|
v.readonly ? (q(), $(yt, {
|
|
11542
11542
|
key: 0,
|
|
@@ -13167,7 +13167,7 @@ const Dv = {
|
|
|
13167
13167
|
dense: ""
|
|
13168
13168
|
}, {
|
|
13169
13169
|
default: h(() => [
|
|
13170
|
-
f(
|
|
13170
|
+
f(me, null, {
|
|
13171
13171
|
default: h(() => [
|
|
13172
13172
|
N("span", Ev, C(g(c)("common.damImage.image.model.texts.description")) + ":", 1),
|
|
13173
13173
|
Tv,
|
|
@@ -13183,7 +13183,7 @@ const Dv = {
|
|
|
13183
13183
|
dense: ""
|
|
13184
13184
|
}, {
|
|
13185
13185
|
default: h(() => [
|
|
13186
|
-
f(
|
|
13186
|
+
f(me, null, {
|
|
13187
13187
|
default: h(() => [
|
|
13188
13188
|
N("span", Mv, C(g(c)("common.damImage.image.model.texts.source")) + ":", 1),
|
|
13189
13189
|
$v,
|
|
@@ -13302,7 +13302,7 @@ const zv = {
|
|
|
13302
13302
|
]),
|
|
13303
13303
|
f(Ae, null, {
|
|
13304
13304
|
default: h(() => [
|
|
13305
|
-
f(
|
|
13305
|
+
f(me, null, {
|
|
13306
13306
|
default: h(() => [
|
|
13307
13307
|
f(se, {
|
|
13308
13308
|
onClick: Q(c, ["stop"])
|
|
@@ -13320,7 +13320,7 @@ const zv = {
|
|
|
13320
13320
|
}),
|
|
13321
13321
|
f(Ae, null, {
|
|
13322
13322
|
default: h(() => [
|
|
13323
|
-
f(
|
|
13323
|
+
f(me, null, {
|
|
13324
13324
|
default: h(() => [
|
|
13325
13325
|
f(_s, {
|
|
13326
13326
|
modelValue: g(s).texts.description,
|
|
@@ -13335,7 +13335,7 @@ const zv = {
|
|
|
13335
13335
|
}),
|
|
13336
13336
|
f(Ae, null, {
|
|
13337
13337
|
default: h(() => [
|
|
13338
|
-
f(
|
|
13338
|
+
f(me, null, {
|
|
13339
13339
|
default: h(() => [
|
|
13340
13340
|
f(_s, {
|
|
13341
13341
|
modelValue: g(s).texts.source,
|
|
@@ -13985,13 +13985,13 @@ const K7 = { class: "w-100 text-right" }, tl = /* @__PURE__ */ G({
|
|
|
13985
13985
|
return (e, a) => (q(), O(Ce, null, [
|
|
13986
13986
|
f(Ae, null, {
|
|
13987
13987
|
default: h(() => [
|
|
13988
|
-
f(
|
|
13988
|
+
f(me, null, {
|
|
13989
13989
|
default: h(() => [
|
|
13990
13990
|
P(C(g(i)("common.damImage.asset.detail.info.field.dominantColor")), 1)
|
|
13991
13991
|
]),
|
|
13992
13992
|
_: 1
|
|
13993
13993
|
}),
|
|
13994
|
-
f(
|
|
13994
|
+
f(me, { cols: "9" }, {
|
|
13995
13995
|
default: h(() => [
|
|
13996
13996
|
f(S7, {
|
|
13997
13997
|
color: e.file.imageAttributes.mostDominantColor
|
|
@@ -14004,13 +14004,13 @@ const K7 = { class: "w-100 text-right" }, tl = /* @__PURE__ */ G({
|
|
|
14004
14004
|
}),
|
|
14005
14005
|
f(Ae, null, {
|
|
14006
14006
|
default: h(() => [
|
|
14007
|
-
f(
|
|
14007
|
+
f(me, null, {
|
|
14008
14008
|
default: h(() => [
|
|
14009
14009
|
P(C(g(i)("common.damImage.asset.detail.info.field.width")), 1)
|
|
14010
14010
|
]),
|
|
14011
14011
|
_: 1
|
|
14012
14012
|
}),
|
|
14013
|
-
f(
|
|
14013
|
+
f(me, { cols: "9" }, {
|
|
14014
14014
|
default: h(() => [
|
|
14015
14015
|
P(C(e.file.imageAttributes.width) + " px ", 1)
|
|
14016
14016
|
]),
|
|
@@ -14021,13 +14021,13 @@ const K7 = { class: "w-100 text-right" }, tl = /* @__PURE__ */ G({
|
|
|
14021
14021
|
}),
|
|
14022
14022
|
f(Ae, null, {
|
|
14023
14023
|
default: h(() => [
|
|
14024
|
-
f(
|
|
14024
|
+
f(me, null, {
|
|
14025
14025
|
default: h(() => [
|
|
14026
14026
|
P(C(g(i)("common.damImage.asset.detail.info.field.height")), 1)
|
|
14027
14027
|
]),
|
|
14028
14028
|
_: 1
|
|
14029
14029
|
}),
|
|
14030
|
-
f(
|
|
14030
|
+
f(me, { cols: "9" }, {
|
|
14031
14031
|
default: h(() => [
|
|
14032
14032
|
P(C(e.file.imageAttributes.height) + " px ", 1)
|
|
14033
14033
|
]),
|
|
@@ -14038,13 +14038,13 @@ const K7 = { class: "w-100 text-right" }, tl = /* @__PURE__ */ G({
|
|
|
14038
14038
|
}),
|
|
14039
14039
|
f(Ae, null, {
|
|
14040
14040
|
default: h(() => [
|
|
14041
|
-
f(
|
|
14041
|
+
f(me, null, {
|
|
14042
14042
|
default: h(() => [
|
|
14043
14043
|
P(C(g(i)("common.damImage.asset.detail.info.field.ratio")), 1)
|
|
14044
14044
|
]),
|
|
14045
14045
|
_: 1
|
|
14046
14046
|
}),
|
|
14047
|
-
f(
|
|
14047
|
+
f(me, { cols: "9" }, {
|
|
14048
14048
|
default: h(() => [
|
|
14049
14049
|
P(C(e.file.imageAttributes.ratioWidth) + " / " + C(e.file.imageAttributes.ratioHeight), 1)
|
|
14050
14050
|
]),
|
|
@@ -14055,13 +14055,13 @@ const K7 = { class: "w-100 text-right" }, tl = /* @__PURE__ */ G({
|
|
|
14055
14055
|
}),
|
|
14056
14056
|
f(Ae, null, {
|
|
14057
14057
|
default: h(() => [
|
|
14058
|
-
f(
|
|
14058
|
+
f(me, null, {
|
|
14059
14059
|
default: h(() => [
|
|
14060
14060
|
P(C(g(i)("common.damImage.asset.detail.info.field.animated")), 1)
|
|
14061
14061
|
]),
|
|
14062
14062
|
_: 1
|
|
14063
14063
|
}),
|
|
14064
|
-
f(
|
|
14064
|
+
f(me, { cols: "9" }, {
|
|
14065
14065
|
default: h(() => [
|
|
14066
14066
|
f(Om, {
|
|
14067
14067
|
value: e.file.imageAttributes.animated
|
|
@@ -15028,7 +15028,7 @@ const eq = /* @__PURE__ */ G({
|
|
|
15028
15028
|
class: "my-2"
|
|
15029
15029
|
}, {
|
|
15030
15030
|
default: h(() => [
|
|
15031
|
-
f(
|
|
15031
|
+
f(me, null, {
|
|
15032
15032
|
default: h(() => [
|
|
15033
15033
|
f(Fi, {
|
|
15034
15034
|
subject: "keyword",
|
|
@@ -15063,7 +15063,7 @@ const eq = /* @__PURE__ */ G({
|
|
|
15063
15063
|
class: "my-2"
|
|
15064
15064
|
}, {
|
|
15065
15065
|
default: h(() => [
|
|
15066
|
-
f(
|
|
15066
|
+
f(me, null, {
|
|
15067
15067
|
default: h(() => [
|
|
15068
15068
|
f(Fi, {
|
|
15069
15069
|
subject: "author",
|
|
@@ -15112,13 +15112,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15112
15112
|
default: h(() => [
|
|
15113
15113
|
f(Ae, null, {
|
|
15114
15114
|
default: h(() => [
|
|
15115
|
-
f(
|
|
15115
|
+
f(me, { cols: "3" }, {
|
|
15116
15116
|
default: h(() => [
|
|
15117
15117
|
P(C(g(i)("common.damImage.asset.detail.info.field.id")), 1)
|
|
15118
15118
|
]),
|
|
15119
15119
|
_: 1
|
|
15120
15120
|
}),
|
|
15121
|
-
f(
|
|
15121
|
+
f(me, { cols: "9" }, {
|
|
15122
15122
|
default: h(() => [
|
|
15123
15123
|
f(Ks, {
|
|
15124
15124
|
value: g(r).id
|
|
@@ -15131,13 +15131,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15131
15131
|
}),
|
|
15132
15132
|
f(Ae, null, {
|
|
15133
15133
|
default: h(() => [
|
|
15134
|
-
f(
|
|
15134
|
+
f(me, { cols: "3" }, {
|
|
15135
15135
|
default: h(() => [
|
|
15136
15136
|
P(C(g(i)("common.damImage.asset.detail.info.field.type")), 1)
|
|
15137
15137
|
]),
|
|
15138
15138
|
_: 1
|
|
15139
15139
|
}),
|
|
15140
|
-
f(
|
|
15140
|
+
f(me, { cols: "9" }, {
|
|
15141
15141
|
default: h(() => [
|
|
15142
15142
|
P(C(g(r).attributes.assetType), 1)
|
|
15143
15143
|
]),
|
|
@@ -15148,13 +15148,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15148
15148
|
}),
|
|
15149
15149
|
f(Ae, null, {
|
|
15150
15150
|
default: h(() => [
|
|
15151
|
-
f(
|
|
15151
|
+
f(me, { cols: "3" }, {
|
|
15152
15152
|
default: h(() => [
|
|
15153
15153
|
P(C(g(i)("common.model.tracking.created")), 1)
|
|
15154
15154
|
]),
|
|
15155
15155
|
_: 1
|
|
15156
15156
|
}),
|
|
15157
|
-
f(
|
|
15157
|
+
f(me, { cols: "9" }, {
|
|
15158
15158
|
default: h(() => [
|
|
15159
15159
|
P(C(g(Ya)(g(r).createdAt)), 1)
|
|
15160
15160
|
]),
|
|
@@ -15165,13 +15165,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15165
15165
|
}),
|
|
15166
15166
|
f(Ae, null, {
|
|
15167
15167
|
default: h(() => [
|
|
15168
|
-
f(
|
|
15168
|
+
f(me, { cols: "3" }, {
|
|
15169
15169
|
default: h(() => [
|
|
15170
15170
|
P(C(g(i)("common.model.tracking.modified")), 1)
|
|
15171
15171
|
]),
|
|
15172
15172
|
_: 1
|
|
15173
15173
|
}),
|
|
15174
|
-
f(
|
|
15174
|
+
f(me, { cols: "9" }, {
|
|
15175
15175
|
default: h(() => [
|
|
15176
15176
|
P(C(g(Ya)(g(r).modifiedAt)), 1)
|
|
15177
15177
|
]),
|
|
@@ -15183,13 +15183,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15183
15183
|
l.value ? (q(), O("div", iq, [
|
|
15184
15184
|
f(Ae, null, {
|
|
15185
15185
|
default: h(() => [
|
|
15186
|
-
f(
|
|
15186
|
+
f(me, { cols: "3" }, {
|
|
15187
15187
|
default: h(() => [
|
|
15188
15188
|
P(C(g(i)("common.damImage.asset.detail.info.field.mainFileId")), 1)
|
|
15189
15189
|
]),
|
|
15190
15190
|
_: 1
|
|
15191
15191
|
}),
|
|
15192
|
-
f(
|
|
15192
|
+
f(me, { cols: "9" }, {
|
|
15193
15193
|
default: h(() => [
|
|
15194
15194
|
f(Ks, {
|
|
15195
15195
|
value: l.value.id
|
|
@@ -15202,13 +15202,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15202
15202
|
}),
|
|
15203
15203
|
f(Ae, null, {
|
|
15204
15204
|
default: h(() => [
|
|
15205
|
-
f(
|
|
15205
|
+
f(me, { cols: "3" }, {
|
|
15206
15206
|
default: h(() => [
|
|
15207
15207
|
P(C(g(i)("common.damImage.asset.detail.info.field.mimeType")), 1)
|
|
15208
15208
|
]),
|
|
15209
15209
|
_: 1
|
|
15210
15210
|
}),
|
|
15211
|
-
f(
|
|
15211
|
+
f(me, { cols: "9" }, {
|
|
15212
15212
|
default: h(() => [
|
|
15213
15213
|
P(C(l.value.fileAttributes.mimeType), 1)
|
|
15214
15214
|
]),
|
|
@@ -15219,13 +15219,13 @@ const eq = /* @__PURE__ */ G({
|
|
|
15219
15219
|
}),
|
|
15220
15220
|
f(Ae, null, {
|
|
15221
15221
|
default: h(() => [
|
|
15222
|
-
f(
|
|
15222
|
+
f(me, { cols: "3" }, {
|
|
15223
15223
|
default: h(() => [
|
|
15224
15224
|
P(C(g(i)("common.damImage.asset.detail.info.field.size")), 1)
|
|
15225
15225
|
]),
|
|
15226
15226
|
_: 1
|
|
15227
15227
|
}),
|
|
15228
|
-
f(
|
|
15228
|
+
f(me, { cols: "9" }, {
|
|
15229
15229
|
default: h(() => [
|
|
15230
15230
|
P(C(g(sn)(l.value.fileAttributes.size)), 1)
|
|
15231
15231
|
]),
|
|
@@ -17264,7 +17264,7 @@ const FY = { class: "d-flex flex-column" }, vY = {
|
|
|
17264
17264
|
_: 1
|
|
17265
17265
|
}));
|
|
17266
17266
|
}
|
|
17267
|
-
}), IY = R(
|
|
17267
|
+
}), IY = R(null), no = R(!1);
|
|
17268
17268
|
function hn() {
|
|
17269
17269
|
return {
|
|
17270
17270
|
toggleUploadQueueSidebar: () => {
|
|
@@ -17317,7 +17317,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17317
17317
|
class: "my-2"
|
|
17318
17318
|
}, {
|
|
17319
17319
|
default: h(() => [
|
|
17320
|
-
f(
|
|
17320
|
+
f(me, null, {
|
|
17321
17321
|
default: h(() => [
|
|
17322
17322
|
f(Fi, {
|
|
17323
17323
|
subject: "keyword",
|
|
@@ -17353,7 +17353,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17353
17353
|
class: "my-2"
|
|
17354
17354
|
}, {
|
|
17355
17355
|
default: h(() => [
|
|
17356
|
-
f(
|
|
17356
|
+
f(me, null, {
|
|
17357
17357
|
default: h(() => [
|
|
17358
17358
|
f(Fi, {
|
|
17359
17359
|
subject: "author",
|
|
@@ -17407,13 +17407,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17407
17407
|
default: h(() => [
|
|
17408
17408
|
f(Ae, null, {
|
|
17409
17409
|
default: h(() => [
|
|
17410
|
-
f(
|
|
17410
|
+
f(me, { cols: "3" }, {
|
|
17411
17411
|
default: h(() => [
|
|
17412
17412
|
P(C(g(e)("common.damImage.asset.detail.info.field.id")), 1)
|
|
17413
17413
|
]),
|
|
17414
17414
|
_: 1
|
|
17415
17415
|
}),
|
|
17416
|
-
f(
|
|
17416
|
+
f(me, { cols: "9" }, {
|
|
17417
17417
|
default: h(() => [
|
|
17418
17418
|
f(Ks, {
|
|
17419
17419
|
value: g(s).id
|
|
@@ -17426,13 +17426,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17426
17426
|
}),
|
|
17427
17427
|
f(Ae, null, {
|
|
17428
17428
|
default: h(() => [
|
|
17429
|
-
f(
|
|
17429
|
+
f(me, { cols: "3" }, {
|
|
17430
17430
|
default: h(() => [
|
|
17431
17431
|
P(C(g(e)("common.damImage.asset.detail.info.field.type")), 1)
|
|
17432
17432
|
]),
|
|
17433
17433
|
_: 1
|
|
17434
17434
|
}),
|
|
17435
|
-
f(
|
|
17435
|
+
f(me, { cols: "9" }, {
|
|
17436
17436
|
default: h(() => [
|
|
17437
17437
|
P(C(g(s).attributes.assetType), 1)
|
|
17438
17438
|
]),
|
|
@@ -17443,13 +17443,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17443
17443
|
}),
|
|
17444
17444
|
f(Ae, null, {
|
|
17445
17445
|
default: h(() => [
|
|
17446
|
-
f(
|
|
17446
|
+
f(me, { cols: "3" }, {
|
|
17447
17447
|
default: h(() => [
|
|
17448
17448
|
P(C(g(e)("common.model.tracking.created")), 1)
|
|
17449
17449
|
]),
|
|
17450
17450
|
_: 1
|
|
17451
17451
|
}),
|
|
17452
|
-
f(
|
|
17452
|
+
f(me, { cols: "9" }, {
|
|
17453
17453
|
default: h(() => [
|
|
17454
17454
|
P(C(g(Ya)(g(s).createdAt)), 1)
|
|
17455
17455
|
]),
|
|
@@ -17460,13 +17460,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17460
17460
|
}),
|
|
17461
17461
|
f(Ae, null, {
|
|
17462
17462
|
default: h(() => [
|
|
17463
|
-
f(
|
|
17463
|
+
f(me, { cols: "3" }, {
|
|
17464
17464
|
default: h(() => [
|
|
17465
17465
|
P(C(g(e)("common.model.tracking.modified")), 1)
|
|
17466
17466
|
]),
|
|
17467
17467
|
_: 1
|
|
17468
17468
|
}),
|
|
17469
|
-
f(
|
|
17469
|
+
f(me, { cols: "9" }, {
|
|
17470
17470
|
default: h(() => [
|
|
17471
17471
|
P(C(g(Ya)(g(s).modifiedAt)), 1)
|
|
17472
17472
|
]),
|
|
@@ -17478,13 +17478,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17478
17478
|
p.value ? (q(), O("div", kY, [
|
|
17479
17479
|
f(Ae, null, {
|
|
17480
17480
|
default: h(() => [
|
|
17481
|
-
f(
|
|
17481
|
+
f(me, { cols: "3" }, {
|
|
17482
17482
|
default: h(() => [
|
|
17483
17483
|
P(C(g(e)("common.damImage.asset.detail.info.field.mainFileId")), 1)
|
|
17484
17484
|
]),
|
|
17485
17485
|
_: 1
|
|
17486
17486
|
}),
|
|
17487
|
-
f(
|
|
17487
|
+
f(me, { cols: "9" }, {
|
|
17488
17488
|
default: h(() => [
|
|
17489
17489
|
f(Ks, {
|
|
17490
17490
|
value: p.value.id
|
|
@@ -17497,13 +17497,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17497
17497
|
}),
|
|
17498
17498
|
f(Ae, null, {
|
|
17499
17499
|
default: h(() => [
|
|
17500
|
-
f(
|
|
17500
|
+
f(me, { cols: "3" }, {
|
|
17501
17501
|
default: h(() => [
|
|
17502
17502
|
P(C(g(e)("common.damImage.asset.detail.info.field.mimeType")), 1)
|
|
17503
17503
|
]),
|
|
17504
17504
|
_: 1
|
|
17505
17505
|
}),
|
|
17506
|
-
f(
|
|
17506
|
+
f(me, { cols: "9" }, {
|
|
17507
17507
|
default: h(() => [
|
|
17508
17508
|
P(C(p.value.fileAttributes.mimeType), 1)
|
|
17509
17509
|
]),
|
|
@@ -17514,13 +17514,13 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17514
17514
|
}),
|
|
17515
17515
|
f(Ae, null, {
|
|
17516
17516
|
default: h(() => [
|
|
17517
|
-
f(
|
|
17517
|
+
f(me, { cols: "3" }, {
|
|
17518
17518
|
default: h(() => [
|
|
17519
17519
|
P(C(g(e)("common.damImage.asset.detail.info.field.size")), 1)
|
|
17520
17520
|
]),
|
|
17521
17521
|
_: 1
|
|
17522
17522
|
}),
|
|
17523
|
-
f(
|
|
17523
|
+
f(me, { cols: "9" }, {
|
|
17524
17524
|
default: h(() => [
|
|
17525
17525
|
P(C(g(sn)(p.value.fileAttributes.size)), 1)
|
|
17526
17526
|
]),
|
|
@@ -17856,12 +17856,12 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17856
17856
|
var _e;
|
|
17857
17857
|
return ((_e = D.value) == null ? void 0 : _e.attributes.assetType) || Ye.Default;
|
|
17858
17858
|
}), w = K(() => D.value ? D.value.attributes.assetStatus : Ge.Default), j = K(() => E.value === Ye.Image), J = K(() => E.value === Ye.Video), te = K(() => E.value === Ye.Audio), re = K(() => E.value === Ye.Document), B = K(() => {
|
|
17859
|
-
var _e, ze,
|
|
17859
|
+
var _e, ze, ce, ye;
|
|
17860
17860
|
return (_e = v.value) != null && _e.imagePreview ? {
|
|
17861
17861
|
url: v.value.imagePreview.url,
|
|
17862
17862
|
width: v.value.imagePreview.requestedWidth || void 0,
|
|
17863
17863
|
height: v.value.imagePreview.requestedHeight || void 0,
|
|
17864
|
-
bgColor: Lr((ze = D.value) == null ? void 0 : ze.mainFile) && ((
|
|
17864
|
+
bgColor: Lr((ze = D.value) == null ? void 0 : ze.mainFile) && ((ce = D.value) != null && ce.mainFile.imageAttributes) && ((ye = D.value) != null && ye.mainFile.imageAttributes.mostDominantColor) ? D.value.mainFile.imageAttributes.mostDominantColor : "#ccc"
|
|
17865
17865
|
} : {
|
|
17866
17866
|
url: "",
|
|
17867
17867
|
width: 356,
|
|
@@ -17875,7 +17875,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17875
17875
|
var _e;
|
|
17876
17876
|
return (_e = v.value) == null ? void 0 : _e.progress.progressPercent;
|
|
17877
17877
|
}), { damClient: M } = lt(), H = async () => {
|
|
17878
|
-
p.stopUpload(e.queueKey), o.setAsset(null), V.value =
|
|
17878
|
+
p.stopUpload(e.queueKey), o.setAsset(null), V.value = null;
|
|
17879
17879
|
}, ee = K(() => p.getQueueTotalCount(e.queueKey)), ne = K(() => p.getQueueProcessedCount(e.queueKey)), ve = K(() => ee.value > ne.value), ge = async () => {
|
|
17880
17880
|
if (F.value.length !== 0)
|
|
17881
17881
|
try {
|
|
@@ -17885,7 +17885,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17885
17885
|
} finally {
|
|
17886
17886
|
}
|
|
17887
17887
|
}, $e = async () => {
|
|
17888
|
-
var
|
|
17888
|
+
var ce;
|
|
17889
17889
|
if (F.value.length === 0)
|
|
17890
17890
|
return;
|
|
17891
17891
|
let _e = "", ze = "";
|
|
@@ -17893,7 +17893,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17893
17893
|
const ye = await Es(M, F.value);
|
|
17894
17894
|
if (!ye[0])
|
|
17895
17895
|
throw new Error("Fatal error updating asset metadata");
|
|
17896
|
-
s("updated"), Rt((
|
|
17896
|
+
s("updated"), Rt((ce = ye[0].customData) == null ? void 0 : ce.description) && (_e = ye[0].customData.description.trim()), ye[0].authors.length > 0 && (ze = (await ar(M, e.extSystem, ye[0].authors)).map((pe) => pe.name).join(", ")), a(
|
|
17897
17897
|
"onApply",
|
|
17898
17898
|
F.value.map((ue) => ({
|
|
17899
17899
|
texts: {
|
|
@@ -17918,17 +17918,17 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
17918
17918
|
var ze;
|
|
17919
17919
|
if (!(!_e || !((ze = v.value) != null && ze.assetId)))
|
|
17920
17920
|
try {
|
|
17921
|
-
const
|
|
17922
|
-
o.setAsset(
|
|
17923
|
-
} catch (
|
|
17924
|
-
r(
|
|
17921
|
+
const ce = await Gi(M, v.value.assetId);
|
|
17922
|
+
o.setAsset(ce), m.value = !0;
|
|
17923
|
+
} catch (ce) {
|
|
17924
|
+
r(ce);
|
|
17925
17925
|
}
|
|
17926
17926
|
},
|
|
17927
17927
|
{ immediate: !0 }
|
|
17928
17928
|
), xt(() => {
|
|
17929
17929
|
l.value = bt.Info;
|
|
17930
17930
|
}), (_e, ze) => (q(), $(Tt, {
|
|
17931
|
-
"model-value":
|
|
17931
|
+
"model-value": !0,
|
|
17932
17932
|
fullscreen: ""
|
|
17933
17933
|
}, {
|
|
17934
17934
|
default: h(() => [
|
|
@@ -18060,7 +18060,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18060
18060
|
}, 8, ["class"])) : U("", !0)
|
|
18061
18061
|
]),
|
|
18062
18062
|
_: 1
|
|
18063
|
-
}
|
|
18063
|
+
}));
|
|
18064
18064
|
}
|
|
18065
18065
|
}), rX = { class: "a-image-widget" }, sX = { class: "a-image-widget__options" }, nX = {
|
|
18066
18066
|
key: 0,
|
|
@@ -18097,16 +18097,16 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18097
18097
|
u.setImageDetail(si(p.value)), v.value = !0;
|
|
18098
18098
|
}, te = () => {
|
|
18099
18099
|
F.value = !0;
|
|
18100
|
-
}, re = (
|
|
18101
|
-
c.addByFiles(e.queueKey, e.licenceId,
|
|
18102
|
-
}, B = (
|
|
18103
|
-
c.addByFiles(e.queueKey, e.licenceId,
|
|
18100
|
+
}, re = (ce) => {
|
|
18101
|
+
c.addByFiles(e.queueKey, e.licenceId, ce), m.value = e.queueKey;
|
|
18102
|
+
}, B = (ce) => {
|
|
18103
|
+
c.addByFiles(e.queueKey, e.licenceId, ce), m.value = e.queueKey;
|
|
18104
18104
|
}, { uploadSizes: W, uploadAccept: T } = Ru(
|
|
18105
18105
|
Ye.Image,
|
|
18106
18106
|
r.value
|
|
18107
|
-
), _ = async (
|
|
18108
|
-
if (X.value = Fa,
|
|
18109
|
-
p.value = Te(
|
|
18107
|
+
), _ = async (ce, ye, ue = !1) => {
|
|
18108
|
+
if (X.value = Fa, ce && ae(p.value) || ce && ue) {
|
|
18109
|
+
p.value = Te(ce), p.value && (X.value = l(si(p.value)));
|
|
18110
18110
|
return;
|
|
18111
18111
|
}
|
|
18112
18112
|
if (ye) {
|
|
@@ -18123,20 +18123,20 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18123
18123
|
};
|
|
18124
18124
|
Oe(
|
|
18125
18125
|
[() => e.image, () => e.modelValue],
|
|
18126
|
-
async ([
|
|
18127
|
-
await _(
|
|
18126
|
+
async ([ce, ye]) => {
|
|
18127
|
+
await _(ce, ye);
|
|
18128
18128
|
},
|
|
18129
18129
|
{ immediate: !0 }
|
|
18130
18130
|
);
|
|
18131
|
-
const A = async (
|
|
18131
|
+
const A = async (ce) => {
|
|
18132
18132
|
var pe;
|
|
18133
18133
|
Y.value = !0, u.setImageDetail(null), v.value = !0;
|
|
18134
18134
|
let ye = "", ue = "";
|
|
18135
|
-
if (
|
|
18136
|
-
if (!
|
|
18135
|
+
if (ce.type === "asset") {
|
|
18136
|
+
if (!ce.value[0] || !ce.value[0].mainFile)
|
|
18137
18137
|
return;
|
|
18138
18138
|
try {
|
|
18139
|
-
const We = await Gi(H,
|
|
18139
|
+
const We = await Gi(H, ce.value[0].id);
|
|
18140
18140
|
Rt((pe = We.metadata.customData) == null ? void 0 : pe.description) && (ye = We.metadata.customData.description.trim()), We.authors.length > 0 && (ue = (await ar(H, e.extSystem, We.authors)).map((pt) => pt.name).join(", "));
|
|
18141
18141
|
} catch (We) {
|
|
18142
18142
|
n(We);
|
|
@@ -18147,17 +18147,17 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18147
18147
|
source: ue
|
|
18148
18148
|
},
|
|
18149
18149
|
dam: {
|
|
18150
|
-
damId:
|
|
18150
|
+
damId: ce.value[0].mainFile.id,
|
|
18151
18151
|
regionPosition: 0
|
|
18152
18152
|
},
|
|
18153
18153
|
position: 1
|
|
18154
18154
|
};
|
|
18155
18155
|
ae(e.modelValue) || (De.id = e.modelValue), u.setImageDetail(De), Y.value = !1;
|
|
18156
18156
|
}
|
|
18157
|
-
}, b = ci(), { loading: S, dialog: M } = Et(b), { damClient: H } = lt(), ee = async (
|
|
18157
|
+
}, b = ci(), { loading: S, dialog: M } = Et(b), { damClient: H } = lt(), ee = async (ce) => {
|
|
18158
18158
|
S.value = !0, M.value = e.queueKey;
|
|
18159
18159
|
try {
|
|
18160
|
-
const ye = await No(H,
|
|
18160
|
+
const ye = await No(H, ce);
|
|
18161
18161
|
b.setAsset(ye);
|
|
18162
18162
|
} catch (ye) {
|
|
18163
18163
|
n(ye);
|
|
@@ -18170,10 +18170,10 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18170
18170
|
if (!ae(u.imageDetail)) {
|
|
18171
18171
|
D.value = !0;
|
|
18172
18172
|
try {
|
|
18173
|
-
const
|
|
18174
|
-
v.value = !1, a("update:modelValue",
|
|
18175
|
-
} catch (
|
|
18176
|
-
n(
|
|
18173
|
+
const ce = u.imageDetail.id ? await _v(o, u.imageDetail.id, u.imageDetail) : await wv(o, u.imageDetail);
|
|
18174
|
+
v.value = !1, a("update:modelValue", ce.id), u.setImageDetail(null), _(ce, ce.id, !0);
|
|
18175
|
+
} catch (ce) {
|
|
18176
|
+
n(ce);
|
|
18177
18177
|
} finally {
|
|
18178
18178
|
D.value = !1;
|
|
18179
18179
|
}
|
|
@@ -18183,31 +18183,31 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18183
18183
|
if (e.callDeleteApiOnRemove) {
|
|
18184
18184
|
try {
|
|
18185
18185
|
await dc(o, e.modelValue), x();
|
|
18186
|
-
} catch (
|
|
18187
|
-
n(
|
|
18186
|
+
} catch (ce) {
|
|
18187
|
+
n(ce);
|
|
18188
18188
|
}
|
|
18189
18189
|
return;
|
|
18190
18190
|
}
|
|
18191
18191
|
x();
|
|
18192
18192
|
}
|
|
18193
|
-
}, $e = (
|
|
18194
|
-
|
|
18193
|
+
}, $e = (ce) => {
|
|
18194
|
+
ce[0] && (ae(e.modelValue) || (ce[0].id = e.modelValue), u.setImageDetail(ce[0]), v.value = !0);
|
|
18195
18195
|
}, _e = R(null), ze = () => {
|
|
18196
|
-
var
|
|
18196
|
+
var ce;
|
|
18197
18197
|
if (!e.expandOptions) {
|
|
18198
18198
|
V.value = !0;
|
|
18199
18199
|
return;
|
|
18200
18200
|
}
|
|
18201
|
-
(
|
|
18201
|
+
(ce = _e.value) == null || ce.activate();
|
|
18202
18202
|
};
|
|
18203
|
-
return (
|
|
18203
|
+
return (ce, ye) => {
|
|
18204
18204
|
var ue, pe;
|
|
18205
18205
|
return q(), O(Ce, null, [
|
|
18206
18206
|
N("div", rX, [
|
|
18207
18207
|
N("div", sX, [
|
|
18208
|
-
|
|
18208
|
+
ce.label ? (q(), O("h4", nX, C(ce.label), 1)) : U("", !0),
|
|
18209
18209
|
Ei(N("div", null, [
|
|
18210
|
-
|
|
18210
|
+
ce.expandOptions ? (q(), O("div", oX, [
|
|
18211
18211
|
j.value ? (q(), $(se, {
|
|
18212
18212
|
key: 0,
|
|
18213
18213
|
class: "mr-2 mb-2",
|
|
@@ -18354,7 +18354,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18354
18354
|
f(ws, {
|
|
18355
18355
|
"lazy-src": g(Fa),
|
|
18356
18356
|
src: X.value,
|
|
18357
|
-
width:
|
|
18357
|
+
width: ce.width,
|
|
18358
18358
|
cover: "",
|
|
18359
18359
|
"max-width": "100%",
|
|
18360
18360
|
class: "disable-radius"
|
|
@@ -18383,7 +18383,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18383
18383
|
f(Xu, {
|
|
18384
18384
|
modelValue: F.value,
|
|
18385
18385
|
"onUpdate:modelValue": ye[1] || (ye[1] = (De) => F.value = De),
|
|
18386
|
-
"asset-licence-id":
|
|
18386
|
+
"asset-licence-id": ce.licenceId,
|
|
18387
18387
|
"min-count": 1,
|
|
18388
18388
|
"max-count": 1,
|
|
18389
18389
|
"asset-type": g(Ye).Image,
|
|
@@ -18399,14 +18399,14 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18399
18399
|
onOnConfirm: ve,
|
|
18400
18400
|
onOnClose: ne
|
|
18401
18401
|
}, null, 8, ["modelValue", "saving", "loading"]),
|
|
18402
|
-
g(M) ===
|
|
18402
|
+
g(M) === ce.queueKey ? (q(), $(Tc, {
|
|
18403
18403
|
key: 0,
|
|
18404
|
-
"queue-key":
|
|
18404
|
+
"queue-key": ce.queueKey
|
|
18405
18405
|
}, null, 8, ["queue-key"])) : U("", !0),
|
|
18406
|
-
g(m) ? (q(), $(aX, {
|
|
18406
|
+
g(m) === ce.queueKey ? (q(), $(aX, {
|
|
18407
18407
|
key: 1,
|
|
18408
|
-
"queue-key":
|
|
18409
|
-
"ext-system":
|
|
18408
|
+
"queue-key": ce.queueKey,
|
|
18409
|
+
"ext-system": ce.extSystem,
|
|
18410
18410
|
"file-input-key": ((pe = E.value) == null ? void 0 : pe.fileInputKey) ?? -1,
|
|
18411
18411
|
accept: g(T),
|
|
18412
18412
|
"max-sizes": g(W),
|
|
@@ -18493,7 +18493,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18493
18493
|
}, null, 8, ["model-value", "image"]),
|
|
18494
18494
|
f(Ae, { dense: "" }, {
|
|
18495
18495
|
default: h(() => [
|
|
18496
|
-
f(
|
|
18496
|
+
f(me, { class: "d-flex justify-space-between mt-1" }, {
|
|
18497
18497
|
default: h(() => [
|
|
18498
18498
|
f(se, {
|
|
18499
18499
|
variant: "text",
|
|
@@ -18520,7 +18520,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18520
18520
|
}),
|
|
18521
18521
|
f(Ae, { dense: "" }, {
|
|
18522
18522
|
default: h(() => [
|
|
18523
|
-
f(
|
|
18523
|
+
f(me, null, {
|
|
18524
18524
|
default: h(() => [
|
|
18525
18525
|
f(_s, {
|
|
18526
18526
|
modelValue: n.value.texts.description,
|
|
@@ -18535,7 +18535,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18535
18535
|
}),
|
|
18536
18536
|
f(Ae, { dense: "" }, {
|
|
18537
18537
|
default: h(() => [
|
|
18538
|
-
f(
|
|
18538
|
+
f(me, null, {
|
|
18539
18539
|
default: h(() => [
|
|
18540
18540
|
f(_s, {
|
|
18541
18541
|
modelValue: n.value.texts.source,
|
|
@@ -18602,7 +18602,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18602
18602
|
)), I = async () => {
|
|
18603
18603
|
ae(e.item.assetId) || a("showDetail", e.item.assetId);
|
|
18604
18604
|
};
|
|
18605
|
-
return (X, E) => (q(), $(
|
|
18605
|
+
return (X, E) => (q(), $(me, {
|
|
18606
18606
|
xxl: "2",
|
|
18607
18607
|
xl: "3",
|
|
18608
18608
|
md: "4",
|
|
@@ -18652,7 +18652,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18652
18652
|
class: "my-2"
|
|
18653
18653
|
}, {
|
|
18654
18654
|
default: h(() => [
|
|
18655
|
-
f(
|
|
18655
|
+
f(me, null, {
|
|
18656
18656
|
default: h(() => [
|
|
18657
18657
|
N("div", _X, [
|
|
18658
18658
|
N("div", null, [
|
|
@@ -18711,7 +18711,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18711
18711
|
class: "my-2 mb-3 mt-0 text-caption"
|
|
18712
18712
|
}, {
|
|
18713
18713
|
default: h(() => [
|
|
18714
|
-
f(
|
|
18714
|
+
f(me, { class: "pt-0" }, {
|
|
18715
18715
|
default: h(() => {
|
|
18716
18716
|
var w;
|
|
18717
18717
|
return [
|
|
@@ -18729,7 +18729,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18729
18729
|
class: "text-caption text-warning"
|
|
18730
18730
|
}, {
|
|
18731
18731
|
default: h(() => [
|
|
18732
|
-
f(
|
|
18732
|
+
f(me, { class: "pt-0" }, {
|
|
18733
18733
|
default: h(() => [
|
|
18734
18734
|
P(C(g(d)("common.damImage.asset.detail.info.status.duplicate")), 1)
|
|
18735
18735
|
]),
|
|
@@ -18755,7 +18755,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18755
18755
|
class: "my-2"
|
|
18756
18756
|
}, {
|
|
18757
18757
|
default: h(() => [
|
|
18758
|
-
f(
|
|
18758
|
+
f(me, null, {
|
|
18759
18759
|
default: h(() => [
|
|
18760
18760
|
f(Fi, {
|
|
18761
18761
|
subject: "keyword",
|
|
@@ -18788,7 +18788,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18788
18788
|
class: "my-2"
|
|
18789
18789
|
}, {
|
|
18790
18790
|
default: h(() => [
|
|
18791
|
-
f(
|
|
18791
|
+
f(me, null, {
|
|
18792
18792
|
default: h(() => [
|
|
18793
18793
|
f(Fi, {
|
|
18794
18794
|
subject: "author",
|
|
@@ -18854,7 +18854,7 @@ const kY = { key: 0 }, DY = /* @__PURE__ */ G({
|
|
|
18854
18854
|
class: "mt-1"
|
|
18855
18855
|
}, {
|
|
18856
18856
|
default: h(() => [
|
|
18857
|
-
f(
|
|
18857
|
+
f(me, null, {
|
|
18858
18858
|
default: h(() => [
|
|
18859
18859
|
m.attributes.readonly ? (q(), O("div", EX)) : (q(), O("div", TX, [
|
|
18860
18860
|
f(Yo, {
|
|
@@ -19041,7 +19041,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19041
19041
|
class: "my-2"
|
|
19042
19042
|
}, {
|
|
19043
19043
|
default: h(() => [
|
|
19044
|
-
f(
|
|
19044
|
+
f(me, null, {
|
|
19045
19045
|
default: h(() => [
|
|
19046
19046
|
f(Fi, {
|
|
19047
19047
|
subject: "keyword",
|
|
@@ -19115,7 +19115,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19115
19115
|
class: "my-2"
|
|
19116
19116
|
}, {
|
|
19117
19117
|
default: h(() => [
|
|
19118
|
-
f(
|
|
19118
|
+
f(me, null, {
|
|
19119
19119
|
default: h(() => [
|
|
19120
19120
|
f(Fi, {
|
|
19121
19121
|
subject: "author",
|
|
@@ -19328,7 +19328,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19328
19328
|
emits: ["onDrop", "onFilesInput", "onApply"],
|
|
19329
19329
|
setup(t, { emit: i }) {
|
|
19330
19330
|
const e = t, a = i, { uploadQueueDialog: r, uploadQueueSidebar: s, toggleUploadQueueSidebar: n } = hn(), d = Wr(), { maxPosition: o } = Et(d), l = Jt(), c = K(() => l.getQueueTotalCount(e.queueKey)), u = K(() => l.getQueueItems(e.queueKey)), m = K(() => l.getQueueProcessedCount(e.queueKey)), p = K(() => c.value > m.value), V = K(() => c.value === m.value), { t: F } = ie(), { toolbarColor: v } = Br(), D = di(), { showRecordWas: Y, showValidationError: I, showErrorsDefault: X } = rt(), { damClient: E } = lt(), w = R(!1), j = R(!1), J = async () => {
|
|
19331
|
-
l.stopUpload(e.queueKey), r.value =
|
|
19331
|
+
l.stopUpload(e.queueKey), r.value = null;
|
|
19332
19332
|
}, te = async () => {
|
|
19333
19333
|
const b = si(u.value);
|
|
19334
19334
|
if (b.length !== 0) {
|
|
@@ -19369,8 +19369,8 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19369
19369
|
var _e, ze;
|
|
19370
19370
|
o.value++;
|
|
19371
19371
|
const ge = (_e = M.get(ve.assetId)) == null ? void 0 : _e.description, $e = [];
|
|
19372
|
-
return (ze = M.get(ve.assetId)) == null || ze.authorIds.forEach((
|
|
19373
|
-
const ye = ee.get(
|
|
19372
|
+
return (ze = M.get(ve.assetId)) == null || ze.authorIds.forEach((ce) => {
|
|
19373
|
+
const ye = ee.get(ce);
|
|
19374
19374
|
!L(ye) && ye.trim().length > 0 && $e.push(ye);
|
|
19375
19375
|
}), {
|
|
19376
19376
|
key: Wi(),
|
|
@@ -19631,9 +19631,9 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19631
19631
|
F.value = !1;
|
|
19632
19632
|
}
|
|
19633
19633
|
}, X = Jt(), E = K(() => X.getQueue(a.queueKey)), { uploadQueueDialog: w } = hn(), j = (ue) => {
|
|
19634
|
-
X.addByFiles(a.queueKey, a.licenceId, ue), w.value =
|
|
19634
|
+
X.addByFiles(a.queueKey, a.licenceId, ue), w.value = a.queueKey;
|
|
19635
19635
|
}, J = (ue) => {
|
|
19636
|
-
X.addByFiles(a.queueKey, a.licenceId, ue), w.value =
|
|
19636
|
+
X.addByFiles(a.queueKey, a.licenceId, ue), w.value = a.queueKey;
|
|
19637
19637
|
}, te = async (ue) => {
|
|
19638
19638
|
const pe = ue.map((pt) => pt.id), De = /* @__PURE__ */ new Map(), We = /* @__PURE__ */ new Set(), jt = /* @__PURE__ */ new Map();
|
|
19639
19639
|
try {
|
|
@@ -19697,7 +19697,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19697
19697
|
...pe,
|
|
19698
19698
|
position: Y.value
|
|
19699
19699
|
}))
|
|
19700
|
-
), w.value =
|
|
19700
|
+
), w.value = null, X.stopUpload(a.queueKey));
|
|
19701
19701
|
}, b = () => {
|
|
19702
19702
|
s.value = !0;
|
|
19703
19703
|
}, S = di({}, {}, { $scope: Qo }), M = async () => {
|
|
@@ -19738,7 +19738,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19738
19738
|
D.value.forEach((pe) => {
|
|
19739
19739
|
ue++, pe.position = ue;
|
|
19740
19740
|
}), v.maxPosition = ue;
|
|
19741
|
-
},
|
|
19741
|
+
}, ce = (ue, pe) => {
|
|
19742
19742
|
if (pe >= 0 && pe < D.value.length) {
|
|
19743
19743
|
const De = D.value.splice(ue, 1)[0];
|
|
19744
19744
|
D.value.splice(pe, 0, De), ze(), _e();
|
|
@@ -19753,7 +19753,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19753
19753
|
dragClass: Ou,
|
|
19754
19754
|
chosenClass: Bu,
|
|
19755
19755
|
onEnd: async (pe) => {
|
|
19756
|
-
L(pe.oldIndex) || L(pe.newIndex) ||
|
|
19756
|
+
L(pe.oldIndex) || L(pe.newIndex) || ce(pe.oldIndex, pe.newIndex);
|
|
19757
19757
|
}
|
|
19758
19758
|
}));
|
|
19759
19759
|
};
|
|
@@ -19832,7 +19832,7 @@ const PX = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, OX = { clas
|
|
|
19832
19832
|
})
|
|
19833
19833
|
}, null, 8, ["hover-only", "accept", "max-sizes"])
|
|
19834
19834
|
]),
|
|
19835
|
-
g(w) ? (q(), $(nA, {
|
|
19835
|
+
g(w) === ue.queueKey ? (q(), $(nA, {
|
|
19836
19836
|
key: 1,
|
|
19837
19837
|
"queue-key": ue.queueKey,
|
|
19838
19838
|
"ext-system": ue.extSystem,
|
|
@@ -22200,7 +22200,7 @@ const tk = {
|
|
|
22200
22200
|
})
|
|
22201
22201
|
});
|
|
22202
22202
|
async function ck() {
|
|
22203
|
-
(await import("./webfontloader-
|
|
22203
|
+
(await import("./webfontloader-t2NmQTlg.js").then((i) => i.w)).load({
|
|
22204
22204
|
google: {
|
|
22205
22205
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
22206
22206
|
}
|
|
@@ -22501,4 +22501,4 @@ export {
|
|
|
22501
22501
|
Kr as y,
|
|
22502
22502
|
nf as z
|
|
22503
22503
|
};
|
|
22504
|
-
//# sourceMappingURL=lib-
|
|
22504
|
+
//# sourceMappingURL=lib-45_AFV2i.js.map
|