@things-factory/operato-ecs 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 +12 -12
- package/dist-client/bootstrap.d.ts +0 -6
- package/dist-client/bootstrap.js +0 -267
- package/dist-client/bootstrap.js.map +0 -1
- package/dist-client/index.d.ts +0 -0
- package/dist-client/index.js +0 -2
- package/dist-client/index.js.map +0 -1
- package/dist-client/pages/api/api-sandbox.d.ts +0 -1
- package/dist-client/pages/api/api-sandbox.js +0 -42
- package/dist-client/pages/api/api-sandbox.js.map +0 -1
- package/dist-client/route.d.ts +0 -1
- package/dist-client/route.js +0 -10
- package/dist-client/route.js.map +0 -1
- package/dist-client/themes/dark.css +0 -51
- package/dist-client/themes/light.css +0 -51
- package/dist-client/tsconfig.tsbuildinfo +0 -1
- package/dist-server/index.d.ts +0 -0
- package/dist-server/index.js +0 -1
- package/dist-server/index.js.map +0 -1
- package/dist-server/tsconfig.tsbuildinfo +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/operato-ecs",
|
3
|
-
"version": "9.0.0-beta.
|
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,
|
@@ -67,22 +67,22 @@
|
|
67
67
|
"@things-factory/api": "^9.0.0-beta.25",
|
68
68
|
"@things-factory/apptool-ui": "^9.0.0-beta.25",
|
69
69
|
"@things-factory/auth-ui": "^9.0.0-beta.25",
|
70
|
-
"@things-factory/board-service": "^9.0.0-beta.
|
70
|
+
"@things-factory/board-service": "^9.0.0-beta.27",
|
71
71
|
"@things-factory/board-ui": "^9.0.0-beta.25",
|
72
72
|
"@things-factory/context-ui": "^9.0.0-beta.25",
|
73
|
-
"@things-factory/dashboard": "^9.0.0-beta.
|
73
|
+
"@things-factory/dashboard": "^9.0.0-beta.27",
|
74
74
|
"@things-factory/evaluation": "^9.0.0-beta.25",
|
75
75
|
"@things-factory/export-ui": "^9.0.0-beta.25",
|
76
76
|
"@things-factory/help": "^9.0.0-beta.25",
|
77
77
|
"@things-factory/i18n-base": "^9.0.0-beta.25",
|
78
|
-
"@things-factory/integration-email": "^9.0.0-beta.
|
79
|
-
"@things-factory/integration-headless": "^9.0.0-beta.
|
80
|
-
"@things-factory/integration-influxdb": "^9.0.0-beta.
|
81
|
-
"@things-factory/integration-melsec": "^9.0.0-beta.
|
82
|
-
"@things-factory/integration-modbus": "^9.0.0-beta.
|
83
|
-
"@things-factory/integration-opc": "^9.0.0-beta.
|
84
|
-
"@things-factory/integration-ui": "^9.0.0-beta.
|
85
|
-
"@things-factory/lite-menu": "^9.0.0-beta.
|
78
|
+
"@things-factory/integration-email": "^9.0.0-beta.27",
|
79
|
+
"@things-factory/integration-headless": "^9.0.0-beta.27",
|
80
|
+
"@things-factory/integration-influxdb": "^9.0.0-beta.27",
|
81
|
+
"@things-factory/integration-melsec": "^9.0.0-beta.27",
|
82
|
+
"@things-factory/integration-modbus": "^9.0.0-beta.27",
|
83
|
+
"@things-factory/integration-opc": "^9.0.0-beta.27",
|
84
|
+
"@things-factory/integration-ui": "^9.0.0-beta.27",
|
85
|
+
"@things-factory/lite-menu": "^9.0.0-beta.27",
|
86
86
|
"@things-factory/more-ui": "^9.0.0-beta.25",
|
87
87
|
"@things-factory/notification": "^9.0.0-beta.25",
|
88
88
|
"@things-factory/oauth2-client": "^9.0.0-beta.25",
|
@@ -97,5 +97,5 @@
|
|
97
97
|
"devDependencies": {
|
98
98
|
"@things-factory/builder": "^9.0.0-beta.25"
|
99
99
|
},
|
100
|
-
"gitHead": "
|
100
|
+
"gitHead": "3038f56087036b06717f8e4910383c6b1320218d"
|
101
101
|
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import '@things-factory/notification';
|
2
|
-
import '@things-factory/board-ui';
|
3
|
-
import '@operato/i18n/ox-i18n.js';
|
4
|
-
import '@things-factory/auth-ui/dist-client/index.js';
|
5
|
-
import '@things-factory/setting-ui/dist-client/index.js';
|
6
|
-
export default function bootstrap(): Promise<void>;
|
package/dist-client/bootstrap.js
DELETED
@@ -1,267 +0,0 @@
|
|
1
|
-
import '@things-factory/notification';
|
2
|
-
import '@things-factory/board-ui';
|
3
|
-
import '@operato/i18n/ox-i18n.js';
|
4
|
-
import '@things-factory/auth-ui/dist-client/index.js'; /* for domain-switch */
|
5
|
-
import '@things-factory/setting-ui/dist-client/index.js'; /* secure-iplist-setting-let, theme-mode-setting-let */
|
6
|
-
import { html } from 'lit-html';
|
7
|
-
import { navigate, store } from '@operato/shell';
|
8
|
-
import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout';
|
9
|
-
import { registerDefaultGroups } from '@operato/board/register-default-groups.js';
|
10
|
-
import { isMobileDevice } from '@operato/utils';
|
11
|
-
import { hasPrivilege } from '@things-factory/auth-base/dist-client/index.js';
|
12
|
-
import { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client/index.js';
|
13
|
-
import { APPEND_APP_TOOL } from '@things-factory/apptool-base/client/index.js';
|
14
|
-
import { setupAppToolPart } from '@things-factory/apptool-ui/dist-client/index.js';
|
15
|
-
import { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu/dist-client/index.js';
|
16
|
-
import { setupContextUIPart } from '@things-factory/context-ui/dist-client/index.js';
|
17
|
-
import { ADD_MORENDA } from '@things-factory/more-base/client/index.js';
|
18
|
-
import { ADD_SETTING } from '@things-factory/setting-base/dist-client/index.js';
|
19
|
-
console.log(`%c
|
20
|
-
▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄
|
21
|
-
▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▀
|
22
|
-
▓ ▓ ▓▀▀ ▓▀▀ ▓▀▀▄ ▓▀▀▓ ▓ ▓ ▓ ▀▀ ▓▀▀▀ ▓ ▀▀▄▄
|
23
|
-
▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▄ ▓
|
24
|
-
▀▀ ▀ ▀▀▀ ▀ ▀ ▀ ▀ ▀ ▀▀ ▀▀▀▀▀ ▀▀▀ ▀▀▀
|
25
|
-
`, 'background: #222; color: #bada55');
|
26
|
-
export default async function bootstrap() {
|
27
|
-
/*
|
28
|
-
set board-modeller group and default templates - should be called befor BoardModeller open
|
29
|
-
*/
|
30
|
-
registerDefaultGroups();
|
31
|
-
await setupAppToolPart({
|
32
|
-
toolbar: true,
|
33
|
-
busybar: true,
|
34
|
-
mdibar: false
|
35
|
-
});
|
36
|
-
await setupContextUIPart({
|
37
|
-
titlebar: 'header',
|
38
|
-
contextToolbar: 'page-footer'
|
39
|
-
});
|
40
|
-
await setupMenuPart({
|
41
|
-
hovering: isMobileDevice(),
|
42
|
-
position: VIEWPART_POSITION.NAVBAR,
|
43
|
-
portraitSlotTemplate: html ` <domain-switch attrname="description" slot="head"></domain-switch> `
|
44
|
-
});
|
45
|
-
updateMenuTemplate([]);
|
46
|
-
/* add addon-menu management page morenda */
|
47
|
-
if (await hasPrivilege({ privilege: 'mutation', category: 'menu' })) {
|
48
|
-
store.dispatch({
|
49
|
-
type: ADD_MORENDA,
|
50
|
-
morenda: {
|
51
|
-
icon: html ` <md-icon>view_list</md-icon> `,
|
52
|
-
name: html ` <ox-i18n msgid="text.addon-menu management"></ox-i18n> `,
|
53
|
-
action: () => {
|
54
|
-
navigate('addon-menu-setting');
|
55
|
-
}
|
56
|
-
}
|
57
|
-
});
|
58
|
-
}
|
59
|
-
/* add setting morenda */
|
60
|
-
store.dispatch({
|
61
|
-
type: ADD_MORENDA,
|
62
|
-
morenda: {
|
63
|
-
icon: html ` <md-icon>settings</md-icon> `,
|
64
|
-
name: html ` <ox-i18n msgid="label.setting"></ox-i18n> `,
|
65
|
-
action: () => {
|
66
|
-
navigate('setting');
|
67
|
-
}
|
68
|
-
}
|
69
|
-
});
|
70
|
-
/* set auth management menus into more-panel */
|
71
|
-
setAuthManagementMenus();
|
72
|
-
if (await hasPrivilege({ privilege: 'mutation', category: 'user' })) {
|
73
|
-
store.dispatch({
|
74
|
-
type: ADD_MORENDA,
|
75
|
-
morenda: {
|
76
|
-
icon: html ` <md-icon>vpn_key</md-icon> `,
|
77
|
-
name: html ` <ox-i18n msgid="text.oauth2-clients"></ox-i18n> `,
|
78
|
-
action: () => {
|
79
|
-
navigate('oauth2-clients');
|
80
|
-
}
|
81
|
-
}
|
82
|
-
});
|
83
|
-
}
|
84
|
-
if (await hasPrivilege({ privilege: 'mutation', category: 'board' })) {
|
85
|
-
store.dispatch({
|
86
|
-
type: ADD_MORENDA,
|
87
|
-
morenda: {
|
88
|
-
icon: html ` <md-icon>font_download</md-icon> `,
|
89
|
-
name: html ` <ox-i18n msgid="menu.fonts"></ox-i18n> `,
|
90
|
-
action: () => {
|
91
|
-
navigate('font-list');
|
92
|
-
}
|
93
|
-
}
|
94
|
-
});
|
95
|
-
store.dispatch({
|
96
|
-
type: ADD_MORENDA,
|
97
|
-
morenda: {
|
98
|
-
icon: html ` <md-icon>attachment</md-icon> `,
|
99
|
-
name: html ` <ox-i18n msgid="menu.attachments"></ox-i18n> `,
|
100
|
-
action: () => {
|
101
|
-
navigate('attachment-list');
|
102
|
-
}
|
103
|
-
}
|
104
|
-
});
|
105
|
-
store.dispatch({
|
106
|
-
type: ADD_MORENDA,
|
107
|
-
morenda: {
|
108
|
-
icon: html ` <md-icon>dvr</md-icon> `,
|
109
|
-
name: html ` <ox-i18n msgid="menu.board-list"></ox-i18n> `,
|
110
|
-
action: () => {
|
111
|
-
navigate('board-list');
|
112
|
-
}
|
113
|
-
}
|
114
|
-
});
|
115
|
-
store.dispatch({
|
116
|
-
type: ADD_MORENDA,
|
117
|
-
morenda: {
|
118
|
-
icon: html ` <md-icon>airplay</md-icon> `,
|
119
|
-
name: html ` <ox-i18n msgid="menu.play-groups"></ox-i18n> `,
|
120
|
-
action: () => {
|
121
|
-
navigate('play-list');
|
122
|
-
}
|
123
|
-
}
|
124
|
-
});
|
125
|
-
}
|
126
|
-
if (await hasPrivilege({ privilege: 'mutation', category: 'scenario' })) {
|
127
|
-
store.dispatch({
|
128
|
-
type: ADD_MORENDA,
|
129
|
-
morenda: {
|
130
|
-
icon: html ` <md-icon>device_hub</md-icon> `,
|
131
|
-
name: html ` <ox-i18n msgid="text.connection"></ox-i18n> `,
|
132
|
-
action: () => {
|
133
|
-
navigate('connection');
|
134
|
-
}
|
135
|
-
}
|
136
|
-
});
|
137
|
-
store.dispatch({
|
138
|
-
type: ADD_MORENDA,
|
139
|
-
morenda: {
|
140
|
-
icon: html ` <md-icon>format_list_numbered</md-icon> `,
|
141
|
-
name: html ` <ox-i18n msgid="text.scenario"></ox-i18n> `,
|
142
|
-
action: () => {
|
143
|
-
navigate('scenario');
|
144
|
-
}
|
145
|
-
}
|
146
|
-
});
|
147
|
-
store.dispatch({
|
148
|
-
type: ADD_MORENDA,
|
149
|
-
morenda: {
|
150
|
-
icon: html ` <md-icon>hub</md-icon> `,
|
151
|
-
name: html ` <ox-i18n msgid="text.integration analysis"></ox-i18n> (beta)`,
|
152
|
-
action: () => {
|
153
|
-
navigate('integration-analysis');
|
154
|
-
}
|
155
|
-
}
|
156
|
-
});
|
157
|
-
}
|
158
|
-
if (await hasPrivilege({ privilege: 'mutation', category: 'state-register' })) {
|
159
|
-
store.dispatch({
|
160
|
-
type: ADD_MORENDA,
|
161
|
-
morenda: {
|
162
|
-
icon: html ` <md-icon>app_registration</md-icon> `,
|
163
|
-
name: html ` <ox-i18n msgid="title.state-register"></ox-i18n> `,
|
164
|
-
action: () => {
|
165
|
-
navigate('state-register-page');
|
166
|
-
}
|
167
|
-
}
|
168
|
-
});
|
169
|
-
}
|
170
|
-
store.dispatch({
|
171
|
-
type: ADD_MORENDA,
|
172
|
-
morenda: {
|
173
|
-
icon: html ` <md-icon>extension</md-icon> `,
|
174
|
-
name: html ` <ox-i18n msgid="text.api-sandbox"></ox-i18n> `,
|
175
|
-
action: () => {
|
176
|
-
navigate('api-swagger');
|
177
|
-
}
|
178
|
-
}
|
179
|
-
});
|
180
|
-
if (await hasPrivilege({ superUserGranted: true })) {
|
181
|
-
store.dispatch({
|
182
|
-
type: ADD_MORENDA,
|
183
|
-
morenda: {
|
184
|
-
icon: html ` <md-icon>event_repeat</md-icon> `,
|
185
|
-
name: html ` <ox-i18n msgid="title.schedule list"></ox-i18n> `,
|
186
|
-
action: () => {
|
187
|
-
navigate('schedule-list');
|
188
|
-
}
|
189
|
-
}
|
190
|
-
});
|
191
|
-
}
|
192
|
-
// store.dispatch({
|
193
|
-
// type: ADD_MORENDA,
|
194
|
-
// morenda: {
|
195
|
-
// icon: html` <md-icon>help</md-icon> `,
|
196
|
-
// name: html` <ox-i18n msgid="text.help"></ox-i18n> `,
|
197
|
-
// action: () => {
|
198
|
-
// navigate('help')
|
199
|
-
// }
|
200
|
-
// }
|
201
|
-
// })
|
202
|
-
store.dispatch({
|
203
|
-
type: ADD_SETTING,
|
204
|
-
setting: {
|
205
|
-
seq: 10,
|
206
|
-
template: html ` <theme-mode-setting-let></theme-mode-setting-let> `
|
207
|
-
}
|
208
|
-
});
|
209
|
-
store.dispatch({
|
210
|
-
type: ADD_SETTING,
|
211
|
-
setting: {
|
212
|
-
seq: 21,
|
213
|
-
template: html ` <lite-menu-setting-let></lite-menu-setting-let> `
|
214
|
-
}
|
215
|
-
});
|
216
|
-
/* setting app-tools */
|
217
|
-
store.dispatch({
|
218
|
-
type: APPEND_APP_TOOL,
|
219
|
-
tool: {
|
220
|
-
name: 'notification-badge',
|
221
|
-
template: html `
|
222
|
-
<notification-badge
|
223
|
-
@click=${e => {
|
224
|
-
toggleOverlay('notification', {
|
225
|
-
backdrop: true
|
226
|
-
});
|
227
|
-
}}
|
228
|
-
>
|
229
|
-
</notification-badge>
|
230
|
-
`,
|
231
|
-
position: TOOL_POSITION.REAR
|
232
|
-
}
|
233
|
-
});
|
234
|
-
appendViewpart({
|
235
|
-
name: 'notification',
|
236
|
-
viewpart: {
|
237
|
-
show: false,
|
238
|
-
hovering: 'edge',
|
239
|
-
template: html ` <notification-list style="min-width: 300px;"></notification-list> `
|
240
|
-
},
|
241
|
-
position: VIEWPART_POSITION.ASIDEBAR
|
242
|
-
});
|
243
|
-
store.dispatch({
|
244
|
-
type: ADD_SETTING,
|
245
|
-
setting: {
|
246
|
-
seq: 20,
|
247
|
-
template: html ` <notification-setting-let></notification-setting-let> `
|
248
|
-
}
|
249
|
-
});
|
250
|
-
store.dispatch({
|
251
|
-
type: ADD_SETTING,
|
252
|
-
setting: {
|
253
|
-
seq: 21,
|
254
|
-
template: html ` <board-view-setting-let></board-view-setting-let> `
|
255
|
-
}
|
256
|
-
});
|
257
|
-
if (await hasPrivilege({ privilege: 'mutation', category: 'security' })) {
|
258
|
-
store.dispatch({
|
259
|
-
type: ADD_SETTING,
|
260
|
-
setting: {
|
261
|
-
seq: 31,
|
262
|
-
template: html ` <secure-iplist-setting-let></secure-iplist-setting-let> `
|
263
|
-
}
|
264
|
-
});
|
265
|
-
}
|
266
|
-
}
|
267
|
-
//# 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,0BAA0B,CAAA;AACjC,OAAO,8CAA8C,CAAA,CAAC,uBAAuB;AAC7E,OAAO,iDAAiD,CAAA,CAAC,uDAAuD;AAEhH,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAE/B,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,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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,IAAI,MAAM,YAAY,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;QACxE,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;IACJ,CAAC;AACH,CAAC","sourcesContent":["import '@things-factory/notification'\nimport '@things-factory/board-ui'\nimport '@operato/i18n/ox-i18n.js'\nimport '@things-factory/auth-ui/dist-client/index.js' /* for domain-switch */\nimport '@things-factory/setting-ui/dist-client/index.js' /* secure-iplist-setting-let, theme-mode-setting-let */\n\nimport { html } from 'lit-html'\n\nimport { navigate, store } from '@operato/shell'\nimport { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout'\nimport { registerDefaultGroups } from '@operato/board/register-default-groups.js'\nimport { isMobileDevice } from '@operato/utils'\n\nimport { hasPrivilege } from '@things-factory/auth-base/dist-client/index.js'\nimport { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client/index.js'\nimport { APPEND_APP_TOOL } from '@things-factory/apptool-base/client/index.js'\nimport { setupAppToolPart } from '@things-factory/apptool-ui/dist-client/index.js'\nimport { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu/dist-client/index.js'\nimport { setupContextUIPart } from '@things-factory/context-ui/dist-client/index.js'\nimport { ADD_MORENDA } from '@things-factory/more-base/client/index.js'\nimport { ADD_SETTING } from '@things-factory/setting-base/dist-client/index.js'\n\nconsole.log(\n `%c\n ▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄ \n ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▀ \n ▓ ▓ ▓▀▀ ▓▀▀ ▓▀▀▄ ▓▀▀▓ ▓ ▓ ▓ ▀▀ ▓▀▀▀ ▓ ▀▀▄▄ \n ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▄ ▓ \n ▀▀ ▀ ▀▀▀ ▀ ▀ ▀ ▀ ▀ ▀▀ ▀▀▀▀▀ ▀▀▀ ▀▀▀ \n`,\n 'background: #222; color: #bada55'\n)\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 await setupMenuPart({\n hovering: isMobileDevice(),\n position: VIEWPART_POSITION.NAVBAR,\n portraitSlotTemplate: html` <domain-switch attrname=\"description\" slot=\"head\"></domain-switch> `\n })\n updateMenuTemplate([])\n\n /* add addon-menu management page morenda */\n if (await hasPrivilege({ privilege: 'mutation', category: 'menu' })) {\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 /* 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 /* set auth management menus into more-panel */\n setAuthManagementMenus()\n\n if (await hasPrivilege({ privilege: 'mutation', category: 'user' })) {\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' })) {\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>attachment</md-icon> `,\n name: html` <ox-i18n msgid=\"menu.attachments\"></ox-i18n> `,\n action: () => {\n navigate('attachment-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: 'mutation', category: 'scenario' })) {\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> (beta)`,\n action: () => {\n navigate('integration-analysis')\n }\n }\n })\n }\n\n if (await hasPrivilege({ privilege: 'mutation', category: 'state-register' })) {\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 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 if (await hasPrivilege({ superUserGranted: true })) {\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>help</md-icon> `,\n // name: html` <ox-i18n msgid=\"text.help\"></ox-i18n> `,\n // action: () => {\n // navigate('help')\n // }\n // }\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: 21,\n template: html` <lite-menu-setting-let></lite-menu-setting-let> `\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 (await hasPrivilege({ privilege: 'mutation', category: 'security' })) {\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"]}
|
package/dist-client/index.d.ts
DELETED
File without changes
|
package/dist-client/index.js
DELETED
package/dist-client/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../client/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { customElement } from 'lit/decorators.js';
|
3
|
-
import { APIPageTemplate } from '@things-factory/api/client';
|
4
|
-
const APIS = [
|
5
|
-
{
|
6
|
-
name: 'scenario',
|
7
|
-
path: 'scenario/:id',
|
8
|
-
method: 'get',
|
9
|
-
parameters: [],
|
10
|
-
description: 'get scenario information'
|
11
|
-
},
|
12
|
-
{
|
13
|
-
name: 'scenarios',
|
14
|
-
path: 'scenario',
|
15
|
-
method: 'get',
|
16
|
-
parameters: [
|
17
|
-
{
|
18
|
-
name: 'page'
|
19
|
-
},
|
20
|
-
{
|
21
|
-
name: 'limit'
|
22
|
-
}
|
23
|
-
],
|
24
|
-
description: 'get scenario information'
|
25
|
-
}
|
26
|
-
];
|
27
|
-
let APISandbox = class APISandbox extends APIPageTemplate {
|
28
|
-
get APIS() {
|
29
|
-
return APIS;
|
30
|
-
}
|
31
|
-
get context() {
|
32
|
-
return {
|
33
|
-
title: 'API Sandbox',
|
34
|
-
apiCategory: 'Integration',
|
35
|
-
description: 'Scenario control, connection control, ...'
|
36
|
-
};
|
37
|
-
}
|
38
|
-
};
|
39
|
-
APISandbox = __decorate([
|
40
|
-
customElement('api-sandbox')
|
41
|
-
], APISandbox);
|
42
|
-
//# sourceMappingURL=api-sandbox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"api-sandbox.js","sourceRoot":"","sources":["../../../client/pages/api/api-sandbox.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,IAAI,GAAG;IACX;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,0BAA0B;KACxC;IACD;QACE,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,KAAK;QACb,UAAU,EAAE;YACV;gBACE,IAAI,EAAE,MAAM;aACb;YACD;gBACE,IAAI,EAAE,OAAO;aACd;SACF;QACD,WAAW,EAAE,0BAA0B;KACxC;CACF,CAAA;AAGD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,eAAe;IACtC,IAAI,IAAI;QACN,OAAO,IAAI,CAAA;IACb,CAAC;IAED,IAAI,OAAO;QACT,OAAO;YACL,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,2CAA2C;SACzD,CAAA;IACH,CAAC;CACF,CAAA;AAZK,UAAU;IADf,aAAa,CAAC,aAAa,CAAC;GACvB,UAAU,CAYf","sourcesContent":["import { customElement } from 'lit/decorators.js'\nimport { APIPageTemplate } from '@things-factory/api/client'\n\nconst APIS = [\n {\n name: 'scenario',\n path: 'scenario/:id',\n method: 'get',\n parameters: [],\n description: 'get scenario information'\n },\n {\n name: 'scenarios',\n path: 'scenario',\n method: 'get',\n parameters: [\n {\n name: 'page'\n },\n {\n name: 'limit'\n }\n ],\n description: 'get scenario information'\n }\n]\n\n@customElement('api-sandbox')\nclass APISandbox extends APIPageTemplate {\n get APIS(): any {\n return APIS\n }\n\n get context() {\n return {\n title: 'API Sandbox',\n apiCategory: 'Integration',\n description: 'Scenario control, connection control, ...'\n }\n }\n}\n"]}
|
package/dist-client/route.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default function route(page: any): any;
|
package/dist-client/route.js
DELETED
package/dist-client/route.js.map
DELETED
@@ -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,CAAC;QACb,KAAK,EAAE;YACL,OAAO,YAAY,CAAA;QAErB,KAAK,aAAa;YAChB,MAAM,CAAC,yBAAyB,CAAC,CAAA;YACjC,OAAO,IAAI,CAAA;IACf,CAAC;AACH,CAAC","sourcesContent":["export default function route(page) {\n switch (page) {\n case '':\n return '/dashboard'\n\n case 'api-sandbox':\n import('./pages/api/api-sandbox')\n return page\n }\n}\n"]}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
.dark {
|
2
|
-
--md-sys-color-primary: rgb(182 196 255);
|
3
|
-
--md-sys-color-surface-tint: rgb(182 196 255);
|
4
|
-
--md-sys-color-on-primary: rgb(30 45 97);
|
5
|
-
--md-sys-color-primary-container: rgb(53 68 121);
|
6
|
-
--md-sys-color-on-primary-container: rgb(220 225 255);
|
7
|
-
--md-sys-color-secondary: rgb(182 196 255);
|
8
|
-
--md-sys-color-on-secondary: rgb(29 45 97);
|
9
|
-
--md-sys-color-secondary-container: rgb(53 68 121);
|
10
|
-
--md-sys-color-on-secondary-container: rgb(220 225 255);
|
11
|
-
--md-sys-color-tertiary: rgb(227 186 218);
|
12
|
-
--md-sys-color-on-tertiary: rgb(67 39 63);
|
13
|
-
--md-sys-color-tertiary-container: rgb(91 61 87);
|
14
|
-
--md-sys-color-on-tertiary-container: rgb(255 215 245);
|
15
|
-
--md-sys-color-error: rgb(255 180 171);
|
16
|
-
--md-sys-color-on-error: rgb(105 0 5);
|
17
|
-
--md-sys-color-error-container: rgb(147 0 10);
|
18
|
-
--md-sys-color-on-error-container: rgb(255 218 214);
|
19
|
-
--md-sys-color-background: rgb(18 19 24);
|
20
|
-
--md-sys-color-on-background: rgb(227 225 233);
|
21
|
-
--md-sys-color-surface: rgb(18 19 24);
|
22
|
-
--md-sys-color-on-surface: rgb(227 225 233);
|
23
|
-
--md-sys-color-surface-variant: rgb(69 70 79);
|
24
|
-
--md-sys-color-on-surface-variant: rgb(198 197 208);
|
25
|
-
--md-sys-color-outline: rgb(144 144 154);
|
26
|
-
--md-sys-color-outline-variant: rgb(69 70 79);
|
27
|
-
--md-sys-color-shadow: rgb(0 0 0);
|
28
|
-
--md-sys-color-scrim: rgb(0 0 0);
|
29
|
-
--md-sys-color-inverse-surface: rgb(227 225 233);
|
30
|
-
--md-sys-color-inverse-on-surface: rgb(47 48 54);
|
31
|
-
--md-sys-color-inverse-primary: rgb(77 92 146);
|
32
|
-
--md-sys-color-primary-fixed: rgb(220 225 255);
|
33
|
-
--md-sys-color-on-primary-fixed: rgb(4 22 75);
|
34
|
-
--md-sys-color-primary-fixed-dim: rgb(182 196 255);
|
35
|
-
--md-sys-color-on-primary-fixed-variant: rgb(53 68 121);
|
36
|
-
--md-sys-color-secondary-fixed: rgb(220 225 255);
|
37
|
-
--md-sys-color-on-secondary-fixed: rgb(3 23 75);
|
38
|
-
--md-sys-color-secondary-fixed-dim: rgb(182 196 255);
|
39
|
-
--md-sys-color-on-secondary-fixed-variant: rgb(53 68 121);
|
40
|
-
--md-sys-color-tertiary-fixed: rgb(255 215 245);
|
41
|
-
--md-sys-color-on-tertiary-fixed: rgb(44 18 41);
|
42
|
-
--md-sys-color-tertiary-fixed-dim: rgb(227 186 218);
|
43
|
-
--md-sys-color-on-tertiary-fixed-variant: rgb(91 61 87);
|
44
|
-
--md-sys-color-surface-dim: rgb(18 19 24);
|
45
|
-
--md-sys-color-surface-bright: rgb(56 57 63);
|
46
|
-
--md-sys-color-surface-container-lowest: rgb(13 14 19);
|
47
|
-
--md-sys-color-surface-container-low: rgb(26 27 33);
|
48
|
-
--md-sys-color-surface-container: rgb(30 31 37);
|
49
|
-
--md-sys-color-surface-container-high: rgb(41 42 47);
|
50
|
-
--md-sys-color-surface-container-highest: rgb(52 52 58);
|
51
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
.light {
|
2
|
-
--md-sys-color-primary: rgb(77 92 146);
|
3
|
-
--md-sys-color-surface-tint: rgb(77 92 146);
|
4
|
-
--md-sys-color-on-primary: rgb(255 255 255);
|
5
|
-
--md-sys-color-primary-container: rgb(220 225 255);
|
6
|
-
--md-sys-color-on-primary-container: rgb(4 22 75);
|
7
|
-
--md-sys-color-secondary: rgb(77 92 146);
|
8
|
-
--md-sys-color-on-secondary: rgb(255 255 255);
|
9
|
-
--md-sys-color-secondary-container: rgb(220 225 255);
|
10
|
-
--md-sys-color-on-secondary-container: rgb(3 23 75);
|
11
|
-
--md-sys-color-tertiary: rgb(117 84 111);
|
12
|
-
--md-sys-color-on-tertiary: rgb(255 255 255);
|
13
|
-
--md-sys-color-tertiary-container: rgb(255 215 245);
|
14
|
-
--md-sys-color-on-tertiary-container: rgb(44 18 41);
|
15
|
-
--md-sys-color-error: rgb(186 26 26);
|
16
|
-
--md-sys-color-on-error: rgb(255 255 255);
|
17
|
-
--md-sys-color-error-container: rgb(255 218 214);
|
18
|
-
--md-sys-color-on-error-container: rgb(65 0 2);
|
19
|
-
--md-sys-color-background: rgb(250 248 255);
|
20
|
-
--md-sys-color-on-background: rgb(26 27 33);
|
21
|
-
--md-sys-color-surface: rgb(250 248 255);
|
22
|
-
--md-sys-color-on-surface: rgb(26 27 33);
|
23
|
-
--md-sys-color-surface-variant: rgb(226 225 236);
|
24
|
-
--md-sys-color-on-surface-variant: rgb(69 70 79);
|
25
|
-
--md-sys-color-outline: rgb(118 118 128);
|
26
|
-
--md-sys-color-outline-variant: rgb(198 197 208);
|
27
|
-
--md-sys-color-shadow: rgb(0 0 0);
|
28
|
-
--md-sys-color-scrim: rgb(0 0 0);
|
29
|
-
--md-sys-color-inverse-surface: rgb(47 48 54);
|
30
|
-
--md-sys-color-inverse-on-surface: rgb(241 240 247);
|
31
|
-
--md-sys-color-inverse-primary: rgb(182 196 255);
|
32
|
-
--md-sys-color-primary-fixed: rgb(220 225 255);
|
33
|
-
--md-sys-color-on-primary-fixed: rgb(4 22 75);
|
34
|
-
--md-sys-color-primary-fixed-dim: rgb(182 196 255);
|
35
|
-
--md-sys-color-on-primary-fixed-variant: rgb(53 68 121);
|
36
|
-
--md-sys-color-secondary-fixed: rgb(220 225 255);
|
37
|
-
--md-sys-color-on-secondary-fixed: rgb(3 23 75);
|
38
|
-
--md-sys-color-secondary-fixed-dim: rgb(182 196 255);
|
39
|
-
--md-sys-color-on-secondary-fixed-variant: rgb(53 68 121);
|
40
|
-
--md-sys-color-tertiary-fixed: rgb(255 215 245);
|
41
|
-
--md-sys-color-on-tertiary-fixed: rgb(44 18 41);
|
42
|
-
--md-sys-color-tertiary-fixed-dim: rgb(227 186 218);
|
43
|
-
--md-sys-color-on-tertiary-fixed-variant: rgb(91 61 87);
|
44
|
-
--md-sys-color-surface-dim: rgb(218 217 224);
|
45
|
-
--md-sys-color-surface-bright: rgb(250 248 255);
|
46
|
-
--md-sys-color-surface-container-lowest: rgb(255 255 255);
|
47
|
-
--md-sys-color-surface-container-low: rgb(244 243 250);
|
48
|
-
--md-sys-color-surface-container: rgb(239 237 244);
|
49
|
-
--md-sys-color-surface-container-high: rgb(233 231 239);
|
50
|
-
--md-sys-color-surface-container-highest: rgb(227 225 233);
|
51
|
-
}
|