@teipublisher/pb-components 2.10.6 → 2.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/demo/pb-facsimile-2.html +1 -1
- package/dist/es-global-bridge-4240f389.js +5 -0
- package/dist/pb-components-bundle.js +119 -119
- package/dist/pb-elements.json +2 -13
- package/dist/pb-leaflet-map.js +1 -1
- package/package.json +7 -7
- package/pb-elements.json +2 -13
- package/src/pb-facsimile.js +4 -6
- package/src/pb-view.js +6 -3
- package/dist/es-global-bridge-5c039c0b.js +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.10.7](https://github.com/eeditiones/tei-publisher-components/compare/v2.10.6...v2.10.7) (2023-08-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **pb-view:** fix navigation by xml:id ([ff1bd9c](https://github.com/eeditiones/tei-publisher-components/commit/ff1bd9cd27a8d2b550f183dd50d915cffab2dc2a))
|
|
7
|
+
|
|
1
8
|
## [2.10.6](https://github.com/eeditiones/tei-publisher-components/compare/v2.10.5...v2.10.6) (2023-08-06)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
<pb-document id="document1" path="test/cortes_to_dantiscus.xml" odd="dantiscus"></pb-document>
|
|
50
50
|
<main>
|
|
51
51
|
<pb-facsimile base-uri="https://apps.existsolutions.com/cantaloupe/iiif/2/" default-zoom-level="0"
|
|
52
|
-
show-navigator show-navigation-control show-home-control>
|
|
52
|
+
show-navigator show-navigation-control show-home-control subscribe="transcription">
|
|
53
53
|
</pb-facsimile>
|
|
54
54
|
|
|
55
55
|
<!-- Navigate to previous page -->
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2018 The Pennsylvania State University
|
|
3
|
+
* @license Apache-2.0, see License.md for full text.
|
|
4
|
+
*/
|
|
5
|
+
class t{constructor(){this.imports={},this.webpack=!1,this.import=(t,i,e=!1)=>this.load(t,i,e),this.load=(t,i,e=!1)=>{let o=this.imports[t],s=!e&&this.webpack&&this.webpack[t];return new Promise(s||o?(i,e)=>{i(this.imports[t])}:(e,o)=>{const s=document.createElement("script");s.src=i,s.setAttribute("data-name",t),this.imports[t]=i,s.onload=()=>{e(this.imports[t]),this.imports[t]=!0,setTimeout(()=>{const e=new CustomEvent(`es-bridge-${t}-loaded`,{bubbles:!0,cancelable:!0,detail:{name:t,location:i}});document.dispatchEvent(e)},100)},s.onerror=()=>{o(new Error(`Failed to load ${t} script with location ${i}.`)),delete this.imports[t],this.imports[t]=!1},document.documentElement.appendChild(s)})}}}window.ESGlobalBridge=window.ESGlobalBridge||{},window.ESGlobalBridge.requestAvailability=()=>(window.ESGlobalBridge.instance||(window.ESGlobalBridge.instance=new t),window.ESGlobalBridge.instance);window.ESGlobalBridge.requestAvailability();
|