universalviewer
Advanced tools
Comparing version 3.0.22 to 3.0.23
{ | ||
"name": "universalviewer", | ||
"version": "3.0.22", | ||
"version": "3.0.23", | ||
"description": "The Universal Viewer is a community-developed open source project on a mission to help you share your content with the world.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -38,3 +38,3 @@ function createUV(selector, data, dataProvider) { | ||
uv.on('created', function(obj) { | ||
resize(); | ||
}, false); | ||
@@ -41,0 +41,0 @@ |
@@ -1,1 +0,1 @@ | ||
{ "version": "3.0.22" } | ||
{ "version": "3.0.23" } |
@@ -1,3 +0,3 @@ | ||
// iiif-gallery-component v1.1.3 https://github.com/iiif-commons/iiif-gallery-component#readme | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.iiifGalleryComponent = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
// iiif-gallery-component v1.1.4 https://github.com/iiif-commons/iiif-gallery-component#readme | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.iiifGalleryComponent = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){ | ||
(function (global){ | ||
@@ -122,5 +122,5 @@ | ||
if (searchResults > 1) { | ||
return String.format(that.options.data.content.searchResults, searchResults); | ||
return Utils.Strings.format(that.options.data.content.searchResults, searchResults.toString()); | ||
} | ||
return String.format(that.options.data.content.searchResult, searchResults); | ||
return Utils.Strings.format(that.options.data.content.searchResult, searchResults.toString()); | ||
} | ||
@@ -242,3 +242,3 @@ return null; | ||
} | ||
var medianHeight = Math.median(heights); | ||
var medianHeight = Utils.Maths.median(heights); | ||
for (var i_3 = 0; i_3 < this._thumbs.length; i_3++) { | ||
@@ -448,4 +448,4 @@ var thumb = this._thumbs[i_3]; | ||
GalleryComponent.prototype._setRange = function () { | ||
var norm = Math.normalise(Number(this._$sizeRange.val()), 0, 10); | ||
this._range = Math.clamp(norm, 0.05, 1); | ||
var norm = Utils.Maths.normalise(Number(this._$sizeRange.val()), 0, 10); | ||
this._range = Utils.Maths.clamp(norm, 0.05, 1); | ||
}; | ||
@@ -452,0 +452,0 @@ GalleryComponent.prototype._setThumbMultiSelected = function (thumb, selected) { |
@@ -1,3 +0,3 @@ | ||
// iiif-metadata-component v1.1.4 https://github.com/iiif-commons/iiif-metadata-component#readme | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.iiifMetadataComponent = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
// iiif-metadata-component v1.1.6 https://github.com/iiif-commons/iiif-metadata-component#readme | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.iiifMetadataComponent = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){ | ||
(function (global){ | ||
@@ -68,2 +68,3 @@ | ||
var _this = _super.call(this, options) || this; | ||
_this._data = _this.data(); | ||
_this._init(); | ||
@@ -88,8 +89,8 @@ _this._resize(); | ||
this._$metadataItemURIValueTemplate = $('<a class="value" href="" target="_blank"></a>'); | ||
this._$copyTextTemplate = $('<div class="copyText" alt="' + this.options.data.content.copyToClipboard + '" title="' + this.options.data.content.copyToClipboard + '">\ | ||
<div class="copiedText">' + this.options.data.content.copiedToClipboard + ' </div>\ | ||
this._$copyTextTemplate = $('<div class="copyText" alt="' + this._data.content.copyToClipboard + '" title="' + this._data.content.copyToClipboard + '">\ | ||
<div class="copiedText">' + this._data.content.copiedToClipboard + ' </div>\ | ||
</div>'); | ||
this._$metadataGroups = $('<div class="groups"></div>'); | ||
this._$element.append(this._$metadataGroups); | ||
this._$noData = $('<div class="noData">' + this.options.data.content.noData + '</div>'); | ||
this._$noData = $('<div class="noData">' + this._data.content.noData + '</div>'); | ||
this._$element.append(this._$noData); | ||
@@ -142,42 +143,40 @@ return success; | ||
}; | ||
MetadataComponent.prototype.set = function () { | ||
MetadataComponent.prototype.set = function (data) { | ||
var _this = this; | ||
this._$metadataGroups.empty(); | ||
$.extend(this._data, data); | ||
if (!this._data || !this._data.helper) { | ||
return; | ||
} | ||
var options = { | ||
canvases: this.options.data.canvases, | ||
licenseFormatter: this.options.data.licenseFormatter, | ||
range: this.options.data.range | ||
canvases: this._data.canvases, | ||
licenseFormatter: this._data.licenseFormatter, | ||
range: this._data.range | ||
}; | ||
this._metadataGroups = this.options.data.helper.getMetadata(options); | ||
if (this.options.data.manifestDisplayOrder) { | ||
this._metadataGroups = this._data.helper.getMetadata(options); | ||
if (this._data.manifestDisplayOrder) { | ||
var manifestGroup = this._getManifestGroup(); | ||
manifestGroup.items = this._sortItems(manifestGroup.items, this._readCSV(this.options.data.manifestDisplayOrder)); | ||
manifestGroup.items = this._sortItems(manifestGroup.items, this._readCSV(this._data.manifestDisplayOrder)); | ||
} | ||
if (this.options.data.canvasDisplayOrder) { | ||
if (this._data.canvasDisplayOrder) { | ||
var canvasGroups = this._getCanvasGroups(); | ||
$.each(canvasGroups, function (index, canvasGroup) { | ||
canvasGroup.items = _this._sortItems(canvasGroup.items, _this._readCSV(_this.options.data.canvasDisplayOrder)); | ||
canvasGroups.forEach(function (canvasGroup, index) { | ||
canvasGroup.items = _this._sortItems(canvasGroup.items, _this._readCSV(_this._data.canvasDisplayOrder)); | ||
}); | ||
} | ||
if (this.options.data.metadataGroupOrder) { | ||
this._metadataGroups = this._sortGroups(this._metadataGroups, this._readCSV(this.options.data.metadataGroupOrder)); | ||
if (this._data.metadataGroupOrder) { | ||
this._metadataGroups = this._sortGroups(this._metadataGroups, this._readCSV(this._data.metadataGroupOrder)); | ||
} | ||
if (this.options.data.canvasLabels) { | ||
this._label(this._getCanvasGroups(), this._readCSV(this.options.data.canvasLabels, false)); | ||
if (this._data.canvasLabels) { | ||
this._label(this._getCanvasGroups(), this._readCSV(this._data.canvasLabels, false)); | ||
} | ||
if (this.options.data.manifestExclude) { | ||
if (this._data.manifestExclude) { | ||
var manifestGroup = this._getManifestGroup(); | ||
manifestGroup.items = this._exclude(manifestGroup.items, this._readCSV(this.options.data.manifestExclude)); | ||
manifestGroup.items = this._exclude(manifestGroup.items, this._readCSV(this._data.manifestExclude)); | ||
} | ||
if (this.options.data.canvasExclude) { | ||
if (this._data.canvasExclude) { | ||
var canvasGroups = this._getCanvasGroups(); | ||
$.each(canvasGroups, function (index, canvasGroup) { | ||
canvasGroup.items = _this._exclude(canvasGroup.items, _this._readCSV(_this.options.data.canvasExclude)); | ||
canvasGroups.forEach(function (canvasGroup, index) { | ||
canvasGroup.items = _this._exclude(canvasGroup.items, _this._readCSV(_this._data.canvasExclude)); | ||
}); | ||
} | ||
if (!this._metadataGroups.length) { | ||
this._$noData.show(); | ||
return; | ||
} | ||
this._$noData.hide(); | ||
this._render(); | ||
@@ -188,12 +187,15 @@ }; | ||
var sorted = []; | ||
var unsorted = items.clone(); | ||
$.each(displayOrder, function (index, item) { | ||
var unsorted = items.slice(0); | ||
displayOrder.forEach(function (item, index) { | ||
var match = unsorted.en().where((function (x) { return _this._normalise(x.getLabel()) === item; })).first(); | ||
if (match) { | ||
sorted.push(match); | ||
unsorted.remove(match); | ||
var index_1 = unsorted.indexOf(match); | ||
if (index_1 > -1) { | ||
unsorted.splice(index_1, 1); | ||
} | ||
} | ||
}); | ||
// add remaining items that were not in the displayOrder. | ||
$.each(unsorted, function (index, item) { | ||
unsorted.forEach(function (item, index) { | ||
sorted.push(item); | ||
@@ -205,8 +207,11 @@ }); | ||
var sorted = []; | ||
var unsorted = groups.clone(); | ||
$.each(metadataGroupOrder, function (index, group) { | ||
var unsorted = groups.slice(0); | ||
metadataGroupOrder.forEach(function (group, index) { | ||
var match = unsorted.en().where(function (x) { return x.resource.constructor.name.toLowerCase() == group; }).first(); | ||
if (match) { | ||
sorted.push(match); | ||
unsorted.remove(match); | ||
var index_2 = unsorted.indexOf(match); | ||
if (index_2 > -1) { | ||
unsorted.splice(index_2, 1); | ||
} | ||
} | ||
@@ -217,3 +222,3 @@ }); | ||
MetadataComponent.prototype._label = function (groups, labels) { | ||
$.each(groups, function (index, group) { | ||
groups.forEach(function (group, index) { | ||
group.label = labels[index]; | ||
@@ -224,6 +229,9 @@ }); | ||
var _this = this; | ||
$.each(excludeConfig, function (index, item) { | ||
excludeConfig.forEach(function (item, index) { | ||
var match = items.en().where((function (x) { return _this._normalise(x.getLabel()) === item; })).first(); | ||
if (match) { | ||
items.remove(match); | ||
var index_3 = items.indexOf(match); | ||
if (index_3 > -1) { | ||
items.splice(index_3, 1); | ||
} | ||
} | ||
@@ -236,3 +244,3 @@ }); | ||
// var flattened: MetadataItem[] = []; | ||
// $.each(items, (index: number, item: any) => { | ||
// items.forEach(item: any, index: number) => { | ||
// if (Array.isArray(item.value)){ | ||
@@ -250,4 +258,4 @@ // flattened = flattened.concat(<MetadataItem[]>item.value); | ||
// if (this._aggregateValues.length) { | ||
// $.each(canvasMetadata, (index: number, canvasItem: any) => { | ||
// $.each(this._aggregateValues, (index: number, value: string) => { | ||
// canvasMetadata.forEach((canvasItem: any, index: number) => { | ||
// this._aggregateValues.forEach((value: string, index: number) => { | ||
// value = this._normalise(value); | ||
@@ -273,10 +281,16 @@ // if (this._normalise(canvasItem.label) === value) { | ||
var _this = this; | ||
$.each(this._metadataGroups, function (index, metadataGroup) { | ||
if (!this._metadataGroups.length) { | ||
this._$noData.show(); | ||
return; | ||
} | ||
this._$noData.hide(); | ||
this._$metadataGroups.empty(); | ||
this._metadataGroups.forEach(function (metadataGroup, index) { | ||
var $metadataGroup = _this._buildMetadataGroup(metadataGroup); | ||
_this._$metadataGroups.append($metadataGroup); | ||
if (_this.options.data.limitType === IIIFComponents.MetadataComponentOptions.LimitType.LINES) { | ||
$metadataGroup.find('.value').toggleExpandTextByLines(_this.options.data.limit, _this.options.data.content.less, _this.options.data.content.more, function () { }); | ||
if (_this._data.limitType === IIIFComponents.MetadataComponentOptions.LimitType.LINES) { | ||
$metadataGroup.find('.value').toggleExpandTextByLines(_this._data.limit, _this._data.content.less, _this._data.content.more, function () { }); | ||
} | ||
else if (_this.options.data.limitType === IIIFComponents.MetadataComponentOptions.LimitType.CHARS) { | ||
$metadataGroup.find('.value').ellipsisHtmlFixed(_this.options.data.limit, function () { }); | ||
else if (_this._data.limitType === IIIFComponents.MetadataComponentOptions.LimitType.CHARS) { | ||
$metadataGroup.find('.value').ellipsisHtmlFixed(_this._data.limit, function () { }); | ||
} | ||
@@ -289,17 +303,17 @@ }); | ||
// add group header | ||
if (metadataGroup.resource.isManifest() && this.options.data.content.manifestHeader) { | ||
$header.html(this._sanitize(this.options.data.content.manifestHeader)); | ||
if (metadataGroup.resource.isManifest() && this._data.content.manifestHeader) { | ||
$header.html(this._sanitize(this._data.content.manifestHeader)); | ||
} | ||
else if (metadataGroup.resource.isSequence() && this.options.data.content.sequenceHeader) { | ||
$header.html(this._sanitize(this.options.data.content.sequenceHeader)); | ||
else if (metadataGroup.resource.isSequence() && this._data.content.sequenceHeader) { | ||
$header.html(this._sanitize(this._data.content.sequenceHeader)); | ||
} | ||
else if (metadataGroup.resource.isRange() && this.options.data.content.rangeHeader) { | ||
$header.html(this._sanitize(this.options.data.content.rangeHeader)); | ||
else if (metadataGroup.resource.isRange() && this._data.content.rangeHeader) { | ||
$header.html(this._sanitize(this._data.content.rangeHeader)); | ||
} | ||
else if (metadataGroup.resource.isCanvas() && (metadataGroup.label || this.options.data.content.canvasHeader)) { | ||
var header = metadataGroup.label || this.options.data.content.canvasHeader; | ||
else if (metadataGroup.resource.isCanvas() && (metadataGroup.label || this._data.content.canvasHeader)) { | ||
var header = metadataGroup.label || this._data.content.canvasHeader; | ||
$header.html(this._sanitize(header)); | ||
} | ||
else if (metadataGroup.resource.isAnnotation() && this.options.data.content.imageHeader) { | ||
$header.html(this._sanitize(this.options.data.content.imageHeader)); | ||
else if (metadataGroup.resource.isAnnotation() && this._data.content.imageHeader) { | ||
$header.html(this._sanitize(this._data.content.imageHeader)); | ||
} | ||
@@ -327,12 +341,12 @@ if (!$header.text()) { | ||
case "attribution": | ||
label = this.options.data.content.attribution; | ||
label = this._data.content.attribution; | ||
break; | ||
case "description": | ||
label = this.options.data.content.description; | ||
label = this._data.content.description; | ||
break; | ||
case "license": | ||
label = this.options.data.content.license; | ||
label = this._data.content.license; | ||
break; | ||
case "logo": | ||
label = this.options.data.content.logo; | ||
label = this._data.content.logo; | ||
break; | ||
@@ -344,7 +358,7 @@ } | ||
// rtl? | ||
this._addReadingDirection($label, this._getItemLocale(item)); | ||
$metadataItem.addClass(label.toCssClass()); | ||
this._addReadingDirection($label, this._getLabelLocale(item)); | ||
$metadataItem.addClass(Utils.Strings.toCssClass(label)); | ||
var $value; | ||
// if the value is a URI | ||
if (originalLabel && originalLabel.toLowerCase() === "license" && (urlPattern.exec(item.value[0].value) != null)) { | ||
if (originalLabel && originalLabel.toLowerCase() === "license" && (urlPattern.exec(item.value[0].value) !== null)) { | ||
$value = this._buildMetadataItemURIValue(item.value[0].value); | ||
@@ -354,3 +368,3 @@ $values.append($value); | ||
else { | ||
if (this.options.data.showAllLanguages && item.value && item.value.length > 1) { | ||
if (this._data.showAllLanguages && item.value && item.value.length > 1) { | ||
// display all values in each locale | ||
@@ -364,3 +378,3 @@ for (var i = 0; i < item.value.length; i++) { | ||
else { | ||
var itemLocale = this._getItemLocale(item); | ||
var valueLocale = this._getValueLocale(item); | ||
var valueFound = false; | ||
@@ -370,3 +384,3 @@ // display all values in the item's locale | ||
var translation = item.value[i]; | ||
if (itemLocale === translation.locale) { | ||
if (valueLocale.toLowerCase() === translation.locale.toLowerCase()) { | ||
valueFound = true; | ||
@@ -387,3 +401,3 @@ $value = this._buildMetadataItemValue(translation.value, translation.locale); | ||
} | ||
if (this.options.data.copyToClipboardEnabled && Utils.Clipboard.supportsCopy() && $label.text()) { | ||
if (this._data.copyToClipboardEnabled && Utils.Clipboard.supportsCopy() && $label.text()) { | ||
this._addCopyButton($metadataItem, $label, $values); | ||
@@ -393,6 +407,28 @@ } | ||
}; | ||
MetadataComponent.prototype._getItemLocale = function (item) { | ||
// the item's label locale takes precedence | ||
return (item.label.length && item.label[0].locale) ? item.label[0].locale : item.defaultLocale || this.options.data.helper.options.locale; | ||
MetadataComponent.prototype._getLabelLocale = function (item) { | ||
if (!this._data || !this._data.helper) { | ||
return ''; | ||
} | ||
var defaultLocale = this._data.helper.options.locale; | ||
if (item.label.length) { | ||
var labelLocale = item.label[0].locale; | ||
if (labelLocale.toLowerCase() !== defaultLocale.toLowerCase()) { | ||
return labelLocale; | ||
} | ||
} | ||
return defaultLocale; | ||
}; | ||
MetadataComponent.prototype._getValueLocale = function (item) { | ||
if (!this._data || !this._data.helper) { | ||
return ''; | ||
} | ||
var defaultLocale = this._data.helper.options.locale; | ||
// if (item.value.length) { | ||
// const valueLocale: string = item.value[0].locale; | ||
// if (valueLocale.toLowerCase() !== defaultLocale.toLowerCase()) { | ||
// return valueLocale; | ||
// } | ||
// } | ||
return defaultLocale; | ||
}; | ||
MetadataComponent.prototype._buildMetadataItemValue = function (value, locale) { | ||
@@ -419,3 +455,3 @@ value = this._sanitize(value); | ||
locale = Manifesto.Utils.getInexactLocale(locale); | ||
var rtlLanguages = this._readCSV(this.options.data.rtlLanguageCodes); | ||
var rtlLanguages = this._readCSV(this._data.rtlLanguageCodes); | ||
var match = rtlLanguages.en().where(function (x) { return x === locale; }).toArray().length > 0; | ||
@@ -457,3 +493,3 @@ if (match) { | ||
$copiedText.hide(); | ||
}, this.options.data.copiedMessageDuration); | ||
}, this._data.copiedMessageDuration); | ||
}; | ||
@@ -474,3 +510,3 @@ MetadataComponent.prototype._readCSV = function (config, normalise) { | ||
MetadataComponent.prototype._sanitize = function (html) { | ||
return this.options.data.sanitizer(html); | ||
return this._data.sanitizer(html); | ||
}; | ||
@@ -477,0 +513,0 @@ MetadataComponent.prototype._resize = function () { |
@@ -451,3 +451,3 @@ /** | ||
case 'd': | ||
n = parseFloat(value); | ||
n = parseFloat( value ); | ||
@@ -464,7 +464,9 @@ if ( n < 1 ) { | ||
case 'tr': | ||
n = parseFloat(value); | ||
n = parseFloat( value ); | ||
if ( n > 0 ) { | ||
if ( this.options && this.options.invertTrProperty ) n = 1 - n; | ||
params.opacity = 1 - n; | ||
if ( n < 1 ) { | ||
params.opacity = n; | ||
params.transparent = true; | ||
@@ -471,0 +473,0 @@ |
@@ -8,7 +8,7 @@ /** | ||
// o object_name | g group_name | ||
var object_pattern = /^[og]\s*(.+)?/; | ||
var object_pattern = /^[og]\s*(.+)?/; | ||
// mtllib file_reference | ||
var material_library_pattern = /^mtllib /; | ||
// usemtl material_name | ||
var material_use_pattern = /^usemtl /; | ||
var material_use_pattern = /^usemtl /; | ||
@@ -18,10 +18,11 @@ function ParserState() { | ||
var state = { | ||
objects : [], | ||
object : {}, | ||
objects: [], | ||
object: {}, | ||
vertices : [], | ||
normals : [], | ||
uvs : [], | ||
vertices: [], | ||
normals: [], | ||
colors: [], | ||
uvs: [], | ||
materialLibraries : [], | ||
materialLibraries: [], | ||
@@ -49,12 +50,13 @@ startObject: function ( name, fromDeclaration ) { | ||
this.object = { | ||
name : name || '', | ||
fromDeclaration : ( fromDeclaration !== false ), | ||
name: name || '', | ||
fromDeclaration: ( fromDeclaration !== false ), | ||
geometry : { | ||
vertices : [], | ||
normals : [], | ||
uvs : [] | ||
geometry: { | ||
vertices: [], | ||
normals: [], | ||
colors: [], | ||
uvs: [] | ||
}, | ||
materials : [], | ||
smooth : true, | ||
materials: [], | ||
smooth: true, | ||
@@ -74,24 +76,26 @@ startMaterial: function ( name, libraries ) { | ||
var material = { | ||
index : this.materials.length, | ||
name : name || '', | ||
mtllib : ( Array.isArray( libraries ) && libraries.length > 0 ? libraries[ libraries.length - 1 ] : '' ), | ||
smooth : ( previous !== undefined ? previous.smooth : this.smooth ), | ||
groupStart : ( previous !== undefined ? previous.groupEnd : 0 ), | ||
groupEnd : -1, | ||
groupCount : -1, | ||
inherited : false, | ||
index: this.materials.length, | ||
name: name || '', | ||
mtllib: ( Array.isArray( libraries ) && libraries.length > 0 ? libraries[ libraries.length - 1 ] : '' ), | ||
smooth: ( previous !== undefined ? previous.smooth : this.smooth ), | ||
groupStart: ( previous !== undefined ? previous.groupEnd : 0 ), | ||
groupEnd: - 1, | ||
groupCount: - 1, | ||
inherited: false, | ||
clone: function ( index ) { | ||
var cloned = { | ||
index : ( typeof index === 'number' ? index : this.index ), | ||
name : this.name, | ||
mtllib : this.mtllib, | ||
smooth : this.smooth, | ||
groupStart : 0, | ||
groupEnd : -1, | ||
groupCount : -1, | ||
inherited : false | ||
index: ( typeof index === 'number' ? index : this.index ), | ||
name: this.name, | ||
mtllib: this.mtllib, | ||
smooth: this.smooth, | ||
groupStart: 0, | ||
groupEnd: - 1, | ||
groupCount: - 1, | ||
inherited: false | ||
}; | ||
cloned.clone = this.clone.bind(cloned); | ||
cloned.clone = this.clone.bind( cloned ); | ||
return cloned; | ||
} | ||
@@ -109,3 +113,5 @@ }; | ||
if ( this.materials.length > 0 ) { | ||
return this.materials[ this.materials.length - 1 ]; | ||
} | ||
@@ -120,3 +126,3 @@ | ||
var lastMultiMaterial = this.currentMaterial(); | ||
if ( lastMultiMaterial && lastMultiMaterial.groupEnd === -1 ) { | ||
if ( lastMultiMaterial && lastMultiMaterial.groupEnd === - 1 ) { | ||
@@ -132,6 +138,10 @@ lastMultiMaterial.groupEnd = this.geometry.vertices.length / 3; | ||
for ( var mi = this.materials.length - 1; mi >= 0; mi-- ) { | ||
for ( var mi = this.materials.length - 1; mi >= 0; mi -- ) { | ||
if ( this.materials[ mi ].groupCount <= 0 ) { | ||
this.materials.splice( mi, 1 ); | ||
} | ||
} | ||
@@ -144,6 +154,6 @@ | ||
this.materials.push({ | ||
name : '', | ||
smooth : this.smooth | ||
}); | ||
this.materials.push( { | ||
name: '', | ||
smooth: this.smooth | ||
} ); | ||
@@ -217,2 +227,11 @@ } | ||
addVertexPoint: function ( a ) { | ||
var src = this.vertices; | ||
var dst = this.object.geometry.vertices; | ||
dst.push( src[ a + 0 ], src[ a + 1 ], src[ a + 2 ] ); | ||
}, | ||
addVertexLine: function ( a ) { | ||
@@ -238,2 +257,13 @@ | ||
addColor: function ( a, b, c ) { | ||
var src = this.colors; | ||
var dst = this.object.geometry.colors; | ||
dst.push( src[ a + 0 ], src[ a + 1 ], src[ a + 2 ] ); | ||
dst.push( src[ b + 0 ], src[ b + 1 ], src[ b + 2 ] ); | ||
dst.push( src[ c + 0 ], src[ c + 1 ], src[ c + 2 ] ); | ||
}, | ||
addUV: function ( a, b, c ) { | ||
@@ -269,10 +299,8 @@ | ||
if ( ua !== undefined ) { | ||
if ( ua !== undefined && ua !== '' ) { | ||
var uvLen = this.uvs.length; | ||
ia = this.parseUVIndex( ua, uvLen ); | ||
ib = this.parseUVIndex( ub, uvLen ); | ||
ic = this.parseUVIndex( uc, uvLen ); | ||
this.addUV( ia, ib, ic ); | ||
@@ -282,3 +310,3 @@ | ||
if ( na !== undefined ) { | ||
if ( na !== undefined && na !== '' ) { | ||
@@ -296,4 +324,24 @@ // Normals are many times the same. If so, skip function call and parseInt. | ||
if ( this.colors.length > 0 ) { | ||
this.addColor( ia, ib, ic ); | ||
} | ||
}, | ||
addPointGeometry: function ( vertices ) { | ||
this.object.geometry.type = 'Points'; | ||
var vLen = this.vertices.length; | ||
for ( var vi = 0, l = vertices.length; vi < l; vi ++ ) { | ||
this.addVertexPoint( this.parseVertexIndex( vertices[ vi ], vLen ) ); | ||
} | ||
}, | ||
addLineGeometry: function ( vertices, uvs ) { | ||
@@ -336,3 +384,3 @@ | ||
}; | ||
} | ||
@@ -384,3 +432,3 @@ OBJLoader.prototype = { | ||
if ( text.indexOf( '\\\n' ) !== - 1) { | ||
if ( text.indexOf( '\\\n' ) !== - 1 ) { | ||
@@ -427,2 +475,12 @@ // join lines separated by a line continuation character (\) | ||
); | ||
if ( data.length === 8 ) { | ||
state.colors.push( | ||
parseFloat( data[ 4 ] ), | ||
parseFloat( data[ 5 ] ), | ||
parseFloat( data[ 6 ] ) | ||
); | ||
} | ||
break; | ||
@@ -442,2 +500,3 @@ case 'vn': | ||
break; | ||
} | ||
@@ -506,2 +565,9 @@ | ||
} else if ( lineFirstChar === 'p' ) { | ||
var lineData = line.substr( 1 ).trim(); | ||
var pointData = lineData.split( " " ); | ||
state.addPointGeometry( pointData ); | ||
} else if ( ( result = object_pattern.exec( line ) ) !== null ) { | ||
@@ -574,3 +640,3 @@ | ||
throw new Error( "Unexpected line: '" + line + "'" ); | ||
throw new Error( 'THREE.OBJLoader: Unexpected line: "' + line + '"' ); | ||
@@ -592,2 +658,4 @@ } | ||
var isLine = ( geometry.type === 'Line' ); | ||
var isPoints = ( geometry.type === 'Points' ); | ||
var hasVertexColors = false; | ||
@@ -599,7 +667,7 @@ // Skip o/g line declarations that did not follow with any faces | ||
buffergeometry.addAttribute( 'position', new THREE.BufferAttribute( new Float32Array( geometry.vertices ), 3 ) ); | ||
buffergeometry.addAttribute( 'position', new THREE.Float32BufferAttribute( geometry.vertices, 3 ) ); | ||
if ( geometry.normals.length > 0 ) { | ||
buffergeometry.addAttribute( 'normal', new THREE.BufferAttribute( new Float32Array( geometry.normals ), 3 ) ); | ||
buffergeometry.addAttribute( 'normal', new THREE.Float32BufferAttribute( geometry.normals, 3 ) ); | ||
@@ -612,5 +680,12 @@ } else { | ||
if ( geometry.colors.length > 0 ) { | ||
hasVertexColors = true; | ||
buffergeometry.addAttribute( 'color', new THREE.Float32BufferAttribute( geometry.colors, 3 ) ); | ||
} | ||
if ( geometry.uvs.length > 0 ) { | ||
buffergeometry.addAttribute( 'uv', new THREE.BufferAttribute( new Float32Array( geometry.uvs ), 2 ) ); | ||
buffergeometry.addAttribute( 'uv', new THREE.Float32BufferAttribute( geometry.uvs, 2 ) ); | ||
@@ -623,3 +698,3 @@ } | ||
for ( var mi = 0, miLen = materials.length; mi < miLen ; mi++ ) { | ||
for ( var mi = 0, miLen = materials.length; mi < miLen; mi ++ ) { | ||
@@ -638,4 +713,11 @@ var sourceMaterial = materials[ mi ]; | ||
materialLine.copy( material ); | ||
materialLine.lights = false; // TOFIX | ||
material = materialLine; | ||
} else if ( isPoints && material && ! ( material instanceof THREE.PointsMaterial ) ) { | ||
var materialPoints = new THREE.PointsMaterial( { size: 10, sizeAttenuation: false } ); | ||
materialLine.copy( material ); | ||
material = materialPoints; | ||
} | ||
@@ -647,3 +729,16 @@ | ||
material = ( ! isLine ? new THREE.MeshPhongMaterial() : new THREE.LineBasicMaterial() ); | ||
if ( isLine ) { | ||
material = new THREE.LineBasicMaterial(); | ||
} else if ( isPoints ) { | ||
material = new THREE.PointsMaterial( { size: 1, sizeAttenuation: false } ); | ||
} else { | ||
material = new THREE.MeshPhongMaterial(); | ||
} | ||
material.name = sourceMaterial.name; | ||
@@ -654,4 +749,5 @@ | ||
material.flatShading = sourceMaterial.smooth ? false : true; | ||
material.vertexColors = hasVertexColors ? THREE.VertexColors : THREE.NoColors; | ||
createdMaterials.push(material); | ||
createdMaterials.push( material ); | ||
@@ -666,3 +762,3 @@ } | ||
for ( var mi = 0, miLen = materials.length; mi < miLen ; mi++ ) { | ||
for ( var mi = 0, miLen = materials.length; mi < miLen; mi ++ ) { | ||
@@ -674,7 +770,32 @@ var sourceMaterial = materials[ mi ]; | ||
mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, createdMaterials ) : new THREE.LineSegments( buffergeometry, createdMaterials ) ); | ||
if ( isLine ) { | ||
mesh = new THREE.LineSegments( buffergeometry, createdMaterials ); | ||
} else if ( isPoints ) { | ||
mesh = new THREE.Points( buffergeometry, createdMaterials ); | ||
} else { | ||
mesh = new THREE.Mesh( buffergeometry, createdMaterials ); | ||
} | ||
} else { | ||
mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, createdMaterials[ 0 ] ) : new THREE.LineSegments( buffergeometry, createdMaterials[ 0 ] ) ); | ||
if ( isLine ) { | ||
mesh = new THREE.LineSegments( buffergeometry, createdMaterials[ 0 ] ); | ||
} else if ( isPoints ) { | ||
mesh = new THREE.Points( buffergeometry, createdMaterials[ 0 ] ); | ||
} else { | ||
mesh = new THREE.Mesh( buffergeometry, createdMaterials[ 0 ] ); | ||
} | ||
} | ||
@@ -681,0 +802,0 @@ |
@@ -64,24 +64,2 @@ /** | ||
function bin2str( buf ) { | ||
var array_buffer = new Uint8Array( buf ); | ||
if ( window.TextDecoder !== undefined ) { | ||
return new TextDecoder().decode( array_buffer ); | ||
} | ||
var str = ''; | ||
for ( var i = 0, il = buf.byteLength; i < il; i ++ ) { | ||
str += String.fromCharCode( array_buffer[ i ] ); // implicitly assumes little-endian | ||
} | ||
return str; | ||
} | ||
function parseHeader( data ) { | ||
@@ -96,3 +74,3 @@ | ||
headerText = result [ 1 ]; | ||
headerText = result[ 1 ]; | ||
headerLength = result[ 0 ].length; | ||
@@ -208,10 +186,10 @@ | ||
case 'char': case 'uchar': case 'short': case 'ushort': case 'int': case 'uint': | ||
case 'int8': case 'uint8': case 'int16': case 'uint16': case 'int32': case 'uint32': | ||
case 'char': case 'uchar': case 'short': case 'ushort': case 'int': case 'uint': | ||
case 'int8': case 'uint8': case 'int16': case 'uint16': case 'int32': case 'uint32': | ||
return parseInt( n ); | ||
return parseInt( n ); | ||
case 'float': case 'double': case 'float32': case 'float64': | ||
case 'float': case 'double': case 'float32': case 'float64': | ||
return parseFloat( n ); | ||
return parseFloat( n ); | ||
@@ -260,7 +238,7 @@ } | ||
var buffer = { | ||
indices : [], | ||
vertices : [], | ||
normals : [], | ||
uvs : [], | ||
colors : [] | ||
indices: [], | ||
vertices: [], | ||
normals: [], | ||
uvs: [], | ||
colors: [] | ||
}; | ||
@@ -274,3 +252,3 @@ | ||
body = result [ 1 ]; | ||
body = result[ 1 ]; | ||
@@ -455,7 +433,7 @@ } | ||
var buffer = { | ||
indices : [], | ||
vertices : [], | ||
normals : [], | ||
uvs : [], | ||
colors : [] | ||
indices: [], | ||
vertices: [], | ||
normals: [], | ||
uvs: [], | ||
colors: [] | ||
}; | ||
@@ -492,3 +470,3 @@ | ||
var text = bin2str( data ); | ||
var text = THREE.LoaderUtils.decodeText( new Uint8Array( data ) ); | ||
var header = parseHeader( text ); | ||
@@ -495,0 +473,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":640,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":false,"theme":"uv-en-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":true,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":true,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Lleihau'r Cynnwys","collapseFull":"Lleihau'r Galeri","date":"Dyddiad","expand":"Ehangu'r Cynnwys","expandFull":"Ehangu'r Galeri","index":"Mynegai","searchResult":"{0} canlyniad chwilio","searchResults":"{0} canlyniad chwilio","sortBy":"Trefnu yn ôl:","thumbnails":"Bodluniau","title":"Cynnwys","volume":"cyfrol"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Cau"}},"footerPanel":{"options":{"bookmarkEnabled":false,"downloadEnabled":true,"embedEnabled":false,"feedbackEnabled":false,"fullscreenEnabled":true,"minimiseButtons":true,"moreInfoEnabled":true,"openEnabled":false,"printEnabled":false,"shareEnabled":true},"content":{"bookmark":"Ychwanegu at nodau tudalen","download":"Lawrlwytho","embed":"Ymgorffori","exitFullScreen":"Dianc o'r sgrin lawn","feedback":"Adborth","fullScreen":"Sgrin lawn","moreInfo":"Mwy o Wybodaeth","open":"Agor","share":"Rhannu"}},"genericDialogue":{"content":{"emptyValue":"rhowch rif","invalidNumber":"Rhowch rif dilys","noMatches":"Dim canlyniad sy'n cyfateb.","ok":"GWELD","pageNotFound":"Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.","refresh":"Ailosod"}},"headerPanel":{"options":{"localeToggleEnabled":false,"settingsButtonEnabled":true},"content":{"settings":"Dewisiadau"}},"helpDialogue":{"content":{"text":"testun i'w osod","title":"Cymorth"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Priodoledd","collapse":"Lleihau'r Wybodaeth","collapseFull":"Cuddio'r Galeri","description":"Disgrifiad","expand":"Ehangu'r Wybodaeth","expandFull":"Ehangu'r Galeri","holdingText":"Eich modiwl fan hyn!","less":"llai","license":"Trwydded","logo":"Logo","more":"mwy","noData":"Nid oes data i'w arddangos","page":"Tudalen","title":"Mwy o Wybodaeth","manifestHeader":"Am yr eitem","canvasHeader":"Am y ddelwedd","copyToClipboard":"Copïo i'r clipfwrdd","copiedToClipboard":"Copïwyd i'r clipfwrdd"}},"avCenterPanel":{"options":{"autoPlay":false},"content":{"currentTime":"Amser Presennol","delimiter":" - ","duration":"Hyd","mute":"Mudo","next":"Nesaf","pause":"Seibiant","play":"Chwarae","previous":"Blaenorol"}},"settingsDialogue":{"content":{"locale":"Iaith","navigatorEnabled":"Ffenest llywio ar gael","clickToZoomEnabled":"Cliciwch gyda'r llygoden i glosio","pagingEnabled":"Arddangos dwy dudalen","preserveViewport":"Cadw'r lefel o glosio","title":"Dewisiadau","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>mwy o wybodaeth</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"customSize":"dewisol","embed":"Ymgorffori","embedInstructions":"Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.","height":"Hyd","iiif":"Maniffest IIIF","share":"Rhannu","shareInstructions":"Er mwyn rhannu'r eitem hon, copïwch y URL isod.","size":"Maint:","width":"Lled"}},"clickThroughDialogue":{"content":{"viewTerms":"Darllenwch y Telerau a'r Amodau Llawn"}},"downloadDialogue":{"content":{"currentViewAsJpg":"Delwedd ddethol {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Agor mewn dwy ffenest newydd.","download":"Lawrlwytho","downloadSelection":"Lawrlwytho'r detholiad","downloadSelectionExplanation":"Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.","editSettings":"Golygu'r dewisiadau","entireDocument":"Y Ddogfen Gyfan ({0})","entireFileAsOriginal":"Y ffeil gyfan","noneAvailable":"Nid oes unrhyw opsiynau lawrlwytho ar gael.","pagingNote":"Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.","preview":"Rhagolwg","title":"Lawrlwytho","wholeImageHighRes":"Delwedd gyfan {0} x {1}px ({2})","wholeImageHighResExplanation":"Agor mewn ffenest newydd","wholeImagesHighRes":"Delweddau cyfan ({0})","wholeImagesHighResExplanation":"Agor mewn dwy ffenest newydd.","wholeImageLowResAsJpg":"Delwedd gyfan {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Agor mewn ffenest newydd"}},"loginDialogue":{"content":{"login":"Mewngofnodi","logout":"Allgofnodi","cancel":"Canslo"}},"mobileFooterPanel":{"content":{"rotateRight":"Cylchdroi i'r dde","moreInfo":"Mwy o Wybodaeth","zoomIn":"Closio","zoomOut":"Gwrthglosio"}},"restrictedDialogue":{"content":{"cancel":"Canslo"}}},"localisation":{"label":"Cymraeg","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.","authorisationFailedMessage":"Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.","canvasIndexOutOfRange":"Canfas yn rhy fawr i'w arddangos (ceisiwch eto)","forbiddenResourceMessage":"Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon","termsOfUse":"Telerau Defnydd"}} | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":415,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":false,"theme":"uv-en-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":true,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":true,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Lleihau'r Cynnwys","collapseFull":"Lleihau'r Galeri","date":"Dyddiad","expand":"Ehangu'r Cynnwys","expandFull":"Ehangu'r Galeri","index":"Mynegai","searchResult":"{0} canlyniad chwilio","searchResults":"{0} canlyniad chwilio","sortBy":"Trefnu yn ôl:","thumbnails":"Bodluniau","title":"Cynnwys","volume":"cyfrol"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Cau"}},"footerPanel":{"options":{"bookmarkEnabled":false,"downloadEnabled":true,"embedEnabled":false,"feedbackEnabled":false,"fullscreenEnabled":true,"minimiseButtons":true,"moreInfoEnabled":true,"openEnabled":false,"printEnabled":false,"shareEnabled":true},"content":{"bookmark":"Ychwanegu at nodau tudalen","download":"Lawrlwytho","embed":"Ymgorffori","exitFullScreen":"Dianc o'r sgrin lawn","feedback":"Adborth","fullScreen":"Sgrin lawn","moreInfo":"Mwy o Wybodaeth","open":"Agor","share":"Rhannu"}},"genericDialogue":{"content":{"emptyValue":"rhowch rif","invalidNumber":"Rhowch rif dilys","noMatches":"Dim canlyniad sy'n cyfateb.","ok":"GWELD","pageNotFound":"Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.","refresh":"Ailosod"}},"headerPanel":{"options":{"localeToggleEnabled":false,"settingsButtonEnabled":true},"content":{"settings":"Dewisiadau"}},"helpDialogue":{"content":{"text":"testun i'w osod","title":"Cymorth"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Priodoledd","collapse":"Lleihau'r Wybodaeth","collapseFull":"Cuddio'r Galeri","description":"Disgrifiad","expand":"Ehangu'r Wybodaeth","expandFull":"Ehangu'r Galeri","holdingText":"Eich modiwl fan hyn!","less":"llai","license":"Trwydded","logo":"Logo","more":"mwy","noData":"Nid oes data i'w arddangos","page":"Tudalen","title":"Mwy o Wybodaeth","manifestHeader":"Am yr eitem","canvasHeader":"Am y ddelwedd","copyToClipboard":"Copïo i'r clipfwrdd","copiedToClipboard":"Copïwyd i'r clipfwrdd"}},"avCenterPanel":{"options":{"autoPlay":false},"content":{"currentTime":"Amser Presennol","delimiter":" - ","duration":"Hyd","mute":"Mudo","next":"Nesaf","pause":"Seibiant","play":"Chwarae","previous":"Blaenorol"}},"settingsDialogue":{"content":{"locale":"Iaith","navigatorEnabled":"Ffenest llywio ar gael","clickToZoomEnabled":"Cliciwch gyda'r llygoden i glosio","pagingEnabled":"Arddangos dwy dudalen","preserveViewport":"Cadw'r lefel o glosio","title":"Dewisiadau","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>mwy o wybodaeth</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"customSize":"dewisol","embed":"Ymgorffori","embedInstructions":"Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.","height":"Hyd","iiif":"Maniffest IIIF","share":"Rhannu","shareInstructions":"Er mwyn rhannu'r eitem hon, copïwch y URL isod.","size":"Maint:","width":"Lled"}},"clickThroughDialogue":{"content":{"viewTerms":"Darllenwch y Telerau a'r Amodau Llawn"}},"downloadDialogue":{"content":{"currentViewAsJpg":"Delwedd ddethol {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Agor mewn dwy ffenest newydd.","download":"Lawrlwytho","downloadSelection":"Lawrlwytho'r detholiad","downloadSelectionExplanation":"Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.","editSettings":"Golygu'r dewisiadau","entireDocument":"Y Ddogfen Gyfan ({0})","entireFileAsOriginal":"Y ffeil gyfan","noneAvailable":"Nid oes unrhyw opsiynau lawrlwytho ar gael.","pagingNote":"Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.","preview":"Rhagolwg","title":"Lawrlwytho","wholeImageHighRes":"Delwedd gyfan {0} x {1}px ({2})","wholeImageHighResExplanation":"Agor mewn ffenest newydd","wholeImagesHighRes":"Delweddau cyfan ({0})","wholeImagesHighResExplanation":"Agor mewn dwy ffenest newydd.","wholeImageLowResAsJpg":"Delwedd gyfan {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Agor mewn ffenest newydd"}},"loginDialogue":{"content":{"login":"Mewngofnodi","logout":"Allgofnodi","cancel":"Canslo"}},"mobileFooterPanel":{"content":{"rotateRight":"Cylchdroi i'r dde","moreInfo":"Mwy o Wybodaeth","zoomIn":"Closio","zoomOut":"Gwrthglosio"}},"restrictedDialogue":{"content":{"cancel":"Canslo"}}},"localisation":{"label":"Cymraeg","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.","authorisationFailedMessage":"Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.","canvasIndexOutOfRange":"Canfas yn rhy fawr i'w arddangos (ceisiwch eto)","forbiddenResourceMessage":"Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon","termsOfUse":"Telerau Defnydd"}} |
@@ -1,1 +0,1 @@ | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":640,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":false,"theme":"uv-en-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":true,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":true,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Collapse Contents","collapseFull":"Collapse Gallery","date":"date","expand":"Expand Contents","expandFull":"Expand Gallery","index":"Index","manifestRanges":"Manifest Ranges","searchResult":"{0} search result","searchResults":"{0} search results","sortBy":"Sort By:","thumbnails":"Thumbnails","title":"Contents","volume":"volume"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Close"}},"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":"Exit Full Screen","feedback":"Feedback","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open","share":"Share"}},"genericDialogue":{"content":{"emptyValue":"please enter a value.","invalidNumber":"Please enter a valid number.","noMatches":"No matches were found.","ok":"OK","pageNotFound":"This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.","refresh":"Refresh"}},"headerPanel":{"options":{"localeToggleEnabled":false,"settingsButtonEnabled":true},"content":{"settings":"Settings"}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"avCenterPanel":{"options":{"autoPlay":false},"content":{"currentTime":"Current Time","delimiter":" - ","duration":"Duration","mute":"Mute","next":"Next","pause":"Pause","play":"Play","previous":"Previous"}},"settingsDialogue":{"content":{"locale":"Locale","navigatorEnabled":"Navigator Enabled","clickToZoomEnabled":"Mouse Click To Zoom","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>more info</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"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.","size":"Size:","width":"Width"}},"authDialogue":{"content":{"cancel":"Cancel","confirm":"Confirm"}},"clickThroughDialogue":{"content":{"viewTerms":"Read Full Terms and Conditions"}},"downloadDialogue":{"content":{"currentViewAsJpg":"Current view {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Opens in a new window","download":"Download","downloadSelection":"Download Selection","downloadSelectionExplanation":"Opens a dialogue to select which pages to download.","editSettings":"Edit Settings","entireDocument":"Entire document ({0})","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","pagingNote":"Please turn off Two Page View for additional options.","preview":"Preview","title":"Download","wholeImageHighRes":"Whole image {0} x {1}px ({2})","wholeImageHighResExplanation":"Opens in a new window.","wholeImagesHighRes":"Whole images ({0})","wholeImagesHighResExplanation":"Opens in two new windows.","wholeImageLowResAsJpg":"Whole image {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Opens in a new window."}},"loginDialogue":{"content":{"login":"Login","logout":"Logout","cancel":"Cancel"}},"restrictedDialogue":{"content":{"cancel":"Cancel"}}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","canvasIndexOutOfRange":"Canvas index out of range.","forbiddenResourceMessage":"Your current access rights are insufficient to view this image","termsOfUse":"Terms of Use"}} | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":415,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":false,"theme":"uv-en-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":true,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":true,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Collapse Contents","collapseFull":"Collapse Gallery","date":"date","expand":"Expand Contents","expandFull":"Expand Gallery","index":"Index","manifestRanges":"Manifest Ranges","searchResult":"{0} search result","searchResults":"{0} search results","sortBy":"Sort By:","thumbnails":"Thumbnails","title":"Contents","volume":"volume"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Close"}},"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":"Exit Full Screen","feedback":"Feedback","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open","share":"Share"}},"genericDialogue":{"content":{"emptyValue":"please enter a value.","invalidNumber":"Please enter a valid number.","noMatches":"No matches were found.","ok":"OK","pageNotFound":"This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.","refresh":"Refresh"}},"headerPanel":{"options":{"localeToggleEnabled":false,"settingsButtonEnabled":true},"content":{"settings":"Settings"}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"avCenterPanel":{"options":{"autoPlay":false},"content":{"currentTime":"Current Time","delimiter":" - ","duration":"Duration","mute":"Mute","next":"Next","pause":"Pause","play":"Play","previous":"Previous"}},"settingsDialogue":{"content":{"locale":"Locale","navigatorEnabled":"Navigator Enabled","clickToZoomEnabled":"Mouse Click To Zoom","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>more info</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"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.","size":"Size:","width":"Width"}},"authDialogue":{"content":{"cancel":"Cancel","confirm":"Confirm"}},"clickThroughDialogue":{"content":{"viewTerms":"Read Full Terms and Conditions"}},"downloadDialogue":{"content":{"currentViewAsJpg":"Current view {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Opens in a new window","download":"Download","downloadSelection":"Download Selection","downloadSelectionExplanation":"Opens a dialogue to select which pages to download.","editSettings":"Edit Settings","entireDocument":"Entire document ({0})","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","pagingNote":"Please turn off Two Page View for additional options.","preview":"Preview","title":"Download","wholeImageHighRes":"Whole image {0} x {1}px ({2})","wholeImageHighResExplanation":"Opens in a new window.","wholeImagesHighRes":"Whole images ({0})","wholeImagesHighResExplanation":"Opens in two new windows.","wholeImageLowResAsJpg":"Whole image {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Opens in a new window."}},"loginDialogue":{"content":{"login":"Login","logout":"Logout","cancel":"Cancel"}},"restrictedDialogue":{"content":{"cancel":"Cancel"}}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","canvasIndexOutOfRange":"Canvas index out of range.","forbiddenResourceMessage":"Your current access rights are insufficient to view this image","termsOfUse":"Terms of Use"}} |
@@ -1,1 +0,1 @@ | ||
{"options":{"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"openTemplate":"http://universalviewer.io?manifest={0}","pessimisticAccessControl":false,"rightPanelEnabled":true,"theme":"uv-en-GB-theme"},"modules":{"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>"},"content":{"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.","size":"Size:","width":"Width"}},"footerPanel":{"options":{"bookmarkEnabled":false,"embedEnabled":false,"feedbackEnabled":false,"minimiseButtons":true,"openEnabled":false,"shareEnabled":true},"content":{"bookmark":"Add to bookmarks","download":"Download","embed":"Share","exitFullScreen":"Exit Full Screen","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open"}},"genericDialogue":{"content":{"ok":"OK"}},"headerPanel":{"content":{"close":"Close","help":"Help"}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"mediaelementCenterPanel":{"defaultHeight":420,"defaultWidth":560,"content":{}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"resourcesLeftPanel":{"options":{"expandFullEnabled":false,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true},"content":{"title":"Contents"}},"dialogue":{"content":{"close":"Close"}},"downloadDialogue":{"content":{"download":"Download","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","preview":"Preview","title":"Download"}},"loginDialogue":{"content":{"login":"Login","cancel":"Cancel"}},"settingsDialogue":{"content":{"locale":"Locale","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer'>more info</a>"}}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","degradedResourceMessage":"Please log in to view at full quality.","degradedResourceLogin":"log in","forbiddenResourceMessage":"Your current access rights are insufficient to view this image"}} | ||
{"options":{"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"openTemplate":"http://universalviewer.io?manifest={0}","pessimisticAccessControl":false,"rightPanelEnabled":true,"theme":"uv-en-GB-theme"},"modules":{"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>"},"content":{"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.","size":"Size:","width":"Width"}},"footerPanel":{"options":{"bookmarkEnabled":false,"embedEnabled":false,"feedbackEnabled":false,"minimiseButtons":true,"openEnabled":false,"shareEnabled":true},"content":{"bookmark":"Add to bookmarks","download":"Download","embed":"Share","exitFullScreen":"Exit Full Screen","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open","share":"Share"}},"genericDialogue":{"content":{"ok":"OK"}},"headerPanel":{"content":{"close":"Close","help":"Help"}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"mediaelementCenterPanel":{"defaultHeight":420,"defaultWidth":560,"content":{}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"resourcesLeftPanel":{"options":{"expandFullEnabled":false,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true},"content":{"title":"Contents"}},"dialogue":{"content":{"close":"Close"}},"downloadDialogue":{"content":{"download":"Download","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","preview":"Preview","title":"Download"}},"loginDialogue":{"content":{"login":"Login","cancel":"Cancel"}},"settingsDialogue":{"content":{"locale":"Locale","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer'>more info</a>"}}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","degradedResourceMessage":"Please log in to view at full quality.","degradedResourceLogin":"log in","forbiddenResourceMessage":"Your current access rights are insufficient to view this image"}} |
define(function() { | ||
return { | ||
sync: ['pdfobject'], | ||
async: ['iiif-metadata-component'] | ||
async: ['!pdfjs-dist/build/pdf.combined', 'iiif-metadata-component'] | ||
}; | ||
}); |
@@ -1,1 +0,1 @@ | ||
{"options":{"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"limitLocales":false,"openTemplate":"http://universalviewer.io?manifest={0}","pessimisticAccessControl":false,"rightPanelEnabled":true,"theme":"uv-en-GB-theme"},"modules":{"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>"},"content":{"customSize":"arfer","embed":"gwreiddio","embedInstructions":"Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop�wch a gosodwch y cod isod.","height":"Hyd","iiif":"IIIF Manifest","share":"Rhannu","shareInstructions":"I rannu yr eitem hon, copïwch y URL isod.","size":"maint:","width":"Lled"}},"footerPanel":{"options":{"bookmarkEnabled":false,"embedEnabled":false,"feedbackEnabled":false,"minimiseButtons":true,"openEnabled":false,"shareEnabled":true},"content":{"bookmark":"Ychwanegu at nodau tudalen","download":"Lawrlwytho","embed":"Ymgorffori","exitFullScreen":"Dianc o'r sgrin lawn","fullScreen":"Sgrin lawn","moreInfo":"Mwy o Wybodaeth","open":"agored"}},"genericDialogue":{"content":{"ok":"GWELD"}},"headerPanel":{},"helpDialogue":{"content":{"text":"testun i'w osod","title":"Cymorth"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Priodoledd","collapse":"Lleihau'r Wybodaeth","collapseFull":"Cuddio'r Galeri","description":"Disgrifiad","expand":"Ehangu'r Wybodaeth","expandFull":"Ehangu'r Galeri","holdingText":"Eich modiwl fan hyn!","less":"llai","license":"Trwydded","logo":"Logo","more":"mwy","noData":"Nid oes data i'w arddangos","page":"tudalen","title":"Mwy o Wybodaeth","manifestHeader":"Am yr eitem","canvasHeader":"Am y ddelwedd","copyToClipboard":"Copïo i'r clipfwrdd","copiedToClipboard":"Copïwyd i'r clipfwrdd"}},"pdfCenterPanel":{"options":{"titleEnabled":false}},"resourcesLeftPanel":{"options":{"elideCount":40,"galleryThumbHeight":320,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90}},"dialogue":{"content":{"close":"Cau"}},"downloadDialogue":{"content":{"download":"Lawrlwytho","entireFileAsOriginal":"Y ffeil gyfan","noneAvailable":"Nid oes unrhyw opsiynau lawrlwytho ar gael.","preview":"Rhagolwg","title":"Lawrlwytho"}},"loginDialogue":{"content":{"login":"Mewngofnodi","cancel":"Diddymu"}},"settingsDialogue":{"content":{"locale":"Iaith","pagingEnabled":"Arddangos dwy dudalen","preserveViewport":"Cadw'r lefel o glosio","title":"Dewisiadau","website":"<a href='https://github.com/universalviewer/universalviewer'>mwy o wybodaeth</a>"}},"contentLeftPanel":{"content":{"collapse":"Cuddio'r Cynnwys","collapseFull":"Cuddio'r Galeri","expand":"Ehangu'r Cynnwys","expandFull":"Ehangu'r Galeri","index":"Mynegai","thumbnails":"Bodluniau","title":"Cynnwys"}}},"localisation":{"label":"Cymraeg","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Eich porwr yn peidio cefnogi CORS, os gwelwch yn dda uwchraddio i weld y cynnwys hwn.","authorisationFailedMessage":"Nid oedd yn ymddangos eich ymgais mewngofnodi i fod yn llwyddiannus . Trio eto os gwelwch yn dda.","degradedResourceMessage":"Os gwelwch yn dda mewngofnodwch i weld yn ansawdd llawn.","degradedResourceLogin":"Mewngofnodi","forbiddenResourceMessage":"Eich hawliau mynediad presennol yn annigonol i weld llun hwn"}} | ||
{"options":{"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"limitLocales":false,"openTemplate":"http://universalviewer.io?manifest={0}","pessimisticAccessControl":false,"rightPanelEnabled":true,"theme":"uv-en-GB-theme"},"modules":{"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>"},"content":{"customSize":"arfer","embed":"gwreiddio","embedInstructions":"Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop�wch a gosodwch y cod isod.","height":"Hyd","iiif":"IIIF Manifest","share":"Rhannu","shareInstructions":"I rannu yr eitem hon, copïwch y URL isod.","size":"maint:","width":"Lled"}},"footerPanel":{"options":{"bookmarkEnabled":false,"embedEnabled":false,"feedbackEnabled":false,"minimiseButtons":true,"openEnabled":false,"shareEnabled":true},"content":{"bookmark":"Ychwanegu at nodau tudalen","download":"Lawrlwytho","embed":"Ymgorffori","exitFullScreen":"Dianc o'r sgrin lawn","feedback":"Adborth","fullScreen":"Sgrin lawn","moreInfo":"Mwy o Wybodaeth","open":"Agor","share":"Rhannu"}},"genericDialogue":{"content":{"ok":"GWELD"}},"headerPanel":{},"helpDialogue":{"content":{"text":"testun i'w osod","title":"Cymorth"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Priodoledd","collapse":"Lleihau'r Wybodaeth","collapseFull":"Cuddio'r Galeri","description":"Disgrifiad","expand":"Ehangu'r Wybodaeth","expandFull":"Ehangu'r Galeri","holdingText":"Eich modiwl fan hyn!","less":"llai","license":"Trwydded","logo":"Logo","more":"mwy","noData":"Nid oes data i'w arddangos","page":"tudalen","title":"Mwy o Wybodaeth","manifestHeader":"Am yr eitem","canvasHeader":"Am y ddelwedd","copyToClipboard":"Copïo i'r clipfwrdd","copiedToClipboard":"Copïwyd i'r clipfwrdd"}},"pdfCenterPanel":{"options":{"titleEnabled":false}},"resourcesLeftPanel":{"options":{"elideCount":40,"galleryThumbHeight":320,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90}},"dialogue":{"content":{"close":"Cau"}},"downloadDialogue":{"content":{"download":"Lawrlwytho","entireFileAsOriginal":"Y ffeil gyfan","noneAvailable":"Nid oes unrhyw opsiynau lawrlwytho ar gael.","preview":"Rhagolwg","title":"Lawrlwytho"}},"loginDialogue":{"content":{"login":"Mewngofnodi","cancel":"Diddymu"}},"settingsDialogue":{"content":{"locale":"Iaith","pagingEnabled":"Arddangos dwy dudalen","preserveViewport":"Cadw'r lefel o glosio","title":"Dewisiadau","website":"<a href='https://github.com/universalviewer/universalviewer'>mwy o wybodaeth</a>"}},"contentLeftPanel":{"content":{"collapse":"Cuddio'r Cynnwys","collapseFull":"Cuddio'r Galeri","expand":"Ehangu'r Cynnwys","expandFull":"Ehangu'r Galeri","index":"Mynegai","thumbnails":"Bodluniau","title":"Cynnwys"}}},"localisation":{"label":"Cymraeg","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Eich porwr yn peidio cefnogi CORS, os gwelwch yn dda uwchraddio i weld y cynnwys hwn.","authorisationFailedMessage":"Nid oedd yn ymddangos eich ymgais mewngofnodi i fod yn llwyddiannus . Trio eto os gwelwch yn dda.","degradedResourceMessage":"Os gwelwch yn dda mewngofnodwch i weld yn ansawdd llawn.","degradedResourceLogin":"Mewngofnodi","forbiddenResourceMessage":"Eich hawliau mynediad presennol yn annigonol i weld llun hwn"}} |
@@ -1,1 +0,1 @@ | ||
{"options":{"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"limitLocales":false,"openTemplate":"http://universalviewer.io?manifest={0}","pessimisticAccessControl":false,"rightPanelEnabled":true,"theme":"uv-en-GB-theme"},"modules":{"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>"},"content":{"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.","size":"Size:","width":"Width"}},"footerPanel":{"options":{"bookmarkEnabled":false,"embedEnabled":false,"feedbackEnabled":false,"minimiseButtons":true,"openEnabled":false,"shareEnabled":true},"content":{"bookmark":"Add to bookmarks","download":"Download","embed":"Share","exitFullScreen":"Exit Full Screen","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open"}},"genericDialogue":{"content":{"ok":"OK"}},"headerPanel":{"content":{"close":"Close","help":"Help"}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"pdfCenterPanel":{"options":{"titleEnabled":false},"content":{}},"resourcesLeftPanel":{"options":{"elideCount":40,"galleryThumbHeight":320,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90}},"dialogue":{"content":{"close":"Close"}},"downloadDialogue":{"content":{"download":"Download","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","preview":"Preview","title":"Download"}},"loginDialogue":{"content":{"login":"Login","cancel":"Cancel"}},"settingsDialogue":{"content":{"locale":"Locale","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer'>more info</a>"}},"contentLeftPanel":{}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","degradedResourceMessage":"Please log in to view at full quality.","degradedResourceLogin":"log in","forbiddenResourceMessage":"Your current access rights are insufficient to view this image"}} | ||
{"options":{"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"limitLocales":false,"openTemplate":"http://universalviewer.io?manifest={0}","pessimisticAccessControl":false,"rightPanelEnabled":true,"theme":"uv-en-GB-theme"},"modules":{"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>"},"content":{"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.","size":"Size:","width":"Width"}},"footerPanel":{"options":{"bookmarkEnabled":false,"embedEnabled":false,"feedbackEnabled":false,"minimiseButtons":true,"openEnabled":false,"shareEnabled":true},"content":{"bookmark":"Add to bookmarks","download":"Download","embed":"Embed","exitFullScreen":"Exit Full Screen","feedback":"Feedback","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open","share":"Share"}},"genericDialogue":{"content":{"ok":"OK"}},"headerPanel":{"content":{"close":"Close","help":"Help"}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"pdfCenterPanel":{"options":{"titleEnabled":false},"content":{}},"resourcesLeftPanel":{"options":{"elideCount":40,"galleryThumbHeight":320,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90}},"dialogue":{"content":{"close":"Close"}},"downloadDialogue":{"content":{"download":"Download","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","preview":"Preview","title":"Download"}},"pdfHeaderPanel":{"content":{"emptyValue":"Please enter a value","first":"First","go":"Go","last":"Last","next":"Next","of":"of {0}","previous":"Previous"}},"loginDialogue":{"content":{"login":"Login","cancel":"Cancel"}},"settingsDialogue":{"content":{"locale":"Locale","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer'>more info</a>"}},"contentLeftPanel":{}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","degradedResourceMessage":"Please log in to view at full quality.","degradedResourceLogin":"log in","forbiddenResourceMessage":"Your current access rights are insufficient to view this image"}} |
@@ -1,1 +0,1 @@ | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":640,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":true,"theme":"uv-cy-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":false,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":false,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Lleihau'r Cynnwys","collapseFull":"Lleihau'r Galeri","date":"Dyddiad","expand":"Ehangu'r Cynnwys","expandFull":"Ehangu'r Galeri","index":"Mynegai","searchResult":"{0} canlyniad chwilio","searchResults":"{0} canlyniad chwilio","sortBy":"Trefnu yn ôl:","thumbnails":"Bodluniau","title":"Cynnwys","volume":"cyfrol"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Cau"}},"downloadDialogue":{"options":{"confinedImageSize":1000,"currentViewDisabledPercentage":90,"maxImageWidth":5000,"optionsExplanatoryTextEnabled":false,"selectionEnabled":false},"content":{"currentViewAsJpg":"Delwedd ddethol {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Agor mewn dwy ffenest newydd.","download":"Lawrlwytho","downloadSelection":"Lawrlwytho'r detholiad","downloadSelectionExplanation":"Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.","editSettings":"Golygu'r dewisiadau","entireDocument":"Y Ddogfen Gyfan ({0})","entireFileAsOriginal":"Y ffeil gyfan","noneAvailable":"Nid oes unrhyw opsiynau lawrlwytho ar gael.","pagingNote":"Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.","preview":"Rhagolwg","title":"Lawrlwytho","wholeImageHighRes":"Delwedd gyfan {0} x {1}px ({2})","wholeImageHighResExplanation":"Agor mewn ffenest newydd","wholeImagesHighRes":"Delweddau cyfan ({0})","wholeImagesHighResExplanation":"Agor mewn dwy ffenest newydd.","wholeImageLowResAsJpg":"Delwedd gyfan {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Agor mewn ffenest newydd"}},"footerPanel":{"options":{"bookmarkEnabled":false,"downloadEnabled":true,"embedEnabled":false,"feedbackEnabled":false,"fullscreenEnabled":true,"minimiseButtons":true,"moreInfoEnabled":true,"openEnabled":false,"printEnabled":false,"shareEnabled":true},"content":{"bookmark":"Ychwanegu at nodau tudalen","download":"Lawrlwytho","embed":"Ymgorffori","exitFullScreen":"Dianc o'r sgrin lawn","feedback":"Adborth","fullScreen":"Sgrin lawn","moreInfo":"Mwy o Wybodaeth","open":"Agor","share":"Rhannu"}},"genericDialogue":{"content":{"emptyValue":"rhowch rif","invalidNumber":"Rhowch rif dilys","noMatches":"Dim canlyniad sy'n cyfateb.","ok":"GWELD","pageNotFound":"Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.","refresh":"Ailosod"}},"headerPanel":{"options":{"centerOptionsEnabled":true,"localeToggleEnabled":false,"settingsButtonEnabled":true}},"helpDialogue":{"content":{"text":"testun i'w osod","title":"Cymorth"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Priodoledd","collapse":"Lleihau'r Wybodaeth","collapseFull":"Cuddio'r Galeri","description":"Disgrifiad","expand":"Ehangu'r Wybodaeth","expandFull":"Ehangu'r Galeri","holdingText":"Eich modiwl fan hyn!","less":"llai","license":"Trwydded","logo":"Logo","more":"mwy","noData":"Nid oes data i'w arddangos","page":"Tudalen","title":"Mwy o Wybodaeth","manifestHeader":"Am yr eitem","canvasHeader":"Am y ddelwedd","copyToClipboard":"Copïo i'r clipfwrdd","copiedToClipboard":"Copïwyd i'r clipfwrdd"}},"multiSelectDialogue":{"options":{"galleryThumbChunkedResizingEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"pageModeEnabled":true},"content":{"select":"Lawrlwytho","selectAll":"Dewis y cyfan","title":"Dewis Tudalennau i'w Lawrlwytho"}},"pagingHeaderPanel":{"options":{"autoCompleteBoxEnabled":true,"galleryButtonEnabled":true,"imageSelectionBoxEnabled":false,"pageModeEnabled":false,"pagingToggleEnabled":true},"content":{"close":"Cau","emptyValue":"Mewnosodwch werth","first":"gyntaf","firstImage":"Delwedd Gyntaf","firstPage":"Tudalen gyntaf","folio":"Ffolio","gallery":"Galeri","go":"GWELD","help":"Cymorth","image":"Delwedd","last":"Olaf","lastImage":"Delwedd Olaf","lastPage":"Tudalen Olaf","next":"Nesaf","nextImage":"Delwedd Nesaf","nextPage":"Tudalen Nesaf","of":"o {0}","oneUp":"Gweld un dudalen ar y tro","page":"Tudalen","previous":"Blaenorol","previousImage":"Delwedd Flaenorol","previousPage":"Tudalen Flaenorol","settings":"Dewisiadau","twoUp":"Gweld dwy dudalen ar y tro"}},"seadragonCenterPanel":{"options":{"animationTime":0.15,"autoHideControls":true,"attributionEnabled":true,"blendTime":0,"constrainDuringPan":false,"controlsFadeAfterInactive":1500,"controlsFadeDelay":250,"controlsFadeLength":250,"defaultZoomLevel":0,"immediateRender":false,"maxZoomPixelRatio":1.25,"navigatorPosition":"BOTTOM_RIGHT","pageGap":50,"showHomeControl":false,"trimAttributionCount":150,"visibilityRatio":0.5},"content":{"attribution":"Priodoliad","goHome":"Gweld y maint gwreiddiol","imageUnavailable":"Nid oes delwedd ar gael","next":"nesaf","previous":"blaenorol","rotateRight":"Cylchdroi i'r dde","zoomIn":"Closio","zoomOut":"Gwrthglosio"}},"searchFooterPanel":{"options":{"elideDetailsTermsCount":20,"elideResultsTermsCount":5,"pageModeEnabled":true,"positionMarkerEnabled":true},"content":{"clearSearch":"Gwaredu","defaultLabel":"-","displaying":"{0} {1} o {2}","enterKeyword":"Mewnosodwch allweddair","image":"delwedd","imageCaps":"delwedd","instanceFound":"Dangos 1 canlyniad ar gyfer '{0}' ","instancesFound":"Dangos {0} canlyniad o '{1}' ","nextResult":"Canlyniad nesaf","page":"tudalen","pageCaps":"tudalen","previousResult":"Canlyniad blaenorol","print":"Argraffu","resultFoundFor":"canlyniad a geir ar gyfer","resultsFoundFor":"canlyniad ar gyfer","searchWithin":"Chwilio tu fewn i:"}},"settingsDialogue":{"content":{"locale":"Iaith","navigatorEnabled":"Ffenest llywio ar gael","clickToZoomEnabled":"Cliciwch gyda'r llygoden i glosio","pagingEnabled":"Arddangos dwy dudalen","preserveViewport":"Cadw'r lefel o glosio","title":"Dewisiadau","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>mwy o wybodaeth</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"customSize":"dewisol","embed":"Ymgorffori","embedInstructions":"Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.","height":"Hyd","iiif":"Maniffest IIIF","share":"Rhannu","shareInstructions":"Er mwyn rhannu'r eitem hon, copïwch y URL isod.","size":"Maint:","width":"Lled"}},"clickThroughDialogue":{"content":{"viewTerms":"Darllenwch y Telerau a'r Amodau Llawn"}},"loginDialogue":{"content":{"login":"Mewngofnodi","logout":"Allgofnodi","cancel":"Canslo"}},"mobileFooterPanel":{"content":{"rotateRight":"Cylchdroi i'r dde","moreInfo":"Mwy o Wybodaeth","zoomIn":"Closio","zoomOut":"Gwrthglosio"}},"restrictedDialogue":{"content":{"cancel":"Canslo"}}},"localisation":{"label":"Cymraeg","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.","authorisationFailedMessage":"Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.","canvasIndexOutOfRange":"Canfas yn rhy fawr i'w arddangos (ceisiwch eto)","fallbackDegradedLabel":"Mewngofnodi","fallbackDegradedMessage":"Mewngofnodwch i weld y cynnwys hwn gyda phenderfyniad llawn.","forbiddenResourceMessage":"Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon","termsOfUse":"Telerau Defnydd"}} | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":415,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":true,"theme":"uv-cy-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true,"zoomToBoundsEnabled":false},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":false,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":false,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Lleihau'r Cynnwys","collapseFull":"Lleihau'r Galeri","date":"Dyddiad","expand":"Ehangu'r Cynnwys","expandFull":"Ehangu'r Galeri","index":"Mynegai","searchResult":"{0} canlyniad chwilio","searchResults":"{0} canlyniad chwilio","sortBy":"Trefnu yn ôl:","thumbnails":"Bodluniau","title":"Cynnwys","volume":"cyfrol"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Cau"}},"downloadDialogue":{"options":{"confinedImageSize":1000,"currentViewDisabledPercentage":90,"maxImageWidth":5000,"optionsExplanatoryTextEnabled":false,"selectionEnabled":false},"content":{"currentViewAsJpg":"Delwedd ddethol {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Agor mewn dwy ffenest newydd.","download":"Lawrlwytho","downloadSelection":"Lawrlwytho'r detholiad","downloadSelectionExplanation":"Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.","editSettings":"Golygu'r dewisiadau","entireDocument":"Y Ddogfen Gyfan ({0})","entireFileAsOriginal":"Y ffeil gyfan","noneAvailable":"Nid oes unrhyw opsiynau lawrlwytho ar gael.","pagingNote":"Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.","preview":"Rhagolwg","title":"Lawrlwytho","wholeImageHighRes":"Delwedd gyfan {0} x {1}px ({2})","wholeImageHighResExplanation":"Agor mewn ffenest newydd","wholeImagesHighRes":"Delweddau cyfan ({0})","wholeImagesHighResExplanation":"Agor mewn dwy ffenest newydd.","wholeImageLowResAsJpg":"Delwedd gyfan {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Agor mewn ffenest newydd"}},"footerPanel":{"options":{"autocompleteAllowWords":false,"bookmarkEnabled":false,"downloadEnabled":true,"embedEnabled":false,"feedbackEnabled":false,"fullscreenEnabled":true,"minimiseButtons":true,"moreInfoEnabled":true,"openEnabled":false,"printEnabled":false,"shareEnabled":true},"content":{"bookmark":"Ychwanegu at nodau tudalen","download":"Lawrlwytho","embed":"Ymgorffori","exitFullScreen":"Dianc o'r sgrin lawn","feedback":"Adborth","fullScreen":"Sgrin lawn","moreInfo":"Mwy o Wybodaeth","open":"Agor","share":"Rhannu"}},"genericDialogue":{"content":{"emptyValue":"rhowch rif","invalidNumber":"Rhowch rif dilys","noMatches":"Dim canlyniad sy'n cyfateb.","ok":"GWELD","pageNotFound":"Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.","refresh":"Ailosod"}},"headerPanel":{"options":{"centerOptionsEnabled":true,"localeToggleEnabled":false,"settingsButtonEnabled":true}},"helpDialogue":{"content":{"text":"testun i'w osod","title":"Cymorth"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Priodoledd","collapse":"Lleihau'r Wybodaeth","collapseFull":"Cuddio'r Galeri","description":"Disgrifiad","expand":"Ehangu'r Wybodaeth","expandFull":"Ehangu'r Galeri","holdingText":"Eich modiwl fan hyn!","less":"llai","license":"Trwydded","logo":"Logo","more":"mwy","noData":"Nid oes data i'w arddangos","page":"Tudalen","title":"Mwy o Wybodaeth","manifestHeader":"Am yr eitem","canvasHeader":"Am y ddelwedd","copyToClipboard":"Copïo i'r clipfwrdd","copiedToClipboard":"Copïwyd i'r clipfwrdd"}},"multiSelectDialogue":{"options":{"galleryThumbChunkedResizingEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"pageModeEnabled":true},"content":{"select":"Lawrlwytho","selectAll":"Dewis y cyfan","title":"Dewis Tudalennau i'w Lawrlwytho"}},"pagingHeaderPanel":{"options":{"autoCompleteBoxEnabled":true,"autocompleteAllowWords":false,"galleryButtonEnabled":true,"imageSelectionBoxEnabled":false,"pageModeEnabled":false,"pagingToggleEnabled":true},"content":{"close":"Cau","emptyValue":"Mewnosodwch werth","first":"gyntaf","firstImage":"Delwedd Gyntaf","firstPage":"Tudalen gyntaf","folio":"Ffolio","gallery":"Galeri","go":"GWELD","help":"Cymorth","image":"Delwedd","last":"Olaf","lastImage":"Delwedd Olaf","lastPage":"Tudalen Olaf","next":"Nesaf","nextImage":"Delwedd Nesaf","nextPage":"Tudalen Nesaf","of":"o {0}","oneUp":"Gweld un dudalen ar y tro","page":"Tudalen","previous":"Blaenorol","previousImage":"Delwedd Flaenorol","previousPage":"Tudalen Flaenorol","settings":"Dewisiadau","twoUp":"Gweld dwy dudalen ar y tro"}},"seadragonCenterPanel":{"options":{"animationTime":0.15,"autoHideControls":true,"attributionEnabled":true,"blendTime":0,"constrainDuringPan":false,"controlsFadeAfterInactive":1500,"controlsFadeDelay":250,"controlsFadeLength":250,"defaultZoomLevel":0,"immediateRender":false,"maxZoomPixelRatio":1.25,"navigatorPosition":"BOTTOM_RIGHT","pageGap":50,"showHomeControl":false,"trimAttributionCount":150,"visibilityRatio":0.5},"content":{"attribution":"Priodoliad","goHome":"Gweld y maint gwreiddiol","imageUnavailable":"Nid oes delwedd ar gael","next":"nesaf","previous":"blaenorol","rotateRight":"Cylchdroi i'r dde","zoomIn":"Closio","zoomOut":"Gwrthglosio"}},"searchFooterPanel":{"options":{"elideDetailsTermsCount":20,"elideResultsTermsCount":5,"forceImageMode":false,"pageModeEnabled":true,"positionMarkerEnabled":true},"content":{"clearSearch":"Gwaredu","defaultLabel":"-","displaying":"{0} {1} o {2}","enterKeyword":"Mewnosodwch allweddair","image":"delwedd","imageCaps":"delwedd","instanceFound":"Dangos 1 canlyniad ar gyfer '{0}' ","instancesFound":"Dangos {0} canlyniad o '{1}' ","nextResult":"Canlyniad nesaf","page":"tudalen","pageCaps":"tudalen","previousResult":"Canlyniad blaenorol","print":"Argraffu","resultFoundFor":"canlyniad a geir ar gyfer","resultsFoundFor":"canlyniad ar gyfer","searchWithin":"Chwilio tu fewn i:"}},"settingsDialogue":{"content":{"locale":"Iaith","navigatorEnabled":"Ffenest llywio ar gael","clickToZoomEnabled":"Cliciwch gyda'r llygoden i glosio","pagingEnabled":"Arddangos dwy dudalen","preserveViewport":"Cadw'r lefel o glosio","title":"Dewisiadau","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>mwy o wybodaeth</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"customSize":"dewisol","embed":"Ymgorffori","embedInstructions":"Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.","height":"Hyd","iiif":"Maniffest IIIF","share":"Rhannu","shareInstructions":"Er mwyn rhannu'r eitem hon, copïwch y URL isod.","size":"Maint:","width":"Lled"}},"clickThroughDialogue":{"content":{"viewTerms":"Darllenwch y Telerau a'r Amodau Llawn"}},"loginDialogue":{"content":{"login":"Mewngofnodi","logout":"Allgofnodi","cancel":"Canslo"}},"mobileFooterPanel":{"content":{"rotateRight":"Cylchdroi i'r dde","moreInfo":"Mwy o Wybodaeth","zoomIn":"Closio","zoomOut":"Gwrthglosio"}},"restrictedDialogue":{"content":{"cancel":"Canslo"}}},"localisation":{"label":"Cymraeg","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.","authorisationFailedMessage":"Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.","canvasIndexOutOfRange":"Canfas yn rhy fawr i'w arddangos (ceisiwch eto)","fallbackDegradedLabel":"Mewngofnodi","fallbackDegradedMessage":"Mewngofnodwch i weld y cynnwys hwn gyda phenderfyniad llawn.","forbiddenResourceMessage":"Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon","termsOfUse":"Telerau Defnydd"}} |
@@ -1,1 +0,1 @@ | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":640,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":true,"theme":"uv-en-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":false,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":false,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Collapse Contents","collapseFull":"Collapse Gallery","date":"date","expand":"Expand Contents","expandFull":"Expand Gallery","index":"Index","manifestRanges":"Manifest Ranges","searchResult":"{0} search result","searchResults":"{0} search results","sortBy":"Sort By:","thumbnails":"Thumbnails","title":"Contents","volume":"volume"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Close"}},"downloadDialogue":{"options":{"confinedImageSize":1000,"currentViewDisabledPercentage":90,"maxImageWidth":5000,"optionsExplanatoryTextEnabled":false,"selectionEnabled":false},"content":{"currentViewAsJpg":"Current view {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Opens in a new window","download":"Download","downloadSelection":"Download Selection","downloadSelectionExplanation":"Opens a dialogue to select which pages to download.","editSettings":"Edit Settings","entireDocument":"Entire document ({0})","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","pagingNote":"Please turn off Two Page View for additional options.","preview":"Preview","title":"Download","wholeImageHighRes":"Whole image {0} x {1}px ({2})","wholeImageHighResExplanation":"Opens in a new window.","wholeImagesHighRes":"Whole images ({0})","wholeImagesHighResExplanation":"Opens in two new windows.","wholeImageLowResAsJpg":"Whole image {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Opens in a new window."}},"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":"Exit Full Screen","feedback":"Feedback","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open","share":"Share"}},"genericDialogue":{"content":{"emptyValue":"please enter a value.","invalidNumber":"Please enter a valid number.","noMatches":"No matches were found.","ok":"OK","pageNotFound":"This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.","refresh":"Refresh"}},"headerPanel":{"options":{"centerOptionsEnabled":true,"localeToggleEnabled":false,"settingsButtonEnabled":true}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"multiSelectDialogue":{"options":{"galleryThumbChunkedResizingEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"pageModeEnabled":true},"content":{"select":"Download","selectAll":"Select All","title":"Select Pages for Download"}},"pagingHeaderPanel":{"options":{"autoCompleteBoxEnabled":true,"galleryButtonEnabled":true,"imageSelectionBoxEnabled":false,"pageModeEnabled":false,"pagingToggleEnabled":true},"content":{"close":"Close","emptyValue":"Please enter a value","first":"First","firstImage":"First Image","firstPage":"First Page","folio":"Folio","gallery":"Gallery","go":"Go","help":"Help","image":"Image","last":"Last","lastImage":"Last Image","lastPage":"Last Page","next":"Next","nextImage":"Next Image","nextPage":"Next Page","of":"of {0}","oneUp":"Single page view","page":"Page","pageSearchLabel":"Search by Page Number","previous":"Previous","previousImage":"Previous Image","previousPage":"Previous Page","settings":"Settings","twoUp":"Two page view"}},"seadragonCenterPanel":{"options":{"animationTime":0.15,"autoHideControls":true,"attributionEnabled":true,"blendTime":0,"constrainDuringPan":false,"controlsFadeAfterInactive":1500,"controlsFadeDelay":250,"controlsFadeLength":250,"defaultZoomLevel":0,"immediateRender":false,"maxZoomPixelRatio":1.25,"navigatorPosition":"BOTTOM_RIGHT","pageGap":50,"showHomeControl":false,"trimAttributionCount":150,"visibilityRatio":0.5},"content":{"attribution":"Attribution","goHome":"Go Home","imageUnavailable":"Image Unavailable","next":"Next","previous":"Previous","rotateRight":"Rotate Right","zoomIn":"Zoom In","zoomOut":"Zoom Out"}},"searchFooterPanel":{"options":{"elideDetailsTermsCount":20,"elideResultsTermsCount":10,"pageModeEnabled":true,"positionMarkerEnabled":true},"content":{"clearSearch":"Clear","defaultLabel":"-","displaying":"{0} {1} of {2}","enterKeyword":"Enter Keyword","image":"image","imageCaps":"Image","instanceFound":"1 instance of '{0}' found","instancesFound":"{0} instances of '{1}' found","nextResult":"Next Result","page":"page","pageCaps":"Page","previousResult":"Previous Result","print":"Print","resultFoundFor":"result found for","resultsFoundFor":"results found for","searchWithin":"Search within this item:"}},"settingsDialogue":{"content":{"locale":"Locale","navigatorEnabled":"Navigator Enabled","clickToZoomEnabled":"Mouse Click To Zoom","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>more info</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"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.","size":"Size:","width":"Width"}},"authDialogue":{"content":{"cancel":"Cancel","confirm":"Confirm"}},"clickThroughDialogue":{"content":{"viewTerms":"Read Full Terms and Conditions"}},"loginDialogue":{"content":{"login":"Login","logout":"Logout","cancel":"Cancel"}},"mobileFooterPanel":{"content":{"rotateRight":"Rotate Right","moreInfo":"More Information","zoomIn":"Zoom In","zoomOut":"Zoom Out"}},"restrictedDialogue":{"content":{"cancel":"Cancel"}}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","canvasIndexOutOfRange":"Canvas index out of range.","fallbackDegradedLabel":"Login","fallbackDegradedMessage":"Please log in to view this content at full resolution.","forbiddenResourceMessage":"Your current access rights are insufficient to view this image","termsOfUse":"Terms of Use"}} | ||
{"options":{"allowStealFocus":false,"authAPIVersion":1,"bookmarkThumbHeight":150,"bookmarkThumbWidth":90,"dropEnabled":true,"footerPanelEnabled":true,"headerPanelEnabled":true,"leftPanelEnabled":true,"limitLocales":false,"metrics":[{"type":"watch","minWidth":0,"maxWidth":312,"minHeight":0,"maxHeight":390},{"type":"mobileportrait","minWidth":312,"maxWidth":415,"minHeight":640,"maxHeight":813},{"type":"mobilelandscape","minWidth":640,"maxWidth":813,"minHeight":360,"maxHeight":415},{"type":"desktop","minWidth":800,"maxWidth":100000,"minHeight":415,"maxHeight":100000}],"multiSelectionMimeType":"application/zip","navigatorEnabled":true,"openTemplate":"http://universalviewer.io?manifest={0}","overrideFullScreen":false,"pagingEnabled":true,"pagingOptionEnabled":true,"pessimisticAccessControl":false,"preserveViewport":false,"rightPanelEnabled":true,"saveUserSettings":false,"clickToZoomEnabled":true,"searchWithinEnabled":true,"termsOfUseEnabled":true,"theme":"uv-en-GB-theme","tokenStorage":"session","useArrowKeysToNavigate":false,"zoomToSearchResultEnabled":true,"zoomToBoundsEnabled":false},"modules":{"contentLeftPanel":{"options":{"autoExpandTreeEnabled":false,"autoExpandTreeIfFewerThan":20,"branchNodesSelectable":false,"defaultToTreeEnabled":false,"defaultToTreeIfGreaterThan":0,"elideCount":40,"expandFullEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"oneColThumbHeight":320,"oneColThumbWidth":200,"pageModeEnabled":true,"panelAnimationDuration":250,"panelCollapsedWidth":30,"panelExpandedWidth":255,"panelOpen":true,"tabOrder":"","thumbsEnabled":true,"thumbsExtraHeight":8,"thumbsImageFadeInDuration":300,"thumbsLoadRange":15,"treeEnabled":true,"twoColThumbHeight":150,"twoColThumbWidth":90},"content":{"collapse":"Collapse Contents","collapseFull":"Collapse Gallery","date":"date","expand":"Expand Contents","expandFull":"Expand Gallery","index":"Index","manifestRanges":"Manifest Ranges","searchResult":"{0} search result","searchResults":"{0} search results","sortBy":"Sort By:","thumbnails":"Thumbnails","title":"Contents","volume":"volume"}},"dialogue":{"topCloseButtonEnabled":false,"content":{"close":"Close"}},"downloadDialogue":{"options":{"confinedImageSize":1000,"currentViewDisabledPercentage":90,"maxImageWidth":5000,"optionsExplanatoryTextEnabled":false,"selectionEnabled":false},"content":{"currentViewAsJpg":"Current view {0} x {1}px (jpg)","currentViewAsJpgExplanation":"Opens in a new window","download":"Download","downloadSelection":"Download Selection","downloadSelectionExplanation":"Opens a dialogue to select which pages to download.","editSettings":"Edit Settings","entireDocument":"Entire document ({0})","entireFileAsOriginal":"Entire file","noneAvailable":"No download options are available.","pagingNote":"Please turn off Two Page View for additional options.","preview":"Preview","title":"Download","wholeImageHighRes":"Whole image {0} x {1}px ({2})","wholeImageHighResExplanation":"Opens in a new window.","wholeImagesHighRes":"Whole images ({0})","wholeImagesHighResExplanation":"Opens in two new windows.","wholeImageLowResAsJpg":"Whole image {0} x {1}px (jpg)","wholeImageLowResAsJpgExplanation":"Opens in a new window."}},"footerPanel":{"options":{"autocompleteAllowWords":false,"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":"Exit Full Screen","feedback":"Feedback","fullScreen":"Full Screen","moreInfo":"More Information","open":"Open","share":"Share"}},"genericDialogue":{"content":{"emptyValue":"please enter a value.","invalidNumber":"Please enter a valid number.","noMatches":"No matches were found.","ok":"OK","pageNotFound":"This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.","refresh":"Refresh"}},"headerPanel":{"options":{"centerOptionsEnabled":true,"localeToggleEnabled":false,"settingsButtonEnabled":true}},"helpDialogue":{"content":{"text":"placeholder text","title":"Help"}},"moreInfoRightPanel":{"options":{"canvasDisplayOrder":"","canvasExclude":"","copyToClipboardEnabled":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"},"content":{"attribution":"Attribution","collapse":"Collapse Information","collapseFull":"Collapse Gallery","description":"Description","expand":"Expand Information","expandFull":"Expand Gallery","holdingText":"Your module goes here!","less":"less","license":"License","logo":"Logo","more":"more","noData":"No data to display","page":"Page","title":"More Information","manifestHeader":"About the item","canvasHeader":"About the image","copyToClipboard":"Copy to clipboard","copiedToClipboard":"Copied to clipboard"}},"multiSelectDialogue":{"options":{"galleryThumbChunkedResizingEnabled":true,"galleryThumbChunkedResizingThreshold":400,"galleryThumbHeight":320,"galleryThumbLoadPadding":3,"galleryThumbWidth":200,"pageModeEnabled":true},"content":{"select":"Download","selectAll":"Select All","title":"Select Pages for Download"}},"pagingHeaderPanel":{"options":{"autoCompleteBoxEnabled":true,"autocompleteAllowWords":false,"galleryButtonEnabled":true,"imageSelectionBoxEnabled":false,"pageModeEnabled":false,"pagingToggleEnabled":true},"content":{"close":"Close","emptyValue":"Please enter a value","first":"First","firstImage":"First Image","firstPage":"First Page","folio":"Folio","gallery":"Gallery","go":"Go","help":"Help","image":"Image","last":"Last","lastImage":"Last Image","lastPage":"Last Page","next":"Next","nextImage":"Next Image","nextPage":"Next Page","of":"of {0}","oneUp":"Single page view","page":"Page","pageSearchLabel":"Search by Page Number","previous":"Previous","previousImage":"Previous Image","previousPage":"Previous Page","settings":"Settings","twoUp":"Two page view"}},"seadragonCenterPanel":{"options":{"animationTime":0.15,"autoHideControls":true,"attributionEnabled":true,"blendTime":0,"constrainDuringPan":false,"controlsFadeAfterInactive":1500,"controlsFadeDelay":250,"controlsFadeLength":250,"defaultZoomLevel":0,"immediateRender":false,"maxZoomPixelRatio":1.25,"navigatorPosition":"BOTTOM_RIGHT","pageGap":50,"showHomeControl":false,"trimAttributionCount":150,"visibilityRatio":0.5},"content":{"attribution":"Attribution","goHome":"Go Home","imageUnavailable":"Image Unavailable","next":"Next","previous":"Previous","rotateRight":"Rotate Right","zoomIn":"Zoom In","zoomOut":"Zoom Out"}},"searchFooterPanel":{"options":{"elideDetailsTermsCount":20,"elideResultsTermsCount":10,"forceImageMode":false,"pageModeEnabled":true,"positionMarkerEnabled":true},"content":{"clearSearch":"Clear","defaultLabel":"-","displaying":"{0} {1} of {2}","enterKeyword":"Enter Keyword","image":"image","imageCaps":"Image","instanceFound":"1 instance of '{0}' found","instancesFound":"{0} instances of '{1}' found","nextResult":"Next Result","page":"page","pageCaps":"Page","previousResult":"Previous Result","print":"Print","resultFoundFor":"result found for","resultsFoundFor":"results found for","searchWithin":"Search within this item:"}},"settingsDialogue":{"content":{"locale":"Locale","navigatorEnabled":"Navigator Enabled","clickToZoomEnabled":"Mouse Click To Zoom","pagingEnabled":"Two Page View","preserveViewport":"Preserve Zoom","title":"Settings","website":"<a href='https://github.com/universalviewer/universalviewer#contributors'>more info</a>"}},"shareDialogue":{"options":{"embedTemplate":"<iframe src=\"{0}\" width=\"{1}\" height=\"{2}\" allowfullscreen frameborder=\"0\"></iframe>","instructionsEnabled":false,"shareFrameEnabled":true},"content":{"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.","size":"Size:","width":"Width"}},"authDialogue":{"content":{"cancel":"Cancel","confirm":"Confirm"}},"clickThroughDialogue":{"content":{"viewTerms":"Read Full Terms and Conditions"}},"loginDialogue":{"content":{"login":"Login","logout":"Logout","cancel":"Cancel"}},"mobileFooterPanel":{"content":{"rotateRight":"Rotate Right","moreInfo":"More Information","zoomIn":"Zoom In","zoomOut":"Zoom Out"}},"restrictedDialogue":{"content":{"cancel":"Cancel"}}},"localisation":{"label":"English (GB)","locales":[{"name":"cy-GB","label":"Cymraeg"},{"name":"en-GB","label":"English (GB)"}]},"content":{"authCORSError":"Your browser does not support CORS, please upgrade to view this content.","authorisationFailedMessage":"Your log-in attempt did not appear to be successful. Please try again.","canvasIndexOutOfRange":"Canvas index out of range.","fallbackDegradedLabel":"Login","fallbackDegradedMessage":"Please log in to view this content at full resolution.","forbiddenResourceMessage":"Your current access rights are insufficient to view this image","termsOfUse":"Terms of Use"}} |
define(function() { | ||
return { | ||
sync: ['three.min'], | ||
async: ['VRControls', 'VREffect', 'stats.min', 'OBJLoader', 'MTLLoader', 'PLYLoader', 'Detector', 'WebVR', 'virtex', 'iiif-metadata-component'] | ||
async: ['VRControls', 'VREffect', 'stats.min', 'OBJLoader', 'MTLLoader', 'PLYLoader', 'GLTFLoader', 'Detector', 'WebVR', 'virtex', 'iiif-metadata-component'] | ||
// sync: ['three.min', 'draco_decoder'], | ||
@@ -6,0 +6,0 @@ // async: ['VRControls', 'VREffect', 'stats.min', 'DRACOLoader', 'GLTFLoader', 'OBJLoader', 'MTLLoader', 'Detector', 'WebVR', 'virtex', 'iiif-metadata-component'] |
@@ -1,3 +0,3 @@ | ||
// virtex v0.3.9 https://github.com/edsilv/virtex#readme | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.virtex = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
// virtex v0.3.11 https://github.com/edsilv/virtex#readme | ||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.virtex = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
(function (global){ | ||
@@ -145,18 +145,11 @@ | ||
} | ||
glTFFileTypeHandler.setup = function (viewport, obj) { | ||
glTFFileTypeHandler.setup = function (viewport, gltf) { | ||
return new Promise(function (resolve) { | ||
viewport.objectGroup.add(obj.scene); | ||
if (obj.animations) { | ||
var animations = obj.animations; | ||
for (var i = 0, l = animations.length; i < l; i++) { | ||
//const animation = animations[i]; | ||
//animation.loop = true; | ||
//animation.play(); | ||
} | ||
} | ||
viewport.scene = obj.scene; | ||
if (obj.cameras && obj.cameras.length) { | ||
viewport.camera = obj.cameras[0]; | ||
} | ||
resolve(obj); | ||
// todo: add animation, gltf camera support e.g. | ||
// https://github.com/donmccurdy/three-gltf-viewer/blob/master/src/viewer.js#L183 | ||
// allow specifying envmap? https://github.com/mrdoob/three.js/blob/dev/examples/webgl_loader_gltf.html#L92 | ||
var obj = gltf.scene || gltf.scenes[0]; | ||
viewport.objectGroup.add(obj); | ||
viewport.createCamera(); | ||
resolve(gltf); | ||
}); | ||
@@ -335,3 +328,3 @@ }; | ||
antialias: true, | ||
cameraZ: 4.5, | ||
cameraZ: 6, | ||
directionalLight1Color: 0xffffff, | ||
@@ -384,7 +377,13 @@ directionalLight1Intensity: 0.75, | ||
}; | ||
Viewport.prototype.createCamera = function () { | ||
this.camera = new THREE.PerspectiveCamera(this._getFov(), this._getAspectRatio(), this.options.data.near, this.options.data.far); | ||
var cameraZ = this._getCameraZ(); | ||
this.camera.position.z = this._targetZoom = cameraZ; | ||
Viewport.prototype.createCamera = function (camera) { | ||
if (camera) { | ||
this.camera = camera; | ||
} | ||
else { | ||
this.camera = new THREE.PerspectiveCamera(this._getFov(), this._getAspectRatio(), this.options.data.near, this.options.data.far); | ||
var cameraZ = this._getCameraZ(); | ||
this.camera.position.z = this._targetZoom = cameraZ; | ||
} | ||
this.scene.add(this.camera); | ||
//this.camera.updateProjectionMatrix(); | ||
}; | ||
@@ -553,4 +552,4 @@ Viewport.prototype._createRenderer = function () { | ||
Viewport.prototype._loaded = function (obj) { | ||
//const boundingBox = new THREE.BoxHelper(this.objectGroup, new THREE.Color(0xffffff)); | ||
//this.scene.add(boundingBox); | ||
// const boundingBox = new THREE.BoxHelper(this.objectGroup, new THREE.Color(0xffffff)); | ||
// this.scene.add(boundingBox); | ||
// obj.children[0].transparent = true; | ||
@@ -593,8 +592,17 @@ // obj.children[0].material.opacity = 0.01; | ||
}; | ||
Viewport.prototype._getBoundingWidth = function () { | ||
return this._getBoundingBox().getSize().x; | ||
// private _getBoundingWidth(): number { | ||
// const target: THREE.Vector3 = new THREE.Vector3(); | ||
// this._getBoundingBox().getSize(target); | ||
// return target.x; | ||
// } | ||
// private _getBoundingHeight(): number { | ||
// const target: THREE.Vector3 = new THREE.Vector3(); | ||
// this._getBoundingBox().getSize(target); | ||
// return target.y; | ||
// } | ||
Viewport.prototype._getBoundingMag = function () { | ||
var size = new THREE.Vector3(); | ||
this._getBoundingBox().getSize(size).length(); | ||
return size.length(); | ||
}; | ||
Viewport.prototype._getBoundingHeight = function () { | ||
return this._getBoundingBox().getSize().y; | ||
}; | ||
// private _getDistanceToObject(): number { | ||
@@ -604,10 +612,11 @@ // return this.camera.position.distanceTo(this.objectGroup.position); | ||
Viewport.prototype._getCameraZ = function () { | ||
return this._getBoundingWidth() * this.options.data.cameraZ; | ||
return this._getBoundingMag() * this.options.data.cameraZ; | ||
}; | ||
Viewport.prototype._getFov = function () { | ||
var width = this._getBoundingWidth(); | ||
var height = this._getBoundingHeight(); // todo: use getSize and update definition | ||
var dist = this._getCameraZ() - width; | ||
// const width: number = this._getBoundingWidth(); | ||
// const height: number = this._getBoundingHeight(); // todo: use getSize and update definition | ||
var dist = this._getCameraZ(); | ||
var mag = this._getBoundingMag(); | ||
//http://stackoverflow.com/questions/14614252/how-to-fit-camera-to-object | ||
var fov = 2 * Math.atan(height / (2 * dist)) * (180 / Math.PI); | ||
var fov = 2 * Math.atan(mag / (2 * dist)) * (180 / Math.PI); | ||
//let fov: number = 2 * Math.atan((width / this._getAspectRatio()) / (2 * dist)) * (180 / Math.PI); | ||
@@ -798,9 +807,9 @@ return fov; | ||
Viewport.prototype._getZoomSpeed = function () { | ||
return this._getBoundingWidth() * this.options.data.zoomSpeed; | ||
return this._getBoundingMag() * this.options.data.zoomSpeed; | ||
}; | ||
Viewport.prototype._getMaxZoom = function () { | ||
return this._getBoundingWidth() * this.options.data.maxZoom; | ||
return this._getBoundingMag() * this.options.data.maxZoom; | ||
}; | ||
Viewport.prototype._getMinZoom = function () { | ||
return this._getBoundingWidth() * this.options.data.minZoom; | ||
return this._getBoundingMag() * this.options.data.minZoom; | ||
}; | ||
@@ -831,3 +840,3 @@ Viewport.prototype.zoomIn = function () { | ||
this._prevObjectPosition = this.objectGroup.position.clone(); | ||
this.objectGroup.position.z -= this._getBoundingWidth(); | ||
this.objectGroup.position.z -= this._getBoundingMag(); | ||
}; | ||
@@ -969,2 +978,2 @@ Viewport.prototype.exitVR = function () { | ||
},{}]},{},[1])(1) | ||
}); | ||
}); |
@@ -10,178 +10,150 @@ /** | ||
isAvailable: function () { | ||
createButton: function ( renderer ) { | ||
console.warn( 'WEBVR: isAvailable() is being deprecated. Use .checkAvailability() instead.' ); | ||
return navigator.getVRDisplays !== undefined; | ||
function showEnterVR( display ) { | ||
}, | ||
button.style.display = ''; | ||
checkAvailability: function () { | ||
button.style.cursor = 'pointer'; | ||
button.style.left = 'calc(50% - 50px)'; | ||
button.style.width = '100px'; | ||
return new Promise( function( resolve, reject ) { | ||
button.textContent = 'ENTER VR'; | ||
if ( navigator.getVRDisplays !== undefined ) { | ||
button.onmouseenter = function () { button.style.opacity = '1.0'; }; | ||
button.onmouseleave = function () { button.style.opacity = '0.5'; }; | ||
navigator.getVRDisplays().then( function ( displays ) { | ||
button.onclick = function () { | ||
if ( displays.length === 0 ) { | ||
display.isPresenting ? display.exitPresent() : display.requestPresent( [ { source: renderer.domElement } ] ); | ||
reject( 'WebVR supported, but no VRDisplays found.' ); | ||
}; | ||
} else { | ||
renderer.vr.setDevice( display ); | ||
resolve(); | ||
} | ||
} | ||
function showVRNotFound() { | ||
} ); | ||
button.style.display = ''; | ||
} else { | ||
button.style.cursor = 'auto'; | ||
button.style.left = 'calc(50% - 75px)'; | ||
button.style.width = '150px'; | ||
reject( 'Your browser does not support WebVR. See <a href="https://webvr.info">webvr.info</a> for assistance.' ); | ||
button.textContent = 'VR NOT FOUND'; | ||
} | ||
button.onmouseenter = null; | ||
button.onmouseleave = null; | ||
} ); | ||
button.onclick = null; | ||
}, | ||
renderer.vr.setDevice( null ); | ||
getVRDisplay: function ( onDisplay ) { | ||
} | ||
if ( 'getVRDisplays' in navigator ) { | ||
function stylizeElement( element ) { | ||
navigator.getVRDisplays() | ||
.then( function ( displays ) { | ||
onDisplay( displays[ 0 ] ); | ||
} ); | ||
element.style.position = 'absolute'; | ||
element.style.bottom = '20px'; | ||
element.style.padding = '12px 6px'; | ||
element.style.border = '1px solid #fff'; | ||
element.style.borderRadius = '4px'; | ||
element.style.background = 'transparent'; | ||
element.style.color = '#fff'; | ||
element.style.font = 'normal 13px sans-serif'; | ||
element.style.textAlign = 'center'; | ||
element.style.opacity = '0.5'; | ||
element.style.outline = 'none'; | ||
element.style.zIndex = '999'; | ||
} | ||
}, | ||
if ( 'getVRDisplays' in navigator ) { | ||
getMessage: function () { | ||
var button = document.createElement( 'button' ); | ||
button.style.display = 'none'; | ||
console.warn( 'WEBVR: getMessage() is being deprecated. Use .getMessageContainer( message ) instead.' ); | ||
stylizeElement( button ); | ||
var message; | ||
window.addEventListener( 'vrdisplayconnect', function ( event ) { | ||
if ( navigator.getVRDisplays ) { | ||
showEnterVR( event.display ); | ||
navigator.getVRDisplays().then( function ( displays ) { | ||
}, false ); | ||
if ( displays.length === 0 ) message = 'WebVR supported, but no VRDisplays found.'; | ||
window.addEventListener( 'vrdisplaydisconnect', function ( event ) { | ||
} ); | ||
showVRNotFound(); | ||
} else { | ||
}, false ); | ||
message = 'Your browser does not support WebVR. See <a href="http://webvr.info">webvr.info</a> for assistance.'; | ||
window.addEventListener( 'vrdisplaypresentchange', function ( event ) { | ||
} | ||
button.textContent = event.display.isPresenting ? 'EXIT VR' : 'ENTER VR'; | ||
if ( message !== undefined ) { | ||
}, false ); | ||
var container = document.createElement( 'div' ); | ||
container.style.position = 'absolute'; | ||
container.style.left = '0'; | ||
container.style.top = '0'; | ||
container.style.right = '0'; | ||
container.style.zIndex = '999'; | ||
container.align = 'center'; | ||
window.addEventListener( 'vrdisplayactivate', function ( event ) { | ||
var error = document.createElement( 'div' ); | ||
error.style.fontFamily = 'sans-serif'; | ||
error.style.fontSize = '16px'; | ||
error.style.fontStyle = 'normal'; | ||
error.style.lineHeight = '26px'; | ||
error.style.backgroundColor = '#fff'; | ||
error.style.color = '#000'; | ||
error.style.padding = '10px 20px'; | ||
error.style.margin = '50px'; | ||
error.style.display = 'inline-block'; | ||
error.innerHTML = message; | ||
container.appendChild( error ); | ||
event.display.requestPresent( [ { source: renderer.domElement } ] ); | ||
return container; | ||
}, false ); | ||
} | ||
navigator.getVRDisplays() | ||
.then( function ( displays ) { | ||
}, | ||
if ( displays.length > 0 ) { | ||
getMessageContainer: function ( message ) { | ||
showEnterVR( displays[ 0 ] ); | ||
var container = document.createElement( 'div' ); | ||
container.style.position = 'absolute'; | ||
container.style.left = '0'; | ||
container.style.top = '0'; | ||
container.style.right = '0'; | ||
container.style.zIndex = '999'; | ||
container.align = 'center'; | ||
} else { | ||
var error = document.createElement( 'div' ); | ||
error.style.fontFamily = 'sans-serif'; | ||
error.style.fontSize = '16px'; | ||
error.style.fontStyle = 'normal'; | ||
error.style.lineHeight = '26px'; | ||
error.style.backgroundColor = '#fff'; | ||
error.style.color = '#000'; | ||
error.style.padding = '10px 20px'; | ||
error.style.margin = '50px'; | ||
error.style.display = 'inline-block'; | ||
error.innerHTML = message; | ||
container.appendChild( error ); | ||
showVRNotFound(); | ||
return container; | ||
} | ||
}, | ||
} ); | ||
getButton: function ( display, canvas ) { | ||
return button; | ||
if ( 'VREffect' in THREE && display instanceof THREE.VREffect ) { | ||
} else { | ||
console.error( 'WebVR.getButton() now expects a VRDisplay.' ); | ||
return document.createElement( 'button' ); | ||
var message = document.createElement( 'a' ); | ||
message.href = 'https://webvr.info'; | ||
message.innerHTML = 'WEBVR NOT SUPPORTED'; | ||
} | ||
message.style.left = 'calc(50% - 90px)'; | ||
message.style.width = '180px'; | ||
message.style.textDecoration = 'none'; | ||
var button = document.createElement( 'button' ); | ||
button.style.position = 'absolute'; | ||
button.style.left = 'calc(50% - 50px)'; | ||
button.style.bottom = '20px'; | ||
button.style.width = '100px'; | ||
button.style.border = '0'; | ||
button.style.padding = '8px'; | ||
button.style.cursor = 'pointer'; | ||
button.style.backgroundColor = '#000'; | ||
button.style.color = '#fff'; | ||
button.style.fontFamily = 'sans-serif'; | ||
button.style.fontSize = '13px'; | ||
button.style.fontStyle = 'normal'; | ||
button.style.textAlign = 'center'; | ||
button.style.zIndex = '999'; | ||
stylizeElement( message ); | ||
if ( display ) { | ||
return message; | ||
button.textContent = 'ENTER VR'; | ||
button.onclick = function () { | ||
} | ||
display.isPresenting ? display.exitPresent() : display.requestPresent( [ { source: canvas } ] ); | ||
}, | ||
}; | ||
// DEPRECATED | ||
window.addEventListener( 'vrdisplaypresentchange', function () { | ||
checkAvailability: function () { | ||
console.warn( 'WEBVR.checkAvailability has been deprecated.' ); | ||
return new Promise( function () {} ); | ||
}, | ||
button.textContent = display.isPresenting ? 'EXIT VR' : 'ENTER VR'; | ||
getMessageContainer: function () { | ||
console.warn( 'WEBVR.getMessageContainer has been deprecated.' ); | ||
return document.createElement( 'div' ); | ||
}, | ||
}, false ); | ||
getButton: function () { | ||
console.warn( 'WEBVR.getButton has been deprecated.' ); | ||
return document.createElement( 'div' ); | ||
}, | ||
} else { | ||
button.textContent = 'NO VR DISPLAY'; | ||
} | ||
return button; | ||
getVRDisplay: function () { | ||
console.warn( 'WEBVR.getVRDisplay has been deprecated.' ); | ||
} | ||
}; |
@@ -1,1 +0,1 @@ | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"leftPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"pessimisticAccessControl":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1}},"required":["authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","leftPanelEnabled","limitLocales","openTemplate","pessimisticAccessControl","rightPanelEnabled","theme"]},"modules":{"type":"object","properties":{"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1}},"required":["embedTemplate"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"openEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","embedEnabled","feedbackEnabled","minimiseButtons","openEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","fullScreen","moreInfo","open"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"ok":{"type":"string","minLength":1}},"required":["ok"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"help":{"type":"string","minLength":1}},"required":["close","help"]}},"required":["content"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"mediaelementCenterPanel":{"type":"object","properties":{"defaultHeight":{"type":"number"},"defaultWidth":{"type":"number"},"content":{"type":"object","properties":{},"required":[]}},"required":["defaultHeight","defaultWidth","content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"resourcesLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"expandFullEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"}},"required":["expandFullEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen"]},"content":{"type":"object","properties":{"title":{"type":"string","minLength":1}},"required":["title"]}},"required":["options","content"]},"dialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["content"]},"downloadDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"download":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["download","entireFileAsOriginal","noneAvailable","preview","title"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","cancel"]}},"required":["content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]}},"required":["shareDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","mediaelementCenterPanel","moreInfoRightPanel","resourcesLeftPanel","dialogue","downloadDialogue","loginDialogue","settingsDialogue"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"degradedResourceMessage":{"type":"string","minLength":1},"degradedResourceLogin":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","degradedResourceMessage","degradedResourceLogin","forbiddenResourceMessage"]}},"required":["options","modules","localisation","content"]} | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"leftPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"pessimisticAccessControl":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1}},"required":["authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","leftPanelEnabled","limitLocales","openTemplate","pessimisticAccessControl","rightPanelEnabled","theme"]},"modules":{"type":"object","properties":{"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1}},"required":["embedTemplate"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"openEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","embedEnabled","feedbackEnabled","minimiseButtons","openEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"ok":{"type":"string","minLength":1}},"required":["ok"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"help":{"type":"string","minLength":1}},"required":["close","help"]}},"required":["content"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"mediaelementCenterPanel":{"type":"object","properties":{"defaultHeight":{"type":"number"},"defaultWidth":{"type":"number"},"content":{"type":"object","properties":{},"required":[]}},"required":["defaultHeight","defaultWidth","content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"resourcesLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"expandFullEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"}},"required":["expandFullEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen"]},"content":{"type":"object","properties":{"title":{"type":"string","minLength":1}},"required":["title"]}},"required":["options","content"]},"dialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["content"]},"downloadDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"download":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["download","entireFileAsOriginal","noneAvailable","preview","title"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","cancel"]}},"required":["content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]}},"required":["shareDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","mediaelementCenterPanel","moreInfoRightPanel","resourcesLeftPanel","dialogue","downloadDialogue","loginDialogue","settingsDialogue"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"degradedResourceMessage":{"type":"string","minLength":1},"degradedResourceLogin":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","degradedResourceMessage","degradedResourceLogin","forbiddenResourceMessage"]}},"required":["options","modules","localisation","content"]} |
@@ -1,1 +0,1 @@ | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"pessimisticAccessControl":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1}},"required":["authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","limitLocales","openTemplate","pessimisticAccessControl","rightPanelEnabled","theme"]},"modules":{"type":"object","properties":{"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1}},"required":["embedTemplate"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"openEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","embedEnabled","feedbackEnabled","minimiseButtons","openEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","fullScreen","moreInfo","open"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"ok":{"type":"string","minLength":1}},"required":["ok"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{},"required":[]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"pdfCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"titleEnabled":{"type":"boolean"}},"required":["titleEnabled"]}},"required":["options"]},"resourcesLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideCount":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["elideCount","galleryThumbHeight","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]}},"required":["options"]},"dialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["content"]},"downloadDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"download":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["download","entireFileAsOriginal","noneAvailable","preview","title"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","cancel"]}},"required":["content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"contentLeftPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"index":{"type":"string","minLength":1},"thumbnails":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["collapse","collapseFull","expand","expandFull","index","thumbnails","title"]}},"required":["content"]}},"required":["shareDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","pdfCenterPanel","resourcesLeftPanel","dialogue","downloadDialogue","loginDialogue","settingsDialogue","contentLeftPanel"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"degradedResourceMessage":{"type":"string","minLength":1},"degradedResourceLogin":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","degradedResourceMessage","degradedResourceLogin","forbiddenResourceMessage"]}},"required":["options","modules","localisation","content"]} | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"pessimisticAccessControl":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1}},"required":["authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","limitLocales","openTemplate","pessimisticAccessControl","rightPanelEnabled","theme"]},"modules":{"type":"object","properties":{"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1}},"required":["embedTemplate"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"openEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","embedEnabled","feedbackEnabled","minimiseButtons","openEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"feedback":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","feedback","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"ok":{"type":"string","minLength":1}},"required":["ok"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{},"required":[]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"pdfCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"titleEnabled":{"type":"boolean"}},"required":["titleEnabled"]}},"required":["options"]},"resourcesLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideCount":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["elideCount","galleryThumbHeight","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]}},"required":["options"]},"dialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["content"]},"downloadDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"download":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["download","entireFileAsOriginal","noneAvailable","preview","title"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","cancel"]}},"required":["content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"contentLeftPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"index":{"type":"string","minLength":1},"thumbnails":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["collapse","collapseFull","expand","expandFull","index","thumbnails","title"]}},"required":["content"]}},"required":["shareDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","pdfCenterPanel","resourcesLeftPanel","dialogue","downloadDialogue","loginDialogue","settingsDialogue","contentLeftPanel"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"degradedResourceMessage":{"type":"string","minLength":1},"degradedResourceLogin":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","degradedResourceMessage","degradedResourceLogin","forbiddenResourceMessage"]}},"required":["options","modules","localisation","content"]} |
@@ -1,1 +0,1 @@ | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"pessimisticAccessControl":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1}},"required":["authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","limitLocales","openTemplate","pessimisticAccessControl","rightPanelEnabled","theme"]},"modules":{"type":"object","properties":{"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1}},"required":["embedTemplate"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"openEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","embedEnabled","feedbackEnabled","minimiseButtons","openEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","fullScreen","moreInfo","open"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"ok":{"type":"string","minLength":1}},"required":["ok"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"help":{"type":"string","minLength":1}},"required":["close","help"]}},"required":["content"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"pdfCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"titleEnabled":{"type":"boolean"}},"required":["titleEnabled"]},"content":{"type":"object","properties":{},"required":[]}},"required":["options","content"]},"resourcesLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideCount":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["elideCount","galleryThumbHeight","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]}},"required":["options"]},"dialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["content"]},"downloadDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"download":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["download","entireFileAsOriginal","noneAvailable","preview","title"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","cancel"]}},"required":["content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"contentLeftPanel":{"type":"object","properties":{},"required":[]}},"required":["shareDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","pdfCenterPanel","resourcesLeftPanel","dialogue","downloadDialogue","loginDialogue","settingsDialogue","contentLeftPanel"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"degradedResourceMessage":{"type":"string","minLength":1},"degradedResourceLogin":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","degradedResourceMessage","degradedResourceLogin","forbiddenResourceMessage"]}},"required":["options","modules","localisation","content"]} | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"pessimisticAccessControl":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1}},"required":["authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","limitLocales","openTemplate","pessimisticAccessControl","rightPanelEnabled","theme"]},"modules":{"type":"object","properties":{"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1}},"required":["embedTemplate"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"openEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","embedEnabled","feedbackEnabled","minimiseButtons","openEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"feedback":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","feedback","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"ok":{"type":"string","minLength":1}},"required":["ok"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"help":{"type":"string","minLength":1}},"required":["close","help"]}},"required":["content"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"pdfCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"titleEnabled":{"type":"boolean"}},"required":["titleEnabled"]},"content":{"type":"object","properties":{},"required":[]}},"required":["options","content"]},"resourcesLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideCount":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["elideCount","galleryThumbHeight","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]}},"required":["options"]},"dialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["content"]},"downloadDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"download":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["download","entireFileAsOriginal","noneAvailable","preview","title"]}},"required":["content"]},"pdfHeaderPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"emptyValue":{"type":"string","minLength":1},"first":{"type":"string","minLength":1},"go":{"type":"string","minLength":1},"last":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"of":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1}},"required":["emptyValue","first","go","last","next","of","previous"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","cancel"]}},"required":["content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"contentLeftPanel":{"type":"object","properties":{},"required":[]}},"required":["shareDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","pdfCenterPanel","resourcesLeftPanel","dialogue","downloadDialogue","pdfHeaderPanel","loginDialogue","settingsDialogue","contentLeftPanel"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"degradedResourceMessage":{"type":"string","minLength":1},"degradedResourceLogin":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","degradedResourceMessage","degradedResourceLogin","forbiddenResourceMessage"]}},"required":["options","modules","localisation","content"]} |
@@ -1,1 +0,1 @@ | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"allowStealFocus":{"type":"boolean"},"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"leftPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"metrics":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["type","minWidth","maxWidth","minHeight","maxHeight"],"properties":{"type":{"type":"string","minLength":1},"minWidth":{"type":"number"},"maxWidth":{"type":"number"},"minHeight":{"type":"number"},"maxHeight":{"type":"number"}}}},"multiSelectionMimeType":{"type":"string","minLength":1},"navigatorEnabled":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"overrideFullScreen":{"type":"boolean"},"pagingEnabled":{"type":"boolean"},"pagingOptionEnabled":{"type":"boolean"},"pessimisticAccessControl":{"type":"boolean"},"preserveViewport":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"saveUserSettings":{"type":"boolean"},"clickToZoomEnabled":{"type":"boolean"},"searchWithinEnabled":{"type":"boolean"},"termsOfUseEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1},"tokenStorage":{"type":"string","minLength":1},"useArrowKeysToNavigate":{"type":"boolean"},"zoomToSearchResultEnabled":{"type":"boolean"}},"required":["allowStealFocus","authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","leftPanelEnabled","limitLocales","metrics","multiSelectionMimeType","navigatorEnabled","openTemplate","overrideFullScreen","pagingEnabled","pagingOptionEnabled","pessimisticAccessControl","preserveViewport","rightPanelEnabled","saveUserSettings","clickToZoomEnabled","searchWithinEnabled","termsOfUseEnabled","theme","tokenStorage","useArrowKeysToNavigate","zoomToSearchResultEnabled"]},"modules":{"type":"object","properties":{"contentLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoExpandTreeEnabled":{"type":"boolean"},"autoExpandTreeIfFewerThan":{"type":"number"},"branchNodesSelectable":{"type":"boolean"},"defaultToTreeEnabled":{"type":"boolean"},"defaultToTreeIfGreaterThan":{"type":"number"},"elideCount":{"type":"number"},"expandFullEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"tabOrder":{"type":"string"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["autoExpandTreeEnabled","autoExpandTreeIfFewerThan","branchNodesSelectable","defaultToTreeEnabled","defaultToTreeIfGreaterThan","elideCount","expandFullEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","tabOrder","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]},"content":{"type":"object","properties":{"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"date":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"index":{"type":"string","minLength":1},"searchResult":{"type":"string","minLength":1},"searchResults":{"type":"string","minLength":1},"sortBy":{"type":"string","minLength":1},"thumbnails":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"volume":{"type":"string","minLength":1}},"required":["collapse","collapseFull","date","expand","expandFull","index","searchResult","searchResults","sortBy","thumbnails","title","volume"]}},"required":["options","content"]},"dialogue":{"type":"object","properties":{"topCloseButtonEnabled":{"type":"boolean"},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["topCloseButtonEnabled","content"]},"downloadDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"confinedImageSize":{"type":"number"},"currentViewDisabledPercentage":{"type":"number"},"maxImageWidth":{"type":"number"},"optionsExplanatoryTextEnabled":{"type":"boolean"},"selectionEnabled":{"type":"boolean"}},"required":["confinedImageSize","currentViewDisabledPercentage","maxImageWidth","optionsExplanatoryTextEnabled","selectionEnabled"]},"content":{"type":"object","properties":{"currentViewAsJpg":{"type":"string","minLength":1},"currentViewAsJpgExplanation":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"downloadSelection":{"type":"string","minLength":1},"downloadSelectionExplanation":{"type":"string","minLength":1},"editSettings":{"type":"string","minLength":1},"entireDocument":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"pagingNote":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"wholeImageHighRes":{"type":"string","minLength":1},"wholeImageHighResExplanation":{"type":"string","minLength":1},"wholeImagesHighRes":{"type":"string","minLength":1},"wholeImagesHighResExplanation":{"type":"string","minLength":1},"wholeImageLowResAsJpg":{"type":"string","minLength":1},"wholeImageLowResAsJpgExplanation":{"type":"string","minLength":1}},"required":["currentViewAsJpg","currentViewAsJpgExplanation","download","downloadSelection","downloadSelectionExplanation","editSettings","entireDocument","entireFileAsOriginal","noneAvailable","pagingNote","preview","title","wholeImageHighRes","wholeImageHighResExplanation","wholeImagesHighRes","wholeImagesHighResExplanation","wholeImageLowResAsJpg","wholeImageLowResAsJpgExplanation"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"downloadEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"fullscreenEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"moreInfoEnabled":{"type":"boolean"},"openEnabled":{"type":"boolean"},"printEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","downloadEnabled","embedEnabled","feedbackEnabled","fullscreenEnabled","minimiseButtons","moreInfoEnabled","openEnabled","printEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"feedback":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","feedback","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"emptyValue":{"type":"string","minLength":1},"invalidNumber":{"type":"string","minLength":1},"noMatches":{"type":"string","minLength":1},"ok":{"type":"string","minLength":1},"pageNotFound":{"type":"string","minLength":1},"refresh":{"type":"string","minLength":1}},"required":["emptyValue","invalidNumber","noMatches","ok","pageNotFound","refresh"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"centerOptionsEnabled":{"type":"boolean"},"localeToggleEnabled":{"type":"boolean"},"settingsButtonEnabled":{"type":"boolean"}},"required":["centerOptionsEnabled","localeToggleEnabled","settingsButtonEnabled"]}},"required":["options"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"multiSelectDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"galleryThumbChunkedResizingEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"}},"required":["galleryThumbChunkedResizingEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","pageModeEnabled"]},"content":{"type":"object","properties":{"select":{"type":"string","minLength":1},"selectAll":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["select","selectAll","title"]}},"required":["options","content"]},"pagingHeaderPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoCompleteBoxEnabled":{"type":"boolean"},"galleryButtonEnabled":{"type":"boolean"},"imageSelectionBoxEnabled":{"type":"boolean"},"pageModeEnabled":{"type":"boolean"},"pagingToggleEnabled":{"type":"boolean"}},"required":["autoCompleteBoxEnabled","galleryButtonEnabled","imageSelectionBoxEnabled","pageModeEnabled","pagingToggleEnabled"]},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"emptyValue":{"type":"string","minLength":1},"first":{"type":"string","minLength":1},"firstImage":{"type":"string","minLength":1},"firstPage":{"type":"string","minLength":1},"folio":{"type":"string","minLength":1},"gallery":{"type":"string","minLength":1},"go":{"type":"string","minLength":1},"help":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"last":{"type":"string","minLength":1},"lastImage":{"type":"string","minLength":1},"lastPage":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"nextImage":{"type":"string","minLength":1},"nextPage":{"type":"string","minLength":1},"of":{"type":"string","minLength":1},"oneUp":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"previousImage":{"type":"string","minLength":1},"previousPage":{"type":"string","minLength":1},"settings":{"type":"string","minLength":1},"twoUp":{"type":"string","minLength":1}},"required":["close","emptyValue","first","firstImage","firstPage","folio","gallery","go","help","image","last","lastImage","lastPage","next","nextImage","nextPage","of","oneUp","page","previous","previousImage","previousPage","settings","twoUp"]}},"required":["options","content"]},"seadragonCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"animationTime":{"type":"number"},"autoHideControls":{"type":"boolean"},"attributionEnabled":{"type":"boolean"},"blendTime":{"type":"number"},"constrainDuringPan":{"type":"boolean"},"controlsFadeAfterInactive":{"type":"number"},"controlsFadeDelay":{"type":"number"},"controlsFadeLength":{"type":"number"},"defaultZoomLevel":{"type":"number"},"immediateRender":{"type":"boolean"},"maxZoomPixelRatio":{"type":"number"},"navigatorPosition":{"type":"string","minLength":1},"pageGap":{"type":"number"},"showHomeControl":{"type":"boolean"},"trimAttributionCount":{"type":"number"},"visibilityRatio":{"type":"number"}},"required":["animationTime","autoHideControls","attributionEnabled","blendTime","constrainDuringPan","controlsFadeAfterInactive","controlsFadeDelay","controlsFadeLength","defaultZoomLevel","immediateRender","maxZoomPixelRatio","navigatorPosition","pageGap","showHomeControl","trimAttributionCount","visibilityRatio"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"goHome":{"type":"string","minLength":1},"imageUnavailable":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"rotateRight":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["attribution","goHome","imageUnavailable","next","previous","rotateRight","zoomIn","zoomOut"]}},"required":["options","content"]},"searchFooterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideDetailsTermsCount":{"type":"number"},"elideResultsTermsCount":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"positionMarkerEnabled":{"type":"boolean"}},"required":["elideDetailsTermsCount","elideResultsTermsCount","pageModeEnabled","positionMarkerEnabled"]},"content":{"type":"object","properties":{"clearSearch":{"type":"string","minLength":1},"defaultLabel":{"type":"string","minLength":1},"displaying":{"type":"string","minLength":1},"enterKeyword":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"imageCaps":{"type":"string","minLength":1},"instanceFound":{"type":"string","minLength":1},"instancesFound":{"type":"string","minLength":1},"nextResult":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"pageCaps":{"type":"string","minLength":1},"previousResult":{"type":"string","minLength":1},"print":{"type":"string","minLength":1},"resultFoundFor":{"type":"string","minLength":1},"resultsFoundFor":{"type":"string","minLength":1},"searchWithin":{"type":"string","minLength":1}},"required":["clearSearch","defaultLabel","displaying","enterKeyword","image","imageCaps","instanceFound","instancesFound","nextResult","page","pageCaps","previousResult","print","resultFoundFor","resultsFoundFor","searchWithin"]}},"required":["options","content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"navigatorEnabled":{"type":"string","minLength":1},"clickToZoomEnabled":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","navigatorEnabled","clickToZoomEnabled","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1},"instructionsEnabled":{"type":"boolean"},"shareFrameEnabled":{"type":"boolean"}},"required":["embedTemplate","instructionsEnabled","shareFrameEnabled"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"clickThroughDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"viewTerms":{"type":"string","minLength":1}},"required":["viewTerms"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"logout":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","logout","cancel"]}},"required":["content"]},"mobileFooterPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"rotateRight":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["rotateRight","moreInfo","zoomIn","zoomOut"]}},"required":["content"]},"restrictedDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"cancel":{"type":"string","minLength":1}},"required":["cancel"]}},"required":["content"]}},"required":["contentLeftPanel","dialogue","downloadDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","multiSelectDialogue","pagingHeaderPanel","seadragonCenterPanel","searchFooterPanel","settingsDialogue","shareDialogue","clickThroughDialogue","loginDialogue","mobileFooterPanel","restrictedDialogue"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"canvasIndexOutOfRange":{"type":"string","minLength":1},"fallbackDegradedLabel":{"type":"string","minLength":1},"fallbackDegradedMessage":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1},"termsOfUse":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","canvasIndexOutOfRange","fallbackDegradedLabel","fallbackDegradedMessage","forbiddenResourceMessage","termsOfUse"]}},"required":["options","modules","localisation","content"]} | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"allowStealFocus":{"type":"boolean"},"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"leftPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"metrics":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["type","minWidth","maxWidth","minHeight","maxHeight"],"properties":{"type":{"type":"string","minLength":1},"minWidth":{"type":"number"},"maxWidth":{"type":"number"},"minHeight":{"type":"number"},"maxHeight":{"type":"number"}}}},"multiSelectionMimeType":{"type":"string","minLength":1},"navigatorEnabled":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"overrideFullScreen":{"type":"boolean"},"pagingEnabled":{"type":"boolean"},"pagingOptionEnabled":{"type":"boolean"},"pessimisticAccessControl":{"type":"boolean"},"preserveViewport":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"saveUserSettings":{"type":"boolean"},"clickToZoomEnabled":{"type":"boolean"},"searchWithinEnabled":{"type":"boolean"},"termsOfUseEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1},"tokenStorage":{"type":"string","minLength":1},"useArrowKeysToNavigate":{"type":"boolean"},"zoomToSearchResultEnabled":{"type":"boolean"},"zoomToBoundsEnabled":{"type":"boolean"}},"required":["allowStealFocus","authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","leftPanelEnabled","limitLocales","metrics","multiSelectionMimeType","navigatorEnabled","openTemplate","overrideFullScreen","pagingEnabled","pagingOptionEnabled","pessimisticAccessControl","preserveViewport","rightPanelEnabled","saveUserSettings","clickToZoomEnabled","searchWithinEnabled","termsOfUseEnabled","theme","tokenStorage","useArrowKeysToNavigate","zoomToSearchResultEnabled","zoomToBoundsEnabled"]},"modules":{"type":"object","properties":{"contentLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoExpandTreeEnabled":{"type":"boolean"},"autoExpandTreeIfFewerThan":{"type":"number"},"branchNodesSelectable":{"type":"boolean"},"defaultToTreeEnabled":{"type":"boolean"},"defaultToTreeIfGreaterThan":{"type":"number"},"elideCount":{"type":"number"},"expandFullEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"tabOrder":{"type":"string"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["autoExpandTreeEnabled","autoExpandTreeIfFewerThan","branchNodesSelectable","defaultToTreeEnabled","defaultToTreeIfGreaterThan","elideCount","expandFullEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","tabOrder","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]},"content":{"type":"object","properties":{"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"date":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"index":{"type":"string","minLength":1},"searchResult":{"type":"string","minLength":1},"searchResults":{"type":"string","minLength":1},"sortBy":{"type":"string","minLength":1},"thumbnails":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"volume":{"type":"string","minLength":1}},"required":["collapse","collapseFull","date","expand","expandFull","index","searchResult","searchResults","sortBy","thumbnails","title","volume"]}},"required":["options","content"]},"dialogue":{"type":"object","properties":{"topCloseButtonEnabled":{"type":"boolean"},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["topCloseButtonEnabled","content"]},"downloadDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"confinedImageSize":{"type":"number"},"currentViewDisabledPercentage":{"type":"number"},"maxImageWidth":{"type":"number"},"optionsExplanatoryTextEnabled":{"type":"boolean"},"selectionEnabled":{"type":"boolean"}},"required":["confinedImageSize","currentViewDisabledPercentage","maxImageWidth","optionsExplanatoryTextEnabled","selectionEnabled"]},"content":{"type":"object","properties":{"currentViewAsJpg":{"type":"string","minLength":1},"currentViewAsJpgExplanation":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"downloadSelection":{"type":"string","minLength":1},"downloadSelectionExplanation":{"type":"string","minLength":1},"editSettings":{"type":"string","minLength":1},"entireDocument":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"pagingNote":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"wholeImageHighRes":{"type":"string","minLength":1},"wholeImageHighResExplanation":{"type":"string","minLength":1},"wholeImagesHighRes":{"type":"string","minLength":1},"wholeImagesHighResExplanation":{"type":"string","minLength":1},"wholeImageLowResAsJpg":{"type":"string","minLength":1},"wholeImageLowResAsJpgExplanation":{"type":"string","minLength":1}},"required":["currentViewAsJpg","currentViewAsJpgExplanation","download","downloadSelection","downloadSelectionExplanation","editSettings","entireDocument","entireFileAsOriginal","noneAvailable","pagingNote","preview","title","wholeImageHighRes","wholeImageHighResExplanation","wholeImagesHighRes","wholeImagesHighResExplanation","wholeImageLowResAsJpg","wholeImageLowResAsJpgExplanation"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autocompleteAllowWords":{"type":"boolean"},"bookmarkEnabled":{"type":"boolean"},"downloadEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"fullscreenEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"moreInfoEnabled":{"type":"boolean"},"openEnabled":{"type":"boolean"},"printEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["autocompleteAllowWords","bookmarkEnabled","downloadEnabled","embedEnabled","feedbackEnabled","fullscreenEnabled","minimiseButtons","moreInfoEnabled","openEnabled","printEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"feedback":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","feedback","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"emptyValue":{"type":"string","minLength":1},"invalidNumber":{"type":"string","minLength":1},"noMatches":{"type":"string","minLength":1},"ok":{"type":"string","minLength":1},"pageNotFound":{"type":"string","minLength":1},"refresh":{"type":"string","minLength":1}},"required":["emptyValue","invalidNumber","noMatches","ok","pageNotFound","refresh"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"centerOptionsEnabled":{"type":"boolean"},"localeToggleEnabled":{"type":"boolean"},"settingsButtonEnabled":{"type":"boolean"}},"required":["centerOptionsEnabled","localeToggleEnabled","settingsButtonEnabled"]}},"required":["options"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"multiSelectDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"galleryThumbChunkedResizingEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"}},"required":["galleryThumbChunkedResizingEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","pageModeEnabled"]},"content":{"type":"object","properties":{"select":{"type":"string","minLength":1},"selectAll":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["select","selectAll","title"]}},"required":["options","content"]},"pagingHeaderPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoCompleteBoxEnabled":{"type":"boolean"},"autocompleteAllowWords":{"type":"boolean"},"galleryButtonEnabled":{"type":"boolean"},"imageSelectionBoxEnabled":{"type":"boolean"},"pageModeEnabled":{"type":"boolean"},"pagingToggleEnabled":{"type":"boolean"}},"required":["autoCompleteBoxEnabled","autocompleteAllowWords","galleryButtonEnabled","imageSelectionBoxEnabled","pageModeEnabled","pagingToggleEnabled"]},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"emptyValue":{"type":"string","minLength":1},"first":{"type":"string","minLength":1},"firstImage":{"type":"string","minLength":1},"firstPage":{"type":"string","minLength":1},"folio":{"type":"string","minLength":1},"gallery":{"type":"string","minLength":1},"go":{"type":"string","minLength":1},"help":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"last":{"type":"string","minLength":1},"lastImage":{"type":"string","minLength":1},"lastPage":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"nextImage":{"type":"string","minLength":1},"nextPage":{"type":"string","minLength":1},"of":{"type":"string","minLength":1},"oneUp":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"previousImage":{"type":"string","minLength":1},"previousPage":{"type":"string","minLength":1},"settings":{"type":"string","minLength":1},"twoUp":{"type":"string","minLength":1}},"required":["close","emptyValue","first","firstImage","firstPage","folio","gallery","go","help","image","last","lastImage","lastPage","next","nextImage","nextPage","of","oneUp","page","previous","previousImage","previousPage","settings","twoUp"]}},"required":["options","content"]},"seadragonCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"animationTime":{"type":"number"},"autoHideControls":{"type":"boolean"},"attributionEnabled":{"type":"boolean"},"blendTime":{"type":"number"},"constrainDuringPan":{"type":"boolean"},"controlsFadeAfterInactive":{"type":"number"},"controlsFadeDelay":{"type":"number"},"controlsFadeLength":{"type":"number"},"defaultZoomLevel":{"type":"number"},"immediateRender":{"type":"boolean"},"maxZoomPixelRatio":{"type":"number"},"navigatorPosition":{"type":"string","minLength":1},"pageGap":{"type":"number"},"showHomeControl":{"type":"boolean"},"trimAttributionCount":{"type":"number"},"visibilityRatio":{"type":"number"}},"required":["animationTime","autoHideControls","attributionEnabled","blendTime","constrainDuringPan","controlsFadeAfterInactive","controlsFadeDelay","controlsFadeLength","defaultZoomLevel","immediateRender","maxZoomPixelRatio","navigatorPosition","pageGap","showHomeControl","trimAttributionCount","visibilityRatio"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"goHome":{"type":"string","minLength":1},"imageUnavailable":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"rotateRight":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["attribution","goHome","imageUnavailable","next","previous","rotateRight","zoomIn","zoomOut"]}},"required":["options","content"]},"searchFooterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideDetailsTermsCount":{"type":"number"},"elideResultsTermsCount":{"type":"number"},"forceImageMode":{"type":"boolean"},"pageModeEnabled":{"type":"boolean"},"positionMarkerEnabled":{"type":"boolean"}},"required":["elideDetailsTermsCount","elideResultsTermsCount","forceImageMode","pageModeEnabled","positionMarkerEnabled"]},"content":{"type":"object","properties":{"clearSearch":{"type":"string","minLength":1},"defaultLabel":{"type":"string","minLength":1},"displaying":{"type":"string","minLength":1},"enterKeyword":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"imageCaps":{"type":"string","minLength":1},"instanceFound":{"type":"string","minLength":1},"instancesFound":{"type":"string","minLength":1},"nextResult":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"pageCaps":{"type":"string","minLength":1},"previousResult":{"type":"string","minLength":1},"print":{"type":"string","minLength":1},"resultFoundFor":{"type":"string","minLength":1},"resultsFoundFor":{"type":"string","minLength":1},"searchWithin":{"type":"string","minLength":1}},"required":["clearSearch","defaultLabel","displaying","enterKeyword","image","imageCaps","instanceFound","instancesFound","nextResult","page","pageCaps","previousResult","print","resultFoundFor","resultsFoundFor","searchWithin"]}},"required":["options","content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"navigatorEnabled":{"type":"string","minLength":1},"clickToZoomEnabled":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","navigatorEnabled","clickToZoomEnabled","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1},"instructionsEnabled":{"type":"boolean"},"shareFrameEnabled":{"type":"boolean"}},"required":["embedTemplate","instructionsEnabled","shareFrameEnabled"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"clickThroughDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"viewTerms":{"type":"string","minLength":1}},"required":["viewTerms"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"logout":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","logout","cancel"]}},"required":["content"]},"mobileFooterPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"rotateRight":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["rotateRight","moreInfo","zoomIn","zoomOut"]}},"required":["content"]},"restrictedDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"cancel":{"type":"string","minLength":1}},"required":["cancel"]}},"required":["content"]}},"required":["contentLeftPanel","dialogue","downloadDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","multiSelectDialogue","pagingHeaderPanel","seadragonCenterPanel","searchFooterPanel","settingsDialogue","shareDialogue","clickThroughDialogue","loginDialogue","mobileFooterPanel","restrictedDialogue"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"canvasIndexOutOfRange":{"type":"string","minLength":1},"fallbackDegradedLabel":{"type":"string","minLength":1},"fallbackDegradedMessage":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1},"termsOfUse":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","canvasIndexOutOfRange","fallbackDegradedLabel","fallbackDegradedMessage","forbiddenResourceMessage","termsOfUse"]}},"required":["options","modules","localisation","content"]} |
@@ -1,1 +0,1 @@ | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"allowStealFocus":{"type":"boolean"},"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"leftPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"metrics":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["type","minWidth","maxWidth","minHeight","maxHeight"],"properties":{"type":{"type":"string","minLength":1},"minWidth":{"type":"number"},"maxWidth":{"type":"number"},"minHeight":{"type":"number"},"maxHeight":{"type":"number"}}}},"multiSelectionMimeType":{"type":"string","minLength":1},"navigatorEnabled":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"overrideFullScreen":{"type":"boolean"},"pagingEnabled":{"type":"boolean"},"pagingOptionEnabled":{"type":"boolean"},"pessimisticAccessControl":{"type":"boolean"},"preserveViewport":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"saveUserSettings":{"type":"boolean"},"clickToZoomEnabled":{"type":"boolean"},"searchWithinEnabled":{"type":"boolean"},"termsOfUseEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1},"tokenStorage":{"type":"string","minLength":1},"useArrowKeysToNavigate":{"type":"boolean"},"zoomToSearchResultEnabled":{"type":"boolean"}},"required":["allowStealFocus","authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","leftPanelEnabled","limitLocales","metrics","multiSelectionMimeType","navigatorEnabled","openTemplate","overrideFullScreen","pagingEnabled","pagingOptionEnabled","pessimisticAccessControl","preserveViewport","rightPanelEnabled","saveUserSettings","clickToZoomEnabled","searchWithinEnabled","termsOfUseEnabled","theme","tokenStorage","useArrowKeysToNavigate","zoomToSearchResultEnabled"]},"modules":{"type":"object","properties":{"contentLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoExpandTreeEnabled":{"type":"boolean"},"autoExpandTreeIfFewerThan":{"type":"number"},"branchNodesSelectable":{"type":"boolean"},"defaultToTreeEnabled":{"type":"boolean"},"defaultToTreeIfGreaterThan":{"type":"number"},"elideCount":{"type":"number"},"expandFullEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"tabOrder":{"type":"string"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["autoExpandTreeEnabled","autoExpandTreeIfFewerThan","branchNodesSelectable","defaultToTreeEnabled","defaultToTreeIfGreaterThan","elideCount","expandFullEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","tabOrder","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]},"content":{"type":"object","properties":{"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"date":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"index":{"type":"string","minLength":1},"manifestRanges":{"type":"string","minLength":1},"searchResult":{"type":"string","minLength":1},"searchResults":{"type":"string","minLength":1},"sortBy":{"type":"string","minLength":1},"thumbnails":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"volume":{"type":"string","minLength":1}},"required":["collapse","collapseFull","date","expand","expandFull","index","manifestRanges","searchResult","searchResults","sortBy","thumbnails","title","volume"]}},"required":["options","content"]},"dialogue":{"type":"object","properties":{"topCloseButtonEnabled":{"type":"boolean"},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["topCloseButtonEnabled","content"]},"downloadDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"confinedImageSize":{"type":"number"},"currentViewDisabledPercentage":{"type":"number"},"maxImageWidth":{"type":"number"},"optionsExplanatoryTextEnabled":{"type":"boolean"},"selectionEnabled":{"type":"boolean"}},"required":["confinedImageSize","currentViewDisabledPercentage","maxImageWidth","optionsExplanatoryTextEnabled","selectionEnabled"]},"content":{"type":"object","properties":{"currentViewAsJpg":{"type":"string","minLength":1},"currentViewAsJpgExplanation":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"downloadSelection":{"type":"string","minLength":1},"downloadSelectionExplanation":{"type":"string","minLength":1},"editSettings":{"type":"string","minLength":1},"entireDocument":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"pagingNote":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"wholeImageHighRes":{"type":"string","minLength":1},"wholeImageHighResExplanation":{"type":"string","minLength":1},"wholeImagesHighRes":{"type":"string","minLength":1},"wholeImagesHighResExplanation":{"type":"string","minLength":1},"wholeImageLowResAsJpg":{"type":"string","minLength":1},"wholeImageLowResAsJpgExplanation":{"type":"string","minLength":1}},"required":["currentViewAsJpg","currentViewAsJpgExplanation","download","downloadSelection","downloadSelectionExplanation","editSettings","entireDocument","entireFileAsOriginal","noneAvailable","pagingNote","preview","title","wholeImageHighRes","wholeImageHighResExplanation","wholeImagesHighRes","wholeImagesHighResExplanation","wholeImageLowResAsJpg","wholeImageLowResAsJpgExplanation"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"bookmarkEnabled":{"type":"boolean"},"downloadEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"fullscreenEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"moreInfoEnabled":{"type":"boolean"},"openEnabled":{"type":"boolean"},"printEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["bookmarkEnabled","downloadEnabled","embedEnabled","feedbackEnabled","fullscreenEnabled","minimiseButtons","moreInfoEnabled","openEnabled","printEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"feedback":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","feedback","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"emptyValue":{"type":"string","minLength":1},"invalidNumber":{"type":"string","minLength":1},"noMatches":{"type":"string","minLength":1},"ok":{"type":"string","minLength":1},"pageNotFound":{"type":"string","minLength":1},"refresh":{"type":"string","minLength":1}},"required":["emptyValue","invalidNumber","noMatches","ok","pageNotFound","refresh"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"centerOptionsEnabled":{"type":"boolean"},"localeToggleEnabled":{"type":"boolean"},"settingsButtonEnabled":{"type":"boolean"}},"required":["centerOptionsEnabled","localeToggleEnabled","settingsButtonEnabled"]}},"required":["options"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"multiSelectDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"galleryThumbChunkedResizingEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"}},"required":["galleryThumbChunkedResizingEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","pageModeEnabled"]},"content":{"type":"object","properties":{"select":{"type":"string","minLength":1},"selectAll":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["select","selectAll","title"]}},"required":["options","content"]},"pagingHeaderPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoCompleteBoxEnabled":{"type":"boolean"},"galleryButtonEnabled":{"type":"boolean"},"imageSelectionBoxEnabled":{"type":"boolean"},"pageModeEnabled":{"type":"boolean"},"pagingToggleEnabled":{"type":"boolean"}},"required":["autoCompleteBoxEnabled","galleryButtonEnabled","imageSelectionBoxEnabled","pageModeEnabled","pagingToggleEnabled"]},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"emptyValue":{"type":"string","minLength":1},"first":{"type":"string","minLength":1},"firstImage":{"type":"string","minLength":1},"firstPage":{"type":"string","minLength":1},"folio":{"type":"string","minLength":1},"gallery":{"type":"string","minLength":1},"go":{"type":"string","minLength":1},"help":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"last":{"type":"string","minLength":1},"lastImage":{"type":"string","minLength":1},"lastPage":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"nextImage":{"type":"string","minLength":1},"nextPage":{"type":"string","minLength":1},"of":{"type":"string","minLength":1},"oneUp":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"pageSearchLabel":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"previousImage":{"type":"string","minLength":1},"previousPage":{"type":"string","minLength":1},"settings":{"type":"string","minLength":1},"twoUp":{"type":"string","minLength":1}},"required":["close","emptyValue","first","firstImage","firstPage","folio","gallery","go","help","image","last","lastImage","lastPage","next","nextImage","nextPage","of","oneUp","page","pageSearchLabel","previous","previousImage","previousPage","settings","twoUp"]}},"required":["options","content"]},"seadragonCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"animationTime":{"type":"number"},"autoHideControls":{"type":"boolean"},"attributionEnabled":{"type":"boolean"},"blendTime":{"type":"number"},"constrainDuringPan":{"type":"boolean"},"controlsFadeAfterInactive":{"type":"number"},"controlsFadeDelay":{"type":"number"},"controlsFadeLength":{"type":"number"},"defaultZoomLevel":{"type":"number"},"immediateRender":{"type":"boolean"},"maxZoomPixelRatio":{"type":"number"},"navigatorPosition":{"type":"string","minLength":1},"pageGap":{"type":"number"},"showHomeControl":{"type":"boolean"},"trimAttributionCount":{"type":"number"},"visibilityRatio":{"type":"number"}},"required":["animationTime","autoHideControls","attributionEnabled","blendTime","constrainDuringPan","controlsFadeAfterInactive","controlsFadeDelay","controlsFadeLength","defaultZoomLevel","immediateRender","maxZoomPixelRatio","navigatorPosition","pageGap","showHomeControl","trimAttributionCount","visibilityRatio"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"goHome":{"type":"string","minLength":1},"imageUnavailable":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"rotateRight":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["attribution","goHome","imageUnavailable","next","previous","rotateRight","zoomIn","zoomOut"]}},"required":["options","content"]},"searchFooterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideDetailsTermsCount":{"type":"number"},"elideResultsTermsCount":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"positionMarkerEnabled":{"type":"boolean"}},"required":["elideDetailsTermsCount","elideResultsTermsCount","pageModeEnabled","positionMarkerEnabled"]},"content":{"type":"object","properties":{"clearSearch":{"type":"string","minLength":1},"defaultLabel":{"type":"string","minLength":1},"displaying":{"type":"string","minLength":1},"enterKeyword":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"imageCaps":{"type":"string","minLength":1},"instanceFound":{"type":"string","minLength":1},"instancesFound":{"type":"string","minLength":1},"nextResult":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"pageCaps":{"type":"string","minLength":1},"previousResult":{"type":"string","minLength":1},"print":{"type":"string","minLength":1},"resultFoundFor":{"type":"string","minLength":1},"resultsFoundFor":{"type":"string","minLength":1},"searchWithin":{"type":"string","minLength":1}},"required":["clearSearch","defaultLabel","displaying","enterKeyword","image","imageCaps","instanceFound","instancesFound","nextResult","page","pageCaps","previousResult","print","resultFoundFor","resultsFoundFor","searchWithin"]}},"required":["options","content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"navigatorEnabled":{"type":"string","minLength":1},"clickToZoomEnabled":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","navigatorEnabled","clickToZoomEnabled","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1},"instructionsEnabled":{"type":"boolean"},"shareFrameEnabled":{"type":"boolean"}},"required":["embedTemplate","instructionsEnabled","shareFrameEnabled"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"authDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"cancel":{"type":"string","minLength":1},"confirm":{"type":"string","minLength":1}},"required":["cancel","confirm"]}},"required":["content"]},"clickThroughDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"viewTerms":{"type":"string","minLength":1}},"required":["viewTerms"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"logout":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","logout","cancel"]}},"required":["content"]},"mobileFooterPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"rotateRight":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["rotateRight","moreInfo","zoomIn","zoomOut"]}},"required":["content"]},"restrictedDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"cancel":{"type":"string","minLength":1}},"required":["cancel"]}},"required":["content"]}},"required":["contentLeftPanel","dialogue","downloadDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","multiSelectDialogue","pagingHeaderPanel","seadragonCenterPanel","searchFooterPanel","settingsDialogue","shareDialogue","authDialogue","clickThroughDialogue","loginDialogue","mobileFooterPanel","restrictedDialogue"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"canvasIndexOutOfRange":{"type":"string","minLength":1},"fallbackDegradedLabel":{"type":"string","minLength":1},"fallbackDegradedMessage":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1},"termsOfUse":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","canvasIndexOutOfRange","fallbackDegradedLabel","fallbackDegradedMessage","forbiddenResourceMessage","termsOfUse"]}},"required":["options","modules","localisation","content"]} | ||
{"$schema":"http://json-schema.org/draft-04/schema#","description":"","type":"object","properties":{"options":{"type":"object","properties":{"allowStealFocus":{"type":"boolean"},"authAPIVersion":{"type":"number"},"bookmarkThumbHeight":{"type":"number"},"bookmarkThumbWidth":{"type":"number"},"dropEnabled":{"type":"boolean"},"footerPanelEnabled":{"type":"boolean"},"headerPanelEnabled":{"type":"boolean"},"leftPanelEnabled":{"type":"boolean"},"limitLocales":{"type":"boolean"},"metrics":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["type","minWidth","maxWidth","minHeight","maxHeight"],"properties":{"type":{"type":"string","minLength":1},"minWidth":{"type":"number"},"maxWidth":{"type":"number"},"minHeight":{"type":"number"},"maxHeight":{"type":"number"}}}},"multiSelectionMimeType":{"type":"string","minLength":1},"navigatorEnabled":{"type":"boolean"},"openTemplate":{"type":"string","minLength":1},"overrideFullScreen":{"type":"boolean"},"pagingEnabled":{"type":"boolean"},"pagingOptionEnabled":{"type":"boolean"},"pessimisticAccessControl":{"type":"boolean"},"preserveViewport":{"type":"boolean"},"rightPanelEnabled":{"type":"boolean"},"saveUserSettings":{"type":"boolean"},"clickToZoomEnabled":{"type":"boolean"},"searchWithinEnabled":{"type":"boolean"},"termsOfUseEnabled":{"type":"boolean"},"theme":{"type":"string","minLength":1},"tokenStorage":{"type":"string","minLength":1},"useArrowKeysToNavigate":{"type":"boolean"},"zoomToSearchResultEnabled":{"type":"boolean"},"zoomToBoundsEnabled":{"type":"boolean"}},"required":["allowStealFocus","authAPIVersion","bookmarkThumbHeight","bookmarkThumbWidth","dropEnabled","footerPanelEnabled","headerPanelEnabled","leftPanelEnabled","limitLocales","metrics","multiSelectionMimeType","navigatorEnabled","openTemplate","overrideFullScreen","pagingEnabled","pagingOptionEnabled","pessimisticAccessControl","preserveViewport","rightPanelEnabled","saveUserSettings","clickToZoomEnabled","searchWithinEnabled","termsOfUseEnabled","theme","tokenStorage","useArrowKeysToNavigate","zoomToSearchResultEnabled","zoomToBoundsEnabled"]},"modules":{"type":"object","properties":{"contentLeftPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoExpandTreeEnabled":{"type":"boolean"},"autoExpandTreeIfFewerThan":{"type":"number"},"branchNodesSelectable":{"type":"boolean"},"defaultToTreeEnabled":{"type":"boolean"},"defaultToTreeIfGreaterThan":{"type":"number"},"elideCount":{"type":"number"},"expandFullEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"oneColThumbHeight":{"type":"number"},"oneColThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"tabOrder":{"type":"string"},"thumbsEnabled":{"type":"boolean"},"thumbsExtraHeight":{"type":"number"},"thumbsImageFadeInDuration":{"type":"number"},"thumbsLoadRange":{"type":"number"},"treeEnabled":{"type":"boolean"},"twoColThumbHeight":{"type":"number"},"twoColThumbWidth":{"type":"number"}},"required":["autoExpandTreeEnabled","autoExpandTreeIfFewerThan","branchNodesSelectable","defaultToTreeEnabled","defaultToTreeIfGreaterThan","elideCount","expandFullEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","oneColThumbHeight","oneColThumbWidth","pageModeEnabled","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","tabOrder","thumbsEnabled","thumbsExtraHeight","thumbsImageFadeInDuration","thumbsLoadRange","treeEnabled","twoColThumbHeight","twoColThumbWidth"]},"content":{"type":"object","properties":{"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"date":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"index":{"type":"string","minLength":1},"manifestRanges":{"type":"string","minLength":1},"searchResult":{"type":"string","minLength":1},"searchResults":{"type":"string","minLength":1},"sortBy":{"type":"string","minLength":1},"thumbnails":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"volume":{"type":"string","minLength":1}},"required":["collapse","collapseFull","date","expand","expandFull","index","manifestRanges","searchResult","searchResults","sortBy","thumbnails","title","volume"]}},"required":["options","content"]},"dialogue":{"type":"object","properties":{"topCloseButtonEnabled":{"type":"boolean"},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1}},"required":["close"]}},"required":["topCloseButtonEnabled","content"]},"downloadDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"confinedImageSize":{"type":"number"},"currentViewDisabledPercentage":{"type":"number"},"maxImageWidth":{"type":"number"},"optionsExplanatoryTextEnabled":{"type":"boolean"},"selectionEnabled":{"type":"boolean"}},"required":["confinedImageSize","currentViewDisabledPercentage","maxImageWidth","optionsExplanatoryTextEnabled","selectionEnabled"]},"content":{"type":"object","properties":{"currentViewAsJpg":{"type":"string","minLength":1},"currentViewAsJpgExplanation":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"downloadSelection":{"type":"string","minLength":1},"downloadSelectionExplanation":{"type":"string","minLength":1},"editSettings":{"type":"string","minLength":1},"entireDocument":{"type":"string","minLength":1},"entireFileAsOriginal":{"type":"string","minLength":1},"noneAvailable":{"type":"string","minLength":1},"pagingNote":{"type":"string","minLength":1},"preview":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"wholeImageHighRes":{"type":"string","minLength":1},"wholeImageHighResExplanation":{"type":"string","minLength":1},"wholeImagesHighRes":{"type":"string","minLength":1},"wholeImagesHighResExplanation":{"type":"string","minLength":1},"wholeImageLowResAsJpg":{"type":"string","minLength":1},"wholeImageLowResAsJpgExplanation":{"type":"string","minLength":1}},"required":["currentViewAsJpg","currentViewAsJpgExplanation","download","downloadSelection","downloadSelectionExplanation","editSettings","entireDocument","entireFileAsOriginal","noneAvailable","pagingNote","preview","title","wholeImageHighRes","wholeImageHighResExplanation","wholeImagesHighRes","wholeImagesHighResExplanation","wholeImageLowResAsJpg","wholeImageLowResAsJpgExplanation"]}},"required":["options","content"]},"footerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autocompleteAllowWords":{"type":"boolean"},"bookmarkEnabled":{"type":"boolean"},"downloadEnabled":{"type":"boolean"},"embedEnabled":{"type":"boolean"},"feedbackEnabled":{"type":"boolean"},"fullscreenEnabled":{"type":"boolean"},"minimiseButtons":{"type":"boolean"},"moreInfoEnabled":{"type":"boolean"},"openEnabled":{"type":"boolean"},"printEnabled":{"type":"boolean"},"shareEnabled":{"type":"boolean"}},"required":["autocompleteAllowWords","bookmarkEnabled","downloadEnabled","embedEnabled","feedbackEnabled","fullscreenEnabled","minimiseButtons","moreInfoEnabled","openEnabled","printEnabled","shareEnabled"]},"content":{"type":"object","properties":{"bookmark":{"type":"string","minLength":1},"download":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"exitFullScreen":{"type":"string","minLength":1},"feedback":{"type":"string","minLength":1},"fullScreen":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"open":{"type":"string","minLength":1},"share":{"type":"string","minLength":1}},"required":["bookmark","download","embed","exitFullScreen","feedback","fullScreen","moreInfo","open","share"]}},"required":["options","content"]},"genericDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"emptyValue":{"type":"string","minLength":1},"invalidNumber":{"type":"string","minLength":1},"noMatches":{"type":"string","minLength":1},"ok":{"type":"string","minLength":1},"pageNotFound":{"type":"string","minLength":1},"refresh":{"type":"string","minLength":1}},"required":["emptyValue","invalidNumber","noMatches","ok","pageNotFound","refresh"]}},"required":["content"]},"headerPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"centerOptionsEnabled":{"type":"boolean"},"localeToggleEnabled":{"type":"boolean"},"settingsButtonEnabled":{"type":"boolean"}},"required":["centerOptionsEnabled","localeToggleEnabled","settingsButtonEnabled"]}},"required":["options"]},"helpDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"text":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["text","title"]}},"required":["content"]},"moreInfoRightPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"canvasDisplayOrder":{"type":"string"},"canvasExclude":{"type":"string"},"copyToClipboardEnabled":{"type":"boolean"},"manifestDisplayOrder":{"type":"string"},"manifestExclude":{"type":"string"},"panelAnimationDuration":{"type":"number"},"panelCollapsedWidth":{"type":"number"},"panelExpandedWidth":{"type":"number"},"panelOpen":{"type":"boolean"},"rtlLanguageCodes":{"type":"string","minLength":1},"showAllLanguages":{"type":"boolean"},"textLimit":{"type":"number"},"textLimitType":{"type":"string","minLength":1}},"required":["canvasDisplayOrder","canvasExclude","copyToClipboardEnabled","manifestDisplayOrder","manifestExclude","panelAnimationDuration","panelCollapsedWidth","panelExpandedWidth","panelOpen","rtlLanguageCodes","showAllLanguages","textLimit","textLimitType"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"collapse":{"type":"string","minLength":1},"collapseFull":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"expand":{"type":"string","minLength":1},"expandFull":{"type":"string","minLength":1},"holdingText":{"type":"string","minLength":1},"less":{"type":"string","minLength":1},"license":{"type":"string","minLength":1},"logo":{"type":"string","minLength":1},"more":{"type":"string","minLength":1},"noData":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"manifestHeader":{"type":"string","minLength":1},"canvasHeader":{"type":"string","minLength":1},"copyToClipboard":{"type":"string","minLength":1},"copiedToClipboard":{"type":"string","minLength":1}},"required":["attribution","collapse","collapseFull","description","expand","expandFull","holdingText","less","license","logo","more","noData","page","title","manifestHeader","canvasHeader","copyToClipboard","copiedToClipboard"]}},"required":["options","content"]},"multiSelectDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"galleryThumbChunkedResizingEnabled":{"type":"boolean"},"galleryThumbChunkedResizingThreshold":{"type":"number"},"galleryThumbHeight":{"type":"number"},"galleryThumbLoadPadding":{"type":"number"},"galleryThumbWidth":{"type":"number"},"pageModeEnabled":{"type":"boolean"}},"required":["galleryThumbChunkedResizingEnabled","galleryThumbChunkedResizingThreshold","galleryThumbHeight","galleryThumbLoadPadding","galleryThumbWidth","pageModeEnabled"]},"content":{"type":"object","properties":{"select":{"type":"string","minLength":1},"selectAll":{"type":"string","minLength":1},"title":{"type":"string","minLength":1}},"required":["select","selectAll","title"]}},"required":["options","content"]},"pagingHeaderPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"autoCompleteBoxEnabled":{"type":"boolean"},"autocompleteAllowWords":{"type":"boolean"},"galleryButtonEnabled":{"type":"boolean"},"imageSelectionBoxEnabled":{"type":"boolean"},"pageModeEnabled":{"type":"boolean"},"pagingToggleEnabled":{"type":"boolean"}},"required":["autoCompleteBoxEnabled","autocompleteAllowWords","galleryButtonEnabled","imageSelectionBoxEnabled","pageModeEnabled","pagingToggleEnabled"]},"content":{"type":"object","properties":{"close":{"type":"string","minLength":1},"emptyValue":{"type":"string","minLength":1},"first":{"type":"string","minLength":1},"firstImage":{"type":"string","minLength":1},"firstPage":{"type":"string","minLength":1},"folio":{"type":"string","minLength":1},"gallery":{"type":"string","minLength":1},"go":{"type":"string","minLength":1},"help":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"last":{"type":"string","minLength":1},"lastImage":{"type":"string","minLength":1},"lastPage":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"nextImage":{"type":"string","minLength":1},"nextPage":{"type":"string","minLength":1},"of":{"type":"string","minLength":1},"oneUp":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"pageSearchLabel":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"previousImage":{"type":"string","minLength":1},"previousPage":{"type":"string","minLength":1},"settings":{"type":"string","minLength":1},"twoUp":{"type":"string","minLength":1}},"required":["close","emptyValue","first","firstImage","firstPage","folio","gallery","go","help","image","last","lastImage","lastPage","next","nextImage","nextPage","of","oneUp","page","pageSearchLabel","previous","previousImage","previousPage","settings","twoUp"]}},"required":["options","content"]},"seadragonCenterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"animationTime":{"type":"number"},"autoHideControls":{"type":"boolean"},"attributionEnabled":{"type":"boolean"},"blendTime":{"type":"number"},"constrainDuringPan":{"type":"boolean"},"controlsFadeAfterInactive":{"type":"number"},"controlsFadeDelay":{"type":"number"},"controlsFadeLength":{"type":"number"},"defaultZoomLevel":{"type":"number"},"immediateRender":{"type":"boolean"},"maxZoomPixelRatio":{"type":"number"},"navigatorPosition":{"type":"string","minLength":1},"pageGap":{"type":"number"},"showHomeControl":{"type":"boolean"},"trimAttributionCount":{"type":"number"},"visibilityRatio":{"type":"number"}},"required":["animationTime","autoHideControls","attributionEnabled","blendTime","constrainDuringPan","controlsFadeAfterInactive","controlsFadeDelay","controlsFadeLength","defaultZoomLevel","immediateRender","maxZoomPixelRatio","navigatorPosition","pageGap","showHomeControl","trimAttributionCount","visibilityRatio"]},"content":{"type":"object","properties":{"attribution":{"type":"string","minLength":1},"goHome":{"type":"string","minLength":1},"imageUnavailable":{"type":"string","minLength":1},"next":{"type":"string","minLength":1},"previous":{"type":"string","minLength":1},"rotateRight":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["attribution","goHome","imageUnavailable","next","previous","rotateRight","zoomIn","zoomOut"]}},"required":["options","content"]},"searchFooterPanel":{"type":"object","properties":{"options":{"type":"object","properties":{"elideDetailsTermsCount":{"type":"number"},"elideResultsTermsCount":{"type":"number"},"forceImageMode":{"type":"boolean"},"pageModeEnabled":{"type":"boolean"},"positionMarkerEnabled":{"type":"boolean"}},"required":["elideDetailsTermsCount","elideResultsTermsCount","forceImageMode","pageModeEnabled","positionMarkerEnabled"]},"content":{"type":"object","properties":{"clearSearch":{"type":"string","minLength":1},"defaultLabel":{"type":"string","minLength":1},"displaying":{"type":"string","minLength":1},"enterKeyword":{"type":"string","minLength":1},"image":{"type":"string","minLength":1},"imageCaps":{"type":"string","minLength":1},"instanceFound":{"type":"string","minLength":1},"instancesFound":{"type":"string","minLength":1},"nextResult":{"type":"string","minLength":1},"page":{"type":"string","minLength":1},"pageCaps":{"type":"string","minLength":1},"previousResult":{"type":"string","minLength":1},"print":{"type":"string","minLength":1},"resultFoundFor":{"type":"string","minLength":1},"resultsFoundFor":{"type":"string","minLength":1},"searchWithin":{"type":"string","minLength":1}},"required":["clearSearch","defaultLabel","displaying","enterKeyword","image","imageCaps","instanceFound","instancesFound","nextResult","page","pageCaps","previousResult","print","resultFoundFor","resultsFoundFor","searchWithin"]}},"required":["options","content"]},"settingsDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"locale":{"type":"string","minLength":1},"navigatorEnabled":{"type":"string","minLength":1},"clickToZoomEnabled":{"type":"string","minLength":1},"pagingEnabled":{"type":"string","minLength":1},"preserveViewport":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"website":{"type":"string","minLength":1}},"required":["locale","navigatorEnabled","clickToZoomEnabled","pagingEnabled","preserveViewport","title","website"]}},"required":["content"]},"shareDialogue":{"type":"object","properties":{"options":{"type":"object","properties":{"embedTemplate":{"type":"string","minLength":1},"instructionsEnabled":{"type":"boolean"},"shareFrameEnabled":{"type":"boolean"}},"required":["embedTemplate","instructionsEnabled","shareFrameEnabled"]},"content":{"type":"object","properties":{"customSize":{"type":"string","minLength":1},"embed":{"type":"string","minLength":1},"embedInstructions":{"type":"string","minLength":1},"height":{"type":"string","minLength":1},"iiif":{"type":"string","minLength":1},"share":{"type":"string","minLength":1},"shareInstructions":{"type":"string","minLength":1},"size":{"type":"string","minLength":1},"width":{"type":"string","minLength":1}},"required":["customSize","embed","embedInstructions","height","iiif","share","shareInstructions","size","width"]}},"required":["options","content"]},"authDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"cancel":{"type":"string","minLength":1},"confirm":{"type":"string","minLength":1}},"required":["cancel","confirm"]}},"required":["content"]},"clickThroughDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"viewTerms":{"type":"string","minLength":1}},"required":["viewTerms"]}},"required":["content"]},"loginDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"login":{"type":"string","minLength":1},"logout":{"type":"string","minLength":1},"cancel":{"type":"string","minLength":1}},"required":["login","logout","cancel"]}},"required":["content"]},"mobileFooterPanel":{"type":"object","properties":{"content":{"type":"object","properties":{"rotateRight":{"type":"string","minLength":1},"moreInfo":{"type":"string","minLength":1},"zoomIn":{"type":"string","minLength":1},"zoomOut":{"type":"string","minLength":1}},"required":["rotateRight","moreInfo","zoomIn","zoomOut"]}},"required":["content"]},"restrictedDialogue":{"type":"object","properties":{"content":{"type":"object","properties":{"cancel":{"type":"string","minLength":1}},"required":["cancel"]}},"required":["content"]}},"required":["contentLeftPanel","dialogue","downloadDialogue","footerPanel","genericDialogue","headerPanel","helpDialogue","moreInfoRightPanel","multiSelectDialogue","pagingHeaderPanel","seadragonCenterPanel","searchFooterPanel","settingsDialogue","shareDialogue","authDialogue","clickThroughDialogue","loginDialogue","mobileFooterPanel","restrictedDialogue"]},"localisation":{"type":"object","properties":{"label":{"type":"string","minLength":1},"locales":{"type":"array","uniqueItems":true,"minItems":1,"items":{"required":["name","label"],"properties":{"name":{"type":"string","minLength":1},"label":{"type":"string","minLength":1}}}}},"required":["label","locales"]},"content":{"type":"object","properties":{"authCORSError":{"type":"string","minLength":1},"authorisationFailedMessage":{"type":"string","minLength":1},"canvasIndexOutOfRange":{"type":"string","minLength":1},"fallbackDegradedLabel":{"type":"string","minLength":1},"fallbackDegradedMessage":{"type":"string","minLength":1},"forbiddenResourceMessage":{"type":"string","minLength":1},"termsOfUse":{"type":"string","minLength":1}},"required":["authCORSError","authorisationFailedMessage","canvasIndexOutOfRange","fallbackDegradedLabel","fallbackDegradedMessage","forbiddenResourceMessage","termsOfUse"]}},"required":["options","modules","localisation","content"]} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
7540842
75
113465
30
1
2