@operato/board 0.3.21 → 0.3.27
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 +50 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +4 -2
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/effects.d.ts +1 -0
- package/dist/src/modeller/property-sidebar/effects/effects.js +5 -2
- package/dist/src/modeller/property-sidebar/effects/effects.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-animations.d.ts +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-animations.js +5 -2
- package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +1 -0
- package/dist/src/modeller/property-sidebar/effects/property-event.js +4 -3
- package/dist/src/modeller/property-sidebar/effects/property-event.js.map +1 -1
- package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +1 -0
- package/dist/src/modeller/property-sidebar/shapes/shapes.js +9 -8
- package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specifics.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specifics.js +3 -3
- package/dist/src/modeller/property-sidebar/specifics/specifics.js.map +1 -1
- package/dist/src/modeller/property-sidebar/styles/styles.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/styles/styles.js +7 -7
- package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -14
- package/src/modeller/property-sidebar/data-binding/data-binding.ts +4 -2
- package/src/modeller/property-sidebar/effects/effects.ts +5 -2
- package/src/modeller/property-sidebar/effects/property-animations.ts +7 -3
- package/src/modeller/property-sidebar/effects/property-event.ts +6 -4
- package/src/modeller/property-sidebar/shapes/shapes.ts +9 -8
- package/src/modeller/property-sidebar/specifics/specifics.ts +5 -4
- package/src/modeller/property-sidebar/styles/styles.ts +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/board",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.27",
|
|
4
4
|
"description": "Webcomponent for board following open-wc recommendations",
|
|
5
5
|
"author": "heartyoh",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,18 +49,17 @@
|
|
|
49
49
|
"storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@operato/data-grist": "^0.3.
|
|
53
|
-
"@operato/graphql": "^0.3.
|
|
54
|
-
"@operato/i18n": "^0.3.
|
|
55
|
-
"@operato/input": "^0.3.
|
|
56
|
-
"@operato/markdown": "^0.3.
|
|
57
|
-
"@operato/popup": "^0.3.
|
|
58
|
-
"@operato/property-editor": "^0.3.
|
|
59
|
-
"@operato/styles": "^0.3.
|
|
60
|
-
"@operato/utils": "^0.3.
|
|
52
|
+
"@operato/data-grist": "^0.3.27",
|
|
53
|
+
"@operato/graphql": "^0.3.27",
|
|
54
|
+
"@operato/i18n": "^0.3.27",
|
|
55
|
+
"@operato/input": "^0.3.27",
|
|
56
|
+
"@operato/markdown": "^0.3.27",
|
|
57
|
+
"@operato/popup": "^0.3.27",
|
|
58
|
+
"@operato/property-editor": "^0.3.27",
|
|
59
|
+
"@operato/styles": "^0.3.27",
|
|
60
|
+
"@operato/utils": "^0.3.27",
|
|
61
61
|
"@polymer/paper-dropdown-menu": "^3.2.0",
|
|
62
|
-
"@things-factory/
|
|
63
|
-
"@things-factory/modeller-ui": "^4.0.27",
|
|
62
|
+
"@things-factory/modeller-ui": "^4.0.41",
|
|
64
63
|
"@types/file-saver": "^2.0.4",
|
|
65
64
|
"@types/sortablejs": "^1.10.7",
|
|
66
65
|
"file-saver": "^2.0.5",
|
|
@@ -71,7 +70,7 @@
|
|
|
71
70
|
"devDependencies": {
|
|
72
71
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
|
73
72
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
74
|
-
"@hatiolab/things-scene": "^2.7.
|
|
73
|
+
"@hatiolab/things-scene": "^2.7.34",
|
|
75
74
|
"@material/mwc-fab": "^0.25.3",
|
|
76
75
|
"@material/mwc-icon": "^0.25.3",
|
|
77
76
|
"@open-wc/eslint-config": "^4.3.0",
|
|
@@ -107,5 +106,5 @@
|
|
|
107
106
|
"prettier --write"
|
|
108
107
|
]
|
|
109
108
|
},
|
|
110
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "fd08d299b6713bc48a71c8f5c113cb32348a3930"
|
|
111
110
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import './data-binding-mapper'
|
|
6
6
|
import '@material/mwc-icon'
|
|
7
|
-
import '@
|
|
7
|
+
import '@operato/help/ox-title-with-help.js'
|
|
8
8
|
import '@operato/input/ox-buttons-radio.js'
|
|
9
9
|
import '@operato/input/ox-input-data.js'
|
|
10
10
|
import '@operato/i18n/ox-i18n.js'
|
|
@@ -202,7 +202,9 @@ class PropertyDataBinding extends AbstractProperty {
|
|
|
202
202
|
return html`
|
|
203
203
|
<fieldset>
|
|
204
204
|
<legend>
|
|
205
|
-
<title-with-help topic="board-modeller/data-binding" msgid="label.identifier"
|
|
205
|
+
<ox-title-with-help topic="board-modeller/data-binding" msgid="label.identifier"
|
|
206
|
+
>identifier</ox-title-with-help
|
|
207
|
+
>
|
|
206
208
|
</legend>
|
|
207
209
|
<div class="property-grid">
|
|
208
210
|
<label> <ox-i18n msgid="label.id">ID</ox-i18n> </label>
|
|
@@ -6,6 +6,7 @@ import './property-animations'
|
|
|
6
6
|
import './property-event'
|
|
7
7
|
import './property-shadow'
|
|
8
8
|
import '@operato/i18n/ox-i18n.js'
|
|
9
|
+
import '@operato/help/ox-title-with-help.js'
|
|
9
10
|
|
|
10
11
|
import { html } from 'lit'
|
|
11
12
|
import { customElement, property } from 'lit/decorators.js'
|
|
@@ -32,7 +33,7 @@ class PropertyEffects extends AbstractProperty {
|
|
|
32
33
|
return html`
|
|
33
34
|
<fieldset>
|
|
34
35
|
<legend>
|
|
35
|
-
<title-with-help topic="board-modeller/effects/shadow" msgid="label.shadow">shadow</title-with-help>
|
|
36
|
+
<ox-title-with-help topic="board-modeller/effects/shadow" msgid="label.shadow">shadow</ox-title-with-help>
|
|
36
37
|
</legend>
|
|
37
38
|
|
|
38
39
|
<property-shadow value-key="shadow" .value=${value.shadow || {}}> </property-shadow>
|
|
@@ -40,7 +41,9 @@ class PropertyEffects extends AbstractProperty {
|
|
|
40
41
|
|
|
41
42
|
<fieldset>
|
|
42
43
|
<legend>
|
|
43
|
-
<title-with-help topic="board-modeller/effects/retention" msgid="label.retention"
|
|
44
|
+
<ox-title-with-help topic="board-modeller/effects/retention" msgid="label.retention"
|
|
45
|
+
>retention</ox-title-with-help
|
|
46
|
+
>
|
|
44
47
|
</legend>
|
|
45
48
|
|
|
46
49
|
<div class="property-grid">
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import './property-animation'
|
|
6
6
|
import '@material/mwc-icon'
|
|
7
|
+
import '@operato/help/ox-title-with-help.js'
|
|
7
8
|
|
|
8
|
-
import {
|
|
9
|
-
import { Properties, Scene } from '@hatiolab/things-scene'
|
|
9
|
+
import { css, html, LitElement } from 'lit'
|
|
10
10
|
import { customElement, property, state } from 'lit/decorators.js'
|
|
11
11
|
|
|
12
|
+
import { Properties, Scene } from '@hatiolab/things-scene'
|
|
13
|
+
|
|
12
14
|
import { PropertySharedStyle } from '../property-shared-style'
|
|
13
15
|
import { convert } from './value-converter'
|
|
14
16
|
|
|
@@ -50,7 +52,9 @@ class PropertyAnimations extends LitElement {
|
|
|
50
52
|
return html`
|
|
51
53
|
<fieldset collapsable ?collapsed=${!this._expanded}>
|
|
52
54
|
<legend>
|
|
53
|
-
<title-with-help topic="board-modeller/effects/animation" msgid="label.animation"
|
|
55
|
+
<ox-title-with-help topic="board-modeller/effects/animation" msgid="label.animation"
|
|
56
|
+
>animation</ox-title-with-help
|
|
57
|
+
>
|
|
54
58
|
<mwc-icon
|
|
55
59
|
@click=${() => {
|
|
56
60
|
this._expanded = !this._expanded
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import './property-event-hover'
|
|
6
6
|
import './property-event-tap'
|
|
7
|
+
import '@operato/help/ox-title-with-help.js'
|
|
7
8
|
|
|
8
|
-
import {
|
|
9
|
-
import { Properties, Scene } from '@hatiolab/things-scene'
|
|
9
|
+
import { html, LitElement } from 'lit'
|
|
10
10
|
import { customElement, property } from 'lit/decorators.js'
|
|
11
11
|
|
|
12
|
+
import { Properties, Scene } from '@hatiolab/things-scene'
|
|
13
|
+
|
|
12
14
|
import { PropertySharedStyle } from '../property-shared-style'
|
|
13
15
|
import { convert } from './value-converter'
|
|
14
16
|
|
|
@@ -29,7 +31,7 @@ class PropertyEvent extends LitElement {
|
|
|
29
31
|
return html`
|
|
30
32
|
<fieldset>
|
|
31
33
|
<legend>
|
|
32
|
-
<title-with-help msgid="label.hover-event" topic="board-modeller/effects/hover-event"></title-with-help>
|
|
34
|
+
<ox-title-with-help msgid="label.hover-event" topic="board-modeller/effects/hover-event"></ox-title-with-help>
|
|
33
35
|
</legend>
|
|
34
36
|
|
|
35
37
|
<property-event-hover value-key="hover" .scene=${this.scene} .value=${value.hover || {}}>
|
|
@@ -38,7 +40,7 @@ class PropertyEvent extends LitElement {
|
|
|
38
40
|
|
|
39
41
|
<fieldset>
|
|
40
42
|
<legend>
|
|
41
|
-
<title-with-help msgid="label.tap-event" topic="board-modeller/effects/tap-event"></title-with-help>
|
|
43
|
+
<ox-title-with-help msgid="label.tap-event" topic="board-modeller/effects/tap-event"></ox-title-with-help>
|
|
42
44
|
</legend>
|
|
43
45
|
|
|
44
46
|
<property-event-tap value-key="tap" .scene=${this.scene} .value=${value.tap || {}}> </property-event-tap>
|
|
@@ -6,6 +6,7 @@ import '@operato/input/ox-input-angle.js'
|
|
|
6
6
|
import '@operato/input/ox-buttons-radio.js'
|
|
7
7
|
import '@material/mwc-icon'
|
|
8
8
|
import '@operato/i18n/ox-i18n.js'
|
|
9
|
+
import '@operato/help/ox-title-with-help.js'
|
|
9
10
|
|
|
10
11
|
import { css, html } from 'lit'
|
|
11
12
|
import { customElement, property, state } from 'lit/decorators.js'
|
|
@@ -194,7 +195,7 @@ class PropertyShapes extends AbstractProperty {
|
|
|
194
195
|
? html`
|
|
195
196
|
<fieldset class="icon-label unit ratio">
|
|
196
197
|
<legend>
|
|
197
|
-
<title-with-help topic="board-modeller/shapes/size" msgid="label.size">size</title-with-help>
|
|
198
|
+
<ox-title-with-help topic="board-modeller/shapes/size" msgid="label.size">size</ox-title-with-help>
|
|
198
199
|
</legend>
|
|
199
200
|
|
|
200
201
|
<div class="property-grid">
|
|
@@ -217,7 +218,7 @@ class PropertyShapes extends AbstractProperty {
|
|
|
217
218
|
? html`
|
|
218
219
|
<fieldset class="icon-label unit ratio" collapsable ?collapsed=${!this._3dExpanded}>
|
|
219
220
|
<legend>
|
|
220
|
-
<title-with-help topic="board-modeller/shapes/3dish" msgid="label.3dish">3D</title-with-help>
|
|
221
|
+
<ox-title-with-help topic="board-modeller/shapes/3dish" msgid="label.3dish">3D</ox-title-with-help>
|
|
221
222
|
<mwc-icon
|
|
222
223
|
@click=${(e: Event) => {
|
|
223
224
|
this._3dExpanded = !this._3dExpanded
|
|
@@ -248,8 +249,8 @@ class PropertyShapes extends AbstractProperty {
|
|
|
248
249
|
? html`
|
|
249
250
|
<fieldset>
|
|
250
251
|
<legend>
|
|
251
|
-
<title-with-help topic="board-modeller/shapes/text-box" msgid="label.text-box"
|
|
252
|
-
>text box</title-with-help
|
|
252
|
+
<ox-title-with-help topic="board-modeller/shapes/text-box" msgid="label.text-box"
|
|
253
|
+
>text box</ox-title-with-help
|
|
253
254
|
>
|
|
254
255
|
</legend>
|
|
255
256
|
|
|
@@ -305,8 +306,8 @@ class PropertyShapes extends AbstractProperty {
|
|
|
305
306
|
? html`
|
|
306
307
|
<fieldset class="icon-label">
|
|
307
308
|
<legend>
|
|
308
|
-
<title-with-help topic="board-modeller/shapes/viewer-option" msgid="label.viewer-option"
|
|
309
|
-
>Viewer Option</title-with-help
|
|
309
|
+
<ox-title-with-help topic="board-modeller/shapes/viewer-option" msgid="label.viewer-option"
|
|
310
|
+
>Viewer Option</ox-title-with-help
|
|
310
311
|
>
|
|
311
312
|
</legend>
|
|
312
313
|
|
|
@@ -323,8 +324,8 @@ class PropertyShapes extends AbstractProperty {
|
|
|
323
324
|
</fieldset>
|
|
324
325
|
<fieldset class="icon-label">
|
|
325
326
|
<legend>
|
|
326
|
-
<title-with-help topic="board-modeller/shapes/print-option" msgid="label.label-print"
|
|
327
|
-
>Print Option</title-with-help
|
|
327
|
+
<ox-title-with-help topic="board-modeller/shapes/print-option" msgid="label.label-print"
|
|
328
|
+
>Print Option</ox-title-with-help
|
|
328
329
|
>
|
|
329
330
|
</legend>
|
|
330
331
|
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import '@
|
|
5
|
+
import '@operato/help/ox-help-icon.js'
|
|
6
6
|
import './specific-properties-builder'
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import { LitElement, css, html } from 'lit'
|
|
8
|
+
import { css, html, LitElement } from 'lit'
|
|
10
9
|
import { customElement, property } from 'lit/decorators.js'
|
|
11
10
|
|
|
11
|
+
import { Component, Scene } from '@hatiolab/things-scene'
|
|
12
|
+
|
|
12
13
|
import { PropertySharedStyle } from '../property-shared-style'
|
|
13
14
|
|
|
14
15
|
@customElement('property-specific')
|
|
@@ -53,7 +54,7 @@ class PropertySpecific extends LitElement {
|
|
|
53
54
|
const value = this.value || {}
|
|
54
55
|
|
|
55
56
|
return html`
|
|
56
|
-
<label>${value.type}<help-icon .topic=${selected?.nature?.help}></help-icon></label>
|
|
57
|
+
<label>${value.type}<ox-help-icon .topic=${selected?.nature?.help}></ox-help-icon></label>
|
|
57
58
|
|
|
58
59
|
<specific-properties-builder .value=${value} .props=${this.props} .propertyEditor=${this.propertyEditor}>
|
|
59
60
|
</specific-properties-builder>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import '@polymer/paper-dropdown-menu/paper-dropdown-menu'
|
|
6
|
-
import '@
|
|
6
|
+
import '@operato/help/ox-title-with-help.js'
|
|
7
7
|
import '@things-factory/modeller-ui/client/editors/things-editor-color'
|
|
8
8
|
import '@things-factory/modeller-ui/client/editors/things-editor-color-style'
|
|
9
9
|
import '@things-factory/modeller-ui/client/editors/things-editor-font-selector'
|
|
@@ -357,15 +357,15 @@ class PropertyStyles extends AbstractProperty {
|
|
|
357
357
|
return html`
|
|
358
358
|
<fieldset>
|
|
359
359
|
<legend>
|
|
360
|
-
<title-with-help topic="board-modeller/styles/opacity" msgid="label.opacity">opacity</title-with-help>
|
|
360
|
+
<ox-title-with-help topic="board-modeller/styles/opacity" msgid="label.opacity">opacity</ox-title-with-help>
|
|
361
361
|
</legend>
|
|
362
362
|
<paper-slider min="0" max="1" step="0.1" value-key="alpha" .value=${alpha || 1} editable> </paper-slider>
|
|
363
363
|
</fieldset>
|
|
364
364
|
|
|
365
365
|
<fieldset>
|
|
366
366
|
<legend>
|
|
367
|
-
<title-with-help topic="board-modeller/styles/text-style" msgid="label.text-style"
|
|
368
|
-
>text style</title-with-help
|
|
367
|
+
<ox-title-with-help topic="board-modeller/styles/text-style" msgid="label.text-style"
|
|
368
|
+
>text style</ox-title-with-help
|
|
369
369
|
>
|
|
370
370
|
</legend>
|
|
371
371
|
|
|
@@ -401,8 +401,8 @@ class PropertyStyles extends AbstractProperty {
|
|
|
401
401
|
|
|
402
402
|
<fieldset>
|
|
403
403
|
<legend>
|
|
404
|
-
<title-with-help topic="board-modeller/styles/fill-style" msgid="label.fill-style"
|
|
405
|
-
>fill style</title-with-help
|
|
404
|
+
<ox-title-with-help topic="board-modeller/styles/fill-style" msgid="label.fill-style"
|
|
405
|
+
>fill style</ox-title-with-help
|
|
406
406
|
>
|
|
407
407
|
</legend>
|
|
408
408
|
|
|
@@ -411,7 +411,7 @@ class PropertyStyles extends AbstractProperty {
|
|
|
411
411
|
|
|
412
412
|
<fieldset>
|
|
413
413
|
<legend>
|
|
414
|
-
<title-with-help msgid="label.line-style" topic="board-modeller/styles/line-style"></title-with-help>
|
|
414
|
+
<ox-title-with-help msgid="label.line-style" topic="board-modeller/styles/line-style"></ox-title-with-help>
|
|
415
415
|
</legend>
|
|
416
416
|
|
|
417
417
|
<div class="property-grid">
|