@things-factory/operato-board 4.0.19 → 4.0.23

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,29 +1,33 @@
1
+ import '@things-factory/notification'
2
+ import './viewparts/menu-tools'
3
+ import './apptools/favorite-tool'
4
+
5
+ import { html } from 'lit-html'
6
+
7
+ import { registerDefaultGroups } from '@operato/board/dist/src/component/register-default-groups'
1
8
  import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
9
+ import { auth } from '@things-factory/auth-base'
10
+ import { setAuthManagementMenus } from '@things-factory/auth-ui'
2
11
  import {
3
12
  appendViewpart,
4
- updateViewpart,
5
13
  toggleOverlay,
6
14
  TOOL_POSITION,
7
- VIEWPART_POSITION,
8
- VIEWPART_LEVEL
15
+ updateViewpart,
16
+ VIEWPART_LEVEL,
17
+ VIEWPART_POSITION
9
18
  } from '@things-factory/layout-base'
10
- import { store, navigate, UPDATE_BASE_URL } from '@things-factory/shell'
11
- import { auth } from '@things-factory/auth-base'
12
- import { setAuthManagementMenus } from '@things-factory/auth-ui'
13
19
  import { ADD_MORENDA } from '@things-factory/more-base'
14
20
  import { ADD_SETTING } from '@things-factory/setting-base'
15
- import '@things-factory/notification'
16
-
17
- import { html } from 'lit-html'
18
-
19
- import './viewparts/menu-tools'
20
- import './apptools/favorite-tool'
21
+ import { navigate, store, UPDATE_BASE_URL } from '@things-factory/shell'
21
22
 
22
23
  export default function bootstrap() {
23
24
  store.dispatch({
24
25
  type: UPDATE_BASE_URL
25
26
  })
26
27
 
28
+ /* set board-modeller group and default templates */
29
+ registerDefaultGroups()
30
+
27
31
  /* set auth management menus into more-panel */
28
32
  auth.on('profile', async ({ credential }) => {
29
33
  console.log('on profile', credential)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "4.0.19",
3
+ "version": "4.0.23",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -60,54 +60,54 @@
60
60
  "@operato/scene-table": "^0.0.22",
61
61
  "@operato/scene-timer": "^0.0.22",
62
62
  "@operato/scene-wheel-sorter": "^0.0.22",
63
- "@things-factory/apptool-ui": "^4.0.18",
64
- "@things-factory/attachment-ui": "^4.0.18",
65
- "@things-factory/auth-ui": "^4.0.18",
66
- "@things-factory/board-service": "^4.0.19",
67
- "@things-factory/board-ui": "^4.0.18",
68
- "@things-factory/context-ui": "^4.0.18",
69
- "@things-factory/export-ui": "^4.0.18",
70
- "@things-factory/fav-base": "^4.0.18",
71
- "@things-factory/font-base": "^4.0.18",
72
- "@things-factory/form-ui": "^4.0.18",
73
- "@things-factory/help": "^4.0.18",
74
- "@things-factory/i18n-ui": "^4.0.18",
75
- "@things-factory/import-ui": "^4.0.18",
76
- "@things-factory/integration-notification": "^4.0.18",
77
- "@things-factory/integration-ui": "^4.0.18",
78
- "@things-factory/layout-ui": "^4.0.18",
79
- "@things-factory/more-ui": "^4.0.18",
80
- "@things-factory/notification": "^4.0.18",
81
- "@things-factory/oauth2-client": "^4.0.18",
82
- "@things-factory/offline-ui": "^4.0.18",
63
+ "@things-factory/apptool-ui": "^4.0.23",
64
+ "@things-factory/attachment-ui": "^4.0.23",
65
+ "@things-factory/auth-ui": "^4.0.23",
66
+ "@things-factory/board-service": "^4.0.23",
67
+ "@things-factory/board-ui": "^4.0.23",
68
+ "@things-factory/context-ui": "^4.0.23",
69
+ "@things-factory/export-ui": "^4.0.23",
70
+ "@things-factory/fav-base": "^4.0.23",
71
+ "@things-factory/font-base": "^4.0.23",
72
+ "@things-factory/form-ui": "^4.0.23",
73
+ "@things-factory/help": "^4.0.23",
74
+ "@things-factory/i18n-ui": "^4.0.23",
75
+ "@things-factory/import-ui": "^4.0.23",
76
+ "@things-factory/integration-notification": "^4.0.23",
77
+ "@things-factory/integration-ui": "^4.0.23",
78
+ "@things-factory/layout-ui": "^4.0.23",
79
+ "@things-factory/more-ui": "^4.0.23",
80
+ "@things-factory/notification": "^4.0.23",
81
+ "@things-factory/oauth2-client": "^4.0.23",
82
+ "@things-factory/offline-ui": "^4.0.23",
83
83
  "@things-factory/operato-license-checker": "^3.0.4",
84
- "@things-factory/pdf": "^4.0.18",
85
- "@things-factory/print-service": "^4.0.18",
86
- "@things-factory/print-ui": "^4.0.18",
87
- "@things-factory/resource-ui": "^4.0.18",
88
- "@things-factory/scene-baidu-map": "^4.0.18",
89
- "@things-factory/scene-data-transform": "^4.0.18",
90
- "@things-factory/scene-excel": "^4.0.18",
91
- "@things-factory/scene-firebase": "^4.0.18",
92
- "@things-factory/scene-form": "^4.0.18",
93
- "@things-factory/scene-google-map": "^4.0.18",
94
- "@things-factory/scene-graphql": "^4.0.18",
84
+ "@things-factory/pdf": "^4.0.23",
85
+ "@things-factory/print-service": "^4.0.23",
86
+ "@things-factory/print-ui": "^4.0.23",
87
+ "@things-factory/resource-ui": "^4.0.23",
88
+ "@things-factory/scene-baidu-map": "^4.0.23",
89
+ "@things-factory/scene-data-transform": "^4.0.23",
90
+ "@things-factory/scene-excel": "^4.0.23",
91
+ "@things-factory/scene-firebase": "^4.0.23",
92
+ "@things-factory/scene-form": "^4.0.23",
93
+ "@things-factory/scene-google-map": "^4.0.23",
94
+ "@things-factory/scene-graphql": "^4.0.23",
95
95
  "@things-factory/scene-half-roundrect": "^4.0.9",
96
- "@things-factory/scene-label": "^4.0.18",
97
- "@things-factory/scene-marker": "^4.0.18",
98
- "@things-factory/scene-mqtt": "^4.0.18",
99
- "@things-factory/scene-news-ticker": "^4.0.18",
100
- "@things-factory/scene-restful": "^4.0.18",
101
- "@things-factory/scene-urdf": "^4.0.18",
102
- "@things-factory/scene-visualizer": "^4.0.18",
103
- "@things-factory/screencast-ui": "^4.0.18",
104
- "@things-factory/setting-ui": "^4.0.18",
105
- "@things-factory/system-ui": "^4.0.18"
96
+ "@things-factory/scene-label": "^4.0.23",
97
+ "@things-factory/scene-marker": "^4.0.23",
98
+ "@things-factory/scene-mqtt": "^4.0.23",
99
+ "@things-factory/scene-news-ticker": "^4.0.23",
100
+ "@things-factory/scene-restful": "^4.0.23",
101
+ "@things-factory/scene-urdf": "^4.0.23",
102
+ "@things-factory/scene-visualizer": "^4.0.23",
103
+ "@things-factory/screencast-ui": "^4.0.23",
104
+ "@things-factory/setting-ui": "^4.0.23",
105
+ "@things-factory/system-ui": "^4.0.23"
106
106
  },
107
107
  "devDependencies": {
108
- "@things-factory/board-test": "^4.0.19",
109
- "@things-factory/builder": "^4.0.18"
108
+ "@things-factory/board-test": "^4.0.23",
109
+ "@things-factory/builder": "^4.0.23"
110
110
  },
111
111
  "resolutions": {},
112
- "gitHead": "0a479e55d442701bb96b1fe3a93f9b0c26c98be5"
112
+ "gitHead": "49ba662dea1d349e9608a9a58c8fcfbc1310a5d6"
113
113
  }
@@ -1,16 +0,0 @@
1
- var licenseKey = require('./license').Key
2
- module.exports = {
3
- accessTokenCookieKey: 'access_token.board',
4
- licenseKey: licenseKey,
5
- ormconfig: {
6
- name: 'default',
7
- type: 'postgres',
8
- host: 'localhost',
9
- port: 5432,
10
- database: 'postgres',
11
- username: 'postgres',
12
- password: 'hatioLAB1008',
13
- synchronize: true,
14
- logging: true
15
- }
16
- }
@@ -1,50 +0,0 @@
1
- module.exports = {
2
- protocol: 'http',
3
- subdomain: 'system',
4
- accessTokenCookieKey: 'access_token.board',
5
- email: {
6
- host: 'smtp.office365.com', // your sender-email smtp host
7
- port: 587, // smtp server port
8
- secure: false, // true for 465, false for other ports
9
- auth: {
10
- user: 'your sender-email',
11
- pass: 'your sender-email password' // generated ethereal password
12
- },
13
- secureConnection: false,
14
- tls: {
15
- ciphers: 'SSLv3'
16
- }
17
- },
18
- logger: {
19
- file: {
20
- filename: 'logs/application-%DATE%.log',
21
- datePattern: 'YYYY-MM-DD-HH',
22
- zippedArchive: false,
23
- maxSize: '20m',
24
- maxFiles: '2d',
25
- level: 'info'
26
- },
27
- console: {
28
- level: 'silly'
29
- }
30
- },
31
- // ormconfig: {
32
- // name: 'default',
33
- // type: 'sqlite',
34
- // database: 'db.sqlite',
35
- // synchronize: false,
36
- // logging: true,
37
- // logger: 'debug'
38
- // }
39
- ormconfig: {
40
- name: 'default',
41
- type: 'postgres',
42
- host: 'localhost',
43
- port: 55432,
44
- database: 'postgres',
45
- username: 'postgres',
46
- password: 'abcd1234',
47
- synchronize: true,
48
- logging: true
49
- }
50
- }