@things-factory/operato-board 6.0.55 → 6.0.56
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.
|
@@ -169,13 +169,27 @@ export class BoardInfo extends LitElement {
|
|
|
169
169
|
<fieldset>
|
|
170
170
|
<legend>${i18next.t('label.information')}</legend>
|
|
171
171
|
<label>${i18next.t('label.name')}</label>
|
|
172
|
-
<input
|
|
172
|
+
<input
|
|
173
|
+
type="text"
|
|
174
|
+
.value=${board.name}
|
|
175
|
+
@change=${e => (this.board.name = e.target.value)}
|
|
176
|
+
?disabled=${!this.enableModeller}
|
|
177
|
+
/>
|
|
173
178
|
|
|
174
179
|
<label>${i18next.t('label.description')}</label>
|
|
175
|
-
<input
|
|
180
|
+
<input
|
|
181
|
+
type="text"
|
|
182
|
+
.value=${board.description}
|
|
183
|
+
@change=${e => (this.board.description = e.target.value)}
|
|
184
|
+
?disabled=${!this.enableModeller}
|
|
185
|
+
/>
|
|
176
186
|
|
|
177
187
|
<label>${i18next.t('label.group')}</label>
|
|
178
|
-
<select
|
|
188
|
+
<select
|
|
189
|
+
@change=${e => (this.board.groupId = e.target.value)}
|
|
190
|
+
.value=${this.groupId}
|
|
191
|
+
?disabled=${!this.enableModeller}
|
|
192
|
+
>
|
|
179
193
|
<option value="" ?selected=${'' == this.groupId}></option>
|
|
180
194
|
${boardGroupList.map(
|
|
181
195
|
item => html` <option .value=${item.id} ?selected=${item.id == this.groupId}>${item.name}</option> `
|
|
@@ -199,6 +213,7 @@ export class BoardInfo extends LitElement {
|
|
|
199
213
|
raised
|
|
200
214
|
danger
|
|
201
215
|
label=${i18next.t('button.delete')}
|
|
216
|
+
?disabled=${!this.enableModeller}
|
|
202
217
|
@click=${this.deleteBoard.bind(this)}
|
|
203
218
|
icon="delete_outline"
|
|
204
219
|
></mwc-button>
|
|
@@ -206,6 +221,7 @@ export class BoardInfo extends LitElement {
|
|
|
206
221
|
dense
|
|
207
222
|
raised
|
|
208
223
|
label=${i18next.t('button.save')}
|
|
224
|
+
?disabled=${!this.enableModeller}
|
|
209
225
|
@click=${this.updateBoard.bind(this)}
|
|
210
226
|
icon="done"
|
|
211
227
|
></mwc-button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-board",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.56",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"@things-factory/board-test": "^6.0.54",
|
|
114
114
|
"@things-factory/builder": "^6.0.49"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "f447abe4438f3a0ac1dc656cf7e11198c3dec753"
|
|
117
117
|
}
|