@anzusystems/common-admin 1.52.0-single-use-87269.6 → 1.52.0-single-use-87269.11
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/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DevFNquD.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-lnJCfZ3v.mjs} +9 -12
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-lnJCfZ3v.mjs.map +1 -0
- package/dist/common-admin.d.ts +16 -14
- package/dist/common-admin.js +9188 -9030
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.js +2 -2
- package/dist/{webfontloader-B_8Qh0Hr.mjs → webfontloader-B-tMjuPH.mjs} +2 -2
- package/dist/{webfontloader-B_8Qh0Hr.mjs.map → webfontloader-B-tMjuPH.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DevFNquD.mjs.map +0 -1
|
@@ -1165,13 +1165,13 @@ const cu = {
|
|
|
1165
1165
|
}, Vv = Mr.Image, du = (e) => {
|
|
1166
1166
|
const { t: n, te: t } = Ye.global, a = `common.assetSelect.holder.${e}`;
|
|
1167
1167
|
return t(a) ? n(a) : e;
|
|
1168
|
-
}, fu = (e
|
|
1169
|
-
const { t } = Ye.global;
|
|
1170
|
-
return e.mainFile?.flags.singleUse ?? !1
|
|
1168
|
+
}, fu = (e) => {
|
|
1169
|
+
const { t: n } = Ye.global;
|
|
1170
|
+
return (e.mainFile?.flags.singleUse ?? !1) && e.singleUseUsage?.blocked ? n("common.assetSelect.disabledReason.singleUseBlocked", {
|
|
1171
1171
|
count: e.singleUseUsage.otherHolderCount
|
|
1172
|
-
}) : null
|
|
1172
|
+
}) : null;
|
|
1173
1173
|
}, mu = (e, n, t) => {
|
|
1174
|
-
const { t: a } = Ye.global, l = fu(e
|
|
1174
|
+
const { t: a } = Ye.global, l = fu(e);
|
|
1175
1175
|
if (l) return l;
|
|
1176
1176
|
const o = n?.flags?.directUseAllowed ?? !0;
|
|
1177
1177
|
return !o && e.attributes.assetType !== Mr.Image ? a("common.assetSelect.disabledReason.directUseDisabledNotImage") : !o && F(t.uploadLicence) ? a("common.assetSelect.disabledReason.directUseDisabledNoUploadLicence") : null;
|
|
@@ -1186,8 +1186,7 @@ const cu = {
|
|
|
1186
1186
|
}, vu = {
|
|
1187
1187
|
shared_gallery: "common.damImage.image.error.sharedGallery",
|
|
1188
1188
|
invalid_owner: "common.damImage.image.error.invalidOwner",
|
|
1189
|
-
gallery_copy: "common.damImage.image.error.galleryCopy"
|
|
1190
|
-
restore_conflict: "common.damImage.image.error.restoreConflict"
|
|
1189
|
+
gallery_copy: "common.damImage.image.error.galleryCopy"
|
|
1191
1190
|
};
|
|
1192
1191
|
function hu(e, n) {
|
|
1193
1192
|
if (e?.code === "image_take_over_failed")
|
|
@@ -1198,7 +1197,7 @@ function hu(e, n) {
|
|
|
1198
1197
|
if (t)
|
|
1199
1198
|
return n(t);
|
|
1200
1199
|
const a = e.damId ?? "", l = e.holderResourceName ? du(e.holderResourceName) : "";
|
|
1201
|
-
return
|
|
1200
|
+
return a ? l ? n("common.damImage.image.error.singleUseViolation", { damId: a, holder: l }) : n("common.damImage.image.error.singleUseViolationUnknownHolder", { damId: a }) : l ? n("common.damImage.image.error.singleUseViolationUnknownImage", { holder: l }) : n("common.damImage.image.error.singleUseViolationUnidentified");
|
|
1202
1201
|
}
|
|
1203
1202
|
const xn = (e, n, t = "") => oa(n) ? e : ci(
|
|
1204
1203
|
t === "" ? e : t,
|
|
@@ -1271,9 +1270,7 @@ const Su = (e, n) => {
|
|
|
1271
1270
|
"exclusivity_conflict",
|
|
1272
1271
|
"shared_gallery",
|
|
1273
1272
|
"invalid_owner",
|
|
1274
|
-
"
|
|
1275
|
-
"gallery_copy",
|
|
1276
|
-
"restore_conflict"
|
|
1273
|
+
"gallery_copy"
|
|
1277
1274
|
], Eu = [
|
|
1278
1275
|
...Du,
|
|
1279
1276
|
"take_over_rejected",
|
|
@@ -10263,4 +10260,4 @@ export {
|
|
|
10263
10260
|
yr as y,
|
|
10264
10261
|
br as z
|
|
10265
10262
|
};
|
|
10266
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
10263
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-lnJCfZ3v.mjs.map
|