diff --git a/src/content-handlers/iiif/extensions/uv-aleph-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-aleph-extension/config/Config.ts
index f0d0d546d..b0c89df7c 100644
--- a/src/content-handlers/iiif/extensions/uv-aleph-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-aleph-extension/config/Config.ts
@@ -5,6 +5,8 @@ import {
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -56,9 +58,9 @@ type AlephShareDialogue = ModuleConfig & {
content: AlephShareDialogueContent;
};
-type AlephSettingsDialogueOptions = ShareDialogueOptions & {};
+type AlephSettingsDialogueOptions = SettingsDialogueOptions & {};
-type AlephSettingsDialogueContent = ShareDialogueContent & {};
+type AlephSettingsDialogueContent = SettingsDialogueContent & {};
type AlephSettingsDialogue = ModuleConfig & {
options: AlephSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-aleph-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-aleph-extension/config/config.json
index 584bc8903..f89826d76 100644
--- a/src/content-handlers/iiif/extensions/uv-aleph-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-aleph-extension/config/config.json
@@ -115,7 +115,11 @@
}
},
"genericDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"emptyValue": "please enter a value.",
"invalidNumber": "Please enter a valid number.",
"noMatches": "No matches were found.",
@@ -136,7 +140,11 @@
}
},
"helpDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"text": "placeholder text",
"title": "Help"
}
@@ -157,11 +165,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -205,7 +215,11 @@
}
},
"settingsDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"locale": "Locale",
"navigatorEnabled": "Navigator Enabled",
"clickToZoomEnabled": "Mouse Click To Zoom",
@@ -218,12 +232,16 @@
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
- "shareManifestsEnabled": true
+ "shareManifestsEnabled": true,
+ "topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
@@ -231,24 +249,37 @@
"iiif": "IIIF Manifest",
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
+ "shareUrl": "$shareUrl",
"size": "Size:",
"width": "Width"
}
},
"authDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "Cancel",
- "confirm": "Confirm"
+ "cancel": "$cancel",
+ "close": "$close",
+ "confirm": "$confirm"
}
},
"clickThroughDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "viewTerms": "Read Full Terms and Conditions"
+ "close": "$close",
+ "viewTerms": "$viewTerms"
}
},
"downloadDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -257,6 +288,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileAsOriginalWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -284,8 +316,12 @@
}
},
"restrictedDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "Cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
}
},
diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-av-extension/config/Config.ts
index 2bdec173b..2dcc2d7f1 100644
--- a/src/content-handlers/iiif/extensions/uv-av-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-av-extension/config/Config.ts
@@ -5,6 +5,8 @@ import {
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -49,9 +51,9 @@ type AVShareDialogue = ModuleConfig & {
content: AVShareDialogueContent;
};
-type AVSettingsDialogueOptions = ShareDialogueOptions & {};
+type AVSettingsDialogueOptions = SettingsDialogueOptions & {};
-type AVSettingsDialogueContent = ShareDialogueContent & {};
+type AVSettingsDialogueContent = SettingsDialogueContent & {};
type AVSettingsDialogue = ModuleConfig & {
options: AVSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json
index c274e0c35..6be55c64e 100644
--- a/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json
@@ -141,7 +141,11 @@
}
},
"genericDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
@@ -162,7 +166,11 @@
}
},
"helpDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"text": "$placeholder_text",
"title": "$help"
}
@@ -183,11 +191,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -225,7 +235,15 @@
"posterImageRatio": 0.3,
"subtitleMetadataField": "contributor",
"titleEnabled": true,
- "subtitleEnabled": true
+ "subtitleEnabled": true,
+ "mostSpecificRequiredStatement": true,
+ "requiredStatementEnabled": true,
+ "posterImageExpanded": false,
+ "hideMediaError": false,
+ "enableFastForward": true,
+ "enableFastRewind": true,
+ "limitToRange": false,
+ "autoAdvanceRanges": false
},
"content": {
"attribution": "$attribution",
@@ -240,7 +258,11 @@
}
},
"settingsDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",
@@ -253,12 +275,16 @@
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
- "shareManifestsEnabled": true
+ "shareManifestsEnabled": true,
+ "topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
@@ -267,23 +293,36 @@
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
"size": "Size:",
- "width": "Width"
+ "width": "Width",
+ "shareUrl": "$shareUrl"
}
},
"authDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"cancel": "$cancel",
+ "close": "$close",
"confirm": "$confirm"
}
},
"clickThroughDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"viewTerms": "$viewTerms"
}
},
"downloadDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -292,6 +331,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileAsOriginalWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -319,8 +359,12 @@
}
},
"restrictedDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "$cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
}
},
diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-default-extension/config/Config.ts
index 1bcf1bb25..25ce7423f 100644
--- a/src/content-handlers/iiif/extensions/uv-default-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-default-extension/config/Config.ts
@@ -5,6 +5,8 @@ import {
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -36,9 +38,9 @@ type DefaultShareDialogue = ModuleConfig & {
content: DefaultShareDialogueContent;
};
-type DefaultSettingsDialogueOptions = ShareDialogueOptions & {};
+type DefaultSettingsDialogueOptions = SettingsDialogueOptions & {};
-type DefaultSettingsDialogueContent = ShareDialogueContent & {};
+type DefaultSettingsDialogueContent = SettingsDialogueContent & {};
type DefaultSettingsDialogue = ModuleConfig & {
options: DefaultSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json
index 29a457206..290702f32 100644
--- a/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json
@@ -63,12 +63,16 @@
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
- "shareManifestsEnabled": true
+ "shareManifestsEnabled": true,
+ "topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
@@ -77,7 +81,8 @@
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
"size": "Size:",
- "width": "Width"
+ "width": "Width",
+ "shareUrl": "$shareUrl"
}
},
"centerPanel": {
@@ -128,7 +133,11 @@
}
},
"genericDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
@@ -149,14 +158,22 @@
}
},
"helpDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"text": "$placeholder_text",
"title": "$help"
}
},
"restrictedDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "$cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
},
"moreInfoRightPanel": {
@@ -175,11 +192,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -228,19 +247,31 @@
}
},
"authDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"cancel": "$cancel",
+ "close": "$close",
"confirm": "$confirm"
}
},
"clickThroughDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"viewTerms": "$viewTerms"
}
},
"downloadDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -249,6 +280,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -276,7 +308,11 @@
}
},
"settingsDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",
diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/Config.ts
index 5c1450e2b..8e7c89606 100644
--- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/Config.ts
@@ -5,6 +5,8 @@ import {
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -57,9 +59,9 @@ type EbookShareDialogue = ModuleConfig & {
content: EbookShareDialogueContent;
};
-type EbookSettingsDialogueOptions = ShareDialogueOptions & {};
+type EbookSettingsDialogueOptions = SettingsDialogueOptions & {};
-type EbookSettingsDialogueContent = ShareDialogueContent & {};
+type EbookSettingsDialogueContent = SettingsDialogueContent & {};
type EbookSettingsDialogue = ModuleConfig & {
options: EbookSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json
index fb2ae81a8..203a61c1f 100644
--- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json
@@ -111,7 +111,11 @@
}
},
"genericDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
@@ -132,7 +136,11 @@
}
},
"helpDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"text": "$placeholder_text",
"title": "$help"
}
@@ -153,11 +161,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -200,7 +210,11 @@
}
},
"settingsDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",
@@ -213,12 +227,16 @@
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
- "shareManifestsEnabled": true
+ "shareManifestsEnabled": true,
+ "topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
@@ -227,23 +245,36 @@
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
"size": "Size:",
- "width": "Width"
+ "width": "Width",
+ "shareUrl": "$shareUrl"
}
},
"authDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"cancel": "$cancel",
+ "close": "$close",
"confirm": "$confirm"
}
},
"clickThroughDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"viewTerms": "$viewTerms"
}
},
"downloadDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -252,6 +283,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileAsOriginalWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -279,8 +311,12 @@
}
},
"restrictedDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "$cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
}
},
diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/Config.ts
index 63a329d99..400c80bc4 100644
--- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/Config.ts
@@ -5,6 +5,8 @@ import {
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -39,9 +41,9 @@ type MediaElementShareDialogue = ModuleConfig & {
content: MediaElementShareDialogueContent;
};
-type MediaElementSettingsDialogueOptions = ShareDialogueOptions & {};
+type MediaElementSettingsDialogueOptions = SettingsDialogueOptions & {};
-type MediaElementSettingsDialogueContent = ShareDialogueContent & {};
+type MediaElementSettingsDialogueContent = SettingsDialogueContent & {};
type MediaElementSettingsDialogue = ModuleConfig & {
options: MediaElementSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json
index 5f870bd71..7ca31ede6 100644
--- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json
@@ -63,12 +63,16 @@
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
- "shareManifestsEnabled": true
+ "shareManifestsEnabled": true,
+ "topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
@@ -77,7 +81,8 @@
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
"size": "Size:",
- "width": "Width"
+ "width": "Width",
+ "shareUrl": "$shareUrl"
}
},
"footerPanel": {
@@ -106,7 +111,11 @@
}
},
"genericDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
@@ -127,7 +136,11 @@
}
},
"helpDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"text": "$placeholder_text",
"title": "$help"
}
@@ -144,25 +157,43 @@
}
},
"mediaelementCenterPanel": {
- "defaultHeight": 420,
- "defaultWidth": 560,
+ "options": {
+ "defaultHeight": 420,
+ "defaultWidth": 560,
+ "titleEnabled": true,
+ "subtitleEnabled": true,
+ "mostSpecificRequiredStatement": true,
+ "requiredStatementEnabled": true
+ },
"content": {
"attribution": "$attribution"
}
},
"restrictedDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "$cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
},
"authDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"cancel": "$cancel",
+ "close": "$close",
"confirm": "$confirm"
}
},
"clickThroughDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"viewTerms": "$viewTerms"
}
},
@@ -182,11 +213,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -227,8 +260,12 @@
}
},
"downloadDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -237,6 +274,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -264,7 +302,11 @@
}
},
"settingsDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",
diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/Config.ts
index edb2890f6..1ab925e75 100644
--- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/Config.ts
@@ -5,6 +5,8 @@ import {
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -41,9 +43,9 @@ type ModelViewerShareDialogue = ModuleConfig & {
content: ModelViewerShareDialogueContent;
};
-type ModelViewerSettingsDialogueOptions = ShareDialogueOptions & {};
+type ModelViewerSettingsDialogueOptions = SettingsDialogueOptions & {};
-type ModelViewerSettingsDialogueContent = ShareDialogueContent & {};
+type ModelViewerSettingsDialogueContent = SettingsDialogueContent & {};
type ModelViewerSettingsDialogue = ModuleConfig & {
options: ModelViewerSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json
index 124718648..52a1e16b9 100644
--- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json
@@ -47,29 +47,45 @@
},
"modules": {
"restrictedDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
- "cancel": "$cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
},
"authDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"cancel": "$cancel",
+ "close": "$close",
"confirm": "$confirm"
}
},
"clickThroughDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"viewTerms": "$viewTerms"
}
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
- "shareManifestsEnabled": true
+ "shareManifestsEnabled": true,
+ "topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
@@ -78,7 +94,8 @@
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
"size": "Size:",
- "width": "Width"
+ "width": "Width",
+ "shareUrl": "$shareUrl"
}
},
"footerPanel": {
@@ -107,7 +124,11 @@
}
},
"genericDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
@@ -128,7 +149,11 @@
}
},
"helpDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"text": "$placeholder_text",
"title": "$help"
}
@@ -149,11 +174,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -247,8 +274,12 @@
}
},
"downloadDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -257,6 +288,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileAsOriginalWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -283,11 +315,12 @@
"close": "$close"
}
},
- "mediaelementCenterPanel": {
- "content": {}
- },
"settingsDialogue": {
+ "options": {
+ "topCloseButtonEnabled": false
+ },
"content": {
+ "close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",
diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/Config.ts b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/Config.ts
index 0da36408c..ff5d7195a 100644
--- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/Config.ts
+++ b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/Config.ts
@@ -11,6 +11,8 @@ import {
HeaderPanelContent,
HeaderPanelOptions,
ModuleConfig,
+ SettingsDialogueContent,
+ SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
@@ -258,9 +260,9 @@ type OSDShareDialogue = ModuleConfig & {
content: OSDShareDialogueContent;
};
-type OSDSettingsDialogueOptions = ShareDialogueOptions & {};
+type OSDSettingsDialogueOptions = SettingsDialogueOptions & {};
-type OSDSettingsDialogueContent = ShareDialogueContent & {};
+type OSDSettingsDialogueContent = SettingsDialogueContent & {};
type OSDSettingsDialogue = ModuleConfig & {
options: OSDSettingsDialogueOptions;
diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json
index af646b77b..3e3508c7e 100644
--- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json
+++ b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json
@@ -92,6 +92,7 @@
"topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
@@ -116,6 +117,7 @@
"topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"text": "$placeholder_text text",
"title": "$help"
}
@@ -136,11 +138,13 @@
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
- "textLimitType": "lines"
+ "textLimitType": "lines",
+ "topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
+ "close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
@@ -217,6 +221,7 @@
},
"content": {
"allPages": "$allPages",
+ "close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
@@ -225,6 +230,7 @@
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
+ "entireFileAsOriginalWithFormat": "$entireFileWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
@@ -261,6 +267,8 @@
},
"shareDialogue": {
"options": {
+ "embedEnabled": true,
+ "shareEnabled": true,
"embedTemplate": "",
"instructionsEnabled": false,
"shareFrameEnabled": true,
@@ -268,6 +276,7 @@
"topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"customSize": "$custom",
"embed": "$embed",
"embedInstructions": "$embedInstructions",
@@ -276,7 +285,8 @@
"share": "$share",
"shareInstructions": "$shareInstructions",
"size": "$size",
- "width": "$width"
+ "width": "$width",
+ "shareUrl": "$shareUrl"
}
},
"authDialogue": {
@@ -314,7 +324,8 @@
"topCloseButtonEnabled": false
},
"content": {
- "cancel": "$cancel"
+ "cancel": "$cancel",
+ "close": "$close"
}
},
"settingsDialogue": {
@@ -322,6 +333,7 @@
"topCloseButtonEnabled": false
},
"content": {
+ "close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",