@things-factory/operato-board 6.2.97 → 6.2.102

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/package.json +31 -31
  2. package/dist-client/bootstrap.d.ts +0 -8
  3. package/dist-client/bootstrap.js +0 -227
  4. package/dist-client/bootstrap.js.map +0 -1
  5. package/dist-client/index.d.ts +0 -0
  6. package/dist-client/index.js +0 -2
  7. package/dist-client/index.js.map +0 -1
  8. package/dist-client/pages/app-board-player-page.d.ts +0 -6
  9. package/dist-client/pages/app-board-player-page.js +0 -11
  10. package/dist-client/pages/app-board-player-page.js.map +0 -1
  11. package/dist-client/pages/app-board-viewer-page.d.ts +0 -5
  12. package/dist-client/pages/app-board-viewer-page.js +0 -26
  13. package/dist-client/pages/app-board-viewer-page.js.map +0 -1
  14. package/dist-client/pages/connection-list-page.d.ts +0 -30
  15. package/dist-client/pages/connection-list-page.js +0 -13
  16. package/dist-client/pages/connection-list-page.js.map +0 -1
  17. package/dist-client/pages/scenario-list-page.d.ts +0 -30
  18. package/dist-client/pages/scenario-list-page.js +0 -8
  19. package/dist-client/pages/scenario-list-page.js.map +0 -1
  20. package/dist-client/route.d.ts +0 -1
  21. package/dist-client/route.js +0 -22
  22. package/dist-client/route.js.map +0 -1
  23. package/dist-client/themes/app-theme.css +0 -145
  24. package/dist-client/themes/board-app-menu-tools-theme.css +0 -6
  25. package/dist-client/themes/grist-theme.css +0 -217
  26. package/dist-client/themes/layout-theme.css +0 -92
  27. package/dist-client/themes/oops-theme.css +0 -26
  28. package/dist-client/themes/report-theme.css +0 -47
  29. package/dist-client/tsconfig.tsbuildinfo +0 -1
  30. package/dist-client/viewparts/menu-tools.d.ts +0 -19
  31. package/dist-client/viewparts/menu-tools.js +0 -140
  32. package/dist-client/viewparts/menu-tools.js.map +0 -1
  33. package/dist-server/index.js +0 -7
  34. package/dist-server/index.js.map +0 -1
  35. package/dist-server/middlewares/index.js +0 -6
  36. package/dist-server/middlewares/index.js.map +0 -1
  37. package/dist-server/migrations/1610516350460-SeedRole.js +0 -195
  38. package/dist-server/migrations/1610516350460-SeedRole.js.map +0 -1
  39. package/dist-server/migrations/index.js +0 -12
  40. package/dist-server/migrations/index.js.map +0 -1
  41. package/dist-server/routes.js +0 -2
  42. package/dist-server/routes.js.map +0 -1
  43. package/dist-server/tsconfig.tsbuildinfo +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "6.2.97",
3
+ "version": "6.2.102",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -89,40 +89,40 @@
89
89
  "@operato/shell": "^1.0.1",
90
90
  "@operato/styles": "^1.0.0",
91
91
  "@operato/utils": "^1.0.1",
92
- "@things-factory/apptool-ui": "^6.2.96",
93
- "@things-factory/auth-azure-ad": "^6.2.96",
94
- "@things-factory/auth-google": "^6.2.96",
95
- "@things-factory/auth-ui": "^6.2.96",
96
- "@things-factory/board-service": "^6.2.96",
97
- "@things-factory/board-ui": "^6.2.96",
98
- "@things-factory/context-ui": "^6.2.96",
99
- "@things-factory/export-ui": "^6.2.96",
100
- "@things-factory/fav-base": "^6.2.96",
101
- "@things-factory/font-base": "^6.2.96",
92
+ "@things-factory/apptool-ui": "^6.2.101",
93
+ "@things-factory/auth-azure-ad": "^6.2.101",
94
+ "@things-factory/auth-google": "^6.2.101",
95
+ "@things-factory/auth-ui": "^6.2.101",
96
+ "@things-factory/board-service": "^6.2.101",
97
+ "@things-factory/board-ui": "^6.2.102",
98
+ "@things-factory/context-ui": "^6.2.101",
99
+ "@things-factory/export-ui": "^6.2.101",
100
+ "@things-factory/fav-base": "^6.2.101",
101
+ "@things-factory/font-base": "^6.2.101",
102
102
  "@things-factory/form-ui": "^6.2.96",
103
- "@things-factory/help": "^6.2.96",
104
- "@things-factory/i18n-base": "^6.2.96",
105
- "@things-factory/import-ui": "^6.2.96",
106
- "@things-factory/integration-base": "^6.2.96",
107
- "@things-factory/integration-msgraph": "^6.2.96",
108
- "@things-factory/integration-notification": "^6.2.97",
109
- "@things-factory/integration-openai": "^6.2.96",
110
- "@things-factory/integration-ui": "^6.2.96",
111
- "@things-factory/more-ui": "^6.2.96",
112
- "@things-factory/notification": "^6.2.97",
113
- "@things-factory/oauth2-client": "^6.2.96",
114
- "@things-factory/offline-ui": "^6.2.96",
103
+ "@things-factory/help": "^6.2.101",
104
+ "@things-factory/i18n-base": "^6.2.101",
105
+ "@things-factory/import-ui": "^6.2.101",
106
+ "@things-factory/integration-base": "^6.2.101",
107
+ "@things-factory/integration-msgraph": "^6.2.101",
108
+ "@things-factory/integration-notification": "^6.2.101",
109
+ "@things-factory/integration-openai": "^6.2.101",
110
+ "@things-factory/integration-ui": "^6.2.101",
111
+ "@things-factory/more-ui": "^6.2.101",
112
+ "@things-factory/notification": "^6.2.101",
113
+ "@things-factory/oauth2-client": "^6.2.101",
114
+ "@things-factory/offline-ui": "^6.2.101",
115
115
  "@things-factory/pdf": "^6.2.96",
116
- "@things-factory/print-service": "^6.2.96",
117
- "@things-factory/print-ui": "^6.2.96",
118
- "@things-factory/resource-ui": "^6.2.96",
119
- "@things-factory/setting-ui": "^6.2.96",
120
- "@things-factory/shell": "^6.2.96",
121
- "@things-factory/system": "^6.2.96"
116
+ "@things-factory/print-service": "^6.2.101",
117
+ "@things-factory/print-ui": "^6.2.101",
118
+ "@things-factory/resource-ui": "^6.2.101",
119
+ "@things-factory/setting-ui": "^6.2.101",
120
+ "@things-factory/shell": "^6.2.101",
121
+ "@things-factory/system": "^6.2.101"
122
122
  },
123
123
  "devDependencies": {
124
- "@things-factory/board-test": "^6.2.96",
124
+ "@things-factory/board-test": "^6.2.101",
125
125
  "@things-factory/builder": "^6.2.96"
126
126
  },
127
- "gitHead": "62f9a4d0fe8a3377b9e2342667fda3fca9c1f174"
127
+ "gitHead": "de7dc909722996bd44373ef2a8ad2e6f5a0b88d6"
128
128
  }
@@ -1,8 +0,0 @@
1
- import '@things-factory/notification';
2
- import '@things-factory/board-ui';
3
- import '@operato/help/ox-help-panel.js';
4
- import '@operato/i18n/ox-i18n.js';
5
- import '@things-factory/auth-ui/dist-client';
6
- import './viewparts/menu-tools';
7
- import '@things-factory/setting-ui';
8
- export default function bootstrap(): Promise<void>;
@@ -1,227 +0,0 @@
1
- import '@things-factory/notification';
2
- import '@things-factory/board-ui';
3
- import '@operato/help/ox-help-panel.js';
4
- import '@operato/i18n/ox-i18n.js';
5
- import '@things-factory/auth-ui/dist-client'; /* for domain-switch */
6
- import './viewparts/menu-tools';
7
- import '@things-factory/setting-ui'; /* secure-iplist-setting-let */
8
- import { html } from 'lit-html';
9
- import { registerDefaultGroups } from '@operato/board/register-default-groups.js';
10
- import { appendViewpart, toggleOverlay, TOOL_POSITION, updateViewpart, VIEWPART_LEVEL, VIEWPART_POSITION } from '@operato/layout';
11
- import { hasPrivilege } from '@things-factory/auth-base/dist-client';
12
- import { APPEND_APP_TOOL } from '@things-factory/apptool-base';
13
- import { setupAppToolPart } from '@things-factory/apptool-ui';
14
- import { setAuthManagementMenus } from '@things-factory/auth-ui';
15
- import { setupContextUIPart } from '@things-factory/context-ui';
16
- import { ADD_MORENDA, ADD_MORENDA_TAIL } from '@things-factory/more-base';
17
- import { ADD_SETTING } from '@things-factory/setting-base';
18
- import { navigate, store, UPDATE_BASE_URL } from '@operato/shell';
19
- export default async function bootstrap() {
20
- var _a;
21
- /*
22
- set board-modeller group and default templates - should be called befor BoardModeller open
23
- */
24
- registerDefaultGroups();
25
- await setupAppToolPart({
26
- toolbar: true,
27
- busybar: true,
28
- mdibar: false
29
- });
30
- await setupContextUIPart({
31
- titlebar: 'header',
32
- contextToolbar: 'page-footer'
33
- });
34
- store.dispatch({
35
- type: UPDATE_BASE_URL
36
- });
37
- /* append top-menu to layout */
38
- var state = store.getState();
39
- var width = ((_a = state.layout) === null || _a === void 0 ? void 0 : _a.width) || 'WIDE';
40
- appendViewpart({
41
- name: 'board-topmenu',
42
- viewpart: {
43
- show: true,
44
- template: html ` <menu-tools></menu-tools> `
45
- },
46
- position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR
47
- });
48
- store.subscribe(async () => {
49
- var state = store.getState();
50
- if (state.layout.width == width) {
51
- return;
52
- }
53
- width = state.layout.width;
54
- updateViewpart('board-topmenu', {
55
- position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR,
56
- level: VIEWPART_LEVEL.TOPMOST
57
- });
58
- });
59
- /* add setting morenda */
60
- store.dispatch({
61
- type: ADD_MORENDA,
62
- morenda: {
63
- icon: html ` <mwc-icon>settings</mwc-icon> `,
64
- name: html ` <ox-i18n msgid="label.setting"></ox-i18n> `,
65
- action: () => {
66
- navigate('setting');
67
- }
68
- }
69
- });
70
- setAuthManagementMenus();
71
- if (await hasPrivilege({ privilege: 'mutation', category: 'user', domainOwnerGranted: true, superUserGranted: true })) {
72
- store.dispatch({
73
- type: ADD_MORENDA,
74
- morenda: {
75
- icon: html ` <mwc-icon>vpn_key</mwc-icon> `,
76
- name: html ` <ox-i18n msgid="text.oauth2-clients"></ox-i18n> `,
77
- action: () => {
78
- navigate('oauth2-clients');
79
- }
80
- }
81
- });
82
- }
83
- store.dispatch({
84
- type: ADD_MORENDA,
85
- morenda: {
86
- icon: html ` <mwc-icon>extension</mwc-icon> `,
87
- name: html ` <ox-i18n msgid="text.api-sandbox"></ox-i18n> `,
88
- action: () => {
89
- navigate('api-swagger');
90
- }
91
- }
92
- });
93
- store.dispatch({
94
- type: ADD_MORENDA,
95
- morenda: {
96
- icon: html ` <mwc-icon>hub</mwc-icon> `,
97
- name: html ` <ox-i18n msgid="text.integration analysis"></ox-i18n>&nbsp;(beta)`,
98
- action: () => {
99
- navigate('integration-analysis');
100
- }
101
- }
102
- });
103
- store.dispatch({
104
- type: ADD_MORENDA,
105
- morenda: {
106
- icon: html ` <mwc-icon>help</mwc-icon> `,
107
- name: html ` <ox-i18n msgid="text.help"></ox-i18n> `,
108
- action: () => {
109
- navigate('help');
110
- }
111
- }
112
- });
113
- if (await hasPrivilege({ privilege: 'mutation', category: 'state-register', domainOwnerGranted: true })) {
114
- store.dispatch({
115
- type: ADD_MORENDA,
116
- morenda: {
117
- icon: html ` <mwc-icon>app_registration</mwc-icon> `,
118
- name: html ` <ox-i18n msgid="title.state-register"></ox-i18n> `,
119
- action: () => {
120
- navigate('state-register-page');
121
- }
122
- }
123
- });
124
- }
125
- if (await hasPrivilege({ privilege: 'mutation', category: 'board', domainOwnerGranted: true })) {
126
- store.dispatch({
127
- type: ADD_MORENDA,
128
- morenda: {
129
- icon: html ` <mwc-icon>font_download</mwc-icon> `,
130
- name: html ` <ox-i18n msgid="menu.fonts"></ox-i18n> `,
131
- action: () => {
132
- navigate('font-list');
133
- }
134
- }
135
- });
136
- // store.dispatch({
137
- // type: ADD_MORENDA,
138
- // morenda: {
139
- // icon: html` <mwc-icon>draw</mwc-icon> `,
140
- // name: html` <ox-i18n msgid="text.theme"></ox-i18n> `,
141
- // action: () => {
142
- // navigate('theme-list')
143
- // }
144
- // }
145
- // })
146
- }
147
- // store.dispatch({
148
- // type: ADD_MORENDA,
149
- // morenda: {
150
- // icon: html` <mwc-icon>dashboard</mwc-icon> `,
151
- // name: html` <ox-i18n msgid="menu.board-template"></ox-i18n> `,
152
- // action: () => {
153
- // navigate('board-template-list')
154
- // }
155
- // }
156
- // })
157
- store.dispatch({
158
- type: ADD_MORENDA_TAIL,
159
- template: html ` <domain-switch slot="tail"></domain-switch> `
160
- });
161
- /* append favorite tool to app-tools */
162
- var acceptedPages = ['board-viewer'];
163
- store.dispatch({
164
- type: APPEND_APP_TOOL,
165
- tool: {
166
- name: 'favorite-tool',
167
- template: html ` <favorite-tool .acceptedPages=${acceptedPages}></favorite-tool> `,
168
- position: TOOL_POSITION.REAR
169
- }
170
- });
171
- /* setting app-tools */
172
- store.dispatch({
173
- type: APPEND_APP_TOOL,
174
- tool: {
175
- name: 'notification-badge',
176
- template: html `
177
- <notification-badge
178
- @click=${e => {
179
- toggleOverlay('notification', {
180
- backdrop: true
181
- });
182
- }}
183
- >
184
- </notification-badge>
185
- `,
186
- position: TOOL_POSITION.REAR
187
- }
188
- });
189
- appendViewpart({
190
- name: 'notification',
191
- viewpart: {
192
- show: false,
193
- hovering: 'edge',
194
- template: html ` <notification-list style="min-width: 300px;"></notification-list> `
195
- },
196
- position: VIEWPART_POSITION.ASIDEBAR
197
- });
198
- store.dispatch({
199
- type: ADD_SETTING,
200
- setting: {
201
- seq: 20,
202
- template: html ` <notification-setting-let></notification-setting-let> `
203
- }
204
- });
205
- store.dispatch({
206
- type: ADD_SETTING,
207
- setting: {
208
- seq: 21,
209
- template: html ` <board-view-setting-let></board-view-setting-let> `
210
- }
211
- });
212
- if (await hasPrivilege({
213
- privilege: 'mutation',
214
- category: 'security',
215
- domainOwnerGranted: true,
216
- superUserGranted: true
217
- })) {
218
- store.dispatch({
219
- type: ADD_SETTING,
220
- setting: {
221
- seq: 31,
222
- template: html ` <secure-iplist-setting-let></secure-iplist-setting-let> `
223
- }
224
- });
225
- }
226
- }
227
- //# sourceMappingURL=bootstrap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../client/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,0BAA0B,CAAA;AACjC,OAAO,gCAAgC,CAAA;AACvC,OAAO,0BAA0B,CAAA;AACjC,OAAO,qCAAqC,CAAA,CAAC,uBAAuB;AACpE,OAAO,wBAAwB,CAAA;AAC/B,OAAO,4BAA4B,CAAA,CAAC,+BAA+B;AAEnE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAA;AACjF,OAAO,EACL,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,cAA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AAC,IAAI;SAC7B;KACF,CAAC,CAAA;IAEF,cAAc,CAAC;QACb,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE;YACR,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,IAAI,CAAA,qEAAqE;SACpF;QACD,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;KACrC,CAAC,CAAA;IAEF,KAAK,CAAC,QAAQ,CAAC;QACb,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,QAAQ,EAAE,IAAI,CAAA,yDAAyD;SACxE;KACF,CAAC,CAAA;IAEF,KAAK,CAAC,QAAQ,CAAC;QACb,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,QAAQ,EAAE,IAAI,CAAA,qDAAqD;SACpE;KACF,CAAC,CAAA;IAEF,IACE,MAAM,YAAY,CAAC;QACjB,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,UAAU;QACpB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE,IAAI;KACvB,CAAC,EACF;QACA,KAAK,CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,GAAG,EAAE,EAAE;gBACP,QAAQ,EAAE,IAAI,CAAA,2DAA2D;aAC1E;SACF,CAAC,CAAA;KACH;AACH,CAAC","sourcesContent":["import '@things-factory/notification'\nimport '@things-factory/board-ui'\nimport '@operato/help/ox-help-panel.js'\nimport '@operato/i18n/ox-i18n.js'\nimport '@things-factory/auth-ui/dist-client' /* for domain-switch */\nimport './viewparts/menu-tools'\nimport '@things-factory/setting-ui' /* secure-iplist-setting-let */\n\nimport { html } from 'lit-html'\nimport { registerDefaultGroups } from '@operato/board/register-default-groups.js'\nimport {\n appendViewpart,\n toggleOverlay,\n TOOL_POSITION,\n updateViewpart,\n VIEWPART_LEVEL,\n VIEWPART_POSITION\n} from '@operato/layout'\n\nimport { hasPrivilege } from '@things-factory/auth-base/dist-client'\nimport { APPEND_APP_TOOL } from '@things-factory/apptool-base'\nimport { setupAppToolPart } from '@things-factory/apptool-ui'\nimport { setAuthManagementMenus } from '@things-factory/auth-ui'\nimport { setupContextUIPart } from '@things-factory/context-ui'\nimport { ADD_MORENDA, ADD_MORENDA_TAIL } from '@things-factory/more-base'\nimport { ADD_SETTING } from '@things-factory/setting-base'\nimport { navigate, store, UPDATE_BASE_URL } from '@operato/shell'\n\nexport default async function bootstrap() {\n /* \n set board-modeller group and default templates - should be called befor BoardModeller open \n */\n registerDefaultGroups()\n\n await setupAppToolPart({\n toolbar: true,\n busybar: true,\n mdibar: false\n })\n\n await setupContextUIPart({\n titlebar: 'header',\n contextToolbar: 'page-footer'\n })\n\n store.dispatch({\n type: UPDATE_BASE_URL\n })\n\n /* append top-menu to layout */\n var state = store.getState() as any\n var width = state.layout?.width || 'WIDE'\n\n appendViewpart({\n name: 'board-topmenu',\n viewpart: {\n show: true,\n template: html` <menu-tools></menu-tools> `\n },\n position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR\n })\n\n store.subscribe(async () => {\n var state = store.getState() as any\n\n if (state.layout.width == width) {\n return\n }\n\n width = state.layout.width\n\n updateViewpart('board-topmenu', {\n position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR,\n level: VIEWPART_LEVEL.TOPMOST\n })\n })\n\n /* add setting morenda */\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>settings</mwc-icon> `,\n name: html` <ox-i18n msgid=\"label.setting\"></ox-i18n> `,\n action: () => {\n navigate('setting')\n }\n }\n })\n\n setAuthManagementMenus()\n\n if (\n await hasPrivilege({ privilege: 'mutation', category: 'user', domainOwnerGranted: true, superUserGranted: true })\n ) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>vpn_key</mwc-icon> `,\n name: html` <ox-i18n msgid=\"text.oauth2-clients\"></ox-i18n> `,\n action: () => {\n navigate('oauth2-clients')\n }\n }\n })\n }\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>extension</mwc-icon> `,\n name: html` <ox-i18n msgid=\"text.api-sandbox\"></ox-i18n> `,\n action: () => {\n navigate('api-swagger')\n }\n }\n })\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>hub</mwc-icon> `,\n name: html` <ox-i18n msgid=\"text.integration analysis\"></ox-i18n>&nbsp;(beta)`,\n action: () => {\n navigate('integration-analysis')\n }\n }\n })\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>help</mwc-icon> `,\n name: html` <ox-i18n msgid=\"text.help\"></ox-i18n> `,\n action: () => {\n navigate('help')\n }\n }\n })\n\n if (await hasPrivilege({ privilege: 'mutation', category: 'state-register', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>app_registration</mwc-icon> `,\n name: html` <ox-i18n msgid=\"title.state-register\"></ox-i18n> `,\n action: () => {\n navigate('state-register-page')\n }\n }\n })\n }\n\n if (await hasPrivilege({ privilege: 'mutation', category: 'board', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <mwc-icon>font_download</mwc-icon> `,\n name: html` <ox-i18n msgid=\"menu.fonts\"></ox-i18n> `,\n action: () => {\n navigate('font-list')\n }\n }\n })\n\n // store.dispatch({\n // type: ADD_MORENDA,\n // morenda: {\n // icon: html` <mwc-icon>draw</mwc-icon> `,\n // name: html` <ox-i18n msgid=\"text.theme\"></ox-i18n> `,\n // action: () => {\n // navigate('theme-list')\n // }\n // }\n // })\n }\n\n // store.dispatch({\n // type: ADD_MORENDA,\n // morenda: {\n // icon: html` <mwc-icon>dashboard</mwc-icon> `,\n // name: html` <ox-i18n msgid=\"menu.board-template\"></ox-i18n> `,\n // action: () => {\n // navigate('board-template-list')\n // }\n // }\n // })\n\n store.dispatch({\n type: ADD_MORENDA_TAIL,\n template: html` <domain-switch slot=\"tail\"></domain-switch> `\n })\n\n /* append favorite tool to app-tools */\n var acceptedPages = ['board-viewer']\n\n store.dispatch({\n type: APPEND_APP_TOOL,\n tool: {\n name: 'favorite-tool',\n template: html` <favorite-tool .acceptedPages=${acceptedPages}></favorite-tool> `,\n position: TOOL_POSITION.REAR\n }\n })\n\n /* setting app-tools */\n store.dispatch({\n type: APPEND_APP_TOOL,\n tool: {\n name: 'notification-badge',\n template: html`\n <notification-badge\n @click=${e => {\n toggleOverlay('notification', {\n backdrop: true\n })\n }}\n >\n </notification-badge>\n `,\n position: TOOL_POSITION.REAR\n }\n })\n\n appendViewpart({\n name: 'notification',\n viewpart: {\n show: false,\n hovering: 'edge',\n template: html` <notification-list style=\"min-width: 300px;\"></notification-list> `\n },\n position: VIEWPART_POSITION.ASIDEBAR\n })\n\n store.dispatch({\n type: ADD_SETTING,\n setting: {\n seq: 20,\n template: html` <notification-setting-let></notification-setting-let> `\n }\n })\n\n store.dispatch({\n type: ADD_SETTING,\n setting: {\n seq: 21,\n template: html` <board-view-setting-let></board-view-setting-let> `\n }\n })\n\n if (\n await hasPrivilege({\n privilege: 'mutation',\n category: 'security',\n domainOwnerGranted: true,\n superUserGranted: true\n })\n ) {\n store.dispatch({\n type: ADD_SETTING,\n setting: {\n seq: 31,\n template: html` <secure-iplist-setting-let></secure-iplist-setting-let> `\n }\n })\n }\n}\n"]}
File without changes
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../client/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1,6 +0,0 @@
1
- export class AppBoardPlayerPage {
2
- get context(): {
3
- title: any;
4
- screencastable: boolean;
5
- };
6
- }
@@ -1,11 +0,0 @@
1
- import { BoardPlayerPage } from '@things-factory/board-ui';
2
- export class AppBoardPlayerPage extends BoardPlayerPage {
3
- get context() {
4
- return {
5
- title: super.context.title,
6
- screencastable: true
7
- };
8
- }
9
- }
10
- customElements.define('app-board-player-page', AppBoardPlayerPage);
11
- //# sourceMappingURL=app-board-player-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-board-player-page.js","sourceRoot":"","sources":["../../client/pages/app-board-player-page.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,MAAM,OAAO,kBAAmB,SAAQ,eAAe;IACrD,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;YAC1B,cAAc,EAAE,IAAI;SACrB,CAAA;IACH,CAAC;CACF;AAED,cAAc,CAAC,MAAM,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAAA","sourcesContent":["import { BoardPlayerPage } from '@things-factory/board-ui'\n\nexport class AppBoardPlayerPage extends BoardPlayerPage {\n get context() {\n return {\n title: super.context.title,\n screencastable: true\n }\n }\n}\n\ncustomElements.define('app-board-player-page', AppBoardPlayerPage)\n"]}
@@ -1,5 +0,0 @@
1
- export class AppBoardViewerPage {
2
- get context(): {
3
- title: any;
4
- };
5
- }
@@ -1,26 +0,0 @@
1
- import { BoardViewerPage } from '@things-factory/board-ui';
2
- export class AppBoardViewerPage extends BoardViewerPage {
3
- get context() {
4
- return {
5
- title: super.context.title
6
- // printable: {
7
- // accept: ['label', 'usb', 'zebra-browser-print'],
8
- // name: this._board && this._board.name,
9
- // content: () => {
10
- // return this.getGrf()
11
- // },
12
- // options: {}
13
- // },
14
- // screencastable: true,
15
- // exportable: {
16
- // accept: ['json'],
17
- // name: this._board && this._board.name,
18
- // data: () => {
19
- // return this._board.model
20
- // }
21
- // }
22
- };
23
- }
24
- }
25
- customElements.define('app-board-viewer-page', AppBoardViewerPage);
26
- //# sourceMappingURL=app-board-viewer-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-board-viewer-page.js","sourceRoot":"","sources":["../../client/pages/app-board-viewer-page.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,MAAM,OAAO,kBAAmB,SAAQ,eAAe;IACrD,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;YAC1B,eAAe;YACf,qDAAqD;YACrD,2CAA2C;YAC3C,qBAAqB;YACrB,2BAA2B;YAC3B,OAAO;YACP,gBAAgB;YAChB,KAAK;YACL,wBAAwB;YACxB,gBAAgB;YAChB,sBAAsB;YACtB,2CAA2C;YAC3C,kBAAkB;YAClB,+BAA+B;YAC/B,MAAM;YACN,IAAI;SACL,CAAA;IACH,CAAC;CACF;AAED,cAAc,CAAC,MAAM,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAAA","sourcesContent":["import { BoardViewerPage } from '@things-factory/board-ui'\n\nexport class AppBoardViewerPage extends BoardViewerPage {\n get context() {\n return {\n title: super.context.title\n // printable: {\n // accept: ['label', 'usb', 'zebra-browser-print'],\n // name: this._board && this._board.name,\n // content: () => {\n // return this.getGrf()\n // },\n // options: {}\n // },\n // screencastable: true,\n // exportable: {\n // accept: ['json'],\n // name: this._board && this._board.name,\n // data: () => {\n // return this._board.model\n // }\n // }\n }\n }\n}\n\ncustomElements.define('app-board-viewer-page', AppBoardViewerPage)\n"]}
@@ -1,30 +0,0 @@
1
- import { Connection } from '@things-factory/integration-ui/dist-client/pages/connection';
2
- export declare class ConnectionListPage extends Connection {
3
- get context(): {
4
- board_topmenu: boolean;
5
- title: string;
6
- search: {
7
- handler: (search: any) => void;
8
- value: string;
9
- };
10
- help: string;
11
- actions: {
12
- icon: string;
13
- emphasis: {
14
- raised: boolean;
15
- outlined: boolean;
16
- dense: boolean;
17
- danger: boolean;
18
- };
19
- title: string;
20
- action: (name: any) => Promise<void>;
21
- }[];
22
- exportable: {
23
- name: string;
24
- data: () => Promise<{}[]>;
25
- };
26
- importable: {
27
- handler: (records: any) => Promise<void>;
28
- };
29
- };
30
- }
@@ -1,13 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { customElement } from 'lit/decorators.js';
3
- import { Connection } from '@things-factory/integration-ui/dist-client/pages/connection';
4
- let ConnectionListPage = class ConnectionListPage extends Connection {
5
- get context() {
6
- return Object.assign(Object.assign({}, super.context), { board_topmenu: true });
7
- }
8
- };
9
- ConnectionListPage = __decorate([
10
- customElement('connection-list-page')
11
- ], ConnectionListPage);
12
- export { ConnectionListPage };
13
- //# sourceMappingURL=connection-list-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connection-list-page.js","sourceRoot":"","sources":["../../client/pages/connection-list-page.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAGjF,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IAChD,IAAI,OAAO;QACT,uCACK,KAAK,CAAC,OAAO,KAChB,aAAa,EAAE,IAAI,IACpB;IACH,CAAC;CACF,CAAA;AAPY,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CAO9B;SAPY,kBAAkB","sourcesContent":["import { customElement } from 'lit/decorators.js'\nimport { Connection } from '@things-factory/integration-ui/dist-client/pages/connection'\n\n@customElement('connection-list-page')\nexport class ConnectionListPage extends Connection {\n get context() {\n return {\n ...super.context,\n board_topmenu: true\n }\n }\n}\n"]}
@@ -1,30 +0,0 @@
1
- export class ScenarioListPage extends Scenario {
2
- get context(): {
3
- board_topmenu: boolean;
4
- title: string;
5
- search: {
6
- handler: (search: any) => void;
7
- value: string;
8
- };
9
- help: string;
10
- actions: {
11
- icon: string;
12
- emphasis: {
13
- raised: boolean;
14
- outlined: boolean;
15
- dense: boolean;
16
- danger: boolean;
17
- };
18
- title: string;
19
- action: () => void;
20
- }[];
21
- exportable: {
22
- name: string;
23
- data: () => Promise<{}[]>;
24
- };
25
- importable: {
26
- handler: (records: any) => Promise<void>;
27
- };
28
- };
29
- }
30
- import { Scenario } from "@things-factory/integration-ui/dist-client/pages/scenario.js";
@@ -1,8 +0,0 @@
1
- import { Scenario } from '@things-factory/integration-ui/dist-client/pages/scenario.js';
2
- export class ScenarioListPage extends Scenario {
3
- get context() {
4
- return Object.assign(Object.assign({}, super.context), { board_topmenu: true });
5
- }
6
- }
7
- customElements.define('scenario-list-page', ScenarioListPage);
8
- //# sourceMappingURL=scenario-list-page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scenario-list-page.js","sourceRoot":"","sources":["../../client/pages/scenario-list-page.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,8DAA8D,CAAA;AAEvF,MAAM,OAAO,gBAAiB,SAAQ,QAAQ;IAC5C,IAAI,OAAO;QACT,uCACK,KAAK,CAAC,OAAO,KAChB,aAAa,EAAE,IAAI,IACpB;IACH,CAAC;CACF;AAED,cAAc,CAAC,MAAM,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAA","sourcesContent":["import { Scenario } from '@things-factory/integration-ui/dist-client/pages/scenario.js'\n\nexport class ScenarioListPage extends Scenario {\n get context() {\n return {\n ...super.context,\n board_topmenu: true\n }\n }\n}\n\ncustomElements.define('scenario-list-page', ScenarioListPage)\n"]}
@@ -1 +0,0 @@
1
- export default function route(page: any): any;
@@ -1,22 +0,0 @@
1
- export default function route(page) {
2
- switch (page) {
3
- case '':
4
- /* board-list 페이지를 default page로 한다. */
5
- return '/board-list';
6
- case 'board-viewer':
7
- /* overide board-viewer */
8
- import('./pages/app-board-viewer-page');
9
- return page;
10
- case 'board-player':
11
- /* overide board-player */
12
- import('./pages/app-board-player-page');
13
- return page;
14
- case 'connection-list':
15
- import('./pages/connection-list-page');
16
- return page;
17
- case 'scenario-list':
18
- import('./pages/scenario-list-page');
19
- return page;
20
- }
21
- }
22
- //# sourceMappingURL=route.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"route.js","sourceRoot":"","sources":["../client/route.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,IAAI;IAChC,QAAQ,IAAI,EAAE;QACZ,KAAK,EAAE;YACL,uCAAuC;YACvC,OAAO,aAAa,CAAA;QAEtB,KAAK,cAAc;YACjB,0BAA0B;YAC1B,MAAM,CAAC,+BAA+B,CAAC,CAAA;YACvC,OAAO,IAAI,CAAA;QAEb,KAAK,cAAc;YACjB,0BAA0B;YAC1B,MAAM,CAAC,+BAA+B,CAAC,CAAA;YACvC,OAAO,IAAI,CAAA;QAEb,KAAK,iBAAiB;YACpB,MAAM,CAAC,8BAA8B,CAAC,CAAA;YACtC,OAAO,IAAI,CAAA;QAEb,KAAK,eAAe;YAClB,MAAM,CAAC,4BAA4B,CAAC,CAAA;YACpC,OAAO,IAAI,CAAA;KACd;AACH,CAAC","sourcesContent":["export default function route(page) {\n switch (page) {\n case '':\n /* board-list 페이지를 default page로 한다. */\n return '/board-list'\n\n case 'board-viewer':\n /* overide board-viewer */\n import('./pages/app-board-viewer-page')\n return page\n\n case 'board-player':\n /* overide board-player */\n import('./pages/app-board-player-page')\n return page\n\n case 'connection-list':\n import('./pages/connection-list-page')\n return page\n\n case 'scenario-list':\n import('./pages/scenario-list-page')\n return page\n }\n}\n"]}