@startinblox/core 0.19.21-beta.1 → 0.19.21-beta.2
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/dist/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12175,6 +12175,10 @@ const EditableMixin = {
|
|
|
12175
12175
|
valueId: {
|
|
12176
12176
|
type: String,
|
|
12177
12177
|
default: ""
|
|
12178
|
+
},
|
|
12179
|
+
buttonLabel: {
|
|
12180
|
+
type: String,
|
|
12181
|
+
default: "Modifier"
|
|
12178
12182
|
}
|
|
12179
12183
|
},
|
|
12180
12184
|
created() {
|
|
@@ -12183,10 +12187,7 @@ const EditableMixin = {
|
|
|
12183
12187
|
addEditButton(template, listTemplateAdditions) {
|
|
12184
12188
|
let newTemplate = null;
|
|
12185
12189
|
if (this.editable !== null) {
|
|
12186
|
-
newTemplate = html$1
|
|
12187
|
-
${template}
|
|
12188
|
-
<button @click=${this.activateEditableField.bind(this)}>Modifier</button>
|
|
12189
|
-
`;
|
|
12190
|
+
newTemplate = html$1`${template}<button @click=${this.activateEditableField.bind(this)}>${this.buttonLabel}</button>`;
|
|
12190
12191
|
}
|
|
12191
12192
|
const nextProcessor = listTemplateAdditions.shift();
|
|
12192
12193
|
if (nextProcessor)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startinblox/core",
|
|
3
|
-
"version": "0.19.21-beta.
|
|
3
|
+
"version": "0.19.21-beta.2",
|
|
4
4
|
"description": "This is a series of web component respecting both the web components standards and the Linked Data Platform convention.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|