@teipublisher/pb-components 2.12.6 → 2.12.8
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 +15 -0
- package/dist/pb-code-editor.js +1 -1
- package/dist/pb-components-bundle.js +5 -5
- package/dist/pb-edit-app.js +1 -1
- package/dist/pb-elements.json +18 -10
- package/dist/pb-i18n-375ccc5c.js +1 -0
- package/dist/pb-mei.js +1 -1
- package/dist/pb-odd-editor.js +1 -1
- package/dist/{vaadin-element-mixin-660b2157.js → vaadin-element-mixin-ec93018d.js} +1 -1
- package/i18n/common/en.json +4 -1
- package/package.json +1 -1
- package/pb-elements.json +18 -10
- package/src/pb-authority-lookup.js +1 -1
- package/src/pb-combo-box.js +17 -2
- package/src/pb-i18n.js +7 -2
- package/src/pb-view-annotate.js +9 -0
- package/dist/pb-i18n-9000294c.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [2.12.8](https://github.com/eeditiones/tei-publisher-components/compare/v2.12.7...v2.12.8) (2023-10-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **pb-combo-box:** provide getter/setter for current value ([72443d8](https://github.com/eeditiones/tei-publisher-components/commit/72443d880ea252fd1cfe58b43d49cf26a06f8a11))
|
|
7
|
+
|
|
8
|
+
## [2.12.7](https://github.com/eeditiones/tei-publisher-components/compare/v2.12.6...v2.12.7) (2023-10-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **pb-i18n:** support changing options at runtime ([66a9e41](https://github.com/eeditiones/tei-publisher-components/commit/66a9e4107424e84172269e1317d2633298d63e29))
|
|
14
|
+
* **pb-view-annotate:** emit pb-annotations-loaded; refresh incomplete annotation display after list of annotations changed ([b7b1569](https://github.com/eeditiones/tei-publisher-components/commit/b7b1569e77290600bcd73fcd50da4c26c3bcbae0))
|
|
15
|
+
|
|
1
16
|
## [2.12.6](https://github.com/eeditiones/tei-publisher-components/compare/v2.12.5...v2.12.6) (2023-09-01)
|
|
2
17
|
|
|
3
18
|
|
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-d61c06b6.js";import{t as o}from"./pb-i18n-
|
|
1
|
+
import{p as e,L as t,h as i,c as r}from"./pb-mixin-d61c06b6.js";import{t as o}from"./pb-i18n-375ccc5c.js";import"./jinn-codemirror-dc6c3c7c.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`
|