@things-factory/operato-dataset 9.0.0-beta.26 → 9.0.0-beta.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-dataset",
3
- "version": "9.0.0-beta.26",
3
+ "version": "9.0.0-beta.27",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -66,41 +66,41 @@
66
66
  "@things-factory/apptool-ui": "^9.0.0-beta.25",
67
67
  "@things-factory/auth-base": "^9.0.0-beta.25",
68
68
  "@things-factory/auth-ui": "^9.0.0-beta.25",
69
- "@things-factory/board-service": "^9.0.0-beta.25",
69
+ "@things-factory/board-service": "^9.0.0-beta.27",
70
70
  "@things-factory/board-ui": "^9.0.0-beta.25",
71
- "@things-factory/ccp": "^9.0.0-beta.25",
71
+ "@things-factory/ccp": "^9.0.0-beta.27",
72
72
  "@things-factory/context-ui": "^9.0.0-beta.25",
73
- "@things-factory/dashboard": "^9.0.0-beta.25",
74
- "@things-factory/dataset": "^9.0.0-beta.25",
75
- "@things-factory/edge-client": "^9.0.0-beta.25",
73
+ "@things-factory/dashboard": "^9.0.0-beta.27",
74
+ "@things-factory/dataset": "^9.0.0-beta.27",
75
+ "@things-factory/edge-client": "^9.0.0-beta.27",
76
76
  "@things-factory/evaluation": "^9.0.0-beta.25",
77
77
  "@things-factory/export-ui": "^9.0.0-beta.25",
78
78
  "@things-factory/help": "^9.0.0-beta.25",
79
79
  "@things-factory/i18n-base": "^9.0.0-beta.25",
80
- "@things-factory/integration-base": "^9.0.0-beta.25",
81
- "@things-factory/integration-influxdb": "^9.0.0-beta.25",
82
- "@things-factory/integration-msgraph": "^9.0.0-beta.25",
83
- "@things-factory/integration-ui": "^9.0.0-beta.25",
84
- "@things-factory/lite-menu": "^9.0.0-beta.25",
80
+ "@things-factory/integration-base": "^9.0.0-beta.27",
81
+ "@things-factory/integration-influxdb": "^9.0.0-beta.27",
82
+ "@things-factory/integration-msgraph": "^9.0.0-beta.27",
83
+ "@things-factory/integration-ui": "^9.0.0-beta.27",
84
+ "@things-factory/lite-menu": "^9.0.0-beta.27",
85
85
  "@things-factory/lock-client": "^9.0.0-beta.25",
86
86
  "@things-factory/more-base": "^9.0.0-beta.25",
87
87
  "@things-factory/more-ui": "^9.0.0-beta.25",
88
88
  "@things-factory/notification": "^9.0.0-beta.25",
89
89
  "@things-factory/oauth2-client": "^9.0.0-beta.25",
90
90
  "@things-factory/organization": "^9.0.0-beta.25",
91
- "@things-factory/qc": "^9.0.0-beta.25",
91
+ "@things-factory/qc": "^9.0.0-beta.27",
92
92
  "@things-factory/resource-ui": "^9.0.0-beta.25",
93
93
  "@things-factory/scheduler": "^9.0.0-beta.25",
94
94
  "@things-factory/setting-base": "^9.0.0-beta.25",
95
95
  "@things-factory/setting-ui": "^9.0.0-beta.25",
96
96
  "@things-factory/shell": "^9.0.0-beta.25",
97
- "@things-factory/spc": "^9.0.0-beta.25",
97
+ "@things-factory/spc": "^9.0.0-beta.27",
98
98
  "@things-factory/system": "^9.0.0-beta.25",
99
99
  "@things-factory/work-shift": "^9.0.0-beta.25",
100
- "@things-factory/worklist": "^9.0.0-beta.25"
100
+ "@things-factory/worklist": "^9.0.0-beta.27"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@things-factory/builder": "^9.0.0-beta.25"
104
104
  },
105
- "gitHead": "66c09353bdafcdc17bd7424cf3d165a541b805f7"
105
+ "gitHead": "3038f56087036b06717f8e4910383c6b1320218d"
106
106
  }
@@ -1,12 +0,0 @@
1
- import '@operato/i18n/ox-i18n.js';
2
- import '@things-factory/notification/dist-client';
3
- import '@things-factory/auth-ui/dist-client';
4
- import '@things-factory/i18n-base/dist-client/page/terminology-page.js';
5
- import '@things-factory/setting-ui/dist-client';
6
- import '@things-factory/context-ui/dist-client/title-on-page-header-setting-let';
7
- import '@operato/dataset/usecase/ccp';
8
- import '@operato/dataset/usecase/qc';
9
- import '@operato/dataset/ox-property-editor-ccp-limits.js';
10
- import '@operato/dataset/ox-property-editor-qc-limits.js';
11
- import '@things-factory/setting-ui/dist-client';
12
- export default function bootstrap(): Promise<void>;
@@ -1,317 +0,0 @@
1
- import '@operato/i18n/ox-i18n.js';
2
- import '@things-factory/notification/dist-client';
3
- import '@things-factory/auth-ui/dist-client'; /* for domain-switch */
4
- import '@things-factory/i18n-base/dist-client/page/terminology-page.js';
5
- import '@things-factory/setting-ui/dist-client'; /* for theme-mode-setting-let */
6
- import '@things-factory/context-ui/dist-client/title-on-page-header-setting-let'; /* for title-on-page-header-setting-let */
7
- import '@operato/dataset/usecase/ccp';
8
- import '@operato/dataset/usecase/qc';
9
- import '@operato/dataset/ox-property-editor-ccp-limits.js';
10
- import '@operato/dataset/ox-property-editor-qc-limits.js';
11
- import '@things-factory/setting-ui/dist-client';
12
- import { html } from 'lit-html';
13
- import { registerDefaultGroups } from '@operato/board';
14
- import { navigate, store } from '@operato/shell';
15
- import { OxPropertyEditor } from '@operato/property-editor';
16
- import { i18next } from '@operato/i18n';
17
- import { isMobileDevice } from '@operato/utils';
18
- import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout';
19
- import { auth, hasPrivilege } from '@things-factory/auth-base/dist-client';
20
- import { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client';
21
- import { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu/dist-client';
22
- import { setupAppToolPart } from '@things-factory/apptool-ui/dist-client';
23
- import { setupContextUIPart } from '@things-factory/context-ui/dist-client';
24
- import { ADD_SETTING } from '@things-factory/setting-base/dist-client';
25
- import { ADD_MORENDA } from '@things-factory/more-base/client';
26
- import { APPEND_APP_TOOL } from '@things-factory/apptool-base/client';
27
- import { getMenuTemplate } from './menu';
28
- import { queryDataSets } from './query-data-sets';
29
- console.log(`%c
30
- ▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄ ▄ ▄▄ ▄▄▄ ▄▄▄ ▄▄▄
31
- ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓
32
- ▓ ▓ ▓▀▀ ▓▀▀ ▓▀▀▄ ▓▀▀▓ ▓ ▓ ▓ ▀▀ ▓▀▀▓ ▓▀▀▓ ▓ ▓ ▓▀▀
33
- ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓
34
- ▀▀ ▀ ▀▀▀ ▀ ▀ ▀ ▀ ▀ ▀▀ ▀ ▀ ▀ ▀ ▀▀▀ ▀▀▀ ▀
35
- `, 'background: #222; color: #bada55');
36
- export default async function bootstrap() {
37
- /* set board-modeller group and default templates */
38
- registerDefaultGroups();
39
- const mobile = isMobileDevice();
40
- await setupAppToolPart({
41
- toolbar: true,
42
- busybar: true,
43
- mdibar: mobile ? false : true,
44
- pageToolbar: mobile ? false : true
45
- });
46
- await setupContextUIPart({
47
- titlebar: 'header',
48
- contextToolbar: 'page-footer'
49
- });
50
- await setupMenuPart({
51
- slotTemplate: html ` <domain-switch attrname="description" slot="tail"></domain-switch> `,
52
- hovering: true
53
- });
54
- OxPropertyEditor.register({
55
- 'ccp-limits': 'ox-property-editor-ccp-limits',
56
- 'qc-limits': 'ox-property-editor-qc-limits'
57
- });
58
- /* add setting morenda */
59
- store.dispatch({
60
- type: ADD_MORENDA,
61
- morenda: {
62
- icon: html ` <md-icon>settings</md-icon> `,
63
- name: html ` <ox-i18n msgid="label.setting"></ox-i18n> `,
64
- action: () => {
65
- navigate('setting');
66
- }
67
- }
68
- });
69
- /* add addon-menu management page morenda */
70
- if (await hasPrivilege({ privilege: 'mutation', category: 'menu', domainOwnerGranted: true, superUserGranted: true })) {
71
- store.dispatch({
72
- type: ADD_MORENDA,
73
- morenda: {
74
- icon: html ` <md-icon>view_list</md-icon> `,
75
- name: html ` <ox-i18n msgid="text.addon-menu management"></ox-i18n> `,
76
- action: () => {
77
- navigate('addon-menu-setting');
78
- }
79
- }
80
- });
81
- }
82
- /* set auth management menus into more-panel */
83
- setAuthManagementMenus();
84
- if (await hasPrivilege({ privilege: 'mutation', category: 'user', domainOwnerGranted: true, superUserGranted: true })) {
85
- store.dispatch({
86
- type: ADD_MORENDA,
87
- morenda: {
88
- icon: html ` <md-icon>vpn_key</md-icon> `,
89
- name: html ` <ox-i18n msgid="text.oauth2-clients"></ox-i18n> `,
90
- action: () => {
91
- navigate('oauth2-clients');
92
- }
93
- }
94
- });
95
- }
96
- if (await hasPrivilege({ privilege: 'mutation', category: 'board', domainOwnerGranted: true })) {
97
- store.dispatch({
98
- type: ADD_MORENDA,
99
- morenda: {
100
- icon: html ` <md-icon>font_download</md-icon> `,
101
- name: html ` <ox-i18n msgid="menu.fonts"></ox-i18n> `,
102
- action: () => {
103
- navigate('font-list');
104
- }
105
- }
106
- });
107
- store.dispatch({
108
- type: ADD_MORENDA,
109
- morenda: {
110
- icon: html ` <md-icon>dvr</md-icon> `,
111
- name: html ` <ox-i18n msgid="menu.board-list"></ox-i18n> `,
112
- action: () => {
113
- navigate('board-list');
114
- }
115
- }
116
- });
117
- store.dispatch({
118
- type: ADD_MORENDA,
119
- morenda: {
120
- icon: html ` <md-icon>airplay</md-icon> `,
121
- name: html ` <ox-i18n msgid="menu.play-groups"></ox-i18n> `,
122
- action: () => {
123
- navigate('play-list');
124
- }
125
- }
126
- });
127
- }
128
- if (await hasPrivilege({ privilege: 'query', category: 'attachment', domainOwnerGranted: true })) {
129
- store.dispatch({
130
- type: ADD_MORENDA,
131
- morenda: {
132
- icon: html ` <md-icon>attachment</md-icon> `,
133
- name: html ` <ox-i18n msgid="menu.attachments"></ox-i18n> `,
134
- action: () => {
135
- navigate('attachment-list');
136
- }
137
- }
138
- });
139
- }
140
- if (await hasPrivilege({
141
- privilege: 'mutation',
142
- category: 'scenario',
143
- domainOwnerGranted: true,
144
- superUserGranted: true
145
- })) {
146
- store.dispatch({
147
- type: ADD_MORENDA,
148
- morenda: {
149
- icon: html ` <md-icon>device_hub</md-icon> `,
150
- name: html ` <ox-i18n msgid="text.connection"></ox-i18n> `,
151
- action: () => {
152
- navigate('connection');
153
- }
154
- }
155
- });
156
- store.dispatch({
157
- type: ADD_MORENDA,
158
- morenda: {
159
- icon: html ` <md-icon>format_list_numbered</md-icon> `,
160
- name: html ` <ox-i18n msgid="text.scenario"></ox-i18n> `,
161
- action: () => {
162
- navigate('scenario');
163
- }
164
- }
165
- });
166
- store.dispatch({
167
- type: ADD_MORENDA,
168
- morenda: {
169
- icon: html ` <md-icon>hub</md-icon> `,
170
- name: html ` <ox-i18n msgid="text.integration analysis"></ox-i18n>&nbsp;(beta)`,
171
- action: () => {
172
- navigate('integration-analysis');
173
- }
174
- }
175
- });
176
- }
177
- if (await hasPrivilege({ privilege: 'mutation', category: 'state-register', domainOwnerGranted: true })) {
178
- store.dispatch({
179
- type: ADD_MORENDA,
180
- morenda: {
181
- icon: html ` <md-icon>app_registration</md-icon> `,
182
- name: html ` <ox-i18n msgid="title.state-register"></ox-i18n> `,
183
- action: () => {
184
- navigate('state-register-page');
185
- }
186
- }
187
- });
188
- }
189
- if (await hasPrivilege({ privilege: 'mutation', category: 'terminology', domainOwnerGranted: true })) {
190
- store.dispatch({
191
- type: ADD_MORENDA,
192
- morenda: {
193
- icon: html ` <md-icon>translate</md-icon> `,
194
- name: html ` <ox-i18n msgid="title.terminology"></ox-i18n> `,
195
- action: () => {
196
- navigate('terminology-page');
197
- }
198
- }
199
- });
200
- }
201
- auth.on('profile', async ({ credential }) => {
202
- i18next.on('languageChanged', async () => {
203
- updateMenuTemplate(getMenuTemplate(credential.owner, await queryDataSets()));
204
- });
205
- updateMenuTemplate(getMenuTemplate(credential.owner, await queryDataSets()));
206
- if (credential.owner) {
207
- store.dispatch({
208
- type: ADD_MORENDA,
209
- morenda: {
210
- icon: html ` <md-icon>pending_actions</md-icon> `,
211
- name: html ` <ox-i18n msgid="title.work-shift"></ox-i18n> `,
212
- action: () => {
213
- navigate('work-shift');
214
- }
215
- }
216
- });
217
- store.dispatch({
218
- type: ADD_MORENDA,
219
- morenda: {
220
- icon: html ` <md-icon>device_hub</md-icon> `,
221
- name: html ` <ox-i18n msgid="text.installable-activities"></ox-i18n> `,
222
- action: () => {
223
- navigate('installable-activity-list');
224
- }
225
- }
226
- });
227
- }
228
- if (credential.super) {
229
- store.dispatch({
230
- type: ADD_MORENDA,
231
- morenda: {
232
- icon: html ` <md-icon>event_repeat</md-icon> `,
233
- name: html ` <ox-i18n msgid="title.schedule list"></ox-i18n> `,
234
- action: () => {
235
- navigate('schedule-list');
236
- }
237
- }
238
- });
239
- }
240
- store.dispatch({
241
- type: ADD_MORENDA,
242
- morenda: {
243
- icon: html ` <md-icon>extension</md-icon> `,
244
- name: html ` <ox-i18n msgid="text.api-sandbox"></ox-i18n> `,
245
- action: () => {
246
- navigate('api-swagger');
247
- }
248
- }
249
- });
250
- // store.dispatch({
251
- // type: ADD_MORENDA,
252
- // morenda: {
253
- // icon: html` <md-icon>help</md-icon> `,
254
- // name: html` <ox-i18n msgid="text.help"></ox-i18n> `,
255
- // action: () => {
256
- // navigate('help')
257
- // }
258
- // }
259
- // })
260
- /* setting app-tools */
261
- store.dispatch({
262
- type: APPEND_APP_TOOL,
263
- tool: {
264
- name: 'notification-badge',
265
- template: html `
266
- <notification-badge
267
- @click=${e => {
268
- toggleOverlay('notification', {
269
- backdrop: true
270
- });
271
- }}
272
- >
273
- </notification-badge>
274
- `,
275
- position: TOOL_POSITION.REAR
276
- }
277
- });
278
- appendViewpart({
279
- name: 'notification',
280
- viewpart: {
281
- show: false,
282
- hovering: 'edge',
283
- template: html ` <notification-list style="min-width: 300px;"></notification-list> `
284
- },
285
- position: VIEWPART_POSITION.ASIDEBAR
286
- });
287
- store.dispatch({
288
- type: ADD_SETTING,
289
- setting: {
290
- seq: 10,
291
- template: html ` <theme-mode-setting-let></theme-mode-setting-let> `
292
- }
293
- });
294
- store.dispatch({
295
- type: ADD_SETTING,
296
- setting: {
297
- seq: 20,
298
- template: html ` <notification-setting-let></notification-setting-let> `
299
- }
300
- });
301
- store.dispatch({
302
- type: ADD_SETTING,
303
- setting: {
304
- seq: 21,
305
- template: html ` <lite-menu-setting-let></lite-menu-setting-let> `
306
- }
307
- });
308
- store.dispatch({
309
- type: ADD_SETTING,
310
- setting: {
311
- seq: 22,
312
- template: html ` <title-on-page-header-setting-let></title-on-page-header-setting-let> `
313
- }
314
- });
315
- });
316
- }
317
- //# sourceMappingURL=bootstrap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../client/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAA;AACjC,OAAO,0CAA0C,CAAA;AACjD,OAAO,qCAAqC,CAAA,CAAC,uBAAuB;AACpE,OAAO,gEAAgE,CAAA;AACvE,OAAO,wCAAwC,CAAA,CAAC,gCAAgC;AAChF,OAAO,yEAAyE,CAAA,CAAC,0CAA0C;AAE3H,OAAO,8BAA8B,CAAA;AACrC,OAAO,6BAA6B,CAAA;AACpC,OAAO,mDAAmD,CAAA;AAC1D,OAAO,kDAAkD,CAAA;AAEzD,OAAO,wCAAwC,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAE/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;A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;SAGJ;gBACD,QAAQ,EAAE,aAAa,CAAC,IAAI;aAC7B;SACF,CAAC,CAAA;QAEF,cAAc,CAAC;YACb,IAAI,EAAE,cAAc;YACpB,QAAQ,EAAE;gBACR,IAAI,EAAE,KAAK;gBACX,QAAQ,EAAE,MAAM;gBAChB,QAAQ,EAAE,IAAI,CAAA,qEAAqE;aACpF;YACD,QAAQ,EAAE,iBAAiB,CAAC,QAAQ;SACrC,CAAC,CAAA;QAEF,KAAK,CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,GAAG,EAAE,EAAE;gBACP,QAAQ,EAAE,IAAI,CAAA,qDAAqD;aACpE;SACF,CAAC,CAAA;QAEF,KAAK,CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,GAAG,EAAE,EAAE;gBACP,QAAQ,EAAE,IAAI,CAAA,yDAAyD;aACxE;SACF,CAAC,CAAA;QAEF,KAAK,CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,GAAG,EAAE,EAAE;gBACP,QAAQ,EAAE,IAAI,CAAA,mDAAmD;aAClE;SACF,CAAC,CAAA;QAEF,KAAK,CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,GAAG,EAAE,EAAE;gBACP,QAAQ,EAAE,IAAI,CAAA,yEAAyE;aACxF;SACF,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC","sourcesContent":["import '@operato/i18n/ox-i18n.js'\nimport '@things-factory/notification/dist-client'\nimport '@things-factory/auth-ui/dist-client' /* for domain-switch */\nimport '@things-factory/i18n-base/dist-client/page/terminology-page.js'\nimport '@things-factory/setting-ui/dist-client' /* for theme-mode-setting-let */\nimport '@things-factory/context-ui/dist-client/title-on-page-header-setting-let' /* for title-on-page-header-setting-let */\n\nimport '@operato/dataset/usecase/ccp'\nimport '@operato/dataset/usecase/qc'\nimport '@operato/dataset/ox-property-editor-ccp-limits.js'\nimport '@operato/dataset/ox-property-editor-qc-limits.js'\n\nimport '@things-factory/setting-ui/dist-client'\n\nimport { html } from 'lit-html'\n\nimport { registerDefaultGroups } from '@operato/board'\nimport { navigate, store } from '@operato/shell'\nimport { OxPropertyEditor } from '@operato/property-editor'\nimport { i18next } from '@operato/i18n'\nimport { isMobileDevice } from '@operato/utils'\n\nimport { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout'\n\nimport { auth, hasPrivilege } from '@things-factory/auth-base/dist-client'\nimport { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'\nimport { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu/dist-client'\nimport { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'\nimport { setupContextUIPart } from '@things-factory/context-ui/dist-client'\nimport { ADD_SETTING } from '@things-factory/setting-base/dist-client'\nimport { ADD_MORENDA } from '@things-factory/more-base/client'\nimport { APPEND_APP_TOOL } from '@things-factory/apptool-base/client'\n\nimport { getMenuTemplate } from './menu'\nimport { queryDataSets } from './query-data-sets'\n\nconsole.log(\n `%c\n ▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄ ▄ ▄▄ ▄▄▄ ▄▄▄ ▄▄▄ \n ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓\n ▓ ▓ ▓▀▀ ▓▀▀ ▓▀▀▄ ▓▀▀▓ ▓ ▓ ▓ ▀▀ ▓▀▀▓ ▓▀▀▓ ▓ ▓ ▓▀▀ \n ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ \n ▀▀ ▀ ▀▀▀ ▀ ▀ ▀ ▀ ▀ ▀▀ ▀ ▀ ▀ ▀ ▀▀▀ ▀▀▀ ▀ \n`,\n 'background: #222; color: #bada55'\n)\n\nexport default async function bootstrap() {\n /* set board-modeller group and default templates */\n registerDefaultGroups()\n\n const mobile = isMobileDevice()\n\n await setupAppToolPart({\n toolbar: true,\n busybar: true,\n mdibar: mobile ? false : true,\n pageToolbar: mobile ? false : true\n })\n\n await setupContextUIPart({\n titlebar: 'header',\n contextToolbar: 'page-footer'\n })\n\n await setupMenuPart({\n slotTemplate: html` <domain-switch attrname=\"description\" slot=\"tail\"></domain-switch> `,\n hovering: true\n })\n\n OxPropertyEditor.register({\n 'ccp-limits': 'ox-property-editor-ccp-limits',\n 'qc-limits': 'ox-property-editor-qc-limits'\n })\n\n /* add setting morenda */\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>settings</md-icon> `,\n name: html` <ox-i18n msgid=\"label.setting\"></ox-i18n> `,\n action: () => {\n navigate('setting')\n }\n }\n })\n\n /* add addon-menu management page morenda */\n if (\n await hasPrivilege({ privilege: 'mutation', category: 'menu', domainOwnerGranted: true, superUserGranted: true })\n ) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>view_list</md-icon> `,\n name: html` <ox-i18n msgid=\"text.addon-menu management\"></ox-i18n> `,\n action: () => {\n navigate('addon-menu-setting')\n }\n }\n })\n }\n\n /* set auth management menus into more-panel */\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` <md-icon>vpn_key</md-icon> `,\n name: html` <ox-i18n msgid=\"text.oauth2-clients\"></ox-i18n> `,\n action: () => {\n navigate('oauth2-clients')\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` <md-icon>font_download</md-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` <md-icon>dvr</md-icon> `,\n name: html` <ox-i18n msgid=\"menu.board-list\"></ox-i18n> `,\n action: () => {\n navigate('board-list')\n }\n }\n })\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>airplay</md-icon> `,\n name: html` <ox-i18n msgid=\"menu.play-groups\"></ox-i18n> `,\n action: () => {\n navigate('play-list')\n }\n }\n })\n }\n\n if (await hasPrivilege({ privilege: 'query', category: 'attachment', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>attachment</md-icon> `,\n name: html` <ox-i18n msgid=\"menu.attachments\"></ox-i18n> `,\n action: () => {\n navigate('attachment-list')\n }\n }\n })\n }\n\n if (\n await hasPrivilege({\n privilege: 'mutation',\n category: 'scenario',\n domainOwnerGranted: true,\n superUserGranted: true\n })\n ) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>device_hub</md-icon> `,\n name: html` <ox-i18n msgid=\"text.connection\"></ox-i18n> `,\n action: () => {\n navigate('connection')\n }\n }\n })\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>format_list_numbered</md-icon> `,\n name: html` <ox-i18n msgid=\"text.scenario\"></ox-i18n> `,\n action: () => {\n navigate('scenario')\n }\n }\n })\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>hub</md-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\n if (await hasPrivilege({ privilege: 'mutation', category: 'state-register', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>app_registration</md-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: 'terminology', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>translate</md-icon> `,\n name: html` <ox-i18n msgid=\"title.terminology\"></ox-i18n> `,\n action: () => {\n navigate('terminology-page')\n }\n }\n })\n }\n\n auth.on('profile', async ({ credential }) => {\n i18next.on('languageChanged', async () => {\n updateMenuTemplate(getMenuTemplate(credential.owner, await queryDataSets()))\n })\n\n updateMenuTemplate(getMenuTemplate(credential.owner, await queryDataSets()))\n\n if (credential.owner) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>pending_actions</md-icon> `,\n name: html` <ox-i18n msgid=\"title.work-shift\"></ox-i18n> `,\n action: () => {\n navigate('work-shift')\n }\n }\n })\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>device_hub</md-icon> `,\n name: html` <ox-i18n msgid=\"text.installable-activities\"></ox-i18n> `,\n action: () => {\n navigate('installable-activity-list')\n }\n }\n })\n }\n\n if (credential.super) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>event_repeat</md-icon> `,\n name: html` <ox-i18n msgid=\"title.schedule list\"></ox-i18n> `,\n action: () => {\n navigate('schedule-list')\n }\n }\n })\n }\n\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>extension</md-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` <md-icon>help</md-icon> `,\n // name: html` <ox-i18n msgid=\"text.help\"></ox-i18n> `,\n // action: () => {\n // navigate('help')\n // }\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: 10,\n template: html` <theme-mode-setting-let></theme-mode-setting-let> `\n }\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` <lite-menu-setting-let></lite-menu-setting-let> `\n }\n })\n\n store.dispatch({\n type: ADD_SETTING,\n setting: {\n seq: 22,\n template: html` <title-on-page-header-setting-let></title-on-page-header-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,77 +0,0 @@
1
- export declare function getMenuTemplate(owner: boolean | undefined, dataSets: any[]): (false | {
2
- name: string;
3
- type: string;
4
- icon?: undefined;
5
- path?: undefined;
6
- badge?: undefined;
7
- active?: undefined;
8
- description?: undefined;
9
- menus?: undefined;
10
- } | {
11
- name: string;
12
- icon: string;
13
- path: string;
14
- badge: () => import("lit-html/directive").DirectiveResult<typeof import("lit-html/directives/async-replace").AsyncReplaceDirective>;
15
- active: ({ path }: {
16
- path: any;
17
- }) => boolean;
18
- type?: undefined;
19
- description?: undefined;
20
- menus?: undefined;
21
- } | {
22
- name: string;
23
- icon: string;
24
- path: string;
25
- badge: () => import("lit-html/directive").DirectiveResult<typeof import("lit-html/directives/async-replace").AsyncReplaceDirective>;
26
- type?: undefined;
27
- active?: undefined;
28
- description?: undefined;
29
- menus?: undefined;
30
- } | {
31
- name: string;
32
- icon: string;
33
- path: string;
34
- type?: undefined;
35
- badge?: undefined;
36
- active?: undefined;
37
- description?: undefined;
38
- menus?: undefined;
39
- } | {
40
- name: string;
41
- icon: string;
42
- path: string;
43
- description: string;
44
- menus: {
45
- name: string;
46
- icon: string;
47
- path: string;
48
- }[];
49
- type?: undefined;
50
- badge?: undefined;
51
- active?: undefined;
52
- } | {
53
- name: string;
54
- icon: string;
55
- path: string;
56
- menus: {
57
- name: any;
58
- icon: string;
59
- path: string;
60
- }[];
61
- type?: undefined;
62
- badge?: undefined;
63
- active?: undefined;
64
- description?: undefined;
65
- } | {
66
- name: string;
67
- icon: string;
68
- description: string;
69
- menus: {
70
- name: string;
71
- path: string;
72
- }[];
73
- type?: undefined;
74
- path?: undefined;
75
- badge?: undefined;
76
- active?: undefined;
77
- })[];