@operato/scene-visualizer 2.0.0-alpha.8 → 2.0.0-beta.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.
@@ -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.8",
5
+ "version": "2.0.0-beta.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.162.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.0-alpha.0",
38
- "@things-factory/operato-board": "^7.0.0-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": "1390d1c33e0535b22bab7f1f29e992370a520605"
66
+ "gitHead": "3deb3dba6ab927a087568af0cdc930132ed1956e"
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,8 +476,9 @@ type CommonCodeDetail {
475
476
  createdAt: DateTimeISO
476
477
  creator: User
477
478
  description: String
478
- domain: Domain
479
+ domain: Domain!
479
480
  id: ID!
481
+ labels: Object
480
482
  name: String!
481
483
  rank: Float
482
484
  updatedAt: DateTimeISO
@@ -493,6 +495,7 @@ input CommonCodeDetailPatch {
493
495
  cuFlag: String
494
496
  description: String
495
497
  id: ID
498
+ labels: Object
496
499
  name: String
497
500
  rank: Float
498
501
  }
@@ -516,6 +519,7 @@ type Connection {
516
519
  creator: User
517
520
  description: String
518
521
  domain: Domain
522
+ edge: Appliance
519
523
  endpoint: String
520
524
  id: ID!
521
525
  name: String!
@@ -535,6 +539,7 @@ input ConnectionPatch {
535
539
  active: Boolean
536
540
  cuFlag: String
537
541
  description: String
542
+ edge: ObjectRef
538
543
  endpoint: String
539
544
  id: ID
540
545
  name: String
@@ -544,7 +549,8 @@ input ConnectionPatch {
544
549
 
545
550
  type ConnectionState {
546
551
  description: String
547
- domain: Domain
552
+ domain: Domain!
553
+ edge: Appliance
548
554
  id: String
549
555
  name: String
550
556
  state: String
@@ -573,7 +579,7 @@ type Contact {
573
579
  creator: User
574
580
  deletedAt: DateTimeISO
575
581
  department: String
576
- domain: Domain
582
+ domain: Domain!
577
583
  email: EmailAddress
578
584
  id: ID!
579
585
  items: [ContactItem!]
@@ -644,7 +650,7 @@ type Department {
644
650
  creator: User
645
651
  deletedAt: DateTimeISO
646
652
  description: String
647
- domain: Domain
653
+ domain: Domain!
648
654
  extension: String
649
655
  id: ID!
650
656
  manager: Employee
@@ -751,7 +757,7 @@ type Employee {
751
757
  creator: User
752
758
  deletedAt: DateTimeISO
753
759
  department: Department
754
- domain: Domain
760
+ domain: Domain!
755
761
  email: EmailAddress
756
762
  extension: String
757
763
  hiredOn: String
@@ -817,7 +823,7 @@ type Entity {
817
823
  dataProp: String
818
824
  delStrategy: String
819
825
  description: String
820
- domain: Domain
826
+ domain: Domain!
821
827
  extEntity: Boolean
822
828
  fixedColumns: Float
823
829
  id: ID!
@@ -842,7 +848,7 @@ type EntityColumn {
842
848
  creator: User
843
849
  defVal: String
844
850
  description: String
845
- domain: Domain
851
+ domain: Domain!
846
852
  entity: Entity!
847
853
  formEditor: String
848
854
  formFormat: String
@@ -1015,7 +1021,7 @@ type Font {
1015
1021
  active: Boolean!
1016
1022
  createdAt: DateTimeISO
1017
1023
  creator: User
1018
- domain: Domain
1024
+ domain: Domain!
1019
1025
  files: [Attachment!]
1020
1026
  id: ID!
1021
1027
  name: String!
@@ -1138,14 +1144,14 @@ type LoginHistoryList {
1138
1144
  type Menu {
1139
1145
  buttons: [MenuButton!]!
1140
1146
  category: String
1141
- children: [Menu!]!
1147
+ children(permittedOnly: Boolean! = false): [Menu!]!
1142
1148
  columns: [MenuColumn!]!
1143
1149
  createdAt: DateTimeISO
1144
1150
  creator: User
1145
1151
  description: String
1146
1152
  detailFormId: String
1147
1153
  detailLayout: String
1148
- domain: Domain
1154
+ domain: Domain!
1149
1155
  fixedColumns: Float
1150
1156
  gridSaveUrl: String
1151
1157
  hiddenFlag: Boolean
@@ -1157,6 +1163,7 @@ type Menu {
1157
1163
  name: String
1158
1164
  pagination: Boolean
1159
1165
  parent: Menu
1166
+ privilege: PrivilegeObject
1160
1167
  rank: Float
1161
1168
  resourceId: String
1162
1169
  resourceName: String
@@ -1178,7 +1185,7 @@ type MenuButton {
1178
1185
  auth: String
1179
1186
  createdAt: DateTimeISO
1180
1187
  creator: User
1181
- domain: Domain
1188
+ domain: Domain!
1182
1189
  icon: String
1183
1190
  id: ID!
1184
1191
  logic: String
@@ -1213,7 +1220,7 @@ type MenuColumn {
1213
1220
  creator: User
1214
1221
  defVal: String
1215
1222
  description: String
1216
- domain: Domain
1223
+ domain: Domain!
1217
1224
  extField: Boolean
1218
1225
  formEditor: String
1219
1226
  formFormat: String
@@ -1302,7 +1309,7 @@ type MenuDetail {
1302
1309
  creator: User
1303
1310
  customView: String
1304
1311
  dataProp: String
1305
- domain: Domain
1312
+ domain: Domain!
1306
1313
  entityId: String
1307
1314
  id: ID!
1308
1315
  masterField: String
@@ -1319,7 +1326,7 @@ type MenuDetail {
1319
1326
  type MenuDetailButton {
1320
1327
  createdAt: DateTimeISO
1321
1328
  creator: User
1322
- domain: Domain
1329
+ domain: Domain!
1323
1330
  icon: String
1324
1331
  id: ID!
1325
1332
  logic: String
@@ -1353,7 +1360,7 @@ type MenuDetailColumn {
1353
1360
  creator: User
1354
1361
  defVal: String
1355
1362
  description: String
1356
- domain: Domain
1363
+ domain: Domain!
1357
1364
  extField: Boolean
1358
1365
  formEditor: String
1359
1366
  formFormat: String
@@ -1478,6 +1485,7 @@ input MenuPatch {
1478
1485
  name: String
1479
1486
  pagination: Boolean
1480
1487
  parent: ObjectRef
1488
+ privilege: PrivilegeInput
1481
1489
  rank: Int
1482
1490
  resourceId: String
1483
1491
  resourceName: String
@@ -1499,6 +1507,9 @@ type Mutation {
1499
1507
  attachContact(contactId: String!, id: String!): Employee!
1500
1508
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1501
1509
 
1510
+ """To clear translations cache"""
1511
+ clearTranslationsCache: Boolean!
1512
+
1502
1513
  """To clone a Board from existing Board"""
1503
1514
  cloneBoard(id: String!, patch: BoardPatch!, targetGroupId: String, targetSubdomain: String!): Board!
1504
1515
 
@@ -2303,12 +2314,14 @@ input NewCommonCode {
2303
2314
  input NewCommonCodeDetail {
2304
2315
  commonCode: ObjectRef!
2305
2316
  description: String
2317
+ labels: Object
2306
2318
  name: String!
2307
2319
  rank: Float!
2308
2320
  }
2309
2321
 
2310
2322
  input NewConnection {
2311
2323
  description: String
2324
+ edge: ObjectRef
2312
2325
  endpoint: String
2313
2326
  name: String!
2314
2327
  params: String
@@ -2450,6 +2463,7 @@ input NewMenu {
2450
2463
  name: String!
2451
2464
  pagination: Boolean
2452
2465
  parent: ObjectRef
2466
+ privilege: PrivilegeInput
2453
2467
  rank: Int
2454
2468
  resourceId: String
2455
2469
  resourceName: String
@@ -2724,7 +2738,7 @@ type Notification {
2724
2738
  body: String
2725
2739
  createdAt: DateTimeISO
2726
2740
  creator: User
2727
- domain: Domain
2741
+ domain: Domain!
2728
2742
  id: ID!
2729
2743
  image: String
2730
2744
  owner: User
@@ -2758,7 +2772,7 @@ type NotificationRule {
2758
2772
  creator: User
2759
2773
  deletedAt: DateTimeISO
2760
2774
  description: String
2761
- domain: Domain
2775
+ domain: Domain!
2762
2776
  id: ID!
2763
2777
  name: String
2764
2778
 
@@ -2815,7 +2829,7 @@ type Oauth2Client {
2815
2829
  createdAt: DateTimeISO
2816
2830
  creator: User
2817
2831
  description: String
2818
- domain: Domain
2832
+ domain: Domain!
2819
2833
  expires: DateTimeISO
2820
2834
  grantType: String
2821
2835
  icon: String
@@ -2968,7 +2982,7 @@ type PartnerSetting {
2968
2982
  createdAt: DateTimeISO
2969
2983
  creator: User
2970
2984
  description: String
2971
- domain: Domain
2985
+ domain: Domain!
2972
2986
  id: ID!
2973
2987
  name: String
2974
2988
  partnerDomain: Domain
@@ -2997,7 +3011,7 @@ input PartnerSettingPatch {
2997
3011
  type PayloadLog {
2998
3012
  createdAt: DateTimeISO
2999
3013
  creator: User
3000
- domain: Domain
3014
+ domain: Domain!
3001
3015
  endpoint: String!
3002
3016
  id: ID!
3003
3017
  name: String!
@@ -3163,6 +3177,7 @@ type PropertySpec {
3163
3177
  name: String!
3164
3178
  placeholder: String
3165
3179
  property: Object
3180
+ styles: Object
3166
3181
  type: String!
3167
3182
  }
3168
3183
 
@@ -3309,6 +3324,9 @@ type Query {
3309
3324
  """To fetch domains with given privilege for user"""
3310
3325
  domainsWithPrivilege(category: String!, privilege: String!): [Domain!]!
3311
3326
 
3327
+ """To fetch multiple appliance"""
3328
+ edges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApplianceList!
3329
+
3312
3330
  """To fetch a Employee"""
3313
3331
  employee(id: String!): Employee
3314
3332
 
@@ -3415,6 +3433,9 @@ type Query {
3415
3433
  myFavorites: [Favorite!]!
3416
3434
  myLoginHistories(limit: Float!): [LoginHistory!]!
3417
3435
 
3436
+ """To fetch my own Menus"""
3437
+ myMenus(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): MenuList!
3438
+
3418
3439
  """To fetch my notifications"""
3419
3440
  myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3420
3441
 
@@ -3605,7 +3626,7 @@ type Scenario {
3605
3626
  createdAt: DateTimeISO
3606
3627
  creator: User
3607
3628
  description: String
3608
- domain: Domain
3629
+ domain: Domain!
3609
3630
  id: ID!
3610
3631
  instances: [ScenarioInstance!]
3611
3632
  name: String!
@@ -3701,7 +3722,7 @@ type Setting {
3701
3722
  createdAt: DateTimeISO
3702
3723
  creator: User
3703
3724
  description: String
3704
- domain: Domain
3725
+ domain: Domain!
3705
3726
  id: ID!
3706
3727
  name: String!
3707
3728
  updatedAt: DateTimeISO
@@ -3738,7 +3759,7 @@ type StateRegister {
3738
3759
  createdAt: DateTimeISO
3739
3760
  creator: User
3740
3761
  description: String
3741
- domain: Domain
3762
+ domain: Domain!
3742
3763
  id: ID!
3743
3764
  name: String
3744
3765
  refBy: String
@@ -3840,7 +3861,7 @@ type Terminology {
3840
3861
  createdAt: DateTimeISO
3841
3862
  description: String
3842
3863
  display: String!
3843
- domain: Domain
3864
+ domain: Domain!
3844
3865
  id: ID!
3845
3866
  locale: String!
3846
3867
  name: String!
@@ -3869,7 +3890,7 @@ type Theme {
3869
3890
  creator: User
3870
3891
  deletedAt: DateTimeISO
3871
3892
  description: String
3872
- domain: Domain
3893
+ domain: Domain!
3873
3894
  id: ID!
3874
3895
  name: String
3875
3896
  type: String
@@ -3950,7 +3971,7 @@ type UserRole {
3950
3971
  type UsersAuthProviders {
3951
3972
  authProvider: AuthProvider
3952
3973
  createdAt: DateTimeISO
3953
- domain: Domain
3974
+ domain: Domain!
3954
3975
  id: ID!
3955
3976
  ssoId: String
3956
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,