@operato/scene-visualizer 2.0.0-alpha.0 → 2.0.0-alpha.12

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.
@@ -1,3 +1,5 @@
1
+ import '@material/web/icon/icon.js'
2
+ import '@material/web/button/elevated-button.js'
1
3
  import '@operato/i18n/ox-i18n.js'
2
4
 
3
5
  import { css, html, PropertyValues, TemplateResult } from 'lit'
@@ -28,14 +30,14 @@ export default class GLTFInfoEditor extends OxPropertyEditor {
28
30
  font-weight: bold;
29
31
  }
30
32
 
31
- div[info] mwc-icon-button {
33
+ div[info] md-elevated-button {
32
34
  margin-left: auto;
33
- --mdc-icon-button-size: 24px;
35
+ --md-icon-size: 24px;
34
36
  }
35
37
  `
36
38
  ]
37
39
 
38
- @property({ type: Number }) src?: string
40
+ @property({ type: String }) src?: string
39
41
 
40
42
  @state() width: number = 0
41
43
  @state() height: number = 0
@@ -56,8 +58,7 @@ export default class GLTFInfoEditor extends OxPropertyEditor {
56
58
  <div label>[W x H x D] :</div>
57
59
  ${valid
58
60
  ? html` <div value>${this.width} x ${this.height} x ${this.depth}</div>
59
- <mwc-icon-button
60
- icon="autorenew"
61
+ <md-elevated-button
61
62
  @click=${(e: MouseEvent) => {
62
63
  this.dispatchEvent(
63
64
  new CustomEvent('i-need-selected', {
@@ -76,7 +77,9 @@ export default class GLTFInfoEditor extends OxPropertyEditor {
76
77
  })
77
78
  )
78
79
  }}
79
- ></mwc-icon-button>`
80
+ >
81
+ <md-icon>autorenew</md-icon>
82
+ </md-elevated-button>`
80
83
  : html` <div></div> `}
81
84
  </div>
82
85
  </div>
package/src/stock.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright HatioLab Inc. All rights reserved.
2
+ * Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
5
  import { Component, Model } from '@hatiolab/things-scene'
@@ -1,4 +1,17 @@
1
1
  {
2
+ "component.3d-container": "3D container",
3
+ "component.visualizer": "visualizer",
4
+ "component.rack-table": "rack table",
5
+ "component.cube": "cube",
6
+ "component.cylinder": "cylinder",
7
+ "component.sphere": "sphere",
8
+ "component.banner": "banner",
9
+ "component.sprite": "sprite",
10
+ "component.wall": "wall",
11
+ "component.desk": "desk",
12
+ "component.camera": "camera",
13
+ "component.light": "light",
14
+ "component.gltf-object": "gltf-object",
2
15
  "label.bin-locations": "bin locations",
3
16
  "label.camera-x": "camera X",
4
17
  "label.camera-y": "camera Y",
@@ -7,6 +20,7 @@
7
20
  "label.gamma-factor": "gamma factor",
8
21
  "label.section-digits": "section digits",
9
22
  "label.shelf-locations": "shelf locations",
23
+ "label.show-helper": "show helper",
10
24
  "label.unit-digits": "unit digits",
11
25
  "label.popup-position": "popup position",
12
26
  "label.light-type": "light type",
@@ -0,0 +1,31 @@
1
+ {
2
+ "component.3d-container": "3Dコンテナ",
3
+ "component.visualizer": "ビジュアライザ",
4
+ "component.rack-table": "ラックテーブル",
5
+ "component.cube": "立方体",
6
+ "component.cylinder": "円柱",
7
+ "component.sphere": "球体",
8
+ "component.banner": "バナー",
9
+ "component.sprite": "スプライト",
10
+ "component.wall": "壁",
11
+ "component.desk": "デスク",
12
+ "component.camera": "カメラ",
13
+ "component.light": "ライト",
14
+ "component.gltf-object": "gltfオブジェクト",
15
+ "label.bin-locations": "ビンの位置",
16
+ "label.camera-x": "カメラX",
17
+ "label.camera-y": "カメラY",
18
+ "label.camera-z": "カメラZ",
19
+ "label.gltf-file-info": "ファイル情報",
20
+ "label.gamma-factor": "ガンマ係数",
21
+ "label.section-digits": "セクションの桁数",
22
+ "label.shelf-locations": "棚の位置",
23
+ "label.show-helper": "ヘルパーを表示",
24
+ "label.unit-digits": "単位の桁数",
25
+ "label.popup-position": "ポップアップ位置",
26
+ "label.light-type": "ライトの種類",
27
+ "label.intensity": "強度",
28
+ "label.distance": "距離",
29
+ "label.decay": "減衰",
30
+ "label.cast-shadow": "影の投射"
31
+ }
@@ -1,17 +1,31 @@
1
1
  {
2
- "label.bin-locations": "bin locations",
2
+ "component.3d-container": "3D 컨테이너",
3
+ "component.visualizer": "비쥬얼라이저",
4
+ "component.rack-table": "rack 테이블",
5
+ "component.cube": "큐브",
6
+ "component.cylinder": "실린더",
7
+ "component.sphere": "구체",
8
+ "component.banner": "배너",
9
+ "component.sprite": "스프라이트",
10
+ "component.wall": "벽체",
11
+ "component.desk": "책상",
12
+ "component.camera": "카메라",
13
+ "component.light": "조명",
14
+ "component.gltf-object": "GLTF 오브젝트",
15
+ "label.bin-locations": "BIN 로케이션",
3
16
  "label.camera-x": "카메라 X",
4
17
  "label.camera-y": "카메라 Y",
5
18
  "label.camera-z": "카메라 Z",
6
19
  "label.gltf-info": "파일정보",
7
20
  "label.gamma-factor": "감마 인자",
8
- "label.section-digits": "section digits",
9
- "label.shelf-locations": "shelf locations",
10
- "label.unit-digits": "unit digits",
21
+ "label.section-digits": "섹션 넘버링",
22
+ "label.shelf-locations": "선반 로케이션",
23
+ "label.show-helper": "도우미 보기",
24
+ "label.unit-digits": "유닛 넘버링",
11
25
  "label.popup-position": "팝업 위치",
12
26
  "label.light-type": "조명 타입",
13
- "label.intensity": "intensity",
14
- "label.distance": "distance",
15
- "label.decay": "decay",
16
- "label.cast-shadow": "cast shadow"
27
+ "label.intensity": "강도",
28
+ "label.distance": "거리",
29
+ "label.decay": "감쇠",
30
+ "label.cast-shadow": "그림자 생성"
17
31
  }
@@ -1,14 +1,28 @@
1
1
  {
2
- "label.bin-locations": "[ms] bin locations",
3
- "label.camera-x": "[ms] camera X",
4
- "label.camera-y": "[ms] camera Y",
5
- "label.camera-z": "[ms] camera Z",
2
+ "component.3d-container": "3D container",
3
+ "component.visualizer": "visualizer",
4
+ "component.rack-table": "rack table",
5
+ "component.cube": "cube",
6
+ "component.cylinder": "cylinder",
7
+ "component.sphere": "sphere",
8
+ "component.banner": "banner",
9
+ "component.sprite": "sprite",
10
+ "component.wall": "wall",
11
+ "component.desk": "desk",
12
+ "component.camera": "camera",
13
+ "component.light": "light",
14
+ "component.gltf-object": "gltf-object",
15
+ "label.bin-locations": "bin locations",
16
+ "label.camera-x": "camera X",
17
+ "label.camera-y": "camera Y",
18
+ "label.camera-z": "camera Z",
6
19
  "label.gltf-file-info": "file info.",
7
- "label.gamma-factor": "[ms] gamma factor",
8
- "label.section-digits": "[ms] section digits",
9
- "label.shelf-locations": "[ms] shelf locations",
10
- "label.unit-digits": "[ms] unit digits",
11
- "label.popup-position": "[ms] popup position",
20
+ "label.gamma-factor": "gamma factor",
21
+ "label.section-digits": "section digits",
22
+ "label.shelf-locations": "shelf locations",
23
+ "label.show-helper": "show helper",
24
+ "label.unit-digits": "unit digits",
25
+ "label.popup-position": "popup position",
12
26
  "label.light-type": "light type",
13
27
  "label.intensity": "intensity",
14
28
  "label.distance": "distance",
@@ -1,17 +1,31 @@
1
1
  {
2
- "label.bin-locations": "[zh] bin locations",
3
- "label.camera-x": "相机X",
4
- "label.camera-y": "相机Y",
5
- "label.camera-z": "相机Z",
6
- "label.gltf-file-info": "file info.",
2
+ "component.3d-container": "3D容器",
3
+ "component.visualizer": "可视化器",
4
+ "component.rack-table": "机架表",
5
+ "component.cube": "立方体",
6
+ "component.cylinder": "圆柱体",
7
+ "component.sphere": "球体",
8
+ "component.banner": "横幅",
9
+ "component.sprite": "精灵",
10
+ "component.wall": "墙",
11
+ "component.desk": "桌子",
12
+ "component.camera": "摄像机",
13
+ "component.light": "灯光",
14
+ "component.gltf-object": "gltf对象",
15
+ "label.bin-locations": "储物箱位置",
16
+ "label.camera-x": "摄像机X",
17
+ "label.camera-y": "摄像机Y",
18
+ "label.camera-z": "摄像机Z",
19
+ "label.gltf-file-info": "文件信息",
7
20
  "label.gamma-factor": "伽马因子",
8
- "label.section-digits": "段数字",
21
+ "label.section-digits": "部门数字",
9
22
  "label.shelf-locations": "货架位置",
23
+ "label.show-helper": "显示助手",
10
24
  "label.unit-digits": "单位数字",
11
25
  "label.popup-position": "弹出位置",
12
- "label.light-type": "light type",
13
- "label.intensity": "intensity",
14
- "label.distance": "distance",
15
- "label.decay": "decay",
16
- "label.cast-shadow": "cast shadow"
26
+ "label.light-type": "灯光类型",
27
+ "label.intensity": "强度",
28
+ "label.distance": "距离",
29
+ "label.decay": "衰减",
30
+ "label.cast-shadow": "投射阴影"
17
31
  }