@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
390 lines (389 loc) • 13.6 kB
JSON
{
"options": {
"allowStealFocus": false,
"authAPIVersion": 1,
"bookmarkThumbHeight": 150,
"bookmarkThumbWidth": 90,
"dropEnabled": true,
"footerPanelEnabled": true,
"headerPanelEnabled": true,
"leftPanelEnabled": true,
"limitLocales": false,
"metrics": [
{
"type": "sm",
"minWidth": 0
},
{
"type": "md",
"minWidth": 768
},
{
"type": "lg",
"minWidth": 1024
},
{
"type": "xl",
"minWidth": 1280
}
],
"multiSelectionMimeType": "application/zip",
"navigatorEnabled": true,
"openTemplate": "http://universalviewer.io?manifest={0}",
"overrideFullScreen": false,
"preserveViewport": false,
"rightPanelEnabled": true,
"saveUserSettings": false,
"clickToZoomEnabled": true,
"searchWithinEnabled": true,
"termsOfUseEnabled": false,
"tokenStorage": "session",
"useArrowKeysToNavigate": false,
"zoomToSearchResultEnabled": true
},
"modules": {
"leftPanel": {
"options": {
"expandFullEnabled": false,
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": false
},
"content": {
"collapse": "$collapse",
"collapseFull": "$collapseFull",
"expand": "$expandContents",
"expandFull": "$expandGallery"
}
},
"shareDialogue": {
"options": {
"embedEnabled": true,
"shareEnabled": true,
"embedPath": "/uv.html",
"embedTemplate": "<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\" title=\"{3}\"></iframe>",
"shareManifestsEnabled": true,
"topCloseButtonEnabled": false,
"copyToClipboardEnabled": true
},
"content": {
"close": "$close",
"copyBtn": "$copyBtn",
"copyToClipboard": "$copyToClipboard",
"customSize": "custom",
"embed": "Embed",
"embedInstructions": "To embed this item in your own website, copy and paste the code below.",
"height": "Height",
"iiif": "IIIF Manifest",
"share": "Share",
"shareInstructions": "To share this item, copy the URL below.",
"shareLink": "$shareLink",
"size": "Size:",
"width": "Width",
"shareUrl": "$shareUrl"
}
},
"centerPanel": {
"options": {
"titleEnabled": true,
"subtitleEnabled": true,
"mostSpecificRequiredStatement": true,
"requiredStatementEnabled": true
},
"content": {
"attribution": "$attribution",
"close": "$close",
"closeAttribution": "$closeAttribution"
}
},
"fileLinkCenterPanel": {
"options": {
"titleEnabled": true,
"subtitleEnabled": true,
"mostSpecificRequiredStatement": true,
"requiredStatementEnabled": true
},
"content": {
"attribution": "$attribution",
"close": "$close",
"closeAttribution": "$closeAttribution"
}
},
"footerPanel": {
"options": {
"bookmarkEnabled": false,
"downloadEnabled": true,
"embedEnabled": false,
"feedbackEnabled": false,
"fullscreenEnabled": true,
"minimiseButtons": true,
"moreInfoEnabled": true,
"openEnabled": false,
"printEnabled": false,
"shareEnabled": true
},
"content": {
"bookmark": "$add_to_bookmarks",
"download": "$download",
"embed": "$embed",
"exitFullScreen": "$exitFullScreen",
"feedback": "$feedback",
"fullScreen": "$fullScreen",
"moreInfo": "$moreInfo",
"open": "$open",
"share": "$share",
"openLeftPanel": "$openLeftPanel",
"closeLeftPanel": "$closeLeftPanel",
"openRightPanel": "$openRightPanel",
"closeRightPanel": "$closeRightPanel"
}
},
"genericDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"close": "$close",
"emptyValue": "$emptyValue",
"invalidNumber": "$invalidNumber",
"noMatches": "$noMatches",
"ok": "$ok",
"pageNotFound": "$pageNotFound",
"refresh": "$refresh"
}
},
"headerPanel": {
"options": {
"centerOptionsEnabled": true,
"localeToggleEnabled": false,
"settingsButtonEnabled": true,
"helpEnabled": false,
"helpUrl": "https://universalviewer.io"
},
"content": {
"close": "$close",
"settings": "$settings",
"help": "$help"
}
},
"helpDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"close": "$close",
"text": "$placeholder_text",
"title": "$help"
}
},
"restrictedDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"cancel": "$cancel",
"close": "$close"
}
},
"moreInfoRightPanel": {
"options": {
"canvasDisplayOrder": "",
"canvasExclude": "",
"copyToClipboardEnabled": false,
"expandFullEnabled": false,
"limitToRange": false,
"manifestDisplayOrder": "",
"manifestExclude": "",
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": false,
"rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd",
"showAllLanguages": false,
"textLimit": 4,
"textLimitType": "lines",
"topCloseButtonEnabled": false
},
"content": {
"attribution": "$attribution",
"canvasHeader": "$aboutTheImage",
"close": "$close",
"collapse": "$collapseInformation",
"collapseFull": "$collapseGallery",
"copiedToClipboard": "$copiedToClipboard",
"copyToClipboard": "$copyToClipboard",
"description": "$description",
"expand": "$expandInformation",
"expandFull": "$expandGallery",
"holdingText": "$moduleGoesHere",
"less": "$less",
"lessAriaLabelTemplate": "$lessAriaLabelTemplate",
"license": "$license",
"logo": "$logo",
"manifestHeader": "$aboutTheItem",
"more": "$more",
"moreAriaLabelTemplate": "$moreAriaLabelTemplate",
"noData": "$noDataToDisplay",
"page": "$page",
"rangeHeader": "$aboutThisSection",
"title": "$moreInformation"
}
},
"resourcesLeftPanel": {
"options": {
"expandFullEnabled": false,
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": true,
"oneColThumbHeight": 320,
"oneColThumbWidth": 200,
"twoColThumbHeight": 150,
"twoColThumbWidth": 90
},
"content": {
"title": "$contents",
"collapse": "$collapse",
"collapseFull": "$collapseFull",
"expand": "$expandContents",
"expandFull": "$expandGallery"
}
},
"dialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"close": "$close"
}
},
"authDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"cancel": "$cancel",
"close": "$close",
"confirm": "$confirm"
}
},
"adjustImageDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"title": "$adjustImage",
"brightness": "$brightness",
"contrast": "$contrast",
"saturation": "$saturation",
"close": "$close",
"reset": "$reset",
"remember": "$remember"
}
},
"clickThroughDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"close": "$close",
"viewTerms": "$viewTerms"
}
},
"downloadDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"allPages": "$allPages",
"close": "$close",
"currentViewAsJpg": "$currentViewAsJpg",
"currentViewAsJpgExplanation": "$openNewWindow",
"download": "$download",
"downloadSelection": "$downloadSelection",
"downloadSelectionExplanation": "$downloadSelectionExplanation",
"editSettings": "$editSettings",
"entireDocument": "$entireDocument",
"entireFileAsOriginal": "$entireFile",
"entireFileAsOriginalWithFormat": "$entireFileWithFormat",
"individualPages": "$individualPages",
"noneAvailable": "$noDownloadOptionsAvailable",
"pagingNote": "$pagingNote",
"preview": "$preview",
"selection": "$selection",
"termsOfUse": "$termsOfUse",
"title": "$download",
"wholeImageHighRes": "$wholeImageHighRes",
"wholeImageHighResExplanation": "$openNewWindow",
"wholeImageLowResAsJpg": "$wholeImageLowResAsJpg",
"wholeImageLowResAsJpgExplanation": "$openNewWindow",
"wholeImagesHighRes": "$wholeImagesHighRes",
"wholeImagesHighResExplanation": "$wholeImagesHighResExplanation"
}
},
"loginDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"login": "$login",
"logout": "$logout",
"cancel": "$cancel",
"close": "$close"
}
},
"settingsDialogue": {
"options": {
"topCloseButtonEnabled": false
},
"content": {
"close": "$close",
"locale": "$locale",
"navigatorEnabled": "$navigatorEnabled",
"clickToZoomEnabled": "$clickToZoomEnabled",
"reducedMotion": "$reducedMotion",
"truncateThumbnailLabels": "$truncateThumbnailLabels",
"preserveViewport": "$preserveViewport",
"title": "$settings",
"website": "$uvWebsite"
}
}
},
"localisation": {
"label": "English (GB)",
"locales": [
{
"name": "cy-GB",
"label": "Cymraeg"
},
{
"name": "en-GB",
"label": "English (GB)"
},
{
"name": "fr-FR",
"label": "Français (FR)"
},
{
"name": "pl-PL",
"label": "Polski"
},
{
"name": "sv-SE",
"label": "Svenska"
}
]
},
"content": {
"authCORSError": "$authCORSError",
"authorisationFailedMessage": "$authorisationFailedMessage",
"canvasIndexOutOfRange": "$canvasIndexOutOfRange",
"fallbackDegradedLabel": "$fallbackDegradedLabel",
"fallbackDegradedMessage": "$fallbackDegradedMessage",
"forbiddenResourceMessage": "$forbiddenResourceMessage",
"termsOfUse": "$termsOfUse",
"mediaViewer": "$mediaViewer",
"skipToDownload": "$skipToDownload"
}
}