@operato/scene-visualizer 2.0.0-alpha.9 → 7.0.0-rc.0

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 (43) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/cache/translations/system/en.json +1 -0
  3. package/cache/translations/system/ko.json +1 -0
  4. package/db.sqlite +0 -0
  5. package/dist/banner.d.ts +0 -1
  6. package/dist/camera.d.ts +0 -1
  7. package/dist/cube.d.ts +0 -1
  8. package/dist/cylinder.d.ts +0 -1
  9. package/dist/desk.d.ts +0 -1
  10. package/dist/editors/property-editor-gltf-info.d.ts +2 -1
  11. package/dist/editors/property-editor-gltf-info.js +9 -6
  12. package/dist/editors/property-editor-gltf-info.js.map +1 -1
  13. package/dist/gltf-object.d.ts +0 -1
  14. package/dist/light.d.ts +0 -1
  15. package/dist/polygon.d.ts +4 -4
  16. package/dist/rack-table-cell.d.ts +0 -1
  17. package/dist/rack-table.d.ts +0 -1
  18. package/dist/sphere.d.ts +0 -1
  19. package/dist/sprite.d.ts +0 -1
  20. package/dist/stock.d.ts +0 -1
  21. package/dist/three-container.d.ts +0 -1
  22. package/dist/three-controls.d.ts +0 -1
  23. package/dist/three-layout.d.ts +0 -1
  24. package/dist/three-space.d.ts +0 -1
  25. package/dist/threed/floor/floor.d.ts +0 -1
  26. package/dist/threed/real-object-gltf.d.ts +0 -1
  27. package/dist/threed/real-object.d.ts +0 -1
  28. package/dist/threed/texture/canvas-texture.d.ts +0 -1
  29. package/dist/threed/three-dimensional-container.d.ts +0 -1
  30. package/dist/visualizer.d.ts +0 -1
  31. package/dist/wall.d.ts +0 -1
  32. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +3 -8
  33. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +3 -8
  34. package/logs/connections-2024-05-11-18.log +50 -0
  35. package/package.json +6 -5
  36. package/schema.graphql +41 -30
  37. package/src/editors/property-editor-gltf-info.ts +9 -6
  38. package/tsconfig.json +1 -0
  39. package/tsconfig.tsbuildinfo +1 -1
  40. package/logs/application-2024-04-09-13.log +0 -6
  41. package/logs/application-2024-04-09-14.log +0 -6
  42. package/logs/connections-2024-04-09-13.log +0 -50
  43. package/logs/connections-2024-04-09-14.log +0 -50
package/dist/light.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Anchor, ComponentNature, Ellipse } from '@hatiolab/things-scene';
3
2
  import * as THREE from 'three';
4
3
  import { RealObject } from './threed/real-object';
package/dist/polygon.d.ts CHANGED
@@ -9,9 +9,9 @@ export declare class PolygonExtrude extends RealObjectExtrude {
9
9
  };
10
10
  get shape(): THREE.Shape;
11
11
  get minMax(): {
12
- minX?: number | undefined;
13
- minY?: number | undefined;
14
- maxX?: number | undefined;
15
- maxY?: number | undefined;
12
+ minX?: number;
13
+ minY?: number;
14
+ maxX?: number;
15
+ maxY?: number;
16
16
  };
17
17
  }
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, Properties } from '@hatiolab/things-scene';
3
2
  import { RealObject } from './threed/real-object';
4
3
  declare const RackTableCell_base: typeof Component;
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, ComponentNature, ContainerAbstract, Control, Properties } from '@hatiolab/things-scene';
3
2
  import { Rack } from './rack';
4
3
  import { RackTableCell } from './rack-table-cell';
package/dist/sphere.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { ComponentNature, Ellipse } from '@hatiolab/things-scene';
3
2
  import { RealObject } from './threed/real-object';
4
3
  import { RealObjectMesh } from './threed/real-object-mesh';
package/dist/sprite.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { ComponentNature, Shape } from '@hatiolab/things-scene';
3
2
  import { RealObject } from './threed/real-object';
4
3
  declare const Sprite_base: typeof Shape;
package/dist/stock.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, Model } from '@hatiolab/things-scene';
3
2
  import * as THREE from 'three';
4
3
  import { RealObject } from './threed/real-object';
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, ComponentNature, Container, Properties } from '@hatiolab/things-scene';
3
2
  import * as THREE from 'three';
4
3
  import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js';
@@ -5,7 +5,6 @@
5
5
  * @author WestLangley / http://github.com/WestLangley
6
6
  * @author erich666 / http://erichaines.com
7
7
  */
8
- /// <reference path="../src/component.d.ts" />
9
8
  import { Component } from '@hatiolab/things-scene';
10
9
  import * as THREE from 'three';
11
10
  declare var ThreeControls: (this: any, object: THREE.Camera, component: Component) => void;
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, Container } from '@hatiolab/things-scene';
3
2
  declare var ThreeLayout: {
4
3
  reflow: (container: Container) => void;
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, ComponentNature, Container, Properties } from '@hatiolab/things-scene';
3
2
  import * as THREE from 'three';
4
3
  import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js';
@@ -1,4 +1,3 @@
1
- /// <reference path="../../../src/component.d.ts" />
2
1
  import * as THREE from 'three';
3
2
  import { Component } from '@hatiolab/things-scene';
4
3
  export declare function createFloor(component: Component): THREE.Mesh | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference path="../../src/component.d.ts" />
2
1
  import * as THREE from 'three';
3
2
  import { RealObject } from './real-object';
4
3
  import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
@@ -1,4 +1,3 @@
1
- /// <reference path="../../src/component.d.ts" />
2
1
  import * as THREE from 'three';
3
2
  import { Component, Properties } from '@hatiolab/things-scene';
4
3
  import { ThreeDimensionalContainer } from './three-dimensional-container';
@@ -1,4 +1,3 @@
1
- /// <reference path="../../../src/component.d.ts" />
2
1
  import * as THREE from 'three';
3
2
  import { Component } from '@hatiolab/things-scene';
4
3
  export declare function createCanvasTexture(component: Component): THREE.Texture;
@@ -1,4 +1,3 @@
1
- /// <reference path="../../src/component.d.ts" />
2
1
  import { Component } from '@hatiolab/things-scene';
3
2
  export interface ThreeDimensionalContainer extends Component {
4
3
  is3dContainer(): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { Component, Properties, ComponentNature } from '@hatiolab/things-scene';
3
2
  import * as THREE from 'three';
4
3
  import { RealObject } from './threed/real-object';
package/dist/wall.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference path="../src/component.d.ts" />
2
1
  import { ComponentNature, Shape } from '@hatiolab/things-scene';
3
2
  import { RealObject } from './threed/real-object';
4
3
  import { RealObjectMesh } from './threed/real-object-mesh';
@@ -6,14 +6,9 @@
6
6
  "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
7
  "files": [
8
8
  {
9
- "date": 1712637184883,
10
- "name": "logs/application-2024-04-09-13.log",
11
- "hash": "131ff8dabec5856d3879f74698835693ba3f6776d658294287185c265a1fd4b2"
12
- },
13
- {
14
- "date": 1712638832026,
15
- "name": "logs/application-2024-04-09-14.log",
16
- "hash": "fff8be2b7b225d8c54a525398d094bd9c4b6293e9bc7bafecd542d0cf41946c9"
9
+ "date": 1716211475574,
10
+ "name": "logs/application-2024-05-20-22.log",
11
+ "hash": "b51c9ed69f77fb948344f5d204817c1e3ae082553b8d6b988a17d71217c2823a"
17
12
  }
18
13
  ],
19
14
  "hashType": "sha256"
@@ -6,14 +6,9 @@
6
6
  "auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
7
7
  "files": [
8
8
  {
9
- "date": 1712637186597,
10
- "name": "logs/connections-2024-04-09-13.log",
11
- "hash": "2d51fab2d005804a17b399e6e4720418bbecca10f7eff87796317ca351c92699"
12
- },
13
- {
14
- "date": 1712638833707,
15
- "name": "logs/connections-2024-04-09-14.log",
16
- "hash": "c897c379f946a0f5f6abbc6660faae051ac335a1963031325cf8d4a17f093e3e"
9
+ "date": 1715421522664,
10
+ "name": "logs/connections-2024-05-11-18.log",
11
+ "hash": "dbe57f88797fa1dff4df8720ea79c3b7df640f2026bfdddd946c807f1e8ba596"
17
12
  }
18
13
  ],
19
14
  "hashType": "sha256"
@@ -0,0 +1,50 @@
1
+ 2024-05-11T18:58:45+09:00 info: Initializing ConnectionManager...
2
+ 2024-05-11T18:58:45+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2024-05-11T18:58:45+09:00 info: Connector 'echo-back' started to ready
4
+ 2024-05-11T18:58:45+09:00 info: Connector 'http-connector' started to ready
5
+ 2024-05-11T18:58:45+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2024-05-11T18:58:45+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2024-05-11T18:58:45+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2024-05-11T18:58:45+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2024-05-11T18:58:45+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2024-05-11T18:58:45+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2024-05-11T18:58:45+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2024-05-11T18:58:45+09:00 info: Connector 'socket-server' started to ready
13
+ 2024-05-11T18:58:45+09:00 info: Connector 'operato-connector' started to ready
14
+ 2024-05-11T18:58:45+09:00 info: Connector 'email-connector' started to ready
15
+ 2024-05-11T18:58:45+09:00 info: Connector 'influxdb-connector' started to ready
16
+ 2024-05-11T18:58:45+09:00 info: Connector 'msgraph-connector' started to ready
17
+ 2024-05-11T18:58:45+09:00 info: Connector 'proxy-connector' started to ready
18
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
19
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
20
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
21
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
22
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
23
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
24
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
25
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
26
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
27
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
28
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
29
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
30
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
31
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
32
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
33
+ 2024-05-11T18:58:45+09:00 info: proxy-connector connections are ready
34
+ 2024-05-11T18:58:45+09:00 info: All connector for 'echo-back-server' ready
35
+ 2024-05-11T18:58:45+09:00 info: All connector for 'echo-back' ready
36
+ 2024-05-11T18:58:45+09:00 info: All connector for 'http-connector' ready
37
+ 2024-05-11T18:58:45+09:00 info: All connector for 'graphql-connector' ready
38
+ 2024-05-11T18:58:45+09:00 info: All connector for 'sqlite-connector' ready
39
+ 2024-05-11T18:58:45+09:00 info: All connector for 'postgresql-connector' ready
40
+ 2024-05-11T18:58:45+09:00 info: All connector for 'mqtt-connector' ready
41
+ 2024-05-11T18:58:45+09:00 info: All connector for 'mssql-connector' ready
42
+ 2024-05-11T18:58:45+09:00 info: All connector for 'oracle-connector' ready
43
+ 2024-05-11T18:58:45+09:00 info: All connector for 'mysql-connector' ready
44
+ 2024-05-11T18:58:45+09:00 info: All connector for 'socket-server' ready
45
+ 2024-05-11T18:58:45+09:00 info: All connector for 'operato-connector' ready
46
+ 2024-05-11T18:58:45+09:00 info: All connector for 'email-connector' ready
47
+ 2024-05-11T18:58:45+09:00 info: All connector for 'influxdb-connector' ready
48
+ 2024-05-11T18:58:45+09:00 info: All connector for 'msgraph-connector' ready
49
+ 2024-05-11T18:58:45+09:00 info: All connector for 'proxy-connector' ready
50
+ 2024-05-11T18:58:45+09:00 info: ConnectionManager initialization done:
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/scene-visualizer",
3
3
  "description": "visualizer component for operato-scene",
4
4
  "author": "heartyoh",
5
- "version": "2.0.0-alpha.9",
5
+ "version": "7.0.0-rc.0",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
8
8
  "license": "MIT",
@@ -29,13 +29,14 @@
29
29
  "dependencies": {
30
30
  "@hatiolab/things-scene": "^3.2.0",
31
31
  "lit": "^3.1.2",
32
- "three": "^0.163.0",
32
+ "three": "^0.164.0",
33
33
  "tinycolor2": "^1.6.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@hatiolab/prettier-config": "^1.0.0",
37
- "@things-factory/builder": "^7.0.1-alpha.0",
38
- "@things-factory/operato-board": "^7.0.1-alpha.0",
37
+ "@material/web": "^1.4.0",
38
+ "@things-factory/builder": "^7.0.1-beta.0",
39
+ "@things-factory/operato-board": "^7.0.1-beta.0",
39
40
  "@types/three": "^0.159.0",
40
41
  "@types/tinycolor2": "^1.4.3",
41
42
  "@typescript-eslint/eslint-plugin": "^4.33.0",
@@ -62,5 +63,5 @@
62
63
  "prettier --write"
63
64
  ]
64
65
  },
65
- "gitHead": "1d9866ed1195dcb8bd7461c83cfd3e598b155c7c"
66
+ "gitHead": "40c22930ab65ec885f47a53429adc60e7f9c260f"
66
67
  }
package/schema.graphql CHANGED
@@ -133,7 +133,7 @@ type ApprovalLine {
133
133
  createdAt: DateTimeISO
134
134
  creator: User
135
135
  description: String
136
- domain: Domain
136
+ domain: Domain!
137
137
  id: ID!
138
138
  model: [ApprovalLineItem!]
139
139
  name: String
@@ -283,7 +283,7 @@ type AuthProvider {
283
283
  clientSecret: String
284
284
  createdAt: DateTimeISO
285
285
  creator: User
286
- domain: Domain
286
+ domain: Domain!
287
287
  id: ID!
288
288
  params: Object
289
289
  privateKey: String
@@ -305,6 +305,7 @@ type AuthProviderParameterSpec {
305
305
  name: String!
306
306
  placeholder: String
307
307
  property: Object
308
+ styles: Object
308
309
  type: String!
309
310
  }
310
311
 
@@ -411,7 +412,7 @@ type BoardTemplate {
411
412
  createdAt: DateTimeISO
412
413
  creator: User
413
414
  description: String
414
- domain: Domain
415
+ domain: Domain!
415
416
  id: ID!
416
417
  mine: Boolean!
417
418
  model: String
@@ -462,7 +463,7 @@ type CommonCode {
462
463
  creator: User
463
464
  description: String
464
465
  details: [CommonCodeDetail!]!
465
- domain: Domain
466
+ domain: Domain!
466
467
  id: ID!
467
468
  name: String!
468
469
  updatedAt: DateTimeISO
@@ -475,7 +476,7 @@ type CommonCodeDetail {
475
476
  createdAt: DateTimeISO
476
477
  creator: User
477
478
  description: String
478
- domain: Domain
479
+ domain: Domain!
479
480
  id: ID!
480
481
  labels: Object
481
482
  name: String!
@@ -548,7 +549,7 @@ input ConnectionPatch {
548
549
 
549
550
  type ConnectionState {
550
551
  description: String
551
- domain: Domain
552
+ domain: Domain!
552
553
  edge: Appliance
553
554
  id: String
554
555
  name: String
@@ -578,7 +579,7 @@ type Contact {
578
579
  creator: User
579
580
  deletedAt: DateTimeISO
580
581
  department: String
581
- domain: Domain
582
+ domain: Domain!
582
583
  email: EmailAddress
583
584
  id: ID!
584
585
  items: [ContactItem!]
@@ -649,7 +650,7 @@ type Department {
649
650
  creator: User
650
651
  deletedAt: DateTimeISO
651
652
  description: String
652
- domain: Domain
653
+ domain: Domain!
653
654
  extension: String
654
655
  id: ID!
655
656
  manager: Employee
@@ -756,7 +757,7 @@ type Employee {
756
757
  creator: User
757
758
  deletedAt: DateTimeISO
758
759
  department: Department
759
- domain: Domain
760
+ domain: Domain!
760
761
  email: EmailAddress
761
762
  extension: String
762
763
  hiredOn: String
@@ -822,7 +823,7 @@ type Entity {
822
823
  dataProp: String
823
824
  delStrategy: String
824
825
  description: String
825
- domain: Domain
826
+ domain: Domain!
826
827
  extEntity: Boolean
827
828
  fixedColumns: Float
828
829
  id: ID!
@@ -847,7 +848,7 @@ type EntityColumn {
847
848
  creator: User
848
849
  defVal: String
849
850
  description: String
850
- domain: Domain
851
+ domain: Domain!
851
852
  entity: Entity!
852
853
  formEditor: String
853
854
  formFormat: String
@@ -1020,7 +1021,7 @@ type Font {
1020
1021
  active: Boolean!
1021
1022
  createdAt: DateTimeISO
1022
1023
  creator: User
1023
- domain: Domain
1024
+ domain: Domain!
1024
1025
  files: [Attachment!]
1025
1026
  id: ID!
1026
1027
  name: String!
@@ -1143,14 +1144,14 @@ type LoginHistoryList {
1143
1144
  type Menu {
1144
1145
  buttons: [MenuButton!]!
1145
1146
  category: String
1146
- children: [Menu!]!
1147
+ children(permittedOnly: Boolean! = false): [Menu!]!
1147
1148
  columns: [MenuColumn!]!
1148
1149
  createdAt: DateTimeISO
1149
1150
  creator: User
1150
1151
  description: String
1151
1152
  detailFormId: String
1152
1153
  detailLayout: String
1153
- domain: Domain
1154
+ domain: Domain!
1154
1155
  fixedColumns: Float
1155
1156
  gridSaveUrl: String
1156
1157
  hiddenFlag: Boolean
@@ -1162,6 +1163,7 @@ type Menu {
1162
1163
  name: String
1163
1164
  pagination: Boolean
1164
1165
  parent: Menu
1166
+ privilege: PrivilegeObject
1165
1167
  rank: Float
1166
1168
  resourceId: String
1167
1169
  resourceName: String
@@ -1183,7 +1185,7 @@ type MenuButton {
1183
1185
  auth: String
1184
1186
  createdAt: DateTimeISO
1185
1187
  creator: User
1186
- domain: Domain
1188
+ domain: Domain!
1187
1189
  icon: String
1188
1190
  id: ID!
1189
1191
  logic: String
@@ -1218,7 +1220,7 @@ type MenuColumn {
1218
1220
  creator: User
1219
1221
  defVal: String
1220
1222
  description: String
1221
- domain: Domain
1223
+ domain: Domain!
1222
1224
  extField: Boolean
1223
1225
  formEditor: String
1224
1226
  formFormat: String
@@ -1307,7 +1309,7 @@ type MenuDetail {
1307
1309
  creator: User
1308
1310
  customView: String
1309
1311
  dataProp: String
1310
- domain: Domain
1312
+ domain: Domain!
1311
1313
  entityId: String
1312
1314
  id: ID!
1313
1315
  masterField: String
@@ -1324,7 +1326,7 @@ type MenuDetail {
1324
1326
  type MenuDetailButton {
1325
1327
  createdAt: DateTimeISO
1326
1328
  creator: User
1327
- domain: Domain
1329
+ domain: Domain!
1328
1330
  icon: String
1329
1331
  id: ID!
1330
1332
  logic: String
@@ -1358,7 +1360,7 @@ type MenuDetailColumn {
1358
1360
  creator: User
1359
1361
  defVal: String
1360
1362
  description: String
1361
- domain: Domain
1363
+ domain: Domain!
1362
1364
  extField: Boolean
1363
1365
  formEditor: String
1364
1366
  formFormat: String
@@ -1483,6 +1485,7 @@ input MenuPatch {
1483
1485
  name: String
1484
1486
  pagination: Boolean
1485
1487
  parent: ObjectRef
1488
+ privilege: PrivilegeInput
1486
1489
  rank: Int
1487
1490
  resourceId: String
1488
1491
  resourceName: String
@@ -1504,6 +1507,9 @@ type Mutation {
1504
1507
  attachContact(contactId: String!, id: String!): Employee!
1505
1508
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1506
1509
 
1510
+ """To clear translations cache"""
1511
+ clearTranslationsCache: Boolean!
1512
+
1507
1513
  """To clone a Board from existing Board"""
1508
1514
  cloneBoard(id: String!, patch: BoardPatch!, targetGroupId: String, targetSubdomain: String!): Board!
1509
1515
 
@@ -2457,6 +2463,7 @@ input NewMenu {
2457
2463
  name: String!
2458
2464
  pagination: Boolean
2459
2465
  parent: ObjectRef
2466
+ privilege: PrivilegeInput
2460
2467
  rank: Int
2461
2468
  resourceId: String
2462
2469
  resourceName: String
@@ -2731,7 +2738,7 @@ type Notification {
2731
2738
  body: String
2732
2739
  createdAt: DateTimeISO
2733
2740
  creator: User
2734
- domain: Domain
2741
+ domain: Domain!
2735
2742
  id: ID!
2736
2743
  image: String
2737
2744
  owner: User
@@ -2765,7 +2772,7 @@ type NotificationRule {
2765
2772
  creator: User
2766
2773
  deletedAt: DateTimeISO
2767
2774
  description: String
2768
- domain: Domain
2775
+ domain: Domain!
2769
2776
  id: ID!
2770
2777
  name: String
2771
2778
 
@@ -2822,7 +2829,7 @@ type Oauth2Client {
2822
2829
  createdAt: DateTimeISO
2823
2830
  creator: User
2824
2831
  description: String
2825
- domain: Domain
2832
+ domain: Domain!
2826
2833
  expires: DateTimeISO
2827
2834
  grantType: String
2828
2835
  icon: String
@@ -2975,7 +2982,7 @@ type PartnerSetting {
2975
2982
  createdAt: DateTimeISO
2976
2983
  creator: User
2977
2984
  description: String
2978
- domain: Domain
2985
+ domain: Domain!
2979
2986
  id: ID!
2980
2987
  name: String
2981
2988
  partnerDomain: Domain
@@ -3004,7 +3011,7 @@ input PartnerSettingPatch {
3004
3011
  type PayloadLog {
3005
3012
  createdAt: DateTimeISO
3006
3013
  creator: User
3007
- domain: Domain
3014
+ domain: Domain!
3008
3015
  endpoint: String!
3009
3016
  id: ID!
3010
3017
  name: String!
@@ -3170,6 +3177,7 @@ type PropertySpec {
3170
3177
  name: String!
3171
3178
  placeholder: String
3172
3179
  property: Object
3180
+ styles: Object
3173
3181
  type: String!
3174
3182
  }
3175
3183
 
@@ -3425,6 +3433,9 @@ type Query {
3425
3433
  myFavorites: [Favorite!]!
3426
3434
  myLoginHistories(limit: Float!): [LoginHistory!]!
3427
3435
 
3436
+ """To fetch my own Menus"""
3437
+ myMenus(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): MenuList!
3438
+
3428
3439
  """To fetch my notifications"""
3429
3440
  myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3430
3441
 
@@ -3615,7 +3626,7 @@ type Scenario {
3615
3626
  createdAt: DateTimeISO
3616
3627
  creator: User
3617
3628
  description: String
3618
- domain: Domain
3629
+ domain: Domain!
3619
3630
  id: ID!
3620
3631
  instances: [ScenarioInstance!]
3621
3632
  name: String!
@@ -3711,7 +3722,7 @@ type Setting {
3711
3722
  createdAt: DateTimeISO
3712
3723
  creator: User
3713
3724
  description: String
3714
- domain: Domain
3725
+ domain: Domain!
3715
3726
  id: ID!
3716
3727
  name: String!
3717
3728
  updatedAt: DateTimeISO
@@ -3748,7 +3759,7 @@ type StateRegister {
3748
3759
  createdAt: DateTimeISO
3749
3760
  creator: User
3750
3761
  description: String
3751
- domain: Domain
3762
+ domain: Domain!
3752
3763
  id: ID!
3753
3764
  name: String
3754
3765
  refBy: String
@@ -3850,7 +3861,7 @@ type Terminology {
3850
3861
  createdAt: DateTimeISO
3851
3862
  description: String
3852
3863
  display: String!
3853
- domain: Domain
3864
+ domain: Domain!
3854
3865
  id: ID!
3855
3866
  locale: String!
3856
3867
  name: String!
@@ -3879,7 +3890,7 @@ type Theme {
3879
3890
  creator: User
3880
3891
  deletedAt: DateTimeISO
3881
3892
  description: String
3882
- domain: Domain
3893
+ domain: Domain!
3883
3894
  id: ID!
3884
3895
  name: String
3885
3896
  type: String
@@ -3960,7 +3971,7 @@ type UserRole {
3960
3971
  type UsersAuthProviders {
3961
3972
  authProvider: AuthProvider
3962
3973
  createdAt: DateTimeISO
3963
- domain: Domain
3974
+ domain: Domain!
3964
3975
  id: ID!
3965
3976
  ssoId: String
3966
3977
  updatedAt: DateTimeISO
@@ -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/tsconfig.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "lib": ["es2019", "dom"],
8
8
  "strict": true,
9
9
  "esModuleInterop": false,
10
+ "allowJs": true,
10
11
  "allowSyntheticDefaultImports": true,
11
12
  "experimentalDecorators": true,
12
13
  "importHelpers": true,