@teipublisher/pb-components 2.5.0 → 2.6.0
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 +14 -0
- package/Dockerfile +2 -4
- package/dist/pb-code-editor.js +1 -1
- package/dist/pb-components-bundle.js +11 -11
- package/dist/pb-edit-app.js +1 -1
- package/dist/{pb-i18n-aa0bfb74.js → pb-i18n-f7a50012.js} +1 -1
- package/dist/pb-leaflet-map.js +1 -1
- package/dist/{pb-mixin-47974747.js → pb-mixin-ea2e9070.js} +1 -1
- package/dist/pb-odd-editor.js +1 -1
- package/dist/{vaadin-element-mixin-ba82e638.js → vaadin-element-mixin-b6179444.js} +1 -1
- package/package.json +1 -1
- package/src/authority/{gf.js → anton.js} +7 -5
- package/src/authority/connectors.js +3 -2
- package/src/pb-mixin.js +14 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.6.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.5.1...v2.6.0) (2023-07-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **authority:** renamed gf.js to anton.js and made endpoint and provider name configurable ([5dc6943](https://github.com/eeditiones/tei-publisher-components/commit/5dc69436644954d813801faf09e1c50f565b5d6e))
|
|
7
|
+
|
|
8
|
+
## [2.5.1](https://github.com/eeditiones/tei-publisher-components/compare/v2.5.0...v2.5.1) (2023-06-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **pb-mixin:** emitting/subscribing to default channel failed, in particular for ([d7fa70a](https://github.com/eeditiones/tei-publisher-components/commit/d7fa70a1bc3f28bd2c4453275dad2c86b3a5e83e))
|
|
14
|
+
|
|
1
15
|
# [2.5.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.4.8...v2.5.0) (2023-05-15)
|
|
2
16
|
|
|
3
17
|
|
package/Dockerfile
CHANGED
|
@@ -25,9 +25,7 @@ RUN curl -L -o apache-ant-${ANT_VERSION}-bin.tar.gz http://www.apache.org/dist/a
|
|
|
25
25
|
|
|
26
26
|
ENV PATH ${PATH}:${ANT_HOME}/bin
|
|
27
27
|
|
|
28
|
-
RUN
|
|
29
|
-
&& apt-get install -y nodejs \
|
|
30
|
-
&& curl -L https://www.npmjs.com/install.sh | sh
|
|
28
|
+
RUN apt-get update && apt-get install -y nodejs npm
|
|
31
29
|
|
|
32
30
|
FROM builder as tei
|
|
33
31
|
|
|
@@ -89,4 +87,4 @@ ENV JAVA_TOOL_OPTIONS \
|
|
|
89
87
|
# pre-populate the database by launching it once
|
|
90
88
|
RUN [ "java", \
|
|
91
89
|
"org.exist.start.Main", "client", "-l", \
|
|
92
|
-
"--no-gui", "--xpath", "system:get-version()" ]
|
|
90
|
+
"--no-gui", "--xpath", "system:get-version()" ]
|
package/dist/pb-code-editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as e,L as t,h as i,c as r}from"./pb-mixin-
|
|
1
|
+
import{p as e,L as t,h as i,c as r}from"./pb-mixin-ea2e9070.js";import{t as o}from"./pb-i18n-f7a50012.js";import"./jinn-codemirror-9718e0e0.js";class s extends(e(t)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{code:{type:String,reflect:!0},mode:{type:String},label:{type:String},placeholder:{type:String},tabSize:{type:Number},linter:{attribute:!0}})}constructor(){super(),this.code="",this.mode="xml",this.placeholder="odd.editor.model.empty",this.tabSize=2,this.label="",this.linter="",this._editor=null}connectedCallback(){super.connectedCallback()}firstUpdated(){super.firstUpdated(),this._editor=this.shadowRoot.getElementById("editor")}render(){return i`
|
|
2
2
|
<div class="label">${this.label}</div>
|
|
3
3
|
<jinn-codemirror id="editor" mode="${this.mode}" code="${this.code}" placeholder="${o(this.placeholder)}"></jinn-codemirror>
|
|
4
4
|
`}getSource(){return this._editor?this._editor.value:""}_setCode(){this.dispatchEvent(new CustomEvent("code-changed",{composed:!0,bubbles:!0,detail:{code:this.getSource()}}))}refresh(){}static get styles(){return r`
|