@things-factory/operato-codelingua 7.0.63 → 7.0.65
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/client/bootstrap.ts +9 -0
- package/db.sqlite +0 -0
- package/dist-client/bootstrap.d.ts +1 -0
- package/dist-client/bootstrap.js +8 -0
- package/dist-client/bootstrap.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +25 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +50 -0
- package/logs/application-2024-07-12-23.log +81 -0
- package/logs/application-2024-07-13-00.log +1 -0
- package/logs/application-2024-07-13-01.log +168 -0
- package/logs/connections-2024-07-07-17.log +41 -0
- package/logs/connections-2024-07-07-20.log +41 -0
- package/logs/connections-2024-07-08-00.log +41 -0
- package/logs/connections-2024-07-08-01.log +41 -0
- package/logs/connections-2024-07-08-02.log +41 -0
- package/logs/connections-2024-07-08-19.log +41 -0
- package/logs/connections-2024-07-12-23.log +41 -0
- package/logs/connections-2024-07-13-01.log +82 -0
- package/package.json +24 -24
package/client/bootstrap.ts
CHANGED
|
@@ -2,6 +2,7 @@ import '@things-factory/board-ui/dist-client'
|
|
|
2
2
|
import '@things-factory/notification/dist-client' /* for notification-badge */
|
|
3
3
|
import '@things-factory/setting-ui/dist-client' /* for theme-mode-setting-let */
|
|
4
4
|
import '@operato/i18n/ox-i18n.js'
|
|
5
|
+
import '@things-factory/context-ui/dist-client/title-on-page-header-setting-let' /* for title-on-page-header-setting-let */
|
|
5
6
|
|
|
6
7
|
import './viewparts/user-circle'
|
|
7
8
|
import './viewparts/menu-tools'
|
|
@@ -194,4 +195,12 @@ export default async function bootstrap() {
|
|
|
194
195
|
template: html` <notification-setting-let></notification-setting-let> `
|
|
195
196
|
}
|
|
196
197
|
})
|
|
198
|
+
|
|
199
|
+
store.dispatch({
|
|
200
|
+
type: ADD_SETTING,
|
|
201
|
+
setting: {
|
|
202
|
+
seq: 22,
|
|
203
|
+
template: html` <title-on-page-header-setting-let></title-on-page-header-setting-let> `
|
|
204
|
+
}
|
|
205
|
+
})
|
|
197
206
|
}
|
package/db.sqlite
ADDED
|
Binary file
|
|
@@ -2,6 +2,7 @@ import '@things-factory/board-ui/dist-client';
|
|
|
2
2
|
import '@things-factory/notification/dist-client';
|
|
3
3
|
import '@things-factory/setting-ui/dist-client';
|
|
4
4
|
import '@operato/i18n/ox-i18n.js';
|
|
5
|
+
import '@things-factory/context-ui/dist-client/title-on-page-header-setting-let';
|
|
5
6
|
import './viewparts/user-circle';
|
|
6
7
|
import './viewparts/menu-tools';
|
|
7
8
|
export default function bootstrap(): Promise<void>;
|
package/dist-client/bootstrap.js
CHANGED
|
@@ -2,6 +2,7 @@ import '@things-factory/board-ui/dist-client';
|
|
|
2
2
|
import '@things-factory/notification/dist-client'; /* for notification-badge */
|
|
3
3
|
import '@things-factory/setting-ui/dist-client'; /* for theme-mode-setting-let */
|
|
4
4
|
import '@operato/i18n/ox-i18n.js';
|
|
5
|
+
import '@things-factory/context-ui/dist-client/title-on-page-header-setting-let'; /* for title-on-page-header-setting-let */
|
|
5
6
|
import './viewparts/user-circle';
|
|
6
7
|
import './viewparts/menu-tools';
|
|
7
8
|
import { html } from 'lit';
|
|
@@ -167,5 +168,12 @@ export default async function bootstrap() {
|
|
|
167
168
|
template: html ` <notification-setting-let></notification-setting-let> `
|
|
168
169
|
}
|
|
169
170
|
});
|
|
171
|
+
store.dispatch({
|
|
172
|
+
type: ADD_SETTING,
|
|
173
|
+
setting: {
|
|
174
|
+
seq: 22,
|
|
175
|
+
template: html ` <title-on-page-header-setting-let></title-on-page-header-setting-let> `
|
|
176
|
+
}
|
|
177
|
+
});
|
|
170
178
|
}
|
|
171
179
|
//# sourceMappingURL=bootstrap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../client/bootstrap.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,CAAA,yEAAyE;SACxF;KACF,CAAC,CAAA;AACJ,CAAC","sourcesContent":["import '@things-factory/board-ui/dist-client'\nimport '@things-factory/notification/dist-client' /* for notification-badge */\nimport '@things-factory/setting-ui/dist-client' /* for theme-mode-setting-let */\nimport '@operato/i18n/ox-i18n.js'\nimport '@things-factory/context-ui/dist-client/title-on-page-header-setting-let' /* for title-on-page-header-setting-let */\n\nimport './viewparts/user-circle'\nimport './viewparts/menu-tools'\n\nimport { html } from 'lit'\n\nimport { registerDefaultGroups } from '@operato/board/register-default-groups.js'\nimport { appendViewpart, toggleOverlay, TOOL_POSITION, updateViewpart, VIEWPART_POSITION } from '@operato/layout'\nimport { APPEND_APP_TOOL, REMOVE_APP_TOOL } from '@things-factory/apptool-base/client'\nimport { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'\nimport { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'\nimport { setupContextUIPart } from '@things-factory/context-ui/dist-client'\nimport { ADD_MORENDA } from '@things-factory/more-base/client'\nimport { ADD_SETTING } from '@things-factory/setting-base/dist-client'\nimport { navigate, store } from '@operato/shell'\n\nconsole.log(\n `%c\n ____ _ _ _ \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: true\n })\n\n await setupContextUIPart({\n titlebar: 'header',\n contextToolbar: 'page-footer'\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 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 /* append viewpart anchor to asidebar */\n appendViewpart({\n name: 'asidebar-anchor',\n viewpart: {\n show: false,\n hovering: 'edge',\n backdrop: true\n },\n position: VIEWPART_POSITION.ASIDEBAR\n })\n\n /* append top-menu to layout */\n var state = store.getState() as any\n var width = state.layout?.width || 'WIDE'\n\n if (width == 'WIDE') {\n store.dispatch({\n type: APPEND_APP_TOOL,\n tool: {\n name: 'app-brand',\n template: html` <span style=\"font-size: 1.2em;\">Code Lingua</span> `,\n position: TOOL_POSITION.FRONT\n }\n })\n }\n\n appendViewpart({\n name: 'codelingua-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 store.dispatch({\n type: width == 'WIDE' ? APPEND_APP_TOOL : REMOVE_APP_TOOL,\n name: 'app-brand',\n tool: {\n name: 'app-brand',\n template: html` <span style=\"font-size: 1.2em;\">Code Lingua</span> `,\n position: TOOL_POSITION.FRONT\n }\n })\n\n updateViewpart('codelingua-topmenu', {\n position: width == 'WIDE' ? VIEWPART_POSITION.NAVBAR : VIEWPART_POSITION.FOOTERBAR\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: APPEND_APP_TOOL,\n tool: {\n name: 'user-circle',\n template: html` <user-circle> </user-circle> `,\n position: TOOL_POSITION.REAR\n }\n })\n\n /* for settings */\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` <infowindow-setting-let></infowindow-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: 22,\n template: html` <title-on-page-header-setting-let></title-on-page-header-setting-let> `\n }\n })\n}\n"]}
|