@dssp/dcsp 1.0.0-alpha.8 → 1.0.0-alpha.80

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/_index.html CHANGED
@@ -61,10 +61,5 @@
61
61
  <body class="light">
62
62
  <things-app></things-app>
63
63
  <noscript> Please enable JavaScript to view this website. </noscript>
64
- <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
65
- <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
66
- <script src="/node_modules/web-animations-js/web-animations-next.min.js"></script>
67
- <script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
68
- <!-- Built with love using PWA Starter Kit -->
69
64
  </body>
70
65
  </html>
@@ -1,5 +1,6 @@
1
1
  module.exports = {
2
- subdomain: 'system',
2
+ subdomain: null,
3
+ domainTypes: ['domain', 'project'],
3
4
  applianceJwtExpiresIn: '10y',
4
5
  /* database field encryption key : 32 bytes - must be changed by every installation */
5
6
  dataEncryptionKey: 'V6g5oHJZb7KcazJyL6cM95XvIDouon5b',
@@ -1,5 +1,6 @@
1
1
  module.exports = {
2
- subdomain: 'system',
2
+ subdomain: null,
3
+ domainTypes: ['domain', 'project'],
3
4
  applianceJwtExpiresIn: '10y',
4
5
  /* database field encryption key : 32 bytes - must be changed by every installation */
5
6
  dataEncryptionKey: 'V6g5oHJZb7KcazJyL6cM95XvIDouon5b',
@@ -5,4 +5,5 @@ import '@operato/i18n/ox-i18n.js';
5
5
  import '@things-factory/notification';
6
6
  import './viewparts/user-circle';
7
7
  import './viewparts/menu-tools';
8
+ import '@dssp/project/client/pages/lib/chatbot-widget';
8
9
  export default function bootstrap(): Promise<void>;
@@ -5,6 +5,7 @@ import '@operato/i18n/ox-i18n.js';
5
5
  import '@things-factory/notification';
6
6
  import './viewparts/user-circle';
7
7
  import './viewparts/menu-tools';
8
+ import '@dssp/project/client/pages/lib/chatbot-widget';
8
9
  import { html } from 'lit-html';
9
10
  import { registerDefaultGroups } from '@operato/board';
10
11
  import { navigate, store } from '@operato/shell';
@@ -24,7 +25,7 @@ console.log(`%c
24
25
  ▀▀▀ ▀▀ ▀▀▀ ▀
25
26
  `, 'background: #222; color: #bada55');
26
27
  export default async function bootstrap() {
27
- var _a;
28
+ var _a, _b;
28
29
  /* set board-modeller group and default templates */
29
30
  registerDefaultGroups();
30
31
  await setupAppToolPart({
@@ -36,34 +37,38 @@ export default async function bootstrap() {
36
37
  titlebar: 'header',
37
38
  contextToolbar: 'page-footer'
38
39
  });
39
- /* append top-menu to layout */
40
+ /* append top-menu to layout (프로젝트 테넌트에서는 메뉴 숨김) */
40
41
  var state = store.getState();
41
42
  var width = ((_a = state.layout) === null || _a === void 0 ? void 0 : _a.width) || 'WIDE';
42
- appendViewpart({
43
- name: 'dcsp-topmenu',
44
- viewpart: {
45
- show: true,
46
- template: html ` <menu-tools></menu-tools> `
47
- },
48
- position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR
49
- });
50
- store.subscribe(async () => {
51
- var state = store.getState();
52
- if (state.layout.width == width) {
53
- return;
54
- }
55
- width = state.layout.width;
56
- updateViewpart('dcsp-topmenu', {
57
- position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR,
58
- level: VIEWPART_LEVEL.TOPMOST
43
+ const domainType = ((_b = window.location.pathname.match(/^\/([^/]+)\/[^/]+/)) === null || _b === void 0 ? void 0 : _b[1]) || 'domain';
44
+ const isProjectTenant = domainType === 'project';
45
+ if (!isProjectTenant) {
46
+ appendViewpart({
47
+ name: 'dcsp-topmenu',
48
+ viewpart: {
49
+ show: true,
50
+ template: html ` <menu-tools></menu-tools> `
51
+ },
52
+ position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR
59
53
  });
60
- });
54
+ store.subscribe(async () => {
55
+ const currentState = store.getState();
56
+ if (currentState.layout.width == width) {
57
+ return;
58
+ }
59
+ width = state.layout.width;
60
+ updateViewpart('dcsp-topmenu', {
61
+ position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR,
62
+ level: VIEWPART_LEVEL.TOPMOST
63
+ });
64
+ });
65
+ }
61
66
  /* setting app-tools */
62
67
  store.dispatch({
63
68
  type: APPEND_APP_TOOL,
64
69
  tool: {
65
70
  name: 'app-brand',
66
- template: html ` <span style="font-size: 1.2em;">CSL</span> `,
71
+ template: html ` <span style="font-size: 1.2em;">CSP</span> `,
67
72
  position: TOOL_POSITION.FRONT
68
73
  }
69
74
  });
@@ -179,6 +184,55 @@ export default async function bootstrap() {
179
184
  }
180
185
  });
181
186
  }
187
+ if (await hasPrivilege({
188
+ privilege: 'mutation',
189
+ category: 'scenario',
190
+ domainOwnerGranted: true,
191
+ superUserGranted: true
192
+ })) {
193
+ store.dispatch({
194
+ type: ADD_MORENDA,
195
+ morenda: {
196
+ icon: html ` <md-icon>device_hub</md-icon> `,
197
+ name: html ` <ox-i18n msgid="text.connection"></ox-i18n> `,
198
+ action: () => {
199
+ navigate('connection');
200
+ }
201
+ }
202
+ });
203
+ store.dispatch({
204
+ type: ADD_MORENDA,
205
+ morenda: {
206
+ icon: html ` <md-icon>format_list_numbered</md-icon> `,
207
+ name: html ` <ox-i18n msgid="text.scenario"></ox-i18n> `,
208
+ action: () => {
209
+ navigate('scenario');
210
+ }
211
+ }
212
+ });
213
+ store.dispatch({
214
+ type: ADD_MORENDA,
215
+ morenda: {
216
+ icon: html ` <md-icon>hub</md-icon> `,
217
+ name: html ` <ox-i18n msgid="text.integration analysis"></ox-i18n>&nbsp;(beta)`,
218
+ action: () => {
219
+ navigate('integration-analysis');
220
+ }
221
+ }
222
+ });
223
+ }
224
+ if (await hasPrivilege({ privilege: 'mutation', category: 'state-register', domainOwnerGranted: true })) {
225
+ store.dispatch({
226
+ type: ADD_MORENDA,
227
+ morenda: {
228
+ icon: html ` <md-icon>app_registration</md-icon> `,
229
+ name: html ` <ox-i18n msgid="title.state-register"></ox-i18n> `,
230
+ action: () => {
231
+ navigate('state-register-page');
232
+ }
233
+ }
234
+ });
235
+ }
182
236
  store.dispatch({
183
237
  type: ADD_SETTING,
184
238
  setting: {
@@ -193,5 +247,13 @@ export default async function bootstrap() {
193
247
  template: html ` <notification-setting-let></notification-setting-let> `
194
248
  }
195
249
  });
250
+ appendViewpart({
251
+ name: 'chatbot-widget-viewpart',
252
+ viewpart: {
253
+ show: true,
254
+ template: html ` <chatbot-widget></chatbot-widget> `
255
+ },
256
+ position: VIEWPART_POSITION.FOOTERBAR
257
+ });
196
258
  }
197
259
  //# sourceMappingURL=bootstrap.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../client/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,0CAA0C,CAAA,CAAC,kCAAkC;AACpF,OAAO,wCAAwC,CAAA,CAAC,gCAAgC;AAEhF,OAAO,4BAA4B,CAAA;AACnC,OAAO,0BAA0B,CAAA;AACjC,OAAO,8BAA8B,CAAA;AACrC,OAAO,yBAAyB,CAAA;AAChC,OAAO,wBAAwB,CAAA;AAE/B,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;AAEhD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACjI,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAA;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAA;AACpE,OAAO,EAAE,sB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CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,IAAI,EAAE,IAAI,CAAA,iCAAiC;gBAC3C,IAAI,EAAE,IAAI,CAAA,gDAAgD;gBAC1D,MAAM,EAAE,GAAG,EAAE;oBACX,QAAQ,CAAC,iBAAiB,CAAC,CAAA;gBAC7B,CAAC;aACF;SACF,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,MAAM,YAAY,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;QAClG,KAAK,CAAC,QAAQ,CAAC;YACb,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE;gBACP,IAAI,EAAE,IAAI,CAAA,gCAAgC;gBAC1C,IAAI,EAAE,IAAI,CAAA,mDAAmD;gBAC7D,MAAM,EAAE,GAAG,EAAE;oBACX,QAAQ,CAAC,qBAAqB,CAAC,CAAA;gBACjC,CAAC;aACF;SACF,CAAC,CAAA;IACJ,CAAC;IAED,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,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;AACJ,CAAC","sourcesContent":["import '@things-factory/notification/dist-client' /* for notification-setting-let */\nimport '@things-factory/setting-ui/dist-client' /* for theme-mode-setting-let */\n\nimport '@material/web/icon/icon.js'\nimport '@operato/i18n/ox-i18n.js'\nimport '@things-factory/notification'\nimport './viewparts/user-circle'\nimport './viewparts/menu-tools'\n\nimport { html } from 'lit-html'\n\nimport { registerDefaultGroups } from '@operato/board'\nimport { navigate, store } from '@operato/shell'\n\nimport { appendViewpart, updateViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION, VIEWPART_LEVEL } from '@operato/layout'\nimport { APPEND_APP_TOOL } from '@things-factory/apptool-base/client'\nimport { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'\nimport { setupContextUIPart } from '@things-factory/context-ui/dist-client'\nimport { hasPrivilege } from '@things-factory/auth-base/dist-client'\nimport { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'\nimport { ADD_MORENDA } from '@things-factory/more-base/client'\nimport { ADD_SETTING } from '@things-factory/setting-base/dist-client'\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 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 /* append top-menu to layout */\n var state = store.getState() as any\n var width = state.layout?.width || 'WIDE'\n\n appendViewpart({\n name: 'dcsp-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('dcsp-topmenu', {\n position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR,\n level: VIEWPART_LEVEL.TOPMOST\n })\n })\n\n /* setting app-tools */\n store.dispatch({\n type: APPEND_APP_TOOL,\n tool: {\n name: 'app-brand',\n template: html` <span style=\"font-size: 1.2em;\">CSL</span> `,\n position: TOOL_POSITION.FRONT\n }\n })\n\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 /* 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 (\n await hasPrivilege({\n privilege: 'mutation',\n category: 'user',\n domainOwnerGranted: true,\n superUserGranted: true\n })\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 (\n await hasPrivilege({\n privilege: 'mutation',\n category: 'board',\n domainOwnerGranted: true,\n superUserGranted: true\n })\n ) {\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\n if (\n await hasPrivilege({\n privilege: 'query',\n category: 'attachment',\n domainOwnerGranted: true,\n superUserGranted: true\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\n if (await hasPrivilege({ privilege: 'mutation', category: 'scenario', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>dashboard</md-icon> `,\n name: html` <ox-i18n msgid=\"menu.board-template\"></ox-i18n> `,\n action: () => {\n navigate('board-template-list')\n }\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: 20,\n template: html` <notification-setting-let></notification-setting-let> `\n }\n })\n}\n"]}
1
+ {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../client/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,0CAA0C,CAAA,CAAC,kCAAkC;AACpF,OAAO,wCAAwC,CAAA,CAAC,gCAAgC;AAEhF,OAAO,4BAA4B,CAAA;AACnC,OAAO,0BAA0B,CAAA;AACjC,OAAO,8BAA8B,CAAA;AACrC,OAAO,yBAAyB,CAAA;AAChC,OAAO,wBAAwB,CAAA;AAC/B,OAAO,+CAA+C,CAAA;AAEtD,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;AAEhD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACjI,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAA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QAAQ,EAAE,IAAI,CAAA,qDAAqD;SACpE;KACF,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,cAAc,CAAC;QACb,IAAI,EAAE,yBAAyB;QAC/B,QAAQ,EAAE;YACR,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI,CAAA,qCAAqC;SACpD;QACD,QAAQ,EAAE,iBAAiB,CAAC,SAAS;KACtC,CAAC,CAAA;AACJ,CAAC","sourcesContent":["import '@things-factory/notification/dist-client' /* for notification-setting-let */\nimport '@things-factory/setting-ui/dist-client' /* for theme-mode-setting-let */\n\nimport '@material/web/icon/icon.js'\nimport '@operato/i18n/ox-i18n.js'\nimport '@things-factory/notification'\nimport './viewparts/user-circle'\nimport './viewparts/menu-tools'\nimport '@dssp/project/client/pages/lib/chatbot-widget'\n\nimport { html } from 'lit-html'\n\nimport { registerDefaultGroups } from '@operato/board'\nimport { navigate, store } from '@operato/shell'\n\nimport { appendViewpart, updateViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION, VIEWPART_LEVEL } from '@operato/layout'\nimport { APPEND_APP_TOOL } from '@things-factory/apptool-base/client'\nimport { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'\nimport { setupContextUIPart } from '@things-factory/context-ui/dist-client'\nimport { hasPrivilege } from '@things-factory/auth-base/dist-client'\nimport { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'\nimport { ADD_MORENDA } from '@things-factory/more-base/client'\nimport { ADD_SETTING } from '@things-factory/setting-base/dist-client'\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 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 /* append top-menu to layout (프로젝트 테넌트에서는 메뉴 숨김) */\n var state = store.getState() as any\n var width = state.layout?.width || 'WIDE'\n\n const domainType = window.location.pathname.match(/^\\/([^/]+)\\/[^/]+/)?.[1] || 'domain'\n const isProjectTenant = domainType === 'project'\n\n if (!isProjectTenant) {\n appendViewpart({\n name: 'dcsp-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 const currentState = store.getState() as any\n\n if (currentState.layout.width == width) {\n return\n }\n\n width = state.layout.width\n\n updateViewpart('dcsp-topmenu', {\n position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR,\n level: VIEWPART_LEVEL.TOPMOST\n })\n })\n }\n\n /* setting app-tools */\n store.dispatch({\n type: APPEND_APP_TOOL,\n tool: {\n name: 'app-brand',\n template: html` <span style=\"font-size: 1.2em;\">CSP</span> `,\n position: TOOL_POSITION.FRONT\n }\n })\n\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 /* 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 (\n await hasPrivilege({\n privilege: 'mutation',\n category: 'user',\n domainOwnerGranted: true,\n superUserGranted: true\n })\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 (\n await hasPrivilege({\n privilege: 'mutation',\n category: 'board',\n domainOwnerGranted: true,\n superUserGranted: true\n })\n ) {\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\n if (\n await hasPrivilege({\n privilege: 'query',\n category: 'attachment',\n domainOwnerGranted: true,\n superUserGranted: true\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\n if (await hasPrivilege({ privilege: 'mutation', category: 'scenario', domainOwnerGranted: true })) {\n store.dispatch({\n type: ADD_MORENDA,\n morenda: {\n icon: html` <md-icon>dashboard</md-icon> `,\n name: html` <ox-i18n msgid=\"menu.board-template\"></ox-i18n> `,\n action: () => {\n navigate('board-template-list')\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 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 appendViewpart({\n name: 'chatbot-widget-viewpart',\n viewpart: {\n show: true,\n template: html` <chatbot-widget></chatbot-widget> `\n },\n position: VIEWPART_POSITION.FOOTERBAR\n })\n}\n"]}
@@ -0,0 +1,38 @@
1
+ import '@material/web/icon/icon.js';
2
+ import '@material/web/button/elevated-button.js';
3
+ import '@operato/lottie-player';
4
+ import { LitElement } from 'lit';
5
+ declare const AuthCheckIn_base: (new (...args: any[]) => LitElement) & typeof LitElement;
6
+ export declare class AuthCheckIn extends AuthCheckIn_base {
7
+ static styles: import("lit").CSSResult[];
8
+ data: any;
9
+ domains: any[];
10
+ domainTypes?: string[];
11
+ user: any;
12
+ searchValue: string;
13
+ collapsedSections: Record<string, boolean>;
14
+ private _applicationMeta?;
15
+ private redirectTo?;
16
+ render(): import("lit-html").TemplateResult<1>;
17
+ private _renderCategory;
18
+ /**
19
+ * groups 를 CATEGORY_ORDER 에 따라 정렬한 [category, items][] 로 반환.
20
+ * 정의된 순서대로 먼저 나열, 정의 안 된 카테고리는 마지막에 insertion 순으로 붙는다.
21
+ */
22
+ private _orderedEntries;
23
+ /**
24
+ * 도메인들을 extType 별로 그룹핑하고 검색어로 필터링한다.
25
+ * 매치 0건인 카테고리는 결과에서 자동 제외 — 빈 섹션은 화면에 노출되지 않는다.
26
+ */
27
+ private _groupAndFilter;
28
+ private _select;
29
+ private _toggleSection;
30
+ private _categoryLabel;
31
+ updated(changed: Map<string, unknown>): void;
32
+ get applicationMeta(): {
33
+ icon?: string;
34
+ title?: string;
35
+ description?: string;
36
+ };
37
+ }
38
+ export {};