@anzusystems/common-admin 1.51.0-author-source-87355.2 → 1.51.0-author-source-87355.3
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.d.ts
CHANGED
|
@@ -4600,7 +4600,8 @@ export declare interface DamExtSystemAssetTypeExifMetadata {
|
|
|
4600
4600
|
|
|
4601
4601
|
declare interface DamExtSystemAssetTypeSources extends DamExtSystemAssetTypeExifMetadata {
|
|
4602
4602
|
creditFormat: string;
|
|
4603
|
-
|
|
4603
|
+
creditSourcesSeparator: string;
|
|
4604
|
+
creditAuthorsSeparator: string;
|
|
4604
4605
|
}
|
|
4605
4606
|
|
|
4606
4607
|
export declare interface DamExtSystemConfig {
|
package/dist/common-admin.js
CHANGED
|
@@ -9188,12 +9188,13 @@ function ci(e) {
|
|
|
9188
9188
|
throw new Error("getDamCreditConfig: Ext system must be initialised.");
|
|
9189
9189
|
return {
|
|
9190
9190
|
creditFormat: t.creditFormat,
|
|
9191
|
-
|
|
9191
|
+
creditSourcesSeparator: t.creditSourcesSeparator,
|
|
9192
|
+
creditAuthorsSeparator: t.creditAuthorsSeparator
|
|
9192
9193
|
};
|
|
9193
9194
|
}
|
|
9194
9195
|
const Xl = (e, a) => e.filter((t) => !t.hiddenInCredit).map((t) => t.name.trim()).filter((t) => t.length > 0).join(a);
|
|
9195
9196
|
function Iu(e, a, t) {
|
|
9196
|
-
const s = Xl(e, t.
|
|
9197
|
+
const s = Xl(e, t.creditSourcesSeparator), o = Xl(a, t.creditAuthorsSeparator);
|
|
9197
9198
|
return s.length > 0 && o.length > 0 ? t.creditFormat.replace("{sources}", () => s).replace("{authors}", () => o) : s.length > 0 ? s : o;
|
|
9198
9199
|
}
|
|
9199
9200
|
function Bi(e, a, t, s) {
|