@things-factory/modeller-ui 4.0.40 → 4.0.44
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/client/editors/things-editor-3dish.js +9 -9
- package/client/editors/things-editor-attachment-selector.js +4 -4
- package/client/editors/things-editor-color-style.js +7 -7
- package/client/editors/things-editor-font-selector.js +4 -4
- package/client/editors/things-editor-gradient.js +5 -5
- package/client/editors/things-editor-pattern.js +10 -10
- package/client/editors/things-editor-table.js +4 -4
- package/package.json +13 -8
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import '@things-factory/i18n-base'
|
|
5
|
+
import '@operato/i18n/ox-i18n.js'
|
|
8
6
|
import './things-editor-angle-input'
|
|
9
7
|
|
|
8
|
+
import { css, html, LitElement } from 'lit-element'
|
|
9
|
+
|
|
10
10
|
class ThingsEditor3Dish extends LitElement {
|
|
11
11
|
static get is() {
|
|
12
12
|
return 'things-editor-3dish'
|
|
@@ -139,21 +139,21 @@ class ThingsEditor3Dish extends LitElement {
|
|
|
139
139
|
|
|
140
140
|
render() {
|
|
141
141
|
return html`
|
|
142
|
-
<span></span> <span><i18n
|
|
143
|
-
<span><i18n
|
|
144
|
-
<span><i18n
|
|
142
|
+
<span></span> <span><ox-i18n msgid="label.x-axes"></ox-i18n></span>
|
|
143
|
+
<span><ox-i18n msgid="label.y-axes"></ox-i18n></span>
|
|
144
|
+
<span><ox-i18n msgid="label.z-axes"></ox-i18n></span>
|
|
145
145
|
|
|
146
|
-
<label><i18n
|
|
146
|
+
<label><ox-i18n msgid="label.dimension"></ox-i18n></label>
|
|
147
147
|
<input type="number" id="dwidth" .value=${this.dimension && this.dimension.width} />
|
|
148
148
|
<input type="number" id="dheight" .value=${this.dimension && this.dimension.height} />
|
|
149
149
|
<input type="number" id="ddepth" .value=${this.dimension && this.dimension.depth} />
|
|
150
150
|
|
|
151
|
-
<label><i18n
|
|
151
|
+
<label><ox-i18n msgid="label.translate"></ox-i18n></label>
|
|
152
152
|
<input type="number" id="tx" .value=${this.translatex && this.translatex.x} />
|
|
153
153
|
<input type="number" id="ty" .value=${this.translatex && this.translatex.y} />
|
|
154
154
|
<input type="number" id="tz" .value=${this.translatex && this.translatex.z} />
|
|
155
155
|
|
|
156
|
-
<label><i18n
|
|
156
|
+
<label><ox-i18n msgid="label.rotate"></ox-i18n></label>
|
|
157
157
|
<things-editor-angle-input id="rx" .radian=${this.rotate && this.rotate.x}></things-editor-angle-input>
|
|
158
158
|
<things-editor-angle-input id="ry" .radian=${this.rotate && this.rotate.y}></things-editor-angle-input>
|
|
159
159
|
<things-editor-angle-input id="rz" .radian=${this.rotate && this.rotate.z}></things-editor-angle-input>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { LitElement, html, css } from 'lit-element'
|
|
6
5
|
import '@material/mwc-icon'
|
|
6
|
+
import '@things-factory/attachment-ui'
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import { i18next } from '@things-factory/i18n-base'
|
|
8
|
+
import { css, html, LitElement } from 'lit-element'
|
|
10
9
|
|
|
11
|
-
import '@
|
|
10
|
+
import { i18next } from '@operato/i18n'
|
|
11
|
+
import { openPopup } from '@operato/layout'
|
|
12
12
|
|
|
13
13
|
export default class ThingsEditorAttachmentSelector extends LitElement {
|
|
14
14
|
static get properties() {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import '@things-factory/i18n-base'
|
|
5
|
+
import '@operato/i18n/ox-i18n.js'
|
|
8
6
|
import './things-editor-color'
|
|
9
7
|
import './things-editor-gradient'
|
|
10
8
|
import './things-editor-pattern'
|
|
11
9
|
|
|
10
|
+
import { css, html, LitElement } from 'lit-element'
|
|
11
|
+
|
|
12
12
|
export default class ThingsEditorColorStyle extends LitElement {
|
|
13
13
|
static get is() {
|
|
14
14
|
return 'things-editor-color-style'
|
|
@@ -89,9 +89,9 @@ export default class ThingsEditorColorStyle extends LitElement {
|
|
|
89
89
|
value="no"
|
|
90
90
|
.checked=${!this.fillType || this.fillType == 'no'}
|
|
91
91
|
/>
|
|
92
|
-
<label for="fill-type-no"><i18n
|
|
92
|
+
<label for="fill-type-no"><ox-i18n msgid="label.no-fill">no fill</ox-i18n></label>
|
|
93
93
|
<input type="radio" id="fill-type-solid" name="fill-type" value="solid" .checked=${this.fillType == 'solid'} />
|
|
94
|
-
<label for="fill-type-solid"><i18n
|
|
94
|
+
<label for="fill-type-solid"><ox-i18n msgid="label.solid">solid</ox-i18n></label>
|
|
95
95
|
<input
|
|
96
96
|
type="radio"
|
|
97
97
|
id="fill-type-gradient"
|
|
@@ -99,7 +99,7 @@ export default class ThingsEditorColorStyle extends LitElement {
|
|
|
99
99
|
value="gradient"
|
|
100
100
|
.checked=${this.fillType == 'gradient'}
|
|
101
101
|
/>
|
|
102
|
-
<label for="fill-type-gradient"><i18n
|
|
102
|
+
<label for="fill-type-gradient"><ox-i18n msgid="label.gradient">gradient</ox-i18n></label>
|
|
103
103
|
<input
|
|
104
104
|
type="radio"
|
|
105
105
|
id="fill-type-pattern"
|
|
@@ -107,7 +107,7 @@ export default class ThingsEditorColorStyle extends LitElement {
|
|
|
107
107
|
value="pattern"
|
|
108
108
|
.checked=${this.fillType == 'pattern'}
|
|
109
109
|
/>
|
|
110
|
-
<label for="fill-type-pattern"><i18n
|
|
110
|
+
<label for="fill-type-pattern"><ox-i18n msgid="label.pattern">pattern</ox-i18n></label>
|
|
111
111
|
</div>
|
|
112
112
|
|
|
113
113
|
<div editors>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { LitElement, html, css } from 'lit-element'
|
|
6
5
|
import '@material/mwc-icon'
|
|
6
|
+
import '@things-factory/font-ui'
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import { i18next } from '@things-factory/i18n-base'
|
|
8
|
+
import { css, html, LitElement } from 'lit-element'
|
|
10
9
|
|
|
11
|
-
import '@
|
|
10
|
+
import { i18next } from '@operato/i18n'
|
|
11
|
+
import { openPopup } from '@operato/layout'
|
|
12
12
|
|
|
13
13
|
export default class ThingsEditorFontSelector extends LitElement {
|
|
14
14
|
static get properties() {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import '@operato/i18n/ox-i18n.js'
|
|
7
6
|
import '@polymer/paper-dropdown-menu/paper-dropdown-menu'
|
|
8
7
|
import '@polymer/paper-listbox/paper-listbox'
|
|
9
8
|
import '@polymer/paper-item/paper-item'
|
|
10
|
-
|
|
11
9
|
import './things-editor-angle-input'
|
|
12
10
|
import './things-editor-color-stops'
|
|
13
11
|
|
|
12
|
+
import { css, html, LitElement } from 'lit-element'
|
|
13
|
+
|
|
14
14
|
export default class ThingsEditorGradient extends LitElement {
|
|
15
15
|
constructor() {
|
|
16
16
|
super()
|
|
@@ -237,7 +237,7 @@ export default class ThingsEditorGradient extends LitElement {
|
|
|
237
237
|
var selector = (this.value && this.value.type) || 'linear'
|
|
238
238
|
|
|
239
239
|
return html`
|
|
240
|
-
<label> <i18n
|
|
240
|
+
<label> <ox-i18n msgid="label.type">type</ox-i18n> </label>
|
|
241
241
|
<select value-key="type" .value=${(this.value && this.value.type) || 'linear'}>
|
|
242
242
|
<option>linear</option>
|
|
243
243
|
<option>radial</option>
|
|
@@ -247,7 +247,7 @@ export default class ThingsEditorGradient extends LitElement {
|
|
|
247
247
|
<things-editor-angle-input value-key="rotation" .radian=${(this.value && this.value.rotation) || 0}>
|
|
248
248
|
</things-editor-angle-input>
|
|
249
249
|
|
|
250
|
-
<label> <i18n
|
|
250
|
+
<label> <ox-i18n msgid="label.direction">direction</ox-i18n> </label>
|
|
251
251
|
<div editors>
|
|
252
252
|
<paper-dropdown-menu no-label-float="true" ?active-selector=${selector == 'linear'}>
|
|
253
253
|
<paper-listbox
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import '@things-factory/i18n-base'
|
|
5
|
+
import '@operato/i18n/ox-i18n.js'
|
|
8
6
|
import './things-editor-attachment-selector'
|
|
9
7
|
|
|
8
|
+
import { css, html, LitElement } from 'lit-element'
|
|
9
|
+
|
|
10
10
|
/**
|
|
11
11
|
* 컴포넌트의 fill pattern을 편집하는 element
|
|
12
12
|
*
|
|
@@ -93,7 +93,7 @@ export default class ThingsEditorPattern extends LitElement {
|
|
|
93
93
|
|
|
94
94
|
render() {
|
|
95
95
|
return html`
|
|
96
|
-
<label> <i18n
|
|
96
|
+
<label> <ox-i18n msgid="label.image" auto="">image</ox-i18n> </label>
|
|
97
97
|
|
|
98
98
|
<things-editor-attachment-selector
|
|
99
99
|
value-key="image"
|
|
@@ -101,7 +101,7 @@ export default class ThingsEditorPattern extends LitElement {
|
|
|
101
101
|
custom-editor
|
|
102
102
|
></things-editor-attachment-selector>
|
|
103
103
|
|
|
104
|
-
<label> <i18n
|
|
104
|
+
<label> <ox-i18n msgid="label.align" auto="">align</ox-i18n> </label>
|
|
105
105
|
|
|
106
106
|
<select value-key="align" class="select-content" .value=${this.value && this.value.align}>
|
|
107
107
|
<option value="left-top">Left Top</option>
|
|
@@ -116,22 +116,22 @@ export default class ThingsEditorPattern extends LitElement {
|
|
|
116
116
|
</select>
|
|
117
117
|
|
|
118
118
|
<div class="grid-10">
|
|
119
|
-
<label> <i18n
|
|
119
|
+
<label> <ox-i18n msgid="label.offset-x" auto="">offsetX</ox-i18n> </label>
|
|
120
120
|
<input type="number" value-key="offsetX" .value=${this.value && this.value.offsetX} />
|
|
121
121
|
|
|
122
|
-
<label> <i18n
|
|
122
|
+
<label> <ox-i18n msgid="label.offset-y" auto="">offsetY</ox-i18n> </label>
|
|
123
123
|
<input type="number" value-key="offsetY" .value=${this.value && this.value.offsetY} />
|
|
124
124
|
|
|
125
|
-
<label> <i18n
|
|
125
|
+
<label> <ox-i18n msgid="label.width" auto="">width</ox-i18n> </label>
|
|
126
126
|
<input type="number" value-key="width" .value=${this.value && this.value.width} />
|
|
127
127
|
|
|
128
|
-
<label> <i18n
|
|
128
|
+
<label> <ox-i18n msgid="label.height" auto="">height</ox-i18n> </label>
|
|
129
129
|
<input type="number" value-key="height" .value=${this.value && this.value.height} />
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
<div class="grid-10">
|
|
133
133
|
<input value-key="fitPattern" type="checkbox" .checked=${this.value && this.value.fitPattern} required />
|
|
134
|
-
<label> <i18n
|
|
134
|
+
<label> <ox-i18n msgid="label.fit" auto="">Fit</ox-i18n> </label>
|
|
135
135
|
</div>
|
|
136
136
|
`
|
|
137
137
|
}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import '@material/mwc-icon'
|
|
6
6
|
import '@polymer/paper-dropdown-menu/paper-dropdown-menu'
|
|
7
7
|
import '@polymer/paper-item/paper-item'
|
|
8
|
-
import '@
|
|
8
|
+
import '@operato/i18n/ox-i18n.js'
|
|
9
9
|
import './things-editor-color'
|
|
10
10
|
|
|
11
|
-
import {
|
|
11
|
+
import { css, html, LitElement } from 'lit-element'
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* 테이블 셀의 좌,우,상,하 경계선의 스타일을 편집하는 컴포넌트이다.
|
|
@@ -206,7 +206,7 @@ class ThingsEditorTable extends LitElement {
|
|
|
206
206
|
render() {
|
|
207
207
|
return html`
|
|
208
208
|
<fieldset id="border-fieldset">
|
|
209
|
-
<legend><i18n
|
|
209
|
+
<legend><ox-i18n msgid="label.border-style">border style</ox-i18n></legend>
|
|
210
210
|
|
|
211
211
|
<div
|
|
212
212
|
id="border-set"
|
|
@@ -243,7 +243,7 @@ class ThingsEditorTable extends LitElement {
|
|
|
243
243
|
>
|
|
244
244
|
</things-editor-color>
|
|
245
245
|
|
|
246
|
-
<label> <i18n
|
|
246
|
+
<label> <ox-i18n msgid="label.border-type">border type</ox-i18n> </label>
|
|
247
247
|
<paper-dropdown-menu no-label-float="true" class="line-type solid">
|
|
248
248
|
<!-- solid는 선택된 항목 보여주기위한 class로 하위 paper-item의 class와 동일하게 -->
|
|
249
249
|
<paper-listbox
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/modeller-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.44",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -29,9 +29,14 @@
|
|
|
29
29
|
"@graphql-tools/url-loader": "^7.2.0",
|
|
30
30
|
"@graphql-tools/wrap": "^8.1.1",
|
|
31
31
|
"@material/mwc-icon": "^0.25.3",
|
|
32
|
-
"@operato/
|
|
33
|
-
"@operato/
|
|
34
|
-
"@operato/
|
|
32
|
+
"@operato/graphql": "^0.3.27",
|
|
33
|
+
"@operato/help": "^0.3.27",
|
|
34
|
+
"@operato/input": "^0.3.27",
|
|
35
|
+
"@operato/layout": "^0.3.27",
|
|
36
|
+
"@operato/popup": "^0.3.27",
|
|
37
|
+
"@operato/property-editor": "^0.3.27",
|
|
38
|
+
"@operato/shell": "^0.3.27",
|
|
39
|
+
"@operato/utils": "^0.3.27",
|
|
35
40
|
"@polymer/iron-flex-layout": "^3.0.1",
|
|
36
41
|
"@polymer/iron-form-element-behavior": "^3.0.1",
|
|
37
42
|
"@polymer/iron-resizable-behavior": "^3.0.1",
|
|
@@ -45,9 +50,9 @@
|
|
|
45
50
|
"@polymer/paper-ripple": "^3.0.2",
|
|
46
51
|
"@polymer/paper-slider": "^3.0.1",
|
|
47
52
|
"@polymer/polymer": "^3.3.1",
|
|
48
|
-
"@things-factory/attachment-ui": "^4.0.
|
|
49
|
-
"@things-factory/font-ui": "^4.0.
|
|
50
|
-
"@things-factory/i18n-base": "^4.0.
|
|
53
|
+
"@things-factory/attachment-ui": "^4.0.44",
|
|
54
|
+
"@things-factory/font-ui": "^4.0.44",
|
|
55
|
+
"@things-factory/i18n-base": "^4.0.44",
|
|
51
56
|
"ace-builds": "^1.4.11",
|
|
52
57
|
"brace": "^0.11.1",
|
|
53
58
|
"codemirror": "^5.59.1",
|
|
@@ -59,5 +64,5 @@
|
|
|
59
64
|
"devDependencies": {
|
|
60
65
|
"@types/codemirror": "^0.0.105"
|
|
61
66
|
},
|
|
62
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "286a037443bfb38c65db964dbfa6c5f2d141d9ac"
|
|
63
68
|
}
|