@operato/board 0.2.46 → 0.2.47

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/custom-elements.json +485 -501
  3. package/demo/index-modeller.html +101 -0
  4. package/demo/index.html +3 -3
  5. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.d.ts +1 -2
  6. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js +21 -19
  7. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js.map +1 -1
  8. package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +0 -1
  9. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +20 -17
  10. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
  11. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js +2 -2
  12. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js.map +1 -1
  13. package/dist/src/modeller/property-sidebar/effects/effects.d.ts +0 -1
  14. package/dist/src/modeller/property-sidebar/effects/effects.js +6 -10
  15. package/dist/src/modeller/property-sidebar/effects/effects.js.map +1 -1
  16. package/dist/src/modeller/property-sidebar/effects/property-animation.d.ts +2 -3
  17. package/dist/src/modeller/property-sidebar/effects/property-animation.js +21 -25
  18. package/dist/src/modeller/property-sidebar/effects/property-animation.js.map +1 -1
  19. package/dist/src/modeller/property-sidebar/effects/property-animations.d.ts +0 -1
  20. package/dist/src/modeller/property-sidebar/effects/property-animations.js +3 -4
  21. package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +1 -1
  22. package/dist/src/modeller/property-sidebar/effects/property-event-hover.d.ts +1 -1
  23. package/dist/src/modeller/property-sidebar/effects/property-event-hover.js +2 -7
  24. package/dist/src/modeller/property-sidebar/effects/property-event-hover.js.map +1 -1
  25. package/dist/src/modeller/property-sidebar/effects/property-event-tap.d.ts +1 -1
  26. package/dist/src/modeller/property-sidebar/effects/property-event-tap.js +2 -7
  27. package/dist/src/modeller/property-sidebar/effects/property-event-tap.js.map +1 -1
  28. package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +0 -1
  29. package/dist/src/modeller/property-sidebar/effects/property-event.js +4 -8
  30. package/dist/src/modeller/property-sidebar/effects/property-event.js.map +1 -1
  31. package/dist/src/modeller/property-sidebar/effects/property-shadow.d.ts +1 -2
  32. package/dist/src/modeller/property-sidebar/effects/property-shadow.js +6 -10
  33. package/dist/src/modeller/property-sidebar/effects/property-shadow.js.map +1 -1
  34. package/dist/src/modeller/property-sidebar/inspector/inspector.d.ts +1 -1
  35. package/dist/src/modeller/property-sidebar/property-shared-style.js +2 -2
  36. package/dist/src/modeller/property-sidebar/property-shared-style.js.map +1 -1
  37. package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +2 -3
  38. package/dist/src/modeller/property-sidebar/shapes/shapes.js +27 -30
  39. package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
  40. package/dist/src/modeller/property-sidebar/styles/styles.d.ts +0 -1
  41. package/dist/src/modeller/property-sidebar/styles/styles.js +0 -1
  42. package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/package.json +4 -4
  45. package/src/modeller/property-sidebar/data-binding/data-binding-mapper.ts +24 -21
  46. package/src/modeller/property-sidebar/data-binding/data-binding.ts +21 -19
  47. package/src/modeller/property-sidebar/effects/effects-shared-style.ts +2 -2
  48. package/src/modeller/property-sidebar/effects/effects.ts +10 -8
  49. package/src/modeller/property-sidebar/effects/property-animation.ts +25 -23
  50. package/src/modeller/property-sidebar/effects/property-animations.ts +7 -5
  51. package/src/modeller/property-sidebar/effects/property-event-hover.ts +4 -5
  52. package/src/modeller/property-sidebar/effects/property-event-tap.ts +4 -5
  53. package/src/modeller/property-sidebar/effects/property-event.ts +8 -6
  54. package/src/modeller/property-sidebar/effects/property-shadow.ts +9 -7
  55. package/src/modeller/property-sidebar/property-shared-style.ts +2 -2
  56. package/src/modeller/property-sidebar/shapes/shapes.ts +29 -31
  57. package/src/modeller/property-sidebar/styles/styles.ts +2 -2
@@ -2,13 +2,13 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
6
- import '@things-factory/modeller-ui/client/editors/things-editor-angle-input'
5
+ import '@operato/input/dist/src/ox-input-angle'
7
6
 
8
- import { LitElement, html } from 'lit'
9
- import { Properties, Scene } from '@hatiolab/things-scene'
7
+ import { html, LitElement } from 'lit'
10
8
  import { customElement, property } from 'lit/decorators'
11
9
 
10
+ import { Properties, Scene } from '@hatiolab/things-scene'
11
+
12
12
  import { EffectsSharedStyle } from './effects-shared-style'
13
13
  import { convert } from './value-converter'
14
14
 
@@ -25,7 +25,7 @@ Example:
25
25
  export default class PropertyAnimation extends LitElement {
26
26
  static styles = [EffectsSharedStyle]
27
27
 
28
- @property({ type: Object }) value: Properties = {}
28
+ @property({ type: Object }) value?: Properties
29
29
  @property({ type: Object }) scene?: Scene
30
30
 
31
31
  firstUpdated() {
@@ -33,9 +33,11 @@ export default class PropertyAnimation extends LitElement {
33
33
  }
34
34
 
35
35
  render() {
36
+ const value = this.value || {}
37
+
36
38
  return html`
37
39
  <label>Animation Type</label>
38
- <select value-key="type" .value=${this.value && this.value.type}>
40
+ <select value-key="type" .value=${value.type}>
39
41
  <option value="">None</option>
40
42
  <option value="rotation">Rotation</option>
41
43
  <option value="vibration">Vibration</option>
@@ -46,56 +48,56 @@ export default class PropertyAnimation extends LitElement {
46
48
  </select>
47
49
 
48
50
  <label> <i18n-msg msgid="label.waiting-time">waiting time</i18n-msg> </label>
49
- <input type="number" value-key="delay" .value=${this.value.delay} placeholder="ms" />
51
+ <input type="number" value-key="delay" .value=${value.delay} placeholder="ms" />
50
52
 
51
53
  <label> <i18n-msg msgid="label.duration">duration</i18n-msg> </label>
52
- <input type="number" value-key="duration" .value=${this.value.duration} placeholder="ms" />
54
+ <input type="number" value-key="duration" .value=${value.duration} placeholder="ms" />
53
55
 
54
- ${this.value.type == 'rotation' || this.value.type == 'vibration'
56
+ ${value.type == 'rotation' || value.type == 'vibration'
55
57
  ? html`
56
58
  <label> <i18n-msg msgid="label.theta">theta</i18n-msg> </label>
57
- <things-editor-angle-input value-key="theta" .radian=${this.value.theta}> </things-editor-angle-input>
59
+ <ox-input-angle value-key="theta" .radian=${value.theta}> </ox-input-angle>
58
60
  `
59
61
  : html``}
60
- ${this.value.type == 'heartbeat'
62
+ ${value.type == 'heartbeat'
61
63
  ? html`
62
64
  <label> <i18n-msg msgid="label.scale">scale</i18n-msg> </label>
63
- <input type="number" value-key="scale" .value=${this.value.scale} />
65
+ <input type="number" value-key="scale" .value=${value.scale} />
64
66
  `
65
67
  : html``}
66
- ${this.value.type == 'moving'
68
+ ${value.type == 'moving'
67
69
  ? html`
68
70
  <label> <i18n-msg msgid="label.x-axes">X-axes</i18n-msg> </label>
69
- <input type="number" value-key="x" .value=${this.value.x} />
71
+ <input type="number" value-key="x" .value=${value.x} />
70
72
 
71
73
  <label> <i18n-msg msgid="label.y-axes">Y-axes</i18n-msg> </label>
72
- <input type="number" value-key="y" .value=${this.value.y} />
74
+ <input type="number" value-key="y" .value=${value.y} />
73
75
  `
74
76
  : html``}
75
- ${this.value.type == 'fade'
77
+ ${value.type == 'fade'
76
78
  ? html`
77
79
  <label> <i18n-msg msgid="label.start-alpha">start alpha</i18n-msg> </label>
78
- <input type="number" value-key="startAlpha" .value=${this.value.startAlpha} />
80
+ <input type="number" value-key="startAlpha" .value=${value.startAlpha} />
79
81
 
80
82
  <label> <i18n-msg msgid="label.end-alpha">end alpha</i18n-msg> </label>
81
- <input type="number" value-key="endAlpha" .value=${this.value.endAlpha} />
83
+ <input type="number" value-key="endAlpha" .value=${value.endAlpha} />
82
84
  `
83
85
  : html``}
84
- ${this.value.type == 'outline'
86
+ ${value.type == 'outline'
85
87
  ? html`
86
88
  <label> <i18n-msg msgid="label.target">target</i18n-msg> </label>
87
- <input value-key="rideOn" .value=${this.value.rideOn || ''} list="target-list" />
89
+ <input value-key="rideOn" .value=${value.rideOn || ''} list="target-list" />
88
90
  <datalist id="target-list">
89
91
  ${this.scene!.ids.map(info => info.key).map(id => html` <option value=${id}></option> `)}
90
92
  </datalist>
91
93
  `
92
94
  : html``}
93
95
 
94
- <input id="checkbox-repeat" value-key="repeat" type="checkbox" .checked=${this.value.repeat} />
96
+ <input id="checkbox-repeat" value-key="repeat" type="checkbox" .checked=${value.repeat} />
95
97
  <label for="checkbox-repeat" class="checkbox-label"> <i18n-msg msgid="label.repeat">repeat</i18n-msg> </label>
96
98
 
97
99
  <label>delta</label>
98
- <select value-key="delta" .value=${this.value.delta}>
100
+ <select value-key="delta" .value=${value.delta}>
99
101
  <option value="linear">linear</option>
100
102
  <option value="quad">quad</option>
101
103
  <option value="circ">circ</option>
@@ -105,7 +107,7 @@ export default class PropertyAnimation extends LitElement {
105
107
  </select>
106
108
 
107
109
  <label>ease</label>
108
- <select value-key="ease" .value=${this.value.ease}>
110
+ <select value-key="ease" .value=${value.ease}>
109
111
  <option value="in">in</option>
110
112
  <option value="out">out</option>
111
113
  <option value="inout">inout</option>
@@ -2,14 +2,14 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
6
5
  import './property-animation'
7
6
  import '@material/mwc-icon'
8
7
 
9
- import { LitElement, css, html } from 'lit'
10
- import { Properties, Scene } from '@hatiolab/things-scene'
8
+ import { css, html, LitElement } from 'lit'
11
9
  import { customElement, property, state } from 'lit/decorators'
12
10
 
11
+ import { Properties, Scene } from '@hatiolab/things-scene'
12
+
13
13
  import { PropertySharedStyle } from '../property-shared-style'
14
14
  import { convert } from './value-converter'
15
15
 
@@ -36,7 +36,7 @@ class PropertyAnimations extends LitElement {
36
36
  `
37
37
  ]
38
38
 
39
- @property({ type: Object }) value: Properties = {}
39
+ @property({ type: Object }) value?: Properties
40
40
  @property({ type: Object }) scene!: Scene
41
41
 
42
42
  @state() _expanded: boolean = false
@@ -46,6 +46,8 @@ class PropertyAnimations extends LitElement {
46
46
  }
47
47
 
48
48
  render() {
49
+ const value = this.value || {}
50
+
49
51
  return html`
50
52
  <fieldset collapsable ?collapsed=${!this._expanded}>
51
53
  <legend>
@@ -58,7 +60,7 @@ class PropertyAnimations extends LitElement {
58
60
  >
59
61
  </legend>
60
62
 
61
- <property-animation value-key="oncreate" .scene=${this.scene} .value=${this.value.oncreate || {}}>
63
+ <property-animation value-key="oncreate" .scene=${this.scene} .value=${value.oncreate || {}}>
62
64
  </property-animation>
63
65
  </fieldset>
64
66
  `
@@ -2,11 +2,10 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
5
+ import { html, LitElement } from 'lit'
6
+ import { customElement, property } from 'lit/decorators'
6
7
 
7
- import { LitElement, html } from 'lit'
8
8
  import { Properties, Scene } from '@hatiolab/things-scene'
9
- import { customElement, property } from 'lit/decorators'
10
9
 
11
10
  import { EffectsSharedStyle } from './effects-shared-style'
12
11
  import { convert } from './value-converter'
@@ -15,7 +14,7 @@ import { convert } from './value-converter'
15
14
  class PropertyEventHover extends LitElement {
16
15
  static styles = [EffectsSharedStyle]
17
16
 
18
- @property({ type: Object }) value: Properties = {}
17
+ @property({ type: Object }) value?: Properties
19
18
  @property({ type: Object }) scene?: Scene
20
19
 
21
20
  firstUpdated() {
@@ -23,7 +22,7 @@ class PropertyEventHover extends LitElement {
23
22
  }
24
23
 
25
24
  render() {
26
- var { action, value = '', target = '', emphasize, restore } = this.value
25
+ var { action, value = '', target = '', emphasize, restore } = this.value || {}
27
26
 
28
27
  return html`
29
28
  <input id="checkbox-emphasize" type="checkbox" value-key="emphasize" .checked=${emphasize} />
@@ -2,11 +2,10 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
5
+ import { html, LitElement } from 'lit'
6
+ import { customElement, property } from 'lit/decorators'
6
7
 
7
- import { LitElement, html } from 'lit'
8
8
  import { Properties, Scene } from '@hatiolab/things-scene'
9
- import { customElement, property } from 'lit/decorators'
10
9
 
11
10
  import { EffectsSharedStyle } from './effects-shared-style'
12
11
  import { convert } from './value-converter'
@@ -15,7 +14,7 @@ import { convert } from './value-converter'
15
14
  class PropertyEventTap extends LitElement {
16
15
  static styles = [EffectsSharedStyle]
17
16
 
18
- @property({ type: Object }) value: Properties = {}
17
+ @property({ type: Object }) value?: Properties
19
18
  @property({ type: Object }) scene?: Scene
20
19
 
21
20
  firstUpdated() {
@@ -23,7 +22,7 @@ class PropertyEventTap extends LitElement {
23
22
  }
24
23
 
25
24
  render() {
26
- var { action, value = '', target = '', pressed } = this.value
25
+ var { action, value = '', target = '', pressed } = this.value || {}
27
26
 
28
27
  return html`
29
28
  <input id="checkbox-pressed" type="checkbox" value-key="pressed" .checked=${pressed} />
@@ -2,14 +2,14 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
6
5
  import './property-event-hover'
7
6
  import './property-event-tap'
8
7
 
9
- import { LitElement, html } from 'lit'
10
- import { Properties, Scene } from '@hatiolab/things-scene'
8
+ import { html, LitElement } from 'lit'
11
9
  import { customElement, property } from 'lit/decorators'
12
10
 
11
+ import { Properties, Scene } from '@hatiolab/things-scene'
12
+
13
13
  import { PropertySharedStyle } from '../property-shared-style'
14
14
  import { convert } from './value-converter'
15
15
 
@@ -17,7 +17,7 @@ import { convert } from './value-converter'
17
17
  class PropertyEvent extends LitElement {
18
18
  static styles = [PropertySharedStyle]
19
19
 
20
- @property({ type: Object }) value: Properties = {}
20
+ @property({ type: Object }) value?: Properties
21
21
  @property({ type: Object }) scene?: Scene
22
22
 
23
23
  firstUpdated() {
@@ -25,13 +25,15 @@ class PropertyEvent extends LitElement {
25
25
  }
26
26
 
27
27
  render() {
28
+ const value = this.value || {}
29
+
28
30
  return html`
29
31
  <fieldset>
30
32
  <legend>
31
33
  <title-with-help msgid="label.hover-event" topic="board-modeller/effects/hover-event"></title-with-help>
32
34
  </legend>
33
35
 
34
- <property-event-hover value-key="hover" .scene=${this.scene} .value=${this.value.hover || {}}>
36
+ <property-event-hover value-key="hover" .scene=${this.scene} .value=${value.hover || {}}>
35
37
  </property-event-hover>
36
38
  </fieldset>
37
39
 
@@ -40,7 +42,7 @@ class PropertyEvent extends LitElement {
40
42
  <title-with-help msgid="label.tap-event" topic="board-modeller/effects/tap-event"></title-with-help>
41
43
  </legend>
42
44
 
43
- <property-event-tap value-key="tap" .scene=${this.scene} .value=${this.value.tap || {}}> </property-event-tap>
45
+ <property-event-tap value-key="tap" .scene=${this.scene} .value=${value.tap || {}}> </property-event-tap>
44
46
  </fieldset>
45
47
  `
46
48
  }
@@ -2,13 +2,13 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
6
5
  import '@things-factory/modeller-ui/client/editors/things-editor-color'
7
6
 
8
- import { LitElement, css, html } from 'lit'
7
+ import { css, html, LitElement } from 'lit'
9
8
  import { customElement, property } from 'lit/decorators'
10
9
 
11
10
  import { Properties } from '@hatiolab/things-scene'
11
+
12
12
  import { convert } from './value-converter'
13
13
 
14
14
  /**
@@ -68,29 +68,31 @@ export default class PropertyShadow extends LitElement {
68
68
  `
69
69
  ]
70
70
 
71
- @property({ type: Object }) value: Properties = {}
71
+ @property({ type: Object }) value?: Properties
72
72
 
73
73
  firstUpdated() {
74
74
  this.renderRoot.addEventListener('change', this._onValueChange.bind(this))
75
75
  }
76
76
 
77
77
  render() {
78
+ const value = this.value || {}
79
+
78
80
  return html`
79
81
  <label> <i18n-msg msgid="label.shadowOffsetX">offset-X</i18n-msg> </label>
80
82
 
81
- <input type="number" value-key="left" .value=${this.value.left} />
83
+ <input type="number" value-key="left" .value=${value.left} />
82
84
 
83
85
  <label> <i18n-msg msgid="label.shadowOffsetY">offset-Y</i18n-msg> </label>
84
86
 
85
- <input type="number" value-key="top" .value=${this.value.top} />
87
+ <input type="number" value-key="top" .value=${value.top} />
86
88
 
87
89
  <label> <i18n-msg msgid="label.shadowSize">Size</i18n-msg> </label>
88
90
 
89
- <input type="number" value-key="blurSize" .value=${this.value.blurSize} />
91
+ <input type="number" value-key="blurSize" .value=${value.blurSize} />
90
92
 
91
93
  <label class="icon-only-label color"></label>
92
94
 
93
- <things-editor-color value-key="color" .value=${this.value.color}> </things-editor-color>
95
+ <things-editor-color value-key="color" .value=${value.color}> </things-editor-color>
94
96
  `
95
97
  }
96
98
 
@@ -50,8 +50,8 @@ export const PropertySharedStyle = css`
50
50
  .property-grid > input,
51
51
  .property-grid > table,
52
52
  .property-grid > select,
53
- .property-grid > things-editor-angle-input,
54
- .property-grid > things-editor-buttons-radio,
53
+ .property-grid > ox-input-angle,
54
+ .property-grid > ox-buttons-radio,
55
55
  .property-grid > things-editor-color,
56
56
  [custom-editor] {
57
57
  grid-column: span 7;
@@ -2,18 +2,18 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/i18n-base'
6
- import '@things-factory/modeller-ui/client/editors/things-editor-angle-input'
7
- import '@things-factory/modeller-ui/client/editors/things-editor-buttons-radio'
5
+ import '@operato/input/dist/src/ox-input-angle'
6
+ import '@operato/input/dist/src/ox-buttons-radio'
8
7
  import '@material/mwc-icon'
9
8
 
10
- import { BOUNDS, Component, Properties } from '@hatiolab/things-scene'
11
9
  import { css, html } from 'lit'
12
10
  import { customElement, property, state } from 'lit/decorators'
13
11
 
12
+ import { BOUNDS, Component, Properties } from '@hatiolab/things-scene'
13
+
14
14
  import { AbstractProperty } from '../abstract-property'
15
- import { BoxPaddingEditorStyles } from './box-padding-editor-styles'
16
15
  import { PropertySharedStyle } from '../property-shared-style'
16
+ import { BoxPaddingEditorStyles } from './box-padding-editor-styles'
17
17
 
18
18
  @customElement('property-shape')
19
19
  class PropertyShapes extends AbstractProperty {
@@ -82,7 +82,7 @@ class PropertyShapes extends AbstractProperty {
82
82
  background-position: 5px -1496px;
83
83
  }
84
84
 
85
- things-editor-buttons-radio > * {
85
+ ox-buttons-radio > * {
86
86
  width: 30px;
87
87
  height: 25px;
88
88
  min-width: initial;
@@ -93,39 +93,39 @@ class PropertyShapes extends AbstractProperty {
93
93
  border-bottom: 2px solid #fff;
94
94
  }
95
95
 
96
- things-editor-buttons-radio div {
96
+ ox-buttons-radio div {
97
97
  background: url(/assets/images/icon-properties.png) no-repeat;
98
98
  }
99
99
 
100
- things-editor-buttons-radio div[data-value='left'] {
100
+ ox-buttons-radio div[data-value='left'] {
101
101
  background-position: 50% 3px;
102
102
  }
103
103
 
104
- things-editor-buttons-radio div[data-value='center'] {
104
+ ox-buttons-radio div[data-value='center'] {
105
105
  background-position: 50% -47px;
106
106
  }
107
107
 
108
- things-editor-buttons-radio div[data-value='right'] {
108
+ ox-buttons-radio div[data-value='right'] {
109
109
  background-position: 50% -97px;
110
110
  }
111
111
 
112
- things-editor-buttons-radio div[data-value='justify'] {
112
+ ox-buttons-radio div[data-value='justify'] {
113
113
  background-position: 50% -147px;
114
114
  }
115
115
 
116
- things-editor-buttons-radio div[data-value='top'] {
116
+ ox-buttons-radio div[data-value='top'] {
117
117
  background-position: 50% -197px;
118
118
  }
119
119
 
120
- things-editor-buttons-radio div[data-value='middle'] {
120
+ ox-buttons-radio div[data-value='middle'] {
121
121
  background-position: 50% -193px;
122
122
  }
123
123
 
124
- things-editor-buttons-radio div[data-value='bottom'] {
124
+ ox-buttons-radio div[data-value='bottom'] {
125
125
  background-position: 50% -188px;
126
126
  }
127
127
 
128
- things-editor-buttons-radio div[active] {
128
+ ox-buttons-radio div[active] {
129
129
  border-color: #f2471c;
130
130
  }
131
131
  `
@@ -206,8 +206,7 @@ class PropertyShapes extends AbstractProperty {
206
206
  ? html``
207
207
  : html`
208
208
  <label class="rotate"> <i18n-msg msgid="label.rotate">rotate</i18n-msg> </label>
209
- <things-editor-angle-input value-key="rotation" .radian=${value.rotation}>
210
- </things-editor-angle-input>
209
+ <ox-input-angle value-key="rotation" .radian=${value.rotation}> </ox-input-angle>
211
210
  `}
212
211
  </div>
213
212
  </fieldset>
@@ -233,16 +232,13 @@ class PropertyShapes extends AbstractProperty {
233
232
  <input type="number" value-key="depth" .value=${value.depth} />
234
233
 
235
234
  <label class="rotationX"> <i18n-msg msgid="label.rotation-x">rot. X</i18n-msg> </label>
236
- <things-editor-angle-input value-key="rotationX" .radian=${value.rotationX}>
237
- </things-editor-angle-input>
235
+ <ox-input-angle value-key="rotationX" .radian=${value.rotationX}> </ox-input-angle>
238
236
 
239
237
  <label class="rotationY"> <i18n-msg msgid="label.rotation-y">rot. Y</i18n-msg> </label>
240
- <things-editor-angle-input value-key="rotationY" .radian=${value.rotationY}>
241
- </things-editor-angle-input>
238
+ <ox-input-angle value-key="rotationY" .radian=${value.rotationY}> </ox-input-angle>
242
239
 
243
240
  <label class="rotationZ"> <i18n-msg msgid="label.rotation-z">rot. Z</i18n-msg> </label>
244
- <things-editor-angle-input value-key="rotation" .radian=${value.rotation}>
245
- </things-editor-angle-input>
241
+ <ox-input-angle value-key="rotation" .radian=${value.rotation}> </ox-input-angle>
246
242
  </div>
247
243
  </fieldset>
248
244
  `
@@ -258,19 +254,19 @@ class PropertyShapes extends AbstractProperty {
258
254
 
259
255
  <div class="property-grid">
260
256
  <label> <i18n-msg msgid="label.horizontal">horizontal</i18n-msg> </label>
261
- <things-editor-buttons-radio value-key="textAlign" .value=${value.textAlign}>
257
+ <ox-buttons-radio value-key="textAlign" .value=${value.textAlign}>
262
258
  <div data-value="left"></div>
263
259
  <div data-value="center"></div>
264
260
  <div data-value="right"></div>
265
261
  <div data-value="justify"></div>
266
- </things-editor-buttons-radio>
262
+ </ox-buttons-radio>
267
263
 
268
264
  <label> <i18n-msg msgid="label.vertical">vertical</i18n-msg> </label>
269
- <things-editor-buttons-radio value-key="textBaseline" .value=${value.textBaseline}>
265
+ <ox-buttons-radio value-key="textBaseline" .value=${value.textBaseline}>
270
266
  <div data-value="top"></div>
271
267
  <div data-value="middle"></div>
272
268
  <div data-value="bottom"></div>
273
- </things-editor-buttons-radio>
269
+ </ox-buttons-radio>
274
270
 
275
271
  <div class="checkbox-row">
276
272
  <input id="checkbox-textwrap" type="checkbox" value-key="textWrap" .checked=${value.textWrap} />
@@ -308,7 +304,9 @@ class PropertyShapes extends AbstractProperty {
308
304
  ? html`
309
305
  <fieldset class="icon-label">
310
306
  <legend>
311
- <title-with-help topic="board-modeller/shapes/viewer-option" msgid="label.viewer-option">Viewer Option</title-with-help>
307
+ <title-with-help topic="board-modeller/shapes/viewer-option" msgid="label.viewer-option"
308
+ >Viewer Option</title-with-help
309
+ >
312
310
  </legend>
313
311
 
314
312
  <div class="property-grid">
@@ -320,12 +318,13 @@ class PropertyShapes extends AbstractProperty {
320
318
  <option value="width">width</option>
321
319
  <option value="height">height</option>
322
320
  </select>
323
- </things-editor-angle-input>
324
321
  </div>
325
322
  </fieldset>
326
323
  <fieldset class="icon-label">
327
324
  <legend>
328
- <title-with-help topic="board-modeller/shapes/print-option" msgid="label.label-print">Print Option</title-with-help>
325
+ <title-with-help topic="board-modeller/shapes/print-option" msgid="label.label-print"
326
+ >Print Option</title-with-help
327
+ >
329
328
  </legend>
330
329
 
331
330
  <div class="property-grid">
@@ -336,7 +335,6 @@ class PropertyShapes extends AbstractProperty {
336
335
  <option value="I">180°</option>
337
336
  <option value="R">270°</option>
338
337
  </select>
339
- </things-editor-angle-input>
340
338
  </div>
341
339
  </fieldset>
342
340
  `
@@ -4,7 +4,6 @@
4
4
 
5
5
  import '@polymer/paper-dropdown-menu/paper-dropdown-menu'
6
6
  import '@things-factory/help'
7
- import '@things-factory/modeller-ui/client/editors/things-editor-angle-input'
8
7
  import '@things-factory/modeller-ui/client/editors/things-editor-color'
9
8
  import '@things-factory/modeller-ui/client/editors/things-editor-color-style'
10
9
  import '@things-factory/modeller-ui/client/editors/things-editor-font-selector'
@@ -12,8 +11,9 @@ import '@things-factory/modeller-ui/client/editors/things-editor-font-selector'
12
11
  import { css, html } from 'lit'
13
12
  import { customElement, property } from 'lit/decorators.js'
14
13
 
15
- import { AbstractProperty } from '../abstract-property'
16
14
  import { Component } from '@hatiolab/things-scene'
15
+
16
+ import { AbstractProperty } from '../abstract-property'
17
17
  import { PropertySharedStyle } from '../property-shared-style'
18
18
 
19
19
  @customElement('property-style')